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