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