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