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