gdb.trace/change-loc.exp: Don't depend on tracepoint ordering.
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
2
3 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
4 ordering.
5
6 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7
8 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
9 (bar): Add bar_start_lbl label.
10 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11 of foo/bar for emitting DWARF and tracing.
12
13 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
14
15 * analyze-racy-logs.py: Set executable bit.
16
17 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
18
19 * Makefile.in (DEFAULT_RACY_ITER): New variable.
20 (CHECK_TARGET_TMP): Likewise.
21 (check-single-racy): New rule.
22 (check-parallel-racy): Likewise.
23 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
24 (do-check-parallel-racy): New rule.
25 (check-racy/%.exp): Likewise.
26 * README (Racy testcases): New section.
27 * analyze-racy-logs.py: New file.
28
29 2016-03-03 Doug Evans <dje@google.com>
30
31 * gdb.base/skip.exp: Use with_test_prefix.
32
33 2016-03-03 Yao Qi <yao.qi@linaro.org>
34
35 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
36 Invoke step_over_syscall "clone" and break_cond_on_syscall
37 "clone".
38 * gdb.base/step-over-clone.c: New file.
39
40 2016-03-03 Yao Qi <yao.qi@linaro.org>
41
42 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
43 code format.
44
45 2016-03-03 Yao Qi <yao.qi@linaro.org>
46
47 * gdb.base/disp-step-fork.c: Rename to ...
48 * gdb.base/step-over-fork.c: ... it. New file.
49 * gdb.base/disp-step-vfork.c: Rename to ...
50 * gdb.base/step-over-vfork.c: ... it. New file.
51 * gdb.base/disp-step-syscall.exp: Rename to ...
52 * gdb.base/step-over-syscall.exp: ... it. New file.
53 (disp_step_cross_syscall): Rename to ...
54 (step_over_syscall): ... it.
55
56 2016-03-03 Yao Qi <yao.qi@linaro.org>
57
58 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
59 If target supports condition evaluation on target, invoke
60 break_cond_on_syscall for fork and vfork.
61
62 2016-03-03 Yao Qi <yao.qi@linaro.org>
63
64 * gdb.base/disp-step-syscall.exp: Don't invoke
65 support_displaced_stepping.
66 (disp_step_cross_syscall): Test with displaced stepping off and
67 on if supported.
68
69 2016-03-03 Yao Qi <yao.qi@linaro.org>
70
71 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
72 proc.
73 (setup): New proc.
74 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
75 and setup.
76
77 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
78
79 * gdb.fortran/vla-history.exp: Remove breakpoint.
80
81 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
82
83 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
84
85 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
86
87 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
88
89 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
90
91 * gdb.mi/vla.f90: Nullify pointer after declaration.
92
93 2016-03-01 Pedro Alves <palves@redhat.com>
94
95 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
96
97 2016-03-01 Pedro Alves <palves@redhat.com>
98
99 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
100 before anything else.
101 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
102 _GNU_SOURCE here.
103 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
104 before anything else.
105 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
106
107 2016-03-01 Pedro Alves <palves@redhat.com>
108
109 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
110
111 2016-03-01 Yao Qi <yao.qi@linaro.org>
112
113 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
114 prepare_for_testing.
115
116 2016-03-01 Yao Qi <yao.qi@linaro.org>
117
118 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
119
120 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
121
122 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
123 manually constructing the output path.
124
125 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
126
127 * gdb.arch/s390-stackless.S: New.
128 * gdb.arch/s390-stackless.exp: New.
129
130 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
131
132 * gdb.dlang/circular.c: New file.
133 * gdb.dlang/circular.exp: New file.
134
135 2016-02-26 Yao Qi <yao.qi@linaro.org>
136
137 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
138 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
139 (testcases): Update.
140
141 2016-02-26 Yao Qi <yao.qi@linaro.org>
142
143 * gdb.reverse/aarch64.c: Rename to ...
144 * gdb.reverse/insn-reverse.c: ... it.
145 * gdb.reverse/aarch64.exp: Rename to ...
146 * gdb.reverse/insn-reverse.exp: ... it.
147
148 2016-02-26 Yao Qi <yao.qi@linaro.org>
149
150 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
151 (testcase_ftype): New.
152 (testcases): New array.
153 (n_testcases): New.
154 (main): Call each element in testcases.
155 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
156 (read_testcase): New.
157 Do the tests in a loop.
158
159 2016-02-25 Yao Qi <yao.qi@linaro.org>
160
161 * gdb.base/branches.c: Remove.
162
163 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
164
165 PR gdb/13808
166 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
167
168 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
169
170 * gdb.trace/ftrace.exp: Remove unnecessary target check.
171
172 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
173
174 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
175 change x86_64 call_insn to 'callq'.
176
177 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
178
179 * gdb.trace/tfile-avx.c: Move to...
180 * gdb.trace/tracefile-pseudo-reg.c: Here.
181 * gdb.trace/tfile-avx.exp: Move to...
182 * gdb.trace/tracefile-pseudo-reg.exp: Here.
183
184 2016-02-24 Gary Benson <gbenson@redhat.com>
185
186 * gdb.base/attach-pie-noexec.exp: Do not expect an error
187 message on attach.
188
189 2016-02-23 Doug Evans <dje@google.com>
190
191 * gdb.base/skip.c (test_skip): New function.
192 (end_test_skip_file_and_function): New function.
193 (test_skip_file_and_function): New function.
194 * gdb.base/skip1.c (test_skip): New function.
195 (skip1_test_skip_file_and_function): New function.
196 * gdb.base/skip.exp: Add tests for new skip options.
197 * gdb.base/skip-solib.exp: Update expected output.
198 * gdb.perf/skip-command.cc: New file.
199 * gdb.perf/skip-command.exp: New file.
200 * gdb.perf/skip-command.py: New file.
201
202 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
203
204 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
205 info registers pattern.
206
207 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
208
209 * lib/future.exp: Add D support.
210 (gdb_find_gdc): New proc.
211 (gdb_default_target_compile): Add D support.
212
213 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
214
215 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
216 user+system time.
217 (trace_speed_test): Determine the iteration count for a time
218 between 15..30 seconds.
219
220 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
221
222 * gdb.arch/i386-mpx-sigsegv.c: New file.
223 * gdb.arch/i386-mpx-sigsegv.exp: New file.
224 * gdb.arch/i386-mpx-simple_segv.c: New file.
225 * gdb.arch/i386-mpx-simple_segv.exp: New file.
226
227 2016-02-18 Yao Qi <yao.qi@linaro.org>
228
229 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
230 Don't call setup_kfail.
231
232 2016-02-18 Yao Qi <yao.qi@linaro.org>
233
234 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
235 Set "set breakpoint condition-evaluation" per $cond_bp_target.
236
237 2016-02-16 Doug Evans <dje@google.com>
238
239 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
240 * gdb.base/skip1.c: Ditto.
241 * gdb.base/skip.exp: Whitespace cleanup.
242
243 2016-02-16 Don Breazeal <donb@codesourcery.com>
244
245 PR remote/19496
246 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
247 Remove kfail for PR remote/19496.
248
249 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
250
251 * lib/gdb.exp (standard_temp_file): Return a path specific to
252 the runtest invocation.
253
254 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
255
256 * gdb.trace/save-trace.exp: Change relative path to be in the
257 standard output directory.
258
259 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
260
261 * gdb.arch/i386-prologue.c: Add missing prototypes.
262
263 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
264
265 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
266 * gdb.arch/i386-prologue.exp: Likewise.
267 * gdb.arch/i386-size.exp: Likewise.
268
269 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
270
271 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
272 define object file path.
273 * gdb.btrace/gcore.exp: Use standard_output_file to define core
274 file path.
275 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
276 standard_output_file to define binfile.
277
278 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
279
280 Fix compatibility with recent gfortran-5.3.1.
281 * gdb.fortran/vla-history.exp (print vla1 allocated)
282 (print vla2 allocated, print $2, print $3): Remove
283 (print $4): Rename to ...
284 (print $2): ... here.
285 (print $9): Rename to ...
286 (print $5): ... here.
287 (print $10): Rename to ...
288 (print $6): ... here.
289 * gdb.fortran/vla.f90: Add pvla initialization.
290
291 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
292
293 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
294 New test.
295 * gdb.fortran/vla-value-sub.exp: Likewise.
296
297 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
298
299 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
300
301 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
302
303 * i386-biarch-core.exp: Define corefile using
304 standard_output_file.
305
306 2016-02-12 Yao Qi <yao.qi@linaro.org>
307
308 * gdb.arch/arm-single-step-kernel-helper.c: New.
309 * gdb.arch/arm-single-step-kernel-helper.exp: New.
310
311 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
312
313 * gdb.btrace/tailcall-only.exp: New.
314 * gdb.btrace/tailcall-only.c: New.
315 * gdb.btrace/x86_64-tailcall-only.S: New.
316 * gdb.btrace/i686-tailcall-only.S: New.
317
318 2016-02-11 Pedro Alves <palves@redhat.com>
319
320 * README (Parallel testing): Add missing double quotes.
321
322 2016-02-11 Pedro Alves <palves@redhat.com>
323
324 * README (Parallel testing): New section.
325 (GDB_PARALLEL): Rewrite.
326 (FORCE_PARALLEL): Document.
327
328 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
329
330 * gdb.trace/tfile-avx.c: New test.
331 * gdb.trace/tfile-avx.exp: New test.
332
333 2016-02-09 Keith Seitz <keiths@redhat.com>
334
335 PR breakpoints/19546
336 * gdb.base/infcall-exec.c: New file.
337 * gdb.base/infcall-exec2.c: New file.
338 * gdb.base/infcall-exec.exp: New file.
339
340 2016-02-09 Keith Seitz <keiths@redhat.com>
341
342 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
343 (toplevel): Call test_bkpt_address.
344
345 2016-02-09 Keith Seitz <keiths@redhat.com>
346
347 PR python/19506
348 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
349 (toplevel): Call test_bkpt_address.
350
351 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
352
353 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
354 to AC_OUTPUT.
355 * configure: Regenerate.
356
357 2016-02-09 Pedro Alves <palves@redhat.com>
358
359 PR breakpoints/19548
360 * gdb.base/execl-update-breakpoints.c (some_function): New
361 function.
362 (main): Call it.
363 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
364 Tighten expected GDB output.
365
366 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
367
368 * Makefile.in (ALL_SUBDIRS): Remove.
369 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
370 (distclean maintainer-clean realclean): Likewise.
371 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
372 * configure: Regenerate.
373 * gdb.ada/Makefile.in: Delete.
374 * gdb.arch/Makefile.in: Likewise.
375 * gdb.asm/Makefile.in: Likewise.
376 * gdb.base/Makefile.in: Likewise.
377 * gdb.btrace/Makefile.in: Likewise.
378 * gdb.cell/Makefile.in: Likewise.
379 * gdb.compile/Makefile.in: Likewise.
380 * gdb.cp/Makefile.in: Likewise.
381 * gdb.disasm/Makefile.in: Likewise.
382 * gdb.dlang/Makefile.in: Likewise.
383 * gdb.dwarf2/Makefile.in: Likewise.
384 * gdb.fortran/Makefile.in: Likewise.
385 * gdb.gdb/Makefile.in: Likewise.
386 * gdb.go/Makefile.in: Likewise.
387 * gdb.guile/Makefile.in: Likewise.
388 * gdb.java/Makefile.in: Likewise.
389 * gdb.linespec/Makefile.in: Likewise.
390 * gdb.mi/Makefile.in: Likewise.
391 * gdb.modula2/Makefile.in: Likewise.
392 * gdb.multi/Makefile.in: Likewise.
393 * gdb.objc/Makefile.in: Likewise.
394 * gdb.opencl/Makefile.in: Likewise.
395 * gdb.opt/Makefile.in: Likewise.
396 * gdb.pascal/Makefile.in: Likewise.
397 * gdb.perf/Makefile.in: Likewise.
398 * gdb.python/Makefile.in: Likewise.
399 * gdb.reverse/Makefile.in: Likewise.
400 * gdb.server/Makefile.in: Likewise.
401 * gdb.stabs/Makefile.in: Likewise.
402 * gdb.threads/Makefile.in: Likewise.
403 * gdb.trace/Makefile.in: Likewise.
404 * gdb.xml/Makefile.in: Likewise.
405 * lib/gdb.exp (make_gdb_parallel_path): Add check for
406 GDB_PARALLEL.
407 (standard_output_file): Remove check for GDB_PARALLEL, always
408 return path in outputs/$subdir/$testname.
409
410 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
411
412 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
413 (site.exp): Assign abs_srcdir to tcl's srcdir.
414
415 2016-02-04 Yao Qi <yao.qi@linaro.org>
416
417 * gdb.base/foll-exec-mode.c: Include limits.h.
418 (main): Add parameters argc and argv. Get directory from
419 argv[0].
420 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
421 compilation.
422 * gdb.base/foll-exec.c: Include limits.h.
423 (main): Add parameters argc and argv.
424 Get directory from argv[0].
425 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
426 Adjust tests on the number of lines as source code changed.
427 * gdb.base/foll-vfork-exit.c: Include limits.h.
428 (main): Add one line of statement before vfork.
429 * gdb.base/foll-vfork.c: Include limits.h and string.h.
430 (main): Add parameters argc and argv. Get directory from
431 argv[0].
432 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
433 (setup_gdb): Set tbreak to skip some source lines.
434 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
435 (main): Add parameters argc and argv. Get directory from
436 argv[0].
437 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
438 compilation.
439 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
440 (main): Add parameters argc and argv. Get directory from
441 argv[0].
442 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
443 compilation.
444
445 2016-02-01 Doug Evans <dje@google.com>
446
447 * gdb.base/skip.exp: Clean up multiple references to same test name.
448
449 2016-02-01 Pedro Alves <palves@redhat.com>
450
451 PR remote/19496
452 * gdb.threads/forking-threads-plus-breakpoint.exp
453 (displaced_stepping_supported): New global.
454 (probe_displaced_stepping_support): New procedure.
455 (do_test): Add 'displaced' parameter, and use it.
456 (top level): Check for displaced stepping support. Add displaced
457 stepping on/off testing axis.
458
459 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
460
461 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
462 pointer. Don't perform further tests on the unassociated pointer
463 if the first test fails.
464
465 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
466
467 * gdb.base/max-value-size.c: New file.
468 * gdb.base/max-value-size.exp: New file.
469 * gdb.base/huge.exp: Disable max-value-size for this test.
470
471 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
472
473 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
474
475 2016-01-28 Yao Qi <yao.qi@linaro.org>
476
477 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
478
479 2016-01-25 Pedro Alves <palves@redhat.com>
480
481 PR threads/19461
482 * gdb.base/fork-running-state.c: New file.
483 * gdb.base/fork-running-state.exp: New file.
484
485 2016-01-25 Pedro Alves <palves@redhat.com>
486
487 PR gdb/19494
488 * gdb.base/catch-fork-kill.c: New file.
489 * gdb.base/catch-fork-kill.exp: New file.
490
491 2016-01-25 Pedro Alves <palves@redhat.com>
492
493 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
494 Delete, moved to lib/gdb.exp.
495 * gdb.threads/forking-threads-plus-breakpoint.exp
496 (foreach_with_prefix): Likewise.
497 * gdb.threads/process-dies-while-handling-bp.exp
498 (foreach_with_prefix): Likewise.
499 * lib/gdb.exp (foreach_with_prefix): New procedure.
500
501 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
502
503 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
504 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
505
506 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
507
508 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
509 endian targets.
510
511 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
512 Pedro Alves <palves@redhat.com>
513
514 Fix testsuite compatibility with Guile.
515 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
516 number.
517
518 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
519
520 Fix testsuite compatibility with Guile.
521 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
522 (thread 1): New test for backtrace through signal handler.
523
524 2016-01-22 Yao Qi <yao.qi@linaro.org>
525
526 PR testsuite/19491
527 * gdb.base/multi-forks.c: Include
528 ../lib/unbuffer_output.c
529 (main): Call gdb_unbuffer_output.
530
531 2016-01-21 Doug Evans <dje@google.com>
532
533 * lib/ada.exp (gdb_compile_ada): Fix typo.
534
535 2016-01-21 Joel Brobecker <brobecker@adacore.com>
536
537 * gdb.base/break-fun-addr.exp: New file.
538 * gdb.base/break-fun-addr1.c: New file.
539 * gdb.base/break-fun-addr2.c: New file.
540
541 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
542
543 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
544 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
545 enum flag values.
546
547 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
548
549 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
550 when GDB can not set the vector return value. Add more comments
551 for clarification.
552
553 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
554
555 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
556 command.
557
558 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
559
560 * Makefile.in (DO_RUNTEST): Add --status and update usages.
561
562 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
563
564 * Makefile.in (check-single): Pass --status to runtest.
565 (check/%.exp): Likewise.
566
567 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
568
569 * Makefile.in (check-parallel): Propagate return code from make
570 do-check-parallel.
571
572 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
573
574 * gdb.trace/ftrace.exp: Fix expected message on continue.
575 * gdb.trace/pending.exp: Fix expected message on continue.
576 * gdb.trace/trace-break.exp: Fix expected message on continue.
577
578 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
579
580 * lib/gdb.exp (gdb_test): Remove unused global references.
581
582 2016-01-18 Pedro Alves <palves@redhat.com>
583
584 * gdb.base/async-shell.exp: Adjust expected output.
585 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
586 * gdb.base/siginfo-thread.exp: Adjust expected output.
587 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
588 * gdb.java/jnpe.exp: Adjust expected output.
589 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
590 * gdb.threads/continue-pending-status.exp: Adjust expected output.
591 * gdb.threads/leader-exit.exp: Adjust expected output.
592 * gdb.threads/manythreads.exp: Adjust expected output.
593 * gdb.threads/pthreads.exp: Adjust expected output.
594 * gdb.threads/schedlock.exp: Adjust expected output.
595 * gdb.threads/siginfo-threads.exp: Adjust expected output.
596 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
597 expected output.
598 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
599 output.
600 * gdb.threads/sigthread.exp: Adjust expected output.
601 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
602
603 2016-01-18 Yao Qi <yao.qi@linaro.org>
604
605 * gdb.guile/scm-section-script.c: Replace @progbits with
606 %progbits.
607 * gdb.python/py-section-script.c: Likewise.
608
609 2016-01-15 Pedro Alves <palves@redhat.com>
610
611 * gdb.multi/tids.exp: Test star wildcard ranges.
612
613 2016-01-15 Pedro Alves <palves@redhat.com>
614
615 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
616 command from "thread apply" invocation.
617 (thr_apply_info_thr_invalid): Default the expected output to the
618 input tid list.
619 (top level): Add tests that use convenience variables. Add tests
620 for "thread apply" with a valid TID list, but missing the command.
621
622 2016-01-13 Pedro Alves <palves@redhat.com>
623
624 * gdb.base/default.exp: Expect $_gthread as well.
625 * gdb.multi/tids.exp: Test $_gthread.
626 * gdb.threads/thread-specific.exp: Test $_gthread.
627
628 2016-01-13 Pedro Alves <palves@redhat.com>
629
630 * gdb.multi/tids.exp: Test "info threads -gid".
631
632 2016-01-13 Pedro Alves <palves@redhat.com>
633
634 * gdb.multi/tids.exp: Test InferiorThread.global_num and
635 Breakpoint.thread.
636 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
637
638 2016-01-07 Pedro Alves <palves@redhat.com>
639
640 * gdb.base/break.exp: Adjust to output changes.
641 * gdb.base/hbreak2.exp: Likewise.
642 * gdb.base/sepdebug.exp: Likewise.
643 * gdb.base/watch_thread_num.exp: Likewise.
644 * gdb.linespec/keywords.exp: Likewise.
645 * gdb.multi/info-threads.exp: Likewise.
646 * gdb.threads/thread-find.exp: Likewise.
647 * gdb.multi/tids.c: New file.
648 * gdb.multi/tids.exp: New file.
649
650 2016-01-13 Pedro Alves <palves@redhat.com>
651
652 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
653
654 2016-01-13 Pedro Alves <palves@redhat.com>
655
656 * gdb.base/default.exp: Expect $_inferior as well.
657 * gdb.multi/base.exp: Test $_inferior.
658
659 2016-01-13 Pedro Alves <palves@redhat.com>
660
661 PR breakpoints/19388
662 * gdb.base/catch-signal-siginfo-cond.c: New file.
663 * gdb.base/catch-signal-siginfo-cond.exp: New file.
664
665 2016-01-12 Josh Stone <jistone@redhat.com>
666 Philippe Waroquiers <philippe.waroquiers@skynet.be>
667
668 * gdb.base/catch-syscall.c (do_execve): New variable.
669 (main): Conditionally trigger an execve.
670 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
671 (test_catch_syscall_execve): New, check entry/return across execve.
672 (do_syscall_tests): Call test_catch_syscall_execve.
673
674 2016-01-12 Pedro Alves <palves@redhat.com>
675
676 * gdb.base/random-signal.exp (do_test): New procedure, with body
677 of testcase moved in.
678
679 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
680 Pedro Alves <palves@redhat.com>
681
682 * gdb.base/funcargs.exp (finish from indirectly called function):
683 Reintroduce the case for 'First'.
684
685 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
686 Pedro Alves <palves@redhat.com>
687
688 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
689 (tcatch_vfork_then_child_follow_exec)
690 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
691 identification.
692
693 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
694
695 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
696 and repeats to unlimited.
697 * gdb.python/py-value.exp: Likewise.
698 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
699 and repeats to unlimited.
700
701 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
702
703 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
704 and reordering the functions.
705 * gdb.multi/hangout.c: Likewise.
706 * gdb.multi/hello.c: Likewise.
707
708 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
709
710 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
711 absolute.
712 (SingleStatisticTestResult.report): Use dict.keys instead of
713 dict.iterkeys.
714
715 2016-01-06 Pedro Alves <palves@redhat.com>
716
717 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
718
719 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
720
721 * gdb.btrace/dlopen.exp: New.
722 * gdb.btrace/dlopen.c: New.
723 * gdb.btrace/dlopen-dso.c: New.
724
725 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
726
727 * lib/gdb.exp (gdb_test): Update comments to clarify that the
728 PATTERN argument is optional.
729
730 2015-12-24 Joel Brobecker <brobecker@adacore.com>
731
732 * lib/ada.exp (target_compile_ada_from_dir): New function.
733 (gdb_compile_ada): Reimplement avoiding the use of project files.
734 * gdb.ada/gnat_ada.gpr: Delete.
735 * gdb.ada/cond_lang.exp: Adjust test to make path before
736 filename optional.
737 * gdb.ada/small_reg_param.exp: Likewise.
738
739 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
740
741 * gdb.base/foll-vork.exp: Remove HP-UX special case.
742
743 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
744
745 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
746 case.
747
748 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
749
750 * gdb.base/break.exp: Remove dead code.
751 * gdb.base/sepdebug.exp: Likewise.
752
753 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
754
755 * gdb.asm/asm-source.exp: Remove HP-UX references.
756 * gdb.base/annota1.exp: Likewise.
757 * gdb.base/annota3.exp: Likewise.
758 * gdb.base/attach.exp: Likewise.
759 * gdb.base/bigcore.exp: Likewise.
760 * gdb.base/break.exp: Likewise.
761 * gdb.base/call-ar-st.exp: Likewise.
762 * gdb.base/callfuncs.exp: Likewise.
763 * gdb.base/catch-fork-static.exp: Likewise.
764 * gdb.base/display.exp: Likewise.
765 * gdb.base/foll-exec-mode.exp: Likewise.
766 * gdb.base/foll-exec.exp: Likewise.
767 * gdb.base/foll-fork.exp: Likewise.
768 * gdb.base/foll-vfork.exp: Likewise.
769 * gdb.base/funcargs.exp: Likewise.
770 * gdb.base/hbreak2.exp: Likewise.
771 * gdb.base/inferior-died.exp: Likewise.
772 * gdb.base/interrupt.exp: Likewise.
773 * gdb.base/multi-forks.exp: Likewise.
774 * gdb.base/nodebug.exp: Likewise.
775 * gdb.base/sepdebug.exp: Likewise.
776 * gdb.base/solib1.c: Likewise.
777 * gdb.base/step-test.exp: Likewise.
778 * gdb.mi/non-stop.c: Likewise.
779 * gdb.mi/pthreads.c: Likewise.
780 * gdb.multi/bkpt-multi-exec.ex: Likewise.
781 * gdb.threads/pthreads.c: Likewise.
782 * gdb.threads/staticthreads.exp: Likewise.
783 * lib/future.exp: Likewise.
784 * lib/gdb.exp: Likewise.
785 * gdb.base/so-indr-cl.c: Remove.
786 * gdb.base/so-indr-cl.exp: Likewise.
787 * gdb.base/solib.c: Likewise.
788 * gdb.base/solib.exp: Likewise.
789 * gdb.base/solib2.c: Likewise.
790
791 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
792
793 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
794 * gdb.base/call-ar-st.exp: Likewise.
795 * gdb.base/callfuncs.exp: Likewise.
796 * gdb.base/condbreak.exp: Likewise.
797 * gdb.base/constvars.exp: Likewise.
798 * gdb.base/hbreak2.exp: Likewise.
799 * gdb.base/langs.exp: Likewise.
800 * gdb.base/list.exp: Likewise.
801 * gdb.base/long_long.exp: Likewise.
802 * gdb.base/ptype.exp: Likewise.
803 * gdb.base/scope.exp: Likewise.
804 * gdb.base/signals.exp: Likewise.
805 * gdb.base/so-impl-ld.exp: Likewise.
806 * gdb.base/varargs.exp: Likewise.
807 * gdb.base/volatile.exp: Likewise.
808 * gdb.base/whatis.exp: Likewise.
809 * gdb.cp/cplusfuncs.exp: Likewise.
810 * gdb.cp/inherit.exp: Likewise.
811 * gdb.cp/local.exp: Likewise.
812 * gdb.cp/member-ptr.exp: Likewise.
813 * gdb.cp/method.exp: Likewise.
814 * gdb.cp/overload.exp: Likewise.
815 * gdb.cp/templates.exp: Likewise.
816 * gdb.stabs/weird.exp: Likewise.
817 * lib/compiler.c: Likewise.
818 * lib/compiler.cc: Likewise.
819 * lib/cp-support.exp: Likewise.
820 * lib/gdb.exp: Likewise.
821
822 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
823
824 * configure.ac: Remove HP-UX case.
825 * configure: Regenerate.
826
827 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
828
829 * lib/gdb.exp (gdb_compile): Add function doc.
830
831 2015-12-17 Pedro Alves <palves@redhat.com>
832
833 PR threads/19354
834 * gdb.multi/info-threads.exp: New file.
835
836 2015-12-15 Yao Qi <yao.qi@linaro.org>
837
838 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
839 is aarch64*-*-*.
840
841 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
842
843 * gdb.base/history-duplicates.exp: Skip if no readline support.
844
845 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
846
847 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
848
849 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
850
851 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
852
853 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
854
855 * gdb.base/completion.exp: Skip tests that interrupt GDB with
856 ctrl-C if nointerrupts target property is set.
857 * gdb.base/double-prompt-target-event-error.exp: Likewise.
858 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
859 * gdb.base/paginate-bg-execution.exp: Likewise.
860 * gdb.base/paginate-execution-startup.exp: Likewise.
861 * gdb.base/random-signal.exp: Likewise.
862 * gdb.base/range-stepping.exp: Likewise.
863 * gdb.cp/annota2.exp: Likewise.
864 * gdb.cp/annota3.exp: Likewise.
865 * gdb.gdb/selftest.exp: Likewise.
866 * gdb.threads/continue-pending-status.exp: Likewise.
867 * gdb.threads/leader-exit.exp: Likewise.
868 * gdb.threads/manythreads.exp: Likewise.
869 * gdb.threads/pthreads.exp: Likewise.
870 * gdb.threads/schedlock.exp: Likewise.
871 * gdb.threads/sigthread.exp: Likewise.
872
873 2015-12-11 Don Breazeal <donb@codesourcery.com>
874
875 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
876 remote.
877 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
878 * gdb.base/foll-exec.exp (main): Enable for target remote.
879 * gdb.base/foll-fork.exp (main): Likewise.
880 * gdb.base/foll-vfork.exp (main): Likewise.
881 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
882 (proc continue_to_exit_bp_loc): Use clean_restart.
883 * gdb.base/pie-execl.exp (main): Disable for target remote.
884 * gdb.base/watch-vfork.exp (main): Enable for target remote.
885 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
886 * gdb.threads/execl.exp (main): Likewise.
887 * gdb.threads/fork-child-threads.exp (main): Likewise.
888 * gdb.threads/fork-plus-threads.exp (main): Disable for target
889 remote.
890 * gdb.threads/fork-thread-pending.exp (main): Enable for target
891 remote.
892 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
893 pid.tid style ptids, instead of just tid.
894 * gdb.threads/thread-execl.exp (main): Enable for target remote.
895 * gdb.threads/watchpoint-fork.exp (main): Likewise.
896 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
897 ptids, instead of just tid.
898
899 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
900
901 * gdb.base/list.exp (test_list_forward): Add end of file error
902 test.
903 (test_repeat_list_command): Add end of file error test.
904 (test_list_backwards): Add beginning of file error test.
905
906 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
907
908 * gdb.base/list.exp (test_list_invalid_args): New function,
909 defined, and called.
910
911 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
912
913 * gdb.base/list.exp (test_list): Make test names unique.
914
915 2015-12-11 Yao Qi <yao.qi@linaro.org>
916
917 * gdb.base/coremaker2.c: Remove.
918
919 2015-12-10 Pedro Alves <palves@redhat.com>
920
921 * gdb.multi/base.exp: Remove stale "spaces" references.
922
923 2015-12-10 Pedro Alves <palves@redhat.com>
924
925 * gdb.multi/base.exp: Don't use nowarnings.
926 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
927 * gdb.multi/hangout.c: Include stdio.h.
928 * gdb.multi/hello.c: Include stdlib.h.
929 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
930 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
931 * gdb.multi/multi-arch.exp: Don't use nowarnings.
932
933 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
934
935 * gdb.dwarf2/dw2-ranges-base.c: New file.
936 * gdb.dwarf2/dw2-ranges-base.exp: New file.
937 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
938 support additional line table, and debug ranges generation.
939 (Dwarf::ranges): New function, generate .debug_ranges.
940 (Dwarf::lines): Support generating simple line table programs.
941 (Dwarf::assemble): Initialise new namespace variables.
942
943 2015-12-09 Kevin Buettner <kevinb@redhat.com>
944
945 * gdb.base/async.exp (proc test_background): Add case for
946 asynchronous execution not supported.
947
948 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
949
950 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
951 format and change test names to make them unique.
952
953 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
954 Pedro Alves <pedro@redhat.com>
955
956 PR gdb/18702
957 Add checking of floatformats setup on x86_64 hosts.
958 * gdb.arch/i386-float.S (main): Load bigval and smallval.
959 (smallval, bigval): New labels/constants.
960 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
961 float" after loading bigval and smallval.
962
963 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
964
965 * gdb.ada/fun_overload_menu.exp: New testcase.
966 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
967
968 2015-12-04 Josh Stone <jistone@redhat.com>
969
970 * gdb.base/catch-fork-static.exp: New.
971
972 2015-12-03 Yao Qi <yao.qi@linaro.org>
973
974 * gdb.base/sizeof.c: Don't include stdio.h and
975 ../lib/unbuffer_output.c.
976 (main): New variable 'size' and 'value'. Remove printf and
977 gdb_unbuffer_output. Assign return value to size and value.
978 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
979 at the beginning.
980 (check_sizeof): Check the result by printing variable 'size'.
981 (check_valueof): Check the result by printing variable 'value'.
982
983 2015-12-01 Yao Qi <yao.qi@linaro.org>
984
985 * gdb.base/disp-step-syscall.exp: Define syscall instruction
986 for aarch64*-*-linux* target.
987
988 2015-11-30 Pedro Alves <palves@redhat.com>
989
990 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
991
992 2015-11-30 Pedro Alves <palves@redhat.com>
993
994 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
995 Handle non-stop mode vCont replies.
996
997 2015-11-30 Pedro Alves <palves@redhat.com>
998
999 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1000 prepare_for_testing. Start gdb with "set non-stop on" appended to
1001 GDBFLAGS. Lax expected stop output.
1002
1003 2015-11-27 Yao Qi <yao.qi@linaro.org>
1004
1005 * gdb.arch/arm-neon.exp: New.
1006 * gdb.arch/arm-neon.c: New.
1007
1008 2015-11-27 Yao Qi <yao.qi@linaro.org>
1009
1010 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1011
1012 2015-11-27 Yao Qi <yao.qi@linaro.org>
1013
1014 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1015 frames-invalid annotation.
1016
1017 2015-11-27 Yao Qi <yao.qi@linaro.org>
1018
1019 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1020
1021 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1022
1023 * gdb.threads/names.exp: New file.
1024 * gdb.threads/names.c: New file.
1025 * README: Mention gdb,no_thread_names.
1026
1027 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1028
1029 PR 19297
1030 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1031 support" error.
1032
1033 2015-11-24 Pedro Alves <palves@redhat.com>
1034
1035 PR 17539
1036 * gdb.base/display.exp: Expect displays to be sorted in ascending
1037 order. Use multi_line.
1038 * gdb.base/solib-display.exp: Likewise.
1039
1040 2015-11-24 Pedro Alves <palves@redhat.com>
1041
1042 PR 17539
1043 * gdb.base/display.exp: Expect displays to be sorted in ascending
1044 order. Use multi_line.
1045 * gdb.base/solib-display.exp: Likewise.
1046
1047 2015-11-24 Pedro Alves <palves@redhat.com>
1048
1049 PR 17539
1050 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1051 threads in ascending order.
1052 * gdb.base/foll-fork.exp: Likewise.
1053 * gdb.base/foll-vfork.exp: Likewise.
1054 * gdb.base/multi-forks.exp: Likewise.
1055 * gdb.mi/mi-nonstop.exp: Likewise.
1056 * gdb.mi/mi-nsintrall.exp: Likewise.
1057 * gdb.multi/base.exp: Likewise.
1058 * gdb.multi/multi-arch.exp: Likewise.
1059 * gdb.python/py-inferior.exp: Likewise.
1060 * gdb.threads/break-while-running.exp: Likewise.
1061 * gdb.threads/execl.exp: Likewise.
1062 * gdb.threads/gcore-thread.exp: Likewise.
1063 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1064 * gdb.threads/kill.exp: Likewise.
1065 * gdb.threads/linux-dp.exp: Likewise.
1066 * gdb.threads/multiple-step-overs.exp: Likewise.
1067 * gdb.threads/next-bp-other-thread.exp: Likewise.
1068 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1069 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1070 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1071 * gdb.threads/thread-find.exp: Likewise.
1072 * gdb.threads/tls.exp: Likewise.
1073 * lib/mi-support.exp (mi_reverse_list): Delete.
1074 (mi_check_thread_states): No longer reverse list.
1075
1076 2015-11-24 Pedro Alves <palves@redhat.com>
1077
1078 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1079 use lowercase.
1080
1081 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1082
1083 * gdb.trace/actions.c: Include trace-common.h.
1084 (main): Add a location for a fast tracepoint.
1085 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1086 the normal tracepoints.
1087 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1088
1089 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1090
1091 * save-trace.exp: Factor out code to these...
1092 (gdb_save_tracepoints): New.
1093 (gdb_load_tracepoints): New.
1094 (do_save_load_test): New.
1095
1096 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1097
1098 * gdb.base/asmlabel.exp: New test.
1099 * gdb.base/asmlabel.c: New test case.
1100
1101 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1102
1103 * gdb.base/wrong_frame_bt_full-main.c: New file.
1104 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1105 * gdb.base/wrong_frame_bt_full.exp: New file.
1106
1107 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1108
1109 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1110
1111 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1112
1113 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1114 pstate register when comparing registers values in
1115 sparc64-*-linux-gnu targets to avoid spurious differences.
1116
1117 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1118
1119 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1120
1121 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1122
1123 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1124 as type argument to gdb_compile.
1125 * gdb.base/nested-subp2.exp: Likewise.
1126 * gdb.base/nested-subp3.exp: Likewise.
1127
1128 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1129
1130 * lib/dwarf.exp (_note): Fix left shift of negative value.
1131 * gdb.trace/trace-condition.exp: Likewise.
1132
1133 2015-11-13 Yao Qi <yao.qi@linaro.org>
1134
1135 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1136 comments about d10v.
1137 (test_scalar_returns): Likewise.
1138 * gdb.base/d10v.ld: Remove.
1139 * gdb.base/overlays.exp: Remove the target triplet checking for
1140 d10v-*-*.
1141 * gdb.base/structs.exp (test_struct_returns): Remove the
1142 comments about d10v.
1143 (test_struct_calls): Likewise.
1144
1145 2015-11-13 Yao Qi <yao.qi@linaro.org>
1146
1147 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1148 * gdb.base/gnu_vector.c: Don't include stdio.h.
1149 (main): Don't print res and call add_some_intvecs.
1150
1151 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1152
1153 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1154 macro.
1155 (func5): Removed.
1156 (func4): Use FAST_TRACEPOINT_LABEL.
1157 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1158 macro.
1159 (func): Removed.
1160 (thread_function): Use FAST_TRACEPOINT_LABEL.
1161 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1162 (func): Remove.
1163 (marker): Use FAST_TRACEPOINT_LABEL.
1164 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1165 (pendfunc1): Remove.
1166 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1167 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1168 (foo): Remove.
1169 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1170 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1171 macro.
1172 (func): Remove.
1173 (marker): Use FAST_TRACEPOINT_LABEL.
1174 * gdb.trace/trace-common.h: New header.
1175 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1176 macro.
1177 (func): Remove.
1178 (marker): Use FAST_TRACEPOINT_LABEL.
1179 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1180 (func): Remove.
1181 (thread_function): Use FAST_TRACEPOINT_LABEL.
1182
1183 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1184
1185 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1186 in front.
1187 * gdb.trace/change-loc.exp: Use global pcreg definition.
1188 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1189 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1190 in front.
1191 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1192 * gdb.trace/pending.exp: Likewise.
1193 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1194 * gdb.trace/trace-break.exp: Likewise.
1195 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1196 in front.
1197 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1198 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1199 in front.
1200 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1201
1202 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1203
1204 * gdb.ada/fin_fun_out: New testcase.
1205
1206 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1207
1208 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1209 value associated with DW_AT_byte_size.
1210 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1211 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1212 DW_AT_upper_bound.
1213
1214 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1215
1216 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1217 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1218 version.
1219 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1220 gdb.dwarf2/dw2-canonicalize-type.exp,
1221 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1222 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1223 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1224 provided by gdb_target_symbol_prefix_flags_asm.
1225 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1226 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1227 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1228 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1229 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1230 macros where needed). Use this macro for symbols which require
1231 the prefix provided by SYMBOL_PREFIX.
1232
1233 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1234
1235 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1236 New procs.
1237 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1238 representing expressions, of more than one list element.
1239 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1240 to prepend linker symbol prefix to f.
1241 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1242 table_1 and table_2.
1243 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1244 Likewise, for f and g.
1245 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1246 for ptr.
1247 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1248 for main.
1249 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1250 table_1_ptr and table_2_ptr.
1251
1252 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1253 Joel Brobecker <brobecker@adacore.com>
1254
1255 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1256
1257 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1258
1259 * gdb.reverse/s390-mvcle.c: New test.
1260 * gdb.reverse/s390-mvcle.exp: New file.
1261 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1262
1263 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1264
1265 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1266
1267 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1268
1269 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1270 reaching marker2.
1271 * gdb.reverse/getresuid-reverse.exp: Likewise.
1272 * gdb.reverse/pipe-reverse.exp: Likewise.
1273 * gdb.reverse/readv-reverse.exp: Likewise.
1274 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1275 * gdb.reverse/time-reverse.exp: Likewise.
1276 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1277
1278 2015-10-30 Yao Qi <yao.qi@linaro.org>
1279
1280 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1281 (empty_cycle): Remove.
1282 (main): Don't call empty_cycle. Don't use watch_count_done.
1283 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1284 empty_cycle. Rewrite the code counting HW watchpoints.
1285
1286 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1287
1288 * gdb.reverse/fstatat-reverse.c: New test.
1289 * gdb.reverse/fstatat-reverse.exp: New file.
1290 * gdb.reverse/getresuid-reverse.c: New test.
1291 * gdb.reverse/getresuid-reverse.exp: New file.
1292 * gdb.reverse/pipe-reverse.c: New test.
1293 * gdb.reverse/pipe-reverse.exp: New file.
1294 * gdb.reverse/readv-reverse.c: New test.
1295 * gdb.reverse/readv-reverse.exp: New file.
1296 * gdb.reverse/recvmsg-reverse.c: New test.
1297 * gdb.reverse/recvmsg-reverse.exp: New file.
1298 * gdb.reverse/time-reverse.c: New test.
1299 * gdb.reverse/time-reverse.exp: New file.
1300 * gdb.reverse/waitpid-reverse.c: New test.
1301 * gdb.reverse/waitpid-reverse.exp: New file.
1302
1303 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1304
1305 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1306
1307 2015-10-26 Doug Evans <dje@google.com>
1308
1309 PR symtab/17391
1310 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1311 * gdb.dwarf2/bad-regnum.c: New file.
1312 * gdb.dwarf2/bad-regnum.exp: New file.
1313
1314 2015-10-26 Doug Evans <dje@google.com>
1315
1316 PR python/18938
1317 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1318 file.
1319
1320 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1321
1322 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1323 for a change by "Mention language in compile error message".
1324
1325 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1326
1327 PR python/18073
1328 * gdb.python/py-type.c (C::a_method): New.
1329 (C::a_const_method): New.
1330 (C::a_static_method): New.
1331 (a_function): New.
1332 * gdb.python/py-type.exp (test_fields): Test getting fields
1333 from function and method.
1334
1335 2015-10-21 Keven Boell <keven.boell@intel.com>
1336
1337 * gdb.fortran/vla-alloc-assoc.exp: New file.
1338 * gdb.fortran/vla-datatypes.exp: New file.
1339 * gdb.fortran/vla-datatypes.f90: New file.
1340 * gdb.fortran/vla-history.exp: New file.
1341 * gdb.fortran/vla-ptype-sub.exp: New file.
1342 * gdb.fortran/vla-ptype.exp: New file.
1343 * gdb.fortran/vla-sizeof.exp: New file.
1344 * gdb.fortran/vla-sub.f90: New file.
1345 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1346 * gdb.fortran/vla-value-sub-finish.exp: New file.
1347 * gdb.fortran/vla-value-sub.exp: New file.
1348 * gdb.fortran/vla-value.exp: New file.
1349 * gdb.fortran/vla-ptr-info.exp: New file.
1350 * gdb.mi/mi-vla-fortran.exp: New file.
1351 * gdb.mi/vla.f90: New file.
1352
1353 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1354
1355 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1356 of hardwired timeout value.
1357
1358 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1359 Pedro Alves <palves@redhat.com>
1360
1361 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1362 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1363
1364 2015-10-19 Josh Stone <jistone@redhat.com>
1365
1366 * gdb.base/catch-syscall.c: Include <sched.h>.
1367 (unknown_syscall): New variable.
1368 (main): Trigger a vfork and an unknown syscall.
1369 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1370 (unknown_syscall_number): Likewise.
1371 (check_call_to_syscall): Accept an optional syscall pattern.
1372 (check_return_from_syscall): Likewise.
1373 (check_continue): Likewise.
1374 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1375 (test_catch_syscall_skipping_return): New test toggling off 'catch
1376 syscall' to step over the syscall return, then toggling back on.
1377 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1378 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1379 (do_syscall_tests): Call test_catch_syscall_without_args and
1380 test_catch_syscall_mid_vfork.
1381 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1382 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1383
1384 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1385
1386 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1387 print g_vE): Add new pass patterns.
1388 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1389 print various symbol names for vptr fields.
1390
1391 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1392
1393 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1394 results.
1395
1396 2015-10-12 Yao Qi <yao.qi@linaro.org>
1397
1398 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1399
1400 2015-10-12 Yao Qi <yao.qi@linaro.org>
1401
1402 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1403 is aarch64*-*-linux*.
1404
1405 2015-10-12 Yao Qi <yao.qi@linaro.org>
1406
1407 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1408 (can_relocate_bcond_true): ... it.
1409 (can_relocate_bcond_false): New function.
1410 (foo): Likewise.
1411 (can_relocate_bl): Likewise.
1412 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1413 can_relocate_bl.
1414
1415 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1416
1417 * gdb.base/nested-addr.c: New file.
1418 * gdb.base/nested-addr.exp: New testcase.
1419
1420 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1421
1422 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1423 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1424 its output. Ignore the output of "record goto begin" and instead
1425 check that GDB is replaying.
1426
1427 2015-10-09 Pedro Alves <palves@redhat.com>
1428
1429 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1430 (top level): Use it in the run with no args test.
1431
1432 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1433
1434 * gdb.dlang/properties.exp: New file.
1435
1436 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1437
1438 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1439 whether or not address 0x1000 is mapped on the target.
1440
1441 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1442
1443 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1444 build.
1445
1446 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1447
1448 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1449 instruction-history test.
1450
1451 2015-09-28 Doug Evans <dje@google.com>
1452
1453 * gdb.base/gcore.c (array_func): Add reference to static_array.
1454
1455 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1456
1457 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1458 source line.
1459
1460 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1461
1462 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1463 short or char as base type.
1464
1465 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1466
1467 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1468 to allow any size enum.
1469
1470 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1471
1472 * gdb.ada/array_ptr_renaming.exp: New testcase.
1473 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1474 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1475
1476 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1477
1478 * gdb.trace/ftrace-lock.c: New file.
1479 * gdb.trace/ftrace-lock.exp: New file.
1480
1481 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1482
1483 * gdb.arch/insn-reloc.c: New file.
1484 * gdb.arch/ftrace-insn-reloc.exp: New file.
1485
1486 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1487
1488 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1489 instruction.
1490 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1491 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1492 * gdb.trace/range-stepping.c: Likewise.
1493 * gdb.trace/trace-break.c: Likewise.
1494 * gdb.trace/trace-mt.c (thread_function): Likewise.
1495 * gdb.trace/ftrace.c (marker): Likewise.
1496 * gdb.trace/trace-condition.c (marker): Likewise.
1497 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1498 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1499 is_aarch64_target.
1500
1501 2015-09-18 Doug Evans <xdje42@gmail.com>
1502
1503 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1504 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1505
1506 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1507
1508 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1509 the breakpoint.
1510
1511 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1512
1513 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1514 the pending breakpoint. Remove timeout override for "Run till
1515 MI pending breakpoint on pendfunc3 on thread 2" test.
1516
1517 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1518
1519 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1520 filename pattern.
1521
1522 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1523
1524 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1525 in breakpoint filename pattern.
1526
1527 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1528
1529 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1530
1531 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1532
1533 * gdb.linespec/explicit.exp: Check for readline support for
1534 tab-completion tests. Fix obvious typo.
1535
1536 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1537
1538 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1539 and replay.
1540
1541 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1542
1543 * gdb.btrace/non-stop.c: New.
1544 * gdb.btrace/non-stop.exp: New.
1545
1546 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1547 Yao Qi <yao.qi@linaro.org>
1548
1549 * gdb.trace/trace-condition.c: New file.
1550 * gdb.trace/trace-condition.exp: New file.
1551
1552 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1553
1554 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1555 for testing bytecode compilation.
1556
1557 2015-09-16 Pedro Alves <palves@redhat.com>
1558 Sandra Loosemore <sandra@codesourcery.com>
1559
1560 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1561 (SECONDS): Redefine.
1562 (main): Call pthread_kill and alarm early.
1563 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1564 support.
1565 (test): If the target can't hardware step and doesn't support
1566 displaced stepping, increase the timeout.
1567
1568 2015-09-16 Pedro Alves <palves@redhat.com>
1569
1570 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1571 (enable_debug): New procedures.
1572 (test): Use them. Bail out if waiting for threads fails.
1573 (top level): Bail out if a test fails.
1574
1575 2015-09-16 Yao Qi <yao.qi@linaro.org>
1576
1577 * gdb.asm/asm-source.exp: Set asm-arch for
1578 aarch64*-*-* target.
1579 * gdb.asm/aarch64.inc: New file.
1580
1581 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1582
1583 * gdb.ada/array_of_variable_length.exp: New testcase.
1584 * gdb.ada/array_of_variable_length/foo.adb: New file.
1585 * gdb.ada/array_of_variable_length/pck.adb: New file.
1586 * gdb.ada/array_of_variable_length/pck.ads: New file.
1587
1588 2015-09-15 Doug Evans <dje@google.com>
1589
1590 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1591 of function static local variable.
1592
1593 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1594
1595 * gdb.threads/tls-so_extern.exp: New test file.
1596 * gdb.threads/tls-so_extern.c: New test file.
1597 * gdb.threads/tls-so_extern_main.c: New test file.
1598
1599 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1600
1601 * gdb.opt/solib-intra-step-lib.c: New file.
1602 * gdb.opt/solib-intra-step-main.c: New file.
1603 * gdb.opt/solib-intra-step.exp: New file.
1604
1605 2015-09-15 Pedro Alves <palves@redhat.com>
1606
1607 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1608 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1609
1610 2015-09-14 Pedro Alves <palves@redhat.com>
1611
1612 * gdb.base/hook-stop-continue.c: Delete.
1613 * gdb.base/hook-stop-continue.exp: Delete.
1614 * gdb.base/hook-stop-frame.c: Delete.
1615 * gdb.base/hook-stop-frame.exp: Delete.
1616 * gdb.base/hook-stop.c: New file.
1617 * gdb.base/hook-stop.exp: New file.
1618
1619 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1620
1621 * gdb.ada/access_to_packed_array.exp: New testcase.
1622 * gdb.ada/access_to_packed_array/foo.adb: New file.
1623 * gdb.ada/access_to_packed_array/pack.adb: New file.
1624 * gdb.ada/access_to_packed_array/pack.ads: New file.
1625
1626 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1627
1628 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1629 buffer size test.
1630
1631 2015-09-11 Don Breazeal <donb@codesourcery.com>
1632
1633 * gdb.base/foll-exec.c: Add copyright header. Fix
1634 formatting issues.
1635 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1636 (do_exec_tests): Use clean_restart in place of zap_session,
1637 and for test initialization. Fix formatting issues. Use
1638 fail in place of perror.
1639 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1640 an expect statement to match an expression with output from
1641 the program under debug.
1642 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1643 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1644 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1645 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1646 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1647
1648 2015-09-09 Doug Evans <dje@google.com>
1649
1650 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1651
1652 2015-09-09 Doug Evans <dje@google.com>
1653
1654 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1655
1656 2015-09-09 Doug Evans <dje@google.com>
1657
1658 * gdb.base/savedregs.exp: Fix typo.
1659
1660 2015-09-09 Pedro Alves <palves@redhat.com>
1661
1662 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1663
1664 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1665
1666 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1667 command actually switches threads. Give up on remaining
1668 tests if target fails to stop at breakpoint.
1669
1670 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1671
1672 * gdb.ada/funcall_char.exp: New testcase.
1673 * gdb.ada/funcall_char/foo.adb: New file.
1674
1675 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1676
1677 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1678 expected outputs. Add two testcases for completing ambiguous
1679 functions.
1680 * gdb.ada/complete/aux_pck.adb: New file.
1681 * gdb.ada/complete/aux_pck.ads: New file.
1682 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1683 Ambiguous_Func functions.
1684 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1685 * gdb.ada/complete/pck.adb: Likewise.
1686
1687 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1688
1689 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1690 failures to run the test program under GDB.
1691
1692 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1693
1694 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1695 to C.
1696
1697 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1698
1699 * gdb.base/run-after-attach.exp: New test file.
1700 * gdb.base/run-after-attach.c: New test file.
1701
1702 2015-08-26 Don Breazeal <donb@codesourcery.com>
1703
1704 * gdb.base/foll-exec-2.c: New test program.
1705 * gdb.base/foll-exec-2.exp: New test.
1706
1707 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1708
1709 * gdb.base/nested-subp1.exp: New file.
1710 * gdb.base/nested-subp1.c: New file.
1711 * gdb.base/nested-subp2.exp: New file.
1712 * gdb.base/nested-subp2.c: New file.
1713 * gdb.base/nested-subp3.exp: New file.
1714 * gdb.base/nested-subp3.c: New file.
1715
1716 2015-08-24 Pedro Alves <palves@redhat.com>
1717
1718 * gdb.server/connect-without-multi-process.c: New file.
1719 * gdb.server/connect-without-multi-process.exp: New file.
1720
1721 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1722
1723 * gdb.opt/inline-markers.c: Make z int.
1724
1725 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1726
1727 * gdb.opt/inline-markers.c: Make z volatile.
1728
1729 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1730
1731 * gdb.opt/inline-bt.c: New volatile global z.
1732 * gdb.opt/inline-cmds.c: Likewise.
1733 * gdb.opt/inline-locals.c: Likewise.
1734 * gdb.opt/inline-markers.c: New extern global z.
1735 (marker): Use z.
1736 (inline_fn): Likewise.
1737
1738 2015-08-24 Pedro Alves <palves@redhat.com>
1739
1740 * config/m32r-stub.exp: Remove file.
1741 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1742 * gdb.base/call-rt-st.exp: Likewise.
1743 * gdb.base/call-strs.exp: Likewise.
1744 * gdb.base/default.exp: Remove references to h8300-*-hms and
1745 *-*-udi*.
1746 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1747
1748 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1749
1750 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1751 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1752 and "return" use KFAIL when GDB can not read/write the vector
1753 return value.
1754
1755 2015-08-21 Gary Benson <gbenson@redhat.com>
1756
1757 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1758
1759 2015-08-20 Pedro Alves <palves@redhat.com>
1760
1761 * gdb.server/solib-list.exp: No longer expect an interior stop in
1762 non-stop mode.
1763
1764 2015-08-20 Pedro Alves <palves@redhat.com>
1765
1766 * gdb.server/connect-stopped-target.c: New file.
1767 * gdb.server/connect-stopped-target.exp: New file.
1768
1769 2015-08-20 Pedro Alves <palves@redhat.com>
1770
1771 * gdb.dwarf2/comp-unit-lang.exp: New file.
1772 * gdb.dwarf2/comp-unit-lang.c: New file.
1773
1774 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1775
1776 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1777 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1778
1779 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1780
1781 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1782 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1783
1784 2015-08-18 Doug Evans <dje@google.com>
1785 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1786
1787 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1788 skip_python_tests. New arg prompt_regexp.
1789 (skip_python_tests): New function.
1790 * lib/mi-support.exp (mi_skip_python_tests): New function.
1791 * gdb.python/py-mi-objfile-gdb.py: New file.
1792 * gdb.python/py-mi-objfile.c: New file.
1793 * gdb.python/py-mi-objfile.exp: New file.
1794
1795 2015-08-17 Keith Seitz <keiths@redhat.com>
1796
1797 * gdb.linespec/explicit.exp: Move strace test from here ...
1798 * gdb.trace/strace.exp: ... to here.
1799
1800 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1801
1802 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1803 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1804
1805 2015-08-14 Doug Evans <xdje42@gmail.com>
1806
1807 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1808 inferior before selecting a new file.
1809
1810 2015-08-14 Doug Evans <xdje42@gmail.com>
1811
1812 * gdb.mi/mi-disassemble.exp: Update.
1813 * gdb.base/disasm-optim.S: New file.
1814 * gdb.base/disasm-optim.c: New file.
1815 * gdb.base/disasm-optim.h: New file.
1816 * gdb.base/disasm-optim.exp: New file.
1817
1818 2015-08-14 Keith Seitz <keiths@redhat.com>
1819
1820 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1821 "evaluated-by".
1822
1823 2015-08-13 Joel Brobecker <brobecker@adacore.com>
1824
1825 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1826
1827 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1828
1829 * gdb.ada/fun_renaming.exp: New testcase.
1830 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1831 * gdb.ada/fun_renaming/pack.adb: New file.
1832 * gdb.ada/fun_renaming/pack.ads: New file.
1833
1834 2015-08-12 Keith Seitz <keiths@redhat.com>
1835
1836 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1837 gdb_get_line_number.
1838
1839 2015-08-12 Joel Brobecker <brobecker@adacore.com>
1840
1841 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1842 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1843 gdb.base/dso2dso.exp: New files.
1844
1845 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1846 Pedro Alves <palves@redhat.com>
1847 Keith Seitz <keiths@redhat.com>
1848
1849 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1850 GDBFLAGS.
1851
1852 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1853
1854 * gdb.base/gdbhistsize-history.exp
1855 (test_histsize_history_setting): Use save_vars.
1856 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1857 Use save_vars.
1858 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1859 * gdb.base/readline.exp: Use save_vars.
1860
1861 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1862
1863 * lib/gdb.exp (save_vars): New proc.
1864
1865 2015-08-11 Keith Seitz <keiths@redhat.com>
1866
1867 * gdb.base/help.exp: Update help_breakpoint_text.
1868
1869 2015-08-11 Keith Seitz <keiths@redhat.com>
1870
1871 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1872 (at toplevel): Call test_explicit_breakpoints.
1873 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1874 breakpoints.
1875 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1876 breakpoint conditions, "-cond".
1877
1878 2015-08-11 Keith Seitz <keiths@redhat.com>
1879
1880 * gdb.linespec/3explicit.c: New file.
1881 * gdb.linespec/cpexplicit.cc: New file.
1882 * gdb.linespec/cpexplicit.exp: New file.
1883 * gdb.linespec/explicit.c: New file.
1884 * gdb.linespec/explicit.exp: New file.
1885 * gdb.linespec/explicit2.c: New file.
1886 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1887 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1888 before using in the matching pattern.
1889 Clarify that `prefix' is a regular expression.
1890
1891 2015-08-11 Keith Seitz <keiths@redhat.com>
1892
1893 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1894 test.
1895 Add tests for missing ",FMT" and ",".
1896
1897 2015-08-10 Doug Evans <dje@google.com>
1898 Keith Seitz <keiths@redhat.com>
1899
1900 PR gdb/17960
1901 * gdb.base/completion.exp: Add location completer tests.
1902
1903 2015-08-07 Pedro Alves <palves@redhat.com>
1904
1905 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1906 tests here.
1907 (top level): Run do_test with and without displaced stepping.
1908
1909 2015-08-07 Pedro Alves <palves@redhat.com>
1910
1911 * gdb.base/valgrind-disp-step.c: New file.
1912 * gdb.base/valgrind-disp-step.exp: New file.
1913
1914 2015-08-07 Pedro Alves <palves@redhat.com>
1915
1916 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1917 Delete function.
1918 (main): Add alarm. Run an infinite loop instead of calling
1919 wait_threads.
1920 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1921 comment.
1922 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1923 Delete function.
1924 (main): Add alarm. Run an infinite loop instead of calling
1925 wait_threads.
1926 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1927 comment.
1928
1929 2015-08-07 Pedro Alves <palves@redhat.com>
1930
1931 * gdb.base/checkpoint-ns.exp: New file.
1932 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1933 standard_testfile.
1934
1935 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1936
1937 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1938 * gdb.btrace/instruction_history.exp: Update.
1939 * gdb.btrace/tsx.exp: New.
1940 * gdb.btrace/tsx.c: New.
1941
1942 2015-08-06 Pedro Alves <palves@redhat.com>
1943
1944 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1945 increase timeout.
1946 * gdb.reverse/until-precsave.exp: Bump timeouts.
1947
1948 2015-08-06 Pedro Alves <palves@redhat.com>
1949
1950 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1951
1952 2015-08-06 Pedro Alves <palves@redhat.com>
1953
1954 PR gdb/18749
1955 * gdb.threads/process-dies-while-handling-bp.c: New file.
1956 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1957
1958 2015-08-06 Pedro Alves <palves@redhat.com>
1959
1960 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1961 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1962
1963 2015-08-05 Pedro Alves <palves@redhat.com>
1964
1965 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1966 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1967
1968 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1969
1970 * gdb.base/bp-permanent.exp: Report test as unsupported if
1971 the target cannot stop at the permanent breakpoint.
1972
1973 2015-08-03 Doug Evans <dje@google.com>
1974
1975 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1976 10000.
1977
1978 2015-08-03 Doug Evans <dje@google.com>
1979
1980 * Makefile.in (workers/%.worker, build-perf): New rule.
1981 (GDB_PERFTEST_MODE): New variable.
1982 (check-perf): Use it.
1983 (clean): Clean up gdb.perf parallel build subdirs.
1984 * lib/build-piece.exp: New file.
1985 * lib/gdb.exp (make_gdb_parallel_path): New function
1986 (standard_output_file, standard_temp_file): Call it.
1987 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1988 of $GDB_PARALLEL.
1989 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1990
1991 2015-08-03 Doug Evans <dje@google.com>
1992
1993 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
1994 (LOG_FILE_NAME): New global.
1995 (TextReporter.__init__): Initialize self.txt_sum.
1996 (TextReporter.report): Add support for multiple data-points.
1997 Move report to perftest.sum, put raw data in perftest.log.
1998 (TextReporter.start): Open sum and log files.
1999 (TextReporter.end): Close sum and log files.
2000 * gdb.perf/lib/perftest/testresult.py
2001 (SingleStatisticTestResult.record): Handle multiple data-points.
2002
2003 2015-07-31 Pedro Alves <palves@redhat.com>
2004
2005 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2006 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2007 kill_wait_spawned_process instead of explicit "kill -9".
2008 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2009 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2010 kill_wait_spawned_process.
2011 * gdb.base/attach-twice.exp: Likewise.
2012 * gdb.base/attach.exp: Likewise.
2013 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2014 gdb_test_multiple.
2015 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2016 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2017 kill_wait_spawned_process.
2018 * gdb.base/valgrind-infcall.exp: Likewise.
2019 * gdb.multi/multi-attach.exp: Likewise.
2020 * gdb.python/py-prompt.exp: Likewise.
2021 * gdb.python/py-sync-interp.exp: Likewise.
2022 * gdb.server/ext-attach.exp: Likewise.
2023 * gdb.threads/attach-into-signal.exp (corefunc): Use
2024 spawn_wait_for_attach, spawn_id_get_pid and
2025 kill_wait_spawned_process.
2026 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2027 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2028 spawn_id_get_pid and kill_wait_spawned_process.
2029 * gdb.threads/attach-stopped.exp (corefunc): Use
2030 spawn_wait_for_attach, spawn_id_get_pid and
2031 kill_wait_spawned_process.
2032 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2033 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2034 kill_wait_spawned_process instead of explicit "kill -9".
2035 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2036 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2037 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2038 processes. Don't map cygwin/windows pids here. Now returns a
2039 spawn id list.
2040
2041 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2042
2043 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2044 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2045 correct patch.
2046
2047 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2048
2049 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2050
2051 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2052
2053 Reapply:
2054 2014-05-21 Mark Wielaard <mjw@redhat.com>
2055
2056 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2057
2058 2015-07-30 Pedro Alves <palves@redhat.com>
2059
2060 * linux-low.c (handle_extended_wait): Set the child's last
2061 reported status to TARGET_WAITKIND_STOPPED.
2062
2063 2015-07-30 Pedro Alves <palves@redhat.com>
2064
2065 PR threads/18600
2066 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2067 only shows inferior 1.
2068
2069 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2070 Pedro Alves <palves@redhat.com>
2071
2072 PR threads/18600
2073 * gdb.threads/fork-plus-threads.c: New file.
2074 * gdb.threads/fork-plus-threads.exp: New file.
2075
2076 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2077
2078 * gdb.base/batch-preserve-term-settings.exp
2079 (test_terminal_settings_preserved_after_cli_exit): Use
2080 send_quit_command.
2081
2082 2015-07-29 Pedro Alves <palves@redhat.com>
2083 Don Breazeal <donb@codesourcery.com>
2084
2085 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2086 output from both inferior_spawn_id and gdb_spawn_id.
2087
2088 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2089
2090 * gdb.threads/attach-into-signal.exp (corefunc): Use
2091 with_test_prefix on nested loops, uniquefying the test messages.
2092
2093 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2094
2095 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2096 commit.
2097
2098 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2099
2100 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2101 New proc.
2102 (test_terminal_settings_preserved_after_sigterm): New test.
2103
2104 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2105
2106 * gdb.base/batch-preserve-term-settings.exp
2107 (test_terminal_settings_preserved_after_cli_exit): New test.
2108
2109 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2110
2111 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2112 manipulation of saved_gdbflags.
2113 (test_terminal_settings_preserved): Remove global declaration of
2114 the unused variable pagination_prompt. Remove manipulation of
2115 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2116 GDBFLAGS.
2117
2118 2015-07-29 Pedro Alves <palves@redhat.com>
2119
2120 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2121
2122 2015-07-29 Pedro Alves <palves@redhat.com>
2123
2124 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2125 at the top.
2126
2127 2015-07-29 Pedro Alves <palves@redhat.com>
2128
2129 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2130 (main): Call gdb_unbuffer_output.
2131 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2132 (main): Call gdb_unbuffer_output.
2133 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2134 (main): Call gdb_unbuffer_output.
2135 * gdb.base/call-strs.exp: Adjust to step over the
2136 gdb_unbuffer_output call.
2137 * gdb.base/catch-gdb-caused-signals.c: Include
2138 "../lib/unbuffer_output.c".
2139 (main): Call gdb_unbuffer_output.
2140 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2141 (main): Call gdb_unbuffer_output.
2142 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2143 (main): Call gdb_unbuffer_output.
2144 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2145 (main): Call gdb_unbuffer_output.
2146 * gdb.base/shlib-call.exp: Adjust to step over the
2147 gdb_unbuffer_output call.
2148 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2149 (main): Call gdb_unbuffer_output.
2150 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2151 (main): Call gdb_unbuffer_output.
2152 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2153 (main): Rename to ...
2154 (test): ... this.
2155 (main): Reimplement.
2156 * gdb.base/varargs.exp: Run to test instead of to main.
2157 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2158 (main): Call gdb_unbuffer_output.
2159
2160 2015-07-29 Pedro Alves <palves@redhat.com>
2161
2162 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2163 factore out from mi_continue_dprintf. For call-style dprintfs,
2164 expect dprintf output out of $inferior_spawn_id.
2165 (mi_continue_dprintf): Use mi_expect_dprintf.
2166 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2167 (main): Call gdb_unbuffer_output.
2168
2169 2015-07-29 Pedro Alves <palves@redhat.com>
2170
2171 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2172 (default_mi_gdb_start): Set inferior_spawn_id instead of
2173 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2174 gdb_spawn_id.
2175 (mi_gdb_test): Always expect inferior output from both
2176 $inferior_spawn_id and $gdb_spawn_id.
2177
2178 2015-07-29 Pedro Alves <palves@redhat.com>
2179
2180 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2181 send_inferior and $inferior_spawn_id.
2182
2183 2015-07-29 Pedro Alves <palves@redhat.com>
2184
2185 * gdb.gdb/complaints.exp (test_initial_complaints)
2186 (test_serial_complaints, test_short_complaints): Use
2187 gdb_test_stdio.
2188 (test_empty_complaint): Handle $inferior_spawn_id !=
2189 $gdb_spawn_id.
2190
2191 2015-07-29 Pedro Alves <palves@redhat.com>
2192
2193 * gdb.base/varargs.exp: Use gdb_test_stdio.
2194
2195 2015-07-29 Pedro Alves <palves@redhat.com>
2196
2197 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2198
2199 2015-07-29 Pedro Alves <palves@redhat.com>
2200
2201 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2202
2203 2015-07-29 Pedro Alves <palves@redhat.com>
2204
2205 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2206 parameter into two new parameters, "inf_result" and "gdb_result".
2207 Expect inferior output and gdb output from $inferior_spawn_id and
2208 $gdb_spawn_id, respectively. Adjust all callers.
2209
2210 2015-07-29 Pedro Alves <palves@redhat.com>
2211
2212 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2213 of gdb_test_sequence.
2214
2215 2015-07-29 Pedro Alves <palves@redhat.com>
2216
2217 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2218 (saw_spurious_output): Expect inferior output from
2219 $inferior_spawn_id. Use gdb_test_stdio.
2220
2221 2015-07-29 Pedro Alves <palves@redhat.com>
2222
2223 * gdb.base/dprintf.exp: Use standard_testfile. Change
2224 prepare_for_testing call.
2225 (srcfile): Don't set.
2226 (restart): New procedure.
2227 (test_dprintf): New procecure, use to continue over dprintfs.
2228 (test_call, test_agent): New procedures, tests moved here.
2229 Restart gdb and recreate dprintfs. Adjust expected output.
2230
2231 2015-07-29 Pedro Alves <palves@redhat.com>
2232
2233 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2234
2235 2015-07-29 Pedro Alves <palves@redhat.com>
2236
2237 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2238
2239 2015-07-29 Pedro Alves <palves@redhat.com>
2240
2241 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2242 gdb_test_stdio.
2243
2244 2015-07-29 Pedro Alves <palves@redhat.com>
2245
2246 * lib/gdb.exp (gdb_test_stdio): New procedure.
2247
2248 2015-07-29 Pedro Alves <palves@redhat.com>
2249
2250 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2251
2252 2015-07-29 Pedro Alves <palves@redhat.com>
2253
2254 * gdb.base/call-signal-resume.exp: Remove check for
2255 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2256 * gdb.base/unwindonsignal.exp: Likewise.
2257 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2258 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2259
2260 2015-07-29 Pedro Alves <palves@redhat.com>
2261
2262 * gdb.base/siginfo-addr.c (pass): New function.
2263 (handler): Call it iff si_addr is correct.
2264 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2265 Set a breakpoint at "pass" and continue to it.
2266
2267 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2268
2269 * gdb.python/py-objfile.exp: Make some tests have unique names.
2270 * gdb.python/py-pp-registration.exp: Likewise.
2271
2272 2015-07-28 Pedro Alves <palves@redhat.com>
2273
2274 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2275
2276 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2277
2278 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2279
2280 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2281
2282 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2283
2284 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2285
2286 * gdb.base/gdb-sigterm-2.exp: New test.
2287
2288 2015-07-25 Doug Evans <xdje42@gmail.com>
2289
2290 Revert:
2291 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2292 (workers/%.worker, build-perf): New rule.
2293 (GDB_PERFTEST_MODE): New variable.
2294 (check-perf): Use it.
2295 (clean): Clean up gdb.perf parallel build subdirs.
2296 * lib/build-piece.exp: New file.
2297 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2298 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2299 name.
2300 (standard_temp_file): Ditto.
2301 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2302 of $GDB_PARALLEL.
2303
2304 2015-07-24 Doug Evans <dje@google.com>
2305
2306 * gdb.perf/lib/perftest/utils.py: New file.
2307 * gdb.perf/gm-hello.cc: New file.
2308 * gdb.perf/gm-pervasive-typedef.cc: New file.
2309 * gdb.perf/gm-pervasive-typedef.h: New file.
2310 * gdb.perf/gm-std.cc: New file.
2311 * gdb.perf/gm-std.h: New file.
2312 * gdb.perf/gm-use-cerr.cc: New file.
2313 * gdb.perf/gm-utils.h: New file.
2314 * gdb.perf/gmonster-null-lookup.py: New file.
2315 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2316 * gdb.perf/gmonster-print-cerr.py: New file.
2317 * gdb.perf/gmonster-ptype-string.py: New file.
2318 * gdb.perf/gmonster-runto-main.py: New file.
2319 * gdb.perf/gmonster-select-file.py: New file.
2320 * gdb.perf/gmonster1-null-lookup.exp: New file.
2321 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2322 * gdb.perf/gmonster1-print-cerr.exp: New file.
2323 * gdb.perf/gmonster1-ptype-string.exp: New file.
2324 * gdb.perf/gmonster1-runto-main.exp: New file.
2325 * gdb.perf/gmonster1-select-file.exp: New file.
2326 * gdb.perf/gmonster1.cc: New file.
2327 * gdb.perf/gmonster1.exp: New file.
2328 * gdb.perf/gmonster2-null-lookup.exp: New file.
2329 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2330 * gdb.perf/gmonster2-print-cerr.exp: New file.
2331 * gdb.perf/gmonster2-ptype-string.exp: New file.
2332 * gdb.perf/gmonster2-runto-main.exp: New file.
2333 * gdb.perf/gmonster2-select-file.exp: New file.
2334 * gdb.perf/gmonster2.cc: New file.
2335 * gdb.perf/gmonster2.exp: New file.
2336
2337 2015-07-24 Doug Evans <dje@google.com>
2338
2339 * gdb.perf/README: New file.
2340 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2341 * lib/gen-perf-test.exp: New file.
2342
2343 2015-07-24 Doug Evans <dje@google.com>
2344
2345 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2346 (PerfTest::startup): New function.
2347 (PerfTest::run): Return result of calling body.
2348 (PerfTest::assemble): Rewrite.
2349 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2350 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2351 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2352 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2353 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2354
2355 2015-07-24 Doug Evans <dje@google.com>
2356
2357 * lib/gdb.exp (clean_restart): Make executable optional.
2358
2359 2015-07-24 Doug Evans <dje@google.com>
2360
2361 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2362 compiler_info references.
2363 * gdb.cp/temargs.exp: Ditto.
2364 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2365 (get_compiler_info): Early exit if already computed. Set compiler_info
2366 to "unknown" if there was a problem.
2367 (test_compiler_info): Add function comment. Call get_compiler_info.
2368
2369 2015-07-24 Doug Evans <dje@google.com>
2370
2371 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2372 (workers/%.worker, build-perf): New rule.
2373 (GDB_PERFTEST_MODE): New variable.
2374 (check-perf): Use it.
2375 (clean): Clean up gdb.perf parallel build subdirs.
2376 * lib/build-piece.exp: New file.
2377 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2378 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2379 name.
2380 (standard_temp_file): Ditto.
2381 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2382 of $GDB_PARALLEL.
2383
2384 2015-07-24 Doug Evans <dje@google.com>
2385
2386 * lib/future.exp (gdb_default_target_compile): New option
2387 "early_flags".
2388 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2389 --as-needed.
2390
2391 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2392
2393 * gdb.base/catch-syscall.exp: Call gdb_exit before
2394 gdb_skip_xml_test.
2395
2396 2015-07-24 Pedro Alves <palves@redhat.com>
2397
2398 * gdb.python/py-events.exp: Accept output between the stop event
2399 and the prompt.
2400 * gdb.python/py-evsignal.exp: Likewise.
2401 * gdb.python/py-evthreads.exp: Likewise.
2402
2403 2015-07-24 Pedro Alves <palves@redhat.com>
2404
2405 PR gdb/18717
2406 * gdb.threads/non-ldr-exit.c: New file.
2407 * gdb.threads/non-ldr-exit.exp: New file.
2408
2409 2015-07-24 Yao Qi <yao.qi@linaro.org>
2410
2411 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2412 restarting process.
2413
2414 2015-07-24 Yao Qi <yao.qi@linaro.org>
2415
2416 * gdb.server/ext-restart.exp: New file.
2417
2418 2015-07-24 Yao Qi <yao.qi@linaro.org>
2419
2420 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2421 argument options.
2422 * gdb.server/ext-wrapper.exp: New file.
2423
2424 2015-07-23 Doug Evans <dje@google.com>
2425
2426 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2427 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2428
2429 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2430
2431 * gdb.ada/var_arr_typedef.exp: New testcase.
2432 * gdb.ada/var_arr_typedef/pack.adb: New file.
2433 * gdb.ada/var_arr_typedef/pack.ads: New file.
2434 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2435
2436 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2437
2438 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2439
2440 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2441
2442 * gdb.arch/i386-biarch-core.exp: Replace istarget
2443 by "complete set gnutarget". Remove expectation for the "core-file"
2444 command.
2445
2446 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2447
2448 Revert the previous commit:
2449 Tests for validate symbol file using build-id.
2450
2451 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2452
2453 Tests for validate symbol file using build-id.
2454 * gdb.base/solib-mismatch-lib.c: New file.
2455 * gdb.base/solib-mismatch-libmod.c: New file.
2456 * gdb.base/solib-mismatch.c: New file.
2457 * gdb.base/solib-mismatch.exp: New file.
2458
2459 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2460
2461 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2462 nios2-*-linux*.
2463 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2464 * gdb.base/siginfo.exp: Likewise.
2465 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2466
2467 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2468
2469 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2470 Move it to ...
2471 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2472 ... here.
2473 * gdb.trace/range-stepping.exp: Check that the target supports
2474 range stepping.
2475
2476 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2477
2478 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2479
2480 2015-07-14 Pedro Alves <palves@redhat.com>
2481
2482 * gdb.base/killed-outside.exp: New file.
2483 * gdb.base/killed-outside.c: New file.
2484
2485 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2486
2487 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2488 (n at main): New.
2489 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2490
2491 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2492
2493 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2494 infcall tests instead of setting up for KFAIL.
2495
2496 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2497
2498 * gdb.btrace/record_goto-step.exp: New.
2499
2500 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2501
2502 PR compile/18484
2503 * gdb.compile/compile.c (struct struct_type): Add volatile to
2504 selffield's type.
2505 * gdb.compile/compile.exp
2506 (compile code struct_object.selffield = &struct_object): Skip further
2507 struct_object tests if this one xfails.
2508
2509 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2510
2511 PR exp/18617
2512 * gdb.trace/ax.exp: Add test.
2513
2514 2015-07-07 Yao Qi <yao.qi@linaro.org>
2515
2516 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2517 instead of istarget "aarch64*-*-*".
2518 * gdb.arch/aarch64-fp.exp: Likewise.
2519 * gdb.base/float.exp: Likewise.
2520 * gdb.reverse/aarch64.exp: Likewise.
2521 * lib/gdb.exp (is_aarch64_target): New proc.
2522
2523 2015-07-07 Yao Qi <yao.qi@linaro.org>
2524
2525 * lib/gdb.exp (is_aarch32_target): New proc.
2526 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2527 instead of "istarget "arm*-*-*"".
2528 * gdb.arch/arm-disp-step.exp: Likewise.
2529 * gdb.arch/thumb-bx-pc.exp: Likewise.
2530 * gdb.arch/thumb-prologue.exp: Likewise.
2531 * gdb.arch/thumb-singlestep.exp: Likewise.
2532 * gdb.base/disp-step-syscall.exp: Likewise.
2533 * gdb.base/float.exp: Likewise.
2534
2535 2015-07-07 Yao Qi <yao.qi@linaro.org>
2536
2537 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2538 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2539
2540 2015-07-07 Yao Qi <yao.qi@linaro.org>
2541
2542 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2543 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2544 if it exists.
2545 * gdb.multi/multi-arch.exp: Likewise.
2546
2547 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2548
2549 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2550 print.
2551
2552 2015-07-07 Yao Qi <yao.qi@linaro.org>
2553
2554 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2555
2556 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2557
2558 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2559 '[' and ']' characters.
2560
2561 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2562
2563 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2564
2565 2015-06-29 Pedro Alves <palves@redhat.com>
2566
2567 PR threads/18127
2568 * gdb.threads/hand-call-new-thread.c: New file.
2569 * gdb.threads/hand-call-new-thread.c: New file.
2570
2571 2015-06-26 Keith Seitz <keiths@redhat.com>
2572 Doug Evans <dje@google.com>
2573
2574 PR 16253
2575 * gdb.cp/var-tag-2.cc: New file.
2576 * gdb.cp/var-tag-3.cc: New file.
2577 * gdb.cp/var-tag-4.cc: New file.
2578 * gdb.cp/var-tag.cc: New file.
2579 * gdb.cp/var-tag.exp: New file.
2580
2581 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2582
2583 * gdb.base/history-duplicates.exp: New test.
2584
2585 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2586
2587 * gdb.base/completion.exp: Test the completion of the "focus"
2588 command.
2589
2590 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2591
2592 * gdb.arch/amd64-prologue-skip.S: New file.
2593 * gdb.arch/amd64-prologue-skip.exp: New file.
2594
2595 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2596
2597 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2598 is_address_zero_readable check.
2599
2600 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2601
2602 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2603 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2604
2605 2015-06-24 Yao Qi <yao.qi@linaro.org>
2606
2607 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2608 linux targets.
2609
2610 2015-06-24 Yao Qi <yao.qi@linaro.org>
2611
2612 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2613 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2614 * gdb.base/siginfo-thread.exp: Likewise.
2615
2616 2015-06-22 Yao Qi <yao.qi@linaro.org>
2617
2618 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2619
2620 2015-06-22 Yao Qi <yao.qi@linaro.org>
2621
2622 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2623 aarch64*-*-*.
2624 (skip_hw_watchpoint_tests): Likewise.
2625
2626 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2627
2628 * gdb.base/gdbinit-history.exp: Test the interaction between
2629 setting GDBHISTSIZE and setting the history size via .gdbinit.
2630
2631 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2632
2633 PR gdb/16999
2634 * gdb.base/gdbhistsize-history.exp: New test.
2635
2636 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2637
2638 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2639 with GDBHISTSIZE.
2640 * gdb.base/readline.exp: Likewise.
2641
2642 2015-06-17 Yao Qi <yao.qi@linaro.org>
2643
2644 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2645 line.
2646
2647 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2648
2649 * gdb.base/gdbinit-history.exp: Add test case to check that
2650 an unlimited history file does not get truncated on exit.
2651
2652 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2653
2654 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2655 (VECTOR): New macro. Use it...
2656 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2657 ...for these typedefs.
2658 (int8, char1, int1, double1): New typedefs.
2659 (struct just_int2, struct two_int2): New structures.
2660 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2661 (add_structvecs, add_singlevecs): New functions.
2662 (main): Call add_some_intvecs twice.
2663 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2664 the compile and exit upon failure. Try compiling for the "native"
2665 architecture. Test inferior function calls with vector arguments
2666 and vector return value handling with "finish" and "return".
2667
2668 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2669
2670 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2671 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2672 PE file.
2673 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2674
2675 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2676
2677 PR breakpoints/16465
2678 * gdb.mi/mi-dprintf-pending.c: New file.
2679 * gdb.mi/mi-dprintf-pending.exp: New test.
2680 * gdb.mi/mi-dprintf-pendshr.c: New file.
2681
2682 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2683 Mircea Gherzan <mircea.gherzan@intel.com>
2684
2685 * gdb.arch/i386-mpx-map.c: New file.
2686 * gdb.arch/i386-mpx-map.exp: New File.
2687
2688 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2689
2690 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2691 * gdb.arch/i386-mpx.exp: Indentation fixed.
2692
2693 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2694
2695 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2696 function and improved indentation.
2697 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2698 gdb_test_multiple. Added additional tests to skip the test.
2699
2700 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2701
2702 * gdb.arch/i386-avx512.c: Change path in include file.
2703 * gdb.arch/i386-avx512.exp: Change include dir path
2704 compilation flag.
2705 * gdb.arch/i386-mpx.c: Change path in include file.
2706 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2707 flag.
2708
2709 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2710
2711 * gdb.compile/compile-print.exp (compile print *vararray@3)
2712 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2713
2714 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2715
2716 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2717 (do not keep jit in memory): ... this.
2718 (expect 5): Change it to ...
2719 (expect no 5): ... this.
2720
2721 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2722
2723 PR gdb/15564
2724 * gdb.mi/mi-detach.exp: New file.
2725
2726 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2727
2728 PR symtab/18392
2729 * gdb.arch/amd64-tailcall-self.S: New file.
2730 * gdb.arch/amd64-tailcall-self.c: New file.
2731 * gdb.arch/amd64-tailcall-self.exp: New file.
2732
2733 2015-05-28 Don Breazeal <donb@codesourcery.com>
2734
2735 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2736 tests for remote targets by checking is_target_gdbserver.
2737
2738 2015-05-27 Doug Evans <dje@google.com>
2739
2740 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2741 * gdb.dwarf2/opaque-type-lookup.c: New file.
2742 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2743
2744 2015-05-26 Doug Evans <dje@google.com>
2745
2746 * gdb.cp/iostream.cc: New file.
2747 * gdb.cp/iostream.exp: New file.
2748
2749 2015-05-26 Doug Evans <dje@google.com>
2750
2751 * gdb.dwarf2/dw2-op-call.exp: Update.
2752 * gdb.dwarf2/dw4-sig-types.exp: Update.
2753 * gdb.dwarf2/implptr.exp: Update.
2754 * gdb.mi/mi-cmd-param-changed.exp: Update.
2755
2756 2015-05-26 Doug Evans <dje@google.com>
2757
2758 * gdb.python/py-lazy-string.c: New file.
2759 * gdb.python/py-lazy-string.exp: New file.
2760 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2761 (main): Update. Add estring3.
2762 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2763 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2764
2765 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2766 Yao Qi <yao.qi@linaro.org>
2767
2768 * gdb.reverse/aarch64.c: New.
2769 * gdb.reverse/aarch64.exp: New.
2770
2771 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2772
2773 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2774 (supports_reverse): Likewise.
2775
2776 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2777
2778 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2779 Use with_test_prefix.
2780
2781 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2782
2783 * gdb.base/completion.exp: Add test for completion of layout
2784 names.
2785
2786 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2787
2788 * lib/gdb.exp (skip_tui_tests): New proc.
2789 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2790
2791 2015-05-19 Pedro Alves <palves@redhat.com>
2792
2793 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2794 Save the whole env array instead of just HOME. Unset HISTSIZE in
2795 the environment while testing. Restore whole environment
2796 afterwards.
2797
2798 2015-05-16 Doug Evans <xdje42@gmail.com>
2799
2800 * gdb.guile/scm-ports.c: New file.
2801 * gdb.guile/scm-ports.exp: Add memory port tests.
2802
2803 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2804
2805 * gdb.compile/compile-print.c: New file.
2806 * gdb.compile/compile-print.exp: New file.
2807
2808 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2809
2810 * gdb.compile/compile-ops.exp: Cast param to void.
2811 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2812 (compile code struct_object.selffield = &struct_object): Add xfail.
2813
2814 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2815
2816 * gdb.ada/arr_enum_with_gap: New testcase.
2817
2818 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2819
2820 * gdb.ada/byte_packed_arr: New testcase.
2821
2822 2015-05-15 Joel Brobecker <brobecker@adacore.com>
2823
2824 * gdb.ada/pckd_neg: New testcase.
2825
2826 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2827
2828 PR gdb/17820
2829 * gdb.base/gdbinit-history.exp: New test.
2830 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2831 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2832
2833 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2834
2835 * gdb.python/py-xmethods.cc: Enhance test case.
2836 * gdb.python/py-xmethods.exp: New tests.
2837 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2838 function.
2839 (B_indexoper): Likewise.
2840 (global_dm_list) : Add new xmethod worker functions.
2841
2842 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2843
2844 * gdb.base/coredump-filter.exp: Correctly unset
2845 "coredump_var_addr" array.
2846
2847 2015-05-08 Pedro Alves <palves@redhat.com>
2848
2849 * gdb.server/non-existing-program.exp: Unset spawn_id.
2850
2851 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2852
2853 PR python/18291
2854 * gdb.python/py-xmethods.exp: Add tests.
2855
2856 2015-05-08 Yao Qi <yao.qi@linaro.org>
2857
2858 PR gdb/18208
2859 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2860 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2861 function set_coredump_filter, and remove remote_exec call.
2862 Remove argument ipid. Callers update.
2863 (top level): Don't get inferior's PID.
2864
2865 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2866
2867 * gdb.base/watch_thread_num.exp: Skip test on targets without
2868 access watchpoints.
2869
2870 2015-05-06 Pedro Alves <palves@redhat.com>
2871
2872 PR server/18081
2873 * gdb.server/non-existing-program.exp: New file.
2874
2875 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2876
2877 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2878
2879 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2880
2881 * gdb.ada/out_of_line_in_inlined: New testcase.
2882
2883 2015-05-05 Joel Brobecker <brobecker@adacore.com>
2884
2885 * gdb.ada/var_rec_arr: New testcase.
2886
2887 2015-04-30 Yao Qi <yao.qi@linaro.org>
2888
2889 * gdb.base/break-idempotent.exp: If
2890 skip_hw_watchpoint_multi_tests returns true, skip the tests
2891 on "rwatch" and "awatch".
2892
2893 2015-04-30 Yao Qi <yao.qi@linaro.org>
2894
2895 * gdb.base/relativedebug.exp: Invoke gdb command
2896 "info sharedlibrary", and if libc.so doesn't have debug info,
2897 skip the test.
2898
2899 2015-04-29 Doug Evans <dje@google.com>
2900
2901 * gdb.python/py-xmethods.exp: Add ptype tests.
2902 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2903 get_result_type method.
2904
2905 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2906
2907 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2908 the target does not support hardware watchpoints.
2909
2910 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
2911
2912 * gdb.base/break-always.exp: Abort testing if writing to memory
2913 causes an error.
2914
2915 2015-04-28 Doug Evans <dje@google.com>
2916
2917 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2918 * gdb.python/py-pp-registration.exp: ... here. New file.
2919 * gdb.python/py-pp-registration.c: New file.
2920 * gdb.python/py-pp-registration.py: New file.
2921
2922 2015-04-28 Doug Evans <dje@google.com>
2923
2924 * gdb.python/py-bad-printers.c: New file.
2925 * gdb.python/py-bad-printers.py: New file.
2926 * gdb.python/py-bad-printers.exp: New file.
2927
2928 2015-04-28 Sasha Smundak <asmundak@google.com>
2929
2930 * gdb.python/py-type.exp: New test.
2931
2932 2015-04-28 Andy Wingo <wingo@igalia.com>
2933
2934 * gdb.python/py-parameter.exp:
2935 * gdb.guile/scm-parameter.exp: Escape the path that we are
2936 matching against, as it might contain characters that are special
2937 to regular expressions.
2938
2939 2015-04-27 Joel Brobecker <brobecker@adacore.com>
2940
2941 * gdb.ada/rec_comp: New testcase.
2942
2943 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2944
2945 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2946 before using it.
2947
2948 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2949
2950 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2951 new tests for verilog output.
2952
2953 2015-04-24 Yao Qi <yao.qi@linaro.org>
2954
2955 * boards/remote-gdbserver-on-localhost.exp: New file.
2956
2957 2015-04-23 Pedro Alves <palves@redhat.com>
2958
2959 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2960 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2961 "end of file", remove $inferior_spawn_id from the indirect list.
2962
2963 2015-04-23 Pedro Alves <palves@redhat.com>
2964
2965 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2966
2967 2015-04-23 Pedro Alves <palves@redhat.com>
2968
2969 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2970 on $any_spawn_id instead of only on $gdb_spawn_id.
2971
2972 2015-04-21 Pierre Muller <muller@sourceware.org>
2973
2974 PR pascal/17815
2975 * lib/pascal.exp (gpc_compile): Add new option "class".
2976 (fpc_compile): Likewise.
2977 * gdb.pascal/case-insensitive-symbols.pas: New file.
2978 * gdb.pascal/case-insensitive-symbols.exp: New file.
2979
2980 2015-04-20 Gary Benson <gbenson@redhat.com>
2981
2982 * gdb.base/attach.exp: Fix three extended remote failures.
2983
2984 2015-04-17 Gary Benson <gbenson@redhat.com>
2985
2986 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2987 the main executable over the remote protocol.
2988
2989 2015-04-16 Pedro Alves <palves@redhat.com>
2990
2991 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2992 a new gdbserver if gdbserver_reconnect_p is set.
2993
2994 2015-04-16 Pedro Alves <palves@redhat.com>
2995
2996 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2997 is set, don't exit gdbserver.
2998
2999 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3000
3001 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3002 appropriate .insn, such that an older assembler can be used.
3003 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3004 the z/Architecture instruction set on 31-bit targets as well.
3005
3006 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3007
3008 * gdb.go/handcall.exp: Remove all logic related to the first
3009 breakpoint and rely on go_runto_main instead.
3010 * gdb.go/strings.exp: Likewise.
3011 * gdb.go/unsafe.exp: Likewise.
3012 * gdb.go/hello.exp: Likewise. Also rename the remaining
3013 breakpoint marker to "breakpoint 1".
3014 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3015 * gdb.go/strings.go: Likewise.
3016 * gdb.go/unsafe.go: Likewise.
3017 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3018 "set breakpoint 2 here" and rename the remaining breakpoint marker
3019 to "breakpoint 1".
3020
3021 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3022
3023 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3024 if itertools.imap is not present.
3025 * gdb.python/py-objfile.exp: Add parentheses.
3026 * gdb.python/py-type.exp: Same.
3027 * gdb.python/py-unwind-maint.py: Same.
3028
3029 2015-04-15 Yao Qi <yao.qi@linaro.org>
3030
3031 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3032 of ":$ptr_size" and set its form explicitly.
3033
3034 2015-04-15 Pedro Alves <palves@redhat.com>
3035 Yao Qi <yao.qi@linaro.org>
3036
3037 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3038 timeout by factor of 4.
3039 (test_regular_watch): Likewise.
3040 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3041 * gdb.reverse/sigall-reverse.exp: Likewise.
3042 * gdb.reverse/until-precsave.exp: Likewise.
3043 * lib/gdb.exp (with_timeout_factor): New proc.
3044 (gdb_expect): Move some code to ...
3045 (get_largest_timeout): ... here. New procedure.
3046
3047 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3048
3049 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3050
3051 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3052
3053 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3054 to write to the .text section.
3055
3056 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3057
3058 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3059 Handle the case of targets that do not provide PID information.
3060
3061 2015-04-13 Yao Qi <yao.qi@linaro.org>
3062
3063 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3064 and use expect instead of gdb_expect.
3065
3066 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3067
3068 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3069 "coredump_var_addr" to avoid naming conflict with other testcases.
3070
3071 2015-04-10 Pedro Alves <palves@redhat.com>
3072
3073 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3074 gdb_test_sequence and gdb_assert.
3075
3076 2015-04-10 Pedro Alves <palves@redhat.com>
3077
3078 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3079 test messages that don't include the breakpoint address.
3080
3081 2015-04-10 Yao Qi <yao.qi@linaro.org>
3082
3083 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3084 false for some offset and width combinations which aren't
3085 supported by linux kernel.
3086
3087 2015-04-10 Pedro Alves <palves@redhat.com>
3088
3089 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3090 procedure, factored out from ...
3091 (top level): ... here. Add "set displaced-stepping" testing axis.
3092 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3093 parameter "displaced". Use it.
3094 (top level): Use foreach and add "set displaced-stepping" testing
3095 axis.
3096
3097 2015-04-10 Pedro Alves <palves@redhat.com>
3098
3099 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3100 Remove comment.
3101 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3102 both the address of the instruction that triggers the watchpoint
3103 and the address of the instruction immediately after, and use
3104 those addresses for the test. Fix comment.
3105
3106 2015-04-10 Pedro Alves <palves@redhat.com>
3107
3108 * gdb.base/sigstep.exp (breakpoint_to_handler)
3109 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3110 Test "backtrace" in handler.
3111 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3112 (top level): Add new "displaced" test axis to
3113 breakpoint_to_handler, breakpoint_to_handler_entry and
3114 breakpoint_over_handler.
3115
3116 2015-04-10 Pedro Alves <palves@redhat.com>
3117
3118 PR gdb/18216
3119 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3120
3121 2015-04-10 Yao Qi <yao.qi@linaro.org>
3122
3123 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3124 (test_add_rn_pc): New function.
3125 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3126 (top level): Invoke test_add_rn_pc.
3127
3128 2015-04-10 Pedro Alves <palves@redhat.com>
3129
3130 PR gdb/13858
3131 * gdb.base/step-over-no-symbols.exp: New file.
3132
3133 2015-04-09 Andy Wingo <wingo@igalia.com>
3134
3135 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3136 after the Python tests.
3137
3138 2015-04-08 Keith Seitz <keiths@redhat.com>
3139
3140 PR python/16699
3141 * gdb.python/py-completion.exp: New tests for completion.
3142 * gdb.python/py-completion.py (CompleteLimit1): New class.
3143 (CompleteLimit2): Likewise.
3144 (CompleteLimit3): Likewise.
3145 (CompleteLimit4): Likewise.
3146 (CompleteLimit5): Likewise.
3147 (CompleteLimit6): Likewise.
3148 (CompleteLimit7): Likewise.
3149
3150 2015-04-08 Pedro Alves <palves@redhat.com>
3151
3152 PR gdb/18214
3153 PR gdb/18216
3154 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3155 function.
3156 (main): Install it as SIGUSR1 handler.
3157 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3158 parameter. Always use "setup" as prefix. Toggle "set
3159 displaced-stepping" off/on depending on global. Don't switch to
3160 thread 1 here.
3161 (top level): Add displaced stepping "off/on" test axis. Update
3162 "setup" calls. Wrap each subtest with with_test_prefix. Test
3163 continuing with a queued signal in each thread.
3164
3165 2015-04-08 Pedro Alves <palves@redhat.com>
3166
3167 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3168 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3169 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3170 Return early if running to main fails.
3171 * gdb.trace/while-stepping.exp: Likewise.
3172
3173 2015-04-07 Pedro Alves <palves@redhat.com>
3174
3175 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3176 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3177 interact with inferior program.
3178
3179 2015-04-07 Pedro Alves <palves@redhat.com>
3180
3181 * lib/gdb.exp (inferior_spawn_id): New global.
3182 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3183 spawn id after processing the user code.
3184 (default_gdb_start): Set inferior_spawn_id.
3185 (send_inferior): New procedure.
3186 * lib/gdbserver-support.exp (gdbserver_start): Set
3187 inferior_spawn_id.
3188 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3189
3190 2015-04-07 Pedro Alves <palves@redhat.com>
3191
3192 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3193 * lib/gdbserver-support.exp (gdbserver_start): Make
3194 $server_spawn_id global.
3195 (gdbserver_start): Don't wait for gdbserver's spawn id with
3196 expect_background.
3197 (close_gdbserver): New procedure.
3198 (gdb_exit): Rename the default version and reimplement.
3199
3200 2015-04-07 Pedro Alves <palves@redhat.com>
3201
3202 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3203 append the substituted item, not the original item.
3204
3205 2015-04-07 Pedro Alves <palves@redhat.com>
3206
3207 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3208 gdb_expect.
3209
3210 2015-04-07 Pedro Alves <palves@redhat.com>
3211
3212 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3213 output appearing once only.
3214
3215 2015-04-07 Pedro Alves <palves@redhat.com>
3216
3217 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3218 that doesn't expect anything. Return early if running to main
3219 fails.
3220
3221 2015-04-07 Yao Qi <yao.qi@linaro.org>
3222
3223 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3224 (child_function): Call alarm.
3225 (main): Move call to alarm into the loop.
3226 * gdb.threads/non-stop-fair-events.exp: Build program with
3227 -DTIMEOUT=$timeout.
3228
3229 2015-04-06 Doug Evans <xdje42@gmail.com>
3230
3231 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3232 Fix dest parameter to board_info.
3233 (fpc_compile): Ditto.
3234 (gdb_compile_pascal): Rename dest arg to destfile.
3235
3236 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3237
3238 * gdb.ada/funcall_ref.exp: New file.
3239 * gdb.ada/funcall_ref/foo.adb: New file.
3240
3241 2015-04-02 Yao Qi <yao.qi@linaro.org>
3242
3243 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3244 is remote.
3245
3246 2015-04-02 Gary Benson <gbenson@redhat.com>
3247
3248 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3249
3250 2015-04-01 Sasha Smundak <asmundak@google.com>
3251
3252 * gdb.python/py-unwind-maint.c: New file.
3253 * gdb.python/py-unwind-maint.exp: New test.
3254 * gdb.python/py-unwind-maint.py: New file.
3255 * gdb.python/py-unwind.c: New file.
3256 * gdb.python/py-unwind.exp: New test.
3257 * gdb.python/py-unwind.py: New test.
3258
3259 2015-04-01 Pedro Alves <palves@redhat.com>
3260
3261 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3262 to fail instead of non-existent $test.
3263
3264 2015-04-01 Pedro Alves <palves@redhat.com>
3265
3266 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3267 GDBFLAGS if not empty.
3268
3269 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3270
3271 * gdb.ada/complete.exp: Remove "multi_line".
3272 * gdb.ada/info_exc.exp: Remove "multi_line".
3273 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3274 * gdb.ada/ptype_field.exp: Remove "multi_line".
3275 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3276 * gdb.ada/tagged.exp: Remove "multi_line".
3277 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3278 [multi_line ...]
3279 * gdb.btrace/delta.exp: Likewise.
3280 * gdb.btrace/exception.exp: Likewise.
3281 * gdb.btrace/function_call_history.exp: Likewise.
3282 * gdb.btrace/instruction_history.exp: Likewise.
3283 * gdb.btrace/nohist.exp: Likewise.
3284 * gdb.btrace/record_goto.exp: Likewise.
3285 * gdb.btrace/segv.exp: Likewise.
3286 * gdb.btrace/stepi.exp: Likewise.
3287 * gdb.btrace/tailcall.exp: Likewise.
3288 * gdb.btrace/unknown_functions.exp: Likewise.
3289 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3290 * lib/gdb.exp: Add the "multi_line" helper.
3291
3292 2015-04-01 Pedro Alves <palves@redhat.com>
3293
3294 * gdb.threads/tid-reuse.c: New file.
3295 * gdb.threads/tid-reuse.exp: New file.
3296
3297 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3298
3299 PR corefiles/16092
3300 * gdb.base/coredump-filter.c: New file.
3301 * gdb.base/coredump-filter.exp: Likewise.
3302
3303 2015-03-27 Petr Machata <pmachata@redhat.com>
3304
3305 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3306 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3307 (Dwarf::assemble): Initialize them.
3308 (Dwarf::lines): New function.
3309
3310 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3311
3312 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3313 SYMBOL_PREFIX for x86_64-*-cygwin.
3314
3315 2015-03-26 Andy Wingo <wingo@igalia.com>
3316
3317 PR symtab/18148
3318 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3319 const_value but not a location.
3320 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3321 location defined in non-main CUs are visible.
3322
3323 2015-03-26 Yao Qi <yao.qi@linaro.org>
3324
3325 PR testsuite/18139
3326 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3327 Add a line number entry for the same line.
3328 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3329 Add a line number entry for the same line.
3330
3331 2015-03-26 Yao Qi <yao.qi@linaro.org>
3332
3333 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3334 .int 0.
3335 (func): Likewise. Add .Lfunc_1 label.
3336 Use .Lfunc_1 label.
3337 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3338 .int 0.
3339 (func): Likewise.
3340 Use .Lfunc_1 label.
3341
3342 2015-03-26 Yao Qi <yao.qi@linaro.org>
3343
3344 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3345 Call gdb_compile instead to compile each .s files without debug
3346 information.
3347
3348 2015-03-26 Yao Qi <yao.qi@linaro.org>
3349
3350 * gdb.base/savedregs.exp (process_saved_regs): Make
3351 "Saved registers:" optional in the pattern.
3352
3353 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3354
3355 * gdb.btrace/next.exp: Merged into step.exp.
3356 * gdb.btrace/finish.exp: Merged into step.exp.
3357 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3358 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3359 "record goto" and checking the exact replay position.
3360 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3361 check for "Recording format" in "info record" output.
3362 * gdb.btrace/record_goto.exp: Choose test file based on target.
3363 * gdb.btrace/x86-record_goto.S: Renamed into ...
3364 * gdb.btrace/x86_64-record_goto.S: ... this.
3365 * gdb.btrace/i686-record_goto.S: New.
3366 * gdb.btrace/x86-tailcall.S: Renamed into ...
3367 * gdb.btrace/x86_64-tailcall.S: ... this.
3368 * gdb.btrace/i686-tailcall.S: New.
3369 * gdb.btrace/x86-tailcall.c: Renamed into ...
3370 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3371 separate statements. Update test.
3372 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3373 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3374 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3375 * gdb.btrace/tailcall.exp: Choose test file based on target.
3376 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3377
3378 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3379
3380 * gdb.btrace/exception.exp: Increase BTS buffer size.
3381
3382 2015-03-24 Pedro Alves <palves@redhat.com>
3383
3384 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3385
3386 2015-03-24 Pedro Alves <palves@redhat.com>
3387
3388 * gdb.threads/schedlock.exp (test_step): No longer expect that
3389 "set scheduler-locking step" with "next" over a function call runs
3390 threads unlocked.
3391
3392 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3393
3394 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3395
3396 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3397
3398 PR breakpoints/16466
3399 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3400 * gdb.mi/mi-pending.c (thread_func): New function.
3401 (int main): Add threading support required.
3402 * gdb.mi/mi-pending.exp: Add tests for this issue.
3403 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3404 (pendfunc2): Remove stdio dependency.
3405 * gdb.mi/mi-pendshr2.c: New file.
3406
3407 2015-03-23 Keith Seitz <keiths@redhat.com>
3408
3409 * gdb.linespec/keywords.c: New file.
3410 * gdb.linespec/keywords.exp: New file.
3411
3412 2015-03-23 Keith Seitz <keiths@redhat.com>
3413
3414 PR gdb/18021
3415 * gdb.dwarf2/staticvirtual.exp: New test.
3416
3417 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3418
3419 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3420 * README: Remove HP-UX and gdb.hp.
3421 (configuration):
3422 * configure: Regenerate.
3423 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3424 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3425 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3426 gdb.hp/gdb.defects/Makefile.
3427 * gdb.hp/Makefile.in: File deleted.
3428 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3429 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3430 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3431 * gdb.hp/gdb.aCC/run.c: File deleted.
3432 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3433 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3434 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3435 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3436 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3437 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3438 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3439 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3440 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3441 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3442 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3443 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3444 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3445 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3446 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3447 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3448 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3449 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3450 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3451 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3452 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3453 * gdb.hp/gdb.compat/average.c: File deleted.
3454 * gdb.hp/gdb.compat/sum.c: File deleted.
3455 * gdb.hp/gdb.compat/xdb.c: File deleted.
3456 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3457 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3458 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3459 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3460 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3461 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3462 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3463 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3464 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3465 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3466 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3467 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3468 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3469 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3470 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3471 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3472 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3473 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3474 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3475 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3476 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3477 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3478 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3479 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3480 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3481 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3482 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3483 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3484 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3485 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3486 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3487 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3488 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3489 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3490 * gdb.hp/tools/odump: File deleted.
3491
3492 2015-03-19 Pedro Alves <palves@redhat.com>
3493
3494 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3495 (saw_thread_3): New globals.
3496 (top level): Increment them when an event for the corresponding
3497 thread is seen.
3498 (no thread starvation): New test.
3499
3500 2015-03-19 Pedro Alves <palves@redhat.com>
3501
3502 * gdb.threads/continue-pending-status.c: New file.
3503 * gdb.threads/continue-pending-status.exp: New file.
3504
3505 2015-03-18 Pedro Alves <palves@redhat.com>
3506
3507 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3508 Use gdb_is_target_remote instead of is_remote. Use
3509 gdb_test_multiple instead of gdb_expect. Exit early if
3510 gdb_test_multiple hits its internal matches. Tighten stepi tests
3511 expected output. Fail on exit with any signal, instead of just
3512 SIGILL.
3513
3514 2015-03-18 Yao Qi <yao.qi@linaro.org>
3515
3516 PR tdep/18107
3517 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3518 variable.
3519 * gdb.base/catch-syscall.exp: Don't skip it on
3520 aarch64*-*-linux* target. Remove elements in all_syscalls.
3521 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3522 target.
3523 (setup_all_syscalls): New proc.
3524
3525 2015-03-16 Yao Qi <yao.qi@linaro.org>
3526
3527 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3528 (top level): Skip tests if valid_addr_p returns false for
3529 $cmd1 or $cmd2.
3530
3531 2015-03-11 Andy Wingo <wingo@igalia.com>
3532
3533 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3534
3535 2015-03-11 Yao Qi <yao.qi@linaro.org>
3536
3537 * gdb.base/catch-syscall.exp: Fix typo in comments.
3538
3539 2015-03-11 Yao Qi <yao.qi@linaro.org>
3540
3541 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3542
3543 2015-03-09 Pedro Alves <palves@redhat.com>
3544
3545 * dg-extract-results.py: Delete.
3546
3547 2015-03-09 Pedro Alves <palves@redhat.com>
3548
3549 Merge dg-extract-results.sh from GCC upstream (r218843).
3550
3551 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3552 * dg-extract-results.sh: Use --text with grep to avoid issues with
3553 binary files. Fall back to cat -v, if that doesn't work.
3554
3555 2015-03-05 Pedro Alves <palves@redhat.com>
3556
3557 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3558
3559 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3560
3561 * lib/mi-support.exp (mi_expect_interrupt): Accept
3562 alternative event for when in all-stop mode.
3563
3564 2015-03-04 Pedro Alves <palves@redhat.com>
3565
3566 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3567
3568 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3569
3570 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3571
3572 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3573
3574 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3575 regexps for GDB's current line display, accept a hex address
3576 preceding the line number.
3577
3578 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3579
3580 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3581 the 'arch1' variable for "s390*-linux*" targets.
3582
3583 2015-03-04 Pedro Alves <palves@redhat.com>
3584
3585 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3586 (main): Pass missing retval argument to pthread_join call.
3587
3588 2015-03-02 Pedro Alves <palves@redhat.com>
3589
3590 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3591 (top level): Call do_test with non-stop as well.
3592
3593 2015-03-02 Pedro Alves <palves@redhat.com>
3594
3595 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3596 -1.
3597
3598 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3599
3600 * gdb.arch/s390-vregs.exp: New test.
3601 * gdb.arch/s390-vregs.S: New file.
3602
3603 2015-02-27 Pedro Alves <palves@redhat.com>
3604
3605 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3606 call to catch_command_errors.
3607 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3608 catch_command_errors.
3609
3610 2015-02-27 Pedro Alves <palves@redhat.com>
3611
3612 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3613 "true" for boolean result.
3614 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3615 prototype of main.
3616
3617 2015-02-27 Pedro Alves <palves@redhat.com>
3618
3619 * lib/unbuffer_output.c: New file.
3620 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3621 (main): Call gdb_unbuffer_output.
3622
3623 2015-02-27 Yao Qi <yao.qi@linaro.org>
3624
3625 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3626 target.
3627
3628 2015-02-26 Doug Evans <dje@google.com>
3629
3630 * gdb.cp/class2.cc (Dbase, D): New classes.
3631 (main): New local delta.
3632 * gdb.cp/class2.exp: Test printing delta.
3633 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3634 (dynbar): New global.
3635 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3636
3637 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3638
3639 * gdb.compile/compile-ifunc.c: New file.
3640 * gdb.compile/compile-ifunc.exp: New file.
3641
3642 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3643
3644 * gdb.base/structs.exp: Check for correct struct on finish.
3645
3646 2015-02-26 Yao Qi <yao.qi@linaro.org>
3647
3648 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3649 is zero.
3650
3651 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3652
3653 * gdb.arch/cordic.ko.bz2: New file.
3654 * gdb.arch/cordic.ko.debug.bz2: New file.
3655 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3656
3657 2015-02-25 Yao Qi <yao.qi@linaro.org>
3658
3659 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3660 aarch64*-*-* target.
3661
3662 2015-02-23 Pedro Alves <palves@redhat.com>
3663
3664 * lib/gdb.exp (delete_breakpoints): Rewrite using
3665 gdb_test_multiple.
3666
3667 2015-02-23 Pedro Alves <palves@redhat.com>
3668
3669 * gdb.base/info-os.c: Include stdlib.h.
3670
3671 2015-02-22 Doug Evans <xdje42@gmail.com>
3672
3673 PR symtab/17855
3674 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3675 is read after symbols have been re-read.
3676 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3677 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3678
3679 2015-02-21 Doug Evans <dje@google.com>
3680
3681 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3682
3683 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3684
3685 PR corefiles/17808
3686 * gdb.arch/i386-biarch-core.core.bz2: New file.
3687 * gdb.arch/i386-biarch-core.exp: New file.
3688
3689 2015-02-21 Pedro Alves <palves@redhat.com>
3690
3691 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3692 runto_main fails.
3693
3694 2015-02-20 Pedro Alves <palves@redhat.com>
3695
3696 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3697 info probes.
3698
3699 2015-02-20 Pedro Alves <palves@redhat.com>
3700
3701 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3702
3703 2015-02-20 Pedro Alves <palves@redhat.com>
3704
3705 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3706 clean_restart before gdb_target_supports_trace.
3707
3708 2015-02-20 Pedro Alves <palves@redhat.com>
3709
3710 PR threads/18006
3711 * gdb.threads/clone-thread_db.c: New file.
3712 * gdb.threads/clone-thread_db.exp: New file.
3713
3714 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3715
3716 PR breakpoints/16812
3717 * gdb.base/catch-gdb-caused-signals.c: New file.
3718 * gdb.base/catch-gdb-caused-signals.exp: New file.
3719
3720 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3721
3722 * configure: Regenerated.
3723 * configure.ac: Use GDB_AC_TRANSFORM.
3724 * aclocal.m4: sinclude ../transform.m4.
3725
3726 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3727
3728 * lib/dtrace.exp: New file.
3729 * gdb.base/dtrace-probe.exp: Likewise.
3730 * gdb.base/dtrace-probe.d: Likewise.
3731 * gdb.base/dtrace-probe.c: Likewise.
3732 * lib/pdtrace.in: Likewise.
3733 * configure.ac: Output variables with the transformed names of
3734 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3735 * configure: Regenerated.
3736
3737 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3738
3739 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3740 expected message when trying to access $_probe_* convenience
3741 variables while not on a probe.
3742
3743 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3744
3745 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3746
3747 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3748
3749 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3750 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3751
3752 2015-02-10 Doug Evans <xdje42@gmail.com>
3753
3754 * lib/gdb.exp (gdb_load): Always return a result.
3755
3756 2015-02-10 Pedro Alves <palves@redhat.com>
3757
3758 * gdb.threads/signal-sigtrap.c: New file.
3759 * gdb.threads/signal-sigtrap.exp: New file.
3760
3761 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3762
3763 * gdb.trace/no-attach-trace.c: New file.
3764 * gdb.trace/no-attach-trace.exp: New file.
3765
3766 2015-02-09 Mark Wielaard <mjw@redhat.com>
3767
3768 * gdb.dwarf2/atomic.c: New file.
3769 * gdb.dwarf2/atomic-type.exp: Likewise.
3770
3771 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3772
3773 * gdb.btrace/buffer-size.exp: Update "info record" output.
3774 * gdb.btrace/delta.exp: Update "info record" output.
3775 * gdb.btrace/enable.exp: Update "info record" output.
3776 * gdb.btrace/finish.exp: Update "info record" output.
3777 * gdb.btrace/instruction_history.exp: Update "info record" output.
3778 * gdb.btrace/next.exp: Update "info record" output.
3779 * gdb.btrace/nexti.exp: Update "info record" output.
3780 * gdb.btrace/step.exp: Update "info record" output.
3781 * gdb.btrace/stepi.exp: Update "info record" output.
3782 * gdb.btrace/nohist.exp: Update "info record" output.
3783
3784 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3785
3786 * gdb.btrace/buffer-size: New.
3787
3788 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3789
3790 * gdb.btrace/delta.exp: Update "info record" output.
3791 * gdb.btrace/enable.exp: Update "info record" output.
3792 * gdb.btrace/finish.exp: Update "info record" output.
3793 * gdb.btrace/instruction_history.exp: Update "info record" output.
3794 * gdb.btrace/next.exp: Update "info record" output.
3795 * gdb.btrace/nexti.exp: Update "info record" output.
3796 * gdb.btrace/step.exp: Update "info record" output.
3797 * gdb.btrace/stepi.exp: Update "info record" output.
3798 * gdb.btrace/nohist.exp: Update "info record" output.
3799
3800 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3801
3802 PR gdb/15678
3803 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3804
3805 2015-02-06 Pedro Alves <palves@redhat.com>
3806
3807 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3808 macro.
3809 (seconds_left, again): New globals.
3810 (main): Wait seconds_left in a 1-second sleep loop instead of
3811 sleeping 180 seconds. If 'again' is set, reset the seconds
3812 counter.
3813 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3814 'again' in the inferior before detaching. Print the seconds left.
3815 (options): New global.
3816 (top level): Build program with -DTIMEOUT=$timeout.
3817
3818 2015-02-06 Pedro Alves <palves@redhat.com>
3819
3820 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3821 determine how many seconds to pass to 'alarm'.
3822 * gdb.base/gdb-sigterm.exp (top level): Build program with
3823 -DTIMEOUT=$timeout.
3824 (do_test): Return success/failure indication. Add more verbose
3825 logging. Don't fail if 200 single steps are seen. Instead, fail
3826 when the test times out.
3827 (passes): New global.
3828 (top level): Break the testing loop if testing fails on any
3829 iteration. Use gdb_assert.
3830
3831 2015-02-04 Don Breazeal <donb@codesourcery.com>
3832
3833 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3834 and initialize them.
3835 (ipc_cleanup): New function.
3836 (main): Don't declare shmid, semid, and msqid. Add a call to
3837 atexit so that we call ipc_cleanup on exit.
3838
3839 2015-02-04 Pedro Alves <palves@redhat.com>
3840
3841 * boards/native-extended-gdbserver.exp: Remove any target variant
3842 specifications from the board name before clearing the isremote
3843 flag from board_info.
3844
3845 2015-01-31 Doug Evans <xdje42@gmail.com>
3846
3847 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3848
3849 2015-01-31 Gary Benson <gbenson@redhat.com>
3850
3851 * gdb.base/completion.exp: Disable completion limiting for
3852 existing tests. Add new tests to check completion limiting.
3853 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3854
3855 2015-01-31 Doug Evans <xdje42@gmail.com>
3856
3857 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3858
3859 2015-01-31 Doug Evans <xdje42@gmail.com>
3860
3861 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3862 entries. Duplicate file section script entries.
3863 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3864 inlined entries. Add test for safe-path rejection.
3865 * gdb.python/py-section-script.c: Add duplicate inlined section script
3866 entries. Duplicate file section script entries.
3867 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3868 inlined entries. Add test for safe-path rejection.
3869
3870 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3871
3872 * gdb.ada/disc_arr_bound: New testcase.
3873
3874 2015-01-29 Joel Brobecker <brobecker@adacore.com>
3875
3876 * gdb.ada/mi_var_array: New testcase.
3877
3878 2015-01-27 Doug Evans <dje@google.com>
3879
3880 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3881 Add test for objfile.filename, objfile.username after objfile
3882 has been unloaded.
3883
3884 2015-01-26 Joel Brobecker <brobecker@adacore.com>
3885
3886 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3887 the second test to print the name attribute of value
3888 returned by the call to gdb.lookup_type, and adjust
3889 the expected output accordingly.
3890
3891 2015-01-25 Mark Wielaard <mjw@redhat.com>
3892
3893 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3894 * gdb.base/disp-step-fork.c: Include unistd.h.
3895 * gdb.base/siginfo-obj.c: Include stdio.h.
3896 * gdb.base/siginfo-thread.c: Likewise.
3897 * gdb.mi/non-stop.c: Include unistd.h.
3898 * gdb.mi/nsthrexec.c: Include stdio.h.
3899 * gdb.mi/pthreads.c: Include unistd.h.
3900 * gdb.modula2/unbounded1.c (main): Declare returns int.
3901 * gdb.reverse/consecutive-reverse.c: Likewise.
3902 * gdb.threads/create-fail.c: Include unistd.h.
3903 * gdb.threads/killed.c: Likewise.
3904 * gdb.threads/linux-dp.c: Likewise.
3905 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3906 * gdb.threads/non-ldr-exc-2.c: Likewise.
3907 * gdb.threads/non-ldr-exc-3.c: Likewise.
3908 * gdb.threads/non-ldr-exc-4.c: Likewise.
3909 * gdb.threads/pthreads.c: Include unistd.h.
3910 (main): Declare returns int.
3911 * gdb.threads/tls-main.c (foo): New declaration.
3912 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3913
3914 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3915
3916 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3917 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3918
3919 2015-01-15 Mark Wielaard <mjw@redhat.com>
3920
3921 * gdb.base/noreturn-return.c: New file.
3922 * gdb.base/noreturn-return.exp: New file.
3923 * gdb.base/noreturn-finish.c: New file.
3924 * gdb.base/noreturn-finish.exp: New file.
3925
3926 2015-01-23 Pedro Alves <palves@redhat.com>
3927
3928 * gdb.threads/continue-pending-after-query.c: New file.
3929 * gdb.threads/continue-pending-after-query.exp: New file.
3930
3931 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3932 Simon Marchi <simon.marchi@ericsson.com>
3933
3934 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3935 * gdb.base/valgrind-db-attach.exp: Same.
3936 * gdb.base/valgrind-infcall.exp: Same.
3937 * lib/mi-support.exp (default_mi_gdb_start): Same.
3938 * lib/prompt.exp (default_prompt_gdb_start): Same.
3939 * lib/gdb.exp (default_gdb_spawn): Same.
3940 (gdb_interact): New.
3941
3942
3943 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3944
3945 * gdb.compile/compile.exp (pointer to jit function): New test.
3946
3947 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
3948
3949 * lib/gdb.exp (supports_process_record): Return true for
3950 powerpc*-*-linux*.
3951 (supports_reverse): Likewise.
3952
3953 2015-01-15 Don Breazeal <donb@codesourcery.com>
3954
3955 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3956 instead of checking whether the target board is remote and
3957 use spawn_wait_for_attach instead of exec/sleep.
3958 * gdb.base/attach-twice.exp: Likewise.
3959
3960 2015-01-15 Joel Brobecker <brobecker@adacore.com>
3961
3962 * gdb.ada/var_arr_attrs: New testcase.
3963
3964 2015-01-14 Pedro Alves <palves@redhat.com>
3965 Joel Brobecker <brobecker@adacore.com>
3966
3967 PR gdb/17525
3968 * gdb.base/bp-cmds-execution-x-script.c: New file.
3969 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3970 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3971
3972 2015-01-14 Pedro Alves <palves@redhat.com>
3973
3974 PR cli/17828
3975 * gdb.base/batch-preserve-term-settings.c: New file.
3976 * gdb.base/batch-preserve-term-settings.exp: New file.
3977
3978 2015-01-13 Doug Evans <dje@google.com>
3979
3980 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3981 binary.
3982
3983 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3984
3985 * Makefile.in (clean mostlyclean): Do not delete *.py.
3986
3987 2015-01-13 Joel Brobecker <brobecker@adacore.com>
3988
3989 * gdb.python/py-lookup-type.exp: New file.
3990
3991 2015-01-12 Pedro Alves <palves@redhat.com>
3992
3993 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3994 restore GDBFLAGS before returning.
3995
3996 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3997
3998 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3999 is_amd64_regs_target and is_x86_like_target.
4000
4001 2015-01-11 Doug Evans <xdje42@gmail.com>
4002
4003 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4004 is given without an explicit form.
4005 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4006 attributes.
4007 * gdb.dwarf/corrupt.exp: Ditto.
4008 * gdb.dwarf2/enum-type.exp: Ditto.
4009 * gdb.trace/entry-values.exp: Ditto.
4010 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4011
4012 2015-01-11 Doug Evans <xdje42@gmail.com>
4013
4014 PR gdb/15830
4015 * gdb.base/maint.exp: Remove references to "maint demangle".
4016 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4017 Add tests for explicitly specifying language to demangle.
4018 * gdb.dlang/demangle.exp: Ditto.
4019
4020 2015-01-09 Pedro Alves <palves@redhat.com>
4021
4022 * gdb.threads/non-stop-fair-events.c: New file.
4023 * gdb.threads/non-stop-fair-events.exp: New file.
4024
4025 2015-01-09 Pedro Alves <palves@redhat.com>
4026
4027 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4028 the global scope. Set a breakpoint after all threads are started
4029 rather than stepping over two source lines. Expect the prompt.
4030 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4031 global.
4032 (NUM): Now 15.
4033 (main): Use threads_started_barrier to wait for all threads to
4034 start. Main thread no longer calls thread_function. Exit after
4035 180 seconds.
4036 (loop): New function.
4037 (thread_function): Wait on threads_started_barrier barrier. Call
4038 'loop' at each iteration.
4039 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4040 threads have started, instead of hardcoding number of "next"
4041 steps. Use an access watchpoint instead of a write watchpoint.
4042
4043 2015-01-09 Pedro Alves <palves@redhat.com>
4044
4045 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4046 (thread_func): Wait on barrier.
4047 (main): Wait for all threads to start before stopping GDB.
4048 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4049 global.
4050 (thread1_func, thread2_func): Wait on barrier.
4051 (main): Wait for all threads to start before stopping GDB.
4052 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4053 New global.
4054 (thread1_func, thread2_func): Wait on barrier.
4055 (main): Wait for all threads to start before stopping GDB.
4056
4057 2015-01-09 Pedro Alves <palves@redhat.com>
4058
4059 * gdb.threads/attach-many-short-lived-threads.c: New file.
4060 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4061
4062 2014-01-09 Pedro Alves <palves@redhat.com>
4063
4064 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4065 instead of to thread 2.
4066 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4067 Add barrier around each pthread_create call instead of around all
4068 calls.
4069 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4070 Set a break on thread_function and have the child threads hit it
4071 one at at a time.
4072
4073 2015-01-09 Pedro Alves <palves@redhat.com>
4074
4075 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4076 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4077 false.
4078 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4079 checking whether the target board is remote.
4080 * gdb.multi/multi-attach.exp: Likewise.
4081 * gdb.python/py-sync-interp.exp: Likewise.
4082 * gdb.server/ext-attach.exp: Likewise.
4083 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4084 tests that need to attach, instead of checking whether the target
4085 board is remote at the top of the file.
4086
4087 2015-01-08 Yao Qi <yao@codesourcery.com>
4088
4089 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4090
4091 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4092
4093 Fix testcase compilation.
4094 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4095
4096 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4097
4098 * gdb.python/py-type.exp: Add a couple test about empty
4099 array creation, and negative-length array creation.
4100
4101 2015-01-02 Doug Evans <xdje42@gmail.com>
4102
4103 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4104
4105 2015-01-02 Doug Evans <dje@google.com>
4106
4107 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4108
4109 2014-12-29 Yao Qi <yao@codesourcery.com>
4110
4111 * gdb.trace/entry-values.exp: Update comments. Rename variable
4112 bar_call_foo to returned_from_foo.
4113
4114 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4115
4116 PR gdb/17394
4117 * gdb.linespec/break-asm-file.c: New file.
4118 * gdb.linespec/break-asm-file.exp: New file.
4119 * gdb.linespec/break-asm-file0.s: New file.
4120 * gdb.linespec/break-asm-file1.s: New file.
4121
4122 2014-12-18 Nigel Stephens <nigel@mips.com>
4123 Maciej W. Rozycki <macro@codesourcery.com>
4124
4125 * gdb.base/float.exp: Handle the new output from "info float" on
4126 MIPS targets.
4127
4128 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4129
4130 Fix MinGW compilation.
4131 * gdb.compile/compile-ops.exp: Update untested message if
4132 !skip_compile_feature_tests.
4133 * gdb.compile/compile-setjmp.exp: Likewise.
4134 * gdb.compile/compile-tls.exp: Likewise.
4135 * gdb.compile/compile.exp: Likewise.
4136 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4137 supported on this host".
4138
4139 2014-12-16 Doug Evans <xdje42@gmail.com>
4140
4141 * boards/stabs.exp: New file.
4142
4143 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4144
4145 * gdb.base/completion.exp: Adjust to format changes of "maint
4146 print user-registers".
4147
4148 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4149
4150 PR server/17457
4151 * gdb.arch/aarch64-fp.c: New file.
4152 * gdb.arch/aarch64-fp.exp: New file.
4153
4154 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4155
4156 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4157 r210637, r210913, r211666, r215400, r215817).
4158
4159 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4160 * dg-extract-results.py: New file.
4161 * dg-extract-results.sh: Use it if the environment seems
4162 suitable.
4163
4164 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4165
4166 * dg-extract-results.py (parse_run): Handle warnings that
4167 are printed before a test harness is run.
4168
4169 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4170
4171 * dg-extract-results.py (Named): Remove __cmp__ method.
4172 (output_variation): Use a key to sort variation.harnesses.
4173
4174 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4175
4176 * dg-extract-results.py: For Python 3, force sys.stdout to
4177 handle surrogate escape sequences.
4178 (safe_open): New function.
4179 (output_segment, main): Use it.
4180
4181 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4182
4183 * dg-extract-results.py (Prog.result_re): Include options
4184 in test name.
4185
4186 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4187
4188 * dg-extract-results.py (output_variation): Always sort if
4189 do_sum.
4190
4191 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4192
4193 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4194 as long as we get pagination notifications.
4195
4196 2014-12-15 Jason Merrill <jason@redhat.com>
4197
4198 * Makefile.in (check-gdb.%): Restore.
4199 * README: Mention it.
4200
4201 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4202
4203 * gdb.ada/str_uninit: New testcase.
4204
4205 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4206
4207 PR symtab/17642
4208 * gdb.base/vla-stub-define.c: New file.
4209 * gdb.base/vla-stub.c: New file.
4210 * gdb.base/vla-stub.exp: New file.
4211
4212 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4213 Jan Kratochvil <jan.kratochvil@redhat.com>
4214 Tom Tromey <tromey@redhat.com>
4215
4216 * configure.ac: Add gdb.compile/.
4217 * configure: Regenerate.
4218 * gdb.compile/Makefile.in: New file.
4219 * gdb.compile/compile-ops.exp: New file.
4220 * gdb.compile/compile-ops.c: New file.
4221 * gdb.compile/compile-tls.c: New file.
4222 * gdb.compile/compile-tls.exp: New file.
4223 * gdb.compile/compile-constvar.S: New file.
4224 * gdb.compile/compile-constvar.c: New file.
4225 * gdb.compile/compile-mod.c: New file.
4226 * gdb.compile/compile-nodebug.c: New file.
4227 * gdb.compile/compile-setjmp-mod.c: New file.
4228 * gdb.compile/compile-setjmp.c: New file.
4229 * gdb.compile/compile-setjmp.exp: New file.
4230 * gdb.compile/compile-shlib.c: New file.
4231 * gdb.compile/compile.c: New file.
4232 * gdb.compile/compile.exp: New file.
4233 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4234
4235 2014-12-12 Tom Tromey <tromey@redhat.com>
4236
4237 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4238 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4239
4240 2014-12-12 Doug Evans <dje@google.com>
4241
4242 * lib/gdb-python.exp (get_python_valueof): New function.
4243 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4244
4245 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4246
4247 * gdb.base/completion.exp: Add test for completion of "info
4248 registers ".
4249
4250 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4251
4252 * gdb.base/func-ptrs.c: New file.
4253 * gdb.base/func-ptrs.exp: New file.
4254
4255 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4256
4257 PR breakpoints/17012
4258 * gdb.base/dprintf-detach.c: New file.
4259 * gdb.base/dprintf-detach.exp: New file.
4260
4261 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4262
4263 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4264 * lib/gdb.exp (target_is_gdbserver): New procedure.
4265
4266 2014-12-08 Doug Evans <dje@google.com>
4267
4268 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4269
4270 2014-12-05 Yao Qi <yao@codesourcery.com>
4271
4272 * gdb.guile/scm-error.exp: Remove the third argument to
4273 gdb_remote_download.
4274 * gdb.guile/scm-frame-args.exp: Likewise.
4275 * gdb.guile/scm-section-script.exp: Likewise.
4276
4277 2014-12-05 Yao Qi <yao@codesourcery.com>
4278
4279 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4280
4281 2014-12-04 Doug Evans <dje@google.com>
4282
4283 * gdb.python/py-objfile.exp: Add tests for
4284 objfile.add_separate_debug_file.
4285
4286 2014-12-04 Doug Evans <dje@google.com>
4287
4288 * lib/gdb.exp (get_build_id): New function.
4289 (build_id_debug_filename_get): Rewrite to use it.
4290 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4291
4292 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4293
4294 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4295 `method(long)', not just 0x0.
4296 * gdb.cp/nsalias.exp: Align code labels to 4.
4297 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4298 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4299 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4300 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4301 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4302 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4303
4304 2014-12-02 Doug Evans <dje@google.com>
4305
4306 PR symtab/17602
4307 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4308 * gdb.cp/anon-ns2.cc: ... here. New file.
4309 * gdb.cp/anon-ns.exp: Update.
4310
4311 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4312
4313 * gdb.python/py-events.py (inferior_call_handler): New.
4314 (register_changed_handler, memory_changed_handler): New.
4315 (test_events.invoke): Register new handlers.
4316 * gdb.python/py-events.exp: Add tests for inferior call,
4317 memory_changed and register_changed events.
4318
4319 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4320
4321 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4322 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4323 if the linker doesn't understand this.
4324
4325 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4326
4327 * gdb.python/python.exp: Change expected reply to help().
4328
4329 2014-12-01 Yao Qi <yao@codesourcery.com>
4330
4331 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4332 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4333 * configure: Re-generated.
4334
4335 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4336
4337 * gdb.cp/chained-calls.cc: New file.
4338 * gdb.cp/chained-calls.exp: New file.
4339 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4340
4341 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4342
4343 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4344 * gdb.dwarf2/symtab-producer.exp: Same.
4345 * gdb.gdb/python-interrupts.exp: Same.
4346 * gdb.gdb/python-selftest.exp: Same.
4347 * gdb.python/py-linetable.exp: Same.
4348 * gdb.python/py-type.exp: Same.
4349 * gdb.python/py-value-cc.exp: Same.
4350 * gdb.python/py-value.exp: Same.
4351
4352 2014-11-28 Yao Qi <yao@codesourcery.com>
4353
4354 * gdb.base/break-probes.exp: Match library name prefixed with
4355 sysroot.
4356
4357 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4358
4359 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4360 test expected output. Add parentheses for the call to print.
4361 Remove L suffix from integers.
4362
4363 2014-11-26 Doug Evans <dje@google.com>
4364
4365 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4366
4367 2014-11-22 Yao Qi <yao@codesourcery.com>
4368
4369 * gdb.trace/entry-values.c: Remove asms.
4370 (foo): Add foo_label.
4371 (bar): Add bar_label.
4372 * gdb.trace/entry-values.exp: Remove code computing foo's
4373 length and bar's length.
4374 (Dwarf::assemble): Invoke function_range for bar and use
4375 MACRO_AT_func for foo.
4376
4377 2014-11-22 Yao Qi <yao@codesourcery.com>
4378
4379 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4380 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4381 Use .Lgcc43_procstart instead of gcc43.
4382
4383 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4384
4385 * gdb.ada/n_arr_bound: New testcase.
4386
4387 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4388
4389 PR breakpoints/10737
4390 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4391 test_catch_syscall_multi_arch.
4392 (test_catch_syscall_multi_arch): New function.
4393
4394 2014-11-20 Doug Evans <xdje42@gmail.com>
4395
4396 * gdb.base/maint.exp: Update expected output.
4397
4398 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4399
4400 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4401 4-byte instruction on S390.
4402
4403 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4404
4405 * gdb.ada/arr_arr: New testcase.
4406
4407 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4408
4409 * gdb.ada/pkd_arr_elem: New Testcase.
4410
4411 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4412
4413 * gdb.reverse/break-precsave: Expect completion message for
4414 core file reads.
4415 * gdb.reverse/consecutive-precsave.exp: Likewise.
4416 * gdb.reverse/finish-precsave.exp: Likewise.
4417 * gdb.reverse/i386-precsave.exp: Likewise.
4418 * gdb.reverse/machinestate-precsave.exp: Likewise.
4419 * gdb.reverse/sigall-precsave.exp: Likewise.
4420 * gdb.reverse/solib-precsave.exp: Likewise.
4421 * gdb.reverse/step-precsave.exp: Likewise.
4422 * gdb.reverse/until-precsave.exp: Likewise.
4423 * gdb.reverse/watch-precsave.exp: Likewise.
4424
4425 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4426
4427 * gdb.base/bp-permanent.c: Include unistd.h.
4428 * gdb.python/py-framefilter-mi.c (main): Add return type.
4429 * gdb.python/py-framefilter.c (main): Likewise.
4430 * gdb.trace/actions-changed.c (main): Likewise.
4431
4432 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4433
4434 * gdb.mi/until.c: Add eye-catchers.
4435 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4436 line numbers.
4437
4438 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4439
4440 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4441 function header variants in break1.c.
4442 * gdb.base/ena-dis-br.exp: Likewise.
4443 * gdb.base/hbreak2.exp: Likewise.
4444 * gdb.reverse/until-precsave.exp: Drop references to removed
4445 non-prototype function header variants in ur1.c.
4446 * gdb.reverse/until-reverse.exp: Likewise.
4447
4448 2014-11-17 Petr Machata <pmachata@redhat.com>
4449
4450 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4451 ${_cu_offset_size} bytes abbrev offset.
4452
4453 2014-11-15 Doug Evans <xdje42@gmail.com>
4454
4455 PR symtab/17559
4456 * gdb.base/line-symtabs.exp: New file.
4457 * gdb.base/line-symtabs.c: New file.
4458 * gdb.base/line-symtabs.h: New file.
4459
4460 2014-11-14 Yao Qi <yao@codesourcery.com>
4461
4462 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4463 (func): Add label func_label.
4464 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4465 Replace low_pc and high_pc with MACRO_AT_range.
4466 Replace name, low_pc and high_pc with MACRO_AT_func.
4467
4468 2014-11-14 Yao Qi <yao@codesourcery.com>
4469
4470 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4471 Replace name, low_pc and high_pc with MACRO_AT_func.
4472
4473 2014-11-14 Yao Qi <yao@codesourcery.com>
4474
4475 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4476 produce debug information.
4477 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4478
4479 2014-11-14 Yao Qi <yao@codesourcery.com>
4480
4481 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4482 object and get function length.
4483 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4484 with MACRO_AT_func.
4485 (top-level): Replace gdb_compile and clean_restart with
4486 prepare_for_testing.
4487 * gdb.dwarf2/main.c (main): Add label main_label.
4488
4489 2014-11-14 Yao Qi <yao@codesourcery.com>
4490
4491 * lib/dwarf.exp (function_range): New procedure.
4492 (Dwarf::_handle_macro_at_func): New procedure.
4493 (Dwarf::_handle_macro_at_range): New procedure.
4494 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4495
4496 2014-11-14 Yao Qi <yao@codesourcery.com>
4497
4498 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4499 (_handle_attribute): New procedure.
4500
4501 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4502
4503 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4504 * gdb.base/call-sc.c (zed): Likewise.
4505 * gdb.base/checkpoint.c (main): Likewise.
4506 * gdb.base/dump.c (main): Likewise.
4507 * gdb.base/gcore.c (main): Likewise.
4508 * gdb.base/huge.c (main): Likewise.
4509 * gdb.base/multi-forks.c (main): Likewise.
4510 * gdb.base/pr10179-a.c (main): Likewise.
4511 * gdb.base/savedregs.c (main): Likewise.
4512 * gdb.base/sigaltstack.c (main): Likewise.
4513 * gdb.base/siginfo.c (main): Likewise.
4514 * gdb.base/structs.c (zed): Likewise.
4515 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4516 * gdb.mi/mi-syn-frame.c (main): Likewise.
4517 * gdb.mi/until.c (foo, main): Likewise.
4518 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4519 * gdb.base/solib-weak.c (foo): Declare.
4520 * gdb.base/attach-twice.c: Include stdio.h.
4521 * gdb.base/weaklib1.c: Likewise.
4522 * gdb.base/weaklib2.c: Likewise.
4523 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4524 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4525 unistd.h.
4526 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4527 * gdb.mi/mi-exit-code.c: Likewise.
4528 * gdb.base/break-interp-lib.c: Include string.h.
4529 * gdb.base/coremaker.c: Likewise.
4530 * gdb.base/testenv.c: Likewise.
4531 * gdb.python/py-finish-breakpoint.c: Likewise.
4532 * gdb.base/inferior-died.c: Include sys/wait.h.
4533 * gdb.base/fileio.c: Include time.h.
4534 * gdb.base/async-shell.c: Include unistd.h.
4535 * gdb.base/dprintf-non-stop.c: Likewise.
4536 * gdb.base/info-os.c: Likewise.
4537 * gdb.mi/mi-console.c: Likewise.
4538 * gdb.mi/watch-nonstop.c: Likewise.
4539 * gdb.python/py-events.c: Likewise.
4540 * gdb.base/async.c (baz): Move up before its invocation.
4541 * gdb.base/code_elim2.c (my_global_func): Likewise.
4542 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4543 * gdb.base/advance.c (func2): Likewise.
4544
4545 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4546
4547 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4548 variant.
4549 * gdb.base/annota3.c: Likewise.
4550 * gdb.base/async.c: Likewise.
4551 * gdb.base/average.c: Likewise.
4552 * gdb.base/call-ar-st.c: Likewise.
4553 * gdb.base/call-rt-st.c: Likewise.
4554 * gdb.base/call-sc.c: Likewise.
4555 * gdb.base/call-strs.c: Likewise.
4556 * gdb.base/ending-run.c: Likewise.
4557 * gdb.base/execd-prog.c: Likewise.
4558 * gdb.base/exprs.c: Likewise.
4559 * gdb.base/foll-exec.c: Likewise.
4560 * gdb.base/foll-fork.c: Likewise.
4561 * gdb.base/foll-vfork.c: Likewise.
4562 * gdb.base/funcargs.c: Likewise.
4563 * gdb.base/gcore.c: Likewise.
4564 * gdb.base/jump.c: Likewise.
4565 * gdb.base/langs0.c: Likewise.
4566 * gdb.base/langs1.c: Likewise.
4567 * gdb.base/langs2.c: Likewise.
4568 * gdb.base/mips_pro.c: Likewise.
4569 * gdb.base/nodebug.c: Likewise.
4570 * gdb.base/opaque0.c: Likewise.
4571 * gdb.base/opaque1.c: Likewise.
4572 * gdb.base/recurse.c: Likewise.
4573 * gdb.base/run.c: Likewise.
4574 * gdb.base/scope0.c: Likewise.
4575 * gdb.base/scope1.c: Likewise.
4576 * gdb.base/setshow.c: Likewise.
4577 * gdb.base/setvar.c: Likewise.
4578 * gdb.base/shmain.c: Likewise.
4579 * gdb.base/shr1.c: Likewise.
4580 * gdb.base/shr2.c: Likewise.
4581 * gdb.base/sigall.c: Likewise.
4582 * gdb.base/signals.c: Likewise.
4583 * gdb.base/so-indr-cl.c: Likewise.
4584 * gdb.base/solib2.c: Likewise.
4585 * gdb.base/structs.c: Likewise.
4586 * gdb.base/sum.c: Likewise.
4587 * gdb.base/vforked-prog.c: Likewise.
4588 * gdb.base/watchpoint.c: Likewise.
4589 * gdb.reverse/shr2.c: Likewise.
4590 * gdb.reverse/until-reverse.c: Likewise.
4591 * gdb.reverse/ur1.c: Likewise.
4592 * gdb.reverse/watch-reverse.c: Likewise.
4593
4594 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4595
4596 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4597 variant.
4598 * gdb.base/sepdebug.exp: Drop references to removed code.
4599
4600 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4601
4602 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4603 variant. Preserve original line numbering.
4604 * gdb.base/list1.c: Likewise.
4605
4606 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4607
4608 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4609 variant.
4610 * gdb.base/break1.c: Likewise.
4611 * gdb.base/break.exp: Drop references to removed code.
4612
4613 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4614
4615 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4616 variant.
4617
4618 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4619
4620 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4621
4622 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4623
4624 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4625 logic into perform_all_tests() and invoke it with and without
4626 function header prototypes.
4627 (do_function_calls): Remove conditional XFAIL for PR 5318.
4628 (rerun_and_prepare): Remove duplicate code.
4629 (perform_all_tests): New. Main logic moved here.
4630
4631 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4632
4633 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4634 code guarded by #ifdef NO_PROTOTYPES.
4635 (t_double_many_args): Likewise.
4636 (DEF_FUNC_MANY_ARGS_1): Likewise.
4637 (DEF_FUNC_VALUES_1): Likewise.
4638 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4639 guarded by #ifdef PROTOTYPES.
4640
4641 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4642
4643 * gdb.mi/mi-console.c: Add eye-catcher.
4644 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4645 instead of literal line number.
4646
4647 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4648
4649 * gdb.base/shr2.c: Add eye-catcher.
4650 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4651 line number.
4652
4653 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4654
4655 * gdb.base/jump.c: Add eye-catchers.
4656 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4657 numbers.
4658
4659 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4660
4661 * gdb.base/execd-prog.c: Add eye-catchers.
4662 * gdb.base/foll-exec.c: Likewise.
4663 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4664 line numbers.
4665
4666 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4667
4668 * gdb.base/ending-run.c: Add eye-catchers.
4669 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4670 literal line numbers.
4671
4672 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4673
4674 * gdb.base/call-rt-st.c: Add eye-catchers.
4675 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4676 literal line numbers.
4677
4678 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4679
4680 * gdb.base/call-ar-st.c: Add eye-catchers.
4681 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4682 literal line numbers.
4683
4684 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4685
4686 * gdb.base/average.c: Add eye-catchers.
4687 * gdb.base/sum.c: Likewise.
4688 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4689 regexps dynamically.
4690
4691 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4692
4693 * gdb.base/solib1.c: Add eye-catchers.
4694 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4695 literal line numbers.
4696
4697 2014-11-12 Pedro Alves <palves@redhat.com>
4698
4699 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4700 leader has exited.
4701
4702 2014-11-12 Pedro Alves <palves@redhat.com>
4703
4704 * gdb.arch/i386-bp_permanent.c: New file.
4705 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4706 (srcfile): Set to i386-bp_permanent.c.
4707 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4708 that stepi does not execute the 'leave' instruction, instead of
4709 testing it does execute.
4710 * gdb.base/bp-permanent.c: New file.
4711 * gdb.base/bp-permanent.exp: New file.
4712
4713 2014-11-10 Doug Evans <xdje42@gmail.com>
4714
4715 PR symtab/17564
4716 * gdb.base/symtab-search-order.exp: New file.
4717 * gdb.base/symtab-search-order.c: New file.
4718 * gdb.base/symtab-search-order-1.c: New file.
4719 * gdb.base/symtab-search-order-shlib-1.c: New file.
4720
4721 2014-11-07 Pedro Alves <palves@redhat.com>
4722
4723 PR gdb/17511
4724 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4725 i?86-*-linux*.
4726
4727 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4728
4729 PR c++/17494
4730 * gdb.cp/pr17494.cc: New file.
4731 * gdb.cp/pr17494.exp: New file.
4732
4733 2014-11-02 Yao Qi <yao@codesourcery.com>
4734
4735 * gdb.python/python.exp: Get working directory and match the
4736 output of "set extended-prompt \\w " with it.
4737
4738 2014-10-30 Doug Evans <dje@google.com>
4739
4740 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4741 in objfiles.
4742 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4743 in progspaces.
4744
4745 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4746
4747 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4748 * gdb.base/realname-expand.exp: Likewise.
4749 * gdb.linespec/macro-relative.exp: Likewise.
4750
4751 2014-10-29 Pedro Alves <palves@redhat.com>
4752
4753 PR gdb/17408
4754 * gdb.threads/schedlock.c (some_function): New function.
4755 (call_function): New global.
4756 (MAYBE_CALL_SOME_FUNCTION): New macro.
4757 (thread_function): Call it.
4758 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4759 and use it instead of a global counter. Adjust all callers.
4760 (get_current_thread): Use "find current thread" for test message
4761 here rather than having all callers pass down the same string.
4762 (goto_loop): New procedure, factored out from ...
4763 (my_continue): ... this.
4764 (step_ten_loops): Change parameter from test message to command to
4765 use. Adjust.
4766 (list_count): Delete global.
4767 (check_result): New procedure, factored out from duplicate top
4768 level code.
4769 (continue tests): Wrap in with_test_prefix.
4770 (test_step): New procedure, factored out from duplicate top level
4771 code.
4772 (top level): Test "step" in combination with all scheduler-locking
4773 modes. Test "next" in combination with all scheduler-locking
4774 modes, and in combination with stepping over a function call or
4775 not.
4776 * gdb.threads/next-bp-other-thread.c: New file.
4777 * gdb.threads/next-bp-other-thread.exp: New file.
4778
4779 2014-10-29 Pedro Alves <palves@redhat.com>
4780
4781 PR python/17372
4782 * gdb.python/python.exp: Test a multi-line command that spawns
4783 interactive Python.
4784 * gdb.base/multi-line-starts-subshell.exp: New file.
4785
4786 2014-10-29 Yao Qi <yao@codesourcery.com>
4787
4788 * gdb.base/fileio.exp: Make directories on host.
4789
4790 2014-10-29 Yao Qi <yao@codesourcery.com>
4791
4792 * gdb.base/fileio.c (test_write): Close the file.
4793
4794 2014-10-28 Pedro Alves <palves@redhat.com>
4795
4796 PR gdb/12623
4797 * gdb.base/sigstep.c (no_handler): New global.
4798 (main): If 'no_handler is true, set the signal handlers to
4799 SIG_IGN.
4800 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4801 with_sw_watch and no_handler parameters. Handle them.
4802 (top level) <stepping over handler when stopped at a breakpoint
4803 test>: Add a test axis for testing with a software watchpoint, and
4804 another for testing with the signal handler set to SIG_IGN.
4805 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4806 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4807
4808 2014-10-28 Pedro Alves <palves@redhat.com>
4809
4810 PR gdb/17511
4811 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4812 * gdb.base/sigstep.exp (other_handler_location): New global.
4813 (advance): Support stepping into the signal handler, and running
4814 commands while in the handler.
4815 (in_handler_map): New global.
4816 (top level): In the advance test, add combinations for getting
4817 into the handler with stepping commands, and for running commands
4818 in the handler. Add comment descripting the advancei tests.
4819
4820 2014-10-28 Pedro Alves <palves@redhat.com>
4821
4822 * gdb.base/sigstep.exp: Use build_executable instead of
4823 prepare_for_testing.
4824 (top level): Move code that starts GDB, runs to main and creates a
4825 display to ...
4826 (restart): ... this new procedure.
4827 (top level): Move backtrace from signal handler test to ...
4828 (validate_backtrace): ... this new procedure.
4829 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4830 with_test_prefix. Always restart GDB.
4831 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4832 with_test_prefix. Always restart GDB. No need to delete
4833 breakpoints after the test.
4834 (test_skip_handler): Remove prefix parameter.
4835 (skip_over_handler, breakpoint_to_handler)
4836 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4837 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4838 restart GDB. No need to delete breakpoints after the test.
4839 (top level): Use foreach to call the test procedures with
4840 different commands.
4841
4842 2014-10-28 Pedro Alves <palves@redhat.com>
4843
4844 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4845 instead of GNATS numbers.
4846 * gdb.base/sigbpt.exp: Likewise.
4847 * gdb.base/siginfo.exp: Likewise.
4848 * gdb.base/sigstep.exp: Likewise.
4849
4850 2014-10-27 Pedro Alves <palves@redhat.com>
4851
4852 * gdb.base/sigstep.c (dummy): New global.
4853 (main): Issue a couple writes to the new global.
4854 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4855 procedures.
4856 (skip_over_handler): Use test_skip_handler.
4857 (top level): Call skip_over_handler for stepi and nexti too.
4858 (breakpoint_over_handler): Use test_skip_handler.
4859 (top level): Call breakpoint_over_handler for stepi and nexti too.
4860
4861 2014-10-27 Yao Qi <yao@codesourcery.com>
4862
4863 * gdb.trace/tfile.c (adjust_function_address)
4864 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4865 function descriptor.
4866
4867 2014-10-24 Don Breazeal <donb@codesourcery.com>
4868
4869 * gdb.base/foll-fork.exp (test_follow_fork,
4870 catch_fork_child_follow): Check for updated fork messages emitted
4871 from infrun.c.
4872 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4873 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4874 vfork_and_exec_child_follow_through_step): Check for updated vfork
4875 messages emitted from infrun.c.
4876
4877 2014-10-24 Pedro Alves <palves@redhat.com>
4878
4879 * gdb.base/corefile.exp: Remove references to ultrix.
4880 * gdb.base/interrupt.exp: Likewise.
4881 * gdb.base/whatis.exp: Likewise.
4882 * gdb.gdb/selftest.exp: Likewise.
4883 * gdb.threads/manythreads.exp: Likewise.
4884 * gdb.threads/print-threads.exp: Likewise.
4885 * gdb.threads/pthreads.exp:: Likewise.
4886 * gdb.threads/schedlock.exp: Likewise.
4887
4888 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4889
4890 * gdb.cp/non-trivial-retval.cc: Add a test case.
4891 * gdb.cp/non-trivial-retval.exp: Add a test.
4892
4893 2014-10-20 Yao Qi <yao@codesourcery.com>
4894
4895 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4896 * gdb.python/py-objfile-script-gdb.py: New file.
4897 * gdb.python/py-objfile-script.exp: Update reference to
4898 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4899 of remote_download. Remove the dest file.
4900
4901 2014-10-20 Yao Qi <yao@codesourcery.com>
4902
4903 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4904 * gdb.base/step-line.exp: Likewise.
4905 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4906 * gdb.dwarf2/dw2-basic.exp: Likewise.
4907 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4908 * gdb.dwarf2/dw2-filename.exp: Likewise.
4909 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4910 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4911 * gdb.dwarf2/dw2-producer.exp: Likewise.
4912 * gdb.dwarf2/mac-fileno.exp: Likewise.
4913 * gdb.python/py-frame-args.exp: Likewise.
4914 * gdb.python/py-framefilter.exp: Likewise.
4915 * gdb.python/py-mi.exp: Likewise.
4916 * gdb.python/py-objfile-script.exp: Likewise
4917 * gdb.python/py-pp-integral.exp: Likewise.
4918 * gdb.python/py-pp-re-notag.exp: Likewise.
4919 * gdb.python/py-prettyprint.exp: Likewise.
4920 * gdb.python/py-section-script.exp: Likewise.
4921 * gdb.python/py-typeprint.exp: Likewise.
4922 * gdb.python/py-xmethods.exp: Likewise.
4923 * gdb.stabs/weird.exp: Likewise.
4924 * gdb.xml/tdesc-regs.exp: Likewise.
4925
4926 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4927
4928 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4929 (out_cu): Use addr_len for the size of addresses.
4930 (out_line): Likewise. Size DW_LNE_set_address instruction
4931 according to addr_len.
4932 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4933 (FUNC): Add START_INSNS to definition.
4934
4935 2014-10-18 Yao Qi <yao@codesourcery.com>
4936
4937 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4938 gdb_has_argv0 return true.
4939 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4940 check [target_info exists noargs], check [gdb_has_argv0]
4941 instead.
4942 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4943 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4944 procedures.
4945
4946 2014-10-17 Doug Evans <dje@google.com>
4947
4948 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4949 event.
4950 * gdb.python/py-events.py: Add clear_objfiles event.
4951
4952 2014-10-17 Doug Evans <dje@google.com>
4953
4954 * gdb.python/py-objfile.exp: Test progspace attribute.
4955
4956 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
4957
4958 * gdb.guile/scm-breakpoint.exp: Do not assume any
4959 directory separators when matching source file paths.
4960 * gdb.python/py-breakpoint.exp: Likewise.
4961 * gdb.reverse/break-precsave.exp: Likewise.
4962 * gdb.reverse/break-reverse.exp: Likewise.
4963 * gdb.reverse/consecutive-precsave.exp: Likewise.
4964 * gdb.reverse/finish-precsave.exp: Likewise.
4965 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4966 * gdb.reverse/finish-reverse.exp: Likewise.
4967 * gdb.reverse/i386-precsave.exp: Likewise.
4968 * gdb.reverse/i387-env-reverse.exp: Likewise.
4969 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4970 * gdb.reverse/machinestate-precsave.exp: Likewise.
4971 * gdb.reverse/machinestate.exp: Likewise.
4972 * gdb.reverse/sigall-precsave.exp: Likewise.
4973 * gdb.reverse/solib-precsave.exp: Likewise.
4974 * gdb.reverse/step-precsave.exp: Likewise.
4975 * gdb.reverse/until-precsave.exp: Likewise.
4976 * gdb.reverse/watch-precsave.exp: Likewise.
4977 * gdb.reverse/watch-reverse.exp: Likewise.
4978
4979 2014-10-17 Yao Qi <yao@codesourcery.com>
4980
4981 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4982 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4983
4984 2014-10-17 Pedro Alves <palves@redhat.com>
4985
4986 PR gdb/17471
4987 * gdb.base/bg-execution-repeat.c: New file.
4988 * gdb.base/bg-execution-repeat.exp: New file.
4989
4990 2014-10-17 Pedro Alves <palves@redhat.com>
4991
4992 PR gdb/17300
4993 * gdb.base/continue-all-already-running.c: New file.
4994 * gdb.base/continue-all-already-running.exp: New file.
4995
4996 2014-10-17 Pedro Alves <palves@redhat.com>
4997
4998 PR gdb/17472
4999 * gdb.base/annota-input-while-running.c: New file.
5000 * gdb.base/annota-input-while-running.exp: New file.
5001
5002 2014-10-17 Pedro Alves <palves@redhat.com>
5003
5004 * gdb.base/callfuncs.exp: emove references to osf.
5005 * gdb.base/sigall.exp: Likewise.
5006 * gdb.gdb/selftest.exp: Likewise.
5007 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5008 * gdb.mi/non-stop.c: Likewise.
5009 * gdb.mi/pthreads.c: Likewise.
5010 * gdb.reverse/sigall-precsave.exp: Likewise.
5011 * gdb.reverse/sigall-reverse.exp: Likewise.
5012 * gdb.threads/pthreads.c: Likewise.
5013 * gdb.threads/pthreads.exp: Likewise.
5014
5015 2014-10-17 Yao Qi <yao@codesourcery.com>
5016
5017 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5018 check 'target_info exists noargs'.
5019 (test_command_prompt_position): Likewise.
5020 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5021 Remove "set args".
5022 (progvar_simple_while_test): Likewise.
5023 (progvar_complex_if_while_test): Likewise.
5024 (if_while_breakpoint_command_test): Likewise.
5025 (infrun_breakpoint_command_test): Likewise.
5026 (breakpoint_command_test): Likewise.
5027 (watchpoint_command_test): Likewise.
5028 (bp_deleted_in_command_test): Likewise.
5029 (temporary_breakpoint_commands): Likewise.
5030
5031 2014-10-16 Yao Qi <yao@codesourcery.com>
5032
5033 * gdb.base/remotetimeout.exp: Remove noargs checking.
5034
5035 2014-10-15 Pedro Alves <palves@redhat.com>
5036
5037 PR breakpoints/9649
5038 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5039 * gdb.base/breakpoint-in-ro-region.exp
5040 (probe_target_hardware_step): New procedure.
5041 (top level): Probe hardware stepping and hardware breakpoint
5042 support. Test stepping through a read-only region, with both
5043 "breakpoint auto-hw" on and off and both "always-inserted" on and
5044 off.
5045
5046 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5047
5048 * gdb.dlang/demangle.exp: Update for demangling changes.
5049
5050 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5051
5052 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5053 * gdb.cp/non-trivial-retval.exp: Add new tests.
5054
5055 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5056
5057 PR c++/13403
5058 PR c++/15154
5059 * gdb.cp/non-trivial-retval.cc: New file.
5060 * gdb.cp/non-trivial-retval.exp: New file.
5061
5062 2014-10-15 Yao Qi <yao@codesourcery.com>
5063
5064 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5065 remote host.
5066
5067 2014-10-15 Yao Qi <yao@codesourcery.com>
5068
5069 * gdb.python/py-symbol.exp: Match file base name if host is
5070 remote, otherwise match file name with dir name.
5071 * gdb.python/py-symtab.exp: Likewise.
5072 * gdb.python/python.exp: Likewise.
5073
5074 2014-10-15 Yao Qi <yao@codesourcery.com>
5075
5076 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5077 pattern.
5078 * gdb.python/py-symtab.exp: Likewise.
5079 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5080 locationn.
5081
5082 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5083
5084 * gdb.ada/addr_arith: New testcase.
5085
5086 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5087
5088 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5089 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5090 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5091 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5092
5093 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5094
5095 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5096 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5097 * gdb.arch/stap-eval-lang-ada.exp: New file.
5098
5099 2014-10-14 Yao Qi <yao@codesourcery.com>
5100
5101 * gdb.mi/mi-var-child.c (nothing1): New function.
5102 (nothing2): New function.
5103 (do_children_tests): Set function pointers by nothing1 and
5104 nothing2.
5105 * gdb.mi/mi-var-child.exp: Step over new added statements.
5106 Update test to match the new output.
5107 * gdb.mi/var-cmd.c (nothing1): New function.
5108 (nothing2): New function.
5109 (do_children_tests): Set function pointers by nothing1 and
5110 nothing2.
5111 * gdb.mi/mi-var-display.exp: Update test to match output.
5112 Step to the line specified by $line_dct_nothing.
5113 Increase the number of lines to step.
5114
5115 2014-10-14 Yao Qi <yao@codesourcery.com>
5116
5117 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5118 tests.
5119 * gdb.mi/mi2-var-child.exp: Likewise.
5120
5121 2014-10-13 Doug Evans <dje@google.com>
5122
5123 * gdb.python/py-objfile.exp: Change name of file name test.
5124
5125 2014-10-13 Doug Evans <dje@google.com>
5126
5127 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5128 from the start of the CU.
5129
5130 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5131 Yao Qi <yao@codesourcery.com>
5132
5133 Fix "save breakpoints" for "catch" command.
5134 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5135 Remove -nonewline. Match also the added "main" line.
5136
5137 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5138
5139 Fix "save breakpoints" for "disable $bpnum" command.
5140 * gdb.base/save-bp.c (main): Add label.
5141 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5142
5143 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5144
5145 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5146
5147 2014-10-11 Yao Qi <yao@codesourcery.com>
5148
5149 * gdb.server/server-kill.exp: Execute command
5150 "set remote trace-status-packet on" before "tstatus".
5151
5152 2014-10-11 Yao Qi <yao@codesourcery.com>
5153
5154 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5155 (main): Call getppid.
5156 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5157 and continue to it. Read variable "server_pid".
5158
5159 2014-10-11 Yao Qi <yao@codesourcery.com>
5160
5161 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5162
5163 2014-10-11 Yao Qi <yao@codesourcery.com>
5164
5165 * gdb.threads/thread-find.exp: Don't execute command
5166 "info threads".
5167 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5168 * gdb.threads/linux-dp.exp: Don't check the condition
5169 $threads_created equals to zero.
5170
5171 2014-10-10 Pedro Alves <palves@redhat.com>
5172
5173 * gdb.base/bigcore.exp: Remove references to IRIX.
5174 * gdb.base/funcargs.exp: Likewise.
5175 * gdb.base/interrupt.exp: Likewise.
5176 * gdb.base/mips_pro.exp: Likewise.
5177 * gdb.base/nodebug.exp: Likewise.
5178 * gdb.base/setvar.exp: Likewise.
5179 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5180
5181 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5182 Pedro Alves <palves@redhat.com>
5183
5184 PR symtab/14466
5185 * gdb.base/vdso-warning.c: New file.
5186 * gdb.base/vdso-warning.exp: New file.
5187
5188 2014-10-02 Doug Evans <dje@google.com>
5189
5190 * gdb.base/structs.c (main): Don't run forever.
5191
5192 2014-10-02 Pedro Alves <palves@redhat.com>
5193
5194 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5195 (top level) <stop threads 1, stop threads 2>: Use it.
5196
5197 2014-10-02 Pedro Alves <palves@redhat.com>
5198
5199 * gdb.threads/break-while-running.exp (test): Add new
5200 'update_thread_list' argument. Skip "info threads" if false.
5201 (top level): Add new 'update_thread_list' axis.
5202
5203 2014-10-02 Pedro Alves <palves@redhat.com>
5204
5205 PR breakpoints/17431
5206 * gdb.base/execl-update-breakpoints.c: New file.
5207 * gdb.base/execl-update-breakpoints.exp: New file.
5208
5209 2014-10-01 Pedro Alves <palves@redhat.com>
5210
5211 * gdb.base/breakpoint-in-ro-region.c: New file.
5212 * gdb.base/breakpoint-in-ro-region.exp: New file.
5213
5214 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5215
5216 * gdb.mi/mi-exit-code.exp: New file.
5217 * gdb.mi/mi-exit-code.c: New file.
5218
5219 2014-09-30 Yao Qi <yao@codesourcery.com>
5220
5221 * lib/prelink-support.exp (build_executable_own_libs): Error if
5222 the target isn't native.
5223
5224 2014-09-30 Yao Qi <yao@codesourcery.com>
5225
5226 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5227 false.
5228
5229 2014-09-22 Pedro Alves <palves@redhat.com>
5230
5231 * gdb.threads/break-while-running.exp: New file.
5232 * gdb.threads/break-while-running.c: New file.
5233
5234 2014-09-19 Yao Qi <yao@codesourcery.com>
5235
5236 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5237 Invoke test. Restart GDB with --readnow and invoke test again.
5238
5239 2014-09-19 Yao Qi <yao@codesourcery.com>
5240
5241 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5242 proc set_breakpoint_on_gcd_function. Invoke
5243 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5244 invoke set_breakpoint_on_gcd_function again.
5245
5246 2014-09-18 Doug Evans <dje@google.com>
5247
5248 * gdb.dwarf2/symtab-producer.exp: New file.
5249
5250 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5251
5252 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5253 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5254 * gdb.base/global-var-nested-by-dso.c: Likewise.
5255 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5256
5257 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5258 Pedro Alves <palves@redhat.com>
5259
5260 * gdb.base/watch-bitfields.exp: Pass string other than test file
5261 name to prepare_for_testing.
5262 (watch): New procedure.
5263 (expect_watchpoint): Use with_test_prefix.
5264 (top level): Factor out tests to ...
5265 (test_watch_location, test_regular_watch): ... these new
5266 procedures, and use with_test_prefix and gdb_continue_to_end.
5267
5268 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5269
5270 PR breakpoints/12526
5271 * gdb.base/watch-bitfields.exp: New file.
5272 * gdb.base/watch-bitfields.c: New file.
5273
5274 2014-09-16 Pedro Alves <palves@redhat.com>
5275
5276 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5277 software and hardware addresses, not software address against
5278 itself.
5279
5280 2014-09-16 Pedro Alves <palves@redhat.com>
5281
5282 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5283 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5284
5285 2014-09-16 Pedro Alves <palves@redhat.com>
5286
5287 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5288 files.
5289 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5290 "*-*-vxworks*" throughout.
5291 * gdb.base/break.exp: Likewise.
5292 * gdb.base/default.exp: Likewise.
5293 * gdb.base/scope.exp: Likewise.
5294 * gdb.base/sepdebug.exp: Likewise.
5295 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5296 throughout.
5297 * gdb.base/run.c: Likewise.
5298 * gdb.base/sepdebug.c: Likewise.
5299 * gdb.hp/gdb.aCC/run.c: Likewise.
5300 * gdb.reverse/until-reverse.c: Likewise.
5301 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5302
5303 2014-09-16 Yao Qi <yao@codesourcery.com>
5304
5305 * boards/local-remote-host-native.exp: New file.
5306
5307 2014-09-14 Doug Evans <xdje42@gmail.com>
5308
5309 * gdb.threads/queue-signal.c (thread_count): New variable.
5310 (thread_count_mutex, thread_count_condvar): New variables.
5311 (incr_thread_count, wait_all_threads_running): New functions.
5312 (main): Wait for all threads to be in their thread functions.
5313
5314 2014-09-13 Doug Evans <xdje42@gmail.com>
5315
5316 * gdb.threads/queue-signal.c: New file.
5317 * gdb.threads/queue-signal.exp: New file.
5318
5319 2014-09-13 Doug Evans <xdje42@gmail.com>
5320
5321 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5322 be consistent with what default_gdb_init uses.
5323 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5324 the plain text of the prompt. Add some logging printfs.
5325 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5326
5327 2014-09-12 Pedro Alves <palves@redhat.com>
5328
5329 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5330 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5331 * gdb.arch/i386-size-overlap.exp: Likewise.
5332 * gdb.arch/i386-size.exp: Likewise.
5333 * gdb.arch/i386-unwind.exp: Likewise.
5334 * gdb.base/a2-run.exp: Likewise.
5335 * gdb.base/break.exp: Likewise.
5336 * gdb.base/charset.exp: Likewise.
5337 * gdb.base/chng-syms.exp: Likewise.
5338 * gdb.base/commands.exp: Likewise.
5339 * gdb.base/dbx.exp: Likewise.
5340 * gdb.base/find.exp: Likewise.
5341 * gdb.base/funcargs.exp: Likewise.
5342 * gdb.base/jit-simple.exp: Likewise.
5343 * gdb.base/reread.exp: Likewise.
5344 * gdb.base/sepdebug.exp: Likewise.
5345 * gdb.base/step-bt.exp: Likewise.
5346 * gdb.cp/mb-inline.exp: Likewise.
5347 * gdb.cp/mb-templates.exp: Likewise.
5348 * gdb.objc/basicclass.exp: Likewise.
5349 * gdb.threads/killed.exp: Likewise.
5350
5351 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5352
5353 PR tdep/17379
5354 * gdb.arch/powerpc-stackless.S: New file.
5355 * gdb.arch/powerpc-stackless.exp: New file.
5356
5357 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5358
5359 * gdb.base/attach.c: Include unistd.h.
5360 (main): Call alarm. Add label postloop.
5361 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5362 gdb_breakpoint, gdb_continue_to_breakpoint.
5363 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5364
5365 2014-09-11 Pedro Alves <palves@redhat.com>
5366
5367 PR gdb/17347
5368 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5369 * gdb.base/attach.exp (test_command_line_attach_run): New
5370 procedure.
5371 (top level): Call it.
5372
5373 2014-09-11 Pedro Alves <palves@redhat.com>
5374
5375 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5376 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5377 (do_command_attach_tests): Use spawn_wait_for_attach.
5378 * gdb.base/solib-overlap.exp: Likewise.
5379 * gdb.multi/multi-attach.exp: Likewise.
5380 * gdb.python/py-prompt.exp: Likewise.
5381 * gdb.python/py-sync-interp.exp: Likewise.
5382 * gdb.server/ext-attach.exp: Likewise.
5383
5384 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5385
5386 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5387 command in testcase. Simplify testcase.
5388
5389 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5390
5391 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5392
5393 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5394
5395 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5396
5397 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5398
5399 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5400
5401 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5402
5403 * gdb.dwarf2/dynarr-ptr.c: New file.
5404 * gdb.dwarf2/dynarr-ptr.exp: New file.
5405
5406 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5407
5408 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5409 of 30 rather than hardcoding 120 for a slow test case. Take the
5410 `gdb,timeout' target setting into account for this calculation.
5411 Don't extend the timeout for the test cases that don't need it.
5412
5413 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5414
5415 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5416 a factor of 2 for a slow test case. Take the `gdb,timeout'
5417 target setting into account for this calculation.
5418 * gdb.reverse/until-precsave.exp: Increase the timeout by
5419 a factor of 15 and 3 respectively rather than adding 120
5420 for a pair of slow test cases. Take the `gdb,timeout'
5421 target setting into account for this calculation.
5422
5423 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5424
5425 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5426 timeout, don't pass one down to gdb_expect.
5427 (gdb_expect): Rework timeout selection.
5428
5429 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5430
5431 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5432 exception on timeout.
5433 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5434 (gdbserver_start_extended): Catch any `gdbserver_start' error
5435 exceptions.
5436 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5437 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5438 `gdbserver_gdb_load' error exceptions.
5439
5440 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5441
5442 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5443 120 on waiting for the TCP socket to open.
5444
5445 2014-09-09 Doug Evans <xdje42@gmail.com>
5446
5447 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5448 _caller_matches, _any_caller_is, _any_caller_matches.
5449
5450 2014-09-09 Doug Evans <xdje42@gmail.com>
5451
5452 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5453
5454 2014-09-09 Yao Qi <yao@codesourcery.com>
5455
5456 * gdb.mi/mi-var-display.exp: Set print symbol off.
5457
5458 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5459
5460 PR gdb/17035
5461 * gdb.base/commands.exp: Add tests to verify user-defined
5462 commands with empty bodies.
5463 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5464 python commands in `show user command`.
5465 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5466 scheme commands in `show user command`.
5467
5468 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5469
5470 PR python/17355
5471 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5472 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5473 * gdb.python/py-framefilter-invalidarg.exp: New file.
5474 * gdb.python/py-framefilter-invalidarg.py: New file.
5475
5476 2014-09-06 Doug Evans <xdje42@gmail.com>
5477
5478 PR 15276
5479 * gdb.python/py-caller-is.c: New file.
5480 * gdb.python/py-caller-is.exp: New file.
5481
5482 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5483
5484 PR gdb/17235
5485 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5486 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5487
5488 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5489
5490 PR fortran/17237
5491 * gdb.fortran/print-formatted.exp: New file.
5492 * gdb.fortran/print-formatted.f90: Likewise.
5493
5494 2014-09-03 Sasha Smundak <asmundak@google.com>
5495
5496 * gdb.python/py-frame.exp: Test Frame.read_register.
5497
5498 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5499
5500 PR python/16699
5501 * gdb.python/py-completion.exp: New file.
5502 * gdb.python/py-completion.py: Likewise.
5503
5504 2014-08-28 Doug Evans <dje@google.com>
5505
5506 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5507 eax,etc. are live with values set by gdb and thus the compiler can't
5508 use them.
5509 * gdb.arch/i386-pseudo.c (main): Ditto.
5510
5511 2014-08-27 Doug Evans <dje@google.com>
5512
5513 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5514
5515 2014-08-25 Doug Evans <dje@google.com>
5516
5517 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5518 (main): Ditto.
5519
5520 2014-08-25 Doug Evans <dje@google.com>
5521
5522 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5523
5524 2014-08-24 Yao Qi <yao@codesourcery.com>
5525
5526 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5527 symbol off.
5528 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5529
5530 2014-08-22 Doug Evans <dje@google.com>
5531
5532 PR 17276
5533 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5534 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5535 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5536
5537 2014-08-22 Yao Qi <yao@codesourcery.com>
5538
5539 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5540 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5541 * gdb.python/python.exp: Likewise. Use .py file on the host
5542 instead of the build.
5543
5544 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5545
5546 * gdb.threads/gcore-stale-thread.c: New file.
5547 * gdb.threads/gcore-stale-thread.exp: New file.
5548
5549 2014-08-21 Pedro Alves <palves@redhat.com>
5550
5551 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5552 * gdb.base/gcore-relro-pie.exp: Likewise.
5553 * gdb.base/gcore-relro.exp: Likewise.
5554 * gdb.base/gcore.exp: Likewise.
5555 * gdb.base/print-symbol-loading.exp: Likewise.
5556 * gdb.threads/gcore-thread.exp: Likewise.
5557 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5558
5559 2014-08-20 Pedro Alves <palves@redhat.com>
5560 Jan Kratochvil <jan.kratochvil@redhat.com>
5561
5562 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5563 configure.
5564 (EXPECT): Handle READ1 being set.
5565 (all): Depend on EXTRA_RULES.
5566 (check-read1, expect-read1, read1.so, read1): New rules.
5567 * README (Testsuite Parameters): Document the READ1 make variable.
5568 (Race detection): New section.
5569 * configure: Regenerate.
5570 * configure.ac: If build==host==target, and running under a
5571 GNU/glibc system, add read1 to the extra Makefile rules.
5572 (EXTRA_RULES): AC_SUBST it.
5573 * lib/read1.c: New file.
5574
5575 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5576
5577 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5578 the handling of variables declared as a typedef to an array
5579 which a DW_AT_data_location attribute.
5580
5581 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5582 Pedro Alves <palves@redhat.com>
5583
5584 PR symtab/14604
5585 PR symtab/14605
5586 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5587 gdb_test.
5588
5589 2014-08-19 Pedro Alves <palves@redhat.com>
5590
5591 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5592
5593 2014-08-19 Yao Qi <yao@codesourcery.com>
5594
5595 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5596 right line.
5597
5598 2014-08-18 David Blaikie <dblaikie@gmail.com>
5599
5600 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5601
5602 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5603
5604 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5605 attribute in array range.
5606
5607 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5608
5609 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5610
5611 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5612
5613 PR c++/17132
5614 * gdb.cp/pr17132.cc: New file.
5615 * gdb.cp/pr17132.exp: New file.
5616
5617 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5618
5619 * gdb.python/py-xmethods.py (A_getarrayind)
5620 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5621 Use 'print' with function call syntax.
5622 (E_method_matcher.match): Fix tab vs space indentation mixup.
5623
5624 2014-08-15 Yao Qi <yao@codesourcery.com>
5625
5626 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5627 false.
5628
5629 2014-08-15 Yao Qi <yao@codesourcery.com>
5630
5631 * gdb.cp/casts.exp: Set print symbol off.
5632 * gdb.cp/class2.exp: Likewise.
5633 * gdb.cp/overload.exp: Likewise.
5634 * gdb.cp/templates.exp: Likewise.
5635
5636 2014-08-11 Doug Evans <dje@google.com>
5637
5638 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5639 (test_load_shlib): Update.
5640
5641 2014-08-09 Yao Qi <yao@codesourcery.com>
5642
5643 * gdb.base/display.exp: Invoke is_address_zero_readable.
5644 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5645 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5646 * gdb.base/hbreak-unmapped.exp: Return if
5647 is_address_zero_readable returns true.
5648 * gdb.base/signest.exp: Likewise.
5649 * gdb.base/signull.exp: Likewise.
5650 * gdb.base/sigbpt.exp: Likewise.
5651 * gdb.guile/scm-disasm.exp: Do the test if
5652 is_address_zero_readable returns false.
5653 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5654 * gdb.python/py-arch.exp: Likewise.
5655 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5656 * lib/gdb.exp (is_address_zero_readable): New proc.
5657
5658 2014-08-09 Yao Qi <yao@codesourcery.com>
5659
5660 PR testsuite/13443
5661 * gdb.mi/mi-var-display.exp: Make test messages unique.
5662
5663 2014-08-04 Tom Tromey <tromey@redhat.com>
5664
5665 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5666 target 0".
5667
5668 2014-08-04 Tom Tromey <tromey@redhat.com>
5669
5670 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5671 "target_resume".
5672
5673 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5674
5675 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5676 inner_vla_struct_object_size.
5677 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5678 as xfail.
5679
5680 2014-07-30 Pedro Alves <palves@redhat.com>
5681
5682 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5683 comment.
5684
5685 2014-07-29 Yao Qi <yao@codesourcery.com>
5686
5687 PR gdb/17206
5688 * gdb.base/until-nodebug.exp: New.
5689
5690 2014-07-28 Doug Evans <xdje42@gmail.com>
5691
5692 PR guile/17203
5693 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5694 previously existing parameter, and previously ambiguously spelled
5695 parameter.
5696
5697 2014-07-28 Will Newton <will.newton@linaro.org>
5698
5699 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5700
5701 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5702 Doug Evans <xdje42@gmail.com>
5703
5704 PR guile/17146
5705 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5706
5707 2014-07-25 Pedro Alves <palves@redhat.com>
5708
5709 * gdb.threads/signal-command-handle-nopass.c: New file.
5710 * gdb.threads/signal-command-handle-nopass.exp: New file.
5711 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5712 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5713 * gdb.threads/signal-delivered-right-thread.c: New file.
5714 * gdb.threads/signal-delivered-right-thread.exp: New file.
5715
5716 2014-07-25 Pedro Alves <palves@redhat.com>
5717
5718 * gdb.base/double-prompt-target-event-error.exp
5719 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5720 match.
5721 (cancel_pagination_in_target_event): Rework double prompt
5722 detection.
5723 * gdb.base/paginate-after-ctrl-c-running.exp
5724 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5725 <return>' match.
5726 * gdb.base/paginate-bg-execution.exp
5727 (test_bg_execution_pagination_return)
5728 (test_bg_execution_pagination_cancel): Remove '-notransfer
5729 <return>' matches.
5730 * gdb.base/paginate-execution-startup.exp
5731 (test_fg_execution_pagination_return)
5732 (test_fg_execution_pagination_cancel): Remove '-notransfer
5733 <return>' matches.
5734 * gdb.base/paginate-inferior-exit.exp
5735 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5736 match.
5737 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5738 * lib/gdb.exp (pagination_prompt): Run text through
5739 string_to_regexp.
5740 (gdb_test_multiple): Match $pagination_prompt instead of
5741 "<return>".
5742 (string_to_regexp): Move to lib/gdb-utils.exp.
5743
5744 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5745
5746 * gdb.arch/amd64-entry-value-paramref.S: New file.
5747 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5748 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5749 * gdb.arch/amd64-optimout-repeat.S: New file.
5750 * gdb.arch/amd64-optimout-repeat.c: New file.
5751 * gdb.arch/amd64-optimout-repeat.exp: New file.
5752
5753 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5754
5755 PR gdb/17170
5756 * gdb.base/statistics.exp: New file.
5757
5758 2014-07-17 Doug Evans <dje@google.com>
5759
5760 PR gdb/17170
5761 * gdb.base/maint.exp: Update testing of per-command stats.
5762
5763 2014-07-16 Pedro Alves <palves@redhat.com>
5764
5765 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5766 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5767 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5768 (tfile_write_buf): New functions.
5769 (add_memory_block): Rewrite using the above.
5770 (adjust_function_address): New function.
5771 (FUNCTION_ADDRESS): New macro.
5772 (write_basic_trace_file): Remove short_x local, and use
5773 tfile_write_16. Change type of func_addr local to unsigned long
5774 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5775 here. Cast argument of add_memory_block to char pointer.
5776 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5777 (main): Remove parameters.
5778 * gdb.trace/tfile.exp: Remove nowarnings.
5779
5780 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5781
5782 * gdb.base/debug-expr.exp: Test string evaluation with
5783 "debug expression" on.
5784
5785 2014-07-15 Pedro Alves <palves@redhat.com>
5786
5787 * gdb.base/reread.exp: Use clean_restart.
5788
5789 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5790
5791 * gdb.arch/avr-flash-qualifer.c: New.
5792 * gdb.arch/avr-flash-qualifer.exp: New.
5793
5794 2014-07-14 Pedro Alves <palves@redhat.com>
5795
5796 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5797 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5798
5799 2014-07-14 Pedro Alves <palves@redhat.com>
5800
5801 * gdb.base/double-prompt-target-event-error.c: New file.
5802 * gdb.base/double-prompt-target-event-error.exp: New file.
5803
5804 2014-07-14 Pedro Alves <palves@redhat.com>
5805
5806 PR gdb/17072
5807 * gdb.base/paginate-inferior-exit.c: New file.
5808 * gdb.base/paginate-inferior-exit.exp: New file.
5809
5810 2014-07-14 Pedro Alves <palves@redhat.com>
5811
5812 PR gdb/17072
5813 * gdb.base/paginate-bg-execution.c: New file.
5814 * gdb.base/paginate-bg-execution.exp: New file.
5815
5816 2014-07-14 Pedro Alves <palves@redhat.com>
5817
5818 PR gdb/17072
5819 * gdb.base/paginate-execution-startup.c: New file.
5820 * gdb.base/paginate-execution-startup.exp: New file.
5821 * lib/gdb.exp (pagination_prompt): New global.
5822 (default_gdb_spawn): New procedure, factored out from
5823 default_gdb_spawn.
5824 (default_gdb_start): Adjust to call default_gdb_spawn.
5825 (gdb_spawn): New procedure.
5826
5827 2014-07-14 Pedro Alves <palves@redhat.com>
5828
5829 * lib/gdb.exp (gdb_assert): New procedure.
5830 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5831
5832 2014-07-14 Pedro Alves <palves@redhat.com>
5833
5834 * gdb.base/execution-termios.c: New file.
5835 * gdb.base/execution-termios.exp: New file.
5836
5837 2014-07-14 Tom Tromey <tromey@redhat.com>
5838
5839 * gdb.cp/vla-cxx.cc: New file.
5840 * gdb.cp/vla-cxx.exp: New file.
5841
5842 2014-07-14 Tom Tromey <tromey@redhat.com>
5843
5844 * gdb.reverse/rerun-prec.c: New file.
5845 * gdb.reverse/rerun-prec.exp: New file.
5846
5847 2014-07-12 Maciej W. Rozycki <macro@mips.com>
5848 Maciej W. Rozycki <macro@codesourcery.com>
5849
5850 * lib/gdb-utils.exp: New file.
5851 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5852 inline `gdb_init_command' processing.
5853 (gdb_start_cmd): Likewise.
5854 * lib/mi-support.exp (mi_run_cmd): Likewise.
5855 * README: Document `gdb_init_command' and `gdb_init_commands'.
5856
5857 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5858
5859 Fix false FAIL running under a very long directory name.
5860 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5861 and "set print elements 10000". Twice.
5862
5863 2014-07-11 Yao Qi <yao@codesourcery.com>
5864
5865 * gdb.base/exprs.exp: "set print symbol off".
5866
5867 2014-07-11 Pedro Alves <palves@redhat.com>
5868
5869 * gdb.threads/kill.c: New file.
5870 * gdb.threads/kill.exp: New file.
5871
5872 2014-07-10 Yao Qi <yao@codesourcery.com>
5873
5874 * gdb.trace/tfile.c (write_basic_trace_file)
5875 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5876 address written to trace file.
5877
5878 2014-07-09 Pedro Alves <palves@redhat.com>
5879
5880 * gdb.base/attach-wait-input.exp: New file.
5881 * gdb.base/attach-wait-input.c: New file.
5882
5883 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5884
5885 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5886 setting up test structures.
5887 (main): Call new test function.
5888 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5889 test function, continue into test function and walk test
5890 structures.
5891
5892 2014-07-02 Yao Qi <yao@codesourcery.com>
5893
5894 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5895 'bar_start' at the beginning of functions 'foo' and 'bar'
5896 respectively.
5897 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5898 instead of 'foo' and 'bar'.
5899
5900 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5901
5902 * gdb.btrace/segv.exp: New.
5903 * gdb.btrace/segv.c: New.
5904
5905 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
5906
5907 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5908 instruction.
5909
5910 2014-06-30 Mark Wielaard <mjw@redhat.com>
5911
5912 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5913 vulture, vilify, villar): New volatile array constants.
5914 (vindictive, vegetation): New const volatile array constants.
5915 * gdb.base/volatile.exp: Test volatile and const volatile array
5916 types.
5917
5918 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5919
5920 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5921 target lacks support for awatch, rwatch, or hbreak.
5922
5923 2014-06-27 Yao Qi <yao@codesourcery.com>
5924
5925 * gdb.multi/dummy-frame-restore.exp: New.
5926 * gdb.multi/dummy-frame-restore.c: New.
5927
5928 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5929
5930 * gdb.btrace/gcore.exp: New.
5931
5932 2014-06-23 Pedro Alves <palves@redhat.com>
5933
5934 * gdb.base/watchpoint-reuse-slot.c: New file.
5935 * gdb.base/watchpoint-reuse-slot.exp: New file.
5936
5937 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5938
5939 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5940 progspace's filename in 'info', 'enable' and 'disable' command
5941 tests.
5942
5943 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5944
5945 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5946 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5947 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5948
5949 2014-06-20 Gary Benson <gbenson@redhat.com>
5950
5951 * gdb.arch/i386-avx.exp: Fix include file location.
5952 * gdb.arch/i386-sse.exp: Likewise.
5953
5954 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5955
5956 * gdb.dlang/expression.exp: New file.
5957
5958 2014-06-19 Pedro Alves <palves@redhat.com>
5959
5960 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5961 out from ...
5962 (top level): ... here. Iterate running tests under different
5963 scheduler-locking settings.
5964
5965 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
5966
5967 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5968 to DW_FORM_addr and use non-zero addresses.
5969
5970 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5971
5972 PR gdb/17017
5973 * gdb.python/py-xmethods.cc: Add global function call counters and
5974 increment them in their respective functions. Remove "cout"
5975 statements.
5976 * gdb.python/py-xmethods.exp: Make tests check the global function
5977 call counters instead of depending on inferior IO.
5978
5979 2014-06-18 Don Breazeal <donb@codesourcery.com>
5980
5981 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5982 Deleted procedure.
5983 (explicit_fork_parent_follow): Deleted procedure.
5984 (explicit_fork_child_follow): Deleted procedure.
5985 (test_follow_fork): New procedure.
5986 (do_fork_tests): Replace calls to deleted procedures with
5987 calls to test_follow_fork and reset GDB for subsequent
5988 procedure calls.
5989
5990 2014-06-17 Yao Qi <yao@codesourcery.com>
5991
5992 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5993 CP1252.
5994
5995 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
5996
5997 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5998 Initialize ptr and S explicitly.
5999 (skip_type_update_when_not_use_rtti_test): Likewise.
6000
6001 2014-06-16 Keith Seitz <keiths@redhat.com>
6002
6003 PR mi/15863
6004 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6005 the inferior is started.
6006
6007 2014-06-16 Pedro Alves <palves@redhat.com>
6008
6009 * gdb.base/break-main-file-remove-fail.c: New file.
6010 * gdb.base/break-main-file-remove-fail.exp: New file.
6011 * gdb.base/break-unload-file.exp: Use build_executable instead of
6012 prepare_for_testing.
6013 (test_break): New parameter "initial_load". Handle it.
6014 (top level): Add initial_load cmdline/file axis.
6015
6016 2014-06-12 Tom Tromey <tromey@redhat.com>
6017
6018 * gdb.base/completion.exp: Don't use directory name in test.
6019
6020 2014-06-09 Gary Benson <gbenson@redhat.com>
6021
6022 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6023 separate the always-available ANSI-standard signals from the
6024 signals that require checking.
6025 (main): Likewise.
6026 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6027 Likewise.
6028 (main): Likewise.
6029
6030 2014-06-07 Keith Seitz <keiths@redhat.com>
6031
6032 Revert:
6033 PR c++/16253
6034 * gdb.cp/var-tag.cc: New file.
6035 * gdb.cp/var-tag.exp: New file.
6036 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6037 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6038 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6039 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6040
6041 2014-06-06 Doug Evans <xdje42@gmail.com>
6042
6043 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6044
6045 2014-06-06 Pedro Alves <palves@redhat.com>
6046
6047 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6048 in target debug output instead of looking at RSP packets,
6049 disabling the test on any target that uses hardware stepping.
6050 Update comments.
6051
6052 2014-06-06 Pedro Alves <palves@redhat.com>
6053
6054 * gdb.base/break-unload-file.exp: Fix typo.
6055
6056 2014-06-06 Yao Qi <yao@codesourcery.com>
6057
6058 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6059 from "jit_function" to "^jit_function".
6060
6061 2014-06-06 Yao Qi <yao@codesourcery.com>
6062
6063 * gdb.base/async.c (foo): Add one statement.
6064 * gdb.base/async.exp: Get the next instruction address and
6065 match the output of "nexti" by instruction address. Match
6066 the hex address in the output of "finish".
6067
6068 2014-06-06 Gary Benson <gbenson@redhat.com>
6069
6070 * gdb.base/call-signals.c: Remove preprocessor conditionals
6071 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6072 SIGSEGV and SIGTERM.
6073 * gdb.base/sigall.c: Likewise.
6074 * gdb.base/unwindonsignal.c: Likewise.
6075 * gdb.reverse/sigall-reverse.c: Likewise.
6076
6077 2014-06-06 Yao Qi <yao@codesourcery.com>
6078
6079 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6080 readable, skip the test.
6081
6082 2014-06-06 Yao Qi <yao@codesourcery.com>
6083
6084 * gdb.threads/staticthreads.c (thread_function): Move the line
6085 setting breakpoint on forward.
6086 * gdb.threads/staticthreads.exp: Update comments.
6087
6088 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6089
6090 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6091 "history-append! type error".
6092
6093 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6094
6095 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6096 erroneous dprintf expected input.
6097
6098 2014-06-04 Doug Evans <xdje42@gmail.com>
6099
6100 * gdb.guile/scm-generics.exp: Delete.
6101
6102 2014-06-04 Doug Evans <xdje42@gmail.com>
6103
6104 * gdb.guile/scm-breakpoint.exp: Update.
6105 Add tests for breakpoint registration.
6106
6107 2014-06-04 Tom Tromey <tromey@redhat.com>
6108
6109 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6110 VLA-in-union.
6111 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6112 inner_vla_struct, vla_union types. Initialize objects of those
6113 types and compute their sizes.
6114
6115 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6116 Hui Zhu <hui@codesourcery.com>
6117
6118 * gdb.base/fileio.exp: Add test for shell not available as well as
6119 available.
6120 * gdb.base/fileio.c (test_system): Check for shell twice.
6121
6122 2014-06-04 Yao Qi <yao@codesourcery.com>
6123
6124 * gdb.base/auto-connect-native-target.exp: Remove redundant
6125 space from the regexp pattern.
6126
6127 2014-06-04 Yao Qi <yao@codesourcery.com>
6128
6129 * gdb.base/default.exp: Replace "child" with "native" in
6130 regexp pattern.
6131
6132 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6133
6134 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6135 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6136 * gdb.python/py-xmethods.py: Python script supporting the
6137 new testcase and tests.
6138
6139 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6140 Pedro Alves <palves@redhat.com>
6141
6142 PR breakpoints/17000
6143 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6144 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6145
6146 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6147
6148 * gdb.base/subst.exp: Add tests to verify partial path matching
6149 output.
6150
6151 2014-06-03 Pedro Alves <palves@redhat.com>
6152
6153 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6154 target that doesn't use software single-stepping.
6155
6156 2014-06-03 Pedro Alves <palves@redhat.com>
6157
6158 PR breakpoints/17000
6159 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6160 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6161
6162 2014-06-02 Doug Evans <xdje42@gmail.com>
6163
6164 * gdb.guile/scm-parameter.exp: New file.
6165
6166 2014-06-02 Doug Evans <xdje42@gmail.com>
6167
6168 * gdb.guile/scm-cmd.c: New file.
6169 * gdb.guile/scm-cmd.exp: New file.
6170
6171 2014-06-02 Doug Evans <xdje42@gmail.com>
6172
6173 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6174 pretty-printer lookup.
6175 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6176 (make-pp_s-printer): Call it.
6177 (make-pretty-printer-from-dict): New function.
6178 (lookup-pretty-printer-maker-from-dict): New function.
6179 (*pretty-printer*): Simplify.
6180 (make-objfile-pp_s-printer): New function.
6181 (install-objfile-pretty-printers!): New function.
6182 (make-progspace-pp_s-printer): New function.
6183 (install-progspace-pretty-printers!): New function.
6184 * gdb.guile/scm-progspace.c: New file.
6185 * gdb.guile/scm-progspace.exp: New file.
6186
6187 2014-06-02 Pedro Alves <palves@redhat.com>
6188
6189 * gdb.base/dprintf-bp-same-addr.c: New file.
6190 * gdb.base/dprintf-bp-same-addr.exp: New file.
6191
6192 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6193
6194 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6195 * gdb.arch/powerpc-power.s: Likewise.
6196
6197 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6198
6199 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6200
6201 2014-06-01 Yao Qi <yao@codesourcery.com>
6202
6203 * gdb.base/watchpoint.exp (test_watch_location): Check null
6204 pointer can be dereferenced. If not, do the test, otherwise
6205 skip it.
6206
6207 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6208
6209 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6210 results.
6211 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6212
6213 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6214
6215 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6216 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6217 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6218 * gdb.arch/amd64-invalid-stack-top.c: New file.
6219 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6220
6221 2014-05-30 Pedro Alves <palves@redhat.com>
6222
6223 PR breakpoints/17000
6224 * gdb.base/sss-bp-on-user-bp.c: New file.
6225 * gdb.base/sss-bp-on-user-bp.exp: New file.
6226
6227 2014-05-30 David Blaikie <dblaikie@gmail.com>
6228
6229 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6230 gnu_inline semantics via attribute.
6231 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6232 source explicitly specifies the required semantics.
6233
6234 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6235
6236 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6237
6238 2014-05-29 Pedro Alves <palves@redhat.com>
6239 Tom Tromey <tromey@redhat.com>
6240
6241 * gdb.base/async-shell.exp: Don't enable target-async.
6242 * gdb.base/async.exp
6243 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6244 parameter. Adjust.
6245 (top level): Don't test with "target-async".
6246 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6247 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6248 * gdb.base/inferior-died.exp: Don't enable target-async.
6249 * gdb.base/interrupt-noterm.exp: Likewise.
6250 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6251 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6252 * gdb.mi/mi-nonstop.exp: Likewise.
6253 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6254 * gdb.mi/mi-nsintrall.exp: Likewise.
6255 * gdb.mi/mi-nsmoribund.exp: Likewise.
6256 * gdb.mi/mi-nsthrexec.exp: Likewise.
6257 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6258 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6259 * gdb.python/py-evsignal.exp: Don't enable target-async.
6260 * gdb.python/py-evthreads.exp: Likewise.
6261 * gdb.python/py-prompt.exp: Likewise.
6262 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6263 * gdb.server/solib-list.exp: Don't enable target-async.
6264 * gdb.threads/thread-specific-bp.exp: Likewise.
6265 * lib/mi-support.exp: Adjust to use mi-async.
6266
6267 2014-05-29 Pedro Alves <palves@redhat.com>
6268
6269 PR gdb/13860
6270 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6271 reason, even in sync mode.
6272
6273 2014-05-29 Pedro Alves <palves@redhat.com>
6274 Hui Zhu <hui@codesourcery.com>
6275
6276 PR PR15693
6277 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6278 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6279 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6280 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6281
6282 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6283
6284 * config/monitor.exp (gdb_target_monitor): Replace use of
6285 "set remotebaud" by "set serial baud".
6286
6287 2014-05-26 Andy Wingo <wingo@igalia.com>
6288
6289 * gdb.guile/scm-breakpoint.exp:
6290 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6291 properties instead of gdb-object-properties.
6292
6293 2014-05-26 Yao Qi <yao@codesourcery.com>
6294
6295 * gdb.server/no-thread-db.exp: Specify source file name
6296 explicitly when setting a breakpoint.
6297
6298 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6299
6300 * gdb.btrace/vdso.c: New.
6301 * gdb.btrace/vdso.exp: New.
6302
6303 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6304
6305 * gdb.base/gcore.exp (capture_command_output): Move ...
6306 * lib/gdb.exp (capture_command_output): ... here.
6307
6308 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6309
6310 * gdb.btrace/data.exp: Test memory access during btrace replay.
6311
6312 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6313
6314 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6315
6316 2014-05-21 Pedro Alves <palves@redhat.com>
6317
6318 PR gdb/13860
6319 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6320 (top level): Test that output related to execution commands is
6321 sent to the console with CLI commands, but not with MI commands.
6322 Test that breakpoint events are always mirrored to the console.
6323 Also expect the new source line to be output after a "next" in
6324 async mode too. Make it a pass/fail test.
6325 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6326 output.
6327 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6328
6329 2014-05-21 Pedro Alves <palves@redhat.com>
6330
6331 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6332 Use them to test variations of "list" after reaching a breakpoint.
6333 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6334 Test "list" with listsize 10 after reaching a breakpoint.
6335 * gdb.python/python.exp (decode_line current location line
6336 number): Adjust expected line number.
6337
6338 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6339
6340 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6341 behavior for $args, pass it directly to "run".
6342
6343 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6344
6345 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6346 30000 to 65536.
6347
6348 2014-05-21 Pedro Alves <palves@redhat.com>
6349
6350 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6351 auto-connect-native-target off".
6352 * gdb.base/auto-connect-native-target.c: New file.
6353 * gdb.base/auto-connect-native-target.exp: New file.
6354
6355 2014-05-21 Pedro Alves <palves@redhat.com>
6356
6357 * gdb.base/default.exp: Test "target native" instead of "target
6358 child".
6359
6360 2014-05-21 Mark Wielaard <mjw@redhat.com>
6361
6362 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6363
6364 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6365
6366 Fix TLS access for -static -pthread.
6367 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6368 <HAVE_TLS> (thread_function, main): Initialize it.
6369 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6370 Add clean_restart.
6371 <$have_tls != "">: Check TLSVAR.
6372
6373 2014-05-21 Pedro Alves <palves@redhat.com>
6374
6375 * gdb.base/dcache-line-read-error.c: New.
6376 * gdb.base/dcache-line-read-error.exp: New.
6377
6378 2014-05-20 Pedro Alves <palves@redhat.com>
6379
6380 * gdb.base/compare-sections.c: New file.
6381 * gdb.base/compare-sections.exp: New file.
6382
6383 2014-05-20 Pedro Alves <palves@redhat.com>
6384
6385 * gdb.base/break-idempotent.c: New file.
6386 * gdb.base/break-idempotent.exp: New file.
6387
6388 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6389
6390 * gdb.btrace/nohist.exp: New.
6391
6392 2014-05-20 Yao Qi <yao@codesourcery.com>
6393
6394 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6395 gdb.reverse directory and gdb_reverse_timeout exists in board
6396 setting.
6397 * README: Document gdb_reverse_timeout.
6398
6399 2014-05-20 Yao Qi <yao@codesourcery.com>
6400
6401 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6402 'test_file_name'. Treat args as a string instead of a list.
6403 (gdb_init): Rename argument 'args' by 'test_file_name'.
6404
6405 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6406
6407 * gdb.arch/powerpc-power.exp: New file.
6408 * gdb.arch/powerpc-power.s: New file.
6409
6410 2014-05-16 Doug Evans <dje@google.com>
6411
6412 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6413 * gdb.base/completion.exp: Check that all expected files exist
6414 before doing file completion.
6415
6416 2014-05-16 Doug Evans <dje@google.com>
6417
6418 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6419 Update.
6420 (do_syscall_tests_without_xml): Update.
6421
6422 2014-05-16 Pedro Alves <palves@redhat.com>
6423
6424 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6425 instead of "unknown output after running".
6426
6427 2014-05-16 Yao Qi <yao@codesourcery.com>
6428
6429 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6430 file1.txt from host at the end.
6431 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6432
6433 2014-05-15 Doug Evans <dje@google.com>
6434
6435 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6436 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6437 loading file. Add test for TU lookup.
6438
6439 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6440
6441 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6442 calling "-exec-arguments" or "set args" before running the
6443 inferior.
6444
6445 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6446
6447 * lib/mi-support.exp (mi_expect_stop): Expect message for
6448 inferiors that exit with non-zero exit code.
6449
6450 2014-05-14 Yao Qi <yao@codesourcery.com>
6451
6452 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6453 match absolute path on remote host.
6454 (test_file_list_exec_source_files): Remove "/" from the
6455 pattern.
6456
6457 2014-05-14 Yao Qi <yao@codesourcery.com>
6458
6459 * boards/local-remote-host-notty.exp (${board}_file): New
6460 proc.
6461
6462 2014-05-07 Kyle McMartin <kyle@redhat.com>
6463
6464 Pushed by Joel Brobecker <brobecker@adacore.com>.
6465 * gdb.arch/aarch64-atomic-inst.c: New file.
6466 * gdb.arch/aarch64-atomic-inst.exp: New file.
6467
6468 2014-05-07 Yao Qi <yao@codesourcery.com>
6469
6470 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6471 in current context" too.
6472
6473 2014-05-05 Keith Seitz <keiths@redhat.com>
6474
6475 * gdb.linespec/ls-dollar.exp: Add test for linespec
6476 file:convenience_variable.
6477
6478 2014-05-05 Yao Qi <yao@codesourcery.com>
6479
6480 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6481 traceframes into tfile and ctf trace files. Read data from
6482 trace file and test collected data.
6483 (gdb_collect_locals_test): Likewise.
6484 (gdb_unavailable_registers_test): Likewise.
6485 (gdb_unavailable_floats): Likewise.
6486 (gdb_collect_globals_test): Likewise.
6487 (top-level): Append "ctf" to trace_file_targets if GDB
6488 supports.
6489
6490 2014-05-05 Yao Qi <yao@codesourcery.com>
6491
6492 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6493 code to ...
6494 (gdb_collect_args_test_1): ... it. New proc.
6495 (gdb_collect_locals_test): Move some code to ...
6496 (gdb_collect_locals_test_1): ... it. New proc.
6497 (gdb_unavailable_registers_test): Move some code to ...
6498 (gdb_unavailable_registers_test_1): ... it. New proc.
6499 (gdb_unavailable_floats): Move some code to ...
6500 (gdb_unavailable_floats_1): ... it. New proc.
6501
6502 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6503
6504 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6505 probes to test for bitness recognition.
6506 * gdb.arch/amd64-stap-optional-prefix.exp
6507 (test_probe_value_without_reg): New procedure.
6508 Add code to test for different kinds of bitness.
6509
6510 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6511
6512 PR breakpoints/16889
6513 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6514 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6515
6516 2014-05-01 Pedro Alves <palves@redhat.com>
6517
6518 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6519 gdb_file_cmd if no file is specified.
6520 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6521 last_loaded_file to set the remote exec-file.
6522
6523 2014-05-01 Pedro Alves <palves@redhat.com>
6524
6525 * boards/local-remote-host.exp: New file.
6526
6527 2014-05-01 Pedro Alves <palves@redhat.com>
6528
6529 * boards/local-remote-host.exp: Rename to ...
6530 * boards/local-remote-host-notty.exp: ... this.
6531
6532 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6533
6534 * gdb.ada/dyn_arrayidx: New testcase.
6535
6536 2014-04-26 Yao Qi <yao@codesourcery.com>
6537
6538 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6539 and compute the length of function main. Save it in
6540 $main_length.
6541 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6542 (top-level): Use gdb_compile to compile objects into
6543 executable and restart GDB. Remove invocation to
6544 prepare_for_testing.
6545
6546 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6547 Pedro Alves <palves@redhat.com>
6548
6549 PR server/16255
6550 * gdb.multi/multi-attach.c: New file.
6551 * gdb.multi/multi-attach.exp: New file.
6552
6553 2014-04-25 Pedro Alves <palves@redhat.com>
6554
6555 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6556 user.
6557 (top level): Test that "set remote conditional-breakpoints-packet
6558 off" works as intended.
6559 * gdb.base/dprintf.exp: Test that "set remote
6560 breakpoint-commands-packet off" works as intended.
6561 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6562 New function.
6563 (top level): Call it.
6564 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6565 remote fast-tracepoints-packet off" works as intended.
6566 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6567 * lib/gdb.exp (gdb_is_target_remote): ... here.
6568
6569 2014-04-24 David Blaikie <dblaikie@gmail.com>
6570
6571 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6572 ensure clang would not discard them.
6573 * gdb.base/gdbvars.c: Ditto.
6574 * gdb.base/memattr.c: Ditto.
6575 * gdb.base/whatis.c: Ditto.
6576 * gdb.python/py-prettyprint.c: Ditto.
6577 * gdb.trace/actions.c: Ditto.
6578 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6579 ensure clang would not discard it.
6580
6581 2014-04-24 David Blaikie <dblaikie@gmail.com>
6582
6583 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6584 clang to emit the full definition of type required by the test
6585 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6586
6587 2014-04-24 David Blaikie <dblaikie@gmail.com>
6588
6589 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6590 coax Clang into emitting the definition of the type.
6591 * gdb.cp/pr10728-x.h (y): Ditto.
6592 * gdb.cp/pr10728-y.cc (y): Ditto.
6593
6594 2014-04-24 David Blaikie <dblaikie@gmail.com>
6595
6596 * gdb.base/label.exp: XFAIL label related tests under Clang.
6597 * gdb.cp/cplabel.exp: Ditto.
6598 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6599 under Clang those using labels.
6600
6601 2014-04-25 Yao Qi <yao@codesourcery.com>
6602
6603 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6604 double_label.
6605 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6606 partial_label and double_label.
6607
6608 2014-04-24 David Blaikie <dblaikie@gmail.com>
6609
6610 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6611
6612 2014-04-24 David Blaikie <dblaikie@gmail.com>
6613
6614 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6615 of the function to work across GCC and Clang.
6616 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6617 pointer types (const void ** const V void **).
6618
6619 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6620 Walfred Tedeschi <walfred.tedeschi@intel.com>
6621
6622 * Makefile.in (EXECUTABLES): Added i386-avx512.
6623 * gdb.arch/i386-avx512.c: New file.
6624 * gdb.arch/i386-avx512.exp: Likewise.
6625
6626 2014-04-23 Keith Seitz <keiths@redhat.com>
6627
6628 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6629 (mi_make_breakpoint_table): New procedure.
6630 (mi_create_breakpoint): Use mi_make_breakpoint
6631 and return the result.
6632 (mi_make_breakpoint): New procedure.
6633 (mi_build_kv_pairs): New procedure.
6634
6635 * gdb.mi/mi-break.exp: Remove unused globals,
6636 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6637 All callers updated.
6638 * gdb.mi/mi-dprintf.exp: Use variable to track command
6639 number.
6640 Update all callers of mi_create_breakpoint and use
6641 mi_make_breakpoint_table.
6642 Remove any unused global variables.
6643 * gdb.mi/mi-nonstop.exp: Likewise.
6644 * gdb.mi/mi-nsintrall.exp: Likewise.
6645 * gdb.mi/mi-nsmoribund.exp: Likewise.
6646 * gdb.mi/mi-nsthrexec.exp: Likewise.
6647 * gdb.mi/mi-reverse.exp: Likewise.
6648 * gdb.mi/mi-simplerun.exp: Likewise.
6649 * gdb.mi/mi-stepn.exp: Likewise.
6650 * gdb.mi/mi-syn-frame.exp: Likewise.
6651 * gdb.mi/mi-until.exp: Likewise.
6652 * gdb.mi/mi-var-cp.exp: Likewise.
6653 * gdb.mi/mi-var-display.exp: Likewise.
6654 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6655 * gdb.mi/mi2-var-child.exp: Likewise.
6656 * gdb.mi/mi-vla-c99.exp: Likewise.
6657 * lib/mi-support.exp: Likewise.
6658
6659 From Ian Lance Taylor <iant@cygnus.com>:
6660 * lib/gdb.exp (parse_args): New procedure.
6661
6662 2014-04-23 Pedro Alves <palves@redhat.com>
6663
6664 * gdb.base/break-unload-file.c: New file.
6665 * gdb.base/break-unload-file.exp: New file.
6666 * gdb.base/sym-file-lib.c (baz): New function.
6667 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6668 field.
6669 (load): Store the segment's mapped size.
6670 (unload): New function.
6671 (unload_shlib): New function.
6672 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6673 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6674 set a breakpoint at baz, and call it.
6675 * gdb.base/sym-file.exp: New tests for stale breakpoint
6676 instructions.
6677
6678 2014-04-23 Pedro Alves <palves@redhat.com>
6679
6680 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6681 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6682 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6683 * gdb.base/hbreak-unmapped.c: New file.
6684 * gdb.base/hbreak-unmapped.exp: New file.
6685 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6686 * lib/gdb.exp (gdb_is_target_remote): ... here.
6687
6688 2014-04-22 Pedro Alves <palves@redhat.com>
6689
6690 * gdb.base/consecutive-step-over.c: New file.
6691 * gdb.base/consecutive-step-over.exp: New file.
6692
6693 2014-04-22 Pedro Alves <palves@redhat.com>
6694
6695 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6696 instead of send_gdb/gdb_expect.
6697
6698 2014-04-22 Yao Qi <yao@codesourcery.com>
6699
6700 * lib/trace-support.exp (generate_tracefile): New procedure.
6701 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6702 return 0.
6703 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6704 if generate_tracefile returns 1.
6705
6706 2014-04-18 Tom Tromey <palves@redhat.com>
6707 Pedro alves <tromey@redhat.com>
6708
6709 PR backtrace/15558
6710 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6711 with a backtrace limit.
6712 * gdb.python/py-frame-inline.exp: Test running to an inline
6713 function with a backtrace limit, and printing the newest frame.
6714 * gdb.python/py-frame-inline.c (main): Call f.
6715
6716 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6717
6718 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6719
6720 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6721
6722 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6723 Drop prefix from unsupported source file path.
6724
6725 2014-04-17 Yao Qi <yao@codesourcery.com>
6726
6727 * lib/gdb.exp (with_target_charset): New proc.
6728 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6729 with_target_charset.
6730 (test_print_strings): Likewise.
6731 (test_repeat_bytes): Likewise.
6732 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6733 for some tests.
6734
6735 2014-04-16 Keith Seitz <keiths@redhat.com>
6736
6737 PR gdb/15827
6738 * gdb.dwarf2/corrupt.c: New file.
6739 * gdb.dwarf2/corrupt.exp: New file.
6740
6741 2014-04-16 Keith Seitz <keiths@redhat.com>
6742
6743 PR c++/16597
6744 * gdb.cp/namelessclass.cc: New file.
6745 * gdb.cp/namelessclass.exp: New file.
6746 * gdb.cp/namelessclass.S: New file.
6747
6748 2014-04-16 Doug Evans <dje@google.com>
6749
6750 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6751 Add comment.
6752 (gdbserver_default_get_comm_port): New function.
6753 (gdbserver_start): Check if board file provided
6754 "gdbserver,get_comm_port" and use it if so.
6755 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6756 (gdb,socketport): Set to "stdio".
6757 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6758 (stdio_gdbserver_template): Delete.
6759 (${board}_get_remote_address): Update.
6760 (${board}_build_remote_cmd): Delete.
6761 (${board}_get_comm_port): New function.
6762 (${board}_spawn): Update.
6763 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6764 Delete.
6765 (${board}_get_remote_address): Update.
6766 (${board}_get_comm_port): New function.
6767
6768 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6769
6770 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6771 appearing in any order.
6772
6773 2014-04-15 Doug Evans <dje@google.com>
6774
6775 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6776 uninitialized value of "description".
6777
6778 2014-04-15 Keith Seitz <keiths@redhat.com>
6779
6780 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6781 Remove unused globals.
6782 (test_running_the_program): Likewise.
6783 (test_controlled_execution): Likewise.
6784 (test_controlling_breakpoints): Likewise.
6785 (test_program_termination): Likewise.
6786
6787 2014-04-15 Keith Seitz <keiths@redhat.com>
6788
6789 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6790 unused globals.
6791 (test_rbreak_creation_and_listing): Likewise.
6792 (test_ignore_count): Likewise.
6793 (test_error): Likewise.
6794
6795 2014-04-15 Pedro Alves <palves@redhat.com>
6796
6797 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6798 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6799 sym-file-loader.c.
6800 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6801 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6802 to sym-file-loader.c.
6803 (struct library): Forward declare.
6804 (load_shlib, lookup_function): Change prototypes.
6805 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6806 (translate_offset): Remove declarations.
6807 (get_text_addr): New declaration.
6808 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6809 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6810 sym-file-loader.h.
6811 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6812 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6813 here from sym-file-loader.h.
6814 (struct library): New structure.
6815 (load_shlib, lookup_function): Change prototypes and adjust to
6816 work with a struct library.
6817 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6818 (translate_offset): Make static.
6819 (get_text_addr): New function.
6820 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6821
6822 2014-04-15 Pedro Alves <palves@redhat.com>
6823
6824 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6825
6826 2014-04-15 Pedro Alves <palves@redhat.com>
6827
6828 * gdb.base/sym-file-loader.c: Include <limits.h>.
6829 (SELF_LINK): New define.
6830 (get_origin): New function.
6831 (load_shlib): Use it.
6832 * gdb.base/sym-file.exp: Don't early return if the target is
6833 remote. Use runto_main, and issue fail is that fails. Use
6834 gdb_load_shlibs.
6835 (shlib_name): Delete.
6836 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6837
6838 2014-04-15 Pedro Alves <palves@redhat.com>
6839
6840 * gdb.base/sym-file.exp: Remove regex characters from test
6841 message. Don't refer to breakpoint numbers in test messages.
6842
6843 2014-04-14 Keith Seitz <keiths@redhat.com>
6844
6845 PR c++/16253
6846 * gdb.cp/var-tag.cc: New file.
6847 * gdb.cp/var-tag.exp: New file.
6848 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6849 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6850 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6851 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6852
6853 2014-04-14 Tom Tromey <tromey@redhat.com>
6854
6855 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6856 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6857 type.
6858 * gdb.cp/enum-class.exp: New file.
6859 * gdb.cp/enum-class.cc: New file.
6860
6861 2014-04-14 Tom Tromey <tromey@redhat.com>
6862
6863 * gdb.dwarf2/enum-type.exp: New file.
6864
6865 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6866
6867 * gdb.mi/mi-vla-c99.exp: New file.
6868 * gdb.mi/vla.c: New file.
6869
6870 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6871
6872 * gdb.base/vla-datatypes.c: New file.
6873 * gdb.base/vla-datatypes.exp: New file.
6874
6875 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6876
6877 * gdb.base/vla-ptr.c: New file.
6878 * gdb.base/vla-ptr.exp: New file.
6879
6880 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6881
6882 * gdb.dwarf2/count.exp: New file.
6883
6884 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6885
6886 * gdb.base/vla-sideeffect.c: New file.
6887 * gdb.base/vla-sideeffect.exp: New file.
6888
6889 2014-04-14 David Blaikie <dblaikie@gmail.com>
6890
6891 * gdb.mi/non-stop.c: Add return value for non-void function return
6892 statement.
6893 * gdb.threads/staticthreads.c: Ditto.
6894
6895 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6896 Doug Evans <xdje42@gmail.com>
6897
6898 * gdb.guile/scm-value.c: Improve test case.
6899 * gdb.guile/scm-value.exp: Add new test.
6900
6901 2014-04-11 David Blaikie <dblaikie@gmail.com>
6902
6903 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6904 override Clang's default.
6905
6906 2014-04-11 Joel Brobecker <brobecker@adacore.com>
6907
6908 Revert the following changes (regressions):
6909
6910 * gdb.base/vla-sideeffect.c: New file.
6911 * gdb.base/vla-sideeffect.exp: New file.
6912
6913 * gdb.dwarf2/count.exp: New file.
6914
6915 * gdb.base/vla-multi.c: New file.
6916 * gdb.base/vla-multi.exp: New file.
6917
6918 * gdb.base/vla-ptr.c: New file.
6919 * gdb.base/vla-ptr.exp: New file.
6920
6921 * gdb.base/vla-datatypes.c: New file.
6922 * gdb.base/vla-datatypes.exp: New file.
6923
6924 * gdb.mi/mi-vla-c99.exp: New file.
6925 * gdb.mi/vla.c: New file.
6926
6927 2014-04-11 Keith Seitz <keiths@redhat.com>
6928
6929 PR c++/16675
6930 * gdb.cp/cpsizeof.exp: New file.
6931 * gdb.cp/cpsizeof.cc: New file.
6932
6933 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6934
6935 * gdb.mi/mi-vla-c99.exp: New file.
6936 * gdb.mi/vla.c: New file.
6937
6938 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6939
6940 * gdb.base/vla-datatypes.c: New file.
6941 * gdb.base/vla-datatypes.exp: New file.
6942
6943 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6944
6945 * gdb.base/vla-ptr.c: New file.
6946 * gdb.base/vla-ptr.exp: New file.
6947
6948 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6949
6950 * gdb.base/vla-multi.c: New file.
6951 * gdb.base/vla-multi.exp: New file.
6952
6953 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6954
6955 * gdb.dwarf2/count.exp: New file.
6956
6957 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6958
6959 * gdb.base/vla-sideeffect.c: New file.
6960 * gdb.base/vla-sideeffect.exp: New file.
6961
6962 2014-04-11 Yao Qi <yao@codesourcery.com>
6963
6964 * gdb.base/completion.exp: Check file exists before running tests
6965 on file completion.
6966
6967 2014-04-10 Pedro Alves <palves@redhat.com>
6968
6969 * gdb.base/cond-eval-mode.c: New file.
6970 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6971 prepare_for_testing to build the new file. Check result of
6972 runto_main.
6973 (test_break, test_watch): New procedures.
6974 (top level): Use them.
6975
6976 2014-04-08 Pierre Muller <muller@sourceware.org>
6977
6978 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6979 Ctrl-V use for mingw hosts.
6980
6981 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6982
6983 * gdb.python/py-value.c: Improve test case.
6984 * gdb.python/py-value.exp: Add new test.
6985
6986 2014-04-07 David Blaikie <dblaikie@gmail.com>
6987
6988 * lib/compiler.c: Identify the clang compiler.
6989 * lib/compiler.cc: Ditto.
6990
6991 2014-04-03 Yao Qi <yao@codesourcery.com>
6992
6993 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6994
6995 2014-04-01 Anton Blanchard <anton@samba.org>
6996
6997 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6998 messages unique.
6999
7000 2014-04-01 Anton Blanchard <anton@samba.org>
7001
7002 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7003 prepare_for_testing.
7004
7005 2014-04-01 Anton Blanchard <anton@samba.org>
7006
7007 * gdb.arch/ppc64-atomic-inst.c: Remove.
7008 * gdb.arch/ppc64-atomic-inst.S: New file.
7009 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7010
7011 2014-03-31 Doug Evans <dje@google.com>
7012
7013 * gdb.base/print-symbol-loading-lib.c: New file.
7014 * gdb.base/print-symbol-loading-main.c: New file.
7015 * gdb.base/print-symbol-loading.exp: New file.
7016
7017 2014-03-31 Yao Qi <yao@codesourcery.com>
7018
7019 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7020
7021 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7022
7023 * gdb.ada/mi_dyn_arr: New testcase.
7024
7025 2014-03-27 Doug Evans <dje@google.com>
7026
7027 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7028
7029 2014-03-27 Yao Qi <yao@codesourcery.com>
7030
7031 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7032 if target is nios2-*-*.
7033
7034 2014-03-26 Yao Qi <yao@codesourcery.com>
7035
7036 * lib/gdb.exp (readline_is_used): New proc.
7037 * gdb.base/completion.exp: Move tests on command complete up.
7038 Skip the rest of tests if readline is not used.
7039 * gdb.ada/complete.exp: Skp the test if readline is not
7040 used.
7041 * gdb.base/filesym.exp: Likewise.
7042 * gdb.base/macscp.exp: Likewise.
7043 * gdb.base/readline-ask.exp: Likewise.
7044 * gdb.base/readline.exp: Likewise.
7045 * gdb.python/py-cmd.exp: Likewise.
7046 * gdb.trace/tfile.exp: Likewise.
7047
7048 2014-03-26 Yao Qi <yao@codesourcery.com>
7049
7050 * gdb.base/macscp.exp: Fix code format issues.
7051
7052 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7053
7054 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7055 * gdb.asm/powerpc64le.inc: New file.
7056
7057 2014-03-25 Pedro Alves <palves@redhat.com>
7058 Doug Evans <dje@google.com>
7059
7060 * gdb.base/source-execution.c: New file.
7061 * gdb.base/source-execution.exp: New file.
7062 * gdb.base/source-execution.gdb: New file.
7063
7064 2014-03-24 Doug Evans <dje@google.com>
7065
7066 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7067 using fission.
7068
7069 2014-03-24 Hui Zhu <hui@codesourcery.com>
7070 Pedro Alves <palves@redhat.com>
7071
7072 PR breakpoints/16101
7073 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7074 test pass/fail messages. Detect missing support for dprintf when
7075 breakpoints are actually inserted.
7076 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7077 breakpoints are actually inserted.
7078 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7079 fails.
7080
7081 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7082
7083 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7084
7085 2014-03-22 Doug Evans <xdje42@gmail.com>
7086
7087 * gdb.python/python.exp (python not supported): Verify multi-line
7088 python command issues an error.
7089 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7090 guile command issues an error.
7091
7092 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7093
7094 * gdb.threads/thread-specific.exp: Handle the lack of usable
7095 $this_breakpoint and $this_thread.
7096
7097 2014-03-21 Hui Zhu <hui@codesourcery.com>
7098
7099 * gdb.base/attach.exp (do_command_attach_tests): New.
7100
7101 2014-03-20 Tom Tromey <tromey@redhat.com>
7102 Pedro Alves <palves@redhat.com>
7103
7104 PR cli/15718
7105 * gdb.base/condbreak-call-false.c: New file.
7106 * gdb.base/condbreak-call-false.exp: New file.
7107
7108 2014-03-20 Pedro Alves <palves@redhat.com>
7109
7110 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7111 Delete.
7112 (block_signals, unblock_signals): Delete.
7113 (child_function_2, main): Remove references to deleted variable
7114 and functions.
7115
7116 2014-03-20 Pedro Alves <palves@redhat.com>
7117
7118 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7119 Use pthread_kill to signal thread 2.
7120 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7121 Adjust to make the test send itself a signal rather than using the
7122 host's "kill" command.
7123
7124 2014-03-20 Pedro Alves <palves@redhat.com>
7125
7126 * gdb.threads/multiple-step-overs.c: New file.
7127 * gdb.threads/multiple-step-overs.exp: New file.
7128 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7129 Adjust expected infrun debug output.
7130
7131 2014-03-20 Pedro Alves <palves@redhat.com>
7132
7133 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7134 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7135
7136 2014-03-20 Pedro Alves <palves@redhat.com>
7137
7138 PR breakpoints/7143
7139 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7140 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7141 of gdb_test_multiple.
7142 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7143 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7144
7145 2014-03-20 Pedro Alves <palves@redhat.com>
7146
7147 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7148 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7149
7150 2014-03-19 Pedro Alves <palves@redhat.com>
7151
7152 * gdb.base/async.exp: Remove early return.
7153
7154 2014-03-19 Pedro Alves <palves@redhat.com>
7155
7156 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7157
7158 2014-03-19 Pedro Alves <palves@redhat.com>
7159
7160 * gdb.base/async.exp (test_background): Expect \r\n after
7161 "completed." in the fail pattern.
7162
7163 2014-03-19 Pedro Alves <palves@redhat.com>
7164
7165 * gdb.base/async.exp (test_background): New procedure.
7166 Use it for all background execution command tests.
7167
7168 2014-03-19 Pedro Alves <palves@redhat.com>
7169
7170 * gdb.base/async.exp: Use prepare_for_testing.
7171
7172 2014-03-19 Pedro Alves <palves@redhat.com>
7173
7174 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7175 the same line.
7176
7177 2014-03-19 Pedro Alves <palves@redhat.com>
7178
7179 * gdb.base/async.c (main): Add "jump here" and "until here" line
7180 marker comments.
7181 * gdb.base/async.exp (jump_here): New global.
7182 (jump& test): Use it.
7183 (until_here): New global.
7184 (until& test): Use it.
7185
7186 2014-03-19 Pedro Alves <palves@redhat.com>
7187
7188 * gdb.base/async.exp: Don't frob gdb_protocol.
7189
7190 2014-03-18 Doug Evans <xdje42@gmail.com>
7191
7192 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7193 Fix spelling of exec-done-display.
7194
7195 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7196
7197 PR gdb/15358
7198 * gdb.base/gdb-sigterm.c: New file.
7199 * gdb.base/gdb-sigterm.exp: New file.
7200
7201 2014-03-18 Pedro Alves <palves@redhat.com>
7202
7203 PR gdb/13860
7204 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7205 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7206 solib-event.
7207
7208 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7209
7210 * gdb.ada/pckd_arr_ren: New testcase.
7211
7212 2014-03-13 Doug Evans <xdje42@gmail.com>
7213
7214 PR guile/16612
7215 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7216 collect after discarding symbols.
7217
7218 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7219 Doug Evans <xdje42@gmail.com>
7220
7221 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7222 to history survives a gc.
7223
7224 2014-03-13 Pedro Alves <palves@redhat.com>
7225
7226 * gdb.base/default.exp: Don't test "target procfs".
7227
7228 2014-03-13 Pedro Alves <palves@redhat.com>
7229
7230 * gdb.base/default.exp: Update "target child" and "target procfs"
7231 tests to not expect "Unix".
7232
7233 2014-03-12 Tom Tromey <tromey@redhat.com>
7234
7235 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7236 New procs. Add target-async tests.
7237 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7238 Add target-async tests.
7239
7240 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7241
7242 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7243 'func_start' and 'func_end' for the beginning and end of the
7244 function code, respectively.
7245 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7246 'func_end' instead of 'func' and 'main'.
7247
7248 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7249
7250 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7251 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7252 generate the debug info assembler source.
7253
7254 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7255
7256 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7257 * gdb.dwarf2/arr-subrange.exp: Likewise.
7258 * gdb.dwarf2/dwz.exp: Likewise.
7259 * gdb.dwarf2/method-ptr.exp: Likewise.
7260 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7261 * gdb.dwarf2/subrange.exp: Likewise.
7262 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7263 * gdb.dwarf2/implptrpiece.exp: Likewise.
7264 * gdb.dwarf2/nostaticblock.exp: Likewise.
7265
7266 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7267
7268 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7269 directory to absolute path name arguments.
7270
7271 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7272
7273 * gdb.ada/tagged_access: New testcase.
7274
7275 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7276
7277 * gdb.btrace/data.exp: Update expected output.
7278
7279 2014-03-06 Yao Qi <yao@codesourcery.com>
7280
7281 * gdb.trace/pr16508.exp: New file.
7282
7283 2014-03-05 Pedro Alves <palves@redhat.com>
7284
7285 PR gdb/16575
7286 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7287 procedure.
7288 (top level): Adjust to use it. Add tests that exercise breakpoint
7289 interaction with the code-cache.
7290
7291 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7292
7293 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7294 test for 'history-append!'.
7295
7296 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7297
7298 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7299 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7300 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7301 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7302 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7303 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7304
7305 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7306
7307 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7308 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7309 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7310
7311 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7312
7313 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7314
7315 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7316
7317 * gdb.dwarf2/arr-stride.c: New file.
7318 * gdb.dwarf2/arr-stride.exp: New file.
7319
7320 2014-02-26 Pedro Alves <palves@redhat.com>
7321
7322 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7323 that won't ever trigger. Make sure that GDB reports the correct
7324 breakpoint that caused the stop.
7325
7326 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7327
7328 PR gdb/16626
7329 * gdb.base/auto-load-script: New file.
7330 * gdb.base/auto-load.c: New file.
7331 * gdb.base/auto-load.exp: New file.
7332
7333 PR gdb/16626
7334 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7335
7336 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7337
7338 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7339 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7340
7341 2014-02-24 Doug Evans <dje@google.com>
7342
7343 * lib/gdb.exp (run_on_host): Log error output if program fails.
7344
7345 2014-02-21 Pedro Alves <palves@redhat.com>
7346
7347 * gdb.threads/step-after-sr-lock.c: Rename to ...
7348 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7349 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7350 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7351 ... this.
7352
7353 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7354
7355 PR tdep/16397
7356 * gdb.arch/amd64-stap-special-operands.exp: New file.
7357 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7358 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7359 * gdb.arch/amd64-stap-triplet.S: Likewise.
7360 * gdb.arch/amd64-stap-triplet.c: Likewise.
7361
7362 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7363
7364 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7365 in .section pseudo-op.
7366
7367 2014-02-20 lin zuojian <manjian2006@gmail.com>
7368 Joel Brobecker <brobecker@adacore.com>
7369 Doug Evans <xdje42@gmail.com>
7370
7371 PR symtab/16581
7372 * gdb.dwarf2/dw2-icycle.S: New file.
7373 * gdb.dwarf2/dw2-icycle.c: New file.
7374 * gdb.dwarf2/dw2-icycle.exp: New file.
7375
7376 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7377
7378 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7379 operations on gdb.Value objects.
7380 * gdb.python/py-value-cc.exp: Add new test to test operations on
7381 gdb.Value objects.
7382
7383 2014-02-18 Doug Evans <dje@google.com>
7384
7385 * Makefile.in (TESTS): New variable.
7386 (expanded_tests, expanded_tests_or_none): New variables
7387 (check-single): Pass $(expanded_tests_or_none) to runtest.
7388 (check-parallel): Only run tests in $(TESTS) if non-empty.
7389 (check/no-matching-tests-found): New rule.
7390 * README: Document TESTS makefile variable.
7391
7392 2014-02-18 Doug Evans <dje@google.com>
7393
7394 * Makefile.in (check-parallel): rm -rf outputs temp.
7395
7396 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7397
7398 Fix "ERROR: no fileid for" in the testsuite.
7399 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7400
7401 2014-02-12 Doug Evans <dje@google.com>
7402
7403 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7404 (MISCELLANEOUS): New variable.
7405 (clean): rm -rf $(MISCELLANEOUS).
7406 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7407 dwp live in the same directory as symlinks, with each symlink pointed
7408 to a differently named file in a different directory.
7409
7410 2014-02-11 Doug Evans <dje@google.com>
7411
7412 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7413 of Tcl file commands.
7414
7415 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7416
7417 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7418 "kill -SIGUSR1 -1".
7419
7420 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7421
7422 * gdb.ada/tick_length_array_enum_idx: New testcase.
7423
7424 2014-02-10 Doug Evans <xdje42@gmail.com>
7425
7426 * configure.ac (AC_OUTPUT): Add gdb.guile.
7427 * configure: Regenerate.
7428 * lib/gdb-guile.exp: New file.
7429 * lib/gdb.exp (get_target_charset): New function.
7430 * gdb.base/help.exp: Update expected output from "apropos apropos".
7431 * gdb.guile/Makefile.in: New file.
7432 * gdb.guile/guile.exp: New file.
7433 * gdb.guile/scm-arch.c: New file.
7434 * gdb.guile/scm-arch.exp: New file.
7435 * gdb.guile/scm-block.c: New file.
7436 * gdb.guile/scm-block.exp: New file.
7437 * gdb.guile/scm-breakpoint.c: New file.
7438 * gdb.guile/scm-breakpoint.exp: New file.
7439 * gdb.guile/scm-disasm.c: New file.
7440 * gdb.guile/scm-disasm.exp: New file.
7441 * gdb.guile/scm-equal.c: New file.
7442 * gdb.guile/scm-equal.exp: New file.
7443 * gdb.guile/scm-error.exp: New file.
7444 * gdb.guile/scm-error.scm: New file.
7445 * gdb.guile/scm-frame-args.c: New file.
7446 * gdb.guile/scm-frame-args.exp: New file.
7447 * gdb.guile/scm-frame-args.scm: New file.
7448 * gdb.guile/scm-frame-inline.c: New file.
7449 * gdb.guile/scm-frame-inline.exp: New file.
7450 * gdb.guile/scm-frame.c: New file.
7451 * gdb.guile/scm-frame.exp: New file.
7452 * gdb.guile/scm-generics.exp: New file.
7453 * gdb.guile/scm-gsmob.exp: New file.
7454 * gdb.guile/scm-iterator.c: New file.
7455 * gdb.guile/scm-iterator.exp: New file.
7456 * gdb.guile/scm-math.c: New file.
7457 * gdb.guile/scm-math.exp: New file.
7458 * gdb.guile/scm-objfile-script-gdb.in: New file.
7459 * gdb.guile/scm-objfile-script.c: New file.
7460 * gdb.guile/scm-objfile-script.exp: New file.
7461 * gdb.guile/scm-objfile.c: New file.
7462 * gdb.guile/scm-objfile.exp: New file.
7463 * gdb.guile/scm-ports.exp: New file.
7464 * gdb.guile/scm-pretty-print.c: New file.
7465 * gdb.guile/scm-pretty-print.exp: New file.
7466 * gdb.guile/scm-pretty-print.scm: New file.
7467 * gdb.guile/scm-section-script.c: New file.
7468 * gdb.guile/scm-section-script.exp: New file.
7469 * gdb.guile/scm-section-script.scm: New file.
7470 * gdb.guile/scm-symbol.c: New file.
7471 * gdb.guile/scm-symbol.exp: New file.
7472 * gdb.guile/scm-symtab-2.c: New file.
7473 * gdb.guile/scm-symtab.c: New file.
7474 * gdb.guile/scm-symtab.exp: New file.
7475 * gdb.guile/scm-type.c: New file.
7476 * gdb.guile/scm-type.exp: New file.
7477 * gdb.guile/scm-value-cc.cc: New file.
7478 * gdb.guile/scm-value-cc.exp: New file.
7479 * gdb.guile/scm-value.c: New file.
7480 * gdb.guile/scm-value.exp: New file.
7481 * gdb.guile/source2.scm: New file.
7482 * gdb.guile/types-module.cc: New file.
7483 * gdb.guile/types-module.exp: New file.
7484
7485 2014-02-10 Yao Qi <yao@codesourcery.com>
7486
7487 PR testsuite/16543
7488 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7489 * configure: Regenerated.
7490 * Makefile.in: New file.
7491
7492 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7493
7494 * gdb.python/py-framefilter.exp: Fix typo.
7495
7496 2014-02-08 Yao Qi <yao@codesourcery.com>
7497
7498 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7499 that no =breakpoint-modified is emitted when breakpoints are
7500 modified through MI commands.
7501
7502 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7503 Pedro Alves <palves@redhat.com>
7504
7505 * gdb.threads/step-after-sr-lock.c: New file.
7506 * gdb.threads/step-after-sr-lock.exp: New file.
7507
7508 2014-02-07 Pedro Alves <palves@redhat.com>
7509
7510 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7511
7512 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7513
7514 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7515 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7516
7517 2014-02-06 Doug Evans <xdje42@gmail.com>
7518
7519 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7520 output.
7521
7522 * gdb.gdb/python-interrupts.exp: New file.
7523
7524 2014-02-05 Yao Qi <yao@codesourcery.com>
7525
7526 * gdb.trace/report.exp (use_collected_data): Test the output
7527 of "info threads" and "info inferiors".
7528
7529 2014-02-05 Yao Qi <yao@codesourcery.com>
7530
7531 Revert this patch:
7532
7533 2013-05-24 Yao Qi <yao@codesourcery.com>
7534
7535 * gdb.trace/tfile.exp: Test inferior and thread.
7536
7537 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7538
7539 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7540 on a function.
7541 * gdb.base/step-bt.c: Call hello via function pointer to make
7542 sure its first instruction is executed on powerpc64le-linux.
7543
7544 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7545
7546 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7547
7548 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7549
7550 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7551 of the test patterns for use on little-endian systems.
7552
7553 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7554
7555 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7556 (decimal_vector): Fix for little-endian.
7557
7558 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7559
7560 * gdb.arch/sparc-sysstep.exp: New file.
7561 * gdb.arch/sparc-sysstep.c: Likewise.
7562
7563 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7564
7565 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7566
7567 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7568
7569 2014-01-23 Tom Tromey <tromey@redhat.com>
7570
7571 * gdb.ada/array_char_idx: New testcase.
7572
7573 2014-01-23 Tom Tromey <tromey@redhat.com>
7574
7575 PR python/16487:
7576 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7577 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7578 classes.
7579
7580 2014-01-23 Tom Tromey <tromey@redhat.com>
7581
7582 PR python/16491:
7583 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7584 string from an inferior frame.
7585 * gdb.python/py-framefilter-mi.exp: Update.
7586
7587 2014-01-22 Doug Evans <dje@google.com>
7588
7589 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7590
7591 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7592
7593 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7594
7595 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7596
7597 * gdb.trace/entry-values.exp: Remove excess space character from
7598 regex patterns. Handle s390 call instruction.
7599
7600 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7601
7602 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7603 define "*_start" label. Make "name" static.
7604 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7605 ${name} by references to ${name}_start.
7606
7607 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7608
7609 * gdb.base/info-macros.exp: Remove "debug" from the compile
7610 options.
7611
7612 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7613
7614 * gdb.dlang/demangle.exp: New file.
7615
7616 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7617
7618 * gdb.dlang/primitive-types.exp: New file.
7619
7620 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7621
7622 * configure.ac: Create gdb.dlang/Makefile.
7623 * configure: Regenerate.
7624 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7625 * gdb.dlang/Makefile.in: New file.
7626 * lib/d-support.exp: New file.
7627 * lib/gdb.exp (skip_d_tests): New proc.
7628
7629 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7630
7631 * gdb.btrace/delta.exp: Check reverse stepi.
7632 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7633 * gdb.btrace/finish.exp: New.
7634 * gdb.btrace/next.exp: New.
7635 * gdb.btrace/nexti.exp: New.
7636 * gdb.btrace/record_goto.c: Add comments.
7637 * gdb.btrace/step.exp: New.
7638 * gdb.btrace/stepi.exp: New.
7639 * gdb.btrace/multi-thread-step.c: New.
7640 * gdb.btrace/multi-thread-step.exp: New.
7641 * gdb.btrace/rn-dl-bind.c: New.
7642 * gdb.btrace/rn-dl-bind.exp: New.
7643 * gdb.btrace/data.c: New.
7644 * gdb.btrace/data.exp: New.
7645 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7646
7647 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7648
7649 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7650 * gdb.btrace/exception.exp: Update.
7651 * gdb.btrace/instruction_history.exp: Update.
7652 * gdb.btrace/record_goto.exp: Update.
7653 * gdb.btrace/tailcall.exp: Update.
7654 * gdb.btrace/unknown_functions.exp: Update.
7655 * gdb.btrace/delta.exp: New.
7656
7657 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7658
7659 * gdb.btrace/record_goto.exp: Add backtrace test.
7660 * gdb.btrace/tailcall.exp: Add backtrace test.
7661
7662 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7663
7664 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7665 * gdb.btrace/record_goto.c: New.
7666 * gdb.btrace/record_goto.exp: New.
7667 * gdb.btrace/x86-record_goto.S: New.
7668
7669 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7670
7671 * gdb.btrace/function_call_history.exp: Update tests.
7672 * gdb.btrace/instruction_history.exp: Update tests.
7673
7674 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7675
7676 * gdb.btrace/function_call_history.exp: Fix expected field
7677 order for "record function-call-history".
7678 Add new tests for "record function-call-history /c".
7679 * gdb.btrace/exception.cc: New.
7680 * gdb.btrace/exception.exp: New.
7681 * gdb.btrace/tailcall.exp: New.
7682 * gdb.btrace/x86-tailcall.S: New.
7683 * gdb.btrace/x86-tailcall.c: New.
7684 * gdb.btrace/unknown_functions.c: New.
7685 * gdb.btrace/unknown_functions.exp: New.
7686 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7687
7688 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7689
7690 * gdb.btrace/instruction_history.exp: Update.
7691 * gdb.btrace/function_call_history.exp: Update.
7692
7693 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7694
7695 * gdb.btrace/function_call_history.exp: Fix expected function
7696 trace.
7697 * gdb.btrace/instruction_history.exp: Initialize traced.
7698 Remove traced_functions.
7699
7700 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7701
7702 * gdb.btrace/function_call_history.exp: Update
7703 * gdb.btrace/instruction_history.exp: Update.
7704
7705 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7706
7707 * gdb.btrace/enable.exp: Update expected text.
7708
7709 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7710
7711 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7712 bytes.
7713
7714 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7715
7716 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7717
7718 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7719
7720 * lib/gdb.exp (supports_process_record): Return true for
7721 arm*-linux*. (supports_reverse): Likewise.
7722
7723 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7724
7725 PR python/15464
7726 PR python/16113
7727 * gdb.python/py-type.c: Enhance test case.
7728 * gdb.python/py-value-cc.cc: Likewise
7729 * gdb.python/py-type.exp: Add new tests.
7730 * gdb.python/py-value-cc.exp: Likewise
7731
7732 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7733 Pedro Alves <palves@redhat.com>
7734
7735 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7736 Make "name" extern.
7737 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7738 references to ${name}_start by references to ${name}.
7739
7740 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7741
7742 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7743
7744 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7745
7746 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7747
7748 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7749 Pedro Alves <palves@redhat.com>
7750
7751 * gdb.mi/mi-info-os.exp: Connect to the target with
7752 mi_gdb_target_load.
7753
7754 2014-01-08 Pedro Alves <palves@redhat.com>
7755
7756 * gdb.threads/reconnect-signal.c: New file.
7757 * gdb.threads/reconnect-signal.exp: New file.
7758
7759 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7760
7761 * gdb.base/source-dir.exp: New file.
7762
7763 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7764
7765 * gdb.ada/mi_interface: New testcase.
7766
7767 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7768
7769 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7770 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7771 gdb.ada/pp-rec-component/pck.ads: New files.
7772
7773 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7774
7775 * gdb.python/py-pp-integral.c: New file.
7776 * gdb.python/py-pp-integral.py: New file.
7777 * gdb.python/py-pp-integral.exp: New file.
7778
7779 For older changes see ChangeLog-1993-2013.
7780 \f
7781 ;; Local Variables:
7782 ;; mode: change-log
7783 ;; left-margin: 8
7784 ;; fill-column: 74
7785 ;; version-control: never
7786 ;; End:
7787
7788 Copyright 2014-2016 Free Software Foundation, Inc.
7789 Copying and distribution of this file, with or without modification,
7790 are permitted provided the copyright notice and this notice are preserved.