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