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