]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Use int instead of LONGEST in tdesc_type sizes.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
aa52b601
DE
12016-03-15 Doug Evans <dje@google.com>
2
3 * gdb.base/skip.c (main): Call test_skip_file_and_function.
4 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
5
fa4ff313
SM
62016-03-14 Simon Marchi <simon.marchi@ericsson.com>
7
8 * gdb.base/default.exp: Add $_as_string to the list of expected
9 convenience functions.
10
f2403c39
AB
112016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
12
13 * gdb.base/maint.exp: New tests for 'maint info line-table'.
14
f2f3ccb9
SM
152016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
16
17 * gdb.python/py-as-string.exp: New file.
18 * gdb.python/py-as-string.c: New file.
19
00dbd492
PA
202016-03-09 Pedro Alves <palves@redhat.com>
21
22 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
23 signal" -> "Thread NN received signal" output change.
24 * gdb.threads/ia64-sigill.exp: Likewise.
25 * gdb.threads/linux-dp.exp: Likewise.
26 * gdb.threads/manythreads.exp: Likewise.
27 * gdb.threads/pending-step.exp: Likewise.
28 * gdb.threads/print-threads.exp: Likewise.
29 * gdb.threads/sigstep-threads.exp: Likewise.
30 * gdb.threads/staticthreads.exp: Likewise.
31 * gdb.threads/tls.exp: Likewise.
32
b04fd3be
MK
332016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
34
35 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
36 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
37 * gdb.trace/pending.exp: Accept leading dot before function name.
38 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
39 * lib/trace-support.exp: Set registers for ppc.
40
98fa59e9
MK
412016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
42
43 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
44 use it for disassembly; accept .main in addition to main in backtrace.
45
f77198c8
MK
462016-03-09 Wei-cheng Wang <cole945@gmail.com>
47 Marcin Kościelnicki <koriakin@0x04.net>
48
49 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
50 (gdb_recursion_test_ptr): New global variable.
51 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
52 gdb_recursion_test.
53 (gdb_c_test): Ditto.
54
ba84e0da
MK
552016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
56
57 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
58 ordering.
59
4366d36e
MK
602016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
61
62 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
63 (bar): Add bar_start_lbl label.
64 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
65 of foo/bar for emitting DWARF and tracing.
66
5eb264df
SDJ
672016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
68
69 * analyze-racy-logs.py: Set executable bit.
70
fb6a751f
SDJ
712016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
72
73 * Makefile.in (DEFAULT_RACY_ITER): New variable.
74 (CHECK_TARGET_TMP): Likewise.
75 (check-single-racy): New rule.
76 (check-parallel-racy): Likewise.
77 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
78 (do-check-parallel-racy): New rule.
79 (check-racy/%.exp): Likewise.
80 * README (Racy testcases): New section.
81 * analyze-racy-logs.py: New file.
82
bdf7e230
DE
832016-03-03 Doug Evans <dje@google.com>
84
85 * gdb.base/skip.exp: Use with_test_prefix.
86
4719d415
YQ
872016-03-03 Yao Qi <yao.qi@linaro.org>
88
89 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
90 Invoke step_over_syscall "clone" and break_cond_on_syscall
91 "clone".
92 * gdb.base/step-over-clone.c: New file.
93
ea507862
YQ
942016-03-03 Yao Qi <yao.qi@linaro.org>
95
96 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
97 code format.
98
8fc8cbda
YQ
992016-03-03 Yao Qi <yao.qi@linaro.org>
100
101 * gdb.base/disp-step-fork.c: Rename to ...
102 * gdb.base/step-over-fork.c: ... it. New file.
103 * gdb.base/disp-step-vfork.c: Rename to ...
104 * gdb.base/step-over-vfork.c: ... it. New file.
105 * gdb.base/disp-step-syscall.exp: Rename to ...
106 * gdb.base/step-over-syscall.exp: ... it. New file.
107 (disp_step_cross_syscall): Rename to ...
108 (step_over_syscall): ... it.
109
92fa70b0
YQ
1102016-03-03 Yao Qi <yao.qi@linaro.org>
111
112 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
113 If target supports condition evaluation on target, invoke
114 break_cond_on_syscall for fork and vfork.
115
e197ad3c
YQ
1162016-03-03 Yao Qi <yao.qi@linaro.org>
117
118 * gdb.base/disp-step-syscall.exp: Don't invoke
119 support_displaced_stepping.
120 (disp_step_cross_syscall): Test with displaced stepping off and
121 on if supported.
122
0b47da9f
YQ
1232016-03-03 Yao Qi <yao.qi@linaro.org>
124
125 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
126 proc.
127 (setup): New proc.
128 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
129 and setup.
130
065ab6dc
BH
1312016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
132
133 * gdb.fortran/vla-history.exp: Remove breakpoint.
134
07e448ad 1352016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
136
137 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
138
9ac2d526 1392016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
140
141 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
142
17807369
BH
1432016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
144
145 * gdb.mi/vla.f90: Nullify pointer after declaration.
146
86e501af
PA
1472016-03-01 Pedro Alves <palves@redhat.com>
148
149 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
150
1e903e32
PA
1512016-03-01 Pedro Alves <palves@redhat.com>
152
153 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
154 before anything else.
155 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
156 _GNU_SOURCE here.
157 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
158 before anything else.
159 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
160
6ccb54e2
PA
1612016-03-01 Pedro Alves <palves@redhat.com>
162
163 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
164
30ca9da1
YQ
1652016-03-01 Yao Qi <yao.qi@linaro.org>
166
167 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
168 prepare_for_testing.
169
dc856b38
YQ
1702016-03-01 Yao Qi <yao.qi@linaro.org>
171
172 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
173
4a932159
AA
1742016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
175
176 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
177 manually constructing the output path.
178
f2489477
AA
1792016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
180
181 * gdb.arch/s390-stackless.S: New.
182 * gdb.arch/s390-stackless.exp: New.
183
38899f16
IB
1842016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
185
186 * gdb.dlang/circular.c: New file.
187 * gdb.dlang/circular.exp: New file.
188
9fde51ed
YQ
1892016-02-26 Yao Qi <yao.qi@linaro.org>
190
191 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
192 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
193 (testcases): Update.
194
ce90fefe
YQ
1952016-02-26 Yao Qi <yao.qi@linaro.org>
196
197 * gdb.reverse/aarch64.c: Rename to ...
198 * gdb.reverse/insn-reverse.c: ... it.
199 * gdb.reverse/aarch64.exp: Rename to ...
200 * gdb.reverse/insn-reverse.exp: ... it.
201
3263bceb
YQ
2022016-02-26 Yao Qi <yao.qi@linaro.org>
203
204 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
205 (testcase_ftype): New.
206 (testcases): New array.
207 (n_testcases): New.
208 (main): Call each element in testcases.
209 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
210 (read_testcase): New.
211 Do the tests in a loop.
212
6cb59ff1
YQ
2132016-02-25 Yao Qi <yao.qi@linaro.org>
214
215 * gdb.base/branches.c: Remove.
216
ae91f625
MK
2172016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
218
219 PR gdb/13808
220 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
221
678b48b7
MK
2222016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
223
224 * gdb.trace/ftrace.exp: Remove unnecessary target check.
225
7337a6f2
MK
2262016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
227
228 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
229 change x86_64 call_insn to 'callq'.
230
861ca91f
AT
2312016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
232
233 * gdb.trace/tfile-avx.c: Move to...
234 * gdb.trace/tracefile-pseudo-reg.c: Here.
235 * gdb.trace/tfile-avx.exp: Move to...
236 * gdb.trace/tracefile-pseudo-reg.exp: Here.
237
bf74e428
GB
2382016-02-24 Gary Benson <gbenson@redhat.com>
239
240 * gdb.base/attach-pie-noexec.exp: Do not expect an error
241 message on attach.
242
cce0e923
DE
2432016-02-23 Doug Evans <dje@google.com>
244
245 * gdb.base/skip.c (test_skip): New function.
246 (end_test_skip_file_and_function): New function.
247 (test_skip_file_and_function): New function.
248 * gdb.base/skip1.c (test_skip): New function.
249 (skip1_test_skip_file_and_function): New function.
250 * gdb.base/skip.exp: Add tests for new skip options.
251 * gdb.base/skip-solib.exp: Update expected output.
252 * gdb.perf/skip-command.cc: New file.
253 * gdb.perf/skip-command.exp: New file.
254 * gdb.perf/skip-command.py: New file.
255
4000e47e
MK
2562016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
257
258 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
259 info registers pattern.
260
24f75ead
IB
2612016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
262
263 * lib/future.exp: Add D support.
264 (gdb_find_gdc): New proc.
265 (gdb_default_target_compile): Add D support.
266
fbb7bcbe
WW
2672016-02-18 Wei-cheng Wang <cole945@gmail.com>
268
269 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
270 user+system time.
271 (trace_speed_test): Determine the iteration count for a time
272 between 15..30 seconds.
273
012b3a21
WT
2742016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
275
276 * gdb.arch/i386-mpx-sigsegv.c: New file.
277 * gdb.arch/i386-mpx-sigsegv.exp: New file.
278 * gdb.arch/i386-mpx-simple_segv.c: New file.
279 * gdb.arch/i386-mpx-simple_segv.exp: New file.
280
2d5189bd
YQ
2812016-02-18 Yao Qi <yao.qi@linaro.org>
282
283 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
284 Don't call setup_kfail.
285
40fb20d0
YQ
2862016-02-18 Yao Qi <yao.qi@linaro.org>
287
288 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
289 Set "set breakpoint condition-evaluation" per $cond_bp_target.
290
21b1f8d2
DE
2912016-02-16 Doug Evans <dje@google.com>
292
293 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
294 * gdb.base/skip1.c: Ditto.
295 * gdb.base/skip.exp: Whitespace cleanup.
296
4041ed77
DB
2972016-02-16 Don Breazeal <donb@codesourcery.com>
298
299 PR remote/19496
300 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
301 Remove kfail for PR remote/19496.
302
c4ef31bf
SM
3032016-02-16 Simon Marchi <simon.marchi@ericsson.com>
304
305 * lib/gdb.exp (standard_temp_file): Return a path specific to
306 the runtest invocation.
307
266b65b3
SM
3082016-02-16 Simon Marchi <simon.marchi@ericsson.com>
309
310 * gdb.trace/save-trace.exp: Change relative path to be in the
311 standard output directory.
312
a7a0a6a9
JK
3132016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
314
315 * gdb.arch/i386-prologue.c: Add missing prototypes.
316
c99dbb42
JK
3172016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
318
319 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
320 * gdb.arch/i386-prologue.exp: Likewise.
321 * gdb.arch/i386-size.exp: Likewise.
322
aa480355
SM
3232016-02-15 Simon Marchi <simon.marchi@ericsson.com>
324
325 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
326 define object file path.
327 * gdb.btrace/gcore.exp: Use standard_output_file to define core
328 file path.
329 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
330 standard_output_file to define binfile.
331
ba881f50
JK
3322016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
333
334 Fix compatibility with recent gfortran-5.3.1.
335 * gdb.fortran/vla-history.exp (print vla1 allocated)
336 (print vla2 allocated, print $2, print $3): Remove
337 (print $4): Rename to ...
338 (print $2): ... here.
339 (print $9): Rename to ...
340 (print $5): ... here.
341 (print $10): Rename to ...
342 (print $6): ... here.
343 * gdb.fortran/vla.f90: Add pvla initialization.
344
e9fb005c
JK
3452016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
346
347 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
348 New test.
349 * gdb.fortran/vla-value-sub.exp: Likewise.
350
e44e00ff
MK
3512016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
352
353 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
354
97e94151
SM
3552016-02-12 Simon Marchi <simon.marchi@ericsson.com>
356
357 * i386-biarch-core.exp: Define corefile using
358 standard_output_file.
359
01113bc1
YQ
3602016-02-12 Yao Qi <yao.qi@linaro.org>
361
362 * gdb.arch/arm-single-step-kernel-helper.c: New.
363 * gdb.arch/arm-single-step-kernel-helper.exp: New.
364
33b4777c
MM
3652016-02-12 Markus Metzger <markus.t.metzger@intel.com>
366
367 * gdb.btrace/tailcall-only.exp: New.
368 * gdb.btrace/tailcall-only.c: New.
369 * gdb.btrace/x86_64-tailcall-only.S: New.
370 * gdb.btrace/i686-tailcall-only.S: New.
371
acc23c11
PA
3722016-02-11 Pedro Alves <palves@redhat.com>
373
374 * README (Parallel testing): Add missing double quotes.
375
e352bf0a
PA
3762016-02-11 Pedro Alves <palves@redhat.com>
377
378 * README (Parallel testing): New section.
379 (GDB_PARALLEL): Rewrite.
380 (FORCE_PARALLEL): Document.
381
9f5fed78
MK
3822016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
383
384 * gdb.trace/tfile-avx.c: New test.
385 * gdb.trace/tfile-avx.exp: New test.
386
9ef9e6a6
KS
3872016-02-09 Keith Seitz <keiths@redhat.com>
388
389 PR breakpoints/19546
390 * gdb.base/infcall-exec.c: New file.
391 * gdb.base/infcall-exec2.c: New file.
392 * gdb.base/infcall-exec.exp: New file.
393
a96e36da
KS
3942016-02-09 Keith Seitz <keiths@redhat.com>
395
396 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
397 (toplevel): Call test_bkpt_address.
398
9f61929f
KS
3992016-02-09 Keith Seitz <keiths@redhat.com>
400
401 PR python/19506
402 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
403 (toplevel): Call test_bkpt_address.
404
1e94266c
SM
4052016-02-09 Simon Marchi <simon.marchi@ericsson.com>
406
407 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
408 to AC_OUTPUT.
409 * configure: Regenerate.
410
2a7f3dff
PA
4112016-02-09 Pedro Alves <palves@redhat.com>
412
413 PR breakpoints/19548
414 * gdb.base/execl-update-breakpoints.c (some_function): New
415 function.
416 (main): Call it.
417 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
418 Tighten expected GDB output.
419
2151ccc5
SM
4202016-02-08 Simon Marchi <simon.marchi@ericsson.com>
421
422 * Makefile.in (ALL_SUBDIRS): Remove.
423 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
424 (distclean maintainer-clean realclean): Likewise.
425 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
426 * configure: Regenerate.
427 * gdb.ada/Makefile.in: Delete.
428 * gdb.arch/Makefile.in: Likewise.
429 * gdb.asm/Makefile.in: Likewise.
430 * gdb.base/Makefile.in: Likewise.
431 * gdb.btrace/Makefile.in: Likewise.
432 * gdb.cell/Makefile.in: Likewise.
433 * gdb.compile/Makefile.in: Likewise.
434 * gdb.cp/Makefile.in: Likewise.
435 * gdb.disasm/Makefile.in: Likewise.
436 * gdb.dlang/Makefile.in: Likewise.
437 * gdb.dwarf2/Makefile.in: Likewise.
438 * gdb.fortran/Makefile.in: Likewise.
439 * gdb.gdb/Makefile.in: Likewise.
440 * gdb.go/Makefile.in: Likewise.
441 * gdb.guile/Makefile.in: Likewise.
442 * gdb.java/Makefile.in: Likewise.
443 * gdb.linespec/Makefile.in: Likewise.
444 * gdb.mi/Makefile.in: Likewise.
445 * gdb.modula2/Makefile.in: Likewise.
446 * gdb.multi/Makefile.in: Likewise.
447 * gdb.objc/Makefile.in: Likewise.
448 * gdb.opencl/Makefile.in: Likewise.
449 * gdb.opt/Makefile.in: Likewise.
450 * gdb.pascal/Makefile.in: Likewise.
451 * gdb.perf/Makefile.in: Likewise.
452 * gdb.python/Makefile.in: Likewise.
453 * gdb.reverse/Makefile.in: Likewise.
454 * gdb.server/Makefile.in: Likewise.
455 * gdb.stabs/Makefile.in: Likewise.
456 * gdb.threads/Makefile.in: Likewise.
457 * gdb.trace/Makefile.in: Likewise.
458 * gdb.xml/Makefile.in: Likewise.
459 * lib/gdb.exp (make_gdb_parallel_path): Add check for
460 GDB_PARALLEL.
461 (standard_output_file): Remove check for GDB_PARALLEL, always
462 return path in outputs/$subdir/$testname.
463
437277d4
SM
4642016-02-08 Simon Marchi <simon.marchi@ericsson.com>
465
466 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
467 (site.exp): Assign abs_srcdir to tcl's srcdir.
468
31d913c7
YQ
4692016-02-04 Yao Qi <yao.qi@linaro.org>
470
471 * gdb.base/foll-exec-mode.c: Include limits.h.
472 (main): Add parameters argc and argv. Get directory from
473 argv[0].
474 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
475 compilation.
476 * gdb.base/foll-exec.c: Include limits.h.
477 (main): Add parameters argc and argv.
478 Get directory from argv[0].
479 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
480 Adjust tests on the number of lines as source code changed.
481 * gdb.base/foll-vfork-exit.c: Include limits.h.
482 (main): Add one line of statement before vfork.
483 * gdb.base/foll-vfork.c: Include limits.h and string.h.
484 (main): Add parameters argc and argv. Get directory from
485 argv[0].
486 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
487 (setup_gdb): Set tbreak to skip some source lines.
488 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
489 (main): Add parameters argc and argv. Get directory from
490 argv[0].
491 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
492 compilation.
493 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
494 (main): Add parameters argc and argv. Get directory from
495 argv[0].
496 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
497 compilation.
498
9482b9fb
DE
4992016-02-01 Doug Evans <dje@google.com>
500
501 * gdb.base/skip.exp: Clean up multiple references to same test name.
502
6b2e4f10
PA
5032016-02-01 Pedro Alves <palves@redhat.com>
504
ccb6afd6 505 PR remote/19496
6b2e4f10
PA
506 * gdb.threads/forking-threads-plus-breakpoint.exp
507 (displaced_stepping_supported): New global.
508 (probe_displaced_stepping_support): New procedure.
509 (do_test): Add 'displaced' parameter, and use it.
510 (top level): Check for displaced stepping support. Add displaced
511 stepping on/off testing axis.
512
37a8db1a
AB
5132016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
514
515 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
516 pointer. Don't perform further tests on the unassociated pointer
517 if the first test fails.
518
5fdf6324
AB
5192016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
520
521 * gdb.base/max-value-size.c: New file.
522 * gdb.base/max-value-size.exp: New file.
523 * gdb.base/huge.exp: Disable max-value-size for this test.
524
935c6144
IB
5252016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
526
527 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
528
7fe8399d
YQ
5292016-01-28 Yao Qi <yao.qi@linaro.org>
530
531 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
532
a2077e25
PA
5332016-01-25 Pedro Alves <palves@redhat.com>
534
535 PR threads/19461
536 * gdb.base/fork-running-state.c: New file.
537 * gdb.base/fork-running-state.exp: New file.
538
1d2736d4
PA
5392016-01-25 Pedro Alves <palves@redhat.com>
540
541 PR gdb/19494
542 * gdb.base/catch-fork-kill.c: New file.
543 * gdb.base/catch-fork-kill.exp: New file.
544
f1da4b11
PA
5452016-01-25 Pedro Alves <palves@redhat.com>
546
547 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
548 Delete, moved to lib/gdb.exp.
549 * gdb.threads/forking-threads-plus-breakpoint.exp
550 (foreach_with_prefix): Likewise.
551 * gdb.threads/process-dies-while-handling-bp.exp
552 (foreach_with_prefix): Likewise.
553 * lib/gdb.exp (foreach_with_prefix): New procedure.
554
45f38546
MK
5552016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
556
557 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
558 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
559
dc29a1ce
MK
5602016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
561
562 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
563 endian targets.
564
092127d7
JK
5652016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
566 Pedro Alves <palves@redhat.com>
567
568 Fix testsuite compatibility with Guile.
569 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
570 number.
571
31d765d3
JK
5722016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
573
574 Fix testsuite compatibility with Guile.
575 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
576 (thread 1): New test for backtrace through signal handler.
577
1ac78c04
YQ
5782016-01-22 Yao Qi <yao.qi@linaro.org>
579
580 PR testsuite/19491
581 * gdb.base/multi-forks.c: Include
582 ../lib/unbuffer_output.c
583 (main): Call gdb_unbuffer_output.
584
4f5946a8
DE
5852016-01-21 Doug Evans <dje@google.com>
586
587 * lib/ada.exp (gdb_compile_ada): Fix typo.
588
305e13e6
JB
5892016-01-21 Joel Brobecker <brobecker@adacore.com>
590
591 * gdb.base/break-fun-addr.exp: New file.
592 * gdb.base/break-fun-addr1.c: New file.
593 * gdb.base/break-fun-addr2.c: New file.
594
5f5dfff6
SM
5952016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
596
597 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
598 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
599 enum flag values.
600
fd356fa2
AA
6012016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
602
603 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
604 when GDB can not set the vector return value. Add more comments
605 for clarification.
606
9df22175
AT
6072016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
608
609 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
610 command.
611
41d1845e
SM
6122016-01-19 Simon Marchi <simon.marchi@ericsson.com>
613
614 * Makefile.in (DO_RUNTEST): Add --status and update usages.
615
01ac6840
SM
6162016-01-19 Simon Marchi <simon.marchi@ericsson.com>
617
618 * Makefile.in (check-single): Pass --status to runtest.
619 (check/%.exp): Likewise.
620
6212016-01-19 Simon Marchi <simon.marchi@ericsson.com>
622
623 * Makefile.in (check-parallel): Propagate return code from make
624 do-check-parallel.
625
bd0a71fa
MK
6262016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
627
628 * gdb.trace/ftrace.exp: Fix expected message on continue.
629 * gdb.trace/pending.exp: Fix expected message on continue.
630 * gdb.trace/trace-break.exp: Fix expected message on continue.
631
8bcbad33
SM
6322016-01-18 Simon Marchi <simon.marchi@ericsson.com>
633
634 * lib/gdb.exp (gdb_test): Remove unused global references.
635
f303dbd6
PA
6362016-01-18 Pedro Alves <palves@redhat.com>
637
638 * gdb.base/async-shell.exp: Adjust expected output.
639 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
640 * gdb.base/siginfo-thread.exp: Adjust expected output.
641 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
642 * gdb.java/jnpe.exp: Adjust expected output.
643 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
644 * gdb.threads/continue-pending-status.exp: Adjust expected output.
645 * gdb.threads/leader-exit.exp: Adjust expected output.
646 * gdb.threads/manythreads.exp: Adjust expected output.
647 * gdb.threads/pthreads.exp: Adjust expected output.
648 * gdb.threads/schedlock.exp: Adjust expected output.
649 * gdb.threads/siginfo-threads.exp: Adjust expected output.
650 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
651 expected output.
652 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
653 output.
654 * gdb.threads/sigthread.exp: Adjust expected output.
655 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
656
b2789696
YQ
6572016-01-18 Yao Qi <yao.qi@linaro.org>
658
659 * gdb.guile/scm-section-script.c: Replace @progbits with
660 %progbits.
661 * gdb.python/py-section-script.c: Likewise.
662
71ef29a8
PA
6632016-01-15 Pedro Alves <palves@redhat.com>
664
665 * gdb.multi/tids.exp: Test star wildcard ranges.
666
3f5b7598
PA
6672016-01-15 Pedro Alves <palves@redhat.com>
668
669 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
670 command from "thread apply" invocation.
671 (thr_apply_info_thr_invalid): Default the expected output to the
672 input tid list.
673 (top level): Add tests that use convenience variables. Add tests
674 for "thread apply" with a valid TID list, but missing the command.
675
663f6d42
PA
6762016-01-13 Pedro Alves <palves@redhat.com>
677
678 * gdb.base/default.exp: Expect $_gthread as well.
679 * gdb.multi/tids.exp: Test $_gthread.
680 * gdb.threads/thread-specific.exp: Test $_gthread.
681
c84f6bbf
PA
6822016-01-13 Pedro Alves <palves@redhat.com>
683
684 * gdb.multi/tids.exp: Test "info threads -gid".
685
22a02324
PA
6862016-01-13 Pedro Alves <palves@redhat.com>
687
688 * gdb.multi/tids.exp: Test InferiorThread.global_num and
689 Breakpoint.thread.
690 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
691
5d5658a1
PA
6922016-01-07 Pedro Alves <palves@redhat.com>
693
694 * gdb.base/break.exp: Adjust to output changes.
695 * gdb.base/hbreak2.exp: Likewise.
696 * gdb.base/sepdebug.exp: Likewise.
697 * gdb.base/watch_thread_num.exp: Likewise.
698 * gdb.linespec/keywords.exp: Likewise.
699 * gdb.multi/info-threads.exp: Likewise.
700 * gdb.threads/thread-find.exp: Likewise.
701 * gdb.multi/tids.c: New file.
702 * gdb.multi/tids.exp: New file.
703
84654457
PA
7042016-01-13 Pedro Alves <palves@redhat.com>
705
706 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
707
e3940304
PA
7082016-01-13 Pedro Alves <palves@redhat.com>
709
710 * gdb.base/default.exp: Expect $_inferior as well.
711 * gdb.multi/base.exp: Test $_inferior.
712
a911d87a
PA
7132016-01-13 Pedro Alves <palves@redhat.com>
714
715 PR breakpoints/19388
716 * gdb.base/catch-signal-siginfo-cond.c: New file.
717 * gdb.base/catch-signal-siginfo-cond.exp: New file.
718
82075af2
JS
7192016-01-12 Josh Stone <jistone@redhat.com>
720 Philippe Waroquiers <philippe.waroquiers@skynet.be>
721
722 * gdb.base/catch-syscall.c (do_execve): New variable.
723 (main): Conditionally trigger an execve.
724 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
725 (test_catch_syscall_execve): New, check entry/return across execve.
726 (do_syscall_tests): Call test_catch_syscall_execve.
727
e46eeedd
PA
7282016-01-12 Pedro Alves <palves@redhat.com>
729
730 * gdb.base/random-signal.exp (do_test): New procedure, with body
731 of testcase moved in.
732
01d8c27e
JK
7332016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
734 Pedro Alves <palves@redhat.com>
735
736 * gdb.base/funcargs.exp (finish from indirectly called function):
737 Reintroduce the case for 'First'.
738
9a706302
JK
7392016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
740 Pedro Alves <palves@redhat.com>
741
742 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
743 (tcatch_vfork_then_child_follow_exec)
744 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
745 identification.
746
c0ecb95f
JK
7472016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
748
749 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
750 and repeats to unlimited.
751 * gdb.python/py-value.exp: Likewise.
752 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
753 and repeats to unlimited.
754
6cfc1fcb
JK
7552016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
756
757 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
758 and reordering the functions.
759 * gdb.multi/hangout.c: Likewise.
760 * gdb.multi/hello.c: Likewise.
761
582a1b00
SM
7622016-01-08 Simon Marchi <simon.marchi@ericsson.com>
763
764 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
765 absolute.
766 (SingleStatisticTestResult.report): Use dict.keys instead of
767 dict.iterkeys.
768
79bc59cb
PA
7692016-01-06 Pedro Alves <palves@redhat.com>
770
771 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
772
43368e1d
MM
7732016-01-04 Markus Metzger <markus.t.metzger@intel.com>
774
775 * gdb.btrace/dlopen.exp: New.
776 * gdb.btrace/dlopen.c: New.
777 * gdb.btrace/dlopen-dso.c: New.
778
79fad5b8
SL
7792015-12-25 Sandra Loosemore <sandra@codesourcery.com>
780
781 * lib/gdb.exp (gdb_test): Update comments to clarify that the
782 PATTERN argument is optional.
783
ab8314b3
JB
7842015-12-24 Joel Brobecker <brobecker@adacore.com>
785
786 * lib/ada.exp (target_compile_ada_from_dir): New function.
787 (gdb_compile_ada): Reimplement avoiding the use of project files.
788 * gdb.ada/gnat_ada.gpr: Delete.
789 * gdb.ada/cond_lang.exp: Adjust test to make path before
790 filename optional.
791 * gdb.ada/small_reg_param.exp: Likewise.
792
fe33faff
SM
7932015-12-22 Simon Marchi <simon.marchi@ericsson.com>
794
795 * gdb.base/foll-vork.exp: Remove HP-UX special case.
796
6d265cb4
TP
7972015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
798
799 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
800 case.
801
10125099
SM
8022015-12-21 Simon Marchi <simon.marchi@ericsson.com>
803
804 * gdb.base/break.exp: Remove dead code.
805 * gdb.base/sepdebug.exp: Likewise.
806
3ca22649
SM
8072015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
808
809 * gdb.asm/asm-source.exp: Remove HP-UX references.
810 * gdb.base/annota1.exp: Likewise.
811 * gdb.base/annota3.exp: Likewise.
812 * gdb.base/attach.exp: Likewise.
813 * gdb.base/bigcore.exp: Likewise.
814 * gdb.base/break.exp: Likewise.
815 * gdb.base/call-ar-st.exp: Likewise.
816 * gdb.base/callfuncs.exp: Likewise.
817 * gdb.base/catch-fork-static.exp: Likewise.
818 * gdb.base/display.exp: Likewise.
819 * gdb.base/foll-exec-mode.exp: Likewise.
820 * gdb.base/foll-exec.exp: Likewise.
821 * gdb.base/foll-fork.exp: Likewise.
822 * gdb.base/foll-vfork.exp: Likewise.
823 * gdb.base/funcargs.exp: Likewise.
824 * gdb.base/hbreak2.exp: Likewise.
825 * gdb.base/inferior-died.exp: Likewise.
826 * gdb.base/interrupt.exp: Likewise.
827 * gdb.base/multi-forks.exp: Likewise.
828 * gdb.base/nodebug.exp: Likewise.
829 * gdb.base/sepdebug.exp: Likewise.
830 * gdb.base/solib1.c: Likewise.
831 * gdb.base/step-test.exp: Likewise.
832 * gdb.mi/non-stop.c: Likewise.
833 * gdb.mi/pthreads.c: Likewise.
834 * gdb.multi/bkpt-multi-exec.ex: Likewise.
835 * gdb.threads/pthreads.c: Likewise.
836 * gdb.threads/staticthreads.exp: Likewise.
837 * lib/future.exp: Likewise.
838 * lib/gdb.exp: Likewise.
839 * gdb.base/so-indr-cl.c: Remove.
840 * gdb.base/so-indr-cl.exp: Likewise.
841 * gdb.base/solib.c: Likewise.
842 * gdb.base/solib.exp: Likewise.
843 * gdb.base/solib2.c: Likewise.
844
b6304613
SM
8452015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
846
847 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
848 * gdb.base/call-ar-st.exp: Likewise.
849 * gdb.base/callfuncs.exp: Likewise.
850 * gdb.base/condbreak.exp: Likewise.
851 * gdb.base/constvars.exp: Likewise.
852 * gdb.base/hbreak2.exp: Likewise.
853 * gdb.base/langs.exp: Likewise.
854 * gdb.base/list.exp: Likewise.
855 * gdb.base/long_long.exp: Likewise.
856 * gdb.base/ptype.exp: Likewise.
857 * gdb.base/scope.exp: Likewise.
858 * gdb.base/signals.exp: Likewise.
859 * gdb.base/so-impl-ld.exp: Likewise.
860 * gdb.base/varargs.exp: Likewise.
861 * gdb.base/volatile.exp: Likewise.
862 * gdb.base/whatis.exp: Likewise.
863 * gdb.cp/cplusfuncs.exp: Likewise.
864 * gdb.cp/inherit.exp: Likewise.
865 * gdb.cp/local.exp: Likewise.
866 * gdb.cp/member-ptr.exp: Likewise.
867 * gdb.cp/method.exp: Likewise.
868 * gdb.cp/overload.exp: Likewise.
869 * gdb.cp/templates.exp: Likewise.
870 * gdb.stabs/weird.exp: Likewise.
871 * lib/compiler.c: Likewise.
872 * lib/compiler.cc: Likewise.
873 * lib/cp-support.exp: Likewise.
874 * lib/gdb.exp: Likewise.
875
bf401b07
SM
8762015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
877
878 * configure.ac: Remove HP-UX case.
879 * configure: Regenerate.
880
aff9c0f8
SM
8812015-12-18 Simon Marchi <simon.marchi@ericsson.com>
882
883 * lib/gdb.exp (gdb_compile): Add function doc.
884
a6904d5a
PA
8852015-12-17 Pedro Alves <palves@redhat.com>
886
887 PR threads/19354
888 * gdb.multi/info-threads.exp: New file.
889
a22279dd
YQ
8902015-12-15 Yao Qi <yao.qi@linaro.org>
891
892 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
893 is aarch64*-*-*.
894
0588c796
SL
8952015-12-14 Sandra Loosemore <sandra@codesourcery.com>
896
897 * gdb.base/history-duplicates.exp: Skip if no readline support.
898
5d978e17
SL
8992015-12-14 Sandra Loosemore <sandra@codesourcery.com>
900
901 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
902
7e763b86
SL
9032015-12-14 Sandra Loosemore <sandra@codesourcery.com>
904
905 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
906
87a3a92c
SL
9072015-12-14 Sandra Loosemore <sandra@codesourcery.com>
908
909 * gdb.base/completion.exp: Skip tests that interrupt GDB with
910 ctrl-C if nointerrupts target property is set.
911 * gdb.base/double-prompt-target-event-error.exp: Likewise.
912 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
913 * gdb.base/paginate-bg-execution.exp: Likewise.
914 * gdb.base/paginate-execution-startup.exp: Likewise.
915 * gdb.base/random-signal.exp: Likewise.
916 * gdb.base/range-stepping.exp: Likewise.
917 * gdb.cp/annota2.exp: Likewise.
918 * gdb.cp/annota3.exp: Likewise.
919 * gdb.gdb/selftest.exp: Likewise.
920 * gdb.threads/continue-pending-status.exp: Likewise.
921 * gdb.threads/leader-exit.exp: Likewise.
922 * gdb.threads/manythreads.exp: Likewise.
923 * gdb.threads/pthreads.exp: Likewise.
924 * gdb.threads/schedlock.exp: Likewise.
925 * gdb.threads/sigthread.exp: Likewise.
926
a8f077dc
DB
9272015-12-11 Don Breazeal <donb@codesourcery.com>
928
929 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
930 remote.
931 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
932 * gdb.base/foll-exec.exp (main): Enable for target remote.
933 * gdb.base/foll-fork.exp (main): Likewise.
934 * gdb.base/foll-vfork.exp (main): Likewise.
935 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
936 (proc continue_to_exit_bp_loc): Use clean_restart.
937 * gdb.base/pie-execl.exp (main): Disable for target remote.
938 * gdb.base/watch-vfork.exp (main): Enable for target remote.
939 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
940 * gdb.threads/execl.exp (main): Likewise.
941 * gdb.threads/fork-child-threads.exp (main): Likewise.
942 * gdb.threads/fork-plus-threads.exp (main): Disable for target
943 remote.
944 * gdb.threads/fork-thread-pending.exp (main): Enable for target
945 remote.
946 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
947 pid.tid style ptids, instead of just tid.
948 * gdb.threads/thread-execl.exp (main): Enable for target remote.
949 * gdb.threads/watchpoint-fork.exp (main): Likewise.
950 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
951 ptids, instead of just tid.
952
3b2464a8
AB
9532015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
954
955 * gdb.base/list.exp (test_list_forward): Add end of file error
956 test.
957 (test_repeat_list_command): Add end of file error test.
958 (test_list_backwards): Add beginning of file error test.
959
a0def019
AB
9602015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
961
962 * gdb.base/list.exp (test_list_invalid_args): New function,
963 defined, and called.
964
5c000dff
AB
9652015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
966
967 * gdb.base/list.exp (test_list): Make test names unique.
968
f1637ebe
YQ
9692015-12-11 Yao Qi <yao.qi@linaro.org>
970
971 * gdb.base/coremaker2.c: Remove.
972
36d6fc0a
PA
9732015-12-10 Pedro Alves <palves@redhat.com>
974
975 * gdb.multi/base.exp: Remove stale "spaces" references.
976
762f7747
PA
9772015-12-10 Pedro Alves <palves@redhat.com>
978
979 * gdb.multi/base.exp: Don't use nowarnings.
980 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
981 * gdb.multi/hangout.c: Include stdio.h.
982 * gdb.multi/hello.c: Include stdlib.h.
983 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
984 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
985 * gdb.multi/multi-arch.exp: Don't use nowarnings.
986
28d2bfb9
AB
9872015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
988
989 * gdb.dwarf2/dw2-ranges-base.c: New file.
990 * gdb.dwarf2/dw2-ranges-base.exp: New file.
991 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
992 support additional line table, and debug ranges generation.
993 (Dwarf::ranges): New function, generate .debug_ranges.
994 (Dwarf::lines): Support generating simple line table programs.
995 (Dwarf::assemble): Initialise new namespace variables.
996
5fc2beac
KB
9972015-12-09 Kevin Buettner <kevinb@redhat.com>
998
999 * gdb.base/async.exp (proc test_background): Add case for
1000 asynchronous execution not supported.
1001
1c35a88f
LM
10022015-12-09 Luis Machado <lgustavo@codesourcery.com>
1003
1004 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1005 format and change test names to make them unique.
1006
b593e3d9
RK
10072015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1008 Pedro Alves <pedro@redhat.com>
1009
1010 PR gdb/18702
1011 Add checking of floatformats setup on x86_64 hosts.
1012 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1013 (smallval, bigval): New labels/constants.
1014 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1015 float" after loading bigval and smallval.
1016
d72413e6
PMR
10172015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1018
1019 * gdb.ada/fun_overload_menu.exp: New testcase.
1020 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1021
ece66d65
JS
10222015-12-04 Josh Stone <jistone@redhat.com>
1023
1024 * gdb.base/catch-fork-static.exp: New.
1025
41d0efca
YQ
10262015-12-03 Yao Qi <yao.qi@linaro.org>
1027
1028 * gdb.base/sizeof.c: Don't include stdio.h and
1029 ../lib/unbuffer_output.c.
1030 (main): New variable 'size' and 'value'. Remove printf and
1031 gdb_unbuffer_output. Assign return value to size and value.
1032 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1033 at the beginning.
1034 (check_sizeof): Check the result by printing variable 'size'.
1035 (check_valueof): Check the result by printing variable 'value'.
1036
99fd02d9
YQ
10372015-12-01 Yao Qi <yao.qi@linaro.org>
1038
1039 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1040 for aarch64*-*-linux* target.
1041
f2faf941
PA
10422015-11-30 Pedro Alves <palves@redhat.com>
1043
1044 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1045
04bf20c5
PA
10462015-11-30 Pedro Alves <palves@redhat.com>
1047
1048 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1049 Handle non-stop mode vCont replies.
1050
09df4675
PA
10512015-11-30 Pedro Alves <palves@redhat.com>
1052
1053 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1054 prepare_for_testing. Start gdb with "set non-stop on" appended to
1055 GDBFLAGS. Lax expected stop output.
1056
58b584af
YQ
10572015-11-27 Yao Qi <yao.qi@linaro.org>
1058
1059 * gdb.arch/arm-neon.exp: New.
1060 * gdb.arch/arm-neon.c: New.
1061
dfcb77a8
YQ
10622015-11-27 Yao Qi <yao.qi@linaro.org>
1063
1064 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1065
88e8ec1b
YQ
10662015-11-27 Yao Qi <yao.qi@linaro.org>
1067
1068 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1069 frames-invalid annotation.
1070
bfde72c2
YQ
10712015-11-27 Yao Qi <yao.qi@linaro.org>
1072
1073 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1074
f6512a69
SM
10752015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1076
1077 * gdb.threads/names.exp: New file.
1078 * gdb.threads/names.c: New file.
1079 * README: Mention gdb,no_thread_names.
1080
46a3515b
MM
10812015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1082
1083 PR 19297
1084 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1085 support" error.
1086
62147a22
PA
10872015-11-24 Pedro Alves <palves@redhat.com>
1088
1089 PR 17539
1090 * gdb.base/display.exp: Expect displays to be sorted in ascending
1091 order. Use multi_line.
1092 * gdb.base/solib-display.exp: Likewise.
1093
2f341b6e
PA
10942015-11-24 Pedro Alves <palves@redhat.com>
1095
1096 PR 17539
1097 * gdb.base/display.exp: Expect displays to be sorted in ascending
1098 order. Use multi_line.
1099 * gdb.base/solib-display.exp: Likewise.
1100
7e0aa6aa
PA
11012015-11-24 Pedro Alves <palves@redhat.com>
1102
1103 PR 17539
1104 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1105 threads in ascending order.
1106 * gdb.base/foll-fork.exp: Likewise.
1107 * gdb.base/foll-vfork.exp: Likewise.
1108 * gdb.base/multi-forks.exp: Likewise.
1109 * gdb.mi/mi-nonstop.exp: Likewise.
1110 * gdb.mi/mi-nsintrall.exp: Likewise.
1111 * gdb.multi/base.exp: Likewise.
1112 * gdb.multi/multi-arch.exp: Likewise.
1113 * gdb.python/py-inferior.exp: Likewise.
1114 * gdb.threads/break-while-running.exp: Likewise.
1115 * gdb.threads/execl.exp: Likewise.
1116 * gdb.threads/gcore-thread.exp: Likewise.
1117 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1118 * gdb.threads/kill.exp: Likewise.
1119 * gdb.threads/linux-dp.exp: Likewise.
1120 * gdb.threads/multiple-step-overs.exp: Likewise.
1121 * gdb.threads/next-bp-other-thread.exp: Likewise.
1122 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1123 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1124 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1125 * gdb.threads/thread-find.exp: Likewise.
1126 * gdb.threads/tls.exp: Likewise.
1127 * lib/mi-support.exp (mi_reverse_list): Delete.
1128 (mi_check_thread_states): No longer reverse list.
1129
2cc57ad8
PA
11302015-11-24 Pedro Alves <palves@redhat.com>
1131
1132 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1133 use lowercase.
1134
c93e8391
SM
11352015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1136
1137 * gdb.trace/actions.c: Include trace-common.h.
1138 (main): Add a location for a fast tracepoint.
1139 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1140 the normal tracepoints.
1141 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1142
045ccf91
SM
11432015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1144
1145 * save-trace.exp: Factor out code to these...
1146 (gdb_save_tracepoints): New.
1147 (gdb_load_tracepoints): New.
1148 (do_save_load_test): New.
1149
5506f9f6
KB
11502015-11-23 Kevin Buettner <kevinb@redhat.com>
1151
1152 * gdb.base/asmlabel.exp: New test.
1153 * gdb.base/asmlabel.c: New test case.
1154
16c3b12f
JB
11552015-11-23 Joel Brobecker <brobecker@adacore.com>
1156
1157 * gdb.base/wrong_frame_bt_full-main.c: New file.
1158 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1159 * gdb.base/wrong_frame_bt_full.exp: New file.
1160
155bfbd3
JB
11612015-11-23 Joel Brobecker <brobecker@adacore.com>
1162
1163 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1164
bb097445
JM
11652015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1166
206853a0 1167 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
1168 pstate register when comparing registers values in
1169 sparc64-*-linux-gnu targets to avoid spurious differences.
1170
9c88ed8f
JM
11712015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1172
206853a0 1173 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 1174
96161e25
SL
11752015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1176
1177 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1178 as type argument to gdb_compile.
1179 * gdb.base/nested-subp2.exp: Likewise.
1180 * gdb.base/nested-subp3.exp: Likewise.
1181
340c2830
DV
11822015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1183
1184 * lib/dwarf.exp (_note): Fix left shift of negative value.
1185 * gdb.trace/trace-condition.exp: Likewise.
1186
c1862d0f
YQ
11872015-11-13 Yao Qi <yao.qi@linaro.org>
1188
1189 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1190 comments about d10v.
1191 (test_scalar_returns): Likewise.
1192 * gdb.base/d10v.ld: Remove.
1193 * gdb.base/overlays.exp: Remove the target triplet checking for
1194 d10v-*-*.
1195 * gdb.base/structs.exp (test_struct_returns): Remove the
1196 comments about d10v.
1197 (test_struct_calls): Likewise.
1198
77ae9c19
YQ
11992015-11-13 Yao Qi <yao.qi@linaro.org>
1200
1201 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1202 * gdb.base/gnu_vector.c: Don't include stdio.h.
1203 (main): Don't print res and call add_some_intvecs.
1204
430e004e
MK
12052015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1206
1207 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1208 macro.
1209 (func5): Removed.
1210 (func4): Use FAST_TRACEPOINT_LABEL.
1211 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1212 macro.
1213 (func): Removed.
1214 (thread_function): Use FAST_TRACEPOINT_LABEL.
1215 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1216 (func): Remove.
1217 (marker): Use FAST_TRACEPOINT_LABEL.
1218 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1219 (pendfunc1): Remove.
1220 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1221 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1222 (foo): Remove.
1223 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1224 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1225 macro.
1226 (func): Remove.
1227 (marker): Use FAST_TRACEPOINT_LABEL.
1228 * gdb.trace/trace-common.h: New header.
1229 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1230 macro.
1231 (func): Remove.
1232 (marker): Use FAST_TRACEPOINT_LABEL.
1233 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1234 (func): Remove.
1235 (thread_function): Use FAST_TRACEPOINT_LABEL.
1236
6e7675a7
MK
12372015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1238
1239 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1240 in front.
1241 * gdb.trace/change-loc.exp: Use global pcreg definition.
1242 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1243 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1244 in front.
1245 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1246 * gdb.trace/pending.exp: Likewise.
1247 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1248 * gdb.trace/trace-break.exp: Likewise.
1249 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1250 in front.
1251 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1252 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1253 in front.
1254 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1255
dddc0e16
JB
12562015-11-09 Joel Brobecker <brobecker@adacore.com>
1257
1258 * gdb.ada/fin_fun_out: New testcase.
1259
c6f0b406
KB
12602015-11-07 Kevin Buettner <kevinb@redhat.com>
1261
1262 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1263 value associated with DW_AT_byte_size.
1264 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1265 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1266 DW_AT_upper_bound.
1267
f01dcfd9
KB
12682015-11-07 Kevin Buettner <kevinb@redhat.com>
1269
1270 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1271 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1272 version.
1273 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1274 gdb.dwarf2/dw2-canonicalize-type.exp,
1275 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1276 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1277 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1278 provided by gdb_target_symbol_prefix_flags_asm.
1279 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1280 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1281 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1282 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1283 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1284 macros where needed). Use this macro for symbols which require
1285 the prefix provided by SYMBOL_PREFIX.
1286
2223449a
KB
12872015-11-05 Kevin Buettner <kevinb@redhat.com>
1288
1289 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1290 New procs.
1291 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1292 representing expressions, of more than one list element.
1293 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1294 to prepend linker symbol prefix to f.
1295 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1296 table_1 and table_2.
1297 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1298 Likewise, for f and g.
1299 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1300 for ptr.
1301 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1302 for main.
1303 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1304 table_1_ptr and table_2_ptr.
1305
6f2f1a3a
JK
13062015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1307 Joel Brobecker <brobecker@adacore.com>
1308
1309 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1310
566c56c9
MK
13112015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1312
1313 * gdb.reverse/s390-mvcle.c: New test.
1314 * gdb.reverse/s390-mvcle.exp: New file.
1315 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1316
d5f0636b
MK
13172015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1318
1319 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1320
7ad8b86c
MK
13212015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1322
1323 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1324 reaching marker2.
1325 * gdb.reverse/getresuid-reverse.exp: Likewise.
1326 * gdb.reverse/pipe-reverse.exp: Likewise.
1327 * gdb.reverse/readv-reverse.exp: Likewise.
1328 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1329 * gdb.reverse/time-reverse.exp: Likewise.
1330 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1331
4081c0f1
YQ
13322015-10-30 Yao Qi <yao.qi@linaro.org>
1333
1334 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1335 (empty_cycle): Remove.
1336 (main): Don't call empty_cycle. Don't use watch_count_done.
1337 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1338 empty_cycle. Rewrite the code counting HW watchpoints.
1339
452b4ba5
MK
13402015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1341
1342 * gdb.reverse/fstatat-reverse.c: New test.
1343 * gdb.reverse/fstatat-reverse.exp: New file.
1344 * gdb.reverse/getresuid-reverse.c: New test.
1345 * gdb.reverse/getresuid-reverse.exp: New file.
1346 * gdb.reverse/pipe-reverse.c: New test.
1347 * gdb.reverse/pipe-reverse.exp: New file.
1348 * gdb.reverse/readv-reverse.c: New test.
1349 * gdb.reverse/readv-reverse.exp: New file.
1350 * gdb.reverse/recvmsg-reverse.c: New test.
1351 * gdb.reverse/recvmsg-reverse.exp: New file.
1352 * gdb.reverse/time-reverse.c: New test.
1353 * gdb.reverse/time-reverse.exp: New file.
1354 * gdb.reverse/waitpid-reverse.c: New test.
1355 * gdb.reverse/waitpid-reverse.exp: New file.
1356
5e2e7507
JK
13572015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1358
1359 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1360
0fde2c53
DE
13612015-10-26 Doug Evans <dje@google.com>
1362
1363 PR symtab/17391
1364 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1365 * gdb.dwarf2/bad-regnum.c: New file.
1366 * gdb.dwarf2/bad-regnum.exp: New file.
1367
1a70ae97
DE
13682015-10-26 Doug Evans <dje@google.com>
1369
1370 PR python/18938
1371 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1372 file.
1373
27dc26ab
JK
13742015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1375
1376 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1377 for a change by "Mention language in compile error message".
1378
bed91f4d
SM
13792015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1380
1381 PR python/18073
1382 * gdb.python/py-type.c (C::a_method): New.
1383 (C::a_const_method): New.
1384 (C::a_static_method): New.
1385 (a_function): New.
1386 * gdb.python/py-type.exp (test_fields): Test getting fields
1387 from function and method.
1388
3f2f83dd
KB
13892015-10-21 Keven Boell <keven.boell@intel.com>
1390
1391 * gdb.fortran/vla-alloc-assoc.exp: New file.
1392 * gdb.fortran/vla-datatypes.exp: New file.
1393 * gdb.fortran/vla-datatypes.f90: New file.
1394 * gdb.fortran/vla-history.exp: New file.
1395 * gdb.fortran/vla-ptype-sub.exp: New file.
1396 * gdb.fortran/vla-ptype.exp: New file.
1397 * gdb.fortran/vla-sizeof.exp: New file.
1398 * gdb.fortran/vla-sub.f90: New file.
1399 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1400 * gdb.fortran/vla-value-sub-finish.exp: New file.
1401 * gdb.fortran/vla-value-sub.exp: New file.
1402 * gdb.fortran/vla-value.exp: New file.
1403 * gdb.fortran/vla-ptr-info.exp: New file.
1404 * gdb.mi/mi-vla-fortran.exp: New file.
1405 * gdb.mi/vla.f90: New file.
1406
27145d50
SL
14072015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1408
1409 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1410 of hardwired timeout value.
1411
5f3ff4f8
JK
14122015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1413 Pedro Alves <palves@redhat.com>
1414
1415 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1416 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1417
bfd09d20
JS
14182015-10-19 Josh Stone <jistone@redhat.com>
1419
1420 * gdb.base/catch-syscall.c: Include <sched.h>.
1421 (unknown_syscall): New variable.
1422 (main): Trigger a vfork and an unknown syscall.
1423 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1424 (unknown_syscall_number): Likewise.
1425 (check_call_to_syscall): Accept an optional syscall pattern.
1426 (check_return_from_syscall): Likewise.
1427 (check_continue): Likewise.
1428 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1429 (test_catch_syscall_skipping_return): New test toggling off 'catch
1430 syscall' to step over the syscall return, then toggling back on.
1431 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1432 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1433 (do_syscall_tests): Call test_catch_syscall_without_args and
1434 test_catch_syscall_mid_vfork.
1435 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1436 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1437
b32b93c6
AS
14382015-10-19 Andrew Stubbs <ams@codesourcery.com>
1439
1440 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1441 print g_vE): Add new pass patterns.
1442 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1443 print various symbol names for vptr fields.
1444
9d622bda
AB
14452015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1446
1447 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1448 results.
1449
0fd8ac1c
YQ
14502015-10-12 Yao Qi <yao.qi@linaro.org>
1451
1452 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1453
34240514
YQ
14542015-10-12 Yao Qi <yao.qi@linaro.org>
1455
1456 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1457 is aarch64*-*-linux*.
1458
8240f442
YQ
14592015-10-12 Yao Qi <yao.qi@linaro.org>
1460
1461 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1462 (can_relocate_bcond_true): ... it.
1463 (can_relocate_bcond_false): New function.
1464 (foo): Likewise.
1465 (can_relocate_bl): Likewise.
1466 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1467 can_relocate_bl.
1468
2520f728
PMR
14692015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1470
1471 * gdb.base/nested-addr.c: New file.
1472 * gdb.base/nested-addr.exp: New testcase.
1473
abcef95a
MM
14742015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1475
1476 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1477 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1478 its output. Ignore the output of "record goto begin" and instead
1479 check that GDB is replaying.
1480
145e3ddb
PA
14812015-10-09 Pedro Alves <palves@redhat.com>
1482
1483 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1484 (top level): Use it in the run with no args test.
1485
d5d8c4e1
IB
14862015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1487
1488 * gdb.dlang/properties.exp: New file.
1489
06e635ef
SL
14902015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1491
1492 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1493 whether or not address 0x1000 is mapped on the target.
1494
e019fd1d
SM
14952015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1496
1497 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1498 build.
1499
77ba2a67
MM
15002015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1501
1502 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1503 instruction-history test.
1504
c60eb31f
DE
15052015-09-28 Doug Evans <dje@google.com>
1506
1507 * gdb.base/gcore.c (array_func): Add reference to static_array.
1508
9a3c8263
SM
15092015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1510
1511 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1512 source line.
1513
9720e656
SL
15142015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1515
1516 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1517 short or char as base type.
1518
938d3bf2
SL
15192015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1520
1521 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1522 to allow any size enum.
1523
e6c2c623
PMR
15242015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1525
1526 * gdb.ada/array_ptr_renaming.exp: New testcase.
1527 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1528 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1529
06da0f77
PL
15302015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1531
1532 * gdb.trace/ftrace-lock.c: New file.
1533 * gdb.trace/ftrace-lock.exp: New file.
1534
4f51c22a
PL
15352015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1536
1537 * gdb.arch/insn-reloc.c: New file.
1538 * gdb.arch/ftrace-insn-reloc.exp: New file.
1539
7041adf4
PL
15402015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1541
1542 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1543 instruction.
1544 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1545 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1546 * gdb.trace/range-stepping.c: Likewise.
1547 * gdb.trace/trace-break.c: Likewise.
1548 * gdb.trace/trace-mt.c (thread_function): Likewise.
1549 * gdb.trace/ftrace.c (marker): Likewise.
1550 * gdb.trace/trace-condition.c (marker): Likewise.
1551 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1552 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1553 is_aarch64_target.
1554
015d2e7e
DE
15552015-09-18 Doug Evans <xdje42@gmail.com>
1556
1557 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1558 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1559
26b188a2
SL
15602015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1561
1562 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1563 the breakpoint.
1564
79dc332b
SL
15652015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1566
1567 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1568 the pending breakpoint. Remove timeout override for "Run till
1569 MI pending breakpoint on pendfunc3 on thread 2" test.
1570
f57929f2
SL
15712015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1572
1573 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1574 filename pattern.
1575
3f469b17
SL
15762015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1577
1578 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1579 in breakpoint filename pattern.
1580
515b89b3
SL
15812015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1582
7800dbe4
SL
1583 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1584
15852015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1586
515b89b3
SL
1587 * gdb.linespec/explicit.exp: Check for readline support for
1588 tab-completion tests. Fix obvious typo.
1589
d2939ba2
MM
15902015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1591
1592 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1593 and replay.
1594
cbb55fa7
MM
15952015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1596
1597 * gdb.btrace/non-stop.c: New.
1598 * gdb.btrace/non-stop.exp: New.
1599
43691ca1
PL
16002015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1601 Yao Qi <yao.qi@linaro.org>
1602
1603 * gdb.trace/trace-condition.c: New file.
1604 * gdb.trace/trace-condition.exp: New file.
1605
d78908cf
WW
16062015-09-16 Wei-cheng Wang <cole945@gmail.com>
1607
1608 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1609 for testing bytecode compilation.
1610
1ed415e2
PA
16112015-09-16 Pedro Alves <palves@redhat.com>
1612 Sandra Loosemore <sandra@codesourcery.com>
1613
1614 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1615 (SECONDS): Redefine.
1616 (main): Call pthread_kill and alarm early.
1617 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1618 support.
1619 (test): If the target can't hardware step and doesn't support
1620 displaced stepping, increase the timeout.
1621
d136eff5
PA
16222015-09-16 Pedro Alves <palves@redhat.com>
1623
1624 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1625 (enable_debug): New procedures.
1626 (test): Use them. Bail out if waiting for threads fails.
1627 (top level): Bail out if a test fails.
1628
991f019c
YQ
16292015-09-16 Yao Qi <yao.qi@linaro.org>
1630
1631 * gdb.asm/asm-source.exp: Set asm-arch for
1632 aarch64*-*-* target.
1633 * gdb.asm/aarch64.inc: New file.
1634
bfca584f
PMR
16352015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1636
1637 * gdb.ada/array_of_variable_length.exp: New testcase.
1638 * gdb.ada/array_of_variable_length/foo.adb: New file.
1639 * gdb.ada/array_of_variable_length/pck.adb: New file.
1640 * gdb.ada/array_of_variable_length/pck.ads: New file.
1641
b326e587
DE
16422015-09-15 Doug Evans <dje@google.com>
1643
1644 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1645 of function static local variable.
1646
5382cfab
PW
16472015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1648
1649 * gdb.threads/tls-so_extern.exp: New test file.
1650 * gdb.threads/tls-so_extern.c: New test file.
1651 * gdb.threads/tls-so_extern_main.c: New test file.
1652
141c5cc4
JK
16532015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1654
1655 * gdb.opt/solib-intra-step-lib.c: New file.
1656 * gdb.opt/solib-intra-step-main.c: New file.
1657 * gdb.opt/solib-intra-step.exp: New file.
1658
d15dcecd
PA
16592015-09-15 Pedro Alves <palves@redhat.com>
1660
1661 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1662 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1663
4c2f2a79
PA
16642015-09-14 Pedro Alves <palves@redhat.com>
1665
1666 * gdb.base/hook-stop-continue.c: Delete.
1667 * gdb.base/hook-stop-continue.exp: Delete.
1668 * gdb.base/hook-stop-frame.c: Delete.
1669 * gdb.base/hook-stop-frame.exp: Delete.
1670 * gdb.base/hook-stop.c: New file.
1671 * gdb.base/hook-stop.exp: New file.
1672
919e6dbe
PMR
16732015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1674
1675 * gdb.ada/access_to_packed_array.exp: New testcase.
1676 * gdb.ada/access_to_packed_array/foo.adb: New file.
1677 * gdb.ada/access_to_packed_array/pack.adb: New file.
1678 * gdb.ada/access_to_packed_array/pack.ads: New file.
1679
157280a4
MM
16802015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1681
1682 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1683 buffer size test.
1684
2fd33e94
DB
16852015-09-11 Don Breazeal <donb@codesourcery.com>
1686
1687 * gdb.base/foll-exec.c: Add copyright header. Fix
1688 formatting issues.
1689 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1690 (do_exec_tests): Use clean_restart in place of zap_session,
1691 and for test initialization. Fix formatting issues. Use
1692 fail in place of perror.
1693 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1694 an expect statement to match an expression with output from
1695 the program under debug.
1696 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1697 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1698 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1699 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1700 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1701
e70b6e8e
DE
17022015-09-09 Doug Evans <dje@google.com>
1703
1704 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1705
7a551a51
DE
17062015-09-09 Doug Evans <dje@google.com>
1707
1708 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1709
4c666f84
DE
17102015-09-09 Doug Evans <dje@google.com>
1711
1712 * gdb.base/savedregs.exp: Fix typo.
1713
243a9253
PA
17142015-09-09 Pedro Alves <palves@redhat.com>
1715
1716 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1717
c0fa8fbd
SL
17182015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1719
1720 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1721 command actually switches threads. Give up on remaining
1722 tests if target fails to stop at breakpoint.
1723
cd7c1778
PMR
17242015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1725
1726 * gdb.ada/funcall_char.exp: New testcase.
1727 * gdb.ada/funcall_char/foo.adb: New file.
1728
dc5c8746
PMR
17292015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1730
1731 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1732 expected outputs. Add two testcases for completing ambiguous
1733 functions.
1734 * gdb.ada/complete/aux_pck.adb: New file.
1735 * gdb.ada/complete/aux_pck.ads: New file.
1736 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1737 Ambiguous_Func functions.
1738 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1739 * gdb.ada/complete/pck.adb: Likewise.
1740
4e83a1e7
UW
17412015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1742
1743 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1744 failures to run the test program under GDB.
1745
8ce74153
LM
17462015-08-26 Luis Machado <lgustavo@codesourcery.com>
1747
1748 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1749 to C.
1750
e9756d52
PP
17512015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1752
1753 * gdb.base/run-after-attach.exp: New test file.
1754 * gdb.base/run-after-attach.c: New test file.
1755
8d37573b
DB
17562015-08-26 Don Breazeal <donb@codesourcery.com>
1757
1758 * gdb.base/foll-exec-2.c: New test program.
1759 * gdb.base/foll-exec-2.exp: New test.
1760
63e43d3a
PMR
17612015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1762
1763 * gdb.base/nested-subp1.exp: New file.
1764 * gdb.base/nested-subp1.c: New file.
1765 * gdb.base/nested-subp2.exp: New file.
1766 * gdb.base/nested-subp2.c: New file.
1767 * gdb.base/nested-subp3.exp: New file.
1768 * gdb.base/nested-subp3.c: New file.
1769
3d40fbb5
PA
17702015-08-24 Pedro Alves <palves@redhat.com>
1771
1772 * gdb.server/connect-without-multi-process.c: New file.
1773 * gdb.server/connect-without-multi-process.exp: New file.
1774
4422ac93
LM
17752015-08-24 Luis Machado <lgustavo@codesourcery.com>
1776
1777 * gdb.opt/inline-markers.c: Make z int.
1778
91dddb86
LM
17792015-08-24 Luis Machado <lgustavo@codesourcery.com>
1780
1781 * gdb.opt/inline-markers.c: Make z volatile.
1782
a48847ee
LM
17832015-08-24 Luis Machado <lgustavo@codesourcery.com>
1784
1785 * gdb.opt/inline-bt.c: New volatile global z.
1786 * gdb.opt/inline-cmds.c: Likewise.
1787 * gdb.opt/inline-locals.c: Likewise.
1788 * gdb.opt/inline-markers.c: New extern global z.
1789 (marker): Use z.
1790 (inline_fn): Likewise.
1791
0ebbc52b
PA
17922015-08-24 Pedro Alves <palves@redhat.com>
1793
1794 * config/m32r-stub.exp: Remove file.
1795 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1796 * gdb.base/call-rt-st.exp: Likewise.
1797 * gdb.base/call-strs.exp: Likewise.
1798 * gdb.base/default.exp: Remove references to h8300-*-hms and
1799 *-*-udi*.
1800 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1801
77c365df
AA
18022015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1803
1804 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1805 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1806 and "return" use KFAIL when GDB can not read/write the vector
1807 return value.
1808
4313b8c0
GB
18092015-08-21 Gary Benson <gbenson@redhat.com>
1810
1811 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1812
0e433b32
PA
18132015-08-20 Pedro Alves <palves@redhat.com>
1814
1815 * gdb.server/solib-list.exp: No longer expect an interior stop in
1816 non-stop mode.
1817
221e1a37
PA
18182015-08-20 Pedro Alves <palves@redhat.com>
1819
1820 * gdb.server/connect-stopped-target.c: New file.
1821 * gdb.server/connect-stopped-target.exp: New file.
1822
40e3ad0e
PA
18232015-08-20 Pedro Alves <palves@redhat.com>
1824
1825 * gdb.dwarf2/comp-unit-lang.exp: New file.
1826 * gdb.dwarf2/comp-unit-lang.c: New file.
1827
af39b327
PMR
18282015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1829
1830 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1831 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1832
7d45c7c3 18332015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1834
7d45c7c3
KB
1835 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1836 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1837
4d6cceb4
DE
18382015-08-18 Doug Evans <dje@google.com>
1839 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1840
1841 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1842 skip_python_tests. New arg prompt_regexp.
1843 (skip_python_tests): New function.
1844 * lib/mi-support.exp (mi_skip_python_tests): New function.
1845 * gdb.python/py-mi-objfile-gdb.py: New file.
1846 * gdb.python/py-mi-objfile.c: New file.
1847 * gdb.python/py-mi-objfile.exp: New file.
1848
ad89c2aa
KS
18492015-08-17 Keith Seitz <keiths@redhat.com>
1850
1851 * gdb.linespec/explicit.exp: Move strace test from here ...
1852 * gdb.trace/strace.exp: ... to here.
1853
e3ae3c43
PP
18542015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1855
1856 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1857 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1858
604b2636
DE
18592015-08-14 Doug Evans <xdje42@gmail.com>
1860
1861 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1862 inferior before selecting a new file.
1863
6ff0ba5f
DE
18642015-08-14 Doug Evans <xdje42@gmail.com>
1865
1866 * gdb.mi/mi-disassemble.exp: Update.
1867 * gdb.base/disasm-optim.S: New file.
1868 * gdb.base/disasm-optim.c: New file.
1869 * gdb.base/disasm-optim.h: New file.
1870 * gdb.base/disasm-optim.exp: New file.
1871
9ca98f92
KS
18722015-08-14 Keith Seitz <keiths@redhat.com>
1873
1874 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1875 "evaluated-by".
1876
52bbc560
JB
18772015-08-13 Joel Brobecker <brobecker@adacore.com>
1878
1879 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1880
5d8c3ed3
PMR
18812015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1882
1883 * gdb.ada/fun_renaming.exp: New testcase.
1884 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1885 * gdb.ada/fun_renaming/pack.adb: New file.
1886 * gdb.ada/fun_renaming/pack.ads: New file.
1887
ea8812bc
KS
18882015-08-12 Keith Seitz <keiths@redhat.com>
1889
1890 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1891 gdb_get_line_number.
1892
4dafcdeb
JB
18932015-08-12 Joel Brobecker <brobecker@adacore.com>
1894
1895 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1896 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1897 gdb.base/dso2dso.exp: New files.
1898
5ba32597
SDJ
18992015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1900 Pedro Alves <palves@redhat.com>
1901 Keith Seitz <keiths@redhat.com>
1902
1903 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1904 GDBFLAGS.
1905
b6dafabf
PP
19062015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1907
1908 * gdb.base/gdbhistsize-history.exp
1909 (test_histsize_history_setting): Use save_vars.
1910 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1911 Use save_vars.
1912 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1913 * gdb.base/readline.exp: Use save_vars.
1914
abe8e607
PP
19152015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1916
1917 * lib/gdb.exp (save_vars): New proc.
1918
629500fa
KS
19192015-08-11 Keith Seitz <keiths@redhat.com>
1920
1921 * gdb.base/help.exp: Update help_breakpoint_text.
1922
eb8c4e2e
KS
19232015-08-11 Keith Seitz <keiths@redhat.com>
1924
1925 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1926 (at toplevel): Call test_explicit_breakpoints.
1927 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1928 breakpoints.
1929 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1930 breakpoint conditions, "-cond".
1931
87f0e720
KS
19322015-08-11 Keith Seitz <keiths@redhat.com>
1933
1934 * gdb.linespec/3explicit.c: New file.
1935 * gdb.linespec/cpexplicit.cc: New file.
1936 * gdb.linespec/cpexplicit.exp: New file.
1937 * gdb.linespec/explicit.c: New file.
1938 * gdb.linespec/explicit.exp: New file.
1939 * gdb.linespec/explicit2.c: New file.
1940 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1941 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1942 before using in the matching pattern.
1943 Clarify that `prefix' is a regular expression.
1944
f00aae0f
KS
19452015-08-11 Keith Seitz <keiths@redhat.com>
1946
1947 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1948 test.
1949 Add tests for missing ",FMT" and ",".
1950
e27852be
DE
19512015-08-10 Doug Evans <dje@google.com>
1952 Keith Seitz <keiths@redhat.com>
1953
1954 PR gdb/17960
1955 * gdb.base/completion.exp: Add location completer tests.
1956
7f03bd92
PA
19572015-08-07 Pedro Alves <palves@redhat.com>
1958
1959 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1960 tests here.
1961 (top level): Run do_test with and without displaced stepping.
1962
3fc8eb30
PA
19632015-08-07 Pedro Alves <palves@redhat.com>
1964
1965 * gdb.base/valgrind-disp-step.c: New file.
1966 * gdb.base/valgrind-disp-step.exp: New file.
1967
d4569d7b
PA
19682015-08-07 Pedro Alves <palves@redhat.com>
1969
1970 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1971 Delete function.
1972 (main): Add alarm. Run an infinite loop instead of calling
1973 wait_threads.
1974 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1975 comment.
1976 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1977 Delete function.
1978 (main): Add alarm. Run an infinite loop instead of calling
1979 wait_threads.
1980 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1981 comment.
1982
e1316e60
PA
19832015-08-07 Pedro Alves <palves@redhat.com>
1984
1985 * gdb.base/checkpoint-ns.exp: New file.
1986 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1987 standard_testfile.
1988
da8c46d2
MM
19892015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1990
1991 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1992 * gdb.btrace/instruction_history.exp: Update.
1993 * gdb.btrace/tsx.exp: New.
1994 * gdb.btrace/tsx.c: New.
1995
de1c2c52
PA
19962015-08-06 Pedro Alves <palves@redhat.com>
1997
1998 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1999 increase timeout.
2000 * gdb.reverse/until-precsave.exp: Bump timeouts.
2001
782e0bf4
PA
20022015-08-06 Pedro Alves <palves@redhat.com>
2003
2004 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2005
83e97ed0
PA
20062015-08-06 Pedro Alves <palves@redhat.com>
2007
2008 PR gdb/18749
2009 * gdb.threads/process-dies-while-handling-bp.c: New file.
2010 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2011
863d01bd
PA
20122015-08-06 Pedro Alves <palves@redhat.com>
2013
2014 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2015 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2016
0a39bb32
PA
20172015-08-05 Pedro Alves <palves@redhat.com>
2018
2019 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2020 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2021
ee2d2b10
SL
20222015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2023
2024 * gdb.base/bp-permanent.exp: Report test as unsupported if
2025 the target cannot stop at the permanent breakpoint.
2026
4e1bdb00
DE
20272015-08-03 Doug Evans <dje@google.com>
2028
2029 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2030 10000.
2031
3d338901
DE
20322015-08-03 Doug Evans <dje@google.com>
2033
2034 * Makefile.in (workers/%.worker, build-perf): New rule.
2035 (GDB_PERFTEST_MODE): New variable.
2036 (check-perf): Use it.
2037 (clean): Clean up gdb.perf parallel build subdirs.
2038 * lib/build-piece.exp: New file.
2039 * lib/gdb.exp (make_gdb_parallel_path): New function
2040 (standard_output_file, standard_temp_file): Call it.
2041 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2042 of $GDB_PARALLEL.
2043 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2044
af061d3e
DE
20452015-08-03 Doug Evans <dje@google.com>
2046
8e1afc81 2047 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
2048 (LOG_FILE_NAME): New global.
2049 (TextReporter.__init__): Initialize self.txt_sum.
2050 (TextReporter.report): Add support for multiple data-points.
2051 Move report to perftest.sum, put raw data in perftest.log.
2052 (TextReporter.start): Open sum and log files.
2053 (TextReporter.end): Close sum and log files.
8e1afc81
DE
2054 * gdb.perf/lib/perftest/testresult.py
2055 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 2056
2c8c5d37
PA
20572015-07-31 Pedro Alves <palves@redhat.com>
2058
2059 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2060 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2061 kill_wait_spawned_process instead of explicit "kill -9".
2062 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2063 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2064 kill_wait_spawned_process.
2065 * gdb.base/attach-twice.exp: Likewise.
2066 * gdb.base/attach.exp: Likewise.
2067 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2068 gdb_test_multiple.
2069 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2070 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2071 kill_wait_spawned_process.
2072 * gdb.base/valgrind-infcall.exp: Likewise.
2073 * gdb.multi/multi-attach.exp: Likewise.
2074 * gdb.python/py-prompt.exp: Likewise.
2075 * gdb.python/py-sync-interp.exp: Likewise.
2076 * gdb.server/ext-attach.exp: Likewise.
2077 * gdb.threads/attach-into-signal.exp (corefunc): Use
2078 spawn_wait_for_attach, spawn_id_get_pid and
2079 kill_wait_spawned_process.
2080 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2081 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2082 spawn_id_get_pid and kill_wait_spawned_process.
2083 * gdb.threads/attach-stopped.exp (corefunc): Use
2084 spawn_wait_for_attach, spawn_id_get_pid and
2085 kill_wait_spawned_process.
2086 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2087 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2088 kill_wait_spawned_process instead of explicit "kill -9".
2089 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2090 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2091 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2092 processes. Don't map cygwin/windows pids here. Now returns a
2093 spawn id list.
2094
032a0fca
SL
20952015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2096
2097 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2098 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2099 correct patch.
2100
61a934ca
SL
21012015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2102
2103 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2104
4bc4d428
SL
21052015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2106
2107 Reapply:
2108 2014-05-21 Mark Wielaard <mjw@redhat.com>
2109
2110 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2111
998d452a
PA
21122015-07-30 Pedro Alves <palves@redhat.com>
2113
2114 * linux-low.c (handle_extended_wait): Set the child's last
2115 reported status to TARGET_WAITKIND_STOPPED.
2116
69dde7dc
PA
21172015-07-30 Pedro Alves <palves@redhat.com>
2118
2119 PR threads/18600
2120 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2121 only shows inferior 1.
2122
4dd63d48
PA
21232015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2124 Pedro Alves <palves@redhat.com>
2125
2126 PR threads/18600
2127 * gdb.threads/fork-plus-threads.c: New file.
2128 * gdb.threads/fork-plus-threads.exp: New file.
2129
d618e4c5
PP
21302015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2131
2132 * gdb.base/batch-preserve-term-settings.exp
2133 (test_terminal_settings_preserved_after_cli_exit): Use
2134 send_quit_command.
2135
1eef6428
PA
21362015-07-29 Pedro Alves <palves@redhat.com>
2137 Don Breazeal <donb@codesourcery.com>
2138
2139 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2140 output from both inferior_spawn_id and gdb_spawn_id.
2141
7da5b897
SDJ
21422015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2143
2144 * gdb.threads/attach-into-signal.exp (corefunc): Use
2145 with_test_prefix on nested loops, uniquefying the test messages.
2146
dac804df
SDJ
21472015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2148
2149 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2150 commit.
2151
06265e53
PP
21522015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2153
2154 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2155 New proc.
2156 (test_terminal_settings_preserved_after_sigterm): New test.
2157
18206ca3
PP
21582015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2159
2160 * gdb.base/batch-preserve-term-settings.exp
2161 (test_terminal_settings_preserved_after_cli_exit): New test.
2162
90074d11
PP
21632015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2164
2165 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2166 manipulation of saved_gdbflags.
2167 (test_terminal_settings_preserved): Remove global declaration of
2168 the unused variable pagination_prompt. Remove manipulation of
2169 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2170 GDBFLAGS.
2171
eb1a7902
PA
21722015-07-29 Pedro Alves <palves@redhat.com>
2173
2174 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2175
8b75dd3b
PA
21762015-07-29 Pedro Alves <palves@redhat.com>
2177
2178 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2179 at the top.
2180
dedad4e3
PA
21812015-07-29 Pedro Alves <palves@redhat.com>
2182
2183 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2184 (main): Call gdb_unbuffer_output.
2185 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2186 (main): Call gdb_unbuffer_output.
2187 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2188 (main): Call gdb_unbuffer_output.
2189 * gdb.base/call-strs.exp: Adjust to step over the
2190 gdb_unbuffer_output call.
2191 * gdb.base/catch-gdb-caused-signals.c: Include
2192 "../lib/unbuffer_output.c".
2193 (main): Call gdb_unbuffer_output.
2194 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2195 (main): Call gdb_unbuffer_output.
2196 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2197 (main): Call gdb_unbuffer_output.
2198 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2199 (main): Call gdb_unbuffer_output.
2200 * gdb.base/shlib-call.exp: Adjust to step over the
2201 gdb_unbuffer_output call.
2202 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2203 (main): Call gdb_unbuffer_output.
2204 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2205 (main): Call gdb_unbuffer_output.
2206 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2207 (main): Rename to ...
2208 (test): ... this.
2209 (main): Reimplement.
2210 * gdb.base/varargs.exp: Run to test instead of to main.
2211 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2212 (main): Call gdb_unbuffer_output.
2213
58789a91
PA
22142015-07-29 Pedro Alves <palves@redhat.com>
2215
2216 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2217 factore out from mi_continue_dprintf. For call-style dprintfs,
2218 expect dprintf output out of $inferior_spawn_id.
2219 (mi_continue_dprintf): Use mi_expect_dprintf.
2220 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2221 (main): Call gdb_unbuffer_output.
2222
e8376742
PA
22232015-07-29 Pedro Alves <palves@redhat.com>
2224
2225 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2226 (default_mi_gdb_start): Set inferior_spawn_id instead of
2227 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2228 gdb_spawn_id.
2229 (mi_gdb_test): Always expect inferior output from both
2230 $inferior_spawn_id and $gdb_spawn_id.
2231
08280010
PA
22322015-07-29 Pedro Alves <palves@redhat.com>
2233
2234 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2235 send_inferior and $inferior_spawn_id.
2236
4d30e432
PA
22372015-07-29 Pedro Alves <palves@redhat.com>
2238
2239 * gdb.gdb/complaints.exp (test_initial_complaints)
2240 (test_serial_complaints, test_short_complaints): Use
2241 gdb_test_stdio.
2242 (test_empty_complaint): Handle $inferior_spawn_id !=
2243 $gdb_spawn_id.
2244
0d30a335
PA
22452015-07-29 Pedro Alves <palves@redhat.com>
2246
2247 * gdb.base/varargs.exp: Use gdb_test_stdio.
2248
39413b29
PA
22492015-07-29 Pedro Alves <palves@redhat.com>
2250
2251 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2252
7cb000a9
PA
22532015-07-29 Pedro Alves <palves@redhat.com>
2254
2255 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2256
d7b8ac82
PA
22572015-07-29 Pedro Alves <palves@redhat.com>
2258
2259 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2260 parameter into two new parameters, "inf_result" and "gdb_result".
2261 Expect inferior output and gdb output from $inferior_spawn_id and
2262 $gdb_spawn_id, respectively. Adjust all callers.
2263
789c3a0c
PA
22642015-07-29 Pedro Alves <palves@redhat.com>
2265
2266 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2267 of gdb_test_sequence.
2268
77e760c3
PA
22692015-07-29 Pedro Alves <palves@redhat.com>
2270
2271 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2272 (saw_spurious_output): Expect inferior output from
2273 $inferior_spawn_id. Use gdb_test_stdio.
2274
8396d2cd
PA
22752015-07-29 Pedro Alves <palves@redhat.com>
2276
2277 * gdb.base/dprintf.exp: Use standard_testfile. Change
2278 prepare_for_testing call.
2279 (srcfile): Don't set.
2280 (restart): New procedure.
2281 (test_dprintf): New procecure, use to continue over dprintfs.
2282 (test_call, test_agent): New procedures, tests moved here.
2283 Restart gdb and recreate dprintfs. Adjust expected output.
2284
2051d61f
PA
22852015-07-29 Pedro Alves <palves@redhat.com>
2286
2287 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2288
452397af
PA
22892015-07-29 Pedro Alves <palves@redhat.com>
2290
2291 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2292
8aed9555
PA
22932015-07-29 Pedro Alves <palves@redhat.com>
2294
2295 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2296 gdb_test_stdio.
2297
188a61b4
PA
22982015-07-29 Pedro Alves <palves@redhat.com>
2299
2300 * lib/gdb.exp (gdb_test_stdio): New procedure.
2301
12264a45
PA
23022015-07-29 Pedro Alves <palves@redhat.com>
2303
2304 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2305
23ffc893
PA
23062015-07-29 Pedro Alves <palves@redhat.com>
2307
2308 * gdb.base/call-signal-resume.exp: Remove check for
2309 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2310 * gdb.base/unwindonsignal.exp: Likewise.
2311 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2312 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2313
65566918
PA
23142015-07-29 Pedro Alves <palves@redhat.com>
2315
2316 * gdb.base/siginfo-addr.c (pass): New function.
2317 (handler): Call it iff si_addr is correct.
2318 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2319 Set a breakpoint at "pass" and continue to it.
2320
d60a9221
SDJ
23212015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2322
2323 * gdb.python/py-objfile.exp: Make some tests have unique names.
2324 * gdb.python/py-pp-registration.exp: Likewise.
2325
bde40b8f
PA
23262015-07-28 Pedro Alves <palves@redhat.com>
2327
2328 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2329
13e1dec8
SM
23302015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2331
2332 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2333
da33c9a7
SM
23342015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2335
2336 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2337
077836f7
PP
23382015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2339
2340 * gdb.base/gdb-sigterm-2.exp: New test.
2341
b8cc7b2e
DE
23422015-07-25 Doug Evans <xdje42@gmail.com>
2343
2344 Revert:
2345 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2346 (workers/%.worker, build-perf): New rule.
2347 (GDB_PERFTEST_MODE): New variable.
2348 (check-perf): Use it.
2349 (clean): Clean up gdb.perf parallel build subdirs.
2350 * lib/build-piece.exp: New file.
2351 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2352 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2353 name.
2354 (standard_temp_file): Ditto.
2355 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2356 of $GDB_PARALLEL.
2357
c8bd4544
DE
23582015-07-24 Doug Evans <dje@google.com>
2359
2360 * gdb.perf/lib/perftest/utils.py: New file.
2361 * gdb.perf/gm-hello.cc: New file.
2362 * gdb.perf/gm-pervasive-typedef.cc: New file.
2363 * gdb.perf/gm-pervasive-typedef.h: New file.
2364 * gdb.perf/gm-std.cc: New file.
2365 * gdb.perf/gm-std.h: New file.
2366 * gdb.perf/gm-use-cerr.cc: New file.
2367 * gdb.perf/gm-utils.h: New file.
2368 * gdb.perf/gmonster-null-lookup.py: New file.
2369 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2370 * gdb.perf/gmonster-print-cerr.py: New file.
2371 * gdb.perf/gmonster-ptype-string.py: New file.
2372 * gdb.perf/gmonster-runto-main.py: New file.
2373 * gdb.perf/gmonster-select-file.py: New file.
2374 * gdb.perf/gmonster1-null-lookup.exp: New file.
2375 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2376 * gdb.perf/gmonster1-print-cerr.exp: New file.
2377 * gdb.perf/gmonster1-ptype-string.exp: New file.
2378 * gdb.perf/gmonster1-runto-main.exp: New file.
2379 * gdb.perf/gmonster1-select-file.exp: New file.
2380 * gdb.perf/gmonster1.cc: New file.
2381 * gdb.perf/gmonster1.exp: New file.
2382 * gdb.perf/gmonster2-null-lookup.exp: New file.
2383 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2384 * gdb.perf/gmonster2-print-cerr.exp: New file.
2385 * gdb.perf/gmonster2-ptype-string.exp: New file.
2386 * gdb.perf/gmonster2-runto-main.exp: New file.
2387 * gdb.perf/gmonster2-select-file.exp: New file.
2388 * gdb.perf/gmonster2.cc: New file.
2389 * gdb.perf/gmonster2.exp: New file.
2390
6eab34f3
DE
23912015-07-24 Doug Evans <dje@google.com>
2392
2393 * gdb.perf/README: New file.
2394 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2395 * lib/gen-perf-test.exp: New file.
2396
63738bfd
DE
23972015-07-24 Doug Evans <dje@google.com>
2398
2399 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2400 (PerfTest::startup): New function.
2401 (PerfTest::run): Return result of calling body.
2402 (PerfTest::assemble): Rewrite.
2403 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2404 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2405 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2406 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2407 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2408
7b606f95
DE
24092015-07-24 Doug Evans <dje@google.com>
2410
2411 * lib/gdb.exp (clean_restart): Make executable optional.
2412
a97b16b8
DE
24132015-07-24 Doug Evans <dje@google.com>
2414
2415 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2416 compiler_info references.
2417 * gdb.cp/temargs.exp: Ditto.
2418 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2419 (get_compiler_info): Early exit if already computed. Set compiler_info
2420 to "unknown" if there was a problem.
2421 (test_compiler_info): Add function comment. Call get_compiler_info.
2422
35baa57f
DE
24232015-07-24 Doug Evans <dje@google.com>
2424
2425 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2426 (workers/%.worker, build-perf): New rule.
2427 (GDB_PERFTEST_MODE): New variable.
2428 (check-perf): Use it.
2429 (clean): Clean up gdb.perf parallel build subdirs.
2430 * lib/build-piece.exp: New file.
2431 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2432 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2433 name.
2434 (standard_temp_file): Ditto.
2435 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2436 of $GDB_PARALLEL.
2437
6ebea266
DE
24382015-07-24 Doug Evans <dje@google.com>
2439
2440 * lib/future.exp (gdb_default_target_compile): New option
2441 "early_flags".
2442 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2443 --as-needed.
2444
1e76a7e9
SDJ
24452015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2446
2447 * gdb.base/catch-syscall.exp: Call gdb_exit before
2448 gdb_skip_xml_test.
2449
5068630a
PA
24502015-07-24 Pedro Alves <palves@redhat.com>
2451
2452 * gdb.python/py-events.exp: Accept output between the stop event
2453 and the prompt.
2454 * gdb.python/py-evsignal.exp: Likewise.
2455 * gdb.python/py-evthreads.exp: Likewise.
2456
77598427
PA
24572015-07-24 Pedro Alves <palves@redhat.com>
2458
2459 PR gdb/18717
2460 * gdb.threads/non-ldr-exit.c: New file.
2461 * gdb.threads/non-ldr-exit.exp: New file.
2462
11e6c98f
YQ
24632015-07-24 Yao Qi <yao.qi@linaro.org>
2464
2465 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2466 restarting process.
2467
51aee833
YQ
24682015-07-24 Yao Qi <yao.qi@linaro.org>
2469
2470 * gdb.server/ext-restart.exp: New file.
2471
8cfe207c
YQ
24722015-07-24 Yao Qi <yao.qi@linaro.org>
2473
2474 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2475 argument options.
2476 * gdb.server/ext-wrapper.exp: New file.
2477
cc12ce38
DE
24782015-07-23 Doug Evans <dje@google.com>
2479
2480 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2481 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2482
d0d84780
PMR
24832015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2484
2485 * gdb.ada/var_arr_typedef.exp: New testcase.
2486 * gdb.ada/var_arr_typedef/pack.adb: New file.
2487 * gdb.ada/var_arr_typedef/pack.ads: New file.
2488 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2489
8b558f79
JB
24902015-07-20 Joel Brobecker <brobecker@adacore.com>
2491
2492 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2493
775a3298
JK
24942015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2495
2496 * gdb.arch/i386-biarch-core.exp: Replace istarget
2497 by "complete set gnutarget". Remove expectation for the "core-file"
2498 command.
2499
db1ff28b
JK
25002015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2501
2502 Revert the previous commit:
2503 Tests for validate symbol file using build-id.
2504
0a94970d
JK
25052015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2506
2507 Tests for validate symbol file using build-id.
2508 * gdb.base/solib-mismatch-lib.c: New file.
2509 * gdb.base/solib-mismatch-libmod.c: New file.
2510 * gdb.base/solib-mismatch.c: New file.
2511 * gdb.base/solib-mismatch.exp: New file.
2512
03346981
SL
25132015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2514
2515 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2516 nios2-*-linux*.
2517 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2518 * gdb.base/siginfo.exp: Likewise.
2519 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2520
42422cc7
PL
25212015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2522
2523 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2524 Move it to ...
2525 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2526 ... here.
2527 * gdb.trace/range-stepping.exp: Check that the target supports
2528 range stepping.
2529
cfa68bae
JK
25302015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2531
2532 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2533
8ffdba26
PA
25342015-07-14 Pedro Alves <palves@redhat.com>
2535
2536 * gdb.base/killed-outside.exp: New file.
2537 * gdb.base/killed-outside.c: New file.
2538
218a5a11
JK
25392015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2540
2541 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2542 (n at main): New.
2543 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2544
e03ed3c6
AA
25452015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2546
2547 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2548 infcall tests instead of setting up for KFAIL.
2549
485668e5
MM
25502015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2551
2552 * gdb.btrace/record_goto-step.exp: New.
2553
08464196
JK
25542015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2555
2556 PR compile/18484
2557 * gdb.compile/compile.c (struct struct_type): Add volatile to
2558 selffield's type.
2559 * gdb.compile/compile.exp
2560 (compile code struct_object.selffield = &struct_object): Skip further
2561 struct_object tests if this one xfails.
2562
bcf5c1d9
RC
25632015-07-08 Robert O'Callahan <robert@ocallahan.org>
2564
2565 PR exp/18617
2566 * gdb.trace/ax.exp: Add test.
2567
4931af25
YQ
25682015-07-07 Yao Qi <yao.qi@linaro.org>
2569
2570 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2571 instead of istarget "aarch64*-*-*".
2572 * gdb.arch/aarch64-fp.exp: Likewise.
2573 * gdb.base/float.exp: Likewise.
2574 * gdb.reverse/aarch64.exp: Likewise.
2575 * lib/gdb.exp (is_aarch64_target): New proc.
2576
9fcf688e
YQ
25772015-07-07 Yao Qi <yao.qi@linaro.org>
2578
2579 * lib/gdb.exp (is_aarch32_target): New proc.
2580 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2581 instead of "istarget "arm*-*-*"".
2582 * gdb.arch/arm-disp-step.exp: Likewise.
2583 * gdb.arch/thumb-bx-pc.exp: Likewise.
2584 * gdb.arch/thumb-prologue.exp: Likewise.
2585 * gdb.arch/thumb-singlestep.exp: Likewise.
2586 * gdb.base/disp-step-syscall.exp: Likewise.
2587 * gdb.base/float.exp: Likewise.
2588
fbd8d50d
YQ
25892015-07-07 Yao Qi <yao.qi@linaro.org>
2590
2591 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2592 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2593
71be1fdc
YQ
25942015-07-07 Yao Qi <yao.qi@linaro.org>
2595
2596 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2597 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2598 if it exists.
2599 * gdb.multi/multi-arch.exp: Likewise.
2600
3e221d36
SM
26012015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2602
2603 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2604 print.
2605
d441430b
YQ
26062015-07-07 Yao Qi <yao.qi@linaro.org>
2607
2608 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2609
06f810bd
MG
26102015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2611
2612 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2613 '[' and ']' characters.
2614
5e61e7c0
IB
26152015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2616
2617 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2618
28bf096c
PA
26192015-06-29 Pedro Alves <palves@redhat.com>
2620
2621 PR threads/18127
2622 * gdb.threads/hand-call-new-thread.c: New file.
2623 * gdb.threads/hand-call-new-thread.c: New file.
2624
ee93cd5e
KS
26252015-06-26 Keith Seitz <keiths@redhat.com>
2626 Doug Evans <dje@google.com>
2627
2628 PR 16253
2629 * gdb.cp/var-tag-2.cc: New file.
2630 * gdb.cp/var-tag-3.cc: New file.
2631 * gdb.cp/var-tag-4.cc: New file.
2632 * gdb.cp/var-tag.cc: New file.
2633 * gdb.cp/var-tag.exp: New file.
2634
fc637f04
PP
26352015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2636
2637 * gdb.base/history-duplicates.exp: New test.
2638
2e52ae68
PP
26392015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2640
2641 * gdb.base/completion.exp: Test the completion of the "focus"
2642 command.
2643
6e22494e
JK
26442015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2645
2646 * gdb.arch/amd64-prologue-skip.S: New file.
2647 * gdb.arch/amd64-prologue-skip.exp: New file.
2648
bf7b9cd9
SM
26492015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2650
2651 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2652 is_address_zero_readable check.
2653
201e8dfd
PB
26542015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2655
2656 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2657 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2658
5cd867b4
YQ
26592015-06-24 Yao Qi <yao.qi@linaro.org>
2660
2661 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2662 linux targets.
2663
4d7be007
YQ
26642015-06-24 Yao Qi <yao.qi@linaro.org>
2665
2666 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2667 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2668 * gdb.base/siginfo-thread.exp: Likewise.
2669
07fcd301
YQ
26702015-06-22 Yao Qi <yao.qi@linaro.org>
2671
2672 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2673
52042a00
YQ
26742015-06-22 Yao Qi <yao.qi@linaro.org>
2675
2676 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2677 aarch64*-*-*.
2678 (skip_hw_watchpoint_tests): Likewise.
2679
74bd41ce
PP
26802015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2681
2682 * gdb.base/gdbinit-history.exp: Test the interaction between
2683 setting GDBHISTSIZE and setting the history size via .gdbinit.
2684
bc460514
PP
26852015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2686
2687 PR gdb/16999
2688 * gdb.base/gdbhistsize-history.exp: New test.
2689
b58c513b
PP
26902015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2691
2692 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2693 with GDBHISTSIZE.
2694 * gdb.base/readline.exp: Likewise.
2695
92046791
YQ
26962015-06-17 Yao Qi <yao.qi@linaro.org>
2697
2698 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2699 line.
2700
2093d2d3
PP
27012015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2702
2703 * gdb.base/gdbinit-history.exp: Add test case to check that
2704 an unlimited history file does not get truncated on exit.
2705
e6c693af
AA
27062015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2707
2708 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2709 (VECTOR): New macro. Use it...
2710 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2711 ...for these typedefs.
2712 (int8, char1, int1, double1): New typedefs.
2713 (struct just_int2, struct two_int2): New structures.
2714 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2715 (add_structvecs, add_singlevecs): New functions.
2716 (main): Call add_some_intvecs twice.
2717 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2718 the compile and exit upon failure. Try compiling for the "native"
2719 architecture. Test inferior function calls with vector arguments
2720 and vector return value handling with "finish" and "return".
2721
c74f7d1c
JT
27222015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2723
2724 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2725 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2726 PE file.
2727 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2728
98aa42ee
AT
27292015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2730
2731 PR breakpoints/16465
2732 * gdb.mi/mi-dprintf-pending.c: New file.
2733 * gdb.mi/mi-dprintf-pending.exp: New test.
2734 * gdb.mi/mi-dprintf-pendshr.c: New file.
2735
7d73c23c 27362015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2737 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2738
2739 * gdb.arch/i386-mpx-map.c: New file.
2740 * gdb.arch/i386-mpx-map.exp: New File.
2741
27422015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2743
2744 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2745 * gdb.arch/i386-mpx.exp: Indentation fixed.
2746
27472015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2748
2749 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2750 function and improved indentation.
2751 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2752 gdb_test_multiple. Added additional tests to skip the test.
2753
27542015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2755
2756 * gdb.arch/i386-avx512.c: Change path in include file.
2757 * gdb.arch/i386-avx512.exp: Change include dir path
2758 compilation flag.
2759 * gdb.arch/i386-mpx.c: Change path in include file.
2760 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2761 flag.
2762
d5eba19a
JK
27632015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2764
2765 * gdb.compile/compile-print.exp (compile print *vararray@3)
2766 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2767
7f361056
JK
27682015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2769
2770 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2771 (do not keep jit in memory): ... this.
2772 (expect 5): Change it to ...
2773 (expect no 5): ... this.
2774
3b462ec2
SM
27752015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2776
2777 PR gdb/15564
2778 * gdb.mi/mi-detach.exp: New file.
2779
e0619de6
JK
27802015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2781
2782 PR symtab/18392
2783 * gdb.arch/amd64-tailcall-self.S: New file.
2784 * gdb.arch/amd64-tailcall-self.c: New file.
2785 * gdb.arch/amd64-tailcall-self.exp: New file.
2786
e970cb34
DB
27872015-05-28 Don Breazeal <donb@codesourcery.com>
2788
2789 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2790 tests for remote targets by checking is_target_gdbserver.
2791
b2e2f908
DE
27922015-05-27 Doug Evans <dje@google.com>
2793
2794 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2795 * gdb.dwarf2/opaque-type-lookup.c: New file.
2796 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2797
82c7be31
DE
27982015-05-26 Doug Evans <dje@google.com>
2799
2800 * gdb.cp/iostream.cc: New file.
2801 * gdb.cp/iostream.exp: New file.
2802
b4f54984
DE
28032015-05-26 Doug Evans <dje@google.com>
2804
2805 * gdb.dwarf2/dw2-op-call.exp: Update.
2806 * gdb.dwarf2/dw4-sig-types.exp: Update.
2807 * gdb.dwarf2/implptr.exp: Update.
2808 * gdb.mi/mi-cmd-param-changed.exp: Update.
2809
4ea6efe9
DE
28102015-05-26 Doug Evans <dje@google.com>
2811
2812 * gdb.python/py-lazy-string.c: New file.
2813 * gdb.python/py-lazy-string.exp: New file.
2814 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2815 (main): Update. Add estring3.
2816 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2817 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2818
f6bb7db3
YQ
28192015-05-26 Omair Javaid <omair.javaid@linaro.org>
2820 Yao Qi <yao.qi@linaro.org>
2821
2822 * gdb.reverse/aarch64.c: New.
2823 * gdb.reverse/aarch64.exp: New.
2824
a81bfbd0
OJ
28252015-05-26 Omair Javaid <omair.javaid@linaro.org>
2826
2827 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2828 (supports_reverse): Likewise.
2829
158bf1b4
PP
28302015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2831
2832 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2833 Use with_test_prefix.
2834
a0145030
AB
28352015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2836
2837 * gdb.base/completion.exp: Add test for completion of layout
2838 names.
2839
ebe3b578
AB
28402015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2841
2842 * lib/gdb.exp (skip_tui_tests): New proc.
2843 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2844
84204ed7
PA
28452015-05-19 Pedro Alves <palves@redhat.com>
2846
2847 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2848 Save the whole env array instead of just HOME. Unset HISTSIZE in
2849 the environment while testing. Restore whole environment
2850 afterwards.
2851
37442ce1
DE
28522015-05-16 Doug Evans <xdje42@gmail.com>
2853
2854 * gdb.guile/scm-ports.c: New file.
2855 * gdb.guile/scm-ports.exp: Add memory port tests.
2856
36de76f9
JK
28572015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2858
2859 * gdb.compile/compile-print.c: New file.
2860 * gdb.compile/compile-print.exp: New file.
2861
3a9558c4
JK
28622015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2863
2864 * gdb.compile/compile-ops.exp: Cast param to void.
2865 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2866 (compile code struct_object.selffield = &struct_object): Add xfail.
2867
aa715135
JG
28682015-05-15 Joel Brobecker <brobecker@adacore.com>
2869
2870 * gdb.ada/arr_enum_with_gap: New testcase.
2871
931e5bc3
JG
28722015-05-15 Joel Brobecker <brobecker@adacore.com>
2873
2874 * gdb.ada/byte_packed_arr: New testcase.
2875
9cd4d857
JB
28762015-05-15 Joel Brobecker <brobecker@adacore.com>
2877
2878 * gdb.ada/pckd_neg: New testcase.
2879
ebfd00d2
PP
28802015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2881
2882 PR gdb/17820
2883 * gdb.base/gdbinit-history.exp: New test.
2884 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2885 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2886
4c082a81
SC
28872015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2888
2889 * gdb.python/py-xmethods.cc: Enhance test case.
2890 * gdb.python/py-xmethods.exp: New tests.
2891 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2892 function.
2893 (B_indexoper): Likewise.
2894 (global_dm_list) : Add new xmethod worker functions.
2895
f7797074
SDJ
28962015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2897
2898 * gdb.base/coredump-filter.exp: Correctly unset
2899 "coredump_var_addr" array.
2900
a4674e4e
PA
29012015-05-08 Pedro Alves <palves@redhat.com>
2902
2903 * gdb.server/non-existing-program.exp: Unset spawn_id.
2904
df2eb078
SC
29052015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2906
2907 PR python/18291
2908 * gdb.python/py-xmethods.exp: Add tests.
2909
422349a3
YQ
29102015-05-08 Yao Qi <yao.qi@linaro.org>
2911
2912 PR gdb/18208
2913 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2914 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2915 function set_coredump_filter, and remove remote_exec call.
2916 Remove argument ipid. Callers update.
2917 (top level): Don't get inferior's PID.
2918
63fc80ce
AA
29192015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2920
2921 * gdb.base/watch_thread_num.exp: Skip test on targets without
2922 access watchpoints.
2923
80ad801e
PA
29242015-05-06 Pedro Alves <palves@redhat.com>
2925
2926 PR server/18081
2927 * gdb.server/non-existing-program.exp: New file.
2928
0fa7fe50
JB
29292015-05-05 Joel Brobecker <brobecker@adacore.com>
2930
2931 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2932
3ea89b92
PMR
29332015-05-05 Joel Brobecker <brobecker@adacore.com>
2934
2935 * gdb.ada/out_of_line_in_inlined: New testcase.
2936
87b8eff0
JB
29372015-05-05 Joel Brobecker <brobecker@adacore.com>
2938
2939 * gdb.ada/var_rec_arr: New testcase.
2940
5fccc635
YQ
29412015-04-30 Yao Qi <yao.qi@linaro.org>
2942
2943 * gdb.base/break-idempotent.exp: If
2944 skip_hw_watchpoint_multi_tests returns true, skip the tests
2945 on "rwatch" and "awatch".
2946
42d38f42
YQ
29472015-04-30 Yao Qi <yao.qi@linaro.org>
2948
2949 * gdb.base/relativedebug.exp: Invoke gdb command
2950 "info sharedlibrary", and if libc.so doesn't have debug info,
2951 skip the test.
2952
2ce1cdbf
DE
29532015-04-29 Doug Evans <dje@google.com>
2954
2955 * gdb.python/py-xmethods.exp: Add ptype tests.
2956 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2957 get_result_type method.
2958
f24a38c5
LM
29592015-04-29 Luis Machado <lgustavo@codesourcery.com>
2960
2961 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2962 the target does not support hardware watchpoints.
2963
ecbf2b3c
LM
29642015-04-29 Luis Machado <lgustavo@codesourcery.com>
2965
2966 * gdb.base/break-always.exp: Abort testing if writing to memory
2967 causes an error.
2968
34f5f757
DE
29692015-04-28 Doug Evans <dje@google.com>
2970
2971 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2972 * gdb.python/py-pp-registration.exp: ... here. New file.
2973 * gdb.python/py-pp-registration.c: New file.
2974 * gdb.python/py-pp-registration.py: New file.
2975
69b4374a
DE
29762015-04-28 Doug Evans <dje@google.com>
2977
2978 * gdb.python/py-bad-printers.c: New file.
2979 * gdb.python/py-bad-printers.py: New file.
2980 * gdb.python/py-bad-printers.exp: New file.
2981
59fb7612
SS
29822015-04-28 Sasha Smundak <asmundak@google.com>
2983
2984 * gdb.python/py-type.exp: New test.
2985
2631b16a
AW
29862015-04-28 Andy Wingo <wingo@igalia.com>
2987
2988 * gdb.python/py-parameter.exp:
2989 * gdb.guile/scm-parameter.exp: Escape the path that we are
2990 matching against, as it might contain characters that are special
2991 to regular expressions.
2992
460efde1
JB
29932015-04-27 Joel Brobecker <brobecker@adacore.com>
2994
2995 * gdb.ada/rec_comp: New testcase.
2996
2d369d8e
SDJ
29972015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2998
2999 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3000 before using it.
3001
cf75d6c3
AB
30022015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3003
3004 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3005 new tests for verilog output.
3006
8dbe7ca5
YQ
30072015-04-24 Yao Qi <yao.qi@linaro.org>
3008
3009 * boards/remote-gdbserver-on-localhost.exp: New file.
3010
4ef9fb2f
PA
30112015-04-23 Pedro Alves <palves@redhat.com>
3012
3013 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3014 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3015 "end of file", remove $inferior_spawn_id from the indirect list.
3016
0a803169
PA
30172015-04-23 Pedro Alves <palves@redhat.com>
3018
3019 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3020
749ef8f8
PA
30212015-04-23 Pedro Alves <palves@redhat.com>
3022
3023 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3024 on $any_spawn_id instead of only on $gdb_spawn_id.
3025
8aae4344
PM
30262015-04-21 Pierre Muller <muller@sourceware.org>
3027
3028 PR pascal/17815
3029 * lib/pascal.exp (gpc_compile): Add new option "class".
3030 (fpc_compile): Likewise.
3031 * gdb.pascal/case-insensitive-symbols.pas: New file.
3032 * gdb.pascal/case-insensitive-symbols.exp: New file.
3033
1586c8fb
GB
30342015-04-20 Gary Benson <gbenson@redhat.com>
3035
3036 * gdb.base/attach.exp: Fix three extended remote failures.
3037
1b6e6f5c
GB
30382015-04-17 Gary Benson <gbenson@redhat.com>
3039
3040 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3041 the main executable over the remote protocol.
3042
e797481d
PA
30432015-04-16 Pedro Alves <palves@redhat.com>
3044
3045 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3046 a new gdbserver if gdbserver_reconnect_p is set.
3047
1ca99c42
PA
30482015-04-16 Pedro Alves <palves@redhat.com>
3049
3050 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3051 is set, don't exit gdbserver.
3052
af9fd6f8
AA
30532015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3054
3055 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3056 appropriate .insn, such that an older assembler can be used.
3057 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3058 the z/Architecture instruction set on 31-bit targets as well.
3059
04ff1e61
AA
30602015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3061
3062 * gdb.go/handcall.exp: Remove all logic related to the first
3063 breakpoint and rely on go_runto_main instead.
3064 * gdb.go/strings.exp: Likewise.
3065 * gdb.go/unsafe.exp: Likewise.
3066 * gdb.go/hello.exp: Likewise. Also rename the remaining
3067 breakpoint marker to "breakpoint 1".
3068 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3069 * gdb.go/strings.go: Likewise.
3070 * gdb.go/unsafe.go: Likewise.
3071 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3072 "set breakpoint 2 here" and rename the remaining breakpoint marker
3073 to "breakpoint 1".
3074
40d2f8d6
SM
30752015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3076
3077 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3078 if itertools.imap is not present.
3079 * gdb.python/py-objfile.exp: Add parentheses.
3080 * gdb.python/py-type.exp: Same.
3081 * gdb.python/py-unwind-maint.py: Same.
3082
8cbc97c6
YQ
30832015-04-15 Yao Qi <yao.qi@linaro.org>
3084
3085 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3086 of ":$ptr_size" and set its form explicitly.
3087
45fd756c
YQ
30882015-04-15 Pedro Alves <palves@redhat.com>
3089 Yao Qi <yao.qi@linaro.org>
3090
3091 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3092 timeout by factor of 4.
3093 (test_regular_watch): Likewise.
3094 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3095 * gdb.reverse/sigall-reverse.exp: Likewise.
3096 * gdb.reverse/until-precsave.exp: Likewise.
3097 * lib/gdb.exp (with_timeout_factor): New proc.
3098 (gdb_expect): Move some code to ...
3099 (get_largest_timeout): ... here. New procedure.
3100
9e811bc3
LM
31012015-04-14 Luis Machado <lgustavo@codesourcery.com>
3102
3103 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3104
0ff6fcb2
LM
31052015-04-13 Luis Machado <lgustavo@codesourcery.com>
3106
3107 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3108 to write to the .text section.
3109
7578d5f7
LM
31102015-04-13 Luis Machado <lgustavo@codesourcery.com>
3111
3112 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3113 Handle the case of targets that do not provide PID information.
3114
2efe15c4
YQ
31152015-04-13 Yao Qi <yao.qi@linaro.org>
3116
3117 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3118 and use expect instead of gdb_expect.
3119
8cd8f2f8
SDJ
31202015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3121
3122 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3123 "coredump_var_addr" to avoid naming conflict with other testcases.
3124
9ee41772
PA
31252015-04-10 Pedro Alves <palves@redhat.com>
3126
3127 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3128 gdb_test_sequence and gdb_assert.
3129
07473109
PA
31302015-04-10 Pedro Alves <palves@redhat.com>
3131
3132 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3133 test messages that don't include the breakpoint address.
3134
de3db44c
YQ
31352015-04-10 Yao Qi <yao.qi@linaro.org>
3136
3137 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3138 false for some offset and width combinations which aren't
3139 supported by linux kernel.
3140
c79d856c
PA
31412015-04-10 Pedro Alves <palves@redhat.com>
3142
3143 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3144 procedure, factored out from ...
3145 (top level): ... here. Add "set displaced-stepping" testing axis.
3146 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3147 parameter "displaced". Use it.
3148 (top level): Use foreach and add "set displaced-stepping" testing
3149 axis.
3150
ebc90b50
PA
31512015-04-10 Pedro Alves <palves@redhat.com>
3152
3153 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3154 Remove comment.
3155 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3156 both the address of the instruction that triggers the watchpoint
3157 and the address of the instruction immediately after, and use
3158 those addresses for the test. Fix comment.
3159
8f572e5c
PA
31602015-04-10 Pedro Alves <palves@redhat.com>
3161
3162 * gdb.base/sigstep.exp (breakpoint_to_handler)
3163 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3164 Test "backtrace" in handler.
3165 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3166 (top level): Add new "displaced" test axis to
3167 breakpoint_to_handler, breakpoint_to_handler_entry and
3168 breakpoint_over_handler.
3169
8d707a12
PA
31702015-04-10 Pedro Alves <palves@redhat.com>
3171
3172 PR gdb/18216
3173 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3174
ef713951
YQ
31752015-04-10 Yao Qi <yao.qi@linaro.org>
3176
3177 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3178 (test_add_rn_pc): New function.
3179 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3180 (top level): Invoke test_add_rn_pc.
3181
906d60cf
PA
31822015-04-10 Pedro Alves <palves@redhat.com>
3183
3184 PR gdb/13858
3185 * gdb.base/step-over-no-symbols.exp: New file.
3186
f2983cc3
AW
31872015-04-09 Andy Wingo <wingo@igalia.com>
3188
3189 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3190 after the Python tests.
3191
6d62641c
SDJ
31922015-04-08 Keith Seitz <keiths@redhat.com>
3193
3194 PR python/16699
3195 * gdb.python/py-completion.exp: New tests for completion.
3196 * gdb.python/py-completion.py (CompleteLimit1): New class.
3197 (CompleteLimit2): Likewise.
3198 (CompleteLimit3): Likewise.
3199 (CompleteLimit4): Likewise.
3200 (CompleteLimit5): Likewise.
3201 (CompleteLimit6): Likewise.
3202 (CompleteLimit7): Likewise.
3203
f3770638
PA
32042015-04-08 Pedro Alves <palves@redhat.com>
3205
3206 PR gdb/18214
3207 PR gdb/18216
3208 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3209 function.
3210 (main): Install it as SIGUSR1 handler.
3211 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3212 parameter. Always use "setup" as prefix. Toggle "set
3213 displaced-stepping" off/on depending on global. Don't switch to
3214 thread 1 here.
3215 (top level): Add displaced stepping "off/on" test axis. Update
3216 "setup" calls. Wrap each subtest with with_test_prefix. Test
3217 continuing with a queued signal in each thread.
3218
4496bed7
PA
32192015-04-08 Pedro Alves <palves@redhat.com>
3220
3221 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3222 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3223 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3224 Return early if running to main fails.
3225 * gdb.trace/while-stepping.exp: Likewise.
3226
b97fde92
PA
32272015-04-07 Pedro Alves <palves@redhat.com>
3228
3229 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3230 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3231 interact with inferior program.
3232
f71c18e7
PA
32332015-04-07 Pedro Alves <palves@redhat.com>
3234
3235 * lib/gdb.exp (inferior_spawn_id): New global.
3236 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3237 spawn id after processing the user code.
3238 (default_gdb_start): Set inferior_spawn_id.
3239 (send_inferior): New procedure.
3240 * lib/gdbserver-support.exp (gdbserver_start): Set
3241 inferior_spawn_id.
3242 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3243
6423214f
PA
32442015-04-07 Pedro Alves <palves@redhat.com>
3245
3246 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3247 * lib/gdbserver-support.exp (gdbserver_start): Make
3248 $server_spawn_id global.
3249 (gdbserver_start): Don't wait for gdbserver's spawn id with
3250 expect_background.
3251 (close_gdbserver): New procedure.
3252 (gdb_exit): Rename the default version and reimplement.
3253
71c0ee8c
PA
32542015-04-07 Pedro Alves <palves@redhat.com>
3255
72f4393d 3256 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
3257 append the substituted item, not the original item.
3258
203bc29b
PA
32592015-04-07 Pedro Alves <palves@redhat.com>
3260
3261 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3262 gdb_expect.
3263
508a3ddf
PA
32642015-04-07 Pedro Alves <palves@redhat.com>
3265
3266 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3267 output appearing once only.
3268
9f6dbe2b
PA
32692015-04-07 Pedro Alves <palves@redhat.com>
3270
3271 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3272 that doesn't expect anything. Return early if running to main
3273 fails.
3274
337532fa
YQ
32752015-04-07 Yao Qi <yao.qi@linaro.org>
3276
3277 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3278 (child_function): Call alarm.
3279 (main): Move call to alarm into the loop.
3280 * gdb.threads/non-stop-fair-events.exp: Build program with
3281 -DTIMEOUT=$timeout.
3282
01b622d4
DE
32832015-04-06 Doug Evans <xdje42@gmail.com>
3284
3285 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3286 Fix dest parameter to board_info.
3287 (fpc_compile): Ditto.
3288 (gdb_compile_pascal): Rename dest arg to destfile.
3289
961f4160
PMR
32902015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3291
3292 * gdb.ada/funcall_ref.exp: New file.
3293 * gdb.ada/funcall_ref/foo.adb: New file.
3294
cafda597
YQ
32952015-04-02 Yao Qi <yao.qi@linaro.org>
3296
3297 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3298 is remote.
3299
fed040c6
GB
33002015-04-02 Gary Benson <gbenson@redhat.com>
3301
3302 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3303
d11916aa
SS
33042015-04-01 Sasha Smundak <asmundak@google.com>
3305
3306 * gdb.python/py-unwind-maint.c: New file.
3307 * gdb.python/py-unwind-maint.exp: New test.
3308 * gdb.python/py-unwind-maint.py: New file.
3309 * gdb.python/py-unwind.c: New file.
3310 * gdb.python/py-unwind.exp: New test.
3311 * gdb.python/py-unwind.py: New test.
3312
a1471180
PA
33132015-04-01 Pedro Alves <palves@redhat.com>
3314
3315 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3316 to fail instead of non-existent $test.
3317
0bbeccb1
PA
33182015-04-01 Pedro Alves <palves@redhat.com>
3319
3320 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3321 GDBFLAGS if not empty.
3322
3c724c8c
PMR
33232015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3324
3325 * gdb.ada/complete.exp: Remove "multi_line".
3326 * gdb.ada/info_exc.exp: Remove "multi_line".
3327 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3328 * gdb.ada/ptype_field.exp: Remove "multi_line".
3329 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3330 * gdb.ada/tagged.exp: Remove "multi_line".
3331 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3332 [multi_line ...]
3333 * gdb.btrace/delta.exp: Likewise.
3334 * gdb.btrace/exception.exp: Likewise.
3335 * gdb.btrace/function_call_history.exp: Likewise.
3336 * gdb.btrace/instruction_history.exp: Likewise.
3337 * gdb.btrace/nohist.exp: Likewise.
3338 * gdb.btrace/record_goto.exp: Likewise.
3339 * gdb.btrace/segv.exp: Likewise.
3340 * gdb.btrace/stepi.exp: Likewise.
3341 * gdb.btrace/tailcall.exp: Likewise.
3342 * gdb.btrace/unknown_functions.exp: Likewise.
3343 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3344 * lib/gdb.exp: Add the "multi_line" helper.
3345
4eec2deb
PA
33462015-04-01 Pedro Alves <palves@redhat.com>
3347
3348 * gdb.threads/tid-reuse.c: New file.
3349 * gdb.threads/tid-reuse.exp: New file.
3350
df8411da
SDJ
33512015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3352
3353 PR corefiles/16092
3354 * gdb.base/coredump-filter.c: New file.
3355 * gdb.base/coredump-filter.exp: Likewise.
3356
6ef37366
PM
33572015-03-27 Petr Machata <pmachata@redhat.com>
3358
3359 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3360 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3361 (Dwarf::assemble): Initialize them.
3362 (Dwarf::lines): New function.
3363
7ec911b0
JT
33642015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3365
3366 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3367 SYMBOL_PREFIX for x86_64-*-cygwin.
3368
ff908ebf
AW
33692015-03-26 Andy Wingo <wingo@igalia.com>
3370
3371 PR symtab/18148
3372 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3373 const_value but not a location.
3374 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3375 location defined in non-main CUs are visible.
3376
6d5f0679
YQ
33772015-03-26 Yao Qi <yao.qi@linaro.org>
3378
3379 PR testsuite/18139
3380 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3381 Add a line number entry for the same line.
3382 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3383 Add a line number entry for the same line.
3384
2898689b
YQ
33852015-03-26 Yao Qi <yao.qi@linaro.org>
3386
3387 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3388 .int 0.
3389 (func): Likewise. Add .Lfunc_1 label.
3390 Use .Lfunc_1 label.
3391 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3392 .int 0.
3393 (func): Likewise.
3394 Use .Lfunc_1 label.
3395
85180498
YQ
33962015-03-26 Yao Qi <yao.qi@linaro.org>
3397
3398 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3399 Call gdb_compile instead to compile each .s files without debug
3400 information.
3401
8aa08a8d
YQ
34022015-03-26 Yao Qi <yao.qi@linaro.org>
3403
3404 * gdb.base/savedregs.exp (process_saved_regs): Make
3405 "Saved registers:" optional in the pattern.
3406
66849923
MM
34072015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3408
3409 * gdb.btrace/next.exp: Merged into step.exp.
3410 * gdb.btrace/finish.exp: Merged into step.exp.
3411 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3412 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3413 "record goto" and checking the exact replay position.
3414 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3415 check for "Recording format" in "info record" output.
3416 * gdb.btrace/record_goto.exp: Choose test file based on target.
3417 * gdb.btrace/x86-record_goto.S: Renamed into ...
3418 * gdb.btrace/x86_64-record_goto.S: ... this.
3419 * gdb.btrace/i686-record_goto.S: New.
3420 * gdb.btrace/x86-tailcall.S: Renamed into ...
3421 * gdb.btrace/x86_64-tailcall.S: ... this.
3422 * gdb.btrace/i686-tailcall.S: New.
3423 * gdb.btrace/x86-tailcall.c: Renamed into ...
3424 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3425 separate statements. Update test.
3426 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3427 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3428 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3429 * gdb.btrace/tailcall.exp: Choose test file based on target.
3430 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3431
11cc1b74
MM
34322015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3433
3434 * gdb.btrace/exception.exp: Increase BTS buffer size.
3435
a25d8bf9
PA
34362015-03-24 Pedro Alves <palves@redhat.com>
3437
3438 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3439
856e7dd6
PA
34402015-03-24 Pedro Alves <palves@redhat.com>
3441
3442 * gdb.threads/schedlock.exp (test_step): No longer expect that
3443 "set scheduler-locking step" with "next" over a function call runs
3444 threads unlocked.
3445
ad235a41
AT
34462015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3447
3448 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3449
15630549
AT
34502015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3451
3452 PR breakpoints/16466
3453 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3454 * gdb.mi/mi-pending.c (thread_func): New function.
3455 (int main): Add threading support required.
3456 * gdb.mi/mi-pending.exp: Add tests for this issue.
3457 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3458 (pendfunc2): Remove stdio dependency.
3459 * gdb.mi/mi-pendshr2.c: New file.
3460
693dca06
KS
34612015-03-23 Keith Seitz <keiths@redhat.com>
3462
3463 * gdb.linespec/keywords.c: New file.
3464 * gdb.linespec/keywords.exp: New file.
3465
7e993ebf
KS
34662015-03-23 Keith Seitz <keiths@redhat.com>
3467
3468 PR gdb/18021
3469 * gdb.dwarf2/staticvirtual.exp: New test.
3470
bc23328c
JK
34712015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3472
3473 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3474 * README: Remove HP-UX and gdb.hp.
3475 (configuration):
3476 * configure: Regenerate.
3477 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3478 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3479 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3480 gdb.hp/gdb.defects/Makefile.
3481 * gdb.hp/Makefile.in: File deleted.
3482 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3483 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3484 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3485 * gdb.hp/gdb.aCC/run.c: File deleted.
3486 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3487 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3488 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3489 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3490 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3491 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3492 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3493 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3494 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3495 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3496 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3497 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3498 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3499 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3500 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3501 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3502 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3503 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3504 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3505 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3506 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3507 * gdb.hp/gdb.compat/average.c: File deleted.
3508 * gdb.hp/gdb.compat/sum.c: File deleted.
3509 * gdb.hp/gdb.compat/xdb.c: File deleted.
3510 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3511 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3512 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3513 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3514 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3515 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3516 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3517 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3518 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3519 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3520 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3521 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3522 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3523 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3524 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3525 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3526 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3527 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3528 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3529 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3530 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3531 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3532 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3533 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3534 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3535 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3536 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3537 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3538 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3539 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3540 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3541 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3542 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3543 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3544 * gdb.hp/tools/odump: File deleted.
3545
8bf3b159
PA
35462015-03-19 Pedro Alves <palves@redhat.com>
3547
3548 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3549 (saw_thread_3): New globals.
3550 (top level): Increment them when an event for the corresponding
3551 thread is seen.
3552 (no thread starvation): New test.
3553
eb54c8bf
PA
35542015-03-19 Pedro Alves <palves@redhat.com>
3555
3556 * gdb.threads/continue-pending-status.c: New file.
3557 * gdb.threads/continue-pending-status.exp: New file.
3558
32d2e5d6
PA
35592015-03-18 Pedro Alves <palves@redhat.com>
3560
3561 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3562 Use gdb_is_target_remote instead of is_remote. Use
3563 gdb_test_multiple instead of gdb_expect. Exit early if
3564 gdb_test_multiple hits its internal matches. Tighten stepi tests
3565 expected output. Fail on exit with any signal, instead of just
3566 SIGILL.
3567
f68f11b7
YQ
35682015-03-18 Yao Qi <yao.qi@linaro.org>
3569
3570 PR tdep/18107
3571 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3572 variable.
3573 * gdb.base/catch-syscall.exp: Don't skip it on
3574 aarch64*-*-linux* target. Remove elements in all_syscalls.
3575 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3576 target.
3577 (setup_all_syscalls): New proc.
3578
ca5fd19b
YQ
35792015-03-16 Yao Qi <yao.qi@linaro.org>
3580
3581 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3582 (top level): Skip tests if valid_addr_p returns false for
3583 $cmd1 or $cmd2.
3584
85642ba0
AW
35852015-03-11 Andy Wingo <wingo@igalia.com>
3586
3587 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3588
e03f9645
YQ
35892015-03-11 Yao Qi <yao.qi@linaro.org>
3590
3591 * gdb.base/catch-syscall.exp: Fix typo in comments.
3592
5d0962b2
YQ
35932015-03-11 Yao Qi <yao.qi@linaro.org>
3594
3595 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3596
b2df3cef
PA
35972015-03-09 Pedro Alves <palves@redhat.com>
3598
3599 * dg-extract-results.py: Delete.
3600
ef878e53
PA
36012015-03-09 Pedro Alves <palves@redhat.com>
3602
3603 Merge dg-extract-results.sh from GCC upstream (r218843).
3604
3605 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3606 * dg-extract-results.sh: Use --text with grep to avoid issues with
3607 binary files. Fall back to cat -v, if that doesn't work.
3608
9494d219
PA
36092015-03-05 Pedro Alves <palves@redhat.com>
3610
3611 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3612
a8d9763a
SM
36132015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3614
3615 * lib/mi-support.exp (mi_expect_interrupt): Accept
3616 alternative event for when in all-stop mode.
3617
be9957b8
PA
36182015-03-04 Pedro Alves <palves@redhat.com>
3619
3620 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3621
d57be0f4 36222015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3623
3624 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3625
c214c7cf
AA
36262015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3627
3628 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3629 regexps for GDB's current line display, accept a hex address
3630 preceding the line number.
3631
6d74a497
AA
36322015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3633
3634 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3635 the 'arch1' variable for "s390*-linux*" targets.
3636
511aee7c
PA
36372015-03-04 Pedro Alves <palves@redhat.com>
3638
3639 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3640 (main): Pass missing retval argument to pthread_join call.
3641
95e50b27
PA
36422015-03-02 Pedro Alves <palves@redhat.com>
3643
3644 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3645 (top level): Call do_test with non-stop as well.
3646
28054d69
PA
36472015-03-02 Pedro Alves <palves@redhat.com>
3648
3649 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3650 -1.
3651
4fa5d7b4
AA
36522015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3653
3654 * gdb.arch/s390-vregs.exp: New test.
3655 * gdb.arch/s390-vregs.S: New file.
3656
97c18565
PA
36572015-02-27 Pedro Alves <palves@redhat.com>
3658
3659 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3660 call to catch_command_errors.
3661 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3662 catch_command_errors.
3663
a37bfa30
PA
36642015-02-27 Pedro Alves <palves@redhat.com>
3665
3666 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3667 "true" for boolean result.
3668 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3669 prototype of main.
3670
6f98576f
PA
36712015-02-27 Pedro Alves <palves@redhat.com>
3672
3673 * lib/unbuffer_output.c: New file.
3674 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3675 (main): Call gdb_unbuffer_output.
3676
eba5ab56
YQ
36772015-02-27 Yao Qi <yao.qi@linaro.org>
3678
3679 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3680 target.
3681
0def5aaa
DE
36822015-02-26 Doug Evans <dje@google.com>
3683
3684 * gdb.cp/class2.cc (Dbase, D): New classes.
3685 (main): New local delta.
3686 * gdb.cp/class2.exp: Test printing delta.
3687 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3688 (dynbar): New global.
3689 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3690
081a1c2c
JK
36912015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3692
3693 * gdb.compile/compile-ifunc.c: New file.
3694 * gdb.compile/compile-ifunc.exp: New file.
3695
2f41223f
AT
36962015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3697
3698 * gdb.base/structs.exp: Check for correct struct on finish.
3699
03eddd80
YQ
37002015-02-26 Yao Qi <yao.qi@linaro.org>
3701
3702 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3703 is zero.
3704
80c57053
JK
37052015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3706
3707 * gdb.arch/cordic.ko.bz2: New file.
3708 * gdb.arch/cordic.ko.debug.bz2: New file.
3709 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3710
21613c12
YQ
37112015-02-25 Yao Qi <yao.qi@linaro.org>
3712
3713 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3714 aarch64*-*-* target.
3715
d8b901ed
PA
37162015-02-23 Pedro Alves <palves@redhat.com>
3717
3718 * lib/gdb.exp (delete_breakpoints): Rewrite using
3719 gdb_test_multiple.
3720
e5b85ead
PA
37212015-02-23 Pedro Alves <palves@redhat.com>
3722
3723 * gdb.base/info-os.c: Include stdlib.h.
3724
85c3a371
DE
37252015-02-22 Doug Evans <xdje42@gmail.com>
3726
3727 PR symtab/17855
3728 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3729 is read after symbols have been re-read.
3730 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3731 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3732
96553a0c
DE
37332015-02-21 Doug Evans <dje@google.com>
3734
3735 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3736
97a0c697
JK
37372015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3738
3739 PR corefiles/17808
3740 * gdb.arch/i386-biarch-core.core.bz2: New file.
3741 * gdb.arch/i386-biarch-core.exp: New file.
3742
a47cd6e9
PA
37432015-02-21 Pedro Alves <palves@redhat.com>
3744
3745 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3746 runto_main fails.
3747
c5facdc4
PA
37482015-02-20 Pedro Alves <palves@redhat.com>
3749
3750 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3751 info probes.
3752
2db9a427
PA
37532015-02-20 Pedro Alves <palves@redhat.com>
3754
3755 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3756
60fb7e9e
PA
37572015-02-20 Pedro Alves <palves@redhat.com>
3758
3759 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3760 clean_restart before gdb_target_supports_trace.
3761
5c5019c2
PA
37622015-02-20 Pedro Alves <palves@redhat.com>
3763
3764 PR threads/18006
3765 * gdb.threads/clone-thread_db.c: New file.
3766 * gdb.threads/clone-thread_db.exp: New file.
3767
c9587f88
AT
37682015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3769
3770 PR breakpoints/16812
3771 * gdb.base/catch-gdb-caused-signals.c: New file.
3772 * gdb.base/catch-gdb-caused-signals.exp: New file.
3773
f6a88844
JM
37742015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3775
3776 * configure: Regenerated.
3777 * configure.ac: Use GDB_AC_TRANSFORM.
3778 * aclocal.m4: sinclude ../transform.m4.
3779
497c491b
JM
37802015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3781
3782 * lib/dtrace.exp: New file.
3783 * gdb.base/dtrace-probe.exp: Likewise.
3784 * gdb.base/dtrace-probe.d: Likewise.
3785 * gdb.base/dtrace-probe.c: Likewise.
3786 * lib/pdtrace.in: Likewise.
3787 * configure.ac: Output variables with the transformed names of
3788 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3789 * configure: Regenerated.
3790
03e98035
JM
37912015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3792
3793 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3794 expected message when trying to access $_probe_* convenience
3795 variables while not on a probe.
3796
63cc30e9
JK
37972015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3798
3799 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3800
0703599a
PA
38012015-02-11 Pedro Alves <pedro@codesourcery.com>
3802
3803 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3804 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3805
7e60a48e
DE
38062015-02-10 Doug Evans <xdje42@gmail.com>
3807
3808 * lib/gdb.exp (gdb_load): Always return a result.
3809
01b088bc
PA
38102015-02-10 Pedro Alves <palves@redhat.com>
3811
3812 * gdb.threads/signal-sigtrap.c: New file.
3813 * gdb.threads/signal-sigtrap.exp: New file.
3814
b05ec7a5
AT
38152015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3816
3817 * gdb.trace/no-attach-trace.c: New file.
3818 * gdb.trace/no-attach-trace.exp: New file.
3819
a2c2acaf
MW
38202015-02-09 Mark Wielaard <mjw@redhat.com>
3821
3822 * gdb.dwarf2/atomic.c: New file.
3823 * gdb.dwarf2/atomic-type.exp: Likewise.
3824
31fd9caa
MM
38252015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3826
3827 * gdb.btrace/buffer-size.exp: Update "info record" output.
3828 * gdb.btrace/delta.exp: Update "info record" output.
3829 * gdb.btrace/enable.exp: Update "info record" output.
3830 * gdb.btrace/finish.exp: Update "info record" output.
3831 * gdb.btrace/instruction_history.exp: Update "info record" output.
3832 * gdb.btrace/next.exp: Update "info record" output.
3833 * gdb.btrace/nexti.exp: Update "info record" output.
3834 * gdb.btrace/step.exp: Update "info record" output.
3835 * gdb.btrace/stepi.exp: Update "info record" output.
3836 * gdb.btrace/nohist.exp: Update "info record" output.
3837
d33501a5
MM
38382015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3839
3840 * gdb.btrace/buffer-size: New.
3841
f4abbc16
MM
38422015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3843
3844 * gdb.btrace/delta.exp: Update "info record" output.
3845 * gdb.btrace/enable.exp: Update "info record" output.
3846 * gdb.btrace/finish.exp: Update "info record" output.
3847 * gdb.btrace/instruction_history.exp: Update "info record" output.
3848 * gdb.btrace/next.exp: Update "info record" output.
3849 * gdb.btrace/nexti.exp: Update "info record" output.
3850 * gdb.btrace/step.exp: Update "info record" output.
3851 * gdb.btrace/stepi.exp: Update "info record" output.
3852 * gdb.btrace/nohist.exp: Update "info record" output.
3853
b9d61307
SM
38542015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3855
3856 PR gdb/15678
3857 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3858
e584fdbc
PA
38592015-02-06 Pedro Alves <palves@redhat.com>
3860
3861 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3862 macro.
3863 (seconds_left, again): New globals.
3864 (main): Wait seconds_left in a 1-second sleep loop instead of
3865 sleeping 180 seconds. If 'again' is set, reset the seconds
3866 counter.
3867 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3868 'again' in the inferior before detaching. Print the seconds left.
3869 (options): New global.
3870 (top level): Build program with -DTIMEOUT=$timeout.
3871
77f41761
PA
38722015-02-06 Pedro Alves <palves@redhat.com>
3873
3874 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3875 determine how many seconds to pass to 'alarm'.
3876 * gdb.base/gdb-sigterm.exp (top level): Build program with
3877 -DTIMEOUT=$timeout.
3878 (do_test): Return success/failure indication. Add more verbose
3879 logging. Don't fail if 200 single steps are seen. Instead, fail
3880 when the test times out.
3881 (passes): New global.
3882 (top level): Break the testing loop if testing fails on any
3883 iteration. Use gdb_assert.
3884
b9394193
DB
38852015-02-04 Don Breazeal <donb@codesourcery.com>
3886
3887 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3888 and initialize them.
3889 (ipc_cleanup): New function.
3890 (main): Don't declare shmid, semid, and msqid. Add a call to
3891 atexit so that we call ipc_cleanup on exit.
3892
42d9e528
PA
38932015-02-04 Pedro Alves <palves@redhat.com>
3894
3895 * boards/native-extended-gdbserver.exp: Remove any target variant
3896 specifications from the board name before clearing the isremote
3897 flag from board_info.
3898
ae6ae975
DE
38992015-01-31 Doug Evans <xdje42@gmail.com>
3900
3901 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3902
cfb069a8
GB
39032015-01-31 Gary Benson <gbenson@redhat.com>
3904
3905 * gdb.base/completion.exp: Disable completion limiting for
3906 existing tests. Add new tests to check completion limiting.
3907 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3908
5dd31d79
DE
39092015-01-31 Doug Evans <xdje42@gmail.com>
3910
3911 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3912
9f050062
DE
39132015-01-31 Doug Evans <xdje42@gmail.com>
3914
3915 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3916 entries. Duplicate file section script entries.
3917 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3918 inlined entries. Add test for safe-path rejection.
3919 * gdb.python/py-section-script.c: Add duplicate inlined section script
3920 entries. Duplicate file section script entries.
3921 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3922 inlined entries. Add test for safe-path rejection.
3923
df25ebbd
JB
39242015-01-29 Joel Brobecker <brobecker@adacore.com>
3925
3926 * gdb.ada/disc_arr_bound: New testcase.
3927
4a0ca9ec
JB
39282015-01-29 Joel Brobecker <brobecker@adacore.com>
3929
3930 * gdb.ada/mi_var_array: New testcase.
3931
3a8b707a
DE
39322015-01-27 Doug Evans <dje@google.com>
3933
3934 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3935 Add test for objfile.filename, objfile.username after objfile
3936 has been unloaded.
3937
f8313f6e
JB
39382015-01-26 Joel Brobecker <brobecker@adacore.com>
3939
3940 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3941 the second test to print the name attribute of value
3942 returned by the call to gdb.lookup_type, and adjust
3943 the expected output accordingly.
3944
37bc665e
MW
39452015-01-25 Mark Wielaard <mjw@redhat.com>
3946
3947 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3948 * gdb.base/disp-step-fork.c: Include unistd.h.
3949 * gdb.base/siginfo-obj.c: Include stdio.h.
3950 * gdb.base/siginfo-thread.c: Likewise.
3951 * gdb.mi/non-stop.c: Include unistd.h.
3952 * gdb.mi/nsthrexec.c: Include stdio.h.
3953 * gdb.mi/pthreads.c: Include unistd.h.
3954 * gdb.modula2/unbounded1.c (main): Declare returns int.
3955 * gdb.reverse/consecutive-reverse.c: Likewise.
3956 * gdb.threads/create-fail.c: Include unistd.h.
3957 * gdb.threads/killed.c: Likewise.
3958 * gdb.threads/linux-dp.c: Likewise.
3959 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3960 * gdb.threads/non-ldr-exc-2.c: Likewise.
3961 * gdb.threads/non-ldr-exc-3.c: Likewise.
3962 * gdb.threads/non-ldr-exc-4.c: Likewise.
3963 * gdb.threads/pthreads.c: Include unistd.h.
3964 (main): Declare returns int.
3965 * gdb.threads/tls-main.c (foo): New declaration.
3966 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3967
f7e5394d
SM
39682015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3969
3970 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3971 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3972
743649fd
MW
39732015-01-15 Mark Wielaard <mjw@redhat.com>
3974
3975 * gdb.base/noreturn-return.c: New file.
3976 * gdb.base/noreturn-return.exp: New file.
3977 * gdb.base/noreturn-finish.c: New file.
3978 * gdb.base/noreturn-finish.exp: New file.
3979
198297aa
PA
39802015-01-23 Pedro Alves <palves@redhat.com>
3981
3982 * gdb.threads/continue-pending-after-query.c: New file.
3983 * gdb.threads/continue-pending-after-query.exp: New file.
3984
717cf30c
AG
39852015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3986 Simon Marchi <simon.marchi@ericsson.com>
3987
3988 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3989 * gdb.base/valgrind-db-attach.exp: Same.
3990 * gdb.base/valgrind-infcall.exp: Same.
3991 * lib/mi-support.exp (default_mi_gdb_start): Same.
3992 * lib/prompt.exp (default_prompt_gdb_start): Same.
3993 * lib/gdb.exp (default_gdb_spawn): Same.
3994 (gdb_interact): New.
3995
3996
4b62a76e
JK
39972015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3998
3999 * gdb.compile/compile.exp (pointer to jit function): New test.
4000
b4cdae6f
WW
40012015-01-17 Wei-cheng Wang <cole945@gmail.com>
4002
4003 * lib/gdb.exp (supports_process_record): Return true for
4004 powerpc*-*-linux*.
4005 (supports_reverse): Likewise.
4006
d221e7ef
DB
40072015-01-15 Don Breazeal <donb@codesourcery.com>
4008
4009 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4010 instead of checking whether the target board is remote and
4011 use spawn_wait_for_attach instead of exec/sleep.
4012 * gdb.base/attach-twice.exp: Likewise.
4013
bafffb51
JB
40142015-01-15 Joel Brobecker <brobecker@adacore.com>
4015
4016 * gdb.ada/var_arr_attrs: New testcase.
4017
5589af0e
PA
40182015-01-14 Pedro Alves <palves@redhat.com>
4019 Joel Brobecker <brobecker@adacore.com>
4020
4021 PR gdb/17525
4022 * gdb.base/bp-cmds-execution-x-script.c: New file.
4023 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4024 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4025
6c400b59
PA
40262015-01-14 Pedro Alves <palves@redhat.com>
4027
4028 PR cli/17828
4029 * gdb.base/batch-preserve-term-settings.c: New file.
4030 * gdb.base/batch-preserve-term-settings.exp: New file.
4031
e02c96a7
DE
40322015-01-13 Doug Evans <dje@google.com>
4033
4034 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4035 binary.
4036
576fd14c
JB
40372015-01-13 Joel Brobecker <brobecker@adacore.com>
4038
4039 * Makefile.in (clean mostlyclean): Do not delete *.py.
4040
04dccad0
JB
40412015-01-13 Joel Brobecker <brobecker@adacore.com>
4042
4043 * gdb.python/py-lookup-type.exp: New file.
4044
3d230f71
PA
40452015-01-12 Pedro Alves <palves@redhat.com>
4046
4047 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4048 restore GDBFLAGS before returning.
4049
7e67715d
JK
40502015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4051
4052 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4053 is_amd64_regs_target and is_x86_like_target.
4054
f2e0d4b4
DE
40552015-01-11 Doug Evans <xdje42@gmail.com>
4056
4057 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4058 is given without an explicit form.
4059 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4060 attributes.
4061 * gdb.dwarf/corrupt.exp: Ditto.
4062 * gdb.dwarf2/enum-type.exp: Ditto.
4063 * gdb.trace/entry-values.exp: Ditto.
4064 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4065
439250fb
DE
40662015-01-11 Doug Evans <xdje42@gmail.com>
4067
4068 PR gdb/15830
4069 * gdb.base/maint.exp: Remove references to "maint demangle".
4070 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4071 Add tests for explicitly specifying language to demangle.
4072 * gdb.dlang/demangle.exp: Ditto.
4073
ede9f622
PA
40742015-01-09 Pedro Alves <palves@redhat.com>
4075
4076 * gdb.threads/non-stop-fair-events.c: New file.
4077 * gdb.threads/non-stop-fair-events.exp: New file.
4078
a7b796db
PA
40792015-01-09 Pedro Alves <palves@redhat.com>
4080
4081 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4082 the global scope. Set a breakpoint after all threads are started
4083 rather than stepping over two source lines. Expect the prompt.
4084 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4085 global.
4086 (NUM): Now 15.
4087 (main): Use threads_started_barrier to wait for all threads to
4088 start. Main thread no longer calls thread_function. Exit after
4089 180 seconds.
4090 (loop): New function.
4091 (thread_function): Wait on threads_started_barrier barrier. Call
4092 'loop' at each iteration.
4093 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4094 threads have started, instead of hardcoding number of "next"
4095 steps. Use an access watchpoint instead of a write watchpoint.
4096
9665ffdd
PA
40972015-01-09 Pedro Alves <palves@redhat.com>
4098
4099 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4100 (thread_func): Wait on barrier.
4101 (main): Wait for all threads to start before stopping GDB.
4102 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4103 global.
4104 (thread1_func, thread2_func): Wait on barrier.
4105 (main): Wait for all threads to start before stopping GDB.
4106 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4107 New global.
4108 (thread1_func, thread2_func): Wait on barrier.
4109 (main): Wait for all threads to start before stopping GDB.
4110
c945a99f
PA
41112015-01-09 Pedro Alves <palves@redhat.com>
4112
4113 * gdb.threads/attach-many-short-lived-threads.c: New file.
4114 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4115
c1a747c1
PA
41162014-01-09 Pedro Alves <palves@redhat.com>
4117
4118 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4119 instead of to thread 2.
4120 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4121 Add barrier around each pthread_create call instead of around all
4122 calls.
4123 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4124 Set a break on thread_function and have the child threads hit it
4125 one at at a time.
4126
60b3033e
PA
41272015-01-09 Pedro Alves <palves@redhat.com>
4128
4129 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4130 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4131 false.
4132 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4133 checking whether the target board is remote.
4134 * gdb.multi/multi-attach.exp: Likewise.
4135 * gdb.python/py-sync-interp.exp: Likewise.
4136 * gdb.server/ext-attach.exp: Likewise.
4137 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4138 tests that need to attach, instead of checking whether the target
4139 board is remote at the top of the file.
4140
acc018ac
YQ
41412015-01-08 Yao Qi <yao@codesourcery.com>
4142
4143 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4144
50a18af8
JK
41452015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4146
4147 Fix testcase compilation.
4148 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4149
8503d6e1
JB
41502015-01-06 Joel Brobecker <brobecker@adacore.com>
4151
4152 * gdb.python/py-type.exp: Add a couple test about empty
4153 array creation, and negative-length array creation.
4154
cc73dbcc
DE
41552015-01-02 Doug Evans <xdje42@gmail.com>
4156
4157 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4158
0300bbc7
DE
41592015-01-02 Doug Evans <dje@google.com>
4160
4161 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4162
9d85a0ec
YQ
41632014-12-29 Yao Qi <yao@codesourcery.com>
4164
4165 * gdb.trace/entry-values.exp: Update comments. Rename variable
4166 bar_call_foo to returned_from_foo.
4167
87186c6a
MMN
41682014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4169
4170 PR gdb/17394
4171 * gdb.linespec/break-asm-file.c: New file.
4172 * gdb.linespec/break-asm-file.exp: New file.
4173 * gdb.linespec/break-asm-file0.s: New file.
4174 * gdb.linespec/break-asm-file1.s: New file.
4175
1bab7383
YQ
41762014-12-18 Nigel Stephens <nigel@mips.com>
4177 Maciej W. Rozycki <macro@codesourcery.com>
4178
4179 * gdb.base/float.exp: Handle the new output from "info float" on
4180 MIPS targets.
4181
1bc1068a
JK
41822014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4183
4184 Fix MinGW compilation.
4185 * gdb.compile/compile-ops.exp: Update untested message if
4186 !skip_compile_feature_tests.
4187 * gdb.compile/compile-setjmp.exp: Likewise.
4188 * gdb.compile/compile-tls.exp: Likewise.
4189 * gdb.compile/compile.exp: Likewise.
4190 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4191 supported on this host".
4192
b6615d10
DE
41932014-12-16 Doug Evans <xdje42@gmail.com>
4194
4195 * boards/stabs.exp: New file.
4196
25dda427
AA
41972014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4198
4199 * gdb.base/completion.exp: Adjust to format changes of "maint
4200 print user-registers".
4201
bf330350
CU
42022014-12-16 Catalin Udma <catalin.udma@freescale.com>
4203
4204 PR server/17457
4205 * gdb.arch/aarch64-fp.c: New file.
4206 * gdb.arch/aarch64-fp.exp: New file.
4207
395cf596
SDJ
42082014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4209
4210 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4211 r210637, r210913, r211666, r215400, r215817).
4212
4213 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4214 * dg-extract-results.py: New file.
4215 * dg-extract-results.sh: Use it if the environment seems
4216 suitable.
4217
4218 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4219
4220 * dg-extract-results.py (parse_run): Handle warnings that
4221 are printed before a test harness is run.
4222
4223 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4224
4225 * dg-extract-results.py (Named): Remove __cmp__ method.
4226 (output_variation): Use a key to sort variation.harnesses.
4227
4228 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4229
4230 * dg-extract-results.py: For Python 3, force sys.stdout to
4231 handle surrogate escape sequences.
4232 (safe_open): New function.
4233 (output_segment, main): Use it.
4234
4235 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4236
4237 * dg-extract-results.py (Prog.result_re): Include options
4238 in test name.
4239
4240 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4241
4242 * dg-extract-results.py (output_variation): Always sort if
4243 do_sum.
4244
e882ef3c
SM
42452014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4246
4247 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4248 as long as we get pagination notifications.
4249
4992aa20
JM
42502014-12-15 Jason Merrill <jason@redhat.com>
4251
4252 * Makefile.in (check-gdb.%): Restore.
4253 * README: Mention it.
4254
c1b5a1a6
JB
42552014-12-13 Joel Brobecker <brobecker@adacore.com>
4256
4257 * gdb.ada/str_uninit: New testcase.
4258
5537b577
JK
42592014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4260
4261 PR symtab/17642
4262 * gdb.base/vla-stub-define.c: New file.
4263 * gdb.base/vla-stub.c: New file.
4264 * gdb.base/vla-stub.exp: New file.
4265
bb2ec1b3
TT
42662014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4267 Jan Kratochvil <jan.kratochvil@redhat.com>
4268 Tom Tromey <tromey@redhat.com>
4269
4270 * configure.ac: Add gdb.compile/.
4271 * configure: Regenerate.
4272 * gdb.compile/Makefile.in: New file.
4273 * gdb.compile/compile-ops.exp: New file.
4274 * gdb.compile/compile-ops.c: New file.
4275 * gdb.compile/compile-tls.c: New file.
4276 * gdb.compile/compile-tls.exp: New file.
4277 * gdb.compile/compile-constvar.S: New file.
4278 * gdb.compile/compile-constvar.c: New file.
4279 * gdb.compile/compile-mod.c: New file.
4280 * gdb.compile/compile-nodebug.c: New file.
4281 * gdb.compile/compile-setjmp-mod.c: New file.
4282 * gdb.compile/compile-setjmp.c: New file.
4283 * gdb.compile/compile-setjmp.exp: New file.
4284 * gdb.compile/compile-shlib.c: New file.
4285 * gdb.compile/compile.c: New file.
4286 * gdb.compile/compile.exp: New file.
4287 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4288
4ff709eb
TT
42892014-12-12 Tom Tromey <tromey@redhat.com>
4290
4291 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4292 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4293
6dddd6a5
DE
42942014-12-12 Doug Evans <dje@google.com>
4295
4296 * lib/gdb-python.exp (get_python_valueof): New function.
4297 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4298
71c24708
AA
42992014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4300
4301 * gdb.base/completion.exp: Add test for completion of "info
4302 registers ".
4303
3e29f34a
MR
43042014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4305
4306 * gdb.base/func-ptrs.c: New file.
4307 * gdb.base/func-ptrs.exp: New file.
4308
fc126975
SM
43092014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4310
4311 PR breakpoints/17012
4312 * gdb.base/dprintf-detach.c: New file.
4313 * gdb.base/dprintf-detach.exp: New file.
4314
0a46d518
SM
43152014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4316
4317 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4318 * lib/gdb.exp (target_is_gdbserver): New procedure.
4319
a0be3e44
DE
43202014-12-08 Doug Evans <dje@google.com>
4321
4322 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4323
df1b803a
YQ
43242014-12-05 Yao Qi <yao@codesourcery.com>
4325
4326 * gdb.guile/scm-error.exp: Remove the third argument to
4327 gdb_remote_download.
4328 * gdb.guile/scm-frame-args.exp: Likewise.
4329 * gdb.guile/scm-section-script.exp: Likewise.
4330
ddb9f679
YQ
43312014-12-05 Yao Qi <yao@codesourcery.com>
4332
4333 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4334
86e4ed39
DE
43352014-12-04 Doug Evans <dje@google.com>
4336
4337 * gdb.python/py-objfile.exp: Add tests for
4338 objfile.add_separate_debug_file.
4339
7c50a931
DE
43402014-12-04 Doug Evans <dje@google.com>
4341
4342 * lib/gdb.exp (get_build_id): New function.
4343 (build_id_debug_filename_get): Rewrite to use it.
4344 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4345
621661e3
MR
43462014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4347
4348 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4349 `method(long)', not just 0x0.
4350 * gdb.cp/nsalias.exp: Align code labels to 4.
4351 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4352 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4353 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4354 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4355 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4356 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4357
29f0c3b7
DE
43582014-12-02 Doug Evans <dje@google.com>
4359
e1e061e7 4360 PR symtab/17602
29f0c3b7 4361 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4362 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4363 * gdb.cp/anon-ns.exp: Update.
4364
162078c8
NB
43652014-12-02 Nick Bull <nicholaspbull@gmail.com>
4366
4367 * gdb.python/py-events.py (inferior_call_handler): New.
4368 (register_changed_handler, memory_changed_handler): New.
4369 (test_events.invoke): Register new handlers.
4370 * gdb.python/py-events.exp: Add tests for inferior call,
4371 memory_changed and register_changed events.
4372
fdb09caf
AA
43732014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4374
4375 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4376 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4377 if the linker doesn't understand this.
4378
55cfb2c4
SM
43792014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4380
4381 * gdb.python/python.exp: Change expected reply to help().
4382
9e8cd6df
YQ
43832014-12-01 Yao Qi <yao@codesourcery.com>
4384
4385 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4386 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4387 * configure: Re-generated.
4388
6c659fc2
SC
43892014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4390
4391 * gdb.cp/chained-calls.cc: New file.
4392 * gdb.cp/chained-calls.exp: New file.
4393 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4394
d7fc3181
SM
43952014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4396
4397 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4398 * gdb.dwarf2/symtab-producer.exp: Same.
4399 * gdb.gdb/python-interrupts.exp: Same.
4400 * gdb.gdb/python-selftest.exp: Same.
4401 * gdb.python/py-linetable.exp: Same.
4402 * gdb.python/py-type.exp: Same.
4403 * gdb.python/py-value-cc.exp: Same.
4404 * gdb.python/py-value.exp: Same.
4405
10e79639
YQ
44062014-11-28 Yao Qi <yao@codesourcery.com>
4407
4408 * gdb.base/break-probes.exp: Match library name prefixed with
4409 sysroot.
4410
f28a0564
SM
44112014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4412
4413 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4414 test expected output. Add parentheses for the call to print.
4415 Remove L suffix from integers.
4416
3fe1ce1d
DE
44172014-11-26 Doug Evans <dje@google.com>
4418
4419 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4420
84429e27
YQ
44212014-11-22 Yao Qi <yao@codesourcery.com>
4422
4423 * gdb.trace/entry-values.c: Remove asms.
4424 (foo): Add foo_label.
4425 (bar): Add bar_label.
4426 * gdb.trace/entry-values.exp: Remove code computing foo's
4427 length and bar's length.
4428 (Dwarf::assemble): Invoke function_range for bar and use
4429 MACRO_AT_func for foo.
4430
26741859
YQ
44312014-11-22 Yao Qi <yao@codesourcery.com>
4432
4433 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4434 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4435 Use .Lgcc43_procstart instead of gcc43.
4436
45e44d27
JB
44372014-11-21 Joel Brobecker <brobecker@adacore.com>
4438
4439 * gdb.ada/n_arr_bound: New testcase.
4440
458c8db8
SDJ
44412014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4442
4443 PR breakpoints/10737
4444 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4445 test_catch_syscall_multi_arch.
4446 (test_catch_syscall_multi_arch): New function.
4447
43f3e411
DE
44482014-11-20 Doug Evans <xdje42@gmail.com>
4449
4450 * gdb.base/maint.exp: Update expected output.
4451
0d7b2549
AA
44522014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4453
4454 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4455 4-byte instruction on S390.
4456
8908fca5
JB
44572014-11-19 Joel Brobecker <brobecker@adacore.com>
4458
4459 * gdb.ada/arr_arr: New testcase.
4460
4a46959e
JB
44612014-11-19 Joel Brobecker <brobecker@adacore.com>
4462
4463 * gdb.ada/pkd_arr_elem: New Testcase.
4464
470e2f4e
LM
44652014-11-18 Luis Machado <lgustavo@codesourcery.com>
4466
4467 * gdb.reverse/break-precsave: Expect completion message for
4468 core file reads.
4469 * gdb.reverse/consecutive-precsave.exp: Likewise.
4470 * gdb.reverse/finish-precsave.exp: Likewise.
4471 * gdb.reverse/i386-precsave.exp: Likewise.
4472 * gdb.reverse/machinestate-precsave.exp: Likewise.
4473 * gdb.reverse/sigall-precsave.exp: Likewise.
4474 * gdb.reverse/solib-precsave.exp: Likewise.
4475 * gdb.reverse/step-precsave.exp: Likewise.
4476 * gdb.reverse/until-precsave.exp: Likewise.
4477 * gdb.reverse/watch-precsave.exp: Likewise.
4478
a267f3ad
AA
44792014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4480
4481 * gdb.base/bp-permanent.c: Include unistd.h.
4482 * gdb.python/py-framefilter-mi.c (main): Add return type.
4483 * gdb.python/py-framefilter.c (main): Likewise.
4484 * gdb.trace/actions-changed.c (main): Likewise.
4485
12084a9a
AA
44862014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4487
4488 * gdb.mi/until.c: Add eye-catchers.
4489 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4490 line numbers.
4491
dc7e1a77
AA
44922014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4493
4494 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4495 function header variants in break1.c.
4496 * gdb.base/ena-dis-br.exp: Likewise.
4497 * gdb.base/hbreak2.exp: Likewise.
4498 * gdb.reverse/until-precsave.exp: Drop references to removed
4499 non-prototype function header variants in ur1.c.
4500 * gdb.reverse/until-reverse.exp: Likewise.
4501
41c77605
PM
45022014-11-17 Petr Machata <pmachata@redhat.com>
4503
4504 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4505 ${_cu_offset_size} bytes abbrev offset.
4506
34248c3a
DE
45072014-11-15 Doug Evans <xdje42@gmail.com>
4508
4509 PR symtab/17559
4510 * gdb.base/line-symtabs.exp: New file.
4511 * gdb.base/line-symtabs.c: New file.
4512 * gdb.base/line-symtabs.h: New file.
4513
646da059
YQ
45142014-11-14 Yao Qi <yao@codesourcery.com>
4515
4516 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4517 (func): Add label func_label.
4518 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4519 Replace low_pc and high_pc with MACRO_AT_range.
4520 Replace name, low_pc and high_pc with MACRO_AT_func.
4521
9301ebe6
YQ
45222014-11-14 Yao Qi <yao@codesourcery.com>
4523
4524 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4525 Replace name, low_pc and high_pc with MACRO_AT_func.
4526
f166b542
YQ
45272014-11-14 Yao Qi <yao@codesourcery.com>
4528
4529 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4530 produce debug information.
4531 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4532
0f6e71e3
YQ
45332014-11-14 Yao Qi <yao@codesourcery.com>
4534
4535 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4536 object and get function length.
4537 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4538 with MACRO_AT_func.
4539 (top-level): Replace gdb_compile and clean_restart with
4540 prepare_for_testing.
4541 * gdb.dwarf2/main.c (main): Add label main_label.
4542
876c4df9
YQ
45432014-11-14 Yao Qi <yao@codesourcery.com>
4544
4545 * lib/dwarf.exp (function_range): New procedure.
4546 (Dwarf::_handle_macro_at_func): New procedure.
4547 (Dwarf::_handle_macro_at_range): New procedure.
4548 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4549
02ad9cf1
YQ
45502014-11-14 Yao Qi <yao@codesourcery.com>
4551
4552 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4553 (_handle_attribute): New procedure.
4554
a59add0c
AA
45552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4556
4557 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4558 * gdb.base/call-sc.c (zed): Likewise.
4559 * gdb.base/checkpoint.c (main): Likewise.
4560 * gdb.base/dump.c (main): Likewise.
4561 * gdb.base/gcore.c (main): Likewise.
4562 * gdb.base/huge.c (main): Likewise.
4563 * gdb.base/multi-forks.c (main): Likewise.
4564 * gdb.base/pr10179-a.c (main): Likewise.
4565 * gdb.base/savedregs.c (main): Likewise.
4566 * gdb.base/sigaltstack.c (main): Likewise.
4567 * gdb.base/siginfo.c (main): Likewise.
4568 * gdb.base/structs.c (zed): Likewise.
4569 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4570 * gdb.mi/mi-syn-frame.c (main): Likewise.
4571 * gdb.mi/until.c (foo, main): Likewise.
4572 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4573 * gdb.base/solib-weak.c (foo): Declare.
4574 * gdb.base/attach-twice.c: Include stdio.h.
4575 * gdb.base/weaklib1.c: Likewise.
4576 * gdb.base/weaklib2.c: Likewise.
4577 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4578 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4579 unistd.h.
4580 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4581 * gdb.mi/mi-exit-code.c: Likewise.
4582 * gdb.base/break-interp-lib.c: Include string.h.
4583 * gdb.base/coremaker.c: Likewise.
4584 * gdb.base/testenv.c: Likewise.
4585 * gdb.python/py-finish-breakpoint.c: Likewise.
4586 * gdb.base/inferior-died.c: Include sys/wait.h.
4587 * gdb.base/fileio.c: Include time.h.
4588 * gdb.base/async-shell.c: Include unistd.h.
4589 * gdb.base/dprintf-non-stop.c: Likewise.
4590 * gdb.base/info-os.c: Likewise.
4591 * gdb.mi/mi-console.c: Likewise.
4592 * gdb.mi/watch-nonstop.c: Likewise.
4593 * gdb.python/py-events.c: Likewise.
4594 * gdb.base/async.c (baz): Move up before its invocation.
4595 * gdb.base/code_elim2.c (my_global_func): Likewise.
4596 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4597 * gdb.base/advance.c (func2): Likewise.
4598
3b5d5997
AA
45992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4600
4601 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4602 variant.
4603 * gdb.base/annota3.c: Likewise.
4604 * gdb.base/async.c: Likewise.
4605 * gdb.base/average.c: Likewise.
4606 * gdb.base/call-ar-st.c: Likewise.
4607 * gdb.base/call-rt-st.c: Likewise.
4608 * gdb.base/call-sc.c: Likewise.
4609 * gdb.base/call-strs.c: Likewise.
4610 * gdb.base/ending-run.c: Likewise.
4611 * gdb.base/execd-prog.c: Likewise.
4612 * gdb.base/exprs.c: Likewise.
4613 * gdb.base/foll-exec.c: Likewise.
4614 * gdb.base/foll-fork.c: Likewise.
4615 * gdb.base/foll-vfork.c: Likewise.
4616 * gdb.base/funcargs.c: Likewise.
4617 * gdb.base/gcore.c: Likewise.
4618 * gdb.base/jump.c: Likewise.
4619 * gdb.base/langs0.c: Likewise.
4620 * gdb.base/langs1.c: Likewise.
4621 * gdb.base/langs2.c: Likewise.
4622 * gdb.base/mips_pro.c: Likewise.
4623 * gdb.base/nodebug.c: Likewise.
4624 * gdb.base/opaque0.c: Likewise.
4625 * gdb.base/opaque1.c: Likewise.
4626 * gdb.base/recurse.c: Likewise.
4627 * gdb.base/run.c: Likewise.
4628 * gdb.base/scope0.c: Likewise.
4629 * gdb.base/scope1.c: Likewise.
4630 * gdb.base/setshow.c: Likewise.
4631 * gdb.base/setvar.c: Likewise.
4632 * gdb.base/shmain.c: Likewise.
4633 * gdb.base/shr1.c: Likewise.
4634 * gdb.base/shr2.c: Likewise.
4635 * gdb.base/sigall.c: Likewise.
4636 * gdb.base/signals.c: Likewise.
4637 * gdb.base/so-indr-cl.c: Likewise.
4638 * gdb.base/solib2.c: Likewise.
4639 * gdb.base/structs.c: Likewise.
4640 * gdb.base/sum.c: Likewise.
4641 * gdb.base/vforked-prog.c: Likewise.
4642 * gdb.base/watchpoint.c: Likewise.
4643 * gdb.reverse/shr2.c: Likewise.
4644 * gdb.reverse/until-reverse.c: Likewise.
4645 * gdb.reverse/ur1.c: Likewise.
4646 * gdb.reverse/watch-reverse.c: Likewise.
4647
066a77c5
AA
46482014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4649
4650 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4651 variant.
4652 * gdb.base/sepdebug.exp: Drop references to removed code.
4653
4f204ea5
AA
46542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4655
4656 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4657 variant. Preserve original line numbering.
4658 * gdb.base/list1.c: Likewise.
4659
3b377a3a
AA
46602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4661
4662 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4663 variant.
4664 * gdb.base/break1.c: Likewise.
4665 * gdb.base/break.exp: Drop references to removed code.
4666
e444df73
AA
46672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4668
4669 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4670 variant.
4671
8008f2a7
AA
46722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4673
4674 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4675
a5a06887
AA
46762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4677
4678 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4679 logic into perform_all_tests() and invoke it with and without
4680 function header prototypes.
4681 (do_function_calls): Remove conditional XFAIL for PR 5318.
4682 (rerun_and_prepare): Remove duplicate code.
4683 (perform_all_tests): New. Main logic moved here.
4684
44dba9b9
AA
46852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4686
4687 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4688 code guarded by #ifdef NO_PROTOTYPES.
4689 (t_double_many_args): Likewise.
4690 (DEF_FUNC_MANY_ARGS_1): Likewise.
4691 (DEF_FUNC_VALUES_1): Likewise.
4692 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4693 guarded by #ifdef PROTOTYPES.
4694
d1fbcd56
AA
46952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4696
4697 * gdb.mi/mi-console.c: Add eye-catcher.
4698 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4699 instead of literal line number.
4700
b0e59b8f
AA
47012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4702
4703 * gdb.base/shr2.c: Add eye-catcher.
4704 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4705 line number.
4706
78f98cca
AA
47072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4708
4709 * gdb.base/jump.c: Add eye-catchers.
4710 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4711 numbers.
4712
58fa2af0
AA
47132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4714
4715 * gdb.base/execd-prog.c: Add eye-catchers.
4716 * gdb.base/foll-exec.c: Likewise.
4717 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4718 line numbers.
4719
04e5059b
AA
47202014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4721
4722 * gdb.base/ending-run.c: Add eye-catchers.
4723 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4724 literal line numbers.
4725
dbfdb174
AA
47262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4727
4728 * gdb.base/call-rt-st.c: Add eye-catchers.
4729 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4730 literal line numbers.
4731
888a2ade
AA
47322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4733
4734 * gdb.base/call-ar-st.c: Add eye-catchers.
4735 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4736 literal line numbers.
4737
6acc2dde
AA
47382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4739
4740 * gdb.base/average.c: Add eye-catchers.
4741 * gdb.base/sum.c: Likewise.
4742 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4743 regexps dynamically.
4744
9ecfcd1d
AA
47452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4746
4747 * gdb.base/solib1.c: Add eye-catchers.
4748 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4749 literal line numbers.
4750
78708b7c
PA
47512014-11-12 Pedro Alves <palves@redhat.com>
4752
4753 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4754 leader has exited.
4755
af48d08f
PA
47562014-11-12 Pedro Alves <palves@redhat.com>
4757
4758 * gdb.arch/i386-bp_permanent.c: New file.
4759 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4760 (srcfile): Set to i386-bp_permanent.c.
4761 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4762 that stepi does not execute the 'leave' instruction, instead of
4763 testing it does execute.
4764 * gdb.base/bp-permanent.c: New file.
4765 * gdb.base/bp-permanent.exp: New file.
4766
af3768e9
DE
47672014-11-10 Doug Evans <xdje42@gmail.com>
4768
4769 PR symtab/17564
4770 * gdb.base/symtab-search-order.exp: New file.
4771 * gdb.base/symtab-search-order.c: New file.
4772 * gdb.base/symtab-search-order-1.c: New file.
4773 * gdb.base/symtab-search-order-shlib-1.c: New file.
4774
9de00a4a
PA
47752014-11-07 Pedro Alves <palves@redhat.com>
4776
4777 PR gdb/17511
4778 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4779 i?86-*-linux*.
4780
e0f52461
SC
47812014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4782
4783 PR c++/17494
4784 * gdb.cp/pr17494.cc: New file.
4785 * gdb.cp/pr17494.exp: New file.
4786
6ce8c980
YQ
47872014-11-02 Yao Qi <yao@codesourcery.com>
4788
4789 * gdb.python/python.exp: Get working directory and match the
4790 output of "set extended-prompt \\w " with it.
4791
02be9a71
DE
47922014-10-30 Doug Evans <dje@google.com>
4793
4794 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4795 in objfiles.
4796 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4797 in progspaces.
4798
3bdff46b
LM
47992014-10-30 Janis Johnson <janisjo@codesourcery.com>
4800
4801 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4802 * gdb.base/realname-expand.exp: Likewise.
4803 * gdb.linespec/macro-relative.exp: Likewise.
4804
ab917dfb
PA
48052014-10-29 Pedro Alves <palves@redhat.com>
4806
4807 PR gdb/17408
4808 * gdb.threads/schedlock.c (some_function): New function.
4809 (call_function): New global.
4810 (MAYBE_CALL_SOME_FUNCTION): New macro.
4811 (thread_function): Call it.
4812 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4813 and use it instead of a global counter. Adjust all callers.
4814 (get_current_thread): Use "find current thread" for test message
4815 here rather than having all callers pass down the same string.
4816 (goto_loop): New procedure, factored out from ...
4817 (my_continue): ... this.
4818 (step_ten_loops): Change parameter from test message to command to
4819 use. Adjust.
4820 (list_count): Delete global.
4821 (check_result): New procedure, factored out from duplicate top
4822 level code.
4823 (continue tests): Wrap in with_test_prefix.
4824 (test_step): New procedure, factored out from duplicate top level
4825 code.
4826 (top level): Test "step" in combination with all scheduler-locking
4827 modes. Test "next" in combination with all scheduler-locking
4828 modes, and in combination with stepping over a function call or
4829 not.
4830 * gdb.threads/next-bp-other-thread.c: New file.
4831 * gdb.threads/next-bp-other-thread.exp: New file.
4832
d3d4baed
PA
48332014-10-29 Pedro Alves <palves@redhat.com>
4834
4835 PR python/17372
4836 * gdb.python/python.exp: Test a multi-line command that spawns
4837 interactive Python.
4838 * gdb.base/multi-line-starts-subshell.exp: New file.
4839
563e8d85
YQ
48402014-10-29 Yao Qi <yao@codesourcery.com>
4841
4842 * gdb.base/fileio.exp: Make directories on host.
4843
0ea4d52e
YQ
48442014-10-29 Yao Qi <yao@codesourcery.com>
4845
4846 * gdb.base/fileio.c (test_write): Close the file.
4847
7f5ef605
PA
48482014-10-28 Pedro Alves <palves@redhat.com>
4849
4850 PR gdb/12623
4851 * gdb.base/sigstep.c (no_handler): New global.
4852 (main): If 'no_handler is true, set the signal handlers to
4853 SIG_IGN.
4854 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4855 with_sw_watch and no_handler parameters. Handle them.
4856 (top level) <stepping over handler when stopped at a breakpoint
4857 test>: Add a test axis for testing with a software watchpoint, and
4858 another for testing with the signal handler set to SIG_IGN.
4859 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4860 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4861
abbdbd03
PA
48622014-10-28 Pedro Alves <palves@redhat.com>
4863
4864 PR gdb/17511
4865 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4866 * gdb.base/sigstep.exp (other_handler_location): New global.
4867 (advance): Support stepping into the signal handler, and running
4868 commands while in the handler.
4869 (in_handler_map): New global.
4870 (top level): In the advance test, add combinations for getting
4871 into the handler with stepping commands, and for running commands
4872 in the handler. Add comment descripting the advancei tests.
4873
1df4399f
PA
48742014-10-28 Pedro Alves <palves@redhat.com>
4875
4876 * gdb.base/sigstep.exp: Use build_executable instead of
4877 prepare_for_testing.
4878 (top level): Move code that starts GDB, runs to main and creates a
4879 display to ...
4880 (restart): ... this new procedure.
4881 (top level): Move backtrace from signal handler test to ...
4882 (validate_backtrace): ... this new procedure.
4883 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4884 with_test_prefix. Always restart GDB.
4885 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4886 with_test_prefix. Always restart GDB. No need to delete
4887 breakpoints after the test.
4888 (test_skip_handler): Remove prefix parameter.
4889 (skip_over_handler, breakpoint_to_handler)
4890 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4891 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4892 restart GDB. No need to delete breakpoints after the test.
4893 (top level): Use foreach to call the test procedures with
4894 different commands.
4895
a5b6e449
PA
48962014-10-28 Pedro Alves <palves@redhat.com>
4897
4898 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4899 instead of GNATS numbers.
4900 * gdb.base/sigbpt.exp: Likewise.
4901 * gdb.base/siginfo.exp: Likewise.
4902 * gdb.base/sigstep.exp: Likewise.
4903
e5f8a7cc
PA
49042014-10-27 Pedro Alves <palves@redhat.com>
4905
4906 * gdb.base/sigstep.c (dummy): New global.
4907 (main): Issue a couple writes to the new global.
4908 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4909 procedures.
4910 (skip_over_handler): Use test_skip_handler.
4911 (top level): Call skip_over_handler for stepi and nexti too.
4912 (breakpoint_over_handler): Use test_skip_handler.
4913 (top level): Call breakpoint_over_handler for stepi and nexti too.
4914
763905a3
YQ
49152014-10-27 Yao Qi <yao@codesourcery.com>
4916
4917 * gdb.trace/tfile.c (adjust_function_address)
4918 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4919 function descriptor.
4920
6f259a23
DB
49212014-10-24 Don Breazeal <donb@codesourcery.com>
4922
4923 * gdb.base/foll-fork.exp (test_follow_fork,
4924 catch_fork_child_follow): Check for updated fork messages emitted
4925 from infrun.c.
4926 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4927 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4928 vfork_and_exec_child_follow_through_step): Check for updated vfork
4929 messages emitted from infrun.c.
4930
09dd9a69
PA
49312014-10-24 Pedro Alves <palves@redhat.com>
4932
4933 * gdb.base/corefile.exp: Remove references to ultrix.
4934 * gdb.base/interrupt.exp: Likewise.
4935 * gdb.base/whatis.exp: Likewise.
4936 * gdb.gdb/selftest.exp: Likewise.
4937 * gdb.threads/manythreads.exp: Likewise.
4938 * gdb.threads/print-threads.exp: Likewise.
4939 * gdb.threads/pthreads.exp:: Likewise.
4940 * gdb.threads/schedlock.exp: Likewise.
4941
3433cfa5
SC
49422014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4943
4944 * gdb.cp/non-trivial-retval.cc: Add a test case.
4945 * gdb.cp/non-trivial-retval.exp: Add a test.
4946
092f880b
YQ
49472014-10-20 Yao Qi <yao@codesourcery.com>
4948
4949 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4950 * gdb.python/py-objfile-script-gdb.py: New file.
4951 * gdb.python/py-objfile-script.exp: Update reference to
4952 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4953 of remote_download. Remove the dest file.
4954
acbdb7f3
YQ
49552014-10-20 Yao Qi <yao@codesourcery.com>
4956
4957 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4958 * gdb.base/step-line.exp: Likewise.
4959 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4960 * gdb.dwarf2/dw2-basic.exp: Likewise.
4961 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4962 * gdb.dwarf2/dw2-filename.exp: Likewise.
4963 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4964 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4965 * gdb.dwarf2/dw2-producer.exp: Likewise.
4966 * gdb.dwarf2/mac-fileno.exp: Likewise.
4967 * gdb.python/py-frame-args.exp: Likewise.
4968 * gdb.python/py-framefilter.exp: Likewise.
4969 * gdb.python/py-mi.exp: Likewise.
4970 * gdb.python/py-objfile-script.exp: Likewise
4971 * gdb.python/py-pp-integral.exp: Likewise.
4972 * gdb.python/py-pp-re-notag.exp: Likewise.
4973 * gdb.python/py-prettyprint.exp: Likewise.
4974 * gdb.python/py-section-script.exp: Likewise.
4975 * gdb.python/py-typeprint.exp: Likewise.
4976 * gdb.python/py-xmethods.exp: Likewise.
4977 * gdb.stabs/weird.exp: Likewise.
4978 * gdb.xml/tdesc-regs.exp: Likewise.
4979
bd286a29
KCY
49802014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4981
4982 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4983 (out_cu): Use addr_len for the size of addresses.
4984 (out_line): Likewise. Size DW_LNE_set_address instruction
4985 according to addr_len.
4986 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4987 (FUNC): Add START_INSNS to definition.
4988
673dc4a0
YQ
49892014-10-18 Yao Qi <yao@codesourcery.com>
4990
4991 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4992 gdb_has_argv0 return true.
4993 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4994 check [target_info exists noargs], check [gdb_has_argv0]
4995 instead.
4996 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4997 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4998 procedures.
4999
4ffbba72
DE
50002014-10-17 Doug Evans <dje@google.com>
5001
5002 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5003 event.
5004 * gdb.python/py-events.py: Add clear_objfiles event.
5005
d096d8c1
DE
50062014-10-17 Doug Evans <dje@google.com>
5007
5008 * gdb.python/py-objfile.exp: Test progspace attribute.
5009
a80db015
LM
50102014-10-17 Luis Machado <lgustavo@codesourcery.com>
5011
5012 * gdb.guile/scm-breakpoint.exp: Do not assume any
5013 directory separators when matching source file paths.
5014 * gdb.python/py-breakpoint.exp: Likewise.
5015 * gdb.reverse/break-precsave.exp: Likewise.
5016 * gdb.reverse/break-reverse.exp: Likewise.
5017 * gdb.reverse/consecutive-precsave.exp: Likewise.
5018 * gdb.reverse/finish-precsave.exp: Likewise.
5019 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5020 * gdb.reverse/finish-reverse.exp: Likewise.
5021 * gdb.reverse/i386-precsave.exp: Likewise.
5022 * gdb.reverse/i387-env-reverse.exp: Likewise.
5023 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5024 * gdb.reverse/machinestate-precsave.exp: Likewise.
5025 * gdb.reverse/machinestate.exp: Likewise.
5026 * gdb.reverse/sigall-precsave.exp: Likewise.
5027 * gdb.reverse/solib-precsave.exp: Likewise.
5028 * gdb.reverse/step-precsave.exp: Likewise.
5029 * gdb.reverse/until-precsave.exp: Likewise.
5030 * gdb.reverse/watch-precsave.exp: Likewise.
5031 * gdb.reverse/watch-reverse.exp: Likewise.
5032
b22089ab
YQ
50332014-10-17 Yao Qi <yao@codesourcery.com>
5034
5035 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5036 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5037
6c4486e6
PA
50382014-10-17 Pedro Alves <palves@redhat.com>
5039
5040 PR gdb/17471
5041 * gdb.base/bg-execution-repeat.c: New file.
5042 * gdb.base/bg-execution-repeat.exp: New file.
5043
0ff33695
PA
50442014-10-17 Pedro Alves <palves@redhat.com>
5045
5046 PR gdb/17300
5047 * gdb.base/continue-all-already-running.c: New file.
5048 * gdb.base/continue-all-already-running.exp: New file.
5049
6fdebc3d
PA
50502014-10-17 Pedro Alves <palves@redhat.com>
5051
5052 PR gdb/17472
5053 * gdb.base/annota-input-while-running.c: New file.
5054 * gdb.base/annota-input-while-running.exp: New file.
5055
32a8097b
PA
50562014-10-17 Pedro Alves <palves@redhat.com>
5057
5058 * gdb.base/callfuncs.exp: emove references to osf.
5059 * gdb.base/sigall.exp: Likewise.
5060 * gdb.gdb/selftest.exp: Likewise.
5061 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5062 * gdb.mi/non-stop.c: Likewise.
5063 * gdb.mi/pthreads.c: Likewise.
5064 * gdb.reverse/sigall-precsave.exp: Likewise.
5065 * gdb.reverse/sigall-reverse.exp: Likewise.
5066 * gdb.threads/pthreads.c: Likewise.
5067 * gdb.threads/pthreads.exp: Likewise.
5068
7a3517ff
YQ
50692014-10-17 Yao Qi <yao@codesourcery.com>
5070
5071 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5072 check 'target_info exists noargs'.
5073 (test_command_prompt_position): Likewise.
5074 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5075 Remove "set args".
5076 (progvar_simple_while_test): Likewise.
5077 (progvar_complex_if_while_test): Likewise.
5078 (if_while_breakpoint_command_test): Likewise.
5079 (infrun_breakpoint_command_test): Likewise.
5080 (breakpoint_command_test): Likewise.
5081 (watchpoint_command_test): Likewise.
5082 (bp_deleted_in_command_test): Likewise.
5083 (temporary_breakpoint_commands): Likewise.
5084
bb99c472
YQ
50852014-10-16 Yao Qi <yao@codesourcery.com>
5086
5087 * gdb.base/remotetimeout.exp: Remove noargs checking.
5088
7c16b83e
PA
50892014-10-15 Pedro Alves <palves@redhat.com>
5090
5091 PR breakpoints/9649
5092 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5093 * gdb.base/breakpoint-in-ro-region.exp
5094 (probe_target_hardware_step): New procedure.
5095 (top level): Probe hardware stepping and hardware breakpoint
5096 support. Test stepping through a read-only region, with both
5097 "breakpoint auto-hw" on and off and both "always-inserted" on and
5098 off.
5099
35a49624
IB
51002014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5101
5102 * gdb.dlang/demangle.exp: Update for demangling changes.
5103
2d1c107c
SC
51042014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5105
5106 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5107 * gdb.cp/non-trivial-retval.exp: Add new tests.
5108
778811d5
SC
51092014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5110
5111 PR c++/13403
5112 PR c++/15154
5113 * gdb.cp/non-trivial-retval.cc: New file.
5114 * gdb.cp/non-trivial-retval.exp: New file.
5115
10c5f0a8
YQ
51162014-10-15 Yao Qi <yao@codesourcery.com>
5117
5118 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5119 remote host.
5120
65d7b369
YQ
51212014-10-15 Yao Qi <yao@codesourcery.com>
5122
5123 * gdb.python/py-symbol.exp: Match file base name if host is
5124 remote, otherwise match file name with dir name.
5125 * gdb.python/py-symtab.exp: Likewise.
5126 * gdb.python/python.exp: Likewise.
5127
46dc1394
YQ
51282014-10-15 Yao Qi <yao@codesourcery.com>
5129
5130 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5131 pattern.
5132 * gdb.python/py-symtab.exp: Likewise.
5133 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5134 locationn.
5135
c40cc657
JB
51362014-10-14 Joel Brobecker <brobecker@adacore.com>
5137
5138 * gdb.ada/addr_arith: New testcase.
5139
2abf49e1
MR
51402014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5141
5142 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5143 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5144 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5145 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5146
f7088df3
SDJ
51472014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5148
5149 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5150 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5151 * gdb.arch/stap-eval-lang-ada.exp: New file.
5152
4dc06805
YQ
51532014-10-14 Yao Qi <yao@codesourcery.com>
5154
5155 * gdb.mi/mi-var-child.c (nothing1): New function.
5156 (nothing2): New function.
5157 (do_children_tests): Set function pointers by nothing1 and
5158 nothing2.
5159 * gdb.mi/mi-var-child.exp: Step over new added statements.
5160 Update test to match the new output.
5161 * gdb.mi/var-cmd.c (nothing1): New function.
5162 (nothing2): New function.
5163 (do_children_tests): Set function pointers by nothing1 and
5164 nothing2.
5165 * gdb.mi/mi-var-display.exp: Update test to match output.
5166 Step to the line specified by $line_dct_nothing.
5167 Increase the number of lines to step.
5168
46a93de2
YQ
51692014-10-14 Yao Qi <yao@codesourcery.com>
5170
5171 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5172 tests.
5173 * gdb.mi/mi2-var-child.exp: Likewise.
5174
14ea52ee
DE
51752014-10-13 Doug Evans <dje@google.com>
5176
5177 * gdb.python/py-objfile.exp: Change name of file name test.
5178
e5c6e92b
DE
51792014-10-13 Doug Evans <dje@google.com>
5180
5181 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5182 from the start of the CU.
5183
c780cc2f
JK
51842014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5185 Yao Qi <yao@codesourcery.com>
5186
5187 Fix "save breakpoints" for "catch" command.
5188 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5189 Remove -nonewline. Match also the added "main" line.
5190
99894e11
JK
51912014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5192
5193 Fix "save breakpoints" for "disable $bpnum" command.
5194 * gdb.base/save-bp.c (main): Add label.
5195 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5196
6e1ac5a3
JK
51972014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5198
5199 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5200
754dd2b0
YQ
52012014-10-11 Yao Qi <yao@codesourcery.com>
5202
5203 * gdb.server/server-kill.exp: Execute command
5204 "set remote trace-status-packet on" before "tstatus".
5205
f90183d7
YQ
52062014-10-11 Yao Qi <yao@codesourcery.com>
5207
5208 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5209 (main): Call getppid.
5210 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5211 and continue to it. Read variable "server_pid".
5212
bf40a607
YQ
52132014-10-11 Yao Qi <yao@codesourcery.com>
5214
5215 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5216
052ca370
YQ
52172014-10-11 Yao Qi <yao@codesourcery.com>
5218
5219 * gdb.threads/thread-find.exp: Don't execute command
5220 "info threads".
5221 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5222 * gdb.threads/linux-dp.exp: Don't check the condition
5223 $threads_created equals to zero.
5224
3831839c
PA
52252014-10-10 Pedro Alves <palves@redhat.com>
5226
5227 * gdb.base/bigcore.exp: Remove references to IRIX.
5228 * gdb.base/funcargs.exp: Likewise.
5229 * gdb.base/interrupt.exp: Likewise.
5230 * gdb.base/mips_pro.exp: Likewise.
5231 * gdb.base/nodebug.exp: Likewise.
5232 * gdb.base/setvar.exp: Likewise.
5233 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5234
8b9a549d
PA
52352014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5236 Pedro Alves <palves@redhat.com>
5237
5238 PR symtab/14466
5239 * gdb.base/vdso-warning.c: New file.
5240 * gdb.base/vdso-warning.exp: New file.
5241
d48ba5e8
DE
52422014-10-02 Doug Evans <dje@google.com>
5243
5244 * gdb.base/structs.c (main): Don't run forever.
5245
2278c276
PA
52462014-10-02 Pedro Alves <palves@redhat.com>
5247
5248 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5249 (top level) <stop threads 1, stop threads 2>: Use it.
5250
b57bacec
PA
52512014-10-02 Pedro Alves <palves@redhat.com>
5252
5253 * gdb.threads/break-while-running.exp (test): Add new
5254 'update_thread_list' argument. Skip "info threads" if false.
5255 (top level): Add new 'update_thread_list' axis.
5256
13fd3ff3
PA
52572014-10-02 Pedro Alves <palves@redhat.com>
5258
5259 PR breakpoints/17431
5260 * gdb.base/execl-update-breakpoints.c: New file.
5261 * gdb.base/execl-update-breakpoints.exp: New file.
5262
0fec99e8
PA
52632014-10-01 Pedro Alves <palves@redhat.com>
5264
5265 * gdb.base/breakpoint-in-ro-region.c: New file.
5266 * gdb.base/breakpoint-in-ro-region.exp: New file.
5267
2ddf4301
SM
52682014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5269
5270 * gdb.mi/mi-exit-code.exp: New file.
5271 * gdb.mi/mi-exit-code.c: New file.
5272
6a5f3f43
YQ
52732014-09-30 Yao Qi <yao@codesourcery.com>
5274
5275 * lib/prelink-support.exp (build_executable_own_libs): Error if
5276 the target isn't native.
5277
345bcc73
YQ
52782014-09-30 Yao Qi <yao@codesourcery.com>
5279
5280 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5281 false.
5282
a25a5a45
PA
52832014-09-22 Pedro Alves <palves@redhat.com>
5284
5285 * gdb.threads/break-while-running.exp: New file.
5286 * gdb.threads/break-while-running.c: New file.
5287
00ba3162
YQ
52882014-09-19 Yao Qi <yao@codesourcery.com>
5289
5290 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5291 Invoke test. Restart GDB with --readnow and invoke test again.
5292
c3b7b696
YQ
52932014-09-19 Yao Qi <yao@codesourcery.com>
5294
5295 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5296 proc set_breakpoint_on_gcd_function. Invoke
5297 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5298 invoke set_breakpoint_on_gcd_function again.
5299
2b4fd423
DE
53002014-09-18 Doug Evans <dje@google.com>
5301
5302 * gdb.dwarf2/symtab-producer.exp: New file.
5303
a5947601
SDJ
53042014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5305
5306 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5307 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5308 * gdb.base/global-var-nested-by-dso.c: Likewise.
5309 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5310
91c19059
SDJ
53112014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5312 Pedro Alves <palves@redhat.com>
5313
5314 * gdb.base/watch-bitfields.exp: Pass string other than test file
5315 name to prepare_for_testing.
5316 (watch): New procedure.
5317 (expect_watchpoint): Use with_test_prefix.
5318 (top level): Factor out tests to ...
5319 (test_watch_location, test_regular_watch): ... these new
5320 procedures, and use with_test_prefix and gdb_continue_to_end.
5321
bb9d5f81
PP
53222014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5323
5324 PR breakpoints/12526
5325 * gdb.base/watch-bitfields.exp: New file.
5326 * gdb.base/watch-bitfields.c: New file.
5327
635856f5
PA
53282014-09-16 Pedro Alves <palves@redhat.com>
5329
5330 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5331 software and hardware addresses, not software address against
5332 itself.
5333
7280ceea
PA
53342014-09-16 Pedro Alves <palves@redhat.com>
5335
5336 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5337 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5338
428b16bd
PA
53392014-09-16 Pedro Alves <palves@redhat.com>
5340
5341 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5342 files.
5343 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5344 "*-*-vxworks*" throughout.
5345 * gdb.base/break.exp: Likewise.
5346 * gdb.base/default.exp: Likewise.
5347 * gdb.base/scope.exp: Likewise.
5348 * gdb.base/sepdebug.exp: Likewise.
5349 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5350 throughout.
5351 * gdb.base/run.c: Likewise.
5352 * gdb.base/sepdebug.c: Likewise.
5353 * gdb.hp/gdb.aCC/run.c: Likewise.
5354 * gdb.reverse/until-reverse.c: Likewise.
5355 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5356
666d413c
YQ
53572014-09-16 Yao Qi <yao@codesourcery.com>
5358
5359 * boards/local-remote-host-native.exp: New file.
5360
57cbd724
DE
53612014-09-14 Doug Evans <xdje42@gmail.com>
5362
5363 * gdb.threads/queue-signal.c (thread_count): New variable.
5364 (thread_count_mutex, thread_count_condvar): New variables.
5365 (incr_thread_count, wait_all_threads_running): New functions.
5366 (main): Wait for all threads to be in their thread functions.
5367
81219e53
DE
53682014-09-13 Doug Evans <xdje42@gmail.com>
5369
5370 * gdb.threads/queue-signal.c: New file.
5371 * gdb.threads/queue-signal.exp: New file.
5372
3714cea7
DE
53732014-09-13 Doug Evans <xdje42@gmail.com>
5374
5375 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5376 be consistent with what default_gdb_init uses.
5377 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5378 the plain text of the prompt. Add some logging printfs.
5379 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5380
fa43b1d7
PA
53812014-09-12 Pedro Alves <palves@redhat.com>
5382
5383 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5384 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5385 * gdb.arch/i386-size-overlap.exp: Likewise.
5386 * gdb.arch/i386-size.exp: Likewise.
5387 * gdb.arch/i386-unwind.exp: Likewise.
5388 * gdb.base/a2-run.exp: Likewise.
5389 * gdb.base/break.exp: Likewise.
5390 * gdb.base/charset.exp: Likewise.
5391 * gdb.base/chng-syms.exp: Likewise.
5392 * gdb.base/commands.exp: Likewise.
5393 * gdb.base/dbx.exp: Likewise.
5394 * gdb.base/find.exp: Likewise.
5395 * gdb.base/funcargs.exp: Likewise.
5396 * gdb.base/jit-simple.exp: Likewise.
5397 * gdb.base/reread.exp: Likewise.
5398 * gdb.base/sepdebug.exp: Likewise.
5399 * gdb.base/step-bt.exp: Likewise.
5400 * gdb.cp/mb-inline.exp: Likewise.
5401 * gdb.cp/mb-templates.exp: Likewise.
5402 * gdb.objc/basicclass.exp: Likewise.
5403 * gdb.threads/killed.exp: Likewise.
5404
9d9bf2df
EBM
54052014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5406
5407 PR tdep/17379
5408 * gdb.arch/powerpc-stackless.S: New file.
5409 * gdb.arch/powerpc-stackless.exp: New file.
5410
1cf2f1b0
JK
54112014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5412
5413 * gdb.base/attach.c: Include unistd.h.
5414 (main): Call alarm. Add label postloop.
5415 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5416 gdb_breakpoint, gdb_continue_to_breakpoint.
5417 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5418
98880d46
PA
54192014-09-11 Pedro Alves <palves@redhat.com>
5420
5421 PR gdb/17347
5422 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5423 * gdb.base/attach.exp (test_command_line_attach_run): New
5424 procedure.
5425 (top level): Call it.
5426
4c92ff2c
PA
54272014-09-11 Pedro Alves <palves@redhat.com>
5428
5429 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5430 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5431 (do_command_attach_tests): Use spawn_wait_for_attach.
5432 * gdb.base/solib-overlap.exp: Likewise.
5433 * gdb.multi/multi-attach.exp: Likewise.
5434 * gdb.python/py-prompt.exp: Likewise.
5435 * gdb.python/py-sync-interp.exp: Likewise.
5436 * gdb.server/ext-attach.exp: Likewise.
5437
3adc1a7d
GKB
54382014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5439
5440 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5441 command in testcase. Simplify testcase.
5442
96334934
JB
54432014-09-10 Joel Brobecker <brobecker@adacore.com>
5444
5445 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5446
eb479039
JB
54472014-09-10 Joel Brobecker <brobecker@adacore.com>
5448
5449 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5450
deede10c
JB
54512014-09-10 Joel Brobecker <brobecker@adacore.com>
5452
5453 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5454
7828a5f5
JB
54552014-09-10 Joel Brobecker <brobecker@adacore.com>
5456
5457 * gdb.dwarf2/dynarr-ptr.c: New file.
5458 * gdb.dwarf2/dynarr-ptr.exp: New file.
5459
33aeebcf
MR
54602014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5461
5462 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5463 of 30 rather than hardcoding 120 for a slow test case. Take the
5464 `gdb,timeout' target setting into account for this calculation.
5465 Don't extend the timeout for the test cases that don't need it.
5466
7b415901
MR
54672014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5468
5469 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5470 a factor of 2 for a slow test case. Take the `gdb,timeout'
5471 target setting into account for this calculation.
5472 * gdb.reverse/until-precsave.exp: Increase the timeout by
5473 a factor of 15 and 3 respectively rather than adding 120
5474 for a pair of slow test cases. Take the `gdb,timeout'
5475 target setting into account for this calculation.
5476
4a40f85a
MR
54772014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5478
5479 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5480 timeout, don't pass one down to gdb_expect.
5481 (gdb_expect): Rework timeout selection.
5482
09635af7
MR
54832014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5484
5485 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5486 exception on timeout.
5487 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5488 (gdbserver_start_extended): Catch any `gdbserver_start' error
5489 exceptions.
5490 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5491 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5492 `gdbserver_gdb_load' error exceptions.
5493
2bdd10b7
MR
54942014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5495
5496 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5497 120 on waiting for the TCP socket to open.
5498
316935f0
DE
54992014-09-09 Doug Evans <xdje42@gmail.com>
5500
5501 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5502 _caller_matches, _any_caller_is, _any_caller_matches.
5503
83740597
DE
55042014-09-09 Doug Evans <xdje42@gmail.com>
5505
5506 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5507
4c122fc3
YQ
55082014-09-09 Yao Qi <yao@codesourcery.com>
5509
5510 * gdb.mi/mi-var-display.exp: Set print symbol off.
5511
a9f116cb
GKB
55122014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5513
5514 PR gdb/17035
5515 * gdb.base/commands.exp: Add tests to verify user-defined
5516 commands with empty bodies.
5517 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5518 python commands in `show user command`.
5519 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5520 scheme commands in `show user command`.
5521
c75bd3a2
JK
55222014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5523
5524 PR python/17355
5525 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5526 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5527 * gdb.python/py-framefilter-invalidarg.exp: New file.
5528 * gdb.python/py-framefilter-invalidarg.py: New file.
5529
faa42425
DE
55302014-09-06 Doug Evans <xdje42@gmail.com>
5531
5532 PR 15276
5533 * gdb.python/py-caller-is.c: New file.
5534 * gdb.python/py-caller-is.exp: New file.
5535
474ca4f6
SDJ
55362014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5537
5538 PR gdb/17235
5539 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5540 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5541
eb0b0463
SDJ
55422014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5543
5544 PR fortran/17237
5545 * gdb.fortran/print-formatted.exp: New file.
5546 * gdb.fortran/print-formatted.f90: Likewise.
5547
5f3b99cf
SS
55482014-09-03 Sasha Smundak <asmundak@google.com>
5549
5550 * gdb.python/py-frame.exp: Test Frame.read_register.
5551
7d793aa9
SDJ
55522014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5553
5554 PR python/16699
5555 * gdb.python/py-completion.exp: New file.
5556 * gdb.python/py-completion.py: Likewise.
5557
fb0576e9
DE
55582014-08-28 Doug Evans <dje@google.com>
5559
5560 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5561 eax,etc. are live with values set by gdb and thus the compiler can't
5562 use them.
5563 * gdb.arch/i386-pseudo.c (main): Ditto.
5564
ee92b0dd
DE
55652014-08-27 Doug Evans <dje@google.com>
5566
5567 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5568
6649db35
DE
55692014-08-25 Doug Evans <dje@google.com>
5570
5571 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5572 (main): Ditto.
5573
564b7600
DE
55742014-08-25 Doug Evans <dje@google.com>
5575
5576 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5577
3881fb67
YQ
55782014-08-24 Yao Qi <yao@codesourcery.com>
5579
5580 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5581 symbol off.
5582 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5583
a05a36a5
DE
55842014-08-22 Doug Evans <dje@google.com>
5585
5586 PR 17276
5587 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5588 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5589 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5590
7c343b48
YQ
55912014-08-22 Yao Qi <yao@codesourcery.com>
5592
5593 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5594 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5595 * gdb.python/python.exp: Likewise. Use .py file on the host
5596 instead of the build.
5597
22fd09ae
JK
55982014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5599
5600 * gdb.threads/gcore-stale-thread.c: New file.
5601 * gdb.threads/gcore-stale-thread.exp: New file.
5602
a8454a7c
PA
56032014-08-21 Pedro Alves <palves@redhat.com>
5604
5605 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5606 * gdb.base/gcore-relro-pie.exp: Likewise.
5607 * gdb.base/gcore-relro.exp: Likewise.
5608 * gdb.base/gcore.exp: Likewise.
5609 * gdb.base/print-symbol-loading.exp: Likewise.
5610 * gdb.threads/gcore-thread.exp: Likewise.
5611 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5612
2a31c623
PA
56132014-08-20 Pedro Alves <palves@redhat.com>
5614 Jan Kratochvil <jan.kratochvil@redhat.com>
5615
5616 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5617 configure.
5618 (EXPECT): Handle READ1 being set.
5619 (all): Depend on EXTRA_RULES.
5620 (check-read1, expect-read1, read1.so, read1): New rules.
5621 * README (Testsuite Parameters): Document the READ1 make variable.
5622 (Race detection): New section.
5623 * configure: Regenerate.
5624 * configure.ac: If build==host==target, and running under a
5625 GNU/glibc system, add read1 to the extra Makefile rules.
5626 (EXTRA_RULES): AC_SUBST it.
5627 * lib/read1.c: New file.
5628
d36430db
JB
56292014-08-20 Joel Brobecker <brobecker@adacore.com>
5630
5631 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5632 the handling of variables declared as a typedef to an array
5633 which a DW_AT_data_location attribute.
5634
9a0dc9e3
PA
56352014-08-19 Andrew Burgess <aburgess@broadcom.com>
5636 Pedro Alves <palves@redhat.com>
5637
5638 PR symtab/14604
5639 PR symtab/14605
5640 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5641 gdb_test.
5642
0718a8da
PA
56432014-08-19 Pedro Alves <palves@redhat.com>
5644
5645 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5646
13b448cd
YQ
56472014-08-19 Yao Qi <yao@codesourcery.com>
5648
5649 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5650 right line.
5651
1cbf5077
DB
56522014-08-18 David Blaikie <dblaikie@gmail.com>
5653
5654 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5655
bf0fae19
JB
56562014-08-18 Joel Brobecker <brobecker@adacore.com>
5657
5658 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5659 attribute in array range.
5660
3c8c5dcc
JB
56612014-08-18 Joel Brobecker <brobecker@adacore.com>
5662
5663 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5664
e66d4446
SC
56652014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5666
5667 PR c++/17132
5668 * gdb.cp/pr17132.cc: New file.
5669 * gdb.cp/pr17132.exp: New file.
5670
940df408
SC
56712014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5672
5673 * gdb.python/py-xmethods.py (A_getarrayind)
5674 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5675 Use 'print' with function call syntax.
5676 (E_method_matcher.match): Fix tab vs space indentation mixup.
5677
ebcc6c3a
YQ
56782014-08-15 Yao Qi <yao@codesourcery.com>
5679
5680 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5681 false.
5682
775e0f04
YQ
56832014-08-15 Yao Qi <yao@codesourcery.com>
5684
5685 * gdb.cp/casts.exp: Set print symbol off.
5686 * gdb.cp/class2.exp: Likewise.
5687 * gdb.cp/overload.exp: Likewise.
5688 * gdb.cp/templates.exp: Likewise.
5689
d769e349
DE
56902014-08-11 Doug Evans <dje@google.com>
5691
5692 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5693 (test_load_shlib): Update.
5694
20c6f1e1
YQ
56952014-08-09 Yao Qi <yao@codesourcery.com>
5696
5697 * gdb.base/display.exp: Invoke is_address_zero_readable.
5698 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5699 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5700 * gdb.base/hbreak-unmapped.exp: Return if
5701 is_address_zero_readable returns true.
5702 * gdb.base/signest.exp: Likewise.
5703 * gdb.base/signull.exp: Likewise.
5704 * gdb.base/sigbpt.exp: Likewise.
5705 * gdb.guile/scm-disasm.exp: Do the test if
5706 is_address_zero_readable returns false.
5707 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5708 * gdb.python/py-arch.exp: Likewise.
5709 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5710 * lib/gdb.exp (is_address_zero_readable): New proc.
5711
5792e8e3
YQ
57122014-08-09 Yao Qi <yao@codesourcery.com>
5713
5714 PR testsuite/13443
5715 * gdb.mi/mi-var-display.exp: Make test messages unique.
5716
3cecbbbe
TT
57172014-08-04 Tom Tromey <tromey@redhat.com>
5718
5719 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5720 target 0".
5721
00b51ff5
TT
57222014-08-04 Tom Tromey <tromey@redhat.com>
5723
5724 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5725 "target_resume".
5726
6908c509
JB
57272014-08-01 Joel Brobecker <brobecker@adacore.com>
5728
5729 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5730 inner_vla_struct_object_size.
5731 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5732 as xfail.
5733
cc6563d2
PA
57342014-07-30 Pedro Alves <palves@redhat.com>
5735
5736 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5737 comment.
5738
7e09a223
YQ
57392014-07-29 Yao Qi <yao@codesourcery.com>
5740
5741 PR gdb/17206
5742 * gdb.base/until-nodebug.exp: New.
5743
7ebdbe92
DE
57442014-07-28 Doug Evans <xdje42@gmail.com>
5745
5746 PR guile/17203
5747 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5748 previously existing parameter, and previously ambiguously spelled
5749 parameter.
5750
fdb1adc6
WN
57512014-07-28 Will Newton <will.newton@linaro.org>
5752
5753 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5754
186fcde0
DE
57552014-07-26 Ludovic Courtès <ludo@gnu.org>
5756 Doug Evans <xdje42@gmail.com>
5757
5758 PR guile/17146
5759 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5760
70509625
PA
57612014-07-25 Pedro Alves <palves@redhat.com>
5762
5763 * gdb.threads/signal-command-handle-nopass.c: New file.
5764 * gdb.threads/signal-command-handle-nopass.exp: New file.
5765 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5766 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5767 * gdb.threads/signal-delivered-right-thread.c: New file.
5768 * gdb.threads/signal-delivered-right-thread.exp: New file.
5769
c3f814a1
PA
57702014-07-25 Pedro Alves <palves@redhat.com>
5771
5772 * gdb.base/double-prompt-target-event-error.exp
5773 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5774 match.
5775 (cancel_pagination_in_target_event): Rework double prompt
5776 detection.
5777 * gdb.base/paginate-after-ctrl-c-running.exp
5778 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5779 <return>' match.
5780 * gdb.base/paginate-bg-execution.exp
5781 (test_bg_execution_pagination_return)
5782 (test_bg_execution_pagination_cancel): Remove '-notransfer
5783 <return>' matches.
5784 * gdb.base/paginate-execution-startup.exp
5785 (test_fg_execution_pagination_return)
5786 (test_fg_execution_pagination_cancel): Remove '-notransfer
5787 <return>' matches.
5788 * gdb.base/paginate-inferior-exit.exp
5789 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5790 match.
5791 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5792 * lib/gdb.exp (pagination_prompt): Run text through
5793 string_to_regexp.
5794 (gdb_test_multiple): Match $pagination_prompt instead of
5795 "<return>".
5796 (string_to_regexp): Move to lib/gdb-utils.exp.
5797
e214cf6c
JK
57982014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5799
5800 * gdb.arch/amd64-entry-value-paramref.S: New file.
5801 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5802 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5803 * gdb.arch/amd64-optimout-repeat.S: New file.
5804 * gdb.arch/amd64-optimout-repeat.c: New file.
5805 * gdb.arch/amd64-optimout-repeat.exp: New file.
5806
17d0c5c8
JK
58072014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5808
5809 PR gdb/17170
5810 * gdb.base/statistics.exp: New file.
5811
b8b8facf
DE
58122014-07-17 Doug Evans <dje@google.com>
5813
74b49205 5814 PR gdb/17170
b8b8facf
DE
5815 * gdb.base/maint.exp: Update testing of per-command stats.
5816
1b5d0ab3
PA
58172014-07-16 Pedro Alves <palves@redhat.com>
5818
5819 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5820 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5821 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5822 (tfile_write_buf): New functions.
5823 (add_memory_block): Rewrite using the above.
5824 (adjust_function_address): New function.
5825 (FUNCTION_ADDRESS): New macro.
5826 (write_basic_trace_file): Remove short_x local, and use
5827 tfile_write_16. Change type of func_addr local to unsigned long
5828 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5829 here. Cast argument of add_memory_block to char pointer.
5830 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5831 (main): Remove parameters.
5832 * gdb.trace/tfile.exp: Remove nowarnings.
5833
4d974e88
SM
58342014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5835
5836 * gdb.base/debug-expr.exp: Test string evaluation with
5837 "debug expression" on.
5838
41e99568
PA
58392014-07-15 Pedro Alves <palves@redhat.com>
5840
5841 * gdb.base/reread.exp: Use clean_restart.
5842
487d9753
PL
58432014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5844
5845 * gdb.arch/avr-flash-qualifer.c: New.
5846 * gdb.arch/avr-flash-qualifer.exp: New.
5847
cc1c52ad
PA
58482014-07-14 Pedro Alves <palves@redhat.com>
5849
5850 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5851 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5852
1e973570
PA
58532014-07-14 Pedro Alves <palves@redhat.com>
5854
5855 * gdb.base/double-prompt-target-event-error.c: New file.
5856 * gdb.base/double-prompt-target-event-error.exp: New file.
5857
93d6eb10
PA
58582014-07-14 Pedro Alves <palves@redhat.com>
5859
5860 PR gdb/17072
5861 * gdb.base/paginate-inferior-exit.c: New file.
5862 * gdb.base/paginate-inferior-exit.exp: New file.
5863
0017922d
PA
58642014-07-14 Pedro Alves <palves@redhat.com>
5865
5866 PR gdb/17072
5867 * gdb.base/paginate-bg-execution.c: New file.
5868 * gdb.base/paginate-bg-execution.exp: New file.
5869
94696ad3
PA
58702014-07-14 Pedro Alves <palves@redhat.com>
5871
5872 PR gdb/17072
5873 * gdb.base/paginate-execution-startup.c: New file.
5874 * gdb.base/paginate-execution-startup.exp: New file.
5875 * lib/gdb.exp (pagination_prompt): New global.
5876 (default_gdb_spawn): New procedure, factored out from
5877 default_gdb_spawn.
5878 (default_gdb_start): Adjust to call default_gdb_spawn.
5879 (gdb_spawn): New procedure.
5880
bd293940
PA
58812014-07-14 Pedro Alves <palves@redhat.com>
5882
5883 * lib/gdb.exp (gdb_assert): New procedure.
5884 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5885
c933f875
PA
58862014-07-14 Pedro Alves <palves@redhat.com>
5887
5888 * gdb.base/execution-termios.c: New file.
5889 * gdb.base/execution-termios.exp: New file.
5890
d98b7a16
TT
58912014-07-14 Tom Tromey <tromey@redhat.com>
5892
5893 * gdb.cp/vla-cxx.cc: New file.
5894 * gdb.cp/vla-cxx.exp: New file.
5895
548740d6
TT
58962014-07-14 Tom Tromey <tromey@redhat.com>
5897
5898 * gdb.reverse/rerun-prec.c: New file.
5899 * gdb.reverse/rerun-prec.exp: New file.
5900
a25eb028
MR
59012014-07-12 Maciej W. Rozycki <macro@mips.com>
5902 Maciej W. Rozycki <macro@codesourcery.com>
5903
5904 * lib/gdb-utils.exp: New file.
5905 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5906 inline `gdb_init_command' processing.
5907 (gdb_start_cmd): Likewise.
5908 * lib/mi-support.exp (mi_run_cmd): Likewise.
5909 * README: Document `gdb_init_command' and `gdb_init_commands'.
5910
218c2655
JK
59112014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5912
5913 Fix false FAIL running under a very long directory name.
5914 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5915 and "set print elements 10000". Twice.
5916
5401fde3
YQ
59172014-07-11 Yao Qi <yao@codesourcery.com>
5918
5919 * gdb.base/exprs.exp: "set print symbol off".
5920
e76126e8
PA
59212014-07-11 Pedro Alves <palves@redhat.com>
5922
5923 * gdb.threads/kill.c: New file.
5924 * gdb.threads/kill.exp: New file.
5925
2d6f0de6
YQ
59262014-07-10 Yao Qi <yao@codesourcery.com>
5927
5928 * gdb.trace/tfile.c (write_basic_trace_file)
5929 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5930 address written to trace file.
5931
7180e04a
PA
59322014-07-09 Pedro Alves <palves@redhat.com>
5933
5934 * gdb.base/attach-wait-input.exp: New file.
5935 * gdb.base/attach-wait-input.c: New file.
5936
9a9a7608
AB
59372014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5938
5939 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5940 setting up test structures.
5941 (main): Call new test function.
5942 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5943 test function, continue into test function and walk test
5944 structures.
5945
161ac41e
YQ
59462014-07-02 Yao Qi <yao@codesourcery.com>
5947
5948 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5949 'bar_start' at the beginning of functions 'foo' and 'bar'
5950 respectively.
5951 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5952 instead of 'foo' and 'bar'.
5953
1f267ae3
MM
59542014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5955
5956 * gdb.btrace/segv.exp: New.
5957 * gdb.btrace/segv.c: New.
5958
2b239efb
LM
59592014-07-02 Luis Machado <lgustavo@codesourcery.com>
5960
5961 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5962 instruction.
5963
cf363f18
MW
59642014-06-30 Mark Wielaard <mjw@redhat.com>
5965
5966 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5967 vulture, vilify, villar): New volatile array constants.
5968 (vindictive, vegetation): New const volatile array constants.
5969 * gdb.base/volatile.exp: Test volatile and const volatile array
5970 types.
5971
aebf9d24
AA
59722014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5973
5974 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5975 target lacks support for awatch, rwatch, or hbreak.
5976
b67a2c6f
YQ
59772014-06-27 Yao Qi <yao@codesourcery.com>
5978
5979 * gdb.multi/dummy-frame-restore.exp: New.
5980 * gdb.multi/dummy-frame-restore.c: New.
5981
aef92902
MM
59822014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5983
5984 * gdb.btrace/gcore.exp: New.
5985
8e9db26e
PA
59862014-06-23 Pedro Alves <palves@redhat.com>
5987
5988 * gdb.base/watchpoint-reuse-slot.c: New file.
5989 * gdb.base/watchpoint-reuse-slot.exp: New file.
5990
70afc5b7
SC
59912014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5992
5993 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5994 progspace's filename in 'info', 'enable' and 'disable' command
5995 tests.
5996
b972bd9c
JK
59972014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5998
5999 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6000 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6001 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6002
125f8a3d
GB
60032014-06-20 Gary Benson <gbenson@redhat.com>
6004
6005 * gdb.arch/i386-avx.exp: Fix include file location.
6006 * gdb.arch/i386-sse.exp: Likewise.
6007
3ed9baed
IB
60082014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6009
6010 * gdb.dlang/expression.exp: New file.
6011
034f788c
PA
60122014-06-19 Pedro Alves <palves@redhat.com>
6013
6014 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6015 out from ...
6016 (top level): ... here. Iterate running tests under different
6017 scheduler-locking settings.
6018
45371d0c
LM
60192014-06-18 Luis Machado <lgustavo@codesourcery.com>
6020
6021 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6022 to DW_FORM_addr and use non-zero addresses.
6023
5d376983
SC
60242014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6025
6026 PR gdb/17017
6027 * gdb.python/py-xmethods.cc: Add global function call counters and
6028 increment them in their respective functions. Remove "cout"
6029 statements.
6030 * gdb.python/py-xmethods.exp: Make tests check the global function
6031 call counters instead of depending on inferior IO.
6032
a1aa2221
LM
60332014-06-18 Don Breazeal <donb@codesourcery.com>
6034
6035 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6036 Deleted procedure.
6037 (explicit_fork_parent_follow): Deleted procedure.
6038 (explicit_fork_child_follow): Deleted procedure.
6039 (test_follow_fork): New procedure.
6040 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 6041 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
6042 procedure calls.
6043
0fc05997
YQ
60442014-06-17 Yao Qi <yao@codesourcery.com>
6045
6046 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6047 CP1252.
6048
70795c52
LM
60492014-06-17 Luis Machado <lgustavo@codesourcery.com>
6050
6051 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6052 Initialize ptr and S explicitly.
6053 (skip_type_update_when_not_use_rtti_test): Likewise.
6054
6be47f0c
KS
60552014-06-16 Keith Seitz <keiths@redhat.com>
6056
6057 PR mi/15863
6058 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6059 the inferior is started.
6060
d03de421
PA
60612014-06-16 Pedro Alves <palves@redhat.com>
6062
6063 * gdb.base/break-main-file-remove-fail.c: New file.
6064 * gdb.base/break-main-file-remove-fail.exp: New file.
6065 * gdb.base/break-unload-file.exp: Use build_executable instead of
6066 prepare_for_testing.
6067 (test_break): New parameter "initial_load". Handle it.
6068 (top level): Add initial_load cmdline/file axis.
6069
f9579b99
TT
60702014-06-12 Tom Tromey <tromey@redhat.com>
6071
6072 * gdb.base/completion.exp: Don't use directory name in test.
6073
3657956b
GB
60742014-06-09 Gary Benson <gbenson@redhat.com>
6075
6076 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6077 separate the always-available ANSI-standard signals from the
6078 signals that require checking.
6079 (main): Likewise.
6080 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6081 Likewise.
6082 (main): Likewise.
6083
4186eb54
KS
60842014-06-07 Keith Seitz <keiths@redhat.com>
6085
6086 Revert:
6087 PR c++/16253
6088 * gdb.cp/var-tag.cc: New file.
6089 * gdb.cp/var-tag.exp: New file.
6090 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6091 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6092 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6093 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6094
25326a28 60952014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
6096
6097 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6098
829155c9
PA
60992014-06-06 Pedro Alves <palves@redhat.com>
6100
6101 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6102 in target debug output instead of looking at RSP packets,
6103 disabling the test on any target that uses hardware stepping.
6104 Update comments.
6105
61c8d22e
PA
61062014-06-06 Pedro Alves <palves@redhat.com>
6107
6108 * gdb.base/break-unload-file.exp: Fix typo.
6109
d9a47287
YQ
61102014-06-06 Yao Qi <yao@codesourcery.com>
6111
6112 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6113 from "jit_function" to "^jit_function".
6114
e5e01dbf
YQ
61152014-06-06 Yao Qi <yao@codesourcery.com>
6116
6117 * gdb.base/async.c (foo): Add one statement.
6118 * gdb.base/async.exp: Get the next instruction address and
6119 match the output of "nexti" by instruction address. Match
6120 the hex address in the output of "finish".
6121
73ba372c
GB
61222014-06-06 Gary Benson <gbenson@redhat.com>
6123
6124 * gdb.base/call-signals.c: Remove preprocessor conditionals
6125 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6126 SIGSEGV and SIGTERM.
6127 * gdb.base/sigall.c: Likewise.
6128 * gdb.base/unwindonsignal.c: Likewise.
6129 * gdb.reverse/sigall-reverse.c: Likewise.
6130
831517df
YQ
61312014-06-06 Yao Qi <yao@codesourcery.com>
6132
6133 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6134 readable, skip the test.
6135
b8b91e98
YQ
61362014-06-06 Yao Qi <yao@codesourcery.com>
6137
6138 * gdb.threads/staticthreads.c (thread_function): Move the line
6139 setting breakpoint on forward.
6140 * gdb.threads/staticthreads.exp: Update comments.
6141
fb934770
LC
61422014-06-05 Ludovic Courtès <ludo@gnu.org>
6143
6144 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6145 "history-append! type error".
6146
6ef284bd
SM
61472014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6148
6149 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6150 erroneous dprintf expected input.
6151
a872e241
DE
61522014-06-04 Doug Evans <xdje42@gmail.com>
6153
6154 * gdb.guile/scm-generics.exp: Delete.
6155
16f691fb
DE
61562014-06-04 Doug Evans <xdje42@gmail.com>
6157
6158 * gdb.guile/scm-breakpoint.exp: Update.
6159 Add tests for breakpoint registration.
6160
012370f6
TT
61612014-06-04 Tom Tromey <tromey@redhat.com>
6162
6163 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6164 VLA-in-union.
6165 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6166 inner_vla_struct, vla_union types. Initialize objects of those
6167 types and compute their sizes.
6168
9f5a4cef
HZ
61692014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6170 Hui Zhu <hui@codesourcery.com>
6171
6172 * gdb.base/fileio.exp: Add test for shell not available as well as
6173 available.
6174 * gdb.base/fileio.c (test_system): Check for shell twice.
6175
90a45c4d
YQ
61762014-06-04 Yao Qi <yao@codesourcery.com>
6177
6178 * gdb.base/auto-connect-native-target.exp: Remove redundant
6179 space from the regexp pattern.
6180
70017e41
YQ
61812014-06-04 Yao Qi <yao@codesourcery.com>
6182
6183 * gdb.base/default.exp: Replace "child" with "native" in
6184 regexp pattern.
6185
883964a7
SC
61862014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6187
6188 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6189 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6190 * gdb.python/py-xmethods.py: Python script supporting the
6191 new testcase and tests.
6192
ef370185
JB
61932014-06-03 Joel Brobecker <brobecker@adacore.com>
6194 Pedro Alves <palves@redhat.com>
6195
6196 PR breakpoints/17000
6197 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6198 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6199
1e2ccb61
BM
62002014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6201
6202 * gdb.base/subst.exp: Add tests to verify partial path matching
6203 output.
6204
c6ec5ab2
PA
62052014-06-03 Pedro Alves <palves@redhat.com>
6206
6207 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6208 target that doesn't use software single-stepping.
6209
835c559f
PA
62102014-06-03 Pedro Alves <palves@redhat.com>
6211
6212 PR breakpoints/17000
6213 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6214 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6215
06eb1586
DE
62162014-06-02 Doug Evans <xdje42@gmail.com>
6217
6218 * gdb.guile/scm-parameter.exp: New file.
6219
e698b8c4
DE
62202014-06-02 Doug Evans <xdje42@gmail.com>
6221
6222 * gdb.guile/scm-cmd.c: New file.
6223 * gdb.guile/scm-cmd.exp: New file.
6224
ded03782
DE
62252014-06-02 Doug Evans <xdje42@gmail.com>
6226
6227 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6228 pretty-printer lookup.
6229 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6230 (make-pp_s-printer): Call it.
6231 (make-pretty-printer-from-dict): New function.
6232 (lookup-pretty-printer-maker-from-dict): New function.
6233 (*pretty-printer*): Simplify.
6234 (make-objfile-pp_s-printer): New function.
6235 (install-objfile-pretty-printers!): New function.
6236 (make-progspace-pp_s-printer): New function.
6237 (install-progspace-pretty-printers!): New function.
6238 * gdb.guile/scm-progspace.c: New file.
6239 * gdb.guile/scm-progspace.exp: New file.
6240
41fac0cf
PA
62412014-06-02 Pedro Alves <palves@redhat.com>
6242
6243 * gdb.base/dprintf-bp-same-addr.c: New file.
6244 * gdb.base/dprintf-bp-same-addr.exp: New file.
6245
96ae5695
EBM
62462014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6247
6248 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6249 * gdb.arch/powerpc-power.s: Likewise.
6250
da02b3a8
JB
62512014-06-02 Joel Brobecker <brobecker@adacore.com>
6252
6253 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6254
c72b2e7b
YQ
62552014-06-01 Yao Qi <yao@codesourcery.com>
6256
6257 * gdb.base/watchpoint.exp (test_watch_location): Check null
6258 pointer can be dereferenced. If not, do the test, otherwise
6259 skip it.
6260
53e8a631
AB
62612014-05-30 Andrew Burgess <aburgess@broadcom.com>
6262
6263 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6264 results.
6265 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6266
938f0e2f
AB
62672014-05-30 Andrew Burgess <aburgess@broadcom.com>
6268
6269 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6270 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6271 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6272 * gdb.arch/amd64-invalid-stack-top.c: New file.
6273 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6274
9ba6657a
PA
62752014-05-30 Pedro Alves <palves@redhat.com>
6276
6277 PR breakpoints/17000
6278 * gdb.base/sss-bp-on-user-bp.c: New file.
6279 * gdb.base/sss-bp-on-user-bp.exp: New file.
6280
522c09bf
DB
62812014-05-30 David Blaikie <dblaikie@gmail.com>
6282
6283 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6284 gnu_inline semantics via attribute.
6285 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6286 source explicitly specifies the required semantics.
6287
bf4ef81e
MR
62882014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6289
6290 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6291
329ea579
PA
62922014-05-29 Pedro Alves <palves@redhat.com>
6293 Tom Tromey <tromey@redhat.com>
6294
6295 * gdb.base/async-shell.exp: Don't enable target-async.
6296 * gdb.base/async.exp
6297 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6298 parameter. Adjust.
6299 (top level): Don't test with "target-async".
6300 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6301 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6302 * gdb.base/inferior-died.exp: Don't enable target-async.
6303 * gdb.base/interrupt-noterm.exp: Likewise.
6304 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6305 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6306 * gdb.mi/mi-nonstop.exp: Likewise.
6307 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6308 * gdb.mi/mi-nsintrall.exp: Likewise.
6309 * gdb.mi/mi-nsmoribund.exp: Likewise.
6310 * gdb.mi/mi-nsthrexec.exp: Likewise.
6311 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6312 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6313 * gdb.python/py-evsignal.exp: Don't enable target-async.
6314 * gdb.python/py-evthreads.exp: Likewise.
6315 * gdb.python/py-prompt.exp: Likewise.
6316 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6317 * gdb.server/solib-list.exp: Don't enable target-async.
6318 * gdb.threads/thread-specific-bp.exp: Likewise.
6319 * lib/mi-support.exp: Adjust to use mi-async.
6320
fd664c91
PA
63212014-05-29 Pedro Alves <palves@redhat.com>
6322
6323 PR gdb/13860
6324 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6325 reason, even in sync mode.
6326
251bde03
PA
63272014-05-29 Pedro Alves <palves@redhat.com>
6328 Hui Zhu <hui@codesourcery.com>
6329
6330 PR PR15693
6331 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6332 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6333 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6334 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6335
7f3c0343
JB
63362014-05-28 Joel Brobecker <brobecker@adacore.com>
6337
6338 * config/monitor.exp (gdb_target_monitor): Replace use of
6339 "set remotebaud" by "set serial baud".
6340
b2715b27
AW
63412014-05-26 Andy Wingo <wingo@igalia.com>
6342
6343 * gdb.guile/scm-breakpoint.exp:
6344 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6345 properties instead of gdb-object-properties.
6346
498a4489
YQ
63472014-05-26 Yao Qi <yao@codesourcery.com>
6348
6349 * gdb.server/no-thread-db.exp: Specify source file name
6350 explicitly when setting a breakpoint.
6351
589fdceb
MM
63522014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6353
6354 * gdb.btrace/vdso.c: New.
6355 * gdb.btrace/vdso.exp: New.
6356
e9089e05
MM
63572014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6358
6359 * gdb.base/gcore.exp (capture_command_output): Move ...
6360 * lib/gdb.exp (capture_command_output): ... here.
6361
67b5c0c1
MM
63622014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6363
6364 * gdb.btrace/data.exp: Test memory access during btrace replay.
6365
a2199296
SM
63662014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6367
6368 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6369
17b2616c
PA
63702014-05-21 Pedro Alves <palves@redhat.com>
6371
6372 PR gdb/13860
6373 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6374 (top level): Test that output related to execution commands is
6375 sent to the console with CLI commands, but not with MI commands.
6376 Test that breakpoint events are always mirrored to the console.
6377 Also expect the new source line to be output after a "next" in
6378 async mode too. Make it a pass/fail test.
6379 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6380 output.
6381 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6382
5166082f
PA
63832014-05-21 Pedro Alves <palves@redhat.com>
6384
6385 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6386 Use them to test variations of "list" after reaching a breakpoint.
6387 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6388 Test "list" with listsize 10 after reaching a breakpoint.
6389 * gdb.python/python.exp (decode_line current location line
6390 number): Adjust expected line number.
6391
2f25d70f
SM
63922014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6393
6394 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6395 behavior for $args, pass it directly to "run".
6396
ff604a67
MR
63972014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6398
6399 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6400 30000 to 65536.
6401
6a3cb8e8
PA
64022014-05-21 Pedro Alves <palves@redhat.com>
6403
6404 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6405 auto-connect-native-target off".
6406 * gdb.base/auto-connect-native-target.c: New file.
6407 * gdb.base/auto-connect-native-target.exp: New file.
6408
4ebfc96e
PA
64092014-05-21 Pedro Alves <palves@redhat.com>
6410
6411 * gdb.base/default.exp: Test "target native" instead of "target
6412 child".
6413
36d46afb
MW
64142014-05-21 Mark Wielaard <mjw@redhat.com>
6415
6416 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6417
5876f503
JK
64182014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6419
6420 Fix TLS access for -static -pthread.
6421 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6422 <HAVE_TLS> (thread_function, main): Initialize it.
6423 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6424 Add clean_restart.
6425 <$have_tls != "">: Check TLSVAR.
6426
0256a6ac
PA
64272014-05-21 Pedro Alves <palves@redhat.com>
6428
6429 * gdb.base/dcache-line-read-error.c: New.
6430 * gdb.base/dcache-line-read-error.exp: New.
6431
936d2992
PA
64322014-05-20 Pedro Alves <palves@redhat.com>
6433
6434 * gdb.base/compare-sections.c: New file.
6435 * gdb.base/compare-sections.exp: New file.
6436
802e8e6d
PA
64372014-05-20 Pedro Alves <palves@redhat.com>
6438
6439 * gdb.base/break-idempotent.c: New file.
6440 * gdb.base/break-idempotent.exp: New file.
6441
e59fa00f
MM
64422014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6443
6444 * gdb.btrace/nohist.exp: New.
6445
8b696e31
YQ
64462014-05-20 Yao Qi <yao@codesourcery.com>
6447
6448 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6449 gdb.reverse directory and gdb_reverse_timeout exists in board
6450 setting.
6451 * README: Document gdb_reverse_timeout.
6452
73c9764f
YQ
64532014-05-20 Yao Qi <yao@codesourcery.com>
6454
6455 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6456 'test_file_name'. Treat args as a string instead of a list.
6457 (gdb_init): Rename argument 'args' by 'test_file_name'.
6458
f1f4348a
JK
64592014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6460
6461 * gdb.arch/powerpc-power.exp: New file.
6462 * gdb.arch/powerpc-power.s: New file.
6463
0dbe70ce
DE
64642014-05-16 Doug Evans <dje@google.com>
6465
6466 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6467 * gdb.base/completion.exp: Check that all expected files exist
6468 before doing file completion.
0dbe70ce 6469
8d551b02
DE
64702014-05-16 Doug Evans <dje@google.com>
6471
6472 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6473 Update.
6474 (do_syscall_tests_without_xml): Update.
6475
73eb7709
PA
64762014-05-16 Pedro Alves <palves@redhat.com>
6477
6478 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6479 instead of "unknown output after running".
6480
3fae92fc
YQ
64812014-05-16 Yao Qi <yao@codesourcery.com>
6482
6483 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6484 file1.txt from host at the end.
6485 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6486
c2b2ccc5
DE
64872014-05-15 Doug Evans <dje@google.com>
6488
6489 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6490 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6491 loading file. Add test for TU lookup.
6492
8c217a4b
SM
64932014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6494
6495 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6496 calling "-exec-arguments" or "set args" before running the
6497 inferior.
6498
3deb39c6
SM
64992014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6500
6501 * lib/mi-support.exp (mi_expect_stop): Expect message for
6502 inferiors that exit with non-zero exit code.
6503
71a79f8c
YQ
65042014-05-14 Yao Qi <yao@codesourcery.com>
6505
6506 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6507 match absolute path on remote host.
6508 (test_file_list_exec_source_files): Remove "/" from the
6509 pattern.
6510
f23fcd46
YQ
65112014-05-14 Yao Qi <yao@codesourcery.com>
6512
6513 * boards/local-remote-host-notty.exp (${board}_file): New
6514 proc.
6515
9404b58f
KM
65162014-05-07 Kyle McMartin <kyle@redhat.com>
6517
6518 Pushed by Joel Brobecker <brobecker@adacore.com>.
6519 * gdb.arch/aarch64-atomic-inst.c: New file.
6520 * gdb.arch/aarch64-atomic-inst.exp: New file.
6521
5e45f04c
YQ
65222014-05-07 Yao Qi <yao@codesourcery.com>
6523
6524 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6525 in current context" too.
6526
c888a17d
KS
65272014-05-05 Keith Seitz <keiths@redhat.com>
6528
6529 * gdb.linespec/ls-dollar.exp: Add test for linespec
6530 file:convenience_variable.
6531
290a839c
YQ
65322014-05-05 Yao Qi <yao@codesourcery.com>
6533
6534 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6535 traceframes into tfile and ctf trace files. Read data from
6536 trace file and test collected data.
6537 (gdb_collect_locals_test): Likewise.
6538 (gdb_unavailable_registers_test): Likewise.
6539 (gdb_unavailable_floats): Likewise.
6540 (gdb_collect_globals_test): Likewise.
6541 (top-level): Append "ctf" to trace_file_targets if GDB
6542 supports.
6543
b5262cd0
YQ
65442014-05-05 Yao Qi <yao@codesourcery.com>
6545
6546 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6547 code to ...
6548 (gdb_collect_args_test_1): ... it. New proc.
6549 (gdb_collect_locals_test): Move some code to ...
6550 (gdb_collect_locals_test_1): ... it. New proc.
6551 (gdb_unavailable_registers_test): Move some code to ...
6552 (gdb_unavailable_registers_test_1): ... it. New proc.
6553 (gdb_unavailable_floats): Move some code to ...
6554 (gdb_unavailable_floats_1): ... it. New proc.
6555
30a1e6cc
SDJ
65562014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6557
6558 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6559 probes to test for bitness recognition.
6560 * gdb.arch/amd64-stap-optional-prefix.exp
6561 (test_probe_value_without_reg): New procedure.
6562 Add code to test for different kinds of bitness.
6563
f33da99a
SDJ
65642014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6565
6566 PR breakpoints/16889
6567 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6568 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6569
5b80f00d
PA
65702014-05-01 Pedro Alves <palves@redhat.com>
6571
6572 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6573 gdb_file_cmd if no file is specified.
6574 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6575 last_loaded_file to set the remote exec-file.
6576
f8c2a73c
PA
65772014-05-01 Pedro Alves <palves@redhat.com>
6578
6579 * boards/local-remote-host.exp: New file.
6580
be6e8ac7
PA
65812014-05-01 Pedro Alves <palves@redhat.com>
6582
6583 * boards/local-remote-host.exp: Rename to ...
6584 * boards/local-remote-host-notty.exp: ... this.
6585
cac0dc8f
JB
65862014-04-28 Joel Brobecker <brobecker@adacore.com>
6587
6588 * gdb.ada/dyn_arrayidx: New testcase.
6589
9730e6cc
YQ
65902014-04-26 Yao Qi <yao@codesourcery.com>
6591
6592 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6593 and compute the length of function main. Save it in
6594 $main_length.
6595 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6596 (top-level): Use gdb_compile to compile objects into
6597 executable and restart GDB. Remove invocation to
6598 prepare_for_testing.
6599
7ae1a6a6
PA
66002014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6601 Pedro Alves <palves@redhat.com>
6602
6603 PR server/16255
6604 * gdb.multi/multi-attach.c: New file.
6605 * gdb.multi/multi-attach.exp: New file.
6606
4082afcc
PA
66072014-04-25 Pedro Alves <palves@redhat.com>
6608
6609 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6610 user.
6611 (top level): Test that "set remote conditional-breakpoints-packet
6612 off" works as intended.
6613 * gdb.base/dprintf.exp: Test that "set remote
6614 breakpoint-commands-packet off" works as intended.
6615 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6616 New function.
6617 (top level): Call it.
6618 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6619 remote fast-tracepoints-packet off" works as intended.
6620 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6621 * lib/gdb.exp (gdb_is_target_remote): ... here.
6622
2abc3f8d
DB
66232014-04-24 David Blaikie <dblaikie@gmail.com>
6624
6625 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6626 ensure clang would not discard them.
6627 * gdb.base/gdbvars.c: Ditto.
6628 * gdb.base/memattr.c: Ditto.
6629 * gdb.base/whatis.c: Ditto.
6630 * gdb.python/py-prettyprint.c: Ditto.
6631 * gdb.trace/actions.c: Ditto.
6632 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6633 ensure clang would not discard it.
6634
bfd39632
DB
66352014-04-24 David Blaikie <dblaikie@gmail.com>
6636
6637 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6638 clang to emit the full definition of type required by the test
6639 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6640
22842ff6
DB
66412014-04-24 David Blaikie <dblaikie@gmail.com>
6642
6643 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6644 coax Clang into emitting the definition of the type.
6645 * gdb.cp/pr10728-x.h (y): Ditto.
6646 * gdb.cp/pr10728-y.cc (y): Ditto.
6647
c2e827ad
DB
66482014-04-24 David Blaikie <dblaikie@gmail.com>
6649
6650 * gdb.base/label.exp: XFAIL label related tests under Clang.
6651 * gdb.cp/cplabel.exp: Ditto.
6652 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6653 under Clang those using labels.
6654
4c2d33e7
YQ
66552014-04-25 Yao Qi <yao@codesourcery.com>
6656
6657 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6658 double_label.
6659 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6660 partial_label and double_label.
6661
56083b99
DB
66622014-04-24 David Blaikie <dblaikie@gmail.com>
6663
6664 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6665
25d4e99d
DB
66662014-04-24 David Blaikie <dblaikie@gmail.com>
6667
6668 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6669 of the function to work across GCC and Clang.
6670 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6671 pointer types (const void ** const V void **).
6672
01f9f808
MS
66732014-04-24 Michael Sturm <michael.sturm@mintel.com>
6674 Walfred Tedeschi <walfred.tedeschi@intel.com>
6675
6676 * Makefile.in (EXECUTABLES): Added i386-avx512.
6677 * gdb.arch/i386-avx512.c: New file.
6678 * gdb.arch/i386-avx512.exp: Likewise.
6679
4b48d439
KS
66802014-04-23 Keith Seitz <keiths@redhat.com>
6681
6682 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6683 (mi_make_breakpoint_table): New procedure.
6684 (mi_create_breakpoint): Use mi_make_breakpoint
6685 and return the result.
6686 (mi_make_breakpoint): New procedure.
6687 (mi_build_kv_pairs): New procedure.
6688
6689 * gdb.mi/mi-break.exp: Remove unused globals,
6690 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6691 All callers updated.
6692 * gdb.mi/mi-dprintf.exp: Use variable to track command
6693 number.
6694 Update all callers of mi_create_breakpoint and use
6695 mi_make_breakpoint_table.
6696 Remove any unused global variables.
6697 * gdb.mi/mi-nonstop.exp: Likewise.
6698 * gdb.mi/mi-nsintrall.exp: Likewise.
6699 * gdb.mi/mi-nsmoribund.exp: Likewise.
6700 * gdb.mi/mi-nsthrexec.exp: Likewise.
6701 * gdb.mi/mi-reverse.exp: Likewise.
6702 * gdb.mi/mi-simplerun.exp: Likewise.
6703 * gdb.mi/mi-stepn.exp: Likewise.
6704 * gdb.mi/mi-syn-frame.exp: Likewise.
6705 * gdb.mi/mi-until.exp: Likewise.
6706 * gdb.mi/mi-var-cp.exp: Likewise.
6707 * gdb.mi/mi-var-display.exp: Likewise.
6708 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6709 * gdb.mi/mi2-var-child.exp: Likewise.
6710 * gdb.mi/mi-vla-c99.exp: Likewise.
6711 * lib/mi-support.exp: Likewise.
6712
6713 From Ian Lance Taylor <iant@cygnus.com>:
6714 * lib/gdb.exp (parse_args): New procedure.
6715
08351840
PA
67162014-04-23 Pedro Alves <palves@redhat.com>
6717
6718 * gdb.base/break-unload-file.c: New file.
6719 * gdb.base/break-unload-file.exp: New file.
6720 * gdb.base/sym-file-lib.c (baz): New function.
6721 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6722 field.
6723 (load): Store the segment's mapped size.
6724 (unload): New function.
6725 (unload_shlib): New function.
6726 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6727 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6728 set a breakpoint at baz, and call it.
6729 * gdb.base/sym-file.exp: New tests for stale breakpoint
6730 instructions.
6731
076855f9
PA
67322014-04-23 Pedro Alves <palves@redhat.com>
6733
6734 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6735 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6736 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6737 * gdb.base/hbreak-unmapped.c: New file.
6738 * gdb.base/hbreak-unmapped.exp: New file.
6739 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6740 * lib/gdb.exp (gdb_is_target_remote): ... here.
6741
483805cf
PA
67422014-04-22 Pedro Alves <palves@redhat.com>
6743
6744 * gdb.base/consecutive-step-over.c: New file.
6745 * gdb.base/consecutive-step-over.exp: New file.
6746
06d97543
PA
67472014-04-22 Pedro Alves <palves@redhat.com>
6748
6749 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6750 instead of send_gdb/gdb_expect.
6751
b4429ea2
YQ
67522014-04-22 Yao Qi <yao@codesourcery.com>
6753
6754 * lib/trace-support.exp (generate_tracefile): New procedure.
6755 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6756 return 0.
6757 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6758 if generate_tracefile returns 1.
6759
51d48146
PA
67602014-04-18 Tom Tromey <palves@redhat.com>
6761 Pedro alves <tromey@redhat.com>
6762
6763 PR backtrace/15558
6764 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6765 with a backtrace limit.
6766 * gdb.python/py-frame-inline.exp: Test running to an inline
6767 function with a backtrace limit, and printing the newest frame.
6768 * gdb.python/py-frame-inline.c (main): Call f.
6769
bd1dce5f
MS
67702014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6771
6772 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6773
40d1a503
MS
67742014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6775
6776 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6777 Drop prefix from unsupported source file path.
6778
389b98f7
YQ
67792014-04-17 Yao Qi <yao@codesourcery.com>
6780
6781 * lib/gdb.exp (with_target_charset): New proc.
6782 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6783 with_target_charset.
6784 (test_print_strings): Likewise.
6785 (test_repeat_bytes): Likewise.
6786 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6787 for some tests.
6788
22869d73
KS
67892014-04-16 Keith Seitz <keiths@redhat.com>
6790
6791 PR gdb/15827
6792 * gdb.dwarf2/corrupt.c: New file.
6793 * gdb.dwarf2/corrupt.exp: New file.
6794
c4f87ca6
KS
67952014-04-16 Keith Seitz <keiths@redhat.com>
6796
6797 PR c++/16597
6798 * gdb.cp/namelessclass.cc: New file.
6799 * gdb.cp/namelessclass.exp: New file.
6800 * gdb.cp/namelessclass.S: New file.
6801
ab19de87
DE
68022014-04-16 Doug Evans <dje@google.com>
6803
6804 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6805 Add comment.
6806 (gdbserver_default_get_comm_port): New function.
6807 (gdbserver_start): Check if board file provided
6808 "gdbserver,get_comm_port" and use it if so.
6809 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6810 (gdb,socketport): Set to "stdio".
6811 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6812 (stdio_gdbserver_template): Delete.
6813 (${board}_get_remote_address): Update.
6814 (${board}_build_remote_cmd): Delete.
6815 (${board}_get_comm_port): New function.
6816 (${board}_spawn): Update.
6817 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6818 Delete.
6819 (${board}_get_remote_address): Update.
6820 (${board}_get_comm_port): New function.
6821
fc98a809
AB
68222014-04-16 Andrew Burgess <aburgess@broadcom.com>
6823
6824 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6825 appearing in any order.
6826
87fd9e6e
DE
68272014-04-15 Doug Evans <dje@google.com>
6828
6829 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6830 uninitialized value of "description".
6831
099fc3ea
KS
68322014-04-15 Keith Seitz <keiths@redhat.com>
6833
6834 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6835 Remove unused globals.
6836 (test_running_the_program): Likewise.
6837 (test_controlled_execution): Likewise.
6838 (test_controlling_breakpoints): Likewise.
6839 (test_program_termination): Likewise.
6840
5da151d4
KS
68412014-04-15 Keith Seitz <keiths@redhat.com>
6842
6843 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6844 unused globals.
6845 (test_rbreak_creation_and_listing): Likewise.
6846 (test_ignore_count): Likewise.
6847 (test_error): Likewise.
6848
35e5d2f0
PA
68492014-04-15 Pedro Alves <palves@redhat.com>
6850
6851 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6852 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6853 sym-file-loader.c.
6854 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6855 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6856 to sym-file-loader.c.
6857 (struct library): Forward declare.
6858 (load_shlib, lookup_function): Change prototypes.
6859 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6860 (translate_offset): Remove declarations.
6861 (get_text_addr): New declaration.
6862 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6863 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6864 sym-file-loader.h.
6865 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6866 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6867 here from sym-file-loader.h.
6868 (struct library): New structure.
6869 (load_shlib, lookup_function): Change prototypes and adjust to
6870 work with a struct library.
6871 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6872 (translate_offset): Make static.
6873 (get_text_addr): New function.
6874 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6875
eb4c1710
PA
68762014-04-15 Pedro Alves <palves@redhat.com>
6877
6878 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6879
2d1baf52
PA
68802014-04-15 Pedro Alves <palves@redhat.com>
6881
6882 * gdb.base/sym-file-loader.c: Include <limits.h>.
6883 (SELF_LINK): New define.
6884 (get_origin): New function.
6885 (load_shlib): Use it.
6886 * gdb.base/sym-file.exp: Don't early return if the target is
6887 remote. Use runto_main, and issue fail is that fails. Use
6888 gdb_load_shlibs.
6889 (shlib_name): Delete.
6890 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6891
7dd6df01
PA
68922014-04-15 Pedro Alves <palves@redhat.com>
6893
6894 * gdb.base/sym-file.exp: Remove regex characters from test
6895 message. Don't refer to breakpoint numbers in test messages.
6896
b50c8614
KS
68972014-04-14 Keith Seitz <keiths@redhat.com>
6898
6899 PR c++/16253
6900 * gdb.cp/var-tag.cc: New file.
6901 * gdb.cp/var-tag.exp: New file.
6902 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6903 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6904 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6905 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6906
3d567982
TT
69072014-04-14 Tom Tromey <tromey@redhat.com>
6908
6909 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6910 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6911 type.
6912 * gdb.cp/enum-class.exp: New file.
6913 * gdb.cp/enum-class.cc: New file.
6914
0626fc76
TT
69152014-04-14 Tom Tromey <tromey@redhat.com>
6916
6917 * gdb.dwarf2/enum-type.exp: New file.
6918
dca325b3
SA
69192014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6920
6921 * gdb.mi/mi-vla-c99.exp: New file.
6922 * gdb.mi/vla.c: New file.
6923
5854b38a
SA
69242014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6925
6926 * gdb.base/vla-datatypes.c: New file.
6927 * gdb.base/vla-datatypes.exp: New file.
6928
463bb957
SA
69292014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6930
6931 * gdb.base/vla-ptr.c: New file.
6932 * gdb.base/vla-ptr.exp: New file.
6933
3dd170be
SA
69342014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6935
6936 * gdb.dwarf2/count.exp: New file.
6937
5ecaaa66
SA
69382014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6939
6940 * gdb.base/vla-sideeffect.c: New file.
6941 * gdb.base/vla-sideeffect.exp: New file.
6942
41f1ada5
DB
69432014-04-14 David Blaikie <dblaikie@gmail.com>
6944
6945 * gdb.mi/non-stop.c: Add return value for non-void function return
6946 statement.
6947 * gdb.threads/staticthreads.c: Ditto.
6948
0be03e84
DE
69492014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6950 Doug Evans <xdje42@gmail.com>
6951
6952 * gdb.guile/scm-value.c: Improve test case.
6953 * gdb.guile/scm-value.exp: Add new test.
6954
f180a1fb
DB
69552014-04-11 David Blaikie <dblaikie@gmail.com>
6956
6957 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6958 override Clang's default.
6959
6b662e19
JB
69602014-04-11 Joel Brobecker <brobecker@adacore.com>
6961
6962 Revert the following changes (regressions):
6963
6964 * gdb.base/vla-sideeffect.c: New file.
6965 * gdb.base/vla-sideeffect.exp: New file.
6966
6967 * gdb.dwarf2/count.exp: New file.
6968
6969 * gdb.base/vla-multi.c: New file.
6970 * gdb.base/vla-multi.exp: New file.
6971
6972 * gdb.base/vla-ptr.c: New file.
6973 * gdb.base/vla-ptr.exp: New file.
6974
6975 * gdb.base/vla-datatypes.c: New file.
6976 * gdb.base/vla-datatypes.exp: New file.
6977
6978 * gdb.mi/mi-vla-c99.exp: New file.
6979 * gdb.mi/vla.c: New file.
6980
245a5f0b
KS
69812014-04-11 Keith Seitz <keiths@redhat.com>
6982
6983 PR c++/16675
6984 * gdb.cp/cpsizeof.exp: New file.
6985 * gdb.cp/cpsizeof.cc: New file.
6986
58a84dcf
SA
69872014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6988
191a8a90
JB
6989 * gdb.mi/mi-vla-c99.exp: New file.
6990 * gdb.mi/vla.c: New file.
58a84dcf 6991
c8655f75
SA
69922014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6993
6994 * gdb.base/vla-datatypes.c: New file.
6995 * gdb.base/vla-datatypes.exp: New file.
6996
024e13b4
SA
69972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6998
6999 * gdb.base/vla-ptr.c: New file.
7000 * gdb.base/vla-ptr.exp: New file.
7001
1a237e0e
SA
70022014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7003
7004 * gdb.base/vla-multi.c: New file.
7005 * gdb.base/vla-multi.exp: New file.
7006
504f3432
SA
70072014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7008
7009 * gdb.dwarf2/count.exp: New file.
7010
3bce8237
SA
70112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7012
191a8a90
JB
7013 * gdb.base/vla-sideeffect.c: New file.
7014 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 7015
322f9c21
YQ
70162014-04-11 Yao Qi <yao@codesourcery.com>
7017
7018 * gdb.base/completion.exp: Check file exists before running tests
7019 on file completion.
7020
d708bcd1
PA
70212014-04-10 Pedro Alves <palves@redhat.com>
7022
7023 * gdb.base/cond-eval-mode.c: New file.
7024 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7025 prepare_for_testing to build the new file. Check result of
7026 runto_main.
7027 (test_break, test_watch): New procedures.
7028 (top level): Use them.
7029
ae1d2761
PM
70302014-04-08 Pierre Muller <muller@sourceware.org>
7031
7032 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7033 Ctrl-V use for mingw hosts.
7034
7af389b8
SC
70352014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7036
7037 * gdb.python/py-value.c: Improve test case.
7038 * gdb.python/py-value.exp: Add new test.
7039
5e703181
DE
70402014-04-07 David Blaikie <dblaikie@gmail.com>
7041
7042 * lib/compiler.c: Identify the clang compiler.
7043 * lib/compiler.cc: Ditto.
7044
9810b410
YQ
70452014-04-03 Yao Qi <yao@codesourcery.com>
7046
7047 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7048
98d1b8dc
AB
70492014-04-01 Anton Blanchard <anton@samba.org>
7050
7051 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7052 messages unique.
7053
3114cea1
AB
70542014-04-01 Anton Blanchard <anton@samba.org>
7055
7056 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7057 prepare_for_testing.
7058
62f7182c
AB
70592014-04-01 Anton Blanchard <anton@samba.org>
7060
7061 * gdb.arch/ppc64-atomic-inst.c: Remove.
7062 * gdb.arch/ppc64-atomic-inst.S: New file.
7063 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7064
770e7fc7
DE
70652014-03-31 Doug Evans <dje@google.com>
7066
7067 * gdb.base/print-symbol-loading-lib.c: New file.
7068 * gdb.base/print-symbol-loading-main.c: New file.
7069 * gdb.base/print-symbol-loading.exp: New file.
7070
46e2bafa
YQ
70712014-03-31 Yao Qi <yao@codesourcery.com>
7072
7073 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7074
8776cfe9
JB
70752014-03-28 Joel Brobecker <brobecker@adacore.com>
7076
7077 * gdb.ada/mi_dyn_arr: New testcase.
7078
5d1ef361
DE
70792014-03-27 Doug Evans <dje@google.com>
7080
7081 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7082
b5bee914
YQ
70832014-03-27 Yao Qi <yao@codesourcery.com>
7084
7085 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7086 if target is nios2-*-*.
7087
0d4d0e77
YQ
70882014-03-26 Yao Qi <yao@codesourcery.com>
7089
7090 * lib/gdb.exp (readline_is_used): New proc.
7091 * gdb.base/completion.exp: Move tests on command complete up.
7092 Skip the rest of tests if readline is not used.
7093 * gdb.ada/complete.exp: Skp the test if readline is not
7094 used.
7095 * gdb.base/filesym.exp: Likewise.
7096 * gdb.base/macscp.exp: Likewise.
7097 * gdb.base/readline-ask.exp: Likewise.
7098 * gdb.base/readline.exp: Likewise.
7099 * gdb.python/py-cmd.exp: Likewise.
7100 * gdb.trace/tfile.exp: Likewise.
7101
29361eee
YQ
71022014-03-26 Yao Qi <yao@codesourcery.com>
7103
7104 * gdb.base/macscp.exp: Fix code format issues.
7105
bc9a5525
UW
71062014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7107
7108 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7109 * gdb.asm/powerpc64le.inc: New file.
7110
d3839ede
PA
71112014-03-25 Pedro Alves <palves@redhat.com>
7112 Doug Evans <dje@google.com>
7113
7114 * gdb.base/source-execution.c: New file.
7115 * gdb.base/source-execution.exp: New file.
7116 * gdb.base/source-execution.gdb: New file.
7117
01672a57
DE
71182014-03-24 Doug Evans <dje@google.com>
7119
7120 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7121 using fission.
7122
88bbeca9
HZ
71232014-03-24 Hui Zhu <hui@codesourcery.com>
7124 Pedro Alves <palves@redhat.com>
7125
7126 PR breakpoints/16101
7127 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7128 test pass/fail messages. Detect missing support for dprintf when
7129 breakpoints are actually inserted.
7130 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7131 breakpoints are actually inserted.
7132 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7133 fails.
7134
d2348791
JK
71352014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7136
7137 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7138
feef67ab
DE
71392014-03-22 Doug Evans <xdje42@gmail.com>
7140
7141 * gdb.python/python.exp (python not supported): Verify multi-line
7142 python command issues an error.
25d743f9 7143 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 7144 guile command issues an error.
feef67ab 7145
ecebef6a
MR
71462014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7147
7148 * gdb.threads/thread-specific.exp: Handle the lack of usable
7149 $this_breakpoint and $this_thread.
7150
ccdd1909
HZ
71512014-03-21 Hui Zhu <hui@codesourcery.com>
7152
7153 * gdb.base/attach.exp (do_command_attach_tests): New.
7154
beb460e8
PA
71552014-03-20 Tom Tromey <tromey@redhat.com>
7156 Pedro Alves <palves@redhat.com>
7157
7158 PR cli/15718
7159 * gdb.base/condbreak-call-false.c: New file.
7160 * gdb.base/condbreak-call-false.exp: New file.
7161
40acf43a
PA
71622014-03-20 Pedro Alves <palves@redhat.com>
7163
7164 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7165 Delete.
7166 (block_signals, unblock_signals): Delete.
7167 (child_function_2, main): Remove references to deleted variable
7168 and functions.
7169
9f5e1e02
PA
71702014-03-20 Pedro Alves <palves@redhat.com>
7171
7172 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7173 Use pthread_kill to signal thread 2.
7174 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7175 Adjust to make the test send itself a signal rather than using the
7176 host's "kill" command.
7177
99619bea
PA
71782014-03-20 Pedro Alves <palves@redhat.com>
7179
7180 * gdb.threads/multiple-step-overs.c: New file.
7181 * gdb.threads/multiple-step-overs.exp: New file.
7182 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7183 Adjust expected infrun debug output.
7184
2adfaa28
PA
71852014-03-20 Pedro Alves <palves@redhat.com>
7186
7187 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7188 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7189
31e77af2
PA
71902014-03-20 Pedro Alves <palves@redhat.com>
7191
7192 PR breakpoints/7143
7193 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7194 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7195 of gdb_test_multiple.
7196 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7197 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7198
b9f437de
PA
71992014-03-20 Pedro Alves <palves@redhat.com>
7200
7201 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7202 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7203
05adc73e
PA
72042014-03-19 Pedro Alves <palves@redhat.com>
7205
7206 * gdb.base/async.exp: Remove early return.
7207
6048b950
PA
72082014-03-19 Pedro Alves <palves@redhat.com>
7209
7210 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7211
8bcfb00a
PA
72122014-03-19 Pedro Alves <palves@redhat.com>
7213
7214 * gdb.base/async.exp (test_background): Expect \r\n after
7215 "completed." in the fail pattern.
7216
884e37dc
PA
72172014-03-19 Pedro Alves <palves@redhat.com>
7218
7219 * gdb.base/async.exp (test_background): New procedure.
7220 Use it for all background execution command tests.
7221
148e57e2
PA
72222014-03-19 Pedro Alves <palves@redhat.com>
7223
7224 * gdb.base/async.exp: Use prepare_for_testing.
7225
f48088c7
PA
72262014-03-19 Pedro Alves <palves@redhat.com>
7227
7228 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7229 the same line.
7230
e2f6c966
PA
72312014-03-19 Pedro Alves <palves@redhat.com>
7232
7233 * gdb.base/async.c (main): Add "jump here" and "until here" line
7234 marker comments.
7235 * gdb.base/async.exp (jump_here): New global.
7236 (jump& test): Use it.
7237 (until_here): New global.
7238 (until& test): Use it.
7239
c30568d4
PA
72402014-03-19 Pedro Alves <palves@redhat.com>
7241
7242 * gdb.base/async.exp: Don't frob gdb_protocol.
7243
0172b6a7
DE
72442014-03-18 Doug Evans <xdje42@gmail.com>
7245
7246 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7247 Fix spelling of exec-done-display.
7248
06c868a8
JK
72492014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7250
7251 PR gdb/15358
7252 * gdb.base/gdb-sigterm.c: New file.
7253 * gdb.base/gdb-sigterm.exp: New file.
7254
0c7e1a46
PA
72552014-03-18 Pedro Alves <palves@redhat.com>
7256
7257 PR gdb/13860
7258 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7259 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7260 solib-event.
7261
f7c77d93
JB
72622014-03-17 Joel Brobecker <brobecker@adacore.com>
7263
7264 * gdb.ada/pckd_arr_ren: New testcase.
7265
5a1e8c7a
DE
72662014-03-13 Doug Evans <xdje42@gmail.com>
7267
7268 PR guile/16612
7269 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7270 collect after discarding symbols.
7271
350e1a76
DE
72722014-03-13 Ludovic Courtès <ludo@gnu.org>
7273 Doug Evans <xdje42@gmail.com>
7274
7275 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7276 to history survives a gc.
7277
a69900ae
PA
72782014-03-13 Pedro Alves <palves@redhat.com>
7279
7280 * gdb.base/default.exp: Don't test "target procfs".
7281
5db9f0bd
PA
72822014-03-13 Pedro Alves <palves@redhat.com>
7283
7284 * gdb.base/default.exp: Update "target child" and "target procfs"
7285 tests to not expect "Unix".
7286
b3ccfe11
TT
72872014-03-12 Tom Tromey <tromey@redhat.com>
7288
7289 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7290 New procs. Add target-async tests.
7291 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7292 Add target-async tests.
7293
646f4417
AA
72942014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7295
7296 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7297 'func_start' and 'func_end' for the beginning and end of the
7298 function code, respectively.
7299 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7300 'func_end' instead of 'func' and 'main'.
7301
288c211f
AA
73022014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7303
7304 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7305 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7306 generate the debug info assembler source.
7307
e0c0f156
AA
73082014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7309
7310 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7311 * gdb.dwarf2/arr-subrange.exp: Likewise.
7312 * gdb.dwarf2/dwz.exp: Likewise.
7313 * gdb.dwarf2/method-ptr.exp: Likewise.
7314 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7315 * gdb.dwarf2/subrange.exp: Likewise.
7316 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7317 * gdb.dwarf2/implptrpiece.exp: Likewise.
7318 * gdb.dwarf2/nostaticblock.exp: Likewise.
7319
0e5c4555
AA
73202014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7321
7322 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7323 directory to absolute path name arguments.
7324
5ec18f2b
JG
73252014-03-10 Joel Brobecker <brobecker@adacore.com>
7326
7327 * gdb.ada/tagged_access: New testcase.
7328
847fc4f2
MM
73292014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7330
7331 * gdb.btrace/data.exp: Update expected output.
7332
cc3da688
YQ
73332014-03-06 Yao Qi <yao@codesourcery.com>
7334
7335 * gdb.trace/pr16508.exp: New file.
7336
0f26cec1
PA
73372014-03-05 Pedro Alves <palves@redhat.com>
7338
7339 PR gdb/16575
7340 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7341 procedure.
7342 (top level): Adjust to use it. Add tests that exercise breakpoint
7343 interaction with the code-cache.
7344
7a5a839f
LC
73452014-02-26 Ludovic Courtès <ludo@gnu.org>
7346
7347 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7348 test for 'history-append!'.
7349
31aa7e4e
JB
73502014-02-26 Joel Brobecker <brobecker@adacore.com>
7351
7352 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7353 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7354 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7355 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7356 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7357 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7358
1b588015
JB
73592014-02-26 Joel Brobecker <brobecker@adacore.com>
7360
7361 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7362 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7363 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7364
55426c9d
JB
73652014-02-26 Joel Brobecker <brobecker@adacore.com>
7366
7367 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7368
dc53a7ad
JB
73692014-02-26 Joel Brobecker <brobecker@adacore.com>
7370
7371 * gdb.dwarf2/arr-stride.c: New file.
7372 * gdb.dwarf2/arr-stride.exp: New file.
7373
12ab52e9
PA
73742014-02-26 Pedro Alves <palves@redhat.com>
7375
7376 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7377 that won't ever trigger. Make sure that GDB reports the correct
7378 breakpoint that caused the stop.
7379
849c862e
JK
73802014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7381
7382 PR gdb/16626
7383 * gdb.base/auto-load-script: New file.
7384 * gdb.base/auto-load.c: New file.
7385 * gdb.base/auto-load.exp: New file.
7386
71b7d793
JK
7387 PR gdb/16626
7388 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7389
e2f0d509
JK
73902014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7391
7392 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7393 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7394
50cc37c8
DE
73952014-02-24 Doug Evans <dje@google.com>
7396
7397 * lib/gdb.exp (run_on_host): Log error output if program fails.
7398
ea4758f2
PA
73992014-02-21 Pedro Alves <palves@redhat.com>
7400
7401 * gdb.threads/step-after-sr-lock.c: Rename to ...
7402 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7403 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7404 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7405 ... this.
7406
d7b30f67
SDJ
74072014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7408
7409 PR tdep/16397
7410 * gdb.arch/amd64-stap-special-operands.exp: New file.
7411 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7412 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7413 * gdb.arch/amd64-stap-triplet.S: Likewise.
7414 * gdb.arch/amd64-stap-triplet.c: Likewise.
7415
83deb43f
JB
74162014-02-20 Joel Brobecker <brobecker@adacore.com>
7417
7418 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7419 in .section pseudo-op.
7420
adde2bff
DE
74212014-02-20 lin zuojian <manjian2006@gmail.com>
7422 Joel Brobecker <brobecker@adacore.com>
7423 Doug Evans <xdje42@gmail.com>
7424
7425 PR symtab/16581
7426 * gdb.dwarf2/dw2-icycle.S: New file.
7427 * gdb.dwarf2/dw2-icycle.c: New file.
7428 * gdb.dwarf2/dw2-icycle.exp: New file.
7429
f7bd0f78
SC
74302014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7431
7432 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7433 operations on gdb.Value objects.
7434 * gdb.python/py-value-cc.exp: Add new test to test operations on
7435 gdb.Value objects.
7436
c17ef0d5
DE
74372014-02-18 Doug Evans <dje@google.com>
7438
7439 * Makefile.in (TESTS): New variable.
7440 (expanded_tests, expanded_tests_or_none): New variables
7441 (check-single): Pass $(expanded_tests_or_none) to runtest.
7442 (check-parallel): Only run tests in $(TESTS) if non-empty.
7443 (check/no-matching-tests-found): New rule.
7444 * README: Document TESTS makefile variable.
7445
5dd3176f
DE
74462014-02-18 Doug Evans <dje@google.com>
7447
7448 * Makefile.in (check-parallel): rm -rf outputs temp.
7449
0b10be4f
JK
74502014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7451
7452 Fix "ERROR: no fileid for" in the testsuite.
7453 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7454
85f224e7
DE
74552014-02-12 Doug Evans <dje@google.com>
7456
7457 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7458 (MISCELLANEOUS): New variable.
7459 (clean): rm -rf $(MISCELLANEOUS).
7460 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7461 dwp live in the same directory as symlinks, with each symlink pointed
7462 to a differently named file in a different directory.
7463
149b30ff
DE
74642014-02-11 Doug Evans <dje@google.com>
7465
7466 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7467 of Tcl file commands.
7468
1dfdac32
MK
74692014-02-10 Mark Kettenis <kettenis@gnu.org>
7470
7471 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7472 "kill -SIGUSR1 -1".
7473
aa4fb036
JB
74742014-02-10 Joel Brobecker <brobecker@adacore.com>
7475
7476 * gdb.ada/tick_length_array_enum_idx: New testcase.
7477
ed3ef339
DE
74782014-02-10 Doug Evans <xdje42@gmail.com>
7479
7480 * configure.ac (AC_OUTPUT): Add gdb.guile.
7481 * configure: Regenerate.
7482 * lib/gdb-guile.exp: New file.
7483 * lib/gdb.exp (get_target_charset): New function.
7484 * gdb.base/help.exp: Update expected output from "apropos apropos".
7485 * gdb.guile/Makefile.in: New file.
7486 * gdb.guile/guile.exp: New file.
7487 * gdb.guile/scm-arch.c: New file.
7488 * gdb.guile/scm-arch.exp: New file.
7489 * gdb.guile/scm-block.c: New file.
7490 * gdb.guile/scm-block.exp: New file.
7491 * gdb.guile/scm-breakpoint.c: New file.
7492 * gdb.guile/scm-breakpoint.exp: New file.
7493 * gdb.guile/scm-disasm.c: New file.
7494 * gdb.guile/scm-disasm.exp: New file.
7495 * gdb.guile/scm-equal.c: New file.
7496 * gdb.guile/scm-equal.exp: New file.
7497 * gdb.guile/scm-error.exp: New file.
7498 * gdb.guile/scm-error.scm: New file.
7499 * gdb.guile/scm-frame-args.c: New file.
7500 * gdb.guile/scm-frame-args.exp: New file.
7501 * gdb.guile/scm-frame-args.scm: New file.
7502 * gdb.guile/scm-frame-inline.c: New file.
7503 * gdb.guile/scm-frame-inline.exp: New file.
7504 * gdb.guile/scm-frame.c: New file.
7505 * gdb.guile/scm-frame.exp: New file.
7506 * gdb.guile/scm-generics.exp: New file.
7507 * gdb.guile/scm-gsmob.exp: New file.
7508 * gdb.guile/scm-iterator.c: New file.
7509 * gdb.guile/scm-iterator.exp: New file.
7510 * gdb.guile/scm-math.c: New file.
7511 * gdb.guile/scm-math.exp: New file.
7512 * gdb.guile/scm-objfile-script-gdb.in: New file.
7513 * gdb.guile/scm-objfile-script.c: New file.
7514 * gdb.guile/scm-objfile-script.exp: New file.
7515 * gdb.guile/scm-objfile.c: New file.
7516 * gdb.guile/scm-objfile.exp: New file.
7517 * gdb.guile/scm-ports.exp: New file.
7518 * gdb.guile/scm-pretty-print.c: New file.
7519 * gdb.guile/scm-pretty-print.exp: New file.
7520 * gdb.guile/scm-pretty-print.scm: New file.
7521 * gdb.guile/scm-section-script.c: New file.
7522 * gdb.guile/scm-section-script.exp: New file.
7523 * gdb.guile/scm-section-script.scm: New file.
7524 * gdb.guile/scm-symbol.c: New file.
7525 * gdb.guile/scm-symbol.exp: New file.
7526 * gdb.guile/scm-symtab-2.c: New file.
7527 * gdb.guile/scm-symtab.c: New file.
7528 * gdb.guile/scm-symtab.exp: New file.
7529 * gdb.guile/scm-type.c: New file.
7530 * gdb.guile/scm-type.exp: New file.
7531 * gdb.guile/scm-value-cc.cc: New file.
7532 * gdb.guile/scm-value-cc.exp: New file.
7533 * gdb.guile/scm-value.c: New file.
7534 * gdb.guile/scm-value.exp: New file.
7535 * gdb.guile/source2.scm: New file.
7536 * gdb.guile/types-module.cc: New file.
7537 * gdb.guile/types-module.exp: New file.
7538
7026a7c1
YQ
75392014-02-10 Yao Qi <yao@codesourcery.com>
7540
7541 PR testsuite/16543
7542 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7543 * configure: Regenerated.
7544 * Makefile.in: New file.
7545
6c466447
AS
75462014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7547
7548 * gdb.python/py-framefilter.exp: Fix typo.
7549
6e854735
YQ
75502014-02-08 Yao Qi <yao@codesourcery.com>
7551
7552 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7553 that no =breakpoint-modified is emitted when breakpoints are
7554 modified through MI commands.
7555
d137e6dc
PA
75562014-02-07 Pedro Alves <pedro@codesourcery.com>
7557 Pedro Alves <palves@redhat.com>
7558
7559 * gdb.threads/step-after-sr-lock.c: New file.
7560 * gdb.threads/step-after-sr-lock.exp: New file.
7561
b5ee5a50
PA
75622014-02-07 Pedro Alves <palves@redhat.com>
7563
7564 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7565
3c77faf3
JK
75662014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7567
7568 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7569 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7570
6dddc817
DE
75712014-02-06 Doug Evans <xdje42@gmail.com>
7572
7573 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7574 output.
7575
7576 * gdb.gdb/python-interrupts.exp: New file.
7577
de7b2893
YQ
75782014-02-05 Yao Qi <yao@codesourcery.com>
7579
7580 * gdb.trace/report.exp (use_collected_data): Test the output
7581 of "info threads" and "info inferiors".
7582
66d032ac
YQ
75832014-02-05 Yao Qi <yao@codesourcery.com>
7584
7585 Revert this patch:
7586
7587 2013-05-24 Yao Qi <yao@codesourcery.com>
7588
7589 * gdb.trace/tfile.exp: Test inferior and thread.
7590
591a12a1
UW
75912014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7592
7593 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7594 on a function.
7595 * gdb.base/step-bt.c: Call hello via function pointer to make
7596 sure its first instruction is executed on powerpc64le-linux.
7597
0ff3e01f
UW
75982014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7599
7600 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7601
084ee545
UW
76022014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7603
7604 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7605 of the test patterns for use on little-endian systems.
7606
6ed14ff3
UW
76072014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7608
7609 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7610 (decimal_vector): Fix for little-endian.
7611
401e27fd
JM
76122014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7613
7614 * gdb.arch/sparc-sysstep.exp: New file.
7615 * gdb.arch/sparc-sysstep.c: Likewise.
7616
7617 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7618
8b924729
EBM
76192014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7620
7621 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7622
fb151210
JB
76232014-01-23 Tom Tromey <tromey@redhat.com>
7624
7625 * gdb.ada/array_char_idx: New testcase.
7626
0740f8d8
TT
76272014-01-23 Tom Tromey <tromey@redhat.com>
7628
7629 PR python/16487:
7630 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7631 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7632 classes.
7633
21909fa1
TT
76342014-01-23 Tom Tromey <tromey@redhat.com>
7635
7636 PR python/16491:
7637 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7638 string from an inferior frame.
7639 * gdb.python/py-framefilter-mi.exp: Update.
7640
87ce2a04
DE
76412014-01-22 Doug Evans <dje@google.com>
7642
7643 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7644
237b092b
AA
76452014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7646
7647 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7648
d674a709
AA
76492014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7650
7651 * gdb.trace/entry-values.exp: Remove excess space character from
7652 regex patterns. Handle s390 call instruction.
7653
20fa3390
AA
76542014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7655
7656 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7657 define "*_start" label. Make "name" static.
7658 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7659 ${name} by references to ${name}_start.
7660
78466714
AA
76612014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7662
7663 * gdb.base/info-macros.exp: Remove "debug" from the compile
7664 options.
7665
ec9f644a
IB
76662014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7667
7668 * gdb.dlang/demangle.exp: New file.
7669
94b1b47e
IB
76702014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7671
7672 * gdb.dlang/primitive-types.exp: New file.
7673
7f420862
IB
76742014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7675
7676 * configure.ac: Create gdb.dlang/Makefile.
7677 * configure: Regenerate.
7678 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7679 * gdb.dlang/Makefile.in: New file.
7680 * lib/d-support.exp: New file.
7681 * lib/gdb.exp (skip_d_tests): New proc.
7682
52834460
MM
76832014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7684
7685 * gdb.btrace/delta.exp: Check reverse stepi.
7686 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7687 * gdb.btrace/finish.exp: New.
7688 * gdb.btrace/next.exp: New.
7689 * gdb.btrace/nexti.exp: New.
7690 * gdb.btrace/record_goto.c: Add comments.
7691 * gdb.btrace/step.exp: New.
7692 * gdb.btrace/stepi.exp: New.
7693 * gdb.btrace/multi-thread-step.c: New.
7694 * gdb.btrace/multi-thread-step.exp: New.
7695 * gdb.btrace/rn-dl-bind.c: New.
7696 * gdb.btrace/rn-dl-bind.exp: New.
7697 * gdb.btrace/data.c: New.
7698 * gdb.btrace/data.exp: New.
7699 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7700
6e07b1d2
MM
77012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7702
7703 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7704 * gdb.btrace/exception.exp: Update.
7705 * gdb.btrace/instruction_history.exp: Update.
7706 * gdb.btrace/record_goto.exp: Update.
7707 * gdb.btrace/tailcall.exp: Update.
7708 * gdb.btrace/unknown_functions.exp: Update.
7709 * gdb.btrace/delta.exp: New.
7710
0b722aec
MM
77112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7712
7713 * gdb.btrace/record_goto.exp: Add backtrace test.
7714 * gdb.btrace/tailcall.exp: Add backtrace test.
7715
066ce621
MM
77162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7717
7718 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7719 * gdb.btrace/record_goto.c: New.
7720 * gdb.btrace/record_goto.exp: New.
7721 * gdb.btrace/x86-record_goto.S: New.
7722
0688d04e
MM
77232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7724
7725 * gdb.btrace/function_call_history.exp: Update tests.
7726 * gdb.btrace/instruction_history.exp: Update tests.
7727
8710b709
MM
77282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7729
7730 * gdb.btrace/function_call_history.exp: Fix expected field
7731 order for "record function-call-history".
7732 Add new tests for "record function-call-history /c".
7733 * gdb.btrace/exception.cc: New.
7734 * gdb.btrace/exception.exp: New.
7735 * gdb.btrace/tailcall.exp: New.
7736 * gdb.btrace/x86-tailcall.S: New.
7737 * gdb.btrace/x86-tailcall.c: New.
7738 * gdb.btrace/unknown_functions.c: New.
7739 * gdb.btrace/unknown_functions.exp: New.
7740 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7741
5de9129b
MM
77422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7743
7744 * gdb.btrace/instruction_history.exp: Update.
7745 * gdb.btrace/function_call_history.exp: Update.
7746
23a7fe75
MM
77472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7748
7749 * gdb.btrace/function_call_history.exp: Fix expected function
7750 trace.
7751 * gdb.btrace/instruction_history.exp: Initialize traced.
7752 Remove traced_functions.
7753
724c7dd8
MM
77542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7755
7756 * gdb.btrace/function_call_history.exp: Update
7757 * gdb.btrace/instruction_history.exp: Update.
7758
6d78d93b
MM
77592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7760
7761 * gdb.btrace/enable.exp: Update expected text.
7762
93a360cc
OJ
77632014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7764
7765 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7766 bytes.
7767
3772b53f
MR
77682014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7769
7770 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7771
596662fa
OJ
77722014-01-15 Omair Javaid <omair.javaid@linaro.org>
7773
7774 * lib/gdb.exp (supports_process_record): Return true for
7775 arm*-linux*. (supports_reverse): Likewise.
7776
b5b08fb4
SC
77772014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7778
7779 PR python/15464
7780 PR python/16113
7781 * gdb.python/py-type.c: Enhance test case.
7782 * gdb.python/py-value-cc.cc: Likewise
7783 * gdb.python/py-type.exp: Add new tests.
7784 * gdb.python/py-value-cc.exp: Likewise
7785
52d7fb13
AA
77862014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7787 Pedro Alves <palves@redhat.com>
7788
7789 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7790 Make "name" extern.
7791 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7792 references to ${name}_start by references to ${name}.
7793
a2cd8cfe
JB
77942014-01-10 Joel Brobecker <brobecker@adacore.com>
7795
7796 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7797
4e23fced
JB
77982014-01-10 Joel Brobecker <brobecker@adacore.com>
7799
7800 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7801
c6a9e42c
PA
78022014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7803 Pedro Alves <palves@redhat.com>
7804
7805 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7806 mi_gdb_target_load.
c6a9e42c 7807
b7ea362b
PA
78082014-01-08 Pedro Alves <palves@redhat.com>
7809
7810 * gdb.threads/reconnect-signal.c: New file.
7811 * gdb.threads/reconnect-signal.exp: New file.
7812
5e3f4fab
EBM
78132014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7814
7815 * gdb.base/source-dir.exp: New file.
7816
79301218
JB
78172014-01-07 Joel Brobecker <brobecker@adacore.com>
7818
7819 * gdb.ada/mi_interface: New testcase.
7820
8e355c5d
JB
78212014-01-07 Joel Brobecker <brobecker@adacore.com>
7822
7823 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7824 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7825 gdb.ada/pp-rec-component/pck.ads: New files.
7826
c0d48811
JB
78272014-01-07 Joel Brobecker <brobecker@adacore.com>
7828
7829 * gdb.python/py-pp-integral.c: New file.
7830 * gdb.python/py-pp-integral.py: New file.
7831 * gdb.python/py-pp-integral.exp: New file.
7832
17b609c3 7833For older changes see ChangeLog-1993-2013.
c906108c 7834\f
8d8cb839
EZ
7835;; Local Variables:
7836;; mode: change-log
7837;; left-margin: 8
7838;; fill-column: 74
7839;; version-control: never
7840;; End:
902f2ccb 7841
618f726f 7842 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7843 Copying and distribution of this file, with or without modification,
7844 are permitted provided the copyright notice and this notice are preserved.