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