]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix more testcases with standard_output_file.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
c99dbb42
JK
12016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
4 * gdb.arch/i386-prologue.exp: Likewise.
5 * gdb.arch/i386-size.exp: Likewise.
6
aa480355
SM
72016-02-15 Simon Marchi <simon.marchi@ericsson.com>
8
9 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10 define object file path.
11 * gdb.btrace/gcore.exp: Use standard_output_file to define core
12 file path.
13 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
14 standard_output_file to define binfile.
15
ba881f50
JK
162016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17
18 Fix compatibility with recent gfortran-5.3.1.
19 * gdb.fortran/vla-history.exp (print vla1 allocated)
20 (print vla2 allocated, print $2, print $3): Remove
21 (print $4): Rename to ...
22 (print $2): ... here.
23 (print $9): Rename to ...
24 (print $5): ... here.
25 (print $10): Rename to ...
26 (print $6): ... here.
27 * gdb.fortran/vla.f90: Add pvla initialization.
28
e9fb005c
JK
292016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
30
31 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
32 New test.
33 * gdb.fortran/vla-value-sub.exp: Likewise.
34
e44e00ff
MK
352016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
36
37 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
38
97e94151
SM
392016-02-12 Simon Marchi <simon.marchi@ericsson.com>
40
41 * i386-biarch-core.exp: Define corefile using
42 standard_output_file.
43
01113bc1
YQ
442016-02-12 Yao Qi <yao.qi@linaro.org>
45
46 * gdb.arch/arm-single-step-kernel-helper.c: New.
47 * gdb.arch/arm-single-step-kernel-helper.exp: New.
48
33b4777c
MM
492016-02-12 Markus Metzger <markus.t.metzger@intel.com>
50
51 * gdb.btrace/tailcall-only.exp: New.
52 * gdb.btrace/tailcall-only.c: New.
53 * gdb.btrace/x86_64-tailcall-only.S: New.
54 * gdb.btrace/i686-tailcall-only.S: New.
55
acc23c11
PA
562016-02-11 Pedro Alves <palves@redhat.com>
57
58 * README (Parallel testing): Add missing double quotes.
59
e352bf0a
PA
602016-02-11 Pedro Alves <palves@redhat.com>
61
62 * README (Parallel testing): New section.
63 (GDB_PARALLEL): Rewrite.
64 (FORCE_PARALLEL): Document.
65
9f5fed78
MK
662016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
67
68 * gdb.trace/tfile-avx.c: New test.
69 * gdb.trace/tfile-avx.exp: New test.
70
9ef9e6a6
KS
712016-02-09 Keith Seitz <keiths@redhat.com>
72
73 PR breakpoints/19546
74 * gdb.base/infcall-exec.c: New file.
75 * gdb.base/infcall-exec2.c: New file.
76 * gdb.base/infcall-exec.exp: New file.
77
a96e36da
KS
782016-02-09 Keith Seitz <keiths@redhat.com>
79
80 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
81 (toplevel): Call test_bkpt_address.
82
9f61929f
KS
832016-02-09 Keith Seitz <keiths@redhat.com>
84
85 PR python/19506
86 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
87 (toplevel): Call test_bkpt_address.
88
1e94266c
SM
892016-02-09 Simon Marchi <simon.marchi@ericsson.com>
90
91 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
92 to AC_OUTPUT.
93 * configure: Regenerate.
94
2a7f3dff
PA
952016-02-09 Pedro Alves <palves@redhat.com>
96
97 PR breakpoints/19548
98 * gdb.base/execl-update-breakpoints.c (some_function): New
99 function.
100 (main): Call it.
101 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
102 Tighten expected GDB output.
103
2151ccc5
SM
1042016-02-08 Simon Marchi <simon.marchi@ericsson.com>
105
106 * Makefile.in (ALL_SUBDIRS): Remove.
107 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
108 (distclean maintainer-clean realclean): Likewise.
109 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
110 * configure: Regenerate.
111 * gdb.ada/Makefile.in: Delete.
112 * gdb.arch/Makefile.in: Likewise.
113 * gdb.asm/Makefile.in: Likewise.
114 * gdb.base/Makefile.in: Likewise.
115 * gdb.btrace/Makefile.in: Likewise.
116 * gdb.cell/Makefile.in: Likewise.
117 * gdb.compile/Makefile.in: Likewise.
118 * gdb.cp/Makefile.in: Likewise.
119 * gdb.disasm/Makefile.in: Likewise.
120 * gdb.dlang/Makefile.in: Likewise.
121 * gdb.dwarf2/Makefile.in: Likewise.
122 * gdb.fortran/Makefile.in: Likewise.
123 * gdb.gdb/Makefile.in: Likewise.
124 * gdb.go/Makefile.in: Likewise.
125 * gdb.guile/Makefile.in: Likewise.
126 * gdb.java/Makefile.in: Likewise.
127 * gdb.linespec/Makefile.in: Likewise.
128 * gdb.mi/Makefile.in: Likewise.
129 * gdb.modula2/Makefile.in: Likewise.
130 * gdb.multi/Makefile.in: Likewise.
131 * gdb.objc/Makefile.in: Likewise.
132 * gdb.opencl/Makefile.in: Likewise.
133 * gdb.opt/Makefile.in: Likewise.
134 * gdb.pascal/Makefile.in: Likewise.
135 * gdb.perf/Makefile.in: Likewise.
136 * gdb.python/Makefile.in: Likewise.
137 * gdb.reverse/Makefile.in: Likewise.
138 * gdb.server/Makefile.in: Likewise.
139 * gdb.stabs/Makefile.in: Likewise.
140 * gdb.threads/Makefile.in: Likewise.
141 * gdb.trace/Makefile.in: Likewise.
142 * gdb.xml/Makefile.in: Likewise.
143 * lib/gdb.exp (make_gdb_parallel_path): Add check for
144 GDB_PARALLEL.
145 (standard_output_file): Remove check for GDB_PARALLEL, always
146 return path in outputs/$subdir/$testname.
147
437277d4
SM
1482016-02-08 Simon Marchi <simon.marchi@ericsson.com>
149
150 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
151 (site.exp): Assign abs_srcdir to tcl's srcdir.
152
31d913c7
YQ
1532016-02-04 Yao Qi <yao.qi@linaro.org>
154
155 * gdb.base/foll-exec-mode.c: Include limits.h.
156 (main): Add parameters argc and argv. Get directory from
157 argv[0].
158 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
159 compilation.
160 * gdb.base/foll-exec.c: Include limits.h.
161 (main): Add parameters argc and argv.
162 Get directory from argv[0].
163 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
164 Adjust tests on the number of lines as source code changed.
165 * gdb.base/foll-vfork-exit.c: Include limits.h.
166 (main): Add one line of statement before vfork.
167 * gdb.base/foll-vfork.c: Include limits.h and string.h.
168 (main): Add parameters argc and argv. Get directory from
169 argv[0].
170 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
171 (setup_gdb): Set tbreak to skip some source lines.
172 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
173 (main): Add parameters argc and argv. Get directory from
174 argv[0].
175 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
176 compilation.
177 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
178 (main): Add parameters argc and argv. Get directory from
179 argv[0].
180 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
181 compilation.
182
9482b9fb
DE
1832016-02-01 Doug Evans <dje@google.com>
184
185 * gdb.base/skip.exp: Clean up multiple references to same test name.
186
6b2e4f10
PA
1872016-02-01 Pedro Alves <palves@redhat.com>
188
ccb6afd6 189 PR remote/19496
6b2e4f10
PA
190 * gdb.threads/forking-threads-plus-breakpoint.exp
191 (displaced_stepping_supported): New global.
192 (probe_displaced_stepping_support): New procedure.
193 (do_test): Add 'displaced' parameter, and use it.
194 (top level): Check for displaced stepping support. Add displaced
195 stepping on/off testing axis.
196
37a8db1a
AB
1972016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
198
199 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
200 pointer. Don't perform further tests on the unassociated pointer
201 if the first test fails.
202
5fdf6324
AB
2032016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
204
205 * gdb.base/max-value-size.c: New file.
206 * gdb.base/max-value-size.exp: New file.
207 * gdb.base/huge.exp: Disable max-value-size for this test.
208
935c6144
IB
2092016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
210
211 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
212
7fe8399d
YQ
2132016-01-28 Yao Qi <yao.qi@linaro.org>
214
215 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
216
a2077e25
PA
2172016-01-25 Pedro Alves <palves@redhat.com>
218
219 PR threads/19461
220 * gdb.base/fork-running-state.c: New file.
221 * gdb.base/fork-running-state.exp: New file.
222
1d2736d4
PA
2232016-01-25 Pedro Alves <palves@redhat.com>
224
225 PR gdb/19494
226 * gdb.base/catch-fork-kill.c: New file.
227 * gdb.base/catch-fork-kill.exp: New file.
228
f1da4b11
PA
2292016-01-25 Pedro Alves <palves@redhat.com>
230
231 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
232 Delete, moved to lib/gdb.exp.
233 * gdb.threads/forking-threads-plus-breakpoint.exp
234 (foreach_with_prefix): Likewise.
235 * gdb.threads/process-dies-while-handling-bp.exp
236 (foreach_with_prefix): Likewise.
237 * lib/gdb.exp (foreach_with_prefix): New procedure.
238
45f38546
MK
2392016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
240
241 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
242 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
243
dc29a1ce
MK
2442016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
245
246 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
247 endian targets.
248
092127d7
JK
2492016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
250 Pedro Alves <palves@redhat.com>
251
252 Fix testsuite compatibility with Guile.
253 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
254 number.
255
31d765d3
JK
2562016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
257
258 Fix testsuite compatibility with Guile.
259 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
260 (thread 1): New test for backtrace through signal handler.
261
1ac78c04
YQ
2622016-01-22 Yao Qi <yao.qi@linaro.org>
263
264 PR testsuite/19491
265 * gdb.base/multi-forks.c: Include
266 ../lib/unbuffer_output.c
267 (main): Call gdb_unbuffer_output.
268
4f5946a8
DE
2692016-01-21 Doug Evans <dje@google.com>
270
271 * lib/ada.exp (gdb_compile_ada): Fix typo.
272
305e13e6
JB
2732016-01-21 Joel Brobecker <brobecker@adacore.com>
274
275 * gdb.base/break-fun-addr.exp: New file.
276 * gdb.base/break-fun-addr1.c: New file.
277 * gdb.base/break-fun-addr2.c: New file.
278
5f5dfff6
SM
2792016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
280
281 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
282 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
283 enum flag values.
284
fd356fa2
AA
2852016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
286
287 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
288 when GDB can not set the vector return value. Add more comments
289 for clarification.
290
9df22175
AT
2912016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
292
293 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
294 command.
295
41d1845e
SM
2962016-01-19 Simon Marchi <simon.marchi@ericsson.com>
297
298 * Makefile.in (DO_RUNTEST): Add --status and update usages.
299
01ac6840
SM
3002016-01-19 Simon Marchi <simon.marchi@ericsson.com>
301
302 * Makefile.in (check-single): Pass --status to runtest.
303 (check/%.exp): Likewise.
304
3052016-01-19 Simon Marchi <simon.marchi@ericsson.com>
306
307 * Makefile.in (check-parallel): Propagate return code from make
308 do-check-parallel.
309
bd0a71fa
MK
3102016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
311
312 * gdb.trace/ftrace.exp: Fix expected message on continue.
313 * gdb.trace/pending.exp: Fix expected message on continue.
314 * gdb.trace/trace-break.exp: Fix expected message on continue.
315
8bcbad33
SM
3162016-01-18 Simon Marchi <simon.marchi@ericsson.com>
317
318 * lib/gdb.exp (gdb_test): Remove unused global references.
319
f303dbd6
PA
3202016-01-18 Pedro Alves <palves@redhat.com>
321
322 * gdb.base/async-shell.exp: Adjust expected output.
323 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
324 * gdb.base/siginfo-thread.exp: Adjust expected output.
325 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
326 * gdb.java/jnpe.exp: Adjust expected output.
327 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
328 * gdb.threads/continue-pending-status.exp: Adjust expected output.
329 * gdb.threads/leader-exit.exp: Adjust expected output.
330 * gdb.threads/manythreads.exp: Adjust expected output.
331 * gdb.threads/pthreads.exp: Adjust expected output.
332 * gdb.threads/schedlock.exp: Adjust expected output.
333 * gdb.threads/siginfo-threads.exp: Adjust expected output.
334 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
335 expected output.
336 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
337 output.
338 * gdb.threads/sigthread.exp: Adjust expected output.
339 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
340
b2789696
YQ
3412016-01-18 Yao Qi <yao.qi@linaro.org>
342
343 * gdb.guile/scm-section-script.c: Replace @progbits with
344 %progbits.
345 * gdb.python/py-section-script.c: Likewise.
346
71ef29a8
PA
3472016-01-15 Pedro Alves <palves@redhat.com>
348
349 * gdb.multi/tids.exp: Test star wildcard ranges.
350
3f5b7598
PA
3512016-01-15 Pedro Alves <palves@redhat.com>
352
353 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
354 command from "thread apply" invocation.
355 (thr_apply_info_thr_invalid): Default the expected output to the
356 input tid list.
357 (top level): Add tests that use convenience variables. Add tests
358 for "thread apply" with a valid TID list, but missing the command.
359
663f6d42
PA
3602016-01-13 Pedro Alves <palves@redhat.com>
361
362 * gdb.base/default.exp: Expect $_gthread as well.
363 * gdb.multi/tids.exp: Test $_gthread.
364 * gdb.threads/thread-specific.exp: Test $_gthread.
365
c84f6bbf
PA
3662016-01-13 Pedro Alves <palves@redhat.com>
367
368 * gdb.multi/tids.exp: Test "info threads -gid".
369
22a02324
PA
3702016-01-13 Pedro Alves <palves@redhat.com>
371
372 * gdb.multi/tids.exp: Test InferiorThread.global_num and
373 Breakpoint.thread.
374 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
375
5d5658a1
PA
3762016-01-07 Pedro Alves <palves@redhat.com>
377
378 * gdb.base/break.exp: Adjust to output changes.
379 * gdb.base/hbreak2.exp: Likewise.
380 * gdb.base/sepdebug.exp: Likewise.
381 * gdb.base/watch_thread_num.exp: Likewise.
382 * gdb.linespec/keywords.exp: Likewise.
383 * gdb.multi/info-threads.exp: Likewise.
384 * gdb.threads/thread-find.exp: Likewise.
385 * gdb.multi/tids.c: New file.
386 * gdb.multi/tids.exp: New file.
387
84654457
PA
3882016-01-13 Pedro Alves <palves@redhat.com>
389
390 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
391
e3940304
PA
3922016-01-13 Pedro Alves <palves@redhat.com>
393
394 * gdb.base/default.exp: Expect $_inferior as well.
395 * gdb.multi/base.exp: Test $_inferior.
396
a911d87a
PA
3972016-01-13 Pedro Alves <palves@redhat.com>
398
399 PR breakpoints/19388
400 * gdb.base/catch-signal-siginfo-cond.c: New file.
401 * gdb.base/catch-signal-siginfo-cond.exp: New file.
402
82075af2
JS
4032016-01-12 Josh Stone <jistone@redhat.com>
404 Philippe Waroquiers <philippe.waroquiers@skynet.be>
405
406 * gdb.base/catch-syscall.c (do_execve): New variable.
407 (main): Conditionally trigger an execve.
408 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
409 (test_catch_syscall_execve): New, check entry/return across execve.
410 (do_syscall_tests): Call test_catch_syscall_execve.
411
e46eeedd
PA
4122016-01-12 Pedro Alves <palves@redhat.com>
413
414 * gdb.base/random-signal.exp (do_test): New procedure, with body
415 of testcase moved in.
416
01d8c27e
JK
4172016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
418 Pedro Alves <palves@redhat.com>
419
420 * gdb.base/funcargs.exp (finish from indirectly called function):
421 Reintroduce the case for 'First'.
422
9a706302
JK
4232016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
424 Pedro Alves <palves@redhat.com>
425
426 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
427 (tcatch_vfork_then_child_follow_exec)
428 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
429 identification.
430
c0ecb95f
JK
4312016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
432
433 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
434 and repeats to unlimited.
435 * gdb.python/py-value.exp: Likewise.
436 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
437 and repeats to unlimited.
438
6cfc1fcb
JK
4392016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
440
441 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
442 and reordering the functions.
443 * gdb.multi/hangout.c: Likewise.
444 * gdb.multi/hello.c: Likewise.
445
582a1b00
SM
4462016-01-08 Simon Marchi <simon.marchi@ericsson.com>
447
448 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
449 absolute.
450 (SingleStatisticTestResult.report): Use dict.keys instead of
451 dict.iterkeys.
452
79bc59cb
PA
4532016-01-06 Pedro Alves <palves@redhat.com>
454
455 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
456
43368e1d
MM
4572016-01-04 Markus Metzger <markus.t.metzger@intel.com>
458
459 * gdb.btrace/dlopen.exp: New.
460 * gdb.btrace/dlopen.c: New.
461 * gdb.btrace/dlopen-dso.c: New.
462
79fad5b8
SL
4632015-12-25 Sandra Loosemore <sandra@codesourcery.com>
464
465 * lib/gdb.exp (gdb_test): Update comments to clarify that the
466 PATTERN argument is optional.
467
ab8314b3
JB
4682015-12-24 Joel Brobecker <brobecker@adacore.com>
469
470 * lib/ada.exp (target_compile_ada_from_dir): New function.
471 (gdb_compile_ada): Reimplement avoiding the use of project files.
472 * gdb.ada/gnat_ada.gpr: Delete.
473 * gdb.ada/cond_lang.exp: Adjust test to make path before
474 filename optional.
475 * gdb.ada/small_reg_param.exp: Likewise.
476
fe33faff
SM
4772015-12-22 Simon Marchi <simon.marchi@ericsson.com>
478
479 * gdb.base/foll-vork.exp: Remove HP-UX special case.
480
6d265cb4
TP
4812015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
482
483 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
484 case.
485
10125099
SM
4862015-12-21 Simon Marchi <simon.marchi@ericsson.com>
487
488 * gdb.base/break.exp: Remove dead code.
489 * gdb.base/sepdebug.exp: Likewise.
490
3ca22649
SM
4912015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
492
493 * gdb.asm/asm-source.exp: Remove HP-UX references.
494 * gdb.base/annota1.exp: Likewise.
495 * gdb.base/annota3.exp: Likewise.
496 * gdb.base/attach.exp: Likewise.
497 * gdb.base/bigcore.exp: Likewise.
498 * gdb.base/break.exp: Likewise.
499 * gdb.base/call-ar-st.exp: Likewise.
500 * gdb.base/callfuncs.exp: Likewise.
501 * gdb.base/catch-fork-static.exp: Likewise.
502 * gdb.base/display.exp: Likewise.
503 * gdb.base/foll-exec-mode.exp: Likewise.
504 * gdb.base/foll-exec.exp: Likewise.
505 * gdb.base/foll-fork.exp: Likewise.
506 * gdb.base/foll-vfork.exp: Likewise.
507 * gdb.base/funcargs.exp: Likewise.
508 * gdb.base/hbreak2.exp: Likewise.
509 * gdb.base/inferior-died.exp: Likewise.
510 * gdb.base/interrupt.exp: Likewise.
511 * gdb.base/multi-forks.exp: Likewise.
512 * gdb.base/nodebug.exp: Likewise.
513 * gdb.base/sepdebug.exp: Likewise.
514 * gdb.base/solib1.c: Likewise.
515 * gdb.base/step-test.exp: Likewise.
516 * gdb.mi/non-stop.c: Likewise.
517 * gdb.mi/pthreads.c: Likewise.
518 * gdb.multi/bkpt-multi-exec.ex: Likewise.
519 * gdb.threads/pthreads.c: Likewise.
520 * gdb.threads/staticthreads.exp: Likewise.
521 * lib/future.exp: Likewise.
522 * lib/gdb.exp: Likewise.
523 * gdb.base/so-indr-cl.c: Remove.
524 * gdb.base/so-indr-cl.exp: Likewise.
525 * gdb.base/solib.c: Likewise.
526 * gdb.base/solib.exp: Likewise.
527 * gdb.base/solib2.c: Likewise.
528
b6304613
SM
5292015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
530
531 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
532 * gdb.base/call-ar-st.exp: Likewise.
533 * gdb.base/callfuncs.exp: Likewise.
534 * gdb.base/condbreak.exp: Likewise.
535 * gdb.base/constvars.exp: Likewise.
536 * gdb.base/hbreak2.exp: Likewise.
537 * gdb.base/langs.exp: Likewise.
538 * gdb.base/list.exp: Likewise.
539 * gdb.base/long_long.exp: Likewise.
540 * gdb.base/ptype.exp: Likewise.
541 * gdb.base/scope.exp: Likewise.
542 * gdb.base/signals.exp: Likewise.
543 * gdb.base/so-impl-ld.exp: Likewise.
544 * gdb.base/varargs.exp: Likewise.
545 * gdb.base/volatile.exp: Likewise.
546 * gdb.base/whatis.exp: Likewise.
547 * gdb.cp/cplusfuncs.exp: Likewise.
548 * gdb.cp/inherit.exp: Likewise.
549 * gdb.cp/local.exp: Likewise.
550 * gdb.cp/member-ptr.exp: Likewise.
551 * gdb.cp/method.exp: Likewise.
552 * gdb.cp/overload.exp: Likewise.
553 * gdb.cp/templates.exp: Likewise.
554 * gdb.stabs/weird.exp: Likewise.
555 * lib/compiler.c: Likewise.
556 * lib/compiler.cc: Likewise.
557 * lib/cp-support.exp: Likewise.
558 * lib/gdb.exp: Likewise.
559
bf401b07
SM
5602015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
561
562 * configure.ac: Remove HP-UX case.
563 * configure: Regenerate.
564
aff9c0f8
SM
5652015-12-18 Simon Marchi <simon.marchi@ericsson.com>
566
567 * lib/gdb.exp (gdb_compile): Add function doc.
568
a6904d5a
PA
5692015-12-17 Pedro Alves <palves@redhat.com>
570
571 PR threads/19354
572 * gdb.multi/info-threads.exp: New file.
573
a22279dd
YQ
5742015-12-15 Yao Qi <yao.qi@linaro.org>
575
576 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
577 is aarch64*-*-*.
578
0588c796
SL
5792015-12-14 Sandra Loosemore <sandra@codesourcery.com>
580
581 * gdb.base/history-duplicates.exp: Skip if no readline support.
582
5d978e17
SL
5832015-12-14 Sandra Loosemore <sandra@codesourcery.com>
584
585 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
586
7e763b86
SL
5872015-12-14 Sandra Loosemore <sandra@codesourcery.com>
588
589 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
590
87a3a92c
SL
5912015-12-14 Sandra Loosemore <sandra@codesourcery.com>
592
593 * gdb.base/completion.exp: Skip tests that interrupt GDB with
594 ctrl-C if nointerrupts target property is set.
595 * gdb.base/double-prompt-target-event-error.exp: Likewise.
596 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
597 * gdb.base/paginate-bg-execution.exp: Likewise.
598 * gdb.base/paginate-execution-startup.exp: Likewise.
599 * gdb.base/random-signal.exp: Likewise.
600 * gdb.base/range-stepping.exp: Likewise.
601 * gdb.cp/annota2.exp: Likewise.
602 * gdb.cp/annota3.exp: Likewise.
603 * gdb.gdb/selftest.exp: Likewise.
604 * gdb.threads/continue-pending-status.exp: Likewise.
605 * gdb.threads/leader-exit.exp: Likewise.
606 * gdb.threads/manythreads.exp: Likewise.
607 * gdb.threads/pthreads.exp: Likewise.
608 * gdb.threads/schedlock.exp: Likewise.
609 * gdb.threads/sigthread.exp: Likewise.
610
a8f077dc
DB
6112015-12-11 Don Breazeal <donb@codesourcery.com>
612
613 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
614 remote.
615 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
616 * gdb.base/foll-exec.exp (main): Enable for target remote.
617 * gdb.base/foll-fork.exp (main): Likewise.
618 * gdb.base/foll-vfork.exp (main): Likewise.
619 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
620 (proc continue_to_exit_bp_loc): Use clean_restart.
621 * gdb.base/pie-execl.exp (main): Disable for target remote.
622 * gdb.base/watch-vfork.exp (main): Enable for target remote.
623 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
624 * gdb.threads/execl.exp (main): Likewise.
625 * gdb.threads/fork-child-threads.exp (main): Likewise.
626 * gdb.threads/fork-plus-threads.exp (main): Disable for target
627 remote.
628 * gdb.threads/fork-thread-pending.exp (main): Enable for target
629 remote.
630 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
631 pid.tid style ptids, instead of just tid.
632 * gdb.threads/thread-execl.exp (main): Enable for target remote.
633 * gdb.threads/watchpoint-fork.exp (main): Likewise.
634 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
635 ptids, instead of just tid.
636
3b2464a8
AB
6372015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
638
639 * gdb.base/list.exp (test_list_forward): Add end of file error
640 test.
641 (test_repeat_list_command): Add end of file error test.
642 (test_list_backwards): Add beginning of file error test.
643
a0def019
AB
6442015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
645
646 * gdb.base/list.exp (test_list_invalid_args): New function,
647 defined, and called.
648
5c000dff
AB
6492015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
650
651 * gdb.base/list.exp (test_list): Make test names unique.
652
f1637ebe
YQ
6532015-12-11 Yao Qi <yao.qi@linaro.org>
654
655 * gdb.base/coremaker2.c: Remove.
656
36d6fc0a
PA
6572015-12-10 Pedro Alves <palves@redhat.com>
658
659 * gdb.multi/base.exp: Remove stale "spaces" references.
660
762f7747
PA
6612015-12-10 Pedro Alves <palves@redhat.com>
662
663 * gdb.multi/base.exp: Don't use nowarnings.
664 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
665 * gdb.multi/hangout.c: Include stdio.h.
666 * gdb.multi/hello.c: Include stdlib.h.
667 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
668 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
669 * gdb.multi/multi-arch.exp: Don't use nowarnings.
670
28d2bfb9
AB
6712015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
672
673 * gdb.dwarf2/dw2-ranges-base.c: New file.
674 * gdb.dwarf2/dw2-ranges-base.exp: New file.
675 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
676 support additional line table, and debug ranges generation.
677 (Dwarf::ranges): New function, generate .debug_ranges.
678 (Dwarf::lines): Support generating simple line table programs.
679 (Dwarf::assemble): Initialise new namespace variables.
680
5fc2beac
KB
6812015-12-09 Kevin Buettner <kevinb@redhat.com>
682
683 * gdb.base/async.exp (proc test_background): Add case for
684 asynchronous execution not supported.
685
1c35a88f
LM
6862015-12-09 Luis Machado <lgustavo@codesourcery.com>
687
688 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
689 format and change test names to make them unique.
690
b593e3d9
RK
6912015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
692 Pedro Alves <pedro@redhat.com>
693
694 PR gdb/18702
695 Add checking of floatformats setup on x86_64 hosts.
696 * gdb.arch/i386-float.S (main): Load bigval and smallval.
697 (smallval, bigval): New labels/constants.
698 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
699 float" after loading bigval and smallval.
700
d72413e6
PMR
7012015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
702
703 * gdb.ada/fun_overload_menu.exp: New testcase.
704 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
705
ece66d65
JS
7062015-12-04 Josh Stone <jistone@redhat.com>
707
708 * gdb.base/catch-fork-static.exp: New.
709
41d0efca
YQ
7102015-12-03 Yao Qi <yao.qi@linaro.org>
711
712 * gdb.base/sizeof.c: Don't include stdio.h and
713 ../lib/unbuffer_output.c.
714 (main): New variable 'size' and 'value'. Remove printf and
715 gdb_unbuffer_output. Assign return value to size and value.
716 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
717 at the beginning.
718 (check_sizeof): Check the result by printing variable 'size'.
719 (check_valueof): Check the result by printing variable 'value'.
720
99fd02d9
YQ
7212015-12-01 Yao Qi <yao.qi@linaro.org>
722
723 * gdb.base/disp-step-syscall.exp: Define syscall instruction
724 for aarch64*-*-linux* target.
725
f2faf941
PA
7262015-11-30 Pedro Alves <palves@redhat.com>
727
728 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
729
04bf20c5
PA
7302015-11-30 Pedro Alves <palves@redhat.com>
731
732 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
733 Handle non-stop mode vCont replies.
734
09df4675
PA
7352015-11-30 Pedro Alves <palves@redhat.com>
736
737 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
738 prepare_for_testing. Start gdb with "set non-stop on" appended to
739 GDBFLAGS. Lax expected stop output.
740
58b584af
YQ
7412015-11-27 Yao Qi <yao.qi@linaro.org>
742
743 * gdb.arch/arm-neon.exp: New.
744 * gdb.arch/arm-neon.c: New.
745
dfcb77a8
YQ
7462015-11-27 Yao Qi <yao.qi@linaro.org>
747
748 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
749
88e8ec1b
YQ
7502015-11-27 Yao Qi <yao.qi@linaro.org>
751
752 * gdb.cp/annota2.exp: Allow multiple occurrences of the
753 frames-invalid annotation.
754
bfde72c2
YQ
7552015-11-27 Yao Qi <yao.qi@linaro.org>
756
757 * gdb.cp/annota2.exp: Use ${frames_invalid}.
758
f6512a69
SM
7592015-11-26 Simon Marchi <simon.marchi@ericsson.com>
760
761 * gdb.threads/names.exp: New file.
762 * gdb.threads/names.c: New file.
763 * README: Mention gdb,no_thread_names.
764
46a3515b
MM
7652015-11-26 Markus Metzger <markus.t.metzger@intel.com>
766
767 PR 19297
768 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
769 support" error.
770
62147a22
PA
7712015-11-24 Pedro Alves <palves@redhat.com>
772
773 PR 17539
774 * gdb.base/display.exp: Expect displays to be sorted in ascending
775 order. Use multi_line.
776 * gdb.base/solib-display.exp: Likewise.
777
2f341b6e
PA
7782015-11-24 Pedro Alves <palves@redhat.com>
779
780 PR 17539
781 * gdb.base/display.exp: Expect displays to be sorted in ascending
782 order. Use multi_line.
783 * gdb.base/solib-display.exp: Likewise.
784
7e0aa6aa
PA
7852015-11-24 Pedro Alves <palves@redhat.com>
786
787 PR 17539
788 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
789 threads in ascending order.
790 * gdb.base/foll-fork.exp: Likewise.
791 * gdb.base/foll-vfork.exp: Likewise.
792 * gdb.base/multi-forks.exp: Likewise.
793 * gdb.mi/mi-nonstop.exp: Likewise.
794 * gdb.mi/mi-nsintrall.exp: Likewise.
795 * gdb.multi/base.exp: Likewise.
796 * gdb.multi/multi-arch.exp: Likewise.
797 * gdb.python/py-inferior.exp: Likewise.
798 * gdb.threads/break-while-running.exp: Likewise.
799 * gdb.threads/execl.exp: Likewise.
800 * gdb.threads/gcore-thread.exp: Likewise.
801 * gdb.threads/info-threads-cur-sal.exp: Likewise.
802 * gdb.threads/kill.exp: Likewise.
803 * gdb.threads/linux-dp.exp: Likewise.
804 * gdb.threads/multiple-step-overs.exp: Likewise.
805 * gdb.threads/next-bp-other-thread.exp: Likewise.
806 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
807 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
808 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
809 * gdb.threads/thread-find.exp: Likewise.
810 * gdb.threads/tls.exp: Likewise.
811 * lib/mi-support.exp (mi_reverse_list): Delete.
812 (mi_check_thread_states): No longer reverse list.
813
2cc57ad8
PA
8142015-11-24 Pedro Alves <palves@redhat.com>
815
816 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
817 use lowercase.
818
c93e8391
SM
8192015-11-23 Simon Marchi <simon.marchi@ericsson.com>
820
821 * gdb.trace/actions.c: Include trace-common.h.
822 (main): Add a location for a fast tracepoint.
823 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
824 the normal tracepoints.
825 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
826
045ccf91
SM
8272015-11-23 Simon Marchi <simon.marchi@ericsson.com>
828
829 * save-trace.exp: Factor out code to these...
830 (gdb_save_tracepoints): New.
831 (gdb_load_tracepoints): New.
832 (do_save_load_test): New.
833
5506f9f6
KB
8342015-11-23 Kevin Buettner <kevinb@redhat.com>
835
836 * gdb.base/asmlabel.exp: New test.
837 * gdb.base/asmlabel.c: New test case.
838
16c3b12f
JB
8392015-11-23 Joel Brobecker <brobecker@adacore.com>
840
841 * gdb.base/wrong_frame_bt_full-main.c: New file.
842 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
843 * gdb.base/wrong_frame_bt_full.exp: New file.
844
155bfbd3
JB
8452015-11-23 Joel Brobecker <brobecker@adacore.com>
846
847 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
848
bb097445
JM
8492015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
850
206853a0 851 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
852 pstate register when comparing registers values in
853 sparc64-*-linux-gnu targets to avoid spurious differences.
854
9c88ed8f
JM
8552015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
856
206853a0 857 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 858
96161e25
SL
8592015-11-19 Sandra Loosemore <sandra@codesourcery.com>
860
861 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
862 as type argument to gdb_compile.
863 * gdb.base/nested-subp2.exp: Likewise.
864 * gdb.base/nested-subp3.exp: Likewise.
865
340c2830
DV
8662015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
867
868 * lib/dwarf.exp (_note): Fix left shift of negative value.
869 * gdb.trace/trace-condition.exp: Likewise.
870
c1862d0f
YQ
8712015-11-13 Yao Qi <yao.qi@linaro.org>
872
873 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
874 comments about d10v.
875 (test_scalar_returns): Likewise.
876 * gdb.base/d10v.ld: Remove.
877 * gdb.base/overlays.exp: Remove the target triplet checking for
878 d10v-*-*.
879 * gdb.base/structs.exp (test_struct_returns): Remove the
880 comments about d10v.
881 (test_struct_calls): Likewise.
882
77ae9c19
YQ
8832015-11-13 Yao Qi <yao.qi@linaro.org>
884
885 * gdb.base/gnu_vector.exp: Check the return value by "p res".
886 * gdb.base/gnu_vector.c: Don't include stdio.h.
887 (main): Don't print res and call add_some_intvecs.
888
430e004e
MK
8892015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
890
891 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
892 macro.
893 (func5): Removed.
894 (func4): Use FAST_TRACEPOINT_LABEL.
895 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
896 macro.
897 (func): Removed.
898 (thread_function): Use FAST_TRACEPOINT_LABEL.
899 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
900 (func): Remove.
901 (marker): Use FAST_TRACEPOINT_LABEL.
902 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
903 (pendfunc1): Remove.
904 (pendfunc): Use FAST_TRACEPOINT_LABEL.
905 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
906 (foo): Remove.
907 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
908 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
909 macro.
910 (func): Remove.
911 (marker): Use FAST_TRACEPOINT_LABEL.
912 * gdb.trace/trace-common.h: New header.
913 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
914 macro.
915 (func): Remove.
916 (marker): Use FAST_TRACEPOINT_LABEL.
917 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
918 (func): Remove.
919 (thread_function): Use FAST_TRACEPOINT_LABEL.
920
6e7675a7
MK
9212015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
922
923 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
924 in front.
925 * gdb.trace/change-loc.exp: Use global pcreg definition.
926 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
927 * gdb.trace/entry-values.exp: Use global spreg definition, add $
928 in front.
929 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
930 * gdb.trace/pending.exp: Likewise.
931 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
932 * gdb.trace/trace-break.exp: Likewise.
933 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
934 in front.
935 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
936 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
937 in front.
938 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
939
dddc0e16
JB
9402015-11-09 Joel Brobecker <brobecker@adacore.com>
941
942 * gdb.ada/fin_fun_out: New testcase.
943
c6f0b406
KB
9442015-11-07 Kevin Buettner <kevinb@redhat.com>
945
946 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
947 value associated with DW_AT_byte_size.
948 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
949 constants for DW_AT_byte_size, DW_AT_lower_bound, and
950 DW_AT_upper_bound.
951
f01dcfd9
KB
9522015-11-07 Kevin Buettner <kevinb@redhat.com>
953
954 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
955 (gdb_target_symbol_prefix_flags): Define in terms of _asm
956 version.
957 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
958 gdb.dwarf2/dw2-canonicalize-type.exp,
959 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
960 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
961 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
962 provided by gdb_target_symbol_prefix_flags_asm.
963 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
964 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
965 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
966 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
967 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
968 macros where needed). Use this macro for symbols which require
969 the prefix provided by SYMBOL_PREFIX.
970
2223449a
KB
9712015-11-05 Kevin Buettner <kevinb@redhat.com>
972
973 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
974 New procs.
975 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
976 representing expressions, of more than one list element.
977 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
978 to prepend linker symbol prefix to f.
979 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
980 table_1 and table_2.
981 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
982 Likewise, for f and g.
983 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
984 for ptr.
985 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
986 for main.
987 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
988 table_1_ptr and table_2_ptr.
989
6f2f1a3a
JK
9902015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
991 Joel Brobecker <brobecker@adacore.com>
992
993 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
994
566c56c9
MK
9952015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
996
997 * gdb.reverse/s390-mvcle.c: New test.
998 * gdb.reverse/s390-mvcle.exp: New file.
999 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1000
d5f0636b
MK
10012015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1002
1003 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1004
7ad8b86c
MK
10052015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1006
1007 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1008 reaching marker2.
1009 * gdb.reverse/getresuid-reverse.exp: Likewise.
1010 * gdb.reverse/pipe-reverse.exp: Likewise.
1011 * gdb.reverse/readv-reverse.exp: Likewise.
1012 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1013 * gdb.reverse/time-reverse.exp: Likewise.
1014 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1015
4081c0f1
YQ
10162015-10-30 Yao Qi <yao.qi@linaro.org>
1017
1018 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1019 (empty_cycle): Remove.
1020 (main): Don't call empty_cycle. Don't use watch_count_done.
1021 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1022 empty_cycle. Rewrite the code counting HW watchpoints.
1023
452b4ba5
MK
10242015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1025
1026 * gdb.reverse/fstatat-reverse.c: New test.
1027 * gdb.reverse/fstatat-reverse.exp: New file.
1028 * gdb.reverse/getresuid-reverse.c: New test.
1029 * gdb.reverse/getresuid-reverse.exp: New file.
1030 * gdb.reverse/pipe-reverse.c: New test.
1031 * gdb.reverse/pipe-reverse.exp: New file.
1032 * gdb.reverse/readv-reverse.c: New test.
1033 * gdb.reverse/readv-reverse.exp: New file.
1034 * gdb.reverse/recvmsg-reverse.c: New test.
1035 * gdb.reverse/recvmsg-reverse.exp: New file.
1036 * gdb.reverse/time-reverse.c: New test.
1037 * gdb.reverse/time-reverse.exp: New file.
1038 * gdb.reverse/waitpid-reverse.c: New test.
1039 * gdb.reverse/waitpid-reverse.exp: New file.
1040
5e2e7507
JK
10412015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1042
1043 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1044
0fde2c53
DE
10452015-10-26 Doug Evans <dje@google.com>
1046
1047 PR symtab/17391
1048 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1049 * gdb.dwarf2/bad-regnum.c: New file.
1050 * gdb.dwarf2/bad-regnum.exp: New file.
1051
1a70ae97
DE
10522015-10-26 Doug Evans <dje@google.com>
1053
1054 PR python/18938
1055 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1056 file.
1057
27dc26ab
JK
10582015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1059
1060 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1061 for a change by "Mention language in compile error message".
1062
bed91f4d
SM
10632015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1064
1065 PR python/18073
1066 * gdb.python/py-type.c (C::a_method): New.
1067 (C::a_const_method): New.
1068 (C::a_static_method): New.
1069 (a_function): New.
1070 * gdb.python/py-type.exp (test_fields): Test getting fields
1071 from function and method.
1072
3f2f83dd
KB
10732015-10-21 Keven Boell <keven.boell@intel.com>
1074
1075 * gdb.fortran/vla-alloc-assoc.exp: New file.
1076 * gdb.fortran/vla-datatypes.exp: New file.
1077 * gdb.fortran/vla-datatypes.f90: New file.
1078 * gdb.fortran/vla-history.exp: New file.
1079 * gdb.fortran/vla-ptype-sub.exp: New file.
1080 * gdb.fortran/vla-ptype.exp: New file.
1081 * gdb.fortran/vla-sizeof.exp: New file.
1082 * gdb.fortran/vla-sub.f90: New file.
1083 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1084 * gdb.fortran/vla-value-sub-finish.exp: New file.
1085 * gdb.fortran/vla-value-sub.exp: New file.
1086 * gdb.fortran/vla-value.exp: New file.
1087 * gdb.fortran/vla-ptr-info.exp: New file.
1088 * gdb.mi/mi-vla-fortran.exp: New file.
1089 * gdb.mi/vla.f90: New file.
1090
27145d50
SL
10912015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1092
1093 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1094 of hardwired timeout value.
1095
5f3ff4f8
JK
10962015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1097 Pedro Alves <palves@redhat.com>
1098
1099 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1100 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1101
bfd09d20
JS
11022015-10-19 Josh Stone <jistone@redhat.com>
1103
1104 * gdb.base/catch-syscall.c: Include <sched.h>.
1105 (unknown_syscall): New variable.
1106 (main): Trigger a vfork and an unknown syscall.
1107 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1108 (unknown_syscall_number): Likewise.
1109 (check_call_to_syscall): Accept an optional syscall pattern.
1110 (check_return_from_syscall): Likewise.
1111 (check_continue): Likewise.
1112 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1113 (test_catch_syscall_skipping_return): New test toggling off 'catch
1114 syscall' to step over the syscall return, then toggling back on.
1115 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1116 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1117 (do_syscall_tests): Call test_catch_syscall_without_args and
1118 test_catch_syscall_mid_vfork.
1119 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1120 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1121
b32b93c6
AS
11222015-10-19 Andrew Stubbs <ams@codesourcery.com>
1123
1124 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1125 print g_vE): Add new pass patterns.
1126 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1127 print various symbol names for vptr fields.
1128
9d622bda
AB
11292015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1130
1131 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1132 results.
1133
0fd8ac1c
YQ
11342015-10-12 Yao Qi <yao.qi@linaro.org>
1135
1136 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1137
34240514
YQ
11382015-10-12 Yao Qi <yao.qi@linaro.org>
1139
1140 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1141 is aarch64*-*-linux*.
1142
8240f442
YQ
11432015-10-12 Yao Qi <yao.qi@linaro.org>
1144
1145 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1146 (can_relocate_bcond_true): ... it.
1147 (can_relocate_bcond_false): New function.
1148 (foo): Likewise.
1149 (can_relocate_bl): Likewise.
1150 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1151 can_relocate_bl.
1152
2520f728
PMR
11532015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1154
1155 * gdb.base/nested-addr.c: New file.
1156 * gdb.base/nested-addr.exp: New testcase.
1157
abcef95a
MM
11582015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1159
1160 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1161 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1162 its output. Ignore the output of "record goto begin" and instead
1163 check that GDB is replaying.
1164
145e3ddb
PA
11652015-10-09 Pedro Alves <palves@redhat.com>
1166
1167 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1168 (top level): Use it in the run with no args test.
1169
d5d8c4e1
IB
11702015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1171
1172 * gdb.dlang/properties.exp: New file.
1173
06e635ef
SL
11742015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1175
1176 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1177 whether or not address 0x1000 is mapped on the target.
1178
e019fd1d
SM
11792015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1180
1181 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1182 build.
1183
77ba2a67
MM
11842015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1185
1186 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1187 instruction-history test.
1188
c60eb31f
DE
11892015-09-28 Doug Evans <dje@google.com>
1190
1191 * gdb.base/gcore.c (array_func): Add reference to static_array.
1192
9a3c8263
SM
11932015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1194
1195 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1196 source line.
1197
9720e656
SL
11982015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1199
1200 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1201 short or char as base type.
1202
938d3bf2
SL
12032015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1204
1205 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1206 to allow any size enum.
1207
e6c2c623
PMR
12082015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1209
1210 * gdb.ada/array_ptr_renaming.exp: New testcase.
1211 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1212 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1213
06da0f77
PL
12142015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1215
1216 * gdb.trace/ftrace-lock.c: New file.
1217 * gdb.trace/ftrace-lock.exp: New file.
1218
4f51c22a
PL
12192015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1220
1221 * gdb.arch/insn-reloc.c: New file.
1222 * gdb.arch/ftrace-insn-reloc.exp: New file.
1223
7041adf4
PL
12242015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1225
1226 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1227 instruction.
1228 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1229 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1230 * gdb.trace/range-stepping.c: Likewise.
1231 * gdb.trace/trace-break.c: Likewise.
1232 * gdb.trace/trace-mt.c (thread_function): Likewise.
1233 * gdb.trace/ftrace.c (marker): Likewise.
1234 * gdb.trace/trace-condition.c (marker): Likewise.
1235 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1236 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1237 is_aarch64_target.
1238
015d2e7e
DE
12392015-09-18 Doug Evans <xdje42@gmail.com>
1240
1241 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1242 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1243
26b188a2
SL
12442015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1245
1246 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1247 the breakpoint.
1248
79dc332b
SL
12492015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1250
1251 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1252 the pending breakpoint. Remove timeout override for "Run till
1253 MI pending breakpoint on pendfunc3 on thread 2" test.
1254
f57929f2
SL
12552015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1256
1257 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1258 filename pattern.
1259
3f469b17
SL
12602015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1261
1262 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1263 in breakpoint filename pattern.
1264
515b89b3
SL
12652015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1266
7800dbe4
SL
1267 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1268
12692015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1270
515b89b3
SL
1271 * gdb.linespec/explicit.exp: Check for readline support for
1272 tab-completion tests. Fix obvious typo.
1273
d2939ba2
MM
12742015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1275
1276 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1277 and replay.
1278
cbb55fa7
MM
12792015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1280
1281 * gdb.btrace/non-stop.c: New.
1282 * gdb.btrace/non-stop.exp: New.
1283
43691ca1
PL
12842015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1285 Yao Qi <yao.qi@linaro.org>
1286
1287 * gdb.trace/trace-condition.c: New file.
1288 * gdb.trace/trace-condition.exp: New file.
1289
d78908cf
WW
12902015-09-16 Wei-cheng Wang <cole945@gmail.com>
1291
1292 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1293 for testing bytecode compilation.
1294
1ed415e2
PA
12952015-09-16 Pedro Alves <palves@redhat.com>
1296 Sandra Loosemore <sandra@codesourcery.com>
1297
1298 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1299 (SECONDS): Redefine.
1300 (main): Call pthread_kill and alarm early.
1301 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1302 support.
1303 (test): If the target can't hardware step and doesn't support
1304 displaced stepping, increase the timeout.
1305
d136eff5
PA
13062015-09-16 Pedro Alves <palves@redhat.com>
1307
1308 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1309 (enable_debug): New procedures.
1310 (test): Use them. Bail out if waiting for threads fails.
1311 (top level): Bail out if a test fails.
1312
991f019c
YQ
13132015-09-16 Yao Qi <yao.qi@linaro.org>
1314
1315 * gdb.asm/asm-source.exp: Set asm-arch for
1316 aarch64*-*-* target.
1317 * gdb.asm/aarch64.inc: New file.
1318
bfca584f
PMR
13192015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1320
1321 * gdb.ada/array_of_variable_length.exp: New testcase.
1322 * gdb.ada/array_of_variable_length/foo.adb: New file.
1323 * gdb.ada/array_of_variable_length/pck.adb: New file.
1324 * gdb.ada/array_of_variable_length/pck.ads: New file.
1325
b326e587
DE
13262015-09-15 Doug Evans <dje@google.com>
1327
1328 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1329 of function static local variable.
1330
5382cfab
PW
13312015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1332
1333 * gdb.threads/tls-so_extern.exp: New test file.
1334 * gdb.threads/tls-so_extern.c: New test file.
1335 * gdb.threads/tls-so_extern_main.c: New test file.
1336
141c5cc4
JK
13372015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1338
1339 * gdb.opt/solib-intra-step-lib.c: New file.
1340 * gdb.opt/solib-intra-step-main.c: New file.
1341 * gdb.opt/solib-intra-step.exp: New file.
1342
d15dcecd
PA
13432015-09-15 Pedro Alves <palves@redhat.com>
1344
1345 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1346 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1347
4c2f2a79
PA
13482015-09-14 Pedro Alves <palves@redhat.com>
1349
1350 * gdb.base/hook-stop-continue.c: Delete.
1351 * gdb.base/hook-stop-continue.exp: Delete.
1352 * gdb.base/hook-stop-frame.c: Delete.
1353 * gdb.base/hook-stop-frame.exp: Delete.
1354 * gdb.base/hook-stop.c: New file.
1355 * gdb.base/hook-stop.exp: New file.
1356
919e6dbe
PMR
13572015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1358
1359 * gdb.ada/access_to_packed_array.exp: New testcase.
1360 * gdb.ada/access_to_packed_array/foo.adb: New file.
1361 * gdb.ada/access_to_packed_array/pack.adb: New file.
1362 * gdb.ada/access_to_packed_array/pack.ads: New file.
1363
157280a4
MM
13642015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1365
1366 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1367 buffer size test.
1368
2fd33e94
DB
13692015-09-11 Don Breazeal <donb@codesourcery.com>
1370
1371 * gdb.base/foll-exec.c: Add copyright header. Fix
1372 formatting issues.
1373 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1374 (do_exec_tests): Use clean_restart in place of zap_session,
1375 and for test initialization. Fix formatting issues. Use
1376 fail in place of perror.
1377 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1378 an expect statement to match an expression with output from
1379 the program under debug.
1380 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1381 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1382 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1383 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1384 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1385
e70b6e8e
DE
13862015-09-09 Doug Evans <dje@google.com>
1387
1388 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1389
7a551a51
DE
13902015-09-09 Doug Evans <dje@google.com>
1391
1392 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1393
4c666f84
DE
13942015-09-09 Doug Evans <dje@google.com>
1395
1396 * gdb.base/savedregs.exp: Fix typo.
1397
243a9253
PA
13982015-09-09 Pedro Alves <palves@redhat.com>
1399
1400 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1401
c0fa8fbd
SL
14022015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1403
1404 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1405 command actually switches threads. Give up on remaining
1406 tests if target fails to stop at breakpoint.
1407
cd7c1778
PMR
14082015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1409
1410 * gdb.ada/funcall_char.exp: New testcase.
1411 * gdb.ada/funcall_char/foo.adb: New file.
1412
dc5c8746
PMR
14132015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1414
1415 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1416 expected outputs. Add two testcases for completing ambiguous
1417 functions.
1418 * gdb.ada/complete/aux_pck.adb: New file.
1419 * gdb.ada/complete/aux_pck.ads: New file.
1420 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1421 Ambiguous_Func functions.
1422 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1423 * gdb.ada/complete/pck.adb: Likewise.
1424
4e83a1e7
UW
14252015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1426
1427 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1428 failures to run the test program under GDB.
1429
8ce74153
LM
14302015-08-26 Luis Machado <lgustavo@codesourcery.com>
1431
1432 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1433 to C.
1434
e9756d52
PP
14352015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1436
1437 * gdb.base/run-after-attach.exp: New test file.
1438 * gdb.base/run-after-attach.c: New test file.
1439
8d37573b
DB
14402015-08-26 Don Breazeal <donb@codesourcery.com>
1441
1442 * gdb.base/foll-exec-2.c: New test program.
1443 * gdb.base/foll-exec-2.exp: New test.
1444
63e43d3a
PMR
14452015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1446
1447 * gdb.base/nested-subp1.exp: New file.
1448 * gdb.base/nested-subp1.c: New file.
1449 * gdb.base/nested-subp2.exp: New file.
1450 * gdb.base/nested-subp2.c: New file.
1451 * gdb.base/nested-subp3.exp: New file.
1452 * gdb.base/nested-subp3.c: New file.
1453
3d40fbb5
PA
14542015-08-24 Pedro Alves <palves@redhat.com>
1455
1456 * gdb.server/connect-without-multi-process.c: New file.
1457 * gdb.server/connect-without-multi-process.exp: New file.
1458
4422ac93
LM
14592015-08-24 Luis Machado <lgustavo@codesourcery.com>
1460
1461 * gdb.opt/inline-markers.c: Make z int.
1462
91dddb86
LM
14632015-08-24 Luis Machado <lgustavo@codesourcery.com>
1464
1465 * gdb.opt/inline-markers.c: Make z volatile.
1466
a48847ee
LM
14672015-08-24 Luis Machado <lgustavo@codesourcery.com>
1468
1469 * gdb.opt/inline-bt.c: New volatile global z.
1470 * gdb.opt/inline-cmds.c: Likewise.
1471 * gdb.opt/inline-locals.c: Likewise.
1472 * gdb.opt/inline-markers.c: New extern global z.
1473 (marker): Use z.
1474 (inline_fn): Likewise.
1475
0ebbc52b
PA
14762015-08-24 Pedro Alves <palves@redhat.com>
1477
1478 * config/m32r-stub.exp: Remove file.
1479 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1480 * gdb.base/call-rt-st.exp: Likewise.
1481 * gdb.base/call-strs.exp: Likewise.
1482 * gdb.base/default.exp: Remove references to h8300-*-hms and
1483 *-*-udi*.
1484 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1485
77c365df
AA
14862015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1487
1488 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1489 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1490 and "return" use KFAIL when GDB can not read/write the vector
1491 return value.
1492
4313b8c0
GB
14932015-08-21 Gary Benson <gbenson@redhat.com>
1494
1495 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1496
0e433b32
PA
14972015-08-20 Pedro Alves <palves@redhat.com>
1498
1499 * gdb.server/solib-list.exp: No longer expect an interior stop in
1500 non-stop mode.
1501
221e1a37
PA
15022015-08-20 Pedro Alves <palves@redhat.com>
1503
1504 * gdb.server/connect-stopped-target.c: New file.
1505 * gdb.server/connect-stopped-target.exp: New file.
1506
40e3ad0e
PA
15072015-08-20 Pedro Alves <palves@redhat.com>
1508
1509 * gdb.dwarf2/comp-unit-lang.exp: New file.
1510 * gdb.dwarf2/comp-unit-lang.c: New file.
1511
af39b327
PMR
15122015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1513
1514 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1515 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1516
7d45c7c3 15172015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1518
7d45c7c3
KB
1519 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1520 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1521
4d6cceb4
DE
15222015-08-18 Doug Evans <dje@google.com>
1523 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1524
1525 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1526 skip_python_tests. New arg prompt_regexp.
1527 (skip_python_tests): New function.
1528 * lib/mi-support.exp (mi_skip_python_tests): New function.
1529 * gdb.python/py-mi-objfile-gdb.py: New file.
1530 * gdb.python/py-mi-objfile.c: New file.
1531 * gdb.python/py-mi-objfile.exp: New file.
1532
ad89c2aa
KS
15332015-08-17 Keith Seitz <keiths@redhat.com>
1534
1535 * gdb.linespec/explicit.exp: Move strace test from here ...
1536 * gdb.trace/strace.exp: ... to here.
1537
e3ae3c43
PP
15382015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1539
1540 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1541 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1542
604b2636
DE
15432015-08-14 Doug Evans <xdje42@gmail.com>
1544
1545 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1546 inferior before selecting a new file.
1547
6ff0ba5f
DE
15482015-08-14 Doug Evans <xdje42@gmail.com>
1549
1550 * gdb.mi/mi-disassemble.exp: Update.
1551 * gdb.base/disasm-optim.S: New file.
1552 * gdb.base/disasm-optim.c: New file.
1553 * gdb.base/disasm-optim.h: New file.
1554 * gdb.base/disasm-optim.exp: New file.
1555
9ca98f92
KS
15562015-08-14 Keith Seitz <keiths@redhat.com>
1557
1558 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1559 "evaluated-by".
1560
52bbc560
JB
15612015-08-13 Joel Brobecker <brobecker@adacore.com>
1562
1563 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1564
5d8c3ed3
PMR
15652015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1566
1567 * gdb.ada/fun_renaming.exp: New testcase.
1568 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1569 * gdb.ada/fun_renaming/pack.adb: New file.
1570 * gdb.ada/fun_renaming/pack.ads: New file.
1571
ea8812bc
KS
15722015-08-12 Keith Seitz <keiths@redhat.com>
1573
1574 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1575 gdb_get_line_number.
1576
4dafcdeb
JB
15772015-08-12 Joel Brobecker <brobecker@adacore.com>
1578
1579 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1580 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1581 gdb.base/dso2dso.exp: New files.
1582
5ba32597
SDJ
15832015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1584 Pedro Alves <palves@redhat.com>
1585 Keith Seitz <keiths@redhat.com>
1586
1587 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1588 GDBFLAGS.
1589
b6dafabf
PP
15902015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1591
1592 * gdb.base/gdbhistsize-history.exp
1593 (test_histsize_history_setting): Use save_vars.
1594 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1595 Use save_vars.
1596 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1597 * gdb.base/readline.exp: Use save_vars.
1598
abe8e607
PP
15992015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1600
1601 * lib/gdb.exp (save_vars): New proc.
1602
629500fa
KS
16032015-08-11 Keith Seitz <keiths@redhat.com>
1604
1605 * gdb.base/help.exp: Update help_breakpoint_text.
1606
eb8c4e2e
KS
16072015-08-11 Keith Seitz <keiths@redhat.com>
1608
1609 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1610 (at toplevel): Call test_explicit_breakpoints.
1611 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1612 breakpoints.
1613 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1614 breakpoint conditions, "-cond".
1615
87f0e720
KS
16162015-08-11 Keith Seitz <keiths@redhat.com>
1617
1618 * gdb.linespec/3explicit.c: New file.
1619 * gdb.linespec/cpexplicit.cc: New file.
1620 * gdb.linespec/cpexplicit.exp: New file.
1621 * gdb.linespec/explicit.c: New file.
1622 * gdb.linespec/explicit.exp: New file.
1623 * gdb.linespec/explicit2.c: New file.
1624 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1625 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1626 before using in the matching pattern.
1627 Clarify that `prefix' is a regular expression.
1628
f00aae0f
KS
16292015-08-11 Keith Seitz <keiths@redhat.com>
1630
1631 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1632 test.
1633 Add tests for missing ",FMT" and ",".
1634
e27852be
DE
16352015-08-10 Doug Evans <dje@google.com>
1636 Keith Seitz <keiths@redhat.com>
1637
1638 PR gdb/17960
1639 * gdb.base/completion.exp: Add location completer tests.
1640
7f03bd92
PA
16412015-08-07 Pedro Alves <palves@redhat.com>
1642
1643 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1644 tests here.
1645 (top level): Run do_test with and without displaced stepping.
1646
3fc8eb30
PA
16472015-08-07 Pedro Alves <palves@redhat.com>
1648
1649 * gdb.base/valgrind-disp-step.c: New file.
1650 * gdb.base/valgrind-disp-step.exp: New file.
1651
d4569d7b
PA
16522015-08-07 Pedro Alves <palves@redhat.com>
1653
1654 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1655 Delete function.
1656 (main): Add alarm. Run an infinite loop instead of calling
1657 wait_threads.
1658 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1659 comment.
1660 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1661 Delete function.
1662 (main): Add alarm. Run an infinite loop instead of calling
1663 wait_threads.
1664 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1665 comment.
1666
e1316e60
PA
16672015-08-07 Pedro Alves <palves@redhat.com>
1668
1669 * gdb.base/checkpoint-ns.exp: New file.
1670 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1671 standard_testfile.
1672
da8c46d2
MM
16732015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1674
1675 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1676 * gdb.btrace/instruction_history.exp: Update.
1677 * gdb.btrace/tsx.exp: New.
1678 * gdb.btrace/tsx.c: New.
1679
de1c2c52
PA
16802015-08-06 Pedro Alves <palves@redhat.com>
1681
1682 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1683 increase timeout.
1684 * gdb.reverse/until-precsave.exp: Bump timeouts.
1685
782e0bf4
PA
16862015-08-06 Pedro Alves <palves@redhat.com>
1687
1688 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1689
83e97ed0
PA
16902015-08-06 Pedro Alves <palves@redhat.com>
1691
1692 PR gdb/18749
1693 * gdb.threads/process-dies-while-handling-bp.c: New file.
1694 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1695
863d01bd
PA
16962015-08-06 Pedro Alves <palves@redhat.com>
1697
1698 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1699 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1700
0a39bb32
PA
17012015-08-05 Pedro Alves <palves@redhat.com>
1702
1703 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1704 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1705
ee2d2b10
SL
17062015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1707
1708 * gdb.base/bp-permanent.exp: Report test as unsupported if
1709 the target cannot stop at the permanent breakpoint.
1710
4e1bdb00
DE
17112015-08-03 Doug Evans <dje@google.com>
1712
1713 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1714 10000.
1715
3d338901
DE
17162015-08-03 Doug Evans <dje@google.com>
1717
1718 * Makefile.in (workers/%.worker, build-perf): New rule.
1719 (GDB_PERFTEST_MODE): New variable.
1720 (check-perf): Use it.
1721 (clean): Clean up gdb.perf parallel build subdirs.
1722 * lib/build-piece.exp: New file.
1723 * lib/gdb.exp (make_gdb_parallel_path): New function
1724 (standard_output_file, standard_temp_file): Call it.
1725 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1726 of $GDB_PARALLEL.
1727 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1728
af061d3e
DE
17292015-08-03 Doug Evans <dje@google.com>
1730
8e1afc81 1731 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1732 (LOG_FILE_NAME): New global.
1733 (TextReporter.__init__): Initialize self.txt_sum.
1734 (TextReporter.report): Add support for multiple data-points.
1735 Move report to perftest.sum, put raw data in perftest.log.
1736 (TextReporter.start): Open sum and log files.
1737 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1738 * gdb.perf/lib/perftest/testresult.py
1739 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1740
2c8c5d37
PA
17412015-07-31 Pedro Alves <palves@redhat.com>
1742
1743 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1744 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1745 kill_wait_spawned_process instead of explicit "kill -9".
1746 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1747 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1748 kill_wait_spawned_process.
1749 * gdb.base/attach-twice.exp: Likewise.
1750 * gdb.base/attach.exp: Likewise.
1751 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1752 gdb_test_multiple.
1753 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1754 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1755 kill_wait_spawned_process.
1756 * gdb.base/valgrind-infcall.exp: Likewise.
1757 * gdb.multi/multi-attach.exp: Likewise.
1758 * gdb.python/py-prompt.exp: Likewise.
1759 * gdb.python/py-sync-interp.exp: Likewise.
1760 * gdb.server/ext-attach.exp: Likewise.
1761 * gdb.threads/attach-into-signal.exp (corefunc): Use
1762 spawn_wait_for_attach, spawn_id_get_pid and
1763 kill_wait_spawned_process.
1764 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1765 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1766 spawn_id_get_pid and kill_wait_spawned_process.
1767 * gdb.threads/attach-stopped.exp (corefunc): Use
1768 spawn_wait_for_attach, spawn_id_get_pid and
1769 kill_wait_spawned_process.
1770 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1771 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1772 kill_wait_spawned_process instead of explicit "kill -9".
1773 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1774 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1775 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1776 processes. Don't map cygwin/windows pids here. Now returns a
1777 spawn id list.
1778
032a0fca
SL
17792015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1780
1781 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1782 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1783 correct patch.
1784
61a934ca
SL
17852015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1786
1787 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1788
4bc4d428
SL
17892015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1790
1791 Reapply:
1792 2014-05-21 Mark Wielaard <mjw@redhat.com>
1793
1794 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1795
998d452a
PA
17962015-07-30 Pedro Alves <palves@redhat.com>
1797
1798 * linux-low.c (handle_extended_wait): Set the child's last
1799 reported status to TARGET_WAITKIND_STOPPED.
1800
69dde7dc
PA
18012015-07-30 Pedro Alves <palves@redhat.com>
1802
1803 PR threads/18600
1804 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1805 only shows inferior 1.
1806
4dd63d48
PA
18072015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1808 Pedro Alves <palves@redhat.com>
1809
1810 PR threads/18600
1811 * gdb.threads/fork-plus-threads.c: New file.
1812 * gdb.threads/fork-plus-threads.exp: New file.
1813
d618e4c5
PP
18142015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1815
1816 * gdb.base/batch-preserve-term-settings.exp
1817 (test_terminal_settings_preserved_after_cli_exit): Use
1818 send_quit_command.
1819
1eef6428
PA
18202015-07-29 Pedro Alves <palves@redhat.com>
1821 Don Breazeal <donb@codesourcery.com>
1822
1823 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1824 output from both inferior_spawn_id and gdb_spawn_id.
1825
7da5b897
SDJ
18262015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1827
1828 * gdb.threads/attach-into-signal.exp (corefunc): Use
1829 with_test_prefix on nested loops, uniquefying the test messages.
1830
dac804df
SDJ
18312015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1832
1833 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1834 commit.
1835
06265e53
PP
18362015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1837
1838 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1839 New proc.
1840 (test_terminal_settings_preserved_after_sigterm): New test.
1841
18206ca3
PP
18422015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1843
1844 * gdb.base/batch-preserve-term-settings.exp
1845 (test_terminal_settings_preserved_after_cli_exit): New test.
1846
90074d11
PP
18472015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1848
1849 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1850 manipulation of saved_gdbflags.
1851 (test_terminal_settings_preserved): Remove global declaration of
1852 the unused variable pagination_prompt. Remove manipulation of
1853 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1854 GDBFLAGS.
1855
eb1a7902
PA
18562015-07-29 Pedro Alves <palves@redhat.com>
1857
1858 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1859
8b75dd3b
PA
18602015-07-29 Pedro Alves <palves@redhat.com>
1861
1862 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1863 at the top.
1864
dedad4e3
PA
18652015-07-29 Pedro Alves <palves@redhat.com>
1866
1867 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1868 (main): Call gdb_unbuffer_output.
1869 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1870 (main): Call gdb_unbuffer_output.
1871 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1872 (main): Call gdb_unbuffer_output.
1873 * gdb.base/call-strs.exp: Adjust to step over the
1874 gdb_unbuffer_output call.
1875 * gdb.base/catch-gdb-caused-signals.c: Include
1876 "../lib/unbuffer_output.c".
1877 (main): Call gdb_unbuffer_output.
1878 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1879 (main): Call gdb_unbuffer_output.
1880 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1881 (main): Call gdb_unbuffer_output.
1882 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1883 (main): Call gdb_unbuffer_output.
1884 * gdb.base/shlib-call.exp: Adjust to step over the
1885 gdb_unbuffer_output call.
1886 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1887 (main): Call gdb_unbuffer_output.
1888 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1889 (main): Call gdb_unbuffer_output.
1890 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1891 (main): Rename to ...
1892 (test): ... this.
1893 (main): Reimplement.
1894 * gdb.base/varargs.exp: Run to test instead of to main.
1895 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1896 (main): Call gdb_unbuffer_output.
1897
58789a91
PA
18982015-07-29 Pedro Alves <palves@redhat.com>
1899
1900 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
1901 factore out from mi_continue_dprintf. For call-style dprintfs,
1902 expect dprintf output out of $inferior_spawn_id.
1903 (mi_continue_dprintf): Use mi_expect_dprintf.
1904 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1905 (main): Call gdb_unbuffer_output.
1906
e8376742
PA
19072015-07-29 Pedro Alves <palves@redhat.com>
1908
1909 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
1910 (default_mi_gdb_start): Set inferior_spawn_id instead of
1911 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
1912 gdb_spawn_id.
1913 (mi_gdb_test): Always expect inferior output from both
1914 $inferior_spawn_id and $gdb_spawn_id.
1915
08280010
PA
19162015-07-29 Pedro Alves <palves@redhat.com>
1917
1918 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
1919 send_inferior and $inferior_spawn_id.
1920
4d30e432
PA
19212015-07-29 Pedro Alves <palves@redhat.com>
1922
1923 * gdb.gdb/complaints.exp (test_initial_complaints)
1924 (test_serial_complaints, test_short_complaints): Use
1925 gdb_test_stdio.
1926 (test_empty_complaint): Handle $inferior_spawn_id !=
1927 $gdb_spawn_id.
1928
0d30a335
PA
19292015-07-29 Pedro Alves <palves@redhat.com>
1930
1931 * gdb.base/varargs.exp: Use gdb_test_stdio.
1932
39413b29
PA
19332015-07-29 Pedro Alves <palves@redhat.com>
1934
1935 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1936
7cb000a9
PA
19372015-07-29 Pedro Alves <palves@redhat.com>
1938
1939 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1940
d7b8ac82
PA
19412015-07-29 Pedro Alves <palves@redhat.com>
1942
1943 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
1944 parameter into two new parameters, "inf_result" and "gdb_result".
1945 Expect inferior output and gdb output from $inferior_spawn_id and
1946 $gdb_spawn_id, respectively. Adjust all callers.
1947
789c3a0c
PA
19482015-07-29 Pedro Alves <palves@redhat.com>
1949
1950 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
1951 of gdb_test_sequence.
1952
77e760c3
PA
19532015-07-29 Pedro Alves <palves@redhat.com>
1954
1955 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
1956 (saw_spurious_output): Expect inferior output from
1957 $inferior_spawn_id. Use gdb_test_stdio.
1958
8396d2cd
PA
19592015-07-29 Pedro Alves <palves@redhat.com>
1960
1961 * gdb.base/dprintf.exp: Use standard_testfile. Change
1962 prepare_for_testing call.
1963 (srcfile): Don't set.
1964 (restart): New procedure.
1965 (test_dprintf): New procecure, use to continue over dprintfs.
1966 (test_call, test_agent): New procedures, tests moved here.
1967 Restart gdb and recreate dprintfs. Adjust expected output.
1968
2051d61f
PA
19692015-07-29 Pedro Alves <palves@redhat.com>
1970
1971 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
1972
452397af
PA
19732015-07-29 Pedro Alves <palves@redhat.com>
1974
1975 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
1976
8aed9555
PA
19772015-07-29 Pedro Alves <palves@redhat.com>
1978
1979 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
1980 gdb_test_stdio.
1981
188a61b4
PA
19822015-07-29 Pedro Alves <palves@redhat.com>
1983
1984 * lib/gdb.exp (gdb_test_stdio): New procedure.
1985
12264a45
PA
19862015-07-29 Pedro Alves <palves@redhat.com>
1987
1988 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
1989
23ffc893
PA
19902015-07-29 Pedro Alves <palves@redhat.com>
1991
1992 * gdb.base/call-signal-resume.exp: Remove check for
1993 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
1994 * gdb.base/unwindonsignal.exp: Likewise.
1995 * gdb.base/call-signals.c (gen_signal): Remove printf call.
1996 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
1997
65566918
PA
19982015-07-29 Pedro Alves <palves@redhat.com>
1999
2000 * gdb.base/siginfo-addr.c (pass): New function.
2001 (handler): Call it iff si_addr is correct.
2002 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2003 Set a breakpoint at "pass" and continue to it.
2004
d60a9221
SDJ
20052015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2006
2007 * gdb.python/py-objfile.exp: Make some tests have unique names.
2008 * gdb.python/py-pp-registration.exp: Likewise.
2009
bde40b8f
PA
20102015-07-28 Pedro Alves <palves@redhat.com>
2011
2012 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2013
13e1dec8
SM
20142015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2015
2016 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2017
da33c9a7
SM
20182015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2019
2020 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2021
077836f7
PP
20222015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2023
2024 * gdb.base/gdb-sigterm-2.exp: New test.
2025
b8cc7b2e
DE
20262015-07-25 Doug Evans <xdje42@gmail.com>
2027
2028 Revert:
2029 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2030 (workers/%.worker, build-perf): New rule.
2031 (GDB_PERFTEST_MODE): New variable.
2032 (check-perf): Use it.
2033 (clean): Clean up gdb.perf parallel build subdirs.
2034 * lib/build-piece.exp: New file.
2035 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2036 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2037 name.
2038 (standard_temp_file): Ditto.
2039 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2040 of $GDB_PARALLEL.
2041
c8bd4544
DE
20422015-07-24 Doug Evans <dje@google.com>
2043
2044 * gdb.perf/lib/perftest/utils.py: New file.
2045 * gdb.perf/gm-hello.cc: New file.
2046 * gdb.perf/gm-pervasive-typedef.cc: New file.
2047 * gdb.perf/gm-pervasive-typedef.h: New file.
2048 * gdb.perf/gm-std.cc: New file.
2049 * gdb.perf/gm-std.h: New file.
2050 * gdb.perf/gm-use-cerr.cc: New file.
2051 * gdb.perf/gm-utils.h: New file.
2052 * gdb.perf/gmonster-null-lookup.py: New file.
2053 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2054 * gdb.perf/gmonster-print-cerr.py: New file.
2055 * gdb.perf/gmonster-ptype-string.py: New file.
2056 * gdb.perf/gmonster-runto-main.py: New file.
2057 * gdb.perf/gmonster-select-file.py: New file.
2058 * gdb.perf/gmonster1-null-lookup.exp: New file.
2059 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2060 * gdb.perf/gmonster1-print-cerr.exp: New file.
2061 * gdb.perf/gmonster1-ptype-string.exp: New file.
2062 * gdb.perf/gmonster1-runto-main.exp: New file.
2063 * gdb.perf/gmonster1-select-file.exp: New file.
2064 * gdb.perf/gmonster1.cc: New file.
2065 * gdb.perf/gmonster1.exp: New file.
2066 * gdb.perf/gmonster2-null-lookup.exp: New file.
2067 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2068 * gdb.perf/gmonster2-print-cerr.exp: New file.
2069 * gdb.perf/gmonster2-ptype-string.exp: New file.
2070 * gdb.perf/gmonster2-runto-main.exp: New file.
2071 * gdb.perf/gmonster2-select-file.exp: New file.
2072 * gdb.perf/gmonster2.cc: New file.
2073 * gdb.perf/gmonster2.exp: New file.
2074
6eab34f3
DE
20752015-07-24 Doug Evans <dje@google.com>
2076
2077 * gdb.perf/README: New file.
2078 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2079 * lib/gen-perf-test.exp: New file.
2080
63738bfd
DE
20812015-07-24 Doug Evans <dje@google.com>
2082
2083 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2084 (PerfTest::startup): New function.
2085 (PerfTest::run): Return result of calling body.
2086 (PerfTest::assemble): Rewrite.
2087 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2088 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2089 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2090 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2091 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2092
7b606f95
DE
20932015-07-24 Doug Evans <dje@google.com>
2094
2095 * lib/gdb.exp (clean_restart): Make executable optional.
2096
a97b16b8
DE
20972015-07-24 Doug Evans <dje@google.com>
2098
2099 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2100 compiler_info references.
2101 * gdb.cp/temargs.exp: Ditto.
2102 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2103 (get_compiler_info): Early exit if already computed. Set compiler_info
2104 to "unknown" if there was a problem.
2105 (test_compiler_info): Add function comment. Call get_compiler_info.
2106
35baa57f
DE
21072015-07-24 Doug Evans <dje@google.com>
2108
2109 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2110 (workers/%.worker, build-perf): New rule.
2111 (GDB_PERFTEST_MODE): New variable.
2112 (check-perf): Use it.
2113 (clean): Clean up gdb.perf parallel build subdirs.
2114 * lib/build-piece.exp: New file.
2115 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2116 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2117 name.
2118 (standard_temp_file): Ditto.
2119 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2120 of $GDB_PARALLEL.
2121
6ebea266
DE
21222015-07-24 Doug Evans <dje@google.com>
2123
2124 * lib/future.exp (gdb_default_target_compile): New option
2125 "early_flags".
2126 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2127 --as-needed.
2128
1e76a7e9
SDJ
21292015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2130
2131 * gdb.base/catch-syscall.exp: Call gdb_exit before
2132 gdb_skip_xml_test.
2133
5068630a
PA
21342015-07-24 Pedro Alves <palves@redhat.com>
2135
2136 * gdb.python/py-events.exp: Accept output between the stop event
2137 and the prompt.
2138 * gdb.python/py-evsignal.exp: Likewise.
2139 * gdb.python/py-evthreads.exp: Likewise.
2140
77598427
PA
21412015-07-24 Pedro Alves <palves@redhat.com>
2142
2143 PR gdb/18717
2144 * gdb.threads/non-ldr-exit.c: New file.
2145 * gdb.threads/non-ldr-exit.exp: New file.
2146
11e6c98f
YQ
21472015-07-24 Yao Qi <yao.qi@linaro.org>
2148
2149 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2150 restarting process.
2151
51aee833
YQ
21522015-07-24 Yao Qi <yao.qi@linaro.org>
2153
2154 * gdb.server/ext-restart.exp: New file.
2155
8cfe207c
YQ
21562015-07-24 Yao Qi <yao.qi@linaro.org>
2157
2158 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2159 argument options.
2160 * gdb.server/ext-wrapper.exp: New file.
2161
cc12ce38
DE
21622015-07-23 Doug Evans <dje@google.com>
2163
2164 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2165 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2166
d0d84780
PMR
21672015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2168
2169 * gdb.ada/var_arr_typedef.exp: New testcase.
2170 * gdb.ada/var_arr_typedef/pack.adb: New file.
2171 * gdb.ada/var_arr_typedef/pack.ads: New file.
2172 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2173
8b558f79
JB
21742015-07-20 Joel Brobecker <brobecker@adacore.com>
2175
2176 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2177
775a3298
JK
21782015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2179
2180 * gdb.arch/i386-biarch-core.exp: Replace istarget
2181 by "complete set gnutarget". Remove expectation for the "core-file"
2182 command.
2183
db1ff28b
JK
21842015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2185
2186 Revert the previous commit:
2187 Tests for validate symbol file using build-id.
2188
0a94970d
JK
21892015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2190
2191 Tests for validate symbol file using build-id.
2192 * gdb.base/solib-mismatch-lib.c: New file.
2193 * gdb.base/solib-mismatch-libmod.c: New file.
2194 * gdb.base/solib-mismatch.c: New file.
2195 * gdb.base/solib-mismatch.exp: New file.
2196
03346981
SL
21972015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2198
2199 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2200 nios2-*-linux*.
2201 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2202 * gdb.base/siginfo.exp: Likewise.
2203 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2204
42422cc7
PL
22052015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2206
2207 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2208 Move it to ...
2209 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2210 ... here.
2211 * gdb.trace/range-stepping.exp: Check that the target supports
2212 range stepping.
2213
cfa68bae
JK
22142015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2215
2216 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2217
8ffdba26
PA
22182015-07-14 Pedro Alves <palves@redhat.com>
2219
2220 * gdb.base/killed-outside.exp: New file.
2221 * gdb.base/killed-outside.c: New file.
2222
218a5a11
JK
22232015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2224
2225 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2226 (n at main): New.
2227 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2228
e03ed3c6
AA
22292015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2230
2231 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2232 infcall tests instead of setting up for KFAIL.
2233
485668e5
MM
22342015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2235
2236 * gdb.btrace/record_goto-step.exp: New.
2237
08464196
JK
22382015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2239
2240 PR compile/18484
2241 * gdb.compile/compile.c (struct struct_type): Add volatile to
2242 selffield's type.
2243 * gdb.compile/compile.exp
2244 (compile code struct_object.selffield = &struct_object): Skip further
2245 struct_object tests if this one xfails.
2246
bcf5c1d9
RC
22472015-07-08 Robert O'Callahan <robert@ocallahan.org>
2248
2249 PR exp/18617
2250 * gdb.trace/ax.exp: Add test.
2251
4931af25
YQ
22522015-07-07 Yao Qi <yao.qi@linaro.org>
2253
2254 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2255 instead of istarget "aarch64*-*-*".
2256 * gdb.arch/aarch64-fp.exp: Likewise.
2257 * gdb.base/float.exp: Likewise.
2258 * gdb.reverse/aarch64.exp: Likewise.
2259 * lib/gdb.exp (is_aarch64_target): New proc.
2260
9fcf688e
YQ
22612015-07-07 Yao Qi <yao.qi@linaro.org>
2262
2263 * lib/gdb.exp (is_aarch32_target): New proc.
2264 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2265 instead of "istarget "arm*-*-*"".
2266 * gdb.arch/arm-disp-step.exp: Likewise.
2267 * gdb.arch/thumb-bx-pc.exp: Likewise.
2268 * gdb.arch/thumb-prologue.exp: Likewise.
2269 * gdb.arch/thumb-singlestep.exp: Likewise.
2270 * gdb.base/disp-step-syscall.exp: Likewise.
2271 * gdb.base/float.exp: Likewise.
2272
fbd8d50d
YQ
22732015-07-07 Yao Qi <yao.qi@linaro.org>
2274
2275 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2276 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2277
71be1fdc
YQ
22782015-07-07 Yao Qi <yao.qi@linaro.org>
2279
2280 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2281 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2282 if it exists.
2283 * gdb.multi/multi-arch.exp: Likewise.
2284
3e221d36
SM
22852015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2286
2287 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2288 print.
2289
d441430b
YQ
22902015-07-07 Yao Qi <yao.qi@linaro.org>
2291
2292 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2293
06f810bd
MG
22942015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2295
2296 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2297 '[' and ']' characters.
2298
5e61e7c0
IB
22992015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2300
2301 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2302
28bf096c
PA
23032015-06-29 Pedro Alves <palves@redhat.com>
2304
2305 PR threads/18127
2306 * gdb.threads/hand-call-new-thread.c: New file.
2307 * gdb.threads/hand-call-new-thread.c: New file.
2308
ee93cd5e
KS
23092015-06-26 Keith Seitz <keiths@redhat.com>
2310 Doug Evans <dje@google.com>
2311
2312 PR 16253
2313 * gdb.cp/var-tag-2.cc: New file.
2314 * gdb.cp/var-tag-3.cc: New file.
2315 * gdb.cp/var-tag-4.cc: New file.
2316 * gdb.cp/var-tag.cc: New file.
2317 * gdb.cp/var-tag.exp: New file.
2318
fc637f04
PP
23192015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2320
2321 * gdb.base/history-duplicates.exp: New test.
2322
2e52ae68
PP
23232015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2324
2325 * gdb.base/completion.exp: Test the completion of the "focus"
2326 command.
2327
6e22494e
JK
23282015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2329
2330 * gdb.arch/amd64-prologue-skip.S: New file.
2331 * gdb.arch/amd64-prologue-skip.exp: New file.
2332
bf7b9cd9
SM
23332015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2334
2335 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2336 is_address_zero_readable check.
2337
201e8dfd
PB
23382015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2339
2340 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2341 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2342
5cd867b4
YQ
23432015-06-24 Yao Qi <yao.qi@linaro.org>
2344
2345 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2346 linux targets.
2347
4d7be007
YQ
23482015-06-24 Yao Qi <yao.qi@linaro.org>
2349
2350 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2351 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2352 * gdb.base/siginfo-thread.exp: Likewise.
2353
07fcd301
YQ
23542015-06-22 Yao Qi <yao.qi@linaro.org>
2355
2356 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2357
52042a00
YQ
23582015-06-22 Yao Qi <yao.qi@linaro.org>
2359
2360 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2361 aarch64*-*-*.
2362 (skip_hw_watchpoint_tests): Likewise.
2363
74bd41ce
PP
23642015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2365
2366 * gdb.base/gdbinit-history.exp: Test the interaction between
2367 setting GDBHISTSIZE and setting the history size via .gdbinit.
2368
bc460514
PP
23692015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2370
2371 PR gdb/16999
2372 * gdb.base/gdbhistsize-history.exp: New test.
2373
b58c513b
PP
23742015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2375
2376 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2377 with GDBHISTSIZE.
2378 * gdb.base/readline.exp: Likewise.
2379
92046791
YQ
23802015-06-17 Yao Qi <yao.qi@linaro.org>
2381
2382 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2383 line.
2384
2093d2d3
PP
23852015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2386
2387 * gdb.base/gdbinit-history.exp: Add test case to check that
2388 an unlimited history file does not get truncated on exit.
2389
e6c693af
AA
23902015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2391
2392 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2393 (VECTOR): New macro. Use it...
2394 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2395 ...for these typedefs.
2396 (int8, char1, int1, double1): New typedefs.
2397 (struct just_int2, struct two_int2): New structures.
2398 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2399 (add_structvecs, add_singlevecs): New functions.
2400 (main): Call add_some_intvecs twice.
2401 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2402 the compile and exit upon failure. Try compiling for the "native"
2403 architecture. Test inferior function calls with vector arguments
2404 and vector return value handling with "finish" and "return".
2405
c74f7d1c
JT
24062015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2407
2408 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2409 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2410 PE file.
2411 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2412
98aa42ee
AT
24132015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2414
2415 PR breakpoints/16465
2416 * gdb.mi/mi-dprintf-pending.c: New file.
2417 * gdb.mi/mi-dprintf-pending.exp: New test.
2418 * gdb.mi/mi-dprintf-pendshr.c: New file.
2419
7d73c23c 24202015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2421 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2422
2423 * gdb.arch/i386-mpx-map.c: New file.
2424 * gdb.arch/i386-mpx-map.exp: New File.
2425
24262015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2427
2428 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2429 * gdb.arch/i386-mpx.exp: Indentation fixed.
2430
24312015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2432
2433 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2434 function and improved indentation.
2435 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2436 gdb_test_multiple. Added additional tests to skip the test.
2437
24382015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2439
2440 * gdb.arch/i386-avx512.c: Change path in include file.
2441 * gdb.arch/i386-avx512.exp: Change include dir path
2442 compilation flag.
2443 * gdb.arch/i386-mpx.c: Change path in include file.
2444 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2445 flag.
2446
d5eba19a
JK
24472015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2448
2449 * gdb.compile/compile-print.exp (compile print *vararray@3)
2450 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2451
7f361056
JK
24522015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2453
2454 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2455 (do not keep jit in memory): ... this.
2456 (expect 5): Change it to ...
2457 (expect no 5): ... this.
2458
3b462ec2
SM
24592015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2460
2461 PR gdb/15564
2462 * gdb.mi/mi-detach.exp: New file.
2463
e0619de6
JK
24642015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2465
2466 PR symtab/18392
2467 * gdb.arch/amd64-tailcall-self.S: New file.
2468 * gdb.arch/amd64-tailcall-self.c: New file.
2469 * gdb.arch/amd64-tailcall-self.exp: New file.
2470
e970cb34
DB
24712015-05-28 Don Breazeal <donb@codesourcery.com>
2472
2473 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2474 tests for remote targets by checking is_target_gdbserver.
2475
b2e2f908
DE
24762015-05-27 Doug Evans <dje@google.com>
2477
2478 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2479 * gdb.dwarf2/opaque-type-lookup.c: New file.
2480 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2481
82c7be31
DE
24822015-05-26 Doug Evans <dje@google.com>
2483
2484 * gdb.cp/iostream.cc: New file.
2485 * gdb.cp/iostream.exp: New file.
2486
b4f54984
DE
24872015-05-26 Doug Evans <dje@google.com>
2488
2489 * gdb.dwarf2/dw2-op-call.exp: Update.
2490 * gdb.dwarf2/dw4-sig-types.exp: Update.
2491 * gdb.dwarf2/implptr.exp: Update.
2492 * gdb.mi/mi-cmd-param-changed.exp: Update.
2493
4ea6efe9
DE
24942015-05-26 Doug Evans <dje@google.com>
2495
2496 * gdb.python/py-lazy-string.c: New file.
2497 * gdb.python/py-lazy-string.exp: New file.
2498 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2499 (main): Update. Add estring3.
2500 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2501 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2502
f6bb7db3
YQ
25032015-05-26 Omair Javaid <omair.javaid@linaro.org>
2504 Yao Qi <yao.qi@linaro.org>
2505
2506 * gdb.reverse/aarch64.c: New.
2507 * gdb.reverse/aarch64.exp: New.
2508
a81bfbd0
OJ
25092015-05-26 Omair Javaid <omair.javaid@linaro.org>
2510
2511 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2512 (supports_reverse): Likewise.
2513
158bf1b4
PP
25142015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2515
2516 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2517 Use with_test_prefix.
2518
a0145030
AB
25192015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2520
2521 * gdb.base/completion.exp: Add test for completion of layout
2522 names.
2523
ebe3b578
AB
25242015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2525
2526 * lib/gdb.exp (skip_tui_tests): New proc.
2527 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2528
84204ed7
PA
25292015-05-19 Pedro Alves <palves@redhat.com>
2530
2531 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2532 Save the whole env array instead of just HOME. Unset HISTSIZE in
2533 the environment while testing. Restore whole environment
2534 afterwards.
2535
37442ce1
DE
25362015-05-16 Doug Evans <xdje42@gmail.com>
2537
2538 * gdb.guile/scm-ports.c: New file.
2539 * gdb.guile/scm-ports.exp: Add memory port tests.
2540
36de76f9
JK
25412015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2542
2543 * gdb.compile/compile-print.c: New file.
2544 * gdb.compile/compile-print.exp: New file.
2545
3a9558c4
JK
25462015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2547
2548 * gdb.compile/compile-ops.exp: Cast param to void.
2549 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2550 (compile code struct_object.selffield = &struct_object): Add xfail.
2551
aa715135
JG
25522015-05-15 Joel Brobecker <brobecker@adacore.com>
2553
2554 * gdb.ada/arr_enum_with_gap: New testcase.
2555
931e5bc3
JG
25562015-05-15 Joel Brobecker <brobecker@adacore.com>
2557
2558 * gdb.ada/byte_packed_arr: New testcase.
2559
9cd4d857
JB
25602015-05-15 Joel Brobecker <brobecker@adacore.com>
2561
2562 * gdb.ada/pckd_neg: New testcase.
2563
ebfd00d2
PP
25642015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2565
2566 PR gdb/17820
2567 * gdb.base/gdbinit-history.exp: New test.
2568 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2569 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2570
4c082a81
SC
25712015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2572
2573 * gdb.python/py-xmethods.cc: Enhance test case.
2574 * gdb.python/py-xmethods.exp: New tests.
2575 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2576 function.
2577 (B_indexoper): Likewise.
2578 (global_dm_list) : Add new xmethod worker functions.
2579
f7797074
SDJ
25802015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2581
2582 * gdb.base/coredump-filter.exp: Correctly unset
2583 "coredump_var_addr" array.
2584
a4674e4e
PA
25852015-05-08 Pedro Alves <palves@redhat.com>
2586
2587 * gdb.server/non-existing-program.exp: Unset spawn_id.
2588
df2eb078
SC
25892015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2590
2591 PR python/18291
2592 * gdb.python/py-xmethods.exp: Add tests.
2593
422349a3
YQ
25942015-05-08 Yao Qi <yao.qi@linaro.org>
2595
2596 PR gdb/18208
2597 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2598 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2599 function set_coredump_filter, and remove remote_exec call.
2600 Remove argument ipid. Callers update.
2601 (top level): Don't get inferior's PID.
2602
63fc80ce
AA
26032015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2604
2605 * gdb.base/watch_thread_num.exp: Skip test on targets without
2606 access watchpoints.
2607
80ad801e
PA
26082015-05-06 Pedro Alves <palves@redhat.com>
2609
2610 PR server/18081
2611 * gdb.server/non-existing-program.exp: New file.
2612
0fa7fe50
JB
26132015-05-05 Joel Brobecker <brobecker@adacore.com>
2614
2615 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2616
3ea89b92
PMR
26172015-05-05 Joel Brobecker <brobecker@adacore.com>
2618
2619 * gdb.ada/out_of_line_in_inlined: New testcase.
2620
87b8eff0
JB
26212015-05-05 Joel Brobecker <brobecker@adacore.com>
2622
2623 * gdb.ada/var_rec_arr: New testcase.
2624
5fccc635
YQ
26252015-04-30 Yao Qi <yao.qi@linaro.org>
2626
2627 * gdb.base/break-idempotent.exp: If
2628 skip_hw_watchpoint_multi_tests returns true, skip the tests
2629 on "rwatch" and "awatch".
2630
42d38f42
YQ
26312015-04-30 Yao Qi <yao.qi@linaro.org>
2632
2633 * gdb.base/relativedebug.exp: Invoke gdb command
2634 "info sharedlibrary", and if libc.so doesn't have debug info,
2635 skip the test.
2636
2ce1cdbf
DE
26372015-04-29 Doug Evans <dje@google.com>
2638
2639 * gdb.python/py-xmethods.exp: Add ptype tests.
2640 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2641 get_result_type method.
2642
f24a38c5
LM
26432015-04-29 Luis Machado <lgustavo@codesourcery.com>
2644
2645 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2646 the target does not support hardware watchpoints.
2647
ecbf2b3c
LM
26482015-04-29 Luis Machado <lgustavo@codesourcery.com>
2649
2650 * gdb.base/break-always.exp: Abort testing if writing to memory
2651 causes an error.
2652
34f5f757
DE
26532015-04-28 Doug Evans <dje@google.com>
2654
2655 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2656 * gdb.python/py-pp-registration.exp: ... here. New file.
2657 * gdb.python/py-pp-registration.c: New file.
2658 * gdb.python/py-pp-registration.py: New file.
2659
69b4374a
DE
26602015-04-28 Doug Evans <dje@google.com>
2661
2662 * gdb.python/py-bad-printers.c: New file.
2663 * gdb.python/py-bad-printers.py: New file.
2664 * gdb.python/py-bad-printers.exp: New file.
2665
59fb7612
SS
26662015-04-28 Sasha Smundak <asmundak@google.com>
2667
2668 * gdb.python/py-type.exp: New test.
2669
2631b16a
AW
26702015-04-28 Andy Wingo <wingo@igalia.com>
2671
2672 * gdb.python/py-parameter.exp:
2673 * gdb.guile/scm-parameter.exp: Escape the path that we are
2674 matching against, as it might contain characters that are special
2675 to regular expressions.
2676
460efde1
JB
26772015-04-27 Joel Brobecker <brobecker@adacore.com>
2678
2679 * gdb.ada/rec_comp: New testcase.
2680
2d369d8e
SDJ
26812015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2682
2683 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2684 before using it.
2685
cf75d6c3
AB
26862015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2687
2688 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2689 new tests for verilog output.
2690
8dbe7ca5
YQ
26912015-04-24 Yao Qi <yao.qi@linaro.org>
2692
2693 * boards/remote-gdbserver-on-localhost.exp: New file.
2694
4ef9fb2f
PA
26952015-04-23 Pedro Alves <palves@redhat.com>
2696
2697 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2698 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2699 "end of file", remove $inferior_spawn_id from the indirect list.
2700
0a803169
PA
27012015-04-23 Pedro Alves <palves@redhat.com>
2702
2703 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2704
749ef8f8
PA
27052015-04-23 Pedro Alves <palves@redhat.com>
2706
2707 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2708 on $any_spawn_id instead of only on $gdb_spawn_id.
2709
8aae4344
PM
27102015-04-21 Pierre Muller <muller@sourceware.org>
2711
2712 PR pascal/17815
2713 * lib/pascal.exp (gpc_compile): Add new option "class".
2714 (fpc_compile): Likewise.
2715 * gdb.pascal/case-insensitive-symbols.pas: New file.
2716 * gdb.pascal/case-insensitive-symbols.exp: New file.
2717
1586c8fb
GB
27182015-04-20 Gary Benson <gbenson@redhat.com>
2719
2720 * gdb.base/attach.exp: Fix three extended remote failures.
2721
1b6e6f5c
GB
27222015-04-17 Gary Benson <gbenson@redhat.com>
2723
2724 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2725 the main executable over the remote protocol.
2726
e797481d
PA
27272015-04-16 Pedro Alves <palves@redhat.com>
2728
2729 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2730 a new gdbserver if gdbserver_reconnect_p is set.
2731
1ca99c42
PA
27322015-04-16 Pedro Alves <palves@redhat.com>
2733
2734 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2735 is set, don't exit gdbserver.
2736
af9fd6f8
AA
27372015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2738
2739 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2740 appropriate .insn, such that an older assembler can be used.
2741 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2742 the z/Architecture instruction set on 31-bit targets as well.
2743
04ff1e61
AA
27442015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2745
2746 * gdb.go/handcall.exp: Remove all logic related to the first
2747 breakpoint and rely on go_runto_main instead.
2748 * gdb.go/strings.exp: Likewise.
2749 * gdb.go/unsafe.exp: Likewise.
2750 * gdb.go/hello.exp: Likewise. Also rename the remaining
2751 breakpoint marker to "breakpoint 1".
2752 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2753 * gdb.go/strings.go: Likewise.
2754 * gdb.go/unsafe.go: Likewise.
2755 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2756 "set breakpoint 2 here" and rename the remaining breakpoint marker
2757 to "breakpoint 1".
2758
40d2f8d6
SM
27592015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2760
2761 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2762 if itertools.imap is not present.
2763 * gdb.python/py-objfile.exp: Add parentheses.
2764 * gdb.python/py-type.exp: Same.
2765 * gdb.python/py-unwind-maint.py: Same.
2766
8cbc97c6
YQ
27672015-04-15 Yao Qi <yao.qi@linaro.org>
2768
2769 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2770 of ":$ptr_size" and set its form explicitly.
2771
45fd756c
YQ
27722015-04-15 Pedro Alves <palves@redhat.com>
2773 Yao Qi <yao.qi@linaro.org>
2774
2775 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2776 timeout by factor of 4.
2777 (test_regular_watch): Likewise.
2778 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2779 * gdb.reverse/sigall-reverse.exp: Likewise.
2780 * gdb.reverse/until-precsave.exp: Likewise.
2781 * lib/gdb.exp (with_timeout_factor): New proc.
2782 (gdb_expect): Move some code to ...
2783 (get_largest_timeout): ... here. New procedure.
2784
9e811bc3
LM
27852015-04-14 Luis Machado <lgustavo@codesourcery.com>
2786
2787 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2788
0ff6fcb2
LM
27892015-04-13 Luis Machado <lgustavo@codesourcery.com>
2790
2791 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2792 to write to the .text section.
2793
7578d5f7
LM
27942015-04-13 Luis Machado <lgustavo@codesourcery.com>
2795
2796 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2797 Handle the case of targets that do not provide PID information.
2798
2efe15c4
YQ
27992015-04-13 Yao Qi <yao.qi@linaro.org>
2800
2801 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2802 and use expect instead of gdb_expect.
2803
8cd8f2f8
SDJ
28042015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2805
2806 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2807 "coredump_var_addr" to avoid naming conflict with other testcases.
2808
9ee41772
PA
28092015-04-10 Pedro Alves <palves@redhat.com>
2810
2811 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2812 gdb_test_sequence and gdb_assert.
2813
07473109
PA
28142015-04-10 Pedro Alves <palves@redhat.com>
2815
2816 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2817 test messages that don't include the breakpoint address.
2818
de3db44c
YQ
28192015-04-10 Yao Qi <yao.qi@linaro.org>
2820
2821 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2822 false for some offset and width combinations which aren't
2823 supported by linux kernel.
2824
c79d856c
PA
28252015-04-10 Pedro Alves <palves@redhat.com>
2826
2827 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2828 procedure, factored out from ...
2829 (top level): ... here. Add "set displaced-stepping" testing axis.
2830 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2831 parameter "displaced". Use it.
2832 (top level): Use foreach and add "set displaced-stepping" testing
2833 axis.
2834
ebc90b50
PA
28352015-04-10 Pedro Alves <palves@redhat.com>
2836
2837 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2838 Remove comment.
2839 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2840 both the address of the instruction that triggers the watchpoint
2841 and the address of the instruction immediately after, and use
2842 those addresses for the test. Fix comment.
2843
8f572e5c
PA
28442015-04-10 Pedro Alves <palves@redhat.com>
2845
2846 * gdb.base/sigstep.exp (breakpoint_to_handler)
2847 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2848 Test "backtrace" in handler.
2849 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2850 (top level): Add new "displaced" test axis to
2851 breakpoint_to_handler, breakpoint_to_handler_entry and
2852 breakpoint_over_handler.
2853
8d707a12
PA
28542015-04-10 Pedro Alves <palves@redhat.com>
2855
2856 PR gdb/18216
2857 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2858
ef713951
YQ
28592015-04-10 Yao Qi <yao.qi@linaro.org>
2860
2861 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2862 (test_add_rn_pc): New function.
2863 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2864 (top level): Invoke test_add_rn_pc.
2865
906d60cf
PA
28662015-04-10 Pedro Alves <palves@redhat.com>
2867
2868 PR gdb/13858
2869 * gdb.base/step-over-no-symbols.exp: New file.
2870
f2983cc3
AW
28712015-04-09 Andy Wingo <wingo@igalia.com>
2872
2873 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2874 after the Python tests.
2875
6d62641c
SDJ
28762015-04-08 Keith Seitz <keiths@redhat.com>
2877
2878 PR python/16699
2879 * gdb.python/py-completion.exp: New tests for completion.
2880 * gdb.python/py-completion.py (CompleteLimit1): New class.
2881 (CompleteLimit2): Likewise.
2882 (CompleteLimit3): Likewise.
2883 (CompleteLimit4): Likewise.
2884 (CompleteLimit5): Likewise.
2885 (CompleteLimit6): Likewise.
2886 (CompleteLimit7): Likewise.
2887
f3770638
PA
28882015-04-08 Pedro Alves <palves@redhat.com>
2889
2890 PR gdb/18214
2891 PR gdb/18216
2892 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2893 function.
2894 (main): Install it as SIGUSR1 handler.
2895 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2896 parameter. Always use "setup" as prefix. Toggle "set
2897 displaced-stepping" off/on depending on global. Don't switch to
2898 thread 1 here.
2899 (top level): Add displaced stepping "off/on" test axis. Update
2900 "setup" calls. Wrap each subtest with with_test_prefix. Test
2901 continuing with a queued signal in each thread.
2902
4496bed7
PA
29032015-04-08 Pedro Alves <palves@redhat.com>
2904
2905 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
2906 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
2907 gdb_breakpoint instead of gdb_test that doesn't expect anything.
2908 Return early if running to main fails.
2909 * gdb.trace/while-stepping.exp: Likewise.
2910
b97fde92
PA
29112015-04-07 Pedro Alves <palves@redhat.com>
2912
2913 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
2914 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
2915 interact with inferior program.
2916
f71c18e7
PA
29172015-04-07 Pedro Alves <palves@redhat.com>
2918
2919 * lib/gdb.exp (inferior_spawn_id): New global.
2920 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2921 spawn id after processing the user code.
2922 (default_gdb_start): Set inferior_spawn_id.
2923 (send_inferior): New procedure.
2924 * lib/gdbserver-support.exp (gdbserver_start): Set
2925 inferior_spawn_id.
2926 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2927
6423214f
PA
29282015-04-07 Pedro Alves <palves@redhat.com>
2929
2930 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2931 * lib/gdbserver-support.exp (gdbserver_start): Make
2932 $server_spawn_id global.
2933 (gdbserver_start): Don't wait for gdbserver's spawn id with
2934 expect_background.
2935 (close_gdbserver): New procedure.
2936 (gdb_exit): Rename the default version and reimplement.
2937
71c0ee8c
PA
29382015-04-07 Pedro Alves <palves@redhat.com>
2939
72f4393d 2940 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
2941 append the substituted item, not the original item.
2942
203bc29b
PA
29432015-04-07 Pedro Alves <palves@redhat.com>
2944
2945 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
2946 gdb_expect.
2947
508a3ddf
PA
29482015-04-07 Pedro Alves <palves@redhat.com>
2949
2950 * gdb.base/interrupt.exp: Don't handle the case of the inferior
2951 output appearing once only.
2952
9f6dbe2b
PA
29532015-04-07 Pedro Alves <palves@redhat.com>
2954
2955 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
2956 that doesn't expect anything. Return early if running to main
2957 fails.
2958
337532fa
YQ
29592015-04-07 Yao Qi <yao.qi@linaro.org>
2960
2961 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
2962 (child_function): Call alarm.
2963 (main): Move call to alarm into the loop.
2964 * gdb.threads/non-stop-fair-events.exp: Build program with
2965 -DTIMEOUT=$timeout.
2966
01b622d4
DE
29672015-04-06 Doug Evans <xdje42@gmail.com>
2968
2969 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
2970 Fix dest parameter to board_info.
2971 (fpc_compile): Ditto.
2972 (gdb_compile_pascal): Rename dest arg to destfile.
2973
961f4160
PMR
29742015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
2975
2976 * gdb.ada/funcall_ref.exp: New file.
2977 * gdb.ada/funcall_ref/foo.adb: New file.
2978
cafda597
YQ
29792015-04-02 Yao Qi <yao.qi@linaro.org>
2980
2981 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
2982 is remote.
2983
fed040c6
GB
29842015-04-02 Gary Benson <gbenson@redhat.com>
2985
2986 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
2987
d11916aa
SS
29882015-04-01 Sasha Smundak <asmundak@google.com>
2989
2990 * gdb.python/py-unwind-maint.c: New file.
2991 * gdb.python/py-unwind-maint.exp: New test.
2992 * gdb.python/py-unwind-maint.py: New file.
2993 * gdb.python/py-unwind.c: New file.
2994 * gdb.python/py-unwind.exp: New test.
2995 * gdb.python/py-unwind.py: New test.
2996
a1471180
PA
29972015-04-01 Pedro Alves <palves@redhat.com>
2998
2999 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3000 to fail instead of non-existent $test.
3001
0bbeccb1
PA
30022015-04-01 Pedro Alves <palves@redhat.com>
3003
3004 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3005 GDBFLAGS if not empty.
3006
3c724c8c
PMR
30072015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3008
3009 * gdb.ada/complete.exp: Remove "multi_line".
3010 * gdb.ada/info_exc.exp: Remove "multi_line".
3011 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3012 * gdb.ada/ptype_field.exp: Remove "multi_line".
3013 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3014 * gdb.ada/tagged.exp: Remove "multi_line".
3015 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3016 [multi_line ...]
3017 * gdb.btrace/delta.exp: Likewise.
3018 * gdb.btrace/exception.exp: Likewise.
3019 * gdb.btrace/function_call_history.exp: Likewise.
3020 * gdb.btrace/instruction_history.exp: Likewise.
3021 * gdb.btrace/nohist.exp: Likewise.
3022 * gdb.btrace/record_goto.exp: Likewise.
3023 * gdb.btrace/segv.exp: Likewise.
3024 * gdb.btrace/stepi.exp: Likewise.
3025 * gdb.btrace/tailcall.exp: Likewise.
3026 * gdb.btrace/unknown_functions.exp: Likewise.
3027 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3028 * lib/gdb.exp: Add the "multi_line" helper.
3029
4eec2deb
PA
30302015-04-01 Pedro Alves <palves@redhat.com>
3031
3032 * gdb.threads/tid-reuse.c: New file.
3033 * gdb.threads/tid-reuse.exp: New file.
3034
df8411da
SDJ
30352015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3036
3037 PR corefiles/16092
3038 * gdb.base/coredump-filter.c: New file.
3039 * gdb.base/coredump-filter.exp: Likewise.
3040
6ef37366
PM
30412015-03-27 Petr Machata <pmachata@redhat.com>
3042
3043 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3044 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3045 (Dwarf::assemble): Initialize them.
3046 (Dwarf::lines): New function.
3047
7ec911b0
JT
30482015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3049
3050 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3051 SYMBOL_PREFIX for x86_64-*-cygwin.
3052
ff908ebf
AW
30532015-03-26 Andy Wingo <wingo@igalia.com>
3054
3055 PR symtab/18148
3056 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3057 const_value but not a location.
3058 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3059 location defined in non-main CUs are visible.
3060
6d5f0679
YQ
30612015-03-26 Yao Qi <yao.qi@linaro.org>
3062
3063 PR testsuite/18139
3064 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3065 Add a line number entry for the same line.
3066 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3067 Add a line number entry for the same line.
3068
2898689b
YQ
30692015-03-26 Yao Qi <yao.qi@linaro.org>
3070
3071 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3072 .int 0.
3073 (func): Likewise. Add .Lfunc_1 label.
3074 Use .Lfunc_1 label.
3075 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3076 .int 0.
3077 (func): Likewise.
3078 Use .Lfunc_1 label.
3079
85180498
YQ
30802015-03-26 Yao Qi <yao.qi@linaro.org>
3081
3082 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3083 Call gdb_compile instead to compile each .s files without debug
3084 information.
3085
8aa08a8d
YQ
30862015-03-26 Yao Qi <yao.qi@linaro.org>
3087
3088 * gdb.base/savedregs.exp (process_saved_regs): Make
3089 "Saved registers:" optional in the pattern.
3090
66849923
MM
30912015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3092
3093 * gdb.btrace/next.exp: Merged into step.exp.
3094 * gdb.btrace/finish.exp: Merged into step.exp.
3095 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3096 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3097 "record goto" and checking the exact replay position.
3098 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3099 check for "Recording format" in "info record" output.
3100 * gdb.btrace/record_goto.exp: Choose test file based on target.
3101 * gdb.btrace/x86-record_goto.S: Renamed into ...
3102 * gdb.btrace/x86_64-record_goto.S: ... this.
3103 * gdb.btrace/i686-record_goto.S: New.
3104 * gdb.btrace/x86-tailcall.S: Renamed into ...
3105 * gdb.btrace/x86_64-tailcall.S: ... this.
3106 * gdb.btrace/i686-tailcall.S: New.
3107 * gdb.btrace/x86-tailcall.c: Renamed into ...
3108 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3109 separate statements. Update test.
3110 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3111 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3112 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3113 * gdb.btrace/tailcall.exp: Choose test file based on target.
3114 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3115
11cc1b74
MM
31162015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3117
3118 * gdb.btrace/exception.exp: Increase BTS buffer size.
3119
a25d8bf9
PA
31202015-03-24 Pedro Alves <palves@redhat.com>
3121
3122 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3123
856e7dd6
PA
31242015-03-24 Pedro Alves <palves@redhat.com>
3125
3126 * gdb.threads/schedlock.exp (test_step): No longer expect that
3127 "set scheduler-locking step" with "next" over a function call runs
3128 threads unlocked.
3129
ad235a41
AT
31302015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3131
3132 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3133
15630549
AT
31342015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3135
3136 PR breakpoints/16466
3137 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3138 * gdb.mi/mi-pending.c (thread_func): New function.
3139 (int main): Add threading support required.
3140 * gdb.mi/mi-pending.exp: Add tests for this issue.
3141 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3142 (pendfunc2): Remove stdio dependency.
3143 * gdb.mi/mi-pendshr2.c: New file.
3144
693dca06
KS
31452015-03-23 Keith Seitz <keiths@redhat.com>
3146
3147 * gdb.linespec/keywords.c: New file.
3148 * gdb.linespec/keywords.exp: New file.
3149
7e993ebf
KS
31502015-03-23 Keith Seitz <keiths@redhat.com>
3151
3152 PR gdb/18021
3153 * gdb.dwarf2/staticvirtual.exp: New test.
3154
bc23328c
JK
31552015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3156
3157 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3158 * README: Remove HP-UX and gdb.hp.
3159 (configuration):
3160 * configure: Regenerate.
3161 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3162 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3163 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3164 gdb.hp/gdb.defects/Makefile.
3165 * gdb.hp/Makefile.in: File deleted.
3166 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3167 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3168 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3169 * gdb.hp/gdb.aCC/run.c: File deleted.
3170 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3171 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3172 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3173 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3174 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3175 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3176 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3177 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3178 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3179 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3180 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3181 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3182 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3183 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3184 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3185 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3186 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3187 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3188 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3189 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3190 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3191 * gdb.hp/gdb.compat/average.c: File deleted.
3192 * gdb.hp/gdb.compat/sum.c: File deleted.
3193 * gdb.hp/gdb.compat/xdb.c: File deleted.
3194 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3195 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3196 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3197 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3198 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3199 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3200 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3201 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3202 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3203 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3204 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3205 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3206 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3207 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3208 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3209 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3210 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3211 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3212 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3213 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3214 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3215 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3216 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3217 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3218 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3219 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3220 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3221 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3222 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3223 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3224 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3225 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3226 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3227 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3228 * gdb.hp/tools/odump: File deleted.
3229
8bf3b159
PA
32302015-03-19 Pedro Alves <palves@redhat.com>
3231
3232 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3233 (saw_thread_3): New globals.
3234 (top level): Increment them when an event for the corresponding
3235 thread is seen.
3236 (no thread starvation): New test.
3237
eb54c8bf
PA
32382015-03-19 Pedro Alves <palves@redhat.com>
3239
3240 * gdb.threads/continue-pending-status.c: New file.
3241 * gdb.threads/continue-pending-status.exp: New file.
3242
32d2e5d6
PA
32432015-03-18 Pedro Alves <palves@redhat.com>
3244
3245 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3246 Use gdb_is_target_remote instead of is_remote. Use
3247 gdb_test_multiple instead of gdb_expect. Exit early if
3248 gdb_test_multiple hits its internal matches. Tighten stepi tests
3249 expected output. Fail on exit with any signal, instead of just
3250 SIGILL.
3251
f68f11b7
YQ
32522015-03-18 Yao Qi <yao.qi@linaro.org>
3253
3254 PR tdep/18107
3255 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3256 variable.
3257 * gdb.base/catch-syscall.exp: Don't skip it on
3258 aarch64*-*-linux* target. Remove elements in all_syscalls.
3259 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3260 target.
3261 (setup_all_syscalls): New proc.
3262
ca5fd19b
YQ
32632015-03-16 Yao Qi <yao.qi@linaro.org>
3264
3265 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3266 (top level): Skip tests if valid_addr_p returns false for
3267 $cmd1 or $cmd2.
3268
85642ba0
AW
32692015-03-11 Andy Wingo <wingo@igalia.com>
3270
3271 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3272
e03f9645
YQ
32732015-03-11 Yao Qi <yao.qi@linaro.org>
3274
3275 * gdb.base/catch-syscall.exp: Fix typo in comments.
3276
5d0962b2
YQ
32772015-03-11 Yao Qi <yao.qi@linaro.org>
3278
3279 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3280
b2df3cef
PA
32812015-03-09 Pedro Alves <palves@redhat.com>
3282
3283 * dg-extract-results.py: Delete.
3284
ef878e53
PA
32852015-03-09 Pedro Alves <palves@redhat.com>
3286
3287 Merge dg-extract-results.sh from GCC upstream (r218843).
3288
3289 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3290 * dg-extract-results.sh: Use --text with grep to avoid issues with
3291 binary files. Fall back to cat -v, if that doesn't work.
3292
9494d219
PA
32932015-03-05 Pedro Alves <palves@redhat.com>
3294
3295 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3296
a8d9763a
SM
32972015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3298
3299 * lib/mi-support.exp (mi_expect_interrupt): Accept
3300 alternative event for when in all-stop mode.
3301
be9957b8
PA
33022015-03-04 Pedro Alves <palves@redhat.com>
3303
3304 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3305
d57be0f4 33062015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3307
3308 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3309
c214c7cf
AA
33102015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3311
3312 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3313 regexps for GDB's current line display, accept a hex address
3314 preceding the line number.
3315
6d74a497
AA
33162015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3317
3318 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3319 the 'arch1' variable for "s390*-linux*" targets.
3320
511aee7c
PA
33212015-03-04 Pedro Alves <palves@redhat.com>
3322
3323 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3324 (main): Pass missing retval argument to pthread_join call.
3325
95e50b27
PA
33262015-03-02 Pedro Alves <palves@redhat.com>
3327
3328 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3329 (top level): Call do_test with non-stop as well.
3330
28054d69
PA
33312015-03-02 Pedro Alves <palves@redhat.com>
3332
3333 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3334 -1.
3335
4fa5d7b4
AA
33362015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3337
3338 * gdb.arch/s390-vregs.exp: New test.
3339 * gdb.arch/s390-vregs.S: New file.
3340
97c18565
PA
33412015-02-27 Pedro Alves <palves@redhat.com>
3342
3343 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3344 call to catch_command_errors.
3345 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3346 catch_command_errors.
3347
a37bfa30
PA
33482015-02-27 Pedro Alves <palves@redhat.com>
3349
3350 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3351 "true" for boolean result.
3352 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3353 prototype of main.
3354
6f98576f
PA
33552015-02-27 Pedro Alves <palves@redhat.com>
3356
3357 * lib/unbuffer_output.c: New file.
3358 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3359 (main): Call gdb_unbuffer_output.
3360
eba5ab56
YQ
33612015-02-27 Yao Qi <yao.qi@linaro.org>
3362
3363 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3364 target.
3365
0def5aaa
DE
33662015-02-26 Doug Evans <dje@google.com>
3367
3368 * gdb.cp/class2.cc (Dbase, D): New classes.
3369 (main): New local delta.
3370 * gdb.cp/class2.exp: Test printing delta.
3371 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3372 (dynbar): New global.
3373 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3374
081a1c2c
JK
33752015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3376
3377 * gdb.compile/compile-ifunc.c: New file.
3378 * gdb.compile/compile-ifunc.exp: New file.
3379
2f41223f
AT
33802015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3381
3382 * gdb.base/structs.exp: Check for correct struct on finish.
3383
03eddd80
YQ
33842015-02-26 Yao Qi <yao.qi@linaro.org>
3385
3386 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3387 is zero.
3388
80c57053
JK
33892015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3390
3391 * gdb.arch/cordic.ko.bz2: New file.
3392 * gdb.arch/cordic.ko.debug.bz2: New file.
3393 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3394
21613c12
YQ
33952015-02-25 Yao Qi <yao.qi@linaro.org>
3396
3397 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3398 aarch64*-*-* target.
3399
d8b901ed
PA
34002015-02-23 Pedro Alves <palves@redhat.com>
3401
3402 * lib/gdb.exp (delete_breakpoints): Rewrite using
3403 gdb_test_multiple.
3404
e5b85ead
PA
34052015-02-23 Pedro Alves <palves@redhat.com>
3406
3407 * gdb.base/info-os.c: Include stdlib.h.
3408
85c3a371
DE
34092015-02-22 Doug Evans <xdje42@gmail.com>
3410
3411 PR symtab/17855
3412 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3413 is read after symbols have been re-read.
3414 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3415 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3416
96553a0c
DE
34172015-02-21 Doug Evans <dje@google.com>
3418
3419 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3420
97a0c697
JK
34212015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3422
3423 PR corefiles/17808
3424 * gdb.arch/i386-biarch-core.core.bz2: New file.
3425 * gdb.arch/i386-biarch-core.exp: New file.
3426
a47cd6e9
PA
34272015-02-21 Pedro Alves <palves@redhat.com>
3428
3429 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3430 runto_main fails.
3431
c5facdc4
PA
34322015-02-20 Pedro Alves <palves@redhat.com>
3433
3434 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3435 info probes.
3436
2db9a427
PA
34372015-02-20 Pedro Alves <palves@redhat.com>
3438
3439 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3440
60fb7e9e
PA
34412015-02-20 Pedro Alves <palves@redhat.com>
3442
3443 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3444 clean_restart before gdb_target_supports_trace.
3445
5c5019c2
PA
34462015-02-20 Pedro Alves <palves@redhat.com>
3447
3448 PR threads/18006
3449 * gdb.threads/clone-thread_db.c: New file.
3450 * gdb.threads/clone-thread_db.exp: New file.
3451
c9587f88
AT
34522015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3453
3454 PR breakpoints/16812
3455 * gdb.base/catch-gdb-caused-signals.c: New file.
3456 * gdb.base/catch-gdb-caused-signals.exp: New file.
3457
f6a88844
JM
34582015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3459
3460 * configure: Regenerated.
3461 * configure.ac: Use GDB_AC_TRANSFORM.
3462 * aclocal.m4: sinclude ../transform.m4.
3463
497c491b
JM
34642015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3465
3466 * lib/dtrace.exp: New file.
3467 * gdb.base/dtrace-probe.exp: Likewise.
3468 * gdb.base/dtrace-probe.d: Likewise.
3469 * gdb.base/dtrace-probe.c: Likewise.
3470 * lib/pdtrace.in: Likewise.
3471 * configure.ac: Output variables with the transformed names of
3472 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3473 * configure: Regenerated.
3474
03e98035
JM
34752015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3476
3477 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3478 expected message when trying to access $_probe_* convenience
3479 variables while not on a probe.
3480
63cc30e9
JK
34812015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3482
3483 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3484
0703599a
PA
34852015-02-11 Pedro Alves <pedro@codesourcery.com>
3486
3487 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3488 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3489
7e60a48e
DE
34902015-02-10 Doug Evans <xdje42@gmail.com>
3491
3492 * lib/gdb.exp (gdb_load): Always return a result.
3493
01b088bc
PA
34942015-02-10 Pedro Alves <palves@redhat.com>
3495
3496 * gdb.threads/signal-sigtrap.c: New file.
3497 * gdb.threads/signal-sigtrap.exp: New file.
3498
b05ec7a5
AT
34992015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3500
3501 * gdb.trace/no-attach-trace.c: New file.
3502 * gdb.trace/no-attach-trace.exp: New file.
3503
a2c2acaf
MW
35042015-02-09 Mark Wielaard <mjw@redhat.com>
3505
3506 * gdb.dwarf2/atomic.c: New file.
3507 * gdb.dwarf2/atomic-type.exp: Likewise.
3508
31fd9caa
MM
35092015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3510
3511 * gdb.btrace/buffer-size.exp: Update "info record" output.
3512 * gdb.btrace/delta.exp: Update "info record" output.
3513 * gdb.btrace/enable.exp: Update "info record" output.
3514 * gdb.btrace/finish.exp: Update "info record" output.
3515 * gdb.btrace/instruction_history.exp: Update "info record" output.
3516 * gdb.btrace/next.exp: Update "info record" output.
3517 * gdb.btrace/nexti.exp: Update "info record" output.
3518 * gdb.btrace/step.exp: Update "info record" output.
3519 * gdb.btrace/stepi.exp: Update "info record" output.
3520 * gdb.btrace/nohist.exp: Update "info record" output.
3521
d33501a5
MM
35222015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3523
3524 * gdb.btrace/buffer-size: New.
3525
f4abbc16
MM
35262015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3527
3528 * gdb.btrace/delta.exp: Update "info record" output.
3529 * gdb.btrace/enable.exp: Update "info record" output.
3530 * gdb.btrace/finish.exp: Update "info record" output.
3531 * gdb.btrace/instruction_history.exp: Update "info record" output.
3532 * gdb.btrace/next.exp: Update "info record" output.
3533 * gdb.btrace/nexti.exp: Update "info record" output.
3534 * gdb.btrace/step.exp: Update "info record" output.
3535 * gdb.btrace/stepi.exp: Update "info record" output.
3536 * gdb.btrace/nohist.exp: Update "info record" output.
3537
b9d61307
SM
35382015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3539
3540 PR gdb/15678
3541 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3542
e584fdbc
PA
35432015-02-06 Pedro Alves <palves@redhat.com>
3544
3545 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3546 macro.
3547 (seconds_left, again): New globals.
3548 (main): Wait seconds_left in a 1-second sleep loop instead of
3549 sleeping 180 seconds. If 'again' is set, reset the seconds
3550 counter.
3551 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3552 'again' in the inferior before detaching. Print the seconds left.
3553 (options): New global.
3554 (top level): Build program with -DTIMEOUT=$timeout.
3555
77f41761
PA
35562015-02-06 Pedro Alves <palves@redhat.com>
3557
3558 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3559 determine how many seconds to pass to 'alarm'.
3560 * gdb.base/gdb-sigterm.exp (top level): Build program with
3561 -DTIMEOUT=$timeout.
3562 (do_test): Return success/failure indication. Add more verbose
3563 logging. Don't fail if 200 single steps are seen. Instead, fail
3564 when the test times out.
3565 (passes): New global.
3566 (top level): Break the testing loop if testing fails on any
3567 iteration. Use gdb_assert.
3568
b9394193
DB
35692015-02-04 Don Breazeal <donb@codesourcery.com>
3570
3571 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3572 and initialize them.
3573 (ipc_cleanup): New function.
3574 (main): Don't declare shmid, semid, and msqid. Add a call to
3575 atexit so that we call ipc_cleanup on exit.
3576
42d9e528
PA
35772015-02-04 Pedro Alves <palves@redhat.com>
3578
3579 * boards/native-extended-gdbserver.exp: Remove any target variant
3580 specifications from the board name before clearing the isremote
3581 flag from board_info.
3582
ae6ae975
DE
35832015-01-31 Doug Evans <xdje42@gmail.com>
3584
3585 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3586
cfb069a8
GB
35872015-01-31 Gary Benson <gbenson@redhat.com>
3588
3589 * gdb.base/completion.exp: Disable completion limiting for
3590 existing tests. Add new tests to check completion limiting.
3591 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3592
5dd31d79
DE
35932015-01-31 Doug Evans <xdje42@gmail.com>
3594
3595 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3596
9f050062
DE
35972015-01-31 Doug Evans <xdje42@gmail.com>
3598
3599 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3600 entries. Duplicate file section script entries.
3601 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3602 inlined entries. Add test for safe-path rejection.
3603 * gdb.python/py-section-script.c: Add duplicate inlined section script
3604 entries. Duplicate file section script entries.
3605 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3606 inlined entries. Add test for safe-path rejection.
3607
df25ebbd
JB
36082015-01-29 Joel Brobecker <brobecker@adacore.com>
3609
3610 * gdb.ada/disc_arr_bound: New testcase.
3611
4a0ca9ec
JB
36122015-01-29 Joel Brobecker <brobecker@adacore.com>
3613
3614 * gdb.ada/mi_var_array: New testcase.
3615
3a8b707a
DE
36162015-01-27 Doug Evans <dje@google.com>
3617
3618 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3619 Add test for objfile.filename, objfile.username after objfile
3620 has been unloaded.
3621
f8313f6e
JB
36222015-01-26 Joel Brobecker <brobecker@adacore.com>
3623
3624 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3625 the second test to print the name attribute of value
3626 returned by the call to gdb.lookup_type, and adjust
3627 the expected output accordingly.
3628
37bc665e
MW
36292015-01-25 Mark Wielaard <mjw@redhat.com>
3630
3631 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3632 * gdb.base/disp-step-fork.c: Include unistd.h.
3633 * gdb.base/siginfo-obj.c: Include stdio.h.
3634 * gdb.base/siginfo-thread.c: Likewise.
3635 * gdb.mi/non-stop.c: Include unistd.h.
3636 * gdb.mi/nsthrexec.c: Include stdio.h.
3637 * gdb.mi/pthreads.c: Include unistd.h.
3638 * gdb.modula2/unbounded1.c (main): Declare returns int.
3639 * gdb.reverse/consecutive-reverse.c: Likewise.
3640 * gdb.threads/create-fail.c: Include unistd.h.
3641 * gdb.threads/killed.c: Likewise.
3642 * gdb.threads/linux-dp.c: Likewise.
3643 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3644 * gdb.threads/non-ldr-exc-2.c: Likewise.
3645 * gdb.threads/non-ldr-exc-3.c: Likewise.
3646 * gdb.threads/non-ldr-exc-4.c: Likewise.
3647 * gdb.threads/pthreads.c: Include unistd.h.
3648 (main): Declare returns int.
3649 * gdb.threads/tls-main.c (foo): New declaration.
3650 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3651
f7e5394d
SM
36522015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3653
3654 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3655 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3656
743649fd
MW
36572015-01-15 Mark Wielaard <mjw@redhat.com>
3658
3659 * gdb.base/noreturn-return.c: New file.
3660 * gdb.base/noreturn-return.exp: New file.
3661 * gdb.base/noreturn-finish.c: New file.
3662 * gdb.base/noreturn-finish.exp: New file.
3663
198297aa
PA
36642015-01-23 Pedro Alves <palves@redhat.com>
3665
3666 * gdb.threads/continue-pending-after-query.c: New file.
3667 * gdb.threads/continue-pending-after-query.exp: New file.
3668
717cf30c
AG
36692015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3670 Simon Marchi <simon.marchi@ericsson.com>
3671
3672 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3673 * gdb.base/valgrind-db-attach.exp: Same.
3674 * gdb.base/valgrind-infcall.exp: Same.
3675 * lib/mi-support.exp (default_mi_gdb_start): Same.
3676 * lib/prompt.exp (default_prompt_gdb_start): Same.
3677 * lib/gdb.exp (default_gdb_spawn): Same.
3678 (gdb_interact): New.
3679
3680
4b62a76e
JK
36812015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3682
3683 * gdb.compile/compile.exp (pointer to jit function): New test.
3684
b4cdae6f
WW
36852015-01-17 Wei-cheng Wang <cole945@gmail.com>
3686
3687 * lib/gdb.exp (supports_process_record): Return true for
3688 powerpc*-*-linux*.
3689 (supports_reverse): Likewise.
3690
d221e7ef
DB
36912015-01-15 Don Breazeal <donb@codesourcery.com>
3692
3693 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3694 instead of checking whether the target board is remote and
3695 use spawn_wait_for_attach instead of exec/sleep.
3696 * gdb.base/attach-twice.exp: Likewise.
3697
bafffb51
JB
36982015-01-15 Joel Brobecker <brobecker@adacore.com>
3699
3700 * gdb.ada/var_arr_attrs: New testcase.
3701
5589af0e
PA
37022015-01-14 Pedro Alves <palves@redhat.com>
3703 Joel Brobecker <brobecker@adacore.com>
3704
3705 PR gdb/17525
3706 * gdb.base/bp-cmds-execution-x-script.c: New file.
3707 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3708 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3709
6c400b59
PA
37102015-01-14 Pedro Alves <palves@redhat.com>
3711
3712 PR cli/17828
3713 * gdb.base/batch-preserve-term-settings.c: New file.
3714 * gdb.base/batch-preserve-term-settings.exp: New file.
3715
e02c96a7
DE
37162015-01-13 Doug Evans <dje@google.com>
3717
3718 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3719 binary.
3720
576fd14c
JB
37212015-01-13 Joel Brobecker <brobecker@adacore.com>
3722
3723 * Makefile.in (clean mostlyclean): Do not delete *.py.
3724
04dccad0
JB
37252015-01-13 Joel Brobecker <brobecker@adacore.com>
3726
3727 * gdb.python/py-lookup-type.exp: New file.
3728
3d230f71
PA
37292015-01-12 Pedro Alves <palves@redhat.com>
3730
3731 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3732 restore GDBFLAGS before returning.
3733
7e67715d
JK
37342015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3735
3736 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3737 is_amd64_regs_target and is_x86_like_target.
3738
f2e0d4b4
DE
37392015-01-11 Doug Evans <xdje42@gmail.com>
3740
3741 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3742 is given without an explicit form.
3743 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3744 attributes.
3745 * gdb.dwarf/corrupt.exp: Ditto.
3746 * gdb.dwarf2/enum-type.exp: Ditto.
3747 * gdb.trace/entry-values.exp: Ditto.
3748 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3749
439250fb
DE
37502015-01-11 Doug Evans <xdje42@gmail.com>
3751
3752 PR gdb/15830
3753 * gdb.base/maint.exp: Remove references to "maint demangle".
3754 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3755 Add tests for explicitly specifying language to demangle.
3756 * gdb.dlang/demangle.exp: Ditto.
3757
ede9f622
PA
37582015-01-09 Pedro Alves <palves@redhat.com>
3759
3760 * gdb.threads/non-stop-fair-events.c: New file.
3761 * gdb.threads/non-stop-fair-events.exp: New file.
3762
a7b796db
PA
37632015-01-09 Pedro Alves <palves@redhat.com>
3764
3765 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3766 the global scope. Set a breakpoint after all threads are started
3767 rather than stepping over two source lines. Expect the prompt.
3768 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3769 global.
3770 (NUM): Now 15.
3771 (main): Use threads_started_barrier to wait for all threads to
3772 start. Main thread no longer calls thread_function. Exit after
3773 180 seconds.
3774 (loop): New function.
3775 (thread_function): Wait on threads_started_barrier barrier. Call
3776 'loop' at each iteration.
3777 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3778 threads have started, instead of hardcoding number of "next"
3779 steps. Use an access watchpoint instead of a write watchpoint.
3780
9665ffdd
PA
37812015-01-09 Pedro Alves <palves@redhat.com>
3782
3783 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3784 (thread_func): Wait on barrier.
3785 (main): Wait for all threads to start before stopping GDB.
3786 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3787 global.
3788 (thread1_func, thread2_func): Wait on barrier.
3789 (main): Wait for all threads to start before stopping GDB.
3790 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3791 New global.
3792 (thread1_func, thread2_func): Wait on barrier.
3793 (main): Wait for all threads to start before stopping GDB.
3794
c945a99f
PA
37952015-01-09 Pedro Alves <palves@redhat.com>
3796
3797 * gdb.threads/attach-many-short-lived-threads.c: New file.
3798 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3799
c1a747c1
PA
38002014-01-09 Pedro Alves <palves@redhat.com>
3801
3802 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3803 instead of to thread 2.
3804 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3805 Add barrier around each pthread_create call instead of around all
3806 calls.
3807 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3808 Set a break on thread_function and have the child threads hit it
3809 one at at a time.
3810
60b3033e
PA
38112015-01-09 Pedro Alves <palves@redhat.com>
3812
3813 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3814 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3815 false.
3816 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3817 checking whether the target board is remote.
3818 * gdb.multi/multi-attach.exp: Likewise.
3819 * gdb.python/py-sync-interp.exp: Likewise.
3820 * gdb.server/ext-attach.exp: Likewise.
3821 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3822 tests that need to attach, instead of checking whether the target
3823 board is remote at the top of the file.
3824
acc018ac
YQ
38252015-01-08 Yao Qi <yao@codesourcery.com>
3826
3827 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3828
50a18af8
JK
38292015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3830
3831 Fix testcase compilation.
3832 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3833
8503d6e1
JB
38342015-01-06 Joel Brobecker <brobecker@adacore.com>
3835
3836 * gdb.python/py-type.exp: Add a couple test about empty
3837 array creation, and negative-length array creation.
3838
cc73dbcc
DE
38392015-01-02 Doug Evans <xdje42@gmail.com>
3840
3841 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3842
0300bbc7
DE
38432015-01-02 Doug Evans <dje@google.com>
3844
3845 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3846
9d85a0ec
YQ
38472014-12-29 Yao Qi <yao@codesourcery.com>
3848
3849 * gdb.trace/entry-values.exp: Update comments. Rename variable
3850 bar_call_foo to returned_from_foo.
3851
87186c6a
MMN
38522014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3853
3854 PR gdb/17394
3855 * gdb.linespec/break-asm-file.c: New file.
3856 * gdb.linespec/break-asm-file.exp: New file.
3857 * gdb.linespec/break-asm-file0.s: New file.
3858 * gdb.linespec/break-asm-file1.s: New file.
3859
1bab7383
YQ
38602014-12-18 Nigel Stephens <nigel@mips.com>
3861 Maciej W. Rozycki <macro@codesourcery.com>
3862
3863 * gdb.base/float.exp: Handle the new output from "info float" on
3864 MIPS targets.
3865
1bc1068a
JK
38662014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3867
3868 Fix MinGW compilation.
3869 * gdb.compile/compile-ops.exp: Update untested message if
3870 !skip_compile_feature_tests.
3871 * gdb.compile/compile-setjmp.exp: Likewise.
3872 * gdb.compile/compile-tls.exp: Likewise.
3873 * gdb.compile/compile.exp: Likewise.
3874 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3875 supported on this host".
3876
b6615d10
DE
38772014-12-16 Doug Evans <xdje42@gmail.com>
3878
3879 * boards/stabs.exp: New file.
3880
25dda427
AA
38812014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3882
3883 * gdb.base/completion.exp: Adjust to format changes of "maint
3884 print user-registers".
3885
bf330350
CU
38862014-12-16 Catalin Udma <catalin.udma@freescale.com>
3887
3888 PR server/17457
3889 * gdb.arch/aarch64-fp.c: New file.
3890 * gdb.arch/aarch64-fp.exp: New file.
3891
395cf596
SDJ
38922014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3893
3894 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3895 r210637, r210913, r211666, r215400, r215817).
3896
3897 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3898 * dg-extract-results.py: New file.
3899 * dg-extract-results.sh: Use it if the environment seems
3900 suitable.
3901
3902 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
3903
3904 * dg-extract-results.py (parse_run): Handle warnings that
3905 are printed before a test harness is run.
3906
3907 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
3908
3909 * dg-extract-results.py (Named): Remove __cmp__ method.
3910 (output_variation): Use a key to sort variation.harnesses.
3911
3912 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
3913
3914 * dg-extract-results.py: For Python 3, force sys.stdout to
3915 handle surrogate escape sequences.
3916 (safe_open): New function.
3917 (output_segment, main): Use it.
3918
3919 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3920
3921 * dg-extract-results.py (Prog.result_re): Include options
3922 in test name.
3923
3924 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3925
3926 * dg-extract-results.py (output_variation): Always sort if
3927 do_sum.
3928
e882ef3c
SM
39292014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3930
3931 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3932 as long as we get pagination notifications.
3933
4992aa20
JM
39342014-12-15 Jason Merrill <jason@redhat.com>
3935
3936 * Makefile.in (check-gdb.%): Restore.
3937 * README: Mention it.
3938
c1b5a1a6
JB
39392014-12-13 Joel Brobecker <brobecker@adacore.com>
3940
3941 * gdb.ada/str_uninit: New testcase.
3942
5537b577
JK
39432014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3944
3945 PR symtab/17642
3946 * gdb.base/vla-stub-define.c: New file.
3947 * gdb.base/vla-stub.c: New file.
3948 * gdb.base/vla-stub.exp: New file.
3949
bb2ec1b3
TT
39502014-12-12 Phil Muldoon <pmuldoon@redhat.com>
3951 Jan Kratochvil <jan.kratochvil@redhat.com>
3952 Tom Tromey <tromey@redhat.com>
3953
3954 * configure.ac: Add gdb.compile/.
3955 * configure: Regenerate.
3956 * gdb.compile/Makefile.in: New file.
3957 * gdb.compile/compile-ops.exp: New file.
3958 * gdb.compile/compile-ops.c: New file.
3959 * gdb.compile/compile-tls.c: New file.
3960 * gdb.compile/compile-tls.exp: New file.
3961 * gdb.compile/compile-constvar.S: New file.
3962 * gdb.compile/compile-constvar.c: New file.
3963 * gdb.compile/compile-mod.c: New file.
3964 * gdb.compile/compile-nodebug.c: New file.
3965 * gdb.compile/compile-setjmp-mod.c: New file.
3966 * gdb.compile/compile-setjmp.c: New file.
3967 * gdb.compile/compile-setjmp.exp: New file.
3968 * gdb.compile/compile-shlib.c: New file.
3969 * gdb.compile/compile.c: New file.
3970 * gdb.compile/compile.exp: New file.
3971 * lib/gdb.exp (skip_compile_feature_tests): New proc.
3972
4ff709eb
TT
39732014-12-12 Tom Tromey <tromey@redhat.com>
3974
3975 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
3976 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
3977
6dddd6a5
DE
39782014-12-12 Doug Evans <dje@google.com>
3979
3980 * lib/gdb-python.exp (get_python_valueof): New function.
3981 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
3982
71c24708
AA
39832014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3984
3985 * gdb.base/completion.exp: Add test for completion of "info
3986 registers ".
3987
3e29f34a
MR
39882014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
3989
3990 * gdb.base/func-ptrs.c: New file.
3991 * gdb.base/func-ptrs.exp: New file.
3992
fc126975
SM
39932014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3994
3995 PR breakpoints/17012
3996 * gdb.base/dprintf-detach.c: New file.
3997 * gdb.base/dprintf-detach.exp: New file.
3998
0a46d518
SM
39992014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4000
4001 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4002 * lib/gdb.exp (target_is_gdbserver): New procedure.
4003
a0be3e44
DE
40042014-12-08 Doug Evans <dje@google.com>
4005
4006 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4007
df1b803a
YQ
40082014-12-05 Yao Qi <yao@codesourcery.com>
4009
4010 * gdb.guile/scm-error.exp: Remove the third argument to
4011 gdb_remote_download.
4012 * gdb.guile/scm-frame-args.exp: Likewise.
4013 * gdb.guile/scm-section-script.exp: Likewise.
4014
ddb9f679
YQ
40152014-12-05 Yao Qi <yao@codesourcery.com>
4016
4017 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4018
86e4ed39
DE
40192014-12-04 Doug Evans <dje@google.com>
4020
4021 * gdb.python/py-objfile.exp: Add tests for
4022 objfile.add_separate_debug_file.
4023
7c50a931
DE
40242014-12-04 Doug Evans <dje@google.com>
4025
4026 * lib/gdb.exp (get_build_id): New function.
4027 (build_id_debug_filename_get): Rewrite to use it.
4028 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4029
621661e3
MR
40302014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4031
4032 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4033 `method(long)', not just 0x0.
4034 * gdb.cp/nsalias.exp: Align code labels to 4.
4035 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4036 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4037 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4038 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4039 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4040 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4041
29f0c3b7
DE
40422014-12-02 Doug Evans <dje@google.com>
4043
e1e061e7 4044 PR symtab/17602
29f0c3b7 4045 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4046 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4047 * gdb.cp/anon-ns.exp: Update.
4048
162078c8
NB
40492014-12-02 Nick Bull <nicholaspbull@gmail.com>
4050
4051 * gdb.python/py-events.py (inferior_call_handler): New.
4052 (register_changed_handler, memory_changed_handler): New.
4053 (test_events.invoke): Register new handlers.
4054 * gdb.python/py-events.exp: Add tests for inferior call,
4055 memory_changed and register_changed events.
4056
fdb09caf
AA
40572014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4058
4059 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4060 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4061 if the linker doesn't understand this.
4062
55cfb2c4
SM
40632014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4064
4065 * gdb.python/python.exp: Change expected reply to help().
4066
9e8cd6df
YQ
40672014-12-01 Yao Qi <yao@codesourcery.com>
4068
4069 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4070 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4071 * configure: Re-generated.
4072
6c659fc2
SC
40732014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4074
4075 * gdb.cp/chained-calls.cc: New file.
4076 * gdb.cp/chained-calls.exp: New file.
4077 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4078
d7fc3181
SM
40792014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4080
4081 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4082 * gdb.dwarf2/symtab-producer.exp: Same.
4083 * gdb.gdb/python-interrupts.exp: Same.
4084 * gdb.gdb/python-selftest.exp: Same.
4085 * gdb.python/py-linetable.exp: Same.
4086 * gdb.python/py-type.exp: Same.
4087 * gdb.python/py-value-cc.exp: Same.
4088 * gdb.python/py-value.exp: Same.
4089
10e79639
YQ
40902014-11-28 Yao Qi <yao@codesourcery.com>
4091
4092 * gdb.base/break-probes.exp: Match library name prefixed with
4093 sysroot.
4094
f28a0564
SM
40952014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4096
4097 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4098 test expected output. Add parentheses for the call to print.
4099 Remove L suffix from integers.
4100
3fe1ce1d
DE
41012014-11-26 Doug Evans <dje@google.com>
4102
4103 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4104
84429e27
YQ
41052014-11-22 Yao Qi <yao@codesourcery.com>
4106
4107 * gdb.trace/entry-values.c: Remove asms.
4108 (foo): Add foo_label.
4109 (bar): Add bar_label.
4110 * gdb.trace/entry-values.exp: Remove code computing foo's
4111 length and bar's length.
4112 (Dwarf::assemble): Invoke function_range for bar and use
4113 MACRO_AT_func for foo.
4114
26741859
YQ
41152014-11-22 Yao Qi <yao@codesourcery.com>
4116
4117 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4118 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4119 Use .Lgcc43_procstart instead of gcc43.
4120
45e44d27
JB
41212014-11-21 Joel Brobecker <brobecker@adacore.com>
4122
4123 * gdb.ada/n_arr_bound: New testcase.
4124
458c8db8
SDJ
41252014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4126
4127 PR breakpoints/10737
4128 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4129 test_catch_syscall_multi_arch.
4130 (test_catch_syscall_multi_arch): New function.
4131
43f3e411
DE
41322014-11-20 Doug Evans <xdje42@gmail.com>
4133
4134 * gdb.base/maint.exp: Update expected output.
4135
0d7b2549
AA
41362014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4137
4138 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4139 4-byte instruction on S390.
4140
8908fca5
JB
41412014-11-19 Joel Brobecker <brobecker@adacore.com>
4142
4143 * gdb.ada/arr_arr: New testcase.
4144
4a46959e
JB
41452014-11-19 Joel Brobecker <brobecker@adacore.com>
4146
4147 * gdb.ada/pkd_arr_elem: New Testcase.
4148
470e2f4e
LM
41492014-11-18 Luis Machado <lgustavo@codesourcery.com>
4150
4151 * gdb.reverse/break-precsave: Expect completion message for
4152 core file reads.
4153 * gdb.reverse/consecutive-precsave.exp: Likewise.
4154 * gdb.reverse/finish-precsave.exp: Likewise.
4155 * gdb.reverse/i386-precsave.exp: Likewise.
4156 * gdb.reverse/machinestate-precsave.exp: Likewise.
4157 * gdb.reverse/sigall-precsave.exp: Likewise.
4158 * gdb.reverse/solib-precsave.exp: Likewise.
4159 * gdb.reverse/step-precsave.exp: Likewise.
4160 * gdb.reverse/until-precsave.exp: Likewise.
4161 * gdb.reverse/watch-precsave.exp: Likewise.
4162
a267f3ad
AA
41632014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4164
4165 * gdb.base/bp-permanent.c: Include unistd.h.
4166 * gdb.python/py-framefilter-mi.c (main): Add return type.
4167 * gdb.python/py-framefilter.c (main): Likewise.
4168 * gdb.trace/actions-changed.c (main): Likewise.
4169
12084a9a
AA
41702014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4171
4172 * gdb.mi/until.c: Add eye-catchers.
4173 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4174 line numbers.
4175
dc7e1a77
AA
41762014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4177
4178 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4179 function header variants in break1.c.
4180 * gdb.base/ena-dis-br.exp: Likewise.
4181 * gdb.base/hbreak2.exp: Likewise.
4182 * gdb.reverse/until-precsave.exp: Drop references to removed
4183 non-prototype function header variants in ur1.c.
4184 * gdb.reverse/until-reverse.exp: Likewise.
4185
41c77605
PM
41862014-11-17 Petr Machata <pmachata@redhat.com>
4187
4188 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4189 ${_cu_offset_size} bytes abbrev offset.
4190
34248c3a
DE
41912014-11-15 Doug Evans <xdje42@gmail.com>
4192
4193 PR symtab/17559
4194 * gdb.base/line-symtabs.exp: New file.
4195 * gdb.base/line-symtabs.c: New file.
4196 * gdb.base/line-symtabs.h: New file.
4197
646da059
YQ
41982014-11-14 Yao Qi <yao@codesourcery.com>
4199
4200 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4201 (func): Add label func_label.
4202 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4203 Replace low_pc and high_pc with MACRO_AT_range.
4204 Replace name, low_pc and high_pc with MACRO_AT_func.
4205
9301ebe6
YQ
42062014-11-14 Yao Qi <yao@codesourcery.com>
4207
4208 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4209 Replace name, low_pc and high_pc with MACRO_AT_func.
4210
f166b542
YQ
42112014-11-14 Yao Qi <yao@codesourcery.com>
4212
4213 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4214 produce debug information.
4215 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4216
0f6e71e3
YQ
42172014-11-14 Yao Qi <yao@codesourcery.com>
4218
4219 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4220 object and get function length.
4221 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4222 with MACRO_AT_func.
4223 (top-level): Replace gdb_compile and clean_restart with
4224 prepare_for_testing.
4225 * gdb.dwarf2/main.c (main): Add label main_label.
4226
876c4df9
YQ
42272014-11-14 Yao Qi <yao@codesourcery.com>
4228
4229 * lib/dwarf.exp (function_range): New procedure.
4230 (Dwarf::_handle_macro_at_func): New procedure.
4231 (Dwarf::_handle_macro_at_range): New procedure.
4232 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4233
02ad9cf1
YQ
42342014-11-14 Yao Qi <yao@codesourcery.com>
4235
4236 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4237 (_handle_attribute): New procedure.
4238
a59add0c
AA
42392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4240
4241 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4242 * gdb.base/call-sc.c (zed): Likewise.
4243 * gdb.base/checkpoint.c (main): Likewise.
4244 * gdb.base/dump.c (main): Likewise.
4245 * gdb.base/gcore.c (main): Likewise.
4246 * gdb.base/huge.c (main): Likewise.
4247 * gdb.base/multi-forks.c (main): Likewise.
4248 * gdb.base/pr10179-a.c (main): Likewise.
4249 * gdb.base/savedregs.c (main): Likewise.
4250 * gdb.base/sigaltstack.c (main): Likewise.
4251 * gdb.base/siginfo.c (main): Likewise.
4252 * gdb.base/structs.c (zed): Likewise.
4253 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4254 * gdb.mi/mi-syn-frame.c (main): Likewise.
4255 * gdb.mi/until.c (foo, main): Likewise.
4256 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4257 * gdb.base/solib-weak.c (foo): Declare.
4258 * gdb.base/attach-twice.c: Include stdio.h.
4259 * gdb.base/weaklib1.c: Likewise.
4260 * gdb.base/weaklib2.c: Likewise.
4261 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4262 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4263 unistd.h.
4264 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4265 * gdb.mi/mi-exit-code.c: Likewise.
4266 * gdb.base/break-interp-lib.c: Include string.h.
4267 * gdb.base/coremaker.c: Likewise.
4268 * gdb.base/testenv.c: Likewise.
4269 * gdb.python/py-finish-breakpoint.c: Likewise.
4270 * gdb.base/inferior-died.c: Include sys/wait.h.
4271 * gdb.base/fileio.c: Include time.h.
4272 * gdb.base/async-shell.c: Include unistd.h.
4273 * gdb.base/dprintf-non-stop.c: Likewise.
4274 * gdb.base/info-os.c: Likewise.
4275 * gdb.mi/mi-console.c: Likewise.
4276 * gdb.mi/watch-nonstop.c: Likewise.
4277 * gdb.python/py-events.c: Likewise.
4278 * gdb.base/async.c (baz): Move up before its invocation.
4279 * gdb.base/code_elim2.c (my_global_func): Likewise.
4280 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4281 * gdb.base/advance.c (func2): Likewise.
4282
3b5d5997
AA
42832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4284
4285 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4286 variant.
4287 * gdb.base/annota3.c: Likewise.
4288 * gdb.base/async.c: Likewise.
4289 * gdb.base/average.c: Likewise.
4290 * gdb.base/call-ar-st.c: Likewise.
4291 * gdb.base/call-rt-st.c: Likewise.
4292 * gdb.base/call-sc.c: Likewise.
4293 * gdb.base/call-strs.c: Likewise.
4294 * gdb.base/ending-run.c: Likewise.
4295 * gdb.base/execd-prog.c: Likewise.
4296 * gdb.base/exprs.c: Likewise.
4297 * gdb.base/foll-exec.c: Likewise.
4298 * gdb.base/foll-fork.c: Likewise.
4299 * gdb.base/foll-vfork.c: Likewise.
4300 * gdb.base/funcargs.c: Likewise.
4301 * gdb.base/gcore.c: Likewise.
4302 * gdb.base/jump.c: Likewise.
4303 * gdb.base/langs0.c: Likewise.
4304 * gdb.base/langs1.c: Likewise.
4305 * gdb.base/langs2.c: Likewise.
4306 * gdb.base/mips_pro.c: Likewise.
4307 * gdb.base/nodebug.c: Likewise.
4308 * gdb.base/opaque0.c: Likewise.
4309 * gdb.base/opaque1.c: Likewise.
4310 * gdb.base/recurse.c: Likewise.
4311 * gdb.base/run.c: Likewise.
4312 * gdb.base/scope0.c: Likewise.
4313 * gdb.base/scope1.c: Likewise.
4314 * gdb.base/setshow.c: Likewise.
4315 * gdb.base/setvar.c: Likewise.
4316 * gdb.base/shmain.c: Likewise.
4317 * gdb.base/shr1.c: Likewise.
4318 * gdb.base/shr2.c: Likewise.
4319 * gdb.base/sigall.c: Likewise.
4320 * gdb.base/signals.c: Likewise.
4321 * gdb.base/so-indr-cl.c: Likewise.
4322 * gdb.base/solib2.c: Likewise.
4323 * gdb.base/structs.c: Likewise.
4324 * gdb.base/sum.c: Likewise.
4325 * gdb.base/vforked-prog.c: Likewise.
4326 * gdb.base/watchpoint.c: Likewise.
4327 * gdb.reverse/shr2.c: Likewise.
4328 * gdb.reverse/until-reverse.c: Likewise.
4329 * gdb.reverse/ur1.c: Likewise.
4330 * gdb.reverse/watch-reverse.c: Likewise.
4331
066a77c5
AA
43322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4333
4334 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4335 variant.
4336 * gdb.base/sepdebug.exp: Drop references to removed code.
4337
4f204ea5
AA
43382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4339
4340 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4341 variant. Preserve original line numbering.
4342 * gdb.base/list1.c: Likewise.
4343
3b377a3a
AA
43442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4345
4346 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4347 variant.
4348 * gdb.base/break1.c: Likewise.
4349 * gdb.base/break.exp: Drop references to removed code.
4350
e444df73
AA
43512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4352
4353 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4354 variant.
4355
8008f2a7
AA
43562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4357
4358 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4359
a5a06887
AA
43602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4361
4362 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4363 logic into perform_all_tests() and invoke it with and without
4364 function header prototypes.
4365 (do_function_calls): Remove conditional XFAIL for PR 5318.
4366 (rerun_and_prepare): Remove duplicate code.
4367 (perform_all_tests): New. Main logic moved here.
4368
44dba9b9
AA
43692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4370
4371 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4372 code guarded by #ifdef NO_PROTOTYPES.
4373 (t_double_many_args): Likewise.
4374 (DEF_FUNC_MANY_ARGS_1): Likewise.
4375 (DEF_FUNC_VALUES_1): Likewise.
4376 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4377 guarded by #ifdef PROTOTYPES.
4378
d1fbcd56
AA
43792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4380
4381 * gdb.mi/mi-console.c: Add eye-catcher.
4382 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4383 instead of literal line number.
4384
b0e59b8f
AA
43852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4386
4387 * gdb.base/shr2.c: Add eye-catcher.
4388 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4389 line number.
4390
78f98cca
AA
43912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4392
4393 * gdb.base/jump.c: Add eye-catchers.
4394 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4395 numbers.
4396
58fa2af0
AA
43972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4398
4399 * gdb.base/execd-prog.c: Add eye-catchers.
4400 * gdb.base/foll-exec.c: Likewise.
4401 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4402 line numbers.
4403
04e5059b
AA
44042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4405
4406 * gdb.base/ending-run.c: Add eye-catchers.
4407 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4408 literal line numbers.
4409
dbfdb174
AA
44102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4411
4412 * gdb.base/call-rt-st.c: Add eye-catchers.
4413 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4414 literal line numbers.
4415
888a2ade
AA
44162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4417
4418 * gdb.base/call-ar-st.c: Add eye-catchers.
4419 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4420 literal line numbers.
4421
6acc2dde
AA
44222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4423
4424 * gdb.base/average.c: Add eye-catchers.
4425 * gdb.base/sum.c: Likewise.
4426 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4427 regexps dynamically.
4428
9ecfcd1d
AA
44292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4430
4431 * gdb.base/solib1.c: Add eye-catchers.
4432 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4433 literal line numbers.
4434
78708b7c
PA
44352014-11-12 Pedro Alves <palves@redhat.com>
4436
4437 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4438 leader has exited.
4439
af48d08f
PA
44402014-11-12 Pedro Alves <palves@redhat.com>
4441
4442 * gdb.arch/i386-bp_permanent.c: New file.
4443 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4444 (srcfile): Set to i386-bp_permanent.c.
4445 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4446 that stepi does not execute the 'leave' instruction, instead of
4447 testing it does execute.
4448 * gdb.base/bp-permanent.c: New file.
4449 * gdb.base/bp-permanent.exp: New file.
4450
af3768e9
DE
44512014-11-10 Doug Evans <xdje42@gmail.com>
4452
4453 PR symtab/17564
4454 * gdb.base/symtab-search-order.exp: New file.
4455 * gdb.base/symtab-search-order.c: New file.
4456 * gdb.base/symtab-search-order-1.c: New file.
4457 * gdb.base/symtab-search-order-shlib-1.c: New file.
4458
9de00a4a
PA
44592014-11-07 Pedro Alves <palves@redhat.com>
4460
4461 PR gdb/17511
4462 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4463 i?86-*-linux*.
4464
e0f52461
SC
44652014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4466
4467 PR c++/17494
4468 * gdb.cp/pr17494.cc: New file.
4469 * gdb.cp/pr17494.exp: New file.
4470
6ce8c980
YQ
44712014-11-02 Yao Qi <yao@codesourcery.com>
4472
4473 * gdb.python/python.exp: Get working directory and match the
4474 output of "set extended-prompt \\w " with it.
4475
02be9a71
DE
44762014-10-30 Doug Evans <dje@google.com>
4477
4478 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4479 in objfiles.
4480 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4481 in progspaces.
4482
3bdff46b
LM
44832014-10-30 Janis Johnson <janisjo@codesourcery.com>
4484
4485 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4486 * gdb.base/realname-expand.exp: Likewise.
4487 * gdb.linespec/macro-relative.exp: Likewise.
4488
ab917dfb
PA
44892014-10-29 Pedro Alves <palves@redhat.com>
4490
4491 PR gdb/17408
4492 * gdb.threads/schedlock.c (some_function): New function.
4493 (call_function): New global.
4494 (MAYBE_CALL_SOME_FUNCTION): New macro.
4495 (thread_function): Call it.
4496 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4497 and use it instead of a global counter. Adjust all callers.
4498 (get_current_thread): Use "find current thread" for test message
4499 here rather than having all callers pass down the same string.
4500 (goto_loop): New procedure, factored out from ...
4501 (my_continue): ... this.
4502 (step_ten_loops): Change parameter from test message to command to
4503 use. Adjust.
4504 (list_count): Delete global.
4505 (check_result): New procedure, factored out from duplicate top
4506 level code.
4507 (continue tests): Wrap in with_test_prefix.
4508 (test_step): New procedure, factored out from duplicate top level
4509 code.
4510 (top level): Test "step" in combination with all scheduler-locking
4511 modes. Test "next" in combination with all scheduler-locking
4512 modes, and in combination with stepping over a function call or
4513 not.
4514 * gdb.threads/next-bp-other-thread.c: New file.
4515 * gdb.threads/next-bp-other-thread.exp: New file.
4516
d3d4baed
PA
45172014-10-29 Pedro Alves <palves@redhat.com>
4518
4519 PR python/17372
4520 * gdb.python/python.exp: Test a multi-line command that spawns
4521 interactive Python.
4522 * gdb.base/multi-line-starts-subshell.exp: New file.
4523
563e8d85
YQ
45242014-10-29 Yao Qi <yao@codesourcery.com>
4525
4526 * gdb.base/fileio.exp: Make directories on host.
4527
0ea4d52e
YQ
45282014-10-29 Yao Qi <yao@codesourcery.com>
4529
4530 * gdb.base/fileio.c (test_write): Close the file.
4531
7f5ef605
PA
45322014-10-28 Pedro Alves <palves@redhat.com>
4533
4534 PR gdb/12623
4535 * gdb.base/sigstep.c (no_handler): New global.
4536 (main): If 'no_handler is true, set the signal handlers to
4537 SIG_IGN.
4538 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4539 with_sw_watch and no_handler parameters. Handle them.
4540 (top level) <stepping over handler when stopped at a breakpoint
4541 test>: Add a test axis for testing with a software watchpoint, and
4542 another for testing with the signal handler set to SIG_IGN.
4543 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4544 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4545
abbdbd03
PA
45462014-10-28 Pedro Alves <palves@redhat.com>
4547
4548 PR gdb/17511
4549 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4550 * gdb.base/sigstep.exp (other_handler_location): New global.
4551 (advance): Support stepping into the signal handler, and running
4552 commands while in the handler.
4553 (in_handler_map): New global.
4554 (top level): In the advance test, add combinations for getting
4555 into the handler with stepping commands, and for running commands
4556 in the handler. Add comment descripting the advancei tests.
4557
1df4399f
PA
45582014-10-28 Pedro Alves <palves@redhat.com>
4559
4560 * gdb.base/sigstep.exp: Use build_executable instead of
4561 prepare_for_testing.
4562 (top level): Move code that starts GDB, runs to main and creates a
4563 display to ...
4564 (restart): ... this new procedure.
4565 (top level): Move backtrace from signal handler test to ...
4566 (validate_backtrace): ... this new procedure.
4567 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4568 with_test_prefix. Always restart GDB.
4569 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4570 with_test_prefix. Always restart GDB. No need to delete
4571 breakpoints after the test.
4572 (test_skip_handler): Remove prefix parameter.
4573 (skip_over_handler, breakpoint_to_handler)
4574 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4575 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4576 restart GDB. No need to delete breakpoints after the test.
4577 (top level): Use foreach to call the test procedures with
4578 different commands.
4579
a5b6e449
PA
45802014-10-28 Pedro Alves <palves@redhat.com>
4581
4582 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4583 instead of GNATS numbers.
4584 * gdb.base/sigbpt.exp: Likewise.
4585 * gdb.base/siginfo.exp: Likewise.
4586 * gdb.base/sigstep.exp: Likewise.
4587
e5f8a7cc
PA
45882014-10-27 Pedro Alves <palves@redhat.com>
4589
4590 * gdb.base/sigstep.c (dummy): New global.
4591 (main): Issue a couple writes to the new global.
4592 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4593 procedures.
4594 (skip_over_handler): Use test_skip_handler.
4595 (top level): Call skip_over_handler for stepi and nexti too.
4596 (breakpoint_over_handler): Use test_skip_handler.
4597 (top level): Call breakpoint_over_handler for stepi and nexti too.
4598
763905a3
YQ
45992014-10-27 Yao Qi <yao@codesourcery.com>
4600
4601 * gdb.trace/tfile.c (adjust_function_address)
4602 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4603 function descriptor.
4604
6f259a23
DB
46052014-10-24 Don Breazeal <donb@codesourcery.com>
4606
4607 * gdb.base/foll-fork.exp (test_follow_fork,
4608 catch_fork_child_follow): Check for updated fork messages emitted
4609 from infrun.c.
4610 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4611 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4612 vfork_and_exec_child_follow_through_step): Check for updated vfork
4613 messages emitted from infrun.c.
4614
09dd9a69
PA
46152014-10-24 Pedro Alves <palves@redhat.com>
4616
4617 * gdb.base/corefile.exp: Remove references to ultrix.
4618 * gdb.base/interrupt.exp: Likewise.
4619 * gdb.base/whatis.exp: Likewise.
4620 * gdb.gdb/selftest.exp: Likewise.
4621 * gdb.threads/manythreads.exp: Likewise.
4622 * gdb.threads/print-threads.exp: Likewise.
4623 * gdb.threads/pthreads.exp:: Likewise.
4624 * gdb.threads/schedlock.exp: Likewise.
4625
3433cfa5
SC
46262014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4627
4628 * gdb.cp/non-trivial-retval.cc: Add a test case.
4629 * gdb.cp/non-trivial-retval.exp: Add a test.
4630
092f880b
YQ
46312014-10-20 Yao Qi <yao@codesourcery.com>
4632
4633 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4634 * gdb.python/py-objfile-script-gdb.py: New file.
4635 * gdb.python/py-objfile-script.exp: Update reference to
4636 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4637 of remote_download. Remove the dest file.
4638
acbdb7f3
YQ
46392014-10-20 Yao Qi <yao@codesourcery.com>
4640
4641 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4642 * gdb.base/step-line.exp: Likewise.
4643 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4644 * gdb.dwarf2/dw2-basic.exp: Likewise.
4645 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4646 * gdb.dwarf2/dw2-filename.exp: Likewise.
4647 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4648 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4649 * gdb.dwarf2/dw2-producer.exp: Likewise.
4650 * gdb.dwarf2/mac-fileno.exp: Likewise.
4651 * gdb.python/py-frame-args.exp: Likewise.
4652 * gdb.python/py-framefilter.exp: Likewise.
4653 * gdb.python/py-mi.exp: Likewise.
4654 * gdb.python/py-objfile-script.exp: Likewise
4655 * gdb.python/py-pp-integral.exp: Likewise.
4656 * gdb.python/py-pp-re-notag.exp: Likewise.
4657 * gdb.python/py-prettyprint.exp: Likewise.
4658 * gdb.python/py-section-script.exp: Likewise.
4659 * gdb.python/py-typeprint.exp: Likewise.
4660 * gdb.python/py-xmethods.exp: Likewise.
4661 * gdb.stabs/weird.exp: Likewise.
4662 * gdb.xml/tdesc-regs.exp: Likewise.
4663
bd286a29
KCY
46642014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4665
4666 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4667 (out_cu): Use addr_len for the size of addresses.
4668 (out_line): Likewise. Size DW_LNE_set_address instruction
4669 according to addr_len.
4670 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4671 (FUNC): Add START_INSNS to definition.
4672
673dc4a0
YQ
46732014-10-18 Yao Qi <yao@codesourcery.com>
4674
4675 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4676 gdb_has_argv0 return true.
4677 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4678 check [target_info exists noargs], check [gdb_has_argv0]
4679 instead.
4680 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4681 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4682 procedures.
4683
4ffbba72
DE
46842014-10-17 Doug Evans <dje@google.com>
4685
4686 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4687 event.
4688 * gdb.python/py-events.py: Add clear_objfiles event.
4689
d096d8c1
DE
46902014-10-17 Doug Evans <dje@google.com>
4691
4692 * gdb.python/py-objfile.exp: Test progspace attribute.
4693
a80db015
LM
46942014-10-17 Luis Machado <lgustavo@codesourcery.com>
4695
4696 * gdb.guile/scm-breakpoint.exp: Do not assume any
4697 directory separators when matching source file paths.
4698 * gdb.python/py-breakpoint.exp: Likewise.
4699 * gdb.reverse/break-precsave.exp: Likewise.
4700 * gdb.reverse/break-reverse.exp: Likewise.
4701 * gdb.reverse/consecutive-precsave.exp: Likewise.
4702 * gdb.reverse/finish-precsave.exp: Likewise.
4703 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4704 * gdb.reverse/finish-reverse.exp: Likewise.
4705 * gdb.reverse/i386-precsave.exp: Likewise.
4706 * gdb.reverse/i387-env-reverse.exp: Likewise.
4707 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4708 * gdb.reverse/machinestate-precsave.exp: Likewise.
4709 * gdb.reverse/machinestate.exp: Likewise.
4710 * gdb.reverse/sigall-precsave.exp: Likewise.
4711 * gdb.reverse/solib-precsave.exp: Likewise.
4712 * gdb.reverse/step-precsave.exp: Likewise.
4713 * gdb.reverse/until-precsave.exp: Likewise.
4714 * gdb.reverse/watch-precsave.exp: Likewise.
4715 * gdb.reverse/watch-reverse.exp: Likewise.
4716
b22089ab
YQ
47172014-10-17 Yao Qi <yao@codesourcery.com>
4718
4719 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4720 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4721
6c4486e6
PA
47222014-10-17 Pedro Alves <palves@redhat.com>
4723
4724 PR gdb/17471
4725 * gdb.base/bg-execution-repeat.c: New file.
4726 * gdb.base/bg-execution-repeat.exp: New file.
4727
0ff33695
PA
47282014-10-17 Pedro Alves <palves@redhat.com>
4729
4730 PR gdb/17300
4731 * gdb.base/continue-all-already-running.c: New file.
4732 * gdb.base/continue-all-already-running.exp: New file.
4733
6fdebc3d
PA
47342014-10-17 Pedro Alves <palves@redhat.com>
4735
4736 PR gdb/17472
4737 * gdb.base/annota-input-while-running.c: New file.
4738 * gdb.base/annota-input-while-running.exp: New file.
4739
32a8097b
PA
47402014-10-17 Pedro Alves <palves@redhat.com>
4741
4742 * gdb.base/callfuncs.exp: emove references to osf.
4743 * gdb.base/sigall.exp: Likewise.
4744 * gdb.gdb/selftest.exp: Likewise.
4745 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4746 * gdb.mi/non-stop.c: Likewise.
4747 * gdb.mi/pthreads.c: Likewise.
4748 * gdb.reverse/sigall-precsave.exp: Likewise.
4749 * gdb.reverse/sigall-reverse.exp: Likewise.
4750 * gdb.threads/pthreads.c: Likewise.
4751 * gdb.threads/pthreads.exp: Likewise.
4752
7a3517ff
YQ
47532014-10-17 Yao Qi <yao@codesourcery.com>
4754
4755 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4756 check 'target_info exists noargs'.
4757 (test_command_prompt_position): Likewise.
4758 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4759 Remove "set args".
4760 (progvar_simple_while_test): Likewise.
4761 (progvar_complex_if_while_test): Likewise.
4762 (if_while_breakpoint_command_test): Likewise.
4763 (infrun_breakpoint_command_test): Likewise.
4764 (breakpoint_command_test): Likewise.
4765 (watchpoint_command_test): Likewise.
4766 (bp_deleted_in_command_test): Likewise.
4767 (temporary_breakpoint_commands): Likewise.
4768
bb99c472
YQ
47692014-10-16 Yao Qi <yao@codesourcery.com>
4770
4771 * gdb.base/remotetimeout.exp: Remove noargs checking.
4772
7c16b83e
PA
47732014-10-15 Pedro Alves <palves@redhat.com>
4774
4775 PR breakpoints/9649
4776 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4777 * gdb.base/breakpoint-in-ro-region.exp
4778 (probe_target_hardware_step): New procedure.
4779 (top level): Probe hardware stepping and hardware breakpoint
4780 support. Test stepping through a read-only region, with both
4781 "breakpoint auto-hw" on and off and both "always-inserted" on and
4782 off.
4783
35a49624
IB
47842014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4785
4786 * gdb.dlang/demangle.exp: Update for demangling changes.
4787
2d1c107c
SC
47882014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4789
4790 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4791 * gdb.cp/non-trivial-retval.exp: Add new tests.
4792
778811d5
SC
47932014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4794
4795 PR c++/13403
4796 PR c++/15154
4797 * gdb.cp/non-trivial-retval.cc: New file.
4798 * gdb.cp/non-trivial-retval.exp: New file.
4799
10c5f0a8
YQ
48002014-10-15 Yao Qi <yao@codesourcery.com>
4801
4802 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4803 remote host.
4804
65d7b369
YQ
48052014-10-15 Yao Qi <yao@codesourcery.com>
4806
4807 * gdb.python/py-symbol.exp: Match file base name if host is
4808 remote, otherwise match file name with dir name.
4809 * gdb.python/py-symtab.exp: Likewise.
4810 * gdb.python/python.exp: Likewise.
4811
46dc1394
YQ
48122014-10-15 Yao Qi <yao@codesourcery.com>
4813
4814 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4815 pattern.
4816 * gdb.python/py-symtab.exp: Likewise.
4817 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4818 locationn.
4819
c40cc657
JB
48202014-10-14 Joel Brobecker <brobecker@adacore.com>
4821
4822 * gdb.ada/addr_arith: New testcase.
4823
2abf49e1
MR
48242014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4825
4826 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4827 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4828 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4829 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4830
f7088df3
SDJ
48312014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4832
4833 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4834 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4835 * gdb.arch/stap-eval-lang-ada.exp: New file.
4836
4dc06805
YQ
48372014-10-14 Yao Qi <yao@codesourcery.com>
4838
4839 * gdb.mi/mi-var-child.c (nothing1): New function.
4840 (nothing2): New function.
4841 (do_children_tests): Set function pointers by nothing1 and
4842 nothing2.
4843 * gdb.mi/mi-var-child.exp: Step over new added statements.
4844 Update test to match the new output.
4845 * gdb.mi/var-cmd.c (nothing1): New function.
4846 (nothing2): New function.
4847 (do_children_tests): Set function pointers by nothing1 and
4848 nothing2.
4849 * gdb.mi/mi-var-display.exp: Update test to match output.
4850 Step to the line specified by $line_dct_nothing.
4851 Increase the number of lines to step.
4852
46a93de2
YQ
48532014-10-14 Yao Qi <yao@codesourcery.com>
4854
4855 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4856 tests.
4857 * gdb.mi/mi2-var-child.exp: Likewise.
4858
14ea52ee
DE
48592014-10-13 Doug Evans <dje@google.com>
4860
4861 * gdb.python/py-objfile.exp: Change name of file name test.
4862
e5c6e92b
DE
48632014-10-13 Doug Evans <dje@google.com>
4864
4865 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4866 from the start of the CU.
4867
c780cc2f
JK
48682014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4869 Yao Qi <yao@codesourcery.com>
4870
4871 Fix "save breakpoints" for "catch" command.
4872 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4873 Remove -nonewline. Match also the added "main" line.
4874
99894e11
JK
48752014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4876
4877 Fix "save breakpoints" for "disable $bpnum" command.
4878 * gdb.base/save-bp.c (main): Add label.
4879 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4880
6e1ac5a3
JK
48812014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4882
4883 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4884
754dd2b0
YQ
48852014-10-11 Yao Qi <yao@codesourcery.com>
4886
4887 * gdb.server/server-kill.exp: Execute command
4888 "set remote trace-status-packet on" before "tstatus".
4889
f90183d7
YQ
48902014-10-11 Yao Qi <yao@codesourcery.com>
4891
4892 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4893 (main): Call getppid.
4894 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4895 and continue to it. Read variable "server_pid".
4896
bf40a607
YQ
48972014-10-11 Yao Qi <yao@codesourcery.com>
4898
4899 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
4900
052ca370
YQ
49012014-10-11 Yao Qi <yao@codesourcery.com>
4902
4903 * gdb.threads/thread-find.exp: Don't execute command
4904 "info threads".
4905 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
4906 * gdb.threads/linux-dp.exp: Don't check the condition
4907 $threads_created equals to zero.
4908
3831839c
PA
49092014-10-10 Pedro Alves <palves@redhat.com>
4910
4911 * gdb.base/bigcore.exp: Remove references to IRIX.
4912 * gdb.base/funcargs.exp: Likewise.
4913 * gdb.base/interrupt.exp: Likewise.
4914 * gdb.base/mips_pro.exp: Likewise.
4915 * gdb.base/nodebug.exp: Likewise.
4916 * gdb.base/setvar.exp: Likewise.
4917 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
4918
8b9a549d
PA
49192014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4920 Pedro Alves <palves@redhat.com>
4921
4922 PR symtab/14466
4923 * gdb.base/vdso-warning.c: New file.
4924 * gdb.base/vdso-warning.exp: New file.
4925
d48ba5e8
DE
49262014-10-02 Doug Evans <dje@google.com>
4927
4928 * gdb.base/structs.c (main): Don't run forever.
4929
2278c276
PA
49302014-10-02 Pedro Alves <palves@redhat.com>
4931
4932 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4933 (top level) <stop threads 1, stop threads 2>: Use it.
4934
b57bacec
PA
49352014-10-02 Pedro Alves <palves@redhat.com>
4936
4937 * gdb.threads/break-while-running.exp (test): Add new
4938 'update_thread_list' argument. Skip "info threads" if false.
4939 (top level): Add new 'update_thread_list' axis.
4940
13fd3ff3
PA
49412014-10-02 Pedro Alves <palves@redhat.com>
4942
4943 PR breakpoints/17431
4944 * gdb.base/execl-update-breakpoints.c: New file.
4945 * gdb.base/execl-update-breakpoints.exp: New file.
4946
0fec99e8
PA
49472014-10-01 Pedro Alves <palves@redhat.com>
4948
4949 * gdb.base/breakpoint-in-ro-region.c: New file.
4950 * gdb.base/breakpoint-in-ro-region.exp: New file.
4951
2ddf4301
SM
49522014-10-01 Simon Marchi <simon.marchi@ericsson.com>
4953
4954 * gdb.mi/mi-exit-code.exp: New file.
4955 * gdb.mi/mi-exit-code.c: New file.
4956
6a5f3f43
YQ
49572014-09-30 Yao Qi <yao@codesourcery.com>
4958
4959 * lib/prelink-support.exp (build_executable_own_libs): Error if
4960 the target isn't native.
4961
345bcc73
YQ
49622014-09-30 Yao Qi <yao@codesourcery.com>
4963
4964 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
4965 false.
4966
a25a5a45
PA
49672014-09-22 Pedro Alves <palves@redhat.com>
4968
4969 * gdb.threads/break-while-running.exp: New file.
4970 * gdb.threads/break-while-running.c: New file.
4971
00ba3162
YQ
49722014-09-19 Yao Qi <yao@codesourcery.com>
4973
4974 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
4975 Invoke test. Restart GDB with --readnow and invoke test again.
4976
c3b7b696
YQ
49772014-09-19 Yao Qi <yao@codesourcery.com>
4978
4979 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
4980 proc set_breakpoint_on_gcd_function. Invoke
4981 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
4982 invoke set_breakpoint_on_gcd_function again.
4983
2b4fd423
DE
49842014-09-18 Doug Evans <dje@google.com>
4985
4986 * gdb.dwarf2/symtab-producer.exp: New file.
4987
a5947601
SDJ
49882014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4989
4990 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
4991 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
4992 * gdb.base/global-var-nested-by-dso.c: Likewise.
4993 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4994
91c19059
SDJ
49952014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4996 Pedro Alves <palves@redhat.com>
4997
4998 * gdb.base/watch-bitfields.exp: Pass string other than test file
4999 name to prepare_for_testing.
5000 (watch): New procedure.
5001 (expect_watchpoint): Use with_test_prefix.
5002 (top level): Factor out tests to ...
5003 (test_watch_location, test_regular_watch): ... these new
5004 procedures, and use with_test_prefix and gdb_continue_to_end.
5005
bb9d5f81
PP
50062014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5007
5008 PR breakpoints/12526
5009 * gdb.base/watch-bitfields.exp: New file.
5010 * gdb.base/watch-bitfields.c: New file.
5011
635856f5
PA
50122014-09-16 Pedro Alves <palves@redhat.com>
5013
5014 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5015 software and hardware addresses, not software address against
5016 itself.
5017
7280ceea
PA
50182014-09-16 Pedro Alves <palves@redhat.com>
5019
5020 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5021 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5022
428b16bd
PA
50232014-09-16 Pedro Alves <palves@redhat.com>
5024
5025 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5026 files.
5027 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5028 "*-*-vxworks*" throughout.
5029 * gdb.base/break.exp: Likewise.
5030 * gdb.base/default.exp: Likewise.
5031 * gdb.base/scope.exp: Likewise.
5032 * gdb.base/sepdebug.exp: Likewise.
5033 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5034 throughout.
5035 * gdb.base/run.c: Likewise.
5036 * gdb.base/sepdebug.c: Likewise.
5037 * gdb.hp/gdb.aCC/run.c: Likewise.
5038 * gdb.reverse/until-reverse.c: Likewise.
5039 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5040
666d413c
YQ
50412014-09-16 Yao Qi <yao@codesourcery.com>
5042
5043 * boards/local-remote-host-native.exp: New file.
5044
57cbd724
DE
50452014-09-14 Doug Evans <xdje42@gmail.com>
5046
5047 * gdb.threads/queue-signal.c (thread_count): New variable.
5048 (thread_count_mutex, thread_count_condvar): New variables.
5049 (incr_thread_count, wait_all_threads_running): New functions.
5050 (main): Wait for all threads to be in their thread functions.
5051
81219e53
DE
50522014-09-13 Doug Evans <xdje42@gmail.com>
5053
5054 * gdb.threads/queue-signal.c: New file.
5055 * gdb.threads/queue-signal.exp: New file.
5056
3714cea7
DE
50572014-09-13 Doug Evans <xdje42@gmail.com>
5058
5059 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5060 be consistent with what default_gdb_init uses.
5061 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5062 the plain text of the prompt. Add some logging printfs.
5063 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5064
fa43b1d7
PA
50652014-09-12 Pedro Alves <palves@redhat.com>
5066
5067 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5068 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5069 * gdb.arch/i386-size-overlap.exp: Likewise.
5070 * gdb.arch/i386-size.exp: Likewise.
5071 * gdb.arch/i386-unwind.exp: Likewise.
5072 * gdb.base/a2-run.exp: Likewise.
5073 * gdb.base/break.exp: Likewise.
5074 * gdb.base/charset.exp: Likewise.
5075 * gdb.base/chng-syms.exp: Likewise.
5076 * gdb.base/commands.exp: Likewise.
5077 * gdb.base/dbx.exp: Likewise.
5078 * gdb.base/find.exp: Likewise.
5079 * gdb.base/funcargs.exp: Likewise.
5080 * gdb.base/jit-simple.exp: Likewise.
5081 * gdb.base/reread.exp: Likewise.
5082 * gdb.base/sepdebug.exp: Likewise.
5083 * gdb.base/step-bt.exp: Likewise.
5084 * gdb.cp/mb-inline.exp: Likewise.
5085 * gdb.cp/mb-templates.exp: Likewise.
5086 * gdb.objc/basicclass.exp: Likewise.
5087 * gdb.threads/killed.exp: Likewise.
5088
9d9bf2df
EBM
50892014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5090
5091 PR tdep/17379
5092 * gdb.arch/powerpc-stackless.S: New file.
5093 * gdb.arch/powerpc-stackless.exp: New file.
5094
1cf2f1b0
JK
50952014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5096
5097 * gdb.base/attach.c: Include unistd.h.
5098 (main): Call alarm. Add label postloop.
5099 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5100 gdb_breakpoint, gdb_continue_to_breakpoint.
5101 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5102
98880d46
PA
51032014-09-11 Pedro Alves <palves@redhat.com>
5104
5105 PR gdb/17347
5106 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5107 * gdb.base/attach.exp (test_command_line_attach_run): New
5108 procedure.
5109 (top level): Call it.
5110
4c92ff2c
PA
51112014-09-11 Pedro Alves <palves@redhat.com>
5112
5113 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5114 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5115 (do_command_attach_tests): Use spawn_wait_for_attach.
5116 * gdb.base/solib-overlap.exp: Likewise.
5117 * gdb.multi/multi-attach.exp: Likewise.
5118 * gdb.python/py-prompt.exp: Likewise.
5119 * gdb.python/py-sync-interp.exp: Likewise.
5120 * gdb.server/ext-attach.exp: Likewise.
5121
3adc1a7d
GKB
51222014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5123
5124 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5125 command in testcase. Simplify testcase.
5126
96334934
JB
51272014-09-10 Joel Brobecker <brobecker@adacore.com>
5128
5129 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5130
eb479039
JB
51312014-09-10 Joel Brobecker <brobecker@adacore.com>
5132
5133 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5134
deede10c
JB
51352014-09-10 Joel Brobecker <brobecker@adacore.com>
5136
5137 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5138
7828a5f5
JB
51392014-09-10 Joel Brobecker <brobecker@adacore.com>
5140
5141 * gdb.dwarf2/dynarr-ptr.c: New file.
5142 * gdb.dwarf2/dynarr-ptr.exp: New file.
5143
33aeebcf
MR
51442014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5145
5146 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5147 of 30 rather than hardcoding 120 for a slow test case. Take the
5148 `gdb,timeout' target setting into account for this calculation.
5149 Don't extend the timeout for the test cases that don't need it.
5150
7b415901
MR
51512014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5152
5153 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5154 a factor of 2 for a slow test case. Take the `gdb,timeout'
5155 target setting into account for this calculation.
5156 * gdb.reverse/until-precsave.exp: Increase the timeout by
5157 a factor of 15 and 3 respectively rather than adding 120
5158 for a pair of slow test cases. Take the `gdb,timeout'
5159 target setting into account for this calculation.
5160
4a40f85a
MR
51612014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5162
5163 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5164 timeout, don't pass one down to gdb_expect.
5165 (gdb_expect): Rework timeout selection.
5166
09635af7
MR
51672014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5168
5169 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5170 exception on timeout.
5171 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5172 (gdbserver_start_extended): Catch any `gdbserver_start' error
5173 exceptions.
5174 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5175 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5176 `gdbserver_gdb_load' error exceptions.
5177
2bdd10b7
MR
51782014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5179
5180 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5181 120 on waiting for the TCP socket to open.
5182
316935f0
DE
51832014-09-09 Doug Evans <xdje42@gmail.com>
5184
5185 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5186 _caller_matches, _any_caller_is, _any_caller_matches.
5187
83740597
DE
51882014-09-09 Doug Evans <xdje42@gmail.com>
5189
5190 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5191
4c122fc3
YQ
51922014-09-09 Yao Qi <yao@codesourcery.com>
5193
5194 * gdb.mi/mi-var-display.exp: Set print symbol off.
5195
a9f116cb
GKB
51962014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5197
5198 PR gdb/17035
5199 * gdb.base/commands.exp: Add tests to verify user-defined
5200 commands with empty bodies.
5201 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5202 python commands in `show user command`.
5203 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5204 scheme commands in `show user command`.
5205
c75bd3a2
JK
52062014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5207
5208 PR python/17355
5209 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5210 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5211 * gdb.python/py-framefilter-invalidarg.exp: New file.
5212 * gdb.python/py-framefilter-invalidarg.py: New file.
5213
faa42425
DE
52142014-09-06 Doug Evans <xdje42@gmail.com>
5215
5216 PR 15276
5217 * gdb.python/py-caller-is.c: New file.
5218 * gdb.python/py-caller-is.exp: New file.
5219
474ca4f6
SDJ
52202014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5221
5222 PR gdb/17235
5223 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5224 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5225
eb0b0463
SDJ
52262014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5227
5228 PR fortran/17237
5229 * gdb.fortran/print-formatted.exp: New file.
5230 * gdb.fortran/print-formatted.f90: Likewise.
5231
5f3b99cf
SS
52322014-09-03 Sasha Smundak <asmundak@google.com>
5233
5234 * gdb.python/py-frame.exp: Test Frame.read_register.
5235
7d793aa9
SDJ
52362014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5237
5238 PR python/16699
5239 * gdb.python/py-completion.exp: New file.
5240 * gdb.python/py-completion.py: Likewise.
5241
fb0576e9
DE
52422014-08-28 Doug Evans <dje@google.com>
5243
5244 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5245 eax,etc. are live with values set by gdb and thus the compiler can't
5246 use them.
5247 * gdb.arch/i386-pseudo.c (main): Ditto.
5248
ee92b0dd
DE
52492014-08-27 Doug Evans <dje@google.com>
5250
5251 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5252
6649db35
DE
52532014-08-25 Doug Evans <dje@google.com>
5254
5255 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5256 (main): Ditto.
5257
564b7600
DE
52582014-08-25 Doug Evans <dje@google.com>
5259
5260 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5261
3881fb67
YQ
52622014-08-24 Yao Qi <yao@codesourcery.com>
5263
5264 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5265 symbol off.
5266 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5267
a05a36a5
DE
52682014-08-22 Doug Evans <dje@google.com>
5269
5270 PR 17276
5271 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5272 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5273 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5274
7c343b48
YQ
52752014-08-22 Yao Qi <yao@codesourcery.com>
5276
5277 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5278 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5279 * gdb.python/python.exp: Likewise. Use .py file on the host
5280 instead of the build.
5281
22fd09ae
JK
52822014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5283
5284 * gdb.threads/gcore-stale-thread.c: New file.
5285 * gdb.threads/gcore-stale-thread.exp: New file.
5286
a8454a7c
PA
52872014-08-21 Pedro Alves <palves@redhat.com>
5288
5289 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5290 * gdb.base/gcore-relro-pie.exp: Likewise.
5291 * gdb.base/gcore-relro.exp: Likewise.
5292 * gdb.base/gcore.exp: Likewise.
5293 * gdb.base/print-symbol-loading.exp: Likewise.
5294 * gdb.threads/gcore-thread.exp: Likewise.
5295 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5296
2a31c623
PA
52972014-08-20 Pedro Alves <palves@redhat.com>
5298 Jan Kratochvil <jan.kratochvil@redhat.com>
5299
5300 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5301 configure.
5302 (EXPECT): Handle READ1 being set.
5303 (all): Depend on EXTRA_RULES.
5304 (check-read1, expect-read1, read1.so, read1): New rules.
5305 * README (Testsuite Parameters): Document the READ1 make variable.
5306 (Race detection): New section.
5307 * configure: Regenerate.
5308 * configure.ac: If build==host==target, and running under a
5309 GNU/glibc system, add read1 to the extra Makefile rules.
5310 (EXTRA_RULES): AC_SUBST it.
5311 * lib/read1.c: New file.
5312
d36430db
JB
53132014-08-20 Joel Brobecker <brobecker@adacore.com>
5314
5315 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5316 the handling of variables declared as a typedef to an array
5317 which a DW_AT_data_location attribute.
5318
9a0dc9e3
PA
53192014-08-19 Andrew Burgess <aburgess@broadcom.com>
5320 Pedro Alves <palves@redhat.com>
5321
5322 PR symtab/14604
5323 PR symtab/14605
5324 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5325 gdb_test.
5326
0718a8da
PA
53272014-08-19 Pedro Alves <palves@redhat.com>
5328
5329 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5330
13b448cd
YQ
53312014-08-19 Yao Qi <yao@codesourcery.com>
5332
5333 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5334 right line.
5335
1cbf5077
DB
53362014-08-18 David Blaikie <dblaikie@gmail.com>
5337
5338 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5339
bf0fae19
JB
53402014-08-18 Joel Brobecker <brobecker@adacore.com>
5341
5342 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5343 attribute in array range.
5344
3c8c5dcc
JB
53452014-08-18 Joel Brobecker <brobecker@adacore.com>
5346
5347 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5348
e66d4446
SC
53492014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5350
5351 PR c++/17132
5352 * gdb.cp/pr17132.cc: New file.
5353 * gdb.cp/pr17132.exp: New file.
5354
940df408
SC
53552014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5356
5357 * gdb.python/py-xmethods.py (A_getarrayind)
5358 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5359 Use 'print' with function call syntax.
5360 (E_method_matcher.match): Fix tab vs space indentation mixup.
5361
ebcc6c3a
YQ
53622014-08-15 Yao Qi <yao@codesourcery.com>
5363
5364 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5365 false.
5366
775e0f04
YQ
53672014-08-15 Yao Qi <yao@codesourcery.com>
5368
5369 * gdb.cp/casts.exp: Set print symbol off.
5370 * gdb.cp/class2.exp: Likewise.
5371 * gdb.cp/overload.exp: Likewise.
5372 * gdb.cp/templates.exp: Likewise.
5373
d769e349
DE
53742014-08-11 Doug Evans <dje@google.com>
5375
5376 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5377 (test_load_shlib): Update.
5378
20c6f1e1
YQ
53792014-08-09 Yao Qi <yao@codesourcery.com>
5380
5381 * gdb.base/display.exp: Invoke is_address_zero_readable.
5382 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5383 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5384 * gdb.base/hbreak-unmapped.exp: Return if
5385 is_address_zero_readable returns true.
5386 * gdb.base/signest.exp: Likewise.
5387 * gdb.base/signull.exp: Likewise.
5388 * gdb.base/sigbpt.exp: Likewise.
5389 * gdb.guile/scm-disasm.exp: Do the test if
5390 is_address_zero_readable returns false.
5391 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5392 * gdb.python/py-arch.exp: Likewise.
5393 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5394 * lib/gdb.exp (is_address_zero_readable): New proc.
5395
5792e8e3
YQ
53962014-08-09 Yao Qi <yao@codesourcery.com>
5397
5398 PR testsuite/13443
5399 * gdb.mi/mi-var-display.exp: Make test messages unique.
5400
3cecbbbe
TT
54012014-08-04 Tom Tromey <tromey@redhat.com>
5402
5403 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5404 target 0".
5405
00b51ff5
TT
54062014-08-04 Tom Tromey <tromey@redhat.com>
5407
5408 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5409 "target_resume".
5410
6908c509
JB
54112014-08-01 Joel Brobecker <brobecker@adacore.com>
5412
5413 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5414 inner_vla_struct_object_size.
5415 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5416 as xfail.
5417
cc6563d2
PA
54182014-07-30 Pedro Alves <palves@redhat.com>
5419
5420 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5421 comment.
5422
7e09a223
YQ
54232014-07-29 Yao Qi <yao@codesourcery.com>
5424
5425 PR gdb/17206
5426 * gdb.base/until-nodebug.exp: New.
5427
7ebdbe92
DE
54282014-07-28 Doug Evans <xdje42@gmail.com>
5429
5430 PR guile/17203
5431 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5432 previously existing parameter, and previously ambiguously spelled
5433 parameter.
5434
fdb1adc6
WN
54352014-07-28 Will Newton <will.newton@linaro.org>
5436
5437 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5438
186fcde0
DE
54392014-07-26 Ludovic Courtès <ludo@gnu.org>
5440 Doug Evans <xdje42@gmail.com>
5441
5442 PR guile/17146
5443 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5444
70509625
PA
54452014-07-25 Pedro Alves <palves@redhat.com>
5446
5447 * gdb.threads/signal-command-handle-nopass.c: New file.
5448 * gdb.threads/signal-command-handle-nopass.exp: New file.
5449 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5450 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5451 * gdb.threads/signal-delivered-right-thread.c: New file.
5452 * gdb.threads/signal-delivered-right-thread.exp: New file.
5453
c3f814a1
PA
54542014-07-25 Pedro Alves <palves@redhat.com>
5455
5456 * gdb.base/double-prompt-target-event-error.exp
5457 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5458 match.
5459 (cancel_pagination_in_target_event): Rework double prompt
5460 detection.
5461 * gdb.base/paginate-after-ctrl-c-running.exp
5462 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5463 <return>' match.
5464 * gdb.base/paginate-bg-execution.exp
5465 (test_bg_execution_pagination_return)
5466 (test_bg_execution_pagination_cancel): Remove '-notransfer
5467 <return>' matches.
5468 * gdb.base/paginate-execution-startup.exp
5469 (test_fg_execution_pagination_return)
5470 (test_fg_execution_pagination_cancel): Remove '-notransfer
5471 <return>' matches.
5472 * gdb.base/paginate-inferior-exit.exp
5473 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5474 match.
5475 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5476 * lib/gdb.exp (pagination_prompt): Run text through
5477 string_to_regexp.
5478 (gdb_test_multiple): Match $pagination_prompt instead of
5479 "<return>".
5480 (string_to_regexp): Move to lib/gdb-utils.exp.
5481
e214cf6c
JK
54822014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5483
5484 * gdb.arch/amd64-entry-value-paramref.S: New file.
5485 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5486 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5487 * gdb.arch/amd64-optimout-repeat.S: New file.
5488 * gdb.arch/amd64-optimout-repeat.c: New file.
5489 * gdb.arch/amd64-optimout-repeat.exp: New file.
5490
17d0c5c8
JK
54912014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5492
5493 PR gdb/17170
5494 * gdb.base/statistics.exp: New file.
5495
b8b8facf
DE
54962014-07-17 Doug Evans <dje@google.com>
5497
74b49205 5498 PR gdb/17170
b8b8facf
DE
5499 * gdb.base/maint.exp: Update testing of per-command stats.
5500
1b5d0ab3
PA
55012014-07-16 Pedro Alves <palves@redhat.com>
5502
5503 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5504 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5505 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5506 (tfile_write_buf): New functions.
5507 (add_memory_block): Rewrite using the above.
5508 (adjust_function_address): New function.
5509 (FUNCTION_ADDRESS): New macro.
5510 (write_basic_trace_file): Remove short_x local, and use
5511 tfile_write_16. Change type of func_addr local to unsigned long
5512 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5513 here. Cast argument of add_memory_block to char pointer.
5514 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5515 (main): Remove parameters.
5516 * gdb.trace/tfile.exp: Remove nowarnings.
5517
4d974e88
SM
55182014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5519
5520 * gdb.base/debug-expr.exp: Test string evaluation with
5521 "debug expression" on.
5522
41e99568
PA
55232014-07-15 Pedro Alves <palves@redhat.com>
5524
5525 * gdb.base/reread.exp: Use clean_restart.
5526
487d9753
PL
55272014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5528
5529 * gdb.arch/avr-flash-qualifer.c: New.
5530 * gdb.arch/avr-flash-qualifer.exp: New.
5531
cc1c52ad
PA
55322014-07-14 Pedro Alves <palves@redhat.com>
5533
5534 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5535 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5536
1e973570
PA
55372014-07-14 Pedro Alves <palves@redhat.com>
5538
5539 * gdb.base/double-prompt-target-event-error.c: New file.
5540 * gdb.base/double-prompt-target-event-error.exp: New file.
5541
93d6eb10
PA
55422014-07-14 Pedro Alves <palves@redhat.com>
5543
5544 PR gdb/17072
5545 * gdb.base/paginate-inferior-exit.c: New file.
5546 * gdb.base/paginate-inferior-exit.exp: New file.
5547
0017922d
PA
55482014-07-14 Pedro Alves <palves@redhat.com>
5549
5550 PR gdb/17072
5551 * gdb.base/paginate-bg-execution.c: New file.
5552 * gdb.base/paginate-bg-execution.exp: New file.
5553
94696ad3
PA
55542014-07-14 Pedro Alves <palves@redhat.com>
5555
5556 PR gdb/17072
5557 * gdb.base/paginate-execution-startup.c: New file.
5558 * gdb.base/paginate-execution-startup.exp: New file.
5559 * lib/gdb.exp (pagination_prompt): New global.
5560 (default_gdb_spawn): New procedure, factored out from
5561 default_gdb_spawn.
5562 (default_gdb_start): Adjust to call default_gdb_spawn.
5563 (gdb_spawn): New procedure.
5564
bd293940
PA
55652014-07-14 Pedro Alves <palves@redhat.com>
5566
5567 * lib/gdb.exp (gdb_assert): New procedure.
5568 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5569
c933f875
PA
55702014-07-14 Pedro Alves <palves@redhat.com>
5571
5572 * gdb.base/execution-termios.c: New file.
5573 * gdb.base/execution-termios.exp: New file.
5574
d98b7a16
TT
55752014-07-14 Tom Tromey <tromey@redhat.com>
5576
5577 * gdb.cp/vla-cxx.cc: New file.
5578 * gdb.cp/vla-cxx.exp: New file.
5579
548740d6
TT
55802014-07-14 Tom Tromey <tromey@redhat.com>
5581
5582 * gdb.reverse/rerun-prec.c: New file.
5583 * gdb.reverse/rerun-prec.exp: New file.
5584
a25eb028
MR
55852014-07-12 Maciej W. Rozycki <macro@mips.com>
5586 Maciej W. Rozycki <macro@codesourcery.com>
5587
5588 * lib/gdb-utils.exp: New file.
5589 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5590 inline `gdb_init_command' processing.
5591 (gdb_start_cmd): Likewise.
5592 * lib/mi-support.exp (mi_run_cmd): Likewise.
5593 * README: Document `gdb_init_command' and `gdb_init_commands'.
5594
218c2655
JK
55952014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5596
5597 Fix false FAIL running under a very long directory name.
5598 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5599 and "set print elements 10000". Twice.
5600
5401fde3
YQ
56012014-07-11 Yao Qi <yao@codesourcery.com>
5602
5603 * gdb.base/exprs.exp: "set print symbol off".
5604
e76126e8
PA
56052014-07-11 Pedro Alves <palves@redhat.com>
5606
5607 * gdb.threads/kill.c: New file.
5608 * gdb.threads/kill.exp: New file.
5609
2d6f0de6
YQ
56102014-07-10 Yao Qi <yao@codesourcery.com>
5611
5612 * gdb.trace/tfile.c (write_basic_trace_file)
5613 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5614 address written to trace file.
5615
7180e04a
PA
56162014-07-09 Pedro Alves <palves@redhat.com>
5617
5618 * gdb.base/attach-wait-input.exp: New file.
5619 * gdb.base/attach-wait-input.c: New file.
5620
9a9a7608
AB
56212014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5622
5623 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5624 setting up test structures.
5625 (main): Call new test function.
5626 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5627 test function, continue into test function and walk test
5628 structures.
5629
161ac41e
YQ
56302014-07-02 Yao Qi <yao@codesourcery.com>
5631
5632 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5633 'bar_start' at the beginning of functions 'foo' and 'bar'
5634 respectively.
5635 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5636 instead of 'foo' and 'bar'.
5637
1f267ae3
MM
56382014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5639
5640 * gdb.btrace/segv.exp: New.
5641 * gdb.btrace/segv.c: New.
5642
2b239efb
LM
56432014-07-02 Luis Machado <lgustavo@codesourcery.com>
5644
5645 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5646 instruction.
5647
cf363f18
MW
56482014-06-30 Mark Wielaard <mjw@redhat.com>
5649
5650 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5651 vulture, vilify, villar): New volatile array constants.
5652 (vindictive, vegetation): New const volatile array constants.
5653 * gdb.base/volatile.exp: Test volatile and const volatile array
5654 types.
5655
aebf9d24
AA
56562014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5657
5658 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5659 target lacks support for awatch, rwatch, or hbreak.
5660
b67a2c6f
YQ
56612014-06-27 Yao Qi <yao@codesourcery.com>
5662
5663 * gdb.multi/dummy-frame-restore.exp: New.
5664 * gdb.multi/dummy-frame-restore.c: New.
5665
aef92902
MM
56662014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5667
5668 * gdb.btrace/gcore.exp: New.
5669
8e9db26e
PA
56702014-06-23 Pedro Alves <palves@redhat.com>
5671
5672 * gdb.base/watchpoint-reuse-slot.c: New file.
5673 * gdb.base/watchpoint-reuse-slot.exp: New file.
5674
70afc5b7
SC
56752014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5676
5677 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5678 progspace's filename in 'info', 'enable' and 'disable' command
5679 tests.
5680
b972bd9c
JK
56812014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5682
5683 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5684 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5685 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5686
125f8a3d
GB
56872014-06-20 Gary Benson <gbenson@redhat.com>
5688
5689 * gdb.arch/i386-avx.exp: Fix include file location.
5690 * gdb.arch/i386-sse.exp: Likewise.
5691
3ed9baed
IB
56922014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5693
5694 * gdb.dlang/expression.exp: New file.
5695
034f788c
PA
56962014-06-19 Pedro Alves <palves@redhat.com>
5697
5698 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5699 out from ...
5700 (top level): ... here. Iterate running tests under different
5701 scheduler-locking settings.
5702
45371d0c
LM
57032014-06-18 Luis Machado <lgustavo@codesourcery.com>
5704
5705 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5706 to DW_FORM_addr and use non-zero addresses.
5707
5d376983
SC
57082014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5709
5710 PR gdb/17017
5711 * gdb.python/py-xmethods.cc: Add global function call counters and
5712 increment them in their respective functions. Remove "cout"
5713 statements.
5714 * gdb.python/py-xmethods.exp: Make tests check the global function
5715 call counters instead of depending on inferior IO.
5716
a1aa2221
LM
57172014-06-18 Don Breazeal <donb@codesourcery.com>
5718
5719 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5720 Deleted procedure.
5721 (explicit_fork_parent_follow): Deleted procedure.
5722 (explicit_fork_child_follow): Deleted procedure.
5723 (test_follow_fork): New procedure.
5724 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5725 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5726 procedure calls.
5727
0fc05997
YQ
57282014-06-17 Yao Qi <yao@codesourcery.com>
5729
5730 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5731 CP1252.
5732
70795c52
LM
57332014-06-17 Luis Machado <lgustavo@codesourcery.com>
5734
5735 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5736 Initialize ptr and S explicitly.
5737 (skip_type_update_when_not_use_rtti_test): Likewise.
5738
6be47f0c
KS
57392014-06-16 Keith Seitz <keiths@redhat.com>
5740
5741 PR mi/15863
5742 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5743 the inferior is started.
5744
d03de421
PA
57452014-06-16 Pedro Alves <palves@redhat.com>
5746
5747 * gdb.base/break-main-file-remove-fail.c: New file.
5748 * gdb.base/break-main-file-remove-fail.exp: New file.
5749 * gdb.base/break-unload-file.exp: Use build_executable instead of
5750 prepare_for_testing.
5751 (test_break): New parameter "initial_load". Handle it.
5752 (top level): Add initial_load cmdline/file axis.
5753
f9579b99
TT
57542014-06-12 Tom Tromey <tromey@redhat.com>
5755
5756 * gdb.base/completion.exp: Don't use directory name in test.
5757
3657956b
GB
57582014-06-09 Gary Benson <gbenson@redhat.com>
5759
5760 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5761 separate the always-available ANSI-standard signals from the
5762 signals that require checking.
5763 (main): Likewise.
5764 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5765 Likewise.
5766 (main): Likewise.
5767
4186eb54
KS
57682014-06-07 Keith Seitz <keiths@redhat.com>
5769
5770 Revert:
5771 PR c++/16253
5772 * gdb.cp/var-tag.cc: New file.
5773 * gdb.cp/var-tag.exp: New file.
5774 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5775 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5776 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5777 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5778
25326a28 57792014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
5780
5781 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5782
829155c9
PA
57832014-06-06 Pedro Alves <palves@redhat.com>
5784
5785 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5786 in target debug output instead of looking at RSP packets,
5787 disabling the test on any target that uses hardware stepping.
5788 Update comments.
5789
61c8d22e
PA
57902014-06-06 Pedro Alves <palves@redhat.com>
5791
5792 * gdb.base/break-unload-file.exp: Fix typo.
5793
d9a47287
YQ
57942014-06-06 Yao Qi <yao@codesourcery.com>
5795
5796 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5797 from "jit_function" to "^jit_function".
5798
e5e01dbf
YQ
57992014-06-06 Yao Qi <yao@codesourcery.com>
5800
5801 * gdb.base/async.c (foo): Add one statement.
5802 * gdb.base/async.exp: Get the next instruction address and
5803 match the output of "nexti" by instruction address. Match
5804 the hex address in the output of "finish".
5805
73ba372c
GB
58062014-06-06 Gary Benson <gbenson@redhat.com>
5807
5808 * gdb.base/call-signals.c: Remove preprocessor conditionals
5809 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5810 SIGSEGV and SIGTERM.
5811 * gdb.base/sigall.c: Likewise.
5812 * gdb.base/unwindonsignal.c: Likewise.
5813 * gdb.reverse/sigall-reverse.c: Likewise.
5814
831517df
YQ
58152014-06-06 Yao Qi <yao@codesourcery.com>
5816
5817 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5818 readable, skip the test.
5819
b8b91e98
YQ
58202014-06-06 Yao Qi <yao@codesourcery.com>
5821
5822 * gdb.threads/staticthreads.c (thread_function): Move the line
5823 setting breakpoint on forward.
5824 * gdb.threads/staticthreads.exp: Update comments.
5825
fb934770
LC
58262014-06-05 Ludovic Courtès <ludo@gnu.org>
5827
5828 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5829 "history-append! type error".
5830
6ef284bd
SM
58312014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5832
5833 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5834 erroneous dprintf expected input.
5835
a872e241
DE
58362014-06-04 Doug Evans <xdje42@gmail.com>
5837
5838 * gdb.guile/scm-generics.exp: Delete.
5839
16f691fb
DE
58402014-06-04 Doug Evans <xdje42@gmail.com>
5841
5842 * gdb.guile/scm-breakpoint.exp: Update.
5843 Add tests for breakpoint registration.
5844
012370f6
TT
58452014-06-04 Tom Tromey <tromey@redhat.com>
5846
5847 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5848 VLA-in-union.
5849 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5850 inner_vla_struct, vla_union types. Initialize objects of those
5851 types and compute their sizes.
5852
9f5a4cef
HZ
58532014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5854 Hui Zhu <hui@codesourcery.com>
5855
5856 * gdb.base/fileio.exp: Add test for shell not available as well as
5857 available.
5858 * gdb.base/fileio.c (test_system): Check for shell twice.
5859
90a45c4d
YQ
58602014-06-04 Yao Qi <yao@codesourcery.com>
5861
5862 * gdb.base/auto-connect-native-target.exp: Remove redundant
5863 space from the regexp pattern.
5864
70017e41
YQ
58652014-06-04 Yao Qi <yao@codesourcery.com>
5866
5867 * gdb.base/default.exp: Replace "child" with "native" in
5868 regexp pattern.
5869
883964a7
SC
58702014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5871
5872 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5873 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5874 * gdb.python/py-xmethods.py: Python script supporting the
5875 new testcase and tests.
5876
ef370185
JB
58772014-06-03 Joel Brobecker <brobecker@adacore.com>
5878 Pedro Alves <palves@redhat.com>
5879
5880 PR breakpoints/17000
5881 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5882 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5883
1e2ccb61
BM
58842014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5885
5886 * gdb.base/subst.exp: Add tests to verify partial path matching
5887 output.
5888
c6ec5ab2
PA
58892014-06-03 Pedro Alves <palves@redhat.com>
5890
5891 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5892 target that doesn't use software single-stepping.
5893
835c559f
PA
58942014-06-03 Pedro Alves <palves@redhat.com>
5895
5896 PR breakpoints/17000
5897 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5898 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5899
06eb1586
DE
59002014-06-02 Doug Evans <xdje42@gmail.com>
5901
5902 * gdb.guile/scm-parameter.exp: New file.
5903
e698b8c4
DE
59042014-06-02 Doug Evans <xdje42@gmail.com>
5905
5906 * gdb.guile/scm-cmd.c: New file.
5907 * gdb.guile/scm-cmd.exp: New file.
5908
ded03782
DE
59092014-06-02 Doug Evans <xdje42@gmail.com>
5910
5911 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
5912 pretty-printer lookup.
5913 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
5914 (make-pp_s-printer): Call it.
5915 (make-pretty-printer-from-dict): New function.
5916 (lookup-pretty-printer-maker-from-dict): New function.
5917 (*pretty-printer*): Simplify.
5918 (make-objfile-pp_s-printer): New function.
5919 (install-objfile-pretty-printers!): New function.
5920 (make-progspace-pp_s-printer): New function.
5921 (install-progspace-pretty-printers!): New function.
5922 * gdb.guile/scm-progspace.c: New file.
5923 * gdb.guile/scm-progspace.exp: New file.
5924
41fac0cf
PA
59252014-06-02 Pedro Alves <palves@redhat.com>
5926
5927 * gdb.base/dprintf-bp-same-addr.c: New file.
5928 * gdb.base/dprintf-bp-same-addr.exp: New file.
5929
96ae5695
EBM
59302014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5931
5932 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5933 * gdb.arch/powerpc-power.s: Likewise.
5934
da02b3a8
JB
59352014-06-02 Joel Brobecker <brobecker@adacore.com>
5936
5937 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5938
c72b2e7b
YQ
59392014-06-01 Yao Qi <yao@codesourcery.com>
5940
5941 * gdb.base/watchpoint.exp (test_watch_location): Check null
5942 pointer can be dereferenced. If not, do the test, otherwise
5943 skip it.
5944
53e8a631
AB
59452014-05-30 Andrew Burgess <aburgess@broadcom.com>
5946
5947 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
5948 results.
5949 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
5950
938f0e2f
AB
59512014-05-30 Andrew Burgess <aburgess@broadcom.com>
5952
5953 * gdb.arch/amd64-invalid-stack-middle.S: New file.
5954 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5955 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
5956 * gdb.arch/amd64-invalid-stack-top.c: New file.
5957 * gdb.arch/amd64-invalid-stack-top.exp: New file.
5958
9ba6657a
PA
59592014-05-30 Pedro Alves <palves@redhat.com>
5960
5961 PR breakpoints/17000
5962 * gdb.base/sss-bp-on-user-bp.c: New file.
5963 * gdb.base/sss-bp-on-user-bp.exp: New file.
5964
522c09bf
DB
59652014-05-30 David Blaikie <dblaikie@gmail.com>
5966
5967 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
5968 gnu_inline semantics via attribute.
5969 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
5970 source explicitly specifies the required semantics.
5971
bf4ef81e
MR
59722014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
5973
5974 * gdb.reverse/sigall-reverse.exp: Fix a typo.
5975
329ea579
PA
59762014-05-29 Pedro Alves <palves@redhat.com>
5977 Tom Tromey <tromey@redhat.com>
5978
5979 * gdb.base/async-shell.exp: Don't enable target-async.
5980 * gdb.base/async.exp
5981 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
5982 parameter. Adjust.
5983 (top level): Don't test with "target-async".
5984 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
5985 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
5986 * gdb.base/inferior-died.exp: Don't enable target-async.
5987 * gdb.base/interrupt-noterm.exp: Likewise.
5988 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
5989 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5990 * gdb.mi/mi-nonstop.exp: Likewise.
5991 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5992 * gdb.mi/mi-nsintrall.exp: Likewise.
5993 * gdb.mi/mi-nsmoribund.exp: Likewise.
5994 * gdb.mi/mi-nsthrexec.exp: Likewise.
5995 * gdb.mi/mi-watch-nonstop.exp: Likewise.
5996 * gdb.multi/watchpoint-multi.exp: Adjust comment.
5997 * gdb.python/py-evsignal.exp: Don't enable target-async.
5998 * gdb.python/py-evthreads.exp: Likewise.
5999 * gdb.python/py-prompt.exp: Likewise.
6000 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6001 * gdb.server/solib-list.exp: Don't enable target-async.
6002 * gdb.threads/thread-specific-bp.exp: Likewise.
6003 * lib/mi-support.exp: Adjust to use mi-async.
6004
fd664c91
PA
60052014-05-29 Pedro Alves <palves@redhat.com>
6006
6007 PR gdb/13860
6008 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6009 reason, even in sync mode.
6010
251bde03
PA
60112014-05-29 Pedro Alves <palves@redhat.com>
6012 Hui Zhu <hui@codesourcery.com>
6013
6014 PR PR15693
6015 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6016 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6017 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6018 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6019
7f3c0343
JB
60202014-05-28 Joel Brobecker <brobecker@adacore.com>
6021
6022 * config/monitor.exp (gdb_target_monitor): Replace use of
6023 "set remotebaud" by "set serial baud".
6024
b2715b27
AW
60252014-05-26 Andy Wingo <wingo@igalia.com>
6026
6027 * gdb.guile/scm-breakpoint.exp:
6028 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6029 properties instead of gdb-object-properties.
6030
498a4489
YQ
60312014-05-26 Yao Qi <yao@codesourcery.com>
6032
6033 * gdb.server/no-thread-db.exp: Specify source file name
6034 explicitly when setting a breakpoint.
6035
589fdceb
MM
60362014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6037
6038 * gdb.btrace/vdso.c: New.
6039 * gdb.btrace/vdso.exp: New.
6040
e9089e05
MM
60412014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6042
6043 * gdb.base/gcore.exp (capture_command_output): Move ...
6044 * lib/gdb.exp (capture_command_output): ... here.
6045
67b5c0c1
MM
60462014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6047
6048 * gdb.btrace/data.exp: Test memory access during btrace replay.
6049
a2199296
SM
60502014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6051
6052 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6053
17b2616c
PA
60542014-05-21 Pedro Alves <palves@redhat.com>
6055
6056 PR gdb/13860
6057 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6058 (top level): Test that output related to execution commands is
6059 sent to the console with CLI commands, but not with MI commands.
6060 Test that breakpoint events are always mirrored to the console.
6061 Also expect the new source line to be output after a "next" in
6062 async mode too. Make it a pass/fail test.
6063 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6064 output.
6065 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6066
5166082f
PA
60672014-05-21 Pedro Alves <palves@redhat.com>
6068
6069 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6070 Use them to test variations of "list" after reaching a breakpoint.
6071 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6072 Test "list" with listsize 10 after reaching a breakpoint.
6073 * gdb.python/python.exp (decode_line current location line
6074 number): Adjust expected line number.
6075
2f25d70f
SM
60762014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6077
6078 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6079 behavior for $args, pass it directly to "run".
6080
ff604a67
MR
60812014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6082
6083 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6084 30000 to 65536.
6085
6a3cb8e8
PA
60862014-05-21 Pedro Alves <palves@redhat.com>
6087
6088 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6089 auto-connect-native-target off".
6090 * gdb.base/auto-connect-native-target.c: New file.
6091 * gdb.base/auto-connect-native-target.exp: New file.
6092
4ebfc96e
PA
60932014-05-21 Pedro Alves <palves@redhat.com>
6094
6095 * gdb.base/default.exp: Test "target native" instead of "target
6096 child".
6097
36d46afb
MW
60982014-05-21 Mark Wielaard <mjw@redhat.com>
6099
6100 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6101
5876f503
JK
61022014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6103
6104 Fix TLS access for -static -pthread.
6105 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6106 <HAVE_TLS> (thread_function, main): Initialize it.
6107 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6108 Add clean_restart.
6109 <$have_tls != "">: Check TLSVAR.
6110
0256a6ac
PA
61112014-05-21 Pedro Alves <palves@redhat.com>
6112
6113 * gdb.base/dcache-line-read-error.c: New.
6114 * gdb.base/dcache-line-read-error.exp: New.
6115
936d2992
PA
61162014-05-20 Pedro Alves <palves@redhat.com>
6117
6118 * gdb.base/compare-sections.c: New file.
6119 * gdb.base/compare-sections.exp: New file.
6120
802e8e6d
PA
61212014-05-20 Pedro Alves <palves@redhat.com>
6122
6123 * gdb.base/break-idempotent.c: New file.
6124 * gdb.base/break-idempotent.exp: New file.
6125
e59fa00f
MM
61262014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6127
6128 * gdb.btrace/nohist.exp: New.
6129
8b696e31
YQ
61302014-05-20 Yao Qi <yao@codesourcery.com>
6131
6132 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6133 gdb.reverse directory and gdb_reverse_timeout exists in board
6134 setting.
6135 * README: Document gdb_reverse_timeout.
6136
73c9764f
YQ
61372014-05-20 Yao Qi <yao@codesourcery.com>
6138
6139 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6140 'test_file_name'. Treat args as a string instead of a list.
6141 (gdb_init): Rename argument 'args' by 'test_file_name'.
6142
f1f4348a
JK
61432014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6144
6145 * gdb.arch/powerpc-power.exp: New file.
6146 * gdb.arch/powerpc-power.s: New file.
6147
0dbe70ce
DE
61482014-05-16 Doug Evans <dje@google.com>
6149
6150 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6151 * gdb.base/completion.exp: Check that all expected files exist
6152 before doing file completion.
0dbe70ce 6153
8d551b02
DE
61542014-05-16 Doug Evans <dje@google.com>
6155
6156 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6157 Update.
6158 (do_syscall_tests_without_xml): Update.
6159
73eb7709
PA
61602014-05-16 Pedro Alves <palves@redhat.com>
6161
6162 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6163 instead of "unknown output after running".
6164
3fae92fc
YQ
61652014-05-16 Yao Qi <yao@codesourcery.com>
6166
6167 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6168 file1.txt from host at the end.
6169 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6170
c2b2ccc5
DE
61712014-05-15 Doug Evans <dje@google.com>
6172
6173 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6174 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6175 loading file. Add test for TU lookup.
6176
8c217a4b
SM
61772014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6178
6179 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6180 calling "-exec-arguments" or "set args" before running the
6181 inferior.
6182
3deb39c6
SM
61832014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6184
6185 * lib/mi-support.exp (mi_expect_stop): Expect message for
6186 inferiors that exit with non-zero exit code.
6187
71a79f8c
YQ
61882014-05-14 Yao Qi <yao@codesourcery.com>
6189
6190 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6191 match absolute path on remote host.
6192 (test_file_list_exec_source_files): Remove "/" from the
6193 pattern.
6194
f23fcd46
YQ
61952014-05-14 Yao Qi <yao@codesourcery.com>
6196
6197 * boards/local-remote-host-notty.exp (${board}_file): New
6198 proc.
6199
9404b58f
KM
62002014-05-07 Kyle McMartin <kyle@redhat.com>
6201
6202 Pushed by Joel Brobecker <brobecker@adacore.com>.
6203 * gdb.arch/aarch64-atomic-inst.c: New file.
6204 * gdb.arch/aarch64-atomic-inst.exp: New file.
6205
5e45f04c
YQ
62062014-05-07 Yao Qi <yao@codesourcery.com>
6207
6208 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6209 in current context" too.
6210
c888a17d
KS
62112014-05-05 Keith Seitz <keiths@redhat.com>
6212
6213 * gdb.linespec/ls-dollar.exp: Add test for linespec
6214 file:convenience_variable.
6215
290a839c
YQ
62162014-05-05 Yao Qi <yao@codesourcery.com>
6217
6218 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6219 traceframes into tfile and ctf trace files. Read data from
6220 trace file and test collected data.
6221 (gdb_collect_locals_test): Likewise.
6222 (gdb_unavailable_registers_test): Likewise.
6223 (gdb_unavailable_floats): Likewise.
6224 (gdb_collect_globals_test): Likewise.
6225 (top-level): Append "ctf" to trace_file_targets if GDB
6226 supports.
6227
b5262cd0
YQ
62282014-05-05 Yao Qi <yao@codesourcery.com>
6229
6230 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6231 code to ...
6232 (gdb_collect_args_test_1): ... it. New proc.
6233 (gdb_collect_locals_test): Move some code to ...
6234 (gdb_collect_locals_test_1): ... it. New proc.
6235 (gdb_unavailable_registers_test): Move some code to ...
6236 (gdb_unavailable_registers_test_1): ... it. New proc.
6237 (gdb_unavailable_floats): Move some code to ...
6238 (gdb_unavailable_floats_1): ... it. New proc.
6239
30a1e6cc
SDJ
62402014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6241
6242 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6243 probes to test for bitness recognition.
6244 * gdb.arch/amd64-stap-optional-prefix.exp
6245 (test_probe_value_without_reg): New procedure.
6246 Add code to test for different kinds of bitness.
6247
f33da99a
SDJ
62482014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6249
6250 PR breakpoints/16889
6251 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6252 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6253
5b80f00d
PA
62542014-05-01 Pedro Alves <palves@redhat.com>
6255
6256 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6257 gdb_file_cmd if no file is specified.
6258 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6259 last_loaded_file to set the remote exec-file.
6260
f8c2a73c
PA
62612014-05-01 Pedro Alves <palves@redhat.com>
6262
6263 * boards/local-remote-host.exp: New file.
6264
be6e8ac7
PA
62652014-05-01 Pedro Alves <palves@redhat.com>
6266
6267 * boards/local-remote-host.exp: Rename to ...
6268 * boards/local-remote-host-notty.exp: ... this.
6269
cac0dc8f
JB
62702014-04-28 Joel Brobecker <brobecker@adacore.com>
6271
6272 * gdb.ada/dyn_arrayidx: New testcase.
6273
9730e6cc
YQ
62742014-04-26 Yao Qi <yao@codesourcery.com>
6275
6276 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6277 and compute the length of function main. Save it in
6278 $main_length.
6279 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6280 (top-level): Use gdb_compile to compile objects into
6281 executable and restart GDB. Remove invocation to
6282 prepare_for_testing.
6283
7ae1a6a6
PA
62842014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6285 Pedro Alves <palves@redhat.com>
6286
6287 PR server/16255
6288 * gdb.multi/multi-attach.c: New file.
6289 * gdb.multi/multi-attach.exp: New file.
6290
4082afcc
PA
62912014-04-25 Pedro Alves <palves@redhat.com>
6292
6293 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6294 user.
6295 (top level): Test that "set remote conditional-breakpoints-packet
6296 off" works as intended.
6297 * gdb.base/dprintf.exp: Test that "set remote
6298 breakpoint-commands-packet off" works as intended.
6299 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6300 New function.
6301 (top level): Call it.
6302 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6303 remote fast-tracepoints-packet off" works as intended.
6304 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6305 * lib/gdb.exp (gdb_is_target_remote): ... here.
6306
2abc3f8d
DB
63072014-04-24 David Blaikie <dblaikie@gmail.com>
6308
6309 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6310 ensure clang would not discard them.
6311 * gdb.base/gdbvars.c: Ditto.
6312 * gdb.base/memattr.c: Ditto.
6313 * gdb.base/whatis.c: Ditto.
6314 * gdb.python/py-prettyprint.c: Ditto.
6315 * gdb.trace/actions.c: Ditto.
6316 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6317 ensure clang would not discard it.
6318
bfd39632
DB
63192014-04-24 David Blaikie <dblaikie@gmail.com>
6320
6321 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6322 clang to emit the full definition of type required by the test
6323 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6324
22842ff6
DB
63252014-04-24 David Blaikie <dblaikie@gmail.com>
6326
6327 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6328 coax Clang into emitting the definition of the type.
6329 * gdb.cp/pr10728-x.h (y): Ditto.
6330 * gdb.cp/pr10728-y.cc (y): Ditto.
6331
c2e827ad
DB
63322014-04-24 David Blaikie <dblaikie@gmail.com>
6333
6334 * gdb.base/label.exp: XFAIL label related tests under Clang.
6335 * gdb.cp/cplabel.exp: Ditto.
6336 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6337 under Clang those using labels.
6338
4c2d33e7
YQ
63392014-04-25 Yao Qi <yao@codesourcery.com>
6340
6341 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6342 double_label.
6343 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6344 partial_label and double_label.
6345
56083b99
DB
63462014-04-24 David Blaikie <dblaikie@gmail.com>
6347
6348 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6349
25d4e99d
DB
63502014-04-24 David Blaikie <dblaikie@gmail.com>
6351
6352 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6353 of the function to work across GCC and Clang.
6354 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6355 pointer types (const void ** const V void **).
6356
01f9f808
MS
63572014-04-24 Michael Sturm <michael.sturm@mintel.com>
6358 Walfred Tedeschi <walfred.tedeschi@intel.com>
6359
6360 * Makefile.in (EXECUTABLES): Added i386-avx512.
6361 * gdb.arch/i386-avx512.c: New file.
6362 * gdb.arch/i386-avx512.exp: Likewise.
6363
4b48d439
KS
63642014-04-23 Keith Seitz <keiths@redhat.com>
6365
6366 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6367 (mi_make_breakpoint_table): New procedure.
6368 (mi_create_breakpoint): Use mi_make_breakpoint
6369 and return the result.
6370 (mi_make_breakpoint): New procedure.
6371 (mi_build_kv_pairs): New procedure.
6372
6373 * gdb.mi/mi-break.exp: Remove unused globals,
6374 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6375 All callers updated.
6376 * gdb.mi/mi-dprintf.exp: Use variable to track command
6377 number.
6378 Update all callers of mi_create_breakpoint and use
6379 mi_make_breakpoint_table.
6380 Remove any unused global variables.
6381 * gdb.mi/mi-nonstop.exp: Likewise.
6382 * gdb.mi/mi-nsintrall.exp: Likewise.
6383 * gdb.mi/mi-nsmoribund.exp: Likewise.
6384 * gdb.mi/mi-nsthrexec.exp: Likewise.
6385 * gdb.mi/mi-reverse.exp: Likewise.
6386 * gdb.mi/mi-simplerun.exp: Likewise.
6387 * gdb.mi/mi-stepn.exp: Likewise.
6388 * gdb.mi/mi-syn-frame.exp: Likewise.
6389 * gdb.mi/mi-until.exp: Likewise.
6390 * gdb.mi/mi-var-cp.exp: Likewise.
6391 * gdb.mi/mi-var-display.exp: Likewise.
6392 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6393 * gdb.mi/mi2-var-child.exp: Likewise.
6394 * gdb.mi/mi-vla-c99.exp: Likewise.
6395 * lib/mi-support.exp: Likewise.
6396
6397 From Ian Lance Taylor <iant@cygnus.com>:
6398 * lib/gdb.exp (parse_args): New procedure.
6399
08351840
PA
64002014-04-23 Pedro Alves <palves@redhat.com>
6401
6402 * gdb.base/break-unload-file.c: New file.
6403 * gdb.base/break-unload-file.exp: New file.
6404 * gdb.base/sym-file-lib.c (baz): New function.
6405 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6406 field.
6407 (load): Store the segment's mapped size.
6408 (unload): New function.
6409 (unload_shlib): New function.
6410 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6411 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6412 set a breakpoint at baz, and call it.
6413 * gdb.base/sym-file.exp: New tests for stale breakpoint
6414 instructions.
6415
076855f9
PA
64162014-04-23 Pedro Alves <palves@redhat.com>
6417
6418 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6419 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6420 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6421 * gdb.base/hbreak-unmapped.c: New file.
6422 * gdb.base/hbreak-unmapped.exp: New file.
6423 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6424 * lib/gdb.exp (gdb_is_target_remote): ... here.
6425
483805cf
PA
64262014-04-22 Pedro Alves <palves@redhat.com>
6427
6428 * gdb.base/consecutive-step-over.c: New file.
6429 * gdb.base/consecutive-step-over.exp: New file.
6430
06d97543
PA
64312014-04-22 Pedro Alves <palves@redhat.com>
6432
6433 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6434 instead of send_gdb/gdb_expect.
6435
b4429ea2
YQ
64362014-04-22 Yao Qi <yao@codesourcery.com>
6437
6438 * lib/trace-support.exp (generate_tracefile): New procedure.
6439 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6440 return 0.
6441 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6442 if generate_tracefile returns 1.
6443
51d48146
PA
64442014-04-18 Tom Tromey <palves@redhat.com>
6445 Pedro alves <tromey@redhat.com>
6446
6447 PR backtrace/15558
6448 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6449 with a backtrace limit.
6450 * gdb.python/py-frame-inline.exp: Test running to an inline
6451 function with a backtrace limit, and printing the newest frame.
6452 * gdb.python/py-frame-inline.c (main): Call f.
6453
bd1dce5f
MS
64542014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6455
6456 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6457
40d1a503
MS
64582014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6459
6460 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6461 Drop prefix from unsupported source file path.
6462
389b98f7
YQ
64632014-04-17 Yao Qi <yao@codesourcery.com>
6464
6465 * lib/gdb.exp (with_target_charset): New proc.
6466 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6467 with_target_charset.
6468 (test_print_strings): Likewise.
6469 (test_repeat_bytes): Likewise.
6470 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6471 for some tests.
6472
22869d73
KS
64732014-04-16 Keith Seitz <keiths@redhat.com>
6474
6475 PR gdb/15827
6476 * gdb.dwarf2/corrupt.c: New file.
6477 * gdb.dwarf2/corrupt.exp: New file.
6478
c4f87ca6
KS
64792014-04-16 Keith Seitz <keiths@redhat.com>
6480
6481 PR c++/16597
6482 * gdb.cp/namelessclass.cc: New file.
6483 * gdb.cp/namelessclass.exp: New file.
6484 * gdb.cp/namelessclass.S: New file.
6485
ab19de87
DE
64862014-04-16 Doug Evans <dje@google.com>
6487
6488 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6489 Add comment.
6490 (gdbserver_default_get_comm_port): New function.
6491 (gdbserver_start): Check if board file provided
6492 "gdbserver,get_comm_port" and use it if so.
6493 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6494 (gdb,socketport): Set to "stdio".
6495 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6496 (stdio_gdbserver_template): Delete.
6497 (${board}_get_remote_address): Update.
6498 (${board}_build_remote_cmd): Delete.
6499 (${board}_get_comm_port): New function.
6500 (${board}_spawn): Update.
6501 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6502 Delete.
6503 (${board}_get_remote_address): Update.
6504 (${board}_get_comm_port): New function.
6505
fc98a809
AB
65062014-04-16 Andrew Burgess <aburgess@broadcom.com>
6507
6508 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6509 appearing in any order.
6510
87fd9e6e
DE
65112014-04-15 Doug Evans <dje@google.com>
6512
6513 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6514 uninitialized value of "description".
6515
099fc3ea
KS
65162014-04-15 Keith Seitz <keiths@redhat.com>
6517
6518 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6519 Remove unused globals.
6520 (test_running_the_program): Likewise.
6521 (test_controlled_execution): Likewise.
6522 (test_controlling_breakpoints): Likewise.
6523 (test_program_termination): Likewise.
6524
5da151d4
KS
65252014-04-15 Keith Seitz <keiths@redhat.com>
6526
6527 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6528 unused globals.
6529 (test_rbreak_creation_and_listing): Likewise.
6530 (test_ignore_count): Likewise.
6531 (test_error): Likewise.
6532
35e5d2f0
PA
65332014-04-15 Pedro Alves <palves@redhat.com>
6534
6535 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6536 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6537 sym-file-loader.c.
6538 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6539 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6540 to sym-file-loader.c.
6541 (struct library): Forward declare.
6542 (load_shlib, lookup_function): Change prototypes.
6543 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6544 (translate_offset): Remove declarations.
6545 (get_text_addr): New declaration.
6546 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6547 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6548 sym-file-loader.h.
6549 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6550 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6551 here from sym-file-loader.h.
6552 (struct library): New structure.
6553 (load_shlib, lookup_function): Change prototypes and adjust to
6554 work with a struct library.
6555 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6556 (translate_offset): Make static.
6557 (get_text_addr): New function.
6558 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6559
eb4c1710
PA
65602014-04-15 Pedro Alves <palves@redhat.com>
6561
6562 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6563
2d1baf52
PA
65642014-04-15 Pedro Alves <palves@redhat.com>
6565
6566 * gdb.base/sym-file-loader.c: Include <limits.h>.
6567 (SELF_LINK): New define.
6568 (get_origin): New function.
6569 (load_shlib): Use it.
6570 * gdb.base/sym-file.exp: Don't early return if the target is
6571 remote. Use runto_main, and issue fail is that fails. Use
6572 gdb_load_shlibs.
6573 (shlib_name): Delete.
6574 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6575
7dd6df01
PA
65762014-04-15 Pedro Alves <palves@redhat.com>
6577
6578 * gdb.base/sym-file.exp: Remove regex characters from test
6579 message. Don't refer to breakpoint numbers in test messages.
6580
b50c8614
KS
65812014-04-14 Keith Seitz <keiths@redhat.com>
6582
6583 PR c++/16253
6584 * gdb.cp/var-tag.cc: New file.
6585 * gdb.cp/var-tag.exp: New file.
6586 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6587 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6588 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6589 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6590
3d567982
TT
65912014-04-14 Tom Tromey <tromey@redhat.com>
6592
6593 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6594 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6595 type.
6596 * gdb.cp/enum-class.exp: New file.
6597 * gdb.cp/enum-class.cc: New file.
6598
0626fc76
TT
65992014-04-14 Tom Tromey <tromey@redhat.com>
6600
6601 * gdb.dwarf2/enum-type.exp: New file.
6602
dca325b3
SA
66032014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6604
6605 * gdb.mi/mi-vla-c99.exp: New file.
6606 * gdb.mi/vla.c: New file.
6607
5854b38a
SA
66082014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6609
6610 * gdb.base/vla-datatypes.c: New file.
6611 * gdb.base/vla-datatypes.exp: New file.
6612
463bb957
SA
66132014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6614
6615 * gdb.base/vla-ptr.c: New file.
6616 * gdb.base/vla-ptr.exp: New file.
6617
3dd170be
SA
66182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6619
6620 * gdb.dwarf2/count.exp: New file.
6621
5ecaaa66
SA
66222014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6623
6624 * gdb.base/vla-sideeffect.c: New file.
6625 * gdb.base/vla-sideeffect.exp: New file.
6626
41f1ada5
DB
66272014-04-14 David Blaikie <dblaikie@gmail.com>
6628
6629 * gdb.mi/non-stop.c: Add return value for non-void function return
6630 statement.
6631 * gdb.threads/staticthreads.c: Ditto.
6632
0be03e84
DE
66332014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6634 Doug Evans <xdje42@gmail.com>
6635
6636 * gdb.guile/scm-value.c: Improve test case.
6637 * gdb.guile/scm-value.exp: Add new test.
6638
f180a1fb
DB
66392014-04-11 David Blaikie <dblaikie@gmail.com>
6640
6641 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6642 override Clang's default.
6643
6b662e19
JB
66442014-04-11 Joel Brobecker <brobecker@adacore.com>
6645
6646 Revert the following changes (regressions):
6647
6648 * gdb.base/vla-sideeffect.c: New file.
6649 * gdb.base/vla-sideeffect.exp: New file.
6650
6651 * gdb.dwarf2/count.exp: New file.
6652
6653 * gdb.base/vla-multi.c: New file.
6654 * gdb.base/vla-multi.exp: New file.
6655
6656 * gdb.base/vla-ptr.c: New file.
6657 * gdb.base/vla-ptr.exp: New file.
6658
6659 * gdb.base/vla-datatypes.c: New file.
6660 * gdb.base/vla-datatypes.exp: New file.
6661
6662 * gdb.mi/mi-vla-c99.exp: New file.
6663 * gdb.mi/vla.c: New file.
6664
245a5f0b
KS
66652014-04-11 Keith Seitz <keiths@redhat.com>
6666
6667 PR c++/16675
6668 * gdb.cp/cpsizeof.exp: New file.
6669 * gdb.cp/cpsizeof.cc: New file.
6670
58a84dcf
SA
66712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6672
191a8a90
JB
6673 * gdb.mi/mi-vla-c99.exp: New file.
6674 * gdb.mi/vla.c: New file.
58a84dcf 6675
c8655f75
SA
66762014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6677
6678 * gdb.base/vla-datatypes.c: New file.
6679 * gdb.base/vla-datatypes.exp: New file.
6680
024e13b4
SA
66812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6682
6683 * gdb.base/vla-ptr.c: New file.
6684 * gdb.base/vla-ptr.exp: New file.
6685
1a237e0e
SA
66862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6687
6688 * gdb.base/vla-multi.c: New file.
6689 * gdb.base/vla-multi.exp: New file.
6690
504f3432
SA
66912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6692
6693 * gdb.dwarf2/count.exp: New file.
6694
3bce8237
SA
66952014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6696
191a8a90
JB
6697 * gdb.base/vla-sideeffect.c: New file.
6698 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6699
322f9c21
YQ
67002014-04-11 Yao Qi <yao@codesourcery.com>
6701
6702 * gdb.base/completion.exp: Check file exists before running tests
6703 on file completion.
6704
d708bcd1
PA
67052014-04-10 Pedro Alves <palves@redhat.com>
6706
6707 * gdb.base/cond-eval-mode.c: New file.
6708 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6709 prepare_for_testing to build the new file. Check result of
6710 runto_main.
6711 (test_break, test_watch): New procedures.
6712 (top level): Use them.
6713
ae1d2761
PM
67142014-04-08 Pierre Muller <muller@sourceware.org>
6715
6716 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6717 Ctrl-V use for mingw hosts.
6718
7af389b8
SC
67192014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6720
6721 * gdb.python/py-value.c: Improve test case.
6722 * gdb.python/py-value.exp: Add new test.
6723
5e703181
DE
67242014-04-07 David Blaikie <dblaikie@gmail.com>
6725
6726 * lib/compiler.c: Identify the clang compiler.
6727 * lib/compiler.cc: Ditto.
6728
9810b410
YQ
67292014-04-03 Yao Qi <yao@codesourcery.com>
6730
6731 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6732
98d1b8dc
AB
67332014-04-01 Anton Blanchard <anton@samba.org>
6734
6735 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6736 messages unique.
6737
3114cea1
AB
67382014-04-01 Anton Blanchard <anton@samba.org>
6739
6740 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6741 prepare_for_testing.
6742
62f7182c
AB
67432014-04-01 Anton Blanchard <anton@samba.org>
6744
6745 * gdb.arch/ppc64-atomic-inst.c: Remove.
6746 * gdb.arch/ppc64-atomic-inst.S: New file.
6747 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6748
770e7fc7
DE
67492014-03-31 Doug Evans <dje@google.com>
6750
6751 * gdb.base/print-symbol-loading-lib.c: New file.
6752 * gdb.base/print-symbol-loading-main.c: New file.
6753 * gdb.base/print-symbol-loading.exp: New file.
6754
46e2bafa
YQ
67552014-03-31 Yao Qi <yao@codesourcery.com>
6756
6757 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6758
8776cfe9
JB
67592014-03-28 Joel Brobecker <brobecker@adacore.com>
6760
6761 * gdb.ada/mi_dyn_arr: New testcase.
6762
5d1ef361
DE
67632014-03-27 Doug Evans <dje@google.com>
6764
6765 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6766
b5bee914
YQ
67672014-03-27 Yao Qi <yao@codesourcery.com>
6768
6769 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6770 if target is nios2-*-*.
6771
0d4d0e77
YQ
67722014-03-26 Yao Qi <yao@codesourcery.com>
6773
6774 * lib/gdb.exp (readline_is_used): New proc.
6775 * gdb.base/completion.exp: Move tests on command complete up.
6776 Skip the rest of tests if readline is not used.
6777 * gdb.ada/complete.exp: Skp the test if readline is not
6778 used.
6779 * gdb.base/filesym.exp: Likewise.
6780 * gdb.base/macscp.exp: Likewise.
6781 * gdb.base/readline-ask.exp: Likewise.
6782 * gdb.base/readline.exp: Likewise.
6783 * gdb.python/py-cmd.exp: Likewise.
6784 * gdb.trace/tfile.exp: Likewise.
6785
29361eee
YQ
67862014-03-26 Yao Qi <yao@codesourcery.com>
6787
6788 * gdb.base/macscp.exp: Fix code format issues.
6789
bc9a5525
UW
67902014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6791
6792 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6793 * gdb.asm/powerpc64le.inc: New file.
6794
d3839ede
PA
67952014-03-25 Pedro Alves <palves@redhat.com>
6796 Doug Evans <dje@google.com>
6797
6798 * gdb.base/source-execution.c: New file.
6799 * gdb.base/source-execution.exp: New file.
6800 * gdb.base/source-execution.gdb: New file.
6801
01672a57
DE
68022014-03-24 Doug Evans <dje@google.com>
6803
6804 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6805 using fission.
6806
88bbeca9
HZ
68072014-03-24 Hui Zhu <hui@codesourcery.com>
6808 Pedro Alves <palves@redhat.com>
6809
6810 PR breakpoints/16101
6811 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6812 test pass/fail messages. Detect missing support for dprintf when
6813 breakpoints are actually inserted.
6814 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6815 breakpoints are actually inserted.
6816 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6817 fails.
6818
d2348791
JK
68192014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6820
6821 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6822
feef67ab
DE
68232014-03-22 Doug Evans <xdje42@gmail.com>
6824
6825 * gdb.python/python.exp (python not supported): Verify multi-line
6826 python command issues an error.
25d743f9 6827 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 6828 guile command issues an error.
feef67ab 6829
ecebef6a
MR
68302014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6831
6832 * gdb.threads/thread-specific.exp: Handle the lack of usable
6833 $this_breakpoint and $this_thread.
6834
ccdd1909
HZ
68352014-03-21 Hui Zhu <hui@codesourcery.com>
6836
6837 * gdb.base/attach.exp (do_command_attach_tests): New.
6838
beb460e8
PA
68392014-03-20 Tom Tromey <tromey@redhat.com>
6840 Pedro Alves <palves@redhat.com>
6841
6842 PR cli/15718
6843 * gdb.base/condbreak-call-false.c: New file.
6844 * gdb.base/condbreak-call-false.exp: New file.
6845
40acf43a
PA
68462014-03-20 Pedro Alves <palves@redhat.com>
6847
6848 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6849 Delete.
6850 (block_signals, unblock_signals): Delete.
6851 (child_function_2, main): Remove references to deleted variable
6852 and functions.
6853
9f5e1e02
PA
68542014-03-20 Pedro Alves <palves@redhat.com>
6855
6856 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6857 Use pthread_kill to signal thread 2.
6858 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6859 Adjust to make the test send itself a signal rather than using the
6860 host's "kill" command.
6861
99619bea
PA
68622014-03-20 Pedro Alves <palves@redhat.com>
6863
6864 * gdb.threads/multiple-step-overs.c: New file.
6865 * gdb.threads/multiple-step-overs.exp: New file.
6866 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6867 Adjust expected infrun debug output.
6868
2adfaa28
PA
68692014-03-20 Pedro Alves <palves@redhat.com>
6870
6871 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6872 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6873
31e77af2
PA
68742014-03-20 Pedro Alves <palves@redhat.com>
6875
6876 PR breakpoints/7143
6877 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6878 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6879 of gdb_test_multiple.
6880 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6881 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6882
b9f437de
PA
68832014-03-20 Pedro Alves <palves@redhat.com>
6884
6885 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6886 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6887
05adc73e
PA
68882014-03-19 Pedro Alves <palves@redhat.com>
6889
6890 * gdb.base/async.exp: Remove early return.
6891
6048b950
PA
68922014-03-19 Pedro Alves <palves@redhat.com>
6893
6894 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6895
8bcfb00a
PA
68962014-03-19 Pedro Alves <palves@redhat.com>
6897
6898 * gdb.base/async.exp (test_background): Expect \r\n after
6899 "completed." in the fail pattern.
6900
884e37dc
PA
69012014-03-19 Pedro Alves <palves@redhat.com>
6902
6903 * gdb.base/async.exp (test_background): New procedure.
6904 Use it for all background execution command tests.
6905
148e57e2
PA
69062014-03-19 Pedro Alves <palves@redhat.com>
6907
6908 * gdb.base/async.exp: Use prepare_for_testing.
6909
f48088c7
PA
69102014-03-19 Pedro Alves <palves@redhat.com>
6911
6912 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
6913 the same line.
6914
e2f6c966
PA
69152014-03-19 Pedro Alves <palves@redhat.com>
6916
6917 * gdb.base/async.c (main): Add "jump here" and "until here" line
6918 marker comments.
6919 * gdb.base/async.exp (jump_here): New global.
6920 (jump& test): Use it.
6921 (until_here): New global.
6922 (until& test): Use it.
6923
c30568d4
PA
69242014-03-19 Pedro Alves <palves@redhat.com>
6925
6926 * gdb.base/async.exp: Don't frob gdb_protocol.
6927
0172b6a7
DE
69282014-03-18 Doug Evans <xdje42@gmail.com>
6929
6930 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6931 Fix spelling of exec-done-display.
6932
06c868a8
JK
69332014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6934
6935 PR gdb/15358
6936 * gdb.base/gdb-sigterm.c: New file.
6937 * gdb.base/gdb-sigterm.exp: New file.
6938
0c7e1a46
PA
69392014-03-18 Pedro Alves <palves@redhat.com>
6940
6941 PR gdb/13860
6942 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6943 * lib/mi-support.exp (mi_expect_stop): Add special handling for
6944 solib-event.
6945
f7c77d93
JB
69462014-03-17 Joel Brobecker <brobecker@adacore.com>
6947
6948 * gdb.ada/pckd_arr_ren: New testcase.
6949
5a1e8c7a
DE
69502014-03-13 Doug Evans <xdje42@gmail.com>
6951
6952 PR guile/16612
6953 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
6954 collect after discarding symbols.
6955
350e1a76
DE
69562014-03-13 Ludovic Courtès <ludo@gnu.org>
6957 Doug Evans <xdje42@gmail.com>
6958
6959 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
6960 to history survives a gc.
6961
a69900ae
PA
69622014-03-13 Pedro Alves <palves@redhat.com>
6963
6964 * gdb.base/default.exp: Don't test "target procfs".
6965
5db9f0bd
PA
69662014-03-13 Pedro Alves <palves@redhat.com>
6967
6968 * gdb.base/default.exp: Update "target child" and "target procfs"
6969 tests to not expect "Unix".
6970
b3ccfe11
TT
69712014-03-12 Tom Tromey <tromey@redhat.com>
6972
6973 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
6974 New procs. Add target-async tests.
6975 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
6976 Add target-async tests.
6977
646f4417
AA
69782014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6979
6980 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
6981 'func_start' and 'func_end' for the beginning and end of the
6982 function code, respectively.
6983 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
6984 'func_end' instead of 'func' and 'main'.
6985
288c211f
AA
69862014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6987
6988 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
6989 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
6990 generate the debug info assembler source.
6991
e0c0f156
AA
69922014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6993
6994 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
6995 * gdb.dwarf2/arr-subrange.exp: Likewise.
6996 * gdb.dwarf2/dwz.exp: Likewise.
6997 * gdb.dwarf2/method-ptr.exp: Likewise.
6998 * gdb.dwarf2/missing-sig-type.exp: Likewise.
6999 * gdb.dwarf2/subrange.exp: Likewise.
7000 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7001 * gdb.dwarf2/implptrpiece.exp: Likewise.
7002 * gdb.dwarf2/nostaticblock.exp: Likewise.
7003
0e5c4555
AA
70042014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7005
7006 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7007 directory to absolute path name arguments.
7008
5ec18f2b
JG
70092014-03-10 Joel Brobecker <brobecker@adacore.com>
7010
7011 * gdb.ada/tagged_access: New testcase.
7012
847fc4f2
MM
70132014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7014
7015 * gdb.btrace/data.exp: Update expected output.
7016
cc3da688
YQ
70172014-03-06 Yao Qi <yao@codesourcery.com>
7018
7019 * gdb.trace/pr16508.exp: New file.
7020
0f26cec1
PA
70212014-03-05 Pedro Alves <palves@redhat.com>
7022
7023 PR gdb/16575
7024 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7025 procedure.
7026 (top level): Adjust to use it. Add tests that exercise breakpoint
7027 interaction with the code-cache.
7028
7a5a839f
LC
70292014-02-26 Ludovic Courtès <ludo@gnu.org>
7030
7031 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7032 test for 'history-append!'.
7033
31aa7e4e
JB
70342014-02-26 Joel Brobecker <brobecker@adacore.com>
7035
7036 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7037 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7038 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7039 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7040 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7041 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7042
1b588015
JB
70432014-02-26 Joel Brobecker <brobecker@adacore.com>
7044
7045 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7046 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7047 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7048
55426c9d
JB
70492014-02-26 Joel Brobecker <brobecker@adacore.com>
7050
7051 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7052
dc53a7ad
JB
70532014-02-26 Joel Brobecker <brobecker@adacore.com>
7054
7055 * gdb.dwarf2/arr-stride.c: New file.
7056 * gdb.dwarf2/arr-stride.exp: New file.
7057
12ab52e9
PA
70582014-02-26 Pedro Alves <palves@redhat.com>
7059
7060 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7061 that won't ever trigger. Make sure that GDB reports the correct
7062 breakpoint that caused the stop.
7063
849c862e
JK
70642014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7065
7066 PR gdb/16626
7067 * gdb.base/auto-load-script: New file.
7068 * gdb.base/auto-load.c: New file.
7069 * gdb.base/auto-load.exp: New file.
7070
71b7d793
JK
7071 PR gdb/16626
7072 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7073
e2f0d509
JK
70742014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7075
7076 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7077 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7078
50cc37c8
DE
70792014-02-24 Doug Evans <dje@google.com>
7080
7081 * lib/gdb.exp (run_on_host): Log error output if program fails.
7082
ea4758f2
PA
70832014-02-21 Pedro Alves <palves@redhat.com>
7084
7085 * gdb.threads/step-after-sr-lock.c: Rename to ...
7086 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7087 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7088 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7089 ... this.
7090
d7b30f67
SDJ
70912014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7092
7093 PR tdep/16397
7094 * gdb.arch/amd64-stap-special-operands.exp: New file.
7095 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7096 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7097 * gdb.arch/amd64-stap-triplet.S: Likewise.
7098 * gdb.arch/amd64-stap-triplet.c: Likewise.
7099
83deb43f
JB
71002014-02-20 Joel Brobecker <brobecker@adacore.com>
7101
7102 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7103 in .section pseudo-op.
7104
adde2bff
DE
71052014-02-20 lin zuojian <manjian2006@gmail.com>
7106 Joel Brobecker <brobecker@adacore.com>
7107 Doug Evans <xdje42@gmail.com>
7108
7109 PR symtab/16581
7110 * gdb.dwarf2/dw2-icycle.S: New file.
7111 * gdb.dwarf2/dw2-icycle.c: New file.
7112 * gdb.dwarf2/dw2-icycle.exp: New file.
7113
f7bd0f78
SC
71142014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7115
7116 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7117 operations on gdb.Value objects.
7118 * gdb.python/py-value-cc.exp: Add new test to test operations on
7119 gdb.Value objects.
7120
c17ef0d5
DE
71212014-02-18 Doug Evans <dje@google.com>
7122
7123 * Makefile.in (TESTS): New variable.
7124 (expanded_tests, expanded_tests_or_none): New variables
7125 (check-single): Pass $(expanded_tests_or_none) to runtest.
7126 (check-parallel): Only run tests in $(TESTS) if non-empty.
7127 (check/no-matching-tests-found): New rule.
7128 * README: Document TESTS makefile variable.
7129
5dd3176f
DE
71302014-02-18 Doug Evans <dje@google.com>
7131
7132 * Makefile.in (check-parallel): rm -rf outputs temp.
7133
0b10be4f
JK
71342014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7135
7136 Fix "ERROR: no fileid for" in the testsuite.
7137 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7138
85f224e7
DE
71392014-02-12 Doug Evans <dje@google.com>
7140
7141 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7142 (MISCELLANEOUS): New variable.
7143 (clean): rm -rf $(MISCELLANEOUS).
7144 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7145 dwp live in the same directory as symlinks, with each symlink pointed
7146 to a differently named file in a different directory.
7147
149b30ff
DE
71482014-02-11 Doug Evans <dje@google.com>
7149
7150 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7151 of Tcl file commands.
7152
1dfdac32
MK
71532014-02-10 Mark Kettenis <kettenis@gnu.org>
7154
7155 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7156 "kill -SIGUSR1 -1".
7157
aa4fb036
JB
71582014-02-10 Joel Brobecker <brobecker@adacore.com>
7159
7160 * gdb.ada/tick_length_array_enum_idx: New testcase.
7161
ed3ef339
DE
71622014-02-10 Doug Evans <xdje42@gmail.com>
7163
7164 * configure.ac (AC_OUTPUT): Add gdb.guile.
7165 * configure: Regenerate.
7166 * lib/gdb-guile.exp: New file.
7167 * lib/gdb.exp (get_target_charset): New function.
7168 * gdb.base/help.exp: Update expected output from "apropos apropos".
7169 * gdb.guile/Makefile.in: New file.
7170 * gdb.guile/guile.exp: New file.
7171 * gdb.guile/scm-arch.c: New file.
7172 * gdb.guile/scm-arch.exp: New file.
7173 * gdb.guile/scm-block.c: New file.
7174 * gdb.guile/scm-block.exp: New file.
7175 * gdb.guile/scm-breakpoint.c: New file.
7176 * gdb.guile/scm-breakpoint.exp: New file.
7177 * gdb.guile/scm-disasm.c: New file.
7178 * gdb.guile/scm-disasm.exp: New file.
7179 * gdb.guile/scm-equal.c: New file.
7180 * gdb.guile/scm-equal.exp: New file.
7181 * gdb.guile/scm-error.exp: New file.
7182 * gdb.guile/scm-error.scm: New file.
7183 * gdb.guile/scm-frame-args.c: New file.
7184 * gdb.guile/scm-frame-args.exp: New file.
7185 * gdb.guile/scm-frame-args.scm: New file.
7186 * gdb.guile/scm-frame-inline.c: New file.
7187 * gdb.guile/scm-frame-inline.exp: New file.
7188 * gdb.guile/scm-frame.c: New file.
7189 * gdb.guile/scm-frame.exp: New file.
7190 * gdb.guile/scm-generics.exp: New file.
7191 * gdb.guile/scm-gsmob.exp: New file.
7192 * gdb.guile/scm-iterator.c: New file.
7193 * gdb.guile/scm-iterator.exp: New file.
7194 * gdb.guile/scm-math.c: New file.
7195 * gdb.guile/scm-math.exp: New file.
7196 * gdb.guile/scm-objfile-script-gdb.in: New file.
7197 * gdb.guile/scm-objfile-script.c: New file.
7198 * gdb.guile/scm-objfile-script.exp: New file.
7199 * gdb.guile/scm-objfile.c: New file.
7200 * gdb.guile/scm-objfile.exp: New file.
7201 * gdb.guile/scm-ports.exp: New file.
7202 * gdb.guile/scm-pretty-print.c: New file.
7203 * gdb.guile/scm-pretty-print.exp: New file.
7204 * gdb.guile/scm-pretty-print.scm: New file.
7205 * gdb.guile/scm-section-script.c: New file.
7206 * gdb.guile/scm-section-script.exp: New file.
7207 * gdb.guile/scm-section-script.scm: New file.
7208 * gdb.guile/scm-symbol.c: New file.
7209 * gdb.guile/scm-symbol.exp: New file.
7210 * gdb.guile/scm-symtab-2.c: New file.
7211 * gdb.guile/scm-symtab.c: New file.
7212 * gdb.guile/scm-symtab.exp: New file.
7213 * gdb.guile/scm-type.c: New file.
7214 * gdb.guile/scm-type.exp: New file.
7215 * gdb.guile/scm-value-cc.cc: New file.
7216 * gdb.guile/scm-value-cc.exp: New file.
7217 * gdb.guile/scm-value.c: New file.
7218 * gdb.guile/scm-value.exp: New file.
7219 * gdb.guile/source2.scm: New file.
7220 * gdb.guile/types-module.cc: New file.
7221 * gdb.guile/types-module.exp: New file.
7222
7026a7c1
YQ
72232014-02-10 Yao Qi <yao@codesourcery.com>
7224
7225 PR testsuite/16543
7226 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7227 * configure: Regenerated.
7228 * Makefile.in: New file.
7229
6c466447
AS
72302014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7231
7232 * gdb.python/py-framefilter.exp: Fix typo.
7233
6e854735
YQ
72342014-02-08 Yao Qi <yao@codesourcery.com>
7235
7236 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7237 that no =breakpoint-modified is emitted when breakpoints are
7238 modified through MI commands.
7239
d137e6dc
PA
72402014-02-07 Pedro Alves <pedro@codesourcery.com>
7241 Pedro Alves <palves@redhat.com>
7242
7243 * gdb.threads/step-after-sr-lock.c: New file.
7244 * gdb.threads/step-after-sr-lock.exp: New file.
7245
b5ee5a50
PA
72462014-02-07 Pedro Alves <palves@redhat.com>
7247
7248 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7249
3c77faf3
JK
72502014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7251
7252 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7253 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7254
6dddc817
DE
72552014-02-06 Doug Evans <xdje42@gmail.com>
7256
7257 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7258 output.
7259
7260 * gdb.gdb/python-interrupts.exp: New file.
7261
de7b2893
YQ
72622014-02-05 Yao Qi <yao@codesourcery.com>
7263
7264 * gdb.trace/report.exp (use_collected_data): Test the output
7265 of "info threads" and "info inferiors".
7266
66d032ac
YQ
72672014-02-05 Yao Qi <yao@codesourcery.com>
7268
7269 Revert this patch:
7270
7271 2013-05-24 Yao Qi <yao@codesourcery.com>
7272
7273 * gdb.trace/tfile.exp: Test inferior and thread.
7274
591a12a1
UW
72752014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7276
7277 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7278 on a function.
7279 * gdb.base/step-bt.c: Call hello via function pointer to make
7280 sure its first instruction is executed on powerpc64le-linux.
7281
0ff3e01f
UW
72822014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7283
7284 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7285
084ee545
UW
72862014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7287
7288 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7289 of the test patterns for use on little-endian systems.
7290
6ed14ff3
UW
72912014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7292
7293 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7294 (decimal_vector): Fix for little-endian.
7295
401e27fd
JM
72962014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7297
7298 * gdb.arch/sparc-sysstep.exp: New file.
7299 * gdb.arch/sparc-sysstep.c: Likewise.
7300
7301 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7302
8b924729
EBM
73032014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7304
7305 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7306
fb151210
JB
73072014-01-23 Tom Tromey <tromey@redhat.com>
7308
7309 * gdb.ada/array_char_idx: New testcase.
7310
0740f8d8
TT
73112014-01-23 Tom Tromey <tromey@redhat.com>
7312
7313 PR python/16487:
7314 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7315 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7316 classes.
7317
21909fa1
TT
73182014-01-23 Tom Tromey <tromey@redhat.com>
7319
7320 PR python/16491:
7321 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7322 string from an inferior frame.
7323 * gdb.python/py-framefilter-mi.exp: Update.
7324
87ce2a04
DE
73252014-01-22 Doug Evans <dje@google.com>
7326
7327 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7328
237b092b
AA
73292014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7330
7331 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7332
d674a709
AA
73332014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7334
7335 * gdb.trace/entry-values.exp: Remove excess space character from
7336 regex patterns. Handle s390 call instruction.
7337
20fa3390
AA
73382014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7339
7340 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7341 define "*_start" label. Make "name" static.
7342 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7343 ${name} by references to ${name}_start.
7344
78466714
AA
73452014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7346
7347 * gdb.base/info-macros.exp: Remove "debug" from the compile
7348 options.
7349
ec9f644a
IB
73502014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7351
7352 * gdb.dlang/demangle.exp: New file.
7353
94b1b47e
IB
73542014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7355
7356 * gdb.dlang/primitive-types.exp: New file.
7357
7f420862
IB
73582014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7359
7360 * configure.ac: Create gdb.dlang/Makefile.
7361 * configure: Regenerate.
7362 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7363 * gdb.dlang/Makefile.in: New file.
7364 * lib/d-support.exp: New file.
7365 * lib/gdb.exp (skip_d_tests): New proc.
7366
52834460
MM
73672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7368
7369 * gdb.btrace/delta.exp: Check reverse stepi.
7370 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7371 * gdb.btrace/finish.exp: New.
7372 * gdb.btrace/next.exp: New.
7373 * gdb.btrace/nexti.exp: New.
7374 * gdb.btrace/record_goto.c: Add comments.
7375 * gdb.btrace/step.exp: New.
7376 * gdb.btrace/stepi.exp: New.
7377 * gdb.btrace/multi-thread-step.c: New.
7378 * gdb.btrace/multi-thread-step.exp: New.
7379 * gdb.btrace/rn-dl-bind.c: New.
7380 * gdb.btrace/rn-dl-bind.exp: New.
7381 * gdb.btrace/data.c: New.
7382 * gdb.btrace/data.exp: New.
7383 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7384
6e07b1d2
MM
73852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7386
7387 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7388 * gdb.btrace/exception.exp: Update.
7389 * gdb.btrace/instruction_history.exp: Update.
7390 * gdb.btrace/record_goto.exp: Update.
7391 * gdb.btrace/tailcall.exp: Update.
7392 * gdb.btrace/unknown_functions.exp: Update.
7393 * gdb.btrace/delta.exp: New.
7394
0b722aec
MM
73952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7396
7397 * gdb.btrace/record_goto.exp: Add backtrace test.
7398 * gdb.btrace/tailcall.exp: Add backtrace test.
7399
066ce621
MM
74002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7401
7402 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7403 * gdb.btrace/record_goto.c: New.
7404 * gdb.btrace/record_goto.exp: New.
7405 * gdb.btrace/x86-record_goto.S: New.
7406
0688d04e
MM
74072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7408
7409 * gdb.btrace/function_call_history.exp: Update tests.
7410 * gdb.btrace/instruction_history.exp: Update tests.
7411
8710b709
MM
74122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7413
7414 * gdb.btrace/function_call_history.exp: Fix expected field
7415 order for "record function-call-history".
7416 Add new tests for "record function-call-history /c".
7417 * gdb.btrace/exception.cc: New.
7418 * gdb.btrace/exception.exp: New.
7419 * gdb.btrace/tailcall.exp: New.
7420 * gdb.btrace/x86-tailcall.S: New.
7421 * gdb.btrace/x86-tailcall.c: New.
7422 * gdb.btrace/unknown_functions.c: New.
7423 * gdb.btrace/unknown_functions.exp: New.
7424 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7425
5de9129b
MM
74262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7427
7428 * gdb.btrace/instruction_history.exp: Update.
7429 * gdb.btrace/function_call_history.exp: Update.
7430
23a7fe75
MM
74312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7432
7433 * gdb.btrace/function_call_history.exp: Fix expected function
7434 trace.
7435 * gdb.btrace/instruction_history.exp: Initialize traced.
7436 Remove traced_functions.
7437
724c7dd8
MM
74382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7439
7440 * gdb.btrace/function_call_history.exp: Update
7441 * gdb.btrace/instruction_history.exp: Update.
7442
6d78d93b
MM
74432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7444
7445 * gdb.btrace/enable.exp: Update expected text.
7446
93a360cc
OJ
74472014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7448
7449 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7450 bytes.
7451
3772b53f
MR
74522014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7453
7454 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7455
596662fa
OJ
74562014-01-15 Omair Javaid <omair.javaid@linaro.org>
7457
7458 * lib/gdb.exp (supports_process_record): Return true for
7459 arm*-linux*. (supports_reverse): Likewise.
7460
b5b08fb4
SC
74612014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7462
7463 PR python/15464
7464 PR python/16113
7465 * gdb.python/py-type.c: Enhance test case.
7466 * gdb.python/py-value-cc.cc: Likewise
7467 * gdb.python/py-type.exp: Add new tests.
7468 * gdb.python/py-value-cc.exp: Likewise
7469
52d7fb13
AA
74702014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7471 Pedro Alves <palves@redhat.com>
7472
7473 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7474 Make "name" extern.
7475 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7476 references to ${name}_start by references to ${name}.
7477
a2cd8cfe
JB
74782014-01-10 Joel Brobecker <brobecker@adacore.com>
7479
7480 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7481
4e23fced
JB
74822014-01-10 Joel Brobecker <brobecker@adacore.com>
7483
7484 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7485
c6a9e42c
PA
74862014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7487 Pedro Alves <palves@redhat.com>
7488
7489 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7490 mi_gdb_target_load.
c6a9e42c 7491
b7ea362b
PA
74922014-01-08 Pedro Alves <palves@redhat.com>
7493
7494 * gdb.threads/reconnect-signal.c: New file.
7495 * gdb.threads/reconnect-signal.exp: New file.
7496
5e3f4fab
EBM
74972014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7498
7499 * gdb.base/source-dir.exp: New file.
7500
79301218
JB
75012014-01-07 Joel Brobecker <brobecker@adacore.com>
7502
7503 * gdb.ada/mi_interface: New testcase.
7504
8e355c5d
JB
75052014-01-07 Joel Brobecker <brobecker@adacore.com>
7506
7507 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7508 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7509 gdb.ada/pp-rec-component/pck.ads: New files.
7510
c0d48811
JB
75112014-01-07 Joel Brobecker <brobecker@adacore.com>
7512
7513 * gdb.python/py-pp-integral.c: New file.
7514 * gdb.python/py-pp-integral.py: New file.
7515 * gdb.python/py-pp-integral.exp: New file.
7516
17b609c3 7517For older changes see ChangeLog-1993-2013.
c906108c 7518\f
8d8cb839
EZ
7519;; Local Variables:
7520;; mode: change-log
7521;; left-margin: 8
7522;; fill-column: 74
7523;; version-control: never
7524;; End:
902f2ccb 7525
618f726f 7526 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7527 Copying and distribution of this file, with or without modification,
7528 are permitted provided the copyright notice and this notice are preserved.