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