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