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