]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
testsuite: Fix run to main issue introduced by GCC 5.x.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
9ac2d526 12016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
2
3 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
4
17807369
BH
52016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6
7 * gdb.mi/vla.f90: Nullify pointer after declaration.
8
86e501af
PA
92016-03-01 Pedro Alves <palves@redhat.com>
10
11 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
12
1e903e32
PA
132016-03-01 Pedro Alves <palves@redhat.com>
14
15 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
16 before anything else.
17 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
18 _GNU_SOURCE here.
19 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
20 before anything else.
21 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
22
6ccb54e2
PA
232016-03-01 Pedro Alves <palves@redhat.com>
24
25 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
26
30ca9da1
YQ
272016-03-01 Yao Qi <yao.qi@linaro.org>
28
29 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
30 prepare_for_testing.
31
dc856b38
YQ
322016-03-01 Yao Qi <yao.qi@linaro.org>
33
34 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
35
4a932159
AA
362016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
37
38 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
39 manually constructing the output path.
40
f2489477
AA
412016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
42
43 * gdb.arch/s390-stackless.S: New.
44 * gdb.arch/s390-stackless.exp: New.
45
38899f16
IB
462016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
47
48 * gdb.dlang/circular.c: New file.
49 * gdb.dlang/circular.exp: New file.
50
9fde51ed
YQ
512016-02-26 Yao Qi <yao.qi@linaro.org>
52
53 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
54 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
55 (testcases): Update.
56
ce90fefe
YQ
572016-02-26 Yao Qi <yao.qi@linaro.org>
58
59 * gdb.reverse/aarch64.c: Rename to ...
60 * gdb.reverse/insn-reverse.c: ... it.
61 * gdb.reverse/aarch64.exp: Rename to ...
62 * gdb.reverse/insn-reverse.exp: ... it.
63
3263bceb
YQ
642016-02-26 Yao Qi <yao.qi@linaro.org>
65
66 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
67 (testcase_ftype): New.
68 (testcases): New array.
69 (n_testcases): New.
70 (main): Call each element in testcases.
71 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
72 (read_testcase): New.
73 Do the tests in a loop.
74
6cb59ff1
YQ
752016-02-25 Yao Qi <yao.qi@linaro.org>
76
77 * gdb.base/branches.c: Remove.
78
ae91f625
MK
792016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
80
81 PR gdb/13808
82 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
83
678b48b7
MK
842016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
85
86 * gdb.trace/ftrace.exp: Remove unnecessary target check.
87
7337a6f2
MK
882016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
89
90 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
91 change x86_64 call_insn to 'callq'.
92
861ca91f
AT
932016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
94
95 * gdb.trace/tfile-avx.c: Move to...
96 * gdb.trace/tracefile-pseudo-reg.c: Here.
97 * gdb.trace/tfile-avx.exp: Move to...
98 * gdb.trace/tracefile-pseudo-reg.exp: Here.
99
bf74e428
GB
1002016-02-24 Gary Benson <gbenson@redhat.com>
101
102 * gdb.base/attach-pie-noexec.exp: Do not expect an error
103 message on attach.
104
cce0e923
DE
1052016-02-23 Doug Evans <dje@google.com>
106
107 * gdb.base/skip.c (test_skip): New function.
108 (end_test_skip_file_and_function): New function.
109 (test_skip_file_and_function): New function.
110 * gdb.base/skip1.c (test_skip): New function.
111 (skip1_test_skip_file_and_function): New function.
112 * gdb.base/skip.exp: Add tests for new skip options.
113 * gdb.base/skip-solib.exp: Update expected output.
114 * gdb.perf/skip-command.cc: New file.
115 * gdb.perf/skip-command.exp: New file.
116 * gdb.perf/skip-command.py: New file.
117
4000e47e
MK
1182016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
119
120 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
121 info registers pattern.
122
24f75ead
IB
1232016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
124
125 * lib/future.exp: Add D support.
126 (gdb_find_gdc): New proc.
127 (gdb_default_target_compile): Add D support.
128
fbb7bcbe
WW
1292016-02-18 Wei-cheng Wang <cole945@gmail.com>
130
131 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
132 user+system time.
133 (trace_speed_test): Determine the iteration count for a time
134 between 15..30 seconds.
135
012b3a21
WT
1362016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
137
138 * gdb.arch/i386-mpx-sigsegv.c: New file.
139 * gdb.arch/i386-mpx-sigsegv.exp: New file.
140 * gdb.arch/i386-mpx-simple_segv.c: New file.
141 * gdb.arch/i386-mpx-simple_segv.exp: New file.
142
2d5189bd
YQ
1432016-02-18 Yao Qi <yao.qi@linaro.org>
144
145 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
146 Don't call setup_kfail.
147
40fb20d0
YQ
1482016-02-18 Yao Qi <yao.qi@linaro.org>
149
150 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
151 Set "set breakpoint condition-evaluation" per $cond_bp_target.
152
21b1f8d2
DE
1532016-02-16 Doug Evans <dje@google.com>
154
155 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
156 * gdb.base/skip1.c: Ditto.
157 * gdb.base/skip.exp: Whitespace cleanup.
158
4041ed77
DB
1592016-02-16 Don Breazeal <donb@codesourcery.com>
160
161 PR remote/19496
162 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
163 Remove kfail for PR remote/19496.
164
c4ef31bf
SM
1652016-02-16 Simon Marchi <simon.marchi@ericsson.com>
166
167 * lib/gdb.exp (standard_temp_file): Return a path specific to
168 the runtest invocation.
169
266b65b3
SM
1702016-02-16 Simon Marchi <simon.marchi@ericsson.com>
171
172 * gdb.trace/save-trace.exp: Change relative path to be in the
173 standard output directory.
174
a7a0a6a9
JK
1752016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
176
177 * gdb.arch/i386-prologue.c: Add missing prototypes.
178
c99dbb42
JK
1792016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
180
181 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
182 * gdb.arch/i386-prologue.exp: Likewise.
183 * gdb.arch/i386-size.exp: Likewise.
184
aa480355
SM
1852016-02-15 Simon Marchi <simon.marchi@ericsson.com>
186
187 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
188 define object file path.
189 * gdb.btrace/gcore.exp: Use standard_output_file to define core
190 file path.
191 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
192 standard_output_file to define binfile.
193
ba881f50
JK
1942016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
195
196 Fix compatibility with recent gfortran-5.3.1.
197 * gdb.fortran/vla-history.exp (print vla1 allocated)
198 (print vla2 allocated, print $2, print $3): Remove
199 (print $4): Rename to ...
200 (print $2): ... here.
201 (print $9): Rename to ...
202 (print $5): ... here.
203 (print $10): Rename to ...
204 (print $6): ... here.
205 * gdb.fortran/vla.f90: Add pvla initialization.
206
e9fb005c
JK
2072016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
208
209 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
210 New test.
211 * gdb.fortran/vla-value-sub.exp: Likewise.
212
e44e00ff
MK
2132016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
214
215 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
216
97e94151
SM
2172016-02-12 Simon Marchi <simon.marchi@ericsson.com>
218
219 * i386-biarch-core.exp: Define corefile using
220 standard_output_file.
221
01113bc1
YQ
2222016-02-12 Yao Qi <yao.qi@linaro.org>
223
224 * gdb.arch/arm-single-step-kernel-helper.c: New.
225 * gdb.arch/arm-single-step-kernel-helper.exp: New.
226
33b4777c
MM
2272016-02-12 Markus Metzger <markus.t.metzger@intel.com>
228
229 * gdb.btrace/tailcall-only.exp: New.
230 * gdb.btrace/tailcall-only.c: New.
231 * gdb.btrace/x86_64-tailcall-only.S: New.
232 * gdb.btrace/i686-tailcall-only.S: New.
233
acc23c11
PA
2342016-02-11 Pedro Alves <palves@redhat.com>
235
236 * README (Parallel testing): Add missing double quotes.
237
e352bf0a
PA
2382016-02-11 Pedro Alves <palves@redhat.com>
239
240 * README (Parallel testing): New section.
241 (GDB_PARALLEL): Rewrite.
242 (FORCE_PARALLEL): Document.
243
9f5fed78
MK
2442016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
245
246 * gdb.trace/tfile-avx.c: New test.
247 * gdb.trace/tfile-avx.exp: New test.
248
9ef9e6a6
KS
2492016-02-09 Keith Seitz <keiths@redhat.com>
250
251 PR breakpoints/19546
252 * gdb.base/infcall-exec.c: New file.
253 * gdb.base/infcall-exec2.c: New file.
254 * gdb.base/infcall-exec.exp: New file.
255
a96e36da
KS
2562016-02-09 Keith Seitz <keiths@redhat.com>
257
258 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
259 (toplevel): Call test_bkpt_address.
260
9f61929f
KS
2612016-02-09 Keith Seitz <keiths@redhat.com>
262
263 PR python/19506
264 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
265 (toplevel): Call test_bkpt_address.
266
1e94266c
SM
2672016-02-09 Simon Marchi <simon.marchi@ericsson.com>
268
269 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
270 to AC_OUTPUT.
271 * configure: Regenerate.
272
2a7f3dff
PA
2732016-02-09 Pedro Alves <palves@redhat.com>
274
275 PR breakpoints/19548
276 * gdb.base/execl-update-breakpoints.c (some_function): New
277 function.
278 (main): Call it.
279 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
280 Tighten expected GDB output.
281
2151ccc5
SM
2822016-02-08 Simon Marchi <simon.marchi@ericsson.com>
283
284 * Makefile.in (ALL_SUBDIRS): Remove.
285 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
286 (distclean maintainer-clean realclean): Likewise.
287 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
288 * configure: Regenerate.
289 * gdb.ada/Makefile.in: Delete.
290 * gdb.arch/Makefile.in: Likewise.
291 * gdb.asm/Makefile.in: Likewise.
292 * gdb.base/Makefile.in: Likewise.
293 * gdb.btrace/Makefile.in: Likewise.
294 * gdb.cell/Makefile.in: Likewise.
295 * gdb.compile/Makefile.in: Likewise.
296 * gdb.cp/Makefile.in: Likewise.
297 * gdb.disasm/Makefile.in: Likewise.
298 * gdb.dlang/Makefile.in: Likewise.
299 * gdb.dwarf2/Makefile.in: Likewise.
300 * gdb.fortran/Makefile.in: Likewise.
301 * gdb.gdb/Makefile.in: Likewise.
302 * gdb.go/Makefile.in: Likewise.
303 * gdb.guile/Makefile.in: Likewise.
304 * gdb.java/Makefile.in: Likewise.
305 * gdb.linespec/Makefile.in: Likewise.
306 * gdb.mi/Makefile.in: Likewise.
307 * gdb.modula2/Makefile.in: Likewise.
308 * gdb.multi/Makefile.in: Likewise.
309 * gdb.objc/Makefile.in: Likewise.
310 * gdb.opencl/Makefile.in: Likewise.
311 * gdb.opt/Makefile.in: Likewise.
312 * gdb.pascal/Makefile.in: Likewise.
313 * gdb.perf/Makefile.in: Likewise.
314 * gdb.python/Makefile.in: Likewise.
315 * gdb.reverse/Makefile.in: Likewise.
316 * gdb.server/Makefile.in: Likewise.
317 * gdb.stabs/Makefile.in: Likewise.
318 * gdb.threads/Makefile.in: Likewise.
319 * gdb.trace/Makefile.in: Likewise.
320 * gdb.xml/Makefile.in: Likewise.
321 * lib/gdb.exp (make_gdb_parallel_path): Add check for
322 GDB_PARALLEL.
323 (standard_output_file): Remove check for GDB_PARALLEL, always
324 return path in outputs/$subdir/$testname.
325
437277d4
SM
3262016-02-08 Simon Marchi <simon.marchi@ericsson.com>
327
328 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
329 (site.exp): Assign abs_srcdir to tcl's srcdir.
330
31d913c7
YQ
3312016-02-04 Yao Qi <yao.qi@linaro.org>
332
333 * gdb.base/foll-exec-mode.c: Include limits.h.
334 (main): Add parameters argc and argv. Get directory from
335 argv[0].
336 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
337 compilation.
338 * gdb.base/foll-exec.c: Include limits.h.
339 (main): Add parameters argc and argv.
340 Get directory from argv[0].
341 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
342 Adjust tests on the number of lines as source code changed.
343 * gdb.base/foll-vfork-exit.c: Include limits.h.
344 (main): Add one line of statement before vfork.
345 * gdb.base/foll-vfork.c: Include limits.h and string.h.
346 (main): Add parameters argc and argv. Get directory from
347 argv[0].
348 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
349 (setup_gdb): Set tbreak to skip some source lines.
350 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
351 (main): Add parameters argc and argv. Get directory from
352 argv[0].
353 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
354 compilation.
355 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
356 (main): Add parameters argc and argv. Get directory from
357 argv[0].
358 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
359 compilation.
360
9482b9fb
DE
3612016-02-01 Doug Evans <dje@google.com>
362
363 * gdb.base/skip.exp: Clean up multiple references to same test name.
364
6b2e4f10
PA
3652016-02-01 Pedro Alves <palves@redhat.com>
366
ccb6afd6 367 PR remote/19496
6b2e4f10
PA
368 * gdb.threads/forking-threads-plus-breakpoint.exp
369 (displaced_stepping_supported): New global.
370 (probe_displaced_stepping_support): New procedure.
371 (do_test): Add 'displaced' parameter, and use it.
372 (top level): Check for displaced stepping support. Add displaced
373 stepping on/off testing axis.
374
37a8db1a
AB
3752016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
376
377 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
378 pointer. Don't perform further tests on the unassociated pointer
379 if the first test fails.
380
5fdf6324
AB
3812016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
382
383 * gdb.base/max-value-size.c: New file.
384 * gdb.base/max-value-size.exp: New file.
385 * gdb.base/huge.exp: Disable max-value-size for this test.
386
935c6144
IB
3872016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
388
389 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
390
7fe8399d
YQ
3912016-01-28 Yao Qi <yao.qi@linaro.org>
392
393 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
394
a2077e25
PA
3952016-01-25 Pedro Alves <palves@redhat.com>
396
397 PR threads/19461
398 * gdb.base/fork-running-state.c: New file.
399 * gdb.base/fork-running-state.exp: New file.
400
1d2736d4
PA
4012016-01-25 Pedro Alves <palves@redhat.com>
402
403 PR gdb/19494
404 * gdb.base/catch-fork-kill.c: New file.
405 * gdb.base/catch-fork-kill.exp: New file.
406
f1da4b11
PA
4072016-01-25 Pedro Alves <palves@redhat.com>
408
409 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
410 Delete, moved to lib/gdb.exp.
411 * gdb.threads/forking-threads-plus-breakpoint.exp
412 (foreach_with_prefix): Likewise.
413 * gdb.threads/process-dies-while-handling-bp.exp
414 (foreach_with_prefix): Likewise.
415 * lib/gdb.exp (foreach_with_prefix): New procedure.
416
45f38546
MK
4172016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
418
419 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
420 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
421
dc29a1ce
MK
4222016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
423
424 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
425 endian targets.
426
092127d7
JK
4272016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
428 Pedro Alves <palves@redhat.com>
429
430 Fix testsuite compatibility with Guile.
431 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
432 number.
433
31d765d3
JK
4342016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
435
436 Fix testsuite compatibility with Guile.
437 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
438 (thread 1): New test for backtrace through signal handler.
439
1ac78c04
YQ
4402016-01-22 Yao Qi <yao.qi@linaro.org>
441
442 PR testsuite/19491
443 * gdb.base/multi-forks.c: Include
444 ../lib/unbuffer_output.c
445 (main): Call gdb_unbuffer_output.
446
4f5946a8
DE
4472016-01-21 Doug Evans <dje@google.com>
448
449 * lib/ada.exp (gdb_compile_ada): Fix typo.
450
305e13e6
JB
4512016-01-21 Joel Brobecker <brobecker@adacore.com>
452
453 * gdb.base/break-fun-addr.exp: New file.
454 * gdb.base/break-fun-addr1.c: New file.
455 * gdb.base/break-fun-addr2.c: New file.
456
5f5dfff6
SM
4572016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
458
459 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
460 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
461 enum flag values.
462
fd356fa2
AA
4632016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
464
465 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
466 when GDB can not set the vector return value. Add more comments
467 for clarification.
468
9df22175
AT
4692016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
470
471 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
472 command.
473
41d1845e
SM
4742016-01-19 Simon Marchi <simon.marchi@ericsson.com>
475
476 * Makefile.in (DO_RUNTEST): Add --status and update usages.
477
01ac6840
SM
4782016-01-19 Simon Marchi <simon.marchi@ericsson.com>
479
480 * Makefile.in (check-single): Pass --status to runtest.
481 (check/%.exp): Likewise.
482
4832016-01-19 Simon Marchi <simon.marchi@ericsson.com>
484
485 * Makefile.in (check-parallel): Propagate return code from make
486 do-check-parallel.
487
bd0a71fa
MK
4882016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
489
490 * gdb.trace/ftrace.exp: Fix expected message on continue.
491 * gdb.trace/pending.exp: Fix expected message on continue.
492 * gdb.trace/trace-break.exp: Fix expected message on continue.
493
8bcbad33
SM
4942016-01-18 Simon Marchi <simon.marchi@ericsson.com>
495
496 * lib/gdb.exp (gdb_test): Remove unused global references.
497
f303dbd6
PA
4982016-01-18 Pedro Alves <palves@redhat.com>
499
500 * gdb.base/async-shell.exp: Adjust expected output.
501 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
502 * gdb.base/siginfo-thread.exp: Adjust expected output.
503 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
504 * gdb.java/jnpe.exp: Adjust expected output.
505 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
506 * gdb.threads/continue-pending-status.exp: Adjust expected output.
507 * gdb.threads/leader-exit.exp: Adjust expected output.
508 * gdb.threads/manythreads.exp: Adjust expected output.
509 * gdb.threads/pthreads.exp: Adjust expected output.
510 * gdb.threads/schedlock.exp: Adjust expected output.
511 * gdb.threads/siginfo-threads.exp: Adjust expected output.
512 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
513 expected output.
514 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
515 output.
516 * gdb.threads/sigthread.exp: Adjust expected output.
517 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
518
b2789696
YQ
5192016-01-18 Yao Qi <yao.qi@linaro.org>
520
521 * gdb.guile/scm-section-script.c: Replace @progbits with
522 %progbits.
523 * gdb.python/py-section-script.c: Likewise.
524
71ef29a8
PA
5252016-01-15 Pedro Alves <palves@redhat.com>
526
527 * gdb.multi/tids.exp: Test star wildcard ranges.
528
3f5b7598
PA
5292016-01-15 Pedro Alves <palves@redhat.com>
530
531 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
532 command from "thread apply" invocation.
533 (thr_apply_info_thr_invalid): Default the expected output to the
534 input tid list.
535 (top level): Add tests that use convenience variables. Add tests
536 for "thread apply" with a valid TID list, but missing the command.
537
663f6d42
PA
5382016-01-13 Pedro Alves <palves@redhat.com>
539
540 * gdb.base/default.exp: Expect $_gthread as well.
541 * gdb.multi/tids.exp: Test $_gthread.
542 * gdb.threads/thread-specific.exp: Test $_gthread.
543
c84f6bbf
PA
5442016-01-13 Pedro Alves <palves@redhat.com>
545
546 * gdb.multi/tids.exp: Test "info threads -gid".
547
22a02324
PA
5482016-01-13 Pedro Alves <palves@redhat.com>
549
550 * gdb.multi/tids.exp: Test InferiorThread.global_num and
551 Breakpoint.thread.
552 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
553
5d5658a1
PA
5542016-01-07 Pedro Alves <palves@redhat.com>
555
556 * gdb.base/break.exp: Adjust to output changes.
557 * gdb.base/hbreak2.exp: Likewise.
558 * gdb.base/sepdebug.exp: Likewise.
559 * gdb.base/watch_thread_num.exp: Likewise.
560 * gdb.linespec/keywords.exp: Likewise.
561 * gdb.multi/info-threads.exp: Likewise.
562 * gdb.threads/thread-find.exp: Likewise.
563 * gdb.multi/tids.c: New file.
564 * gdb.multi/tids.exp: New file.
565
84654457
PA
5662016-01-13 Pedro Alves <palves@redhat.com>
567
568 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
569
e3940304
PA
5702016-01-13 Pedro Alves <palves@redhat.com>
571
572 * gdb.base/default.exp: Expect $_inferior as well.
573 * gdb.multi/base.exp: Test $_inferior.
574
a911d87a
PA
5752016-01-13 Pedro Alves <palves@redhat.com>
576
577 PR breakpoints/19388
578 * gdb.base/catch-signal-siginfo-cond.c: New file.
579 * gdb.base/catch-signal-siginfo-cond.exp: New file.
580
82075af2
JS
5812016-01-12 Josh Stone <jistone@redhat.com>
582 Philippe Waroquiers <philippe.waroquiers@skynet.be>
583
584 * gdb.base/catch-syscall.c (do_execve): New variable.
585 (main): Conditionally trigger an execve.
586 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
587 (test_catch_syscall_execve): New, check entry/return across execve.
588 (do_syscall_tests): Call test_catch_syscall_execve.
589
e46eeedd
PA
5902016-01-12 Pedro Alves <palves@redhat.com>
591
592 * gdb.base/random-signal.exp (do_test): New procedure, with body
593 of testcase moved in.
594
01d8c27e
JK
5952016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
596 Pedro Alves <palves@redhat.com>
597
598 * gdb.base/funcargs.exp (finish from indirectly called function):
599 Reintroduce the case for 'First'.
600
9a706302
JK
6012016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
602 Pedro Alves <palves@redhat.com>
603
604 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
605 (tcatch_vfork_then_child_follow_exec)
606 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
607 identification.
608
c0ecb95f
JK
6092016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
610
611 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
612 and repeats to unlimited.
613 * gdb.python/py-value.exp: Likewise.
614 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
615 and repeats to unlimited.
616
6cfc1fcb
JK
6172016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
618
619 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
620 and reordering the functions.
621 * gdb.multi/hangout.c: Likewise.
622 * gdb.multi/hello.c: Likewise.
623
582a1b00
SM
6242016-01-08 Simon Marchi <simon.marchi@ericsson.com>
625
626 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
627 absolute.
628 (SingleStatisticTestResult.report): Use dict.keys instead of
629 dict.iterkeys.
630
79bc59cb
PA
6312016-01-06 Pedro Alves <palves@redhat.com>
632
633 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
634
43368e1d
MM
6352016-01-04 Markus Metzger <markus.t.metzger@intel.com>
636
637 * gdb.btrace/dlopen.exp: New.
638 * gdb.btrace/dlopen.c: New.
639 * gdb.btrace/dlopen-dso.c: New.
640
79fad5b8
SL
6412015-12-25 Sandra Loosemore <sandra@codesourcery.com>
642
643 * lib/gdb.exp (gdb_test): Update comments to clarify that the
644 PATTERN argument is optional.
645
ab8314b3
JB
6462015-12-24 Joel Brobecker <brobecker@adacore.com>
647
648 * lib/ada.exp (target_compile_ada_from_dir): New function.
649 (gdb_compile_ada): Reimplement avoiding the use of project files.
650 * gdb.ada/gnat_ada.gpr: Delete.
651 * gdb.ada/cond_lang.exp: Adjust test to make path before
652 filename optional.
653 * gdb.ada/small_reg_param.exp: Likewise.
654
fe33faff
SM
6552015-12-22 Simon Marchi <simon.marchi@ericsson.com>
656
657 * gdb.base/foll-vork.exp: Remove HP-UX special case.
658
6d265cb4
TP
6592015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
660
661 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
662 case.
663
10125099
SM
6642015-12-21 Simon Marchi <simon.marchi@ericsson.com>
665
666 * gdb.base/break.exp: Remove dead code.
667 * gdb.base/sepdebug.exp: Likewise.
668
3ca22649
SM
6692015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
670
671 * gdb.asm/asm-source.exp: Remove HP-UX references.
672 * gdb.base/annota1.exp: Likewise.
673 * gdb.base/annota3.exp: Likewise.
674 * gdb.base/attach.exp: Likewise.
675 * gdb.base/bigcore.exp: Likewise.
676 * gdb.base/break.exp: Likewise.
677 * gdb.base/call-ar-st.exp: Likewise.
678 * gdb.base/callfuncs.exp: Likewise.
679 * gdb.base/catch-fork-static.exp: Likewise.
680 * gdb.base/display.exp: Likewise.
681 * gdb.base/foll-exec-mode.exp: Likewise.
682 * gdb.base/foll-exec.exp: Likewise.
683 * gdb.base/foll-fork.exp: Likewise.
684 * gdb.base/foll-vfork.exp: Likewise.
685 * gdb.base/funcargs.exp: Likewise.
686 * gdb.base/hbreak2.exp: Likewise.
687 * gdb.base/inferior-died.exp: Likewise.
688 * gdb.base/interrupt.exp: Likewise.
689 * gdb.base/multi-forks.exp: Likewise.
690 * gdb.base/nodebug.exp: Likewise.
691 * gdb.base/sepdebug.exp: Likewise.
692 * gdb.base/solib1.c: Likewise.
693 * gdb.base/step-test.exp: Likewise.
694 * gdb.mi/non-stop.c: Likewise.
695 * gdb.mi/pthreads.c: Likewise.
696 * gdb.multi/bkpt-multi-exec.ex: Likewise.
697 * gdb.threads/pthreads.c: Likewise.
698 * gdb.threads/staticthreads.exp: Likewise.
699 * lib/future.exp: Likewise.
700 * lib/gdb.exp: Likewise.
701 * gdb.base/so-indr-cl.c: Remove.
702 * gdb.base/so-indr-cl.exp: Likewise.
703 * gdb.base/solib.c: Likewise.
704 * gdb.base/solib.exp: Likewise.
705 * gdb.base/solib2.c: Likewise.
706
b6304613
SM
7072015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
708
709 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
710 * gdb.base/call-ar-st.exp: Likewise.
711 * gdb.base/callfuncs.exp: Likewise.
712 * gdb.base/condbreak.exp: Likewise.
713 * gdb.base/constvars.exp: Likewise.
714 * gdb.base/hbreak2.exp: Likewise.
715 * gdb.base/langs.exp: Likewise.
716 * gdb.base/list.exp: Likewise.
717 * gdb.base/long_long.exp: Likewise.
718 * gdb.base/ptype.exp: Likewise.
719 * gdb.base/scope.exp: Likewise.
720 * gdb.base/signals.exp: Likewise.
721 * gdb.base/so-impl-ld.exp: Likewise.
722 * gdb.base/varargs.exp: Likewise.
723 * gdb.base/volatile.exp: Likewise.
724 * gdb.base/whatis.exp: Likewise.
725 * gdb.cp/cplusfuncs.exp: Likewise.
726 * gdb.cp/inherit.exp: Likewise.
727 * gdb.cp/local.exp: Likewise.
728 * gdb.cp/member-ptr.exp: Likewise.
729 * gdb.cp/method.exp: Likewise.
730 * gdb.cp/overload.exp: Likewise.
731 * gdb.cp/templates.exp: Likewise.
732 * gdb.stabs/weird.exp: Likewise.
733 * lib/compiler.c: Likewise.
734 * lib/compiler.cc: Likewise.
735 * lib/cp-support.exp: Likewise.
736 * lib/gdb.exp: Likewise.
737
bf401b07
SM
7382015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
739
740 * configure.ac: Remove HP-UX case.
741 * configure: Regenerate.
742
aff9c0f8
SM
7432015-12-18 Simon Marchi <simon.marchi@ericsson.com>
744
745 * lib/gdb.exp (gdb_compile): Add function doc.
746
a6904d5a
PA
7472015-12-17 Pedro Alves <palves@redhat.com>
748
749 PR threads/19354
750 * gdb.multi/info-threads.exp: New file.
751
a22279dd
YQ
7522015-12-15 Yao Qi <yao.qi@linaro.org>
753
754 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
755 is aarch64*-*-*.
756
0588c796
SL
7572015-12-14 Sandra Loosemore <sandra@codesourcery.com>
758
759 * gdb.base/history-duplicates.exp: Skip if no readline support.
760
5d978e17
SL
7612015-12-14 Sandra Loosemore <sandra@codesourcery.com>
762
763 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
764
7e763b86
SL
7652015-12-14 Sandra Loosemore <sandra@codesourcery.com>
766
767 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
768
87a3a92c
SL
7692015-12-14 Sandra Loosemore <sandra@codesourcery.com>
770
771 * gdb.base/completion.exp: Skip tests that interrupt GDB with
772 ctrl-C if nointerrupts target property is set.
773 * gdb.base/double-prompt-target-event-error.exp: Likewise.
774 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
775 * gdb.base/paginate-bg-execution.exp: Likewise.
776 * gdb.base/paginate-execution-startup.exp: Likewise.
777 * gdb.base/random-signal.exp: Likewise.
778 * gdb.base/range-stepping.exp: Likewise.
779 * gdb.cp/annota2.exp: Likewise.
780 * gdb.cp/annota3.exp: Likewise.
781 * gdb.gdb/selftest.exp: Likewise.
782 * gdb.threads/continue-pending-status.exp: Likewise.
783 * gdb.threads/leader-exit.exp: Likewise.
784 * gdb.threads/manythreads.exp: Likewise.
785 * gdb.threads/pthreads.exp: Likewise.
786 * gdb.threads/schedlock.exp: Likewise.
787 * gdb.threads/sigthread.exp: Likewise.
788
a8f077dc
DB
7892015-12-11 Don Breazeal <donb@codesourcery.com>
790
791 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
792 remote.
793 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
794 * gdb.base/foll-exec.exp (main): Enable for target remote.
795 * gdb.base/foll-fork.exp (main): Likewise.
796 * gdb.base/foll-vfork.exp (main): Likewise.
797 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
798 (proc continue_to_exit_bp_loc): Use clean_restart.
799 * gdb.base/pie-execl.exp (main): Disable for target remote.
800 * gdb.base/watch-vfork.exp (main): Enable for target remote.
801 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
802 * gdb.threads/execl.exp (main): Likewise.
803 * gdb.threads/fork-child-threads.exp (main): Likewise.
804 * gdb.threads/fork-plus-threads.exp (main): Disable for target
805 remote.
806 * gdb.threads/fork-thread-pending.exp (main): Enable for target
807 remote.
808 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
809 pid.tid style ptids, instead of just tid.
810 * gdb.threads/thread-execl.exp (main): Enable for target remote.
811 * gdb.threads/watchpoint-fork.exp (main): Likewise.
812 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
813 ptids, instead of just tid.
814
3b2464a8
AB
8152015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
816
817 * gdb.base/list.exp (test_list_forward): Add end of file error
818 test.
819 (test_repeat_list_command): Add end of file error test.
820 (test_list_backwards): Add beginning of file error test.
821
a0def019
AB
8222015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
823
824 * gdb.base/list.exp (test_list_invalid_args): New function,
825 defined, and called.
826
5c000dff
AB
8272015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
828
829 * gdb.base/list.exp (test_list): Make test names unique.
830
f1637ebe
YQ
8312015-12-11 Yao Qi <yao.qi@linaro.org>
832
833 * gdb.base/coremaker2.c: Remove.
834
36d6fc0a
PA
8352015-12-10 Pedro Alves <palves@redhat.com>
836
837 * gdb.multi/base.exp: Remove stale "spaces" references.
838
762f7747
PA
8392015-12-10 Pedro Alves <palves@redhat.com>
840
841 * gdb.multi/base.exp: Don't use nowarnings.
842 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
843 * gdb.multi/hangout.c: Include stdio.h.
844 * gdb.multi/hello.c: Include stdlib.h.
845 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
846 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
847 * gdb.multi/multi-arch.exp: Don't use nowarnings.
848
28d2bfb9
AB
8492015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
850
851 * gdb.dwarf2/dw2-ranges-base.c: New file.
852 * gdb.dwarf2/dw2-ranges-base.exp: New file.
853 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
854 support additional line table, and debug ranges generation.
855 (Dwarf::ranges): New function, generate .debug_ranges.
856 (Dwarf::lines): Support generating simple line table programs.
857 (Dwarf::assemble): Initialise new namespace variables.
858
5fc2beac
KB
8592015-12-09 Kevin Buettner <kevinb@redhat.com>
860
861 * gdb.base/async.exp (proc test_background): Add case for
862 asynchronous execution not supported.
863
1c35a88f
LM
8642015-12-09 Luis Machado <lgustavo@codesourcery.com>
865
866 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
867 format and change test names to make them unique.
868
b593e3d9
RK
8692015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
870 Pedro Alves <pedro@redhat.com>
871
872 PR gdb/18702
873 Add checking of floatformats setup on x86_64 hosts.
874 * gdb.arch/i386-float.S (main): Load bigval and smallval.
875 (smallval, bigval): New labels/constants.
876 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
877 float" after loading bigval and smallval.
878
d72413e6
PMR
8792015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
880
881 * gdb.ada/fun_overload_menu.exp: New testcase.
882 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
883
ece66d65
JS
8842015-12-04 Josh Stone <jistone@redhat.com>
885
886 * gdb.base/catch-fork-static.exp: New.
887
41d0efca
YQ
8882015-12-03 Yao Qi <yao.qi@linaro.org>
889
890 * gdb.base/sizeof.c: Don't include stdio.h and
891 ../lib/unbuffer_output.c.
892 (main): New variable 'size' and 'value'. Remove printf and
893 gdb_unbuffer_output. Assign return value to size and value.
894 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
895 at the beginning.
896 (check_sizeof): Check the result by printing variable 'size'.
897 (check_valueof): Check the result by printing variable 'value'.
898
99fd02d9
YQ
8992015-12-01 Yao Qi <yao.qi@linaro.org>
900
901 * gdb.base/disp-step-syscall.exp: Define syscall instruction
902 for aarch64*-*-linux* target.
903
f2faf941
PA
9042015-11-30 Pedro Alves <palves@redhat.com>
905
906 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
907
04bf20c5
PA
9082015-11-30 Pedro Alves <palves@redhat.com>
909
910 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
911 Handle non-stop mode vCont replies.
912
09df4675
PA
9132015-11-30 Pedro Alves <palves@redhat.com>
914
915 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
916 prepare_for_testing. Start gdb with "set non-stop on" appended to
917 GDBFLAGS. Lax expected stop output.
918
58b584af
YQ
9192015-11-27 Yao Qi <yao.qi@linaro.org>
920
921 * gdb.arch/arm-neon.exp: New.
922 * gdb.arch/arm-neon.c: New.
923
dfcb77a8
YQ
9242015-11-27 Yao Qi <yao.qi@linaro.org>
925
926 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
927
88e8ec1b
YQ
9282015-11-27 Yao Qi <yao.qi@linaro.org>
929
930 * gdb.cp/annota2.exp: Allow multiple occurrences of the
931 frames-invalid annotation.
932
bfde72c2
YQ
9332015-11-27 Yao Qi <yao.qi@linaro.org>
934
935 * gdb.cp/annota2.exp: Use ${frames_invalid}.
936
f6512a69
SM
9372015-11-26 Simon Marchi <simon.marchi@ericsson.com>
938
939 * gdb.threads/names.exp: New file.
940 * gdb.threads/names.c: New file.
941 * README: Mention gdb,no_thread_names.
942
46a3515b
MM
9432015-11-26 Markus Metzger <markus.t.metzger@intel.com>
944
945 PR 19297
946 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
947 support" error.
948
62147a22
PA
9492015-11-24 Pedro Alves <palves@redhat.com>
950
951 PR 17539
952 * gdb.base/display.exp: Expect displays to be sorted in ascending
953 order. Use multi_line.
954 * gdb.base/solib-display.exp: Likewise.
955
2f341b6e
PA
9562015-11-24 Pedro Alves <palves@redhat.com>
957
958 PR 17539
959 * gdb.base/display.exp: Expect displays to be sorted in ascending
960 order. Use multi_line.
961 * gdb.base/solib-display.exp: Likewise.
962
7e0aa6aa
PA
9632015-11-24 Pedro Alves <palves@redhat.com>
964
965 PR 17539
966 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
967 threads in ascending order.
968 * gdb.base/foll-fork.exp: Likewise.
969 * gdb.base/foll-vfork.exp: Likewise.
970 * gdb.base/multi-forks.exp: Likewise.
971 * gdb.mi/mi-nonstop.exp: Likewise.
972 * gdb.mi/mi-nsintrall.exp: Likewise.
973 * gdb.multi/base.exp: Likewise.
974 * gdb.multi/multi-arch.exp: Likewise.
975 * gdb.python/py-inferior.exp: Likewise.
976 * gdb.threads/break-while-running.exp: Likewise.
977 * gdb.threads/execl.exp: Likewise.
978 * gdb.threads/gcore-thread.exp: Likewise.
979 * gdb.threads/info-threads-cur-sal.exp: Likewise.
980 * gdb.threads/kill.exp: Likewise.
981 * gdb.threads/linux-dp.exp: Likewise.
982 * gdb.threads/multiple-step-overs.exp: Likewise.
983 * gdb.threads/next-bp-other-thread.exp: Likewise.
984 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
985 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
986 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
987 * gdb.threads/thread-find.exp: Likewise.
988 * gdb.threads/tls.exp: Likewise.
989 * lib/mi-support.exp (mi_reverse_list): Delete.
990 (mi_check_thread_states): No longer reverse list.
991
2cc57ad8
PA
9922015-11-24 Pedro Alves <palves@redhat.com>
993
994 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
995 use lowercase.
996
c93e8391
SM
9972015-11-23 Simon Marchi <simon.marchi@ericsson.com>
998
999 * gdb.trace/actions.c: Include trace-common.h.
1000 (main): Add a location for a fast tracepoint.
1001 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1002 the normal tracepoints.
1003 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1004
045ccf91
SM
10052015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1006
1007 * save-trace.exp: Factor out code to these...
1008 (gdb_save_tracepoints): New.
1009 (gdb_load_tracepoints): New.
1010 (do_save_load_test): New.
1011
5506f9f6
KB
10122015-11-23 Kevin Buettner <kevinb@redhat.com>
1013
1014 * gdb.base/asmlabel.exp: New test.
1015 * gdb.base/asmlabel.c: New test case.
1016
16c3b12f
JB
10172015-11-23 Joel Brobecker <brobecker@adacore.com>
1018
1019 * gdb.base/wrong_frame_bt_full-main.c: New file.
1020 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1021 * gdb.base/wrong_frame_bt_full.exp: New file.
1022
155bfbd3
JB
10232015-11-23 Joel Brobecker <brobecker@adacore.com>
1024
1025 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1026
bb097445
JM
10272015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1028
206853a0 1029 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
1030 pstate register when comparing registers values in
1031 sparc64-*-linux-gnu targets to avoid spurious differences.
1032
9c88ed8f
JM
10332015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1034
206853a0 1035 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 1036
96161e25
SL
10372015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1038
1039 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1040 as type argument to gdb_compile.
1041 * gdb.base/nested-subp2.exp: Likewise.
1042 * gdb.base/nested-subp3.exp: Likewise.
1043
340c2830
DV
10442015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1045
1046 * lib/dwarf.exp (_note): Fix left shift of negative value.
1047 * gdb.trace/trace-condition.exp: Likewise.
1048
c1862d0f
YQ
10492015-11-13 Yao Qi <yao.qi@linaro.org>
1050
1051 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1052 comments about d10v.
1053 (test_scalar_returns): Likewise.
1054 * gdb.base/d10v.ld: Remove.
1055 * gdb.base/overlays.exp: Remove the target triplet checking for
1056 d10v-*-*.
1057 * gdb.base/structs.exp (test_struct_returns): Remove the
1058 comments about d10v.
1059 (test_struct_calls): Likewise.
1060
77ae9c19
YQ
10612015-11-13 Yao Qi <yao.qi@linaro.org>
1062
1063 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1064 * gdb.base/gnu_vector.c: Don't include stdio.h.
1065 (main): Don't print res and call add_some_intvecs.
1066
430e004e
MK
10672015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1068
1069 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1070 macro.
1071 (func5): Removed.
1072 (func4): Use FAST_TRACEPOINT_LABEL.
1073 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1074 macro.
1075 (func): Removed.
1076 (thread_function): Use FAST_TRACEPOINT_LABEL.
1077 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1078 (func): Remove.
1079 (marker): Use FAST_TRACEPOINT_LABEL.
1080 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1081 (pendfunc1): Remove.
1082 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1083 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1084 (foo): Remove.
1085 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1086 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1087 macro.
1088 (func): Remove.
1089 (marker): Use FAST_TRACEPOINT_LABEL.
1090 * gdb.trace/trace-common.h: New header.
1091 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1092 macro.
1093 (func): Remove.
1094 (marker): Use FAST_TRACEPOINT_LABEL.
1095 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1096 (func): Remove.
1097 (thread_function): Use FAST_TRACEPOINT_LABEL.
1098
6e7675a7
MK
10992015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1100
1101 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1102 in front.
1103 * gdb.trace/change-loc.exp: Use global pcreg definition.
1104 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1105 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1106 in front.
1107 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1108 * gdb.trace/pending.exp: Likewise.
1109 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1110 * gdb.trace/trace-break.exp: Likewise.
1111 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1112 in front.
1113 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1114 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1115 in front.
1116 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1117
dddc0e16
JB
11182015-11-09 Joel Brobecker <brobecker@adacore.com>
1119
1120 * gdb.ada/fin_fun_out: New testcase.
1121
c6f0b406
KB
11222015-11-07 Kevin Buettner <kevinb@redhat.com>
1123
1124 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1125 value associated with DW_AT_byte_size.
1126 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1127 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1128 DW_AT_upper_bound.
1129
f01dcfd9
KB
11302015-11-07 Kevin Buettner <kevinb@redhat.com>
1131
1132 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1133 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1134 version.
1135 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1136 gdb.dwarf2/dw2-canonicalize-type.exp,
1137 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1138 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1139 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1140 provided by gdb_target_symbol_prefix_flags_asm.
1141 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1142 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1143 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1144 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1145 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1146 macros where needed). Use this macro for symbols which require
1147 the prefix provided by SYMBOL_PREFIX.
1148
2223449a
KB
11492015-11-05 Kevin Buettner <kevinb@redhat.com>
1150
1151 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1152 New procs.
1153 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1154 representing expressions, of more than one list element.
1155 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1156 to prepend linker symbol prefix to f.
1157 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1158 table_1 and table_2.
1159 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1160 Likewise, for f and g.
1161 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1162 for ptr.
1163 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1164 for main.
1165 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1166 table_1_ptr and table_2_ptr.
1167
6f2f1a3a
JK
11682015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1169 Joel Brobecker <brobecker@adacore.com>
1170
1171 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1172
566c56c9
MK
11732015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1174
1175 * gdb.reverse/s390-mvcle.c: New test.
1176 * gdb.reverse/s390-mvcle.exp: New file.
1177 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1178
d5f0636b
MK
11792015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1180
1181 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1182
7ad8b86c
MK
11832015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1184
1185 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1186 reaching marker2.
1187 * gdb.reverse/getresuid-reverse.exp: Likewise.
1188 * gdb.reverse/pipe-reverse.exp: Likewise.
1189 * gdb.reverse/readv-reverse.exp: Likewise.
1190 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1191 * gdb.reverse/time-reverse.exp: Likewise.
1192 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1193
4081c0f1
YQ
11942015-10-30 Yao Qi <yao.qi@linaro.org>
1195
1196 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1197 (empty_cycle): Remove.
1198 (main): Don't call empty_cycle. Don't use watch_count_done.
1199 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1200 empty_cycle. Rewrite the code counting HW watchpoints.
1201
452b4ba5
MK
12022015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1203
1204 * gdb.reverse/fstatat-reverse.c: New test.
1205 * gdb.reverse/fstatat-reverse.exp: New file.
1206 * gdb.reverse/getresuid-reverse.c: New test.
1207 * gdb.reverse/getresuid-reverse.exp: New file.
1208 * gdb.reverse/pipe-reverse.c: New test.
1209 * gdb.reverse/pipe-reverse.exp: New file.
1210 * gdb.reverse/readv-reverse.c: New test.
1211 * gdb.reverse/readv-reverse.exp: New file.
1212 * gdb.reverse/recvmsg-reverse.c: New test.
1213 * gdb.reverse/recvmsg-reverse.exp: New file.
1214 * gdb.reverse/time-reverse.c: New test.
1215 * gdb.reverse/time-reverse.exp: New file.
1216 * gdb.reverse/waitpid-reverse.c: New test.
1217 * gdb.reverse/waitpid-reverse.exp: New file.
1218
5e2e7507
JK
12192015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1220
1221 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1222
0fde2c53
DE
12232015-10-26 Doug Evans <dje@google.com>
1224
1225 PR symtab/17391
1226 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1227 * gdb.dwarf2/bad-regnum.c: New file.
1228 * gdb.dwarf2/bad-regnum.exp: New file.
1229
1a70ae97
DE
12302015-10-26 Doug Evans <dje@google.com>
1231
1232 PR python/18938
1233 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1234 file.
1235
27dc26ab
JK
12362015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1237
1238 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1239 for a change by "Mention language in compile error message".
1240
bed91f4d
SM
12412015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1242
1243 PR python/18073
1244 * gdb.python/py-type.c (C::a_method): New.
1245 (C::a_const_method): New.
1246 (C::a_static_method): New.
1247 (a_function): New.
1248 * gdb.python/py-type.exp (test_fields): Test getting fields
1249 from function and method.
1250
3f2f83dd
KB
12512015-10-21 Keven Boell <keven.boell@intel.com>
1252
1253 * gdb.fortran/vla-alloc-assoc.exp: New file.
1254 * gdb.fortran/vla-datatypes.exp: New file.
1255 * gdb.fortran/vla-datatypes.f90: New file.
1256 * gdb.fortran/vla-history.exp: New file.
1257 * gdb.fortran/vla-ptype-sub.exp: New file.
1258 * gdb.fortran/vla-ptype.exp: New file.
1259 * gdb.fortran/vla-sizeof.exp: New file.
1260 * gdb.fortran/vla-sub.f90: New file.
1261 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1262 * gdb.fortran/vla-value-sub-finish.exp: New file.
1263 * gdb.fortran/vla-value-sub.exp: New file.
1264 * gdb.fortran/vla-value.exp: New file.
1265 * gdb.fortran/vla-ptr-info.exp: New file.
1266 * gdb.mi/mi-vla-fortran.exp: New file.
1267 * gdb.mi/vla.f90: New file.
1268
27145d50
SL
12692015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1270
1271 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1272 of hardwired timeout value.
1273
5f3ff4f8
JK
12742015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1275 Pedro Alves <palves@redhat.com>
1276
1277 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1278 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1279
bfd09d20
JS
12802015-10-19 Josh Stone <jistone@redhat.com>
1281
1282 * gdb.base/catch-syscall.c: Include <sched.h>.
1283 (unknown_syscall): New variable.
1284 (main): Trigger a vfork and an unknown syscall.
1285 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1286 (unknown_syscall_number): Likewise.
1287 (check_call_to_syscall): Accept an optional syscall pattern.
1288 (check_return_from_syscall): Likewise.
1289 (check_continue): Likewise.
1290 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1291 (test_catch_syscall_skipping_return): New test toggling off 'catch
1292 syscall' to step over the syscall return, then toggling back on.
1293 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1294 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1295 (do_syscall_tests): Call test_catch_syscall_without_args and
1296 test_catch_syscall_mid_vfork.
1297 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1298 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1299
b32b93c6
AS
13002015-10-19 Andrew Stubbs <ams@codesourcery.com>
1301
1302 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1303 print g_vE): Add new pass patterns.
1304 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1305 print various symbol names for vptr fields.
1306
9d622bda
AB
13072015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1308
1309 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1310 results.
1311
0fd8ac1c
YQ
13122015-10-12 Yao Qi <yao.qi@linaro.org>
1313
1314 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1315
34240514
YQ
13162015-10-12 Yao Qi <yao.qi@linaro.org>
1317
1318 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1319 is aarch64*-*-linux*.
1320
8240f442
YQ
13212015-10-12 Yao Qi <yao.qi@linaro.org>
1322
1323 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1324 (can_relocate_bcond_true): ... it.
1325 (can_relocate_bcond_false): New function.
1326 (foo): Likewise.
1327 (can_relocate_bl): Likewise.
1328 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1329 can_relocate_bl.
1330
2520f728
PMR
13312015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1332
1333 * gdb.base/nested-addr.c: New file.
1334 * gdb.base/nested-addr.exp: New testcase.
1335
abcef95a
MM
13362015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1337
1338 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1339 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1340 its output. Ignore the output of "record goto begin" and instead
1341 check that GDB is replaying.
1342
145e3ddb
PA
13432015-10-09 Pedro Alves <palves@redhat.com>
1344
1345 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1346 (top level): Use it in the run with no args test.
1347
d5d8c4e1
IB
13482015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1349
1350 * gdb.dlang/properties.exp: New file.
1351
06e635ef
SL
13522015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1353
1354 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1355 whether or not address 0x1000 is mapped on the target.
1356
e019fd1d
SM
13572015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1358
1359 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1360 build.
1361
77ba2a67
MM
13622015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1363
1364 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1365 instruction-history test.
1366
c60eb31f
DE
13672015-09-28 Doug Evans <dje@google.com>
1368
1369 * gdb.base/gcore.c (array_func): Add reference to static_array.
1370
9a3c8263
SM
13712015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1372
1373 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1374 source line.
1375
9720e656
SL
13762015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1377
1378 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1379 short or char as base type.
1380
938d3bf2
SL
13812015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1382
1383 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1384 to allow any size enum.
1385
e6c2c623
PMR
13862015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1387
1388 * gdb.ada/array_ptr_renaming.exp: New testcase.
1389 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1390 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1391
06da0f77
PL
13922015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1393
1394 * gdb.trace/ftrace-lock.c: New file.
1395 * gdb.trace/ftrace-lock.exp: New file.
1396
4f51c22a
PL
13972015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1398
1399 * gdb.arch/insn-reloc.c: New file.
1400 * gdb.arch/ftrace-insn-reloc.exp: New file.
1401
7041adf4
PL
14022015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1403
1404 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1405 instruction.
1406 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1407 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1408 * gdb.trace/range-stepping.c: Likewise.
1409 * gdb.trace/trace-break.c: Likewise.
1410 * gdb.trace/trace-mt.c (thread_function): Likewise.
1411 * gdb.trace/ftrace.c (marker): Likewise.
1412 * gdb.trace/trace-condition.c (marker): Likewise.
1413 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1414 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1415 is_aarch64_target.
1416
015d2e7e
DE
14172015-09-18 Doug Evans <xdje42@gmail.com>
1418
1419 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1420 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1421
26b188a2
SL
14222015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1423
1424 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1425 the breakpoint.
1426
79dc332b
SL
14272015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1428
1429 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1430 the pending breakpoint. Remove timeout override for "Run till
1431 MI pending breakpoint on pendfunc3 on thread 2" test.
1432
f57929f2
SL
14332015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1434
1435 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1436 filename pattern.
1437
3f469b17
SL
14382015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1439
1440 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1441 in breakpoint filename pattern.
1442
515b89b3
SL
14432015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1444
7800dbe4
SL
1445 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1446
14472015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1448
515b89b3
SL
1449 * gdb.linespec/explicit.exp: Check for readline support for
1450 tab-completion tests. Fix obvious typo.
1451
d2939ba2
MM
14522015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1453
1454 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1455 and replay.
1456
cbb55fa7
MM
14572015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1458
1459 * gdb.btrace/non-stop.c: New.
1460 * gdb.btrace/non-stop.exp: New.
1461
43691ca1
PL
14622015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1463 Yao Qi <yao.qi@linaro.org>
1464
1465 * gdb.trace/trace-condition.c: New file.
1466 * gdb.trace/trace-condition.exp: New file.
1467
d78908cf
WW
14682015-09-16 Wei-cheng Wang <cole945@gmail.com>
1469
1470 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1471 for testing bytecode compilation.
1472
1ed415e2
PA
14732015-09-16 Pedro Alves <palves@redhat.com>
1474 Sandra Loosemore <sandra@codesourcery.com>
1475
1476 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1477 (SECONDS): Redefine.
1478 (main): Call pthread_kill and alarm early.
1479 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1480 support.
1481 (test): If the target can't hardware step and doesn't support
1482 displaced stepping, increase the timeout.
1483
d136eff5
PA
14842015-09-16 Pedro Alves <palves@redhat.com>
1485
1486 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1487 (enable_debug): New procedures.
1488 (test): Use them. Bail out if waiting for threads fails.
1489 (top level): Bail out if a test fails.
1490
991f019c
YQ
14912015-09-16 Yao Qi <yao.qi@linaro.org>
1492
1493 * gdb.asm/asm-source.exp: Set asm-arch for
1494 aarch64*-*-* target.
1495 * gdb.asm/aarch64.inc: New file.
1496
bfca584f
PMR
14972015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1498
1499 * gdb.ada/array_of_variable_length.exp: New testcase.
1500 * gdb.ada/array_of_variable_length/foo.adb: New file.
1501 * gdb.ada/array_of_variable_length/pck.adb: New file.
1502 * gdb.ada/array_of_variable_length/pck.ads: New file.
1503
b326e587
DE
15042015-09-15 Doug Evans <dje@google.com>
1505
1506 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1507 of function static local variable.
1508
5382cfab
PW
15092015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1510
1511 * gdb.threads/tls-so_extern.exp: New test file.
1512 * gdb.threads/tls-so_extern.c: New test file.
1513 * gdb.threads/tls-so_extern_main.c: New test file.
1514
141c5cc4
JK
15152015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1516
1517 * gdb.opt/solib-intra-step-lib.c: New file.
1518 * gdb.opt/solib-intra-step-main.c: New file.
1519 * gdb.opt/solib-intra-step.exp: New file.
1520
d15dcecd
PA
15212015-09-15 Pedro Alves <palves@redhat.com>
1522
1523 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1524 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1525
4c2f2a79
PA
15262015-09-14 Pedro Alves <palves@redhat.com>
1527
1528 * gdb.base/hook-stop-continue.c: Delete.
1529 * gdb.base/hook-stop-continue.exp: Delete.
1530 * gdb.base/hook-stop-frame.c: Delete.
1531 * gdb.base/hook-stop-frame.exp: Delete.
1532 * gdb.base/hook-stop.c: New file.
1533 * gdb.base/hook-stop.exp: New file.
1534
919e6dbe
PMR
15352015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1536
1537 * gdb.ada/access_to_packed_array.exp: New testcase.
1538 * gdb.ada/access_to_packed_array/foo.adb: New file.
1539 * gdb.ada/access_to_packed_array/pack.adb: New file.
1540 * gdb.ada/access_to_packed_array/pack.ads: New file.
1541
157280a4
MM
15422015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1543
1544 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1545 buffer size test.
1546
2fd33e94
DB
15472015-09-11 Don Breazeal <donb@codesourcery.com>
1548
1549 * gdb.base/foll-exec.c: Add copyright header. Fix
1550 formatting issues.
1551 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1552 (do_exec_tests): Use clean_restart in place of zap_session,
1553 and for test initialization. Fix formatting issues. Use
1554 fail in place of perror.
1555 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1556 an expect statement to match an expression with output from
1557 the program under debug.
1558 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1559 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1560 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1561 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1562 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1563
e70b6e8e
DE
15642015-09-09 Doug Evans <dje@google.com>
1565
1566 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1567
7a551a51
DE
15682015-09-09 Doug Evans <dje@google.com>
1569
1570 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1571
4c666f84
DE
15722015-09-09 Doug Evans <dje@google.com>
1573
1574 * gdb.base/savedregs.exp: Fix typo.
1575
243a9253
PA
15762015-09-09 Pedro Alves <palves@redhat.com>
1577
1578 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1579
c0fa8fbd
SL
15802015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1581
1582 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1583 command actually switches threads. Give up on remaining
1584 tests if target fails to stop at breakpoint.
1585
cd7c1778
PMR
15862015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1587
1588 * gdb.ada/funcall_char.exp: New testcase.
1589 * gdb.ada/funcall_char/foo.adb: New file.
1590
dc5c8746
PMR
15912015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1592
1593 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1594 expected outputs. Add two testcases for completing ambiguous
1595 functions.
1596 * gdb.ada/complete/aux_pck.adb: New file.
1597 * gdb.ada/complete/aux_pck.ads: New file.
1598 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1599 Ambiguous_Func functions.
1600 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1601 * gdb.ada/complete/pck.adb: Likewise.
1602
4e83a1e7
UW
16032015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1604
1605 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1606 failures to run the test program under GDB.
1607
8ce74153
LM
16082015-08-26 Luis Machado <lgustavo@codesourcery.com>
1609
1610 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1611 to C.
1612
e9756d52
PP
16132015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1614
1615 * gdb.base/run-after-attach.exp: New test file.
1616 * gdb.base/run-after-attach.c: New test file.
1617
8d37573b
DB
16182015-08-26 Don Breazeal <donb@codesourcery.com>
1619
1620 * gdb.base/foll-exec-2.c: New test program.
1621 * gdb.base/foll-exec-2.exp: New test.
1622
63e43d3a
PMR
16232015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1624
1625 * gdb.base/nested-subp1.exp: New file.
1626 * gdb.base/nested-subp1.c: New file.
1627 * gdb.base/nested-subp2.exp: New file.
1628 * gdb.base/nested-subp2.c: New file.
1629 * gdb.base/nested-subp3.exp: New file.
1630 * gdb.base/nested-subp3.c: New file.
1631
3d40fbb5
PA
16322015-08-24 Pedro Alves <palves@redhat.com>
1633
1634 * gdb.server/connect-without-multi-process.c: New file.
1635 * gdb.server/connect-without-multi-process.exp: New file.
1636
4422ac93
LM
16372015-08-24 Luis Machado <lgustavo@codesourcery.com>
1638
1639 * gdb.opt/inline-markers.c: Make z int.
1640
91dddb86
LM
16412015-08-24 Luis Machado <lgustavo@codesourcery.com>
1642
1643 * gdb.opt/inline-markers.c: Make z volatile.
1644
a48847ee
LM
16452015-08-24 Luis Machado <lgustavo@codesourcery.com>
1646
1647 * gdb.opt/inline-bt.c: New volatile global z.
1648 * gdb.opt/inline-cmds.c: Likewise.
1649 * gdb.opt/inline-locals.c: Likewise.
1650 * gdb.opt/inline-markers.c: New extern global z.
1651 (marker): Use z.
1652 (inline_fn): Likewise.
1653
0ebbc52b
PA
16542015-08-24 Pedro Alves <palves@redhat.com>
1655
1656 * config/m32r-stub.exp: Remove file.
1657 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1658 * gdb.base/call-rt-st.exp: Likewise.
1659 * gdb.base/call-strs.exp: Likewise.
1660 * gdb.base/default.exp: Remove references to h8300-*-hms and
1661 *-*-udi*.
1662 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1663
77c365df
AA
16642015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1665
1666 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1667 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1668 and "return" use KFAIL when GDB can not read/write the vector
1669 return value.
1670
4313b8c0
GB
16712015-08-21 Gary Benson <gbenson@redhat.com>
1672
1673 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1674
0e433b32
PA
16752015-08-20 Pedro Alves <palves@redhat.com>
1676
1677 * gdb.server/solib-list.exp: No longer expect an interior stop in
1678 non-stop mode.
1679
221e1a37
PA
16802015-08-20 Pedro Alves <palves@redhat.com>
1681
1682 * gdb.server/connect-stopped-target.c: New file.
1683 * gdb.server/connect-stopped-target.exp: New file.
1684
40e3ad0e
PA
16852015-08-20 Pedro Alves <palves@redhat.com>
1686
1687 * gdb.dwarf2/comp-unit-lang.exp: New file.
1688 * gdb.dwarf2/comp-unit-lang.c: New file.
1689
af39b327
PMR
16902015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1691
1692 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1693 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1694
7d45c7c3 16952015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1696
7d45c7c3
KB
1697 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1698 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1699
4d6cceb4
DE
17002015-08-18 Doug Evans <dje@google.com>
1701 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1702
1703 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1704 skip_python_tests. New arg prompt_regexp.
1705 (skip_python_tests): New function.
1706 * lib/mi-support.exp (mi_skip_python_tests): New function.
1707 * gdb.python/py-mi-objfile-gdb.py: New file.
1708 * gdb.python/py-mi-objfile.c: New file.
1709 * gdb.python/py-mi-objfile.exp: New file.
1710
ad89c2aa
KS
17112015-08-17 Keith Seitz <keiths@redhat.com>
1712
1713 * gdb.linespec/explicit.exp: Move strace test from here ...
1714 * gdb.trace/strace.exp: ... to here.
1715
e3ae3c43
PP
17162015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1717
1718 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1719 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1720
604b2636
DE
17212015-08-14 Doug Evans <xdje42@gmail.com>
1722
1723 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1724 inferior before selecting a new file.
1725
6ff0ba5f
DE
17262015-08-14 Doug Evans <xdje42@gmail.com>
1727
1728 * gdb.mi/mi-disassemble.exp: Update.
1729 * gdb.base/disasm-optim.S: New file.
1730 * gdb.base/disasm-optim.c: New file.
1731 * gdb.base/disasm-optim.h: New file.
1732 * gdb.base/disasm-optim.exp: New file.
1733
9ca98f92
KS
17342015-08-14 Keith Seitz <keiths@redhat.com>
1735
1736 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1737 "evaluated-by".
1738
52bbc560
JB
17392015-08-13 Joel Brobecker <brobecker@adacore.com>
1740
1741 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1742
5d8c3ed3
PMR
17432015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1744
1745 * gdb.ada/fun_renaming.exp: New testcase.
1746 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1747 * gdb.ada/fun_renaming/pack.adb: New file.
1748 * gdb.ada/fun_renaming/pack.ads: New file.
1749
ea8812bc
KS
17502015-08-12 Keith Seitz <keiths@redhat.com>
1751
1752 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1753 gdb_get_line_number.
1754
4dafcdeb
JB
17552015-08-12 Joel Brobecker <brobecker@adacore.com>
1756
1757 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1758 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1759 gdb.base/dso2dso.exp: New files.
1760
5ba32597
SDJ
17612015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1762 Pedro Alves <palves@redhat.com>
1763 Keith Seitz <keiths@redhat.com>
1764
1765 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1766 GDBFLAGS.
1767
b6dafabf
PP
17682015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1769
1770 * gdb.base/gdbhistsize-history.exp
1771 (test_histsize_history_setting): Use save_vars.
1772 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1773 Use save_vars.
1774 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1775 * gdb.base/readline.exp: Use save_vars.
1776
abe8e607
PP
17772015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1778
1779 * lib/gdb.exp (save_vars): New proc.
1780
629500fa
KS
17812015-08-11 Keith Seitz <keiths@redhat.com>
1782
1783 * gdb.base/help.exp: Update help_breakpoint_text.
1784
eb8c4e2e
KS
17852015-08-11 Keith Seitz <keiths@redhat.com>
1786
1787 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1788 (at toplevel): Call test_explicit_breakpoints.
1789 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1790 breakpoints.
1791 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1792 breakpoint conditions, "-cond".
1793
87f0e720
KS
17942015-08-11 Keith Seitz <keiths@redhat.com>
1795
1796 * gdb.linespec/3explicit.c: New file.
1797 * gdb.linespec/cpexplicit.cc: New file.
1798 * gdb.linespec/cpexplicit.exp: New file.
1799 * gdb.linespec/explicit.c: New file.
1800 * gdb.linespec/explicit.exp: New file.
1801 * gdb.linespec/explicit2.c: New file.
1802 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1803 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1804 before using in the matching pattern.
1805 Clarify that `prefix' is a regular expression.
1806
f00aae0f
KS
18072015-08-11 Keith Seitz <keiths@redhat.com>
1808
1809 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1810 test.
1811 Add tests for missing ",FMT" and ",".
1812
e27852be
DE
18132015-08-10 Doug Evans <dje@google.com>
1814 Keith Seitz <keiths@redhat.com>
1815
1816 PR gdb/17960
1817 * gdb.base/completion.exp: Add location completer tests.
1818
7f03bd92
PA
18192015-08-07 Pedro Alves <palves@redhat.com>
1820
1821 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1822 tests here.
1823 (top level): Run do_test with and without displaced stepping.
1824
3fc8eb30
PA
18252015-08-07 Pedro Alves <palves@redhat.com>
1826
1827 * gdb.base/valgrind-disp-step.c: New file.
1828 * gdb.base/valgrind-disp-step.exp: New file.
1829
d4569d7b
PA
18302015-08-07 Pedro Alves <palves@redhat.com>
1831
1832 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1833 Delete function.
1834 (main): Add alarm. Run an infinite loop instead of calling
1835 wait_threads.
1836 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1837 comment.
1838 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1839 Delete function.
1840 (main): Add alarm. Run an infinite loop instead of calling
1841 wait_threads.
1842 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1843 comment.
1844
e1316e60
PA
18452015-08-07 Pedro Alves <palves@redhat.com>
1846
1847 * gdb.base/checkpoint-ns.exp: New file.
1848 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1849 standard_testfile.
1850
da8c46d2
MM
18512015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1852
1853 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1854 * gdb.btrace/instruction_history.exp: Update.
1855 * gdb.btrace/tsx.exp: New.
1856 * gdb.btrace/tsx.c: New.
1857
de1c2c52
PA
18582015-08-06 Pedro Alves <palves@redhat.com>
1859
1860 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1861 increase timeout.
1862 * gdb.reverse/until-precsave.exp: Bump timeouts.
1863
782e0bf4
PA
18642015-08-06 Pedro Alves <palves@redhat.com>
1865
1866 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1867
83e97ed0
PA
18682015-08-06 Pedro Alves <palves@redhat.com>
1869
1870 PR gdb/18749
1871 * gdb.threads/process-dies-while-handling-bp.c: New file.
1872 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1873
863d01bd
PA
18742015-08-06 Pedro Alves <palves@redhat.com>
1875
1876 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1877 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1878
0a39bb32
PA
18792015-08-05 Pedro Alves <palves@redhat.com>
1880
1881 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1882 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1883
ee2d2b10
SL
18842015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1885
1886 * gdb.base/bp-permanent.exp: Report test as unsupported if
1887 the target cannot stop at the permanent breakpoint.
1888
4e1bdb00
DE
18892015-08-03 Doug Evans <dje@google.com>
1890
1891 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1892 10000.
1893
3d338901
DE
18942015-08-03 Doug Evans <dje@google.com>
1895
1896 * Makefile.in (workers/%.worker, build-perf): New rule.
1897 (GDB_PERFTEST_MODE): New variable.
1898 (check-perf): Use it.
1899 (clean): Clean up gdb.perf parallel build subdirs.
1900 * lib/build-piece.exp: New file.
1901 * lib/gdb.exp (make_gdb_parallel_path): New function
1902 (standard_output_file, standard_temp_file): Call it.
1903 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1904 of $GDB_PARALLEL.
1905 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1906
af061d3e
DE
19072015-08-03 Doug Evans <dje@google.com>
1908
8e1afc81 1909 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1910 (LOG_FILE_NAME): New global.
1911 (TextReporter.__init__): Initialize self.txt_sum.
1912 (TextReporter.report): Add support for multiple data-points.
1913 Move report to perftest.sum, put raw data in perftest.log.
1914 (TextReporter.start): Open sum and log files.
1915 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1916 * gdb.perf/lib/perftest/testresult.py
1917 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1918
2c8c5d37
PA
19192015-07-31 Pedro Alves <palves@redhat.com>
1920
1921 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1922 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1923 kill_wait_spawned_process instead of explicit "kill -9".
1924 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1925 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1926 kill_wait_spawned_process.
1927 * gdb.base/attach-twice.exp: Likewise.
1928 * gdb.base/attach.exp: Likewise.
1929 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1930 gdb_test_multiple.
1931 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1932 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1933 kill_wait_spawned_process.
1934 * gdb.base/valgrind-infcall.exp: Likewise.
1935 * gdb.multi/multi-attach.exp: Likewise.
1936 * gdb.python/py-prompt.exp: Likewise.
1937 * gdb.python/py-sync-interp.exp: Likewise.
1938 * gdb.server/ext-attach.exp: Likewise.
1939 * gdb.threads/attach-into-signal.exp (corefunc): Use
1940 spawn_wait_for_attach, spawn_id_get_pid and
1941 kill_wait_spawned_process.
1942 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1943 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1944 spawn_id_get_pid and kill_wait_spawned_process.
1945 * gdb.threads/attach-stopped.exp (corefunc): Use
1946 spawn_wait_for_attach, spawn_id_get_pid and
1947 kill_wait_spawned_process.
1948 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1949 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1950 kill_wait_spawned_process instead of explicit "kill -9".
1951 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1952 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1953 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1954 processes. Don't map cygwin/windows pids here. Now returns a
1955 spawn id list.
1956
032a0fca
SL
19572015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1958
1959 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1960 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1961 correct patch.
1962
61a934ca
SL
19632015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1964
1965 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1966
4bc4d428
SL
19672015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1968
1969 Reapply:
1970 2014-05-21 Mark Wielaard <mjw@redhat.com>
1971
1972 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1973
998d452a
PA
19742015-07-30 Pedro Alves <palves@redhat.com>
1975
1976 * linux-low.c (handle_extended_wait): Set the child's last
1977 reported status to TARGET_WAITKIND_STOPPED.
1978
69dde7dc
PA
19792015-07-30 Pedro Alves <palves@redhat.com>
1980
1981 PR threads/18600
1982 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1983 only shows inferior 1.
1984
4dd63d48
PA
19852015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1986 Pedro Alves <palves@redhat.com>
1987
1988 PR threads/18600
1989 * gdb.threads/fork-plus-threads.c: New file.
1990 * gdb.threads/fork-plus-threads.exp: New file.
1991
d618e4c5
PP
19922015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1993
1994 * gdb.base/batch-preserve-term-settings.exp
1995 (test_terminal_settings_preserved_after_cli_exit): Use
1996 send_quit_command.
1997
1eef6428
PA
19982015-07-29 Pedro Alves <palves@redhat.com>
1999 Don Breazeal <donb@codesourcery.com>
2000
2001 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2002 output from both inferior_spawn_id and gdb_spawn_id.
2003
7da5b897
SDJ
20042015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2005
2006 * gdb.threads/attach-into-signal.exp (corefunc): Use
2007 with_test_prefix on nested loops, uniquefying the test messages.
2008
dac804df
SDJ
20092015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2010
2011 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2012 commit.
2013
06265e53
PP
20142015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2015
2016 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2017 New proc.
2018 (test_terminal_settings_preserved_after_sigterm): New test.
2019
18206ca3
PP
20202015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2021
2022 * gdb.base/batch-preserve-term-settings.exp
2023 (test_terminal_settings_preserved_after_cli_exit): New test.
2024
90074d11
PP
20252015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2026
2027 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2028 manipulation of saved_gdbflags.
2029 (test_terminal_settings_preserved): Remove global declaration of
2030 the unused variable pagination_prompt. Remove manipulation of
2031 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2032 GDBFLAGS.
2033
eb1a7902
PA
20342015-07-29 Pedro Alves <palves@redhat.com>
2035
2036 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2037
8b75dd3b
PA
20382015-07-29 Pedro Alves <palves@redhat.com>
2039
2040 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2041 at the top.
2042
dedad4e3
PA
20432015-07-29 Pedro Alves <palves@redhat.com>
2044
2045 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2046 (main): Call gdb_unbuffer_output.
2047 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2048 (main): Call gdb_unbuffer_output.
2049 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2050 (main): Call gdb_unbuffer_output.
2051 * gdb.base/call-strs.exp: Adjust to step over the
2052 gdb_unbuffer_output call.
2053 * gdb.base/catch-gdb-caused-signals.c: Include
2054 "../lib/unbuffer_output.c".
2055 (main): Call gdb_unbuffer_output.
2056 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2057 (main): Call gdb_unbuffer_output.
2058 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2059 (main): Call gdb_unbuffer_output.
2060 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2061 (main): Call gdb_unbuffer_output.
2062 * gdb.base/shlib-call.exp: Adjust to step over the
2063 gdb_unbuffer_output call.
2064 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2065 (main): Call gdb_unbuffer_output.
2066 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2067 (main): Call gdb_unbuffer_output.
2068 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2069 (main): Rename to ...
2070 (test): ... this.
2071 (main): Reimplement.
2072 * gdb.base/varargs.exp: Run to test instead of to main.
2073 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2074 (main): Call gdb_unbuffer_output.
2075
58789a91
PA
20762015-07-29 Pedro Alves <palves@redhat.com>
2077
2078 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2079 factore out from mi_continue_dprintf. For call-style dprintfs,
2080 expect dprintf output out of $inferior_spawn_id.
2081 (mi_continue_dprintf): Use mi_expect_dprintf.
2082 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2083 (main): Call gdb_unbuffer_output.
2084
e8376742
PA
20852015-07-29 Pedro Alves <palves@redhat.com>
2086
2087 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2088 (default_mi_gdb_start): Set inferior_spawn_id instead of
2089 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2090 gdb_spawn_id.
2091 (mi_gdb_test): Always expect inferior output from both
2092 $inferior_spawn_id and $gdb_spawn_id.
2093
08280010
PA
20942015-07-29 Pedro Alves <palves@redhat.com>
2095
2096 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2097 send_inferior and $inferior_spawn_id.
2098
4d30e432
PA
20992015-07-29 Pedro Alves <palves@redhat.com>
2100
2101 * gdb.gdb/complaints.exp (test_initial_complaints)
2102 (test_serial_complaints, test_short_complaints): Use
2103 gdb_test_stdio.
2104 (test_empty_complaint): Handle $inferior_spawn_id !=
2105 $gdb_spawn_id.
2106
0d30a335
PA
21072015-07-29 Pedro Alves <palves@redhat.com>
2108
2109 * gdb.base/varargs.exp: Use gdb_test_stdio.
2110
39413b29
PA
21112015-07-29 Pedro Alves <palves@redhat.com>
2112
2113 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2114
7cb000a9
PA
21152015-07-29 Pedro Alves <palves@redhat.com>
2116
2117 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2118
d7b8ac82
PA
21192015-07-29 Pedro Alves <palves@redhat.com>
2120
2121 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2122 parameter into two new parameters, "inf_result" and "gdb_result".
2123 Expect inferior output and gdb output from $inferior_spawn_id and
2124 $gdb_spawn_id, respectively. Adjust all callers.
2125
789c3a0c
PA
21262015-07-29 Pedro Alves <palves@redhat.com>
2127
2128 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2129 of gdb_test_sequence.
2130
77e760c3
PA
21312015-07-29 Pedro Alves <palves@redhat.com>
2132
2133 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2134 (saw_spurious_output): Expect inferior output from
2135 $inferior_spawn_id. Use gdb_test_stdio.
2136
8396d2cd
PA
21372015-07-29 Pedro Alves <palves@redhat.com>
2138
2139 * gdb.base/dprintf.exp: Use standard_testfile. Change
2140 prepare_for_testing call.
2141 (srcfile): Don't set.
2142 (restart): New procedure.
2143 (test_dprintf): New procecure, use to continue over dprintfs.
2144 (test_call, test_agent): New procedures, tests moved here.
2145 Restart gdb and recreate dprintfs. Adjust expected output.
2146
2051d61f
PA
21472015-07-29 Pedro Alves <palves@redhat.com>
2148
2149 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2150
452397af
PA
21512015-07-29 Pedro Alves <palves@redhat.com>
2152
2153 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2154
8aed9555
PA
21552015-07-29 Pedro Alves <palves@redhat.com>
2156
2157 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2158 gdb_test_stdio.
2159
188a61b4
PA
21602015-07-29 Pedro Alves <palves@redhat.com>
2161
2162 * lib/gdb.exp (gdb_test_stdio): New procedure.
2163
12264a45
PA
21642015-07-29 Pedro Alves <palves@redhat.com>
2165
2166 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2167
23ffc893
PA
21682015-07-29 Pedro Alves <palves@redhat.com>
2169
2170 * gdb.base/call-signal-resume.exp: Remove check for
2171 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2172 * gdb.base/unwindonsignal.exp: Likewise.
2173 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2174 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2175
65566918
PA
21762015-07-29 Pedro Alves <palves@redhat.com>
2177
2178 * gdb.base/siginfo-addr.c (pass): New function.
2179 (handler): Call it iff si_addr is correct.
2180 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2181 Set a breakpoint at "pass" and continue to it.
2182
d60a9221
SDJ
21832015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2184
2185 * gdb.python/py-objfile.exp: Make some tests have unique names.
2186 * gdb.python/py-pp-registration.exp: Likewise.
2187
bde40b8f
PA
21882015-07-28 Pedro Alves <palves@redhat.com>
2189
2190 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2191
13e1dec8
SM
21922015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2193
2194 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2195
da33c9a7
SM
21962015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2197
2198 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2199
077836f7
PP
22002015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2201
2202 * gdb.base/gdb-sigterm-2.exp: New test.
2203
b8cc7b2e
DE
22042015-07-25 Doug Evans <xdje42@gmail.com>
2205
2206 Revert:
2207 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2208 (workers/%.worker, build-perf): New rule.
2209 (GDB_PERFTEST_MODE): New variable.
2210 (check-perf): Use it.
2211 (clean): Clean up gdb.perf parallel build subdirs.
2212 * lib/build-piece.exp: New file.
2213 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2214 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2215 name.
2216 (standard_temp_file): Ditto.
2217 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2218 of $GDB_PARALLEL.
2219
c8bd4544
DE
22202015-07-24 Doug Evans <dje@google.com>
2221
2222 * gdb.perf/lib/perftest/utils.py: New file.
2223 * gdb.perf/gm-hello.cc: New file.
2224 * gdb.perf/gm-pervasive-typedef.cc: New file.
2225 * gdb.perf/gm-pervasive-typedef.h: New file.
2226 * gdb.perf/gm-std.cc: New file.
2227 * gdb.perf/gm-std.h: New file.
2228 * gdb.perf/gm-use-cerr.cc: New file.
2229 * gdb.perf/gm-utils.h: New file.
2230 * gdb.perf/gmonster-null-lookup.py: New file.
2231 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2232 * gdb.perf/gmonster-print-cerr.py: New file.
2233 * gdb.perf/gmonster-ptype-string.py: New file.
2234 * gdb.perf/gmonster-runto-main.py: New file.
2235 * gdb.perf/gmonster-select-file.py: New file.
2236 * gdb.perf/gmonster1-null-lookup.exp: New file.
2237 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2238 * gdb.perf/gmonster1-print-cerr.exp: New file.
2239 * gdb.perf/gmonster1-ptype-string.exp: New file.
2240 * gdb.perf/gmonster1-runto-main.exp: New file.
2241 * gdb.perf/gmonster1-select-file.exp: New file.
2242 * gdb.perf/gmonster1.cc: New file.
2243 * gdb.perf/gmonster1.exp: New file.
2244 * gdb.perf/gmonster2-null-lookup.exp: New file.
2245 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2246 * gdb.perf/gmonster2-print-cerr.exp: New file.
2247 * gdb.perf/gmonster2-ptype-string.exp: New file.
2248 * gdb.perf/gmonster2-runto-main.exp: New file.
2249 * gdb.perf/gmonster2-select-file.exp: New file.
2250 * gdb.perf/gmonster2.cc: New file.
2251 * gdb.perf/gmonster2.exp: New file.
2252
6eab34f3
DE
22532015-07-24 Doug Evans <dje@google.com>
2254
2255 * gdb.perf/README: New file.
2256 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2257 * lib/gen-perf-test.exp: New file.
2258
63738bfd
DE
22592015-07-24 Doug Evans <dje@google.com>
2260
2261 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2262 (PerfTest::startup): New function.
2263 (PerfTest::run): Return result of calling body.
2264 (PerfTest::assemble): Rewrite.
2265 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2266 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2267 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2268 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2269 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2270
7b606f95
DE
22712015-07-24 Doug Evans <dje@google.com>
2272
2273 * lib/gdb.exp (clean_restart): Make executable optional.
2274
a97b16b8
DE
22752015-07-24 Doug Evans <dje@google.com>
2276
2277 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2278 compiler_info references.
2279 * gdb.cp/temargs.exp: Ditto.
2280 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2281 (get_compiler_info): Early exit if already computed. Set compiler_info
2282 to "unknown" if there was a problem.
2283 (test_compiler_info): Add function comment. Call get_compiler_info.
2284
35baa57f
DE
22852015-07-24 Doug Evans <dje@google.com>
2286
2287 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2288 (workers/%.worker, build-perf): New rule.
2289 (GDB_PERFTEST_MODE): New variable.
2290 (check-perf): Use it.
2291 (clean): Clean up gdb.perf parallel build subdirs.
2292 * lib/build-piece.exp: New file.
2293 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2294 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2295 name.
2296 (standard_temp_file): Ditto.
2297 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2298 of $GDB_PARALLEL.
2299
6ebea266
DE
23002015-07-24 Doug Evans <dje@google.com>
2301
2302 * lib/future.exp (gdb_default_target_compile): New option
2303 "early_flags".
2304 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2305 --as-needed.
2306
1e76a7e9
SDJ
23072015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2308
2309 * gdb.base/catch-syscall.exp: Call gdb_exit before
2310 gdb_skip_xml_test.
2311
5068630a
PA
23122015-07-24 Pedro Alves <palves@redhat.com>
2313
2314 * gdb.python/py-events.exp: Accept output between the stop event
2315 and the prompt.
2316 * gdb.python/py-evsignal.exp: Likewise.
2317 * gdb.python/py-evthreads.exp: Likewise.
2318
77598427
PA
23192015-07-24 Pedro Alves <palves@redhat.com>
2320
2321 PR gdb/18717
2322 * gdb.threads/non-ldr-exit.c: New file.
2323 * gdb.threads/non-ldr-exit.exp: New file.
2324
11e6c98f
YQ
23252015-07-24 Yao Qi <yao.qi@linaro.org>
2326
2327 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2328 restarting process.
2329
51aee833
YQ
23302015-07-24 Yao Qi <yao.qi@linaro.org>
2331
2332 * gdb.server/ext-restart.exp: New file.
2333
8cfe207c
YQ
23342015-07-24 Yao Qi <yao.qi@linaro.org>
2335
2336 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2337 argument options.
2338 * gdb.server/ext-wrapper.exp: New file.
2339
cc12ce38
DE
23402015-07-23 Doug Evans <dje@google.com>
2341
2342 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2343 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2344
d0d84780
PMR
23452015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2346
2347 * gdb.ada/var_arr_typedef.exp: New testcase.
2348 * gdb.ada/var_arr_typedef/pack.adb: New file.
2349 * gdb.ada/var_arr_typedef/pack.ads: New file.
2350 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2351
8b558f79
JB
23522015-07-20 Joel Brobecker <brobecker@adacore.com>
2353
2354 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2355
775a3298
JK
23562015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2357
2358 * gdb.arch/i386-biarch-core.exp: Replace istarget
2359 by "complete set gnutarget". Remove expectation for the "core-file"
2360 command.
2361
db1ff28b
JK
23622015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2363
2364 Revert the previous commit:
2365 Tests for validate symbol file using build-id.
2366
0a94970d
JK
23672015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2368
2369 Tests for validate symbol file using build-id.
2370 * gdb.base/solib-mismatch-lib.c: New file.
2371 * gdb.base/solib-mismatch-libmod.c: New file.
2372 * gdb.base/solib-mismatch.c: New file.
2373 * gdb.base/solib-mismatch.exp: New file.
2374
03346981
SL
23752015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2376
2377 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2378 nios2-*-linux*.
2379 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2380 * gdb.base/siginfo.exp: Likewise.
2381 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2382
42422cc7
PL
23832015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2384
2385 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2386 Move it to ...
2387 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2388 ... here.
2389 * gdb.trace/range-stepping.exp: Check that the target supports
2390 range stepping.
2391
cfa68bae
JK
23922015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2393
2394 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2395
8ffdba26
PA
23962015-07-14 Pedro Alves <palves@redhat.com>
2397
2398 * gdb.base/killed-outside.exp: New file.
2399 * gdb.base/killed-outside.c: New file.
2400
218a5a11
JK
24012015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2402
2403 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2404 (n at main): New.
2405 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2406
e03ed3c6
AA
24072015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2408
2409 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2410 infcall tests instead of setting up for KFAIL.
2411
485668e5
MM
24122015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2413
2414 * gdb.btrace/record_goto-step.exp: New.
2415
08464196
JK
24162015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2417
2418 PR compile/18484
2419 * gdb.compile/compile.c (struct struct_type): Add volatile to
2420 selffield's type.
2421 * gdb.compile/compile.exp
2422 (compile code struct_object.selffield = &struct_object): Skip further
2423 struct_object tests if this one xfails.
2424
bcf5c1d9
RC
24252015-07-08 Robert O'Callahan <robert@ocallahan.org>
2426
2427 PR exp/18617
2428 * gdb.trace/ax.exp: Add test.
2429
4931af25
YQ
24302015-07-07 Yao Qi <yao.qi@linaro.org>
2431
2432 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2433 instead of istarget "aarch64*-*-*".
2434 * gdb.arch/aarch64-fp.exp: Likewise.
2435 * gdb.base/float.exp: Likewise.
2436 * gdb.reverse/aarch64.exp: Likewise.
2437 * lib/gdb.exp (is_aarch64_target): New proc.
2438
9fcf688e
YQ
24392015-07-07 Yao Qi <yao.qi@linaro.org>
2440
2441 * lib/gdb.exp (is_aarch32_target): New proc.
2442 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2443 instead of "istarget "arm*-*-*"".
2444 * gdb.arch/arm-disp-step.exp: Likewise.
2445 * gdb.arch/thumb-bx-pc.exp: Likewise.
2446 * gdb.arch/thumb-prologue.exp: Likewise.
2447 * gdb.arch/thumb-singlestep.exp: Likewise.
2448 * gdb.base/disp-step-syscall.exp: Likewise.
2449 * gdb.base/float.exp: Likewise.
2450
fbd8d50d
YQ
24512015-07-07 Yao Qi <yao.qi@linaro.org>
2452
2453 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2454 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2455
71be1fdc
YQ
24562015-07-07 Yao Qi <yao.qi@linaro.org>
2457
2458 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2459 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2460 if it exists.
2461 * gdb.multi/multi-arch.exp: Likewise.
2462
3e221d36
SM
24632015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2464
2465 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2466 print.
2467
d441430b
YQ
24682015-07-07 Yao Qi <yao.qi@linaro.org>
2469
2470 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2471
06f810bd
MG
24722015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2473
2474 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2475 '[' and ']' characters.
2476
5e61e7c0
IB
24772015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2478
2479 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2480
28bf096c
PA
24812015-06-29 Pedro Alves <palves@redhat.com>
2482
2483 PR threads/18127
2484 * gdb.threads/hand-call-new-thread.c: New file.
2485 * gdb.threads/hand-call-new-thread.c: New file.
2486
ee93cd5e
KS
24872015-06-26 Keith Seitz <keiths@redhat.com>
2488 Doug Evans <dje@google.com>
2489
2490 PR 16253
2491 * gdb.cp/var-tag-2.cc: New file.
2492 * gdb.cp/var-tag-3.cc: New file.
2493 * gdb.cp/var-tag-4.cc: New file.
2494 * gdb.cp/var-tag.cc: New file.
2495 * gdb.cp/var-tag.exp: New file.
2496
fc637f04
PP
24972015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2498
2499 * gdb.base/history-duplicates.exp: New test.
2500
2e52ae68
PP
25012015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2502
2503 * gdb.base/completion.exp: Test the completion of the "focus"
2504 command.
2505
6e22494e
JK
25062015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2507
2508 * gdb.arch/amd64-prologue-skip.S: New file.
2509 * gdb.arch/amd64-prologue-skip.exp: New file.
2510
bf7b9cd9
SM
25112015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2512
2513 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2514 is_address_zero_readable check.
2515
201e8dfd
PB
25162015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2517
2518 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2519 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2520
5cd867b4
YQ
25212015-06-24 Yao Qi <yao.qi@linaro.org>
2522
2523 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2524 linux targets.
2525
4d7be007
YQ
25262015-06-24 Yao Qi <yao.qi@linaro.org>
2527
2528 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2529 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2530 * gdb.base/siginfo-thread.exp: Likewise.
2531
07fcd301
YQ
25322015-06-22 Yao Qi <yao.qi@linaro.org>
2533
2534 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2535
52042a00
YQ
25362015-06-22 Yao Qi <yao.qi@linaro.org>
2537
2538 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2539 aarch64*-*-*.
2540 (skip_hw_watchpoint_tests): Likewise.
2541
74bd41ce
PP
25422015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2543
2544 * gdb.base/gdbinit-history.exp: Test the interaction between
2545 setting GDBHISTSIZE and setting the history size via .gdbinit.
2546
bc460514
PP
25472015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2548
2549 PR gdb/16999
2550 * gdb.base/gdbhistsize-history.exp: New test.
2551
b58c513b
PP
25522015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2553
2554 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2555 with GDBHISTSIZE.
2556 * gdb.base/readline.exp: Likewise.
2557
92046791
YQ
25582015-06-17 Yao Qi <yao.qi@linaro.org>
2559
2560 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2561 line.
2562
2093d2d3
PP
25632015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2564
2565 * gdb.base/gdbinit-history.exp: Add test case to check that
2566 an unlimited history file does not get truncated on exit.
2567
e6c693af
AA
25682015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2569
2570 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2571 (VECTOR): New macro. Use it...
2572 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2573 ...for these typedefs.
2574 (int8, char1, int1, double1): New typedefs.
2575 (struct just_int2, struct two_int2): New structures.
2576 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2577 (add_structvecs, add_singlevecs): New functions.
2578 (main): Call add_some_intvecs twice.
2579 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2580 the compile and exit upon failure. Try compiling for the "native"
2581 architecture. Test inferior function calls with vector arguments
2582 and vector return value handling with "finish" and "return".
2583
c74f7d1c
JT
25842015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2585
2586 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2587 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2588 PE file.
2589 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2590
98aa42ee
AT
25912015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2592
2593 PR breakpoints/16465
2594 * gdb.mi/mi-dprintf-pending.c: New file.
2595 * gdb.mi/mi-dprintf-pending.exp: New test.
2596 * gdb.mi/mi-dprintf-pendshr.c: New file.
2597
7d73c23c 25982015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2599 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2600
2601 * gdb.arch/i386-mpx-map.c: New file.
2602 * gdb.arch/i386-mpx-map.exp: New File.
2603
26042015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2605
2606 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2607 * gdb.arch/i386-mpx.exp: Indentation fixed.
2608
26092015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2610
2611 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2612 function and improved indentation.
2613 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2614 gdb_test_multiple. Added additional tests to skip the test.
2615
26162015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2617
2618 * gdb.arch/i386-avx512.c: Change path in include file.
2619 * gdb.arch/i386-avx512.exp: Change include dir path
2620 compilation flag.
2621 * gdb.arch/i386-mpx.c: Change path in include file.
2622 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2623 flag.
2624
d5eba19a
JK
26252015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2626
2627 * gdb.compile/compile-print.exp (compile print *vararray@3)
2628 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2629
7f361056
JK
26302015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2631
2632 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2633 (do not keep jit in memory): ... this.
2634 (expect 5): Change it to ...
2635 (expect no 5): ... this.
2636
3b462ec2
SM
26372015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2638
2639 PR gdb/15564
2640 * gdb.mi/mi-detach.exp: New file.
2641
e0619de6
JK
26422015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2643
2644 PR symtab/18392
2645 * gdb.arch/amd64-tailcall-self.S: New file.
2646 * gdb.arch/amd64-tailcall-self.c: New file.
2647 * gdb.arch/amd64-tailcall-self.exp: New file.
2648
e970cb34
DB
26492015-05-28 Don Breazeal <donb@codesourcery.com>
2650
2651 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2652 tests for remote targets by checking is_target_gdbserver.
2653
b2e2f908
DE
26542015-05-27 Doug Evans <dje@google.com>
2655
2656 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2657 * gdb.dwarf2/opaque-type-lookup.c: New file.
2658 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2659
82c7be31
DE
26602015-05-26 Doug Evans <dje@google.com>
2661
2662 * gdb.cp/iostream.cc: New file.
2663 * gdb.cp/iostream.exp: New file.
2664
b4f54984
DE
26652015-05-26 Doug Evans <dje@google.com>
2666
2667 * gdb.dwarf2/dw2-op-call.exp: Update.
2668 * gdb.dwarf2/dw4-sig-types.exp: Update.
2669 * gdb.dwarf2/implptr.exp: Update.
2670 * gdb.mi/mi-cmd-param-changed.exp: Update.
2671
4ea6efe9
DE
26722015-05-26 Doug Evans <dje@google.com>
2673
2674 * gdb.python/py-lazy-string.c: New file.
2675 * gdb.python/py-lazy-string.exp: New file.
2676 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2677 (main): Update. Add estring3.
2678 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2679 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2680
f6bb7db3
YQ
26812015-05-26 Omair Javaid <omair.javaid@linaro.org>
2682 Yao Qi <yao.qi@linaro.org>
2683
2684 * gdb.reverse/aarch64.c: New.
2685 * gdb.reverse/aarch64.exp: New.
2686
a81bfbd0
OJ
26872015-05-26 Omair Javaid <omair.javaid@linaro.org>
2688
2689 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2690 (supports_reverse): Likewise.
2691
158bf1b4
PP
26922015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2693
2694 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2695 Use with_test_prefix.
2696
a0145030
AB
26972015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2698
2699 * gdb.base/completion.exp: Add test for completion of layout
2700 names.
2701
ebe3b578
AB
27022015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2703
2704 * lib/gdb.exp (skip_tui_tests): New proc.
2705 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2706
84204ed7
PA
27072015-05-19 Pedro Alves <palves@redhat.com>
2708
2709 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2710 Save the whole env array instead of just HOME. Unset HISTSIZE in
2711 the environment while testing. Restore whole environment
2712 afterwards.
2713
37442ce1
DE
27142015-05-16 Doug Evans <xdje42@gmail.com>
2715
2716 * gdb.guile/scm-ports.c: New file.
2717 * gdb.guile/scm-ports.exp: Add memory port tests.
2718
36de76f9
JK
27192015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2720
2721 * gdb.compile/compile-print.c: New file.
2722 * gdb.compile/compile-print.exp: New file.
2723
3a9558c4
JK
27242015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2725
2726 * gdb.compile/compile-ops.exp: Cast param to void.
2727 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2728 (compile code struct_object.selffield = &struct_object): Add xfail.
2729
aa715135
JG
27302015-05-15 Joel Brobecker <brobecker@adacore.com>
2731
2732 * gdb.ada/arr_enum_with_gap: New testcase.
2733
931e5bc3
JG
27342015-05-15 Joel Brobecker <brobecker@adacore.com>
2735
2736 * gdb.ada/byte_packed_arr: New testcase.
2737
9cd4d857
JB
27382015-05-15 Joel Brobecker <brobecker@adacore.com>
2739
2740 * gdb.ada/pckd_neg: New testcase.
2741
ebfd00d2
PP
27422015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2743
2744 PR gdb/17820
2745 * gdb.base/gdbinit-history.exp: New test.
2746 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2747 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2748
4c082a81
SC
27492015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2750
2751 * gdb.python/py-xmethods.cc: Enhance test case.
2752 * gdb.python/py-xmethods.exp: New tests.
2753 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2754 function.
2755 (B_indexoper): Likewise.
2756 (global_dm_list) : Add new xmethod worker functions.
2757
f7797074
SDJ
27582015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2759
2760 * gdb.base/coredump-filter.exp: Correctly unset
2761 "coredump_var_addr" array.
2762
a4674e4e
PA
27632015-05-08 Pedro Alves <palves@redhat.com>
2764
2765 * gdb.server/non-existing-program.exp: Unset spawn_id.
2766
df2eb078
SC
27672015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2768
2769 PR python/18291
2770 * gdb.python/py-xmethods.exp: Add tests.
2771
422349a3
YQ
27722015-05-08 Yao Qi <yao.qi@linaro.org>
2773
2774 PR gdb/18208
2775 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2776 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2777 function set_coredump_filter, and remove remote_exec call.
2778 Remove argument ipid. Callers update.
2779 (top level): Don't get inferior's PID.
2780
63fc80ce
AA
27812015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2782
2783 * gdb.base/watch_thread_num.exp: Skip test on targets without
2784 access watchpoints.
2785
80ad801e
PA
27862015-05-06 Pedro Alves <palves@redhat.com>
2787
2788 PR server/18081
2789 * gdb.server/non-existing-program.exp: New file.
2790
0fa7fe50
JB
27912015-05-05 Joel Brobecker <brobecker@adacore.com>
2792
2793 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2794
3ea89b92
PMR
27952015-05-05 Joel Brobecker <brobecker@adacore.com>
2796
2797 * gdb.ada/out_of_line_in_inlined: New testcase.
2798
87b8eff0
JB
27992015-05-05 Joel Brobecker <brobecker@adacore.com>
2800
2801 * gdb.ada/var_rec_arr: New testcase.
2802
5fccc635
YQ
28032015-04-30 Yao Qi <yao.qi@linaro.org>
2804
2805 * gdb.base/break-idempotent.exp: If
2806 skip_hw_watchpoint_multi_tests returns true, skip the tests
2807 on "rwatch" and "awatch".
2808
42d38f42
YQ
28092015-04-30 Yao Qi <yao.qi@linaro.org>
2810
2811 * gdb.base/relativedebug.exp: Invoke gdb command
2812 "info sharedlibrary", and if libc.so doesn't have debug info,
2813 skip the test.
2814
2ce1cdbf
DE
28152015-04-29 Doug Evans <dje@google.com>
2816
2817 * gdb.python/py-xmethods.exp: Add ptype tests.
2818 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2819 get_result_type method.
2820
f24a38c5
LM
28212015-04-29 Luis Machado <lgustavo@codesourcery.com>
2822
2823 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2824 the target does not support hardware watchpoints.
2825
ecbf2b3c
LM
28262015-04-29 Luis Machado <lgustavo@codesourcery.com>
2827
2828 * gdb.base/break-always.exp: Abort testing if writing to memory
2829 causes an error.
2830
34f5f757
DE
28312015-04-28 Doug Evans <dje@google.com>
2832
2833 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2834 * gdb.python/py-pp-registration.exp: ... here. New file.
2835 * gdb.python/py-pp-registration.c: New file.
2836 * gdb.python/py-pp-registration.py: New file.
2837
69b4374a
DE
28382015-04-28 Doug Evans <dje@google.com>
2839
2840 * gdb.python/py-bad-printers.c: New file.
2841 * gdb.python/py-bad-printers.py: New file.
2842 * gdb.python/py-bad-printers.exp: New file.
2843
59fb7612
SS
28442015-04-28 Sasha Smundak <asmundak@google.com>
2845
2846 * gdb.python/py-type.exp: New test.
2847
2631b16a
AW
28482015-04-28 Andy Wingo <wingo@igalia.com>
2849
2850 * gdb.python/py-parameter.exp:
2851 * gdb.guile/scm-parameter.exp: Escape the path that we are
2852 matching against, as it might contain characters that are special
2853 to regular expressions.
2854
460efde1
JB
28552015-04-27 Joel Brobecker <brobecker@adacore.com>
2856
2857 * gdb.ada/rec_comp: New testcase.
2858
2d369d8e
SDJ
28592015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2860
2861 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2862 before using it.
2863
cf75d6c3
AB
28642015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2865
2866 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2867 new tests for verilog output.
2868
8dbe7ca5
YQ
28692015-04-24 Yao Qi <yao.qi@linaro.org>
2870
2871 * boards/remote-gdbserver-on-localhost.exp: New file.
2872
4ef9fb2f
PA
28732015-04-23 Pedro Alves <palves@redhat.com>
2874
2875 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2876 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2877 "end of file", remove $inferior_spawn_id from the indirect list.
2878
0a803169
PA
28792015-04-23 Pedro Alves <palves@redhat.com>
2880
2881 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2882
749ef8f8
PA
28832015-04-23 Pedro Alves <palves@redhat.com>
2884
2885 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2886 on $any_spawn_id instead of only on $gdb_spawn_id.
2887
8aae4344
PM
28882015-04-21 Pierre Muller <muller@sourceware.org>
2889
2890 PR pascal/17815
2891 * lib/pascal.exp (gpc_compile): Add new option "class".
2892 (fpc_compile): Likewise.
2893 * gdb.pascal/case-insensitive-symbols.pas: New file.
2894 * gdb.pascal/case-insensitive-symbols.exp: New file.
2895
1586c8fb
GB
28962015-04-20 Gary Benson <gbenson@redhat.com>
2897
2898 * gdb.base/attach.exp: Fix three extended remote failures.
2899
1b6e6f5c
GB
29002015-04-17 Gary Benson <gbenson@redhat.com>
2901
2902 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2903 the main executable over the remote protocol.
2904
e797481d
PA
29052015-04-16 Pedro Alves <palves@redhat.com>
2906
2907 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2908 a new gdbserver if gdbserver_reconnect_p is set.
2909
1ca99c42
PA
29102015-04-16 Pedro Alves <palves@redhat.com>
2911
2912 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2913 is set, don't exit gdbserver.
2914
af9fd6f8
AA
29152015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2916
2917 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2918 appropriate .insn, such that an older assembler can be used.
2919 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2920 the z/Architecture instruction set on 31-bit targets as well.
2921
04ff1e61
AA
29222015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2923
2924 * gdb.go/handcall.exp: Remove all logic related to the first
2925 breakpoint and rely on go_runto_main instead.
2926 * gdb.go/strings.exp: Likewise.
2927 * gdb.go/unsafe.exp: Likewise.
2928 * gdb.go/hello.exp: Likewise. Also rename the remaining
2929 breakpoint marker to "breakpoint 1".
2930 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2931 * gdb.go/strings.go: Likewise.
2932 * gdb.go/unsafe.go: Likewise.
2933 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2934 "set breakpoint 2 here" and rename the remaining breakpoint marker
2935 to "breakpoint 1".
2936
40d2f8d6
SM
29372015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2938
2939 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2940 if itertools.imap is not present.
2941 * gdb.python/py-objfile.exp: Add parentheses.
2942 * gdb.python/py-type.exp: Same.
2943 * gdb.python/py-unwind-maint.py: Same.
2944
8cbc97c6
YQ
29452015-04-15 Yao Qi <yao.qi@linaro.org>
2946
2947 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2948 of ":$ptr_size" and set its form explicitly.
2949
45fd756c
YQ
29502015-04-15 Pedro Alves <palves@redhat.com>
2951 Yao Qi <yao.qi@linaro.org>
2952
2953 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2954 timeout by factor of 4.
2955 (test_regular_watch): Likewise.
2956 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2957 * gdb.reverse/sigall-reverse.exp: Likewise.
2958 * gdb.reverse/until-precsave.exp: Likewise.
2959 * lib/gdb.exp (with_timeout_factor): New proc.
2960 (gdb_expect): Move some code to ...
2961 (get_largest_timeout): ... here. New procedure.
2962
9e811bc3
LM
29632015-04-14 Luis Machado <lgustavo@codesourcery.com>
2964
2965 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2966
0ff6fcb2
LM
29672015-04-13 Luis Machado <lgustavo@codesourcery.com>
2968
2969 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2970 to write to the .text section.
2971
7578d5f7
LM
29722015-04-13 Luis Machado <lgustavo@codesourcery.com>
2973
2974 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2975 Handle the case of targets that do not provide PID information.
2976
2efe15c4
YQ
29772015-04-13 Yao Qi <yao.qi@linaro.org>
2978
2979 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2980 and use expect instead of gdb_expect.
2981
8cd8f2f8
SDJ
29822015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2983
2984 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2985 "coredump_var_addr" to avoid naming conflict with other testcases.
2986
9ee41772
PA
29872015-04-10 Pedro Alves <palves@redhat.com>
2988
2989 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2990 gdb_test_sequence and gdb_assert.
2991
07473109
PA
29922015-04-10 Pedro Alves <palves@redhat.com>
2993
2994 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2995 test messages that don't include the breakpoint address.
2996
de3db44c
YQ
29972015-04-10 Yao Qi <yao.qi@linaro.org>
2998
2999 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3000 false for some offset and width combinations which aren't
3001 supported by linux kernel.
3002
c79d856c
PA
30032015-04-10 Pedro Alves <palves@redhat.com>
3004
3005 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3006 procedure, factored out from ...
3007 (top level): ... here. Add "set displaced-stepping" testing axis.
3008 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3009 parameter "displaced". Use it.
3010 (top level): Use foreach and add "set displaced-stepping" testing
3011 axis.
3012
ebc90b50
PA
30132015-04-10 Pedro Alves <palves@redhat.com>
3014
3015 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3016 Remove comment.
3017 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3018 both the address of the instruction that triggers the watchpoint
3019 and the address of the instruction immediately after, and use
3020 those addresses for the test. Fix comment.
3021
8f572e5c
PA
30222015-04-10 Pedro Alves <palves@redhat.com>
3023
3024 * gdb.base/sigstep.exp (breakpoint_to_handler)
3025 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3026 Test "backtrace" in handler.
3027 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3028 (top level): Add new "displaced" test axis to
3029 breakpoint_to_handler, breakpoint_to_handler_entry and
3030 breakpoint_over_handler.
3031
8d707a12
PA
30322015-04-10 Pedro Alves <palves@redhat.com>
3033
3034 PR gdb/18216
3035 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3036
ef713951
YQ
30372015-04-10 Yao Qi <yao.qi@linaro.org>
3038
3039 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3040 (test_add_rn_pc): New function.
3041 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3042 (top level): Invoke test_add_rn_pc.
3043
906d60cf
PA
30442015-04-10 Pedro Alves <palves@redhat.com>
3045
3046 PR gdb/13858
3047 * gdb.base/step-over-no-symbols.exp: New file.
3048
f2983cc3
AW
30492015-04-09 Andy Wingo <wingo@igalia.com>
3050
3051 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3052 after the Python tests.
3053
6d62641c
SDJ
30542015-04-08 Keith Seitz <keiths@redhat.com>
3055
3056 PR python/16699
3057 * gdb.python/py-completion.exp: New tests for completion.
3058 * gdb.python/py-completion.py (CompleteLimit1): New class.
3059 (CompleteLimit2): Likewise.
3060 (CompleteLimit3): Likewise.
3061 (CompleteLimit4): Likewise.
3062 (CompleteLimit5): Likewise.
3063 (CompleteLimit6): Likewise.
3064 (CompleteLimit7): Likewise.
3065
f3770638
PA
30662015-04-08 Pedro Alves <palves@redhat.com>
3067
3068 PR gdb/18214
3069 PR gdb/18216
3070 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3071 function.
3072 (main): Install it as SIGUSR1 handler.
3073 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3074 parameter. Always use "setup" as prefix. Toggle "set
3075 displaced-stepping" off/on depending on global. Don't switch to
3076 thread 1 here.
3077 (top level): Add displaced stepping "off/on" test axis. Update
3078 "setup" calls. Wrap each subtest with with_test_prefix. Test
3079 continuing with a queued signal in each thread.
3080
4496bed7
PA
30812015-04-08 Pedro Alves <palves@redhat.com>
3082
3083 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3084 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3085 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3086 Return early if running to main fails.
3087 * gdb.trace/while-stepping.exp: Likewise.
3088
b97fde92
PA
30892015-04-07 Pedro Alves <palves@redhat.com>
3090
3091 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3092 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3093 interact with inferior program.
3094
f71c18e7
PA
30952015-04-07 Pedro Alves <palves@redhat.com>
3096
3097 * lib/gdb.exp (inferior_spawn_id): New global.
3098 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3099 spawn id after processing the user code.
3100 (default_gdb_start): Set inferior_spawn_id.
3101 (send_inferior): New procedure.
3102 * lib/gdbserver-support.exp (gdbserver_start): Set
3103 inferior_spawn_id.
3104 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3105
6423214f
PA
31062015-04-07 Pedro Alves <palves@redhat.com>
3107
3108 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3109 * lib/gdbserver-support.exp (gdbserver_start): Make
3110 $server_spawn_id global.
3111 (gdbserver_start): Don't wait for gdbserver's spawn id with
3112 expect_background.
3113 (close_gdbserver): New procedure.
3114 (gdb_exit): Rename the default version and reimplement.
3115
71c0ee8c
PA
31162015-04-07 Pedro Alves <palves@redhat.com>
3117
72f4393d 3118 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
3119 append the substituted item, not the original item.
3120
203bc29b
PA
31212015-04-07 Pedro Alves <palves@redhat.com>
3122
3123 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3124 gdb_expect.
3125
508a3ddf
PA
31262015-04-07 Pedro Alves <palves@redhat.com>
3127
3128 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3129 output appearing once only.
3130
9f6dbe2b
PA
31312015-04-07 Pedro Alves <palves@redhat.com>
3132
3133 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3134 that doesn't expect anything. Return early if running to main
3135 fails.
3136
337532fa
YQ
31372015-04-07 Yao Qi <yao.qi@linaro.org>
3138
3139 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3140 (child_function): Call alarm.
3141 (main): Move call to alarm into the loop.
3142 * gdb.threads/non-stop-fair-events.exp: Build program with
3143 -DTIMEOUT=$timeout.
3144
01b622d4
DE
31452015-04-06 Doug Evans <xdje42@gmail.com>
3146
3147 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3148 Fix dest parameter to board_info.
3149 (fpc_compile): Ditto.
3150 (gdb_compile_pascal): Rename dest arg to destfile.
3151
961f4160
PMR
31522015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3153
3154 * gdb.ada/funcall_ref.exp: New file.
3155 * gdb.ada/funcall_ref/foo.adb: New file.
3156
cafda597
YQ
31572015-04-02 Yao Qi <yao.qi@linaro.org>
3158
3159 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3160 is remote.
3161
fed040c6
GB
31622015-04-02 Gary Benson <gbenson@redhat.com>
3163
3164 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3165
d11916aa
SS
31662015-04-01 Sasha Smundak <asmundak@google.com>
3167
3168 * gdb.python/py-unwind-maint.c: New file.
3169 * gdb.python/py-unwind-maint.exp: New test.
3170 * gdb.python/py-unwind-maint.py: New file.
3171 * gdb.python/py-unwind.c: New file.
3172 * gdb.python/py-unwind.exp: New test.
3173 * gdb.python/py-unwind.py: New test.
3174
a1471180
PA
31752015-04-01 Pedro Alves <palves@redhat.com>
3176
3177 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3178 to fail instead of non-existent $test.
3179
0bbeccb1
PA
31802015-04-01 Pedro Alves <palves@redhat.com>
3181
3182 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3183 GDBFLAGS if not empty.
3184
3c724c8c
PMR
31852015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3186
3187 * gdb.ada/complete.exp: Remove "multi_line".
3188 * gdb.ada/info_exc.exp: Remove "multi_line".
3189 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3190 * gdb.ada/ptype_field.exp: Remove "multi_line".
3191 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3192 * gdb.ada/tagged.exp: Remove "multi_line".
3193 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3194 [multi_line ...]
3195 * gdb.btrace/delta.exp: Likewise.
3196 * gdb.btrace/exception.exp: Likewise.
3197 * gdb.btrace/function_call_history.exp: Likewise.
3198 * gdb.btrace/instruction_history.exp: Likewise.
3199 * gdb.btrace/nohist.exp: Likewise.
3200 * gdb.btrace/record_goto.exp: Likewise.
3201 * gdb.btrace/segv.exp: Likewise.
3202 * gdb.btrace/stepi.exp: Likewise.
3203 * gdb.btrace/tailcall.exp: Likewise.
3204 * gdb.btrace/unknown_functions.exp: Likewise.
3205 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3206 * lib/gdb.exp: Add the "multi_line" helper.
3207
4eec2deb
PA
32082015-04-01 Pedro Alves <palves@redhat.com>
3209
3210 * gdb.threads/tid-reuse.c: New file.
3211 * gdb.threads/tid-reuse.exp: New file.
3212
df8411da
SDJ
32132015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3214
3215 PR corefiles/16092
3216 * gdb.base/coredump-filter.c: New file.
3217 * gdb.base/coredump-filter.exp: Likewise.
3218
6ef37366
PM
32192015-03-27 Petr Machata <pmachata@redhat.com>
3220
3221 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3222 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3223 (Dwarf::assemble): Initialize them.
3224 (Dwarf::lines): New function.
3225
7ec911b0
JT
32262015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3227
3228 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3229 SYMBOL_PREFIX for x86_64-*-cygwin.
3230
ff908ebf
AW
32312015-03-26 Andy Wingo <wingo@igalia.com>
3232
3233 PR symtab/18148
3234 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3235 const_value but not a location.
3236 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3237 location defined in non-main CUs are visible.
3238
6d5f0679
YQ
32392015-03-26 Yao Qi <yao.qi@linaro.org>
3240
3241 PR testsuite/18139
3242 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3243 Add a line number entry for the same line.
3244 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3245 Add a line number entry for the same line.
3246
2898689b
YQ
32472015-03-26 Yao Qi <yao.qi@linaro.org>
3248
3249 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3250 .int 0.
3251 (func): Likewise. Add .Lfunc_1 label.
3252 Use .Lfunc_1 label.
3253 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3254 .int 0.
3255 (func): Likewise.
3256 Use .Lfunc_1 label.
3257
85180498
YQ
32582015-03-26 Yao Qi <yao.qi@linaro.org>
3259
3260 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3261 Call gdb_compile instead to compile each .s files without debug
3262 information.
3263
8aa08a8d
YQ
32642015-03-26 Yao Qi <yao.qi@linaro.org>
3265
3266 * gdb.base/savedregs.exp (process_saved_regs): Make
3267 "Saved registers:" optional in the pattern.
3268
66849923
MM
32692015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3270
3271 * gdb.btrace/next.exp: Merged into step.exp.
3272 * gdb.btrace/finish.exp: Merged into step.exp.
3273 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3274 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3275 "record goto" and checking the exact replay position.
3276 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3277 check for "Recording format" in "info record" output.
3278 * gdb.btrace/record_goto.exp: Choose test file based on target.
3279 * gdb.btrace/x86-record_goto.S: Renamed into ...
3280 * gdb.btrace/x86_64-record_goto.S: ... this.
3281 * gdb.btrace/i686-record_goto.S: New.
3282 * gdb.btrace/x86-tailcall.S: Renamed into ...
3283 * gdb.btrace/x86_64-tailcall.S: ... this.
3284 * gdb.btrace/i686-tailcall.S: New.
3285 * gdb.btrace/x86-tailcall.c: Renamed into ...
3286 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3287 separate statements. Update test.
3288 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3289 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3290 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3291 * gdb.btrace/tailcall.exp: Choose test file based on target.
3292 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3293
11cc1b74
MM
32942015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3295
3296 * gdb.btrace/exception.exp: Increase BTS buffer size.
3297
a25d8bf9
PA
32982015-03-24 Pedro Alves <palves@redhat.com>
3299
3300 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3301
856e7dd6
PA
33022015-03-24 Pedro Alves <palves@redhat.com>
3303
3304 * gdb.threads/schedlock.exp (test_step): No longer expect that
3305 "set scheduler-locking step" with "next" over a function call runs
3306 threads unlocked.
3307
ad235a41
AT
33082015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3309
3310 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3311
15630549
AT
33122015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3313
3314 PR breakpoints/16466
3315 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3316 * gdb.mi/mi-pending.c (thread_func): New function.
3317 (int main): Add threading support required.
3318 * gdb.mi/mi-pending.exp: Add tests for this issue.
3319 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3320 (pendfunc2): Remove stdio dependency.
3321 * gdb.mi/mi-pendshr2.c: New file.
3322
693dca06
KS
33232015-03-23 Keith Seitz <keiths@redhat.com>
3324
3325 * gdb.linespec/keywords.c: New file.
3326 * gdb.linespec/keywords.exp: New file.
3327
7e993ebf
KS
33282015-03-23 Keith Seitz <keiths@redhat.com>
3329
3330 PR gdb/18021
3331 * gdb.dwarf2/staticvirtual.exp: New test.
3332
bc23328c
JK
33332015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3334
3335 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3336 * README: Remove HP-UX and gdb.hp.
3337 (configuration):
3338 * configure: Regenerate.
3339 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3340 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3341 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3342 gdb.hp/gdb.defects/Makefile.
3343 * gdb.hp/Makefile.in: File deleted.
3344 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3345 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3346 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3347 * gdb.hp/gdb.aCC/run.c: File deleted.
3348 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3349 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3350 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3351 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3352 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3353 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3354 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3355 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3356 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3357 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3358 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3359 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3360 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3361 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3362 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3363 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3364 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3365 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3366 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3367 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3368 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3369 * gdb.hp/gdb.compat/average.c: File deleted.
3370 * gdb.hp/gdb.compat/sum.c: File deleted.
3371 * gdb.hp/gdb.compat/xdb.c: File deleted.
3372 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3373 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3374 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3375 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3376 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3377 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3378 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3379 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3380 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3381 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3382 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3383 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3384 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3385 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3386 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3387 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3388 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3389 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3390 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3391 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3392 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3393 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3394 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3395 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3396 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3397 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3398 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3399 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3400 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3401 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3402 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3403 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3404 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3405 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3406 * gdb.hp/tools/odump: File deleted.
3407
8bf3b159
PA
34082015-03-19 Pedro Alves <palves@redhat.com>
3409
3410 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3411 (saw_thread_3): New globals.
3412 (top level): Increment them when an event for the corresponding
3413 thread is seen.
3414 (no thread starvation): New test.
3415
eb54c8bf
PA
34162015-03-19 Pedro Alves <palves@redhat.com>
3417
3418 * gdb.threads/continue-pending-status.c: New file.
3419 * gdb.threads/continue-pending-status.exp: New file.
3420
32d2e5d6
PA
34212015-03-18 Pedro Alves <palves@redhat.com>
3422
3423 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3424 Use gdb_is_target_remote instead of is_remote. Use
3425 gdb_test_multiple instead of gdb_expect. Exit early if
3426 gdb_test_multiple hits its internal matches. Tighten stepi tests
3427 expected output. Fail on exit with any signal, instead of just
3428 SIGILL.
3429
f68f11b7
YQ
34302015-03-18 Yao Qi <yao.qi@linaro.org>
3431
3432 PR tdep/18107
3433 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3434 variable.
3435 * gdb.base/catch-syscall.exp: Don't skip it on
3436 aarch64*-*-linux* target. Remove elements in all_syscalls.
3437 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3438 target.
3439 (setup_all_syscalls): New proc.
3440
ca5fd19b
YQ
34412015-03-16 Yao Qi <yao.qi@linaro.org>
3442
3443 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3444 (top level): Skip tests if valid_addr_p returns false for
3445 $cmd1 or $cmd2.
3446
85642ba0
AW
34472015-03-11 Andy Wingo <wingo@igalia.com>
3448
3449 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3450
e03f9645
YQ
34512015-03-11 Yao Qi <yao.qi@linaro.org>
3452
3453 * gdb.base/catch-syscall.exp: Fix typo in comments.
3454
5d0962b2
YQ
34552015-03-11 Yao Qi <yao.qi@linaro.org>
3456
3457 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3458
b2df3cef
PA
34592015-03-09 Pedro Alves <palves@redhat.com>
3460
3461 * dg-extract-results.py: Delete.
3462
ef878e53
PA
34632015-03-09 Pedro Alves <palves@redhat.com>
3464
3465 Merge dg-extract-results.sh from GCC upstream (r218843).
3466
3467 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3468 * dg-extract-results.sh: Use --text with grep to avoid issues with
3469 binary files. Fall back to cat -v, if that doesn't work.
3470
9494d219
PA
34712015-03-05 Pedro Alves <palves@redhat.com>
3472
3473 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3474
a8d9763a
SM
34752015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3476
3477 * lib/mi-support.exp (mi_expect_interrupt): Accept
3478 alternative event for when in all-stop mode.
3479
be9957b8
PA
34802015-03-04 Pedro Alves <palves@redhat.com>
3481
3482 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3483
d57be0f4 34842015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3485
3486 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3487
c214c7cf
AA
34882015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3489
3490 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3491 regexps for GDB's current line display, accept a hex address
3492 preceding the line number.
3493
6d74a497
AA
34942015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3495
3496 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3497 the 'arch1' variable for "s390*-linux*" targets.
3498
511aee7c
PA
34992015-03-04 Pedro Alves <palves@redhat.com>
3500
3501 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3502 (main): Pass missing retval argument to pthread_join call.
3503
95e50b27
PA
35042015-03-02 Pedro Alves <palves@redhat.com>
3505
3506 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3507 (top level): Call do_test with non-stop as well.
3508
28054d69
PA
35092015-03-02 Pedro Alves <palves@redhat.com>
3510
3511 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3512 -1.
3513
4fa5d7b4
AA
35142015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3515
3516 * gdb.arch/s390-vregs.exp: New test.
3517 * gdb.arch/s390-vregs.S: New file.
3518
97c18565
PA
35192015-02-27 Pedro Alves <palves@redhat.com>
3520
3521 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3522 call to catch_command_errors.
3523 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3524 catch_command_errors.
3525
a37bfa30
PA
35262015-02-27 Pedro Alves <palves@redhat.com>
3527
3528 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3529 "true" for boolean result.
3530 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3531 prototype of main.
3532
6f98576f
PA
35332015-02-27 Pedro Alves <palves@redhat.com>
3534
3535 * lib/unbuffer_output.c: New file.
3536 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3537 (main): Call gdb_unbuffer_output.
3538
eba5ab56
YQ
35392015-02-27 Yao Qi <yao.qi@linaro.org>
3540
3541 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3542 target.
3543
0def5aaa
DE
35442015-02-26 Doug Evans <dje@google.com>
3545
3546 * gdb.cp/class2.cc (Dbase, D): New classes.
3547 (main): New local delta.
3548 * gdb.cp/class2.exp: Test printing delta.
3549 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3550 (dynbar): New global.
3551 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3552
081a1c2c
JK
35532015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3554
3555 * gdb.compile/compile-ifunc.c: New file.
3556 * gdb.compile/compile-ifunc.exp: New file.
3557
2f41223f
AT
35582015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3559
3560 * gdb.base/structs.exp: Check for correct struct on finish.
3561
03eddd80
YQ
35622015-02-26 Yao Qi <yao.qi@linaro.org>
3563
3564 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3565 is zero.
3566
80c57053
JK
35672015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3568
3569 * gdb.arch/cordic.ko.bz2: New file.
3570 * gdb.arch/cordic.ko.debug.bz2: New file.
3571 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3572
21613c12
YQ
35732015-02-25 Yao Qi <yao.qi@linaro.org>
3574
3575 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3576 aarch64*-*-* target.
3577
d8b901ed
PA
35782015-02-23 Pedro Alves <palves@redhat.com>
3579
3580 * lib/gdb.exp (delete_breakpoints): Rewrite using
3581 gdb_test_multiple.
3582
e5b85ead
PA
35832015-02-23 Pedro Alves <palves@redhat.com>
3584
3585 * gdb.base/info-os.c: Include stdlib.h.
3586
85c3a371
DE
35872015-02-22 Doug Evans <xdje42@gmail.com>
3588
3589 PR symtab/17855
3590 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3591 is read after symbols have been re-read.
3592 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3593 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3594
96553a0c
DE
35952015-02-21 Doug Evans <dje@google.com>
3596
3597 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3598
97a0c697
JK
35992015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3600
3601 PR corefiles/17808
3602 * gdb.arch/i386-biarch-core.core.bz2: New file.
3603 * gdb.arch/i386-biarch-core.exp: New file.
3604
a47cd6e9
PA
36052015-02-21 Pedro Alves <palves@redhat.com>
3606
3607 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3608 runto_main fails.
3609
c5facdc4
PA
36102015-02-20 Pedro Alves <palves@redhat.com>
3611
3612 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3613 info probes.
3614
2db9a427
PA
36152015-02-20 Pedro Alves <palves@redhat.com>
3616
3617 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3618
60fb7e9e
PA
36192015-02-20 Pedro Alves <palves@redhat.com>
3620
3621 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3622 clean_restart before gdb_target_supports_trace.
3623
5c5019c2
PA
36242015-02-20 Pedro Alves <palves@redhat.com>
3625
3626 PR threads/18006
3627 * gdb.threads/clone-thread_db.c: New file.
3628 * gdb.threads/clone-thread_db.exp: New file.
3629
c9587f88
AT
36302015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3631
3632 PR breakpoints/16812
3633 * gdb.base/catch-gdb-caused-signals.c: New file.
3634 * gdb.base/catch-gdb-caused-signals.exp: New file.
3635
f6a88844
JM
36362015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3637
3638 * configure: Regenerated.
3639 * configure.ac: Use GDB_AC_TRANSFORM.
3640 * aclocal.m4: sinclude ../transform.m4.
3641
497c491b
JM
36422015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3643
3644 * lib/dtrace.exp: New file.
3645 * gdb.base/dtrace-probe.exp: Likewise.
3646 * gdb.base/dtrace-probe.d: Likewise.
3647 * gdb.base/dtrace-probe.c: Likewise.
3648 * lib/pdtrace.in: Likewise.
3649 * configure.ac: Output variables with the transformed names of
3650 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3651 * configure: Regenerated.
3652
03e98035
JM
36532015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3654
3655 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3656 expected message when trying to access $_probe_* convenience
3657 variables while not on a probe.
3658
63cc30e9
JK
36592015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3660
3661 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3662
0703599a
PA
36632015-02-11 Pedro Alves <pedro@codesourcery.com>
3664
3665 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3666 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3667
7e60a48e
DE
36682015-02-10 Doug Evans <xdje42@gmail.com>
3669
3670 * lib/gdb.exp (gdb_load): Always return a result.
3671
01b088bc
PA
36722015-02-10 Pedro Alves <palves@redhat.com>
3673
3674 * gdb.threads/signal-sigtrap.c: New file.
3675 * gdb.threads/signal-sigtrap.exp: New file.
3676
b05ec7a5
AT
36772015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3678
3679 * gdb.trace/no-attach-trace.c: New file.
3680 * gdb.trace/no-attach-trace.exp: New file.
3681
a2c2acaf
MW
36822015-02-09 Mark Wielaard <mjw@redhat.com>
3683
3684 * gdb.dwarf2/atomic.c: New file.
3685 * gdb.dwarf2/atomic-type.exp: Likewise.
3686
31fd9caa
MM
36872015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3688
3689 * gdb.btrace/buffer-size.exp: Update "info record" output.
3690 * gdb.btrace/delta.exp: Update "info record" output.
3691 * gdb.btrace/enable.exp: Update "info record" output.
3692 * gdb.btrace/finish.exp: Update "info record" output.
3693 * gdb.btrace/instruction_history.exp: Update "info record" output.
3694 * gdb.btrace/next.exp: Update "info record" output.
3695 * gdb.btrace/nexti.exp: Update "info record" output.
3696 * gdb.btrace/step.exp: Update "info record" output.
3697 * gdb.btrace/stepi.exp: Update "info record" output.
3698 * gdb.btrace/nohist.exp: Update "info record" output.
3699
d33501a5
MM
37002015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3701
3702 * gdb.btrace/buffer-size: New.
3703
f4abbc16
MM
37042015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3705
3706 * gdb.btrace/delta.exp: Update "info record" output.
3707 * gdb.btrace/enable.exp: Update "info record" output.
3708 * gdb.btrace/finish.exp: Update "info record" output.
3709 * gdb.btrace/instruction_history.exp: Update "info record" output.
3710 * gdb.btrace/next.exp: Update "info record" output.
3711 * gdb.btrace/nexti.exp: Update "info record" output.
3712 * gdb.btrace/step.exp: Update "info record" output.
3713 * gdb.btrace/stepi.exp: Update "info record" output.
3714 * gdb.btrace/nohist.exp: Update "info record" output.
3715
b9d61307
SM
37162015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3717
3718 PR gdb/15678
3719 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3720
e584fdbc
PA
37212015-02-06 Pedro Alves <palves@redhat.com>
3722
3723 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3724 macro.
3725 (seconds_left, again): New globals.
3726 (main): Wait seconds_left in a 1-second sleep loop instead of
3727 sleeping 180 seconds. If 'again' is set, reset the seconds
3728 counter.
3729 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3730 'again' in the inferior before detaching. Print the seconds left.
3731 (options): New global.
3732 (top level): Build program with -DTIMEOUT=$timeout.
3733
77f41761
PA
37342015-02-06 Pedro Alves <palves@redhat.com>
3735
3736 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3737 determine how many seconds to pass to 'alarm'.
3738 * gdb.base/gdb-sigterm.exp (top level): Build program with
3739 -DTIMEOUT=$timeout.
3740 (do_test): Return success/failure indication. Add more verbose
3741 logging. Don't fail if 200 single steps are seen. Instead, fail
3742 when the test times out.
3743 (passes): New global.
3744 (top level): Break the testing loop if testing fails on any
3745 iteration. Use gdb_assert.
3746
b9394193
DB
37472015-02-04 Don Breazeal <donb@codesourcery.com>
3748
3749 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3750 and initialize them.
3751 (ipc_cleanup): New function.
3752 (main): Don't declare shmid, semid, and msqid. Add a call to
3753 atexit so that we call ipc_cleanup on exit.
3754
42d9e528
PA
37552015-02-04 Pedro Alves <palves@redhat.com>
3756
3757 * boards/native-extended-gdbserver.exp: Remove any target variant
3758 specifications from the board name before clearing the isremote
3759 flag from board_info.
3760
ae6ae975
DE
37612015-01-31 Doug Evans <xdje42@gmail.com>
3762
3763 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3764
cfb069a8
GB
37652015-01-31 Gary Benson <gbenson@redhat.com>
3766
3767 * gdb.base/completion.exp: Disable completion limiting for
3768 existing tests. Add new tests to check completion limiting.
3769 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3770
5dd31d79
DE
37712015-01-31 Doug Evans <xdje42@gmail.com>
3772
3773 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3774
9f050062
DE
37752015-01-31 Doug Evans <xdje42@gmail.com>
3776
3777 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3778 entries. Duplicate file section script entries.
3779 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3780 inlined entries. Add test for safe-path rejection.
3781 * gdb.python/py-section-script.c: Add duplicate inlined section script
3782 entries. Duplicate file section script entries.
3783 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3784 inlined entries. Add test for safe-path rejection.
3785
df25ebbd
JB
37862015-01-29 Joel Brobecker <brobecker@adacore.com>
3787
3788 * gdb.ada/disc_arr_bound: New testcase.
3789
4a0ca9ec
JB
37902015-01-29 Joel Brobecker <brobecker@adacore.com>
3791
3792 * gdb.ada/mi_var_array: New testcase.
3793
3a8b707a
DE
37942015-01-27 Doug Evans <dje@google.com>
3795
3796 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3797 Add test for objfile.filename, objfile.username after objfile
3798 has been unloaded.
3799
f8313f6e
JB
38002015-01-26 Joel Brobecker <brobecker@adacore.com>
3801
3802 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3803 the second test to print the name attribute of value
3804 returned by the call to gdb.lookup_type, and adjust
3805 the expected output accordingly.
3806
37bc665e
MW
38072015-01-25 Mark Wielaard <mjw@redhat.com>
3808
3809 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3810 * gdb.base/disp-step-fork.c: Include unistd.h.
3811 * gdb.base/siginfo-obj.c: Include stdio.h.
3812 * gdb.base/siginfo-thread.c: Likewise.
3813 * gdb.mi/non-stop.c: Include unistd.h.
3814 * gdb.mi/nsthrexec.c: Include stdio.h.
3815 * gdb.mi/pthreads.c: Include unistd.h.
3816 * gdb.modula2/unbounded1.c (main): Declare returns int.
3817 * gdb.reverse/consecutive-reverse.c: Likewise.
3818 * gdb.threads/create-fail.c: Include unistd.h.
3819 * gdb.threads/killed.c: Likewise.
3820 * gdb.threads/linux-dp.c: Likewise.
3821 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3822 * gdb.threads/non-ldr-exc-2.c: Likewise.
3823 * gdb.threads/non-ldr-exc-3.c: Likewise.
3824 * gdb.threads/non-ldr-exc-4.c: Likewise.
3825 * gdb.threads/pthreads.c: Include unistd.h.
3826 (main): Declare returns int.
3827 * gdb.threads/tls-main.c (foo): New declaration.
3828 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3829
f7e5394d
SM
38302015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3831
3832 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3833 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3834
743649fd
MW
38352015-01-15 Mark Wielaard <mjw@redhat.com>
3836
3837 * gdb.base/noreturn-return.c: New file.
3838 * gdb.base/noreturn-return.exp: New file.
3839 * gdb.base/noreturn-finish.c: New file.
3840 * gdb.base/noreturn-finish.exp: New file.
3841
198297aa
PA
38422015-01-23 Pedro Alves <palves@redhat.com>
3843
3844 * gdb.threads/continue-pending-after-query.c: New file.
3845 * gdb.threads/continue-pending-after-query.exp: New file.
3846
717cf30c
AG
38472015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3848 Simon Marchi <simon.marchi@ericsson.com>
3849
3850 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3851 * gdb.base/valgrind-db-attach.exp: Same.
3852 * gdb.base/valgrind-infcall.exp: Same.
3853 * lib/mi-support.exp (default_mi_gdb_start): Same.
3854 * lib/prompt.exp (default_prompt_gdb_start): Same.
3855 * lib/gdb.exp (default_gdb_spawn): Same.
3856 (gdb_interact): New.
3857
3858
4b62a76e
JK
38592015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3860
3861 * gdb.compile/compile.exp (pointer to jit function): New test.
3862
b4cdae6f
WW
38632015-01-17 Wei-cheng Wang <cole945@gmail.com>
3864
3865 * lib/gdb.exp (supports_process_record): Return true for
3866 powerpc*-*-linux*.
3867 (supports_reverse): Likewise.
3868
d221e7ef
DB
38692015-01-15 Don Breazeal <donb@codesourcery.com>
3870
3871 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3872 instead of checking whether the target board is remote and
3873 use spawn_wait_for_attach instead of exec/sleep.
3874 * gdb.base/attach-twice.exp: Likewise.
3875
bafffb51
JB
38762015-01-15 Joel Brobecker <brobecker@adacore.com>
3877
3878 * gdb.ada/var_arr_attrs: New testcase.
3879
5589af0e
PA
38802015-01-14 Pedro Alves <palves@redhat.com>
3881 Joel Brobecker <brobecker@adacore.com>
3882
3883 PR gdb/17525
3884 * gdb.base/bp-cmds-execution-x-script.c: New file.
3885 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3886 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3887
6c400b59
PA
38882015-01-14 Pedro Alves <palves@redhat.com>
3889
3890 PR cli/17828
3891 * gdb.base/batch-preserve-term-settings.c: New file.
3892 * gdb.base/batch-preserve-term-settings.exp: New file.
3893
e02c96a7
DE
38942015-01-13 Doug Evans <dje@google.com>
3895
3896 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3897 binary.
3898
576fd14c
JB
38992015-01-13 Joel Brobecker <brobecker@adacore.com>
3900
3901 * Makefile.in (clean mostlyclean): Do not delete *.py.
3902
04dccad0
JB
39032015-01-13 Joel Brobecker <brobecker@adacore.com>
3904
3905 * gdb.python/py-lookup-type.exp: New file.
3906
3d230f71
PA
39072015-01-12 Pedro Alves <palves@redhat.com>
3908
3909 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3910 restore GDBFLAGS before returning.
3911
7e67715d
JK
39122015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3913
3914 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3915 is_amd64_regs_target and is_x86_like_target.
3916
f2e0d4b4
DE
39172015-01-11 Doug Evans <xdje42@gmail.com>
3918
3919 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3920 is given without an explicit form.
3921 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3922 attributes.
3923 * gdb.dwarf/corrupt.exp: Ditto.
3924 * gdb.dwarf2/enum-type.exp: Ditto.
3925 * gdb.trace/entry-values.exp: Ditto.
3926 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3927
439250fb
DE
39282015-01-11 Doug Evans <xdje42@gmail.com>
3929
3930 PR gdb/15830
3931 * gdb.base/maint.exp: Remove references to "maint demangle".
3932 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3933 Add tests for explicitly specifying language to demangle.
3934 * gdb.dlang/demangle.exp: Ditto.
3935
ede9f622
PA
39362015-01-09 Pedro Alves <palves@redhat.com>
3937
3938 * gdb.threads/non-stop-fair-events.c: New file.
3939 * gdb.threads/non-stop-fair-events.exp: New file.
3940
a7b796db
PA
39412015-01-09 Pedro Alves <palves@redhat.com>
3942
3943 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3944 the global scope. Set a breakpoint after all threads are started
3945 rather than stepping over two source lines. Expect the prompt.
3946 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3947 global.
3948 (NUM): Now 15.
3949 (main): Use threads_started_barrier to wait for all threads to
3950 start. Main thread no longer calls thread_function. Exit after
3951 180 seconds.
3952 (loop): New function.
3953 (thread_function): Wait on threads_started_barrier barrier. Call
3954 'loop' at each iteration.
3955 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3956 threads have started, instead of hardcoding number of "next"
3957 steps. Use an access watchpoint instead of a write watchpoint.
3958
9665ffdd
PA
39592015-01-09 Pedro Alves <palves@redhat.com>
3960
3961 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3962 (thread_func): Wait on barrier.
3963 (main): Wait for all threads to start before stopping GDB.
3964 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3965 global.
3966 (thread1_func, thread2_func): Wait on barrier.
3967 (main): Wait for all threads to start before stopping GDB.
3968 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3969 New global.
3970 (thread1_func, thread2_func): Wait on barrier.
3971 (main): Wait for all threads to start before stopping GDB.
3972
c945a99f
PA
39732015-01-09 Pedro Alves <palves@redhat.com>
3974
3975 * gdb.threads/attach-many-short-lived-threads.c: New file.
3976 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3977
c1a747c1
PA
39782014-01-09 Pedro Alves <palves@redhat.com>
3979
3980 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3981 instead of to thread 2.
3982 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3983 Add barrier around each pthread_create call instead of around all
3984 calls.
3985 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3986 Set a break on thread_function and have the child threads hit it
3987 one at at a time.
3988
60b3033e
PA
39892015-01-09 Pedro Alves <palves@redhat.com>
3990
3991 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3992 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3993 false.
3994 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3995 checking whether the target board is remote.
3996 * gdb.multi/multi-attach.exp: Likewise.
3997 * gdb.python/py-sync-interp.exp: Likewise.
3998 * gdb.server/ext-attach.exp: Likewise.
3999 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4000 tests that need to attach, instead of checking whether the target
4001 board is remote at the top of the file.
4002
acc018ac
YQ
40032015-01-08 Yao Qi <yao@codesourcery.com>
4004
4005 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4006
50a18af8
JK
40072015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4008
4009 Fix testcase compilation.
4010 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4011
8503d6e1
JB
40122015-01-06 Joel Brobecker <brobecker@adacore.com>
4013
4014 * gdb.python/py-type.exp: Add a couple test about empty
4015 array creation, and negative-length array creation.
4016
cc73dbcc
DE
40172015-01-02 Doug Evans <xdje42@gmail.com>
4018
4019 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4020
0300bbc7
DE
40212015-01-02 Doug Evans <dje@google.com>
4022
4023 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4024
9d85a0ec
YQ
40252014-12-29 Yao Qi <yao@codesourcery.com>
4026
4027 * gdb.trace/entry-values.exp: Update comments. Rename variable
4028 bar_call_foo to returned_from_foo.
4029
87186c6a
MMN
40302014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4031
4032 PR gdb/17394
4033 * gdb.linespec/break-asm-file.c: New file.
4034 * gdb.linespec/break-asm-file.exp: New file.
4035 * gdb.linespec/break-asm-file0.s: New file.
4036 * gdb.linespec/break-asm-file1.s: New file.
4037
1bab7383
YQ
40382014-12-18 Nigel Stephens <nigel@mips.com>
4039 Maciej W. Rozycki <macro@codesourcery.com>
4040
4041 * gdb.base/float.exp: Handle the new output from "info float" on
4042 MIPS targets.
4043
1bc1068a
JK
40442014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4045
4046 Fix MinGW compilation.
4047 * gdb.compile/compile-ops.exp: Update untested message if
4048 !skip_compile_feature_tests.
4049 * gdb.compile/compile-setjmp.exp: Likewise.
4050 * gdb.compile/compile-tls.exp: Likewise.
4051 * gdb.compile/compile.exp: Likewise.
4052 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4053 supported on this host".
4054
b6615d10
DE
40552014-12-16 Doug Evans <xdje42@gmail.com>
4056
4057 * boards/stabs.exp: New file.
4058
25dda427
AA
40592014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4060
4061 * gdb.base/completion.exp: Adjust to format changes of "maint
4062 print user-registers".
4063
bf330350
CU
40642014-12-16 Catalin Udma <catalin.udma@freescale.com>
4065
4066 PR server/17457
4067 * gdb.arch/aarch64-fp.c: New file.
4068 * gdb.arch/aarch64-fp.exp: New file.
4069
395cf596
SDJ
40702014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4071
4072 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4073 r210637, r210913, r211666, r215400, r215817).
4074
4075 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4076 * dg-extract-results.py: New file.
4077 * dg-extract-results.sh: Use it if the environment seems
4078 suitable.
4079
4080 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4081
4082 * dg-extract-results.py (parse_run): Handle warnings that
4083 are printed before a test harness is run.
4084
4085 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4086
4087 * dg-extract-results.py (Named): Remove __cmp__ method.
4088 (output_variation): Use a key to sort variation.harnesses.
4089
4090 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4091
4092 * dg-extract-results.py: For Python 3, force sys.stdout to
4093 handle surrogate escape sequences.
4094 (safe_open): New function.
4095 (output_segment, main): Use it.
4096
4097 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4098
4099 * dg-extract-results.py (Prog.result_re): Include options
4100 in test name.
4101
4102 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4103
4104 * dg-extract-results.py (output_variation): Always sort if
4105 do_sum.
4106
e882ef3c
SM
41072014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4108
4109 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4110 as long as we get pagination notifications.
4111
4992aa20
JM
41122014-12-15 Jason Merrill <jason@redhat.com>
4113
4114 * Makefile.in (check-gdb.%): Restore.
4115 * README: Mention it.
4116
c1b5a1a6
JB
41172014-12-13 Joel Brobecker <brobecker@adacore.com>
4118
4119 * gdb.ada/str_uninit: New testcase.
4120
5537b577
JK
41212014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4122
4123 PR symtab/17642
4124 * gdb.base/vla-stub-define.c: New file.
4125 * gdb.base/vla-stub.c: New file.
4126 * gdb.base/vla-stub.exp: New file.
4127
bb2ec1b3
TT
41282014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4129 Jan Kratochvil <jan.kratochvil@redhat.com>
4130 Tom Tromey <tromey@redhat.com>
4131
4132 * configure.ac: Add gdb.compile/.
4133 * configure: Regenerate.
4134 * gdb.compile/Makefile.in: New file.
4135 * gdb.compile/compile-ops.exp: New file.
4136 * gdb.compile/compile-ops.c: New file.
4137 * gdb.compile/compile-tls.c: New file.
4138 * gdb.compile/compile-tls.exp: New file.
4139 * gdb.compile/compile-constvar.S: New file.
4140 * gdb.compile/compile-constvar.c: New file.
4141 * gdb.compile/compile-mod.c: New file.
4142 * gdb.compile/compile-nodebug.c: New file.
4143 * gdb.compile/compile-setjmp-mod.c: New file.
4144 * gdb.compile/compile-setjmp.c: New file.
4145 * gdb.compile/compile-setjmp.exp: New file.
4146 * gdb.compile/compile-shlib.c: New file.
4147 * gdb.compile/compile.c: New file.
4148 * gdb.compile/compile.exp: New file.
4149 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4150
4ff709eb
TT
41512014-12-12 Tom Tromey <tromey@redhat.com>
4152
4153 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4154 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4155
6dddd6a5
DE
41562014-12-12 Doug Evans <dje@google.com>
4157
4158 * lib/gdb-python.exp (get_python_valueof): New function.
4159 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4160
71c24708
AA
41612014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4162
4163 * gdb.base/completion.exp: Add test for completion of "info
4164 registers ".
4165
3e29f34a
MR
41662014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4167
4168 * gdb.base/func-ptrs.c: New file.
4169 * gdb.base/func-ptrs.exp: New file.
4170
fc126975
SM
41712014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4172
4173 PR breakpoints/17012
4174 * gdb.base/dprintf-detach.c: New file.
4175 * gdb.base/dprintf-detach.exp: New file.
4176
0a46d518
SM
41772014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4178
4179 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4180 * lib/gdb.exp (target_is_gdbserver): New procedure.
4181
a0be3e44
DE
41822014-12-08 Doug Evans <dje@google.com>
4183
4184 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4185
df1b803a
YQ
41862014-12-05 Yao Qi <yao@codesourcery.com>
4187
4188 * gdb.guile/scm-error.exp: Remove the third argument to
4189 gdb_remote_download.
4190 * gdb.guile/scm-frame-args.exp: Likewise.
4191 * gdb.guile/scm-section-script.exp: Likewise.
4192
ddb9f679
YQ
41932014-12-05 Yao Qi <yao@codesourcery.com>
4194
4195 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4196
86e4ed39
DE
41972014-12-04 Doug Evans <dje@google.com>
4198
4199 * gdb.python/py-objfile.exp: Add tests for
4200 objfile.add_separate_debug_file.
4201
7c50a931
DE
42022014-12-04 Doug Evans <dje@google.com>
4203
4204 * lib/gdb.exp (get_build_id): New function.
4205 (build_id_debug_filename_get): Rewrite to use it.
4206 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4207
621661e3
MR
42082014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4209
4210 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4211 `method(long)', not just 0x0.
4212 * gdb.cp/nsalias.exp: Align code labels to 4.
4213 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4214 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4215 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4216 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4217 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4218 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4219
29f0c3b7
DE
42202014-12-02 Doug Evans <dje@google.com>
4221
e1e061e7 4222 PR symtab/17602
29f0c3b7 4223 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4224 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4225 * gdb.cp/anon-ns.exp: Update.
4226
162078c8
NB
42272014-12-02 Nick Bull <nicholaspbull@gmail.com>
4228
4229 * gdb.python/py-events.py (inferior_call_handler): New.
4230 (register_changed_handler, memory_changed_handler): New.
4231 (test_events.invoke): Register new handlers.
4232 * gdb.python/py-events.exp: Add tests for inferior call,
4233 memory_changed and register_changed events.
4234
fdb09caf
AA
42352014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4236
4237 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4238 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4239 if the linker doesn't understand this.
4240
55cfb2c4
SM
42412014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4242
4243 * gdb.python/python.exp: Change expected reply to help().
4244
9e8cd6df
YQ
42452014-12-01 Yao Qi <yao@codesourcery.com>
4246
4247 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4248 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4249 * configure: Re-generated.
4250
6c659fc2
SC
42512014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4252
4253 * gdb.cp/chained-calls.cc: New file.
4254 * gdb.cp/chained-calls.exp: New file.
4255 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4256
d7fc3181
SM
42572014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4258
4259 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4260 * gdb.dwarf2/symtab-producer.exp: Same.
4261 * gdb.gdb/python-interrupts.exp: Same.
4262 * gdb.gdb/python-selftest.exp: Same.
4263 * gdb.python/py-linetable.exp: Same.
4264 * gdb.python/py-type.exp: Same.
4265 * gdb.python/py-value-cc.exp: Same.
4266 * gdb.python/py-value.exp: Same.
4267
10e79639
YQ
42682014-11-28 Yao Qi <yao@codesourcery.com>
4269
4270 * gdb.base/break-probes.exp: Match library name prefixed with
4271 sysroot.
4272
f28a0564
SM
42732014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4274
4275 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4276 test expected output. Add parentheses for the call to print.
4277 Remove L suffix from integers.
4278
3fe1ce1d
DE
42792014-11-26 Doug Evans <dje@google.com>
4280
4281 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4282
84429e27
YQ
42832014-11-22 Yao Qi <yao@codesourcery.com>
4284
4285 * gdb.trace/entry-values.c: Remove asms.
4286 (foo): Add foo_label.
4287 (bar): Add bar_label.
4288 * gdb.trace/entry-values.exp: Remove code computing foo's
4289 length and bar's length.
4290 (Dwarf::assemble): Invoke function_range for bar and use
4291 MACRO_AT_func for foo.
4292
26741859
YQ
42932014-11-22 Yao Qi <yao@codesourcery.com>
4294
4295 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4296 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4297 Use .Lgcc43_procstart instead of gcc43.
4298
45e44d27
JB
42992014-11-21 Joel Brobecker <brobecker@adacore.com>
4300
4301 * gdb.ada/n_arr_bound: New testcase.
4302
458c8db8
SDJ
43032014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4304
4305 PR breakpoints/10737
4306 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4307 test_catch_syscall_multi_arch.
4308 (test_catch_syscall_multi_arch): New function.
4309
43f3e411
DE
43102014-11-20 Doug Evans <xdje42@gmail.com>
4311
4312 * gdb.base/maint.exp: Update expected output.
4313
0d7b2549
AA
43142014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4315
4316 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4317 4-byte instruction on S390.
4318
8908fca5
JB
43192014-11-19 Joel Brobecker <brobecker@adacore.com>
4320
4321 * gdb.ada/arr_arr: New testcase.
4322
4a46959e
JB
43232014-11-19 Joel Brobecker <brobecker@adacore.com>
4324
4325 * gdb.ada/pkd_arr_elem: New Testcase.
4326
470e2f4e
LM
43272014-11-18 Luis Machado <lgustavo@codesourcery.com>
4328
4329 * gdb.reverse/break-precsave: Expect completion message for
4330 core file reads.
4331 * gdb.reverse/consecutive-precsave.exp: Likewise.
4332 * gdb.reverse/finish-precsave.exp: Likewise.
4333 * gdb.reverse/i386-precsave.exp: Likewise.
4334 * gdb.reverse/machinestate-precsave.exp: Likewise.
4335 * gdb.reverse/sigall-precsave.exp: Likewise.
4336 * gdb.reverse/solib-precsave.exp: Likewise.
4337 * gdb.reverse/step-precsave.exp: Likewise.
4338 * gdb.reverse/until-precsave.exp: Likewise.
4339 * gdb.reverse/watch-precsave.exp: Likewise.
4340
a267f3ad
AA
43412014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4342
4343 * gdb.base/bp-permanent.c: Include unistd.h.
4344 * gdb.python/py-framefilter-mi.c (main): Add return type.
4345 * gdb.python/py-framefilter.c (main): Likewise.
4346 * gdb.trace/actions-changed.c (main): Likewise.
4347
12084a9a
AA
43482014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4349
4350 * gdb.mi/until.c: Add eye-catchers.
4351 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4352 line numbers.
4353
dc7e1a77
AA
43542014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4355
4356 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4357 function header variants in break1.c.
4358 * gdb.base/ena-dis-br.exp: Likewise.
4359 * gdb.base/hbreak2.exp: Likewise.
4360 * gdb.reverse/until-precsave.exp: Drop references to removed
4361 non-prototype function header variants in ur1.c.
4362 * gdb.reverse/until-reverse.exp: Likewise.
4363
41c77605
PM
43642014-11-17 Petr Machata <pmachata@redhat.com>
4365
4366 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4367 ${_cu_offset_size} bytes abbrev offset.
4368
34248c3a
DE
43692014-11-15 Doug Evans <xdje42@gmail.com>
4370
4371 PR symtab/17559
4372 * gdb.base/line-symtabs.exp: New file.
4373 * gdb.base/line-symtabs.c: New file.
4374 * gdb.base/line-symtabs.h: New file.
4375
646da059
YQ
43762014-11-14 Yao Qi <yao@codesourcery.com>
4377
4378 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4379 (func): Add label func_label.
4380 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4381 Replace low_pc and high_pc with MACRO_AT_range.
4382 Replace name, low_pc and high_pc with MACRO_AT_func.
4383
9301ebe6
YQ
43842014-11-14 Yao Qi <yao@codesourcery.com>
4385
4386 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4387 Replace name, low_pc and high_pc with MACRO_AT_func.
4388
f166b542
YQ
43892014-11-14 Yao Qi <yao@codesourcery.com>
4390
4391 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4392 produce debug information.
4393 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4394
0f6e71e3
YQ
43952014-11-14 Yao Qi <yao@codesourcery.com>
4396
4397 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4398 object and get function length.
4399 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4400 with MACRO_AT_func.
4401 (top-level): Replace gdb_compile and clean_restart with
4402 prepare_for_testing.
4403 * gdb.dwarf2/main.c (main): Add label main_label.
4404
876c4df9
YQ
44052014-11-14 Yao Qi <yao@codesourcery.com>
4406
4407 * lib/dwarf.exp (function_range): New procedure.
4408 (Dwarf::_handle_macro_at_func): New procedure.
4409 (Dwarf::_handle_macro_at_range): New procedure.
4410 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4411
02ad9cf1
YQ
44122014-11-14 Yao Qi <yao@codesourcery.com>
4413
4414 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4415 (_handle_attribute): New procedure.
4416
a59add0c
AA
44172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4418
4419 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4420 * gdb.base/call-sc.c (zed): Likewise.
4421 * gdb.base/checkpoint.c (main): Likewise.
4422 * gdb.base/dump.c (main): Likewise.
4423 * gdb.base/gcore.c (main): Likewise.
4424 * gdb.base/huge.c (main): Likewise.
4425 * gdb.base/multi-forks.c (main): Likewise.
4426 * gdb.base/pr10179-a.c (main): Likewise.
4427 * gdb.base/savedregs.c (main): Likewise.
4428 * gdb.base/sigaltstack.c (main): Likewise.
4429 * gdb.base/siginfo.c (main): Likewise.
4430 * gdb.base/structs.c (zed): Likewise.
4431 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4432 * gdb.mi/mi-syn-frame.c (main): Likewise.
4433 * gdb.mi/until.c (foo, main): Likewise.
4434 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4435 * gdb.base/solib-weak.c (foo): Declare.
4436 * gdb.base/attach-twice.c: Include stdio.h.
4437 * gdb.base/weaklib1.c: Likewise.
4438 * gdb.base/weaklib2.c: Likewise.
4439 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4440 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4441 unistd.h.
4442 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4443 * gdb.mi/mi-exit-code.c: Likewise.
4444 * gdb.base/break-interp-lib.c: Include string.h.
4445 * gdb.base/coremaker.c: Likewise.
4446 * gdb.base/testenv.c: Likewise.
4447 * gdb.python/py-finish-breakpoint.c: Likewise.
4448 * gdb.base/inferior-died.c: Include sys/wait.h.
4449 * gdb.base/fileio.c: Include time.h.
4450 * gdb.base/async-shell.c: Include unistd.h.
4451 * gdb.base/dprintf-non-stop.c: Likewise.
4452 * gdb.base/info-os.c: Likewise.
4453 * gdb.mi/mi-console.c: Likewise.
4454 * gdb.mi/watch-nonstop.c: Likewise.
4455 * gdb.python/py-events.c: Likewise.
4456 * gdb.base/async.c (baz): Move up before its invocation.
4457 * gdb.base/code_elim2.c (my_global_func): Likewise.
4458 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4459 * gdb.base/advance.c (func2): Likewise.
4460
3b5d5997
AA
44612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4462
4463 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4464 variant.
4465 * gdb.base/annota3.c: Likewise.
4466 * gdb.base/async.c: Likewise.
4467 * gdb.base/average.c: Likewise.
4468 * gdb.base/call-ar-st.c: Likewise.
4469 * gdb.base/call-rt-st.c: Likewise.
4470 * gdb.base/call-sc.c: Likewise.
4471 * gdb.base/call-strs.c: Likewise.
4472 * gdb.base/ending-run.c: Likewise.
4473 * gdb.base/execd-prog.c: Likewise.
4474 * gdb.base/exprs.c: Likewise.
4475 * gdb.base/foll-exec.c: Likewise.
4476 * gdb.base/foll-fork.c: Likewise.
4477 * gdb.base/foll-vfork.c: Likewise.
4478 * gdb.base/funcargs.c: Likewise.
4479 * gdb.base/gcore.c: Likewise.
4480 * gdb.base/jump.c: Likewise.
4481 * gdb.base/langs0.c: Likewise.
4482 * gdb.base/langs1.c: Likewise.
4483 * gdb.base/langs2.c: Likewise.
4484 * gdb.base/mips_pro.c: Likewise.
4485 * gdb.base/nodebug.c: Likewise.
4486 * gdb.base/opaque0.c: Likewise.
4487 * gdb.base/opaque1.c: Likewise.
4488 * gdb.base/recurse.c: Likewise.
4489 * gdb.base/run.c: Likewise.
4490 * gdb.base/scope0.c: Likewise.
4491 * gdb.base/scope1.c: Likewise.
4492 * gdb.base/setshow.c: Likewise.
4493 * gdb.base/setvar.c: Likewise.
4494 * gdb.base/shmain.c: Likewise.
4495 * gdb.base/shr1.c: Likewise.
4496 * gdb.base/shr2.c: Likewise.
4497 * gdb.base/sigall.c: Likewise.
4498 * gdb.base/signals.c: Likewise.
4499 * gdb.base/so-indr-cl.c: Likewise.
4500 * gdb.base/solib2.c: Likewise.
4501 * gdb.base/structs.c: Likewise.
4502 * gdb.base/sum.c: Likewise.
4503 * gdb.base/vforked-prog.c: Likewise.
4504 * gdb.base/watchpoint.c: Likewise.
4505 * gdb.reverse/shr2.c: Likewise.
4506 * gdb.reverse/until-reverse.c: Likewise.
4507 * gdb.reverse/ur1.c: Likewise.
4508 * gdb.reverse/watch-reverse.c: Likewise.
4509
066a77c5
AA
45102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4511
4512 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4513 variant.
4514 * gdb.base/sepdebug.exp: Drop references to removed code.
4515
4f204ea5
AA
45162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4517
4518 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4519 variant. Preserve original line numbering.
4520 * gdb.base/list1.c: Likewise.
4521
3b377a3a
AA
45222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4523
4524 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4525 variant.
4526 * gdb.base/break1.c: Likewise.
4527 * gdb.base/break.exp: Drop references to removed code.
4528
e444df73
AA
45292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4530
4531 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4532 variant.
4533
8008f2a7
AA
45342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4535
4536 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4537
a5a06887
AA
45382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4539
4540 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4541 logic into perform_all_tests() and invoke it with and without
4542 function header prototypes.
4543 (do_function_calls): Remove conditional XFAIL for PR 5318.
4544 (rerun_and_prepare): Remove duplicate code.
4545 (perform_all_tests): New. Main logic moved here.
4546
44dba9b9
AA
45472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4548
4549 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4550 code guarded by #ifdef NO_PROTOTYPES.
4551 (t_double_many_args): Likewise.
4552 (DEF_FUNC_MANY_ARGS_1): Likewise.
4553 (DEF_FUNC_VALUES_1): Likewise.
4554 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4555 guarded by #ifdef PROTOTYPES.
4556
d1fbcd56
AA
45572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4558
4559 * gdb.mi/mi-console.c: Add eye-catcher.
4560 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4561 instead of literal line number.
4562
b0e59b8f
AA
45632014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4564
4565 * gdb.base/shr2.c: Add eye-catcher.
4566 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4567 line number.
4568
78f98cca
AA
45692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4570
4571 * gdb.base/jump.c: Add eye-catchers.
4572 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4573 numbers.
4574
58fa2af0
AA
45752014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4576
4577 * gdb.base/execd-prog.c: Add eye-catchers.
4578 * gdb.base/foll-exec.c: Likewise.
4579 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4580 line numbers.
4581
04e5059b
AA
45822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4583
4584 * gdb.base/ending-run.c: Add eye-catchers.
4585 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4586 literal line numbers.
4587
dbfdb174
AA
45882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4589
4590 * gdb.base/call-rt-st.c: Add eye-catchers.
4591 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4592 literal line numbers.
4593
888a2ade
AA
45942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4595
4596 * gdb.base/call-ar-st.c: Add eye-catchers.
4597 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4598 literal line numbers.
4599
6acc2dde
AA
46002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4601
4602 * gdb.base/average.c: Add eye-catchers.
4603 * gdb.base/sum.c: Likewise.
4604 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4605 regexps dynamically.
4606
9ecfcd1d
AA
46072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4608
4609 * gdb.base/solib1.c: Add eye-catchers.
4610 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4611 literal line numbers.
4612
78708b7c
PA
46132014-11-12 Pedro Alves <palves@redhat.com>
4614
4615 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4616 leader has exited.
4617
af48d08f
PA
46182014-11-12 Pedro Alves <palves@redhat.com>
4619
4620 * gdb.arch/i386-bp_permanent.c: New file.
4621 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4622 (srcfile): Set to i386-bp_permanent.c.
4623 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4624 that stepi does not execute the 'leave' instruction, instead of
4625 testing it does execute.
4626 * gdb.base/bp-permanent.c: New file.
4627 * gdb.base/bp-permanent.exp: New file.
4628
af3768e9
DE
46292014-11-10 Doug Evans <xdje42@gmail.com>
4630
4631 PR symtab/17564
4632 * gdb.base/symtab-search-order.exp: New file.
4633 * gdb.base/symtab-search-order.c: New file.
4634 * gdb.base/symtab-search-order-1.c: New file.
4635 * gdb.base/symtab-search-order-shlib-1.c: New file.
4636
9de00a4a
PA
46372014-11-07 Pedro Alves <palves@redhat.com>
4638
4639 PR gdb/17511
4640 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4641 i?86-*-linux*.
4642
e0f52461
SC
46432014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4644
4645 PR c++/17494
4646 * gdb.cp/pr17494.cc: New file.
4647 * gdb.cp/pr17494.exp: New file.
4648
6ce8c980
YQ
46492014-11-02 Yao Qi <yao@codesourcery.com>
4650
4651 * gdb.python/python.exp: Get working directory and match the
4652 output of "set extended-prompt \\w " with it.
4653
02be9a71
DE
46542014-10-30 Doug Evans <dje@google.com>
4655
4656 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4657 in objfiles.
4658 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4659 in progspaces.
4660
3bdff46b
LM
46612014-10-30 Janis Johnson <janisjo@codesourcery.com>
4662
4663 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4664 * gdb.base/realname-expand.exp: Likewise.
4665 * gdb.linespec/macro-relative.exp: Likewise.
4666
ab917dfb
PA
46672014-10-29 Pedro Alves <palves@redhat.com>
4668
4669 PR gdb/17408
4670 * gdb.threads/schedlock.c (some_function): New function.
4671 (call_function): New global.
4672 (MAYBE_CALL_SOME_FUNCTION): New macro.
4673 (thread_function): Call it.
4674 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4675 and use it instead of a global counter. Adjust all callers.
4676 (get_current_thread): Use "find current thread" for test message
4677 here rather than having all callers pass down the same string.
4678 (goto_loop): New procedure, factored out from ...
4679 (my_continue): ... this.
4680 (step_ten_loops): Change parameter from test message to command to
4681 use. Adjust.
4682 (list_count): Delete global.
4683 (check_result): New procedure, factored out from duplicate top
4684 level code.
4685 (continue tests): Wrap in with_test_prefix.
4686 (test_step): New procedure, factored out from duplicate top level
4687 code.
4688 (top level): Test "step" in combination with all scheduler-locking
4689 modes. Test "next" in combination with all scheduler-locking
4690 modes, and in combination with stepping over a function call or
4691 not.
4692 * gdb.threads/next-bp-other-thread.c: New file.
4693 * gdb.threads/next-bp-other-thread.exp: New file.
4694
d3d4baed
PA
46952014-10-29 Pedro Alves <palves@redhat.com>
4696
4697 PR python/17372
4698 * gdb.python/python.exp: Test a multi-line command that spawns
4699 interactive Python.
4700 * gdb.base/multi-line-starts-subshell.exp: New file.
4701
563e8d85
YQ
47022014-10-29 Yao Qi <yao@codesourcery.com>
4703
4704 * gdb.base/fileio.exp: Make directories on host.
4705
0ea4d52e
YQ
47062014-10-29 Yao Qi <yao@codesourcery.com>
4707
4708 * gdb.base/fileio.c (test_write): Close the file.
4709
7f5ef605
PA
47102014-10-28 Pedro Alves <palves@redhat.com>
4711
4712 PR gdb/12623
4713 * gdb.base/sigstep.c (no_handler): New global.
4714 (main): If 'no_handler is true, set the signal handlers to
4715 SIG_IGN.
4716 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4717 with_sw_watch and no_handler parameters. Handle them.
4718 (top level) <stepping over handler when stopped at a breakpoint
4719 test>: Add a test axis for testing with a software watchpoint, and
4720 another for testing with the signal handler set to SIG_IGN.
4721 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4722 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4723
abbdbd03
PA
47242014-10-28 Pedro Alves <palves@redhat.com>
4725
4726 PR gdb/17511
4727 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4728 * gdb.base/sigstep.exp (other_handler_location): New global.
4729 (advance): Support stepping into the signal handler, and running
4730 commands while in the handler.
4731 (in_handler_map): New global.
4732 (top level): In the advance test, add combinations for getting
4733 into the handler with stepping commands, and for running commands
4734 in the handler. Add comment descripting the advancei tests.
4735
1df4399f
PA
47362014-10-28 Pedro Alves <palves@redhat.com>
4737
4738 * gdb.base/sigstep.exp: Use build_executable instead of
4739 prepare_for_testing.
4740 (top level): Move code that starts GDB, runs to main and creates a
4741 display to ...
4742 (restart): ... this new procedure.
4743 (top level): Move backtrace from signal handler test to ...
4744 (validate_backtrace): ... this new procedure.
4745 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4746 with_test_prefix. Always restart GDB.
4747 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4748 with_test_prefix. Always restart GDB. No need to delete
4749 breakpoints after the test.
4750 (test_skip_handler): Remove prefix parameter.
4751 (skip_over_handler, breakpoint_to_handler)
4752 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4753 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4754 restart GDB. No need to delete breakpoints after the test.
4755 (top level): Use foreach to call the test procedures with
4756 different commands.
4757
a5b6e449
PA
47582014-10-28 Pedro Alves <palves@redhat.com>
4759
4760 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4761 instead of GNATS numbers.
4762 * gdb.base/sigbpt.exp: Likewise.
4763 * gdb.base/siginfo.exp: Likewise.
4764 * gdb.base/sigstep.exp: Likewise.
4765
e5f8a7cc
PA
47662014-10-27 Pedro Alves <palves@redhat.com>
4767
4768 * gdb.base/sigstep.c (dummy): New global.
4769 (main): Issue a couple writes to the new global.
4770 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4771 procedures.
4772 (skip_over_handler): Use test_skip_handler.
4773 (top level): Call skip_over_handler for stepi and nexti too.
4774 (breakpoint_over_handler): Use test_skip_handler.
4775 (top level): Call breakpoint_over_handler for stepi and nexti too.
4776
763905a3
YQ
47772014-10-27 Yao Qi <yao@codesourcery.com>
4778
4779 * gdb.trace/tfile.c (adjust_function_address)
4780 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4781 function descriptor.
4782
6f259a23
DB
47832014-10-24 Don Breazeal <donb@codesourcery.com>
4784
4785 * gdb.base/foll-fork.exp (test_follow_fork,
4786 catch_fork_child_follow): Check for updated fork messages emitted
4787 from infrun.c.
4788 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4789 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4790 vfork_and_exec_child_follow_through_step): Check for updated vfork
4791 messages emitted from infrun.c.
4792
09dd9a69
PA
47932014-10-24 Pedro Alves <palves@redhat.com>
4794
4795 * gdb.base/corefile.exp: Remove references to ultrix.
4796 * gdb.base/interrupt.exp: Likewise.
4797 * gdb.base/whatis.exp: Likewise.
4798 * gdb.gdb/selftest.exp: Likewise.
4799 * gdb.threads/manythreads.exp: Likewise.
4800 * gdb.threads/print-threads.exp: Likewise.
4801 * gdb.threads/pthreads.exp:: Likewise.
4802 * gdb.threads/schedlock.exp: Likewise.
4803
3433cfa5
SC
48042014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4805
4806 * gdb.cp/non-trivial-retval.cc: Add a test case.
4807 * gdb.cp/non-trivial-retval.exp: Add a test.
4808
092f880b
YQ
48092014-10-20 Yao Qi <yao@codesourcery.com>
4810
4811 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4812 * gdb.python/py-objfile-script-gdb.py: New file.
4813 * gdb.python/py-objfile-script.exp: Update reference to
4814 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4815 of remote_download. Remove the dest file.
4816
acbdb7f3
YQ
48172014-10-20 Yao Qi <yao@codesourcery.com>
4818
4819 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4820 * gdb.base/step-line.exp: Likewise.
4821 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4822 * gdb.dwarf2/dw2-basic.exp: Likewise.
4823 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4824 * gdb.dwarf2/dw2-filename.exp: Likewise.
4825 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4826 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4827 * gdb.dwarf2/dw2-producer.exp: Likewise.
4828 * gdb.dwarf2/mac-fileno.exp: Likewise.
4829 * gdb.python/py-frame-args.exp: Likewise.
4830 * gdb.python/py-framefilter.exp: Likewise.
4831 * gdb.python/py-mi.exp: Likewise.
4832 * gdb.python/py-objfile-script.exp: Likewise
4833 * gdb.python/py-pp-integral.exp: Likewise.
4834 * gdb.python/py-pp-re-notag.exp: Likewise.
4835 * gdb.python/py-prettyprint.exp: Likewise.
4836 * gdb.python/py-section-script.exp: Likewise.
4837 * gdb.python/py-typeprint.exp: Likewise.
4838 * gdb.python/py-xmethods.exp: Likewise.
4839 * gdb.stabs/weird.exp: Likewise.
4840 * gdb.xml/tdesc-regs.exp: Likewise.
4841
bd286a29
KCY
48422014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4843
4844 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4845 (out_cu): Use addr_len for the size of addresses.
4846 (out_line): Likewise. Size DW_LNE_set_address instruction
4847 according to addr_len.
4848 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4849 (FUNC): Add START_INSNS to definition.
4850
673dc4a0
YQ
48512014-10-18 Yao Qi <yao@codesourcery.com>
4852
4853 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4854 gdb_has_argv0 return true.
4855 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4856 check [target_info exists noargs], check [gdb_has_argv0]
4857 instead.
4858 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4859 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4860 procedures.
4861
4ffbba72
DE
48622014-10-17 Doug Evans <dje@google.com>
4863
4864 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4865 event.
4866 * gdb.python/py-events.py: Add clear_objfiles event.
4867
d096d8c1
DE
48682014-10-17 Doug Evans <dje@google.com>
4869
4870 * gdb.python/py-objfile.exp: Test progspace attribute.
4871
a80db015
LM
48722014-10-17 Luis Machado <lgustavo@codesourcery.com>
4873
4874 * gdb.guile/scm-breakpoint.exp: Do not assume any
4875 directory separators when matching source file paths.
4876 * gdb.python/py-breakpoint.exp: Likewise.
4877 * gdb.reverse/break-precsave.exp: Likewise.
4878 * gdb.reverse/break-reverse.exp: Likewise.
4879 * gdb.reverse/consecutive-precsave.exp: Likewise.
4880 * gdb.reverse/finish-precsave.exp: Likewise.
4881 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4882 * gdb.reverse/finish-reverse.exp: Likewise.
4883 * gdb.reverse/i386-precsave.exp: Likewise.
4884 * gdb.reverse/i387-env-reverse.exp: Likewise.
4885 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4886 * gdb.reverse/machinestate-precsave.exp: Likewise.
4887 * gdb.reverse/machinestate.exp: Likewise.
4888 * gdb.reverse/sigall-precsave.exp: Likewise.
4889 * gdb.reverse/solib-precsave.exp: Likewise.
4890 * gdb.reverse/step-precsave.exp: Likewise.
4891 * gdb.reverse/until-precsave.exp: Likewise.
4892 * gdb.reverse/watch-precsave.exp: Likewise.
4893 * gdb.reverse/watch-reverse.exp: Likewise.
4894
b22089ab
YQ
48952014-10-17 Yao Qi <yao@codesourcery.com>
4896
4897 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4898 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4899
6c4486e6
PA
49002014-10-17 Pedro Alves <palves@redhat.com>
4901
4902 PR gdb/17471
4903 * gdb.base/bg-execution-repeat.c: New file.
4904 * gdb.base/bg-execution-repeat.exp: New file.
4905
0ff33695
PA
49062014-10-17 Pedro Alves <palves@redhat.com>
4907
4908 PR gdb/17300
4909 * gdb.base/continue-all-already-running.c: New file.
4910 * gdb.base/continue-all-already-running.exp: New file.
4911
6fdebc3d
PA
49122014-10-17 Pedro Alves <palves@redhat.com>
4913
4914 PR gdb/17472
4915 * gdb.base/annota-input-while-running.c: New file.
4916 * gdb.base/annota-input-while-running.exp: New file.
4917
32a8097b
PA
49182014-10-17 Pedro Alves <palves@redhat.com>
4919
4920 * gdb.base/callfuncs.exp: emove references to osf.
4921 * gdb.base/sigall.exp: Likewise.
4922 * gdb.gdb/selftest.exp: Likewise.
4923 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4924 * gdb.mi/non-stop.c: Likewise.
4925 * gdb.mi/pthreads.c: Likewise.
4926 * gdb.reverse/sigall-precsave.exp: Likewise.
4927 * gdb.reverse/sigall-reverse.exp: Likewise.
4928 * gdb.threads/pthreads.c: Likewise.
4929 * gdb.threads/pthreads.exp: Likewise.
4930
7a3517ff
YQ
49312014-10-17 Yao Qi <yao@codesourcery.com>
4932
4933 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4934 check 'target_info exists noargs'.
4935 (test_command_prompt_position): Likewise.
4936 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4937 Remove "set args".
4938 (progvar_simple_while_test): Likewise.
4939 (progvar_complex_if_while_test): Likewise.
4940 (if_while_breakpoint_command_test): Likewise.
4941 (infrun_breakpoint_command_test): Likewise.
4942 (breakpoint_command_test): Likewise.
4943 (watchpoint_command_test): Likewise.
4944 (bp_deleted_in_command_test): Likewise.
4945 (temporary_breakpoint_commands): Likewise.
4946
bb99c472
YQ
49472014-10-16 Yao Qi <yao@codesourcery.com>
4948
4949 * gdb.base/remotetimeout.exp: Remove noargs checking.
4950
7c16b83e
PA
49512014-10-15 Pedro Alves <palves@redhat.com>
4952
4953 PR breakpoints/9649
4954 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4955 * gdb.base/breakpoint-in-ro-region.exp
4956 (probe_target_hardware_step): New procedure.
4957 (top level): Probe hardware stepping and hardware breakpoint
4958 support. Test stepping through a read-only region, with both
4959 "breakpoint auto-hw" on and off and both "always-inserted" on and
4960 off.
4961
35a49624
IB
49622014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4963
4964 * gdb.dlang/demangle.exp: Update for demangling changes.
4965
2d1c107c
SC
49662014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4967
4968 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4969 * gdb.cp/non-trivial-retval.exp: Add new tests.
4970
778811d5
SC
49712014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4972
4973 PR c++/13403
4974 PR c++/15154
4975 * gdb.cp/non-trivial-retval.cc: New file.
4976 * gdb.cp/non-trivial-retval.exp: New file.
4977
10c5f0a8
YQ
49782014-10-15 Yao Qi <yao@codesourcery.com>
4979
4980 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4981 remote host.
4982
65d7b369
YQ
49832014-10-15 Yao Qi <yao@codesourcery.com>
4984
4985 * gdb.python/py-symbol.exp: Match file base name if host is
4986 remote, otherwise match file name with dir name.
4987 * gdb.python/py-symtab.exp: Likewise.
4988 * gdb.python/python.exp: Likewise.
4989
46dc1394
YQ
49902014-10-15 Yao Qi <yao@codesourcery.com>
4991
4992 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4993 pattern.
4994 * gdb.python/py-symtab.exp: Likewise.
4995 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4996 locationn.
4997
c40cc657
JB
49982014-10-14 Joel Brobecker <brobecker@adacore.com>
4999
5000 * gdb.ada/addr_arith: New testcase.
5001
2abf49e1
MR
50022014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5003
5004 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5005 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5006 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5007 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5008
f7088df3
SDJ
50092014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5010
5011 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5012 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5013 * gdb.arch/stap-eval-lang-ada.exp: New file.
5014
4dc06805
YQ
50152014-10-14 Yao Qi <yao@codesourcery.com>
5016
5017 * gdb.mi/mi-var-child.c (nothing1): New function.
5018 (nothing2): New function.
5019 (do_children_tests): Set function pointers by nothing1 and
5020 nothing2.
5021 * gdb.mi/mi-var-child.exp: Step over new added statements.
5022 Update test to match the new output.
5023 * gdb.mi/var-cmd.c (nothing1): New function.
5024 (nothing2): New function.
5025 (do_children_tests): Set function pointers by nothing1 and
5026 nothing2.
5027 * gdb.mi/mi-var-display.exp: Update test to match output.
5028 Step to the line specified by $line_dct_nothing.
5029 Increase the number of lines to step.
5030
46a93de2
YQ
50312014-10-14 Yao Qi <yao@codesourcery.com>
5032
5033 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5034 tests.
5035 * gdb.mi/mi2-var-child.exp: Likewise.
5036
14ea52ee
DE
50372014-10-13 Doug Evans <dje@google.com>
5038
5039 * gdb.python/py-objfile.exp: Change name of file name test.
5040
e5c6e92b
DE
50412014-10-13 Doug Evans <dje@google.com>
5042
5043 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5044 from the start of the CU.
5045
c780cc2f
JK
50462014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5047 Yao Qi <yao@codesourcery.com>
5048
5049 Fix "save breakpoints" for "catch" command.
5050 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5051 Remove -nonewline. Match also the added "main" line.
5052
99894e11
JK
50532014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5054
5055 Fix "save breakpoints" for "disable $bpnum" command.
5056 * gdb.base/save-bp.c (main): Add label.
5057 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5058
6e1ac5a3
JK
50592014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5060
5061 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5062
754dd2b0
YQ
50632014-10-11 Yao Qi <yao@codesourcery.com>
5064
5065 * gdb.server/server-kill.exp: Execute command
5066 "set remote trace-status-packet on" before "tstatus".
5067
f90183d7
YQ
50682014-10-11 Yao Qi <yao@codesourcery.com>
5069
5070 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5071 (main): Call getppid.
5072 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5073 and continue to it. Read variable "server_pid".
5074
bf40a607
YQ
50752014-10-11 Yao Qi <yao@codesourcery.com>
5076
5077 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5078
052ca370
YQ
50792014-10-11 Yao Qi <yao@codesourcery.com>
5080
5081 * gdb.threads/thread-find.exp: Don't execute command
5082 "info threads".
5083 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5084 * gdb.threads/linux-dp.exp: Don't check the condition
5085 $threads_created equals to zero.
5086
3831839c
PA
50872014-10-10 Pedro Alves <palves@redhat.com>
5088
5089 * gdb.base/bigcore.exp: Remove references to IRIX.
5090 * gdb.base/funcargs.exp: Likewise.
5091 * gdb.base/interrupt.exp: Likewise.
5092 * gdb.base/mips_pro.exp: Likewise.
5093 * gdb.base/nodebug.exp: Likewise.
5094 * gdb.base/setvar.exp: Likewise.
5095 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5096
8b9a549d
PA
50972014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5098 Pedro Alves <palves@redhat.com>
5099
5100 PR symtab/14466
5101 * gdb.base/vdso-warning.c: New file.
5102 * gdb.base/vdso-warning.exp: New file.
5103
d48ba5e8
DE
51042014-10-02 Doug Evans <dje@google.com>
5105
5106 * gdb.base/structs.c (main): Don't run forever.
5107
2278c276
PA
51082014-10-02 Pedro Alves <palves@redhat.com>
5109
5110 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5111 (top level) <stop threads 1, stop threads 2>: Use it.
5112
b57bacec
PA
51132014-10-02 Pedro Alves <palves@redhat.com>
5114
5115 * gdb.threads/break-while-running.exp (test): Add new
5116 'update_thread_list' argument. Skip "info threads" if false.
5117 (top level): Add new 'update_thread_list' axis.
5118
13fd3ff3
PA
51192014-10-02 Pedro Alves <palves@redhat.com>
5120
5121 PR breakpoints/17431
5122 * gdb.base/execl-update-breakpoints.c: New file.
5123 * gdb.base/execl-update-breakpoints.exp: New file.
5124
0fec99e8
PA
51252014-10-01 Pedro Alves <palves@redhat.com>
5126
5127 * gdb.base/breakpoint-in-ro-region.c: New file.
5128 * gdb.base/breakpoint-in-ro-region.exp: New file.
5129
2ddf4301
SM
51302014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5131
5132 * gdb.mi/mi-exit-code.exp: New file.
5133 * gdb.mi/mi-exit-code.c: New file.
5134
6a5f3f43
YQ
51352014-09-30 Yao Qi <yao@codesourcery.com>
5136
5137 * lib/prelink-support.exp (build_executable_own_libs): Error if
5138 the target isn't native.
5139
345bcc73
YQ
51402014-09-30 Yao Qi <yao@codesourcery.com>
5141
5142 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5143 false.
5144
a25a5a45
PA
51452014-09-22 Pedro Alves <palves@redhat.com>
5146
5147 * gdb.threads/break-while-running.exp: New file.
5148 * gdb.threads/break-while-running.c: New file.
5149
00ba3162
YQ
51502014-09-19 Yao Qi <yao@codesourcery.com>
5151
5152 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5153 Invoke test. Restart GDB with --readnow and invoke test again.
5154
c3b7b696
YQ
51552014-09-19 Yao Qi <yao@codesourcery.com>
5156
5157 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5158 proc set_breakpoint_on_gcd_function. Invoke
5159 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5160 invoke set_breakpoint_on_gcd_function again.
5161
2b4fd423
DE
51622014-09-18 Doug Evans <dje@google.com>
5163
5164 * gdb.dwarf2/symtab-producer.exp: New file.
5165
a5947601
SDJ
51662014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5167
5168 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5169 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5170 * gdb.base/global-var-nested-by-dso.c: Likewise.
5171 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5172
91c19059
SDJ
51732014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5174 Pedro Alves <palves@redhat.com>
5175
5176 * gdb.base/watch-bitfields.exp: Pass string other than test file
5177 name to prepare_for_testing.
5178 (watch): New procedure.
5179 (expect_watchpoint): Use with_test_prefix.
5180 (top level): Factor out tests to ...
5181 (test_watch_location, test_regular_watch): ... these new
5182 procedures, and use with_test_prefix and gdb_continue_to_end.
5183
bb9d5f81
PP
51842014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5185
5186 PR breakpoints/12526
5187 * gdb.base/watch-bitfields.exp: New file.
5188 * gdb.base/watch-bitfields.c: New file.
5189
635856f5
PA
51902014-09-16 Pedro Alves <palves@redhat.com>
5191
5192 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5193 software and hardware addresses, not software address against
5194 itself.
5195
7280ceea
PA
51962014-09-16 Pedro Alves <palves@redhat.com>
5197
5198 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5199 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5200
428b16bd
PA
52012014-09-16 Pedro Alves <palves@redhat.com>
5202
5203 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5204 files.
5205 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5206 "*-*-vxworks*" throughout.
5207 * gdb.base/break.exp: Likewise.
5208 * gdb.base/default.exp: Likewise.
5209 * gdb.base/scope.exp: Likewise.
5210 * gdb.base/sepdebug.exp: Likewise.
5211 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5212 throughout.
5213 * gdb.base/run.c: Likewise.
5214 * gdb.base/sepdebug.c: Likewise.
5215 * gdb.hp/gdb.aCC/run.c: Likewise.
5216 * gdb.reverse/until-reverse.c: Likewise.
5217 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5218
666d413c
YQ
52192014-09-16 Yao Qi <yao@codesourcery.com>
5220
5221 * boards/local-remote-host-native.exp: New file.
5222
57cbd724
DE
52232014-09-14 Doug Evans <xdje42@gmail.com>
5224
5225 * gdb.threads/queue-signal.c (thread_count): New variable.
5226 (thread_count_mutex, thread_count_condvar): New variables.
5227 (incr_thread_count, wait_all_threads_running): New functions.
5228 (main): Wait for all threads to be in their thread functions.
5229
81219e53
DE
52302014-09-13 Doug Evans <xdje42@gmail.com>
5231
5232 * gdb.threads/queue-signal.c: New file.
5233 * gdb.threads/queue-signal.exp: New file.
5234
3714cea7
DE
52352014-09-13 Doug Evans <xdje42@gmail.com>
5236
5237 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5238 be consistent with what default_gdb_init uses.
5239 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5240 the plain text of the prompt. Add some logging printfs.
5241 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5242
fa43b1d7
PA
52432014-09-12 Pedro Alves <palves@redhat.com>
5244
5245 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5246 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5247 * gdb.arch/i386-size-overlap.exp: Likewise.
5248 * gdb.arch/i386-size.exp: Likewise.
5249 * gdb.arch/i386-unwind.exp: Likewise.
5250 * gdb.base/a2-run.exp: Likewise.
5251 * gdb.base/break.exp: Likewise.
5252 * gdb.base/charset.exp: Likewise.
5253 * gdb.base/chng-syms.exp: Likewise.
5254 * gdb.base/commands.exp: Likewise.
5255 * gdb.base/dbx.exp: Likewise.
5256 * gdb.base/find.exp: Likewise.
5257 * gdb.base/funcargs.exp: Likewise.
5258 * gdb.base/jit-simple.exp: Likewise.
5259 * gdb.base/reread.exp: Likewise.
5260 * gdb.base/sepdebug.exp: Likewise.
5261 * gdb.base/step-bt.exp: Likewise.
5262 * gdb.cp/mb-inline.exp: Likewise.
5263 * gdb.cp/mb-templates.exp: Likewise.
5264 * gdb.objc/basicclass.exp: Likewise.
5265 * gdb.threads/killed.exp: Likewise.
5266
9d9bf2df
EBM
52672014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5268
5269 PR tdep/17379
5270 * gdb.arch/powerpc-stackless.S: New file.
5271 * gdb.arch/powerpc-stackless.exp: New file.
5272
1cf2f1b0
JK
52732014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5274
5275 * gdb.base/attach.c: Include unistd.h.
5276 (main): Call alarm. Add label postloop.
5277 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5278 gdb_breakpoint, gdb_continue_to_breakpoint.
5279 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5280
98880d46
PA
52812014-09-11 Pedro Alves <palves@redhat.com>
5282
5283 PR gdb/17347
5284 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5285 * gdb.base/attach.exp (test_command_line_attach_run): New
5286 procedure.
5287 (top level): Call it.
5288
4c92ff2c
PA
52892014-09-11 Pedro Alves <palves@redhat.com>
5290
5291 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5292 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5293 (do_command_attach_tests): Use spawn_wait_for_attach.
5294 * gdb.base/solib-overlap.exp: Likewise.
5295 * gdb.multi/multi-attach.exp: Likewise.
5296 * gdb.python/py-prompt.exp: Likewise.
5297 * gdb.python/py-sync-interp.exp: Likewise.
5298 * gdb.server/ext-attach.exp: Likewise.
5299
3adc1a7d
GKB
53002014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5301
5302 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5303 command in testcase. Simplify testcase.
5304
96334934
JB
53052014-09-10 Joel Brobecker <brobecker@adacore.com>
5306
5307 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5308
eb479039
JB
53092014-09-10 Joel Brobecker <brobecker@adacore.com>
5310
5311 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5312
deede10c
JB
53132014-09-10 Joel Brobecker <brobecker@adacore.com>
5314
5315 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5316
7828a5f5
JB
53172014-09-10 Joel Brobecker <brobecker@adacore.com>
5318
5319 * gdb.dwarf2/dynarr-ptr.c: New file.
5320 * gdb.dwarf2/dynarr-ptr.exp: New file.
5321
33aeebcf
MR
53222014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5323
5324 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5325 of 30 rather than hardcoding 120 for a slow test case. Take the
5326 `gdb,timeout' target setting into account for this calculation.
5327 Don't extend the timeout for the test cases that don't need it.
5328
7b415901
MR
53292014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5330
5331 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5332 a factor of 2 for a slow test case. Take the `gdb,timeout'
5333 target setting into account for this calculation.
5334 * gdb.reverse/until-precsave.exp: Increase the timeout by
5335 a factor of 15 and 3 respectively rather than adding 120
5336 for a pair of slow test cases. Take the `gdb,timeout'
5337 target setting into account for this calculation.
5338
4a40f85a
MR
53392014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5340
5341 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5342 timeout, don't pass one down to gdb_expect.
5343 (gdb_expect): Rework timeout selection.
5344
09635af7
MR
53452014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5346
5347 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5348 exception on timeout.
5349 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5350 (gdbserver_start_extended): Catch any `gdbserver_start' error
5351 exceptions.
5352 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5353 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5354 `gdbserver_gdb_load' error exceptions.
5355
2bdd10b7
MR
53562014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5357
5358 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5359 120 on waiting for the TCP socket to open.
5360
316935f0
DE
53612014-09-09 Doug Evans <xdje42@gmail.com>
5362
5363 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5364 _caller_matches, _any_caller_is, _any_caller_matches.
5365
83740597
DE
53662014-09-09 Doug Evans <xdje42@gmail.com>
5367
5368 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5369
4c122fc3
YQ
53702014-09-09 Yao Qi <yao@codesourcery.com>
5371
5372 * gdb.mi/mi-var-display.exp: Set print symbol off.
5373
a9f116cb
GKB
53742014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5375
5376 PR gdb/17035
5377 * gdb.base/commands.exp: Add tests to verify user-defined
5378 commands with empty bodies.
5379 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5380 python commands in `show user command`.
5381 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5382 scheme commands in `show user command`.
5383
c75bd3a2
JK
53842014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5385
5386 PR python/17355
5387 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5388 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5389 * gdb.python/py-framefilter-invalidarg.exp: New file.
5390 * gdb.python/py-framefilter-invalidarg.py: New file.
5391
faa42425
DE
53922014-09-06 Doug Evans <xdje42@gmail.com>
5393
5394 PR 15276
5395 * gdb.python/py-caller-is.c: New file.
5396 * gdb.python/py-caller-is.exp: New file.
5397
474ca4f6
SDJ
53982014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5399
5400 PR gdb/17235
5401 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5402 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5403
eb0b0463
SDJ
54042014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5405
5406 PR fortran/17237
5407 * gdb.fortran/print-formatted.exp: New file.
5408 * gdb.fortran/print-formatted.f90: Likewise.
5409
5f3b99cf
SS
54102014-09-03 Sasha Smundak <asmundak@google.com>
5411
5412 * gdb.python/py-frame.exp: Test Frame.read_register.
5413
7d793aa9
SDJ
54142014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5415
5416 PR python/16699
5417 * gdb.python/py-completion.exp: New file.
5418 * gdb.python/py-completion.py: Likewise.
5419
fb0576e9
DE
54202014-08-28 Doug Evans <dje@google.com>
5421
5422 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5423 eax,etc. are live with values set by gdb and thus the compiler can't
5424 use them.
5425 * gdb.arch/i386-pseudo.c (main): Ditto.
5426
ee92b0dd
DE
54272014-08-27 Doug Evans <dje@google.com>
5428
5429 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5430
6649db35
DE
54312014-08-25 Doug Evans <dje@google.com>
5432
5433 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5434 (main): Ditto.
5435
564b7600
DE
54362014-08-25 Doug Evans <dje@google.com>
5437
5438 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5439
3881fb67
YQ
54402014-08-24 Yao Qi <yao@codesourcery.com>
5441
5442 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5443 symbol off.
5444 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5445
a05a36a5
DE
54462014-08-22 Doug Evans <dje@google.com>
5447
5448 PR 17276
5449 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5450 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5451 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5452
7c343b48
YQ
54532014-08-22 Yao Qi <yao@codesourcery.com>
5454
5455 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5456 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5457 * gdb.python/python.exp: Likewise. Use .py file on the host
5458 instead of the build.
5459
22fd09ae
JK
54602014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5461
5462 * gdb.threads/gcore-stale-thread.c: New file.
5463 * gdb.threads/gcore-stale-thread.exp: New file.
5464
a8454a7c
PA
54652014-08-21 Pedro Alves <palves@redhat.com>
5466
5467 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5468 * gdb.base/gcore-relro-pie.exp: Likewise.
5469 * gdb.base/gcore-relro.exp: Likewise.
5470 * gdb.base/gcore.exp: Likewise.
5471 * gdb.base/print-symbol-loading.exp: Likewise.
5472 * gdb.threads/gcore-thread.exp: Likewise.
5473 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5474
2a31c623
PA
54752014-08-20 Pedro Alves <palves@redhat.com>
5476 Jan Kratochvil <jan.kratochvil@redhat.com>
5477
5478 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5479 configure.
5480 (EXPECT): Handle READ1 being set.
5481 (all): Depend on EXTRA_RULES.
5482 (check-read1, expect-read1, read1.so, read1): New rules.
5483 * README (Testsuite Parameters): Document the READ1 make variable.
5484 (Race detection): New section.
5485 * configure: Regenerate.
5486 * configure.ac: If build==host==target, and running under a
5487 GNU/glibc system, add read1 to the extra Makefile rules.
5488 (EXTRA_RULES): AC_SUBST it.
5489 * lib/read1.c: New file.
5490
d36430db
JB
54912014-08-20 Joel Brobecker <brobecker@adacore.com>
5492
5493 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5494 the handling of variables declared as a typedef to an array
5495 which a DW_AT_data_location attribute.
5496
9a0dc9e3
PA
54972014-08-19 Andrew Burgess <aburgess@broadcom.com>
5498 Pedro Alves <palves@redhat.com>
5499
5500 PR symtab/14604
5501 PR symtab/14605
5502 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5503 gdb_test.
5504
0718a8da
PA
55052014-08-19 Pedro Alves <palves@redhat.com>
5506
5507 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5508
13b448cd
YQ
55092014-08-19 Yao Qi <yao@codesourcery.com>
5510
5511 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5512 right line.
5513
1cbf5077
DB
55142014-08-18 David Blaikie <dblaikie@gmail.com>
5515
5516 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5517
bf0fae19
JB
55182014-08-18 Joel Brobecker <brobecker@adacore.com>
5519
5520 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5521 attribute in array range.
5522
3c8c5dcc
JB
55232014-08-18 Joel Brobecker <brobecker@adacore.com>
5524
5525 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5526
e66d4446
SC
55272014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5528
5529 PR c++/17132
5530 * gdb.cp/pr17132.cc: New file.
5531 * gdb.cp/pr17132.exp: New file.
5532
940df408
SC
55332014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5534
5535 * gdb.python/py-xmethods.py (A_getarrayind)
5536 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5537 Use 'print' with function call syntax.
5538 (E_method_matcher.match): Fix tab vs space indentation mixup.
5539
ebcc6c3a
YQ
55402014-08-15 Yao Qi <yao@codesourcery.com>
5541
5542 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5543 false.
5544
775e0f04
YQ
55452014-08-15 Yao Qi <yao@codesourcery.com>
5546
5547 * gdb.cp/casts.exp: Set print symbol off.
5548 * gdb.cp/class2.exp: Likewise.
5549 * gdb.cp/overload.exp: Likewise.
5550 * gdb.cp/templates.exp: Likewise.
5551
d769e349
DE
55522014-08-11 Doug Evans <dje@google.com>
5553
5554 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5555 (test_load_shlib): Update.
5556
20c6f1e1
YQ
55572014-08-09 Yao Qi <yao@codesourcery.com>
5558
5559 * gdb.base/display.exp: Invoke is_address_zero_readable.
5560 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5561 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5562 * gdb.base/hbreak-unmapped.exp: Return if
5563 is_address_zero_readable returns true.
5564 * gdb.base/signest.exp: Likewise.
5565 * gdb.base/signull.exp: Likewise.
5566 * gdb.base/sigbpt.exp: Likewise.
5567 * gdb.guile/scm-disasm.exp: Do the test if
5568 is_address_zero_readable returns false.
5569 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5570 * gdb.python/py-arch.exp: Likewise.
5571 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5572 * lib/gdb.exp (is_address_zero_readable): New proc.
5573
5792e8e3
YQ
55742014-08-09 Yao Qi <yao@codesourcery.com>
5575
5576 PR testsuite/13443
5577 * gdb.mi/mi-var-display.exp: Make test messages unique.
5578
3cecbbbe
TT
55792014-08-04 Tom Tromey <tromey@redhat.com>
5580
5581 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5582 target 0".
5583
00b51ff5
TT
55842014-08-04 Tom Tromey <tromey@redhat.com>
5585
5586 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5587 "target_resume".
5588
6908c509
JB
55892014-08-01 Joel Brobecker <brobecker@adacore.com>
5590
5591 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5592 inner_vla_struct_object_size.
5593 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5594 as xfail.
5595
cc6563d2
PA
55962014-07-30 Pedro Alves <palves@redhat.com>
5597
5598 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5599 comment.
5600
7e09a223
YQ
56012014-07-29 Yao Qi <yao@codesourcery.com>
5602
5603 PR gdb/17206
5604 * gdb.base/until-nodebug.exp: New.
5605
7ebdbe92
DE
56062014-07-28 Doug Evans <xdje42@gmail.com>
5607
5608 PR guile/17203
5609 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5610 previously existing parameter, and previously ambiguously spelled
5611 parameter.
5612
fdb1adc6
WN
56132014-07-28 Will Newton <will.newton@linaro.org>
5614
5615 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5616
186fcde0
DE
56172014-07-26 Ludovic Courtès <ludo@gnu.org>
5618 Doug Evans <xdje42@gmail.com>
5619
5620 PR guile/17146
5621 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5622
70509625
PA
56232014-07-25 Pedro Alves <palves@redhat.com>
5624
5625 * gdb.threads/signal-command-handle-nopass.c: New file.
5626 * gdb.threads/signal-command-handle-nopass.exp: New file.
5627 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5628 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5629 * gdb.threads/signal-delivered-right-thread.c: New file.
5630 * gdb.threads/signal-delivered-right-thread.exp: New file.
5631
c3f814a1
PA
56322014-07-25 Pedro Alves <palves@redhat.com>
5633
5634 * gdb.base/double-prompt-target-event-error.exp
5635 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5636 match.
5637 (cancel_pagination_in_target_event): Rework double prompt
5638 detection.
5639 * gdb.base/paginate-after-ctrl-c-running.exp
5640 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5641 <return>' match.
5642 * gdb.base/paginate-bg-execution.exp
5643 (test_bg_execution_pagination_return)
5644 (test_bg_execution_pagination_cancel): Remove '-notransfer
5645 <return>' matches.
5646 * gdb.base/paginate-execution-startup.exp
5647 (test_fg_execution_pagination_return)
5648 (test_fg_execution_pagination_cancel): Remove '-notransfer
5649 <return>' matches.
5650 * gdb.base/paginate-inferior-exit.exp
5651 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5652 match.
5653 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5654 * lib/gdb.exp (pagination_prompt): Run text through
5655 string_to_regexp.
5656 (gdb_test_multiple): Match $pagination_prompt instead of
5657 "<return>".
5658 (string_to_regexp): Move to lib/gdb-utils.exp.
5659
e214cf6c
JK
56602014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5661
5662 * gdb.arch/amd64-entry-value-paramref.S: New file.
5663 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5664 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5665 * gdb.arch/amd64-optimout-repeat.S: New file.
5666 * gdb.arch/amd64-optimout-repeat.c: New file.
5667 * gdb.arch/amd64-optimout-repeat.exp: New file.
5668
17d0c5c8
JK
56692014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5670
5671 PR gdb/17170
5672 * gdb.base/statistics.exp: New file.
5673
b8b8facf
DE
56742014-07-17 Doug Evans <dje@google.com>
5675
74b49205 5676 PR gdb/17170
b8b8facf
DE
5677 * gdb.base/maint.exp: Update testing of per-command stats.
5678
1b5d0ab3
PA
56792014-07-16 Pedro Alves <palves@redhat.com>
5680
5681 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5682 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5683 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5684 (tfile_write_buf): New functions.
5685 (add_memory_block): Rewrite using the above.
5686 (adjust_function_address): New function.
5687 (FUNCTION_ADDRESS): New macro.
5688 (write_basic_trace_file): Remove short_x local, and use
5689 tfile_write_16. Change type of func_addr local to unsigned long
5690 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5691 here. Cast argument of add_memory_block to char pointer.
5692 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5693 (main): Remove parameters.
5694 * gdb.trace/tfile.exp: Remove nowarnings.
5695
4d974e88
SM
56962014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5697
5698 * gdb.base/debug-expr.exp: Test string evaluation with
5699 "debug expression" on.
5700
41e99568
PA
57012014-07-15 Pedro Alves <palves@redhat.com>
5702
5703 * gdb.base/reread.exp: Use clean_restart.
5704
487d9753
PL
57052014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5706
5707 * gdb.arch/avr-flash-qualifer.c: New.
5708 * gdb.arch/avr-flash-qualifer.exp: New.
5709
cc1c52ad
PA
57102014-07-14 Pedro Alves <palves@redhat.com>
5711
5712 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5713 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5714
1e973570
PA
57152014-07-14 Pedro Alves <palves@redhat.com>
5716
5717 * gdb.base/double-prompt-target-event-error.c: New file.
5718 * gdb.base/double-prompt-target-event-error.exp: New file.
5719
93d6eb10
PA
57202014-07-14 Pedro Alves <palves@redhat.com>
5721
5722 PR gdb/17072
5723 * gdb.base/paginate-inferior-exit.c: New file.
5724 * gdb.base/paginate-inferior-exit.exp: New file.
5725
0017922d
PA
57262014-07-14 Pedro Alves <palves@redhat.com>
5727
5728 PR gdb/17072
5729 * gdb.base/paginate-bg-execution.c: New file.
5730 * gdb.base/paginate-bg-execution.exp: New file.
5731
94696ad3
PA
57322014-07-14 Pedro Alves <palves@redhat.com>
5733
5734 PR gdb/17072
5735 * gdb.base/paginate-execution-startup.c: New file.
5736 * gdb.base/paginate-execution-startup.exp: New file.
5737 * lib/gdb.exp (pagination_prompt): New global.
5738 (default_gdb_spawn): New procedure, factored out from
5739 default_gdb_spawn.
5740 (default_gdb_start): Adjust to call default_gdb_spawn.
5741 (gdb_spawn): New procedure.
5742
bd293940
PA
57432014-07-14 Pedro Alves <palves@redhat.com>
5744
5745 * lib/gdb.exp (gdb_assert): New procedure.
5746 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5747
c933f875
PA
57482014-07-14 Pedro Alves <palves@redhat.com>
5749
5750 * gdb.base/execution-termios.c: New file.
5751 * gdb.base/execution-termios.exp: New file.
5752
d98b7a16
TT
57532014-07-14 Tom Tromey <tromey@redhat.com>
5754
5755 * gdb.cp/vla-cxx.cc: New file.
5756 * gdb.cp/vla-cxx.exp: New file.
5757
548740d6
TT
57582014-07-14 Tom Tromey <tromey@redhat.com>
5759
5760 * gdb.reverse/rerun-prec.c: New file.
5761 * gdb.reverse/rerun-prec.exp: New file.
5762
a25eb028
MR
57632014-07-12 Maciej W. Rozycki <macro@mips.com>
5764 Maciej W. Rozycki <macro@codesourcery.com>
5765
5766 * lib/gdb-utils.exp: New file.
5767 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5768 inline `gdb_init_command' processing.
5769 (gdb_start_cmd): Likewise.
5770 * lib/mi-support.exp (mi_run_cmd): Likewise.
5771 * README: Document `gdb_init_command' and `gdb_init_commands'.
5772
218c2655
JK
57732014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5774
5775 Fix false FAIL running under a very long directory name.
5776 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5777 and "set print elements 10000". Twice.
5778
5401fde3
YQ
57792014-07-11 Yao Qi <yao@codesourcery.com>
5780
5781 * gdb.base/exprs.exp: "set print symbol off".
5782
e76126e8
PA
57832014-07-11 Pedro Alves <palves@redhat.com>
5784
5785 * gdb.threads/kill.c: New file.
5786 * gdb.threads/kill.exp: New file.
5787
2d6f0de6
YQ
57882014-07-10 Yao Qi <yao@codesourcery.com>
5789
5790 * gdb.trace/tfile.c (write_basic_trace_file)
5791 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5792 address written to trace file.
5793
7180e04a
PA
57942014-07-09 Pedro Alves <palves@redhat.com>
5795
5796 * gdb.base/attach-wait-input.exp: New file.
5797 * gdb.base/attach-wait-input.c: New file.
5798
9a9a7608
AB
57992014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5800
5801 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5802 setting up test structures.
5803 (main): Call new test function.
5804 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5805 test function, continue into test function and walk test
5806 structures.
5807
161ac41e
YQ
58082014-07-02 Yao Qi <yao@codesourcery.com>
5809
5810 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5811 'bar_start' at the beginning of functions 'foo' and 'bar'
5812 respectively.
5813 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5814 instead of 'foo' and 'bar'.
5815
1f267ae3
MM
58162014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5817
5818 * gdb.btrace/segv.exp: New.
5819 * gdb.btrace/segv.c: New.
5820
2b239efb
LM
58212014-07-02 Luis Machado <lgustavo@codesourcery.com>
5822
5823 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5824 instruction.
5825
cf363f18
MW
58262014-06-30 Mark Wielaard <mjw@redhat.com>
5827
5828 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5829 vulture, vilify, villar): New volatile array constants.
5830 (vindictive, vegetation): New const volatile array constants.
5831 * gdb.base/volatile.exp: Test volatile and const volatile array
5832 types.
5833
aebf9d24
AA
58342014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5835
5836 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5837 target lacks support for awatch, rwatch, or hbreak.
5838
b67a2c6f
YQ
58392014-06-27 Yao Qi <yao@codesourcery.com>
5840
5841 * gdb.multi/dummy-frame-restore.exp: New.
5842 * gdb.multi/dummy-frame-restore.c: New.
5843
aef92902
MM
58442014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5845
5846 * gdb.btrace/gcore.exp: New.
5847
8e9db26e
PA
58482014-06-23 Pedro Alves <palves@redhat.com>
5849
5850 * gdb.base/watchpoint-reuse-slot.c: New file.
5851 * gdb.base/watchpoint-reuse-slot.exp: New file.
5852
70afc5b7
SC
58532014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5854
5855 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5856 progspace's filename in 'info', 'enable' and 'disable' command
5857 tests.
5858
b972bd9c
JK
58592014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5860
5861 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5862 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5863 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5864
125f8a3d
GB
58652014-06-20 Gary Benson <gbenson@redhat.com>
5866
5867 * gdb.arch/i386-avx.exp: Fix include file location.
5868 * gdb.arch/i386-sse.exp: Likewise.
5869
3ed9baed
IB
58702014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5871
5872 * gdb.dlang/expression.exp: New file.
5873
034f788c
PA
58742014-06-19 Pedro Alves <palves@redhat.com>
5875
5876 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5877 out from ...
5878 (top level): ... here. Iterate running tests under different
5879 scheduler-locking settings.
5880
45371d0c
LM
58812014-06-18 Luis Machado <lgustavo@codesourcery.com>
5882
5883 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5884 to DW_FORM_addr and use non-zero addresses.
5885
5d376983
SC
58862014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5887
5888 PR gdb/17017
5889 * gdb.python/py-xmethods.cc: Add global function call counters and
5890 increment them in their respective functions. Remove "cout"
5891 statements.
5892 * gdb.python/py-xmethods.exp: Make tests check the global function
5893 call counters instead of depending on inferior IO.
5894
a1aa2221
LM
58952014-06-18 Don Breazeal <donb@codesourcery.com>
5896
5897 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5898 Deleted procedure.
5899 (explicit_fork_parent_follow): Deleted procedure.
5900 (explicit_fork_child_follow): Deleted procedure.
5901 (test_follow_fork): New procedure.
5902 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5903 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5904 procedure calls.
5905
0fc05997
YQ
59062014-06-17 Yao Qi <yao@codesourcery.com>
5907
5908 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5909 CP1252.
5910
70795c52
LM
59112014-06-17 Luis Machado <lgustavo@codesourcery.com>
5912
5913 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5914 Initialize ptr and S explicitly.
5915 (skip_type_update_when_not_use_rtti_test): Likewise.
5916
6be47f0c
KS
59172014-06-16 Keith Seitz <keiths@redhat.com>
5918
5919 PR mi/15863
5920 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5921 the inferior is started.
5922
d03de421
PA
59232014-06-16 Pedro Alves <palves@redhat.com>
5924
5925 * gdb.base/break-main-file-remove-fail.c: New file.
5926 * gdb.base/break-main-file-remove-fail.exp: New file.
5927 * gdb.base/break-unload-file.exp: Use build_executable instead of
5928 prepare_for_testing.
5929 (test_break): New parameter "initial_load". Handle it.
5930 (top level): Add initial_load cmdline/file axis.
5931
f9579b99
TT
59322014-06-12 Tom Tromey <tromey@redhat.com>
5933
5934 * gdb.base/completion.exp: Don't use directory name in test.
5935
3657956b
GB
59362014-06-09 Gary Benson <gbenson@redhat.com>
5937
5938 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5939 separate the always-available ANSI-standard signals from the
5940 signals that require checking.
5941 (main): Likewise.
5942 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5943 Likewise.
5944 (main): Likewise.
5945
4186eb54
KS
59462014-06-07 Keith Seitz <keiths@redhat.com>
5947
5948 Revert:
5949 PR c++/16253
5950 * gdb.cp/var-tag.cc: New file.
5951 * gdb.cp/var-tag.exp: New file.
5952 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5953 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5954 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5955 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5956
25326a28 59572014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
5958
5959 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5960
829155c9
PA
59612014-06-06 Pedro Alves <palves@redhat.com>
5962
5963 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5964 in target debug output instead of looking at RSP packets,
5965 disabling the test on any target that uses hardware stepping.
5966 Update comments.
5967
61c8d22e
PA
59682014-06-06 Pedro Alves <palves@redhat.com>
5969
5970 * gdb.base/break-unload-file.exp: Fix typo.
5971
d9a47287
YQ
59722014-06-06 Yao Qi <yao@codesourcery.com>
5973
5974 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5975 from "jit_function" to "^jit_function".
5976
e5e01dbf
YQ
59772014-06-06 Yao Qi <yao@codesourcery.com>
5978
5979 * gdb.base/async.c (foo): Add one statement.
5980 * gdb.base/async.exp: Get the next instruction address and
5981 match the output of "nexti" by instruction address. Match
5982 the hex address in the output of "finish".
5983
73ba372c
GB
59842014-06-06 Gary Benson <gbenson@redhat.com>
5985
5986 * gdb.base/call-signals.c: Remove preprocessor conditionals
5987 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5988 SIGSEGV and SIGTERM.
5989 * gdb.base/sigall.c: Likewise.
5990 * gdb.base/unwindonsignal.c: Likewise.
5991 * gdb.reverse/sigall-reverse.c: Likewise.
5992
831517df
YQ
59932014-06-06 Yao Qi <yao@codesourcery.com>
5994
5995 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5996 readable, skip the test.
5997
b8b91e98
YQ
59982014-06-06 Yao Qi <yao@codesourcery.com>
5999
6000 * gdb.threads/staticthreads.c (thread_function): Move the line
6001 setting breakpoint on forward.
6002 * gdb.threads/staticthreads.exp: Update comments.
6003
fb934770
LC
60042014-06-05 Ludovic Courtès <ludo@gnu.org>
6005
6006 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6007 "history-append! type error".
6008
6ef284bd
SM
60092014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6010
6011 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6012 erroneous dprintf expected input.
6013
a872e241
DE
60142014-06-04 Doug Evans <xdje42@gmail.com>
6015
6016 * gdb.guile/scm-generics.exp: Delete.
6017
16f691fb
DE
60182014-06-04 Doug Evans <xdje42@gmail.com>
6019
6020 * gdb.guile/scm-breakpoint.exp: Update.
6021 Add tests for breakpoint registration.
6022
012370f6
TT
60232014-06-04 Tom Tromey <tromey@redhat.com>
6024
6025 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6026 VLA-in-union.
6027 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6028 inner_vla_struct, vla_union types. Initialize objects of those
6029 types and compute their sizes.
6030
9f5a4cef
HZ
60312014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6032 Hui Zhu <hui@codesourcery.com>
6033
6034 * gdb.base/fileio.exp: Add test for shell not available as well as
6035 available.
6036 * gdb.base/fileio.c (test_system): Check for shell twice.
6037
90a45c4d
YQ
60382014-06-04 Yao Qi <yao@codesourcery.com>
6039
6040 * gdb.base/auto-connect-native-target.exp: Remove redundant
6041 space from the regexp pattern.
6042
70017e41
YQ
60432014-06-04 Yao Qi <yao@codesourcery.com>
6044
6045 * gdb.base/default.exp: Replace "child" with "native" in
6046 regexp pattern.
6047
883964a7
SC
60482014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6049
6050 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6051 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6052 * gdb.python/py-xmethods.py: Python script supporting the
6053 new testcase and tests.
6054
ef370185
JB
60552014-06-03 Joel Brobecker <brobecker@adacore.com>
6056 Pedro Alves <palves@redhat.com>
6057
6058 PR breakpoints/17000
6059 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6060 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6061
1e2ccb61
BM
60622014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6063
6064 * gdb.base/subst.exp: Add tests to verify partial path matching
6065 output.
6066
c6ec5ab2
PA
60672014-06-03 Pedro Alves <palves@redhat.com>
6068
6069 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6070 target that doesn't use software single-stepping.
6071
835c559f
PA
60722014-06-03 Pedro Alves <palves@redhat.com>
6073
6074 PR breakpoints/17000
6075 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6076 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6077
06eb1586
DE
60782014-06-02 Doug Evans <xdje42@gmail.com>
6079
6080 * gdb.guile/scm-parameter.exp: New file.
6081
e698b8c4
DE
60822014-06-02 Doug Evans <xdje42@gmail.com>
6083
6084 * gdb.guile/scm-cmd.c: New file.
6085 * gdb.guile/scm-cmd.exp: New file.
6086
ded03782
DE
60872014-06-02 Doug Evans <xdje42@gmail.com>
6088
6089 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6090 pretty-printer lookup.
6091 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6092 (make-pp_s-printer): Call it.
6093 (make-pretty-printer-from-dict): New function.
6094 (lookup-pretty-printer-maker-from-dict): New function.
6095 (*pretty-printer*): Simplify.
6096 (make-objfile-pp_s-printer): New function.
6097 (install-objfile-pretty-printers!): New function.
6098 (make-progspace-pp_s-printer): New function.
6099 (install-progspace-pretty-printers!): New function.
6100 * gdb.guile/scm-progspace.c: New file.
6101 * gdb.guile/scm-progspace.exp: New file.
6102
41fac0cf
PA
61032014-06-02 Pedro Alves <palves@redhat.com>
6104
6105 * gdb.base/dprintf-bp-same-addr.c: New file.
6106 * gdb.base/dprintf-bp-same-addr.exp: New file.
6107
96ae5695
EBM
61082014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6109
6110 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6111 * gdb.arch/powerpc-power.s: Likewise.
6112
da02b3a8
JB
61132014-06-02 Joel Brobecker <brobecker@adacore.com>
6114
6115 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6116
c72b2e7b
YQ
61172014-06-01 Yao Qi <yao@codesourcery.com>
6118
6119 * gdb.base/watchpoint.exp (test_watch_location): Check null
6120 pointer can be dereferenced. If not, do the test, otherwise
6121 skip it.
6122
53e8a631
AB
61232014-05-30 Andrew Burgess <aburgess@broadcom.com>
6124
6125 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6126 results.
6127 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6128
938f0e2f
AB
61292014-05-30 Andrew Burgess <aburgess@broadcom.com>
6130
6131 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6132 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6133 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6134 * gdb.arch/amd64-invalid-stack-top.c: New file.
6135 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6136
9ba6657a
PA
61372014-05-30 Pedro Alves <palves@redhat.com>
6138
6139 PR breakpoints/17000
6140 * gdb.base/sss-bp-on-user-bp.c: New file.
6141 * gdb.base/sss-bp-on-user-bp.exp: New file.
6142
522c09bf
DB
61432014-05-30 David Blaikie <dblaikie@gmail.com>
6144
6145 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6146 gnu_inline semantics via attribute.
6147 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6148 source explicitly specifies the required semantics.
6149
bf4ef81e
MR
61502014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6151
6152 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6153
329ea579
PA
61542014-05-29 Pedro Alves <palves@redhat.com>
6155 Tom Tromey <tromey@redhat.com>
6156
6157 * gdb.base/async-shell.exp: Don't enable target-async.
6158 * gdb.base/async.exp
6159 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6160 parameter. Adjust.
6161 (top level): Don't test with "target-async".
6162 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6163 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6164 * gdb.base/inferior-died.exp: Don't enable target-async.
6165 * gdb.base/interrupt-noterm.exp: Likewise.
6166 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6167 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6168 * gdb.mi/mi-nonstop.exp: Likewise.
6169 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6170 * gdb.mi/mi-nsintrall.exp: Likewise.
6171 * gdb.mi/mi-nsmoribund.exp: Likewise.
6172 * gdb.mi/mi-nsthrexec.exp: Likewise.
6173 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6174 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6175 * gdb.python/py-evsignal.exp: Don't enable target-async.
6176 * gdb.python/py-evthreads.exp: Likewise.
6177 * gdb.python/py-prompt.exp: Likewise.
6178 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6179 * gdb.server/solib-list.exp: Don't enable target-async.
6180 * gdb.threads/thread-specific-bp.exp: Likewise.
6181 * lib/mi-support.exp: Adjust to use mi-async.
6182
fd664c91
PA
61832014-05-29 Pedro Alves <palves@redhat.com>
6184
6185 PR gdb/13860
6186 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6187 reason, even in sync mode.
6188
251bde03
PA
61892014-05-29 Pedro Alves <palves@redhat.com>
6190 Hui Zhu <hui@codesourcery.com>
6191
6192 PR PR15693
6193 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6194 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6195 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6196 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6197
7f3c0343
JB
61982014-05-28 Joel Brobecker <brobecker@adacore.com>
6199
6200 * config/monitor.exp (gdb_target_monitor): Replace use of
6201 "set remotebaud" by "set serial baud".
6202
b2715b27
AW
62032014-05-26 Andy Wingo <wingo@igalia.com>
6204
6205 * gdb.guile/scm-breakpoint.exp:
6206 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6207 properties instead of gdb-object-properties.
6208
498a4489
YQ
62092014-05-26 Yao Qi <yao@codesourcery.com>
6210
6211 * gdb.server/no-thread-db.exp: Specify source file name
6212 explicitly when setting a breakpoint.
6213
589fdceb
MM
62142014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6215
6216 * gdb.btrace/vdso.c: New.
6217 * gdb.btrace/vdso.exp: New.
6218
e9089e05
MM
62192014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6220
6221 * gdb.base/gcore.exp (capture_command_output): Move ...
6222 * lib/gdb.exp (capture_command_output): ... here.
6223
67b5c0c1
MM
62242014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6225
6226 * gdb.btrace/data.exp: Test memory access during btrace replay.
6227
a2199296
SM
62282014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6229
6230 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6231
17b2616c
PA
62322014-05-21 Pedro Alves <palves@redhat.com>
6233
6234 PR gdb/13860
6235 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6236 (top level): Test that output related to execution commands is
6237 sent to the console with CLI commands, but not with MI commands.
6238 Test that breakpoint events are always mirrored to the console.
6239 Also expect the new source line to be output after a "next" in
6240 async mode too. Make it a pass/fail test.
6241 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6242 output.
6243 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6244
5166082f
PA
62452014-05-21 Pedro Alves <palves@redhat.com>
6246
6247 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6248 Use them to test variations of "list" after reaching a breakpoint.
6249 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6250 Test "list" with listsize 10 after reaching a breakpoint.
6251 * gdb.python/python.exp (decode_line current location line
6252 number): Adjust expected line number.
6253
2f25d70f
SM
62542014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6255
6256 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6257 behavior for $args, pass it directly to "run".
6258
ff604a67
MR
62592014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6260
6261 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6262 30000 to 65536.
6263
6a3cb8e8
PA
62642014-05-21 Pedro Alves <palves@redhat.com>
6265
6266 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6267 auto-connect-native-target off".
6268 * gdb.base/auto-connect-native-target.c: New file.
6269 * gdb.base/auto-connect-native-target.exp: New file.
6270
4ebfc96e
PA
62712014-05-21 Pedro Alves <palves@redhat.com>
6272
6273 * gdb.base/default.exp: Test "target native" instead of "target
6274 child".
6275
36d46afb
MW
62762014-05-21 Mark Wielaard <mjw@redhat.com>
6277
6278 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6279
5876f503
JK
62802014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6281
6282 Fix TLS access for -static -pthread.
6283 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6284 <HAVE_TLS> (thread_function, main): Initialize it.
6285 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6286 Add clean_restart.
6287 <$have_tls != "">: Check TLSVAR.
6288
0256a6ac
PA
62892014-05-21 Pedro Alves <palves@redhat.com>
6290
6291 * gdb.base/dcache-line-read-error.c: New.
6292 * gdb.base/dcache-line-read-error.exp: New.
6293
936d2992
PA
62942014-05-20 Pedro Alves <palves@redhat.com>
6295
6296 * gdb.base/compare-sections.c: New file.
6297 * gdb.base/compare-sections.exp: New file.
6298
802e8e6d
PA
62992014-05-20 Pedro Alves <palves@redhat.com>
6300
6301 * gdb.base/break-idempotent.c: New file.
6302 * gdb.base/break-idempotent.exp: New file.
6303
e59fa00f
MM
63042014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6305
6306 * gdb.btrace/nohist.exp: New.
6307
8b696e31
YQ
63082014-05-20 Yao Qi <yao@codesourcery.com>
6309
6310 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6311 gdb.reverse directory and gdb_reverse_timeout exists in board
6312 setting.
6313 * README: Document gdb_reverse_timeout.
6314
73c9764f
YQ
63152014-05-20 Yao Qi <yao@codesourcery.com>
6316
6317 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6318 'test_file_name'. Treat args as a string instead of a list.
6319 (gdb_init): Rename argument 'args' by 'test_file_name'.
6320
f1f4348a
JK
63212014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6322
6323 * gdb.arch/powerpc-power.exp: New file.
6324 * gdb.arch/powerpc-power.s: New file.
6325
0dbe70ce
DE
63262014-05-16 Doug Evans <dje@google.com>
6327
6328 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6329 * gdb.base/completion.exp: Check that all expected files exist
6330 before doing file completion.
0dbe70ce 6331
8d551b02
DE
63322014-05-16 Doug Evans <dje@google.com>
6333
6334 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6335 Update.
6336 (do_syscall_tests_without_xml): Update.
6337
73eb7709
PA
63382014-05-16 Pedro Alves <palves@redhat.com>
6339
6340 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6341 instead of "unknown output after running".
6342
3fae92fc
YQ
63432014-05-16 Yao Qi <yao@codesourcery.com>
6344
6345 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6346 file1.txt from host at the end.
6347 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6348
c2b2ccc5
DE
63492014-05-15 Doug Evans <dje@google.com>
6350
6351 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6352 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6353 loading file. Add test for TU lookup.
6354
8c217a4b
SM
63552014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6356
6357 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6358 calling "-exec-arguments" or "set args" before running the
6359 inferior.
6360
3deb39c6
SM
63612014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6362
6363 * lib/mi-support.exp (mi_expect_stop): Expect message for
6364 inferiors that exit with non-zero exit code.
6365
71a79f8c
YQ
63662014-05-14 Yao Qi <yao@codesourcery.com>
6367
6368 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6369 match absolute path on remote host.
6370 (test_file_list_exec_source_files): Remove "/" from the
6371 pattern.
6372
f23fcd46
YQ
63732014-05-14 Yao Qi <yao@codesourcery.com>
6374
6375 * boards/local-remote-host-notty.exp (${board}_file): New
6376 proc.
6377
9404b58f
KM
63782014-05-07 Kyle McMartin <kyle@redhat.com>
6379
6380 Pushed by Joel Brobecker <brobecker@adacore.com>.
6381 * gdb.arch/aarch64-atomic-inst.c: New file.
6382 * gdb.arch/aarch64-atomic-inst.exp: New file.
6383
5e45f04c
YQ
63842014-05-07 Yao Qi <yao@codesourcery.com>
6385
6386 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6387 in current context" too.
6388
c888a17d
KS
63892014-05-05 Keith Seitz <keiths@redhat.com>
6390
6391 * gdb.linespec/ls-dollar.exp: Add test for linespec
6392 file:convenience_variable.
6393
290a839c
YQ
63942014-05-05 Yao Qi <yao@codesourcery.com>
6395
6396 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6397 traceframes into tfile and ctf trace files. Read data from
6398 trace file and test collected data.
6399 (gdb_collect_locals_test): Likewise.
6400 (gdb_unavailable_registers_test): Likewise.
6401 (gdb_unavailable_floats): Likewise.
6402 (gdb_collect_globals_test): Likewise.
6403 (top-level): Append "ctf" to trace_file_targets if GDB
6404 supports.
6405
b5262cd0
YQ
64062014-05-05 Yao Qi <yao@codesourcery.com>
6407
6408 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6409 code to ...
6410 (gdb_collect_args_test_1): ... it. New proc.
6411 (gdb_collect_locals_test): Move some code to ...
6412 (gdb_collect_locals_test_1): ... it. New proc.
6413 (gdb_unavailable_registers_test): Move some code to ...
6414 (gdb_unavailable_registers_test_1): ... it. New proc.
6415 (gdb_unavailable_floats): Move some code to ...
6416 (gdb_unavailable_floats_1): ... it. New proc.
6417
30a1e6cc
SDJ
64182014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6419
6420 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6421 probes to test for bitness recognition.
6422 * gdb.arch/amd64-stap-optional-prefix.exp
6423 (test_probe_value_without_reg): New procedure.
6424 Add code to test for different kinds of bitness.
6425
f33da99a
SDJ
64262014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6427
6428 PR breakpoints/16889
6429 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6430 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6431
5b80f00d
PA
64322014-05-01 Pedro Alves <palves@redhat.com>
6433
6434 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6435 gdb_file_cmd if no file is specified.
6436 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6437 last_loaded_file to set the remote exec-file.
6438
f8c2a73c
PA
64392014-05-01 Pedro Alves <palves@redhat.com>
6440
6441 * boards/local-remote-host.exp: New file.
6442
be6e8ac7
PA
64432014-05-01 Pedro Alves <palves@redhat.com>
6444
6445 * boards/local-remote-host.exp: Rename to ...
6446 * boards/local-remote-host-notty.exp: ... this.
6447
cac0dc8f
JB
64482014-04-28 Joel Brobecker <brobecker@adacore.com>
6449
6450 * gdb.ada/dyn_arrayidx: New testcase.
6451
9730e6cc
YQ
64522014-04-26 Yao Qi <yao@codesourcery.com>
6453
6454 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6455 and compute the length of function main. Save it in
6456 $main_length.
6457 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6458 (top-level): Use gdb_compile to compile objects into
6459 executable and restart GDB. Remove invocation to
6460 prepare_for_testing.
6461
7ae1a6a6
PA
64622014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6463 Pedro Alves <palves@redhat.com>
6464
6465 PR server/16255
6466 * gdb.multi/multi-attach.c: New file.
6467 * gdb.multi/multi-attach.exp: New file.
6468
4082afcc
PA
64692014-04-25 Pedro Alves <palves@redhat.com>
6470
6471 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6472 user.
6473 (top level): Test that "set remote conditional-breakpoints-packet
6474 off" works as intended.
6475 * gdb.base/dprintf.exp: Test that "set remote
6476 breakpoint-commands-packet off" works as intended.
6477 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6478 New function.
6479 (top level): Call it.
6480 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6481 remote fast-tracepoints-packet off" works as intended.
6482 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6483 * lib/gdb.exp (gdb_is_target_remote): ... here.
6484
2abc3f8d
DB
64852014-04-24 David Blaikie <dblaikie@gmail.com>
6486
6487 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6488 ensure clang would not discard them.
6489 * gdb.base/gdbvars.c: Ditto.
6490 * gdb.base/memattr.c: Ditto.
6491 * gdb.base/whatis.c: Ditto.
6492 * gdb.python/py-prettyprint.c: Ditto.
6493 * gdb.trace/actions.c: Ditto.
6494 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6495 ensure clang would not discard it.
6496
bfd39632
DB
64972014-04-24 David Blaikie <dblaikie@gmail.com>
6498
6499 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6500 clang to emit the full definition of type required by the test
6501 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6502
22842ff6
DB
65032014-04-24 David Blaikie <dblaikie@gmail.com>
6504
6505 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6506 coax Clang into emitting the definition of the type.
6507 * gdb.cp/pr10728-x.h (y): Ditto.
6508 * gdb.cp/pr10728-y.cc (y): Ditto.
6509
c2e827ad
DB
65102014-04-24 David Blaikie <dblaikie@gmail.com>
6511
6512 * gdb.base/label.exp: XFAIL label related tests under Clang.
6513 * gdb.cp/cplabel.exp: Ditto.
6514 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6515 under Clang those using labels.
6516
4c2d33e7
YQ
65172014-04-25 Yao Qi <yao@codesourcery.com>
6518
6519 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6520 double_label.
6521 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6522 partial_label and double_label.
6523
56083b99
DB
65242014-04-24 David Blaikie <dblaikie@gmail.com>
6525
6526 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6527
25d4e99d
DB
65282014-04-24 David Blaikie <dblaikie@gmail.com>
6529
6530 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6531 of the function to work across GCC and Clang.
6532 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6533 pointer types (const void ** const V void **).
6534
01f9f808
MS
65352014-04-24 Michael Sturm <michael.sturm@mintel.com>
6536 Walfred Tedeschi <walfred.tedeschi@intel.com>
6537
6538 * Makefile.in (EXECUTABLES): Added i386-avx512.
6539 * gdb.arch/i386-avx512.c: New file.
6540 * gdb.arch/i386-avx512.exp: Likewise.
6541
4b48d439
KS
65422014-04-23 Keith Seitz <keiths@redhat.com>
6543
6544 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6545 (mi_make_breakpoint_table): New procedure.
6546 (mi_create_breakpoint): Use mi_make_breakpoint
6547 and return the result.
6548 (mi_make_breakpoint): New procedure.
6549 (mi_build_kv_pairs): New procedure.
6550
6551 * gdb.mi/mi-break.exp: Remove unused globals,
6552 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6553 All callers updated.
6554 * gdb.mi/mi-dprintf.exp: Use variable to track command
6555 number.
6556 Update all callers of mi_create_breakpoint and use
6557 mi_make_breakpoint_table.
6558 Remove any unused global variables.
6559 * gdb.mi/mi-nonstop.exp: Likewise.
6560 * gdb.mi/mi-nsintrall.exp: Likewise.
6561 * gdb.mi/mi-nsmoribund.exp: Likewise.
6562 * gdb.mi/mi-nsthrexec.exp: Likewise.
6563 * gdb.mi/mi-reverse.exp: Likewise.
6564 * gdb.mi/mi-simplerun.exp: Likewise.
6565 * gdb.mi/mi-stepn.exp: Likewise.
6566 * gdb.mi/mi-syn-frame.exp: Likewise.
6567 * gdb.mi/mi-until.exp: Likewise.
6568 * gdb.mi/mi-var-cp.exp: Likewise.
6569 * gdb.mi/mi-var-display.exp: Likewise.
6570 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6571 * gdb.mi/mi2-var-child.exp: Likewise.
6572 * gdb.mi/mi-vla-c99.exp: Likewise.
6573 * lib/mi-support.exp: Likewise.
6574
6575 From Ian Lance Taylor <iant@cygnus.com>:
6576 * lib/gdb.exp (parse_args): New procedure.
6577
08351840
PA
65782014-04-23 Pedro Alves <palves@redhat.com>
6579
6580 * gdb.base/break-unload-file.c: New file.
6581 * gdb.base/break-unload-file.exp: New file.
6582 * gdb.base/sym-file-lib.c (baz): New function.
6583 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6584 field.
6585 (load): Store the segment's mapped size.
6586 (unload): New function.
6587 (unload_shlib): New function.
6588 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6589 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6590 set a breakpoint at baz, and call it.
6591 * gdb.base/sym-file.exp: New tests for stale breakpoint
6592 instructions.
6593
076855f9
PA
65942014-04-23 Pedro Alves <palves@redhat.com>
6595
6596 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6597 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6598 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6599 * gdb.base/hbreak-unmapped.c: New file.
6600 * gdb.base/hbreak-unmapped.exp: New file.
6601 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6602 * lib/gdb.exp (gdb_is_target_remote): ... here.
6603
483805cf
PA
66042014-04-22 Pedro Alves <palves@redhat.com>
6605
6606 * gdb.base/consecutive-step-over.c: New file.
6607 * gdb.base/consecutive-step-over.exp: New file.
6608
06d97543
PA
66092014-04-22 Pedro Alves <palves@redhat.com>
6610
6611 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6612 instead of send_gdb/gdb_expect.
6613
b4429ea2
YQ
66142014-04-22 Yao Qi <yao@codesourcery.com>
6615
6616 * lib/trace-support.exp (generate_tracefile): New procedure.
6617 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6618 return 0.
6619 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6620 if generate_tracefile returns 1.
6621
51d48146
PA
66222014-04-18 Tom Tromey <palves@redhat.com>
6623 Pedro alves <tromey@redhat.com>
6624
6625 PR backtrace/15558
6626 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6627 with a backtrace limit.
6628 * gdb.python/py-frame-inline.exp: Test running to an inline
6629 function with a backtrace limit, and printing the newest frame.
6630 * gdb.python/py-frame-inline.c (main): Call f.
6631
bd1dce5f
MS
66322014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6633
6634 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6635
40d1a503
MS
66362014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6637
6638 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6639 Drop prefix from unsupported source file path.
6640
389b98f7
YQ
66412014-04-17 Yao Qi <yao@codesourcery.com>
6642
6643 * lib/gdb.exp (with_target_charset): New proc.
6644 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6645 with_target_charset.
6646 (test_print_strings): Likewise.
6647 (test_repeat_bytes): Likewise.
6648 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6649 for some tests.
6650
22869d73
KS
66512014-04-16 Keith Seitz <keiths@redhat.com>
6652
6653 PR gdb/15827
6654 * gdb.dwarf2/corrupt.c: New file.
6655 * gdb.dwarf2/corrupt.exp: New file.
6656
c4f87ca6
KS
66572014-04-16 Keith Seitz <keiths@redhat.com>
6658
6659 PR c++/16597
6660 * gdb.cp/namelessclass.cc: New file.
6661 * gdb.cp/namelessclass.exp: New file.
6662 * gdb.cp/namelessclass.S: New file.
6663
ab19de87
DE
66642014-04-16 Doug Evans <dje@google.com>
6665
6666 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6667 Add comment.
6668 (gdbserver_default_get_comm_port): New function.
6669 (gdbserver_start): Check if board file provided
6670 "gdbserver,get_comm_port" and use it if so.
6671 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6672 (gdb,socketport): Set to "stdio".
6673 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6674 (stdio_gdbserver_template): Delete.
6675 (${board}_get_remote_address): Update.
6676 (${board}_build_remote_cmd): Delete.
6677 (${board}_get_comm_port): New function.
6678 (${board}_spawn): Update.
6679 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6680 Delete.
6681 (${board}_get_remote_address): Update.
6682 (${board}_get_comm_port): New function.
6683
fc98a809
AB
66842014-04-16 Andrew Burgess <aburgess@broadcom.com>
6685
6686 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6687 appearing in any order.
6688
87fd9e6e
DE
66892014-04-15 Doug Evans <dje@google.com>
6690
6691 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6692 uninitialized value of "description".
6693
099fc3ea
KS
66942014-04-15 Keith Seitz <keiths@redhat.com>
6695
6696 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6697 Remove unused globals.
6698 (test_running_the_program): Likewise.
6699 (test_controlled_execution): Likewise.
6700 (test_controlling_breakpoints): Likewise.
6701 (test_program_termination): Likewise.
6702
5da151d4
KS
67032014-04-15 Keith Seitz <keiths@redhat.com>
6704
6705 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6706 unused globals.
6707 (test_rbreak_creation_and_listing): Likewise.
6708 (test_ignore_count): Likewise.
6709 (test_error): Likewise.
6710
35e5d2f0
PA
67112014-04-15 Pedro Alves <palves@redhat.com>
6712
6713 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6714 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6715 sym-file-loader.c.
6716 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6717 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6718 to sym-file-loader.c.
6719 (struct library): Forward declare.
6720 (load_shlib, lookup_function): Change prototypes.
6721 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6722 (translate_offset): Remove declarations.
6723 (get_text_addr): New declaration.
6724 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6725 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6726 sym-file-loader.h.
6727 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6728 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6729 here from sym-file-loader.h.
6730 (struct library): New structure.
6731 (load_shlib, lookup_function): Change prototypes and adjust to
6732 work with a struct library.
6733 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6734 (translate_offset): Make static.
6735 (get_text_addr): New function.
6736 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6737
eb4c1710
PA
67382014-04-15 Pedro Alves <palves@redhat.com>
6739
6740 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6741
2d1baf52
PA
67422014-04-15 Pedro Alves <palves@redhat.com>
6743
6744 * gdb.base/sym-file-loader.c: Include <limits.h>.
6745 (SELF_LINK): New define.
6746 (get_origin): New function.
6747 (load_shlib): Use it.
6748 * gdb.base/sym-file.exp: Don't early return if the target is
6749 remote. Use runto_main, and issue fail is that fails. Use
6750 gdb_load_shlibs.
6751 (shlib_name): Delete.
6752 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6753
7dd6df01
PA
67542014-04-15 Pedro Alves <palves@redhat.com>
6755
6756 * gdb.base/sym-file.exp: Remove regex characters from test
6757 message. Don't refer to breakpoint numbers in test messages.
6758
b50c8614
KS
67592014-04-14 Keith Seitz <keiths@redhat.com>
6760
6761 PR c++/16253
6762 * gdb.cp/var-tag.cc: New file.
6763 * gdb.cp/var-tag.exp: New file.
6764 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6765 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6766 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6767 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6768
3d567982
TT
67692014-04-14 Tom Tromey <tromey@redhat.com>
6770
6771 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6772 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6773 type.
6774 * gdb.cp/enum-class.exp: New file.
6775 * gdb.cp/enum-class.cc: New file.
6776
0626fc76
TT
67772014-04-14 Tom Tromey <tromey@redhat.com>
6778
6779 * gdb.dwarf2/enum-type.exp: New file.
6780
dca325b3
SA
67812014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6782
6783 * gdb.mi/mi-vla-c99.exp: New file.
6784 * gdb.mi/vla.c: New file.
6785
5854b38a
SA
67862014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6787
6788 * gdb.base/vla-datatypes.c: New file.
6789 * gdb.base/vla-datatypes.exp: New file.
6790
463bb957
SA
67912014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6792
6793 * gdb.base/vla-ptr.c: New file.
6794 * gdb.base/vla-ptr.exp: New file.
6795
3dd170be
SA
67962014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6797
6798 * gdb.dwarf2/count.exp: New file.
6799
5ecaaa66
SA
68002014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6801
6802 * gdb.base/vla-sideeffect.c: New file.
6803 * gdb.base/vla-sideeffect.exp: New file.
6804
41f1ada5
DB
68052014-04-14 David Blaikie <dblaikie@gmail.com>
6806
6807 * gdb.mi/non-stop.c: Add return value for non-void function return
6808 statement.
6809 * gdb.threads/staticthreads.c: Ditto.
6810
0be03e84
DE
68112014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6812 Doug Evans <xdje42@gmail.com>
6813
6814 * gdb.guile/scm-value.c: Improve test case.
6815 * gdb.guile/scm-value.exp: Add new test.
6816
f180a1fb
DB
68172014-04-11 David Blaikie <dblaikie@gmail.com>
6818
6819 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6820 override Clang's default.
6821
6b662e19
JB
68222014-04-11 Joel Brobecker <brobecker@adacore.com>
6823
6824 Revert the following changes (regressions):
6825
6826 * gdb.base/vla-sideeffect.c: New file.
6827 * gdb.base/vla-sideeffect.exp: New file.
6828
6829 * gdb.dwarf2/count.exp: New file.
6830
6831 * gdb.base/vla-multi.c: New file.
6832 * gdb.base/vla-multi.exp: New file.
6833
6834 * gdb.base/vla-ptr.c: New file.
6835 * gdb.base/vla-ptr.exp: New file.
6836
6837 * gdb.base/vla-datatypes.c: New file.
6838 * gdb.base/vla-datatypes.exp: New file.
6839
6840 * gdb.mi/mi-vla-c99.exp: New file.
6841 * gdb.mi/vla.c: New file.
6842
245a5f0b
KS
68432014-04-11 Keith Seitz <keiths@redhat.com>
6844
6845 PR c++/16675
6846 * gdb.cp/cpsizeof.exp: New file.
6847 * gdb.cp/cpsizeof.cc: New file.
6848
58a84dcf
SA
68492014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6850
191a8a90
JB
6851 * gdb.mi/mi-vla-c99.exp: New file.
6852 * gdb.mi/vla.c: New file.
58a84dcf 6853
c8655f75
SA
68542014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6855
6856 * gdb.base/vla-datatypes.c: New file.
6857 * gdb.base/vla-datatypes.exp: New file.
6858
024e13b4
SA
68592014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6860
6861 * gdb.base/vla-ptr.c: New file.
6862 * gdb.base/vla-ptr.exp: New file.
6863
1a237e0e
SA
68642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6865
6866 * gdb.base/vla-multi.c: New file.
6867 * gdb.base/vla-multi.exp: New file.
6868
504f3432
SA
68692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6870
6871 * gdb.dwarf2/count.exp: New file.
6872
3bce8237
SA
68732014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6874
191a8a90
JB
6875 * gdb.base/vla-sideeffect.c: New file.
6876 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6877
322f9c21
YQ
68782014-04-11 Yao Qi <yao@codesourcery.com>
6879
6880 * gdb.base/completion.exp: Check file exists before running tests
6881 on file completion.
6882
d708bcd1
PA
68832014-04-10 Pedro Alves <palves@redhat.com>
6884
6885 * gdb.base/cond-eval-mode.c: New file.
6886 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6887 prepare_for_testing to build the new file. Check result of
6888 runto_main.
6889 (test_break, test_watch): New procedures.
6890 (top level): Use them.
6891
ae1d2761
PM
68922014-04-08 Pierre Muller <muller@sourceware.org>
6893
6894 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6895 Ctrl-V use for mingw hosts.
6896
7af389b8
SC
68972014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6898
6899 * gdb.python/py-value.c: Improve test case.
6900 * gdb.python/py-value.exp: Add new test.
6901
5e703181
DE
69022014-04-07 David Blaikie <dblaikie@gmail.com>
6903
6904 * lib/compiler.c: Identify the clang compiler.
6905 * lib/compiler.cc: Ditto.
6906
9810b410
YQ
69072014-04-03 Yao Qi <yao@codesourcery.com>
6908
6909 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6910
98d1b8dc
AB
69112014-04-01 Anton Blanchard <anton@samba.org>
6912
6913 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6914 messages unique.
6915
3114cea1
AB
69162014-04-01 Anton Blanchard <anton@samba.org>
6917
6918 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6919 prepare_for_testing.
6920
62f7182c
AB
69212014-04-01 Anton Blanchard <anton@samba.org>
6922
6923 * gdb.arch/ppc64-atomic-inst.c: Remove.
6924 * gdb.arch/ppc64-atomic-inst.S: New file.
6925 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6926
770e7fc7
DE
69272014-03-31 Doug Evans <dje@google.com>
6928
6929 * gdb.base/print-symbol-loading-lib.c: New file.
6930 * gdb.base/print-symbol-loading-main.c: New file.
6931 * gdb.base/print-symbol-loading.exp: New file.
6932
46e2bafa
YQ
69332014-03-31 Yao Qi <yao@codesourcery.com>
6934
6935 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6936
8776cfe9
JB
69372014-03-28 Joel Brobecker <brobecker@adacore.com>
6938
6939 * gdb.ada/mi_dyn_arr: New testcase.
6940
5d1ef361
DE
69412014-03-27 Doug Evans <dje@google.com>
6942
6943 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6944
b5bee914
YQ
69452014-03-27 Yao Qi <yao@codesourcery.com>
6946
6947 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6948 if target is nios2-*-*.
6949
0d4d0e77
YQ
69502014-03-26 Yao Qi <yao@codesourcery.com>
6951
6952 * lib/gdb.exp (readline_is_used): New proc.
6953 * gdb.base/completion.exp: Move tests on command complete up.
6954 Skip the rest of tests if readline is not used.
6955 * gdb.ada/complete.exp: Skp the test if readline is not
6956 used.
6957 * gdb.base/filesym.exp: Likewise.
6958 * gdb.base/macscp.exp: Likewise.
6959 * gdb.base/readline-ask.exp: Likewise.
6960 * gdb.base/readline.exp: Likewise.
6961 * gdb.python/py-cmd.exp: Likewise.
6962 * gdb.trace/tfile.exp: Likewise.
6963
29361eee
YQ
69642014-03-26 Yao Qi <yao@codesourcery.com>
6965
6966 * gdb.base/macscp.exp: Fix code format issues.
6967
bc9a5525
UW
69682014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6969
6970 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6971 * gdb.asm/powerpc64le.inc: New file.
6972
d3839ede
PA
69732014-03-25 Pedro Alves <palves@redhat.com>
6974 Doug Evans <dje@google.com>
6975
6976 * gdb.base/source-execution.c: New file.
6977 * gdb.base/source-execution.exp: New file.
6978 * gdb.base/source-execution.gdb: New file.
6979
01672a57
DE
69802014-03-24 Doug Evans <dje@google.com>
6981
6982 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6983 using fission.
6984
88bbeca9
HZ
69852014-03-24 Hui Zhu <hui@codesourcery.com>
6986 Pedro Alves <palves@redhat.com>
6987
6988 PR breakpoints/16101
6989 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6990 test pass/fail messages. Detect missing support for dprintf when
6991 breakpoints are actually inserted.
6992 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6993 breakpoints are actually inserted.
6994 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6995 fails.
6996
d2348791
JK
69972014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6998
6999 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7000
feef67ab
DE
70012014-03-22 Doug Evans <xdje42@gmail.com>
7002
7003 * gdb.python/python.exp (python not supported): Verify multi-line
7004 python command issues an error.
25d743f9 7005 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 7006 guile command issues an error.
feef67ab 7007
ecebef6a
MR
70082014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7009
7010 * gdb.threads/thread-specific.exp: Handle the lack of usable
7011 $this_breakpoint and $this_thread.
7012
ccdd1909
HZ
70132014-03-21 Hui Zhu <hui@codesourcery.com>
7014
7015 * gdb.base/attach.exp (do_command_attach_tests): New.
7016
beb460e8
PA
70172014-03-20 Tom Tromey <tromey@redhat.com>
7018 Pedro Alves <palves@redhat.com>
7019
7020 PR cli/15718
7021 * gdb.base/condbreak-call-false.c: New file.
7022 * gdb.base/condbreak-call-false.exp: New file.
7023
40acf43a
PA
70242014-03-20 Pedro Alves <palves@redhat.com>
7025
7026 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7027 Delete.
7028 (block_signals, unblock_signals): Delete.
7029 (child_function_2, main): Remove references to deleted variable
7030 and functions.
7031
9f5e1e02
PA
70322014-03-20 Pedro Alves <palves@redhat.com>
7033
7034 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7035 Use pthread_kill to signal thread 2.
7036 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7037 Adjust to make the test send itself a signal rather than using the
7038 host's "kill" command.
7039
99619bea
PA
70402014-03-20 Pedro Alves <palves@redhat.com>
7041
7042 * gdb.threads/multiple-step-overs.c: New file.
7043 * gdb.threads/multiple-step-overs.exp: New file.
7044 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7045 Adjust expected infrun debug output.
7046
2adfaa28
PA
70472014-03-20 Pedro Alves <palves@redhat.com>
7048
7049 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7050 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7051
31e77af2
PA
70522014-03-20 Pedro Alves <palves@redhat.com>
7053
7054 PR breakpoints/7143
7055 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7056 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7057 of gdb_test_multiple.
7058 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7059 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7060
b9f437de
PA
70612014-03-20 Pedro Alves <palves@redhat.com>
7062
7063 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7064 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7065
05adc73e
PA
70662014-03-19 Pedro Alves <palves@redhat.com>
7067
7068 * gdb.base/async.exp: Remove early return.
7069
6048b950
PA
70702014-03-19 Pedro Alves <palves@redhat.com>
7071
7072 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7073
8bcfb00a
PA
70742014-03-19 Pedro Alves <palves@redhat.com>
7075
7076 * gdb.base/async.exp (test_background): Expect \r\n after
7077 "completed." in the fail pattern.
7078
884e37dc
PA
70792014-03-19 Pedro Alves <palves@redhat.com>
7080
7081 * gdb.base/async.exp (test_background): New procedure.
7082 Use it for all background execution command tests.
7083
148e57e2
PA
70842014-03-19 Pedro Alves <palves@redhat.com>
7085
7086 * gdb.base/async.exp: Use prepare_for_testing.
7087
f48088c7
PA
70882014-03-19 Pedro Alves <palves@redhat.com>
7089
7090 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7091 the same line.
7092
e2f6c966
PA
70932014-03-19 Pedro Alves <palves@redhat.com>
7094
7095 * gdb.base/async.c (main): Add "jump here" and "until here" line
7096 marker comments.
7097 * gdb.base/async.exp (jump_here): New global.
7098 (jump& test): Use it.
7099 (until_here): New global.
7100 (until& test): Use it.
7101
c30568d4
PA
71022014-03-19 Pedro Alves <palves@redhat.com>
7103
7104 * gdb.base/async.exp: Don't frob gdb_protocol.
7105
0172b6a7
DE
71062014-03-18 Doug Evans <xdje42@gmail.com>
7107
7108 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7109 Fix spelling of exec-done-display.
7110
06c868a8
JK
71112014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7112
7113 PR gdb/15358
7114 * gdb.base/gdb-sigterm.c: New file.
7115 * gdb.base/gdb-sigterm.exp: New file.
7116
0c7e1a46
PA
71172014-03-18 Pedro Alves <palves@redhat.com>
7118
7119 PR gdb/13860
7120 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7121 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7122 solib-event.
7123
f7c77d93
JB
71242014-03-17 Joel Brobecker <brobecker@adacore.com>
7125
7126 * gdb.ada/pckd_arr_ren: New testcase.
7127
5a1e8c7a
DE
71282014-03-13 Doug Evans <xdje42@gmail.com>
7129
7130 PR guile/16612
7131 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7132 collect after discarding symbols.
7133
350e1a76
DE
71342014-03-13 Ludovic Courtès <ludo@gnu.org>
7135 Doug Evans <xdje42@gmail.com>
7136
7137 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7138 to history survives a gc.
7139
a69900ae
PA
71402014-03-13 Pedro Alves <palves@redhat.com>
7141
7142 * gdb.base/default.exp: Don't test "target procfs".
7143
5db9f0bd
PA
71442014-03-13 Pedro Alves <palves@redhat.com>
7145
7146 * gdb.base/default.exp: Update "target child" and "target procfs"
7147 tests to not expect "Unix".
7148
b3ccfe11
TT
71492014-03-12 Tom Tromey <tromey@redhat.com>
7150
7151 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7152 New procs. Add target-async tests.
7153 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7154 Add target-async tests.
7155
646f4417
AA
71562014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7157
7158 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7159 'func_start' and 'func_end' for the beginning and end of the
7160 function code, respectively.
7161 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7162 'func_end' instead of 'func' and 'main'.
7163
288c211f
AA
71642014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7165
7166 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7167 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7168 generate the debug info assembler source.
7169
e0c0f156
AA
71702014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7171
7172 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7173 * gdb.dwarf2/arr-subrange.exp: Likewise.
7174 * gdb.dwarf2/dwz.exp: Likewise.
7175 * gdb.dwarf2/method-ptr.exp: Likewise.
7176 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7177 * gdb.dwarf2/subrange.exp: Likewise.
7178 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7179 * gdb.dwarf2/implptrpiece.exp: Likewise.
7180 * gdb.dwarf2/nostaticblock.exp: Likewise.
7181
0e5c4555
AA
71822014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7183
7184 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7185 directory to absolute path name arguments.
7186
5ec18f2b
JG
71872014-03-10 Joel Brobecker <brobecker@adacore.com>
7188
7189 * gdb.ada/tagged_access: New testcase.
7190
847fc4f2
MM
71912014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7192
7193 * gdb.btrace/data.exp: Update expected output.
7194
cc3da688
YQ
71952014-03-06 Yao Qi <yao@codesourcery.com>
7196
7197 * gdb.trace/pr16508.exp: New file.
7198
0f26cec1
PA
71992014-03-05 Pedro Alves <palves@redhat.com>
7200
7201 PR gdb/16575
7202 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7203 procedure.
7204 (top level): Adjust to use it. Add tests that exercise breakpoint
7205 interaction with the code-cache.
7206
7a5a839f
LC
72072014-02-26 Ludovic Courtès <ludo@gnu.org>
7208
7209 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7210 test for 'history-append!'.
7211
31aa7e4e
JB
72122014-02-26 Joel Brobecker <brobecker@adacore.com>
7213
7214 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7215 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7216 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7217 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7218 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7219 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7220
1b588015
JB
72212014-02-26 Joel Brobecker <brobecker@adacore.com>
7222
7223 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7224 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7225 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7226
55426c9d
JB
72272014-02-26 Joel Brobecker <brobecker@adacore.com>
7228
7229 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7230
dc53a7ad
JB
72312014-02-26 Joel Brobecker <brobecker@adacore.com>
7232
7233 * gdb.dwarf2/arr-stride.c: New file.
7234 * gdb.dwarf2/arr-stride.exp: New file.
7235
12ab52e9
PA
72362014-02-26 Pedro Alves <palves@redhat.com>
7237
7238 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7239 that won't ever trigger. Make sure that GDB reports the correct
7240 breakpoint that caused the stop.
7241
849c862e
JK
72422014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7243
7244 PR gdb/16626
7245 * gdb.base/auto-load-script: New file.
7246 * gdb.base/auto-load.c: New file.
7247 * gdb.base/auto-load.exp: New file.
7248
71b7d793
JK
7249 PR gdb/16626
7250 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7251
e2f0d509
JK
72522014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7253
7254 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7255 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7256
50cc37c8
DE
72572014-02-24 Doug Evans <dje@google.com>
7258
7259 * lib/gdb.exp (run_on_host): Log error output if program fails.
7260
ea4758f2
PA
72612014-02-21 Pedro Alves <palves@redhat.com>
7262
7263 * gdb.threads/step-after-sr-lock.c: Rename to ...
7264 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7265 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7266 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7267 ... this.
7268
d7b30f67
SDJ
72692014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7270
7271 PR tdep/16397
7272 * gdb.arch/amd64-stap-special-operands.exp: New file.
7273 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7274 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7275 * gdb.arch/amd64-stap-triplet.S: Likewise.
7276 * gdb.arch/amd64-stap-triplet.c: Likewise.
7277
83deb43f
JB
72782014-02-20 Joel Brobecker <brobecker@adacore.com>
7279
7280 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7281 in .section pseudo-op.
7282
adde2bff
DE
72832014-02-20 lin zuojian <manjian2006@gmail.com>
7284 Joel Brobecker <brobecker@adacore.com>
7285 Doug Evans <xdje42@gmail.com>
7286
7287 PR symtab/16581
7288 * gdb.dwarf2/dw2-icycle.S: New file.
7289 * gdb.dwarf2/dw2-icycle.c: New file.
7290 * gdb.dwarf2/dw2-icycle.exp: New file.
7291
f7bd0f78
SC
72922014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7293
7294 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7295 operations on gdb.Value objects.
7296 * gdb.python/py-value-cc.exp: Add new test to test operations on
7297 gdb.Value objects.
7298
c17ef0d5
DE
72992014-02-18 Doug Evans <dje@google.com>
7300
7301 * Makefile.in (TESTS): New variable.
7302 (expanded_tests, expanded_tests_or_none): New variables
7303 (check-single): Pass $(expanded_tests_or_none) to runtest.
7304 (check-parallel): Only run tests in $(TESTS) if non-empty.
7305 (check/no-matching-tests-found): New rule.
7306 * README: Document TESTS makefile variable.
7307
5dd3176f
DE
73082014-02-18 Doug Evans <dje@google.com>
7309
7310 * Makefile.in (check-parallel): rm -rf outputs temp.
7311
0b10be4f
JK
73122014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7313
7314 Fix "ERROR: no fileid for" in the testsuite.
7315 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7316
85f224e7
DE
73172014-02-12 Doug Evans <dje@google.com>
7318
7319 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7320 (MISCELLANEOUS): New variable.
7321 (clean): rm -rf $(MISCELLANEOUS).
7322 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7323 dwp live in the same directory as symlinks, with each symlink pointed
7324 to a differently named file in a different directory.
7325
149b30ff
DE
73262014-02-11 Doug Evans <dje@google.com>
7327
7328 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7329 of Tcl file commands.
7330
1dfdac32
MK
73312014-02-10 Mark Kettenis <kettenis@gnu.org>
7332
7333 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7334 "kill -SIGUSR1 -1".
7335
aa4fb036
JB
73362014-02-10 Joel Brobecker <brobecker@adacore.com>
7337
7338 * gdb.ada/tick_length_array_enum_idx: New testcase.
7339
ed3ef339
DE
73402014-02-10 Doug Evans <xdje42@gmail.com>
7341
7342 * configure.ac (AC_OUTPUT): Add gdb.guile.
7343 * configure: Regenerate.
7344 * lib/gdb-guile.exp: New file.
7345 * lib/gdb.exp (get_target_charset): New function.
7346 * gdb.base/help.exp: Update expected output from "apropos apropos".
7347 * gdb.guile/Makefile.in: New file.
7348 * gdb.guile/guile.exp: New file.
7349 * gdb.guile/scm-arch.c: New file.
7350 * gdb.guile/scm-arch.exp: New file.
7351 * gdb.guile/scm-block.c: New file.
7352 * gdb.guile/scm-block.exp: New file.
7353 * gdb.guile/scm-breakpoint.c: New file.
7354 * gdb.guile/scm-breakpoint.exp: New file.
7355 * gdb.guile/scm-disasm.c: New file.
7356 * gdb.guile/scm-disasm.exp: New file.
7357 * gdb.guile/scm-equal.c: New file.
7358 * gdb.guile/scm-equal.exp: New file.
7359 * gdb.guile/scm-error.exp: New file.
7360 * gdb.guile/scm-error.scm: New file.
7361 * gdb.guile/scm-frame-args.c: New file.
7362 * gdb.guile/scm-frame-args.exp: New file.
7363 * gdb.guile/scm-frame-args.scm: New file.
7364 * gdb.guile/scm-frame-inline.c: New file.
7365 * gdb.guile/scm-frame-inline.exp: New file.
7366 * gdb.guile/scm-frame.c: New file.
7367 * gdb.guile/scm-frame.exp: New file.
7368 * gdb.guile/scm-generics.exp: New file.
7369 * gdb.guile/scm-gsmob.exp: New file.
7370 * gdb.guile/scm-iterator.c: New file.
7371 * gdb.guile/scm-iterator.exp: New file.
7372 * gdb.guile/scm-math.c: New file.
7373 * gdb.guile/scm-math.exp: New file.
7374 * gdb.guile/scm-objfile-script-gdb.in: New file.
7375 * gdb.guile/scm-objfile-script.c: New file.
7376 * gdb.guile/scm-objfile-script.exp: New file.
7377 * gdb.guile/scm-objfile.c: New file.
7378 * gdb.guile/scm-objfile.exp: New file.
7379 * gdb.guile/scm-ports.exp: New file.
7380 * gdb.guile/scm-pretty-print.c: New file.
7381 * gdb.guile/scm-pretty-print.exp: New file.
7382 * gdb.guile/scm-pretty-print.scm: New file.
7383 * gdb.guile/scm-section-script.c: New file.
7384 * gdb.guile/scm-section-script.exp: New file.
7385 * gdb.guile/scm-section-script.scm: New file.
7386 * gdb.guile/scm-symbol.c: New file.
7387 * gdb.guile/scm-symbol.exp: New file.
7388 * gdb.guile/scm-symtab-2.c: New file.
7389 * gdb.guile/scm-symtab.c: New file.
7390 * gdb.guile/scm-symtab.exp: New file.
7391 * gdb.guile/scm-type.c: New file.
7392 * gdb.guile/scm-type.exp: New file.
7393 * gdb.guile/scm-value-cc.cc: New file.
7394 * gdb.guile/scm-value-cc.exp: New file.
7395 * gdb.guile/scm-value.c: New file.
7396 * gdb.guile/scm-value.exp: New file.
7397 * gdb.guile/source2.scm: New file.
7398 * gdb.guile/types-module.cc: New file.
7399 * gdb.guile/types-module.exp: New file.
7400
7026a7c1
YQ
74012014-02-10 Yao Qi <yao@codesourcery.com>
7402
7403 PR testsuite/16543
7404 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7405 * configure: Regenerated.
7406 * Makefile.in: New file.
7407
6c466447
AS
74082014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7409
7410 * gdb.python/py-framefilter.exp: Fix typo.
7411
6e854735
YQ
74122014-02-08 Yao Qi <yao@codesourcery.com>
7413
7414 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7415 that no =breakpoint-modified is emitted when breakpoints are
7416 modified through MI commands.
7417
d137e6dc
PA
74182014-02-07 Pedro Alves <pedro@codesourcery.com>
7419 Pedro Alves <palves@redhat.com>
7420
7421 * gdb.threads/step-after-sr-lock.c: New file.
7422 * gdb.threads/step-after-sr-lock.exp: New file.
7423
b5ee5a50
PA
74242014-02-07 Pedro Alves <palves@redhat.com>
7425
7426 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7427
3c77faf3
JK
74282014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7429
7430 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7431 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7432
6dddc817
DE
74332014-02-06 Doug Evans <xdje42@gmail.com>
7434
7435 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7436 output.
7437
7438 * gdb.gdb/python-interrupts.exp: New file.
7439
de7b2893
YQ
74402014-02-05 Yao Qi <yao@codesourcery.com>
7441
7442 * gdb.trace/report.exp (use_collected_data): Test the output
7443 of "info threads" and "info inferiors".
7444
66d032ac
YQ
74452014-02-05 Yao Qi <yao@codesourcery.com>
7446
7447 Revert this patch:
7448
7449 2013-05-24 Yao Qi <yao@codesourcery.com>
7450
7451 * gdb.trace/tfile.exp: Test inferior and thread.
7452
591a12a1
UW
74532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7454
7455 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7456 on a function.
7457 * gdb.base/step-bt.c: Call hello via function pointer to make
7458 sure its first instruction is executed on powerpc64le-linux.
7459
0ff3e01f
UW
74602014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7461
7462 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7463
084ee545
UW
74642014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7465
7466 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7467 of the test patterns for use on little-endian systems.
7468
6ed14ff3
UW
74692014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7470
7471 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7472 (decimal_vector): Fix for little-endian.
7473
401e27fd
JM
74742014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7475
7476 * gdb.arch/sparc-sysstep.exp: New file.
7477 * gdb.arch/sparc-sysstep.c: Likewise.
7478
7479 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7480
8b924729
EBM
74812014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7482
7483 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7484
fb151210
JB
74852014-01-23 Tom Tromey <tromey@redhat.com>
7486
7487 * gdb.ada/array_char_idx: New testcase.
7488
0740f8d8
TT
74892014-01-23 Tom Tromey <tromey@redhat.com>
7490
7491 PR python/16487:
7492 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7493 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7494 classes.
7495
21909fa1
TT
74962014-01-23 Tom Tromey <tromey@redhat.com>
7497
7498 PR python/16491:
7499 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7500 string from an inferior frame.
7501 * gdb.python/py-framefilter-mi.exp: Update.
7502
87ce2a04
DE
75032014-01-22 Doug Evans <dje@google.com>
7504
7505 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7506
237b092b
AA
75072014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7508
7509 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7510
d674a709
AA
75112014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7512
7513 * gdb.trace/entry-values.exp: Remove excess space character from
7514 regex patterns. Handle s390 call instruction.
7515
20fa3390
AA
75162014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7517
7518 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7519 define "*_start" label. Make "name" static.
7520 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7521 ${name} by references to ${name}_start.
7522
78466714
AA
75232014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7524
7525 * gdb.base/info-macros.exp: Remove "debug" from the compile
7526 options.
7527
ec9f644a
IB
75282014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7529
7530 * gdb.dlang/demangle.exp: New file.
7531
94b1b47e
IB
75322014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7533
7534 * gdb.dlang/primitive-types.exp: New file.
7535
7f420862
IB
75362014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7537
7538 * configure.ac: Create gdb.dlang/Makefile.
7539 * configure: Regenerate.
7540 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7541 * gdb.dlang/Makefile.in: New file.
7542 * lib/d-support.exp: New file.
7543 * lib/gdb.exp (skip_d_tests): New proc.
7544
52834460
MM
75452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7546
7547 * gdb.btrace/delta.exp: Check reverse stepi.
7548 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7549 * gdb.btrace/finish.exp: New.
7550 * gdb.btrace/next.exp: New.
7551 * gdb.btrace/nexti.exp: New.
7552 * gdb.btrace/record_goto.c: Add comments.
7553 * gdb.btrace/step.exp: New.
7554 * gdb.btrace/stepi.exp: New.
7555 * gdb.btrace/multi-thread-step.c: New.
7556 * gdb.btrace/multi-thread-step.exp: New.
7557 * gdb.btrace/rn-dl-bind.c: New.
7558 * gdb.btrace/rn-dl-bind.exp: New.
7559 * gdb.btrace/data.c: New.
7560 * gdb.btrace/data.exp: New.
7561 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7562
6e07b1d2
MM
75632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7564
7565 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7566 * gdb.btrace/exception.exp: Update.
7567 * gdb.btrace/instruction_history.exp: Update.
7568 * gdb.btrace/record_goto.exp: Update.
7569 * gdb.btrace/tailcall.exp: Update.
7570 * gdb.btrace/unknown_functions.exp: Update.
7571 * gdb.btrace/delta.exp: New.
7572
0b722aec
MM
75732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7574
7575 * gdb.btrace/record_goto.exp: Add backtrace test.
7576 * gdb.btrace/tailcall.exp: Add backtrace test.
7577
066ce621
MM
75782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7579
7580 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7581 * gdb.btrace/record_goto.c: New.
7582 * gdb.btrace/record_goto.exp: New.
7583 * gdb.btrace/x86-record_goto.S: New.
7584
0688d04e
MM
75852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7586
7587 * gdb.btrace/function_call_history.exp: Update tests.
7588 * gdb.btrace/instruction_history.exp: Update tests.
7589
8710b709
MM
75902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7591
7592 * gdb.btrace/function_call_history.exp: Fix expected field
7593 order for "record function-call-history".
7594 Add new tests for "record function-call-history /c".
7595 * gdb.btrace/exception.cc: New.
7596 * gdb.btrace/exception.exp: New.
7597 * gdb.btrace/tailcall.exp: New.
7598 * gdb.btrace/x86-tailcall.S: New.
7599 * gdb.btrace/x86-tailcall.c: New.
7600 * gdb.btrace/unknown_functions.c: New.
7601 * gdb.btrace/unknown_functions.exp: New.
7602 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7603
5de9129b
MM
76042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7605
7606 * gdb.btrace/instruction_history.exp: Update.
7607 * gdb.btrace/function_call_history.exp: Update.
7608
23a7fe75
MM
76092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7610
7611 * gdb.btrace/function_call_history.exp: Fix expected function
7612 trace.
7613 * gdb.btrace/instruction_history.exp: Initialize traced.
7614 Remove traced_functions.
7615
724c7dd8
MM
76162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7617
7618 * gdb.btrace/function_call_history.exp: Update
7619 * gdb.btrace/instruction_history.exp: Update.
7620
6d78d93b
MM
76212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7622
7623 * gdb.btrace/enable.exp: Update expected text.
7624
93a360cc
OJ
76252014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7626
7627 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7628 bytes.
7629
3772b53f
MR
76302014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7631
7632 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7633
596662fa
OJ
76342014-01-15 Omair Javaid <omair.javaid@linaro.org>
7635
7636 * lib/gdb.exp (supports_process_record): Return true for
7637 arm*-linux*. (supports_reverse): Likewise.
7638
b5b08fb4
SC
76392014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7640
7641 PR python/15464
7642 PR python/16113
7643 * gdb.python/py-type.c: Enhance test case.
7644 * gdb.python/py-value-cc.cc: Likewise
7645 * gdb.python/py-type.exp: Add new tests.
7646 * gdb.python/py-value-cc.exp: Likewise
7647
52d7fb13
AA
76482014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7649 Pedro Alves <palves@redhat.com>
7650
7651 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7652 Make "name" extern.
7653 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7654 references to ${name}_start by references to ${name}.
7655
a2cd8cfe
JB
76562014-01-10 Joel Brobecker <brobecker@adacore.com>
7657
7658 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7659
4e23fced
JB
76602014-01-10 Joel Brobecker <brobecker@adacore.com>
7661
7662 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7663
c6a9e42c
PA
76642014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7665 Pedro Alves <palves@redhat.com>
7666
7667 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7668 mi_gdb_target_load.
c6a9e42c 7669
b7ea362b
PA
76702014-01-08 Pedro Alves <palves@redhat.com>
7671
7672 * gdb.threads/reconnect-signal.c: New file.
7673 * gdb.threads/reconnect-signal.exp: New file.
7674
5e3f4fab
EBM
76752014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7676
7677 * gdb.base/source-dir.exp: New file.
7678
79301218
JB
76792014-01-07 Joel Brobecker <brobecker@adacore.com>
7680
7681 * gdb.ada/mi_interface: New testcase.
7682
8e355c5d
JB
76832014-01-07 Joel Brobecker <brobecker@adacore.com>
7684
7685 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7686 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7687 gdb.ada/pp-rec-component/pck.ads: New files.
7688
c0d48811
JB
76892014-01-07 Joel Brobecker <brobecker@adacore.com>
7690
7691 * gdb.python/py-pp-integral.c: New file.
7692 * gdb.python/py-pp-integral.py: New file.
7693 * gdb.python/py-pp-integral.exp: New file.
7694
17b609c3 7695For older changes see ChangeLog-1993-2013.
c906108c 7696\f
8d8cb839
EZ
7697;; Local Variables:
7698;; mode: change-log
7699;; left-margin: 8
7700;; fill-column: 74
7701;; version-control: never
7702;; End:
902f2ccb 7703
618f726f 7704 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7705 Copying and distribution of this file, with or without modification,
7706 are permitted provided the copyright notice and this notice are preserved.