]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
PR gas/19744: Thumb-1 pcrop relocations don't work on Thumb-2 targets
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
00dbd492
PA
12016-03-09 Pedro Alves <palves@redhat.com>
2
3 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
4 signal" -> "Thread NN received signal" output change.
5 * gdb.threads/ia64-sigill.exp: Likewise.
6 * gdb.threads/linux-dp.exp: Likewise.
7 * gdb.threads/manythreads.exp: Likewise.
8 * gdb.threads/pending-step.exp: Likewise.
9 * gdb.threads/print-threads.exp: Likewise.
10 * gdb.threads/sigstep-threads.exp: Likewise.
11 * gdb.threads/staticthreads.exp: Likewise.
12 * gdb.threads/tls.exp: Likewise.
13
b04fd3be
MK
142016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15
16 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
17 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
18 * gdb.trace/pending.exp: Accept leading dot before function name.
19 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
20 * lib/trace-support.exp: Set registers for ppc.
21
98fa59e9
MK
222016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
23
24 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
25 use it for disassembly; accept .main in addition to main in backtrace.
26
f77198c8
MK
272016-03-09 Wei-cheng Wang <cole945@gmail.com>
28 Marcin Kościelnicki <koriakin@0x04.net>
29
30 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
31 (gdb_recursion_test_ptr): New global variable.
32 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
33 gdb_recursion_test.
34 (gdb_c_test): Ditto.
35
ba84e0da
MK
362016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
37
38 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
39 ordering.
40
4366d36e
MK
412016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
42
43 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
44 (bar): Add bar_start_lbl label.
45 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
46 of foo/bar for emitting DWARF and tracing.
47
5eb264df
SDJ
482016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
49
50 * analyze-racy-logs.py: Set executable bit.
51
fb6a751f
SDJ
522016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
53
54 * Makefile.in (DEFAULT_RACY_ITER): New variable.
55 (CHECK_TARGET_TMP): Likewise.
56 (check-single-racy): New rule.
57 (check-parallel-racy): Likewise.
58 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
59 (do-check-parallel-racy): New rule.
60 (check-racy/%.exp): Likewise.
61 * README (Racy testcases): New section.
62 * analyze-racy-logs.py: New file.
63
bdf7e230
DE
642016-03-03 Doug Evans <dje@google.com>
65
66 * gdb.base/skip.exp: Use with_test_prefix.
67
4719d415
YQ
682016-03-03 Yao Qi <yao.qi@linaro.org>
69
70 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
71 Invoke step_over_syscall "clone" and break_cond_on_syscall
72 "clone".
73 * gdb.base/step-over-clone.c: New file.
74
ea507862
YQ
752016-03-03 Yao Qi <yao.qi@linaro.org>
76
77 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
78 code format.
79
8fc8cbda
YQ
802016-03-03 Yao Qi <yao.qi@linaro.org>
81
82 * gdb.base/disp-step-fork.c: Rename to ...
83 * gdb.base/step-over-fork.c: ... it. New file.
84 * gdb.base/disp-step-vfork.c: Rename to ...
85 * gdb.base/step-over-vfork.c: ... it. New file.
86 * gdb.base/disp-step-syscall.exp: Rename to ...
87 * gdb.base/step-over-syscall.exp: ... it. New file.
88 (disp_step_cross_syscall): Rename to ...
89 (step_over_syscall): ... it.
90
92fa70b0
YQ
912016-03-03 Yao Qi <yao.qi@linaro.org>
92
93 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
94 If target supports condition evaluation on target, invoke
95 break_cond_on_syscall for fork and vfork.
96
e197ad3c
YQ
972016-03-03 Yao Qi <yao.qi@linaro.org>
98
99 * gdb.base/disp-step-syscall.exp: Don't invoke
100 support_displaced_stepping.
101 (disp_step_cross_syscall): Test with displaced stepping off and
102 on if supported.
103
0b47da9f
YQ
1042016-03-03 Yao Qi <yao.qi@linaro.org>
105
106 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
107 proc.
108 (setup): New proc.
109 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
110 and setup.
111
065ab6dc
BH
1122016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
113
114 * gdb.fortran/vla-history.exp: Remove breakpoint.
115
07e448ad 1162016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
117
118 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
119
9ac2d526 1202016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
121
122 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
123
17807369
BH
1242016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
125
126 * gdb.mi/vla.f90: Nullify pointer after declaration.
127
86e501af
PA
1282016-03-01 Pedro Alves <palves@redhat.com>
129
130 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
131
1e903e32
PA
1322016-03-01 Pedro Alves <palves@redhat.com>
133
134 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
135 before anything else.
136 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
137 _GNU_SOURCE here.
138 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
139 before anything else.
140 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
141
6ccb54e2
PA
1422016-03-01 Pedro Alves <palves@redhat.com>
143
144 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
145
30ca9da1
YQ
1462016-03-01 Yao Qi <yao.qi@linaro.org>
147
148 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
149 prepare_for_testing.
150
dc856b38
YQ
1512016-03-01 Yao Qi <yao.qi@linaro.org>
152
153 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
154
4a932159
AA
1552016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
156
157 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
158 manually constructing the output path.
159
f2489477
AA
1602016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
161
162 * gdb.arch/s390-stackless.S: New.
163 * gdb.arch/s390-stackless.exp: New.
164
38899f16
IB
1652016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
166
167 * gdb.dlang/circular.c: New file.
168 * gdb.dlang/circular.exp: New file.
169
9fde51ed
YQ
1702016-02-26 Yao Qi <yao.qi@linaro.org>
171
172 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
173 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
174 (testcases): Update.
175
ce90fefe
YQ
1762016-02-26 Yao Qi <yao.qi@linaro.org>
177
178 * gdb.reverse/aarch64.c: Rename to ...
179 * gdb.reverse/insn-reverse.c: ... it.
180 * gdb.reverse/aarch64.exp: Rename to ...
181 * gdb.reverse/insn-reverse.exp: ... it.
182
3263bceb
YQ
1832016-02-26 Yao Qi <yao.qi@linaro.org>
184
185 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
186 (testcase_ftype): New.
187 (testcases): New array.
188 (n_testcases): New.
189 (main): Call each element in testcases.
190 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
191 (read_testcase): New.
192 Do the tests in a loop.
193
6cb59ff1
YQ
1942016-02-25 Yao Qi <yao.qi@linaro.org>
195
196 * gdb.base/branches.c: Remove.
197
ae91f625
MK
1982016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
199
200 PR gdb/13808
201 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
202
678b48b7
MK
2032016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
204
205 * gdb.trace/ftrace.exp: Remove unnecessary target check.
206
7337a6f2
MK
2072016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
208
209 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
210 change x86_64 call_insn to 'callq'.
211
861ca91f
AT
2122016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
213
214 * gdb.trace/tfile-avx.c: Move to...
215 * gdb.trace/tracefile-pseudo-reg.c: Here.
216 * gdb.trace/tfile-avx.exp: Move to...
217 * gdb.trace/tracefile-pseudo-reg.exp: Here.
218
bf74e428
GB
2192016-02-24 Gary Benson <gbenson@redhat.com>
220
221 * gdb.base/attach-pie-noexec.exp: Do not expect an error
222 message on attach.
223
cce0e923
DE
2242016-02-23 Doug Evans <dje@google.com>
225
226 * gdb.base/skip.c (test_skip): New function.
227 (end_test_skip_file_and_function): New function.
228 (test_skip_file_and_function): New function.
229 * gdb.base/skip1.c (test_skip): New function.
230 (skip1_test_skip_file_and_function): New function.
231 * gdb.base/skip.exp: Add tests for new skip options.
232 * gdb.base/skip-solib.exp: Update expected output.
233 * gdb.perf/skip-command.cc: New file.
234 * gdb.perf/skip-command.exp: New file.
235 * gdb.perf/skip-command.py: New file.
236
4000e47e
MK
2372016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
238
239 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
240 info registers pattern.
241
24f75ead
IB
2422016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
243
244 * lib/future.exp: Add D support.
245 (gdb_find_gdc): New proc.
246 (gdb_default_target_compile): Add D support.
247
fbb7bcbe
WW
2482016-02-18 Wei-cheng Wang <cole945@gmail.com>
249
250 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
251 user+system time.
252 (trace_speed_test): Determine the iteration count for a time
253 between 15..30 seconds.
254
012b3a21
WT
2552016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
256
257 * gdb.arch/i386-mpx-sigsegv.c: New file.
258 * gdb.arch/i386-mpx-sigsegv.exp: New file.
259 * gdb.arch/i386-mpx-simple_segv.c: New file.
260 * gdb.arch/i386-mpx-simple_segv.exp: New file.
261
2d5189bd
YQ
2622016-02-18 Yao Qi <yao.qi@linaro.org>
263
264 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
265 Don't call setup_kfail.
266
40fb20d0
YQ
2672016-02-18 Yao Qi <yao.qi@linaro.org>
268
269 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
270 Set "set breakpoint condition-evaluation" per $cond_bp_target.
271
21b1f8d2
DE
2722016-02-16 Doug Evans <dje@google.com>
273
274 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
275 * gdb.base/skip1.c: Ditto.
276 * gdb.base/skip.exp: Whitespace cleanup.
277
4041ed77
DB
2782016-02-16 Don Breazeal <donb@codesourcery.com>
279
280 PR remote/19496
281 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
282 Remove kfail for PR remote/19496.
283
c4ef31bf
SM
2842016-02-16 Simon Marchi <simon.marchi@ericsson.com>
285
286 * lib/gdb.exp (standard_temp_file): Return a path specific to
287 the runtest invocation.
288
266b65b3
SM
2892016-02-16 Simon Marchi <simon.marchi@ericsson.com>
290
291 * gdb.trace/save-trace.exp: Change relative path to be in the
292 standard output directory.
293
a7a0a6a9
JK
2942016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
295
296 * gdb.arch/i386-prologue.c: Add missing prototypes.
297
c99dbb42
JK
2982016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
299
300 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
301 * gdb.arch/i386-prologue.exp: Likewise.
302 * gdb.arch/i386-size.exp: Likewise.
303
aa480355
SM
3042016-02-15 Simon Marchi <simon.marchi@ericsson.com>
305
306 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
307 define object file path.
308 * gdb.btrace/gcore.exp: Use standard_output_file to define core
309 file path.
310 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
311 standard_output_file to define binfile.
312
ba881f50
JK
3132016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
314
315 Fix compatibility with recent gfortran-5.3.1.
316 * gdb.fortran/vla-history.exp (print vla1 allocated)
317 (print vla2 allocated, print $2, print $3): Remove
318 (print $4): Rename to ...
319 (print $2): ... here.
320 (print $9): Rename to ...
321 (print $5): ... here.
322 (print $10): Rename to ...
323 (print $6): ... here.
324 * gdb.fortran/vla.f90: Add pvla initialization.
325
e9fb005c
JK
3262016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
327
328 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
329 New test.
330 * gdb.fortran/vla-value-sub.exp: Likewise.
331
e44e00ff
MK
3322016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
333
334 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
335
97e94151
SM
3362016-02-12 Simon Marchi <simon.marchi@ericsson.com>
337
338 * i386-biarch-core.exp: Define corefile using
339 standard_output_file.
340
01113bc1
YQ
3412016-02-12 Yao Qi <yao.qi@linaro.org>
342
343 * gdb.arch/arm-single-step-kernel-helper.c: New.
344 * gdb.arch/arm-single-step-kernel-helper.exp: New.
345
33b4777c
MM
3462016-02-12 Markus Metzger <markus.t.metzger@intel.com>
347
348 * gdb.btrace/tailcall-only.exp: New.
349 * gdb.btrace/tailcall-only.c: New.
350 * gdb.btrace/x86_64-tailcall-only.S: New.
351 * gdb.btrace/i686-tailcall-only.S: New.
352
acc23c11
PA
3532016-02-11 Pedro Alves <palves@redhat.com>
354
355 * README (Parallel testing): Add missing double quotes.
356
e352bf0a
PA
3572016-02-11 Pedro Alves <palves@redhat.com>
358
359 * README (Parallel testing): New section.
360 (GDB_PARALLEL): Rewrite.
361 (FORCE_PARALLEL): Document.
362
9f5fed78
MK
3632016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
364
365 * gdb.trace/tfile-avx.c: New test.
366 * gdb.trace/tfile-avx.exp: New test.
367
9ef9e6a6
KS
3682016-02-09 Keith Seitz <keiths@redhat.com>
369
370 PR breakpoints/19546
371 * gdb.base/infcall-exec.c: New file.
372 * gdb.base/infcall-exec2.c: New file.
373 * gdb.base/infcall-exec.exp: New file.
374
a96e36da
KS
3752016-02-09 Keith Seitz <keiths@redhat.com>
376
377 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
378 (toplevel): Call test_bkpt_address.
379
9f61929f
KS
3802016-02-09 Keith Seitz <keiths@redhat.com>
381
382 PR python/19506
383 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
384 (toplevel): Call test_bkpt_address.
385
1e94266c
SM
3862016-02-09 Simon Marchi <simon.marchi@ericsson.com>
387
388 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
389 to AC_OUTPUT.
390 * configure: Regenerate.
391
2a7f3dff
PA
3922016-02-09 Pedro Alves <palves@redhat.com>
393
394 PR breakpoints/19548
395 * gdb.base/execl-update-breakpoints.c (some_function): New
396 function.
397 (main): Call it.
398 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
399 Tighten expected GDB output.
400
2151ccc5
SM
4012016-02-08 Simon Marchi <simon.marchi@ericsson.com>
402
403 * Makefile.in (ALL_SUBDIRS): Remove.
404 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
405 (distclean maintainer-clean realclean): Likewise.
406 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
407 * configure: Regenerate.
408 * gdb.ada/Makefile.in: Delete.
409 * gdb.arch/Makefile.in: Likewise.
410 * gdb.asm/Makefile.in: Likewise.
411 * gdb.base/Makefile.in: Likewise.
412 * gdb.btrace/Makefile.in: Likewise.
413 * gdb.cell/Makefile.in: Likewise.
414 * gdb.compile/Makefile.in: Likewise.
415 * gdb.cp/Makefile.in: Likewise.
416 * gdb.disasm/Makefile.in: Likewise.
417 * gdb.dlang/Makefile.in: Likewise.
418 * gdb.dwarf2/Makefile.in: Likewise.
419 * gdb.fortran/Makefile.in: Likewise.
420 * gdb.gdb/Makefile.in: Likewise.
421 * gdb.go/Makefile.in: Likewise.
422 * gdb.guile/Makefile.in: Likewise.
423 * gdb.java/Makefile.in: Likewise.
424 * gdb.linespec/Makefile.in: Likewise.
425 * gdb.mi/Makefile.in: Likewise.
426 * gdb.modula2/Makefile.in: Likewise.
427 * gdb.multi/Makefile.in: Likewise.
428 * gdb.objc/Makefile.in: Likewise.
429 * gdb.opencl/Makefile.in: Likewise.
430 * gdb.opt/Makefile.in: Likewise.
431 * gdb.pascal/Makefile.in: Likewise.
432 * gdb.perf/Makefile.in: Likewise.
433 * gdb.python/Makefile.in: Likewise.
434 * gdb.reverse/Makefile.in: Likewise.
435 * gdb.server/Makefile.in: Likewise.
436 * gdb.stabs/Makefile.in: Likewise.
437 * gdb.threads/Makefile.in: Likewise.
438 * gdb.trace/Makefile.in: Likewise.
439 * gdb.xml/Makefile.in: Likewise.
440 * lib/gdb.exp (make_gdb_parallel_path): Add check for
441 GDB_PARALLEL.
442 (standard_output_file): Remove check for GDB_PARALLEL, always
443 return path in outputs/$subdir/$testname.
444
437277d4
SM
4452016-02-08 Simon Marchi <simon.marchi@ericsson.com>
446
447 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
448 (site.exp): Assign abs_srcdir to tcl's srcdir.
449
31d913c7
YQ
4502016-02-04 Yao Qi <yao.qi@linaro.org>
451
452 * gdb.base/foll-exec-mode.c: Include limits.h.
453 (main): Add parameters argc and argv. Get directory from
454 argv[0].
455 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
456 compilation.
457 * gdb.base/foll-exec.c: Include limits.h.
458 (main): Add parameters argc and argv.
459 Get directory from argv[0].
460 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
461 Adjust tests on the number of lines as source code changed.
462 * gdb.base/foll-vfork-exit.c: Include limits.h.
463 (main): Add one line of statement before vfork.
464 * gdb.base/foll-vfork.c: Include limits.h and string.h.
465 (main): Add parameters argc and argv. Get directory from
466 argv[0].
467 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
468 (setup_gdb): Set tbreak to skip some source lines.
469 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
470 (main): Add parameters argc and argv. Get directory from
471 argv[0].
472 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
473 compilation.
474 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
475 (main): Add parameters argc and argv. Get directory from
476 argv[0].
477 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
478 compilation.
479
9482b9fb
DE
4802016-02-01 Doug Evans <dje@google.com>
481
482 * gdb.base/skip.exp: Clean up multiple references to same test name.
483
6b2e4f10
PA
4842016-02-01 Pedro Alves <palves@redhat.com>
485
ccb6afd6 486 PR remote/19496
6b2e4f10
PA
487 * gdb.threads/forking-threads-plus-breakpoint.exp
488 (displaced_stepping_supported): New global.
489 (probe_displaced_stepping_support): New procedure.
490 (do_test): Add 'displaced' parameter, and use it.
491 (top level): Check for displaced stepping support. Add displaced
492 stepping on/off testing axis.
493
37a8db1a
AB
4942016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
495
496 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
497 pointer. Don't perform further tests on the unassociated pointer
498 if the first test fails.
499
5fdf6324
AB
5002016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
501
502 * gdb.base/max-value-size.c: New file.
503 * gdb.base/max-value-size.exp: New file.
504 * gdb.base/huge.exp: Disable max-value-size for this test.
505
935c6144
IB
5062016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
507
508 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
509
7fe8399d
YQ
5102016-01-28 Yao Qi <yao.qi@linaro.org>
511
512 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
513
a2077e25
PA
5142016-01-25 Pedro Alves <palves@redhat.com>
515
516 PR threads/19461
517 * gdb.base/fork-running-state.c: New file.
518 * gdb.base/fork-running-state.exp: New file.
519
1d2736d4
PA
5202016-01-25 Pedro Alves <palves@redhat.com>
521
522 PR gdb/19494
523 * gdb.base/catch-fork-kill.c: New file.
524 * gdb.base/catch-fork-kill.exp: New file.
525
f1da4b11
PA
5262016-01-25 Pedro Alves <palves@redhat.com>
527
528 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
529 Delete, moved to lib/gdb.exp.
530 * gdb.threads/forking-threads-plus-breakpoint.exp
531 (foreach_with_prefix): Likewise.
532 * gdb.threads/process-dies-while-handling-bp.exp
533 (foreach_with_prefix): Likewise.
534 * lib/gdb.exp (foreach_with_prefix): New procedure.
535
45f38546
MK
5362016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
537
538 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
539 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
540
dc29a1ce
MK
5412016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
542
543 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
544 endian targets.
545
092127d7
JK
5462016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
547 Pedro Alves <palves@redhat.com>
548
549 Fix testsuite compatibility with Guile.
550 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
551 number.
552
31d765d3
JK
5532016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
554
555 Fix testsuite compatibility with Guile.
556 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
557 (thread 1): New test for backtrace through signal handler.
558
1ac78c04
YQ
5592016-01-22 Yao Qi <yao.qi@linaro.org>
560
561 PR testsuite/19491
562 * gdb.base/multi-forks.c: Include
563 ../lib/unbuffer_output.c
564 (main): Call gdb_unbuffer_output.
565
4f5946a8
DE
5662016-01-21 Doug Evans <dje@google.com>
567
568 * lib/ada.exp (gdb_compile_ada): Fix typo.
569
305e13e6
JB
5702016-01-21 Joel Brobecker <brobecker@adacore.com>
571
572 * gdb.base/break-fun-addr.exp: New file.
573 * gdb.base/break-fun-addr1.c: New file.
574 * gdb.base/break-fun-addr2.c: New file.
575
5f5dfff6
SM
5762016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
577
578 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
579 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
580 enum flag values.
581
fd356fa2
AA
5822016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
583
584 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
585 when GDB can not set the vector return value. Add more comments
586 for clarification.
587
9df22175
AT
5882016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
589
590 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
591 command.
592
41d1845e
SM
5932016-01-19 Simon Marchi <simon.marchi@ericsson.com>
594
595 * Makefile.in (DO_RUNTEST): Add --status and update usages.
596
01ac6840
SM
5972016-01-19 Simon Marchi <simon.marchi@ericsson.com>
598
599 * Makefile.in (check-single): Pass --status to runtest.
600 (check/%.exp): Likewise.
601
6022016-01-19 Simon Marchi <simon.marchi@ericsson.com>
603
604 * Makefile.in (check-parallel): Propagate return code from make
605 do-check-parallel.
606
bd0a71fa
MK
6072016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
608
609 * gdb.trace/ftrace.exp: Fix expected message on continue.
610 * gdb.trace/pending.exp: Fix expected message on continue.
611 * gdb.trace/trace-break.exp: Fix expected message on continue.
612
8bcbad33
SM
6132016-01-18 Simon Marchi <simon.marchi@ericsson.com>
614
615 * lib/gdb.exp (gdb_test): Remove unused global references.
616
f303dbd6
PA
6172016-01-18 Pedro Alves <palves@redhat.com>
618
619 * gdb.base/async-shell.exp: Adjust expected output.
620 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
621 * gdb.base/siginfo-thread.exp: Adjust expected output.
622 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
623 * gdb.java/jnpe.exp: Adjust expected output.
624 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
625 * gdb.threads/continue-pending-status.exp: Adjust expected output.
626 * gdb.threads/leader-exit.exp: Adjust expected output.
627 * gdb.threads/manythreads.exp: Adjust expected output.
628 * gdb.threads/pthreads.exp: Adjust expected output.
629 * gdb.threads/schedlock.exp: Adjust expected output.
630 * gdb.threads/siginfo-threads.exp: Adjust expected output.
631 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
632 expected output.
633 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
634 output.
635 * gdb.threads/sigthread.exp: Adjust expected output.
636 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
637
b2789696
YQ
6382016-01-18 Yao Qi <yao.qi@linaro.org>
639
640 * gdb.guile/scm-section-script.c: Replace @progbits with
641 %progbits.
642 * gdb.python/py-section-script.c: Likewise.
643
71ef29a8
PA
6442016-01-15 Pedro Alves <palves@redhat.com>
645
646 * gdb.multi/tids.exp: Test star wildcard ranges.
647
3f5b7598
PA
6482016-01-15 Pedro Alves <palves@redhat.com>
649
650 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
651 command from "thread apply" invocation.
652 (thr_apply_info_thr_invalid): Default the expected output to the
653 input tid list.
654 (top level): Add tests that use convenience variables. Add tests
655 for "thread apply" with a valid TID list, but missing the command.
656
663f6d42
PA
6572016-01-13 Pedro Alves <palves@redhat.com>
658
659 * gdb.base/default.exp: Expect $_gthread as well.
660 * gdb.multi/tids.exp: Test $_gthread.
661 * gdb.threads/thread-specific.exp: Test $_gthread.
662
c84f6bbf
PA
6632016-01-13 Pedro Alves <palves@redhat.com>
664
665 * gdb.multi/tids.exp: Test "info threads -gid".
666
22a02324
PA
6672016-01-13 Pedro Alves <palves@redhat.com>
668
669 * gdb.multi/tids.exp: Test InferiorThread.global_num and
670 Breakpoint.thread.
671 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
672
5d5658a1
PA
6732016-01-07 Pedro Alves <palves@redhat.com>
674
675 * gdb.base/break.exp: Adjust to output changes.
676 * gdb.base/hbreak2.exp: Likewise.
677 * gdb.base/sepdebug.exp: Likewise.
678 * gdb.base/watch_thread_num.exp: Likewise.
679 * gdb.linespec/keywords.exp: Likewise.
680 * gdb.multi/info-threads.exp: Likewise.
681 * gdb.threads/thread-find.exp: Likewise.
682 * gdb.multi/tids.c: New file.
683 * gdb.multi/tids.exp: New file.
684
84654457
PA
6852016-01-13 Pedro Alves <palves@redhat.com>
686
687 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
688
e3940304
PA
6892016-01-13 Pedro Alves <palves@redhat.com>
690
691 * gdb.base/default.exp: Expect $_inferior as well.
692 * gdb.multi/base.exp: Test $_inferior.
693
a911d87a
PA
6942016-01-13 Pedro Alves <palves@redhat.com>
695
696 PR breakpoints/19388
697 * gdb.base/catch-signal-siginfo-cond.c: New file.
698 * gdb.base/catch-signal-siginfo-cond.exp: New file.
699
82075af2
JS
7002016-01-12 Josh Stone <jistone@redhat.com>
701 Philippe Waroquiers <philippe.waroquiers@skynet.be>
702
703 * gdb.base/catch-syscall.c (do_execve): New variable.
704 (main): Conditionally trigger an execve.
705 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
706 (test_catch_syscall_execve): New, check entry/return across execve.
707 (do_syscall_tests): Call test_catch_syscall_execve.
708
e46eeedd
PA
7092016-01-12 Pedro Alves <palves@redhat.com>
710
711 * gdb.base/random-signal.exp (do_test): New procedure, with body
712 of testcase moved in.
713
01d8c27e
JK
7142016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
715 Pedro Alves <palves@redhat.com>
716
717 * gdb.base/funcargs.exp (finish from indirectly called function):
718 Reintroduce the case for 'First'.
719
9a706302
JK
7202016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
721 Pedro Alves <palves@redhat.com>
722
723 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
724 (tcatch_vfork_then_child_follow_exec)
725 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
726 identification.
727
c0ecb95f
JK
7282016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
729
730 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
731 and repeats to unlimited.
732 * gdb.python/py-value.exp: Likewise.
733 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
734 and repeats to unlimited.
735
6cfc1fcb
JK
7362016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
737
738 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
739 and reordering the functions.
740 * gdb.multi/hangout.c: Likewise.
741 * gdb.multi/hello.c: Likewise.
742
582a1b00
SM
7432016-01-08 Simon Marchi <simon.marchi@ericsson.com>
744
745 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
746 absolute.
747 (SingleStatisticTestResult.report): Use dict.keys instead of
748 dict.iterkeys.
749
79bc59cb
PA
7502016-01-06 Pedro Alves <palves@redhat.com>
751
752 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
753
43368e1d
MM
7542016-01-04 Markus Metzger <markus.t.metzger@intel.com>
755
756 * gdb.btrace/dlopen.exp: New.
757 * gdb.btrace/dlopen.c: New.
758 * gdb.btrace/dlopen-dso.c: New.
759
79fad5b8
SL
7602015-12-25 Sandra Loosemore <sandra@codesourcery.com>
761
762 * lib/gdb.exp (gdb_test): Update comments to clarify that the
763 PATTERN argument is optional.
764
ab8314b3
JB
7652015-12-24 Joel Brobecker <brobecker@adacore.com>
766
767 * lib/ada.exp (target_compile_ada_from_dir): New function.
768 (gdb_compile_ada): Reimplement avoiding the use of project files.
769 * gdb.ada/gnat_ada.gpr: Delete.
770 * gdb.ada/cond_lang.exp: Adjust test to make path before
771 filename optional.
772 * gdb.ada/small_reg_param.exp: Likewise.
773
fe33faff
SM
7742015-12-22 Simon Marchi <simon.marchi@ericsson.com>
775
776 * gdb.base/foll-vork.exp: Remove HP-UX special case.
777
6d265cb4
TP
7782015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
779
780 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
781 case.
782
10125099
SM
7832015-12-21 Simon Marchi <simon.marchi@ericsson.com>
784
785 * gdb.base/break.exp: Remove dead code.
786 * gdb.base/sepdebug.exp: Likewise.
787
3ca22649
SM
7882015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
789
790 * gdb.asm/asm-source.exp: Remove HP-UX references.
791 * gdb.base/annota1.exp: Likewise.
792 * gdb.base/annota3.exp: Likewise.
793 * gdb.base/attach.exp: Likewise.
794 * gdb.base/bigcore.exp: Likewise.
795 * gdb.base/break.exp: Likewise.
796 * gdb.base/call-ar-st.exp: Likewise.
797 * gdb.base/callfuncs.exp: Likewise.
798 * gdb.base/catch-fork-static.exp: Likewise.
799 * gdb.base/display.exp: Likewise.
800 * gdb.base/foll-exec-mode.exp: Likewise.
801 * gdb.base/foll-exec.exp: Likewise.
802 * gdb.base/foll-fork.exp: Likewise.
803 * gdb.base/foll-vfork.exp: Likewise.
804 * gdb.base/funcargs.exp: Likewise.
805 * gdb.base/hbreak2.exp: Likewise.
806 * gdb.base/inferior-died.exp: Likewise.
807 * gdb.base/interrupt.exp: Likewise.
808 * gdb.base/multi-forks.exp: Likewise.
809 * gdb.base/nodebug.exp: Likewise.
810 * gdb.base/sepdebug.exp: Likewise.
811 * gdb.base/solib1.c: Likewise.
812 * gdb.base/step-test.exp: Likewise.
813 * gdb.mi/non-stop.c: Likewise.
814 * gdb.mi/pthreads.c: Likewise.
815 * gdb.multi/bkpt-multi-exec.ex: Likewise.
816 * gdb.threads/pthreads.c: Likewise.
817 * gdb.threads/staticthreads.exp: Likewise.
818 * lib/future.exp: Likewise.
819 * lib/gdb.exp: Likewise.
820 * gdb.base/so-indr-cl.c: Remove.
821 * gdb.base/so-indr-cl.exp: Likewise.
822 * gdb.base/solib.c: Likewise.
823 * gdb.base/solib.exp: Likewise.
824 * gdb.base/solib2.c: Likewise.
825
b6304613
SM
8262015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
827
828 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
829 * gdb.base/call-ar-st.exp: Likewise.
830 * gdb.base/callfuncs.exp: Likewise.
831 * gdb.base/condbreak.exp: Likewise.
832 * gdb.base/constvars.exp: Likewise.
833 * gdb.base/hbreak2.exp: Likewise.
834 * gdb.base/langs.exp: Likewise.
835 * gdb.base/list.exp: Likewise.
836 * gdb.base/long_long.exp: Likewise.
837 * gdb.base/ptype.exp: Likewise.
838 * gdb.base/scope.exp: Likewise.
839 * gdb.base/signals.exp: Likewise.
840 * gdb.base/so-impl-ld.exp: Likewise.
841 * gdb.base/varargs.exp: Likewise.
842 * gdb.base/volatile.exp: Likewise.
843 * gdb.base/whatis.exp: Likewise.
844 * gdb.cp/cplusfuncs.exp: Likewise.
845 * gdb.cp/inherit.exp: Likewise.
846 * gdb.cp/local.exp: Likewise.
847 * gdb.cp/member-ptr.exp: Likewise.
848 * gdb.cp/method.exp: Likewise.
849 * gdb.cp/overload.exp: Likewise.
850 * gdb.cp/templates.exp: Likewise.
851 * gdb.stabs/weird.exp: Likewise.
852 * lib/compiler.c: Likewise.
853 * lib/compiler.cc: Likewise.
854 * lib/cp-support.exp: Likewise.
855 * lib/gdb.exp: Likewise.
856
bf401b07
SM
8572015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
858
859 * configure.ac: Remove HP-UX case.
860 * configure: Regenerate.
861
aff9c0f8
SM
8622015-12-18 Simon Marchi <simon.marchi@ericsson.com>
863
864 * lib/gdb.exp (gdb_compile): Add function doc.
865
a6904d5a
PA
8662015-12-17 Pedro Alves <palves@redhat.com>
867
868 PR threads/19354
869 * gdb.multi/info-threads.exp: New file.
870
a22279dd
YQ
8712015-12-15 Yao Qi <yao.qi@linaro.org>
872
873 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
874 is aarch64*-*-*.
875
0588c796
SL
8762015-12-14 Sandra Loosemore <sandra@codesourcery.com>
877
878 * gdb.base/history-duplicates.exp: Skip if no readline support.
879
5d978e17
SL
8802015-12-14 Sandra Loosemore <sandra@codesourcery.com>
881
882 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
883
7e763b86
SL
8842015-12-14 Sandra Loosemore <sandra@codesourcery.com>
885
886 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
887
87a3a92c
SL
8882015-12-14 Sandra Loosemore <sandra@codesourcery.com>
889
890 * gdb.base/completion.exp: Skip tests that interrupt GDB with
891 ctrl-C if nointerrupts target property is set.
892 * gdb.base/double-prompt-target-event-error.exp: Likewise.
893 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
894 * gdb.base/paginate-bg-execution.exp: Likewise.
895 * gdb.base/paginate-execution-startup.exp: Likewise.
896 * gdb.base/random-signal.exp: Likewise.
897 * gdb.base/range-stepping.exp: Likewise.
898 * gdb.cp/annota2.exp: Likewise.
899 * gdb.cp/annota3.exp: Likewise.
900 * gdb.gdb/selftest.exp: Likewise.
901 * gdb.threads/continue-pending-status.exp: Likewise.
902 * gdb.threads/leader-exit.exp: Likewise.
903 * gdb.threads/manythreads.exp: Likewise.
904 * gdb.threads/pthreads.exp: Likewise.
905 * gdb.threads/schedlock.exp: Likewise.
906 * gdb.threads/sigthread.exp: Likewise.
907
a8f077dc
DB
9082015-12-11 Don Breazeal <donb@codesourcery.com>
909
910 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
911 remote.
912 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
913 * gdb.base/foll-exec.exp (main): Enable for target remote.
914 * gdb.base/foll-fork.exp (main): Likewise.
915 * gdb.base/foll-vfork.exp (main): Likewise.
916 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
917 (proc continue_to_exit_bp_loc): Use clean_restart.
918 * gdb.base/pie-execl.exp (main): Disable for target remote.
919 * gdb.base/watch-vfork.exp (main): Enable for target remote.
920 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
921 * gdb.threads/execl.exp (main): Likewise.
922 * gdb.threads/fork-child-threads.exp (main): Likewise.
923 * gdb.threads/fork-plus-threads.exp (main): Disable for target
924 remote.
925 * gdb.threads/fork-thread-pending.exp (main): Enable for target
926 remote.
927 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
928 pid.tid style ptids, instead of just tid.
929 * gdb.threads/thread-execl.exp (main): Enable for target remote.
930 * gdb.threads/watchpoint-fork.exp (main): Likewise.
931 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
932 ptids, instead of just tid.
933
3b2464a8
AB
9342015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
935
936 * gdb.base/list.exp (test_list_forward): Add end of file error
937 test.
938 (test_repeat_list_command): Add end of file error test.
939 (test_list_backwards): Add beginning of file error test.
940
a0def019
AB
9412015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
942
943 * gdb.base/list.exp (test_list_invalid_args): New function,
944 defined, and called.
945
5c000dff
AB
9462015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
947
948 * gdb.base/list.exp (test_list): Make test names unique.
949
f1637ebe
YQ
9502015-12-11 Yao Qi <yao.qi@linaro.org>
951
952 * gdb.base/coremaker2.c: Remove.
953
36d6fc0a
PA
9542015-12-10 Pedro Alves <palves@redhat.com>
955
956 * gdb.multi/base.exp: Remove stale "spaces" references.
957
762f7747
PA
9582015-12-10 Pedro Alves <palves@redhat.com>
959
960 * gdb.multi/base.exp: Don't use nowarnings.
961 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
962 * gdb.multi/hangout.c: Include stdio.h.
963 * gdb.multi/hello.c: Include stdlib.h.
964 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
965 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
966 * gdb.multi/multi-arch.exp: Don't use nowarnings.
967
28d2bfb9
AB
9682015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
969
970 * gdb.dwarf2/dw2-ranges-base.c: New file.
971 * gdb.dwarf2/dw2-ranges-base.exp: New file.
972 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
973 support additional line table, and debug ranges generation.
974 (Dwarf::ranges): New function, generate .debug_ranges.
975 (Dwarf::lines): Support generating simple line table programs.
976 (Dwarf::assemble): Initialise new namespace variables.
977
5fc2beac
KB
9782015-12-09 Kevin Buettner <kevinb@redhat.com>
979
980 * gdb.base/async.exp (proc test_background): Add case for
981 asynchronous execution not supported.
982
1c35a88f
LM
9832015-12-09 Luis Machado <lgustavo@codesourcery.com>
984
985 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
986 format and change test names to make them unique.
987
b593e3d9
RK
9882015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
989 Pedro Alves <pedro@redhat.com>
990
991 PR gdb/18702
992 Add checking of floatformats setup on x86_64 hosts.
993 * gdb.arch/i386-float.S (main): Load bigval and smallval.
994 (smallval, bigval): New labels/constants.
995 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
996 float" after loading bigval and smallval.
997
d72413e6
PMR
9982015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
999
1000 * gdb.ada/fun_overload_menu.exp: New testcase.
1001 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1002
ece66d65
JS
10032015-12-04 Josh Stone <jistone@redhat.com>
1004
1005 * gdb.base/catch-fork-static.exp: New.
1006
41d0efca
YQ
10072015-12-03 Yao Qi <yao.qi@linaro.org>
1008
1009 * gdb.base/sizeof.c: Don't include stdio.h and
1010 ../lib/unbuffer_output.c.
1011 (main): New variable 'size' and 'value'. Remove printf and
1012 gdb_unbuffer_output. Assign return value to size and value.
1013 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1014 at the beginning.
1015 (check_sizeof): Check the result by printing variable 'size'.
1016 (check_valueof): Check the result by printing variable 'value'.
1017
99fd02d9
YQ
10182015-12-01 Yao Qi <yao.qi@linaro.org>
1019
1020 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1021 for aarch64*-*-linux* target.
1022
f2faf941
PA
10232015-11-30 Pedro Alves <palves@redhat.com>
1024
1025 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1026
04bf20c5
PA
10272015-11-30 Pedro Alves <palves@redhat.com>
1028
1029 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1030 Handle non-stop mode vCont replies.
1031
09df4675
PA
10322015-11-30 Pedro Alves <palves@redhat.com>
1033
1034 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1035 prepare_for_testing. Start gdb with "set non-stop on" appended to
1036 GDBFLAGS. Lax expected stop output.
1037
58b584af
YQ
10382015-11-27 Yao Qi <yao.qi@linaro.org>
1039
1040 * gdb.arch/arm-neon.exp: New.
1041 * gdb.arch/arm-neon.c: New.
1042
dfcb77a8
YQ
10432015-11-27 Yao Qi <yao.qi@linaro.org>
1044
1045 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1046
88e8ec1b
YQ
10472015-11-27 Yao Qi <yao.qi@linaro.org>
1048
1049 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1050 frames-invalid annotation.
1051
bfde72c2
YQ
10522015-11-27 Yao Qi <yao.qi@linaro.org>
1053
1054 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1055
f6512a69
SM
10562015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1057
1058 * gdb.threads/names.exp: New file.
1059 * gdb.threads/names.c: New file.
1060 * README: Mention gdb,no_thread_names.
1061
46a3515b
MM
10622015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1063
1064 PR 19297
1065 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1066 support" error.
1067
62147a22
PA
10682015-11-24 Pedro Alves <palves@redhat.com>
1069
1070 PR 17539
1071 * gdb.base/display.exp: Expect displays to be sorted in ascending
1072 order. Use multi_line.
1073 * gdb.base/solib-display.exp: Likewise.
1074
2f341b6e
PA
10752015-11-24 Pedro Alves <palves@redhat.com>
1076
1077 PR 17539
1078 * gdb.base/display.exp: Expect displays to be sorted in ascending
1079 order. Use multi_line.
1080 * gdb.base/solib-display.exp: Likewise.
1081
7e0aa6aa
PA
10822015-11-24 Pedro Alves <palves@redhat.com>
1083
1084 PR 17539
1085 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1086 threads in ascending order.
1087 * gdb.base/foll-fork.exp: Likewise.
1088 * gdb.base/foll-vfork.exp: Likewise.
1089 * gdb.base/multi-forks.exp: Likewise.
1090 * gdb.mi/mi-nonstop.exp: Likewise.
1091 * gdb.mi/mi-nsintrall.exp: Likewise.
1092 * gdb.multi/base.exp: Likewise.
1093 * gdb.multi/multi-arch.exp: Likewise.
1094 * gdb.python/py-inferior.exp: Likewise.
1095 * gdb.threads/break-while-running.exp: Likewise.
1096 * gdb.threads/execl.exp: Likewise.
1097 * gdb.threads/gcore-thread.exp: Likewise.
1098 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1099 * gdb.threads/kill.exp: Likewise.
1100 * gdb.threads/linux-dp.exp: Likewise.
1101 * gdb.threads/multiple-step-overs.exp: Likewise.
1102 * gdb.threads/next-bp-other-thread.exp: Likewise.
1103 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1104 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1105 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1106 * gdb.threads/thread-find.exp: Likewise.
1107 * gdb.threads/tls.exp: Likewise.
1108 * lib/mi-support.exp (mi_reverse_list): Delete.
1109 (mi_check_thread_states): No longer reverse list.
1110
2cc57ad8
PA
11112015-11-24 Pedro Alves <palves@redhat.com>
1112
1113 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1114 use lowercase.
1115
c93e8391
SM
11162015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1117
1118 * gdb.trace/actions.c: Include trace-common.h.
1119 (main): Add a location for a fast tracepoint.
1120 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1121 the normal tracepoints.
1122 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1123
045ccf91
SM
11242015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1125
1126 * save-trace.exp: Factor out code to these...
1127 (gdb_save_tracepoints): New.
1128 (gdb_load_tracepoints): New.
1129 (do_save_load_test): New.
1130
5506f9f6
KB
11312015-11-23 Kevin Buettner <kevinb@redhat.com>
1132
1133 * gdb.base/asmlabel.exp: New test.
1134 * gdb.base/asmlabel.c: New test case.
1135
16c3b12f
JB
11362015-11-23 Joel Brobecker <brobecker@adacore.com>
1137
1138 * gdb.base/wrong_frame_bt_full-main.c: New file.
1139 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1140 * gdb.base/wrong_frame_bt_full.exp: New file.
1141
155bfbd3
JB
11422015-11-23 Joel Brobecker <brobecker@adacore.com>
1143
1144 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1145
bb097445
JM
11462015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1147
206853a0 1148 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
1149 pstate register when comparing registers values in
1150 sparc64-*-linux-gnu targets to avoid spurious differences.
1151
9c88ed8f
JM
11522015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1153
206853a0 1154 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 1155
96161e25
SL
11562015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1157
1158 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1159 as type argument to gdb_compile.
1160 * gdb.base/nested-subp2.exp: Likewise.
1161 * gdb.base/nested-subp3.exp: Likewise.
1162
340c2830
DV
11632015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1164
1165 * lib/dwarf.exp (_note): Fix left shift of negative value.
1166 * gdb.trace/trace-condition.exp: Likewise.
1167
c1862d0f
YQ
11682015-11-13 Yao Qi <yao.qi@linaro.org>
1169
1170 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1171 comments about d10v.
1172 (test_scalar_returns): Likewise.
1173 * gdb.base/d10v.ld: Remove.
1174 * gdb.base/overlays.exp: Remove the target triplet checking for
1175 d10v-*-*.
1176 * gdb.base/structs.exp (test_struct_returns): Remove the
1177 comments about d10v.
1178 (test_struct_calls): Likewise.
1179
77ae9c19
YQ
11802015-11-13 Yao Qi <yao.qi@linaro.org>
1181
1182 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1183 * gdb.base/gnu_vector.c: Don't include stdio.h.
1184 (main): Don't print res and call add_some_intvecs.
1185
430e004e
MK
11862015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1187
1188 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1189 macro.
1190 (func5): Removed.
1191 (func4): Use FAST_TRACEPOINT_LABEL.
1192 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1193 macro.
1194 (func): Removed.
1195 (thread_function): Use FAST_TRACEPOINT_LABEL.
1196 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1197 (func): Remove.
1198 (marker): Use FAST_TRACEPOINT_LABEL.
1199 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1200 (pendfunc1): Remove.
1201 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1202 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1203 (foo): Remove.
1204 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1205 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1206 macro.
1207 (func): Remove.
1208 (marker): Use FAST_TRACEPOINT_LABEL.
1209 * gdb.trace/trace-common.h: New header.
1210 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1211 macro.
1212 (func): Remove.
1213 (marker): Use FAST_TRACEPOINT_LABEL.
1214 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1215 (func): Remove.
1216 (thread_function): Use FAST_TRACEPOINT_LABEL.
1217
6e7675a7
MK
12182015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1219
1220 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1221 in front.
1222 * gdb.trace/change-loc.exp: Use global pcreg definition.
1223 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1224 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1225 in front.
1226 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1227 * gdb.trace/pending.exp: Likewise.
1228 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1229 * gdb.trace/trace-break.exp: Likewise.
1230 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1231 in front.
1232 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1233 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1234 in front.
1235 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1236
dddc0e16
JB
12372015-11-09 Joel Brobecker <brobecker@adacore.com>
1238
1239 * gdb.ada/fin_fun_out: New testcase.
1240
c6f0b406
KB
12412015-11-07 Kevin Buettner <kevinb@redhat.com>
1242
1243 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1244 value associated with DW_AT_byte_size.
1245 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1246 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1247 DW_AT_upper_bound.
1248
f01dcfd9
KB
12492015-11-07 Kevin Buettner <kevinb@redhat.com>
1250
1251 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1252 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1253 version.
1254 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1255 gdb.dwarf2/dw2-canonicalize-type.exp,
1256 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1257 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1258 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1259 provided by gdb_target_symbol_prefix_flags_asm.
1260 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1261 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1262 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1263 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1264 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1265 macros where needed). Use this macro for symbols which require
1266 the prefix provided by SYMBOL_PREFIX.
1267
2223449a
KB
12682015-11-05 Kevin Buettner <kevinb@redhat.com>
1269
1270 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1271 New procs.
1272 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1273 representing expressions, of more than one list element.
1274 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1275 to prepend linker symbol prefix to f.
1276 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1277 table_1 and table_2.
1278 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1279 Likewise, for f and g.
1280 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1281 for ptr.
1282 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1283 for main.
1284 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1285 table_1_ptr and table_2_ptr.
1286
6f2f1a3a
JK
12872015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1288 Joel Brobecker <brobecker@adacore.com>
1289
1290 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1291
566c56c9
MK
12922015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1293
1294 * gdb.reverse/s390-mvcle.c: New test.
1295 * gdb.reverse/s390-mvcle.exp: New file.
1296 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1297
d5f0636b
MK
12982015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1299
1300 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1301
7ad8b86c
MK
13022015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1303
1304 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1305 reaching marker2.
1306 * gdb.reverse/getresuid-reverse.exp: Likewise.
1307 * gdb.reverse/pipe-reverse.exp: Likewise.
1308 * gdb.reverse/readv-reverse.exp: Likewise.
1309 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1310 * gdb.reverse/time-reverse.exp: Likewise.
1311 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1312
4081c0f1
YQ
13132015-10-30 Yao Qi <yao.qi@linaro.org>
1314
1315 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1316 (empty_cycle): Remove.
1317 (main): Don't call empty_cycle. Don't use watch_count_done.
1318 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1319 empty_cycle. Rewrite the code counting HW watchpoints.
1320
452b4ba5
MK
13212015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1322
1323 * gdb.reverse/fstatat-reverse.c: New test.
1324 * gdb.reverse/fstatat-reverse.exp: New file.
1325 * gdb.reverse/getresuid-reverse.c: New test.
1326 * gdb.reverse/getresuid-reverse.exp: New file.
1327 * gdb.reverse/pipe-reverse.c: New test.
1328 * gdb.reverse/pipe-reverse.exp: New file.
1329 * gdb.reverse/readv-reverse.c: New test.
1330 * gdb.reverse/readv-reverse.exp: New file.
1331 * gdb.reverse/recvmsg-reverse.c: New test.
1332 * gdb.reverse/recvmsg-reverse.exp: New file.
1333 * gdb.reverse/time-reverse.c: New test.
1334 * gdb.reverse/time-reverse.exp: New file.
1335 * gdb.reverse/waitpid-reverse.c: New test.
1336 * gdb.reverse/waitpid-reverse.exp: New file.
1337
5e2e7507
JK
13382015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1339
1340 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1341
0fde2c53
DE
13422015-10-26 Doug Evans <dje@google.com>
1343
1344 PR symtab/17391
1345 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1346 * gdb.dwarf2/bad-regnum.c: New file.
1347 * gdb.dwarf2/bad-regnum.exp: New file.
1348
1a70ae97
DE
13492015-10-26 Doug Evans <dje@google.com>
1350
1351 PR python/18938
1352 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1353 file.
1354
27dc26ab
JK
13552015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1356
1357 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1358 for a change by "Mention language in compile error message".
1359
bed91f4d
SM
13602015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1361
1362 PR python/18073
1363 * gdb.python/py-type.c (C::a_method): New.
1364 (C::a_const_method): New.
1365 (C::a_static_method): New.
1366 (a_function): New.
1367 * gdb.python/py-type.exp (test_fields): Test getting fields
1368 from function and method.
1369
3f2f83dd
KB
13702015-10-21 Keven Boell <keven.boell@intel.com>
1371
1372 * gdb.fortran/vla-alloc-assoc.exp: New file.
1373 * gdb.fortran/vla-datatypes.exp: New file.
1374 * gdb.fortran/vla-datatypes.f90: New file.
1375 * gdb.fortran/vla-history.exp: New file.
1376 * gdb.fortran/vla-ptype-sub.exp: New file.
1377 * gdb.fortran/vla-ptype.exp: New file.
1378 * gdb.fortran/vla-sizeof.exp: New file.
1379 * gdb.fortran/vla-sub.f90: New file.
1380 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1381 * gdb.fortran/vla-value-sub-finish.exp: New file.
1382 * gdb.fortran/vla-value-sub.exp: New file.
1383 * gdb.fortran/vla-value.exp: New file.
1384 * gdb.fortran/vla-ptr-info.exp: New file.
1385 * gdb.mi/mi-vla-fortran.exp: New file.
1386 * gdb.mi/vla.f90: New file.
1387
27145d50
SL
13882015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1389
1390 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1391 of hardwired timeout value.
1392
5f3ff4f8
JK
13932015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1394 Pedro Alves <palves@redhat.com>
1395
1396 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1397 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1398
bfd09d20
JS
13992015-10-19 Josh Stone <jistone@redhat.com>
1400
1401 * gdb.base/catch-syscall.c: Include <sched.h>.
1402 (unknown_syscall): New variable.
1403 (main): Trigger a vfork and an unknown syscall.
1404 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1405 (unknown_syscall_number): Likewise.
1406 (check_call_to_syscall): Accept an optional syscall pattern.
1407 (check_return_from_syscall): Likewise.
1408 (check_continue): Likewise.
1409 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1410 (test_catch_syscall_skipping_return): New test toggling off 'catch
1411 syscall' to step over the syscall return, then toggling back on.
1412 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1413 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1414 (do_syscall_tests): Call test_catch_syscall_without_args and
1415 test_catch_syscall_mid_vfork.
1416 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1417 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1418
b32b93c6
AS
14192015-10-19 Andrew Stubbs <ams@codesourcery.com>
1420
1421 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1422 print g_vE): Add new pass patterns.
1423 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1424 print various symbol names for vptr fields.
1425
9d622bda
AB
14262015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1427
1428 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1429 results.
1430
0fd8ac1c
YQ
14312015-10-12 Yao Qi <yao.qi@linaro.org>
1432
1433 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1434
34240514
YQ
14352015-10-12 Yao Qi <yao.qi@linaro.org>
1436
1437 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1438 is aarch64*-*-linux*.
1439
8240f442
YQ
14402015-10-12 Yao Qi <yao.qi@linaro.org>
1441
1442 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1443 (can_relocate_bcond_true): ... it.
1444 (can_relocate_bcond_false): New function.
1445 (foo): Likewise.
1446 (can_relocate_bl): Likewise.
1447 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1448 can_relocate_bl.
1449
2520f728
PMR
14502015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1451
1452 * gdb.base/nested-addr.c: New file.
1453 * gdb.base/nested-addr.exp: New testcase.
1454
abcef95a
MM
14552015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1456
1457 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1458 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1459 its output. Ignore the output of "record goto begin" and instead
1460 check that GDB is replaying.
1461
145e3ddb
PA
14622015-10-09 Pedro Alves <palves@redhat.com>
1463
1464 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1465 (top level): Use it in the run with no args test.
1466
d5d8c4e1
IB
14672015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1468
1469 * gdb.dlang/properties.exp: New file.
1470
06e635ef
SL
14712015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1472
1473 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1474 whether or not address 0x1000 is mapped on the target.
1475
e019fd1d
SM
14762015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1477
1478 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1479 build.
1480
77ba2a67
MM
14812015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1482
1483 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1484 instruction-history test.
1485
c60eb31f
DE
14862015-09-28 Doug Evans <dje@google.com>
1487
1488 * gdb.base/gcore.c (array_func): Add reference to static_array.
1489
9a3c8263
SM
14902015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1491
1492 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1493 source line.
1494
9720e656
SL
14952015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1496
1497 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1498 short or char as base type.
1499
938d3bf2
SL
15002015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1501
1502 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1503 to allow any size enum.
1504
e6c2c623
PMR
15052015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1506
1507 * gdb.ada/array_ptr_renaming.exp: New testcase.
1508 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1509 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1510
06da0f77
PL
15112015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1512
1513 * gdb.trace/ftrace-lock.c: New file.
1514 * gdb.trace/ftrace-lock.exp: New file.
1515
4f51c22a
PL
15162015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1517
1518 * gdb.arch/insn-reloc.c: New file.
1519 * gdb.arch/ftrace-insn-reloc.exp: New file.
1520
7041adf4
PL
15212015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1522
1523 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1524 instruction.
1525 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1526 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1527 * gdb.trace/range-stepping.c: Likewise.
1528 * gdb.trace/trace-break.c: Likewise.
1529 * gdb.trace/trace-mt.c (thread_function): Likewise.
1530 * gdb.trace/ftrace.c (marker): Likewise.
1531 * gdb.trace/trace-condition.c (marker): Likewise.
1532 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1533 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1534 is_aarch64_target.
1535
015d2e7e
DE
15362015-09-18 Doug Evans <xdje42@gmail.com>
1537
1538 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1539 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1540
26b188a2
SL
15412015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1542
1543 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1544 the breakpoint.
1545
79dc332b
SL
15462015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1547
1548 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1549 the pending breakpoint. Remove timeout override for "Run till
1550 MI pending breakpoint on pendfunc3 on thread 2" test.
1551
f57929f2
SL
15522015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1553
1554 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1555 filename pattern.
1556
3f469b17
SL
15572015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1558
1559 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1560 in breakpoint filename pattern.
1561
515b89b3
SL
15622015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1563
7800dbe4
SL
1564 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1565
15662015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1567
515b89b3
SL
1568 * gdb.linespec/explicit.exp: Check for readline support for
1569 tab-completion tests. Fix obvious typo.
1570
d2939ba2
MM
15712015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1572
1573 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1574 and replay.
1575
cbb55fa7
MM
15762015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1577
1578 * gdb.btrace/non-stop.c: New.
1579 * gdb.btrace/non-stop.exp: New.
1580
43691ca1
PL
15812015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1582 Yao Qi <yao.qi@linaro.org>
1583
1584 * gdb.trace/trace-condition.c: New file.
1585 * gdb.trace/trace-condition.exp: New file.
1586
d78908cf
WW
15872015-09-16 Wei-cheng Wang <cole945@gmail.com>
1588
1589 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1590 for testing bytecode compilation.
1591
1ed415e2
PA
15922015-09-16 Pedro Alves <palves@redhat.com>
1593 Sandra Loosemore <sandra@codesourcery.com>
1594
1595 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1596 (SECONDS): Redefine.
1597 (main): Call pthread_kill and alarm early.
1598 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1599 support.
1600 (test): If the target can't hardware step and doesn't support
1601 displaced stepping, increase the timeout.
1602
d136eff5
PA
16032015-09-16 Pedro Alves <palves@redhat.com>
1604
1605 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1606 (enable_debug): New procedures.
1607 (test): Use them. Bail out if waiting for threads fails.
1608 (top level): Bail out if a test fails.
1609
991f019c
YQ
16102015-09-16 Yao Qi <yao.qi@linaro.org>
1611
1612 * gdb.asm/asm-source.exp: Set asm-arch for
1613 aarch64*-*-* target.
1614 * gdb.asm/aarch64.inc: New file.
1615
bfca584f
PMR
16162015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1617
1618 * gdb.ada/array_of_variable_length.exp: New testcase.
1619 * gdb.ada/array_of_variable_length/foo.adb: New file.
1620 * gdb.ada/array_of_variable_length/pck.adb: New file.
1621 * gdb.ada/array_of_variable_length/pck.ads: New file.
1622
b326e587
DE
16232015-09-15 Doug Evans <dje@google.com>
1624
1625 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1626 of function static local variable.
1627
5382cfab
PW
16282015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1629
1630 * gdb.threads/tls-so_extern.exp: New test file.
1631 * gdb.threads/tls-so_extern.c: New test file.
1632 * gdb.threads/tls-so_extern_main.c: New test file.
1633
141c5cc4
JK
16342015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1635
1636 * gdb.opt/solib-intra-step-lib.c: New file.
1637 * gdb.opt/solib-intra-step-main.c: New file.
1638 * gdb.opt/solib-intra-step.exp: New file.
1639
d15dcecd
PA
16402015-09-15 Pedro Alves <palves@redhat.com>
1641
1642 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1643 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1644
4c2f2a79
PA
16452015-09-14 Pedro Alves <palves@redhat.com>
1646
1647 * gdb.base/hook-stop-continue.c: Delete.
1648 * gdb.base/hook-stop-continue.exp: Delete.
1649 * gdb.base/hook-stop-frame.c: Delete.
1650 * gdb.base/hook-stop-frame.exp: Delete.
1651 * gdb.base/hook-stop.c: New file.
1652 * gdb.base/hook-stop.exp: New file.
1653
919e6dbe
PMR
16542015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1655
1656 * gdb.ada/access_to_packed_array.exp: New testcase.
1657 * gdb.ada/access_to_packed_array/foo.adb: New file.
1658 * gdb.ada/access_to_packed_array/pack.adb: New file.
1659 * gdb.ada/access_to_packed_array/pack.ads: New file.
1660
157280a4
MM
16612015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1662
1663 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1664 buffer size test.
1665
2fd33e94
DB
16662015-09-11 Don Breazeal <donb@codesourcery.com>
1667
1668 * gdb.base/foll-exec.c: Add copyright header. Fix
1669 formatting issues.
1670 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1671 (do_exec_tests): Use clean_restart in place of zap_session,
1672 and for test initialization. Fix formatting issues. Use
1673 fail in place of perror.
1674 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1675 an expect statement to match an expression with output from
1676 the program under debug.
1677 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1678 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1679 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1680 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1681 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1682
e70b6e8e
DE
16832015-09-09 Doug Evans <dje@google.com>
1684
1685 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1686
7a551a51
DE
16872015-09-09 Doug Evans <dje@google.com>
1688
1689 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1690
4c666f84
DE
16912015-09-09 Doug Evans <dje@google.com>
1692
1693 * gdb.base/savedregs.exp: Fix typo.
1694
243a9253
PA
16952015-09-09 Pedro Alves <palves@redhat.com>
1696
1697 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1698
c0fa8fbd
SL
16992015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1700
1701 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1702 command actually switches threads. Give up on remaining
1703 tests if target fails to stop at breakpoint.
1704
cd7c1778
PMR
17052015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1706
1707 * gdb.ada/funcall_char.exp: New testcase.
1708 * gdb.ada/funcall_char/foo.adb: New file.
1709
dc5c8746
PMR
17102015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1711
1712 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1713 expected outputs. Add two testcases for completing ambiguous
1714 functions.
1715 * gdb.ada/complete/aux_pck.adb: New file.
1716 * gdb.ada/complete/aux_pck.ads: New file.
1717 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1718 Ambiguous_Func functions.
1719 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1720 * gdb.ada/complete/pck.adb: Likewise.
1721
4e83a1e7
UW
17222015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1723
1724 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1725 failures to run the test program under GDB.
1726
8ce74153
LM
17272015-08-26 Luis Machado <lgustavo@codesourcery.com>
1728
1729 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1730 to C.
1731
e9756d52
PP
17322015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1733
1734 * gdb.base/run-after-attach.exp: New test file.
1735 * gdb.base/run-after-attach.c: New test file.
1736
8d37573b
DB
17372015-08-26 Don Breazeal <donb@codesourcery.com>
1738
1739 * gdb.base/foll-exec-2.c: New test program.
1740 * gdb.base/foll-exec-2.exp: New test.
1741
63e43d3a
PMR
17422015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1743
1744 * gdb.base/nested-subp1.exp: New file.
1745 * gdb.base/nested-subp1.c: New file.
1746 * gdb.base/nested-subp2.exp: New file.
1747 * gdb.base/nested-subp2.c: New file.
1748 * gdb.base/nested-subp3.exp: New file.
1749 * gdb.base/nested-subp3.c: New file.
1750
3d40fbb5
PA
17512015-08-24 Pedro Alves <palves@redhat.com>
1752
1753 * gdb.server/connect-without-multi-process.c: New file.
1754 * gdb.server/connect-without-multi-process.exp: New file.
1755
4422ac93
LM
17562015-08-24 Luis Machado <lgustavo@codesourcery.com>
1757
1758 * gdb.opt/inline-markers.c: Make z int.
1759
91dddb86
LM
17602015-08-24 Luis Machado <lgustavo@codesourcery.com>
1761
1762 * gdb.opt/inline-markers.c: Make z volatile.
1763
a48847ee
LM
17642015-08-24 Luis Machado <lgustavo@codesourcery.com>
1765
1766 * gdb.opt/inline-bt.c: New volatile global z.
1767 * gdb.opt/inline-cmds.c: Likewise.
1768 * gdb.opt/inline-locals.c: Likewise.
1769 * gdb.opt/inline-markers.c: New extern global z.
1770 (marker): Use z.
1771 (inline_fn): Likewise.
1772
0ebbc52b
PA
17732015-08-24 Pedro Alves <palves@redhat.com>
1774
1775 * config/m32r-stub.exp: Remove file.
1776 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1777 * gdb.base/call-rt-st.exp: Likewise.
1778 * gdb.base/call-strs.exp: Likewise.
1779 * gdb.base/default.exp: Remove references to h8300-*-hms and
1780 *-*-udi*.
1781 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1782
77c365df
AA
17832015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1784
1785 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1786 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1787 and "return" use KFAIL when GDB can not read/write the vector
1788 return value.
1789
4313b8c0
GB
17902015-08-21 Gary Benson <gbenson@redhat.com>
1791
1792 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1793
0e433b32
PA
17942015-08-20 Pedro Alves <palves@redhat.com>
1795
1796 * gdb.server/solib-list.exp: No longer expect an interior stop in
1797 non-stop mode.
1798
221e1a37
PA
17992015-08-20 Pedro Alves <palves@redhat.com>
1800
1801 * gdb.server/connect-stopped-target.c: New file.
1802 * gdb.server/connect-stopped-target.exp: New file.
1803
40e3ad0e
PA
18042015-08-20 Pedro Alves <palves@redhat.com>
1805
1806 * gdb.dwarf2/comp-unit-lang.exp: New file.
1807 * gdb.dwarf2/comp-unit-lang.c: New file.
1808
af39b327
PMR
18092015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1810
1811 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1812 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1813
7d45c7c3 18142015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1815
7d45c7c3
KB
1816 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1817 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1818
4d6cceb4
DE
18192015-08-18 Doug Evans <dje@google.com>
1820 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1821
1822 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1823 skip_python_tests. New arg prompt_regexp.
1824 (skip_python_tests): New function.
1825 * lib/mi-support.exp (mi_skip_python_tests): New function.
1826 * gdb.python/py-mi-objfile-gdb.py: New file.
1827 * gdb.python/py-mi-objfile.c: New file.
1828 * gdb.python/py-mi-objfile.exp: New file.
1829
ad89c2aa
KS
18302015-08-17 Keith Seitz <keiths@redhat.com>
1831
1832 * gdb.linespec/explicit.exp: Move strace test from here ...
1833 * gdb.trace/strace.exp: ... to here.
1834
e3ae3c43
PP
18352015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1836
1837 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1838 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1839
604b2636
DE
18402015-08-14 Doug Evans <xdje42@gmail.com>
1841
1842 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1843 inferior before selecting a new file.
1844
6ff0ba5f
DE
18452015-08-14 Doug Evans <xdje42@gmail.com>
1846
1847 * gdb.mi/mi-disassemble.exp: Update.
1848 * gdb.base/disasm-optim.S: New file.
1849 * gdb.base/disasm-optim.c: New file.
1850 * gdb.base/disasm-optim.h: New file.
1851 * gdb.base/disasm-optim.exp: New file.
1852
9ca98f92
KS
18532015-08-14 Keith Seitz <keiths@redhat.com>
1854
1855 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1856 "evaluated-by".
1857
52bbc560
JB
18582015-08-13 Joel Brobecker <brobecker@adacore.com>
1859
1860 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1861
5d8c3ed3
PMR
18622015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1863
1864 * gdb.ada/fun_renaming.exp: New testcase.
1865 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1866 * gdb.ada/fun_renaming/pack.adb: New file.
1867 * gdb.ada/fun_renaming/pack.ads: New file.
1868
ea8812bc
KS
18692015-08-12 Keith Seitz <keiths@redhat.com>
1870
1871 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1872 gdb_get_line_number.
1873
4dafcdeb
JB
18742015-08-12 Joel Brobecker <brobecker@adacore.com>
1875
1876 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1877 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1878 gdb.base/dso2dso.exp: New files.
1879
5ba32597
SDJ
18802015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1881 Pedro Alves <palves@redhat.com>
1882 Keith Seitz <keiths@redhat.com>
1883
1884 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1885 GDBFLAGS.
1886
b6dafabf
PP
18872015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1888
1889 * gdb.base/gdbhistsize-history.exp
1890 (test_histsize_history_setting): Use save_vars.
1891 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1892 Use save_vars.
1893 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1894 * gdb.base/readline.exp: Use save_vars.
1895
abe8e607
PP
18962015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1897
1898 * lib/gdb.exp (save_vars): New proc.
1899
629500fa
KS
19002015-08-11 Keith Seitz <keiths@redhat.com>
1901
1902 * gdb.base/help.exp: Update help_breakpoint_text.
1903
eb8c4e2e
KS
19042015-08-11 Keith Seitz <keiths@redhat.com>
1905
1906 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1907 (at toplevel): Call test_explicit_breakpoints.
1908 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1909 breakpoints.
1910 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1911 breakpoint conditions, "-cond".
1912
87f0e720
KS
19132015-08-11 Keith Seitz <keiths@redhat.com>
1914
1915 * gdb.linespec/3explicit.c: New file.
1916 * gdb.linespec/cpexplicit.cc: New file.
1917 * gdb.linespec/cpexplicit.exp: New file.
1918 * gdb.linespec/explicit.c: New file.
1919 * gdb.linespec/explicit.exp: New file.
1920 * gdb.linespec/explicit2.c: New file.
1921 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1922 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1923 before using in the matching pattern.
1924 Clarify that `prefix' is a regular expression.
1925
f00aae0f
KS
19262015-08-11 Keith Seitz <keiths@redhat.com>
1927
1928 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1929 test.
1930 Add tests for missing ",FMT" and ",".
1931
e27852be
DE
19322015-08-10 Doug Evans <dje@google.com>
1933 Keith Seitz <keiths@redhat.com>
1934
1935 PR gdb/17960
1936 * gdb.base/completion.exp: Add location completer tests.
1937
7f03bd92
PA
19382015-08-07 Pedro Alves <palves@redhat.com>
1939
1940 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1941 tests here.
1942 (top level): Run do_test with and without displaced stepping.
1943
3fc8eb30
PA
19442015-08-07 Pedro Alves <palves@redhat.com>
1945
1946 * gdb.base/valgrind-disp-step.c: New file.
1947 * gdb.base/valgrind-disp-step.exp: New file.
1948
d4569d7b
PA
19492015-08-07 Pedro Alves <palves@redhat.com>
1950
1951 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1952 Delete function.
1953 (main): Add alarm. Run an infinite loop instead of calling
1954 wait_threads.
1955 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1956 comment.
1957 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1958 Delete function.
1959 (main): Add alarm. Run an infinite loop instead of calling
1960 wait_threads.
1961 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1962 comment.
1963
e1316e60
PA
19642015-08-07 Pedro Alves <palves@redhat.com>
1965
1966 * gdb.base/checkpoint-ns.exp: New file.
1967 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1968 standard_testfile.
1969
da8c46d2
MM
19702015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1971
1972 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1973 * gdb.btrace/instruction_history.exp: Update.
1974 * gdb.btrace/tsx.exp: New.
1975 * gdb.btrace/tsx.c: New.
1976
de1c2c52
PA
19772015-08-06 Pedro Alves <palves@redhat.com>
1978
1979 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1980 increase timeout.
1981 * gdb.reverse/until-precsave.exp: Bump timeouts.
1982
782e0bf4
PA
19832015-08-06 Pedro Alves <palves@redhat.com>
1984
1985 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1986
83e97ed0
PA
19872015-08-06 Pedro Alves <palves@redhat.com>
1988
1989 PR gdb/18749
1990 * gdb.threads/process-dies-while-handling-bp.c: New file.
1991 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1992
863d01bd
PA
19932015-08-06 Pedro Alves <palves@redhat.com>
1994
1995 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1996 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1997
0a39bb32
PA
19982015-08-05 Pedro Alves <palves@redhat.com>
1999
2000 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2001 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2002
ee2d2b10
SL
20032015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2004
2005 * gdb.base/bp-permanent.exp: Report test as unsupported if
2006 the target cannot stop at the permanent breakpoint.
2007
4e1bdb00
DE
20082015-08-03 Doug Evans <dje@google.com>
2009
2010 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2011 10000.
2012
3d338901
DE
20132015-08-03 Doug Evans <dje@google.com>
2014
2015 * Makefile.in (workers/%.worker, build-perf): New rule.
2016 (GDB_PERFTEST_MODE): New variable.
2017 (check-perf): Use it.
2018 (clean): Clean up gdb.perf parallel build subdirs.
2019 * lib/build-piece.exp: New file.
2020 * lib/gdb.exp (make_gdb_parallel_path): New function
2021 (standard_output_file, standard_temp_file): Call it.
2022 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2023 of $GDB_PARALLEL.
2024 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2025
af061d3e
DE
20262015-08-03 Doug Evans <dje@google.com>
2027
8e1afc81 2028 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
2029 (LOG_FILE_NAME): New global.
2030 (TextReporter.__init__): Initialize self.txt_sum.
2031 (TextReporter.report): Add support for multiple data-points.
2032 Move report to perftest.sum, put raw data in perftest.log.
2033 (TextReporter.start): Open sum and log files.
2034 (TextReporter.end): Close sum and log files.
8e1afc81
DE
2035 * gdb.perf/lib/perftest/testresult.py
2036 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 2037
2c8c5d37
PA
20382015-07-31 Pedro Alves <palves@redhat.com>
2039
2040 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2041 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2042 kill_wait_spawned_process instead of explicit "kill -9".
2043 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2044 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2045 kill_wait_spawned_process.
2046 * gdb.base/attach-twice.exp: Likewise.
2047 * gdb.base/attach.exp: Likewise.
2048 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2049 gdb_test_multiple.
2050 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2051 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2052 kill_wait_spawned_process.
2053 * gdb.base/valgrind-infcall.exp: Likewise.
2054 * gdb.multi/multi-attach.exp: Likewise.
2055 * gdb.python/py-prompt.exp: Likewise.
2056 * gdb.python/py-sync-interp.exp: Likewise.
2057 * gdb.server/ext-attach.exp: Likewise.
2058 * gdb.threads/attach-into-signal.exp (corefunc): Use
2059 spawn_wait_for_attach, spawn_id_get_pid and
2060 kill_wait_spawned_process.
2061 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2062 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2063 spawn_id_get_pid and kill_wait_spawned_process.
2064 * gdb.threads/attach-stopped.exp (corefunc): Use
2065 spawn_wait_for_attach, spawn_id_get_pid and
2066 kill_wait_spawned_process.
2067 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2068 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2069 kill_wait_spawned_process instead of explicit "kill -9".
2070 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2071 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2072 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2073 processes. Don't map cygwin/windows pids here. Now returns a
2074 spawn id list.
2075
032a0fca
SL
20762015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2077
2078 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2079 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2080 correct patch.
2081
61a934ca
SL
20822015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2083
2084 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2085
4bc4d428
SL
20862015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2087
2088 Reapply:
2089 2014-05-21 Mark Wielaard <mjw@redhat.com>
2090
2091 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2092
998d452a
PA
20932015-07-30 Pedro Alves <palves@redhat.com>
2094
2095 * linux-low.c (handle_extended_wait): Set the child's last
2096 reported status to TARGET_WAITKIND_STOPPED.
2097
69dde7dc
PA
20982015-07-30 Pedro Alves <palves@redhat.com>
2099
2100 PR threads/18600
2101 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2102 only shows inferior 1.
2103
4dd63d48
PA
21042015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2105 Pedro Alves <palves@redhat.com>
2106
2107 PR threads/18600
2108 * gdb.threads/fork-plus-threads.c: New file.
2109 * gdb.threads/fork-plus-threads.exp: New file.
2110
d618e4c5
PP
21112015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2112
2113 * gdb.base/batch-preserve-term-settings.exp
2114 (test_terminal_settings_preserved_after_cli_exit): Use
2115 send_quit_command.
2116
1eef6428
PA
21172015-07-29 Pedro Alves <palves@redhat.com>
2118 Don Breazeal <donb@codesourcery.com>
2119
2120 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2121 output from both inferior_spawn_id and gdb_spawn_id.
2122
7da5b897
SDJ
21232015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2124
2125 * gdb.threads/attach-into-signal.exp (corefunc): Use
2126 with_test_prefix on nested loops, uniquefying the test messages.
2127
dac804df
SDJ
21282015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2129
2130 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2131 commit.
2132
06265e53
PP
21332015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2134
2135 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2136 New proc.
2137 (test_terminal_settings_preserved_after_sigterm): New test.
2138
18206ca3
PP
21392015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2140
2141 * gdb.base/batch-preserve-term-settings.exp
2142 (test_terminal_settings_preserved_after_cli_exit): New test.
2143
90074d11
PP
21442015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2145
2146 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2147 manipulation of saved_gdbflags.
2148 (test_terminal_settings_preserved): Remove global declaration of
2149 the unused variable pagination_prompt. Remove manipulation of
2150 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2151 GDBFLAGS.
2152
eb1a7902
PA
21532015-07-29 Pedro Alves <palves@redhat.com>
2154
2155 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2156
8b75dd3b
PA
21572015-07-29 Pedro Alves <palves@redhat.com>
2158
2159 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2160 at the top.
2161
dedad4e3
PA
21622015-07-29 Pedro Alves <palves@redhat.com>
2163
2164 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2165 (main): Call gdb_unbuffer_output.
2166 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2167 (main): Call gdb_unbuffer_output.
2168 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2169 (main): Call gdb_unbuffer_output.
2170 * gdb.base/call-strs.exp: Adjust to step over the
2171 gdb_unbuffer_output call.
2172 * gdb.base/catch-gdb-caused-signals.c: Include
2173 "../lib/unbuffer_output.c".
2174 (main): Call gdb_unbuffer_output.
2175 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2176 (main): Call gdb_unbuffer_output.
2177 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2178 (main): Call gdb_unbuffer_output.
2179 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2180 (main): Call gdb_unbuffer_output.
2181 * gdb.base/shlib-call.exp: Adjust to step over the
2182 gdb_unbuffer_output call.
2183 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2184 (main): Call gdb_unbuffer_output.
2185 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2186 (main): Call gdb_unbuffer_output.
2187 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2188 (main): Rename to ...
2189 (test): ... this.
2190 (main): Reimplement.
2191 * gdb.base/varargs.exp: Run to test instead of to main.
2192 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2193 (main): Call gdb_unbuffer_output.
2194
58789a91
PA
21952015-07-29 Pedro Alves <palves@redhat.com>
2196
2197 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2198 factore out from mi_continue_dprintf. For call-style dprintfs,
2199 expect dprintf output out of $inferior_spawn_id.
2200 (mi_continue_dprintf): Use mi_expect_dprintf.
2201 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2202 (main): Call gdb_unbuffer_output.
2203
e8376742
PA
22042015-07-29 Pedro Alves <palves@redhat.com>
2205
2206 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2207 (default_mi_gdb_start): Set inferior_spawn_id instead of
2208 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2209 gdb_spawn_id.
2210 (mi_gdb_test): Always expect inferior output from both
2211 $inferior_spawn_id and $gdb_spawn_id.
2212
08280010
PA
22132015-07-29 Pedro Alves <palves@redhat.com>
2214
2215 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2216 send_inferior and $inferior_spawn_id.
2217
4d30e432
PA
22182015-07-29 Pedro Alves <palves@redhat.com>
2219
2220 * gdb.gdb/complaints.exp (test_initial_complaints)
2221 (test_serial_complaints, test_short_complaints): Use
2222 gdb_test_stdio.
2223 (test_empty_complaint): Handle $inferior_spawn_id !=
2224 $gdb_spawn_id.
2225
0d30a335
PA
22262015-07-29 Pedro Alves <palves@redhat.com>
2227
2228 * gdb.base/varargs.exp: Use gdb_test_stdio.
2229
39413b29
PA
22302015-07-29 Pedro Alves <palves@redhat.com>
2231
2232 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2233
7cb000a9
PA
22342015-07-29 Pedro Alves <palves@redhat.com>
2235
2236 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2237
d7b8ac82
PA
22382015-07-29 Pedro Alves <palves@redhat.com>
2239
2240 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2241 parameter into two new parameters, "inf_result" and "gdb_result".
2242 Expect inferior output and gdb output from $inferior_spawn_id and
2243 $gdb_spawn_id, respectively. Adjust all callers.
2244
789c3a0c
PA
22452015-07-29 Pedro Alves <palves@redhat.com>
2246
2247 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2248 of gdb_test_sequence.
2249
77e760c3
PA
22502015-07-29 Pedro Alves <palves@redhat.com>
2251
2252 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2253 (saw_spurious_output): Expect inferior output from
2254 $inferior_spawn_id. Use gdb_test_stdio.
2255
8396d2cd
PA
22562015-07-29 Pedro Alves <palves@redhat.com>
2257
2258 * gdb.base/dprintf.exp: Use standard_testfile. Change
2259 prepare_for_testing call.
2260 (srcfile): Don't set.
2261 (restart): New procedure.
2262 (test_dprintf): New procecure, use to continue over dprintfs.
2263 (test_call, test_agent): New procedures, tests moved here.
2264 Restart gdb and recreate dprintfs. Adjust expected output.
2265
2051d61f
PA
22662015-07-29 Pedro Alves <palves@redhat.com>
2267
2268 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2269
452397af
PA
22702015-07-29 Pedro Alves <palves@redhat.com>
2271
2272 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2273
8aed9555
PA
22742015-07-29 Pedro Alves <palves@redhat.com>
2275
2276 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2277 gdb_test_stdio.
2278
188a61b4
PA
22792015-07-29 Pedro Alves <palves@redhat.com>
2280
2281 * lib/gdb.exp (gdb_test_stdio): New procedure.
2282
12264a45
PA
22832015-07-29 Pedro Alves <palves@redhat.com>
2284
2285 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2286
23ffc893
PA
22872015-07-29 Pedro Alves <palves@redhat.com>
2288
2289 * gdb.base/call-signal-resume.exp: Remove check for
2290 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2291 * gdb.base/unwindonsignal.exp: Likewise.
2292 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2293 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2294
65566918
PA
22952015-07-29 Pedro Alves <palves@redhat.com>
2296
2297 * gdb.base/siginfo-addr.c (pass): New function.
2298 (handler): Call it iff si_addr is correct.
2299 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2300 Set a breakpoint at "pass" and continue to it.
2301
d60a9221
SDJ
23022015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2303
2304 * gdb.python/py-objfile.exp: Make some tests have unique names.
2305 * gdb.python/py-pp-registration.exp: Likewise.
2306
bde40b8f
PA
23072015-07-28 Pedro Alves <palves@redhat.com>
2308
2309 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2310
13e1dec8
SM
23112015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2312
2313 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2314
da33c9a7
SM
23152015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2316
2317 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2318
077836f7
PP
23192015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2320
2321 * gdb.base/gdb-sigterm-2.exp: New test.
2322
b8cc7b2e
DE
23232015-07-25 Doug Evans <xdje42@gmail.com>
2324
2325 Revert:
2326 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2327 (workers/%.worker, build-perf): New rule.
2328 (GDB_PERFTEST_MODE): New variable.
2329 (check-perf): Use it.
2330 (clean): Clean up gdb.perf parallel build subdirs.
2331 * lib/build-piece.exp: New file.
2332 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2333 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2334 name.
2335 (standard_temp_file): Ditto.
2336 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2337 of $GDB_PARALLEL.
2338
c8bd4544
DE
23392015-07-24 Doug Evans <dje@google.com>
2340
2341 * gdb.perf/lib/perftest/utils.py: New file.
2342 * gdb.perf/gm-hello.cc: New file.
2343 * gdb.perf/gm-pervasive-typedef.cc: New file.
2344 * gdb.perf/gm-pervasive-typedef.h: New file.
2345 * gdb.perf/gm-std.cc: New file.
2346 * gdb.perf/gm-std.h: New file.
2347 * gdb.perf/gm-use-cerr.cc: New file.
2348 * gdb.perf/gm-utils.h: New file.
2349 * gdb.perf/gmonster-null-lookup.py: New file.
2350 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2351 * gdb.perf/gmonster-print-cerr.py: New file.
2352 * gdb.perf/gmonster-ptype-string.py: New file.
2353 * gdb.perf/gmonster-runto-main.py: New file.
2354 * gdb.perf/gmonster-select-file.py: New file.
2355 * gdb.perf/gmonster1-null-lookup.exp: New file.
2356 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2357 * gdb.perf/gmonster1-print-cerr.exp: New file.
2358 * gdb.perf/gmonster1-ptype-string.exp: New file.
2359 * gdb.perf/gmonster1-runto-main.exp: New file.
2360 * gdb.perf/gmonster1-select-file.exp: New file.
2361 * gdb.perf/gmonster1.cc: New file.
2362 * gdb.perf/gmonster1.exp: New file.
2363 * gdb.perf/gmonster2-null-lookup.exp: New file.
2364 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2365 * gdb.perf/gmonster2-print-cerr.exp: New file.
2366 * gdb.perf/gmonster2-ptype-string.exp: New file.
2367 * gdb.perf/gmonster2-runto-main.exp: New file.
2368 * gdb.perf/gmonster2-select-file.exp: New file.
2369 * gdb.perf/gmonster2.cc: New file.
2370 * gdb.perf/gmonster2.exp: New file.
2371
6eab34f3
DE
23722015-07-24 Doug Evans <dje@google.com>
2373
2374 * gdb.perf/README: New file.
2375 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2376 * lib/gen-perf-test.exp: New file.
2377
63738bfd
DE
23782015-07-24 Doug Evans <dje@google.com>
2379
2380 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2381 (PerfTest::startup): New function.
2382 (PerfTest::run): Return result of calling body.
2383 (PerfTest::assemble): Rewrite.
2384 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2385 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2386 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2387 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2388 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2389
7b606f95
DE
23902015-07-24 Doug Evans <dje@google.com>
2391
2392 * lib/gdb.exp (clean_restart): Make executable optional.
2393
a97b16b8
DE
23942015-07-24 Doug Evans <dje@google.com>
2395
2396 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2397 compiler_info references.
2398 * gdb.cp/temargs.exp: Ditto.
2399 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2400 (get_compiler_info): Early exit if already computed. Set compiler_info
2401 to "unknown" if there was a problem.
2402 (test_compiler_info): Add function comment. Call get_compiler_info.
2403
35baa57f
DE
24042015-07-24 Doug Evans <dje@google.com>
2405
2406 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2407 (workers/%.worker, build-perf): New rule.
2408 (GDB_PERFTEST_MODE): New variable.
2409 (check-perf): Use it.
2410 (clean): Clean up gdb.perf parallel build subdirs.
2411 * lib/build-piece.exp: New file.
2412 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2413 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2414 name.
2415 (standard_temp_file): Ditto.
2416 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2417 of $GDB_PARALLEL.
2418
6ebea266
DE
24192015-07-24 Doug Evans <dje@google.com>
2420
2421 * lib/future.exp (gdb_default_target_compile): New option
2422 "early_flags".
2423 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2424 --as-needed.
2425
1e76a7e9
SDJ
24262015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2427
2428 * gdb.base/catch-syscall.exp: Call gdb_exit before
2429 gdb_skip_xml_test.
2430
5068630a
PA
24312015-07-24 Pedro Alves <palves@redhat.com>
2432
2433 * gdb.python/py-events.exp: Accept output between the stop event
2434 and the prompt.
2435 * gdb.python/py-evsignal.exp: Likewise.
2436 * gdb.python/py-evthreads.exp: Likewise.
2437
77598427
PA
24382015-07-24 Pedro Alves <palves@redhat.com>
2439
2440 PR gdb/18717
2441 * gdb.threads/non-ldr-exit.c: New file.
2442 * gdb.threads/non-ldr-exit.exp: New file.
2443
11e6c98f
YQ
24442015-07-24 Yao Qi <yao.qi@linaro.org>
2445
2446 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2447 restarting process.
2448
51aee833
YQ
24492015-07-24 Yao Qi <yao.qi@linaro.org>
2450
2451 * gdb.server/ext-restart.exp: New file.
2452
8cfe207c
YQ
24532015-07-24 Yao Qi <yao.qi@linaro.org>
2454
2455 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2456 argument options.
2457 * gdb.server/ext-wrapper.exp: New file.
2458
cc12ce38
DE
24592015-07-23 Doug Evans <dje@google.com>
2460
2461 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2462 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2463
d0d84780
PMR
24642015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2465
2466 * gdb.ada/var_arr_typedef.exp: New testcase.
2467 * gdb.ada/var_arr_typedef/pack.adb: New file.
2468 * gdb.ada/var_arr_typedef/pack.ads: New file.
2469 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2470
8b558f79
JB
24712015-07-20 Joel Brobecker <brobecker@adacore.com>
2472
2473 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2474
775a3298
JK
24752015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2476
2477 * gdb.arch/i386-biarch-core.exp: Replace istarget
2478 by "complete set gnutarget". Remove expectation for the "core-file"
2479 command.
2480
db1ff28b
JK
24812015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2482
2483 Revert the previous commit:
2484 Tests for validate symbol file using build-id.
2485
0a94970d
JK
24862015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2487
2488 Tests for validate symbol file using build-id.
2489 * gdb.base/solib-mismatch-lib.c: New file.
2490 * gdb.base/solib-mismatch-libmod.c: New file.
2491 * gdb.base/solib-mismatch.c: New file.
2492 * gdb.base/solib-mismatch.exp: New file.
2493
03346981
SL
24942015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2495
2496 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2497 nios2-*-linux*.
2498 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2499 * gdb.base/siginfo.exp: Likewise.
2500 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2501
42422cc7
PL
25022015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2503
2504 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2505 Move it to ...
2506 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2507 ... here.
2508 * gdb.trace/range-stepping.exp: Check that the target supports
2509 range stepping.
2510
cfa68bae
JK
25112015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2512
2513 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2514
8ffdba26
PA
25152015-07-14 Pedro Alves <palves@redhat.com>
2516
2517 * gdb.base/killed-outside.exp: New file.
2518 * gdb.base/killed-outside.c: New file.
2519
218a5a11
JK
25202015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2521
2522 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2523 (n at main): New.
2524 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2525
e03ed3c6
AA
25262015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2527
2528 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2529 infcall tests instead of setting up for KFAIL.
2530
485668e5
MM
25312015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2532
2533 * gdb.btrace/record_goto-step.exp: New.
2534
08464196
JK
25352015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2536
2537 PR compile/18484
2538 * gdb.compile/compile.c (struct struct_type): Add volatile to
2539 selffield's type.
2540 * gdb.compile/compile.exp
2541 (compile code struct_object.selffield = &struct_object): Skip further
2542 struct_object tests if this one xfails.
2543
bcf5c1d9
RC
25442015-07-08 Robert O'Callahan <robert@ocallahan.org>
2545
2546 PR exp/18617
2547 * gdb.trace/ax.exp: Add test.
2548
4931af25
YQ
25492015-07-07 Yao Qi <yao.qi@linaro.org>
2550
2551 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2552 instead of istarget "aarch64*-*-*".
2553 * gdb.arch/aarch64-fp.exp: Likewise.
2554 * gdb.base/float.exp: Likewise.
2555 * gdb.reverse/aarch64.exp: Likewise.
2556 * lib/gdb.exp (is_aarch64_target): New proc.
2557
9fcf688e
YQ
25582015-07-07 Yao Qi <yao.qi@linaro.org>
2559
2560 * lib/gdb.exp (is_aarch32_target): New proc.
2561 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2562 instead of "istarget "arm*-*-*"".
2563 * gdb.arch/arm-disp-step.exp: Likewise.
2564 * gdb.arch/thumb-bx-pc.exp: Likewise.
2565 * gdb.arch/thumb-prologue.exp: Likewise.
2566 * gdb.arch/thumb-singlestep.exp: Likewise.
2567 * gdb.base/disp-step-syscall.exp: Likewise.
2568 * gdb.base/float.exp: Likewise.
2569
fbd8d50d
YQ
25702015-07-07 Yao Qi <yao.qi@linaro.org>
2571
2572 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2573 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2574
71be1fdc
YQ
25752015-07-07 Yao Qi <yao.qi@linaro.org>
2576
2577 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2578 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2579 if it exists.
2580 * gdb.multi/multi-arch.exp: Likewise.
2581
3e221d36
SM
25822015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2583
2584 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2585 print.
2586
d441430b
YQ
25872015-07-07 Yao Qi <yao.qi@linaro.org>
2588
2589 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2590
06f810bd
MG
25912015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2592
2593 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2594 '[' and ']' characters.
2595
5e61e7c0
IB
25962015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2597
2598 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2599
28bf096c
PA
26002015-06-29 Pedro Alves <palves@redhat.com>
2601
2602 PR threads/18127
2603 * gdb.threads/hand-call-new-thread.c: New file.
2604 * gdb.threads/hand-call-new-thread.c: New file.
2605
ee93cd5e
KS
26062015-06-26 Keith Seitz <keiths@redhat.com>
2607 Doug Evans <dje@google.com>
2608
2609 PR 16253
2610 * gdb.cp/var-tag-2.cc: New file.
2611 * gdb.cp/var-tag-3.cc: New file.
2612 * gdb.cp/var-tag-4.cc: New file.
2613 * gdb.cp/var-tag.cc: New file.
2614 * gdb.cp/var-tag.exp: New file.
2615
fc637f04
PP
26162015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2617
2618 * gdb.base/history-duplicates.exp: New test.
2619
2e52ae68
PP
26202015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2621
2622 * gdb.base/completion.exp: Test the completion of the "focus"
2623 command.
2624
6e22494e
JK
26252015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2626
2627 * gdb.arch/amd64-prologue-skip.S: New file.
2628 * gdb.arch/amd64-prologue-skip.exp: New file.
2629
bf7b9cd9
SM
26302015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2631
2632 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2633 is_address_zero_readable check.
2634
201e8dfd
PB
26352015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2636
2637 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2638 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2639
5cd867b4
YQ
26402015-06-24 Yao Qi <yao.qi@linaro.org>
2641
2642 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2643 linux targets.
2644
4d7be007
YQ
26452015-06-24 Yao Qi <yao.qi@linaro.org>
2646
2647 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2648 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2649 * gdb.base/siginfo-thread.exp: Likewise.
2650
07fcd301
YQ
26512015-06-22 Yao Qi <yao.qi@linaro.org>
2652
2653 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2654
52042a00
YQ
26552015-06-22 Yao Qi <yao.qi@linaro.org>
2656
2657 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2658 aarch64*-*-*.
2659 (skip_hw_watchpoint_tests): Likewise.
2660
74bd41ce
PP
26612015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2662
2663 * gdb.base/gdbinit-history.exp: Test the interaction between
2664 setting GDBHISTSIZE and setting the history size via .gdbinit.
2665
bc460514
PP
26662015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2667
2668 PR gdb/16999
2669 * gdb.base/gdbhistsize-history.exp: New test.
2670
b58c513b
PP
26712015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2672
2673 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2674 with GDBHISTSIZE.
2675 * gdb.base/readline.exp: Likewise.
2676
92046791
YQ
26772015-06-17 Yao Qi <yao.qi@linaro.org>
2678
2679 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2680 line.
2681
2093d2d3
PP
26822015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2683
2684 * gdb.base/gdbinit-history.exp: Add test case to check that
2685 an unlimited history file does not get truncated on exit.
2686
e6c693af
AA
26872015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2688
2689 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2690 (VECTOR): New macro. Use it...
2691 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2692 ...for these typedefs.
2693 (int8, char1, int1, double1): New typedefs.
2694 (struct just_int2, struct two_int2): New structures.
2695 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2696 (add_structvecs, add_singlevecs): New functions.
2697 (main): Call add_some_intvecs twice.
2698 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2699 the compile and exit upon failure. Try compiling for the "native"
2700 architecture. Test inferior function calls with vector arguments
2701 and vector return value handling with "finish" and "return".
2702
c74f7d1c
JT
27032015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2704
2705 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2706 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2707 PE file.
2708 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2709
98aa42ee
AT
27102015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2711
2712 PR breakpoints/16465
2713 * gdb.mi/mi-dprintf-pending.c: New file.
2714 * gdb.mi/mi-dprintf-pending.exp: New test.
2715 * gdb.mi/mi-dprintf-pendshr.c: New file.
2716
7d73c23c 27172015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2718 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2719
2720 * gdb.arch/i386-mpx-map.c: New file.
2721 * gdb.arch/i386-mpx-map.exp: New File.
2722
27232015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2724
2725 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2726 * gdb.arch/i386-mpx.exp: Indentation fixed.
2727
27282015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2729
2730 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2731 function and improved indentation.
2732 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2733 gdb_test_multiple. Added additional tests to skip the test.
2734
27352015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2736
2737 * gdb.arch/i386-avx512.c: Change path in include file.
2738 * gdb.arch/i386-avx512.exp: Change include dir path
2739 compilation flag.
2740 * gdb.arch/i386-mpx.c: Change path in include file.
2741 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2742 flag.
2743
d5eba19a
JK
27442015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2745
2746 * gdb.compile/compile-print.exp (compile print *vararray@3)
2747 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2748
7f361056
JK
27492015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2750
2751 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2752 (do not keep jit in memory): ... this.
2753 (expect 5): Change it to ...
2754 (expect no 5): ... this.
2755
3b462ec2
SM
27562015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2757
2758 PR gdb/15564
2759 * gdb.mi/mi-detach.exp: New file.
2760
e0619de6
JK
27612015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2762
2763 PR symtab/18392
2764 * gdb.arch/amd64-tailcall-self.S: New file.
2765 * gdb.arch/amd64-tailcall-self.c: New file.
2766 * gdb.arch/amd64-tailcall-self.exp: New file.
2767
e970cb34
DB
27682015-05-28 Don Breazeal <donb@codesourcery.com>
2769
2770 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2771 tests for remote targets by checking is_target_gdbserver.
2772
b2e2f908
DE
27732015-05-27 Doug Evans <dje@google.com>
2774
2775 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2776 * gdb.dwarf2/opaque-type-lookup.c: New file.
2777 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2778
82c7be31
DE
27792015-05-26 Doug Evans <dje@google.com>
2780
2781 * gdb.cp/iostream.cc: New file.
2782 * gdb.cp/iostream.exp: New file.
2783
b4f54984
DE
27842015-05-26 Doug Evans <dje@google.com>
2785
2786 * gdb.dwarf2/dw2-op-call.exp: Update.
2787 * gdb.dwarf2/dw4-sig-types.exp: Update.
2788 * gdb.dwarf2/implptr.exp: Update.
2789 * gdb.mi/mi-cmd-param-changed.exp: Update.
2790
4ea6efe9
DE
27912015-05-26 Doug Evans <dje@google.com>
2792
2793 * gdb.python/py-lazy-string.c: New file.
2794 * gdb.python/py-lazy-string.exp: New file.
2795 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2796 (main): Update. Add estring3.
2797 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2798 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2799
f6bb7db3
YQ
28002015-05-26 Omair Javaid <omair.javaid@linaro.org>
2801 Yao Qi <yao.qi@linaro.org>
2802
2803 * gdb.reverse/aarch64.c: New.
2804 * gdb.reverse/aarch64.exp: New.
2805
a81bfbd0
OJ
28062015-05-26 Omair Javaid <omair.javaid@linaro.org>
2807
2808 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2809 (supports_reverse): Likewise.
2810
158bf1b4
PP
28112015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2812
2813 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2814 Use with_test_prefix.
2815
a0145030
AB
28162015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2817
2818 * gdb.base/completion.exp: Add test for completion of layout
2819 names.
2820
ebe3b578
AB
28212015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2822
2823 * lib/gdb.exp (skip_tui_tests): New proc.
2824 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2825
84204ed7
PA
28262015-05-19 Pedro Alves <palves@redhat.com>
2827
2828 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2829 Save the whole env array instead of just HOME. Unset HISTSIZE in
2830 the environment while testing. Restore whole environment
2831 afterwards.
2832
37442ce1
DE
28332015-05-16 Doug Evans <xdje42@gmail.com>
2834
2835 * gdb.guile/scm-ports.c: New file.
2836 * gdb.guile/scm-ports.exp: Add memory port tests.
2837
36de76f9
JK
28382015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2839
2840 * gdb.compile/compile-print.c: New file.
2841 * gdb.compile/compile-print.exp: New file.
2842
3a9558c4
JK
28432015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2844
2845 * gdb.compile/compile-ops.exp: Cast param to void.
2846 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2847 (compile code struct_object.selffield = &struct_object): Add xfail.
2848
aa715135
JG
28492015-05-15 Joel Brobecker <brobecker@adacore.com>
2850
2851 * gdb.ada/arr_enum_with_gap: New testcase.
2852
931e5bc3
JG
28532015-05-15 Joel Brobecker <brobecker@adacore.com>
2854
2855 * gdb.ada/byte_packed_arr: New testcase.
2856
9cd4d857
JB
28572015-05-15 Joel Brobecker <brobecker@adacore.com>
2858
2859 * gdb.ada/pckd_neg: New testcase.
2860
ebfd00d2
PP
28612015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2862
2863 PR gdb/17820
2864 * gdb.base/gdbinit-history.exp: New test.
2865 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2866 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2867
4c082a81
SC
28682015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2869
2870 * gdb.python/py-xmethods.cc: Enhance test case.
2871 * gdb.python/py-xmethods.exp: New tests.
2872 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2873 function.
2874 (B_indexoper): Likewise.
2875 (global_dm_list) : Add new xmethod worker functions.
2876
f7797074
SDJ
28772015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2878
2879 * gdb.base/coredump-filter.exp: Correctly unset
2880 "coredump_var_addr" array.
2881
a4674e4e
PA
28822015-05-08 Pedro Alves <palves@redhat.com>
2883
2884 * gdb.server/non-existing-program.exp: Unset spawn_id.
2885
df2eb078
SC
28862015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2887
2888 PR python/18291
2889 * gdb.python/py-xmethods.exp: Add tests.
2890
422349a3
YQ
28912015-05-08 Yao Qi <yao.qi@linaro.org>
2892
2893 PR gdb/18208
2894 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2895 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2896 function set_coredump_filter, and remove remote_exec call.
2897 Remove argument ipid. Callers update.
2898 (top level): Don't get inferior's PID.
2899
63fc80ce
AA
29002015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2901
2902 * gdb.base/watch_thread_num.exp: Skip test on targets without
2903 access watchpoints.
2904
80ad801e
PA
29052015-05-06 Pedro Alves <palves@redhat.com>
2906
2907 PR server/18081
2908 * gdb.server/non-existing-program.exp: New file.
2909
0fa7fe50
JB
29102015-05-05 Joel Brobecker <brobecker@adacore.com>
2911
2912 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2913
3ea89b92
PMR
29142015-05-05 Joel Brobecker <brobecker@adacore.com>
2915
2916 * gdb.ada/out_of_line_in_inlined: New testcase.
2917
87b8eff0
JB
29182015-05-05 Joel Brobecker <brobecker@adacore.com>
2919
2920 * gdb.ada/var_rec_arr: New testcase.
2921
5fccc635
YQ
29222015-04-30 Yao Qi <yao.qi@linaro.org>
2923
2924 * gdb.base/break-idempotent.exp: If
2925 skip_hw_watchpoint_multi_tests returns true, skip the tests
2926 on "rwatch" and "awatch".
2927
42d38f42
YQ
29282015-04-30 Yao Qi <yao.qi@linaro.org>
2929
2930 * gdb.base/relativedebug.exp: Invoke gdb command
2931 "info sharedlibrary", and if libc.so doesn't have debug info,
2932 skip the test.
2933
2ce1cdbf
DE
29342015-04-29 Doug Evans <dje@google.com>
2935
2936 * gdb.python/py-xmethods.exp: Add ptype tests.
2937 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2938 get_result_type method.
2939
f24a38c5
LM
29402015-04-29 Luis Machado <lgustavo@codesourcery.com>
2941
2942 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2943 the target does not support hardware watchpoints.
2944
ecbf2b3c
LM
29452015-04-29 Luis Machado <lgustavo@codesourcery.com>
2946
2947 * gdb.base/break-always.exp: Abort testing if writing to memory
2948 causes an error.
2949
34f5f757
DE
29502015-04-28 Doug Evans <dje@google.com>
2951
2952 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2953 * gdb.python/py-pp-registration.exp: ... here. New file.
2954 * gdb.python/py-pp-registration.c: New file.
2955 * gdb.python/py-pp-registration.py: New file.
2956
69b4374a
DE
29572015-04-28 Doug Evans <dje@google.com>
2958
2959 * gdb.python/py-bad-printers.c: New file.
2960 * gdb.python/py-bad-printers.py: New file.
2961 * gdb.python/py-bad-printers.exp: New file.
2962
59fb7612
SS
29632015-04-28 Sasha Smundak <asmundak@google.com>
2964
2965 * gdb.python/py-type.exp: New test.
2966
2631b16a
AW
29672015-04-28 Andy Wingo <wingo@igalia.com>
2968
2969 * gdb.python/py-parameter.exp:
2970 * gdb.guile/scm-parameter.exp: Escape the path that we are
2971 matching against, as it might contain characters that are special
2972 to regular expressions.
2973
460efde1
JB
29742015-04-27 Joel Brobecker <brobecker@adacore.com>
2975
2976 * gdb.ada/rec_comp: New testcase.
2977
2d369d8e
SDJ
29782015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2979
2980 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2981 before using it.
2982
cf75d6c3
AB
29832015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2984
2985 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2986 new tests for verilog output.
2987
8dbe7ca5
YQ
29882015-04-24 Yao Qi <yao.qi@linaro.org>
2989
2990 * boards/remote-gdbserver-on-localhost.exp: New file.
2991
4ef9fb2f
PA
29922015-04-23 Pedro Alves <palves@redhat.com>
2993
2994 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2995 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2996 "end of file", remove $inferior_spawn_id from the indirect list.
2997
0a803169
PA
29982015-04-23 Pedro Alves <palves@redhat.com>
2999
3000 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3001
749ef8f8
PA
30022015-04-23 Pedro Alves <palves@redhat.com>
3003
3004 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3005 on $any_spawn_id instead of only on $gdb_spawn_id.
3006
8aae4344
PM
30072015-04-21 Pierre Muller <muller@sourceware.org>
3008
3009 PR pascal/17815
3010 * lib/pascal.exp (gpc_compile): Add new option "class".
3011 (fpc_compile): Likewise.
3012 * gdb.pascal/case-insensitive-symbols.pas: New file.
3013 * gdb.pascal/case-insensitive-symbols.exp: New file.
3014
1586c8fb
GB
30152015-04-20 Gary Benson <gbenson@redhat.com>
3016
3017 * gdb.base/attach.exp: Fix three extended remote failures.
3018
1b6e6f5c
GB
30192015-04-17 Gary Benson <gbenson@redhat.com>
3020
3021 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3022 the main executable over the remote protocol.
3023
e797481d
PA
30242015-04-16 Pedro Alves <palves@redhat.com>
3025
3026 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3027 a new gdbserver if gdbserver_reconnect_p is set.
3028
1ca99c42
PA
30292015-04-16 Pedro Alves <palves@redhat.com>
3030
3031 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3032 is set, don't exit gdbserver.
3033
af9fd6f8
AA
30342015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3035
3036 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3037 appropriate .insn, such that an older assembler can be used.
3038 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3039 the z/Architecture instruction set on 31-bit targets as well.
3040
04ff1e61
AA
30412015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3042
3043 * gdb.go/handcall.exp: Remove all logic related to the first
3044 breakpoint and rely on go_runto_main instead.
3045 * gdb.go/strings.exp: Likewise.
3046 * gdb.go/unsafe.exp: Likewise.
3047 * gdb.go/hello.exp: Likewise. Also rename the remaining
3048 breakpoint marker to "breakpoint 1".
3049 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3050 * gdb.go/strings.go: Likewise.
3051 * gdb.go/unsafe.go: Likewise.
3052 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3053 "set breakpoint 2 here" and rename the remaining breakpoint marker
3054 to "breakpoint 1".
3055
40d2f8d6
SM
30562015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3057
3058 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3059 if itertools.imap is not present.
3060 * gdb.python/py-objfile.exp: Add parentheses.
3061 * gdb.python/py-type.exp: Same.
3062 * gdb.python/py-unwind-maint.py: Same.
3063
8cbc97c6
YQ
30642015-04-15 Yao Qi <yao.qi@linaro.org>
3065
3066 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3067 of ":$ptr_size" and set its form explicitly.
3068
45fd756c
YQ
30692015-04-15 Pedro Alves <palves@redhat.com>
3070 Yao Qi <yao.qi@linaro.org>
3071
3072 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3073 timeout by factor of 4.
3074 (test_regular_watch): Likewise.
3075 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3076 * gdb.reverse/sigall-reverse.exp: Likewise.
3077 * gdb.reverse/until-precsave.exp: Likewise.
3078 * lib/gdb.exp (with_timeout_factor): New proc.
3079 (gdb_expect): Move some code to ...
3080 (get_largest_timeout): ... here. New procedure.
3081
9e811bc3
LM
30822015-04-14 Luis Machado <lgustavo@codesourcery.com>
3083
3084 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3085
0ff6fcb2
LM
30862015-04-13 Luis Machado <lgustavo@codesourcery.com>
3087
3088 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3089 to write to the .text section.
3090
7578d5f7
LM
30912015-04-13 Luis Machado <lgustavo@codesourcery.com>
3092
3093 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3094 Handle the case of targets that do not provide PID information.
3095
2efe15c4
YQ
30962015-04-13 Yao Qi <yao.qi@linaro.org>
3097
3098 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3099 and use expect instead of gdb_expect.
3100
8cd8f2f8
SDJ
31012015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3102
3103 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3104 "coredump_var_addr" to avoid naming conflict with other testcases.
3105
9ee41772
PA
31062015-04-10 Pedro Alves <palves@redhat.com>
3107
3108 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3109 gdb_test_sequence and gdb_assert.
3110
07473109
PA
31112015-04-10 Pedro Alves <palves@redhat.com>
3112
3113 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3114 test messages that don't include the breakpoint address.
3115
de3db44c
YQ
31162015-04-10 Yao Qi <yao.qi@linaro.org>
3117
3118 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3119 false for some offset and width combinations which aren't
3120 supported by linux kernel.
3121
c79d856c
PA
31222015-04-10 Pedro Alves <palves@redhat.com>
3123
3124 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3125 procedure, factored out from ...
3126 (top level): ... here. Add "set displaced-stepping" testing axis.
3127 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3128 parameter "displaced". Use it.
3129 (top level): Use foreach and add "set displaced-stepping" testing
3130 axis.
3131
ebc90b50
PA
31322015-04-10 Pedro Alves <palves@redhat.com>
3133
3134 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3135 Remove comment.
3136 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3137 both the address of the instruction that triggers the watchpoint
3138 and the address of the instruction immediately after, and use
3139 those addresses for the test. Fix comment.
3140
8f572e5c
PA
31412015-04-10 Pedro Alves <palves@redhat.com>
3142
3143 * gdb.base/sigstep.exp (breakpoint_to_handler)
3144 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3145 Test "backtrace" in handler.
3146 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3147 (top level): Add new "displaced" test axis to
3148 breakpoint_to_handler, breakpoint_to_handler_entry and
3149 breakpoint_over_handler.
3150
8d707a12
PA
31512015-04-10 Pedro Alves <palves@redhat.com>
3152
3153 PR gdb/18216
3154 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3155
ef713951
YQ
31562015-04-10 Yao Qi <yao.qi@linaro.org>
3157
3158 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3159 (test_add_rn_pc): New function.
3160 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3161 (top level): Invoke test_add_rn_pc.
3162
906d60cf
PA
31632015-04-10 Pedro Alves <palves@redhat.com>
3164
3165 PR gdb/13858
3166 * gdb.base/step-over-no-symbols.exp: New file.
3167
f2983cc3
AW
31682015-04-09 Andy Wingo <wingo@igalia.com>
3169
3170 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3171 after the Python tests.
3172
6d62641c
SDJ
31732015-04-08 Keith Seitz <keiths@redhat.com>
3174
3175 PR python/16699
3176 * gdb.python/py-completion.exp: New tests for completion.
3177 * gdb.python/py-completion.py (CompleteLimit1): New class.
3178 (CompleteLimit2): Likewise.
3179 (CompleteLimit3): Likewise.
3180 (CompleteLimit4): Likewise.
3181 (CompleteLimit5): Likewise.
3182 (CompleteLimit6): Likewise.
3183 (CompleteLimit7): Likewise.
3184
f3770638
PA
31852015-04-08 Pedro Alves <palves@redhat.com>
3186
3187 PR gdb/18214
3188 PR gdb/18216
3189 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3190 function.
3191 (main): Install it as SIGUSR1 handler.
3192 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3193 parameter. Always use "setup" as prefix. Toggle "set
3194 displaced-stepping" off/on depending on global. Don't switch to
3195 thread 1 here.
3196 (top level): Add displaced stepping "off/on" test axis. Update
3197 "setup" calls. Wrap each subtest with with_test_prefix. Test
3198 continuing with a queued signal in each thread.
3199
4496bed7
PA
32002015-04-08 Pedro Alves <palves@redhat.com>
3201
3202 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3203 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3204 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3205 Return early if running to main fails.
3206 * gdb.trace/while-stepping.exp: Likewise.
3207
b97fde92
PA
32082015-04-07 Pedro Alves <palves@redhat.com>
3209
3210 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3211 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3212 interact with inferior program.
3213
f71c18e7
PA
32142015-04-07 Pedro Alves <palves@redhat.com>
3215
3216 * lib/gdb.exp (inferior_spawn_id): New global.
3217 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3218 spawn id after processing the user code.
3219 (default_gdb_start): Set inferior_spawn_id.
3220 (send_inferior): New procedure.
3221 * lib/gdbserver-support.exp (gdbserver_start): Set
3222 inferior_spawn_id.
3223 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3224
6423214f
PA
32252015-04-07 Pedro Alves <palves@redhat.com>
3226
3227 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3228 * lib/gdbserver-support.exp (gdbserver_start): Make
3229 $server_spawn_id global.
3230 (gdbserver_start): Don't wait for gdbserver's spawn id with
3231 expect_background.
3232 (close_gdbserver): New procedure.
3233 (gdb_exit): Rename the default version and reimplement.
3234
71c0ee8c
PA
32352015-04-07 Pedro Alves <palves@redhat.com>
3236
72f4393d 3237 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
3238 append the substituted item, not the original item.
3239
203bc29b
PA
32402015-04-07 Pedro Alves <palves@redhat.com>
3241
3242 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3243 gdb_expect.
3244
508a3ddf
PA
32452015-04-07 Pedro Alves <palves@redhat.com>
3246
3247 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3248 output appearing once only.
3249
9f6dbe2b
PA
32502015-04-07 Pedro Alves <palves@redhat.com>
3251
3252 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3253 that doesn't expect anything. Return early if running to main
3254 fails.
3255
337532fa
YQ
32562015-04-07 Yao Qi <yao.qi@linaro.org>
3257
3258 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3259 (child_function): Call alarm.
3260 (main): Move call to alarm into the loop.
3261 * gdb.threads/non-stop-fair-events.exp: Build program with
3262 -DTIMEOUT=$timeout.
3263
01b622d4
DE
32642015-04-06 Doug Evans <xdje42@gmail.com>
3265
3266 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3267 Fix dest parameter to board_info.
3268 (fpc_compile): Ditto.
3269 (gdb_compile_pascal): Rename dest arg to destfile.
3270
961f4160
PMR
32712015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3272
3273 * gdb.ada/funcall_ref.exp: New file.
3274 * gdb.ada/funcall_ref/foo.adb: New file.
3275
cafda597
YQ
32762015-04-02 Yao Qi <yao.qi@linaro.org>
3277
3278 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3279 is remote.
3280
fed040c6
GB
32812015-04-02 Gary Benson <gbenson@redhat.com>
3282
3283 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3284
d11916aa
SS
32852015-04-01 Sasha Smundak <asmundak@google.com>
3286
3287 * gdb.python/py-unwind-maint.c: New file.
3288 * gdb.python/py-unwind-maint.exp: New test.
3289 * gdb.python/py-unwind-maint.py: New file.
3290 * gdb.python/py-unwind.c: New file.
3291 * gdb.python/py-unwind.exp: New test.
3292 * gdb.python/py-unwind.py: New test.
3293
a1471180
PA
32942015-04-01 Pedro Alves <palves@redhat.com>
3295
3296 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3297 to fail instead of non-existent $test.
3298
0bbeccb1
PA
32992015-04-01 Pedro Alves <palves@redhat.com>
3300
3301 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3302 GDBFLAGS if not empty.
3303
3c724c8c
PMR
33042015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3305
3306 * gdb.ada/complete.exp: Remove "multi_line".
3307 * gdb.ada/info_exc.exp: Remove "multi_line".
3308 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3309 * gdb.ada/ptype_field.exp: Remove "multi_line".
3310 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3311 * gdb.ada/tagged.exp: Remove "multi_line".
3312 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3313 [multi_line ...]
3314 * gdb.btrace/delta.exp: Likewise.
3315 * gdb.btrace/exception.exp: Likewise.
3316 * gdb.btrace/function_call_history.exp: Likewise.
3317 * gdb.btrace/instruction_history.exp: Likewise.
3318 * gdb.btrace/nohist.exp: Likewise.
3319 * gdb.btrace/record_goto.exp: Likewise.
3320 * gdb.btrace/segv.exp: Likewise.
3321 * gdb.btrace/stepi.exp: Likewise.
3322 * gdb.btrace/tailcall.exp: Likewise.
3323 * gdb.btrace/unknown_functions.exp: Likewise.
3324 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3325 * lib/gdb.exp: Add the "multi_line" helper.
3326
4eec2deb
PA
33272015-04-01 Pedro Alves <palves@redhat.com>
3328
3329 * gdb.threads/tid-reuse.c: New file.
3330 * gdb.threads/tid-reuse.exp: New file.
3331
df8411da
SDJ
33322015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3333
3334 PR corefiles/16092
3335 * gdb.base/coredump-filter.c: New file.
3336 * gdb.base/coredump-filter.exp: Likewise.
3337
6ef37366
PM
33382015-03-27 Petr Machata <pmachata@redhat.com>
3339
3340 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3341 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3342 (Dwarf::assemble): Initialize them.
3343 (Dwarf::lines): New function.
3344
7ec911b0
JT
33452015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3346
3347 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3348 SYMBOL_PREFIX for x86_64-*-cygwin.
3349
ff908ebf
AW
33502015-03-26 Andy Wingo <wingo@igalia.com>
3351
3352 PR symtab/18148
3353 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3354 const_value but not a location.
3355 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3356 location defined in non-main CUs are visible.
3357
6d5f0679
YQ
33582015-03-26 Yao Qi <yao.qi@linaro.org>
3359
3360 PR testsuite/18139
3361 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3362 Add a line number entry for the same line.
3363 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3364 Add a line number entry for the same line.
3365
2898689b
YQ
33662015-03-26 Yao Qi <yao.qi@linaro.org>
3367
3368 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3369 .int 0.
3370 (func): Likewise. Add .Lfunc_1 label.
3371 Use .Lfunc_1 label.
3372 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3373 .int 0.
3374 (func): Likewise.
3375 Use .Lfunc_1 label.
3376
85180498
YQ
33772015-03-26 Yao Qi <yao.qi@linaro.org>
3378
3379 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3380 Call gdb_compile instead to compile each .s files without debug
3381 information.
3382
8aa08a8d
YQ
33832015-03-26 Yao Qi <yao.qi@linaro.org>
3384
3385 * gdb.base/savedregs.exp (process_saved_regs): Make
3386 "Saved registers:" optional in the pattern.
3387
66849923
MM
33882015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3389
3390 * gdb.btrace/next.exp: Merged into step.exp.
3391 * gdb.btrace/finish.exp: Merged into step.exp.
3392 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3393 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3394 "record goto" and checking the exact replay position.
3395 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3396 check for "Recording format" in "info record" output.
3397 * gdb.btrace/record_goto.exp: Choose test file based on target.
3398 * gdb.btrace/x86-record_goto.S: Renamed into ...
3399 * gdb.btrace/x86_64-record_goto.S: ... this.
3400 * gdb.btrace/i686-record_goto.S: New.
3401 * gdb.btrace/x86-tailcall.S: Renamed into ...
3402 * gdb.btrace/x86_64-tailcall.S: ... this.
3403 * gdb.btrace/i686-tailcall.S: New.
3404 * gdb.btrace/x86-tailcall.c: Renamed into ...
3405 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3406 separate statements. Update test.
3407 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3408 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3409 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3410 * gdb.btrace/tailcall.exp: Choose test file based on target.
3411 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3412
11cc1b74
MM
34132015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3414
3415 * gdb.btrace/exception.exp: Increase BTS buffer size.
3416
a25d8bf9
PA
34172015-03-24 Pedro Alves <palves@redhat.com>
3418
3419 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3420
856e7dd6
PA
34212015-03-24 Pedro Alves <palves@redhat.com>
3422
3423 * gdb.threads/schedlock.exp (test_step): No longer expect that
3424 "set scheduler-locking step" with "next" over a function call runs
3425 threads unlocked.
3426
ad235a41
AT
34272015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3428
3429 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3430
15630549
AT
34312015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3432
3433 PR breakpoints/16466
3434 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3435 * gdb.mi/mi-pending.c (thread_func): New function.
3436 (int main): Add threading support required.
3437 * gdb.mi/mi-pending.exp: Add tests for this issue.
3438 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3439 (pendfunc2): Remove stdio dependency.
3440 * gdb.mi/mi-pendshr2.c: New file.
3441
693dca06
KS
34422015-03-23 Keith Seitz <keiths@redhat.com>
3443
3444 * gdb.linespec/keywords.c: New file.
3445 * gdb.linespec/keywords.exp: New file.
3446
7e993ebf
KS
34472015-03-23 Keith Seitz <keiths@redhat.com>
3448
3449 PR gdb/18021
3450 * gdb.dwarf2/staticvirtual.exp: New test.
3451
bc23328c
JK
34522015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3453
3454 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3455 * README: Remove HP-UX and gdb.hp.
3456 (configuration):
3457 * configure: Regenerate.
3458 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3459 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3460 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3461 gdb.hp/gdb.defects/Makefile.
3462 * gdb.hp/Makefile.in: File deleted.
3463 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3464 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3465 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3466 * gdb.hp/gdb.aCC/run.c: File deleted.
3467 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3468 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3469 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3470 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3471 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3472 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3473 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3474 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3475 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3476 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3477 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3478 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3479 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3480 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3481 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3482 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3483 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3484 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3485 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3486 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3487 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3488 * gdb.hp/gdb.compat/average.c: File deleted.
3489 * gdb.hp/gdb.compat/sum.c: File deleted.
3490 * gdb.hp/gdb.compat/xdb.c: File deleted.
3491 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3492 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3493 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3494 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3495 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3496 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3497 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3498 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3499 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3500 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3501 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3502 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3503 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3504 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3505 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3506 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3507 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3508 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3509 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3510 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3511 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3512 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3513 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3514 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3515 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3516 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3517 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3518 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3519 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3520 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3521 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3522 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3523 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3524 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3525 * gdb.hp/tools/odump: File deleted.
3526
8bf3b159
PA
35272015-03-19 Pedro Alves <palves@redhat.com>
3528
3529 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3530 (saw_thread_3): New globals.
3531 (top level): Increment them when an event for the corresponding
3532 thread is seen.
3533 (no thread starvation): New test.
3534
eb54c8bf
PA
35352015-03-19 Pedro Alves <palves@redhat.com>
3536
3537 * gdb.threads/continue-pending-status.c: New file.
3538 * gdb.threads/continue-pending-status.exp: New file.
3539
32d2e5d6
PA
35402015-03-18 Pedro Alves <palves@redhat.com>
3541
3542 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3543 Use gdb_is_target_remote instead of is_remote. Use
3544 gdb_test_multiple instead of gdb_expect. Exit early if
3545 gdb_test_multiple hits its internal matches. Tighten stepi tests
3546 expected output. Fail on exit with any signal, instead of just
3547 SIGILL.
3548
f68f11b7
YQ
35492015-03-18 Yao Qi <yao.qi@linaro.org>
3550
3551 PR tdep/18107
3552 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3553 variable.
3554 * gdb.base/catch-syscall.exp: Don't skip it on
3555 aarch64*-*-linux* target. Remove elements in all_syscalls.
3556 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3557 target.
3558 (setup_all_syscalls): New proc.
3559
ca5fd19b
YQ
35602015-03-16 Yao Qi <yao.qi@linaro.org>
3561
3562 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3563 (top level): Skip tests if valid_addr_p returns false for
3564 $cmd1 or $cmd2.
3565
85642ba0
AW
35662015-03-11 Andy Wingo <wingo@igalia.com>
3567
3568 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3569
e03f9645
YQ
35702015-03-11 Yao Qi <yao.qi@linaro.org>
3571
3572 * gdb.base/catch-syscall.exp: Fix typo in comments.
3573
5d0962b2
YQ
35742015-03-11 Yao Qi <yao.qi@linaro.org>
3575
3576 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3577
b2df3cef
PA
35782015-03-09 Pedro Alves <palves@redhat.com>
3579
3580 * dg-extract-results.py: Delete.
3581
ef878e53
PA
35822015-03-09 Pedro Alves <palves@redhat.com>
3583
3584 Merge dg-extract-results.sh from GCC upstream (r218843).
3585
3586 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3587 * dg-extract-results.sh: Use --text with grep to avoid issues with
3588 binary files. Fall back to cat -v, if that doesn't work.
3589
9494d219
PA
35902015-03-05 Pedro Alves <palves@redhat.com>
3591
3592 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3593
a8d9763a
SM
35942015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3595
3596 * lib/mi-support.exp (mi_expect_interrupt): Accept
3597 alternative event for when in all-stop mode.
3598
be9957b8
PA
35992015-03-04 Pedro Alves <palves@redhat.com>
3600
3601 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3602
d57be0f4 36032015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3604
3605 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3606
c214c7cf
AA
36072015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3608
3609 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3610 regexps for GDB's current line display, accept a hex address
3611 preceding the line number.
3612
6d74a497
AA
36132015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3614
3615 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3616 the 'arch1' variable for "s390*-linux*" targets.
3617
511aee7c
PA
36182015-03-04 Pedro Alves <palves@redhat.com>
3619
3620 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3621 (main): Pass missing retval argument to pthread_join call.
3622
95e50b27
PA
36232015-03-02 Pedro Alves <palves@redhat.com>
3624
3625 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3626 (top level): Call do_test with non-stop as well.
3627
28054d69
PA
36282015-03-02 Pedro Alves <palves@redhat.com>
3629
3630 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3631 -1.
3632
4fa5d7b4
AA
36332015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3634
3635 * gdb.arch/s390-vregs.exp: New test.
3636 * gdb.arch/s390-vregs.S: New file.
3637
97c18565
PA
36382015-02-27 Pedro Alves <palves@redhat.com>
3639
3640 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3641 call to catch_command_errors.
3642 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3643 catch_command_errors.
3644
a37bfa30
PA
36452015-02-27 Pedro Alves <palves@redhat.com>
3646
3647 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3648 "true" for boolean result.
3649 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3650 prototype of main.
3651
6f98576f
PA
36522015-02-27 Pedro Alves <palves@redhat.com>
3653
3654 * lib/unbuffer_output.c: New file.
3655 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3656 (main): Call gdb_unbuffer_output.
3657
eba5ab56
YQ
36582015-02-27 Yao Qi <yao.qi@linaro.org>
3659
3660 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3661 target.
3662
0def5aaa
DE
36632015-02-26 Doug Evans <dje@google.com>
3664
3665 * gdb.cp/class2.cc (Dbase, D): New classes.
3666 (main): New local delta.
3667 * gdb.cp/class2.exp: Test printing delta.
3668 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3669 (dynbar): New global.
3670 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3671
081a1c2c
JK
36722015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3673
3674 * gdb.compile/compile-ifunc.c: New file.
3675 * gdb.compile/compile-ifunc.exp: New file.
3676
2f41223f
AT
36772015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3678
3679 * gdb.base/structs.exp: Check for correct struct on finish.
3680
03eddd80
YQ
36812015-02-26 Yao Qi <yao.qi@linaro.org>
3682
3683 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3684 is zero.
3685
80c57053
JK
36862015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3687
3688 * gdb.arch/cordic.ko.bz2: New file.
3689 * gdb.arch/cordic.ko.debug.bz2: New file.
3690 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3691
21613c12
YQ
36922015-02-25 Yao Qi <yao.qi@linaro.org>
3693
3694 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3695 aarch64*-*-* target.
3696
d8b901ed
PA
36972015-02-23 Pedro Alves <palves@redhat.com>
3698
3699 * lib/gdb.exp (delete_breakpoints): Rewrite using
3700 gdb_test_multiple.
3701
e5b85ead
PA
37022015-02-23 Pedro Alves <palves@redhat.com>
3703
3704 * gdb.base/info-os.c: Include stdlib.h.
3705
85c3a371
DE
37062015-02-22 Doug Evans <xdje42@gmail.com>
3707
3708 PR symtab/17855
3709 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3710 is read after symbols have been re-read.
3711 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3712 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3713
96553a0c
DE
37142015-02-21 Doug Evans <dje@google.com>
3715
3716 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3717
97a0c697
JK
37182015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3719
3720 PR corefiles/17808
3721 * gdb.arch/i386-biarch-core.core.bz2: New file.
3722 * gdb.arch/i386-biarch-core.exp: New file.
3723
a47cd6e9
PA
37242015-02-21 Pedro Alves <palves@redhat.com>
3725
3726 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3727 runto_main fails.
3728
c5facdc4
PA
37292015-02-20 Pedro Alves <palves@redhat.com>
3730
3731 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3732 info probes.
3733
2db9a427
PA
37342015-02-20 Pedro Alves <palves@redhat.com>
3735
3736 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3737
60fb7e9e
PA
37382015-02-20 Pedro Alves <palves@redhat.com>
3739
3740 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3741 clean_restart before gdb_target_supports_trace.
3742
5c5019c2
PA
37432015-02-20 Pedro Alves <palves@redhat.com>
3744
3745 PR threads/18006
3746 * gdb.threads/clone-thread_db.c: New file.
3747 * gdb.threads/clone-thread_db.exp: New file.
3748
c9587f88
AT
37492015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3750
3751 PR breakpoints/16812
3752 * gdb.base/catch-gdb-caused-signals.c: New file.
3753 * gdb.base/catch-gdb-caused-signals.exp: New file.
3754
f6a88844
JM
37552015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3756
3757 * configure: Regenerated.
3758 * configure.ac: Use GDB_AC_TRANSFORM.
3759 * aclocal.m4: sinclude ../transform.m4.
3760
497c491b
JM
37612015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3762
3763 * lib/dtrace.exp: New file.
3764 * gdb.base/dtrace-probe.exp: Likewise.
3765 * gdb.base/dtrace-probe.d: Likewise.
3766 * gdb.base/dtrace-probe.c: Likewise.
3767 * lib/pdtrace.in: Likewise.
3768 * configure.ac: Output variables with the transformed names of
3769 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3770 * configure: Regenerated.
3771
03e98035
JM
37722015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3773
3774 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3775 expected message when trying to access $_probe_* convenience
3776 variables while not on a probe.
3777
63cc30e9
JK
37782015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3779
3780 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3781
0703599a
PA
37822015-02-11 Pedro Alves <pedro@codesourcery.com>
3783
3784 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3785 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3786
7e60a48e
DE
37872015-02-10 Doug Evans <xdje42@gmail.com>
3788
3789 * lib/gdb.exp (gdb_load): Always return a result.
3790
01b088bc
PA
37912015-02-10 Pedro Alves <palves@redhat.com>
3792
3793 * gdb.threads/signal-sigtrap.c: New file.
3794 * gdb.threads/signal-sigtrap.exp: New file.
3795
b05ec7a5
AT
37962015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3797
3798 * gdb.trace/no-attach-trace.c: New file.
3799 * gdb.trace/no-attach-trace.exp: New file.
3800
a2c2acaf
MW
38012015-02-09 Mark Wielaard <mjw@redhat.com>
3802
3803 * gdb.dwarf2/atomic.c: New file.
3804 * gdb.dwarf2/atomic-type.exp: Likewise.
3805
31fd9caa
MM
38062015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3807
3808 * gdb.btrace/buffer-size.exp: Update "info record" output.
3809 * gdb.btrace/delta.exp: Update "info record" output.
3810 * gdb.btrace/enable.exp: Update "info record" output.
3811 * gdb.btrace/finish.exp: Update "info record" output.
3812 * gdb.btrace/instruction_history.exp: Update "info record" output.
3813 * gdb.btrace/next.exp: Update "info record" output.
3814 * gdb.btrace/nexti.exp: Update "info record" output.
3815 * gdb.btrace/step.exp: Update "info record" output.
3816 * gdb.btrace/stepi.exp: Update "info record" output.
3817 * gdb.btrace/nohist.exp: Update "info record" output.
3818
d33501a5
MM
38192015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3820
3821 * gdb.btrace/buffer-size: New.
3822
f4abbc16
MM
38232015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3824
3825 * gdb.btrace/delta.exp: Update "info record" output.
3826 * gdb.btrace/enable.exp: Update "info record" output.
3827 * gdb.btrace/finish.exp: Update "info record" output.
3828 * gdb.btrace/instruction_history.exp: Update "info record" output.
3829 * gdb.btrace/next.exp: Update "info record" output.
3830 * gdb.btrace/nexti.exp: Update "info record" output.
3831 * gdb.btrace/step.exp: Update "info record" output.
3832 * gdb.btrace/stepi.exp: Update "info record" output.
3833 * gdb.btrace/nohist.exp: Update "info record" output.
3834
b9d61307
SM
38352015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3836
3837 PR gdb/15678
3838 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3839
e584fdbc
PA
38402015-02-06 Pedro Alves <palves@redhat.com>
3841
3842 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3843 macro.
3844 (seconds_left, again): New globals.
3845 (main): Wait seconds_left in a 1-second sleep loop instead of
3846 sleeping 180 seconds. If 'again' is set, reset the seconds
3847 counter.
3848 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3849 'again' in the inferior before detaching. Print the seconds left.
3850 (options): New global.
3851 (top level): Build program with -DTIMEOUT=$timeout.
3852
77f41761
PA
38532015-02-06 Pedro Alves <palves@redhat.com>
3854
3855 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3856 determine how many seconds to pass to 'alarm'.
3857 * gdb.base/gdb-sigterm.exp (top level): Build program with
3858 -DTIMEOUT=$timeout.
3859 (do_test): Return success/failure indication. Add more verbose
3860 logging. Don't fail if 200 single steps are seen. Instead, fail
3861 when the test times out.
3862 (passes): New global.
3863 (top level): Break the testing loop if testing fails on any
3864 iteration. Use gdb_assert.
3865
b9394193
DB
38662015-02-04 Don Breazeal <donb@codesourcery.com>
3867
3868 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3869 and initialize them.
3870 (ipc_cleanup): New function.
3871 (main): Don't declare shmid, semid, and msqid. Add a call to
3872 atexit so that we call ipc_cleanup on exit.
3873
42d9e528
PA
38742015-02-04 Pedro Alves <palves@redhat.com>
3875
3876 * boards/native-extended-gdbserver.exp: Remove any target variant
3877 specifications from the board name before clearing the isremote
3878 flag from board_info.
3879
ae6ae975
DE
38802015-01-31 Doug Evans <xdje42@gmail.com>
3881
3882 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3883
cfb069a8
GB
38842015-01-31 Gary Benson <gbenson@redhat.com>
3885
3886 * gdb.base/completion.exp: Disable completion limiting for
3887 existing tests. Add new tests to check completion limiting.
3888 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3889
5dd31d79
DE
38902015-01-31 Doug Evans <xdje42@gmail.com>
3891
3892 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3893
9f050062
DE
38942015-01-31 Doug Evans <xdje42@gmail.com>
3895
3896 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3897 entries. Duplicate file section script entries.
3898 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3899 inlined entries. Add test for safe-path rejection.
3900 * gdb.python/py-section-script.c: Add duplicate inlined section script
3901 entries. Duplicate file section script entries.
3902 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3903 inlined entries. Add test for safe-path rejection.
3904
df25ebbd
JB
39052015-01-29 Joel Brobecker <brobecker@adacore.com>
3906
3907 * gdb.ada/disc_arr_bound: New testcase.
3908
4a0ca9ec
JB
39092015-01-29 Joel Brobecker <brobecker@adacore.com>
3910
3911 * gdb.ada/mi_var_array: New testcase.
3912
3a8b707a
DE
39132015-01-27 Doug Evans <dje@google.com>
3914
3915 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3916 Add test for objfile.filename, objfile.username after objfile
3917 has been unloaded.
3918
f8313f6e
JB
39192015-01-26 Joel Brobecker <brobecker@adacore.com>
3920
3921 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3922 the second test to print the name attribute of value
3923 returned by the call to gdb.lookup_type, and adjust
3924 the expected output accordingly.
3925
37bc665e
MW
39262015-01-25 Mark Wielaard <mjw@redhat.com>
3927
3928 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3929 * gdb.base/disp-step-fork.c: Include unistd.h.
3930 * gdb.base/siginfo-obj.c: Include stdio.h.
3931 * gdb.base/siginfo-thread.c: Likewise.
3932 * gdb.mi/non-stop.c: Include unistd.h.
3933 * gdb.mi/nsthrexec.c: Include stdio.h.
3934 * gdb.mi/pthreads.c: Include unistd.h.
3935 * gdb.modula2/unbounded1.c (main): Declare returns int.
3936 * gdb.reverse/consecutive-reverse.c: Likewise.
3937 * gdb.threads/create-fail.c: Include unistd.h.
3938 * gdb.threads/killed.c: Likewise.
3939 * gdb.threads/linux-dp.c: Likewise.
3940 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3941 * gdb.threads/non-ldr-exc-2.c: Likewise.
3942 * gdb.threads/non-ldr-exc-3.c: Likewise.
3943 * gdb.threads/non-ldr-exc-4.c: Likewise.
3944 * gdb.threads/pthreads.c: Include unistd.h.
3945 (main): Declare returns int.
3946 * gdb.threads/tls-main.c (foo): New declaration.
3947 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3948
f7e5394d
SM
39492015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3950
3951 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3952 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3953
743649fd
MW
39542015-01-15 Mark Wielaard <mjw@redhat.com>
3955
3956 * gdb.base/noreturn-return.c: New file.
3957 * gdb.base/noreturn-return.exp: New file.
3958 * gdb.base/noreturn-finish.c: New file.
3959 * gdb.base/noreturn-finish.exp: New file.
3960
198297aa
PA
39612015-01-23 Pedro Alves <palves@redhat.com>
3962
3963 * gdb.threads/continue-pending-after-query.c: New file.
3964 * gdb.threads/continue-pending-after-query.exp: New file.
3965
717cf30c
AG
39662015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3967 Simon Marchi <simon.marchi@ericsson.com>
3968
3969 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3970 * gdb.base/valgrind-db-attach.exp: Same.
3971 * gdb.base/valgrind-infcall.exp: Same.
3972 * lib/mi-support.exp (default_mi_gdb_start): Same.
3973 * lib/prompt.exp (default_prompt_gdb_start): Same.
3974 * lib/gdb.exp (default_gdb_spawn): Same.
3975 (gdb_interact): New.
3976
3977
4b62a76e
JK
39782015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3979
3980 * gdb.compile/compile.exp (pointer to jit function): New test.
3981
b4cdae6f
WW
39822015-01-17 Wei-cheng Wang <cole945@gmail.com>
3983
3984 * lib/gdb.exp (supports_process_record): Return true for
3985 powerpc*-*-linux*.
3986 (supports_reverse): Likewise.
3987
d221e7ef
DB
39882015-01-15 Don Breazeal <donb@codesourcery.com>
3989
3990 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3991 instead of checking whether the target board is remote and
3992 use spawn_wait_for_attach instead of exec/sleep.
3993 * gdb.base/attach-twice.exp: Likewise.
3994
bafffb51
JB
39952015-01-15 Joel Brobecker <brobecker@adacore.com>
3996
3997 * gdb.ada/var_arr_attrs: New testcase.
3998
5589af0e
PA
39992015-01-14 Pedro Alves <palves@redhat.com>
4000 Joel Brobecker <brobecker@adacore.com>
4001
4002 PR gdb/17525
4003 * gdb.base/bp-cmds-execution-x-script.c: New file.
4004 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4005 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4006
6c400b59
PA
40072015-01-14 Pedro Alves <palves@redhat.com>
4008
4009 PR cli/17828
4010 * gdb.base/batch-preserve-term-settings.c: New file.
4011 * gdb.base/batch-preserve-term-settings.exp: New file.
4012
e02c96a7
DE
40132015-01-13 Doug Evans <dje@google.com>
4014
4015 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4016 binary.
4017
576fd14c
JB
40182015-01-13 Joel Brobecker <brobecker@adacore.com>
4019
4020 * Makefile.in (clean mostlyclean): Do not delete *.py.
4021
04dccad0
JB
40222015-01-13 Joel Brobecker <brobecker@adacore.com>
4023
4024 * gdb.python/py-lookup-type.exp: New file.
4025
3d230f71
PA
40262015-01-12 Pedro Alves <palves@redhat.com>
4027
4028 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4029 restore GDBFLAGS before returning.
4030
7e67715d
JK
40312015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4032
4033 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4034 is_amd64_regs_target and is_x86_like_target.
4035
f2e0d4b4
DE
40362015-01-11 Doug Evans <xdje42@gmail.com>
4037
4038 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4039 is given without an explicit form.
4040 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4041 attributes.
4042 * gdb.dwarf/corrupt.exp: Ditto.
4043 * gdb.dwarf2/enum-type.exp: Ditto.
4044 * gdb.trace/entry-values.exp: Ditto.
4045 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4046
439250fb
DE
40472015-01-11 Doug Evans <xdje42@gmail.com>
4048
4049 PR gdb/15830
4050 * gdb.base/maint.exp: Remove references to "maint demangle".
4051 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4052 Add tests for explicitly specifying language to demangle.
4053 * gdb.dlang/demangle.exp: Ditto.
4054
ede9f622
PA
40552015-01-09 Pedro Alves <palves@redhat.com>
4056
4057 * gdb.threads/non-stop-fair-events.c: New file.
4058 * gdb.threads/non-stop-fair-events.exp: New file.
4059
a7b796db
PA
40602015-01-09 Pedro Alves <palves@redhat.com>
4061
4062 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4063 the global scope. Set a breakpoint after all threads are started
4064 rather than stepping over two source lines. Expect the prompt.
4065 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4066 global.
4067 (NUM): Now 15.
4068 (main): Use threads_started_barrier to wait for all threads to
4069 start. Main thread no longer calls thread_function. Exit after
4070 180 seconds.
4071 (loop): New function.
4072 (thread_function): Wait on threads_started_barrier barrier. Call
4073 'loop' at each iteration.
4074 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4075 threads have started, instead of hardcoding number of "next"
4076 steps. Use an access watchpoint instead of a write watchpoint.
4077
9665ffdd
PA
40782015-01-09 Pedro Alves <palves@redhat.com>
4079
4080 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4081 (thread_func): Wait on barrier.
4082 (main): Wait for all threads to start before stopping GDB.
4083 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4084 global.
4085 (thread1_func, thread2_func): Wait on barrier.
4086 (main): Wait for all threads to start before stopping GDB.
4087 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4088 New global.
4089 (thread1_func, thread2_func): Wait on barrier.
4090 (main): Wait for all threads to start before stopping GDB.
4091
c945a99f
PA
40922015-01-09 Pedro Alves <palves@redhat.com>
4093
4094 * gdb.threads/attach-many-short-lived-threads.c: New file.
4095 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4096
c1a747c1
PA
40972014-01-09 Pedro Alves <palves@redhat.com>
4098
4099 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4100 instead of to thread 2.
4101 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4102 Add barrier around each pthread_create call instead of around all
4103 calls.
4104 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4105 Set a break on thread_function and have the child threads hit it
4106 one at at a time.
4107
60b3033e
PA
41082015-01-09 Pedro Alves <palves@redhat.com>
4109
4110 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4111 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4112 false.
4113 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4114 checking whether the target board is remote.
4115 * gdb.multi/multi-attach.exp: Likewise.
4116 * gdb.python/py-sync-interp.exp: Likewise.
4117 * gdb.server/ext-attach.exp: Likewise.
4118 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4119 tests that need to attach, instead of checking whether the target
4120 board is remote at the top of the file.
4121
acc018ac
YQ
41222015-01-08 Yao Qi <yao@codesourcery.com>
4123
4124 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4125
50a18af8
JK
41262015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4127
4128 Fix testcase compilation.
4129 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4130
8503d6e1
JB
41312015-01-06 Joel Brobecker <brobecker@adacore.com>
4132
4133 * gdb.python/py-type.exp: Add a couple test about empty
4134 array creation, and negative-length array creation.
4135
cc73dbcc
DE
41362015-01-02 Doug Evans <xdje42@gmail.com>
4137
4138 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4139
0300bbc7
DE
41402015-01-02 Doug Evans <dje@google.com>
4141
4142 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4143
9d85a0ec
YQ
41442014-12-29 Yao Qi <yao@codesourcery.com>
4145
4146 * gdb.trace/entry-values.exp: Update comments. Rename variable
4147 bar_call_foo to returned_from_foo.
4148
87186c6a
MMN
41492014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4150
4151 PR gdb/17394
4152 * gdb.linespec/break-asm-file.c: New file.
4153 * gdb.linespec/break-asm-file.exp: New file.
4154 * gdb.linespec/break-asm-file0.s: New file.
4155 * gdb.linespec/break-asm-file1.s: New file.
4156
1bab7383
YQ
41572014-12-18 Nigel Stephens <nigel@mips.com>
4158 Maciej W. Rozycki <macro@codesourcery.com>
4159
4160 * gdb.base/float.exp: Handle the new output from "info float" on
4161 MIPS targets.
4162
1bc1068a
JK
41632014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4164
4165 Fix MinGW compilation.
4166 * gdb.compile/compile-ops.exp: Update untested message if
4167 !skip_compile_feature_tests.
4168 * gdb.compile/compile-setjmp.exp: Likewise.
4169 * gdb.compile/compile-tls.exp: Likewise.
4170 * gdb.compile/compile.exp: Likewise.
4171 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4172 supported on this host".
4173
b6615d10
DE
41742014-12-16 Doug Evans <xdje42@gmail.com>
4175
4176 * boards/stabs.exp: New file.
4177
25dda427
AA
41782014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4179
4180 * gdb.base/completion.exp: Adjust to format changes of "maint
4181 print user-registers".
4182
bf330350
CU
41832014-12-16 Catalin Udma <catalin.udma@freescale.com>
4184
4185 PR server/17457
4186 * gdb.arch/aarch64-fp.c: New file.
4187 * gdb.arch/aarch64-fp.exp: New file.
4188
395cf596
SDJ
41892014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4190
4191 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4192 r210637, r210913, r211666, r215400, r215817).
4193
4194 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4195 * dg-extract-results.py: New file.
4196 * dg-extract-results.sh: Use it if the environment seems
4197 suitable.
4198
4199 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4200
4201 * dg-extract-results.py (parse_run): Handle warnings that
4202 are printed before a test harness is run.
4203
4204 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4205
4206 * dg-extract-results.py (Named): Remove __cmp__ method.
4207 (output_variation): Use a key to sort variation.harnesses.
4208
4209 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4210
4211 * dg-extract-results.py: For Python 3, force sys.stdout to
4212 handle surrogate escape sequences.
4213 (safe_open): New function.
4214 (output_segment, main): Use it.
4215
4216 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4217
4218 * dg-extract-results.py (Prog.result_re): Include options
4219 in test name.
4220
4221 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4222
4223 * dg-extract-results.py (output_variation): Always sort if
4224 do_sum.
4225
e882ef3c
SM
42262014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4227
4228 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4229 as long as we get pagination notifications.
4230
4992aa20
JM
42312014-12-15 Jason Merrill <jason@redhat.com>
4232
4233 * Makefile.in (check-gdb.%): Restore.
4234 * README: Mention it.
4235
c1b5a1a6
JB
42362014-12-13 Joel Brobecker <brobecker@adacore.com>
4237
4238 * gdb.ada/str_uninit: New testcase.
4239
5537b577
JK
42402014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4241
4242 PR symtab/17642
4243 * gdb.base/vla-stub-define.c: New file.
4244 * gdb.base/vla-stub.c: New file.
4245 * gdb.base/vla-stub.exp: New file.
4246
bb2ec1b3
TT
42472014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4248 Jan Kratochvil <jan.kratochvil@redhat.com>
4249 Tom Tromey <tromey@redhat.com>
4250
4251 * configure.ac: Add gdb.compile/.
4252 * configure: Regenerate.
4253 * gdb.compile/Makefile.in: New file.
4254 * gdb.compile/compile-ops.exp: New file.
4255 * gdb.compile/compile-ops.c: New file.
4256 * gdb.compile/compile-tls.c: New file.
4257 * gdb.compile/compile-tls.exp: New file.
4258 * gdb.compile/compile-constvar.S: New file.
4259 * gdb.compile/compile-constvar.c: New file.
4260 * gdb.compile/compile-mod.c: New file.
4261 * gdb.compile/compile-nodebug.c: New file.
4262 * gdb.compile/compile-setjmp-mod.c: New file.
4263 * gdb.compile/compile-setjmp.c: New file.
4264 * gdb.compile/compile-setjmp.exp: New file.
4265 * gdb.compile/compile-shlib.c: New file.
4266 * gdb.compile/compile.c: New file.
4267 * gdb.compile/compile.exp: New file.
4268 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4269
4ff709eb
TT
42702014-12-12 Tom Tromey <tromey@redhat.com>
4271
4272 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4273 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4274
6dddd6a5
DE
42752014-12-12 Doug Evans <dje@google.com>
4276
4277 * lib/gdb-python.exp (get_python_valueof): New function.
4278 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4279
71c24708
AA
42802014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4281
4282 * gdb.base/completion.exp: Add test for completion of "info
4283 registers ".
4284
3e29f34a
MR
42852014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4286
4287 * gdb.base/func-ptrs.c: New file.
4288 * gdb.base/func-ptrs.exp: New file.
4289
fc126975
SM
42902014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4291
4292 PR breakpoints/17012
4293 * gdb.base/dprintf-detach.c: New file.
4294 * gdb.base/dprintf-detach.exp: New file.
4295
0a46d518
SM
42962014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4297
4298 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4299 * lib/gdb.exp (target_is_gdbserver): New procedure.
4300
a0be3e44
DE
43012014-12-08 Doug Evans <dje@google.com>
4302
4303 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4304
df1b803a
YQ
43052014-12-05 Yao Qi <yao@codesourcery.com>
4306
4307 * gdb.guile/scm-error.exp: Remove the third argument to
4308 gdb_remote_download.
4309 * gdb.guile/scm-frame-args.exp: Likewise.
4310 * gdb.guile/scm-section-script.exp: Likewise.
4311
ddb9f679
YQ
43122014-12-05 Yao Qi <yao@codesourcery.com>
4313
4314 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4315
86e4ed39
DE
43162014-12-04 Doug Evans <dje@google.com>
4317
4318 * gdb.python/py-objfile.exp: Add tests for
4319 objfile.add_separate_debug_file.
4320
7c50a931
DE
43212014-12-04 Doug Evans <dje@google.com>
4322
4323 * lib/gdb.exp (get_build_id): New function.
4324 (build_id_debug_filename_get): Rewrite to use it.
4325 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4326
621661e3
MR
43272014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4328
4329 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4330 `method(long)', not just 0x0.
4331 * gdb.cp/nsalias.exp: Align code labels to 4.
4332 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4333 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4334 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4335 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4336 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4337 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4338
29f0c3b7
DE
43392014-12-02 Doug Evans <dje@google.com>
4340
e1e061e7 4341 PR symtab/17602
29f0c3b7 4342 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4343 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4344 * gdb.cp/anon-ns.exp: Update.
4345
162078c8
NB
43462014-12-02 Nick Bull <nicholaspbull@gmail.com>
4347
4348 * gdb.python/py-events.py (inferior_call_handler): New.
4349 (register_changed_handler, memory_changed_handler): New.
4350 (test_events.invoke): Register new handlers.
4351 * gdb.python/py-events.exp: Add tests for inferior call,
4352 memory_changed and register_changed events.
4353
fdb09caf
AA
43542014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4355
4356 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4357 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4358 if the linker doesn't understand this.
4359
55cfb2c4
SM
43602014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4361
4362 * gdb.python/python.exp: Change expected reply to help().
4363
9e8cd6df
YQ
43642014-12-01 Yao Qi <yao@codesourcery.com>
4365
4366 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4367 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4368 * configure: Re-generated.
4369
6c659fc2
SC
43702014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4371
4372 * gdb.cp/chained-calls.cc: New file.
4373 * gdb.cp/chained-calls.exp: New file.
4374 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4375
d7fc3181
SM
43762014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4377
4378 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4379 * gdb.dwarf2/symtab-producer.exp: Same.
4380 * gdb.gdb/python-interrupts.exp: Same.
4381 * gdb.gdb/python-selftest.exp: Same.
4382 * gdb.python/py-linetable.exp: Same.
4383 * gdb.python/py-type.exp: Same.
4384 * gdb.python/py-value-cc.exp: Same.
4385 * gdb.python/py-value.exp: Same.
4386
10e79639
YQ
43872014-11-28 Yao Qi <yao@codesourcery.com>
4388
4389 * gdb.base/break-probes.exp: Match library name prefixed with
4390 sysroot.
4391
f28a0564
SM
43922014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4393
4394 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4395 test expected output. Add parentheses for the call to print.
4396 Remove L suffix from integers.
4397
3fe1ce1d
DE
43982014-11-26 Doug Evans <dje@google.com>
4399
4400 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4401
84429e27
YQ
44022014-11-22 Yao Qi <yao@codesourcery.com>
4403
4404 * gdb.trace/entry-values.c: Remove asms.
4405 (foo): Add foo_label.
4406 (bar): Add bar_label.
4407 * gdb.trace/entry-values.exp: Remove code computing foo's
4408 length and bar's length.
4409 (Dwarf::assemble): Invoke function_range for bar and use
4410 MACRO_AT_func for foo.
4411
26741859
YQ
44122014-11-22 Yao Qi <yao@codesourcery.com>
4413
4414 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4415 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4416 Use .Lgcc43_procstart instead of gcc43.
4417
45e44d27
JB
44182014-11-21 Joel Brobecker <brobecker@adacore.com>
4419
4420 * gdb.ada/n_arr_bound: New testcase.
4421
458c8db8
SDJ
44222014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4423
4424 PR breakpoints/10737
4425 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4426 test_catch_syscall_multi_arch.
4427 (test_catch_syscall_multi_arch): New function.
4428
43f3e411
DE
44292014-11-20 Doug Evans <xdje42@gmail.com>
4430
4431 * gdb.base/maint.exp: Update expected output.
4432
0d7b2549
AA
44332014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4434
4435 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4436 4-byte instruction on S390.
4437
8908fca5
JB
44382014-11-19 Joel Brobecker <brobecker@adacore.com>
4439
4440 * gdb.ada/arr_arr: New testcase.
4441
4a46959e
JB
44422014-11-19 Joel Brobecker <brobecker@adacore.com>
4443
4444 * gdb.ada/pkd_arr_elem: New Testcase.
4445
470e2f4e
LM
44462014-11-18 Luis Machado <lgustavo@codesourcery.com>
4447
4448 * gdb.reverse/break-precsave: Expect completion message for
4449 core file reads.
4450 * gdb.reverse/consecutive-precsave.exp: Likewise.
4451 * gdb.reverse/finish-precsave.exp: Likewise.
4452 * gdb.reverse/i386-precsave.exp: Likewise.
4453 * gdb.reverse/machinestate-precsave.exp: Likewise.
4454 * gdb.reverse/sigall-precsave.exp: Likewise.
4455 * gdb.reverse/solib-precsave.exp: Likewise.
4456 * gdb.reverse/step-precsave.exp: Likewise.
4457 * gdb.reverse/until-precsave.exp: Likewise.
4458 * gdb.reverse/watch-precsave.exp: Likewise.
4459
a267f3ad
AA
44602014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4461
4462 * gdb.base/bp-permanent.c: Include unistd.h.
4463 * gdb.python/py-framefilter-mi.c (main): Add return type.
4464 * gdb.python/py-framefilter.c (main): Likewise.
4465 * gdb.trace/actions-changed.c (main): Likewise.
4466
12084a9a
AA
44672014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4468
4469 * gdb.mi/until.c: Add eye-catchers.
4470 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4471 line numbers.
4472
dc7e1a77
AA
44732014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4474
4475 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4476 function header variants in break1.c.
4477 * gdb.base/ena-dis-br.exp: Likewise.
4478 * gdb.base/hbreak2.exp: Likewise.
4479 * gdb.reverse/until-precsave.exp: Drop references to removed
4480 non-prototype function header variants in ur1.c.
4481 * gdb.reverse/until-reverse.exp: Likewise.
4482
41c77605
PM
44832014-11-17 Petr Machata <pmachata@redhat.com>
4484
4485 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4486 ${_cu_offset_size} bytes abbrev offset.
4487
34248c3a
DE
44882014-11-15 Doug Evans <xdje42@gmail.com>
4489
4490 PR symtab/17559
4491 * gdb.base/line-symtabs.exp: New file.
4492 * gdb.base/line-symtabs.c: New file.
4493 * gdb.base/line-symtabs.h: New file.
4494
646da059
YQ
44952014-11-14 Yao Qi <yao@codesourcery.com>
4496
4497 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4498 (func): Add label func_label.
4499 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4500 Replace low_pc and high_pc with MACRO_AT_range.
4501 Replace name, low_pc and high_pc with MACRO_AT_func.
4502
9301ebe6
YQ
45032014-11-14 Yao Qi <yao@codesourcery.com>
4504
4505 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4506 Replace name, low_pc and high_pc with MACRO_AT_func.
4507
f166b542
YQ
45082014-11-14 Yao Qi <yao@codesourcery.com>
4509
4510 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4511 produce debug information.
4512 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4513
0f6e71e3
YQ
45142014-11-14 Yao Qi <yao@codesourcery.com>
4515
4516 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4517 object and get function length.
4518 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4519 with MACRO_AT_func.
4520 (top-level): Replace gdb_compile and clean_restart with
4521 prepare_for_testing.
4522 * gdb.dwarf2/main.c (main): Add label main_label.
4523
876c4df9
YQ
45242014-11-14 Yao Qi <yao@codesourcery.com>
4525
4526 * lib/dwarf.exp (function_range): New procedure.
4527 (Dwarf::_handle_macro_at_func): New procedure.
4528 (Dwarf::_handle_macro_at_range): New procedure.
4529 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4530
02ad9cf1
YQ
45312014-11-14 Yao Qi <yao@codesourcery.com>
4532
4533 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4534 (_handle_attribute): New procedure.
4535
a59add0c
AA
45362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4537
4538 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4539 * gdb.base/call-sc.c (zed): Likewise.
4540 * gdb.base/checkpoint.c (main): Likewise.
4541 * gdb.base/dump.c (main): Likewise.
4542 * gdb.base/gcore.c (main): Likewise.
4543 * gdb.base/huge.c (main): Likewise.
4544 * gdb.base/multi-forks.c (main): Likewise.
4545 * gdb.base/pr10179-a.c (main): Likewise.
4546 * gdb.base/savedregs.c (main): Likewise.
4547 * gdb.base/sigaltstack.c (main): Likewise.
4548 * gdb.base/siginfo.c (main): Likewise.
4549 * gdb.base/structs.c (zed): Likewise.
4550 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4551 * gdb.mi/mi-syn-frame.c (main): Likewise.
4552 * gdb.mi/until.c (foo, main): Likewise.
4553 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4554 * gdb.base/solib-weak.c (foo): Declare.
4555 * gdb.base/attach-twice.c: Include stdio.h.
4556 * gdb.base/weaklib1.c: Likewise.
4557 * gdb.base/weaklib2.c: Likewise.
4558 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4559 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4560 unistd.h.
4561 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4562 * gdb.mi/mi-exit-code.c: Likewise.
4563 * gdb.base/break-interp-lib.c: Include string.h.
4564 * gdb.base/coremaker.c: Likewise.
4565 * gdb.base/testenv.c: Likewise.
4566 * gdb.python/py-finish-breakpoint.c: Likewise.
4567 * gdb.base/inferior-died.c: Include sys/wait.h.
4568 * gdb.base/fileio.c: Include time.h.
4569 * gdb.base/async-shell.c: Include unistd.h.
4570 * gdb.base/dprintf-non-stop.c: Likewise.
4571 * gdb.base/info-os.c: Likewise.
4572 * gdb.mi/mi-console.c: Likewise.
4573 * gdb.mi/watch-nonstop.c: Likewise.
4574 * gdb.python/py-events.c: Likewise.
4575 * gdb.base/async.c (baz): Move up before its invocation.
4576 * gdb.base/code_elim2.c (my_global_func): Likewise.
4577 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4578 * gdb.base/advance.c (func2): Likewise.
4579
3b5d5997
AA
45802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4581
4582 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4583 variant.
4584 * gdb.base/annota3.c: Likewise.
4585 * gdb.base/async.c: Likewise.
4586 * gdb.base/average.c: Likewise.
4587 * gdb.base/call-ar-st.c: Likewise.
4588 * gdb.base/call-rt-st.c: Likewise.
4589 * gdb.base/call-sc.c: Likewise.
4590 * gdb.base/call-strs.c: Likewise.
4591 * gdb.base/ending-run.c: Likewise.
4592 * gdb.base/execd-prog.c: Likewise.
4593 * gdb.base/exprs.c: Likewise.
4594 * gdb.base/foll-exec.c: Likewise.
4595 * gdb.base/foll-fork.c: Likewise.
4596 * gdb.base/foll-vfork.c: Likewise.
4597 * gdb.base/funcargs.c: Likewise.
4598 * gdb.base/gcore.c: Likewise.
4599 * gdb.base/jump.c: Likewise.
4600 * gdb.base/langs0.c: Likewise.
4601 * gdb.base/langs1.c: Likewise.
4602 * gdb.base/langs2.c: Likewise.
4603 * gdb.base/mips_pro.c: Likewise.
4604 * gdb.base/nodebug.c: Likewise.
4605 * gdb.base/opaque0.c: Likewise.
4606 * gdb.base/opaque1.c: Likewise.
4607 * gdb.base/recurse.c: Likewise.
4608 * gdb.base/run.c: Likewise.
4609 * gdb.base/scope0.c: Likewise.
4610 * gdb.base/scope1.c: Likewise.
4611 * gdb.base/setshow.c: Likewise.
4612 * gdb.base/setvar.c: Likewise.
4613 * gdb.base/shmain.c: Likewise.
4614 * gdb.base/shr1.c: Likewise.
4615 * gdb.base/shr2.c: Likewise.
4616 * gdb.base/sigall.c: Likewise.
4617 * gdb.base/signals.c: Likewise.
4618 * gdb.base/so-indr-cl.c: Likewise.
4619 * gdb.base/solib2.c: Likewise.
4620 * gdb.base/structs.c: Likewise.
4621 * gdb.base/sum.c: Likewise.
4622 * gdb.base/vforked-prog.c: Likewise.
4623 * gdb.base/watchpoint.c: Likewise.
4624 * gdb.reverse/shr2.c: Likewise.
4625 * gdb.reverse/until-reverse.c: Likewise.
4626 * gdb.reverse/ur1.c: Likewise.
4627 * gdb.reverse/watch-reverse.c: Likewise.
4628
066a77c5
AA
46292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4630
4631 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4632 variant.
4633 * gdb.base/sepdebug.exp: Drop references to removed code.
4634
4f204ea5
AA
46352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4636
4637 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4638 variant. Preserve original line numbering.
4639 * gdb.base/list1.c: Likewise.
4640
3b377a3a
AA
46412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4642
4643 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4644 variant.
4645 * gdb.base/break1.c: Likewise.
4646 * gdb.base/break.exp: Drop references to removed code.
4647
e444df73
AA
46482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4649
4650 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4651 variant.
4652
8008f2a7
AA
46532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4654
4655 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4656
a5a06887
AA
46572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4658
4659 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4660 logic into perform_all_tests() and invoke it with and without
4661 function header prototypes.
4662 (do_function_calls): Remove conditional XFAIL for PR 5318.
4663 (rerun_and_prepare): Remove duplicate code.
4664 (perform_all_tests): New. Main logic moved here.
4665
44dba9b9
AA
46662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4667
4668 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4669 code guarded by #ifdef NO_PROTOTYPES.
4670 (t_double_many_args): Likewise.
4671 (DEF_FUNC_MANY_ARGS_1): Likewise.
4672 (DEF_FUNC_VALUES_1): Likewise.
4673 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4674 guarded by #ifdef PROTOTYPES.
4675
d1fbcd56
AA
46762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4677
4678 * gdb.mi/mi-console.c: Add eye-catcher.
4679 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4680 instead of literal line number.
4681
b0e59b8f
AA
46822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4683
4684 * gdb.base/shr2.c: Add eye-catcher.
4685 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4686 line number.
4687
78f98cca
AA
46882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4689
4690 * gdb.base/jump.c: Add eye-catchers.
4691 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4692 numbers.
4693
58fa2af0
AA
46942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4695
4696 * gdb.base/execd-prog.c: Add eye-catchers.
4697 * gdb.base/foll-exec.c: Likewise.
4698 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4699 line numbers.
4700
04e5059b
AA
47012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4702
4703 * gdb.base/ending-run.c: Add eye-catchers.
4704 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4705 literal line numbers.
4706
dbfdb174
AA
47072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4708
4709 * gdb.base/call-rt-st.c: Add eye-catchers.
4710 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4711 literal line numbers.
4712
888a2ade
AA
47132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4714
4715 * gdb.base/call-ar-st.c: Add eye-catchers.
4716 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4717 literal line numbers.
4718
6acc2dde
AA
47192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4720
4721 * gdb.base/average.c: Add eye-catchers.
4722 * gdb.base/sum.c: Likewise.
4723 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4724 regexps dynamically.
4725
9ecfcd1d
AA
47262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4727
4728 * gdb.base/solib1.c: Add eye-catchers.
4729 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4730 literal line numbers.
4731
78708b7c
PA
47322014-11-12 Pedro Alves <palves@redhat.com>
4733
4734 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4735 leader has exited.
4736
af48d08f
PA
47372014-11-12 Pedro Alves <palves@redhat.com>
4738
4739 * gdb.arch/i386-bp_permanent.c: New file.
4740 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4741 (srcfile): Set to i386-bp_permanent.c.
4742 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4743 that stepi does not execute the 'leave' instruction, instead of
4744 testing it does execute.
4745 * gdb.base/bp-permanent.c: New file.
4746 * gdb.base/bp-permanent.exp: New file.
4747
af3768e9
DE
47482014-11-10 Doug Evans <xdje42@gmail.com>
4749
4750 PR symtab/17564
4751 * gdb.base/symtab-search-order.exp: New file.
4752 * gdb.base/symtab-search-order.c: New file.
4753 * gdb.base/symtab-search-order-1.c: New file.
4754 * gdb.base/symtab-search-order-shlib-1.c: New file.
4755
9de00a4a
PA
47562014-11-07 Pedro Alves <palves@redhat.com>
4757
4758 PR gdb/17511
4759 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4760 i?86-*-linux*.
4761
e0f52461
SC
47622014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4763
4764 PR c++/17494
4765 * gdb.cp/pr17494.cc: New file.
4766 * gdb.cp/pr17494.exp: New file.
4767
6ce8c980
YQ
47682014-11-02 Yao Qi <yao@codesourcery.com>
4769
4770 * gdb.python/python.exp: Get working directory and match the
4771 output of "set extended-prompt \\w " with it.
4772
02be9a71
DE
47732014-10-30 Doug Evans <dje@google.com>
4774
4775 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4776 in objfiles.
4777 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4778 in progspaces.
4779
3bdff46b
LM
47802014-10-30 Janis Johnson <janisjo@codesourcery.com>
4781
4782 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4783 * gdb.base/realname-expand.exp: Likewise.
4784 * gdb.linespec/macro-relative.exp: Likewise.
4785
ab917dfb
PA
47862014-10-29 Pedro Alves <palves@redhat.com>
4787
4788 PR gdb/17408
4789 * gdb.threads/schedlock.c (some_function): New function.
4790 (call_function): New global.
4791 (MAYBE_CALL_SOME_FUNCTION): New macro.
4792 (thread_function): Call it.
4793 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4794 and use it instead of a global counter. Adjust all callers.
4795 (get_current_thread): Use "find current thread" for test message
4796 here rather than having all callers pass down the same string.
4797 (goto_loop): New procedure, factored out from ...
4798 (my_continue): ... this.
4799 (step_ten_loops): Change parameter from test message to command to
4800 use. Adjust.
4801 (list_count): Delete global.
4802 (check_result): New procedure, factored out from duplicate top
4803 level code.
4804 (continue tests): Wrap in with_test_prefix.
4805 (test_step): New procedure, factored out from duplicate top level
4806 code.
4807 (top level): Test "step" in combination with all scheduler-locking
4808 modes. Test "next" in combination with all scheduler-locking
4809 modes, and in combination with stepping over a function call or
4810 not.
4811 * gdb.threads/next-bp-other-thread.c: New file.
4812 * gdb.threads/next-bp-other-thread.exp: New file.
4813
d3d4baed
PA
48142014-10-29 Pedro Alves <palves@redhat.com>
4815
4816 PR python/17372
4817 * gdb.python/python.exp: Test a multi-line command that spawns
4818 interactive Python.
4819 * gdb.base/multi-line-starts-subshell.exp: New file.
4820
563e8d85
YQ
48212014-10-29 Yao Qi <yao@codesourcery.com>
4822
4823 * gdb.base/fileio.exp: Make directories on host.
4824
0ea4d52e
YQ
48252014-10-29 Yao Qi <yao@codesourcery.com>
4826
4827 * gdb.base/fileio.c (test_write): Close the file.
4828
7f5ef605
PA
48292014-10-28 Pedro Alves <palves@redhat.com>
4830
4831 PR gdb/12623
4832 * gdb.base/sigstep.c (no_handler): New global.
4833 (main): If 'no_handler is true, set the signal handlers to
4834 SIG_IGN.
4835 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4836 with_sw_watch and no_handler parameters. Handle them.
4837 (top level) <stepping over handler when stopped at a breakpoint
4838 test>: Add a test axis for testing with a software watchpoint, and
4839 another for testing with the signal handler set to SIG_IGN.
4840 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4841 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4842
abbdbd03
PA
48432014-10-28 Pedro Alves <palves@redhat.com>
4844
4845 PR gdb/17511
4846 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4847 * gdb.base/sigstep.exp (other_handler_location): New global.
4848 (advance): Support stepping into the signal handler, and running
4849 commands while in the handler.
4850 (in_handler_map): New global.
4851 (top level): In the advance test, add combinations for getting
4852 into the handler with stepping commands, and for running commands
4853 in the handler. Add comment descripting the advancei tests.
4854
1df4399f
PA
48552014-10-28 Pedro Alves <palves@redhat.com>
4856
4857 * gdb.base/sigstep.exp: Use build_executable instead of
4858 prepare_for_testing.
4859 (top level): Move code that starts GDB, runs to main and creates a
4860 display to ...
4861 (restart): ... this new procedure.
4862 (top level): Move backtrace from signal handler test to ...
4863 (validate_backtrace): ... this new procedure.
4864 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4865 with_test_prefix. Always restart GDB.
4866 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4867 with_test_prefix. Always restart GDB. No need to delete
4868 breakpoints after the test.
4869 (test_skip_handler): Remove prefix parameter.
4870 (skip_over_handler, breakpoint_to_handler)
4871 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4872 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4873 restart GDB. No need to delete breakpoints after the test.
4874 (top level): Use foreach to call the test procedures with
4875 different commands.
4876
a5b6e449
PA
48772014-10-28 Pedro Alves <palves@redhat.com>
4878
4879 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4880 instead of GNATS numbers.
4881 * gdb.base/sigbpt.exp: Likewise.
4882 * gdb.base/siginfo.exp: Likewise.
4883 * gdb.base/sigstep.exp: Likewise.
4884
e5f8a7cc
PA
48852014-10-27 Pedro Alves <palves@redhat.com>
4886
4887 * gdb.base/sigstep.c (dummy): New global.
4888 (main): Issue a couple writes to the new global.
4889 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4890 procedures.
4891 (skip_over_handler): Use test_skip_handler.
4892 (top level): Call skip_over_handler for stepi and nexti too.
4893 (breakpoint_over_handler): Use test_skip_handler.
4894 (top level): Call breakpoint_over_handler for stepi and nexti too.
4895
763905a3
YQ
48962014-10-27 Yao Qi <yao@codesourcery.com>
4897
4898 * gdb.trace/tfile.c (adjust_function_address)
4899 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4900 function descriptor.
4901
6f259a23
DB
49022014-10-24 Don Breazeal <donb@codesourcery.com>
4903
4904 * gdb.base/foll-fork.exp (test_follow_fork,
4905 catch_fork_child_follow): Check for updated fork messages emitted
4906 from infrun.c.
4907 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4908 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4909 vfork_and_exec_child_follow_through_step): Check for updated vfork
4910 messages emitted from infrun.c.
4911
09dd9a69
PA
49122014-10-24 Pedro Alves <palves@redhat.com>
4913
4914 * gdb.base/corefile.exp: Remove references to ultrix.
4915 * gdb.base/interrupt.exp: Likewise.
4916 * gdb.base/whatis.exp: Likewise.
4917 * gdb.gdb/selftest.exp: Likewise.
4918 * gdb.threads/manythreads.exp: Likewise.
4919 * gdb.threads/print-threads.exp: Likewise.
4920 * gdb.threads/pthreads.exp:: Likewise.
4921 * gdb.threads/schedlock.exp: Likewise.
4922
3433cfa5
SC
49232014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4924
4925 * gdb.cp/non-trivial-retval.cc: Add a test case.
4926 * gdb.cp/non-trivial-retval.exp: Add a test.
4927
092f880b
YQ
49282014-10-20 Yao Qi <yao@codesourcery.com>
4929
4930 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4931 * gdb.python/py-objfile-script-gdb.py: New file.
4932 * gdb.python/py-objfile-script.exp: Update reference to
4933 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4934 of remote_download. Remove the dest file.
4935
acbdb7f3
YQ
49362014-10-20 Yao Qi <yao@codesourcery.com>
4937
4938 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4939 * gdb.base/step-line.exp: Likewise.
4940 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4941 * gdb.dwarf2/dw2-basic.exp: Likewise.
4942 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4943 * gdb.dwarf2/dw2-filename.exp: Likewise.
4944 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4945 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4946 * gdb.dwarf2/dw2-producer.exp: Likewise.
4947 * gdb.dwarf2/mac-fileno.exp: Likewise.
4948 * gdb.python/py-frame-args.exp: Likewise.
4949 * gdb.python/py-framefilter.exp: Likewise.
4950 * gdb.python/py-mi.exp: Likewise.
4951 * gdb.python/py-objfile-script.exp: Likewise
4952 * gdb.python/py-pp-integral.exp: Likewise.
4953 * gdb.python/py-pp-re-notag.exp: Likewise.
4954 * gdb.python/py-prettyprint.exp: Likewise.
4955 * gdb.python/py-section-script.exp: Likewise.
4956 * gdb.python/py-typeprint.exp: Likewise.
4957 * gdb.python/py-xmethods.exp: Likewise.
4958 * gdb.stabs/weird.exp: Likewise.
4959 * gdb.xml/tdesc-regs.exp: Likewise.
4960
bd286a29
KCY
49612014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4962
4963 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4964 (out_cu): Use addr_len for the size of addresses.
4965 (out_line): Likewise. Size DW_LNE_set_address instruction
4966 according to addr_len.
4967 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4968 (FUNC): Add START_INSNS to definition.
4969
673dc4a0
YQ
49702014-10-18 Yao Qi <yao@codesourcery.com>
4971
4972 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4973 gdb_has_argv0 return true.
4974 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4975 check [target_info exists noargs], check [gdb_has_argv0]
4976 instead.
4977 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4978 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4979 procedures.
4980
4ffbba72
DE
49812014-10-17 Doug Evans <dje@google.com>
4982
4983 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4984 event.
4985 * gdb.python/py-events.py: Add clear_objfiles event.
4986
d096d8c1
DE
49872014-10-17 Doug Evans <dje@google.com>
4988
4989 * gdb.python/py-objfile.exp: Test progspace attribute.
4990
a80db015
LM
49912014-10-17 Luis Machado <lgustavo@codesourcery.com>
4992
4993 * gdb.guile/scm-breakpoint.exp: Do not assume any
4994 directory separators when matching source file paths.
4995 * gdb.python/py-breakpoint.exp: Likewise.
4996 * gdb.reverse/break-precsave.exp: Likewise.
4997 * gdb.reverse/break-reverse.exp: Likewise.
4998 * gdb.reverse/consecutive-precsave.exp: Likewise.
4999 * gdb.reverse/finish-precsave.exp: Likewise.
5000 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5001 * gdb.reverse/finish-reverse.exp: Likewise.
5002 * gdb.reverse/i386-precsave.exp: Likewise.
5003 * gdb.reverse/i387-env-reverse.exp: Likewise.
5004 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5005 * gdb.reverse/machinestate-precsave.exp: Likewise.
5006 * gdb.reverse/machinestate.exp: Likewise.
5007 * gdb.reverse/sigall-precsave.exp: Likewise.
5008 * gdb.reverse/solib-precsave.exp: Likewise.
5009 * gdb.reverse/step-precsave.exp: Likewise.
5010 * gdb.reverse/until-precsave.exp: Likewise.
5011 * gdb.reverse/watch-precsave.exp: Likewise.
5012 * gdb.reverse/watch-reverse.exp: Likewise.
5013
b22089ab
YQ
50142014-10-17 Yao Qi <yao@codesourcery.com>
5015
5016 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5017 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5018
6c4486e6
PA
50192014-10-17 Pedro Alves <palves@redhat.com>
5020
5021 PR gdb/17471
5022 * gdb.base/bg-execution-repeat.c: New file.
5023 * gdb.base/bg-execution-repeat.exp: New file.
5024
0ff33695
PA
50252014-10-17 Pedro Alves <palves@redhat.com>
5026
5027 PR gdb/17300
5028 * gdb.base/continue-all-already-running.c: New file.
5029 * gdb.base/continue-all-already-running.exp: New file.
5030
6fdebc3d
PA
50312014-10-17 Pedro Alves <palves@redhat.com>
5032
5033 PR gdb/17472
5034 * gdb.base/annota-input-while-running.c: New file.
5035 * gdb.base/annota-input-while-running.exp: New file.
5036
32a8097b
PA
50372014-10-17 Pedro Alves <palves@redhat.com>
5038
5039 * gdb.base/callfuncs.exp: emove references to osf.
5040 * gdb.base/sigall.exp: Likewise.
5041 * gdb.gdb/selftest.exp: Likewise.
5042 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5043 * gdb.mi/non-stop.c: Likewise.
5044 * gdb.mi/pthreads.c: Likewise.
5045 * gdb.reverse/sigall-precsave.exp: Likewise.
5046 * gdb.reverse/sigall-reverse.exp: Likewise.
5047 * gdb.threads/pthreads.c: Likewise.
5048 * gdb.threads/pthreads.exp: Likewise.
5049
7a3517ff
YQ
50502014-10-17 Yao Qi <yao@codesourcery.com>
5051
5052 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5053 check 'target_info exists noargs'.
5054 (test_command_prompt_position): Likewise.
5055 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5056 Remove "set args".
5057 (progvar_simple_while_test): Likewise.
5058 (progvar_complex_if_while_test): Likewise.
5059 (if_while_breakpoint_command_test): Likewise.
5060 (infrun_breakpoint_command_test): Likewise.
5061 (breakpoint_command_test): Likewise.
5062 (watchpoint_command_test): Likewise.
5063 (bp_deleted_in_command_test): Likewise.
5064 (temporary_breakpoint_commands): Likewise.
5065
bb99c472
YQ
50662014-10-16 Yao Qi <yao@codesourcery.com>
5067
5068 * gdb.base/remotetimeout.exp: Remove noargs checking.
5069
7c16b83e
PA
50702014-10-15 Pedro Alves <palves@redhat.com>
5071
5072 PR breakpoints/9649
5073 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5074 * gdb.base/breakpoint-in-ro-region.exp
5075 (probe_target_hardware_step): New procedure.
5076 (top level): Probe hardware stepping and hardware breakpoint
5077 support. Test stepping through a read-only region, with both
5078 "breakpoint auto-hw" on and off and both "always-inserted" on and
5079 off.
5080
35a49624
IB
50812014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5082
5083 * gdb.dlang/demangle.exp: Update for demangling changes.
5084
2d1c107c
SC
50852014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5086
5087 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5088 * gdb.cp/non-trivial-retval.exp: Add new tests.
5089
778811d5
SC
50902014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5091
5092 PR c++/13403
5093 PR c++/15154
5094 * gdb.cp/non-trivial-retval.cc: New file.
5095 * gdb.cp/non-trivial-retval.exp: New file.
5096
10c5f0a8
YQ
50972014-10-15 Yao Qi <yao@codesourcery.com>
5098
5099 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5100 remote host.
5101
65d7b369
YQ
51022014-10-15 Yao Qi <yao@codesourcery.com>
5103
5104 * gdb.python/py-symbol.exp: Match file base name if host is
5105 remote, otherwise match file name with dir name.
5106 * gdb.python/py-symtab.exp: Likewise.
5107 * gdb.python/python.exp: Likewise.
5108
46dc1394
YQ
51092014-10-15 Yao Qi <yao@codesourcery.com>
5110
5111 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5112 pattern.
5113 * gdb.python/py-symtab.exp: Likewise.
5114 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5115 locationn.
5116
c40cc657
JB
51172014-10-14 Joel Brobecker <brobecker@adacore.com>
5118
5119 * gdb.ada/addr_arith: New testcase.
5120
2abf49e1
MR
51212014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5122
5123 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5124 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5125 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5126 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5127
f7088df3
SDJ
51282014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5129
5130 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5131 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5132 * gdb.arch/stap-eval-lang-ada.exp: New file.
5133
4dc06805
YQ
51342014-10-14 Yao Qi <yao@codesourcery.com>
5135
5136 * gdb.mi/mi-var-child.c (nothing1): New function.
5137 (nothing2): New function.
5138 (do_children_tests): Set function pointers by nothing1 and
5139 nothing2.
5140 * gdb.mi/mi-var-child.exp: Step over new added statements.
5141 Update test to match the new output.
5142 * gdb.mi/var-cmd.c (nothing1): New function.
5143 (nothing2): New function.
5144 (do_children_tests): Set function pointers by nothing1 and
5145 nothing2.
5146 * gdb.mi/mi-var-display.exp: Update test to match output.
5147 Step to the line specified by $line_dct_nothing.
5148 Increase the number of lines to step.
5149
46a93de2
YQ
51502014-10-14 Yao Qi <yao@codesourcery.com>
5151
5152 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5153 tests.
5154 * gdb.mi/mi2-var-child.exp: Likewise.
5155
14ea52ee
DE
51562014-10-13 Doug Evans <dje@google.com>
5157
5158 * gdb.python/py-objfile.exp: Change name of file name test.
5159
e5c6e92b
DE
51602014-10-13 Doug Evans <dje@google.com>
5161
5162 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5163 from the start of the CU.
5164
c780cc2f
JK
51652014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5166 Yao Qi <yao@codesourcery.com>
5167
5168 Fix "save breakpoints" for "catch" command.
5169 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5170 Remove -nonewline. Match also the added "main" line.
5171
99894e11
JK
51722014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5173
5174 Fix "save breakpoints" for "disable $bpnum" command.
5175 * gdb.base/save-bp.c (main): Add label.
5176 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5177
6e1ac5a3
JK
51782014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5179
5180 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5181
754dd2b0
YQ
51822014-10-11 Yao Qi <yao@codesourcery.com>
5183
5184 * gdb.server/server-kill.exp: Execute command
5185 "set remote trace-status-packet on" before "tstatus".
5186
f90183d7
YQ
51872014-10-11 Yao Qi <yao@codesourcery.com>
5188
5189 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5190 (main): Call getppid.
5191 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5192 and continue to it. Read variable "server_pid".
5193
bf40a607
YQ
51942014-10-11 Yao Qi <yao@codesourcery.com>
5195
5196 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5197
052ca370
YQ
51982014-10-11 Yao Qi <yao@codesourcery.com>
5199
5200 * gdb.threads/thread-find.exp: Don't execute command
5201 "info threads".
5202 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5203 * gdb.threads/linux-dp.exp: Don't check the condition
5204 $threads_created equals to zero.
5205
3831839c
PA
52062014-10-10 Pedro Alves <palves@redhat.com>
5207
5208 * gdb.base/bigcore.exp: Remove references to IRIX.
5209 * gdb.base/funcargs.exp: Likewise.
5210 * gdb.base/interrupt.exp: Likewise.
5211 * gdb.base/mips_pro.exp: Likewise.
5212 * gdb.base/nodebug.exp: Likewise.
5213 * gdb.base/setvar.exp: Likewise.
5214 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5215
8b9a549d
PA
52162014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5217 Pedro Alves <palves@redhat.com>
5218
5219 PR symtab/14466
5220 * gdb.base/vdso-warning.c: New file.
5221 * gdb.base/vdso-warning.exp: New file.
5222
d48ba5e8
DE
52232014-10-02 Doug Evans <dje@google.com>
5224
5225 * gdb.base/structs.c (main): Don't run forever.
5226
2278c276
PA
52272014-10-02 Pedro Alves <palves@redhat.com>
5228
5229 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5230 (top level) <stop threads 1, stop threads 2>: Use it.
5231
b57bacec
PA
52322014-10-02 Pedro Alves <palves@redhat.com>
5233
5234 * gdb.threads/break-while-running.exp (test): Add new
5235 'update_thread_list' argument. Skip "info threads" if false.
5236 (top level): Add new 'update_thread_list' axis.
5237
13fd3ff3
PA
52382014-10-02 Pedro Alves <palves@redhat.com>
5239
5240 PR breakpoints/17431
5241 * gdb.base/execl-update-breakpoints.c: New file.
5242 * gdb.base/execl-update-breakpoints.exp: New file.
5243
0fec99e8
PA
52442014-10-01 Pedro Alves <palves@redhat.com>
5245
5246 * gdb.base/breakpoint-in-ro-region.c: New file.
5247 * gdb.base/breakpoint-in-ro-region.exp: New file.
5248
2ddf4301
SM
52492014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5250
5251 * gdb.mi/mi-exit-code.exp: New file.
5252 * gdb.mi/mi-exit-code.c: New file.
5253
6a5f3f43
YQ
52542014-09-30 Yao Qi <yao@codesourcery.com>
5255
5256 * lib/prelink-support.exp (build_executable_own_libs): Error if
5257 the target isn't native.
5258
345bcc73
YQ
52592014-09-30 Yao Qi <yao@codesourcery.com>
5260
5261 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5262 false.
5263
a25a5a45
PA
52642014-09-22 Pedro Alves <palves@redhat.com>
5265
5266 * gdb.threads/break-while-running.exp: New file.
5267 * gdb.threads/break-while-running.c: New file.
5268
00ba3162
YQ
52692014-09-19 Yao Qi <yao@codesourcery.com>
5270
5271 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5272 Invoke test. Restart GDB with --readnow and invoke test again.
5273
c3b7b696
YQ
52742014-09-19 Yao Qi <yao@codesourcery.com>
5275
5276 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5277 proc set_breakpoint_on_gcd_function. Invoke
5278 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5279 invoke set_breakpoint_on_gcd_function again.
5280
2b4fd423
DE
52812014-09-18 Doug Evans <dje@google.com>
5282
5283 * gdb.dwarf2/symtab-producer.exp: New file.
5284
a5947601
SDJ
52852014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5286
5287 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5288 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5289 * gdb.base/global-var-nested-by-dso.c: Likewise.
5290 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5291
91c19059
SDJ
52922014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5293 Pedro Alves <palves@redhat.com>
5294
5295 * gdb.base/watch-bitfields.exp: Pass string other than test file
5296 name to prepare_for_testing.
5297 (watch): New procedure.
5298 (expect_watchpoint): Use with_test_prefix.
5299 (top level): Factor out tests to ...
5300 (test_watch_location, test_regular_watch): ... these new
5301 procedures, and use with_test_prefix and gdb_continue_to_end.
5302
bb9d5f81
PP
53032014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5304
5305 PR breakpoints/12526
5306 * gdb.base/watch-bitfields.exp: New file.
5307 * gdb.base/watch-bitfields.c: New file.
5308
635856f5
PA
53092014-09-16 Pedro Alves <palves@redhat.com>
5310
5311 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5312 software and hardware addresses, not software address against
5313 itself.
5314
7280ceea
PA
53152014-09-16 Pedro Alves <palves@redhat.com>
5316
5317 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5318 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5319
428b16bd
PA
53202014-09-16 Pedro Alves <palves@redhat.com>
5321
5322 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5323 files.
5324 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5325 "*-*-vxworks*" throughout.
5326 * gdb.base/break.exp: Likewise.
5327 * gdb.base/default.exp: Likewise.
5328 * gdb.base/scope.exp: Likewise.
5329 * gdb.base/sepdebug.exp: Likewise.
5330 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5331 throughout.
5332 * gdb.base/run.c: Likewise.
5333 * gdb.base/sepdebug.c: Likewise.
5334 * gdb.hp/gdb.aCC/run.c: Likewise.
5335 * gdb.reverse/until-reverse.c: Likewise.
5336 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5337
666d413c
YQ
53382014-09-16 Yao Qi <yao@codesourcery.com>
5339
5340 * boards/local-remote-host-native.exp: New file.
5341
57cbd724
DE
53422014-09-14 Doug Evans <xdje42@gmail.com>
5343
5344 * gdb.threads/queue-signal.c (thread_count): New variable.
5345 (thread_count_mutex, thread_count_condvar): New variables.
5346 (incr_thread_count, wait_all_threads_running): New functions.
5347 (main): Wait for all threads to be in their thread functions.
5348
81219e53
DE
53492014-09-13 Doug Evans <xdje42@gmail.com>
5350
5351 * gdb.threads/queue-signal.c: New file.
5352 * gdb.threads/queue-signal.exp: New file.
5353
3714cea7
DE
53542014-09-13 Doug Evans <xdje42@gmail.com>
5355
5356 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5357 be consistent with what default_gdb_init uses.
5358 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5359 the plain text of the prompt. Add some logging printfs.
5360 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5361
fa43b1d7
PA
53622014-09-12 Pedro Alves <palves@redhat.com>
5363
5364 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5365 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5366 * gdb.arch/i386-size-overlap.exp: Likewise.
5367 * gdb.arch/i386-size.exp: Likewise.
5368 * gdb.arch/i386-unwind.exp: Likewise.
5369 * gdb.base/a2-run.exp: Likewise.
5370 * gdb.base/break.exp: Likewise.
5371 * gdb.base/charset.exp: Likewise.
5372 * gdb.base/chng-syms.exp: Likewise.
5373 * gdb.base/commands.exp: Likewise.
5374 * gdb.base/dbx.exp: Likewise.
5375 * gdb.base/find.exp: Likewise.
5376 * gdb.base/funcargs.exp: Likewise.
5377 * gdb.base/jit-simple.exp: Likewise.
5378 * gdb.base/reread.exp: Likewise.
5379 * gdb.base/sepdebug.exp: Likewise.
5380 * gdb.base/step-bt.exp: Likewise.
5381 * gdb.cp/mb-inline.exp: Likewise.
5382 * gdb.cp/mb-templates.exp: Likewise.
5383 * gdb.objc/basicclass.exp: Likewise.
5384 * gdb.threads/killed.exp: Likewise.
5385
9d9bf2df
EBM
53862014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5387
5388 PR tdep/17379
5389 * gdb.arch/powerpc-stackless.S: New file.
5390 * gdb.arch/powerpc-stackless.exp: New file.
5391
1cf2f1b0
JK
53922014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5393
5394 * gdb.base/attach.c: Include unistd.h.
5395 (main): Call alarm. Add label postloop.
5396 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5397 gdb_breakpoint, gdb_continue_to_breakpoint.
5398 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5399
98880d46
PA
54002014-09-11 Pedro Alves <palves@redhat.com>
5401
5402 PR gdb/17347
5403 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5404 * gdb.base/attach.exp (test_command_line_attach_run): New
5405 procedure.
5406 (top level): Call it.
5407
4c92ff2c
PA
54082014-09-11 Pedro Alves <palves@redhat.com>
5409
5410 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5411 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5412 (do_command_attach_tests): Use spawn_wait_for_attach.
5413 * gdb.base/solib-overlap.exp: Likewise.
5414 * gdb.multi/multi-attach.exp: Likewise.
5415 * gdb.python/py-prompt.exp: Likewise.
5416 * gdb.python/py-sync-interp.exp: Likewise.
5417 * gdb.server/ext-attach.exp: Likewise.
5418
3adc1a7d
GKB
54192014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5420
5421 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5422 command in testcase. Simplify testcase.
5423
96334934
JB
54242014-09-10 Joel Brobecker <brobecker@adacore.com>
5425
5426 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5427
eb479039
JB
54282014-09-10 Joel Brobecker <brobecker@adacore.com>
5429
5430 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5431
deede10c
JB
54322014-09-10 Joel Brobecker <brobecker@adacore.com>
5433
5434 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5435
7828a5f5
JB
54362014-09-10 Joel Brobecker <brobecker@adacore.com>
5437
5438 * gdb.dwarf2/dynarr-ptr.c: New file.
5439 * gdb.dwarf2/dynarr-ptr.exp: New file.
5440
33aeebcf
MR
54412014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5442
5443 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5444 of 30 rather than hardcoding 120 for a slow test case. Take the
5445 `gdb,timeout' target setting into account for this calculation.
5446 Don't extend the timeout for the test cases that don't need it.
5447
7b415901
MR
54482014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5449
5450 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5451 a factor of 2 for a slow test case. Take the `gdb,timeout'
5452 target setting into account for this calculation.
5453 * gdb.reverse/until-precsave.exp: Increase the timeout by
5454 a factor of 15 and 3 respectively rather than adding 120
5455 for a pair of slow test cases. Take the `gdb,timeout'
5456 target setting into account for this calculation.
5457
4a40f85a
MR
54582014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5459
5460 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5461 timeout, don't pass one down to gdb_expect.
5462 (gdb_expect): Rework timeout selection.
5463
09635af7
MR
54642014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5465
5466 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5467 exception on timeout.
5468 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5469 (gdbserver_start_extended): Catch any `gdbserver_start' error
5470 exceptions.
5471 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5472 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5473 `gdbserver_gdb_load' error exceptions.
5474
2bdd10b7
MR
54752014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5476
5477 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5478 120 on waiting for the TCP socket to open.
5479
316935f0
DE
54802014-09-09 Doug Evans <xdje42@gmail.com>
5481
5482 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5483 _caller_matches, _any_caller_is, _any_caller_matches.
5484
83740597
DE
54852014-09-09 Doug Evans <xdje42@gmail.com>
5486
5487 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5488
4c122fc3
YQ
54892014-09-09 Yao Qi <yao@codesourcery.com>
5490
5491 * gdb.mi/mi-var-display.exp: Set print symbol off.
5492
a9f116cb
GKB
54932014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5494
5495 PR gdb/17035
5496 * gdb.base/commands.exp: Add tests to verify user-defined
5497 commands with empty bodies.
5498 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5499 python commands in `show user command`.
5500 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5501 scheme commands in `show user command`.
5502
c75bd3a2
JK
55032014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5504
5505 PR python/17355
5506 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5507 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5508 * gdb.python/py-framefilter-invalidarg.exp: New file.
5509 * gdb.python/py-framefilter-invalidarg.py: New file.
5510
faa42425
DE
55112014-09-06 Doug Evans <xdje42@gmail.com>
5512
5513 PR 15276
5514 * gdb.python/py-caller-is.c: New file.
5515 * gdb.python/py-caller-is.exp: New file.
5516
474ca4f6
SDJ
55172014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5518
5519 PR gdb/17235
5520 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5521 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5522
eb0b0463
SDJ
55232014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5524
5525 PR fortran/17237
5526 * gdb.fortran/print-formatted.exp: New file.
5527 * gdb.fortran/print-formatted.f90: Likewise.
5528
5f3b99cf
SS
55292014-09-03 Sasha Smundak <asmundak@google.com>
5530
5531 * gdb.python/py-frame.exp: Test Frame.read_register.
5532
7d793aa9
SDJ
55332014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5534
5535 PR python/16699
5536 * gdb.python/py-completion.exp: New file.
5537 * gdb.python/py-completion.py: Likewise.
5538
fb0576e9
DE
55392014-08-28 Doug Evans <dje@google.com>
5540
5541 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5542 eax,etc. are live with values set by gdb and thus the compiler can't
5543 use them.
5544 * gdb.arch/i386-pseudo.c (main): Ditto.
5545
ee92b0dd
DE
55462014-08-27 Doug Evans <dje@google.com>
5547
5548 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5549
6649db35
DE
55502014-08-25 Doug Evans <dje@google.com>
5551
5552 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5553 (main): Ditto.
5554
564b7600
DE
55552014-08-25 Doug Evans <dje@google.com>
5556
5557 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5558
3881fb67
YQ
55592014-08-24 Yao Qi <yao@codesourcery.com>
5560
5561 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5562 symbol off.
5563 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5564
a05a36a5
DE
55652014-08-22 Doug Evans <dje@google.com>
5566
5567 PR 17276
5568 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5569 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5570 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5571
7c343b48
YQ
55722014-08-22 Yao Qi <yao@codesourcery.com>
5573
5574 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5575 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5576 * gdb.python/python.exp: Likewise. Use .py file on the host
5577 instead of the build.
5578
22fd09ae
JK
55792014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5580
5581 * gdb.threads/gcore-stale-thread.c: New file.
5582 * gdb.threads/gcore-stale-thread.exp: New file.
5583
a8454a7c
PA
55842014-08-21 Pedro Alves <palves@redhat.com>
5585
5586 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5587 * gdb.base/gcore-relro-pie.exp: Likewise.
5588 * gdb.base/gcore-relro.exp: Likewise.
5589 * gdb.base/gcore.exp: Likewise.
5590 * gdb.base/print-symbol-loading.exp: Likewise.
5591 * gdb.threads/gcore-thread.exp: Likewise.
5592 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5593
2a31c623
PA
55942014-08-20 Pedro Alves <palves@redhat.com>
5595 Jan Kratochvil <jan.kratochvil@redhat.com>
5596
5597 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5598 configure.
5599 (EXPECT): Handle READ1 being set.
5600 (all): Depend on EXTRA_RULES.
5601 (check-read1, expect-read1, read1.so, read1): New rules.
5602 * README (Testsuite Parameters): Document the READ1 make variable.
5603 (Race detection): New section.
5604 * configure: Regenerate.
5605 * configure.ac: If build==host==target, and running under a
5606 GNU/glibc system, add read1 to the extra Makefile rules.
5607 (EXTRA_RULES): AC_SUBST it.
5608 * lib/read1.c: New file.
5609
d36430db
JB
56102014-08-20 Joel Brobecker <brobecker@adacore.com>
5611
5612 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5613 the handling of variables declared as a typedef to an array
5614 which a DW_AT_data_location attribute.
5615
9a0dc9e3
PA
56162014-08-19 Andrew Burgess <aburgess@broadcom.com>
5617 Pedro Alves <palves@redhat.com>
5618
5619 PR symtab/14604
5620 PR symtab/14605
5621 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5622 gdb_test.
5623
0718a8da
PA
56242014-08-19 Pedro Alves <palves@redhat.com>
5625
5626 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5627
13b448cd
YQ
56282014-08-19 Yao Qi <yao@codesourcery.com>
5629
5630 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5631 right line.
5632
1cbf5077
DB
56332014-08-18 David Blaikie <dblaikie@gmail.com>
5634
5635 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5636
bf0fae19
JB
56372014-08-18 Joel Brobecker <brobecker@adacore.com>
5638
5639 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5640 attribute in array range.
5641
3c8c5dcc
JB
56422014-08-18 Joel Brobecker <brobecker@adacore.com>
5643
5644 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5645
e66d4446
SC
56462014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5647
5648 PR c++/17132
5649 * gdb.cp/pr17132.cc: New file.
5650 * gdb.cp/pr17132.exp: New file.
5651
940df408
SC
56522014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5653
5654 * gdb.python/py-xmethods.py (A_getarrayind)
5655 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5656 Use 'print' with function call syntax.
5657 (E_method_matcher.match): Fix tab vs space indentation mixup.
5658
ebcc6c3a
YQ
56592014-08-15 Yao Qi <yao@codesourcery.com>
5660
5661 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5662 false.
5663
775e0f04
YQ
56642014-08-15 Yao Qi <yao@codesourcery.com>
5665
5666 * gdb.cp/casts.exp: Set print symbol off.
5667 * gdb.cp/class2.exp: Likewise.
5668 * gdb.cp/overload.exp: Likewise.
5669 * gdb.cp/templates.exp: Likewise.
5670
d769e349
DE
56712014-08-11 Doug Evans <dje@google.com>
5672
5673 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5674 (test_load_shlib): Update.
5675
20c6f1e1
YQ
56762014-08-09 Yao Qi <yao@codesourcery.com>
5677
5678 * gdb.base/display.exp: Invoke is_address_zero_readable.
5679 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5680 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5681 * gdb.base/hbreak-unmapped.exp: Return if
5682 is_address_zero_readable returns true.
5683 * gdb.base/signest.exp: Likewise.
5684 * gdb.base/signull.exp: Likewise.
5685 * gdb.base/sigbpt.exp: Likewise.
5686 * gdb.guile/scm-disasm.exp: Do the test if
5687 is_address_zero_readable returns false.
5688 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5689 * gdb.python/py-arch.exp: Likewise.
5690 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5691 * lib/gdb.exp (is_address_zero_readable): New proc.
5692
5792e8e3
YQ
56932014-08-09 Yao Qi <yao@codesourcery.com>
5694
5695 PR testsuite/13443
5696 * gdb.mi/mi-var-display.exp: Make test messages unique.
5697
3cecbbbe
TT
56982014-08-04 Tom Tromey <tromey@redhat.com>
5699
5700 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5701 target 0".
5702
00b51ff5
TT
57032014-08-04 Tom Tromey <tromey@redhat.com>
5704
5705 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5706 "target_resume".
5707
6908c509
JB
57082014-08-01 Joel Brobecker <brobecker@adacore.com>
5709
5710 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5711 inner_vla_struct_object_size.
5712 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5713 as xfail.
5714
cc6563d2
PA
57152014-07-30 Pedro Alves <palves@redhat.com>
5716
5717 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5718 comment.
5719
7e09a223
YQ
57202014-07-29 Yao Qi <yao@codesourcery.com>
5721
5722 PR gdb/17206
5723 * gdb.base/until-nodebug.exp: New.
5724
7ebdbe92
DE
57252014-07-28 Doug Evans <xdje42@gmail.com>
5726
5727 PR guile/17203
5728 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5729 previously existing parameter, and previously ambiguously spelled
5730 parameter.
5731
fdb1adc6
WN
57322014-07-28 Will Newton <will.newton@linaro.org>
5733
5734 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5735
186fcde0
DE
57362014-07-26 Ludovic Courtès <ludo@gnu.org>
5737 Doug Evans <xdje42@gmail.com>
5738
5739 PR guile/17146
5740 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5741
70509625
PA
57422014-07-25 Pedro Alves <palves@redhat.com>
5743
5744 * gdb.threads/signal-command-handle-nopass.c: New file.
5745 * gdb.threads/signal-command-handle-nopass.exp: New file.
5746 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5747 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5748 * gdb.threads/signal-delivered-right-thread.c: New file.
5749 * gdb.threads/signal-delivered-right-thread.exp: New file.
5750
c3f814a1
PA
57512014-07-25 Pedro Alves <palves@redhat.com>
5752
5753 * gdb.base/double-prompt-target-event-error.exp
5754 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5755 match.
5756 (cancel_pagination_in_target_event): Rework double prompt
5757 detection.
5758 * gdb.base/paginate-after-ctrl-c-running.exp
5759 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5760 <return>' match.
5761 * gdb.base/paginate-bg-execution.exp
5762 (test_bg_execution_pagination_return)
5763 (test_bg_execution_pagination_cancel): Remove '-notransfer
5764 <return>' matches.
5765 * gdb.base/paginate-execution-startup.exp
5766 (test_fg_execution_pagination_return)
5767 (test_fg_execution_pagination_cancel): Remove '-notransfer
5768 <return>' matches.
5769 * gdb.base/paginate-inferior-exit.exp
5770 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5771 match.
5772 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5773 * lib/gdb.exp (pagination_prompt): Run text through
5774 string_to_regexp.
5775 (gdb_test_multiple): Match $pagination_prompt instead of
5776 "<return>".
5777 (string_to_regexp): Move to lib/gdb-utils.exp.
5778
e214cf6c
JK
57792014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5780
5781 * gdb.arch/amd64-entry-value-paramref.S: New file.
5782 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5783 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5784 * gdb.arch/amd64-optimout-repeat.S: New file.
5785 * gdb.arch/amd64-optimout-repeat.c: New file.
5786 * gdb.arch/amd64-optimout-repeat.exp: New file.
5787
17d0c5c8
JK
57882014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5789
5790 PR gdb/17170
5791 * gdb.base/statistics.exp: New file.
5792
b8b8facf
DE
57932014-07-17 Doug Evans <dje@google.com>
5794
74b49205 5795 PR gdb/17170
b8b8facf
DE
5796 * gdb.base/maint.exp: Update testing of per-command stats.
5797
1b5d0ab3
PA
57982014-07-16 Pedro Alves <palves@redhat.com>
5799
5800 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5801 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5802 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5803 (tfile_write_buf): New functions.
5804 (add_memory_block): Rewrite using the above.
5805 (adjust_function_address): New function.
5806 (FUNCTION_ADDRESS): New macro.
5807 (write_basic_trace_file): Remove short_x local, and use
5808 tfile_write_16. Change type of func_addr local to unsigned long
5809 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5810 here. Cast argument of add_memory_block to char pointer.
5811 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5812 (main): Remove parameters.
5813 * gdb.trace/tfile.exp: Remove nowarnings.
5814
4d974e88
SM
58152014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5816
5817 * gdb.base/debug-expr.exp: Test string evaluation with
5818 "debug expression" on.
5819
41e99568
PA
58202014-07-15 Pedro Alves <palves@redhat.com>
5821
5822 * gdb.base/reread.exp: Use clean_restart.
5823
487d9753
PL
58242014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5825
5826 * gdb.arch/avr-flash-qualifer.c: New.
5827 * gdb.arch/avr-flash-qualifer.exp: New.
5828
cc1c52ad
PA
58292014-07-14 Pedro Alves <palves@redhat.com>
5830
5831 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5832 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5833
1e973570
PA
58342014-07-14 Pedro Alves <palves@redhat.com>
5835
5836 * gdb.base/double-prompt-target-event-error.c: New file.
5837 * gdb.base/double-prompt-target-event-error.exp: New file.
5838
93d6eb10
PA
58392014-07-14 Pedro Alves <palves@redhat.com>
5840
5841 PR gdb/17072
5842 * gdb.base/paginate-inferior-exit.c: New file.
5843 * gdb.base/paginate-inferior-exit.exp: New file.
5844
0017922d
PA
58452014-07-14 Pedro Alves <palves@redhat.com>
5846
5847 PR gdb/17072
5848 * gdb.base/paginate-bg-execution.c: New file.
5849 * gdb.base/paginate-bg-execution.exp: New file.
5850
94696ad3
PA
58512014-07-14 Pedro Alves <palves@redhat.com>
5852
5853 PR gdb/17072
5854 * gdb.base/paginate-execution-startup.c: New file.
5855 * gdb.base/paginate-execution-startup.exp: New file.
5856 * lib/gdb.exp (pagination_prompt): New global.
5857 (default_gdb_spawn): New procedure, factored out from
5858 default_gdb_spawn.
5859 (default_gdb_start): Adjust to call default_gdb_spawn.
5860 (gdb_spawn): New procedure.
5861
bd293940
PA
58622014-07-14 Pedro Alves <palves@redhat.com>
5863
5864 * lib/gdb.exp (gdb_assert): New procedure.
5865 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5866
c933f875
PA
58672014-07-14 Pedro Alves <palves@redhat.com>
5868
5869 * gdb.base/execution-termios.c: New file.
5870 * gdb.base/execution-termios.exp: New file.
5871
d98b7a16
TT
58722014-07-14 Tom Tromey <tromey@redhat.com>
5873
5874 * gdb.cp/vla-cxx.cc: New file.
5875 * gdb.cp/vla-cxx.exp: New file.
5876
548740d6
TT
58772014-07-14 Tom Tromey <tromey@redhat.com>
5878
5879 * gdb.reverse/rerun-prec.c: New file.
5880 * gdb.reverse/rerun-prec.exp: New file.
5881
a25eb028
MR
58822014-07-12 Maciej W. Rozycki <macro@mips.com>
5883 Maciej W. Rozycki <macro@codesourcery.com>
5884
5885 * lib/gdb-utils.exp: New file.
5886 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5887 inline `gdb_init_command' processing.
5888 (gdb_start_cmd): Likewise.
5889 * lib/mi-support.exp (mi_run_cmd): Likewise.
5890 * README: Document `gdb_init_command' and `gdb_init_commands'.
5891
218c2655
JK
58922014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5893
5894 Fix false FAIL running under a very long directory name.
5895 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5896 and "set print elements 10000". Twice.
5897
5401fde3
YQ
58982014-07-11 Yao Qi <yao@codesourcery.com>
5899
5900 * gdb.base/exprs.exp: "set print symbol off".
5901
e76126e8
PA
59022014-07-11 Pedro Alves <palves@redhat.com>
5903
5904 * gdb.threads/kill.c: New file.
5905 * gdb.threads/kill.exp: New file.
5906
2d6f0de6
YQ
59072014-07-10 Yao Qi <yao@codesourcery.com>
5908
5909 * gdb.trace/tfile.c (write_basic_trace_file)
5910 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5911 address written to trace file.
5912
7180e04a
PA
59132014-07-09 Pedro Alves <palves@redhat.com>
5914
5915 * gdb.base/attach-wait-input.exp: New file.
5916 * gdb.base/attach-wait-input.c: New file.
5917
9a9a7608
AB
59182014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5919
5920 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5921 setting up test structures.
5922 (main): Call new test function.
5923 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5924 test function, continue into test function and walk test
5925 structures.
5926
161ac41e
YQ
59272014-07-02 Yao Qi <yao@codesourcery.com>
5928
5929 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5930 'bar_start' at the beginning of functions 'foo' and 'bar'
5931 respectively.
5932 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5933 instead of 'foo' and 'bar'.
5934
1f267ae3
MM
59352014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5936
5937 * gdb.btrace/segv.exp: New.
5938 * gdb.btrace/segv.c: New.
5939
2b239efb
LM
59402014-07-02 Luis Machado <lgustavo@codesourcery.com>
5941
5942 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5943 instruction.
5944
cf363f18
MW
59452014-06-30 Mark Wielaard <mjw@redhat.com>
5946
5947 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5948 vulture, vilify, villar): New volatile array constants.
5949 (vindictive, vegetation): New const volatile array constants.
5950 * gdb.base/volatile.exp: Test volatile and const volatile array
5951 types.
5952
aebf9d24
AA
59532014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5954
5955 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5956 target lacks support for awatch, rwatch, or hbreak.
5957
b67a2c6f
YQ
59582014-06-27 Yao Qi <yao@codesourcery.com>
5959
5960 * gdb.multi/dummy-frame-restore.exp: New.
5961 * gdb.multi/dummy-frame-restore.c: New.
5962
aef92902
MM
59632014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5964
5965 * gdb.btrace/gcore.exp: New.
5966
8e9db26e
PA
59672014-06-23 Pedro Alves <palves@redhat.com>
5968
5969 * gdb.base/watchpoint-reuse-slot.c: New file.
5970 * gdb.base/watchpoint-reuse-slot.exp: New file.
5971
70afc5b7
SC
59722014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5973
5974 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5975 progspace's filename in 'info', 'enable' and 'disable' command
5976 tests.
5977
b972bd9c
JK
59782014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5979
5980 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5981 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5982 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5983
125f8a3d
GB
59842014-06-20 Gary Benson <gbenson@redhat.com>
5985
5986 * gdb.arch/i386-avx.exp: Fix include file location.
5987 * gdb.arch/i386-sse.exp: Likewise.
5988
3ed9baed
IB
59892014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5990
5991 * gdb.dlang/expression.exp: New file.
5992
034f788c
PA
59932014-06-19 Pedro Alves <palves@redhat.com>
5994
5995 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5996 out from ...
5997 (top level): ... here. Iterate running tests under different
5998 scheduler-locking settings.
5999
45371d0c
LM
60002014-06-18 Luis Machado <lgustavo@codesourcery.com>
6001
6002 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6003 to DW_FORM_addr and use non-zero addresses.
6004
5d376983
SC
60052014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6006
6007 PR gdb/17017
6008 * gdb.python/py-xmethods.cc: Add global function call counters and
6009 increment them in their respective functions. Remove "cout"
6010 statements.
6011 * gdb.python/py-xmethods.exp: Make tests check the global function
6012 call counters instead of depending on inferior IO.
6013
a1aa2221
LM
60142014-06-18 Don Breazeal <donb@codesourcery.com>
6015
6016 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6017 Deleted procedure.
6018 (explicit_fork_parent_follow): Deleted procedure.
6019 (explicit_fork_child_follow): Deleted procedure.
6020 (test_follow_fork): New procedure.
6021 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 6022 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
6023 procedure calls.
6024
0fc05997
YQ
60252014-06-17 Yao Qi <yao@codesourcery.com>
6026
6027 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6028 CP1252.
6029
70795c52
LM
60302014-06-17 Luis Machado <lgustavo@codesourcery.com>
6031
6032 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6033 Initialize ptr and S explicitly.
6034 (skip_type_update_when_not_use_rtti_test): Likewise.
6035
6be47f0c
KS
60362014-06-16 Keith Seitz <keiths@redhat.com>
6037
6038 PR mi/15863
6039 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6040 the inferior is started.
6041
d03de421
PA
60422014-06-16 Pedro Alves <palves@redhat.com>
6043
6044 * gdb.base/break-main-file-remove-fail.c: New file.
6045 * gdb.base/break-main-file-remove-fail.exp: New file.
6046 * gdb.base/break-unload-file.exp: Use build_executable instead of
6047 prepare_for_testing.
6048 (test_break): New parameter "initial_load". Handle it.
6049 (top level): Add initial_load cmdline/file axis.
6050
f9579b99
TT
60512014-06-12 Tom Tromey <tromey@redhat.com>
6052
6053 * gdb.base/completion.exp: Don't use directory name in test.
6054
3657956b
GB
60552014-06-09 Gary Benson <gbenson@redhat.com>
6056
6057 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6058 separate the always-available ANSI-standard signals from the
6059 signals that require checking.
6060 (main): Likewise.
6061 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6062 Likewise.
6063 (main): Likewise.
6064
4186eb54
KS
60652014-06-07 Keith Seitz <keiths@redhat.com>
6066
6067 Revert:
6068 PR c++/16253
6069 * gdb.cp/var-tag.cc: New file.
6070 * gdb.cp/var-tag.exp: New file.
6071 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6072 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6073 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6074 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6075
25326a28 60762014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
6077
6078 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6079
829155c9
PA
60802014-06-06 Pedro Alves <palves@redhat.com>
6081
6082 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6083 in target debug output instead of looking at RSP packets,
6084 disabling the test on any target that uses hardware stepping.
6085 Update comments.
6086
61c8d22e
PA
60872014-06-06 Pedro Alves <palves@redhat.com>
6088
6089 * gdb.base/break-unload-file.exp: Fix typo.
6090
d9a47287
YQ
60912014-06-06 Yao Qi <yao@codesourcery.com>
6092
6093 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6094 from "jit_function" to "^jit_function".
6095
e5e01dbf
YQ
60962014-06-06 Yao Qi <yao@codesourcery.com>
6097
6098 * gdb.base/async.c (foo): Add one statement.
6099 * gdb.base/async.exp: Get the next instruction address and
6100 match the output of "nexti" by instruction address. Match
6101 the hex address in the output of "finish".
6102
73ba372c
GB
61032014-06-06 Gary Benson <gbenson@redhat.com>
6104
6105 * gdb.base/call-signals.c: Remove preprocessor conditionals
6106 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6107 SIGSEGV and SIGTERM.
6108 * gdb.base/sigall.c: Likewise.
6109 * gdb.base/unwindonsignal.c: Likewise.
6110 * gdb.reverse/sigall-reverse.c: Likewise.
6111
831517df
YQ
61122014-06-06 Yao Qi <yao@codesourcery.com>
6113
6114 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6115 readable, skip the test.
6116
b8b91e98
YQ
61172014-06-06 Yao Qi <yao@codesourcery.com>
6118
6119 * gdb.threads/staticthreads.c (thread_function): Move the line
6120 setting breakpoint on forward.
6121 * gdb.threads/staticthreads.exp: Update comments.
6122
fb934770
LC
61232014-06-05 Ludovic Courtès <ludo@gnu.org>
6124
6125 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6126 "history-append! type error".
6127
6ef284bd
SM
61282014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6129
6130 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6131 erroneous dprintf expected input.
6132
a872e241
DE
61332014-06-04 Doug Evans <xdje42@gmail.com>
6134
6135 * gdb.guile/scm-generics.exp: Delete.
6136
16f691fb
DE
61372014-06-04 Doug Evans <xdje42@gmail.com>
6138
6139 * gdb.guile/scm-breakpoint.exp: Update.
6140 Add tests for breakpoint registration.
6141
012370f6
TT
61422014-06-04 Tom Tromey <tromey@redhat.com>
6143
6144 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6145 VLA-in-union.
6146 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6147 inner_vla_struct, vla_union types. Initialize objects of those
6148 types and compute their sizes.
6149
9f5a4cef
HZ
61502014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6151 Hui Zhu <hui@codesourcery.com>
6152
6153 * gdb.base/fileio.exp: Add test for shell not available as well as
6154 available.
6155 * gdb.base/fileio.c (test_system): Check for shell twice.
6156
90a45c4d
YQ
61572014-06-04 Yao Qi <yao@codesourcery.com>
6158
6159 * gdb.base/auto-connect-native-target.exp: Remove redundant
6160 space from the regexp pattern.
6161
70017e41
YQ
61622014-06-04 Yao Qi <yao@codesourcery.com>
6163
6164 * gdb.base/default.exp: Replace "child" with "native" in
6165 regexp pattern.
6166
883964a7
SC
61672014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6168
6169 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6170 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6171 * gdb.python/py-xmethods.py: Python script supporting the
6172 new testcase and tests.
6173
ef370185
JB
61742014-06-03 Joel Brobecker <brobecker@adacore.com>
6175 Pedro Alves <palves@redhat.com>
6176
6177 PR breakpoints/17000
6178 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6179 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6180
1e2ccb61
BM
61812014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6182
6183 * gdb.base/subst.exp: Add tests to verify partial path matching
6184 output.
6185
c6ec5ab2
PA
61862014-06-03 Pedro Alves <palves@redhat.com>
6187
6188 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6189 target that doesn't use software single-stepping.
6190
835c559f
PA
61912014-06-03 Pedro Alves <palves@redhat.com>
6192
6193 PR breakpoints/17000
6194 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6195 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6196
06eb1586
DE
61972014-06-02 Doug Evans <xdje42@gmail.com>
6198
6199 * gdb.guile/scm-parameter.exp: New file.
6200
e698b8c4
DE
62012014-06-02 Doug Evans <xdje42@gmail.com>
6202
6203 * gdb.guile/scm-cmd.c: New file.
6204 * gdb.guile/scm-cmd.exp: New file.
6205
ded03782
DE
62062014-06-02 Doug Evans <xdje42@gmail.com>
6207
6208 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6209 pretty-printer lookup.
6210 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6211 (make-pp_s-printer): Call it.
6212 (make-pretty-printer-from-dict): New function.
6213 (lookup-pretty-printer-maker-from-dict): New function.
6214 (*pretty-printer*): Simplify.
6215 (make-objfile-pp_s-printer): New function.
6216 (install-objfile-pretty-printers!): New function.
6217 (make-progspace-pp_s-printer): New function.
6218 (install-progspace-pretty-printers!): New function.
6219 * gdb.guile/scm-progspace.c: New file.
6220 * gdb.guile/scm-progspace.exp: New file.
6221
41fac0cf
PA
62222014-06-02 Pedro Alves <palves@redhat.com>
6223
6224 * gdb.base/dprintf-bp-same-addr.c: New file.
6225 * gdb.base/dprintf-bp-same-addr.exp: New file.
6226
96ae5695
EBM
62272014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6228
6229 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6230 * gdb.arch/powerpc-power.s: Likewise.
6231
da02b3a8
JB
62322014-06-02 Joel Brobecker <brobecker@adacore.com>
6233
6234 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6235
c72b2e7b
YQ
62362014-06-01 Yao Qi <yao@codesourcery.com>
6237
6238 * gdb.base/watchpoint.exp (test_watch_location): Check null
6239 pointer can be dereferenced. If not, do the test, otherwise
6240 skip it.
6241
53e8a631
AB
62422014-05-30 Andrew Burgess <aburgess@broadcom.com>
6243
6244 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6245 results.
6246 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6247
938f0e2f
AB
62482014-05-30 Andrew Burgess <aburgess@broadcom.com>
6249
6250 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6251 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6252 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6253 * gdb.arch/amd64-invalid-stack-top.c: New file.
6254 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6255
9ba6657a
PA
62562014-05-30 Pedro Alves <palves@redhat.com>
6257
6258 PR breakpoints/17000
6259 * gdb.base/sss-bp-on-user-bp.c: New file.
6260 * gdb.base/sss-bp-on-user-bp.exp: New file.
6261
522c09bf
DB
62622014-05-30 David Blaikie <dblaikie@gmail.com>
6263
6264 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6265 gnu_inline semantics via attribute.
6266 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6267 source explicitly specifies the required semantics.
6268
bf4ef81e
MR
62692014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6270
6271 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6272
329ea579
PA
62732014-05-29 Pedro Alves <palves@redhat.com>
6274 Tom Tromey <tromey@redhat.com>
6275
6276 * gdb.base/async-shell.exp: Don't enable target-async.
6277 * gdb.base/async.exp
6278 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6279 parameter. Adjust.
6280 (top level): Don't test with "target-async".
6281 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6282 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6283 * gdb.base/inferior-died.exp: Don't enable target-async.
6284 * gdb.base/interrupt-noterm.exp: Likewise.
6285 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6286 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6287 * gdb.mi/mi-nonstop.exp: Likewise.
6288 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6289 * gdb.mi/mi-nsintrall.exp: Likewise.
6290 * gdb.mi/mi-nsmoribund.exp: Likewise.
6291 * gdb.mi/mi-nsthrexec.exp: Likewise.
6292 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6293 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6294 * gdb.python/py-evsignal.exp: Don't enable target-async.
6295 * gdb.python/py-evthreads.exp: Likewise.
6296 * gdb.python/py-prompt.exp: Likewise.
6297 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6298 * gdb.server/solib-list.exp: Don't enable target-async.
6299 * gdb.threads/thread-specific-bp.exp: Likewise.
6300 * lib/mi-support.exp: Adjust to use mi-async.
6301
fd664c91
PA
63022014-05-29 Pedro Alves <palves@redhat.com>
6303
6304 PR gdb/13860
6305 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6306 reason, even in sync mode.
6307
251bde03
PA
63082014-05-29 Pedro Alves <palves@redhat.com>
6309 Hui Zhu <hui@codesourcery.com>
6310
6311 PR PR15693
6312 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6313 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6314 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6315 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6316
7f3c0343
JB
63172014-05-28 Joel Brobecker <brobecker@adacore.com>
6318
6319 * config/monitor.exp (gdb_target_monitor): Replace use of
6320 "set remotebaud" by "set serial baud".
6321
b2715b27
AW
63222014-05-26 Andy Wingo <wingo@igalia.com>
6323
6324 * gdb.guile/scm-breakpoint.exp:
6325 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6326 properties instead of gdb-object-properties.
6327
498a4489
YQ
63282014-05-26 Yao Qi <yao@codesourcery.com>
6329
6330 * gdb.server/no-thread-db.exp: Specify source file name
6331 explicitly when setting a breakpoint.
6332
589fdceb
MM
63332014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6334
6335 * gdb.btrace/vdso.c: New.
6336 * gdb.btrace/vdso.exp: New.
6337
e9089e05
MM
63382014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6339
6340 * gdb.base/gcore.exp (capture_command_output): Move ...
6341 * lib/gdb.exp (capture_command_output): ... here.
6342
67b5c0c1
MM
63432014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6344
6345 * gdb.btrace/data.exp: Test memory access during btrace replay.
6346
a2199296
SM
63472014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6348
6349 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6350
17b2616c
PA
63512014-05-21 Pedro Alves <palves@redhat.com>
6352
6353 PR gdb/13860
6354 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6355 (top level): Test that output related to execution commands is
6356 sent to the console with CLI commands, but not with MI commands.
6357 Test that breakpoint events are always mirrored to the console.
6358 Also expect the new source line to be output after a "next" in
6359 async mode too. Make it a pass/fail test.
6360 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6361 output.
6362 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6363
5166082f
PA
63642014-05-21 Pedro Alves <palves@redhat.com>
6365
6366 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6367 Use them to test variations of "list" after reaching a breakpoint.
6368 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6369 Test "list" with listsize 10 after reaching a breakpoint.
6370 * gdb.python/python.exp (decode_line current location line
6371 number): Adjust expected line number.
6372
2f25d70f
SM
63732014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6374
6375 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6376 behavior for $args, pass it directly to "run".
6377
ff604a67
MR
63782014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6379
6380 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6381 30000 to 65536.
6382
6a3cb8e8
PA
63832014-05-21 Pedro Alves <palves@redhat.com>
6384
6385 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6386 auto-connect-native-target off".
6387 * gdb.base/auto-connect-native-target.c: New file.
6388 * gdb.base/auto-connect-native-target.exp: New file.
6389
4ebfc96e
PA
63902014-05-21 Pedro Alves <palves@redhat.com>
6391
6392 * gdb.base/default.exp: Test "target native" instead of "target
6393 child".
6394
36d46afb
MW
63952014-05-21 Mark Wielaard <mjw@redhat.com>
6396
6397 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6398
5876f503
JK
63992014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6400
6401 Fix TLS access for -static -pthread.
6402 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6403 <HAVE_TLS> (thread_function, main): Initialize it.
6404 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6405 Add clean_restart.
6406 <$have_tls != "">: Check TLSVAR.
6407
0256a6ac
PA
64082014-05-21 Pedro Alves <palves@redhat.com>
6409
6410 * gdb.base/dcache-line-read-error.c: New.
6411 * gdb.base/dcache-line-read-error.exp: New.
6412
936d2992
PA
64132014-05-20 Pedro Alves <palves@redhat.com>
6414
6415 * gdb.base/compare-sections.c: New file.
6416 * gdb.base/compare-sections.exp: New file.
6417
802e8e6d
PA
64182014-05-20 Pedro Alves <palves@redhat.com>
6419
6420 * gdb.base/break-idempotent.c: New file.
6421 * gdb.base/break-idempotent.exp: New file.
6422
e59fa00f
MM
64232014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6424
6425 * gdb.btrace/nohist.exp: New.
6426
8b696e31
YQ
64272014-05-20 Yao Qi <yao@codesourcery.com>
6428
6429 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6430 gdb.reverse directory and gdb_reverse_timeout exists in board
6431 setting.
6432 * README: Document gdb_reverse_timeout.
6433
73c9764f
YQ
64342014-05-20 Yao Qi <yao@codesourcery.com>
6435
6436 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6437 'test_file_name'. Treat args as a string instead of a list.
6438 (gdb_init): Rename argument 'args' by 'test_file_name'.
6439
f1f4348a
JK
64402014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6441
6442 * gdb.arch/powerpc-power.exp: New file.
6443 * gdb.arch/powerpc-power.s: New file.
6444
0dbe70ce
DE
64452014-05-16 Doug Evans <dje@google.com>
6446
6447 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6448 * gdb.base/completion.exp: Check that all expected files exist
6449 before doing file completion.
0dbe70ce 6450
8d551b02
DE
64512014-05-16 Doug Evans <dje@google.com>
6452
6453 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6454 Update.
6455 (do_syscall_tests_without_xml): Update.
6456
73eb7709
PA
64572014-05-16 Pedro Alves <palves@redhat.com>
6458
6459 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6460 instead of "unknown output after running".
6461
3fae92fc
YQ
64622014-05-16 Yao Qi <yao@codesourcery.com>
6463
6464 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6465 file1.txt from host at the end.
6466 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6467
c2b2ccc5
DE
64682014-05-15 Doug Evans <dje@google.com>
6469
6470 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6471 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6472 loading file. Add test for TU lookup.
6473
8c217a4b
SM
64742014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6475
6476 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6477 calling "-exec-arguments" or "set args" before running the
6478 inferior.
6479
3deb39c6
SM
64802014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6481
6482 * lib/mi-support.exp (mi_expect_stop): Expect message for
6483 inferiors that exit with non-zero exit code.
6484
71a79f8c
YQ
64852014-05-14 Yao Qi <yao@codesourcery.com>
6486
6487 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6488 match absolute path on remote host.
6489 (test_file_list_exec_source_files): Remove "/" from the
6490 pattern.
6491
f23fcd46
YQ
64922014-05-14 Yao Qi <yao@codesourcery.com>
6493
6494 * boards/local-remote-host-notty.exp (${board}_file): New
6495 proc.
6496
9404b58f
KM
64972014-05-07 Kyle McMartin <kyle@redhat.com>
6498
6499 Pushed by Joel Brobecker <brobecker@adacore.com>.
6500 * gdb.arch/aarch64-atomic-inst.c: New file.
6501 * gdb.arch/aarch64-atomic-inst.exp: New file.
6502
5e45f04c
YQ
65032014-05-07 Yao Qi <yao@codesourcery.com>
6504
6505 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6506 in current context" too.
6507
c888a17d
KS
65082014-05-05 Keith Seitz <keiths@redhat.com>
6509
6510 * gdb.linespec/ls-dollar.exp: Add test for linespec
6511 file:convenience_variable.
6512
290a839c
YQ
65132014-05-05 Yao Qi <yao@codesourcery.com>
6514
6515 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6516 traceframes into tfile and ctf trace files. Read data from
6517 trace file and test collected data.
6518 (gdb_collect_locals_test): Likewise.
6519 (gdb_unavailable_registers_test): Likewise.
6520 (gdb_unavailable_floats): Likewise.
6521 (gdb_collect_globals_test): Likewise.
6522 (top-level): Append "ctf" to trace_file_targets if GDB
6523 supports.
6524
b5262cd0
YQ
65252014-05-05 Yao Qi <yao@codesourcery.com>
6526
6527 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6528 code to ...
6529 (gdb_collect_args_test_1): ... it. New proc.
6530 (gdb_collect_locals_test): Move some code to ...
6531 (gdb_collect_locals_test_1): ... it. New proc.
6532 (gdb_unavailable_registers_test): Move some code to ...
6533 (gdb_unavailable_registers_test_1): ... it. New proc.
6534 (gdb_unavailable_floats): Move some code to ...
6535 (gdb_unavailable_floats_1): ... it. New proc.
6536
30a1e6cc
SDJ
65372014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6538
6539 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6540 probes to test for bitness recognition.
6541 * gdb.arch/amd64-stap-optional-prefix.exp
6542 (test_probe_value_without_reg): New procedure.
6543 Add code to test for different kinds of bitness.
6544
f33da99a
SDJ
65452014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6546
6547 PR breakpoints/16889
6548 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6549 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6550
5b80f00d
PA
65512014-05-01 Pedro Alves <palves@redhat.com>
6552
6553 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6554 gdb_file_cmd if no file is specified.
6555 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6556 last_loaded_file to set the remote exec-file.
6557
f8c2a73c
PA
65582014-05-01 Pedro Alves <palves@redhat.com>
6559
6560 * boards/local-remote-host.exp: New file.
6561
be6e8ac7
PA
65622014-05-01 Pedro Alves <palves@redhat.com>
6563
6564 * boards/local-remote-host.exp: Rename to ...
6565 * boards/local-remote-host-notty.exp: ... this.
6566
cac0dc8f
JB
65672014-04-28 Joel Brobecker <brobecker@adacore.com>
6568
6569 * gdb.ada/dyn_arrayidx: New testcase.
6570
9730e6cc
YQ
65712014-04-26 Yao Qi <yao@codesourcery.com>
6572
6573 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6574 and compute the length of function main. Save it in
6575 $main_length.
6576 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6577 (top-level): Use gdb_compile to compile objects into
6578 executable and restart GDB. Remove invocation to
6579 prepare_for_testing.
6580
7ae1a6a6
PA
65812014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6582 Pedro Alves <palves@redhat.com>
6583
6584 PR server/16255
6585 * gdb.multi/multi-attach.c: New file.
6586 * gdb.multi/multi-attach.exp: New file.
6587
4082afcc
PA
65882014-04-25 Pedro Alves <palves@redhat.com>
6589
6590 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6591 user.
6592 (top level): Test that "set remote conditional-breakpoints-packet
6593 off" works as intended.
6594 * gdb.base/dprintf.exp: Test that "set remote
6595 breakpoint-commands-packet off" works as intended.
6596 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6597 New function.
6598 (top level): Call it.
6599 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6600 remote fast-tracepoints-packet off" works as intended.
6601 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6602 * lib/gdb.exp (gdb_is_target_remote): ... here.
6603
2abc3f8d
DB
66042014-04-24 David Blaikie <dblaikie@gmail.com>
6605
6606 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6607 ensure clang would not discard them.
6608 * gdb.base/gdbvars.c: Ditto.
6609 * gdb.base/memattr.c: Ditto.
6610 * gdb.base/whatis.c: Ditto.
6611 * gdb.python/py-prettyprint.c: Ditto.
6612 * gdb.trace/actions.c: Ditto.
6613 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6614 ensure clang would not discard it.
6615
bfd39632
DB
66162014-04-24 David Blaikie <dblaikie@gmail.com>
6617
6618 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6619 clang to emit the full definition of type required by the test
6620 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6621
22842ff6
DB
66222014-04-24 David Blaikie <dblaikie@gmail.com>
6623
6624 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6625 coax Clang into emitting the definition of the type.
6626 * gdb.cp/pr10728-x.h (y): Ditto.
6627 * gdb.cp/pr10728-y.cc (y): Ditto.
6628
c2e827ad
DB
66292014-04-24 David Blaikie <dblaikie@gmail.com>
6630
6631 * gdb.base/label.exp: XFAIL label related tests under Clang.
6632 * gdb.cp/cplabel.exp: Ditto.
6633 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6634 under Clang those using labels.
6635
4c2d33e7
YQ
66362014-04-25 Yao Qi <yao@codesourcery.com>
6637
6638 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6639 double_label.
6640 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6641 partial_label and double_label.
6642
56083b99
DB
66432014-04-24 David Blaikie <dblaikie@gmail.com>
6644
6645 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6646
25d4e99d
DB
66472014-04-24 David Blaikie <dblaikie@gmail.com>
6648
6649 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6650 of the function to work across GCC and Clang.
6651 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6652 pointer types (const void ** const V void **).
6653
01f9f808
MS
66542014-04-24 Michael Sturm <michael.sturm@mintel.com>
6655 Walfred Tedeschi <walfred.tedeschi@intel.com>
6656
6657 * Makefile.in (EXECUTABLES): Added i386-avx512.
6658 * gdb.arch/i386-avx512.c: New file.
6659 * gdb.arch/i386-avx512.exp: Likewise.
6660
4b48d439
KS
66612014-04-23 Keith Seitz <keiths@redhat.com>
6662
6663 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6664 (mi_make_breakpoint_table): New procedure.
6665 (mi_create_breakpoint): Use mi_make_breakpoint
6666 and return the result.
6667 (mi_make_breakpoint): New procedure.
6668 (mi_build_kv_pairs): New procedure.
6669
6670 * gdb.mi/mi-break.exp: Remove unused globals,
6671 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6672 All callers updated.
6673 * gdb.mi/mi-dprintf.exp: Use variable to track command
6674 number.
6675 Update all callers of mi_create_breakpoint and use
6676 mi_make_breakpoint_table.
6677 Remove any unused global variables.
6678 * gdb.mi/mi-nonstop.exp: Likewise.
6679 * gdb.mi/mi-nsintrall.exp: Likewise.
6680 * gdb.mi/mi-nsmoribund.exp: Likewise.
6681 * gdb.mi/mi-nsthrexec.exp: Likewise.
6682 * gdb.mi/mi-reverse.exp: Likewise.
6683 * gdb.mi/mi-simplerun.exp: Likewise.
6684 * gdb.mi/mi-stepn.exp: Likewise.
6685 * gdb.mi/mi-syn-frame.exp: Likewise.
6686 * gdb.mi/mi-until.exp: Likewise.
6687 * gdb.mi/mi-var-cp.exp: Likewise.
6688 * gdb.mi/mi-var-display.exp: Likewise.
6689 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6690 * gdb.mi/mi2-var-child.exp: Likewise.
6691 * gdb.mi/mi-vla-c99.exp: Likewise.
6692 * lib/mi-support.exp: Likewise.
6693
6694 From Ian Lance Taylor <iant@cygnus.com>:
6695 * lib/gdb.exp (parse_args): New procedure.
6696
08351840
PA
66972014-04-23 Pedro Alves <palves@redhat.com>
6698
6699 * gdb.base/break-unload-file.c: New file.
6700 * gdb.base/break-unload-file.exp: New file.
6701 * gdb.base/sym-file-lib.c (baz): New function.
6702 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6703 field.
6704 (load): Store the segment's mapped size.
6705 (unload): New function.
6706 (unload_shlib): New function.
6707 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6708 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6709 set a breakpoint at baz, and call it.
6710 * gdb.base/sym-file.exp: New tests for stale breakpoint
6711 instructions.
6712
076855f9
PA
67132014-04-23 Pedro Alves <palves@redhat.com>
6714
6715 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6716 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6717 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6718 * gdb.base/hbreak-unmapped.c: New file.
6719 * gdb.base/hbreak-unmapped.exp: New file.
6720 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6721 * lib/gdb.exp (gdb_is_target_remote): ... here.
6722
483805cf
PA
67232014-04-22 Pedro Alves <palves@redhat.com>
6724
6725 * gdb.base/consecutive-step-over.c: New file.
6726 * gdb.base/consecutive-step-over.exp: New file.
6727
06d97543
PA
67282014-04-22 Pedro Alves <palves@redhat.com>
6729
6730 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6731 instead of send_gdb/gdb_expect.
6732
b4429ea2
YQ
67332014-04-22 Yao Qi <yao@codesourcery.com>
6734
6735 * lib/trace-support.exp (generate_tracefile): New procedure.
6736 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6737 return 0.
6738 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6739 if generate_tracefile returns 1.
6740
51d48146
PA
67412014-04-18 Tom Tromey <palves@redhat.com>
6742 Pedro alves <tromey@redhat.com>
6743
6744 PR backtrace/15558
6745 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6746 with a backtrace limit.
6747 * gdb.python/py-frame-inline.exp: Test running to an inline
6748 function with a backtrace limit, and printing the newest frame.
6749 * gdb.python/py-frame-inline.c (main): Call f.
6750
bd1dce5f
MS
67512014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6752
6753 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6754
40d1a503
MS
67552014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6756
6757 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6758 Drop prefix from unsupported source file path.
6759
389b98f7
YQ
67602014-04-17 Yao Qi <yao@codesourcery.com>
6761
6762 * lib/gdb.exp (with_target_charset): New proc.
6763 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6764 with_target_charset.
6765 (test_print_strings): Likewise.
6766 (test_repeat_bytes): Likewise.
6767 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6768 for some tests.
6769
22869d73
KS
67702014-04-16 Keith Seitz <keiths@redhat.com>
6771
6772 PR gdb/15827
6773 * gdb.dwarf2/corrupt.c: New file.
6774 * gdb.dwarf2/corrupt.exp: New file.
6775
c4f87ca6
KS
67762014-04-16 Keith Seitz <keiths@redhat.com>
6777
6778 PR c++/16597
6779 * gdb.cp/namelessclass.cc: New file.
6780 * gdb.cp/namelessclass.exp: New file.
6781 * gdb.cp/namelessclass.S: New file.
6782
ab19de87
DE
67832014-04-16 Doug Evans <dje@google.com>
6784
6785 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6786 Add comment.
6787 (gdbserver_default_get_comm_port): New function.
6788 (gdbserver_start): Check if board file provided
6789 "gdbserver,get_comm_port" and use it if so.
6790 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6791 (gdb,socketport): Set to "stdio".
6792 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6793 (stdio_gdbserver_template): Delete.
6794 (${board}_get_remote_address): Update.
6795 (${board}_build_remote_cmd): Delete.
6796 (${board}_get_comm_port): New function.
6797 (${board}_spawn): Update.
6798 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6799 Delete.
6800 (${board}_get_remote_address): Update.
6801 (${board}_get_comm_port): New function.
6802
fc98a809
AB
68032014-04-16 Andrew Burgess <aburgess@broadcom.com>
6804
6805 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6806 appearing in any order.
6807
87fd9e6e
DE
68082014-04-15 Doug Evans <dje@google.com>
6809
6810 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6811 uninitialized value of "description".
6812
099fc3ea
KS
68132014-04-15 Keith Seitz <keiths@redhat.com>
6814
6815 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6816 Remove unused globals.
6817 (test_running_the_program): Likewise.
6818 (test_controlled_execution): Likewise.
6819 (test_controlling_breakpoints): Likewise.
6820 (test_program_termination): Likewise.
6821
5da151d4
KS
68222014-04-15 Keith Seitz <keiths@redhat.com>
6823
6824 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6825 unused globals.
6826 (test_rbreak_creation_and_listing): Likewise.
6827 (test_ignore_count): Likewise.
6828 (test_error): Likewise.
6829
35e5d2f0
PA
68302014-04-15 Pedro Alves <palves@redhat.com>
6831
6832 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6833 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6834 sym-file-loader.c.
6835 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6836 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6837 to sym-file-loader.c.
6838 (struct library): Forward declare.
6839 (load_shlib, lookup_function): Change prototypes.
6840 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6841 (translate_offset): Remove declarations.
6842 (get_text_addr): New declaration.
6843 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6844 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6845 sym-file-loader.h.
6846 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6847 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6848 here from sym-file-loader.h.
6849 (struct library): New structure.
6850 (load_shlib, lookup_function): Change prototypes and adjust to
6851 work with a struct library.
6852 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6853 (translate_offset): Make static.
6854 (get_text_addr): New function.
6855 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6856
eb4c1710
PA
68572014-04-15 Pedro Alves <palves@redhat.com>
6858
6859 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6860
2d1baf52
PA
68612014-04-15 Pedro Alves <palves@redhat.com>
6862
6863 * gdb.base/sym-file-loader.c: Include <limits.h>.
6864 (SELF_LINK): New define.
6865 (get_origin): New function.
6866 (load_shlib): Use it.
6867 * gdb.base/sym-file.exp: Don't early return if the target is
6868 remote. Use runto_main, and issue fail is that fails. Use
6869 gdb_load_shlibs.
6870 (shlib_name): Delete.
6871 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6872
7dd6df01
PA
68732014-04-15 Pedro Alves <palves@redhat.com>
6874
6875 * gdb.base/sym-file.exp: Remove regex characters from test
6876 message. Don't refer to breakpoint numbers in test messages.
6877
b50c8614
KS
68782014-04-14 Keith Seitz <keiths@redhat.com>
6879
6880 PR c++/16253
6881 * gdb.cp/var-tag.cc: New file.
6882 * gdb.cp/var-tag.exp: New file.
6883 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6884 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6885 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6886 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6887
3d567982
TT
68882014-04-14 Tom Tromey <tromey@redhat.com>
6889
6890 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6891 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6892 type.
6893 * gdb.cp/enum-class.exp: New file.
6894 * gdb.cp/enum-class.cc: New file.
6895
0626fc76
TT
68962014-04-14 Tom Tromey <tromey@redhat.com>
6897
6898 * gdb.dwarf2/enum-type.exp: New file.
6899
dca325b3
SA
69002014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6901
6902 * gdb.mi/mi-vla-c99.exp: New file.
6903 * gdb.mi/vla.c: New file.
6904
5854b38a
SA
69052014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6906
6907 * gdb.base/vla-datatypes.c: New file.
6908 * gdb.base/vla-datatypes.exp: New file.
6909
463bb957
SA
69102014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6911
6912 * gdb.base/vla-ptr.c: New file.
6913 * gdb.base/vla-ptr.exp: New file.
6914
3dd170be
SA
69152014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6916
6917 * gdb.dwarf2/count.exp: New file.
6918
5ecaaa66
SA
69192014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6920
6921 * gdb.base/vla-sideeffect.c: New file.
6922 * gdb.base/vla-sideeffect.exp: New file.
6923
41f1ada5
DB
69242014-04-14 David Blaikie <dblaikie@gmail.com>
6925
6926 * gdb.mi/non-stop.c: Add return value for non-void function return
6927 statement.
6928 * gdb.threads/staticthreads.c: Ditto.
6929
0be03e84
DE
69302014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6931 Doug Evans <xdje42@gmail.com>
6932
6933 * gdb.guile/scm-value.c: Improve test case.
6934 * gdb.guile/scm-value.exp: Add new test.
6935
f180a1fb
DB
69362014-04-11 David Blaikie <dblaikie@gmail.com>
6937
6938 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6939 override Clang's default.
6940
6b662e19
JB
69412014-04-11 Joel Brobecker <brobecker@adacore.com>
6942
6943 Revert the following changes (regressions):
6944
6945 * gdb.base/vla-sideeffect.c: New file.
6946 * gdb.base/vla-sideeffect.exp: New file.
6947
6948 * gdb.dwarf2/count.exp: New file.
6949
6950 * gdb.base/vla-multi.c: New file.
6951 * gdb.base/vla-multi.exp: New file.
6952
6953 * gdb.base/vla-ptr.c: New file.
6954 * gdb.base/vla-ptr.exp: New file.
6955
6956 * gdb.base/vla-datatypes.c: New file.
6957 * gdb.base/vla-datatypes.exp: New file.
6958
6959 * gdb.mi/mi-vla-c99.exp: New file.
6960 * gdb.mi/vla.c: New file.
6961
245a5f0b
KS
69622014-04-11 Keith Seitz <keiths@redhat.com>
6963
6964 PR c++/16675
6965 * gdb.cp/cpsizeof.exp: New file.
6966 * gdb.cp/cpsizeof.cc: New file.
6967
58a84dcf
SA
69682014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6969
191a8a90
JB
6970 * gdb.mi/mi-vla-c99.exp: New file.
6971 * gdb.mi/vla.c: New file.
58a84dcf 6972
c8655f75
SA
69732014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6974
6975 * gdb.base/vla-datatypes.c: New file.
6976 * gdb.base/vla-datatypes.exp: New file.
6977
024e13b4
SA
69782014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6979
6980 * gdb.base/vla-ptr.c: New file.
6981 * gdb.base/vla-ptr.exp: New file.
6982
1a237e0e
SA
69832014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6984
6985 * gdb.base/vla-multi.c: New file.
6986 * gdb.base/vla-multi.exp: New file.
6987
504f3432
SA
69882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6989
6990 * gdb.dwarf2/count.exp: New file.
6991
3bce8237
SA
69922014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6993
191a8a90
JB
6994 * gdb.base/vla-sideeffect.c: New file.
6995 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6996
322f9c21
YQ
69972014-04-11 Yao Qi <yao@codesourcery.com>
6998
6999 * gdb.base/completion.exp: Check file exists before running tests
7000 on file completion.
7001
d708bcd1
PA
70022014-04-10 Pedro Alves <palves@redhat.com>
7003
7004 * gdb.base/cond-eval-mode.c: New file.
7005 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7006 prepare_for_testing to build the new file. Check result of
7007 runto_main.
7008 (test_break, test_watch): New procedures.
7009 (top level): Use them.
7010
ae1d2761
PM
70112014-04-08 Pierre Muller <muller@sourceware.org>
7012
7013 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7014 Ctrl-V use for mingw hosts.
7015
7af389b8
SC
70162014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7017
7018 * gdb.python/py-value.c: Improve test case.
7019 * gdb.python/py-value.exp: Add new test.
7020
5e703181
DE
70212014-04-07 David Blaikie <dblaikie@gmail.com>
7022
7023 * lib/compiler.c: Identify the clang compiler.
7024 * lib/compiler.cc: Ditto.
7025
9810b410
YQ
70262014-04-03 Yao Qi <yao@codesourcery.com>
7027
7028 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7029
98d1b8dc
AB
70302014-04-01 Anton Blanchard <anton@samba.org>
7031
7032 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7033 messages unique.
7034
3114cea1
AB
70352014-04-01 Anton Blanchard <anton@samba.org>
7036
7037 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7038 prepare_for_testing.
7039
62f7182c
AB
70402014-04-01 Anton Blanchard <anton@samba.org>
7041
7042 * gdb.arch/ppc64-atomic-inst.c: Remove.
7043 * gdb.arch/ppc64-atomic-inst.S: New file.
7044 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7045
770e7fc7
DE
70462014-03-31 Doug Evans <dje@google.com>
7047
7048 * gdb.base/print-symbol-loading-lib.c: New file.
7049 * gdb.base/print-symbol-loading-main.c: New file.
7050 * gdb.base/print-symbol-loading.exp: New file.
7051
46e2bafa
YQ
70522014-03-31 Yao Qi <yao@codesourcery.com>
7053
7054 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7055
8776cfe9
JB
70562014-03-28 Joel Brobecker <brobecker@adacore.com>
7057
7058 * gdb.ada/mi_dyn_arr: New testcase.
7059
5d1ef361
DE
70602014-03-27 Doug Evans <dje@google.com>
7061
7062 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7063
b5bee914
YQ
70642014-03-27 Yao Qi <yao@codesourcery.com>
7065
7066 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7067 if target is nios2-*-*.
7068
0d4d0e77
YQ
70692014-03-26 Yao Qi <yao@codesourcery.com>
7070
7071 * lib/gdb.exp (readline_is_used): New proc.
7072 * gdb.base/completion.exp: Move tests on command complete up.
7073 Skip the rest of tests if readline is not used.
7074 * gdb.ada/complete.exp: Skp the test if readline is not
7075 used.
7076 * gdb.base/filesym.exp: Likewise.
7077 * gdb.base/macscp.exp: Likewise.
7078 * gdb.base/readline-ask.exp: Likewise.
7079 * gdb.base/readline.exp: Likewise.
7080 * gdb.python/py-cmd.exp: Likewise.
7081 * gdb.trace/tfile.exp: Likewise.
7082
29361eee
YQ
70832014-03-26 Yao Qi <yao@codesourcery.com>
7084
7085 * gdb.base/macscp.exp: Fix code format issues.
7086
bc9a5525
UW
70872014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7088
7089 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7090 * gdb.asm/powerpc64le.inc: New file.
7091
d3839ede
PA
70922014-03-25 Pedro Alves <palves@redhat.com>
7093 Doug Evans <dje@google.com>
7094
7095 * gdb.base/source-execution.c: New file.
7096 * gdb.base/source-execution.exp: New file.
7097 * gdb.base/source-execution.gdb: New file.
7098
01672a57
DE
70992014-03-24 Doug Evans <dje@google.com>
7100
7101 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7102 using fission.
7103
88bbeca9
HZ
71042014-03-24 Hui Zhu <hui@codesourcery.com>
7105 Pedro Alves <palves@redhat.com>
7106
7107 PR breakpoints/16101
7108 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7109 test pass/fail messages. Detect missing support for dprintf when
7110 breakpoints are actually inserted.
7111 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7112 breakpoints are actually inserted.
7113 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7114 fails.
7115
d2348791
JK
71162014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7117
7118 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7119
feef67ab
DE
71202014-03-22 Doug Evans <xdje42@gmail.com>
7121
7122 * gdb.python/python.exp (python not supported): Verify multi-line
7123 python command issues an error.
25d743f9 7124 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 7125 guile command issues an error.
feef67ab 7126
ecebef6a
MR
71272014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7128
7129 * gdb.threads/thread-specific.exp: Handle the lack of usable
7130 $this_breakpoint and $this_thread.
7131
ccdd1909
HZ
71322014-03-21 Hui Zhu <hui@codesourcery.com>
7133
7134 * gdb.base/attach.exp (do_command_attach_tests): New.
7135
beb460e8
PA
71362014-03-20 Tom Tromey <tromey@redhat.com>
7137 Pedro Alves <palves@redhat.com>
7138
7139 PR cli/15718
7140 * gdb.base/condbreak-call-false.c: New file.
7141 * gdb.base/condbreak-call-false.exp: New file.
7142
40acf43a
PA
71432014-03-20 Pedro Alves <palves@redhat.com>
7144
7145 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7146 Delete.
7147 (block_signals, unblock_signals): Delete.
7148 (child_function_2, main): Remove references to deleted variable
7149 and functions.
7150
9f5e1e02
PA
71512014-03-20 Pedro Alves <palves@redhat.com>
7152
7153 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7154 Use pthread_kill to signal thread 2.
7155 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7156 Adjust to make the test send itself a signal rather than using the
7157 host's "kill" command.
7158
99619bea
PA
71592014-03-20 Pedro Alves <palves@redhat.com>
7160
7161 * gdb.threads/multiple-step-overs.c: New file.
7162 * gdb.threads/multiple-step-overs.exp: New file.
7163 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7164 Adjust expected infrun debug output.
7165
2adfaa28
PA
71662014-03-20 Pedro Alves <palves@redhat.com>
7167
7168 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7169 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7170
31e77af2
PA
71712014-03-20 Pedro Alves <palves@redhat.com>
7172
7173 PR breakpoints/7143
7174 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7175 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7176 of gdb_test_multiple.
7177 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7178 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7179
b9f437de
PA
71802014-03-20 Pedro Alves <palves@redhat.com>
7181
7182 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7183 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7184
05adc73e
PA
71852014-03-19 Pedro Alves <palves@redhat.com>
7186
7187 * gdb.base/async.exp: Remove early return.
7188
6048b950
PA
71892014-03-19 Pedro Alves <palves@redhat.com>
7190
7191 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7192
8bcfb00a
PA
71932014-03-19 Pedro Alves <palves@redhat.com>
7194
7195 * gdb.base/async.exp (test_background): Expect \r\n after
7196 "completed." in the fail pattern.
7197
884e37dc
PA
71982014-03-19 Pedro Alves <palves@redhat.com>
7199
7200 * gdb.base/async.exp (test_background): New procedure.
7201 Use it for all background execution command tests.
7202
148e57e2
PA
72032014-03-19 Pedro Alves <palves@redhat.com>
7204
7205 * gdb.base/async.exp: Use prepare_for_testing.
7206
f48088c7
PA
72072014-03-19 Pedro Alves <palves@redhat.com>
7208
7209 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7210 the same line.
7211
e2f6c966
PA
72122014-03-19 Pedro Alves <palves@redhat.com>
7213
7214 * gdb.base/async.c (main): Add "jump here" and "until here" line
7215 marker comments.
7216 * gdb.base/async.exp (jump_here): New global.
7217 (jump& test): Use it.
7218 (until_here): New global.
7219 (until& test): Use it.
7220
c30568d4
PA
72212014-03-19 Pedro Alves <palves@redhat.com>
7222
7223 * gdb.base/async.exp: Don't frob gdb_protocol.
7224
0172b6a7
DE
72252014-03-18 Doug Evans <xdje42@gmail.com>
7226
7227 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7228 Fix spelling of exec-done-display.
7229
06c868a8
JK
72302014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7231
7232 PR gdb/15358
7233 * gdb.base/gdb-sigterm.c: New file.
7234 * gdb.base/gdb-sigterm.exp: New file.
7235
0c7e1a46
PA
72362014-03-18 Pedro Alves <palves@redhat.com>
7237
7238 PR gdb/13860
7239 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7240 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7241 solib-event.
7242
f7c77d93
JB
72432014-03-17 Joel Brobecker <brobecker@adacore.com>
7244
7245 * gdb.ada/pckd_arr_ren: New testcase.
7246
5a1e8c7a
DE
72472014-03-13 Doug Evans <xdje42@gmail.com>
7248
7249 PR guile/16612
7250 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7251 collect after discarding symbols.
7252
350e1a76
DE
72532014-03-13 Ludovic Courtès <ludo@gnu.org>
7254 Doug Evans <xdje42@gmail.com>
7255
7256 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7257 to history survives a gc.
7258
a69900ae
PA
72592014-03-13 Pedro Alves <palves@redhat.com>
7260
7261 * gdb.base/default.exp: Don't test "target procfs".
7262
5db9f0bd
PA
72632014-03-13 Pedro Alves <palves@redhat.com>
7264
7265 * gdb.base/default.exp: Update "target child" and "target procfs"
7266 tests to not expect "Unix".
7267
b3ccfe11
TT
72682014-03-12 Tom Tromey <tromey@redhat.com>
7269
7270 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7271 New procs. Add target-async tests.
7272 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7273 Add target-async tests.
7274
646f4417
AA
72752014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7276
7277 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7278 'func_start' and 'func_end' for the beginning and end of the
7279 function code, respectively.
7280 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7281 'func_end' instead of 'func' and 'main'.
7282
288c211f
AA
72832014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7284
7285 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7286 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7287 generate the debug info assembler source.
7288
e0c0f156
AA
72892014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7290
7291 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7292 * gdb.dwarf2/arr-subrange.exp: Likewise.
7293 * gdb.dwarf2/dwz.exp: Likewise.
7294 * gdb.dwarf2/method-ptr.exp: Likewise.
7295 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7296 * gdb.dwarf2/subrange.exp: Likewise.
7297 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7298 * gdb.dwarf2/implptrpiece.exp: Likewise.
7299 * gdb.dwarf2/nostaticblock.exp: Likewise.
7300
0e5c4555
AA
73012014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7302
7303 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7304 directory to absolute path name arguments.
7305
5ec18f2b
JG
73062014-03-10 Joel Brobecker <brobecker@adacore.com>
7307
7308 * gdb.ada/tagged_access: New testcase.
7309
847fc4f2
MM
73102014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7311
7312 * gdb.btrace/data.exp: Update expected output.
7313
cc3da688
YQ
73142014-03-06 Yao Qi <yao@codesourcery.com>
7315
7316 * gdb.trace/pr16508.exp: New file.
7317
0f26cec1
PA
73182014-03-05 Pedro Alves <palves@redhat.com>
7319
7320 PR gdb/16575
7321 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7322 procedure.
7323 (top level): Adjust to use it. Add tests that exercise breakpoint
7324 interaction with the code-cache.
7325
7a5a839f
LC
73262014-02-26 Ludovic Courtès <ludo@gnu.org>
7327
7328 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7329 test for 'history-append!'.
7330
31aa7e4e
JB
73312014-02-26 Joel Brobecker <brobecker@adacore.com>
7332
7333 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7334 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7335 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7336 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7337 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7338 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7339
1b588015
JB
73402014-02-26 Joel Brobecker <brobecker@adacore.com>
7341
7342 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7343 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7344 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7345
55426c9d
JB
73462014-02-26 Joel Brobecker <brobecker@adacore.com>
7347
7348 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7349
dc53a7ad
JB
73502014-02-26 Joel Brobecker <brobecker@adacore.com>
7351
7352 * gdb.dwarf2/arr-stride.c: New file.
7353 * gdb.dwarf2/arr-stride.exp: New file.
7354
12ab52e9
PA
73552014-02-26 Pedro Alves <palves@redhat.com>
7356
7357 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7358 that won't ever trigger. Make sure that GDB reports the correct
7359 breakpoint that caused the stop.
7360
849c862e
JK
73612014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7362
7363 PR gdb/16626
7364 * gdb.base/auto-load-script: New file.
7365 * gdb.base/auto-load.c: New file.
7366 * gdb.base/auto-load.exp: New file.
7367
71b7d793
JK
7368 PR gdb/16626
7369 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7370
e2f0d509
JK
73712014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7372
7373 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7374 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7375
50cc37c8
DE
73762014-02-24 Doug Evans <dje@google.com>
7377
7378 * lib/gdb.exp (run_on_host): Log error output if program fails.
7379
ea4758f2
PA
73802014-02-21 Pedro Alves <palves@redhat.com>
7381
7382 * gdb.threads/step-after-sr-lock.c: Rename to ...
7383 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7384 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7385 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7386 ... this.
7387
d7b30f67
SDJ
73882014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7389
7390 PR tdep/16397
7391 * gdb.arch/amd64-stap-special-operands.exp: New file.
7392 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7393 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7394 * gdb.arch/amd64-stap-triplet.S: Likewise.
7395 * gdb.arch/amd64-stap-triplet.c: Likewise.
7396
83deb43f
JB
73972014-02-20 Joel Brobecker <brobecker@adacore.com>
7398
7399 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7400 in .section pseudo-op.
7401
adde2bff
DE
74022014-02-20 lin zuojian <manjian2006@gmail.com>
7403 Joel Brobecker <brobecker@adacore.com>
7404 Doug Evans <xdje42@gmail.com>
7405
7406 PR symtab/16581
7407 * gdb.dwarf2/dw2-icycle.S: New file.
7408 * gdb.dwarf2/dw2-icycle.c: New file.
7409 * gdb.dwarf2/dw2-icycle.exp: New file.
7410
f7bd0f78
SC
74112014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7412
7413 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7414 operations on gdb.Value objects.
7415 * gdb.python/py-value-cc.exp: Add new test to test operations on
7416 gdb.Value objects.
7417
c17ef0d5
DE
74182014-02-18 Doug Evans <dje@google.com>
7419
7420 * Makefile.in (TESTS): New variable.
7421 (expanded_tests, expanded_tests_or_none): New variables
7422 (check-single): Pass $(expanded_tests_or_none) to runtest.
7423 (check-parallel): Only run tests in $(TESTS) if non-empty.
7424 (check/no-matching-tests-found): New rule.
7425 * README: Document TESTS makefile variable.
7426
5dd3176f
DE
74272014-02-18 Doug Evans <dje@google.com>
7428
7429 * Makefile.in (check-parallel): rm -rf outputs temp.
7430
0b10be4f
JK
74312014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7432
7433 Fix "ERROR: no fileid for" in the testsuite.
7434 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7435
85f224e7
DE
74362014-02-12 Doug Evans <dje@google.com>
7437
7438 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7439 (MISCELLANEOUS): New variable.
7440 (clean): rm -rf $(MISCELLANEOUS).
7441 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7442 dwp live in the same directory as symlinks, with each symlink pointed
7443 to a differently named file in a different directory.
7444
149b30ff
DE
74452014-02-11 Doug Evans <dje@google.com>
7446
7447 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7448 of Tcl file commands.
7449
1dfdac32
MK
74502014-02-10 Mark Kettenis <kettenis@gnu.org>
7451
7452 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7453 "kill -SIGUSR1 -1".
7454
aa4fb036
JB
74552014-02-10 Joel Brobecker <brobecker@adacore.com>
7456
7457 * gdb.ada/tick_length_array_enum_idx: New testcase.
7458
ed3ef339
DE
74592014-02-10 Doug Evans <xdje42@gmail.com>
7460
7461 * configure.ac (AC_OUTPUT): Add gdb.guile.
7462 * configure: Regenerate.
7463 * lib/gdb-guile.exp: New file.
7464 * lib/gdb.exp (get_target_charset): New function.
7465 * gdb.base/help.exp: Update expected output from "apropos apropos".
7466 * gdb.guile/Makefile.in: New file.
7467 * gdb.guile/guile.exp: New file.
7468 * gdb.guile/scm-arch.c: New file.
7469 * gdb.guile/scm-arch.exp: New file.
7470 * gdb.guile/scm-block.c: New file.
7471 * gdb.guile/scm-block.exp: New file.
7472 * gdb.guile/scm-breakpoint.c: New file.
7473 * gdb.guile/scm-breakpoint.exp: New file.
7474 * gdb.guile/scm-disasm.c: New file.
7475 * gdb.guile/scm-disasm.exp: New file.
7476 * gdb.guile/scm-equal.c: New file.
7477 * gdb.guile/scm-equal.exp: New file.
7478 * gdb.guile/scm-error.exp: New file.
7479 * gdb.guile/scm-error.scm: New file.
7480 * gdb.guile/scm-frame-args.c: New file.
7481 * gdb.guile/scm-frame-args.exp: New file.
7482 * gdb.guile/scm-frame-args.scm: New file.
7483 * gdb.guile/scm-frame-inline.c: New file.
7484 * gdb.guile/scm-frame-inline.exp: New file.
7485 * gdb.guile/scm-frame.c: New file.
7486 * gdb.guile/scm-frame.exp: New file.
7487 * gdb.guile/scm-generics.exp: New file.
7488 * gdb.guile/scm-gsmob.exp: New file.
7489 * gdb.guile/scm-iterator.c: New file.
7490 * gdb.guile/scm-iterator.exp: New file.
7491 * gdb.guile/scm-math.c: New file.
7492 * gdb.guile/scm-math.exp: New file.
7493 * gdb.guile/scm-objfile-script-gdb.in: New file.
7494 * gdb.guile/scm-objfile-script.c: New file.
7495 * gdb.guile/scm-objfile-script.exp: New file.
7496 * gdb.guile/scm-objfile.c: New file.
7497 * gdb.guile/scm-objfile.exp: New file.
7498 * gdb.guile/scm-ports.exp: New file.
7499 * gdb.guile/scm-pretty-print.c: New file.
7500 * gdb.guile/scm-pretty-print.exp: New file.
7501 * gdb.guile/scm-pretty-print.scm: New file.
7502 * gdb.guile/scm-section-script.c: New file.
7503 * gdb.guile/scm-section-script.exp: New file.
7504 * gdb.guile/scm-section-script.scm: New file.
7505 * gdb.guile/scm-symbol.c: New file.
7506 * gdb.guile/scm-symbol.exp: New file.
7507 * gdb.guile/scm-symtab-2.c: New file.
7508 * gdb.guile/scm-symtab.c: New file.
7509 * gdb.guile/scm-symtab.exp: New file.
7510 * gdb.guile/scm-type.c: New file.
7511 * gdb.guile/scm-type.exp: New file.
7512 * gdb.guile/scm-value-cc.cc: New file.
7513 * gdb.guile/scm-value-cc.exp: New file.
7514 * gdb.guile/scm-value.c: New file.
7515 * gdb.guile/scm-value.exp: New file.
7516 * gdb.guile/source2.scm: New file.
7517 * gdb.guile/types-module.cc: New file.
7518 * gdb.guile/types-module.exp: New file.
7519
7026a7c1
YQ
75202014-02-10 Yao Qi <yao@codesourcery.com>
7521
7522 PR testsuite/16543
7523 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7524 * configure: Regenerated.
7525 * Makefile.in: New file.
7526
6c466447
AS
75272014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7528
7529 * gdb.python/py-framefilter.exp: Fix typo.
7530
6e854735
YQ
75312014-02-08 Yao Qi <yao@codesourcery.com>
7532
7533 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7534 that no =breakpoint-modified is emitted when breakpoints are
7535 modified through MI commands.
7536
d137e6dc
PA
75372014-02-07 Pedro Alves <pedro@codesourcery.com>
7538 Pedro Alves <palves@redhat.com>
7539
7540 * gdb.threads/step-after-sr-lock.c: New file.
7541 * gdb.threads/step-after-sr-lock.exp: New file.
7542
b5ee5a50
PA
75432014-02-07 Pedro Alves <palves@redhat.com>
7544
7545 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7546
3c77faf3
JK
75472014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7548
7549 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7550 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7551
6dddc817
DE
75522014-02-06 Doug Evans <xdje42@gmail.com>
7553
7554 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7555 output.
7556
7557 * gdb.gdb/python-interrupts.exp: New file.
7558
de7b2893
YQ
75592014-02-05 Yao Qi <yao@codesourcery.com>
7560
7561 * gdb.trace/report.exp (use_collected_data): Test the output
7562 of "info threads" and "info inferiors".
7563
66d032ac
YQ
75642014-02-05 Yao Qi <yao@codesourcery.com>
7565
7566 Revert this patch:
7567
7568 2013-05-24 Yao Qi <yao@codesourcery.com>
7569
7570 * gdb.trace/tfile.exp: Test inferior and thread.
7571
591a12a1
UW
75722014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7573
7574 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7575 on a function.
7576 * gdb.base/step-bt.c: Call hello via function pointer to make
7577 sure its first instruction is executed on powerpc64le-linux.
7578
0ff3e01f
UW
75792014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7580
7581 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7582
084ee545
UW
75832014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7584
7585 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7586 of the test patterns for use on little-endian systems.
7587
6ed14ff3
UW
75882014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7589
7590 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7591 (decimal_vector): Fix for little-endian.
7592
401e27fd
JM
75932014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7594
7595 * gdb.arch/sparc-sysstep.exp: New file.
7596 * gdb.arch/sparc-sysstep.c: Likewise.
7597
7598 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7599
8b924729
EBM
76002014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7601
7602 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7603
fb151210
JB
76042014-01-23 Tom Tromey <tromey@redhat.com>
7605
7606 * gdb.ada/array_char_idx: New testcase.
7607
0740f8d8
TT
76082014-01-23 Tom Tromey <tromey@redhat.com>
7609
7610 PR python/16487:
7611 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7612 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7613 classes.
7614
21909fa1
TT
76152014-01-23 Tom Tromey <tromey@redhat.com>
7616
7617 PR python/16491:
7618 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7619 string from an inferior frame.
7620 * gdb.python/py-framefilter-mi.exp: Update.
7621
87ce2a04
DE
76222014-01-22 Doug Evans <dje@google.com>
7623
7624 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7625
237b092b
AA
76262014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7627
7628 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7629
d674a709
AA
76302014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7631
7632 * gdb.trace/entry-values.exp: Remove excess space character from
7633 regex patterns. Handle s390 call instruction.
7634
20fa3390
AA
76352014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7636
7637 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7638 define "*_start" label. Make "name" static.
7639 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7640 ${name} by references to ${name}_start.
7641
78466714
AA
76422014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7643
7644 * gdb.base/info-macros.exp: Remove "debug" from the compile
7645 options.
7646
ec9f644a
IB
76472014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7648
7649 * gdb.dlang/demangle.exp: New file.
7650
94b1b47e
IB
76512014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7652
7653 * gdb.dlang/primitive-types.exp: New file.
7654
7f420862
IB
76552014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7656
7657 * configure.ac: Create gdb.dlang/Makefile.
7658 * configure: Regenerate.
7659 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7660 * gdb.dlang/Makefile.in: New file.
7661 * lib/d-support.exp: New file.
7662 * lib/gdb.exp (skip_d_tests): New proc.
7663
52834460
MM
76642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7665
7666 * gdb.btrace/delta.exp: Check reverse stepi.
7667 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7668 * gdb.btrace/finish.exp: New.
7669 * gdb.btrace/next.exp: New.
7670 * gdb.btrace/nexti.exp: New.
7671 * gdb.btrace/record_goto.c: Add comments.
7672 * gdb.btrace/step.exp: New.
7673 * gdb.btrace/stepi.exp: New.
7674 * gdb.btrace/multi-thread-step.c: New.
7675 * gdb.btrace/multi-thread-step.exp: New.
7676 * gdb.btrace/rn-dl-bind.c: New.
7677 * gdb.btrace/rn-dl-bind.exp: New.
7678 * gdb.btrace/data.c: New.
7679 * gdb.btrace/data.exp: New.
7680 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7681
6e07b1d2
MM
76822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7683
7684 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7685 * gdb.btrace/exception.exp: Update.
7686 * gdb.btrace/instruction_history.exp: Update.
7687 * gdb.btrace/record_goto.exp: Update.
7688 * gdb.btrace/tailcall.exp: Update.
7689 * gdb.btrace/unknown_functions.exp: Update.
7690 * gdb.btrace/delta.exp: New.
7691
0b722aec
MM
76922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7693
7694 * gdb.btrace/record_goto.exp: Add backtrace test.
7695 * gdb.btrace/tailcall.exp: Add backtrace test.
7696
066ce621
MM
76972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7698
7699 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7700 * gdb.btrace/record_goto.c: New.
7701 * gdb.btrace/record_goto.exp: New.
7702 * gdb.btrace/x86-record_goto.S: New.
7703
0688d04e
MM
77042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7705
7706 * gdb.btrace/function_call_history.exp: Update tests.
7707 * gdb.btrace/instruction_history.exp: Update tests.
7708
8710b709
MM
77092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7710
7711 * gdb.btrace/function_call_history.exp: Fix expected field
7712 order for "record function-call-history".
7713 Add new tests for "record function-call-history /c".
7714 * gdb.btrace/exception.cc: New.
7715 * gdb.btrace/exception.exp: New.
7716 * gdb.btrace/tailcall.exp: New.
7717 * gdb.btrace/x86-tailcall.S: New.
7718 * gdb.btrace/x86-tailcall.c: New.
7719 * gdb.btrace/unknown_functions.c: New.
7720 * gdb.btrace/unknown_functions.exp: New.
7721 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7722
5de9129b
MM
77232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7724
7725 * gdb.btrace/instruction_history.exp: Update.
7726 * gdb.btrace/function_call_history.exp: Update.
7727
23a7fe75
MM
77282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7729
7730 * gdb.btrace/function_call_history.exp: Fix expected function
7731 trace.
7732 * gdb.btrace/instruction_history.exp: Initialize traced.
7733 Remove traced_functions.
7734
724c7dd8
MM
77352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7736
7737 * gdb.btrace/function_call_history.exp: Update
7738 * gdb.btrace/instruction_history.exp: Update.
7739
6d78d93b
MM
77402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7741
7742 * gdb.btrace/enable.exp: Update expected text.
7743
93a360cc
OJ
77442014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7745
7746 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7747 bytes.
7748
3772b53f
MR
77492014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7750
7751 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7752
596662fa
OJ
77532014-01-15 Omair Javaid <omair.javaid@linaro.org>
7754
7755 * lib/gdb.exp (supports_process_record): Return true for
7756 arm*-linux*. (supports_reverse): Likewise.
7757
b5b08fb4
SC
77582014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7759
7760 PR python/15464
7761 PR python/16113
7762 * gdb.python/py-type.c: Enhance test case.
7763 * gdb.python/py-value-cc.cc: Likewise
7764 * gdb.python/py-type.exp: Add new tests.
7765 * gdb.python/py-value-cc.exp: Likewise
7766
52d7fb13
AA
77672014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7768 Pedro Alves <palves@redhat.com>
7769
7770 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7771 Make "name" extern.
7772 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7773 references to ${name}_start by references to ${name}.
7774
a2cd8cfe
JB
77752014-01-10 Joel Brobecker <brobecker@adacore.com>
7776
7777 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7778
4e23fced
JB
77792014-01-10 Joel Brobecker <brobecker@adacore.com>
7780
7781 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7782
c6a9e42c
PA
77832014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7784 Pedro Alves <palves@redhat.com>
7785
7786 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7787 mi_gdb_target_load.
c6a9e42c 7788
b7ea362b
PA
77892014-01-08 Pedro Alves <palves@redhat.com>
7790
7791 * gdb.threads/reconnect-signal.c: New file.
7792 * gdb.threads/reconnect-signal.exp: New file.
7793
5e3f4fab
EBM
77942014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7795
7796 * gdb.base/source-dir.exp: New file.
7797
79301218
JB
77982014-01-07 Joel Brobecker <brobecker@adacore.com>
7799
7800 * gdb.ada/mi_interface: New testcase.
7801
8e355c5d
JB
78022014-01-07 Joel Brobecker <brobecker@adacore.com>
7803
7804 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7805 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7806 gdb.ada/pp-rec-component/pck.ads: New files.
7807
c0d48811
JB
78082014-01-07 Joel Brobecker <brobecker@adacore.com>
7809
7810 * gdb.python/py-pp-integral.c: New file.
7811 * gdb.python/py-pp-integral.py: New file.
7812 * gdb.python/py-pp-integral.exp: New file.
7813
17b609c3 7814For older changes see ChangeLog-1993-2013.
c906108c 7815\f
8d8cb839
EZ
7816;; Local Variables:
7817;; mode: change-log
7818;; left-margin: 8
7819;; fill-column: 74
7820;; version-control: never
7821;; End:
902f2ccb 7822
618f726f 7823 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7824 Copying and distribution of this file, with or without modification,
7825 are permitted provided the copyright notice and this notice are preserved.