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