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