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