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