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