Rename disp-step-syscall.exp to step-over-syscall.exp
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
8fc8cbda
YQ
12016-03-03 Yao Qi <yao.qi@linaro.org>
2
3 * gdb.base/disp-step-fork.c: Rename to ...
4 * gdb.base/step-over-fork.c: ... it. New file.
5 * gdb.base/disp-step-vfork.c: Rename to ...
6 * gdb.base/step-over-vfork.c: ... it. New file.
7 * gdb.base/disp-step-syscall.exp: Rename to ...
8 * gdb.base/step-over-syscall.exp: ... it. New file.
9 (disp_step_cross_syscall): Rename to ...
10 (step_over_syscall): ... it.
11
92fa70b0
YQ
122016-03-03 Yao Qi <yao.qi@linaro.org>
13
14 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15 If target supports condition evaluation on target, invoke
16 break_cond_on_syscall for fork and vfork.
17
e197ad3c
YQ
182016-03-03 Yao Qi <yao.qi@linaro.org>
19
20 * gdb.base/disp-step-syscall.exp: Don't invoke
21 support_displaced_stepping.
22 (disp_step_cross_syscall): Test with displaced stepping off and
23 on if supported.
24
0b47da9f
YQ
252016-03-03 Yao Qi <yao.qi@linaro.org>
26
27 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
28 proc.
29 (setup): New proc.
30 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
31 and setup.
32
065ab6dc
BH
332016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
34
35 * gdb.fortran/vla-history.exp: Remove breakpoint.
36
07e448ad 372016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
38
39 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
40
9ac2d526 412016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
42
43 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
44
17807369
BH
452016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
46
47 * gdb.mi/vla.f90: Nullify pointer after declaration.
48
86e501af
PA
492016-03-01 Pedro Alves <palves@redhat.com>
50
51 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
52
1e903e32
PA
532016-03-01 Pedro Alves <palves@redhat.com>
54
55 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
56 before anything else.
57 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
58 _GNU_SOURCE here.
59 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
60 before anything else.
61 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
62
6ccb54e2
PA
632016-03-01 Pedro Alves <palves@redhat.com>
64
65 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
66
30ca9da1
YQ
672016-03-01 Yao Qi <yao.qi@linaro.org>
68
69 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
70 prepare_for_testing.
71
dc856b38
YQ
722016-03-01 Yao Qi <yao.qi@linaro.org>
73
74 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
75
4a932159
AA
762016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
77
78 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
79 manually constructing the output path.
80
f2489477
AA
812016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
82
83 * gdb.arch/s390-stackless.S: New.
84 * gdb.arch/s390-stackless.exp: New.
85
38899f16
IB
862016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
87
88 * gdb.dlang/circular.c: New file.
89 * gdb.dlang/circular.exp: New file.
90
9fde51ed
YQ
912016-02-26 Yao Qi <yao.qi@linaro.org>
92
93 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
94 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
95 (testcases): Update.
96
ce90fefe
YQ
972016-02-26 Yao Qi <yao.qi@linaro.org>
98
99 * gdb.reverse/aarch64.c: Rename to ...
100 * gdb.reverse/insn-reverse.c: ... it.
101 * gdb.reverse/aarch64.exp: Rename to ...
102 * gdb.reverse/insn-reverse.exp: ... it.
103
3263bceb
YQ
1042016-02-26 Yao Qi <yao.qi@linaro.org>
105
106 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
107 (testcase_ftype): New.
108 (testcases): New array.
109 (n_testcases): New.
110 (main): Call each element in testcases.
111 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
112 (read_testcase): New.
113 Do the tests in a loop.
114
6cb59ff1
YQ
1152016-02-25 Yao Qi <yao.qi@linaro.org>
116
117 * gdb.base/branches.c: Remove.
118
ae91f625
MK
1192016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
120
121 PR gdb/13808
122 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
123
678b48b7
MK
1242016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
125
126 * gdb.trace/ftrace.exp: Remove unnecessary target check.
127
7337a6f2
MK
1282016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
129
130 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
131 change x86_64 call_insn to 'callq'.
132
861ca91f
AT
1332016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
134
135 * gdb.trace/tfile-avx.c: Move to...
136 * gdb.trace/tracefile-pseudo-reg.c: Here.
137 * gdb.trace/tfile-avx.exp: Move to...
138 * gdb.trace/tracefile-pseudo-reg.exp: Here.
139
bf74e428
GB
1402016-02-24 Gary Benson <gbenson@redhat.com>
141
142 * gdb.base/attach-pie-noexec.exp: Do not expect an error
143 message on attach.
144
cce0e923
DE
1452016-02-23 Doug Evans <dje@google.com>
146
147 * gdb.base/skip.c (test_skip): New function.
148 (end_test_skip_file_and_function): New function.
149 (test_skip_file_and_function): New function.
150 * gdb.base/skip1.c (test_skip): New function.
151 (skip1_test_skip_file_and_function): New function.
152 * gdb.base/skip.exp: Add tests for new skip options.
153 * gdb.base/skip-solib.exp: Update expected output.
154 * gdb.perf/skip-command.cc: New file.
155 * gdb.perf/skip-command.exp: New file.
156 * gdb.perf/skip-command.py: New file.
157
4000e47e
MK
1582016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
159
160 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
161 info registers pattern.
162
24f75ead
IB
1632016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
164
165 * lib/future.exp: Add D support.
166 (gdb_find_gdc): New proc.
167 (gdb_default_target_compile): Add D support.
168
fbb7bcbe
WW
1692016-02-18 Wei-cheng Wang <cole945@gmail.com>
170
171 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
172 user+system time.
173 (trace_speed_test): Determine the iteration count for a time
174 between 15..30 seconds.
175
012b3a21
WT
1762016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
177
178 * gdb.arch/i386-mpx-sigsegv.c: New file.
179 * gdb.arch/i386-mpx-sigsegv.exp: New file.
180 * gdb.arch/i386-mpx-simple_segv.c: New file.
181 * gdb.arch/i386-mpx-simple_segv.exp: New file.
182
2d5189bd
YQ
1832016-02-18 Yao Qi <yao.qi@linaro.org>
184
185 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
186 Don't call setup_kfail.
187
40fb20d0
YQ
1882016-02-18 Yao Qi <yao.qi@linaro.org>
189
190 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
191 Set "set breakpoint condition-evaluation" per $cond_bp_target.
192
21b1f8d2
DE
1932016-02-16 Doug Evans <dje@google.com>
194
195 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
196 * gdb.base/skip1.c: Ditto.
197 * gdb.base/skip.exp: Whitespace cleanup.
198
4041ed77
DB
1992016-02-16 Don Breazeal <donb@codesourcery.com>
200
201 PR remote/19496
202 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
203 Remove kfail for PR remote/19496.
204
c4ef31bf
SM
2052016-02-16 Simon Marchi <simon.marchi@ericsson.com>
206
207 * lib/gdb.exp (standard_temp_file): Return a path specific to
208 the runtest invocation.
209
266b65b3
SM
2102016-02-16 Simon Marchi <simon.marchi@ericsson.com>
211
212 * gdb.trace/save-trace.exp: Change relative path to be in the
213 standard output directory.
214
a7a0a6a9
JK
2152016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
216
217 * gdb.arch/i386-prologue.c: Add missing prototypes.
218
c99dbb42
JK
2192016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
220
221 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
222 * gdb.arch/i386-prologue.exp: Likewise.
223 * gdb.arch/i386-size.exp: Likewise.
224
aa480355
SM
2252016-02-15 Simon Marchi <simon.marchi@ericsson.com>
226
227 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
228 define object file path.
229 * gdb.btrace/gcore.exp: Use standard_output_file to define core
230 file path.
231 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
232 standard_output_file to define binfile.
233
ba881f50
JK
2342016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
235
236 Fix compatibility with recent gfortran-5.3.1.
237 * gdb.fortran/vla-history.exp (print vla1 allocated)
238 (print vla2 allocated, print $2, print $3): Remove
239 (print $4): Rename to ...
240 (print $2): ... here.
241 (print $9): Rename to ...
242 (print $5): ... here.
243 (print $10): Rename to ...
244 (print $6): ... here.
245 * gdb.fortran/vla.f90: Add pvla initialization.
246
e9fb005c
JK
2472016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
248
249 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
250 New test.
251 * gdb.fortran/vla-value-sub.exp: Likewise.
252
e44e00ff
MK
2532016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
254
255 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
256
97e94151
SM
2572016-02-12 Simon Marchi <simon.marchi@ericsson.com>
258
259 * i386-biarch-core.exp: Define corefile using
260 standard_output_file.
261
01113bc1
YQ
2622016-02-12 Yao Qi <yao.qi@linaro.org>
263
264 * gdb.arch/arm-single-step-kernel-helper.c: New.
265 * gdb.arch/arm-single-step-kernel-helper.exp: New.
266
33b4777c
MM
2672016-02-12 Markus Metzger <markus.t.metzger@intel.com>
268
269 * gdb.btrace/tailcall-only.exp: New.
270 * gdb.btrace/tailcall-only.c: New.
271 * gdb.btrace/x86_64-tailcall-only.S: New.
272 * gdb.btrace/i686-tailcall-only.S: New.
273
acc23c11
PA
2742016-02-11 Pedro Alves <palves@redhat.com>
275
276 * README (Parallel testing): Add missing double quotes.
277
e352bf0a
PA
2782016-02-11 Pedro Alves <palves@redhat.com>
279
280 * README (Parallel testing): New section.
281 (GDB_PARALLEL): Rewrite.
282 (FORCE_PARALLEL): Document.
283
9f5fed78
MK
2842016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
285
286 * gdb.trace/tfile-avx.c: New test.
287 * gdb.trace/tfile-avx.exp: New test.
288
9ef9e6a6
KS
2892016-02-09 Keith Seitz <keiths@redhat.com>
290
291 PR breakpoints/19546
292 * gdb.base/infcall-exec.c: New file.
293 * gdb.base/infcall-exec2.c: New file.
294 * gdb.base/infcall-exec.exp: New file.
295
a96e36da
KS
2962016-02-09 Keith Seitz <keiths@redhat.com>
297
298 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
299 (toplevel): Call test_bkpt_address.
300
9f61929f
KS
3012016-02-09 Keith Seitz <keiths@redhat.com>
302
303 PR python/19506
304 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
305 (toplevel): Call test_bkpt_address.
306
1e94266c
SM
3072016-02-09 Simon Marchi <simon.marchi@ericsson.com>
308
309 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
310 to AC_OUTPUT.
311 * configure: Regenerate.
312
2a7f3dff
PA
3132016-02-09 Pedro Alves <palves@redhat.com>
314
315 PR breakpoints/19548
316 * gdb.base/execl-update-breakpoints.c (some_function): New
317 function.
318 (main): Call it.
319 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
320 Tighten expected GDB output.
321
2151ccc5
SM
3222016-02-08 Simon Marchi <simon.marchi@ericsson.com>
323
324 * Makefile.in (ALL_SUBDIRS): Remove.
325 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
326 (distclean maintainer-clean realclean): Likewise.
327 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
328 * configure: Regenerate.
329 * gdb.ada/Makefile.in: Delete.
330 * gdb.arch/Makefile.in: Likewise.
331 * gdb.asm/Makefile.in: Likewise.
332 * gdb.base/Makefile.in: Likewise.
333 * gdb.btrace/Makefile.in: Likewise.
334 * gdb.cell/Makefile.in: Likewise.
335 * gdb.compile/Makefile.in: Likewise.
336 * gdb.cp/Makefile.in: Likewise.
337 * gdb.disasm/Makefile.in: Likewise.
338 * gdb.dlang/Makefile.in: Likewise.
339 * gdb.dwarf2/Makefile.in: Likewise.
340 * gdb.fortran/Makefile.in: Likewise.
341 * gdb.gdb/Makefile.in: Likewise.
342 * gdb.go/Makefile.in: Likewise.
343 * gdb.guile/Makefile.in: Likewise.
344 * gdb.java/Makefile.in: Likewise.
345 * gdb.linespec/Makefile.in: Likewise.
346 * gdb.mi/Makefile.in: Likewise.
347 * gdb.modula2/Makefile.in: Likewise.
348 * gdb.multi/Makefile.in: Likewise.
349 * gdb.objc/Makefile.in: Likewise.
350 * gdb.opencl/Makefile.in: Likewise.
351 * gdb.opt/Makefile.in: Likewise.
352 * gdb.pascal/Makefile.in: Likewise.
353 * gdb.perf/Makefile.in: Likewise.
354 * gdb.python/Makefile.in: Likewise.
355 * gdb.reverse/Makefile.in: Likewise.
356 * gdb.server/Makefile.in: Likewise.
357 * gdb.stabs/Makefile.in: Likewise.
358 * gdb.threads/Makefile.in: Likewise.
359 * gdb.trace/Makefile.in: Likewise.
360 * gdb.xml/Makefile.in: Likewise.
361 * lib/gdb.exp (make_gdb_parallel_path): Add check for
362 GDB_PARALLEL.
363 (standard_output_file): Remove check for GDB_PARALLEL, always
364 return path in outputs/$subdir/$testname.
365
437277d4
SM
3662016-02-08 Simon Marchi <simon.marchi@ericsson.com>
367
368 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
369 (site.exp): Assign abs_srcdir to tcl's srcdir.
370
31d913c7
YQ
3712016-02-04 Yao Qi <yao.qi@linaro.org>
372
373 * gdb.base/foll-exec-mode.c: Include limits.h.
374 (main): Add parameters argc and argv. Get directory from
375 argv[0].
376 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
377 compilation.
378 * gdb.base/foll-exec.c: Include limits.h.
379 (main): Add parameters argc and argv.
380 Get directory from argv[0].
381 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
382 Adjust tests on the number of lines as source code changed.
383 * gdb.base/foll-vfork-exit.c: Include limits.h.
384 (main): Add one line of statement before vfork.
385 * gdb.base/foll-vfork.c: Include limits.h and string.h.
386 (main): Add parameters argc and argv. Get directory from
387 argv[0].
388 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
389 (setup_gdb): Set tbreak to skip some source lines.
390 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
391 (main): Add parameters argc and argv. Get directory from
392 argv[0].
393 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
394 compilation.
395 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
396 (main): Add parameters argc and argv. Get directory from
397 argv[0].
398 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
399 compilation.
400
9482b9fb
DE
4012016-02-01 Doug Evans <dje@google.com>
402
403 * gdb.base/skip.exp: Clean up multiple references to same test name.
404
6b2e4f10
PA
4052016-02-01 Pedro Alves <palves@redhat.com>
406
ccb6afd6 407 PR remote/19496
6b2e4f10
PA
408 * gdb.threads/forking-threads-plus-breakpoint.exp
409 (displaced_stepping_supported): New global.
410 (probe_displaced_stepping_support): New procedure.
411 (do_test): Add 'displaced' parameter, and use it.
412 (top level): Check for displaced stepping support. Add displaced
413 stepping on/off testing axis.
414
37a8db1a
AB
4152016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
416
417 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
418 pointer. Don't perform further tests on the unassociated pointer
419 if the first test fails.
420
5fdf6324
AB
4212016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
422
423 * gdb.base/max-value-size.c: New file.
424 * gdb.base/max-value-size.exp: New file.
425 * gdb.base/huge.exp: Disable max-value-size for this test.
426
935c6144
IB
4272016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
428
429 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
430
7fe8399d
YQ
4312016-01-28 Yao Qi <yao.qi@linaro.org>
432
433 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
434
a2077e25
PA
4352016-01-25 Pedro Alves <palves@redhat.com>
436
437 PR threads/19461
438 * gdb.base/fork-running-state.c: New file.
439 * gdb.base/fork-running-state.exp: New file.
440
1d2736d4
PA
4412016-01-25 Pedro Alves <palves@redhat.com>
442
443 PR gdb/19494
444 * gdb.base/catch-fork-kill.c: New file.
445 * gdb.base/catch-fork-kill.exp: New file.
446
f1da4b11
PA
4472016-01-25 Pedro Alves <palves@redhat.com>
448
449 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
450 Delete, moved to lib/gdb.exp.
451 * gdb.threads/forking-threads-plus-breakpoint.exp
452 (foreach_with_prefix): Likewise.
453 * gdb.threads/process-dies-while-handling-bp.exp
454 (foreach_with_prefix): Likewise.
455 * lib/gdb.exp (foreach_with_prefix): New procedure.
456
45f38546
MK
4572016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
458
459 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
460 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
461
dc29a1ce
MK
4622016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
463
464 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
465 endian targets.
466
092127d7
JK
4672016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
468 Pedro Alves <palves@redhat.com>
469
470 Fix testsuite compatibility with Guile.
471 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
472 number.
473
31d765d3
JK
4742016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
475
476 Fix testsuite compatibility with Guile.
477 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
478 (thread 1): New test for backtrace through signal handler.
479
1ac78c04
YQ
4802016-01-22 Yao Qi <yao.qi@linaro.org>
481
482 PR testsuite/19491
483 * gdb.base/multi-forks.c: Include
484 ../lib/unbuffer_output.c
485 (main): Call gdb_unbuffer_output.
486
4f5946a8
DE
4872016-01-21 Doug Evans <dje@google.com>
488
489 * lib/ada.exp (gdb_compile_ada): Fix typo.
490
305e13e6
JB
4912016-01-21 Joel Brobecker <brobecker@adacore.com>
492
493 * gdb.base/break-fun-addr.exp: New file.
494 * gdb.base/break-fun-addr1.c: New file.
495 * gdb.base/break-fun-addr2.c: New file.
496
5f5dfff6
SM
4972016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
498
499 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
500 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
501 enum flag values.
502
fd356fa2
AA
5032016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
504
505 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
506 when GDB can not set the vector return value. Add more comments
507 for clarification.
508
9df22175
AT
5092016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
510
511 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
512 command.
513
41d1845e
SM
5142016-01-19 Simon Marchi <simon.marchi@ericsson.com>
515
516 * Makefile.in (DO_RUNTEST): Add --status and update usages.
517
01ac6840
SM
5182016-01-19 Simon Marchi <simon.marchi@ericsson.com>
519
520 * Makefile.in (check-single): Pass --status to runtest.
521 (check/%.exp): Likewise.
522
5232016-01-19 Simon Marchi <simon.marchi@ericsson.com>
524
525 * Makefile.in (check-parallel): Propagate return code from make
526 do-check-parallel.
527
bd0a71fa
MK
5282016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
529
530 * gdb.trace/ftrace.exp: Fix expected message on continue.
531 * gdb.trace/pending.exp: Fix expected message on continue.
532 * gdb.trace/trace-break.exp: Fix expected message on continue.
533
8bcbad33
SM
5342016-01-18 Simon Marchi <simon.marchi@ericsson.com>
535
536 * lib/gdb.exp (gdb_test): Remove unused global references.
537
f303dbd6
PA
5382016-01-18 Pedro Alves <palves@redhat.com>
539
540 * gdb.base/async-shell.exp: Adjust expected output.
541 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
542 * gdb.base/siginfo-thread.exp: Adjust expected output.
543 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
544 * gdb.java/jnpe.exp: Adjust expected output.
545 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
546 * gdb.threads/continue-pending-status.exp: Adjust expected output.
547 * gdb.threads/leader-exit.exp: Adjust expected output.
548 * gdb.threads/manythreads.exp: Adjust expected output.
549 * gdb.threads/pthreads.exp: Adjust expected output.
550 * gdb.threads/schedlock.exp: Adjust expected output.
551 * gdb.threads/siginfo-threads.exp: Adjust expected output.
552 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
553 expected output.
554 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
555 output.
556 * gdb.threads/sigthread.exp: Adjust expected output.
557 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
558
b2789696
YQ
5592016-01-18 Yao Qi <yao.qi@linaro.org>
560
561 * gdb.guile/scm-section-script.c: Replace @progbits with
562 %progbits.
563 * gdb.python/py-section-script.c: Likewise.
564
71ef29a8
PA
5652016-01-15 Pedro Alves <palves@redhat.com>
566
567 * gdb.multi/tids.exp: Test star wildcard ranges.
568
3f5b7598
PA
5692016-01-15 Pedro Alves <palves@redhat.com>
570
571 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
572 command from "thread apply" invocation.
573 (thr_apply_info_thr_invalid): Default the expected output to the
574 input tid list.
575 (top level): Add tests that use convenience variables. Add tests
576 for "thread apply" with a valid TID list, but missing the command.
577
663f6d42
PA
5782016-01-13 Pedro Alves <palves@redhat.com>
579
580 * gdb.base/default.exp: Expect $_gthread as well.
581 * gdb.multi/tids.exp: Test $_gthread.
582 * gdb.threads/thread-specific.exp: Test $_gthread.
583
c84f6bbf
PA
5842016-01-13 Pedro Alves <palves@redhat.com>
585
586 * gdb.multi/tids.exp: Test "info threads -gid".
587
22a02324
PA
5882016-01-13 Pedro Alves <palves@redhat.com>
589
590 * gdb.multi/tids.exp: Test InferiorThread.global_num and
591 Breakpoint.thread.
592 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
593
5d5658a1
PA
5942016-01-07 Pedro Alves <palves@redhat.com>
595
596 * gdb.base/break.exp: Adjust to output changes.
597 * gdb.base/hbreak2.exp: Likewise.
598 * gdb.base/sepdebug.exp: Likewise.
599 * gdb.base/watch_thread_num.exp: Likewise.
600 * gdb.linespec/keywords.exp: Likewise.
601 * gdb.multi/info-threads.exp: Likewise.
602 * gdb.threads/thread-find.exp: Likewise.
603 * gdb.multi/tids.c: New file.
604 * gdb.multi/tids.exp: New file.
605
84654457
PA
6062016-01-13 Pedro Alves <palves@redhat.com>
607
608 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
609
e3940304
PA
6102016-01-13 Pedro Alves <palves@redhat.com>
611
612 * gdb.base/default.exp: Expect $_inferior as well.
613 * gdb.multi/base.exp: Test $_inferior.
614
a911d87a
PA
6152016-01-13 Pedro Alves <palves@redhat.com>
616
617 PR breakpoints/19388
618 * gdb.base/catch-signal-siginfo-cond.c: New file.
619 * gdb.base/catch-signal-siginfo-cond.exp: New file.
620
82075af2
JS
6212016-01-12 Josh Stone <jistone@redhat.com>
622 Philippe Waroquiers <philippe.waroquiers@skynet.be>
623
624 * gdb.base/catch-syscall.c (do_execve): New variable.
625 (main): Conditionally trigger an execve.
626 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
627 (test_catch_syscall_execve): New, check entry/return across execve.
628 (do_syscall_tests): Call test_catch_syscall_execve.
629
e46eeedd
PA
6302016-01-12 Pedro Alves <palves@redhat.com>
631
632 * gdb.base/random-signal.exp (do_test): New procedure, with body
633 of testcase moved in.
634
01d8c27e
JK
6352016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
636 Pedro Alves <palves@redhat.com>
637
638 * gdb.base/funcargs.exp (finish from indirectly called function):
639 Reintroduce the case for 'First'.
640
9a706302
JK
6412016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
642 Pedro Alves <palves@redhat.com>
643
644 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
645 (tcatch_vfork_then_child_follow_exec)
646 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
647 identification.
648
c0ecb95f
JK
6492016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
650
651 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
652 and repeats to unlimited.
653 * gdb.python/py-value.exp: Likewise.
654 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
655 and repeats to unlimited.
656
6cfc1fcb
JK
6572016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
658
659 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
660 and reordering the functions.
661 * gdb.multi/hangout.c: Likewise.
662 * gdb.multi/hello.c: Likewise.
663
582a1b00
SM
6642016-01-08 Simon Marchi <simon.marchi@ericsson.com>
665
666 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
667 absolute.
668 (SingleStatisticTestResult.report): Use dict.keys instead of
669 dict.iterkeys.
670
79bc59cb
PA
6712016-01-06 Pedro Alves <palves@redhat.com>
672
673 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
674
43368e1d
MM
6752016-01-04 Markus Metzger <markus.t.metzger@intel.com>
676
677 * gdb.btrace/dlopen.exp: New.
678 * gdb.btrace/dlopen.c: New.
679 * gdb.btrace/dlopen-dso.c: New.
680
79fad5b8
SL
6812015-12-25 Sandra Loosemore <sandra@codesourcery.com>
682
683 * lib/gdb.exp (gdb_test): Update comments to clarify that the
684 PATTERN argument is optional.
685
ab8314b3
JB
6862015-12-24 Joel Brobecker <brobecker@adacore.com>
687
688 * lib/ada.exp (target_compile_ada_from_dir): New function.
689 (gdb_compile_ada): Reimplement avoiding the use of project files.
690 * gdb.ada/gnat_ada.gpr: Delete.
691 * gdb.ada/cond_lang.exp: Adjust test to make path before
692 filename optional.
693 * gdb.ada/small_reg_param.exp: Likewise.
694
fe33faff
SM
6952015-12-22 Simon Marchi <simon.marchi@ericsson.com>
696
697 * gdb.base/foll-vork.exp: Remove HP-UX special case.
698
6d265cb4
TP
6992015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
700
701 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
702 case.
703
10125099
SM
7042015-12-21 Simon Marchi <simon.marchi@ericsson.com>
705
706 * gdb.base/break.exp: Remove dead code.
707 * gdb.base/sepdebug.exp: Likewise.
708
3ca22649
SM
7092015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
710
711 * gdb.asm/asm-source.exp: Remove HP-UX references.
712 * gdb.base/annota1.exp: Likewise.
713 * gdb.base/annota3.exp: Likewise.
714 * gdb.base/attach.exp: Likewise.
715 * gdb.base/bigcore.exp: Likewise.
716 * gdb.base/break.exp: Likewise.
717 * gdb.base/call-ar-st.exp: Likewise.
718 * gdb.base/callfuncs.exp: Likewise.
719 * gdb.base/catch-fork-static.exp: Likewise.
720 * gdb.base/display.exp: Likewise.
721 * gdb.base/foll-exec-mode.exp: Likewise.
722 * gdb.base/foll-exec.exp: Likewise.
723 * gdb.base/foll-fork.exp: Likewise.
724 * gdb.base/foll-vfork.exp: Likewise.
725 * gdb.base/funcargs.exp: Likewise.
726 * gdb.base/hbreak2.exp: Likewise.
727 * gdb.base/inferior-died.exp: Likewise.
728 * gdb.base/interrupt.exp: Likewise.
729 * gdb.base/multi-forks.exp: Likewise.
730 * gdb.base/nodebug.exp: Likewise.
731 * gdb.base/sepdebug.exp: Likewise.
732 * gdb.base/solib1.c: Likewise.
733 * gdb.base/step-test.exp: Likewise.
734 * gdb.mi/non-stop.c: Likewise.
735 * gdb.mi/pthreads.c: Likewise.
736 * gdb.multi/bkpt-multi-exec.ex: Likewise.
737 * gdb.threads/pthreads.c: Likewise.
738 * gdb.threads/staticthreads.exp: Likewise.
739 * lib/future.exp: Likewise.
740 * lib/gdb.exp: Likewise.
741 * gdb.base/so-indr-cl.c: Remove.
742 * gdb.base/so-indr-cl.exp: Likewise.
743 * gdb.base/solib.c: Likewise.
744 * gdb.base/solib.exp: Likewise.
745 * gdb.base/solib2.c: Likewise.
746
b6304613
SM
7472015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
748
749 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
750 * gdb.base/call-ar-st.exp: Likewise.
751 * gdb.base/callfuncs.exp: Likewise.
752 * gdb.base/condbreak.exp: Likewise.
753 * gdb.base/constvars.exp: Likewise.
754 * gdb.base/hbreak2.exp: Likewise.
755 * gdb.base/langs.exp: Likewise.
756 * gdb.base/list.exp: Likewise.
757 * gdb.base/long_long.exp: Likewise.
758 * gdb.base/ptype.exp: Likewise.
759 * gdb.base/scope.exp: Likewise.
760 * gdb.base/signals.exp: Likewise.
761 * gdb.base/so-impl-ld.exp: Likewise.
762 * gdb.base/varargs.exp: Likewise.
763 * gdb.base/volatile.exp: Likewise.
764 * gdb.base/whatis.exp: Likewise.
765 * gdb.cp/cplusfuncs.exp: Likewise.
766 * gdb.cp/inherit.exp: Likewise.
767 * gdb.cp/local.exp: Likewise.
768 * gdb.cp/member-ptr.exp: Likewise.
769 * gdb.cp/method.exp: Likewise.
770 * gdb.cp/overload.exp: Likewise.
771 * gdb.cp/templates.exp: Likewise.
772 * gdb.stabs/weird.exp: Likewise.
773 * lib/compiler.c: Likewise.
774 * lib/compiler.cc: Likewise.
775 * lib/cp-support.exp: Likewise.
776 * lib/gdb.exp: Likewise.
777
bf401b07
SM
7782015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
779
780 * configure.ac: Remove HP-UX case.
781 * configure: Regenerate.
782
aff9c0f8
SM
7832015-12-18 Simon Marchi <simon.marchi@ericsson.com>
784
785 * lib/gdb.exp (gdb_compile): Add function doc.
786
a6904d5a
PA
7872015-12-17 Pedro Alves <palves@redhat.com>
788
789 PR threads/19354
790 * gdb.multi/info-threads.exp: New file.
791
a22279dd
YQ
7922015-12-15 Yao Qi <yao.qi@linaro.org>
793
794 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
795 is aarch64*-*-*.
796
0588c796
SL
7972015-12-14 Sandra Loosemore <sandra@codesourcery.com>
798
799 * gdb.base/history-duplicates.exp: Skip if no readline support.
800
5d978e17
SL
8012015-12-14 Sandra Loosemore <sandra@codesourcery.com>
802
803 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
804
7e763b86
SL
8052015-12-14 Sandra Loosemore <sandra@codesourcery.com>
806
807 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
808
87a3a92c
SL
8092015-12-14 Sandra Loosemore <sandra@codesourcery.com>
810
811 * gdb.base/completion.exp: Skip tests that interrupt GDB with
812 ctrl-C if nointerrupts target property is set.
813 * gdb.base/double-prompt-target-event-error.exp: Likewise.
814 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
815 * gdb.base/paginate-bg-execution.exp: Likewise.
816 * gdb.base/paginate-execution-startup.exp: Likewise.
817 * gdb.base/random-signal.exp: Likewise.
818 * gdb.base/range-stepping.exp: Likewise.
819 * gdb.cp/annota2.exp: Likewise.
820 * gdb.cp/annota3.exp: Likewise.
821 * gdb.gdb/selftest.exp: Likewise.
822 * gdb.threads/continue-pending-status.exp: Likewise.
823 * gdb.threads/leader-exit.exp: Likewise.
824 * gdb.threads/manythreads.exp: Likewise.
825 * gdb.threads/pthreads.exp: Likewise.
826 * gdb.threads/schedlock.exp: Likewise.
827 * gdb.threads/sigthread.exp: Likewise.
828
a8f077dc
DB
8292015-12-11 Don Breazeal <donb@codesourcery.com>
830
831 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
832 remote.
833 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
834 * gdb.base/foll-exec.exp (main): Enable for target remote.
835 * gdb.base/foll-fork.exp (main): Likewise.
836 * gdb.base/foll-vfork.exp (main): Likewise.
837 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
838 (proc continue_to_exit_bp_loc): Use clean_restart.
839 * gdb.base/pie-execl.exp (main): Disable for target remote.
840 * gdb.base/watch-vfork.exp (main): Enable for target remote.
841 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
842 * gdb.threads/execl.exp (main): Likewise.
843 * gdb.threads/fork-child-threads.exp (main): Likewise.
844 * gdb.threads/fork-plus-threads.exp (main): Disable for target
845 remote.
846 * gdb.threads/fork-thread-pending.exp (main): Enable for target
847 remote.
848 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
849 pid.tid style ptids, instead of just tid.
850 * gdb.threads/thread-execl.exp (main): Enable for target remote.
851 * gdb.threads/watchpoint-fork.exp (main): Likewise.
852 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
853 ptids, instead of just tid.
854
3b2464a8
AB
8552015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
856
857 * gdb.base/list.exp (test_list_forward): Add end of file error
858 test.
859 (test_repeat_list_command): Add end of file error test.
860 (test_list_backwards): Add beginning of file error test.
861
a0def019
AB
8622015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
863
864 * gdb.base/list.exp (test_list_invalid_args): New function,
865 defined, and called.
866
5c000dff
AB
8672015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
868
869 * gdb.base/list.exp (test_list): Make test names unique.
870
f1637ebe
YQ
8712015-12-11 Yao Qi <yao.qi@linaro.org>
872
873 * gdb.base/coremaker2.c: Remove.
874
36d6fc0a
PA
8752015-12-10 Pedro Alves <palves@redhat.com>
876
877 * gdb.multi/base.exp: Remove stale "spaces" references.
878
762f7747
PA
8792015-12-10 Pedro Alves <palves@redhat.com>
880
881 * gdb.multi/base.exp: Don't use nowarnings.
882 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
883 * gdb.multi/hangout.c: Include stdio.h.
884 * gdb.multi/hello.c: Include stdlib.h.
885 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
886 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
887 * gdb.multi/multi-arch.exp: Don't use nowarnings.
888
28d2bfb9
AB
8892015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
890
891 * gdb.dwarf2/dw2-ranges-base.c: New file.
892 * gdb.dwarf2/dw2-ranges-base.exp: New file.
893 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
894 support additional line table, and debug ranges generation.
895 (Dwarf::ranges): New function, generate .debug_ranges.
896 (Dwarf::lines): Support generating simple line table programs.
897 (Dwarf::assemble): Initialise new namespace variables.
898
5fc2beac
KB
8992015-12-09 Kevin Buettner <kevinb@redhat.com>
900
901 * gdb.base/async.exp (proc test_background): Add case for
902 asynchronous execution not supported.
903
1c35a88f
LM
9042015-12-09 Luis Machado <lgustavo@codesourcery.com>
905
906 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
907 format and change test names to make them unique.
908
b593e3d9
RK
9092015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
910 Pedro Alves <pedro@redhat.com>
911
912 PR gdb/18702
913 Add checking of floatformats setup on x86_64 hosts.
914 * gdb.arch/i386-float.S (main): Load bigval and smallval.
915 (smallval, bigval): New labels/constants.
916 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
917 float" after loading bigval and smallval.
918
d72413e6
PMR
9192015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
920
921 * gdb.ada/fun_overload_menu.exp: New testcase.
922 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
923
ece66d65
JS
9242015-12-04 Josh Stone <jistone@redhat.com>
925
926 * gdb.base/catch-fork-static.exp: New.
927
41d0efca
YQ
9282015-12-03 Yao Qi <yao.qi@linaro.org>
929
930 * gdb.base/sizeof.c: Don't include stdio.h and
931 ../lib/unbuffer_output.c.
932 (main): New variable 'size' and 'value'. Remove printf and
933 gdb_unbuffer_output. Assign return value to size and value.
934 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
935 at the beginning.
936 (check_sizeof): Check the result by printing variable 'size'.
937 (check_valueof): Check the result by printing variable 'value'.
938
99fd02d9
YQ
9392015-12-01 Yao Qi <yao.qi@linaro.org>
940
941 * gdb.base/disp-step-syscall.exp: Define syscall instruction
942 for aarch64*-*-linux* target.
943
f2faf941
PA
9442015-11-30 Pedro Alves <palves@redhat.com>
945
946 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
947
04bf20c5
PA
9482015-11-30 Pedro Alves <palves@redhat.com>
949
950 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
951 Handle non-stop mode vCont replies.
952
09df4675
PA
9532015-11-30 Pedro Alves <palves@redhat.com>
954
955 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
956 prepare_for_testing. Start gdb with "set non-stop on" appended to
957 GDBFLAGS. Lax expected stop output.
958
58b584af
YQ
9592015-11-27 Yao Qi <yao.qi@linaro.org>
960
961 * gdb.arch/arm-neon.exp: New.
962 * gdb.arch/arm-neon.c: New.
963
dfcb77a8
YQ
9642015-11-27 Yao Qi <yao.qi@linaro.org>
965
966 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
967
88e8ec1b
YQ
9682015-11-27 Yao Qi <yao.qi@linaro.org>
969
970 * gdb.cp/annota2.exp: Allow multiple occurrences of the
971 frames-invalid annotation.
972
bfde72c2
YQ
9732015-11-27 Yao Qi <yao.qi@linaro.org>
974
975 * gdb.cp/annota2.exp: Use ${frames_invalid}.
976
f6512a69
SM
9772015-11-26 Simon Marchi <simon.marchi@ericsson.com>
978
979 * gdb.threads/names.exp: New file.
980 * gdb.threads/names.c: New file.
981 * README: Mention gdb,no_thread_names.
982
46a3515b
MM
9832015-11-26 Markus Metzger <markus.t.metzger@intel.com>
984
985 PR 19297
986 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
987 support" error.
988
62147a22
PA
9892015-11-24 Pedro Alves <palves@redhat.com>
990
991 PR 17539
992 * gdb.base/display.exp: Expect displays to be sorted in ascending
993 order. Use multi_line.
994 * gdb.base/solib-display.exp: Likewise.
995
2f341b6e
PA
9962015-11-24 Pedro Alves <palves@redhat.com>
997
998 PR 17539
999 * gdb.base/display.exp: Expect displays to be sorted in ascending
1000 order. Use multi_line.
1001 * gdb.base/solib-display.exp: Likewise.
1002
7e0aa6aa
PA
10032015-11-24 Pedro Alves <palves@redhat.com>
1004
1005 PR 17539
1006 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1007 threads in ascending order.
1008 * gdb.base/foll-fork.exp: Likewise.
1009 * gdb.base/foll-vfork.exp: Likewise.
1010 * gdb.base/multi-forks.exp: Likewise.
1011 * gdb.mi/mi-nonstop.exp: Likewise.
1012 * gdb.mi/mi-nsintrall.exp: Likewise.
1013 * gdb.multi/base.exp: Likewise.
1014 * gdb.multi/multi-arch.exp: Likewise.
1015 * gdb.python/py-inferior.exp: Likewise.
1016 * gdb.threads/break-while-running.exp: Likewise.
1017 * gdb.threads/execl.exp: Likewise.
1018 * gdb.threads/gcore-thread.exp: Likewise.
1019 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1020 * gdb.threads/kill.exp: Likewise.
1021 * gdb.threads/linux-dp.exp: Likewise.
1022 * gdb.threads/multiple-step-overs.exp: Likewise.
1023 * gdb.threads/next-bp-other-thread.exp: Likewise.
1024 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1025 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1026 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1027 * gdb.threads/thread-find.exp: Likewise.
1028 * gdb.threads/tls.exp: Likewise.
1029 * lib/mi-support.exp (mi_reverse_list): Delete.
1030 (mi_check_thread_states): No longer reverse list.
1031
2cc57ad8
PA
10322015-11-24 Pedro Alves <palves@redhat.com>
1033
1034 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1035 use lowercase.
1036
c93e8391
SM
10372015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1038
1039 * gdb.trace/actions.c: Include trace-common.h.
1040 (main): Add a location for a fast tracepoint.
1041 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1042 the normal tracepoints.
1043 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1044
045ccf91
SM
10452015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1046
1047 * save-trace.exp: Factor out code to these...
1048 (gdb_save_tracepoints): New.
1049 (gdb_load_tracepoints): New.
1050 (do_save_load_test): New.
1051
5506f9f6
KB
10522015-11-23 Kevin Buettner <kevinb@redhat.com>
1053
1054 * gdb.base/asmlabel.exp: New test.
1055 * gdb.base/asmlabel.c: New test case.
1056
16c3b12f
JB
10572015-11-23 Joel Brobecker <brobecker@adacore.com>
1058
1059 * gdb.base/wrong_frame_bt_full-main.c: New file.
1060 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1061 * gdb.base/wrong_frame_bt_full.exp: New file.
1062
155bfbd3
JB
10632015-11-23 Joel Brobecker <brobecker@adacore.com>
1064
1065 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1066
bb097445
JM
10672015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1068
206853a0 1069 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
1070 pstate register when comparing registers values in
1071 sparc64-*-linux-gnu targets to avoid spurious differences.
1072
9c88ed8f
JM
10732015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1074
206853a0 1075 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 1076
96161e25
SL
10772015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1078
1079 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1080 as type argument to gdb_compile.
1081 * gdb.base/nested-subp2.exp: Likewise.
1082 * gdb.base/nested-subp3.exp: Likewise.
1083
340c2830
DV
10842015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1085
1086 * lib/dwarf.exp (_note): Fix left shift of negative value.
1087 * gdb.trace/trace-condition.exp: Likewise.
1088
c1862d0f
YQ
10892015-11-13 Yao Qi <yao.qi@linaro.org>
1090
1091 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1092 comments about d10v.
1093 (test_scalar_returns): Likewise.
1094 * gdb.base/d10v.ld: Remove.
1095 * gdb.base/overlays.exp: Remove the target triplet checking for
1096 d10v-*-*.
1097 * gdb.base/structs.exp (test_struct_returns): Remove the
1098 comments about d10v.
1099 (test_struct_calls): Likewise.
1100
77ae9c19
YQ
11012015-11-13 Yao Qi <yao.qi@linaro.org>
1102
1103 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1104 * gdb.base/gnu_vector.c: Don't include stdio.h.
1105 (main): Don't print res and call add_some_intvecs.
1106
430e004e
MK
11072015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1108
1109 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1110 macro.
1111 (func5): Removed.
1112 (func4): Use FAST_TRACEPOINT_LABEL.
1113 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1114 macro.
1115 (func): Removed.
1116 (thread_function): Use FAST_TRACEPOINT_LABEL.
1117 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1118 (func): Remove.
1119 (marker): Use FAST_TRACEPOINT_LABEL.
1120 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1121 (pendfunc1): Remove.
1122 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1123 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1124 (foo): Remove.
1125 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1126 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1127 macro.
1128 (func): Remove.
1129 (marker): Use FAST_TRACEPOINT_LABEL.
1130 * gdb.trace/trace-common.h: New header.
1131 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1132 macro.
1133 (func): Remove.
1134 (marker): Use FAST_TRACEPOINT_LABEL.
1135 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1136 (func): Remove.
1137 (thread_function): Use FAST_TRACEPOINT_LABEL.
1138
6e7675a7
MK
11392015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1140
1141 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1142 in front.
1143 * gdb.trace/change-loc.exp: Use global pcreg definition.
1144 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1145 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1146 in front.
1147 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1148 * gdb.trace/pending.exp: Likewise.
1149 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1150 * gdb.trace/trace-break.exp: Likewise.
1151 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1152 in front.
1153 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1154 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1155 in front.
1156 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1157
dddc0e16
JB
11582015-11-09 Joel Brobecker <brobecker@adacore.com>
1159
1160 * gdb.ada/fin_fun_out: New testcase.
1161
c6f0b406
KB
11622015-11-07 Kevin Buettner <kevinb@redhat.com>
1163
1164 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1165 value associated with DW_AT_byte_size.
1166 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1167 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1168 DW_AT_upper_bound.
1169
f01dcfd9
KB
11702015-11-07 Kevin Buettner <kevinb@redhat.com>
1171
1172 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1173 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1174 version.
1175 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1176 gdb.dwarf2/dw2-canonicalize-type.exp,
1177 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1178 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1179 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1180 provided by gdb_target_symbol_prefix_flags_asm.
1181 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1182 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1183 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1184 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1185 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1186 macros where needed). Use this macro for symbols which require
1187 the prefix provided by SYMBOL_PREFIX.
1188
2223449a
KB
11892015-11-05 Kevin Buettner <kevinb@redhat.com>
1190
1191 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1192 New procs.
1193 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1194 representing expressions, of more than one list element.
1195 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1196 to prepend linker symbol prefix to f.
1197 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1198 table_1 and table_2.
1199 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1200 Likewise, for f and g.
1201 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1202 for ptr.
1203 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1204 for main.
1205 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1206 table_1_ptr and table_2_ptr.
1207
6f2f1a3a
JK
12082015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1209 Joel Brobecker <brobecker@adacore.com>
1210
1211 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1212
566c56c9
MK
12132015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1214
1215 * gdb.reverse/s390-mvcle.c: New test.
1216 * gdb.reverse/s390-mvcle.exp: New file.
1217 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1218
d5f0636b
MK
12192015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1220
1221 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1222
7ad8b86c
MK
12232015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1224
1225 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1226 reaching marker2.
1227 * gdb.reverse/getresuid-reverse.exp: Likewise.
1228 * gdb.reverse/pipe-reverse.exp: Likewise.
1229 * gdb.reverse/readv-reverse.exp: Likewise.
1230 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1231 * gdb.reverse/time-reverse.exp: Likewise.
1232 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1233
4081c0f1
YQ
12342015-10-30 Yao Qi <yao.qi@linaro.org>
1235
1236 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1237 (empty_cycle): Remove.
1238 (main): Don't call empty_cycle. Don't use watch_count_done.
1239 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1240 empty_cycle. Rewrite the code counting HW watchpoints.
1241
452b4ba5
MK
12422015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1243
1244 * gdb.reverse/fstatat-reverse.c: New test.
1245 * gdb.reverse/fstatat-reverse.exp: New file.
1246 * gdb.reverse/getresuid-reverse.c: New test.
1247 * gdb.reverse/getresuid-reverse.exp: New file.
1248 * gdb.reverse/pipe-reverse.c: New test.
1249 * gdb.reverse/pipe-reverse.exp: New file.
1250 * gdb.reverse/readv-reverse.c: New test.
1251 * gdb.reverse/readv-reverse.exp: New file.
1252 * gdb.reverse/recvmsg-reverse.c: New test.
1253 * gdb.reverse/recvmsg-reverse.exp: New file.
1254 * gdb.reverse/time-reverse.c: New test.
1255 * gdb.reverse/time-reverse.exp: New file.
1256 * gdb.reverse/waitpid-reverse.c: New test.
1257 * gdb.reverse/waitpid-reverse.exp: New file.
1258
5e2e7507
JK
12592015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1260
1261 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1262
0fde2c53
DE
12632015-10-26 Doug Evans <dje@google.com>
1264
1265 PR symtab/17391
1266 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1267 * gdb.dwarf2/bad-regnum.c: New file.
1268 * gdb.dwarf2/bad-regnum.exp: New file.
1269
1a70ae97
DE
12702015-10-26 Doug Evans <dje@google.com>
1271
1272 PR python/18938
1273 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1274 file.
1275
27dc26ab
JK
12762015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1277
1278 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1279 for a change by "Mention language in compile error message".
1280
bed91f4d
SM
12812015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1282
1283 PR python/18073
1284 * gdb.python/py-type.c (C::a_method): New.
1285 (C::a_const_method): New.
1286 (C::a_static_method): New.
1287 (a_function): New.
1288 * gdb.python/py-type.exp (test_fields): Test getting fields
1289 from function and method.
1290
3f2f83dd
KB
12912015-10-21 Keven Boell <keven.boell@intel.com>
1292
1293 * gdb.fortran/vla-alloc-assoc.exp: New file.
1294 * gdb.fortran/vla-datatypes.exp: New file.
1295 * gdb.fortran/vla-datatypes.f90: New file.
1296 * gdb.fortran/vla-history.exp: New file.
1297 * gdb.fortran/vla-ptype-sub.exp: New file.
1298 * gdb.fortran/vla-ptype.exp: New file.
1299 * gdb.fortran/vla-sizeof.exp: New file.
1300 * gdb.fortran/vla-sub.f90: New file.
1301 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1302 * gdb.fortran/vla-value-sub-finish.exp: New file.
1303 * gdb.fortran/vla-value-sub.exp: New file.
1304 * gdb.fortran/vla-value.exp: New file.
1305 * gdb.fortran/vla-ptr-info.exp: New file.
1306 * gdb.mi/mi-vla-fortran.exp: New file.
1307 * gdb.mi/vla.f90: New file.
1308
27145d50
SL
13092015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1310
1311 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1312 of hardwired timeout value.
1313
5f3ff4f8
JK
13142015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1315 Pedro Alves <palves@redhat.com>
1316
1317 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1318 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1319
bfd09d20
JS
13202015-10-19 Josh Stone <jistone@redhat.com>
1321
1322 * gdb.base/catch-syscall.c: Include <sched.h>.
1323 (unknown_syscall): New variable.
1324 (main): Trigger a vfork and an unknown syscall.
1325 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1326 (unknown_syscall_number): Likewise.
1327 (check_call_to_syscall): Accept an optional syscall pattern.
1328 (check_return_from_syscall): Likewise.
1329 (check_continue): Likewise.
1330 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1331 (test_catch_syscall_skipping_return): New test toggling off 'catch
1332 syscall' to step over the syscall return, then toggling back on.
1333 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1334 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1335 (do_syscall_tests): Call test_catch_syscall_without_args and
1336 test_catch_syscall_mid_vfork.
1337 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1338 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1339
b32b93c6
AS
13402015-10-19 Andrew Stubbs <ams@codesourcery.com>
1341
1342 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1343 print g_vE): Add new pass patterns.
1344 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1345 print various symbol names for vptr fields.
1346
9d622bda
AB
13472015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1348
1349 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1350 results.
1351
0fd8ac1c
YQ
13522015-10-12 Yao Qi <yao.qi@linaro.org>
1353
1354 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1355
34240514
YQ
13562015-10-12 Yao Qi <yao.qi@linaro.org>
1357
1358 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1359 is aarch64*-*-linux*.
1360
8240f442
YQ
13612015-10-12 Yao Qi <yao.qi@linaro.org>
1362
1363 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1364 (can_relocate_bcond_true): ... it.
1365 (can_relocate_bcond_false): New function.
1366 (foo): Likewise.
1367 (can_relocate_bl): Likewise.
1368 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1369 can_relocate_bl.
1370
2520f728
PMR
13712015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1372
1373 * gdb.base/nested-addr.c: New file.
1374 * gdb.base/nested-addr.exp: New testcase.
1375
abcef95a
MM
13762015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1377
1378 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1379 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1380 its output. Ignore the output of "record goto begin" and instead
1381 check that GDB is replaying.
1382
145e3ddb
PA
13832015-10-09 Pedro Alves <palves@redhat.com>
1384
1385 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1386 (top level): Use it in the run with no args test.
1387
d5d8c4e1
IB
13882015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1389
1390 * gdb.dlang/properties.exp: New file.
1391
06e635ef
SL
13922015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1393
1394 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1395 whether or not address 0x1000 is mapped on the target.
1396
e019fd1d
SM
13972015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1398
1399 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1400 build.
1401
77ba2a67
MM
14022015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1403
1404 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1405 instruction-history test.
1406
c60eb31f
DE
14072015-09-28 Doug Evans <dje@google.com>
1408
1409 * gdb.base/gcore.c (array_func): Add reference to static_array.
1410
9a3c8263
SM
14112015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1412
1413 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1414 source line.
1415
9720e656
SL
14162015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1417
1418 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1419 short or char as base type.
1420
938d3bf2
SL
14212015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1422
1423 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1424 to allow any size enum.
1425
e6c2c623
PMR
14262015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1427
1428 * gdb.ada/array_ptr_renaming.exp: New testcase.
1429 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1430 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1431
06da0f77
PL
14322015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1433
1434 * gdb.trace/ftrace-lock.c: New file.
1435 * gdb.trace/ftrace-lock.exp: New file.
1436
4f51c22a
PL
14372015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1438
1439 * gdb.arch/insn-reloc.c: New file.
1440 * gdb.arch/ftrace-insn-reloc.exp: New file.
1441
7041adf4
PL
14422015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1443
1444 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1445 instruction.
1446 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1447 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1448 * gdb.trace/range-stepping.c: Likewise.
1449 * gdb.trace/trace-break.c: Likewise.
1450 * gdb.trace/trace-mt.c (thread_function): Likewise.
1451 * gdb.trace/ftrace.c (marker): Likewise.
1452 * gdb.trace/trace-condition.c (marker): Likewise.
1453 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1454 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1455 is_aarch64_target.
1456
015d2e7e
DE
14572015-09-18 Doug Evans <xdje42@gmail.com>
1458
1459 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1460 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1461
26b188a2
SL
14622015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1463
1464 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1465 the breakpoint.
1466
79dc332b
SL
14672015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1468
1469 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1470 the pending breakpoint. Remove timeout override for "Run till
1471 MI pending breakpoint on pendfunc3 on thread 2" test.
1472
f57929f2
SL
14732015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1474
1475 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1476 filename pattern.
1477
3f469b17
SL
14782015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1479
1480 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1481 in breakpoint filename pattern.
1482
515b89b3
SL
14832015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1484
7800dbe4
SL
1485 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1486
14872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1488
515b89b3
SL
1489 * gdb.linespec/explicit.exp: Check for readline support for
1490 tab-completion tests. Fix obvious typo.
1491
d2939ba2
MM
14922015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1493
1494 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1495 and replay.
1496
cbb55fa7
MM
14972015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1498
1499 * gdb.btrace/non-stop.c: New.
1500 * gdb.btrace/non-stop.exp: New.
1501
43691ca1
PL
15022015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1503 Yao Qi <yao.qi@linaro.org>
1504
1505 * gdb.trace/trace-condition.c: New file.
1506 * gdb.trace/trace-condition.exp: New file.
1507
d78908cf
WW
15082015-09-16 Wei-cheng Wang <cole945@gmail.com>
1509
1510 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1511 for testing bytecode compilation.
1512
1ed415e2
PA
15132015-09-16 Pedro Alves <palves@redhat.com>
1514 Sandra Loosemore <sandra@codesourcery.com>
1515
1516 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1517 (SECONDS): Redefine.
1518 (main): Call pthread_kill and alarm early.
1519 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1520 support.
1521 (test): If the target can't hardware step and doesn't support
1522 displaced stepping, increase the timeout.
1523
d136eff5
PA
15242015-09-16 Pedro Alves <palves@redhat.com>
1525
1526 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1527 (enable_debug): New procedures.
1528 (test): Use them. Bail out if waiting for threads fails.
1529 (top level): Bail out if a test fails.
1530
991f019c
YQ
15312015-09-16 Yao Qi <yao.qi@linaro.org>
1532
1533 * gdb.asm/asm-source.exp: Set asm-arch for
1534 aarch64*-*-* target.
1535 * gdb.asm/aarch64.inc: New file.
1536
bfca584f
PMR
15372015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1538
1539 * gdb.ada/array_of_variable_length.exp: New testcase.
1540 * gdb.ada/array_of_variable_length/foo.adb: New file.
1541 * gdb.ada/array_of_variable_length/pck.adb: New file.
1542 * gdb.ada/array_of_variable_length/pck.ads: New file.
1543
b326e587
DE
15442015-09-15 Doug Evans <dje@google.com>
1545
1546 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1547 of function static local variable.
1548
5382cfab
PW
15492015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1550
1551 * gdb.threads/tls-so_extern.exp: New test file.
1552 * gdb.threads/tls-so_extern.c: New test file.
1553 * gdb.threads/tls-so_extern_main.c: New test file.
1554
141c5cc4
JK
15552015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1556
1557 * gdb.opt/solib-intra-step-lib.c: New file.
1558 * gdb.opt/solib-intra-step-main.c: New file.
1559 * gdb.opt/solib-intra-step.exp: New file.
1560
d15dcecd
PA
15612015-09-15 Pedro Alves <palves@redhat.com>
1562
1563 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1564 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1565
4c2f2a79
PA
15662015-09-14 Pedro Alves <palves@redhat.com>
1567
1568 * gdb.base/hook-stop-continue.c: Delete.
1569 * gdb.base/hook-stop-continue.exp: Delete.
1570 * gdb.base/hook-stop-frame.c: Delete.
1571 * gdb.base/hook-stop-frame.exp: Delete.
1572 * gdb.base/hook-stop.c: New file.
1573 * gdb.base/hook-stop.exp: New file.
1574
919e6dbe
PMR
15752015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1576
1577 * gdb.ada/access_to_packed_array.exp: New testcase.
1578 * gdb.ada/access_to_packed_array/foo.adb: New file.
1579 * gdb.ada/access_to_packed_array/pack.adb: New file.
1580 * gdb.ada/access_to_packed_array/pack.ads: New file.
1581
157280a4
MM
15822015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1583
1584 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1585 buffer size test.
1586
2fd33e94
DB
15872015-09-11 Don Breazeal <donb@codesourcery.com>
1588
1589 * gdb.base/foll-exec.c: Add copyright header. Fix
1590 formatting issues.
1591 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1592 (do_exec_tests): Use clean_restart in place of zap_session,
1593 and for test initialization. Fix formatting issues. Use
1594 fail in place of perror.
1595 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1596 an expect statement to match an expression with output from
1597 the program under debug.
1598 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1599 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1600 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1601 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1602 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1603
e70b6e8e
DE
16042015-09-09 Doug Evans <dje@google.com>
1605
1606 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1607
7a551a51
DE
16082015-09-09 Doug Evans <dje@google.com>
1609
1610 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1611
4c666f84
DE
16122015-09-09 Doug Evans <dje@google.com>
1613
1614 * gdb.base/savedregs.exp: Fix typo.
1615
243a9253
PA
16162015-09-09 Pedro Alves <palves@redhat.com>
1617
1618 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1619
c0fa8fbd
SL
16202015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1621
1622 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1623 command actually switches threads. Give up on remaining
1624 tests if target fails to stop at breakpoint.
1625
cd7c1778
PMR
16262015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1627
1628 * gdb.ada/funcall_char.exp: New testcase.
1629 * gdb.ada/funcall_char/foo.adb: New file.
1630
dc5c8746
PMR
16312015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1632
1633 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1634 expected outputs. Add two testcases for completing ambiguous
1635 functions.
1636 * gdb.ada/complete/aux_pck.adb: New file.
1637 * gdb.ada/complete/aux_pck.ads: New file.
1638 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1639 Ambiguous_Func functions.
1640 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1641 * gdb.ada/complete/pck.adb: Likewise.
1642
4e83a1e7
UW
16432015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1644
1645 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1646 failures to run the test program under GDB.
1647
8ce74153
LM
16482015-08-26 Luis Machado <lgustavo@codesourcery.com>
1649
1650 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1651 to C.
1652
e9756d52
PP
16532015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1654
1655 * gdb.base/run-after-attach.exp: New test file.
1656 * gdb.base/run-after-attach.c: New test file.
1657
8d37573b
DB
16582015-08-26 Don Breazeal <donb@codesourcery.com>
1659
1660 * gdb.base/foll-exec-2.c: New test program.
1661 * gdb.base/foll-exec-2.exp: New test.
1662
63e43d3a
PMR
16632015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1664
1665 * gdb.base/nested-subp1.exp: New file.
1666 * gdb.base/nested-subp1.c: New file.
1667 * gdb.base/nested-subp2.exp: New file.
1668 * gdb.base/nested-subp2.c: New file.
1669 * gdb.base/nested-subp3.exp: New file.
1670 * gdb.base/nested-subp3.c: New file.
1671
3d40fbb5
PA
16722015-08-24 Pedro Alves <palves@redhat.com>
1673
1674 * gdb.server/connect-without-multi-process.c: New file.
1675 * gdb.server/connect-without-multi-process.exp: New file.
1676
4422ac93
LM
16772015-08-24 Luis Machado <lgustavo@codesourcery.com>
1678
1679 * gdb.opt/inline-markers.c: Make z int.
1680
91dddb86
LM
16812015-08-24 Luis Machado <lgustavo@codesourcery.com>
1682
1683 * gdb.opt/inline-markers.c: Make z volatile.
1684
a48847ee
LM
16852015-08-24 Luis Machado <lgustavo@codesourcery.com>
1686
1687 * gdb.opt/inline-bt.c: New volatile global z.
1688 * gdb.opt/inline-cmds.c: Likewise.
1689 * gdb.opt/inline-locals.c: Likewise.
1690 * gdb.opt/inline-markers.c: New extern global z.
1691 (marker): Use z.
1692 (inline_fn): Likewise.
1693
0ebbc52b
PA
16942015-08-24 Pedro Alves <palves@redhat.com>
1695
1696 * config/m32r-stub.exp: Remove file.
1697 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1698 * gdb.base/call-rt-st.exp: Likewise.
1699 * gdb.base/call-strs.exp: Likewise.
1700 * gdb.base/default.exp: Remove references to h8300-*-hms and
1701 *-*-udi*.
1702 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1703
77c365df
AA
17042015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1705
1706 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1707 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1708 and "return" use KFAIL when GDB can not read/write the vector
1709 return value.
1710
4313b8c0
GB
17112015-08-21 Gary Benson <gbenson@redhat.com>
1712
1713 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1714
0e433b32
PA
17152015-08-20 Pedro Alves <palves@redhat.com>
1716
1717 * gdb.server/solib-list.exp: No longer expect an interior stop in
1718 non-stop mode.
1719
221e1a37
PA
17202015-08-20 Pedro Alves <palves@redhat.com>
1721
1722 * gdb.server/connect-stopped-target.c: New file.
1723 * gdb.server/connect-stopped-target.exp: New file.
1724
40e3ad0e
PA
17252015-08-20 Pedro Alves <palves@redhat.com>
1726
1727 * gdb.dwarf2/comp-unit-lang.exp: New file.
1728 * gdb.dwarf2/comp-unit-lang.c: New file.
1729
af39b327
PMR
17302015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1731
1732 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1733 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1734
7d45c7c3 17352015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1736
7d45c7c3
KB
1737 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1738 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1739
4d6cceb4
DE
17402015-08-18 Doug Evans <dje@google.com>
1741 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1742
1743 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1744 skip_python_tests. New arg prompt_regexp.
1745 (skip_python_tests): New function.
1746 * lib/mi-support.exp (mi_skip_python_tests): New function.
1747 * gdb.python/py-mi-objfile-gdb.py: New file.
1748 * gdb.python/py-mi-objfile.c: New file.
1749 * gdb.python/py-mi-objfile.exp: New file.
1750
ad89c2aa
KS
17512015-08-17 Keith Seitz <keiths@redhat.com>
1752
1753 * gdb.linespec/explicit.exp: Move strace test from here ...
1754 * gdb.trace/strace.exp: ... to here.
1755
e3ae3c43
PP
17562015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1757
1758 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1759 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1760
604b2636
DE
17612015-08-14 Doug Evans <xdje42@gmail.com>
1762
1763 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1764 inferior before selecting a new file.
1765
6ff0ba5f
DE
17662015-08-14 Doug Evans <xdje42@gmail.com>
1767
1768 * gdb.mi/mi-disassemble.exp: Update.
1769 * gdb.base/disasm-optim.S: New file.
1770 * gdb.base/disasm-optim.c: New file.
1771 * gdb.base/disasm-optim.h: New file.
1772 * gdb.base/disasm-optim.exp: New file.
1773
9ca98f92
KS
17742015-08-14 Keith Seitz <keiths@redhat.com>
1775
1776 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1777 "evaluated-by".
1778
52bbc560
JB
17792015-08-13 Joel Brobecker <brobecker@adacore.com>
1780
1781 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1782
5d8c3ed3
PMR
17832015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1784
1785 * gdb.ada/fun_renaming.exp: New testcase.
1786 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1787 * gdb.ada/fun_renaming/pack.adb: New file.
1788 * gdb.ada/fun_renaming/pack.ads: New file.
1789
ea8812bc
KS
17902015-08-12 Keith Seitz <keiths@redhat.com>
1791
1792 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1793 gdb_get_line_number.
1794
4dafcdeb
JB
17952015-08-12 Joel Brobecker <brobecker@adacore.com>
1796
1797 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1798 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1799 gdb.base/dso2dso.exp: New files.
1800
5ba32597
SDJ
18012015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1802 Pedro Alves <palves@redhat.com>
1803 Keith Seitz <keiths@redhat.com>
1804
1805 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1806 GDBFLAGS.
1807
b6dafabf
PP
18082015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1809
1810 * gdb.base/gdbhistsize-history.exp
1811 (test_histsize_history_setting): Use save_vars.
1812 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1813 Use save_vars.
1814 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1815 * gdb.base/readline.exp: Use save_vars.
1816
abe8e607
PP
18172015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1818
1819 * lib/gdb.exp (save_vars): New proc.
1820
629500fa
KS
18212015-08-11 Keith Seitz <keiths@redhat.com>
1822
1823 * gdb.base/help.exp: Update help_breakpoint_text.
1824
eb8c4e2e
KS
18252015-08-11 Keith Seitz <keiths@redhat.com>
1826
1827 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1828 (at toplevel): Call test_explicit_breakpoints.
1829 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1830 breakpoints.
1831 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1832 breakpoint conditions, "-cond".
1833
87f0e720
KS
18342015-08-11 Keith Seitz <keiths@redhat.com>
1835
1836 * gdb.linespec/3explicit.c: New file.
1837 * gdb.linespec/cpexplicit.cc: New file.
1838 * gdb.linespec/cpexplicit.exp: New file.
1839 * gdb.linespec/explicit.c: New file.
1840 * gdb.linespec/explicit.exp: New file.
1841 * gdb.linespec/explicit2.c: New file.
1842 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1843 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1844 before using in the matching pattern.
1845 Clarify that `prefix' is a regular expression.
1846
f00aae0f
KS
18472015-08-11 Keith Seitz <keiths@redhat.com>
1848
1849 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1850 test.
1851 Add tests for missing ",FMT" and ",".
1852
e27852be
DE
18532015-08-10 Doug Evans <dje@google.com>
1854 Keith Seitz <keiths@redhat.com>
1855
1856 PR gdb/17960
1857 * gdb.base/completion.exp: Add location completer tests.
1858
7f03bd92
PA
18592015-08-07 Pedro Alves <palves@redhat.com>
1860
1861 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1862 tests here.
1863 (top level): Run do_test with and without displaced stepping.
1864
3fc8eb30
PA
18652015-08-07 Pedro Alves <palves@redhat.com>
1866
1867 * gdb.base/valgrind-disp-step.c: New file.
1868 * gdb.base/valgrind-disp-step.exp: New file.
1869
d4569d7b
PA
18702015-08-07 Pedro Alves <palves@redhat.com>
1871
1872 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1873 Delete function.
1874 (main): Add alarm. Run an infinite loop instead of calling
1875 wait_threads.
1876 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1877 comment.
1878 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1879 Delete function.
1880 (main): Add alarm. Run an infinite loop instead of calling
1881 wait_threads.
1882 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1883 comment.
1884
e1316e60
PA
18852015-08-07 Pedro Alves <palves@redhat.com>
1886
1887 * gdb.base/checkpoint-ns.exp: New file.
1888 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1889 standard_testfile.
1890
da8c46d2
MM
18912015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1892
1893 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1894 * gdb.btrace/instruction_history.exp: Update.
1895 * gdb.btrace/tsx.exp: New.
1896 * gdb.btrace/tsx.c: New.
1897
de1c2c52
PA
18982015-08-06 Pedro Alves <palves@redhat.com>
1899
1900 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1901 increase timeout.
1902 * gdb.reverse/until-precsave.exp: Bump timeouts.
1903
782e0bf4
PA
19042015-08-06 Pedro Alves <palves@redhat.com>
1905
1906 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1907
83e97ed0
PA
19082015-08-06 Pedro Alves <palves@redhat.com>
1909
1910 PR gdb/18749
1911 * gdb.threads/process-dies-while-handling-bp.c: New file.
1912 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1913
863d01bd
PA
19142015-08-06 Pedro Alves <palves@redhat.com>
1915
1916 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1917 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1918
0a39bb32
PA
19192015-08-05 Pedro Alves <palves@redhat.com>
1920
1921 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1922 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1923
ee2d2b10
SL
19242015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1925
1926 * gdb.base/bp-permanent.exp: Report test as unsupported if
1927 the target cannot stop at the permanent breakpoint.
1928
4e1bdb00
DE
19292015-08-03 Doug Evans <dje@google.com>
1930
1931 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1932 10000.
1933
3d338901
DE
19342015-08-03 Doug Evans <dje@google.com>
1935
1936 * Makefile.in (workers/%.worker, build-perf): New rule.
1937 (GDB_PERFTEST_MODE): New variable.
1938 (check-perf): Use it.
1939 (clean): Clean up gdb.perf parallel build subdirs.
1940 * lib/build-piece.exp: New file.
1941 * lib/gdb.exp (make_gdb_parallel_path): New function
1942 (standard_output_file, standard_temp_file): Call it.
1943 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1944 of $GDB_PARALLEL.
1945 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1946
af061d3e
DE
19472015-08-03 Doug Evans <dje@google.com>
1948
8e1afc81 1949 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1950 (LOG_FILE_NAME): New global.
1951 (TextReporter.__init__): Initialize self.txt_sum.
1952 (TextReporter.report): Add support for multiple data-points.
1953 Move report to perftest.sum, put raw data in perftest.log.
1954 (TextReporter.start): Open sum and log files.
1955 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1956 * gdb.perf/lib/perftest/testresult.py
1957 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1958
2c8c5d37
PA
19592015-07-31 Pedro Alves <palves@redhat.com>
1960
1961 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1962 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1963 kill_wait_spawned_process instead of explicit "kill -9".
1964 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1965 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1966 kill_wait_spawned_process.
1967 * gdb.base/attach-twice.exp: Likewise.
1968 * gdb.base/attach.exp: Likewise.
1969 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1970 gdb_test_multiple.
1971 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1972 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1973 kill_wait_spawned_process.
1974 * gdb.base/valgrind-infcall.exp: Likewise.
1975 * gdb.multi/multi-attach.exp: Likewise.
1976 * gdb.python/py-prompt.exp: Likewise.
1977 * gdb.python/py-sync-interp.exp: Likewise.
1978 * gdb.server/ext-attach.exp: Likewise.
1979 * gdb.threads/attach-into-signal.exp (corefunc): Use
1980 spawn_wait_for_attach, spawn_id_get_pid and
1981 kill_wait_spawned_process.
1982 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1983 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1984 spawn_id_get_pid and kill_wait_spawned_process.
1985 * gdb.threads/attach-stopped.exp (corefunc): Use
1986 spawn_wait_for_attach, spawn_id_get_pid and
1987 kill_wait_spawned_process.
1988 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1989 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1990 kill_wait_spawned_process instead of explicit "kill -9".
1991 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1992 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1993 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1994 processes. Don't map cygwin/windows pids here. Now returns a
1995 spawn id list.
1996
032a0fca
SL
19972015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1998
1999 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2000 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2001 correct patch.
2002
61a934ca
SL
20032015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2004
2005 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2006
4bc4d428
SL
20072015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2008
2009 Reapply:
2010 2014-05-21 Mark Wielaard <mjw@redhat.com>
2011
2012 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2013
998d452a
PA
20142015-07-30 Pedro Alves <palves@redhat.com>
2015
2016 * linux-low.c (handle_extended_wait): Set the child's last
2017 reported status to TARGET_WAITKIND_STOPPED.
2018
69dde7dc
PA
20192015-07-30 Pedro Alves <palves@redhat.com>
2020
2021 PR threads/18600
2022 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2023 only shows inferior 1.
2024
4dd63d48
PA
20252015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2026 Pedro Alves <palves@redhat.com>
2027
2028 PR threads/18600
2029 * gdb.threads/fork-plus-threads.c: New file.
2030 * gdb.threads/fork-plus-threads.exp: New file.
2031
d618e4c5
PP
20322015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2033
2034 * gdb.base/batch-preserve-term-settings.exp
2035 (test_terminal_settings_preserved_after_cli_exit): Use
2036 send_quit_command.
2037
1eef6428
PA
20382015-07-29 Pedro Alves <palves@redhat.com>
2039 Don Breazeal <donb@codesourcery.com>
2040
2041 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2042 output from both inferior_spawn_id and gdb_spawn_id.
2043
7da5b897
SDJ
20442015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2045
2046 * gdb.threads/attach-into-signal.exp (corefunc): Use
2047 with_test_prefix on nested loops, uniquefying the test messages.
2048
dac804df
SDJ
20492015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2050
2051 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2052 commit.
2053
06265e53
PP
20542015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2055
2056 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2057 New proc.
2058 (test_terminal_settings_preserved_after_sigterm): New test.
2059
18206ca3
PP
20602015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2061
2062 * gdb.base/batch-preserve-term-settings.exp
2063 (test_terminal_settings_preserved_after_cli_exit): New test.
2064
90074d11
PP
20652015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2066
2067 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2068 manipulation of saved_gdbflags.
2069 (test_terminal_settings_preserved): Remove global declaration of
2070 the unused variable pagination_prompt. Remove manipulation of
2071 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2072 GDBFLAGS.
2073
eb1a7902
PA
20742015-07-29 Pedro Alves <palves@redhat.com>
2075
2076 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2077
8b75dd3b
PA
20782015-07-29 Pedro Alves <palves@redhat.com>
2079
2080 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2081 at the top.
2082
dedad4e3
PA
20832015-07-29 Pedro Alves <palves@redhat.com>
2084
2085 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2086 (main): Call gdb_unbuffer_output.
2087 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2088 (main): Call gdb_unbuffer_output.
2089 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2090 (main): Call gdb_unbuffer_output.
2091 * gdb.base/call-strs.exp: Adjust to step over the
2092 gdb_unbuffer_output call.
2093 * gdb.base/catch-gdb-caused-signals.c: Include
2094 "../lib/unbuffer_output.c".
2095 (main): Call gdb_unbuffer_output.
2096 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2097 (main): Call gdb_unbuffer_output.
2098 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2099 (main): Call gdb_unbuffer_output.
2100 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2101 (main): Call gdb_unbuffer_output.
2102 * gdb.base/shlib-call.exp: Adjust to step over the
2103 gdb_unbuffer_output call.
2104 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2105 (main): Call gdb_unbuffer_output.
2106 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2107 (main): Call gdb_unbuffer_output.
2108 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2109 (main): Rename to ...
2110 (test): ... this.
2111 (main): Reimplement.
2112 * gdb.base/varargs.exp: Run to test instead of to main.
2113 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2114 (main): Call gdb_unbuffer_output.
2115
58789a91
PA
21162015-07-29 Pedro Alves <palves@redhat.com>
2117
2118 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2119 factore out from mi_continue_dprintf. For call-style dprintfs,
2120 expect dprintf output out of $inferior_spawn_id.
2121 (mi_continue_dprintf): Use mi_expect_dprintf.
2122 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2123 (main): Call gdb_unbuffer_output.
2124
e8376742
PA
21252015-07-29 Pedro Alves <palves@redhat.com>
2126
2127 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2128 (default_mi_gdb_start): Set inferior_spawn_id instead of
2129 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2130 gdb_spawn_id.
2131 (mi_gdb_test): Always expect inferior output from both
2132 $inferior_spawn_id and $gdb_spawn_id.
2133
08280010
PA
21342015-07-29 Pedro Alves <palves@redhat.com>
2135
2136 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2137 send_inferior and $inferior_spawn_id.
2138
4d30e432
PA
21392015-07-29 Pedro Alves <palves@redhat.com>
2140
2141 * gdb.gdb/complaints.exp (test_initial_complaints)
2142 (test_serial_complaints, test_short_complaints): Use
2143 gdb_test_stdio.
2144 (test_empty_complaint): Handle $inferior_spawn_id !=
2145 $gdb_spawn_id.
2146
0d30a335
PA
21472015-07-29 Pedro Alves <palves@redhat.com>
2148
2149 * gdb.base/varargs.exp: Use gdb_test_stdio.
2150
39413b29
PA
21512015-07-29 Pedro Alves <palves@redhat.com>
2152
2153 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2154
7cb000a9
PA
21552015-07-29 Pedro Alves <palves@redhat.com>
2156
2157 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2158
d7b8ac82
PA
21592015-07-29 Pedro Alves <palves@redhat.com>
2160
2161 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2162 parameter into two new parameters, "inf_result" and "gdb_result".
2163 Expect inferior output and gdb output from $inferior_spawn_id and
2164 $gdb_spawn_id, respectively. Adjust all callers.
2165
789c3a0c
PA
21662015-07-29 Pedro Alves <palves@redhat.com>
2167
2168 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2169 of gdb_test_sequence.
2170
77e760c3
PA
21712015-07-29 Pedro Alves <palves@redhat.com>
2172
2173 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2174 (saw_spurious_output): Expect inferior output from
2175 $inferior_spawn_id. Use gdb_test_stdio.
2176
8396d2cd
PA
21772015-07-29 Pedro Alves <palves@redhat.com>
2178
2179 * gdb.base/dprintf.exp: Use standard_testfile. Change
2180 prepare_for_testing call.
2181 (srcfile): Don't set.
2182 (restart): New procedure.
2183 (test_dprintf): New procecure, use to continue over dprintfs.
2184 (test_call, test_agent): New procedures, tests moved here.
2185 Restart gdb and recreate dprintfs. Adjust expected output.
2186
2051d61f
PA
21872015-07-29 Pedro Alves <palves@redhat.com>
2188
2189 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2190
452397af
PA
21912015-07-29 Pedro Alves <palves@redhat.com>
2192
2193 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2194
8aed9555
PA
21952015-07-29 Pedro Alves <palves@redhat.com>
2196
2197 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2198 gdb_test_stdio.
2199
188a61b4
PA
22002015-07-29 Pedro Alves <palves@redhat.com>
2201
2202 * lib/gdb.exp (gdb_test_stdio): New procedure.
2203
12264a45
PA
22042015-07-29 Pedro Alves <palves@redhat.com>
2205
2206 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2207
23ffc893
PA
22082015-07-29 Pedro Alves <palves@redhat.com>
2209
2210 * gdb.base/call-signal-resume.exp: Remove check for
2211 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2212 * gdb.base/unwindonsignal.exp: Likewise.
2213 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2214 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2215
65566918
PA
22162015-07-29 Pedro Alves <palves@redhat.com>
2217
2218 * gdb.base/siginfo-addr.c (pass): New function.
2219 (handler): Call it iff si_addr is correct.
2220 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2221 Set a breakpoint at "pass" and continue to it.
2222
d60a9221
SDJ
22232015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2224
2225 * gdb.python/py-objfile.exp: Make some tests have unique names.
2226 * gdb.python/py-pp-registration.exp: Likewise.
2227
bde40b8f
PA
22282015-07-28 Pedro Alves <palves@redhat.com>
2229
2230 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2231
13e1dec8
SM
22322015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2233
2234 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2235
da33c9a7
SM
22362015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2237
2238 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2239
077836f7
PP
22402015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2241
2242 * gdb.base/gdb-sigterm-2.exp: New test.
2243
b8cc7b2e
DE
22442015-07-25 Doug Evans <xdje42@gmail.com>
2245
2246 Revert:
2247 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2248 (workers/%.worker, build-perf): New rule.
2249 (GDB_PERFTEST_MODE): New variable.
2250 (check-perf): Use it.
2251 (clean): Clean up gdb.perf parallel build subdirs.
2252 * lib/build-piece.exp: New file.
2253 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2254 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2255 name.
2256 (standard_temp_file): Ditto.
2257 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2258 of $GDB_PARALLEL.
2259
c8bd4544
DE
22602015-07-24 Doug Evans <dje@google.com>
2261
2262 * gdb.perf/lib/perftest/utils.py: New file.
2263 * gdb.perf/gm-hello.cc: New file.
2264 * gdb.perf/gm-pervasive-typedef.cc: New file.
2265 * gdb.perf/gm-pervasive-typedef.h: New file.
2266 * gdb.perf/gm-std.cc: New file.
2267 * gdb.perf/gm-std.h: New file.
2268 * gdb.perf/gm-use-cerr.cc: New file.
2269 * gdb.perf/gm-utils.h: New file.
2270 * gdb.perf/gmonster-null-lookup.py: New file.
2271 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2272 * gdb.perf/gmonster-print-cerr.py: New file.
2273 * gdb.perf/gmonster-ptype-string.py: New file.
2274 * gdb.perf/gmonster-runto-main.py: New file.
2275 * gdb.perf/gmonster-select-file.py: New file.
2276 * gdb.perf/gmonster1-null-lookup.exp: New file.
2277 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2278 * gdb.perf/gmonster1-print-cerr.exp: New file.
2279 * gdb.perf/gmonster1-ptype-string.exp: New file.
2280 * gdb.perf/gmonster1-runto-main.exp: New file.
2281 * gdb.perf/gmonster1-select-file.exp: New file.
2282 * gdb.perf/gmonster1.cc: New file.
2283 * gdb.perf/gmonster1.exp: New file.
2284 * gdb.perf/gmonster2-null-lookup.exp: New file.
2285 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2286 * gdb.perf/gmonster2-print-cerr.exp: New file.
2287 * gdb.perf/gmonster2-ptype-string.exp: New file.
2288 * gdb.perf/gmonster2-runto-main.exp: New file.
2289 * gdb.perf/gmonster2-select-file.exp: New file.
2290 * gdb.perf/gmonster2.cc: New file.
2291 * gdb.perf/gmonster2.exp: New file.
2292
6eab34f3
DE
22932015-07-24 Doug Evans <dje@google.com>
2294
2295 * gdb.perf/README: New file.
2296 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2297 * lib/gen-perf-test.exp: New file.
2298
63738bfd
DE
22992015-07-24 Doug Evans <dje@google.com>
2300
2301 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2302 (PerfTest::startup): New function.
2303 (PerfTest::run): Return result of calling body.
2304 (PerfTest::assemble): Rewrite.
2305 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2306 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2307 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2308 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2309 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2310
7b606f95
DE
23112015-07-24 Doug Evans <dje@google.com>
2312
2313 * lib/gdb.exp (clean_restart): Make executable optional.
2314
a97b16b8
DE
23152015-07-24 Doug Evans <dje@google.com>
2316
2317 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2318 compiler_info references.
2319 * gdb.cp/temargs.exp: Ditto.
2320 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2321 (get_compiler_info): Early exit if already computed. Set compiler_info
2322 to "unknown" if there was a problem.
2323 (test_compiler_info): Add function comment. Call get_compiler_info.
2324
35baa57f
DE
23252015-07-24 Doug Evans <dje@google.com>
2326
2327 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2328 (workers/%.worker, build-perf): New rule.
2329 (GDB_PERFTEST_MODE): New variable.
2330 (check-perf): Use it.
2331 (clean): Clean up gdb.perf parallel build subdirs.
2332 * lib/build-piece.exp: New file.
2333 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2334 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2335 name.
2336 (standard_temp_file): Ditto.
2337 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2338 of $GDB_PARALLEL.
2339
6ebea266
DE
23402015-07-24 Doug Evans <dje@google.com>
2341
2342 * lib/future.exp (gdb_default_target_compile): New option
2343 "early_flags".
2344 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2345 --as-needed.
2346
1e76a7e9
SDJ
23472015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2348
2349 * gdb.base/catch-syscall.exp: Call gdb_exit before
2350 gdb_skip_xml_test.
2351
5068630a
PA
23522015-07-24 Pedro Alves <palves@redhat.com>
2353
2354 * gdb.python/py-events.exp: Accept output between the stop event
2355 and the prompt.
2356 * gdb.python/py-evsignal.exp: Likewise.
2357 * gdb.python/py-evthreads.exp: Likewise.
2358
77598427
PA
23592015-07-24 Pedro Alves <palves@redhat.com>
2360
2361 PR gdb/18717
2362 * gdb.threads/non-ldr-exit.c: New file.
2363 * gdb.threads/non-ldr-exit.exp: New file.
2364
11e6c98f
YQ
23652015-07-24 Yao Qi <yao.qi@linaro.org>
2366
2367 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2368 restarting process.
2369
51aee833
YQ
23702015-07-24 Yao Qi <yao.qi@linaro.org>
2371
2372 * gdb.server/ext-restart.exp: New file.
2373
8cfe207c
YQ
23742015-07-24 Yao Qi <yao.qi@linaro.org>
2375
2376 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2377 argument options.
2378 * gdb.server/ext-wrapper.exp: New file.
2379
cc12ce38
DE
23802015-07-23 Doug Evans <dje@google.com>
2381
2382 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2383 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2384
d0d84780
PMR
23852015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2386
2387 * gdb.ada/var_arr_typedef.exp: New testcase.
2388 * gdb.ada/var_arr_typedef/pack.adb: New file.
2389 * gdb.ada/var_arr_typedef/pack.ads: New file.
2390 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2391
8b558f79
JB
23922015-07-20 Joel Brobecker <brobecker@adacore.com>
2393
2394 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2395
775a3298
JK
23962015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2397
2398 * gdb.arch/i386-biarch-core.exp: Replace istarget
2399 by "complete set gnutarget". Remove expectation for the "core-file"
2400 command.
2401
db1ff28b
JK
24022015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2403
2404 Revert the previous commit:
2405 Tests for validate symbol file using build-id.
2406
0a94970d
JK
24072015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2408
2409 Tests for validate symbol file using build-id.
2410 * gdb.base/solib-mismatch-lib.c: New file.
2411 * gdb.base/solib-mismatch-libmod.c: New file.
2412 * gdb.base/solib-mismatch.c: New file.
2413 * gdb.base/solib-mismatch.exp: New file.
2414
03346981
SL
24152015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2416
2417 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2418 nios2-*-linux*.
2419 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2420 * gdb.base/siginfo.exp: Likewise.
2421 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2422
42422cc7
PL
24232015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2424
2425 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2426 Move it to ...
2427 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2428 ... here.
2429 * gdb.trace/range-stepping.exp: Check that the target supports
2430 range stepping.
2431
cfa68bae
JK
24322015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2433
2434 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2435
8ffdba26
PA
24362015-07-14 Pedro Alves <palves@redhat.com>
2437
2438 * gdb.base/killed-outside.exp: New file.
2439 * gdb.base/killed-outside.c: New file.
2440
218a5a11
JK
24412015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2442
2443 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2444 (n at main): New.
2445 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2446
e03ed3c6
AA
24472015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2448
2449 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2450 infcall tests instead of setting up for KFAIL.
2451
485668e5
MM
24522015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2453
2454 * gdb.btrace/record_goto-step.exp: New.
2455
08464196
JK
24562015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2457
2458 PR compile/18484
2459 * gdb.compile/compile.c (struct struct_type): Add volatile to
2460 selffield's type.
2461 * gdb.compile/compile.exp
2462 (compile code struct_object.selffield = &struct_object): Skip further
2463 struct_object tests if this one xfails.
2464
bcf5c1d9
RC
24652015-07-08 Robert O'Callahan <robert@ocallahan.org>
2466
2467 PR exp/18617
2468 * gdb.trace/ax.exp: Add test.
2469
4931af25
YQ
24702015-07-07 Yao Qi <yao.qi@linaro.org>
2471
2472 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2473 instead of istarget "aarch64*-*-*".
2474 * gdb.arch/aarch64-fp.exp: Likewise.
2475 * gdb.base/float.exp: Likewise.
2476 * gdb.reverse/aarch64.exp: Likewise.
2477 * lib/gdb.exp (is_aarch64_target): New proc.
2478
9fcf688e
YQ
24792015-07-07 Yao Qi <yao.qi@linaro.org>
2480
2481 * lib/gdb.exp (is_aarch32_target): New proc.
2482 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2483 instead of "istarget "arm*-*-*"".
2484 * gdb.arch/arm-disp-step.exp: Likewise.
2485 * gdb.arch/thumb-bx-pc.exp: Likewise.
2486 * gdb.arch/thumb-prologue.exp: Likewise.
2487 * gdb.arch/thumb-singlestep.exp: Likewise.
2488 * gdb.base/disp-step-syscall.exp: Likewise.
2489 * gdb.base/float.exp: Likewise.
2490
fbd8d50d
YQ
24912015-07-07 Yao Qi <yao.qi@linaro.org>
2492
2493 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2494 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2495
71be1fdc
YQ
24962015-07-07 Yao Qi <yao.qi@linaro.org>
2497
2498 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2499 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2500 if it exists.
2501 * gdb.multi/multi-arch.exp: Likewise.
2502
3e221d36
SM
25032015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2504
2505 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2506 print.
2507
d441430b
YQ
25082015-07-07 Yao Qi <yao.qi@linaro.org>
2509
2510 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2511
06f810bd
MG
25122015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2513
2514 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2515 '[' and ']' characters.
2516
5e61e7c0
IB
25172015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2518
2519 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2520
28bf096c
PA
25212015-06-29 Pedro Alves <palves@redhat.com>
2522
2523 PR threads/18127
2524 * gdb.threads/hand-call-new-thread.c: New file.
2525 * gdb.threads/hand-call-new-thread.c: New file.
2526
ee93cd5e
KS
25272015-06-26 Keith Seitz <keiths@redhat.com>
2528 Doug Evans <dje@google.com>
2529
2530 PR 16253
2531 * gdb.cp/var-tag-2.cc: New file.
2532 * gdb.cp/var-tag-3.cc: New file.
2533 * gdb.cp/var-tag-4.cc: New file.
2534 * gdb.cp/var-tag.cc: New file.
2535 * gdb.cp/var-tag.exp: New file.
2536
fc637f04
PP
25372015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2538
2539 * gdb.base/history-duplicates.exp: New test.
2540
2e52ae68
PP
25412015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2542
2543 * gdb.base/completion.exp: Test the completion of the "focus"
2544 command.
2545
6e22494e
JK
25462015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2547
2548 * gdb.arch/amd64-prologue-skip.S: New file.
2549 * gdb.arch/amd64-prologue-skip.exp: New file.
2550
bf7b9cd9
SM
25512015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2552
2553 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2554 is_address_zero_readable check.
2555
201e8dfd
PB
25562015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2557
2558 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2559 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2560
5cd867b4
YQ
25612015-06-24 Yao Qi <yao.qi@linaro.org>
2562
2563 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2564 linux targets.
2565
4d7be007
YQ
25662015-06-24 Yao Qi <yao.qi@linaro.org>
2567
2568 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2569 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2570 * gdb.base/siginfo-thread.exp: Likewise.
2571
07fcd301
YQ
25722015-06-22 Yao Qi <yao.qi@linaro.org>
2573
2574 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2575
52042a00
YQ
25762015-06-22 Yao Qi <yao.qi@linaro.org>
2577
2578 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2579 aarch64*-*-*.
2580 (skip_hw_watchpoint_tests): Likewise.
2581
74bd41ce
PP
25822015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2583
2584 * gdb.base/gdbinit-history.exp: Test the interaction between
2585 setting GDBHISTSIZE and setting the history size via .gdbinit.
2586
bc460514
PP
25872015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2588
2589 PR gdb/16999
2590 * gdb.base/gdbhistsize-history.exp: New test.
2591
b58c513b
PP
25922015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2593
2594 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2595 with GDBHISTSIZE.
2596 * gdb.base/readline.exp: Likewise.
2597
92046791
YQ
25982015-06-17 Yao Qi <yao.qi@linaro.org>
2599
2600 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2601 line.
2602
2093d2d3
PP
26032015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2604
2605 * gdb.base/gdbinit-history.exp: Add test case to check that
2606 an unlimited history file does not get truncated on exit.
2607
e6c693af
AA
26082015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2609
2610 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2611 (VECTOR): New macro. Use it...
2612 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2613 ...for these typedefs.
2614 (int8, char1, int1, double1): New typedefs.
2615 (struct just_int2, struct two_int2): New structures.
2616 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2617 (add_structvecs, add_singlevecs): New functions.
2618 (main): Call add_some_intvecs twice.
2619 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2620 the compile and exit upon failure. Try compiling for the "native"
2621 architecture. Test inferior function calls with vector arguments
2622 and vector return value handling with "finish" and "return".
2623
c74f7d1c
JT
26242015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2625
2626 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2627 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2628 PE file.
2629 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2630
98aa42ee
AT
26312015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2632
2633 PR breakpoints/16465
2634 * gdb.mi/mi-dprintf-pending.c: New file.
2635 * gdb.mi/mi-dprintf-pending.exp: New test.
2636 * gdb.mi/mi-dprintf-pendshr.c: New file.
2637
7d73c23c 26382015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2639 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2640
2641 * gdb.arch/i386-mpx-map.c: New file.
2642 * gdb.arch/i386-mpx-map.exp: New File.
2643
26442015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2645
2646 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2647 * gdb.arch/i386-mpx.exp: Indentation fixed.
2648
26492015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2650
2651 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2652 function and improved indentation.
2653 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2654 gdb_test_multiple. Added additional tests to skip the test.
2655
26562015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2657
2658 * gdb.arch/i386-avx512.c: Change path in include file.
2659 * gdb.arch/i386-avx512.exp: Change include dir path
2660 compilation flag.
2661 * gdb.arch/i386-mpx.c: Change path in include file.
2662 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2663 flag.
2664
d5eba19a
JK
26652015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2666
2667 * gdb.compile/compile-print.exp (compile print *vararray@3)
2668 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2669
7f361056
JK
26702015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2671
2672 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2673 (do not keep jit in memory): ... this.
2674 (expect 5): Change it to ...
2675 (expect no 5): ... this.
2676
3b462ec2
SM
26772015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2678
2679 PR gdb/15564
2680 * gdb.mi/mi-detach.exp: New file.
2681
e0619de6
JK
26822015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2683
2684 PR symtab/18392
2685 * gdb.arch/amd64-tailcall-self.S: New file.
2686 * gdb.arch/amd64-tailcall-self.c: New file.
2687 * gdb.arch/amd64-tailcall-self.exp: New file.
2688
e970cb34
DB
26892015-05-28 Don Breazeal <donb@codesourcery.com>
2690
2691 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2692 tests for remote targets by checking is_target_gdbserver.
2693
b2e2f908
DE
26942015-05-27 Doug Evans <dje@google.com>
2695
2696 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2697 * gdb.dwarf2/opaque-type-lookup.c: New file.
2698 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2699
82c7be31
DE
27002015-05-26 Doug Evans <dje@google.com>
2701
2702 * gdb.cp/iostream.cc: New file.
2703 * gdb.cp/iostream.exp: New file.
2704
b4f54984
DE
27052015-05-26 Doug Evans <dje@google.com>
2706
2707 * gdb.dwarf2/dw2-op-call.exp: Update.
2708 * gdb.dwarf2/dw4-sig-types.exp: Update.
2709 * gdb.dwarf2/implptr.exp: Update.
2710 * gdb.mi/mi-cmd-param-changed.exp: Update.
2711
4ea6efe9
DE
27122015-05-26 Doug Evans <dje@google.com>
2713
2714 * gdb.python/py-lazy-string.c: New file.
2715 * gdb.python/py-lazy-string.exp: New file.
2716 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2717 (main): Update. Add estring3.
2718 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2719 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2720
f6bb7db3
YQ
27212015-05-26 Omair Javaid <omair.javaid@linaro.org>
2722 Yao Qi <yao.qi@linaro.org>
2723
2724 * gdb.reverse/aarch64.c: New.
2725 * gdb.reverse/aarch64.exp: New.
2726
a81bfbd0
OJ
27272015-05-26 Omair Javaid <omair.javaid@linaro.org>
2728
2729 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2730 (supports_reverse): Likewise.
2731
158bf1b4
PP
27322015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2733
2734 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2735 Use with_test_prefix.
2736
a0145030
AB
27372015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2738
2739 * gdb.base/completion.exp: Add test for completion of layout
2740 names.
2741
ebe3b578
AB
27422015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2743
2744 * lib/gdb.exp (skip_tui_tests): New proc.
2745 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2746
84204ed7
PA
27472015-05-19 Pedro Alves <palves@redhat.com>
2748
2749 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2750 Save the whole env array instead of just HOME. Unset HISTSIZE in
2751 the environment while testing. Restore whole environment
2752 afterwards.
2753
37442ce1
DE
27542015-05-16 Doug Evans <xdje42@gmail.com>
2755
2756 * gdb.guile/scm-ports.c: New file.
2757 * gdb.guile/scm-ports.exp: Add memory port tests.
2758
36de76f9
JK
27592015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2760
2761 * gdb.compile/compile-print.c: New file.
2762 * gdb.compile/compile-print.exp: New file.
2763
3a9558c4
JK
27642015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2765
2766 * gdb.compile/compile-ops.exp: Cast param to void.
2767 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2768 (compile code struct_object.selffield = &struct_object): Add xfail.
2769
aa715135
JG
27702015-05-15 Joel Brobecker <brobecker@adacore.com>
2771
2772 * gdb.ada/arr_enum_with_gap: New testcase.
2773
931e5bc3
JG
27742015-05-15 Joel Brobecker <brobecker@adacore.com>
2775
2776 * gdb.ada/byte_packed_arr: New testcase.
2777
9cd4d857
JB
27782015-05-15 Joel Brobecker <brobecker@adacore.com>
2779
2780 * gdb.ada/pckd_neg: New testcase.
2781
ebfd00d2
PP
27822015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2783
2784 PR gdb/17820
2785 * gdb.base/gdbinit-history.exp: New test.
2786 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2787 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2788
4c082a81
SC
27892015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2790
2791 * gdb.python/py-xmethods.cc: Enhance test case.
2792 * gdb.python/py-xmethods.exp: New tests.
2793 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2794 function.
2795 (B_indexoper): Likewise.
2796 (global_dm_list) : Add new xmethod worker functions.
2797
f7797074
SDJ
27982015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2799
2800 * gdb.base/coredump-filter.exp: Correctly unset
2801 "coredump_var_addr" array.
2802
a4674e4e
PA
28032015-05-08 Pedro Alves <palves@redhat.com>
2804
2805 * gdb.server/non-existing-program.exp: Unset spawn_id.
2806
df2eb078
SC
28072015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2808
2809 PR python/18291
2810 * gdb.python/py-xmethods.exp: Add tests.
2811
422349a3
YQ
28122015-05-08 Yao Qi <yao.qi@linaro.org>
2813
2814 PR gdb/18208
2815 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2816 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2817 function set_coredump_filter, and remove remote_exec call.
2818 Remove argument ipid. Callers update.
2819 (top level): Don't get inferior's PID.
2820
63fc80ce
AA
28212015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2822
2823 * gdb.base/watch_thread_num.exp: Skip test on targets without
2824 access watchpoints.
2825
80ad801e
PA
28262015-05-06 Pedro Alves <palves@redhat.com>
2827
2828 PR server/18081
2829 * gdb.server/non-existing-program.exp: New file.
2830
0fa7fe50
JB
28312015-05-05 Joel Brobecker <brobecker@adacore.com>
2832
2833 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2834
3ea89b92
PMR
28352015-05-05 Joel Brobecker <brobecker@adacore.com>
2836
2837 * gdb.ada/out_of_line_in_inlined: New testcase.
2838
87b8eff0
JB
28392015-05-05 Joel Brobecker <brobecker@adacore.com>
2840
2841 * gdb.ada/var_rec_arr: New testcase.
2842
5fccc635
YQ
28432015-04-30 Yao Qi <yao.qi@linaro.org>
2844
2845 * gdb.base/break-idempotent.exp: If
2846 skip_hw_watchpoint_multi_tests returns true, skip the tests
2847 on "rwatch" and "awatch".
2848
42d38f42
YQ
28492015-04-30 Yao Qi <yao.qi@linaro.org>
2850
2851 * gdb.base/relativedebug.exp: Invoke gdb command
2852 "info sharedlibrary", and if libc.so doesn't have debug info,
2853 skip the test.
2854
2ce1cdbf
DE
28552015-04-29 Doug Evans <dje@google.com>
2856
2857 * gdb.python/py-xmethods.exp: Add ptype tests.
2858 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2859 get_result_type method.
2860
f24a38c5
LM
28612015-04-29 Luis Machado <lgustavo@codesourcery.com>
2862
2863 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2864 the target does not support hardware watchpoints.
2865
ecbf2b3c
LM
28662015-04-29 Luis Machado <lgustavo@codesourcery.com>
2867
2868 * gdb.base/break-always.exp: Abort testing if writing to memory
2869 causes an error.
2870
34f5f757
DE
28712015-04-28 Doug Evans <dje@google.com>
2872
2873 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2874 * gdb.python/py-pp-registration.exp: ... here. New file.
2875 * gdb.python/py-pp-registration.c: New file.
2876 * gdb.python/py-pp-registration.py: New file.
2877
69b4374a
DE
28782015-04-28 Doug Evans <dje@google.com>
2879
2880 * gdb.python/py-bad-printers.c: New file.
2881 * gdb.python/py-bad-printers.py: New file.
2882 * gdb.python/py-bad-printers.exp: New file.
2883
59fb7612
SS
28842015-04-28 Sasha Smundak <asmundak@google.com>
2885
2886 * gdb.python/py-type.exp: New test.
2887
2631b16a
AW
28882015-04-28 Andy Wingo <wingo@igalia.com>
2889
2890 * gdb.python/py-parameter.exp:
2891 * gdb.guile/scm-parameter.exp: Escape the path that we are
2892 matching against, as it might contain characters that are special
2893 to regular expressions.
2894
460efde1
JB
28952015-04-27 Joel Brobecker <brobecker@adacore.com>
2896
2897 * gdb.ada/rec_comp: New testcase.
2898
2d369d8e
SDJ
28992015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2900
2901 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2902 before using it.
2903
cf75d6c3
AB
29042015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2905
2906 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2907 new tests for verilog output.
2908
8dbe7ca5
YQ
29092015-04-24 Yao Qi <yao.qi@linaro.org>
2910
2911 * boards/remote-gdbserver-on-localhost.exp: New file.
2912
4ef9fb2f
PA
29132015-04-23 Pedro Alves <palves@redhat.com>
2914
2915 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2916 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2917 "end of file", remove $inferior_spawn_id from the indirect list.
2918
0a803169
PA
29192015-04-23 Pedro Alves <palves@redhat.com>
2920
2921 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2922
749ef8f8
PA
29232015-04-23 Pedro Alves <palves@redhat.com>
2924
2925 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2926 on $any_spawn_id instead of only on $gdb_spawn_id.
2927
8aae4344
PM
29282015-04-21 Pierre Muller <muller@sourceware.org>
2929
2930 PR pascal/17815
2931 * lib/pascal.exp (gpc_compile): Add new option "class".
2932 (fpc_compile): Likewise.
2933 * gdb.pascal/case-insensitive-symbols.pas: New file.
2934 * gdb.pascal/case-insensitive-symbols.exp: New file.
2935
1586c8fb
GB
29362015-04-20 Gary Benson <gbenson@redhat.com>
2937
2938 * gdb.base/attach.exp: Fix three extended remote failures.
2939
1b6e6f5c
GB
29402015-04-17 Gary Benson <gbenson@redhat.com>
2941
2942 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2943 the main executable over the remote protocol.
2944
e797481d
PA
29452015-04-16 Pedro Alves <palves@redhat.com>
2946
2947 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2948 a new gdbserver if gdbserver_reconnect_p is set.
2949
1ca99c42
PA
29502015-04-16 Pedro Alves <palves@redhat.com>
2951
2952 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2953 is set, don't exit gdbserver.
2954
af9fd6f8
AA
29552015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2956
2957 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2958 appropriate .insn, such that an older assembler can be used.
2959 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2960 the z/Architecture instruction set on 31-bit targets as well.
2961
04ff1e61
AA
29622015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2963
2964 * gdb.go/handcall.exp: Remove all logic related to the first
2965 breakpoint and rely on go_runto_main instead.
2966 * gdb.go/strings.exp: Likewise.
2967 * gdb.go/unsafe.exp: Likewise.
2968 * gdb.go/hello.exp: Likewise. Also rename the remaining
2969 breakpoint marker to "breakpoint 1".
2970 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2971 * gdb.go/strings.go: Likewise.
2972 * gdb.go/unsafe.go: Likewise.
2973 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2974 "set breakpoint 2 here" and rename the remaining breakpoint marker
2975 to "breakpoint 1".
2976
40d2f8d6
SM
29772015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2978
2979 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2980 if itertools.imap is not present.
2981 * gdb.python/py-objfile.exp: Add parentheses.
2982 * gdb.python/py-type.exp: Same.
2983 * gdb.python/py-unwind-maint.py: Same.
2984
8cbc97c6
YQ
29852015-04-15 Yao Qi <yao.qi@linaro.org>
2986
2987 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2988 of ":$ptr_size" and set its form explicitly.
2989
45fd756c
YQ
29902015-04-15 Pedro Alves <palves@redhat.com>
2991 Yao Qi <yao.qi@linaro.org>
2992
2993 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2994 timeout by factor of 4.
2995 (test_regular_watch): Likewise.
2996 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2997 * gdb.reverse/sigall-reverse.exp: Likewise.
2998 * gdb.reverse/until-precsave.exp: Likewise.
2999 * lib/gdb.exp (with_timeout_factor): New proc.
3000 (gdb_expect): Move some code to ...
3001 (get_largest_timeout): ... here. New procedure.
3002
9e811bc3
LM
30032015-04-14 Luis Machado <lgustavo@codesourcery.com>
3004
3005 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3006
0ff6fcb2
LM
30072015-04-13 Luis Machado <lgustavo@codesourcery.com>
3008
3009 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3010 to write to the .text section.
3011
7578d5f7
LM
30122015-04-13 Luis Machado <lgustavo@codesourcery.com>
3013
3014 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3015 Handle the case of targets that do not provide PID information.
3016
2efe15c4
YQ
30172015-04-13 Yao Qi <yao.qi@linaro.org>
3018
3019 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3020 and use expect instead of gdb_expect.
3021
8cd8f2f8
SDJ
30222015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3023
3024 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3025 "coredump_var_addr" to avoid naming conflict with other testcases.
3026
9ee41772
PA
30272015-04-10 Pedro Alves <palves@redhat.com>
3028
3029 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3030 gdb_test_sequence and gdb_assert.
3031
07473109
PA
30322015-04-10 Pedro Alves <palves@redhat.com>
3033
3034 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3035 test messages that don't include the breakpoint address.
3036
de3db44c
YQ
30372015-04-10 Yao Qi <yao.qi@linaro.org>
3038
3039 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3040 false for some offset and width combinations which aren't
3041 supported by linux kernel.
3042
c79d856c
PA
30432015-04-10 Pedro Alves <palves@redhat.com>
3044
3045 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3046 procedure, factored out from ...
3047 (top level): ... here. Add "set displaced-stepping" testing axis.
3048 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3049 parameter "displaced". Use it.
3050 (top level): Use foreach and add "set displaced-stepping" testing
3051 axis.
3052
ebc90b50
PA
30532015-04-10 Pedro Alves <palves@redhat.com>
3054
3055 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3056 Remove comment.
3057 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3058 both the address of the instruction that triggers the watchpoint
3059 and the address of the instruction immediately after, and use
3060 those addresses for the test. Fix comment.
3061
8f572e5c
PA
30622015-04-10 Pedro Alves <palves@redhat.com>
3063
3064 * gdb.base/sigstep.exp (breakpoint_to_handler)
3065 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3066 Test "backtrace" in handler.
3067 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3068 (top level): Add new "displaced" test axis to
3069 breakpoint_to_handler, breakpoint_to_handler_entry and
3070 breakpoint_over_handler.
3071
8d707a12
PA
30722015-04-10 Pedro Alves <palves@redhat.com>
3073
3074 PR gdb/18216
3075 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3076
ef713951
YQ
30772015-04-10 Yao Qi <yao.qi@linaro.org>
3078
3079 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3080 (test_add_rn_pc): New function.
3081 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3082 (top level): Invoke test_add_rn_pc.
3083
906d60cf
PA
30842015-04-10 Pedro Alves <palves@redhat.com>
3085
3086 PR gdb/13858
3087 * gdb.base/step-over-no-symbols.exp: New file.
3088
f2983cc3
AW
30892015-04-09 Andy Wingo <wingo@igalia.com>
3090
3091 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3092 after the Python tests.
3093
6d62641c
SDJ
30942015-04-08 Keith Seitz <keiths@redhat.com>
3095
3096 PR python/16699
3097 * gdb.python/py-completion.exp: New tests for completion.
3098 * gdb.python/py-completion.py (CompleteLimit1): New class.
3099 (CompleteLimit2): Likewise.
3100 (CompleteLimit3): Likewise.
3101 (CompleteLimit4): Likewise.
3102 (CompleteLimit5): Likewise.
3103 (CompleteLimit6): Likewise.
3104 (CompleteLimit7): Likewise.
3105
f3770638
PA
31062015-04-08 Pedro Alves <palves@redhat.com>
3107
3108 PR gdb/18214
3109 PR gdb/18216
3110 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3111 function.
3112 (main): Install it as SIGUSR1 handler.
3113 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3114 parameter. Always use "setup" as prefix. Toggle "set
3115 displaced-stepping" off/on depending on global. Don't switch to
3116 thread 1 here.
3117 (top level): Add displaced stepping "off/on" test axis. Update
3118 "setup" calls. Wrap each subtest with with_test_prefix. Test
3119 continuing with a queued signal in each thread.
3120
4496bed7
PA
31212015-04-08 Pedro Alves <palves@redhat.com>
3122
3123 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3124 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3125 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3126 Return early if running to main fails.
3127 * gdb.trace/while-stepping.exp: Likewise.
3128
b97fde92
PA
31292015-04-07 Pedro Alves <palves@redhat.com>
3130
3131 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3132 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3133 interact with inferior program.
3134
f71c18e7
PA
31352015-04-07 Pedro Alves <palves@redhat.com>
3136
3137 * lib/gdb.exp (inferior_spawn_id): New global.
3138 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3139 spawn id after processing the user code.
3140 (default_gdb_start): Set inferior_spawn_id.
3141 (send_inferior): New procedure.
3142 * lib/gdbserver-support.exp (gdbserver_start): Set
3143 inferior_spawn_id.
3144 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3145
6423214f
PA
31462015-04-07 Pedro Alves <palves@redhat.com>
3147
3148 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3149 * lib/gdbserver-support.exp (gdbserver_start): Make
3150 $server_spawn_id global.
3151 (gdbserver_start): Don't wait for gdbserver's spawn id with
3152 expect_background.
3153 (close_gdbserver): New procedure.
3154 (gdb_exit): Rename the default version and reimplement.
3155
71c0ee8c
PA
31562015-04-07 Pedro Alves <palves@redhat.com>
3157
72f4393d 3158 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
3159 append the substituted item, not the original item.
3160
203bc29b
PA
31612015-04-07 Pedro Alves <palves@redhat.com>
3162
3163 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3164 gdb_expect.
3165
508a3ddf
PA
31662015-04-07 Pedro Alves <palves@redhat.com>
3167
3168 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3169 output appearing once only.
3170
9f6dbe2b
PA
31712015-04-07 Pedro Alves <palves@redhat.com>
3172
3173 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3174 that doesn't expect anything. Return early if running to main
3175 fails.
3176
337532fa
YQ
31772015-04-07 Yao Qi <yao.qi@linaro.org>
3178
3179 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3180 (child_function): Call alarm.
3181 (main): Move call to alarm into the loop.
3182 * gdb.threads/non-stop-fair-events.exp: Build program with
3183 -DTIMEOUT=$timeout.
3184
01b622d4
DE
31852015-04-06 Doug Evans <xdje42@gmail.com>
3186
3187 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3188 Fix dest parameter to board_info.
3189 (fpc_compile): Ditto.
3190 (gdb_compile_pascal): Rename dest arg to destfile.
3191
961f4160
PMR
31922015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3193
3194 * gdb.ada/funcall_ref.exp: New file.
3195 * gdb.ada/funcall_ref/foo.adb: New file.
3196
cafda597
YQ
31972015-04-02 Yao Qi <yao.qi@linaro.org>
3198
3199 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3200 is remote.
3201
fed040c6
GB
32022015-04-02 Gary Benson <gbenson@redhat.com>
3203
3204 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3205
d11916aa
SS
32062015-04-01 Sasha Smundak <asmundak@google.com>
3207
3208 * gdb.python/py-unwind-maint.c: New file.
3209 * gdb.python/py-unwind-maint.exp: New test.
3210 * gdb.python/py-unwind-maint.py: New file.
3211 * gdb.python/py-unwind.c: New file.
3212 * gdb.python/py-unwind.exp: New test.
3213 * gdb.python/py-unwind.py: New test.
3214
a1471180
PA
32152015-04-01 Pedro Alves <palves@redhat.com>
3216
3217 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3218 to fail instead of non-existent $test.
3219
0bbeccb1
PA
32202015-04-01 Pedro Alves <palves@redhat.com>
3221
3222 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3223 GDBFLAGS if not empty.
3224
3c724c8c
PMR
32252015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3226
3227 * gdb.ada/complete.exp: Remove "multi_line".
3228 * gdb.ada/info_exc.exp: Remove "multi_line".
3229 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3230 * gdb.ada/ptype_field.exp: Remove "multi_line".
3231 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3232 * gdb.ada/tagged.exp: Remove "multi_line".
3233 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3234 [multi_line ...]
3235 * gdb.btrace/delta.exp: Likewise.
3236 * gdb.btrace/exception.exp: Likewise.
3237 * gdb.btrace/function_call_history.exp: Likewise.
3238 * gdb.btrace/instruction_history.exp: Likewise.
3239 * gdb.btrace/nohist.exp: Likewise.
3240 * gdb.btrace/record_goto.exp: Likewise.
3241 * gdb.btrace/segv.exp: Likewise.
3242 * gdb.btrace/stepi.exp: Likewise.
3243 * gdb.btrace/tailcall.exp: Likewise.
3244 * gdb.btrace/unknown_functions.exp: Likewise.
3245 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3246 * lib/gdb.exp: Add the "multi_line" helper.
3247
4eec2deb
PA
32482015-04-01 Pedro Alves <palves@redhat.com>
3249
3250 * gdb.threads/tid-reuse.c: New file.
3251 * gdb.threads/tid-reuse.exp: New file.
3252
df8411da
SDJ
32532015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3254
3255 PR corefiles/16092
3256 * gdb.base/coredump-filter.c: New file.
3257 * gdb.base/coredump-filter.exp: Likewise.
3258
6ef37366
PM
32592015-03-27 Petr Machata <pmachata@redhat.com>
3260
3261 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3262 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3263 (Dwarf::assemble): Initialize them.
3264 (Dwarf::lines): New function.
3265
7ec911b0
JT
32662015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3267
3268 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3269 SYMBOL_PREFIX for x86_64-*-cygwin.
3270
ff908ebf
AW
32712015-03-26 Andy Wingo <wingo@igalia.com>
3272
3273 PR symtab/18148
3274 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3275 const_value but not a location.
3276 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3277 location defined in non-main CUs are visible.
3278
6d5f0679
YQ
32792015-03-26 Yao Qi <yao.qi@linaro.org>
3280
3281 PR testsuite/18139
3282 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3283 Add a line number entry for the same line.
3284 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3285 Add a line number entry for the same line.
3286
2898689b
YQ
32872015-03-26 Yao Qi <yao.qi@linaro.org>
3288
3289 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3290 .int 0.
3291 (func): Likewise. Add .Lfunc_1 label.
3292 Use .Lfunc_1 label.
3293 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3294 .int 0.
3295 (func): Likewise.
3296 Use .Lfunc_1 label.
3297
85180498
YQ
32982015-03-26 Yao Qi <yao.qi@linaro.org>
3299
3300 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3301 Call gdb_compile instead to compile each .s files without debug
3302 information.
3303
8aa08a8d
YQ
33042015-03-26 Yao Qi <yao.qi@linaro.org>
3305
3306 * gdb.base/savedregs.exp (process_saved_regs): Make
3307 "Saved registers:" optional in the pattern.
3308
66849923
MM
33092015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3310
3311 * gdb.btrace/next.exp: Merged into step.exp.
3312 * gdb.btrace/finish.exp: Merged into step.exp.
3313 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3314 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3315 "record goto" and checking the exact replay position.
3316 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3317 check for "Recording format" in "info record" output.
3318 * gdb.btrace/record_goto.exp: Choose test file based on target.
3319 * gdb.btrace/x86-record_goto.S: Renamed into ...
3320 * gdb.btrace/x86_64-record_goto.S: ... this.
3321 * gdb.btrace/i686-record_goto.S: New.
3322 * gdb.btrace/x86-tailcall.S: Renamed into ...
3323 * gdb.btrace/x86_64-tailcall.S: ... this.
3324 * gdb.btrace/i686-tailcall.S: New.
3325 * gdb.btrace/x86-tailcall.c: Renamed into ...
3326 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3327 separate statements. Update test.
3328 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3329 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3330 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3331 * gdb.btrace/tailcall.exp: Choose test file based on target.
3332 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3333
11cc1b74
MM
33342015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3335
3336 * gdb.btrace/exception.exp: Increase BTS buffer size.
3337
a25d8bf9
PA
33382015-03-24 Pedro Alves <palves@redhat.com>
3339
3340 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3341
856e7dd6
PA
33422015-03-24 Pedro Alves <palves@redhat.com>
3343
3344 * gdb.threads/schedlock.exp (test_step): No longer expect that
3345 "set scheduler-locking step" with "next" over a function call runs
3346 threads unlocked.
3347
ad235a41
AT
33482015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3349
3350 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3351
15630549
AT
33522015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3353
3354 PR breakpoints/16466
3355 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3356 * gdb.mi/mi-pending.c (thread_func): New function.
3357 (int main): Add threading support required.
3358 * gdb.mi/mi-pending.exp: Add tests for this issue.
3359 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3360 (pendfunc2): Remove stdio dependency.
3361 * gdb.mi/mi-pendshr2.c: New file.
3362
693dca06
KS
33632015-03-23 Keith Seitz <keiths@redhat.com>
3364
3365 * gdb.linespec/keywords.c: New file.
3366 * gdb.linespec/keywords.exp: New file.
3367
7e993ebf
KS
33682015-03-23 Keith Seitz <keiths@redhat.com>
3369
3370 PR gdb/18021
3371 * gdb.dwarf2/staticvirtual.exp: New test.
3372
bc23328c
JK
33732015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3374
3375 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3376 * README: Remove HP-UX and gdb.hp.
3377 (configuration):
3378 * configure: Regenerate.
3379 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3380 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3381 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3382 gdb.hp/gdb.defects/Makefile.
3383 * gdb.hp/Makefile.in: File deleted.
3384 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3385 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3386 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3387 * gdb.hp/gdb.aCC/run.c: File deleted.
3388 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3389 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3390 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3391 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3392 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3393 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3394 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3395 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3396 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3397 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3398 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3399 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3400 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3401 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3402 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3403 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3404 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3405 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3406 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3407 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3408 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3409 * gdb.hp/gdb.compat/average.c: File deleted.
3410 * gdb.hp/gdb.compat/sum.c: File deleted.
3411 * gdb.hp/gdb.compat/xdb.c: File deleted.
3412 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3413 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3414 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3415 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3416 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3417 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3418 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3419 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3420 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3421 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3422 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3423 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3424 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3425 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3426 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3427 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3428 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3429 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3430 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3431 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3432 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3433 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3434 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3435 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3436 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3437 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3438 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3439 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3440 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3441 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3442 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3443 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3444 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3445 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3446 * gdb.hp/tools/odump: File deleted.
3447
8bf3b159
PA
34482015-03-19 Pedro Alves <palves@redhat.com>
3449
3450 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3451 (saw_thread_3): New globals.
3452 (top level): Increment them when an event for the corresponding
3453 thread is seen.
3454 (no thread starvation): New test.
3455
eb54c8bf
PA
34562015-03-19 Pedro Alves <palves@redhat.com>
3457
3458 * gdb.threads/continue-pending-status.c: New file.
3459 * gdb.threads/continue-pending-status.exp: New file.
3460
32d2e5d6
PA
34612015-03-18 Pedro Alves <palves@redhat.com>
3462
3463 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3464 Use gdb_is_target_remote instead of is_remote. Use
3465 gdb_test_multiple instead of gdb_expect. Exit early if
3466 gdb_test_multiple hits its internal matches. Tighten stepi tests
3467 expected output. Fail on exit with any signal, instead of just
3468 SIGILL.
3469
f68f11b7
YQ
34702015-03-18 Yao Qi <yao.qi@linaro.org>
3471
3472 PR tdep/18107
3473 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3474 variable.
3475 * gdb.base/catch-syscall.exp: Don't skip it on
3476 aarch64*-*-linux* target. Remove elements in all_syscalls.
3477 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3478 target.
3479 (setup_all_syscalls): New proc.
3480
ca5fd19b
YQ
34812015-03-16 Yao Qi <yao.qi@linaro.org>
3482
3483 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3484 (top level): Skip tests if valid_addr_p returns false for
3485 $cmd1 or $cmd2.
3486
85642ba0
AW
34872015-03-11 Andy Wingo <wingo@igalia.com>
3488
3489 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3490
e03f9645
YQ
34912015-03-11 Yao Qi <yao.qi@linaro.org>
3492
3493 * gdb.base/catch-syscall.exp: Fix typo in comments.
3494
5d0962b2
YQ
34952015-03-11 Yao Qi <yao.qi@linaro.org>
3496
3497 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3498
b2df3cef
PA
34992015-03-09 Pedro Alves <palves@redhat.com>
3500
3501 * dg-extract-results.py: Delete.
3502
ef878e53
PA
35032015-03-09 Pedro Alves <palves@redhat.com>
3504
3505 Merge dg-extract-results.sh from GCC upstream (r218843).
3506
3507 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3508 * dg-extract-results.sh: Use --text with grep to avoid issues with
3509 binary files. Fall back to cat -v, if that doesn't work.
3510
9494d219
PA
35112015-03-05 Pedro Alves <palves@redhat.com>
3512
3513 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3514
a8d9763a
SM
35152015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3516
3517 * lib/mi-support.exp (mi_expect_interrupt): Accept
3518 alternative event for when in all-stop mode.
3519
be9957b8
PA
35202015-03-04 Pedro Alves <palves@redhat.com>
3521
3522 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3523
d57be0f4 35242015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3525
3526 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3527
c214c7cf
AA
35282015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3529
3530 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3531 regexps for GDB's current line display, accept a hex address
3532 preceding the line number.
3533
6d74a497
AA
35342015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3535
3536 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3537 the 'arch1' variable for "s390*-linux*" targets.
3538
511aee7c
PA
35392015-03-04 Pedro Alves <palves@redhat.com>
3540
3541 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3542 (main): Pass missing retval argument to pthread_join call.
3543
95e50b27
PA
35442015-03-02 Pedro Alves <palves@redhat.com>
3545
3546 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3547 (top level): Call do_test with non-stop as well.
3548
28054d69
PA
35492015-03-02 Pedro Alves <palves@redhat.com>
3550
3551 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3552 -1.
3553
4fa5d7b4
AA
35542015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3555
3556 * gdb.arch/s390-vregs.exp: New test.
3557 * gdb.arch/s390-vregs.S: New file.
3558
97c18565
PA
35592015-02-27 Pedro Alves <palves@redhat.com>
3560
3561 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3562 call to catch_command_errors.
3563 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3564 catch_command_errors.
3565
a37bfa30
PA
35662015-02-27 Pedro Alves <palves@redhat.com>
3567
3568 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3569 "true" for boolean result.
3570 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3571 prototype of main.
3572
6f98576f
PA
35732015-02-27 Pedro Alves <palves@redhat.com>
3574
3575 * lib/unbuffer_output.c: New file.
3576 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3577 (main): Call gdb_unbuffer_output.
3578
eba5ab56
YQ
35792015-02-27 Yao Qi <yao.qi@linaro.org>
3580
3581 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3582 target.
3583
0def5aaa
DE
35842015-02-26 Doug Evans <dje@google.com>
3585
3586 * gdb.cp/class2.cc (Dbase, D): New classes.
3587 (main): New local delta.
3588 * gdb.cp/class2.exp: Test printing delta.
3589 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3590 (dynbar): New global.
3591 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3592
081a1c2c
JK
35932015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3594
3595 * gdb.compile/compile-ifunc.c: New file.
3596 * gdb.compile/compile-ifunc.exp: New file.
3597
2f41223f
AT
35982015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3599
3600 * gdb.base/structs.exp: Check for correct struct on finish.
3601
03eddd80
YQ
36022015-02-26 Yao Qi <yao.qi@linaro.org>
3603
3604 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3605 is zero.
3606
80c57053
JK
36072015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3608
3609 * gdb.arch/cordic.ko.bz2: New file.
3610 * gdb.arch/cordic.ko.debug.bz2: New file.
3611 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3612
21613c12
YQ
36132015-02-25 Yao Qi <yao.qi@linaro.org>
3614
3615 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3616 aarch64*-*-* target.
3617
d8b901ed
PA
36182015-02-23 Pedro Alves <palves@redhat.com>
3619
3620 * lib/gdb.exp (delete_breakpoints): Rewrite using
3621 gdb_test_multiple.
3622
e5b85ead
PA
36232015-02-23 Pedro Alves <palves@redhat.com>
3624
3625 * gdb.base/info-os.c: Include stdlib.h.
3626
85c3a371
DE
36272015-02-22 Doug Evans <xdje42@gmail.com>
3628
3629 PR symtab/17855
3630 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3631 is read after symbols have been re-read.
3632 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3633 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3634
96553a0c
DE
36352015-02-21 Doug Evans <dje@google.com>
3636
3637 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3638
97a0c697
JK
36392015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3640
3641 PR corefiles/17808
3642 * gdb.arch/i386-biarch-core.core.bz2: New file.
3643 * gdb.arch/i386-biarch-core.exp: New file.
3644
a47cd6e9
PA
36452015-02-21 Pedro Alves <palves@redhat.com>
3646
3647 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3648 runto_main fails.
3649
c5facdc4
PA
36502015-02-20 Pedro Alves <palves@redhat.com>
3651
3652 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3653 info probes.
3654
2db9a427
PA
36552015-02-20 Pedro Alves <palves@redhat.com>
3656
3657 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3658
60fb7e9e
PA
36592015-02-20 Pedro Alves <palves@redhat.com>
3660
3661 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3662 clean_restart before gdb_target_supports_trace.
3663
5c5019c2
PA
36642015-02-20 Pedro Alves <palves@redhat.com>
3665
3666 PR threads/18006
3667 * gdb.threads/clone-thread_db.c: New file.
3668 * gdb.threads/clone-thread_db.exp: New file.
3669
c9587f88
AT
36702015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3671
3672 PR breakpoints/16812
3673 * gdb.base/catch-gdb-caused-signals.c: New file.
3674 * gdb.base/catch-gdb-caused-signals.exp: New file.
3675
f6a88844
JM
36762015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3677
3678 * configure: Regenerated.
3679 * configure.ac: Use GDB_AC_TRANSFORM.
3680 * aclocal.m4: sinclude ../transform.m4.
3681
497c491b
JM
36822015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3683
3684 * lib/dtrace.exp: New file.
3685 * gdb.base/dtrace-probe.exp: Likewise.
3686 * gdb.base/dtrace-probe.d: Likewise.
3687 * gdb.base/dtrace-probe.c: Likewise.
3688 * lib/pdtrace.in: Likewise.
3689 * configure.ac: Output variables with the transformed names of
3690 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3691 * configure: Regenerated.
3692
03e98035
JM
36932015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3694
3695 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3696 expected message when trying to access $_probe_* convenience
3697 variables while not on a probe.
3698
63cc30e9
JK
36992015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3700
3701 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3702
0703599a
PA
37032015-02-11 Pedro Alves <pedro@codesourcery.com>
3704
3705 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3706 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3707
7e60a48e
DE
37082015-02-10 Doug Evans <xdje42@gmail.com>
3709
3710 * lib/gdb.exp (gdb_load): Always return a result.
3711
01b088bc
PA
37122015-02-10 Pedro Alves <palves@redhat.com>
3713
3714 * gdb.threads/signal-sigtrap.c: New file.
3715 * gdb.threads/signal-sigtrap.exp: New file.
3716
b05ec7a5
AT
37172015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3718
3719 * gdb.trace/no-attach-trace.c: New file.
3720 * gdb.trace/no-attach-trace.exp: New file.
3721
a2c2acaf
MW
37222015-02-09 Mark Wielaard <mjw@redhat.com>
3723
3724 * gdb.dwarf2/atomic.c: New file.
3725 * gdb.dwarf2/atomic-type.exp: Likewise.
3726
31fd9caa
MM
37272015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3728
3729 * gdb.btrace/buffer-size.exp: Update "info record" output.
3730 * gdb.btrace/delta.exp: Update "info record" output.
3731 * gdb.btrace/enable.exp: Update "info record" output.
3732 * gdb.btrace/finish.exp: Update "info record" output.
3733 * gdb.btrace/instruction_history.exp: Update "info record" output.
3734 * gdb.btrace/next.exp: Update "info record" output.
3735 * gdb.btrace/nexti.exp: Update "info record" output.
3736 * gdb.btrace/step.exp: Update "info record" output.
3737 * gdb.btrace/stepi.exp: Update "info record" output.
3738 * gdb.btrace/nohist.exp: Update "info record" output.
3739
d33501a5
MM
37402015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3741
3742 * gdb.btrace/buffer-size: New.
3743
f4abbc16
MM
37442015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3745
3746 * gdb.btrace/delta.exp: Update "info record" output.
3747 * gdb.btrace/enable.exp: Update "info record" output.
3748 * gdb.btrace/finish.exp: Update "info record" output.
3749 * gdb.btrace/instruction_history.exp: Update "info record" output.
3750 * gdb.btrace/next.exp: Update "info record" output.
3751 * gdb.btrace/nexti.exp: Update "info record" output.
3752 * gdb.btrace/step.exp: Update "info record" output.
3753 * gdb.btrace/stepi.exp: Update "info record" output.
3754 * gdb.btrace/nohist.exp: Update "info record" output.
3755
b9d61307
SM
37562015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3757
3758 PR gdb/15678
3759 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3760
e584fdbc
PA
37612015-02-06 Pedro Alves <palves@redhat.com>
3762
3763 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3764 macro.
3765 (seconds_left, again): New globals.
3766 (main): Wait seconds_left in a 1-second sleep loop instead of
3767 sleeping 180 seconds. If 'again' is set, reset the seconds
3768 counter.
3769 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3770 'again' in the inferior before detaching. Print the seconds left.
3771 (options): New global.
3772 (top level): Build program with -DTIMEOUT=$timeout.
3773
77f41761
PA
37742015-02-06 Pedro Alves <palves@redhat.com>
3775
3776 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3777 determine how many seconds to pass to 'alarm'.
3778 * gdb.base/gdb-sigterm.exp (top level): Build program with
3779 -DTIMEOUT=$timeout.
3780 (do_test): Return success/failure indication. Add more verbose
3781 logging. Don't fail if 200 single steps are seen. Instead, fail
3782 when the test times out.
3783 (passes): New global.
3784 (top level): Break the testing loop if testing fails on any
3785 iteration. Use gdb_assert.
3786
b9394193
DB
37872015-02-04 Don Breazeal <donb@codesourcery.com>
3788
3789 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3790 and initialize them.
3791 (ipc_cleanup): New function.
3792 (main): Don't declare shmid, semid, and msqid. Add a call to
3793 atexit so that we call ipc_cleanup on exit.
3794
42d9e528
PA
37952015-02-04 Pedro Alves <palves@redhat.com>
3796
3797 * boards/native-extended-gdbserver.exp: Remove any target variant
3798 specifications from the board name before clearing the isremote
3799 flag from board_info.
3800
ae6ae975
DE
38012015-01-31 Doug Evans <xdje42@gmail.com>
3802
3803 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3804
cfb069a8
GB
38052015-01-31 Gary Benson <gbenson@redhat.com>
3806
3807 * gdb.base/completion.exp: Disable completion limiting for
3808 existing tests. Add new tests to check completion limiting.
3809 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3810
5dd31d79
DE
38112015-01-31 Doug Evans <xdje42@gmail.com>
3812
3813 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3814
9f050062
DE
38152015-01-31 Doug Evans <xdje42@gmail.com>
3816
3817 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3818 entries. Duplicate file section script entries.
3819 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3820 inlined entries. Add test for safe-path rejection.
3821 * gdb.python/py-section-script.c: Add duplicate inlined section script
3822 entries. Duplicate file section script entries.
3823 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3824 inlined entries. Add test for safe-path rejection.
3825
df25ebbd
JB
38262015-01-29 Joel Brobecker <brobecker@adacore.com>
3827
3828 * gdb.ada/disc_arr_bound: New testcase.
3829
4a0ca9ec
JB
38302015-01-29 Joel Brobecker <brobecker@adacore.com>
3831
3832 * gdb.ada/mi_var_array: New testcase.
3833
3a8b707a
DE
38342015-01-27 Doug Evans <dje@google.com>
3835
3836 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3837 Add test for objfile.filename, objfile.username after objfile
3838 has been unloaded.
3839
f8313f6e
JB
38402015-01-26 Joel Brobecker <brobecker@adacore.com>
3841
3842 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3843 the second test to print the name attribute of value
3844 returned by the call to gdb.lookup_type, and adjust
3845 the expected output accordingly.
3846
37bc665e
MW
38472015-01-25 Mark Wielaard <mjw@redhat.com>
3848
3849 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3850 * gdb.base/disp-step-fork.c: Include unistd.h.
3851 * gdb.base/siginfo-obj.c: Include stdio.h.
3852 * gdb.base/siginfo-thread.c: Likewise.
3853 * gdb.mi/non-stop.c: Include unistd.h.
3854 * gdb.mi/nsthrexec.c: Include stdio.h.
3855 * gdb.mi/pthreads.c: Include unistd.h.
3856 * gdb.modula2/unbounded1.c (main): Declare returns int.
3857 * gdb.reverse/consecutive-reverse.c: Likewise.
3858 * gdb.threads/create-fail.c: Include unistd.h.
3859 * gdb.threads/killed.c: Likewise.
3860 * gdb.threads/linux-dp.c: Likewise.
3861 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3862 * gdb.threads/non-ldr-exc-2.c: Likewise.
3863 * gdb.threads/non-ldr-exc-3.c: Likewise.
3864 * gdb.threads/non-ldr-exc-4.c: Likewise.
3865 * gdb.threads/pthreads.c: Include unistd.h.
3866 (main): Declare returns int.
3867 * gdb.threads/tls-main.c (foo): New declaration.
3868 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3869
f7e5394d
SM
38702015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3871
3872 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3873 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3874
743649fd
MW
38752015-01-15 Mark Wielaard <mjw@redhat.com>
3876
3877 * gdb.base/noreturn-return.c: New file.
3878 * gdb.base/noreturn-return.exp: New file.
3879 * gdb.base/noreturn-finish.c: New file.
3880 * gdb.base/noreturn-finish.exp: New file.
3881
198297aa
PA
38822015-01-23 Pedro Alves <palves@redhat.com>
3883
3884 * gdb.threads/continue-pending-after-query.c: New file.
3885 * gdb.threads/continue-pending-after-query.exp: New file.
3886
717cf30c
AG
38872015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3888 Simon Marchi <simon.marchi@ericsson.com>
3889
3890 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3891 * gdb.base/valgrind-db-attach.exp: Same.
3892 * gdb.base/valgrind-infcall.exp: Same.
3893 * lib/mi-support.exp (default_mi_gdb_start): Same.
3894 * lib/prompt.exp (default_prompt_gdb_start): Same.
3895 * lib/gdb.exp (default_gdb_spawn): Same.
3896 (gdb_interact): New.
3897
3898
4b62a76e
JK
38992015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3900
3901 * gdb.compile/compile.exp (pointer to jit function): New test.
3902
b4cdae6f
WW
39032015-01-17 Wei-cheng Wang <cole945@gmail.com>
3904
3905 * lib/gdb.exp (supports_process_record): Return true for
3906 powerpc*-*-linux*.
3907 (supports_reverse): Likewise.
3908
d221e7ef
DB
39092015-01-15 Don Breazeal <donb@codesourcery.com>
3910
3911 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3912 instead of checking whether the target board is remote and
3913 use spawn_wait_for_attach instead of exec/sleep.
3914 * gdb.base/attach-twice.exp: Likewise.
3915
bafffb51
JB
39162015-01-15 Joel Brobecker <brobecker@adacore.com>
3917
3918 * gdb.ada/var_arr_attrs: New testcase.
3919
5589af0e
PA
39202015-01-14 Pedro Alves <palves@redhat.com>
3921 Joel Brobecker <brobecker@adacore.com>
3922
3923 PR gdb/17525
3924 * gdb.base/bp-cmds-execution-x-script.c: New file.
3925 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3926 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3927
6c400b59
PA
39282015-01-14 Pedro Alves <palves@redhat.com>
3929
3930 PR cli/17828
3931 * gdb.base/batch-preserve-term-settings.c: New file.
3932 * gdb.base/batch-preserve-term-settings.exp: New file.
3933
e02c96a7
DE
39342015-01-13 Doug Evans <dje@google.com>
3935
3936 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3937 binary.
3938
576fd14c
JB
39392015-01-13 Joel Brobecker <brobecker@adacore.com>
3940
3941 * Makefile.in (clean mostlyclean): Do not delete *.py.
3942
04dccad0
JB
39432015-01-13 Joel Brobecker <brobecker@adacore.com>
3944
3945 * gdb.python/py-lookup-type.exp: New file.
3946
3d230f71
PA
39472015-01-12 Pedro Alves <palves@redhat.com>
3948
3949 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3950 restore GDBFLAGS before returning.
3951
7e67715d
JK
39522015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3953
3954 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3955 is_amd64_regs_target and is_x86_like_target.
3956
f2e0d4b4
DE
39572015-01-11 Doug Evans <xdje42@gmail.com>
3958
3959 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3960 is given without an explicit form.
3961 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3962 attributes.
3963 * gdb.dwarf/corrupt.exp: Ditto.
3964 * gdb.dwarf2/enum-type.exp: Ditto.
3965 * gdb.trace/entry-values.exp: Ditto.
3966 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3967
439250fb
DE
39682015-01-11 Doug Evans <xdje42@gmail.com>
3969
3970 PR gdb/15830
3971 * gdb.base/maint.exp: Remove references to "maint demangle".
3972 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3973 Add tests for explicitly specifying language to demangle.
3974 * gdb.dlang/demangle.exp: Ditto.
3975
ede9f622
PA
39762015-01-09 Pedro Alves <palves@redhat.com>
3977
3978 * gdb.threads/non-stop-fair-events.c: New file.
3979 * gdb.threads/non-stop-fair-events.exp: New file.
3980
a7b796db
PA
39812015-01-09 Pedro Alves <palves@redhat.com>
3982
3983 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3984 the global scope. Set a breakpoint after all threads are started
3985 rather than stepping over two source lines. Expect the prompt.
3986 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3987 global.
3988 (NUM): Now 15.
3989 (main): Use threads_started_barrier to wait for all threads to
3990 start. Main thread no longer calls thread_function. Exit after
3991 180 seconds.
3992 (loop): New function.
3993 (thread_function): Wait on threads_started_barrier barrier. Call
3994 'loop' at each iteration.
3995 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3996 threads have started, instead of hardcoding number of "next"
3997 steps. Use an access watchpoint instead of a write watchpoint.
3998
9665ffdd
PA
39992015-01-09 Pedro Alves <palves@redhat.com>
4000
4001 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4002 (thread_func): Wait on barrier.
4003 (main): Wait for all threads to start before stopping GDB.
4004 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4005 global.
4006 (thread1_func, thread2_func): Wait on barrier.
4007 (main): Wait for all threads to start before stopping GDB.
4008 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4009 New global.
4010 (thread1_func, thread2_func): Wait on barrier.
4011 (main): Wait for all threads to start before stopping GDB.
4012
c945a99f
PA
40132015-01-09 Pedro Alves <palves@redhat.com>
4014
4015 * gdb.threads/attach-many-short-lived-threads.c: New file.
4016 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4017
c1a747c1
PA
40182014-01-09 Pedro Alves <palves@redhat.com>
4019
4020 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4021 instead of to thread 2.
4022 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4023 Add barrier around each pthread_create call instead of around all
4024 calls.
4025 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4026 Set a break on thread_function and have the child threads hit it
4027 one at at a time.
4028
60b3033e
PA
40292015-01-09 Pedro Alves <palves@redhat.com>
4030
4031 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4032 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4033 false.
4034 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4035 checking whether the target board is remote.
4036 * gdb.multi/multi-attach.exp: Likewise.
4037 * gdb.python/py-sync-interp.exp: Likewise.
4038 * gdb.server/ext-attach.exp: Likewise.
4039 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4040 tests that need to attach, instead of checking whether the target
4041 board is remote at the top of the file.
4042
acc018ac
YQ
40432015-01-08 Yao Qi <yao@codesourcery.com>
4044
4045 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4046
50a18af8
JK
40472015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4048
4049 Fix testcase compilation.
4050 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4051
8503d6e1
JB
40522015-01-06 Joel Brobecker <brobecker@adacore.com>
4053
4054 * gdb.python/py-type.exp: Add a couple test about empty
4055 array creation, and negative-length array creation.
4056
cc73dbcc
DE
40572015-01-02 Doug Evans <xdje42@gmail.com>
4058
4059 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4060
0300bbc7
DE
40612015-01-02 Doug Evans <dje@google.com>
4062
4063 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4064
9d85a0ec
YQ
40652014-12-29 Yao Qi <yao@codesourcery.com>
4066
4067 * gdb.trace/entry-values.exp: Update comments. Rename variable
4068 bar_call_foo to returned_from_foo.
4069
87186c6a
MMN
40702014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4071
4072 PR gdb/17394
4073 * gdb.linespec/break-asm-file.c: New file.
4074 * gdb.linespec/break-asm-file.exp: New file.
4075 * gdb.linespec/break-asm-file0.s: New file.
4076 * gdb.linespec/break-asm-file1.s: New file.
4077
1bab7383
YQ
40782014-12-18 Nigel Stephens <nigel@mips.com>
4079 Maciej W. Rozycki <macro@codesourcery.com>
4080
4081 * gdb.base/float.exp: Handle the new output from "info float" on
4082 MIPS targets.
4083
1bc1068a
JK
40842014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4085
4086 Fix MinGW compilation.
4087 * gdb.compile/compile-ops.exp: Update untested message if
4088 !skip_compile_feature_tests.
4089 * gdb.compile/compile-setjmp.exp: Likewise.
4090 * gdb.compile/compile-tls.exp: Likewise.
4091 * gdb.compile/compile.exp: Likewise.
4092 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4093 supported on this host".
4094
b6615d10
DE
40952014-12-16 Doug Evans <xdje42@gmail.com>
4096
4097 * boards/stabs.exp: New file.
4098
25dda427
AA
40992014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4100
4101 * gdb.base/completion.exp: Adjust to format changes of "maint
4102 print user-registers".
4103
bf330350
CU
41042014-12-16 Catalin Udma <catalin.udma@freescale.com>
4105
4106 PR server/17457
4107 * gdb.arch/aarch64-fp.c: New file.
4108 * gdb.arch/aarch64-fp.exp: New file.
4109
395cf596
SDJ
41102014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4111
4112 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4113 r210637, r210913, r211666, r215400, r215817).
4114
4115 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4116 * dg-extract-results.py: New file.
4117 * dg-extract-results.sh: Use it if the environment seems
4118 suitable.
4119
4120 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4121
4122 * dg-extract-results.py (parse_run): Handle warnings that
4123 are printed before a test harness is run.
4124
4125 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4126
4127 * dg-extract-results.py (Named): Remove __cmp__ method.
4128 (output_variation): Use a key to sort variation.harnesses.
4129
4130 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4131
4132 * dg-extract-results.py: For Python 3, force sys.stdout to
4133 handle surrogate escape sequences.
4134 (safe_open): New function.
4135 (output_segment, main): Use it.
4136
4137 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4138
4139 * dg-extract-results.py (Prog.result_re): Include options
4140 in test name.
4141
4142 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4143
4144 * dg-extract-results.py (output_variation): Always sort if
4145 do_sum.
4146
e882ef3c
SM
41472014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4148
4149 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4150 as long as we get pagination notifications.
4151
4992aa20
JM
41522014-12-15 Jason Merrill <jason@redhat.com>
4153
4154 * Makefile.in (check-gdb.%): Restore.
4155 * README: Mention it.
4156
c1b5a1a6
JB
41572014-12-13 Joel Brobecker <brobecker@adacore.com>
4158
4159 * gdb.ada/str_uninit: New testcase.
4160
5537b577
JK
41612014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4162
4163 PR symtab/17642
4164 * gdb.base/vla-stub-define.c: New file.
4165 * gdb.base/vla-stub.c: New file.
4166 * gdb.base/vla-stub.exp: New file.
4167
bb2ec1b3
TT
41682014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4169 Jan Kratochvil <jan.kratochvil@redhat.com>
4170 Tom Tromey <tromey@redhat.com>
4171
4172 * configure.ac: Add gdb.compile/.
4173 * configure: Regenerate.
4174 * gdb.compile/Makefile.in: New file.
4175 * gdb.compile/compile-ops.exp: New file.
4176 * gdb.compile/compile-ops.c: New file.
4177 * gdb.compile/compile-tls.c: New file.
4178 * gdb.compile/compile-tls.exp: New file.
4179 * gdb.compile/compile-constvar.S: New file.
4180 * gdb.compile/compile-constvar.c: New file.
4181 * gdb.compile/compile-mod.c: New file.
4182 * gdb.compile/compile-nodebug.c: New file.
4183 * gdb.compile/compile-setjmp-mod.c: New file.
4184 * gdb.compile/compile-setjmp.c: New file.
4185 * gdb.compile/compile-setjmp.exp: New file.
4186 * gdb.compile/compile-shlib.c: New file.
4187 * gdb.compile/compile.c: New file.
4188 * gdb.compile/compile.exp: New file.
4189 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4190
4ff709eb
TT
41912014-12-12 Tom Tromey <tromey@redhat.com>
4192
4193 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4194 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4195
6dddd6a5
DE
41962014-12-12 Doug Evans <dje@google.com>
4197
4198 * lib/gdb-python.exp (get_python_valueof): New function.
4199 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4200
71c24708
AA
42012014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4202
4203 * gdb.base/completion.exp: Add test for completion of "info
4204 registers ".
4205
3e29f34a
MR
42062014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4207
4208 * gdb.base/func-ptrs.c: New file.
4209 * gdb.base/func-ptrs.exp: New file.
4210
fc126975
SM
42112014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4212
4213 PR breakpoints/17012
4214 * gdb.base/dprintf-detach.c: New file.
4215 * gdb.base/dprintf-detach.exp: New file.
4216
0a46d518
SM
42172014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4218
4219 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4220 * lib/gdb.exp (target_is_gdbserver): New procedure.
4221
a0be3e44
DE
42222014-12-08 Doug Evans <dje@google.com>
4223
4224 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4225
df1b803a
YQ
42262014-12-05 Yao Qi <yao@codesourcery.com>
4227
4228 * gdb.guile/scm-error.exp: Remove the third argument to
4229 gdb_remote_download.
4230 * gdb.guile/scm-frame-args.exp: Likewise.
4231 * gdb.guile/scm-section-script.exp: Likewise.
4232
ddb9f679
YQ
42332014-12-05 Yao Qi <yao@codesourcery.com>
4234
4235 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4236
86e4ed39
DE
42372014-12-04 Doug Evans <dje@google.com>
4238
4239 * gdb.python/py-objfile.exp: Add tests for
4240 objfile.add_separate_debug_file.
4241
7c50a931
DE
42422014-12-04 Doug Evans <dje@google.com>
4243
4244 * lib/gdb.exp (get_build_id): New function.
4245 (build_id_debug_filename_get): Rewrite to use it.
4246 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4247
621661e3
MR
42482014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4249
4250 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4251 `method(long)', not just 0x0.
4252 * gdb.cp/nsalias.exp: Align code labels to 4.
4253 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4254 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4255 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4256 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4257 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4258 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4259
29f0c3b7
DE
42602014-12-02 Doug Evans <dje@google.com>
4261
e1e061e7 4262 PR symtab/17602
29f0c3b7 4263 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4264 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4265 * gdb.cp/anon-ns.exp: Update.
4266
162078c8
NB
42672014-12-02 Nick Bull <nicholaspbull@gmail.com>
4268
4269 * gdb.python/py-events.py (inferior_call_handler): New.
4270 (register_changed_handler, memory_changed_handler): New.
4271 (test_events.invoke): Register new handlers.
4272 * gdb.python/py-events.exp: Add tests for inferior call,
4273 memory_changed and register_changed events.
4274
fdb09caf
AA
42752014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4276
4277 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4278 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4279 if the linker doesn't understand this.
4280
55cfb2c4
SM
42812014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4282
4283 * gdb.python/python.exp: Change expected reply to help().
4284
9e8cd6df
YQ
42852014-12-01 Yao Qi <yao@codesourcery.com>
4286
4287 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4288 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4289 * configure: Re-generated.
4290
6c659fc2
SC
42912014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4292
4293 * gdb.cp/chained-calls.cc: New file.
4294 * gdb.cp/chained-calls.exp: New file.
4295 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4296
d7fc3181
SM
42972014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4298
4299 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4300 * gdb.dwarf2/symtab-producer.exp: Same.
4301 * gdb.gdb/python-interrupts.exp: Same.
4302 * gdb.gdb/python-selftest.exp: Same.
4303 * gdb.python/py-linetable.exp: Same.
4304 * gdb.python/py-type.exp: Same.
4305 * gdb.python/py-value-cc.exp: Same.
4306 * gdb.python/py-value.exp: Same.
4307
10e79639
YQ
43082014-11-28 Yao Qi <yao@codesourcery.com>
4309
4310 * gdb.base/break-probes.exp: Match library name prefixed with
4311 sysroot.
4312
f28a0564
SM
43132014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4314
4315 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4316 test expected output. Add parentheses for the call to print.
4317 Remove L suffix from integers.
4318
3fe1ce1d
DE
43192014-11-26 Doug Evans <dje@google.com>
4320
4321 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4322
84429e27
YQ
43232014-11-22 Yao Qi <yao@codesourcery.com>
4324
4325 * gdb.trace/entry-values.c: Remove asms.
4326 (foo): Add foo_label.
4327 (bar): Add bar_label.
4328 * gdb.trace/entry-values.exp: Remove code computing foo's
4329 length and bar's length.
4330 (Dwarf::assemble): Invoke function_range for bar and use
4331 MACRO_AT_func for foo.
4332
26741859
YQ
43332014-11-22 Yao Qi <yao@codesourcery.com>
4334
4335 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4336 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4337 Use .Lgcc43_procstart instead of gcc43.
4338
45e44d27
JB
43392014-11-21 Joel Brobecker <brobecker@adacore.com>
4340
4341 * gdb.ada/n_arr_bound: New testcase.
4342
458c8db8
SDJ
43432014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4344
4345 PR breakpoints/10737
4346 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4347 test_catch_syscall_multi_arch.
4348 (test_catch_syscall_multi_arch): New function.
4349
43f3e411
DE
43502014-11-20 Doug Evans <xdje42@gmail.com>
4351
4352 * gdb.base/maint.exp: Update expected output.
4353
0d7b2549
AA
43542014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4355
4356 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4357 4-byte instruction on S390.
4358
8908fca5
JB
43592014-11-19 Joel Brobecker <brobecker@adacore.com>
4360
4361 * gdb.ada/arr_arr: New testcase.
4362
4a46959e
JB
43632014-11-19 Joel Brobecker <brobecker@adacore.com>
4364
4365 * gdb.ada/pkd_arr_elem: New Testcase.
4366
470e2f4e
LM
43672014-11-18 Luis Machado <lgustavo@codesourcery.com>
4368
4369 * gdb.reverse/break-precsave: Expect completion message for
4370 core file reads.
4371 * gdb.reverse/consecutive-precsave.exp: Likewise.
4372 * gdb.reverse/finish-precsave.exp: Likewise.
4373 * gdb.reverse/i386-precsave.exp: Likewise.
4374 * gdb.reverse/machinestate-precsave.exp: Likewise.
4375 * gdb.reverse/sigall-precsave.exp: Likewise.
4376 * gdb.reverse/solib-precsave.exp: Likewise.
4377 * gdb.reverse/step-precsave.exp: Likewise.
4378 * gdb.reverse/until-precsave.exp: Likewise.
4379 * gdb.reverse/watch-precsave.exp: Likewise.
4380
a267f3ad
AA
43812014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4382
4383 * gdb.base/bp-permanent.c: Include unistd.h.
4384 * gdb.python/py-framefilter-mi.c (main): Add return type.
4385 * gdb.python/py-framefilter.c (main): Likewise.
4386 * gdb.trace/actions-changed.c (main): Likewise.
4387
12084a9a
AA
43882014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4389
4390 * gdb.mi/until.c: Add eye-catchers.
4391 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4392 line numbers.
4393
dc7e1a77
AA
43942014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4395
4396 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4397 function header variants in break1.c.
4398 * gdb.base/ena-dis-br.exp: Likewise.
4399 * gdb.base/hbreak2.exp: Likewise.
4400 * gdb.reverse/until-precsave.exp: Drop references to removed
4401 non-prototype function header variants in ur1.c.
4402 * gdb.reverse/until-reverse.exp: Likewise.
4403
41c77605
PM
44042014-11-17 Petr Machata <pmachata@redhat.com>
4405
4406 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4407 ${_cu_offset_size} bytes abbrev offset.
4408
34248c3a
DE
44092014-11-15 Doug Evans <xdje42@gmail.com>
4410
4411 PR symtab/17559
4412 * gdb.base/line-symtabs.exp: New file.
4413 * gdb.base/line-symtabs.c: New file.
4414 * gdb.base/line-symtabs.h: New file.
4415
646da059
YQ
44162014-11-14 Yao Qi <yao@codesourcery.com>
4417
4418 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4419 (func): Add label func_label.
4420 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4421 Replace low_pc and high_pc with MACRO_AT_range.
4422 Replace name, low_pc and high_pc with MACRO_AT_func.
4423
9301ebe6
YQ
44242014-11-14 Yao Qi <yao@codesourcery.com>
4425
4426 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4427 Replace name, low_pc and high_pc with MACRO_AT_func.
4428
f166b542
YQ
44292014-11-14 Yao Qi <yao@codesourcery.com>
4430
4431 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4432 produce debug information.
4433 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4434
0f6e71e3
YQ
44352014-11-14 Yao Qi <yao@codesourcery.com>
4436
4437 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4438 object and get function length.
4439 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4440 with MACRO_AT_func.
4441 (top-level): Replace gdb_compile and clean_restart with
4442 prepare_for_testing.
4443 * gdb.dwarf2/main.c (main): Add label main_label.
4444
876c4df9
YQ
44452014-11-14 Yao Qi <yao@codesourcery.com>
4446
4447 * lib/dwarf.exp (function_range): New procedure.
4448 (Dwarf::_handle_macro_at_func): New procedure.
4449 (Dwarf::_handle_macro_at_range): New procedure.
4450 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4451
02ad9cf1
YQ
44522014-11-14 Yao Qi <yao@codesourcery.com>
4453
4454 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4455 (_handle_attribute): New procedure.
4456
a59add0c
AA
44572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4458
4459 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4460 * gdb.base/call-sc.c (zed): Likewise.
4461 * gdb.base/checkpoint.c (main): Likewise.
4462 * gdb.base/dump.c (main): Likewise.
4463 * gdb.base/gcore.c (main): Likewise.
4464 * gdb.base/huge.c (main): Likewise.
4465 * gdb.base/multi-forks.c (main): Likewise.
4466 * gdb.base/pr10179-a.c (main): Likewise.
4467 * gdb.base/savedregs.c (main): Likewise.
4468 * gdb.base/sigaltstack.c (main): Likewise.
4469 * gdb.base/siginfo.c (main): Likewise.
4470 * gdb.base/structs.c (zed): Likewise.
4471 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4472 * gdb.mi/mi-syn-frame.c (main): Likewise.
4473 * gdb.mi/until.c (foo, main): Likewise.
4474 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4475 * gdb.base/solib-weak.c (foo): Declare.
4476 * gdb.base/attach-twice.c: Include stdio.h.
4477 * gdb.base/weaklib1.c: Likewise.
4478 * gdb.base/weaklib2.c: Likewise.
4479 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4480 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4481 unistd.h.
4482 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4483 * gdb.mi/mi-exit-code.c: Likewise.
4484 * gdb.base/break-interp-lib.c: Include string.h.
4485 * gdb.base/coremaker.c: Likewise.
4486 * gdb.base/testenv.c: Likewise.
4487 * gdb.python/py-finish-breakpoint.c: Likewise.
4488 * gdb.base/inferior-died.c: Include sys/wait.h.
4489 * gdb.base/fileio.c: Include time.h.
4490 * gdb.base/async-shell.c: Include unistd.h.
4491 * gdb.base/dprintf-non-stop.c: Likewise.
4492 * gdb.base/info-os.c: Likewise.
4493 * gdb.mi/mi-console.c: Likewise.
4494 * gdb.mi/watch-nonstop.c: Likewise.
4495 * gdb.python/py-events.c: Likewise.
4496 * gdb.base/async.c (baz): Move up before its invocation.
4497 * gdb.base/code_elim2.c (my_global_func): Likewise.
4498 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4499 * gdb.base/advance.c (func2): Likewise.
4500
3b5d5997
AA
45012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4502
4503 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4504 variant.
4505 * gdb.base/annota3.c: Likewise.
4506 * gdb.base/async.c: Likewise.
4507 * gdb.base/average.c: Likewise.
4508 * gdb.base/call-ar-st.c: Likewise.
4509 * gdb.base/call-rt-st.c: Likewise.
4510 * gdb.base/call-sc.c: Likewise.
4511 * gdb.base/call-strs.c: Likewise.
4512 * gdb.base/ending-run.c: Likewise.
4513 * gdb.base/execd-prog.c: Likewise.
4514 * gdb.base/exprs.c: Likewise.
4515 * gdb.base/foll-exec.c: Likewise.
4516 * gdb.base/foll-fork.c: Likewise.
4517 * gdb.base/foll-vfork.c: Likewise.
4518 * gdb.base/funcargs.c: Likewise.
4519 * gdb.base/gcore.c: Likewise.
4520 * gdb.base/jump.c: Likewise.
4521 * gdb.base/langs0.c: Likewise.
4522 * gdb.base/langs1.c: Likewise.
4523 * gdb.base/langs2.c: Likewise.
4524 * gdb.base/mips_pro.c: Likewise.
4525 * gdb.base/nodebug.c: Likewise.
4526 * gdb.base/opaque0.c: Likewise.
4527 * gdb.base/opaque1.c: Likewise.
4528 * gdb.base/recurse.c: Likewise.
4529 * gdb.base/run.c: Likewise.
4530 * gdb.base/scope0.c: Likewise.
4531 * gdb.base/scope1.c: Likewise.
4532 * gdb.base/setshow.c: Likewise.
4533 * gdb.base/setvar.c: Likewise.
4534 * gdb.base/shmain.c: Likewise.
4535 * gdb.base/shr1.c: Likewise.
4536 * gdb.base/shr2.c: Likewise.
4537 * gdb.base/sigall.c: Likewise.
4538 * gdb.base/signals.c: Likewise.
4539 * gdb.base/so-indr-cl.c: Likewise.
4540 * gdb.base/solib2.c: Likewise.
4541 * gdb.base/structs.c: Likewise.
4542 * gdb.base/sum.c: Likewise.
4543 * gdb.base/vforked-prog.c: Likewise.
4544 * gdb.base/watchpoint.c: Likewise.
4545 * gdb.reverse/shr2.c: Likewise.
4546 * gdb.reverse/until-reverse.c: Likewise.
4547 * gdb.reverse/ur1.c: Likewise.
4548 * gdb.reverse/watch-reverse.c: Likewise.
4549
066a77c5
AA
45502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4551
4552 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4553 variant.
4554 * gdb.base/sepdebug.exp: Drop references to removed code.
4555
4f204ea5
AA
45562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4557
4558 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4559 variant. Preserve original line numbering.
4560 * gdb.base/list1.c: Likewise.
4561
3b377a3a
AA
45622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4563
4564 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4565 variant.
4566 * gdb.base/break1.c: Likewise.
4567 * gdb.base/break.exp: Drop references to removed code.
4568
e444df73
AA
45692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4570
4571 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4572 variant.
4573
8008f2a7
AA
45742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4575
4576 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4577
a5a06887
AA
45782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4579
4580 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4581 logic into perform_all_tests() and invoke it with and without
4582 function header prototypes.
4583 (do_function_calls): Remove conditional XFAIL for PR 5318.
4584 (rerun_and_prepare): Remove duplicate code.
4585 (perform_all_tests): New. Main logic moved here.
4586
44dba9b9
AA
45872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4588
4589 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4590 code guarded by #ifdef NO_PROTOTYPES.
4591 (t_double_many_args): Likewise.
4592 (DEF_FUNC_MANY_ARGS_1): Likewise.
4593 (DEF_FUNC_VALUES_1): Likewise.
4594 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4595 guarded by #ifdef PROTOTYPES.
4596
d1fbcd56
AA
45972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4598
4599 * gdb.mi/mi-console.c: Add eye-catcher.
4600 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4601 instead of literal line number.
4602
b0e59b8f
AA
46032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4604
4605 * gdb.base/shr2.c: Add eye-catcher.
4606 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4607 line number.
4608
78f98cca
AA
46092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4610
4611 * gdb.base/jump.c: Add eye-catchers.
4612 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4613 numbers.
4614
58fa2af0
AA
46152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4616
4617 * gdb.base/execd-prog.c: Add eye-catchers.
4618 * gdb.base/foll-exec.c: Likewise.
4619 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4620 line numbers.
4621
04e5059b
AA
46222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4623
4624 * gdb.base/ending-run.c: Add eye-catchers.
4625 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4626 literal line numbers.
4627
dbfdb174
AA
46282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4629
4630 * gdb.base/call-rt-st.c: Add eye-catchers.
4631 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4632 literal line numbers.
4633
888a2ade
AA
46342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4635
4636 * gdb.base/call-ar-st.c: Add eye-catchers.
4637 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4638 literal line numbers.
4639
6acc2dde
AA
46402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4641
4642 * gdb.base/average.c: Add eye-catchers.
4643 * gdb.base/sum.c: Likewise.
4644 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4645 regexps dynamically.
4646
9ecfcd1d
AA
46472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4648
4649 * gdb.base/solib1.c: Add eye-catchers.
4650 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4651 literal line numbers.
4652
78708b7c
PA
46532014-11-12 Pedro Alves <palves@redhat.com>
4654
4655 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4656 leader has exited.
4657
af48d08f
PA
46582014-11-12 Pedro Alves <palves@redhat.com>
4659
4660 * gdb.arch/i386-bp_permanent.c: New file.
4661 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4662 (srcfile): Set to i386-bp_permanent.c.
4663 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4664 that stepi does not execute the 'leave' instruction, instead of
4665 testing it does execute.
4666 * gdb.base/bp-permanent.c: New file.
4667 * gdb.base/bp-permanent.exp: New file.
4668
af3768e9
DE
46692014-11-10 Doug Evans <xdje42@gmail.com>
4670
4671 PR symtab/17564
4672 * gdb.base/symtab-search-order.exp: New file.
4673 * gdb.base/symtab-search-order.c: New file.
4674 * gdb.base/symtab-search-order-1.c: New file.
4675 * gdb.base/symtab-search-order-shlib-1.c: New file.
4676
9de00a4a
PA
46772014-11-07 Pedro Alves <palves@redhat.com>
4678
4679 PR gdb/17511
4680 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4681 i?86-*-linux*.
4682
e0f52461
SC
46832014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4684
4685 PR c++/17494
4686 * gdb.cp/pr17494.cc: New file.
4687 * gdb.cp/pr17494.exp: New file.
4688
6ce8c980
YQ
46892014-11-02 Yao Qi <yao@codesourcery.com>
4690
4691 * gdb.python/python.exp: Get working directory and match the
4692 output of "set extended-prompt \\w " with it.
4693
02be9a71
DE
46942014-10-30 Doug Evans <dje@google.com>
4695
4696 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4697 in objfiles.
4698 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4699 in progspaces.
4700
3bdff46b
LM
47012014-10-30 Janis Johnson <janisjo@codesourcery.com>
4702
4703 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4704 * gdb.base/realname-expand.exp: Likewise.
4705 * gdb.linespec/macro-relative.exp: Likewise.
4706
ab917dfb
PA
47072014-10-29 Pedro Alves <palves@redhat.com>
4708
4709 PR gdb/17408
4710 * gdb.threads/schedlock.c (some_function): New function.
4711 (call_function): New global.
4712 (MAYBE_CALL_SOME_FUNCTION): New macro.
4713 (thread_function): Call it.
4714 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4715 and use it instead of a global counter. Adjust all callers.
4716 (get_current_thread): Use "find current thread" for test message
4717 here rather than having all callers pass down the same string.
4718 (goto_loop): New procedure, factored out from ...
4719 (my_continue): ... this.
4720 (step_ten_loops): Change parameter from test message to command to
4721 use. Adjust.
4722 (list_count): Delete global.
4723 (check_result): New procedure, factored out from duplicate top
4724 level code.
4725 (continue tests): Wrap in with_test_prefix.
4726 (test_step): New procedure, factored out from duplicate top level
4727 code.
4728 (top level): Test "step" in combination with all scheduler-locking
4729 modes. Test "next" in combination with all scheduler-locking
4730 modes, and in combination with stepping over a function call or
4731 not.
4732 * gdb.threads/next-bp-other-thread.c: New file.
4733 * gdb.threads/next-bp-other-thread.exp: New file.
4734
d3d4baed
PA
47352014-10-29 Pedro Alves <palves@redhat.com>
4736
4737 PR python/17372
4738 * gdb.python/python.exp: Test a multi-line command that spawns
4739 interactive Python.
4740 * gdb.base/multi-line-starts-subshell.exp: New file.
4741
563e8d85
YQ
47422014-10-29 Yao Qi <yao@codesourcery.com>
4743
4744 * gdb.base/fileio.exp: Make directories on host.
4745
0ea4d52e
YQ
47462014-10-29 Yao Qi <yao@codesourcery.com>
4747
4748 * gdb.base/fileio.c (test_write): Close the file.
4749
7f5ef605
PA
47502014-10-28 Pedro Alves <palves@redhat.com>
4751
4752 PR gdb/12623
4753 * gdb.base/sigstep.c (no_handler): New global.
4754 (main): If 'no_handler is true, set the signal handlers to
4755 SIG_IGN.
4756 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4757 with_sw_watch and no_handler parameters. Handle them.
4758 (top level) <stepping over handler when stopped at a breakpoint
4759 test>: Add a test axis for testing with a software watchpoint, and
4760 another for testing with the signal handler set to SIG_IGN.
4761 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4762 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4763
abbdbd03
PA
47642014-10-28 Pedro Alves <palves@redhat.com>
4765
4766 PR gdb/17511
4767 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4768 * gdb.base/sigstep.exp (other_handler_location): New global.
4769 (advance): Support stepping into the signal handler, and running
4770 commands while in the handler.
4771 (in_handler_map): New global.
4772 (top level): In the advance test, add combinations for getting
4773 into the handler with stepping commands, and for running commands
4774 in the handler. Add comment descripting the advancei tests.
4775
1df4399f
PA
47762014-10-28 Pedro Alves <palves@redhat.com>
4777
4778 * gdb.base/sigstep.exp: Use build_executable instead of
4779 prepare_for_testing.
4780 (top level): Move code that starts GDB, runs to main and creates a
4781 display to ...
4782 (restart): ... this new procedure.
4783 (top level): Move backtrace from signal handler test to ...
4784 (validate_backtrace): ... this new procedure.
4785 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4786 with_test_prefix. Always restart GDB.
4787 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4788 with_test_prefix. Always restart GDB. No need to delete
4789 breakpoints after the test.
4790 (test_skip_handler): Remove prefix parameter.
4791 (skip_over_handler, breakpoint_to_handler)
4792 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4793 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4794 restart GDB. No need to delete breakpoints after the test.
4795 (top level): Use foreach to call the test procedures with
4796 different commands.
4797
a5b6e449
PA
47982014-10-28 Pedro Alves <palves@redhat.com>
4799
4800 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4801 instead of GNATS numbers.
4802 * gdb.base/sigbpt.exp: Likewise.
4803 * gdb.base/siginfo.exp: Likewise.
4804 * gdb.base/sigstep.exp: Likewise.
4805
e5f8a7cc
PA
48062014-10-27 Pedro Alves <palves@redhat.com>
4807
4808 * gdb.base/sigstep.c (dummy): New global.
4809 (main): Issue a couple writes to the new global.
4810 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4811 procedures.
4812 (skip_over_handler): Use test_skip_handler.
4813 (top level): Call skip_over_handler for stepi and nexti too.
4814 (breakpoint_over_handler): Use test_skip_handler.
4815 (top level): Call breakpoint_over_handler for stepi and nexti too.
4816
763905a3
YQ
48172014-10-27 Yao Qi <yao@codesourcery.com>
4818
4819 * gdb.trace/tfile.c (adjust_function_address)
4820 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4821 function descriptor.
4822
6f259a23
DB
48232014-10-24 Don Breazeal <donb@codesourcery.com>
4824
4825 * gdb.base/foll-fork.exp (test_follow_fork,
4826 catch_fork_child_follow): Check for updated fork messages emitted
4827 from infrun.c.
4828 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4829 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4830 vfork_and_exec_child_follow_through_step): Check for updated vfork
4831 messages emitted from infrun.c.
4832
09dd9a69
PA
48332014-10-24 Pedro Alves <palves@redhat.com>
4834
4835 * gdb.base/corefile.exp: Remove references to ultrix.
4836 * gdb.base/interrupt.exp: Likewise.
4837 * gdb.base/whatis.exp: Likewise.
4838 * gdb.gdb/selftest.exp: Likewise.
4839 * gdb.threads/manythreads.exp: Likewise.
4840 * gdb.threads/print-threads.exp: Likewise.
4841 * gdb.threads/pthreads.exp:: Likewise.
4842 * gdb.threads/schedlock.exp: Likewise.
4843
3433cfa5
SC
48442014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4845
4846 * gdb.cp/non-trivial-retval.cc: Add a test case.
4847 * gdb.cp/non-trivial-retval.exp: Add a test.
4848
092f880b
YQ
48492014-10-20 Yao Qi <yao@codesourcery.com>
4850
4851 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4852 * gdb.python/py-objfile-script-gdb.py: New file.
4853 * gdb.python/py-objfile-script.exp: Update reference to
4854 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4855 of remote_download. Remove the dest file.
4856
acbdb7f3
YQ
48572014-10-20 Yao Qi <yao@codesourcery.com>
4858
4859 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4860 * gdb.base/step-line.exp: Likewise.
4861 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4862 * gdb.dwarf2/dw2-basic.exp: Likewise.
4863 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4864 * gdb.dwarf2/dw2-filename.exp: Likewise.
4865 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4866 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4867 * gdb.dwarf2/dw2-producer.exp: Likewise.
4868 * gdb.dwarf2/mac-fileno.exp: Likewise.
4869 * gdb.python/py-frame-args.exp: Likewise.
4870 * gdb.python/py-framefilter.exp: Likewise.
4871 * gdb.python/py-mi.exp: Likewise.
4872 * gdb.python/py-objfile-script.exp: Likewise
4873 * gdb.python/py-pp-integral.exp: Likewise.
4874 * gdb.python/py-pp-re-notag.exp: Likewise.
4875 * gdb.python/py-prettyprint.exp: Likewise.
4876 * gdb.python/py-section-script.exp: Likewise.
4877 * gdb.python/py-typeprint.exp: Likewise.
4878 * gdb.python/py-xmethods.exp: Likewise.
4879 * gdb.stabs/weird.exp: Likewise.
4880 * gdb.xml/tdesc-regs.exp: Likewise.
4881
bd286a29
KCY
48822014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4883
4884 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4885 (out_cu): Use addr_len for the size of addresses.
4886 (out_line): Likewise. Size DW_LNE_set_address instruction
4887 according to addr_len.
4888 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4889 (FUNC): Add START_INSNS to definition.
4890
673dc4a0
YQ
48912014-10-18 Yao Qi <yao@codesourcery.com>
4892
4893 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4894 gdb_has_argv0 return true.
4895 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4896 check [target_info exists noargs], check [gdb_has_argv0]
4897 instead.
4898 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4899 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4900 procedures.
4901
4ffbba72
DE
49022014-10-17 Doug Evans <dje@google.com>
4903
4904 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4905 event.
4906 * gdb.python/py-events.py: Add clear_objfiles event.
4907
d096d8c1
DE
49082014-10-17 Doug Evans <dje@google.com>
4909
4910 * gdb.python/py-objfile.exp: Test progspace attribute.
4911
a80db015
LM
49122014-10-17 Luis Machado <lgustavo@codesourcery.com>
4913
4914 * gdb.guile/scm-breakpoint.exp: Do not assume any
4915 directory separators when matching source file paths.
4916 * gdb.python/py-breakpoint.exp: Likewise.
4917 * gdb.reverse/break-precsave.exp: Likewise.
4918 * gdb.reverse/break-reverse.exp: Likewise.
4919 * gdb.reverse/consecutive-precsave.exp: Likewise.
4920 * gdb.reverse/finish-precsave.exp: Likewise.
4921 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4922 * gdb.reverse/finish-reverse.exp: Likewise.
4923 * gdb.reverse/i386-precsave.exp: Likewise.
4924 * gdb.reverse/i387-env-reverse.exp: Likewise.
4925 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4926 * gdb.reverse/machinestate-precsave.exp: Likewise.
4927 * gdb.reverse/machinestate.exp: Likewise.
4928 * gdb.reverse/sigall-precsave.exp: Likewise.
4929 * gdb.reverse/solib-precsave.exp: Likewise.
4930 * gdb.reverse/step-precsave.exp: Likewise.
4931 * gdb.reverse/until-precsave.exp: Likewise.
4932 * gdb.reverse/watch-precsave.exp: Likewise.
4933 * gdb.reverse/watch-reverse.exp: Likewise.
4934
b22089ab
YQ
49352014-10-17 Yao Qi <yao@codesourcery.com>
4936
4937 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4938 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4939
6c4486e6
PA
49402014-10-17 Pedro Alves <palves@redhat.com>
4941
4942 PR gdb/17471
4943 * gdb.base/bg-execution-repeat.c: New file.
4944 * gdb.base/bg-execution-repeat.exp: New file.
4945
0ff33695
PA
49462014-10-17 Pedro Alves <palves@redhat.com>
4947
4948 PR gdb/17300
4949 * gdb.base/continue-all-already-running.c: New file.
4950 * gdb.base/continue-all-already-running.exp: New file.
4951
6fdebc3d
PA
49522014-10-17 Pedro Alves <palves@redhat.com>
4953
4954 PR gdb/17472
4955 * gdb.base/annota-input-while-running.c: New file.
4956 * gdb.base/annota-input-while-running.exp: New file.
4957
32a8097b
PA
49582014-10-17 Pedro Alves <palves@redhat.com>
4959
4960 * gdb.base/callfuncs.exp: emove references to osf.
4961 * gdb.base/sigall.exp: Likewise.
4962 * gdb.gdb/selftest.exp: Likewise.
4963 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4964 * gdb.mi/non-stop.c: Likewise.
4965 * gdb.mi/pthreads.c: Likewise.
4966 * gdb.reverse/sigall-precsave.exp: Likewise.
4967 * gdb.reverse/sigall-reverse.exp: Likewise.
4968 * gdb.threads/pthreads.c: Likewise.
4969 * gdb.threads/pthreads.exp: Likewise.
4970
7a3517ff
YQ
49712014-10-17 Yao Qi <yao@codesourcery.com>
4972
4973 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4974 check 'target_info exists noargs'.
4975 (test_command_prompt_position): Likewise.
4976 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4977 Remove "set args".
4978 (progvar_simple_while_test): Likewise.
4979 (progvar_complex_if_while_test): Likewise.
4980 (if_while_breakpoint_command_test): Likewise.
4981 (infrun_breakpoint_command_test): Likewise.
4982 (breakpoint_command_test): Likewise.
4983 (watchpoint_command_test): Likewise.
4984 (bp_deleted_in_command_test): Likewise.
4985 (temporary_breakpoint_commands): Likewise.
4986
bb99c472
YQ
49872014-10-16 Yao Qi <yao@codesourcery.com>
4988
4989 * gdb.base/remotetimeout.exp: Remove noargs checking.
4990
7c16b83e
PA
49912014-10-15 Pedro Alves <palves@redhat.com>
4992
4993 PR breakpoints/9649
4994 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4995 * gdb.base/breakpoint-in-ro-region.exp
4996 (probe_target_hardware_step): New procedure.
4997 (top level): Probe hardware stepping and hardware breakpoint
4998 support. Test stepping through a read-only region, with both
4999 "breakpoint auto-hw" on and off and both "always-inserted" on and
5000 off.
5001
35a49624
IB
50022014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5003
5004 * gdb.dlang/demangle.exp: Update for demangling changes.
5005
2d1c107c
SC
50062014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5007
5008 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5009 * gdb.cp/non-trivial-retval.exp: Add new tests.
5010
778811d5
SC
50112014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5012
5013 PR c++/13403
5014 PR c++/15154
5015 * gdb.cp/non-trivial-retval.cc: New file.
5016 * gdb.cp/non-trivial-retval.exp: New file.
5017
10c5f0a8
YQ
50182014-10-15 Yao Qi <yao@codesourcery.com>
5019
5020 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5021 remote host.
5022
65d7b369
YQ
50232014-10-15 Yao Qi <yao@codesourcery.com>
5024
5025 * gdb.python/py-symbol.exp: Match file base name if host is
5026 remote, otherwise match file name with dir name.
5027 * gdb.python/py-symtab.exp: Likewise.
5028 * gdb.python/python.exp: Likewise.
5029
46dc1394
YQ
50302014-10-15 Yao Qi <yao@codesourcery.com>
5031
5032 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5033 pattern.
5034 * gdb.python/py-symtab.exp: Likewise.
5035 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5036 locationn.
5037
c40cc657
JB
50382014-10-14 Joel Brobecker <brobecker@adacore.com>
5039
5040 * gdb.ada/addr_arith: New testcase.
5041
2abf49e1
MR
50422014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5043
5044 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5045 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5046 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5047 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5048
f7088df3
SDJ
50492014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5050
5051 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5052 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5053 * gdb.arch/stap-eval-lang-ada.exp: New file.
5054
4dc06805
YQ
50552014-10-14 Yao Qi <yao@codesourcery.com>
5056
5057 * gdb.mi/mi-var-child.c (nothing1): New function.
5058 (nothing2): New function.
5059 (do_children_tests): Set function pointers by nothing1 and
5060 nothing2.
5061 * gdb.mi/mi-var-child.exp: Step over new added statements.
5062 Update test to match the new output.
5063 * gdb.mi/var-cmd.c (nothing1): New function.
5064 (nothing2): New function.
5065 (do_children_tests): Set function pointers by nothing1 and
5066 nothing2.
5067 * gdb.mi/mi-var-display.exp: Update test to match output.
5068 Step to the line specified by $line_dct_nothing.
5069 Increase the number of lines to step.
5070
46a93de2
YQ
50712014-10-14 Yao Qi <yao@codesourcery.com>
5072
5073 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5074 tests.
5075 * gdb.mi/mi2-var-child.exp: Likewise.
5076
14ea52ee
DE
50772014-10-13 Doug Evans <dje@google.com>
5078
5079 * gdb.python/py-objfile.exp: Change name of file name test.
5080
e5c6e92b
DE
50812014-10-13 Doug Evans <dje@google.com>
5082
5083 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5084 from the start of the CU.
5085
c780cc2f
JK
50862014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5087 Yao Qi <yao@codesourcery.com>
5088
5089 Fix "save breakpoints" for "catch" command.
5090 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5091 Remove -nonewline. Match also the added "main" line.
5092
99894e11
JK
50932014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5094
5095 Fix "save breakpoints" for "disable $bpnum" command.
5096 * gdb.base/save-bp.c (main): Add label.
5097 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5098
6e1ac5a3
JK
50992014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5100
5101 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5102
754dd2b0
YQ
51032014-10-11 Yao Qi <yao@codesourcery.com>
5104
5105 * gdb.server/server-kill.exp: Execute command
5106 "set remote trace-status-packet on" before "tstatus".
5107
f90183d7
YQ
51082014-10-11 Yao Qi <yao@codesourcery.com>
5109
5110 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5111 (main): Call getppid.
5112 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5113 and continue to it. Read variable "server_pid".
5114
bf40a607
YQ
51152014-10-11 Yao Qi <yao@codesourcery.com>
5116
5117 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5118
052ca370
YQ
51192014-10-11 Yao Qi <yao@codesourcery.com>
5120
5121 * gdb.threads/thread-find.exp: Don't execute command
5122 "info threads".
5123 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5124 * gdb.threads/linux-dp.exp: Don't check the condition
5125 $threads_created equals to zero.
5126
3831839c
PA
51272014-10-10 Pedro Alves <palves@redhat.com>
5128
5129 * gdb.base/bigcore.exp: Remove references to IRIX.
5130 * gdb.base/funcargs.exp: Likewise.
5131 * gdb.base/interrupt.exp: Likewise.
5132 * gdb.base/mips_pro.exp: Likewise.
5133 * gdb.base/nodebug.exp: Likewise.
5134 * gdb.base/setvar.exp: Likewise.
5135 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5136
8b9a549d
PA
51372014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5138 Pedro Alves <palves@redhat.com>
5139
5140 PR symtab/14466
5141 * gdb.base/vdso-warning.c: New file.
5142 * gdb.base/vdso-warning.exp: New file.
5143
d48ba5e8
DE
51442014-10-02 Doug Evans <dje@google.com>
5145
5146 * gdb.base/structs.c (main): Don't run forever.
5147
2278c276
PA
51482014-10-02 Pedro Alves <palves@redhat.com>
5149
5150 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5151 (top level) <stop threads 1, stop threads 2>: Use it.
5152
b57bacec
PA
51532014-10-02 Pedro Alves <palves@redhat.com>
5154
5155 * gdb.threads/break-while-running.exp (test): Add new
5156 'update_thread_list' argument. Skip "info threads" if false.
5157 (top level): Add new 'update_thread_list' axis.
5158
13fd3ff3
PA
51592014-10-02 Pedro Alves <palves@redhat.com>
5160
5161 PR breakpoints/17431
5162 * gdb.base/execl-update-breakpoints.c: New file.
5163 * gdb.base/execl-update-breakpoints.exp: New file.
5164
0fec99e8
PA
51652014-10-01 Pedro Alves <palves@redhat.com>
5166
5167 * gdb.base/breakpoint-in-ro-region.c: New file.
5168 * gdb.base/breakpoint-in-ro-region.exp: New file.
5169
2ddf4301
SM
51702014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5171
5172 * gdb.mi/mi-exit-code.exp: New file.
5173 * gdb.mi/mi-exit-code.c: New file.
5174
6a5f3f43
YQ
51752014-09-30 Yao Qi <yao@codesourcery.com>
5176
5177 * lib/prelink-support.exp (build_executable_own_libs): Error if
5178 the target isn't native.
5179
345bcc73
YQ
51802014-09-30 Yao Qi <yao@codesourcery.com>
5181
5182 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5183 false.
5184
a25a5a45
PA
51852014-09-22 Pedro Alves <palves@redhat.com>
5186
5187 * gdb.threads/break-while-running.exp: New file.
5188 * gdb.threads/break-while-running.c: New file.
5189
00ba3162
YQ
51902014-09-19 Yao Qi <yao@codesourcery.com>
5191
5192 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5193 Invoke test. Restart GDB with --readnow and invoke test again.
5194
c3b7b696
YQ
51952014-09-19 Yao Qi <yao@codesourcery.com>
5196
5197 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5198 proc set_breakpoint_on_gcd_function. Invoke
5199 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5200 invoke set_breakpoint_on_gcd_function again.
5201
2b4fd423
DE
52022014-09-18 Doug Evans <dje@google.com>
5203
5204 * gdb.dwarf2/symtab-producer.exp: New file.
5205
a5947601
SDJ
52062014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5207
5208 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5209 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5210 * gdb.base/global-var-nested-by-dso.c: Likewise.
5211 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5212
91c19059
SDJ
52132014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5214 Pedro Alves <palves@redhat.com>
5215
5216 * gdb.base/watch-bitfields.exp: Pass string other than test file
5217 name to prepare_for_testing.
5218 (watch): New procedure.
5219 (expect_watchpoint): Use with_test_prefix.
5220 (top level): Factor out tests to ...
5221 (test_watch_location, test_regular_watch): ... these new
5222 procedures, and use with_test_prefix and gdb_continue_to_end.
5223
bb9d5f81
PP
52242014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5225
5226 PR breakpoints/12526
5227 * gdb.base/watch-bitfields.exp: New file.
5228 * gdb.base/watch-bitfields.c: New file.
5229
635856f5
PA
52302014-09-16 Pedro Alves <palves@redhat.com>
5231
5232 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5233 software and hardware addresses, not software address against
5234 itself.
5235
7280ceea
PA
52362014-09-16 Pedro Alves <palves@redhat.com>
5237
5238 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5239 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5240
428b16bd
PA
52412014-09-16 Pedro Alves <palves@redhat.com>
5242
5243 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5244 files.
5245 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5246 "*-*-vxworks*" throughout.
5247 * gdb.base/break.exp: Likewise.
5248 * gdb.base/default.exp: Likewise.
5249 * gdb.base/scope.exp: Likewise.
5250 * gdb.base/sepdebug.exp: Likewise.
5251 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5252 throughout.
5253 * gdb.base/run.c: Likewise.
5254 * gdb.base/sepdebug.c: Likewise.
5255 * gdb.hp/gdb.aCC/run.c: Likewise.
5256 * gdb.reverse/until-reverse.c: Likewise.
5257 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5258
666d413c
YQ
52592014-09-16 Yao Qi <yao@codesourcery.com>
5260
5261 * boards/local-remote-host-native.exp: New file.
5262
57cbd724
DE
52632014-09-14 Doug Evans <xdje42@gmail.com>
5264
5265 * gdb.threads/queue-signal.c (thread_count): New variable.
5266 (thread_count_mutex, thread_count_condvar): New variables.
5267 (incr_thread_count, wait_all_threads_running): New functions.
5268 (main): Wait for all threads to be in their thread functions.
5269
81219e53
DE
52702014-09-13 Doug Evans <xdje42@gmail.com>
5271
5272 * gdb.threads/queue-signal.c: New file.
5273 * gdb.threads/queue-signal.exp: New file.
5274
3714cea7
DE
52752014-09-13 Doug Evans <xdje42@gmail.com>
5276
5277 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5278 be consistent with what default_gdb_init uses.
5279 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5280 the plain text of the prompt. Add some logging printfs.
5281 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5282
fa43b1d7
PA
52832014-09-12 Pedro Alves <palves@redhat.com>
5284
5285 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5286 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5287 * gdb.arch/i386-size-overlap.exp: Likewise.
5288 * gdb.arch/i386-size.exp: Likewise.
5289 * gdb.arch/i386-unwind.exp: Likewise.
5290 * gdb.base/a2-run.exp: Likewise.
5291 * gdb.base/break.exp: Likewise.
5292 * gdb.base/charset.exp: Likewise.
5293 * gdb.base/chng-syms.exp: Likewise.
5294 * gdb.base/commands.exp: Likewise.
5295 * gdb.base/dbx.exp: Likewise.
5296 * gdb.base/find.exp: Likewise.
5297 * gdb.base/funcargs.exp: Likewise.
5298 * gdb.base/jit-simple.exp: Likewise.
5299 * gdb.base/reread.exp: Likewise.
5300 * gdb.base/sepdebug.exp: Likewise.
5301 * gdb.base/step-bt.exp: Likewise.
5302 * gdb.cp/mb-inline.exp: Likewise.
5303 * gdb.cp/mb-templates.exp: Likewise.
5304 * gdb.objc/basicclass.exp: Likewise.
5305 * gdb.threads/killed.exp: Likewise.
5306
9d9bf2df
EBM
53072014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5308
5309 PR tdep/17379
5310 * gdb.arch/powerpc-stackless.S: New file.
5311 * gdb.arch/powerpc-stackless.exp: New file.
5312
1cf2f1b0
JK
53132014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5314
5315 * gdb.base/attach.c: Include unistd.h.
5316 (main): Call alarm. Add label postloop.
5317 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5318 gdb_breakpoint, gdb_continue_to_breakpoint.
5319 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5320
98880d46
PA
53212014-09-11 Pedro Alves <palves@redhat.com>
5322
5323 PR gdb/17347
5324 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5325 * gdb.base/attach.exp (test_command_line_attach_run): New
5326 procedure.
5327 (top level): Call it.
5328
4c92ff2c
PA
53292014-09-11 Pedro Alves <palves@redhat.com>
5330
5331 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5332 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5333 (do_command_attach_tests): Use spawn_wait_for_attach.
5334 * gdb.base/solib-overlap.exp: Likewise.
5335 * gdb.multi/multi-attach.exp: Likewise.
5336 * gdb.python/py-prompt.exp: Likewise.
5337 * gdb.python/py-sync-interp.exp: Likewise.
5338 * gdb.server/ext-attach.exp: Likewise.
5339
3adc1a7d
GKB
53402014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5341
5342 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5343 command in testcase. Simplify testcase.
5344
96334934
JB
53452014-09-10 Joel Brobecker <brobecker@adacore.com>
5346
5347 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5348
eb479039
JB
53492014-09-10 Joel Brobecker <brobecker@adacore.com>
5350
5351 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5352
deede10c
JB
53532014-09-10 Joel Brobecker <brobecker@adacore.com>
5354
5355 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5356
7828a5f5
JB
53572014-09-10 Joel Brobecker <brobecker@adacore.com>
5358
5359 * gdb.dwarf2/dynarr-ptr.c: New file.
5360 * gdb.dwarf2/dynarr-ptr.exp: New file.
5361
33aeebcf
MR
53622014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5363
5364 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5365 of 30 rather than hardcoding 120 for a slow test case. Take the
5366 `gdb,timeout' target setting into account for this calculation.
5367 Don't extend the timeout for the test cases that don't need it.
5368
7b415901
MR
53692014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5370
5371 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5372 a factor of 2 for a slow test case. Take the `gdb,timeout'
5373 target setting into account for this calculation.
5374 * gdb.reverse/until-precsave.exp: Increase the timeout by
5375 a factor of 15 and 3 respectively rather than adding 120
5376 for a pair of slow test cases. Take the `gdb,timeout'
5377 target setting into account for this calculation.
5378
4a40f85a
MR
53792014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5380
5381 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5382 timeout, don't pass one down to gdb_expect.
5383 (gdb_expect): Rework timeout selection.
5384
09635af7
MR
53852014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5386
5387 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5388 exception on timeout.
5389 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5390 (gdbserver_start_extended): Catch any `gdbserver_start' error
5391 exceptions.
5392 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5393 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5394 `gdbserver_gdb_load' error exceptions.
5395
2bdd10b7
MR
53962014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5397
5398 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5399 120 on waiting for the TCP socket to open.
5400
316935f0
DE
54012014-09-09 Doug Evans <xdje42@gmail.com>
5402
5403 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5404 _caller_matches, _any_caller_is, _any_caller_matches.
5405
83740597
DE
54062014-09-09 Doug Evans <xdje42@gmail.com>
5407
5408 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5409
4c122fc3
YQ
54102014-09-09 Yao Qi <yao@codesourcery.com>
5411
5412 * gdb.mi/mi-var-display.exp: Set print symbol off.
5413
a9f116cb
GKB
54142014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5415
5416 PR gdb/17035
5417 * gdb.base/commands.exp: Add tests to verify user-defined
5418 commands with empty bodies.
5419 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5420 python commands in `show user command`.
5421 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5422 scheme commands in `show user command`.
5423
c75bd3a2
JK
54242014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5425
5426 PR python/17355
5427 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5428 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5429 * gdb.python/py-framefilter-invalidarg.exp: New file.
5430 * gdb.python/py-framefilter-invalidarg.py: New file.
5431
faa42425
DE
54322014-09-06 Doug Evans <xdje42@gmail.com>
5433
5434 PR 15276
5435 * gdb.python/py-caller-is.c: New file.
5436 * gdb.python/py-caller-is.exp: New file.
5437
474ca4f6
SDJ
54382014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5439
5440 PR gdb/17235
5441 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5442 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5443
eb0b0463
SDJ
54442014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5445
5446 PR fortran/17237
5447 * gdb.fortran/print-formatted.exp: New file.
5448 * gdb.fortran/print-formatted.f90: Likewise.
5449
5f3b99cf
SS
54502014-09-03 Sasha Smundak <asmundak@google.com>
5451
5452 * gdb.python/py-frame.exp: Test Frame.read_register.
5453
7d793aa9
SDJ
54542014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5455
5456 PR python/16699
5457 * gdb.python/py-completion.exp: New file.
5458 * gdb.python/py-completion.py: Likewise.
5459
fb0576e9
DE
54602014-08-28 Doug Evans <dje@google.com>
5461
5462 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5463 eax,etc. are live with values set by gdb and thus the compiler can't
5464 use them.
5465 * gdb.arch/i386-pseudo.c (main): Ditto.
5466
ee92b0dd
DE
54672014-08-27 Doug Evans <dje@google.com>
5468
5469 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5470
6649db35
DE
54712014-08-25 Doug Evans <dje@google.com>
5472
5473 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5474 (main): Ditto.
5475
564b7600
DE
54762014-08-25 Doug Evans <dje@google.com>
5477
5478 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5479
3881fb67
YQ
54802014-08-24 Yao Qi <yao@codesourcery.com>
5481
5482 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5483 symbol off.
5484 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5485
a05a36a5
DE
54862014-08-22 Doug Evans <dje@google.com>
5487
5488 PR 17276
5489 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5490 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5491 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5492
7c343b48
YQ
54932014-08-22 Yao Qi <yao@codesourcery.com>
5494
5495 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5496 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5497 * gdb.python/python.exp: Likewise. Use .py file on the host
5498 instead of the build.
5499
22fd09ae
JK
55002014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5501
5502 * gdb.threads/gcore-stale-thread.c: New file.
5503 * gdb.threads/gcore-stale-thread.exp: New file.
5504
a8454a7c
PA
55052014-08-21 Pedro Alves <palves@redhat.com>
5506
5507 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5508 * gdb.base/gcore-relro-pie.exp: Likewise.
5509 * gdb.base/gcore-relro.exp: Likewise.
5510 * gdb.base/gcore.exp: Likewise.
5511 * gdb.base/print-symbol-loading.exp: Likewise.
5512 * gdb.threads/gcore-thread.exp: Likewise.
5513 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5514
2a31c623
PA
55152014-08-20 Pedro Alves <palves@redhat.com>
5516 Jan Kratochvil <jan.kratochvil@redhat.com>
5517
5518 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5519 configure.
5520 (EXPECT): Handle READ1 being set.
5521 (all): Depend on EXTRA_RULES.
5522 (check-read1, expect-read1, read1.so, read1): New rules.
5523 * README (Testsuite Parameters): Document the READ1 make variable.
5524 (Race detection): New section.
5525 * configure: Regenerate.
5526 * configure.ac: If build==host==target, and running under a
5527 GNU/glibc system, add read1 to the extra Makefile rules.
5528 (EXTRA_RULES): AC_SUBST it.
5529 * lib/read1.c: New file.
5530
d36430db
JB
55312014-08-20 Joel Brobecker <brobecker@adacore.com>
5532
5533 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5534 the handling of variables declared as a typedef to an array
5535 which a DW_AT_data_location attribute.
5536
9a0dc9e3
PA
55372014-08-19 Andrew Burgess <aburgess@broadcom.com>
5538 Pedro Alves <palves@redhat.com>
5539
5540 PR symtab/14604
5541 PR symtab/14605
5542 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5543 gdb_test.
5544
0718a8da
PA
55452014-08-19 Pedro Alves <palves@redhat.com>
5546
5547 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5548
13b448cd
YQ
55492014-08-19 Yao Qi <yao@codesourcery.com>
5550
5551 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5552 right line.
5553
1cbf5077
DB
55542014-08-18 David Blaikie <dblaikie@gmail.com>
5555
5556 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5557
bf0fae19
JB
55582014-08-18 Joel Brobecker <brobecker@adacore.com>
5559
5560 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5561 attribute in array range.
5562
3c8c5dcc
JB
55632014-08-18 Joel Brobecker <brobecker@adacore.com>
5564
5565 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5566
e66d4446
SC
55672014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5568
5569 PR c++/17132
5570 * gdb.cp/pr17132.cc: New file.
5571 * gdb.cp/pr17132.exp: New file.
5572
940df408
SC
55732014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5574
5575 * gdb.python/py-xmethods.py (A_getarrayind)
5576 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5577 Use 'print' with function call syntax.
5578 (E_method_matcher.match): Fix tab vs space indentation mixup.
5579
ebcc6c3a
YQ
55802014-08-15 Yao Qi <yao@codesourcery.com>
5581
5582 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5583 false.
5584
775e0f04
YQ
55852014-08-15 Yao Qi <yao@codesourcery.com>
5586
5587 * gdb.cp/casts.exp: Set print symbol off.
5588 * gdb.cp/class2.exp: Likewise.
5589 * gdb.cp/overload.exp: Likewise.
5590 * gdb.cp/templates.exp: Likewise.
5591
d769e349
DE
55922014-08-11 Doug Evans <dje@google.com>
5593
5594 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5595 (test_load_shlib): Update.
5596
20c6f1e1
YQ
55972014-08-09 Yao Qi <yao@codesourcery.com>
5598
5599 * gdb.base/display.exp: Invoke is_address_zero_readable.
5600 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5601 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5602 * gdb.base/hbreak-unmapped.exp: Return if
5603 is_address_zero_readable returns true.
5604 * gdb.base/signest.exp: Likewise.
5605 * gdb.base/signull.exp: Likewise.
5606 * gdb.base/sigbpt.exp: Likewise.
5607 * gdb.guile/scm-disasm.exp: Do the test if
5608 is_address_zero_readable returns false.
5609 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5610 * gdb.python/py-arch.exp: Likewise.
5611 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5612 * lib/gdb.exp (is_address_zero_readable): New proc.
5613
5792e8e3
YQ
56142014-08-09 Yao Qi <yao@codesourcery.com>
5615
5616 PR testsuite/13443
5617 * gdb.mi/mi-var-display.exp: Make test messages unique.
5618
3cecbbbe
TT
56192014-08-04 Tom Tromey <tromey@redhat.com>
5620
5621 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5622 target 0".
5623
00b51ff5
TT
56242014-08-04 Tom Tromey <tromey@redhat.com>
5625
5626 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5627 "target_resume".
5628
6908c509
JB
56292014-08-01 Joel Brobecker <brobecker@adacore.com>
5630
5631 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5632 inner_vla_struct_object_size.
5633 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5634 as xfail.
5635
cc6563d2
PA
56362014-07-30 Pedro Alves <palves@redhat.com>
5637
5638 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5639 comment.
5640
7e09a223
YQ
56412014-07-29 Yao Qi <yao@codesourcery.com>
5642
5643 PR gdb/17206
5644 * gdb.base/until-nodebug.exp: New.
5645
7ebdbe92
DE
56462014-07-28 Doug Evans <xdje42@gmail.com>
5647
5648 PR guile/17203
5649 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5650 previously existing parameter, and previously ambiguously spelled
5651 parameter.
5652
fdb1adc6
WN
56532014-07-28 Will Newton <will.newton@linaro.org>
5654
5655 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5656
186fcde0
DE
56572014-07-26 Ludovic Courtès <ludo@gnu.org>
5658 Doug Evans <xdje42@gmail.com>
5659
5660 PR guile/17146
5661 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5662
70509625
PA
56632014-07-25 Pedro Alves <palves@redhat.com>
5664
5665 * gdb.threads/signal-command-handle-nopass.c: New file.
5666 * gdb.threads/signal-command-handle-nopass.exp: New file.
5667 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5668 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5669 * gdb.threads/signal-delivered-right-thread.c: New file.
5670 * gdb.threads/signal-delivered-right-thread.exp: New file.
5671
c3f814a1
PA
56722014-07-25 Pedro Alves <palves@redhat.com>
5673
5674 * gdb.base/double-prompt-target-event-error.exp
5675 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5676 match.
5677 (cancel_pagination_in_target_event): Rework double prompt
5678 detection.
5679 * gdb.base/paginate-after-ctrl-c-running.exp
5680 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5681 <return>' match.
5682 * gdb.base/paginate-bg-execution.exp
5683 (test_bg_execution_pagination_return)
5684 (test_bg_execution_pagination_cancel): Remove '-notransfer
5685 <return>' matches.
5686 * gdb.base/paginate-execution-startup.exp
5687 (test_fg_execution_pagination_return)
5688 (test_fg_execution_pagination_cancel): Remove '-notransfer
5689 <return>' matches.
5690 * gdb.base/paginate-inferior-exit.exp
5691 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5692 match.
5693 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5694 * lib/gdb.exp (pagination_prompt): Run text through
5695 string_to_regexp.
5696 (gdb_test_multiple): Match $pagination_prompt instead of
5697 "<return>".
5698 (string_to_regexp): Move to lib/gdb-utils.exp.
5699
e214cf6c
JK
57002014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5701
5702 * gdb.arch/amd64-entry-value-paramref.S: New file.
5703 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5704 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5705 * gdb.arch/amd64-optimout-repeat.S: New file.
5706 * gdb.arch/amd64-optimout-repeat.c: New file.
5707 * gdb.arch/amd64-optimout-repeat.exp: New file.
5708
17d0c5c8
JK
57092014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5710
5711 PR gdb/17170
5712 * gdb.base/statistics.exp: New file.
5713
b8b8facf
DE
57142014-07-17 Doug Evans <dje@google.com>
5715
74b49205 5716 PR gdb/17170
b8b8facf
DE
5717 * gdb.base/maint.exp: Update testing of per-command stats.
5718
1b5d0ab3
PA
57192014-07-16 Pedro Alves <palves@redhat.com>
5720
5721 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5722 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5723 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5724 (tfile_write_buf): New functions.
5725 (add_memory_block): Rewrite using the above.
5726 (adjust_function_address): New function.
5727 (FUNCTION_ADDRESS): New macro.
5728 (write_basic_trace_file): Remove short_x local, and use
5729 tfile_write_16. Change type of func_addr local to unsigned long
5730 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5731 here. Cast argument of add_memory_block to char pointer.
5732 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5733 (main): Remove parameters.
5734 * gdb.trace/tfile.exp: Remove nowarnings.
5735
4d974e88
SM
57362014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5737
5738 * gdb.base/debug-expr.exp: Test string evaluation with
5739 "debug expression" on.
5740
41e99568
PA
57412014-07-15 Pedro Alves <palves@redhat.com>
5742
5743 * gdb.base/reread.exp: Use clean_restart.
5744
487d9753
PL
57452014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5746
5747 * gdb.arch/avr-flash-qualifer.c: New.
5748 * gdb.arch/avr-flash-qualifer.exp: New.
5749
cc1c52ad
PA
57502014-07-14 Pedro Alves <palves@redhat.com>
5751
5752 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5753 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5754
1e973570
PA
57552014-07-14 Pedro Alves <palves@redhat.com>
5756
5757 * gdb.base/double-prompt-target-event-error.c: New file.
5758 * gdb.base/double-prompt-target-event-error.exp: New file.
5759
93d6eb10
PA
57602014-07-14 Pedro Alves <palves@redhat.com>
5761
5762 PR gdb/17072
5763 * gdb.base/paginate-inferior-exit.c: New file.
5764 * gdb.base/paginate-inferior-exit.exp: New file.
5765
0017922d
PA
57662014-07-14 Pedro Alves <palves@redhat.com>
5767
5768 PR gdb/17072
5769 * gdb.base/paginate-bg-execution.c: New file.
5770 * gdb.base/paginate-bg-execution.exp: New file.
5771
94696ad3
PA
57722014-07-14 Pedro Alves <palves@redhat.com>
5773
5774 PR gdb/17072
5775 * gdb.base/paginate-execution-startup.c: New file.
5776 * gdb.base/paginate-execution-startup.exp: New file.
5777 * lib/gdb.exp (pagination_prompt): New global.
5778 (default_gdb_spawn): New procedure, factored out from
5779 default_gdb_spawn.
5780 (default_gdb_start): Adjust to call default_gdb_spawn.
5781 (gdb_spawn): New procedure.
5782
bd293940
PA
57832014-07-14 Pedro Alves <palves@redhat.com>
5784
5785 * lib/gdb.exp (gdb_assert): New procedure.
5786 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5787
c933f875
PA
57882014-07-14 Pedro Alves <palves@redhat.com>
5789
5790 * gdb.base/execution-termios.c: New file.
5791 * gdb.base/execution-termios.exp: New file.
5792
d98b7a16
TT
57932014-07-14 Tom Tromey <tromey@redhat.com>
5794
5795 * gdb.cp/vla-cxx.cc: New file.
5796 * gdb.cp/vla-cxx.exp: New file.
5797
548740d6
TT
57982014-07-14 Tom Tromey <tromey@redhat.com>
5799
5800 * gdb.reverse/rerun-prec.c: New file.
5801 * gdb.reverse/rerun-prec.exp: New file.
5802
a25eb028
MR
58032014-07-12 Maciej W. Rozycki <macro@mips.com>
5804 Maciej W. Rozycki <macro@codesourcery.com>
5805
5806 * lib/gdb-utils.exp: New file.
5807 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5808 inline `gdb_init_command' processing.
5809 (gdb_start_cmd): Likewise.
5810 * lib/mi-support.exp (mi_run_cmd): Likewise.
5811 * README: Document `gdb_init_command' and `gdb_init_commands'.
5812
218c2655
JK
58132014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5814
5815 Fix false FAIL running under a very long directory name.
5816 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5817 and "set print elements 10000". Twice.
5818
5401fde3
YQ
58192014-07-11 Yao Qi <yao@codesourcery.com>
5820
5821 * gdb.base/exprs.exp: "set print symbol off".
5822
e76126e8
PA
58232014-07-11 Pedro Alves <palves@redhat.com>
5824
5825 * gdb.threads/kill.c: New file.
5826 * gdb.threads/kill.exp: New file.
5827
2d6f0de6
YQ
58282014-07-10 Yao Qi <yao@codesourcery.com>
5829
5830 * gdb.trace/tfile.c (write_basic_trace_file)
5831 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5832 address written to trace file.
5833
7180e04a
PA
58342014-07-09 Pedro Alves <palves@redhat.com>
5835
5836 * gdb.base/attach-wait-input.exp: New file.
5837 * gdb.base/attach-wait-input.c: New file.
5838
9a9a7608
AB
58392014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5840
5841 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5842 setting up test structures.
5843 (main): Call new test function.
5844 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5845 test function, continue into test function and walk test
5846 structures.
5847
161ac41e
YQ
58482014-07-02 Yao Qi <yao@codesourcery.com>
5849
5850 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5851 'bar_start' at the beginning of functions 'foo' and 'bar'
5852 respectively.
5853 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5854 instead of 'foo' and 'bar'.
5855
1f267ae3
MM
58562014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5857
5858 * gdb.btrace/segv.exp: New.
5859 * gdb.btrace/segv.c: New.
5860
2b239efb
LM
58612014-07-02 Luis Machado <lgustavo@codesourcery.com>
5862
5863 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5864 instruction.
5865
cf363f18
MW
58662014-06-30 Mark Wielaard <mjw@redhat.com>
5867
5868 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5869 vulture, vilify, villar): New volatile array constants.
5870 (vindictive, vegetation): New const volatile array constants.
5871 * gdb.base/volatile.exp: Test volatile and const volatile array
5872 types.
5873
aebf9d24
AA
58742014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5875
5876 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5877 target lacks support for awatch, rwatch, or hbreak.
5878
b67a2c6f
YQ
58792014-06-27 Yao Qi <yao@codesourcery.com>
5880
5881 * gdb.multi/dummy-frame-restore.exp: New.
5882 * gdb.multi/dummy-frame-restore.c: New.
5883
aef92902
MM
58842014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5885
5886 * gdb.btrace/gcore.exp: New.
5887
8e9db26e
PA
58882014-06-23 Pedro Alves <palves@redhat.com>
5889
5890 * gdb.base/watchpoint-reuse-slot.c: New file.
5891 * gdb.base/watchpoint-reuse-slot.exp: New file.
5892
70afc5b7
SC
58932014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5894
5895 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5896 progspace's filename in 'info', 'enable' and 'disable' command
5897 tests.
5898
b972bd9c
JK
58992014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5900
5901 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5902 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5903 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5904
125f8a3d
GB
59052014-06-20 Gary Benson <gbenson@redhat.com>
5906
5907 * gdb.arch/i386-avx.exp: Fix include file location.
5908 * gdb.arch/i386-sse.exp: Likewise.
5909
3ed9baed
IB
59102014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5911
5912 * gdb.dlang/expression.exp: New file.
5913
034f788c
PA
59142014-06-19 Pedro Alves <palves@redhat.com>
5915
5916 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5917 out from ...
5918 (top level): ... here. Iterate running tests under different
5919 scheduler-locking settings.
5920
45371d0c
LM
59212014-06-18 Luis Machado <lgustavo@codesourcery.com>
5922
5923 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5924 to DW_FORM_addr and use non-zero addresses.
5925
5d376983
SC
59262014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5927
5928 PR gdb/17017
5929 * gdb.python/py-xmethods.cc: Add global function call counters and
5930 increment them in their respective functions. Remove "cout"
5931 statements.
5932 * gdb.python/py-xmethods.exp: Make tests check the global function
5933 call counters instead of depending on inferior IO.
5934
a1aa2221
LM
59352014-06-18 Don Breazeal <donb@codesourcery.com>
5936
5937 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5938 Deleted procedure.
5939 (explicit_fork_parent_follow): Deleted procedure.
5940 (explicit_fork_child_follow): Deleted procedure.
5941 (test_follow_fork): New procedure.
5942 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5943 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5944 procedure calls.
5945
0fc05997
YQ
59462014-06-17 Yao Qi <yao@codesourcery.com>
5947
5948 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5949 CP1252.
5950
70795c52
LM
59512014-06-17 Luis Machado <lgustavo@codesourcery.com>
5952
5953 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5954 Initialize ptr and S explicitly.
5955 (skip_type_update_when_not_use_rtti_test): Likewise.
5956
6be47f0c
KS
59572014-06-16 Keith Seitz <keiths@redhat.com>
5958
5959 PR mi/15863
5960 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5961 the inferior is started.
5962
d03de421
PA
59632014-06-16 Pedro Alves <palves@redhat.com>
5964
5965 * gdb.base/break-main-file-remove-fail.c: New file.
5966 * gdb.base/break-main-file-remove-fail.exp: New file.
5967 * gdb.base/break-unload-file.exp: Use build_executable instead of
5968 prepare_for_testing.
5969 (test_break): New parameter "initial_load". Handle it.
5970 (top level): Add initial_load cmdline/file axis.
5971
f9579b99
TT
59722014-06-12 Tom Tromey <tromey@redhat.com>
5973
5974 * gdb.base/completion.exp: Don't use directory name in test.
5975
3657956b
GB
59762014-06-09 Gary Benson <gbenson@redhat.com>
5977
5978 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5979 separate the always-available ANSI-standard signals from the
5980 signals that require checking.
5981 (main): Likewise.
5982 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5983 Likewise.
5984 (main): Likewise.
5985
4186eb54
KS
59862014-06-07 Keith Seitz <keiths@redhat.com>
5987
5988 Revert:
5989 PR c++/16253
5990 * gdb.cp/var-tag.cc: New file.
5991 * gdb.cp/var-tag.exp: New file.
5992 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5993 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5994 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5995 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5996
25326a28 59972014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
5998
5999 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6000
829155c9
PA
60012014-06-06 Pedro Alves <palves@redhat.com>
6002
6003 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6004 in target debug output instead of looking at RSP packets,
6005 disabling the test on any target that uses hardware stepping.
6006 Update comments.
6007
61c8d22e
PA
60082014-06-06 Pedro Alves <palves@redhat.com>
6009
6010 * gdb.base/break-unload-file.exp: Fix typo.
6011
d9a47287
YQ
60122014-06-06 Yao Qi <yao@codesourcery.com>
6013
6014 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6015 from "jit_function" to "^jit_function".
6016
e5e01dbf
YQ
60172014-06-06 Yao Qi <yao@codesourcery.com>
6018
6019 * gdb.base/async.c (foo): Add one statement.
6020 * gdb.base/async.exp: Get the next instruction address and
6021 match the output of "nexti" by instruction address. Match
6022 the hex address in the output of "finish".
6023
73ba372c
GB
60242014-06-06 Gary Benson <gbenson@redhat.com>
6025
6026 * gdb.base/call-signals.c: Remove preprocessor conditionals
6027 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6028 SIGSEGV and SIGTERM.
6029 * gdb.base/sigall.c: Likewise.
6030 * gdb.base/unwindonsignal.c: Likewise.
6031 * gdb.reverse/sigall-reverse.c: Likewise.
6032
831517df
YQ
60332014-06-06 Yao Qi <yao@codesourcery.com>
6034
6035 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6036 readable, skip the test.
6037
b8b91e98
YQ
60382014-06-06 Yao Qi <yao@codesourcery.com>
6039
6040 * gdb.threads/staticthreads.c (thread_function): Move the line
6041 setting breakpoint on forward.
6042 * gdb.threads/staticthreads.exp: Update comments.
6043
fb934770
LC
60442014-06-05 Ludovic Courtès <ludo@gnu.org>
6045
6046 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6047 "history-append! type error".
6048
6ef284bd
SM
60492014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6050
6051 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6052 erroneous dprintf expected input.
6053
a872e241
DE
60542014-06-04 Doug Evans <xdje42@gmail.com>
6055
6056 * gdb.guile/scm-generics.exp: Delete.
6057
16f691fb
DE
60582014-06-04 Doug Evans <xdje42@gmail.com>
6059
6060 * gdb.guile/scm-breakpoint.exp: Update.
6061 Add tests for breakpoint registration.
6062
012370f6
TT
60632014-06-04 Tom Tromey <tromey@redhat.com>
6064
6065 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6066 VLA-in-union.
6067 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6068 inner_vla_struct, vla_union types. Initialize objects of those
6069 types and compute their sizes.
6070
9f5a4cef
HZ
60712014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6072 Hui Zhu <hui@codesourcery.com>
6073
6074 * gdb.base/fileio.exp: Add test for shell not available as well as
6075 available.
6076 * gdb.base/fileio.c (test_system): Check for shell twice.
6077
90a45c4d
YQ
60782014-06-04 Yao Qi <yao@codesourcery.com>
6079
6080 * gdb.base/auto-connect-native-target.exp: Remove redundant
6081 space from the regexp pattern.
6082
70017e41
YQ
60832014-06-04 Yao Qi <yao@codesourcery.com>
6084
6085 * gdb.base/default.exp: Replace "child" with "native" in
6086 regexp pattern.
6087
883964a7
SC
60882014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6089
6090 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6091 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6092 * gdb.python/py-xmethods.py: Python script supporting the
6093 new testcase and tests.
6094
ef370185
JB
60952014-06-03 Joel Brobecker <brobecker@adacore.com>
6096 Pedro Alves <palves@redhat.com>
6097
6098 PR breakpoints/17000
6099 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6100 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6101
1e2ccb61
BM
61022014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6103
6104 * gdb.base/subst.exp: Add tests to verify partial path matching
6105 output.
6106
c6ec5ab2
PA
61072014-06-03 Pedro Alves <palves@redhat.com>
6108
6109 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6110 target that doesn't use software single-stepping.
6111
835c559f
PA
61122014-06-03 Pedro Alves <palves@redhat.com>
6113
6114 PR breakpoints/17000
6115 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6116 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6117
06eb1586
DE
61182014-06-02 Doug Evans <xdje42@gmail.com>
6119
6120 * gdb.guile/scm-parameter.exp: New file.
6121
e698b8c4
DE
61222014-06-02 Doug Evans <xdje42@gmail.com>
6123
6124 * gdb.guile/scm-cmd.c: New file.
6125 * gdb.guile/scm-cmd.exp: New file.
6126
ded03782
DE
61272014-06-02 Doug Evans <xdje42@gmail.com>
6128
6129 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6130 pretty-printer lookup.
6131 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6132 (make-pp_s-printer): Call it.
6133 (make-pretty-printer-from-dict): New function.
6134 (lookup-pretty-printer-maker-from-dict): New function.
6135 (*pretty-printer*): Simplify.
6136 (make-objfile-pp_s-printer): New function.
6137 (install-objfile-pretty-printers!): New function.
6138 (make-progspace-pp_s-printer): New function.
6139 (install-progspace-pretty-printers!): New function.
6140 * gdb.guile/scm-progspace.c: New file.
6141 * gdb.guile/scm-progspace.exp: New file.
6142
41fac0cf
PA
61432014-06-02 Pedro Alves <palves@redhat.com>
6144
6145 * gdb.base/dprintf-bp-same-addr.c: New file.
6146 * gdb.base/dprintf-bp-same-addr.exp: New file.
6147
96ae5695
EBM
61482014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6149
6150 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6151 * gdb.arch/powerpc-power.s: Likewise.
6152
da02b3a8
JB
61532014-06-02 Joel Brobecker <brobecker@adacore.com>
6154
6155 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6156
c72b2e7b
YQ
61572014-06-01 Yao Qi <yao@codesourcery.com>
6158
6159 * gdb.base/watchpoint.exp (test_watch_location): Check null
6160 pointer can be dereferenced. If not, do the test, otherwise
6161 skip it.
6162
53e8a631
AB
61632014-05-30 Andrew Burgess <aburgess@broadcom.com>
6164
6165 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6166 results.
6167 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6168
938f0e2f
AB
61692014-05-30 Andrew Burgess <aburgess@broadcom.com>
6170
6171 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6172 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6173 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6174 * gdb.arch/amd64-invalid-stack-top.c: New file.
6175 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6176
9ba6657a
PA
61772014-05-30 Pedro Alves <palves@redhat.com>
6178
6179 PR breakpoints/17000
6180 * gdb.base/sss-bp-on-user-bp.c: New file.
6181 * gdb.base/sss-bp-on-user-bp.exp: New file.
6182
522c09bf
DB
61832014-05-30 David Blaikie <dblaikie@gmail.com>
6184
6185 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6186 gnu_inline semantics via attribute.
6187 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6188 source explicitly specifies the required semantics.
6189
bf4ef81e
MR
61902014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6191
6192 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6193
329ea579
PA
61942014-05-29 Pedro Alves <palves@redhat.com>
6195 Tom Tromey <tromey@redhat.com>
6196
6197 * gdb.base/async-shell.exp: Don't enable target-async.
6198 * gdb.base/async.exp
6199 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6200 parameter. Adjust.
6201 (top level): Don't test with "target-async".
6202 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6203 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6204 * gdb.base/inferior-died.exp: Don't enable target-async.
6205 * gdb.base/interrupt-noterm.exp: Likewise.
6206 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6207 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6208 * gdb.mi/mi-nonstop.exp: Likewise.
6209 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6210 * gdb.mi/mi-nsintrall.exp: Likewise.
6211 * gdb.mi/mi-nsmoribund.exp: Likewise.
6212 * gdb.mi/mi-nsthrexec.exp: Likewise.
6213 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6214 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6215 * gdb.python/py-evsignal.exp: Don't enable target-async.
6216 * gdb.python/py-evthreads.exp: Likewise.
6217 * gdb.python/py-prompt.exp: Likewise.
6218 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6219 * gdb.server/solib-list.exp: Don't enable target-async.
6220 * gdb.threads/thread-specific-bp.exp: Likewise.
6221 * lib/mi-support.exp: Adjust to use mi-async.
6222
fd664c91
PA
62232014-05-29 Pedro Alves <palves@redhat.com>
6224
6225 PR gdb/13860
6226 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6227 reason, even in sync mode.
6228
251bde03
PA
62292014-05-29 Pedro Alves <palves@redhat.com>
6230 Hui Zhu <hui@codesourcery.com>
6231
6232 PR PR15693
6233 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6234 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6235 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6236 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6237
7f3c0343
JB
62382014-05-28 Joel Brobecker <brobecker@adacore.com>
6239
6240 * config/monitor.exp (gdb_target_monitor): Replace use of
6241 "set remotebaud" by "set serial baud".
6242
b2715b27
AW
62432014-05-26 Andy Wingo <wingo@igalia.com>
6244
6245 * gdb.guile/scm-breakpoint.exp:
6246 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6247 properties instead of gdb-object-properties.
6248
498a4489
YQ
62492014-05-26 Yao Qi <yao@codesourcery.com>
6250
6251 * gdb.server/no-thread-db.exp: Specify source file name
6252 explicitly when setting a breakpoint.
6253
589fdceb
MM
62542014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6255
6256 * gdb.btrace/vdso.c: New.
6257 * gdb.btrace/vdso.exp: New.
6258
e9089e05
MM
62592014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6260
6261 * gdb.base/gcore.exp (capture_command_output): Move ...
6262 * lib/gdb.exp (capture_command_output): ... here.
6263
67b5c0c1
MM
62642014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6265
6266 * gdb.btrace/data.exp: Test memory access during btrace replay.
6267
a2199296
SM
62682014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6269
6270 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6271
17b2616c
PA
62722014-05-21 Pedro Alves <palves@redhat.com>
6273
6274 PR gdb/13860
6275 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6276 (top level): Test that output related to execution commands is
6277 sent to the console with CLI commands, but not with MI commands.
6278 Test that breakpoint events are always mirrored to the console.
6279 Also expect the new source line to be output after a "next" in
6280 async mode too. Make it a pass/fail test.
6281 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6282 output.
6283 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6284
5166082f
PA
62852014-05-21 Pedro Alves <palves@redhat.com>
6286
6287 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6288 Use them to test variations of "list" after reaching a breakpoint.
6289 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6290 Test "list" with listsize 10 after reaching a breakpoint.
6291 * gdb.python/python.exp (decode_line current location line
6292 number): Adjust expected line number.
6293
2f25d70f
SM
62942014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6295
6296 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6297 behavior for $args, pass it directly to "run".
6298
ff604a67
MR
62992014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6300
6301 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6302 30000 to 65536.
6303
6a3cb8e8
PA
63042014-05-21 Pedro Alves <palves@redhat.com>
6305
6306 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6307 auto-connect-native-target off".
6308 * gdb.base/auto-connect-native-target.c: New file.
6309 * gdb.base/auto-connect-native-target.exp: New file.
6310
4ebfc96e
PA
63112014-05-21 Pedro Alves <palves@redhat.com>
6312
6313 * gdb.base/default.exp: Test "target native" instead of "target
6314 child".
6315
36d46afb
MW
63162014-05-21 Mark Wielaard <mjw@redhat.com>
6317
6318 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6319
5876f503
JK
63202014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6321
6322 Fix TLS access for -static -pthread.
6323 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6324 <HAVE_TLS> (thread_function, main): Initialize it.
6325 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6326 Add clean_restart.
6327 <$have_tls != "">: Check TLSVAR.
6328
0256a6ac
PA
63292014-05-21 Pedro Alves <palves@redhat.com>
6330
6331 * gdb.base/dcache-line-read-error.c: New.
6332 * gdb.base/dcache-line-read-error.exp: New.
6333
936d2992
PA
63342014-05-20 Pedro Alves <palves@redhat.com>
6335
6336 * gdb.base/compare-sections.c: New file.
6337 * gdb.base/compare-sections.exp: New file.
6338
802e8e6d
PA
63392014-05-20 Pedro Alves <palves@redhat.com>
6340
6341 * gdb.base/break-idempotent.c: New file.
6342 * gdb.base/break-idempotent.exp: New file.
6343
e59fa00f
MM
63442014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6345
6346 * gdb.btrace/nohist.exp: New.
6347
8b696e31
YQ
63482014-05-20 Yao Qi <yao@codesourcery.com>
6349
6350 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6351 gdb.reverse directory and gdb_reverse_timeout exists in board
6352 setting.
6353 * README: Document gdb_reverse_timeout.
6354
73c9764f
YQ
63552014-05-20 Yao Qi <yao@codesourcery.com>
6356
6357 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6358 'test_file_name'. Treat args as a string instead of a list.
6359 (gdb_init): Rename argument 'args' by 'test_file_name'.
6360
f1f4348a
JK
63612014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6362
6363 * gdb.arch/powerpc-power.exp: New file.
6364 * gdb.arch/powerpc-power.s: New file.
6365
0dbe70ce
DE
63662014-05-16 Doug Evans <dje@google.com>
6367
6368 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6369 * gdb.base/completion.exp: Check that all expected files exist
6370 before doing file completion.
0dbe70ce 6371
8d551b02
DE
63722014-05-16 Doug Evans <dje@google.com>
6373
6374 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6375 Update.
6376 (do_syscall_tests_without_xml): Update.
6377
73eb7709
PA
63782014-05-16 Pedro Alves <palves@redhat.com>
6379
6380 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6381 instead of "unknown output after running".
6382
3fae92fc
YQ
63832014-05-16 Yao Qi <yao@codesourcery.com>
6384
6385 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6386 file1.txt from host at the end.
6387 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6388
c2b2ccc5
DE
63892014-05-15 Doug Evans <dje@google.com>
6390
6391 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6392 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6393 loading file. Add test for TU lookup.
6394
8c217a4b
SM
63952014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6396
6397 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6398 calling "-exec-arguments" or "set args" before running the
6399 inferior.
6400
3deb39c6
SM
64012014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6402
6403 * lib/mi-support.exp (mi_expect_stop): Expect message for
6404 inferiors that exit with non-zero exit code.
6405
71a79f8c
YQ
64062014-05-14 Yao Qi <yao@codesourcery.com>
6407
6408 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6409 match absolute path on remote host.
6410 (test_file_list_exec_source_files): Remove "/" from the
6411 pattern.
6412
f23fcd46
YQ
64132014-05-14 Yao Qi <yao@codesourcery.com>
6414
6415 * boards/local-remote-host-notty.exp (${board}_file): New
6416 proc.
6417
9404b58f
KM
64182014-05-07 Kyle McMartin <kyle@redhat.com>
6419
6420 Pushed by Joel Brobecker <brobecker@adacore.com>.
6421 * gdb.arch/aarch64-atomic-inst.c: New file.
6422 * gdb.arch/aarch64-atomic-inst.exp: New file.
6423
5e45f04c
YQ
64242014-05-07 Yao Qi <yao@codesourcery.com>
6425
6426 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6427 in current context" too.
6428
c888a17d
KS
64292014-05-05 Keith Seitz <keiths@redhat.com>
6430
6431 * gdb.linespec/ls-dollar.exp: Add test for linespec
6432 file:convenience_variable.
6433
290a839c
YQ
64342014-05-05 Yao Qi <yao@codesourcery.com>
6435
6436 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6437 traceframes into tfile and ctf trace files. Read data from
6438 trace file and test collected data.
6439 (gdb_collect_locals_test): Likewise.
6440 (gdb_unavailable_registers_test): Likewise.
6441 (gdb_unavailable_floats): Likewise.
6442 (gdb_collect_globals_test): Likewise.
6443 (top-level): Append "ctf" to trace_file_targets if GDB
6444 supports.
6445
b5262cd0
YQ
64462014-05-05 Yao Qi <yao@codesourcery.com>
6447
6448 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6449 code to ...
6450 (gdb_collect_args_test_1): ... it. New proc.
6451 (gdb_collect_locals_test): Move some code to ...
6452 (gdb_collect_locals_test_1): ... it. New proc.
6453 (gdb_unavailable_registers_test): Move some code to ...
6454 (gdb_unavailable_registers_test_1): ... it. New proc.
6455 (gdb_unavailable_floats): Move some code to ...
6456 (gdb_unavailable_floats_1): ... it. New proc.
6457
30a1e6cc
SDJ
64582014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6459
6460 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6461 probes to test for bitness recognition.
6462 * gdb.arch/amd64-stap-optional-prefix.exp
6463 (test_probe_value_without_reg): New procedure.
6464 Add code to test for different kinds of bitness.
6465
f33da99a
SDJ
64662014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6467
6468 PR breakpoints/16889
6469 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6470 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6471
5b80f00d
PA
64722014-05-01 Pedro Alves <palves@redhat.com>
6473
6474 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6475 gdb_file_cmd if no file is specified.
6476 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6477 last_loaded_file to set the remote exec-file.
6478
f8c2a73c
PA
64792014-05-01 Pedro Alves <palves@redhat.com>
6480
6481 * boards/local-remote-host.exp: New file.
6482
be6e8ac7
PA
64832014-05-01 Pedro Alves <palves@redhat.com>
6484
6485 * boards/local-remote-host.exp: Rename to ...
6486 * boards/local-remote-host-notty.exp: ... this.
6487
cac0dc8f
JB
64882014-04-28 Joel Brobecker <brobecker@adacore.com>
6489
6490 * gdb.ada/dyn_arrayidx: New testcase.
6491
9730e6cc
YQ
64922014-04-26 Yao Qi <yao@codesourcery.com>
6493
6494 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6495 and compute the length of function main. Save it in
6496 $main_length.
6497 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6498 (top-level): Use gdb_compile to compile objects into
6499 executable and restart GDB. Remove invocation to
6500 prepare_for_testing.
6501
7ae1a6a6
PA
65022014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6503 Pedro Alves <palves@redhat.com>
6504
6505 PR server/16255
6506 * gdb.multi/multi-attach.c: New file.
6507 * gdb.multi/multi-attach.exp: New file.
6508
4082afcc
PA
65092014-04-25 Pedro Alves <palves@redhat.com>
6510
6511 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6512 user.
6513 (top level): Test that "set remote conditional-breakpoints-packet
6514 off" works as intended.
6515 * gdb.base/dprintf.exp: Test that "set remote
6516 breakpoint-commands-packet off" works as intended.
6517 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6518 New function.
6519 (top level): Call it.
6520 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6521 remote fast-tracepoints-packet off" works as intended.
6522 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6523 * lib/gdb.exp (gdb_is_target_remote): ... here.
6524
2abc3f8d
DB
65252014-04-24 David Blaikie <dblaikie@gmail.com>
6526
6527 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6528 ensure clang would not discard them.
6529 * gdb.base/gdbvars.c: Ditto.
6530 * gdb.base/memattr.c: Ditto.
6531 * gdb.base/whatis.c: Ditto.
6532 * gdb.python/py-prettyprint.c: Ditto.
6533 * gdb.trace/actions.c: Ditto.
6534 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6535 ensure clang would not discard it.
6536
bfd39632
DB
65372014-04-24 David Blaikie <dblaikie@gmail.com>
6538
6539 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6540 clang to emit the full definition of type required by the test
6541 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6542
22842ff6
DB
65432014-04-24 David Blaikie <dblaikie@gmail.com>
6544
6545 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6546 coax Clang into emitting the definition of the type.
6547 * gdb.cp/pr10728-x.h (y): Ditto.
6548 * gdb.cp/pr10728-y.cc (y): Ditto.
6549
c2e827ad
DB
65502014-04-24 David Blaikie <dblaikie@gmail.com>
6551
6552 * gdb.base/label.exp: XFAIL label related tests under Clang.
6553 * gdb.cp/cplabel.exp: Ditto.
6554 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6555 under Clang those using labels.
6556
4c2d33e7
YQ
65572014-04-25 Yao Qi <yao@codesourcery.com>
6558
6559 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6560 double_label.
6561 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6562 partial_label and double_label.
6563
56083b99
DB
65642014-04-24 David Blaikie <dblaikie@gmail.com>
6565
6566 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6567
25d4e99d
DB
65682014-04-24 David Blaikie <dblaikie@gmail.com>
6569
6570 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6571 of the function to work across GCC and Clang.
6572 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6573 pointer types (const void ** const V void **).
6574
01f9f808
MS
65752014-04-24 Michael Sturm <michael.sturm@mintel.com>
6576 Walfred Tedeschi <walfred.tedeschi@intel.com>
6577
6578 * Makefile.in (EXECUTABLES): Added i386-avx512.
6579 * gdb.arch/i386-avx512.c: New file.
6580 * gdb.arch/i386-avx512.exp: Likewise.
6581
4b48d439
KS
65822014-04-23 Keith Seitz <keiths@redhat.com>
6583
6584 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6585 (mi_make_breakpoint_table): New procedure.
6586 (mi_create_breakpoint): Use mi_make_breakpoint
6587 and return the result.
6588 (mi_make_breakpoint): New procedure.
6589 (mi_build_kv_pairs): New procedure.
6590
6591 * gdb.mi/mi-break.exp: Remove unused globals,
6592 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6593 All callers updated.
6594 * gdb.mi/mi-dprintf.exp: Use variable to track command
6595 number.
6596 Update all callers of mi_create_breakpoint and use
6597 mi_make_breakpoint_table.
6598 Remove any unused global variables.
6599 * gdb.mi/mi-nonstop.exp: Likewise.
6600 * gdb.mi/mi-nsintrall.exp: Likewise.
6601 * gdb.mi/mi-nsmoribund.exp: Likewise.
6602 * gdb.mi/mi-nsthrexec.exp: Likewise.
6603 * gdb.mi/mi-reverse.exp: Likewise.
6604 * gdb.mi/mi-simplerun.exp: Likewise.
6605 * gdb.mi/mi-stepn.exp: Likewise.
6606 * gdb.mi/mi-syn-frame.exp: Likewise.
6607 * gdb.mi/mi-until.exp: Likewise.
6608 * gdb.mi/mi-var-cp.exp: Likewise.
6609 * gdb.mi/mi-var-display.exp: Likewise.
6610 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6611 * gdb.mi/mi2-var-child.exp: Likewise.
6612 * gdb.mi/mi-vla-c99.exp: Likewise.
6613 * lib/mi-support.exp: Likewise.
6614
6615 From Ian Lance Taylor <iant@cygnus.com>:
6616 * lib/gdb.exp (parse_args): New procedure.
6617
08351840
PA
66182014-04-23 Pedro Alves <palves@redhat.com>
6619
6620 * gdb.base/break-unload-file.c: New file.
6621 * gdb.base/break-unload-file.exp: New file.
6622 * gdb.base/sym-file-lib.c (baz): New function.
6623 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6624 field.
6625 (load): Store the segment's mapped size.
6626 (unload): New function.
6627 (unload_shlib): New function.
6628 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6629 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6630 set a breakpoint at baz, and call it.
6631 * gdb.base/sym-file.exp: New tests for stale breakpoint
6632 instructions.
6633
076855f9
PA
66342014-04-23 Pedro Alves <palves@redhat.com>
6635
6636 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6637 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6638 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6639 * gdb.base/hbreak-unmapped.c: New file.
6640 * gdb.base/hbreak-unmapped.exp: New file.
6641 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6642 * lib/gdb.exp (gdb_is_target_remote): ... here.
6643
483805cf
PA
66442014-04-22 Pedro Alves <palves@redhat.com>
6645
6646 * gdb.base/consecutive-step-over.c: New file.
6647 * gdb.base/consecutive-step-over.exp: New file.
6648
06d97543
PA
66492014-04-22 Pedro Alves <palves@redhat.com>
6650
6651 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6652 instead of send_gdb/gdb_expect.
6653
b4429ea2
YQ
66542014-04-22 Yao Qi <yao@codesourcery.com>
6655
6656 * lib/trace-support.exp (generate_tracefile): New procedure.
6657 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6658 return 0.
6659 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6660 if generate_tracefile returns 1.
6661
51d48146
PA
66622014-04-18 Tom Tromey <palves@redhat.com>
6663 Pedro alves <tromey@redhat.com>
6664
6665 PR backtrace/15558
6666 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6667 with a backtrace limit.
6668 * gdb.python/py-frame-inline.exp: Test running to an inline
6669 function with a backtrace limit, and printing the newest frame.
6670 * gdb.python/py-frame-inline.c (main): Call f.
6671
bd1dce5f
MS
66722014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6673
6674 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6675
40d1a503
MS
66762014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6677
6678 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6679 Drop prefix from unsupported source file path.
6680
389b98f7
YQ
66812014-04-17 Yao Qi <yao@codesourcery.com>
6682
6683 * lib/gdb.exp (with_target_charset): New proc.
6684 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6685 with_target_charset.
6686 (test_print_strings): Likewise.
6687 (test_repeat_bytes): Likewise.
6688 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6689 for some tests.
6690
22869d73
KS
66912014-04-16 Keith Seitz <keiths@redhat.com>
6692
6693 PR gdb/15827
6694 * gdb.dwarf2/corrupt.c: New file.
6695 * gdb.dwarf2/corrupt.exp: New file.
6696
c4f87ca6
KS
66972014-04-16 Keith Seitz <keiths@redhat.com>
6698
6699 PR c++/16597
6700 * gdb.cp/namelessclass.cc: New file.
6701 * gdb.cp/namelessclass.exp: New file.
6702 * gdb.cp/namelessclass.S: New file.
6703
ab19de87
DE
67042014-04-16 Doug Evans <dje@google.com>
6705
6706 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6707 Add comment.
6708 (gdbserver_default_get_comm_port): New function.
6709 (gdbserver_start): Check if board file provided
6710 "gdbserver,get_comm_port" and use it if so.
6711 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6712 (gdb,socketport): Set to "stdio".
6713 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6714 (stdio_gdbserver_template): Delete.
6715 (${board}_get_remote_address): Update.
6716 (${board}_build_remote_cmd): Delete.
6717 (${board}_get_comm_port): New function.
6718 (${board}_spawn): Update.
6719 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6720 Delete.
6721 (${board}_get_remote_address): Update.
6722 (${board}_get_comm_port): New function.
6723
fc98a809
AB
67242014-04-16 Andrew Burgess <aburgess@broadcom.com>
6725
6726 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6727 appearing in any order.
6728
87fd9e6e
DE
67292014-04-15 Doug Evans <dje@google.com>
6730
6731 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6732 uninitialized value of "description".
6733
099fc3ea
KS
67342014-04-15 Keith Seitz <keiths@redhat.com>
6735
6736 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6737 Remove unused globals.
6738 (test_running_the_program): Likewise.
6739 (test_controlled_execution): Likewise.
6740 (test_controlling_breakpoints): Likewise.
6741 (test_program_termination): Likewise.
6742
5da151d4
KS
67432014-04-15 Keith Seitz <keiths@redhat.com>
6744
6745 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6746 unused globals.
6747 (test_rbreak_creation_and_listing): Likewise.
6748 (test_ignore_count): Likewise.
6749 (test_error): Likewise.
6750
35e5d2f0
PA
67512014-04-15 Pedro Alves <palves@redhat.com>
6752
6753 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6754 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6755 sym-file-loader.c.
6756 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6757 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6758 to sym-file-loader.c.
6759 (struct library): Forward declare.
6760 (load_shlib, lookup_function): Change prototypes.
6761 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6762 (translate_offset): Remove declarations.
6763 (get_text_addr): New declaration.
6764 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6765 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6766 sym-file-loader.h.
6767 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6768 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6769 here from sym-file-loader.h.
6770 (struct library): New structure.
6771 (load_shlib, lookup_function): Change prototypes and adjust to
6772 work with a struct library.
6773 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6774 (translate_offset): Make static.
6775 (get_text_addr): New function.
6776 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6777
eb4c1710
PA
67782014-04-15 Pedro Alves <palves@redhat.com>
6779
6780 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6781
2d1baf52
PA
67822014-04-15 Pedro Alves <palves@redhat.com>
6783
6784 * gdb.base/sym-file-loader.c: Include <limits.h>.
6785 (SELF_LINK): New define.
6786 (get_origin): New function.
6787 (load_shlib): Use it.
6788 * gdb.base/sym-file.exp: Don't early return if the target is
6789 remote. Use runto_main, and issue fail is that fails. Use
6790 gdb_load_shlibs.
6791 (shlib_name): Delete.
6792 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6793
7dd6df01
PA
67942014-04-15 Pedro Alves <palves@redhat.com>
6795
6796 * gdb.base/sym-file.exp: Remove regex characters from test
6797 message. Don't refer to breakpoint numbers in test messages.
6798
b50c8614
KS
67992014-04-14 Keith Seitz <keiths@redhat.com>
6800
6801 PR c++/16253
6802 * gdb.cp/var-tag.cc: New file.
6803 * gdb.cp/var-tag.exp: New file.
6804 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6805 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6806 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6807 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6808
3d567982
TT
68092014-04-14 Tom Tromey <tromey@redhat.com>
6810
6811 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6812 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6813 type.
6814 * gdb.cp/enum-class.exp: New file.
6815 * gdb.cp/enum-class.cc: New file.
6816
0626fc76
TT
68172014-04-14 Tom Tromey <tromey@redhat.com>
6818
6819 * gdb.dwarf2/enum-type.exp: New file.
6820
dca325b3
SA
68212014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6822
6823 * gdb.mi/mi-vla-c99.exp: New file.
6824 * gdb.mi/vla.c: New file.
6825
5854b38a
SA
68262014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6827
6828 * gdb.base/vla-datatypes.c: New file.
6829 * gdb.base/vla-datatypes.exp: New file.
6830
463bb957
SA
68312014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6832
6833 * gdb.base/vla-ptr.c: New file.
6834 * gdb.base/vla-ptr.exp: New file.
6835
3dd170be
SA
68362014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6837
6838 * gdb.dwarf2/count.exp: New file.
6839
5ecaaa66
SA
68402014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6841
6842 * gdb.base/vla-sideeffect.c: New file.
6843 * gdb.base/vla-sideeffect.exp: New file.
6844
41f1ada5
DB
68452014-04-14 David Blaikie <dblaikie@gmail.com>
6846
6847 * gdb.mi/non-stop.c: Add return value for non-void function return
6848 statement.
6849 * gdb.threads/staticthreads.c: Ditto.
6850
0be03e84
DE
68512014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6852 Doug Evans <xdje42@gmail.com>
6853
6854 * gdb.guile/scm-value.c: Improve test case.
6855 * gdb.guile/scm-value.exp: Add new test.
6856
f180a1fb
DB
68572014-04-11 David Blaikie <dblaikie@gmail.com>
6858
6859 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6860 override Clang's default.
6861
6b662e19
JB
68622014-04-11 Joel Brobecker <brobecker@adacore.com>
6863
6864 Revert the following changes (regressions):
6865
6866 * gdb.base/vla-sideeffect.c: New file.
6867 * gdb.base/vla-sideeffect.exp: New file.
6868
6869 * gdb.dwarf2/count.exp: New file.
6870
6871 * gdb.base/vla-multi.c: New file.
6872 * gdb.base/vla-multi.exp: New file.
6873
6874 * gdb.base/vla-ptr.c: New file.
6875 * gdb.base/vla-ptr.exp: New file.
6876
6877 * gdb.base/vla-datatypes.c: New file.
6878 * gdb.base/vla-datatypes.exp: New file.
6879
6880 * gdb.mi/mi-vla-c99.exp: New file.
6881 * gdb.mi/vla.c: New file.
6882
245a5f0b
KS
68832014-04-11 Keith Seitz <keiths@redhat.com>
6884
6885 PR c++/16675
6886 * gdb.cp/cpsizeof.exp: New file.
6887 * gdb.cp/cpsizeof.cc: New file.
6888
58a84dcf
SA
68892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6890
191a8a90
JB
6891 * gdb.mi/mi-vla-c99.exp: New file.
6892 * gdb.mi/vla.c: New file.
58a84dcf 6893
c8655f75
SA
68942014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6895
6896 * gdb.base/vla-datatypes.c: New file.
6897 * gdb.base/vla-datatypes.exp: New file.
6898
024e13b4
SA
68992014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6900
6901 * gdb.base/vla-ptr.c: New file.
6902 * gdb.base/vla-ptr.exp: New file.
6903
1a237e0e
SA
69042014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6905
6906 * gdb.base/vla-multi.c: New file.
6907 * gdb.base/vla-multi.exp: New file.
6908
504f3432
SA
69092014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6910
6911 * gdb.dwarf2/count.exp: New file.
6912
3bce8237
SA
69132014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6914
191a8a90
JB
6915 * gdb.base/vla-sideeffect.c: New file.
6916 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6917
322f9c21
YQ
69182014-04-11 Yao Qi <yao@codesourcery.com>
6919
6920 * gdb.base/completion.exp: Check file exists before running tests
6921 on file completion.
6922
d708bcd1
PA
69232014-04-10 Pedro Alves <palves@redhat.com>
6924
6925 * gdb.base/cond-eval-mode.c: New file.
6926 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6927 prepare_for_testing to build the new file. Check result of
6928 runto_main.
6929 (test_break, test_watch): New procedures.
6930 (top level): Use them.
6931
ae1d2761
PM
69322014-04-08 Pierre Muller <muller@sourceware.org>
6933
6934 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6935 Ctrl-V use for mingw hosts.
6936
7af389b8
SC
69372014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6938
6939 * gdb.python/py-value.c: Improve test case.
6940 * gdb.python/py-value.exp: Add new test.
6941
5e703181
DE
69422014-04-07 David Blaikie <dblaikie@gmail.com>
6943
6944 * lib/compiler.c: Identify the clang compiler.
6945 * lib/compiler.cc: Ditto.
6946
9810b410
YQ
69472014-04-03 Yao Qi <yao@codesourcery.com>
6948
6949 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6950
98d1b8dc
AB
69512014-04-01 Anton Blanchard <anton@samba.org>
6952
6953 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6954 messages unique.
6955
3114cea1
AB
69562014-04-01 Anton Blanchard <anton@samba.org>
6957
6958 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6959 prepare_for_testing.
6960
62f7182c
AB
69612014-04-01 Anton Blanchard <anton@samba.org>
6962
6963 * gdb.arch/ppc64-atomic-inst.c: Remove.
6964 * gdb.arch/ppc64-atomic-inst.S: New file.
6965 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6966
770e7fc7
DE
69672014-03-31 Doug Evans <dje@google.com>
6968
6969 * gdb.base/print-symbol-loading-lib.c: New file.
6970 * gdb.base/print-symbol-loading-main.c: New file.
6971 * gdb.base/print-symbol-loading.exp: New file.
6972
46e2bafa
YQ
69732014-03-31 Yao Qi <yao@codesourcery.com>
6974
6975 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6976
8776cfe9
JB
69772014-03-28 Joel Brobecker <brobecker@adacore.com>
6978
6979 * gdb.ada/mi_dyn_arr: New testcase.
6980
5d1ef361
DE
69812014-03-27 Doug Evans <dje@google.com>
6982
6983 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6984
b5bee914
YQ
69852014-03-27 Yao Qi <yao@codesourcery.com>
6986
6987 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6988 if target is nios2-*-*.
6989
0d4d0e77
YQ
69902014-03-26 Yao Qi <yao@codesourcery.com>
6991
6992 * lib/gdb.exp (readline_is_used): New proc.
6993 * gdb.base/completion.exp: Move tests on command complete up.
6994 Skip the rest of tests if readline is not used.
6995 * gdb.ada/complete.exp: Skp the test if readline is not
6996 used.
6997 * gdb.base/filesym.exp: Likewise.
6998 * gdb.base/macscp.exp: Likewise.
6999 * gdb.base/readline-ask.exp: Likewise.
7000 * gdb.base/readline.exp: Likewise.
7001 * gdb.python/py-cmd.exp: Likewise.
7002 * gdb.trace/tfile.exp: Likewise.
7003
29361eee
YQ
70042014-03-26 Yao Qi <yao@codesourcery.com>
7005
7006 * gdb.base/macscp.exp: Fix code format issues.
7007
bc9a5525
UW
70082014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7009
7010 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7011 * gdb.asm/powerpc64le.inc: New file.
7012
d3839ede
PA
70132014-03-25 Pedro Alves <palves@redhat.com>
7014 Doug Evans <dje@google.com>
7015
7016 * gdb.base/source-execution.c: New file.
7017 * gdb.base/source-execution.exp: New file.
7018 * gdb.base/source-execution.gdb: New file.
7019
01672a57
DE
70202014-03-24 Doug Evans <dje@google.com>
7021
7022 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7023 using fission.
7024
88bbeca9
HZ
70252014-03-24 Hui Zhu <hui@codesourcery.com>
7026 Pedro Alves <palves@redhat.com>
7027
7028 PR breakpoints/16101
7029 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7030 test pass/fail messages. Detect missing support for dprintf when
7031 breakpoints are actually inserted.
7032 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7033 breakpoints are actually inserted.
7034 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7035 fails.
7036
d2348791
JK
70372014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7038
7039 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7040
feef67ab
DE
70412014-03-22 Doug Evans <xdje42@gmail.com>
7042
7043 * gdb.python/python.exp (python not supported): Verify multi-line
7044 python command issues an error.
25d743f9 7045 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 7046 guile command issues an error.
feef67ab 7047
ecebef6a
MR
70482014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7049
7050 * gdb.threads/thread-specific.exp: Handle the lack of usable
7051 $this_breakpoint and $this_thread.
7052
ccdd1909
HZ
70532014-03-21 Hui Zhu <hui@codesourcery.com>
7054
7055 * gdb.base/attach.exp (do_command_attach_tests): New.
7056
beb460e8
PA
70572014-03-20 Tom Tromey <tromey@redhat.com>
7058 Pedro Alves <palves@redhat.com>
7059
7060 PR cli/15718
7061 * gdb.base/condbreak-call-false.c: New file.
7062 * gdb.base/condbreak-call-false.exp: New file.
7063
40acf43a
PA
70642014-03-20 Pedro Alves <palves@redhat.com>
7065
7066 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7067 Delete.
7068 (block_signals, unblock_signals): Delete.
7069 (child_function_2, main): Remove references to deleted variable
7070 and functions.
7071
9f5e1e02
PA
70722014-03-20 Pedro Alves <palves@redhat.com>
7073
7074 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7075 Use pthread_kill to signal thread 2.
7076 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7077 Adjust to make the test send itself a signal rather than using the
7078 host's "kill" command.
7079
99619bea
PA
70802014-03-20 Pedro Alves <palves@redhat.com>
7081
7082 * gdb.threads/multiple-step-overs.c: New file.
7083 * gdb.threads/multiple-step-overs.exp: New file.
7084 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7085 Adjust expected infrun debug output.
7086
2adfaa28
PA
70872014-03-20 Pedro Alves <palves@redhat.com>
7088
7089 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7090 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7091
31e77af2
PA
70922014-03-20 Pedro Alves <palves@redhat.com>
7093
7094 PR breakpoints/7143
7095 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7096 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7097 of gdb_test_multiple.
7098 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7099 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7100
b9f437de
PA
71012014-03-20 Pedro Alves <palves@redhat.com>
7102
7103 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7104 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7105
05adc73e
PA
71062014-03-19 Pedro Alves <palves@redhat.com>
7107
7108 * gdb.base/async.exp: Remove early return.
7109
6048b950
PA
71102014-03-19 Pedro Alves <palves@redhat.com>
7111
7112 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7113
8bcfb00a
PA
71142014-03-19 Pedro Alves <palves@redhat.com>
7115
7116 * gdb.base/async.exp (test_background): Expect \r\n after
7117 "completed." in the fail pattern.
7118
884e37dc
PA
71192014-03-19 Pedro Alves <palves@redhat.com>
7120
7121 * gdb.base/async.exp (test_background): New procedure.
7122 Use it for all background execution command tests.
7123
148e57e2
PA
71242014-03-19 Pedro Alves <palves@redhat.com>
7125
7126 * gdb.base/async.exp: Use prepare_for_testing.
7127
f48088c7
PA
71282014-03-19 Pedro Alves <palves@redhat.com>
7129
7130 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7131 the same line.
7132
e2f6c966
PA
71332014-03-19 Pedro Alves <palves@redhat.com>
7134
7135 * gdb.base/async.c (main): Add "jump here" and "until here" line
7136 marker comments.
7137 * gdb.base/async.exp (jump_here): New global.
7138 (jump& test): Use it.
7139 (until_here): New global.
7140 (until& test): Use it.
7141
c30568d4
PA
71422014-03-19 Pedro Alves <palves@redhat.com>
7143
7144 * gdb.base/async.exp: Don't frob gdb_protocol.
7145
0172b6a7
DE
71462014-03-18 Doug Evans <xdje42@gmail.com>
7147
7148 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7149 Fix spelling of exec-done-display.
7150
06c868a8
JK
71512014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7152
7153 PR gdb/15358
7154 * gdb.base/gdb-sigterm.c: New file.
7155 * gdb.base/gdb-sigterm.exp: New file.
7156
0c7e1a46
PA
71572014-03-18 Pedro Alves <palves@redhat.com>
7158
7159 PR gdb/13860
7160 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7161 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7162 solib-event.
7163
f7c77d93
JB
71642014-03-17 Joel Brobecker <brobecker@adacore.com>
7165
7166 * gdb.ada/pckd_arr_ren: New testcase.
7167
5a1e8c7a
DE
71682014-03-13 Doug Evans <xdje42@gmail.com>
7169
7170 PR guile/16612
7171 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7172 collect after discarding symbols.
7173
350e1a76
DE
71742014-03-13 Ludovic Courtès <ludo@gnu.org>
7175 Doug Evans <xdje42@gmail.com>
7176
7177 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7178 to history survives a gc.
7179
a69900ae
PA
71802014-03-13 Pedro Alves <palves@redhat.com>
7181
7182 * gdb.base/default.exp: Don't test "target procfs".
7183
5db9f0bd
PA
71842014-03-13 Pedro Alves <palves@redhat.com>
7185
7186 * gdb.base/default.exp: Update "target child" and "target procfs"
7187 tests to not expect "Unix".
7188
b3ccfe11
TT
71892014-03-12 Tom Tromey <tromey@redhat.com>
7190
7191 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7192 New procs. Add target-async tests.
7193 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7194 Add target-async tests.
7195
646f4417
AA
71962014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7197
7198 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7199 'func_start' and 'func_end' for the beginning and end of the
7200 function code, respectively.
7201 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7202 'func_end' instead of 'func' and 'main'.
7203
288c211f
AA
72042014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7205
7206 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7207 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7208 generate the debug info assembler source.
7209
e0c0f156
AA
72102014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7211
7212 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7213 * gdb.dwarf2/arr-subrange.exp: Likewise.
7214 * gdb.dwarf2/dwz.exp: Likewise.
7215 * gdb.dwarf2/method-ptr.exp: Likewise.
7216 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7217 * gdb.dwarf2/subrange.exp: Likewise.
7218 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7219 * gdb.dwarf2/implptrpiece.exp: Likewise.
7220 * gdb.dwarf2/nostaticblock.exp: Likewise.
7221
0e5c4555
AA
72222014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7223
7224 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7225 directory to absolute path name arguments.
7226
5ec18f2b
JG
72272014-03-10 Joel Brobecker <brobecker@adacore.com>
7228
7229 * gdb.ada/tagged_access: New testcase.
7230
847fc4f2
MM
72312014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7232
7233 * gdb.btrace/data.exp: Update expected output.
7234
cc3da688
YQ
72352014-03-06 Yao Qi <yao@codesourcery.com>
7236
7237 * gdb.trace/pr16508.exp: New file.
7238
0f26cec1
PA
72392014-03-05 Pedro Alves <palves@redhat.com>
7240
7241 PR gdb/16575
7242 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7243 procedure.
7244 (top level): Adjust to use it. Add tests that exercise breakpoint
7245 interaction with the code-cache.
7246
7a5a839f
LC
72472014-02-26 Ludovic Courtès <ludo@gnu.org>
7248
7249 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7250 test for 'history-append!'.
7251
31aa7e4e
JB
72522014-02-26 Joel Brobecker <brobecker@adacore.com>
7253
7254 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7255 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7256 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7257 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7258 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7259 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7260
1b588015
JB
72612014-02-26 Joel Brobecker <brobecker@adacore.com>
7262
7263 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7264 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7265 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7266
55426c9d
JB
72672014-02-26 Joel Brobecker <brobecker@adacore.com>
7268
7269 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7270
dc53a7ad
JB
72712014-02-26 Joel Brobecker <brobecker@adacore.com>
7272
7273 * gdb.dwarf2/arr-stride.c: New file.
7274 * gdb.dwarf2/arr-stride.exp: New file.
7275
12ab52e9
PA
72762014-02-26 Pedro Alves <palves@redhat.com>
7277
7278 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7279 that won't ever trigger. Make sure that GDB reports the correct
7280 breakpoint that caused the stop.
7281
849c862e
JK
72822014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7283
7284 PR gdb/16626
7285 * gdb.base/auto-load-script: New file.
7286 * gdb.base/auto-load.c: New file.
7287 * gdb.base/auto-load.exp: New file.
7288
71b7d793
JK
7289 PR gdb/16626
7290 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7291
e2f0d509
JK
72922014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7293
7294 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7295 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7296
50cc37c8
DE
72972014-02-24 Doug Evans <dje@google.com>
7298
7299 * lib/gdb.exp (run_on_host): Log error output if program fails.
7300
ea4758f2
PA
73012014-02-21 Pedro Alves <palves@redhat.com>
7302
7303 * gdb.threads/step-after-sr-lock.c: Rename to ...
7304 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7305 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7306 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7307 ... this.
7308
d7b30f67
SDJ
73092014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7310
7311 PR tdep/16397
7312 * gdb.arch/amd64-stap-special-operands.exp: New file.
7313 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7314 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7315 * gdb.arch/amd64-stap-triplet.S: Likewise.
7316 * gdb.arch/amd64-stap-triplet.c: Likewise.
7317
83deb43f
JB
73182014-02-20 Joel Brobecker <brobecker@adacore.com>
7319
7320 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7321 in .section pseudo-op.
7322
adde2bff
DE
73232014-02-20 lin zuojian <manjian2006@gmail.com>
7324 Joel Brobecker <brobecker@adacore.com>
7325 Doug Evans <xdje42@gmail.com>
7326
7327 PR symtab/16581
7328 * gdb.dwarf2/dw2-icycle.S: New file.
7329 * gdb.dwarf2/dw2-icycle.c: New file.
7330 * gdb.dwarf2/dw2-icycle.exp: New file.
7331
f7bd0f78
SC
73322014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7333
7334 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7335 operations on gdb.Value objects.
7336 * gdb.python/py-value-cc.exp: Add new test to test operations on
7337 gdb.Value objects.
7338
c17ef0d5
DE
73392014-02-18 Doug Evans <dje@google.com>
7340
7341 * Makefile.in (TESTS): New variable.
7342 (expanded_tests, expanded_tests_or_none): New variables
7343 (check-single): Pass $(expanded_tests_or_none) to runtest.
7344 (check-parallel): Only run tests in $(TESTS) if non-empty.
7345 (check/no-matching-tests-found): New rule.
7346 * README: Document TESTS makefile variable.
7347
5dd3176f
DE
73482014-02-18 Doug Evans <dje@google.com>
7349
7350 * Makefile.in (check-parallel): rm -rf outputs temp.
7351
0b10be4f
JK
73522014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7353
7354 Fix "ERROR: no fileid for" in the testsuite.
7355 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7356
85f224e7
DE
73572014-02-12 Doug Evans <dje@google.com>
7358
7359 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7360 (MISCELLANEOUS): New variable.
7361 (clean): rm -rf $(MISCELLANEOUS).
7362 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7363 dwp live in the same directory as symlinks, with each symlink pointed
7364 to a differently named file in a different directory.
7365
149b30ff
DE
73662014-02-11 Doug Evans <dje@google.com>
7367
7368 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7369 of Tcl file commands.
7370
1dfdac32
MK
73712014-02-10 Mark Kettenis <kettenis@gnu.org>
7372
7373 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7374 "kill -SIGUSR1 -1".
7375
aa4fb036
JB
73762014-02-10 Joel Brobecker <brobecker@adacore.com>
7377
7378 * gdb.ada/tick_length_array_enum_idx: New testcase.
7379
ed3ef339
DE
73802014-02-10 Doug Evans <xdje42@gmail.com>
7381
7382 * configure.ac (AC_OUTPUT): Add gdb.guile.
7383 * configure: Regenerate.
7384 * lib/gdb-guile.exp: New file.
7385 * lib/gdb.exp (get_target_charset): New function.
7386 * gdb.base/help.exp: Update expected output from "apropos apropos".
7387 * gdb.guile/Makefile.in: New file.
7388 * gdb.guile/guile.exp: New file.
7389 * gdb.guile/scm-arch.c: New file.
7390 * gdb.guile/scm-arch.exp: New file.
7391 * gdb.guile/scm-block.c: New file.
7392 * gdb.guile/scm-block.exp: New file.
7393 * gdb.guile/scm-breakpoint.c: New file.
7394 * gdb.guile/scm-breakpoint.exp: New file.
7395 * gdb.guile/scm-disasm.c: New file.
7396 * gdb.guile/scm-disasm.exp: New file.
7397 * gdb.guile/scm-equal.c: New file.
7398 * gdb.guile/scm-equal.exp: New file.
7399 * gdb.guile/scm-error.exp: New file.
7400 * gdb.guile/scm-error.scm: New file.
7401 * gdb.guile/scm-frame-args.c: New file.
7402 * gdb.guile/scm-frame-args.exp: New file.
7403 * gdb.guile/scm-frame-args.scm: New file.
7404 * gdb.guile/scm-frame-inline.c: New file.
7405 * gdb.guile/scm-frame-inline.exp: New file.
7406 * gdb.guile/scm-frame.c: New file.
7407 * gdb.guile/scm-frame.exp: New file.
7408 * gdb.guile/scm-generics.exp: New file.
7409 * gdb.guile/scm-gsmob.exp: New file.
7410 * gdb.guile/scm-iterator.c: New file.
7411 * gdb.guile/scm-iterator.exp: New file.
7412 * gdb.guile/scm-math.c: New file.
7413 * gdb.guile/scm-math.exp: New file.
7414 * gdb.guile/scm-objfile-script-gdb.in: New file.
7415 * gdb.guile/scm-objfile-script.c: New file.
7416 * gdb.guile/scm-objfile-script.exp: New file.
7417 * gdb.guile/scm-objfile.c: New file.
7418 * gdb.guile/scm-objfile.exp: New file.
7419 * gdb.guile/scm-ports.exp: New file.
7420 * gdb.guile/scm-pretty-print.c: New file.
7421 * gdb.guile/scm-pretty-print.exp: New file.
7422 * gdb.guile/scm-pretty-print.scm: New file.
7423 * gdb.guile/scm-section-script.c: New file.
7424 * gdb.guile/scm-section-script.exp: New file.
7425 * gdb.guile/scm-section-script.scm: New file.
7426 * gdb.guile/scm-symbol.c: New file.
7427 * gdb.guile/scm-symbol.exp: New file.
7428 * gdb.guile/scm-symtab-2.c: New file.
7429 * gdb.guile/scm-symtab.c: New file.
7430 * gdb.guile/scm-symtab.exp: New file.
7431 * gdb.guile/scm-type.c: New file.
7432 * gdb.guile/scm-type.exp: New file.
7433 * gdb.guile/scm-value-cc.cc: New file.
7434 * gdb.guile/scm-value-cc.exp: New file.
7435 * gdb.guile/scm-value.c: New file.
7436 * gdb.guile/scm-value.exp: New file.
7437 * gdb.guile/source2.scm: New file.
7438 * gdb.guile/types-module.cc: New file.
7439 * gdb.guile/types-module.exp: New file.
7440
7026a7c1
YQ
74412014-02-10 Yao Qi <yao@codesourcery.com>
7442
7443 PR testsuite/16543
7444 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7445 * configure: Regenerated.
7446 * Makefile.in: New file.
7447
6c466447
AS
74482014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7449
7450 * gdb.python/py-framefilter.exp: Fix typo.
7451
6e854735
YQ
74522014-02-08 Yao Qi <yao@codesourcery.com>
7453
7454 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7455 that no =breakpoint-modified is emitted when breakpoints are
7456 modified through MI commands.
7457
d137e6dc
PA
74582014-02-07 Pedro Alves <pedro@codesourcery.com>
7459 Pedro Alves <palves@redhat.com>
7460
7461 * gdb.threads/step-after-sr-lock.c: New file.
7462 * gdb.threads/step-after-sr-lock.exp: New file.
7463
b5ee5a50
PA
74642014-02-07 Pedro Alves <palves@redhat.com>
7465
7466 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7467
3c77faf3
JK
74682014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7469
7470 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7471 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7472
6dddc817
DE
74732014-02-06 Doug Evans <xdje42@gmail.com>
7474
7475 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7476 output.
7477
7478 * gdb.gdb/python-interrupts.exp: New file.
7479
de7b2893
YQ
74802014-02-05 Yao Qi <yao@codesourcery.com>
7481
7482 * gdb.trace/report.exp (use_collected_data): Test the output
7483 of "info threads" and "info inferiors".
7484
66d032ac
YQ
74852014-02-05 Yao Qi <yao@codesourcery.com>
7486
7487 Revert this patch:
7488
7489 2013-05-24 Yao Qi <yao@codesourcery.com>
7490
7491 * gdb.trace/tfile.exp: Test inferior and thread.
7492
591a12a1
UW
74932014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7494
7495 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7496 on a function.
7497 * gdb.base/step-bt.c: Call hello via function pointer to make
7498 sure its first instruction is executed on powerpc64le-linux.
7499
0ff3e01f
UW
75002014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7501
7502 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7503
084ee545
UW
75042014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7505
7506 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7507 of the test patterns for use on little-endian systems.
7508
6ed14ff3
UW
75092014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7510
7511 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7512 (decimal_vector): Fix for little-endian.
7513
401e27fd
JM
75142014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7515
7516 * gdb.arch/sparc-sysstep.exp: New file.
7517 * gdb.arch/sparc-sysstep.c: Likewise.
7518
7519 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7520
8b924729
EBM
75212014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7522
7523 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7524
fb151210
JB
75252014-01-23 Tom Tromey <tromey@redhat.com>
7526
7527 * gdb.ada/array_char_idx: New testcase.
7528
0740f8d8
TT
75292014-01-23 Tom Tromey <tromey@redhat.com>
7530
7531 PR python/16487:
7532 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7533 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7534 classes.
7535
21909fa1
TT
75362014-01-23 Tom Tromey <tromey@redhat.com>
7537
7538 PR python/16491:
7539 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7540 string from an inferior frame.
7541 * gdb.python/py-framefilter-mi.exp: Update.
7542
87ce2a04
DE
75432014-01-22 Doug Evans <dje@google.com>
7544
7545 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7546
237b092b
AA
75472014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7548
7549 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7550
d674a709
AA
75512014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7552
7553 * gdb.trace/entry-values.exp: Remove excess space character from
7554 regex patterns. Handle s390 call instruction.
7555
20fa3390
AA
75562014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7557
7558 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7559 define "*_start" label. Make "name" static.
7560 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7561 ${name} by references to ${name}_start.
7562
78466714
AA
75632014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7564
7565 * gdb.base/info-macros.exp: Remove "debug" from the compile
7566 options.
7567
ec9f644a
IB
75682014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7569
7570 * gdb.dlang/demangle.exp: New file.
7571
94b1b47e
IB
75722014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7573
7574 * gdb.dlang/primitive-types.exp: New file.
7575
7f420862
IB
75762014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7577
7578 * configure.ac: Create gdb.dlang/Makefile.
7579 * configure: Regenerate.
7580 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7581 * gdb.dlang/Makefile.in: New file.
7582 * lib/d-support.exp: New file.
7583 * lib/gdb.exp (skip_d_tests): New proc.
7584
52834460
MM
75852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7586
7587 * gdb.btrace/delta.exp: Check reverse stepi.
7588 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7589 * gdb.btrace/finish.exp: New.
7590 * gdb.btrace/next.exp: New.
7591 * gdb.btrace/nexti.exp: New.
7592 * gdb.btrace/record_goto.c: Add comments.
7593 * gdb.btrace/step.exp: New.
7594 * gdb.btrace/stepi.exp: New.
7595 * gdb.btrace/multi-thread-step.c: New.
7596 * gdb.btrace/multi-thread-step.exp: New.
7597 * gdb.btrace/rn-dl-bind.c: New.
7598 * gdb.btrace/rn-dl-bind.exp: New.
7599 * gdb.btrace/data.c: New.
7600 * gdb.btrace/data.exp: New.
7601 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7602
6e07b1d2
MM
76032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7604
7605 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7606 * gdb.btrace/exception.exp: Update.
7607 * gdb.btrace/instruction_history.exp: Update.
7608 * gdb.btrace/record_goto.exp: Update.
7609 * gdb.btrace/tailcall.exp: Update.
7610 * gdb.btrace/unknown_functions.exp: Update.
7611 * gdb.btrace/delta.exp: New.
7612
0b722aec
MM
76132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7614
7615 * gdb.btrace/record_goto.exp: Add backtrace test.
7616 * gdb.btrace/tailcall.exp: Add backtrace test.
7617
066ce621
MM
76182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7619
7620 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7621 * gdb.btrace/record_goto.c: New.
7622 * gdb.btrace/record_goto.exp: New.
7623 * gdb.btrace/x86-record_goto.S: New.
7624
0688d04e
MM
76252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7626
7627 * gdb.btrace/function_call_history.exp: Update tests.
7628 * gdb.btrace/instruction_history.exp: Update tests.
7629
8710b709
MM
76302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7631
7632 * gdb.btrace/function_call_history.exp: Fix expected field
7633 order for "record function-call-history".
7634 Add new tests for "record function-call-history /c".
7635 * gdb.btrace/exception.cc: New.
7636 * gdb.btrace/exception.exp: New.
7637 * gdb.btrace/tailcall.exp: New.
7638 * gdb.btrace/x86-tailcall.S: New.
7639 * gdb.btrace/x86-tailcall.c: New.
7640 * gdb.btrace/unknown_functions.c: New.
7641 * gdb.btrace/unknown_functions.exp: New.
7642 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7643
5de9129b
MM
76442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7645
7646 * gdb.btrace/instruction_history.exp: Update.
7647 * gdb.btrace/function_call_history.exp: Update.
7648
23a7fe75
MM
76492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7650
7651 * gdb.btrace/function_call_history.exp: Fix expected function
7652 trace.
7653 * gdb.btrace/instruction_history.exp: Initialize traced.
7654 Remove traced_functions.
7655
724c7dd8
MM
76562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7657
7658 * gdb.btrace/function_call_history.exp: Update
7659 * gdb.btrace/instruction_history.exp: Update.
7660
6d78d93b
MM
76612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7662
7663 * gdb.btrace/enable.exp: Update expected text.
7664
93a360cc
OJ
76652014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7666
7667 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7668 bytes.
7669
3772b53f
MR
76702014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7671
7672 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7673
596662fa
OJ
76742014-01-15 Omair Javaid <omair.javaid@linaro.org>
7675
7676 * lib/gdb.exp (supports_process_record): Return true for
7677 arm*-linux*. (supports_reverse): Likewise.
7678
b5b08fb4
SC
76792014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7680
7681 PR python/15464
7682 PR python/16113
7683 * gdb.python/py-type.c: Enhance test case.
7684 * gdb.python/py-value-cc.cc: Likewise
7685 * gdb.python/py-type.exp: Add new tests.
7686 * gdb.python/py-value-cc.exp: Likewise
7687
52d7fb13
AA
76882014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7689 Pedro Alves <palves@redhat.com>
7690
7691 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7692 Make "name" extern.
7693 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7694 references to ${name}_start by references to ${name}.
7695
a2cd8cfe
JB
76962014-01-10 Joel Brobecker <brobecker@adacore.com>
7697
7698 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7699
4e23fced
JB
77002014-01-10 Joel Brobecker <brobecker@adacore.com>
7701
7702 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7703
c6a9e42c
PA
77042014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7705 Pedro Alves <palves@redhat.com>
7706
7707 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7708 mi_gdb_target_load.
c6a9e42c 7709
b7ea362b
PA
77102014-01-08 Pedro Alves <palves@redhat.com>
7711
7712 * gdb.threads/reconnect-signal.c: New file.
7713 * gdb.threads/reconnect-signal.exp: New file.
7714
5e3f4fab
EBM
77152014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7716
7717 * gdb.base/source-dir.exp: New file.
7718
79301218
JB
77192014-01-07 Joel Brobecker <brobecker@adacore.com>
7720
7721 * gdb.ada/mi_interface: New testcase.
7722
8e355c5d
JB
77232014-01-07 Joel Brobecker <brobecker@adacore.com>
7724
7725 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7726 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7727 gdb.ada/pp-rec-component/pck.ads: New files.
7728
c0d48811
JB
77292014-01-07 Joel Brobecker <brobecker@adacore.com>
7730
7731 * gdb.python/py-pp-integral.c: New file.
7732 * gdb.python/py-pp-integral.py: New file.
7733 * gdb.python/py-pp-integral.exp: New file.
7734
17b609c3 7735For older changes see ChangeLog-1993-2013.
c906108c 7736\f
8d8cb839
EZ
7737;; Local Variables:
7738;; mode: change-log
7739;; left-margin: 8
7740;; fill-column: 74
7741;; version-control: never
7742;; End:
902f2ccb 7743
618f726f 7744 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7745 Copying and distribution of this file, with or without modification,
7746 are permitted provided the copyright notice and this notice are preserved.
This page took 3.463943 seconds and 4 git commands to generate.