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