S390: Fix internal error with stackless inferior
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f2489477
AA
12016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2
3 * gdb.arch/s390-stackless.S: New.
4 * gdb.arch/s390-stackless.exp: New.
5
38899f16
IB
62016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
7
8 * gdb.dlang/circular.c: New file.
9 * gdb.dlang/circular.exp: New file.
10
9fde51ed
YQ
112016-02-26 Yao Qi <yao.qi@linaro.org>
12
13 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
14 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
15 (testcases): Update.
16
ce90fefe
YQ
172016-02-26 Yao Qi <yao.qi@linaro.org>
18
19 * gdb.reverse/aarch64.c: Rename to ...
20 * gdb.reverse/insn-reverse.c: ... it.
21 * gdb.reverse/aarch64.exp: Rename to ...
22 * gdb.reverse/insn-reverse.exp: ... it.
23
3263bceb
YQ
242016-02-26 Yao Qi <yao.qi@linaro.org>
25
26 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
27 (testcase_ftype): New.
28 (testcases): New array.
29 (n_testcases): New.
30 (main): Call each element in testcases.
31 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
32 (read_testcase): New.
33 Do the tests in a loop.
34
6cb59ff1
YQ
352016-02-25 Yao Qi <yao.qi@linaro.org>
36
37 * gdb.base/branches.c: Remove.
38
ae91f625
MK
392016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
40
41 PR gdb/13808
42 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
43
678b48b7
MK
442016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
45
46 * gdb.trace/ftrace.exp: Remove unnecessary target check.
47
7337a6f2
MK
482016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
49
50 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
51 change x86_64 call_insn to 'callq'.
52
861ca91f
AT
532016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
54
55 * gdb.trace/tfile-avx.c: Move to...
56 * gdb.trace/tracefile-pseudo-reg.c: Here.
57 * gdb.trace/tfile-avx.exp: Move to...
58 * gdb.trace/tracefile-pseudo-reg.exp: Here.
59
bf74e428
GB
602016-02-24 Gary Benson <gbenson@redhat.com>
61
62 * gdb.base/attach-pie-noexec.exp: Do not expect an error
63 message on attach.
64
cce0e923
DE
652016-02-23 Doug Evans <dje@google.com>
66
67 * gdb.base/skip.c (test_skip): New function.
68 (end_test_skip_file_and_function): New function.
69 (test_skip_file_and_function): New function.
70 * gdb.base/skip1.c (test_skip): New function.
71 (skip1_test_skip_file_and_function): New function.
72 * gdb.base/skip.exp: Add tests for new skip options.
73 * gdb.base/skip-solib.exp: Update expected output.
74 * gdb.perf/skip-command.cc: New file.
75 * gdb.perf/skip-command.exp: New file.
76 * gdb.perf/skip-command.py: New file.
77
4000e47e
MK
782016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
79
80 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
81 info registers pattern.
82
24f75ead
IB
832016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
84
85 * lib/future.exp: Add D support.
86 (gdb_find_gdc): New proc.
87 (gdb_default_target_compile): Add D support.
88
fbb7bcbe
WW
892016-02-18 Wei-cheng Wang <cole945@gmail.com>
90
91 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
92 user+system time.
93 (trace_speed_test): Determine the iteration count for a time
94 between 15..30 seconds.
95
012b3a21
WT
962016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
97
98 * gdb.arch/i386-mpx-sigsegv.c: New file.
99 * gdb.arch/i386-mpx-sigsegv.exp: New file.
100 * gdb.arch/i386-mpx-simple_segv.c: New file.
101 * gdb.arch/i386-mpx-simple_segv.exp: New file.
102
2d5189bd
YQ
1032016-02-18 Yao Qi <yao.qi@linaro.org>
104
105 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
106 Don't call setup_kfail.
107
40fb20d0
YQ
1082016-02-18 Yao Qi <yao.qi@linaro.org>
109
110 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
111 Set "set breakpoint condition-evaluation" per $cond_bp_target.
112
21b1f8d2
DE
1132016-02-16 Doug Evans <dje@google.com>
114
115 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
116 * gdb.base/skip1.c: Ditto.
117 * gdb.base/skip.exp: Whitespace cleanup.
118
4041ed77
DB
1192016-02-16 Don Breazeal <donb@codesourcery.com>
120
121 PR remote/19496
122 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
123 Remove kfail for PR remote/19496.
124
c4ef31bf
SM
1252016-02-16 Simon Marchi <simon.marchi@ericsson.com>
126
127 * lib/gdb.exp (standard_temp_file): Return a path specific to
128 the runtest invocation.
129
266b65b3
SM
1302016-02-16 Simon Marchi <simon.marchi@ericsson.com>
131
132 * gdb.trace/save-trace.exp: Change relative path to be in the
133 standard output directory.
134
a7a0a6a9
JK
1352016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
136
137 * gdb.arch/i386-prologue.c: Add missing prototypes.
138
c99dbb42
JK
1392016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
140
141 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
142 * gdb.arch/i386-prologue.exp: Likewise.
143 * gdb.arch/i386-size.exp: Likewise.
144
aa480355
SM
1452016-02-15 Simon Marchi <simon.marchi@ericsson.com>
146
147 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
148 define object file path.
149 * gdb.btrace/gcore.exp: Use standard_output_file to define core
150 file path.
151 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
152 standard_output_file to define binfile.
153
ba881f50
JK
1542016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
155
156 Fix compatibility with recent gfortran-5.3.1.
157 * gdb.fortran/vla-history.exp (print vla1 allocated)
158 (print vla2 allocated, print $2, print $3): Remove
159 (print $4): Rename to ...
160 (print $2): ... here.
161 (print $9): Rename to ...
162 (print $5): ... here.
163 (print $10): Rename to ...
164 (print $6): ... here.
165 * gdb.fortran/vla.f90: Add pvla initialization.
166
e9fb005c
JK
1672016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
168
169 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
170 New test.
171 * gdb.fortran/vla-value-sub.exp: Likewise.
172
e44e00ff
MK
1732016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
174
175 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
176
97e94151
SM
1772016-02-12 Simon Marchi <simon.marchi@ericsson.com>
178
179 * i386-biarch-core.exp: Define corefile using
180 standard_output_file.
181
01113bc1
YQ
1822016-02-12 Yao Qi <yao.qi@linaro.org>
183
184 * gdb.arch/arm-single-step-kernel-helper.c: New.
185 * gdb.arch/arm-single-step-kernel-helper.exp: New.
186
33b4777c
MM
1872016-02-12 Markus Metzger <markus.t.metzger@intel.com>
188
189 * gdb.btrace/tailcall-only.exp: New.
190 * gdb.btrace/tailcall-only.c: New.
191 * gdb.btrace/x86_64-tailcall-only.S: New.
192 * gdb.btrace/i686-tailcall-only.S: New.
193
acc23c11
PA
1942016-02-11 Pedro Alves <palves@redhat.com>
195
196 * README (Parallel testing): Add missing double quotes.
197
e352bf0a
PA
1982016-02-11 Pedro Alves <palves@redhat.com>
199
200 * README (Parallel testing): New section.
201 (GDB_PARALLEL): Rewrite.
202 (FORCE_PARALLEL): Document.
203
9f5fed78
MK
2042016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
205
206 * gdb.trace/tfile-avx.c: New test.
207 * gdb.trace/tfile-avx.exp: New test.
208
9ef9e6a6
KS
2092016-02-09 Keith Seitz <keiths@redhat.com>
210
211 PR breakpoints/19546
212 * gdb.base/infcall-exec.c: New file.
213 * gdb.base/infcall-exec2.c: New file.
214 * gdb.base/infcall-exec.exp: New file.
215
a96e36da
KS
2162016-02-09 Keith Seitz <keiths@redhat.com>
217
218 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
219 (toplevel): Call test_bkpt_address.
220
9f61929f
KS
2212016-02-09 Keith Seitz <keiths@redhat.com>
222
223 PR python/19506
224 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
225 (toplevel): Call test_bkpt_address.
226
1e94266c
SM
2272016-02-09 Simon Marchi <simon.marchi@ericsson.com>
228
229 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
230 to AC_OUTPUT.
231 * configure: Regenerate.
232
2a7f3dff
PA
2332016-02-09 Pedro Alves <palves@redhat.com>
234
235 PR breakpoints/19548
236 * gdb.base/execl-update-breakpoints.c (some_function): New
237 function.
238 (main): Call it.
239 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
240 Tighten expected GDB output.
241
2151ccc5
SM
2422016-02-08 Simon Marchi <simon.marchi@ericsson.com>
243
244 * Makefile.in (ALL_SUBDIRS): Remove.
245 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
246 (distclean maintainer-clean realclean): Likewise.
247 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
248 * configure: Regenerate.
249 * gdb.ada/Makefile.in: Delete.
250 * gdb.arch/Makefile.in: Likewise.
251 * gdb.asm/Makefile.in: Likewise.
252 * gdb.base/Makefile.in: Likewise.
253 * gdb.btrace/Makefile.in: Likewise.
254 * gdb.cell/Makefile.in: Likewise.
255 * gdb.compile/Makefile.in: Likewise.
256 * gdb.cp/Makefile.in: Likewise.
257 * gdb.disasm/Makefile.in: Likewise.
258 * gdb.dlang/Makefile.in: Likewise.
259 * gdb.dwarf2/Makefile.in: Likewise.
260 * gdb.fortran/Makefile.in: Likewise.
261 * gdb.gdb/Makefile.in: Likewise.
262 * gdb.go/Makefile.in: Likewise.
263 * gdb.guile/Makefile.in: Likewise.
264 * gdb.java/Makefile.in: Likewise.
265 * gdb.linespec/Makefile.in: Likewise.
266 * gdb.mi/Makefile.in: Likewise.
267 * gdb.modula2/Makefile.in: Likewise.
268 * gdb.multi/Makefile.in: Likewise.
269 * gdb.objc/Makefile.in: Likewise.
270 * gdb.opencl/Makefile.in: Likewise.
271 * gdb.opt/Makefile.in: Likewise.
272 * gdb.pascal/Makefile.in: Likewise.
273 * gdb.perf/Makefile.in: Likewise.
274 * gdb.python/Makefile.in: Likewise.
275 * gdb.reverse/Makefile.in: Likewise.
276 * gdb.server/Makefile.in: Likewise.
277 * gdb.stabs/Makefile.in: Likewise.
278 * gdb.threads/Makefile.in: Likewise.
279 * gdb.trace/Makefile.in: Likewise.
280 * gdb.xml/Makefile.in: Likewise.
281 * lib/gdb.exp (make_gdb_parallel_path): Add check for
282 GDB_PARALLEL.
283 (standard_output_file): Remove check for GDB_PARALLEL, always
284 return path in outputs/$subdir/$testname.
285
437277d4
SM
2862016-02-08 Simon Marchi <simon.marchi@ericsson.com>
287
288 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
289 (site.exp): Assign abs_srcdir to tcl's srcdir.
290
31d913c7
YQ
2912016-02-04 Yao Qi <yao.qi@linaro.org>
292
293 * gdb.base/foll-exec-mode.c: Include limits.h.
294 (main): Add parameters argc and argv. Get directory from
295 argv[0].
296 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
297 compilation.
298 * gdb.base/foll-exec.c: Include limits.h.
299 (main): Add parameters argc and argv.
300 Get directory from argv[0].
301 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
302 Adjust tests on the number of lines as source code changed.
303 * gdb.base/foll-vfork-exit.c: Include limits.h.
304 (main): Add one line of statement before vfork.
305 * gdb.base/foll-vfork.c: Include limits.h and string.h.
306 (main): Add parameters argc and argv. Get directory from
307 argv[0].
308 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
309 (setup_gdb): Set tbreak to skip some source lines.
310 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
311 (main): Add parameters argc and argv. Get directory from
312 argv[0].
313 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
314 compilation.
315 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
316 (main): Add parameters argc and argv. Get directory from
317 argv[0].
318 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
319 compilation.
320
9482b9fb
DE
3212016-02-01 Doug Evans <dje@google.com>
322
323 * gdb.base/skip.exp: Clean up multiple references to same test name.
324
6b2e4f10
PA
3252016-02-01 Pedro Alves <palves@redhat.com>
326
ccb6afd6 327 PR remote/19496
6b2e4f10
PA
328 * gdb.threads/forking-threads-plus-breakpoint.exp
329 (displaced_stepping_supported): New global.
330 (probe_displaced_stepping_support): New procedure.
331 (do_test): Add 'displaced' parameter, and use it.
332 (top level): Check for displaced stepping support. Add displaced
333 stepping on/off testing axis.
334
37a8db1a
AB
3352016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
336
337 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
338 pointer. Don't perform further tests on the unassociated pointer
339 if the first test fails.
340
5fdf6324
AB
3412016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
342
343 * gdb.base/max-value-size.c: New file.
344 * gdb.base/max-value-size.exp: New file.
345 * gdb.base/huge.exp: Disable max-value-size for this test.
346
935c6144
IB
3472016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
348
349 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
350
7fe8399d
YQ
3512016-01-28 Yao Qi <yao.qi@linaro.org>
352
353 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
354
a2077e25
PA
3552016-01-25 Pedro Alves <palves@redhat.com>
356
357 PR threads/19461
358 * gdb.base/fork-running-state.c: New file.
359 * gdb.base/fork-running-state.exp: New file.
360
1d2736d4
PA
3612016-01-25 Pedro Alves <palves@redhat.com>
362
363 PR gdb/19494
364 * gdb.base/catch-fork-kill.c: New file.
365 * gdb.base/catch-fork-kill.exp: New file.
366
f1da4b11
PA
3672016-01-25 Pedro Alves <palves@redhat.com>
368
369 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
370 Delete, moved to lib/gdb.exp.
371 * gdb.threads/forking-threads-plus-breakpoint.exp
372 (foreach_with_prefix): Likewise.
373 * gdb.threads/process-dies-while-handling-bp.exp
374 (foreach_with_prefix): Likewise.
375 * lib/gdb.exp (foreach_with_prefix): New procedure.
376
45f38546
MK
3772016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
378
379 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
380 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
381
dc29a1ce
MK
3822016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
383
384 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
385 endian targets.
386
092127d7
JK
3872016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
388 Pedro Alves <palves@redhat.com>
389
390 Fix testsuite compatibility with Guile.
391 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
392 number.
393
31d765d3
JK
3942016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
395
396 Fix testsuite compatibility with Guile.
397 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
398 (thread 1): New test for backtrace through signal handler.
399
1ac78c04
YQ
4002016-01-22 Yao Qi <yao.qi@linaro.org>
401
402 PR testsuite/19491
403 * gdb.base/multi-forks.c: Include
404 ../lib/unbuffer_output.c
405 (main): Call gdb_unbuffer_output.
406
4f5946a8
DE
4072016-01-21 Doug Evans <dje@google.com>
408
409 * lib/ada.exp (gdb_compile_ada): Fix typo.
410
305e13e6
JB
4112016-01-21 Joel Brobecker <brobecker@adacore.com>
412
413 * gdb.base/break-fun-addr.exp: New file.
414 * gdb.base/break-fun-addr1.c: New file.
415 * gdb.base/break-fun-addr2.c: New file.
416
5f5dfff6
SM
4172016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
418
419 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
420 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
421 enum flag values.
422
fd356fa2
AA
4232016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
424
425 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
426 when GDB can not set the vector return value. Add more comments
427 for clarification.
428
9df22175
AT
4292016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
430
431 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
432 command.
433
41d1845e
SM
4342016-01-19 Simon Marchi <simon.marchi@ericsson.com>
435
436 * Makefile.in (DO_RUNTEST): Add --status and update usages.
437
01ac6840
SM
4382016-01-19 Simon Marchi <simon.marchi@ericsson.com>
439
440 * Makefile.in (check-single): Pass --status to runtest.
441 (check/%.exp): Likewise.
442
4432016-01-19 Simon Marchi <simon.marchi@ericsson.com>
444
445 * Makefile.in (check-parallel): Propagate return code from make
446 do-check-parallel.
447
bd0a71fa
MK
4482016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
449
450 * gdb.trace/ftrace.exp: Fix expected message on continue.
451 * gdb.trace/pending.exp: Fix expected message on continue.
452 * gdb.trace/trace-break.exp: Fix expected message on continue.
453
8bcbad33
SM
4542016-01-18 Simon Marchi <simon.marchi@ericsson.com>
455
456 * lib/gdb.exp (gdb_test): Remove unused global references.
457
f303dbd6
PA
4582016-01-18 Pedro Alves <palves@redhat.com>
459
460 * gdb.base/async-shell.exp: Adjust expected output.
461 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
462 * gdb.base/siginfo-thread.exp: Adjust expected output.
463 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
464 * gdb.java/jnpe.exp: Adjust expected output.
465 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
466 * gdb.threads/continue-pending-status.exp: Adjust expected output.
467 * gdb.threads/leader-exit.exp: Adjust expected output.
468 * gdb.threads/manythreads.exp: Adjust expected output.
469 * gdb.threads/pthreads.exp: Adjust expected output.
470 * gdb.threads/schedlock.exp: Adjust expected output.
471 * gdb.threads/siginfo-threads.exp: Adjust expected output.
472 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
473 expected output.
474 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
475 output.
476 * gdb.threads/sigthread.exp: Adjust expected output.
477 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
478
b2789696
YQ
4792016-01-18 Yao Qi <yao.qi@linaro.org>
480
481 * gdb.guile/scm-section-script.c: Replace @progbits with
482 %progbits.
483 * gdb.python/py-section-script.c: Likewise.
484
71ef29a8
PA
4852016-01-15 Pedro Alves <palves@redhat.com>
486
487 * gdb.multi/tids.exp: Test star wildcard ranges.
488
3f5b7598
PA
4892016-01-15 Pedro Alves <palves@redhat.com>
490
491 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
492 command from "thread apply" invocation.
493 (thr_apply_info_thr_invalid): Default the expected output to the
494 input tid list.
495 (top level): Add tests that use convenience variables. Add tests
496 for "thread apply" with a valid TID list, but missing the command.
497
663f6d42
PA
4982016-01-13 Pedro Alves <palves@redhat.com>
499
500 * gdb.base/default.exp: Expect $_gthread as well.
501 * gdb.multi/tids.exp: Test $_gthread.
502 * gdb.threads/thread-specific.exp: Test $_gthread.
503
c84f6bbf
PA
5042016-01-13 Pedro Alves <palves@redhat.com>
505
506 * gdb.multi/tids.exp: Test "info threads -gid".
507
22a02324
PA
5082016-01-13 Pedro Alves <palves@redhat.com>
509
510 * gdb.multi/tids.exp: Test InferiorThread.global_num and
511 Breakpoint.thread.
512 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
513
5d5658a1
PA
5142016-01-07 Pedro Alves <palves@redhat.com>
515
516 * gdb.base/break.exp: Adjust to output changes.
517 * gdb.base/hbreak2.exp: Likewise.
518 * gdb.base/sepdebug.exp: Likewise.
519 * gdb.base/watch_thread_num.exp: Likewise.
520 * gdb.linespec/keywords.exp: Likewise.
521 * gdb.multi/info-threads.exp: Likewise.
522 * gdb.threads/thread-find.exp: Likewise.
523 * gdb.multi/tids.c: New file.
524 * gdb.multi/tids.exp: New file.
525
84654457
PA
5262016-01-13 Pedro Alves <palves@redhat.com>
527
528 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
529
e3940304
PA
5302016-01-13 Pedro Alves <palves@redhat.com>
531
532 * gdb.base/default.exp: Expect $_inferior as well.
533 * gdb.multi/base.exp: Test $_inferior.
534
a911d87a
PA
5352016-01-13 Pedro Alves <palves@redhat.com>
536
537 PR breakpoints/19388
538 * gdb.base/catch-signal-siginfo-cond.c: New file.
539 * gdb.base/catch-signal-siginfo-cond.exp: New file.
540
82075af2
JS
5412016-01-12 Josh Stone <jistone@redhat.com>
542 Philippe Waroquiers <philippe.waroquiers@skynet.be>
543
544 * gdb.base/catch-syscall.c (do_execve): New variable.
545 (main): Conditionally trigger an execve.
546 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
547 (test_catch_syscall_execve): New, check entry/return across execve.
548 (do_syscall_tests): Call test_catch_syscall_execve.
549
e46eeedd
PA
5502016-01-12 Pedro Alves <palves@redhat.com>
551
552 * gdb.base/random-signal.exp (do_test): New procedure, with body
553 of testcase moved in.
554
01d8c27e
JK
5552016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
556 Pedro Alves <palves@redhat.com>
557
558 * gdb.base/funcargs.exp (finish from indirectly called function):
559 Reintroduce the case for 'First'.
560
9a706302
JK
5612016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
562 Pedro Alves <palves@redhat.com>
563
564 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
565 (tcatch_vfork_then_child_follow_exec)
566 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
567 identification.
568
c0ecb95f
JK
5692016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
570
571 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
572 and repeats to unlimited.
573 * gdb.python/py-value.exp: Likewise.
574 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
575 and repeats to unlimited.
576
6cfc1fcb
JK
5772016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
578
579 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
580 and reordering the functions.
581 * gdb.multi/hangout.c: Likewise.
582 * gdb.multi/hello.c: Likewise.
583
582a1b00
SM
5842016-01-08 Simon Marchi <simon.marchi@ericsson.com>
585
586 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
587 absolute.
588 (SingleStatisticTestResult.report): Use dict.keys instead of
589 dict.iterkeys.
590
79bc59cb
PA
5912016-01-06 Pedro Alves <palves@redhat.com>
592
593 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
594
43368e1d
MM
5952016-01-04 Markus Metzger <markus.t.metzger@intel.com>
596
597 * gdb.btrace/dlopen.exp: New.
598 * gdb.btrace/dlopen.c: New.
599 * gdb.btrace/dlopen-dso.c: New.
600
79fad5b8
SL
6012015-12-25 Sandra Loosemore <sandra@codesourcery.com>
602
603 * lib/gdb.exp (gdb_test): Update comments to clarify that the
604 PATTERN argument is optional.
605
ab8314b3
JB
6062015-12-24 Joel Brobecker <brobecker@adacore.com>
607
608 * lib/ada.exp (target_compile_ada_from_dir): New function.
609 (gdb_compile_ada): Reimplement avoiding the use of project files.
610 * gdb.ada/gnat_ada.gpr: Delete.
611 * gdb.ada/cond_lang.exp: Adjust test to make path before
612 filename optional.
613 * gdb.ada/small_reg_param.exp: Likewise.
614
fe33faff
SM
6152015-12-22 Simon Marchi <simon.marchi@ericsson.com>
616
617 * gdb.base/foll-vork.exp: Remove HP-UX special case.
618
6d265cb4
TP
6192015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
620
621 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
622 case.
623
10125099
SM
6242015-12-21 Simon Marchi <simon.marchi@ericsson.com>
625
626 * gdb.base/break.exp: Remove dead code.
627 * gdb.base/sepdebug.exp: Likewise.
628
3ca22649
SM
6292015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
630
631 * gdb.asm/asm-source.exp: Remove HP-UX references.
632 * gdb.base/annota1.exp: Likewise.
633 * gdb.base/annota3.exp: Likewise.
634 * gdb.base/attach.exp: Likewise.
635 * gdb.base/bigcore.exp: Likewise.
636 * gdb.base/break.exp: Likewise.
637 * gdb.base/call-ar-st.exp: Likewise.
638 * gdb.base/callfuncs.exp: Likewise.
639 * gdb.base/catch-fork-static.exp: Likewise.
640 * gdb.base/display.exp: Likewise.
641 * gdb.base/foll-exec-mode.exp: Likewise.
642 * gdb.base/foll-exec.exp: Likewise.
643 * gdb.base/foll-fork.exp: Likewise.
644 * gdb.base/foll-vfork.exp: Likewise.
645 * gdb.base/funcargs.exp: Likewise.
646 * gdb.base/hbreak2.exp: Likewise.
647 * gdb.base/inferior-died.exp: Likewise.
648 * gdb.base/interrupt.exp: Likewise.
649 * gdb.base/multi-forks.exp: Likewise.
650 * gdb.base/nodebug.exp: Likewise.
651 * gdb.base/sepdebug.exp: Likewise.
652 * gdb.base/solib1.c: Likewise.
653 * gdb.base/step-test.exp: Likewise.
654 * gdb.mi/non-stop.c: Likewise.
655 * gdb.mi/pthreads.c: Likewise.
656 * gdb.multi/bkpt-multi-exec.ex: Likewise.
657 * gdb.threads/pthreads.c: Likewise.
658 * gdb.threads/staticthreads.exp: Likewise.
659 * lib/future.exp: Likewise.
660 * lib/gdb.exp: Likewise.
661 * gdb.base/so-indr-cl.c: Remove.
662 * gdb.base/so-indr-cl.exp: Likewise.
663 * gdb.base/solib.c: Likewise.
664 * gdb.base/solib.exp: Likewise.
665 * gdb.base/solib2.c: Likewise.
666
b6304613
SM
6672015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
668
669 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
670 * gdb.base/call-ar-st.exp: Likewise.
671 * gdb.base/callfuncs.exp: Likewise.
672 * gdb.base/condbreak.exp: Likewise.
673 * gdb.base/constvars.exp: Likewise.
674 * gdb.base/hbreak2.exp: Likewise.
675 * gdb.base/langs.exp: Likewise.
676 * gdb.base/list.exp: Likewise.
677 * gdb.base/long_long.exp: Likewise.
678 * gdb.base/ptype.exp: Likewise.
679 * gdb.base/scope.exp: Likewise.
680 * gdb.base/signals.exp: Likewise.
681 * gdb.base/so-impl-ld.exp: Likewise.
682 * gdb.base/varargs.exp: Likewise.
683 * gdb.base/volatile.exp: Likewise.
684 * gdb.base/whatis.exp: Likewise.
685 * gdb.cp/cplusfuncs.exp: Likewise.
686 * gdb.cp/inherit.exp: Likewise.
687 * gdb.cp/local.exp: Likewise.
688 * gdb.cp/member-ptr.exp: Likewise.
689 * gdb.cp/method.exp: Likewise.
690 * gdb.cp/overload.exp: Likewise.
691 * gdb.cp/templates.exp: Likewise.
692 * gdb.stabs/weird.exp: Likewise.
693 * lib/compiler.c: Likewise.
694 * lib/compiler.cc: Likewise.
695 * lib/cp-support.exp: Likewise.
696 * lib/gdb.exp: Likewise.
697
bf401b07
SM
6982015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
699
700 * configure.ac: Remove HP-UX case.
701 * configure: Regenerate.
702
aff9c0f8
SM
7032015-12-18 Simon Marchi <simon.marchi@ericsson.com>
704
705 * lib/gdb.exp (gdb_compile): Add function doc.
706
a6904d5a
PA
7072015-12-17 Pedro Alves <palves@redhat.com>
708
709 PR threads/19354
710 * gdb.multi/info-threads.exp: New file.
711
a22279dd
YQ
7122015-12-15 Yao Qi <yao.qi@linaro.org>
713
714 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
715 is aarch64*-*-*.
716
0588c796
SL
7172015-12-14 Sandra Loosemore <sandra@codesourcery.com>
718
719 * gdb.base/history-duplicates.exp: Skip if no readline support.
720
5d978e17
SL
7212015-12-14 Sandra Loosemore <sandra@codesourcery.com>
722
723 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
724
7e763b86
SL
7252015-12-14 Sandra Loosemore <sandra@codesourcery.com>
726
727 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
728
87a3a92c
SL
7292015-12-14 Sandra Loosemore <sandra@codesourcery.com>
730
731 * gdb.base/completion.exp: Skip tests that interrupt GDB with
732 ctrl-C if nointerrupts target property is set.
733 * gdb.base/double-prompt-target-event-error.exp: Likewise.
734 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
735 * gdb.base/paginate-bg-execution.exp: Likewise.
736 * gdb.base/paginate-execution-startup.exp: Likewise.
737 * gdb.base/random-signal.exp: Likewise.
738 * gdb.base/range-stepping.exp: Likewise.
739 * gdb.cp/annota2.exp: Likewise.
740 * gdb.cp/annota3.exp: Likewise.
741 * gdb.gdb/selftest.exp: Likewise.
742 * gdb.threads/continue-pending-status.exp: Likewise.
743 * gdb.threads/leader-exit.exp: Likewise.
744 * gdb.threads/manythreads.exp: Likewise.
745 * gdb.threads/pthreads.exp: Likewise.
746 * gdb.threads/schedlock.exp: Likewise.
747 * gdb.threads/sigthread.exp: Likewise.
748
a8f077dc
DB
7492015-12-11 Don Breazeal <donb@codesourcery.com>
750
751 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
752 remote.
753 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
754 * gdb.base/foll-exec.exp (main): Enable for target remote.
755 * gdb.base/foll-fork.exp (main): Likewise.
756 * gdb.base/foll-vfork.exp (main): Likewise.
757 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
758 (proc continue_to_exit_bp_loc): Use clean_restart.
759 * gdb.base/pie-execl.exp (main): Disable for target remote.
760 * gdb.base/watch-vfork.exp (main): Enable for target remote.
761 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
762 * gdb.threads/execl.exp (main): Likewise.
763 * gdb.threads/fork-child-threads.exp (main): Likewise.
764 * gdb.threads/fork-plus-threads.exp (main): Disable for target
765 remote.
766 * gdb.threads/fork-thread-pending.exp (main): Enable for target
767 remote.
768 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
769 pid.tid style ptids, instead of just tid.
770 * gdb.threads/thread-execl.exp (main): Enable for target remote.
771 * gdb.threads/watchpoint-fork.exp (main): Likewise.
772 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
773 ptids, instead of just tid.
774
3b2464a8
AB
7752015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
776
777 * gdb.base/list.exp (test_list_forward): Add end of file error
778 test.
779 (test_repeat_list_command): Add end of file error test.
780 (test_list_backwards): Add beginning of file error test.
781
a0def019
AB
7822015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
783
784 * gdb.base/list.exp (test_list_invalid_args): New function,
785 defined, and called.
786
5c000dff
AB
7872015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
788
789 * gdb.base/list.exp (test_list): Make test names unique.
790
f1637ebe
YQ
7912015-12-11 Yao Qi <yao.qi@linaro.org>
792
793 * gdb.base/coremaker2.c: Remove.
794
36d6fc0a
PA
7952015-12-10 Pedro Alves <palves@redhat.com>
796
797 * gdb.multi/base.exp: Remove stale "spaces" references.
798
762f7747
PA
7992015-12-10 Pedro Alves <palves@redhat.com>
800
801 * gdb.multi/base.exp: Don't use nowarnings.
802 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
803 * gdb.multi/hangout.c: Include stdio.h.
804 * gdb.multi/hello.c: Include stdlib.h.
805 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
806 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
807 * gdb.multi/multi-arch.exp: Don't use nowarnings.
808
28d2bfb9
AB
8092015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
810
811 * gdb.dwarf2/dw2-ranges-base.c: New file.
812 * gdb.dwarf2/dw2-ranges-base.exp: New file.
813 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
814 support additional line table, and debug ranges generation.
815 (Dwarf::ranges): New function, generate .debug_ranges.
816 (Dwarf::lines): Support generating simple line table programs.
817 (Dwarf::assemble): Initialise new namespace variables.
818
5fc2beac
KB
8192015-12-09 Kevin Buettner <kevinb@redhat.com>
820
821 * gdb.base/async.exp (proc test_background): Add case for
822 asynchronous execution not supported.
823
1c35a88f
LM
8242015-12-09 Luis Machado <lgustavo@codesourcery.com>
825
826 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
827 format and change test names to make them unique.
828
b593e3d9
RK
8292015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
830 Pedro Alves <pedro@redhat.com>
831
832 PR gdb/18702
833 Add checking of floatformats setup on x86_64 hosts.
834 * gdb.arch/i386-float.S (main): Load bigval and smallval.
835 (smallval, bigval): New labels/constants.
836 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
837 float" after loading bigval and smallval.
838
d72413e6
PMR
8392015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
840
841 * gdb.ada/fun_overload_menu.exp: New testcase.
842 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
843
ece66d65
JS
8442015-12-04 Josh Stone <jistone@redhat.com>
845
846 * gdb.base/catch-fork-static.exp: New.
847
41d0efca
YQ
8482015-12-03 Yao Qi <yao.qi@linaro.org>
849
850 * gdb.base/sizeof.c: Don't include stdio.h and
851 ../lib/unbuffer_output.c.
852 (main): New variable 'size' and 'value'. Remove printf and
853 gdb_unbuffer_output. Assign return value to size and value.
854 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
855 at the beginning.
856 (check_sizeof): Check the result by printing variable 'size'.
857 (check_valueof): Check the result by printing variable 'value'.
858
99fd02d9
YQ
8592015-12-01 Yao Qi <yao.qi@linaro.org>
860
861 * gdb.base/disp-step-syscall.exp: Define syscall instruction
862 for aarch64*-*-linux* target.
863
f2faf941
PA
8642015-11-30 Pedro Alves <palves@redhat.com>
865
866 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
867
04bf20c5
PA
8682015-11-30 Pedro Alves <palves@redhat.com>
869
870 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
871 Handle non-stop mode vCont replies.
872
09df4675
PA
8732015-11-30 Pedro Alves <palves@redhat.com>
874
875 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
876 prepare_for_testing. Start gdb with "set non-stop on" appended to
877 GDBFLAGS. Lax expected stop output.
878
58b584af
YQ
8792015-11-27 Yao Qi <yao.qi@linaro.org>
880
881 * gdb.arch/arm-neon.exp: New.
882 * gdb.arch/arm-neon.c: New.
883
dfcb77a8
YQ
8842015-11-27 Yao Qi <yao.qi@linaro.org>
885
886 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
887
88e8ec1b
YQ
8882015-11-27 Yao Qi <yao.qi@linaro.org>
889
890 * gdb.cp/annota2.exp: Allow multiple occurrences of the
891 frames-invalid annotation.
892
bfde72c2
YQ
8932015-11-27 Yao Qi <yao.qi@linaro.org>
894
895 * gdb.cp/annota2.exp: Use ${frames_invalid}.
896
f6512a69
SM
8972015-11-26 Simon Marchi <simon.marchi@ericsson.com>
898
899 * gdb.threads/names.exp: New file.
900 * gdb.threads/names.c: New file.
901 * README: Mention gdb,no_thread_names.
902
46a3515b
MM
9032015-11-26 Markus Metzger <markus.t.metzger@intel.com>
904
905 PR 19297
906 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
907 support" error.
908
62147a22
PA
9092015-11-24 Pedro Alves <palves@redhat.com>
910
911 PR 17539
912 * gdb.base/display.exp: Expect displays to be sorted in ascending
913 order. Use multi_line.
914 * gdb.base/solib-display.exp: Likewise.
915
2f341b6e
PA
9162015-11-24 Pedro Alves <palves@redhat.com>
917
918 PR 17539
919 * gdb.base/display.exp: Expect displays to be sorted in ascending
920 order. Use multi_line.
921 * gdb.base/solib-display.exp: Likewise.
922
7e0aa6aa
PA
9232015-11-24 Pedro Alves <palves@redhat.com>
924
925 PR 17539
926 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
927 threads in ascending order.
928 * gdb.base/foll-fork.exp: Likewise.
929 * gdb.base/foll-vfork.exp: Likewise.
930 * gdb.base/multi-forks.exp: Likewise.
931 * gdb.mi/mi-nonstop.exp: Likewise.
932 * gdb.mi/mi-nsintrall.exp: Likewise.
933 * gdb.multi/base.exp: Likewise.
934 * gdb.multi/multi-arch.exp: Likewise.
935 * gdb.python/py-inferior.exp: Likewise.
936 * gdb.threads/break-while-running.exp: Likewise.
937 * gdb.threads/execl.exp: Likewise.
938 * gdb.threads/gcore-thread.exp: Likewise.
939 * gdb.threads/info-threads-cur-sal.exp: Likewise.
940 * gdb.threads/kill.exp: Likewise.
941 * gdb.threads/linux-dp.exp: Likewise.
942 * gdb.threads/multiple-step-overs.exp: Likewise.
943 * gdb.threads/next-bp-other-thread.exp: Likewise.
944 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
945 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
946 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
947 * gdb.threads/thread-find.exp: Likewise.
948 * gdb.threads/tls.exp: Likewise.
949 * lib/mi-support.exp (mi_reverse_list): Delete.
950 (mi_check_thread_states): No longer reverse list.
951
2cc57ad8
PA
9522015-11-24 Pedro Alves <palves@redhat.com>
953
954 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
955 use lowercase.
956
c93e8391
SM
9572015-11-23 Simon Marchi <simon.marchi@ericsson.com>
958
959 * gdb.trace/actions.c: Include trace-common.h.
960 (main): Add a location for a fast tracepoint.
961 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
962 the normal tracepoints.
963 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
964
045ccf91
SM
9652015-11-23 Simon Marchi <simon.marchi@ericsson.com>
966
967 * save-trace.exp: Factor out code to these...
968 (gdb_save_tracepoints): New.
969 (gdb_load_tracepoints): New.
970 (do_save_load_test): New.
971
5506f9f6
KB
9722015-11-23 Kevin Buettner <kevinb@redhat.com>
973
974 * gdb.base/asmlabel.exp: New test.
975 * gdb.base/asmlabel.c: New test case.
976
16c3b12f
JB
9772015-11-23 Joel Brobecker <brobecker@adacore.com>
978
979 * gdb.base/wrong_frame_bt_full-main.c: New file.
980 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
981 * gdb.base/wrong_frame_bt_full.exp: New file.
982
155bfbd3
JB
9832015-11-23 Joel Brobecker <brobecker@adacore.com>
984
985 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
986
bb097445
JM
9872015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
988
206853a0 989 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
990 pstate register when comparing registers values in
991 sparc64-*-linux-gnu targets to avoid spurious differences.
992
9c88ed8f
JM
9932015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
994
206853a0 995 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 996
96161e25
SL
9972015-11-19 Sandra Loosemore <sandra@codesourcery.com>
998
999 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1000 as type argument to gdb_compile.
1001 * gdb.base/nested-subp2.exp: Likewise.
1002 * gdb.base/nested-subp3.exp: Likewise.
1003
340c2830
DV
10042015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1005
1006 * lib/dwarf.exp (_note): Fix left shift of negative value.
1007 * gdb.trace/trace-condition.exp: Likewise.
1008
c1862d0f
YQ
10092015-11-13 Yao Qi <yao.qi@linaro.org>
1010
1011 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1012 comments about d10v.
1013 (test_scalar_returns): Likewise.
1014 * gdb.base/d10v.ld: Remove.
1015 * gdb.base/overlays.exp: Remove the target triplet checking for
1016 d10v-*-*.
1017 * gdb.base/structs.exp (test_struct_returns): Remove the
1018 comments about d10v.
1019 (test_struct_calls): Likewise.
1020
77ae9c19
YQ
10212015-11-13 Yao Qi <yao.qi@linaro.org>
1022
1023 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1024 * gdb.base/gnu_vector.c: Don't include stdio.h.
1025 (main): Don't print res and call add_some_intvecs.
1026
430e004e
MK
10272015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1028
1029 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1030 macro.
1031 (func5): Removed.
1032 (func4): Use FAST_TRACEPOINT_LABEL.
1033 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1034 macro.
1035 (func): Removed.
1036 (thread_function): Use FAST_TRACEPOINT_LABEL.
1037 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1038 (func): Remove.
1039 (marker): Use FAST_TRACEPOINT_LABEL.
1040 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1041 (pendfunc1): Remove.
1042 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1043 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1044 (foo): Remove.
1045 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1046 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1047 macro.
1048 (func): Remove.
1049 (marker): Use FAST_TRACEPOINT_LABEL.
1050 * gdb.trace/trace-common.h: New header.
1051 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1052 macro.
1053 (func): Remove.
1054 (marker): Use FAST_TRACEPOINT_LABEL.
1055 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1056 (func): Remove.
1057 (thread_function): Use FAST_TRACEPOINT_LABEL.
1058
6e7675a7
MK
10592015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1060
1061 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1062 in front.
1063 * gdb.trace/change-loc.exp: Use global pcreg definition.
1064 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1065 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1066 in front.
1067 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1068 * gdb.trace/pending.exp: Likewise.
1069 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1070 * gdb.trace/trace-break.exp: Likewise.
1071 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1072 in front.
1073 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1074 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1075 in front.
1076 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1077
dddc0e16
JB
10782015-11-09 Joel Brobecker <brobecker@adacore.com>
1079
1080 * gdb.ada/fin_fun_out: New testcase.
1081
c6f0b406
KB
10822015-11-07 Kevin Buettner <kevinb@redhat.com>
1083
1084 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1085 value associated with DW_AT_byte_size.
1086 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1087 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1088 DW_AT_upper_bound.
1089
f01dcfd9
KB
10902015-11-07 Kevin Buettner <kevinb@redhat.com>
1091
1092 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1093 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1094 version.
1095 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1096 gdb.dwarf2/dw2-canonicalize-type.exp,
1097 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1098 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1099 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1100 provided by gdb_target_symbol_prefix_flags_asm.
1101 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1102 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1103 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1104 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1105 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1106 macros where needed). Use this macro for symbols which require
1107 the prefix provided by SYMBOL_PREFIX.
1108
2223449a
KB
11092015-11-05 Kevin Buettner <kevinb@redhat.com>
1110
1111 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1112 New procs.
1113 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1114 representing expressions, of more than one list element.
1115 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1116 to prepend linker symbol prefix to f.
1117 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1118 table_1 and table_2.
1119 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1120 Likewise, for f and g.
1121 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1122 for ptr.
1123 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1124 for main.
1125 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1126 table_1_ptr and table_2_ptr.
1127
6f2f1a3a
JK
11282015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1129 Joel Brobecker <brobecker@adacore.com>
1130
1131 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1132
566c56c9
MK
11332015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1134
1135 * gdb.reverse/s390-mvcle.c: New test.
1136 * gdb.reverse/s390-mvcle.exp: New file.
1137 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1138
d5f0636b
MK
11392015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1140
1141 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1142
7ad8b86c
MK
11432015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1144
1145 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1146 reaching marker2.
1147 * gdb.reverse/getresuid-reverse.exp: Likewise.
1148 * gdb.reverse/pipe-reverse.exp: Likewise.
1149 * gdb.reverse/readv-reverse.exp: Likewise.
1150 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1151 * gdb.reverse/time-reverse.exp: Likewise.
1152 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1153
4081c0f1
YQ
11542015-10-30 Yao Qi <yao.qi@linaro.org>
1155
1156 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1157 (empty_cycle): Remove.
1158 (main): Don't call empty_cycle. Don't use watch_count_done.
1159 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1160 empty_cycle. Rewrite the code counting HW watchpoints.
1161
452b4ba5
MK
11622015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1163
1164 * gdb.reverse/fstatat-reverse.c: New test.
1165 * gdb.reverse/fstatat-reverse.exp: New file.
1166 * gdb.reverse/getresuid-reverse.c: New test.
1167 * gdb.reverse/getresuid-reverse.exp: New file.
1168 * gdb.reverse/pipe-reverse.c: New test.
1169 * gdb.reverse/pipe-reverse.exp: New file.
1170 * gdb.reverse/readv-reverse.c: New test.
1171 * gdb.reverse/readv-reverse.exp: New file.
1172 * gdb.reverse/recvmsg-reverse.c: New test.
1173 * gdb.reverse/recvmsg-reverse.exp: New file.
1174 * gdb.reverse/time-reverse.c: New test.
1175 * gdb.reverse/time-reverse.exp: New file.
1176 * gdb.reverse/waitpid-reverse.c: New test.
1177 * gdb.reverse/waitpid-reverse.exp: New file.
1178
5e2e7507
JK
11792015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1180
1181 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1182
0fde2c53
DE
11832015-10-26 Doug Evans <dje@google.com>
1184
1185 PR symtab/17391
1186 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1187 * gdb.dwarf2/bad-regnum.c: New file.
1188 * gdb.dwarf2/bad-regnum.exp: New file.
1189
1a70ae97
DE
11902015-10-26 Doug Evans <dje@google.com>
1191
1192 PR python/18938
1193 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1194 file.
1195
27dc26ab
JK
11962015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1197
1198 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1199 for a change by "Mention language in compile error message".
1200
bed91f4d
SM
12012015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1202
1203 PR python/18073
1204 * gdb.python/py-type.c (C::a_method): New.
1205 (C::a_const_method): New.
1206 (C::a_static_method): New.
1207 (a_function): New.
1208 * gdb.python/py-type.exp (test_fields): Test getting fields
1209 from function and method.
1210
3f2f83dd
KB
12112015-10-21 Keven Boell <keven.boell@intel.com>
1212
1213 * gdb.fortran/vla-alloc-assoc.exp: New file.
1214 * gdb.fortran/vla-datatypes.exp: New file.
1215 * gdb.fortran/vla-datatypes.f90: New file.
1216 * gdb.fortran/vla-history.exp: New file.
1217 * gdb.fortran/vla-ptype-sub.exp: New file.
1218 * gdb.fortran/vla-ptype.exp: New file.
1219 * gdb.fortran/vla-sizeof.exp: New file.
1220 * gdb.fortran/vla-sub.f90: New file.
1221 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1222 * gdb.fortran/vla-value-sub-finish.exp: New file.
1223 * gdb.fortran/vla-value-sub.exp: New file.
1224 * gdb.fortran/vla-value.exp: New file.
1225 * gdb.fortran/vla-ptr-info.exp: New file.
1226 * gdb.mi/mi-vla-fortran.exp: New file.
1227 * gdb.mi/vla.f90: New file.
1228
27145d50
SL
12292015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1230
1231 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1232 of hardwired timeout value.
1233
5f3ff4f8
JK
12342015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1235 Pedro Alves <palves@redhat.com>
1236
1237 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1238 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1239
bfd09d20
JS
12402015-10-19 Josh Stone <jistone@redhat.com>
1241
1242 * gdb.base/catch-syscall.c: Include <sched.h>.
1243 (unknown_syscall): New variable.
1244 (main): Trigger a vfork and an unknown syscall.
1245 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1246 (unknown_syscall_number): Likewise.
1247 (check_call_to_syscall): Accept an optional syscall pattern.
1248 (check_return_from_syscall): Likewise.
1249 (check_continue): Likewise.
1250 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1251 (test_catch_syscall_skipping_return): New test toggling off 'catch
1252 syscall' to step over the syscall return, then toggling back on.
1253 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1254 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1255 (do_syscall_tests): Call test_catch_syscall_without_args and
1256 test_catch_syscall_mid_vfork.
1257 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1258 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1259
b32b93c6
AS
12602015-10-19 Andrew Stubbs <ams@codesourcery.com>
1261
1262 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1263 print g_vE): Add new pass patterns.
1264 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1265 print various symbol names for vptr fields.
1266
9d622bda
AB
12672015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1268
1269 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1270 results.
1271
0fd8ac1c
YQ
12722015-10-12 Yao Qi <yao.qi@linaro.org>
1273
1274 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1275
34240514
YQ
12762015-10-12 Yao Qi <yao.qi@linaro.org>
1277
1278 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1279 is aarch64*-*-linux*.
1280
8240f442
YQ
12812015-10-12 Yao Qi <yao.qi@linaro.org>
1282
1283 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1284 (can_relocate_bcond_true): ... it.
1285 (can_relocate_bcond_false): New function.
1286 (foo): Likewise.
1287 (can_relocate_bl): Likewise.
1288 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1289 can_relocate_bl.
1290
2520f728
PMR
12912015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1292
1293 * gdb.base/nested-addr.c: New file.
1294 * gdb.base/nested-addr.exp: New testcase.
1295
abcef95a
MM
12962015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1297
1298 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1299 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1300 its output. Ignore the output of "record goto begin" and instead
1301 check that GDB is replaying.
1302
145e3ddb
PA
13032015-10-09 Pedro Alves <palves@redhat.com>
1304
1305 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1306 (top level): Use it in the run with no args test.
1307
d5d8c4e1
IB
13082015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1309
1310 * gdb.dlang/properties.exp: New file.
1311
06e635ef
SL
13122015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1313
1314 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1315 whether or not address 0x1000 is mapped on the target.
1316
e019fd1d
SM
13172015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1318
1319 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1320 build.
1321
77ba2a67
MM
13222015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1323
1324 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1325 instruction-history test.
1326
c60eb31f
DE
13272015-09-28 Doug Evans <dje@google.com>
1328
1329 * gdb.base/gcore.c (array_func): Add reference to static_array.
1330
9a3c8263
SM
13312015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1332
1333 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1334 source line.
1335
9720e656
SL
13362015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1337
1338 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1339 short or char as base type.
1340
938d3bf2
SL
13412015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1342
1343 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1344 to allow any size enum.
1345
e6c2c623
PMR
13462015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1347
1348 * gdb.ada/array_ptr_renaming.exp: New testcase.
1349 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1350 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1351
06da0f77
PL
13522015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1353
1354 * gdb.trace/ftrace-lock.c: New file.
1355 * gdb.trace/ftrace-lock.exp: New file.
1356
4f51c22a
PL
13572015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1358
1359 * gdb.arch/insn-reloc.c: New file.
1360 * gdb.arch/ftrace-insn-reloc.exp: New file.
1361
7041adf4
PL
13622015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1363
1364 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1365 instruction.
1366 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1367 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1368 * gdb.trace/range-stepping.c: Likewise.
1369 * gdb.trace/trace-break.c: Likewise.
1370 * gdb.trace/trace-mt.c (thread_function): Likewise.
1371 * gdb.trace/ftrace.c (marker): Likewise.
1372 * gdb.trace/trace-condition.c (marker): Likewise.
1373 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1374 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1375 is_aarch64_target.
1376
015d2e7e
DE
13772015-09-18 Doug Evans <xdje42@gmail.com>
1378
1379 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1380 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1381
26b188a2
SL
13822015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1383
1384 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1385 the breakpoint.
1386
79dc332b
SL
13872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1388
1389 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1390 the pending breakpoint. Remove timeout override for "Run till
1391 MI pending breakpoint on pendfunc3 on thread 2" test.
1392
f57929f2
SL
13932015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1394
1395 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1396 filename pattern.
1397
3f469b17
SL
13982015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1399
1400 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1401 in breakpoint filename pattern.
1402
515b89b3
SL
14032015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1404
7800dbe4
SL
1405 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1406
14072015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1408
515b89b3
SL
1409 * gdb.linespec/explicit.exp: Check for readline support for
1410 tab-completion tests. Fix obvious typo.
1411
d2939ba2
MM
14122015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1413
1414 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1415 and replay.
1416
cbb55fa7
MM
14172015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1418
1419 * gdb.btrace/non-stop.c: New.
1420 * gdb.btrace/non-stop.exp: New.
1421
43691ca1
PL
14222015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1423 Yao Qi <yao.qi@linaro.org>
1424
1425 * gdb.trace/trace-condition.c: New file.
1426 * gdb.trace/trace-condition.exp: New file.
1427
d78908cf
WW
14282015-09-16 Wei-cheng Wang <cole945@gmail.com>
1429
1430 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1431 for testing bytecode compilation.
1432
1ed415e2
PA
14332015-09-16 Pedro Alves <palves@redhat.com>
1434 Sandra Loosemore <sandra@codesourcery.com>
1435
1436 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1437 (SECONDS): Redefine.
1438 (main): Call pthread_kill and alarm early.
1439 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1440 support.
1441 (test): If the target can't hardware step and doesn't support
1442 displaced stepping, increase the timeout.
1443
d136eff5
PA
14442015-09-16 Pedro Alves <palves@redhat.com>
1445
1446 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1447 (enable_debug): New procedures.
1448 (test): Use them. Bail out if waiting for threads fails.
1449 (top level): Bail out if a test fails.
1450
991f019c
YQ
14512015-09-16 Yao Qi <yao.qi@linaro.org>
1452
1453 * gdb.asm/asm-source.exp: Set asm-arch for
1454 aarch64*-*-* target.
1455 * gdb.asm/aarch64.inc: New file.
1456
bfca584f
PMR
14572015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1458
1459 * gdb.ada/array_of_variable_length.exp: New testcase.
1460 * gdb.ada/array_of_variable_length/foo.adb: New file.
1461 * gdb.ada/array_of_variable_length/pck.adb: New file.
1462 * gdb.ada/array_of_variable_length/pck.ads: New file.
1463
b326e587
DE
14642015-09-15 Doug Evans <dje@google.com>
1465
1466 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1467 of function static local variable.
1468
5382cfab
PW
14692015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1470
1471 * gdb.threads/tls-so_extern.exp: New test file.
1472 * gdb.threads/tls-so_extern.c: New test file.
1473 * gdb.threads/tls-so_extern_main.c: New test file.
1474
141c5cc4
JK
14752015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1476
1477 * gdb.opt/solib-intra-step-lib.c: New file.
1478 * gdb.opt/solib-intra-step-main.c: New file.
1479 * gdb.opt/solib-intra-step.exp: New file.
1480
d15dcecd
PA
14812015-09-15 Pedro Alves <palves@redhat.com>
1482
1483 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1484 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1485
4c2f2a79
PA
14862015-09-14 Pedro Alves <palves@redhat.com>
1487
1488 * gdb.base/hook-stop-continue.c: Delete.
1489 * gdb.base/hook-stop-continue.exp: Delete.
1490 * gdb.base/hook-stop-frame.c: Delete.
1491 * gdb.base/hook-stop-frame.exp: Delete.
1492 * gdb.base/hook-stop.c: New file.
1493 * gdb.base/hook-stop.exp: New file.
1494
919e6dbe
PMR
14952015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1496
1497 * gdb.ada/access_to_packed_array.exp: New testcase.
1498 * gdb.ada/access_to_packed_array/foo.adb: New file.
1499 * gdb.ada/access_to_packed_array/pack.adb: New file.
1500 * gdb.ada/access_to_packed_array/pack.ads: New file.
1501
157280a4
MM
15022015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1503
1504 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1505 buffer size test.
1506
2fd33e94
DB
15072015-09-11 Don Breazeal <donb@codesourcery.com>
1508
1509 * gdb.base/foll-exec.c: Add copyright header. Fix
1510 formatting issues.
1511 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1512 (do_exec_tests): Use clean_restart in place of zap_session,
1513 and for test initialization. Fix formatting issues. Use
1514 fail in place of perror.
1515 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1516 an expect statement to match an expression with output from
1517 the program under debug.
1518 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1519 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1520 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1521 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1522 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1523
e70b6e8e
DE
15242015-09-09 Doug Evans <dje@google.com>
1525
1526 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1527
7a551a51
DE
15282015-09-09 Doug Evans <dje@google.com>
1529
1530 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1531
4c666f84
DE
15322015-09-09 Doug Evans <dje@google.com>
1533
1534 * gdb.base/savedregs.exp: Fix typo.
1535
243a9253
PA
15362015-09-09 Pedro Alves <palves@redhat.com>
1537
1538 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1539
c0fa8fbd
SL
15402015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1541
1542 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1543 command actually switches threads. Give up on remaining
1544 tests if target fails to stop at breakpoint.
1545
cd7c1778
PMR
15462015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1547
1548 * gdb.ada/funcall_char.exp: New testcase.
1549 * gdb.ada/funcall_char/foo.adb: New file.
1550
dc5c8746
PMR
15512015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1552
1553 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1554 expected outputs. Add two testcases for completing ambiguous
1555 functions.
1556 * gdb.ada/complete/aux_pck.adb: New file.
1557 * gdb.ada/complete/aux_pck.ads: New file.
1558 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1559 Ambiguous_Func functions.
1560 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1561 * gdb.ada/complete/pck.adb: Likewise.
1562
4e83a1e7
UW
15632015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1564
1565 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1566 failures to run the test program under GDB.
1567
8ce74153
LM
15682015-08-26 Luis Machado <lgustavo@codesourcery.com>
1569
1570 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1571 to C.
1572
e9756d52
PP
15732015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1574
1575 * gdb.base/run-after-attach.exp: New test file.
1576 * gdb.base/run-after-attach.c: New test file.
1577
8d37573b
DB
15782015-08-26 Don Breazeal <donb@codesourcery.com>
1579
1580 * gdb.base/foll-exec-2.c: New test program.
1581 * gdb.base/foll-exec-2.exp: New test.
1582
63e43d3a
PMR
15832015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1584
1585 * gdb.base/nested-subp1.exp: New file.
1586 * gdb.base/nested-subp1.c: New file.
1587 * gdb.base/nested-subp2.exp: New file.
1588 * gdb.base/nested-subp2.c: New file.
1589 * gdb.base/nested-subp3.exp: New file.
1590 * gdb.base/nested-subp3.c: New file.
1591
3d40fbb5
PA
15922015-08-24 Pedro Alves <palves@redhat.com>
1593
1594 * gdb.server/connect-without-multi-process.c: New file.
1595 * gdb.server/connect-without-multi-process.exp: New file.
1596
4422ac93
LM
15972015-08-24 Luis Machado <lgustavo@codesourcery.com>
1598
1599 * gdb.opt/inline-markers.c: Make z int.
1600
91dddb86
LM
16012015-08-24 Luis Machado <lgustavo@codesourcery.com>
1602
1603 * gdb.opt/inline-markers.c: Make z volatile.
1604
a48847ee
LM
16052015-08-24 Luis Machado <lgustavo@codesourcery.com>
1606
1607 * gdb.opt/inline-bt.c: New volatile global z.
1608 * gdb.opt/inline-cmds.c: Likewise.
1609 * gdb.opt/inline-locals.c: Likewise.
1610 * gdb.opt/inline-markers.c: New extern global z.
1611 (marker): Use z.
1612 (inline_fn): Likewise.
1613
0ebbc52b
PA
16142015-08-24 Pedro Alves <palves@redhat.com>
1615
1616 * config/m32r-stub.exp: Remove file.
1617 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1618 * gdb.base/call-rt-st.exp: Likewise.
1619 * gdb.base/call-strs.exp: Likewise.
1620 * gdb.base/default.exp: Remove references to h8300-*-hms and
1621 *-*-udi*.
1622 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1623
77c365df
AA
16242015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1625
1626 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1627 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1628 and "return" use KFAIL when GDB can not read/write the vector
1629 return value.
1630
4313b8c0
GB
16312015-08-21 Gary Benson <gbenson@redhat.com>
1632
1633 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1634
0e433b32
PA
16352015-08-20 Pedro Alves <palves@redhat.com>
1636
1637 * gdb.server/solib-list.exp: No longer expect an interior stop in
1638 non-stop mode.
1639
221e1a37
PA
16402015-08-20 Pedro Alves <palves@redhat.com>
1641
1642 * gdb.server/connect-stopped-target.c: New file.
1643 * gdb.server/connect-stopped-target.exp: New file.
1644
40e3ad0e
PA
16452015-08-20 Pedro Alves <palves@redhat.com>
1646
1647 * gdb.dwarf2/comp-unit-lang.exp: New file.
1648 * gdb.dwarf2/comp-unit-lang.c: New file.
1649
af39b327
PMR
16502015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1651
1652 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1653 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1654
7d45c7c3 16552015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1656
7d45c7c3
KB
1657 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1658 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1659
4d6cceb4
DE
16602015-08-18 Doug Evans <dje@google.com>
1661 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1662
1663 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1664 skip_python_tests. New arg prompt_regexp.
1665 (skip_python_tests): New function.
1666 * lib/mi-support.exp (mi_skip_python_tests): New function.
1667 * gdb.python/py-mi-objfile-gdb.py: New file.
1668 * gdb.python/py-mi-objfile.c: New file.
1669 * gdb.python/py-mi-objfile.exp: New file.
1670
ad89c2aa
KS
16712015-08-17 Keith Seitz <keiths@redhat.com>
1672
1673 * gdb.linespec/explicit.exp: Move strace test from here ...
1674 * gdb.trace/strace.exp: ... to here.
1675
e3ae3c43
PP
16762015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1677
1678 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1679 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1680
604b2636
DE
16812015-08-14 Doug Evans <xdje42@gmail.com>
1682
1683 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1684 inferior before selecting a new file.
1685
6ff0ba5f
DE
16862015-08-14 Doug Evans <xdje42@gmail.com>
1687
1688 * gdb.mi/mi-disassemble.exp: Update.
1689 * gdb.base/disasm-optim.S: New file.
1690 * gdb.base/disasm-optim.c: New file.
1691 * gdb.base/disasm-optim.h: New file.
1692 * gdb.base/disasm-optim.exp: New file.
1693
9ca98f92
KS
16942015-08-14 Keith Seitz <keiths@redhat.com>
1695
1696 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1697 "evaluated-by".
1698
52bbc560
JB
16992015-08-13 Joel Brobecker <brobecker@adacore.com>
1700
1701 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1702
5d8c3ed3
PMR
17032015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1704
1705 * gdb.ada/fun_renaming.exp: New testcase.
1706 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1707 * gdb.ada/fun_renaming/pack.adb: New file.
1708 * gdb.ada/fun_renaming/pack.ads: New file.
1709
ea8812bc
KS
17102015-08-12 Keith Seitz <keiths@redhat.com>
1711
1712 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1713 gdb_get_line_number.
1714
4dafcdeb
JB
17152015-08-12 Joel Brobecker <brobecker@adacore.com>
1716
1717 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1718 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1719 gdb.base/dso2dso.exp: New files.
1720
5ba32597
SDJ
17212015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1722 Pedro Alves <palves@redhat.com>
1723 Keith Seitz <keiths@redhat.com>
1724
1725 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1726 GDBFLAGS.
1727
b6dafabf
PP
17282015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1729
1730 * gdb.base/gdbhistsize-history.exp
1731 (test_histsize_history_setting): Use save_vars.
1732 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1733 Use save_vars.
1734 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1735 * gdb.base/readline.exp: Use save_vars.
1736
abe8e607
PP
17372015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1738
1739 * lib/gdb.exp (save_vars): New proc.
1740
629500fa
KS
17412015-08-11 Keith Seitz <keiths@redhat.com>
1742
1743 * gdb.base/help.exp: Update help_breakpoint_text.
1744
eb8c4e2e
KS
17452015-08-11 Keith Seitz <keiths@redhat.com>
1746
1747 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1748 (at toplevel): Call test_explicit_breakpoints.
1749 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1750 breakpoints.
1751 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1752 breakpoint conditions, "-cond".
1753
87f0e720
KS
17542015-08-11 Keith Seitz <keiths@redhat.com>
1755
1756 * gdb.linespec/3explicit.c: New file.
1757 * gdb.linespec/cpexplicit.cc: New file.
1758 * gdb.linespec/cpexplicit.exp: New file.
1759 * gdb.linespec/explicit.c: New file.
1760 * gdb.linespec/explicit.exp: New file.
1761 * gdb.linespec/explicit2.c: New file.
1762 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1763 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1764 before using in the matching pattern.
1765 Clarify that `prefix' is a regular expression.
1766
f00aae0f
KS
17672015-08-11 Keith Seitz <keiths@redhat.com>
1768
1769 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1770 test.
1771 Add tests for missing ",FMT" and ",".
1772
e27852be
DE
17732015-08-10 Doug Evans <dje@google.com>
1774 Keith Seitz <keiths@redhat.com>
1775
1776 PR gdb/17960
1777 * gdb.base/completion.exp: Add location completer tests.
1778
7f03bd92
PA
17792015-08-07 Pedro Alves <palves@redhat.com>
1780
1781 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1782 tests here.
1783 (top level): Run do_test with and without displaced stepping.
1784
3fc8eb30
PA
17852015-08-07 Pedro Alves <palves@redhat.com>
1786
1787 * gdb.base/valgrind-disp-step.c: New file.
1788 * gdb.base/valgrind-disp-step.exp: New file.
1789
d4569d7b
PA
17902015-08-07 Pedro Alves <palves@redhat.com>
1791
1792 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1793 Delete function.
1794 (main): Add alarm. Run an infinite loop instead of calling
1795 wait_threads.
1796 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1797 comment.
1798 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1799 Delete function.
1800 (main): Add alarm. Run an infinite loop instead of calling
1801 wait_threads.
1802 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1803 comment.
1804
e1316e60
PA
18052015-08-07 Pedro Alves <palves@redhat.com>
1806
1807 * gdb.base/checkpoint-ns.exp: New file.
1808 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1809 standard_testfile.
1810
da8c46d2
MM
18112015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1812
1813 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1814 * gdb.btrace/instruction_history.exp: Update.
1815 * gdb.btrace/tsx.exp: New.
1816 * gdb.btrace/tsx.c: New.
1817
de1c2c52
PA
18182015-08-06 Pedro Alves <palves@redhat.com>
1819
1820 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1821 increase timeout.
1822 * gdb.reverse/until-precsave.exp: Bump timeouts.
1823
782e0bf4
PA
18242015-08-06 Pedro Alves <palves@redhat.com>
1825
1826 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1827
83e97ed0
PA
18282015-08-06 Pedro Alves <palves@redhat.com>
1829
1830 PR gdb/18749
1831 * gdb.threads/process-dies-while-handling-bp.c: New file.
1832 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1833
863d01bd
PA
18342015-08-06 Pedro Alves <palves@redhat.com>
1835
1836 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1837 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1838
0a39bb32
PA
18392015-08-05 Pedro Alves <palves@redhat.com>
1840
1841 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1842 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1843
ee2d2b10
SL
18442015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1845
1846 * gdb.base/bp-permanent.exp: Report test as unsupported if
1847 the target cannot stop at the permanent breakpoint.
1848
4e1bdb00
DE
18492015-08-03 Doug Evans <dje@google.com>
1850
1851 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1852 10000.
1853
3d338901
DE
18542015-08-03 Doug Evans <dje@google.com>
1855
1856 * Makefile.in (workers/%.worker, build-perf): New rule.
1857 (GDB_PERFTEST_MODE): New variable.
1858 (check-perf): Use it.
1859 (clean): Clean up gdb.perf parallel build subdirs.
1860 * lib/build-piece.exp: New file.
1861 * lib/gdb.exp (make_gdb_parallel_path): New function
1862 (standard_output_file, standard_temp_file): Call it.
1863 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1864 of $GDB_PARALLEL.
1865 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1866
af061d3e
DE
18672015-08-03 Doug Evans <dje@google.com>
1868
8e1afc81 1869 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1870 (LOG_FILE_NAME): New global.
1871 (TextReporter.__init__): Initialize self.txt_sum.
1872 (TextReporter.report): Add support for multiple data-points.
1873 Move report to perftest.sum, put raw data in perftest.log.
1874 (TextReporter.start): Open sum and log files.
1875 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1876 * gdb.perf/lib/perftest/testresult.py
1877 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1878
2c8c5d37
PA
18792015-07-31 Pedro Alves <palves@redhat.com>
1880
1881 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1882 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1883 kill_wait_spawned_process instead of explicit "kill -9".
1884 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1885 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1886 kill_wait_spawned_process.
1887 * gdb.base/attach-twice.exp: Likewise.
1888 * gdb.base/attach.exp: Likewise.
1889 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1890 gdb_test_multiple.
1891 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1892 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1893 kill_wait_spawned_process.
1894 * gdb.base/valgrind-infcall.exp: Likewise.
1895 * gdb.multi/multi-attach.exp: Likewise.
1896 * gdb.python/py-prompt.exp: Likewise.
1897 * gdb.python/py-sync-interp.exp: Likewise.
1898 * gdb.server/ext-attach.exp: Likewise.
1899 * gdb.threads/attach-into-signal.exp (corefunc): Use
1900 spawn_wait_for_attach, spawn_id_get_pid and
1901 kill_wait_spawned_process.
1902 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1903 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1904 spawn_id_get_pid and kill_wait_spawned_process.
1905 * gdb.threads/attach-stopped.exp (corefunc): Use
1906 spawn_wait_for_attach, spawn_id_get_pid and
1907 kill_wait_spawned_process.
1908 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1909 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1910 kill_wait_spawned_process instead of explicit "kill -9".
1911 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1912 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1913 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1914 processes. Don't map cygwin/windows pids here. Now returns a
1915 spawn id list.
1916
032a0fca
SL
19172015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1918
1919 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1920 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1921 correct patch.
1922
61a934ca
SL
19232015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1924
1925 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1926
4bc4d428
SL
19272015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1928
1929 Reapply:
1930 2014-05-21 Mark Wielaard <mjw@redhat.com>
1931
1932 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1933
998d452a
PA
19342015-07-30 Pedro Alves <palves@redhat.com>
1935
1936 * linux-low.c (handle_extended_wait): Set the child's last
1937 reported status to TARGET_WAITKIND_STOPPED.
1938
69dde7dc
PA
19392015-07-30 Pedro Alves <palves@redhat.com>
1940
1941 PR threads/18600
1942 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1943 only shows inferior 1.
1944
4dd63d48
PA
19452015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1946 Pedro Alves <palves@redhat.com>
1947
1948 PR threads/18600
1949 * gdb.threads/fork-plus-threads.c: New file.
1950 * gdb.threads/fork-plus-threads.exp: New file.
1951
d618e4c5
PP
19522015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1953
1954 * gdb.base/batch-preserve-term-settings.exp
1955 (test_terminal_settings_preserved_after_cli_exit): Use
1956 send_quit_command.
1957
1eef6428
PA
19582015-07-29 Pedro Alves <palves@redhat.com>
1959 Don Breazeal <donb@codesourcery.com>
1960
1961 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1962 output from both inferior_spawn_id and gdb_spawn_id.
1963
7da5b897
SDJ
19642015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1965
1966 * gdb.threads/attach-into-signal.exp (corefunc): Use
1967 with_test_prefix on nested loops, uniquefying the test messages.
1968
dac804df
SDJ
19692015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1970
1971 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1972 commit.
1973
06265e53
PP
19742015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1975
1976 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1977 New proc.
1978 (test_terminal_settings_preserved_after_sigterm): New test.
1979
18206ca3
PP
19802015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1981
1982 * gdb.base/batch-preserve-term-settings.exp
1983 (test_terminal_settings_preserved_after_cli_exit): New test.
1984
90074d11
PP
19852015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1986
1987 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1988 manipulation of saved_gdbflags.
1989 (test_terminal_settings_preserved): Remove global declaration of
1990 the unused variable pagination_prompt. Remove manipulation of
1991 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1992 GDBFLAGS.
1993
eb1a7902
PA
19942015-07-29 Pedro Alves <palves@redhat.com>
1995
1996 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1997
8b75dd3b
PA
19982015-07-29 Pedro Alves <palves@redhat.com>
1999
2000 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2001 at the top.
2002
dedad4e3
PA
20032015-07-29 Pedro Alves <palves@redhat.com>
2004
2005 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2006 (main): Call gdb_unbuffer_output.
2007 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2008 (main): Call gdb_unbuffer_output.
2009 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2010 (main): Call gdb_unbuffer_output.
2011 * gdb.base/call-strs.exp: Adjust to step over the
2012 gdb_unbuffer_output call.
2013 * gdb.base/catch-gdb-caused-signals.c: Include
2014 "../lib/unbuffer_output.c".
2015 (main): Call gdb_unbuffer_output.
2016 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2017 (main): Call gdb_unbuffer_output.
2018 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2019 (main): Call gdb_unbuffer_output.
2020 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2021 (main): Call gdb_unbuffer_output.
2022 * gdb.base/shlib-call.exp: Adjust to step over the
2023 gdb_unbuffer_output call.
2024 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2025 (main): Call gdb_unbuffer_output.
2026 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2027 (main): Call gdb_unbuffer_output.
2028 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2029 (main): Rename to ...
2030 (test): ... this.
2031 (main): Reimplement.
2032 * gdb.base/varargs.exp: Run to test instead of to main.
2033 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2034 (main): Call gdb_unbuffer_output.
2035
58789a91
PA
20362015-07-29 Pedro Alves <palves@redhat.com>
2037
2038 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2039 factore out from mi_continue_dprintf. For call-style dprintfs,
2040 expect dprintf output out of $inferior_spawn_id.
2041 (mi_continue_dprintf): Use mi_expect_dprintf.
2042 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2043 (main): Call gdb_unbuffer_output.
2044
e8376742
PA
20452015-07-29 Pedro Alves <palves@redhat.com>
2046
2047 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2048 (default_mi_gdb_start): Set inferior_spawn_id instead of
2049 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2050 gdb_spawn_id.
2051 (mi_gdb_test): Always expect inferior output from both
2052 $inferior_spawn_id and $gdb_spawn_id.
2053
08280010
PA
20542015-07-29 Pedro Alves <palves@redhat.com>
2055
2056 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2057 send_inferior and $inferior_spawn_id.
2058
4d30e432
PA
20592015-07-29 Pedro Alves <palves@redhat.com>
2060
2061 * gdb.gdb/complaints.exp (test_initial_complaints)
2062 (test_serial_complaints, test_short_complaints): Use
2063 gdb_test_stdio.
2064 (test_empty_complaint): Handle $inferior_spawn_id !=
2065 $gdb_spawn_id.
2066
0d30a335
PA
20672015-07-29 Pedro Alves <palves@redhat.com>
2068
2069 * gdb.base/varargs.exp: Use gdb_test_stdio.
2070
39413b29
PA
20712015-07-29 Pedro Alves <palves@redhat.com>
2072
2073 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2074
7cb000a9
PA
20752015-07-29 Pedro Alves <palves@redhat.com>
2076
2077 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2078
d7b8ac82
PA
20792015-07-29 Pedro Alves <palves@redhat.com>
2080
2081 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2082 parameter into two new parameters, "inf_result" and "gdb_result".
2083 Expect inferior output and gdb output from $inferior_spawn_id and
2084 $gdb_spawn_id, respectively. Adjust all callers.
2085
789c3a0c
PA
20862015-07-29 Pedro Alves <palves@redhat.com>
2087
2088 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2089 of gdb_test_sequence.
2090
77e760c3
PA
20912015-07-29 Pedro Alves <palves@redhat.com>
2092
2093 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2094 (saw_spurious_output): Expect inferior output from
2095 $inferior_spawn_id. Use gdb_test_stdio.
2096
8396d2cd
PA
20972015-07-29 Pedro Alves <palves@redhat.com>
2098
2099 * gdb.base/dprintf.exp: Use standard_testfile. Change
2100 prepare_for_testing call.
2101 (srcfile): Don't set.
2102 (restart): New procedure.
2103 (test_dprintf): New procecure, use to continue over dprintfs.
2104 (test_call, test_agent): New procedures, tests moved here.
2105 Restart gdb and recreate dprintfs. Adjust expected output.
2106
2051d61f
PA
21072015-07-29 Pedro Alves <palves@redhat.com>
2108
2109 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2110
452397af
PA
21112015-07-29 Pedro Alves <palves@redhat.com>
2112
2113 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2114
8aed9555
PA
21152015-07-29 Pedro Alves <palves@redhat.com>
2116
2117 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2118 gdb_test_stdio.
2119
188a61b4
PA
21202015-07-29 Pedro Alves <palves@redhat.com>
2121
2122 * lib/gdb.exp (gdb_test_stdio): New procedure.
2123
12264a45
PA
21242015-07-29 Pedro Alves <palves@redhat.com>
2125
2126 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2127
23ffc893
PA
21282015-07-29 Pedro Alves <palves@redhat.com>
2129
2130 * gdb.base/call-signal-resume.exp: Remove check for
2131 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2132 * gdb.base/unwindonsignal.exp: Likewise.
2133 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2134 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2135
65566918
PA
21362015-07-29 Pedro Alves <palves@redhat.com>
2137
2138 * gdb.base/siginfo-addr.c (pass): New function.
2139 (handler): Call it iff si_addr is correct.
2140 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2141 Set a breakpoint at "pass" and continue to it.
2142
d60a9221
SDJ
21432015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2144
2145 * gdb.python/py-objfile.exp: Make some tests have unique names.
2146 * gdb.python/py-pp-registration.exp: Likewise.
2147
bde40b8f
PA
21482015-07-28 Pedro Alves <palves@redhat.com>
2149
2150 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2151
13e1dec8
SM
21522015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2153
2154 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2155
da33c9a7
SM
21562015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2157
2158 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2159
077836f7
PP
21602015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2161
2162 * gdb.base/gdb-sigterm-2.exp: New test.
2163
b8cc7b2e
DE
21642015-07-25 Doug Evans <xdje42@gmail.com>
2165
2166 Revert:
2167 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2168 (workers/%.worker, build-perf): New rule.
2169 (GDB_PERFTEST_MODE): New variable.
2170 (check-perf): Use it.
2171 (clean): Clean up gdb.perf parallel build subdirs.
2172 * lib/build-piece.exp: New file.
2173 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2174 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2175 name.
2176 (standard_temp_file): Ditto.
2177 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2178 of $GDB_PARALLEL.
2179
c8bd4544
DE
21802015-07-24 Doug Evans <dje@google.com>
2181
2182 * gdb.perf/lib/perftest/utils.py: New file.
2183 * gdb.perf/gm-hello.cc: New file.
2184 * gdb.perf/gm-pervasive-typedef.cc: New file.
2185 * gdb.perf/gm-pervasive-typedef.h: New file.
2186 * gdb.perf/gm-std.cc: New file.
2187 * gdb.perf/gm-std.h: New file.
2188 * gdb.perf/gm-use-cerr.cc: New file.
2189 * gdb.perf/gm-utils.h: New file.
2190 * gdb.perf/gmonster-null-lookup.py: New file.
2191 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2192 * gdb.perf/gmonster-print-cerr.py: New file.
2193 * gdb.perf/gmonster-ptype-string.py: New file.
2194 * gdb.perf/gmonster-runto-main.py: New file.
2195 * gdb.perf/gmonster-select-file.py: New file.
2196 * gdb.perf/gmonster1-null-lookup.exp: New file.
2197 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2198 * gdb.perf/gmonster1-print-cerr.exp: New file.
2199 * gdb.perf/gmonster1-ptype-string.exp: New file.
2200 * gdb.perf/gmonster1-runto-main.exp: New file.
2201 * gdb.perf/gmonster1-select-file.exp: New file.
2202 * gdb.perf/gmonster1.cc: New file.
2203 * gdb.perf/gmonster1.exp: New file.
2204 * gdb.perf/gmonster2-null-lookup.exp: New file.
2205 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2206 * gdb.perf/gmonster2-print-cerr.exp: New file.
2207 * gdb.perf/gmonster2-ptype-string.exp: New file.
2208 * gdb.perf/gmonster2-runto-main.exp: New file.
2209 * gdb.perf/gmonster2-select-file.exp: New file.
2210 * gdb.perf/gmonster2.cc: New file.
2211 * gdb.perf/gmonster2.exp: New file.
2212
6eab34f3
DE
22132015-07-24 Doug Evans <dje@google.com>
2214
2215 * gdb.perf/README: New file.
2216 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2217 * lib/gen-perf-test.exp: New file.
2218
63738bfd
DE
22192015-07-24 Doug Evans <dje@google.com>
2220
2221 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2222 (PerfTest::startup): New function.
2223 (PerfTest::run): Return result of calling body.
2224 (PerfTest::assemble): Rewrite.
2225 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2226 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2227 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2228 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2229 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2230
7b606f95
DE
22312015-07-24 Doug Evans <dje@google.com>
2232
2233 * lib/gdb.exp (clean_restart): Make executable optional.
2234
a97b16b8
DE
22352015-07-24 Doug Evans <dje@google.com>
2236
2237 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2238 compiler_info references.
2239 * gdb.cp/temargs.exp: Ditto.
2240 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2241 (get_compiler_info): Early exit if already computed. Set compiler_info
2242 to "unknown" if there was a problem.
2243 (test_compiler_info): Add function comment. Call get_compiler_info.
2244
35baa57f
DE
22452015-07-24 Doug Evans <dje@google.com>
2246
2247 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2248 (workers/%.worker, build-perf): New rule.
2249 (GDB_PERFTEST_MODE): New variable.
2250 (check-perf): Use it.
2251 (clean): Clean up gdb.perf parallel build subdirs.
2252 * lib/build-piece.exp: New file.
2253 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2254 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2255 name.
2256 (standard_temp_file): Ditto.
2257 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2258 of $GDB_PARALLEL.
2259
6ebea266
DE
22602015-07-24 Doug Evans <dje@google.com>
2261
2262 * lib/future.exp (gdb_default_target_compile): New option
2263 "early_flags".
2264 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2265 --as-needed.
2266
1e76a7e9
SDJ
22672015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2268
2269 * gdb.base/catch-syscall.exp: Call gdb_exit before
2270 gdb_skip_xml_test.
2271
5068630a
PA
22722015-07-24 Pedro Alves <palves@redhat.com>
2273
2274 * gdb.python/py-events.exp: Accept output between the stop event
2275 and the prompt.
2276 * gdb.python/py-evsignal.exp: Likewise.
2277 * gdb.python/py-evthreads.exp: Likewise.
2278
77598427
PA
22792015-07-24 Pedro Alves <palves@redhat.com>
2280
2281 PR gdb/18717
2282 * gdb.threads/non-ldr-exit.c: New file.
2283 * gdb.threads/non-ldr-exit.exp: New file.
2284
11e6c98f
YQ
22852015-07-24 Yao Qi <yao.qi@linaro.org>
2286
2287 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2288 restarting process.
2289
51aee833
YQ
22902015-07-24 Yao Qi <yao.qi@linaro.org>
2291
2292 * gdb.server/ext-restart.exp: New file.
2293
8cfe207c
YQ
22942015-07-24 Yao Qi <yao.qi@linaro.org>
2295
2296 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2297 argument options.
2298 * gdb.server/ext-wrapper.exp: New file.
2299
cc12ce38
DE
23002015-07-23 Doug Evans <dje@google.com>
2301
2302 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2303 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2304
d0d84780
PMR
23052015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2306
2307 * gdb.ada/var_arr_typedef.exp: New testcase.
2308 * gdb.ada/var_arr_typedef/pack.adb: New file.
2309 * gdb.ada/var_arr_typedef/pack.ads: New file.
2310 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2311
8b558f79
JB
23122015-07-20 Joel Brobecker <brobecker@adacore.com>
2313
2314 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2315
775a3298
JK
23162015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2317
2318 * gdb.arch/i386-biarch-core.exp: Replace istarget
2319 by "complete set gnutarget". Remove expectation for the "core-file"
2320 command.
2321
db1ff28b
JK
23222015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2323
2324 Revert the previous commit:
2325 Tests for validate symbol file using build-id.
2326
0a94970d
JK
23272015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2328
2329 Tests for validate symbol file using build-id.
2330 * gdb.base/solib-mismatch-lib.c: New file.
2331 * gdb.base/solib-mismatch-libmod.c: New file.
2332 * gdb.base/solib-mismatch.c: New file.
2333 * gdb.base/solib-mismatch.exp: New file.
2334
03346981
SL
23352015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2336
2337 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2338 nios2-*-linux*.
2339 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2340 * gdb.base/siginfo.exp: Likewise.
2341 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2342
42422cc7
PL
23432015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2344
2345 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2346 Move it to ...
2347 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2348 ... here.
2349 * gdb.trace/range-stepping.exp: Check that the target supports
2350 range stepping.
2351
cfa68bae
JK
23522015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2353
2354 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2355
8ffdba26
PA
23562015-07-14 Pedro Alves <palves@redhat.com>
2357
2358 * gdb.base/killed-outside.exp: New file.
2359 * gdb.base/killed-outside.c: New file.
2360
218a5a11
JK
23612015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2362
2363 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2364 (n at main): New.
2365 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2366
e03ed3c6
AA
23672015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2368
2369 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2370 infcall tests instead of setting up for KFAIL.
2371
485668e5
MM
23722015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2373
2374 * gdb.btrace/record_goto-step.exp: New.
2375
08464196
JK
23762015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2377
2378 PR compile/18484
2379 * gdb.compile/compile.c (struct struct_type): Add volatile to
2380 selffield's type.
2381 * gdb.compile/compile.exp
2382 (compile code struct_object.selffield = &struct_object): Skip further
2383 struct_object tests if this one xfails.
2384
bcf5c1d9
RC
23852015-07-08 Robert O'Callahan <robert@ocallahan.org>
2386
2387 PR exp/18617
2388 * gdb.trace/ax.exp: Add test.
2389
4931af25
YQ
23902015-07-07 Yao Qi <yao.qi@linaro.org>
2391
2392 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2393 instead of istarget "aarch64*-*-*".
2394 * gdb.arch/aarch64-fp.exp: Likewise.
2395 * gdb.base/float.exp: Likewise.
2396 * gdb.reverse/aarch64.exp: Likewise.
2397 * lib/gdb.exp (is_aarch64_target): New proc.
2398
9fcf688e
YQ
23992015-07-07 Yao Qi <yao.qi@linaro.org>
2400
2401 * lib/gdb.exp (is_aarch32_target): New proc.
2402 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2403 instead of "istarget "arm*-*-*"".
2404 * gdb.arch/arm-disp-step.exp: Likewise.
2405 * gdb.arch/thumb-bx-pc.exp: Likewise.
2406 * gdb.arch/thumb-prologue.exp: Likewise.
2407 * gdb.arch/thumb-singlestep.exp: Likewise.
2408 * gdb.base/disp-step-syscall.exp: Likewise.
2409 * gdb.base/float.exp: Likewise.
2410
fbd8d50d
YQ
24112015-07-07 Yao Qi <yao.qi@linaro.org>
2412
2413 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2414 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2415
71be1fdc
YQ
24162015-07-07 Yao Qi <yao.qi@linaro.org>
2417
2418 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2419 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2420 if it exists.
2421 * gdb.multi/multi-arch.exp: Likewise.
2422
3e221d36
SM
24232015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2424
2425 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2426 print.
2427
d441430b
YQ
24282015-07-07 Yao Qi <yao.qi@linaro.org>
2429
2430 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2431
06f810bd
MG
24322015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2433
2434 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2435 '[' and ']' characters.
2436
5e61e7c0
IB
24372015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2438
2439 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2440
28bf096c
PA
24412015-06-29 Pedro Alves <palves@redhat.com>
2442
2443 PR threads/18127
2444 * gdb.threads/hand-call-new-thread.c: New file.
2445 * gdb.threads/hand-call-new-thread.c: New file.
2446
ee93cd5e
KS
24472015-06-26 Keith Seitz <keiths@redhat.com>
2448 Doug Evans <dje@google.com>
2449
2450 PR 16253
2451 * gdb.cp/var-tag-2.cc: New file.
2452 * gdb.cp/var-tag-3.cc: New file.
2453 * gdb.cp/var-tag-4.cc: New file.
2454 * gdb.cp/var-tag.cc: New file.
2455 * gdb.cp/var-tag.exp: New file.
2456
fc637f04
PP
24572015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2458
2459 * gdb.base/history-duplicates.exp: New test.
2460
2e52ae68
PP
24612015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2462
2463 * gdb.base/completion.exp: Test the completion of the "focus"
2464 command.
2465
6e22494e
JK
24662015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2467
2468 * gdb.arch/amd64-prologue-skip.S: New file.
2469 * gdb.arch/amd64-prologue-skip.exp: New file.
2470
bf7b9cd9
SM
24712015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2472
2473 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2474 is_address_zero_readable check.
2475
201e8dfd
PB
24762015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2477
2478 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2479 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2480
5cd867b4
YQ
24812015-06-24 Yao Qi <yao.qi@linaro.org>
2482
2483 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2484 linux targets.
2485
4d7be007
YQ
24862015-06-24 Yao Qi <yao.qi@linaro.org>
2487
2488 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2489 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2490 * gdb.base/siginfo-thread.exp: Likewise.
2491
07fcd301
YQ
24922015-06-22 Yao Qi <yao.qi@linaro.org>
2493
2494 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2495
52042a00
YQ
24962015-06-22 Yao Qi <yao.qi@linaro.org>
2497
2498 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2499 aarch64*-*-*.
2500 (skip_hw_watchpoint_tests): Likewise.
2501
74bd41ce
PP
25022015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2503
2504 * gdb.base/gdbinit-history.exp: Test the interaction between
2505 setting GDBHISTSIZE and setting the history size via .gdbinit.
2506
bc460514
PP
25072015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2508
2509 PR gdb/16999
2510 * gdb.base/gdbhistsize-history.exp: New test.
2511
b58c513b
PP
25122015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2513
2514 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2515 with GDBHISTSIZE.
2516 * gdb.base/readline.exp: Likewise.
2517
92046791
YQ
25182015-06-17 Yao Qi <yao.qi@linaro.org>
2519
2520 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2521 line.
2522
2093d2d3
PP
25232015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2524
2525 * gdb.base/gdbinit-history.exp: Add test case to check that
2526 an unlimited history file does not get truncated on exit.
2527
e6c693af
AA
25282015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2529
2530 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2531 (VECTOR): New macro. Use it...
2532 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2533 ...for these typedefs.
2534 (int8, char1, int1, double1): New typedefs.
2535 (struct just_int2, struct two_int2): New structures.
2536 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2537 (add_structvecs, add_singlevecs): New functions.
2538 (main): Call add_some_intvecs twice.
2539 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2540 the compile and exit upon failure. Try compiling for the "native"
2541 architecture. Test inferior function calls with vector arguments
2542 and vector return value handling with "finish" and "return".
2543
c74f7d1c
JT
25442015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2545
2546 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2547 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2548 PE file.
2549 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2550
98aa42ee
AT
25512015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2552
2553 PR breakpoints/16465
2554 * gdb.mi/mi-dprintf-pending.c: New file.
2555 * gdb.mi/mi-dprintf-pending.exp: New test.
2556 * gdb.mi/mi-dprintf-pendshr.c: New file.
2557
7d73c23c 25582015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2559 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2560
2561 * gdb.arch/i386-mpx-map.c: New file.
2562 * gdb.arch/i386-mpx-map.exp: New File.
2563
25642015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2565
2566 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2567 * gdb.arch/i386-mpx.exp: Indentation fixed.
2568
25692015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2570
2571 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2572 function and improved indentation.
2573 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2574 gdb_test_multiple. Added additional tests to skip the test.
2575
25762015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2577
2578 * gdb.arch/i386-avx512.c: Change path in include file.
2579 * gdb.arch/i386-avx512.exp: Change include dir path
2580 compilation flag.
2581 * gdb.arch/i386-mpx.c: Change path in include file.
2582 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2583 flag.
2584
d5eba19a
JK
25852015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2586
2587 * gdb.compile/compile-print.exp (compile print *vararray@3)
2588 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2589
7f361056
JK
25902015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2591
2592 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2593 (do not keep jit in memory): ... this.
2594 (expect 5): Change it to ...
2595 (expect no 5): ... this.
2596
3b462ec2
SM
25972015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2598
2599 PR gdb/15564
2600 * gdb.mi/mi-detach.exp: New file.
2601
e0619de6
JK
26022015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2603
2604 PR symtab/18392
2605 * gdb.arch/amd64-tailcall-self.S: New file.
2606 * gdb.arch/amd64-tailcall-self.c: New file.
2607 * gdb.arch/amd64-tailcall-self.exp: New file.
2608
e970cb34
DB
26092015-05-28 Don Breazeal <donb@codesourcery.com>
2610
2611 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2612 tests for remote targets by checking is_target_gdbserver.
2613
b2e2f908
DE
26142015-05-27 Doug Evans <dje@google.com>
2615
2616 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2617 * gdb.dwarf2/opaque-type-lookup.c: New file.
2618 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2619
82c7be31
DE
26202015-05-26 Doug Evans <dje@google.com>
2621
2622 * gdb.cp/iostream.cc: New file.
2623 * gdb.cp/iostream.exp: New file.
2624
b4f54984
DE
26252015-05-26 Doug Evans <dje@google.com>
2626
2627 * gdb.dwarf2/dw2-op-call.exp: Update.
2628 * gdb.dwarf2/dw4-sig-types.exp: Update.
2629 * gdb.dwarf2/implptr.exp: Update.
2630 * gdb.mi/mi-cmd-param-changed.exp: Update.
2631
4ea6efe9
DE
26322015-05-26 Doug Evans <dje@google.com>
2633
2634 * gdb.python/py-lazy-string.c: New file.
2635 * gdb.python/py-lazy-string.exp: New file.
2636 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2637 (main): Update. Add estring3.
2638 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2639 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2640
f6bb7db3
YQ
26412015-05-26 Omair Javaid <omair.javaid@linaro.org>
2642 Yao Qi <yao.qi@linaro.org>
2643
2644 * gdb.reverse/aarch64.c: New.
2645 * gdb.reverse/aarch64.exp: New.
2646
a81bfbd0
OJ
26472015-05-26 Omair Javaid <omair.javaid@linaro.org>
2648
2649 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2650 (supports_reverse): Likewise.
2651
158bf1b4
PP
26522015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2653
2654 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2655 Use with_test_prefix.
2656
a0145030
AB
26572015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2658
2659 * gdb.base/completion.exp: Add test for completion of layout
2660 names.
2661
ebe3b578
AB
26622015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2663
2664 * lib/gdb.exp (skip_tui_tests): New proc.
2665 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2666
84204ed7
PA
26672015-05-19 Pedro Alves <palves@redhat.com>
2668
2669 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2670 Save the whole env array instead of just HOME. Unset HISTSIZE in
2671 the environment while testing. Restore whole environment
2672 afterwards.
2673
37442ce1
DE
26742015-05-16 Doug Evans <xdje42@gmail.com>
2675
2676 * gdb.guile/scm-ports.c: New file.
2677 * gdb.guile/scm-ports.exp: Add memory port tests.
2678
36de76f9
JK
26792015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2680
2681 * gdb.compile/compile-print.c: New file.
2682 * gdb.compile/compile-print.exp: New file.
2683
3a9558c4
JK
26842015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2685
2686 * gdb.compile/compile-ops.exp: Cast param to void.
2687 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2688 (compile code struct_object.selffield = &struct_object): Add xfail.
2689
aa715135
JG
26902015-05-15 Joel Brobecker <brobecker@adacore.com>
2691
2692 * gdb.ada/arr_enum_with_gap: New testcase.
2693
931e5bc3
JG
26942015-05-15 Joel Brobecker <brobecker@adacore.com>
2695
2696 * gdb.ada/byte_packed_arr: New testcase.
2697
9cd4d857
JB
26982015-05-15 Joel Brobecker <brobecker@adacore.com>
2699
2700 * gdb.ada/pckd_neg: New testcase.
2701
ebfd00d2
PP
27022015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2703
2704 PR gdb/17820
2705 * gdb.base/gdbinit-history.exp: New test.
2706 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2707 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2708
4c082a81
SC
27092015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2710
2711 * gdb.python/py-xmethods.cc: Enhance test case.
2712 * gdb.python/py-xmethods.exp: New tests.
2713 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2714 function.
2715 (B_indexoper): Likewise.
2716 (global_dm_list) : Add new xmethod worker functions.
2717
f7797074
SDJ
27182015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2719
2720 * gdb.base/coredump-filter.exp: Correctly unset
2721 "coredump_var_addr" array.
2722
a4674e4e
PA
27232015-05-08 Pedro Alves <palves@redhat.com>
2724
2725 * gdb.server/non-existing-program.exp: Unset spawn_id.
2726
df2eb078
SC
27272015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2728
2729 PR python/18291
2730 * gdb.python/py-xmethods.exp: Add tests.
2731
422349a3
YQ
27322015-05-08 Yao Qi <yao.qi@linaro.org>
2733
2734 PR gdb/18208
2735 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2736 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2737 function set_coredump_filter, and remove remote_exec call.
2738 Remove argument ipid. Callers update.
2739 (top level): Don't get inferior's PID.
2740
63fc80ce
AA
27412015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2742
2743 * gdb.base/watch_thread_num.exp: Skip test on targets without
2744 access watchpoints.
2745
80ad801e
PA
27462015-05-06 Pedro Alves <palves@redhat.com>
2747
2748 PR server/18081
2749 * gdb.server/non-existing-program.exp: New file.
2750
0fa7fe50
JB
27512015-05-05 Joel Brobecker <brobecker@adacore.com>
2752
2753 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2754
3ea89b92
PMR
27552015-05-05 Joel Brobecker <brobecker@adacore.com>
2756
2757 * gdb.ada/out_of_line_in_inlined: New testcase.
2758
87b8eff0
JB
27592015-05-05 Joel Brobecker <brobecker@adacore.com>
2760
2761 * gdb.ada/var_rec_arr: New testcase.
2762
5fccc635
YQ
27632015-04-30 Yao Qi <yao.qi@linaro.org>
2764
2765 * gdb.base/break-idempotent.exp: If
2766 skip_hw_watchpoint_multi_tests returns true, skip the tests
2767 on "rwatch" and "awatch".
2768
42d38f42
YQ
27692015-04-30 Yao Qi <yao.qi@linaro.org>
2770
2771 * gdb.base/relativedebug.exp: Invoke gdb command
2772 "info sharedlibrary", and if libc.so doesn't have debug info,
2773 skip the test.
2774
2ce1cdbf
DE
27752015-04-29 Doug Evans <dje@google.com>
2776
2777 * gdb.python/py-xmethods.exp: Add ptype tests.
2778 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2779 get_result_type method.
2780
f24a38c5
LM
27812015-04-29 Luis Machado <lgustavo@codesourcery.com>
2782
2783 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2784 the target does not support hardware watchpoints.
2785
ecbf2b3c
LM
27862015-04-29 Luis Machado <lgustavo@codesourcery.com>
2787
2788 * gdb.base/break-always.exp: Abort testing if writing to memory
2789 causes an error.
2790
34f5f757
DE
27912015-04-28 Doug Evans <dje@google.com>
2792
2793 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2794 * gdb.python/py-pp-registration.exp: ... here. New file.
2795 * gdb.python/py-pp-registration.c: New file.
2796 * gdb.python/py-pp-registration.py: New file.
2797
69b4374a
DE
27982015-04-28 Doug Evans <dje@google.com>
2799
2800 * gdb.python/py-bad-printers.c: New file.
2801 * gdb.python/py-bad-printers.py: New file.
2802 * gdb.python/py-bad-printers.exp: New file.
2803
59fb7612
SS
28042015-04-28 Sasha Smundak <asmundak@google.com>
2805
2806 * gdb.python/py-type.exp: New test.
2807
2631b16a
AW
28082015-04-28 Andy Wingo <wingo@igalia.com>
2809
2810 * gdb.python/py-parameter.exp:
2811 * gdb.guile/scm-parameter.exp: Escape the path that we are
2812 matching against, as it might contain characters that are special
2813 to regular expressions.
2814
460efde1
JB
28152015-04-27 Joel Brobecker <brobecker@adacore.com>
2816
2817 * gdb.ada/rec_comp: New testcase.
2818
2d369d8e
SDJ
28192015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2820
2821 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2822 before using it.
2823
cf75d6c3
AB
28242015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2825
2826 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2827 new tests for verilog output.
2828
8dbe7ca5
YQ
28292015-04-24 Yao Qi <yao.qi@linaro.org>
2830
2831 * boards/remote-gdbserver-on-localhost.exp: New file.
2832
4ef9fb2f
PA
28332015-04-23 Pedro Alves <palves@redhat.com>
2834
2835 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2836 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2837 "end of file", remove $inferior_spawn_id from the indirect list.
2838
0a803169
PA
28392015-04-23 Pedro Alves <palves@redhat.com>
2840
2841 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2842
749ef8f8
PA
28432015-04-23 Pedro Alves <palves@redhat.com>
2844
2845 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2846 on $any_spawn_id instead of only on $gdb_spawn_id.
2847
8aae4344
PM
28482015-04-21 Pierre Muller <muller@sourceware.org>
2849
2850 PR pascal/17815
2851 * lib/pascal.exp (gpc_compile): Add new option "class".
2852 (fpc_compile): Likewise.
2853 * gdb.pascal/case-insensitive-symbols.pas: New file.
2854 * gdb.pascal/case-insensitive-symbols.exp: New file.
2855
1586c8fb
GB
28562015-04-20 Gary Benson <gbenson@redhat.com>
2857
2858 * gdb.base/attach.exp: Fix three extended remote failures.
2859
1b6e6f5c
GB
28602015-04-17 Gary Benson <gbenson@redhat.com>
2861
2862 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2863 the main executable over the remote protocol.
2864
e797481d
PA
28652015-04-16 Pedro Alves <palves@redhat.com>
2866
2867 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2868 a new gdbserver if gdbserver_reconnect_p is set.
2869
1ca99c42
PA
28702015-04-16 Pedro Alves <palves@redhat.com>
2871
2872 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2873 is set, don't exit gdbserver.
2874
af9fd6f8
AA
28752015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2876
2877 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2878 appropriate .insn, such that an older assembler can be used.
2879 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2880 the z/Architecture instruction set on 31-bit targets as well.
2881
04ff1e61
AA
28822015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2883
2884 * gdb.go/handcall.exp: Remove all logic related to the first
2885 breakpoint and rely on go_runto_main instead.
2886 * gdb.go/strings.exp: Likewise.
2887 * gdb.go/unsafe.exp: Likewise.
2888 * gdb.go/hello.exp: Likewise. Also rename the remaining
2889 breakpoint marker to "breakpoint 1".
2890 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2891 * gdb.go/strings.go: Likewise.
2892 * gdb.go/unsafe.go: Likewise.
2893 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2894 "set breakpoint 2 here" and rename the remaining breakpoint marker
2895 to "breakpoint 1".
2896
40d2f8d6
SM
28972015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2898
2899 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2900 if itertools.imap is not present.
2901 * gdb.python/py-objfile.exp: Add parentheses.
2902 * gdb.python/py-type.exp: Same.
2903 * gdb.python/py-unwind-maint.py: Same.
2904
8cbc97c6
YQ
29052015-04-15 Yao Qi <yao.qi@linaro.org>
2906
2907 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2908 of ":$ptr_size" and set its form explicitly.
2909
45fd756c
YQ
29102015-04-15 Pedro Alves <palves@redhat.com>
2911 Yao Qi <yao.qi@linaro.org>
2912
2913 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2914 timeout by factor of 4.
2915 (test_regular_watch): Likewise.
2916 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2917 * gdb.reverse/sigall-reverse.exp: Likewise.
2918 * gdb.reverse/until-precsave.exp: Likewise.
2919 * lib/gdb.exp (with_timeout_factor): New proc.
2920 (gdb_expect): Move some code to ...
2921 (get_largest_timeout): ... here. New procedure.
2922
9e811bc3
LM
29232015-04-14 Luis Machado <lgustavo@codesourcery.com>
2924
2925 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2926
0ff6fcb2
LM
29272015-04-13 Luis Machado <lgustavo@codesourcery.com>
2928
2929 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2930 to write to the .text section.
2931
7578d5f7
LM
29322015-04-13 Luis Machado <lgustavo@codesourcery.com>
2933
2934 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2935 Handle the case of targets that do not provide PID information.
2936
2efe15c4
YQ
29372015-04-13 Yao Qi <yao.qi@linaro.org>
2938
2939 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2940 and use expect instead of gdb_expect.
2941
8cd8f2f8
SDJ
29422015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2943
2944 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2945 "coredump_var_addr" to avoid naming conflict with other testcases.
2946
9ee41772
PA
29472015-04-10 Pedro Alves <palves@redhat.com>
2948
2949 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2950 gdb_test_sequence and gdb_assert.
2951
07473109
PA
29522015-04-10 Pedro Alves <palves@redhat.com>
2953
2954 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2955 test messages that don't include the breakpoint address.
2956
de3db44c
YQ
29572015-04-10 Yao Qi <yao.qi@linaro.org>
2958
2959 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2960 false for some offset and width combinations which aren't
2961 supported by linux kernel.
2962
c79d856c
PA
29632015-04-10 Pedro Alves <palves@redhat.com>
2964
2965 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2966 procedure, factored out from ...
2967 (top level): ... here. Add "set displaced-stepping" testing axis.
2968 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2969 parameter "displaced". Use it.
2970 (top level): Use foreach and add "set displaced-stepping" testing
2971 axis.
2972
ebc90b50
PA
29732015-04-10 Pedro Alves <palves@redhat.com>
2974
2975 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2976 Remove comment.
2977 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2978 both the address of the instruction that triggers the watchpoint
2979 and the address of the instruction immediately after, and use
2980 those addresses for the test. Fix comment.
2981
8f572e5c
PA
29822015-04-10 Pedro Alves <palves@redhat.com>
2983
2984 * gdb.base/sigstep.exp (breakpoint_to_handler)
2985 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2986 Test "backtrace" in handler.
2987 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2988 (top level): Add new "displaced" test axis to
2989 breakpoint_to_handler, breakpoint_to_handler_entry and
2990 breakpoint_over_handler.
2991
8d707a12
PA
29922015-04-10 Pedro Alves <palves@redhat.com>
2993
2994 PR gdb/18216
2995 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2996
ef713951
YQ
29972015-04-10 Yao Qi <yao.qi@linaro.org>
2998
2999 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3000 (test_add_rn_pc): New function.
3001 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3002 (top level): Invoke test_add_rn_pc.
3003
906d60cf
PA
30042015-04-10 Pedro Alves <palves@redhat.com>
3005
3006 PR gdb/13858
3007 * gdb.base/step-over-no-symbols.exp: New file.
3008
f2983cc3
AW
30092015-04-09 Andy Wingo <wingo@igalia.com>
3010
3011 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3012 after the Python tests.
3013
6d62641c
SDJ
30142015-04-08 Keith Seitz <keiths@redhat.com>
3015
3016 PR python/16699
3017 * gdb.python/py-completion.exp: New tests for completion.
3018 * gdb.python/py-completion.py (CompleteLimit1): New class.
3019 (CompleteLimit2): Likewise.
3020 (CompleteLimit3): Likewise.
3021 (CompleteLimit4): Likewise.
3022 (CompleteLimit5): Likewise.
3023 (CompleteLimit6): Likewise.
3024 (CompleteLimit7): Likewise.
3025
f3770638
PA
30262015-04-08 Pedro Alves <palves@redhat.com>
3027
3028 PR gdb/18214
3029 PR gdb/18216
3030 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3031 function.
3032 (main): Install it as SIGUSR1 handler.
3033 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3034 parameter. Always use "setup" as prefix. Toggle "set
3035 displaced-stepping" off/on depending on global. Don't switch to
3036 thread 1 here.
3037 (top level): Add displaced stepping "off/on" test axis. Update
3038 "setup" calls. Wrap each subtest with with_test_prefix. Test
3039 continuing with a queued signal in each thread.
3040
4496bed7
PA
30412015-04-08 Pedro Alves <palves@redhat.com>
3042
3043 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3044 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3045 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3046 Return early if running to main fails.
3047 * gdb.trace/while-stepping.exp: Likewise.
3048
b97fde92
PA
30492015-04-07 Pedro Alves <palves@redhat.com>
3050
3051 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3052 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3053 interact with inferior program.
3054
f71c18e7
PA
30552015-04-07 Pedro Alves <palves@redhat.com>
3056
3057 * lib/gdb.exp (inferior_spawn_id): New global.
3058 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3059 spawn id after processing the user code.
3060 (default_gdb_start): Set inferior_spawn_id.
3061 (send_inferior): New procedure.
3062 * lib/gdbserver-support.exp (gdbserver_start): Set
3063 inferior_spawn_id.
3064 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3065
6423214f
PA
30662015-04-07 Pedro Alves <palves@redhat.com>
3067
3068 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3069 * lib/gdbserver-support.exp (gdbserver_start): Make
3070 $server_spawn_id global.
3071 (gdbserver_start): Don't wait for gdbserver's spawn id with
3072 expect_background.
3073 (close_gdbserver): New procedure.
3074 (gdb_exit): Rename the default version and reimplement.
3075
71c0ee8c
PA
30762015-04-07 Pedro Alves <palves@redhat.com>
3077
72f4393d 3078 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
3079 append the substituted item, not the original item.
3080
203bc29b
PA
30812015-04-07 Pedro Alves <palves@redhat.com>
3082
3083 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3084 gdb_expect.
3085
508a3ddf
PA
30862015-04-07 Pedro Alves <palves@redhat.com>
3087
3088 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3089 output appearing once only.
3090
9f6dbe2b
PA
30912015-04-07 Pedro Alves <palves@redhat.com>
3092
3093 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3094 that doesn't expect anything. Return early if running to main
3095 fails.
3096
337532fa
YQ
30972015-04-07 Yao Qi <yao.qi@linaro.org>
3098
3099 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3100 (child_function): Call alarm.
3101 (main): Move call to alarm into the loop.
3102 * gdb.threads/non-stop-fair-events.exp: Build program with
3103 -DTIMEOUT=$timeout.
3104
01b622d4
DE
31052015-04-06 Doug Evans <xdje42@gmail.com>
3106
3107 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3108 Fix dest parameter to board_info.
3109 (fpc_compile): Ditto.
3110 (gdb_compile_pascal): Rename dest arg to destfile.
3111
961f4160
PMR
31122015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3113
3114 * gdb.ada/funcall_ref.exp: New file.
3115 * gdb.ada/funcall_ref/foo.adb: New file.
3116
cafda597
YQ
31172015-04-02 Yao Qi <yao.qi@linaro.org>
3118
3119 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3120 is remote.
3121
fed040c6
GB
31222015-04-02 Gary Benson <gbenson@redhat.com>
3123
3124 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3125
d11916aa
SS
31262015-04-01 Sasha Smundak <asmundak@google.com>
3127
3128 * gdb.python/py-unwind-maint.c: New file.
3129 * gdb.python/py-unwind-maint.exp: New test.
3130 * gdb.python/py-unwind-maint.py: New file.
3131 * gdb.python/py-unwind.c: New file.
3132 * gdb.python/py-unwind.exp: New test.
3133 * gdb.python/py-unwind.py: New test.
3134
a1471180
PA
31352015-04-01 Pedro Alves <palves@redhat.com>
3136
3137 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3138 to fail instead of non-existent $test.
3139
0bbeccb1
PA
31402015-04-01 Pedro Alves <palves@redhat.com>
3141
3142 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3143 GDBFLAGS if not empty.
3144
3c724c8c
PMR
31452015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3146
3147 * gdb.ada/complete.exp: Remove "multi_line".
3148 * gdb.ada/info_exc.exp: Remove "multi_line".
3149 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3150 * gdb.ada/ptype_field.exp: Remove "multi_line".
3151 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3152 * gdb.ada/tagged.exp: Remove "multi_line".
3153 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3154 [multi_line ...]
3155 * gdb.btrace/delta.exp: Likewise.
3156 * gdb.btrace/exception.exp: Likewise.
3157 * gdb.btrace/function_call_history.exp: Likewise.
3158 * gdb.btrace/instruction_history.exp: Likewise.
3159 * gdb.btrace/nohist.exp: Likewise.
3160 * gdb.btrace/record_goto.exp: Likewise.
3161 * gdb.btrace/segv.exp: Likewise.
3162 * gdb.btrace/stepi.exp: Likewise.
3163 * gdb.btrace/tailcall.exp: Likewise.
3164 * gdb.btrace/unknown_functions.exp: Likewise.
3165 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3166 * lib/gdb.exp: Add the "multi_line" helper.
3167
4eec2deb
PA
31682015-04-01 Pedro Alves <palves@redhat.com>
3169
3170 * gdb.threads/tid-reuse.c: New file.
3171 * gdb.threads/tid-reuse.exp: New file.
3172
df8411da
SDJ
31732015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3174
3175 PR corefiles/16092
3176 * gdb.base/coredump-filter.c: New file.
3177 * gdb.base/coredump-filter.exp: Likewise.
3178
6ef37366
PM
31792015-03-27 Petr Machata <pmachata@redhat.com>
3180
3181 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3182 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3183 (Dwarf::assemble): Initialize them.
3184 (Dwarf::lines): New function.
3185
7ec911b0
JT
31862015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3187
3188 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3189 SYMBOL_PREFIX for x86_64-*-cygwin.
3190
ff908ebf
AW
31912015-03-26 Andy Wingo <wingo@igalia.com>
3192
3193 PR symtab/18148
3194 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3195 const_value but not a location.
3196 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3197 location defined in non-main CUs are visible.
3198
6d5f0679
YQ
31992015-03-26 Yao Qi <yao.qi@linaro.org>
3200
3201 PR testsuite/18139
3202 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3203 Add a line number entry for the same line.
3204 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3205 Add a line number entry for the same line.
3206
2898689b
YQ
32072015-03-26 Yao Qi <yao.qi@linaro.org>
3208
3209 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3210 .int 0.
3211 (func): Likewise. Add .Lfunc_1 label.
3212 Use .Lfunc_1 label.
3213 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3214 .int 0.
3215 (func): Likewise.
3216 Use .Lfunc_1 label.
3217
85180498
YQ
32182015-03-26 Yao Qi <yao.qi@linaro.org>
3219
3220 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3221 Call gdb_compile instead to compile each .s files without debug
3222 information.
3223
8aa08a8d
YQ
32242015-03-26 Yao Qi <yao.qi@linaro.org>
3225
3226 * gdb.base/savedregs.exp (process_saved_regs): Make
3227 "Saved registers:" optional in the pattern.
3228
66849923
MM
32292015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3230
3231 * gdb.btrace/next.exp: Merged into step.exp.
3232 * gdb.btrace/finish.exp: Merged into step.exp.
3233 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3234 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3235 "record goto" and checking the exact replay position.
3236 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3237 check for "Recording format" in "info record" output.
3238 * gdb.btrace/record_goto.exp: Choose test file based on target.
3239 * gdb.btrace/x86-record_goto.S: Renamed into ...
3240 * gdb.btrace/x86_64-record_goto.S: ... this.
3241 * gdb.btrace/i686-record_goto.S: New.
3242 * gdb.btrace/x86-tailcall.S: Renamed into ...
3243 * gdb.btrace/x86_64-tailcall.S: ... this.
3244 * gdb.btrace/i686-tailcall.S: New.
3245 * gdb.btrace/x86-tailcall.c: Renamed into ...
3246 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3247 separate statements. Update test.
3248 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3249 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3250 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3251 * gdb.btrace/tailcall.exp: Choose test file based on target.
3252 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3253
11cc1b74
MM
32542015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3255
3256 * gdb.btrace/exception.exp: Increase BTS buffer size.
3257
a25d8bf9
PA
32582015-03-24 Pedro Alves <palves@redhat.com>
3259
3260 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3261
856e7dd6
PA
32622015-03-24 Pedro Alves <palves@redhat.com>
3263
3264 * gdb.threads/schedlock.exp (test_step): No longer expect that
3265 "set scheduler-locking step" with "next" over a function call runs
3266 threads unlocked.
3267
ad235a41
AT
32682015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3269
3270 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3271
15630549
AT
32722015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3273
3274 PR breakpoints/16466
3275 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3276 * gdb.mi/mi-pending.c (thread_func): New function.
3277 (int main): Add threading support required.
3278 * gdb.mi/mi-pending.exp: Add tests for this issue.
3279 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3280 (pendfunc2): Remove stdio dependency.
3281 * gdb.mi/mi-pendshr2.c: New file.
3282
693dca06
KS
32832015-03-23 Keith Seitz <keiths@redhat.com>
3284
3285 * gdb.linespec/keywords.c: New file.
3286 * gdb.linespec/keywords.exp: New file.
3287
7e993ebf
KS
32882015-03-23 Keith Seitz <keiths@redhat.com>
3289
3290 PR gdb/18021
3291 * gdb.dwarf2/staticvirtual.exp: New test.
3292
bc23328c
JK
32932015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3294
3295 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3296 * README: Remove HP-UX and gdb.hp.
3297 (configuration):
3298 * configure: Regenerate.
3299 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3300 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3301 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3302 gdb.hp/gdb.defects/Makefile.
3303 * gdb.hp/Makefile.in: File deleted.
3304 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3305 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3306 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3307 * gdb.hp/gdb.aCC/run.c: File deleted.
3308 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3309 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3310 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3311 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3312 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3313 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3314 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3315 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3316 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3317 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3318 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3319 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3320 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3321 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3322 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3323 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3324 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3325 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3326 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3327 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3328 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3329 * gdb.hp/gdb.compat/average.c: File deleted.
3330 * gdb.hp/gdb.compat/sum.c: File deleted.
3331 * gdb.hp/gdb.compat/xdb.c: File deleted.
3332 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3333 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3334 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3335 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3336 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3337 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3338 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3339 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3340 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3341 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3342 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3343 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3344 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3345 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3346 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3347 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3348 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3349 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3350 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3351 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3352 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3353 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3354 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3355 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3356 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3357 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3358 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3359 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3360 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3361 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3362 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3363 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3364 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3365 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3366 * gdb.hp/tools/odump: File deleted.
3367
8bf3b159
PA
33682015-03-19 Pedro Alves <palves@redhat.com>
3369
3370 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3371 (saw_thread_3): New globals.
3372 (top level): Increment them when an event for the corresponding
3373 thread is seen.
3374 (no thread starvation): New test.
3375
eb54c8bf
PA
33762015-03-19 Pedro Alves <palves@redhat.com>
3377
3378 * gdb.threads/continue-pending-status.c: New file.
3379 * gdb.threads/continue-pending-status.exp: New file.
3380
32d2e5d6
PA
33812015-03-18 Pedro Alves <palves@redhat.com>
3382
3383 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3384 Use gdb_is_target_remote instead of is_remote. Use
3385 gdb_test_multiple instead of gdb_expect. Exit early if
3386 gdb_test_multiple hits its internal matches. Tighten stepi tests
3387 expected output. Fail on exit with any signal, instead of just
3388 SIGILL.
3389
f68f11b7
YQ
33902015-03-18 Yao Qi <yao.qi@linaro.org>
3391
3392 PR tdep/18107
3393 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3394 variable.
3395 * gdb.base/catch-syscall.exp: Don't skip it on
3396 aarch64*-*-linux* target. Remove elements in all_syscalls.
3397 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3398 target.
3399 (setup_all_syscalls): New proc.
3400
ca5fd19b
YQ
34012015-03-16 Yao Qi <yao.qi@linaro.org>
3402
3403 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3404 (top level): Skip tests if valid_addr_p returns false for
3405 $cmd1 or $cmd2.
3406
85642ba0
AW
34072015-03-11 Andy Wingo <wingo@igalia.com>
3408
3409 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3410
e03f9645
YQ
34112015-03-11 Yao Qi <yao.qi@linaro.org>
3412
3413 * gdb.base/catch-syscall.exp: Fix typo in comments.
3414
5d0962b2
YQ
34152015-03-11 Yao Qi <yao.qi@linaro.org>
3416
3417 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3418
b2df3cef
PA
34192015-03-09 Pedro Alves <palves@redhat.com>
3420
3421 * dg-extract-results.py: Delete.
3422
ef878e53
PA
34232015-03-09 Pedro Alves <palves@redhat.com>
3424
3425 Merge dg-extract-results.sh from GCC upstream (r218843).
3426
3427 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3428 * dg-extract-results.sh: Use --text with grep to avoid issues with
3429 binary files. Fall back to cat -v, if that doesn't work.
3430
9494d219
PA
34312015-03-05 Pedro Alves <palves@redhat.com>
3432
3433 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3434
a8d9763a
SM
34352015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3436
3437 * lib/mi-support.exp (mi_expect_interrupt): Accept
3438 alternative event for when in all-stop mode.
3439
be9957b8
PA
34402015-03-04 Pedro Alves <palves@redhat.com>
3441
3442 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3443
d57be0f4 34442015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3445
3446 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3447
c214c7cf
AA
34482015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3449
3450 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3451 regexps for GDB's current line display, accept a hex address
3452 preceding the line number.
3453
6d74a497
AA
34542015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3455
3456 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3457 the 'arch1' variable for "s390*-linux*" targets.
3458
511aee7c
PA
34592015-03-04 Pedro Alves <palves@redhat.com>
3460
3461 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3462 (main): Pass missing retval argument to pthread_join call.
3463
95e50b27
PA
34642015-03-02 Pedro Alves <palves@redhat.com>
3465
3466 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3467 (top level): Call do_test with non-stop as well.
3468
28054d69
PA
34692015-03-02 Pedro Alves <palves@redhat.com>
3470
3471 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3472 -1.
3473
4fa5d7b4
AA
34742015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3475
3476 * gdb.arch/s390-vregs.exp: New test.
3477 * gdb.arch/s390-vregs.S: New file.
3478
97c18565
PA
34792015-02-27 Pedro Alves <palves@redhat.com>
3480
3481 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3482 call to catch_command_errors.
3483 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3484 catch_command_errors.
3485
a37bfa30
PA
34862015-02-27 Pedro Alves <palves@redhat.com>
3487
3488 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3489 "true" for boolean result.
3490 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3491 prototype of main.
3492
6f98576f
PA
34932015-02-27 Pedro Alves <palves@redhat.com>
3494
3495 * lib/unbuffer_output.c: New file.
3496 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3497 (main): Call gdb_unbuffer_output.
3498
eba5ab56
YQ
34992015-02-27 Yao Qi <yao.qi@linaro.org>
3500
3501 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3502 target.
3503
0def5aaa
DE
35042015-02-26 Doug Evans <dje@google.com>
3505
3506 * gdb.cp/class2.cc (Dbase, D): New classes.
3507 (main): New local delta.
3508 * gdb.cp/class2.exp: Test printing delta.
3509 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3510 (dynbar): New global.
3511 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3512
081a1c2c
JK
35132015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3514
3515 * gdb.compile/compile-ifunc.c: New file.
3516 * gdb.compile/compile-ifunc.exp: New file.
3517
2f41223f
AT
35182015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3519
3520 * gdb.base/structs.exp: Check for correct struct on finish.
3521
03eddd80
YQ
35222015-02-26 Yao Qi <yao.qi@linaro.org>
3523
3524 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3525 is zero.
3526
80c57053
JK
35272015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3528
3529 * gdb.arch/cordic.ko.bz2: New file.
3530 * gdb.arch/cordic.ko.debug.bz2: New file.
3531 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3532
21613c12
YQ
35332015-02-25 Yao Qi <yao.qi@linaro.org>
3534
3535 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3536 aarch64*-*-* target.
3537
d8b901ed
PA
35382015-02-23 Pedro Alves <palves@redhat.com>
3539
3540 * lib/gdb.exp (delete_breakpoints): Rewrite using
3541 gdb_test_multiple.
3542
e5b85ead
PA
35432015-02-23 Pedro Alves <palves@redhat.com>
3544
3545 * gdb.base/info-os.c: Include stdlib.h.
3546
85c3a371
DE
35472015-02-22 Doug Evans <xdje42@gmail.com>
3548
3549 PR symtab/17855
3550 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3551 is read after symbols have been re-read.
3552 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3553 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3554
96553a0c
DE
35552015-02-21 Doug Evans <dje@google.com>
3556
3557 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3558
97a0c697
JK
35592015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3560
3561 PR corefiles/17808
3562 * gdb.arch/i386-biarch-core.core.bz2: New file.
3563 * gdb.arch/i386-biarch-core.exp: New file.
3564
a47cd6e9
PA
35652015-02-21 Pedro Alves <palves@redhat.com>
3566
3567 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3568 runto_main fails.
3569
c5facdc4
PA
35702015-02-20 Pedro Alves <palves@redhat.com>
3571
3572 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3573 info probes.
3574
2db9a427
PA
35752015-02-20 Pedro Alves <palves@redhat.com>
3576
3577 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3578
60fb7e9e
PA
35792015-02-20 Pedro Alves <palves@redhat.com>
3580
3581 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3582 clean_restart before gdb_target_supports_trace.
3583
5c5019c2
PA
35842015-02-20 Pedro Alves <palves@redhat.com>
3585
3586 PR threads/18006
3587 * gdb.threads/clone-thread_db.c: New file.
3588 * gdb.threads/clone-thread_db.exp: New file.
3589
c9587f88
AT
35902015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3591
3592 PR breakpoints/16812
3593 * gdb.base/catch-gdb-caused-signals.c: New file.
3594 * gdb.base/catch-gdb-caused-signals.exp: New file.
3595
f6a88844
JM
35962015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3597
3598 * configure: Regenerated.
3599 * configure.ac: Use GDB_AC_TRANSFORM.
3600 * aclocal.m4: sinclude ../transform.m4.
3601
497c491b
JM
36022015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3603
3604 * lib/dtrace.exp: New file.
3605 * gdb.base/dtrace-probe.exp: Likewise.
3606 * gdb.base/dtrace-probe.d: Likewise.
3607 * gdb.base/dtrace-probe.c: Likewise.
3608 * lib/pdtrace.in: Likewise.
3609 * configure.ac: Output variables with the transformed names of
3610 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3611 * configure: Regenerated.
3612
03e98035
JM
36132015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3614
3615 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3616 expected message when trying to access $_probe_* convenience
3617 variables while not on a probe.
3618
63cc30e9
JK
36192015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3620
3621 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3622
0703599a
PA
36232015-02-11 Pedro Alves <pedro@codesourcery.com>
3624
3625 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3626 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3627
7e60a48e
DE
36282015-02-10 Doug Evans <xdje42@gmail.com>
3629
3630 * lib/gdb.exp (gdb_load): Always return a result.
3631
01b088bc
PA
36322015-02-10 Pedro Alves <palves@redhat.com>
3633
3634 * gdb.threads/signal-sigtrap.c: New file.
3635 * gdb.threads/signal-sigtrap.exp: New file.
3636
b05ec7a5
AT
36372015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3638
3639 * gdb.trace/no-attach-trace.c: New file.
3640 * gdb.trace/no-attach-trace.exp: New file.
3641
a2c2acaf
MW
36422015-02-09 Mark Wielaard <mjw@redhat.com>
3643
3644 * gdb.dwarf2/atomic.c: New file.
3645 * gdb.dwarf2/atomic-type.exp: Likewise.
3646
31fd9caa
MM
36472015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3648
3649 * gdb.btrace/buffer-size.exp: Update "info record" output.
3650 * gdb.btrace/delta.exp: Update "info record" output.
3651 * gdb.btrace/enable.exp: Update "info record" output.
3652 * gdb.btrace/finish.exp: Update "info record" output.
3653 * gdb.btrace/instruction_history.exp: Update "info record" output.
3654 * gdb.btrace/next.exp: Update "info record" output.
3655 * gdb.btrace/nexti.exp: Update "info record" output.
3656 * gdb.btrace/step.exp: Update "info record" output.
3657 * gdb.btrace/stepi.exp: Update "info record" output.
3658 * gdb.btrace/nohist.exp: Update "info record" output.
3659
d33501a5
MM
36602015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3661
3662 * gdb.btrace/buffer-size: New.
3663
f4abbc16
MM
36642015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3665
3666 * gdb.btrace/delta.exp: Update "info record" output.
3667 * gdb.btrace/enable.exp: Update "info record" output.
3668 * gdb.btrace/finish.exp: Update "info record" output.
3669 * gdb.btrace/instruction_history.exp: Update "info record" output.
3670 * gdb.btrace/next.exp: Update "info record" output.
3671 * gdb.btrace/nexti.exp: Update "info record" output.
3672 * gdb.btrace/step.exp: Update "info record" output.
3673 * gdb.btrace/stepi.exp: Update "info record" output.
3674 * gdb.btrace/nohist.exp: Update "info record" output.
3675
b9d61307
SM
36762015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3677
3678 PR gdb/15678
3679 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3680
e584fdbc
PA
36812015-02-06 Pedro Alves <palves@redhat.com>
3682
3683 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3684 macro.
3685 (seconds_left, again): New globals.
3686 (main): Wait seconds_left in a 1-second sleep loop instead of
3687 sleeping 180 seconds. If 'again' is set, reset the seconds
3688 counter.
3689 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3690 'again' in the inferior before detaching. Print the seconds left.
3691 (options): New global.
3692 (top level): Build program with -DTIMEOUT=$timeout.
3693
77f41761
PA
36942015-02-06 Pedro Alves <palves@redhat.com>
3695
3696 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3697 determine how many seconds to pass to 'alarm'.
3698 * gdb.base/gdb-sigterm.exp (top level): Build program with
3699 -DTIMEOUT=$timeout.
3700 (do_test): Return success/failure indication. Add more verbose
3701 logging. Don't fail if 200 single steps are seen. Instead, fail
3702 when the test times out.
3703 (passes): New global.
3704 (top level): Break the testing loop if testing fails on any
3705 iteration. Use gdb_assert.
3706
b9394193
DB
37072015-02-04 Don Breazeal <donb@codesourcery.com>
3708
3709 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3710 and initialize them.
3711 (ipc_cleanup): New function.
3712 (main): Don't declare shmid, semid, and msqid. Add a call to
3713 atexit so that we call ipc_cleanup on exit.
3714
42d9e528
PA
37152015-02-04 Pedro Alves <palves@redhat.com>
3716
3717 * boards/native-extended-gdbserver.exp: Remove any target variant
3718 specifications from the board name before clearing the isremote
3719 flag from board_info.
3720
ae6ae975
DE
37212015-01-31 Doug Evans <xdje42@gmail.com>
3722
3723 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3724
cfb069a8
GB
37252015-01-31 Gary Benson <gbenson@redhat.com>
3726
3727 * gdb.base/completion.exp: Disable completion limiting for
3728 existing tests. Add new tests to check completion limiting.
3729 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3730
5dd31d79
DE
37312015-01-31 Doug Evans <xdje42@gmail.com>
3732
3733 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3734
9f050062
DE
37352015-01-31 Doug Evans <xdje42@gmail.com>
3736
3737 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3738 entries. Duplicate file section script entries.
3739 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3740 inlined entries. Add test for safe-path rejection.
3741 * gdb.python/py-section-script.c: Add duplicate inlined section script
3742 entries. Duplicate file section script entries.
3743 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3744 inlined entries. Add test for safe-path rejection.
3745
df25ebbd
JB
37462015-01-29 Joel Brobecker <brobecker@adacore.com>
3747
3748 * gdb.ada/disc_arr_bound: New testcase.
3749
4a0ca9ec
JB
37502015-01-29 Joel Brobecker <brobecker@adacore.com>
3751
3752 * gdb.ada/mi_var_array: New testcase.
3753
3a8b707a
DE
37542015-01-27 Doug Evans <dje@google.com>
3755
3756 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3757 Add test for objfile.filename, objfile.username after objfile
3758 has been unloaded.
3759
f8313f6e
JB
37602015-01-26 Joel Brobecker <brobecker@adacore.com>
3761
3762 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3763 the second test to print the name attribute of value
3764 returned by the call to gdb.lookup_type, and adjust
3765 the expected output accordingly.
3766
37bc665e
MW
37672015-01-25 Mark Wielaard <mjw@redhat.com>
3768
3769 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3770 * gdb.base/disp-step-fork.c: Include unistd.h.
3771 * gdb.base/siginfo-obj.c: Include stdio.h.
3772 * gdb.base/siginfo-thread.c: Likewise.
3773 * gdb.mi/non-stop.c: Include unistd.h.
3774 * gdb.mi/nsthrexec.c: Include stdio.h.
3775 * gdb.mi/pthreads.c: Include unistd.h.
3776 * gdb.modula2/unbounded1.c (main): Declare returns int.
3777 * gdb.reverse/consecutive-reverse.c: Likewise.
3778 * gdb.threads/create-fail.c: Include unistd.h.
3779 * gdb.threads/killed.c: Likewise.
3780 * gdb.threads/linux-dp.c: Likewise.
3781 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3782 * gdb.threads/non-ldr-exc-2.c: Likewise.
3783 * gdb.threads/non-ldr-exc-3.c: Likewise.
3784 * gdb.threads/non-ldr-exc-4.c: Likewise.
3785 * gdb.threads/pthreads.c: Include unistd.h.
3786 (main): Declare returns int.
3787 * gdb.threads/tls-main.c (foo): New declaration.
3788 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3789
f7e5394d
SM
37902015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3791
3792 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3793 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3794
743649fd
MW
37952015-01-15 Mark Wielaard <mjw@redhat.com>
3796
3797 * gdb.base/noreturn-return.c: New file.
3798 * gdb.base/noreturn-return.exp: New file.
3799 * gdb.base/noreturn-finish.c: New file.
3800 * gdb.base/noreturn-finish.exp: New file.
3801
198297aa
PA
38022015-01-23 Pedro Alves <palves@redhat.com>
3803
3804 * gdb.threads/continue-pending-after-query.c: New file.
3805 * gdb.threads/continue-pending-after-query.exp: New file.
3806
717cf30c
AG
38072015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3808 Simon Marchi <simon.marchi@ericsson.com>
3809
3810 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3811 * gdb.base/valgrind-db-attach.exp: Same.
3812 * gdb.base/valgrind-infcall.exp: Same.
3813 * lib/mi-support.exp (default_mi_gdb_start): Same.
3814 * lib/prompt.exp (default_prompt_gdb_start): Same.
3815 * lib/gdb.exp (default_gdb_spawn): Same.
3816 (gdb_interact): New.
3817
3818
4b62a76e
JK
38192015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3820
3821 * gdb.compile/compile.exp (pointer to jit function): New test.
3822
b4cdae6f
WW
38232015-01-17 Wei-cheng Wang <cole945@gmail.com>
3824
3825 * lib/gdb.exp (supports_process_record): Return true for
3826 powerpc*-*-linux*.
3827 (supports_reverse): Likewise.
3828
d221e7ef
DB
38292015-01-15 Don Breazeal <donb@codesourcery.com>
3830
3831 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3832 instead of checking whether the target board is remote and
3833 use spawn_wait_for_attach instead of exec/sleep.
3834 * gdb.base/attach-twice.exp: Likewise.
3835
bafffb51
JB
38362015-01-15 Joel Brobecker <brobecker@adacore.com>
3837
3838 * gdb.ada/var_arr_attrs: New testcase.
3839
5589af0e
PA
38402015-01-14 Pedro Alves <palves@redhat.com>
3841 Joel Brobecker <brobecker@adacore.com>
3842
3843 PR gdb/17525
3844 * gdb.base/bp-cmds-execution-x-script.c: New file.
3845 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3846 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3847
6c400b59
PA
38482015-01-14 Pedro Alves <palves@redhat.com>
3849
3850 PR cli/17828
3851 * gdb.base/batch-preserve-term-settings.c: New file.
3852 * gdb.base/batch-preserve-term-settings.exp: New file.
3853
e02c96a7
DE
38542015-01-13 Doug Evans <dje@google.com>
3855
3856 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3857 binary.
3858
576fd14c
JB
38592015-01-13 Joel Brobecker <brobecker@adacore.com>
3860
3861 * Makefile.in (clean mostlyclean): Do not delete *.py.
3862
04dccad0
JB
38632015-01-13 Joel Brobecker <brobecker@adacore.com>
3864
3865 * gdb.python/py-lookup-type.exp: New file.
3866
3d230f71
PA
38672015-01-12 Pedro Alves <palves@redhat.com>
3868
3869 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3870 restore GDBFLAGS before returning.
3871
7e67715d
JK
38722015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3873
3874 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3875 is_amd64_regs_target and is_x86_like_target.
3876
f2e0d4b4
DE
38772015-01-11 Doug Evans <xdje42@gmail.com>
3878
3879 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3880 is given without an explicit form.
3881 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3882 attributes.
3883 * gdb.dwarf/corrupt.exp: Ditto.
3884 * gdb.dwarf2/enum-type.exp: Ditto.
3885 * gdb.trace/entry-values.exp: Ditto.
3886 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3887
439250fb
DE
38882015-01-11 Doug Evans <xdje42@gmail.com>
3889
3890 PR gdb/15830
3891 * gdb.base/maint.exp: Remove references to "maint demangle".
3892 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3893 Add tests for explicitly specifying language to demangle.
3894 * gdb.dlang/demangle.exp: Ditto.
3895
ede9f622
PA
38962015-01-09 Pedro Alves <palves@redhat.com>
3897
3898 * gdb.threads/non-stop-fair-events.c: New file.
3899 * gdb.threads/non-stop-fair-events.exp: New file.
3900
a7b796db
PA
39012015-01-09 Pedro Alves <palves@redhat.com>
3902
3903 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3904 the global scope. Set a breakpoint after all threads are started
3905 rather than stepping over two source lines. Expect the prompt.
3906 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3907 global.
3908 (NUM): Now 15.
3909 (main): Use threads_started_barrier to wait for all threads to
3910 start. Main thread no longer calls thread_function. Exit after
3911 180 seconds.
3912 (loop): New function.
3913 (thread_function): Wait on threads_started_barrier barrier. Call
3914 'loop' at each iteration.
3915 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3916 threads have started, instead of hardcoding number of "next"
3917 steps. Use an access watchpoint instead of a write watchpoint.
3918
9665ffdd
PA
39192015-01-09 Pedro Alves <palves@redhat.com>
3920
3921 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3922 (thread_func): Wait on barrier.
3923 (main): Wait for all threads to start before stopping GDB.
3924 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3925 global.
3926 (thread1_func, thread2_func): Wait on barrier.
3927 (main): Wait for all threads to start before stopping GDB.
3928 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3929 New global.
3930 (thread1_func, thread2_func): Wait on barrier.
3931 (main): Wait for all threads to start before stopping GDB.
3932
c945a99f
PA
39332015-01-09 Pedro Alves <palves@redhat.com>
3934
3935 * gdb.threads/attach-many-short-lived-threads.c: New file.
3936 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3937
c1a747c1
PA
39382014-01-09 Pedro Alves <palves@redhat.com>
3939
3940 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3941 instead of to thread 2.
3942 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3943 Add barrier around each pthread_create call instead of around all
3944 calls.
3945 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3946 Set a break on thread_function and have the child threads hit it
3947 one at at a time.
3948
60b3033e
PA
39492015-01-09 Pedro Alves <palves@redhat.com>
3950
3951 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3952 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3953 false.
3954 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3955 checking whether the target board is remote.
3956 * gdb.multi/multi-attach.exp: Likewise.
3957 * gdb.python/py-sync-interp.exp: Likewise.
3958 * gdb.server/ext-attach.exp: Likewise.
3959 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3960 tests that need to attach, instead of checking whether the target
3961 board is remote at the top of the file.
3962
acc018ac
YQ
39632015-01-08 Yao Qi <yao@codesourcery.com>
3964
3965 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3966
50a18af8
JK
39672015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3968
3969 Fix testcase compilation.
3970 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3971
8503d6e1
JB
39722015-01-06 Joel Brobecker <brobecker@adacore.com>
3973
3974 * gdb.python/py-type.exp: Add a couple test about empty
3975 array creation, and negative-length array creation.
3976
cc73dbcc
DE
39772015-01-02 Doug Evans <xdje42@gmail.com>
3978
3979 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3980
0300bbc7
DE
39812015-01-02 Doug Evans <dje@google.com>
3982
3983 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3984
9d85a0ec
YQ
39852014-12-29 Yao Qi <yao@codesourcery.com>
3986
3987 * gdb.trace/entry-values.exp: Update comments. Rename variable
3988 bar_call_foo to returned_from_foo.
3989
87186c6a
MMN
39902014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3991
3992 PR gdb/17394
3993 * gdb.linespec/break-asm-file.c: New file.
3994 * gdb.linespec/break-asm-file.exp: New file.
3995 * gdb.linespec/break-asm-file0.s: New file.
3996 * gdb.linespec/break-asm-file1.s: New file.
3997
1bab7383
YQ
39982014-12-18 Nigel Stephens <nigel@mips.com>
3999 Maciej W. Rozycki <macro@codesourcery.com>
4000
4001 * gdb.base/float.exp: Handle the new output from "info float" on
4002 MIPS targets.
4003
1bc1068a
JK
40042014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4005
4006 Fix MinGW compilation.
4007 * gdb.compile/compile-ops.exp: Update untested message if
4008 !skip_compile_feature_tests.
4009 * gdb.compile/compile-setjmp.exp: Likewise.
4010 * gdb.compile/compile-tls.exp: Likewise.
4011 * gdb.compile/compile.exp: Likewise.
4012 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4013 supported on this host".
4014
b6615d10
DE
40152014-12-16 Doug Evans <xdje42@gmail.com>
4016
4017 * boards/stabs.exp: New file.
4018
25dda427
AA
40192014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4020
4021 * gdb.base/completion.exp: Adjust to format changes of "maint
4022 print user-registers".
4023
bf330350
CU
40242014-12-16 Catalin Udma <catalin.udma@freescale.com>
4025
4026 PR server/17457
4027 * gdb.arch/aarch64-fp.c: New file.
4028 * gdb.arch/aarch64-fp.exp: New file.
4029
395cf596
SDJ
40302014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4031
4032 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4033 r210637, r210913, r211666, r215400, r215817).
4034
4035 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4036 * dg-extract-results.py: New file.
4037 * dg-extract-results.sh: Use it if the environment seems
4038 suitable.
4039
4040 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4041
4042 * dg-extract-results.py (parse_run): Handle warnings that
4043 are printed before a test harness is run.
4044
4045 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4046
4047 * dg-extract-results.py (Named): Remove __cmp__ method.
4048 (output_variation): Use a key to sort variation.harnesses.
4049
4050 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4051
4052 * dg-extract-results.py: For Python 3, force sys.stdout to
4053 handle surrogate escape sequences.
4054 (safe_open): New function.
4055 (output_segment, main): Use it.
4056
4057 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4058
4059 * dg-extract-results.py (Prog.result_re): Include options
4060 in test name.
4061
4062 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4063
4064 * dg-extract-results.py (output_variation): Always sort if
4065 do_sum.
4066
e882ef3c
SM
40672014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4068
4069 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4070 as long as we get pagination notifications.
4071
4992aa20
JM
40722014-12-15 Jason Merrill <jason@redhat.com>
4073
4074 * Makefile.in (check-gdb.%): Restore.
4075 * README: Mention it.
4076
c1b5a1a6
JB
40772014-12-13 Joel Brobecker <brobecker@adacore.com>
4078
4079 * gdb.ada/str_uninit: New testcase.
4080
5537b577
JK
40812014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4082
4083 PR symtab/17642
4084 * gdb.base/vla-stub-define.c: New file.
4085 * gdb.base/vla-stub.c: New file.
4086 * gdb.base/vla-stub.exp: New file.
4087
bb2ec1b3
TT
40882014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4089 Jan Kratochvil <jan.kratochvil@redhat.com>
4090 Tom Tromey <tromey@redhat.com>
4091
4092 * configure.ac: Add gdb.compile/.
4093 * configure: Regenerate.
4094 * gdb.compile/Makefile.in: New file.
4095 * gdb.compile/compile-ops.exp: New file.
4096 * gdb.compile/compile-ops.c: New file.
4097 * gdb.compile/compile-tls.c: New file.
4098 * gdb.compile/compile-tls.exp: New file.
4099 * gdb.compile/compile-constvar.S: New file.
4100 * gdb.compile/compile-constvar.c: New file.
4101 * gdb.compile/compile-mod.c: New file.
4102 * gdb.compile/compile-nodebug.c: New file.
4103 * gdb.compile/compile-setjmp-mod.c: New file.
4104 * gdb.compile/compile-setjmp.c: New file.
4105 * gdb.compile/compile-setjmp.exp: New file.
4106 * gdb.compile/compile-shlib.c: New file.
4107 * gdb.compile/compile.c: New file.
4108 * gdb.compile/compile.exp: New file.
4109 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4110
4ff709eb
TT
41112014-12-12 Tom Tromey <tromey@redhat.com>
4112
4113 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4114 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4115
6dddd6a5
DE
41162014-12-12 Doug Evans <dje@google.com>
4117
4118 * lib/gdb-python.exp (get_python_valueof): New function.
4119 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4120
71c24708
AA
41212014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4122
4123 * gdb.base/completion.exp: Add test for completion of "info
4124 registers ".
4125
3e29f34a
MR
41262014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4127
4128 * gdb.base/func-ptrs.c: New file.
4129 * gdb.base/func-ptrs.exp: New file.
4130
fc126975
SM
41312014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4132
4133 PR breakpoints/17012
4134 * gdb.base/dprintf-detach.c: New file.
4135 * gdb.base/dprintf-detach.exp: New file.
4136
0a46d518
SM
41372014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4138
4139 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4140 * lib/gdb.exp (target_is_gdbserver): New procedure.
4141
a0be3e44
DE
41422014-12-08 Doug Evans <dje@google.com>
4143
4144 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4145
df1b803a
YQ
41462014-12-05 Yao Qi <yao@codesourcery.com>
4147
4148 * gdb.guile/scm-error.exp: Remove the third argument to
4149 gdb_remote_download.
4150 * gdb.guile/scm-frame-args.exp: Likewise.
4151 * gdb.guile/scm-section-script.exp: Likewise.
4152
ddb9f679
YQ
41532014-12-05 Yao Qi <yao@codesourcery.com>
4154
4155 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4156
86e4ed39
DE
41572014-12-04 Doug Evans <dje@google.com>
4158
4159 * gdb.python/py-objfile.exp: Add tests for
4160 objfile.add_separate_debug_file.
4161
7c50a931
DE
41622014-12-04 Doug Evans <dje@google.com>
4163
4164 * lib/gdb.exp (get_build_id): New function.
4165 (build_id_debug_filename_get): Rewrite to use it.
4166 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4167
621661e3
MR
41682014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4169
4170 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4171 `method(long)', not just 0x0.
4172 * gdb.cp/nsalias.exp: Align code labels to 4.
4173 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4174 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4175 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4176 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4177 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4178 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4179
29f0c3b7
DE
41802014-12-02 Doug Evans <dje@google.com>
4181
e1e061e7 4182 PR symtab/17602
29f0c3b7 4183 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4184 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4185 * gdb.cp/anon-ns.exp: Update.
4186
162078c8
NB
41872014-12-02 Nick Bull <nicholaspbull@gmail.com>
4188
4189 * gdb.python/py-events.py (inferior_call_handler): New.
4190 (register_changed_handler, memory_changed_handler): New.
4191 (test_events.invoke): Register new handlers.
4192 * gdb.python/py-events.exp: Add tests for inferior call,
4193 memory_changed and register_changed events.
4194
fdb09caf
AA
41952014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4196
4197 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4198 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4199 if the linker doesn't understand this.
4200
55cfb2c4
SM
42012014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4202
4203 * gdb.python/python.exp: Change expected reply to help().
4204
9e8cd6df
YQ
42052014-12-01 Yao Qi <yao@codesourcery.com>
4206
4207 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4208 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4209 * configure: Re-generated.
4210
6c659fc2
SC
42112014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4212
4213 * gdb.cp/chained-calls.cc: New file.
4214 * gdb.cp/chained-calls.exp: New file.
4215 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4216
d7fc3181
SM
42172014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4218
4219 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4220 * gdb.dwarf2/symtab-producer.exp: Same.
4221 * gdb.gdb/python-interrupts.exp: Same.
4222 * gdb.gdb/python-selftest.exp: Same.
4223 * gdb.python/py-linetable.exp: Same.
4224 * gdb.python/py-type.exp: Same.
4225 * gdb.python/py-value-cc.exp: Same.
4226 * gdb.python/py-value.exp: Same.
4227
10e79639
YQ
42282014-11-28 Yao Qi <yao@codesourcery.com>
4229
4230 * gdb.base/break-probes.exp: Match library name prefixed with
4231 sysroot.
4232
f28a0564
SM
42332014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4234
4235 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4236 test expected output. Add parentheses for the call to print.
4237 Remove L suffix from integers.
4238
3fe1ce1d
DE
42392014-11-26 Doug Evans <dje@google.com>
4240
4241 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4242
84429e27
YQ
42432014-11-22 Yao Qi <yao@codesourcery.com>
4244
4245 * gdb.trace/entry-values.c: Remove asms.
4246 (foo): Add foo_label.
4247 (bar): Add bar_label.
4248 * gdb.trace/entry-values.exp: Remove code computing foo's
4249 length and bar's length.
4250 (Dwarf::assemble): Invoke function_range for bar and use
4251 MACRO_AT_func for foo.
4252
26741859
YQ
42532014-11-22 Yao Qi <yao@codesourcery.com>
4254
4255 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4256 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4257 Use .Lgcc43_procstart instead of gcc43.
4258
45e44d27
JB
42592014-11-21 Joel Brobecker <brobecker@adacore.com>
4260
4261 * gdb.ada/n_arr_bound: New testcase.
4262
458c8db8
SDJ
42632014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4264
4265 PR breakpoints/10737
4266 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4267 test_catch_syscall_multi_arch.
4268 (test_catch_syscall_multi_arch): New function.
4269
43f3e411
DE
42702014-11-20 Doug Evans <xdje42@gmail.com>
4271
4272 * gdb.base/maint.exp: Update expected output.
4273
0d7b2549
AA
42742014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4275
4276 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4277 4-byte instruction on S390.
4278
8908fca5
JB
42792014-11-19 Joel Brobecker <brobecker@adacore.com>
4280
4281 * gdb.ada/arr_arr: New testcase.
4282
4a46959e
JB
42832014-11-19 Joel Brobecker <brobecker@adacore.com>
4284
4285 * gdb.ada/pkd_arr_elem: New Testcase.
4286
470e2f4e
LM
42872014-11-18 Luis Machado <lgustavo@codesourcery.com>
4288
4289 * gdb.reverse/break-precsave: Expect completion message for
4290 core file reads.
4291 * gdb.reverse/consecutive-precsave.exp: Likewise.
4292 * gdb.reverse/finish-precsave.exp: Likewise.
4293 * gdb.reverse/i386-precsave.exp: Likewise.
4294 * gdb.reverse/machinestate-precsave.exp: Likewise.
4295 * gdb.reverse/sigall-precsave.exp: Likewise.
4296 * gdb.reverse/solib-precsave.exp: Likewise.
4297 * gdb.reverse/step-precsave.exp: Likewise.
4298 * gdb.reverse/until-precsave.exp: Likewise.
4299 * gdb.reverse/watch-precsave.exp: Likewise.
4300
a267f3ad
AA
43012014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4302
4303 * gdb.base/bp-permanent.c: Include unistd.h.
4304 * gdb.python/py-framefilter-mi.c (main): Add return type.
4305 * gdb.python/py-framefilter.c (main): Likewise.
4306 * gdb.trace/actions-changed.c (main): Likewise.
4307
12084a9a
AA
43082014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4309
4310 * gdb.mi/until.c: Add eye-catchers.
4311 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4312 line numbers.
4313
dc7e1a77
AA
43142014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4315
4316 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4317 function header variants in break1.c.
4318 * gdb.base/ena-dis-br.exp: Likewise.
4319 * gdb.base/hbreak2.exp: Likewise.
4320 * gdb.reverse/until-precsave.exp: Drop references to removed
4321 non-prototype function header variants in ur1.c.
4322 * gdb.reverse/until-reverse.exp: Likewise.
4323
41c77605
PM
43242014-11-17 Petr Machata <pmachata@redhat.com>
4325
4326 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4327 ${_cu_offset_size} bytes abbrev offset.
4328
34248c3a
DE
43292014-11-15 Doug Evans <xdje42@gmail.com>
4330
4331 PR symtab/17559
4332 * gdb.base/line-symtabs.exp: New file.
4333 * gdb.base/line-symtabs.c: New file.
4334 * gdb.base/line-symtabs.h: New file.
4335
646da059
YQ
43362014-11-14 Yao Qi <yao@codesourcery.com>
4337
4338 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4339 (func): Add label func_label.
4340 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4341 Replace low_pc and high_pc with MACRO_AT_range.
4342 Replace name, low_pc and high_pc with MACRO_AT_func.
4343
9301ebe6
YQ
43442014-11-14 Yao Qi <yao@codesourcery.com>
4345
4346 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4347 Replace name, low_pc and high_pc with MACRO_AT_func.
4348
f166b542
YQ
43492014-11-14 Yao Qi <yao@codesourcery.com>
4350
4351 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4352 produce debug information.
4353 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4354
0f6e71e3
YQ
43552014-11-14 Yao Qi <yao@codesourcery.com>
4356
4357 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4358 object and get function length.
4359 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4360 with MACRO_AT_func.
4361 (top-level): Replace gdb_compile and clean_restart with
4362 prepare_for_testing.
4363 * gdb.dwarf2/main.c (main): Add label main_label.
4364
876c4df9
YQ
43652014-11-14 Yao Qi <yao@codesourcery.com>
4366
4367 * lib/dwarf.exp (function_range): New procedure.
4368 (Dwarf::_handle_macro_at_func): New procedure.
4369 (Dwarf::_handle_macro_at_range): New procedure.
4370 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4371
02ad9cf1
YQ
43722014-11-14 Yao Qi <yao@codesourcery.com>
4373
4374 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4375 (_handle_attribute): New procedure.
4376
a59add0c
AA
43772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4378
4379 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4380 * gdb.base/call-sc.c (zed): Likewise.
4381 * gdb.base/checkpoint.c (main): Likewise.
4382 * gdb.base/dump.c (main): Likewise.
4383 * gdb.base/gcore.c (main): Likewise.
4384 * gdb.base/huge.c (main): Likewise.
4385 * gdb.base/multi-forks.c (main): Likewise.
4386 * gdb.base/pr10179-a.c (main): Likewise.
4387 * gdb.base/savedregs.c (main): Likewise.
4388 * gdb.base/sigaltstack.c (main): Likewise.
4389 * gdb.base/siginfo.c (main): Likewise.
4390 * gdb.base/structs.c (zed): Likewise.
4391 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4392 * gdb.mi/mi-syn-frame.c (main): Likewise.
4393 * gdb.mi/until.c (foo, main): Likewise.
4394 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4395 * gdb.base/solib-weak.c (foo): Declare.
4396 * gdb.base/attach-twice.c: Include stdio.h.
4397 * gdb.base/weaklib1.c: Likewise.
4398 * gdb.base/weaklib2.c: Likewise.
4399 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4400 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4401 unistd.h.
4402 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4403 * gdb.mi/mi-exit-code.c: Likewise.
4404 * gdb.base/break-interp-lib.c: Include string.h.
4405 * gdb.base/coremaker.c: Likewise.
4406 * gdb.base/testenv.c: Likewise.
4407 * gdb.python/py-finish-breakpoint.c: Likewise.
4408 * gdb.base/inferior-died.c: Include sys/wait.h.
4409 * gdb.base/fileio.c: Include time.h.
4410 * gdb.base/async-shell.c: Include unistd.h.
4411 * gdb.base/dprintf-non-stop.c: Likewise.
4412 * gdb.base/info-os.c: Likewise.
4413 * gdb.mi/mi-console.c: Likewise.
4414 * gdb.mi/watch-nonstop.c: Likewise.
4415 * gdb.python/py-events.c: Likewise.
4416 * gdb.base/async.c (baz): Move up before its invocation.
4417 * gdb.base/code_elim2.c (my_global_func): Likewise.
4418 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4419 * gdb.base/advance.c (func2): Likewise.
4420
3b5d5997
AA
44212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4422
4423 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4424 variant.
4425 * gdb.base/annota3.c: Likewise.
4426 * gdb.base/async.c: Likewise.
4427 * gdb.base/average.c: Likewise.
4428 * gdb.base/call-ar-st.c: Likewise.
4429 * gdb.base/call-rt-st.c: Likewise.
4430 * gdb.base/call-sc.c: Likewise.
4431 * gdb.base/call-strs.c: Likewise.
4432 * gdb.base/ending-run.c: Likewise.
4433 * gdb.base/execd-prog.c: Likewise.
4434 * gdb.base/exprs.c: Likewise.
4435 * gdb.base/foll-exec.c: Likewise.
4436 * gdb.base/foll-fork.c: Likewise.
4437 * gdb.base/foll-vfork.c: Likewise.
4438 * gdb.base/funcargs.c: Likewise.
4439 * gdb.base/gcore.c: Likewise.
4440 * gdb.base/jump.c: Likewise.
4441 * gdb.base/langs0.c: Likewise.
4442 * gdb.base/langs1.c: Likewise.
4443 * gdb.base/langs2.c: Likewise.
4444 * gdb.base/mips_pro.c: Likewise.
4445 * gdb.base/nodebug.c: Likewise.
4446 * gdb.base/opaque0.c: Likewise.
4447 * gdb.base/opaque1.c: Likewise.
4448 * gdb.base/recurse.c: Likewise.
4449 * gdb.base/run.c: Likewise.
4450 * gdb.base/scope0.c: Likewise.
4451 * gdb.base/scope1.c: Likewise.
4452 * gdb.base/setshow.c: Likewise.
4453 * gdb.base/setvar.c: Likewise.
4454 * gdb.base/shmain.c: Likewise.
4455 * gdb.base/shr1.c: Likewise.
4456 * gdb.base/shr2.c: Likewise.
4457 * gdb.base/sigall.c: Likewise.
4458 * gdb.base/signals.c: Likewise.
4459 * gdb.base/so-indr-cl.c: Likewise.
4460 * gdb.base/solib2.c: Likewise.
4461 * gdb.base/structs.c: Likewise.
4462 * gdb.base/sum.c: Likewise.
4463 * gdb.base/vforked-prog.c: Likewise.
4464 * gdb.base/watchpoint.c: Likewise.
4465 * gdb.reverse/shr2.c: Likewise.
4466 * gdb.reverse/until-reverse.c: Likewise.
4467 * gdb.reverse/ur1.c: Likewise.
4468 * gdb.reverse/watch-reverse.c: Likewise.
4469
066a77c5
AA
44702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4471
4472 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4473 variant.
4474 * gdb.base/sepdebug.exp: Drop references to removed code.
4475
4f204ea5
AA
44762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4477
4478 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4479 variant. Preserve original line numbering.
4480 * gdb.base/list1.c: Likewise.
4481
3b377a3a
AA
44822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4483
4484 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4485 variant.
4486 * gdb.base/break1.c: Likewise.
4487 * gdb.base/break.exp: Drop references to removed code.
4488
e444df73
AA
44892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4490
4491 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4492 variant.
4493
8008f2a7
AA
44942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4495
4496 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4497
a5a06887
AA
44982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4499
4500 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4501 logic into perform_all_tests() and invoke it with and without
4502 function header prototypes.
4503 (do_function_calls): Remove conditional XFAIL for PR 5318.
4504 (rerun_and_prepare): Remove duplicate code.
4505 (perform_all_tests): New. Main logic moved here.
4506
44dba9b9
AA
45072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4508
4509 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4510 code guarded by #ifdef NO_PROTOTYPES.
4511 (t_double_many_args): Likewise.
4512 (DEF_FUNC_MANY_ARGS_1): Likewise.
4513 (DEF_FUNC_VALUES_1): Likewise.
4514 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4515 guarded by #ifdef PROTOTYPES.
4516
d1fbcd56
AA
45172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4518
4519 * gdb.mi/mi-console.c: Add eye-catcher.
4520 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4521 instead of literal line number.
4522
b0e59b8f
AA
45232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4524
4525 * gdb.base/shr2.c: Add eye-catcher.
4526 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4527 line number.
4528
78f98cca
AA
45292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4530
4531 * gdb.base/jump.c: Add eye-catchers.
4532 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4533 numbers.
4534
58fa2af0
AA
45352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4536
4537 * gdb.base/execd-prog.c: Add eye-catchers.
4538 * gdb.base/foll-exec.c: Likewise.
4539 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4540 line numbers.
4541
04e5059b
AA
45422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4543
4544 * gdb.base/ending-run.c: Add eye-catchers.
4545 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4546 literal line numbers.
4547
dbfdb174
AA
45482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4549
4550 * gdb.base/call-rt-st.c: Add eye-catchers.
4551 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4552 literal line numbers.
4553
888a2ade
AA
45542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4555
4556 * gdb.base/call-ar-st.c: Add eye-catchers.
4557 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4558 literal line numbers.
4559
6acc2dde
AA
45602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4561
4562 * gdb.base/average.c: Add eye-catchers.
4563 * gdb.base/sum.c: Likewise.
4564 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4565 regexps dynamically.
4566
9ecfcd1d
AA
45672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4568
4569 * gdb.base/solib1.c: Add eye-catchers.
4570 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4571 literal line numbers.
4572
78708b7c
PA
45732014-11-12 Pedro Alves <palves@redhat.com>
4574
4575 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4576 leader has exited.
4577
af48d08f
PA
45782014-11-12 Pedro Alves <palves@redhat.com>
4579
4580 * gdb.arch/i386-bp_permanent.c: New file.
4581 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4582 (srcfile): Set to i386-bp_permanent.c.
4583 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4584 that stepi does not execute the 'leave' instruction, instead of
4585 testing it does execute.
4586 * gdb.base/bp-permanent.c: New file.
4587 * gdb.base/bp-permanent.exp: New file.
4588
af3768e9
DE
45892014-11-10 Doug Evans <xdje42@gmail.com>
4590
4591 PR symtab/17564
4592 * gdb.base/symtab-search-order.exp: New file.
4593 * gdb.base/symtab-search-order.c: New file.
4594 * gdb.base/symtab-search-order-1.c: New file.
4595 * gdb.base/symtab-search-order-shlib-1.c: New file.
4596
9de00a4a
PA
45972014-11-07 Pedro Alves <palves@redhat.com>
4598
4599 PR gdb/17511
4600 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4601 i?86-*-linux*.
4602
e0f52461
SC
46032014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4604
4605 PR c++/17494
4606 * gdb.cp/pr17494.cc: New file.
4607 * gdb.cp/pr17494.exp: New file.
4608
6ce8c980
YQ
46092014-11-02 Yao Qi <yao@codesourcery.com>
4610
4611 * gdb.python/python.exp: Get working directory and match the
4612 output of "set extended-prompt \\w " with it.
4613
02be9a71
DE
46142014-10-30 Doug Evans <dje@google.com>
4615
4616 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4617 in objfiles.
4618 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4619 in progspaces.
4620
3bdff46b
LM
46212014-10-30 Janis Johnson <janisjo@codesourcery.com>
4622
4623 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4624 * gdb.base/realname-expand.exp: Likewise.
4625 * gdb.linespec/macro-relative.exp: Likewise.
4626
ab917dfb
PA
46272014-10-29 Pedro Alves <palves@redhat.com>
4628
4629 PR gdb/17408
4630 * gdb.threads/schedlock.c (some_function): New function.
4631 (call_function): New global.
4632 (MAYBE_CALL_SOME_FUNCTION): New macro.
4633 (thread_function): Call it.
4634 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4635 and use it instead of a global counter. Adjust all callers.
4636 (get_current_thread): Use "find current thread" for test message
4637 here rather than having all callers pass down the same string.
4638 (goto_loop): New procedure, factored out from ...
4639 (my_continue): ... this.
4640 (step_ten_loops): Change parameter from test message to command to
4641 use. Adjust.
4642 (list_count): Delete global.
4643 (check_result): New procedure, factored out from duplicate top
4644 level code.
4645 (continue tests): Wrap in with_test_prefix.
4646 (test_step): New procedure, factored out from duplicate top level
4647 code.
4648 (top level): Test "step" in combination with all scheduler-locking
4649 modes. Test "next" in combination with all scheduler-locking
4650 modes, and in combination with stepping over a function call or
4651 not.
4652 * gdb.threads/next-bp-other-thread.c: New file.
4653 * gdb.threads/next-bp-other-thread.exp: New file.
4654
d3d4baed
PA
46552014-10-29 Pedro Alves <palves@redhat.com>
4656
4657 PR python/17372
4658 * gdb.python/python.exp: Test a multi-line command that spawns
4659 interactive Python.
4660 * gdb.base/multi-line-starts-subshell.exp: New file.
4661
563e8d85
YQ
46622014-10-29 Yao Qi <yao@codesourcery.com>
4663
4664 * gdb.base/fileio.exp: Make directories on host.
4665
0ea4d52e
YQ
46662014-10-29 Yao Qi <yao@codesourcery.com>
4667
4668 * gdb.base/fileio.c (test_write): Close the file.
4669
7f5ef605
PA
46702014-10-28 Pedro Alves <palves@redhat.com>
4671
4672 PR gdb/12623
4673 * gdb.base/sigstep.c (no_handler): New global.
4674 (main): If 'no_handler is true, set the signal handlers to
4675 SIG_IGN.
4676 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4677 with_sw_watch and no_handler parameters. Handle them.
4678 (top level) <stepping over handler when stopped at a breakpoint
4679 test>: Add a test axis for testing with a software watchpoint, and
4680 another for testing with the signal handler set to SIG_IGN.
4681 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4682 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4683
abbdbd03
PA
46842014-10-28 Pedro Alves <palves@redhat.com>
4685
4686 PR gdb/17511
4687 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4688 * gdb.base/sigstep.exp (other_handler_location): New global.
4689 (advance): Support stepping into the signal handler, and running
4690 commands while in the handler.
4691 (in_handler_map): New global.
4692 (top level): In the advance test, add combinations for getting
4693 into the handler with stepping commands, and for running commands
4694 in the handler. Add comment descripting the advancei tests.
4695
1df4399f
PA
46962014-10-28 Pedro Alves <palves@redhat.com>
4697
4698 * gdb.base/sigstep.exp: Use build_executable instead of
4699 prepare_for_testing.
4700 (top level): Move code that starts GDB, runs to main and creates a
4701 display to ...
4702 (restart): ... this new procedure.
4703 (top level): Move backtrace from signal handler test to ...
4704 (validate_backtrace): ... this new procedure.
4705 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4706 with_test_prefix. Always restart GDB.
4707 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4708 with_test_prefix. Always restart GDB. No need to delete
4709 breakpoints after the test.
4710 (test_skip_handler): Remove prefix parameter.
4711 (skip_over_handler, breakpoint_to_handler)
4712 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4713 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4714 restart GDB. No need to delete breakpoints after the test.
4715 (top level): Use foreach to call the test procedures with
4716 different commands.
4717
a5b6e449
PA
47182014-10-28 Pedro Alves <palves@redhat.com>
4719
4720 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4721 instead of GNATS numbers.
4722 * gdb.base/sigbpt.exp: Likewise.
4723 * gdb.base/siginfo.exp: Likewise.
4724 * gdb.base/sigstep.exp: Likewise.
4725
e5f8a7cc
PA
47262014-10-27 Pedro Alves <palves@redhat.com>
4727
4728 * gdb.base/sigstep.c (dummy): New global.
4729 (main): Issue a couple writes to the new global.
4730 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4731 procedures.
4732 (skip_over_handler): Use test_skip_handler.
4733 (top level): Call skip_over_handler for stepi and nexti too.
4734 (breakpoint_over_handler): Use test_skip_handler.
4735 (top level): Call breakpoint_over_handler for stepi and nexti too.
4736
763905a3
YQ
47372014-10-27 Yao Qi <yao@codesourcery.com>
4738
4739 * gdb.trace/tfile.c (adjust_function_address)
4740 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4741 function descriptor.
4742
6f259a23
DB
47432014-10-24 Don Breazeal <donb@codesourcery.com>
4744
4745 * gdb.base/foll-fork.exp (test_follow_fork,
4746 catch_fork_child_follow): Check for updated fork messages emitted
4747 from infrun.c.
4748 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4749 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4750 vfork_and_exec_child_follow_through_step): Check for updated vfork
4751 messages emitted from infrun.c.
4752
09dd9a69
PA
47532014-10-24 Pedro Alves <palves@redhat.com>
4754
4755 * gdb.base/corefile.exp: Remove references to ultrix.
4756 * gdb.base/interrupt.exp: Likewise.
4757 * gdb.base/whatis.exp: Likewise.
4758 * gdb.gdb/selftest.exp: Likewise.
4759 * gdb.threads/manythreads.exp: Likewise.
4760 * gdb.threads/print-threads.exp: Likewise.
4761 * gdb.threads/pthreads.exp:: Likewise.
4762 * gdb.threads/schedlock.exp: Likewise.
4763
3433cfa5
SC
47642014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4765
4766 * gdb.cp/non-trivial-retval.cc: Add a test case.
4767 * gdb.cp/non-trivial-retval.exp: Add a test.
4768
092f880b
YQ
47692014-10-20 Yao Qi <yao@codesourcery.com>
4770
4771 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4772 * gdb.python/py-objfile-script-gdb.py: New file.
4773 * gdb.python/py-objfile-script.exp: Update reference to
4774 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4775 of remote_download. Remove the dest file.
4776
acbdb7f3
YQ
47772014-10-20 Yao Qi <yao@codesourcery.com>
4778
4779 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4780 * gdb.base/step-line.exp: Likewise.
4781 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4782 * gdb.dwarf2/dw2-basic.exp: Likewise.
4783 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4784 * gdb.dwarf2/dw2-filename.exp: Likewise.
4785 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4786 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4787 * gdb.dwarf2/dw2-producer.exp: Likewise.
4788 * gdb.dwarf2/mac-fileno.exp: Likewise.
4789 * gdb.python/py-frame-args.exp: Likewise.
4790 * gdb.python/py-framefilter.exp: Likewise.
4791 * gdb.python/py-mi.exp: Likewise.
4792 * gdb.python/py-objfile-script.exp: Likewise
4793 * gdb.python/py-pp-integral.exp: Likewise.
4794 * gdb.python/py-pp-re-notag.exp: Likewise.
4795 * gdb.python/py-prettyprint.exp: Likewise.
4796 * gdb.python/py-section-script.exp: Likewise.
4797 * gdb.python/py-typeprint.exp: Likewise.
4798 * gdb.python/py-xmethods.exp: Likewise.
4799 * gdb.stabs/weird.exp: Likewise.
4800 * gdb.xml/tdesc-regs.exp: Likewise.
4801
bd286a29
KCY
48022014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4803
4804 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4805 (out_cu): Use addr_len for the size of addresses.
4806 (out_line): Likewise. Size DW_LNE_set_address instruction
4807 according to addr_len.
4808 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4809 (FUNC): Add START_INSNS to definition.
4810
673dc4a0
YQ
48112014-10-18 Yao Qi <yao@codesourcery.com>
4812
4813 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4814 gdb_has_argv0 return true.
4815 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4816 check [target_info exists noargs], check [gdb_has_argv0]
4817 instead.
4818 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4819 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4820 procedures.
4821
4ffbba72
DE
48222014-10-17 Doug Evans <dje@google.com>
4823
4824 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4825 event.
4826 * gdb.python/py-events.py: Add clear_objfiles event.
4827
d096d8c1
DE
48282014-10-17 Doug Evans <dje@google.com>
4829
4830 * gdb.python/py-objfile.exp: Test progspace attribute.
4831
a80db015
LM
48322014-10-17 Luis Machado <lgustavo@codesourcery.com>
4833
4834 * gdb.guile/scm-breakpoint.exp: Do not assume any
4835 directory separators when matching source file paths.
4836 * gdb.python/py-breakpoint.exp: Likewise.
4837 * gdb.reverse/break-precsave.exp: Likewise.
4838 * gdb.reverse/break-reverse.exp: Likewise.
4839 * gdb.reverse/consecutive-precsave.exp: Likewise.
4840 * gdb.reverse/finish-precsave.exp: Likewise.
4841 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4842 * gdb.reverse/finish-reverse.exp: Likewise.
4843 * gdb.reverse/i386-precsave.exp: Likewise.
4844 * gdb.reverse/i387-env-reverse.exp: Likewise.
4845 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4846 * gdb.reverse/machinestate-precsave.exp: Likewise.
4847 * gdb.reverse/machinestate.exp: Likewise.
4848 * gdb.reverse/sigall-precsave.exp: Likewise.
4849 * gdb.reverse/solib-precsave.exp: Likewise.
4850 * gdb.reverse/step-precsave.exp: Likewise.
4851 * gdb.reverse/until-precsave.exp: Likewise.
4852 * gdb.reverse/watch-precsave.exp: Likewise.
4853 * gdb.reverse/watch-reverse.exp: Likewise.
4854
b22089ab
YQ
48552014-10-17 Yao Qi <yao@codesourcery.com>
4856
4857 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4858 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4859
6c4486e6
PA
48602014-10-17 Pedro Alves <palves@redhat.com>
4861
4862 PR gdb/17471
4863 * gdb.base/bg-execution-repeat.c: New file.
4864 * gdb.base/bg-execution-repeat.exp: New file.
4865
0ff33695
PA
48662014-10-17 Pedro Alves <palves@redhat.com>
4867
4868 PR gdb/17300
4869 * gdb.base/continue-all-already-running.c: New file.
4870 * gdb.base/continue-all-already-running.exp: New file.
4871
6fdebc3d
PA
48722014-10-17 Pedro Alves <palves@redhat.com>
4873
4874 PR gdb/17472
4875 * gdb.base/annota-input-while-running.c: New file.
4876 * gdb.base/annota-input-while-running.exp: New file.
4877
32a8097b
PA
48782014-10-17 Pedro Alves <palves@redhat.com>
4879
4880 * gdb.base/callfuncs.exp: emove references to osf.
4881 * gdb.base/sigall.exp: Likewise.
4882 * gdb.gdb/selftest.exp: Likewise.
4883 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4884 * gdb.mi/non-stop.c: Likewise.
4885 * gdb.mi/pthreads.c: Likewise.
4886 * gdb.reverse/sigall-precsave.exp: Likewise.
4887 * gdb.reverse/sigall-reverse.exp: Likewise.
4888 * gdb.threads/pthreads.c: Likewise.
4889 * gdb.threads/pthreads.exp: Likewise.
4890
7a3517ff
YQ
48912014-10-17 Yao Qi <yao@codesourcery.com>
4892
4893 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4894 check 'target_info exists noargs'.
4895 (test_command_prompt_position): Likewise.
4896 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4897 Remove "set args".
4898 (progvar_simple_while_test): Likewise.
4899 (progvar_complex_if_while_test): Likewise.
4900 (if_while_breakpoint_command_test): Likewise.
4901 (infrun_breakpoint_command_test): Likewise.
4902 (breakpoint_command_test): Likewise.
4903 (watchpoint_command_test): Likewise.
4904 (bp_deleted_in_command_test): Likewise.
4905 (temporary_breakpoint_commands): Likewise.
4906
bb99c472
YQ
49072014-10-16 Yao Qi <yao@codesourcery.com>
4908
4909 * gdb.base/remotetimeout.exp: Remove noargs checking.
4910
7c16b83e
PA
49112014-10-15 Pedro Alves <palves@redhat.com>
4912
4913 PR breakpoints/9649
4914 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4915 * gdb.base/breakpoint-in-ro-region.exp
4916 (probe_target_hardware_step): New procedure.
4917 (top level): Probe hardware stepping and hardware breakpoint
4918 support. Test stepping through a read-only region, with both
4919 "breakpoint auto-hw" on and off and both "always-inserted" on and
4920 off.
4921
35a49624
IB
49222014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4923
4924 * gdb.dlang/demangle.exp: Update for demangling changes.
4925
2d1c107c
SC
49262014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4927
4928 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4929 * gdb.cp/non-trivial-retval.exp: Add new tests.
4930
778811d5
SC
49312014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4932
4933 PR c++/13403
4934 PR c++/15154
4935 * gdb.cp/non-trivial-retval.cc: New file.
4936 * gdb.cp/non-trivial-retval.exp: New file.
4937
10c5f0a8
YQ
49382014-10-15 Yao Qi <yao@codesourcery.com>
4939
4940 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4941 remote host.
4942
65d7b369
YQ
49432014-10-15 Yao Qi <yao@codesourcery.com>
4944
4945 * gdb.python/py-symbol.exp: Match file base name if host is
4946 remote, otherwise match file name with dir name.
4947 * gdb.python/py-symtab.exp: Likewise.
4948 * gdb.python/python.exp: Likewise.
4949
46dc1394
YQ
49502014-10-15 Yao Qi <yao@codesourcery.com>
4951
4952 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4953 pattern.
4954 * gdb.python/py-symtab.exp: Likewise.
4955 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4956 locationn.
4957
c40cc657
JB
49582014-10-14 Joel Brobecker <brobecker@adacore.com>
4959
4960 * gdb.ada/addr_arith: New testcase.
4961
2abf49e1
MR
49622014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4963
4964 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4965 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4966 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4967 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4968
f7088df3
SDJ
49692014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4970
4971 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4972 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4973 * gdb.arch/stap-eval-lang-ada.exp: New file.
4974
4dc06805
YQ
49752014-10-14 Yao Qi <yao@codesourcery.com>
4976
4977 * gdb.mi/mi-var-child.c (nothing1): New function.
4978 (nothing2): New function.
4979 (do_children_tests): Set function pointers by nothing1 and
4980 nothing2.
4981 * gdb.mi/mi-var-child.exp: Step over new added statements.
4982 Update test to match the new output.
4983 * gdb.mi/var-cmd.c (nothing1): New function.
4984 (nothing2): New function.
4985 (do_children_tests): Set function pointers by nothing1 and
4986 nothing2.
4987 * gdb.mi/mi-var-display.exp: Update test to match output.
4988 Step to the line specified by $line_dct_nothing.
4989 Increase the number of lines to step.
4990
46a93de2
YQ
49912014-10-14 Yao Qi <yao@codesourcery.com>
4992
4993 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4994 tests.
4995 * gdb.mi/mi2-var-child.exp: Likewise.
4996
14ea52ee
DE
49972014-10-13 Doug Evans <dje@google.com>
4998
4999 * gdb.python/py-objfile.exp: Change name of file name test.
5000
e5c6e92b
DE
50012014-10-13 Doug Evans <dje@google.com>
5002
5003 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5004 from the start of the CU.
5005
c780cc2f
JK
50062014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5007 Yao Qi <yao@codesourcery.com>
5008
5009 Fix "save breakpoints" for "catch" command.
5010 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5011 Remove -nonewline. Match also the added "main" line.
5012
99894e11
JK
50132014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5014
5015 Fix "save breakpoints" for "disable $bpnum" command.
5016 * gdb.base/save-bp.c (main): Add label.
5017 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5018
6e1ac5a3
JK
50192014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5020
5021 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5022
754dd2b0
YQ
50232014-10-11 Yao Qi <yao@codesourcery.com>
5024
5025 * gdb.server/server-kill.exp: Execute command
5026 "set remote trace-status-packet on" before "tstatus".
5027
f90183d7
YQ
50282014-10-11 Yao Qi <yao@codesourcery.com>
5029
5030 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5031 (main): Call getppid.
5032 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5033 and continue to it. Read variable "server_pid".
5034
bf40a607
YQ
50352014-10-11 Yao Qi <yao@codesourcery.com>
5036
5037 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5038
052ca370
YQ
50392014-10-11 Yao Qi <yao@codesourcery.com>
5040
5041 * gdb.threads/thread-find.exp: Don't execute command
5042 "info threads".
5043 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5044 * gdb.threads/linux-dp.exp: Don't check the condition
5045 $threads_created equals to zero.
5046
3831839c
PA
50472014-10-10 Pedro Alves <palves@redhat.com>
5048
5049 * gdb.base/bigcore.exp: Remove references to IRIX.
5050 * gdb.base/funcargs.exp: Likewise.
5051 * gdb.base/interrupt.exp: Likewise.
5052 * gdb.base/mips_pro.exp: Likewise.
5053 * gdb.base/nodebug.exp: Likewise.
5054 * gdb.base/setvar.exp: Likewise.
5055 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5056
8b9a549d
PA
50572014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5058 Pedro Alves <palves@redhat.com>
5059
5060 PR symtab/14466
5061 * gdb.base/vdso-warning.c: New file.
5062 * gdb.base/vdso-warning.exp: New file.
5063
d48ba5e8
DE
50642014-10-02 Doug Evans <dje@google.com>
5065
5066 * gdb.base/structs.c (main): Don't run forever.
5067
2278c276
PA
50682014-10-02 Pedro Alves <palves@redhat.com>
5069
5070 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5071 (top level) <stop threads 1, stop threads 2>: Use it.
5072
b57bacec
PA
50732014-10-02 Pedro Alves <palves@redhat.com>
5074
5075 * gdb.threads/break-while-running.exp (test): Add new
5076 'update_thread_list' argument. Skip "info threads" if false.
5077 (top level): Add new 'update_thread_list' axis.
5078
13fd3ff3
PA
50792014-10-02 Pedro Alves <palves@redhat.com>
5080
5081 PR breakpoints/17431
5082 * gdb.base/execl-update-breakpoints.c: New file.
5083 * gdb.base/execl-update-breakpoints.exp: New file.
5084
0fec99e8
PA
50852014-10-01 Pedro Alves <palves@redhat.com>
5086
5087 * gdb.base/breakpoint-in-ro-region.c: New file.
5088 * gdb.base/breakpoint-in-ro-region.exp: New file.
5089
2ddf4301
SM
50902014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5091
5092 * gdb.mi/mi-exit-code.exp: New file.
5093 * gdb.mi/mi-exit-code.c: New file.
5094
6a5f3f43
YQ
50952014-09-30 Yao Qi <yao@codesourcery.com>
5096
5097 * lib/prelink-support.exp (build_executable_own_libs): Error if
5098 the target isn't native.
5099
345bcc73
YQ
51002014-09-30 Yao Qi <yao@codesourcery.com>
5101
5102 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5103 false.
5104
a25a5a45
PA
51052014-09-22 Pedro Alves <palves@redhat.com>
5106
5107 * gdb.threads/break-while-running.exp: New file.
5108 * gdb.threads/break-while-running.c: New file.
5109
00ba3162
YQ
51102014-09-19 Yao Qi <yao@codesourcery.com>
5111
5112 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5113 Invoke test. Restart GDB with --readnow and invoke test again.
5114
c3b7b696
YQ
51152014-09-19 Yao Qi <yao@codesourcery.com>
5116
5117 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5118 proc set_breakpoint_on_gcd_function. Invoke
5119 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5120 invoke set_breakpoint_on_gcd_function again.
5121
2b4fd423
DE
51222014-09-18 Doug Evans <dje@google.com>
5123
5124 * gdb.dwarf2/symtab-producer.exp: New file.
5125
a5947601
SDJ
51262014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5127
5128 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5129 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5130 * gdb.base/global-var-nested-by-dso.c: Likewise.
5131 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5132
91c19059
SDJ
51332014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5134 Pedro Alves <palves@redhat.com>
5135
5136 * gdb.base/watch-bitfields.exp: Pass string other than test file
5137 name to prepare_for_testing.
5138 (watch): New procedure.
5139 (expect_watchpoint): Use with_test_prefix.
5140 (top level): Factor out tests to ...
5141 (test_watch_location, test_regular_watch): ... these new
5142 procedures, and use with_test_prefix and gdb_continue_to_end.
5143
bb9d5f81
PP
51442014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5145
5146 PR breakpoints/12526
5147 * gdb.base/watch-bitfields.exp: New file.
5148 * gdb.base/watch-bitfields.c: New file.
5149
635856f5
PA
51502014-09-16 Pedro Alves <palves@redhat.com>
5151
5152 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5153 software and hardware addresses, not software address against
5154 itself.
5155
7280ceea
PA
51562014-09-16 Pedro Alves <palves@redhat.com>
5157
5158 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5159 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5160
428b16bd
PA
51612014-09-16 Pedro Alves <palves@redhat.com>
5162
5163 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5164 files.
5165 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5166 "*-*-vxworks*" throughout.
5167 * gdb.base/break.exp: Likewise.
5168 * gdb.base/default.exp: Likewise.
5169 * gdb.base/scope.exp: Likewise.
5170 * gdb.base/sepdebug.exp: Likewise.
5171 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5172 throughout.
5173 * gdb.base/run.c: Likewise.
5174 * gdb.base/sepdebug.c: Likewise.
5175 * gdb.hp/gdb.aCC/run.c: Likewise.
5176 * gdb.reverse/until-reverse.c: Likewise.
5177 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5178
666d413c
YQ
51792014-09-16 Yao Qi <yao@codesourcery.com>
5180
5181 * boards/local-remote-host-native.exp: New file.
5182
57cbd724
DE
51832014-09-14 Doug Evans <xdje42@gmail.com>
5184
5185 * gdb.threads/queue-signal.c (thread_count): New variable.
5186 (thread_count_mutex, thread_count_condvar): New variables.
5187 (incr_thread_count, wait_all_threads_running): New functions.
5188 (main): Wait for all threads to be in their thread functions.
5189
81219e53
DE
51902014-09-13 Doug Evans <xdje42@gmail.com>
5191
5192 * gdb.threads/queue-signal.c: New file.
5193 * gdb.threads/queue-signal.exp: New file.
5194
3714cea7
DE
51952014-09-13 Doug Evans <xdje42@gmail.com>
5196
5197 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5198 be consistent with what default_gdb_init uses.
5199 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5200 the plain text of the prompt. Add some logging printfs.
5201 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5202
fa43b1d7
PA
52032014-09-12 Pedro Alves <palves@redhat.com>
5204
5205 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5206 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5207 * gdb.arch/i386-size-overlap.exp: Likewise.
5208 * gdb.arch/i386-size.exp: Likewise.
5209 * gdb.arch/i386-unwind.exp: Likewise.
5210 * gdb.base/a2-run.exp: Likewise.
5211 * gdb.base/break.exp: Likewise.
5212 * gdb.base/charset.exp: Likewise.
5213 * gdb.base/chng-syms.exp: Likewise.
5214 * gdb.base/commands.exp: Likewise.
5215 * gdb.base/dbx.exp: Likewise.
5216 * gdb.base/find.exp: Likewise.
5217 * gdb.base/funcargs.exp: Likewise.
5218 * gdb.base/jit-simple.exp: Likewise.
5219 * gdb.base/reread.exp: Likewise.
5220 * gdb.base/sepdebug.exp: Likewise.
5221 * gdb.base/step-bt.exp: Likewise.
5222 * gdb.cp/mb-inline.exp: Likewise.
5223 * gdb.cp/mb-templates.exp: Likewise.
5224 * gdb.objc/basicclass.exp: Likewise.
5225 * gdb.threads/killed.exp: Likewise.
5226
9d9bf2df
EBM
52272014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5228
5229 PR tdep/17379
5230 * gdb.arch/powerpc-stackless.S: New file.
5231 * gdb.arch/powerpc-stackless.exp: New file.
5232
1cf2f1b0
JK
52332014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5234
5235 * gdb.base/attach.c: Include unistd.h.
5236 (main): Call alarm. Add label postloop.
5237 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5238 gdb_breakpoint, gdb_continue_to_breakpoint.
5239 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5240
98880d46
PA
52412014-09-11 Pedro Alves <palves@redhat.com>
5242
5243 PR gdb/17347
5244 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5245 * gdb.base/attach.exp (test_command_line_attach_run): New
5246 procedure.
5247 (top level): Call it.
5248
4c92ff2c
PA
52492014-09-11 Pedro Alves <palves@redhat.com>
5250
5251 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5252 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5253 (do_command_attach_tests): Use spawn_wait_for_attach.
5254 * gdb.base/solib-overlap.exp: Likewise.
5255 * gdb.multi/multi-attach.exp: Likewise.
5256 * gdb.python/py-prompt.exp: Likewise.
5257 * gdb.python/py-sync-interp.exp: Likewise.
5258 * gdb.server/ext-attach.exp: Likewise.
5259
3adc1a7d
GKB
52602014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5261
5262 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5263 command in testcase. Simplify testcase.
5264
96334934
JB
52652014-09-10 Joel Brobecker <brobecker@adacore.com>
5266
5267 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5268
eb479039
JB
52692014-09-10 Joel Brobecker <brobecker@adacore.com>
5270
5271 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5272
deede10c
JB
52732014-09-10 Joel Brobecker <brobecker@adacore.com>
5274
5275 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5276
7828a5f5
JB
52772014-09-10 Joel Brobecker <brobecker@adacore.com>
5278
5279 * gdb.dwarf2/dynarr-ptr.c: New file.
5280 * gdb.dwarf2/dynarr-ptr.exp: New file.
5281
33aeebcf
MR
52822014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5283
5284 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5285 of 30 rather than hardcoding 120 for a slow test case. Take the
5286 `gdb,timeout' target setting into account for this calculation.
5287 Don't extend the timeout for the test cases that don't need it.
5288
7b415901
MR
52892014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5290
5291 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5292 a factor of 2 for a slow test case. Take the `gdb,timeout'
5293 target setting into account for this calculation.
5294 * gdb.reverse/until-precsave.exp: Increase the timeout by
5295 a factor of 15 and 3 respectively rather than adding 120
5296 for a pair of slow test cases. Take the `gdb,timeout'
5297 target setting into account for this calculation.
5298
4a40f85a
MR
52992014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5300
5301 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5302 timeout, don't pass one down to gdb_expect.
5303 (gdb_expect): Rework timeout selection.
5304
09635af7
MR
53052014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5306
5307 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5308 exception on timeout.
5309 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5310 (gdbserver_start_extended): Catch any `gdbserver_start' error
5311 exceptions.
5312 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5313 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5314 `gdbserver_gdb_load' error exceptions.
5315
2bdd10b7
MR
53162014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5317
5318 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5319 120 on waiting for the TCP socket to open.
5320
316935f0
DE
53212014-09-09 Doug Evans <xdje42@gmail.com>
5322
5323 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5324 _caller_matches, _any_caller_is, _any_caller_matches.
5325
83740597
DE
53262014-09-09 Doug Evans <xdje42@gmail.com>
5327
5328 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5329
4c122fc3
YQ
53302014-09-09 Yao Qi <yao@codesourcery.com>
5331
5332 * gdb.mi/mi-var-display.exp: Set print symbol off.
5333
a9f116cb
GKB
53342014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5335
5336 PR gdb/17035
5337 * gdb.base/commands.exp: Add tests to verify user-defined
5338 commands with empty bodies.
5339 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5340 python commands in `show user command`.
5341 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5342 scheme commands in `show user command`.
5343
c75bd3a2
JK
53442014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5345
5346 PR python/17355
5347 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5348 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5349 * gdb.python/py-framefilter-invalidarg.exp: New file.
5350 * gdb.python/py-framefilter-invalidarg.py: New file.
5351
faa42425
DE
53522014-09-06 Doug Evans <xdje42@gmail.com>
5353
5354 PR 15276
5355 * gdb.python/py-caller-is.c: New file.
5356 * gdb.python/py-caller-is.exp: New file.
5357
474ca4f6
SDJ
53582014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5359
5360 PR gdb/17235
5361 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5362 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5363
eb0b0463
SDJ
53642014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5365
5366 PR fortran/17237
5367 * gdb.fortran/print-formatted.exp: New file.
5368 * gdb.fortran/print-formatted.f90: Likewise.
5369
5f3b99cf
SS
53702014-09-03 Sasha Smundak <asmundak@google.com>
5371
5372 * gdb.python/py-frame.exp: Test Frame.read_register.
5373
7d793aa9
SDJ
53742014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5375
5376 PR python/16699
5377 * gdb.python/py-completion.exp: New file.
5378 * gdb.python/py-completion.py: Likewise.
5379
fb0576e9
DE
53802014-08-28 Doug Evans <dje@google.com>
5381
5382 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5383 eax,etc. are live with values set by gdb and thus the compiler can't
5384 use them.
5385 * gdb.arch/i386-pseudo.c (main): Ditto.
5386
ee92b0dd
DE
53872014-08-27 Doug Evans <dje@google.com>
5388
5389 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5390
6649db35
DE
53912014-08-25 Doug Evans <dje@google.com>
5392
5393 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5394 (main): Ditto.
5395
564b7600
DE
53962014-08-25 Doug Evans <dje@google.com>
5397
5398 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5399
3881fb67
YQ
54002014-08-24 Yao Qi <yao@codesourcery.com>
5401
5402 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5403 symbol off.
5404 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5405
a05a36a5
DE
54062014-08-22 Doug Evans <dje@google.com>
5407
5408 PR 17276
5409 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5410 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5411 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5412
7c343b48
YQ
54132014-08-22 Yao Qi <yao@codesourcery.com>
5414
5415 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5416 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5417 * gdb.python/python.exp: Likewise. Use .py file on the host
5418 instead of the build.
5419
22fd09ae
JK
54202014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5421
5422 * gdb.threads/gcore-stale-thread.c: New file.
5423 * gdb.threads/gcore-stale-thread.exp: New file.
5424
a8454a7c
PA
54252014-08-21 Pedro Alves <palves@redhat.com>
5426
5427 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5428 * gdb.base/gcore-relro-pie.exp: Likewise.
5429 * gdb.base/gcore-relro.exp: Likewise.
5430 * gdb.base/gcore.exp: Likewise.
5431 * gdb.base/print-symbol-loading.exp: Likewise.
5432 * gdb.threads/gcore-thread.exp: Likewise.
5433 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5434
2a31c623
PA
54352014-08-20 Pedro Alves <palves@redhat.com>
5436 Jan Kratochvil <jan.kratochvil@redhat.com>
5437
5438 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5439 configure.
5440 (EXPECT): Handle READ1 being set.
5441 (all): Depend on EXTRA_RULES.
5442 (check-read1, expect-read1, read1.so, read1): New rules.
5443 * README (Testsuite Parameters): Document the READ1 make variable.
5444 (Race detection): New section.
5445 * configure: Regenerate.
5446 * configure.ac: If build==host==target, and running under a
5447 GNU/glibc system, add read1 to the extra Makefile rules.
5448 (EXTRA_RULES): AC_SUBST it.
5449 * lib/read1.c: New file.
5450
d36430db
JB
54512014-08-20 Joel Brobecker <brobecker@adacore.com>
5452
5453 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5454 the handling of variables declared as a typedef to an array
5455 which a DW_AT_data_location attribute.
5456
9a0dc9e3
PA
54572014-08-19 Andrew Burgess <aburgess@broadcom.com>
5458 Pedro Alves <palves@redhat.com>
5459
5460 PR symtab/14604
5461 PR symtab/14605
5462 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5463 gdb_test.
5464
0718a8da
PA
54652014-08-19 Pedro Alves <palves@redhat.com>
5466
5467 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5468
13b448cd
YQ
54692014-08-19 Yao Qi <yao@codesourcery.com>
5470
5471 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5472 right line.
5473
1cbf5077
DB
54742014-08-18 David Blaikie <dblaikie@gmail.com>
5475
5476 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5477
bf0fae19
JB
54782014-08-18 Joel Brobecker <brobecker@adacore.com>
5479
5480 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5481 attribute in array range.
5482
3c8c5dcc
JB
54832014-08-18 Joel Brobecker <brobecker@adacore.com>
5484
5485 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5486
e66d4446
SC
54872014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5488
5489 PR c++/17132
5490 * gdb.cp/pr17132.cc: New file.
5491 * gdb.cp/pr17132.exp: New file.
5492
940df408
SC
54932014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5494
5495 * gdb.python/py-xmethods.py (A_getarrayind)
5496 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5497 Use 'print' with function call syntax.
5498 (E_method_matcher.match): Fix tab vs space indentation mixup.
5499
ebcc6c3a
YQ
55002014-08-15 Yao Qi <yao@codesourcery.com>
5501
5502 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5503 false.
5504
775e0f04
YQ
55052014-08-15 Yao Qi <yao@codesourcery.com>
5506
5507 * gdb.cp/casts.exp: Set print symbol off.
5508 * gdb.cp/class2.exp: Likewise.
5509 * gdb.cp/overload.exp: Likewise.
5510 * gdb.cp/templates.exp: Likewise.
5511
d769e349
DE
55122014-08-11 Doug Evans <dje@google.com>
5513
5514 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5515 (test_load_shlib): Update.
5516
20c6f1e1
YQ
55172014-08-09 Yao Qi <yao@codesourcery.com>
5518
5519 * gdb.base/display.exp: Invoke is_address_zero_readable.
5520 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5521 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5522 * gdb.base/hbreak-unmapped.exp: Return if
5523 is_address_zero_readable returns true.
5524 * gdb.base/signest.exp: Likewise.
5525 * gdb.base/signull.exp: Likewise.
5526 * gdb.base/sigbpt.exp: Likewise.
5527 * gdb.guile/scm-disasm.exp: Do the test if
5528 is_address_zero_readable returns false.
5529 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5530 * gdb.python/py-arch.exp: Likewise.
5531 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5532 * lib/gdb.exp (is_address_zero_readable): New proc.
5533
5792e8e3
YQ
55342014-08-09 Yao Qi <yao@codesourcery.com>
5535
5536 PR testsuite/13443
5537 * gdb.mi/mi-var-display.exp: Make test messages unique.
5538
3cecbbbe
TT
55392014-08-04 Tom Tromey <tromey@redhat.com>
5540
5541 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5542 target 0".
5543
00b51ff5
TT
55442014-08-04 Tom Tromey <tromey@redhat.com>
5545
5546 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5547 "target_resume".
5548
6908c509
JB
55492014-08-01 Joel Brobecker <brobecker@adacore.com>
5550
5551 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5552 inner_vla_struct_object_size.
5553 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5554 as xfail.
5555
cc6563d2
PA
55562014-07-30 Pedro Alves <palves@redhat.com>
5557
5558 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5559 comment.
5560
7e09a223
YQ
55612014-07-29 Yao Qi <yao@codesourcery.com>
5562
5563 PR gdb/17206
5564 * gdb.base/until-nodebug.exp: New.
5565
7ebdbe92
DE
55662014-07-28 Doug Evans <xdje42@gmail.com>
5567
5568 PR guile/17203
5569 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5570 previously existing parameter, and previously ambiguously spelled
5571 parameter.
5572
fdb1adc6
WN
55732014-07-28 Will Newton <will.newton@linaro.org>
5574
5575 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5576
186fcde0
DE
55772014-07-26 Ludovic Courtès <ludo@gnu.org>
5578 Doug Evans <xdje42@gmail.com>
5579
5580 PR guile/17146
5581 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5582
70509625
PA
55832014-07-25 Pedro Alves <palves@redhat.com>
5584
5585 * gdb.threads/signal-command-handle-nopass.c: New file.
5586 * gdb.threads/signal-command-handle-nopass.exp: New file.
5587 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5588 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5589 * gdb.threads/signal-delivered-right-thread.c: New file.
5590 * gdb.threads/signal-delivered-right-thread.exp: New file.
5591
c3f814a1
PA
55922014-07-25 Pedro Alves <palves@redhat.com>
5593
5594 * gdb.base/double-prompt-target-event-error.exp
5595 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5596 match.
5597 (cancel_pagination_in_target_event): Rework double prompt
5598 detection.
5599 * gdb.base/paginate-after-ctrl-c-running.exp
5600 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5601 <return>' match.
5602 * gdb.base/paginate-bg-execution.exp
5603 (test_bg_execution_pagination_return)
5604 (test_bg_execution_pagination_cancel): Remove '-notransfer
5605 <return>' matches.
5606 * gdb.base/paginate-execution-startup.exp
5607 (test_fg_execution_pagination_return)
5608 (test_fg_execution_pagination_cancel): Remove '-notransfer
5609 <return>' matches.
5610 * gdb.base/paginate-inferior-exit.exp
5611 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5612 match.
5613 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5614 * lib/gdb.exp (pagination_prompt): Run text through
5615 string_to_regexp.
5616 (gdb_test_multiple): Match $pagination_prompt instead of
5617 "<return>".
5618 (string_to_regexp): Move to lib/gdb-utils.exp.
5619
e214cf6c
JK
56202014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5621
5622 * gdb.arch/amd64-entry-value-paramref.S: New file.
5623 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5624 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5625 * gdb.arch/amd64-optimout-repeat.S: New file.
5626 * gdb.arch/amd64-optimout-repeat.c: New file.
5627 * gdb.arch/amd64-optimout-repeat.exp: New file.
5628
17d0c5c8
JK
56292014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5630
5631 PR gdb/17170
5632 * gdb.base/statistics.exp: New file.
5633
b8b8facf
DE
56342014-07-17 Doug Evans <dje@google.com>
5635
74b49205 5636 PR gdb/17170
b8b8facf
DE
5637 * gdb.base/maint.exp: Update testing of per-command stats.
5638
1b5d0ab3
PA
56392014-07-16 Pedro Alves <palves@redhat.com>
5640
5641 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5642 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5643 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5644 (tfile_write_buf): New functions.
5645 (add_memory_block): Rewrite using the above.
5646 (adjust_function_address): New function.
5647 (FUNCTION_ADDRESS): New macro.
5648 (write_basic_trace_file): Remove short_x local, and use
5649 tfile_write_16. Change type of func_addr local to unsigned long
5650 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5651 here. Cast argument of add_memory_block to char pointer.
5652 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5653 (main): Remove parameters.
5654 * gdb.trace/tfile.exp: Remove nowarnings.
5655
4d974e88
SM
56562014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5657
5658 * gdb.base/debug-expr.exp: Test string evaluation with
5659 "debug expression" on.
5660
41e99568
PA
56612014-07-15 Pedro Alves <palves@redhat.com>
5662
5663 * gdb.base/reread.exp: Use clean_restart.
5664
487d9753
PL
56652014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5666
5667 * gdb.arch/avr-flash-qualifer.c: New.
5668 * gdb.arch/avr-flash-qualifer.exp: New.
5669
cc1c52ad
PA
56702014-07-14 Pedro Alves <palves@redhat.com>
5671
5672 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5673 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5674
1e973570
PA
56752014-07-14 Pedro Alves <palves@redhat.com>
5676
5677 * gdb.base/double-prompt-target-event-error.c: New file.
5678 * gdb.base/double-prompt-target-event-error.exp: New file.
5679
93d6eb10
PA
56802014-07-14 Pedro Alves <palves@redhat.com>
5681
5682 PR gdb/17072
5683 * gdb.base/paginate-inferior-exit.c: New file.
5684 * gdb.base/paginate-inferior-exit.exp: New file.
5685
0017922d
PA
56862014-07-14 Pedro Alves <palves@redhat.com>
5687
5688 PR gdb/17072
5689 * gdb.base/paginate-bg-execution.c: New file.
5690 * gdb.base/paginate-bg-execution.exp: New file.
5691
94696ad3
PA
56922014-07-14 Pedro Alves <palves@redhat.com>
5693
5694 PR gdb/17072
5695 * gdb.base/paginate-execution-startup.c: New file.
5696 * gdb.base/paginate-execution-startup.exp: New file.
5697 * lib/gdb.exp (pagination_prompt): New global.
5698 (default_gdb_spawn): New procedure, factored out from
5699 default_gdb_spawn.
5700 (default_gdb_start): Adjust to call default_gdb_spawn.
5701 (gdb_spawn): New procedure.
5702
bd293940
PA
57032014-07-14 Pedro Alves <palves@redhat.com>
5704
5705 * lib/gdb.exp (gdb_assert): New procedure.
5706 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5707
c933f875
PA
57082014-07-14 Pedro Alves <palves@redhat.com>
5709
5710 * gdb.base/execution-termios.c: New file.
5711 * gdb.base/execution-termios.exp: New file.
5712
d98b7a16
TT
57132014-07-14 Tom Tromey <tromey@redhat.com>
5714
5715 * gdb.cp/vla-cxx.cc: New file.
5716 * gdb.cp/vla-cxx.exp: New file.
5717
548740d6
TT
57182014-07-14 Tom Tromey <tromey@redhat.com>
5719
5720 * gdb.reverse/rerun-prec.c: New file.
5721 * gdb.reverse/rerun-prec.exp: New file.
5722
a25eb028
MR
57232014-07-12 Maciej W. Rozycki <macro@mips.com>
5724 Maciej W. Rozycki <macro@codesourcery.com>
5725
5726 * lib/gdb-utils.exp: New file.
5727 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5728 inline `gdb_init_command' processing.
5729 (gdb_start_cmd): Likewise.
5730 * lib/mi-support.exp (mi_run_cmd): Likewise.
5731 * README: Document `gdb_init_command' and `gdb_init_commands'.
5732
218c2655
JK
57332014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5734
5735 Fix false FAIL running under a very long directory name.
5736 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5737 and "set print elements 10000". Twice.
5738
5401fde3
YQ
57392014-07-11 Yao Qi <yao@codesourcery.com>
5740
5741 * gdb.base/exprs.exp: "set print symbol off".
5742
e76126e8
PA
57432014-07-11 Pedro Alves <palves@redhat.com>
5744
5745 * gdb.threads/kill.c: New file.
5746 * gdb.threads/kill.exp: New file.
5747
2d6f0de6
YQ
57482014-07-10 Yao Qi <yao@codesourcery.com>
5749
5750 * gdb.trace/tfile.c (write_basic_trace_file)
5751 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5752 address written to trace file.
5753
7180e04a
PA
57542014-07-09 Pedro Alves <palves@redhat.com>
5755
5756 * gdb.base/attach-wait-input.exp: New file.
5757 * gdb.base/attach-wait-input.c: New file.
5758
9a9a7608
AB
57592014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5760
5761 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5762 setting up test structures.
5763 (main): Call new test function.
5764 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5765 test function, continue into test function and walk test
5766 structures.
5767
161ac41e
YQ
57682014-07-02 Yao Qi <yao@codesourcery.com>
5769
5770 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5771 'bar_start' at the beginning of functions 'foo' and 'bar'
5772 respectively.
5773 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5774 instead of 'foo' and 'bar'.
5775
1f267ae3
MM
57762014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5777
5778 * gdb.btrace/segv.exp: New.
5779 * gdb.btrace/segv.c: New.
5780
2b239efb
LM
57812014-07-02 Luis Machado <lgustavo@codesourcery.com>
5782
5783 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5784 instruction.
5785
cf363f18
MW
57862014-06-30 Mark Wielaard <mjw@redhat.com>
5787
5788 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5789 vulture, vilify, villar): New volatile array constants.
5790 (vindictive, vegetation): New const volatile array constants.
5791 * gdb.base/volatile.exp: Test volatile and const volatile array
5792 types.
5793
aebf9d24
AA
57942014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5795
5796 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5797 target lacks support for awatch, rwatch, or hbreak.
5798
b67a2c6f
YQ
57992014-06-27 Yao Qi <yao@codesourcery.com>
5800
5801 * gdb.multi/dummy-frame-restore.exp: New.
5802 * gdb.multi/dummy-frame-restore.c: New.
5803
aef92902
MM
58042014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5805
5806 * gdb.btrace/gcore.exp: New.
5807
8e9db26e
PA
58082014-06-23 Pedro Alves <palves@redhat.com>
5809
5810 * gdb.base/watchpoint-reuse-slot.c: New file.
5811 * gdb.base/watchpoint-reuse-slot.exp: New file.
5812
70afc5b7
SC
58132014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5814
5815 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5816 progspace's filename in 'info', 'enable' and 'disable' command
5817 tests.
5818
b972bd9c
JK
58192014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5820
5821 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5822 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5823 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5824
125f8a3d
GB
58252014-06-20 Gary Benson <gbenson@redhat.com>
5826
5827 * gdb.arch/i386-avx.exp: Fix include file location.
5828 * gdb.arch/i386-sse.exp: Likewise.
5829
3ed9baed
IB
58302014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5831
5832 * gdb.dlang/expression.exp: New file.
5833
034f788c
PA
58342014-06-19 Pedro Alves <palves@redhat.com>
5835
5836 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5837 out from ...
5838 (top level): ... here. Iterate running tests under different
5839 scheduler-locking settings.
5840
45371d0c
LM
58412014-06-18 Luis Machado <lgustavo@codesourcery.com>
5842
5843 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5844 to DW_FORM_addr and use non-zero addresses.
5845
5d376983
SC
58462014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5847
5848 PR gdb/17017
5849 * gdb.python/py-xmethods.cc: Add global function call counters and
5850 increment them in their respective functions. Remove "cout"
5851 statements.
5852 * gdb.python/py-xmethods.exp: Make tests check the global function
5853 call counters instead of depending on inferior IO.
5854
a1aa2221
LM
58552014-06-18 Don Breazeal <donb@codesourcery.com>
5856
5857 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5858 Deleted procedure.
5859 (explicit_fork_parent_follow): Deleted procedure.
5860 (explicit_fork_child_follow): Deleted procedure.
5861 (test_follow_fork): New procedure.
5862 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5863 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5864 procedure calls.
5865
0fc05997
YQ
58662014-06-17 Yao Qi <yao@codesourcery.com>
5867
5868 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5869 CP1252.
5870
70795c52
LM
58712014-06-17 Luis Machado <lgustavo@codesourcery.com>
5872
5873 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5874 Initialize ptr and S explicitly.
5875 (skip_type_update_when_not_use_rtti_test): Likewise.
5876
6be47f0c
KS
58772014-06-16 Keith Seitz <keiths@redhat.com>
5878
5879 PR mi/15863
5880 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5881 the inferior is started.
5882
d03de421
PA
58832014-06-16 Pedro Alves <palves@redhat.com>
5884
5885 * gdb.base/break-main-file-remove-fail.c: New file.
5886 * gdb.base/break-main-file-remove-fail.exp: New file.
5887 * gdb.base/break-unload-file.exp: Use build_executable instead of
5888 prepare_for_testing.
5889 (test_break): New parameter "initial_load". Handle it.
5890 (top level): Add initial_load cmdline/file axis.
5891
f9579b99
TT
58922014-06-12 Tom Tromey <tromey@redhat.com>
5893
5894 * gdb.base/completion.exp: Don't use directory name in test.
5895
3657956b
GB
58962014-06-09 Gary Benson <gbenson@redhat.com>
5897
5898 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5899 separate the always-available ANSI-standard signals from the
5900 signals that require checking.
5901 (main): Likewise.
5902 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5903 Likewise.
5904 (main): Likewise.
5905
4186eb54
KS
59062014-06-07 Keith Seitz <keiths@redhat.com>
5907
5908 Revert:
5909 PR c++/16253
5910 * gdb.cp/var-tag.cc: New file.
5911 * gdb.cp/var-tag.exp: New file.
5912 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5913 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5914 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5915 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5916
25326a28 59172014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
5918
5919 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5920
829155c9
PA
59212014-06-06 Pedro Alves <palves@redhat.com>
5922
5923 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5924 in target debug output instead of looking at RSP packets,
5925 disabling the test on any target that uses hardware stepping.
5926 Update comments.
5927
61c8d22e
PA
59282014-06-06 Pedro Alves <palves@redhat.com>
5929
5930 * gdb.base/break-unload-file.exp: Fix typo.
5931
d9a47287
YQ
59322014-06-06 Yao Qi <yao@codesourcery.com>
5933
5934 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5935 from "jit_function" to "^jit_function".
5936
e5e01dbf
YQ
59372014-06-06 Yao Qi <yao@codesourcery.com>
5938
5939 * gdb.base/async.c (foo): Add one statement.
5940 * gdb.base/async.exp: Get the next instruction address and
5941 match the output of "nexti" by instruction address. Match
5942 the hex address in the output of "finish".
5943
73ba372c
GB
59442014-06-06 Gary Benson <gbenson@redhat.com>
5945
5946 * gdb.base/call-signals.c: Remove preprocessor conditionals
5947 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5948 SIGSEGV and SIGTERM.
5949 * gdb.base/sigall.c: Likewise.
5950 * gdb.base/unwindonsignal.c: Likewise.
5951 * gdb.reverse/sigall-reverse.c: Likewise.
5952
831517df
YQ
59532014-06-06 Yao Qi <yao@codesourcery.com>
5954
5955 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5956 readable, skip the test.
5957
b8b91e98
YQ
59582014-06-06 Yao Qi <yao@codesourcery.com>
5959
5960 * gdb.threads/staticthreads.c (thread_function): Move the line
5961 setting breakpoint on forward.
5962 * gdb.threads/staticthreads.exp: Update comments.
5963
fb934770
LC
59642014-06-05 Ludovic Courtès <ludo@gnu.org>
5965
5966 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5967 "history-append! type error".
5968
6ef284bd
SM
59692014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5970
5971 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5972 erroneous dprintf expected input.
5973
a872e241
DE
59742014-06-04 Doug Evans <xdje42@gmail.com>
5975
5976 * gdb.guile/scm-generics.exp: Delete.
5977
16f691fb
DE
59782014-06-04 Doug Evans <xdje42@gmail.com>
5979
5980 * gdb.guile/scm-breakpoint.exp: Update.
5981 Add tests for breakpoint registration.
5982
012370f6
TT
59832014-06-04 Tom Tromey <tromey@redhat.com>
5984
5985 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5986 VLA-in-union.
5987 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5988 inner_vla_struct, vla_union types. Initialize objects of those
5989 types and compute their sizes.
5990
9f5a4cef
HZ
59912014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5992 Hui Zhu <hui@codesourcery.com>
5993
5994 * gdb.base/fileio.exp: Add test for shell not available as well as
5995 available.
5996 * gdb.base/fileio.c (test_system): Check for shell twice.
5997
90a45c4d
YQ
59982014-06-04 Yao Qi <yao@codesourcery.com>
5999
6000 * gdb.base/auto-connect-native-target.exp: Remove redundant
6001 space from the regexp pattern.
6002
70017e41
YQ
60032014-06-04 Yao Qi <yao@codesourcery.com>
6004
6005 * gdb.base/default.exp: Replace "child" with "native" in
6006 regexp pattern.
6007
883964a7
SC
60082014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6009
6010 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6011 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6012 * gdb.python/py-xmethods.py: Python script supporting the
6013 new testcase and tests.
6014
ef370185
JB
60152014-06-03 Joel Brobecker <brobecker@adacore.com>
6016 Pedro Alves <palves@redhat.com>
6017
6018 PR breakpoints/17000
6019 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6020 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6021
1e2ccb61
BM
60222014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6023
6024 * gdb.base/subst.exp: Add tests to verify partial path matching
6025 output.
6026
c6ec5ab2
PA
60272014-06-03 Pedro Alves <palves@redhat.com>
6028
6029 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6030 target that doesn't use software single-stepping.
6031
835c559f
PA
60322014-06-03 Pedro Alves <palves@redhat.com>
6033
6034 PR breakpoints/17000
6035 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6036 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6037
06eb1586
DE
60382014-06-02 Doug Evans <xdje42@gmail.com>
6039
6040 * gdb.guile/scm-parameter.exp: New file.
6041
e698b8c4
DE
60422014-06-02 Doug Evans <xdje42@gmail.com>
6043
6044 * gdb.guile/scm-cmd.c: New file.
6045 * gdb.guile/scm-cmd.exp: New file.
6046
ded03782
DE
60472014-06-02 Doug Evans <xdje42@gmail.com>
6048
6049 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6050 pretty-printer lookup.
6051 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6052 (make-pp_s-printer): Call it.
6053 (make-pretty-printer-from-dict): New function.
6054 (lookup-pretty-printer-maker-from-dict): New function.
6055 (*pretty-printer*): Simplify.
6056 (make-objfile-pp_s-printer): New function.
6057 (install-objfile-pretty-printers!): New function.
6058 (make-progspace-pp_s-printer): New function.
6059 (install-progspace-pretty-printers!): New function.
6060 * gdb.guile/scm-progspace.c: New file.
6061 * gdb.guile/scm-progspace.exp: New file.
6062
41fac0cf
PA
60632014-06-02 Pedro Alves <palves@redhat.com>
6064
6065 * gdb.base/dprintf-bp-same-addr.c: New file.
6066 * gdb.base/dprintf-bp-same-addr.exp: New file.
6067
96ae5695
EBM
60682014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6069
6070 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6071 * gdb.arch/powerpc-power.s: Likewise.
6072
da02b3a8
JB
60732014-06-02 Joel Brobecker <brobecker@adacore.com>
6074
6075 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6076
c72b2e7b
YQ
60772014-06-01 Yao Qi <yao@codesourcery.com>
6078
6079 * gdb.base/watchpoint.exp (test_watch_location): Check null
6080 pointer can be dereferenced. If not, do the test, otherwise
6081 skip it.
6082
53e8a631
AB
60832014-05-30 Andrew Burgess <aburgess@broadcom.com>
6084
6085 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6086 results.
6087 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6088
938f0e2f
AB
60892014-05-30 Andrew Burgess <aburgess@broadcom.com>
6090
6091 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6092 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6093 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6094 * gdb.arch/amd64-invalid-stack-top.c: New file.
6095 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6096
9ba6657a
PA
60972014-05-30 Pedro Alves <palves@redhat.com>
6098
6099 PR breakpoints/17000
6100 * gdb.base/sss-bp-on-user-bp.c: New file.
6101 * gdb.base/sss-bp-on-user-bp.exp: New file.
6102
522c09bf
DB
61032014-05-30 David Blaikie <dblaikie@gmail.com>
6104
6105 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6106 gnu_inline semantics via attribute.
6107 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6108 source explicitly specifies the required semantics.
6109
bf4ef81e
MR
61102014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6111
6112 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6113
329ea579
PA
61142014-05-29 Pedro Alves <palves@redhat.com>
6115 Tom Tromey <tromey@redhat.com>
6116
6117 * gdb.base/async-shell.exp: Don't enable target-async.
6118 * gdb.base/async.exp
6119 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6120 parameter. Adjust.
6121 (top level): Don't test with "target-async".
6122 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6123 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6124 * gdb.base/inferior-died.exp: Don't enable target-async.
6125 * gdb.base/interrupt-noterm.exp: Likewise.
6126 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6127 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6128 * gdb.mi/mi-nonstop.exp: Likewise.
6129 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6130 * gdb.mi/mi-nsintrall.exp: Likewise.
6131 * gdb.mi/mi-nsmoribund.exp: Likewise.
6132 * gdb.mi/mi-nsthrexec.exp: Likewise.
6133 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6134 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6135 * gdb.python/py-evsignal.exp: Don't enable target-async.
6136 * gdb.python/py-evthreads.exp: Likewise.
6137 * gdb.python/py-prompt.exp: Likewise.
6138 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6139 * gdb.server/solib-list.exp: Don't enable target-async.
6140 * gdb.threads/thread-specific-bp.exp: Likewise.
6141 * lib/mi-support.exp: Adjust to use mi-async.
6142
fd664c91
PA
61432014-05-29 Pedro Alves <palves@redhat.com>
6144
6145 PR gdb/13860
6146 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6147 reason, even in sync mode.
6148
251bde03
PA
61492014-05-29 Pedro Alves <palves@redhat.com>
6150 Hui Zhu <hui@codesourcery.com>
6151
6152 PR PR15693
6153 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6154 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6155 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6156 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6157
7f3c0343
JB
61582014-05-28 Joel Brobecker <brobecker@adacore.com>
6159
6160 * config/monitor.exp (gdb_target_monitor): Replace use of
6161 "set remotebaud" by "set serial baud".
6162
b2715b27
AW
61632014-05-26 Andy Wingo <wingo@igalia.com>
6164
6165 * gdb.guile/scm-breakpoint.exp:
6166 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6167 properties instead of gdb-object-properties.
6168
498a4489
YQ
61692014-05-26 Yao Qi <yao@codesourcery.com>
6170
6171 * gdb.server/no-thread-db.exp: Specify source file name
6172 explicitly when setting a breakpoint.
6173
589fdceb
MM
61742014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6175
6176 * gdb.btrace/vdso.c: New.
6177 * gdb.btrace/vdso.exp: New.
6178
e9089e05
MM
61792014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6180
6181 * gdb.base/gcore.exp (capture_command_output): Move ...
6182 * lib/gdb.exp (capture_command_output): ... here.
6183
67b5c0c1
MM
61842014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6185
6186 * gdb.btrace/data.exp: Test memory access during btrace replay.
6187
a2199296
SM
61882014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6189
6190 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6191
17b2616c
PA
61922014-05-21 Pedro Alves <palves@redhat.com>
6193
6194 PR gdb/13860
6195 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6196 (top level): Test that output related to execution commands is
6197 sent to the console with CLI commands, but not with MI commands.
6198 Test that breakpoint events are always mirrored to the console.
6199 Also expect the new source line to be output after a "next" in
6200 async mode too. Make it a pass/fail test.
6201 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6202 output.
6203 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6204
5166082f
PA
62052014-05-21 Pedro Alves <palves@redhat.com>
6206
6207 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6208 Use them to test variations of "list" after reaching a breakpoint.
6209 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6210 Test "list" with listsize 10 after reaching a breakpoint.
6211 * gdb.python/python.exp (decode_line current location line
6212 number): Adjust expected line number.
6213
2f25d70f
SM
62142014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6215
6216 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6217 behavior for $args, pass it directly to "run".
6218
ff604a67
MR
62192014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6220
6221 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6222 30000 to 65536.
6223
6a3cb8e8
PA
62242014-05-21 Pedro Alves <palves@redhat.com>
6225
6226 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6227 auto-connect-native-target off".
6228 * gdb.base/auto-connect-native-target.c: New file.
6229 * gdb.base/auto-connect-native-target.exp: New file.
6230
4ebfc96e
PA
62312014-05-21 Pedro Alves <palves@redhat.com>
6232
6233 * gdb.base/default.exp: Test "target native" instead of "target
6234 child".
6235
36d46afb
MW
62362014-05-21 Mark Wielaard <mjw@redhat.com>
6237
6238 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6239
5876f503
JK
62402014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6241
6242 Fix TLS access for -static -pthread.
6243 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6244 <HAVE_TLS> (thread_function, main): Initialize it.
6245 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6246 Add clean_restart.
6247 <$have_tls != "">: Check TLSVAR.
6248
0256a6ac
PA
62492014-05-21 Pedro Alves <palves@redhat.com>
6250
6251 * gdb.base/dcache-line-read-error.c: New.
6252 * gdb.base/dcache-line-read-error.exp: New.
6253
936d2992
PA
62542014-05-20 Pedro Alves <palves@redhat.com>
6255
6256 * gdb.base/compare-sections.c: New file.
6257 * gdb.base/compare-sections.exp: New file.
6258
802e8e6d
PA
62592014-05-20 Pedro Alves <palves@redhat.com>
6260
6261 * gdb.base/break-idempotent.c: New file.
6262 * gdb.base/break-idempotent.exp: New file.
6263
e59fa00f
MM
62642014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6265
6266 * gdb.btrace/nohist.exp: New.
6267
8b696e31
YQ
62682014-05-20 Yao Qi <yao@codesourcery.com>
6269
6270 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6271 gdb.reverse directory and gdb_reverse_timeout exists in board
6272 setting.
6273 * README: Document gdb_reverse_timeout.
6274
73c9764f
YQ
62752014-05-20 Yao Qi <yao@codesourcery.com>
6276
6277 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6278 'test_file_name'. Treat args as a string instead of a list.
6279 (gdb_init): Rename argument 'args' by 'test_file_name'.
6280
f1f4348a
JK
62812014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6282
6283 * gdb.arch/powerpc-power.exp: New file.
6284 * gdb.arch/powerpc-power.s: New file.
6285
0dbe70ce
DE
62862014-05-16 Doug Evans <dje@google.com>
6287
6288 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6289 * gdb.base/completion.exp: Check that all expected files exist
6290 before doing file completion.
0dbe70ce 6291
8d551b02
DE
62922014-05-16 Doug Evans <dje@google.com>
6293
6294 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6295 Update.
6296 (do_syscall_tests_without_xml): Update.
6297
73eb7709
PA
62982014-05-16 Pedro Alves <palves@redhat.com>
6299
6300 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6301 instead of "unknown output after running".
6302
3fae92fc
YQ
63032014-05-16 Yao Qi <yao@codesourcery.com>
6304
6305 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6306 file1.txt from host at the end.
6307 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6308
c2b2ccc5
DE
63092014-05-15 Doug Evans <dje@google.com>
6310
6311 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6312 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6313 loading file. Add test for TU lookup.
6314
8c217a4b
SM
63152014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6316
6317 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6318 calling "-exec-arguments" or "set args" before running the
6319 inferior.
6320
3deb39c6
SM
63212014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6322
6323 * lib/mi-support.exp (mi_expect_stop): Expect message for
6324 inferiors that exit with non-zero exit code.
6325
71a79f8c
YQ
63262014-05-14 Yao Qi <yao@codesourcery.com>
6327
6328 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6329 match absolute path on remote host.
6330 (test_file_list_exec_source_files): Remove "/" from the
6331 pattern.
6332
f23fcd46
YQ
63332014-05-14 Yao Qi <yao@codesourcery.com>
6334
6335 * boards/local-remote-host-notty.exp (${board}_file): New
6336 proc.
6337
9404b58f
KM
63382014-05-07 Kyle McMartin <kyle@redhat.com>
6339
6340 Pushed by Joel Brobecker <brobecker@adacore.com>.
6341 * gdb.arch/aarch64-atomic-inst.c: New file.
6342 * gdb.arch/aarch64-atomic-inst.exp: New file.
6343
5e45f04c
YQ
63442014-05-07 Yao Qi <yao@codesourcery.com>
6345
6346 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6347 in current context" too.
6348
c888a17d
KS
63492014-05-05 Keith Seitz <keiths@redhat.com>
6350
6351 * gdb.linespec/ls-dollar.exp: Add test for linespec
6352 file:convenience_variable.
6353
290a839c
YQ
63542014-05-05 Yao Qi <yao@codesourcery.com>
6355
6356 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6357 traceframes into tfile and ctf trace files. Read data from
6358 trace file and test collected data.
6359 (gdb_collect_locals_test): Likewise.
6360 (gdb_unavailable_registers_test): Likewise.
6361 (gdb_unavailable_floats): Likewise.
6362 (gdb_collect_globals_test): Likewise.
6363 (top-level): Append "ctf" to trace_file_targets if GDB
6364 supports.
6365
b5262cd0
YQ
63662014-05-05 Yao Qi <yao@codesourcery.com>
6367
6368 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6369 code to ...
6370 (gdb_collect_args_test_1): ... it. New proc.
6371 (gdb_collect_locals_test): Move some code to ...
6372 (gdb_collect_locals_test_1): ... it. New proc.
6373 (gdb_unavailable_registers_test): Move some code to ...
6374 (gdb_unavailable_registers_test_1): ... it. New proc.
6375 (gdb_unavailable_floats): Move some code to ...
6376 (gdb_unavailable_floats_1): ... it. New proc.
6377
30a1e6cc
SDJ
63782014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6379
6380 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6381 probes to test for bitness recognition.
6382 * gdb.arch/amd64-stap-optional-prefix.exp
6383 (test_probe_value_without_reg): New procedure.
6384 Add code to test for different kinds of bitness.
6385
f33da99a
SDJ
63862014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6387
6388 PR breakpoints/16889
6389 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6390 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6391
5b80f00d
PA
63922014-05-01 Pedro Alves <palves@redhat.com>
6393
6394 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6395 gdb_file_cmd if no file is specified.
6396 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6397 last_loaded_file to set the remote exec-file.
6398
f8c2a73c
PA
63992014-05-01 Pedro Alves <palves@redhat.com>
6400
6401 * boards/local-remote-host.exp: New file.
6402
be6e8ac7
PA
64032014-05-01 Pedro Alves <palves@redhat.com>
6404
6405 * boards/local-remote-host.exp: Rename to ...
6406 * boards/local-remote-host-notty.exp: ... this.
6407
cac0dc8f
JB
64082014-04-28 Joel Brobecker <brobecker@adacore.com>
6409
6410 * gdb.ada/dyn_arrayidx: New testcase.
6411
9730e6cc
YQ
64122014-04-26 Yao Qi <yao@codesourcery.com>
6413
6414 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6415 and compute the length of function main. Save it in
6416 $main_length.
6417 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6418 (top-level): Use gdb_compile to compile objects into
6419 executable and restart GDB. Remove invocation to
6420 prepare_for_testing.
6421
7ae1a6a6
PA
64222014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6423 Pedro Alves <palves@redhat.com>
6424
6425 PR server/16255
6426 * gdb.multi/multi-attach.c: New file.
6427 * gdb.multi/multi-attach.exp: New file.
6428
4082afcc
PA
64292014-04-25 Pedro Alves <palves@redhat.com>
6430
6431 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6432 user.
6433 (top level): Test that "set remote conditional-breakpoints-packet
6434 off" works as intended.
6435 * gdb.base/dprintf.exp: Test that "set remote
6436 breakpoint-commands-packet off" works as intended.
6437 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6438 New function.
6439 (top level): Call it.
6440 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6441 remote fast-tracepoints-packet off" works as intended.
6442 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6443 * lib/gdb.exp (gdb_is_target_remote): ... here.
6444
2abc3f8d
DB
64452014-04-24 David Blaikie <dblaikie@gmail.com>
6446
6447 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6448 ensure clang would not discard them.
6449 * gdb.base/gdbvars.c: Ditto.
6450 * gdb.base/memattr.c: Ditto.
6451 * gdb.base/whatis.c: Ditto.
6452 * gdb.python/py-prettyprint.c: Ditto.
6453 * gdb.trace/actions.c: Ditto.
6454 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6455 ensure clang would not discard it.
6456
bfd39632
DB
64572014-04-24 David Blaikie <dblaikie@gmail.com>
6458
6459 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6460 clang to emit the full definition of type required by the test
6461 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6462
22842ff6
DB
64632014-04-24 David Blaikie <dblaikie@gmail.com>
6464
6465 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6466 coax Clang into emitting the definition of the type.
6467 * gdb.cp/pr10728-x.h (y): Ditto.
6468 * gdb.cp/pr10728-y.cc (y): Ditto.
6469
c2e827ad
DB
64702014-04-24 David Blaikie <dblaikie@gmail.com>
6471
6472 * gdb.base/label.exp: XFAIL label related tests under Clang.
6473 * gdb.cp/cplabel.exp: Ditto.
6474 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6475 under Clang those using labels.
6476
4c2d33e7
YQ
64772014-04-25 Yao Qi <yao@codesourcery.com>
6478
6479 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6480 double_label.
6481 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6482 partial_label and double_label.
6483
56083b99
DB
64842014-04-24 David Blaikie <dblaikie@gmail.com>
6485
6486 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6487
25d4e99d
DB
64882014-04-24 David Blaikie <dblaikie@gmail.com>
6489
6490 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6491 of the function to work across GCC and Clang.
6492 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6493 pointer types (const void ** const V void **).
6494
01f9f808
MS
64952014-04-24 Michael Sturm <michael.sturm@mintel.com>
6496 Walfred Tedeschi <walfred.tedeschi@intel.com>
6497
6498 * Makefile.in (EXECUTABLES): Added i386-avx512.
6499 * gdb.arch/i386-avx512.c: New file.
6500 * gdb.arch/i386-avx512.exp: Likewise.
6501
4b48d439
KS
65022014-04-23 Keith Seitz <keiths@redhat.com>
6503
6504 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6505 (mi_make_breakpoint_table): New procedure.
6506 (mi_create_breakpoint): Use mi_make_breakpoint
6507 and return the result.
6508 (mi_make_breakpoint): New procedure.
6509 (mi_build_kv_pairs): New procedure.
6510
6511 * gdb.mi/mi-break.exp: Remove unused globals,
6512 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6513 All callers updated.
6514 * gdb.mi/mi-dprintf.exp: Use variable to track command
6515 number.
6516 Update all callers of mi_create_breakpoint and use
6517 mi_make_breakpoint_table.
6518 Remove any unused global variables.
6519 * gdb.mi/mi-nonstop.exp: Likewise.
6520 * gdb.mi/mi-nsintrall.exp: Likewise.
6521 * gdb.mi/mi-nsmoribund.exp: Likewise.
6522 * gdb.mi/mi-nsthrexec.exp: Likewise.
6523 * gdb.mi/mi-reverse.exp: Likewise.
6524 * gdb.mi/mi-simplerun.exp: Likewise.
6525 * gdb.mi/mi-stepn.exp: Likewise.
6526 * gdb.mi/mi-syn-frame.exp: Likewise.
6527 * gdb.mi/mi-until.exp: Likewise.
6528 * gdb.mi/mi-var-cp.exp: Likewise.
6529 * gdb.mi/mi-var-display.exp: Likewise.
6530 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6531 * gdb.mi/mi2-var-child.exp: Likewise.
6532 * gdb.mi/mi-vla-c99.exp: Likewise.
6533 * lib/mi-support.exp: Likewise.
6534
6535 From Ian Lance Taylor <iant@cygnus.com>:
6536 * lib/gdb.exp (parse_args): New procedure.
6537
08351840
PA
65382014-04-23 Pedro Alves <palves@redhat.com>
6539
6540 * gdb.base/break-unload-file.c: New file.
6541 * gdb.base/break-unload-file.exp: New file.
6542 * gdb.base/sym-file-lib.c (baz): New function.
6543 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6544 field.
6545 (load): Store the segment's mapped size.
6546 (unload): New function.
6547 (unload_shlib): New function.
6548 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6549 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6550 set a breakpoint at baz, and call it.
6551 * gdb.base/sym-file.exp: New tests for stale breakpoint
6552 instructions.
6553
076855f9
PA
65542014-04-23 Pedro Alves <palves@redhat.com>
6555
6556 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6557 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6558 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6559 * gdb.base/hbreak-unmapped.c: New file.
6560 * gdb.base/hbreak-unmapped.exp: New file.
6561 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6562 * lib/gdb.exp (gdb_is_target_remote): ... here.
6563
483805cf
PA
65642014-04-22 Pedro Alves <palves@redhat.com>
6565
6566 * gdb.base/consecutive-step-over.c: New file.
6567 * gdb.base/consecutive-step-over.exp: New file.
6568
06d97543
PA
65692014-04-22 Pedro Alves <palves@redhat.com>
6570
6571 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6572 instead of send_gdb/gdb_expect.
6573
b4429ea2
YQ
65742014-04-22 Yao Qi <yao@codesourcery.com>
6575
6576 * lib/trace-support.exp (generate_tracefile): New procedure.
6577 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6578 return 0.
6579 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6580 if generate_tracefile returns 1.
6581
51d48146
PA
65822014-04-18 Tom Tromey <palves@redhat.com>
6583 Pedro alves <tromey@redhat.com>
6584
6585 PR backtrace/15558
6586 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6587 with a backtrace limit.
6588 * gdb.python/py-frame-inline.exp: Test running to an inline
6589 function with a backtrace limit, and printing the newest frame.
6590 * gdb.python/py-frame-inline.c (main): Call f.
6591
bd1dce5f
MS
65922014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6593
6594 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6595
40d1a503
MS
65962014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6597
6598 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6599 Drop prefix from unsupported source file path.
6600
389b98f7
YQ
66012014-04-17 Yao Qi <yao@codesourcery.com>
6602
6603 * lib/gdb.exp (with_target_charset): New proc.
6604 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6605 with_target_charset.
6606 (test_print_strings): Likewise.
6607 (test_repeat_bytes): Likewise.
6608 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6609 for some tests.
6610
22869d73
KS
66112014-04-16 Keith Seitz <keiths@redhat.com>
6612
6613 PR gdb/15827
6614 * gdb.dwarf2/corrupt.c: New file.
6615 * gdb.dwarf2/corrupt.exp: New file.
6616
c4f87ca6
KS
66172014-04-16 Keith Seitz <keiths@redhat.com>
6618
6619 PR c++/16597
6620 * gdb.cp/namelessclass.cc: New file.
6621 * gdb.cp/namelessclass.exp: New file.
6622 * gdb.cp/namelessclass.S: New file.
6623
ab19de87
DE
66242014-04-16 Doug Evans <dje@google.com>
6625
6626 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6627 Add comment.
6628 (gdbserver_default_get_comm_port): New function.
6629 (gdbserver_start): Check if board file provided
6630 "gdbserver,get_comm_port" and use it if so.
6631 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6632 (gdb,socketport): Set to "stdio".
6633 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6634 (stdio_gdbserver_template): Delete.
6635 (${board}_get_remote_address): Update.
6636 (${board}_build_remote_cmd): Delete.
6637 (${board}_get_comm_port): New function.
6638 (${board}_spawn): Update.
6639 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6640 Delete.
6641 (${board}_get_remote_address): Update.
6642 (${board}_get_comm_port): New function.
6643
fc98a809
AB
66442014-04-16 Andrew Burgess <aburgess@broadcom.com>
6645
6646 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6647 appearing in any order.
6648
87fd9e6e
DE
66492014-04-15 Doug Evans <dje@google.com>
6650
6651 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6652 uninitialized value of "description".
6653
099fc3ea
KS
66542014-04-15 Keith Seitz <keiths@redhat.com>
6655
6656 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6657 Remove unused globals.
6658 (test_running_the_program): Likewise.
6659 (test_controlled_execution): Likewise.
6660 (test_controlling_breakpoints): Likewise.
6661 (test_program_termination): Likewise.
6662
5da151d4
KS
66632014-04-15 Keith Seitz <keiths@redhat.com>
6664
6665 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6666 unused globals.
6667 (test_rbreak_creation_and_listing): Likewise.
6668 (test_ignore_count): Likewise.
6669 (test_error): Likewise.
6670
35e5d2f0
PA
66712014-04-15 Pedro Alves <palves@redhat.com>
6672
6673 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6674 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6675 sym-file-loader.c.
6676 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6677 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6678 to sym-file-loader.c.
6679 (struct library): Forward declare.
6680 (load_shlib, lookup_function): Change prototypes.
6681 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6682 (translate_offset): Remove declarations.
6683 (get_text_addr): New declaration.
6684 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6685 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6686 sym-file-loader.h.
6687 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6688 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6689 here from sym-file-loader.h.
6690 (struct library): New structure.
6691 (load_shlib, lookup_function): Change prototypes and adjust to
6692 work with a struct library.
6693 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6694 (translate_offset): Make static.
6695 (get_text_addr): New function.
6696 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6697
eb4c1710
PA
66982014-04-15 Pedro Alves <palves@redhat.com>
6699
6700 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6701
2d1baf52
PA
67022014-04-15 Pedro Alves <palves@redhat.com>
6703
6704 * gdb.base/sym-file-loader.c: Include <limits.h>.
6705 (SELF_LINK): New define.
6706 (get_origin): New function.
6707 (load_shlib): Use it.
6708 * gdb.base/sym-file.exp: Don't early return if the target is
6709 remote. Use runto_main, and issue fail is that fails. Use
6710 gdb_load_shlibs.
6711 (shlib_name): Delete.
6712 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6713
7dd6df01
PA
67142014-04-15 Pedro Alves <palves@redhat.com>
6715
6716 * gdb.base/sym-file.exp: Remove regex characters from test
6717 message. Don't refer to breakpoint numbers in test messages.
6718
b50c8614
KS
67192014-04-14 Keith Seitz <keiths@redhat.com>
6720
6721 PR c++/16253
6722 * gdb.cp/var-tag.cc: New file.
6723 * gdb.cp/var-tag.exp: New file.
6724 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6725 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6726 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6727 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6728
3d567982
TT
67292014-04-14 Tom Tromey <tromey@redhat.com>
6730
6731 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6732 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6733 type.
6734 * gdb.cp/enum-class.exp: New file.
6735 * gdb.cp/enum-class.cc: New file.
6736
0626fc76
TT
67372014-04-14 Tom Tromey <tromey@redhat.com>
6738
6739 * gdb.dwarf2/enum-type.exp: New file.
6740
dca325b3
SA
67412014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6742
6743 * gdb.mi/mi-vla-c99.exp: New file.
6744 * gdb.mi/vla.c: New file.
6745
5854b38a
SA
67462014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6747
6748 * gdb.base/vla-datatypes.c: New file.
6749 * gdb.base/vla-datatypes.exp: New file.
6750
463bb957
SA
67512014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6752
6753 * gdb.base/vla-ptr.c: New file.
6754 * gdb.base/vla-ptr.exp: New file.
6755
3dd170be
SA
67562014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6757
6758 * gdb.dwarf2/count.exp: New file.
6759
5ecaaa66
SA
67602014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6761
6762 * gdb.base/vla-sideeffect.c: New file.
6763 * gdb.base/vla-sideeffect.exp: New file.
6764
41f1ada5
DB
67652014-04-14 David Blaikie <dblaikie@gmail.com>
6766
6767 * gdb.mi/non-stop.c: Add return value for non-void function return
6768 statement.
6769 * gdb.threads/staticthreads.c: Ditto.
6770
0be03e84
DE
67712014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6772 Doug Evans <xdje42@gmail.com>
6773
6774 * gdb.guile/scm-value.c: Improve test case.
6775 * gdb.guile/scm-value.exp: Add new test.
6776
f180a1fb
DB
67772014-04-11 David Blaikie <dblaikie@gmail.com>
6778
6779 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6780 override Clang's default.
6781
6b662e19
JB
67822014-04-11 Joel Brobecker <brobecker@adacore.com>
6783
6784 Revert the following changes (regressions):
6785
6786 * gdb.base/vla-sideeffect.c: New file.
6787 * gdb.base/vla-sideeffect.exp: New file.
6788
6789 * gdb.dwarf2/count.exp: New file.
6790
6791 * gdb.base/vla-multi.c: New file.
6792 * gdb.base/vla-multi.exp: New file.
6793
6794 * gdb.base/vla-ptr.c: New file.
6795 * gdb.base/vla-ptr.exp: New file.
6796
6797 * gdb.base/vla-datatypes.c: New file.
6798 * gdb.base/vla-datatypes.exp: New file.
6799
6800 * gdb.mi/mi-vla-c99.exp: New file.
6801 * gdb.mi/vla.c: New file.
6802
245a5f0b
KS
68032014-04-11 Keith Seitz <keiths@redhat.com>
6804
6805 PR c++/16675
6806 * gdb.cp/cpsizeof.exp: New file.
6807 * gdb.cp/cpsizeof.cc: New file.
6808
58a84dcf
SA
68092014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6810
191a8a90
JB
6811 * gdb.mi/mi-vla-c99.exp: New file.
6812 * gdb.mi/vla.c: New file.
58a84dcf 6813
c8655f75
SA
68142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6815
6816 * gdb.base/vla-datatypes.c: New file.
6817 * gdb.base/vla-datatypes.exp: New file.
6818
024e13b4
SA
68192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6820
6821 * gdb.base/vla-ptr.c: New file.
6822 * gdb.base/vla-ptr.exp: New file.
6823
1a237e0e
SA
68242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6825
6826 * gdb.base/vla-multi.c: New file.
6827 * gdb.base/vla-multi.exp: New file.
6828
504f3432
SA
68292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6830
6831 * gdb.dwarf2/count.exp: New file.
6832
3bce8237
SA
68332014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6834
191a8a90
JB
6835 * gdb.base/vla-sideeffect.c: New file.
6836 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6837
322f9c21
YQ
68382014-04-11 Yao Qi <yao@codesourcery.com>
6839
6840 * gdb.base/completion.exp: Check file exists before running tests
6841 on file completion.
6842
d708bcd1
PA
68432014-04-10 Pedro Alves <palves@redhat.com>
6844
6845 * gdb.base/cond-eval-mode.c: New file.
6846 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6847 prepare_for_testing to build the new file. Check result of
6848 runto_main.
6849 (test_break, test_watch): New procedures.
6850 (top level): Use them.
6851
ae1d2761
PM
68522014-04-08 Pierre Muller <muller@sourceware.org>
6853
6854 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6855 Ctrl-V use for mingw hosts.
6856
7af389b8
SC
68572014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6858
6859 * gdb.python/py-value.c: Improve test case.
6860 * gdb.python/py-value.exp: Add new test.
6861
5e703181
DE
68622014-04-07 David Blaikie <dblaikie@gmail.com>
6863
6864 * lib/compiler.c: Identify the clang compiler.
6865 * lib/compiler.cc: Ditto.
6866
9810b410
YQ
68672014-04-03 Yao Qi <yao@codesourcery.com>
6868
6869 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6870
98d1b8dc
AB
68712014-04-01 Anton Blanchard <anton@samba.org>
6872
6873 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6874 messages unique.
6875
3114cea1
AB
68762014-04-01 Anton Blanchard <anton@samba.org>
6877
6878 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6879 prepare_for_testing.
6880
62f7182c
AB
68812014-04-01 Anton Blanchard <anton@samba.org>
6882
6883 * gdb.arch/ppc64-atomic-inst.c: Remove.
6884 * gdb.arch/ppc64-atomic-inst.S: New file.
6885 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6886
770e7fc7
DE
68872014-03-31 Doug Evans <dje@google.com>
6888
6889 * gdb.base/print-symbol-loading-lib.c: New file.
6890 * gdb.base/print-symbol-loading-main.c: New file.
6891 * gdb.base/print-symbol-loading.exp: New file.
6892
46e2bafa
YQ
68932014-03-31 Yao Qi <yao@codesourcery.com>
6894
6895 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6896
8776cfe9
JB
68972014-03-28 Joel Brobecker <brobecker@adacore.com>
6898
6899 * gdb.ada/mi_dyn_arr: New testcase.
6900
5d1ef361
DE
69012014-03-27 Doug Evans <dje@google.com>
6902
6903 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6904
b5bee914
YQ
69052014-03-27 Yao Qi <yao@codesourcery.com>
6906
6907 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6908 if target is nios2-*-*.
6909
0d4d0e77
YQ
69102014-03-26 Yao Qi <yao@codesourcery.com>
6911
6912 * lib/gdb.exp (readline_is_used): New proc.
6913 * gdb.base/completion.exp: Move tests on command complete up.
6914 Skip the rest of tests if readline is not used.
6915 * gdb.ada/complete.exp: Skp the test if readline is not
6916 used.
6917 * gdb.base/filesym.exp: Likewise.
6918 * gdb.base/macscp.exp: Likewise.
6919 * gdb.base/readline-ask.exp: Likewise.
6920 * gdb.base/readline.exp: Likewise.
6921 * gdb.python/py-cmd.exp: Likewise.
6922 * gdb.trace/tfile.exp: Likewise.
6923
29361eee
YQ
69242014-03-26 Yao Qi <yao@codesourcery.com>
6925
6926 * gdb.base/macscp.exp: Fix code format issues.
6927
bc9a5525
UW
69282014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6929
6930 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6931 * gdb.asm/powerpc64le.inc: New file.
6932
d3839ede
PA
69332014-03-25 Pedro Alves <palves@redhat.com>
6934 Doug Evans <dje@google.com>
6935
6936 * gdb.base/source-execution.c: New file.
6937 * gdb.base/source-execution.exp: New file.
6938 * gdb.base/source-execution.gdb: New file.
6939
01672a57
DE
69402014-03-24 Doug Evans <dje@google.com>
6941
6942 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6943 using fission.
6944
88bbeca9
HZ
69452014-03-24 Hui Zhu <hui@codesourcery.com>
6946 Pedro Alves <palves@redhat.com>
6947
6948 PR breakpoints/16101
6949 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6950 test pass/fail messages. Detect missing support for dprintf when
6951 breakpoints are actually inserted.
6952 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6953 breakpoints are actually inserted.
6954 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6955 fails.
6956
d2348791
JK
69572014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6958
6959 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6960
feef67ab
DE
69612014-03-22 Doug Evans <xdje42@gmail.com>
6962
6963 * gdb.python/python.exp (python not supported): Verify multi-line
6964 python command issues an error.
25d743f9 6965 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 6966 guile command issues an error.
feef67ab 6967
ecebef6a
MR
69682014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6969
6970 * gdb.threads/thread-specific.exp: Handle the lack of usable
6971 $this_breakpoint and $this_thread.
6972
ccdd1909
HZ
69732014-03-21 Hui Zhu <hui@codesourcery.com>
6974
6975 * gdb.base/attach.exp (do_command_attach_tests): New.
6976
beb460e8
PA
69772014-03-20 Tom Tromey <tromey@redhat.com>
6978 Pedro Alves <palves@redhat.com>
6979
6980 PR cli/15718
6981 * gdb.base/condbreak-call-false.c: New file.
6982 * gdb.base/condbreak-call-false.exp: New file.
6983
40acf43a
PA
69842014-03-20 Pedro Alves <palves@redhat.com>
6985
6986 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6987 Delete.
6988 (block_signals, unblock_signals): Delete.
6989 (child_function_2, main): Remove references to deleted variable
6990 and functions.
6991
9f5e1e02
PA
69922014-03-20 Pedro Alves <palves@redhat.com>
6993
6994 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6995 Use pthread_kill to signal thread 2.
6996 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6997 Adjust to make the test send itself a signal rather than using the
6998 host's "kill" command.
6999
99619bea
PA
70002014-03-20 Pedro Alves <palves@redhat.com>
7001
7002 * gdb.threads/multiple-step-overs.c: New file.
7003 * gdb.threads/multiple-step-overs.exp: New file.
7004 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7005 Adjust expected infrun debug output.
7006
2adfaa28
PA
70072014-03-20 Pedro Alves <palves@redhat.com>
7008
7009 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7010 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7011
31e77af2
PA
70122014-03-20 Pedro Alves <palves@redhat.com>
7013
7014 PR breakpoints/7143
7015 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7016 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7017 of gdb_test_multiple.
7018 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7019 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7020
b9f437de
PA
70212014-03-20 Pedro Alves <palves@redhat.com>
7022
7023 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7024 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7025
05adc73e
PA
70262014-03-19 Pedro Alves <palves@redhat.com>
7027
7028 * gdb.base/async.exp: Remove early return.
7029
6048b950
PA
70302014-03-19 Pedro Alves <palves@redhat.com>
7031
7032 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7033
8bcfb00a
PA
70342014-03-19 Pedro Alves <palves@redhat.com>
7035
7036 * gdb.base/async.exp (test_background): Expect \r\n after
7037 "completed." in the fail pattern.
7038
884e37dc
PA
70392014-03-19 Pedro Alves <palves@redhat.com>
7040
7041 * gdb.base/async.exp (test_background): New procedure.
7042 Use it for all background execution command tests.
7043
148e57e2
PA
70442014-03-19 Pedro Alves <palves@redhat.com>
7045
7046 * gdb.base/async.exp: Use prepare_for_testing.
7047
f48088c7
PA
70482014-03-19 Pedro Alves <palves@redhat.com>
7049
7050 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7051 the same line.
7052
e2f6c966
PA
70532014-03-19 Pedro Alves <palves@redhat.com>
7054
7055 * gdb.base/async.c (main): Add "jump here" and "until here" line
7056 marker comments.
7057 * gdb.base/async.exp (jump_here): New global.
7058 (jump& test): Use it.
7059 (until_here): New global.
7060 (until& test): Use it.
7061
c30568d4
PA
70622014-03-19 Pedro Alves <palves@redhat.com>
7063
7064 * gdb.base/async.exp: Don't frob gdb_protocol.
7065
0172b6a7
DE
70662014-03-18 Doug Evans <xdje42@gmail.com>
7067
7068 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7069 Fix spelling of exec-done-display.
7070
06c868a8
JK
70712014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7072
7073 PR gdb/15358
7074 * gdb.base/gdb-sigterm.c: New file.
7075 * gdb.base/gdb-sigterm.exp: New file.
7076
0c7e1a46
PA
70772014-03-18 Pedro Alves <palves@redhat.com>
7078
7079 PR gdb/13860
7080 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7081 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7082 solib-event.
7083
f7c77d93
JB
70842014-03-17 Joel Brobecker <brobecker@adacore.com>
7085
7086 * gdb.ada/pckd_arr_ren: New testcase.
7087
5a1e8c7a
DE
70882014-03-13 Doug Evans <xdje42@gmail.com>
7089
7090 PR guile/16612
7091 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7092 collect after discarding symbols.
7093
350e1a76
DE
70942014-03-13 Ludovic Courtès <ludo@gnu.org>
7095 Doug Evans <xdje42@gmail.com>
7096
7097 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7098 to history survives a gc.
7099
a69900ae
PA
71002014-03-13 Pedro Alves <palves@redhat.com>
7101
7102 * gdb.base/default.exp: Don't test "target procfs".
7103
5db9f0bd
PA
71042014-03-13 Pedro Alves <palves@redhat.com>
7105
7106 * gdb.base/default.exp: Update "target child" and "target procfs"
7107 tests to not expect "Unix".
7108
b3ccfe11
TT
71092014-03-12 Tom Tromey <tromey@redhat.com>
7110
7111 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7112 New procs. Add target-async tests.
7113 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7114 Add target-async tests.
7115
646f4417
AA
71162014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7117
7118 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7119 'func_start' and 'func_end' for the beginning and end of the
7120 function code, respectively.
7121 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7122 'func_end' instead of 'func' and 'main'.
7123
288c211f
AA
71242014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7125
7126 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7127 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7128 generate the debug info assembler source.
7129
e0c0f156
AA
71302014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7131
7132 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7133 * gdb.dwarf2/arr-subrange.exp: Likewise.
7134 * gdb.dwarf2/dwz.exp: Likewise.
7135 * gdb.dwarf2/method-ptr.exp: Likewise.
7136 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7137 * gdb.dwarf2/subrange.exp: Likewise.
7138 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7139 * gdb.dwarf2/implptrpiece.exp: Likewise.
7140 * gdb.dwarf2/nostaticblock.exp: Likewise.
7141
0e5c4555
AA
71422014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7143
7144 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7145 directory to absolute path name arguments.
7146
5ec18f2b
JG
71472014-03-10 Joel Brobecker <brobecker@adacore.com>
7148
7149 * gdb.ada/tagged_access: New testcase.
7150
847fc4f2
MM
71512014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7152
7153 * gdb.btrace/data.exp: Update expected output.
7154
cc3da688
YQ
71552014-03-06 Yao Qi <yao@codesourcery.com>
7156
7157 * gdb.trace/pr16508.exp: New file.
7158
0f26cec1
PA
71592014-03-05 Pedro Alves <palves@redhat.com>
7160
7161 PR gdb/16575
7162 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7163 procedure.
7164 (top level): Adjust to use it. Add tests that exercise breakpoint
7165 interaction with the code-cache.
7166
7a5a839f
LC
71672014-02-26 Ludovic Courtès <ludo@gnu.org>
7168
7169 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7170 test for 'history-append!'.
7171
31aa7e4e
JB
71722014-02-26 Joel Brobecker <brobecker@adacore.com>
7173
7174 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7175 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7176 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7177 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7178 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7179 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7180
1b588015
JB
71812014-02-26 Joel Brobecker <brobecker@adacore.com>
7182
7183 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7184 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7185 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7186
55426c9d
JB
71872014-02-26 Joel Brobecker <brobecker@adacore.com>
7188
7189 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7190
dc53a7ad
JB
71912014-02-26 Joel Brobecker <brobecker@adacore.com>
7192
7193 * gdb.dwarf2/arr-stride.c: New file.
7194 * gdb.dwarf2/arr-stride.exp: New file.
7195
12ab52e9
PA
71962014-02-26 Pedro Alves <palves@redhat.com>
7197
7198 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7199 that won't ever trigger. Make sure that GDB reports the correct
7200 breakpoint that caused the stop.
7201
849c862e
JK
72022014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7203
7204 PR gdb/16626
7205 * gdb.base/auto-load-script: New file.
7206 * gdb.base/auto-load.c: New file.
7207 * gdb.base/auto-load.exp: New file.
7208
71b7d793
JK
7209 PR gdb/16626
7210 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7211
e2f0d509
JK
72122014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7213
7214 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7215 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7216
50cc37c8
DE
72172014-02-24 Doug Evans <dje@google.com>
7218
7219 * lib/gdb.exp (run_on_host): Log error output if program fails.
7220
ea4758f2
PA
72212014-02-21 Pedro Alves <palves@redhat.com>
7222
7223 * gdb.threads/step-after-sr-lock.c: Rename to ...
7224 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7225 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7226 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7227 ... this.
7228
d7b30f67
SDJ
72292014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7230
7231 PR tdep/16397
7232 * gdb.arch/amd64-stap-special-operands.exp: New file.
7233 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7234 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7235 * gdb.arch/amd64-stap-triplet.S: Likewise.
7236 * gdb.arch/amd64-stap-triplet.c: Likewise.
7237
83deb43f
JB
72382014-02-20 Joel Brobecker <brobecker@adacore.com>
7239
7240 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7241 in .section pseudo-op.
7242
adde2bff
DE
72432014-02-20 lin zuojian <manjian2006@gmail.com>
7244 Joel Brobecker <brobecker@adacore.com>
7245 Doug Evans <xdje42@gmail.com>
7246
7247 PR symtab/16581
7248 * gdb.dwarf2/dw2-icycle.S: New file.
7249 * gdb.dwarf2/dw2-icycle.c: New file.
7250 * gdb.dwarf2/dw2-icycle.exp: New file.
7251
f7bd0f78
SC
72522014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7253
7254 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7255 operations on gdb.Value objects.
7256 * gdb.python/py-value-cc.exp: Add new test to test operations on
7257 gdb.Value objects.
7258
c17ef0d5
DE
72592014-02-18 Doug Evans <dje@google.com>
7260
7261 * Makefile.in (TESTS): New variable.
7262 (expanded_tests, expanded_tests_or_none): New variables
7263 (check-single): Pass $(expanded_tests_or_none) to runtest.
7264 (check-parallel): Only run tests in $(TESTS) if non-empty.
7265 (check/no-matching-tests-found): New rule.
7266 * README: Document TESTS makefile variable.
7267
5dd3176f
DE
72682014-02-18 Doug Evans <dje@google.com>
7269
7270 * Makefile.in (check-parallel): rm -rf outputs temp.
7271
0b10be4f
JK
72722014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7273
7274 Fix "ERROR: no fileid for" in the testsuite.
7275 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7276
85f224e7
DE
72772014-02-12 Doug Evans <dje@google.com>
7278
7279 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7280 (MISCELLANEOUS): New variable.
7281 (clean): rm -rf $(MISCELLANEOUS).
7282 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7283 dwp live in the same directory as symlinks, with each symlink pointed
7284 to a differently named file in a different directory.
7285
149b30ff
DE
72862014-02-11 Doug Evans <dje@google.com>
7287
7288 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7289 of Tcl file commands.
7290
1dfdac32
MK
72912014-02-10 Mark Kettenis <kettenis@gnu.org>
7292
7293 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7294 "kill -SIGUSR1 -1".
7295
aa4fb036
JB
72962014-02-10 Joel Brobecker <brobecker@adacore.com>
7297
7298 * gdb.ada/tick_length_array_enum_idx: New testcase.
7299
ed3ef339
DE
73002014-02-10 Doug Evans <xdje42@gmail.com>
7301
7302 * configure.ac (AC_OUTPUT): Add gdb.guile.
7303 * configure: Regenerate.
7304 * lib/gdb-guile.exp: New file.
7305 * lib/gdb.exp (get_target_charset): New function.
7306 * gdb.base/help.exp: Update expected output from "apropos apropos".
7307 * gdb.guile/Makefile.in: New file.
7308 * gdb.guile/guile.exp: New file.
7309 * gdb.guile/scm-arch.c: New file.
7310 * gdb.guile/scm-arch.exp: New file.
7311 * gdb.guile/scm-block.c: New file.
7312 * gdb.guile/scm-block.exp: New file.
7313 * gdb.guile/scm-breakpoint.c: New file.
7314 * gdb.guile/scm-breakpoint.exp: New file.
7315 * gdb.guile/scm-disasm.c: New file.
7316 * gdb.guile/scm-disasm.exp: New file.
7317 * gdb.guile/scm-equal.c: New file.
7318 * gdb.guile/scm-equal.exp: New file.
7319 * gdb.guile/scm-error.exp: New file.
7320 * gdb.guile/scm-error.scm: New file.
7321 * gdb.guile/scm-frame-args.c: New file.
7322 * gdb.guile/scm-frame-args.exp: New file.
7323 * gdb.guile/scm-frame-args.scm: New file.
7324 * gdb.guile/scm-frame-inline.c: New file.
7325 * gdb.guile/scm-frame-inline.exp: New file.
7326 * gdb.guile/scm-frame.c: New file.
7327 * gdb.guile/scm-frame.exp: New file.
7328 * gdb.guile/scm-generics.exp: New file.
7329 * gdb.guile/scm-gsmob.exp: New file.
7330 * gdb.guile/scm-iterator.c: New file.
7331 * gdb.guile/scm-iterator.exp: New file.
7332 * gdb.guile/scm-math.c: New file.
7333 * gdb.guile/scm-math.exp: New file.
7334 * gdb.guile/scm-objfile-script-gdb.in: New file.
7335 * gdb.guile/scm-objfile-script.c: New file.
7336 * gdb.guile/scm-objfile-script.exp: New file.
7337 * gdb.guile/scm-objfile.c: New file.
7338 * gdb.guile/scm-objfile.exp: New file.
7339 * gdb.guile/scm-ports.exp: New file.
7340 * gdb.guile/scm-pretty-print.c: New file.
7341 * gdb.guile/scm-pretty-print.exp: New file.
7342 * gdb.guile/scm-pretty-print.scm: New file.
7343 * gdb.guile/scm-section-script.c: New file.
7344 * gdb.guile/scm-section-script.exp: New file.
7345 * gdb.guile/scm-section-script.scm: New file.
7346 * gdb.guile/scm-symbol.c: New file.
7347 * gdb.guile/scm-symbol.exp: New file.
7348 * gdb.guile/scm-symtab-2.c: New file.
7349 * gdb.guile/scm-symtab.c: New file.
7350 * gdb.guile/scm-symtab.exp: New file.
7351 * gdb.guile/scm-type.c: New file.
7352 * gdb.guile/scm-type.exp: New file.
7353 * gdb.guile/scm-value-cc.cc: New file.
7354 * gdb.guile/scm-value-cc.exp: New file.
7355 * gdb.guile/scm-value.c: New file.
7356 * gdb.guile/scm-value.exp: New file.
7357 * gdb.guile/source2.scm: New file.
7358 * gdb.guile/types-module.cc: New file.
7359 * gdb.guile/types-module.exp: New file.
7360
7026a7c1
YQ
73612014-02-10 Yao Qi <yao@codesourcery.com>
7362
7363 PR testsuite/16543
7364 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7365 * configure: Regenerated.
7366 * Makefile.in: New file.
7367
6c466447
AS
73682014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7369
7370 * gdb.python/py-framefilter.exp: Fix typo.
7371
6e854735
YQ
73722014-02-08 Yao Qi <yao@codesourcery.com>
7373
7374 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7375 that no =breakpoint-modified is emitted when breakpoints are
7376 modified through MI commands.
7377
d137e6dc
PA
73782014-02-07 Pedro Alves <pedro@codesourcery.com>
7379 Pedro Alves <palves@redhat.com>
7380
7381 * gdb.threads/step-after-sr-lock.c: New file.
7382 * gdb.threads/step-after-sr-lock.exp: New file.
7383
b5ee5a50
PA
73842014-02-07 Pedro Alves <palves@redhat.com>
7385
7386 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7387
3c77faf3
JK
73882014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7389
7390 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7391 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7392
6dddc817
DE
73932014-02-06 Doug Evans <xdje42@gmail.com>
7394
7395 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7396 output.
7397
7398 * gdb.gdb/python-interrupts.exp: New file.
7399
de7b2893
YQ
74002014-02-05 Yao Qi <yao@codesourcery.com>
7401
7402 * gdb.trace/report.exp (use_collected_data): Test the output
7403 of "info threads" and "info inferiors".
7404
66d032ac
YQ
74052014-02-05 Yao Qi <yao@codesourcery.com>
7406
7407 Revert this patch:
7408
7409 2013-05-24 Yao Qi <yao@codesourcery.com>
7410
7411 * gdb.trace/tfile.exp: Test inferior and thread.
7412
591a12a1
UW
74132014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7414
7415 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7416 on a function.
7417 * gdb.base/step-bt.c: Call hello via function pointer to make
7418 sure its first instruction is executed on powerpc64le-linux.
7419
0ff3e01f
UW
74202014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7421
7422 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7423
084ee545
UW
74242014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7425
7426 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7427 of the test patterns for use on little-endian systems.
7428
6ed14ff3
UW
74292014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7430
7431 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7432 (decimal_vector): Fix for little-endian.
7433
401e27fd
JM
74342014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7435
7436 * gdb.arch/sparc-sysstep.exp: New file.
7437 * gdb.arch/sparc-sysstep.c: Likewise.
7438
7439 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7440
8b924729
EBM
74412014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7442
7443 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7444
fb151210
JB
74452014-01-23 Tom Tromey <tromey@redhat.com>
7446
7447 * gdb.ada/array_char_idx: New testcase.
7448
0740f8d8
TT
74492014-01-23 Tom Tromey <tromey@redhat.com>
7450
7451 PR python/16487:
7452 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7453 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7454 classes.
7455
21909fa1
TT
74562014-01-23 Tom Tromey <tromey@redhat.com>
7457
7458 PR python/16491:
7459 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7460 string from an inferior frame.
7461 * gdb.python/py-framefilter-mi.exp: Update.
7462
87ce2a04
DE
74632014-01-22 Doug Evans <dje@google.com>
7464
7465 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7466
237b092b
AA
74672014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7468
7469 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7470
d674a709
AA
74712014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7472
7473 * gdb.trace/entry-values.exp: Remove excess space character from
7474 regex patterns. Handle s390 call instruction.
7475
20fa3390
AA
74762014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7477
7478 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7479 define "*_start" label. Make "name" static.
7480 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7481 ${name} by references to ${name}_start.
7482
78466714
AA
74832014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7484
7485 * gdb.base/info-macros.exp: Remove "debug" from the compile
7486 options.
7487
ec9f644a
IB
74882014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7489
7490 * gdb.dlang/demangle.exp: New file.
7491
94b1b47e
IB
74922014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7493
7494 * gdb.dlang/primitive-types.exp: New file.
7495
7f420862
IB
74962014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7497
7498 * configure.ac: Create gdb.dlang/Makefile.
7499 * configure: Regenerate.
7500 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7501 * gdb.dlang/Makefile.in: New file.
7502 * lib/d-support.exp: New file.
7503 * lib/gdb.exp (skip_d_tests): New proc.
7504
52834460
MM
75052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7506
7507 * gdb.btrace/delta.exp: Check reverse stepi.
7508 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7509 * gdb.btrace/finish.exp: New.
7510 * gdb.btrace/next.exp: New.
7511 * gdb.btrace/nexti.exp: New.
7512 * gdb.btrace/record_goto.c: Add comments.
7513 * gdb.btrace/step.exp: New.
7514 * gdb.btrace/stepi.exp: New.
7515 * gdb.btrace/multi-thread-step.c: New.
7516 * gdb.btrace/multi-thread-step.exp: New.
7517 * gdb.btrace/rn-dl-bind.c: New.
7518 * gdb.btrace/rn-dl-bind.exp: New.
7519 * gdb.btrace/data.c: New.
7520 * gdb.btrace/data.exp: New.
7521 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7522
6e07b1d2
MM
75232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7524
7525 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7526 * gdb.btrace/exception.exp: Update.
7527 * gdb.btrace/instruction_history.exp: Update.
7528 * gdb.btrace/record_goto.exp: Update.
7529 * gdb.btrace/tailcall.exp: Update.
7530 * gdb.btrace/unknown_functions.exp: Update.
7531 * gdb.btrace/delta.exp: New.
7532
0b722aec
MM
75332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7534
7535 * gdb.btrace/record_goto.exp: Add backtrace test.
7536 * gdb.btrace/tailcall.exp: Add backtrace test.
7537
066ce621
MM
75382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7539
7540 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7541 * gdb.btrace/record_goto.c: New.
7542 * gdb.btrace/record_goto.exp: New.
7543 * gdb.btrace/x86-record_goto.S: New.
7544
0688d04e
MM
75452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7546
7547 * gdb.btrace/function_call_history.exp: Update tests.
7548 * gdb.btrace/instruction_history.exp: Update tests.
7549
8710b709
MM
75502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7551
7552 * gdb.btrace/function_call_history.exp: Fix expected field
7553 order for "record function-call-history".
7554 Add new tests for "record function-call-history /c".
7555 * gdb.btrace/exception.cc: New.
7556 * gdb.btrace/exception.exp: New.
7557 * gdb.btrace/tailcall.exp: New.
7558 * gdb.btrace/x86-tailcall.S: New.
7559 * gdb.btrace/x86-tailcall.c: New.
7560 * gdb.btrace/unknown_functions.c: New.
7561 * gdb.btrace/unknown_functions.exp: New.
7562 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7563
5de9129b
MM
75642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7565
7566 * gdb.btrace/instruction_history.exp: Update.
7567 * gdb.btrace/function_call_history.exp: Update.
7568
23a7fe75
MM
75692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7570
7571 * gdb.btrace/function_call_history.exp: Fix expected function
7572 trace.
7573 * gdb.btrace/instruction_history.exp: Initialize traced.
7574 Remove traced_functions.
7575
724c7dd8
MM
75762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7577
7578 * gdb.btrace/function_call_history.exp: Update
7579 * gdb.btrace/instruction_history.exp: Update.
7580
6d78d93b
MM
75812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7582
7583 * gdb.btrace/enable.exp: Update expected text.
7584
93a360cc
OJ
75852014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7586
7587 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7588 bytes.
7589
3772b53f
MR
75902014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7591
7592 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7593
596662fa
OJ
75942014-01-15 Omair Javaid <omair.javaid@linaro.org>
7595
7596 * lib/gdb.exp (supports_process_record): Return true for
7597 arm*-linux*. (supports_reverse): Likewise.
7598
b5b08fb4
SC
75992014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7600
7601 PR python/15464
7602 PR python/16113
7603 * gdb.python/py-type.c: Enhance test case.
7604 * gdb.python/py-value-cc.cc: Likewise
7605 * gdb.python/py-type.exp: Add new tests.
7606 * gdb.python/py-value-cc.exp: Likewise
7607
52d7fb13
AA
76082014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7609 Pedro Alves <palves@redhat.com>
7610
7611 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7612 Make "name" extern.
7613 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7614 references to ${name}_start by references to ${name}.
7615
a2cd8cfe
JB
76162014-01-10 Joel Brobecker <brobecker@adacore.com>
7617
7618 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7619
4e23fced
JB
76202014-01-10 Joel Brobecker <brobecker@adacore.com>
7621
7622 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7623
c6a9e42c
PA
76242014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7625 Pedro Alves <palves@redhat.com>
7626
7627 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7628 mi_gdb_target_load.
c6a9e42c 7629
b7ea362b
PA
76302014-01-08 Pedro Alves <palves@redhat.com>
7631
7632 * gdb.threads/reconnect-signal.c: New file.
7633 * gdb.threads/reconnect-signal.exp: New file.
7634
5e3f4fab
EBM
76352014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7636
7637 * gdb.base/source-dir.exp: New file.
7638
79301218
JB
76392014-01-07 Joel Brobecker <brobecker@adacore.com>
7640
7641 * gdb.ada/mi_interface: New testcase.
7642
8e355c5d
JB
76432014-01-07 Joel Brobecker <brobecker@adacore.com>
7644
7645 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7646 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7647 gdb.ada/pp-rec-component/pck.ads: New files.
7648
c0d48811
JB
76492014-01-07 Joel Brobecker <brobecker@adacore.com>
7650
7651 * gdb.python/py-pp-integral.c: New file.
7652 * gdb.python/py-pp-integral.py: New file.
7653 * gdb.python/py-pp-integral.exp: New file.
7654
17b609c3 7655For older changes see ChangeLog-1993-2013.
c906108c 7656\f
8d8cb839
EZ
7657;; Local Variables:
7658;; mode: change-log
7659;; left-margin: 8
7660;; fill-column: 74
7661;; version-control: never
7662;; End:
902f2ccb 7663
618f726f 7664 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7665 Copying and distribution of this file, with or without modification,
7666 are permitted provided the copyright notice and this notice are preserved.
This page took 3.704217 seconds and 4 git commands to generate.