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