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