Record right reg num of thumb special data instructions
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
ce90fefe
YQ
12016-02-26 Yao Qi <yao.qi@linaro.org>
2
3 * gdb.reverse/aarch64.c: Rename to ...
4 * gdb.reverse/insn-reverse.c: ... it.
5 * gdb.reverse/aarch64.exp: Rename to ...
6 * gdb.reverse/insn-reverse.exp: ... it.
7
3263bceb
YQ
82016-02-26 Yao Qi <yao.qi@linaro.org>
9
10 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11 (testcase_ftype): New.
12 (testcases): New array.
13 (n_testcases): New.
14 (main): Call each element in testcases.
15 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16 (read_testcase): New.
17 Do the tests in a loop.
18
6cb59ff1
YQ
192016-02-25 Yao Qi <yao.qi@linaro.org>
20
21 * gdb.base/branches.c: Remove.
22
ae91f625
MK
232016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
24
25 PR gdb/13808
26 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
27
678b48b7
MK
282016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
29
30 * gdb.trace/ftrace.exp: Remove unnecessary target check.
31
7337a6f2
MK
322016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
33
34 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
35 change x86_64 call_insn to 'callq'.
36
861ca91f
AT
372016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
38
39 * gdb.trace/tfile-avx.c: Move to...
40 * gdb.trace/tracefile-pseudo-reg.c: Here.
41 * gdb.trace/tfile-avx.exp: Move to...
42 * gdb.trace/tracefile-pseudo-reg.exp: Here.
43
bf74e428
GB
442016-02-24 Gary Benson <gbenson@redhat.com>
45
46 * gdb.base/attach-pie-noexec.exp: Do not expect an error
47 message on attach.
48
cce0e923
DE
492016-02-23 Doug Evans <dje@google.com>
50
51 * gdb.base/skip.c (test_skip): New function.
52 (end_test_skip_file_and_function): New function.
53 (test_skip_file_and_function): New function.
54 * gdb.base/skip1.c (test_skip): New function.
55 (skip1_test_skip_file_and_function): New function.
56 * gdb.base/skip.exp: Add tests for new skip options.
57 * gdb.base/skip-solib.exp: Update expected output.
58 * gdb.perf/skip-command.cc: New file.
59 * gdb.perf/skip-command.exp: New file.
60 * gdb.perf/skip-command.py: New file.
61
4000e47e
MK
622016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
63
64 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
65 info registers pattern.
66
24f75ead
IB
672016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
68
69 * lib/future.exp: Add D support.
70 (gdb_find_gdc): New proc.
71 (gdb_default_target_compile): Add D support.
72
fbb7bcbe
WW
732016-02-18 Wei-cheng Wang <cole945@gmail.com>
74
75 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
76 user+system time.
77 (trace_speed_test): Determine the iteration count for a time
78 between 15..30 seconds.
79
012b3a21
WT
802016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
81
82 * gdb.arch/i386-mpx-sigsegv.c: New file.
83 * gdb.arch/i386-mpx-sigsegv.exp: New file.
84 * gdb.arch/i386-mpx-simple_segv.c: New file.
85 * gdb.arch/i386-mpx-simple_segv.exp: New file.
86
2d5189bd
YQ
872016-02-18 Yao Qi <yao.qi@linaro.org>
88
89 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
90 Don't call setup_kfail.
91
40fb20d0
YQ
922016-02-18 Yao Qi <yao.qi@linaro.org>
93
94 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
95 Set "set breakpoint condition-evaluation" per $cond_bp_target.
96
21b1f8d2
DE
972016-02-16 Doug Evans <dje@google.com>
98
99 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
100 * gdb.base/skip1.c: Ditto.
101 * gdb.base/skip.exp: Whitespace cleanup.
102
4041ed77
DB
1032016-02-16 Don Breazeal <donb@codesourcery.com>
104
105 PR remote/19496
106 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
107 Remove kfail for PR remote/19496.
108
c4ef31bf
SM
1092016-02-16 Simon Marchi <simon.marchi@ericsson.com>
110
111 * lib/gdb.exp (standard_temp_file): Return a path specific to
112 the runtest invocation.
113
266b65b3
SM
1142016-02-16 Simon Marchi <simon.marchi@ericsson.com>
115
116 * gdb.trace/save-trace.exp: Change relative path to be in the
117 standard output directory.
118
a7a0a6a9
JK
1192016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
120
121 * gdb.arch/i386-prologue.c: Add missing prototypes.
122
c99dbb42
JK
1232016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
124
125 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
126 * gdb.arch/i386-prologue.exp: Likewise.
127 * gdb.arch/i386-size.exp: Likewise.
128
aa480355
SM
1292016-02-15 Simon Marchi <simon.marchi@ericsson.com>
130
131 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
132 define object file path.
133 * gdb.btrace/gcore.exp: Use standard_output_file to define core
134 file path.
135 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
136 standard_output_file to define binfile.
137
ba881f50
JK
1382016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
139
140 Fix compatibility with recent gfortran-5.3.1.
141 * gdb.fortran/vla-history.exp (print vla1 allocated)
142 (print vla2 allocated, print $2, print $3): Remove
143 (print $4): Rename to ...
144 (print $2): ... here.
145 (print $9): Rename to ...
146 (print $5): ... here.
147 (print $10): Rename to ...
148 (print $6): ... here.
149 * gdb.fortran/vla.f90: Add pvla initialization.
150
e9fb005c
JK
1512016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
152
153 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
154 New test.
155 * gdb.fortran/vla-value-sub.exp: Likewise.
156
e44e00ff
MK
1572016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
158
159 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
160
97e94151
SM
1612016-02-12 Simon Marchi <simon.marchi@ericsson.com>
162
163 * i386-biarch-core.exp: Define corefile using
164 standard_output_file.
165
01113bc1
YQ
1662016-02-12 Yao Qi <yao.qi@linaro.org>
167
168 * gdb.arch/arm-single-step-kernel-helper.c: New.
169 * gdb.arch/arm-single-step-kernel-helper.exp: New.
170
33b4777c
MM
1712016-02-12 Markus Metzger <markus.t.metzger@intel.com>
172
173 * gdb.btrace/tailcall-only.exp: New.
174 * gdb.btrace/tailcall-only.c: New.
175 * gdb.btrace/x86_64-tailcall-only.S: New.
176 * gdb.btrace/i686-tailcall-only.S: New.
177
acc23c11
PA
1782016-02-11 Pedro Alves <palves@redhat.com>
179
180 * README (Parallel testing): Add missing double quotes.
181
e352bf0a
PA
1822016-02-11 Pedro Alves <palves@redhat.com>
183
184 * README (Parallel testing): New section.
185 (GDB_PARALLEL): Rewrite.
186 (FORCE_PARALLEL): Document.
187
9f5fed78
MK
1882016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
189
190 * gdb.trace/tfile-avx.c: New test.
191 * gdb.trace/tfile-avx.exp: New test.
192
9ef9e6a6
KS
1932016-02-09 Keith Seitz <keiths@redhat.com>
194
195 PR breakpoints/19546
196 * gdb.base/infcall-exec.c: New file.
197 * gdb.base/infcall-exec2.c: New file.
198 * gdb.base/infcall-exec.exp: New file.
199
a96e36da
KS
2002016-02-09 Keith Seitz <keiths@redhat.com>
201
202 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
203 (toplevel): Call test_bkpt_address.
204
9f61929f
KS
2052016-02-09 Keith Seitz <keiths@redhat.com>
206
207 PR python/19506
208 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
209 (toplevel): Call test_bkpt_address.
210
1e94266c
SM
2112016-02-09 Simon Marchi <simon.marchi@ericsson.com>
212
213 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
214 to AC_OUTPUT.
215 * configure: Regenerate.
216
2a7f3dff
PA
2172016-02-09 Pedro Alves <palves@redhat.com>
218
219 PR breakpoints/19548
220 * gdb.base/execl-update-breakpoints.c (some_function): New
221 function.
222 (main): Call it.
223 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
224 Tighten expected GDB output.
225
2151ccc5
SM
2262016-02-08 Simon Marchi <simon.marchi@ericsson.com>
227
228 * Makefile.in (ALL_SUBDIRS): Remove.
229 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
230 (distclean maintainer-clean realclean): Likewise.
231 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
232 * configure: Regenerate.
233 * gdb.ada/Makefile.in: Delete.
234 * gdb.arch/Makefile.in: Likewise.
235 * gdb.asm/Makefile.in: Likewise.
236 * gdb.base/Makefile.in: Likewise.
237 * gdb.btrace/Makefile.in: Likewise.
238 * gdb.cell/Makefile.in: Likewise.
239 * gdb.compile/Makefile.in: Likewise.
240 * gdb.cp/Makefile.in: Likewise.
241 * gdb.disasm/Makefile.in: Likewise.
242 * gdb.dlang/Makefile.in: Likewise.
243 * gdb.dwarf2/Makefile.in: Likewise.
244 * gdb.fortran/Makefile.in: Likewise.
245 * gdb.gdb/Makefile.in: Likewise.
246 * gdb.go/Makefile.in: Likewise.
247 * gdb.guile/Makefile.in: Likewise.
248 * gdb.java/Makefile.in: Likewise.
249 * gdb.linespec/Makefile.in: Likewise.
250 * gdb.mi/Makefile.in: Likewise.
251 * gdb.modula2/Makefile.in: Likewise.
252 * gdb.multi/Makefile.in: Likewise.
253 * gdb.objc/Makefile.in: Likewise.
254 * gdb.opencl/Makefile.in: Likewise.
255 * gdb.opt/Makefile.in: Likewise.
256 * gdb.pascal/Makefile.in: Likewise.
257 * gdb.perf/Makefile.in: Likewise.
258 * gdb.python/Makefile.in: Likewise.
259 * gdb.reverse/Makefile.in: Likewise.
260 * gdb.server/Makefile.in: Likewise.
261 * gdb.stabs/Makefile.in: Likewise.
262 * gdb.threads/Makefile.in: Likewise.
263 * gdb.trace/Makefile.in: Likewise.
264 * gdb.xml/Makefile.in: Likewise.
265 * lib/gdb.exp (make_gdb_parallel_path): Add check for
266 GDB_PARALLEL.
267 (standard_output_file): Remove check for GDB_PARALLEL, always
268 return path in outputs/$subdir/$testname.
269
437277d4
SM
2702016-02-08 Simon Marchi <simon.marchi@ericsson.com>
271
272 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
273 (site.exp): Assign abs_srcdir to tcl's srcdir.
274
31d913c7
YQ
2752016-02-04 Yao Qi <yao.qi@linaro.org>
276
277 * gdb.base/foll-exec-mode.c: Include limits.h.
278 (main): Add parameters argc and argv. Get directory from
279 argv[0].
280 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
281 compilation.
282 * gdb.base/foll-exec.c: Include limits.h.
283 (main): Add parameters argc and argv.
284 Get directory from argv[0].
285 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
286 Adjust tests on the number of lines as source code changed.
287 * gdb.base/foll-vfork-exit.c: Include limits.h.
288 (main): Add one line of statement before vfork.
289 * gdb.base/foll-vfork.c: Include limits.h and string.h.
290 (main): Add parameters argc and argv. Get directory from
291 argv[0].
292 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
293 (setup_gdb): Set tbreak to skip some source lines.
294 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
295 (main): Add parameters argc and argv. Get directory from
296 argv[0].
297 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
298 compilation.
299 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
300 (main): Add parameters argc and argv. Get directory from
301 argv[0].
302 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
303 compilation.
304
9482b9fb
DE
3052016-02-01 Doug Evans <dje@google.com>
306
307 * gdb.base/skip.exp: Clean up multiple references to same test name.
308
6b2e4f10
PA
3092016-02-01 Pedro Alves <palves@redhat.com>
310
ccb6afd6 311 PR remote/19496
6b2e4f10
PA
312 * gdb.threads/forking-threads-plus-breakpoint.exp
313 (displaced_stepping_supported): New global.
314 (probe_displaced_stepping_support): New procedure.
315 (do_test): Add 'displaced' parameter, and use it.
316 (top level): Check for displaced stepping support. Add displaced
317 stepping on/off testing axis.
318
37a8db1a
AB
3192016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
320
321 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
322 pointer. Don't perform further tests on the unassociated pointer
323 if the first test fails.
324
5fdf6324
AB
3252016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
326
327 * gdb.base/max-value-size.c: New file.
328 * gdb.base/max-value-size.exp: New file.
329 * gdb.base/huge.exp: Disable max-value-size for this test.
330
935c6144
IB
3312016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
332
333 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
334
7fe8399d
YQ
3352016-01-28 Yao Qi <yao.qi@linaro.org>
336
337 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
338
a2077e25
PA
3392016-01-25 Pedro Alves <palves@redhat.com>
340
341 PR threads/19461
342 * gdb.base/fork-running-state.c: New file.
343 * gdb.base/fork-running-state.exp: New file.
344
1d2736d4
PA
3452016-01-25 Pedro Alves <palves@redhat.com>
346
347 PR gdb/19494
348 * gdb.base/catch-fork-kill.c: New file.
349 * gdb.base/catch-fork-kill.exp: New file.
350
f1da4b11
PA
3512016-01-25 Pedro Alves <palves@redhat.com>
352
353 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
354 Delete, moved to lib/gdb.exp.
355 * gdb.threads/forking-threads-plus-breakpoint.exp
356 (foreach_with_prefix): Likewise.
357 * gdb.threads/process-dies-while-handling-bp.exp
358 (foreach_with_prefix): Likewise.
359 * lib/gdb.exp (foreach_with_prefix): New procedure.
360
45f38546
MK
3612016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
362
363 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
364 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
365
dc29a1ce
MK
3662016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
367
368 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
369 endian targets.
370
092127d7
JK
3712016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
372 Pedro Alves <palves@redhat.com>
373
374 Fix testsuite compatibility with Guile.
375 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
376 number.
377
31d765d3
JK
3782016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
379
380 Fix testsuite compatibility with Guile.
381 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
382 (thread 1): New test for backtrace through signal handler.
383
1ac78c04
YQ
3842016-01-22 Yao Qi <yao.qi@linaro.org>
385
386 PR testsuite/19491
387 * gdb.base/multi-forks.c: Include
388 ../lib/unbuffer_output.c
389 (main): Call gdb_unbuffer_output.
390
4f5946a8
DE
3912016-01-21 Doug Evans <dje@google.com>
392
393 * lib/ada.exp (gdb_compile_ada): Fix typo.
394
305e13e6
JB
3952016-01-21 Joel Brobecker <brobecker@adacore.com>
396
397 * gdb.base/break-fun-addr.exp: New file.
398 * gdb.base/break-fun-addr1.c: New file.
399 * gdb.base/break-fun-addr2.c: New file.
400
5f5dfff6
SM
4012016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
402
403 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
404 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
405 enum flag values.
406
fd356fa2
AA
4072016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
408
409 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
410 when GDB can not set the vector return value. Add more comments
411 for clarification.
412
9df22175
AT
4132016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
414
415 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
416 command.
417
41d1845e
SM
4182016-01-19 Simon Marchi <simon.marchi@ericsson.com>
419
420 * Makefile.in (DO_RUNTEST): Add --status and update usages.
421
01ac6840
SM
4222016-01-19 Simon Marchi <simon.marchi@ericsson.com>
423
424 * Makefile.in (check-single): Pass --status to runtest.
425 (check/%.exp): Likewise.
426
4272016-01-19 Simon Marchi <simon.marchi@ericsson.com>
428
429 * Makefile.in (check-parallel): Propagate return code from make
430 do-check-parallel.
431
bd0a71fa
MK
4322016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
433
434 * gdb.trace/ftrace.exp: Fix expected message on continue.
435 * gdb.trace/pending.exp: Fix expected message on continue.
436 * gdb.trace/trace-break.exp: Fix expected message on continue.
437
8bcbad33
SM
4382016-01-18 Simon Marchi <simon.marchi@ericsson.com>
439
440 * lib/gdb.exp (gdb_test): Remove unused global references.
441
f303dbd6
PA
4422016-01-18 Pedro Alves <palves@redhat.com>
443
444 * gdb.base/async-shell.exp: Adjust expected output.
445 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
446 * gdb.base/siginfo-thread.exp: Adjust expected output.
447 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
448 * gdb.java/jnpe.exp: Adjust expected output.
449 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
450 * gdb.threads/continue-pending-status.exp: Adjust expected output.
451 * gdb.threads/leader-exit.exp: Adjust expected output.
452 * gdb.threads/manythreads.exp: Adjust expected output.
453 * gdb.threads/pthreads.exp: Adjust expected output.
454 * gdb.threads/schedlock.exp: Adjust expected output.
455 * gdb.threads/siginfo-threads.exp: Adjust expected output.
456 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
457 expected output.
458 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
459 output.
460 * gdb.threads/sigthread.exp: Adjust expected output.
461 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
462
b2789696
YQ
4632016-01-18 Yao Qi <yao.qi@linaro.org>
464
465 * gdb.guile/scm-section-script.c: Replace @progbits with
466 %progbits.
467 * gdb.python/py-section-script.c: Likewise.
468
71ef29a8
PA
4692016-01-15 Pedro Alves <palves@redhat.com>
470
471 * gdb.multi/tids.exp: Test star wildcard ranges.
472
3f5b7598
PA
4732016-01-15 Pedro Alves <palves@redhat.com>
474
475 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
476 command from "thread apply" invocation.
477 (thr_apply_info_thr_invalid): Default the expected output to the
478 input tid list.
479 (top level): Add tests that use convenience variables. Add tests
480 for "thread apply" with a valid TID list, but missing the command.
481
663f6d42
PA
4822016-01-13 Pedro Alves <palves@redhat.com>
483
484 * gdb.base/default.exp: Expect $_gthread as well.
485 * gdb.multi/tids.exp: Test $_gthread.
486 * gdb.threads/thread-specific.exp: Test $_gthread.
487
c84f6bbf
PA
4882016-01-13 Pedro Alves <palves@redhat.com>
489
490 * gdb.multi/tids.exp: Test "info threads -gid".
491
22a02324
PA
4922016-01-13 Pedro Alves <palves@redhat.com>
493
494 * gdb.multi/tids.exp: Test InferiorThread.global_num and
495 Breakpoint.thread.
496 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
497
5d5658a1
PA
4982016-01-07 Pedro Alves <palves@redhat.com>
499
500 * gdb.base/break.exp: Adjust to output changes.
501 * gdb.base/hbreak2.exp: Likewise.
502 * gdb.base/sepdebug.exp: Likewise.
503 * gdb.base/watch_thread_num.exp: Likewise.
504 * gdb.linespec/keywords.exp: Likewise.
505 * gdb.multi/info-threads.exp: Likewise.
506 * gdb.threads/thread-find.exp: Likewise.
507 * gdb.multi/tids.c: New file.
508 * gdb.multi/tids.exp: New file.
509
84654457
PA
5102016-01-13 Pedro Alves <palves@redhat.com>
511
512 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
513
e3940304
PA
5142016-01-13 Pedro Alves <palves@redhat.com>
515
516 * gdb.base/default.exp: Expect $_inferior as well.
517 * gdb.multi/base.exp: Test $_inferior.
518
a911d87a
PA
5192016-01-13 Pedro Alves <palves@redhat.com>
520
521 PR breakpoints/19388
522 * gdb.base/catch-signal-siginfo-cond.c: New file.
523 * gdb.base/catch-signal-siginfo-cond.exp: New file.
524
82075af2
JS
5252016-01-12 Josh Stone <jistone@redhat.com>
526 Philippe Waroquiers <philippe.waroquiers@skynet.be>
527
528 * gdb.base/catch-syscall.c (do_execve): New variable.
529 (main): Conditionally trigger an execve.
530 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
531 (test_catch_syscall_execve): New, check entry/return across execve.
532 (do_syscall_tests): Call test_catch_syscall_execve.
533
e46eeedd
PA
5342016-01-12 Pedro Alves <palves@redhat.com>
535
536 * gdb.base/random-signal.exp (do_test): New procedure, with body
537 of testcase moved in.
538
01d8c27e
JK
5392016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
540 Pedro Alves <palves@redhat.com>
541
542 * gdb.base/funcargs.exp (finish from indirectly called function):
543 Reintroduce the case for 'First'.
544
9a706302
JK
5452016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
546 Pedro Alves <palves@redhat.com>
547
548 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
549 (tcatch_vfork_then_child_follow_exec)
550 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
551 identification.
552
c0ecb95f
JK
5532016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
554
555 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
556 and repeats to unlimited.
557 * gdb.python/py-value.exp: Likewise.
558 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
559 and repeats to unlimited.
560
6cfc1fcb
JK
5612016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
562
563 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
564 and reordering the functions.
565 * gdb.multi/hangout.c: Likewise.
566 * gdb.multi/hello.c: Likewise.
567
582a1b00
SM
5682016-01-08 Simon Marchi <simon.marchi@ericsson.com>
569
570 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
571 absolute.
572 (SingleStatisticTestResult.report): Use dict.keys instead of
573 dict.iterkeys.
574
79bc59cb
PA
5752016-01-06 Pedro Alves <palves@redhat.com>
576
577 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
578
43368e1d
MM
5792016-01-04 Markus Metzger <markus.t.metzger@intel.com>
580
581 * gdb.btrace/dlopen.exp: New.
582 * gdb.btrace/dlopen.c: New.
583 * gdb.btrace/dlopen-dso.c: New.
584
79fad5b8
SL
5852015-12-25 Sandra Loosemore <sandra@codesourcery.com>
586
587 * lib/gdb.exp (gdb_test): Update comments to clarify that the
588 PATTERN argument is optional.
589
ab8314b3
JB
5902015-12-24 Joel Brobecker <brobecker@adacore.com>
591
592 * lib/ada.exp (target_compile_ada_from_dir): New function.
593 (gdb_compile_ada): Reimplement avoiding the use of project files.
594 * gdb.ada/gnat_ada.gpr: Delete.
595 * gdb.ada/cond_lang.exp: Adjust test to make path before
596 filename optional.
597 * gdb.ada/small_reg_param.exp: Likewise.
598
fe33faff
SM
5992015-12-22 Simon Marchi <simon.marchi@ericsson.com>
600
601 * gdb.base/foll-vork.exp: Remove HP-UX special case.
602
6d265cb4
TP
6032015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
604
605 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
606 case.
607
10125099
SM
6082015-12-21 Simon Marchi <simon.marchi@ericsson.com>
609
610 * gdb.base/break.exp: Remove dead code.
611 * gdb.base/sepdebug.exp: Likewise.
612
3ca22649
SM
6132015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
614
615 * gdb.asm/asm-source.exp: Remove HP-UX references.
616 * gdb.base/annota1.exp: Likewise.
617 * gdb.base/annota3.exp: Likewise.
618 * gdb.base/attach.exp: Likewise.
619 * gdb.base/bigcore.exp: Likewise.
620 * gdb.base/break.exp: Likewise.
621 * gdb.base/call-ar-st.exp: Likewise.
622 * gdb.base/callfuncs.exp: Likewise.
623 * gdb.base/catch-fork-static.exp: Likewise.
624 * gdb.base/display.exp: Likewise.
625 * gdb.base/foll-exec-mode.exp: Likewise.
626 * gdb.base/foll-exec.exp: Likewise.
627 * gdb.base/foll-fork.exp: Likewise.
628 * gdb.base/foll-vfork.exp: Likewise.
629 * gdb.base/funcargs.exp: Likewise.
630 * gdb.base/hbreak2.exp: Likewise.
631 * gdb.base/inferior-died.exp: Likewise.
632 * gdb.base/interrupt.exp: Likewise.
633 * gdb.base/multi-forks.exp: Likewise.
634 * gdb.base/nodebug.exp: Likewise.
635 * gdb.base/sepdebug.exp: Likewise.
636 * gdb.base/solib1.c: Likewise.
637 * gdb.base/step-test.exp: Likewise.
638 * gdb.mi/non-stop.c: Likewise.
639 * gdb.mi/pthreads.c: Likewise.
640 * gdb.multi/bkpt-multi-exec.ex: Likewise.
641 * gdb.threads/pthreads.c: Likewise.
642 * gdb.threads/staticthreads.exp: Likewise.
643 * lib/future.exp: Likewise.
644 * lib/gdb.exp: Likewise.
645 * gdb.base/so-indr-cl.c: Remove.
646 * gdb.base/so-indr-cl.exp: Likewise.
647 * gdb.base/solib.c: Likewise.
648 * gdb.base/solib.exp: Likewise.
649 * gdb.base/solib2.c: Likewise.
650
b6304613
SM
6512015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
652
653 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
654 * gdb.base/call-ar-st.exp: Likewise.
655 * gdb.base/callfuncs.exp: Likewise.
656 * gdb.base/condbreak.exp: Likewise.
657 * gdb.base/constvars.exp: Likewise.
658 * gdb.base/hbreak2.exp: Likewise.
659 * gdb.base/langs.exp: Likewise.
660 * gdb.base/list.exp: Likewise.
661 * gdb.base/long_long.exp: Likewise.
662 * gdb.base/ptype.exp: Likewise.
663 * gdb.base/scope.exp: Likewise.
664 * gdb.base/signals.exp: Likewise.
665 * gdb.base/so-impl-ld.exp: Likewise.
666 * gdb.base/varargs.exp: Likewise.
667 * gdb.base/volatile.exp: Likewise.
668 * gdb.base/whatis.exp: Likewise.
669 * gdb.cp/cplusfuncs.exp: Likewise.
670 * gdb.cp/inherit.exp: Likewise.
671 * gdb.cp/local.exp: Likewise.
672 * gdb.cp/member-ptr.exp: Likewise.
673 * gdb.cp/method.exp: Likewise.
674 * gdb.cp/overload.exp: Likewise.
675 * gdb.cp/templates.exp: Likewise.
676 * gdb.stabs/weird.exp: Likewise.
677 * lib/compiler.c: Likewise.
678 * lib/compiler.cc: Likewise.
679 * lib/cp-support.exp: Likewise.
680 * lib/gdb.exp: Likewise.
681
bf401b07
SM
6822015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
683
684 * configure.ac: Remove HP-UX case.
685 * configure: Regenerate.
686
aff9c0f8
SM
6872015-12-18 Simon Marchi <simon.marchi@ericsson.com>
688
689 * lib/gdb.exp (gdb_compile): Add function doc.
690
a6904d5a
PA
6912015-12-17 Pedro Alves <palves@redhat.com>
692
693 PR threads/19354
694 * gdb.multi/info-threads.exp: New file.
695
a22279dd
YQ
6962015-12-15 Yao Qi <yao.qi@linaro.org>
697
698 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
699 is aarch64*-*-*.
700
0588c796
SL
7012015-12-14 Sandra Loosemore <sandra@codesourcery.com>
702
703 * gdb.base/history-duplicates.exp: Skip if no readline support.
704
5d978e17
SL
7052015-12-14 Sandra Loosemore <sandra@codesourcery.com>
706
707 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
708
7e763b86
SL
7092015-12-14 Sandra Loosemore <sandra@codesourcery.com>
710
711 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
712
87a3a92c
SL
7132015-12-14 Sandra Loosemore <sandra@codesourcery.com>
714
715 * gdb.base/completion.exp: Skip tests that interrupt GDB with
716 ctrl-C if nointerrupts target property is set.
717 * gdb.base/double-prompt-target-event-error.exp: Likewise.
718 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
719 * gdb.base/paginate-bg-execution.exp: Likewise.
720 * gdb.base/paginate-execution-startup.exp: Likewise.
721 * gdb.base/random-signal.exp: Likewise.
722 * gdb.base/range-stepping.exp: Likewise.
723 * gdb.cp/annota2.exp: Likewise.
724 * gdb.cp/annota3.exp: Likewise.
725 * gdb.gdb/selftest.exp: Likewise.
726 * gdb.threads/continue-pending-status.exp: Likewise.
727 * gdb.threads/leader-exit.exp: Likewise.
728 * gdb.threads/manythreads.exp: Likewise.
729 * gdb.threads/pthreads.exp: Likewise.
730 * gdb.threads/schedlock.exp: Likewise.
731 * gdb.threads/sigthread.exp: Likewise.
732
a8f077dc
DB
7332015-12-11 Don Breazeal <donb@codesourcery.com>
734
735 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
736 remote.
737 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
738 * gdb.base/foll-exec.exp (main): Enable for target remote.
739 * gdb.base/foll-fork.exp (main): Likewise.
740 * gdb.base/foll-vfork.exp (main): Likewise.
741 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
742 (proc continue_to_exit_bp_loc): Use clean_restart.
743 * gdb.base/pie-execl.exp (main): Disable for target remote.
744 * gdb.base/watch-vfork.exp (main): Enable for target remote.
745 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
746 * gdb.threads/execl.exp (main): Likewise.
747 * gdb.threads/fork-child-threads.exp (main): Likewise.
748 * gdb.threads/fork-plus-threads.exp (main): Disable for target
749 remote.
750 * gdb.threads/fork-thread-pending.exp (main): Enable for target
751 remote.
752 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
753 pid.tid style ptids, instead of just tid.
754 * gdb.threads/thread-execl.exp (main): Enable for target remote.
755 * gdb.threads/watchpoint-fork.exp (main): Likewise.
756 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
757 ptids, instead of just tid.
758
3b2464a8
AB
7592015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
760
761 * gdb.base/list.exp (test_list_forward): Add end of file error
762 test.
763 (test_repeat_list_command): Add end of file error test.
764 (test_list_backwards): Add beginning of file error test.
765
a0def019
AB
7662015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
767
768 * gdb.base/list.exp (test_list_invalid_args): New function,
769 defined, and called.
770
5c000dff
AB
7712015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
772
773 * gdb.base/list.exp (test_list): Make test names unique.
774
f1637ebe
YQ
7752015-12-11 Yao Qi <yao.qi@linaro.org>
776
777 * gdb.base/coremaker2.c: Remove.
778
36d6fc0a
PA
7792015-12-10 Pedro Alves <palves@redhat.com>
780
781 * gdb.multi/base.exp: Remove stale "spaces" references.
782
762f7747
PA
7832015-12-10 Pedro Alves <palves@redhat.com>
784
785 * gdb.multi/base.exp: Don't use nowarnings.
786 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
787 * gdb.multi/hangout.c: Include stdio.h.
788 * gdb.multi/hello.c: Include stdlib.h.
789 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
790 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
791 * gdb.multi/multi-arch.exp: Don't use nowarnings.
792
28d2bfb9
AB
7932015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
794
795 * gdb.dwarf2/dw2-ranges-base.c: New file.
796 * gdb.dwarf2/dw2-ranges-base.exp: New file.
797 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
798 support additional line table, and debug ranges generation.
799 (Dwarf::ranges): New function, generate .debug_ranges.
800 (Dwarf::lines): Support generating simple line table programs.
801 (Dwarf::assemble): Initialise new namespace variables.
802
5fc2beac
KB
8032015-12-09 Kevin Buettner <kevinb@redhat.com>
804
805 * gdb.base/async.exp (proc test_background): Add case for
806 asynchronous execution not supported.
807
1c35a88f
LM
8082015-12-09 Luis Machado <lgustavo@codesourcery.com>
809
810 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
811 format and change test names to make them unique.
812
b593e3d9
RK
8132015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
814 Pedro Alves <pedro@redhat.com>
815
816 PR gdb/18702
817 Add checking of floatformats setup on x86_64 hosts.
818 * gdb.arch/i386-float.S (main): Load bigval and smallval.
819 (smallval, bigval): New labels/constants.
820 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
821 float" after loading bigval and smallval.
822
d72413e6
PMR
8232015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
824
825 * gdb.ada/fun_overload_menu.exp: New testcase.
826 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
827
ece66d65
JS
8282015-12-04 Josh Stone <jistone@redhat.com>
829
830 * gdb.base/catch-fork-static.exp: New.
831
41d0efca
YQ
8322015-12-03 Yao Qi <yao.qi@linaro.org>
833
834 * gdb.base/sizeof.c: Don't include stdio.h and
835 ../lib/unbuffer_output.c.
836 (main): New variable 'size' and 'value'. Remove printf and
837 gdb_unbuffer_output. Assign return value to size and value.
838 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
839 at the beginning.
840 (check_sizeof): Check the result by printing variable 'size'.
841 (check_valueof): Check the result by printing variable 'value'.
842
99fd02d9
YQ
8432015-12-01 Yao Qi <yao.qi@linaro.org>
844
845 * gdb.base/disp-step-syscall.exp: Define syscall instruction
846 for aarch64*-*-linux* target.
847
f2faf941
PA
8482015-11-30 Pedro Alves <palves@redhat.com>
849
850 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
851
04bf20c5
PA
8522015-11-30 Pedro Alves <palves@redhat.com>
853
854 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
855 Handle non-stop mode vCont replies.
856
09df4675
PA
8572015-11-30 Pedro Alves <palves@redhat.com>
858
859 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
860 prepare_for_testing. Start gdb with "set non-stop on" appended to
861 GDBFLAGS. Lax expected stop output.
862
58b584af
YQ
8632015-11-27 Yao Qi <yao.qi@linaro.org>
864
865 * gdb.arch/arm-neon.exp: New.
866 * gdb.arch/arm-neon.c: New.
867
dfcb77a8
YQ
8682015-11-27 Yao Qi <yao.qi@linaro.org>
869
870 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
871
88e8ec1b
YQ
8722015-11-27 Yao Qi <yao.qi@linaro.org>
873
874 * gdb.cp/annota2.exp: Allow multiple occurrences of the
875 frames-invalid annotation.
876
bfde72c2
YQ
8772015-11-27 Yao Qi <yao.qi@linaro.org>
878
879 * gdb.cp/annota2.exp: Use ${frames_invalid}.
880
f6512a69
SM
8812015-11-26 Simon Marchi <simon.marchi@ericsson.com>
882
883 * gdb.threads/names.exp: New file.
884 * gdb.threads/names.c: New file.
885 * README: Mention gdb,no_thread_names.
886
46a3515b
MM
8872015-11-26 Markus Metzger <markus.t.metzger@intel.com>
888
889 PR 19297
890 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
891 support" error.
892
62147a22
PA
8932015-11-24 Pedro Alves <palves@redhat.com>
894
895 PR 17539
896 * gdb.base/display.exp: Expect displays to be sorted in ascending
897 order. Use multi_line.
898 * gdb.base/solib-display.exp: Likewise.
899
2f341b6e
PA
9002015-11-24 Pedro Alves <palves@redhat.com>
901
902 PR 17539
903 * gdb.base/display.exp: Expect displays to be sorted in ascending
904 order. Use multi_line.
905 * gdb.base/solib-display.exp: Likewise.
906
7e0aa6aa
PA
9072015-11-24 Pedro Alves <palves@redhat.com>
908
909 PR 17539
910 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
911 threads in ascending order.
912 * gdb.base/foll-fork.exp: Likewise.
913 * gdb.base/foll-vfork.exp: Likewise.
914 * gdb.base/multi-forks.exp: Likewise.
915 * gdb.mi/mi-nonstop.exp: Likewise.
916 * gdb.mi/mi-nsintrall.exp: Likewise.
917 * gdb.multi/base.exp: Likewise.
918 * gdb.multi/multi-arch.exp: Likewise.
919 * gdb.python/py-inferior.exp: Likewise.
920 * gdb.threads/break-while-running.exp: Likewise.
921 * gdb.threads/execl.exp: Likewise.
922 * gdb.threads/gcore-thread.exp: Likewise.
923 * gdb.threads/info-threads-cur-sal.exp: Likewise.
924 * gdb.threads/kill.exp: Likewise.
925 * gdb.threads/linux-dp.exp: Likewise.
926 * gdb.threads/multiple-step-overs.exp: Likewise.
927 * gdb.threads/next-bp-other-thread.exp: Likewise.
928 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
929 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
930 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
931 * gdb.threads/thread-find.exp: Likewise.
932 * gdb.threads/tls.exp: Likewise.
933 * lib/mi-support.exp (mi_reverse_list): Delete.
934 (mi_check_thread_states): No longer reverse list.
935
2cc57ad8
PA
9362015-11-24 Pedro Alves <palves@redhat.com>
937
938 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
939 use lowercase.
940
c93e8391
SM
9412015-11-23 Simon Marchi <simon.marchi@ericsson.com>
942
943 * gdb.trace/actions.c: Include trace-common.h.
944 (main): Add a location for a fast tracepoint.
945 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
946 the normal tracepoints.
947 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
948
045ccf91
SM
9492015-11-23 Simon Marchi <simon.marchi@ericsson.com>
950
951 * save-trace.exp: Factor out code to these...
952 (gdb_save_tracepoints): New.
953 (gdb_load_tracepoints): New.
954 (do_save_load_test): New.
955
5506f9f6
KB
9562015-11-23 Kevin Buettner <kevinb@redhat.com>
957
958 * gdb.base/asmlabel.exp: New test.
959 * gdb.base/asmlabel.c: New test case.
960
16c3b12f
JB
9612015-11-23 Joel Brobecker <brobecker@adacore.com>
962
963 * gdb.base/wrong_frame_bt_full-main.c: New file.
964 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
965 * gdb.base/wrong_frame_bt_full.exp: New file.
966
155bfbd3
JB
9672015-11-23 Joel Brobecker <brobecker@adacore.com>
968
969 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
970
bb097445
JM
9712015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
972
206853a0 973 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
974 pstate register when comparing registers values in
975 sparc64-*-linux-gnu targets to avoid spurious differences.
976
9c88ed8f
JM
9772015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
978
206853a0 979 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 980
96161e25
SL
9812015-11-19 Sandra Loosemore <sandra@codesourcery.com>
982
983 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
984 as type argument to gdb_compile.
985 * gdb.base/nested-subp2.exp: Likewise.
986 * gdb.base/nested-subp3.exp: Likewise.
987
340c2830
DV
9882015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
989
990 * lib/dwarf.exp (_note): Fix left shift of negative value.
991 * gdb.trace/trace-condition.exp: Likewise.
992
c1862d0f
YQ
9932015-11-13 Yao Qi <yao.qi@linaro.org>
994
995 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
996 comments about d10v.
997 (test_scalar_returns): Likewise.
998 * gdb.base/d10v.ld: Remove.
999 * gdb.base/overlays.exp: Remove the target triplet checking for
1000 d10v-*-*.
1001 * gdb.base/structs.exp (test_struct_returns): Remove the
1002 comments about d10v.
1003 (test_struct_calls): Likewise.
1004
77ae9c19
YQ
10052015-11-13 Yao Qi <yao.qi@linaro.org>
1006
1007 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1008 * gdb.base/gnu_vector.c: Don't include stdio.h.
1009 (main): Don't print res and call add_some_intvecs.
1010
430e004e
MK
10112015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1012
1013 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1014 macro.
1015 (func5): Removed.
1016 (func4): Use FAST_TRACEPOINT_LABEL.
1017 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1018 macro.
1019 (func): Removed.
1020 (thread_function): Use FAST_TRACEPOINT_LABEL.
1021 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1022 (func): Remove.
1023 (marker): Use FAST_TRACEPOINT_LABEL.
1024 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1025 (pendfunc1): Remove.
1026 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1027 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1028 (foo): Remove.
1029 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1030 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1031 macro.
1032 (func): Remove.
1033 (marker): Use FAST_TRACEPOINT_LABEL.
1034 * gdb.trace/trace-common.h: New header.
1035 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1036 macro.
1037 (func): Remove.
1038 (marker): Use FAST_TRACEPOINT_LABEL.
1039 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1040 (func): Remove.
1041 (thread_function): Use FAST_TRACEPOINT_LABEL.
1042
6e7675a7
MK
10432015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1044
1045 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1046 in front.
1047 * gdb.trace/change-loc.exp: Use global pcreg definition.
1048 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1049 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1050 in front.
1051 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1052 * gdb.trace/pending.exp: Likewise.
1053 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1054 * gdb.trace/trace-break.exp: Likewise.
1055 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1056 in front.
1057 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1058 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1059 in front.
1060 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1061
dddc0e16
JB
10622015-11-09 Joel Brobecker <brobecker@adacore.com>
1063
1064 * gdb.ada/fin_fun_out: New testcase.
1065
c6f0b406
KB
10662015-11-07 Kevin Buettner <kevinb@redhat.com>
1067
1068 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1069 value associated with DW_AT_byte_size.
1070 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1071 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1072 DW_AT_upper_bound.
1073
f01dcfd9
KB
10742015-11-07 Kevin Buettner <kevinb@redhat.com>
1075
1076 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1077 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1078 version.
1079 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1080 gdb.dwarf2/dw2-canonicalize-type.exp,
1081 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1082 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1083 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1084 provided by gdb_target_symbol_prefix_flags_asm.
1085 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1086 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1087 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1088 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1089 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1090 macros where needed). Use this macro for symbols which require
1091 the prefix provided by SYMBOL_PREFIX.
1092
2223449a
KB
10932015-11-05 Kevin Buettner <kevinb@redhat.com>
1094
1095 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1096 New procs.
1097 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1098 representing expressions, of more than one list element.
1099 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1100 to prepend linker symbol prefix to f.
1101 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1102 table_1 and table_2.
1103 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1104 Likewise, for f and g.
1105 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1106 for ptr.
1107 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1108 for main.
1109 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1110 table_1_ptr and table_2_ptr.
1111
6f2f1a3a
JK
11122015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1113 Joel Brobecker <brobecker@adacore.com>
1114
1115 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1116
566c56c9
MK
11172015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1118
1119 * gdb.reverse/s390-mvcle.c: New test.
1120 * gdb.reverse/s390-mvcle.exp: New file.
1121 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1122
d5f0636b
MK
11232015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1124
1125 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1126
7ad8b86c
MK
11272015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1128
1129 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1130 reaching marker2.
1131 * gdb.reverse/getresuid-reverse.exp: Likewise.
1132 * gdb.reverse/pipe-reverse.exp: Likewise.
1133 * gdb.reverse/readv-reverse.exp: Likewise.
1134 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1135 * gdb.reverse/time-reverse.exp: Likewise.
1136 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1137
4081c0f1
YQ
11382015-10-30 Yao Qi <yao.qi@linaro.org>
1139
1140 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1141 (empty_cycle): Remove.
1142 (main): Don't call empty_cycle. Don't use watch_count_done.
1143 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1144 empty_cycle. Rewrite the code counting HW watchpoints.
1145
452b4ba5
MK
11462015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1147
1148 * gdb.reverse/fstatat-reverse.c: New test.
1149 * gdb.reverse/fstatat-reverse.exp: New file.
1150 * gdb.reverse/getresuid-reverse.c: New test.
1151 * gdb.reverse/getresuid-reverse.exp: New file.
1152 * gdb.reverse/pipe-reverse.c: New test.
1153 * gdb.reverse/pipe-reverse.exp: New file.
1154 * gdb.reverse/readv-reverse.c: New test.
1155 * gdb.reverse/readv-reverse.exp: New file.
1156 * gdb.reverse/recvmsg-reverse.c: New test.
1157 * gdb.reverse/recvmsg-reverse.exp: New file.
1158 * gdb.reverse/time-reverse.c: New test.
1159 * gdb.reverse/time-reverse.exp: New file.
1160 * gdb.reverse/waitpid-reverse.c: New test.
1161 * gdb.reverse/waitpid-reverse.exp: New file.
1162
5e2e7507
JK
11632015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1164
1165 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1166
0fde2c53
DE
11672015-10-26 Doug Evans <dje@google.com>
1168
1169 PR symtab/17391
1170 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1171 * gdb.dwarf2/bad-regnum.c: New file.
1172 * gdb.dwarf2/bad-regnum.exp: New file.
1173
1a70ae97
DE
11742015-10-26 Doug Evans <dje@google.com>
1175
1176 PR python/18938
1177 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1178 file.
1179
27dc26ab
JK
11802015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1181
1182 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1183 for a change by "Mention language in compile error message".
1184
bed91f4d
SM
11852015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1186
1187 PR python/18073
1188 * gdb.python/py-type.c (C::a_method): New.
1189 (C::a_const_method): New.
1190 (C::a_static_method): New.
1191 (a_function): New.
1192 * gdb.python/py-type.exp (test_fields): Test getting fields
1193 from function and method.
1194
3f2f83dd
KB
11952015-10-21 Keven Boell <keven.boell@intel.com>
1196
1197 * gdb.fortran/vla-alloc-assoc.exp: New file.
1198 * gdb.fortran/vla-datatypes.exp: New file.
1199 * gdb.fortran/vla-datatypes.f90: New file.
1200 * gdb.fortran/vla-history.exp: New file.
1201 * gdb.fortran/vla-ptype-sub.exp: New file.
1202 * gdb.fortran/vla-ptype.exp: New file.
1203 * gdb.fortran/vla-sizeof.exp: New file.
1204 * gdb.fortran/vla-sub.f90: New file.
1205 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1206 * gdb.fortran/vla-value-sub-finish.exp: New file.
1207 * gdb.fortran/vla-value-sub.exp: New file.
1208 * gdb.fortran/vla-value.exp: New file.
1209 * gdb.fortran/vla-ptr-info.exp: New file.
1210 * gdb.mi/mi-vla-fortran.exp: New file.
1211 * gdb.mi/vla.f90: New file.
1212
27145d50
SL
12132015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1214
1215 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1216 of hardwired timeout value.
1217
5f3ff4f8
JK
12182015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1219 Pedro Alves <palves@redhat.com>
1220
1221 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1222 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1223
bfd09d20
JS
12242015-10-19 Josh Stone <jistone@redhat.com>
1225
1226 * gdb.base/catch-syscall.c: Include <sched.h>.
1227 (unknown_syscall): New variable.
1228 (main): Trigger a vfork and an unknown syscall.
1229 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1230 (unknown_syscall_number): Likewise.
1231 (check_call_to_syscall): Accept an optional syscall pattern.
1232 (check_return_from_syscall): Likewise.
1233 (check_continue): Likewise.
1234 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1235 (test_catch_syscall_skipping_return): New test toggling off 'catch
1236 syscall' to step over the syscall return, then toggling back on.
1237 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1238 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1239 (do_syscall_tests): Call test_catch_syscall_without_args and
1240 test_catch_syscall_mid_vfork.
1241 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1242 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1243
b32b93c6
AS
12442015-10-19 Andrew Stubbs <ams@codesourcery.com>
1245
1246 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1247 print g_vE): Add new pass patterns.
1248 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1249 print various symbol names for vptr fields.
1250
9d622bda
AB
12512015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1252
1253 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1254 results.
1255
0fd8ac1c
YQ
12562015-10-12 Yao Qi <yao.qi@linaro.org>
1257
1258 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1259
34240514
YQ
12602015-10-12 Yao Qi <yao.qi@linaro.org>
1261
1262 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1263 is aarch64*-*-linux*.
1264
8240f442
YQ
12652015-10-12 Yao Qi <yao.qi@linaro.org>
1266
1267 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1268 (can_relocate_bcond_true): ... it.
1269 (can_relocate_bcond_false): New function.
1270 (foo): Likewise.
1271 (can_relocate_bl): Likewise.
1272 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1273 can_relocate_bl.
1274
2520f728
PMR
12752015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1276
1277 * gdb.base/nested-addr.c: New file.
1278 * gdb.base/nested-addr.exp: New testcase.
1279
abcef95a
MM
12802015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1281
1282 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1283 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1284 its output. Ignore the output of "record goto begin" and instead
1285 check that GDB is replaying.
1286
145e3ddb
PA
12872015-10-09 Pedro Alves <palves@redhat.com>
1288
1289 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1290 (top level): Use it in the run with no args test.
1291
d5d8c4e1
IB
12922015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1293
1294 * gdb.dlang/properties.exp: New file.
1295
06e635ef
SL
12962015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1297
1298 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1299 whether or not address 0x1000 is mapped on the target.
1300
e019fd1d
SM
13012015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1302
1303 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1304 build.
1305
77ba2a67
MM
13062015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1307
1308 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1309 instruction-history test.
1310
c60eb31f
DE
13112015-09-28 Doug Evans <dje@google.com>
1312
1313 * gdb.base/gcore.c (array_func): Add reference to static_array.
1314
9a3c8263
SM
13152015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1316
1317 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1318 source line.
1319
9720e656
SL
13202015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1321
1322 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1323 short or char as base type.
1324
938d3bf2
SL
13252015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1326
1327 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1328 to allow any size enum.
1329
e6c2c623
PMR
13302015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1331
1332 * gdb.ada/array_ptr_renaming.exp: New testcase.
1333 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1334 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1335
06da0f77
PL
13362015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1337
1338 * gdb.trace/ftrace-lock.c: New file.
1339 * gdb.trace/ftrace-lock.exp: New file.
1340
4f51c22a
PL
13412015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1342
1343 * gdb.arch/insn-reloc.c: New file.
1344 * gdb.arch/ftrace-insn-reloc.exp: New file.
1345
7041adf4
PL
13462015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1347
1348 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1349 instruction.
1350 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1351 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1352 * gdb.trace/range-stepping.c: Likewise.
1353 * gdb.trace/trace-break.c: Likewise.
1354 * gdb.trace/trace-mt.c (thread_function): Likewise.
1355 * gdb.trace/ftrace.c (marker): Likewise.
1356 * gdb.trace/trace-condition.c (marker): Likewise.
1357 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1358 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1359 is_aarch64_target.
1360
015d2e7e
DE
13612015-09-18 Doug Evans <xdje42@gmail.com>
1362
1363 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1364 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1365
26b188a2
SL
13662015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1367
1368 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1369 the breakpoint.
1370
79dc332b
SL
13712015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1372
1373 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1374 the pending breakpoint. Remove timeout override for "Run till
1375 MI pending breakpoint on pendfunc3 on thread 2" test.
1376
f57929f2
SL
13772015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1378
1379 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1380 filename pattern.
1381
3f469b17
SL
13822015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1383
1384 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1385 in breakpoint filename pattern.
1386
515b89b3
SL
13872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1388
7800dbe4
SL
1389 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1390
13912015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1392
515b89b3
SL
1393 * gdb.linespec/explicit.exp: Check for readline support for
1394 tab-completion tests. Fix obvious typo.
1395
d2939ba2
MM
13962015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1397
1398 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1399 and replay.
1400
cbb55fa7
MM
14012015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1402
1403 * gdb.btrace/non-stop.c: New.
1404 * gdb.btrace/non-stop.exp: New.
1405
43691ca1
PL
14062015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1407 Yao Qi <yao.qi@linaro.org>
1408
1409 * gdb.trace/trace-condition.c: New file.
1410 * gdb.trace/trace-condition.exp: New file.
1411
d78908cf
WW
14122015-09-16 Wei-cheng Wang <cole945@gmail.com>
1413
1414 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1415 for testing bytecode compilation.
1416
1ed415e2
PA
14172015-09-16 Pedro Alves <palves@redhat.com>
1418 Sandra Loosemore <sandra@codesourcery.com>
1419
1420 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1421 (SECONDS): Redefine.
1422 (main): Call pthread_kill and alarm early.
1423 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1424 support.
1425 (test): If the target can't hardware step and doesn't support
1426 displaced stepping, increase the timeout.
1427
d136eff5
PA
14282015-09-16 Pedro Alves <palves@redhat.com>
1429
1430 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1431 (enable_debug): New procedures.
1432 (test): Use them. Bail out if waiting for threads fails.
1433 (top level): Bail out if a test fails.
1434
991f019c
YQ
14352015-09-16 Yao Qi <yao.qi@linaro.org>
1436
1437 * gdb.asm/asm-source.exp: Set asm-arch for
1438 aarch64*-*-* target.
1439 * gdb.asm/aarch64.inc: New file.
1440
bfca584f
PMR
14412015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1442
1443 * gdb.ada/array_of_variable_length.exp: New testcase.
1444 * gdb.ada/array_of_variable_length/foo.adb: New file.
1445 * gdb.ada/array_of_variable_length/pck.adb: New file.
1446 * gdb.ada/array_of_variable_length/pck.ads: New file.
1447
b326e587
DE
14482015-09-15 Doug Evans <dje@google.com>
1449
1450 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1451 of function static local variable.
1452
5382cfab
PW
14532015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1454
1455 * gdb.threads/tls-so_extern.exp: New test file.
1456 * gdb.threads/tls-so_extern.c: New test file.
1457 * gdb.threads/tls-so_extern_main.c: New test file.
1458
141c5cc4
JK
14592015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1460
1461 * gdb.opt/solib-intra-step-lib.c: New file.
1462 * gdb.opt/solib-intra-step-main.c: New file.
1463 * gdb.opt/solib-intra-step.exp: New file.
1464
d15dcecd
PA
14652015-09-15 Pedro Alves <palves@redhat.com>
1466
1467 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1468 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1469
4c2f2a79
PA
14702015-09-14 Pedro Alves <palves@redhat.com>
1471
1472 * gdb.base/hook-stop-continue.c: Delete.
1473 * gdb.base/hook-stop-continue.exp: Delete.
1474 * gdb.base/hook-stop-frame.c: Delete.
1475 * gdb.base/hook-stop-frame.exp: Delete.
1476 * gdb.base/hook-stop.c: New file.
1477 * gdb.base/hook-stop.exp: New file.
1478
919e6dbe
PMR
14792015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1480
1481 * gdb.ada/access_to_packed_array.exp: New testcase.
1482 * gdb.ada/access_to_packed_array/foo.adb: New file.
1483 * gdb.ada/access_to_packed_array/pack.adb: New file.
1484 * gdb.ada/access_to_packed_array/pack.ads: New file.
1485
157280a4
MM
14862015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1487
1488 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1489 buffer size test.
1490
2fd33e94
DB
14912015-09-11 Don Breazeal <donb@codesourcery.com>
1492
1493 * gdb.base/foll-exec.c: Add copyright header. Fix
1494 formatting issues.
1495 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1496 (do_exec_tests): Use clean_restart in place of zap_session,
1497 and for test initialization. Fix formatting issues. Use
1498 fail in place of perror.
1499 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1500 an expect statement to match an expression with output from
1501 the program under debug.
1502 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1503 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1504 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1505 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1506 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1507
e70b6e8e
DE
15082015-09-09 Doug Evans <dje@google.com>
1509
1510 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1511
7a551a51
DE
15122015-09-09 Doug Evans <dje@google.com>
1513
1514 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1515
4c666f84
DE
15162015-09-09 Doug Evans <dje@google.com>
1517
1518 * gdb.base/savedregs.exp: Fix typo.
1519
243a9253
PA
15202015-09-09 Pedro Alves <palves@redhat.com>
1521
1522 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1523
c0fa8fbd
SL
15242015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1525
1526 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1527 command actually switches threads. Give up on remaining
1528 tests if target fails to stop at breakpoint.
1529
cd7c1778
PMR
15302015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1531
1532 * gdb.ada/funcall_char.exp: New testcase.
1533 * gdb.ada/funcall_char/foo.adb: New file.
1534
dc5c8746
PMR
15352015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1536
1537 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1538 expected outputs. Add two testcases for completing ambiguous
1539 functions.
1540 * gdb.ada/complete/aux_pck.adb: New file.
1541 * gdb.ada/complete/aux_pck.ads: New file.
1542 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1543 Ambiguous_Func functions.
1544 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1545 * gdb.ada/complete/pck.adb: Likewise.
1546
4e83a1e7
UW
15472015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1548
1549 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1550 failures to run the test program under GDB.
1551
8ce74153
LM
15522015-08-26 Luis Machado <lgustavo@codesourcery.com>
1553
1554 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1555 to C.
1556
e9756d52
PP
15572015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1558
1559 * gdb.base/run-after-attach.exp: New test file.
1560 * gdb.base/run-after-attach.c: New test file.
1561
8d37573b
DB
15622015-08-26 Don Breazeal <donb@codesourcery.com>
1563
1564 * gdb.base/foll-exec-2.c: New test program.
1565 * gdb.base/foll-exec-2.exp: New test.
1566
63e43d3a
PMR
15672015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1568
1569 * gdb.base/nested-subp1.exp: New file.
1570 * gdb.base/nested-subp1.c: New file.
1571 * gdb.base/nested-subp2.exp: New file.
1572 * gdb.base/nested-subp2.c: New file.
1573 * gdb.base/nested-subp3.exp: New file.
1574 * gdb.base/nested-subp3.c: New file.
1575
3d40fbb5
PA
15762015-08-24 Pedro Alves <palves@redhat.com>
1577
1578 * gdb.server/connect-without-multi-process.c: New file.
1579 * gdb.server/connect-without-multi-process.exp: New file.
1580
4422ac93
LM
15812015-08-24 Luis Machado <lgustavo@codesourcery.com>
1582
1583 * gdb.opt/inline-markers.c: Make z int.
1584
91dddb86
LM
15852015-08-24 Luis Machado <lgustavo@codesourcery.com>
1586
1587 * gdb.opt/inline-markers.c: Make z volatile.
1588
a48847ee
LM
15892015-08-24 Luis Machado <lgustavo@codesourcery.com>
1590
1591 * gdb.opt/inline-bt.c: New volatile global z.
1592 * gdb.opt/inline-cmds.c: Likewise.
1593 * gdb.opt/inline-locals.c: Likewise.
1594 * gdb.opt/inline-markers.c: New extern global z.
1595 (marker): Use z.
1596 (inline_fn): Likewise.
1597
0ebbc52b
PA
15982015-08-24 Pedro Alves <palves@redhat.com>
1599
1600 * config/m32r-stub.exp: Remove file.
1601 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1602 * gdb.base/call-rt-st.exp: Likewise.
1603 * gdb.base/call-strs.exp: Likewise.
1604 * gdb.base/default.exp: Remove references to h8300-*-hms and
1605 *-*-udi*.
1606 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1607
77c365df
AA
16082015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1609
1610 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1611 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1612 and "return" use KFAIL when GDB can not read/write the vector
1613 return value.
1614
4313b8c0
GB
16152015-08-21 Gary Benson <gbenson@redhat.com>
1616
1617 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1618
0e433b32
PA
16192015-08-20 Pedro Alves <palves@redhat.com>
1620
1621 * gdb.server/solib-list.exp: No longer expect an interior stop in
1622 non-stop mode.
1623
221e1a37
PA
16242015-08-20 Pedro Alves <palves@redhat.com>
1625
1626 * gdb.server/connect-stopped-target.c: New file.
1627 * gdb.server/connect-stopped-target.exp: New file.
1628
40e3ad0e
PA
16292015-08-20 Pedro Alves <palves@redhat.com>
1630
1631 * gdb.dwarf2/comp-unit-lang.exp: New file.
1632 * gdb.dwarf2/comp-unit-lang.c: New file.
1633
af39b327
PMR
16342015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1635
1636 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1637 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1638
7d45c7c3 16392015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1640
7d45c7c3
KB
1641 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1642 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1643
4d6cceb4
DE
16442015-08-18 Doug Evans <dje@google.com>
1645 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1646
1647 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1648 skip_python_tests. New arg prompt_regexp.
1649 (skip_python_tests): New function.
1650 * lib/mi-support.exp (mi_skip_python_tests): New function.
1651 * gdb.python/py-mi-objfile-gdb.py: New file.
1652 * gdb.python/py-mi-objfile.c: New file.
1653 * gdb.python/py-mi-objfile.exp: New file.
1654
ad89c2aa
KS
16552015-08-17 Keith Seitz <keiths@redhat.com>
1656
1657 * gdb.linespec/explicit.exp: Move strace test from here ...
1658 * gdb.trace/strace.exp: ... to here.
1659
e3ae3c43
PP
16602015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1661
1662 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1663 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1664
604b2636
DE
16652015-08-14 Doug Evans <xdje42@gmail.com>
1666
1667 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1668 inferior before selecting a new file.
1669
6ff0ba5f
DE
16702015-08-14 Doug Evans <xdje42@gmail.com>
1671
1672 * gdb.mi/mi-disassemble.exp: Update.
1673 * gdb.base/disasm-optim.S: New file.
1674 * gdb.base/disasm-optim.c: New file.
1675 * gdb.base/disasm-optim.h: New file.
1676 * gdb.base/disasm-optim.exp: New file.
1677
9ca98f92
KS
16782015-08-14 Keith Seitz <keiths@redhat.com>
1679
1680 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1681 "evaluated-by".
1682
52bbc560
JB
16832015-08-13 Joel Brobecker <brobecker@adacore.com>
1684
1685 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1686
5d8c3ed3
PMR
16872015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1688
1689 * gdb.ada/fun_renaming.exp: New testcase.
1690 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1691 * gdb.ada/fun_renaming/pack.adb: New file.
1692 * gdb.ada/fun_renaming/pack.ads: New file.
1693
ea8812bc
KS
16942015-08-12 Keith Seitz <keiths@redhat.com>
1695
1696 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1697 gdb_get_line_number.
1698
4dafcdeb
JB
16992015-08-12 Joel Brobecker <brobecker@adacore.com>
1700
1701 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1702 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1703 gdb.base/dso2dso.exp: New files.
1704
5ba32597
SDJ
17052015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1706 Pedro Alves <palves@redhat.com>
1707 Keith Seitz <keiths@redhat.com>
1708
1709 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1710 GDBFLAGS.
1711
b6dafabf
PP
17122015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1713
1714 * gdb.base/gdbhistsize-history.exp
1715 (test_histsize_history_setting): Use save_vars.
1716 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1717 Use save_vars.
1718 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1719 * gdb.base/readline.exp: Use save_vars.
1720
abe8e607
PP
17212015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1722
1723 * lib/gdb.exp (save_vars): New proc.
1724
629500fa
KS
17252015-08-11 Keith Seitz <keiths@redhat.com>
1726
1727 * gdb.base/help.exp: Update help_breakpoint_text.
1728
eb8c4e2e
KS
17292015-08-11 Keith Seitz <keiths@redhat.com>
1730
1731 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1732 (at toplevel): Call test_explicit_breakpoints.
1733 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1734 breakpoints.
1735 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1736 breakpoint conditions, "-cond".
1737
87f0e720
KS
17382015-08-11 Keith Seitz <keiths@redhat.com>
1739
1740 * gdb.linespec/3explicit.c: New file.
1741 * gdb.linespec/cpexplicit.cc: New file.
1742 * gdb.linespec/cpexplicit.exp: New file.
1743 * gdb.linespec/explicit.c: New file.
1744 * gdb.linespec/explicit.exp: New file.
1745 * gdb.linespec/explicit2.c: New file.
1746 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1747 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1748 before using in the matching pattern.
1749 Clarify that `prefix' is a regular expression.
1750
f00aae0f
KS
17512015-08-11 Keith Seitz <keiths@redhat.com>
1752
1753 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1754 test.
1755 Add tests for missing ",FMT" and ",".
1756
e27852be
DE
17572015-08-10 Doug Evans <dje@google.com>
1758 Keith Seitz <keiths@redhat.com>
1759
1760 PR gdb/17960
1761 * gdb.base/completion.exp: Add location completer tests.
1762
7f03bd92
PA
17632015-08-07 Pedro Alves <palves@redhat.com>
1764
1765 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1766 tests here.
1767 (top level): Run do_test with and without displaced stepping.
1768
3fc8eb30
PA
17692015-08-07 Pedro Alves <palves@redhat.com>
1770
1771 * gdb.base/valgrind-disp-step.c: New file.
1772 * gdb.base/valgrind-disp-step.exp: New file.
1773
d4569d7b
PA
17742015-08-07 Pedro Alves <palves@redhat.com>
1775
1776 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1777 Delete function.
1778 (main): Add alarm. Run an infinite loop instead of calling
1779 wait_threads.
1780 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1781 comment.
1782 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1783 Delete function.
1784 (main): Add alarm. Run an infinite loop instead of calling
1785 wait_threads.
1786 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1787 comment.
1788
e1316e60
PA
17892015-08-07 Pedro Alves <palves@redhat.com>
1790
1791 * gdb.base/checkpoint-ns.exp: New file.
1792 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1793 standard_testfile.
1794
da8c46d2
MM
17952015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1796
1797 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1798 * gdb.btrace/instruction_history.exp: Update.
1799 * gdb.btrace/tsx.exp: New.
1800 * gdb.btrace/tsx.c: New.
1801
de1c2c52
PA
18022015-08-06 Pedro Alves <palves@redhat.com>
1803
1804 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1805 increase timeout.
1806 * gdb.reverse/until-precsave.exp: Bump timeouts.
1807
782e0bf4
PA
18082015-08-06 Pedro Alves <palves@redhat.com>
1809
1810 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1811
83e97ed0
PA
18122015-08-06 Pedro Alves <palves@redhat.com>
1813
1814 PR gdb/18749
1815 * gdb.threads/process-dies-while-handling-bp.c: New file.
1816 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1817
863d01bd
PA
18182015-08-06 Pedro Alves <palves@redhat.com>
1819
1820 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1821 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1822
0a39bb32
PA
18232015-08-05 Pedro Alves <palves@redhat.com>
1824
1825 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1826 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1827
ee2d2b10
SL
18282015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1829
1830 * gdb.base/bp-permanent.exp: Report test as unsupported if
1831 the target cannot stop at the permanent breakpoint.
1832
4e1bdb00
DE
18332015-08-03 Doug Evans <dje@google.com>
1834
1835 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1836 10000.
1837
3d338901
DE
18382015-08-03 Doug Evans <dje@google.com>
1839
1840 * Makefile.in (workers/%.worker, build-perf): New rule.
1841 (GDB_PERFTEST_MODE): New variable.
1842 (check-perf): Use it.
1843 (clean): Clean up gdb.perf parallel build subdirs.
1844 * lib/build-piece.exp: New file.
1845 * lib/gdb.exp (make_gdb_parallel_path): New function
1846 (standard_output_file, standard_temp_file): Call it.
1847 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1848 of $GDB_PARALLEL.
1849 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1850
af061d3e
DE
18512015-08-03 Doug Evans <dje@google.com>
1852
8e1afc81 1853 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1854 (LOG_FILE_NAME): New global.
1855 (TextReporter.__init__): Initialize self.txt_sum.
1856 (TextReporter.report): Add support for multiple data-points.
1857 Move report to perftest.sum, put raw data in perftest.log.
1858 (TextReporter.start): Open sum and log files.
1859 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1860 * gdb.perf/lib/perftest/testresult.py
1861 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1862
2c8c5d37
PA
18632015-07-31 Pedro Alves <palves@redhat.com>
1864
1865 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1866 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1867 kill_wait_spawned_process instead of explicit "kill -9".
1868 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1869 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1870 kill_wait_spawned_process.
1871 * gdb.base/attach-twice.exp: Likewise.
1872 * gdb.base/attach.exp: Likewise.
1873 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1874 gdb_test_multiple.
1875 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1876 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1877 kill_wait_spawned_process.
1878 * gdb.base/valgrind-infcall.exp: Likewise.
1879 * gdb.multi/multi-attach.exp: Likewise.
1880 * gdb.python/py-prompt.exp: Likewise.
1881 * gdb.python/py-sync-interp.exp: Likewise.
1882 * gdb.server/ext-attach.exp: Likewise.
1883 * gdb.threads/attach-into-signal.exp (corefunc): Use
1884 spawn_wait_for_attach, spawn_id_get_pid and
1885 kill_wait_spawned_process.
1886 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1887 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1888 spawn_id_get_pid and kill_wait_spawned_process.
1889 * gdb.threads/attach-stopped.exp (corefunc): Use
1890 spawn_wait_for_attach, spawn_id_get_pid and
1891 kill_wait_spawned_process.
1892 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1893 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1894 kill_wait_spawned_process instead of explicit "kill -9".
1895 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1896 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1897 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1898 processes. Don't map cygwin/windows pids here. Now returns a
1899 spawn id list.
1900
032a0fca
SL
19012015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1902
1903 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1904 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1905 correct patch.
1906
61a934ca
SL
19072015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1908
1909 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1910
4bc4d428
SL
19112015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1912
1913 Reapply:
1914 2014-05-21 Mark Wielaard <mjw@redhat.com>
1915
1916 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1917
998d452a
PA
19182015-07-30 Pedro Alves <palves@redhat.com>
1919
1920 * linux-low.c (handle_extended_wait): Set the child's last
1921 reported status to TARGET_WAITKIND_STOPPED.
1922
69dde7dc
PA
19232015-07-30 Pedro Alves <palves@redhat.com>
1924
1925 PR threads/18600
1926 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1927 only shows inferior 1.
1928
4dd63d48
PA
19292015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1930 Pedro Alves <palves@redhat.com>
1931
1932 PR threads/18600
1933 * gdb.threads/fork-plus-threads.c: New file.
1934 * gdb.threads/fork-plus-threads.exp: New file.
1935
d618e4c5
PP
19362015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1937
1938 * gdb.base/batch-preserve-term-settings.exp
1939 (test_terminal_settings_preserved_after_cli_exit): Use
1940 send_quit_command.
1941
1eef6428
PA
19422015-07-29 Pedro Alves <palves@redhat.com>
1943 Don Breazeal <donb@codesourcery.com>
1944
1945 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1946 output from both inferior_spawn_id and gdb_spawn_id.
1947
7da5b897
SDJ
19482015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1949
1950 * gdb.threads/attach-into-signal.exp (corefunc): Use
1951 with_test_prefix on nested loops, uniquefying the test messages.
1952
dac804df
SDJ
19532015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1954
1955 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1956 commit.
1957
06265e53
PP
19582015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1959
1960 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1961 New proc.
1962 (test_terminal_settings_preserved_after_sigterm): New test.
1963
18206ca3
PP
19642015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1965
1966 * gdb.base/batch-preserve-term-settings.exp
1967 (test_terminal_settings_preserved_after_cli_exit): New test.
1968
90074d11
PP
19692015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1970
1971 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1972 manipulation of saved_gdbflags.
1973 (test_terminal_settings_preserved): Remove global declaration of
1974 the unused variable pagination_prompt. Remove manipulation of
1975 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1976 GDBFLAGS.
1977
eb1a7902
PA
19782015-07-29 Pedro Alves <palves@redhat.com>
1979
1980 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1981
8b75dd3b
PA
19822015-07-29 Pedro Alves <palves@redhat.com>
1983
1984 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1985 at the top.
1986
dedad4e3
PA
19872015-07-29 Pedro Alves <palves@redhat.com>
1988
1989 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1990 (main): Call gdb_unbuffer_output.
1991 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1992 (main): Call gdb_unbuffer_output.
1993 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1994 (main): Call gdb_unbuffer_output.
1995 * gdb.base/call-strs.exp: Adjust to step over the
1996 gdb_unbuffer_output call.
1997 * gdb.base/catch-gdb-caused-signals.c: Include
1998 "../lib/unbuffer_output.c".
1999 (main): Call gdb_unbuffer_output.
2000 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2001 (main): Call gdb_unbuffer_output.
2002 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2003 (main): Call gdb_unbuffer_output.
2004 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2005 (main): Call gdb_unbuffer_output.
2006 * gdb.base/shlib-call.exp: Adjust to step over the
2007 gdb_unbuffer_output call.
2008 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2009 (main): Call gdb_unbuffer_output.
2010 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2011 (main): Call gdb_unbuffer_output.
2012 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2013 (main): Rename to ...
2014 (test): ... this.
2015 (main): Reimplement.
2016 * gdb.base/varargs.exp: Run to test instead of to main.
2017 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2018 (main): Call gdb_unbuffer_output.
2019
58789a91
PA
20202015-07-29 Pedro Alves <palves@redhat.com>
2021
2022 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2023 factore out from mi_continue_dprintf. For call-style dprintfs,
2024 expect dprintf output out of $inferior_spawn_id.
2025 (mi_continue_dprintf): Use mi_expect_dprintf.
2026 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2027 (main): Call gdb_unbuffer_output.
2028
e8376742
PA
20292015-07-29 Pedro Alves <palves@redhat.com>
2030
2031 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2032 (default_mi_gdb_start): Set inferior_spawn_id instead of
2033 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2034 gdb_spawn_id.
2035 (mi_gdb_test): Always expect inferior output from both
2036 $inferior_spawn_id and $gdb_spawn_id.
2037
08280010
PA
20382015-07-29 Pedro Alves <palves@redhat.com>
2039
2040 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2041 send_inferior and $inferior_spawn_id.
2042
4d30e432
PA
20432015-07-29 Pedro Alves <palves@redhat.com>
2044
2045 * gdb.gdb/complaints.exp (test_initial_complaints)
2046 (test_serial_complaints, test_short_complaints): Use
2047 gdb_test_stdio.
2048 (test_empty_complaint): Handle $inferior_spawn_id !=
2049 $gdb_spawn_id.
2050
0d30a335
PA
20512015-07-29 Pedro Alves <palves@redhat.com>
2052
2053 * gdb.base/varargs.exp: Use gdb_test_stdio.
2054
39413b29
PA
20552015-07-29 Pedro Alves <palves@redhat.com>
2056
2057 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2058
7cb000a9
PA
20592015-07-29 Pedro Alves <palves@redhat.com>
2060
2061 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2062
d7b8ac82
PA
20632015-07-29 Pedro Alves <palves@redhat.com>
2064
2065 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2066 parameter into two new parameters, "inf_result" and "gdb_result".
2067 Expect inferior output and gdb output from $inferior_spawn_id and
2068 $gdb_spawn_id, respectively. Adjust all callers.
2069
789c3a0c
PA
20702015-07-29 Pedro Alves <palves@redhat.com>
2071
2072 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2073 of gdb_test_sequence.
2074
77e760c3
PA
20752015-07-29 Pedro Alves <palves@redhat.com>
2076
2077 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2078 (saw_spurious_output): Expect inferior output from
2079 $inferior_spawn_id. Use gdb_test_stdio.
2080
8396d2cd
PA
20812015-07-29 Pedro Alves <palves@redhat.com>
2082
2083 * gdb.base/dprintf.exp: Use standard_testfile. Change
2084 prepare_for_testing call.
2085 (srcfile): Don't set.
2086 (restart): New procedure.
2087 (test_dprintf): New procecure, use to continue over dprintfs.
2088 (test_call, test_agent): New procedures, tests moved here.
2089 Restart gdb and recreate dprintfs. Adjust expected output.
2090
2051d61f
PA
20912015-07-29 Pedro Alves <palves@redhat.com>
2092
2093 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2094
452397af
PA
20952015-07-29 Pedro Alves <palves@redhat.com>
2096
2097 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2098
8aed9555
PA
20992015-07-29 Pedro Alves <palves@redhat.com>
2100
2101 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2102 gdb_test_stdio.
2103
188a61b4
PA
21042015-07-29 Pedro Alves <palves@redhat.com>
2105
2106 * lib/gdb.exp (gdb_test_stdio): New procedure.
2107
12264a45
PA
21082015-07-29 Pedro Alves <palves@redhat.com>
2109
2110 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2111
23ffc893
PA
21122015-07-29 Pedro Alves <palves@redhat.com>
2113
2114 * gdb.base/call-signal-resume.exp: Remove check for
2115 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2116 * gdb.base/unwindonsignal.exp: Likewise.
2117 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2118 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2119
65566918
PA
21202015-07-29 Pedro Alves <palves@redhat.com>
2121
2122 * gdb.base/siginfo-addr.c (pass): New function.
2123 (handler): Call it iff si_addr is correct.
2124 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2125 Set a breakpoint at "pass" and continue to it.
2126
d60a9221
SDJ
21272015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2128
2129 * gdb.python/py-objfile.exp: Make some tests have unique names.
2130 * gdb.python/py-pp-registration.exp: Likewise.
2131
bde40b8f
PA
21322015-07-28 Pedro Alves <palves@redhat.com>
2133
2134 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2135
13e1dec8
SM
21362015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2137
2138 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2139
da33c9a7
SM
21402015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2141
2142 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2143
077836f7
PP
21442015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2145
2146 * gdb.base/gdb-sigterm-2.exp: New test.
2147
b8cc7b2e
DE
21482015-07-25 Doug Evans <xdje42@gmail.com>
2149
2150 Revert:
2151 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2152 (workers/%.worker, build-perf): New rule.
2153 (GDB_PERFTEST_MODE): New variable.
2154 (check-perf): Use it.
2155 (clean): Clean up gdb.perf parallel build subdirs.
2156 * lib/build-piece.exp: New file.
2157 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2158 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2159 name.
2160 (standard_temp_file): Ditto.
2161 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2162 of $GDB_PARALLEL.
2163
c8bd4544
DE
21642015-07-24 Doug Evans <dje@google.com>
2165
2166 * gdb.perf/lib/perftest/utils.py: New file.
2167 * gdb.perf/gm-hello.cc: New file.
2168 * gdb.perf/gm-pervasive-typedef.cc: New file.
2169 * gdb.perf/gm-pervasive-typedef.h: New file.
2170 * gdb.perf/gm-std.cc: New file.
2171 * gdb.perf/gm-std.h: New file.
2172 * gdb.perf/gm-use-cerr.cc: New file.
2173 * gdb.perf/gm-utils.h: New file.
2174 * gdb.perf/gmonster-null-lookup.py: New file.
2175 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2176 * gdb.perf/gmonster-print-cerr.py: New file.
2177 * gdb.perf/gmonster-ptype-string.py: New file.
2178 * gdb.perf/gmonster-runto-main.py: New file.
2179 * gdb.perf/gmonster-select-file.py: New file.
2180 * gdb.perf/gmonster1-null-lookup.exp: New file.
2181 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2182 * gdb.perf/gmonster1-print-cerr.exp: New file.
2183 * gdb.perf/gmonster1-ptype-string.exp: New file.
2184 * gdb.perf/gmonster1-runto-main.exp: New file.
2185 * gdb.perf/gmonster1-select-file.exp: New file.
2186 * gdb.perf/gmonster1.cc: New file.
2187 * gdb.perf/gmonster1.exp: New file.
2188 * gdb.perf/gmonster2-null-lookup.exp: New file.
2189 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2190 * gdb.perf/gmonster2-print-cerr.exp: New file.
2191 * gdb.perf/gmonster2-ptype-string.exp: New file.
2192 * gdb.perf/gmonster2-runto-main.exp: New file.
2193 * gdb.perf/gmonster2-select-file.exp: New file.
2194 * gdb.perf/gmonster2.cc: New file.
2195 * gdb.perf/gmonster2.exp: New file.
2196
6eab34f3
DE
21972015-07-24 Doug Evans <dje@google.com>
2198
2199 * gdb.perf/README: New file.
2200 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2201 * lib/gen-perf-test.exp: New file.
2202
63738bfd
DE
22032015-07-24 Doug Evans <dje@google.com>
2204
2205 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2206 (PerfTest::startup): New function.
2207 (PerfTest::run): Return result of calling body.
2208 (PerfTest::assemble): Rewrite.
2209 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2210 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2211 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2212 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2213 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2214
7b606f95
DE
22152015-07-24 Doug Evans <dje@google.com>
2216
2217 * lib/gdb.exp (clean_restart): Make executable optional.
2218
a97b16b8
DE
22192015-07-24 Doug Evans <dje@google.com>
2220
2221 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2222 compiler_info references.
2223 * gdb.cp/temargs.exp: Ditto.
2224 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2225 (get_compiler_info): Early exit if already computed. Set compiler_info
2226 to "unknown" if there was a problem.
2227 (test_compiler_info): Add function comment. Call get_compiler_info.
2228
35baa57f
DE
22292015-07-24 Doug Evans <dje@google.com>
2230
2231 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2232 (workers/%.worker, build-perf): New rule.
2233 (GDB_PERFTEST_MODE): New variable.
2234 (check-perf): Use it.
2235 (clean): Clean up gdb.perf parallel build subdirs.
2236 * lib/build-piece.exp: New file.
2237 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2238 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2239 name.
2240 (standard_temp_file): Ditto.
2241 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2242 of $GDB_PARALLEL.
2243
6ebea266
DE
22442015-07-24 Doug Evans <dje@google.com>
2245
2246 * lib/future.exp (gdb_default_target_compile): New option
2247 "early_flags".
2248 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2249 --as-needed.
2250
1e76a7e9
SDJ
22512015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2252
2253 * gdb.base/catch-syscall.exp: Call gdb_exit before
2254 gdb_skip_xml_test.
2255
5068630a
PA
22562015-07-24 Pedro Alves <palves@redhat.com>
2257
2258 * gdb.python/py-events.exp: Accept output between the stop event
2259 and the prompt.
2260 * gdb.python/py-evsignal.exp: Likewise.
2261 * gdb.python/py-evthreads.exp: Likewise.
2262
77598427
PA
22632015-07-24 Pedro Alves <palves@redhat.com>
2264
2265 PR gdb/18717
2266 * gdb.threads/non-ldr-exit.c: New file.
2267 * gdb.threads/non-ldr-exit.exp: New file.
2268
11e6c98f
YQ
22692015-07-24 Yao Qi <yao.qi@linaro.org>
2270
2271 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2272 restarting process.
2273
51aee833
YQ
22742015-07-24 Yao Qi <yao.qi@linaro.org>
2275
2276 * gdb.server/ext-restart.exp: New file.
2277
8cfe207c
YQ
22782015-07-24 Yao Qi <yao.qi@linaro.org>
2279
2280 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2281 argument options.
2282 * gdb.server/ext-wrapper.exp: New file.
2283
cc12ce38
DE
22842015-07-23 Doug Evans <dje@google.com>
2285
2286 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2287 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2288
d0d84780
PMR
22892015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2290
2291 * gdb.ada/var_arr_typedef.exp: New testcase.
2292 * gdb.ada/var_arr_typedef/pack.adb: New file.
2293 * gdb.ada/var_arr_typedef/pack.ads: New file.
2294 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2295
8b558f79
JB
22962015-07-20 Joel Brobecker <brobecker@adacore.com>
2297
2298 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2299
775a3298
JK
23002015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2301
2302 * gdb.arch/i386-biarch-core.exp: Replace istarget
2303 by "complete set gnutarget". Remove expectation for the "core-file"
2304 command.
2305
db1ff28b
JK
23062015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2307
2308 Revert the previous commit:
2309 Tests for validate symbol file using build-id.
2310
0a94970d
JK
23112015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2312
2313 Tests for validate symbol file using build-id.
2314 * gdb.base/solib-mismatch-lib.c: New file.
2315 * gdb.base/solib-mismatch-libmod.c: New file.
2316 * gdb.base/solib-mismatch.c: New file.
2317 * gdb.base/solib-mismatch.exp: New file.
2318
03346981
SL
23192015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2320
2321 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2322 nios2-*-linux*.
2323 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2324 * gdb.base/siginfo.exp: Likewise.
2325 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2326
42422cc7
PL
23272015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2328
2329 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2330 Move it to ...
2331 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2332 ... here.
2333 * gdb.trace/range-stepping.exp: Check that the target supports
2334 range stepping.
2335
cfa68bae
JK
23362015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2337
2338 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2339
8ffdba26
PA
23402015-07-14 Pedro Alves <palves@redhat.com>
2341
2342 * gdb.base/killed-outside.exp: New file.
2343 * gdb.base/killed-outside.c: New file.
2344
218a5a11
JK
23452015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2346
2347 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2348 (n at main): New.
2349 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2350
e03ed3c6
AA
23512015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2352
2353 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2354 infcall tests instead of setting up for KFAIL.
2355
485668e5
MM
23562015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2357
2358 * gdb.btrace/record_goto-step.exp: New.
2359
08464196
JK
23602015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2361
2362 PR compile/18484
2363 * gdb.compile/compile.c (struct struct_type): Add volatile to
2364 selffield's type.
2365 * gdb.compile/compile.exp
2366 (compile code struct_object.selffield = &struct_object): Skip further
2367 struct_object tests if this one xfails.
2368
bcf5c1d9
RC
23692015-07-08 Robert O'Callahan <robert@ocallahan.org>
2370
2371 PR exp/18617
2372 * gdb.trace/ax.exp: Add test.
2373
4931af25
YQ
23742015-07-07 Yao Qi <yao.qi@linaro.org>
2375
2376 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2377 instead of istarget "aarch64*-*-*".
2378 * gdb.arch/aarch64-fp.exp: Likewise.
2379 * gdb.base/float.exp: Likewise.
2380 * gdb.reverse/aarch64.exp: Likewise.
2381 * lib/gdb.exp (is_aarch64_target): New proc.
2382
9fcf688e
YQ
23832015-07-07 Yao Qi <yao.qi@linaro.org>
2384
2385 * lib/gdb.exp (is_aarch32_target): New proc.
2386 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2387 instead of "istarget "arm*-*-*"".
2388 * gdb.arch/arm-disp-step.exp: Likewise.
2389 * gdb.arch/thumb-bx-pc.exp: Likewise.
2390 * gdb.arch/thumb-prologue.exp: Likewise.
2391 * gdb.arch/thumb-singlestep.exp: Likewise.
2392 * gdb.base/disp-step-syscall.exp: Likewise.
2393 * gdb.base/float.exp: Likewise.
2394
fbd8d50d
YQ
23952015-07-07 Yao Qi <yao.qi@linaro.org>
2396
2397 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2398 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2399
71be1fdc
YQ
24002015-07-07 Yao Qi <yao.qi@linaro.org>
2401
2402 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2403 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2404 if it exists.
2405 * gdb.multi/multi-arch.exp: Likewise.
2406
3e221d36
SM
24072015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2408
2409 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2410 print.
2411
d441430b
YQ
24122015-07-07 Yao Qi <yao.qi@linaro.org>
2413
2414 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2415
06f810bd
MG
24162015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2417
2418 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2419 '[' and ']' characters.
2420
5e61e7c0
IB
24212015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2422
2423 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2424
28bf096c
PA
24252015-06-29 Pedro Alves <palves@redhat.com>
2426
2427 PR threads/18127
2428 * gdb.threads/hand-call-new-thread.c: New file.
2429 * gdb.threads/hand-call-new-thread.c: New file.
2430
ee93cd5e
KS
24312015-06-26 Keith Seitz <keiths@redhat.com>
2432 Doug Evans <dje@google.com>
2433
2434 PR 16253
2435 * gdb.cp/var-tag-2.cc: New file.
2436 * gdb.cp/var-tag-3.cc: New file.
2437 * gdb.cp/var-tag-4.cc: New file.
2438 * gdb.cp/var-tag.cc: New file.
2439 * gdb.cp/var-tag.exp: New file.
2440
fc637f04
PP
24412015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2442
2443 * gdb.base/history-duplicates.exp: New test.
2444
2e52ae68
PP
24452015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2446
2447 * gdb.base/completion.exp: Test the completion of the "focus"
2448 command.
2449
6e22494e
JK
24502015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2451
2452 * gdb.arch/amd64-prologue-skip.S: New file.
2453 * gdb.arch/amd64-prologue-skip.exp: New file.
2454
bf7b9cd9
SM
24552015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2456
2457 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2458 is_address_zero_readable check.
2459
201e8dfd
PB
24602015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2461
2462 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2463 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2464
5cd867b4
YQ
24652015-06-24 Yao Qi <yao.qi@linaro.org>
2466
2467 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2468 linux targets.
2469
4d7be007
YQ
24702015-06-24 Yao Qi <yao.qi@linaro.org>
2471
2472 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2473 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2474 * gdb.base/siginfo-thread.exp: Likewise.
2475
07fcd301
YQ
24762015-06-22 Yao Qi <yao.qi@linaro.org>
2477
2478 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2479
52042a00
YQ
24802015-06-22 Yao Qi <yao.qi@linaro.org>
2481
2482 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2483 aarch64*-*-*.
2484 (skip_hw_watchpoint_tests): Likewise.
2485
74bd41ce
PP
24862015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2487
2488 * gdb.base/gdbinit-history.exp: Test the interaction between
2489 setting GDBHISTSIZE and setting the history size via .gdbinit.
2490
bc460514
PP
24912015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2492
2493 PR gdb/16999
2494 * gdb.base/gdbhistsize-history.exp: New test.
2495
b58c513b
PP
24962015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2497
2498 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2499 with GDBHISTSIZE.
2500 * gdb.base/readline.exp: Likewise.
2501
92046791
YQ
25022015-06-17 Yao Qi <yao.qi@linaro.org>
2503
2504 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2505 line.
2506
2093d2d3
PP
25072015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2508
2509 * gdb.base/gdbinit-history.exp: Add test case to check that
2510 an unlimited history file does not get truncated on exit.
2511
e6c693af
AA
25122015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2513
2514 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2515 (VECTOR): New macro. Use it...
2516 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2517 ...for these typedefs.
2518 (int8, char1, int1, double1): New typedefs.
2519 (struct just_int2, struct two_int2): New structures.
2520 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2521 (add_structvecs, add_singlevecs): New functions.
2522 (main): Call add_some_intvecs twice.
2523 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2524 the compile and exit upon failure. Try compiling for the "native"
2525 architecture. Test inferior function calls with vector arguments
2526 and vector return value handling with "finish" and "return".
2527
c74f7d1c
JT
25282015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2529
2530 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2531 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2532 PE file.
2533 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2534
98aa42ee
AT
25352015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2536
2537 PR breakpoints/16465
2538 * gdb.mi/mi-dprintf-pending.c: New file.
2539 * gdb.mi/mi-dprintf-pending.exp: New test.
2540 * gdb.mi/mi-dprintf-pendshr.c: New file.
2541
7d73c23c 25422015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2543 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2544
2545 * gdb.arch/i386-mpx-map.c: New file.
2546 * gdb.arch/i386-mpx-map.exp: New File.
2547
25482015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2549
2550 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2551 * gdb.arch/i386-mpx.exp: Indentation fixed.
2552
25532015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2554
2555 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2556 function and improved indentation.
2557 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2558 gdb_test_multiple. Added additional tests to skip the test.
2559
25602015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2561
2562 * gdb.arch/i386-avx512.c: Change path in include file.
2563 * gdb.arch/i386-avx512.exp: Change include dir path
2564 compilation flag.
2565 * gdb.arch/i386-mpx.c: Change path in include file.
2566 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2567 flag.
2568
d5eba19a
JK
25692015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2570
2571 * gdb.compile/compile-print.exp (compile print *vararray@3)
2572 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2573
7f361056
JK
25742015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2575
2576 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2577 (do not keep jit in memory): ... this.
2578 (expect 5): Change it to ...
2579 (expect no 5): ... this.
2580
3b462ec2
SM
25812015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2582
2583 PR gdb/15564
2584 * gdb.mi/mi-detach.exp: New file.
2585
e0619de6
JK
25862015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2587
2588 PR symtab/18392
2589 * gdb.arch/amd64-tailcall-self.S: New file.
2590 * gdb.arch/amd64-tailcall-self.c: New file.
2591 * gdb.arch/amd64-tailcall-self.exp: New file.
2592
e970cb34
DB
25932015-05-28 Don Breazeal <donb@codesourcery.com>
2594
2595 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2596 tests for remote targets by checking is_target_gdbserver.
2597
b2e2f908
DE
25982015-05-27 Doug Evans <dje@google.com>
2599
2600 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2601 * gdb.dwarf2/opaque-type-lookup.c: New file.
2602 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2603
82c7be31
DE
26042015-05-26 Doug Evans <dje@google.com>
2605
2606 * gdb.cp/iostream.cc: New file.
2607 * gdb.cp/iostream.exp: New file.
2608
b4f54984
DE
26092015-05-26 Doug Evans <dje@google.com>
2610
2611 * gdb.dwarf2/dw2-op-call.exp: Update.
2612 * gdb.dwarf2/dw4-sig-types.exp: Update.
2613 * gdb.dwarf2/implptr.exp: Update.
2614 * gdb.mi/mi-cmd-param-changed.exp: Update.
2615
4ea6efe9
DE
26162015-05-26 Doug Evans <dje@google.com>
2617
2618 * gdb.python/py-lazy-string.c: New file.
2619 * gdb.python/py-lazy-string.exp: New file.
2620 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2621 (main): Update. Add estring3.
2622 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2623 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2624
f6bb7db3
YQ
26252015-05-26 Omair Javaid <omair.javaid@linaro.org>
2626 Yao Qi <yao.qi@linaro.org>
2627
2628 * gdb.reverse/aarch64.c: New.
2629 * gdb.reverse/aarch64.exp: New.
2630
a81bfbd0
OJ
26312015-05-26 Omair Javaid <omair.javaid@linaro.org>
2632
2633 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2634 (supports_reverse): Likewise.
2635
158bf1b4
PP
26362015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2637
2638 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2639 Use with_test_prefix.
2640
a0145030
AB
26412015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2642
2643 * gdb.base/completion.exp: Add test for completion of layout
2644 names.
2645
ebe3b578
AB
26462015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2647
2648 * lib/gdb.exp (skip_tui_tests): New proc.
2649 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2650
84204ed7
PA
26512015-05-19 Pedro Alves <palves@redhat.com>
2652
2653 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2654 Save the whole env array instead of just HOME. Unset HISTSIZE in
2655 the environment while testing. Restore whole environment
2656 afterwards.
2657
37442ce1
DE
26582015-05-16 Doug Evans <xdje42@gmail.com>
2659
2660 * gdb.guile/scm-ports.c: New file.
2661 * gdb.guile/scm-ports.exp: Add memory port tests.
2662
36de76f9
JK
26632015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2664
2665 * gdb.compile/compile-print.c: New file.
2666 * gdb.compile/compile-print.exp: New file.
2667
3a9558c4
JK
26682015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2669
2670 * gdb.compile/compile-ops.exp: Cast param to void.
2671 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2672 (compile code struct_object.selffield = &struct_object): Add xfail.
2673
aa715135
JG
26742015-05-15 Joel Brobecker <brobecker@adacore.com>
2675
2676 * gdb.ada/arr_enum_with_gap: New testcase.
2677
931e5bc3
JG
26782015-05-15 Joel Brobecker <brobecker@adacore.com>
2679
2680 * gdb.ada/byte_packed_arr: New testcase.
2681
9cd4d857
JB
26822015-05-15 Joel Brobecker <brobecker@adacore.com>
2683
2684 * gdb.ada/pckd_neg: New testcase.
2685
ebfd00d2
PP
26862015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2687
2688 PR gdb/17820
2689 * gdb.base/gdbinit-history.exp: New test.
2690 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2691 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2692
4c082a81
SC
26932015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2694
2695 * gdb.python/py-xmethods.cc: Enhance test case.
2696 * gdb.python/py-xmethods.exp: New tests.
2697 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2698 function.
2699 (B_indexoper): Likewise.
2700 (global_dm_list) : Add new xmethod worker functions.
2701
f7797074
SDJ
27022015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2703
2704 * gdb.base/coredump-filter.exp: Correctly unset
2705 "coredump_var_addr" array.
2706
a4674e4e
PA
27072015-05-08 Pedro Alves <palves@redhat.com>
2708
2709 * gdb.server/non-existing-program.exp: Unset spawn_id.
2710
df2eb078
SC
27112015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2712
2713 PR python/18291
2714 * gdb.python/py-xmethods.exp: Add tests.
2715
422349a3
YQ
27162015-05-08 Yao Qi <yao.qi@linaro.org>
2717
2718 PR gdb/18208
2719 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2720 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2721 function set_coredump_filter, and remove remote_exec call.
2722 Remove argument ipid. Callers update.
2723 (top level): Don't get inferior's PID.
2724
63fc80ce
AA
27252015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2726
2727 * gdb.base/watch_thread_num.exp: Skip test on targets without
2728 access watchpoints.
2729
80ad801e
PA
27302015-05-06 Pedro Alves <palves@redhat.com>
2731
2732 PR server/18081
2733 * gdb.server/non-existing-program.exp: New file.
2734
0fa7fe50
JB
27352015-05-05 Joel Brobecker <brobecker@adacore.com>
2736
2737 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2738
3ea89b92
PMR
27392015-05-05 Joel Brobecker <brobecker@adacore.com>
2740
2741 * gdb.ada/out_of_line_in_inlined: New testcase.
2742
87b8eff0
JB
27432015-05-05 Joel Brobecker <brobecker@adacore.com>
2744
2745 * gdb.ada/var_rec_arr: New testcase.
2746
5fccc635
YQ
27472015-04-30 Yao Qi <yao.qi@linaro.org>
2748
2749 * gdb.base/break-idempotent.exp: If
2750 skip_hw_watchpoint_multi_tests returns true, skip the tests
2751 on "rwatch" and "awatch".
2752
42d38f42
YQ
27532015-04-30 Yao Qi <yao.qi@linaro.org>
2754
2755 * gdb.base/relativedebug.exp: Invoke gdb command
2756 "info sharedlibrary", and if libc.so doesn't have debug info,
2757 skip the test.
2758
2ce1cdbf
DE
27592015-04-29 Doug Evans <dje@google.com>
2760
2761 * gdb.python/py-xmethods.exp: Add ptype tests.
2762 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2763 get_result_type method.
2764
f24a38c5
LM
27652015-04-29 Luis Machado <lgustavo@codesourcery.com>
2766
2767 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2768 the target does not support hardware watchpoints.
2769
ecbf2b3c
LM
27702015-04-29 Luis Machado <lgustavo@codesourcery.com>
2771
2772 * gdb.base/break-always.exp: Abort testing if writing to memory
2773 causes an error.
2774
34f5f757
DE
27752015-04-28 Doug Evans <dje@google.com>
2776
2777 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2778 * gdb.python/py-pp-registration.exp: ... here. New file.
2779 * gdb.python/py-pp-registration.c: New file.
2780 * gdb.python/py-pp-registration.py: New file.
2781
69b4374a
DE
27822015-04-28 Doug Evans <dje@google.com>
2783
2784 * gdb.python/py-bad-printers.c: New file.
2785 * gdb.python/py-bad-printers.py: New file.
2786 * gdb.python/py-bad-printers.exp: New file.
2787
59fb7612
SS
27882015-04-28 Sasha Smundak <asmundak@google.com>
2789
2790 * gdb.python/py-type.exp: New test.
2791
2631b16a
AW
27922015-04-28 Andy Wingo <wingo@igalia.com>
2793
2794 * gdb.python/py-parameter.exp:
2795 * gdb.guile/scm-parameter.exp: Escape the path that we are
2796 matching against, as it might contain characters that are special
2797 to regular expressions.
2798
460efde1
JB
27992015-04-27 Joel Brobecker <brobecker@adacore.com>
2800
2801 * gdb.ada/rec_comp: New testcase.
2802
2d369d8e
SDJ
28032015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2804
2805 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2806 before using it.
2807
cf75d6c3
AB
28082015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2809
2810 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2811 new tests for verilog output.
2812
8dbe7ca5
YQ
28132015-04-24 Yao Qi <yao.qi@linaro.org>
2814
2815 * boards/remote-gdbserver-on-localhost.exp: New file.
2816
4ef9fb2f
PA
28172015-04-23 Pedro Alves <palves@redhat.com>
2818
2819 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2820 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2821 "end of file", remove $inferior_spawn_id from the indirect list.
2822
0a803169
PA
28232015-04-23 Pedro Alves <palves@redhat.com>
2824
2825 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2826
749ef8f8
PA
28272015-04-23 Pedro Alves <palves@redhat.com>
2828
2829 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2830 on $any_spawn_id instead of only on $gdb_spawn_id.
2831
8aae4344
PM
28322015-04-21 Pierre Muller <muller@sourceware.org>
2833
2834 PR pascal/17815
2835 * lib/pascal.exp (gpc_compile): Add new option "class".
2836 (fpc_compile): Likewise.
2837 * gdb.pascal/case-insensitive-symbols.pas: New file.
2838 * gdb.pascal/case-insensitive-symbols.exp: New file.
2839
1586c8fb
GB
28402015-04-20 Gary Benson <gbenson@redhat.com>
2841
2842 * gdb.base/attach.exp: Fix three extended remote failures.
2843
1b6e6f5c
GB
28442015-04-17 Gary Benson <gbenson@redhat.com>
2845
2846 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2847 the main executable over the remote protocol.
2848
e797481d
PA
28492015-04-16 Pedro Alves <palves@redhat.com>
2850
2851 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2852 a new gdbserver if gdbserver_reconnect_p is set.
2853
1ca99c42
PA
28542015-04-16 Pedro Alves <palves@redhat.com>
2855
2856 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2857 is set, don't exit gdbserver.
2858
af9fd6f8
AA
28592015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2860
2861 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2862 appropriate .insn, such that an older assembler can be used.
2863 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2864 the z/Architecture instruction set on 31-bit targets as well.
2865
04ff1e61
AA
28662015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2867
2868 * gdb.go/handcall.exp: Remove all logic related to the first
2869 breakpoint and rely on go_runto_main instead.
2870 * gdb.go/strings.exp: Likewise.
2871 * gdb.go/unsafe.exp: Likewise.
2872 * gdb.go/hello.exp: Likewise. Also rename the remaining
2873 breakpoint marker to "breakpoint 1".
2874 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2875 * gdb.go/strings.go: Likewise.
2876 * gdb.go/unsafe.go: Likewise.
2877 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2878 "set breakpoint 2 here" and rename the remaining breakpoint marker
2879 to "breakpoint 1".
2880
40d2f8d6
SM
28812015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2882
2883 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2884 if itertools.imap is not present.
2885 * gdb.python/py-objfile.exp: Add parentheses.
2886 * gdb.python/py-type.exp: Same.
2887 * gdb.python/py-unwind-maint.py: Same.
2888
8cbc97c6
YQ
28892015-04-15 Yao Qi <yao.qi@linaro.org>
2890
2891 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2892 of ":$ptr_size" and set its form explicitly.
2893
45fd756c
YQ
28942015-04-15 Pedro Alves <palves@redhat.com>
2895 Yao Qi <yao.qi@linaro.org>
2896
2897 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2898 timeout by factor of 4.
2899 (test_regular_watch): Likewise.
2900 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2901 * gdb.reverse/sigall-reverse.exp: Likewise.
2902 * gdb.reverse/until-precsave.exp: Likewise.
2903 * lib/gdb.exp (with_timeout_factor): New proc.
2904 (gdb_expect): Move some code to ...
2905 (get_largest_timeout): ... here. New procedure.
2906
9e811bc3
LM
29072015-04-14 Luis Machado <lgustavo@codesourcery.com>
2908
2909 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2910
0ff6fcb2
LM
29112015-04-13 Luis Machado <lgustavo@codesourcery.com>
2912
2913 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2914 to write to the .text section.
2915
7578d5f7
LM
29162015-04-13 Luis Machado <lgustavo@codesourcery.com>
2917
2918 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2919 Handle the case of targets that do not provide PID information.
2920
2efe15c4
YQ
29212015-04-13 Yao Qi <yao.qi@linaro.org>
2922
2923 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2924 and use expect instead of gdb_expect.
2925
8cd8f2f8
SDJ
29262015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2927
2928 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2929 "coredump_var_addr" to avoid naming conflict with other testcases.
2930
9ee41772
PA
29312015-04-10 Pedro Alves <palves@redhat.com>
2932
2933 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2934 gdb_test_sequence and gdb_assert.
2935
07473109
PA
29362015-04-10 Pedro Alves <palves@redhat.com>
2937
2938 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2939 test messages that don't include the breakpoint address.
2940
de3db44c
YQ
29412015-04-10 Yao Qi <yao.qi@linaro.org>
2942
2943 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2944 false for some offset and width combinations which aren't
2945 supported by linux kernel.
2946
c79d856c
PA
29472015-04-10 Pedro Alves <palves@redhat.com>
2948
2949 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2950 procedure, factored out from ...
2951 (top level): ... here. Add "set displaced-stepping" testing axis.
2952 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2953 parameter "displaced". Use it.
2954 (top level): Use foreach and add "set displaced-stepping" testing
2955 axis.
2956
ebc90b50
PA
29572015-04-10 Pedro Alves <palves@redhat.com>
2958
2959 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2960 Remove comment.
2961 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2962 both the address of the instruction that triggers the watchpoint
2963 and the address of the instruction immediately after, and use
2964 those addresses for the test. Fix comment.
2965
8f572e5c
PA
29662015-04-10 Pedro Alves <palves@redhat.com>
2967
2968 * gdb.base/sigstep.exp (breakpoint_to_handler)
2969 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2970 Test "backtrace" in handler.
2971 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2972 (top level): Add new "displaced" test axis to
2973 breakpoint_to_handler, breakpoint_to_handler_entry and
2974 breakpoint_over_handler.
2975
8d707a12
PA
29762015-04-10 Pedro Alves <palves@redhat.com>
2977
2978 PR gdb/18216
2979 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2980
ef713951
YQ
29812015-04-10 Yao Qi <yao.qi@linaro.org>
2982
2983 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2984 (test_add_rn_pc): New function.
2985 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2986 (top level): Invoke test_add_rn_pc.
2987
906d60cf
PA
29882015-04-10 Pedro Alves <palves@redhat.com>
2989
2990 PR gdb/13858
2991 * gdb.base/step-over-no-symbols.exp: New file.
2992
f2983cc3
AW
29932015-04-09 Andy Wingo <wingo@igalia.com>
2994
2995 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2996 after the Python tests.
2997
6d62641c
SDJ
29982015-04-08 Keith Seitz <keiths@redhat.com>
2999
3000 PR python/16699
3001 * gdb.python/py-completion.exp: New tests for completion.
3002 * gdb.python/py-completion.py (CompleteLimit1): New class.
3003 (CompleteLimit2): Likewise.
3004 (CompleteLimit3): Likewise.
3005 (CompleteLimit4): Likewise.
3006 (CompleteLimit5): Likewise.
3007 (CompleteLimit6): Likewise.
3008 (CompleteLimit7): Likewise.
3009
f3770638
PA
30102015-04-08 Pedro Alves <palves@redhat.com>
3011
3012 PR gdb/18214
3013 PR gdb/18216
3014 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3015 function.
3016 (main): Install it as SIGUSR1 handler.
3017 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3018 parameter. Always use "setup" as prefix. Toggle "set
3019 displaced-stepping" off/on depending on global. Don't switch to
3020 thread 1 here.
3021 (top level): Add displaced stepping "off/on" test axis. Update
3022 "setup" calls. Wrap each subtest with with_test_prefix. Test
3023 continuing with a queued signal in each thread.
3024
4496bed7
PA
30252015-04-08 Pedro Alves <palves@redhat.com>
3026
3027 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3028 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3029 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3030 Return early if running to main fails.
3031 * gdb.trace/while-stepping.exp: Likewise.
3032
b97fde92
PA
30332015-04-07 Pedro Alves <palves@redhat.com>
3034
3035 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3036 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3037 interact with inferior program.
3038
f71c18e7
PA
30392015-04-07 Pedro Alves <palves@redhat.com>
3040
3041 * lib/gdb.exp (inferior_spawn_id): New global.
3042 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3043 spawn id after processing the user code.
3044 (default_gdb_start): Set inferior_spawn_id.
3045 (send_inferior): New procedure.
3046 * lib/gdbserver-support.exp (gdbserver_start): Set
3047 inferior_spawn_id.
3048 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3049
6423214f
PA
30502015-04-07 Pedro Alves <palves@redhat.com>
3051
3052 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3053 * lib/gdbserver-support.exp (gdbserver_start): Make
3054 $server_spawn_id global.
3055 (gdbserver_start): Don't wait for gdbserver's spawn id with
3056 expect_background.
3057 (close_gdbserver): New procedure.
3058 (gdb_exit): Rename the default version and reimplement.
3059
71c0ee8c
PA
30602015-04-07 Pedro Alves <palves@redhat.com>
3061
72f4393d 3062 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
3063 append the substituted item, not the original item.
3064
203bc29b
PA
30652015-04-07 Pedro Alves <palves@redhat.com>
3066
3067 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3068 gdb_expect.
3069
508a3ddf
PA
30702015-04-07 Pedro Alves <palves@redhat.com>
3071
3072 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3073 output appearing once only.
3074
9f6dbe2b
PA
30752015-04-07 Pedro Alves <palves@redhat.com>
3076
3077 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3078 that doesn't expect anything. Return early if running to main
3079 fails.
3080
337532fa
YQ
30812015-04-07 Yao Qi <yao.qi@linaro.org>
3082
3083 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3084 (child_function): Call alarm.
3085 (main): Move call to alarm into the loop.
3086 * gdb.threads/non-stop-fair-events.exp: Build program with
3087 -DTIMEOUT=$timeout.
3088
01b622d4
DE
30892015-04-06 Doug Evans <xdje42@gmail.com>
3090
3091 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3092 Fix dest parameter to board_info.
3093 (fpc_compile): Ditto.
3094 (gdb_compile_pascal): Rename dest arg to destfile.
3095
961f4160
PMR
30962015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3097
3098 * gdb.ada/funcall_ref.exp: New file.
3099 * gdb.ada/funcall_ref/foo.adb: New file.
3100
cafda597
YQ
31012015-04-02 Yao Qi <yao.qi@linaro.org>
3102
3103 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3104 is remote.
3105
fed040c6
GB
31062015-04-02 Gary Benson <gbenson@redhat.com>
3107
3108 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3109
d11916aa
SS
31102015-04-01 Sasha Smundak <asmundak@google.com>
3111
3112 * gdb.python/py-unwind-maint.c: New file.
3113 * gdb.python/py-unwind-maint.exp: New test.
3114 * gdb.python/py-unwind-maint.py: New file.
3115 * gdb.python/py-unwind.c: New file.
3116 * gdb.python/py-unwind.exp: New test.
3117 * gdb.python/py-unwind.py: New test.
3118
a1471180
PA
31192015-04-01 Pedro Alves <palves@redhat.com>
3120
3121 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3122 to fail instead of non-existent $test.
3123
0bbeccb1
PA
31242015-04-01 Pedro Alves <palves@redhat.com>
3125
3126 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3127 GDBFLAGS if not empty.
3128
3c724c8c
PMR
31292015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3130
3131 * gdb.ada/complete.exp: Remove "multi_line".
3132 * gdb.ada/info_exc.exp: Remove "multi_line".
3133 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3134 * gdb.ada/ptype_field.exp: Remove "multi_line".
3135 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3136 * gdb.ada/tagged.exp: Remove "multi_line".
3137 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3138 [multi_line ...]
3139 * gdb.btrace/delta.exp: Likewise.
3140 * gdb.btrace/exception.exp: Likewise.
3141 * gdb.btrace/function_call_history.exp: Likewise.
3142 * gdb.btrace/instruction_history.exp: Likewise.
3143 * gdb.btrace/nohist.exp: Likewise.
3144 * gdb.btrace/record_goto.exp: Likewise.
3145 * gdb.btrace/segv.exp: Likewise.
3146 * gdb.btrace/stepi.exp: Likewise.
3147 * gdb.btrace/tailcall.exp: Likewise.
3148 * gdb.btrace/unknown_functions.exp: Likewise.
3149 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3150 * lib/gdb.exp: Add the "multi_line" helper.
3151
4eec2deb
PA
31522015-04-01 Pedro Alves <palves@redhat.com>
3153
3154 * gdb.threads/tid-reuse.c: New file.
3155 * gdb.threads/tid-reuse.exp: New file.
3156
df8411da
SDJ
31572015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3158
3159 PR corefiles/16092
3160 * gdb.base/coredump-filter.c: New file.
3161 * gdb.base/coredump-filter.exp: Likewise.
3162
6ef37366
PM
31632015-03-27 Petr Machata <pmachata@redhat.com>
3164
3165 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3166 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3167 (Dwarf::assemble): Initialize them.
3168 (Dwarf::lines): New function.
3169
7ec911b0
JT
31702015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3171
3172 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3173 SYMBOL_PREFIX for x86_64-*-cygwin.
3174
ff908ebf
AW
31752015-03-26 Andy Wingo <wingo@igalia.com>
3176
3177 PR symtab/18148
3178 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3179 const_value but not a location.
3180 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3181 location defined in non-main CUs are visible.
3182
6d5f0679
YQ
31832015-03-26 Yao Qi <yao.qi@linaro.org>
3184
3185 PR testsuite/18139
3186 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3187 Add a line number entry for the same line.
3188 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3189 Add a line number entry for the same line.
3190
2898689b
YQ
31912015-03-26 Yao Qi <yao.qi@linaro.org>
3192
3193 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3194 .int 0.
3195 (func): Likewise. Add .Lfunc_1 label.
3196 Use .Lfunc_1 label.
3197 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3198 .int 0.
3199 (func): Likewise.
3200 Use .Lfunc_1 label.
3201
85180498
YQ
32022015-03-26 Yao Qi <yao.qi@linaro.org>
3203
3204 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3205 Call gdb_compile instead to compile each .s files without debug
3206 information.
3207
8aa08a8d
YQ
32082015-03-26 Yao Qi <yao.qi@linaro.org>
3209
3210 * gdb.base/savedregs.exp (process_saved_regs): Make
3211 "Saved registers:" optional in the pattern.
3212
66849923
MM
32132015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3214
3215 * gdb.btrace/next.exp: Merged into step.exp.
3216 * gdb.btrace/finish.exp: Merged into step.exp.
3217 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3218 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3219 "record goto" and checking the exact replay position.
3220 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3221 check for "Recording format" in "info record" output.
3222 * gdb.btrace/record_goto.exp: Choose test file based on target.
3223 * gdb.btrace/x86-record_goto.S: Renamed into ...
3224 * gdb.btrace/x86_64-record_goto.S: ... this.
3225 * gdb.btrace/i686-record_goto.S: New.
3226 * gdb.btrace/x86-tailcall.S: Renamed into ...
3227 * gdb.btrace/x86_64-tailcall.S: ... this.
3228 * gdb.btrace/i686-tailcall.S: New.
3229 * gdb.btrace/x86-tailcall.c: Renamed into ...
3230 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3231 separate statements. Update test.
3232 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3233 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3234 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3235 * gdb.btrace/tailcall.exp: Choose test file based on target.
3236 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3237
11cc1b74
MM
32382015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3239
3240 * gdb.btrace/exception.exp: Increase BTS buffer size.
3241
a25d8bf9
PA
32422015-03-24 Pedro Alves <palves@redhat.com>
3243
3244 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3245
856e7dd6
PA
32462015-03-24 Pedro Alves <palves@redhat.com>
3247
3248 * gdb.threads/schedlock.exp (test_step): No longer expect that
3249 "set scheduler-locking step" with "next" over a function call runs
3250 threads unlocked.
3251
ad235a41
AT
32522015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3253
3254 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3255
15630549
AT
32562015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3257
3258 PR breakpoints/16466
3259 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3260 * gdb.mi/mi-pending.c (thread_func): New function.
3261 (int main): Add threading support required.
3262 * gdb.mi/mi-pending.exp: Add tests for this issue.
3263 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3264 (pendfunc2): Remove stdio dependency.
3265 * gdb.mi/mi-pendshr2.c: New file.
3266
693dca06
KS
32672015-03-23 Keith Seitz <keiths@redhat.com>
3268
3269 * gdb.linespec/keywords.c: New file.
3270 * gdb.linespec/keywords.exp: New file.
3271
7e993ebf
KS
32722015-03-23 Keith Seitz <keiths@redhat.com>
3273
3274 PR gdb/18021
3275 * gdb.dwarf2/staticvirtual.exp: New test.
3276
bc23328c
JK
32772015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3278
3279 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3280 * README: Remove HP-UX and gdb.hp.
3281 (configuration):
3282 * configure: Regenerate.
3283 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3284 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3285 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3286 gdb.hp/gdb.defects/Makefile.
3287 * gdb.hp/Makefile.in: File deleted.
3288 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3289 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3290 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3291 * gdb.hp/gdb.aCC/run.c: File deleted.
3292 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3293 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3294 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3295 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3296 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3297 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3298 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3299 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3300 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3301 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3302 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3303 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3304 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3305 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3306 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3307 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3308 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3309 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3310 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3311 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3312 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3313 * gdb.hp/gdb.compat/average.c: File deleted.
3314 * gdb.hp/gdb.compat/sum.c: File deleted.
3315 * gdb.hp/gdb.compat/xdb.c: File deleted.
3316 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3317 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3318 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3319 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3320 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3321 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3322 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3323 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3324 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3325 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3326 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3327 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3328 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3329 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3330 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3331 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3332 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3333 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3334 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3335 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3336 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3337 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3338 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3339 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3340 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3341 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3342 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3343 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3344 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3345 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3346 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3347 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3348 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3349 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3350 * gdb.hp/tools/odump: File deleted.
3351
8bf3b159
PA
33522015-03-19 Pedro Alves <palves@redhat.com>
3353
3354 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3355 (saw_thread_3): New globals.
3356 (top level): Increment them when an event for the corresponding
3357 thread is seen.
3358 (no thread starvation): New test.
3359
eb54c8bf
PA
33602015-03-19 Pedro Alves <palves@redhat.com>
3361
3362 * gdb.threads/continue-pending-status.c: New file.
3363 * gdb.threads/continue-pending-status.exp: New file.
3364
32d2e5d6
PA
33652015-03-18 Pedro Alves <palves@redhat.com>
3366
3367 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3368 Use gdb_is_target_remote instead of is_remote. Use
3369 gdb_test_multiple instead of gdb_expect. Exit early if
3370 gdb_test_multiple hits its internal matches. Tighten stepi tests
3371 expected output. Fail on exit with any signal, instead of just
3372 SIGILL.
3373
f68f11b7
YQ
33742015-03-18 Yao Qi <yao.qi@linaro.org>
3375
3376 PR tdep/18107
3377 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3378 variable.
3379 * gdb.base/catch-syscall.exp: Don't skip it on
3380 aarch64*-*-linux* target. Remove elements in all_syscalls.
3381 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3382 target.
3383 (setup_all_syscalls): New proc.
3384
ca5fd19b
YQ
33852015-03-16 Yao Qi <yao.qi@linaro.org>
3386
3387 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3388 (top level): Skip tests if valid_addr_p returns false for
3389 $cmd1 or $cmd2.
3390
85642ba0
AW
33912015-03-11 Andy Wingo <wingo@igalia.com>
3392
3393 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3394
e03f9645
YQ
33952015-03-11 Yao Qi <yao.qi@linaro.org>
3396
3397 * gdb.base/catch-syscall.exp: Fix typo in comments.
3398
5d0962b2
YQ
33992015-03-11 Yao Qi <yao.qi@linaro.org>
3400
3401 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3402
b2df3cef
PA
34032015-03-09 Pedro Alves <palves@redhat.com>
3404
3405 * dg-extract-results.py: Delete.
3406
ef878e53
PA
34072015-03-09 Pedro Alves <palves@redhat.com>
3408
3409 Merge dg-extract-results.sh from GCC upstream (r218843).
3410
3411 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3412 * dg-extract-results.sh: Use --text with grep to avoid issues with
3413 binary files. Fall back to cat -v, if that doesn't work.
3414
9494d219
PA
34152015-03-05 Pedro Alves <palves@redhat.com>
3416
3417 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3418
a8d9763a
SM
34192015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3420
3421 * lib/mi-support.exp (mi_expect_interrupt): Accept
3422 alternative event for when in all-stop mode.
3423
be9957b8
PA
34242015-03-04 Pedro Alves <palves@redhat.com>
3425
3426 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3427
d57be0f4 34282015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3429
3430 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3431
c214c7cf
AA
34322015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3433
3434 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3435 regexps for GDB's current line display, accept a hex address
3436 preceding the line number.
3437
6d74a497
AA
34382015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3439
3440 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3441 the 'arch1' variable for "s390*-linux*" targets.
3442
511aee7c
PA
34432015-03-04 Pedro Alves <palves@redhat.com>
3444
3445 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3446 (main): Pass missing retval argument to pthread_join call.
3447
95e50b27
PA
34482015-03-02 Pedro Alves <palves@redhat.com>
3449
3450 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3451 (top level): Call do_test with non-stop as well.
3452
28054d69
PA
34532015-03-02 Pedro Alves <palves@redhat.com>
3454
3455 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3456 -1.
3457
4fa5d7b4
AA
34582015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3459
3460 * gdb.arch/s390-vregs.exp: New test.
3461 * gdb.arch/s390-vregs.S: New file.
3462
97c18565
PA
34632015-02-27 Pedro Alves <palves@redhat.com>
3464
3465 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3466 call to catch_command_errors.
3467 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3468 catch_command_errors.
3469
a37bfa30
PA
34702015-02-27 Pedro Alves <palves@redhat.com>
3471
3472 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3473 "true" for boolean result.
3474 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3475 prototype of main.
3476
6f98576f
PA
34772015-02-27 Pedro Alves <palves@redhat.com>
3478
3479 * lib/unbuffer_output.c: New file.
3480 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3481 (main): Call gdb_unbuffer_output.
3482
eba5ab56
YQ
34832015-02-27 Yao Qi <yao.qi@linaro.org>
3484
3485 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3486 target.
3487
0def5aaa
DE
34882015-02-26 Doug Evans <dje@google.com>
3489
3490 * gdb.cp/class2.cc (Dbase, D): New classes.
3491 (main): New local delta.
3492 * gdb.cp/class2.exp: Test printing delta.
3493 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3494 (dynbar): New global.
3495 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3496
081a1c2c
JK
34972015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3498
3499 * gdb.compile/compile-ifunc.c: New file.
3500 * gdb.compile/compile-ifunc.exp: New file.
3501
2f41223f
AT
35022015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3503
3504 * gdb.base/structs.exp: Check for correct struct on finish.
3505
03eddd80
YQ
35062015-02-26 Yao Qi <yao.qi@linaro.org>
3507
3508 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3509 is zero.
3510
80c57053
JK
35112015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3512
3513 * gdb.arch/cordic.ko.bz2: New file.
3514 * gdb.arch/cordic.ko.debug.bz2: New file.
3515 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3516
21613c12
YQ
35172015-02-25 Yao Qi <yao.qi@linaro.org>
3518
3519 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3520 aarch64*-*-* target.
3521
d8b901ed
PA
35222015-02-23 Pedro Alves <palves@redhat.com>
3523
3524 * lib/gdb.exp (delete_breakpoints): Rewrite using
3525 gdb_test_multiple.
3526
e5b85ead
PA
35272015-02-23 Pedro Alves <palves@redhat.com>
3528
3529 * gdb.base/info-os.c: Include stdlib.h.
3530
85c3a371
DE
35312015-02-22 Doug Evans <xdje42@gmail.com>
3532
3533 PR symtab/17855
3534 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3535 is read after symbols have been re-read.
3536 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3537 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3538
96553a0c
DE
35392015-02-21 Doug Evans <dje@google.com>
3540
3541 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3542
97a0c697
JK
35432015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3544
3545 PR corefiles/17808
3546 * gdb.arch/i386-biarch-core.core.bz2: New file.
3547 * gdb.arch/i386-biarch-core.exp: New file.
3548
a47cd6e9
PA
35492015-02-21 Pedro Alves <palves@redhat.com>
3550
3551 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3552 runto_main fails.
3553
c5facdc4
PA
35542015-02-20 Pedro Alves <palves@redhat.com>
3555
3556 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3557 info probes.
3558
2db9a427
PA
35592015-02-20 Pedro Alves <palves@redhat.com>
3560
3561 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3562
60fb7e9e
PA
35632015-02-20 Pedro Alves <palves@redhat.com>
3564
3565 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3566 clean_restart before gdb_target_supports_trace.
3567
5c5019c2
PA
35682015-02-20 Pedro Alves <palves@redhat.com>
3569
3570 PR threads/18006
3571 * gdb.threads/clone-thread_db.c: New file.
3572 * gdb.threads/clone-thread_db.exp: New file.
3573
c9587f88
AT
35742015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3575
3576 PR breakpoints/16812
3577 * gdb.base/catch-gdb-caused-signals.c: New file.
3578 * gdb.base/catch-gdb-caused-signals.exp: New file.
3579
f6a88844
JM
35802015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3581
3582 * configure: Regenerated.
3583 * configure.ac: Use GDB_AC_TRANSFORM.
3584 * aclocal.m4: sinclude ../transform.m4.
3585
497c491b
JM
35862015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3587
3588 * lib/dtrace.exp: New file.
3589 * gdb.base/dtrace-probe.exp: Likewise.
3590 * gdb.base/dtrace-probe.d: Likewise.
3591 * gdb.base/dtrace-probe.c: Likewise.
3592 * lib/pdtrace.in: Likewise.
3593 * configure.ac: Output variables with the transformed names of
3594 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3595 * configure: Regenerated.
3596
03e98035
JM
35972015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3598
3599 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3600 expected message when trying to access $_probe_* convenience
3601 variables while not on a probe.
3602
63cc30e9
JK
36032015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3604
3605 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3606
0703599a
PA
36072015-02-11 Pedro Alves <pedro@codesourcery.com>
3608
3609 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3610 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3611
7e60a48e
DE
36122015-02-10 Doug Evans <xdje42@gmail.com>
3613
3614 * lib/gdb.exp (gdb_load): Always return a result.
3615
01b088bc
PA
36162015-02-10 Pedro Alves <palves@redhat.com>
3617
3618 * gdb.threads/signal-sigtrap.c: New file.
3619 * gdb.threads/signal-sigtrap.exp: New file.
3620
b05ec7a5
AT
36212015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3622
3623 * gdb.trace/no-attach-trace.c: New file.
3624 * gdb.trace/no-attach-trace.exp: New file.
3625
a2c2acaf
MW
36262015-02-09 Mark Wielaard <mjw@redhat.com>
3627
3628 * gdb.dwarf2/atomic.c: New file.
3629 * gdb.dwarf2/atomic-type.exp: Likewise.
3630
31fd9caa
MM
36312015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3632
3633 * gdb.btrace/buffer-size.exp: Update "info record" output.
3634 * gdb.btrace/delta.exp: Update "info record" output.
3635 * gdb.btrace/enable.exp: Update "info record" output.
3636 * gdb.btrace/finish.exp: Update "info record" output.
3637 * gdb.btrace/instruction_history.exp: Update "info record" output.
3638 * gdb.btrace/next.exp: Update "info record" output.
3639 * gdb.btrace/nexti.exp: Update "info record" output.
3640 * gdb.btrace/step.exp: Update "info record" output.
3641 * gdb.btrace/stepi.exp: Update "info record" output.
3642 * gdb.btrace/nohist.exp: Update "info record" output.
3643
d33501a5
MM
36442015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3645
3646 * gdb.btrace/buffer-size: New.
3647
f4abbc16
MM
36482015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3649
3650 * gdb.btrace/delta.exp: Update "info record" output.
3651 * gdb.btrace/enable.exp: Update "info record" output.
3652 * gdb.btrace/finish.exp: Update "info record" output.
3653 * gdb.btrace/instruction_history.exp: Update "info record" output.
3654 * gdb.btrace/next.exp: Update "info record" output.
3655 * gdb.btrace/nexti.exp: Update "info record" output.
3656 * gdb.btrace/step.exp: Update "info record" output.
3657 * gdb.btrace/stepi.exp: Update "info record" output.
3658 * gdb.btrace/nohist.exp: Update "info record" output.
3659
b9d61307
SM
36602015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3661
3662 PR gdb/15678
3663 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3664
e584fdbc
PA
36652015-02-06 Pedro Alves <palves@redhat.com>
3666
3667 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3668 macro.
3669 (seconds_left, again): New globals.
3670 (main): Wait seconds_left in a 1-second sleep loop instead of
3671 sleeping 180 seconds. If 'again' is set, reset the seconds
3672 counter.
3673 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3674 'again' in the inferior before detaching. Print the seconds left.
3675 (options): New global.
3676 (top level): Build program with -DTIMEOUT=$timeout.
3677
77f41761
PA
36782015-02-06 Pedro Alves <palves@redhat.com>
3679
3680 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3681 determine how many seconds to pass to 'alarm'.
3682 * gdb.base/gdb-sigterm.exp (top level): Build program with
3683 -DTIMEOUT=$timeout.
3684 (do_test): Return success/failure indication. Add more verbose
3685 logging. Don't fail if 200 single steps are seen. Instead, fail
3686 when the test times out.
3687 (passes): New global.
3688 (top level): Break the testing loop if testing fails on any
3689 iteration. Use gdb_assert.
3690
b9394193
DB
36912015-02-04 Don Breazeal <donb@codesourcery.com>
3692
3693 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3694 and initialize them.
3695 (ipc_cleanup): New function.
3696 (main): Don't declare shmid, semid, and msqid. Add a call to
3697 atexit so that we call ipc_cleanup on exit.
3698
42d9e528
PA
36992015-02-04 Pedro Alves <palves@redhat.com>
3700
3701 * boards/native-extended-gdbserver.exp: Remove any target variant
3702 specifications from the board name before clearing the isremote
3703 flag from board_info.
3704
ae6ae975
DE
37052015-01-31 Doug Evans <xdje42@gmail.com>
3706
3707 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3708
cfb069a8
GB
37092015-01-31 Gary Benson <gbenson@redhat.com>
3710
3711 * gdb.base/completion.exp: Disable completion limiting for
3712 existing tests. Add new tests to check completion limiting.
3713 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3714
5dd31d79
DE
37152015-01-31 Doug Evans <xdje42@gmail.com>
3716
3717 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3718
9f050062
DE
37192015-01-31 Doug Evans <xdje42@gmail.com>
3720
3721 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3722 entries. Duplicate file section script entries.
3723 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3724 inlined entries. Add test for safe-path rejection.
3725 * gdb.python/py-section-script.c: Add duplicate inlined section script
3726 entries. Duplicate file section script entries.
3727 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3728 inlined entries. Add test for safe-path rejection.
3729
df25ebbd
JB
37302015-01-29 Joel Brobecker <brobecker@adacore.com>
3731
3732 * gdb.ada/disc_arr_bound: New testcase.
3733
4a0ca9ec
JB
37342015-01-29 Joel Brobecker <brobecker@adacore.com>
3735
3736 * gdb.ada/mi_var_array: New testcase.
3737
3a8b707a
DE
37382015-01-27 Doug Evans <dje@google.com>
3739
3740 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3741 Add test for objfile.filename, objfile.username after objfile
3742 has been unloaded.
3743
f8313f6e
JB
37442015-01-26 Joel Brobecker <brobecker@adacore.com>
3745
3746 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3747 the second test to print the name attribute of value
3748 returned by the call to gdb.lookup_type, and adjust
3749 the expected output accordingly.
3750
37bc665e
MW
37512015-01-25 Mark Wielaard <mjw@redhat.com>
3752
3753 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3754 * gdb.base/disp-step-fork.c: Include unistd.h.
3755 * gdb.base/siginfo-obj.c: Include stdio.h.
3756 * gdb.base/siginfo-thread.c: Likewise.
3757 * gdb.mi/non-stop.c: Include unistd.h.
3758 * gdb.mi/nsthrexec.c: Include stdio.h.
3759 * gdb.mi/pthreads.c: Include unistd.h.
3760 * gdb.modula2/unbounded1.c (main): Declare returns int.
3761 * gdb.reverse/consecutive-reverse.c: Likewise.
3762 * gdb.threads/create-fail.c: Include unistd.h.
3763 * gdb.threads/killed.c: Likewise.
3764 * gdb.threads/linux-dp.c: Likewise.
3765 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3766 * gdb.threads/non-ldr-exc-2.c: Likewise.
3767 * gdb.threads/non-ldr-exc-3.c: Likewise.
3768 * gdb.threads/non-ldr-exc-4.c: Likewise.
3769 * gdb.threads/pthreads.c: Include unistd.h.
3770 (main): Declare returns int.
3771 * gdb.threads/tls-main.c (foo): New declaration.
3772 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3773
f7e5394d
SM
37742015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3775
3776 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3777 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3778
743649fd
MW
37792015-01-15 Mark Wielaard <mjw@redhat.com>
3780
3781 * gdb.base/noreturn-return.c: New file.
3782 * gdb.base/noreturn-return.exp: New file.
3783 * gdb.base/noreturn-finish.c: New file.
3784 * gdb.base/noreturn-finish.exp: New file.
3785
198297aa
PA
37862015-01-23 Pedro Alves <palves@redhat.com>
3787
3788 * gdb.threads/continue-pending-after-query.c: New file.
3789 * gdb.threads/continue-pending-after-query.exp: New file.
3790
717cf30c
AG
37912015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3792 Simon Marchi <simon.marchi@ericsson.com>
3793
3794 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3795 * gdb.base/valgrind-db-attach.exp: Same.
3796 * gdb.base/valgrind-infcall.exp: Same.
3797 * lib/mi-support.exp (default_mi_gdb_start): Same.
3798 * lib/prompt.exp (default_prompt_gdb_start): Same.
3799 * lib/gdb.exp (default_gdb_spawn): Same.
3800 (gdb_interact): New.
3801
3802
4b62a76e
JK
38032015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3804
3805 * gdb.compile/compile.exp (pointer to jit function): New test.
3806
b4cdae6f
WW
38072015-01-17 Wei-cheng Wang <cole945@gmail.com>
3808
3809 * lib/gdb.exp (supports_process_record): Return true for
3810 powerpc*-*-linux*.
3811 (supports_reverse): Likewise.
3812
d221e7ef
DB
38132015-01-15 Don Breazeal <donb@codesourcery.com>
3814
3815 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3816 instead of checking whether the target board is remote and
3817 use spawn_wait_for_attach instead of exec/sleep.
3818 * gdb.base/attach-twice.exp: Likewise.
3819
bafffb51
JB
38202015-01-15 Joel Brobecker <brobecker@adacore.com>
3821
3822 * gdb.ada/var_arr_attrs: New testcase.
3823
5589af0e
PA
38242015-01-14 Pedro Alves <palves@redhat.com>
3825 Joel Brobecker <brobecker@adacore.com>
3826
3827 PR gdb/17525
3828 * gdb.base/bp-cmds-execution-x-script.c: New file.
3829 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3830 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3831
6c400b59
PA
38322015-01-14 Pedro Alves <palves@redhat.com>
3833
3834 PR cli/17828
3835 * gdb.base/batch-preserve-term-settings.c: New file.
3836 * gdb.base/batch-preserve-term-settings.exp: New file.
3837
e02c96a7
DE
38382015-01-13 Doug Evans <dje@google.com>
3839
3840 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3841 binary.
3842
576fd14c
JB
38432015-01-13 Joel Brobecker <brobecker@adacore.com>
3844
3845 * Makefile.in (clean mostlyclean): Do not delete *.py.
3846
04dccad0
JB
38472015-01-13 Joel Brobecker <brobecker@adacore.com>
3848
3849 * gdb.python/py-lookup-type.exp: New file.
3850
3d230f71
PA
38512015-01-12 Pedro Alves <palves@redhat.com>
3852
3853 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3854 restore GDBFLAGS before returning.
3855
7e67715d
JK
38562015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3857
3858 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3859 is_amd64_regs_target and is_x86_like_target.
3860
f2e0d4b4
DE
38612015-01-11 Doug Evans <xdje42@gmail.com>
3862
3863 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3864 is given without an explicit form.
3865 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3866 attributes.
3867 * gdb.dwarf/corrupt.exp: Ditto.
3868 * gdb.dwarf2/enum-type.exp: Ditto.
3869 * gdb.trace/entry-values.exp: Ditto.
3870 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3871
439250fb
DE
38722015-01-11 Doug Evans <xdje42@gmail.com>
3873
3874 PR gdb/15830
3875 * gdb.base/maint.exp: Remove references to "maint demangle".
3876 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3877 Add tests for explicitly specifying language to demangle.
3878 * gdb.dlang/demangle.exp: Ditto.
3879
ede9f622
PA
38802015-01-09 Pedro Alves <palves@redhat.com>
3881
3882 * gdb.threads/non-stop-fair-events.c: New file.
3883 * gdb.threads/non-stop-fair-events.exp: New file.
3884
a7b796db
PA
38852015-01-09 Pedro Alves <palves@redhat.com>
3886
3887 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3888 the global scope. Set a breakpoint after all threads are started
3889 rather than stepping over two source lines. Expect the prompt.
3890 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3891 global.
3892 (NUM): Now 15.
3893 (main): Use threads_started_barrier to wait for all threads to
3894 start. Main thread no longer calls thread_function. Exit after
3895 180 seconds.
3896 (loop): New function.
3897 (thread_function): Wait on threads_started_barrier barrier. Call
3898 'loop' at each iteration.
3899 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3900 threads have started, instead of hardcoding number of "next"
3901 steps. Use an access watchpoint instead of a write watchpoint.
3902
9665ffdd
PA
39032015-01-09 Pedro Alves <palves@redhat.com>
3904
3905 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3906 (thread_func): Wait on barrier.
3907 (main): Wait for all threads to start before stopping GDB.
3908 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3909 global.
3910 (thread1_func, thread2_func): Wait on barrier.
3911 (main): Wait for all threads to start before stopping GDB.
3912 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3913 New global.
3914 (thread1_func, thread2_func): Wait on barrier.
3915 (main): Wait for all threads to start before stopping GDB.
3916
c945a99f
PA
39172015-01-09 Pedro Alves <palves@redhat.com>
3918
3919 * gdb.threads/attach-many-short-lived-threads.c: New file.
3920 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3921
c1a747c1
PA
39222014-01-09 Pedro Alves <palves@redhat.com>
3923
3924 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3925 instead of to thread 2.
3926 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3927 Add barrier around each pthread_create call instead of around all
3928 calls.
3929 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3930 Set a break on thread_function and have the child threads hit it
3931 one at at a time.
3932
60b3033e
PA
39332015-01-09 Pedro Alves <palves@redhat.com>
3934
3935 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3936 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3937 false.
3938 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3939 checking whether the target board is remote.
3940 * gdb.multi/multi-attach.exp: Likewise.
3941 * gdb.python/py-sync-interp.exp: Likewise.
3942 * gdb.server/ext-attach.exp: Likewise.
3943 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3944 tests that need to attach, instead of checking whether the target
3945 board is remote at the top of the file.
3946
acc018ac
YQ
39472015-01-08 Yao Qi <yao@codesourcery.com>
3948
3949 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3950
50a18af8
JK
39512015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3952
3953 Fix testcase compilation.
3954 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3955
8503d6e1
JB
39562015-01-06 Joel Brobecker <brobecker@adacore.com>
3957
3958 * gdb.python/py-type.exp: Add a couple test about empty
3959 array creation, and negative-length array creation.
3960
cc73dbcc
DE
39612015-01-02 Doug Evans <xdje42@gmail.com>
3962
3963 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3964
0300bbc7
DE
39652015-01-02 Doug Evans <dje@google.com>
3966
3967 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3968
9d85a0ec
YQ
39692014-12-29 Yao Qi <yao@codesourcery.com>
3970
3971 * gdb.trace/entry-values.exp: Update comments. Rename variable
3972 bar_call_foo to returned_from_foo.
3973
87186c6a
MMN
39742014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3975
3976 PR gdb/17394
3977 * gdb.linespec/break-asm-file.c: New file.
3978 * gdb.linespec/break-asm-file.exp: New file.
3979 * gdb.linespec/break-asm-file0.s: New file.
3980 * gdb.linespec/break-asm-file1.s: New file.
3981
1bab7383
YQ
39822014-12-18 Nigel Stephens <nigel@mips.com>
3983 Maciej W. Rozycki <macro@codesourcery.com>
3984
3985 * gdb.base/float.exp: Handle the new output from "info float" on
3986 MIPS targets.
3987
1bc1068a
JK
39882014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3989
3990 Fix MinGW compilation.
3991 * gdb.compile/compile-ops.exp: Update untested message if
3992 !skip_compile_feature_tests.
3993 * gdb.compile/compile-setjmp.exp: Likewise.
3994 * gdb.compile/compile-tls.exp: Likewise.
3995 * gdb.compile/compile.exp: Likewise.
3996 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3997 supported on this host".
3998
b6615d10
DE
39992014-12-16 Doug Evans <xdje42@gmail.com>
4000
4001 * boards/stabs.exp: New file.
4002
25dda427
AA
40032014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4004
4005 * gdb.base/completion.exp: Adjust to format changes of "maint
4006 print user-registers".
4007
bf330350
CU
40082014-12-16 Catalin Udma <catalin.udma@freescale.com>
4009
4010 PR server/17457
4011 * gdb.arch/aarch64-fp.c: New file.
4012 * gdb.arch/aarch64-fp.exp: New file.
4013
395cf596
SDJ
40142014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4015
4016 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4017 r210637, r210913, r211666, r215400, r215817).
4018
4019 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4020 * dg-extract-results.py: New file.
4021 * dg-extract-results.sh: Use it if the environment seems
4022 suitable.
4023
4024 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4025
4026 * dg-extract-results.py (parse_run): Handle warnings that
4027 are printed before a test harness is run.
4028
4029 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4030
4031 * dg-extract-results.py (Named): Remove __cmp__ method.
4032 (output_variation): Use a key to sort variation.harnesses.
4033
4034 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4035
4036 * dg-extract-results.py: For Python 3, force sys.stdout to
4037 handle surrogate escape sequences.
4038 (safe_open): New function.
4039 (output_segment, main): Use it.
4040
4041 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4042
4043 * dg-extract-results.py (Prog.result_re): Include options
4044 in test name.
4045
4046 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4047
4048 * dg-extract-results.py (output_variation): Always sort if
4049 do_sum.
4050
e882ef3c
SM
40512014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4052
4053 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4054 as long as we get pagination notifications.
4055
4992aa20
JM
40562014-12-15 Jason Merrill <jason@redhat.com>
4057
4058 * Makefile.in (check-gdb.%): Restore.
4059 * README: Mention it.
4060
c1b5a1a6
JB
40612014-12-13 Joel Brobecker <brobecker@adacore.com>
4062
4063 * gdb.ada/str_uninit: New testcase.
4064
5537b577
JK
40652014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4066
4067 PR symtab/17642
4068 * gdb.base/vla-stub-define.c: New file.
4069 * gdb.base/vla-stub.c: New file.
4070 * gdb.base/vla-stub.exp: New file.
4071
bb2ec1b3
TT
40722014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4073 Jan Kratochvil <jan.kratochvil@redhat.com>
4074 Tom Tromey <tromey@redhat.com>
4075
4076 * configure.ac: Add gdb.compile/.
4077 * configure: Regenerate.
4078 * gdb.compile/Makefile.in: New file.
4079 * gdb.compile/compile-ops.exp: New file.
4080 * gdb.compile/compile-ops.c: New file.
4081 * gdb.compile/compile-tls.c: New file.
4082 * gdb.compile/compile-tls.exp: New file.
4083 * gdb.compile/compile-constvar.S: New file.
4084 * gdb.compile/compile-constvar.c: New file.
4085 * gdb.compile/compile-mod.c: New file.
4086 * gdb.compile/compile-nodebug.c: New file.
4087 * gdb.compile/compile-setjmp-mod.c: New file.
4088 * gdb.compile/compile-setjmp.c: New file.
4089 * gdb.compile/compile-setjmp.exp: New file.
4090 * gdb.compile/compile-shlib.c: New file.
4091 * gdb.compile/compile.c: New file.
4092 * gdb.compile/compile.exp: New file.
4093 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4094
4ff709eb
TT
40952014-12-12 Tom Tromey <tromey@redhat.com>
4096
4097 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4098 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4099
6dddd6a5
DE
41002014-12-12 Doug Evans <dje@google.com>
4101
4102 * lib/gdb-python.exp (get_python_valueof): New function.
4103 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4104
71c24708
AA
41052014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4106
4107 * gdb.base/completion.exp: Add test for completion of "info
4108 registers ".
4109
3e29f34a
MR
41102014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4111
4112 * gdb.base/func-ptrs.c: New file.
4113 * gdb.base/func-ptrs.exp: New file.
4114
fc126975
SM
41152014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4116
4117 PR breakpoints/17012
4118 * gdb.base/dprintf-detach.c: New file.
4119 * gdb.base/dprintf-detach.exp: New file.
4120
0a46d518
SM
41212014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4122
4123 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4124 * lib/gdb.exp (target_is_gdbserver): New procedure.
4125
a0be3e44
DE
41262014-12-08 Doug Evans <dje@google.com>
4127
4128 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4129
df1b803a
YQ
41302014-12-05 Yao Qi <yao@codesourcery.com>
4131
4132 * gdb.guile/scm-error.exp: Remove the third argument to
4133 gdb_remote_download.
4134 * gdb.guile/scm-frame-args.exp: Likewise.
4135 * gdb.guile/scm-section-script.exp: Likewise.
4136
ddb9f679
YQ
41372014-12-05 Yao Qi <yao@codesourcery.com>
4138
4139 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4140
86e4ed39
DE
41412014-12-04 Doug Evans <dje@google.com>
4142
4143 * gdb.python/py-objfile.exp: Add tests for
4144 objfile.add_separate_debug_file.
4145
7c50a931
DE
41462014-12-04 Doug Evans <dje@google.com>
4147
4148 * lib/gdb.exp (get_build_id): New function.
4149 (build_id_debug_filename_get): Rewrite to use it.
4150 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4151
621661e3
MR
41522014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4153
4154 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4155 `method(long)', not just 0x0.
4156 * gdb.cp/nsalias.exp: Align code labels to 4.
4157 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4158 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4159 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4160 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4161 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4162 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4163
29f0c3b7
DE
41642014-12-02 Doug Evans <dje@google.com>
4165
e1e061e7 4166 PR symtab/17602
29f0c3b7 4167 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4168 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4169 * gdb.cp/anon-ns.exp: Update.
4170
162078c8
NB
41712014-12-02 Nick Bull <nicholaspbull@gmail.com>
4172
4173 * gdb.python/py-events.py (inferior_call_handler): New.
4174 (register_changed_handler, memory_changed_handler): New.
4175 (test_events.invoke): Register new handlers.
4176 * gdb.python/py-events.exp: Add tests for inferior call,
4177 memory_changed and register_changed events.
4178
fdb09caf
AA
41792014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4180
4181 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4182 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4183 if the linker doesn't understand this.
4184
55cfb2c4
SM
41852014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4186
4187 * gdb.python/python.exp: Change expected reply to help().
4188
9e8cd6df
YQ
41892014-12-01 Yao Qi <yao@codesourcery.com>
4190
4191 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4192 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4193 * configure: Re-generated.
4194
6c659fc2
SC
41952014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4196
4197 * gdb.cp/chained-calls.cc: New file.
4198 * gdb.cp/chained-calls.exp: New file.
4199 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4200
d7fc3181
SM
42012014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4202
4203 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4204 * gdb.dwarf2/symtab-producer.exp: Same.
4205 * gdb.gdb/python-interrupts.exp: Same.
4206 * gdb.gdb/python-selftest.exp: Same.
4207 * gdb.python/py-linetable.exp: Same.
4208 * gdb.python/py-type.exp: Same.
4209 * gdb.python/py-value-cc.exp: Same.
4210 * gdb.python/py-value.exp: Same.
4211
10e79639
YQ
42122014-11-28 Yao Qi <yao@codesourcery.com>
4213
4214 * gdb.base/break-probes.exp: Match library name prefixed with
4215 sysroot.
4216
f28a0564
SM
42172014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4218
4219 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4220 test expected output. Add parentheses for the call to print.
4221 Remove L suffix from integers.
4222
3fe1ce1d
DE
42232014-11-26 Doug Evans <dje@google.com>
4224
4225 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4226
84429e27
YQ
42272014-11-22 Yao Qi <yao@codesourcery.com>
4228
4229 * gdb.trace/entry-values.c: Remove asms.
4230 (foo): Add foo_label.
4231 (bar): Add bar_label.
4232 * gdb.trace/entry-values.exp: Remove code computing foo's
4233 length and bar's length.
4234 (Dwarf::assemble): Invoke function_range for bar and use
4235 MACRO_AT_func for foo.
4236
26741859
YQ
42372014-11-22 Yao Qi <yao@codesourcery.com>
4238
4239 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4240 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4241 Use .Lgcc43_procstart instead of gcc43.
4242
45e44d27
JB
42432014-11-21 Joel Brobecker <brobecker@adacore.com>
4244
4245 * gdb.ada/n_arr_bound: New testcase.
4246
458c8db8
SDJ
42472014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4248
4249 PR breakpoints/10737
4250 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4251 test_catch_syscall_multi_arch.
4252 (test_catch_syscall_multi_arch): New function.
4253
43f3e411
DE
42542014-11-20 Doug Evans <xdje42@gmail.com>
4255
4256 * gdb.base/maint.exp: Update expected output.
4257
0d7b2549
AA
42582014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4259
4260 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4261 4-byte instruction on S390.
4262
8908fca5
JB
42632014-11-19 Joel Brobecker <brobecker@adacore.com>
4264
4265 * gdb.ada/arr_arr: New testcase.
4266
4a46959e
JB
42672014-11-19 Joel Brobecker <brobecker@adacore.com>
4268
4269 * gdb.ada/pkd_arr_elem: New Testcase.
4270
470e2f4e
LM
42712014-11-18 Luis Machado <lgustavo@codesourcery.com>
4272
4273 * gdb.reverse/break-precsave: Expect completion message for
4274 core file reads.
4275 * gdb.reverse/consecutive-precsave.exp: Likewise.
4276 * gdb.reverse/finish-precsave.exp: Likewise.
4277 * gdb.reverse/i386-precsave.exp: Likewise.
4278 * gdb.reverse/machinestate-precsave.exp: Likewise.
4279 * gdb.reverse/sigall-precsave.exp: Likewise.
4280 * gdb.reverse/solib-precsave.exp: Likewise.
4281 * gdb.reverse/step-precsave.exp: Likewise.
4282 * gdb.reverse/until-precsave.exp: Likewise.
4283 * gdb.reverse/watch-precsave.exp: Likewise.
4284
a267f3ad
AA
42852014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4286
4287 * gdb.base/bp-permanent.c: Include unistd.h.
4288 * gdb.python/py-framefilter-mi.c (main): Add return type.
4289 * gdb.python/py-framefilter.c (main): Likewise.
4290 * gdb.trace/actions-changed.c (main): Likewise.
4291
12084a9a
AA
42922014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4293
4294 * gdb.mi/until.c: Add eye-catchers.
4295 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4296 line numbers.
4297
dc7e1a77
AA
42982014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4299
4300 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4301 function header variants in break1.c.
4302 * gdb.base/ena-dis-br.exp: Likewise.
4303 * gdb.base/hbreak2.exp: Likewise.
4304 * gdb.reverse/until-precsave.exp: Drop references to removed
4305 non-prototype function header variants in ur1.c.
4306 * gdb.reverse/until-reverse.exp: Likewise.
4307
41c77605
PM
43082014-11-17 Petr Machata <pmachata@redhat.com>
4309
4310 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4311 ${_cu_offset_size} bytes abbrev offset.
4312
34248c3a
DE
43132014-11-15 Doug Evans <xdje42@gmail.com>
4314
4315 PR symtab/17559
4316 * gdb.base/line-symtabs.exp: New file.
4317 * gdb.base/line-symtabs.c: New file.
4318 * gdb.base/line-symtabs.h: New file.
4319
646da059
YQ
43202014-11-14 Yao Qi <yao@codesourcery.com>
4321
4322 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4323 (func): Add label func_label.
4324 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4325 Replace low_pc and high_pc with MACRO_AT_range.
4326 Replace name, low_pc and high_pc with MACRO_AT_func.
4327
9301ebe6
YQ
43282014-11-14 Yao Qi <yao@codesourcery.com>
4329
4330 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4331 Replace name, low_pc and high_pc with MACRO_AT_func.
4332
f166b542
YQ
43332014-11-14 Yao Qi <yao@codesourcery.com>
4334
4335 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4336 produce debug information.
4337 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4338
0f6e71e3
YQ
43392014-11-14 Yao Qi <yao@codesourcery.com>
4340
4341 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4342 object and get function length.
4343 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4344 with MACRO_AT_func.
4345 (top-level): Replace gdb_compile and clean_restart with
4346 prepare_for_testing.
4347 * gdb.dwarf2/main.c (main): Add label main_label.
4348
876c4df9
YQ
43492014-11-14 Yao Qi <yao@codesourcery.com>
4350
4351 * lib/dwarf.exp (function_range): New procedure.
4352 (Dwarf::_handle_macro_at_func): New procedure.
4353 (Dwarf::_handle_macro_at_range): New procedure.
4354 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4355
02ad9cf1
YQ
43562014-11-14 Yao Qi <yao@codesourcery.com>
4357
4358 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4359 (_handle_attribute): New procedure.
4360
a59add0c
AA
43612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4362
4363 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4364 * gdb.base/call-sc.c (zed): Likewise.
4365 * gdb.base/checkpoint.c (main): Likewise.
4366 * gdb.base/dump.c (main): Likewise.
4367 * gdb.base/gcore.c (main): Likewise.
4368 * gdb.base/huge.c (main): Likewise.
4369 * gdb.base/multi-forks.c (main): Likewise.
4370 * gdb.base/pr10179-a.c (main): Likewise.
4371 * gdb.base/savedregs.c (main): Likewise.
4372 * gdb.base/sigaltstack.c (main): Likewise.
4373 * gdb.base/siginfo.c (main): Likewise.
4374 * gdb.base/structs.c (zed): Likewise.
4375 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4376 * gdb.mi/mi-syn-frame.c (main): Likewise.
4377 * gdb.mi/until.c (foo, main): Likewise.
4378 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4379 * gdb.base/solib-weak.c (foo): Declare.
4380 * gdb.base/attach-twice.c: Include stdio.h.
4381 * gdb.base/weaklib1.c: Likewise.
4382 * gdb.base/weaklib2.c: Likewise.
4383 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4384 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4385 unistd.h.
4386 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4387 * gdb.mi/mi-exit-code.c: Likewise.
4388 * gdb.base/break-interp-lib.c: Include string.h.
4389 * gdb.base/coremaker.c: Likewise.
4390 * gdb.base/testenv.c: Likewise.
4391 * gdb.python/py-finish-breakpoint.c: Likewise.
4392 * gdb.base/inferior-died.c: Include sys/wait.h.
4393 * gdb.base/fileio.c: Include time.h.
4394 * gdb.base/async-shell.c: Include unistd.h.
4395 * gdb.base/dprintf-non-stop.c: Likewise.
4396 * gdb.base/info-os.c: Likewise.
4397 * gdb.mi/mi-console.c: Likewise.
4398 * gdb.mi/watch-nonstop.c: Likewise.
4399 * gdb.python/py-events.c: Likewise.
4400 * gdb.base/async.c (baz): Move up before its invocation.
4401 * gdb.base/code_elim2.c (my_global_func): Likewise.
4402 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4403 * gdb.base/advance.c (func2): Likewise.
4404
3b5d5997
AA
44052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4406
4407 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4408 variant.
4409 * gdb.base/annota3.c: Likewise.
4410 * gdb.base/async.c: Likewise.
4411 * gdb.base/average.c: Likewise.
4412 * gdb.base/call-ar-st.c: Likewise.
4413 * gdb.base/call-rt-st.c: Likewise.
4414 * gdb.base/call-sc.c: Likewise.
4415 * gdb.base/call-strs.c: Likewise.
4416 * gdb.base/ending-run.c: Likewise.
4417 * gdb.base/execd-prog.c: Likewise.
4418 * gdb.base/exprs.c: Likewise.
4419 * gdb.base/foll-exec.c: Likewise.
4420 * gdb.base/foll-fork.c: Likewise.
4421 * gdb.base/foll-vfork.c: Likewise.
4422 * gdb.base/funcargs.c: Likewise.
4423 * gdb.base/gcore.c: Likewise.
4424 * gdb.base/jump.c: Likewise.
4425 * gdb.base/langs0.c: Likewise.
4426 * gdb.base/langs1.c: Likewise.
4427 * gdb.base/langs2.c: Likewise.
4428 * gdb.base/mips_pro.c: Likewise.
4429 * gdb.base/nodebug.c: Likewise.
4430 * gdb.base/opaque0.c: Likewise.
4431 * gdb.base/opaque1.c: Likewise.
4432 * gdb.base/recurse.c: Likewise.
4433 * gdb.base/run.c: Likewise.
4434 * gdb.base/scope0.c: Likewise.
4435 * gdb.base/scope1.c: Likewise.
4436 * gdb.base/setshow.c: Likewise.
4437 * gdb.base/setvar.c: Likewise.
4438 * gdb.base/shmain.c: Likewise.
4439 * gdb.base/shr1.c: Likewise.
4440 * gdb.base/shr2.c: Likewise.
4441 * gdb.base/sigall.c: Likewise.
4442 * gdb.base/signals.c: Likewise.
4443 * gdb.base/so-indr-cl.c: Likewise.
4444 * gdb.base/solib2.c: Likewise.
4445 * gdb.base/structs.c: Likewise.
4446 * gdb.base/sum.c: Likewise.
4447 * gdb.base/vforked-prog.c: Likewise.
4448 * gdb.base/watchpoint.c: Likewise.
4449 * gdb.reverse/shr2.c: Likewise.
4450 * gdb.reverse/until-reverse.c: Likewise.
4451 * gdb.reverse/ur1.c: Likewise.
4452 * gdb.reverse/watch-reverse.c: Likewise.
4453
066a77c5
AA
44542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4455
4456 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4457 variant.
4458 * gdb.base/sepdebug.exp: Drop references to removed code.
4459
4f204ea5
AA
44602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4461
4462 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4463 variant. Preserve original line numbering.
4464 * gdb.base/list1.c: Likewise.
4465
3b377a3a
AA
44662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4467
4468 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4469 variant.
4470 * gdb.base/break1.c: Likewise.
4471 * gdb.base/break.exp: Drop references to removed code.
4472
e444df73
AA
44732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4474
4475 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4476 variant.
4477
8008f2a7
AA
44782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4479
4480 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4481
a5a06887
AA
44822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4483
4484 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4485 logic into perform_all_tests() and invoke it with and without
4486 function header prototypes.
4487 (do_function_calls): Remove conditional XFAIL for PR 5318.
4488 (rerun_and_prepare): Remove duplicate code.
4489 (perform_all_tests): New. Main logic moved here.
4490
44dba9b9
AA
44912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4492
4493 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4494 code guarded by #ifdef NO_PROTOTYPES.
4495 (t_double_many_args): Likewise.
4496 (DEF_FUNC_MANY_ARGS_1): Likewise.
4497 (DEF_FUNC_VALUES_1): Likewise.
4498 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4499 guarded by #ifdef PROTOTYPES.
4500
d1fbcd56
AA
45012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4502
4503 * gdb.mi/mi-console.c: Add eye-catcher.
4504 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4505 instead of literal line number.
4506
b0e59b8f
AA
45072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4508
4509 * gdb.base/shr2.c: Add eye-catcher.
4510 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4511 line number.
4512
78f98cca
AA
45132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4514
4515 * gdb.base/jump.c: Add eye-catchers.
4516 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4517 numbers.
4518
58fa2af0
AA
45192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4520
4521 * gdb.base/execd-prog.c: Add eye-catchers.
4522 * gdb.base/foll-exec.c: Likewise.
4523 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4524 line numbers.
4525
04e5059b
AA
45262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4527
4528 * gdb.base/ending-run.c: Add eye-catchers.
4529 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4530 literal line numbers.
4531
dbfdb174
AA
45322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4533
4534 * gdb.base/call-rt-st.c: Add eye-catchers.
4535 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4536 literal line numbers.
4537
888a2ade
AA
45382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4539
4540 * gdb.base/call-ar-st.c: Add eye-catchers.
4541 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4542 literal line numbers.
4543
6acc2dde
AA
45442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4545
4546 * gdb.base/average.c: Add eye-catchers.
4547 * gdb.base/sum.c: Likewise.
4548 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4549 regexps dynamically.
4550
9ecfcd1d
AA
45512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4552
4553 * gdb.base/solib1.c: Add eye-catchers.
4554 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4555 literal line numbers.
4556
78708b7c
PA
45572014-11-12 Pedro Alves <palves@redhat.com>
4558
4559 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4560 leader has exited.
4561
af48d08f
PA
45622014-11-12 Pedro Alves <palves@redhat.com>
4563
4564 * gdb.arch/i386-bp_permanent.c: New file.
4565 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4566 (srcfile): Set to i386-bp_permanent.c.
4567 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4568 that stepi does not execute the 'leave' instruction, instead of
4569 testing it does execute.
4570 * gdb.base/bp-permanent.c: New file.
4571 * gdb.base/bp-permanent.exp: New file.
4572
af3768e9
DE
45732014-11-10 Doug Evans <xdje42@gmail.com>
4574
4575 PR symtab/17564
4576 * gdb.base/symtab-search-order.exp: New file.
4577 * gdb.base/symtab-search-order.c: New file.
4578 * gdb.base/symtab-search-order-1.c: New file.
4579 * gdb.base/symtab-search-order-shlib-1.c: New file.
4580
9de00a4a
PA
45812014-11-07 Pedro Alves <palves@redhat.com>
4582
4583 PR gdb/17511
4584 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4585 i?86-*-linux*.
4586
e0f52461
SC
45872014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4588
4589 PR c++/17494
4590 * gdb.cp/pr17494.cc: New file.
4591 * gdb.cp/pr17494.exp: New file.
4592
6ce8c980
YQ
45932014-11-02 Yao Qi <yao@codesourcery.com>
4594
4595 * gdb.python/python.exp: Get working directory and match the
4596 output of "set extended-prompt \\w " with it.
4597
02be9a71
DE
45982014-10-30 Doug Evans <dje@google.com>
4599
4600 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4601 in objfiles.
4602 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4603 in progspaces.
4604
3bdff46b
LM
46052014-10-30 Janis Johnson <janisjo@codesourcery.com>
4606
4607 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4608 * gdb.base/realname-expand.exp: Likewise.
4609 * gdb.linespec/macro-relative.exp: Likewise.
4610
ab917dfb
PA
46112014-10-29 Pedro Alves <palves@redhat.com>
4612
4613 PR gdb/17408
4614 * gdb.threads/schedlock.c (some_function): New function.
4615 (call_function): New global.
4616 (MAYBE_CALL_SOME_FUNCTION): New macro.
4617 (thread_function): Call it.
4618 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4619 and use it instead of a global counter. Adjust all callers.
4620 (get_current_thread): Use "find current thread" for test message
4621 here rather than having all callers pass down the same string.
4622 (goto_loop): New procedure, factored out from ...
4623 (my_continue): ... this.
4624 (step_ten_loops): Change parameter from test message to command to
4625 use. Adjust.
4626 (list_count): Delete global.
4627 (check_result): New procedure, factored out from duplicate top
4628 level code.
4629 (continue tests): Wrap in with_test_prefix.
4630 (test_step): New procedure, factored out from duplicate top level
4631 code.
4632 (top level): Test "step" in combination with all scheduler-locking
4633 modes. Test "next" in combination with all scheduler-locking
4634 modes, and in combination with stepping over a function call or
4635 not.
4636 * gdb.threads/next-bp-other-thread.c: New file.
4637 * gdb.threads/next-bp-other-thread.exp: New file.
4638
d3d4baed
PA
46392014-10-29 Pedro Alves <palves@redhat.com>
4640
4641 PR python/17372
4642 * gdb.python/python.exp: Test a multi-line command that spawns
4643 interactive Python.
4644 * gdb.base/multi-line-starts-subshell.exp: New file.
4645
563e8d85
YQ
46462014-10-29 Yao Qi <yao@codesourcery.com>
4647
4648 * gdb.base/fileio.exp: Make directories on host.
4649
0ea4d52e
YQ
46502014-10-29 Yao Qi <yao@codesourcery.com>
4651
4652 * gdb.base/fileio.c (test_write): Close the file.
4653
7f5ef605
PA
46542014-10-28 Pedro Alves <palves@redhat.com>
4655
4656 PR gdb/12623
4657 * gdb.base/sigstep.c (no_handler): New global.
4658 (main): If 'no_handler is true, set the signal handlers to
4659 SIG_IGN.
4660 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4661 with_sw_watch and no_handler parameters. Handle them.
4662 (top level) <stepping over handler when stopped at a breakpoint
4663 test>: Add a test axis for testing with a software watchpoint, and
4664 another for testing with the signal handler set to SIG_IGN.
4665 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4666 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4667
abbdbd03
PA
46682014-10-28 Pedro Alves <palves@redhat.com>
4669
4670 PR gdb/17511
4671 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4672 * gdb.base/sigstep.exp (other_handler_location): New global.
4673 (advance): Support stepping into the signal handler, and running
4674 commands while in the handler.
4675 (in_handler_map): New global.
4676 (top level): In the advance test, add combinations for getting
4677 into the handler with stepping commands, and for running commands
4678 in the handler. Add comment descripting the advancei tests.
4679
1df4399f
PA
46802014-10-28 Pedro Alves <palves@redhat.com>
4681
4682 * gdb.base/sigstep.exp: Use build_executable instead of
4683 prepare_for_testing.
4684 (top level): Move code that starts GDB, runs to main and creates a
4685 display to ...
4686 (restart): ... this new procedure.
4687 (top level): Move backtrace from signal handler test to ...
4688 (validate_backtrace): ... this new procedure.
4689 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4690 with_test_prefix. Always restart GDB.
4691 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4692 with_test_prefix. Always restart GDB. No need to delete
4693 breakpoints after the test.
4694 (test_skip_handler): Remove prefix parameter.
4695 (skip_over_handler, breakpoint_to_handler)
4696 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4697 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4698 restart GDB. No need to delete breakpoints after the test.
4699 (top level): Use foreach to call the test procedures with
4700 different commands.
4701
a5b6e449
PA
47022014-10-28 Pedro Alves <palves@redhat.com>
4703
4704 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4705 instead of GNATS numbers.
4706 * gdb.base/sigbpt.exp: Likewise.
4707 * gdb.base/siginfo.exp: Likewise.
4708 * gdb.base/sigstep.exp: Likewise.
4709
e5f8a7cc
PA
47102014-10-27 Pedro Alves <palves@redhat.com>
4711
4712 * gdb.base/sigstep.c (dummy): New global.
4713 (main): Issue a couple writes to the new global.
4714 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4715 procedures.
4716 (skip_over_handler): Use test_skip_handler.
4717 (top level): Call skip_over_handler for stepi and nexti too.
4718 (breakpoint_over_handler): Use test_skip_handler.
4719 (top level): Call breakpoint_over_handler for stepi and nexti too.
4720
763905a3
YQ
47212014-10-27 Yao Qi <yao@codesourcery.com>
4722
4723 * gdb.trace/tfile.c (adjust_function_address)
4724 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4725 function descriptor.
4726
6f259a23
DB
47272014-10-24 Don Breazeal <donb@codesourcery.com>
4728
4729 * gdb.base/foll-fork.exp (test_follow_fork,
4730 catch_fork_child_follow): Check for updated fork messages emitted
4731 from infrun.c.
4732 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4733 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4734 vfork_and_exec_child_follow_through_step): Check for updated vfork
4735 messages emitted from infrun.c.
4736
09dd9a69
PA
47372014-10-24 Pedro Alves <palves@redhat.com>
4738
4739 * gdb.base/corefile.exp: Remove references to ultrix.
4740 * gdb.base/interrupt.exp: Likewise.
4741 * gdb.base/whatis.exp: Likewise.
4742 * gdb.gdb/selftest.exp: Likewise.
4743 * gdb.threads/manythreads.exp: Likewise.
4744 * gdb.threads/print-threads.exp: Likewise.
4745 * gdb.threads/pthreads.exp:: Likewise.
4746 * gdb.threads/schedlock.exp: Likewise.
4747
3433cfa5
SC
47482014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4749
4750 * gdb.cp/non-trivial-retval.cc: Add a test case.
4751 * gdb.cp/non-trivial-retval.exp: Add a test.
4752
092f880b
YQ
47532014-10-20 Yao Qi <yao@codesourcery.com>
4754
4755 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4756 * gdb.python/py-objfile-script-gdb.py: New file.
4757 * gdb.python/py-objfile-script.exp: Update reference to
4758 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4759 of remote_download. Remove the dest file.
4760
acbdb7f3
YQ
47612014-10-20 Yao Qi <yao@codesourcery.com>
4762
4763 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4764 * gdb.base/step-line.exp: Likewise.
4765 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4766 * gdb.dwarf2/dw2-basic.exp: Likewise.
4767 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4768 * gdb.dwarf2/dw2-filename.exp: Likewise.
4769 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4770 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4771 * gdb.dwarf2/dw2-producer.exp: Likewise.
4772 * gdb.dwarf2/mac-fileno.exp: Likewise.
4773 * gdb.python/py-frame-args.exp: Likewise.
4774 * gdb.python/py-framefilter.exp: Likewise.
4775 * gdb.python/py-mi.exp: Likewise.
4776 * gdb.python/py-objfile-script.exp: Likewise
4777 * gdb.python/py-pp-integral.exp: Likewise.
4778 * gdb.python/py-pp-re-notag.exp: Likewise.
4779 * gdb.python/py-prettyprint.exp: Likewise.
4780 * gdb.python/py-section-script.exp: Likewise.
4781 * gdb.python/py-typeprint.exp: Likewise.
4782 * gdb.python/py-xmethods.exp: Likewise.
4783 * gdb.stabs/weird.exp: Likewise.
4784 * gdb.xml/tdesc-regs.exp: Likewise.
4785
bd286a29
KCY
47862014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4787
4788 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4789 (out_cu): Use addr_len for the size of addresses.
4790 (out_line): Likewise. Size DW_LNE_set_address instruction
4791 according to addr_len.
4792 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4793 (FUNC): Add START_INSNS to definition.
4794
673dc4a0
YQ
47952014-10-18 Yao Qi <yao@codesourcery.com>
4796
4797 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4798 gdb_has_argv0 return true.
4799 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4800 check [target_info exists noargs], check [gdb_has_argv0]
4801 instead.
4802 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4803 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4804 procedures.
4805
4ffbba72
DE
48062014-10-17 Doug Evans <dje@google.com>
4807
4808 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4809 event.
4810 * gdb.python/py-events.py: Add clear_objfiles event.
4811
d096d8c1
DE
48122014-10-17 Doug Evans <dje@google.com>
4813
4814 * gdb.python/py-objfile.exp: Test progspace attribute.
4815
a80db015
LM
48162014-10-17 Luis Machado <lgustavo@codesourcery.com>
4817
4818 * gdb.guile/scm-breakpoint.exp: Do not assume any
4819 directory separators when matching source file paths.
4820 * gdb.python/py-breakpoint.exp: Likewise.
4821 * gdb.reverse/break-precsave.exp: Likewise.
4822 * gdb.reverse/break-reverse.exp: Likewise.
4823 * gdb.reverse/consecutive-precsave.exp: Likewise.
4824 * gdb.reverse/finish-precsave.exp: Likewise.
4825 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4826 * gdb.reverse/finish-reverse.exp: Likewise.
4827 * gdb.reverse/i386-precsave.exp: Likewise.
4828 * gdb.reverse/i387-env-reverse.exp: Likewise.
4829 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4830 * gdb.reverse/machinestate-precsave.exp: Likewise.
4831 * gdb.reverse/machinestate.exp: Likewise.
4832 * gdb.reverse/sigall-precsave.exp: Likewise.
4833 * gdb.reverse/solib-precsave.exp: Likewise.
4834 * gdb.reverse/step-precsave.exp: Likewise.
4835 * gdb.reverse/until-precsave.exp: Likewise.
4836 * gdb.reverse/watch-precsave.exp: Likewise.
4837 * gdb.reverse/watch-reverse.exp: Likewise.
4838
b22089ab
YQ
48392014-10-17 Yao Qi <yao@codesourcery.com>
4840
4841 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4842 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4843
6c4486e6
PA
48442014-10-17 Pedro Alves <palves@redhat.com>
4845
4846 PR gdb/17471
4847 * gdb.base/bg-execution-repeat.c: New file.
4848 * gdb.base/bg-execution-repeat.exp: New file.
4849
0ff33695
PA
48502014-10-17 Pedro Alves <palves@redhat.com>
4851
4852 PR gdb/17300
4853 * gdb.base/continue-all-already-running.c: New file.
4854 * gdb.base/continue-all-already-running.exp: New file.
4855
6fdebc3d
PA
48562014-10-17 Pedro Alves <palves@redhat.com>
4857
4858 PR gdb/17472
4859 * gdb.base/annota-input-while-running.c: New file.
4860 * gdb.base/annota-input-while-running.exp: New file.
4861
32a8097b
PA
48622014-10-17 Pedro Alves <palves@redhat.com>
4863
4864 * gdb.base/callfuncs.exp: emove references to osf.
4865 * gdb.base/sigall.exp: Likewise.
4866 * gdb.gdb/selftest.exp: Likewise.
4867 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4868 * gdb.mi/non-stop.c: Likewise.
4869 * gdb.mi/pthreads.c: Likewise.
4870 * gdb.reverse/sigall-precsave.exp: Likewise.
4871 * gdb.reverse/sigall-reverse.exp: Likewise.
4872 * gdb.threads/pthreads.c: Likewise.
4873 * gdb.threads/pthreads.exp: Likewise.
4874
7a3517ff
YQ
48752014-10-17 Yao Qi <yao@codesourcery.com>
4876
4877 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4878 check 'target_info exists noargs'.
4879 (test_command_prompt_position): Likewise.
4880 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4881 Remove "set args".
4882 (progvar_simple_while_test): Likewise.
4883 (progvar_complex_if_while_test): Likewise.
4884 (if_while_breakpoint_command_test): Likewise.
4885 (infrun_breakpoint_command_test): Likewise.
4886 (breakpoint_command_test): Likewise.
4887 (watchpoint_command_test): Likewise.
4888 (bp_deleted_in_command_test): Likewise.
4889 (temporary_breakpoint_commands): Likewise.
4890
bb99c472
YQ
48912014-10-16 Yao Qi <yao@codesourcery.com>
4892
4893 * gdb.base/remotetimeout.exp: Remove noargs checking.
4894
7c16b83e
PA
48952014-10-15 Pedro Alves <palves@redhat.com>
4896
4897 PR breakpoints/9649
4898 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4899 * gdb.base/breakpoint-in-ro-region.exp
4900 (probe_target_hardware_step): New procedure.
4901 (top level): Probe hardware stepping and hardware breakpoint
4902 support. Test stepping through a read-only region, with both
4903 "breakpoint auto-hw" on and off and both "always-inserted" on and
4904 off.
4905
35a49624
IB
49062014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4907
4908 * gdb.dlang/demangle.exp: Update for demangling changes.
4909
2d1c107c
SC
49102014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4911
4912 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4913 * gdb.cp/non-trivial-retval.exp: Add new tests.
4914
778811d5
SC
49152014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4916
4917 PR c++/13403
4918 PR c++/15154
4919 * gdb.cp/non-trivial-retval.cc: New file.
4920 * gdb.cp/non-trivial-retval.exp: New file.
4921
10c5f0a8
YQ
49222014-10-15 Yao Qi <yao@codesourcery.com>
4923
4924 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4925 remote host.
4926
65d7b369
YQ
49272014-10-15 Yao Qi <yao@codesourcery.com>
4928
4929 * gdb.python/py-symbol.exp: Match file base name if host is
4930 remote, otherwise match file name with dir name.
4931 * gdb.python/py-symtab.exp: Likewise.
4932 * gdb.python/python.exp: Likewise.
4933
46dc1394
YQ
49342014-10-15 Yao Qi <yao@codesourcery.com>
4935
4936 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4937 pattern.
4938 * gdb.python/py-symtab.exp: Likewise.
4939 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4940 locationn.
4941
c40cc657
JB
49422014-10-14 Joel Brobecker <brobecker@adacore.com>
4943
4944 * gdb.ada/addr_arith: New testcase.
4945
2abf49e1
MR
49462014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4947
4948 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4949 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4950 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4951 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4952
f7088df3
SDJ
49532014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4954
4955 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4956 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4957 * gdb.arch/stap-eval-lang-ada.exp: New file.
4958
4dc06805
YQ
49592014-10-14 Yao Qi <yao@codesourcery.com>
4960
4961 * gdb.mi/mi-var-child.c (nothing1): New function.
4962 (nothing2): New function.
4963 (do_children_tests): Set function pointers by nothing1 and
4964 nothing2.
4965 * gdb.mi/mi-var-child.exp: Step over new added statements.
4966 Update test to match the new output.
4967 * gdb.mi/var-cmd.c (nothing1): New function.
4968 (nothing2): New function.
4969 (do_children_tests): Set function pointers by nothing1 and
4970 nothing2.
4971 * gdb.mi/mi-var-display.exp: Update test to match output.
4972 Step to the line specified by $line_dct_nothing.
4973 Increase the number of lines to step.
4974
46a93de2
YQ
49752014-10-14 Yao Qi <yao@codesourcery.com>
4976
4977 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4978 tests.
4979 * gdb.mi/mi2-var-child.exp: Likewise.
4980
14ea52ee
DE
49812014-10-13 Doug Evans <dje@google.com>
4982
4983 * gdb.python/py-objfile.exp: Change name of file name test.
4984
e5c6e92b
DE
49852014-10-13 Doug Evans <dje@google.com>
4986
4987 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4988 from the start of the CU.
4989
c780cc2f
JK
49902014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4991 Yao Qi <yao@codesourcery.com>
4992
4993 Fix "save breakpoints" for "catch" command.
4994 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4995 Remove -nonewline. Match also the added "main" line.
4996
99894e11
JK
49972014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4998
4999 Fix "save breakpoints" for "disable $bpnum" command.
5000 * gdb.base/save-bp.c (main): Add label.
5001 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5002
6e1ac5a3
JK
50032014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5004
5005 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5006
754dd2b0
YQ
50072014-10-11 Yao Qi <yao@codesourcery.com>
5008
5009 * gdb.server/server-kill.exp: Execute command
5010 "set remote trace-status-packet on" before "tstatus".
5011
f90183d7
YQ
50122014-10-11 Yao Qi <yao@codesourcery.com>
5013
5014 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5015 (main): Call getppid.
5016 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5017 and continue to it. Read variable "server_pid".
5018
bf40a607
YQ
50192014-10-11 Yao Qi <yao@codesourcery.com>
5020
5021 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5022
052ca370
YQ
50232014-10-11 Yao Qi <yao@codesourcery.com>
5024
5025 * gdb.threads/thread-find.exp: Don't execute command
5026 "info threads".
5027 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5028 * gdb.threads/linux-dp.exp: Don't check the condition
5029 $threads_created equals to zero.
5030
3831839c
PA
50312014-10-10 Pedro Alves <palves@redhat.com>
5032
5033 * gdb.base/bigcore.exp: Remove references to IRIX.
5034 * gdb.base/funcargs.exp: Likewise.
5035 * gdb.base/interrupt.exp: Likewise.
5036 * gdb.base/mips_pro.exp: Likewise.
5037 * gdb.base/nodebug.exp: Likewise.
5038 * gdb.base/setvar.exp: Likewise.
5039 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5040
8b9a549d
PA
50412014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5042 Pedro Alves <palves@redhat.com>
5043
5044 PR symtab/14466
5045 * gdb.base/vdso-warning.c: New file.
5046 * gdb.base/vdso-warning.exp: New file.
5047
d48ba5e8
DE
50482014-10-02 Doug Evans <dje@google.com>
5049
5050 * gdb.base/structs.c (main): Don't run forever.
5051
2278c276
PA
50522014-10-02 Pedro Alves <palves@redhat.com>
5053
5054 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5055 (top level) <stop threads 1, stop threads 2>: Use it.
5056
b57bacec
PA
50572014-10-02 Pedro Alves <palves@redhat.com>
5058
5059 * gdb.threads/break-while-running.exp (test): Add new
5060 'update_thread_list' argument. Skip "info threads" if false.
5061 (top level): Add new 'update_thread_list' axis.
5062
13fd3ff3
PA
50632014-10-02 Pedro Alves <palves@redhat.com>
5064
5065 PR breakpoints/17431
5066 * gdb.base/execl-update-breakpoints.c: New file.
5067 * gdb.base/execl-update-breakpoints.exp: New file.
5068
0fec99e8
PA
50692014-10-01 Pedro Alves <palves@redhat.com>
5070
5071 * gdb.base/breakpoint-in-ro-region.c: New file.
5072 * gdb.base/breakpoint-in-ro-region.exp: New file.
5073
2ddf4301
SM
50742014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5075
5076 * gdb.mi/mi-exit-code.exp: New file.
5077 * gdb.mi/mi-exit-code.c: New file.
5078
6a5f3f43
YQ
50792014-09-30 Yao Qi <yao@codesourcery.com>
5080
5081 * lib/prelink-support.exp (build_executable_own_libs): Error if
5082 the target isn't native.
5083
345bcc73
YQ
50842014-09-30 Yao Qi <yao@codesourcery.com>
5085
5086 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5087 false.
5088
a25a5a45
PA
50892014-09-22 Pedro Alves <palves@redhat.com>
5090
5091 * gdb.threads/break-while-running.exp: New file.
5092 * gdb.threads/break-while-running.c: New file.
5093
00ba3162
YQ
50942014-09-19 Yao Qi <yao@codesourcery.com>
5095
5096 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5097 Invoke test. Restart GDB with --readnow and invoke test again.
5098
c3b7b696
YQ
50992014-09-19 Yao Qi <yao@codesourcery.com>
5100
5101 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5102 proc set_breakpoint_on_gcd_function. Invoke
5103 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5104 invoke set_breakpoint_on_gcd_function again.
5105
2b4fd423
DE
51062014-09-18 Doug Evans <dje@google.com>
5107
5108 * gdb.dwarf2/symtab-producer.exp: New file.
5109
a5947601
SDJ
51102014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5111
5112 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5113 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5114 * gdb.base/global-var-nested-by-dso.c: Likewise.
5115 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5116
91c19059
SDJ
51172014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5118 Pedro Alves <palves@redhat.com>
5119
5120 * gdb.base/watch-bitfields.exp: Pass string other than test file
5121 name to prepare_for_testing.
5122 (watch): New procedure.
5123 (expect_watchpoint): Use with_test_prefix.
5124 (top level): Factor out tests to ...
5125 (test_watch_location, test_regular_watch): ... these new
5126 procedures, and use with_test_prefix and gdb_continue_to_end.
5127
bb9d5f81
PP
51282014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5129
5130 PR breakpoints/12526
5131 * gdb.base/watch-bitfields.exp: New file.
5132 * gdb.base/watch-bitfields.c: New file.
5133
635856f5
PA
51342014-09-16 Pedro Alves <palves@redhat.com>
5135
5136 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5137 software and hardware addresses, not software address against
5138 itself.
5139
7280ceea
PA
51402014-09-16 Pedro Alves <palves@redhat.com>
5141
5142 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5143 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5144
428b16bd
PA
51452014-09-16 Pedro Alves <palves@redhat.com>
5146
5147 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5148 files.
5149 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5150 "*-*-vxworks*" throughout.
5151 * gdb.base/break.exp: Likewise.
5152 * gdb.base/default.exp: Likewise.
5153 * gdb.base/scope.exp: Likewise.
5154 * gdb.base/sepdebug.exp: Likewise.
5155 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5156 throughout.
5157 * gdb.base/run.c: Likewise.
5158 * gdb.base/sepdebug.c: Likewise.
5159 * gdb.hp/gdb.aCC/run.c: Likewise.
5160 * gdb.reverse/until-reverse.c: Likewise.
5161 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5162
666d413c
YQ
51632014-09-16 Yao Qi <yao@codesourcery.com>
5164
5165 * boards/local-remote-host-native.exp: New file.
5166
57cbd724
DE
51672014-09-14 Doug Evans <xdje42@gmail.com>
5168
5169 * gdb.threads/queue-signal.c (thread_count): New variable.
5170 (thread_count_mutex, thread_count_condvar): New variables.
5171 (incr_thread_count, wait_all_threads_running): New functions.
5172 (main): Wait for all threads to be in their thread functions.
5173
81219e53
DE
51742014-09-13 Doug Evans <xdje42@gmail.com>
5175
5176 * gdb.threads/queue-signal.c: New file.
5177 * gdb.threads/queue-signal.exp: New file.
5178
3714cea7
DE
51792014-09-13 Doug Evans <xdje42@gmail.com>
5180
5181 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5182 be consistent with what default_gdb_init uses.
5183 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5184 the plain text of the prompt. Add some logging printfs.
5185 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5186
fa43b1d7
PA
51872014-09-12 Pedro Alves <palves@redhat.com>
5188
5189 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5190 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5191 * gdb.arch/i386-size-overlap.exp: Likewise.
5192 * gdb.arch/i386-size.exp: Likewise.
5193 * gdb.arch/i386-unwind.exp: Likewise.
5194 * gdb.base/a2-run.exp: Likewise.
5195 * gdb.base/break.exp: Likewise.
5196 * gdb.base/charset.exp: Likewise.
5197 * gdb.base/chng-syms.exp: Likewise.
5198 * gdb.base/commands.exp: Likewise.
5199 * gdb.base/dbx.exp: Likewise.
5200 * gdb.base/find.exp: Likewise.
5201 * gdb.base/funcargs.exp: Likewise.
5202 * gdb.base/jit-simple.exp: Likewise.
5203 * gdb.base/reread.exp: Likewise.
5204 * gdb.base/sepdebug.exp: Likewise.
5205 * gdb.base/step-bt.exp: Likewise.
5206 * gdb.cp/mb-inline.exp: Likewise.
5207 * gdb.cp/mb-templates.exp: Likewise.
5208 * gdb.objc/basicclass.exp: Likewise.
5209 * gdb.threads/killed.exp: Likewise.
5210
9d9bf2df
EBM
52112014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5212
5213 PR tdep/17379
5214 * gdb.arch/powerpc-stackless.S: New file.
5215 * gdb.arch/powerpc-stackless.exp: New file.
5216
1cf2f1b0
JK
52172014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5218
5219 * gdb.base/attach.c: Include unistd.h.
5220 (main): Call alarm. Add label postloop.
5221 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5222 gdb_breakpoint, gdb_continue_to_breakpoint.
5223 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5224
98880d46
PA
52252014-09-11 Pedro Alves <palves@redhat.com>
5226
5227 PR gdb/17347
5228 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5229 * gdb.base/attach.exp (test_command_line_attach_run): New
5230 procedure.
5231 (top level): Call it.
5232
4c92ff2c
PA
52332014-09-11 Pedro Alves <palves@redhat.com>
5234
5235 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5236 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5237 (do_command_attach_tests): Use spawn_wait_for_attach.
5238 * gdb.base/solib-overlap.exp: Likewise.
5239 * gdb.multi/multi-attach.exp: Likewise.
5240 * gdb.python/py-prompt.exp: Likewise.
5241 * gdb.python/py-sync-interp.exp: Likewise.
5242 * gdb.server/ext-attach.exp: Likewise.
5243
3adc1a7d
GKB
52442014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5245
5246 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5247 command in testcase. Simplify testcase.
5248
96334934
JB
52492014-09-10 Joel Brobecker <brobecker@adacore.com>
5250
5251 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5252
eb479039
JB
52532014-09-10 Joel Brobecker <brobecker@adacore.com>
5254
5255 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5256
deede10c
JB
52572014-09-10 Joel Brobecker <brobecker@adacore.com>
5258
5259 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5260
7828a5f5
JB
52612014-09-10 Joel Brobecker <brobecker@adacore.com>
5262
5263 * gdb.dwarf2/dynarr-ptr.c: New file.
5264 * gdb.dwarf2/dynarr-ptr.exp: New file.
5265
33aeebcf
MR
52662014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5267
5268 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5269 of 30 rather than hardcoding 120 for a slow test case. Take the
5270 `gdb,timeout' target setting into account for this calculation.
5271 Don't extend the timeout for the test cases that don't need it.
5272
7b415901
MR
52732014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5274
5275 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5276 a factor of 2 for a slow test case. Take the `gdb,timeout'
5277 target setting into account for this calculation.
5278 * gdb.reverse/until-precsave.exp: Increase the timeout by
5279 a factor of 15 and 3 respectively rather than adding 120
5280 for a pair of slow test cases. Take the `gdb,timeout'
5281 target setting into account for this calculation.
5282
4a40f85a
MR
52832014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5284
5285 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5286 timeout, don't pass one down to gdb_expect.
5287 (gdb_expect): Rework timeout selection.
5288
09635af7
MR
52892014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5290
5291 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5292 exception on timeout.
5293 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5294 (gdbserver_start_extended): Catch any `gdbserver_start' error
5295 exceptions.
5296 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5297 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5298 `gdbserver_gdb_load' error exceptions.
5299
2bdd10b7
MR
53002014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5301
5302 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5303 120 on waiting for the TCP socket to open.
5304
316935f0
DE
53052014-09-09 Doug Evans <xdje42@gmail.com>
5306
5307 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5308 _caller_matches, _any_caller_is, _any_caller_matches.
5309
83740597
DE
53102014-09-09 Doug Evans <xdje42@gmail.com>
5311
5312 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5313
4c122fc3
YQ
53142014-09-09 Yao Qi <yao@codesourcery.com>
5315
5316 * gdb.mi/mi-var-display.exp: Set print symbol off.
5317
a9f116cb
GKB
53182014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5319
5320 PR gdb/17035
5321 * gdb.base/commands.exp: Add tests to verify user-defined
5322 commands with empty bodies.
5323 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5324 python commands in `show user command`.
5325 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5326 scheme commands in `show user command`.
5327
c75bd3a2
JK
53282014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5329
5330 PR python/17355
5331 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5332 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5333 * gdb.python/py-framefilter-invalidarg.exp: New file.
5334 * gdb.python/py-framefilter-invalidarg.py: New file.
5335
faa42425
DE
53362014-09-06 Doug Evans <xdje42@gmail.com>
5337
5338 PR 15276
5339 * gdb.python/py-caller-is.c: New file.
5340 * gdb.python/py-caller-is.exp: New file.
5341
474ca4f6
SDJ
53422014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5343
5344 PR gdb/17235
5345 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5346 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5347
eb0b0463
SDJ
53482014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5349
5350 PR fortran/17237
5351 * gdb.fortran/print-formatted.exp: New file.
5352 * gdb.fortran/print-formatted.f90: Likewise.
5353
5f3b99cf
SS
53542014-09-03 Sasha Smundak <asmundak@google.com>
5355
5356 * gdb.python/py-frame.exp: Test Frame.read_register.
5357
7d793aa9
SDJ
53582014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5359
5360 PR python/16699
5361 * gdb.python/py-completion.exp: New file.
5362 * gdb.python/py-completion.py: Likewise.
5363
fb0576e9
DE
53642014-08-28 Doug Evans <dje@google.com>
5365
5366 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5367 eax,etc. are live with values set by gdb and thus the compiler can't
5368 use them.
5369 * gdb.arch/i386-pseudo.c (main): Ditto.
5370
ee92b0dd
DE
53712014-08-27 Doug Evans <dje@google.com>
5372
5373 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5374
6649db35
DE
53752014-08-25 Doug Evans <dje@google.com>
5376
5377 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5378 (main): Ditto.
5379
564b7600
DE
53802014-08-25 Doug Evans <dje@google.com>
5381
5382 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5383
3881fb67
YQ
53842014-08-24 Yao Qi <yao@codesourcery.com>
5385
5386 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5387 symbol off.
5388 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5389
a05a36a5
DE
53902014-08-22 Doug Evans <dje@google.com>
5391
5392 PR 17276
5393 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5394 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5395 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5396
7c343b48
YQ
53972014-08-22 Yao Qi <yao@codesourcery.com>
5398
5399 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5400 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5401 * gdb.python/python.exp: Likewise. Use .py file on the host
5402 instead of the build.
5403
22fd09ae
JK
54042014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5405
5406 * gdb.threads/gcore-stale-thread.c: New file.
5407 * gdb.threads/gcore-stale-thread.exp: New file.
5408
a8454a7c
PA
54092014-08-21 Pedro Alves <palves@redhat.com>
5410
5411 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5412 * gdb.base/gcore-relro-pie.exp: Likewise.
5413 * gdb.base/gcore-relro.exp: Likewise.
5414 * gdb.base/gcore.exp: Likewise.
5415 * gdb.base/print-symbol-loading.exp: Likewise.
5416 * gdb.threads/gcore-thread.exp: Likewise.
5417 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5418
2a31c623
PA
54192014-08-20 Pedro Alves <palves@redhat.com>
5420 Jan Kratochvil <jan.kratochvil@redhat.com>
5421
5422 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5423 configure.
5424 (EXPECT): Handle READ1 being set.
5425 (all): Depend on EXTRA_RULES.
5426 (check-read1, expect-read1, read1.so, read1): New rules.
5427 * README (Testsuite Parameters): Document the READ1 make variable.
5428 (Race detection): New section.
5429 * configure: Regenerate.
5430 * configure.ac: If build==host==target, and running under a
5431 GNU/glibc system, add read1 to the extra Makefile rules.
5432 (EXTRA_RULES): AC_SUBST it.
5433 * lib/read1.c: New file.
5434
d36430db
JB
54352014-08-20 Joel Brobecker <brobecker@adacore.com>
5436
5437 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5438 the handling of variables declared as a typedef to an array
5439 which a DW_AT_data_location attribute.
5440
9a0dc9e3
PA
54412014-08-19 Andrew Burgess <aburgess@broadcom.com>
5442 Pedro Alves <palves@redhat.com>
5443
5444 PR symtab/14604
5445 PR symtab/14605
5446 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5447 gdb_test.
5448
0718a8da
PA
54492014-08-19 Pedro Alves <palves@redhat.com>
5450
5451 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5452
13b448cd
YQ
54532014-08-19 Yao Qi <yao@codesourcery.com>
5454
5455 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5456 right line.
5457
1cbf5077
DB
54582014-08-18 David Blaikie <dblaikie@gmail.com>
5459
5460 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5461
bf0fae19
JB
54622014-08-18 Joel Brobecker <brobecker@adacore.com>
5463
5464 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5465 attribute in array range.
5466
3c8c5dcc
JB
54672014-08-18 Joel Brobecker <brobecker@adacore.com>
5468
5469 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5470
e66d4446
SC
54712014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5472
5473 PR c++/17132
5474 * gdb.cp/pr17132.cc: New file.
5475 * gdb.cp/pr17132.exp: New file.
5476
940df408
SC
54772014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5478
5479 * gdb.python/py-xmethods.py (A_getarrayind)
5480 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5481 Use 'print' with function call syntax.
5482 (E_method_matcher.match): Fix tab vs space indentation mixup.
5483
ebcc6c3a
YQ
54842014-08-15 Yao Qi <yao@codesourcery.com>
5485
5486 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5487 false.
5488
775e0f04
YQ
54892014-08-15 Yao Qi <yao@codesourcery.com>
5490
5491 * gdb.cp/casts.exp: Set print symbol off.
5492 * gdb.cp/class2.exp: Likewise.
5493 * gdb.cp/overload.exp: Likewise.
5494 * gdb.cp/templates.exp: Likewise.
5495
d769e349
DE
54962014-08-11 Doug Evans <dje@google.com>
5497
5498 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5499 (test_load_shlib): Update.
5500
20c6f1e1
YQ
55012014-08-09 Yao Qi <yao@codesourcery.com>
5502
5503 * gdb.base/display.exp: Invoke is_address_zero_readable.
5504 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5505 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5506 * gdb.base/hbreak-unmapped.exp: Return if
5507 is_address_zero_readable returns true.
5508 * gdb.base/signest.exp: Likewise.
5509 * gdb.base/signull.exp: Likewise.
5510 * gdb.base/sigbpt.exp: Likewise.
5511 * gdb.guile/scm-disasm.exp: Do the test if
5512 is_address_zero_readable returns false.
5513 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5514 * gdb.python/py-arch.exp: Likewise.
5515 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5516 * lib/gdb.exp (is_address_zero_readable): New proc.
5517
5792e8e3
YQ
55182014-08-09 Yao Qi <yao@codesourcery.com>
5519
5520 PR testsuite/13443
5521 * gdb.mi/mi-var-display.exp: Make test messages unique.
5522
3cecbbbe
TT
55232014-08-04 Tom Tromey <tromey@redhat.com>
5524
5525 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5526 target 0".
5527
00b51ff5
TT
55282014-08-04 Tom Tromey <tromey@redhat.com>
5529
5530 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5531 "target_resume".
5532
6908c509
JB
55332014-08-01 Joel Brobecker <brobecker@adacore.com>
5534
5535 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5536 inner_vla_struct_object_size.
5537 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5538 as xfail.
5539
cc6563d2
PA
55402014-07-30 Pedro Alves <palves@redhat.com>
5541
5542 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5543 comment.
5544
7e09a223
YQ
55452014-07-29 Yao Qi <yao@codesourcery.com>
5546
5547 PR gdb/17206
5548 * gdb.base/until-nodebug.exp: New.
5549
7ebdbe92
DE
55502014-07-28 Doug Evans <xdje42@gmail.com>
5551
5552 PR guile/17203
5553 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5554 previously existing parameter, and previously ambiguously spelled
5555 parameter.
5556
fdb1adc6
WN
55572014-07-28 Will Newton <will.newton@linaro.org>
5558
5559 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5560
186fcde0
DE
55612014-07-26 Ludovic Courtès <ludo@gnu.org>
5562 Doug Evans <xdje42@gmail.com>
5563
5564 PR guile/17146
5565 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5566
70509625
PA
55672014-07-25 Pedro Alves <palves@redhat.com>
5568
5569 * gdb.threads/signal-command-handle-nopass.c: New file.
5570 * gdb.threads/signal-command-handle-nopass.exp: New file.
5571 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5572 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5573 * gdb.threads/signal-delivered-right-thread.c: New file.
5574 * gdb.threads/signal-delivered-right-thread.exp: New file.
5575
c3f814a1
PA
55762014-07-25 Pedro Alves <palves@redhat.com>
5577
5578 * gdb.base/double-prompt-target-event-error.exp
5579 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5580 match.
5581 (cancel_pagination_in_target_event): Rework double prompt
5582 detection.
5583 * gdb.base/paginate-after-ctrl-c-running.exp
5584 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5585 <return>' match.
5586 * gdb.base/paginate-bg-execution.exp
5587 (test_bg_execution_pagination_return)
5588 (test_bg_execution_pagination_cancel): Remove '-notransfer
5589 <return>' matches.
5590 * gdb.base/paginate-execution-startup.exp
5591 (test_fg_execution_pagination_return)
5592 (test_fg_execution_pagination_cancel): Remove '-notransfer
5593 <return>' matches.
5594 * gdb.base/paginate-inferior-exit.exp
5595 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5596 match.
5597 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5598 * lib/gdb.exp (pagination_prompt): Run text through
5599 string_to_regexp.
5600 (gdb_test_multiple): Match $pagination_prompt instead of
5601 "<return>".
5602 (string_to_regexp): Move to lib/gdb-utils.exp.
5603
e214cf6c
JK
56042014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5605
5606 * gdb.arch/amd64-entry-value-paramref.S: New file.
5607 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5608 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5609 * gdb.arch/amd64-optimout-repeat.S: New file.
5610 * gdb.arch/amd64-optimout-repeat.c: New file.
5611 * gdb.arch/amd64-optimout-repeat.exp: New file.
5612
17d0c5c8
JK
56132014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5614
5615 PR gdb/17170
5616 * gdb.base/statistics.exp: New file.
5617
b8b8facf
DE
56182014-07-17 Doug Evans <dje@google.com>
5619
74b49205 5620 PR gdb/17170
b8b8facf
DE
5621 * gdb.base/maint.exp: Update testing of per-command stats.
5622
1b5d0ab3
PA
56232014-07-16 Pedro Alves <palves@redhat.com>
5624
5625 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5626 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5627 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5628 (tfile_write_buf): New functions.
5629 (add_memory_block): Rewrite using the above.
5630 (adjust_function_address): New function.
5631 (FUNCTION_ADDRESS): New macro.
5632 (write_basic_trace_file): Remove short_x local, and use
5633 tfile_write_16. Change type of func_addr local to unsigned long
5634 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5635 here. Cast argument of add_memory_block to char pointer.
5636 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5637 (main): Remove parameters.
5638 * gdb.trace/tfile.exp: Remove nowarnings.
5639
4d974e88
SM
56402014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5641
5642 * gdb.base/debug-expr.exp: Test string evaluation with
5643 "debug expression" on.
5644
41e99568
PA
56452014-07-15 Pedro Alves <palves@redhat.com>
5646
5647 * gdb.base/reread.exp: Use clean_restart.
5648
487d9753
PL
56492014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5650
5651 * gdb.arch/avr-flash-qualifer.c: New.
5652 * gdb.arch/avr-flash-qualifer.exp: New.
5653
cc1c52ad
PA
56542014-07-14 Pedro Alves <palves@redhat.com>
5655
5656 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5657 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5658
1e973570
PA
56592014-07-14 Pedro Alves <palves@redhat.com>
5660
5661 * gdb.base/double-prompt-target-event-error.c: New file.
5662 * gdb.base/double-prompt-target-event-error.exp: New file.
5663
93d6eb10
PA
56642014-07-14 Pedro Alves <palves@redhat.com>
5665
5666 PR gdb/17072
5667 * gdb.base/paginate-inferior-exit.c: New file.
5668 * gdb.base/paginate-inferior-exit.exp: New file.
5669
0017922d
PA
56702014-07-14 Pedro Alves <palves@redhat.com>
5671
5672 PR gdb/17072
5673 * gdb.base/paginate-bg-execution.c: New file.
5674 * gdb.base/paginate-bg-execution.exp: New file.
5675
94696ad3
PA
56762014-07-14 Pedro Alves <palves@redhat.com>
5677
5678 PR gdb/17072
5679 * gdb.base/paginate-execution-startup.c: New file.
5680 * gdb.base/paginate-execution-startup.exp: New file.
5681 * lib/gdb.exp (pagination_prompt): New global.
5682 (default_gdb_spawn): New procedure, factored out from
5683 default_gdb_spawn.
5684 (default_gdb_start): Adjust to call default_gdb_spawn.
5685 (gdb_spawn): New procedure.
5686
bd293940
PA
56872014-07-14 Pedro Alves <palves@redhat.com>
5688
5689 * lib/gdb.exp (gdb_assert): New procedure.
5690 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5691
c933f875
PA
56922014-07-14 Pedro Alves <palves@redhat.com>
5693
5694 * gdb.base/execution-termios.c: New file.
5695 * gdb.base/execution-termios.exp: New file.
5696
d98b7a16
TT
56972014-07-14 Tom Tromey <tromey@redhat.com>
5698
5699 * gdb.cp/vla-cxx.cc: New file.
5700 * gdb.cp/vla-cxx.exp: New file.
5701
548740d6
TT
57022014-07-14 Tom Tromey <tromey@redhat.com>
5703
5704 * gdb.reverse/rerun-prec.c: New file.
5705 * gdb.reverse/rerun-prec.exp: New file.
5706
a25eb028
MR
57072014-07-12 Maciej W. Rozycki <macro@mips.com>
5708 Maciej W. Rozycki <macro@codesourcery.com>
5709
5710 * lib/gdb-utils.exp: New file.
5711 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5712 inline `gdb_init_command' processing.
5713 (gdb_start_cmd): Likewise.
5714 * lib/mi-support.exp (mi_run_cmd): Likewise.
5715 * README: Document `gdb_init_command' and `gdb_init_commands'.
5716
218c2655
JK
57172014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5718
5719 Fix false FAIL running under a very long directory name.
5720 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5721 and "set print elements 10000". Twice.
5722
5401fde3
YQ
57232014-07-11 Yao Qi <yao@codesourcery.com>
5724
5725 * gdb.base/exprs.exp: "set print symbol off".
5726
e76126e8
PA
57272014-07-11 Pedro Alves <palves@redhat.com>
5728
5729 * gdb.threads/kill.c: New file.
5730 * gdb.threads/kill.exp: New file.
5731
2d6f0de6
YQ
57322014-07-10 Yao Qi <yao@codesourcery.com>
5733
5734 * gdb.trace/tfile.c (write_basic_trace_file)
5735 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5736 address written to trace file.
5737
7180e04a
PA
57382014-07-09 Pedro Alves <palves@redhat.com>
5739
5740 * gdb.base/attach-wait-input.exp: New file.
5741 * gdb.base/attach-wait-input.c: New file.
5742
9a9a7608
AB
57432014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5744
5745 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5746 setting up test structures.
5747 (main): Call new test function.
5748 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5749 test function, continue into test function and walk test
5750 structures.
5751
161ac41e
YQ
57522014-07-02 Yao Qi <yao@codesourcery.com>
5753
5754 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5755 'bar_start' at the beginning of functions 'foo' and 'bar'
5756 respectively.
5757 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5758 instead of 'foo' and 'bar'.
5759
1f267ae3
MM
57602014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5761
5762 * gdb.btrace/segv.exp: New.
5763 * gdb.btrace/segv.c: New.
5764
2b239efb
LM
57652014-07-02 Luis Machado <lgustavo@codesourcery.com>
5766
5767 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5768 instruction.
5769
cf363f18
MW
57702014-06-30 Mark Wielaard <mjw@redhat.com>
5771
5772 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5773 vulture, vilify, villar): New volatile array constants.
5774 (vindictive, vegetation): New const volatile array constants.
5775 * gdb.base/volatile.exp: Test volatile and const volatile array
5776 types.
5777
aebf9d24
AA
57782014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5779
5780 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5781 target lacks support for awatch, rwatch, or hbreak.
5782
b67a2c6f
YQ
57832014-06-27 Yao Qi <yao@codesourcery.com>
5784
5785 * gdb.multi/dummy-frame-restore.exp: New.
5786 * gdb.multi/dummy-frame-restore.c: New.
5787
aef92902
MM
57882014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5789
5790 * gdb.btrace/gcore.exp: New.
5791
8e9db26e
PA
57922014-06-23 Pedro Alves <palves@redhat.com>
5793
5794 * gdb.base/watchpoint-reuse-slot.c: New file.
5795 * gdb.base/watchpoint-reuse-slot.exp: New file.
5796
70afc5b7
SC
57972014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5798
5799 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5800 progspace's filename in 'info', 'enable' and 'disable' command
5801 tests.
5802
b972bd9c
JK
58032014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5804
5805 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5806 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5807 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5808
125f8a3d
GB
58092014-06-20 Gary Benson <gbenson@redhat.com>
5810
5811 * gdb.arch/i386-avx.exp: Fix include file location.
5812 * gdb.arch/i386-sse.exp: Likewise.
5813
3ed9baed
IB
58142014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5815
5816 * gdb.dlang/expression.exp: New file.
5817
034f788c
PA
58182014-06-19 Pedro Alves <palves@redhat.com>
5819
5820 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5821 out from ...
5822 (top level): ... here. Iterate running tests under different
5823 scheduler-locking settings.
5824
45371d0c
LM
58252014-06-18 Luis Machado <lgustavo@codesourcery.com>
5826
5827 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5828 to DW_FORM_addr and use non-zero addresses.
5829
5d376983
SC
58302014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5831
5832 PR gdb/17017
5833 * gdb.python/py-xmethods.cc: Add global function call counters and
5834 increment them in their respective functions. Remove "cout"
5835 statements.
5836 * gdb.python/py-xmethods.exp: Make tests check the global function
5837 call counters instead of depending on inferior IO.
5838
a1aa2221
LM
58392014-06-18 Don Breazeal <donb@codesourcery.com>
5840
5841 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5842 Deleted procedure.
5843 (explicit_fork_parent_follow): Deleted procedure.
5844 (explicit_fork_child_follow): Deleted procedure.
5845 (test_follow_fork): New procedure.
5846 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5847 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5848 procedure calls.
5849
0fc05997
YQ
58502014-06-17 Yao Qi <yao@codesourcery.com>
5851
5852 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5853 CP1252.
5854
70795c52
LM
58552014-06-17 Luis Machado <lgustavo@codesourcery.com>
5856
5857 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5858 Initialize ptr and S explicitly.
5859 (skip_type_update_when_not_use_rtti_test): Likewise.
5860
6be47f0c
KS
58612014-06-16 Keith Seitz <keiths@redhat.com>
5862
5863 PR mi/15863
5864 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5865 the inferior is started.
5866
d03de421
PA
58672014-06-16 Pedro Alves <palves@redhat.com>
5868
5869 * gdb.base/break-main-file-remove-fail.c: New file.
5870 * gdb.base/break-main-file-remove-fail.exp: New file.
5871 * gdb.base/break-unload-file.exp: Use build_executable instead of
5872 prepare_for_testing.
5873 (test_break): New parameter "initial_load". Handle it.
5874 (top level): Add initial_load cmdline/file axis.
5875
f9579b99
TT
58762014-06-12 Tom Tromey <tromey@redhat.com>
5877
5878 * gdb.base/completion.exp: Don't use directory name in test.
5879
3657956b
GB
58802014-06-09 Gary Benson <gbenson@redhat.com>
5881
5882 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5883 separate the always-available ANSI-standard signals from the
5884 signals that require checking.
5885 (main): Likewise.
5886 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5887 Likewise.
5888 (main): Likewise.
5889
4186eb54
KS
58902014-06-07 Keith Seitz <keiths@redhat.com>
5891
5892 Revert:
5893 PR c++/16253
5894 * gdb.cp/var-tag.cc: New file.
5895 * gdb.cp/var-tag.exp: New file.
5896 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5897 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5898 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5899 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5900
25326a28 59012014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
5902
5903 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5904
829155c9
PA
59052014-06-06 Pedro Alves <palves@redhat.com>
5906
5907 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5908 in target debug output instead of looking at RSP packets,
5909 disabling the test on any target that uses hardware stepping.
5910 Update comments.
5911
61c8d22e
PA
59122014-06-06 Pedro Alves <palves@redhat.com>
5913
5914 * gdb.base/break-unload-file.exp: Fix typo.
5915
d9a47287
YQ
59162014-06-06 Yao Qi <yao@codesourcery.com>
5917
5918 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5919 from "jit_function" to "^jit_function".
5920
e5e01dbf
YQ
59212014-06-06 Yao Qi <yao@codesourcery.com>
5922
5923 * gdb.base/async.c (foo): Add one statement.
5924 * gdb.base/async.exp: Get the next instruction address and
5925 match the output of "nexti" by instruction address. Match
5926 the hex address in the output of "finish".
5927
73ba372c
GB
59282014-06-06 Gary Benson <gbenson@redhat.com>
5929
5930 * gdb.base/call-signals.c: Remove preprocessor conditionals
5931 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5932 SIGSEGV and SIGTERM.
5933 * gdb.base/sigall.c: Likewise.
5934 * gdb.base/unwindonsignal.c: Likewise.
5935 * gdb.reverse/sigall-reverse.c: Likewise.
5936
831517df
YQ
59372014-06-06 Yao Qi <yao@codesourcery.com>
5938
5939 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5940 readable, skip the test.
5941
b8b91e98
YQ
59422014-06-06 Yao Qi <yao@codesourcery.com>
5943
5944 * gdb.threads/staticthreads.c (thread_function): Move the line
5945 setting breakpoint on forward.
5946 * gdb.threads/staticthreads.exp: Update comments.
5947
fb934770
LC
59482014-06-05 Ludovic Courtès <ludo@gnu.org>
5949
5950 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5951 "history-append! type error".
5952
6ef284bd
SM
59532014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5954
5955 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5956 erroneous dprintf expected input.
5957
a872e241
DE
59582014-06-04 Doug Evans <xdje42@gmail.com>
5959
5960 * gdb.guile/scm-generics.exp: Delete.
5961
16f691fb
DE
59622014-06-04 Doug Evans <xdje42@gmail.com>
5963
5964 * gdb.guile/scm-breakpoint.exp: Update.
5965 Add tests for breakpoint registration.
5966
012370f6
TT
59672014-06-04 Tom Tromey <tromey@redhat.com>
5968
5969 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5970 VLA-in-union.
5971 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5972 inner_vla_struct, vla_union types. Initialize objects of those
5973 types and compute their sizes.
5974
9f5a4cef
HZ
59752014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5976 Hui Zhu <hui@codesourcery.com>
5977
5978 * gdb.base/fileio.exp: Add test for shell not available as well as
5979 available.
5980 * gdb.base/fileio.c (test_system): Check for shell twice.
5981
90a45c4d
YQ
59822014-06-04 Yao Qi <yao@codesourcery.com>
5983
5984 * gdb.base/auto-connect-native-target.exp: Remove redundant
5985 space from the regexp pattern.
5986
70017e41
YQ
59872014-06-04 Yao Qi <yao@codesourcery.com>
5988
5989 * gdb.base/default.exp: Replace "child" with "native" in
5990 regexp pattern.
5991
883964a7
SC
59922014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5993
5994 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5995 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5996 * gdb.python/py-xmethods.py: Python script supporting the
5997 new testcase and tests.
5998
ef370185
JB
59992014-06-03 Joel Brobecker <brobecker@adacore.com>
6000 Pedro Alves <palves@redhat.com>
6001
6002 PR breakpoints/17000
6003 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6004 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6005
1e2ccb61
BM
60062014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6007
6008 * gdb.base/subst.exp: Add tests to verify partial path matching
6009 output.
6010
c6ec5ab2
PA
60112014-06-03 Pedro Alves <palves@redhat.com>
6012
6013 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6014 target that doesn't use software single-stepping.
6015
835c559f
PA
60162014-06-03 Pedro Alves <palves@redhat.com>
6017
6018 PR breakpoints/17000
6019 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6020 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6021
06eb1586
DE
60222014-06-02 Doug Evans <xdje42@gmail.com>
6023
6024 * gdb.guile/scm-parameter.exp: New file.
6025
e698b8c4
DE
60262014-06-02 Doug Evans <xdje42@gmail.com>
6027
6028 * gdb.guile/scm-cmd.c: New file.
6029 * gdb.guile/scm-cmd.exp: New file.
6030
ded03782
DE
60312014-06-02 Doug Evans <xdje42@gmail.com>
6032
6033 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6034 pretty-printer lookup.
6035 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6036 (make-pp_s-printer): Call it.
6037 (make-pretty-printer-from-dict): New function.
6038 (lookup-pretty-printer-maker-from-dict): New function.
6039 (*pretty-printer*): Simplify.
6040 (make-objfile-pp_s-printer): New function.
6041 (install-objfile-pretty-printers!): New function.
6042 (make-progspace-pp_s-printer): New function.
6043 (install-progspace-pretty-printers!): New function.
6044 * gdb.guile/scm-progspace.c: New file.
6045 * gdb.guile/scm-progspace.exp: New file.
6046
41fac0cf
PA
60472014-06-02 Pedro Alves <palves@redhat.com>
6048
6049 * gdb.base/dprintf-bp-same-addr.c: New file.
6050 * gdb.base/dprintf-bp-same-addr.exp: New file.
6051
96ae5695
EBM
60522014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6053
6054 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6055 * gdb.arch/powerpc-power.s: Likewise.
6056
da02b3a8
JB
60572014-06-02 Joel Brobecker <brobecker@adacore.com>
6058
6059 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6060
c72b2e7b
YQ
60612014-06-01 Yao Qi <yao@codesourcery.com>
6062
6063 * gdb.base/watchpoint.exp (test_watch_location): Check null
6064 pointer can be dereferenced. If not, do the test, otherwise
6065 skip it.
6066
53e8a631
AB
60672014-05-30 Andrew Burgess <aburgess@broadcom.com>
6068
6069 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6070 results.
6071 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6072
938f0e2f
AB
60732014-05-30 Andrew Burgess <aburgess@broadcom.com>
6074
6075 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6076 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6077 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6078 * gdb.arch/amd64-invalid-stack-top.c: New file.
6079 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6080
9ba6657a
PA
60812014-05-30 Pedro Alves <palves@redhat.com>
6082
6083 PR breakpoints/17000
6084 * gdb.base/sss-bp-on-user-bp.c: New file.
6085 * gdb.base/sss-bp-on-user-bp.exp: New file.
6086
522c09bf
DB
60872014-05-30 David Blaikie <dblaikie@gmail.com>
6088
6089 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6090 gnu_inline semantics via attribute.
6091 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6092 source explicitly specifies the required semantics.
6093
bf4ef81e
MR
60942014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6095
6096 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6097
329ea579
PA
60982014-05-29 Pedro Alves <palves@redhat.com>
6099 Tom Tromey <tromey@redhat.com>
6100
6101 * gdb.base/async-shell.exp: Don't enable target-async.
6102 * gdb.base/async.exp
6103 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6104 parameter. Adjust.
6105 (top level): Don't test with "target-async".
6106 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6107 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6108 * gdb.base/inferior-died.exp: Don't enable target-async.
6109 * gdb.base/interrupt-noterm.exp: Likewise.
6110 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6111 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6112 * gdb.mi/mi-nonstop.exp: Likewise.
6113 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6114 * gdb.mi/mi-nsintrall.exp: Likewise.
6115 * gdb.mi/mi-nsmoribund.exp: Likewise.
6116 * gdb.mi/mi-nsthrexec.exp: Likewise.
6117 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6118 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6119 * gdb.python/py-evsignal.exp: Don't enable target-async.
6120 * gdb.python/py-evthreads.exp: Likewise.
6121 * gdb.python/py-prompt.exp: Likewise.
6122 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6123 * gdb.server/solib-list.exp: Don't enable target-async.
6124 * gdb.threads/thread-specific-bp.exp: Likewise.
6125 * lib/mi-support.exp: Adjust to use mi-async.
6126
fd664c91
PA
61272014-05-29 Pedro Alves <palves@redhat.com>
6128
6129 PR gdb/13860
6130 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6131 reason, even in sync mode.
6132
251bde03
PA
61332014-05-29 Pedro Alves <palves@redhat.com>
6134 Hui Zhu <hui@codesourcery.com>
6135
6136 PR PR15693
6137 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6138 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6139 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6140 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6141
7f3c0343
JB
61422014-05-28 Joel Brobecker <brobecker@adacore.com>
6143
6144 * config/monitor.exp (gdb_target_monitor): Replace use of
6145 "set remotebaud" by "set serial baud".
6146
b2715b27
AW
61472014-05-26 Andy Wingo <wingo@igalia.com>
6148
6149 * gdb.guile/scm-breakpoint.exp:
6150 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6151 properties instead of gdb-object-properties.
6152
498a4489
YQ
61532014-05-26 Yao Qi <yao@codesourcery.com>
6154
6155 * gdb.server/no-thread-db.exp: Specify source file name
6156 explicitly when setting a breakpoint.
6157
589fdceb
MM
61582014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6159
6160 * gdb.btrace/vdso.c: New.
6161 * gdb.btrace/vdso.exp: New.
6162
e9089e05
MM
61632014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6164
6165 * gdb.base/gcore.exp (capture_command_output): Move ...
6166 * lib/gdb.exp (capture_command_output): ... here.
6167
67b5c0c1
MM
61682014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6169
6170 * gdb.btrace/data.exp: Test memory access during btrace replay.
6171
a2199296
SM
61722014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6173
6174 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6175
17b2616c
PA
61762014-05-21 Pedro Alves <palves@redhat.com>
6177
6178 PR gdb/13860
6179 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6180 (top level): Test that output related to execution commands is
6181 sent to the console with CLI commands, but not with MI commands.
6182 Test that breakpoint events are always mirrored to the console.
6183 Also expect the new source line to be output after a "next" in
6184 async mode too. Make it a pass/fail test.
6185 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6186 output.
6187 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6188
5166082f
PA
61892014-05-21 Pedro Alves <palves@redhat.com>
6190
6191 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6192 Use them to test variations of "list" after reaching a breakpoint.
6193 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6194 Test "list" with listsize 10 after reaching a breakpoint.
6195 * gdb.python/python.exp (decode_line current location line
6196 number): Adjust expected line number.
6197
2f25d70f
SM
61982014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6199
6200 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6201 behavior for $args, pass it directly to "run".
6202
ff604a67
MR
62032014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6204
6205 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6206 30000 to 65536.
6207
6a3cb8e8
PA
62082014-05-21 Pedro Alves <palves@redhat.com>
6209
6210 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6211 auto-connect-native-target off".
6212 * gdb.base/auto-connect-native-target.c: New file.
6213 * gdb.base/auto-connect-native-target.exp: New file.
6214
4ebfc96e
PA
62152014-05-21 Pedro Alves <palves@redhat.com>
6216
6217 * gdb.base/default.exp: Test "target native" instead of "target
6218 child".
6219
36d46afb
MW
62202014-05-21 Mark Wielaard <mjw@redhat.com>
6221
6222 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6223
5876f503
JK
62242014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6225
6226 Fix TLS access for -static -pthread.
6227 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6228 <HAVE_TLS> (thread_function, main): Initialize it.
6229 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6230 Add clean_restart.
6231 <$have_tls != "">: Check TLSVAR.
6232
0256a6ac
PA
62332014-05-21 Pedro Alves <palves@redhat.com>
6234
6235 * gdb.base/dcache-line-read-error.c: New.
6236 * gdb.base/dcache-line-read-error.exp: New.
6237
936d2992
PA
62382014-05-20 Pedro Alves <palves@redhat.com>
6239
6240 * gdb.base/compare-sections.c: New file.
6241 * gdb.base/compare-sections.exp: New file.
6242
802e8e6d
PA
62432014-05-20 Pedro Alves <palves@redhat.com>
6244
6245 * gdb.base/break-idempotent.c: New file.
6246 * gdb.base/break-idempotent.exp: New file.
6247
e59fa00f
MM
62482014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6249
6250 * gdb.btrace/nohist.exp: New.
6251
8b696e31
YQ
62522014-05-20 Yao Qi <yao@codesourcery.com>
6253
6254 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6255 gdb.reverse directory and gdb_reverse_timeout exists in board
6256 setting.
6257 * README: Document gdb_reverse_timeout.
6258
73c9764f
YQ
62592014-05-20 Yao Qi <yao@codesourcery.com>
6260
6261 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6262 'test_file_name'. Treat args as a string instead of a list.
6263 (gdb_init): Rename argument 'args' by 'test_file_name'.
6264
f1f4348a
JK
62652014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6266
6267 * gdb.arch/powerpc-power.exp: New file.
6268 * gdb.arch/powerpc-power.s: New file.
6269
0dbe70ce
DE
62702014-05-16 Doug Evans <dje@google.com>
6271
6272 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6273 * gdb.base/completion.exp: Check that all expected files exist
6274 before doing file completion.
0dbe70ce 6275
8d551b02
DE
62762014-05-16 Doug Evans <dje@google.com>
6277
6278 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6279 Update.
6280 (do_syscall_tests_without_xml): Update.
6281
73eb7709
PA
62822014-05-16 Pedro Alves <palves@redhat.com>
6283
6284 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6285 instead of "unknown output after running".
6286
3fae92fc
YQ
62872014-05-16 Yao Qi <yao@codesourcery.com>
6288
6289 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6290 file1.txt from host at the end.
6291 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6292
c2b2ccc5
DE
62932014-05-15 Doug Evans <dje@google.com>
6294
6295 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6296 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6297 loading file. Add test for TU lookup.
6298
8c217a4b
SM
62992014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6300
6301 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6302 calling "-exec-arguments" or "set args" before running the
6303 inferior.
6304
3deb39c6
SM
63052014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6306
6307 * lib/mi-support.exp (mi_expect_stop): Expect message for
6308 inferiors that exit with non-zero exit code.
6309
71a79f8c
YQ
63102014-05-14 Yao Qi <yao@codesourcery.com>
6311
6312 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6313 match absolute path on remote host.
6314 (test_file_list_exec_source_files): Remove "/" from the
6315 pattern.
6316
f23fcd46
YQ
63172014-05-14 Yao Qi <yao@codesourcery.com>
6318
6319 * boards/local-remote-host-notty.exp (${board}_file): New
6320 proc.
6321
9404b58f
KM
63222014-05-07 Kyle McMartin <kyle@redhat.com>
6323
6324 Pushed by Joel Brobecker <brobecker@adacore.com>.
6325 * gdb.arch/aarch64-atomic-inst.c: New file.
6326 * gdb.arch/aarch64-atomic-inst.exp: New file.
6327
5e45f04c
YQ
63282014-05-07 Yao Qi <yao@codesourcery.com>
6329
6330 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6331 in current context" too.
6332
c888a17d
KS
63332014-05-05 Keith Seitz <keiths@redhat.com>
6334
6335 * gdb.linespec/ls-dollar.exp: Add test for linespec
6336 file:convenience_variable.
6337
290a839c
YQ
63382014-05-05 Yao Qi <yao@codesourcery.com>
6339
6340 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6341 traceframes into tfile and ctf trace files. Read data from
6342 trace file and test collected data.
6343 (gdb_collect_locals_test): Likewise.
6344 (gdb_unavailable_registers_test): Likewise.
6345 (gdb_unavailable_floats): Likewise.
6346 (gdb_collect_globals_test): Likewise.
6347 (top-level): Append "ctf" to trace_file_targets if GDB
6348 supports.
6349
b5262cd0
YQ
63502014-05-05 Yao Qi <yao@codesourcery.com>
6351
6352 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6353 code to ...
6354 (gdb_collect_args_test_1): ... it. New proc.
6355 (gdb_collect_locals_test): Move some code to ...
6356 (gdb_collect_locals_test_1): ... it. New proc.
6357 (gdb_unavailable_registers_test): Move some code to ...
6358 (gdb_unavailable_registers_test_1): ... it. New proc.
6359 (gdb_unavailable_floats): Move some code to ...
6360 (gdb_unavailable_floats_1): ... it. New proc.
6361
30a1e6cc
SDJ
63622014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6363
6364 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6365 probes to test for bitness recognition.
6366 * gdb.arch/amd64-stap-optional-prefix.exp
6367 (test_probe_value_without_reg): New procedure.
6368 Add code to test for different kinds of bitness.
6369
f33da99a
SDJ
63702014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6371
6372 PR breakpoints/16889
6373 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6374 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6375
5b80f00d
PA
63762014-05-01 Pedro Alves <palves@redhat.com>
6377
6378 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6379 gdb_file_cmd if no file is specified.
6380 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6381 last_loaded_file to set the remote exec-file.
6382
f8c2a73c
PA
63832014-05-01 Pedro Alves <palves@redhat.com>
6384
6385 * boards/local-remote-host.exp: New file.
6386
be6e8ac7
PA
63872014-05-01 Pedro Alves <palves@redhat.com>
6388
6389 * boards/local-remote-host.exp: Rename to ...
6390 * boards/local-remote-host-notty.exp: ... this.
6391
cac0dc8f
JB
63922014-04-28 Joel Brobecker <brobecker@adacore.com>
6393
6394 * gdb.ada/dyn_arrayidx: New testcase.
6395
9730e6cc
YQ
63962014-04-26 Yao Qi <yao@codesourcery.com>
6397
6398 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6399 and compute the length of function main. Save it in
6400 $main_length.
6401 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6402 (top-level): Use gdb_compile to compile objects into
6403 executable and restart GDB. Remove invocation to
6404 prepare_for_testing.
6405
7ae1a6a6
PA
64062014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6407 Pedro Alves <palves@redhat.com>
6408
6409 PR server/16255
6410 * gdb.multi/multi-attach.c: New file.
6411 * gdb.multi/multi-attach.exp: New file.
6412
4082afcc
PA
64132014-04-25 Pedro Alves <palves@redhat.com>
6414
6415 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6416 user.
6417 (top level): Test that "set remote conditional-breakpoints-packet
6418 off" works as intended.
6419 * gdb.base/dprintf.exp: Test that "set remote
6420 breakpoint-commands-packet off" works as intended.
6421 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6422 New function.
6423 (top level): Call it.
6424 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6425 remote fast-tracepoints-packet off" works as intended.
6426 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6427 * lib/gdb.exp (gdb_is_target_remote): ... here.
6428
2abc3f8d
DB
64292014-04-24 David Blaikie <dblaikie@gmail.com>
6430
6431 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6432 ensure clang would not discard them.
6433 * gdb.base/gdbvars.c: Ditto.
6434 * gdb.base/memattr.c: Ditto.
6435 * gdb.base/whatis.c: Ditto.
6436 * gdb.python/py-prettyprint.c: Ditto.
6437 * gdb.trace/actions.c: Ditto.
6438 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6439 ensure clang would not discard it.
6440
bfd39632
DB
64412014-04-24 David Blaikie <dblaikie@gmail.com>
6442
6443 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6444 clang to emit the full definition of type required by the test
6445 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6446
22842ff6
DB
64472014-04-24 David Blaikie <dblaikie@gmail.com>
6448
6449 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6450 coax Clang into emitting the definition of the type.
6451 * gdb.cp/pr10728-x.h (y): Ditto.
6452 * gdb.cp/pr10728-y.cc (y): Ditto.
6453
c2e827ad
DB
64542014-04-24 David Blaikie <dblaikie@gmail.com>
6455
6456 * gdb.base/label.exp: XFAIL label related tests under Clang.
6457 * gdb.cp/cplabel.exp: Ditto.
6458 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6459 under Clang those using labels.
6460
4c2d33e7
YQ
64612014-04-25 Yao Qi <yao@codesourcery.com>
6462
6463 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6464 double_label.
6465 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6466 partial_label and double_label.
6467
56083b99
DB
64682014-04-24 David Blaikie <dblaikie@gmail.com>
6469
6470 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6471
25d4e99d
DB
64722014-04-24 David Blaikie <dblaikie@gmail.com>
6473
6474 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6475 of the function to work across GCC and Clang.
6476 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6477 pointer types (const void ** const V void **).
6478
01f9f808
MS
64792014-04-24 Michael Sturm <michael.sturm@mintel.com>
6480 Walfred Tedeschi <walfred.tedeschi@intel.com>
6481
6482 * Makefile.in (EXECUTABLES): Added i386-avx512.
6483 * gdb.arch/i386-avx512.c: New file.
6484 * gdb.arch/i386-avx512.exp: Likewise.
6485
4b48d439
KS
64862014-04-23 Keith Seitz <keiths@redhat.com>
6487
6488 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6489 (mi_make_breakpoint_table): New procedure.
6490 (mi_create_breakpoint): Use mi_make_breakpoint
6491 and return the result.
6492 (mi_make_breakpoint): New procedure.
6493 (mi_build_kv_pairs): New procedure.
6494
6495 * gdb.mi/mi-break.exp: Remove unused globals,
6496 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6497 All callers updated.
6498 * gdb.mi/mi-dprintf.exp: Use variable to track command
6499 number.
6500 Update all callers of mi_create_breakpoint and use
6501 mi_make_breakpoint_table.
6502 Remove any unused global variables.
6503 * gdb.mi/mi-nonstop.exp: Likewise.
6504 * gdb.mi/mi-nsintrall.exp: Likewise.
6505 * gdb.mi/mi-nsmoribund.exp: Likewise.
6506 * gdb.mi/mi-nsthrexec.exp: Likewise.
6507 * gdb.mi/mi-reverse.exp: Likewise.
6508 * gdb.mi/mi-simplerun.exp: Likewise.
6509 * gdb.mi/mi-stepn.exp: Likewise.
6510 * gdb.mi/mi-syn-frame.exp: Likewise.
6511 * gdb.mi/mi-until.exp: Likewise.
6512 * gdb.mi/mi-var-cp.exp: Likewise.
6513 * gdb.mi/mi-var-display.exp: Likewise.
6514 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6515 * gdb.mi/mi2-var-child.exp: Likewise.
6516 * gdb.mi/mi-vla-c99.exp: Likewise.
6517 * lib/mi-support.exp: Likewise.
6518
6519 From Ian Lance Taylor <iant@cygnus.com>:
6520 * lib/gdb.exp (parse_args): New procedure.
6521
08351840
PA
65222014-04-23 Pedro Alves <palves@redhat.com>
6523
6524 * gdb.base/break-unload-file.c: New file.
6525 * gdb.base/break-unload-file.exp: New file.
6526 * gdb.base/sym-file-lib.c (baz): New function.
6527 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6528 field.
6529 (load): Store the segment's mapped size.
6530 (unload): New function.
6531 (unload_shlib): New function.
6532 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6533 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6534 set a breakpoint at baz, and call it.
6535 * gdb.base/sym-file.exp: New tests for stale breakpoint
6536 instructions.
6537
076855f9
PA
65382014-04-23 Pedro Alves <palves@redhat.com>
6539
6540 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6541 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6542 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6543 * gdb.base/hbreak-unmapped.c: New file.
6544 * gdb.base/hbreak-unmapped.exp: New file.
6545 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6546 * lib/gdb.exp (gdb_is_target_remote): ... here.
6547
483805cf
PA
65482014-04-22 Pedro Alves <palves@redhat.com>
6549
6550 * gdb.base/consecutive-step-over.c: New file.
6551 * gdb.base/consecutive-step-over.exp: New file.
6552
06d97543
PA
65532014-04-22 Pedro Alves <palves@redhat.com>
6554
6555 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6556 instead of send_gdb/gdb_expect.
6557
b4429ea2
YQ
65582014-04-22 Yao Qi <yao@codesourcery.com>
6559
6560 * lib/trace-support.exp (generate_tracefile): New procedure.
6561 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6562 return 0.
6563 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6564 if generate_tracefile returns 1.
6565
51d48146
PA
65662014-04-18 Tom Tromey <palves@redhat.com>
6567 Pedro alves <tromey@redhat.com>
6568
6569 PR backtrace/15558
6570 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6571 with a backtrace limit.
6572 * gdb.python/py-frame-inline.exp: Test running to an inline
6573 function with a backtrace limit, and printing the newest frame.
6574 * gdb.python/py-frame-inline.c (main): Call f.
6575
bd1dce5f
MS
65762014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6577
6578 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6579
40d1a503
MS
65802014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6581
6582 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6583 Drop prefix from unsupported source file path.
6584
389b98f7
YQ
65852014-04-17 Yao Qi <yao@codesourcery.com>
6586
6587 * lib/gdb.exp (with_target_charset): New proc.
6588 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6589 with_target_charset.
6590 (test_print_strings): Likewise.
6591 (test_repeat_bytes): Likewise.
6592 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6593 for some tests.
6594
22869d73
KS
65952014-04-16 Keith Seitz <keiths@redhat.com>
6596
6597 PR gdb/15827
6598 * gdb.dwarf2/corrupt.c: New file.
6599 * gdb.dwarf2/corrupt.exp: New file.
6600
c4f87ca6
KS
66012014-04-16 Keith Seitz <keiths@redhat.com>
6602
6603 PR c++/16597
6604 * gdb.cp/namelessclass.cc: New file.
6605 * gdb.cp/namelessclass.exp: New file.
6606 * gdb.cp/namelessclass.S: New file.
6607
ab19de87
DE
66082014-04-16 Doug Evans <dje@google.com>
6609
6610 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6611 Add comment.
6612 (gdbserver_default_get_comm_port): New function.
6613 (gdbserver_start): Check if board file provided
6614 "gdbserver,get_comm_port" and use it if so.
6615 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6616 (gdb,socketport): Set to "stdio".
6617 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6618 (stdio_gdbserver_template): Delete.
6619 (${board}_get_remote_address): Update.
6620 (${board}_build_remote_cmd): Delete.
6621 (${board}_get_comm_port): New function.
6622 (${board}_spawn): Update.
6623 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6624 Delete.
6625 (${board}_get_remote_address): Update.
6626 (${board}_get_comm_port): New function.
6627
fc98a809
AB
66282014-04-16 Andrew Burgess <aburgess@broadcom.com>
6629
6630 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6631 appearing in any order.
6632
87fd9e6e
DE
66332014-04-15 Doug Evans <dje@google.com>
6634
6635 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6636 uninitialized value of "description".
6637
099fc3ea
KS
66382014-04-15 Keith Seitz <keiths@redhat.com>
6639
6640 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6641 Remove unused globals.
6642 (test_running_the_program): Likewise.
6643 (test_controlled_execution): Likewise.
6644 (test_controlling_breakpoints): Likewise.
6645 (test_program_termination): Likewise.
6646
5da151d4
KS
66472014-04-15 Keith Seitz <keiths@redhat.com>
6648
6649 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6650 unused globals.
6651 (test_rbreak_creation_and_listing): Likewise.
6652 (test_ignore_count): Likewise.
6653 (test_error): Likewise.
6654
35e5d2f0
PA
66552014-04-15 Pedro Alves <palves@redhat.com>
6656
6657 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6658 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6659 sym-file-loader.c.
6660 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6661 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6662 to sym-file-loader.c.
6663 (struct library): Forward declare.
6664 (load_shlib, lookup_function): Change prototypes.
6665 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6666 (translate_offset): Remove declarations.
6667 (get_text_addr): New declaration.
6668 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6669 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6670 sym-file-loader.h.
6671 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6672 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6673 here from sym-file-loader.h.
6674 (struct library): New structure.
6675 (load_shlib, lookup_function): Change prototypes and adjust to
6676 work with a struct library.
6677 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6678 (translate_offset): Make static.
6679 (get_text_addr): New function.
6680 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6681
eb4c1710
PA
66822014-04-15 Pedro Alves <palves@redhat.com>
6683
6684 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6685
2d1baf52
PA
66862014-04-15 Pedro Alves <palves@redhat.com>
6687
6688 * gdb.base/sym-file-loader.c: Include <limits.h>.
6689 (SELF_LINK): New define.
6690 (get_origin): New function.
6691 (load_shlib): Use it.
6692 * gdb.base/sym-file.exp: Don't early return if the target is
6693 remote. Use runto_main, and issue fail is that fails. Use
6694 gdb_load_shlibs.
6695 (shlib_name): Delete.
6696 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6697
7dd6df01
PA
66982014-04-15 Pedro Alves <palves@redhat.com>
6699
6700 * gdb.base/sym-file.exp: Remove regex characters from test
6701 message. Don't refer to breakpoint numbers in test messages.
6702
b50c8614
KS
67032014-04-14 Keith Seitz <keiths@redhat.com>
6704
6705 PR c++/16253
6706 * gdb.cp/var-tag.cc: New file.
6707 * gdb.cp/var-tag.exp: New file.
6708 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6709 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6710 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6711 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6712
3d567982
TT
67132014-04-14 Tom Tromey <tromey@redhat.com>
6714
6715 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6716 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6717 type.
6718 * gdb.cp/enum-class.exp: New file.
6719 * gdb.cp/enum-class.cc: New file.
6720
0626fc76
TT
67212014-04-14 Tom Tromey <tromey@redhat.com>
6722
6723 * gdb.dwarf2/enum-type.exp: New file.
6724
dca325b3
SA
67252014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6726
6727 * gdb.mi/mi-vla-c99.exp: New file.
6728 * gdb.mi/vla.c: New file.
6729
5854b38a
SA
67302014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6731
6732 * gdb.base/vla-datatypes.c: New file.
6733 * gdb.base/vla-datatypes.exp: New file.
6734
463bb957
SA
67352014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6736
6737 * gdb.base/vla-ptr.c: New file.
6738 * gdb.base/vla-ptr.exp: New file.
6739
3dd170be
SA
67402014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6741
6742 * gdb.dwarf2/count.exp: New file.
6743
5ecaaa66
SA
67442014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6745
6746 * gdb.base/vla-sideeffect.c: New file.
6747 * gdb.base/vla-sideeffect.exp: New file.
6748
41f1ada5
DB
67492014-04-14 David Blaikie <dblaikie@gmail.com>
6750
6751 * gdb.mi/non-stop.c: Add return value for non-void function return
6752 statement.
6753 * gdb.threads/staticthreads.c: Ditto.
6754
0be03e84
DE
67552014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6756 Doug Evans <xdje42@gmail.com>
6757
6758 * gdb.guile/scm-value.c: Improve test case.
6759 * gdb.guile/scm-value.exp: Add new test.
6760
f180a1fb
DB
67612014-04-11 David Blaikie <dblaikie@gmail.com>
6762
6763 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6764 override Clang's default.
6765
6b662e19
JB
67662014-04-11 Joel Brobecker <brobecker@adacore.com>
6767
6768 Revert the following changes (regressions):
6769
6770 * gdb.base/vla-sideeffect.c: New file.
6771 * gdb.base/vla-sideeffect.exp: New file.
6772
6773 * gdb.dwarf2/count.exp: New file.
6774
6775 * gdb.base/vla-multi.c: New file.
6776 * gdb.base/vla-multi.exp: New file.
6777
6778 * gdb.base/vla-ptr.c: New file.
6779 * gdb.base/vla-ptr.exp: New file.
6780
6781 * gdb.base/vla-datatypes.c: New file.
6782 * gdb.base/vla-datatypes.exp: New file.
6783
6784 * gdb.mi/mi-vla-c99.exp: New file.
6785 * gdb.mi/vla.c: New file.
6786
245a5f0b
KS
67872014-04-11 Keith Seitz <keiths@redhat.com>
6788
6789 PR c++/16675
6790 * gdb.cp/cpsizeof.exp: New file.
6791 * gdb.cp/cpsizeof.cc: New file.
6792
58a84dcf
SA
67932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6794
191a8a90
JB
6795 * gdb.mi/mi-vla-c99.exp: New file.
6796 * gdb.mi/vla.c: New file.
58a84dcf 6797
c8655f75
SA
67982014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6799
6800 * gdb.base/vla-datatypes.c: New file.
6801 * gdb.base/vla-datatypes.exp: New file.
6802
024e13b4
SA
68032014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6804
6805 * gdb.base/vla-ptr.c: New file.
6806 * gdb.base/vla-ptr.exp: New file.
6807
1a237e0e
SA
68082014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6809
6810 * gdb.base/vla-multi.c: New file.
6811 * gdb.base/vla-multi.exp: New file.
6812
504f3432
SA
68132014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6814
6815 * gdb.dwarf2/count.exp: New file.
6816
3bce8237
SA
68172014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6818
191a8a90
JB
6819 * gdb.base/vla-sideeffect.c: New file.
6820 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6821
322f9c21
YQ
68222014-04-11 Yao Qi <yao@codesourcery.com>
6823
6824 * gdb.base/completion.exp: Check file exists before running tests
6825 on file completion.
6826
d708bcd1
PA
68272014-04-10 Pedro Alves <palves@redhat.com>
6828
6829 * gdb.base/cond-eval-mode.c: New file.
6830 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6831 prepare_for_testing to build the new file. Check result of
6832 runto_main.
6833 (test_break, test_watch): New procedures.
6834 (top level): Use them.
6835
ae1d2761
PM
68362014-04-08 Pierre Muller <muller@sourceware.org>
6837
6838 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6839 Ctrl-V use for mingw hosts.
6840
7af389b8
SC
68412014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6842
6843 * gdb.python/py-value.c: Improve test case.
6844 * gdb.python/py-value.exp: Add new test.
6845
5e703181
DE
68462014-04-07 David Blaikie <dblaikie@gmail.com>
6847
6848 * lib/compiler.c: Identify the clang compiler.
6849 * lib/compiler.cc: Ditto.
6850
9810b410
YQ
68512014-04-03 Yao Qi <yao@codesourcery.com>
6852
6853 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6854
98d1b8dc
AB
68552014-04-01 Anton Blanchard <anton@samba.org>
6856
6857 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6858 messages unique.
6859
3114cea1
AB
68602014-04-01 Anton Blanchard <anton@samba.org>
6861
6862 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6863 prepare_for_testing.
6864
62f7182c
AB
68652014-04-01 Anton Blanchard <anton@samba.org>
6866
6867 * gdb.arch/ppc64-atomic-inst.c: Remove.
6868 * gdb.arch/ppc64-atomic-inst.S: New file.
6869 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6870
770e7fc7
DE
68712014-03-31 Doug Evans <dje@google.com>
6872
6873 * gdb.base/print-symbol-loading-lib.c: New file.
6874 * gdb.base/print-symbol-loading-main.c: New file.
6875 * gdb.base/print-symbol-loading.exp: New file.
6876
46e2bafa
YQ
68772014-03-31 Yao Qi <yao@codesourcery.com>
6878
6879 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6880
8776cfe9
JB
68812014-03-28 Joel Brobecker <brobecker@adacore.com>
6882
6883 * gdb.ada/mi_dyn_arr: New testcase.
6884
5d1ef361
DE
68852014-03-27 Doug Evans <dje@google.com>
6886
6887 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6888
b5bee914
YQ
68892014-03-27 Yao Qi <yao@codesourcery.com>
6890
6891 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6892 if target is nios2-*-*.
6893
0d4d0e77
YQ
68942014-03-26 Yao Qi <yao@codesourcery.com>
6895
6896 * lib/gdb.exp (readline_is_used): New proc.
6897 * gdb.base/completion.exp: Move tests on command complete up.
6898 Skip the rest of tests if readline is not used.
6899 * gdb.ada/complete.exp: Skp the test if readline is not
6900 used.
6901 * gdb.base/filesym.exp: Likewise.
6902 * gdb.base/macscp.exp: Likewise.
6903 * gdb.base/readline-ask.exp: Likewise.
6904 * gdb.base/readline.exp: Likewise.
6905 * gdb.python/py-cmd.exp: Likewise.
6906 * gdb.trace/tfile.exp: Likewise.
6907
29361eee
YQ
69082014-03-26 Yao Qi <yao@codesourcery.com>
6909
6910 * gdb.base/macscp.exp: Fix code format issues.
6911
bc9a5525
UW
69122014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6913
6914 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6915 * gdb.asm/powerpc64le.inc: New file.
6916
d3839ede
PA
69172014-03-25 Pedro Alves <palves@redhat.com>
6918 Doug Evans <dje@google.com>
6919
6920 * gdb.base/source-execution.c: New file.
6921 * gdb.base/source-execution.exp: New file.
6922 * gdb.base/source-execution.gdb: New file.
6923
01672a57
DE
69242014-03-24 Doug Evans <dje@google.com>
6925
6926 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6927 using fission.
6928
88bbeca9
HZ
69292014-03-24 Hui Zhu <hui@codesourcery.com>
6930 Pedro Alves <palves@redhat.com>
6931
6932 PR breakpoints/16101
6933 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6934 test pass/fail messages. Detect missing support for dprintf when
6935 breakpoints are actually inserted.
6936 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6937 breakpoints are actually inserted.
6938 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6939 fails.
6940
d2348791
JK
69412014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6942
6943 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6944
feef67ab
DE
69452014-03-22 Doug Evans <xdje42@gmail.com>
6946
6947 * gdb.python/python.exp (python not supported): Verify multi-line
6948 python command issues an error.
25d743f9 6949 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 6950 guile command issues an error.
feef67ab 6951
ecebef6a
MR
69522014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6953
6954 * gdb.threads/thread-specific.exp: Handle the lack of usable
6955 $this_breakpoint and $this_thread.
6956
ccdd1909
HZ
69572014-03-21 Hui Zhu <hui@codesourcery.com>
6958
6959 * gdb.base/attach.exp (do_command_attach_tests): New.
6960
beb460e8
PA
69612014-03-20 Tom Tromey <tromey@redhat.com>
6962 Pedro Alves <palves@redhat.com>
6963
6964 PR cli/15718
6965 * gdb.base/condbreak-call-false.c: New file.
6966 * gdb.base/condbreak-call-false.exp: New file.
6967
40acf43a
PA
69682014-03-20 Pedro Alves <palves@redhat.com>
6969
6970 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6971 Delete.
6972 (block_signals, unblock_signals): Delete.
6973 (child_function_2, main): Remove references to deleted variable
6974 and functions.
6975
9f5e1e02
PA
69762014-03-20 Pedro Alves <palves@redhat.com>
6977
6978 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6979 Use pthread_kill to signal thread 2.
6980 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6981 Adjust to make the test send itself a signal rather than using the
6982 host's "kill" command.
6983
99619bea
PA
69842014-03-20 Pedro Alves <palves@redhat.com>
6985
6986 * gdb.threads/multiple-step-overs.c: New file.
6987 * gdb.threads/multiple-step-overs.exp: New file.
6988 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6989 Adjust expected infrun debug output.
6990
2adfaa28
PA
69912014-03-20 Pedro Alves <palves@redhat.com>
6992
6993 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6994 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6995
31e77af2
PA
69962014-03-20 Pedro Alves <palves@redhat.com>
6997
6998 PR breakpoints/7143
6999 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7000 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7001 of gdb_test_multiple.
7002 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7003 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7004
b9f437de
PA
70052014-03-20 Pedro Alves <palves@redhat.com>
7006
7007 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7008 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7009
05adc73e
PA
70102014-03-19 Pedro Alves <palves@redhat.com>
7011
7012 * gdb.base/async.exp: Remove early return.
7013
6048b950
PA
70142014-03-19 Pedro Alves <palves@redhat.com>
7015
7016 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7017
8bcfb00a
PA
70182014-03-19 Pedro Alves <palves@redhat.com>
7019
7020 * gdb.base/async.exp (test_background): Expect \r\n after
7021 "completed." in the fail pattern.
7022
884e37dc
PA
70232014-03-19 Pedro Alves <palves@redhat.com>
7024
7025 * gdb.base/async.exp (test_background): New procedure.
7026 Use it for all background execution command tests.
7027
148e57e2
PA
70282014-03-19 Pedro Alves <palves@redhat.com>
7029
7030 * gdb.base/async.exp: Use prepare_for_testing.
7031
f48088c7
PA
70322014-03-19 Pedro Alves <palves@redhat.com>
7033
7034 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7035 the same line.
7036
e2f6c966
PA
70372014-03-19 Pedro Alves <palves@redhat.com>
7038
7039 * gdb.base/async.c (main): Add "jump here" and "until here" line
7040 marker comments.
7041 * gdb.base/async.exp (jump_here): New global.
7042 (jump& test): Use it.
7043 (until_here): New global.
7044 (until& test): Use it.
7045
c30568d4
PA
70462014-03-19 Pedro Alves <palves@redhat.com>
7047
7048 * gdb.base/async.exp: Don't frob gdb_protocol.
7049
0172b6a7
DE
70502014-03-18 Doug Evans <xdje42@gmail.com>
7051
7052 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7053 Fix spelling of exec-done-display.
7054
06c868a8
JK
70552014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7056
7057 PR gdb/15358
7058 * gdb.base/gdb-sigterm.c: New file.
7059 * gdb.base/gdb-sigterm.exp: New file.
7060
0c7e1a46
PA
70612014-03-18 Pedro Alves <palves@redhat.com>
7062
7063 PR gdb/13860
7064 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7065 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7066 solib-event.
7067
f7c77d93
JB
70682014-03-17 Joel Brobecker <brobecker@adacore.com>
7069
7070 * gdb.ada/pckd_arr_ren: New testcase.
7071
5a1e8c7a
DE
70722014-03-13 Doug Evans <xdje42@gmail.com>
7073
7074 PR guile/16612
7075 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7076 collect after discarding symbols.
7077
350e1a76
DE
70782014-03-13 Ludovic Courtès <ludo@gnu.org>
7079 Doug Evans <xdje42@gmail.com>
7080
7081 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7082 to history survives a gc.
7083
a69900ae
PA
70842014-03-13 Pedro Alves <palves@redhat.com>
7085
7086 * gdb.base/default.exp: Don't test "target procfs".
7087
5db9f0bd
PA
70882014-03-13 Pedro Alves <palves@redhat.com>
7089
7090 * gdb.base/default.exp: Update "target child" and "target procfs"
7091 tests to not expect "Unix".
7092
b3ccfe11
TT
70932014-03-12 Tom Tromey <tromey@redhat.com>
7094
7095 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7096 New procs. Add target-async tests.
7097 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7098 Add target-async tests.
7099
646f4417
AA
71002014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7101
7102 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7103 'func_start' and 'func_end' for the beginning and end of the
7104 function code, respectively.
7105 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7106 'func_end' instead of 'func' and 'main'.
7107
288c211f
AA
71082014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7109
7110 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7111 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7112 generate the debug info assembler source.
7113
e0c0f156
AA
71142014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7115
7116 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7117 * gdb.dwarf2/arr-subrange.exp: Likewise.
7118 * gdb.dwarf2/dwz.exp: Likewise.
7119 * gdb.dwarf2/method-ptr.exp: Likewise.
7120 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7121 * gdb.dwarf2/subrange.exp: Likewise.
7122 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7123 * gdb.dwarf2/implptrpiece.exp: Likewise.
7124 * gdb.dwarf2/nostaticblock.exp: Likewise.
7125
0e5c4555
AA
71262014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7127
7128 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7129 directory to absolute path name arguments.
7130
5ec18f2b
JG
71312014-03-10 Joel Brobecker <brobecker@adacore.com>
7132
7133 * gdb.ada/tagged_access: New testcase.
7134
847fc4f2
MM
71352014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7136
7137 * gdb.btrace/data.exp: Update expected output.
7138
cc3da688
YQ
71392014-03-06 Yao Qi <yao@codesourcery.com>
7140
7141 * gdb.trace/pr16508.exp: New file.
7142
0f26cec1
PA
71432014-03-05 Pedro Alves <palves@redhat.com>
7144
7145 PR gdb/16575
7146 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7147 procedure.
7148 (top level): Adjust to use it. Add tests that exercise breakpoint
7149 interaction with the code-cache.
7150
7a5a839f
LC
71512014-02-26 Ludovic Courtès <ludo@gnu.org>
7152
7153 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7154 test for 'history-append!'.
7155
31aa7e4e
JB
71562014-02-26 Joel Brobecker <brobecker@adacore.com>
7157
7158 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7159 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7160 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7161 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7162 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7163 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7164
1b588015
JB
71652014-02-26 Joel Brobecker <brobecker@adacore.com>
7166
7167 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7168 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7169 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7170
55426c9d
JB
71712014-02-26 Joel Brobecker <brobecker@adacore.com>
7172
7173 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7174
dc53a7ad
JB
71752014-02-26 Joel Brobecker <brobecker@adacore.com>
7176
7177 * gdb.dwarf2/arr-stride.c: New file.
7178 * gdb.dwarf2/arr-stride.exp: New file.
7179
12ab52e9
PA
71802014-02-26 Pedro Alves <palves@redhat.com>
7181
7182 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7183 that won't ever trigger. Make sure that GDB reports the correct
7184 breakpoint that caused the stop.
7185
849c862e
JK
71862014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7187
7188 PR gdb/16626
7189 * gdb.base/auto-load-script: New file.
7190 * gdb.base/auto-load.c: New file.
7191 * gdb.base/auto-load.exp: New file.
7192
71b7d793
JK
7193 PR gdb/16626
7194 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7195
e2f0d509
JK
71962014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7197
7198 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7199 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7200
50cc37c8
DE
72012014-02-24 Doug Evans <dje@google.com>
7202
7203 * lib/gdb.exp (run_on_host): Log error output if program fails.
7204
ea4758f2
PA
72052014-02-21 Pedro Alves <palves@redhat.com>
7206
7207 * gdb.threads/step-after-sr-lock.c: Rename to ...
7208 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7209 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7210 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7211 ... this.
7212
d7b30f67
SDJ
72132014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7214
7215 PR tdep/16397
7216 * gdb.arch/amd64-stap-special-operands.exp: New file.
7217 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7218 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7219 * gdb.arch/amd64-stap-triplet.S: Likewise.
7220 * gdb.arch/amd64-stap-triplet.c: Likewise.
7221
83deb43f
JB
72222014-02-20 Joel Brobecker <brobecker@adacore.com>
7223
7224 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7225 in .section pseudo-op.
7226
adde2bff
DE
72272014-02-20 lin zuojian <manjian2006@gmail.com>
7228 Joel Brobecker <brobecker@adacore.com>
7229 Doug Evans <xdje42@gmail.com>
7230
7231 PR symtab/16581
7232 * gdb.dwarf2/dw2-icycle.S: New file.
7233 * gdb.dwarf2/dw2-icycle.c: New file.
7234 * gdb.dwarf2/dw2-icycle.exp: New file.
7235
f7bd0f78
SC
72362014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7237
7238 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7239 operations on gdb.Value objects.
7240 * gdb.python/py-value-cc.exp: Add new test to test operations on
7241 gdb.Value objects.
7242
c17ef0d5
DE
72432014-02-18 Doug Evans <dje@google.com>
7244
7245 * Makefile.in (TESTS): New variable.
7246 (expanded_tests, expanded_tests_or_none): New variables
7247 (check-single): Pass $(expanded_tests_or_none) to runtest.
7248 (check-parallel): Only run tests in $(TESTS) if non-empty.
7249 (check/no-matching-tests-found): New rule.
7250 * README: Document TESTS makefile variable.
7251
5dd3176f
DE
72522014-02-18 Doug Evans <dje@google.com>
7253
7254 * Makefile.in (check-parallel): rm -rf outputs temp.
7255
0b10be4f
JK
72562014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7257
7258 Fix "ERROR: no fileid for" in the testsuite.
7259 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7260
85f224e7
DE
72612014-02-12 Doug Evans <dje@google.com>
7262
7263 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7264 (MISCELLANEOUS): New variable.
7265 (clean): rm -rf $(MISCELLANEOUS).
7266 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7267 dwp live in the same directory as symlinks, with each symlink pointed
7268 to a differently named file in a different directory.
7269
149b30ff
DE
72702014-02-11 Doug Evans <dje@google.com>
7271
7272 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7273 of Tcl file commands.
7274
1dfdac32
MK
72752014-02-10 Mark Kettenis <kettenis@gnu.org>
7276
7277 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7278 "kill -SIGUSR1 -1".
7279
aa4fb036
JB
72802014-02-10 Joel Brobecker <brobecker@adacore.com>
7281
7282 * gdb.ada/tick_length_array_enum_idx: New testcase.
7283
ed3ef339
DE
72842014-02-10 Doug Evans <xdje42@gmail.com>
7285
7286 * configure.ac (AC_OUTPUT): Add gdb.guile.
7287 * configure: Regenerate.
7288 * lib/gdb-guile.exp: New file.
7289 * lib/gdb.exp (get_target_charset): New function.
7290 * gdb.base/help.exp: Update expected output from "apropos apropos".
7291 * gdb.guile/Makefile.in: New file.
7292 * gdb.guile/guile.exp: New file.
7293 * gdb.guile/scm-arch.c: New file.
7294 * gdb.guile/scm-arch.exp: New file.
7295 * gdb.guile/scm-block.c: New file.
7296 * gdb.guile/scm-block.exp: New file.
7297 * gdb.guile/scm-breakpoint.c: New file.
7298 * gdb.guile/scm-breakpoint.exp: New file.
7299 * gdb.guile/scm-disasm.c: New file.
7300 * gdb.guile/scm-disasm.exp: New file.
7301 * gdb.guile/scm-equal.c: New file.
7302 * gdb.guile/scm-equal.exp: New file.
7303 * gdb.guile/scm-error.exp: New file.
7304 * gdb.guile/scm-error.scm: New file.
7305 * gdb.guile/scm-frame-args.c: New file.
7306 * gdb.guile/scm-frame-args.exp: New file.
7307 * gdb.guile/scm-frame-args.scm: New file.
7308 * gdb.guile/scm-frame-inline.c: New file.
7309 * gdb.guile/scm-frame-inline.exp: New file.
7310 * gdb.guile/scm-frame.c: New file.
7311 * gdb.guile/scm-frame.exp: New file.
7312 * gdb.guile/scm-generics.exp: New file.
7313 * gdb.guile/scm-gsmob.exp: New file.
7314 * gdb.guile/scm-iterator.c: New file.
7315 * gdb.guile/scm-iterator.exp: New file.
7316 * gdb.guile/scm-math.c: New file.
7317 * gdb.guile/scm-math.exp: New file.
7318 * gdb.guile/scm-objfile-script-gdb.in: New file.
7319 * gdb.guile/scm-objfile-script.c: New file.
7320 * gdb.guile/scm-objfile-script.exp: New file.
7321 * gdb.guile/scm-objfile.c: New file.
7322 * gdb.guile/scm-objfile.exp: New file.
7323 * gdb.guile/scm-ports.exp: New file.
7324 * gdb.guile/scm-pretty-print.c: New file.
7325 * gdb.guile/scm-pretty-print.exp: New file.
7326 * gdb.guile/scm-pretty-print.scm: New file.
7327 * gdb.guile/scm-section-script.c: New file.
7328 * gdb.guile/scm-section-script.exp: New file.
7329 * gdb.guile/scm-section-script.scm: New file.
7330 * gdb.guile/scm-symbol.c: New file.
7331 * gdb.guile/scm-symbol.exp: New file.
7332 * gdb.guile/scm-symtab-2.c: New file.
7333 * gdb.guile/scm-symtab.c: New file.
7334 * gdb.guile/scm-symtab.exp: New file.
7335 * gdb.guile/scm-type.c: New file.
7336 * gdb.guile/scm-type.exp: New file.
7337 * gdb.guile/scm-value-cc.cc: New file.
7338 * gdb.guile/scm-value-cc.exp: New file.
7339 * gdb.guile/scm-value.c: New file.
7340 * gdb.guile/scm-value.exp: New file.
7341 * gdb.guile/source2.scm: New file.
7342 * gdb.guile/types-module.cc: New file.
7343 * gdb.guile/types-module.exp: New file.
7344
7026a7c1
YQ
73452014-02-10 Yao Qi <yao@codesourcery.com>
7346
7347 PR testsuite/16543
7348 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7349 * configure: Regenerated.
7350 * Makefile.in: New file.
7351
6c466447
AS
73522014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7353
7354 * gdb.python/py-framefilter.exp: Fix typo.
7355
6e854735
YQ
73562014-02-08 Yao Qi <yao@codesourcery.com>
7357
7358 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7359 that no =breakpoint-modified is emitted when breakpoints are
7360 modified through MI commands.
7361
d137e6dc
PA
73622014-02-07 Pedro Alves <pedro@codesourcery.com>
7363 Pedro Alves <palves@redhat.com>
7364
7365 * gdb.threads/step-after-sr-lock.c: New file.
7366 * gdb.threads/step-after-sr-lock.exp: New file.
7367
b5ee5a50
PA
73682014-02-07 Pedro Alves <palves@redhat.com>
7369
7370 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7371
3c77faf3
JK
73722014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7373
7374 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7375 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7376
6dddc817
DE
73772014-02-06 Doug Evans <xdje42@gmail.com>
7378
7379 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7380 output.
7381
7382 * gdb.gdb/python-interrupts.exp: New file.
7383
de7b2893
YQ
73842014-02-05 Yao Qi <yao@codesourcery.com>
7385
7386 * gdb.trace/report.exp (use_collected_data): Test the output
7387 of "info threads" and "info inferiors".
7388
66d032ac
YQ
73892014-02-05 Yao Qi <yao@codesourcery.com>
7390
7391 Revert this patch:
7392
7393 2013-05-24 Yao Qi <yao@codesourcery.com>
7394
7395 * gdb.trace/tfile.exp: Test inferior and thread.
7396
591a12a1
UW
73972014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7398
7399 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7400 on a function.
7401 * gdb.base/step-bt.c: Call hello via function pointer to make
7402 sure its first instruction is executed on powerpc64le-linux.
7403
0ff3e01f
UW
74042014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7405
7406 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7407
084ee545
UW
74082014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7409
7410 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7411 of the test patterns for use on little-endian systems.
7412
6ed14ff3
UW
74132014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7414
7415 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7416 (decimal_vector): Fix for little-endian.
7417
401e27fd
JM
74182014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7419
7420 * gdb.arch/sparc-sysstep.exp: New file.
7421 * gdb.arch/sparc-sysstep.c: Likewise.
7422
7423 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7424
8b924729
EBM
74252014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7426
7427 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7428
fb151210
JB
74292014-01-23 Tom Tromey <tromey@redhat.com>
7430
7431 * gdb.ada/array_char_idx: New testcase.
7432
0740f8d8
TT
74332014-01-23 Tom Tromey <tromey@redhat.com>
7434
7435 PR python/16487:
7436 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7437 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7438 classes.
7439
21909fa1
TT
74402014-01-23 Tom Tromey <tromey@redhat.com>
7441
7442 PR python/16491:
7443 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7444 string from an inferior frame.
7445 * gdb.python/py-framefilter-mi.exp: Update.
7446
87ce2a04
DE
74472014-01-22 Doug Evans <dje@google.com>
7448
7449 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7450
237b092b
AA
74512014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7452
7453 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7454
d674a709
AA
74552014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7456
7457 * gdb.trace/entry-values.exp: Remove excess space character from
7458 regex patterns. Handle s390 call instruction.
7459
20fa3390
AA
74602014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7461
7462 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7463 define "*_start" label. Make "name" static.
7464 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7465 ${name} by references to ${name}_start.
7466
78466714
AA
74672014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7468
7469 * gdb.base/info-macros.exp: Remove "debug" from the compile
7470 options.
7471
ec9f644a
IB
74722014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7473
7474 * gdb.dlang/demangle.exp: New file.
7475
94b1b47e
IB
74762014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7477
7478 * gdb.dlang/primitive-types.exp: New file.
7479
7f420862
IB
74802014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7481
7482 * configure.ac: Create gdb.dlang/Makefile.
7483 * configure: Regenerate.
7484 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7485 * gdb.dlang/Makefile.in: New file.
7486 * lib/d-support.exp: New file.
7487 * lib/gdb.exp (skip_d_tests): New proc.
7488
52834460
MM
74892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7490
7491 * gdb.btrace/delta.exp: Check reverse stepi.
7492 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7493 * gdb.btrace/finish.exp: New.
7494 * gdb.btrace/next.exp: New.
7495 * gdb.btrace/nexti.exp: New.
7496 * gdb.btrace/record_goto.c: Add comments.
7497 * gdb.btrace/step.exp: New.
7498 * gdb.btrace/stepi.exp: New.
7499 * gdb.btrace/multi-thread-step.c: New.
7500 * gdb.btrace/multi-thread-step.exp: New.
7501 * gdb.btrace/rn-dl-bind.c: New.
7502 * gdb.btrace/rn-dl-bind.exp: New.
7503 * gdb.btrace/data.c: New.
7504 * gdb.btrace/data.exp: New.
7505 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7506
6e07b1d2
MM
75072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7508
7509 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7510 * gdb.btrace/exception.exp: Update.
7511 * gdb.btrace/instruction_history.exp: Update.
7512 * gdb.btrace/record_goto.exp: Update.
7513 * gdb.btrace/tailcall.exp: Update.
7514 * gdb.btrace/unknown_functions.exp: Update.
7515 * gdb.btrace/delta.exp: New.
7516
0b722aec
MM
75172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7518
7519 * gdb.btrace/record_goto.exp: Add backtrace test.
7520 * gdb.btrace/tailcall.exp: Add backtrace test.
7521
066ce621
MM
75222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7523
7524 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7525 * gdb.btrace/record_goto.c: New.
7526 * gdb.btrace/record_goto.exp: New.
7527 * gdb.btrace/x86-record_goto.S: New.
7528
0688d04e
MM
75292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7530
7531 * gdb.btrace/function_call_history.exp: Update tests.
7532 * gdb.btrace/instruction_history.exp: Update tests.
7533
8710b709
MM
75342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7535
7536 * gdb.btrace/function_call_history.exp: Fix expected field
7537 order for "record function-call-history".
7538 Add new tests for "record function-call-history /c".
7539 * gdb.btrace/exception.cc: New.
7540 * gdb.btrace/exception.exp: New.
7541 * gdb.btrace/tailcall.exp: New.
7542 * gdb.btrace/x86-tailcall.S: New.
7543 * gdb.btrace/x86-tailcall.c: New.
7544 * gdb.btrace/unknown_functions.c: New.
7545 * gdb.btrace/unknown_functions.exp: New.
7546 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7547
5de9129b
MM
75482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7549
7550 * gdb.btrace/instruction_history.exp: Update.
7551 * gdb.btrace/function_call_history.exp: Update.
7552
23a7fe75
MM
75532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7554
7555 * gdb.btrace/function_call_history.exp: Fix expected function
7556 trace.
7557 * gdb.btrace/instruction_history.exp: Initialize traced.
7558 Remove traced_functions.
7559
724c7dd8
MM
75602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7561
7562 * gdb.btrace/function_call_history.exp: Update
7563 * gdb.btrace/instruction_history.exp: Update.
7564
6d78d93b
MM
75652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7566
7567 * gdb.btrace/enable.exp: Update expected text.
7568
93a360cc
OJ
75692014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7570
7571 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7572 bytes.
7573
3772b53f
MR
75742014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7575
7576 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7577
596662fa
OJ
75782014-01-15 Omair Javaid <omair.javaid@linaro.org>
7579
7580 * lib/gdb.exp (supports_process_record): Return true for
7581 arm*-linux*. (supports_reverse): Likewise.
7582
b5b08fb4
SC
75832014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7584
7585 PR python/15464
7586 PR python/16113
7587 * gdb.python/py-type.c: Enhance test case.
7588 * gdb.python/py-value-cc.cc: Likewise
7589 * gdb.python/py-type.exp: Add new tests.
7590 * gdb.python/py-value-cc.exp: Likewise
7591
52d7fb13
AA
75922014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7593 Pedro Alves <palves@redhat.com>
7594
7595 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7596 Make "name" extern.
7597 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7598 references to ${name}_start by references to ${name}.
7599
a2cd8cfe
JB
76002014-01-10 Joel Brobecker <brobecker@adacore.com>
7601
7602 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7603
4e23fced
JB
76042014-01-10 Joel Brobecker <brobecker@adacore.com>
7605
7606 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7607
c6a9e42c
PA
76082014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7609 Pedro Alves <palves@redhat.com>
7610
7611 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7612 mi_gdb_target_load.
c6a9e42c 7613
b7ea362b
PA
76142014-01-08 Pedro Alves <palves@redhat.com>
7615
7616 * gdb.threads/reconnect-signal.c: New file.
7617 * gdb.threads/reconnect-signal.exp: New file.
7618
5e3f4fab
EBM
76192014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7620
7621 * gdb.base/source-dir.exp: New file.
7622
79301218
JB
76232014-01-07 Joel Brobecker <brobecker@adacore.com>
7624
7625 * gdb.ada/mi_interface: New testcase.
7626
8e355c5d
JB
76272014-01-07 Joel Brobecker <brobecker@adacore.com>
7628
7629 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7630 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7631 gdb.ada/pp-rec-component/pck.ads: New files.
7632
c0d48811
JB
76332014-01-07 Joel Brobecker <brobecker@adacore.com>
7634
7635 * gdb.python/py-pp-integral.c: New file.
7636 * gdb.python/py-pp-integral.py: New file.
7637 * gdb.python/py-pp-integral.exp: New file.
7638
17b609c3 7639For older changes see ChangeLog-1993-2013.
c906108c 7640\f
8d8cb839
EZ
7641;; Local Variables:
7642;; mode: change-log
7643;; left-margin: 8
7644;; fill-column: 74
7645;; version-control: never
7646;; End:
902f2ccb 7647
618f726f 7648 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7649 Copying and distribution of this file, with or without modification,
7650 are permitted provided the copyright notice and this notice are preserved.
This page took 4.586198 seconds and 4 git commands to generate.