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