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