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