]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Add D support to gdb_default_target_compile.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
24f75ead
IB
12016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
2
3 * lib/future.exp: Add D support.
4 (gdb_find_gdc): New proc.
5 (gdb_default_target_compile): Add D support.
6
fbb7bcbe
WW
72016-02-18 Wei-cheng Wang <cole945@gmail.com>
8
9 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10 user+system time.
11 (trace_speed_test): Determine the iteration count for a time
12 between 15..30 seconds.
13
012b3a21
WT
142016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
15
16 * gdb.arch/i386-mpx-sigsegv.c: New file.
17 * gdb.arch/i386-mpx-sigsegv.exp: New file.
18 * gdb.arch/i386-mpx-simple_segv.c: New file.
19 * gdb.arch/i386-mpx-simple_segv.exp: New file.
20
2d5189bd
YQ
212016-02-18 Yao Qi <yao.qi@linaro.org>
22
23 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
24 Don't call setup_kfail.
25
40fb20d0
YQ
262016-02-18 Yao Qi <yao.qi@linaro.org>
27
28 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
29 Set "set breakpoint condition-evaluation" per $cond_bp_target.
30
21b1f8d2
DE
312016-02-16 Doug Evans <dje@google.com>
32
33 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
34 * gdb.base/skip1.c: Ditto.
35 * gdb.base/skip.exp: Whitespace cleanup.
36
4041ed77
DB
372016-02-16 Don Breazeal <donb@codesourcery.com>
38
39 PR remote/19496
40 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
41 Remove kfail for PR remote/19496.
42
c4ef31bf
SM
432016-02-16 Simon Marchi <simon.marchi@ericsson.com>
44
45 * lib/gdb.exp (standard_temp_file): Return a path specific to
46 the runtest invocation.
47
266b65b3
SM
482016-02-16 Simon Marchi <simon.marchi@ericsson.com>
49
50 * gdb.trace/save-trace.exp: Change relative path to be in the
51 standard output directory.
52
a7a0a6a9
JK
532016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
54
55 * gdb.arch/i386-prologue.c: Add missing prototypes.
56
c99dbb42
JK
572016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
58
59 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
60 * gdb.arch/i386-prologue.exp: Likewise.
61 * gdb.arch/i386-size.exp: Likewise.
62
aa480355
SM
632016-02-15 Simon Marchi <simon.marchi@ericsson.com>
64
65 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
66 define object file path.
67 * gdb.btrace/gcore.exp: Use standard_output_file to define core
68 file path.
69 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
70 standard_output_file to define binfile.
71
ba881f50
JK
722016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
73
74 Fix compatibility with recent gfortran-5.3.1.
75 * gdb.fortran/vla-history.exp (print vla1 allocated)
76 (print vla2 allocated, print $2, print $3): Remove
77 (print $4): Rename to ...
78 (print $2): ... here.
79 (print $9): Rename to ...
80 (print $5): ... here.
81 (print $10): Rename to ...
82 (print $6): ... here.
83 * gdb.fortran/vla.f90: Add pvla initialization.
84
e9fb005c
JK
852016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
86
87 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
88 New test.
89 * gdb.fortran/vla-value-sub.exp: Likewise.
90
e44e00ff
MK
912016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
92
93 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
94
97e94151
SM
952016-02-12 Simon Marchi <simon.marchi@ericsson.com>
96
97 * i386-biarch-core.exp: Define corefile using
98 standard_output_file.
99
01113bc1
YQ
1002016-02-12 Yao Qi <yao.qi@linaro.org>
101
102 * gdb.arch/arm-single-step-kernel-helper.c: New.
103 * gdb.arch/arm-single-step-kernel-helper.exp: New.
104
33b4777c
MM
1052016-02-12 Markus Metzger <markus.t.metzger@intel.com>
106
107 * gdb.btrace/tailcall-only.exp: New.
108 * gdb.btrace/tailcall-only.c: New.
109 * gdb.btrace/x86_64-tailcall-only.S: New.
110 * gdb.btrace/i686-tailcall-only.S: New.
111
acc23c11
PA
1122016-02-11 Pedro Alves <palves@redhat.com>
113
114 * README (Parallel testing): Add missing double quotes.
115
e352bf0a
PA
1162016-02-11 Pedro Alves <palves@redhat.com>
117
118 * README (Parallel testing): New section.
119 (GDB_PARALLEL): Rewrite.
120 (FORCE_PARALLEL): Document.
121
9f5fed78
MK
1222016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
123
124 * gdb.trace/tfile-avx.c: New test.
125 * gdb.trace/tfile-avx.exp: New test.
126
9ef9e6a6
KS
1272016-02-09 Keith Seitz <keiths@redhat.com>
128
129 PR breakpoints/19546
130 * gdb.base/infcall-exec.c: New file.
131 * gdb.base/infcall-exec2.c: New file.
132 * gdb.base/infcall-exec.exp: New file.
133
a96e36da
KS
1342016-02-09 Keith Seitz <keiths@redhat.com>
135
136 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
137 (toplevel): Call test_bkpt_address.
138
9f61929f
KS
1392016-02-09 Keith Seitz <keiths@redhat.com>
140
141 PR python/19506
142 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
143 (toplevel): Call test_bkpt_address.
144
1e94266c
SM
1452016-02-09 Simon Marchi <simon.marchi@ericsson.com>
146
147 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
148 to AC_OUTPUT.
149 * configure: Regenerate.
150
2a7f3dff
PA
1512016-02-09 Pedro Alves <palves@redhat.com>
152
153 PR breakpoints/19548
154 * gdb.base/execl-update-breakpoints.c (some_function): New
155 function.
156 (main): Call it.
157 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
158 Tighten expected GDB output.
159
2151ccc5
SM
1602016-02-08 Simon Marchi <simon.marchi@ericsson.com>
161
162 * Makefile.in (ALL_SUBDIRS): Remove.
163 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
164 (distclean maintainer-clean realclean): Likewise.
165 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
166 * configure: Regenerate.
167 * gdb.ada/Makefile.in: Delete.
168 * gdb.arch/Makefile.in: Likewise.
169 * gdb.asm/Makefile.in: Likewise.
170 * gdb.base/Makefile.in: Likewise.
171 * gdb.btrace/Makefile.in: Likewise.
172 * gdb.cell/Makefile.in: Likewise.
173 * gdb.compile/Makefile.in: Likewise.
174 * gdb.cp/Makefile.in: Likewise.
175 * gdb.disasm/Makefile.in: Likewise.
176 * gdb.dlang/Makefile.in: Likewise.
177 * gdb.dwarf2/Makefile.in: Likewise.
178 * gdb.fortran/Makefile.in: Likewise.
179 * gdb.gdb/Makefile.in: Likewise.
180 * gdb.go/Makefile.in: Likewise.
181 * gdb.guile/Makefile.in: Likewise.
182 * gdb.java/Makefile.in: Likewise.
183 * gdb.linespec/Makefile.in: Likewise.
184 * gdb.mi/Makefile.in: Likewise.
185 * gdb.modula2/Makefile.in: Likewise.
186 * gdb.multi/Makefile.in: Likewise.
187 * gdb.objc/Makefile.in: Likewise.
188 * gdb.opencl/Makefile.in: Likewise.
189 * gdb.opt/Makefile.in: Likewise.
190 * gdb.pascal/Makefile.in: Likewise.
191 * gdb.perf/Makefile.in: Likewise.
192 * gdb.python/Makefile.in: Likewise.
193 * gdb.reverse/Makefile.in: Likewise.
194 * gdb.server/Makefile.in: Likewise.
195 * gdb.stabs/Makefile.in: Likewise.
196 * gdb.threads/Makefile.in: Likewise.
197 * gdb.trace/Makefile.in: Likewise.
198 * gdb.xml/Makefile.in: Likewise.
199 * lib/gdb.exp (make_gdb_parallel_path): Add check for
200 GDB_PARALLEL.
201 (standard_output_file): Remove check for GDB_PARALLEL, always
202 return path in outputs/$subdir/$testname.
203
437277d4
SM
2042016-02-08 Simon Marchi <simon.marchi@ericsson.com>
205
206 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
207 (site.exp): Assign abs_srcdir to tcl's srcdir.
208
31d913c7
YQ
2092016-02-04 Yao Qi <yao.qi@linaro.org>
210
211 * gdb.base/foll-exec-mode.c: Include limits.h.
212 (main): Add parameters argc and argv. Get directory from
213 argv[0].
214 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
215 compilation.
216 * gdb.base/foll-exec.c: Include limits.h.
217 (main): Add parameters argc and argv.
218 Get directory from argv[0].
219 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
220 Adjust tests on the number of lines as source code changed.
221 * gdb.base/foll-vfork-exit.c: Include limits.h.
222 (main): Add one line of statement before vfork.
223 * gdb.base/foll-vfork.c: Include limits.h and string.h.
224 (main): Add parameters argc and argv. Get directory from
225 argv[0].
226 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
227 (setup_gdb): Set tbreak to skip some source lines.
228 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
229 (main): Add parameters argc and argv. Get directory from
230 argv[0].
231 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
232 compilation.
233 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
234 (main): Add parameters argc and argv. Get directory from
235 argv[0].
236 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
237 compilation.
238
9482b9fb
DE
2392016-02-01 Doug Evans <dje@google.com>
240
241 * gdb.base/skip.exp: Clean up multiple references to same test name.
242
6b2e4f10
PA
2432016-02-01 Pedro Alves <palves@redhat.com>
244
ccb6afd6 245 PR remote/19496
6b2e4f10
PA
246 * gdb.threads/forking-threads-plus-breakpoint.exp
247 (displaced_stepping_supported): New global.
248 (probe_displaced_stepping_support): New procedure.
249 (do_test): Add 'displaced' parameter, and use it.
250 (top level): Check for displaced stepping support. Add displaced
251 stepping on/off testing axis.
252
37a8db1a
AB
2532016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
254
255 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
256 pointer. Don't perform further tests on the unassociated pointer
257 if the first test fails.
258
5fdf6324
AB
2592016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
260
261 * gdb.base/max-value-size.c: New file.
262 * gdb.base/max-value-size.exp: New file.
263 * gdb.base/huge.exp: Disable max-value-size for this test.
264
935c6144
IB
2652016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
266
267 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
268
7fe8399d
YQ
2692016-01-28 Yao Qi <yao.qi@linaro.org>
270
271 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
272
a2077e25
PA
2732016-01-25 Pedro Alves <palves@redhat.com>
274
275 PR threads/19461
276 * gdb.base/fork-running-state.c: New file.
277 * gdb.base/fork-running-state.exp: New file.
278
1d2736d4
PA
2792016-01-25 Pedro Alves <palves@redhat.com>
280
281 PR gdb/19494
282 * gdb.base/catch-fork-kill.c: New file.
283 * gdb.base/catch-fork-kill.exp: New file.
284
f1da4b11
PA
2852016-01-25 Pedro Alves <palves@redhat.com>
286
287 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
288 Delete, moved to lib/gdb.exp.
289 * gdb.threads/forking-threads-plus-breakpoint.exp
290 (foreach_with_prefix): Likewise.
291 * gdb.threads/process-dies-while-handling-bp.exp
292 (foreach_with_prefix): Likewise.
293 * lib/gdb.exp (foreach_with_prefix): New procedure.
294
45f38546
MK
2952016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
296
297 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
298 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
299
dc29a1ce
MK
3002016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
301
302 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
303 endian targets.
304
092127d7
JK
3052016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
306 Pedro Alves <palves@redhat.com>
307
308 Fix testsuite compatibility with Guile.
309 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
310 number.
311
31d765d3
JK
3122016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
313
314 Fix testsuite compatibility with Guile.
315 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
316 (thread 1): New test for backtrace through signal handler.
317
1ac78c04
YQ
3182016-01-22 Yao Qi <yao.qi@linaro.org>
319
320 PR testsuite/19491
321 * gdb.base/multi-forks.c: Include
322 ../lib/unbuffer_output.c
323 (main): Call gdb_unbuffer_output.
324
4f5946a8
DE
3252016-01-21 Doug Evans <dje@google.com>
326
327 * lib/ada.exp (gdb_compile_ada): Fix typo.
328
305e13e6
JB
3292016-01-21 Joel Brobecker <brobecker@adacore.com>
330
331 * gdb.base/break-fun-addr.exp: New file.
332 * gdb.base/break-fun-addr1.c: New file.
333 * gdb.base/break-fun-addr2.c: New file.
334
5f5dfff6
SM
3352016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
336
337 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
338 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
339 enum flag values.
340
fd356fa2
AA
3412016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
342
343 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
344 when GDB can not set the vector return value. Add more comments
345 for clarification.
346
9df22175
AT
3472016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
348
349 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
350 command.
351
41d1845e
SM
3522016-01-19 Simon Marchi <simon.marchi@ericsson.com>
353
354 * Makefile.in (DO_RUNTEST): Add --status and update usages.
355
01ac6840
SM
3562016-01-19 Simon Marchi <simon.marchi@ericsson.com>
357
358 * Makefile.in (check-single): Pass --status to runtest.
359 (check/%.exp): Likewise.
360
3612016-01-19 Simon Marchi <simon.marchi@ericsson.com>
362
363 * Makefile.in (check-parallel): Propagate return code from make
364 do-check-parallel.
365
bd0a71fa
MK
3662016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
367
368 * gdb.trace/ftrace.exp: Fix expected message on continue.
369 * gdb.trace/pending.exp: Fix expected message on continue.
370 * gdb.trace/trace-break.exp: Fix expected message on continue.
371
8bcbad33
SM
3722016-01-18 Simon Marchi <simon.marchi@ericsson.com>
373
374 * lib/gdb.exp (gdb_test): Remove unused global references.
375
f303dbd6
PA
3762016-01-18 Pedro Alves <palves@redhat.com>
377
378 * gdb.base/async-shell.exp: Adjust expected output.
379 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
380 * gdb.base/siginfo-thread.exp: Adjust expected output.
381 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
382 * gdb.java/jnpe.exp: Adjust expected output.
383 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
384 * gdb.threads/continue-pending-status.exp: Adjust expected output.
385 * gdb.threads/leader-exit.exp: Adjust expected output.
386 * gdb.threads/manythreads.exp: Adjust expected output.
387 * gdb.threads/pthreads.exp: Adjust expected output.
388 * gdb.threads/schedlock.exp: Adjust expected output.
389 * gdb.threads/siginfo-threads.exp: Adjust expected output.
390 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
391 expected output.
392 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
393 output.
394 * gdb.threads/sigthread.exp: Adjust expected output.
395 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
396
b2789696
YQ
3972016-01-18 Yao Qi <yao.qi@linaro.org>
398
399 * gdb.guile/scm-section-script.c: Replace @progbits with
400 %progbits.
401 * gdb.python/py-section-script.c: Likewise.
402
71ef29a8
PA
4032016-01-15 Pedro Alves <palves@redhat.com>
404
405 * gdb.multi/tids.exp: Test star wildcard ranges.
406
3f5b7598
PA
4072016-01-15 Pedro Alves <palves@redhat.com>
408
409 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
410 command from "thread apply" invocation.
411 (thr_apply_info_thr_invalid): Default the expected output to the
412 input tid list.
413 (top level): Add tests that use convenience variables. Add tests
414 for "thread apply" with a valid TID list, but missing the command.
415
663f6d42
PA
4162016-01-13 Pedro Alves <palves@redhat.com>
417
418 * gdb.base/default.exp: Expect $_gthread as well.
419 * gdb.multi/tids.exp: Test $_gthread.
420 * gdb.threads/thread-specific.exp: Test $_gthread.
421
c84f6bbf
PA
4222016-01-13 Pedro Alves <palves@redhat.com>
423
424 * gdb.multi/tids.exp: Test "info threads -gid".
425
22a02324
PA
4262016-01-13 Pedro Alves <palves@redhat.com>
427
428 * gdb.multi/tids.exp: Test InferiorThread.global_num and
429 Breakpoint.thread.
430 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
431
5d5658a1
PA
4322016-01-07 Pedro Alves <palves@redhat.com>
433
434 * gdb.base/break.exp: Adjust to output changes.
435 * gdb.base/hbreak2.exp: Likewise.
436 * gdb.base/sepdebug.exp: Likewise.
437 * gdb.base/watch_thread_num.exp: Likewise.
438 * gdb.linespec/keywords.exp: Likewise.
439 * gdb.multi/info-threads.exp: Likewise.
440 * gdb.threads/thread-find.exp: Likewise.
441 * gdb.multi/tids.c: New file.
442 * gdb.multi/tids.exp: New file.
443
84654457
PA
4442016-01-13 Pedro Alves <palves@redhat.com>
445
446 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
447
e3940304
PA
4482016-01-13 Pedro Alves <palves@redhat.com>
449
450 * gdb.base/default.exp: Expect $_inferior as well.
451 * gdb.multi/base.exp: Test $_inferior.
452
a911d87a
PA
4532016-01-13 Pedro Alves <palves@redhat.com>
454
455 PR breakpoints/19388
456 * gdb.base/catch-signal-siginfo-cond.c: New file.
457 * gdb.base/catch-signal-siginfo-cond.exp: New file.
458
82075af2
JS
4592016-01-12 Josh Stone <jistone@redhat.com>
460 Philippe Waroquiers <philippe.waroquiers@skynet.be>
461
462 * gdb.base/catch-syscall.c (do_execve): New variable.
463 (main): Conditionally trigger an execve.
464 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
465 (test_catch_syscall_execve): New, check entry/return across execve.
466 (do_syscall_tests): Call test_catch_syscall_execve.
467
e46eeedd
PA
4682016-01-12 Pedro Alves <palves@redhat.com>
469
470 * gdb.base/random-signal.exp (do_test): New procedure, with body
471 of testcase moved in.
472
01d8c27e
JK
4732016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
474 Pedro Alves <palves@redhat.com>
475
476 * gdb.base/funcargs.exp (finish from indirectly called function):
477 Reintroduce the case for 'First'.
478
9a706302
JK
4792016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
480 Pedro Alves <palves@redhat.com>
481
482 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
483 (tcatch_vfork_then_child_follow_exec)
484 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
485 identification.
486
c0ecb95f
JK
4872016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
488
489 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
490 and repeats to unlimited.
491 * gdb.python/py-value.exp: Likewise.
492 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
493 and repeats to unlimited.
494
6cfc1fcb
JK
4952016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
496
497 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
498 and reordering the functions.
499 * gdb.multi/hangout.c: Likewise.
500 * gdb.multi/hello.c: Likewise.
501
582a1b00
SM
5022016-01-08 Simon Marchi <simon.marchi@ericsson.com>
503
504 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
505 absolute.
506 (SingleStatisticTestResult.report): Use dict.keys instead of
507 dict.iterkeys.
508
79bc59cb
PA
5092016-01-06 Pedro Alves <palves@redhat.com>
510
511 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
512
43368e1d
MM
5132016-01-04 Markus Metzger <markus.t.metzger@intel.com>
514
515 * gdb.btrace/dlopen.exp: New.
516 * gdb.btrace/dlopen.c: New.
517 * gdb.btrace/dlopen-dso.c: New.
518
79fad5b8
SL
5192015-12-25 Sandra Loosemore <sandra@codesourcery.com>
520
521 * lib/gdb.exp (gdb_test): Update comments to clarify that the
522 PATTERN argument is optional.
523
ab8314b3
JB
5242015-12-24 Joel Brobecker <brobecker@adacore.com>
525
526 * lib/ada.exp (target_compile_ada_from_dir): New function.
527 (gdb_compile_ada): Reimplement avoiding the use of project files.
528 * gdb.ada/gnat_ada.gpr: Delete.
529 * gdb.ada/cond_lang.exp: Adjust test to make path before
530 filename optional.
531 * gdb.ada/small_reg_param.exp: Likewise.
532
fe33faff
SM
5332015-12-22 Simon Marchi <simon.marchi@ericsson.com>
534
535 * gdb.base/foll-vork.exp: Remove HP-UX special case.
536
6d265cb4
TP
5372015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
538
539 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
540 case.
541
10125099
SM
5422015-12-21 Simon Marchi <simon.marchi@ericsson.com>
543
544 * gdb.base/break.exp: Remove dead code.
545 * gdb.base/sepdebug.exp: Likewise.
546
3ca22649
SM
5472015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
548
549 * gdb.asm/asm-source.exp: Remove HP-UX references.
550 * gdb.base/annota1.exp: Likewise.
551 * gdb.base/annota3.exp: Likewise.
552 * gdb.base/attach.exp: Likewise.
553 * gdb.base/bigcore.exp: Likewise.
554 * gdb.base/break.exp: Likewise.
555 * gdb.base/call-ar-st.exp: Likewise.
556 * gdb.base/callfuncs.exp: Likewise.
557 * gdb.base/catch-fork-static.exp: Likewise.
558 * gdb.base/display.exp: Likewise.
559 * gdb.base/foll-exec-mode.exp: Likewise.
560 * gdb.base/foll-exec.exp: Likewise.
561 * gdb.base/foll-fork.exp: Likewise.
562 * gdb.base/foll-vfork.exp: Likewise.
563 * gdb.base/funcargs.exp: Likewise.
564 * gdb.base/hbreak2.exp: Likewise.
565 * gdb.base/inferior-died.exp: Likewise.
566 * gdb.base/interrupt.exp: Likewise.
567 * gdb.base/multi-forks.exp: Likewise.
568 * gdb.base/nodebug.exp: Likewise.
569 * gdb.base/sepdebug.exp: Likewise.
570 * gdb.base/solib1.c: Likewise.
571 * gdb.base/step-test.exp: Likewise.
572 * gdb.mi/non-stop.c: Likewise.
573 * gdb.mi/pthreads.c: Likewise.
574 * gdb.multi/bkpt-multi-exec.ex: Likewise.
575 * gdb.threads/pthreads.c: Likewise.
576 * gdb.threads/staticthreads.exp: Likewise.
577 * lib/future.exp: Likewise.
578 * lib/gdb.exp: Likewise.
579 * gdb.base/so-indr-cl.c: Remove.
580 * gdb.base/so-indr-cl.exp: Likewise.
581 * gdb.base/solib.c: Likewise.
582 * gdb.base/solib.exp: Likewise.
583 * gdb.base/solib2.c: Likewise.
584
b6304613
SM
5852015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
586
587 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
588 * gdb.base/call-ar-st.exp: Likewise.
589 * gdb.base/callfuncs.exp: Likewise.
590 * gdb.base/condbreak.exp: Likewise.
591 * gdb.base/constvars.exp: Likewise.
592 * gdb.base/hbreak2.exp: Likewise.
593 * gdb.base/langs.exp: Likewise.
594 * gdb.base/list.exp: Likewise.
595 * gdb.base/long_long.exp: Likewise.
596 * gdb.base/ptype.exp: Likewise.
597 * gdb.base/scope.exp: Likewise.
598 * gdb.base/signals.exp: Likewise.
599 * gdb.base/so-impl-ld.exp: Likewise.
600 * gdb.base/varargs.exp: Likewise.
601 * gdb.base/volatile.exp: Likewise.
602 * gdb.base/whatis.exp: Likewise.
603 * gdb.cp/cplusfuncs.exp: Likewise.
604 * gdb.cp/inherit.exp: Likewise.
605 * gdb.cp/local.exp: Likewise.
606 * gdb.cp/member-ptr.exp: Likewise.
607 * gdb.cp/method.exp: Likewise.
608 * gdb.cp/overload.exp: Likewise.
609 * gdb.cp/templates.exp: Likewise.
610 * gdb.stabs/weird.exp: Likewise.
611 * lib/compiler.c: Likewise.
612 * lib/compiler.cc: Likewise.
613 * lib/cp-support.exp: Likewise.
614 * lib/gdb.exp: Likewise.
615
bf401b07
SM
6162015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
617
618 * configure.ac: Remove HP-UX case.
619 * configure: Regenerate.
620
aff9c0f8
SM
6212015-12-18 Simon Marchi <simon.marchi@ericsson.com>
622
623 * lib/gdb.exp (gdb_compile): Add function doc.
624
a6904d5a
PA
6252015-12-17 Pedro Alves <palves@redhat.com>
626
627 PR threads/19354
628 * gdb.multi/info-threads.exp: New file.
629
a22279dd
YQ
6302015-12-15 Yao Qi <yao.qi@linaro.org>
631
632 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
633 is aarch64*-*-*.
634
0588c796
SL
6352015-12-14 Sandra Loosemore <sandra@codesourcery.com>
636
637 * gdb.base/history-duplicates.exp: Skip if no readline support.
638
5d978e17
SL
6392015-12-14 Sandra Loosemore <sandra@codesourcery.com>
640
641 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
642
7e763b86
SL
6432015-12-14 Sandra Loosemore <sandra@codesourcery.com>
644
645 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
646
87a3a92c
SL
6472015-12-14 Sandra Loosemore <sandra@codesourcery.com>
648
649 * gdb.base/completion.exp: Skip tests that interrupt GDB with
650 ctrl-C if nointerrupts target property is set.
651 * gdb.base/double-prompt-target-event-error.exp: Likewise.
652 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
653 * gdb.base/paginate-bg-execution.exp: Likewise.
654 * gdb.base/paginate-execution-startup.exp: Likewise.
655 * gdb.base/random-signal.exp: Likewise.
656 * gdb.base/range-stepping.exp: Likewise.
657 * gdb.cp/annota2.exp: Likewise.
658 * gdb.cp/annota3.exp: Likewise.
659 * gdb.gdb/selftest.exp: Likewise.
660 * gdb.threads/continue-pending-status.exp: Likewise.
661 * gdb.threads/leader-exit.exp: Likewise.
662 * gdb.threads/manythreads.exp: Likewise.
663 * gdb.threads/pthreads.exp: Likewise.
664 * gdb.threads/schedlock.exp: Likewise.
665 * gdb.threads/sigthread.exp: Likewise.
666
a8f077dc
DB
6672015-12-11 Don Breazeal <donb@codesourcery.com>
668
669 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
670 remote.
671 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
672 * gdb.base/foll-exec.exp (main): Enable for target remote.
673 * gdb.base/foll-fork.exp (main): Likewise.
674 * gdb.base/foll-vfork.exp (main): Likewise.
675 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
676 (proc continue_to_exit_bp_loc): Use clean_restart.
677 * gdb.base/pie-execl.exp (main): Disable for target remote.
678 * gdb.base/watch-vfork.exp (main): Enable for target remote.
679 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
680 * gdb.threads/execl.exp (main): Likewise.
681 * gdb.threads/fork-child-threads.exp (main): Likewise.
682 * gdb.threads/fork-plus-threads.exp (main): Disable for target
683 remote.
684 * gdb.threads/fork-thread-pending.exp (main): Enable for target
685 remote.
686 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
687 pid.tid style ptids, instead of just tid.
688 * gdb.threads/thread-execl.exp (main): Enable for target remote.
689 * gdb.threads/watchpoint-fork.exp (main): Likewise.
690 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
691 ptids, instead of just tid.
692
3b2464a8
AB
6932015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
694
695 * gdb.base/list.exp (test_list_forward): Add end of file error
696 test.
697 (test_repeat_list_command): Add end of file error test.
698 (test_list_backwards): Add beginning of file error test.
699
a0def019
AB
7002015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
701
702 * gdb.base/list.exp (test_list_invalid_args): New function,
703 defined, and called.
704
5c000dff
AB
7052015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
706
707 * gdb.base/list.exp (test_list): Make test names unique.
708
f1637ebe
YQ
7092015-12-11 Yao Qi <yao.qi@linaro.org>
710
711 * gdb.base/coremaker2.c: Remove.
712
36d6fc0a
PA
7132015-12-10 Pedro Alves <palves@redhat.com>
714
715 * gdb.multi/base.exp: Remove stale "spaces" references.
716
762f7747
PA
7172015-12-10 Pedro Alves <palves@redhat.com>
718
719 * gdb.multi/base.exp: Don't use nowarnings.
720 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
721 * gdb.multi/hangout.c: Include stdio.h.
722 * gdb.multi/hello.c: Include stdlib.h.
723 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
724 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
725 * gdb.multi/multi-arch.exp: Don't use nowarnings.
726
28d2bfb9
AB
7272015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
728
729 * gdb.dwarf2/dw2-ranges-base.c: New file.
730 * gdb.dwarf2/dw2-ranges-base.exp: New file.
731 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
732 support additional line table, and debug ranges generation.
733 (Dwarf::ranges): New function, generate .debug_ranges.
734 (Dwarf::lines): Support generating simple line table programs.
735 (Dwarf::assemble): Initialise new namespace variables.
736
5fc2beac
KB
7372015-12-09 Kevin Buettner <kevinb@redhat.com>
738
739 * gdb.base/async.exp (proc test_background): Add case for
740 asynchronous execution not supported.
741
1c35a88f
LM
7422015-12-09 Luis Machado <lgustavo@codesourcery.com>
743
744 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
745 format and change test names to make them unique.
746
b593e3d9
RK
7472015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
748 Pedro Alves <pedro@redhat.com>
749
750 PR gdb/18702
751 Add checking of floatformats setup on x86_64 hosts.
752 * gdb.arch/i386-float.S (main): Load bigval and smallval.
753 (smallval, bigval): New labels/constants.
754 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
755 float" after loading bigval and smallval.
756
d72413e6
PMR
7572015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
758
759 * gdb.ada/fun_overload_menu.exp: New testcase.
760 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
761
ece66d65
JS
7622015-12-04 Josh Stone <jistone@redhat.com>
763
764 * gdb.base/catch-fork-static.exp: New.
765
41d0efca
YQ
7662015-12-03 Yao Qi <yao.qi@linaro.org>
767
768 * gdb.base/sizeof.c: Don't include stdio.h and
769 ../lib/unbuffer_output.c.
770 (main): New variable 'size' and 'value'. Remove printf and
771 gdb_unbuffer_output. Assign return value to size and value.
772 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
773 at the beginning.
774 (check_sizeof): Check the result by printing variable 'size'.
775 (check_valueof): Check the result by printing variable 'value'.
776
99fd02d9
YQ
7772015-12-01 Yao Qi <yao.qi@linaro.org>
778
779 * gdb.base/disp-step-syscall.exp: Define syscall instruction
780 for aarch64*-*-linux* target.
781
f2faf941
PA
7822015-11-30 Pedro Alves <palves@redhat.com>
783
784 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
785
04bf20c5
PA
7862015-11-30 Pedro Alves <palves@redhat.com>
787
788 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
789 Handle non-stop mode vCont replies.
790
09df4675
PA
7912015-11-30 Pedro Alves <palves@redhat.com>
792
793 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
794 prepare_for_testing. Start gdb with "set non-stop on" appended to
795 GDBFLAGS. Lax expected stop output.
796
58b584af
YQ
7972015-11-27 Yao Qi <yao.qi@linaro.org>
798
799 * gdb.arch/arm-neon.exp: New.
800 * gdb.arch/arm-neon.c: New.
801
dfcb77a8
YQ
8022015-11-27 Yao Qi <yao.qi@linaro.org>
803
804 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
805
88e8ec1b
YQ
8062015-11-27 Yao Qi <yao.qi@linaro.org>
807
808 * gdb.cp/annota2.exp: Allow multiple occurrences of the
809 frames-invalid annotation.
810
bfde72c2
YQ
8112015-11-27 Yao Qi <yao.qi@linaro.org>
812
813 * gdb.cp/annota2.exp: Use ${frames_invalid}.
814
f6512a69
SM
8152015-11-26 Simon Marchi <simon.marchi@ericsson.com>
816
817 * gdb.threads/names.exp: New file.
818 * gdb.threads/names.c: New file.
819 * README: Mention gdb,no_thread_names.
820
46a3515b
MM
8212015-11-26 Markus Metzger <markus.t.metzger@intel.com>
822
823 PR 19297
824 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
825 support" error.
826
62147a22
PA
8272015-11-24 Pedro Alves <palves@redhat.com>
828
829 PR 17539
830 * gdb.base/display.exp: Expect displays to be sorted in ascending
831 order. Use multi_line.
832 * gdb.base/solib-display.exp: Likewise.
833
2f341b6e
PA
8342015-11-24 Pedro Alves <palves@redhat.com>
835
836 PR 17539
837 * gdb.base/display.exp: Expect displays to be sorted in ascending
838 order. Use multi_line.
839 * gdb.base/solib-display.exp: Likewise.
840
7e0aa6aa
PA
8412015-11-24 Pedro Alves <palves@redhat.com>
842
843 PR 17539
844 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
845 threads in ascending order.
846 * gdb.base/foll-fork.exp: Likewise.
847 * gdb.base/foll-vfork.exp: Likewise.
848 * gdb.base/multi-forks.exp: Likewise.
849 * gdb.mi/mi-nonstop.exp: Likewise.
850 * gdb.mi/mi-nsintrall.exp: Likewise.
851 * gdb.multi/base.exp: Likewise.
852 * gdb.multi/multi-arch.exp: Likewise.
853 * gdb.python/py-inferior.exp: Likewise.
854 * gdb.threads/break-while-running.exp: Likewise.
855 * gdb.threads/execl.exp: Likewise.
856 * gdb.threads/gcore-thread.exp: Likewise.
857 * gdb.threads/info-threads-cur-sal.exp: Likewise.
858 * gdb.threads/kill.exp: Likewise.
859 * gdb.threads/linux-dp.exp: Likewise.
860 * gdb.threads/multiple-step-overs.exp: Likewise.
861 * gdb.threads/next-bp-other-thread.exp: Likewise.
862 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
863 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
864 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
865 * gdb.threads/thread-find.exp: Likewise.
866 * gdb.threads/tls.exp: Likewise.
867 * lib/mi-support.exp (mi_reverse_list): Delete.
868 (mi_check_thread_states): No longer reverse list.
869
2cc57ad8
PA
8702015-11-24 Pedro Alves <palves@redhat.com>
871
872 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
873 use lowercase.
874
c93e8391
SM
8752015-11-23 Simon Marchi <simon.marchi@ericsson.com>
876
877 * gdb.trace/actions.c: Include trace-common.h.
878 (main): Add a location for a fast tracepoint.
879 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
880 the normal tracepoints.
881 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
882
045ccf91
SM
8832015-11-23 Simon Marchi <simon.marchi@ericsson.com>
884
885 * save-trace.exp: Factor out code to these...
886 (gdb_save_tracepoints): New.
887 (gdb_load_tracepoints): New.
888 (do_save_load_test): New.
889
5506f9f6
KB
8902015-11-23 Kevin Buettner <kevinb@redhat.com>
891
892 * gdb.base/asmlabel.exp: New test.
893 * gdb.base/asmlabel.c: New test case.
894
16c3b12f
JB
8952015-11-23 Joel Brobecker <brobecker@adacore.com>
896
897 * gdb.base/wrong_frame_bt_full-main.c: New file.
898 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
899 * gdb.base/wrong_frame_bt_full.exp: New file.
900
155bfbd3
JB
9012015-11-23 Joel Brobecker <brobecker@adacore.com>
902
903 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
904
bb097445
JM
9052015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
906
206853a0 907 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
908 pstate register when comparing registers values in
909 sparc64-*-linux-gnu targets to avoid spurious differences.
910
9c88ed8f
JM
9112015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
912
206853a0 913 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 914
96161e25
SL
9152015-11-19 Sandra Loosemore <sandra@codesourcery.com>
916
917 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
918 as type argument to gdb_compile.
919 * gdb.base/nested-subp2.exp: Likewise.
920 * gdb.base/nested-subp3.exp: Likewise.
921
340c2830
DV
9222015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
923
924 * lib/dwarf.exp (_note): Fix left shift of negative value.
925 * gdb.trace/trace-condition.exp: Likewise.
926
c1862d0f
YQ
9272015-11-13 Yao Qi <yao.qi@linaro.org>
928
929 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
930 comments about d10v.
931 (test_scalar_returns): Likewise.
932 * gdb.base/d10v.ld: Remove.
933 * gdb.base/overlays.exp: Remove the target triplet checking for
934 d10v-*-*.
935 * gdb.base/structs.exp (test_struct_returns): Remove the
936 comments about d10v.
937 (test_struct_calls): Likewise.
938
77ae9c19
YQ
9392015-11-13 Yao Qi <yao.qi@linaro.org>
940
941 * gdb.base/gnu_vector.exp: Check the return value by "p res".
942 * gdb.base/gnu_vector.c: Don't include stdio.h.
943 (main): Don't print res and call add_some_intvecs.
944
430e004e
MK
9452015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
946
947 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
948 macro.
949 (func5): Removed.
950 (func4): Use FAST_TRACEPOINT_LABEL.
951 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
952 macro.
953 (func): Removed.
954 (thread_function): Use FAST_TRACEPOINT_LABEL.
955 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
956 (func): Remove.
957 (marker): Use FAST_TRACEPOINT_LABEL.
958 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
959 (pendfunc1): Remove.
960 (pendfunc): Use FAST_TRACEPOINT_LABEL.
961 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
962 (foo): Remove.
963 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
964 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
965 macro.
966 (func): Remove.
967 (marker): Use FAST_TRACEPOINT_LABEL.
968 * gdb.trace/trace-common.h: New header.
969 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
970 macro.
971 (func): Remove.
972 (marker): Use FAST_TRACEPOINT_LABEL.
973 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
974 (func): Remove.
975 (thread_function): Use FAST_TRACEPOINT_LABEL.
976
6e7675a7
MK
9772015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
978
979 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
980 in front.
981 * gdb.trace/change-loc.exp: Use global pcreg definition.
982 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
983 * gdb.trace/entry-values.exp: Use global spreg definition, add $
984 in front.
985 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
986 * gdb.trace/pending.exp: Likewise.
987 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
988 * gdb.trace/trace-break.exp: Likewise.
989 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
990 in front.
991 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
992 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
993 in front.
994 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
995
dddc0e16
JB
9962015-11-09 Joel Brobecker <brobecker@adacore.com>
997
998 * gdb.ada/fin_fun_out: New testcase.
999
c6f0b406
KB
10002015-11-07 Kevin Buettner <kevinb@redhat.com>
1001
1002 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1003 value associated with DW_AT_byte_size.
1004 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1005 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1006 DW_AT_upper_bound.
1007
f01dcfd9
KB
10082015-11-07 Kevin Buettner <kevinb@redhat.com>
1009
1010 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1011 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1012 version.
1013 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1014 gdb.dwarf2/dw2-canonicalize-type.exp,
1015 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1016 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1017 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1018 provided by gdb_target_symbol_prefix_flags_asm.
1019 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1020 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1021 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1022 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1023 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1024 macros where needed). Use this macro for symbols which require
1025 the prefix provided by SYMBOL_PREFIX.
1026
2223449a
KB
10272015-11-05 Kevin Buettner <kevinb@redhat.com>
1028
1029 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1030 New procs.
1031 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1032 representing expressions, of more than one list element.
1033 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1034 to prepend linker symbol prefix to f.
1035 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1036 table_1 and table_2.
1037 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1038 Likewise, for f and g.
1039 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1040 for ptr.
1041 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1042 for main.
1043 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1044 table_1_ptr and table_2_ptr.
1045
6f2f1a3a
JK
10462015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1047 Joel Brobecker <brobecker@adacore.com>
1048
1049 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1050
566c56c9
MK
10512015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1052
1053 * gdb.reverse/s390-mvcle.c: New test.
1054 * gdb.reverse/s390-mvcle.exp: New file.
1055 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1056
d5f0636b
MK
10572015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1058
1059 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1060
7ad8b86c
MK
10612015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1062
1063 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1064 reaching marker2.
1065 * gdb.reverse/getresuid-reverse.exp: Likewise.
1066 * gdb.reverse/pipe-reverse.exp: Likewise.
1067 * gdb.reverse/readv-reverse.exp: Likewise.
1068 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1069 * gdb.reverse/time-reverse.exp: Likewise.
1070 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1071
4081c0f1
YQ
10722015-10-30 Yao Qi <yao.qi@linaro.org>
1073
1074 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1075 (empty_cycle): Remove.
1076 (main): Don't call empty_cycle. Don't use watch_count_done.
1077 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1078 empty_cycle. Rewrite the code counting HW watchpoints.
1079
452b4ba5
MK
10802015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1081
1082 * gdb.reverse/fstatat-reverse.c: New test.
1083 * gdb.reverse/fstatat-reverse.exp: New file.
1084 * gdb.reverse/getresuid-reverse.c: New test.
1085 * gdb.reverse/getresuid-reverse.exp: New file.
1086 * gdb.reverse/pipe-reverse.c: New test.
1087 * gdb.reverse/pipe-reverse.exp: New file.
1088 * gdb.reverse/readv-reverse.c: New test.
1089 * gdb.reverse/readv-reverse.exp: New file.
1090 * gdb.reverse/recvmsg-reverse.c: New test.
1091 * gdb.reverse/recvmsg-reverse.exp: New file.
1092 * gdb.reverse/time-reverse.c: New test.
1093 * gdb.reverse/time-reverse.exp: New file.
1094 * gdb.reverse/waitpid-reverse.c: New test.
1095 * gdb.reverse/waitpid-reverse.exp: New file.
1096
5e2e7507
JK
10972015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1098
1099 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1100
0fde2c53
DE
11012015-10-26 Doug Evans <dje@google.com>
1102
1103 PR symtab/17391
1104 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1105 * gdb.dwarf2/bad-regnum.c: New file.
1106 * gdb.dwarf2/bad-regnum.exp: New file.
1107
1a70ae97
DE
11082015-10-26 Doug Evans <dje@google.com>
1109
1110 PR python/18938
1111 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1112 file.
1113
27dc26ab
JK
11142015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1115
1116 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1117 for a change by "Mention language in compile error message".
1118
bed91f4d
SM
11192015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1120
1121 PR python/18073
1122 * gdb.python/py-type.c (C::a_method): New.
1123 (C::a_const_method): New.
1124 (C::a_static_method): New.
1125 (a_function): New.
1126 * gdb.python/py-type.exp (test_fields): Test getting fields
1127 from function and method.
1128
3f2f83dd
KB
11292015-10-21 Keven Boell <keven.boell@intel.com>
1130
1131 * gdb.fortran/vla-alloc-assoc.exp: New file.
1132 * gdb.fortran/vla-datatypes.exp: New file.
1133 * gdb.fortran/vla-datatypes.f90: New file.
1134 * gdb.fortran/vla-history.exp: New file.
1135 * gdb.fortran/vla-ptype-sub.exp: New file.
1136 * gdb.fortran/vla-ptype.exp: New file.
1137 * gdb.fortran/vla-sizeof.exp: New file.
1138 * gdb.fortran/vla-sub.f90: New file.
1139 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1140 * gdb.fortran/vla-value-sub-finish.exp: New file.
1141 * gdb.fortran/vla-value-sub.exp: New file.
1142 * gdb.fortran/vla-value.exp: New file.
1143 * gdb.fortran/vla-ptr-info.exp: New file.
1144 * gdb.mi/mi-vla-fortran.exp: New file.
1145 * gdb.mi/vla.f90: New file.
1146
27145d50
SL
11472015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1148
1149 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1150 of hardwired timeout value.
1151
5f3ff4f8
JK
11522015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1153 Pedro Alves <palves@redhat.com>
1154
1155 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1156 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1157
bfd09d20
JS
11582015-10-19 Josh Stone <jistone@redhat.com>
1159
1160 * gdb.base/catch-syscall.c: Include <sched.h>.
1161 (unknown_syscall): New variable.
1162 (main): Trigger a vfork and an unknown syscall.
1163 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1164 (unknown_syscall_number): Likewise.
1165 (check_call_to_syscall): Accept an optional syscall pattern.
1166 (check_return_from_syscall): Likewise.
1167 (check_continue): Likewise.
1168 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1169 (test_catch_syscall_skipping_return): New test toggling off 'catch
1170 syscall' to step over the syscall return, then toggling back on.
1171 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1172 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1173 (do_syscall_tests): Call test_catch_syscall_without_args and
1174 test_catch_syscall_mid_vfork.
1175 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1176 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1177
b32b93c6
AS
11782015-10-19 Andrew Stubbs <ams@codesourcery.com>
1179
1180 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1181 print g_vE): Add new pass patterns.
1182 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1183 print various symbol names for vptr fields.
1184
9d622bda
AB
11852015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1186
1187 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1188 results.
1189
0fd8ac1c
YQ
11902015-10-12 Yao Qi <yao.qi@linaro.org>
1191
1192 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1193
34240514
YQ
11942015-10-12 Yao Qi <yao.qi@linaro.org>
1195
1196 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1197 is aarch64*-*-linux*.
1198
8240f442
YQ
11992015-10-12 Yao Qi <yao.qi@linaro.org>
1200
1201 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1202 (can_relocate_bcond_true): ... it.
1203 (can_relocate_bcond_false): New function.
1204 (foo): Likewise.
1205 (can_relocate_bl): Likewise.
1206 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1207 can_relocate_bl.
1208
2520f728
PMR
12092015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1210
1211 * gdb.base/nested-addr.c: New file.
1212 * gdb.base/nested-addr.exp: New testcase.
1213
abcef95a
MM
12142015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1215
1216 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1217 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1218 its output. Ignore the output of "record goto begin" and instead
1219 check that GDB is replaying.
1220
145e3ddb
PA
12212015-10-09 Pedro Alves <palves@redhat.com>
1222
1223 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1224 (top level): Use it in the run with no args test.
1225
d5d8c4e1
IB
12262015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1227
1228 * gdb.dlang/properties.exp: New file.
1229
06e635ef
SL
12302015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1231
1232 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1233 whether or not address 0x1000 is mapped on the target.
1234
e019fd1d
SM
12352015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1236
1237 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1238 build.
1239
77ba2a67
MM
12402015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1241
1242 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1243 instruction-history test.
1244
c60eb31f
DE
12452015-09-28 Doug Evans <dje@google.com>
1246
1247 * gdb.base/gcore.c (array_func): Add reference to static_array.
1248
9a3c8263
SM
12492015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1250
1251 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1252 source line.
1253
9720e656
SL
12542015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1255
1256 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1257 short or char as base type.
1258
938d3bf2
SL
12592015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1260
1261 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1262 to allow any size enum.
1263
e6c2c623
PMR
12642015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1265
1266 * gdb.ada/array_ptr_renaming.exp: New testcase.
1267 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1268 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1269
06da0f77
PL
12702015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1271
1272 * gdb.trace/ftrace-lock.c: New file.
1273 * gdb.trace/ftrace-lock.exp: New file.
1274
4f51c22a
PL
12752015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1276
1277 * gdb.arch/insn-reloc.c: New file.
1278 * gdb.arch/ftrace-insn-reloc.exp: New file.
1279
7041adf4
PL
12802015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1281
1282 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1283 instruction.
1284 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1285 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1286 * gdb.trace/range-stepping.c: Likewise.
1287 * gdb.trace/trace-break.c: Likewise.
1288 * gdb.trace/trace-mt.c (thread_function): Likewise.
1289 * gdb.trace/ftrace.c (marker): Likewise.
1290 * gdb.trace/trace-condition.c (marker): Likewise.
1291 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1292 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1293 is_aarch64_target.
1294
015d2e7e
DE
12952015-09-18 Doug Evans <xdje42@gmail.com>
1296
1297 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1298 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1299
26b188a2
SL
13002015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1301
1302 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1303 the breakpoint.
1304
79dc332b
SL
13052015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1306
1307 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1308 the pending breakpoint. Remove timeout override for "Run till
1309 MI pending breakpoint on pendfunc3 on thread 2" test.
1310
f57929f2
SL
13112015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1312
1313 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1314 filename pattern.
1315
3f469b17
SL
13162015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1317
1318 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1319 in breakpoint filename pattern.
1320
515b89b3
SL
13212015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1322
7800dbe4
SL
1323 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1324
13252015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1326
515b89b3
SL
1327 * gdb.linespec/explicit.exp: Check for readline support for
1328 tab-completion tests. Fix obvious typo.
1329
d2939ba2
MM
13302015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1331
1332 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1333 and replay.
1334
cbb55fa7
MM
13352015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1336
1337 * gdb.btrace/non-stop.c: New.
1338 * gdb.btrace/non-stop.exp: New.
1339
43691ca1
PL
13402015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1341 Yao Qi <yao.qi@linaro.org>
1342
1343 * gdb.trace/trace-condition.c: New file.
1344 * gdb.trace/trace-condition.exp: New file.
1345
d78908cf
WW
13462015-09-16 Wei-cheng Wang <cole945@gmail.com>
1347
1348 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1349 for testing bytecode compilation.
1350
1ed415e2
PA
13512015-09-16 Pedro Alves <palves@redhat.com>
1352 Sandra Loosemore <sandra@codesourcery.com>
1353
1354 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1355 (SECONDS): Redefine.
1356 (main): Call pthread_kill and alarm early.
1357 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1358 support.
1359 (test): If the target can't hardware step and doesn't support
1360 displaced stepping, increase the timeout.
1361
d136eff5
PA
13622015-09-16 Pedro Alves <palves@redhat.com>
1363
1364 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1365 (enable_debug): New procedures.
1366 (test): Use them. Bail out if waiting for threads fails.
1367 (top level): Bail out if a test fails.
1368
991f019c
YQ
13692015-09-16 Yao Qi <yao.qi@linaro.org>
1370
1371 * gdb.asm/asm-source.exp: Set asm-arch for
1372 aarch64*-*-* target.
1373 * gdb.asm/aarch64.inc: New file.
1374
bfca584f
PMR
13752015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1376
1377 * gdb.ada/array_of_variable_length.exp: New testcase.
1378 * gdb.ada/array_of_variable_length/foo.adb: New file.
1379 * gdb.ada/array_of_variable_length/pck.adb: New file.
1380 * gdb.ada/array_of_variable_length/pck.ads: New file.
1381
b326e587
DE
13822015-09-15 Doug Evans <dje@google.com>
1383
1384 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1385 of function static local variable.
1386
5382cfab
PW
13872015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1388
1389 * gdb.threads/tls-so_extern.exp: New test file.
1390 * gdb.threads/tls-so_extern.c: New test file.
1391 * gdb.threads/tls-so_extern_main.c: New test file.
1392
141c5cc4
JK
13932015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1394
1395 * gdb.opt/solib-intra-step-lib.c: New file.
1396 * gdb.opt/solib-intra-step-main.c: New file.
1397 * gdb.opt/solib-intra-step.exp: New file.
1398
d15dcecd
PA
13992015-09-15 Pedro Alves <palves@redhat.com>
1400
1401 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1402 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1403
4c2f2a79
PA
14042015-09-14 Pedro Alves <palves@redhat.com>
1405
1406 * gdb.base/hook-stop-continue.c: Delete.
1407 * gdb.base/hook-stop-continue.exp: Delete.
1408 * gdb.base/hook-stop-frame.c: Delete.
1409 * gdb.base/hook-stop-frame.exp: Delete.
1410 * gdb.base/hook-stop.c: New file.
1411 * gdb.base/hook-stop.exp: New file.
1412
919e6dbe
PMR
14132015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1414
1415 * gdb.ada/access_to_packed_array.exp: New testcase.
1416 * gdb.ada/access_to_packed_array/foo.adb: New file.
1417 * gdb.ada/access_to_packed_array/pack.adb: New file.
1418 * gdb.ada/access_to_packed_array/pack.ads: New file.
1419
157280a4
MM
14202015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1421
1422 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1423 buffer size test.
1424
2fd33e94
DB
14252015-09-11 Don Breazeal <donb@codesourcery.com>
1426
1427 * gdb.base/foll-exec.c: Add copyright header. Fix
1428 formatting issues.
1429 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1430 (do_exec_tests): Use clean_restart in place of zap_session,
1431 and for test initialization. Fix formatting issues. Use
1432 fail in place of perror.
1433 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1434 an expect statement to match an expression with output from
1435 the program under debug.
1436 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1437 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1438 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1439 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1440 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1441
e70b6e8e
DE
14422015-09-09 Doug Evans <dje@google.com>
1443
1444 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1445
7a551a51
DE
14462015-09-09 Doug Evans <dje@google.com>
1447
1448 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1449
4c666f84
DE
14502015-09-09 Doug Evans <dje@google.com>
1451
1452 * gdb.base/savedregs.exp: Fix typo.
1453
243a9253
PA
14542015-09-09 Pedro Alves <palves@redhat.com>
1455
1456 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1457
c0fa8fbd
SL
14582015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1459
1460 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1461 command actually switches threads. Give up on remaining
1462 tests if target fails to stop at breakpoint.
1463
cd7c1778
PMR
14642015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1465
1466 * gdb.ada/funcall_char.exp: New testcase.
1467 * gdb.ada/funcall_char/foo.adb: New file.
1468
dc5c8746
PMR
14692015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1470
1471 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1472 expected outputs. Add two testcases for completing ambiguous
1473 functions.
1474 * gdb.ada/complete/aux_pck.adb: New file.
1475 * gdb.ada/complete/aux_pck.ads: New file.
1476 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1477 Ambiguous_Func functions.
1478 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1479 * gdb.ada/complete/pck.adb: Likewise.
1480
4e83a1e7
UW
14812015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1482
1483 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1484 failures to run the test program under GDB.
1485
8ce74153
LM
14862015-08-26 Luis Machado <lgustavo@codesourcery.com>
1487
1488 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1489 to C.
1490
e9756d52
PP
14912015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1492
1493 * gdb.base/run-after-attach.exp: New test file.
1494 * gdb.base/run-after-attach.c: New test file.
1495
8d37573b
DB
14962015-08-26 Don Breazeal <donb@codesourcery.com>
1497
1498 * gdb.base/foll-exec-2.c: New test program.
1499 * gdb.base/foll-exec-2.exp: New test.
1500
63e43d3a
PMR
15012015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1502
1503 * gdb.base/nested-subp1.exp: New file.
1504 * gdb.base/nested-subp1.c: New file.
1505 * gdb.base/nested-subp2.exp: New file.
1506 * gdb.base/nested-subp2.c: New file.
1507 * gdb.base/nested-subp3.exp: New file.
1508 * gdb.base/nested-subp3.c: New file.
1509
3d40fbb5
PA
15102015-08-24 Pedro Alves <palves@redhat.com>
1511
1512 * gdb.server/connect-without-multi-process.c: New file.
1513 * gdb.server/connect-without-multi-process.exp: New file.
1514
4422ac93
LM
15152015-08-24 Luis Machado <lgustavo@codesourcery.com>
1516
1517 * gdb.opt/inline-markers.c: Make z int.
1518
91dddb86
LM
15192015-08-24 Luis Machado <lgustavo@codesourcery.com>
1520
1521 * gdb.opt/inline-markers.c: Make z volatile.
1522
a48847ee
LM
15232015-08-24 Luis Machado <lgustavo@codesourcery.com>
1524
1525 * gdb.opt/inline-bt.c: New volatile global z.
1526 * gdb.opt/inline-cmds.c: Likewise.
1527 * gdb.opt/inline-locals.c: Likewise.
1528 * gdb.opt/inline-markers.c: New extern global z.
1529 (marker): Use z.
1530 (inline_fn): Likewise.
1531
0ebbc52b
PA
15322015-08-24 Pedro Alves <palves@redhat.com>
1533
1534 * config/m32r-stub.exp: Remove file.
1535 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1536 * gdb.base/call-rt-st.exp: Likewise.
1537 * gdb.base/call-strs.exp: Likewise.
1538 * gdb.base/default.exp: Remove references to h8300-*-hms and
1539 *-*-udi*.
1540 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1541
77c365df
AA
15422015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1543
1544 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1545 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1546 and "return" use KFAIL when GDB can not read/write the vector
1547 return value.
1548
4313b8c0
GB
15492015-08-21 Gary Benson <gbenson@redhat.com>
1550
1551 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1552
0e433b32
PA
15532015-08-20 Pedro Alves <palves@redhat.com>
1554
1555 * gdb.server/solib-list.exp: No longer expect an interior stop in
1556 non-stop mode.
1557
221e1a37
PA
15582015-08-20 Pedro Alves <palves@redhat.com>
1559
1560 * gdb.server/connect-stopped-target.c: New file.
1561 * gdb.server/connect-stopped-target.exp: New file.
1562
40e3ad0e
PA
15632015-08-20 Pedro Alves <palves@redhat.com>
1564
1565 * gdb.dwarf2/comp-unit-lang.exp: New file.
1566 * gdb.dwarf2/comp-unit-lang.c: New file.
1567
af39b327
PMR
15682015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1569
1570 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1571 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1572
7d45c7c3 15732015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1574
7d45c7c3
KB
1575 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1576 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1577
4d6cceb4
DE
15782015-08-18 Doug Evans <dje@google.com>
1579 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1580
1581 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1582 skip_python_tests. New arg prompt_regexp.
1583 (skip_python_tests): New function.
1584 * lib/mi-support.exp (mi_skip_python_tests): New function.
1585 * gdb.python/py-mi-objfile-gdb.py: New file.
1586 * gdb.python/py-mi-objfile.c: New file.
1587 * gdb.python/py-mi-objfile.exp: New file.
1588
ad89c2aa
KS
15892015-08-17 Keith Seitz <keiths@redhat.com>
1590
1591 * gdb.linespec/explicit.exp: Move strace test from here ...
1592 * gdb.trace/strace.exp: ... to here.
1593
e3ae3c43
PP
15942015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1595
1596 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1597 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1598
604b2636
DE
15992015-08-14 Doug Evans <xdje42@gmail.com>
1600
1601 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1602 inferior before selecting a new file.
1603
6ff0ba5f
DE
16042015-08-14 Doug Evans <xdje42@gmail.com>
1605
1606 * gdb.mi/mi-disassemble.exp: Update.
1607 * gdb.base/disasm-optim.S: New file.
1608 * gdb.base/disasm-optim.c: New file.
1609 * gdb.base/disasm-optim.h: New file.
1610 * gdb.base/disasm-optim.exp: New file.
1611
9ca98f92
KS
16122015-08-14 Keith Seitz <keiths@redhat.com>
1613
1614 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1615 "evaluated-by".
1616
52bbc560
JB
16172015-08-13 Joel Brobecker <brobecker@adacore.com>
1618
1619 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1620
5d8c3ed3
PMR
16212015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1622
1623 * gdb.ada/fun_renaming.exp: New testcase.
1624 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1625 * gdb.ada/fun_renaming/pack.adb: New file.
1626 * gdb.ada/fun_renaming/pack.ads: New file.
1627
ea8812bc
KS
16282015-08-12 Keith Seitz <keiths@redhat.com>
1629
1630 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1631 gdb_get_line_number.
1632
4dafcdeb
JB
16332015-08-12 Joel Brobecker <brobecker@adacore.com>
1634
1635 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1636 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1637 gdb.base/dso2dso.exp: New files.
1638
5ba32597
SDJ
16392015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1640 Pedro Alves <palves@redhat.com>
1641 Keith Seitz <keiths@redhat.com>
1642
1643 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1644 GDBFLAGS.
1645
b6dafabf
PP
16462015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1647
1648 * gdb.base/gdbhistsize-history.exp
1649 (test_histsize_history_setting): Use save_vars.
1650 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1651 Use save_vars.
1652 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1653 * gdb.base/readline.exp: Use save_vars.
1654
abe8e607
PP
16552015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1656
1657 * lib/gdb.exp (save_vars): New proc.
1658
629500fa
KS
16592015-08-11 Keith Seitz <keiths@redhat.com>
1660
1661 * gdb.base/help.exp: Update help_breakpoint_text.
1662
eb8c4e2e
KS
16632015-08-11 Keith Seitz <keiths@redhat.com>
1664
1665 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1666 (at toplevel): Call test_explicit_breakpoints.
1667 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1668 breakpoints.
1669 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1670 breakpoint conditions, "-cond".
1671
87f0e720
KS
16722015-08-11 Keith Seitz <keiths@redhat.com>
1673
1674 * gdb.linespec/3explicit.c: New file.
1675 * gdb.linespec/cpexplicit.cc: New file.
1676 * gdb.linespec/cpexplicit.exp: New file.
1677 * gdb.linespec/explicit.c: New file.
1678 * gdb.linespec/explicit.exp: New file.
1679 * gdb.linespec/explicit2.c: New file.
1680 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1681 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1682 before using in the matching pattern.
1683 Clarify that `prefix' is a regular expression.
1684
f00aae0f
KS
16852015-08-11 Keith Seitz <keiths@redhat.com>
1686
1687 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1688 test.
1689 Add tests for missing ",FMT" and ",".
1690
e27852be
DE
16912015-08-10 Doug Evans <dje@google.com>
1692 Keith Seitz <keiths@redhat.com>
1693
1694 PR gdb/17960
1695 * gdb.base/completion.exp: Add location completer tests.
1696
7f03bd92
PA
16972015-08-07 Pedro Alves <palves@redhat.com>
1698
1699 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1700 tests here.
1701 (top level): Run do_test with and without displaced stepping.
1702
3fc8eb30
PA
17032015-08-07 Pedro Alves <palves@redhat.com>
1704
1705 * gdb.base/valgrind-disp-step.c: New file.
1706 * gdb.base/valgrind-disp-step.exp: New file.
1707
d4569d7b
PA
17082015-08-07 Pedro Alves <palves@redhat.com>
1709
1710 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1711 Delete function.
1712 (main): Add alarm. Run an infinite loop instead of calling
1713 wait_threads.
1714 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1715 comment.
1716 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1717 Delete function.
1718 (main): Add alarm. Run an infinite loop instead of calling
1719 wait_threads.
1720 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1721 comment.
1722
e1316e60
PA
17232015-08-07 Pedro Alves <palves@redhat.com>
1724
1725 * gdb.base/checkpoint-ns.exp: New file.
1726 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1727 standard_testfile.
1728
da8c46d2
MM
17292015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1730
1731 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1732 * gdb.btrace/instruction_history.exp: Update.
1733 * gdb.btrace/tsx.exp: New.
1734 * gdb.btrace/tsx.c: New.
1735
de1c2c52
PA
17362015-08-06 Pedro Alves <palves@redhat.com>
1737
1738 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1739 increase timeout.
1740 * gdb.reverse/until-precsave.exp: Bump timeouts.
1741
782e0bf4
PA
17422015-08-06 Pedro Alves <palves@redhat.com>
1743
1744 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1745
83e97ed0
PA
17462015-08-06 Pedro Alves <palves@redhat.com>
1747
1748 PR gdb/18749
1749 * gdb.threads/process-dies-while-handling-bp.c: New file.
1750 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1751
863d01bd
PA
17522015-08-06 Pedro Alves <palves@redhat.com>
1753
1754 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1755 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1756
0a39bb32
PA
17572015-08-05 Pedro Alves <palves@redhat.com>
1758
1759 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1760 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1761
ee2d2b10
SL
17622015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1763
1764 * gdb.base/bp-permanent.exp: Report test as unsupported if
1765 the target cannot stop at the permanent breakpoint.
1766
4e1bdb00
DE
17672015-08-03 Doug Evans <dje@google.com>
1768
1769 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1770 10000.
1771
3d338901
DE
17722015-08-03 Doug Evans <dje@google.com>
1773
1774 * Makefile.in (workers/%.worker, build-perf): New rule.
1775 (GDB_PERFTEST_MODE): New variable.
1776 (check-perf): Use it.
1777 (clean): Clean up gdb.perf parallel build subdirs.
1778 * lib/build-piece.exp: New file.
1779 * lib/gdb.exp (make_gdb_parallel_path): New function
1780 (standard_output_file, standard_temp_file): Call it.
1781 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1782 of $GDB_PARALLEL.
1783 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1784
af061d3e
DE
17852015-08-03 Doug Evans <dje@google.com>
1786
8e1afc81 1787 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1788 (LOG_FILE_NAME): New global.
1789 (TextReporter.__init__): Initialize self.txt_sum.
1790 (TextReporter.report): Add support for multiple data-points.
1791 Move report to perftest.sum, put raw data in perftest.log.
1792 (TextReporter.start): Open sum and log files.
1793 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1794 * gdb.perf/lib/perftest/testresult.py
1795 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1796
2c8c5d37
PA
17972015-07-31 Pedro Alves <palves@redhat.com>
1798
1799 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1800 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1801 kill_wait_spawned_process instead of explicit "kill -9".
1802 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1803 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1804 kill_wait_spawned_process.
1805 * gdb.base/attach-twice.exp: Likewise.
1806 * gdb.base/attach.exp: Likewise.
1807 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1808 gdb_test_multiple.
1809 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1810 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1811 kill_wait_spawned_process.
1812 * gdb.base/valgrind-infcall.exp: Likewise.
1813 * gdb.multi/multi-attach.exp: Likewise.
1814 * gdb.python/py-prompt.exp: Likewise.
1815 * gdb.python/py-sync-interp.exp: Likewise.
1816 * gdb.server/ext-attach.exp: Likewise.
1817 * gdb.threads/attach-into-signal.exp (corefunc): Use
1818 spawn_wait_for_attach, spawn_id_get_pid and
1819 kill_wait_spawned_process.
1820 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1821 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1822 spawn_id_get_pid and kill_wait_spawned_process.
1823 * gdb.threads/attach-stopped.exp (corefunc): Use
1824 spawn_wait_for_attach, spawn_id_get_pid and
1825 kill_wait_spawned_process.
1826 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1827 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1828 kill_wait_spawned_process instead of explicit "kill -9".
1829 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1830 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1831 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1832 processes. Don't map cygwin/windows pids here. Now returns a
1833 spawn id list.
1834
032a0fca
SL
18352015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1836
1837 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1838 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1839 correct patch.
1840
61a934ca
SL
18412015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1842
1843 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1844
4bc4d428
SL
18452015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1846
1847 Reapply:
1848 2014-05-21 Mark Wielaard <mjw@redhat.com>
1849
1850 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1851
998d452a
PA
18522015-07-30 Pedro Alves <palves@redhat.com>
1853
1854 * linux-low.c (handle_extended_wait): Set the child's last
1855 reported status to TARGET_WAITKIND_STOPPED.
1856
69dde7dc
PA
18572015-07-30 Pedro Alves <palves@redhat.com>
1858
1859 PR threads/18600
1860 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1861 only shows inferior 1.
1862
4dd63d48
PA
18632015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1864 Pedro Alves <palves@redhat.com>
1865
1866 PR threads/18600
1867 * gdb.threads/fork-plus-threads.c: New file.
1868 * gdb.threads/fork-plus-threads.exp: New file.
1869
d618e4c5
PP
18702015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1871
1872 * gdb.base/batch-preserve-term-settings.exp
1873 (test_terminal_settings_preserved_after_cli_exit): Use
1874 send_quit_command.
1875
1eef6428
PA
18762015-07-29 Pedro Alves <palves@redhat.com>
1877 Don Breazeal <donb@codesourcery.com>
1878
1879 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1880 output from both inferior_spawn_id and gdb_spawn_id.
1881
7da5b897
SDJ
18822015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1883
1884 * gdb.threads/attach-into-signal.exp (corefunc): Use
1885 with_test_prefix on nested loops, uniquefying the test messages.
1886
dac804df
SDJ
18872015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1888
1889 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1890 commit.
1891
06265e53
PP
18922015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1893
1894 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1895 New proc.
1896 (test_terminal_settings_preserved_after_sigterm): New test.
1897
18206ca3
PP
18982015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1899
1900 * gdb.base/batch-preserve-term-settings.exp
1901 (test_terminal_settings_preserved_after_cli_exit): New test.
1902
90074d11
PP
19032015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1904
1905 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1906 manipulation of saved_gdbflags.
1907 (test_terminal_settings_preserved): Remove global declaration of
1908 the unused variable pagination_prompt. Remove manipulation of
1909 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1910 GDBFLAGS.
1911
eb1a7902
PA
19122015-07-29 Pedro Alves <palves@redhat.com>
1913
1914 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1915
8b75dd3b
PA
19162015-07-29 Pedro Alves <palves@redhat.com>
1917
1918 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1919 at the top.
1920
dedad4e3
PA
19212015-07-29 Pedro Alves <palves@redhat.com>
1922
1923 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1924 (main): Call gdb_unbuffer_output.
1925 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1926 (main): Call gdb_unbuffer_output.
1927 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1928 (main): Call gdb_unbuffer_output.
1929 * gdb.base/call-strs.exp: Adjust to step over the
1930 gdb_unbuffer_output call.
1931 * gdb.base/catch-gdb-caused-signals.c: Include
1932 "../lib/unbuffer_output.c".
1933 (main): Call gdb_unbuffer_output.
1934 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1935 (main): Call gdb_unbuffer_output.
1936 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1937 (main): Call gdb_unbuffer_output.
1938 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1939 (main): Call gdb_unbuffer_output.
1940 * gdb.base/shlib-call.exp: Adjust to step over the
1941 gdb_unbuffer_output call.
1942 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1943 (main): Call gdb_unbuffer_output.
1944 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1945 (main): Call gdb_unbuffer_output.
1946 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1947 (main): Rename to ...
1948 (test): ... this.
1949 (main): Reimplement.
1950 * gdb.base/varargs.exp: Run to test instead of to main.
1951 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1952 (main): Call gdb_unbuffer_output.
1953
58789a91
PA
19542015-07-29 Pedro Alves <palves@redhat.com>
1955
1956 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
1957 factore out from mi_continue_dprintf. For call-style dprintfs,
1958 expect dprintf output out of $inferior_spawn_id.
1959 (mi_continue_dprintf): Use mi_expect_dprintf.
1960 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1961 (main): Call gdb_unbuffer_output.
1962
e8376742
PA
19632015-07-29 Pedro Alves <palves@redhat.com>
1964
1965 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
1966 (default_mi_gdb_start): Set inferior_spawn_id instead of
1967 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
1968 gdb_spawn_id.
1969 (mi_gdb_test): Always expect inferior output from both
1970 $inferior_spawn_id and $gdb_spawn_id.
1971
08280010
PA
19722015-07-29 Pedro Alves <palves@redhat.com>
1973
1974 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
1975 send_inferior and $inferior_spawn_id.
1976
4d30e432
PA
19772015-07-29 Pedro Alves <palves@redhat.com>
1978
1979 * gdb.gdb/complaints.exp (test_initial_complaints)
1980 (test_serial_complaints, test_short_complaints): Use
1981 gdb_test_stdio.
1982 (test_empty_complaint): Handle $inferior_spawn_id !=
1983 $gdb_spawn_id.
1984
0d30a335
PA
19852015-07-29 Pedro Alves <palves@redhat.com>
1986
1987 * gdb.base/varargs.exp: Use gdb_test_stdio.
1988
39413b29
PA
19892015-07-29 Pedro Alves <palves@redhat.com>
1990
1991 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1992
7cb000a9
PA
19932015-07-29 Pedro Alves <palves@redhat.com>
1994
1995 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1996
d7b8ac82
PA
19972015-07-29 Pedro Alves <palves@redhat.com>
1998
1999 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2000 parameter into two new parameters, "inf_result" and "gdb_result".
2001 Expect inferior output and gdb output from $inferior_spawn_id and
2002 $gdb_spawn_id, respectively. Adjust all callers.
2003
789c3a0c
PA
20042015-07-29 Pedro Alves <palves@redhat.com>
2005
2006 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2007 of gdb_test_sequence.
2008
77e760c3
PA
20092015-07-29 Pedro Alves <palves@redhat.com>
2010
2011 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2012 (saw_spurious_output): Expect inferior output from
2013 $inferior_spawn_id. Use gdb_test_stdio.
2014
8396d2cd
PA
20152015-07-29 Pedro Alves <palves@redhat.com>
2016
2017 * gdb.base/dprintf.exp: Use standard_testfile. Change
2018 prepare_for_testing call.
2019 (srcfile): Don't set.
2020 (restart): New procedure.
2021 (test_dprintf): New procecure, use to continue over dprintfs.
2022 (test_call, test_agent): New procedures, tests moved here.
2023 Restart gdb and recreate dprintfs. Adjust expected output.
2024
2051d61f
PA
20252015-07-29 Pedro Alves <palves@redhat.com>
2026
2027 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2028
452397af
PA
20292015-07-29 Pedro Alves <palves@redhat.com>
2030
2031 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2032
8aed9555
PA
20332015-07-29 Pedro Alves <palves@redhat.com>
2034
2035 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2036 gdb_test_stdio.
2037
188a61b4
PA
20382015-07-29 Pedro Alves <palves@redhat.com>
2039
2040 * lib/gdb.exp (gdb_test_stdio): New procedure.
2041
12264a45
PA
20422015-07-29 Pedro Alves <palves@redhat.com>
2043
2044 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2045
23ffc893
PA
20462015-07-29 Pedro Alves <palves@redhat.com>
2047
2048 * gdb.base/call-signal-resume.exp: Remove check for
2049 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2050 * gdb.base/unwindonsignal.exp: Likewise.
2051 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2052 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2053
65566918
PA
20542015-07-29 Pedro Alves <palves@redhat.com>
2055
2056 * gdb.base/siginfo-addr.c (pass): New function.
2057 (handler): Call it iff si_addr is correct.
2058 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2059 Set a breakpoint at "pass" and continue to it.
2060
d60a9221
SDJ
20612015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2062
2063 * gdb.python/py-objfile.exp: Make some tests have unique names.
2064 * gdb.python/py-pp-registration.exp: Likewise.
2065
bde40b8f
PA
20662015-07-28 Pedro Alves <palves@redhat.com>
2067
2068 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2069
13e1dec8
SM
20702015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2071
2072 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2073
da33c9a7
SM
20742015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2075
2076 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2077
077836f7
PP
20782015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2079
2080 * gdb.base/gdb-sigterm-2.exp: New test.
2081
b8cc7b2e
DE
20822015-07-25 Doug Evans <xdje42@gmail.com>
2083
2084 Revert:
2085 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2086 (workers/%.worker, build-perf): New rule.
2087 (GDB_PERFTEST_MODE): New variable.
2088 (check-perf): Use it.
2089 (clean): Clean up gdb.perf parallel build subdirs.
2090 * lib/build-piece.exp: New file.
2091 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2092 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2093 name.
2094 (standard_temp_file): Ditto.
2095 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2096 of $GDB_PARALLEL.
2097
c8bd4544
DE
20982015-07-24 Doug Evans <dje@google.com>
2099
2100 * gdb.perf/lib/perftest/utils.py: New file.
2101 * gdb.perf/gm-hello.cc: New file.
2102 * gdb.perf/gm-pervasive-typedef.cc: New file.
2103 * gdb.perf/gm-pervasive-typedef.h: New file.
2104 * gdb.perf/gm-std.cc: New file.
2105 * gdb.perf/gm-std.h: New file.
2106 * gdb.perf/gm-use-cerr.cc: New file.
2107 * gdb.perf/gm-utils.h: New file.
2108 * gdb.perf/gmonster-null-lookup.py: New file.
2109 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2110 * gdb.perf/gmonster-print-cerr.py: New file.
2111 * gdb.perf/gmonster-ptype-string.py: New file.
2112 * gdb.perf/gmonster-runto-main.py: New file.
2113 * gdb.perf/gmonster-select-file.py: New file.
2114 * gdb.perf/gmonster1-null-lookup.exp: New file.
2115 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2116 * gdb.perf/gmonster1-print-cerr.exp: New file.
2117 * gdb.perf/gmonster1-ptype-string.exp: New file.
2118 * gdb.perf/gmonster1-runto-main.exp: New file.
2119 * gdb.perf/gmonster1-select-file.exp: New file.
2120 * gdb.perf/gmonster1.cc: New file.
2121 * gdb.perf/gmonster1.exp: New file.
2122 * gdb.perf/gmonster2-null-lookup.exp: New file.
2123 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2124 * gdb.perf/gmonster2-print-cerr.exp: New file.
2125 * gdb.perf/gmonster2-ptype-string.exp: New file.
2126 * gdb.perf/gmonster2-runto-main.exp: New file.
2127 * gdb.perf/gmonster2-select-file.exp: New file.
2128 * gdb.perf/gmonster2.cc: New file.
2129 * gdb.perf/gmonster2.exp: New file.
2130
6eab34f3
DE
21312015-07-24 Doug Evans <dje@google.com>
2132
2133 * gdb.perf/README: New file.
2134 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2135 * lib/gen-perf-test.exp: New file.
2136
63738bfd
DE
21372015-07-24 Doug Evans <dje@google.com>
2138
2139 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2140 (PerfTest::startup): New function.
2141 (PerfTest::run): Return result of calling body.
2142 (PerfTest::assemble): Rewrite.
2143 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2144 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2145 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2146 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2147 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2148
7b606f95
DE
21492015-07-24 Doug Evans <dje@google.com>
2150
2151 * lib/gdb.exp (clean_restart): Make executable optional.
2152
a97b16b8
DE
21532015-07-24 Doug Evans <dje@google.com>
2154
2155 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2156 compiler_info references.
2157 * gdb.cp/temargs.exp: Ditto.
2158 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2159 (get_compiler_info): Early exit if already computed. Set compiler_info
2160 to "unknown" if there was a problem.
2161 (test_compiler_info): Add function comment. Call get_compiler_info.
2162
35baa57f
DE
21632015-07-24 Doug Evans <dje@google.com>
2164
2165 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2166 (workers/%.worker, build-perf): New rule.
2167 (GDB_PERFTEST_MODE): New variable.
2168 (check-perf): Use it.
2169 (clean): Clean up gdb.perf parallel build subdirs.
2170 * lib/build-piece.exp: New file.
2171 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2172 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2173 name.
2174 (standard_temp_file): Ditto.
2175 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2176 of $GDB_PARALLEL.
2177
6ebea266
DE
21782015-07-24 Doug Evans <dje@google.com>
2179
2180 * lib/future.exp (gdb_default_target_compile): New option
2181 "early_flags".
2182 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2183 --as-needed.
2184
1e76a7e9
SDJ
21852015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2186
2187 * gdb.base/catch-syscall.exp: Call gdb_exit before
2188 gdb_skip_xml_test.
2189
5068630a
PA
21902015-07-24 Pedro Alves <palves@redhat.com>
2191
2192 * gdb.python/py-events.exp: Accept output between the stop event
2193 and the prompt.
2194 * gdb.python/py-evsignal.exp: Likewise.
2195 * gdb.python/py-evthreads.exp: Likewise.
2196
77598427
PA
21972015-07-24 Pedro Alves <palves@redhat.com>
2198
2199 PR gdb/18717
2200 * gdb.threads/non-ldr-exit.c: New file.
2201 * gdb.threads/non-ldr-exit.exp: New file.
2202
11e6c98f
YQ
22032015-07-24 Yao Qi <yao.qi@linaro.org>
2204
2205 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2206 restarting process.
2207
51aee833
YQ
22082015-07-24 Yao Qi <yao.qi@linaro.org>
2209
2210 * gdb.server/ext-restart.exp: New file.
2211
8cfe207c
YQ
22122015-07-24 Yao Qi <yao.qi@linaro.org>
2213
2214 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2215 argument options.
2216 * gdb.server/ext-wrapper.exp: New file.
2217
cc12ce38
DE
22182015-07-23 Doug Evans <dje@google.com>
2219
2220 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2221 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2222
d0d84780
PMR
22232015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2224
2225 * gdb.ada/var_arr_typedef.exp: New testcase.
2226 * gdb.ada/var_arr_typedef/pack.adb: New file.
2227 * gdb.ada/var_arr_typedef/pack.ads: New file.
2228 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2229
8b558f79
JB
22302015-07-20 Joel Brobecker <brobecker@adacore.com>
2231
2232 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2233
775a3298
JK
22342015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2235
2236 * gdb.arch/i386-biarch-core.exp: Replace istarget
2237 by "complete set gnutarget". Remove expectation for the "core-file"
2238 command.
2239
db1ff28b
JK
22402015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2241
2242 Revert the previous commit:
2243 Tests for validate symbol file using build-id.
2244
0a94970d
JK
22452015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2246
2247 Tests for validate symbol file using build-id.
2248 * gdb.base/solib-mismatch-lib.c: New file.
2249 * gdb.base/solib-mismatch-libmod.c: New file.
2250 * gdb.base/solib-mismatch.c: New file.
2251 * gdb.base/solib-mismatch.exp: New file.
2252
03346981
SL
22532015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2254
2255 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2256 nios2-*-linux*.
2257 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2258 * gdb.base/siginfo.exp: Likewise.
2259 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2260
42422cc7
PL
22612015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2262
2263 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2264 Move it to ...
2265 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2266 ... here.
2267 * gdb.trace/range-stepping.exp: Check that the target supports
2268 range stepping.
2269
cfa68bae
JK
22702015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2271
2272 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2273
8ffdba26
PA
22742015-07-14 Pedro Alves <palves@redhat.com>
2275
2276 * gdb.base/killed-outside.exp: New file.
2277 * gdb.base/killed-outside.c: New file.
2278
218a5a11
JK
22792015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2280
2281 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2282 (n at main): New.
2283 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2284
e03ed3c6
AA
22852015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2286
2287 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2288 infcall tests instead of setting up for KFAIL.
2289
485668e5
MM
22902015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2291
2292 * gdb.btrace/record_goto-step.exp: New.
2293
08464196
JK
22942015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2295
2296 PR compile/18484
2297 * gdb.compile/compile.c (struct struct_type): Add volatile to
2298 selffield's type.
2299 * gdb.compile/compile.exp
2300 (compile code struct_object.selffield = &struct_object): Skip further
2301 struct_object tests if this one xfails.
2302
bcf5c1d9
RC
23032015-07-08 Robert O'Callahan <robert@ocallahan.org>
2304
2305 PR exp/18617
2306 * gdb.trace/ax.exp: Add test.
2307
4931af25
YQ
23082015-07-07 Yao Qi <yao.qi@linaro.org>
2309
2310 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2311 instead of istarget "aarch64*-*-*".
2312 * gdb.arch/aarch64-fp.exp: Likewise.
2313 * gdb.base/float.exp: Likewise.
2314 * gdb.reverse/aarch64.exp: Likewise.
2315 * lib/gdb.exp (is_aarch64_target): New proc.
2316
9fcf688e
YQ
23172015-07-07 Yao Qi <yao.qi@linaro.org>
2318
2319 * lib/gdb.exp (is_aarch32_target): New proc.
2320 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2321 instead of "istarget "arm*-*-*"".
2322 * gdb.arch/arm-disp-step.exp: Likewise.
2323 * gdb.arch/thumb-bx-pc.exp: Likewise.
2324 * gdb.arch/thumb-prologue.exp: Likewise.
2325 * gdb.arch/thumb-singlestep.exp: Likewise.
2326 * gdb.base/disp-step-syscall.exp: Likewise.
2327 * gdb.base/float.exp: Likewise.
2328
fbd8d50d
YQ
23292015-07-07 Yao Qi <yao.qi@linaro.org>
2330
2331 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2332 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2333
71be1fdc
YQ
23342015-07-07 Yao Qi <yao.qi@linaro.org>
2335
2336 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2337 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2338 if it exists.
2339 * gdb.multi/multi-arch.exp: Likewise.
2340
3e221d36
SM
23412015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2342
2343 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2344 print.
2345
d441430b
YQ
23462015-07-07 Yao Qi <yao.qi@linaro.org>
2347
2348 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2349
06f810bd
MG
23502015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2351
2352 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2353 '[' and ']' characters.
2354
5e61e7c0
IB
23552015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2356
2357 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2358
28bf096c
PA
23592015-06-29 Pedro Alves <palves@redhat.com>
2360
2361 PR threads/18127
2362 * gdb.threads/hand-call-new-thread.c: New file.
2363 * gdb.threads/hand-call-new-thread.c: New file.
2364
ee93cd5e
KS
23652015-06-26 Keith Seitz <keiths@redhat.com>
2366 Doug Evans <dje@google.com>
2367
2368 PR 16253
2369 * gdb.cp/var-tag-2.cc: New file.
2370 * gdb.cp/var-tag-3.cc: New file.
2371 * gdb.cp/var-tag-4.cc: New file.
2372 * gdb.cp/var-tag.cc: New file.
2373 * gdb.cp/var-tag.exp: New file.
2374
fc637f04
PP
23752015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2376
2377 * gdb.base/history-duplicates.exp: New test.
2378
2e52ae68
PP
23792015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2380
2381 * gdb.base/completion.exp: Test the completion of the "focus"
2382 command.
2383
6e22494e
JK
23842015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2385
2386 * gdb.arch/amd64-prologue-skip.S: New file.
2387 * gdb.arch/amd64-prologue-skip.exp: New file.
2388
bf7b9cd9
SM
23892015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2390
2391 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2392 is_address_zero_readable check.
2393
201e8dfd
PB
23942015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2395
2396 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2397 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2398
5cd867b4
YQ
23992015-06-24 Yao Qi <yao.qi@linaro.org>
2400
2401 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2402 linux targets.
2403
4d7be007
YQ
24042015-06-24 Yao Qi <yao.qi@linaro.org>
2405
2406 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2407 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2408 * gdb.base/siginfo-thread.exp: Likewise.
2409
07fcd301
YQ
24102015-06-22 Yao Qi <yao.qi@linaro.org>
2411
2412 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2413
52042a00
YQ
24142015-06-22 Yao Qi <yao.qi@linaro.org>
2415
2416 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2417 aarch64*-*-*.
2418 (skip_hw_watchpoint_tests): Likewise.
2419
74bd41ce
PP
24202015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2421
2422 * gdb.base/gdbinit-history.exp: Test the interaction between
2423 setting GDBHISTSIZE and setting the history size via .gdbinit.
2424
bc460514
PP
24252015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2426
2427 PR gdb/16999
2428 * gdb.base/gdbhistsize-history.exp: New test.
2429
b58c513b
PP
24302015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2431
2432 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2433 with GDBHISTSIZE.
2434 * gdb.base/readline.exp: Likewise.
2435
92046791
YQ
24362015-06-17 Yao Qi <yao.qi@linaro.org>
2437
2438 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2439 line.
2440
2093d2d3
PP
24412015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2442
2443 * gdb.base/gdbinit-history.exp: Add test case to check that
2444 an unlimited history file does not get truncated on exit.
2445
e6c693af
AA
24462015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2447
2448 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2449 (VECTOR): New macro. Use it...
2450 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2451 ...for these typedefs.
2452 (int8, char1, int1, double1): New typedefs.
2453 (struct just_int2, struct two_int2): New structures.
2454 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2455 (add_structvecs, add_singlevecs): New functions.
2456 (main): Call add_some_intvecs twice.
2457 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2458 the compile and exit upon failure. Try compiling for the "native"
2459 architecture. Test inferior function calls with vector arguments
2460 and vector return value handling with "finish" and "return".
2461
c74f7d1c
JT
24622015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2463
2464 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2465 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2466 PE file.
2467 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2468
98aa42ee
AT
24692015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2470
2471 PR breakpoints/16465
2472 * gdb.mi/mi-dprintf-pending.c: New file.
2473 * gdb.mi/mi-dprintf-pending.exp: New test.
2474 * gdb.mi/mi-dprintf-pendshr.c: New file.
2475
7d73c23c 24762015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2477 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2478
2479 * gdb.arch/i386-mpx-map.c: New file.
2480 * gdb.arch/i386-mpx-map.exp: New File.
2481
24822015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2483
2484 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2485 * gdb.arch/i386-mpx.exp: Indentation fixed.
2486
24872015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2488
2489 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2490 function and improved indentation.
2491 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2492 gdb_test_multiple. Added additional tests to skip the test.
2493
24942015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2495
2496 * gdb.arch/i386-avx512.c: Change path in include file.
2497 * gdb.arch/i386-avx512.exp: Change include dir path
2498 compilation flag.
2499 * gdb.arch/i386-mpx.c: Change path in include file.
2500 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2501 flag.
2502
d5eba19a
JK
25032015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2504
2505 * gdb.compile/compile-print.exp (compile print *vararray@3)
2506 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2507
7f361056
JK
25082015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2509
2510 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2511 (do not keep jit in memory): ... this.
2512 (expect 5): Change it to ...
2513 (expect no 5): ... this.
2514
3b462ec2
SM
25152015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2516
2517 PR gdb/15564
2518 * gdb.mi/mi-detach.exp: New file.
2519
e0619de6
JK
25202015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2521
2522 PR symtab/18392
2523 * gdb.arch/amd64-tailcall-self.S: New file.
2524 * gdb.arch/amd64-tailcall-self.c: New file.
2525 * gdb.arch/amd64-tailcall-self.exp: New file.
2526
e970cb34
DB
25272015-05-28 Don Breazeal <donb@codesourcery.com>
2528
2529 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2530 tests for remote targets by checking is_target_gdbserver.
2531
b2e2f908
DE
25322015-05-27 Doug Evans <dje@google.com>
2533
2534 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2535 * gdb.dwarf2/opaque-type-lookup.c: New file.
2536 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2537
82c7be31
DE
25382015-05-26 Doug Evans <dje@google.com>
2539
2540 * gdb.cp/iostream.cc: New file.
2541 * gdb.cp/iostream.exp: New file.
2542
b4f54984
DE
25432015-05-26 Doug Evans <dje@google.com>
2544
2545 * gdb.dwarf2/dw2-op-call.exp: Update.
2546 * gdb.dwarf2/dw4-sig-types.exp: Update.
2547 * gdb.dwarf2/implptr.exp: Update.
2548 * gdb.mi/mi-cmd-param-changed.exp: Update.
2549
4ea6efe9
DE
25502015-05-26 Doug Evans <dje@google.com>
2551
2552 * gdb.python/py-lazy-string.c: New file.
2553 * gdb.python/py-lazy-string.exp: New file.
2554 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2555 (main): Update. Add estring3.
2556 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2557 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2558
f6bb7db3
YQ
25592015-05-26 Omair Javaid <omair.javaid@linaro.org>
2560 Yao Qi <yao.qi@linaro.org>
2561
2562 * gdb.reverse/aarch64.c: New.
2563 * gdb.reverse/aarch64.exp: New.
2564
a81bfbd0
OJ
25652015-05-26 Omair Javaid <omair.javaid@linaro.org>
2566
2567 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2568 (supports_reverse): Likewise.
2569
158bf1b4
PP
25702015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2571
2572 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2573 Use with_test_prefix.
2574
a0145030
AB
25752015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2576
2577 * gdb.base/completion.exp: Add test for completion of layout
2578 names.
2579
ebe3b578
AB
25802015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2581
2582 * lib/gdb.exp (skip_tui_tests): New proc.
2583 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2584
84204ed7
PA
25852015-05-19 Pedro Alves <palves@redhat.com>
2586
2587 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2588 Save the whole env array instead of just HOME. Unset HISTSIZE in
2589 the environment while testing. Restore whole environment
2590 afterwards.
2591
37442ce1
DE
25922015-05-16 Doug Evans <xdje42@gmail.com>
2593
2594 * gdb.guile/scm-ports.c: New file.
2595 * gdb.guile/scm-ports.exp: Add memory port tests.
2596
36de76f9
JK
25972015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2598
2599 * gdb.compile/compile-print.c: New file.
2600 * gdb.compile/compile-print.exp: New file.
2601
3a9558c4
JK
26022015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2603
2604 * gdb.compile/compile-ops.exp: Cast param to void.
2605 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2606 (compile code struct_object.selffield = &struct_object): Add xfail.
2607
aa715135
JG
26082015-05-15 Joel Brobecker <brobecker@adacore.com>
2609
2610 * gdb.ada/arr_enum_with_gap: New testcase.
2611
931e5bc3
JG
26122015-05-15 Joel Brobecker <brobecker@adacore.com>
2613
2614 * gdb.ada/byte_packed_arr: New testcase.
2615
9cd4d857
JB
26162015-05-15 Joel Brobecker <brobecker@adacore.com>
2617
2618 * gdb.ada/pckd_neg: New testcase.
2619
ebfd00d2
PP
26202015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2621
2622 PR gdb/17820
2623 * gdb.base/gdbinit-history.exp: New test.
2624 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2625 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2626
4c082a81
SC
26272015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2628
2629 * gdb.python/py-xmethods.cc: Enhance test case.
2630 * gdb.python/py-xmethods.exp: New tests.
2631 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2632 function.
2633 (B_indexoper): Likewise.
2634 (global_dm_list) : Add new xmethod worker functions.
2635
f7797074
SDJ
26362015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2637
2638 * gdb.base/coredump-filter.exp: Correctly unset
2639 "coredump_var_addr" array.
2640
a4674e4e
PA
26412015-05-08 Pedro Alves <palves@redhat.com>
2642
2643 * gdb.server/non-existing-program.exp: Unset spawn_id.
2644
df2eb078
SC
26452015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2646
2647 PR python/18291
2648 * gdb.python/py-xmethods.exp: Add tests.
2649
422349a3
YQ
26502015-05-08 Yao Qi <yao.qi@linaro.org>
2651
2652 PR gdb/18208
2653 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2654 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2655 function set_coredump_filter, and remove remote_exec call.
2656 Remove argument ipid. Callers update.
2657 (top level): Don't get inferior's PID.
2658
63fc80ce
AA
26592015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2660
2661 * gdb.base/watch_thread_num.exp: Skip test on targets without
2662 access watchpoints.
2663
80ad801e
PA
26642015-05-06 Pedro Alves <palves@redhat.com>
2665
2666 PR server/18081
2667 * gdb.server/non-existing-program.exp: New file.
2668
0fa7fe50
JB
26692015-05-05 Joel Brobecker <brobecker@adacore.com>
2670
2671 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2672
3ea89b92
PMR
26732015-05-05 Joel Brobecker <brobecker@adacore.com>
2674
2675 * gdb.ada/out_of_line_in_inlined: New testcase.
2676
87b8eff0
JB
26772015-05-05 Joel Brobecker <brobecker@adacore.com>
2678
2679 * gdb.ada/var_rec_arr: New testcase.
2680
5fccc635
YQ
26812015-04-30 Yao Qi <yao.qi@linaro.org>
2682
2683 * gdb.base/break-idempotent.exp: If
2684 skip_hw_watchpoint_multi_tests returns true, skip the tests
2685 on "rwatch" and "awatch".
2686
42d38f42
YQ
26872015-04-30 Yao Qi <yao.qi@linaro.org>
2688
2689 * gdb.base/relativedebug.exp: Invoke gdb command
2690 "info sharedlibrary", and if libc.so doesn't have debug info,
2691 skip the test.
2692
2ce1cdbf
DE
26932015-04-29 Doug Evans <dje@google.com>
2694
2695 * gdb.python/py-xmethods.exp: Add ptype tests.
2696 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2697 get_result_type method.
2698
f24a38c5
LM
26992015-04-29 Luis Machado <lgustavo@codesourcery.com>
2700
2701 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2702 the target does not support hardware watchpoints.
2703
ecbf2b3c
LM
27042015-04-29 Luis Machado <lgustavo@codesourcery.com>
2705
2706 * gdb.base/break-always.exp: Abort testing if writing to memory
2707 causes an error.
2708
34f5f757
DE
27092015-04-28 Doug Evans <dje@google.com>
2710
2711 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2712 * gdb.python/py-pp-registration.exp: ... here. New file.
2713 * gdb.python/py-pp-registration.c: New file.
2714 * gdb.python/py-pp-registration.py: New file.
2715
69b4374a
DE
27162015-04-28 Doug Evans <dje@google.com>
2717
2718 * gdb.python/py-bad-printers.c: New file.
2719 * gdb.python/py-bad-printers.py: New file.
2720 * gdb.python/py-bad-printers.exp: New file.
2721
59fb7612
SS
27222015-04-28 Sasha Smundak <asmundak@google.com>
2723
2724 * gdb.python/py-type.exp: New test.
2725
2631b16a
AW
27262015-04-28 Andy Wingo <wingo@igalia.com>
2727
2728 * gdb.python/py-parameter.exp:
2729 * gdb.guile/scm-parameter.exp: Escape the path that we are
2730 matching against, as it might contain characters that are special
2731 to regular expressions.
2732
460efde1
JB
27332015-04-27 Joel Brobecker <brobecker@adacore.com>
2734
2735 * gdb.ada/rec_comp: New testcase.
2736
2d369d8e
SDJ
27372015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2738
2739 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2740 before using it.
2741
cf75d6c3
AB
27422015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2743
2744 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2745 new tests for verilog output.
2746
8dbe7ca5
YQ
27472015-04-24 Yao Qi <yao.qi@linaro.org>
2748
2749 * boards/remote-gdbserver-on-localhost.exp: New file.
2750
4ef9fb2f
PA
27512015-04-23 Pedro Alves <palves@redhat.com>
2752
2753 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2754 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2755 "end of file", remove $inferior_spawn_id from the indirect list.
2756
0a803169
PA
27572015-04-23 Pedro Alves <palves@redhat.com>
2758
2759 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2760
749ef8f8
PA
27612015-04-23 Pedro Alves <palves@redhat.com>
2762
2763 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2764 on $any_spawn_id instead of only on $gdb_spawn_id.
2765
8aae4344
PM
27662015-04-21 Pierre Muller <muller@sourceware.org>
2767
2768 PR pascal/17815
2769 * lib/pascal.exp (gpc_compile): Add new option "class".
2770 (fpc_compile): Likewise.
2771 * gdb.pascal/case-insensitive-symbols.pas: New file.
2772 * gdb.pascal/case-insensitive-symbols.exp: New file.
2773
1586c8fb
GB
27742015-04-20 Gary Benson <gbenson@redhat.com>
2775
2776 * gdb.base/attach.exp: Fix three extended remote failures.
2777
1b6e6f5c
GB
27782015-04-17 Gary Benson <gbenson@redhat.com>
2779
2780 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2781 the main executable over the remote protocol.
2782
e797481d
PA
27832015-04-16 Pedro Alves <palves@redhat.com>
2784
2785 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2786 a new gdbserver if gdbserver_reconnect_p is set.
2787
1ca99c42
PA
27882015-04-16 Pedro Alves <palves@redhat.com>
2789
2790 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2791 is set, don't exit gdbserver.
2792
af9fd6f8
AA
27932015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2794
2795 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2796 appropriate .insn, such that an older assembler can be used.
2797 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2798 the z/Architecture instruction set on 31-bit targets as well.
2799
04ff1e61
AA
28002015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2801
2802 * gdb.go/handcall.exp: Remove all logic related to the first
2803 breakpoint and rely on go_runto_main instead.
2804 * gdb.go/strings.exp: Likewise.
2805 * gdb.go/unsafe.exp: Likewise.
2806 * gdb.go/hello.exp: Likewise. Also rename the remaining
2807 breakpoint marker to "breakpoint 1".
2808 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2809 * gdb.go/strings.go: Likewise.
2810 * gdb.go/unsafe.go: Likewise.
2811 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2812 "set breakpoint 2 here" and rename the remaining breakpoint marker
2813 to "breakpoint 1".
2814
40d2f8d6
SM
28152015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2816
2817 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2818 if itertools.imap is not present.
2819 * gdb.python/py-objfile.exp: Add parentheses.
2820 * gdb.python/py-type.exp: Same.
2821 * gdb.python/py-unwind-maint.py: Same.
2822
8cbc97c6
YQ
28232015-04-15 Yao Qi <yao.qi@linaro.org>
2824
2825 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2826 of ":$ptr_size" and set its form explicitly.
2827
45fd756c
YQ
28282015-04-15 Pedro Alves <palves@redhat.com>
2829 Yao Qi <yao.qi@linaro.org>
2830
2831 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2832 timeout by factor of 4.
2833 (test_regular_watch): Likewise.
2834 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2835 * gdb.reverse/sigall-reverse.exp: Likewise.
2836 * gdb.reverse/until-precsave.exp: Likewise.
2837 * lib/gdb.exp (with_timeout_factor): New proc.
2838 (gdb_expect): Move some code to ...
2839 (get_largest_timeout): ... here. New procedure.
2840
9e811bc3
LM
28412015-04-14 Luis Machado <lgustavo@codesourcery.com>
2842
2843 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2844
0ff6fcb2
LM
28452015-04-13 Luis Machado <lgustavo@codesourcery.com>
2846
2847 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2848 to write to the .text section.
2849
7578d5f7
LM
28502015-04-13 Luis Machado <lgustavo@codesourcery.com>
2851
2852 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2853 Handle the case of targets that do not provide PID information.
2854
2efe15c4
YQ
28552015-04-13 Yao Qi <yao.qi@linaro.org>
2856
2857 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2858 and use expect instead of gdb_expect.
2859
8cd8f2f8
SDJ
28602015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2861
2862 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2863 "coredump_var_addr" to avoid naming conflict with other testcases.
2864
9ee41772
PA
28652015-04-10 Pedro Alves <palves@redhat.com>
2866
2867 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2868 gdb_test_sequence and gdb_assert.
2869
07473109
PA
28702015-04-10 Pedro Alves <palves@redhat.com>
2871
2872 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2873 test messages that don't include the breakpoint address.
2874
de3db44c
YQ
28752015-04-10 Yao Qi <yao.qi@linaro.org>
2876
2877 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2878 false for some offset and width combinations which aren't
2879 supported by linux kernel.
2880
c79d856c
PA
28812015-04-10 Pedro Alves <palves@redhat.com>
2882
2883 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2884 procedure, factored out from ...
2885 (top level): ... here. Add "set displaced-stepping" testing axis.
2886 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2887 parameter "displaced". Use it.
2888 (top level): Use foreach and add "set displaced-stepping" testing
2889 axis.
2890
ebc90b50
PA
28912015-04-10 Pedro Alves <palves@redhat.com>
2892
2893 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2894 Remove comment.
2895 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2896 both the address of the instruction that triggers the watchpoint
2897 and the address of the instruction immediately after, and use
2898 those addresses for the test. Fix comment.
2899
8f572e5c
PA
29002015-04-10 Pedro Alves <palves@redhat.com>
2901
2902 * gdb.base/sigstep.exp (breakpoint_to_handler)
2903 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2904 Test "backtrace" in handler.
2905 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2906 (top level): Add new "displaced" test axis to
2907 breakpoint_to_handler, breakpoint_to_handler_entry and
2908 breakpoint_over_handler.
2909
8d707a12
PA
29102015-04-10 Pedro Alves <palves@redhat.com>
2911
2912 PR gdb/18216
2913 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2914
ef713951
YQ
29152015-04-10 Yao Qi <yao.qi@linaro.org>
2916
2917 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2918 (test_add_rn_pc): New function.
2919 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2920 (top level): Invoke test_add_rn_pc.
2921
906d60cf
PA
29222015-04-10 Pedro Alves <palves@redhat.com>
2923
2924 PR gdb/13858
2925 * gdb.base/step-over-no-symbols.exp: New file.
2926
f2983cc3
AW
29272015-04-09 Andy Wingo <wingo@igalia.com>
2928
2929 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2930 after the Python tests.
2931
6d62641c
SDJ
29322015-04-08 Keith Seitz <keiths@redhat.com>
2933
2934 PR python/16699
2935 * gdb.python/py-completion.exp: New tests for completion.
2936 * gdb.python/py-completion.py (CompleteLimit1): New class.
2937 (CompleteLimit2): Likewise.
2938 (CompleteLimit3): Likewise.
2939 (CompleteLimit4): Likewise.
2940 (CompleteLimit5): Likewise.
2941 (CompleteLimit6): Likewise.
2942 (CompleteLimit7): Likewise.
2943
f3770638
PA
29442015-04-08 Pedro Alves <palves@redhat.com>
2945
2946 PR gdb/18214
2947 PR gdb/18216
2948 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2949 function.
2950 (main): Install it as SIGUSR1 handler.
2951 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2952 parameter. Always use "setup" as prefix. Toggle "set
2953 displaced-stepping" off/on depending on global. Don't switch to
2954 thread 1 here.
2955 (top level): Add displaced stepping "off/on" test axis. Update
2956 "setup" calls. Wrap each subtest with with_test_prefix. Test
2957 continuing with a queued signal in each thread.
2958
4496bed7
PA
29592015-04-08 Pedro Alves <palves@redhat.com>
2960
2961 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
2962 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
2963 gdb_breakpoint instead of gdb_test that doesn't expect anything.
2964 Return early if running to main fails.
2965 * gdb.trace/while-stepping.exp: Likewise.
2966
b97fde92
PA
29672015-04-07 Pedro Alves <palves@redhat.com>
2968
2969 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
2970 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
2971 interact with inferior program.
2972
f71c18e7
PA
29732015-04-07 Pedro Alves <palves@redhat.com>
2974
2975 * lib/gdb.exp (inferior_spawn_id): New global.
2976 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2977 spawn id after processing the user code.
2978 (default_gdb_start): Set inferior_spawn_id.
2979 (send_inferior): New procedure.
2980 * lib/gdbserver-support.exp (gdbserver_start): Set
2981 inferior_spawn_id.
2982 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2983
6423214f
PA
29842015-04-07 Pedro Alves <palves@redhat.com>
2985
2986 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2987 * lib/gdbserver-support.exp (gdbserver_start): Make
2988 $server_spawn_id global.
2989 (gdbserver_start): Don't wait for gdbserver's spawn id with
2990 expect_background.
2991 (close_gdbserver): New procedure.
2992 (gdb_exit): Rename the default version and reimplement.
2993
71c0ee8c
PA
29942015-04-07 Pedro Alves <palves@redhat.com>
2995
72f4393d 2996 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
2997 append the substituted item, not the original item.
2998
203bc29b
PA
29992015-04-07 Pedro Alves <palves@redhat.com>
3000
3001 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3002 gdb_expect.
3003
508a3ddf
PA
30042015-04-07 Pedro Alves <palves@redhat.com>
3005
3006 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3007 output appearing once only.
3008
9f6dbe2b
PA
30092015-04-07 Pedro Alves <palves@redhat.com>
3010
3011 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3012 that doesn't expect anything. Return early if running to main
3013 fails.
3014
337532fa
YQ
30152015-04-07 Yao Qi <yao.qi@linaro.org>
3016
3017 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3018 (child_function): Call alarm.
3019 (main): Move call to alarm into the loop.
3020 * gdb.threads/non-stop-fair-events.exp: Build program with
3021 -DTIMEOUT=$timeout.
3022
01b622d4
DE
30232015-04-06 Doug Evans <xdje42@gmail.com>
3024
3025 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3026 Fix dest parameter to board_info.
3027 (fpc_compile): Ditto.
3028 (gdb_compile_pascal): Rename dest arg to destfile.
3029
961f4160
PMR
30302015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3031
3032 * gdb.ada/funcall_ref.exp: New file.
3033 * gdb.ada/funcall_ref/foo.adb: New file.
3034
cafda597
YQ
30352015-04-02 Yao Qi <yao.qi@linaro.org>
3036
3037 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3038 is remote.
3039
fed040c6
GB
30402015-04-02 Gary Benson <gbenson@redhat.com>
3041
3042 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3043
d11916aa
SS
30442015-04-01 Sasha Smundak <asmundak@google.com>
3045
3046 * gdb.python/py-unwind-maint.c: New file.
3047 * gdb.python/py-unwind-maint.exp: New test.
3048 * gdb.python/py-unwind-maint.py: New file.
3049 * gdb.python/py-unwind.c: New file.
3050 * gdb.python/py-unwind.exp: New test.
3051 * gdb.python/py-unwind.py: New test.
3052
a1471180
PA
30532015-04-01 Pedro Alves <palves@redhat.com>
3054
3055 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3056 to fail instead of non-existent $test.
3057
0bbeccb1
PA
30582015-04-01 Pedro Alves <palves@redhat.com>
3059
3060 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3061 GDBFLAGS if not empty.
3062
3c724c8c
PMR
30632015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3064
3065 * gdb.ada/complete.exp: Remove "multi_line".
3066 * gdb.ada/info_exc.exp: Remove "multi_line".
3067 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3068 * gdb.ada/ptype_field.exp: Remove "multi_line".
3069 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3070 * gdb.ada/tagged.exp: Remove "multi_line".
3071 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3072 [multi_line ...]
3073 * gdb.btrace/delta.exp: Likewise.
3074 * gdb.btrace/exception.exp: Likewise.
3075 * gdb.btrace/function_call_history.exp: Likewise.
3076 * gdb.btrace/instruction_history.exp: Likewise.
3077 * gdb.btrace/nohist.exp: Likewise.
3078 * gdb.btrace/record_goto.exp: Likewise.
3079 * gdb.btrace/segv.exp: Likewise.
3080 * gdb.btrace/stepi.exp: Likewise.
3081 * gdb.btrace/tailcall.exp: Likewise.
3082 * gdb.btrace/unknown_functions.exp: Likewise.
3083 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3084 * lib/gdb.exp: Add the "multi_line" helper.
3085
4eec2deb
PA
30862015-04-01 Pedro Alves <palves@redhat.com>
3087
3088 * gdb.threads/tid-reuse.c: New file.
3089 * gdb.threads/tid-reuse.exp: New file.
3090
df8411da
SDJ
30912015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3092
3093 PR corefiles/16092
3094 * gdb.base/coredump-filter.c: New file.
3095 * gdb.base/coredump-filter.exp: Likewise.
3096
6ef37366
PM
30972015-03-27 Petr Machata <pmachata@redhat.com>
3098
3099 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3100 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3101 (Dwarf::assemble): Initialize them.
3102 (Dwarf::lines): New function.
3103
7ec911b0
JT
31042015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3105
3106 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3107 SYMBOL_PREFIX for x86_64-*-cygwin.
3108
ff908ebf
AW
31092015-03-26 Andy Wingo <wingo@igalia.com>
3110
3111 PR symtab/18148
3112 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3113 const_value but not a location.
3114 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3115 location defined in non-main CUs are visible.
3116
6d5f0679
YQ
31172015-03-26 Yao Qi <yao.qi@linaro.org>
3118
3119 PR testsuite/18139
3120 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3121 Add a line number entry for the same line.
3122 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3123 Add a line number entry for the same line.
3124
2898689b
YQ
31252015-03-26 Yao Qi <yao.qi@linaro.org>
3126
3127 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3128 .int 0.
3129 (func): Likewise. Add .Lfunc_1 label.
3130 Use .Lfunc_1 label.
3131 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3132 .int 0.
3133 (func): Likewise.
3134 Use .Lfunc_1 label.
3135
85180498
YQ
31362015-03-26 Yao Qi <yao.qi@linaro.org>
3137
3138 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3139 Call gdb_compile instead to compile each .s files without debug
3140 information.
3141
8aa08a8d
YQ
31422015-03-26 Yao Qi <yao.qi@linaro.org>
3143
3144 * gdb.base/savedregs.exp (process_saved_regs): Make
3145 "Saved registers:" optional in the pattern.
3146
66849923
MM
31472015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3148
3149 * gdb.btrace/next.exp: Merged into step.exp.
3150 * gdb.btrace/finish.exp: Merged into step.exp.
3151 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3152 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3153 "record goto" and checking the exact replay position.
3154 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3155 check for "Recording format" in "info record" output.
3156 * gdb.btrace/record_goto.exp: Choose test file based on target.
3157 * gdb.btrace/x86-record_goto.S: Renamed into ...
3158 * gdb.btrace/x86_64-record_goto.S: ... this.
3159 * gdb.btrace/i686-record_goto.S: New.
3160 * gdb.btrace/x86-tailcall.S: Renamed into ...
3161 * gdb.btrace/x86_64-tailcall.S: ... this.
3162 * gdb.btrace/i686-tailcall.S: New.
3163 * gdb.btrace/x86-tailcall.c: Renamed into ...
3164 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3165 separate statements. Update test.
3166 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3167 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3168 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3169 * gdb.btrace/tailcall.exp: Choose test file based on target.
3170 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3171
11cc1b74
MM
31722015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3173
3174 * gdb.btrace/exception.exp: Increase BTS buffer size.
3175
a25d8bf9
PA
31762015-03-24 Pedro Alves <palves@redhat.com>
3177
3178 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3179
856e7dd6
PA
31802015-03-24 Pedro Alves <palves@redhat.com>
3181
3182 * gdb.threads/schedlock.exp (test_step): No longer expect that
3183 "set scheduler-locking step" with "next" over a function call runs
3184 threads unlocked.
3185
ad235a41
AT
31862015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3187
3188 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3189
15630549
AT
31902015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3191
3192 PR breakpoints/16466
3193 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3194 * gdb.mi/mi-pending.c (thread_func): New function.
3195 (int main): Add threading support required.
3196 * gdb.mi/mi-pending.exp: Add tests for this issue.
3197 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3198 (pendfunc2): Remove stdio dependency.
3199 * gdb.mi/mi-pendshr2.c: New file.
3200
693dca06
KS
32012015-03-23 Keith Seitz <keiths@redhat.com>
3202
3203 * gdb.linespec/keywords.c: New file.
3204 * gdb.linespec/keywords.exp: New file.
3205
7e993ebf
KS
32062015-03-23 Keith Seitz <keiths@redhat.com>
3207
3208 PR gdb/18021
3209 * gdb.dwarf2/staticvirtual.exp: New test.
3210
bc23328c
JK
32112015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3212
3213 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3214 * README: Remove HP-UX and gdb.hp.
3215 (configuration):
3216 * configure: Regenerate.
3217 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3218 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3219 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3220 gdb.hp/gdb.defects/Makefile.
3221 * gdb.hp/Makefile.in: File deleted.
3222 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3223 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3224 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3225 * gdb.hp/gdb.aCC/run.c: File deleted.
3226 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3227 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3228 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3229 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3230 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3231 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3232 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3233 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3234 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3235 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3236 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3237 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3238 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3239 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3240 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3241 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3242 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3243 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3244 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3245 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3246 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3247 * gdb.hp/gdb.compat/average.c: File deleted.
3248 * gdb.hp/gdb.compat/sum.c: File deleted.
3249 * gdb.hp/gdb.compat/xdb.c: File deleted.
3250 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3251 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3252 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3253 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3254 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3255 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3256 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3257 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3258 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3259 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3260 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3261 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3262 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3263 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3264 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3265 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3266 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3267 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3268 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3269 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3270 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3271 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3272 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3273 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3274 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3275 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3276 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3277 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3278 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3279 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3280 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3281 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3282 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3283 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3284 * gdb.hp/tools/odump: File deleted.
3285
8bf3b159
PA
32862015-03-19 Pedro Alves <palves@redhat.com>
3287
3288 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3289 (saw_thread_3): New globals.
3290 (top level): Increment them when an event for the corresponding
3291 thread is seen.
3292 (no thread starvation): New test.
3293
eb54c8bf
PA
32942015-03-19 Pedro Alves <palves@redhat.com>
3295
3296 * gdb.threads/continue-pending-status.c: New file.
3297 * gdb.threads/continue-pending-status.exp: New file.
3298
32d2e5d6
PA
32992015-03-18 Pedro Alves <palves@redhat.com>
3300
3301 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3302 Use gdb_is_target_remote instead of is_remote. Use
3303 gdb_test_multiple instead of gdb_expect. Exit early if
3304 gdb_test_multiple hits its internal matches. Tighten stepi tests
3305 expected output. Fail on exit with any signal, instead of just
3306 SIGILL.
3307
f68f11b7
YQ
33082015-03-18 Yao Qi <yao.qi@linaro.org>
3309
3310 PR tdep/18107
3311 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3312 variable.
3313 * gdb.base/catch-syscall.exp: Don't skip it on
3314 aarch64*-*-linux* target. Remove elements in all_syscalls.
3315 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3316 target.
3317 (setup_all_syscalls): New proc.
3318
ca5fd19b
YQ
33192015-03-16 Yao Qi <yao.qi@linaro.org>
3320
3321 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3322 (top level): Skip tests if valid_addr_p returns false for
3323 $cmd1 or $cmd2.
3324
85642ba0
AW
33252015-03-11 Andy Wingo <wingo@igalia.com>
3326
3327 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3328
e03f9645
YQ
33292015-03-11 Yao Qi <yao.qi@linaro.org>
3330
3331 * gdb.base/catch-syscall.exp: Fix typo in comments.
3332
5d0962b2
YQ
33332015-03-11 Yao Qi <yao.qi@linaro.org>
3334
3335 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3336
b2df3cef
PA
33372015-03-09 Pedro Alves <palves@redhat.com>
3338
3339 * dg-extract-results.py: Delete.
3340
ef878e53
PA
33412015-03-09 Pedro Alves <palves@redhat.com>
3342
3343 Merge dg-extract-results.sh from GCC upstream (r218843).
3344
3345 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3346 * dg-extract-results.sh: Use --text with grep to avoid issues with
3347 binary files. Fall back to cat -v, if that doesn't work.
3348
9494d219
PA
33492015-03-05 Pedro Alves <palves@redhat.com>
3350
3351 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3352
a8d9763a
SM
33532015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3354
3355 * lib/mi-support.exp (mi_expect_interrupt): Accept
3356 alternative event for when in all-stop mode.
3357
be9957b8
PA
33582015-03-04 Pedro Alves <palves@redhat.com>
3359
3360 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3361
d57be0f4 33622015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3363
3364 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3365
c214c7cf
AA
33662015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3367
3368 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3369 regexps for GDB's current line display, accept a hex address
3370 preceding the line number.
3371
6d74a497
AA
33722015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3373
3374 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3375 the 'arch1' variable for "s390*-linux*" targets.
3376
511aee7c
PA
33772015-03-04 Pedro Alves <palves@redhat.com>
3378
3379 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3380 (main): Pass missing retval argument to pthread_join call.
3381
95e50b27
PA
33822015-03-02 Pedro Alves <palves@redhat.com>
3383
3384 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3385 (top level): Call do_test with non-stop as well.
3386
28054d69
PA
33872015-03-02 Pedro Alves <palves@redhat.com>
3388
3389 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3390 -1.
3391
4fa5d7b4
AA
33922015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3393
3394 * gdb.arch/s390-vregs.exp: New test.
3395 * gdb.arch/s390-vregs.S: New file.
3396
97c18565
PA
33972015-02-27 Pedro Alves <palves@redhat.com>
3398
3399 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3400 call to catch_command_errors.
3401 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3402 catch_command_errors.
3403
a37bfa30
PA
34042015-02-27 Pedro Alves <palves@redhat.com>
3405
3406 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3407 "true" for boolean result.
3408 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3409 prototype of main.
3410
6f98576f
PA
34112015-02-27 Pedro Alves <palves@redhat.com>
3412
3413 * lib/unbuffer_output.c: New file.
3414 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3415 (main): Call gdb_unbuffer_output.
3416
eba5ab56
YQ
34172015-02-27 Yao Qi <yao.qi@linaro.org>
3418
3419 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3420 target.
3421
0def5aaa
DE
34222015-02-26 Doug Evans <dje@google.com>
3423
3424 * gdb.cp/class2.cc (Dbase, D): New classes.
3425 (main): New local delta.
3426 * gdb.cp/class2.exp: Test printing delta.
3427 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3428 (dynbar): New global.
3429 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3430
081a1c2c
JK
34312015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3432
3433 * gdb.compile/compile-ifunc.c: New file.
3434 * gdb.compile/compile-ifunc.exp: New file.
3435
2f41223f
AT
34362015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3437
3438 * gdb.base/structs.exp: Check for correct struct on finish.
3439
03eddd80
YQ
34402015-02-26 Yao Qi <yao.qi@linaro.org>
3441
3442 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3443 is zero.
3444
80c57053
JK
34452015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3446
3447 * gdb.arch/cordic.ko.bz2: New file.
3448 * gdb.arch/cordic.ko.debug.bz2: New file.
3449 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3450
21613c12
YQ
34512015-02-25 Yao Qi <yao.qi@linaro.org>
3452
3453 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3454 aarch64*-*-* target.
3455
d8b901ed
PA
34562015-02-23 Pedro Alves <palves@redhat.com>
3457
3458 * lib/gdb.exp (delete_breakpoints): Rewrite using
3459 gdb_test_multiple.
3460
e5b85ead
PA
34612015-02-23 Pedro Alves <palves@redhat.com>
3462
3463 * gdb.base/info-os.c: Include stdlib.h.
3464
85c3a371
DE
34652015-02-22 Doug Evans <xdje42@gmail.com>
3466
3467 PR symtab/17855
3468 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3469 is read after symbols have been re-read.
3470 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3471 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3472
96553a0c
DE
34732015-02-21 Doug Evans <dje@google.com>
3474
3475 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3476
97a0c697
JK
34772015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3478
3479 PR corefiles/17808
3480 * gdb.arch/i386-biarch-core.core.bz2: New file.
3481 * gdb.arch/i386-biarch-core.exp: New file.
3482
a47cd6e9
PA
34832015-02-21 Pedro Alves <palves@redhat.com>
3484
3485 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3486 runto_main fails.
3487
c5facdc4
PA
34882015-02-20 Pedro Alves <palves@redhat.com>
3489
3490 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3491 info probes.
3492
2db9a427
PA
34932015-02-20 Pedro Alves <palves@redhat.com>
3494
3495 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3496
60fb7e9e
PA
34972015-02-20 Pedro Alves <palves@redhat.com>
3498
3499 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3500 clean_restart before gdb_target_supports_trace.
3501
5c5019c2
PA
35022015-02-20 Pedro Alves <palves@redhat.com>
3503
3504 PR threads/18006
3505 * gdb.threads/clone-thread_db.c: New file.
3506 * gdb.threads/clone-thread_db.exp: New file.
3507
c9587f88
AT
35082015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3509
3510 PR breakpoints/16812
3511 * gdb.base/catch-gdb-caused-signals.c: New file.
3512 * gdb.base/catch-gdb-caused-signals.exp: New file.
3513
f6a88844
JM
35142015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3515
3516 * configure: Regenerated.
3517 * configure.ac: Use GDB_AC_TRANSFORM.
3518 * aclocal.m4: sinclude ../transform.m4.
3519
497c491b
JM
35202015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3521
3522 * lib/dtrace.exp: New file.
3523 * gdb.base/dtrace-probe.exp: Likewise.
3524 * gdb.base/dtrace-probe.d: Likewise.
3525 * gdb.base/dtrace-probe.c: Likewise.
3526 * lib/pdtrace.in: Likewise.
3527 * configure.ac: Output variables with the transformed names of
3528 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3529 * configure: Regenerated.
3530
03e98035
JM
35312015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3532
3533 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3534 expected message when trying to access $_probe_* convenience
3535 variables while not on a probe.
3536
63cc30e9
JK
35372015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3538
3539 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3540
0703599a
PA
35412015-02-11 Pedro Alves <pedro@codesourcery.com>
3542
3543 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3544 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3545
7e60a48e
DE
35462015-02-10 Doug Evans <xdje42@gmail.com>
3547
3548 * lib/gdb.exp (gdb_load): Always return a result.
3549
01b088bc
PA
35502015-02-10 Pedro Alves <palves@redhat.com>
3551
3552 * gdb.threads/signal-sigtrap.c: New file.
3553 * gdb.threads/signal-sigtrap.exp: New file.
3554
b05ec7a5
AT
35552015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3556
3557 * gdb.trace/no-attach-trace.c: New file.
3558 * gdb.trace/no-attach-trace.exp: New file.
3559
a2c2acaf
MW
35602015-02-09 Mark Wielaard <mjw@redhat.com>
3561
3562 * gdb.dwarf2/atomic.c: New file.
3563 * gdb.dwarf2/atomic-type.exp: Likewise.
3564
31fd9caa
MM
35652015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3566
3567 * gdb.btrace/buffer-size.exp: Update "info record" output.
3568 * gdb.btrace/delta.exp: Update "info record" output.
3569 * gdb.btrace/enable.exp: Update "info record" output.
3570 * gdb.btrace/finish.exp: Update "info record" output.
3571 * gdb.btrace/instruction_history.exp: Update "info record" output.
3572 * gdb.btrace/next.exp: Update "info record" output.
3573 * gdb.btrace/nexti.exp: Update "info record" output.
3574 * gdb.btrace/step.exp: Update "info record" output.
3575 * gdb.btrace/stepi.exp: Update "info record" output.
3576 * gdb.btrace/nohist.exp: Update "info record" output.
3577
d33501a5
MM
35782015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3579
3580 * gdb.btrace/buffer-size: New.
3581
f4abbc16
MM
35822015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3583
3584 * gdb.btrace/delta.exp: Update "info record" output.
3585 * gdb.btrace/enable.exp: Update "info record" output.
3586 * gdb.btrace/finish.exp: Update "info record" output.
3587 * gdb.btrace/instruction_history.exp: Update "info record" output.
3588 * gdb.btrace/next.exp: Update "info record" output.
3589 * gdb.btrace/nexti.exp: Update "info record" output.
3590 * gdb.btrace/step.exp: Update "info record" output.
3591 * gdb.btrace/stepi.exp: Update "info record" output.
3592 * gdb.btrace/nohist.exp: Update "info record" output.
3593
b9d61307
SM
35942015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3595
3596 PR gdb/15678
3597 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3598
e584fdbc
PA
35992015-02-06 Pedro Alves <palves@redhat.com>
3600
3601 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3602 macro.
3603 (seconds_left, again): New globals.
3604 (main): Wait seconds_left in a 1-second sleep loop instead of
3605 sleeping 180 seconds. If 'again' is set, reset the seconds
3606 counter.
3607 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3608 'again' in the inferior before detaching. Print the seconds left.
3609 (options): New global.
3610 (top level): Build program with -DTIMEOUT=$timeout.
3611
77f41761
PA
36122015-02-06 Pedro Alves <palves@redhat.com>
3613
3614 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3615 determine how many seconds to pass to 'alarm'.
3616 * gdb.base/gdb-sigterm.exp (top level): Build program with
3617 -DTIMEOUT=$timeout.
3618 (do_test): Return success/failure indication. Add more verbose
3619 logging. Don't fail if 200 single steps are seen. Instead, fail
3620 when the test times out.
3621 (passes): New global.
3622 (top level): Break the testing loop if testing fails on any
3623 iteration. Use gdb_assert.
3624
b9394193
DB
36252015-02-04 Don Breazeal <donb@codesourcery.com>
3626
3627 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3628 and initialize them.
3629 (ipc_cleanup): New function.
3630 (main): Don't declare shmid, semid, and msqid. Add a call to
3631 atexit so that we call ipc_cleanup on exit.
3632
42d9e528
PA
36332015-02-04 Pedro Alves <palves@redhat.com>
3634
3635 * boards/native-extended-gdbserver.exp: Remove any target variant
3636 specifications from the board name before clearing the isremote
3637 flag from board_info.
3638
ae6ae975
DE
36392015-01-31 Doug Evans <xdje42@gmail.com>
3640
3641 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3642
cfb069a8
GB
36432015-01-31 Gary Benson <gbenson@redhat.com>
3644
3645 * gdb.base/completion.exp: Disable completion limiting for
3646 existing tests. Add new tests to check completion limiting.
3647 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3648
5dd31d79
DE
36492015-01-31 Doug Evans <xdje42@gmail.com>
3650
3651 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3652
9f050062
DE
36532015-01-31 Doug Evans <xdje42@gmail.com>
3654
3655 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3656 entries. Duplicate file section script entries.
3657 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3658 inlined entries. Add test for safe-path rejection.
3659 * gdb.python/py-section-script.c: Add duplicate inlined section script
3660 entries. Duplicate file section script entries.
3661 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3662 inlined entries. Add test for safe-path rejection.
3663
df25ebbd
JB
36642015-01-29 Joel Brobecker <brobecker@adacore.com>
3665
3666 * gdb.ada/disc_arr_bound: New testcase.
3667
4a0ca9ec
JB
36682015-01-29 Joel Brobecker <brobecker@adacore.com>
3669
3670 * gdb.ada/mi_var_array: New testcase.
3671
3a8b707a
DE
36722015-01-27 Doug Evans <dje@google.com>
3673
3674 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3675 Add test for objfile.filename, objfile.username after objfile
3676 has been unloaded.
3677
f8313f6e
JB
36782015-01-26 Joel Brobecker <brobecker@adacore.com>
3679
3680 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3681 the second test to print the name attribute of value
3682 returned by the call to gdb.lookup_type, and adjust
3683 the expected output accordingly.
3684
37bc665e
MW
36852015-01-25 Mark Wielaard <mjw@redhat.com>
3686
3687 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3688 * gdb.base/disp-step-fork.c: Include unistd.h.
3689 * gdb.base/siginfo-obj.c: Include stdio.h.
3690 * gdb.base/siginfo-thread.c: Likewise.
3691 * gdb.mi/non-stop.c: Include unistd.h.
3692 * gdb.mi/nsthrexec.c: Include stdio.h.
3693 * gdb.mi/pthreads.c: Include unistd.h.
3694 * gdb.modula2/unbounded1.c (main): Declare returns int.
3695 * gdb.reverse/consecutive-reverse.c: Likewise.
3696 * gdb.threads/create-fail.c: Include unistd.h.
3697 * gdb.threads/killed.c: Likewise.
3698 * gdb.threads/linux-dp.c: Likewise.
3699 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3700 * gdb.threads/non-ldr-exc-2.c: Likewise.
3701 * gdb.threads/non-ldr-exc-3.c: Likewise.
3702 * gdb.threads/non-ldr-exc-4.c: Likewise.
3703 * gdb.threads/pthreads.c: Include unistd.h.
3704 (main): Declare returns int.
3705 * gdb.threads/tls-main.c (foo): New declaration.
3706 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3707
f7e5394d
SM
37082015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3709
3710 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3711 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3712
743649fd
MW
37132015-01-15 Mark Wielaard <mjw@redhat.com>
3714
3715 * gdb.base/noreturn-return.c: New file.
3716 * gdb.base/noreturn-return.exp: New file.
3717 * gdb.base/noreturn-finish.c: New file.
3718 * gdb.base/noreturn-finish.exp: New file.
3719
198297aa
PA
37202015-01-23 Pedro Alves <palves@redhat.com>
3721
3722 * gdb.threads/continue-pending-after-query.c: New file.
3723 * gdb.threads/continue-pending-after-query.exp: New file.
3724
717cf30c
AG
37252015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3726 Simon Marchi <simon.marchi@ericsson.com>
3727
3728 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3729 * gdb.base/valgrind-db-attach.exp: Same.
3730 * gdb.base/valgrind-infcall.exp: Same.
3731 * lib/mi-support.exp (default_mi_gdb_start): Same.
3732 * lib/prompt.exp (default_prompt_gdb_start): Same.
3733 * lib/gdb.exp (default_gdb_spawn): Same.
3734 (gdb_interact): New.
3735
3736
4b62a76e
JK
37372015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3738
3739 * gdb.compile/compile.exp (pointer to jit function): New test.
3740
b4cdae6f
WW
37412015-01-17 Wei-cheng Wang <cole945@gmail.com>
3742
3743 * lib/gdb.exp (supports_process_record): Return true for
3744 powerpc*-*-linux*.
3745 (supports_reverse): Likewise.
3746
d221e7ef
DB
37472015-01-15 Don Breazeal <donb@codesourcery.com>
3748
3749 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3750 instead of checking whether the target board is remote and
3751 use spawn_wait_for_attach instead of exec/sleep.
3752 * gdb.base/attach-twice.exp: Likewise.
3753
bafffb51
JB
37542015-01-15 Joel Brobecker <brobecker@adacore.com>
3755
3756 * gdb.ada/var_arr_attrs: New testcase.
3757
5589af0e
PA
37582015-01-14 Pedro Alves <palves@redhat.com>
3759 Joel Brobecker <brobecker@adacore.com>
3760
3761 PR gdb/17525
3762 * gdb.base/bp-cmds-execution-x-script.c: New file.
3763 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3764 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3765
6c400b59
PA
37662015-01-14 Pedro Alves <palves@redhat.com>
3767
3768 PR cli/17828
3769 * gdb.base/batch-preserve-term-settings.c: New file.
3770 * gdb.base/batch-preserve-term-settings.exp: New file.
3771
e02c96a7
DE
37722015-01-13 Doug Evans <dje@google.com>
3773
3774 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3775 binary.
3776
576fd14c
JB
37772015-01-13 Joel Brobecker <brobecker@adacore.com>
3778
3779 * Makefile.in (clean mostlyclean): Do not delete *.py.
3780
04dccad0
JB
37812015-01-13 Joel Brobecker <brobecker@adacore.com>
3782
3783 * gdb.python/py-lookup-type.exp: New file.
3784
3d230f71
PA
37852015-01-12 Pedro Alves <palves@redhat.com>
3786
3787 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3788 restore GDBFLAGS before returning.
3789
7e67715d
JK
37902015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3791
3792 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3793 is_amd64_regs_target and is_x86_like_target.
3794
f2e0d4b4
DE
37952015-01-11 Doug Evans <xdje42@gmail.com>
3796
3797 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3798 is given without an explicit form.
3799 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3800 attributes.
3801 * gdb.dwarf/corrupt.exp: Ditto.
3802 * gdb.dwarf2/enum-type.exp: Ditto.
3803 * gdb.trace/entry-values.exp: Ditto.
3804 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3805
439250fb
DE
38062015-01-11 Doug Evans <xdje42@gmail.com>
3807
3808 PR gdb/15830
3809 * gdb.base/maint.exp: Remove references to "maint demangle".
3810 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3811 Add tests for explicitly specifying language to demangle.
3812 * gdb.dlang/demangle.exp: Ditto.
3813
ede9f622
PA
38142015-01-09 Pedro Alves <palves@redhat.com>
3815
3816 * gdb.threads/non-stop-fair-events.c: New file.
3817 * gdb.threads/non-stop-fair-events.exp: New file.
3818
a7b796db
PA
38192015-01-09 Pedro Alves <palves@redhat.com>
3820
3821 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3822 the global scope. Set a breakpoint after all threads are started
3823 rather than stepping over two source lines. Expect the prompt.
3824 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3825 global.
3826 (NUM): Now 15.
3827 (main): Use threads_started_barrier to wait for all threads to
3828 start. Main thread no longer calls thread_function. Exit after
3829 180 seconds.
3830 (loop): New function.
3831 (thread_function): Wait on threads_started_barrier barrier. Call
3832 'loop' at each iteration.
3833 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3834 threads have started, instead of hardcoding number of "next"
3835 steps. Use an access watchpoint instead of a write watchpoint.
3836
9665ffdd
PA
38372015-01-09 Pedro Alves <palves@redhat.com>
3838
3839 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3840 (thread_func): Wait on barrier.
3841 (main): Wait for all threads to start before stopping GDB.
3842 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3843 global.
3844 (thread1_func, thread2_func): Wait on barrier.
3845 (main): Wait for all threads to start before stopping GDB.
3846 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3847 New global.
3848 (thread1_func, thread2_func): Wait on barrier.
3849 (main): Wait for all threads to start before stopping GDB.
3850
c945a99f
PA
38512015-01-09 Pedro Alves <palves@redhat.com>
3852
3853 * gdb.threads/attach-many-short-lived-threads.c: New file.
3854 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3855
c1a747c1
PA
38562014-01-09 Pedro Alves <palves@redhat.com>
3857
3858 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3859 instead of to thread 2.
3860 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3861 Add barrier around each pthread_create call instead of around all
3862 calls.
3863 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3864 Set a break on thread_function and have the child threads hit it
3865 one at at a time.
3866
60b3033e
PA
38672015-01-09 Pedro Alves <palves@redhat.com>
3868
3869 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3870 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3871 false.
3872 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3873 checking whether the target board is remote.
3874 * gdb.multi/multi-attach.exp: Likewise.
3875 * gdb.python/py-sync-interp.exp: Likewise.
3876 * gdb.server/ext-attach.exp: Likewise.
3877 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3878 tests that need to attach, instead of checking whether the target
3879 board is remote at the top of the file.
3880
acc018ac
YQ
38812015-01-08 Yao Qi <yao@codesourcery.com>
3882
3883 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3884
50a18af8
JK
38852015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3886
3887 Fix testcase compilation.
3888 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3889
8503d6e1
JB
38902015-01-06 Joel Brobecker <brobecker@adacore.com>
3891
3892 * gdb.python/py-type.exp: Add a couple test about empty
3893 array creation, and negative-length array creation.
3894
cc73dbcc
DE
38952015-01-02 Doug Evans <xdje42@gmail.com>
3896
3897 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3898
0300bbc7
DE
38992015-01-02 Doug Evans <dje@google.com>
3900
3901 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3902
9d85a0ec
YQ
39032014-12-29 Yao Qi <yao@codesourcery.com>
3904
3905 * gdb.trace/entry-values.exp: Update comments. Rename variable
3906 bar_call_foo to returned_from_foo.
3907
87186c6a
MMN
39082014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3909
3910 PR gdb/17394
3911 * gdb.linespec/break-asm-file.c: New file.
3912 * gdb.linespec/break-asm-file.exp: New file.
3913 * gdb.linespec/break-asm-file0.s: New file.
3914 * gdb.linespec/break-asm-file1.s: New file.
3915
1bab7383
YQ
39162014-12-18 Nigel Stephens <nigel@mips.com>
3917 Maciej W. Rozycki <macro@codesourcery.com>
3918
3919 * gdb.base/float.exp: Handle the new output from "info float" on
3920 MIPS targets.
3921
1bc1068a
JK
39222014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3923
3924 Fix MinGW compilation.
3925 * gdb.compile/compile-ops.exp: Update untested message if
3926 !skip_compile_feature_tests.
3927 * gdb.compile/compile-setjmp.exp: Likewise.
3928 * gdb.compile/compile-tls.exp: Likewise.
3929 * gdb.compile/compile.exp: Likewise.
3930 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3931 supported on this host".
3932
b6615d10
DE
39332014-12-16 Doug Evans <xdje42@gmail.com>
3934
3935 * boards/stabs.exp: New file.
3936
25dda427
AA
39372014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3938
3939 * gdb.base/completion.exp: Adjust to format changes of "maint
3940 print user-registers".
3941
bf330350
CU
39422014-12-16 Catalin Udma <catalin.udma@freescale.com>
3943
3944 PR server/17457
3945 * gdb.arch/aarch64-fp.c: New file.
3946 * gdb.arch/aarch64-fp.exp: New file.
3947
395cf596
SDJ
39482014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3949
3950 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3951 r210637, r210913, r211666, r215400, r215817).
3952
3953 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3954 * dg-extract-results.py: New file.
3955 * dg-extract-results.sh: Use it if the environment seems
3956 suitable.
3957
3958 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
3959
3960 * dg-extract-results.py (parse_run): Handle warnings that
3961 are printed before a test harness is run.
3962
3963 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
3964
3965 * dg-extract-results.py (Named): Remove __cmp__ method.
3966 (output_variation): Use a key to sort variation.harnesses.
3967
3968 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
3969
3970 * dg-extract-results.py: For Python 3, force sys.stdout to
3971 handle surrogate escape sequences.
3972 (safe_open): New function.
3973 (output_segment, main): Use it.
3974
3975 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3976
3977 * dg-extract-results.py (Prog.result_re): Include options
3978 in test name.
3979
3980 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3981
3982 * dg-extract-results.py (output_variation): Always sort if
3983 do_sum.
3984
e882ef3c
SM
39852014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3986
3987 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3988 as long as we get pagination notifications.
3989
4992aa20
JM
39902014-12-15 Jason Merrill <jason@redhat.com>
3991
3992 * Makefile.in (check-gdb.%): Restore.
3993 * README: Mention it.
3994
c1b5a1a6
JB
39952014-12-13 Joel Brobecker <brobecker@adacore.com>
3996
3997 * gdb.ada/str_uninit: New testcase.
3998
5537b577
JK
39992014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4000
4001 PR symtab/17642
4002 * gdb.base/vla-stub-define.c: New file.
4003 * gdb.base/vla-stub.c: New file.
4004 * gdb.base/vla-stub.exp: New file.
4005
bb2ec1b3
TT
40062014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4007 Jan Kratochvil <jan.kratochvil@redhat.com>
4008 Tom Tromey <tromey@redhat.com>
4009
4010 * configure.ac: Add gdb.compile/.
4011 * configure: Regenerate.
4012 * gdb.compile/Makefile.in: New file.
4013 * gdb.compile/compile-ops.exp: New file.
4014 * gdb.compile/compile-ops.c: New file.
4015 * gdb.compile/compile-tls.c: New file.
4016 * gdb.compile/compile-tls.exp: New file.
4017 * gdb.compile/compile-constvar.S: New file.
4018 * gdb.compile/compile-constvar.c: New file.
4019 * gdb.compile/compile-mod.c: New file.
4020 * gdb.compile/compile-nodebug.c: New file.
4021 * gdb.compile/compile-setjmp-mod.c: New file.
4022 * gdb.compile/compile-setjmp.c: New file.
4023 * gdb.compile/compile-setjmp.exp: New file.
4024 * gdb.compile/compile-shlib.c: New file.
4025 * gdb.compile/compile.c: New file.
4026 * gdb.compile/compile.exp: New file.
4027 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4028
4ff709eb
TT
40292014-12-12 Tom Tromey <tromey@redhat.com>
4030
4031 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4032 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4033
6dddd6a5
DE
40342014-12-12 Doug Evans <dje@google.com>
4035
4036 * lib/gdb-python.exp (get_python_valueof): New function.
4037 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4038
71c24708
AA
40392014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4040
4041 * gdb.base/completion.exp: Add test for completion of "info
4042 registers ".
4043
3e29f34a
MR
40442014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4045
4046 * gdb.base/func-ptrs.c: New file.
4047 * gdb.base/func-ptrs.exp: New file.
4048
fc126975
SM
40492014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4050
4051 PR breakpoints/17012
4052 * gdb.base/dprintf-detach.c: New file.
4053 * gdb.base/dprintf-detach.exp: New file.
4054
0a46d518
SM
40552014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4056
4057 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4058 * lib/gdb.exp (target_is_gdbserver): New procedure.
4059
a0be3e44
DE
40602014-12-08 Doug Evans <dje@google.com>
4061
4062 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4063
df1b803a
YQ
40642014-12-05 Yao Qi <yao@codesourcery.com>
4065
4066 * gdb.guile/scm-error.exp: Remove the third argument to
4067 gdb_remote_download.
4068 * gdb.guile/scm-frame-args.exp: Likewise.
4069 * gdb.guile/scm-section-script.exp: Likewise.
4070
ddb9f679
YQ
40712014-12-05 Yao Qi <yao@codesourcery.com>
4072
4073 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4074
86e4ed39
DE
40752014-12-04 Doug Evans <dje@google.com>
4076
4077 * gdb.python/py-objfile.exp: Add tests for
4078 objfile.add_separate_debug_file.
4079
7c50a931
DE
40802014-12-04 Doug Evans <dje@google.com>
4081
4082 * lib/gdb.exp (get_build_id): New function.
4083 (build_id_debug_filename_get): Rewrite to use it.
4084 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4085
621661e3
MR
40862014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4087
4088 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4089 `method(long)', not just 0x0.
4090 * gdb.cp/nsalias.exp: Align code labels to 4.
4091 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4092 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4093 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4094 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4095 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4096 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4097
29f0c3b7
DE
40982014-12-02 Doug Evans <dje@google.com>
4099
e1e061e7 4100 PR symtab/17602
29f0c3b7 4101 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4102 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4103 * gdb.cp/anon-ns.exp: Update.
4104
162078c8
NB
41052014-12-02 Nick Bull <nicholaspbull@gmail.com>
4106
4107 * gdb.python/py-events.py (inferior_call_handler): New.
4108 (register_changed_handler, memory_changed_handler): New.
4109 (test_events.invoke): Register new handlers.
4110 * gdb.python/py-events.exp: Add tests for inferior call,
4111 memory_changed and register_changed events.
4112
fdb09caf
AA
41132014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4114
4115 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4116 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4117 if the linker doesn't understand this.
4118
55cfb2c4
SM
41192014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4120
4121 * gdb.python/python.exp: Change expected reply to help().
4122
9e8cd6df
YQ
41232014-12-01 Yao Qi <yao@codesourcery.com>
4124
4125 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4126 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4127 * configure: Re-generated.
4128
6c659fc2
SC
41292014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4130
4131 * gdb.cp/chained-calls.cc: New file.
4132 * gdb.cp/chained-calls.exp: New file.
4133 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4134
d7fc3181
SM
41352014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4136
4137 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4138 * gdb.dwarf2/symtab-producer.exp: Same.
4139 * gdb.gdb/python-interrupts.exp: Same.
4140 * gdb.gdb/python-selftest.exp: Same.
4141 * gdb.python/py-linetable.exp: Same.
4142 * gdb.python/py-type.exp: Same.
4143 * gdb.python/py-value-cc.exp: Same.
4144 * gdb.python/py-value.exp: Same.
4145
10e79639
YQ
41462014-11-28 Yao Qi <yao@codesourcery.com>
4147
4148 * gdb.base/break-probes.exp: Match library name prefixed with
4149 sysroot.
4150
f28a0564
SM
41512014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4152
4153 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4154 test expected output. Add parentheses for the call to print.
4155 Remove L suffix from integers.
4156
3fe1ce1d
DE
41572014-11-26 Doug Evans <dje@google.com>
4158
4159 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4160
84429e27
YQ
41612014-11-22 Yao Qi <yao@codesourcery.com>
4162
4163 * gdb.trace/entry-values.c: Remove asms.
4164 (foo): Add foo_label.
4165 (bar): Add bar_label.
4166 * gdb.trace/entry-values.exp: Remove code computing foo's
4167 length and bar's length.
4168 (Dwarf::assemble): Invoke function_range for bar and use
4169 MACRO_AT_func for foo.
4170
26741859
YQ
41712014-11-22 Yao Qi <yao@codesourcery.com>
4172
4173 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4174 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4175 Use .Lgcc43_procstart instead of gcc43.
4176
45e44d27
JB
41772014-11-21 Joel Brobecker <brobecker@adacore.com>
4178
4179 * gdb.ada/n_arr_bound: New testcase.
4180
458c8db8
SDJ
41812014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4182
4183 PR breakpoints/10737
4184 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4185 test_catch_syscall_multi_arch.
4186 (test_catch_syscall_multi_arch): New function.
4187
43f3e411
DE
41882014-11-20 Doug Evans <xdje42@gmail.com>
4189
4190 * gdb.base/maint.exp: Update expected output.
4191
0d7b2549
AA
41922014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4193
4194 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4195 4-byte instruction on S390.
4196
8908fca5
JB
41972014-11-19 Joel Brobecker <brobecker@adacore.com>
4198
4199 * gdb.ada/arr_arr: New testcase.
4200
4a46959e
JB
42012014-11-19 Joel Brobecker <brobecker@adacore.com>
4202
4203 * gdb.ada/pkd_arr_elem: New Testcase.
4204
470e2f4e
LM
42052014-11-18 Luis Machado <lgustavo@codesourcery.com>
4206
4207 * gdb.reverse/break-precsave: Expect completion message for
4208 core file reads.
4209 * gdb.reverse/consecutive-precsave.exp: Likewise.
4210 * gdb.reverse/finish-precsave.exp: Likewise.
4211 * gdb.reverse/i386-precsave.exp: Likewise.
4212 * gdb.reverse/machinestate-precsave.exp: Likewise.
4213 * gdb.reverse/sigall-precsave.exp: Likewise.
4214 * gdb.reverse/solib-precsave.exp: Likewise.
4215 * gdb.reverse/step-precsave.exp: Likewise.
4216 * gdb.reverse/until-precsave.exp: Likewise.
4217 * gdb.reverse/watch-precsave.exp: Likewise.
4218
a267f3ad
AA
42192014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4220
4221 * gdb.base/bp-permanent.c: Include unistd.h.
4222 * gdb.python/py-framefilter-mi.c (main): Add return type.
4223 * gdb.python/py-framefilter.c (main): Likewise.
4224 * gdb.trace/actions-changed.c (main): Likewise.
4225
12084a9a
AA
42262014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4227
4228 * gdb.mi/until.c: Add eye-catchers.
4229 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4230 line numbers.
4231
dc7e1a77
AA
42322014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4233
4234 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4235 function header variants in break1.c.
4236 * gdb.base/ena-dis-br.exp: Likewise.
4237 * gdb.base/hbreak2.exp: Likewise.
4238 * gdb.reverse/until-precsave.exp: Drop references to removed
4239 non-prototype function header variants in ur1.c.
4240 * gdb.reverse/until-reverse.exp: Likewise.
4241
41c77605
PM
42422014-11-17 Petr Machata <pmachata@redhat.com>
4243
4244 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4245 ${_cu_offset_size} bytes abbrev offset.
4246
34248c3a
DE
42472014-11-15 Doug Evans <xdje42@gmail.com>
4248
4249 PR symtab/17559
4250 * gdb.base/line-symtabs.exp: New file.
4251 * gdb.base/line-symtabs.c: New file.
4252 * gdb.base/line-symtabs.h: New file.
4253
646da059
YQ
42542014-11-14 Yao Qi <yao@codesourcery.com>
4255
4256 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4257 (func): Add label func_label.
4258 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4259 Replace low_pc and high_pc with MACRO_AT_range.
4260 Replace name, low_pc and high_pc with MACRO_AT_func.
4261
9301ebe6
YQ
42622014-11-14 Yao Qi <yao@codesourcery.com>
4263
4264 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4265 Replace name, low_pc and high_pc with MACRO_AT_func.
4266
f166b542
YQ
42672014-11-14 Yao Qi <yao@codesourcery.com>
4268
4269 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4270 produce debug information.
4271 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4272
0f6e71e3
YQ
42732014-11-14 Yao Qi <yao@codesourcery.com>
4274
4275 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4276 object and get function length.
4277 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4278 with MACRO_AT_func.
4279 (top-level): Replace gdb_compile and clean_restart with
4280 prepare_for_testing.
4281 * gdb.dwarf2/main.c (main): Add label main_label.
4282
876c4df9
YQ
42832014-11-14 Yao Qi <yao@codesourcery.com>
4284
4285 * lib/dwarf.exp (function_range): New procedure.
4286 (Dwarf::_handle_macro_at_func): New procedure.
4287 (Dwarf::_handle_macro_at_range): New procedure.
4288 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4289
02ad9cf1
YQ
42902014-11-14 Yao Qi <yao@codesourcery.com>
4291
4292 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4293 (_handle_attribute): New procedure.
4294
a59add0c
AA
42952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4296
4297 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4298 * gdb.base/call-sc.c (zed): Likewise.
4299 * gdb.base/checkpoint.c (main): Likewise.
4300 * gdb.base/dump.c (main): Likewise.
4301 * gdb.base/gcore.c (main): Likewise.
4302 * gdb.base/huge.c (main): Likewise.
4303 * gdb.base/multi-forks.c (main): Likewise.
4304 * gdb.base/pr10179-a.c (main): Likewise.
4305 * gdb.base/savedregs.c (main): Likewise.
4306 * gdb.base/sigaltstack.c (main): Likewise.
4307 * gdb.base/siginfo.c (main): Likewise.
4308 * gdb.base/structs.c (zed): Likewise.
4309 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4310 * gdb.mi/mi-syn-frame.c (main): Likewise.
4311 * gdb.mi/until.c (foo, main): Likewise.
4312 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4313 * gdb.base/solib-weak.c (foo): Declare.
4314 * gdb.base/attach-twice.c: Include stdio.h.
4315 * gdb.base/weaklib1.c: Likewise.
4316 * gdb.base/weaklib2.c: Likewise.
4317 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4318 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4319 unistd.h.
4320 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4321 * gdb.mi/mi-exit-code.c: Likewise.
4322 * gdb.base/break-interp-lib.c: Include string.h.
4323 * gdb.base/coremaker.c: Likewise.
4324 * gdb.base/testenv.c: Likewise.
4325 * gdb.python/py-finish-breakpoint.c: Likewise.
4326 * gdb.base/inferior-died.c: Include sys/wait.h.
4327 * gdb.base/fileio.c: Include time.h.
4328 * gdb.base/async-shell.c: Include unistd.h.
4329 * gdb.base/dprintf-non-stop.c: Likewise.
4330 * gdb.base/info-os.c: Likewise.
4331 * gdb.mi/mi-console.c: Likewise.
4332 * gdb.mi/watch-nonstop.c: Likewise.
4333 * gdb.python/py-events.c: Likewise.
4334 * gdb.base/async.c (baz): Move up before its invocation.
4335 * gdb.base/code_elim2.c (my_global_func): Likewise.
4336 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4337 * gdb.base/advance.c (func2): Likewise.
4338
3b5d5997
AA
43392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4340
4341 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4342 variant.
4343 * gdb.base/annota3.c: Likewise.
4344 * gdb.base/async.c: Likewise.
4345 * gdb.base/average.c: Likewise.
4346 * gdb.base/call-ar-st.c: Likewise.
4347 * gdb.base/call-rt-st.c: Likewise.
4348 * gdb.base/call-sc.c: Likewise.
4349 * gdb.base/call-strs.c: Likewise.
4350 * gdb.base/ending-run.c: Likewise.
4351 * gdb.base/execd-prog.c: Likewise.
4352 * gdb.base/exprs.c: Likewise.
4353 * gdb.base/foll-exec.c: Likewise.
4354 * gdb.base/foll-fork.c: Likewise.
4355 * gdb.base/foll-vfork.c: Likewise.
4356 * gdb.base/funcargs.c: Likewise.
4357 * gdb.base/gcore.c: Likewise.
4358 * gdb.base/jump.c: Likewise.
4359 * gdb.base/langs0.c: Likewise.
4360 * gdb.base/langs1.c: Likewise.
4361 * gdb.base/langs2.c: Likewise.
4362 * gdb.base/mips_pro.c: Likewise.
4363 * gdb.base/nodebug.c: Likewise.
4364 * gdb.base/opaque0.c: Likewise.
4365 * gdb.base/opaque1.c: Likewise.
4366 * gdb.base/recurse.c: Likewise.
4367 * gdb.base/run.c: Likewise.
4368 * gdb.base/scope0.c: Likewise.
4369 * gdb.base/scope1.c: Likewise.
4370 * gdb.base/setshow.c: Likewise.
4371 * gdb.base/setvar.c: Likewise.
4372 * gdb.base/shmain.c: Likewise.
4373 * gdb.base/shr1.c: Likewise.
4374 * gdb.base/shr2.c: Likewise.
4375 * gdb.base/sigall.c: Likewise.
4376 * gdb.base/signals.c: Likewise.
4377 * gdb.base/so-indr-cl.c: Likewise.
4378 * gdb.base/solib2.c: Likewise.
4379 * gdb.base/structs.c: Likewise.
4380 * gdb.base/sum.c: Likewise.
4381 * gdb.base/vforked-prog.c: Likewise.
4382 * gdb.base/watchpoint.c: Likewise.
4383 * gdb.reverse/shr2.c: Likewise.
4384 * gdb.reverse/until-reverse.c: Likewise.
4385 * gdb.reverse/ur1.c: Likewise.
4386 * gdb.reverse/watch-reverse.c: Likewise.
4387
066a77c5
AA
43882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4389
4390 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4391 variant.
4392 * gdb.base/sepdebug.exp: Drop references to removed code.
4393
4f204ea5
AA
43942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4395
4396 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4397 variant. Preserve original line numbering.
4398 * gdb.base/list1.c: Likewise.
4399
3b377a3a
AA
44002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4401
4402 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4403 variant.
4404 * gdb.base/break1.c: Likewise.
4405 * gdb.base/break.exp: Drop references to removed code.
4406
e444df73
AA
44072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4408
4409 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4410 variant.
4411
8008f2a7
AA
44122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4413
4414 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4415
a5a06887
AA
44162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4417
4418 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4419 logic into perform_all_tests() and invoke it with and without
4420 function header prototypes.
4421 (do_function_calls): Remove conditional XFAIL for PR 5318.
4422 (rerun_and_prepare): Remove duplicate code.
4423 (perform_all_tests): New. Main logic moved here.
4424
44dba9b9
AA
44252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4426
4427 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4428 code guarded by #ifdef NO_PROTOTYPES.
4429 (t_double_many_args): Likewise.
4430 (DEF_FUNC_MANY_ARGS_1): Likewise.
4431 (DEF_FUNC_VALUES_1): Likewise.
4432 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4433 guarded by #ifdef PROTOTYPES.
4434
d1fbcd56
AA
44352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4436
4437 * gdb.mi/mi-console.c: Add eye-catcher.
4438 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4439 instead of literal line number.
4440
b0e59b8f
AA
44412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4442
4443 * gdb.base/shr2.c: Add eye-catcher.
4444 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4445 line number.
4446
78f98cca
AA
44472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4448
4449 * gdb.base/jump.c: Add eye-catchers.
4450 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4451 numbers.
4452
58fa2af0
AA
44532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4454
4455 * gdb.base/execd-prog.c: Add eye-catchers.
4456 * gdb.base/foll-exec.c: Likewise.
4457 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4458 line numbers.
4459
04e5059b
AA
44602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4461
4462 * gdb.base/ending-run.c: Add eye-catchers.
4463 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4464 literal line numbers.
4465
dbfdb174
AA
44662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4467
4468 * gdb.base/call-rt-st.c: Add eye-catchers.
4469 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4470 literal line numbers.
4471
888a2ade
AA
44722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4473
4474 * gdb.base/call-ar-st.c: Add eye-catchers.
4475 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4476 literal line numbers.
4477
6acc2dde
AA
44782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4479
4480 * gdb.base/average.c: Add eye-catchers.
4481 * gdb.base/sum.c: Likewise.
4482 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4483 regexps dynamically.
4484
9ecfcd1d
AA
44852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4486
4487 * gdb.base/solib1.c: Add eye-catchers.
4488 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4489 literal line numbers.
4490
78708b7c
PA
44912014-11-12 Pedro Alves <palves@redhat.com>
4492
4493 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4494 leader has exited.
4495
af48d08f
PA
44962014-11-12 Pedro Alves <palves@redhat.com>
4497
4498 * gdb.arch/i386-bp_permanent.c: New file.
4499 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4500 (srcfile): Set to i386-bp_permanent.c.
4501 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4502 that stepi does not execute the 'leave' instruction, instead of
4503 testing it does execute.
4504 * gdb.base/bp-permanent.c: New file.
4505 * gdb.base/bp-permanent.exp: New file.
4506
af3768e9
DE
45072014-11-10 Doug Evans <xdje42@gmail.com>
4508
4509 PR symtab/17564
4510 * gdb.base/symtab-search-order.exp: New file.
4511 * gdb.base/symtab-search-order.c: New file.
4512 * gdb.base/symtab-search-order-1.c: New file.
4513 * gdb.base/symtab-search-order-shlib-1.c: New file.
4514
9de00a4a
PA
45152014-11-07 Pedro Alves <palves@redhat.com>
4516
4517 PR gdb/17511
4518 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4519 i?86-*-linux*.
4520
e0f52461
SC
45212014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4522
4523 PR c++/17494
4524 * gdb.cp/pr17494.cc: New file.
4525 * gdb.cp/pr17494.exp: New file.
4526
6ce8c980
YQ
45272014-11-02 Yao Qi <yao@codesourcery.com>
4528
4529 * gdb.python/python.exp: Get working directory and match the
4530 output of "set extended-prompt \\w " with it.
4531
02be9a71
DE
45322014-10-30 Doug Evans <dje@google.com>
4533
4534 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4535 in objfiles.
4536 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4537 in progspaces.
4538
3bdff46b
LM
45392014-10-30 Janis Johnson <janisjo@codesourcery.com>
4540
4541 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4542 * gdb.base/realname-expand.exp: Likewise.
4543 * gdb.linespec/macro-relative.exp: Likewise.
4544
ab917dfb
PA
45452014-10-29 Pedro Alves <palves@redhat.com>
4546
4547 PR gdb/17408
4548 * gdb.threads/schedlock.c (some_function): New function.
4549 (call_function): New global.
4550 (MAYBE_CALL_SOME_FUNCTION): New macro.
4551 (thread_function): Call it.
4552 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4553 and use it instead of a global counter. Adjust all callers.
4554 (get_current_thread): Use "find current thread" for test message
4555 here rather than having all callers pass down the same string.
4556 (goto_loop): New procedure, factored out from ...
4557 (my_continue): ... this.
4558 (step_ten_loops): Change parameter from test message to command to
4559 use. Adjust.
4560 (list_count): Delete global.
4561 (check_result): New procedure, factored out from duplicate top
4562 level code.
4563 (continue tests): Wrap in with_test_prefix.
4564 (test_step): New procedure, factored out from duplicate top level
4565 code.
4566 (top level): Test "step" in combination with all scheduler-locking
4567 modes. Test "next" in combination with all scheduler-locking
4568 modes, and in combination with stepping over a function call or
4569 not.
4570 * gdb.threads/next-bp-other-thread.c: New file.
4571 * gdb.threads/next-bp-other-thread.exp: New file.
4572
d3d4baed
PA
45732014-10-29 Pedro Alves <palves@redhat.com>
4574
4575 PR python/17372
4576 * gdb.python/python.exp: Test a multi-line command that spawns
4577 interactive Python.
4578 * gdb.base/multi-line-starts-subshell.exp: New file.
4579
563e8d85
YQ
45802014-10-29 Yao Qi <yao@codesourcery.com>
4581
4582 * gdb.base/fileio.exp: Make directories on host.
4583
0ea4d52e
YQ
45842014-10-29 Yao Qi <yao@codesourcery.com>
4585
4586 * gdb.base/fileio.c (test_write): Close the file.
4587
7f5ef605
PA
45882014-10-28 Pedro Alves <palves@redhat.com>
4589
4590 PR gdb/12623
4591 * gdb.base/sigstep.c (no_handler): New global.
4592 (main): If 'no_handler is true, set the signal handlers to
4593 SIG_IGN.
4594 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4595 with_sw_watch and no_handler parameters. Handle them.
4596 (top level) <stepping over handler when stopped at a breakpoint
4597 test>: Add a test axis for testing with a software watchpoint, and
4598 another for testing with the signal handler set to SIG_IGN.
4599 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4600 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4601
abbdbd03
PA
46022014-10-28 Pedro Alves <palves@redhat.com>
4603
4604 PR gdb/17511
4605 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4606 * gdb.base/sigstep.exp (other_handler_location): New global.
4607 (advance): Support stepping into the signal handler, and running
4608 commands while in the handler.
4609 (in_handler_map): New global.
4610 (top level): In the advance test, add combinations for getting
4611 into the handler with stepping commands, and for running commands
4612 in the handler. Add comment descripting the advancei tests.
4613
1df4399f
PA
46142014-10-28 Pedro Alves <palves@redhat.com>
4615
4616 * gdb.base/sigstep.exp: Use build_executable instead of
4617 prepare_for_testing.
4618 (top level): Move code that starts GDB, runs to main and creates a
4619 display to ...
4620 (restart): ... this new procedure.
4621 (top level): Move backtrace from signal handler test to ...
4622 (validate_backtrace): ... this new procedure.
4623 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4624 with_test_prefix. Always restart GDB.
4625 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4626 with_test_prefix. Always restart GDB. No need to delete
4627 breakpoints after the test.
4628 (test_skip_handler): Remove prefix parameter.
4629 (skip_over_handler, breakpoint_to_handler)
4630 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4631 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4632 restart GDB. No need to delete breakpoints after the test.
4633 (top level): Use foreach to call the test procedures with
4634 different commands.
4635
a5b6e449
PA
46362014-10-28 Pedro Alves <palves@redhat.com>
4637
4638 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4639 instead of GNATS numbers.
4640 * gdb.base/sigbpt.exp: Likewise.
4641 * gdb.base/siginfo.exp: Likewise.
4642 * gdb.base/sigstep.exp: Likewise.
4643
e5f8a7cc
PA
46442014-10-27 Pedro Alves <palves@redhat.com>
4645
4646 * gdb.base/sigstep.c (dummy): New global.
4647 (main): Issue a couple writes to the new global.
4648 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4649 procedures.
4650 (skip_over_handler): Use test_skip_handler.
4651 (top level): Call skip_over_handler for stepi and nexti too.
4652 (breakpoint_over_handler): Use test_skip_handler.
4653 (top level): Call breakpoint_over_handler for stepi and nexti too.
4654
763905a3
YQ
46552014-10-27 Yao Qi <yao@codesourcery.com>
4656
4657 * gdb.trace/tfile.c (adjust_function_address)
4658 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4659 function descriptor.
4660
6f259a23
DB
46612014-10-24 Don Breazeal <donb@codesourcery.com>
4662
4663 * gdb.base/foll-fork.exp (test_follow_fork,
4664 catch_fork_child_follow): Check for updated fork messages emitted
4665 from infrun.c.
4666 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4667 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4668 vfork_and_exec_child_follow_through_step): Check for updated vfork
4669 messages emitted from infrun.c.
4670
09dd9a69
PA
46712014-10-24 Pedro Alves <palves@redhat.com>
4672
4673 * gdb.base/corefile.exp: Remove references to ultrix.
4674 * gdb.base/interrupt.exp: Likewise.
4675 * gdb.base/whatis.exp: Likewise.
4676 * gdb.gdb/selftest.exp: Likewise.
4677 * gdb.threads/manythreads.exp: Likewise.
4678 * gdb.threads/print-threads.exp: Likewise.
4679 * gdb.threads/pthreads.exp:: Likewise.
4680 * gdb.threads/schedlock.exp: Likewise.
4681
3433cfa5
SC
46822014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4683
4684 * gdb.cp/non-trivial-retval.cc: Add a test case.
4685 * gdb.cp/non-trivial-retval.exp: Add a test.
4686
092f880b
YQ
46872014-10-20 Yao Qi <yao@codesourcery.com>
4688
4689 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4690 * gdb.python/py-objfile-script-gdb.py: New file.
4691 * gdb.python/py-objfile-script.exp: Update reference to
4692 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4693 of remote_download. Remove the dest file.
4694
acbdb7f3
YQ
46952014-10-20 Yao Qi <yao@codesourcery.com>
4696
4697 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4698 * gdb.base/step-line.exp: Likewise.
4699 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4700 * gdb.dwarf2/dw2-basic.exp: Likewise.
4701 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4702 * gdb.dwarf2/dw2-filename.exp: Likewise.
4703 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4704 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4705 * gdb.dwarf2/dw2-producer.exp: Likewise.
4706 * gdb.dwarf2/mac-fileno.exp: Likewise.
4707 * gdb.python/py-frame-args.exp: Likewise.
4708 * gdb.python/py-framefilter.exp: Likewise.
4709 * gdb.python/py-mi.exp: Likewise.
4710 * gdb.python/py-objfile-script.exp: Likewise
4711 * gdb.python/py-pp-integral.exp: Likewise.
4712 * gdb.python/py-pp-re-notag.exp: Likewise.
4713 * gdb.python/py-prettyprint.exp: Likewise.
4714 * gdb.python/py-section-script.exp: Likewise.
4715 * gdb.python/py-typeprint.exp: Likewise.
4716 * gdb.python/py-xmethods.exp: Likewise.
4717 * gdb.stabs/weird.exp: Likewise.
4718 * gdb.xml/tdesc-regs.exp: Likewise.
4719
bd286a29
KCY
47202014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4721
4722 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4723 (out_cu): Use addr_len for the size of addresses.
4724 (out_line): Likewise. Size DW_LNE_set_address instruction
4725 according to addr_len.
4726 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4727 (FUNC): Add START_INSNS to definition.
4728
673dc4a0
YQ
47292014-10-18 Yao Qi <yao@codesourcery.com>
4730
4731 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4732 gdb_has_argv0 return true.
4733 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4734 check [target_info exists noargs], check [gdb_has_argv0]
4735 instead.
4736 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4737 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4738 procedures.
4739
4ffbba72
DE
47402014-10-17 Doug Evans <dje@google.com>
4741
4742 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4743 event.
4744 * gdb.python/py-events.py: Add clear_objfiles event.
4745
d096d8c1
DE
47462014-10-17 Doug Evans <dje@google.com>
4747
4748 * gdb.python/py-objfile.exp: Test progspace attribute.
4749
a80db015
LM
47502014-10-17 Luis Machado <lgustavo@codesourcery.com>
4751
4752 * gdb.guile/scm-breakpoint.exp: Do not assume any
4753 directory separators when matching source file paths.
4754 * gdb.python/py-breakpoint.exp: Likewise.
4755 * gdb.reverse/break-precsave.exp: Likewise.
4756 * gdb.reverse/break-reverse.exp: Likewise.
4757 * gdb.reverse/consecutive-precsave.exp: Likewise.
4758 * gdb.reverse/finish-precsave.exp: Likewise.
4759 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4760 * gdb.reverse/finish-reverse.exp: Likewise.
4761 * gdb.reverse/i386-precsave.exp: Likewise.
4762 * gdb.reverse/i387-env-reverse.exp: Likewise.
4763 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4764 * gdb.reverse/machinestate-precsave.exp: Likewise.
4765 * gdb.reverse/machinestate.exp: Likewise.
4766 * gdb.reverse/sigall-precsave.exp: Likewise.
4767 * gdb.reverse/solib-precsave.exp: Likewise.
4768 * gdb.reverse/step-precsave.exp: Likewise.
4769 * gdb.reverse/until-precsave.exp: Likewise.
4770 * gdb.reverse/watch-precsave.exp: Likewise.
4771 * gdb.reverse/watch-reverse.exp: Likewise.
4772
b22089ab
YQ
47732014-10-17 Yao Qi <yao@codesourcery.com>
4774
4775 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4776 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4777
6c4486e6
PA
47782014-10-17 Pedro Alves <palves@redhat.com>
4779
4780 PR gdb/17471
4781 * gdb.base/bg-execution-repeat.c: New file.
4782 * gdb.base/bg-execution-repeat.exp: New file.
4783
0ff33695
PA
47842014-10-17 Pedro Alves <palves@redhat.com>
4785
4786 PR gdb/17300
4787 * gdb.base/continue-all-already-running.c: New file.
4788 * gdb.base/continue-all-already-running.exp: New file.
4789
6fdebc3d
PA
47902014-10-17 Pedro Alves <palves@redhat.com>
4791
4792 PR gdb/17472
4793 * gdb.base/annota-input-while-running.c: New file.
4794 * gdb.base/annota-input-while-running.exp: New file.
4795
32a8097b
PA
47962014-10-17 Pedro Alves <palves@redhat.com>
4797
4798 * gdb.base/callfuncs.exp: emove references to osf.
4799 * gdb.base/sigall.exp: Likewise.
4800 * gdb.gdb/selftest.exp: Likewise.
4801 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4802 * gdb.mi/non-stop.c: Likewise.
4803 * gdb.mi/pthreads.c: Likewise.
4804 * gdb.reverse/sigall-precsave.exp: Likewise.
4805 * gdb.reverse/sigall-reverse.exp: Likewise.
4806 * gdb.threads/pthreads.c: Likewise.
4807 * gdb.threads/pthreads.exp: Likewise.
4808
7a3517ff
YQ
48092014-10-17 Yao Qi <yao@codesourcery.com>
4810
4811 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4812 check 'target_info exists noargs'.
4813 (test_command_prompt_position): Likewise.
4814 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4815 Remove "set args".
4816 (progvar_simple_while_test): Likewise.
4817 (progvar_complex_if_while_test): Likewise.
4818 (if_while_breakpoint_command_test): Likewise.
4819 (infrun_breakpoint_command_test): Likewise.
4820 (breakpoint_command_test): Likewise.
4821 (watchpoint_command_test): Likewise.
4822 (bp_deleted_in_command_test): Likewise.
4823 (temporary_breakpoint_commands): Likewise.
4824
bb99c472
YQ
48252014-10-16 Yao Qi <yao@codesourcery.com>
4826
4827 * gdb.base/remotetimeout.exp: Remove noargs checking.
4828
7c16b83e
PA
48292014-10-15 Pedro Alves <palves@redhat.com>
4830
4831 PR breakpoints/9649
4832 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4833 * gdb.base/breakpoint-in-ro-region.exp
4834 (probe_target_hardware_step): New procedure.
4835 (top level): Probe hardware stepping and hardware breakpoint
4836 support. Test stepping through a read-only region, with both
4837 "breakpoint auto-hw" on and off and both "always-inserted" on and
4838 off.
4839
35a49624
IB
48402014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4841
4842 * gdb.dlang/demangle.exp: Update for demangling changes.
4843
2d1c107c
SC
48442014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4845
4846 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4847 * gdb.cp/non-trivial-retval.exp: Add new tests.
4848
778811d5
SC
48492014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4850
4851 PR c++/13403
4852 PR c++/15154
4853 * gdb.cp/non-trivial-retval.cc: New file.
4854 * gdb.cp/non-trivial-retval.exp: New file.
4855
10c5f0a8
YQ
48562014-10-15 Yao Qi <yao@codesourcery.com>
4857
4858 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4859 remote host.
4860
65d7b369
YQ
48612014-10-15 Yao Qi <yao@codesourcery.com>
4862
4863 * gdb.python/py-symbol.exp: Match file base name if host is
4864 remote, otherwise match file name with dir name.
4865 * gdb.python/py-symtab.exp: Likewise.
4866 * gdb.python/python.exp: Likewise.
4867
46dc1394
YQ
48682014-10-15 Yao Qi <yao@codesourcery.com>
4869
4870 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4871 pattern.
4872 * gdb.python/py-symtab.exp: Likewise.
4873 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4874 locationn.
4875
c40cc657
JB
48762014-10-14 Joel Brobecker <brobecker@adacore.com>
4877
4878 * gdb.ada/addr_arith: New testcase.
4879
2abf49e1
MR
48802014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4881
4882 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4883 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4884 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4885 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4886
f7088df3
SDJ
48872014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4888
4889 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4890 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4891 * gdb.arch/stap-eval-lang-ada.exp: New file.
4892
4dc06805
YQ
48932014-10-14 Yao Qi <yao@codesourcery.com>
4894
4895 * gdb.mi/mi-var-child.c (nothing1): New function.
4896 (nothing2): New function.
4897 (do_children_tests): Set function pointers by nothing1 and
4898 nothing2.
4899 * gdb.mi/mi-var-child.exp: Step over new added statements.
4900 Update test to match the new output.
4901 * gdb.mi/var-cmd.c (nothing1): New function.
4902 (nothing2): New function.
4903 (do_children_tests): Set function pointers by nothing1 and
4904 nothing2.
4905 * gdb.mi/mi-var-display.exp: Update test to match output.
4906 Step to the line specified by $line_dct_nothing.
4907 Increase the number of lines to step.
4908
46a93de2
YQ
49092014-10-14 Yao Qi <yao@codesourcery.com>
4910
4911 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4912 tests.
4913 * gdb.mi/mi2-var-child.exp: Likewise.
4914
14ea52ee
DE
49152014-10-13 Doug Evans <dje@google.com>
4916
4917 * gdb.python/py-objfile.exp: Change name of file name test.
4918
e5c6e92b
DE
49192014-10-13 Doug Evans <dje@google.com>
4920
4921 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4922 from the start of the CU.
4923
c780cc2f
JK
49242014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4925 Yao Qi <yao@codesourcery.com>
4926
4927 Fix "save breakpoints" for "catch" command.
4928 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4929 Remove -nonewline. Match also the added "main" line.
4930
99894e11
JK
49312014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4932
4933 Fix "save breakpoints" for "disable $bpnum" command.
4934 * gdb.base/save-bp.c (main): Add label.
4935 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4936
6e1ac5a3
JK
49372014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4938
4939 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4940
754dd2b0
YQ
49412014-10-11 Yao Qi <yao@codesourcery.com>
4942
4943 * gdb.server/server-kill.exp: Execute command
4944 "set remote trace-status-packet on" before "tstatus".
4945
f90183d7
YQ
49462014-10-11 Yao Qi <yao@codesourcery.com>
4947
4948 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4949 (main): Call getppid.
4950 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4951 and continue to it. Read variable "server_pid".
4952
bf40a607
YQ
49532014-10-11 Yao Qi <yao@codesourcery.com>
4954
4955 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
4956
052ca370
YQ
49572014-10-11 Yao Qi <yao@codesourcery.com>
4958
4959 * gdb.threads/thread-find.exp: Don't execute command
4960 "info threads".
4961 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
4962 * gdb.threads/linux-dp.exp: Don't check the condition
4963 $threads_created equals to zero.
4964
3831839c
PA
49652014-10-10 Pedro Alves <palves@redhat.com>
4966
4967 * gdb.base/bigcore.exp: Remove references to IRIX.
4968 * gdb.base/funcargs.exp: Likewise.
4969 * gdb.base/interrupt.exp: Likewise.
4970 * gdb.base/mips_pro.exp: Likewise.
4971 * gdb.base/nodebug.exp: Likewise.
4972 * gdb.base/setvar.exp: Likewise.
4973 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
4974
8b9a549d
PA
49752014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4976 Pedro Alves <palves@redhat.com>
4977
4978 PR symtab/14466
4979 * gdb.base/vdso-warning.c: New file.
4980 * gdb.base/vdso-warning.exp: New file.
4981
d48ba5e8
DE
49822014-10-02 Doug Evans <dje@google.com>
4983
4984 * gdb.base/structs.c (main): Don't run forever.
4985
2278c276
PA
49862014-10-02 Pedro Alves <palves@redhat.com>
4987
4988 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4989 (top level) <stop threads 1, stop threads 2>: Use it.
4990
b57bacec
PA
49912014-10-02 Pedro Alves <palves@redhat.com>
4992
4993 * gdb.threads/break-while-running.exp (test): Add new
4994 'update_thread_list' argument. Skip "info threads" if false.
4995 (top level): Add new 'update_thread_list' axis.
4996
13fd3ff3
PA
49972014-10-02 Pedro Alves <palves@redhat.com>
4998
4999 PR breakpoints/17431
5000 * gdb.base/execl-update-breakpoints.c: New file.
5001 * gdb.base/execl-update-breakpoints.exp: New file.
5002
0fec99e8
PA
50032014-10-01 Pedro Alves <palves@redhat.com>
5004
5005 * gdb.base/breakpoint-in-ro-region.c: New file.
5006 * gdb.base/breakpoint-in-ro-region.exp: New file.
5007
2ddf4301
SM
50082014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5009
5010 * gdb.mi/mi-exit-code.exp: New file.
5011 * gdb.mi/mi-exit-code.c: New file.
5012
6a5f3f43
YQ
50132014-09-30 Yao Qi <yao@codesourcery.com>
5014
5015 * lib/prelink-support.exp (build_executable_own_libs): Error if
5016 the target isn't native.
5017
345bcc73
YQ
50182014-09-30 Yao Qi <yao@codesourcery.com>
5019
5020 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5021 false.
5022
a25a5a45
PA
50232014-09-22 Pedro Alves <palves@redhat.com>
5024
5025 * gdb.threads/break-while-running.exp: New file.
5026 * gdb.threads/break-while-running.c: New file.
5027
00ba3162
YQ
50282014-09-19 Yao Qi <yao@codesourcery.com>
5029
5030 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5031 Invoke test. Restart GDB with --readnow and invoke test again.
5032
c3b7b696
YQ
50332014-09-19 Yao Qi <yao@codesourcery.com>
5034
5035 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5036 proc set_breakpoint_on_gcd_function. Invoke
5037 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5038 invoke set_breakpoint_on_gcd_function again.
5039
2b4fd423
DE
50402014-09-18 Doug Evans <dje@google.com>
5041
5042 * gdb.dwarf2/symtab-producer.exp: New file.
5043
a5947601
SDJ
50442014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5045
5046 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5047 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5048 * gdb.base/global-var-nested-by-dso.c: Likewise.
5049 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5050
91c19059
SDJ
50512014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5052 Pedro Alves <palves@redhat.com>
5053
5054 * gdb.base/watch-bitfields.exp: Pass string other than test file
5055 name to prepare_for_testing.
5056 (watch): New procedure.
5057 (expect_watchpoint): Use with_test_prefix.
5058 (top level): Factor out tests to ...
5059 (test_watch_location, test_regular_watch): ... these new
5060 procedures, and use with_test_prefix and gdb_continue_to_end.
5061
bb9d5f81
PP
50622014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5063
5064 PR breakpoints/12526
5065 * gdb.base/watch-bitfields.exp: New file.
5066 * gdb.base/watch-bitfields.c: New file.
5067
635856f5
PA
50682014-09-16 Pedro Alves <palves@redhat.com>
5069
5070 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5071 software and hardware addresses, not software address against
5072 itself.
5073
7280ceea
PA
50742014-09-16 Pedro Alves <palves@redhat.com>
5075
5076 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5077 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5078
428b16bd
PA
50792014-09-16 Pedro Alves <palves@redhat.com>
5080
5081 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5082 files.
5083 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5084 "*-*-vxworks*" throughout.
5085 * gdb.base/break.exp: Likewise.
5086 * gdb.base/default.exp: Likewise.
5087 * gdb.base/scope.exp: Likewise.
5088 * gdb.base/sepdebug.exp: Likewise.
5089 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5090 throughout.
5091 * gdb.base/run.c: Likewise.
5092 * gdb.base/sepdebug.c: Likewise.
5093 * gdb.hp/gdb.aCC/run.c: Likewise.
5094 * gdb.reverse/until-reverse.c: Likewise.
5095 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5096
666d413c
YQ
50972014-09-16 Yao Qi <yao@codesourcery.com>
5098
5099 * boards/local-remote-host-native.exp: New file.
5100
57cbd724
DE
51012014-09-14 Doug Evans <xdje42@gmail.com>
5102
5103 * gdb.threads/queue-signal.c (thread_count): New variable.
5104 (thread_count_mutex, thread_count_condvar): New variables.
5105 (incr_thread_count, wait_all_threads_running): New functions.
5106 (main): Wait for all threads to be in their thread functions.
5107
81219e53
DE
51082014-09-13 Doug Evans <xdje42@gmail.com>
5109
5110 * gdb.threads/queue-signal.c: New file.
5111 * gdb.threads/queue-signal.exp: New file.
5112
3714cea7
DE
51132014-09-13 Doug Evans <xdje42@gmail.com>
5114
5115 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5116 be consistent with what default_gdb_init uses.
5117 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5118 the plain text of the prompt. Add some logging printfs.
5119 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5120
fa43b1d7
PA
51212014-09-12 Pedro Alves <palves@redhat.com>
5122
5123 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5124 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5125 * gdb.arch/i386-size-overlap.exp: Likewise.
5126 * gdb.arch/i386-size.exp: Likewise.
5127 * gdb.arch/i386-unwind.exp: Likewise.
5128 * gdb.base/a2-run.exp: Likewise.
5129 * gdb.base/break.exp: Likewise.
5130 * gdb.base/charset.exp: Likewise.
5131 * gdb.base/chng-syms.exp: Likewise.
5132 * gdb.base/commands.exp: Likewise.
5133 * gdb.base/dbx.exp: Likewise.
5134 * gdb.base/find.exp: Likewise.
5135 * gdb.base/funcargs.exp: Likewise.
5136 * gdb.base/jit-simple.exp: Likewise.
5137 * gdb.base/reread.exp: Likewise.
5138 * gdb.base/sepdebug.exp: Likewise.
5139 * gdb.base/step-bt.exp: Likewise.
5140 * gdb.cp/mb-inline.exp: Likewise.
5141 * gdb.cp/mb-templates.exp: Likewise.
5142 * gdb.objc/basicclass.exp: Likewise.
5143 * gdb.threads/killed.exp: Likewise.
5144
9d9bf2df
EBM
51452014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5146
5147 PR tdep/17379
5148 * gdb.arch/powerpc-stackless.S: New file.
5149 * gdb.arch/powerpc-stackless.exp: New file.
5150
1cf2f1b0
JK
51512014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5152
5153 * gdb.base/attach.c: Include unistd.h.
5154 (main): Call alarm. Add label postloop.
5155 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5156 gdb_breakpoint, gdb_continue_to_breakpoint.
5157 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5158
98880d46
PA
51592014-09-11 Pedro Alves <palves@redhat.com>
5160
5161 PR gdb/17347
5162 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5163 * gdb.base/attach.exp (test_command_line_attach_run): New
5164 procedure.
5165 (top level): Call it.
5166
4c92ff2c
PA
51672014-09-11 Pedro Alves <palves@redhat.com>
5168
5169 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5170 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5171 (do_command_attach_tests): Use spawn_wait_for_attach.
5172 * gdb.base/solib-overlap.exp: Likewise.
5173 * gdb.multi/multi-attach.exp: Likewise.
5174 * gdb.python/py-prompt.exp: Likewise.
5175 * gdb.python/py-sync-interp.exp: Likewise.
5176 * gdb.server/ext-attach.exp: Likewise.
5177
3adc1a7d
GKB
51782014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5179
5180 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5181 command in testcase. Simplify testcase.
5182
96334934
JB
51832014-09-10 Joel Brobecker <brobecker@adacore.com>
5184
5185 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5186
eb479039
JB
51872014-09-10 Joel Brobecker <brobecker@adacore.com>
5188
5189 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5190
deede10c
JB
51912014-09-10 Joel Brobecker <brobecker@adacore.com>
5192
5193 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5194
7828a5f5
JB
51952014-09-10 Joel Brobecker <brobecker@adacore.com>
5196
5197 * gdb.dwarf2/dynarr-ptr.c: New file.
5198 * gdb.dwarf2/dynarr-ptr.exp: New file.
5199
33aeebcf
MR
52002014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5201
5202 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5203 of 30 rather than hardcoding 120 for a slow test case. Take the
5204 `gdb,timeout' target setting into account for this calculation.
5205 Don't extend the timeout for the test cases that don't need it.
5206
7b415901
MR
52072014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5208
5209 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5210 a factor of 2 for a slow test case. Take the `gdb,timeout'
5211 target setting into account for this calculation.
5212 * gdb.reverse/until-precsave.exp: Increase the timeout by
5213 a factor of 15 and 3 respectively rather than adding 120
5214 for a pair of slow test cases. Take the `gdb,timeout'
5215 target setting into account for this calculation.
5216
4a40f85a
MR
52172014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5218
5219 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5220 timeout, don't pass one down to gdb_expect.
5221 (gdb_expect): Rework timeout selection.
5222
09635af7
MR
52232014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5224
5225 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5226 exception on timeout.
5227 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5228 (gdbserver_start_extended): Catch any `gdbserver_start' error
5229 exceptions.
5230 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5231 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5232 `gdbserver_gdb_load' error exceptions.
5233
2bdd10b7
MR
52342014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5235
5236 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5237 120 on waiting for the TCP socket to open.
5238
316935f0
DE
52392014-09-09 Doug Evans <xdje42@gmail.com>
5240
5241 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5242 _caller_matches, _any_caller_is, _any_caller_matches.
5243
83740597
DE
52442014-09-09 Doug Evans <xdje42@gmail.com>
5245
5246 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5247
4c122fc3
YQ
52482014-09-09 Yao Qi <yao@codesourcery.com>
5249
5250 * gdb.mi/mi-var-display.exp: Set print symbol off.
5251
a9f116cb
GKB
52522014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5253
5254 PR gdb/17035
5255 * gdb.base/commands.exp: Add tests to verify user-defined
5256 commands with empty bodies.
5257 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5258 python commands in `show user command`.
5259 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5260 scheme commands in `show user command`.
5261
c75bd3a2
JK
52622014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5263
5264 PR python/17355
5265 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5266 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5267 * gdb.python/py-framefilter-invalidarg.exp: New file.
5268 * gdb.python/py-framefilter-invalidarg.py: New file.
5269
faa42425
DE
52702014-09-06 Doug Evans <xdje42@gmail.com>
5271
5272 PR 15276
5273 * gdb.python/py-caller-is.c: New file.
5274 * gdb.python/py-caller-is.exp: New file.
5275
474ca4f6
SDJ
52762014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5277
5278 PR gdb/17235
5279 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5280 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5281
eb0b0463
SDJ
52822014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5283
5284 PR fortran/17237
5285 * gdb.fortran/print-formatted.exp: New file.
5286 * gdb.fortran/print-formatted.f90: Likewise.
5287
5f3b99cf
SS
52882014-09-03 Sasha Smundak <asmundak@google.com>
5289
5290 * gdb.python/py-frame.exp: Test Frame.read_register.
5291
7d793aa9
SDJ
52922014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5293
5294 PR python/16699
5295 * gdb.python/py-completion.exp: New file.
5296 * gdb.python/py-completion.py: Likewise.
5297
fb0576e9
DE
52982014-08-28 Doug Evans <dje@google.com>
5299
5300 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5301 eax,etc. are live with values set by gdb and thus the compiler can't
5302 use them.
5303 * gdb.arch/i386-pseudo.c (main): Ditto.
5304
ee92b0dd
DE
53052014-08-27 Doug Evans <dje@google.com>
5306
5307 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5308
6649db35
DE
53092014-08-25 Doug Evans <dje@google.com>
5310
5311 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5312 (main): Ditto.
5313
564b7600
DE
53142014-08-25 Doug Evans <dje@google.com>
5315
5316 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5317
3881fb67
YQ
53182014-08-24 Yao Qi <yao@codesourcery.com>
5319
5320 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5321 symbol off.
5322 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5323
a05a36a5
DE
53242014-08-22 Doug Evans <dje@google.com>
5325
5326 PR 17276
5327 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5328 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5329 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5330
7c343b48
YQ
53312014-08-22 Yao Qi <yao@codesourcery.com>
5332
5333 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5334 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5335 * gdb.python/python.exp: Likewise. Use .py file on the host
5336 instead of the build.
5337
22fd09ae
JK
53382014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5339
5340 * gdb.threads/gcore-stale-thread.c: New file.
5341 * gdb.threads/gcore-stale-thread.exp: New file.
5342
a8454a7c
PA
53432014-08-21 Pedro Alves <palves@redhat.com>
5344
5345 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5346 * gdb.base/gcore-relro-pie.exp: Likewise.
5347 * gdb.base/gcore-relro.exp: Likewise.
5348 * gdb.base/gcore.exp: Likewise.
5349 * gdb.base/print-symbol-loading.exp: Likewise.
5350 * gdb.threads/gcore-thread.exp: Likewise.
5351 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5352
2a31c623
PA
53532014-08-20 Pedro Alves <palves@redhat.com>
5354 Jan Kratochvil <jan.kratochvil@redhat.com>
5355
5356 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5357 configure.
5358 (EXPECT): Handle READ1 being set.
5359 (all): Depend on EXTRA_RULES.
5360 (check-read1, expect-read1, read1.so, read1): New rules.
5361 * README (Testsuite Parameters): Document the READ1 make variable.
5362 (Race detection): New section.
5363 * configure: Regenerate.
5364 * configure.ac: If build==host==target, and running under a
5365 GNU/glibc system, add read1 to the extra Makefile rules.
5366 (EXTRA_RULES): AC_SUBST it.
5367 * lib/read1.c: New file.
5368
d36430db
JB
53692014-08-20 Joel Brobecker <brobecker@adacore.com>
5370
5371 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5372 the handling of variables declared as a typedef to an array
5373 which a DW_AT_data_location attribute.
5374
9a0dc9e3
PA
53752014-08-19 Andrew Burgess <aburgess@broadcom.com>
5376 Pedro Alves <palves@redhat.com>
5377
5378 PR symtab/14604
5379 PR symtab/14605
5380 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5381 gdb_test.
5382
0718a8da
PA
53832014-08-19 Pedro Alves <palves@redhat.com>
5384
5385 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5386
13b448cd
YQ
53872014-08-19 Yao Qi <yao@codesourcery.com>
5388
5389 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5390 right line.
5391
1cbf5077
DB
53922014-08-18 David Blaikie <dblaikie@gmail.com>
5393
5394 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5395
bf0fae19
JB
53962014-08-18 Joel Brobecker <brobecker@adacore.com>
5397
5398 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5399 attribute in array range.
5400
3c8c5dcc
JB
54012014-08-18 Joel Brobecker <brobecker@adacore.com>
5402
5403 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5404
e66d4446
SC
54052014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5406
5407 PR c++/17132
5408 * gdb.cp/pr17132.cc: New file.
5409 * gdb.cp/pr17132.exp: New file.
5410
940df408
SC
54112014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5412
5413 * gdb.python/py-xmethods.py (A_getarrayind)
5414 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5415 Use 'print' with function call syntax.
5416 (E_method_matcher.match): Fix tab vs space indentation mixup.
5417
ebcc6c3a
YQ
54182014-08-15 Yao Qi <yao@codesourcery.com>
5419
5420 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5421 false.
5422
775e0f04
YQ
54232014-08-15 Yao Qi <yao@codesourcery.com>
5424
5425 * gdb.cp/casts.exp: Set print symbol off.
5426 * gdb.cp/class2.exp: Likewise.
5427 * gdb.cp/overload.exp: Likewise.
5428 * gdb.cp/templates.exp: Likewise.
5429
d769e349
DE
54302014-08-11 Doug Evans <dje@google.com>
5431
5432 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5433 (test_load_shlib): Update.
5434
20c6f1e1
YQ
54352014-08-09 Yao Qi <yao@codesourcery.com>
5436
5437 * gdb.base/display.exp: Invoke is_address_zero_readable.
5438 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5439 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5440 * gdb.base/hbreak-unmapped.exp: Return if
5441 is_address_zero_readable returns true.
5442 * gdb.base/signest.exp: Likewise.
5443 * gdb.base/signull.exp: Likewise.
5444 * gdb.base/sigbpt.exp: Likewise.
5445 * gdb.guile/scm-disasm.exp: Do the test if
5446 is_address_zero_readable returns false.
5447 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5448 * gdb.python/py-arch.exp: Likewise.
5449 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5450 * lib/gdb.exp (is_address_zero_readable): New proc.
5451
5792e8e3
YQ
54522014-08-09 Yao Qi <yao@codesourcery.com>
5453
5454 PR testsuite/13443
5455 * gdb.mi/mi-var-display.exp: Make test messages unique.
5456
3cecbbbe
TT
54572014-08-04 Tom Tromey <tromey@redhat.com>
5458
5459 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5460 target 0".
5461
00b51ff5
TT
54622014-08-04 Tom Tromey <tromey@redhat.com>
5463
5464 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5465 "target_resume".
5466
6908c509
JB
54672014-08-01 Joel Brobecker <brobecker@adacore.com>
5468
5469 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5470 inner_vla_struct_object_size.
5471 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5472 as xfail.
5473
cc6563d2
PA
54742014-07-30 Pedro Alves <palves@redhat.com>
5475
5476 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5477 comment.
5478
7e09a223
YQ
54792014-07-29 Yao Qi <yao@codesourcery.com>
5480
5481 PR gdb/17206
5482 * gdb.base/until-nodebug.exp: New.
5483
7ebdbe92
DE
54842014-07-28 Doug Evans <xdje42@gmail.com>
5485
5486 PR guile/17203
5487 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5488 previously existing parameter, and previously ambiguously spelled
5489 parameter.
5490
fdb1adc6
WN
54912014-07-28 Will Newton <will.newton@linaro.org>
5492
5493 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5494
186fcde0
DE
54952014-07-26 Ludovic Courtès <ludo@gnu.org>
5496 Doug Evans <xdje42@gmail.com>
5497
5498 PR guile/17146
5499 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5500
70509625
PA
55012014-07-25 Pedro Alves <palves@redhat.com>
5502
5503 * gdb.threads/signal-command-handle-nopass.c: New file.
5504 * gdb.threads/signal-command-handle-nopass.exp: New file.
5505 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5506 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5507 * gdb.threads/signal-delivered-right-thread.c: New file.
5508 * gdb.threads/signal-delivered-right-thread.exp: New file.
5509
c3f814a1
PA
55102014-07-25 Pedro Alves <palves@redhat.com>
5511
5512 * gdb.base/double-prompt-target-event-error.exp
5513 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5514 match.
5515 (cancel_pagination_in_target_event): Rework double prompt
5516 detection.
5517 * gdb.base/paginate-after-ctrl-c-running.exp
5518 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5519 <return>' match.
5520 * gdb.base/paginate-bg-execution.exp
5521 (test_bg_execution_pagination_return)
5522 (test_bg_execution_pagination_cancel): Remove '-notransfer
5523 <return>' matches.
5524 * gdb.base/paginate-execution-startup.exp
5525 (test_fg_execution_pagination_return)
5526 (test_fg_execution_pagination_cancel): Remove '-notransfer
5527 <return>' matches.
5528 * gdb.base/paginate-inferior-exit.exp
5529 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5530 match.
5531 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5532 * lib/gdb.exp (pagination_prompt): Run text through
5533 string_to_regexp.
5534 (gdb_test_multiple): Match $pagination_prompt instead of
5535 "<return>".
5536 (string_to_regexp): Move to lib/gdb-utils.exp.
5537
e214cf6c
JK
55382014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5539
5540 * gdb.arch/amd64-entry-value-paramref.S: New file.
5541 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5542 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5543 * gdb.arch/amd64-optimout-repeat.S: New file.
5544 * gdb.arch/amd64-optimout-repeat.c: New file.
5545 * gdb.arch/amd64-optimout-repeat.exp: New file.
5546
17d0c5c8
JK
55472014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5548
5549 PR gdb/17170
5550 * gdb.base/statistics.exp: New file.
5551
b8b8facf
DE
55522014-07-17 Doug Evans <dje@google.com>
5553
74b49205 5554 PR gdb/17170
b8b8facf
DE
5555 * gdb.base/maint.exp: Update testing of per-command stats.
5556
1b5d0ab3
PA
55572014-07-16 Pedro Alves <palves@redhat.com>
5558
5559 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5560 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5561 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5562 (tfile_write_buf): New functions.
5563 (add_memory_block): Rewrite using the above.
5564 (adjust_function_address): New function.
5565 (FUNCTION_ADDRESS): New macro.
5566 (write_basic_trace_file): Remove short_x local, and use
5567 tfile_write_16. Change type of func_addr local to unsigned long
5568 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5569 here. Cast argument of add_memory_block to char pointer.
5570 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5571 (main): Remove parameters.
5572 * gdb.trace/tfile.exp: Remove nowarnings.
5573
4d974e88
SM
55742014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5575
5576 * gdb.base/debug-expr.exp: Test string evaluation with
5577 "debug expression" on.
5578
41e99568
PA
55792014-07-15 Pedro Alves <palves@redhat.com>
5580
5581 * gdb.base/reread.exp: Use clean_restart.
5582
487d9753
PL
55832014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5584
5585 * gdb.arch/avr-flash-qualifer.c: New.
5586 * gdb.arch/avr-flash-qualifer.exp: New.
5587
cc1c52ad
PA
55882014-07-14 Pedro Alves <palves@redhat.com>
5589
5590 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5591 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5592
1e973570
PA
55932014-07-14 Pedro Alves <palves@redhat.com>
5594
5595 * gdb.base/double-prompt-target-event-error.c: New file.
5596 * gdb.base/double-prompt-target-event-error.exp: New file.
5597
93d6eb10
PA
55982014-07-14 Pedro Alves <palves@redhat.com>
5599
5600 PR gdb/17072
5601 * gdb.base/paginate-inferior-exit.c: New file.
5602 * gdb.base/paginate-inferior-exit.exp: New file.
5603
0017922d
PA
56042014-07-14 Pedro Alves <palves@redhat.com>
5605
5606 PR gdb/17072
5607 * gdb.base/paginate-bg-execution.c: New file.
5608 * gdb.base/paginate-bg-execution.exp: New file.
5609
94696ad3
PA
56102014-07-14 Pedro Alves <palves@redhat.com>
5611
5612 PR gdb/17072
5613 * gdb.base/paginate-execution-startup.c: New file.
5614 * gdb.base/paginate-execution-startup.exp: New file.
5615 * lib/gdb.exp (pagination_prompt): New global.
5616 (default_gdb_spawn): New procedure, factored out from
5617 default_gdb_spawn.
5618 (default_gdb_start): Adjust to call default_gdb_spawn.
5619 (gdb_spawn): New procedure.
5620
bd293940
PA
56212014-07-14 Pedro Alves <palves@redhat.com>
5622
5623 * lib/gdb.exp (gdb_assert): New procedure.
5624 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5625
c933f875
PA
56262014-07-14 Pedro Alves <palves@redhat.com>
5627
5628 * gdb.base/execution-termios.c: New file.
5629 * gdb.base/execution-termios.exp: New file.
5630
d98b7a16
TT
56312014-07-14 Tom Tromey <tromey@redhat.com>
5632
5633 * gdb.cp/vla-cxx.cc: New file.
5634 * gdb.cp/vla-cxx.exp: New file.
5635
548740d6
TT
56362014-07-14 Tom Tromey <tromey@redhat.com>
5637
5638 * gdb.reverse/rerun-prec.c: New file.
5639 * gdb.reverse/rerun-prec.exp: New file.
5640
a25eb028
MR
56412014-07-12 Maciej W. Rozycki <macro@mips.com>
5642 Maciej W. Rozycki <macro@codesourcery.com>
5643
5644 * lib/gdb-utils.exp: New file.
5645 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5646 inline `gdb_init_command' processing.
5647 (gdb_start_cmd): Likewise.
5648 * lib/mi-support.exp (mi_run_cmd): Likewise.
5649 * README: Document `gdb_init_command' and `gdb_init_commands'.
5650
218c2655
JK
56512014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5652
5653 Fix false FAIL running under a very long directory name.
5654 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5655 and "set print elements 10000". Twice.
5656
5401fde3
YQ
56572014-07-11 Yao Qi <yao@codesourcery.com>
5658
5659 * gdb.base/exprs.exp: "set print symbol off".
5660
e76126e8
PA
56612014-07-11 Pedro Alves <palves@redhat.com>
5662
5663 * gdb.threads/kill.c: New file.
5664 * gdb.threads/kill.exp: New file.
5665
2d6f0de6
YQ
56662014-07-10 Yao Qi <yao@codesourcery.com>
5667
5668 * gdb.trace/tfile.c (write_basic_trace_file)
5669 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5670 address written to trace file.
5671
7180e04a
PA
56722014-07-09 Pedro Alves <palves@redhat.com>
5673
5674 * gdb.base/attach-wait-input.exp: New file.
5675 * gdb.base/attach-wait-input.c: New file.
5676
9a9a7608
AB
56772014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5678
5679 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5680 setting up test structures.
5681 (main): Call new test function.
5682 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5683 test function, continue into test function and walk test
5684 structures.
5685
161ac41e
YQ
56862014-07-02 Yao Qi <yao@codesourcery.com>
5687
5688 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5689 'bar_start' at the beginning of functions 'foo' and 'bar'
5690 respectively.
5691 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5692 instead of 'foo' and 'bar'.
5693
1f267ae3
MM
56942014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5695
5696 * gdb.btrace/segv.exp: New.
5697 * gdb.btrace/segv.c: New.
5698
2b239efb
LM
56992014-07-02 Luis Machado <lgustavo@codesourcery.com>
5700
5701 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5702 instruction.
5703
cf363f18
MW
57042014-06-30 Mark Wielaard <mjw@redhat.com>
5705
5706 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5707 vulture, vilify, villar): New volatile array constants.
5708 (vindictive, vegetation): New const volatile array constants.
5709 * gdb.base/volatile.exp: Test volatile and const volatile array
5710 types.
5711
aebf9d24
AA
57122014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5713
5714 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5715 target lacks support for awatch, rwatch, or hbreak.
5716
b67a2c6f
YQ
57172014-06-27 Yao Qi <yao@codesourcery.com>
5718
5719 * gdb.multi/dummy-frame-restore.exp: New.
5720 * gdb.multi/dummy-frame-restore.c: New.
5721
aef92902
MM
57222014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5723
5724 * gdb.btrace/gcore.exp: New.
5725
8e9db26e
PA
57262014-06-23 Pedro Alves <palves@redhat.com>
5727
5728 * gdb.base/watchpoint-reuse-slot.c: New file.
5729 * gdb.base/watchpoint-reuse-slot.exp: New file.
5730
70afc5b7
SC
57312014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5732
5733 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5734 progspace's filename in 'info', 'enable' and 'disable' command
5735 tests.
5736
b972bd9c
JK
57372014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5738
5739 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5740 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5741 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5742
125f8a3d
GB
57432014-06-20 Gary Benson <gbenson@redhat.com>
5744
5745 * gdb.arch/i386-avx.exp: Fix include file location.
5746 * gdb.arch/i386-sse.exp: Likewise.
5747
3ed9baed
IB
57482014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5749
5750 * gdb.dlang/expression.exp: New file.
5751
034f788c
PA
57522014-06-19 Pedro Alves <palves@redhat.com>
5753
5754 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5755 out from ...
5756 (top level): ... here. Iterate running tests under different
5757 scheduler-locking settings.
5758
45371d0c
LM
57592014-06-18 Luis Machado <lgustavo@codesourcery.com>
5760
5761 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5762 to DW_FORM_addr and use non-zero addresses.
5763
5d376983
SC
57642014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5765
5766 PR gdb/17017
5767 * gdb.python/py-xmethods.cc: Add global function call counters and
5768 increment them in their respective functions. Remove "cout"
5769 statements.
5770 * gdb.python/py-xmethods.exp: Make tests check the global function
5771 call counters instead of depending on inferior IO.
5772
a1aa2221
LM
57732014-06-18 Don Breazeal <donb@codesourcery.com>
5774
5775 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5776 Deleted procedure.
5777 (explicit_fork_parent_follow): Deleted procedure.
5778 (explicit_fork_child_follow): Deleted procedure.
5779 (test_follow_fork): New procedure.
5780 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5781 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5782 procedure calls.
5783
0fc05997
YQ
57842014-06-17 Yao Qi <yao@codesourcery.com>
5785
5786 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5787 CP1252.
5788
70795c52
LM
57892014-06-17 Luis Machado <lgustavo@codesourcery.com>
5790
5791 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5792 Initialize ptr and S explicitly.
5793 (skip_type_update_when_not_use_rtti_test): Likewise.
5794
6be47f0c
KS
57952014-06-16 Keith Seitz <keiths@redhat.com>
5796
5797 PR mi/15863
5798 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5799 the inferior is started.
5800
d03de421
PA
58012014-06-16 Pedro Alves <palves@redhat.com>
5802
5803 * gdb.base/break-main-file-remove-fail.c: New file.
5804 * gdb.base/break-main-file-remove-fail.exp: New file.
5805 * gdb.base/break-unload-file.exp: Use build_executable instead of
5806 prepare_for_testing.
5807 (test_break): New parameter "initial_load". Handle it.
5808 (top level): Add initial_load cmdline/file axis.
5809
f9579b99
TT
58102014-06-12 Tom Tromey <tromey@redhat.com>
5811
5812 * gdb.base/completion.exp: Don't use directory name in test.
5813
3657956b
GB
58142014-06-09 Gary Benson <gbenson@redhat.com>
5815
5816 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5817 separate the always-available ANSI-standard signals from the
5818 signals that require checking.
5819 (main): Likewise.
5820 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5821 Likewise.
5822 (main): Likewise.
5823
4186eb54
KS
58242014-06-07 Keith Seitz <keiths@redhat.com>
5825
5826 Revert:
5827 PR c++/16253
5828 * gdb.cp/var-tag.cc: New file.
5829 * gdb.cp/var-tag.exp: New file.
5830 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5831 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5832 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5833 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5834
25326a28 58352014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
5836
5837 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5838
829155c9
PA
58392014-06-06 Pedro Alves <palves@redhat.com>
5840
5841 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5842 in target debug output instead of looking at RSP packets,
5843 disabling the test on any target that uses hardware stepping.
5844 Update comments.
5845
61c8d22e
PA
58462014-06-06 Pedro Alves <palves@redhat.com>
5847
5848 * gdb.base/break-unload-file.exp: Fix typo.
5849
d9a47287
YQ
58502014-06-06 Yao Qi <yao@codesourcery.com>
5851
5852 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5853 from "jit_function" to "^jit_function".
5854
e5e01dbf
YQ
58552014-06-06 Yao Qi <yao@codesourcery.com>
5856
5857 * gdb.base/async.c (foo): Add one statement.
5858 * gdb.base/async.exp: Get the next instruction address and
5859 match the output of "nexti" by instruction address. Match
5860 the hex address in the output of "finish".
5861
73ba372c
GB
58622014-06-06 Gary Benson <gbenson@redhat.com>
5863
5864 * gdb.base/call-signals.c: Remove preprocessor conditionals
5865 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5866 SIGSEGV and SIGTERM.
5867 * gdb.base/sigall.c: Likewise.
5868 * gdb.base/unwindonsignal.c: Likewise.
5869 * gdb.reverse/sigall-reverse.c: Likewise.
5870
831517df
YQ
58712014-06-06 Yao Qi <yao@codesourcery.com>
5872
5873 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5874 readable, skip the test.
5875
b8b91e98
YQ
58762014-06-06 Yao Qi <yao@codesourcery.com>
5877
5878 * gdb.threads/staticthreads.c (thread_function): Move the line
5879 setting breakpoint on forward.
5880 * gdb.threads/staticthreads.exp: Update comments.
5881
fb934770
LC
58822014-06-05 Ludovic Courtès <ludo@gnu.org>
5883
5884 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5885 "history-append! type error".
5886
6ef284bd
SM
58872014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5888
5889 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5890 erroneous dprintf expected input.
5891
a872e241
DE
58922014-06-04 Doug Evans <xdje42@gmail.com>
5893
5894 * gdb.guile/scm-generics.exp: Delete.
5895
16f691fb
DE
58962014-06-04 Doug Evans <xdje42@gmail.com>
5897
5898 * gdb.guile/scm-breakpoint.exp: Update.
5899 Add tests for breakpoint registration.
5900
012370f6
TT
59012014-06-04 Tom Tromey <tromey@redhat.com>
5902
5903 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5904 VLA-in-union.
5905 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5906 inner_vla_struct, vla_union types. Initialize objects of those
5907 types and compute their sizes.
5908
9f5a4cef
HZ
59092014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5910 Hui Zhu <hui@codesourcery.com>
5911
5912 * gdb.base/fileio.exp: Add test for shell not available as well as
5913 available.
5914 * gdb.base/fileio.c (test_system): Check for shell twice.
5915
90a45c4d
YQ
59162014-06-04 Yao Qi <yao@codesourcery.com>
5917
5918 * gdb.base/auto-connect-native-target.exp: Remove redundant
5919 space from the regexp pattern.
5920
70017e41
YQ
59212014-06-04 Yao Qi <yao@codesourcery.com>
5922
5923 * gdb.base/default.exp: Replace "child" with "native" in
5924 regexp pattern.
5925
883964a7
SC
59262014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5927
5928 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5929 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5930 * gdb.python/py-xmethods.py: Python script supporting the
5931 new testcase and tests.
5932
ef370185
JB
59332014-06-03 Joel Brobecker <brobecker@adacore.com>
5934 Pedro Alves <palves@redhat.com>
5935
5936 PR breakpoints/17000
5937 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5938 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5939
1e2ccb61
BM
59402014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5941
5942 * gdb.base/subst.exp: Add tests to verify partial path matching
5943 output.
5944
c6ec5ab2
PA
59452014-06-03 Pedro Alves <palves@redhat.com>
5946
5947 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5948 target that doesn't use software single-stepping.
5949
835c559f
PA
59502014-06-03 Pedro Alves <palves@redhat.com>
5951
5952 PR breakpoints/17000
5953 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5954 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5955
06eb1586
DE
59562014-06-02 Doug Evans <xdje42@gmail.com>
5957
5958 * gdb.guile/scm-parameter.exp: New file.
5959
e698b8c4
DE
59602014-06-02 Doug Evans <xdje42@gmail.com>
5961
5962 * gdb.guile/scm-cmd.c: New file.
5963 * gdb.guile/scm-cmd.exp: New file.
5964
ded03782
DE
59652014-06-02 Doug Evans <xdje42@gmail.com>
5966
5967 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
5968 pretty-printer lookup.
5969 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
5970 (make-pp_s-printer): Call it.
5971 (make-pretty-printer-from-dict): New function.
5972 (lookup-pretty-printer-maker-from-dict): New function.
5973 (*pretty-printer*): Simplify.
5974 (make-objfile-pp_s-printer): New function.
5975 (install-objfile-pretty-printers!): New function.
5976 (make-progspace-pp_s-printer): New function.
5977 (install-progspace-pretty-printers!): New function.
5978 * gdb.guile/scm-progspace.c: New file.
5979 * gdb.guile/scm-progspace.exp: New file.
5980
41fac0cf
PA
59812014-06-02 Pedro Alves <palves@redhat.com>
5982
5983 * gdb.base/dprintf-bp-same-addr.c: New file.
5984 * gdb.base/dprintf-bp-same-addr.exp: New file.
5985
96ae5695
EBM
59862014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5987
5988 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5989 * gdb.arch/powerpc-power.s: Likewise.
5990
da02b3a8
JB
59912014-06-02 Joel Brobecker <brobecker@adacore.com>
5992
5993 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5994
c72b2e7b
YQ
59952014-06-01 Yao Qi <yao@codesourcery.com>
5996
5997 * gdb.base/watchpoint.exp (test_watch_location): Check null
5998 pointer can be dereferenced. If not, do the test, otherwise
5999 skip it.
6000
53e8a631
AB
60012014-05-30 Andrew Burgess <aburgess@broadcom.com>
6002
6003 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6004 results.
6005 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6006
938f0e2f
AB
60072014-05-30 Andrew Burgess <aburgess@broadcom.com>
6008
6009 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6010 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6011 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6012 * gdb.arch/amd64-invalid-stack-top.c: New file.
6013 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6014
9ba6657a
PA
60152014-05-30 Pedro Alves <palves@redhat.com>
6016
6017 PR breakpoints/17000
6018 * gdb.base/sss-bp-on-user-bp.c: New file.
6019 * gdb.base/sss-bp-on-user-bp.exp: New file.
6020
522c09bf
DB
60212014-05-30 David Blaikie <dblaikie@gmail.com>
6022
6023 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6024 gnu_inline semantics via attribute.
6025 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6026 source explicitly specifies the required semantics.
6027
bf4ef81e
MR
60282014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6029
6030 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6031
329ea579
PA
60322014-05-29 Pedro Alves <palves@redhat.com>
6033 Tom Tromey <tromey@redhat.com>
6034
6035 * gdb.base/async-shell.exp: Don't enable target-async.
6036 * gdb.base/async.exp
6037 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6038 parameter. Adjust.
6039 (top level): Don't test with "target-async".
6040 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6041 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6042 * gdb.base/inferior-died.exp: Don't enable target-async.
6043 * gdb.base/interrupt-noterm.exp: Likewise.
6044 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6045 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6046 * gdb.mi/mi-nonstop.exp: Likewise.
6047 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6048 * gdb.mi/mi-nsintrall.exp: Likewise.
6049 * gdb.mi/mi-nsmoribund.exp: Likewise.
6050 * gdb.mi/mi-nsthrexec.exp: Likewise.
6051 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6052 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6053 * gdb.python/py-evsignal.exp: Don't enable target-async.
6054 * gdb.python/py-evthreads.exp: Likewise.
6055 * gdb.python/py-prompt.exp: Likewise.
6056 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6057 * gdb.server/solib-list.exp: Don't enable target-async.
6058 * gdb.threads/thread-specific-bp.exp: Likewise.
6059 * lib/mi-support.exp: Adjust to use mi-async.
6060
fd664c91
PA
60612014-05-29 Pedro Alves <palves@redhat.com>
6062
6063 PR gdb/13860
6064 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6065 reason, even in sync mode.
6066
251bde03
PA
60672014-05-29 Pedro Alves <palves@redhat.com>
6068 Hui Zhu <hui@codesourcery.com>
6069
6070 PR PR15693
6071 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6072 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6073 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6074 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6075
7f3c0343
JB
60762014-05-28 Joel Brobecker <brobecker@adacore.com>
6077
6078 * config/monitor.exp (gdb_target_monitor): Replace use of
6079 "set remotebaud" by "set serial baud".
6080
b2715b27
AW
60812014-05-26 Andy Wingo <wingo@igalia.com>
6082
6083 * gdb.guile/scm-breakpoint.exp:
6084 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6085 properties instead of gdb-object-properties.
6086
498a4489
YQ
60872014-05-26 Yao Qi <yao@codesourcery.com>
6088
6089 * gdb.server/no-thread-db.exp: Specify source file name
6090 explicitly when setting a breakpoint.
6091
589fdceb
MM
60922014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6093
6094 * gdb.btrace/vdso.c: New.
6095 * gdb.btrace/vdso.exp: New.
6096
e9089e05
MM
60972014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6098
6099 * gdb.base/gcore.exp (capture_command_output): Move ...
6100 * lib/gdb.exp (capture_command_output): ... here.
6101
67b5c0c1
MM
61022014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6103
6104 * gdb.btrace/data.exp: Test memory access during btrace replay.
6105
a2199296
SM
61062014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6107
6108 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6109
17b2616c
PA
61102014-05-21 Pedro Alves <palves@redhat.com>
6111
6112 PR gdb/13860
6113 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6114 (top level): Test that output related to execution commands is
6115 sent to the console with CLI commands, but not with MI commands.
6116 Test that breakpoint events are always mirrored to the console.
6117 Also expect the new source line to be output after a "next" in
6118 async mode too. Make it a pass/fail test.
6119 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6120 output.
6121 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6122
5166082f
PA
61232014-05-21 Pedro Alves <palves@redhat.com>
6124
6125 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6126 Use them to test variations of "list" after reaching a breakpoint.
6127 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6128 Test "list" with listsize 10 after reaching a breakpoint.
6129 * gdb.python/python.exp (decode_line current location line
6130 number): Adjust expected line number.
6131
2f25d70f
SM
61322014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6133
6134 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6135 behavior for $args, pass it directly to "run".
6136
ff604a67
MR
61372014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6138
6139 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6140 30000 to 65536.
6141
6a3cb8e8
PA
61422014-05-21 Pedro Alves <palves@redhat.com>
6143
6144 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6145 auto-connect-native-target off".
6146 * gdb.base/auto-connect-native-target.c: New file.
6147 * gdb.base/auto-connect-native-target.exp: New file.
6148
4ebfc96e
PA
61492014-05-21 Pedro Alves <palves@redhat.com>
6150
6151 * gdb.base/default.exp: Test "target native" instead of "target
6152 child".
6153
36d46afb
MW
61542014-05-21 Mark Wielaard <mjw@redhat.com>
6155
6156 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6157
5876f503
JK
61582014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6159
6160 Fix TLS access for -static -pthread.
6161 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6162 <HAVE_TLS> (thread_function, main): Initialize it.
6163 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6164 Add clean_restart.
6165 <$have_tls != "">: Check TLSVAR.
6166
0256a6ac
PA
61672014-05-21 Pedro Alves <palves@redhat.com>
6168
6169 * gdb.base/dcache-line-read-error.c: New.
6170 * gdb.base/dcache-line-read-error.exp: New.
6171
936d2992
PA
61722014-05-20 Pedro Alves <palves@redhat.com>
6173
6174 * gdb.base/compare-sections.c: New file.
6175 * gdb.base/compare-sections.exp: New file.
6176
802e8e6d
PA
61772014-05-20 Pedro Alves <palves@redhat.com>
6178
6179 * gdb.base/break-idempotent.c: New file.
6180 * gdb.base/break-idempotent.exp: New file.
6181
e59fa00f
MM
61822014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6183
6184 * gdb.btrace/nohist.exp: New.
6185
8b696e31
YQ
61862014-05-20 Yao Qi <yao@codesourcery.com>
6187
6188 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6189 gdb.reverse directory and gdb_reverse_timeout exists in board
6190 setting.
6191 * README: Document gdb_reverse_timeout.
6192
73c9764f
YQ
61932014-05-20 Yao Qi <yao@codesourcery.com>
6194
6195 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6196 'test_file_name'. Treat args as a string instead of a list.
6197 (gdb_init): Rename argument 'args' by 'test_file_name'.
6198
f1f4348a
JK
61992014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6200
6201 * gdb.arch/powerpc-power.exp: New file.
6202 * gdb.arch/powerpc-power.s: New file.
6203
0dbe70ce
DE
62042014-05-16 Doug Evans <dje@google.com>
6205
6206 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6207 * gdb.base/completion.exp: Check that all expected files exist
6208 before doing file completion.
0dbe70ce 6209
8d551b02
DE
62102014-05-16 Doug Evans <dje@google.com>
6211
6212 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6213 Update.
6214 (do_syscall_tests_without_xml): Update.
6215
73eb7709
PA
62162014-05-16 Pedro Alves <palves@redhat.com>
6217
6218 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6219 instead of "unknown output after running".
6220
3fae92fc
YQ
62212014-05-16 Yao Qi <yao@codesourcery.com>
6222
6223 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6224 file1.txt from host at the end.
6225 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6226
c2b2ccc5
DE
62272014-05-15 Doug Evans <dje@google.com>
6228
6229 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6230 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6231 loading file. Add test for TU lookup.
6232
8c217a4b
SM
62332014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6234
6235 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6236 calling "-exec-arguments" or "set args" before running the
6237 inferior.
6238
3deb39c6
SM
62392014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6240
6241 * lib/mi-support.exp (mi_expect_stop): Expect message for
6242 inferiors that exit with non-zero exit code.
6243
71a79f8c
YQ
62442014-05-14 Yao Qi <yao@codesourcery.com>
6245
6246 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6247 match absolute path on remote host.
6248 (test_file_list_exec_source_files): Remove "/" from the
6249 pattern.
6250
f23fcd46
YQ
62512014-05-14 Yao Qi <yao@codesourcery.com>
6252
6253 * boards/local-remote-host-notty.exp (${board}_file): New
6254 proc.
6255
9404b58f
KM
62562014-05-07 Kyle McMartin <kyle@redhat.com>
6257
6258 Pushed by Joel Brobecker <brobecker@adacore.com>.
6259 * gdb.arch/aarch64-atomic-inst.c: New file.
6260 * gdb.arch/aarch64-atomic-inst.exp: New file.
6261
5e45f04c
YQ
62622014-05-07 Yao Qi <yao@codesourcery.com>
6263
6264 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6265 in current context" too.
6266
c888a17d
KS
62672014-05-05 Keith Seitz <keiths@redhat.com>
6268
6269 * gdb.linespec/ls-dollar.exp: Add test for linespec
6270 file:convenience_variable.
6271
290a839c
YQ
62722014-05-05 Yao Qi <yao@codesourcery.com>
6273
6274 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6275 traceframes into tfile and ctf trace files. Read data from
6276 trace file and test collected data.
6277 (gdb_collect_locals_test): Likewise.
6278 (gdb_unavailable_registers_test): Likewise.
6279 (gdb_unavailable_floats): Likewise.
6280 (gdb_collect_globals_test): Likewise.
6281 (top-level): Append "ctf" to trace_file_targets if GDB
6282 supports.
6283
b5262cd0
YQ
62842014-05-05 Yao Qi <yao@codesourcery.com>
6285
6286 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6287 code to ...
6288 (gdb_collect_args_test_1): ... it. New proc.
6289 (gdb_collect_locals_test): Move some code to ...
6290 (gdb_collect_locals_test_1): ... it. New proc.
6291 (gdb_unavailable_registers_test): Move some code to ...
6292 (gdb_unavailable_registers_test_1): ... it. New proc.
6293 (gdb_unavailable_floats): Move some code to ...
6294 (gdb_unavailable_floats_1): ... it. New proc.
6295
30a1e6cc
SDJ
62962014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6297
6298 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6299 probes to test for bitness recognition.
6300 * gdb.arch/amd64-stap-optional-prefix.exp
6301 (test_probe_value_without_reg): New procedure.
6302 Add code to test for different kinds of bitness.
6303
f33da99a
SDJ
63042014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6305
6306 PR breakpoints/16889
6307 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6308 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6309
5b80f00d
PA
63102014-05-01 Pedro Alves <palves@redhat.com>
6311
6312 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6313 gdb_file_cmd if no file is specified.
6314 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6315 last_loaded_file to set the remote exec-file.
6316
f8c2a73c
PA
63172014-05-01 Pedro Alves <palves@redhat.com>
6318
6319 * boards/local-remote-host.exp: New file.
6320
be6e8ac7
PA
63212014-05-01 Pedro Alves <palves@redhat.com>
6322
6323 * boards/local-remote-host.exp: Rename to ...
6324 * boards/local-remote-host-notty.exp: ... this.
6325
cac0dc8f
JB
63262014-04-28 Joel Brobecker <brobecker@adacore.com>
6327
6328 * gdb.ada/dyn_arrayidx: New testcase.
6329
9730e6cc
YQ
63302014-04-26 Yao Qi <yao@codesourcery.com>
6331
6332 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6333 and compute the length of function main. Save it in
6334 $main_length.
6335 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6336 (top-level): Use gdb_compile to compile objects into
6337 executable and restart GDB. Remove invocation to
6338 prepare_for_testing.
6339
7ae1a6a6
PA
63402014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6341 Pedro Alves <palves@redhat.com>
6342
6343 PR server/16255
6344 * gdb.multi/multi-attach.c: New file.
6345 * gdb.multi/multi-attach.exp: New file.
6346
4082afcc
PA
63472014-04-25 Pedro Alves <palves@redhat.com>
6348
6349 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6350 user.
6351 (top level): Test that "set remote conditional-breakpoints-packet
6352 off" works as intended.
6353 * gdb.base/dprintf.exp: Test that "set remote
6354 breakpoint-commands-packet off" works as intended.
6355 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6356 New function.
6357 (top level): Call it.
6358 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6359 remote fast-tracepoints-packet off" works as intended.
6360 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6361 * lib/gdb.exp (gdb_is_target_remote): ... here.
6362
2abc3f8d
DB
63632014-04-24 David Blaikie <dblaikie@gmail.com>
6364
6365 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6366 ensure clang would not discard them.
6367 * gdb.base/gdbvars.c: Ditto.
6368 * gdb.base/memattr.c: Ditto.
6369 * gdb.base/whatis.c: Ditto.
6370 * gdb.python/py-prettyprint.c: Ditto.
6371 * gdb.trace/actions.c: Ditto.
6372 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6373 ensure clang would not discard it.
6374
bfd39632
DB
63752014-04-24 David Blaikie <dblaikie@gmail.com>
6376
6377 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6378 clang to emit the full definition of type required by the test
6379 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6380
22842ff6
DB
63812014-04-24 David Blaikie <dblaikie@gmail.com>
6382
6383 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6384 coax Clang into emitting the definition of the type.
6385 * gdb.cp/pr10728-x.h (y): Ditto.
6386 * gdb.cp/pr10728-y.cc (y): Ditto.
6387
c2e827ad
DB
63882014-04-24 David Blaikie <dblaikie@gmail.com>
6389
6390 * gdb.base/label.exp: XFAIL label related tests under Clang.
6391 * gdb.cp/cplabel.exp: Ditto.
6392 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6393 under Clang those using labels.
6394
4c2d33e7
YQ
63952014-04-25 Yao Qi <yao@codesourcery.com>
6396
6397 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6398 double_label.
6399 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6400 partial_label and double_label.
6401
56083b99
DB
64022014-04-24 David Blaikie <dblaikie@gmail.com>
6403
6404 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6405
25d4e99d
DB
64062014-04-24 David Blaikie <dblaikie@gmail.com>
6407
6408 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6409 of the function to work across GCC and Clang.
6410 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6411 pointer types (const void ** const V void **).
6412
01f9f808
MS
64132014-04-24 Michael Sturm <michael.sturm@mintel.com>
6414 Walfred Tedeschi <walfred.tedeschi@intel.com>
6415
6416 * Makefile.in (EXECUTABLES): Added i386-avx512.
6417 * gdb.arch/i386-avx512.c: New file.
6418 * gdb.arch/i386-avx512.exp: Likewise.
6419
4b48d439
KS
64202014-04-23 Keith Seitz <keiths@redhat.com>
6421
6422 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6423 (mi_make_breakpoint_table): New procedure.
6424 (mi_create_breakpoint): Use mi_make_breakpoint
6425 and return the result.
6426 (mi_make_breakpoint): New procedure.
6427 (mi_build_kv_pairs): New procedure.
6428
6429 * gdb.mi/mi-break.exp: Remove unused globals,
6430 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6431 All callers updated.
6432 * gdb.mi/mi-dprintf.exp: Use variable to track command
6433 number.
6434 Update all callers of mi_create_breakpoint and use
6435 mi_make_breakpoint_table.
6436 Remove any unused global variables.
6437 * gdb.mi/mi-nonstop.exp: Likewise.
6438 * gdb.mi/mi-nsintrall.exp: Likewise.
6439 * gdb.mi/mi-nsmoribund.exp: Likewise.
6440 * gdb.mi/mi-nsthrexec.exp: Likewise.
6441 * gdb.mi/mi-reverse.exp: Likewise.
6442 * gdb.mi/mi-simplerun.exp: Likewise.
6443 * gdb.mi/mi-stepn.exp: Likewise.
6444 * gdb.mi/mi-syn-frame.exp: Likewise.
6445 * gdb.mi/mi-until.exp: Likewise.
6446 * gdb.mi/mi-var-cp.exp: Likewise.
6447 * gdb.mi/mi-var-display.exp: Likewise.
6448 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6449 * gdb.mi/mi2-var-child.exp: Likewise.
6450 * gdb.mi/mi-vla-c99.exp: Likewise.
6451 * lib/mi-support.exp: Likewise.
6452
6453 From Ian Lance Taylor <iant@cygnus.com>:
6454 * lib/gdb.exp (parse_args): New procedure.
6455
08351840
PA
64562014-04-23 Pedro Alves <palves@redhat.com>
6457
6458 * gdb.base/break-unload-file.c: New file.
6459 * gdb.base/break-unload-file.exp: New file.
6460 * gdb.base/sym-file-lib.c (baz): New function.
6461 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6462 field.
6463 (load): Store the segment's mapped size.
6464 (unload): New function.
6465 (unload_shlib): New function.
6466 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6467 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6468 set a breakpoint at baz, and call it.
6469 * gdb.base/sym-file.exp: New tests for stale breakpoint
6470 instructions.
6471
076855f9
PA
64722014-04-23 Pedro Alves <palves@redhat.com>
6473
6474 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6475 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6476 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6477 * gdb.base/hbreak-unmapped.c: New file.
6478 * gdb.base/hbreak-unmapped.exp: New file.
6479 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6480 * lib/gdb.exp (gdb_is_target_remote): ... here.
6481
483805cf
PA
64822014-04-22 Pedro Alves <palves@redhat.com>
6483
6484 * gdb.base/consecutive-step-over.c: New file.
6485 * gdb.base/consecutive-step-over.exp: New file.
6486
06d97543
PA
64872014-04-22 Pedro Alves <palves@redhat.com>
6488
6489 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6490 instead of send_gdb/gdb_expect.
6491
b4429ea2
YQ
64922014-04-22 Yao Qi <yao@codesourcery.com>
6493
6494 * lib/trace-support.exp (generate_tracefile): New procedure.
6495 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6496 return 0.
6497 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6498 if generate_tracefile returns 1.
6499
51d48146
PA
65002014-04-18 Tom Tromey <palves@redhat.com>
6501 Pedro alves <tromey@redhat.com>
6502
6503 PR backtrace/15558
6504 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6505 with a backtrace limit.
6506 * gdb.python/py-frame-inline.exp: Test running to an inline
6507 function with a backtrace limit, and printing the newest frame.
6508 * gdb.python/py-frame-inline.c (main): Call f.
6509
bd1dce5f
MS
65102014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6511
6512 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6513
40d1a503
MS
65142014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6515
6516 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6517 Drop prefix from unsupported source file path.
6518
389b98f7
YQ
65192014-04-17 Yao Qi <yao@codesourcery.com>
6520
6521 * lib/gdb.exp (with_target_charset): New proc.
6522 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6523 with_target_charset.
6524 (test_print_strings): Likewise.
6525 (test_repeat_bytes): Likewise.
6526 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6527 for some tests.
6528
22869d73
KS
65292014-04-16 Keith Seitz <keiths@redhat.com>
6530
6531 PR gdb/15827
6532 * gdb.dwarf2/corrupt.c: New file.
6533 * gdb.dwarf2/corrupt.exp: New file.
6534
c4f87ca6
KS
65352014-04-16 Keith Seitz <keiths@redhat.com>
6536
6537 PR c++/16597
6538 * gdb.cp/namelessclass.cc: New file.
6539 * gdb.cp/namelessclass.exp: New file.
6540 * gdb.cp/namelessclass.S: New file.
6541
ab19de87
DE
65422014-04-16 Doug Evans <dje@google.com>
6543
6544 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6545 Add comment.
6546 (gdbserver_default_get_comm_port): New function.
6547 (gdbserver_start): Check if board file provided
6548 "gdbserver,get_comm_port" and use it if so.
6549 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6550 (gdb,socketport): Set to "stdio".
6551 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6552 (stdio_gdbserver_template): Delete.
6553 (${board}_get_remote_address): Update.
6554 (${board}_build_remote_cmd): Delete.
6555 (${board}_get_comm_port): New function.
6556 (${board}_spawn): Update.
6557 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6558 Delete.
6559 (${board}_get_remote_address): Update.
6560 (${board}_get_comm_port): New function.
6561
fc98a809
AB
65622014-04-16 Andrew Burgess <aburgess@broadcom.com>
6563
6564 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6565 appearing in any order.
6566
87fd9e6e
DE
65672014-04-15 Doug Evans <dje@google.com>
6568
6569 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6570 uninitialized value of "description".
6571
099fc3ea
KS
65722014-04-15 Keith Seitz <keiths@redhat.com>
6573
6574 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6575 Remove unused globals.
6576 (test_running_the_program): Likewise.
6577 (test_controlled_execution): Likewise.
6578 (test_controlling_breakpoints): Likewise.
6579 (test_program_termination): Likewise.
6580
5da151d4
KS
65812014-04-15 Keith Seitz <keiths@redhat.com>
6582
6583 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6584 unused globals.
6585 (test_rbreak_creation_and_listing): Likewise.
6586 (test_ignore_count): Likewise.
6587 (test_error): Likewise.
6588
35e5d2f0
PA
65892014-04-15 Pedro Alves <palves@redhat.com>
6590
6591 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6592 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6593 sym-file-loader.c.
6594 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6595 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6596 to sym-file-loader.c.
6597 (struct library): Forward declare.
6598 (load_shlib, lookup_function): Change prototypes.
6599 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6600 (translate_offset): Remove declarations.
6601 (get_text_addr): New declaration.
6602 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6603 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6604 sym-file-loader.h.
6605 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6606 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6607 here from sym-file-loader.h.
6608 (struct library): New structure.
6609 (load_shlib, lookup_function): Change prototypes and adjust to
6610 work with a struct library.
6611 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6612 (translate_offset): Make static.
6613 (get_text_addr): New function.
6614 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6615
eb4c1710
PA
66162014-04-15 Pedro Alves <palves@redhat.com>
6617
6618 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6619
2d1baf52
PA
66202014-04-15 Pedro Alves <palves@redhat.com>
6621
6622 * gdb.base/sym-file-loader.c: Include <limits.h>.
6623 (SELF_LINK): New define.
6624 (get_origin): New function.
6625 (load_shlib): Use it.
6626 * gdb.base/sym-file.exp: Don't early return if the target is
6627 remote. Use runto_main, and issue fail is that fails. Use
6628 gdb_load_shlibs.
6629 (shlib_name): Delete.
6630 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6631
7dd6df01
PA
66322014-04-15 Pedro Alves <palves@redhat.com>
6633
6634 * gdb.base/sym-file.exp: Remove regex characters from test
6635 message. Don't refer to breakpoint numbers in test messages.
6636
b50c8614
KS
66372014-04-14 Keith Seitz <keiths@redhat.com>
6638
6639 PR c++/16253
6640 * gdb.cp/var-tag.cc: New file.
6641 * gdb.cp/var-tag.exp: New file.
6642 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6643 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6644 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6645 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6646
3d567982
TT
66472014-04-14 Tom Tromey <tromey@redhat.com>
6648
6649 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6650 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6651 type.
6652 * gdb.cp/enum-class.exp: New file.
6653 * gdb.cp/enum-class.cc: New file.
6654
0626fc76
TT
66552014-04-14 Tom Tromey <tromey@redhat.com>
6656
6657 * gdb.dwarf2/enum-type.exp: New file.
6658
dca325b3
SA
66592014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6660
6661 * gdb.mi/mi-vla-c99.exp: New file.
6662 * gdb.mi/vla.c: New file.
6663
5854b38a
SA
66642014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6665
6666 * gdb.base/vla-datatypes.c: New file.
6667 * gdb.base/vla-datatypes.exp: New file.
6668
463bb957
SA
66692014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6670
6671 * gdb.base/vla-ptr.c: New file.
6672 * gdb.base/vla-ptr.exp: New file.
6673
3dd170be
SA
66742014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6675
6676 * gdb.dwarf2/count.exp: New file.
6677
5ecaaa66
SA
66782014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6679
6680 * gdb.base/vla-sideeffect.c: New file.
6681 * gdb.base/vla-sideeffect.exp: New file.
6682
41f1ada5
DB
66832014-04-14 David Blaikie <dblaikie@gmail.com>
6684
6685 * gdb.mi/non-stop.c: Add return value for non-void function return
6686 statement.
6687 * gdb.threads/staticthreads.c: Ditto.
6688
0be03e84
DE
66892014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6690 Doug Evans <xdje42@gmail.com>
6691
6692 * gdb.guile/scm-value.c: Improve test case.
6693 * gdb.guile/scm-value.exp: Add new test.
6694
f180a1fb
DB
66952014-04-11 David Blaikie <dblaikie@gmail.com>
6696
6697 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6698 override Clang's default.
6699
6b662e19
JB
67002014-04-11 Joel Brobecker <brobecker@adacore.com>
6701
6702 Revert the following changes (regressions):
6703
6704 * gdb.base/vla-sideeffect.c: New file.
6705 * gdb.base/vla-sideeffect.exp: New file.
6706
6707 * gdb.dwarf2/count.exp: New file.
6708
6709 * gdb.base/vla-multi.c: New file.
6710 * gdb.base/vla-multi.exp: New file.
6711
6712 * gdb.base/vla-ptr.c: New file.
6713 * gdb.base/vla-ptr.exp: New file.
6714
6715 * gdb.base/vla-datatypes.c: New file.
6716 * gdb.base/vla-datatypes.exp: New file.
6717
6718 * gdb.mi/mi-vla-c99.exp: New file.
6719 * gdb.mi/vla.c: New file.
6720
245a5f0b
KS
67212014-04-11 Keith Seitz <keiths@redhat.com>
6722
6723 PR c++/16675
6724 * gdb.cp/cpsizeof.exp: New file.
6725 * gdb.cp/cpsizeof.cc: New file.
6726
58a84dcf
SA
67272014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6728
191a8a90
JB
6729 * gdb.mi/mi-vla-c99.exp: New file.
6730 * gdb.mi/vla.c: New file.
58a84dcf 6731
c8655f75
SA
67322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6733
6734 * gdb.base/vla-datatypes.c: New file.
6735 * gdb.base/vla-datatypes.exp: New file.
6736
024e13b4
SA
67372014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6738
6739 * gdb.base/vla-ptr.c: New file.
6740 * gdb.base/vla-ptr.exp: New file.
6741
1a237e0e
SA
67422014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6743
6744 * gdb.base/vla-multi.c: New file.
6745 * gdb.base/vla-multi.exp: New file.
6746
504f3432
SA
67472014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6748
6749 * gdb.dwarf2/count.exp: New file.
6750
3bce8237
SA
67512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6752
191a8a90
JB
6753 * gdb.base/vla-sideeffect.c: New file.
6754 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6755
322f9c21
YQ
67562014-04-11 Yao Qi <yao@codesourcery.com>
6757
6758 * gdb.base/completion.exp: Check file exists before running tests
6759 on file completion.
6760
d708bcd1
PA
67612014-04-10 Pedro Alves <palves@redhat.com>
6762
6763 * gdb.base/cond-eval-mode.c: New file.
6764 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6765 prepare_for_testing to build the new file. Check result of
6766 runto_main.
6767 (test_break, test_watch): New procedures.
6768 (top level): Use them.
6769
ae1d2761
PM
67702014-04-08 Pierre Muller <muller@sourceware.org>
6771
6772 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6773 Ctrl-V use for mingw hosts.
6774
7af389b8
SC
67752014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6776
6777 * gdb.python/py-value.c: Improve test case.
6778 * gdb.python/py-value.exp: Add new test.
6779
5e703181
DE
67802014-04-07 David Blaikie <dblaikie@gmail.com>
6781
6782 * lib/compiler.c: Identify the clang compiler.
6783 * lib/compiler.cc: Ditto.
6784
9810b410
YQ
67852014-04-03 Yao Qi <yao@codesourcery.com>
6786
6787 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6788
98d1b8dc
AB
67892014-04-01 Anton Blanchard <anton@samba.org>
6790
6791 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6792 messages unique.
6793
3114cea1
AB
67942014-04-01 Anton Blanchard <anton@samba.org>
6795
6796 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6797 prepare_for_testing.
6798
62f7182c
AB
67992014-04-01 Anton Blanchard <anton@samba.org>
6800
6801 * gdb.arch/ppc64-atomic-inst.c: Remove.
6802 * gdb.arch/ppc64-atomic-inst.S: New file.
6803 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6804
770e7fc7
DE
68052014-03-31 Doug Evans <dje@google.com>
6806
6807 * gdb.base/print-symbol-loading-lib.c: New file.
6808 * gdb.base/print-symbol-loading-main.c: New file.
6809 * gdb.base/print-symbol-loading.exp: New file.
6810
46e2bafa
YQ
68112014-03-31 Yao Qi <yao@codesourcery.com>
6812
6813 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6814
8776cfe9
JB
68152014-03-28 Joel Brobecker <brobecker@adacore.com>
6816
6817 * gdb.ada/mi_dyn_arr: New testcase.
6818
5d1ef361
DE
68192014-03-27 Doug Evans <dje@google.com>
6820
6821 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6822
b5bee914
YQ
68232014-03-27 Yao Qi <yao@codesourcery.com>
6824
6825 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6826 if target is nios2-*-*.
6827
0d4d0e77
YQ
68282014-03-26 Yao Qi <yao@codesourcery.com>
6829
6830 * lib/gdb.exp (readline_is_used): New proc.
6831 * gdb.base/completion.exp: Move tests on command complete up.
6832 Skip the rest of tests if readline is not used.
6833 * gdb.ada/complete.exp: Skp the test if readline is not
6834 used.
6835 * gdb.base/filesym.exp: Likewise.
6836 * gdb.base/macscp.exp: Likewise.
6837 * gdb.base/readline-ask.exp: Likewise.
6838 * gdb.base/readline.exp: Likewise.
6839 * gdb.python/py-cmd.exp: Likewise.
6840 * gdb.trace/tfile.exp: Likewise.
6841
29361eee
YQ
68422014-03-26 Yao Qi <yao@codesourcery.com>
6843
6844 * gdb.base/macscp.exp: Fix code format issues.
6845
bc9a5525
UW
68462014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6847
6848 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6849 * gdb.asm/powerpc64le.inc: New file.
6850
d3839ede
PA
68512014-03-25 Pedro Alves <palves@redhat.com>
6852 Doug Evans <dje@google.com>
6853
6854 * gdb.base/source-execution.c: New file.
6855 * gdb.base/source-execution.exp: New file.
6856 * gdb.base/source-execution.gdb: New file.
6857
01672a57
DE
68582014-03-24 Doug Evans <dje@google.com>
6859
6860 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6861 using fission.
6862
88bbeca9
HZ
68632014-03-24 Hui Zhu <hui@codesourcery.com>
6864 Pedro Alves <palves@redhat.com>
6865
6866 PR breakpoints/16101
6867 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6868 test pass/fail messages. Detect missing support for dprintf when
6869 breakpoints are actually inserted.
6870 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6871 breakpoints are actually inserted.
6872 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6873 fails.
6874
d2348791
JK
68752014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6876
6877 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6878
feef67ab
DE
68792014-03-22 Doug Evans <xdje42@gmail.com>
6880
6881 * gdb.python/python.exp (python not supported): Verify multi-line
6882 python command issues an error.
25d743f9 6883 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 6884 guile command issues an error.
feef67ab 6885
ecebef6a
MR
68862014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6887
6888 * gdb.threads/thread-specific.exp: Handle the lack of usable
6889 $this_breakpoint and $this_thread.
6890
ccdd1909
HZ
68912014-03-21 Hui Zhu <hui@codesourcery.com>
6892
6893 * gdb.base/attach.exp (do_command_attach_tests): New.
6894
beb460e8
PA
68952014-03-20 Tom Tromey <tromey@redhat.com>
6896 Pedro Alves <palves@redhat.com>
6897
6898 PR cli/15718
6899 * gdb.base/condbreak-call-false.c: New file.
6900 * gdb.base/condbreak-call-false.exp: New file.
6901
40acf43a
PA
69022014-03-20 Pedro Alves <palves@redhat.com>
6903
6904 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6905 Delete.
6906 (block_signals, unblock_signals): Delete.
6907 (child_function_2, main): Remove references to deleted variable
6908 and functions.
6909
9f5e1e02
PA
69102014-03-20 Pedro Alves <palves@redhat.com>
6911
6912 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6913 Use pthread_kill to signal thread 2.
6914 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6915 Adjust to make the test send itself a signal rather than using the
6916 host's "kill" command.
6917
99619bea
PA
69182014-03-20 Pedro Alves <palves@redhat.com>
6919
6920 * gdb.threads/multiple-step-overs.c: New file.
6921 * gdb.threads/multiple-step-overs.exp: New file.
6922 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6923 Adjust expected infrun debug output.
6924
2adfaa28
PA
69252014-03-20 Pedro Alves <palves@redhat.com>
6926
6927 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6928 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6929
31e77af2
PA
69302014-03-20 Pedro Alves <palves@redhat.com>
6931
6932 PR breakpoints/7143
6933 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6934 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6935 of gdb_test_multiple.
6936 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6937 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6938
b9f437de
PA
69392014-03-20 Pedro Alves <palves@redhat.com>
6940
6941 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6942 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6943
05adc73e
PA
69442014-03-19 Pedro Alves <palves@redhat.com>
6945
6946 * gdb.base/async.exp: Remove early return.
6947
6048b950
PA
69482014-03-19 Pedro Alves <palves@redhat.com>
6949
6950 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6951
8bcfb00a
PA
69522014-03-19 Pedro Alves <palves@redhat.com>
6953
6954 * gdb.base/async.exp (test_background): Expect \r\n after
6955 "completed." in the fail pattern.
6956
884e37dc
PA
69572014-03-19 Pedro Alves <palves@redhat.com>
6958
6959 * gdb.base/async.exp (test_background): New procedure.
6960 Use it for all background execution command tests.
6961
148e57e2
PA
69622014-03-19 Pedro Alves <palves@redhat.com>
6963
6964 * gdb.base/async.exp: Use prepare_for_testing.
6965
f48088c7
PA
69662014-03-19 Pedro Alves <palves@redhat.com>
6967
6968 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
6969 the same line.
6970
e2f6c966
PA
69712014-03-19 Pedro Alves <palves@redhat.com>
6972
6973 * gdb.base/async.c (main): Add "jump here" and "until here" line
6974 marker comments.
6975 * gdb.base/async.exp (jump_here): New global.
6976 (jump& test): Use it.
6977 (until_here): New global.
6978 (until& test): Use it.
6979
c30568d4
PA
69802014-03-19 Pedro Alves <palves@redhat.com>
6981
6982 * gdb.base/async.exp: Don't frob gdb_protocol.
6983
0172b6a7
DE
69842014-03-18 Doug Evans <xdje42@gmail.com>
6985
6986 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6987 Fix spelling of exec-done-display.
6988
06c868a8
JK
69892014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6990
6991 PR gdb/15358
6992 * gdb.base/gdb-sigterm.c: New file.
6993 * gdb.base/gdb-sigterm.exp: New file.
6994
0c7e1a46
PA
69952014-03-18 Pedro Alves <palves@redhat.com>
6996
6997 PR gdb/13860
6998 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6999 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7000 solib-event.
7001
f7c77d93
JB
70022014-03-17 Joel Brobecker <brobecker@adacore.com>
7003
7004 * gdb.ada/pckd_arr_ren: New testcase.
7005
5a1e8c7a
DE
70062014-03-13 Doug Evans <xdje42@gmail.com>
7007
7008 PR guile/16612
7009 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7010 collect after discarding symbols.
7011
350e1a76
DE
70122014-03-13 Ludovic Courtès <ludo@gnu.org>
7013 Doug Evans <xdje42@gmail.com>
7014
7015 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7016 to history survives a gc.
7017
a69900ae
PA
70182014-03-13 Pedro Alves <palves@redhat.com>
7019
7020 * gdb.base/default.exp: Don't test "target procfs".
7021
5db9f0bd
PA
70222014-03-13 Pedro Alves <palves@redhat.com>
7023
7024 * gdb.base/default.exp: Update "target child" and "target procfs"
7025 tests to not expect "Unix".
7026
b3ccfe11
TT
70272014-03-12 Tom Tromey <tromey@redhat.com>
7028
7029 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7030 New procs. Add target-async tests.
7031 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7032 Add target-async tests.
7033
646f4417
AA
70342014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7035
7036 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7037 'func_start' and 'func_end' for the beginning and end of the
7038 function code, respectively.
7039 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7040 'func_end' instead of 'func' and 'main'.
7041
288c211f
AA
70422014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7043
7044 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7045 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7046 generate the debug info assembler source.
7047
e0c0f156
AA
70482014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7049
7050 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7051 * gdb.dwarf2/arr-subrange.exp: Likewise.
7052 * gdb.dwarf2/dwz.exp: Likewise.
7053 * gdb.dwarf2/method-ptr.exp: Likewise.
7054 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7055 * gdb.dwarf2/subrange.exp: Likewise.
7056 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7057 * gdb.dwarf2/implptrpiece.exp: Likewise.
7058 * gdb.dwarf2/nostaticblock.exp: Likewise.
7059
0e5c4555
AA
70602014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7061
7062 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7063 directory to absolute path name arguments.
7064
5ec18f2b
JG
70652014-03-10 Joel Brobecker <brobecker@adacore.com>
7066
7067 * gdb.ada/tagged_access: New testcase.
7068
847fc4f2
MM
70692014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7070
7071 * gdb.btrace/data.exp: Update expected output.
7072
cc3da688
YQ
70732014-03-06 Yao Qi <yao@codesourcery.com>
7074
7075 * gdb.trace/pr16508.exp: New file.
7076
0f26cec1
PA
70772014-03-05 Pedro Alves <palves@redhat.com>
7078
7079 PR gdb/16575
7080 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7081 procedure.
7082 (top level): Adjust to use it. Add tests that exercise breakpoint
7083 interaction with the code-cache.
7084
7a5a839f
LC
70852014-02-26 Ludovic Courtès <ludo@gnu.org>
7086
7087 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7088 test for 'history-append!'.
7089
31aa7e4e
JB
70902014-02-26 Joel Brobecker <brobecker@adacore.com>
7091
7092 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7093 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7094 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7095 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7096 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7097 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7098
1b588015
JB
70992014-02-26 Joel Brobecker <brobecker@adacore.com>
7100
7101 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7102 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7103 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7104
55426c9d
JB
71052014-02-26 Joel Brobecker <brobecker@adacore.com>
7106
7107 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7108
dc53a7ad
JB
71092014-02-26 Joel Brobecker <brobecker@adacore.com>
7110
7111 * gdb.dwarf2/arr-stride.c: New file.
7112 * gdb.dwarf2/arr-stride.exp: New file.
7113
12ab52e9
PA
71142014-02-26 Pedro Alves <palves@redhat.com>
7115
7116 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7117 that won't ever trigger. Make sure that GDB reports the correct
7118 breakpoint that caused the stop.
7119
849c862e
JK
71202014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7121
7122 PR gdb/16626
7123 * gdb.base/auto-load-script: New file.
7124 * gdb.base/auto-load.c: New file.
7125 * gdb.base/auto-load.exp: New file.
7126
71b7d793
JK
7127 PR gdb/16626
7128 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7129
e2f0d509
JK
71302014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7131
7132 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7133 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7134
50cc37c8
DE
71352014-02-24 Doug Evans <dje@google.com>
7136
7137 * lib/gdb.exp (run_on_host): Log error output if program fails.
7138
ea4758f2
PA
71392014-02-21 Pedro Alves <palves@redhat.com>
7140
7141 * gdb.threads/step-after-sr-lock.c: Rename to ...
7142 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7143 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7144 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7145 ... this.
7146
d7b30f67
SDJ
71472014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7148
7149 PR tdep/16397
7150 * gdb.arch/amd64-stap-special-operands.exp: New file.
7151 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7152 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7153 * gdb.arch/amd64-stap-triplet.S: Likewise.
7154 * gdb.arch/amd64-stap-triplet.c: Likewise.
7155
83deb43f
JB
71562014-02-20 Joel Brobecker <brobecker@adacore.com>
7157
7158 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7159 in .section pseudo-op.
7160
adde2bff
DE
71612014-02-20 lin zuojian <manjian2006@gmail.com>
7162 Joel Brobecker <brobecker@adacore.com>
7163 Doug Evans <xdje42@gmail.com>
7164
7165 PR symtab/16581
7166 * gdb.dwarf2/dw2-icycle.S: New file.
7167 * gdb.dwarf2/dw2-icycle.c: New file.
7168 * gdb.dwarf2/dw2-icycle.exp: New file.
7169
f7bd0f78
SC
71702014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7171
7172 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7173 operations on gdb.Value objects.
7174 * gdb.python/py-value-cc.exp: Add new test to test operations on
7175 gdb.Value objects.
7176
c17ef0d5
DE
71772014-02-18 Doug Evans <dje@google.com>
7178
7179 * Makefile.in (TESTS): New variable.
7180 (expanded_tests, expanded_tests_or_none): New variables
7181 (check-single): Pass $(expanded_tests_or_none) to runtest.
7182 (check-parallel): Only run tests in $(TESTS) if non-empty.
7183 (check/no-matching-tests-found): New rule.
7184 * README: Document TESTS makefile variable.
7185
5dd3176f
DE
71862014-02-18 Doug Evans <dje@google.com>
7187
7188 * Makefile.in (check-parallel): rm -rf outputs temp.
7189
0b10be4f
JK
71902014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7191
7192 Fix "ERROR: no fileid for" in the testsuite.
7193 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7194
85f224e7
DE
71952014-02-12 Doug Evans <dje@google.com>
7196
7197 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7198 (MISCELLANEOUS): New variable.
7199 (clean): rm -rf $(MISCELLANEOUS).
7200 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7201 dwp live in the same directory as symlinks, with each symlink pointed
7202 to a differently named file in a different directory.
7203
149b30ff
DE
72042014-02-11 Doug Evans <dje@google.com>
7205
7206 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7207 of Tcl file commands.
7208
1dfdac32
MK
72092014-02-10 Mark Kettenis <kettenis@gnu.org>
7210
7211 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7212 "kill -SIGUSR1 -1".
7213
aa4fb036
JB
72142014-02-10 Joel Brobecker <brobecker@adacore.com>
7215
7216 * gdb.ada/tick_length_array_enum_idx: New testcase.
7217
ed3ef339
DE
72182014-02-10 Doug Evans <xdje42@gmail.com>
7219
7220 * configure.ac (AC_OUTPUT): Add gdb.guile.
7221 * configure: Regenerate.
7222 * lib/gdb-guile.exp: New file.
7223 * lib/gdb.exp (get_target_charset): New function.
7224 * gdb.base/help.exp: Update expected output from "apropos apropos".
7225 * gdb.guile/Makefile.in: New file.
7226 * gdb.guile/guile.exp: New file.
7227 * gdb.guile/scm-arch.c: New file.
7228 * gdb.guile/scm-arch.exp: New file.
7229 * gdb.guile/scm-block.c: New file.
7230 * gdb.guile/scm-block.exp: New file.
7231 * gdb.guile/scm-breakpoint.c: New file.
7232 * gdb.guile/scm-breakpoint.exp: New file.
7233 * gdb.guile/scm-disasm.c: New file.
7234 * gdb.guile/scm-disasm.exp: New file.
7235 * gdb.guile/scm-equal.c: New file.
7236 * gdb.guile/scm-equal.exp: New file.
7237 * gdb.guile/scm-error.exp: New file.
7238 * gdb.guile/scm-error.scm: New file.
7239 * gdb.guile/scm-frame-args.c: New file.
7240 * gdb.guile/scm-frame-args.exp: New file.
7241 * gdb.guile/scm-frame-args.scm: New file.
7242 * gdb.guile/scm-frame-inline.c: New file.
7243 * gdb.guile/scm-frame-inline.exp: New file.
7244 * gdb.guile/scm-frame.c: New file.
7245 * gdb.guile/scm-frame.exp: New file.
7246 * gdb.guile/scm-generics.exp: New file.
7247 * gdb.guile/scm-gsmob.exp: New file.
7248 * gdb.guile/scm-iterator.c: New file.
7249 * gdb.guile/scm-iterator.exp: New file.
7250 * gdb.guile/scm-math.c: New file.
7251 * gdb.guile/scm-math.exp: New file.
7252 * gdb.guile/scm-objfile-script-gdb.in: New file.
7253 * gdb.guile/scm-objfile-script.c: New file.
7254 * gdb.guile/scm-objfile-script.exp: New file.
7255 * gdb.guile/scm-objfile.c: New file.
7256 * gdb.guile/scm-objfile.exp: New file.
7257 * gdb.guile/scm-ports.exp: New file.
7258 * gdb.guile/scm-pretty-print.c: New file.
7259 * gdb.guile/scm-pretty-print.exp: New file.
7260 * gdb.guile/scm-pretty-print.scm: New file.
7261 * gdb.guile/scm-section-script.c: New file.
7262 * gdb.guile/scm-section-script.exp: New file.
7263 * gdb.guile/scm-section-script.scm: New file.
7264 * gdb.guile/scm-symbol.c: New file.
7265 * gdb.guile/scm-symbol.exp: New file.
7266 * gdb.guile/scm-symtab-2.c: New file.
7267 * gdb.guile/scm-symtab.c: New file.
7268 * gdb.guile/scm-symtab.exp: New file.
7269 * gdb.guile/scm-type.c: New file.
7270 * gdb.guile/scm-type.exp: New file.
7271 * gdb.guile/scm-value-cc.cc: New file.
7272 * gdb.guile/scm-value-cc.exp: New file.
7273 * gdb.guile/scm-value.c: New file.
7274 * gdb.guile/scm-value.exp: New file.
7275 * gdb.guile/source2.scm: New file.
7276 * gdb.guile/types-module.cc: New file.
7277 * gdb.guile/types-module.exp: New file.
7278
7026a7c1
YQ
72792014-02-10 Yao Qi <yao@codesourcery.com>
7280
7281 PR testsuite/16543
7282 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7283 * configure: Regenerated.
7284 * Makefile.in: New file.
7285
6c466447
AS
72862014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7287
7288 * gdb.python/py-framefilter.exp: Fix typo.
7289
6e854735
YQ
72902014-02-08 Yao Qi <yao@codesourcery.com>
7291
7292 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7293 that no =breakpoint-modified is emitted when breakpoints are
7294 modified through MI commands.
7295
d137e6dc
PA
72962014-02-07 Pedro Alves <pedro@codesourcery.com>
7297 Pedro Alves <palves@redhat.com>
7298
7299 * gdb.threads/step-after-sr-lock.c: New file.
7300 * gdb.threads/step-after-sr-lock.exp: New file.
7301
b5ee5a50
PA
73022014-02-07 Pedro Alves <palves@redhat.com>
7303
7304 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7305
3c77faf3
JK
73062014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7307
7308 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7309 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7310
6dddc817
DE
73112014-02-06 Doug Evans <xdje42@gmail.com>
7312
7313 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7314 output.
7315
7316 * gdb.gdb/python-interrupts.exp: New file.
7317
de7b2893
YQ
73182014-02-05 Yao Qi <yao@codesourcery.com>
7319
7320 * gdb.trace/report.exp (use_collected_data): Test the output
7321 of "info threads" and "info inferiors".
7322
66d032ac
YQ
73232014-02-05 Yao Qi <yao@codesourcery.com>
7324
7325 Revert this patch:
7326
7327 2013-05-24 Yao Qi <yao@codesourcery.com>
7328
7329 * gdb.trace/tfile.exp: Test inferior and thread.
7330
591a12a1
UW
73312014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7332
7333 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7334 on a function.
7335 * gdb.base/step-bt.c: Call hello via function pointer to make
7336 sure its first instruction is executed on powerpc64le-linux.
7337
0ff3e01f
UW
73382014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7339
7340 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7341
084ee545
UW
73422014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7343
7344 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7345 of the test patterns for use on little-endian systems.
7346
6ed14ff3
UW
73472014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7348
7349 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7350 (decimal_vector): Fix for little-endian.
7351
401e27fd
JM
73522014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7353
7354 * gdb.arch/sparc-sysstep.exp: New file.
7355 * gdb.arch/sparc-sysstep.c: Likewise.
7356
7357 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7358
8b924729
EBM
73592014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7360
7361 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7362
fb151210
JB
73632014-01-23 Tom Tromey <tromey@redhat.com>
7364
7365 * gdb.ada/array_char_idx: New testcase.
7366
0740f8d8
TT
73672014-01-23 Tom Tromey <tromey@redhat.com>
7368
7369 PR python/16487:
7370 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7371 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7372 classes.
7373
21909fa1
TT
73742014-01-23 Tom Tromey <tromey@redhat.com>
7375
7376 PR python/16491:
7377 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7378 string from an inferior frame.
7379 * gdb.python/py-framefilter-mi.exp: Update.
7380
87ce2a04
DE
73812014-01-22 Doug Evans <dje@google.com>
7382
7383 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7384
237b092b
AA
73852014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7386
7387 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7388
d674a709
AA
73892014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7390
7391 * gdb.trace/entry-values.exp: Remove excess space character from
7392 regex patterns. Handle s390 call instruction.
7393
20fa3390
AA
73942014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7395
7396 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7397 define "*_start" label. Make "name" static.
7398 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7399 ${name} by references to ${name}_start.
7400
78466714
AA
74012014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7402
7403 * gdb.base/info-macros.exp: Remove "debug" from the compile
7404 options.
7405
ec9f644a
IB
74062014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7407
7408 * gdb.dlang/demangle.exp: New file.
7409
94b1b47e
IB
74102014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7411
7412 * gdb.dlang/primitive-types.exp: New file.
7413
7f420862
IB
74142014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7415
7416 * configure.ac: Create gdb.dlang/Makefile.
7417 * configure: Regenerate.
7418 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7419 * gdb.dlang/Makefile.in: New file.
7420 * lib/d-support.exp: New file.
7421 * lib/gdb.exp (skip_d_tests): New proc.
7422
52834460
MM
74232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7424
7425 * gdb.btrace/delta.exp: Check reverse stepi.
7426 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7427 * gdb.btrace/finish.exp: New.
7428 * gdb.btrace/next.exp: New.
7429 * gdb.btrace/nexti.exp: New.
7430 * gdb.btrace/record_goto.c: Add comments.
7431 * gdb.btrace/step.exp: New.
7432 * gdb.btrace/stepi.exp: New.
7433 * gdb.btrace/multi-thread-step.c: New.
7434 * gdb.btrace/multi-thread-step.exp: New.
7435 * gdb.btrace/rn-dl-bind.c: New.
7436 * gdb.btrace/rn-dl-bind.exp: New.
7437 * gdb.btrace/data.c: New.
7438 * gdb.btrace/data.exp: New.
7439 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7440
6e07b1d2
MM
74412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7442
7443 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7444 * gdb.btrace/exception.exp: Update.
7445 * gdb.btrace/instruction_history.exp: Update.
7446 * gdb.btrace/record_goto.exp: Update.
7447 * gdb.btrace/tailcall.exp: Update.
7448 * gdb.btrace/unknown_functions.exp: Update.
7449 * gdb.btrace/delta.exp: New.
7450
0b722aec
MM
74512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7452
7453 * gdb.btrace/record_goto.exp: Add backtrace test.
7454 * gdb.btrace/tailcall.exp: Add backtrace test.
7455
066ce621
MM
74562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7457
7458 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7459 * gdb.btrace/record_goto.c: New.
7460 * gdb.btrace/record_goto.exp: New.
7461 * gdb.btrace/x86-record_goto.S: New.
7462
0688d04e
MM
74632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7464
7465 * gdb.btrace/function_call_history.exp: Update tests.
7466 * gdb.btrace/instruction_history.exp: Update tests.
7467
8710b709
MM
74682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7469
7470 * gdb.btrace/function_call_history.exp: Fix expected field
7471 order for "record function-call-history".
7472 Add new tests for "record function-call-history /c".
7473 * gdb.btrace/exception.cc: New.
7474 * gdb.btrace/exception.exp: New.
7475 * gdb.btrace/tailcall.exp: New.
7476 * gdb.btrace/x86-tailcall.S: New.
7477 * gdb.btrace/x86-tailcall.c: New.
7478 * gdb.btrace/unknown_functions.c: New.
7479 * gdb.btrace/unknown_functions.exp: New.
7480 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7481
5de9129b
MM
74822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7483
7484 * gdb.btrace/instruction_history.exp: Update.
7485 * gdb.btrace/function_call_history.exp: Update.
7486
23a7fe75
MM
74872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7488
7489 * gdb.btrace/function_call_history.exp: Fix expected function
7490 trace.
7491 * gdb.btrace/instruction_history.exp: Initialize traced.
7492 Remove traced_functions.
7493
724c7dd8
MM
74942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7495
7496 * gdb.btrace/function_call_history.exp: Update
7497 * gdb.btrace/instruction_history.exp: Update.
7498
6d78d93b
MM
74992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7500
7501 * gdb.btrace/enable.exp: Update expected text.
7502
93a360cc
OJ
75032014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7504
7505 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7506 bytes.
7507
3772b53f
MR
75082014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7509
7510 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7511
596662fa
OJ
75122014-01-15 Omair Javaid <omair.javaid@linaro.org>
7513
7514 * lib/gdb.exp (supports_process_record): Return true for
7515 arm*-linux*. (supports_reverse): Likewise.
7516
b5b08fb4
SC
75172014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7518
7519 PR python/15464
7520 PR python/16113
7521 * gdb.python/py-type.c: Enhance test case.
7522 * gdb.python/py-value-cc.cc: Likewise
7523 * gdb.python/py-type.exp: Add new tests.
7524 * gdb.python/py-value-cc.exp: Likewise
7525
52d7fb13
AA
75262014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7527 Pedro Alves <palves@redhat.com>
7528
7529 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7530 Make "name" extern.
7531 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7532 references to ${name}_start by references to ${name}.
7533
a2cd8cfe
JB
75342014-01-10 Joel Brobecker <brobecker@adacore.com>
7535
7536 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7537
4e23fced
JB
75382014-01-10 Joel Brobecker <brobecker@adacore.com>
7539
7540 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7541
c6a9e42c
PA
75422014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7543 Pedro Alves <palves@redhat.com>
7544
7545 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7546 mi_gdb_target_load.
c6a9e42c 7547
b7ea362b
PA
75482014-01-08 Pedro Alves <palves@redhat.com>
7549
7550 * gdb.threads/reconnect-signal.c: New file.
7551 * gdb.threads/reconnect-signal.exp: New file.
7552
5e3f4fab
EBM
75532014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7554
7555 * gdb.base/source-dir.exp: New file.
7556
79301218
JB
75572014-01-07 Joel Brobecker <brobecker@adacore.com>
7558
7559 * gdb.ada/mi_interface: New testcase.
7560
8e355c5d
JB
75612014-01-07 Joel Brobecker <brobecker@adacore.com>
7562
7563 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7564 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7565 gdb.ada/pp-rec-component/pck.ads: New files.
7566
c0d48811
JB
75672014-01-07 Joel Brobecker <brobecker@adacore.com>
7568
7569 * gdb.python/py-pp-integral.c: New file.
7570 * gdb.python/py-pp-integral.py: New file.
7571 * gdb.python/py-pp-integral.exp: New file.
7572
17b609c3 7573For older changes see ChangeLog-1993-2013.
c906108c 7574\f
8d8cb839
EZ
7575;; Local Variables:
7576;; mode: change-log
7577;; left-margin: 8
7578;; fill-column: 74
7579;; version-control: never
7580;; End:
902f2ccb 7581
618f726f 7582 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7583 Copying and distribution of this file, with or without modification,
7584 are permitted provided the copyright notice and this notice are preserved.