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