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