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