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