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