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