[PR gdb/13808] gdb.trace: Pass tdesc selected in gdbserver to IPA.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ae91f625
MK
12016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
2
3 PR gdb/13808
4 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
5
678b48b7
MK
62016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7
8 * gdb.trace/ftrace.exp: Remove unnecessary target check.
9
7337a6f2
MK
102016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11
12 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
13 change x86_64 call_insn to 'callq'.
14
861ca91f
AT
152016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16
17 * gdb.trace/tfile-avx.c: Move to...
18 * gdb.trace/tracefile-pseudo-reg.c: Here.
19 * gdb.trace/tfile-avx.exp: Move to...
20 * gdb.trace/tracefile-pseudo-reg.exp: Here.
21
bf74e428
GB
222016-02-24 Gary Benson <gbenson@redhat.com>
23
24 * gdb.base/attach-pie-noexec.exp: Do not expect an error
25 message on attach.
26
cce0e923
DE
272016-02-23 Doug Evans <dje@google.com>
28
29 * gdb.base/skip.c (test_skip): New function.
30 (end_test_skip_file_and_function): New function.
31 (test_skip_file_and_function): New function.
32 * gdb.base/skip1.c (test_skip): New function.
33 (skip1_test_skip_file_and_function): New function.
34 * gdb.base/skip.exp: Add tests for new skip options.
35 * gdb.base/skip-solib.exp: Update expected output.
36 * gdb.perf/skip-command.cc: New file.
37 * gdb.perf/skip-command.exp: New file.
38 * gdb.perf/skip-command.py: New file.
39
4000e47e
MK
402016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
41
42 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
43 info registers pattern.
44
24f75ead
IB
452016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
46
47 * lib/future.exp: Add D support.
48 (gdb_find_gdc): New proc.
49 (gdb_default_target_compile): Add D support.
50
fbb7bcbe
WW
512016-02-18 Wei-cheng Wang <cole945@gmail.com>
52
53 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
54 user+system time.
55 (trace_speed_test): Determine the iteration count for a time
56 between 15..30 seconds.
57
012b3a21
WT
582016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
59
60 * gdb.arch/i386-mpx-sigsegv.c: New file.
61 * gdb.arch/i386-mpx-sigsegv.exp: New file.
62 * gdb.arch/i386-mpx-simple_segv.c: New file.
63 * gdb.arch/i386-mpx-simple_segv.exp: New file.
64
2d5189bd
YQ
652016-02-18 Yao Qi <yao.qi@linaro.org>
66
67 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
68 Don't call setup_kfail.
69
40fb20d0
YQ
702016-02-18 Yao Qi <yao.qi@linaro.org>
71
72 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
73 Set "set breakpoint condition-evaluation" per $cond_bp_target.
74
21b1f8d2
DE
752016-02-16 Doug Evans <dje@google.com>
76
77 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
78 * gdb.base/skip1.c: Ditto.
79 * gdb.base/skip.exp: Whitespace cleanup.
80
4041ed77
DB
812016-02-16 Don Breazeal <donb@codesourcery.com>
82
83 PR remote/19496
84 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
85 Remove kfail for PR remote/19496.
86
c4ef31bf
SM
872016-02-16 Simon Marchi <simon.marchi@ericsson.com>
88
89 * lib/gdb.exp (standard_temp_file): Return a path specific to
90 the runtest invocation.
91
266b65b3
SM
922016-02-16 Simon Marchi <simon.marchi@ericsson.com>
93
94 * gdb.trace/save-trace.exp: Change relative path to be in the
95 standard output directory.
96
a7a0a6a9
JK
972016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
98
99 * gdb.arch/i386-prologue.c: Add missing prototypes.
100
c99dbb42
JK
1012016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
102
103 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
104 * gdb.arch/i386-prologue.exp: Likewise.
105 * gdb.arch/i386-size.exp: Likewise.
106
aa480355
SM
1072016-02-15 Simon Marchi <simon.marchi@ericsson.com>
108
109 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
110 define object file path.
111 * gdb.btrace/gcore.exp: Use standard_output_file to define core
112 file path.
113 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
114 standard_output_file to define binfile.
115
ba881f50
JK
1162016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
117
118 Fix compatibility with recent gfortran-5.3.1.
119 * gdb.fortran/vla-history.exp (print vla1 allocated)
120 (print vla2 allocated, print $2, print $3): Remove
121 (print $4): Rename to ...
122 (print $2): ... here.
123 (print $9): Rename to ...
124 (print $5): ... here.
125 (print $10): Rename to ...
126 (print $6): ... here.
127 * gdb.fortran/vla.f90: Add pvla initialization.
128
e9fb005c
JK
1292016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
130
131 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
132 New test.
133 * gdb.fortran/vla-value-sub.exp: Likewise.
134
e44e00ff
MK
1352016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
136
137 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
138
97e94151
SM
1392016-02-12 Simon Marchi <simon.marchi@ericsson.com>
140
141 * i386-biarch-core.exp: Define corefile using
142 standard_output_file.
143
01113bc1
YQ
1442016-02-12 Yao Qi <yao.qi@linaro.org>
145
146 * gdb.arch/arm-single-step-kernel-helper.c: New.
147 * gdb.arch/arm-single-step-kernel-helper.exp: New.
148
33b4777c
MM
1492016-02-12 Markus Metzger <markus.t.metzger@intel.com>
150
151 * gdb.btrace/tailcall-only.exp: New.
152 * gdb.btrace/tailcall-only.c: New.
153 * gdb.btrace/x86_64-tailcall-only.S: New.
154 * gdb.btrace/i686-tailcall-only.S: New.
155
acc23c11
PA
1562016-02-11 Pedro Alves <palves@redhat.com>
157
158 * README (Parallel testing): Add missing double quotes.
159
e352bf0a
PA
1602016-02-11 Pedro Alves <palves@redhat.com>
161
162 * README (Parallel testing): New section.
163 (GDB_PARALLEL): Rewrite.
164 (FORCE_PARALLEL): Document.
165
9f5fed78
MK
1662016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
167
168 * gdb.trace/tfile-avx.c: New test.
169 * gdb.trace/tfile-avx.exp: New test.
170
9ef9e6a6
KS
1712016-02-09 Keith Seitz <keiths@redhat.com>
172
173 PR breakpoints/19546
174 * gdb.base/infcall-exec.c: New file.
175 * gdb.base/infcall-exec2.c: New file.
176 * gdb.base/infcall-exec.exp: New file.
177
a96e36da
KS
1782016-02-09 Keith Seitz <keiths@redhat.com>
179
180 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
181 (toplevel): Call test_bkpt_address.
182
9f61929f
KS
1832016-02-09 Keith Seitz <keiths@redhat.com>
184
185 PR python/19506
186 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
187 (toplevel): Call test_bkpt_address.
188
1e94266c
SM
1892016-02-09 Simon Marchi <simon.marchi@ericsson.com>
190
191 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
192 to AC_OUTPUT.
193 * configure: Regenerate.
194
2a7f3dff
PA
1952016-02-09 Pedro Alves <palves@redhat.com>
196
197 PR breakpoints/19548
198 * gdb.base/execl-update-breakpoints.c (some_function): New
199 function.
200 (main): Call it.
201 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
202 Tighten expected GDB output.
203
2151ccc5
SM
2042016-02-08 Simon Marchi <simon.marchi@ericsson.com>
205
206 * Makefile.in (ALL_SUBDIRS): Remove.
207 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
208 (distclean maintainer-clean realclean): Likewise.
209 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
210 * configure: Regenerate.
211 * gdb.ada/Makefile.in: Delete.
212 * gdb.arch/Makefile.in: Likewise.
213 * gdb.asm/Makefile.in: Likewise.
214 * gdb.base/Makefile.in: Likewise.
215 * gdb.btrace/Makefile.in: Likewise.
216 * gdb.cell/Makefile.in: Likewise.
217 * gdb.compile/Makefile.in: Likewise.
218 * gdb.cp/Makefile.in: Likewise.
219 * gdb.disasm/Makefile.in: Likewise.
220 * gdb.dlang/Makefile.in: Likewise.
221 * gdb.dwarf2/Makefile.in: Likewise.
222 * gdb.fortran/Makefile.in: Likewise.
223 * gdb.gdb/Makefile.in: Likewise.
224 * gdb.go/Makefile.in: Likewise.
225 * gdb.guile/Makefile.in: Likewise.
226 * gdb.java/Makefile.in: Likewise.
227 * gdb.linespec/Makefile.in: Likewise.
228 * gdb.mi/Makefile.in: Likewise.
229 * gdb.modula2/Makefile.in: Likewise.
230 * gdb.multi/Makefile.in: Likewise.
231 * gdb.objc/Makefile.in: Likewise.
232 * gdb.opencl/Makefile.in: Likewise.
233 * gdb.opt/Makefile.in: Likewise.
234 * gdb.pascal/Makefile.in: Likewise.
235 * gdb.perf/Makefile.in: Likewise.
236 * gdb.python/Makefile.in: Likewise.
237 * gdb.reverse/Makefile.in: Likewise.
238 * gdb.server/Makefile.in: Likewise.
239 * gdb.stabs/Makefile.in: Likewise.
240 * gdb.threads/Makefile.in: Likewise.
241 * gdb.trace/Makefile.in: Likewise.
242 * gdb.xml/Makefile.in: Likewise.
243 * lib/gdb.exp (make_gdb_parallel_path): Add check for
244 GDB_PARALLEL.
245 (standard_output_file): Remove check for GDB_PARALLEL, always
246 return path in outputs/$subdir/$testname.
247
437277d4
SM
2482016-02-08 Simon Marchi <simon.marchi@ericsson.com>
249
250 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
251 (site.exp): Assign abs_srcdir to tcl's srcdir.
252
31d913c7
YQ
2532016-02-04 Yao Qi <yao.qi@linaro.org>
254
255 * gdb.base/foll-exec-mode.c: Include limits.h.
256 (main): Add parameters argc and argv. Get directory from
257 argv[0].
258 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
259 compilation.
260 * gdb.base/foll-exec.c: Include limits.h.
261 (main): Add parameters argc and argv.
262 Get directory from argv[0].
263 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
264 Adjust tests on the number of lines as source code changed.
265 * gdb.base/foll-vfork-exit.c: Include limits.h.
266 (main): Add one line of statement before vfork.
267 * gdb.base/foll-vfork.c: Include limits.h and string.h.
268 (main): Add parameters argc and argv. Get directory from
269 argv[0].
270 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
271 (setup_gdb): Set tbreak to skip some source lines.
272 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
273 (main): Add parameters argc and argv. Get directory from
274 argv[0].
275 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
276 compilation.
277 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
278 (main): Add parameters argc and argv. Get directory from
279 argv[0].
280 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
281 compilation.
282
9482b9fb
DE
2832016-02-01 Doug Evans <dje@google.com>
284
285 * gdb.base/skip.exp: Clean up multiple references to same test name.
286
6b2e4f10
PA
2872016-02-01 Pedro Alves <palves@redhat.com>
288
ccb6afd6 289 PR remote/19496
6b2e4f10
PA
290 * gdb.threads/forking-threads-plus-breakpoint.exp
291 (displaced_stepping_supported): New global.
292 (probe_displaced_stepping_support): New procedure.
293 (do_test): Add 'displaced' parameter, and use it.
294 (top level): Check for displaced stepping support. Add displaced
295 stepping on/off testing axis.
296
37a8db1a
AB
2972016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
298
299 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
300 pointer. Don't perform further tests on the unassociated pointer
301 if the first test fails.
302
5fdf6324
AB
3032016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
304
305 * gdb.base/max-value-size.c: New file.
306 * gdb.base/max-value-size.exp: New file.
307 * gdb.base/huge.exp: Disable max-value-size for this test.
308
935c6144
IB
3092016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
310
311 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
312
7fe8399d
YQ
3132016-01-28 Yao Qi <yao.qi@linaro.org>
314
315 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
316
a2077e25
PA
3172016-01-25 Pedro Alves <palves@redhat.com>
318
319 PR threads/19461
320 * gdb.base/fork-running-state.c: New file.
321 * gdb.base/fork-running-state.exp: New file.
322
1d2736d4
PA
3232016-01-25 Pedro Alves <palves@redhat.com>
324
325 PR gdb/19494
326 * gdb.base/catch-fork-kill.c: New file.
327 * gdb.base/catch-fork-kill.exp: New file.
328
f1da4b11
PA
3292016-01-25 Pedro Alves <palves@redhat.com>
330
331 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
332 Delete, moved to lib/gdb.exp.
333 * gdb.threads/forking-threads-plus-breakpoint.exp
334 (foreach_with_prefix): Likewise.
335 * gdb.threads/process-dies-while-handling-bp.exp
336 (foreach_with_prefix): Likewise.
337 * lib/gdb.exp (foreach_with_prefix): New procedure.
338
45f38546
MK
3392016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
340
341 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
342 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
343
dc29a1ce
MK
3442016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
345
346 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
347 endian targets.
348
092127d7
JK
3492016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
350 Pedro Alves <palves@redhat.com>
351
352 Fix testsuite compatibility with Guile.
353 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
354 number.
355
31d765d3
JK
3562016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
357
358 Fix testsuite compatibility with Guile.
359 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
360 (thread 1): New test for backtrace through signal handler.
361
1ac78c04
YQ
3622016-01-22 Yao Qi <yao.qi@linaro.org>
363
364 PR testsuite/19491
365 * gdb.base/multi-forks.c: Include
366 ../lib/unbuffer_output.c
367 (main): Call gdb_unbuffer_output.
368
4f5946a8
DE
3692016-01-21 Doug Evans <dje@google.com>
370
371 * lib/ada.exp (gdb_compile_ada): Fix typo.
372
305e13e6
JB
3732016-01-21 Joel Brobecker <brobecker@adacore.com>
374
375 * gdb.base/break-fun-addr.exp: New file.
376 * gdb.base/break-fun-addr1.c: New file.
377 * gdb.base/break-fun-addr2.c: New file.
378
5f5dfff6
SM
3792016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
380
381 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
382 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
383 enum flag values.
384
fd356fa2
AA
3852016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
386
387 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
388 when GDB can not set the vector return value. Add more comments
389 for clarification.
390
9df22175
AT
3912016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
392
393 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
394 command.
395
41d1845e
SM
3962016-01-19 Simon Marchi <simon.marchi@ericsson.com>
397
398 * Makefile.in (DO_RUNTEST): Add --status and update usages.
399
01ac6840
SM
4002016-01-19 Simon Marchi <simon.marchi@ericsson.com>
401
402 * Makefile.in (check-single): Pass --status to runtest.
403 (check/%.exp): Likewise.
404
4052016-01-19 Simon Marchi <simon.marchi@ericsson.com>
406
407 * Makefile.in (check-parallel): Propagate return code from make
408 do-check-parallel.
409
bd0a71fa
MK
4102016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
411
412 * gdb.trace/ftrace.exp: Fix expected message on continue.
413 * gdb.trace/pending.exp: Fix expected message on continue.
414 * gdb.trace/trace-break.exp: Fix expected message on continue.
415
8bcbad33
SM
4162016-01-18 Simon Marchi <simon.marchi@ericsson.com>
417
418 * lib/gdb.exp (gdb_test): Remove unused global references.
419
f303dbd6
PA
4202016-01-18 Pedro Alves <palves@redhat.com>
421
422 * gdb.base/async-shell.exp: Adjust expected output.
423 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
424 * gdb.base/siginfo-thread.exp: Adjust expected output.
425 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
426 * gdb.java/jnpe.exp: Adjust expected output.
427 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
428 * gdb.threads/continue-pending-status.exp: Adjust expected output.
429 * gdb.threads/leader-exit.exp: Adjust expected output.
430 * gdb.threads/manythreads.exp: Adjust expected output.
431 * gdb.threads/pthreads.exp: Adjust expected output.
432 * gdb.threads/schedlock.exp: Adjust expected output.
433 * gdb.threads/siginfo-threads.exp: Adjust expected output.
434 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
435 expected output.
436 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
437 output.
438 * gdb.threads/sigthread.exp: Adjust expected output.
439 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
440
b2789696
YQ
4412016-01-18 Yao Qi <yao.qi@linaro.org>
442
443 * gdb.guile/scm-section-script.c: Replace @progbits with
444 %progbits.
445 * gdb.python/py-section-script.c: Likewise.
446
71ef29a8
PA
4472016-01-15 Pedro Alves <palves@redhat.com>
448
449 * gdb.multi/tids.exp: Test star wildcard ranges.
450
3f5b7598
PA
4512016-01-15 Pedro Alves <palves@redhat.com>
452
453 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
454 command from "thread apply" invocation.
455 (thr_apply_info_thr_invalid): Default the expected output to the
456 input tid list.
457 (top level): Add tests that use convenience variables. Add tests
458 for "thread apply" with a valid TID list, but missing the command.
459
663f6d42
PA
4602016-01-13 Pedro Alves <palves@redhat.com>
461
462 * gdb.base/default.exp: Expect $_gthread as well.
463 * gdb.multi/tids.exp: Test $_gthread.
464 * gdb.threads/thread-specific.exp: Test $_gthread.
465
c84f6bbf
PA
4662016-01-13 Pedro Alves <palves@redhat.com>
467
468 * gdb.multi/tids.exp: Test "info threads -gid".
469
22a02324
PA
4702016-01-13 Pedro Alves <palves@redhat.com>
471
472 * gdb.multi/tids.exp: Test InferiorThread.global_num and
473 Breakpoint.thread.
474 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
475
5d5658a1
PA
4762016-01-07 Pedro Alves <palves@redhat.com>
477
478 * gdb.base/break.exp: Adjust to output changes.
479 * gdb.base/hbreak2.exp: Likewise.
480 * gdb.base/sepdebug.exp: Likewise.
481 * gdb.base/watch_thread_num.exp: Likewise.
482 * gdb.linespec/keywords.exp: Likewise.
483 * gdb.multi/info-threads.exp: Likewise.
484 * gdb.threads/thread-find.exp: Likewise.
485 * gdb.multi/tids.c: New file.
486 * gdb.multi/tids.exp: New file.
487
84654457
PA
4882016-01-13 Pedro Alves <palves@redhat.com>
489
490 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
491
e3940304
PA
4922016-01-13 Pedro Alves <palves@redhat.com>
493
494 * gdb.base/default.exp: Expect $_inferior as well.
495 * gdb.multi/base.exp: Test $_inferior.
496
a911d87a
PA
4972016-01-13 Pedro Alves <palves@redhat.com>
498
499 PR breakpoints/19388
500 * gdb.base/catch-signal-siginfo-cond.c: New file.
501 * gdb.base/catch-signal-siginfo-cond.exp: New file.
502
82075af2
JS
5032016-01-12 Josh Stone <jistone@redhat.com>
504 Philippe Waroquiers <philippe.waroquiers@skynet.be>
505
506 * gdb.base/catch-syscall.c (do_execve): New variable.
507 (main): Conditionally trigger an execve.
508 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
509 (test_catch_syscall_execve): New, check entry/return across execve.
510 (do_syscall_tests): Call test_catch_syscall_execve.
511
e46eeedd
PA
5122016-01-12 Pedro Alves <palves@redhat.com>
513
514 * gdb.base/random-signal.exp (do_test): New procedure, with body
515 of testcase moved in.
516
01d8c27e
JK
5172016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
518 Pedro Alves <palves@redhat.com>
519
520 * gdb.base/funcargs.exp (finish from indirectly called function):
521 Reintroduce the case for 'First'.
522
9a706302
JK
5232016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
524 Pedro Alves <palves@redhat.com>
525
526 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
527 (tcatch_vfork_then_child_follow_exec)
528 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
529 identification.
530
c0ecb95f
JK
5312016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
532
533 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
534 and repeats to unlimited.
535 * gdb.python/py-value.exp: Likewise.
536 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
537 and repeats to unlimited.
538
6cfc1fcb
JK
5392016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
540
541 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
542 and reordering the functions.
543 * gdb.multi/hangout.c: Likewise.
544 * gdb.multi/hello.c: Likewise.
545
582a1b00
SM
5462016-01-08 Simon Marchi <simon.marchi@ericsson.com>
547
548 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
549 absolute.
550 (SingleStatisticTestResult.report): Use dict.keys instead of
551 dict.iterkeys.
552
79bc59cb
PA
5532016-01-06 Pedro Alves <palves@redhat.com>
554
555 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
556
43368e1d
MM
5572016-01-04 Markus Metzger <markus.t.metzger@intel.com>
558
559 * gdb.btrace/dlopen.exp: New.
560 * gdb.btrace/dlopen.c: New.
561 * gdb.btrace/dlopen-dso.c: New.
562
79fad5b8
SL
5632015-12-25 Sandra Loosemore <sandra@codesourcery.com>
564
565 * lib/gdb.exp (gdb_test): Update comments to clarify that the
566 PATTERN argument is optional.
567
ab8314b3
JB
5682015-12-24 Joel Brobecker <brobecker@adacore.com>
569
570 * lib/ada.exp (target_compile_ada_from_dir): New function.
571 (gdb_compile_ada): Reimplement avoiding the use of project files.
572 * gdb.ada/gnat_ada.gpr: Delete.
573 * gdb.ada/cond_lang.exp: Adjust test to make path before
574 filename optional.
575 * gdb.ada/small_reg_param.exp: Likewise.
576
fe33faff
SM
5772015-12-22 Simon Marchi <simon.marchi@ericsson.com>
578
579 * gdb.base/foll-vork.exp: Remove HP-UX special case.
580
6d265cb4
TP
5812015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
582
583 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
584 case.
585
10125099
SM
5862015-12-21 Simon Marchi <simon.marchi@ericsson.com>
587
588 * gdb.base/break.exp: Remove dead code.
589 * gdb.base/sepdebug.exp: Likewise.
590
3ca22649
SM
5912015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
592
593 * gdb.asm/asm-source.exp: Remove HP-UX references.
594 * gdb.base/annota1.exp: Likewise.
595 * gdb.base/annota3.exp: Likewise.
596 * gdb.base/attach.exp: Likewise.
597 * gdb.base/bigcore.exp: Likewise.
598 * gdb.base/break.exp: Likewise.
599 * gdb.base/call-ar-st.exp: Likewise.
600 * gdb.base/callfuncs.exp: Likewise.
601 * gdb.base/catch-fork-static.exp: Likewise.
602 * gdb.base/display.exp: Likewise.
603 * gdb.base/foll-exec-mode.exp: Likewise.
604 * gdb.base/foll-exec.exp: Likewise.
605 * gdb.base/foll-fork.exp: Likewise.
606 * gdb.base/foll-vfork.exp: Likewise.
607 * gdb.base/funcargs.exp: Likewise.
608 * gdb.base/hbreak2.exp: Likewise.
609 * gdb.base/inferior-died.exp: Likewise.
610 * gdb.base/interrupt.exp: Likewise.
611 * gdb.base/multi-forks.exp: Likewise.
612 * gdb.base/nodebug.exp: Likewise.
613 * gdb.base/sepdebug.exp: Likewise.
614 * gdb.base/solib1.c: Likewise.
615 * gdb.base/step-test.exp: Likewise.
616 * gdb.mi/non-stop.c: Likewise.
617 * gdb.mi/pthreads.c: Likewise.
618 * gdb.multi/bkpt-multi-exec.ex: Likewise.
619 * gdb.threads/pthreads.c: Likewise.
620 * gdb.threads/staticthreads.exp: Likewise.
621 * lib/future.exp: Likewise.
622 * lib/gdb.exp: Likewise.
623 * gdb.base/so-indr-cl.c: Remove.
624 * gdb.base/so-indr-cl.exp: Likewise.
625 * gdb.base/solib.c: Likewise.
626 * gdb.base/solib.exp: Likewise.
627 * gdb.base/solib2.c: Likewise.
628
b6304613
SM
6292015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
630
631 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
632 * gdb.base/call-ar-st.exp: Likewise.
633 * gdb.base/callfuncs.exp: Likewise.
634 * gdb.base/condbreak.exp: Likewise.
635 * gdb.base/constvars.exp: Likewise.
636 * gdb.base/hbreak2.exp: Likewise.
637 * gdb.base/langs.exp: Likewise.
638 * gdb.base/list.exp: Likewise.
639 * gdb.base/long_long.exp: Likewise.
640 * gdb.base/ptype.exp: Likewise.
641 * gdb.base/scope.exp: Likewise.
642 * gdb.base/signals.exp: Likewise.
643 * gdb.base/so-impl-ld.exp: Likewise.
644 * gdb.base/varargs.exp: Likewise.
645 * gdb.base/volatile.exp: Likewise.
646 * gdb.base/whatis.exp: Likewise.
647 * gdb.cp/cplusfuncs.exp: Likewise.
648 * gdb.cp/inherit.exp: Likewise.
649 * gdb.cp/local.exp: Likewise.
650 * gdb.cp/member-ptr.exp: Likewise.
651 * gdb.cp/method.exp: Likewise.
652 * gdb.cp/overload.exp: Likewise.
653 * gdb.cp/templates.exp: Likewise.
654 * gdb.stabs/weird.exp: Likewise.
655 * lib/compiler.c: Likewise.
656 * lib/compiler.cc: Likewise.
657 * lib/cp-support.exp: Likewise.
658 * lib/gdb.exp: Likewise.
659
bf401b07
SM
6602015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
661
662 * configure.ac: Remove HP-UX case.
663 * configure: Regenerate.
664
aff9c0f8
SM
6652015-12-18 Simon Marchi <simon.marchi@ericsson.com>
666
667 * lib/gdb.exp (gdb_compile): Add function doc.
668
a6904d5a
PA
6692015-12-17 Pedro Alves <palves@redhat.com>
670
671 PR threads/19354
672 * gdb.multi/info-threads.exp: New file.
673
a22279dd
YQ
6742015-12-15 Yao Qi <yao.qi@linaro.org>
675
676 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
677 is aarch64*-*-*.
678
0588c796
SL
6792015-12-14 Sandra Loosemore <sandra@codesourcery.com>
680
681 * gdb.base/history-duplicates.exp: Skip if no readline support.
682
5d978e17
SL
6832015-12-14 Sandra Loosemore <sandra@codesourcery.com>
684
685 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
686
7e763b86
SL
6872015-12-14 Sandra Loosemore <sandra@codesourcery.com>
688
689 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
690
87a3a92c
SL
6912015-12-14 Sandra Loosemore <sandra@codesourcery.com>
692
693 * gdb.base/completion.exp: Skip tests that interrupt GDB with
694 ctrl-C if nointerrupts target property is set.
695 * gdb.base/double-prompt-target-event-error.exp: Likewise.
696 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
697 * gdb.base/paginate-bg-execution.exp: Likewise.
698 * gdb.base/paginate-execution-startup.exp: Likewise.
699 * gdb.base/random-signal.exp: Likewise.
700 * gdb.base/range-stepping.exp: Likewise.
701 * gdb.cp/annota2.exp: Likewise.
702 * gdb.cp/annota3.exp: Likewise.
703 * gdb.gdb/selftest.exp: Likewise.
704 * gdb.threads/continue-pending-status.exp: Likewise.
705 * gdb.threads/leader-exit.exp: Likewise.
706 * gdb.threads/manythreads.exp: Likewise.
707 * gdb.threads/pthreads.exp: Likewise.
708 * gdb.threads/schedlock.exp: Likewise.
709 * gdb.threads/sigthread.exp: Likewise.
710
a8f077dc
DB
7112015-12-11 Don Breazeal <donb@codesourcery.com>
712
713 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
714 remote.
715 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
716 * gdb.base/foll-exec.exp (main): Enable for target remote.
717 * gdb.base/foll-fork.exp (main): Likewise.
718 * gdb.base/foll-vfork.exp (main): Likewise.
719 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
720 (proc continue_to_exit_bp_loc): Use clean_restart.
721 * gdb.base/pie-execl.exp (main): Disable for target remote.
722 * gdb.base/watch-vfork.exp (main): Enable for target remote.
723 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
724 * gdb.threads/execl.exp (main): Likewise.
725 * gdb.threads/fork-child-threads.exp (main): Likewise.
726 * gdb.threads/fork-plus-threads.exp (main): Disable for target
727 remote.
728 * gdb.threads/fork-thread-pending.exp (main): Enable for target
729 remote.
730 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
731 pid.tid style ptids, instead of just tid.
732 * gdb.threads/thread-execl.exp (main): Enable for target remote.
733 * gdb.threads/watchpoint-fork.exp (main): Likewise.
734 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
735 ptids, instead of just tid.
736
3b2464a8
AB
7372015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
738
739 * gdb.base/list.exp (test_list_forward): Add end of file error
740 test.
741 (test_repeat_list_command): Add end of file error test.
742 (test_list_backwards): Add beginning of file error test.
743
a0def019
AB
7442015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
745
746 * gdb.base/list.exp (test_list_invalid_args): New function,
747 defined, and called.
748
5c000dff
AB
7492015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
750
751 * gdb.base/list.exp (test_list): Make test names unique.
752
f1637ebe
YQ
7532015-12-11 Yao Qi <yao.qi@linaro.org>
754
755 * gdb.base/coremaker2.c: Remove.
756
36d6fc0a
PA
7572015-12-10 Pedro Alves <palves@redhat.com>
758
759 * gdb.multi/base.exp: Remove stale "spaces" references.
760
762f7747
PA
7612015-12-10 Pedro Alves <palves@redhat.com>
762
763 * gdb.multi/base.exp: Don't use nowarnings.
764 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
765 * gdb.multi/hangout.c: Include stdio.h.
766 * gdb.multi/hello.c: Include stdlib.h.
767 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
768 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
769 * gdb.multi/multi-arch.exp: Don't use nowarnings.
770
28d2bfb9
AB
7712015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
772
773 * gdb.dwarf2/dw2-ranges-base.c: New file.
774 * gdb.dwarf2/dw2-ranges-base.exp: New file.
775 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
776 support additional line table, and debug ranges generation.
777 (Dwarf::ranges): New function, generate .debug_ranges.
778 (Dwarf::lines): Support generating simple line table programs.
779 (Dwarf::assemble): Initialise new namespace variables.
780
5fc2beac
KB
7812015-12-09 Kevin Buettner <kevinb@redhat.com>
782
783 * gdb.base/async.exp (proc test_background): Add case for
784 asynchronous execution not supported.
785
1c35a88f
LM
7862015-12-09 Luis Machado <lgustavo@codesourcery.com>
787
788 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
789 format and change test names to make them unique.
790
b593e3d9
RK
7912015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
792 Pedro Alves <pedro@redhat.com>
793
794 PR gdb/18702
795 Add checking of floatformats setup on x86_64 hosts.
796 * gdb.arch/i386-float.S (main): Load bigval and smallval.
797 (smallval, bigval): New labels/constants.
798 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
799 float" after loading bigval and smallval.
800
d72413e6
PMR
8012015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
802
803 * gdb.ada/fun_overload_menu.exp: New testcase.
804 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
805
ece66d65
JS
8062015-12-04 Josh Stone <jistone@redhat.com>
807
808 * gdb.base/catch-fork-static.exp: New.
809
41d0efca
YQ
8102015-12-03 Yao Qi <yao.qi@linaro.org>
811
812 * gdb.base/sizeof.c: Don't include stdio.h and
813 ../lib/unbuffer_output.c.
814 (main): New variable 'size' and 'value'. Remove printf and
815 gdb_unbuffer_output. Assign return value to size and value.
816 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
817 at the beginning.
818 (check_sizeof): Check the result by printing variable 'size'.
819 (check_valueof): Check the result by printing variable 'value'.
820
99fd02d9
YQ
8212015-12-01 Yao Qi <yao.qi@linaro.org>
822
823 * gdb.base/disp-step-syscall.exp: Define syscall instruction
824 for aarch64*-*-linux* target.
825
f2faf941
PA
8262015-11-30 Pedro Alves <palves@redhat.com>
827
828 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
829
04bf20c5
PA
8302015-11-30 Pedro Alves <palves@redhat.com>
831
832 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
833 Handle non-stop mode vCont replies.
834
09df4675
PA
8352015-11-30 Pedro Alves <palves@redhat.com>
836
837 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
838 prepare_for_testing. Start gdb with "set non-stop on" appended to
839 GDBFLAGS. Lax expected stop output.
840
58b584af
YQ
8412015-11-27 Yao Qi <yao.qi@linaro.org>
842
843 * gdb.arch/arm-neon.exp: New.
844 * gdb.arch/arm-neon.c: New.
845
dfcb77a8
YQ
8462015-11-27 Yao Qi <yao.qi@linaro.org>
847
848 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
849
88e8ec1b
YQ
8502015-11-27 Yao Qi <yao.qi@linaro.org>
851
852 * gdb.cp/annota2.exp: Allow multiple occurrences of the
853 frames-invalid annotation.
854
bfde72c2
YQ
8552015-11-27 Yao Qi <yao.qi@linaro.org>
856
857 * gdb.cp/annota2.exp: Use ${frames_invalid}.
858
f6512a69
SM
8592015-11-26 Simon Marchi <simon.marchi@ericsson.com>
860
861 * gdb.threads/names.exp: New file.
862 * gdb.threads/names.c: New file.
863 * README: Mention gdb,no_thread_names.
864
46a3515b
MM
8652015-11-26 Markus Metzger <markus.t.metzger@intel.com>
866
867 PR 19297
868 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
869 support" error.
870
62147a22
PA
8712015-11-24 Pedro Alves <palves@redhat.com>
872
873 PR 17539
874 * gdb.base/display.exp: Expect displays to be sorted in ascending
875 order. Use multi_line.
876 * gdb.base/solib-display.exp: Likewise.
877
2f341b6e
PA
8782015-11-24 Pedro Alves <palves@redhat.com>
879
880 PR 17539
881 * gdb.base/display.exp: Expect displays to be sorted in ascending
882 order. Use multi_line.
883 * gdb.base/solib-display.exp: Likewise.
884
7e0aa6aa
PA
8852015-11-24 Pedro Alves <palves@redhat.com>
886
887 PR 17539
888 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
889 threads in ascending order.
890 * gdb.base/foll-fork.exp: Likewise.
891 * gdb.base/foll-vfork.exp: Likewise.
892 * gdb.base/multi-forks.exp: Likewise.
893 * gdb.mi/mi-nonstop.exp: Likewise.
894 * gdb.mi/mi-nsintrall.exp: Likewise.
895 * gdb.multi/base.exp: Likewise.
896 * gdb.multi/multi-arch.exp: Likewise.
897 * gdb.python/py-inferior.exp: Likewise.
898 * gdb.threads/break-while-running.exp: Likewise.
899 * gdb.threads/execl.exp: Likewise.
900 * gdb.threads/gcore-thread.exp: Likewise.
901 * gdb.threads/info-threads-cur-sal.exp: Likewise.
902 * gdb.threads/kill.exp: Likewise.
903 * gdb.threads/linux-dp.exp: Likewise.
904 * gdb.threads/multiple-step-overs.exp: Likewise.
905 * gdb.threads/next-bp-other-thread.exp: Likewise.
906 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
907 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
908 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
909 * gdb.threads/thread-find.exp: Likewise.
910 * gdb.threads/tls.exp: Likewise.
911 * lib/mi-support.exp (mi_reverse_list): Delete.
912 (mi_check_thread_states): No longer reverse list.
913
2cc57ad8
PA
9142015-11-24 Pedro Alves <palves@redhat.com>
915
916 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
917 use lowercase.
918
c93e8391
SM
9192015-11-23 Simon Marchi <simon.marchi@ericsson.com>
920
921 * gdb.trace/actions.c: Include trace-common.h.
922 (main): Add a location for a fast tracepoint.
923 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
924 the normal tracepoints.
925 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
926
045ccf91
SM
9272015-11-23 Simon Marchi <simon.marchi@ericsson.com>
928
929 * save-trace.exp: Factor out code to these...
930 (gdb_save_tracepoints): New.
931 (gdb_load_tracepoints): New.
932 (do_save_load_test): New.
933
5506f9f6
KB
9342015-11-23 Kevin Buettner <kevinb@redhat.com>
935
936 * gdb.base/asmlabel.exp: New test.
937 * gdb.base/asmlabel.c: New test case.
938
16c3b12f
JB
9392015-11-23 Joel Brobecker <brobecker@adacore.com>
940
941 * gdb.base/wrong_frame_bt_full-main.c: New file.
942 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
943 * gdb.base/wrong_frame_bt_full.exp: New file.
944
155bfbd3
JB
9452015-11-23 Joel Brobecker <brobecker@adacore.com>
946
947 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
948
bb097445
JM
9492015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
950
206853a0 951 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
952 pstate register when comparing registers values in
953 sparc64-*-linux-gnu targets to avoid spurious differences.
954
9c88ed8f
JM
9552015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
956
206853a0 957 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 958
96161e25
SL
9592015-11-19 Sandra Loosemore <sandra@codesourcery.com>
960
961 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
962 as type argument to gdb_compile.
963 * gdb.base/nested-subp2.exp: Likewise.
964 * gdb.base/nested-subp3.exp: Likewise.
965
340c2830
DV
9662015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
967
968 * lib/dwarf.exp (_note): Fix left shift of negative value.
969 * gdb.trace/trace-condition.exp: Likewise.
970
c1862d0f
YQ
9712015-11-13 Yao Qi <yao.qi@linaro.org>
972
973 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
974 comments about d10v.
975 (test_scalar_returns): Likewise.
976 * gdb.base/d10v.ld: Remove.
977 * gdb.base/overlays.exp: Remove the target triplet checking for
978 d10v-*-*.
979 * gdb.base/structs.exp (test_struct_returns): Remove the
980 comments about d10v.
981 (test_struct_calls): Likewise.
982
77ae9c19
YQ
9832015-11-13 Yao Qi <yao.qi@linaro.org>
984
985 * gdb.base/gnu_vector.exp: Check the return value by "p res".
986 * gdb.base/gnu_vector.c: Don't include stdio.h.
987 (main): Don't print res and call add_some_intvecs.
988
430e004e
MK
9892015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
990
991 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
992 macro.
993 (func5): Removed.
994 (func4): Use FAST_TRACEPOINT_LABEL.
995 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
996 macro.
997 (func): Removed.
998 (thread_function): Use FAST_TRACEPOINT_LABEL.
999 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1000 (func): Remove.
1001 (marker): Use FAST_TRACEPOINT_LABEL.
1002 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1003 (pendfunc1): Remove.
1004 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1005 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1006 (foo): Remove.
1007 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1008 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1009 macro.
1010 (func): Remove.
1011 (marker): Use FAST_TRACEPOINT_LABEL.
1012 * gdb.trace/trace-common.h: New header.
1013 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1014 macro.
1015 (func): Remove.
1016 (marker): Use FAST_TRACEPOINT_LABEL.
1017 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1018 (func): Remove.
1019 (thread_function): Use FAST_TRACEPOINT_LABEL.
1020
6e7675a7
MK
10212015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1022
1023 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1024 in front.
1025 * gdb.trace/change-loc.exp: Use global pcreg definition.
1026 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1027 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1028 in front.
1029 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1030 * gdb.trace/pending.exp: Likewise.
1031 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1032 * gdb.trace/trace-break.exp: Likewise.
1033 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1034 in front.
1035 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1036 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1037 in front.
1038 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1039
dddc0e16
JB
10402015-11-09 Joel Brobecker <brobecker@adacore.com>
1041
1042 * gdb.ada/fin_fun_out: New testcase.
1043
c6f0b406
KB
10442015-11-07 Kevin Buettner <kevinb@redhat.com>
1045
1046 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1047 value associated with DW_AT_byte_size.
1048 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1049 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1050 DW_AT_upper_bound.
1051
f01dcfd9
KB
10522015-11-07 Kevin Buettner <kevinb@redhat.com>
1053
1054 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1055 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1056 version.
1057 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1058 gdb.dwarf2/dw2-canonicalize-type.exp,
1059 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1060 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1061 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1062 provided by gdb_target_symbol_prefix_flags_asm.
1063 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1064 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1065 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1066 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1067 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1068 macros where needed). Use this macro for symbols which require
1069 the prefix provided by SYMBOL_PREFIX.
1070
2223449a
KB
10712015-11-05 Kevin Buettner <kevinb@redhat.com>
1072
1073 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1074 New procs.
1075 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1076 representing expressions, of more than one list element.
1077 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1078 to prepend linker symbol prefix to f.
1079 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1080 table_1 and table_2.
1081 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1082 Likewise, for f and g.
1083 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1084 for ptr.
1085 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1086 for main.
1087 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1088 table_1_ptr and table_2_ptr.
1089
6f2f1a3a
JK
10902015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1091 Joel Brobecker <brobecker@adacore.com>
1092
1093 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1094
566c56c9
MK
10952015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1096
1097 * gdb.reverse/s390-mvcle.c: New test.
1098 * gdb.reverse/s390-mvcle.exp: New file.
1099 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1100
d5f0636b
MK
11012015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1102
1103 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1104
7ad8b86c
MK
11052015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1106
1107 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1108 reaching marker2.
1109 * gdb.reverse/getresuid-reverse.exp: Likewise.
1110 * gdb.reverse/pipe-reverse.exp: Likewise.
1111 * gdb.reverse/readv-reverse.exp: Likewise.
1112 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1113 * gdb.reverse/time-reverse.exp: Likewise.
1114 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1115
4081c0f1
YQ
11162015-10-30 Yao Qi <yao.qi@linaro.org>
1117
1118 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1119 (empty_cycle): Remove.
1120 (main): Don't call empty_cycle. Don't use watch_count_done.
1121 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1122 empty_cycle. Rewrite the code counting HW watchpoints.
1123
452b4ba5
MK
11242015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1125
1126 * gdb.reverse/fstatat-reverse.c: New test.
1127 * gdb.reverse/fstatat-reverse.exp: New file.
1128 * gdb.reverse/getresuid-reverse.c: New test.
1129 * gdb.reverse/getresuid-reverse.exp: New file.
1130 * gdb.reverse/pipe-reverse.c: New test.
1131 * gdb.reverse/pipe-reverse.exp: New file.
1132 * gdb.reverse/readv-reverse.c: New test.
1133 * gdb.reverse/readv-reverse.exp: New file.
1134 * gdb.reverse/recvmsg-reverse.c: New test.
1135 * gdb.reverse/recvmsg-reverse.exp: New file.
1136 * gdb.reverse/time-reverse.c: New test.
1137 * gdb.reverse/time-reverse.exp: New file.
1138 * gdb.reverse/waitpid-reverse.c: New test.
1139 * gdb.reverse/waitpid-reverse.exp: New file.
1140
5e2e7507
JK
11412015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1142
1143 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1144
0fde2c53
DE
11452015-10-26 Doug Evans <dje@google.com>
1146
1147 PR symtab/17391
1148 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1149 * gdb.dwarf2/bad-regnum.c: New file.
1150 * gdb.dwarf2/bad-regnum.exp: New file.
1151
1a70ae97
DE
11522015-10-26 Doug Evans <dje@google.com>
1153
1154 PR python/18938
1155 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1156 file.
1157
27dc26ab
JK
11582015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1159
1160 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1161 for a change by "Mention language in compile error message".
1162
bed91f4d
SM
11632015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1164
1165 PR python/18073
1166 * gdb.python/py-type.c (C::a_method): New.
1167 (C::a_const_method): New.
1168 (C::a_static_method): New.
1169 (a_function): New.
1170 * gdb.python/py-type.exp (test_fields): Test getting fields
1171 from function and method.
1172
3f2f83dd
KB
11732015-10-21 Keven Boell <keven.boell@intel.com>
1174
1175 * gdb.fortran/vla-alloc-assoc.exp: New file.
1176 * gdb.fortran/vla-datatypes.exp: New file.
1177 * gdb.fortran/vla-datatypes.f90: New file.
1178 * gdb.fortran/vla-history.exp: New file.
1179 * gdb.fortran/vla-ptype-sub.exp: New file.
1180 * gdb.fortran/vla-ptype.exp: New file.
1181 * gdb.fortran/vla-sizeof.exp: New file.
1182 * gdb.fortran/vla-sub.f90: New file.
1183 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1184 * gdb.fortran/vla-value-sub-finish.exp: New file.
1185 * gdb.fortran/vla-value-sub.exp: New file.
1186 * gdb.fortran/vla-value.exp: New file.
1187 * gdb.fortran/vla-ptr-info.exp: New file.
1188 * gdb.mi/mi-vla-fortran.exp: New file.
1189 * gdb.mi/vla.f90: New file.
1190
27145d50
SL
11912015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1192
1193 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1194 of hardwired timeout value.
1195
5f3ff4f8
JK
11962015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1197 Pedro Alves <palves@redhat.com>
1198
1199 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1200 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1201
bfd09d20
JS
12022015-10-19 Josh Stone <jistone@redhat.com>
1203
1204 * gdb.base/catch-syscall.c: Include <sched.h>.
1205 (unknown_syscall): New variable.
1206 (main): Trigger a vfork and an unknown syscall.
1207 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1208 (unknown_syscall_number): Likewise.
1209 (check_call_to_syscall): Accept an optional syscall pattern.
1210 (check_return_from_syscall): Likewise.
1211 (check_continue): Likewise.
1212 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1213 (test_catch_syscall_skipping_return): New test toggling off 'catch
1214 syscall' to step over the syscall return, then toggling back on.
1215 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1216 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1217 (do_syscall_tests): Call test_catch_syscall_without_args and
1218 test_catch_syscall_mid_vfork.
1219 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1220 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1221
b32b93c6
AS
12222015-10-19 Andrew Stubbs <ams@codesourcery.com>
1223
1224 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1225 print g_vE): Add new pass patterns.
1226 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1227 print various symbol names for vptr fields.
1228
9d622bda
AB
12292015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1230
1231 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1232 results.
1233
0fd8ac1c
YQ
12342015-10-12 Yao Qi <yao.qi@linaro.org>
1235
1236 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1237
34240514
YQ
12382015-10-12 Yao Qi <yao.qi@linaro.org>
1239
1240 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1241 is aarch64*-*-linux*.
1242
8240f442
YQ
12432015-10-12 Yao Qi <yao.qi@linaro.org>
1244
1245 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1246 (can_relocate_bcond_true): ... it.
1247 (can_relocate_bcond_false): New function.
1248 (foo): Likewise.
1249 (can_relocate_bl): Likewise.
1250 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1251 can_relocate_bl.
1252
2520f728
PMR
12532015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1254
1255 * gdb.base/nested-addr.c: New file.
1256 * gdb.base/nested-addr.exp: New testcase.
1257
abcef95a
MM
12582015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1259
1260 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1261 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1262 its output. Ignore the output of "record goto begin" and instead
1263 check that GDB is replaying.
1264
145e3ddb
PA
12652015-10-09 Pedro Alves <palves@redhat.com>
1266
1267 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1268 (top level): Use it in the run with no args test.
1269
d5d8c4e1
IB
12702015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1271
1272 * gdb.dlang/properties.exp: New file.
1273
06e635ef
SL
12742015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1275
1276 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1277 whether or not address 0x1000 is mapped on the target.
1278
e019fd1d
SM
12792015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1280
1281 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1282 build.
1283
77ba2a67
MM
12842015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1285
1286 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1287 instruction-history test.
1288
c60eb31f
DE
12892015-09-28 Doug Evans <dje@google.com>
1290
1291 * gdb.base/gcore.c (array_func): Add reference to static_array.
1292
9a3c8263
SM
12932015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1294
1295 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1296 source line.
1297
9720e656
SL
12982015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1299
1300 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1301 short or char as base type.
1302
938d3bf2
SL
13032015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1304
1305 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1306 to allow any size enum.
1307
e6c2c623
PMR
13082015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1309
1310 * gdb.ada/array_ptr_renaming.exp: New testcase.
1311 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1312 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1313
06da0f77
PL
13142015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1315
1316 * gdb.trace/ftrace-lock.c: New file.
1317 * gdb.trace/ftrace-lock.exp: New file.
1318
4f51c22a
PL
13192015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1320
1321 * gdb.arch/insn-reloc.c: New file.
1322 * gdb.arch/ftrace-insn-reloc.exp: New file.
1323
7041adf4
PL
13242015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1325
1326 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1327 instruction.
1328 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1329 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1330 * gdb.trace/range-stepping.c: Likewise.
1331 * gdb.trace/trace-break.c: Likewise.
1332 * gdb.trace/trace-mt.c (thread_function): Likewise.
1333 * gdb.trace/ftrace.c (marker): Likewise.
1334 * gdb.trace/trace-condition.c (marker): Likewise.
1335 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1336 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1337 is_aarch64_target.
1338
015d2e7e
DE
13392015-09-18 Doug Evans <xdje42@gmail.com>
1340
1341 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1342 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1343
26b188a2
SL
13442015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1345
1346 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1347 the breakpoint.
1348
79dc332b
SL
13492015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1350
1351 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1352 the pending breakpoint. Remove timeout override for "Run till
1353 MI pending breakpoint on pendfunc3 on thread 2" test.
1354
f57929f2
SL
13552015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1356
1357 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1358 filename pattern.
1359
3f469b17
SL
13602015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1361
1362 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1363 in breakpoint filename pattern.
1364
515b89b3
SL
13652015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1366
7800dbe4
SL
1367 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1368
13692015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1370
515b89b3
SL
1371 * gdb.linespec/explicit.exp: Check for readline support for
1372 tab-completion tests. Fix obvious typo.
1373
d2939ba2
MM
13742015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1375
1376 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1377 and replay.
1378
cbb55fa7
MM
13792015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1380
1381 * gdb.btrace/non-stop.c: New.
1382 * gdb.btrace/non-stop.exp: New.
1383
43691ca1
PL
13842015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1385 Yao Qi <yao.qi@linaro.org>
1386
1387 * gdb.trace/trace-condition.c: New file.
1388 * gdb.trace/trace-condition.exp: New file.
1389
d78908cf
WW
13902015-09-16 Wei-cheng Wang <cole945@gmail.com>
1391
1392 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1393 for testing bytecode compilation.
1394
1ed415e2
PA
13952015-09-16 Pedro Alves <palves@redhat.com>
1396 Sandra Loosemore <sandra@codesourcery.com>
1397
1398 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1399 (SECONDS): Redefine.
1400 (main): Call pthread_kill and alarm early.
1401 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1402 support.
1403 (test): If the target can't hardware step and doesn't support
1404 displaced stepping, increase the timeout.
1405
d136eff5
PA
14062015-09-16 Pedro Alves <palves@redhat.com>
1407
1408 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1409 (enable_debug): New procedures.
1410 (test): Use them. Bail out if waiting for threads fails.
1411 (top level): Bail out if a test fails.
1412
991f019c
YQ
14132015-09-16 Yao Qi <yao.qi@linaro.org>
1414
1415 * gdb.asm/asm-source.exp: Set asm-arch for
1416 aarch64*-*-* target.
1417 * gdb.asm/aarch64.inc: New file.
1418
bfca584f
PMR
14192015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1420
1421 * gdb.ada/array_of_variable_length.exp: New testcase.
1422 * gdb.ada/array_of_variable_length/foo.adb: New file.
1423 * gdb.ada/array_of_variable_length/pck.adb: New file.
1424 * gdb.ada/array_of_variable_length/pck.ads: New file.
1425
b326e587
DE
14262015-09-15 Doug Evans <dje@google.com>
1427
1428 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1429 of function static local variable.
1430
5382cfab
PW
14312015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1432
1433 * gdb.threads/tls-so_extern.exp: New test file.
1434 * gdb.threads/tls-so_extern.c: New test file.
1435 * gdb.threads/tls-so_extern_main.c: New test file.
1436
141c5cc4
JK
14372015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1438
1439 * gdb.opt/solib-intra-step-lib.c: New file.
1440 * gdb.opt/solib-intra-step-main.c: New file.
1441 * gdb.opt/solib-intra-step.exp: New file.
1442
d15dcecd
PA
14432015-09-15 Pedro Alves <palves@redhat.com>
1444
1445 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1446 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1447
4c2f2a79
PA
14482015-09-14 Pedro Alves <palves@redhat.com>
1449
1450 * gdb.base/hook-stop-continue.c: Delete.
1451 * gdb.base/hook-stop-continue.exp: Delete.
1452 * gdb.base/hook-stop-frame.c: Delete.
1453 * gdb.base/hook-stop-frame.exp: Delete.
1454 * gdb.base/hook-stop.c: New file.
1455 * gdb.base/hook-stop.exp: New file.
1456
919e6dbe
PMR
14572015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1458
1459 * gdb.ada/access_to_packed_array.exp: New testcase.
1460 * gdb.ada/access_to_packed_array/foo.adb: New file.
1461 * gdb.ada/access_to_packed_array/pack.adb: New file.
1462 * gdb.ada/access_to_packed_array/pack.ads: New file.
1463
157280a4
MM
14642015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1465
1466 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1467 buffer size test.
1468
2fd33e94
DB
14692015-09-11 Don Breazeal <donb@codesourcery.com>
1470
1471 * gdb.base/foll-exec.c: Add copyright header. Fix
1472 formatting issues.
1473 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1474 (do_exec_tests): Use clean_restart in place of zap_session,
1475 and for test initialization. Fix formatting issues. Use
1476 fail in place of perror.
1477 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1478 an expect statement to match an expression with output from
1479 the program under debug.
1480 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1481 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1482 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1483 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1484 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1485
e70b6e8e
DE
14862015-09-09 Doug Evans <dje@google.com>
1487
1488 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1489
7a551a51
DE
14902015-09-09 Doug Evans <dje@google.com>
1491
1492 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1493
4c666f84
DE
14942015-09-09 Doug Evans <dje@google.com>
1495
1496 * gdb.base/savedregs.exp: Fix typo.
1497
243a9253
PA
14982015-09-09 Pedro Alves <palves@redhat.com>
1499
1500 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1501
c0fa8fbd
SL
15022015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1503
1504 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1505 command actually switches threads. Give up on remaining
1506 tests if target fails to stop at breakpoint.
1507
cd7c1778
PMR
15082015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1509
1510 * gdb.ada/funcall_char.exp: New testcase.
1511 * gdb.ada/funcall_char/foo.adb: New file.
1512
dc5c8746
PMR
15132015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1514
1515 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1516 expected outputs. Add two testcases for completing ambiguous
1517 functions.
1518 * gdb.ada/complete/aux_pck.adb: New file.
1519 * gdb.ada/complete/aux_pck.ads: New file.
1520 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1521 Ambiguous_Func functions.
1522 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1523 * gdb.ada/complete/pck.adb: Likewise.
1524
4e83a1e7
UW
15252015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1526
1527 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1528 failures to run the test program under GDB.
1529
8ce74153
LM
15302015-08-26 Luis Machado <lgustavo@codesourcery.com>
1531
1532 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1533 to C.
1534
e9756d52
PP
15352015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1536
1537 * gdb.base/run-after-attach.exp: New test file.
1538 * gdb.base/run-after-attach.c: New test file.
1539
8d37573b
DB
15402015-08-26 Don Breazeal <donb@codesourcery.com>
1541
1542 * gdb.base/foll-exec-2.c: New test program.
1543 * gdb.base/foll-exec-2.exp: New test.
1544
63e43d3a
PMR
15452015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1546
1547 * gdb.base/nested-subp1.exp: New file.
1548 * gdb.base/nested-subp1.c: New file.
1549 * gdb.base/nested-subp2.exp: New file.
1550 * gdb.base/nested-subp2.c: New file.
1551 * gdb.base/nested-subp3.exp: New file.
1552 * gdb.base/nested-subp3.c: New file.
1553
3d40fbb5
PA
15542015-08-24 Pedro Alves <palves@redhat.com>
1555
1556 * gdb.server/connect-without-multi-process.c: New file.
1557 * gdb.server/connect-without-multi-process.exp: New file.
1558
4422ac93
LM
15592015-08-24 Luis Machado <lgustavo@codesourcery.com>
1560
1561 * gdb.opt/inline-markers.c: Make z int.
1562
91dddb86
LM
15632015-08-24 Luis Machado <lgustavo@codesourcery.com>
1564
1565 * gdb.opt/inline-markers.c: Make z volatile.
1566
a48847ee
LM
15672015-08-24 Luis Machado <lgustavo@codesourcery.com>
1568
1569 * gdb.opt/inline-bt.c: New volatile global z.
1570 * gdb.opt/inline-cmds.c: Likewise.
1571 * gdb.opt/inline-locals.c: Likewise.
1572 * gdb.opt/inline-markers.c: New extern global z.
1573 (marker): Use z.
1574 (inline_fn): Likewise.
1575
0ebbc52b
PA
15762015-08-24 Pedro Alves <palves@redhat.com>
1577
1578 * config/m32r-stub.exp: Remove file.
1579 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1580 * gdb.base/call-rt-st.exp: Likewise.
1581 * gdb.base/call-strs.exp: Likewise.
1582 * gdb.base/default.exp: Remove references to h8300-*-hms and
1583 *-*-udi*.
1584 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1585
77c365df
AA
15862015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1587
1588 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1589 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1590 and "return" use KFAIL when GDB can not read/write the vector
1591 return value.
1592
4313b8c0
GB
15932015-08-21 Gary Benson <gbenson@redhat.com>
1594
1595 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1596
0e433b32
PA
15972015-08-20 Pedro Alves <palves@redhat.com>
1598
1599 * gdb.server/solib-list.exp: No longer expect an interior stop in
1600 non-stop mode.
1601
221e1a37
PA
16022015-08-20 Pedro Alves <palves@redhat.com>
1603
1604 * gdb.server/connect-stopped-target.c: New file.
1605 * gdb.server/connect-stopped-target.exp: New file.
1606
40e3ad0e
PA
16072015-08-20 Pedro Alves <palves@redhat.com>
1608
1609 * gdb.dwarf2/comp-unit-lang.exp: New file.
1610 * gdb.dwarf2/comp-unit-lang.c: New file.
1611
af39b327
PMR
16122015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1613
1614 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1615 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1616
7d45c7c3 16172015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1618
7d45c7c3
KB
1619 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1620 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1621
4d6cceb4
DE
16222015-08-18 Doug Evans <dje@google.com>
1623 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1624
1625 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1626 skip_python_tests. New arg prompt_regexp.
1627 (skip_python_tests): New function.
1628 * lib/mi-support.exp (mi_skip_python_tests): New function.
1629 * gdb.python/py-mi-objfile-gdb.py: New file.
1630 * gdb.python/py-mi-objfile.c: New file.
1631 * gdb.python/py-mi-objfile.exp: New file.
1632
ad89c2aa
KS
16332015-08-17 Keith Seitz <keiths@redhat.com>
1634
1635 * gdb.linespec/explicit.exp: Move strace test from here ...
1636 * gdb.trace/strace.exp: ... to here.
1637
e3ae3c43
PP
16382015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1639
1640 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1641 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1642
604b2636
DE
16432015-08-14 Doug Evans <xdje42@gmail.com>
1644
1645 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1646 inferior before selecting a new file.
1647
6ff0ba5f
DE
16482015-08-14 Doug Evans <xdje42@gmail.com>
1649
1650 * gdb.mi/mi-disassemble.exp: Update.
1651 * gdb.base/disasm-optim.S: New file.
1652 * gdb.base/disasm-optim.c: New file.
1653 * gdb.base/disasm-optim.h: New file.
1654 * gdb.base/disasm-optim.exp: New file.
1655
9ca98f92
KS
16562015-08-14 Keith Seitz <keiths@redhat.com>
1657
1658 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1659 "evaluated-by".
1660
52bbc560
JB
16612015-08-13 Joel Brobecker <brobecker@adacore.com>
1662
1663 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1664
5d8c3ed3
PMR
16652015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1666
1667 * gdb.ada/fun_renaming.exp: New testcase.
1668 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1669 * gdb.ada/fun_renaming/pack.adb: New file.
1670 * gdb.ada/fun_renaming/pack.ads: New file.
1671
ea8812bc
KS
16722015-08-12 Keith Seitz <keiths@redhat.com>
1673
1674 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1675 gdb_get_line_number.
1676
4dafcdeb
JB
16772015-08-12 Joel Brobecker <brobecker@adacore.com>
1678
1679 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1680 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1681 gdb.base/dso2dso.exp: New files.
1682
5ba32597
SDJ
16832015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1684 Pedro Alves <palves@redhat.com>
1685 Keith Seitz <keiths@redhat.com>
1686
1687 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1688 GDBFLAGS.
1689
b6dafabf
PP
16902015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1691
1692 * gdb.base/gdbhistsize-history.exp
1693 (test_histsize_history_setting): Use save_vars.
1694 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1695 Use save_vars.
1696 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1697 * gdb.base/readline.exp: Use save_vars.
1698
abe8e607
PP
16992015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1700
1701 * lib/gdb.exp (save_vars): New proc.
1702
629500fa
KS
17032015-08-11 Keith Seitz <keiths@redhat.com>
1704
1705 * gdb.base/help.exp: Update help_breakpoint_text.
1706
eb8c4e2e
KS
17072015-08-11 Keith Seitz <keiths@redhat.com>
1708
1709 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1710 (at toplevel): Call test_explicit_breakpoints.
1711 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1712 breakpoints.
1713 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1714 breakpoint conditions, "-cond".
1715
87f0e720
KS
17162015-08-11 Keith Seitz <keiths@redhat.com>
1717
1718 * gdb.linespec/3explicit.c: New file.
1719 * gdb.linespec/cpexplicit.cc: New file.
1720 * gdb.linespec/cpexplicit.exp: New file.
1721 * gdb.linespec/explicit.c: New file.
1722 * gdb.linespec/explicit.exp: New file.
1723 * gdb.linespec/explicit2.c: New file.
1724 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1725 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1726 before using in the matching pattern.
1727 Clarify that `prefix' is a regular expression.
1728
f00aae0f
KS
17292015-08-11 Keith Seitz <keiths@redhat.com>
1730
1731 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1732 test.
1733 Add tests for missing ",FMT" and ",".
1734
e27852be
DE
17352015-08-10 Doug Evans <dje@google.com>
1736 Keith Seitz <keiths@redhat.com>
1737
1738 PR gdb/17960
1739 * gdb.base/completion.exp: Add location completer tests.
1740
7f03bd92
PA
17412015-08-07 Pedro Alves <palves@redhat.com>
1742
1743 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1744 tests here.
1745 (top level): Run do_test with and without displaced stepping.
1746
3fc8eb30
PA
17472015-08-07 Pedro Alves <palves@redhat.com>
1748
1749 * gdb.base/valgrind-disp-step.c: New file.
1750 * gdb.base/valgrind-disp-step.exp: New file.
1751
d4569d7b
PA
17522015-08-07 Pedro Alves <palves@redhat.com>
1753
1754 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1755 Delete function.
1756 (main): Add alarm. Run an infinite loop instead of calling
1757 wait_threads.
1758 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1759 comment.
1760 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1761 Delete function.
1762 (main): Add alarm. Run an infinite loop instead of calling
1763 wait_threads.
1764 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1765 comment.
1766
e1316e60
PA
17672015-08-07 Pedro Alves <palves@redhat.com>
1768
1769 * gdb.base/checkpoint-ns.exp: New file.
1770 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1771 standard_testfile.
1772
da8c46d2
MM
17732015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1774
1775 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1776 * gdb.btrace/instruction_history.exp: Update.
1777 * gdb.btrace/tsx.exp: New.
1778 * gdb.btrace/tsx.c: New.
1779
de1c2c52
PA
17802015-08-06 Pedro Alves <palves@redhat.com>
1781
1782 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1783 increase timeout.
1784 * gdb.reverse/until-precsave.exp: Bump timeouts.
1785
782e0bf4
PA
17862015-08-06 Pedro Alves <palves@redhat.com>
1787
1788 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1789
83e97ed0
PA
17902015-08-06 Pedro Alves <palves@redhat.com>
1791
1792 PR gdb/18749
1793 * gdb.threads/process-dies-while-handling-bp.c: New file.
1794 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1795
863d01bd
PA
17962015-08-06 Pedro Alves <palves@redhat.com>
1797
1798 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1799 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1800
0a39bb32
PA
18012015-08-05 Pedro Alves <palves@redhat.com>
1802
1803 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1804 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1805
ee2d2b10
SL
18062015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1807
1808 * gdb.base/bp-permanent.exp: Report test as unsupported if
1809 the target cannot stop at the permanent breakpoint.
1810
4e1bdb00
DE
18112015-08-03 Doug Evans <dje@google.com>
1812
1813 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1814 10000.
1815
3d338901
DE
18162015-08-03 Doug Evans <dje@google.com>
1817
1818 * Makefile.in (workers/%.worker, build-perf): New rule.
1819 (GDB_PERFTEST_MODE): New variable.
1820 (check-perf): Use it.
1821 (clean): Clean up gdb.perf parallel build subdirs.
1822 * lib/build-piece.exp: New file.
1823 * lib/gdb.exp (make_gdb_parallel_path): New function
1824 (standard_output_file, standard_temp_file): Call it.
1825 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1826 of $GDB_PARALLEL.
1827 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1828
af061d3e
DE
18292015-08-03 Doug Evans <dje@google.com>
1830
8e1afc81 1831 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1832 (LOG_FILE_NAME): New global.
1833 (TextReporter.__init__): Initialize self.txt_sum.
1834 (TextReporter.report): Add support for multiple data-points.
1835 Move report to perftest.sum, put raw data in perftest.log.
1836 (TextReporter.start): Open sum and log files.
1837 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1838 * gdb.perf/lib/perftest/testresult.py
1839 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1840
2c8c5d37
PA
18412015-07-31 Pedro Alves <palves@redhat.com>
1842
1843 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1844 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1845 kill_wait_spawned_process instead of explicit "kill -9".
1846 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1847 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1848 kill_wait_spawned_process.
1849 * gdb.base/attach-twice.exp: Likewise.
1850 * gdb.base/attach.exp: Likewise.
1851 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1852 gdb_test_multiple.
1853 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1854 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1855 kill_wait_spawned_process.
1856 * gdb.base/valgrind-infcall.exp: Likewise.
1857 * gdb.multi/multi-attach.exp: Likewise.
1858 * gdb.python/py-prompt.exp: Likewise.
1859 * gdb.python/py-sync-interp.exp: Likewise.
1860 * gdb.server/ext-attach.exp: Likewise.
1861 * gdb.threads/attach-into-signal.exp (corefunc): Use
1862 spawn_wait_for_attach, spawn_id_get_pid and
1863 kill_wait_spawned_process.
1864 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1865 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1866 spawn_id_get_pid and kill_wait_spawned_process.
1867 * gdb.threads/attach-stopped.exp (corefunc): Use
1868 spawn_wait_for_attach, spawn_id_get_pid and
1869 kill_wait_spawned_process.
1870 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1871 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1872 kill_wait_spawned_process instead of explicit "kill -9".
1873 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1874 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1875 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1876 processes. Don't map cygwin/windows pids here. Now returns a
1877 spawn id list.
1878
032a0fca
SL
18792015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1880
1881 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1882 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1883 correct patch.
1884
61a934ca
SL
18852015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1886
1887 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1888
4bc4d428
SL
18892015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1890
1891 Reapply:
1892 2014-05-21 Mark Wielaard <mjw@redhat.com>
1893
1894 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1895
998d452a
PA
18962015-07-30 Pedro Alves <palves@redhat.com>
1897
1898 * linux-low.c (handle_extended_wait): Set the child's last
1899 reported status to TARGET_WAITKIND_STOPPED.
1900
69dde7dc
PA
19012015-07-30 Pedro Alves <palves@redhat.com>
1902
1903 PR threads/18600
1904 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1905 only shows inferior 1.
1906
4dd63d48
PA
19072015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1908 Pedro Alves <palves@redhat.com>
1909
1910 PR threads/18600
1911 * gdb.threads/fork-plus-threads.c: New file.
1912 * gdb.threads/fork-plus-threads.exp: New file.
1913
d618e4c5
PP
19142015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1915
1916 * gdb.base/batch-preserve-term-settings.exp
1917 (test_terminal_settings_preserved_after_cli_exit): Use
1918 send_quit_command.
1919
1eef6428
PA
19202015-07-29 Pedro Alves <palves@redhat.com>
1921 Don Breazeal <donb@codesourcery.com>
1922
1923 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1924 output from both inferior_spawn_id and gdb_spawn_id.
1925
7da5b897
SDJ
19262015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1927
1928 * gdb.threads/attach-into-signal.exp (corefunc): Use
1929 with_test_prefix on nested loops, uniquefying the test messages.
1930
dac804df
SDJ
19312015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1932
1933 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1934 commit.
1935
06265e53
PP
19362015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1937
1938 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1939 New proc.
1940 (test_terminal_settings_preserved_after_sigterm): New test.
1941
18206ca3
PP
19422015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1943
1944 * gdb.base/batch-preserve-term-settings.exp
1945 (test_terminal_settings_preserved_after_cli_exit): New test.
1946
90074d11
PP
19472015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1948
1949 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1950 manipulation of saved_gdbflags.
1951 (test_terminal_settings_preserved): Remove global declaration of
1952 the unused variable pagination_prompt. Remove manipulation of
1953 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1954 GDBFLAGS.
1955
eb1a7902
PA
19562015-07-29 Pedro Alves <palves@redhat.com>
1957
1958 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1959
8b75dd3b
PA
19602015-07-29 Pedro Alves <palves@redhat.com>
1961
1962 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1963 at the top.
1964
dedad4e3
PA
19652015-07-29 Pedro Alves <palves@redhat.com>
1966
1967 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1968 (main): Call gdb_unbuffer_output.
1969 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1970 (main): Call gdb_unbuffer_output.
1971 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1972 (main): Call gdb_unbuffer_output.
1973 * gdb.base/call-strs.exp: Adjust to step over the
1974 gdb_unbuffer_output call.
1975 * gdb.base/catch-gdb-caused-signals.c: Include
1976 "../lib/unbuffer_output.c".
1977 (main): Call gdb_unbuffer_output.
1978 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1979 (main): Call gdb_unbuffer_output.
1980 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1981 (main): Call gdb_unbuffer_output.
1982 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1983 (main): Call gdb_unbuffer_output.
1984 * gdb.base/shlib-call.exp: Adjust to step over the
1985 gdb_unbuffer_output call.
1986 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1987 (main): Call gdb_unbuffer_output.
1988 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1989 (main): Call gdb_unbuffer_output.
1990 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1991 (main): Rename to ...
1992 (test): ... this.
1993 (main): Reimplement.
1994 * gdb.base/varargs.exp: Run to test instead of to main.
1995 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1996 (main): Call gdb_unbuffer_output.
1997
58789a91
PA
19982015-07-29 Pedro Alves <palves@redhat.com>
1999
2000 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2001 factore out from mi_continue_dprintf. For call-style dprintfs,
2002 expect dprintf output out of $inferior_spawn_id.
2003 (mi_continue_dprintf): Use mi_expect_dprintf.
2004 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2005 (main): Call gdb_unbuffer_output.
2006
e8376742
PA
20072015-07-29 Pedro Alves <palves@redhat.com>
2008
2009 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2010 (default_mi_gdb_start): Set inferior_spawn_id instead of
2011 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2012 gdb_spawn_id.
2013 (mi_gdb_test): Always expect inferior output from both
2014 $inferior_spawn_id and $gdb_spawn_id.
2015
08280010
PA
20162015-07-29 Pedro Alves <palves@redhat.com>
2017
2018 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2019 send_inferior and $inferior_spawn_id.
2020
4d30e432
PA
20212015-07-29 Pedro Alves <palves@redhat.com>
2022
2023 * gdb.gdb/complaints.exp (test_initial_complaints)
2024 (test_serial_complaints, test_short_complaints): Use
2025 gdb_test_stdio.
2026 (test_empty_complaint): Handle $inferior_spawn_id !=
2027 $gdb_spawn_id.
2028
0d30a335
PA
20292015-07-29 Pedro Alves <palves@redhat.com>
2030
2031 * gdb.base/varargs.exp: Use gdb_test_stdio.
2032
39413b29
PA
20332015-07-29 Pedro Alves <palves@redhat.com>
2034
2035 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2036
7cb000a9
PA
20372015-07-29 Pedro Alves <palves@redhat.com>
2038
2039 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2040
d7b8ac82
PA
20412015-07-29 Pedro Alves <palves@redhat.com>
2042
2043 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2044 parameter into two new parameters, "inf_result" and "gdb_result".
2045 Expect inferior output and gdb output from $inferior_spawn_id and
2046 $gdb_spawn_id, respectively. Adjust all callers.
2047
789c3a0c
PA
20482015-07-29 Pedro Alves <palves@redhat.com>
2049
2050 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2051 of gdb_test_sequence.
2052
77e760c3
PA
20532015-07-29 Pedro Alves <palves@redhat.com>
2054
2055 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2056 (saw_spurious_output): Expect inferior output from
2057 $inferior_spawn_id. Use gdb_test_stdio.
2058
8396d2cd
PA
20592015-07-29 Pedro Alves <palves@redhat.com>
2060
2061 * gdb.base/dprintf.exp: Use standard_testfile. Change
2062 prepare_for_testing call.
2063 (srcfile): Don't set.
2064 (restart): New procedure.
2065 (test_dprintf): New procecure, use to continue over dprintfs.
2066 (test_call, test_agent): New procedures, tests moved here.
2067 Restart gdb and recreate dprintfs. Adjust expected output.
2068
2051d61f
PA
20692015-07-29 Pedro Alves <palves@redhat.com>
2070
2071 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2072
452397af
PA
20732015-07-29 Pedro Alves <palves@redhat.com>
2074
2075 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2076
8aed9555
PA
20772015-07-29 Pedro Alves <palves@redhat.com>
2078
2079 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2080 gdb_test_stdio.
2081
188a61b4
PA
20822015-07-29 Pedro Alves <palves@redhat.com>
2083
2084 * lib/gdb.exp (gdb_test_stdio): New procedure.
2085
12264a45
PA
20862015-07-29 Pedro Alves <palves@redhat.com>
2087
2088 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2089
23ffc893
PA
20902015-07-29 Pedro Alves <palves@redhat.com>
2091
2092 * gdb.base/call-signal-resume.exp: Remove check for
2093 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2094 * gdb.base/unwindonsignal.exp: Likewise.
2095 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2096 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2097
65566918
PA
20982015-07-29 Pedro Alves <palves@redhat.com>
2099
2100 * gdb.base/siginfo-addr.c (pass): New function.
2101 (handler): Call it iff si_addr is correct.
2102 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2103 Set a breakpoint at "pass" and continue to it.
2104
d60a9221
SDJ
21052015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2106
2107 * gdb.python/py-objfile.exp: Make some tests have unique names.
2108 * gdb.python/py-pp-registration.exp: Likewise.
2109
bde40b8f
PA
21102015-07-28 Pedro Alves <palves@redhat.com>
2111
2112 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2113
13e1dec8
SM
21142015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2115
2116 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2117
da33c9a7
SM
21182015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2119
2120 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2121
077836f7
PP
21222015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2123
2124 * gdb.base/gdb-sigterm-2.exp: New test.
2125
b8cc7b2e
DE
21262015-07-25 Doug Evans <xdje42@gmail.com>
2127
2128 Revert:
2129 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2130 (workers/%.worker, build-perf): New rule.
2131 (GDB_PERFTEST_MODE): New variable.
2132 (check-perf): Use it.
2133 (clean): Clean up gdb.perf parallel build subdirs.
2134 * lib/build-piece.exp: New file.
2135 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2136 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2137 name.
2138 (standard_temp_file): Ditto.
2139 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2140 of $GDB_PARALLEL.
2141
c8bd4544
DE
21422015-07-24 Doug Evans <dje@google.com>
2143
2144 * gdb.perf/lib/perftest/utils.py: New file.
2145 * gdb.perf/gm-hello.cc: New file.
2146 * gdb.perf/gm-pervasive-typedef.cc: New file.
2147 * gdb.perf/gm-pervasive-typedef.h: New file.
2148 * gdb.perf/gm-std.cc: New file.
2149 * gdb.perf/gm-std.h: New file.
2150 * gdb.perf/gm-use-cerr.cc: New file.
2151 * gdb.perf/gm-utils.h: New file.
2152 * gdb.perf/gmonster-null-lookup.py: New file.
2153 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2154 * gdb.perf/gmonster-print-cerr.py: New file.
2155 * gdb.perf/gmonster-ptype-string.py: New file.
2156 * gdb.perf/gmonster-runto-main.py: New file.
2157 * gdb.perf/gmonster-select-file.py: New file.
2158 * gdb.perf/gmonster1-null-lookup.exp: New file.
2159 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2160 * gdb.perf/gmonster1-print-cerr.exp: New file.
2161 * gdb.perf/gmonster1-ptype-string.exp: New file.
2162 * gdb.perf/gmonster1-runto-main.exp: New file.
2163 * gdb.perf/gmonster1-select-file.exp: New file.
2164 * gdb.perf/gmonster1.cc: New file.
2165 * gdb.perf/gmonster1.exp: New file.
2166 * gdb.perf/gmonster2-null-lookup.exp: New file.
2167 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2168 * gdb.perf/gmonster2-print-cerr.exp: New file.
2169 * gdb.perf/gmonster2-ptype-string.exp: New file.
2170 * gdb.perf/gmonster2-runto-main.exp: New file.
2171 * gdb.perf/gmonster2-select-file.exp: New file.
2172 * gdb.perf/gmonster2.cc: New file.
2173 * gdb.perf/gmonster2.exp: New file.
2174
6eab34f3
DE
21752015-07-24 Doug Evans <dje@google.com>
2176
2177 * gdb.perf/README: New file.
2178 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2179 * lib/gen-perf-test.exp: New file.
2180
63738bfd
DE
21812015-07-24 Doug Evans <dje@google.com>
2182
2183 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2184 (PerfTest::startup): New function.
2185 (PerfTest::run): Return result of calling body.
2186 (PerfTest::assemble): Rewrite.
2187 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2188 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2189 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2190 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2191 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2192
7b606f95
DE
21932015-07-24 Doug Evans <dje@google.com>
2194
2195 * lib/gdb.exp (clean_restart): Make executable optional.
2196
a97b16b8
DE
21972015-07-24 Doug Evans <dje@google.com>
2198
2199 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2200 compiler_info references.
2201 * gdb.cp/temargs.exp: Ditto.
2202 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2203 (get_compiler_info): Early exit if already computed. Set compiler_info
2204 to "unknown" if there was a problem.
2205 (test_compiler_info): Add function comment. Call get_compiler_info.
2206
35baa57f
DE
22072015-07-24 Doug Evans <dje@google.com>
2208
2209 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2210 (workers/%.worker, build-perf): New rule.
2211 (GDB_PERFTEST_MODE): New variable.
2212 (check-perf): Use it.
2213 (clean): Clean up gdb.perf parallel build subdirs.
2214 * lib/build-piece.exp: New file.
2215 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2216 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2217 name.
2218 (standard_temp_file): Ditto.
2219 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2220 of $GDB_PARALLEL.
2221
6ebea266
DE
22222015-07-24 Doug Evans <dje@google.com>
2223
2224 * lib/future.exp (gdb_default_target_compile): New option
2225 "early_flags".
2226 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2227 --as-needed.
2228
1e76a7e9
SDJ
22292015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2230
2231 * gdb.base/catch-syscall.exp: Call gdb_exit before
2232 gdb_skip_xml_test.
2233
5068630a
PA
22342015-07-24 Pedro Alves <palves@redhat.com>
2235
2236 * gdb.python/py-events.exp: Accept output between the stop event
2237 and the prompt.
2238 * gdb.python/py-evsignal.exp: Likewise.
2239 * gdb.python/py-evthreads.exp: Likewise.
2240
77598427
PA
22412015-07-24 Pedro Alves <palves@redhat.com>
2242
2243 PR gdb/18717
2244 * gdb.threads/non-ldr-exit.c: New file.
2245 * gdb.threads/non-ldr-exit.exp: New file.
2246
11e6c98f
YQ
22472015-07-24 Yao Qi <yao.qi@linaro.org>
2248
2249 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2250 restarting process.
2251
51aee833
YQ
22522015-07-24 Yao Qi <yao.qi@linaro.org>
2253
2254 * gdb.server/ext-restart.exp: New file.
2255
8cfe207c
YQ
22562015-07-24 Yao Qi <yao.qi@linaro.org>
2257
2258 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2259 argument options.
2260 * gdb.server/ext-wrapper.exp: New file.
2261
cc12ce38
DE
22622015-07-23 Doug Evans <dje@google.com>
2263
2264 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2265 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2266
d0d84780
PMR
22672015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2268
2269 * gdb.ada/var_arr_typedef.exp: New testcase.
2270 * gdb.ada/var_arr_typedef/pack.adb: New file.
2271 * gdb.ada/var_arr_typedef/pack.ads: New file.
2272 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2273
8b558f79
JB
22742015-07-20 Joel Brobecker <brobecker@adacore.com>
2275
2276 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2277
775a3298
JK
22782015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2279
2280 * gdb.arch/i386-biarch-core.exp: Replace istarget
2281 by "complete set gnutarget". Remove expectation for the "core-file"
2282 command.
2283
db1ff28b
JK
22842015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2285
2286 Revert the previous commit:
2287 Tests for validate symbol file using build-id.
2288
0a94970d
JK
22892015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2290
2291 Tests for validate symbol file using build-id.
2292 * gdb.base/solib-mismatch-lib.c: New file.
2293 * gdb.base/solib-mismatch-libmod.c: New file.
2294 * gdb.base/solib-mismatch.c: New file.
2295 * gdb.base/solib-mismatch.exp: New file.
2296
03346981
SL
22972015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2298
2299 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2300 nios2-*-linux*.
2301 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2302 * gdb.base/siginfo.exp: Likewise.
2303 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2304
42422cc7
PL
23052015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2306
2307 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2308 Move it to ...
2309 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2310 ... here.
2311 * gdb.trace/range-stepping.exp: Check that the target supports
2312 range stepping.
2313
cfa68bae
JK
23142015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2315
2316 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2317
8ffdba26
PA
23182015-07-14 Pedro Alves <palves@redhat.com>
2319
2320 * gdb.base/killed-outside.exp: New file.
2321 * gdb.base/killed-outside.c: New file.
2322
218a5a11
JK
23232015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2324
2325 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2326 (n at main): New.
2327 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2328
e03ed3c6
AA
23292015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2330
2331 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2332 infcall tests instead of setting up for KFAIL.
2333
485668e5
MM
23342015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2335
2336 * gdb.btrace/record_goto-step.exp: New.
2337
08464196
JK
23382015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2339
2340 PR compile/18484
2341 * gdb.compile/compile.c (struct struct_type): Add volatile to
2342 selffield's type.
2343 * gdb.compile/compile.exp
2344 (compile code struct_object.selffield = &struct_object): Skip further
2345 struct_object tests if this one xfails.
2346
bcf5c1d9
RC
23472015-07-08 Robert O'Callahan <robert@ocallahan.org>
2348
2349 PR exp/18617
2350 * gdb.trace/ax.exp: Add test.
2351
4931af25
YQ
23522015-07-07 Yao Qi <yao.qi@linaro.org>
2353
2354 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2355 instead of istarget "aarch64*-*-*".
2356 * gdb.arch/aarch64-fp.exp: Likewise.
2357 * gdb.base/float.exp: Likewise.
2358 * gdb.reverse/aarch64.exp: Likewise.
2359 * lib/gdb.exp (is_aarch64_target): New proc.
2360
9fcf688e
YQ
23612015-07-07 Yao Qi <yao.qi@linaro.org>
2362
2363 * lib/gdb.exp (is_aarch32_target): New proc.
2364 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2365 instead of "istarget "arm*-*-*"".
2366 * gdb.arch/arm-disp-step.exp: Likewise.
2367 * gdb.arch/thumb-bx-pc.exp: Likewise.
2368 * gdb.arch/thumb-prologue.exp: Likewise.
2369 * gdb.arch/thumb-singlestep.exp: Likewise.
2370 * gdb.base/disp-step-syscall.exp: Likewise.
2371 * gdb.base/float.exp: Likewise.
2372
fbd8d50d
YQ
23732015-07-07 Yao Qi <yao.qi@linaro.org>
2374
2375 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2376 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2377
71be1fdc
YQ
23782015-07-07 Yao Qi <yao.qi@linaro.org>
2379
2380 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2381 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2382 if it exists.
2383 * gdb.multi/multi-arch.exp: Likewise.
2384
3e221d36
SM
23852015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2386
2387 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2388 print.
2389
d441430b
YQ
23902015-07-07 Yao Qi <yao.qi@linaro.org>
2391
2392 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2393
06f810bd
MG
23942015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2395
2396 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2397 '[' and ']' characters.
2398
5e61e7c0
IB
23992015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2400
2401 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2402
28bf096c
PA
24032015-06-29 Pedro Alves <palves@redhat.com>
2404
2405 PR threads/18127
2406 * gdb.threads/hand-call-new-thread.c: New file.
2407 * gdb.threads/hand-call-new-thread.c: New file.
2408
ee93cd5e
KS
24092015-06-26 Keith Seitz <keiths@redhat.com>
2410 Doug Evans <dje@google.com>
2411
2412 PR 16253
2413 * gdb.cp/var-tag-2.cc: New file.
2414 * gdb.cp/var-tag-3.cc: New file.
2415 * gdb.cp/var-tag-4.cc: New file.
2416 * gdb.cp/var-tag.cc: New file.
2417 * gdb.cp/var-tag.exp: New file.
2418
fc637f04
PP
24192015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2420
2421 * gdb.base/history-duplicates.exp: New test.
2422
2e52ae68
PP
24232015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2424
2425 * gdb.base/completion.exp: Test the completion of the "focus"
2426 command.
2427
6e22494e
JK
24282015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2429
2430 * gdb.arch/amd64-prologue-skip.S: New file.
2431 * gdb.arch/amd64-prologue-skip.exp: New file.
2432
bf7b9cd9
SM
24332015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2434
2435 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2436 is_address_zero_readable check.
2437
201e8dfd
PB
24382015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2439
2440 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2441 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2442
5cd867b4
YQ
24432015-06-24 Yao Qi <yao.qi@linaro.org>
2444
2445 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2446 linux targets.
2447
4d7be007
YQ
24482015-06-24 Yao Qi <yao.qi@linaro.org>
2449
2450 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2451 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2452 * gdb.base/siginfo-thread.exp: Likewise.
2453
07fcd301
YQ
24542015-06-22 Yao Qi <yao.qi@linaro.org>
2455
2456 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2457
52042a00
YQ
24582015-06-22 Yao Qi <yao.qi@linaro.org>
2459
2460 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2461 aarch64*-*-*.
2462 (skip_hw_watchpoint_tests): Likewise.
2463
74bd41ce
PP
24642015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2465
2466 * gdb.base/gdbinit-history.exp: Test the interaction between
2467 setting GDBHISTSIZE and setting the history size via .gdbinit.
2468
bc460514
PP
24692015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2470
2471 PR gdb/16999
2472 * gdb.base/gdbhistsize-history.exp: New test.
2473
b58c513b
PP
24742015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2475
2476 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2477 with GDBHISTSIZE.
2478 * gdb.base/readline.exp: Likewise.
2479
92046791
YQ
24802015-06-17 Yao Qi <yao.qi@linaro.org>
2481
2482 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2483 line.
2484
2093d2d3
PP
24852015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2486
2487 * gdb.base/gdbinit-history.exp: Add test case to check that
2488 an unlimited history file does not get truncated on exit.
2489
e6c693af
AA
24902015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2491
2492 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2493 (VECTOR): New macro. Use it...
2494 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2495 ...for these typedefs.
2496 (int8, char1, int1, double1): New typedefs.
2497 (struct just_int2, struct two_int2): New structures.
2498 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2499 (add_structvecs, add_singlevecs): New functions.
2500 (main): Call add_some_intvecs twice.
2501 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2502 the compile and exit upon failure. Try compiling for the "native"
2503 architecture. Test inferior function calls with vector arguments
2504 and vector return value handling with "finish" and "return".
2505
c74f7d1c
JT
25062015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2507
2508 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2509 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2510 PE file.
2511 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2512
98aa42ee
AT
25132015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2514
2515 PR breakpoints/16465
2516 * gdb.mi/mi-dprintf-pending.c: New file.
2517 * gdb.mi/mi-dprintf-pending.exp: New test.
2518 * gdb.mi/mi-dprintf-pendshr.c: New file.
2519
7d73c23c 25202015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2521 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2522
2523 * gdb.arch/i386-mpx-map.c: New file.
2524 * gdb.arch/i386-mpx-map.exp: New File.
2525
25262015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2527
2528 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2529 * gdb.arch/i386-mpx.exp: Indentation fixed.
2530
25312015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2532
2533 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2534 function and improved indentation.
2535 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2536 gdb_test_multiple. Added additional tests to skip the test.
2537
25382015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2539
2540 * gdb.arch/i386-avx512.c: Change path in include file.
2541 * gdb.arch/i386-avx512.exp: Change include dir path
2542 compilation flag.
2543 * gdb.arch/i386-mpx.c: Change path in include file.
2544 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2545 flag.
2546
d5eba19a
JK
25472015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2548
2549 * gdb.compile/compile-print.exp (compile print *vararray@3)
2550 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2551
7f361056
JK
25522015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2553
2554 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2555 (do not keep jit in memory): ... this.
2556 (expect 5): Change it to ...
2557 (expect no 5): ... this.
2558
3b462ec2
SM
25592015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2560
2561 PR gdb/15564
2562 * gdb.mi/mi-detach.exp: New file.
2563
e0619de6
JK
25642015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2565
2566 PR symtab/18392
2567 * gdb.arch/amd64-tailcall-self.S: New file.
2568 * gdb.arch/amd64-tailcall-self.c: New file.
2569 * gdb.arch/amd64-tailcall-self.exp: New file.
2570
e970cb34
DB
25712015-05-28 Don Breazeal <donb@codesourcery.com>
2572
2573 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2574 tests for remote targets by checking is_target_gdbserver.
2575
b2e2f908
DE
25762015-05-27 Doug Evans <dje@google.com>
2577
2578 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2579 * gdb.dwarf2/opaque-type-lookup.c: New file.
2580 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2581
82c7be31
DE
25822015-05-26 Doug Evans <dje@google.com>
2583
2584 * gdb.cp/iostream.cc: New file.
2585 * gdb.cp/iostream.exp: New file.
2586
b4f54984
DE
25872015-05-26 Doug Evans <dje@google.com>
2588
2589 * gdb.dwarf2/dw2-op-call.exp: Update.
2590 * gdb.dwarf2/dw4-sig-types.exp: Update.
2591 * gdb.dwarf2/implptr.exp: Update.
2592 * gdb.mi/mi-cmd-param-changed.exp: Update.
2593
4ea6efe9
DE
25942015-05-26 Doug Evans <dje@google.com>
2595
2596 * gdb.python/py-lazy-string.c: New file.
2597 * gdb.python/py-lazy-string.exp: New file.
2598 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2599 (main): Update. Add estring3.
2600 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2601 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2602
f6bb7db3
YQ
26032015-05-26 Omair Javaid <omair.javaid@linaro.org>
2604 Yao Qi <yao.qi@linaro.org>
2605
2606 * gdb.reverse/aarch64.c: New.
2607 * gdb.reverse/aarch64.exp: New.
2608
a81bfbd0
OJ
26092015-05-26 Omair Javaid <omair.javaid@linaro.org>
2610
2611 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2612 (supports_reverse): Likewise.
2613
158bf1b4
PP
26142015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2615
2616 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2617 Use with_test_prefix.
2618
a0145030
AB
26192015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2620
2621 * gdb.base/completion.exp: Add test for completion of layout
2622 names.
2623
ebe3b578
AB
26242015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2625
2626 * lib/gdb.exp (skip_tui_tests): New proc.
2627 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2628
84204ed7
PA
26292015-05-19 Pedro Alves <palves@redhat.com>
2630
2631 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2632 Save the whole env array instead of just HOME. Unset HISTSIZE in
2633 the environment while testing. Restore whole environment
2634 afterwards.
2635
37442ce1
DE
26362015-05-16 Doug Evans <xdje42@gmail.com>
2637
2638 * gdb.guile/scm-ports.c: New file.
2639 * gdb.guile/scm-ports.exp: Add memory port tests.
2640
36de76f9
JK
26412015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2642
2643 * gdb.compile/compile-print.c: New file.
2644 * gdb.compile/compile-print.exp: New file.
2645
3a9558c4
JK
26462015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2647
2648 * gdb.compile/compile-ops.exp: Cast param to void.
2649 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2650 (compile code struct_object.selffield = &struct_object): Add xfail.
2651
aa715135
JG
26522015-05-15 Joel Brobecker <brobecker@adacore.com>
2653
2654 * gdb.ada/arr_enum_with_gap: New testcase.
2655
931e5bc3
JG
26562015-05-15 Joel Brobecker <brobecker@adacore.com>
2657
2658 * gdb.ada/byte_packed_arr: New testcase.
2659
9cd4d857
JB
26602015-05-15 Joel Brobecker <brobecker@adacore.com>
2661
2662 * gdb.ada/pckd_neg: New testcase.
2663
ebfd00d2
PP
26642015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2665
2666 PR gdb/17820
2667 * gdb.base/gdbinit-history.exp: New test.
2668 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2669 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2670
4c082a81
SC
26712015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2672
2673 * gdb.python/py-xmethods.cc: Enhance test case.
2674 * gdb.python/py-xmethods.exp: New tests.
2675 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2676 function.
2677 (B_indexoper): Likewise.
2678 (global_dm_list) : Add new xmethod worker functions.
2679
f7797074
SDJ
26802015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2681
2682 * gdb.base/coredump-filter.exp: Correctly unset
2683 "coredump_var_addr" array.
2684
a4674e4e
PA
26852015-05-08 Pedro Alves <palves@redhat.com>
2686
2687 * gdb.server/non-existing-program.exp: Unset spawn_id.
2688
df2eb078
SC
26892015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2690
2691 PR python/18291
2692 * gdb.python/py-xmethods.exp: Add tests.
2693
422349a3
YQ
26942015-05-08 Yao Qi <yao.qi@linaro.org>
2695
2696 PR gdb/18208
2697 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2698 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2699 function set_coredump_filter, and remove remote_exec call.
2700 Remove argument ipid. Callers update.
2701 (top level): Don't get inferior's PID.
2702
63fc80ce
AA
27032015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2704
2705 * gdb.base/watch_thread_num.exp: Skip test on targets without
2706 access watchpoints.
2707
80ad801e
PA
27082015-05-06 Pedro Alves <palves@redhat.com>
2709
2710 PR server/18081
2711 * gdb.server/non-existing-program.exp: New file.
2712
0fa7fe50
JB
27132015-05-05 Joel Brobecker <brobecker@adacore.com>
2714
2715 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2716
3ea89b92
PMR
27172015-05-05 Joel Brobecker <brobecker@adacore.com>
2718
2719 * gdb.ada/out_of_line_in_inlined: New testcase.
2720
87b8eff0
JB
27212015-05-05 Joel Brobecker <brobecker@adacore.com>
2722
2723 * gdb.ada/var_rec_arr: New testcase.
2724
5fccc635
YQ
27252015-04-30 Yao Qi <yao.qi@linaro.org>
2726
2727 * gdb.base/break-idempotent.exp: If
2728 skip_hw_watchpoint_multi_tests returns true, skip the tests
2729 on "rwatch" and "awatch".
2730
42d38f42
YQ
27312015-04-30 Yao Qi <yao.qi@linaro.org>
2732
2733 * gdb.base/relativedebug.exp: Invoke gdb command
2734 "info sharedlibrary", and if libc.so doesn't have debug info,
2735 skip the test.
2736
2ce1cdbf
DE
27372015-04-29 Doug Evans <dje@google.com>
2738
2739 * gdb.python/py-xmethods.exp: Add ptype tests.
2740 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2741 get_result_type method.
2742
f24a38c5
LM
27432015-04-29 Luis Machado <lgustavo@codesourcery.com>
2744
2745 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2746 the target does not support hardware watchpoints.
2747
ecbf2b3c
LM
27482015-04-29 Luis Machado <lgustavo@codesourcery.com>
2749
2750 * gdb.base/break-always.exp: Abort testing if writing to memory
2751 causes an error.
2752
34f5f757
DE
27532015-04-28 Doug Evans <dje@google.com>
2754
2755 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2756 * gdb.python/py-pp-registration.exp: ... here. New file.
2757 * gdb.python/py-pp-registration.c: New file.
2758 * gdb.python/py-pp-registration.py: New file.
2759
69b4374a
DE
27602015-04-28 Doug Evans <dje@google.com>
2761
2762 * gdb.python/py-bad-printers.c: New file.
2763 * gdb.python/py-bad-printers.py: New file.
2764 * gdb.python/py-bad-printers.exp: New file.
2765
59fb7612
SS
27662015-04-28 Sasha Smundak <asmundak@google.com>
2767
2768 * gdb.python/py-type.exp: New test.
2769
2631b16a
AW
27702015-04-28 Andy Wingo <wingo@igalia.com>
2771
2772 * gdb.python/py-parameter.exp:
2773 * gdb.guile/scm-parameter.exp: Escape the path that we are
2774 matching against, as it might contain characters that are special
2775 to regular expressions.
2776
460efde1
JB
27772015-04-27 Joel Brobecker <brobecker@adacore.com>
2778
2779 * gdb.ada/rec_comp: New testcase.
2780
2d369d8e
SDJ
27812015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2782
2783 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2784 before using it.
2785
cf75d6c3
AB
27862015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2787
2788 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2789 new tests for verilog output.
2790
8dbe7ca5
YQ
27912015-04-24 Yao Qi <yao.qi@linaro.org>
2792
2793 * boards/remote-gdbserver-on-localhost.exp: New file.
2794
4ef9fb2f
PA
27952015-04-23 Pedro Alves <palves@redhat.com>
2796
2797 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2798 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2799 "end of file", remove $inferior_spawn_id from the indirect list.
2800
0a803169
PA
28012015-04-23 Pedro Alves <palves@redhat.com>
2802
2803 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2804
749ef8f8
PA
28052015-04-23 Pedro Alves <palves@redhat.com>
2806
2807 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2808 on $any_spawn_id instead of only on $gdb_spawn_id.
2809
8aae4344
PM
28102015-04-21 Pierre Muller <muller@sourceware.org>
2811
2812 PR pascal/17815
2813 * lib/pascal.exp (gpc_compile): Add new option "class".
2814 (fpc_compile): Likewise.
2815 * gdb.pascal/case-insensitive-symbols.pas: New file.
2816 * gdb.pascal/case-insensitive-symbols.exp: New file.
2817
1586c8fb
GB
28182015-04-20 Gary Benson <gbenson@redhat.com>
2819
2820 * gdb.base/attach.exp: Fix three extended remote failures.
2821
1b6e6f5c
GB
28222015-04-17 Gary Benson <gbenson@redhat.com>
2823
2824 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2825 the main executable over the remote protocol.
2826
e797481d
PA
28272015-04-16 Pedro Alves <palves@redhat.com>
2828
2829 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2830 a new gdbserver if gdbserver_reconnect_p is set.
2831
1ca99c42
PA
28322015-04-16 Pedro Alves <palves@redhat.com>
2833
2834 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2835 is set, don't exit gdbserver.
2836
af9fd6f8
AA
28372015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2838
2839 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2840 appropriate .insn, such that an older assembler can be used.
2841 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2842 the z/Architecture instruction set on 31-bit targets as well.
2843
04ff1e61
AA
28442015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2845
2846 * gdb.go/handcall.exp: Remove all logic related to the first
2847 breakpoint and rely on go_runto_main instead.
2848 * gdb.go/strings.exp: Likewise.
2849 * gdb.go/unsafe.exp: Likewise.
2850 * gdb.go/hello.exp: Likewise. Also rename the remaining
2851 breakpoint marker to "breakpoint 1".
2852 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2853 * gdb.go/strings.go: Likewise.
2854 * gdb.go/unsafe.go: Likewise.
2855 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2856 "set breakpoint 2 here" and rename the remaining breakpoint marker
2857 to "breakpoint 1".
2858
40d2f8d6
SM
28592015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2860
2861 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2862 if itertools.imap is not present.
2863 * gdb.python/py-objfile.exp: Add parentheses.
2864 * gdb.python/py-type.exp: Same.
2865 * gdb.python/py-unwind-maint.py: Same.
2866
8cbc97c6
YQ
28672015-04-15 Yao Qi <yao.qi@linaro.org>
2868
2869 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2870 of ":$ptr_size" and set its form explicitly.
2871
45fd756c
YQ
28722015-04-15 Pedro Alves <palves@redhat.com>
2873 Yao Qi <yao.qi@linaro.org>
2874
2875 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2876 timeout by factor of 4.
2877 (test_regular_watch): Likewise.
2878 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2879 * gdb.reverse/sigall-reverse.exp: Likewise.
2880 * gdb.reverse/until-precsave.exp: Likewise.
2881 * lib/gdb.exp (with_timeout_factor): New proc.
2882 (gdb_expect): Move some code to ...
2883 (get_largest_timeout): ... here. New procedure.
2884
9e811bc3
LM
28852015-04-14 Luis Machado <lgustavo@codesourcery.com>
2886
2887 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2888
0ff6fcb2
LM
28892015-04-13 Luis Machado <lgustavo@codesourcery.com>
2890
2891 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2892 to write to the .text section.
2893
7578d5f7
LM
28942015-04-13 Luis Machado <lgustavo@codesourcery.com>
2895
2896 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2897 Handle the case of targets that do not provide PID information.
2898
2efe15c4
YQ
28992015-04-13 Yao Qi <yao.qi@linaro.org>
2900
2901 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2902 and use expect instead of gdb_expect.
2903
8cd8f2f8
SDJ
29042015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2905
2906 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2907 "coredump_var_addr" to avoid naming conflict with other testcases.
2908
9ee41772
PA
29092015-04-10 Pedro Alves <palves@redhat.com>
2910
2911 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2912 gdb_test_sequence and gdb_assert.
2913
07473109
PA
29142015-04-10 Pedro Alves <palves@redhat.com>
2915
2916 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2917 test messages that don't include the breakpoint address.
2918
de3db44c
YQ
29192015-04-10 Yao Qi <yao.qi@linaro.org>
2920
2921 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2922 false for some offset and width combinations which aren't
2923 supported by linux kernel.
2924
c79d856c
PA
29252015-04-10 Pedro Alves <palves@redhat.com>
2926
2927 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2928 procedure, factored out from ...
2929 (top level): ... here. Add "set displaced-stepping" testing axis.
2930 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2931 parameter "displaced". Use it.
2932 (top level): Use foreach and add "set displaced-stepping" testing
2933 axis.
2934
ebc90b50
PA
29352015-04-10 Pedro Alves <palves@redhat.com>
2936
2937 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2938 Remove comment.
2939 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2940 both the address of the instruction that triggers the watchpoint
2941 and the address of the instruction immediately after, and use
2942 those addresses for the test. Fix comment.
2943
8f572e5c
PA
29442015-04-10 Pedro Alves <palves@redhat.com>
2945
2946 * gdb.base/sigstep.exp (breakpoint_to_handler)
2947 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2948 Test "backtrace" in handler.
2949 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2950 (top level): Add new "displaced" test axis to
2951 breakpoint_to_handler, breakpoint_to_handler_entry and
2952 breakpoint_over_handler.
2953
8d707a12
PA
29542015-04-10 Pedro Alves <palves@redhat.com>
2955
2956 PR gdb/18216
2957 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2958
ef713951
YQ
29592015-04-10 Yao Qi <yao.qi@linaro.org>
2960
2961 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2962 (test_add_rn_pc): New function.
2963 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2964 (top level): Invoke test_add_rn_pc.
2965
906d60cf
PA
29662015-04-10 Pedro Alves <palves@redhat.com>
2967
2968 PR gdb/13858
2969 * gdb.base/step-over-no-symbols.exp: New file.
2970
f2983cc3
AW
29712015-04-09 Andy Wingo <wingo@igalia.com>
2972
2973 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2974 after the Python tests.
2975
6d62641c
SDJ
29762015-04-08 Keith Seitz <keiths@redhat.com>
2977
2978 PR python/16699
2979 * gdb.python/py-completion.exp: New tests for completion.
2980 * gdb.python/py-completion.py (CompleteLimit1): New class.
2981 (CompleteLimit2): Likewise.
2982 (CompleteLimit3): Likewise.
2983 (CompleteLimit4): Likewise.
2984 (CompleteLimit5): Likewise.
2985 (CompleteLimit6): Likewise.
2986 (CompleteLimit7): Likewise.
2987
f3770638
PA
29882015-04-08 Pedro Alves <palves@redhat.com>
2989
2990 PR gdb/18214
2991 PR gdb/18216
2992 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2993 function.
2994 (main): Install it as SIGUSR1 handler.
2995 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2996 parameter. Always use "setup" as prefix. Toggle "set
2997 displaced-stepping" off/on depending on global. Don't switch to
2998 thread 1 here.
2999 (top level): Add displaced stepping "off/on" test axis. Update
3000 "setup" calls. Wrap each subtest with with_test_prefix. Test
3001 continuing with a queued signal in each thread.
3002
4496bed7
PA
30032015-04-08 Pedro Alves <palves@redhat.com>
3004
3005 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3006 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3007 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3008 Return early if running to main fails.
3009 * gdb.trace/while-stepping.exp: Likewise.
3010
b97fde92
PA
30112015-04-07 Pedro Alves <palves@redhat.com>
3012
3013 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3014 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3015 interact with inferior program.
3016
f71c18e7
PA
30172015-04-07 Pedro Alves <palves@redhat.com>
3018
3019 * lib/gdb.exp (inferior_spawn_id): New global.
3020 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3021 spawn id after processing the user code.
3022 (default_gdb_start): Set inferior_spawn_id.
3023 (send_inferior): New procedure.
3024 * lib/gdbserver-support.exp (gdbserver_start): Set
3025 inferior_spawn_id.
3026 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3027
6423214f
PA
30282015-04-07 Pedro Alves <palves@redhat.com>
3029
3030 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3031 * lib/gdbserver-support.exp (gdbserver_start): Make
3032 $server_spawn_id global.
3033 (gdbserver_start): Don't wait for gdbserver's spawn id with
3034 expect_background.
3035 (close_gdbserver): New procedure.
3036 (gdb_exit): Rename the default version and reimplement.
3037
71c0ee8c
PA
30382015-04-07 Pedro Alves <palves@redhat.com>
3039
72f4393d 3040 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
3041 append the substituted item, not the original item.
3042
203bc29b
PA
30432015-04-07 Pedro Alves <palves@redhat.com>
3044
3045 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3046 gdb_expect.
3047
508a3ddf
PA
30482015-04-07 Pedro Alves <palves@redhat.com>
3049
3050 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3051 output appearing once only.
3052
9f6dbe2b
PA
30532015-04-07 Pedro Alves <palves@redhat.com>
3054
3055 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3056 that doesn't expect anything. Return early if running to main
3057 fails.
3058
337532fa
YQ
30592015-04-07 Yao Qi <yao.qi@linaro.org>
3060
3061 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3062 (child_function): Call alarm.
3063 (main): Move call to alarm into the loop.
3064 * gdb.threads/non-stop-fair-events.exp: Build program with
3065 -DTIMEOUT=$timeout.
3066
01b622d4
DE
30672015-04-06 Doug Evans <xdje42@gmail.com>
3068
3069 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3070 Fix dest parameter to board_info.
3071 (fpc_compile): Ditto.
3072 (gdb_compile_pascal): Rename dest arg to destfile.
3073
961f4160
PMR
30742015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3075
3076 * gdb.ada/funcall_ref.exp: New file.
3077 * gdb.ada/funcall_ref/foo.adb: New file.
3078
cafda597
YQ
30792015-04-02 Yao Qi <yao.qi@linaro.org>
3080
3081 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3082 is remote.
3083
fed040c6
GB
30842015-04-02 Gary Benson <gbenson@redhat.com>
3085
3086 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3087
d11916aa
SS
30882015-04-01 Sasha Smundak <asmundak@google.com>
3089
3090 * gdb.python/py-unwind-maint.c: New file.
3091 * gdb.python/py-unwind-maint.exp: New test.
3092 * gdb.python/py-unwind-maint.py: New file.
3093 * gdb.python/py-unwind.c: New file.
3094 * gdb.python/py-unwind.exp: New test.
3095 * gdb.python/py-unwind.py: New test.
3096
a1471180
PA
30972015-04-01 Pedro Alves <palves@redhat.com>
3098
3099 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3100 to fail instead of non-existent $test.
3101
0bbeccb1
PA
31022015-04-01 Pedro Alves <palves@redhat.com>
3103
3104 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3105 GDBFLAGS if not empty.
3106
3c724c8c
PMR
31072015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3108
3109 * gdb.ada/complete.exp: Remove "multi_line".
3110 * gdb.ada/info_exc.exp: Remove "multi_line".
3111 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3112 * gdb.ada/ptype_field.exp: Remove "multi_line".
3113 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3114 * gdb.ada/tagged.exp: Remove "multi_line".
3115 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3116 [multi_line ...]
3117 * gdb.btrace/delta.exp: Likewise.
3118 * gdb.btrace/exception.exp: Likewise.
3119 * gdb.btrace/function_call_history.exp: Likewise.
3120 * gdb.btrace/instruction_history.exp: Likewise.
3121 * gdb.btrace/nohist.exp: Likewise.
3122 * gdb.btrace/record_goto.exp: Likewise.
3123 * gdb.btrace/segv.exp: Likewise.
3124 * gdb.btrace/stepi.exp: Likewise.
3125 * gdb.btrace/tailcall.exp: Likewise.
3126 * gdb.btrace/unknown_functions.exp: Likewise.
3127 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3128 * lib/gdb.exp: Add the "multi_line" helper.
3129
4eec2deb
PA
31302015-04-01 Pedro Alves <palves@redhat.com>
3131
3132 * gdb.threads/tid-reuse.c: New file.
3133 * gdb.threads/tid-reuse.exp: New file.
3134
df8411da
SDJ
31352015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3136
3137 PR corefiles/16092
3138 * gdb.base/coredump-filter.c: New file.
3139 * gdb.base/coredump-filter.exp: Likewise.
3140
6ef37366
PM
31412015-03-27 Petr Machata <pmachata@redhat.com>
3142
3143 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3144 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3145 (Dwarf::assemble): Initialize them.
3146 (Dwarf::lines): New function.
3147
7ec911b0
JT
31482015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3149
3150 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3151 SYMBOL_PREFIX for x86_64-*-cygwin.
3152
ff908ebf
AW
31532015-03-26 Andy Wingo <wingo@igalia.com>
3154
3155 PR symtab/18148
3156 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3157 const_value but not a location.
3158 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3159 location defined in non-main CUs are visible.
3160
6d5f0679
YQ
31612015-03-26 Yao Qi <yao.qi@linaro.org>
3162
3163 PR testsuite/18139
3164 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3165 Add a line number entry for the same line.
3166 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3167 Add a line number entry for the same line.
3168
2898689b
YQ
31692015-03-26 Yao Qi <yao.qi@linaro.org>
3170
3171 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3172 .int 0.
3173 (func): Likewise. Add .Lfunc_1 label.
3174 Use .Lfunc_1 label.
3175 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3176 .int 0.
3177 (func): Likewise.
3178 Use .Lfunc_1 label.
3179
85180498
YQ
31802015-03-26 Yao Qi <yao.qi@linaro.org>
3181
3182 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3183 Call gdb_compile instead to compile each .s files without debug
3184 information.
3185
8aa08a8d
YQ
31862015-03-26 Yao Qi <yao.qi@linaro.org>
3187
3188 * gdb.base/savedregs.exp (process_saved_regs): Make
3189 "Saved registers:" optional in the pattern.
3190
66849923
MM
31912015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3192
3193 * gdb.btrace/next.exp: Merged into step.exp.
3194 * gdb.btrace/finish.exp: Merged into step.exp.
3195 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3196 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3197 "record goto" and checking the exact replay position.
3198 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3199 check for "Recording format" in "info record" output.
3200 * gdb.btrace/record_goto.exp: Choose test file based on target.
3201 * gdb.btrace/x86-record_goto.S: Renamed into ...
3202 * gdb.btrace/x86_64-record_goto.S: ... this.
3203 * gdb.btrace/i686-record_goto.S: New.
3204 * gdb.btrace/x86-tailcall.S: Renamed into ...
3205 * gdb.btrace/x86_64-tailcall.S: ... this.
3206 * gdb.btrace/i686-tailcall.S: New.
3207 * gdb.btrace/x86-tailcall.c: Renamed into ...
3208 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3209 separate statements. Update test.
3210 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3211 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3212 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3213 * gdb.btrace/tailcall.exp: Choose test file based on target.
3214 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3215
11cc1b74
MM
32162015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3217
3218 * gdb.btrace/exception.exp: Increase BTS buffer size.
3219
a25d8bf9
PA
32202015-03-24 Pedro Alves <palves@redhat.com>
3221
3222 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3223
856e7dd6
PA
32242015-03-24 Pedro Alves <palves@redhat.com>
3225
3226 * gdb.threads/schedlock.exp (test_step): No longer expect that
3227 "set scheduler-locking step" with "next" over a function call runs
3228 threads unlocked.
3229
ad235a41
AT
32302015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3231
3232 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3233
15630549
AT
32342015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3235
3236 PR breakpoints/16466
3237 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3238 * gdb.mi/mi-pending.c (thread_func): New function.
3239 (int main): Add threading support required.
3240 * gdb.mi/mi-pending.exp: Add tests for this issue.
3241 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3242 (pendfunc2): Remove stdio dependency.
3243 * gdb.mi/mi-pendshr2.c: New file.
3244
693dca06
KS
32452015-03-23 Keith Seitz <keiths@redhat.com>
3246
3247 * gdb.linespec/keywords.c: New file.
3248 * gdb.linespec/keywords.exp: New file.
3249
7e993ebf
KS
32502015-03-23 Keith Seitz <keiths@redhat.com>
3251
3252 PR gdb/18021
3253 * gdb.dwarf2/staticvirtual.exp: New test.
3254
bc23328c
JK
32552015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3256
3257 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3258 * README: Remove HP-UX and gdb.hp.
3259 (configuration):
3260 * configure: Regenerate.
3261 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3262 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3263 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3264 gdb.hp/gdb.defects/Makefile.
3265 * gdb.hp/Makefile.in: File deleted.
3266 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3267 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3268 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3269 * gdb.hp/gdb.aCC/run.c: File deleted.
3270 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3271 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3272 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3273 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3274 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3275 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3276 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3277 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3278 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3279 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3280 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3281 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3282 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3283 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3284 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3285 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3286 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3287 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3288 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3289 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3290 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3291 * gdb.hp/gdb.compat/average.c: File deleted.
3292 * gdb.hp/gdb.compat/sum.c: File deleted.
3293 * gdb.hp/gdb.compat/xdb.c: File deleted.
3294 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3295 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3296 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3297 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3298 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3299 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3300 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3301 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3302 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3303 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3304 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3305 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3306 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3307 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3308 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3309 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3310 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3311 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3312 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3313 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3314 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3315 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3316 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3317 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3318 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3319 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3320 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3321 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3322 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3323 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3324 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3325 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3326 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3327 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3328 * gdb.hp/tools/odump: File deleted.
3329
8bf3b159
PA
33302015-03-19 Pedro Alves <palves@redhat.com>
3331
3332 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3333 (saw_thread_3): New globals.
3334 (top level): Increment them when an event for the corresponding
3335 thread is seen.
3336 (no thread starvation): New test.
3337
eb54c8bf
PA
33382015-03-19 Pedro Alves <palves@redhat.com>
3339
3340 * gdb.threads/continue-pending-status.c: New file.
3341 * gdb.threads/continue-pending-status.exp: New file.
3342
32d2e5d6
PA
33432015-03-18 Pedro Alves <palves@redhat.com>
3344
3345 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3346 Use gdb_is_target_remote instead of is_remote. Use
3347 gdb_test_multiple instead of gdb_expect. Exit early if
3348 gdb_test_multiple hits its internal matches. Tighten stepi tests
3349 expected output. Fail on exit with any signal, instead of just
3350 SIGILL.
3351
f68f11b7
YQ
33522015-03-18 Yao Qi <yao.qi@linaro.org>
3353
3354 PR tdep/18107
3355 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3356 variable.
3357 * gdb.base/catch-syscall.exp: Don't skip it on
3358 aarch64*-*-linux* target. Remove elements in all_syscalls.
3359 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3360 target.
3361 (setup_all_syscalls): New proc.
3362
ca5fd19b
YQ
33632015-03-16 Yao Qi <yao.qi@linaro.org>
3364
3365 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3366 (top level): Skip tests if valid_addr_p returns false for
3367 $cmd1 or $cmd2.
3368
85642ba0
AW
33692015-03-11 Andy Wingo <wingo@igalia.com>
3370
3371 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3372
e03f9645
YQ
33732015-03-11 Yao Qi <yao.qi@linaro.org>
3374
3375 * gdb.base/catch-syscall.exp: Fix typo in comments.
3376
5d0962b2
YQ
33772015-03-11 Yao Qi <yao.qi@linaro.org>
3378
3379 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3380
b2df3cef
PA
33812015-03-09 Pedro Alves <palves@redhat.com>
3382
3383 * dg-extract-results.py: Delete.
3384
ef878e53
PA
33852015-03-09 Pedro Alves <palves@redhat.com>
3386
3387 Merge dg-extract-results.sh from GCC upstream (r218843).
3388
3389 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3390 * dg-extract-results.sh: Use --text with grep to avoid issues with
3391 binary files. Fall back to cat -v, if that doesn't work.
3392
9494d219
PA
33932015-03-05 Pedro Alves <palves@redhat.com>
3394
3395 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3396
a8d9763a
SM
33972015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3398
3399 * lib/mi-support.exp (mi_expect_interrupt): Accept
3400 alternative event for when in all-stop mode.
3401
be9957b8
PA
34022015-03-04 Pedro Alves <palves@redhat.com>
3403
3404 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3405
d57be0f4 34062015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3407
3408 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3409
c214c7cf
AA
34102015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3411
3412 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3413 regexps for GDB's current line display, accept a hex address
3414 preceding the line number.
3415
6d74a497
AA
34162015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3417
3418 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3419 the 'arch1' variable for "s390*-linux*" targets.
3420
511aee7c
PA
34212015-03-04 Pedro Alves <palves@redhat.com>
3422
3423 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3424 (main): Pass missing retval argument to pthread_join call.
3425
95e50b27
PA
34262015-03-02 Pedro Alves <palves@redhat.com>
3427
3428 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3429 (top level): Call do_test with non-stop as well.
3430
28054d69
PA
34312015-03-02 Pedro Alves <palves@redhat.com>
3432
3433 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3434 -1.
3435
4fa5d7b4
AA
34362015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3437
3438 * gdb.arch/s390-vregs.exp: New test.
3439 * gdb.arch/s390-vregs.S: New file.
3440
97c18565
PA
34412015-02-27 Pedro Alves <palves@redhat.com>
3442
3443 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3444 call to catch_command_errors.
3445 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3446 catch_command_errors.
3447
a37bfa30
PA
34482015-02-27 Pedro Alves <palves@redhat.com>
3449
3450 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3451 "true" for boolean result.
3452 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3453 prototype of main.
3454
6f98576f
PA
34552015-02-27 Pedro Alves <palves@redhat.com>
3456
3457 * lib/unbuffer_output.c: New file.
3458 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3459 (main): Call gdb_unbuffer_output.
3460
eba5ab56
YQ
34612015-02-27 Yao Qi <yao.qi@linaro.org>
3462
3463 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3464 target.
3465
0def5aaa
DE
34662015-02-26 Doug Evans <dje@google.com>
3467
3468 * gdb.cp/class2.cc (Dbase, D): New classes.
3469 (main): New local delta.
3470 * gdb.cp/class2.exp: Test printing delta.
3471 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3472 (dynbar): New global.
3473 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3474
081a1c2c
JK
34752015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3476
3477 * gdb.compile/compile-ifunc.c: New file.
3478 * gdb.compile/compile-ifunc.exp: New file.
3479
2f41223f
AT
34802015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3481
3482 * gdb.base/structs.exp: Check for correct struct on finish.
3483
03eddd80
YQ
34842015-02-26 Yao Qi <yao.qi@linaro.org>
3485
3486 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3487 is zero.
3488
80c57053
JK
34892015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3490
3491 * gdb.arch/cordic.ko.bz2: New file.
3492 * gdb.arch/cordic.ko.debug.bz2: New file.
3493 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3494
21613c12
YQ
34952015-02-25 Yao Qi <yao.qi@linaro.org>
3496
3497 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3498 aarch64*-*-* target.
3499
d8b901ed
PA
35002015-02-23 Pedro Alves <palves@redhat.com>
3501
3502 * lib/gdb.exp (delete_breakpoints): Rewrite using
3503 gdb_test_multiple.
3504
e5b85ead
PA
35052015-02-23 Pedro Alves <palves@redhat.com>
3506
3507 * gdb.base/info-os.c: Include stdlib.h.
3508
85c3a371
DE
35092015-02-22 Doug Evans <xdje42@gmail.com>
3510
3511 PR symtab/17855
3512 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3513 is read after symbols have been re-read.
3514 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3515 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3516
96553a0c
DE
35172015-02-21 Doug Evans <dje@google.com>
3518
3519 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3520
97a0c697
JK
35212015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3522
3523 PR corefiles/17808
3524 * gdb.arch/i386-biarch-core.core.bz2: New file.
3525 * gdb.arch/i386-biarch-core.exp: New file.
3526
a47cd6e9
PA
35272015-02-21 Pedro Alves <palves@redhat.com>
3528
3529 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3530 runto_main fails.
3531
c5facdc4
PA
35322015-02-20 Pedro Alves <palves@redhat.com>
3533
3534 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3535 info probes.
3536
2db9a427
PA
35372015-02-20 Pedro Alves <palves@redhat.com>
3538
3539 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3540
60fb7e9e
PA
35412015-02-20 Pedro Alves <palves@redhat.com>
3542
3543 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3544 clean_restart before gdb_target_supports_trace.
3545
5c5019c2
PA
35462015-02-20 Pedro Alves <palves@redhat.com>
3547
3548 PR threads/18006
3549 * gdb.threads/clone-thread_db.c: New file.
3550 * gdb.threads/clone-thread_db.exp: New file.
3551
c9587f88
AT
35522015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3553
3554 PR breakpoints/16812
3555 * gdb.base/catch-gdb-caused-signals.c: New file.
3556 * gdb.base/catch-gdb-caused-signals.exp: New file.
3557
f6a88844
JM
35582015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3559
3560 * configure: Regenerated.
3561 * configure.ac: Use GDB_AC_TRANSFORM.
3562 * aclocal.m4: sinclude ../transform.m4.
3563
497c491b
JM
35642015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3565
3566 * lib/dtrace.exp: New file.
3567 * gdb.base/dtrace-probe.exp: Likewise.
3568 * gdb.base/dtrace-probe.d: Likewise.
3569 * gdb.base/dtrace-probe.c: Likewise.
3570 * lib/pdtrace.in: Likewise.
3571 * configure.ac: Output variables with the transformed names of
3572 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3573 * configure: Regenerated.
3574
03e98035
JM
35752015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3576
3577 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3578 expected message when trying to access $_probe_* convenience
3579 variables while not on a probe.
3580
63cc30e9
JK
35812015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3582
3583 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3584
0703599a
PA
35852015-02-11 Pedro Alves <pedro@codesourcery.com>
3586
3587 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3588 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3589
7e60a48e
DE
35902015-02-10 Doug Evans <xdje42@gmail.com>
3591
3592 * lib/gdb.exp (gdb_load): Always return a result.
3593
01b088bc
PA
35942015-02-10 Pedro Alves <palves@redhat.com>
3595
3596 * gdb.threads/signal-sigtrap.c: New file.
3597 * gdb.threads/signal-sigtrap.exp: New file.
3598
b05ec7a5
AT
35992015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3600
3601 * gdb.trace/no-attach-trace.c: New file.
3602 * gdb.trace/no-attach-trace.exp: New file.
3603
a2c2acaf
MW
36042015-02-09 Mark Wielaard <mjw@redhat.com>
3605
3606 * gdb.dwarf2/atomic.c: New file.
3607 * gdb.dwarf2/atomic-type.exp: Likewise.
3608
31fd9caa
MM
36092015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3610
3611 * gdb.btrace/buffer-size.exp: Update "info record" output.
3612 * gdb.btrace/delta.exp: Update "info record" output.
3613 * gdb.btrace/enable.exp: Update "info record" output.
3614 * gdb.btrace/finish.exp: Update "info record" output.
3615 * gdb.btrace/instruction_history.exp: Update "info record" output.
3616 * gdb.btrace/next.exp: Update "info record" output.
3617 * gdb.btrace/nexti.exp: Update "info record" output.
3618 * gdb.btrace/step.exp: Update "info record" output.
3619 * gdb.btrace/stepi.exp: Update "info record" output.
3620 * gdb.btrace/nohist.exp: Update "info record" output.
3621
d33501a5
MM
36222015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3623
3624 * gdb.btrace/buffer-size: New.
3625
f4abbc16
MM
36262015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3627
3628 * gdb.btrace/delta.exp: Update "info record" output.
3629 * gdb.btrace/enable.exp: Update "info record" output.
3630 * gdb.btrace/finish.exp: Update "info record" output.
3631 * gdb.btrace/instruction_history.exp: Update "info record" output.
3632 * gdb.btrace/next.exp: Update "info record" output.
3633 * gdb.btrace/nexti.exp: Update "info record" output.
3634 * gdb.btrace/step.exp: Update "info record" output.
3635 * gdb.btrace/stepi.exp: Update "info record" output.
3636 * gdb.btrace/nohist.exp: Update "info record" output.
3637
b9d61307
SM
36382015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3639
3640 PR gdb/15678
3641 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3642
e584fdbc
PA
36432015-02-06 Pedro Alves <palves@redhat.com>
3644
3645 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3646 macro.
3647 (seconds_left, again): New globals.
3648 (main): Wait seconds_left in a 1-second sleep loop instead of
3649 sleeping 180 seconds. If 'again' is set, reset the seconds
3650 counter.
3651 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3652 'again' in the inferior before detaching. Print the seconds left.
3653 (options): New global.
3654 (top level): Build program with -DTIMEOUT=$timeout.
3655
77f41761
PA
36562015-02-06 Pedro Alves <palves@redhat.com>
3657
3658 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3659 determine how many seconds to pass to 'alarm'.
3660 * gdb.base/gdb-sigterm.exp (top level): Build program with
3661 -DTIMEOUT=$timeout.
3662 (do_test): Return success/failure indication. Add more verbose
3663 logging. Don't fail if 200 single steps are seen. Instead, fail
3664 when the test times out.
3665 (passes): New global.
3666 (top level): Break the testing loop if testing fails on any
3667 iteration. Use gdb_assert.
3668
b9394193
DB
36692015-02-04 Don Breazeal <donb@codesourcery.com>
3670
3671 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3672 and initialize them.
3673 (ipc_cleanup): New function.
3674 (main): Don't declare shmid, semid, and msqid. Add a call to
3675 atexit so that we call ipc_cleanup on exit.
3676
42d9e528
PA
36772015-02-04 Pedro Alves <palves@redhat.com>
3678
3679 * boards/native-extended-gdbserver.exp: Remove any target variant
3680 specifications from the board name before clearing the isremote
3681 flag from board_info.
3682
ae6ae975
DE
36832015-01-31 Doug Evans <xdje42@gmail.com>
3684
3685 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3686
cfb069a8
GB
36872015-01-31 Gary Benson <gbenson@redhat.com>
3688
3689 * gdb.base/completion.exp: Disable completion limiting for
3690 existing tests. Add new tests to check completion limiting.
3691 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3692
5dd31d79
DE
36932015-01-31 Doug Evans <xdje42@gmail.com>
3694
3695 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3696
9f050062
DE
36972015-01-31 Doug Evans <xdje42@gmail.com>
3698
3699 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3700 entries. Duplicate file section script entries.
3701 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3702 inlined entries. Add test for safe-path rejection.
3703 * gdb.python/py-section-script.c: Add duplicate inlined section script
3704 entries. Duplicate file section script entries.
3705 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3706 inlined entries. Add test for safe-path rejection.
3707
df25ebbd
JB
37082015-01-29 Joel Brobecker <brobecker@adacore.com>
3709
3710 * gdb.ada/disc_arr_bound: New testcase.
3711
4a0ca9ec
JB
37122015-01-29 Joel Brobecker <brobecker@adacore.com>
3713
3714 * gdb.ada/mi_var_array: New testcase.
3715
3a8b707a
DE
37162015-01-27 Doug Evans <dje@google.com>
3717
3718 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3719 Add test for objfile.filename, objfile.username after objfile
3720 has been unloaded.
3721
f8313f6e
JB
37222015-01-26 Joel Brobecker <brobecker@adacore.com>
3723
3724 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3725 the second test to print the name attribute of value
3726 returned by the call to gdb.lookup_type, and adjust
3727 the expected output accordingly.
3728
37bc665e
MW
37292015-01-25 Mark Wielaard <mjw@redhat.com>
3730
3731 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3732 * gdb.base/disp-step-fork.c: Include unistd.h.
3733 * gdb.base/siginfo-obj.c: Include stdio.h.
3734 * gdb.base/siginfo-thread.c: Likewise.
3735 * gdb.mi/non-stop.c: Include unistd.h.
3736 * gdb.mi/nsthrexec.c: Include stdio.h.
3737 * gdb.mi/pthreads.c: Include unistd.h.
3738 * gdb.modula2/unbounded1.c (main): Declare returns int.
3739 * gdb.reverse/consecutive-reverse.c: Likewise.
3740 * gdb.threads/create-fail.c: Include unistd.h.
3741 * gdb.threads/killed.c: Likewise.
3742 * gdb.threads/linux-dp.c: Likewise.
3743 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3744 * gdb.threads/non-ldr-exc-2.c: Likewise.
3745 * gdb.threads/non-ldr-exc-3.c: Likewise.
3746 * gdb.threads/non-ldr-exc-4.c: Likewise.
3747 * gdb.threads/pthreads.c: Include unistd.h.
3748 (main): Declare returns int.
3749 * gdb.threads/tls-main.c (foo): New declaration.
3750 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3751
f7e5394d
SM
37522015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3753
3754 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3755 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3756
743649fd
MW
37572015-01-15 Mark Wielaard <mjw@redhat.com>
3758
3759 * gdb.base/noreturn-return.c: New file.
3760 * gdb.base/noreturn-return.exp: New file.
3761 * gdb.base/noreturn-finish.c: New file.
3762 * gdb.base/noreturn-finish.exp: New file.
3763
198297aa
PA
37642015-01-23 Pedro Alves <palves@redhat.com>
3765
3766 * gdb.threads/continue-pending-after-query.c: New file.
3767 * gdb.threads/continue-pending-after-query.exp: New file.
3768
717cf30c
AG
37692015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3770 Simon Marchi <simon.marchi@ericsson.com>
3771
3772 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3773 * gdb.base/valgrind-db-attach.exp: Same.
3774 * gdb.base/valgrind-infcall.exp: Same.
3775 * lib/mi-support.exp (default_mi_gdb_start): Same.
3776 * lib/prompt.exp (default_prompt_gdb_start): Same.
3777 * lib/gdb.exp (default_gdb_spawn): Same.
3778 (gdb_interact): New.
3779
3780
4b62a76e
JK
37812015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3782
3783 * gdb.compile/compile.exp (pointer to jit function): New test.
3784
b4cdae6f
WW
37852015-01-17 Wei-cheng Wang <cole945@gmail.com>
3786
3787 * lib/gdb.exp (supports_process_record): Return true for
3788 powerpc*-*-linux*.
3789 (supports_reverse): Likewise.
3790
d221e7ef
DB
37912015-01-15 Don Breazeal <donb@codesourcery.com>
3792
3793 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3794 instead of checking whether the target board is remote and
3795 use spawn_wait_for_attach instead of exec/sleep.
3796 * gdb.base/attach-twice.exp: Likewise.
3797
bafffb51
JB
37982015-01-15 Joel Brobecker <brobecker@adacore.com>
3799
3800 * gdb.ada/var_arr_attrs: New testcase.
3801
5589af0e
PA
38022015-01-14 Pedro Alves <palves@redhat.com>
3803 Joel Brobecker <brobecker@adacore.com>
3804
3805 PR gdb/17525
3806 * gdb.base/bp-cmds-execution-x-script.c: New file.
3807 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3808 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3809
6c400b59
PA
38102015-01-14 Pedro Alves <palves@redhat.com>
3811
3812 PR cli/17828
3813 * gdb.base/batch-preserve-term-settings.c: New file.
3814 * gdb.base/batch-preserve-term-settings.exp: New file.
3815
e02c96a7
DE
38162015-01-13 Doug Evans <dje@google.com>
3817
3818 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3819 binary.
3820
576fd14c
JB
38212015-01-13 Joel Brobecker <brobecker@adacore.com>
3822
3823 * Makefile.in (clean mostlyclean): Do not delete *.py.
3824
04dccad0
JB
38252015-01-13 Joel Brobecker <brobecker@adacore.com>
3826
3827 * gdb.python/py-lookup-type.exp: New file.
3828
3d230f71
PA
38292015-01-12 Pedro Alves <palves@redhat.com>
3830
3831 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3832 restore GDBFLAGS before returning.
3833
7e67715d
JK
38342015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3835
3836 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3837 is_amd64_regs_target and is_x86_like_target.
3838
f2e0d4b4
DE
38392015-01-11 Doug Evans <xdje42@gmail.com>
3840
3841 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3842 is given without an explicit form.
3843 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3844 attributes.
3845 * gdb.dwarf/corrupt.exp: Ditto.
3846 * gdb.dwarf2/enum-type.exp: Ditto.
3847 * gdb.trace/entry-values.exp: Ditto.
3848 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3849
439250fb
DE
38502015-01-11 Doug Evans <xdje42@gmail.com>
3851
3852 PR gdb/15830
3853 * gdb.base/maint.exp: Remove references to "maint demangle".
3854 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3855 Add tests for explicitly specifying language to demangle.
3856 * gdb.dlang/demangle.exp: Ditto.
3857
ede9f622
PA
38582015-01-09 Pedro Alves <palves@redhat.com>
3859
3860 * gdb.threads/non-stop-fair-events.c: New file.
3861 * gdb.threads/non-stop-fair-events.exp: New file.
3862
a7b796db
PA
38632015-01-09 Pedro Alves <palves@redhat.com>
3864
3865 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3866 the global scope. Set a breakpoint after all threads are started
3867 rather than stepping over two source lines. Expect the prompt.
3868 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3869 global.
3870 (NUM): Now 15.
3871 (main): Use threads_started_barrier to wait for all threads to
3872 start. Main thread no longer calls thread_function. Exit after
3873 180 seconds.
3874 (loop): New function.
3875 (thread_function): Wait on threads_started_barrier barrier. Call
3876 'loop' at each iteration.
3877 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3878 threads have started, instead of hardcoding number of "next"
3879 steps. Use an access watchpoint instead of a write watchpoint.
3880
9665ffdd
PA
38812015-01-09 Pedro Alves <palves@redhat.com>
3882
3883 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3884 (thread_func): Wait on barrier.
3885 (main): Wait for all threads to start before stopping GDB.
3886 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3887 global.
3888 (thread1_func, thread2_func): Wait on barrier.
3889 (main): Wait for all threads to start before stopping GDB.
3890 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3891 New global.
3892 (thread1_func, thread2_func): Wait on barrier.
3893 (main): Wait for all threads to start before stopping GDB.
3894
c945a99f
PA
38952015-01-09 Pedro Alves <palves@redhat.com>
3896
3897 * gdb.threads/attach-many-short-lived-threads.c: New file.
3898 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3899
c1a747c1
PA
39002014-01-09 Pedro Alves <palves@redhat.com>
3901
3902 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3903 instead of to thread 2.
3904 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3905 Add barrier around each pthread_create call instead of around all
3906 calls.
3907 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3908 Set a break on thread_function and have the child threads hit it
3909 one at at a time.
3910
60b3033e
PA
39112015-01-09 Pedro Alves <palves@redhat.com>
3912
3913 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3914 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3915 false.
3916 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3917 checking whether the target board is remote.
3918 * gdb.multi/multi-attach.exp: Likewise.
3919 * gdb.python/py-sync-interp.exp: Likewise.
3920 * gdb.server/ext-attach.exp: Likewise.
3921 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3922 tests that need to attach, instead of checking whether the target
3923 board is remote at the top of the file.
3924
acc018ac
YQ
39252015-01-08 Yao Qi <yao@codesourcery.com>
3926
3927 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3928
50a18af8
JK
39292015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3930
3931 Fix testcase compilation.
3932 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3933
8503d6e1
JB
39342015-01-06 Joel Brobecker <brobecker@adacore.com>
3935
3936 * gdb.python/py-type.exp: Add a couple test about empty
3937 array creation, and negative-length array creation.
3938
cc73dbcc
DE
39392015-01-02 Doug Evans <xdje42@gmail.com>
3940
3941 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3942
0300bbc7
DE
39432015-01-02 Doug Evans <dje@google.com>
3944
3945 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3946
9d85a0ec
YQ
39472014-12-29 Yao Qi <yao@codesourcery.com>
3948
3949 * gdb.trace/entry-values.exp: Update comments. Rename variable
3950 bar_call_foo to returned_from_foo.
3951
87186c6a
MMN
39522014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3953
3954 PR gdb/17394
3955 * gdb.linespec/break-asm-file.c: New file.
3956 * gdb.linespec/break-asm-file.exp: New file.
3957 * gdb.linespec/break-asm-file0.s: New file.
3958 * gdb.linespec/break-asm-file1.s: New file.
3959
1bab7383
YQ
39602014-12-18 Nigel Stephens <nigel@mips.com>
3961 Maciej W. Rozycki <macro@codesourcery.com>
3962
3963 * gdb.base/float.exp: Handle the new output from "info float" on
3964 MIPS targets.
3965
1bc1068a
JK
39662014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3967
3968 Fix MinGW compilation.
3969 * gdb.compile/compile-ops.exp: Update untested message if
3970 !skip_compile_feature_tests.
3971 * gdb.compile/compile-setjmp.exp: Likewise.
3972 * gdb.compile/compile-tls.exp: Likewise.
3973 * gdb.compile/compile.exp: Likewise.
3974 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3975 supported on this host".
3976
b6615d10
DE
39772014-12-16 Doug Evans <xdje42@gmail.com>
3978
3979 * boards/stabs.exp: New file.
3980
25dda427
AA
39812014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3982
3983 * gdb.base/completion.exp: Adjust to format changes of "maint
3984 print user-registers".
3985
bf330350
CU
39862014-12-16 Catalin Udma <catalin.udma@freescale.com>
3987
3988 PR server/17457
3989 * gdb.arch/aarch64-fp.c: New file.
3990 * gdb.arch/aarch64-fp.exp: New file.
3991
395cf596
SDJ
39922014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3993
3994 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3995 r210637, r210913, r211666, r215400, r215817).
3996
3997 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3998 * dg-extract-results.py: New file.
3999 * dg-extract-results.sh: Use it if the environment seems
4000 suitable.
4001
4002 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4003
4004 * dg-extract-results.py (parse_run): Handle warnings that
4005 are printed before a test harness is run.
4006
4007 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4008
4009 * dg-extract-results.py (Named): Remove __cmp__ method.
4010 (output_variation): Use a key to sort variation.harnesses.
4011
4012 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4013
4014 * dg-extract-results.py: For Python 3, force sys.stdout to
4015 handle surrogate escape sequences.
4016 (safe_open): New function.
4017 (output_segment, main): Use it.
4018
4019 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4020
4021 * dg-extract-results.py (Prog.result_re): Include options
4022 in test name.
4023
4024 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4025
4026 * dg-extract-results.py (output_variation): Always sort if
4027 do_sum.
4028
e882ef3c
SM
40292014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4030
4031 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4032 as long as we get pagination notifications.
4033
4992aa20
JM
40342014-12-15 Jason Merrill <jason@redhat.com>
4035
4036 * Makefile.in (check-gdb.%): Restore.
4037 * README: Mention it.
4038
c1b5a1a6
JB
40392014-12-13 Joel Brobecker <brobecker@adacore.com>
4040
4041 * gdb.ada/str_uninit: New testcase.
4042
5537b577
JK
40432014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4044
4045 PR symtab/17642
4046 * gdb.base/vla-stub-define.c: New file.
4047 * gdb.base/vla-stub.c: New file.
4048 * gdb.base/vla-stub.exp: New file.
4049
bb2ec1b3
TT
40502014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4051 Jan Kratochvil <jan.kratochvil@redhat.com>
4052 Tom Tromey <tromey@redhat.com>
4053
4054 * configure.ac: Add gdb.compile/.
4055 * configure: Regenerate.
4056 * gdb.compile/Makefile.in: New file.
4057 * gdb.compile/compile-ops.exp: New file.
4058 * gdb.compile/compile-ops.c: New file.
4059 * gdb.compile/compile-tls.c: New file.
4060 * gdb.compile/compile-tls.exp: New file.
4061 * gdb.compile/compile-constvar.S: New file.
4062 * gdb.compile/compile-constvar.c: New file.
4063 * gdb.compile/compile-mod.c: New file.
4064 * gdb.compile/compile-nodebug.c: New file.
4065 * gdb.compile/compile-setjmp-mod.c: New file.
4066 * gdb.compile/compile-setjmp.c: New file.
4067 * gdb.compile/compile-setjmp.exp: New file.
4068 * gdb.compile/compile-shlib.c: New file.
4069 * gdb.compile/compile.c: New file.
4070 * gdb.compile/compile.exp: New file.
4071 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4072
4ff709eb
TT
40732014-12-12 Tom Tromey <tromey@redhat.com>
4074
4075 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4076 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4077
6dddd6a5
DE
40782014-12-12 Doug Evans <dje@google.com>
4079
4080 * lib/gdb-python.exp (get_python_valueof): New function.
4081 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4082
71c24708
AA
40832014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4084
4085 * gdb.base/completion.exp: Add test for completion of "info
4086 registers ".
4087
3e29f34a
MR
40882014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4089
4090 * gdb.base/func-ptrs.c: New file.
4091 * gdb.base/func-ptrs.exp: New file.
4092
fc126975
SM
40932014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4094
4095 PR breakpoints/17012
4096 * gdb.base/dprintf-detach.c: New file.
4097 * gdb.base/dprintf-detach.exp: New file.
4098
0a46d518
SM
40992014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4100
4101 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4102 * lib/gdb.exp (target_is_gdbserver): New procedure.
4103
a0be3e44
DE
41042014-12-08 Doug Evans <dje@google.com>
4105
4106 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4107
df1b803a
YQ
41082014-12-05 Yao Qi <yao@codesourcery.com>
4109
4110 * gdb.guile/scm-error.exp: Remove the third argument to
4111 gdb_remote_download.
4112 * gdb.guile/scm-frame-args.exp: Likewise.
4113 * gdb.guile/scm-section-script.exp: Likewise.
4114
ddb9f679
YQ
41152014-12-05 Yao Qi <yao@codesourcery.com>
4116
4117 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4118
86e4ed39
DE
41192014-12-04 Doug Evans <dje@google.com>
4120
4121 * gdb.python/py-objfile.exp: Add tests for
4122 objfile.add_separate_debug_file.
4123
7c50a931
DE
41242014-12-04 Doug Evans <dje@google.com>
4125
4126 * lib/gdb.exp (get_build_id): New function.
4127 (build_id_debug_filename_get): Rewrite to use it.
4128 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4129
621661e3
MR
41302014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4131
4132 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4133 `method(long)', not just 0x0.
4134 * gdb.cp/nsalias.exp: Align code labels to 4.
4135 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4136 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4137 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4138 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4139 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4140 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4141
29f0c3b7
DE
41422014-12-02 Doug Evans <dje@google.com>
4143
e1e061e7 4144 PR symtab/17602
29f0c3b7 4145 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4146 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4147 * gdb.cp/anon-ns.exp: Update.
4148
162078c8
NB
41492014-12-02 Nick Bull <nicholaspbull@gmail.com>
4150
4151 * gdb.python/py-events.py (inferior_call_handler): New.
4152 (register_changed_handler, memory_changed_handler): New.
4153 (test_events.invoke): Register new handlers.
4154 * gdb.python/py-events.exp: Add tests for inferior call,
4155 memory_changed and register_changed events.
4156
fdb09caf
AA
41572014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4158
4159 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4160 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4161 if the linker doesn't understand this.
4162
55cfb2c4
SM
41632014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4164
4165 * gdb.python/python.exp: Change expected reply to help().
4166
9e8cd6df
YQ
41672014-12-01 Yao Qi <yao@codesourcery.com>
4168
4169 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4170 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4171 * configure: Re-generated.
4172
6c659fc2
SC
41732014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4174
4175 * gdb.cp/chained-calls.cc: New file.
4176 * gdb.cp/chained-calls.exp: New file.
4177 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4178
d7fc3181
SM
41792014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4180
4181 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4182 * gdb.dwarf2/symtab-producer.exp: Same.
4183 * gdb.gdb/python-interrupts.exp: Same.
4184 * gdb.gdb/python-selftest.exp: Same.
4185 * gdb.python/py-linetable.exp: Same.
4186 * gdb.python/py-type.exp: Same.
4187 * gdb.python/py-value-cc.exp: Same.
4188 * gdb.python/py-value.exp: Same.
4189
10e79639
YQ
41902014-11-28 Yao Qi <yao@codesourcery.com>
4191
4192 * gdb.base/break-probes.exp: Match library name prefixed with
4193 sysroot.
4194
f28a0564
SM
41952014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4196
4197 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4198 test expected output. Add parentheses for the call to print.
4199 Remove L suffix from integers.
4200
3fe1ce1d
DE
42012014-11-26 Doug Evans <dje@google.com>
4202
4203 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4204
84429e27
YQ
42052014-11-22 Yao Qi <yao@codesourcery.com>
4206
4207 * gdb.trace/entry-values.c: Remove asms.
4208 (foo): Add foo_label.
4209 (bar): Add bar_label.
4210 * gdb.trace/entry-values.exp: Remove code computing foo's
4211 length and bar's length.
4212 (Dwarf::assemble): Invoke function_range for bar and use
4213 MACRO_AT_func for foo.
4214
26741859
YQ
42152014-11-22 Yao Qi <yao@codesourcery.com>
4216
4217 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4218 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4219 Use .Lgcc43_procstart instead of gcc43.
4220
45e44d27
JB
42212014-11-21 Joel Brobecker <brobecker@adacore.com>
4222
4223 * gdb.ada/n_arr_bound: New testcase.
4224
458c8db8
SDJ
42252014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4226
4227 PR breakpoints/10737
4228 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4229 test_catch_syscall_multi_arch.
4230 (test_catch_syscall_multi_arch): New function.
4231
43f3e411
DE
42322014-11-20 Doug Evans <xdje42@gmail.com>
4233
4234 * gdb.base/maint.exp: Update expected output.
4235
0d7b2549
AA
42362014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4237
4238 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4239 4-byte instruction on S390.
4240
8908fca5
JB
42412014-11-19 Joel Brobecker <brobecker@adacore.com>
4242
4243 * gdb.ada/arr_arr: New testcase.
4244
4a46959e
JB
42452014-11-19 Joel Brobecker <brobecker@adacore.com>
4246
4247 * gdb.ada/pkd_arr_elem: New Testcase.
4248
470e2f4e
LM
42492014-11-18 Luis Machado <lgustavo@codesourcery.com>
4250
4251 * gdb.reverse/break-precsave: Expect completion message for
4252 core file reads.
4253 * gdb.reverse/consecutive-precsave.exp: Likewise.
4254 * gdb.reverse/finish-precsave.exp: Likewise.
4255 * gdb.reverse/i386-precsave.exp: Likewise.
4256 * gdb.reverse/machinestate-precsave.exp: Likewise.
4257 * gdb.reverse/sigall-precsave.exp: Likewise.
4258 * gdb.reverse/solib-precsave.exp: Likewise.
4259 * gdb.reverse/step-precsave.exp: Likewise.
4260 * gdb.reverse/until-precsave.exp: Likewise.
4261 * gdb.reverse/watch-precsave.exp: Likewise.
4262
a267f3ad
AA
42632014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4264
4265 * gdb.base/bp-permanent.c: Include unistd.h.
4266 * gdb.python/py-framefilter-mi.c (main): Add return type.
4267 * gdb.python/py-framefilter.c (main): Likewise.
4268 * gdb.trace/actions-changed.c (main): Likewise.
4269
12084a9a
AA
42702014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4271
4272 * gdb.mi/until.c: Add eye-catchers.
4273 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4274 line numbers.
4275
dc7e1a77
AA
42762014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4277
4278 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4279 function header variants in break1.c.
4280 * gdb.base/ena-dis-br.exp: Likewise.
4281 * gdb.base/hbreak2.exp: Likewise.
4282 * gdb.reverse/until-precsave.exp: Drop references to removed
4283 non-prototype function header variants in ur1.c.
4284 * gdb.reverse/until-reverse.exp: Likewise.
4285
41c77605
PM
42862014-11-17 Petr Machata <pmachata@redhat.com>
4287
4288 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4289 ${_cu_offset_size} bytes abbrev offset.
4290
34248c3a
DE
42912014-11-15 Doug Evans <xdje42@gmail.com>
4292
4293 PR symtab/17559
4294 * gdb.base/line-symtabs.exp: New file.
4295 * gdb.base/line-symtabs.c: New file.
4296 * gdb.base/line-symtabs.h: New file.
4297
646da059
YQ
42982014-11-14 Yao Qi <yao@codesourcery.com>
4299
4300 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4301 (func): Add label func_label.
4302 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4303 Replace low_pc and high_pc with MACRO_AT_range.
4304 Replace name, low_pc and high_pc with MACRO_AT_func.
4305
9301ebe6
YQ
43062014-11-14 Yao Qi <yao@codesourcery.com>
4307
4308 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4309 Replace name, low_pc and high_pc with MACRO_AT_func.
4310
f166b542
YQ
43112014-11-14 Yao Qi <yao@codesourcery.com>
4312
4313 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4314 produce debug information.
4315 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4316
0f6e71e3
YQ
43172014-11-14 Yao Qi <yao@codesourcery.com>
4318
4319 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4320 object and get function length.
4321 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4322 with MACRO_AT_func.
4323 (top-level): Replace gdb_compile and clean_restart with
4324 prepare_for_testing.
4325 * gdb.dwarf2/main.c (main): Add label main_label.
4326
876c4df9
YQ
43272014-11-14 Yao Qi <yao@codesourcery.com>
4328
4329 * lib/dwarf.exp (function_range): New procedure.
4330 (Dwarf::_handle_macro_at_func): New procedure.
4331 (Dwarf::_handle_macro_at_range): New procedure.
4332 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4333
02ad9cf1
YQ
43342014-11-14 Yao Qi <yao@codesourcery.com>
4335
4336 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4337 (_handle_attribute): New procedure.
4338
a59add0c
AA
43392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4340
4341 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4342 * gdb.base/call-sc.c (zed): Likewise.
4343 * gdb.base/checkpoint.c (main): Likewise.
4344 * gdb.base/dump.c (main): Likewise.
4345 * gdb.base/gcore.c (main): Likewise.
4346 * gdb.base/huge.c (main): Likewise.
4347 * gdb.base/multi-forks.c (main): Likewise.
4348 * gdb.base/pr10179-a.c (main): Likewise.
4349 * gdb.base/savedregs.c (main): Likewise.
4350 * gdb.base/sigaltstack.c (main): Likewise.
4351 * gdb.base/siginfo.c (main): Likewise.
4352 * gdb.base/structs.c (zed): Likewise.
4353 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4354 * gdb.mi/mi-syn-frame.c (main): Likewise.
4355 * gdb.mi/until.c (foo, main): Likewise.
4356 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4357 * gdb.base/solib-weak.c (foo): Declare.
4358 * gdb.base/attach-twice.c: Include stdio.h.
4359 * gdb.base/weaklib1.c: Likewise.
4360 * gdb.base/weaklib2.c: Likewise.
4361 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4362 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4363 unistd.h.
4364 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4365 * gdb.mi/mi-exit-code.c: Likewise.
4366 * gdb.base/break-interp-lib.c: Include string.h.
4367 * gdb.base/coremaker.c: Likewise.
4368 * gdb.base/testenv.c: Likewise.
4369 * gdb.python/py-finish-breakpoint.c: Likewise.
4370 * gdb.base/inferior-died.c: Include sys/wait.h.
4371 * gdb.base/fileio.c: Include time.h.
4372 * gdb.base/async-shell.c: Include unistd.h.
4373 * gdb.base/dprintf-non-stop.c: Likewise.
4374 * gdb.base/info-os.c: Likewise.
4375 * gdb.mi/mi-console.c: Likewise.
4376 * gdb.mi/watch-nonstop.c: Likewise.
4377 * gdb.python/py-events.c: Likewise.
4378 * gdb.base/async.c (baz): Move up before its invocation.
4379 * gdb.base/code_elim2.c (my_global_func): Likewise.
4380 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4381 * gdb.base/advance.c (func2): Likewise.
4382
3b5d5997
AA
43832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4384
4385 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4386 variant.
4387 * gdb.base/annota3.c: Likewise.
4388 * gdb.base/async.c: Likewise.
4389 * gdb.base/average.c: Likewise.
4390 * gdb.base/call-ar-st.c: Likewise.
4391 * gdb.base/call-rt-st.c: Likewise.
4392 * gdb.base/call-sc.c: Likewise.
4393 * gdb.base/call-strs.c: Likewise.
4394 * gdb.base/ending-run.c: Likewise.
4395 * gdb.base/execd-prog.c: Likewise.
4396 * gdb.base/exprs.c: Likewise.
4397 * gdb.base/foll-exec.c: Likewise.
4398 * gdb.base/foll-fork.c: Likewise.
4399 * gdb.base/foll-vfork.c: Likewise.
4400 * gdb.base/funcargs.c: Likewise.
4401 * gdb.base/gcore.c: Likewise.
4402 * gdb.base/jump.c: Likewise.
4403 * gdb.base/langs0.c: Likewise.
4404 * gdb.base/langs1.c: Likewise.
4405 * gdb.base/langs2.c: Likewise.
4406 * gdb.base/mips_pro.c: Likewise.
4407 * gdb.base/nodebug.c: Likewise.
4408 * gdb.base/opaque0.c: Likewise.
4409 * gdb.base/opaque1.c: Likewise.
4410 * gdb.base/recurse.c: Likewise.
4411 * gdb.base/run.c: Likewise.
4412 * gdb.base/scope0.c: Likewise.
4413 * gdb.base/scope1.c: Likewise.
4414 * gdb.base/setshow.c: Likewise.
4415 * gdb.base/setvar.c: Likewise.
4416 * gdb.base/shmain.c: Likewise.
4417 * gdb.base/shr1.c: Likewise.
4418 * gdb.base/shr2.c: Likewise.
4419 * gdb.base/sigall.c: Likewise.
4420 * gdb.base/signals.c: Likewise.
4421 * gdb.base/so-indr-cl.c: Likewise.
4422 * gdb.base/solib2.c: Likewise.
4423 * gdb.base/structs.c: Likewise.
4424 * gdb.base/sum.c: Likewise.
4425 * gdb.base/vforked-prog.c: Likewise.
4426 * gdb.base/watchpoint.c: Likewise.
4427 * gdb.reverse/shr2.c: Likewise.
4428 * gdb.reverse/until-reverse.c: Likewise.
4429 * gdb.reverse/ur1.c: Likewise.
4430 * gdb.reverse/watch-reverse.c: Likewise.
4431
066a77c5
AA
44322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4433
4434 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4435 variant.
4436 * gdb.base/sepdebug.exp: Drop references to removed code.
4437
4f204ea5
AA
44382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4439
4440 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4441 variant. Preserve original line numbering.
4442 * gdb.base/list1.c: Likewise.
4443
3b377a3a
AA
44442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4445
4446 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4447 variant.
4448 * gdb.base/break1.c: Likewise.
4449 * gdb.base/break.exp: Drop references to removed code.
4450
e444df73
AA
44512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4452
4453 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4454 variant.
4455
8008f2a7
AA
44562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4457
4458 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4459
a5a06887
AA
44602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4461
4462 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4463 logic into perform_all_tests() and invoke it with and without
4464 function header prototypes.
4465 (do_function_calls): Remove conditional XFAIL for PR 5318.
4466 (rerun_and_prepare): Remove duplicate code.
4467 (perform_all_tests): New. Main logic moved here.
4468
44dba9b9
AA
44692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4470
4471 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4472 code guarded by #ifdef NO_PROTOTYPES.
4473 (t_double_many_args): Likewise.
4474 (DEF_FUNC_MANY_ARGS_1): Likewise.
4475 (DEF_FUNC_VALUES_1): Likewise.
4476 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4477 guarded by #ifdef PROTOTYPES.
4478
d1fbcd56
AA
44792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4480
4481 * gdb.mi/mi-console.c: Add eye-catcher.
4482 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4483 instead of literal line number.
4484
b0e59b8f
AA
44852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4486
4487 * gdb.base/shr2.c: Add eye-catcher.
4488 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4489 line number.
4490
78f98cca
AA
44912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4492
4493 * gdb.base/jump.c: Add eye-catchers.
4494 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4495 numbers.
4496
58fa2af0
AA
44972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4498
4499 * gdb.base/execd-prog.c: Add eye-catchers.
4500 * gdb.base/foll-exec.c: Likewise.
4501 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4502 line numbers.
4503
04e5059b
AA
45042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4505
4506 * gdb.base/ending-run.c: Add eye-catchers.
4507 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4508 literal line numbers.
4509
dbfdb174
AA
45102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4511
4512 * gdb.base/call-rt-st.c: Add eye-catchers.
4513 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4514 literal line numbers.
4515
888a2ade
AA
45162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4517
4518 * gdb.base/call-ar-st.c: Add eye-catchers.
4519 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4520 literal line numbers.
4521
6acc2dde
AA
45222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4523
4524 * gdb.base/average.c: Add eye-catchers.
4525 * gdb.base/sum.c: Likewise.
4526 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4527 regexps dynamically.
4528
9ecfcd1d
AA
45292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4530
4531 * gdb.base/solib1.c: Add eye-catchers.
4532 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4533 literal line numbers.
4534
78708b7c
PA
45352014-11-12 Pedro Alves <palves@redhat.com>
4536
4537 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4538 leader has exited.
4539
af48d08f
PA
45402014-11-12 Pedro Alves <palves@redhat.com>
4541
4542 * gdb.arch/i386-bp_permanent.c: New file.
4543 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4544 (srcfile): Set to i386-bp_permanent.c.
4545 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4546 that stepi does not execute the 'leave' instruction, instead of
4547 testing it does execute.
4548 * gdb.base/bp-permanent.c: New file.
4549 * gdb.base/bp-permanent.exp: New file.
4550
af3768e9
DE
45512014-11-10 Doug Evans <xdje42@gmail.com>
4552
4553 PR symtab/17564
4554 * gdb.base/symtab-search-order.exp: New file.
4555 * gdb.base/symtab-search-order.c: New file.
4556 * gdb.base/symtab-search-order-1.c: New file.
4557 * gdb.base/symtab-search-order-shlib-1.c: New file.
4558
9de00a4a
PA
45592014-11-07 Pedro Alves <palves@redhat.com>
4560
4561 PR gdb/17511
4562 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4563 i?86-*-linux*.
4564
e0f52461
SC
45652014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4566
4567 PR c++/17494
4568 * gdb.cp/pr17494.cc: New file.
4569 * gdb.cp/pr17494.exp: New file.
4570
6ce8c980
YQ
45712014-11-02 Yao Qi <yao@codesourcery.com>
4572
4573 * gdb.python/python.exp: Get working directory and match the
4574 output of "set extended-prompt \\w " with it.
4575
02be9a71
DE
45762014-10-30 Doug Evans <dje@google.com>
4577
4578 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4579 in objfiles.
4580 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4581 in progspaces.
4582
3bdff46b
LM
45832014-10-30 Janis Johnson <janisjo@codesourcery.com>
4584
4585 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4586 * gdb.base/realname-expand.exp: Likewise.
4587 * gdb.linespec/macro-relative.exp: Likewise.
4588
ab917dfb
PA
45892014-10-29 Pedro Alves <palves@redhat.com>
4590
4591 PR gdb/17408
4592 * gdb.threads/schedlock.c (some_function): New function.
4593 (call_function): New global.
4594 (MAYBE_CALL_SOME_FUNCTION): New macro.
4595 (thread_function): Call it.
4596 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4597 and use it instead of a global counter. Adjust all callers.
4598 (get_current_thread): Use "find current thread" for test message
4599 here rather than having all callers pass down the same string.
4600 (goto_loop): New procedure, factored out from ...
4601 (my_continue): ... this.
4602 (step_ten_loops): Change parameter from test message to command to
4603 use. Adjust.
4604 (list_count): Delete global.
4605 (check_result): New procedure, factored out from duplicate top
4606 level code.
4607 (continue tests): Wrap in with_test_prefix.
4608 (test_step): New procedure, factored out from duplicate top level
4609 code.
4610 (top level): Test "step" in combination with all scheduler-locking
4611 modes. Test "next" in combination with all scheduler-locking
4612 modes, and in combination with stepping over a function call or
4613 not.
4614 * gdb.threads/next-bp-other-thread.c: New file.
4615 * gdb.threads/next-bp-other-thread.exp: New file.
4616
d3d4baed
PA
46172014-10-29 Pedro Alves <palves@redhat.com>
4618
4619 PR python/17372
4620 * gdb.python/python.exp: Test a multi-line command that spawns
4621 interactive Python.
4622 * gdb.base/multi-line-starts-subshell.exp: New file.
4623
563e8d85
YQ
46242014-10-29 Yao Qi <yao@codesourcery.com>
4625
4626 * gdb.base/fileio.exp: Make directories on host.
4627
0ea4d52e
YQ
46282014-10-29 Yao Qi <yao@codesourcery.com>
4629
4630 * gdb.base/fileio.c (test_write): Close the file.
4631
7f5ef605
PA
46322014-10-28 Pedro Alves <palves@redhat.com>
4633
4634 PR gdb/12623
4635 * gdb.base/sigstep.c (no_handler): New global.
4636 (main): If 'no_handler is true, set the signal handlers to
4637 SIG_IGN.
4638 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4639 with_sw_watch and no_handler parameters. Handle them.
4640 (top level) <stepping over handler when stopped at a breakpoint
4641 test>: Add a test axis for testing with a software watchpoint, and
4642 another for testing with the signal handler set to SIG_IGN.
4643 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4644 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4645
abbdbd03
PA
46462014-10-28 Pedro Alves <palves@redhat.com>
4647
4648 PR gdb/17511
4649 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4650 * gdb.base/sigstep.exp (other_handler_location): New global.
4651 (advance): Support stepping into the signal handler, and running
4652 commands while in the handler.
4653 (in_handler_map): New global.
4654 (top level): In the advance test, add combinations for getting
4655 into the handler with stepping commands, and for running commands
4656 in the handler. Add comment descripting the advancei tests.
4657
1df4399f
PA
46582014-10-28 Pedro Alves <palves@redhat.com>
4659
4660 * gdb.base/sigstep.exp: Use build_executable instead of
4661 prepare_for_testing.
4662 (top level): Move code that starts GDB, runs to main and creates a
4663 display to ...
4664 (restart): ... this new procedure.
4665 (top level): Move backtrace from signal handler test to ...
4666 (validate_backtrace): ... this new procedure.
4667 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4668 with_test_prefix. Always restart GDB.
4669 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4670 with_test_prefix. Always restart GDB. No need to delete
4671 breakpoints after the test.
4672 (test_skip_handler): Remove prefix parameter.
4673 (skip_over_handler, breakpoint_to_handler)
4674 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4675 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4676 restart GDB. No need to delete breakpoints after the test.
4677 (top level): Use foreach to call the test procedures with
4678 different commands.
4679
a5b6e449
PA
46802014-10-28 Pedro Alves <palves@redhat.com>
4681
4682 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4683 instead of GNATS numbers.
4684 * gdb.base/sigbpt.exp: Likewise.
4685 * gdb.base/siginfo.exp: Likewise.
4686 * gdb.base/sigstep.exp: Likewise.
4687
e5f8a7cc
PA
46882014-10-27 Pedro Alves <palves@redhat.com>
4689
4690 * gdb.base/sigstep.c (dummy): New global.
4691 (main): Issue a couple writes to the new global.
4692 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4693 procedures.
4694 (skip_over_handler): Use test_skip_handler.
4695 (top level): Call skip_over_handler for stepi and nexti too.
4696 (breakpoint_over_handler): Use test_skip_handler.
4697 (top level): Call breakpoint_over_handler for stepi and nexti too.
4698
763905a3
YQ
46992014-10-27 Yao Qi <yao@codesourcery.com>
4700
4701 * gdb.trace/tfile.c (adjust_function_address)
4702 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4703 function descriptor.
4704
6f259a23
DB
47052014-10-24 Don Breazeal <donb@codesourcery.com>
4706
4707 * gdb.base/foll-fork.exp (test_follow_fork,
4708 catch_fork_child_follow): Check for updated fork messages emitted
4709 from infrun.c.
4710 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4711 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4712 vfork_and_exec_child_follow_through_step): Check for updated vfork
4713 messages emitted from infrun.c.
4714
09dd9a69
PA
47152014-10-24 Pedro Alves <palves@redhat.com>
4716
4717 * gdb.base/corefile.exp: Remove references to ultrix.
4718 * gdb.base/interrupt.exp: Likewise.
4719 * gdb.base/whatis.exp: Likewise.
4720 * gdb.gdb/selftest.exp: Likewise.
4721 * gdb.threads/manythreads.exp: Likewise.
4722 * gdb.threads/print-threads.exp: Likewise.
4723 * gdb.threads/pthreads.exp:: Likewise.
4724 * gdb.threads/schedlock.exp: Likewise.
4725
3433cfa5
SC
47262014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4727
4728 * gdb.cp/non-trivial-retval.cc: Add a test case.
4729 * gdb.cp/non-trivial-retval.exp: Add a test.
4730
092f880b
YQ
47312014-10-20 Yao Qi <yao@codesourcery.com>
4732
4733 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4734 * gdb.python/py-objfile-script-gdb.py: New file.
4735 * gdb.python/py-objfile-script.exp: Update reference to
4736 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4737 of remote_download. Remove the dest file.
4738
acbdb7f3
YQ
47392014-10-20 Yao Qi <yao@codesourcery.com>
4740
4741 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4742 * gdb.base/step-line.exp: Likewise.
4743 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4744 * gdb.dwarf2/dw2-basic.exp: Likewise.
4745 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4746 * gdb.dwarf2/dw2-filename.exp: Likewise.
4747 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4748 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4749 * gdb.dwarf2/dw2-producer.exp: Likewise.
4750 * gdb.dwarf2/mac-fileno.exp: Likewise.
4751 * gdb.python/py-frame-args.exp: Likewise.
4752 * gdb.python/py-framefilter.exp: Likewise.
4753 * gdb.python/py-mi.exp: Likewise.
4754 * gdb.python/py-objfile-script.exp: Likewise
4755 * gdb.python/py-pp-integral.exp: Likewise.
4756 * gdb.python/py-pp-re-notag.exp: Likewise.
4757 * gdb.python/py-prettyprint.exp: Likewise.
4758 * gdb.python/py-section-script.exp: Likewise.
4759 * gdb.python/py-typeprint.exp: Likewise.
4760 * gdb.python/py-xmethods.exp: Likewise.
4761 * gdb.stabs/weird.exp: Likewise.
4762 * gdb.xml/tdesc-regs.exp: Likewise.
4763
bd286a29
KCY
47642014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4765
4766 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4767 (out_cu): Use addr_len for the size of addresses.
4768 (out_line): Likewise. Size DW_LNE_set_address instruction
4769 according to addr_len.
4770 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4771 (FUNC): Add START_INSNS to definition.
4772
673dc4a0
YQ
47732014-10-18 Yao Qi <yao@codesourcery.com>
4774
4775 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4776 gdb_has_argv0 return true.
4777 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4778 check [target_info exists noargs], check [gdb_has_argv0]
4779 instead.
4780 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4781 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4782 procedures.
4783
4ffbba72
DE
47842014-10-17 Doug Evans <dje@google.com>
4785
4786 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4787 event.
4788 * gdb.python/py-events.py: Add clear_objfiles event.
4789
d096d8c1
DE
47902014-10-17 Doug Evans <dje@google.com>
4791
4792 * gdb.python/py-objfile.exp: Test progspace attribute.
4793
a80db015
LM
47942014-10-17 Luis Machado <lgustavo@codesourcery.com>
4795
4796 * gdb.guile/scm-breakpoint.exp: Do not assume any
4797 directory separators when matching source file paths.
4798 * gdb.python/py-breakpoint.exp: Likewise.
4799 * gdb.reverse/break-precsave.exp: Likewise.
4800 * gdb.reverse/break-reverse.exp: Likewise.
4801 * gdb.reverse/consecutive-precsave.exp: Likewise.
4802 * gdb.reverse/finish-precsave.exp: Likewise.
4803 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4804 * gdb.reverse/finish-reverse.exp: Likewise.
4805 * gdb.reverse/i386-precsave.exp: Likewise.
4806 * gdb.reverse/i387-env-reverse.exp: Likewise.
4807 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4808 * gdb.reverse/machinestate-precsave.exp: Likewise.
4809 * gdb.reverse/machinestate.exp: Likewise.
4810 * gdb.reverse/sigall-precsave.exp: Likewise.
4811 * gdb.reverse/solib-precsave.exp: Likewise.
4812 * gdb.reverse/step-precsave.exp: Likewise.
4813 * gdb.reverse/until-precsave.exp: Likewise.
4814 * gdb.reverse/watch-precsave.exp: Likewise.
4815 * gdb.reverse/watch-reverse.exp: Likewise.
4816
b22089ab
YQ
48172014-10-17 Yao Qi <yao@codesourcery.com>
4818
4819 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4820 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4821
6c4486e6
PA
48222014-10-17 Pedro Alves <palves@redhat.com>
4823
4824 PR gdb/17471
4825 * gdb.base/bg-execution-repeat.c: New file.
4826 * gdb.base/bg-execution-repeat.exp: New file.
4827
0ff33695
PA
48282014-10-17 Pedro Alves <palves@redhat.com>
4829
4830 PR gdb/17300
4831 * gdb.base/continue-all-already-running.c: New file.
4832 * gdb.base/continue-all-already-running.exp: New file.
4833
6fdebc3d
PA
48342014-10-17 Pedro Alves <palves@redhat.com>
4835
4836 PR gdb/17472
4837 * gdb.base/annota-input-while-running.c: New file.
4838 * gdb.base/annota-input-while-running.exp: New file.
4839
32a8097b
PA
48402014-10-17 Pedro Alves <palves@redhat.com>
4841
4842 * gdb.base/callfuncs.exp: emove references to osf.
4843 * gdb.base/sigall.exp: Likewise.
4844 * gdb.gdb/selftest.exp: Likewise.
4845 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4846 * gdb.mi/non-stop.c: Likewise.
4847 * gdb.mi/pthreads.c: Likewise.
4848 * gdb.reverse/sigall-precsave.exp: Likewise.
4849 * gdb.reverse/sigall-reverse.exp: Likewise.
4850 * gdb.threads/pthreads.c: Likewise.
4851 * gdb.threads/pthreads.exp: Likewise.
4852
7a3517ff
YQ
48532014-10-17 Yao Qi <yao@codesourcery.com>
4854
4855 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4856 check 'target_info exists noargs'.
4857 (test_command_prompt_position): Likewise.
4858 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4859 Remove "set args".
4860 (progvar_simple_while_test): Likewise.
4861 (progvar_complex_if_while_test): Likewise.
4862 (if_while_breakpoint_command_test): Likewise.
4863 (infrun_breakpoint_command_test): Likewise.
4864 (breakpoint_command_test): Likewise.
4865 (watchpoint_command_test): Likewise.
4866 (bp_deleted_in_command_test): Likewise.
4867 (temporary_breakpoint_commands): Likewise.
4868
bb99c472
YQ
48692014-10-16 Yao Qi <yao@codesourcery.com>
4870
4871 * gdb.base/remotetimeout.exp: Remove noargs checking.
4872
7c16b83e
PA
48732014-10-15 Pedro Alves <palves@redhat.com>
4874
4875 PR breakpoints/9649
4876 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4877 * gdb.base/breakpoint-in-ro-region.exp
4878 (probe_target_hardware_step): New procedure.
4879 (top level): Probe hardware stepping and hardware breakpoint
4880 support. Test stepping through a read-only region, with both
4881 "breakpoint auto-hw" on and off and both "always-inserted" on and
4882 off.
4883
35a49624
IB
48842014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4885
4886 * gdb.dlang/demangle.exp: Update for demangling changes.
4887
2d1c107c
SC
48882014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4889
4890 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4891 * gdb.cp/non-trivial-retval.exp: Add new tests.
4892
778811d5
SC
48932014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4894
4895 PR c++/13403
4896 PR c++/15154
4897 * gdb.cp/non-trivial-retval.cc: New file.
4898 * gdb.cp/non-trivial-retval.exp: New file.
4899
10c5f0a8
YQ
49002014-10-15 Yao Qi <yao@codesourcery.com>
4901
4902 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4903 remote host.
4904
65d7b369
YQ
49052014-10-15 Yao Qi <yao@codesourcery.com>
4906
4907 * gdb.python/py-symbol.exp: Match file base name if host is
4908 remote, otherwise match file name with dir name.
4909 * gdb.python/py-symtab.exp: Likewise.
4910 * gdb.python/python.exp: Likewise.
4911
46dc1394
YQ
49122014-10-15 Yao Qi <yao@codesourcery.com>
4913
4914 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4915 pattern.
4916 * gdb.python/py-symtab.exp: Likewise.
4917 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4918 locationn.
4919
c40cc657
JB
49202014-10-14 Joel Brobecker <brobecker@adacore.com>
4921
4922 * gdb.ada/addr_arith: New testcase.
4923
2abf49e1
MR
49242014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4925
4926 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4927 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4928 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4929 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4930
f7088df3
SDJ
49312014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4932
4933 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4934 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4935 * gdb.arch/stap-eval-lang-ada.exp: New file.
4936
4dc06805
YQ
49372014-10-14 Yao Qi <yao@codesourcery.com>
4938
4939 * gdb.mi/mi-var-child.c (nothing1): New function.
4940 (nothing2): New function.
4941 (do_children_tests): Set function pointers by nothing1 and
4942 nothing2.
4943 * gdb.mi/mi-var-child.exp: Step over new added statements.
4944 Update test to match the new output.
4945 * gdb.mi/var-cmd.c (nothing1): New function.
4946 (nothing2): New function.
4947 (do_children_tests): Set function pointers by nothing1 and
4948 nothing2.
4949 * gdb.mi/mi-var-display.exp: Update test to match output.
4950 Step to the line specified by $line_dct_nothing.
4951 Increase the number of lines to step.
4952
46a93de2
YQ
49532014-10-14 Yao Qi <yao@codesourcery.com>
4954
4955 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4956 tests.
4957 * gdb.mi/mi2-var-child.exp: Likewise.
4958
14ea52ee
DE
49592014-10-13 Doug Evans <dje@google.com>
4960
4961 * gdb.python/py-objfile.exp: Change name of file name test.
4962
e5c6e92b
DE
49632014-10-13 Doug Evans <dje@google.com>
4964
4965 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4966 from the start of the CU.
4967
c780cc2f
JK
49682014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4969 Yao Qi <yao@codesourcery.com>
4970
4971 Fix "save breakpoints" for "catch" command.
4972 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4973 Remove -nonewline. Match also the added "main" line.
4974
99894e11
JK
49752014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4976
4977 Fix "save breakpoints" for "disable $bpnum" command.
4978 * gdb.base/save-bp.c (main): Add label.
4979 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4980
6e1ac5a3
JK
49812014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4982
4983 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4984
754dd2b0
YQ
49852014-10-11 Yao Qi <yao@codesourcery.com>
4986
4987 * gdb.server/server-kill.exp: Execute command
4988 "set remote trace-status-packet on" before "tstatus".
4989
f90183d7
YQ
49902014-10-11 Yao Qi <yao@codesourcery.com>
4991
4992 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4993 (main): Call getppid.
4994 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4995 and continue to it. Read variable "server_pid".
4996
bf40a607
YQ
49972014-10-11 Yao Qi <yao@codesourcery.com>
4998
4999 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5000
052ca370
YQ
50012014-10-11 Yao Qi <yao@codesourcery.com>
5002
5003 * gdb.threads/thread-find.exp: Don't execute command
5004 "info threads".
5005 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5006 * gdb.threads/linux-dp.exp: Don't check the condition
5007 $threads_created equals to zero.
5008
3831839c
PA
50092014-10-10 Pedro Alves <palves@redhat.com>
5010
5011 * gdb.base/bigcore.exp: Remove references to IRIX.
5012 * gdb.base/funcargs.exp: Likewise.
5013 * gdb.base/interrupt.exp: Likewise.
5014 * gdb.base/mips_pro.exp: Likewise.
5015 * gdb.base/nodebug.exp: Likewise.
5016 * gdb.base/setvar.exp: Likewise.
5017 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5018
8b9a549d
PA
50192014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5020 Pedro Alves <palves@redhat.com>
5021
5022 PR symtab/14466
5023 * gdb.base/vdso-warning.c: New file.
5024 * gdb.base/vdso-warning.exp: New file.
5025
d48ba5e8
DE
50262014-10-02 Doug Evans <dje@google.com>
5027
5028 * gdb.base/structs.c (main): Don't run forever.
5029
2278c276
PA
50302014-10-02 Pedro Alves <palves@redhat.com>
5031
5032 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5033 (top level) <stop threads 1, stop threads 2>: Use it.
5034
b57bacec
PA
50352014-10-02 Pedro Alves <palves@redhat.com>
5036
5037 * gdb.threads/break-while-running.exp (test): Add new
5038 'update_thread_list' argument. Skip "info threads" if false.
5039 (top level): Add new 'update_thread_list' axis.
5040
13fd3ff3
PA
50412014-10-02 Pedro Alves <palves@redhat.com>
5042
5043 PR breakpoints/17431
5044 * gdb.base/execl-update-breakpoints.c: New file.
5045 * gdb.base/execl-update-breakpoints.exp: New file.
5046
0fec99e8
PA
50472014-10-01 Pedro Alves <palves@redhat.com>
5048
5049 * gdb.base/breakpoint-in-ro-region.c: New file.
5050 * gdb.base/breakpoint-in-ro-region.exp: New file.
5051
2ddf4301
SM
50522014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5053
5054 * gdb.mi/mi-exit-code.exp: New file.
5055 * gdb.mi/mi-exit-code.c: New file.
5056
6a5f3f43
YQ
50572014-09-30 Yao Qi <yao@codesourcery.com>
5058
5059 * lib/prelink-support.exp (build_executable_own_libs): Error if
5060 the target isn't native.
5061
345bcc73
YQ
50622014-09-30 Yao Qi <yao@codesourcery.com>
5063
5064 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5065 false.
5066
a25a5a45
PA
50672014-09-22 Pedro Alves <palves@redhat.com>
5068
5069 * gdb.threads/break-while-running.exp: New file.
5070 * gdb.threads/break-while-running.c: New file.
5071
00ba3162
YQ
50722014-09-19 Yao Qi <yao@codesourcery.com>
5073
5074 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5075 Invoke test. Restart GDB with --readnow and invoke test again.
5076
c3b7b696
YQ
50772014-09-19 Yao Qi <yao@codesourcery.com>
5078
5079 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5080 proc set_breakpoint_on_gcd_function. Invoke
5081 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5082 invoke set_breakpoint_on_gcd_function again.
5083
2b4fd423
DE
50842014-09-18 Doug Evans <dje@google.com>
5085
5086 * gdb.dwarf2/symtab-producer.exp: New file.
5087
a5947601
SDJ
50882014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5089
5090 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5091 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5092 * gdb.base/global-var-nested-by-dso.c: Likewise.
5093 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5094
91c19059
SDJ
50952014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5096 Pedro Alves <palves@redhat.com>
5097
5098 * gdb.base/watch-bitfields.exp: Pass string other than test file
5099 name to prepare_for_testing.
5100 (watch): New procedure.
5101 (expect_watchpoint): Use with_test_prefix.
5102 (top level): Factor out tests to ...
5103 (test_watch_location, test_regular_watch): ... these new
5104 procedures, and use with_test_prefix and gdb_continue_to_end.
5105
bb9d5f81
PP
51062014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5107
5108 PR breakpoints/12526
5109 * gdb.base/watch-bitfields.exp: New file.
5110 * gdb.base/watch-bitfields.c: New file.
5111
635856f5
PA
51122014-09-16 Pedro Alves <palves@redhat.com>
5113
5114 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5115 software and hardware addresses, not software address against
5116 itself.
5117
7280ceea
PA
51182014-09-16 Pedro Alves <palves@redhat.com>
5119
5120 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5121 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5122
428b16bd
PA
51232014-09-16 Pedro Alves <palves@redhat.com>
5124
5125 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5126 files.
5127 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5128 "*-*-vxworks*" throughout.
5129 * gdb.base/break.exp: Likewise.
5130 * gdb.base/default.exp: Likewise.
5131 * gdb.base/scope.exp: Likewise.
5132 * gdb.base/sepdebug.exp: Likewise.
5133 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5134 throughout.
5135 * gdb.base/run.c: Likewise.
5136 * gdb.base/sepdebug.c: Likewise.
5137 * gdb.hp/gdb.aCC/run.c: Likewise.
5138 * gdb.reverse/until-reverse.c: Likewise.
5139 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5140
666d413c
YQ
51412014-09-16 Yao Qi <yao@codesourcery.com>
5142
5143 * boards/local-remote-host-native.exp: New file.
5144
57cbd724
DE
51452014-09-14 Doug Evans <xdje42@gmail.com>
5146
5147 * gdb.threads/queue-signal.c (thread_count): New variable.
5148 (thread_count_mutex, thread_count_condvar): New variables.
5149 (incr_thread_count, wait_all_threads_running): New functions.
5150 (main): Wait for all threads to be in their thread functions.
5151
81219e53
DE
51522014-09-13 Doug Evans <xdje42@gmail.com>
5153
5154 * gdb.threads/queue-signal.c: New file.
5155 * gdb.threads/queue-signal.exp: New file.
5156
3714cea7
DE
51572014-09-13 Doug Evans <xdje42@gmail.com>
5158
5159 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5160 be consistent with what default_gdb_init uses.
5161 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5162 the plain text of the prompt. Add some logging printfs.
5163 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5164
fa43b1d7
PA
51652014-09-12 Pedro Alves <palves@redhat.com>
5166
5167 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5168 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5169 * gdb.arch/i386-size-overlap.exp: Likewise.
5170 * gdb.arch/i386-size.exp: Likewise.
5171 * gdb.arch/i386-unwind.exp: Likewise.
5172 * gdb.base/a2-run.exp: Likewise.
5173 * gdb.base/break.exp: Likewise.
5174 * gdb.base/charset.exp: Likewise.
5175 * gdb.base/chng-syms.exp: Likewise.
5176 * gdb.base/commands.exp: Likewise.
5177 * gdb.base/dbx.exp: Likewise.
5178 * gdb.base/find.exp: Likewise.
5179 * gdb.base/funcargs.exp: Likewise.
5180 * gdb.base/jit-simple.exp: Likewise.
5181 * gdb.base/reread.exp: Likewise.
5182 * gdb.base/sepdebug.exp: Likewise.
5183 * gdb.base/step-bt.exp: Likewise.
5184 * gdb.cp/mb-inline.exp: Likewise.
5185 * gdb.cp/mb-templates.exp: Likewise.
5186 * gdb.objc/basicclass.exp: Likewise.
5187 * gdb.threads/killed.exp: Likewise.
5188
9d9bf2df
EBM
51892014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5190
5191 PR tdep/17379
5192 * gdb.arch/powerpc-stackless.S: New file.
5193 * gdb.arch/powerpc-stackless.exp: New file.
5194
1cf2f1b0
JK
51952014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5196
5197 * gdb.base/attach.c: Include unistd.h.
5198 (main): Call alarm. Add label postloop.
5199 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5200 gdb_breakpoint, gdb_continue_to_breakpoint.
5201 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5202
98880d46
PA
52032014-09-11 Pedro Alves <palves@redhat.com>
5204
5205 PR gdb/17347
5206 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5207 * gdb.base/attach.exp (test_command_line_attach_run): New
5208 procedure.
5209 (top level): Call it.
5210
4c92ff2c
PA
52112014-09-11 Pedro Alves <palves@redhat.com>
5212
5213 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5214 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5215 (do_command_attach_tests): Use spawn_wait_for_attach.
5216 * gdb.base/solib-overlap.exp: Likewise.
5217 * gdb.multi/multi-attach.exp: Likewise.
5218 * gdb.python/py-prompt.exp: Likewise.
5219 * gdb.python/py-sync-interp.exp: Likewise.
5220 * gdb.server/ext-attach.exp: Likewise.
5221
3adc1a7d
GKB
52222014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5223
5224 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5225 command in testcase. Simplify testcase.
5226
96334934
JB
52272014-09-10 Joel Brobecker <brobecker@adacore.com>
5228
5229 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5230
eb479039
JB
52312014-09-10 Joel Brobecker <brobecker@adacore.com>
5232
5233 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5234
deede10c
JB
52352014-09-10 Joel Brobecker <brobecker@adacore.com>
5236
5237 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5238
7828a5f5
JB
52392014-09-10 Joel Brobecker <brobecker@adacore.com>
5240
5241 * gdb.dwarf2/dynarr-ptr.c: New file.
5242 * gdb.dwarf2/dynarr-ptr.exp: New file.
5243
33aeebcf
MR
52442014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5245
5246 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5247 of 30 rather than hardcoding 120 for a slow test case. Take the
5248 `gdb,timeout' target setting into account for this calculation.
5249 Don't extend the timeout for the test cases that don't need it.
5250
7b415901
MR
52512014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5252
5253 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5254 a factor of 2 for a slow test case. Take the `gdb,timeout'
5255 target setting into account for this calculation.
5256 * gdb.reverse/until-precsave.exp: Increase the timeout by
5257 a factor of 15 and 3 respectively rather than adding 120
5258 for a pair of slow test cases. Take the `gdb,timeout'
5259 target setting into account for this calculation.
5260
4a40f85a
MR
52612014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5262
5263 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5264 timeout, don't pass one down to gdb_expect.
5265 (gdb_expect): Rework timeout selection.
5266
09635af7
MR
52672014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5268
5269 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5270 exception on timeout.
5271 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5272 (gdbserver_start_extended): Catch any `gdbserver_start' error
5273 exceptions.
5274 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5275 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5276 `gdbserver_gdb_load' error exceptions.
5277
2bdd10b7
MR
52782014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5279
5280 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5281 120 on waiting for the TCP socket to open.
5282
316935f0
DE
52832014-09-09 Doug Evans <xdje42@gmail.com>
5284
5285 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5286 _caller_matches, _any_caller_is, _any_caller_matches.
5287
83740597
DE
52882014-09-09 Doug Evans <xdje42@gmail.com>
5289
5290 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5291
4c122fc3
YQ
52922014-09-09 Yao Qi <yao@codesourcery.com>
5293
5294 * gdb.mi/mi-var-display.exp: Set print symbol off.
5295
a9f116cb
GKB
52962014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5297
5298 PR gdb/17035
5299 * gdb.base/commands.exp: Add tests to verify user-defined
5300 commands with empty bodies.
5301 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5302 python commands in `show user command`.
5303 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5304 scheme commands in `show user command`.
5305
c75bd3a2
JK
53062014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5307
5308 PR python/17355
5309 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5310 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5311 * gdb.python/py-framefilter-invalidarg.exp: New file.
5312 * gdb.python/py-framefilter-invalidarg.py: New file.
5313
faa42425
DE
53142014-09-06 Doug Evans <xdje42@gmail.com>
5315
5316 PR 15276
5317 * gdb.python/py-caller-is.c: New file.
5318 * gdb.python/py-caller-is.exp: New file.
5319
474ca4f6
SDJ
53202014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5321
5322 PR gdb/17235
5323 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5324 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5325
eb0b0463
SDJ
53262014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5327
5328 PR fortran/17237
5329 * gdb.fortran/print-formatted.exp: New file.
5330 * gdb.fortran/print-formatted.f90: Likewise.
5331
5f3b99cf
SS
53322014-09-03 Sasha Smundak <asmundak@google.com>
5333
5334 * gdb.python/py-frame.exp: Test Frame.read_register.
5335
7d793aa9
SDJ
53362014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5337
5338 PR python/16699
5339 * gdb.python/py-completion.exp: New file.
5340 * gdb.python/py-completion.py: Likewise.
5341
fb0576e9
DE
53422014-08-28 Doug Evans <dje@google.com>
5343
5344 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5345 eax,etc. are live with values set by gdb and thus the compiler can't
5346 use them.
5347 * gdb.arch/i386-pseudo.c (main): Ditto.
5348
ee92b0dd
DE
53492014-08-27 Doug Evans <dje@google.com>
5350
5351 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5352
6649db35
DE
53532014-08-25 Doug Evans <dje@google.com>
5354
5355 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5356 (main): Ditto.
5357
564b7600
DE
53582014-08-25 Doug Evans <dje@google.com>
5359
5360 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5361
3881fb67
YQ
53622014-08-24 Yao Qi <yao@codesourcery.com>
5363
5364 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5365 symbol off.
5366 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5367
a05a36a5
DE
53682014-08-22 Doug Evans <dje@google.com>
5369
5370 PR 17276
5371 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5372 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5373 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5374
7c343b48
YQ
53752014-08-22 Yao Qi <yao@codesourcery.com>
5376
5377 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5378 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5379 * gdb.python/python.exp: Likewise. Use .py file on the host
5380 instead of the build.
5381
22fd09ae
JK
53822014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5383
5384 * gdb.threads/gcore-stale-thread.c: New file.
5385 * gdb.threads/gcore-stale-thread.exp: New file.
5386
a8454a7c
PA
53872014-08-21 Pedro Alves <palves@redhat.com>
5388
5389 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5390 * gdb.base/gcore-relro-pie.exp: Likewise.
5391 * gdb.base/gcore-relro.exp: Likewise.
5392 * gdb.base/gcore.exp: Likewise.
5393 * gdb.base/print-symbol-loading.exp: Likewise.
5394 * gdb.threads/gcore-thread.exp: Likewise.
5395 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5396
2a31c623
PA
53972014-08-20 Pedro Alves <palves@redhat.com>
5398 Jan Kratochvil <jan.kratochvil@redhat.com>
5399
5400 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5401 configure.
5402 (EXPECT): Handle READ1 being set.
5403 (all): Depend on EXTRA_RULES.
5404 (check-read1, expect-read1, read1.so, read1): New rules.
5405 * README (Testsuite Parameters): Document the READ1 make variable.
5406 (Race detection): New section.
5407 * configure: Regenerate.
5408 * configure.ac: If build==host==target, and running under a
5409 GNU/glibc system, add read1 to the extra Makefile rules.
5410 (EXTRA_RULES): AC_SUBST it.
5411 * lib/read1.c: New file.
5412
d36430db
JB
54132014-08-20 Joel Brobecker <brobecker@adacore.com>
5414
5415 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5416 the handling of variables declared as a typedef to an array
5417 which a DW_AT_data_location attribute.
5418
9a0dc9e3
PA
54192014-08-19 Andrew Burgess <aburgess@broadcom.com>
5420 Pedro Alves <palves@redhat.com>
5421
5422 PR symtab/14604
5423 PR symtab/14605
5424 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5425 gdb_test.
5426
0718a8da
PA
54272014-08-19 Pedro Alves <palves@redhat.com>
5428
5429 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5430
13b448cd
YQ
54312014-08-19 Yao Qi <yao@codesourcery.com>
5432
5433 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5434 right line.
5435
1cbf5077
DB
54362014-08-18 David Blaikie <dblaikie@gmail.com>
5437
5438 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5439
bf0fae19
JB
54402014-08-18 Joel Brobecker <brobecker@adacore.com>
5441
5442 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5443 attribute in array range.
5444
3c8c5dcc
JB
54452014-08-18 Joel Brobecker <brobecker@adacore.com>
5446
5447 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5448
e66d4446
SC
54492014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5450
5451 PR c++/17132
5452 * gdb.cp/pr17132.cc: New file.
5453 * gdb.cp/pr17132.exp: New file.
5454
940df408
SC
54552014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5456
5457 * gdb.python/py-xmethods.py (A_getarrayind)
5458 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5459 Use 'print' with function call syntax.
5460 (E_method_matcher.match): Fix tab vs space indentation mixup.
5461
ebcc6c3a
YQ
54622014-08-15 Yao Qi <yao@codesourcery.com>
5463
5464 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5465 false.
5466
775e0f04
YQ
54672014-08-15 Yao Qi <yao@codesourcery.com>
5468
5469 * gdb.cp/casts.exp: Set print symbol off.
5470 * gdb.cp/class2.exp: Likewise.
5471 * gdb.cp/overload.exp: Likewise.
5472 * gdb.cp/templates.exp: Likewise.
5473
d769e349
DE
54742014-08-11 Doug Evans <dje@google.com>
5475
5476 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5477 (test_load_shlib): Update.
5478
20c6f1e1
YQ
54792014-08-09 Yao Qi <yao@codesourcery.com>
5480
5481 * gdb.base/display.exp: Invoke is_address_zero_readable.
5482 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5483 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5484 * gdb.base/hbreak-unmapped.exp: Return if
5485 is_address_zero_readable returns true.
5486 * gdb.base/signest.exp: Likewise.
5487 * gdb.base/signull.exp: Likewise.
5488 * gdb.base/sigbpt.exp: Likewise.
5489 * gdb.guile/scm-disasm.exp: Do the test if
5490 is_address_zero_readable returns false.
5491 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5492 * gdb.python/py-arch.exp: Likewise.
5493 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5494 * lib/gdb.exp (is_address_zero_readable): New proc.
5495
5792e8e3
YQ
54962014-08-09 Yao Qi <yao@codesourcery.com>
5497
5498 PR testsuite/13443
5499 * gdb.mi/mi-var-display.exp: Make test messages unique.
5500
3cecbbbe
TT
55012014-08-04 Tom Tromey <tromey@redhat.com>
5502
5503 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5504 target 0".
5505
00b51ff5
TT
55062014-08-04 Tom Tromey <tromey@redhat.com>
5507
5508 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5509 "target_resume".
5510
6908c509
JB
55112014-08-01 Joel Brobecker <brobecker@adacore.com>
5512
5513 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5514 inner_vla_struct_object_size.
5515 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5516 as xfail.
5517
cc6563d2
PA
55182014-07-30 Pedro Alves <palves@redhat.com>
5519
5520 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5521 comment.
5522
7e09a223
YQ
55232014-07-29 Yao Qi <yao@codesourcery.com>
5524
5525 PR gdb/17206
5526 * gdb.base/until-nodebug.exp: New.
5527
7ebdbe92
DE
55282014-07-28 Doug Evans <xdje42@gmail.com>
5529
5530 PR guile/17203
5531 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5532 previously existing parameter, and previously ambiguously spelled
5533 parameter.
5534
fdb1adc6
WN
55352014-07-28 Will Newton <will.newton@linaro.org>
5536
5537 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5538
186fcde0
DE
55392014-07-26 Ludovic Courtès <ludo@gnu.org>
5540 Doug Evans <xdje42@gmail.com>
5541
5542 PR guile/17146
5543 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5544
70509625
PA
55452014-07-25 Pedro Alves <palves@redhat.com>
5546
5547 * gdb.threads/signal-command-handle-nopass.c: New file.
5548 * gdb.threads/signal-command-handle-nopass.exp: New file.
5549 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5550 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5551 * gdb.threads/signal-delivered-right-thread.c: New file.
5552 * gdb.threads/signal-delivered-right-thread.exp: New file.
5553
c3f814a1
PA
55542014-07-25 Pedro Alves <palves@redhat.com>
5555
5556 * gdb.base/double-prompt-target-event-error.exp
5557 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5558 match.
5559 (cancel_pagination_in_target_event): Rework double prompt
5560 detection.
5561 * gdb.base/paginate-after-ctrl-c-running.exp
5562 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5563 <return>' match.
5564 * gdb.base/paginate-bg-execution.exp
5565 (test_bg_execution_pagination_return)
5566 (test_bg_execution_pagination_cancel): Remove '-notransfer
5567 <return>' matches.
5568 * gdb.base/paginate-execution-startup.exp
5569 (test_fg_execution_pagination_return)
5570 (test_fg_execution_pagination_cancel): Remove '-notransfer
5571 <return>' matches.
5572 * gdb.base/paginate-inferior-exit.exp
5573 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5574 match.
5575 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5576 * lib/gdb.exp (pagination_prompt): Run text through
5577 string_to_regexp.
5578 (gdb_test_multiple): Match $pagination_prompt instead of
5579 "<return>".
5580 (string_to_regexp): Move to lib/gdb-utils.exp.
5581
e214cf6c
JK
55822014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5583
5584 * gdb.arch/amd64-entry-value-paramref.S: New file.
5585 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5586 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5587 * gdb.arch/amd64-optimout-repeat.S: New file.
5588 * gdb.arch/amd64-optimout-repeat.c: New file.
5589 * gdb.arch/amd64-optimout-repeat.exp: New file.
5590
17d0c5c8
JK
55912014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5592
5593 PR gdb/17170
5594 * gdb.base/statistics.exp: New file.
5595
b8b8facf
DE
55962014-07-17 Doug Evans <dje@google.com>
5597
74b49205 5598 PR gdb/17170
b8b8facf
DE
5599 * gdb.base/maint.exp: Update testing of per-command stats.
5600
1b5d0ab3
PA
56012014-07-16 Pedro Alves <palves@redhat.com>
5602
5603 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5604 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5605 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5606 (tfile_write_buf): New functions.
5607 (add_memory_block): Rewrite using the above.
5608 (adjust_function_address): New function.
5609 (FUNCTION_ADDRESS): New macro.
5610 (write_basic_trace_file): Remove short_x local, and use
5611 tfile_write_16. Change type of func_addr local to unsigned long
5612 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5613 here. Cast argument of add_memory_block to char pointer.
5614 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5615 (main): Remove parameters.
5616 * gdb.trace/tfile.exp: Remove nowarnings.
5617
4d974e88
SM
56182014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5619
5620 * gdb.base/debug-expr.exp: Test string evaluation with
5621 "debug expression" on.
5622
41e99568
PA
56232014-07-15 Pedro Alves <palves@redhat.com>
5624
5625 * gdb.base/reread.exp: Use clean_restart.
5626
487d9753
PL
56272014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5628
5629 * gdb.arch/avr-flash-qualifer.c: New.
5630 * gdb.arch/avr-flash-qualifer.exp: New.
5631
cc1c52ad
PA
56322014-07-14 Pedro Alves <palves@redhat.com>
5633
5634 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5635 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5636
1e973570
PA
56372014-07-14 Pedro Alves <palves@redhat.com>
5638
5639 * gdb.base/double-prompt-target-event-error.c: New file.
5640 * gdb.base/double-prompt-target-event-error.exp: New file.
5641
93d6eb10
PA
56422014-07-14 Pedro Alves <palves@redhat.com>
5643
5644 PR gdb/17072
5645 * gdb.base/paginate-inferior-exit.c: New file.
5646 * gdb.base/paginate-inferior-exit.exp: New file.
5647
0017922d
PA
56482014-07-14 Pedro Alves <palves@redhat.com>
5649
5650 PR gdb/17072
5651 * gdb.base/paginate-bg-execution.c: New file.
5652 * gdb.base/paginate-bg-execution.exp: New file.
5653
94696ad3
PA
56542014-07-14 Pedro Alves <palves@redhat.com>
5655
5656 PR gdb/17072
5657 * gdb.base/paginate-execution-startup.c: New file.
5658 * gdb.base/paginate-execution-startup.exp: New file.
5659 * lib/gdb.exp (pagination_prompt): New global.
5660 (default_gdb_spawn): New procedure, factored out from
5661 default_gdb_spawn.
5662 (default_gdb_start): Adjust to call default_gdb_spawn.
5663 (gdb_spawn): New procedure.
5664
bd293940
PA
56652014-07-14 Pedro Alves <palves@redhat.com>
5666
5667 * lib/gdb.exp (gdb_assert): New procedure.
5668 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5669
c933f875
PA
56702014-07-14 Pedro Alves <palves@redhat.com>
5671
5672 * gdb.base/execution-termios.c: New file.
5673 * gdb.base/execution-termios.exp: New file.
5674
d98b7a16
TT
56752014-07-14 Tom Tromey <tromey@redhat.com>
5676
5677 * gdb.cp/vla-cxx.cc: New file.
5678 * gdb.cp/vla-cxx.exp: New file.
5679
548740d6
TT
56802014-07-14 Tom Tromey <tromey@redhat.com>
5681
5682 * gdb.reverse/rerun-prec.c: New file.
5683 * gdb.reverse/rerun-prec.exp: New file.
5684
a25eb028
MR
56852014-07-12 Maciej W. Rozycki <macro@mips.com>
5686 Maciej W. Rozycki <macro@codesourcery.com>
5687
5688 * lib/gdb-utils.exp: New file.
5689 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5690 inline `gdb_init_command' processing.
5691 (gdb_start_cmd): Likewise.
5692 * lib/mi-support.exp (mi_run_cmd): Likewise.
5693 * README: Document `gdb_init_command' and `gdb_init_commands'.
5694
218c2655
JK
56952014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5696
5697 Fix false FAIL running under a very long directory name.
5698 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5699 and "set print elements 10000". Twice.
5700
5401fde3
YQ
57012014-07-11 Yao Qi <yao@codesourcery.com>
5702
5703 * gdb.base/exprs.exp: "set print symbol off".
5704
e76126e8
PA
57052014-07-11 Pedro Alves <palves@redhat.com>
5706
5707 * gdb.threads/kill.c: New file.
5708 * gdb.threads/kill.exp: New file.
5709
2d6f0de6
YQ
57102014-07-10 Yao Qi <yao@codesourcery.com>
5711
5712 * gdb.trace/tfile.c (write_basic_trace_file)
5713 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5714 address written to trace file.
5715
7180e04a
PA
57162014-07-09 Pedro Alves <palves@redhat.com>
5717
5718 * gdb.base/attach-wait-input.exp: New file.
5719 * gdb.base/attach-wait-input.c: New file.
5720
9a9a7608
AB
57212014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5722
5723 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5724 setting up test structures.
5725 (main): Call new test function.
5726 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5727 test function, continue into test function and walk test
5728 structures.
5729
161ac41e
YQ
57302014-07-02 Yao Qi <yao@codesourcery.com>
5731
5732 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5733 'bar_start' at the beginning of functions 'foo' and 'bar'
5734 respectively.
5735 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5736 instead of 'foo' and 'bar'.
5737
1f267ae3
MM
57382014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5739
5740 * gdb.btrace/segv.exp: New.
5741 * gdb.btrace/segv.c: New.
5742
2b239efb
LM
57432014-07-02 Luis Machado <lgustavo@codesourcery.com>
5744
5745 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5746 instruction.
5747
cf363f18
MW
57482014-06-30 Mark Wielaard <mjw@redhat.com>
5749
5750 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5751 vulture, vilify, villar): New volatile array constants.
5752 (vindictive, vegetation): New const volatile array constants.
5753 * gdb.base/volatile.exp: Test volatile and const volatile array
5754 types.
5755
aebf9d24
AA
57562014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5757
5758 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5759 target lacks support for awatch, rwatch, or hbreak.
5760
b67a2c6f
YQ
57612014-06-27 Yao Qi <yao@codesourcery.com>
5762
5763 * gdb.multi/dummy-frame-restore.exp: New.
5764 * gdb.multi/dummy-frame-restore.c: New.
5765
aef92902
MM
57662014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5767
5768 * gdb.btrace/gcore.exp: New.
5769
8e9db26e
PA
57702014-06-23 Pedro Alves <palves@redhat.com>
5771
5772 * gdb.base/watchpoint-reuse-slot.c: New file.
5773 * gdb.base/watchpoint-reuse-slot.exp: New file.
5774
70afc5b7
SC
57752014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5776
5777 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5778 progspace's filename in 'info', 'enable' and 'disable' command
5779 tests.
5780
b972bd9c
JK
57812014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5782
5783 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5784 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5785 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5786
125f8a3d
GB
57872014-06-20 Gary Benson <gbenson@redhat.com>
5788
5789 * gdb.arch/i386-avx.exp: Fix include file location.
5790 * gdb.arch/i386-sse.exp: Likewise.
5791
3ed9baed
IB
57922014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5793
5794 * gdb.dlang/expression.exp: New file.
5795
034f788c
PA
57962014-06-19 Pedro Alves <palves@redhat.com>
5797
5798 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5799 out from ...
5800 (top level): ... here. Iterate running tests under different
5801 scheduler-locking settings.
5802
45371d0c
LM
58032014-06-18 Luis Machado <lgustavo@codesourcery.com>
5804
5805 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5806 to DW_FORM_addr and use non-zero addresses.
5807
5d376983
SC
58082014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5809
5810 PR gdb/17017
5811 * gdb.python/py-xmethods.cc: Add global function call counters and
5812 increment them in their respective functions. Remove "cout"
5813 statements.
5814 * gdb.python/py-xmethods.exp: Make tests check the global function
5815 call counters instead of depending on inferior IO.
5816
a1aa2221
LM
58172014-06-18 Don Breazeal <donb@codesourcery.com>
5818
5819 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5820 Deleted procedure.
5821 (explicit_fork_parent_follow): Deleted procedure.
5822 (explicit_fork_child_follow): Deleted procedure.
5823 (test_follow_fork): New procedure.
5824 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5825 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5826 procedure calls.
5827
0fc05997
YQ
58282014-06-17 Yao Qi <yao@codesourcery.com>
5829
5830 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5831 CP1252.
5832
70795c52
LM
58332014-06-17 Luis Machado <lgustavo@codesourcery.com>
5834
5835 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5836 Initialize ptr and S explicitly.
5837 (skip_type_update_when_not_use_rtti_test): Likewise.
5838
6be47f0c
KS
58392014-06-16 Keith Seitz <keiths@redhat.com>
5840
5841 PR mi/15863
5842 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5843 the inferior is started.
5844
d03de421
PA
58452014-06-16 Pedro Alves <palves@redhat.com>
5846
5847 * gdb.base/break-main-file-remove-fail.c: New file.
5848 * gdb.base/break-main-file-remove-fail.exp: New file.
5849 * gdb.base/break-unload-file.exp: Use build_executable instead of
5850 prepare_for_testing.
5851 (test_break): New parameter "initial_load". Handle it.
5852 (top level): Add initial_load cmdline/file axis.
5853
f9579b99
TT
58542014-06-12 Tom Tromey <tromey@redhat.com>
5855
5856 * gdb.base/completion.exp: Don't use directory name in test.
5857
3657956b
GB
58582014-06-09 Gary Benson <gbenson@redhat.com>
5859
5860 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5861 separate the always-available ANSI-standard signals from the
5862 signals that require checking.
5863 (main): Likewise.
5864 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5865 Likewise.
5866 (main): Likewise.
5867
4186eb54
KS
58682014-06-07 Keith Seitz <keiths@redhat.com>
5869
5870 Revert:
5871 PR c++/16253
5872 * gdb.cp/var-tag.cc: New file.
5873 * gdb.cp/var-tag.exp: New file.
5874 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5875 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5876 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5877 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5878
25326a28 58792014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
5880
5881 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5882
829155c9
PA
58832014-06-06 Pedro Alves <palves@redhat.com>
5884
5885 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5886 in target debug output instead of looking at RSP packets,
5887 disabling the test on any target that uses hardware stepping.
5888 Update comments.
5889
61c8d22e
PA
58902014-06-06 Pedro Alves <palves@redhat.com>
5891
5892 * gdb.base/break-unload-file.exp: Fix typo.
5893
d9a47287
YQ
58942014-06-06 Yao Qi <yao@codesourcery.com>
5895
5896 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5897 from "jit_function" to "^jit_function".
5898
e5e01dbf
YQ
58992014-06-06 Yao Qi <yao@codesourcery.com>
5900
5901 * gdb.base/async.c (foo): Add one statement.
5902 * gdb.base/async.exp: Get the next instruction address and
5903 match the output of "nexti" by instruction address. Match
5904 the hex address in the output of "finish".
5905
73ba372c
GB
59062014-06-06 Gary Benson <gbenson@redhat.com>
5907
5908 * gdb.base/call-signals.c: Remove preprocessor conditionals
5909 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5910 SIGSEGV and SIGTERM.
5911 * gdb.base/sigall.c: Likewise.
5912 * gdb.base/unwindonsignal.c: Likewise.
5913 * gdb.reverse/sigall-reverse.c: Likewise.
5914
831517df
YQ
59152014-06-06 Yao Qi <yao@codesourcery.com>
5916
5917 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5918 readable, skip the test.
5919
b8b91e98
YQ
59202014-06-06 Yao Qi <yao@codesourcery.com>
5921
5922 * gdb.threads/staticthreads.c (thread_function): Move the line
5923 setting breakpoint on forward.
5924 * gdb.threads/staticthreads.exp: Update comments.
5925
fb934770
LC
59262014-06-05 Ludovic Courtès <ludo@gnu.org>
5927
5928 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5929 "history-append! type error".
5930
6ef284bd
SM
59312014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5932
5933 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5934 erroneous dprintf expected input.
5935
a872e241
DE
59362014-06-04 Doug Evans <xdje42@gmail.com>
5937
5938 * gdb.guile/scm-generics.exp: Delete.
5939
16f691fb
DE
59402014-06-04 Doug Evans <xdje42@gmail.com>
5941
5942 * gdb.guile/scm-breakpoint.exp: Update.
5943 Add tests for breakpoint registration.
5944
012370f6
TT
59452014-06-04 Tom Tromey <tromey@redhat.com>
5946
5947 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5948 VLA-in-union.
5949 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5950 inner_vla_struct, vla_union types. Initialize objects of those
5951 types and compute their sizes.
5952
9f5a4cef
HZ
59532014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5954 Hui Zhu <hui@codesourcery.com>
5955
5956 * gdb.base/fileio.exp: Add test for shell not available as well as
5957 available.
5958 * gdb.base/fileio.c (test_system): Check for shell twice.
5959
90a45c4d
YQ
59602014-06-04 Yao Qi <yao@codesourcery.com>
5961
5962 * gdb.base/auto-connect-native-target.exp: Remove redundant
5963 space from the regexp pattern.
5964
70017e41
YQ
59652014-06-04 Yao Qi <yao@codesourcery.com>
5966
5967 * gdb.base/default.exp: Replace "child" with "native" in
5968 regexp pattern.
5969
883964a7
SC
59702014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5971
5972 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5973 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5974 * gdb.python/py-xmethods.py: Python script supporting the
5975 new testcase and tests.
5976
ef370185
JB
59772014-06-03 Joel Brobecker <brobecker@adacore.com>
5978 Pedro Alves <palves@redhat.com>
5979
5980 PR breakpoints/17000
5981 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5982 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5983
1e2ccb61
BM
59842014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5985
5986 * gdb.base/subst.exp: Add tests to verify partial path matching
5987 output.
5988
c6ec5ab2
PA
59892014-06-03 Pedro Alves <palves@redhat.com>
5990
5991 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5992 target that doesn't use software single-stepping.
5993
835c559f
PA
59942014-06-03 Pedro Alves <palves@redhat.com>
5995
5996 PR breakpoints/17000
5997 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5998 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5999
06eb1586
DE
60002014-06-02 Doug Evans <xdje42@gmail.com>
6001
6002 * gdb.guile/scm-parameter.exp: New file.
6003
e698b8c4
DE
60042014-06-02 Doug Evans <xdje42@gmail.com>
6005
6006 * gdb.guile/scm-cmd.c: New file.
6007 * gdb.guile/scm-cmd.exp: New file.
6008
ded03782
DE
60092014-06-02 Doug Evans <xdje42@gmail.com>
6010
6011 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6012 pretty-printer lookup.
6013 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6014 (make-pp_s-printer): Call it.
6015 (make-pretty-printer-from-dict): New function.
6016 (lookup-pretty-printer-maker-from-dict): New function.
6017 (*pretty-printer*): Simplify.
6018 (make-objfile-pp_s-printer): New function.
6019 (install-objfile-pretty-printers!): New function.
6020 (make-progspace-pp_s-printer): New function.
6021 (install-progspace-pretty-printers!): New function.
6022 * gdb.guile/scm-progspace.c: New file.
6023 * gdb.guile/scm-progspace.exp: New file.
6024
41fac0cf
PA
60252014-06-02 Pedro Alves <palves@redhat.com>
6026
6027 * gdb.base/dprintf-bp-same-addr.c: New file.
6028 * gdb.base/dprintf-bp-same-addr.exp: New file.
6029
96ae5695
EBM
60302014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6031
6032 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6033 * gdb.arch/powerpc-power.s: Likewise.
6034
da02b3a8
JB
60352014-06-02 Joel Brobecker <brobecker@adacore.com>
6036
6037 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6038
c72b2e7b
YQ
60392014-06-01 Yao Qi <yao@codesourcery.com>
6040
6041 * gdb.base/watchpoint.exp (test_watch_location): Check null
6042 pointer can be dereferenced. If not, do the test, otherwise
6043 skip it.
6044
53e8a631
AB
60452014-05-30 Andrew Burgess <aburgess@broadcom.com>
6046
6047 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6048 results.
6049 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6050
938f0e2f
AB
60512014-05-30 Andrew Burgess <aburgess@broadcom.com>
6052
6053 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6054 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6055 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6056 * gdb.arch/amd64-invalid-stack-top.c: New file.
6057 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6058
9ba6657a
PA
60592014-05-30 Pedro Alves <palves@redhat.com>
6060
6061 PR breakpoints/17000
6062 * gdb.base/sss-bp-on-user-bp.c: New file.
6063 * gdb.base/sss-bp-on-user-bp.exp: New file.
6064
522c09bf
DB
60652014-05-30 David Blaikie <dblaikie@gmail.com>
6066
6067 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6068 gnu_inline semantics via attribute.
6069 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6070 source explicitly specifies the required semantics.
6071
bf4ef81e
MR
60722014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6073
6074 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6075
329ea579
PA
60762014-05-29 Pedro Alves <palves@redhat.com>
6077 Tom Tromey <tromey@redhat.com>
6078
6079 * gdb.base/async-shell.exp: Don't enable target-async.
6080 * gdb.base/async.exp
6081 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6082 parameter. Adjust.
6083 (top level): Don't test with "target-async".
6084 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6085 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6086 * gdb.base/inferior-died.exp: Don't enable target-async.
6087 * gdb.base/interrupt-noterm.exp: Likewise.
6088 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6089 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6090 * gdb.mi/mi-nonstop.exp: Likewise.
6091 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6092 * gdb.mi/mi-nsintrall.exp: Likewise.
6093 * gdb.mi/mi-nsmoribund.exp: Likewise.
6094 * gdb.mi/mi-nsthrexec.exp: Likewise.
6095 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6096 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6097 * gdb.python/py-evsignal.exp: Don't enable target-async.
6098 * gdb.python/py-evthreads.exp: Likewise.
6099 * gdb.python/py-prompt.exp: Likewise.
6100 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6101 * gdb.server/solib-list.exp: Don't enable target-async.
6102 * gdb.threads/thread-specific-bp.exp: Likewise.
6103 * lib/mi-support.exp: Adjust to use mi-async.
6104
fd664c91
PA
61052014-05-29 Pedro Alves <palves@redhat.com>
6106
6107 PR gdb/13860
6108 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6109 reason, even in sync mode.
6110
251bde03
PA
61112014-05-29 Pedro Alves <palves@redhat.com>
6112 Hui Zhu <hui@codesourcery.com>
6113
6114 PR PR15693
6115 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6116 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6117 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6118 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6119
7f3c0343
JB
61202014-05-28 Joel Brobecker <brobecker@adacore.com>
6121
6122 * config/monitor.exp (gdb_target_monitor): Replace use of
6123 "set remotebaud" by "set serial baud".
6124
b2715b27
AW
61252014-05-26 Andy Wingo <wingo@igalia.com>
6126
6127 * gdb.guile/scm-breakpoint.exp:
6128 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6129 properties instead of gdb-object-properties.
6130
498a4489
YQ
61312014-05-26 Yao Qi <yao@codesourcery.com>
6132
6133 * gdb.server/no-thread-db.exp: Specify source file name
6134 explicitly when setting a breakpoint.
6135
589fdceb
MM
61362014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6137
6138 * gdb.btrace/vdso.c: New.
6139 * gdb.btrace/vdso.exp: New.
6140
e9089e05
MM
61412014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6142
6143 * gdb.base/gcore.exp (capture_command_output): Move ...
6144 * lib/gdb.exp (capture_command_output): ... here.
6145
67b5c0c1
MM
61462014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6147
6148 * gdb.btrace/data.exp: Test memory access during btrace replay.
6149
a2199296
SM
61502014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6151
6152 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6153
17b2616c
PA
61542014-05-21 Pedro Alves <palves@redhat.com>
6155
6156 PR gdb/13860
6157 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6158 (top level): Test that output related to execution commands is
6159 sent to the console with CLI commands, but not with MI commands.
6160 Test that breakpoint events are always mirrored to the console.
6161 Also expect the new source line to be output after a "next" in
6162 async mode too. Make it a pass/fail test.
6163 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6164 output.
6165 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6166
5166082f
PA
61672014-05-21 Pedro Alves <palves@redhat.com>
6168
6169 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6170 Use them to test variations of "list" after reaching a breakpoint.
6171 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6172 Test "list" with listsize 10 after reaching a breakpoint.
6173 * gdb.python/python.exp (decode_line current location line
6174 number): Adjust expected line number.
6175
2f25d70f
SM
61762014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6177
6178 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6179 behavior for $args, pass it directly to "run".
6180
ff604a67
MR
61812014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6182
6183 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6184 30000 to 65536.
6185
6a3cb8e8
PA
61862014-05-21 Pedro Alves <palves@redhat.com>
6187
6188 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6189 auto-connect-native-target off".
6190 * gdb.base/auto-connect-native-target.c: New file.
6191 * gdb.base/auto-connect-native-target.exp: New file.
6192
4ebfc96e
PA
61932014-05-21 Pedro Alves <palves@redhat.com>
6194
6195 * gdb.base/default.exp: Test "target native" instead of "target
6196 child".
6197
36d46afb
MW
61982014-05-21 Mark Wielaard <mjw@redhat.com>
6199
6200 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6201
5876f503
JK
62022014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6203
6204 Fix TLS access for -static -pthread.
6205 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6206 <HAVE_TLS> (thread_function, main): Initialize it.
6207 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6208 Add clean_restart.
6209 <$have_tls != "">: Check TLSVAR.
6210
0256a6ac
PA
62112014-05-21 Pedro Alves <palves@redhat.com>
6212
6213 * gdb.base/dcache-line-read-error.c: New.
6214 * gdb.base/dcache-line-read-error.exp: New.
6215
936d2992
PA
62162014-05-20 Pedro Alves <palves@redhat.com>
6217
6218 * gdb.base/compare-sections.c: New file.
6219 * gdb.base/compare-sections.exp: New file.
6220
802e8e6d
PA
62212014-05-20 Pedro Alves <palves@redhat.com>
6222
6223 * gdb.base/break-idempotent.c: New file.
6224 * gdb.base/break-idempotent.exp: New file.
6225
e59fa00f
MM
62262014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6227
6228 * gdb.btrace/nohist.exp: New.
6229
8b696e31
YQ
62302014-05-20 Yao Qi <yao@codesourcery.com>
6231
6232 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6233 gdb.reverse directory and gdb_reverse_timeout exists in board
6234 setting.
6235 * README: Document gdb_reverse_timeout.
6236
73c9764f
YQ
62372014-05-20 Yao Qi <yao@codesourcery.com>
6238
6239 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6240 'test_file_name'. Treat args as a string instead of a list.
6241 (gdb_init): Rename argument 'args' by 'test_file_name'.
6242
f1f4348a
JK
62432014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6244
6245 * gdb.arch/powerpc-power.exp: New file.
6246 * gdb.arch/powerpc-power.s: New file.
6247
0dbe70ce
DE
62482014-05-16 Doug Evans <dje@google.com>
6249
6250 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6251 * gdb.base/completion.exp: Check that all expected files exist
6252 before doing file completion.
0dbe70ce 6253
8d551b02
DE
62542014-05-16 Doug Evans <dje@google.com>
6255
6256 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6257 Update.
6258 (do_syscall_tests_without_xml): Update.
6259
73eb7709
PA
62602014-05-16 Pedro Alves <palves@redhat.com>
6261
6262 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6263 instead of "unknown output after running".
6264
3fae92fc
YQ
62652014-05-16 Yao Qi <yao@codesourcery.com>
6266
6267 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6268 file1.txt from host at the end.
6269 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6270
c2b2ccc5
DE
62712014-05-15 Doug Evans <dje@google.com>
6272
6273 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6274 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6275 loading file. Add test for TU lookup.
6276
8c217a4b
SM
62772014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6278
6279 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6280 calling "-exec-arguments" or "set args" before running the
6281 inferior.
6282
3deb39c6
SM
62832014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6284
6285 * lib/mi-support.exp (mi_expect_stop): Expect message for
6286 inferiors that exit with non-zero exit code.
6287
71a79f8c
YQ
62882014-05-14 Yao Qi <yao@codesourcery.com>
6289
6290 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6291 match absolute path on remote host.
6292 (test_file_list_exec_source_files): Remove "/" from the
6293 pattern.
6294
f23fcd46
YQ
62952014-05-14 Yao Qi <yao@codesourcery.com>
6296
6297 * boards/local-remote-host-notty.exp (${board}_file): New
6298 proc.
6299
9404b58f
KM
63002014-05-07 Kyle McMartin <kyle@redhat.com>
6301
6302 Pushed by Joel Brobecker <brobecker@adacore.com>.
6303 * gdb.arch/aarch64-atomic-inst.c: New file.
6304 * gdb.arch/aarch64-atomic-inst.exp: New file.
6305
5e45f04c
YQ
63062014-05-07 Yao Qi <yao@codesourcery.com>
6307
6308 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6309 in current context" too.
6310
c888a17d
KS
63112014-05-05 Keith Seitz <keiths@redhat.com>
6312
6313 * gdb.linespec/ls-dollar.exp: Add test for linespec
6314 file:convenience_variable.
6315
290a839c
YQ
63162014-05-05 Yao Qi <yao@codesourcery.com>
6317
6318 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6319 traceframes into tfile and ctf trace files. Read data from
6320 trace file and test collected data.
6321 (gdb_collect_locals_test): Likewise.
6322 (gdb_unavailable_registers_test): Likewise.
6323 (gdb_unavailable_floats): Likewise.
6324 (gdb_collect_globals_test): Likewise.
6325 (top-level): Append "ctf" to trace_file_targets if GDB
6326 supports.
6327
b5262cd0
YQ
63282014-05-05 Yao Qi <yao@codesourcery.com>
6329
6330 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6331 code to ...
6332 (gdb_collect_args_test_1): ... it. New proc.
6333 (gdb_collect_locals_test): Move some code to ...
6334 (gdb_collect_locals_test_1): ... it. New proc.
6335 (gdb_unavailable_registers_test): Move some code to ...
6336 (gdb_unavailable_registers_test_1): ... it. New proc.
6337 (gdb_unavailable_floats): Move some code to ...
6338 (gdb_unavailable_floats_1): ... it. New proc.
6339
30a1e6cc
SDJ
63402014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6341
6342 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6343 probes to test for bitness recognition.
6344 * gdb.arch/amd64-stap-optional-prefix.exp
6345 (test_probe_value_without_reg): New procedure.
6346 Add code to test for different kinds of bitness.
6347
f33da99a
SDJ
63482014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6349
6350 PR breakpoints/16889
6351 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6352 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6353
5b80f00d
PA
63542014-05-01 Pedro Alves <palves@redhat.com>
6355
6356 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6357 gdb_file_cmd if no file is specified.
6358 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6359 last_loaded_file to set the remote exec-file.
6360
f8c2a73c
PA
63612014-05-01 Pedro Alves <palves@redhat.com>
6362
6363 * boards/local-remote-host.exp: New file.
6364
be6e8ac7
PA
63652014-05-01 Pedro Alves <palves@redhat.com>
6366
6367 * boards/local-remote-host.exp: Rename to ...
6368 * boards/local-remote-host-notty.exp: ... this.
6369
cac0dc8f
JB
63702014-04-28 Joel Brobecker <brobecker@adacore.com>
6371
6372 * gdb.ada/dyn_arrayidx: New testcase.
6373
9730e6cc
YQ
63742014-04-26 Yao Qi <yao@codesourcery.com>
6375
6376 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6377 and compute the length of function main. Save it in
6378 $main_length.
6379 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6380 (top-level): Use gdb_compile to compile objects into
6381 executable and restart GDB. Remove invocation to
6382 prepare_for_testing.
6383
7ae1a6a6
PA
63842014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6385 Pedro Alves <palves@redhat.com>
6386
6387 PR server/16255
6388 * gdb.multi/multi-attach.c: New file.
6389 * gdb.multi/multi-attach.exp: New file.
6390
4082afcc
PA
63912014-04-25 Pedro Alves <palves@redhat.com>
6392
6393 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6394 user.
6395 (top level): Test that "set remote conditional-breakpoints-packet
6396 off" works as intended.
6397 * gdb.base/dprintf.exp: Test that "set remote
6398 breakpoint-commands-packet off" works as intended.
6399 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6400 New function.
6401 (top level): Call it.
6402 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6403 remote fast-tracepoints-packet off" works as intended.
6404 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6405 * lib/gdb.exp (gdb_is_target_remote): ... here.
6406
2abc3f8d
DB
64072014-04-24 David Blaikie <dblaikie@gmail.com>
6408
6409 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6410 ensure clang would not discard them.
6411 * gdb.base/gdbvars.c: Ditto.
6412 * gdb.base/memattr.c: Ditto.
6413 * gdb.base/whatis.c: Ditto.
6414 * gdb.python/py-prettyprint.c: Ditto.
6415 * gdb.trace/actions.c: Ditto.
6416 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6417 ensure clang would not discard it.
6418
bfd39632
DB
64192014-04-24 David Blaikie <dblaikie@gmail.com>
6420
6421 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6422 clang to emit the full definition of type required by the test
6423 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6424
22842ff6
DB
64252014-04-24 David Blaikie <dblaikie@gmail.com>
6426
6427 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6428 coax Clang into emitting the definition of the type.
6429 * gdb.cp/pr10728-x.h (y): Ditto.
6430 * gdb.cp/pr10728-y.cc (y): Ditto.
6431
c2e827ad
DB
64322014-04-24 David Blaikie <dblaikie@gmail.com>
6433
6434 * gdb.base/label.exp: XFAIL label related tests under Clang.
6435 * gdb.cp/cplabel.exp: Ditto.
6436 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6437 under Clang those using labels.
6438
4c2d33e7
YQ
64392014-04-25 Yao Qi <yao@codesourcery.com>
6440
6441 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6442 double_label.
6443 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6444 partial_label and double_label.
6445
56083b99
DB
64462014-04-24 David Blaikie <dblaikie@gmail.com>
6447
6448 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6449
25d4e99d
DB
64502014-04-24 David Blaikie <dblaikie@gmail.com>
6451
6452 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6453 of the function to work across GCC and Clang.
6454 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6455 pointer types (const void ** const V void **).
6456
01f9f808
MS
64572014-04-24 Michael Sturm <michael.sturm@mintel.com>
6458 Walfred Tedeschi <walfred.tedeschi@intel.com>
6459
6460 * Makefile.in (EXECUTABLES): Added i386-avx512.
6461 * gdb.arch/i386-avx512.c: New file.
6462 * gdb.arch/i386-avx512.exp: Likewise.
6463
4b48d439
KS
64642014-04-23 Keith Seitz <keiths@redhat.com>
6465
6466 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6467 (mi_make_breakpoint_table): New procedure.
6468 (mi_create_breakpoint): Use mi_make_breakpoint
6469 and return the result.
6470 (mi_make_breakpoint): New procedure.
6471 (mi_build_kv_pairs): New procedure.
6472
6473 * gdb.mi/mi-break.exp: Remove unused globals,
6474 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6475 All callers updated.
6476 * gdb.mi/mi-dprintf.exp: Use variable to track command
6477 number.
6478 Update all callers of mi_create_breakpoint and use
6479 mi_make_breakpoint_table.
6480 Remove any unused global variables.
6481 * gdb.mi/mi-nonstop.exp: Likewise.
6482 * gdb.mi/mi-nsintrall.exp: Likewise.
6483 * gdb.mi/mi-nsmoribund.exp: Likewise.
6484 * gdb.mi/mi-nsthrexec.exp: Likewise.
6485 * gdb.mi/mi-reverse.exp: Likewise.
6486 * gdb.mi/mi-simplerun.exp: Likewise.
6487 * gdb.mi/mi-stepn.exp: Likewise.
6488 * gdb.mi/mi-syn-frame.exp: Likewise.
6489 * gdb.mi/mi-until.exp: Likewise.
6490 * gdb.mi/mi-var-cp.exp: Likewise.
6491 * gdb.mi/mi-var-display.exp: Likewise.
6492 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6493 * gdb.mi/mi2-var-child.exp: Likewise.
6494 * gdb.mi/mi-vla-c99.exp: Likewise.
6495 * lib/mi-support.exp: Likewise.
6496
6497 From Ian Lance Taylor <iant@cygnus.com>:
6498 * lib/gdb.exp (parse_args): New procedure.
6499
08351840
PA
65002014-04-23 Pedro Alves <palves@redhat.com>
6501
6502 * gdb.base/break-unload-file.c: New file.
6503 * gdb.base/break-unload-file.exp: New file.
6504 * gdb.base/sym-file-lib.c (baz): New function.
6505 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6506 field.
6507 (load): Store the segment's mapped size.
6508 (unload): New function.
6509 (unload_shlib): New function.
6510 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6511 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6512 set a breakpoint at baz, and call it.
6513 * gdb.base/sym-file.exp: New tests for stale breakpoint
6514 instructions.
6515
076855f9
PA
65162014-04-23 Pedro Alves <palves@redhat.com>
6517
6518 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6519 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6520 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6521 * gdb.base/hbreak-unmapped.c: New file.
6522 * gdb.base/hbreak-unmapped.exp: New file.
6523 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6524 * lib/gdb.exp (gdb_is_target_remote): ... here.
6525
483805cf
PA
65262014-04-22 Pedro Alves <palves@redhat.com>
6527
6528 * gdb.base/consecutive-step-over.c: New file.
6529 * gdb.base/consecutive-step-over.exp: New file.
6530
06d97543
PA
65312014-04-22 Pedro Alves <palves@redhat.com>
6532
6533 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6534 instead of send_gdb/gdb_expect.
6535
b4429ea2
YQ
65362014-04-22 Yao Qi <yao@codesourcery.com>
6537
6538 * lib/trace-support.exp (generate_tracefile): New procedure.
6539 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6540 return 0.
6541 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6542 if generate_tracefile returns 1.
6543
51d48146
PA
65442014-04-18 Tom Tromey <palves@redhat.com>
6545 Pedro alves <tromey@redhat.com>
6546
6547 PR backtrace/15558
6548 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6549 with a backtrace limit.
6550 * gdb.python/py-frame-inline.exp: Test running to an inline
6551 function with a backtrace limit, and printing the newest frame.
6552 * gdb.python/py-frame-inline.c (main): Call f.
6553
bd1dce5f
MS
65542014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6555
6556 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6557
40d1a503
MS
65582014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6559
6560 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6561 Drop prefix from unsupported source file path.
6562
389b98f7
YQ
65632014-04-17 Yao Qi <yao@codesourcery.com>
6564
6565 * lib/gdb.exp (with_target_charset): New proc.
6566 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6567 with_target_charset.
6568 (test_print_strings): Likewise.
6569 (test_repeat_bytes): Likewise.
6570 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6571 for some tests.
6572
22869d73
KS
65732014-04-16 Keith Seitz <keiths@redhat.com>
6574
6575 PR gdb/15827
6576 * gdb.dwarf2/corrupt.c: New file.
6577 * gdb.dwarf2/corrupt.exp: New file.
6578
c4f87ca6
KS
65792014-04-16 Keith Seitz <keiths@redhat.com>
6580
6581 PR c++/16597
6582 * gdb.cp/namelessclass.cc: New file.
6583 * gdb.cp/namelessclass.exp: New file.
6584 * gdb.cp/namelessclass.S: New file.
6585
ab19de87
DE
65862014-04-16 Doug Evans <dje@google.com>
6587
6588 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6589 Add comment.
6590 (gdbserver_default_get_comm_port): New function.
6591 (gdbserver_start): Check if board file provided
6592 "gdbserver,get_comm_port" and use it if so.
6593 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6594 (gdb,socketport): Set to "stdio".
6595 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6596 (stdio_gdbserver_template): Delete.
6597 (${board}_get_remote_address): Update.
6598 (${board}_build_remote_cmd): Delete.
6599 (${board}_get_comm_port): New function.
6600 (${board}_spawn): Update.
6601 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6602 Delete.
6603 (${board}_get_remote_address): Update.
6604 (${board}_get_comm_port): New function.
6605
fc98a809
AB
66062014-04-16 Andrew Burgess <aburgess@broadcom.com>
6607
6608 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6609 appearing in any order.
6610
87fd9e6e
DE
66112014-04-15 Doug Evans <dje@google.com>
6612
6613 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6614 uninitialized value of "description".
6615
099fc3ea
KS
66162014-04-15 Keith Seitz <keiths@redhat.com>
6617
6618 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6619 Remove unused globals.
6620 (test_running_the_program): Likewise.
6621 (test_controlled_execution): Likewise.
6622 (test_controlling_breakpoints): Likewise.
6623 (test_program_termination): Likewise.
6624
5da151d4
KS
66252014-04-15 Keith Seitz <keiths@redhat.com>
6626
6627 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6628 unused globals.
6629 (test_rbreak_creation_and_listing): Likewise.
6630 (test_ignore_count): Likewise.
6631 (test_error): Likewise.
6632
35e5d2f0
PA
66332014-04-15 Pedro Alves <palves@redhat.com>
6634
6635 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6636 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6637 sym-file-loader.c.
6638 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6639 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6640 to sym-file-loader.c.
6641 (struct library): Forward declare.
6642 (load_shlib, lookup_function): Change prototypes.
6643 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6644 (translate_offset): Remove declarations.
6645 (get_text_addr): New declaration.
6646 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6647 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6648 sym-file-loader.h.
6649 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6650 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6651 here from sym-file-loader.h.
6652 (struct library): New structure.
6653 (load_shlib, lookup_function): Change prototypes and adjust to
6654 work with a struct library.
6655 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6656 (translate_offset): Make static.
6657 (get_text_addr): New function.
6658 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6659
eb4c1710
PA
66602014-04-15 Pedro Alves <palves@redhat.com>
6661
6662 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6663
2d1baf52
PA
66642014-04-15 Pedro Alves <palves@redhat.com>
6665
6666 * gdb.base/sym-file-loader.c: Include <limits.h>.
6667 (SELF_LINK): New define.
6668 (get_origin): New function.
6669 (load_shlib): Use it.
6670 * gdb.base/sym-file.exp: Don't early return if the target is
6671 remote. Use runto_main, and issue fail is that fails. Use
6672 gdb_load_shlibs.
6673 (shlib_name): Delete.
6674 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6675
7dd6df01
PA
66762014-04-15 Pedro Alves <palves@redhat.com>
6677
6678 * gdb.base/sym-file.exp: Remove regex characters from test
6679 message. Don't refer to breakpoint numbers in test messages.
6680
b50c8614
KS
66812014-04-14 Keith Seitz <keiths@redhat.com>
6682
6683 PR c++/16253
6684 * gdb.cp/var-tag.cc: New file.
6685 * gdb.cp/var-tag.exp: New file.
6686 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6687 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6688 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6689 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6690
3d567982
TT
66912014-04-14 Tom Tromey <tromey@redhat.com>
6692
6693 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6694 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6695 type.
6696 * gdb.cp/enum-class.exp: New file.
6697 * gdb.cp/enum-class.cc: New file.
6698
0626fc76
TT
66992014-04-14 Tom Tromey <tromey@redhat.com>
6700
6701 * gdb.dwarf2/enum-type.exp: New file.
6702
dca325b3
SA
67032014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6704
6705 * gdb.mi/mi-vla-c99.exp: New file.
6706 * gdb.mi/vla.c: New file.
6707
5854b38a
SA
67082014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6709
6710 * gdb.base/vla-datatypes.c: New file.
6711 * gdb.base/vla-datatypes.exp: New file.
6712
463bb957
SA
67132014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6714
6715 * gdb.base/vla-ptr.c: New file.
6716 * gdb.base/vla-ptr.exp: New file.
6717
3dd170be
SA
67182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6719
6720 * gdb.dwarf2/count.exp: New file.
6721
5ecaaa66
SA
67222014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6723
6724 * gdb.base/vla-sideeffect.c: New file.
6725 * gdb.base/vla-sideeffect.exp: New file.
6726
41f1ada5
DB
67272014-04-14 David Blaikie <dblaikie@gmail.com>
6728
6729 * gdb.mi/non-stop.c: Add return value for non-void function return
6730 statement.
6731 * gdb.threads/staticthreads.c: Ditto.
6732
0be03e84
DE
67332014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6734 Doug Evans <xdje42@gmail.com>
6735
6736 * gdb.guile/scm-value.c: Improve test case.
6737 * gdb.guile/scm-value.exp: Add new test.
6738
f180a1fb
DB
67392014-04-11 David Blaikie <dblaikie@gmail.com>
6740
6741 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6742 override Clang's default.
6743
6b662e19
JB
67442014-04-11 Joel Brobecker <brobecker@adacore.com>
6745
6746 Revert the following changes (regressions):
6747
6748 * gdb.base/vla-sideeffect.c: New file.
6749 * gdb.base/vla-sideeffect.exp: New file.
6750
6751 * gdb.dwarf2/count.exp: New file.
6752
6753 * gdb.base/vla-multi.c: New file.
6754 * gdb.base/vla-multi.exp: New file.
6755
6756 * gdb.base/vla-ptr.c: New file.
6757 * gdb.base/vla-ptr.exp: New file.
6758
6759 * gdb.base/vla-datatypes.c: New file.
6760 * gdb.base/vla-datatypes.exp: New file.
6761
6762 * gdb.mi/mi-vla-c99.exp: New file.
6763 * gdb.mi/vla.c: New file.
6764
245a5f0b
KS
67652014-04-11 Keith Seitz <keiths@redhat.com>
6766
6767 PR c++/16675
6768 * gdb.cp/cpsizeof.exp: New file.
6769 * gdb.cp/cpsizeof.cc: New file.
6770
58a84dcf
SA
67712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6772
191a8a90
JB
6773 * gdb.mi/mi-vla-c99.exp: New file.
6774 * gdb.mi/vla.c: New file.
58a84dcf 6775
c8655f75
SA
67762014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6777
6778 * gdb.base/vla-datatypes.c: New file.
6779 * gdb.base/vla-datatypes.exp: New file.
6780
024e13b4
SA
67812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6782
6783 * gdb.base/vla-ptr.c: New file.
6784 * gdb.base/vla-ptr.exp: New file.
6785
1a237e0e
SA
67862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6787
6788 * gdb.base/vla-multi.c: New file.
6789 * gdb.base/vla-multi.exp: New file.
6790
504f3432
SA
67912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6792
6793 * gdb.dwarf2/count.exp: New file.
6794
3bce8237
SA
67952014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6796
191a8a90
JB
6797 * gdb.base/vla-sideeffect.c: New file.
6798 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6799
322f9c21
YQ
68002014-04-11 Yao Qi <yao@codesourcery.com>
6801
6802 * gdb.base/completion.exp: Check file exists before running tests
6803 on file completion.
6804
d708bcd1
PA
68052014-04-10 Pedro Alves <palves@redhat.com>
6806
6807 * gdb.base/cond-eval-mode.c: New file.
6808 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6809 prepare_for_testing to build the new file. Check result of
6810 runto_main.
6811 (test_break, test_watch): New procedures.
6812 (top level): Use them.
6813
ae1d2761
PM
68142014-04-08 Pierre Muller <muller@sourceware.org>
6815
6816 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6817 Ctrl-V use for mingw hosts.
6818
7af389b8
SC
68192014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6820
6821 * gdb.python/py-value.c: Improve test case.
6822 * gdb.python/py-value.exp: Add new test.
6823
5e703181
DE
68242014-04-07 David Blaikie <dblaikie@gmail.com>
6825
6826 * lib/compiler.c: Identify the clang compiler.
6827 * lib/compiler.cc: Ditto.
6828
9810b410
YQ
68292014-04-03 Yao Qi <yao@codesourcery.com>
6830
6831 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6832
98d1b8dc
AB
68332014-04-01 Anton Blanchard <anton@samba.org>
6834
6835 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6836 messages unique.
6837
3114cea1
AB
68382014-04-01 Anton Blanchard <anton@samba.org>
6839
6840 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6841 prepare_for_testing.
6842
62f7182c
AB
68432014-04-01 Anton Blanchard <anton@samba.org>
6844
6845 * gdb.arch/ppc64-atomic-inst.c: Remove.
6846 * gdb.arch/ppc64-atomic-inst.S: New file.
6847 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6848
770e7fc7
DE
68492014-03-31 Doug Evans <dje@google.com>
6850
6851 * gdb.base/print-symbol-loading-lib.c: New file.
6852 * gdb.base/print-symbol-loading-main.c: New file.
6853 * gdb.base/print-symbol-loading.exp: New file.
6854
46e2bafa
YQ
68552014-03-31 Yao Qi <yao@codesourcery.com>
6856
6857 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6858
8776cfe9
JB
68592014-03-28 Joel Brobecker <brobecker@adacore.com>
6860
6861 * gdb.ada/mi_dyn_arr: New testcase.
6862
5d1ef361
DE
68632014-03-27 Doug Evans <dje@google.com>
6864
6865 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6866
b5bee914
YQ
68672014-03-27 Yao Qi <yao@codesourcery.com>
6868
6869 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6870 if target is nios2-*-*.
6871
0d4d0e77
YQ
68722014-03-26 Yao Qi <yao@codesourcery.com>
6873
6874 * lib/gdb.exp (readline_is_used): New proc.
6875 * gdb.base/completion.exp: Move tests on command complete up.
6876 Skip the rest of tests if readline is not used.
6877 * gdb.ada/complete.exp: Skp the test if readline is not
6878 used.
6879 * gdb.base/filesym.exp: Likewise.
6880 * gdb.base/macscp.exp: Likewise.
6881 * gdb.base/readline-ask.exp: Likewise.
6882 * gdb.base/readline.exp: Likewise.
6883 * gdb.python/py-cmd.exp: Likewise.
6884 * gdb.trace/tfile.exp: Likewise.
6885
29361eee
YQ
68862014-03-26 Yao Qi <yao@codesourcery.com>
6887
6888 * gdb.base/macscp.exp: Fix code format issues.
6889
bc9a5525
UW
68902014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6891
6892 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6893 * gdb.asm/powerpc64le.inc: New file.
6894
d3839ede
PA
68952014-03-25 Pedro Alves <palves@redhat.com>
6896 Doug Evans <dje@google.com>
6897
6898 * gdb.base/source-execution.c: New file.
6899 * gdb.base/source-execution.exp: New file.
6900 * gdb.base/source-execution.gdb: New file.
6901
01672a57
DE
69022014-03-24 Doug Evans <dje@google.com>
6903
6904 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6905 using fission.
6906
88bbeca9
HZ
69072014-03-24 Hui Zhu <hui@codesourcery.com>
6908 Pedro Alves <palves@redhat.com>
6909
6910 PR breakpoints/16101
6911 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6912 test pass/fail messages. Detect missing support for dprintf when
6913 breakpoints are actually inserted.
6914 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6915 breakpoints are actually inserted.
6916 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6917 fails.
6918
d2348791
JK
69192014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6920
6921 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6922
feef67ab
DE
69232014-03-22 Doug Evans <xdje42@gmail.com>
6924
6925 * gdb.python/python.exp (python not supported): Verify multi-line
6926 python command issues an error.
25d743f9 6927 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 6928 guile command issues an error.
feef67ab 6929
ecebef6a
MR
69302014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6931
6932 * gdb.threads/thread-specific.exp: Handle the lack of usable
6933 $this_breakpoint and $this_thread.
6934
ccdd1909
HZ
69352014-03-21 Hui Zhu <hui@codesourcery.com>
6936
6937 * gdb.base/attach.exp (do_command_attach_tests): New.
6938
beb460e8
PA
69392014-03-20 Tom Tromey <tromey@redhat.com>
6940 Pedro Alves <palves@redhat.com>
6941
6942 PR cli/15718
6943 * gdb.base/condbreak-call-false.c: New file.
6944 * gdb.base/condbreak-call-false.exp: New file.
6945
40acf43a
PA
69462014-03-20 Pedro Alves <palves@redhat.com>
6947
6948 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6949 Delete.
6950 (block_signals, unblock_signals): Delete.
6951 (child_function_2, main): Remove references to deleted variable
6952 and functions.
6953
9f5e1e02
PA
69542014-03-20 Pedro Alves <palves@redhat.com>
6955
6956 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6957 Use pthread_kill to signal thread 2.
6958 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6959 Adjust to make the test send itself a signal rather than using the
6960 host's "kill" command.
6961
99619bea
PA
69622014-03-20 Pedro Alves <palves@redhat.com>
6963
6964 * gdb.threads/multiple-step-overs.c: New file.
6965 * gdb.threads/multiple-step-overs.exp: New file.
6966 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6967 Adjust expected infrun debug output.
6968
2adfaa28
PA
69692014-03-20 Pedro Alves <palves@redhat.com>
6970
6971 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6972 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6973
31e77af2
PA
69742014-03-20 Pedro Alves <palves@redhat.com>
6975
6976 PR breakpoints/7143
6977 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6978 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6979 of gdb_test_multiple.
6980 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6981 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6982
b9f437de
PA
69832014-03-20 Pedro Alves <palves@redhat.com>
6984
6985 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6986 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6987
05adc73e
PA
69882014-03-19 Pedro Alves <palves@redhat.com>
6989
6990 * gdb.base/async.exp: Remove early return.
6991
6048b950
PA
69922014-03-19 Pedro Alves <palves@redhat.com>
6993
6994 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6995
8bcfb00a
PA
69962014-03-19 Pedro Alves <palves@redhat.com>
6997
6998 * gdb.base/async.exp (test_background): Expect \r\n after
6999 "completed." in the fail pattern.
7000
884e37dc
PA
70012014-03-19 Pedro Alves <palves@redhat.com>
7002
7003 * gdb.base/async.exp (test_background): New procedure.
7004 Use it for all background execution command tests.
7005
148e57e2
PA
70062014-03-19 Pedro Alves <palves@redhat.com>
7007
7008 * gdb.base/async.exp: Use prepare_for_testing.
7009
f48088c7
PA
70102014-03-19 Pedro Alves <palves@redhat.com>
7011
7012 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7013 the same line.
7014
e2f6c966
PA
70152014-03-19 Pedro Alves <palves@redhat.com>
7016
7017 * gdb.base/async.c (main): Add "jump here" and "until here" line
7018 marker comments.
7019 * gdb.base/async.exp (jump_here): New global.
7020 (jump& test): Use it.
7021 (until_here): New global.
7022 (until& test): Use it.
7023
c30568d4
PA
70242014-03-19 Pedro Alves <palves@redhat.com>
7025
7026 * gdb.base/async.exp: Don't frob gdb_protocol.
7027
0172b6a7
DE
70282014-03-18 Doug Evans <xdje42@gmail.com>
7029
7030 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7031 Fix spelling of exec-done-display.
7032
06c868a8
JK
70332014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7034
7035 PR gdb/15358
7036 * gdb.base/gdb-sigterm.c: New file.
7037 * gdb.base/gdb-sigterm.exp: New file.
7038
0c7e1a46
PA
70392014-03-18 Pedro Alves <palves@redhat.com>
7040
7041 PR gdb/13860
7042 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7043 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7044 solib-event.
7045
f7c77d93
JB
70462014-03-17 Joel Brobecker <brobecker@adacore.com>
7047
7048 * gdb.ada/pckd_arr_ren: New testcase.
7049
5a1e8c7a
DE
70502014-03-13 Doug Evans <xdje42@gmail.com>
7051
7052 PR guile/16612
7053 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7054 collect after discarding symbols.
7055
350e1a76
DE
70562014-03-13 Ludovic Courtès <ludo@gnu.org>
7057 Doug Evans <xdje42@gmail.com>
7058
7059 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7060 to history survives a gc.
7061
a69900ae
PA
70622014-03-13 Pedro Alves <palves@redhat.com>
7063
7064 * gdb.base/default.exp: Don't test "target procfs".
7065
5db9f0bd
PA
70662014-03-13 Pedro Alves <palves@redhat.com>
7067
7068 * gdb.base/default.exp: Update "target child" and "target procfs"
7069 tests to not expect "Unix".
7070
b3ccfe11
TT
70712014-03-12 Tom Tromey <tromey@redhat.com>
7072
7073 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7074 New procs. Add target-async tests.
7075 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7076 Add target-async tests.
7077
646f4417
AA
70782014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7079
7080 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7081 'func_start' and 'func_end' for the beginning and end of the
7082 function code, respectively.
7083 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7084 'func_end' instead of 'func' and 'main'.
7085
288c211f
AA
70862014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7087
7088 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7089 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7090 generate the debug info assembler source.
7091
e0c0f156
AA
70922014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7093
7094 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7095 * gdb.dwarf2/arr-subrange.exp: Likewise.
7096 * gdb.dwarf2/dwz.exp: Likewise.
7097 * gdb.dwarf2/method-ptr.exp: Likewise.
7098 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7099 * gdb.dwarf2/subrange.exp: Likewise.
7100 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7101 * gdb.dwarf2/implptrpiece.exp: Likewise.
7102 * gdb.dwarf2/nostaticblock.exp: Likewise.
7103
0e5c4555
AA
71042014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7105
7106 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7107 directory to absolute path name arguments.
7108
5ec18f2b
JG
71092014-03-10 Joel Brobecker <brobecker@adacore.com>
7110
7111 * gdb.ada/tagged_access: New testcase.
7112
847fc4f2
MM
71132014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7114
7115 * gdb.btrace/data.exp: Update expected output.
7116
cc3da688
YQ
71172014-03-06 Yao Qi <yao@codesourcery.com>
7118
7119 * gdb.trace/pr16508.exp: New file.
7120
0f26cec1
PA
71212014-03-05 Pedro Alves <palves@redhat.com>
7122
7123 PR gdb/16575
7124 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7125 procedure.
7126 (top level): Adjust to use it. Add tests that exercise breakpoint
7127 interaction with the code-cache.
7128
7a5a839f
LC
71292014-02-26 Ludovic Courtès <ludo@gnu.org>
7130
7131 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7132 test for 'history-append!'.
7133
31aa7e4e
JB
71342014-02-26 Joel Brobecker <brobecker@adacore.com>
7135
7136 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7137 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7138 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7139 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7140 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7141 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7142
1b588015
JB
71432014-02-26 Joel Brobecker <brobecker@adacore.com>
7144
7145 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7146 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7147 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7148
55426c9d
JB
71492014-02-26 Joel Brobecker <brobecker@adacore.com>
7150
7151 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7152
dc53a7ad
JB
71532014-02-26 Joel Brobecker <brobecker@adacore.com>
7154
7155 * gdb.dwarf2/arr-stride.c: New file.
7156 * gdb.dwarf2/arr-stride.exp: New file.
7157
12ab52e9
PA
71582014-02-26 Pedro Alves <palves@redhat.com>
7159
7160 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7161 that won't ever trigger. Make sure that GDB reports the correct
7162 breakpoint that caused the stop.
7163
849c862e
JK
71642014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7165
7166 PR gdb/16626
7167 * gdb.base/auto-load-script: New file.
7168 * gdb.base/auto-load.c: New file.
7169 * gdb.base/auto-load.exp: New file.
7170
71b7d793
JK
7171 PR gdb/16626
7172 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7173
e2f0d509
JK
71742014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7175
7176 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7177 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7178
50cc37c8
DE
71792014-02-24 Doug Evans <dje@google.com>
7180
7181 * lib/gdb.exp (run_on_host): Log error output if program fails.
7182
ea4758f2
PA
71832014-02-21 Pedro Alves <palves@redhat.com>
7184
7185 * gdb.threads/step-after-sr-lock.c: Rename to ...
7186 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7187 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7188 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7189 ... this.
7190
d7b30f67
SDJ
71912014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7192
7193 PR tdep/16397
7194 * gdb.arch/amd64-stap-special-operands.exp: New file.
7195 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7196 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7197 * gdb.arch/amd64-stap-triplet.S: Likewise.
7198 * gdb.arch/amd64-stap-triplet.c: Likewise.
7199
83deb43f
JB
72002014-02-20 Joel Brobecker <brobecker@adacore.com>
7201
7202 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7203 in .section pseudo-op.
7204
adde2bff
DE
72052014-02-20 lin zuojian <manjian2006@gmail.com>
7206 Joel Brobecker <brobecker@adacore.com>
7207 Doug Evans <xdje42@gmail.com>
7208
7209 PR symtab/16581
7210 * gdb.dwarf2/dw2-icycle.S: New file.
7211 * gdb.dwarf2/dw2-icycle.c: New file.
7212 * gdb.dwarf2/dw2-icycle.exp: New file.
7213
f7bd0f78
SC
72142014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7215
7216 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7217 operations on gdb.Value objects.
7218 * gdb.python/py-value-cc.exp: Add new test to test operations on
7219 gdb.Value objects.
7220
c17ef0d5
DE
72212014-02-18 Doug Evans <dje@google.com>
7222
7223 * Makefile.in (TESTS): New variable.
7224 (expanded_tests, expanded_tests_or_none): New variables
7225 (check-single): Pass $(expanded_tests_or_none) to runtest.
7226 (check-parallel): Only run tests in $(TESTS) if non-empty.
7227 (check/no-matching-tests-found): New rule.
7228 * README: Document TESTS makefile variable.
7229
5dd3176f
DE
72302014-02-18 Doug Evans <dje@google.com>
7231
7232 * Makefile.in (check-parallel): rm -rf outputs temp.
7233
0b10be4f
JK
72342014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7235
7236 Fix "ERROR: no fileid for" in the testsuite.
7237 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7238
85f224e7
DE
72392014-02-12 Doug Evans <dje@google.com>
7240
7241 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7242 (MISCELLANEOUS): New variable.
7243 (clean): rm -rf $(MISCELLANEOUS).
7244 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7245 dwp live in the same directory as symlinks, with each symlink pointed
7246 to a differently named file in a different directory.
7247
149b30ff
DE
72482014-02-11 Doug Evans <dje@google.com>
7249
7250 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7251 of Tcl file commands.
7252
1dfdac32
MK
72532014-02-10 Mark Kettenis <kettenis@gnu.org>
7254
7255 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7256 "kill -SIGUSR1 -1".
7257
aa4fb036
JB
72582014-02-10 Joel Brobecker <brobecker@adacore.com>
7259
7260 * gdb.ada/tick_length_array_enum_idx: New testcase.
7261
ed3ef339
DE
72622014-02-10 Doug Evans <xdje42@gmail.com>
7263
7264 * configure.ac (AC_OUTPUT): Add gdb.guile.
7265 * configure: Regenerate.
7266 * lib/gdb-guile.exp: New file.
7267 * lib/gdb.exp (get_target_charset): New function.
7268 * gdb.base/help.exp: Update expected output from "apropos apropos".
7269 * gdb.guile/Makefile.in: New file.
7270 * gdb.guile/guile.exp: New file.
7271 * gdb.guile/scm-arch.c: New file.
7272 * gdb.guile/scm-arch.exp: New file.
7273 * gdb.guile/scm-block.c: New file.
7274 * gdb.guile/scm-block.exp: New file.
7275 * gdb.guile/scm-breakpoint.c: New file.
7276 * gdb.guile/scm-breakpoint.exp: New file.
7277 * gdb.guile/scm-disasm.c: New file.
7278 * gdb.guile/scm-disasm.exp: New file.
7279 * gdb.guile/scm-equal.c: New file.
7280 * gdb.guile/scm-equal.exp: New file.
7281 * gdb.guile/scm-error.exp: New file.
7282 * gdb.guile/scm-error.scm: New file.
7283 * gdb.guile/scm-frame-args.c: New file.
7284 * gdb.guile/scm-frame-args.exp: New file.
7285 * gdb.guile/scm-frame-args.scm: New file.
7286 * gdb.guile/scm-frame-inline.c: New file.
7287 * gdb.guile/scm-frame-inline.exp: New file.
7288 * gdb.guile/scm-frame.c: New file.
7289 * gdb.guile/scm-frame.exp: New file.
7290 * gdb.guile/scm-generics.exp: New file.
7291 * gdb.guile/scm-gsmob.exp: New file.
7292 * gdb.guile/scm-iterator.c: New file.
7293 * gdb.guile/scm-iterator.exp: New file.
7294 * gdb.guile/scm-math.c: New file.
7295 * gdb.guile/scm-math.exp: New file.
7296 * gdb.guile/scm-objfile-script-gdb.in: New file.
7297 * gdb.guile/scm-objfile-script.c: New file.
7298 * gdb.guile/scm-objfile-script.exp: New file.
7299 * gdb.guile/scm-objfile.c: New file.
7300 * gdb.guile/scm-objfile.exp: New file.
7301 * gdb.guile/scm-ports.exp: New file.
7302 * gdb.guile/scm-pretty-print.c: New file.
7303 * gdb.guile/scm-pretty-print.exp: New file.
7304 * gdb.guile/scm-pretty-print.scm: New file.
7305 * gdb.guile/scm-section-script.c: New file.
7306 * gdb.guile/scm-section-script.exp: New file.
7307 * gdb.guile/scm-section-script.scm: New file.
7308 * gdb.guile/scm-symbol.c: New file.
7309 * gdb.guile/scm-symbol.exp: New file.
7310 * gdb.guile/scm-symtab-2.c: New file.
7311 * gdb.guile/scm-symtab.c: New file.
7312 * gdb.guile/scm-symtab.exp: New file.
7313 * gdb.guile/scm-type.c: New file.
7314 * gdb.guile/scm-type.exp: New file.
7315 * gdb.guile/scm-value-cc.cc: New file.
7316 * gdb.guile/scm-value-cc.exp: New file.
7317 * gdb.guile/scm-value.c: New file.
7318 * gdb.guile/scm-value.exp: New file.
7319 * gdb.guile/source2.scm: New file.
7320 * gdb.guile/types-module.cc: New file.
7321 * gdb.guile/types-module.exp: New file.
7322
7026a7c1
YQ
73232014-02-10 Yao Qi <yao@codesourcery.com>
7324
7325 PR testsuite/16543
7326 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7327 * configure: Regenerated.
7328 * Makefile.in: New file.
7329
6c466447
AS
73302014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7331
7332 * gdb.python/py-framefilter.exp: Fix typo.
7333
6e854735
YQ
73342014-02-08 Yao Qi <yao@codesourcery.com>
7335
7336 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7337 that no =breakpoint-modified is emitted when breakpoints are
7338 modified through MI commands.
7339
d137e6dc
PA
73402014-02-07 Pedro Alves <pedro@codesourcery.com>
7341 Pedro Alves <palves@redhat.com>
7342
7343 * gdb.threads/step-after-sr-lock.c: New file.
7344 * gdb.threads/step-after-sr-lock.exp: New file.
7345
b5ee5a50
PA
73462014-02-07 Pedro Alves <palves@redhat.com>
7347
7348 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7349
3c77faf3
JK
73502014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7351
7352 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7353 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7354
6dddc817
DE
73552014-02-06 Doug Evans <xdje42@gmail.com>
7356
7357 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7358 output.
7359
7360 * gdb.gdb/python-interrupts.exp: New file.
7361
de7b2893
YQ
73622014-02-05 Yao Qi <yao@codesourcery.com>
7363
7364 * gdb.trace/report.exp (use_collected_data): Test the output
7365 of "info threads" and "info inferiors".
7366
66d032ac
YQ
73672014-02-05 Yao Qi <yao@codesourcery.com>
7368
7369 Revert this patch:
7370
7371 2013-05-24 Yao Qi <yao@codesourcery.com>
7372
7373 * gdb.trace/tfile.exp: Test inferior and thread.
7374
591a12a1
UW
73752014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7376
7377 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7378 on a function.
7379 * gdb.base/step-bt.c: Call hello via function pointer to make
7380 sure its first instruction is executed on powerpc64le-linux.
7381
0ff3e01f
UW
73822014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7383
7384 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7385
084ee545
UW
73862014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7387
7388 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7389 of the test patterns for use on little-endian systems.
7390
6ed14ff3
UW
73912014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7392
7393 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7394 (decimal_vector): Fix for little-endian.
7395
401e27fd
JM
73962014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7397
7398 * gdb.arch/sparc-sysstep.exp: New file.
7399 * gdb.arch/sparc-sysstep.c: Likewise.
7400
7401 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7402
8b924729
EBM
74032014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7404
7405 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7406
fb151210
JB
74072014-01-23 Tom Tromey <tromey@redhat.com>
7408
7409 * gdb.ada/array_char_idx: New testcase.
7410
0740f8d8
TT
74112014-01-23 Tom Tromey <tromey@redhat.com>
7412
7413 PR python/16487:
7414 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7415 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7416 classes.
7417
21909fa1
TT
74182014-01-23 Tom Tromey <tromey@redhat.com>
7419
7420 PR python/16491:
7421 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7422 string from an inferior frame.
7423 * gdb.python/py-framefilter-mi.exp: Update.
7424
87ce2a04
DE
74252014-01-22 Doug Evans <dje@google.com>
7426
7427 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7428
237b092b
AA
74292014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7430
7431 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7432
d674a709
AA
74332014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7434
7435 * gdb.trace/entry-values.exp: Remove excess space character from
7436 regex patterns. Handle s390 call instruction.
7437
20fa3390
AA
74382014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7439
7440 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7441 define "*_start" label. Make "name" static.
7442 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7443 ${name} by references to ${name}_start.
7444
78466714
AA
74452014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7446
7447 * gdb.base/info-macros.exp: Remove "debug" from the compile
7448 options.
7449
ec9f644a
IB
74502014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7451
7452 * gdb.dlang/demangle.exp: New file.
7453
94b1b47e
IB
74542014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7455
7456 * gdb.dlang/primitive-types.exp: New file.
7457
7f420862
IB
74582014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7459
7460 * configure.ac: Create gdb.dlang/Makefile.
7461 * configure: Regenerate.
7462 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7463 * gdb.dlang/Makefile.in: New file.
7464 * lib/d-support.exp: New file.
7465 * lib/gdb.exp (skip_d_tests): New proc.
7466
52834460
MM
74672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7468
7469 * gdb.btrace/delta.exp: Check reverse stepi.
7470 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7471 * gdb.btrace/finish.exp: New.
7472 * gdb.btrace/next.exp: New.
7473 * gdb.btrace/nexti.exp: New.
7474 * gdb.btrace/record_goto.c: Add comments.
7475 * gdb.btrace/step.exp: New.
7476 * gdb.btrace/stepi.exp: New.
7477 * gdb.btrace/multi-thread-step.c: New.
7478 * gdb.btrace/multi-thread-step.exp: New.
7479 * gdb.btrace/rn-dl-bind.c: New.
7480 * gdb.btrace/rn-dl-bind.exp: New.
7481 * gdb.btrace/data.c: New.
7482 * gdb.btrace/data.exp: New.
7483 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7484
6e07b1d2
MM
74852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7486
7487 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7488 * gdb.btrace/exception.exp: Update.
7489 * gdb.btrace/instruction_history.exp: Update.
7490 * gdb.btrace/record_goto.exp: Update.
7491 * gdb.btrace/tailcall.exp: Update.
7492 * gdb.btrace/unknown_functions.exp: Update.
7493 * gdb.btrace/delta.exp: New.
7494
0b722aec
MM
74952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7496
7497 * gdb.btrace/record_goto.exp: Add backtrace test.
7498 * gdb.btrace/tailcall.exp: Add backtrace test.
7499
066ce621
MM
75002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7501
7502 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7503 * gdb.btrace/record_goto.c: New.
7504 * gdb.btrace/record_goto.exp: New.
7505 * gdb.btrace/x86-record_goto.S: New.
7506
0688d04e
MM
75072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7508
7509 * gdb.btrace/function_call_history.exp: Update tests.
7510 * gdb.btrace/instruction_history.exp: Update tests.
7511
8710b709
MM
75122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7513
7514 * gdb.btrace/function_call_history.exp: Fix expected field
7515 order for "record function-call-history".
7516 Add new tests for "record function-call-history /c".
7517 * gdb.btrace/exception.cc: New.
7518 * gdb.btrace/exception.exp: New.
7519 * gdb.btrace/tailcall.exp: New.
7520 * gdb.btrace/x86-tailcall.S: New.
7521 * gdb.btrace/x86-tailcall.c: New.
7522 * gdb.btrace/unknown_functions.c: New.
7523 * gdb.btrace/unknown_functions.exp: New.
7524 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7525
5de9129b
MM
75262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7527
7528 * gdb.btrace/instruction_history.exp: Update.
7529 * gdb.btrace/function_call_history.exp: Update.
7530
23a7fe75
MM
75312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7532
7533 * gdb.btrace/function_call_history.exp: Fix expected function
7534 trace.
7535 * gdb.btrace/instruction_history.exp: Initialize traced.
7536 Remove traced_functions.
7537
724c7dd8
MM
75382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7539
7540 * gdb.btrace/function_call_history.exp: Update
7541 * gdb.btrace/instruction_history.exp: Update.
7542
6d78d93b
MM
75432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7544
7545 * gdb.btrace/enable.exp: Update expected text.
7546
93a360cc
OJ
75472014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7548
7549 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7550 bytes.
7551
3772b53f
MR
75522014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7553
7554 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7555
596662fa
OJ
75562014-01-15 Omair Javaid <omair.javaid@linaro.org>
7557
7558 * lib/gdb.exp (supports_process_record): Return true for
7559 arm*-linux*. (supports_reverse): Likewise.
7560
b5b08fb4
SC
75612014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7562
7563 PR python/15464
7564 PR python/16113
7565 * gdb.python/py-type.c: Enhance test case.
7566 * gdb.python/py-value-cc.cc: Likewise
7567 * gdb.python/py-type.exp: Add new tests.
7568 * gdb.python/py-value-cc.exp: Likewise
7569
52d7fb13
AA
75702014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7571 Pedro Alves <palves@redhat.com>
7572
7573 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7574 Make "name" extern.
7575 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7576 references to ${name}_start by references to ${name}.
7577
a2cd8cfe
JB
75782014-01-10 Joel Brobecker <brobecker@adacore.com>
7579
7580 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7581
4e23fced
JB
75822014-01-10 Joel Brobecker <brobecker@adacore.com>
7583
7584 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7585
c6a9e42c
PA
75862014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7587 Pedro Alves <palves@redhat.com>
7588
7589 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7590 mi_gdb_target_load.
c6a9e42c 7591
b7ea362b
PA
75922014-01-08 Pedro Alves <palves@redhat.com>
7593
7594 * gdb.threads/reconnect-signal.c: New file.
7595 * gdb.threads/reconnect-signal.exp: New file.
7596
5e3f4fab
EBM
75972014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7598
7599 * gdb.base/source-dir.exp: New file.
7600
79301218
JB
76012014-01-07 Joel Brobecker <brobecker@adacore.com>
7602
7603 * gdb.ada/mi_interface: New testcase.
7604
8e355c5d
JB
76052014-01-07 Joel Brobecker <brobecker@adacore.com>
7606
7607 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7608 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7609 gdb.ada/pp-rec-component/pck.ads: New files.
7610
c0d48811
JB
76112014-01-07 Joel Brobecker <brobecker@adacore.com>
7612
7613 * gdb.python/py-pp-integral.c: New file.
7614 * gdb.python/py-pp-integral.py: New file.
7615 * gdb.python/py-pp-integral.exp: New file.
7616
17b609c3 7617For older changes see ChangeLog-1993-2013.
c906108c 7618\f
8d8cb839
EZ
7619;; Local Variables:
7620;; mode: change-log
7621;; left-margin: 8
7622;; fill-column: 74
7623;; version-control: never
7624;; End:
902f2ccb 7625
618f726f 7626 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7627 Copying and distribution of this file, with or without modification,
7628 are permitted provided the copyright notice and this notice are preserved.
This page took 4.608153 seconds and 4 git commands to generate.