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