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