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