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