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