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