gdb/testsuite: Detect and warn if paths are used in test names
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
34584c09
AB
12020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * lib/gdb.exp: Include check-test-names.exp library.
4 * lib/check-test-names.exp: New file.
5
e0002117
TV
62020-05-11 Tom de Vries <tdevries@suse.de>
7
8 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
9
53f539a3
KS
102020-05-11 Keith Seitz <keiths@redhat.com>
11
12 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
13
113ee09a
TV
142020-05-11 Tom de Vries <tdevries@suse.de>
15
16 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
17 * gdb.cp/cpexprs.exp.in: .. here.
18 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
19 cpexprs.exp.
20
ba3e70b0
KS
212020-05-11 Keith Seitz <keiths@redhat.com>
22
23 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
24 test names.
25 * gdb.ada/arrayptr.exp: Likewise.
26 * gdb.ada/assign_arr.exp: Likewise.
27 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
28 * gdb.ada/bp_on_var.exp: Likewise.
29 * gdb.ada/call_pn.exp: Likewise.
30 * gdb.ada/complete.exp: Likewise.
31 * gdb.ada/fun_overload_menu.exp: Likewise.
32 * gdb.ada/funcall_param.exp: Likewise.
33 * gdb.ada/funcall_ref.exp: Likewise.
34 * gdb.ada/packed_array_assign.exp: Likewise.
35 * gdb.ada/same_component_name.exp: Likewise.
36 * gdb.ada/type_coercion.exp: Likewise.
37 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
38 * gdb.ada/variant_record_packed_array.exp: Likewise.
39
3ee6bb11
TV
402020-05-11 Tom de Vries <tdevries@suse.de>
41
42 PR symtab/25941
43 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
44 out of ...
45 * gdb.dwarf2/clang-debug-names.exp: ... here.
46 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
47 clang-debug-names.exp.in.
48 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
49 * gdb.dwarf2/clang-debug-names-2.c: New test.
50
86cd6bc8
AKS
512020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
52
53 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
54 (fortran_runto_main): New Proc, fortran version of runto_main.
55 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
56 * gdb.fortran/array-bounds.exp: Likewise.
57 * gdb.fortran/array-slices.exp: Likewise.
58 * gdb.fortran/block-data.exp: Likewise.
59 * gdb.fortran/charset.exp: Likewise.
60 * gdb.fortran/common-block.exp: Likewise.
61 * gdb.fortran/complex.exp: Likewise.
62 * gdb.fortran/derived-type-function.exp: Likewise.
63 * gdb.fortran/derived-type.exp: Likewise.
64 * gdb.fortran/info-modules.exp: Likewise.
65 * gdb.fortran/info-types.exp: Likewise.
66 * gdb.fortran/intrinsics.exp: Likewise.
67 * gdb.fortran/library-module.exp: Likewise.
68 * gdb.fortran/logical.exp: Likewise.
69 * gdb.fortran/max-depth.exp: Likewise.
70 * gdb.fortran/module.exp: Likewise.
71 * gdb.fortran/multi-dim.exp: Likewise.
72 * gdb.fortran/nested-funcs.exp: Likewise.
73 * gdb.fortran/print-formatted.exp: Likewise.
74 * gdb.fortran/print_type.exp: Likewise.
75 * gdb.fortran/printing-types.exp: Likewise.
76 * gdb.fortran/ptr-indentation.exp: Likewise.
77 * gdb.fortran/ptype-on-functions.exp: Likewise.
78 * gdb.fortran/subarray.exp: Likewise.
79 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
80 * gdb.fortran/vla-datatypes.exp: Likewise.
81 * gdb.fortran/vla-history.exp: Likewise.
82 * gdb.fortran/vla-ptr-info.exp: Likewise.
83 * gdb.fortran/vla-ptype-sub.exp: Likewise.
84 * gdb.fortran/vla-ptype.exp: Likewise.
85 * gdb.fortran/vla-sizeof.exp: Likewise.
86 * gdb.fortran/vla-type.exp: Likewise.
87 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
88 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
89 * gdb.fortran/vla-value-sub.exp: Likewise.
90 * gdb.fortran/vla-value.exp: Likewise.
91 * gdb.fortran/whatis_type.exp: Likewise.
92 * gdb.mi/mi-var-child-f.exp: Likewise.
93
6dc55ce9 942020-05-09 Tom de Vries <tdevries@suse.de>
95
96 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
97
283cb58c
TV
982020-05-08 Tom de Vries <tdevries@suse.de>
99
100 * gdb.dwarf2/clang-debug-names.c: New test.
101 * gdb.dwarf2/clang-debug-names.exp: New file.
102
ac4a4f1c
SM
1032020-05-06 Simon Marchi <simon.marchi@efficios.com>
104
105 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
106 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
107
24fe640b
TV
1082020-05-06 Tom de Vries <tdevries@suse.de>
109
110 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
111 breakpoint is at a "recommended breakpoint location".
112 * gdb.reverse/consecutive-reverse.exp: Same.
113
0d8683a3
TV
1142020-05-06 Tom de Vries <tdevries@suse.de>
115
116 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
117 address.
118
b8983c46
TV
1192020-05-06 Tom de Vries <tdevries@suse.de>
120
121 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
122
abf6d805
TV
1232020-05-06 Tom de Vries <tdevries@suse.de>
124
125 * gdb.base/store.exp (check_set, up_set): Allowing missing location
126 info for r.
127
0fc2a808
TV
1282020-05-06 Tom de Vries <tdevries@suse.de>
129
130 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
131 necessary.
132
873dd427
TV
1332020-05-06 Tom de Vries <tdevries@suse.de>
134
135 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
136 void.
137
7c99e7e2
TV
1382020-05-06 Tom de Vries <tdevries@suse.de>
139
140 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
141 of ...
142 * gdb.base/async.exp: ... here.
143 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
144 "recommended breakpoint location".
145
6173d6a6
TV
1462020-05-06 Tom de Vries <tdevries@suse.de>
147
148 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
149
6015a067
TV
1502020-05-04 Tom de Vries <tdevries@suse.de>
151
152 * gdb.base/async.exp: Check whether instruction addresses are a
153 "recommended breakpoint location".
154
3b6acaee
TT
1552020-05-03 Tom Tromey <tom@tromey.com>
156
157 * gdb.base/sepdebug.exp: Remove "catch" test.
158 * gdb.base/break.exp: Remove "catch" test.
159 * gdb.base/default.exp: Update expected output.
160
5beb4d17
TV
1612020-05-02 Tom de Vries <tdevries@suse.de>
162
163 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
164 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
165 * gdb.arch/i386-mpx-map.exp: Same.
166 * gdb.arch/i386-mpx-sigsegv.exp: Same.
167 * gdb.arch/i386-mpx-simple_segv.exp: Same.
168 * gdb.arch/i386-mpx.exp: Same.
169
8caf140d
TV
1702020-05-02 Tom de Vries <tdevries@suse.de>
171
172 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
173
693196cb
TV
1742020-05-01 Tom de Vries <tdevries@suse.de>
175
176 * gdb.ada/operator_bp.exp: Allow more than required amount of
177 breakpoint.
178
53ae0aa9
TV
1792020-05-01 Tom de Vries <tdevries@suse.de>
180
181 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
182
ee9d1e5f
HD
1832020-04-30 Hannes Domani <ssbssa@yahoo.de>
184
185 PR gdb/18706
186 * gdb.cp/stub-array-size.cc: New test.
187 * gdb.cp/stub-array-size.exp: New file.
188 * gdb.cp/stub-array-size.h: New test.
189 * gdb.cp/stub-array-size2.cc: New test.
190
d5cf82c0
HD
1912020-04-30 Hannes Domani <ssbssa@yahoo.de>
192
193 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
194 output to the new format.
195
42e165c3
SM
1962020-04-29 Simon Marchi <simon.marchi@efficios.com>
197
198 * gdb.base/break.exp: Use with_test_prefix.
199
6e4e3fe1
TV
2002020-04-29 Tom de Vries <tdevries@suse.de>
201
202 * lib/gdb.exp (debug_types): New proc.
203 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
204 * gdb.python/py-symtab.exp: Same.
205
d642b692
HD
2062020-04-29 Hannes Domani <ssbssa@yahoo.de>
207
208 PR gdb/17320
209 * gdb.base/pretty-array.c: New test.
210 * gdb.base/pretty-array.exp: New file.
211
ea90f227
TV
2122020-04-29 Tom de Vries <tdevries@suse.de>
213
214 PR symtab/25889
215 * gdb.cp/cpexprs.exp: Adapt for inclusion.
216 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
217 and include cpexprs.exp.
218
a65189c9
TV
2192020-04-28 Mark Williams <mark@myosotissp.com>
220
221 PR gdb/24480
222 * dw4-toplevel-types.exp: Test for top level types.
223 * dw4-toplevel-types.cc: Test for top level types.
224
32d1f47a
TBA
2252020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
226
227 * gdb.threads/stop-with-handle.exp: Fix typo in comment
228 (theads -> threads).
229
56a4f5a1
TV
2302020-04-28 Tom de Vries <tdevries@suse.de>
231
232 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
233
0b2f8a3b
TV
2342020-04-28 Tom de Vries <tdevries@suse.de>
235
236 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
237
5390c717
TV
2382020-04-28 Tom de Vries <tdevries@suse.de>
239
240 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
241
15cd93d0
TV
2422020-04-28 Tom de Vries <tdevries@suse.de>
243
244 * gdb.dwarf2/main-foo.c: New test.
245 * gdb.dwarf2/struct-with-sig.exp: New file.
246
d472f0fb
TV
2472020-04-25 Tom de Vries <tdevries@suse.de>
248
249 * boards/debug-types.exp: New file.
250
8d840e05
AB
2512020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
252
253 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
254
bcfe6157
TT
2552020-04-24 Tom Tromey <tom@tromey.com>
256
257 PR symtab/12707:
258 * gdb.python/py-symbol.exp: Update expected results for
259 linkage_name test.
260 * gdb.cp/print-demangle.exp: New file.
261 * gdb.base/c-linkage-name.exp: Fix test.
262 * gdb.guile/scm-symbol.exp: Update expected results for
263 linkage_name test.
264
f049a313
TT
2652020-04-24 Tom Tromey <tom@tromey.com>
266
267 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
268 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
269 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
270 assembler.
271
7cf28874
TV
2722020-04-24 Tom de Vries <tdevries@suse.de>
273
274 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
275 C++.
276
dac2fef7
TT
2772020-04-24 Tom Tromey <tromey@adacore.com>
278
279 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
280 values.
281 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
282 values. Update test for minimal encodings.
283 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
284 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
285 values. Update test for minimal encodings.
286
1acda803
TT
2872020-04-24 Tom Tromey <tromey@adacore.com>
288
289 PR python/23662:
290 * gdb.ada/variant.exp: Add Python checks.
291 * gdb.rust/simple.exp: Add dynamic type checks.
292
adfb9815
TT
2932020-04-24 Tom Tromey <tromey@adacore.com>
294
295 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
296 Make array type matching more lax.
297 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
298 * gdb.ada/mi_variant.exp: New file.
299 * gdb.ada/mi_variant/pck.ads: New file.
300 * gdb.ada/mi_variant/pkg.adb: New file.
301 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
302 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
303
7d79de9a
TT
3042020-04-24 Tom Tromey <tromey@adacore.com>
305
306 * gdb.ada/variant.exp: Add dynamic field offset tests.
307 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
308 * gdb.ada/variant/pkg.adb: Add new variables.
309
f8e89861
TT
3102020-04-24 Tom Tromey <tromey@adacore.com>
311
312 * gdb.ada/variant.exp: New file
313 * gdb.ada/variant/pkg.adb: New file
314 * gdb.ada/variant/pck.adb: New file
315
86e887ae
TV
3162020-04-24 Tom de Vries <tdevries@suse.de>
317
318 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
319
88428775
TV
3202020-04-24 Tom de Vries <tdevries@suse.de>
321
322 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
323 flags.
324
4e86f6e7
TV
3252020-04-24 Tom de Vries <tdevries@suse.de>
326
327 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
328
2016d3e6
TV
3292020-04-24 Tom de Vries <tdevries@suse.de>
330
331 * lib/gdb.exp (default_gdb_start): Handle eof.
332 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
333 failure.
334 * gdb.base/readnever.exp: Handle clean_restart failure.
335
70bc38f5
TV
3362020-04-23 Tom de Vries <tdevries@suse.de>
337
338 * gdb.base/decl-before-def.exp: Run to main and print a again.
339
de82891c
TV
3402020-04-23 Tom de Vries <tdevries@suse.de>
341
342 * gdb.base/decl-before-def-decl.c: New test.
343 * gdb.base/decl-before-def-def.c: New test.
344 * gdb.base/decl-before-def.exp: New file.
345
96038148
TV
3462020-04-23 Tom de Vries <tdevries@suse.de>
347
348 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
349
54ac3df1
TV
3502020-04-22 Tom de Vries <tdevries@suse.de>
351
352 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
353 debug_info_offset.
354 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
355 before $objsfile in the line line.
356
714534e1
TV
3572020-04-22 Tom de Vries <tdevries@suse.de>
358
359 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
360
16a7dbf4
MS
3612020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
362
363 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
364 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
365 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
366 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
367 * gdb.base/jit-protocol.h: Update definitions to match all usage
368 contexts.
369
3702020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
371
372 * gdb.base: Rename all jit related test and source files.
373
3742020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
375
376 * gdb.base/jit-reader.exp: Relax register output check.
377
317d2668
TV
3782020-04-22 Tom de Vries <tdevries@suse.de>
379
380 PR symtab/25764
381 * gdb.base/psym-external-decl-2.c: New test.
382 * gdb.base/psym-external-decl.c: New test.
383 * gdb.base/psym-external-decl.exp: New file.
384 * gdb.threads/tls.exp: Add PR25807 kfail.
385
eea9e357
TV
3862020-04-22 Tom de Vries <tdevries@suse.de>
387
388 PR symtab/25801
389 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
390 in "info source" output.
391
3d5afab3
TV
3922020-04-22 Tom de Vries <tdevries@suse.de>
393
394 PR symtab/25700
395 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
396 symtab for imported_unit.c.
397
b32102f6
GB
3982020-04-21 Gary Benson <gbenson@redhat.com>
399
400 * gdb.base/advance.c (func): New argument, to match call site.
401 (func2, func3): Add return statements.
402
d43b7a2d
TBA
4032020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
404
405 * gdb.multi/run-only-second-inf.c: New file.
406 * gdb.multi/run-only-second-inf.exp: New file.
407
d89edf9b
MM
4082020-04-21 Markus Metzger <markus.t.metzger@intel.com>
409
410 * gdb.btrace/multi-inferior.c: New test.
411 * gdb.btrace/multi-inferior.exp: New file.
412
1a476b6d
MM
4132020-04-21 Markus Metzger <markus.t.metzger@intel.com>
414
415 * gdb.btrace/enable-new-thread.c: New test.
416 * gdb.btrace/enable-new-thread.exp: New file.
417
4778a5f8
TV
4182020-04-21 Tom de Vries <tdevries@suse.de>
419
420 PR gdb/25471
421 * gdb.threads/killed-outside.c: New test.
422 * gdb.threads/killed-outside.exp: New file.
423
9b2c992c
GB
4242020-04-20 Gary Benson <gbenson@redhat.com>
425
426 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
427 * gdb.base/nested-subp2.exp: Likewise.
428 * gdb.base/nested-subp3.exp: Likewise.
429
b5d1d6f7
GB
4302020-04-20 Gary Benson <gbenson@redhat.com>
431
432 * gdb.base/nested-subp1.exp: Disable test when using clang.
433 * gdb.base/nested-subp2.exp: Likewise.
434 * gdb.base/nested-subp3.exp: Likewise.
435
25230285
GB
4362020-04-20 Gary Benson <gbenson@redhat.com>
437
438 * gdb.cp/exception.cc: Fix compilation error with clang.
439
fa93cc8f
GB
4402020-04-20 Gary Benson <gbenson@redhat.com>
441
809730f3 442 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 443
e0c45f30
GB
4442020-04-20 Gary Benson <gbenson@redhat.com>
445
446 * gdb.base/jit-main.c: Fix compilation error with clang.
447
4ddfec93
KR
4482020-04-17 Kamil Rytarowski <n54@gmx.com>
449
450 * gdb.base/attach-twice.c: Include "sys/types.h".
451 (PTRACE_ATTACH): Add fallback definition.
452 (main): Pass `0' to the 4th argument of `ptrace'.
453
2bed205e
KR
4542020-04-17 Kamil Rytarowski <n54@gmx.com>
455
456 * gdb.base/fork-running-state.c: Include "signal.h".
457
0743fc83
TT
4582020-04-17 Tom Tromey <tromey@adacore.com>
459
460 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
461 Update tests.
462 * gdb.btrace/cpu.exp: Update tests.
463 * gdb.base/maint.exp: Update tests.
464 * gdb.base/default.exp: Update tests.
465 * gdb.base/completion.exp: Update tests.
466
efba5c23
TV
4672020-04-16 Tom de Vries <tdevries@suse.de>
468
469 PR symtab/25791
470 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
471 (ensure_gdb_index): and factor out and move ...
472 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
473 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
474
d191d716
TV
4752020-04-16 Tom de Vries <tdevries@suse.de>
476
477 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
478 loading exec.
479
99f1bc6a
AB
4802020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
481
482 * gdb.base/many-completions.exp: New file.
483
194d088f
TV
4842020-04-14 Tom de Vries <tdevries@suse.de>
485
486 PR symtab/25718
487 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
488
c1a66c06
TV
4892020-04-14 Tom de Vries <tdevries@suse.de>
490
491 PR symtab/25720
492 * gdb.base/maint-expand-symbols-header-file.c: New test.
493 * gdb.base/maint-expand-symbols-header-file.exp: New file.
494 * gdb.base/maint-expand-symbols-header-file.h: New test.
495
21b0982c
AB
4962020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
497
498 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
499 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
500 get_func_info.
501 (get_func_info): Delete.
502 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
503 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
504 * lib/dwarf.exp (get_func_info): New function.
505
dd1cab06
TV
5062020-04-13 Tom de Vries <tdevries@suse.de>
507
508 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
509 to what find_gnatmake does.
510
71ea2b6b
TV
5112020-04-10 Tom de Vries <tdevries@suse.de>
512
513 * gdb.base/style.exp: Expect "Expanding full symbols" message for
514 -readnow.
515
bdfc1e8a
TV
5162020-04-10 Tom de Vries <tdevries@suse.de>
517
518 PR cli/25808
519 * gdb.base/style.c: Add leading newlines.
520 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
521 Check listing of main's one-line body.
522
14ca8ecf
TV
5232020-04-08 Tom de Vries <tdevries@suse.de>
524
525 * lib/gdb.exp (psymtabs_p): New proc.
526 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
527 importing unit" unsupported if there are no partial symbols.
528
e21d048f
TV
5292020-04-08 Tom de Vries <tdevries@suse.de>
530
531 PR testsuite/25760
532 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
533
25c11aca
TV
5342020-04-07 Tom de Vries <tdevries@suse.de>
535
536 PR symtab/25796
537 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
538
5707e24b
TV
5392020-04-07 Tom de Vries <tdevries@suse.de>
540
541 * gdb.base/check-psymtab.c: New test.
542 * gdb.base/check-psymtab.exp: New file.
543
6ee448cc
TT
5442020-04-06 Tom Tromey <tromey@adacore.com>
545
546 * gdb.ada/variant-record/proc.adb: New file.
547 * gdb.ada/variant-record/value.adb: New file.
548 * gdb.ada/variant-record/value.s: New file.
549 * gdb.ada/variant-record.exp: New file.
550
9e7c9a03
HD
5512020-04-03 Hannes Domani <ssbssa@yahoo.de>
552
553 PR gdb/25325
554 * gdb.cp/typed-enum.cc: New test.
555 * gdb.cp/typed-enum.exp: New file.
556
c90d28ac
AB
5572020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
558
559 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
560 * gdb.dwarf2/dw2-inline-small-func.c: New file.
561 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
562 * gdb.dwarf2/dw2-inline-small-func.h: New file.
563 * gdb.opt/inline-small-func.c: New file.
564 * gdb.opt/inline-small-func.exp: New file.
565 * gdb.opt/inline-small-func.h: New file.
566
34e9a9fa
AB
5672020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
568
569 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
570 function.
571
6a354911
AB
5722020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
573
574 * lib/dwarf.exp (function_range): Allow compiler options to be
575 specified.
576
880d9777
TV
5772020-04-02 Tom de Vries <tdevries@suse.de>
578
579 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
580 __attribute__((always_inline)).
581 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
582
f32682ea
TV
5832020-04-02 Tom de Vries <tdevries@suse.de>
584
585 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
586 (gdbserver_gdb_exit): ... here. Add timeout warning.
587 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
588 (connect_target_extended_remote): Append new server_spawn_id to
589 server_spawn_ids.
590 (cleanup): New proc.
591 (setup, <toplevel>): Call cleanup.
592
d3214198
TV
5932020-04-02 Tom de Vries <tdevries@suse.de>
594
595 * gdb.base/main-psymtab.exp: New file.
596
cc77ed24
TV
5972020-04-02 Tom de Vries <tdevries@suse.de>
598
599 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
600
3638a098
TT
6012020-04-01 Tom Tromey <tom@tromey.com>
602
603 * gdb.base/complex-parts.exp: Add type tests.
604
c34e8714
TT
6052020-04-01 Tom Tromey <tom@tromey.com>
606
607 * gdb.base/complex-parts.exp: Add arithmetic tests.
608
981c08ce
TT
6092020-04-01 Tom Tromey <tom@tromey.com>
610
611 * gdb.compile/compile.exp: Update.
612 * gdb.compile/compile-cplus.exp: Update.
613 * gdb.base/varargs.exp: Update.
614 * gdb.base/floatn.exp: Update.
615 * gdb.base/endianity.exp: Update.
616 * gdb.base/callfuncs.exp (do_function_calls): Update.
617 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
618 (complex_float_integral_args): Update.
619 * gdb.base/complex.exp: Update.
620 * gdb.base/complex-parts.exp: Update.
621
3d1cfd43
TT
6222020-04-01 Tom Tromey <tromey@adacore.com>
623
624 * gdb.rust/union.rs: New file.
625 * gdb.rust/union.exp: New file.
626 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
627 (main): Update.
628 * gdb.rust/simple.exp: Move union tests to union.exp.
629
e033dfa9
TT
6302020-04-01 Tom Tromey <tromey@adacore.com>
631
632 * gdb.rust/simple.rs (main): Remove "y0".
633
53cccef1
TBA
6342020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
635
636 * gdb.multi/stop-all-on-exit.c: New test.
637 * gdb.multi/stop-all-on-exit.exp: New file.
638
60e22c1e
HD
6392020-04-01 Hannes Domani <ssbssa@yahoo.de>
640
641 PR gdb/24789
642 * gdb.cp/misc.cc: Add integer reference variable.
643 * gdb.cp/misc.exp: Add test.
644
e139a727
TBA
6452020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
646
647 * gdb.server/stop-reply-no-thread.exp: Enhance the test
648 scenario to cover execution until the end and also the case
649
16b0db75
TV
6502020-03-31 Tom de Vries <tdevries@suse.de>
651
652 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
653 c. Use "maint info symtabs" to check symtab expansion.
654
c0502da6
TV
6552020-03-30 Tom de Vries <tdevries@suse.de>
656
657 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
658 unsupported.
659 (verify_psymtab_expanded): Move ...
660 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
661 test.
662 (readnow): New proc.
663
5935fd15
AB
6642020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
665
666 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
667 with $hex.
668
1773be9e
TT
6692020-03-20 Tom Tromey <tromey@adacore.com>
670
671 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
672
70304be9
TT
6732020-03-20 Tom Tromey <tromey@adacore.com>
674
675 * gdb.ada/sub_variant/subv.adb: New file.
676 * gdb.ada/sub_variant.exp: New file.
677
0dd7b8f7
TV
6782020-03-20 Tom de Vries <tdevries@suse.de>
679
680 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
681 first break fails.
682 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
683
cada5fc9
AB
6842020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
685
686 * gdb.server/exit-multiple-threads.c: New file.
687 * gdb.server/exit-multiple-threads.exp: New file.
688
6b8c53f2
AB
6892020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
690
691 * gdb.fortran/mixed-lang-stack.c: New file.
692 * gdb.fortran/mixed-lang-stack.cpp: New file.
693 * gdb.fortran/mixed-lang-stack.exp: New file.
694 * gdb.fortran/mixed-lang-stack.f90: New file.
695
19a2740f
AB
6962020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
697
698 * gdb.linespec/cp-completion-aliases.cc: New file.
699 * gdb.linespec/cp-completion-aliases.exp: New file.
700
d8c8b848
TV
7012020-03-19 Tom de Vries <tdevries@suse.de>
702
703 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
704 more precise.
705
a9933ccf
TV
7062020-03-18 Tom de Vries <tdevries@suse.de>
707
708 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
709 * gdb.dwarf2/break-inline-psymtab.c: New test.
710 * gdb.dwarf2/break-inline-psymtab.exp: New file.
711
2f89101f
TV
7122020-03-16 Tom de Vries <tdevries@suse.de>
713
714 * lib/cache.exp (gdb_do_cache): Add and handle local variables
715 cache_verify and cache_verify_proc.
716
6b9374f1
TV
7172020-03-15 Tom de Vries <tdevries@suse.de>
718
719 * gdb.server/solib-list.exp: Handle
720 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
721
eaeaf44c
TV
7222020-03-15 Tom de Vries <tdevries@suse.de>
723
724 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
725 objfiles".
726
3293bbaf
TT
7272020-03-14 Tom Tromey <tom@tromey.com>
728
729 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
730
ab44624c
TV
7312020-03-14 Tom de Vries <tdevries@suse.de>
732
733 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
734
54c43825
TV
7352020-03-14 Tom de Vries <tdevries@suse.de>
736
737 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
738 result in line-by-line fashion.
739
2ac70237
TV
7402020-03-14 Tom de Vries <tdevries@suse.de>
741
742 * lib/gdb.exp (supports_statement_frontiers): New proc.
743 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
744
09546b56
TV
7452020-03-14 Tom de Vries <tdevries@suse.de>
746
747 * gdb.base/printcmds.exp: Add missing quoting for "print
748 teststring2".
749
a1f6a07c
TT
7502020-03-13 Tom Tromey <tom@tromey.com>
751
752 * gdb.base/printcmds.exp (test_print_strings): Add regression
753 test.
754 * gdb.base/printcmds.c (charptr): New typedef.
755 (teststring2): New global.
756
1b83d09c
AB
7572020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
758
759 * gdb.base/break-interp.exp: Use the tail of the filename, not the
760 full path in the test name.
761 (test_ld): Add some with_test_prefix blocks to make test names
762 unique.
763
2d61316c
TV
7642020-03-13 Tom de Vries <tdevries@suse.de>
765
766 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
767
2e9145ac
TV
7682020-03-13 Tom de Vries <tdevries@suse.de>
769
770 * gdb.mi/mi-sym-info.exp: Make matching more precise.
771
96c7f873
TV
7722020-03-13 Tom de Vries <tdevries@suse.de>
773
774 PR symtab/25646
775 * gdb.dwarf2/imported-unit.exp: Add test.
776
49ba92c0
TV
7772020-03-13 Tom de Vries <tdevries@suse.de>
778
779 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
780 (var1, var2): New variable.
781 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
782 matching symbols.
783
301b21e0
TV
7842020-03-13 Tom de Vries <tdevries@suse.de>
785
786 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
787 (Term::command): Use prompt prefix.
788 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
789 * gdb.tui/tui-layout-asm-short-prog.exp: Use
790 command_no_prompt_prefix instead of prefix.
791 * gdb.tui/tui-layout-asm.exp: Same.
792
3f512721
SM
7932020-03-12 Simon Marchi <simon.marchi@efficios.com>
794
795 * gdb.base/break-interp.exp: Use foreach_with_prefix.
796
40310f30
SM
7972020-03-12 Simon Marchi <simon.marchi@efficios.com>
798
799 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
800 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
801 on" while stepping over the test instruction, match printed
802 message.
803
09252140
TV
8042020-03-12 Tom de Vries <tdevries@suse.de>
805
806 * gdb.base/info-types.exp: Use exp_continue during matching of output
807 of "info types".
808
14e9c72c
TV
8092020-03-12 Tom de Vries <tdevries@suse.de>
810
811 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
812
e515d67e
TV
8132020-03-12 Tom de Vries <tdevries@suse.de>
814
815 * gdb.fortran/module.exp: Use exp_continue during matching of output
816 of "info variable -n".
817
307eafd8
TV
8182020-03-12 Tom de Vries <tdevries@suse.de>
819
820 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
821 gdb.dwarf2/dw2-ranges-base.c.
822
9a2de3fc
TV
8232020-03-12 Tom de Vries <tdevries@suse.de>
824
825 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
826 in presence of GLIBC debuginfo.
827
3217502e
TV
8282020-03-12 Tom de Vries <tdevries@suse.de>
829
830 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
831 $core.
832
1281424c
TV
8332020-03-12 Tom de Vries <tdevries@suse.de>
834
835 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
836 more precise.
837
038b97fc
SM
8382020-03-11 Simon Marchi <simon.marchi@efficios.com>
839
840 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
841 from Unix to Windows path.
842
5308d1e7
TV
8432020-03-11 Tom de Vries <tdevries@suse.de>
844
845 * gdb.ada/minsyms.exp: Set language to ada.
846
f870f78f
TV
8472020-03-11 Tom de Vries <tdevries@suse.de>
848
849 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
850
5a13315d
TV
8512020-03-11 Tom de Vries <tdevries@suse.de>
852
853 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
854
976862ed
TT
8552020-03-11 Tom Tromey <tromey@adacore.com>
856
857 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
858
7462c383
TV
8592020-03-11 Tom de Vries <tdevries@suse.de>
860
861 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
862
1c6c46a0
TV
8632020-03-11 Tom de Vries <tdevries@suse.de>
864
865 * gdb.base/break-interp.exp: Limit verbose scope.
866
44f41bb7
TV
8672020-03-11 Tom de Vries <tdevries@suse.de>
868
869 * gdb.fortran/logical.f90: Define variable with character type.
870 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
871
b76f3a42
TV
8722020-03-11 Tom de Vries <tdevries@suse.de>
873
874 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
875
1c33af77
TV
8762020-03-11 Tom de Vries <tdevries@suse.de>
877
878 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
879 symtabs.
880
8c95582d
AB
8812020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
882 Bernd Edlinger <bernd.edlinger@hotmail.de>
883
884 * gdb.cp/step-and-next-inline.cc: New file.
885 * gdb.cp/step-and-next-inline.exp: New file.
886 * gdb.cp/step-and-next-inline.h: New file.
887 * gdb.dwarf2/dw2-is-stmt.c: New file.
888 * gdb.dwarf2/dw2-is-stmt.exp: New file.
889 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
890 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
891 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
892
cecf8547
AB
8932020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
894
895 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
896 is-stmt flag in the line table.
897
0ba678c9
TV
8982020-03-09 Tom de Vries <tdevries@suse.de>
899
900 * lib/gdb.exp (cached_file): Create cache dir.
901
72fbdf83
TV
9022020-03-07 Tom de Vries <tdevries@suse.de>
903
904 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
905 * gdb.cp/rvalue-ref-params.exp: Same.
906
436b5e99
TV
9072020-03-06 Tom de Vries <tdevries@suse.de>
908
909 * lib/gdb.exp (tentative_rename, cached_file): New proc.
910 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
911
09f2921c
TV
9122020-03-06 Tom de Vries <tdevries@suse.de>
913
914 * README: Fix "the the".
915 * gdb.base/dprintf.exp: Same.
916
50a3cc5d
TV
9172020-03-05 Tom de Vries <tdevries@suse.de>
918
919 * gdb.base/maint.exp: Update "main print statistics" expected output.
920
0a709cba
AKS
9212020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
922
923 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
924 (fortran_int8): Likewise.
925 (fortran_real4): Likewise.
926 (fortran_real8): Likewise.
927 (fortran_complex4): Likewise.
928 (fortran_logical4): Likewise.
929 (fortran_character1): Likewise.
930
5e5d66b6
AB
9312020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
932
933 * gdb.fortran/logical.exp: Add tests that any non-zero value is
934 printed as true.
935
7b973adc
SDJ
9362020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
937
938 * gdb.base/printcmds.exp: Add test to verify printf of a
939 variable holding an address.
940
478e490a
TV
9412020-03-03 Tom de Vries <tdevries@suse.de>
942
943 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
944
1ef44e86
TV
9452020-03-03 Tom de Vries <tdevries@suse.de>
946
947 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
948 gdb_test_multiple call.
949
b98cc2cf
TV
9502020-03-03 Tom de Vries <tdevries@suse.de>
951
952 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
953 gdb_test_multiple calls.
954
63e163f2
AB
9552020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
956
957 * gdb.base/default.exp: Remove test of 'set history filename'.
958 * gdb.base/gdbinit-history.exp: Add tests for setting the history
959 filename to the empty string.
960 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
961 and GDBHISTSIZE.
962
24ed6739
AB
9632020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
964
965 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
966 disabled.
967
590003dc
TV
9682020-03-02 Pedro Alves <palves@redhat.com>
969 Tom de Vries <tdevries@suse.de>
970
971 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
972 -prompt prefix, before user_code argument. Add -lbl option likewise.
973 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
974 (gdb_is_target_1): Add -prompt prefix and move to before user_code
975 argument.
976 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
977 have "\r\n" at start-of-line, instead of at end-of-line.
978
f5e46084
SM
9792020-02-28 Simon Marchi <simon.marchi@efficios.com>
980
981 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
982 libinproctrace.so.
983
f7a7000d
LM
9842020-02-28 Luis Machado <luis.machado@linaro.org>
985
986 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
987 to "p/x".
988
718e0816
LM
9892020-02-28 Luis Machado <luis.machado@linaro.org>
990
991 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
992 asm/ptrace.h and error.h.
993
13c3a74a
TV
9942020-02-28 Tom de Vries <tdevries@suse.de>
995
996 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
997 (struct wrapper, do_something, mundane/symada__cS): Move ...
998 * gdb.base/c-linkage-name-2.c: ... here. New source file.
999 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
1000 Update "print symada__cS before partial symtab expansion" regexp.
1001 Update breakpoint location. Flush symbol cache after expansion.
1002
85d2d5bb
LM
10032020-02-28 Luis Machado <luis.machado@linaro.org>
1004
1005 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
1006
3608f86c
TV
10072020-02-27 Tom de Vries <tdevries@suse.de>
1008
1009 * config/sid.exp: Remove unused globals.
1010 * gdb.base/attach.exp: Same.
1011 * gdb.base/catch-load.exp: Same.
1012 * gdb.base/dbx.exp: Same.
1013 * lib/gdb.exp: Same.
1014 * lib/mi-support.exp: Same.
1015 * lib/prompt.exp: Same.
1016
c8d4f6df
TV
10172020-02-27 Tom de Vries <tdevries@suse.de>
1018
1019 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
1020 not set.
1021
0d79cdc4
AM
10222020-02-26 Aaron Merey <amerey@redhat.com>
1023
1024 * gdb.debuginfod: New directory for debuginfod tests.
1025 * gdb.debuginfod/main.c: New test file.
1026 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
1027
0dce4280
TV
10282020-02-26 Tom de Vries <tdevries@suse.de>
1029
1030 PR gdb/25603
1031 * gdb.base/persistent-lang.cc: New test.
1032 * gdb.base/persistent-lang.exp: New file.
1033
9e80cfa1
AB
10342020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1035
1036 * gdb.fortran/derived-type-striding.exp: Add a new test.
1037 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
1038 new test.
1039
2078dbb2
AB
10402020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1041
1042 * gdb.base/cached-source-file.exp: Avoid source file paths in test
1043 names.
1044
70d49700
TV
10452020-02-25 Tom de Vries <tdevries@suse.de>
1046
1047 PR go/18926
1048 * gdb.go/methods.exp: Remove gcc/93866 xfail.
1049
a88ef40d
TV
10502020-02-24 Tom de Vries <tdevries@suse.de>
1051
1052 PR gdb/25592
1053 * gdb.base/info-locals-unused-static-var.c: New test.
1054 * gdb.base/info-locals-unused-static-var.exp: New file.
1055
01b1af32
TT
10562020-02-22 Tom Tromey <tom@tromey.com>
1057
1058 * gdb.python/tui-window.exp: New file.
1059 * gdb.python/tui-window.py: New file.
1060
7c043ba6
TT
10612020-02-22 Tom Tromey <tom@tromey.com>
1062
1063 PR tui/17850:
1064 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
1065 tests.
1066
c22fef7e
TT
10672020-02-22 Tom Tromey <tom@tromey.com>
1068
1069 * gdb.tui/new-layout.exp: Add sub-layout tests.
1070
ee325b61
TT
10712020-02-22 Tom Tromey <tom@tromey.com>
1072
1073 * gdb.tui/new-layout.exp: New file.
1074
3f0cbb04
TT
10752020-02-22 Tom Tromey <tom@tromey.com>
1076
1077 * gdb.rust/rust-style.rs: New file.
1078 * gdb.rust/rust-style.exp: New file.
1079 * gdb.base/style.exp: Test structure printing.
1080 * gdb.base/style.c (struct some_struct): New type.
1081 (enum etype): New type.
1082 (struct_value): New global.
1083
75525152
TV
10842020-02-21 Tom de Vries <tdevries@suse.de>
1085
1086 PR go/18926
1087 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
1088 Remove blanket xfails. Use message argument for gdb_breakpoint.
1089 Make continuing to breakpoint test conditional on setting breakpoint.
1090 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
1091 DW_AT_name attribute. Add xfail for GCC PR93866.
1092
bd360d30
AB
10932020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
1094
1095 * gdb.dwarf2/cpp-linkage-name.c: New file.
1096 * gdb.dwarf2/cpp-linkage-name.exp: New file.
1097
c7adb09f 10982020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
1099
1100 * lib/gdb.exp (gdb_wrapper_init): Reset
1101 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
1102 not exist.
1103
a9c79803
TV
11042020-02-20 Tom de Vries <tdevries@suse.de>
1105
1106 PR go/17018
1107 * gdb.go/hello.exp: Copy ...
1108 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
1109 print of st to print value of global definition. Add xfail for GCC
1110 PR93844.
1111 * gdb.go/hello.exp: Remove printing of st before definition.
1112 * gdb.go/hello.go: Copy ...
1113 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
1114 to st.
1115 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
1116
d7445728
TV
11172020-02-20 Tom de Vries <tdevries@suse.de>
1118
1119 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
1120 (gdb_simple_compile): Handle compile_flags go by using .go extension
1121 for source file.
1122 * gdb.go/chan.exp: Use support_go_compile.
1123 * gdb.go/handcall.exp: Same.
1124 * gdb.go/hello.exp: Same.
1125 * gdb.go/integers.exp: Same.
1126 * gdb.go/max-depth.exp: Same.
1127 * gdb.go/methods.exp: Same.
1128 * gdb.go/package.exp: Same.
1129 * gdb.go/strings.exp: Same.
1130 * gdb.go/types.exp: Same.
1131 * gdb.go/unsafe.exp: Same.
1132
c9c41e6d
TV
11332020-02-19 Tom de Vries <tdevries@suse.de>
1134
1135 * gdb.python/lib-types.exp: Make xfail more strict.
1136
f20ff837
TV
11372020-02-19 Tom de Vries <tdevries@suse.de>
1138
1139 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
1140
08410482
DE
11412020-02-19 Doug Evans <dje@google.com>
1142
1143 PR rust/25535
1144 * gdb.rust/simple.exp: Add test.
1145 * gdb.rust/simple.rs: Add test.
1146
623563f7
TV
11472020-02-19 Tom de Vries <tdevries@suse.de>
1148
1149 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
1150 output line-by-line.
1151
d3308cfd
TV
11522020-02-19 Tom de Vries <tdevries@suse.de>
1153
1154 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
1155
86cbc5dc
TV
11562020-02-19 Tom de Vries <tdevries@suse.de>
1157
1158 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
1159 prelink.
1160
9db2b96b
TV
11612020-02-19 Tom de Vries <tdevries@suse.de>
1162
1163 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
1164 (gdb_do_cache): Use gdb_do_cache_wrap.
1165 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
1166
89e2fdc5
TV
11672020-02-19 Tom de Vries <tdevries@suse.de>
1168
1169 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
1170 gdb_compile option.
1171
373d7ac0
SM
11722020-02-18 Simon Marchi <simon.marchi@efficios.com>
1173
1174 * gdb.base/printcmds.exp (test_print_enums): Update expected
1175 output.
1176
b29a2df0
SM
11772020-02-18 Simon Marchi <simon.marchi@efficios.com>
1178
1179 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
1180 for "unknown".
1181
6740f0cc
SM
11822020-02-18 Simon Marchi <simon.marchi@efficios.com>
1183
1184 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
1185 enumerator.
1186
edd45eb0
SM
11872020-02-18 Simon Marchi <simon.marchi@efficios.com>
1188
1189 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
1190 FE_, add FE_NONE.
1191 (three): Update.
1192 (enum flag_enum_without_zero): New enum.
1193 (flag_enum_without_zero): New variable.
1194 (enum not_flag_enum): New enum.
1195 (three_not_flag): New variable.
1196 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
1197 (test_print_enums): Add more tests for printing flag enums.
1198
d4295de4
TV
11992020-02-18 Tom de Vries <tdevries@suse.de>
1200
1201 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
1202 (gdb_compile_ada): ... here.
1203 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
1204 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
1205
f251f505
TT
12062020-02-14 Tom Tromey <tom@tromey.com>
1207
1208 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
1209 build directory.
1210 * boards/gdbserver-base.exp: Update path to gdbserver.
1211
8f432634
TV
12122020-02-13 Tom de Vries <tdevries@suse.de>
1213
1214 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
1215
92b6eaf7
TV
12162020-02-13 Tom de Vries <tdevries@suse.de>
1217
1218 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
1219 are missing.
1220
f3b0f7fe
TV
12212020-02-13 Tom de Vries <tdevries@suse.de>
1222
1223 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
1224 call.
1225
f6be8713
SDJ
12262020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1227
1228 PR tui/25126
1229 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
1230 * gdb.base/cached-source-file.c: New file.
1231 * gdb.base/cached-source-file.exp: New file.
1232
b2770d5e
TV
12332020-02-11 Tom de Vries <tdevries@suse.de>
1234
1235 PR testsuite/25488
1236 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
1237
44f6938e
TV
12382020-02-10 Tom de Vries <tdevries@suse.de>
1239
1240 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
1241
5f0e2eb7
MR
12422020-02-10 Maciej W. Rozycki <macro@wdc.com>
1243
1244 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
1245 and $after_addr are both integers before making a comparison.
1246
46ce2b6f
TV
12472020-02-09 Tom de Vries <tdevries@suse.de>
1248
1249 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
1250 command output and paste it into gdb.log. If any, paste catch message
1251 to gdb.log.
1252
5abbbe1d
TT
12532020-02-07 Tom Tromey <tromey@adacore.com>
1254
1255 PR breakpoints/24915:
1256 * gdb.base/annotate-symlink.exp: Use setup_xfail.
1257
1d5d29e7
SV
12582020-02-06 Shahab Vahedi <shahab@synopsys.com>
1259
1260 * gdb.tui/tui-missing-src.exp: Add the "missing source
1261 file" test for the TUI.
1262
b0999b9b
AB
12632020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
1264
1265 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
1266 including a port number in the output.
1267
c3b149eb
AKS
12682020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1269
1270 * lib/fortran.exp (fortran_int4): Handle clang.
1271 (fortran_int8): Likewise.
1272 (fortran_real4): Likewise.
1273 (fortran_real8): Likewise.
1274 (fortran_complex4): Likewise.
1275 (fortran_logical4): Likewise.
1276 (fortran_character1): Likewise.
1277
f8dcc90b
TV
12782020-02-04 Tom de Vries <tdevries@suse.de>
1279
1280 * README (Race detection): Add note.
1281
f90ac7c2
TV
12822020-02-04 Tom de Vries <tdevries@suse.de>
1283
1284 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
1285
780636ae
TV
12862020-02-04 Tom de Vries <tdevries@suse.de>
1287
1288 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
1289
5d2e1193
RA
12902020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1291
1292 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
1293 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
1294 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
1295 blttar, bnetarl.
1296 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
1297 binary for blttar, bnetarl.
1298 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
1299 wait instruction. Delete ldmx test.
1300 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
1301
e409c542
AKS
13022020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1303
1304 * gdb.fortran/array-bounds-high.exp: New file.
1305 * gdb.fortran/array-bounds-high.f90: New file.
1306
b0029748
LD
13072020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
1308
1309 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
1310 Replace #include of <sys/fcntl.h> by <fcntl.h>.
1311
195a8287
TV
13122020-02-01 Tom de Vries <tdevries@suse.de>
1313
1314 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
1315
42330a68
AB
13162020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
1317
1318 PR tui/9765
1319 * gdb.tui/tui-layout-asm-short-prog.S: New file.
1320 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
1321
b62a8028
LM
13222020-01-29 Luis Machado <luis.machado@linaro.org>
1323
1324 * gdb.arch/aarch64-brk-patterns.c: New source file.
1325 * gdb.arch/aarch64-brk-patterns.exp: New test.
1326
5f440116
TBA
13272020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1328
1329 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
1330 GCC/Clang version.
1331 * gdb.cp/pass-by-ref.exp: Ditto.
1332
ee2a6fc6
TV
13332020-01-29 Tom de Vries <tdevries@suse.de>
1334
1335 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
1336 * gdb.threads/watchpoint-fork-mt.c: Same.
1337 * gdb.threads/watchpoint-fork-parent.c: Same.
1338 * gdb.threads/watchpoint-fork-st.c: Same.
1339 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
1340
16b10d6e
LM
13412020-01-27 Luis Machado <luis.machado@linaro.org>
1342
1343 * gdb.base/step-over-syscall.exp (setup): Check if we're already
1344 sitting at a syscall instruction when we hit the syscall function's
1345 breakpoint.
1346 Check PC against one obtained with the x command.
1347 Validate syscall number.
1348 (step_over_syscall): Don't continue to the syscall instruction if
1349 we're already there.
1350
b1468492
PW
13512020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1352
1353 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
1354
7ffa82e1
AB
13552020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1356
1357 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
1358 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
1359
3d92a3e3
AB
13602020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1361
1362 * gdb.dwarf2/dw2-inline-stepping.c: New file.
1363 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
1364
94a72be7
AB
13652020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1366
1367 * gdb.base/maint.exp: Update line table parsing test.
1368 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
1369
53af73bf
PA
13702020-01-24 Pedro Alves <palves@redhat.com>
1371
1372 PR gdb/25410
1373 * gdb.multi/multi-re-run-1.c: New.
1374 * gdb.multi/multi-re-run-2.c: New.
1375 * gdb.multi/multi-re-run.exp: New.
1376
1ba1ac88
AB
13772020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1378
1379 PR gdb/23718
1380 * gdb.server/server-kill-python.exp: New file.
1381
f3364a6d
AB
13822020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1383
1384 * gdb.server/multi-ui-errors.c: New file.
1385 * gdb.server/multi-ui-errors.exp: New file.
1386
733d0a67
AB
13872020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1388
1389 PR tui/9765
1390 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
1391
4f13c1c0
TT
13922020-01-19 Tom Tromey <tom@tromey.com>
1393
1394 * gdb.tui/main.exp: Add check for plain "file".
1395
40c94099
CB
13962020-01-16 Christian Biesinger <cbiesinger@google.com>
1397
1398 * lib/gdb.exp: Fix spelling error (seperatelly).
1399
ff47f4f0
TT
14002020-01-14 Tom Tromey <tom@tromey.com>
1401
1402 PR symtab/12535:
1403 * gdb.python/python.exp: Test decode_line with empty string
1404 argument.
1405
717c684d
BE
14062020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
1407
1408 * gdb.base/skip-inline.exp: Extend test.
1409
44e4c775
AB
14102020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1411
1412 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
1413 * gdb.dwarf2/dw2-bad-elf.c: New file.
1414 * gdb.dwarf2/dw2-bad-elf.exp: New file.
1415
d93c6db7
AB
14162020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1417
1418 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
1419 _line_saw_file.
1420
9a6d629c
AB
14212020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1422
1423 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
1424 border.
1425
d9ebdab7
TBA
14262020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1427
1428 * gdb.multi/multi-target.exp (setup): Factor out "info
1429 connections" and "info inferiors" tests to ...
1430 (test_info_inferiors): ... this new procedure.
1431 (top level): Run new "info-inferiors" tests.
1432
f3c469b9
PA
14332020-01-10 Pedro Alves <palves@redhat.com>
1434
1435 * gdb.server/bkpt-other-inferior.exp: New file.
1436
121b3efd
PA
14372020-01-10 Pedro Alves <palves@redhat.com>
1438
1439 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
1440 of "add-inferior".
1441 * gdb.base/quit-live.exp: Likewise.
1442 * gdb.base/remote-exec-file.exp: Likewise.
1443 * gdb.guile/scm-progspace.exp: Likewise.
1444 * gdb.linespec/linespec.exp: Likewise.
1445 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1446 * gdb.mi/user-selected-context-sync.exp: Likewise.
1447 * gdb.multi/multi-target.exp (setup): Add "info connection" and
1448 "info inferiors" tests.
1449 * gdb.multi/remove-inferiors.exp: Adjust expected output of
1450 "add-inferior".
1451 * gdb.multi/watchpoint-multi.exp: Likewise.
1452 * gdb.python/py-inferior.exp: Likewise.
1453 * gdb.server/extended-remote-restart.exp: Likewise.
1454 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
1455 "info inferiors".
1456 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1457 * gdb.trace/report.exp: Likewise.
1458
1dadb1dd
PA
14592020-01-10 Pedro Alves <palves@redhat.com>
1460
1461 * gdb.multi/multi-target.c: New file.
1462 * gdb.multi/multi-target.exp: New file.
1463 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
1464 mode requested, but remote does not support non-stop".
1465
78f2c40a
PA
14662020-01-10 Pedro Alves <palves@redhat.com>
1467
1468 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
1469 disconnect before reconnecting.
1470
e7af6c70
TBA
14712020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1472 Pedro Alves <palves@redhat.com>
1473
1474 * gdb.server/connect-without-multi-process.exp: Also test
1475 continuing to end.
1476
acdf84a6
PA
14772020-01-10 Pedro Alves <palves@redhat.com>
1478
1479 * gdb.base/remote-exec-file.exp: New file.
1480
873657b9
PA
14812020-01-10 Pedro Alves <palves@redhat.com>
1482
1483 * gdb.base/fork-running-state.exp (do_test): Adjust expected
1484 output.
1485 * gdb.threads/async.c: New.
1486 * gdb.threads/async.exp: New.
1487 * gdb.multi/tids-gid-reset.c: New.
1488 * gdb.multi/tids-gid-reset.exp: New.
1489
7f0ae84c
GB
14902020-01-10 George Barrett <bob@bob131.so>
1491
1492 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
1493 to help in finding the image relocation offset.
1494 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
1495 options in arguments.
1496 (stap_test_no_debuginfo): Likewise.
1497 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
1498 test variants.
1499 (stap_test): Add null semaphore relocation test.
1500
47e9d49d
GB
15012020-01-10 George Barrett <bob@bob131.so>
1502
1503 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
1504 * gdb.base/stap-probe.exp: Likewise.
1505 (stap_test): Pass argument as an additional flag.
1506 (stap_test_no_debuginfo): Likewise.
1507 (stap_test): Check `info probes stap' output for semaphore
1508 addresses if the test binary is supposed to have them.
1509
f5a7c406
AB
15102020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1511
1512 * gdb.tui/basic.exp: Add more scrolling tests.
1513
9ae6bf64
TT
15142020-01-09 Tom Tromey <tom@tromey.com>
1515
1516 PR tui/18932:
1517 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
1518 meangingful value.
1519 (Term::command, Term::resize): Update.
1520 * gdb.tui/basic.exp: Add scrolling test.
1521
b2efe70c
AB
15222020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1523
1524 * gdb.tui/tui-layout-asm.exp: New file.
1525
3804da7e
AB
15262020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1527
1528 * lib/tuiterm.exp (Term::check_box_contents): New proc.
1529
b40aa28f
AB
15302020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1531
1532 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
1533 (Term::enter_tui): Use Term::prepare_for_tui.
1534
63ffd7c9
AB
15352020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1536
1537 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
1538 called.
1539
3be966f6
AB
15402020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1541
1542 * gdb.base/skip.exp: Fix race condition in test.
1543
153d79c4
AB
15442020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1545
1546 * gdb.base/backtrace.c: New file.
1547 * gdb.base/backtrace.exp: New file.
1548
f2302a34
AB
15492020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
1550
1551 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
1552
6ec1d75e
PW
15532020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1554
1555 * gdb.base/style.exp: Test that warnings are styled.
1556
c296cbe6
BE
15572019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
1558
1559 * gdb.base/line65535.exp: New file.
1560 * gdb.base/line65535.c: New file.
1561
b28a729d
SM
15622019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
1563
1564 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
1565 * lib/gnat_debug_info_test.adb: New file.
1566 * gdb.ada/ptype_tagged_param.exp: Use
1567 gnat_runtime_has_debug_info, expect a different output if
1568 runtime does not have debug info.
1569
7f2d7a0d
SM
15702019-12-20 Simon Marchi <simon.marchi@efficios.com>
1571
1572 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
1573 (another) quote in test name.
1574
f3bce483
SM
15752019-12-20 Simon Marchi <simon.marchi@efficios.com>
1576
1577 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
1578 Add quote in test name.
1579
c855a912
TBA
15802019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1581
1582 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
1583 directory instead.
1584 * gdb.cp/pass-by-ref.exp: Extend with more cases.
1585 * gdb.cp/pass-by-ref-2.cc: New file.
1586 * gdb.cp/pass-by-ref-2.exp: New file.
1587
fc9d2d72
TT
15882019-12-20 Tom Tromey <tom@tromey.com>
1589
1590 * gdb.tui/list-before.exp: New file.
1591
77b97e00
TT
15922019-12-20 Tom Tromey <tom@tromey.com>
1593
1594 * gdb.tui/list.exp: Check for source on initial listing.
1595
f69656d0
TT
15962019-12-11 Tom Tromey <tromey@adacore.com>
1597
1598 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
1599 Add crlf test.
1600
99a55965
SM
16012019-12-18 Simon Marchi <simon.marchi@efficios.com>
1602
1603 * gdb.base/default.exp: Update value of $_gdb_major.
1604
5024637f
BE
16052019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1606
1607 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
1608
b63634be
BE
16092019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1610
1611 * gdb.base/skip.exp: Whitespace fix.
1612
45d73523
BE
16132019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1614
1615 * gdb.base/skip-inline.c: New file.
1616 * gdb.base/skip-inline.exp: New file.
1617
d043f8c8
SM
16182019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
1619
1620 * gdb.base/jit-reader.exp (jit_reader_test): Rename
1621 jit_function_00 to jit_function_stack_mangle.
1622 * gdb.base/jithost.c (jit_function_t): Rename to...
1623 (jit_function_stack_mangle_t): ... this.
1624 (jit_function_add_t): New typedef.
1625 (jit_function_00_code): Rename to...
1626 (jit_function_stack_mangle_code): ... this, make static.
1627 (jit_function_add_code): New.
1628 (main): Generate "add" function and call it. Adjust to changes
1629 in jithost_abi.
1630 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
1631 (struct jithost_abi) <begin, end>: Remove fields.
1632 <object, function_stack_mangle, function_add>: New fields.
1633 * gdb.base/jitreader.c (struct reader_state) <code_begin,
1634 code_end>: Remove fields.
1635 <func_stack_mangle>: New field.
1636 (read_debug_info): Adjust to renaming, create block for "add"
1637 function.
1638 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
1639
873de05c
TT
16402019-12-11 Tom Tromey <tom@tromey.com>
1641
1642 * gdb.tui/resize.exp: Fix regexp.
1643 * gdb.tui/regs.exp: Fix regexps.
1644 * gdb.tui/main.exp: Fix regexp.
1645
3d979945
TT
16462019-12-11 Tom Tromey <tom@tromey.com>
1647
1648 * gdb.tui/resize.exp: Update.
1649 * gdb.tui/empty.exp (layouts): Update.
1650
2192a9d3
TT
16512019-12-11 Tom Tromey <tom@tromey.com>
1652
1653 * gdb.tui/regs.exp: Update.
1654 * gdb.tui/empty.exp (layouts): Update.
1655 * gdb.tui/basic.exp: Update.
1656 * lib/tuiterm.exp (_check_box): Don't check bottom border.
1657
d8edc8b7
PW
16582019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1659
1660 * gdb.base/options.exp: Add -raw-values in the print completion list.
1661 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
1662
4c12d936
KB
16632019-12-10 Kevin Buettner <kevinb@redhat.com>
1664
1665 * gdb.threads/omp-par-scope.c: New file.
1666 * gdb/threads/omp-par-scope.exp: New file.
1667
26b911fb
KB
16682019-12-10 Kevin Buettner <kevinb@redhat.com>
1669
bb47f919
KB
1670 * lib/gdb.exp (support_nested_function_tests): New proc.
1671
16722019-12-10 Kevin Buettner <kevinb@redhat.com>
1673
1674 * lib/gdb.exp (gdb_compile_openmp): New proc.
1675 (build_executable_from_specs): Add an "openmp" option.
1676 (gdb_compile_pthreads): Add non-executable case.
26b911fb 1677
6c71eb7d
TT
16782019-12-10 Tom Tromey <tromey@adacore.com>
1679
1680 * gdb.ada/unchecked_union.exp: New file.
1681 * gdb.ada/unchecked_union/pck.adb: New file.
1682 * gdb.ada/unchecked_union/pck.ads: New file.
1683 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1684 * gdb-utils.exp (string_to_regexp): Also quote "?".
1685
bac7c5cf
GB
16862019-12-10 George Barrett <bob@bob131.so>
1687
1688 Test scripted probe breakpoints.
1689 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1690 * gdb.python/py-breakpoint.c (main): Likewise.
1691 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1692 specifier test.
1693 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1694
330f1d38
TBA
16952019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1696
1697 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1698 an rvalue parameter.
1699 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1700 parameter.
1701
b43315e2
AB
17022019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1703
1704 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1705 modules.
1706
54f73dad
AB
17072019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1708
1709 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1710 broken version of GCC.
1711
d57cbee9
AB
17122019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1713
1714 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1715 sym-info-cmds library.
1716 * gdb.fortran/info-types.exp: Likewise.
1717 * lib/sym-info-cmds.exp: New file.
1718
c14aab8c
TV
17192019-12-08 Tom de Vries <tdevries@suse.de>
1720
1721 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1722
aa2d5a42
KS
17232019-12-07 Keith Seitz <keiths@redhat.com>
1724
1725 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1726 * gdb.base/corefile-buildid-shlib.c: New file.
1727 * gdb.base/corefile-buildid.c: New file.
1728 * gdb.base/corefile-buildid.exp: New file.
1729
93e55f0a
TV
17302019-12-06 Tom de Vries <tdevries@suse.de>
1731
1732 * gdb.dwarf2/varval.exp: Add decl before def test.
1733
c7d12402
TBA
17342019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1735
1736 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1737
06acc08f
TBA
17382019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1739
1740 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1741 CV and reference conversion for overload resolution.
1742 * gdb.cp/rvalue-ref-overload.exp: Test it.
1743
e0fad1ea
PW
17442019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1745
1746 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1747 * gdb.base/frameapply.exp: Test faas without command.
1748
8d70a9f0
AB
17492019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1750
1751 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1752 Fortran tests.
1753 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1754 order.
1755
36c8fb93
AB
17562019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1757
1758 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1759 casting to type with no kind specified.
1760 (test_basic_parsing_of_type_kinds): Additional tests for types
1761 with no kind specified, and add tests for single/double
1762 precision/complex types.
1763
4139ff00
TT
17642019-12-04 Tom Tromey <tromey@adacore.com>
1765
1766 * gdb.base/endianity.c (struct other) <x>: New field.
1767 (main): Initialize it.
1768 * gdb.base/endianity.exp: Update.
1769
a05cf17a
TT
17702019-12-04 Tom Tromey <tromey@adacore.com>
1771
1772 * gdb.ada/scalar_storage/storage.adb: New file.
1773 * gdb.ada/scalar_storage/pck.adb: New file.
1774 * gdb.ada/scalar_storage/pck.ads: New file.
1775 * gdb.ada/scalar_storage.exp: New file.
1776
103a685e
TT
17772019-12-04 Tom Tromey <tromey@adacore.com>
1778
1779 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1780 (main): Initialize it.
1781 * gdb.base/endianity.exp: Update.
1782
c2512106
AB
17832019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1784
1785 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1786
293b38d6
AB
17872019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1788
1789 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1790 -symbol-info-module-functions and -symbol-info-module-variables.
1791
216a7e6b
AB
17922019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1793
1794 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1795
5bbd8269
AB
17962019-12-01 Richard Bunt <richard.bunt@arm.com>
1797 Andrew Burgess <andrew.burgess@embecosm.com>
1798
1799 * gdb.fortran/derived-type-striding.exp: New file.
1800 * gdb.fortran/derived-type-striding.f90: New file.
1801 * gdb.fortran/array-slices.exp: New file.
1802 * gdb.fortran/array-slices.f90: New file.
1803
be09caf1
PW
18042019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1805
1806 * gdb.base/define.exp: Test . in command names.
1807 * gdb.base/setshow.exp: Update test, as . is now part of
1808 command name.
1809
643c0cbe
PW
18102019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1811
1812 * gdb.base/define-prefix.exp: New file.
1813
dcdec678
AB
18142019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1815
1816 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1817 compile.
1818 (skip_btrace_pt_tests): Likewise.
1819
640ab947
AB
18202019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1821
1822 * gdb.fortran/info-modules.exp: Compile source files in correct
1823 order.
1824
d22670f0
KB
18252019-11-27 Kevin Buettner <kevinb@redhat.com>
1826
1827 * gdb.dwarf2/imported-unit.exp: New file.
1828 * gdb.dwarf2/imported-unit.c: New file.
1829
db5960b4
AB
18302019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1831
1832 * gdb.mi/mi-fortran-modules-2.f90: New file.
1833 * gdb.mi/mi-fortran-modules.exp: New file.
1834 * gdb.mi/mi-fortran-modules.f90: New file.
1835
7dc42066
AB
18362019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1837
1838 * gdb.mi/mi-sym-info-1.c: New file.
1839 * gdb.mi/mi-sym-info-2.c: New file.
1840 * gdb.mi/mi-sym-info.exp: New file.
1841
0dfeecca
TT
18422019-11-22 Tom Tromey <tromey@adacore.com>
1843
1844 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1845 * gdb.ada/tasks/foo.adb: Add another stopping location.
1846
34877895
PJ
18472019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1848
1849 * gdb.base/endianity.c: New test.
1850 * gdb.base/endianity.exp: New file.
1851
2e84f897
LD
18522019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1853
1854 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1855
65d1cd5f
TV
18562019-11-21 Tom de Vries <tdevries@suse.de>
1857
1858 PR gdb/24956
1859 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1860
4f22c3f4
SDJ
18612019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1862
1863 * gdb.python/py-progspace.exp: Add missing parentheses on some
1864 'print' commands.
1865
9f6ad286
TT
18662019-11-19 Tom Tromey <tom@tromey.com>
1867
1868 * gdb.tui/winheight.exp: New file.
1869
0b8dbf3f
AB
18702019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1871
1872 * gdb.base/ctf-whatis.c: Delete.
1873 * gdb.base/ctf-whatis.exp: Delete.
1874 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1875
f833b7a7
AB
18762019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1877
1878 * gdb.base/ctf-cvexpr.exp: Delete.
1879 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1880
30d0a636
AB
18812019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1882
1883 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1884 the compiler. Clean up header comment a little.
1885 * gdb.base/ctf-ptype.exp: Likewise.
1886 * gdb.base/ctf-whatis.exp: Likewise.
1887 * lib/gdb.exp (skip_ctf_tests): New proc.
1888
494409bb
SDJ
18892019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1890
1891 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1892 * gdb.tui/corefile-run.exp: New file.
1893
55708e99
TT
18942019-11-14 Tom Tromey <tromey@adacore.com>
1895
1896 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1897 regression tests.
1898
45e42163
TT
18992019-11-12 Tom Tromey <tom@tromey.com>
1900
1901 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1902 after any command. Expect prompt after WAIT_FOR is seen.
1903 (enter_tui): Enable resize messages.
1904 (command): Expect command in output.
1905 (get_line): Avoid error when cursor appears to be off-screen.
1906 (dump_screen): Include screen size in title.
1907 (_do_resize): New proc, from "resize".
1908 (resize): Rewrite. Do resize in two steps.
1909 * gdb.tui/empty.exp (layouts): Fix entries.
1910 (check_boxes): Remove xfail.
1911 (check_text): Dump screen on failure.
1912
086baaf1
AB
19132019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1914
1915 * gdb.python/py-symbol.exp: Add test for
1916 gdb.lookup_static_symbols.
1917
09ff83af
AB
19182019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1919
1920 * gdb.python/py-symbol.c: Declare and call function from new
1921 py-symbol-2.c file.
1922 * gdb.python/py-symbol.exp: Compile both source files, and add new
1923 tests for gdb.lookup_static_symbol.
1924 * gdb.python/py-symbol-2.c: New file.
1925
11af934b
TV
19262019-11-02 Tom de Vries <tdevries@suse.de>
1927
1928 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1929 * gdb.base/anon.exp: Same.
1930 * gdb.base/auto-connect-native-target.exp: Same.
1931 * gdb.base/call-ar-st.exp: Same.
1932 * gdb.base/catch-syscall.exp: Same.
1933 * gdb.base/commands.exp: Same.
1934 * gdb.base/default.exp: Same.
1935 * gdb.base/display.exp: Same.
1936 * gdb.base/float.exp: Same.
1937 * gdb.base/foll-fork.exp: Same.
1938 * gdb.base/help.exp: Same.
1939 * gdb.base/info-macros.exp: Same.
1940 * gdb.base/info-proc.exp: Same.
1941 * gdb.base/info-target.exp: Same.
1942 * gdb.base/long_long.exp: Same.
1943 * gdb.base/macscp.exp: Same.
1944 * gdb.base/memattr.exp: Same.
1945 * gdb.base/nofield.exp: Same.
1946 * gdb.base/pointers.exp: Same.
1947 * gdb.base/printcmds.exp: Same.
1948 * gdb.base/ptype.exp: Same.
1949 * gdb.base/restore.exp: Same.
1950 * gdb.base/return.exp: Same.
1951 * gdb.base/scope.exp: Same.
1952 * gdb.base/set-noassign.exp: Same.
1953 * gdb.base/setshow.exp: Same.
1954 * gdb.base/shlib-call.exp: Same.
1955 * gdb.base/signals.exp: Same.
1956 * gdb.base/sigstep.exp: Same.
1957 * gdb.base/skip.exp: Same.
1958 * gdb.base/solib-symbol.exp: Same.
1959 * gdb.base/stap-probe.exp: Same.
1960 * gdb.base/step-line.exp: Same.
1961 * gdb.base/step-test.exp: Same.
1962 * gdb.base/style.exp: Same.
1963 * gdb.base/varargs.exp: Same.
1964 * gdb.base/vla-datatypes.exp: Same.
1965 * gdb.base/vla-ptr.exp: Same.
1966 * gdb.base/vla-sideeffect.exp: Same.
1967 * gdb.base/volatile.exp: Same.
1968 * gdb.base/watch-cond-infcall.exp: Same.
1969 * gdb.base/watchpoint.exp: Same.
1970
e96ec2ba
TV
19712019-11-02 Tom de Vries <tdevries@suse.de>
1972
1973 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1974 * gdb.cp/cpexprs.exp: Same.
1975 * gdb.cp/except-multi-location.exp: Same.
1976 * gdb.cp/exceptprint.exp: Same.
1977 * gdb.cp/gdb2384.exp: Same.
1978 * gdb.cp/inherit.exp: Same.
1979 * gdb.cp/m-static.exp: Same.
1980 * gdb.cp/meth-typedefs.exp: Same.
1981 * gdb.cp/misc.exp: Same.
1982 * gdb.cp/namespace.exp: Same.
1983 * gdb.cp/non-trivial-retval.exp: Same.
1984 * gdb.cp/overload.exp: Same.
1985 * gdb.cp/pr17132.exp: Same.
1986 * gdb.cp/re-set-overloaded.exp: Same.
1987 * gdb.cp/rvalue-ref-types.exp: Same.
1988 * gdb.cp/templates.exp: Same.
1989
bd5766ec
LM
19902019-11-01 Luis Machado <luis.machado@linaro.org>
1991
1992 PR gdb/25124
1993
1994 * gdb.arch/pr25124.S: New file.
1995 * gdb.arch/pr25124.exp: New file.
1996
165f8965
AB
19972019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1998
1999 * gdb.fortran/info-modules.exp: Update expected results, and add
2000 additional tests for 'info module functinos', and 'info module
2001 variables'.
2002 * gdb.fortran/info-types.exp: Update expected results.
2003 * gdb.fortran/info-types.f90: Extend testcase with additional
2004 module variables and functions.
2005
59c35742
AB
20062019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2007
2008 * gdb.fortran/info-modules.exp: New file.
2009 * gdb.fortran/info-types.exp: Build with new file.
2010 * gdb.fortran/info-types.f90: Include and use new module.
2011 * gdb.fortran/info-types-2.f90: New file.
2012
f3fb2519
PW
20132019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2014
2015 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
2016 * gdb.base/settings.exp: Test all settings types using
2017 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
2018 that now verifies that the value of "maint show" is the same as
2019 returned by the settings functions. Test the type of the
2020 maintenance settings.
2021 * gdb.base/default.exp: Update show_conv_list.
2022
d1e36019
TV
20232019-10-31 Tom de Vries <tdevries@suse.de>
2024
2025 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
2026 gdb_test.
2027 * gdb.arch/amd64-disp-step.exp: Same.
2028 * gdb.asm/asm-source.exp: Same.
2029 * gdb.btrace/buffer-size.exp: Same.
2030 * gdb.btrace/cpu.exp: Same.
2031 * gdb.btrace/enable.exp: Same.
2032 * gdb.dwarf2/count.exp: Same.
2033 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2034 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
2035 * gdb.fortran/vla-datatypes.exp: Same.
2036 * gdb.fortran/vla-history.exp: Same.
2037 * gdb.fortran/vla-ptype.exp: Same.
2038 * gdb.fortran/vla-value.exp: Same.
2039 * gdb.fortran/whatis_type.exp: Same.
2040 * gdb.guile/guile.exp: Same.
2041 * gdb.multi/tids.exp: Same.
2042 * gdb.python/py-finish-breakpoint.exp: Same.
2043 * gdb.python/py-framefilter.exp: Same.
2044 * gdb.python/py-pp-registration.exp: Same.
2045 * gdb.python/py-xmethods.exp: Same.
2046 * gdb.python/python.exp: Same.
2047 * gdb.server/connect-with-no-symbol-file.exp: Same.
2048 * gdb.server/no-thread-db.exp: Same.
2049 * gdb.server/run-without-local-binary.exp: Same.
2050 * gdb.stabs/weird.exp: Same.
2051 * gdb.threads/attach-many-short-lived-threads.exp: Same.
2052 * gdb.threads/thread-find.exp: Same.
2053 * gdb.threads/tls-shared.exp: Same.
2054 * gdb.threads/tls.exp: Same.
2055 * gdb.threads/wp-replication.exp: Same.
2056 * gdb.trace/ax.exp: Same.
2057 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
2058
3d11e68e
TV
20592019-10-31 Tom de Vries <tdevries@suse.de>
2060
2061 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
2062 * gdb.ada/array_subscript_addr.exp: Same.
2063 * gdb.ada/arrayidx.exp: Same.
2064 * gdb.ada/arrayparam.exp: Same.
2065 * gdb.ada/arrayptr.exp: Same.
2066 * gdb.ada/boolean_expr.exp: Same.
2067 * gdb.ada/call_pn.exp: Same.
2068 * gdb.ada/complete.exp: Same.
2069 * gdb.ada/fixed_cmp.exp: Same.
2070 * gdb.ada/fun_addr.exp: Same.
2071 * gdb.ada/funcall_param.exp: Same.
2072 * gdb.ada/interface.exp: Same.
2073 * gdb.ada/mod_from_name.exp: Same.
2074 * gdb.ada/null_array.exp: Same.
2075 * gdb.ada/packed_array.exp: Same.
2076 * gdb.ada/packed_tagged.exp: Same.
2077 * gdb.ada/print_chars.exp: Same.
2078 * gdb.ada/print_pc.exp: Same.
2079 * gdb.ada/ptype_arith_binop.exp: Same.
2080 * gdb.ada/ptype_field.exp: Same.
2081 * gdb.ada/ptype_tagged_param.exp: Same.
2082 * gdb.ada/rec_return.exp: Same.
2083 * gdb.ada/ref_tick_size.exp: Same.
2084 * gdb.ada/str_ref_cmp.exp: Same.
2085 * gdb.ada/taft_type.exp: Same.
2086 * gdb.ada/tagged.exp: Same.
2087 * gdb.ada/type_coercion.exp: Same.
2088 * gdb.ada/uninitialized_vars.exp: Same.
2089
60b6ede8
TV
20902019-10-30 Tom de Vries <tdevries@suse.de>
2091
2092 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
2093
30baf67b
TV
20942019-10-26 Tom de Vries <tdevries@suse.de>
2095
2096 * gdb.base/bigcore.c: Fix typos in comments.
2097 * gdb.base/ctf-ptype.c: Same.
2098 * gdb.base/long_long.c: Same.
2099 * gdb.dwarf2/dw2-op-out-param.S: Same.
2100 * gdb.python/py-evthreads.c: Same.
2101 * gdb.reverse/i387-stack-reverse.c: Same.
2102 * gdb.trace/tfile.c: Same.
2103 * lib/compiler.c: Same.
2104 * lib/compiler.cc: Same.
2105
158da0d1
TV
21062019-10-25 Tom de Vries <tdevries@suse.de>
2107
2108 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
2109 gdb_test_multiple calls.
2110 * gdb.reverse/sigall-reverse.exp: Same.
2111 * gdb.reverse/solib-precsave.exp: Same.
2112 * gdb.reverse/solib-reverse.exp: Same.
2113 * gdb.reverse/until-precsave.exp: Same.
2114 * gdb.reverse/until-reverse.exp: Same.
2115
4ccdfbec
TV
21162019-10-24 Tom de Vries <tdevries@suse.de>
2117
2118 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
2119 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
2120 kfail using -wrap pattern flag and convenience variable
2121 gdb_test_name.
2122
33d569b7
AB
21232019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
2124
2125 * gdb.python/py-progspace.exp: Add tests for the
2126 Progspace.block_for_pc method.
2127
4d0b984b
TT
21282019-10-23 Tom Tromey <tom@tromey.com>
2129
2130 * configure: Rebuild.
2131 * aclocal.m4: Use m4_include, not sinclude.
2132
94cb3754
TV
21332019-10-21 Tom de Vries <tdevries@suse.de>
2134
2135 * gdb.base/infcall-nested-structs.c: Add
2136 __attribute__((noinline,noclone)) to all functions.
2137 (call_all): Add missing variable initialization. Simplify return value.
2138 (breakpt): Increment volatile variable, to prevent call from being
2139 optimized out.
2140 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
2141
062f1fc1
TV
21422019-10-17 Tom de Vries <tdevries@suse.de>
2143
2144 * gdb.fortran/module.exp: Allow info variables to print info for files
2145 other than module.f90.
2146
0b54364d
AB
21472019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2148
2149 * gdb.fortran/module.exp: Extend with 'info variables' test.
2150
7ff5fae7
AB
21512019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2152
2153 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
2154 F77_FOR_TARGET.
2155
d10eccaa
TV
21562019-10-16 Tom de Vries <tdevries@suse.de>
2157
2158 PR tdep/25096
2159 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
2160
745ff14e
TV
21612019-10-16 Tom de Vries <tdevries@suse.de>
2162
2163 PR tdep/24104
2164 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
2165 Add KFAIL for PR tdep/25096.
2166
03e1ab94
TV
21672019-10-16 Tom de Vries <tdevries@suse.de>
2168
2169 PR testsuite/25059
2170 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
2171
b17fcc10
TV
21722019-10-16 Tom de Vries <tdevries@suse.de>
2173
2174 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
2175 as signed.
2176
9223170f
SM
21772019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
2178
2179 * gdb.mi/list-thread-groups-available.exp: Read entries one by
2180 one instead of increasing timeout.
2181
d6e76313
TV
21822019-10-13 Tom de Vries <tdevries@suse.de>
2183
2184 PR record/25038
2185 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
2186 * gdb.reverse/sigall-reverse.exp: Same.
2187 * gdb.reverse/solib-precsave.exp: Same.
2188 * gdb.reverse/solib-reverse.exp: Same.
2189 * gdb.reverse/step-precsave.exp: Same.
2190 * gdb.reverse/until-precsave.exp: Same.
2191 * gdb.reverse/until-reverse.exp: Same.
2192 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
2193
6dfc0041
AA
21942019-10-10 Andreas Arnez <arnez@linux.ibm.com>
2195
2196 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
2197 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
2198 (cmp_struct_05_01, cmp_struct_static_02_01)
2199 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
2200 comparisons.
2201
abcf2cc8
TV
22022019-10-10 Tom de Vries <tdevries@suse.de>
2203
2204 PR testsuite/24888
2205 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
2206 gnatlink.
2207
a50faaf6
TV
22082019-10-09 Tom de Vries <tdevries@suse.de>
2209
2210 PR testsuite/25048
2211 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
2212
60ff3cd7
AB
22132019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2214
2215 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
2216 exceptions due to missing debug information.
2217
dfee8566
TV
22182019-10-07 Tom de Vries <tdevries@suse.de>
2219
2220 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
2221
3d63690a
AB
22222019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2223
2224 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
2225 * gdb.base/annota1.exp: Update to use gdb_test_name.
2226
30d1f018
WP
22272019-10-07 Weimin Pan <weimin.pan@oracle.com>
2228
2229 * gdb.base/ctf-whatis.exp: New file.
2230 * gdb.base/ctf-whatis.c: New file.
2231 * gdb.base/ctf-ptype.exp: New file.
2232 * gdb.base/ctf-ptype.c: New file.
2233 * gdb.base/ctf-constvars.exp: New file.
2234 * gdb.base/ctf-constvars.c: New file.
2235 * gdb.base/ctf-cvexpr.exp: New file.
2236
4dbbb47c
TV
22372019-10-04 Tom de Vries <tdevries@suse.de>
2238
2239 * gdb.cp/local-static.c (main): Move declaration of int i out of the
2240 for loop.
2241
77c2dba3
TT
22422019-10-03 Tom Tromey <tom@tromey.com>
2243
2244 PR rust/24976:
2245 * gdb.rust/simple.rs (Union2): New type.
2246 (main): Use Union2.
2247 * gdb.rust/simple.exp: Add test.
2248
179aed7f
AB
22492019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2250
2251 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
2252 nested function prefix.
2253
0a4b0913
AB
22542019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
2255 Richard Bunt <richard.bunt@arm.com>
2256 Andrew Burgess <andrew.burgess@embecosm.com>
2257
2258 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
2259 nested functions.
2260 * gdb.fortran/nested-funcs.f90: Update expected results.
2261 * gdb.fortran/nested-funcs-2.exp: New file.
2262 * gdb.fortran/nested-funcs-2.f90: New file.
2263
082cce05
AB
22642019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2265
2266 * gdb.python/py-parameter.exp: Make test names unique.
2267 * gdb.python/py-template.exp: Likewise.
2268 * gdb.python/py-value.exp: Likewise.
2269
2b74ba5a
AB
22702019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2271
2272 * gdb.base/break-interp.exp: Reduce test name duplication.
2273 * gdb.base/call-sc.exp: Likewise.
2274 * gdb.base/callfuncs.exp: Likewise.
2275 * gdb.base/charset.exp: Likewise.
2276 * gdb.base/dump.exp: Likewise.
2277 * gdb.base/ena-dis-br.exp: Likewise.
2278 * gdb.base/relational.exp: Likewise.
2279 * gdb.base/step-over-syscall.exp: Likewise.
2280 * gdb.base/structs.exp: Likewise.
2281
58eb20d5
AB
22822019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2283
2284 * gdb.linespec/explicit.exp: Make test names unique.
2285 * gdb.linespec/ls-errs.exp: Likewise.
2286
4d421147
AB
22872019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2288
2289 * gdb.reverse/break-precsave.exp: Make test names unique.
2290 * gdb.reverse/break-reverse.exp: Likewise.
2291 * gdb.reverse/finish-precsave.exp: Likewise.
2292 * gdb.reverse/finish-reverse.exp: Likewise.
2293 * gdb.reverse/machinestate-precsave.exp: Likewise.
2294 * gdb.reverse/machinestate.exp: Likewise.
2295 * gdb.reverse/readv-reverse.exp: Likewise.
2296 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2297 * gdb.reverse/sigall-precsave.exp: Likewise.
2298 * gdb.reverse/sigall-reverse.exp: Likewise.
2299 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
2300 * gdb.reverse/watch-precsave.exp: Likewise.
2301 * gdb.reverse/watch-reverse.exp: Likewise.
2302
d8c06f22
AB
23032019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2304
2305 * gdb.threads/stop-with-handle.c: New file.
2306 * gdb.threads/stop-with-handle.exp: New file.
2307
3a56ed86
TV
23082019-10-03 Tom de Vries <tdevries@suse.de>
2309
2310 PR testsuite/25059
2311 * gdb.base/list-missing-source.exp: Allowing the "Compilation
2312 directory" line to be missing.
2313
42275044
TV
23142019-10-03 Tom de Vries <tdevries@suse.de>
2315
2316 PR testsuite/25059
2317 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
2318 type optional.
2319
9ef62df0
AA
23202019-10-02 Andreas Arnez <arnez@linux.ibm.com>
2321
2322 * gdb.python/py-format-string.c (string.h): New include.
2323 (main): Fill a_struct_with_union.the_union.an_int with bytes of
2324 the same value, for endianness-independence.
2325 * gdb.python/py-format-string.exp (default_regexp_dict)
2326 (test_pretty_structs, test_format): Adjust expected output to the
2327 changed initialization.
2328
37f6a7f4
TT
23292019-10-02 Tom Tromey <tromey@adacore.com>
2330
2331 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
2332
1d58d6a2
PA
23332019-10-02 Pedro Alves <palves@redhat.com>
2334 Andrew Burgess <andrew.burgess@embecosm.com>
2335
2336 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
2337 "print-file-var.h".
2338 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2339 (get_version_1): Print this_version_id and its address.
2340 Add extern "C" wrappers around interface functions.
2341 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
2342 "print-file-var.h".
2343 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2344 (get_version_2): Print this_version_id and its address.
2345 Add extern "C" wrappers around interface functions.
2346 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
2347 <stddef.h> and "print-file-var.h".
2348 Add extern "C" wrappers around interface functions.
2349 [VERSION_ID_MAIN] (this_version_id): Define.
2350 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
2351 * gdb.base/print-file-var.h: Add some #defines to simplify setting
2352 up extern "C" blocks.
2353 * gdb.base/print-file-var.exp (test): New, factored out from top
2354 level.
2355 (top level): Test all combinations of attribute hidden or not,
2356 dlopen or not, and this_version_id symbol in main file or not.
2357 Compile tests as both C++ and C, make test names unique.
2358
d770d56f
TT
23592019-10-01 Tom Tromey <tom@tromey.com>
2360
2361 * gdb.base/style.exp: Test "show logging filename".
2362
7f6aba03
TT
23632019-10-01 Tom Tromey <tom@tromey.com>
2364
2365 * lib/gdb-utils.exp (style): Handle "metadata" argument.
2366 * gdb.base/style.exp: Add metadata style test.
2367
14309bb6
TT
23682019-10-01 Tom Tromey <tom@tromey.com>
2369
2370 * gdb.base/style.exp: Test "pwd".
2371
2a3c1174
PA
23722019-10-01 Tom Tromey <tom@tromey.com>
2373
2374 * gdb.base/style.exp: Update tests.
2375
53d666ec
AA
23762019-10-01 Andreas Arnez <arnez@linux.ibm.com>
2377
2378 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
2379 'six' to unsigned.
2380 (s1): Initialize fields 'four' and 'six' instead of 'three' and
2381 'five'. Use an all-ones bit pattern for each.
2382 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
2383 to its changed values.
2384
4a56a520
TT
23852019-09-30 Tom Tromey <tromey@adacore.com>
2386
2387 * gdb.rust/traits.rs: Disable all warnings.
2388
0df0352a
TV
23892019-09-29 Tom de Vries <tdevries@suse.de>
2390
aac66a4c 2391 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 2392
73d9a918
TV
23932019-09-29 Tom de Vries <tdevries@suse.de>
2394
2395 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
2396
060b3ab4
TV
23972019-09-27 Tom de Vries <tdevries@suse.de>
2398
2399 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
2400
68f7d34d
TV
24012019-09-27 Tom de Vries <tdevries@suse.de>
2402
2403 PR record/23188
2404 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
2405
5d63b30a
TT
24062019-09-26 Tom Tromey <tromey@adacore.com>
2407
2408 * gdb.ada/py_taft.exp: New file.
2409 * gdb.ada/py_taft/main.adb: New file.
2410 * gdb.ada/py_taft/pkg.adb: New file.
2411 * gdb.ada/py_taft/pkg.ads: New file.
2412
3d435220
TV
24132019-09-24 Tom de Vries <tdevries@suse.de>
2414
2415 PR gdb/24598
2416 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
2417
77d03678
TV
24182019-09-22 Tom de Vries <tdevries@suse.de>
2419
2420 * gdb.base/restore.exp: Allow register variables to be optimized out at
2421 -O0.
2422
abf516c6
UW
24232019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
2424
2425 * gdb.arch/spu-info.exp: Remove file.
2426 * gdb.arch/spu-info.c: Remove file.
2427 * gdb.arch/spu-ls.exp: Remove file.
2428 * gdb.arch/spu-ls.c: Remove file.
2429
2430 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
2431 * gdb.asm/spu.inc: Remove file.
2432
2433 * gdb.base/dump.exp: Remove support for spu*-*-*.
2434 * gdb.base/stack-checking.exp: Likewise.
2435 * gdb.base/overlays.exp: Likewise.
2436 * gdb.base/ovlymgr.c: Likewise.
2437 * gdb.base/spu.ld: Remove file.
2438
2439 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
2440 * gdb.cp/cpexprs.exp: Likewise.
2441 * gdb.cp/exception.exp: Likewise.
2442 * gdb.cp/gdb2495.exp: Likewise.
2443 * gdb.cp/mb-templates.exp: Likewise.
2444 * gdb.cp/pr9167.exp: Likewise.
2445 * gdb.cp/userdef.exp: Likewise.
2446
2447 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
2448
2449 * gdb.cell: Remove directory.
2450 * lib/cell.exp: Remove file.
2451
e452e88f
TV
24522019-09-19 Tom de Vries <tdevries@suse.de>
2453
2454 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
2455
8a625130
TV
24562019-09-19 Tom de Vries <tdevries@suse.de>
2457
2458 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
2459
81dc3ab5
TV
24602019-09-19 Tom de Vries <tdevries@suse.de>
2461
2462 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
2463 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
2464 (gdb_target_cmd): ... here.
2465 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
2466 value 2.
2467
b078f3ac
AB
24682019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2469
2470 * gdb.base/source-dir.exp: Avoid having directory names in test
2471 names.
2472
f1b620e9
MG
24732019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2474
2475 * gdb.base/source-dir.exp: Add extra test for mapped compilation
2476 directory.
2477
67f3ed6a
AB
24782019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2479
2480 * gdb.base/list-missing-source.exp: New file.
2481
d1b70248
TV
24822019-09-14 Tom de Vries <tdevries@suse.de>
2483
2484 PR teststuite/24599
2485 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
2486 * lib/ada.exp (gnatmake_version_at_least): New proc.
2487
5fabdcd6
AB
24882019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2489
2490 * gdb.base/maint.exp: Use exec_has_index_section.
2491
aa17805f
AB
24922019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2493
2494 * gdb.base/maint.exp: Add test for 'maint info sections'.
2495
25e5c209
TV
24962019-09-12 Tom de Vries <tdevries@suse.de>
2497
2498 * gdb.base/store.exp: Allow register variables to be optimized out at
2499 -O0.
2500
4993045d
PW
25012019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2502
2503 * gdb.ada/rdv_wait.exp: Update to new task names.
2504 * gdb.base/task_switch_in_core.exp: Likewise.
2505 * gdb.base/info_sources_base.c: Likewise.
2506
8a516164
TT
25072019-09-10 Tom Tromey <tromey@adacore.com>
2508
2509 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
2510
aa391654
TT
25112019-09-10 Tom Tromey <tromey@adacore.com>
2512
2513 * gdb.ada/dgopt.exp: New file.
2514 * gdb.ada/dgopt/x.adb: New file.
2515
8634b462
TT
25162019-09-08 Tom Tromey <tom@tromey.com>
2517
2518 * gdb.tui/resize.exp: Remove setup_xfail.
2519 * gdb.tui/regs.exp: Remove setup_xfail.
2520 * gdb.tui/basic.exp: Remove setup_xfail.
2521
736b0f76
DB
25222019-09-06 David Blaikie <dblaikie@gmail.com>
2523
2524 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
2525 * gdb.cp/cplabel.exp: Ditto.
2526 * gdb.linespec/ls-errs.exp: Ditto.
2527
30331a6c
TV
25282019-09-05 Tom de Vries <tdevries@suse.de>
2529
2530 * lib/gdb.exp (cmp_file_string): New proc.
2531 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
2532 runto_main. Verify save breakpoints output.
2533
98b0ebab
PW
25342019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2535
2536 * gdb.base/info-var.exp: Test info variables without running
2537 to main, to avoid expect's buffer overflow.
2538
4e962e74
TT
25392019-09-03 Tom Tromey <tromey@adacore.com>
2540
2541 * gdb.ada/bias.exp: New file.
2542 * gdb.ada/bias/bias.adb: New file.
2543 * gdb.ada/print_chars.exp: Add regression test.
2544 * gdb.ada/print_chars/foo.adb (My_Character): New type.
2545 (MC): New variable.
2546
2ea1a07a
SL
25472019-08-29 Sandra Loosemore <sandra@codesourcery.com>
2548
2549 * gdb.base/argv0-symlink.exp: Run only on native target
2550 and local host.
2551
8077c50d
TV
25522019-08-29 Tom de Vries <tdevries@suse.de>
2553
2554 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
2555 diverse debug info.
2556 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
2557
48352473
TV
25582019-08-28 Tom de Vries <tdevries@suse.de>
2559
2560 * gdb.base/info-var.exp: Allow info variables to print info for files
2561 other than info-var-f1.c and info-var-f2.c.
2562
d8f27c60
AB
25632019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2564
2565 * gdb.fortran/info-types.exp: Add module.
2566 * gdb.fortran/info-types.f90: Update expected results.
2567
1f20c35e
AB
25682019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2569
2570 * gdb.fortran/info-types.exp: New file.
2571 * gdb.fortran/info-types.f90: New file.
2572 * lib/fortran.exp (fortran_character1): New proc.
2573
4acfdd20
AB
25742019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2575
2576 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
2577 functions'. Reindent as needed.
2578 * gdb.base/info-var-f1.c: New file.
2579 * gdb.base/info-var-f2.c: New file.
2580 * gdb.base/info-var.exp: New file.
2581 * gdb.base/info-var.h: New file.
2582
5c31b358
TV
25832019-08-26 Tom de Vries <tdevries@suse.de>
2584
2585 PR c++/24852
2586 * gdb.cp/no-libstdcxx-probe.exp: New test.
2587
b694989f
TV
25882019-08-26 Tom de Vries <tdevries@suse.de>
2589
2590 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
2591 * tests need to be skipped.
2592 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
2593 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
2594 mi_skip_libstdcxx_probe_tests.
2595
d9c4ba53
SDJ
25962019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
2597
2598 * gdb.python/py-xmethods.exp: Use raw strings when passing
2599 arguments to SimpleXMethodMatcher.
2600
395fad09
TV
26012019-08-22 Tom de Vries <tdevries@suse.de>
2602
2603 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
2604 more informative.
2605
26c957f1
PA
26062019-08-21 Pedro Alves <palves@redhat.com>
2607
2608 * gdb.base/with.exp: Test "with" with no arguments.
2609
61f80d5d
TV
26102019-08-21 Tom de Vries <tdevries@suse.de>
2611
2612 * gdb.base/gdb-caching-proc.exp: Sort files.
2613
d7a11d13
TV
26142019-08-20 Tom de Vries <tdevries@suse.de>
2615
2616 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
2617 compilation.
2618
34dafe9f
TV
26192019-08-16 Tom de Vries <tdevries@suse.de>
2620
2621 * gdb.base/compare-sections.exp ("after run to main"): Allow
2622 mismatched read-only sections for PIE executables.
2623
398fdd60
TT
26242019-08-16 Tom Tromey <tom@tromey.com>
2625
2626 * lib/tuiterm.exp (_csi_Z): New proc.
2627 * gdb.tui/basic.exp: Update window positions.
2628 * gdb.tui/empty.exp: Update window positions.
2629
d8f9e51c
SL
26302019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2631
2632 * gdb.base/examine-backward.exp: Correct regexp for
2633 "examine 3 bytes backward from ${address_zero}".
2634
3df505f6
TT
26352019-08-15 Tom Tromey <tom@tromey.com>
2636
2637 * gdb.tui/empty.exp: Enable resizing tests.
2638
272560b5
TT
26392019-08-15 Tom Tromey <tromey@adacore.com>
2640
2641 * gdb.ada/char_enum.exp: Add regression tests.
2642 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
2643 and '0'.
2644 (Char, Gchar): Update.
2645 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
2646
08235187
CB
26472019-08-15 Christian Biesinger <cbiesinger@google.com>
2648
2649 * gdb.python/python.exp: Expect a leading underscore on
2650 GdbOutput{,Error}File.
2651
22a2ab04
SL
26522019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2653
2654 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
2655 Windows host.
2656
835b995b
SL
26572019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2658
2659 * gdb.base/batch-preserve-term-settings.exp
2660 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
2661
97dd8e07
CB
26622019-08-15 Christian Biesinger <cbiesinger@google.com>
2663
2664 * lib/gdb.exp: When running on a mingw target, replace
2665 /x/ with x:/.
2666
75faf5c4
AH
26672019-08-14 Alan Hayward <alan.hayward@arm.com>
2668
2669 * gdb.arch/aarch64-prologue.c: New test.
2670 * gdb.arch/aarch64-prologue.exp: New file.
2671
abc6c00f
TV
26722019-08-13 Tom de Vries <tdevries@suse.de>
2673
2674 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2675 Thread.
2676
74c2c1f4
SL
26772019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2678
2679 * gdb.python/py-completion.exp: Download the .py file to the host
2680 and use its host pathname. Conditionalize tests that use
2681 tab completion and manipulate files on the build machine.
2682 * gdb.python/py-events.exp: Download the .py file to the host
2683 and use its host pathname.
2684 * gdb.python/py-evsignal.exp: Likewise.
2685 * gdb.python/py-evthreads.exp: Likewise.
2686 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2687 pathname syntax.
2688 * gdb.python/py-framefilter.exp: Download the .py file to the right
2689 place on the host. Match Windows pathname syntax.
2690 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2691 .py file to the host and use its host pathname.
2692 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2693 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2694 build pathname. Skip symlink test on Windows host. Add missing
2695 newline at end of file.
2696 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2697 and use its host pathname.
2698 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2699 * gdb.python/py-section-script.exp: Use host location of binfile
2700 on safe-path. Use correct path separator on Windows host.
2701 Reorder alternatives in gdb_test_multiple to prevent matching
2702 the wrong alternative on success.
2703 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2704
ca2589f3
PP
27052019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2706
2707 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2708 expect the GDB inferior to no longer immediately stop after
2709 being resumed with "signal SIGINT".
2710
020a839d
SL
27112019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2712
2713 * gdb.linespec/break-ask.exp: Generalize regexps to match
2714 Windows pathnames too.
2715
128d6509
TV
27162019-08-08 Tom de Vries <tdevries@suse.de>
2717
2718 PR testsuite/24862
2719 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2720
590042fc
PW
27212019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2722
2723 * gdb.base/style.exp: Update tests for help doc new invariants.
2724 * gdb.base/help.exp: Likewise.
2725
046bebe1
TT
27262019-08-06 Tom Tromey <tom@tromey.com>
2727
2728 * gdb.base/style.exp: Add disassemble test.
2729 * gdb.base/style.c (some_called_function): New function.
2730 (main): Use it.
2731
0b27c27d
CB
27322019-08-05 Christian Biesinger <cbiesinger@google.com>
2733
2734 * gdb.python/py-block.exp: Test dictionary access on blocks.
2735
580f1034
SM
27362019-08-05 Simon Marchi <simon.marchi@efficios.com>
2737
2738 PR gdb/24863
2739 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2740 -list-thread-groups --available test when running under
2741 check-read1.
2742
d86bd7cb
TV
27432019-08-05 Tom de Vries <tdevries@suse.de>
2744
2745 PR testsuite/24863
2746 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2747 * gdb.base/help.exp: Use with_read1_timeout_factor.
2748 * gdb.base/info-macros.exp: Same.
2749 * gdb.cp/nested-types.exp: Same.
2750
a80cf5d8
TV
27512019-08-05 Tom de Vries <tdevries@suse.de>
2752
2753 * lib/gdb.exp (version_at_least): Factor out of ...
2754 (tcl_version_at_least): ... here.
2755 (gdb_compile): Fail if pie results in non-PIE executable.
2756 (readelf_version, readelf_prints_pie): New proc.
2757 (exec_is_pie): Return -1 if unknown.
2758
d0962838
TV
27592019-08-05 Tom de Vries <tdevries@suse.de>
2760
2761 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2762
2252ff3d
SL
27632019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2764
2765 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2766
26655f53
SL
27672019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2768
2769 * lib/completion-support.exp (test_gdb_complete_none): Skip
2770 tab completion tests if no readline support.
2771 (test_gdb_complete_unique_re): Likewise.
2772 (test_gdb_complete_multiple): Likewise.
2773
db4dc13e
PW
27742019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2775
2776 * gdb.base/info_sources.exp: New file.
2777 * gdb.base/info_sources.c: New file.
2778 * gdb.base/info_sources_base.c: New file.
2779
0eba165a
PFC
27802019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2781
2782 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2783 prefix argument.
2784 (test_exit_status): Add prefix argument.
2785
59bd512b
TV
27862019-08-01 Tom de Vries <tdevries@suse.de>
2787
2788 PR testsuite/24863
2789 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2790 calling exp_continue for new thread and thread exited messages.
2791
2a3ad588
TV
27922019-08-01 Tom de Vries <tdevries@suse.de>
2793
2794 PR testsuite/24863
2795 * gdb.base/structs.exp: Fix check-read1 timeout using
2796 gdb_test_sequence.
2797 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2798
117eb594
TV
27992019-08-01 Tom de Vries <tdevries@suse.de>
2800
2801 PR testsuite/24863
2802 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2803 line.
2804
ed591340
TV
28052019-08-01 Tom de Vries <tdevries@suse.de>
2806
2807 PR testsuite/24863
2808 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2809
aa3b6533
TT
28102019-07-30 Tom Tromey <tromey@adacore.com>
2811
2812 * gdb.ada/display_nested.exp: New file.
2813 * gdb.ada/display_nested/foo.adb: New file.
2814 * gdb.ada/display_nested/pack.adb: New file.
2815 * gdb.ada/display_nested/pack.ads: New file.
2816
2906593f
CB
28172019-07-30 Christian Biesinger <cbiesinger@google.com>
2818
2819 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2820 namespace.
2821 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2822
0f575925
TV
28232019-07-30 Tom de Vries <tdevries@suse.de>
2824
2825 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2826 instead.
2827
b13057d9
TV
28282019-07-30 Tom de Vries <tdevries@suse.de>
2829
2830 PR testsuite/24834
2831 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2832 (exec_is_pie): New proc.
2833
5c4dde85
CB
28342019-07-29 Christian Biesinger <cbiesinger@google.com>
2835
2836 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2837
c620ed88
CB
28382019-07-29 Christian Biesinger <cbiesinger@google.com>
2839
2840 * gdb.python/py-objfile.c: Add global and static vars.
2841 * gdb.python/py-objfile.exp: Test new functions Objfile.
2842 lookup_global_symbol and lookup_static_symbol.
2843
3d235706
TT
28442019-07-29 Tom Tromey <tom@tromey.com>
2845
2846 * lib/tuiterm.exp (Term::_csi_@): New proc.
2847 (Term::_csi_X): Don't move cursor.
2848
c7e4c0a6
PW
28492019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2850
2851 * gdb.base/options.exp: Update backtrace - completion to
2852 new option -frame-info.
2853 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2854 Test new 'set print frame-info'. Test backtrace -frame-info
2855 overriding 'set print frame-info'.
2856 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2857 Test new 'set print frame-info'.
2858 Verify consistency of backtrace with and without filters, with and
2859 without -no-filters.
2860 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2861 default.
2862
de28a3b7
TV
28632019-07-29 Tom de Vries <tdevries@suse.de>
2864
2865 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2866 no arguments".
2867
507dd60e
TV
28682019-07-29 Tom de Vries <tdevries@suse.de>
2869
2870 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2871 is a substring of the first for "complete non-unique file name".
2872
5beafce9
TV
28732019-07-29 Tom de Vries <tdevries@suse.de>
2874
2875 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2876 with ".*".
2877
2d274232
TV
28782019-07-29 Tom de Vries <tdevries@suse.de>
2879
2880 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2881 Pass prompt_regexp parameter to gdb_test_multiple calls.
2882
9197cd8b
TV
28832019-07-29 Tom de Vries <tdevries@suse.de>
2884
2885 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 2886 print registers" regexps.
9197cd8b 2887
b528dae0
TV
28882019-07-29 Tom de Vries <tdevries@suse.de>
2889
2890 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2891
d17725d7
TV
28922019-07-29 Tom de Vries <tdevries@suse.de>
2893
2894 PR gdb/24855
2895 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2896 (skip_python_tests_prompt): Add prompt_regexp argument to
2897 gdb_test_multiple calls.
2898
52b75bf1
TT
28992019-07-27 Tom Tromey <tom@tromey.com>
2900
2901 * gdb.tui/main.exp: New file.
2902
2b1d00c2
TT
29032019-07-27 Tom Tromey <tom@tromey.com>
2904
2905 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2906 optional.
2907 * gdb.tui/empty.exp: New file.
2908
ded631d5
TT
29092019-07-27 Tom Tromey <tom@tromey.com>
2910
2911 * lib/tuiterm.exp (spawn): New proc.
2912 (Term::resize): New proc.
2913 * gdb.tui/resize.exp: New file.
2914
58ac439d
TT
29152019-07-27 Tom Tromey <tom@tromey.com>
2916
2917 * gdb.tui/list.exp: New file.
2918
fe1f56ee
TT
29192019-07-27 Tom Tromey <tom@tromey.com>
2920
2921 * gdb.tui/regs.exp: New file.
2922
f790b310
TT
29232019-07-27 Tom Tromey <tom@tromey.com>
2924
2925 * gdb.tui/basic.exp: Add "layout split" test.
2926
d95fc6ee
TT
29272019-07-27 Tom Tromey <tom@tromey.com>
2928
2929 * gdb.tui/basic.exp: Add "layout asm" test.
2930
c3786b3a
TT
29312019-07-27 Tom Tromey <tom@tromey.com>
2932
2933 * lib/tuiterm.exp: New file.
2934 * gdb.tui/basic.exp: New file.
2935
98a617f8
KB
29362019-07-27 Kevin Buettner <kevinb@redhat.com>
2937
2938 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2939 Enable tests associated with this flag. Adjust regex
2940 referencing "foo_low" to now refer to "foo_cold" instead.
2941
5c076da4
KB
29422019-07-27 Kevin Buettner <kevinb@redhat.com>
2943
2944 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2945 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2946 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2947 foo_cold. Revise comments to match.
2948 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2949 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2950 were wrapped into this proc; Call do_test in loop from outermost
2951 level.
2952 (foo_low): Rename all occurrences to "foo_cold".
2953 (backtrace from baz): New test.
2954 (x2/i foo_cold): New test.
2955 (info line *foo_cold): New test.
2956
1512d3b7
TV
29572019-07-26 Tom de Vries <tdevries@suse.de>
2958
2959 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2960
297989a1
TV
29612019-07-25 Tom de Vries <tdevries@suse.de>
2962
2963 PR testsuite/24830
2964 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2965 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2966 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2967 (skip_libstdcxx_probe_tests): ... here.
2968 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2969
b3b965fb
TV
29702019-07-24 Tom de Vries <tdevries@suse.de>
2971
2972 PR testsuite/24807
2973 * gdb.objc/basicclass.m: Include stdio.h.
2974 * gdb.objc/nondebug.m: Same.
2975 * gdb.objc/objcdecode.m: Same.
2976
4625b4d0
TV
29772019-07-24 Tom de Vries <tdevries@suse.de>
2978
2979 PR testsuite/24612
2980 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2981 additional_flags.
2982
024a5840
TV
29832019-07-24 Tom de Vries <tdevries@suse.de>
2984
2985 PR testsuite/24831
2986 * gdb.multi/tids.exp: Update error messages for info threads.
2987
c76ddaa3
TV
29882019-07-24 Tom de Vries <tdevries@suse.de>
2989
2990 * gdb.base/info-types.exp: Allow info types to print info for more than
2991 one file.
2992
9a618ef6
TV
29932019-07-23 Tom de Vries <tdevries@suse.de>
2994
2995 PR testsuite/24842
2996 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2997 gdb_spawn_with_cmdline_opts.
2998
40eadf04
SP
29992019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3000
3001 * gdb.arch/arm-cmse-sgstubs.c: New test.
3002 * gdb.arch/arm-cmse-sgstubs.exp: New file.
3003
5ba29434
TV
30042019-07-23 Tom de Vries <tdevries@suse.de>
3005
3006 PR testsuite/24711
3007 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
3008 issuing next command.
3009
a8e9d247
AB
30102019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3011
3012 * gdb.ada/info_auto_lang.exp: Update expected results.
3013 * gdb.base/info-types.c: Add additional types to check.
3014 * gdb.base/info-types.exp: Update expected results.
3015
eb86c5e2
AB
30162019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3017
3018 * gdb.base/info-types.c: New file.
3019 * gdb.base/info-types.exp: New file.
3020
01e175fe
AB
30212019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
3022
3023 * gdb.arch/riscv-bp-infcall.c: New file.
3024 * gdb.arch/riscv-bp-infcall.exp: New file.
3025
6b78c3f8
AB
30262019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
3027
3028 PR breakpoints/24541
3029 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
3030
da738167
TV
30312019-07-14 Tom de Vries <tdevries@suse.de>
3032
3033 PR testsuite/24760
3034 * gdb.objc/basicclass.exp: Fix unterminated string.
3035
0d4e84ed
AB
30362019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
3037 Andrew Burgess <andrew.burgess@embecosm.com>
3038
3039 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
3040 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
3041 negative bounds.
3042 * gdb.fortran/vla-value.exp: Print elements of an array with
3043 negative bounds.
3044 * gdb.fortran/vla.f90: Setup an array with negative bounds for
3045 testing.
3046
021d8588
AB
30472019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
3048
3049 * gdb.base/options.exp (expect_string): Dequote strings in
3050 results.
3051 (test-string): Test strings with different quoting and reindent.
3052
f06f1252
TT
30532019-07-10 Tom Tromey <tromey@adacore.com>
3054
3055 * gdb.ada/mi_ex_cond.exp: Update expected results.
3056 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
3057 * gdb.ada/mi_catch_ex.exp: Update expected results.
3058 * gdb.ada/mi_catch_assert.exp: Update expected results.
3059 * gdb.ada/catch_ex.exp (catch_exception_info)
3060 (catch_exception_entry, catch_assert_entry)
3061 (catch_unhandled_entry): Update.
3062 * gdb.ada/catch_assert_if.exp: Update expected results.
3063
b863685d
RB
30642019-07-10 Richard Bunt <richard.bunt@arm.com>
3065 Stephen Roberts <stephen.roberts@arm.com>
3066
3067 * gdb.base/define.exp: Restore original prompt.
3068
cb1e4e32
PA
30692019-07-09 Pedro Alves <palves@redhat.com>
3070
3071 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
3072 breakpoints" output.
3073 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
3074 * gdb.python/py-breakpoint.exp: No longer expect that "catch
3075 throw" creates breakpoint.
3076 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
3077 'type="catchpoint"'.
3078
b58a68fe
PA
30792019-07-09 Pedro Alves <palves@redhat.com>
3080
3081 PR c++/15468
3082 * gdb.cp/except-multi-location-lib.cc: New.
3083 * gdb.cp/except-multi-location-main.cc: New.
3084 * gdb.cp/except-multi-location.exp: New.
3085
0826779b
PW
30862019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
3087
3088 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
3089 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
3090 argument and update callers.
3091
5b0e2db4
AB
30922019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3093
3094 * gdb.arch/amd64-break-on-asm-line.S: New file.
3095 * gdb.arch/amd64-break-on-asm-line.exp: New file.
3096
1f6f6e21
PW
30972019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3098
3099 * gdb.base/printcmds.exp: Test printing C string and
3100 C wide string convenience vars without transiting via the inferior.
3101 Also make test names unique.
3102
ea142fbf
AH
31032019-07-08 Alan Hayward <alan.hayward@arm.com>
3104
5862c886 3105 PR breakpoints/25011
ea142fbf
AH
3106 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
3107
213fd9fa
PA
31082019-07-04 Pedro Alves <palves@redhat.com>
3109
3110 * lib/gdb.exp (foreach_with_prefix): Don't return early if
3111 body returned ok(0), break(3) or continue(4).
3112 * gdb.testsuite/foreach_with_prefix.exp: New file.
3113
2b40fda7
AH
31142019-07-04 Alan Hayward <alan.hayward@arm.com>
3115
3116 * gdb.server/unittest.exp: Allow 0 unit tests to run.
3117
a26c8de0
PA
31182019-07-03 Pedro Alves <palves@redhat.com>
3119
3120 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
3121 "return -code".
3122
5f4ba3e7
PA
31232019-07-03 Pedro Alves <palves@redhat.com>
3124
3125 PR cli/24732
3126 * gdb.base/shell.exp: Load completion-support.exp.
3127 Adjust expected error output. Add completion tests.
3128
a994424f
PA
31292019-07-03 Pedro Alves <palves@redhat.com>
3130
3131 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
3132 string_to_regexp.
3133
3d9be6f5
PA
31342019-07-03 Pedro Alves <palves@redhat.com>
3135
3136 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
3137 (expect_integer): Adjust to expect "-string".
3138 (expect_string): New.
3139 (all_options): Expect "-string".
3140 (test-flag, test-boolean): Adjust to expect "-string".
3141 (test-string): New proc.
3142 (top level): Call it.
3143
41fc454c
PA
31442019-07-03 Pedro Alves <palves@redhat.com>
3145
3146 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
3147 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
3148 the expected output in the success.
3149
b2b2a215
PA
31502019-07-03 Pedro Alves <palves@redhat.com>
3151
3152 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3153 Split one gdb_test_multiple call in two to avoid a race.
3154
fdbc9870
PA
31552019-07-03 Pedro Alves <palves@redhat.com>
3156
3157 * gdb.base/with.c: New file.
3158 * gdb.base/with.exp: New file.
3159
c6ac8931
PA
31602019-07-03 Pedro Alves <palves@redhat.com>
3161
3162 * gdb.base/settings.exp: Replace all references to "maint
3163 test-settings set" with references to "maint set test-settings",
3164 and all references to "maint test-settings show" with references
3165 to "maint show test-settings".
3166
970f9d09
PA
31672019-07-03 Pedro Alves <palves@redhat.com>
3168
3169 * gdb.base/settings.exp (test-string): Adjust expected out when
3170 testing "maint test-settings show filename"
3171
54d66006
PA
31722019-07-02 Pedro Alves <palves@redhat.com>
3173
3174 * gdb.base/options.exp (test-info-threads): New procedure.
3175 (top level): Call it.
3176
10d06d82
TT
31772019-06-28 Tom Tromey <tromey@adacore.com>
3178
3179 * gdb.dwarf2/ada-linkage-name.c: New file.
3180 * gdb.dwarf2/ada-linkage-name.exp: New file.
3181
3d507ff2
TT
31822019-06-27 Tom Tromey <tromey@adacore.com>
3183
d039f014 3184 PR c++/20020:
3d507ff2
TT
3185 * gdb.cp/constexpr-field.exp: Use setup_xfail.
3186
8af58ffe
TV
31872019-06-26 Tom de Vries <tdevries@suse.de>
3188
3189 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
3190
22e21752
TV
31912019-06-26 Tom de Vries <tdevries@suse.de>
3192
3193 * gdb.base/index-cache.exp: Add back missing debug option.
3194
b65b566c
PW
31952019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3196
3197 * gdb.base/alias.exp: Test non matching/non existing prefixes.
3198
5c2c8c69
TV
31992019-06-25 Tom de Vries <tdevries@suse.de>
3200
3201 PR testsuite/24727
3202 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
3203
164e3873
TV
32042019-06-24 Tom de Vries <tdevries@suse.de>
3205
3206 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
3207
824eacee
TV
32082019-06-24 Tom de Vries <tdevries@suse.de>
3209
3210 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
3211 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
3212 * gdb.trace/unavailable-dwarf-piece.exp: Same.
3213
385b97d3
TV
32142019-06-24 Tom de Vries <tdevries@suse.de>
3215
3216 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
3217
c596f180
TV
32182019-06-21 Tom de Vries <tdevries@suse.de>
3219
3220 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
3221
b13a7d03
TV
32222019-06-21 Tom de Vries <tdevries@suse.de>
3223
3224 PR testsuite/24518
3225 PR ada/24713
3226 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
3227 index.
3228
899277ae
TT
32292019-06-19 Tom Tromey <tromey@adacore.com>
3230
3231 * gdb.ada/length_cond.exp: Add intro comment.
3232
680e1bee
TT
32332019-06-19 Tom Tromey <tromey@adacore.com>
3234
3235 * gdb.ada/length_cond.exp: New file.
3236 * gdb.ada/length_cond/length_cond.adb: New file.
3237 * gdb.ada/length_cond/pck.adb: New file.
3238 * gdb.ada/length_cond/pck.ads: New file.
3239
0ed4690a
TV
32402019-06-18 Tom de Vries <tdevries@suse.de>
3241
3242 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
3243
d20ed5fd
TT
32442019-06-18 Tom Tromey <tromey@adacore.com>
3245
3246 * gdb.base/list0.h: Add comment explaining control character.
3247
86e04673
TV
32482019-06-18 Tom de Vries <tdevries@suse.de>
3249
3250 * boards/fission.exp: Break up long debug_flags line.
3251
c4973306
SM
32522019-06-16 Tom de Vries <tdevries@suse.de>
3253
3254 PR gdb/24445
3255 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
3256 generated index.
3257
93cb9841
AB
32582019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3259
3260 PR gdb/24686
3261 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
3262 improve detection of bug gdb/24541.
3263
399aaebd
SM
32642019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
3265
3266 PR gdb/24669
3267 * gdb.base/index-cache.exp (uses_readnow,
3268 expecting_index_cache_use): Define global variable.
3269 (test_cache_enabled_miss, test_cache_enabled_hit): Use
3270 expecting_index_cache_use.
3271
584a927c
AB
32722019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
3273 Andrew Burgess <andrew.burgess@embecosm.com>
3274
3275 * gdb.fortran/pointers.f90: New file.
3276 * gdb.fortran/print_type.exp: New file.
3277 * gdb.fortran/vla-ptype.exp: Adapt expected results.
3278 * gdb.fortran/vla-type.exp: Likewise.
3279 * gdb.fortran/vla-value.exp: Likewise.
3280 * gdb.mi/mi-vla-fortran.exp: Likewise.
3281
30056ea0
AB
32822019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3283
3284 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
3285 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
3286 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
3287 as a stop reason.
3288
ec8e2b6d
AB
32892019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3290
3291 * gdb.base/annota1.exp: Update expected results.
3292 * gdb.cp/annota2.exp: Likewise.
3293 * gdb.cp/annota3.exp: Likewise.
3294
09e4c4e1
AB
32952019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3296
3297 * gdb.base/style-logging.exp: Remove path from test name.
3298
0735b091
TT
32992019-06-14 Tom Tromey <tromey@adacore.com>
3300
3301 PR gdb/24502:
3302 * gdb.base/style-logging.exp: New file.
3303
f5686554
TT
33042019-06-14 Tom Tromey <tromey@adacore.com>
3305
3306 * gdb.base/symfile-warn.exp: New file.
3307 * gdb.base/symfile-warn.c: New file.
3308
a0c1ffed
TT
33092019-06-14 Tom Tromey <tromey@adacore.com>
3310
3311 * gdb.base/annotate-symlink.exp: New file.
3312
f411722c
TT
33132019-06-14 Tom Tromey <tromey@adacore.com>
3314
3315 * gdb.ada/set_wstr.exp: Add reassignment test.
3316
4268ec18
TT
33172019-06-14 Tom Tromey <tromey@adacore.com>
3318
3319 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
3320 'unchecked_access and 'unrestricted_access as well.
3321
9a9e394b
TT
33222019-06-14 Tom Tromey <tromey@adacore.com>
3323
3324 PR ada/24539:
3325 * gdb.ada/vla.exp: Update tests.
3326 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
3327 pragma.
3328
4c048731
PA
33292019-06-13 Pedro Alves <palves@redhat.com>
3330
3331 * gdb.base/settings.exp (test-integer): Test junk after
3332 "unlimited".
3333
6665660a
PA
33342019-06-13 Pedro Alves <palves@redhat.com>
3335
3336 * gdb.base/options.exp (test-thread-apply): New.
3337 (top level): Call it.
3338
5d707134
PA
33392019-06-13 Pedro Alves <palves@redhat.com>
3340
3341 * gdb.base/options.exp (test-frame-apply): New.
3342 (top level): Test print commands with different "frame apply"
3343 prefixes.
3344
e2a689da
PA
33452019-06-13 Pedro Alves <palves@redhat.com>
3346
e79be6e5 3347 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
3348 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
3349 'max_completions' parameter and handle it.
3350 (test_gdb_completion_offers_commands): New.
3351
90a1ef87
PA
33522019-06-13 Pedro Alves <palves@redhat.com>
3353
3354 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
3355
d4c16835
PA
33562019-06-13 Pedro Alves <palves@redhat.com>
3357
3358 * gdb.base/options.exp (test-backtrace): New.
3359 (top level): Call it.
3360
2daf894e
PA
33612019-06-13 Pedro Alves <palves@redhat.com>
3362
3363 * gdb.guile/scm-frame-args.exp: Use "set print
3364 raw-frame-arguments" instead of "set print raw frame-arguments".
3365 * gdb.python/py-frame-args.exp: Likewise.
3366
e6ed716c
PA
33672019-06-13 Pedro Alves <palves@redhat.com>
3368
3369 * gdb.compile/compile.exp: Adjust expected output to option
3370 processing changes.
3371
7d8062de
PA
33722019-06-13 Pedro Alves <palves@redhat.com>
3373
3374 * gdb.base/options.exp: Build executable.
3375 (test-print): New procedure.
3376 (top level): Call it, once for "print" and another for "compile
3377 print".
3378
9d0faba9
PA
33792019-06-13 Pedro Alves <palves@redhat.com>
3380
3381 * gdb.base/options.c: New file.
3382 * gdb.base/options.exp: New file.
3383
dee7b4c8
PA
33842019-06-13 Pedro Alves <palves@redhat.com>
3385
3386 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
3387 that "o" is ambiguous.
3388
dca0f6c0
PA
33892019-06-13 Pedro Alves <palves@redhat.com>
3390
3391 * gdb.base/settings.c: New file.
3392 * gdb.base/settings.exp: New file.
3393
ccf46844
PA
33942019-06-13 Pedro Alves <palves@redhat.com>
3395
3396 * gdb.base/completion.exp: Fix comment typo.
3397
b9a3f842
PA
33982019-06-13 Pedro Alves <palves@redhat.com>
3399
3400 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
3401 foo --1" test.
3402
d106773e
PA
34032019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
3404
3405 * gdb.fortran/block-data.f: New.
3406 * gdb.fortran/block-data.exp: New.
3407
fea82da0
TV
34082019-06-11 Tom de Vries <tdevries@suse.de>
3409
3410 PR testsuite/24521
3411 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
3412 message.
3413
8c2e74f1
TV
34142019-06-11 Tom de Vries <tdevries@suse.de>
3415
3416 PR testsuite/24521
3417 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
3418
b49851c8
TV
34192019-06-11 Tom de Vries <tdevries@suse.de>
3420
3421 * boards/readnow.exp: New file.
3422
a7067863
AB
34232019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
3424
3425 * gdb.fortran/vla-sizeof.exp: Update expected results.
3426
1a3da2cd
AB
34272019-06-06 Amos Bird <amosbird@gmail.com>
3428
3429 * gdb.base/annota1.exp (thread_switch): Add test for
3430 thread-exited annotation.
3431
3847a7bf
TT
34322019-06-06 Tom Tromey <tromey@adacore.com>
3433
3434 * gdb.base/maint.exp: Expect command started/finished output.
3435
0088ba59
AB
34362019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3437
3438 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
3439 comment.
3440 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
3441
312617a3
AB
34422019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3443
3444 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
3445 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
3446 * gdb.arch/riscv-unwind-long-insn.c: New file.
3447 * gdb.arch/riscv-unwind-long-insn.exp: New file.
3448
e1f2e1a2
CB
34492019-06-04 Christian Biesinger <cbiesinger@google.com>
3450
d3238f7d 3451 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 3452
206584bd
PW
34532019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3454
3455 * lib/gdb.exp (help_list_trailer): New regexp variable
3456 factorizing the help trailer message.
3457 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
3458 arg to allow to better factorize various tests.
3459 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
3460 (test_prefix_command_help): Use help_list_trailer.
3461 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
3462 * gdb.guile/scm-cmd.exp: Likewise.
3463 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
3464 * gdb.base/help.exp: Use test_user_defined_class_help.
3465 * gdb.base/style.exp: Add tests for styling of help and apropos.
3466 * lib/gdb-utils.exp (style): Add title and highlight styles.
3467
708dc93e
PW
34682019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3469
3470 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
3471 $_shell_exitsignal.
3472 * gdb.base/default.exp: Update for new convenience variables.
3473
f49055a5
TT
34742019-05-29 Tom Tromey <tromey@adacore.com>
3475
3476 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
3477 to "break complete ada" test case's regexp.
3478
4330d61d
TT
34792019-05-29 Tom Tromey <tromey@adacore.com>
3480
3481 PR c++/20020:
3482 * gdb.cp/constexpr-field.exp: New file.
3483 * gdb.cp/constexpr-field.cc: New file.
3484
000439d5
TT
34852019-05-29 Tom Tromey <tromey@adacore.com>
3486
3487 * gdb.base/finish.exp (finish_no_print): New proc.
3488 (finish_tests): Call it.
3489
5a01c34c
TV
34902019-05-24 Tom de Vries <tdevries@suse.de>
3491
3492 * gdb.dwarf2/gdb-add-index.exp: New file.
3493
18125b16
TT
34942019-05-22 Tom Tromey <tromey@adacore.com>
3495
3496 * gdb.base/info-shared.exp (check_info_shared): Use "style".
3497 * gdb.base/style.exp: Use "style".
3498 * lib/gdb-utils.exp (style): New proc.
3499
af1a8d03
TV
35002019-05-22 Tom de Vries <tdevries@suse.de>
3501
3502 * gdb.base/align.exp: Require c++11.
3503
e7fe496b
TV
35042019-05-22 Tom de Vries <tdevries@suse.de>
3505
3506 PR testsuite/24586
3507 * gdb.python/py-mi-var-info-path-expression.exp: Call
3508 mi_skip_python_tests to check if python is supported.
3509
8fca4da0
AH
35102019-05-22 Alan Hayward <alan.hayward@arm.com>
3511
3512 * gdb.arch/aarch64-pauth.c: New test.
3513 * gdb.arch/aarch64-pauth.exp: New file.
3514
b7060614
AH
35152019-05-22 Alan Hayward <alan.hayward@arm.com>
3516
3517 * README (Re-running Tests Outside The Testsuite): New section.
3518
669d0468
TV
35192019-05-21 Tom de Vries <tdevries@suse.de>
3520
3521 * gdb.arch/amd64-eval.exp: Require c++11.
3522 * gdb.base/max-depth.exp: Same.
3523 * gdb.compile/compile-cplus-array-decay.exp: Same.
3524 * gdb.cp/meth-typedefs.exp: Same.
3525 * gdb.cp/subtypes.exp: Same.
3526 * gdb.cp/temargs.exp: Same.
3527
ce3ebcaa
AH
35282019-05-21 Alan Hayward <alan.hayward@arm.com>
3529
3530 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
3531
34d11c68
AB
35322019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3533
3534 PR gdb/18644
3535 * gdb.fortran/complex.exp: Remove setup_kfail calls.
3536 * gdb.fortran/printing-types.exp: Add new test.
3537 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
3538 testing.
3539 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
3540 setup_kfail call.
3541
87781e84
AH
35422019-05-17 Alan Hayward <alan.hayward@arm.com>
3543
3544 * README (Running the Testsuite): Change example.
3545 (Testsuite Parameters): Remove TRANSCRIPT.
3546 * lib/gdb.exp: Remove TRANSCRIPT check.
3547
b420b89e
AH
35482019-05-17 Alan Hayward <alan.hayward@arm.com>
3549
3550 * README (Testsuite Parameters): Add replay logging to
3551 GDBSERVER_DEBUG.
3552 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
3553 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
3554 as a comma separated list.
3555 (gdb_debug_init): Override procedure.
3556
408e9b8b
AH
35572019-05-17 Alan Hayward <alan.hayward@arm.com>
3558
3559 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
3560 (gdb_write_cmd_file): New procedure.
3561 * lib/gdbserver-support.exp (gdbserver_start): Call
3562 gdbserver_write_cmd_file.
3563 (gdbserver_write_cmd_file): New procedure.
3564
f9e2e39d
AH
35652019-05-17 Alan Hayward <alan.hayward@arm.com>
3566
3567 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
3568 (delete_breakpoints): Likewise.
3569 (gdb_run_cmd): Likewise.
3570 (gdb_start_cmd): Likewise.
3571 (gdb_starti_cmd): Likewise.
3572 (gdb_internal_error_resync): Likewise.
3573 (gdb_test_multiple): Likewise.
3574 (gdb_reinitialize_dir): Likewise.
3575 (default_gdb_exit): Likewise.
3576 (gdb_file_cmd): Mark kill as optional.
3577 (default_gdb_start): Call gdb_stdin_log_init.
3578 (send_gdb): Call gdb_stdin_log_write.
3579 (rerun_to_main): Mark Y as an answer.
3580 (gdb_stdin_log_init): New function.
3581 (gdb_stdin_log_write): Likewise.
3582
81f47ac2
AH
35832019-05-17 Alan Hayward <alan.hayward@arm.com>
3584
3585 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
3586 * gdb.base/debug-expr.exp: Likewise.
3587 * gdb.base/foll-fork.exp: Likewise.
3588 * gdb.base/foll-vfork.exp: Likewise.
3589 * gdb.base/fork-print-inferior-events.exp: Likewise.
3590 * gdb.base/gdb-sigterm.exp: Likewise.
3591 * gdb.base/gdbinit-history.exp: Likewise.
3592 * gdb.base/osabi.exp: Likewise.
3593 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3594 * gdb.base/ui-redirect.exp: Likewise.
3595 * gdb.gdb/unittest.exp: Likewise.
3596 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
3597 * gdb.mi/mi-watch.exp: Likewise.
3598 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3599 * gdb.mi/user-selected-context-sync.exp: Likewise.
3600 * gdb.python/python.exp: Disable debug test when debugging.
3601 * gdb.threads/check-libthread-db.exp: Disable when debugging.
3602 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3603 Likewise.
3604 * gdb.threads/stepi-random-signal.exp: Likewise.
3605
29b52314
AH
36062019-05-17 Alan Hayward <alan.hayward@arm.com>
3607
3608 * Makefile.in: Pass through GDB_DEBUG.
3609 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
3610 (gdb,debug): Add board setting.
3611 * lib/gdb.exp (default_gdb_start): Start debugging.
3612 (gdb_debug_enabled): New procedure.
3613 (gdb_debug_init): Likewise.
29b52314
AH
3614
36152019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 3616
29b52314
AH
3617 * Makefile.in: Pass through GDB_DEBUG.
3618 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
3619 (gdb,debug): Add board setting.
3620 * lib/gdb.exp (default_gdb_start): Start debugging.
3621 (gdb_debug_enabled): New procedure.
3622 (gdb_debug_init): Likewise.
29b52314 3623
ca1285d1
AH
36242019-05-17 Alan Hayward <alan.hayward@arm.com>
3625
3626 * gdb.base/ui-redirect.exp: Add debug redirect tests.
3627
f3a09c80
AH
36282019-05-17 Alan Hayward <alan.hayward@arm.com>
3629
3630 * gdb.base/ui-redirect.exp: Test redirection.
3631
26648588
JV
36322019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
3633
3634 * gdb.mi/mi-complete.exp: New file.
3635 * gdb.mi/mi-complete.cc: Likewise.
3636
14237686
AB
36372019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
3638
3639 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
3640 indexed and sliced arrays, and pointers to arrays.
3641
e7bd7fba
TT
36422019-05-14 Tom Tromey <tromey@adacore.com>
3643
3644 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
3645 styling test.
3646
2764128d
TV
36472019-05-14 Tom de Vries <tdevries@suse.de>
3648
3649 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
3650 selection entry encoding.
3651
71bed2db
TT
36522019-05-10 Tom Tromey <tromey@adacore.com>
3653
3654 * gdb.ada/info_exc.exp: Add "complete" test.
3655
63b667ad
TV
36562019-05-09 Tom de Vries <tdevries@suse.de>
3657
3658 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
3659 CU-relative.
3660
9cfd2b89
TV
36612019-05-09 Tom de Vries <tdevries@suse.de>
3662
3663 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
3664 CU-relative.
3665
2228ef77
XR
36662019-05-08 Joel Brobecker <brobecker@adacore.com>
3667
3668 * gdb.ada/frame_arg_lang.exp: New testcase.
3669 * gdb.ada/frame_arg_lang/bla.adb: New file.
3670 * gdb.ada/frame_arg_lang/pck.ads: New file.
3671 * gdb.ada/frame_arg_lang/pck.adb: New file.
3672 * gdb.ada/frame_arg_lang/foo.c: New file.
3673
80e55b13
TT
36742019-05-08 Tom Tromey <tromey@adacore.com>
3675
3676 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3677
9d3421af
TT
36782019-05-08 Tom Tromey <tromey@adacore.com>
3679
3680 * gdb.base/ptype-offsets.exp: Update tests.
3681
844333e2
TT
36822019-05-08 Tom Tromey <tromey@adacore.com>
3683
3684 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3685 cases.
3686 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3687 "short".
3688
988915ee
TT
36892019-05-08 Tom Tromey <tromey@adacore.com>
3690
3691 * gdb.ada/vla.exp: New file.
3692 * gdb.ada/vla/vla.adb: New file.
3693
7bd55dac
TV
36942019-05-07 Tom de Vries <tdevries@suse.de>
3695
3696 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3697
75f06e9d
TV
36982019-05-07 Tom de Vries <tdevries@suse.de>
3699
3700 PR testsuite/24522
3701 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3702 section.
3703
77e7aaa4
TV
37042019-05-07 Tom de Vries <tdevries@suse.de>
3705
3706 PR testsuite/24522
3707 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3708 .debug_aranges section.
3709
456ba0fa
TV
37102019-05-07 Tom de Vries <tdevries@suse.de>
3711
3712 PR testsuite/24159
3713 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3714
5a56d6a6
TV
37152019-05-06 Tom de Vries <tdevries@suse.de>
3716
3717 * lib/gdb.exp (exec_has_index_section): New proc.
3718 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3719 section.
3720
9d6d4be8
TV
37212019-05-04 Tom de Vries <tdevries@suse.de>
3722
3723 * boards/cc-with-debug-names.exp: New file.
3724
222a8d25
TT
37252019-05-03 Tom Tromey <tromey@adacore.com>
3726
3727 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3728 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3729 * gdb.ada/char_enum.exp: Add test.
3730
0fdfd794
TV
37312019-05-03 Tom de Vries <tdevries@suse.de>
3732
3733 * boards/cc-with-gdb-index.exp: New file.
3734
80062eb9
AB
37352019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3736
3737 * gdb.rust/simple.exp: Add new test case.
3738 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3739 (main): Initialise an instance of the new struct.
3740
4504bbde
TT
37412019-05-01 Tom Tromey <tromey@adacore.com>
3742
3743 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3744 record.
3745 (NPR): New variable.
3746 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3747 test.
3748
d48e62f4
TT
37492019-05-01 Tom Tromey <tromey@adacore.com>
3750
3751 * gdb.ada/packed_array_assign.exp: Add packed assignment
3752 regression test.
3753
f59f30f5
TV
37542019-05-01 Tom de Vries <tdevries@suse.de>
3755
3756 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3757
b70bfc54
TV
37582019-05-01 Tom de Vries <tdevries@suse.de>
3759
3760 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3761
15f18d14
AT
37622019-04-30 Ali Tamur <tamur@google.com>
3763
3764 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3765
2ff0a947
TT
37662019-04-30 Tom Tromey <tromey@adacore.com>
3767
3768 * lib/ada.exp (find_ada_tool): New proc.
3769 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3770 * gdb.ada/catch_ex_std.exp: New file.
3771 * gdb.ada/catch_ex_std/foo.adb: New file.
3772 * gdb.ada/catch_ex_std/some_package.adb: New file.
3773 * gdb.ada/catch_ex_std/some_package.ads: New file.
3774
a776957c
TT
37752019-04-30 Tom Tromey <tromey@adacore.com>
3776
3777 PR c++/24470:
3778 * gdb.cp/temargs.cc: Add test code from PR.
3779
bc68014d
AB
37802019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3781
3782 * gdb.fortran/vla-datatypes.exp: Update expected results.
3783 * gdb.fortran/vla-ptype.exp: Likewise.
3784 * gdb.fortran/vla-type.exp: Likewise.
3785 * gdb.fortran/vla-value.exp: Likewise.
3786
f1fdc960
AB
37872019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3788
3789 * gdb.fortran/ptr-indentation.exp: Update expected results.
3790 * gdb.fortran/ptype-on-functions.exp: Likewise.
3791 * gdb.fortran/vla-ptr-info.exp: Likewise.
3792 * gdb.fortran/vla-value.exp: Likewise.
3793
bf7a4de1
AB
37942019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3795
3796 * gdb.fortran/ptype-on-functions.exp: New file.
3797 * gdb.fortran/ptype-on-functions.f90: New file.
3798
bbe75b9d
AB
37992019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3800
3801 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3802 case void string.
3803
1db455a7
AB
38042019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3805
3806 * gdb.fortran/complex.exp: Expand.
3807 * gdb.fortran/complex.f: Renamed to...
3808 * gdb.fortran/complex.f90: ...this, and extended to add more
3809 complex values.
3810
b6d03bb2
AB
38112019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3812
3813 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3814 MODULO, CMPLX.
3815
2e62ab40
AB
38162019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3817 Richard Bunt <richard.bunt@arm.com>
3818
3819 * gdb.base/max-depth.c: New file.
3820 * gdb.base/max-depth.exp: New file.
3821 * gdb.python/py-nested-maps.c: New file.
3822 * gdb.python/py-nested-maps.exp: New file.
3823 * gdb.python/py-nested-maps.py: New file.
3824 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3825 (test_all_common): Call test_max_depth.
3826 * gdb.fortran/max-depth.exp: New file.
3827 * gdb.fortran/max-depth.f90: New file.
3828 * gdb.go/max-depth.exp: New file.
3829 * gdb.go/max-depth.go: New file.
3830 * gdb.modula2/max-depth.exp: New file.
3831 * gdb.modula2/max-depth.c: New file.
3832 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3833
d2b584a5
TV
38342019-04-29 Tom de Vries <tdevries@suse.de>
3835
3836 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3837
136afab8
PW
38382019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3839
3840 * gdb.base/callexit.exp: Test may-call-functions off.
3841
725cbb63
KS
38422019-04-25 Keith Seitz <keiths@redhat.com>
3843
3844 PR c++/24367
3845 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3846 (another_incomplete_struct, test_incomplete): New definitions.
3847 (main): Use new definitions.
3848 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3849 functions.
3850
701adfb0
PA
38512019-04-25 Ali Tamur <tamur@google.com>
3852
3853 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3854
82433e3e
SDJ
38552019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3856
3857 PR corefiles/11608
3858 PR corefiles/18187
3859 * gdb.base/coredump-filter-build-id.exp: New file.
3860
dd06d4d6
AH
38612019-04-25 Alan Hayward <alan.hayward@arm.com>
3862
e79be6e5
SM
3863 * Makefile.in: Pass through GDBSERVER_DEBUG.
3864 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3865 (gdbserver,debug): Add board setting.
3866 * gdb.trace/tspeed.exp: Skip when debugging.
3867 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3868 * lib/gdbserver-support.exp: Likewise
dd06d4d6 3869
1670072e
TT
38702019-04-24 Tom Tromey <tromey@adacore.com>
3871
3872 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3873 Rust.
3874
a59240a4
TT
38752019-04-24 Tom Tromey <tromey@adacore.com>
3876
3877 * gdb.arch/amd64-eval.exp: Test bitfield return.
3878 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3879 (class Foo) <return_bitfields>: New method.
3880 (main): Call it.
3881
b907456c
AB
38822019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3883
3884 * gdb.cp/many-args.cc: New file.
3885 * gdb.cp/many-args.exp: New file.
3886
5c565afd
TV
38872019-04-23 Tom de Vries <tdevries@suse.de>
3888
3889 PR gdb/24433
3890 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3891
ba22ff86
AH
38922019-04-23 Alan Hayward <alan.hayward@arm.com>
3893
3894 * gdb.trace/backtrace.exp: Use nopie flag.
3895 * gdb.trace/circ.exp: Likewise.
3896 * gdb.trace/collection.exp: Likewise.
3897 * gdb.trace/ftrace.exp: Likewise.
3898 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3899 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3900 * gdb.trace/qtro.exp: Likewise.
3901 * gdb.trace/read-memory.exp: Likewise.
3902 * gdb.trace/report.exp: Likewise.
3903 * gdb.trace/tfile.exp: Likewise.
3904 * gdb.trace/tfind.exp: Likewise.
3905 * gdb.trace/unavailable.exp: Likewise.
3906
7905fc35
PA
39072019-04-22 Pedro Alves <palves@redhat.com>
3908
3909 * gdb.base/solib-probes-nosharedlibrary.c,
3910 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3911
8ecb59f8
TT
39122019-04-19 Tom Tromey <tromey@adacore.com>
3913
3914 * gdb.ada/ptype_union.c: New file.
3915 * gdb.ada/ptype_union.exp: New file.
3916
62160ec9
TT
39172019-04-19 Tom Tromey <tromey@adacore.com>
3918
3919 PR symtab/24423:
3920 * gdb.base/list0.h (foo): Add a control-l character.
3921
36cd4ba5
TV
39222019-04-18 Tom de Vries <tdevries@suse.de>
3923
3924 PR gdb/24433
3925 * boards/local-board.exp: Set sysroot to "".
3926
b73715df
TV
39272019-04-18 Tom de Vries <tdevries@suse.de>
3928 Pedro Alves <palves@redhat.com>
3929
3930 PR gdb/24454
3931 * gdb.threads/vfork-follow-child-exec.c: New file.
3932 * gdb.threads/vfork-follow-child-exec.exp: New file.
3933 * gdb.threads/vfork-follow-child-exit.c: New file.
3934 * gdb.threads/vfork-follow-child-exit.exp: New file.
3935
4aa866af
LS
39362019-04-15 Leszek Swirski <leszeks@google.com>
3937
3938 * gdb.arch/amd64-eval.cc: New file.
3939 * gdb.arch/amd64-eval.exp: New file.
3940
e5a1a79a
AH
39412019-04-11 Alan Hayward <alan.hayward@arm.com>
3942
3943 * gdb.server/sysroot.c: New test.
3944 * gdb.server/sysroot.exp: New file.
3945 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3946 matching param.
3947
41077b66
AB
39482019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3949
3950 * gdb.base/align.exp: Extend test to cover structures containing
3951 only static fields.
3952
c30391f8
TV
39532019-04-11 Tom de Vries <tdevries@suse.de>
3954
3955 * boards/cc-with-dwz-m.exp: New file.
3956 * boards/cc-with-dwz.exp: New file.
3957 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3958
e242fd12
SM
39592019-04-09 Simon Marchi <simon.marchi@efficios.com>
3960
3961 * gdb.base/start-cpp.exp: New file.
3962 * gdb.base/start-cpp.cc: New file.
3963
2b0c8b01
KB
39642019-04-08 Kevin Buettner <kevinb@redhat.com>
3965
3966 * gdb.python/py-thrhandle.exp: Adjust tests to call
3967 thread_from_handle instead of thread_from_thread_handle.
3968
947210e5
KB
39692019-04-08 Kevin Buettner <kevinb@redhat.com>
3970
3971 * gdb.python/py-thrhandle.exp: Add tests for
3972 gdb.InferiorThread.handle.
3973
d7df6549
AB
39742019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3975
3976 * gdb.python/py-function.exp: Check calling helper function from
3977 all languages.
3978 * lib/gdb.exp (gdb_supported_languages): New proc.
3979
8bdc1658
AB
39802019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3981
3982 * gdb.base/complex-parts.c: New file.
3983 * gdb.base/complex-parts.exp: New file.
3984
05caa1d2
TT
39852019-04-01 Tom Tromey <tromey@adacore.com>
3986
3987 PR symtab/23331:
3988 * gdb.dwarf2/dw2-ranges-main.c: New file.
3989 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3990 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3991
7734102d
EZ
39922019-03-30 Simon Marchi <simark@simark.ca>
3993
3994 * gdb.base/default.exp: Add values for $_gdb_major and
3995 $_gdb_minor.
3996
188e1fa9
TT
39972019-03-29 Tom Tromey <tromey@adacore.com>
3998
3999 * gdb.base/help.exp: Tighten apropos regexp.
4000
2880242d
KS
40012019-03-29 Keith Seitz <keiths@redhat.com>
4002
4003 * gdb.fortran/array-bounds.exp: New file.
4004 * gdb.fortran/array-bounds.f90: New file.
4005
077cad8e
PW
40062019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4007
4008 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
4009
80047cfc
PW
40102019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4011
4012 * gdb.multi/hello.c (main): Increase alarm timer.
4013
f489207e
SL
40142019-03-28 Sandra Loosemore <sandra@codesourcery.com>
4015
4016 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
4017 factor when no hardware watchpoint support.
4018
c92df149
AH
40192019-03-28 Alan Hayward <alan.hayward@arm.com>
4020 Pedro Alves <palves@redhat.com>
4021
4022 * boards/local-board.exp: set sysroot to /.
4023
933aebfa
AH
40242019-03-27 Alan Hayward <alan.hayward@arm.com>
4025
4026 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
4027 in child.
4028
9f9aa852
AB
40292019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4030
4031 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
4032 field.
4033 (make_container): Initialise new field.
4034 * gdb.python/py-prettyprint.exp: Add new tests.
4035 * gdb.python/py-prettyprint.py (class ContainerPrinter)
4036 <display_hint>: New method.
4037
3714a195
AB
40382019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4039
4040 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
4041 gdb_continue_to_breakpoint more throughout this test.
4042 (run_lang_tests) Supply unique test names, and use
4043 gdb_test_no_output.
4044
18c77628
AB
40452019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4046
4047 * gdb.base/finish-pretty.exp: Update expected results.
4048 * gdb.base/pretty-print.c: New file.
4049 * gdb.base/pretty-print.exp: New file.
4050
9a93502f
PA
40512019-03-25 Pedro Alves <palves@redhat.com>
4052
4053 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
4054 move comments outside list. Append '-i "" eof' section.
4055
968aa7ae
AH
40562019-03-22 Alan Hayward <alan.hayward@arm.com>
4057
34a7f2a4 4058 PR testsuite/25016
968aa7ae
AH
4059 * README: Add pie options.
4060 * gdb.base/break-interp.exp: Ensure pie is disabled.
4061 * gdb.base/dump.exp: Likewise.
4062 * lib/gdb.exp (gdb_compile): Add pie option.
4063
4c7d57e7
TT
40642019-03-19 Tom Tromey <tromey@adacore.com>
4065
4066 * gdb.mi/mi2-cli-display.c: New file.
4067 * gdb.mi/mi2-cli-display.exp: New file.
4068
bff8c71f
TT
40692019-03-18 Joel Brobecker <brobecker@adacore.com>
4070 Tom Tromey <tromey@adacore.com>
4071
4072 * gdb.ada/ptype_array/pck.adb: New file.
4073 * gdb.ada/ptype_array/pck.ads: New file.
4074 * gdb.ada/ptype_array/foo.adb: New file.
4075 * gdb.ada/ptype_array.exp: New file.
4076
d085f989
TT
40772019-03-14 Tom Tromey <tromey@adacore.com>
4078
4079 * gdb.base/style.exp: Add "set style sources" test.
4080
b4be1b06
SM
40812019-03-13 Simon Marchi <simon.marchi@ericsson.com>
4082
4083 * mi-breakpoint-location-ena-dis.exp: Rename to ...
4084 * mi-breakpoint-multiple-locations.exp: ... this.
4085 (make_breakpoints_pattern): New proc.
4086 (do_test): Add mi_version parameter, test -break-insert,
4087 -break-info and =breakpoint-created.
4088
7cde5fc2
AB
40892019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
4090
4091 * config/default.exp: Remove 'load_lib gdb.exp'.
4092 * config/monitor.exp: Likewise.
4093 * config/sid.exp: Likewise.
4094 * config/sim.exp: Likewise.
4095 * config/slite.exp: Likewise.
4096 * config/unix.exp: Likewise.
4097 * gdb.base/default.exp: Remove unhelpful comment.
4098
efbecbc1
AB
40992019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4100
4101 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
4102
0841c79a
AB
41032019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4104
4105 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
4106
4a270568
AB
41072019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4108
4109 * gdb.fortran/type-kinds.exp: Update expected results.
4110
067630bd
AB
41112019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4112
4113 * gdb.fortran/type-kinds.exp: Test new integer type kind.
4114
3be47f7a
AB
41152019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4116
4117 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
4118 function.
4119 (test_basic_parsing_of_type_kinds): Expand types tested.
4120 (test_parsing_invalid_type_kinds): New function.
4121
4d00f5d8
AB
41222019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4123
4124 * gdb.fortran/intrinsics.exp: New file.
4125 * gdb.fortran/intrinsics.f90: New file.
4126 * gdb.fortran/type-kinds.exp: New file.
4127
c8f91604
AB
41282019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4129
4130 * gdb.fortran/dot-ops.exp: New file.
4131
dd9f2c76
AB
41322019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4133
4134 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
4135 Check upper and lower case logical literals.
4136
84ec9724
AB
41372019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4138
4139 * gdb.fortran/types.exp (test_float_literal_types_accepted):
4140 Remove duplicate tests.
4141
c3734e09
AH
41422019-03-06 Alan Hayward <alan.hayward@arm.com>
4143
4144 * lib/gdb.exp (builtin_cd): rename of cd.
4145 (cd): Override builtin.
4146
aa3cfbda
RB
41472019-03-06 Richard Bunt <richard.bunt@arm.com>
4148
4149 * gdb.fortran/function-calls.exp: New file.
4150 * gdb.fortran/function-calls.f90: New test.
4151
7b63ad86
RB
41522019-03-04 Richard Bunt <richard.bunt@arm.com>
4153
4154 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
4155 on user program standard output.
4156 * gdb.fortran/short-circuit-argument-list.f90: Record function
4157 calls.
4158
01abb042
AH
41592019-02-28 Alan Hayward <alan.hayward@arm.com>
4160
c3734e09
AH
4161 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
4162 failure.
01abb042 4163
92137da0
RO
41642019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4165
4166 PR gdb/8527
4167 * gdb.base/interrupt-daemon-attach.c,
4168 gdb.base/interrupt-daemon-attach.exp: New test.
4169
5862844d
PA
41702019-02-27 Pedro Alves <palves@redhat.com>
4171
4172 * gdb.base/page.exp: Add tests for "set width/height -1".
4173
8ed25214
PA
41742019-02-27 Pedro Alves <palves@redhat.com>
4175
4176 * gdb.base/page.exp: Add tests for "set/show width/height" with
4177 "infinite" values.
4178
6c28e44a
TT
41792019-02-27 Tom Tromey <tromey@adacore.com>
4180
4181 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
4182 2.4.
4183 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
4184 workaround.
4185
bf9a735e
AB
41862019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
4187
4188 * gdb.base/align.exp: Extend to compile in both C and C++, and add
4189 tests for structs with static members.
4190
8791793c
TT
41912019-02-26 Tom Tromey <tromey@adacore.com>
4192
4193 * gdb.python/py-value.exp (test_value_from_buffer): Check for
4194 ValueError, not TypeError.
4195
bc2a507e
KB
41962019-02-26 Kevin Buettner <kevinb@redhat.com>
4197
4198 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
4199 call from main program.
4200
e0e7d3bd
JB
42012019-02-23 Joel Brobecker <brobecker@adacore.com>
4202
4203 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
4204 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
4205 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
4206 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
4207 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
4208
9600246d
KS
42092019-02-22 Keith Seitz <keiths@redhat.com>
4210
4211 PR symtab/23853
4212 * gdb.base/symlink-sourcefile.c: New file.
4213 * gdb.base/symlink-sourcefile.exp: New file.
4214
0c95f9ed
TT
42152019-02-20 Tom Tromey <tom@tromey.com>
4216
4217 * gdb.base/info_qt.exp: Update.
4218
6caa91b6
SM
42192019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
4220
4221 * gdb.base/source.exp: Move "error in sourced script" code to
4222 the end.
4223 * gdb.base/source-error.gdb: Move contents to
4224 source-error-1.gdb. Add new code to source source-error-1.gdb.
4225 * gdb.base/source-error-1.gdb: New file, from previous
4226 source-error.gdb.
4227
6506371f
TT
42282019-02-17 Tom Tromey <tom@tromey.com>
4229
4230 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
4231 for macro styling.
4232 * gdb.base/style.c (SOME_MACRO): New macro.
4233
a0087920
TT
42342019-02-17 Tom Tromey <tom@tromey.com>
4235
4236 * gdb.base/style.exp: Add line-wrapping tests.
4237 * gdb.base/page.exp: Add test for quitting during pagination.
4238
a2cd4f14
JB
42392019-02-17 Joel Brobecker <brobecker@adacore.com>
4240
4241 * gdb.ada/big_packed_array: New testcase.
4242 * gdb.ada/homonym.exp: Fix incorrect expected output for
4243 "break <homonym__get_value>" test.
4244
9d70ffbc
WP
42452019-02-13 Weimin Pan <weimin.pan@oracle.com>
4246
4247 PR breakpoints/21870
4248 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
4249 and prepare_for_testing. Add comment.
4250 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
4251 redundant cleanup call. Clean up comment.
4252
01c7ae81
WP
42532019-02-12 Weimin Pan <weimin.pan@oracle.com>
4254
4255 PR breakpoints/21870
4256 * gdb.arch/aarch64-dbreg-contents.exp: New file.
4257 * gdb.arch/aarch64-dbreg-contents.c: New file.
4258
aff29d1c
JB
42592019-02-10 Joel Brobecker <brobecker@adacore.com>
4260
4261 * gdb.ada/mi_ref_changeable: New testcase.
4262
df0da8a2
AH
42632019-02-07 Alan Hayward <alan.hayward@arm.com>
4264
4265 * gdb.base/attach.exp: Add double attach test.
4266
bd447abb
SM
42672019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
4268
4269 * lib/gdb.exp (default_gdb_start): Don't match pagination
4270 prompt.
4271 (gdb_init): Set stty_init.
4272
1dbc40b9
TT
42732019-01-27 Tom Tromey <tom@tromey.com>
4274
4275 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
4276 skip_python_tests.
4277
353229bf
AH
42782019-01-24 Alan Hayward <alan.hayward@arm.com>
4279
4280 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
4281 New structure.
4282 (struct struct_static_02_02): Likewise.
4283 (struct struct_static_02_03): Likewise.
4284 (struct struct_static_02_04): Likewise.
4285 (struct struct_static_04_01): Likewise.
4286 (struct struct_static_04_02): Likewise.
4287 (struct struct_static_04_03): Likewise.
4288 (struct struct_static_04_04): Likewise.
4289 (struct struct_static_06_01): Likewise.
4290 (struct struct_static_06_02): Likewise.
4291 (struct struct_static_06_03): Likewise.
4292 (struct struct_static_06_04): Likewise.
4293 (cmp_struct_static_02_01): Likewise.
4294 (cmp_struct_static_02_02): Likewise.
4295 (cmp_struct_static_02_03): Likewise.
4296 (cmp_struct_static_02_04): Likewise.
4297 (cmp_struct_static_04_01): Likewise.
4298 (cmp_struct_static_04_02): Likewise.
4299 (cmp_struct_static_04_03): Likewise.
4300 (cmp_struct_static_04_04): Likewise.
4301 (cmp_struct_static_06_01): Likewise.
4302 (cmp_struct_static_06_02): Likewise.
4303 (cmp_struct_static_06_03): Likewise.
4304 (cmp_struct_static_06_04): Likewise.
4305 (call_all): Test new structs.
4306 * gdb.base/infcall-nested-structs.exp: Likewise.
4307
73021deb
AH
43082019-01-21 Alan Hayward <alan.hayward@arm.com>
4309 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
4310
fc65c7db
AH
43112019-01-21 Alan Hayward <alan.hayward@arm.com>
4312 * gdb.base/stack-protector.c: New test.
4313 * gdb.base/stack-protector.exp: New file.
4314 * gdb.cp/ovldbreak.exp: Only allow a single break line.
4315 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
4316 option.
4317 (gdb_compile): Remove stack protector for GCC and prevent
4318 recursion.
4319
c24bdb02
KS
43202019-01-16 Keith Seitz <keiths@redhat.com>
4321
4322 PR gdb/23773
4323 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
4324
6f072a10
PFC
43252019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4326
4327 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
4328 aliases.
4329 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
4330 tests.
4331 * gdb.arch/powerpc-vector-regs.c: New file.
4332 * gdb.arch/powerpc-vector-regs.exp: New file.
4333
a7b8d682
PFC
43342019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4335
4336 * gdb.arch/altivec-regs.exp: Fix the list passed to
4337 gdb_expect_list when testing "info vector".
4338
6eb6fb67
AB
43392019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4340
4341 * gdb.base/style.exp: Don't include path in testname.
4342
b56f80d8
KS
43432019-01-10 Keith Seitz <keiths@redhat.com>
4344
4345 PR gdb/23712
4346 PR symtab/23010
4347 * gdb.dwarf2/multidictionary.exp: New file.
4348
041be526
SM
43492019-01-09 Simon Marchi <simon.marchi@ericsson.com>
4350
4351 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
4352 (test_gnuv3_style_demangling): ... this.
4353 (test_lucid_style_demangling): Remove.
4354 (test_arm_style_demangling): Remove.
4355 (test_hp_style_demangling): Remove.
4356 (do_tests): Remove calls to the above.
4357
d820d0c3
AB
43582019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4359
4360 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
4361 case.
4362
f097f5ad
TT
43632019-01-06 Tom Tromey <tom@tromey.com>
4364
4365 PR gdb/28155:
4366 * gdb.dwarf2/typedef-void-finish.exp: New file.
4367
2cd8cc0b
TT
43682018-12-28 Tom Tromey <tom@tromey.com>
4369 Simon Marchi <simark@simark.ca>
4370
4371 * gdb.base/jit-exec.exp: New file.
4372 * gdb.base/jit-exec.c: New file.
4373 * gdb.base/jit-execd.c: New file.
4374
35fb8261
TT
43752018-12-28 Tom Tromey <tom@tromey.com>
4376
4377 * gdb.base/style.exp: Update test to check for address styling.
4378
47fd17cd
TT
43792018-12-28 Tom Tromey <tom@tromey.com>
4380
4381 * gdb.base/style.exp: Add test for styling of "Reading symbols"
4382 message.
4383
d47032b7
TT
43842018-12-28 Tom Tromey <tom@tromey.com>
4385
4386 * gdb.base/style.exp: Add test for version number styling.
4387
af79b68d
TT
43882018-12-28 Tom Tromey <tom@tromey.com>
4389
4390 * gdb.base/style.exp: Add test for print_address_symbolic.
4391
0bb296cb
TT
43922018-12-28 Tom Tromey <tom@tromey.com>
4393
4394 * gdb.base/style.exp: Add test for breakpoint setting.
4395
80ae2043
TT
43962018-12-28 Tom Tromey <tom@tromey.com>
4397
4398 * gdb.base/style.exp: Add test for variable names.
4399
cbe56571
TT
44002018-12-28 Tom Tromey <tom@tromey.com>
4401
4402 * gdb.base/style.exp: New file.
4403 * gdb.base/style.c: New file.
4404
9162a27c
TT
44052018-12-28 Tom Tromey <tom@tromey.com>
4406
4407 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
4408 "dumb".
4409 * gdb.base/readline.exp (operate_and_get_next): Save and restore
4410 the TERM environment variable.
4411
bc543c90
TT
44122018-12-27 Tom Tromey <tom@tromey.com>
4413
4414 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
4415 pagination test.
4416
6f0ffe50
AB
44172018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
4418
4419 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
4420 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
4421
b5a1e557
PW
44222018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4423
4424 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
4425 Filename a.adb changed to bp_fun_addr.adb.
4426 gdb.ada/bp_fun_addr.exp: Update test accordingly.
4427
6e8b1ab2
JV
44282018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
4429
4430 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
4431 non-PIE executables.
4432 * README: Mention the gdb,nopie_flag board setting.
4433 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
4434 non-PIE executable.
4435 * gdb.arch/amd64-entry-value.exp: Likewise.
4436 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
4437 * gdb.arch/i386-float.exp: Likewise.
4438 * gdb.arch/i386-signal.exp: Likewise.
4439 * gdb.mi/mi-reg-undefined.exp: Likewise.
4440
d00a27c5
PM
44412018-12-21 Paul Marechal <paul.marechal@ericsson.com>
4442
4443 PR gdb/23974
4444 * gdb.base/info-os.exp: Check return for unknown "info os" type.
4445
161d081c
PW
44462018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4447
4448 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
4449 Update order of results accordingly.
4450
b001de23
AB
44512018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
4452
4453 * gdb.base/annota1.exp: Update a test regexp.
4454
99e1a184
AB
44552018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4456
4457 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
4458
7a81c1e2
PW
44592018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4460
4461 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
4462 (reuse_time): Initialize to REUSE_TIME_CAP.
4463 (check_rc): New function.
4464 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
4465 Check pthread_create rc.
4466 (spawner_thread_func): Check pthread_create and pthread_join rc.
4467
73e8dc90
PA
44682018-12-08 Pedro Alves <palves@redhat.com>
4469
4470 * gdb.base/list.exp (test_forward_search): Rename to ...
4471 (test_forward_reverse_search): ... this. Also test reverse-search
4472 and the forward-search alias.
4473
13f2ed32
AB
44742018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
4475
4476 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
4477 local timeout variable before return, and remove all local timeout
4478 variable entirely.
4479 (gdb_load): Likewise.
4480
64d27cfc
TV
44812018-12-01 Tom de Vries <tdevries@suse.de>
4482
4483 * gdb.base/gdb-caching-proc.exp: New file.
4484
f63c03b4
SDJ
44852018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
4486
4487 * Makefile.in (TIMESTAMP): New variable.
4488 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
4489 command.
4490 (check-single-racy): Likewise.
4491 (check/%.exp): Likewise.
4492 (check-racy/%.exp): Likewise.
4493 (workers/%.worker): Likewise.
4494 (build-perf): Likewise.
4495 (check-perf): Likewise.
4496 * README: Describe new "TS" and "TS_FORMAT" variables.
4497 * print-ts.py: New file.
4498
1c97054b
BF
44992018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
4500
4501 PR python/23714
4502 * gdb.python/python.exp: Test command repetition after
4503 gdb.execute.
4504
1871a62d
AB
45052018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
4506
4507 * gdb.opt/inline-break.exp: Add test that info breakpoint output
4508 is correctly aligned.
4509
fb5e1ed9
PW
45102018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4511
4512 * gdb.ada/info_auto_lang.exp: New testcase.
4513 * gdb.ada/info_auto_lang/global_pack.ads: New file.
4514 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
4515 * gdb.ada/info_auto_lang/some_c.c: New file.
4516
43d397ca
PW
45172018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4518
4519 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
4520 FUNC_lang language syntax.
4521
beddd671
PW
45222018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4523
4524 * gdb.base/info_minsym.c: New file.
4525 * gdb.base/info_minsym.exp: New file.
4526
73fc52c4
TT
45272018-11-19 Tom Tromey <tom@tromey.com>
4528
4529 PR rust/23625:
4530 * gdb.rust/simple.exp: Add ptype test. Update expected output.
4531 * gdb.rust/expr.exp: Update expected output. Change one test.
4532
994b876a
TT
45332018-11-19 Tom Tromey <tom@tromey.com>
4534
4535 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
4536
6769f276
PA
45372018-11-19 Pedro Alves <palves@redhat.com>
4538
4539 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
4540 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
4541 see the expected warning.
4542
38a72da0
AH
45432018-11-16 Alan Hayward <alan.hayward@arm.com>
4544
4545 PR gdb/22736:
4546 * gdb.cp/infcall-nodebug-lib.c: New test.
4547 * gdb.cp/infcall-nodebug-main.c: New test.
4548 * gdb.cp/infcall-nodebug.exp: New file.
4549
53a89d6e
SM
45502018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
4551
4552 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
4553 completer tests.
4554
9325300d
TV
45552018-11-09 Tom de Vries <tdevries@suse.de>
4556
4557 * gdb.base/msym-lang.c: New test.
4558 * gdb.base/msym-lang.exp: New file.
4559 * gdb.base/msym-lang-main.c: New test.
4560
20f0d60d
TT
45612018-11-08 Tom Tromey <tom@tromey.com>
4562
4563 PR gdb/23555:
4564 PR gdb/23838:
4565 * gdb.base/warning.exp: New file.
4566
b5420128
JB
45672018-11-08 Jan Beulich <jbeulich@suse.com>
4568
4569 * testsuite/gdb.arch/i386-avx512.c,
4570 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
4571
cd115d61
AB
45722018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
4573
4574 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
4575 point hardware.
4576
35ee2dc2
AB
45772018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
4578
4579 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
4580 * gdb.dwarf2/missing-type-name.exp: New file.
4581
31aceee8
TV
45822018-11-06 Tom de Vries <tdevries@suse.de>
4583
4584 * gdb.base/many-headers.c: New test.
4585 * gdb.base/many-headers.exp: New file.
4586
109be305
JW
45872018-11-06 Jim Wilson <jimw@sifive.com>
4588
4589 * gdb.base/code_elim.exp: For riscv, set additional_flags
4590 to include -msmall-data-limit=0.
4591
e2b7af72
JB
45922018-11-01 Joel Brobecker <brobecker@adacore.com>
4593
4594 * gdb.ada/watch_minus_l: New testcase.
4595
cdcda965
SM
45962018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
4597
4598 * gdb.arch/aix-sighandle.c: New file.
4599 * gdb.arch/aix-sighandle.exp: New file.
4600
92dcebf3
AB
46012018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4602
4603 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
4604 registers being unions.
4605
68b9ac18
TV
46062018-10-31 Tom de Vries <tdevries@suse.de>
4607
4608 * lib/valgrind.exp: New file.
4609 (vgdb_start, vgdb_stop): New procs, factored out of ...
4610 * gdb.base/valgrind-bt.exp: ... here, ...
4611 * gdb.base/valgrind-disp-step.exp: ... here and ...
4612 * gdb.base/valgrind-infcall.exp: ... here.
4613
1443936e
TV
46142018-10-31 Tom de Vries <tdevries@suse.de>
4615
4616 * lib/gdb.exp (get_valueof): Don't output read value in test name.
4617
eb77c9df
AB
46182018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4619
4620 * gdb.dwarf2/void-type.c: New file.
4621 * gdb.dwarf2/void-type.exp: New file.
4622
82b5e646
PW
46232018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4624
4625 * gdb.base/info_qt.c: New file.
4626 * gdb.base/info_qt.exp: New file.
4627
8d619c01
EBM
46282018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4629
4630 * gdb.arch/powerpc-htm-regs.c: New file.
4631 * gdb.arch/powerpc-htm-regs.exp: New file.
4632
f2cf6173
EBM
46332018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4634
4635 * gdb.arch/powerpc-tar.c: New file.
4636 * gdb.arch/powerpc-tar.exp: New file.
4637
7ca18ed6
EBM
46382018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4639
4640 * gdb.arch/powerpc-ppr-dscr.c: New file.
4641 * gdb.arch/powerpc-ppr-dscr.exp: New file.
4642
bfcc0eba
TV
46432018-10-25 Tom de Vries <tdevries@suse.de>
4644
4645 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
4646
fe1a5cad
TV
46472018-10-24 Tom de Vries <tdevries@suse.de>
4648
4649 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
4650 longer exists error.
4651
a76dc3b7
TV
46522018-10-24 Tom de Vries <tdevries@suse.de>
4653
4654 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
4655
4df46df7
TV
46562018-10-24 Tom de Vries <tdevries@suse.de>
4657
4658 * gdb.base/valgrind-db-attach.exp: Handle removed support for
4659 --db-attach in valgrind.
4660
0dbfcfff
AB
46612018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
4662
4663 * gdb.arch/riscv-reg-aliases.c: New file.
4664 * gdb.arch/riscv-reg-aliases.exp: New file.
4665
b04480b1
AH
46662018-10-19 Alan Hayward <alan.hayward@arm.com>
4667
4668 * gdb.python/py-cmd.exp: Check for gdb_prompt.
4669
2c6ac8d7
AH
46702018-10-19 Alan Hayward <alan.hayward@arm.com>
4671
4672 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4673
2bc69f25
AH
46742018-10-19 Alan Hayward <alan.hayward@arm.com>
4675
4676 * gdb.cp/ovldbreak.exp: Fix regexps.
4677
1f1ae3a3
AH
46782018-10-19 Alan Hayward <alan.hayward@arm.com>
4679
4680 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4681
94c18618
SDJ
46822018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4683
4684 PR cli/23785
4685 * gdb.base/restore.exp: New test to check if "restore" with an
4686 invalid file doesn't segfault.
4687
812cd6eb
TV
46882018-10-18 Tom de Vries <tdevries@suse.de>
4689
4690 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4691 * gdb.ada/excep_handle.exp: Same.
4692 * gdb.ada/mi_string_access.exp: Same.
4693 * gdb.ada/mi_var_union.exp: Same.
4694 * gdb.arch/arc-analyze-prologue.exp: Same.
4695 * gdb.arch/arc-decode-insn.exp: Same.
4696 * gdb.base/readnever.exp: Same.
4697 * gdb.fortran/printing-types.exp: Same.
4698 * gdb.guile/scm-lazy-string.exp: Same.
4699
c4b90788
TV
47002018-10-16 Tom de Vries <tdevries@suse.de>
4701
4702 PR gdb/23730
4703 * gdb.base/catch-follow-exec.c: Add copyright notice.
4704 * gdb.base/catch-follow-exec.exp: Rewrite to use
4705 gdb_spawn_with_cmdline_opts. Require gdb-native.
4706
8bca2978
SL
47072018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4708
4709 * gdb.trace/actions-changed.exp: Check for arch support.
4710 * gdb.trace/actions.exp: Likewise.
4711 * gdb.trace/ax.exp: Likewise.
4712 * gdb.trace/backtrace.exp: Likewise.
4713 * gdb.trace/change-loc.exp: Likewise.
4714 * gdb.trace/deltrace.exp: Likewise.
4715 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4716 * gdb.trace/ftrace.exp: Likewise.
4717 * gdb.trace/infotrace.exp: Check for arch support.
4718 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4719 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4720 * gdb.trace/mi-tsv-changed.exp: Likewise.
4721 * gdb.trace/packetlen.exp: Likewise.
4722 * gdb.trace/passc-dyn.exp: Likewise.
4723 * gdb.trace/passcount.exp: Likewise.
4724 * gdb.trace/pending.exp: Likewise.
4725 * gdb.trace/range-stepping.exp: Check for shlib support.
4726 * gdb.trace/report.exp: Check for arch support.
4727 * gdb.trace/save-trace.exp: Likewise.
4728 * gdb.trace/signal.exp: Check for signal support.
4729 * gdb.trace/tfind.exp: Check for arch support.
4730 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4731 * gdb.trace/trace-common.h: Add comment.
4732 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4733 * gdb.trace/trace-enable-disable.exp: Likewise.
4734 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4735 * gdb.trace/tracecmd.exp: Check for arch support.
4736 * gdb.trace/tspeed.exp: Check for shlib and target support.
4737 * gdb.trace/tstatus.exp: Check for arch support.
4738 * gdb.trace/tsv.exp: Likewise.
4739 * gdb.trace/while-dyn.exp: Likewise.
4740 * gdb.trace/while-stepping.exp: Likewise.
4741 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4742
f9c49bff
SM
47432018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4744
4745 * gdb.trace/tspeed.exp: Remove nowarnings.
4746 (prepare_for_trace_test): Declare "global ipalib".
4747 * gdb.trace/tspeed.c: Include unistd.h.
4748 (main): Remove superfluous printf argument.
4749
d4330bde
SL
47502018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4751
4752 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4753 directory prefix on the filename.
4754
8ecfd7bd
SDJ
47552018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4756
4757 * gdb.gdb/unittest.exp: Update expected message informing that
4758 selftests have been disabled.
4759 * gdb.server/unittest.exp: Likewise.
4760
58bbcd02
TV
47612018-10-09 Tom de Vries <tdevries@suse.de>
4762
4763 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4764 with runto_main.
4765
9f6b697b
WP
47662018-10-08 Weimin Pan <weimin.pan@oracle.com>
4767
4768 PR c++/16841
4769 * gdb.cp/virtbase2.cc: New file.
4770 * gdb.cp/virtbase2.exp: New file.
4771
add5ded5
TT
47722018-10-06 Tom Tromey <tom@tromey.com>
4773
4774 PR python/19399:
4775 * gdb.python/py-inferior.exp: Add architecture test.
4776
f9e48344
TT
47772018-10-06 Tom Tromey <tom@tromey.com>
4778
4779 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4780 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4781
2a8be203
TT
47822018-10-06 Tom Tromey <tom@tromey.com>
4783
4784 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4785 of a "throw" catchpoint.
4786
e04caa70
SDJ
47872018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4788
4789 * gdb.base/info-proc.exp: Update string expected from "help info
4790 proc".
4791
5ca8c39f
TT
47922018-10-04 Tom Tromey <tom@tromey.com>
4793
4794 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4795 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4796 (test_initial_complaints, test_empty_complaints): Update.
4797 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4798
3453e7e4
TT
47992018-10-04 Tom Tromey <tom@tromey.com>
4800
4801 PR cli/19551:
4802 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4803 * lib/gdb.exp (gdb_file_cmd): Update.
4804 * gdb.stabs/weird.exp (print_weird_var): Update.
4805 * gdb.server/solib-list.exp: Update.
4806 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4807 * gdb.mi/mi-cli.exp: Update.
4808 * gdb.linespec/linespec.exp: Update.
4809 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4810 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4811 * gdb.cp/cp-relocate.exp: Update.
4812 * gdb.base/sym-file.exp: Update.
4813 * gdb.base/relocate.exp: Update.
4814 * gdb.base/readnever.exp: Update.
4815 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4816 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4817 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4818 * gdb.base/code_elim.exp: Update.
4819 * gdb.base/break-unload-file.exp (test_break): Update.
4820 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4821 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4822 Update.
4823 * gdb.base/attach.exp (do_attach_tests): Update.
4824 * gdb.base/sepdebug.exp: Update.
4825 * gdb.python/py-section-script.exp: Update.
4826
6afcf761
TT
48272018-10-04 Tom Tromey <tom@tromey.com>
4828
4829 PR cli/22234:
4830 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4831 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4832 output.
4833
fef1b293
TT
48342018-10-04 Tom Tromey <tom@tromey.com>
4835
4836 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4837 set width and height to 0.
4838 (test_command_line_attach_run): Use -quiet.
4839
ca98345e
SL
48402018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4841
4842 * lib/gdb.exp (skip_ifunc_tests): New.
4843 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4844 other compile failures.
4845 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4846
ff34e6ae
SM
48472018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4848
4849 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4850 is_amd64_regs_target.
4851
6bb8890e
AH
48522018-10-01 Alan Hayward <alan.hayward@arm.com>
4853
4854 * gdb.arch/aarch64-sighandler-regs.c: New test.
4855 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4856 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4857
224d30d3
MM
48582018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4859
4860 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4861 assembly.
4862
f67ffa6a
AB
48632018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4864
4865 * gdb.base/frame-selection.exp: New file.
4866 * gdb.base/frame-selection.c: New file.
4867
9fc3183f
AH
48682018-09-27 Alan Hayward <alan.hayward@arm.com>
4869
4870 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4871 pthread barrier.
4872 (main): Likewise.
4873
d354055e
AB
48742018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4875
4876 * gdb.base/large-frame-1.c: New file.
4877 * gdb.base/large-frame-2.c: New file.
4878 * gdb.base/large-frame.exp: New file.
4879 * gdb.base/large-frame.h: New file.
4880
db727370
JL
48812018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4882
4883 PR gdb/20948
4884 * gdb.base/write_mem.exp: New test.
4885 * gdb.base/write_mem.c: Likewise.
4886
ae778caf
TT
48872018-09-23 Tom Tromey <tom@tromey.com>
4888
4889 PR python/18852:
4890 * gdb.python/py-parameter.exp: Add test for parameter that throws
4891 on "set".
4892
fd3ba736
TT
48932018-09-23 Tom Tromey <tom@tromey.com>
4894
4895 PR python/17284:
4896 * gdb.python/py-template.exp (test_template_arg): Add test for
4897 negative template argument number.
4898
39a24317
TT
48992018-09-23 Tom Tromey <tom@tromey.com>
4900
4901 PR python/14062:
4902 * gdb.python/python.exp: Add test for post_event error.
4903
f5769a2c
TT
49042018-09-23 Tom Tromey <tom@tromey.com>
4905
4906 PR python/18170:
4907 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4908 convert pointers to int and long.
4909
1c1e54f6
TT
49102018-09-23 Tom Tromey <tom@tromey.com>
4911
4912 PR python/20126:
4913 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4914 signed-ness conversion tests.
4915
fb4fa946
TT
49162018-09-23 Tom Tromey <tom@tromey.com>
4917
4918 PR python/18352;
4919 * gdb.python/py-value.exp (test_float_conversion): New proc.
4920 Use it.
4921
a466edac
HAQ
49222018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4923
4924 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4925
4ee9b0c5
SL
49262018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4927
4928 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4929 no readline.
4930 * gdb.base/utf8-identifiers.exp: Likewise.
4931 * gdb.cp/cpcompletion.exp: Likewise.
4932 * gdb.linespec/cpcompletion.exp: Likewise.
4933 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4934 * gdb.linespec/cpls-ops.exp: Likewise.
4935
23be8da7
RB
49362018-09-19 Richard Bunt <richard.bunt@arm.com>
4937 Chris January <chris.january@arm.com>
4938
4939 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4940 * gdb.fortran/short-circuit-argument-list.exp: New file.
4941 * gdb.fortran/short-circuit-argument-list.f90: New test.
4942
5031d0ae
SDJ
49432018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4944
4945 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4946 "arch=" keyword when executing "-stack-list-frames".
4947
b4c0d1a4
SDJ
49482018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4949
4950 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4951 "arch=" keyword when executing "-stack-list-frames".
4952
7a6d2b45
SDJ
49532018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4954
4955 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4956 break ada".
4957
8588b356
SM
49582018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4959
4960 PR python/23669
4961 * gdb.python/python.exp: Test gdb.execute("show commands").
4962
65e65158
TT
49632018-09-16 Tom Tromey <tom@tromey.com>
4964
4965 * gdb.base/new-ui.exp (do_execution_tests): Update.
4966 * gdb.base/dbx.exp (test_breakpoints): Update.
4967
bf326452
AH
49682018-09-14 Alan Hayward <alan.hayward@arm.com>
4969
4970 * lib/gdb.exp (gdb_simple_compile): Add proc.
4971 (is_elf_target): Use gdb_simple_compile.
4972 (skip_altivec_tests): Likewise.
4973 (skip_vsx_tests): Likewise.
4974 (skip_tsx_tests): Likewise.
4975 (skip_btrace_tests): Likewise.
4976 (skip_btrace_pt_tests): Likewise.
4977 (gdb_can_simple_compile): Likewise.
4978 (gdb_has_argv0): Likewise.
4979 (gdb_target_symbol_prefix): Likewise.
4980 (target_supports_scheduler_locking): Likewise.
4981
2361b0fb
TT
49822018-09-13 Tom Tromey <tom@tromey.com>
4983
4984 * Makefile.in (TAGS): Recognize proc_with_prefix and
4985 gdb_caching_proc.
4986
0ae1a321
SM
49872018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4988
4989 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4990 method.
4991
a40bf0c2
SM
49922018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4993
4994 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4995 and a few other Inferior properties when the Inferior is no
4996 longer valid.
4997
4a3fe98f
TT
49982018-09-13 Tom Tromey <tom@tromey.com>
4999
5000 PR rust/23650:
5001 * gdb.rust/simple.exp: Add test for enum field access error.
5002
098b2108
TT
50032018-09-13 Tom Tromey <tom@tromey.com>
5004
5005 PR rust/23626:
5006 * gdb.rust/simple.rs (EmptyEnum): New type.
5007 (main): Use it.
5008 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
5009
1256af7d
SM
50102018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5011
5012 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
5013 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
5014 * gdb.python/py-symtab.exp: Update test printing an objfile.
5015
4aa8e6c2
SM
50162018-09-12 Simon Marchi <simon.marchi@ericsson.com>
5017
5018 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
5019 object.
5020
c221b2f7
AH
50212018-09-12 Alan Hayward <alan.hayward@arm.com>
5022
5023 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
5024 (support_complex_tests): Use gdb_can_simple_compile.
5025 (is_ilp32_target): Likewise.
5026 (is_lp64_target): Likewise.
5027 (is_64_target): Likewise.
5028 (is_amd64_regs_target): Likewise.
5029 (is_aarch32_target): Likewise.
5030 (gdb_int128_helper): Likewise.
5031
6f1107b5
JK
50322018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5033
5034 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
5035
1f5d1570
JG
50362018-09-10 Jerome Guitton <guitton@adacore.com>
5037
5038 * gdb.ada/same_component_name: Add test for case of tagged record
5039 with variable-length fields.
5040
cc330e39
XR
50412018-09-10 Xavier Roirand <roirand@adacore.com>
5042
5043 * gdb.ada/access_to_unbounded_array.exp: New testcase.
5044 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
5045 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
5046 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
5047
b9c50e9a
XR
50482018-09-10 Xavier Roirand <roirand@adacore.com>
5049
5050 * gdb.ada/mi_string_access.exp: New testcase.
5051 * gdb.ada/mi_string_access/bar.adb: New file.
5052 * gdb.ada/mi_string_access/pck.adb: New file.
5053 * gdb.ada/mi_string_access/pck.asd: New file.
5054
2963898f
XR
50552018-09-10 Xavier Roirand <roirand@adacore.com>
5056
5057 * gdb.ada/mi_var_union.exp: New testcase.
5058 * gdb.ada/mi_var_union/bar.adb: New file.
5059 * gdb.ada/mi_var_union/pck.adb: New file.
5060 * gdb.ada/mi_var_union/pck.asd: New file.
5061
1aac008f
TT
50622018-09-08 Tom Tromey <tom@tromey.com>
5063
5064 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
5065
332cf4c9
TT
50662018-09-08 Tom Tromey <tom@tromey.com>
5067
5068 PR python/16047:
5069 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
5070 (register_pretty_printers): Register new printer.
5071 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
5072 test.
5073 * gdb.python/py-prettyprint.c (int_type3): New typedef.
5074 (an_int_type3): New global.
5075
424da6cf
JB
50762018-09-08 Joel Brobecker <brobecker@adacore.com>
5077
5078 * gdb.ada/expr_with_funcall: New testcase.
5079
2a62dfa9
JB
50802018-09-08 Joel Brobecker <brobecker@adacore.com>
5081
5082 * gdb.ada/packed_array_assign: New testcase.
5083
96b6697f
AB
50842018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
5085
5086 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
5087 names, and add test prefixes to make test names unique.
5088
e4a62c65
TV
50892018-09-05 Tom de Vries <tdevries@suse.de>
5090
5091 * gdb.dwarf2/varval.exp: Add test.
5092
dd083ee2
GB
50932018-09-04 Gary Benson <gbenson@redhat.com>
5094
5095 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
5096 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
5097
aef9346c
TT
50982018-08-31 Tom Tromey <tom@tromey.com>
5099
5100 * gdb.rust/simple.rs: Rename second variable "v".
5101
c67f2e15
AB
51022018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
5103
5104 * gdb.base/funcargs.c (use_a): New function.
5105 (recurse): Call use_a.
5106
078a0207
KS
51072018-08-29 Keith Seitz <keiths@redhat.com>
5108
5109 * gdb.compile/compile-cplus-anonymous.cc: New file.
5110 * gdb.compile/compile-cplus-anonymous.exp: New file.
5111 * gdb.compile/compile-cplus-array-decay.cc: New file.
5112 * gdb.compile/compile-cplus-array-decay.exp: New file.
5113 * gdb.compile/compile-cplus-inherit.cc: New file.
5114 * gdb.compile/compile-cplus-inherit.exp: New file.
5115 * gdb.compile/compile-cplus-member.cc: New file.
5116 * gdb.compile/compile-cplus-member.exp: New file.
5117 * gdb.compile/compile-cplus-method.cc: New file.
5118 * gdb.compile/compile-cplus-method.exp: New file.
5119 * gdb.compile/compile-cplus-mod.c: "New" file.
5120 * gdb.compile/compile-cplus-namespace.cc: New file.
5121 * gdb.compile/compile-cplus-namespace.exp: New file.
5122 * gdb.compile/compile-cplus-nested.cc: New file.
5123 * gdb.compile/compile-cplus-nested.exp: New file.
5124 * gdb.compile/compile-cplus-print.c: "New" file.
5125 * gdb.compile/compile-cplus-print.exp: "New" file.
5126 * gdb.compile/compile-cplus-virtual.cc: New file.
5127 * gdb.compile/compile-cplus-virtual.exp: New file.
5128 * gdb.compile/compile-cplus.c: "New" file.
5129 * gdb.compile/compile-cplus.exp: "New" file.
5130 * lib/compile-support.exp: New file.
5131
b0f492b9
GB
51322018-08-16 Gary Benson <gbenson@redhat.com>
5133
5134 PR gdb/13000:
5135 * gdb.base/batch-exit-status.exp: New file.
5136 * gdb.base/batch-exit-status.good-commands: Likewise.
5137 * gdb.base/batch-exit-status.bad-commands: Likewise.
5138
36eb4c5f
AH
51392018-08-29 Alan Hayward <alan.hayward@arm.com>
5140
5141 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
5142 (struct struct02): Likewise.
5143 (struct struct03): Likewise.
5144 (struct struct04): Likewise.
5145 (struct struct_01_01): New struct.
5146 (struct struct_01_02): Likewise.
5147 (struct struct_01_03): Likewise.
5148 (struct struct_01_04): Likewise.
5149 (struct struct_02_01): Likewise.
5150 (struct struct_02_02): Likewise.
5151 (struct struct_02_03): Likewise.
5152 (struct struct_02_04): Likewise.
5153 (struct struct_04_01): Likewise.
5154 (struct struct_04_02): Likewise.
5155 (struct struct_04_03): Likewise.
5156 (struct struct_04_04): Likewise.
5157 (struct struct_05_01): Likewise.
5158 (struct struct_05_02): Likewise.
5159 (struct struct_05_03): Likewise.
5160 (struct struct_05_04): Likewise.
5161 (cmp_struct01): Remove function.
5162 (cmp_struct02): Likewise.
5163 (cmp_struct03): Likewise.
5164 (cmp_struct04): Likewise.
5165 (cmp_struct_01_01): Add Function.
5166 (cmp_struct_01_02): Likewise.
5167 (cmp_struct_01_03): Likewise.
5168 (cmp_struct_01_04): Likewise.
5169 (cmp_struct_02_01): Likewise.
5170 (cmp_struct_02_02): Likewise.
5171 (cmp_struct_02_03): Likewise.
5172 (cmp_struct_02_04): Likewise.
5173 (cmp_struct_04_01): Likewise.
5174 (cmp_struct_04_02): Likewise.
5175 (cmp_struct_04_03): Likewise.
5176 (cmp_struct_04_04): Likewise.
5177 (cmp_struct_05_01): Likewise.
5178 (cmp_struct_05_02): Likewise.
5179 (cmp_struct_05_03): Likewise.
5180 (cmp_struct_05_04): Likewise.
5181 (call_all): Add new structs.
5182 * gdb.base/infcall-nested-structs.exp: Likewise.
5183
3bf9c013
JV
51842018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
5185
5186 * gdb.python/py-framefilter-mi.exp: Update regexp to
5187 check for "arch" field in frame output.
5188
450d1e88
KB
51892018-08-23 Kevin Buettner <kevinb@redhat.com>
5190
5191 * gdb.dwarf2/dw2-ranges-func.c: New file.
5192 * gdb.dwarf2/dw2-ranges-func.exp: New file.
5193
ae739fe7
SM
51942018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
5195
5196 * gdb.base/term.exp: Compare terminal settings with values from
5197 the inferior.
5198 * gdb.base/term.c: Get and set terminal settings.
5199
6d52907e
JV
52002018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
5201
5202 * lib/mi-support.exp (mi_expect_stop): Update regexp to
5203 accommodate new "arch" field in frame output.
5204 * gdb.mi/mi-return.exp: Likewise.
5205 * gdb.mi/mi-stack.exp: Likewise.
5206 * gdb.mi/mi-syn-frame.exp: Likewise.
5207 * gdb.mi/user-selected-context-sync.exp: Likewise.
5208
be2d111a
MS
52092018-08-19 Michael Spang <spang@google.com>
5210
5211 PR gdb/11786
5212 * gdb.base/gcore-tls-pie.c: New file.
5213 * gdb.base/gcore-tls-pie.exp: New file.
5214
ae3a7c47
KB
52152018-08-18 Kevin Buettner <kevinb@redhat.com>
5216
5217 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
5218 * gdb.dwarf2/varval.c: New file.
5219 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 5220
2ecae92e
AH
52212018-08-17 Alan Hayward <alan.hayward@arm.com>
5222
5223 PR gdb/18931
5224 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
5225
c1854f1d
KS
52262018-08-16 Keith Seitz <keiths@redhat.com>
5227
5228 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
5229 tests expected to pass.
5230
26fb3983
JV
52312018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
5232
5233 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
5234 -data-disassemble -a.
5235 (test_disassembly_bogus_args): Likewise.
5236
67943c00
AB
52372018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
5238
5239 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
5240
5ff2bbae
AB
52412018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5242
5243 * gdb.base/vla-optimized-out.exp: Add new test.
5244
e5bbcd0f
AB
52452018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5246
5247 * gdb.base/vla-optimized-out-o3.exp: Delete.
5248 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
5249 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
5250 deleted tests.
5251
9d4a934c
AB
52522018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
5253
5254 PR gdb/18050:
5255 * gdb.server/extended-remote-restart.c: New file.
5256 * gdb.server/extended-remote-restart.exp: New file.
5257
045cf012
SM
52582018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
5259
5260 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
5261 "set variable index = 42".
5262
87d6a7aa
SM
52632018-08-07 Simon Marchi <simon.marchi@ericsson.com>
5264
5265 * boards/index-cache-gdb.exp: New file.
5266 * gdb.dwarf2/index-cache.exp: New file.
5267 * gdb.dwarf2/index-cache.c: New file.
5268 * gdb.base/maint.exp: Check if we are using the index cache.
5269
96d68bd4
RO
52702018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5271
5272 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
5273 MAKEFLAGS.
5274
5a699617
RO
52752018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5276
5277 * dg-extract-results.sh: Move to toplevel contrib.
5278 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
5279 * Makefile.in (check-parallel-racy): Likewise.
5280
5bd18990
AB
52812018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
5282
5283 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
5284 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
5285 tests if the target supports scheduler locking.
5286
3fbbcf47
TV
52872018-08-04 Tom de Vries <tdevries@suse.de>
5288
5289 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
5290
3e1d3d8c
TT
52912018-08-02 Tom Tromey <tom@tromey.com>
5292
5293 PR symtab/16842.
5294 * gdb.cp/temargs.exp: Test "info address" of a template
5295 parameter.
5296
5abe0f0c
JV
52972018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
5298
5299 * gdb.python/py-mi-var-info-path-expression.c: New file.
5300 * gdb.python/py-mi-var-info-path-expression.py: New file.
5301 * gdb.python/py-mi-var-info-path-expression.exp: New file.
5302
fb66cde8
SDJ
53032018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
5304
5305 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
5306 error after "cannot resolve name" string.
5307
c708f4d2
AB
53082018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
5309
5310 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
5311 started.
5312 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
5313
37cc0cae
TV
53142018-07-28 Tom de Vries <tdevries@suse.de>
5315
5316 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
5317
63b4ecf7
TV
53182018-07-26 Tom de Vries <tdevries@suse.de>
5319
5320 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
5321
3c3bb058
AB
53222018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
5323
5324 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
5325 is visible.
5326
9e7f3bbb
TV
53272018-07-26 Tom de Vries <tdevries@suse.de>
5328
5329 PR breakpoints/23366
5330 * gdb.base/catch-follow-exec.c: New test.
5331 * gdb.base/catch-follow-exec.exp: New file.
5332
16f808ec
TV
53332018-07-25 Tom de Vries <tdevries@suse.de>
5334
5335 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
5336 vla-optimized-out.c.
5337
d7154a8d
JV
53382018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
5339
5340 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
5341 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
5342
232a0032
TV
53432018-07-20 Tom de Vries <tdevries@suse.de>
5344
5345 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
5346 NOCLONE macro.
5347 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
5348
fbb1d502
TV
53492018-07-19 Tom de Vries <tdevries@suse.de>
5350
5351 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
5352 regular expression.
5353
42dc7699
TV
53542018-07-18 Tom de Vries <tdevries@suse.de>
5355
5356 * gdb.base/vla-optimized-out.c: New test.
5357 * gdb.base/vla-optimized-out.exp: New file.
5358
7f1f7e23
SDJ
53592018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
5360
5361 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
5362 message "No address associated with hostname" when gdbserver
5363 cannot resolve the hostname.
5364
5759ebb3
PW
53652018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5366
5367 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
5368 Add some test prefixes to make tests unique.
5369
3606ccab
PW
53702018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5371
5372 * gdb.base/frameapply.c: New file.
5373 * gdb.base/frameapply.exp: New file.
5374
529c08b2
PW
53752018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5376
5377 * gdb.base/skip.exp: Update expected error message.
5378
c7ab0aef
SDJ
53792018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
5380 Jan Kratochvil <jan.kratochvil@redhat.com>
5381 Paul Fertser <fercerpav@gmail.com>
5382 Tsutomu Seki <sekiriki@gmail.com>
5383
5384 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
5385 parameter.
5386 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
5387 by default.
5388 * boards/native-gdbserver.exp: Likewise.
5389 * gdb.server/run-without-local-binary.exp: Improve regexp used
5390 for detecting when a remote debugging connection succeeds.
5391 * gdb.server/server-connect.exp: New file.
5392 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
5393 Do not prefix the port number with ":".
5394 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
5395 support for detecting and using it. Add '$debughost_gdbserver'
5396 to the list of arguments used to start gdbserver. Handle case
5397 when gdbserver cannot resolve a network name.
5398
16ff70dd
SDJ
53992018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
5400
5401 PR c++/23373
5402 * gdb.base/ptype-offsets.cc (struct static_member): New
5403 struct.
5404 (main) <stmember>: New variable.
5405 * gdb.base/ptype-offsets.exp: Add test for printing a struct
5406 with a static member in it.
5407
3541979f
AB
54082018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
5409
5410 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
5411 watchpoints enabled and disabled.
5412
c8ad9b9a
AB
54132018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5414
5415 * gdb.base/examine-backward.exp: Still run tests around address
5416 0x0, even if address 0x0 is not readable. Update the pattern for
5417 matching address 0x0 in expected output.
5418
e0e5e971
AB
54192018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
5420
5421 * gdb.base/share-env-with-gdbserver.c (main): Add call to
5422 malloc/free.
5423
1ea5da02
TV
54242018-07-04 Tom de Vries <tdevries@suse.de>
5425
5426 * gdb.dwarf2/dw2-error.exp: Update expected error message.
5427
471b9d15
MR
54282018-07-02 Maciej W. Rozycki <macro@mips.com>
5429
5430 PR tdep/8282
5431 * gdb.arch/mips-disassembler-options.exp: New test.
5432 * gdb.arch/mips-disassembler-options.s: New test source.
5433
75acb486
PA
54342018-06-29 Pedro Alves <palves@redhat.com>
5435
5436 * gdb.threads/names.exp: Adjust expected "info threads" output.
5437
cd2bb709
PA
54382018-06-29 Pedro Alves <palves@redhat.com>
5439
5440 * gdb.opt/inline-break.exp (line number, address): Add "info
5441 break" tests.
5442
991ff292
PA
54432018-06-29 Pedro Alves <palves@redhat.com>
5444
5445 * gdb.opt/inline-break.c (func1): Add "break here" marker.
5446 * gdb.opt/inline-break.exp: Test setting breakpoints by line
5447 number and address and running to them.
5448
356819b6 54492018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
5450
5451 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
5452
2512d7ef
JK
54532018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5454
5455 * lib/compiler.c: Remove executable permission flag.
5456
be1b6474
RB
54572018-06-28 Richard Bunt <richard.bunt@arm.com>
5458
5459 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
5460 code.
5461 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
5462
291f9a96
PT
54632018-06-28 Petr Tesarik <ptesarik@suse.cz>
5464
5465 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
5466
ed6dfe51
PT
54672018-06-28 Petr Tesarik <ptesarik@suse.cz>
5468
5469 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
5470 address argument is omitted.
5471
d4d429d5
PT
54722018-06-28 Petr Tesarik <ptesarik@suse.cz>
5473
5474 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
5475
7ab6656f
OJ
54762018-06-27 Omair Javaid <omair.javaid@linaro.org>
5477
5478 PR gdb/21695
5479 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
5480 * gdb.base/infoline-reloc-main-from-zero.c: New file.
5481
a33ccfc7
TT
54822018-06-26 Tom Tromey <tom@tromey.com>
5483
5484 PR rust/22574:
5485 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
5486 * gdb.rust/simple.rs (struct SimpleLayout): New.
5487
6d72d289
SM
54882018-06-22 Simon Marchi <simon.marchi@ericsson.com>
5489
5490 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
5491 "info registers" output.
5492
8363f9d5
RB
54932018-06-21 Richard Bunt <richard.bunt@arm.com>
5494
5495 * gdb.base/watchpoint-hw-attach.c: New test.
5496 * gdb.base/watchpoint-hw-attach.exp: New file.
5497
f00674fe
SM
54982018-06-20 Simon Marchi <simon.marchi@ericsson.com>
5499
5500 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
5501 through /bin/sh.
5502 * boards/dwarf4-gdb-index.exp: Likewise.
5503 * boards/fission-dwp.exp: Likewise.
5504
1d554008
UW
55052018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
5506
5507 * gdb.base/float128.exp: Add comment and improved fail message
5508 to the failure case of "print large128" test.
5509
d0ac1c44
SM
55102018-06-19 Simon Marchi <simon.marchi@ericsson.com>
5511
5512 * configure.ac: Remove AC_PREREQ.
5513 * configure: Re-generate.
5514
61b04dd0
PA
55152018-06-19 Pedro Alves <palves@redhat.com>
5516
5517 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
5518 (func_extern_caller): New.
5519 (main): Call func_extern_caller.
5520 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
5521 logic change.
5522
f63b508a
SM
55232018-06-18 Weimin Pan <weimin.pan@oracle.com>
5524
5525 PR gdb/16841
5526 * gdb.cp/typedef-base.cc: New file.
5527 * gdb.cp/typedef-base.exp: New file.
5528
0fe3a558
TV
55292018-06-18 Tom de Vries <tdevries@suse.de>
5530
5531 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
5532
7010835a
AB
55332018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5534 Richard Bunt <Richard.Bunt@arm.com>
5535
5536 * gdb.threads/attach-slow-waitpid.c: New file.
5537 * gdb.threads/attach-slow-waitpid.exp: New file.
5538 * gdb.threads/slow-waitpid.c: New file.
5539
14897d65
PA
55402018-06-14 Pedro Alves <palves@redhat.com>
5541
5542 * gdb.base/fork-running-state.c: Include <errno.h>.
5543 (exit_if_relative_exits): New.
5544 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
5545 exits.
5546 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
5547 child exits.
5548
5d9a0608
TV
55492018-06-14 Tom de Vries <tdevries@suse.de>
5550
5551 PR cli/22573
5552 * gdb.base/finish-pretty.c: New test.
5553 * gdb.base/finish-pretty.exp: New file.
5554
11ae5818
PA
55552018-06-14 Pedro Alves <palves@redhat.com>
5556
5557 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
5558 gdb's expected startup output.
5559
1d39de44
PA
55602018-06-14 Pedro Alves <palves@redhat.com>
5561
5562 * lib/selftest-support.exp (selftest_setup): Remove inlined
5563 function handling.
5564
70ee0000
TV
55652018-06-14 Tom de Vries <tdevries@suse.de>
5566
5567 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
5568 matching of breakpoint printing.
5569
11f4b608
TV
55702018-06-13 Tom de Vries <tdevries@suse.de>
5571
5572 PR testsuite/23269
5573 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
5574 (fork_child): ... here, and ...
5575 (fork_parent): ... here.
5576
55772018-06-12 Tom de Vries <tdevries@suse.de>
5578
5579 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
5580
9516f85a
AB
55812018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
5582 Stephen Roberts <stephen.roberts@arm.com>
5583
5584 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
5585 rewrite test to describe action performed, rather than possible
5586 failure.
5587
5045b3d7
GB
55882018-06-08 Gary Benson <gbenson@redhat.com>
5589
5590 * gdb.threads/check-libthread-db.exp: New file.
5591 * gdb.threads/check-libthread-db.c: Likewise.
5592
c61b06a1
TT
55932018-06-05 Tom Tromey <tom@tromey.com>
5594
5595 * gdb.base/default.exp: Update expected "show version" output.
5596
eb6af809
TT
55972018-06-05 Tom Tromey <tom@tromey.com>
5598
5599 PR cli/12326:
5600 * gdb.cp/static-print-quit.exp: Update.
5601 * lib/gdb.exp (pagination_prompt): Update.
5602 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
5603 * gdb.python/python.exp: Update.
5604
178d6a63
JB
56052018-06-04 Joel Brobecker <brobecker@adacore.com>
5606
5607 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
5608
8e817061
JB
56092018-06-01 Joel Brobecker <brobecker@adacore.com>
5610
5611 * gdb.ada/bp_fun_addr: New testcase.
5612
e86ca25f
TT
56132018-06-01 Tom Tromey <tom@tromey.com>
5614
5615 * gdb.xml/tdesc-regs.exp (load_description): Update expected
5616 results.
5617 * gdb.dwarf2/method-ptr.exp: Set language to C++.
5618 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
5619 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
5620 * gdb.base/maint.exp (maint_pass_if): Update.
5621
4b2dfa9d
MR
56222018-05-31 Maciej W. Rozycki <macro@mips.com>
5623
5624 * gdb.base/endian.exp: New test.
5625 * gdb.base/endian.c: New test source.
5626
45f25d6c
AB
56272018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
5628
5629 PR gdb/23203
5630 * gdb.base/bt-selected-frame.c: New file.
5631 * gdb.base/bt-selected-frame.exp: New file.
5632 * lib/gdb.exp (get_current_frame_number): New function.
5633
d9f6d7f8
MR
56342018-05-24 Maciej W. Rozycki <macro@mips.com>
5635 Pedro Alves <palves@redhat.com>
5636
5637 * gdb.threads/tls-core.c: Include <stdlib.h>
5638 (thread_proc): Call `abort'.
5639 * gdb.threads/tls-core.exp: Generate a core with core_find too.
5640 (tls_core_test): New procedure, bits factored out from ...
5641 (top level): ... here. Test both native cores and gcore cores.
5642
ff1cf532
TT
56432018-05-23 Tom Tromey <tom@tromey.com>
5644
5645 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
5646
b98664d3
TT
56472018-05-23 Tom Tromey <tom@tromey.com>
5648
5649 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
5650 symfile_complaints.
5651 (test_short_complaints): Likewise.
5652 (test_empty_complaints): Likewise.
5653 (test_initial_complaints): Update.
5654
4e9668d0
TT
56552018-05-23 Tom Tromey <tom@tromey.com>
5656
5657 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
5658
43ba33c7
TT
56592018-05-23 Tom Tromey <tom@tromey.com>
5660
5661 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
5662 (test_short_complaints): Update.
5663
035522c0
PA
56642018-05-22 Pedro Alves <palves@redhat.com>
5665
5666 * gdb.base/remote.exp: Only gdb_start after compiling the
5667 testcase. Issue "disconnect" before testing "set remote" command
5668 defaults. Issue clean_restart before running to main.
5669
cc0be08f
PA
56702018-05-22 Pedro Alves <palves@redhat.com>
5671
5672 * gdb.base/remote.exp: Adjust expected output of "show remote
5673 memory-write-packet-size". Add tests for "set remote
5674 memory-write-packet-size 0" and "set remote
5675 memory-write-packet-size fixed/limit".
5676
b1b60145
PA
56772018-05-22 Pedro Alves <palves@redhat.com>
5678
5679 PR gdb/22973
5680 * gdb.base/utf8-identifiers.c: New file.
5681 * gdb.base/utf8-identifiers.exp: New file.
5682
0ec848ad
PFC
56832018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5684
5685 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5686
2c3305f6
PFC
56872018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5688
5689 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5690
ce1e8424
TT
56912018-05-18 Tom Tromey <tom@tromey.com>
5692
5693 * gdb.base/ptype-offsets.exp: Update.
5694
ddfe970e
KS
56952018-05-17 Keith Seitz <keiths@redhat.com>
5696
5697 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5698 in expected breakpoint stop locations.
5699 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5700 move to proper scope to test variable values.
5701 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5702 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5703 New functions.
5704 (main): Call not_inline_func3.
5705 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5706 inline_func1, inline_func2, and inline_func3. Test that when each
5707 breakpoint is hit, GDB properly reports both the stop location
5708 and the backtrace. Repeat tests for temporary breakpoints.
5709
0726fcc6
MR
57102018-05-15 Maciej W. Rozycki <macro@mips.com>
5711
5712 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5713 rather then trying to access it in determining whether the PID
5714 of `gdbserver' could have been retrieved.
5715
8ee22052
AB
57162018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5717
5718 * gdb.arch/amd64-init-x87-values.S: New file.
5719 * gdb.arch/amd64-init-x87-values.exp: New file.
5720
7785df48
JK
57212018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5722
5723 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5724
56bcdbea
TT
57252018-05-04 Tom Tromey <tom@tromey.com>
5726
5727 PR python/22730:
5728 * gdb.python/python.exp: Test multi-line execute.
5729
a913fffb
TT
57302018-05-04 Tom Tromey <tom@tromey.com>
5731
5732 PR python/22731:
5733 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5734
7a2c85f2
TT
57352018-05-04 Tom Tromey <tom@tromey.com>
5736
5737 PR gdb/11750:
5738 * gdb.base/define.exp: Test defining a user command inside a user
5739 command.
5740 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5741
a3b60e45
JK
57422018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5743 Pedro Alves <palves@redhat.com>
5744
5745 PR breakpoints/19806 and support for PR external/20207.
5746 * gdb.base/watchpoint-unaligned.c: New file.
5747 * gdb.base/watchpoint-unaligned.exp: New file.
5748
45fe4a03
AB
57492018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5750
5751 * gdb.base/maint.exp: Make test names unique, use
5752 test_prefix_command_help to test 'help maint info', and remove
5753 repeated test of 'help maint'.
5754
9be2ae8f
TT
57552018-05-04 Tom Tromey <tom@tromey.com>
5756
5757 PR gdb/22619:
5758 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5759 behavior.
5760
11859c31
AB
57612018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5762
5763 * gdb.base/maint.exp: Process output from 'maint print registers'
5764 line at a time.
5765
089a9490
AB
57662018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5767
5768 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5769 timeout.
5770
9b0797e2
AB
57712018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5772
5773 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5774 filter pattern.
5775
f6ac5f3d
PA
57762018-05-02 Pedro Alves <palves@redhat.com>
5777
5778 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5779 to_log_command renames.
5780 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5781
77d3c63b
TT
57822018-05-02 Tom Tromey <tom@tromey.com>
5783
5784 * gdb.python/py-parameter.exp: Set test message.
5785
0489430a
TT
57862018-05-02 Tom Tromey <tom@tromey.com>
5787
5788 PR python/20084:
5789 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5790 PARAM_ZUINTEGER_UNLIMITED tests.
5791
1632f8ba
DR
57922018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5793
5794 PR rust/23124
5795 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5796 when casting.
5797
6d7bb824
TT
57982018-04-30 Tom Tromey <tom@tromey.com>
5799
5800 * gdb.python/py-type.exp: Check align attribute.
5801 * gdb.python/py-type.c: New "aligncheck" global.
5802
007e1530
TT
58032018-04-30 Tom Tromey <tom@tromey.com>
5804
5805 PR exp/17095:
5806 * gdb.dwarf2/dw2-align.exp: New file.
5807 * gdb.cp/align.exp: New file.
5808 * gdb.base/align.exp: New file.
5809 * lib/gdb.exp (gdb_int128_helper): New proc.
5810 (has_int128_c, has_int128_cxx): New caching procs.
5811
6873858b
TT
58122018-04-27 Tom Tromey <tom@tromey.com>
5813
5814 PR rust/22545:
5815 * gdb.rust/simple.exp: Add inclusive range tests.
5816
79188d8d
PA
58172018-04-26 Pedro Alves <palves@redhat.com>
5818
5819 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5820 ifunc breakpoint locations correctly of ifunc breakpoints set
5821 while the program resolves the ifunc.
5822
c7075ad5
PA
58232018-04-26 Pedro Alves <palves@redhat.com>
5824
5825 * gdb.base/gnu-ifunc-final.c: New file.
5826 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5827 * gdb.base/gnu-ifunc.exp (executable): Delete.
5828 (staticexecutable): Adjust.
5829 (lib_opts, exec_opts): Delete.
5830 (make_binsuffix, build, set-break): New procedures.
5831 (misc_tests): New, with tests factored out from the top level.
5832 (top level): Test different combinations of ifunc resolver name,
5833 resolver with and with debug info, and ifunc target with and
5834 without debug info. Wrap static tests with with_target_prefix.
5835
8388016d
PA
58362018-04-26 Pedro Alves <palves@redhat.com>
5837
5838 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5839 return type" warnings.
5840
249b5733
PA
58412018-04-25 Pedro Alves <palves@redhat.com>
5842
5843 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5844 killed".
5845 * gdb.base/kill-after-signal.exp: Likewise.
5846 * gdb.threads/kill.exp: Likewise.
5847
f67c0c91
SDJ
58482018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5849 Sergio Durigan Junior <sergiodj@redhat.com>
5850 Pedro Alves <palves@redhat.com>
5851
5852 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5853 regexps to expect for '[Inferior ... detached]' as well.
5854 * gdb.base/attach.exp: Likewise.
5855 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5856 "gdb_continue_to_end".
5857 (test_catch_syscall_with_wrong_args): Likewise.
5858 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5859 ']'. Don't set 'verbose' on.
5860 * gdb.base/foll-vfork.exp: Likewise.
5861 * gdb.base/fork-print-inferior-events.c: New file.
5862 * gdb.base/fork-print-inferior-events.exp: New file.
5863 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5864 '[Inferior ... has been killed]' message.
5865 * gdb.base/kill-after-signal.exp: Likewise.
5866 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5867 detach message.
5868 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5869 message.
5870 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5871 regexps to expect for '[Inferior ... detached]' as well.
5872 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5873
0a8ddac4
SM
58742018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5875
5876 PR gdb/23104
5877 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5878
701adfb0
PA
58792018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5880
5881 PR gdb/23095
5882 * gdb.base/break-probes.exp: Pass shlib_load to
5883 prepare_for_testing. Set normal_bp to r_debug_state if target is
5884 bsd.
5885
d27d16bf
RB
58862018-04-19 Richard Bunt <richard.bunt@arm.com>
5887
5888 * gdb.threads/multiple-successive-infcall.c: New test.
5889 * gdb.threads/multiple-successive-infcall.exp: New file.
5890
a037790e
TT
58912018-04-17 Tom Tromey <tom@tromey.com>
5892
5893 * gdb.rust/simple.rs (Union): New type.
5894 (main): New local "u".
5895 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5896
e3a91079
AA
58972018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5898
5899 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5900 number information in output of "whereis" command.
5901 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5902
b744723f
AA
59032018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5904
5905 * gdb.ada/info_types.exp: Adjust expected output to the line
5906 numbers now printed by "info var/func/type".
5907 * gdb.base/completion.exp: Likewise.
5908 * gdb.base/included.exp: Likewise.
5909 * gdb.cp/cp-relocate.exp: Likewise.
5910 * gdb.cp/cplusfuncs.exp: Likewise.
5911 * gdb.cp/namespace.exp: Likewise.
5912 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5913
4a4495d6
MM
59142018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5915
5916 * gdb.btrace/cpu.exp: New.
5917
1d509aa6
MM
59182018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5919
5920 * gdb.base/step-indirect-call-thunk.exp: New.
5921 * gdb.base/step-indirect-call-thunk.c: New.
5922 * gdb.reverse/step-indirect-call-thunk.exp: New.
5923 * gdb.reverse/step-indirect-call-thunk.c: New.
5924
6295b6da
SM
59252018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5926
5927 * gdb.base/pie-fork.c: New file.
5928 * gdb.base/pie-fork.exp: New file.
5929
50146e70
TT
59302018-04-11 Tom Tromey <tom@tromey.com>
5931
5932 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5933
f50d8a2e
PA
59342018-04-10 Pedro Alves <palves@redhat.com>
5935
5936 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5937 exits. Instead loop running forever.
5938 (fork_parent): Run forever too.
5939
a0be7a36
SM
59402018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5941
5942 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5943 mi_continue_to_line.
5944 * gdb.mi/mi-stack.c (callee4): Add comment.
5945
9b73db36
SM
59462018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5947
5948 * gdb.mi/mi-stack.exp: Fix indentation.
5949
c912f608
SM
59502018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5951
5952 PR gdb/22979
5953 * gdb.arch/amd64-osabi.exp: New file.
5954
26540402
SM
59552018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5956
5957 PR gdb/22980
5958 * gdb.base/osabi.exp: New file.
5959
121ad66c 59602018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
5961
5962 * gdb.cp/static-typedef-print.exp: New file.
5963 * gdb.cp/static-typedef-print.cc: New file.
5964
3fcded8f
JB
59652018-03-27 Joel Brobecker <brobecker@adacore.com>
5966
5967 * gdb.ada/varsize_limit: New testcase.
5968
59cc4834
JB
59692018-03-27 Joel Brobecker <brobecker@adacore.com>
5970
5971 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5972
5973 * gdb.ada/notcplusplus: New testcase.
5974
5975 * gdb.base/c-linkage-name.c: New file.
5976 * gdb.base/c-linkage-name.exp: New testcase.
5977
4ca59a9f
TT
59782018-03-26 Tom Tromey <tom@tromey.com>
5979
5980 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5981 * gdb.python/py-framefilter.py (name_error): New global.
5982 (ErrorInName.function): Use name_error.
5983
978d6c75
TT
59842018-03-26 Tom Tromey <tom@tromey.com>
5985
5986 PR backtrace/15582:
5987 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5988
b7fee5a3
KS
59892018-03-23 Keith Seitz <keiths@redhat.com>
5990
5991 PR c++/22968
5992 * gdb.cp/subtypes.exp: New file.
5993 * gdb.cp/subtypes.h: New file.
5994 * gdb.cp/subtypes.cc: New file.
5995 * gdb.cp/subtypes-2.cc: New file.
5996
376be529
AB
59972018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5998
5999 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
6000 (done): Call '_exit' not 'exit' to avoid atexit handlers.
6001 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
6002 -nostartfiles when compiling the test. Confirm that all registers
6003 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
6004
066cfa98
AB
60052018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6006
6007 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
6008 option, syntax was wrong anyway.
6009 * gdb.arch/arm-disp-step.exp: Likewise.
6010 * gdb.arch/sparc64-regs.exp: Likewise.
6011 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
6012 option, syntax was wrong anyway, switch to use
6013 prepare_for_testing.
6014 * gdb.arch/i386-disp-step.exp: Likewise.
6015
079670b9
AA
60162018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
6017
6018 * gdb.ada/exec_changed.exp: Replace "target_info exists
6019 use_gdb_stub" by "use_gdb_stub".
6020 * gdb.ada/start.exp: Likewise.
6021 * gdb.base/async-shell.exp: Likewise.
6022 * gdb.base/attach-pie-misread.exp: Likewise.
6023 * gdb.base/attach-wait-input.exp: Likewise.
6024 * gdb.base/break-entry.exp: Likewise.
6025 * gdb.base/break-interp.exp: Likewise.
6026 * gdb.base/dprintf-detach.exp: Likewise.
6027 * gdb.base/nostdlib.exp: Likewise.
6028 * gdb.base/solib-nodir.exp: Likewise.
6029 * gdb.base/statistics.exp: Likewise.
6030 * gdb.base/testenv.exp: Likewise.
6031 * gdb.mi/mi-exec-run.exp: Likewise.
6032 * gdb.mi/mi-start.exp: Likewise.
6033 * gdb.multi/dummy-frame-restore.exp: Likewise.
6034 * gdb.multi/multi-arch-exec.exp: Likewise.
6035 * gdb.multi/multi-arch.exp: Likewise.
6036 * gdb.multi/tids.exp: Likewise.
6037 * gdb.multi/watchpoint-multi.exp: Likewise.
6038 * gdb.python/py-events.exp: Likewise.
6039 * gdb.threads/attach-into-signal.exp: Likewise.
6040 * gdb.threads/attach-stopped.exp: Likewise.
6041 * gdb.threads/threadapply.exp: Likewise.
6042 * lib/selftest-support.exp: Likewise.
6043
26d6cec4
AA
60442018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
6045
6046 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
6047
4ee89e90
SR
60482018-03-20 Stephen Roberts <stephen.roberts@arm.com>
6049
6050 * gdb.perf/template-breakpoints.cc: New file.
6051 * gdb.perf/template-breakpoints.exp: New file.
6052 * gdb.perf/template-breakpoints.py: New file.
6053
92630041
TT
60542018-03-19 Tom Tromey <tom@tromey.com>
6055
6056 * gdb.rust/simple.rs (main): Add local variables field1, field2,
6057 y0.
6058 * gdb.rust/simple.exp: Test bare identifier form of struct
6059 initializer.
6060
76727919
TT
60612018-03-19 Tom Tromey <tom@tromey.com>
6062
6063 * gdb.gdb/observer.exp: Remove.
6064
194ed413
AA
60652018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6066
6067 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
6068 "qualified" option when setting breakpoints.
6069 * gdb.trace/backtrace.exp: Likewise.
6070 * gdb.trace/circ.exp: Likewise.
6071 * gdb.trace/collection.exp: Likewise.
6072 * gdb.trace/disconnected-tracing.exp: Likewise.
6073 * gdb.trace/ftrace-lock.exp: Likewise.
6074 * gdb.trace/ftrace.exp: Likewise.
6075 * gdb.trace/infotrace.exp: Likewise.
6076 * gdb.trace/packetlen.exp: Likewise.
6077 * gdb.trace/passc-dyn.exp: Likewise.
6078 * gdb.trace/qtro.exp: Likewise.
6079 * gdb.trace/read-memory.exp: Likewise.
6080 * gdb.trace/report.exp: Likewise.
6081 * gdb.trace/signal.exp: Likewise.
6082 * gdb.trace/status-stop.exp: Likewise.
6083 * gdb.trace/strace.exp: Likewise.
6084 * gdb.trace/tfind.exp: Likewise.
6085 * gdb.trace/trace-break.exp: Likewise.
6086 * gdb.trace/trace-condition.exp: Likewise.
6087 * gdb.trace/trace-mt.exp: Likewise.
6088 * gdb.trace/tstatus.exp: Likewise.
6089 * gdb.trace/tsv.exp: Likewise.
6090 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6091 * gdb.trace/unavailable.exp: Likewise.
6092 * gdb.trace/while-dyn.exp: Likewise.
6093
8b067d2c
AA
60942018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6095
6096 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
6097 that libinproctrace is copied to the target.
6098
3ae9ce5d
TT
60992018-03-14 Tom Tromey <tom@tromey.com>
6100
6101 PR cli/14977:
6102 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
6103 a null pointer.
6104 * gdb.base/wchar.exp: Likewise.
6105
b8c2339b
TT
61062018-03-14 Tom Tromey <tom@tromey.com>
6107
6108 PR cli/19918:
6109 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
6110 flag.
6111
4872dc46
SM
61122018-03-08 Simon Marchi <simon.marchi@ericsson.com>
6113
6114 PR gdb/22841
6115 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
6116 "target" to remote_exec.
6117
e4fe3756
SM
61182018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
6119
6120 PR gdb/22841
6121 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
6122 ${board}_upload): Remove.
6123
e95a97d4
AA
61242018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
6125
6126 * gdb.cp/watch-cp.cc: New test.
6127 * gdb.cp/watch-cp.exp: New file.
6128
dbbb1059
AB
61292018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6130
6131 * gdb.base/infcall-nested-structs.exp: New file.
6132 * gdb.base/infcall-nested-structs.c: New file.
6133 * gdb.base/float.exp: Add riscv support.
6134
ecc054c0
TP
61352018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
6136
6137 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
6138 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
6139
25e3c82c
SDJ
61402018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
6141
6142 * gdb.server/abspath.exp: New file.
6143 * lib/gdb.exp (with_cwd): New procedure.
6144
3083294d
SM
61452018-02-28 Simon Marchi <simon.marchi@ericsson.com>
6146
6147 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
6148 use it.
6149 (gdb_is_target_remote_prompt): New proc.
6150 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
6151 (gdb_is_target_native): Pass prompt parameter to
6152 gdb_is_target_1.
6153
3275ef47
SM
61542018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
6155
6156 * gdb.base/load-command.c: New file.
6157 * gdb.base/load-command.exp: New file.
6158 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
6159 (gdb_is_target_1): ...this, and generalize for other targets
6160 than just remote.
6161 (gdb_is_target_remote): Use gdb_is_target_1.
6162 (gdb_is_target_native): use gdb_is_target_1.
6163
6893c19a
TT
61642018-02-26 Tom Tromey <tom@tromey.com>
6165
6166 PR python/16497:
6167 * gdb.python/py-framefilter.exp: Update test.
6168
2ddeaf8a
TT
61692018-02-26 Tom Tromey <tom@tromey.com>
6170
6171 * gdb.dwarf2/variant.c: New file.
6172 * gdb.dwarf2/variant.exp: New file.
6173
c9317f21
TT
61742018-02-26 Tom Tromey <tom@tromey.com>
6175
6176 * gdb.rust/simple.exp: Accept more possible results in enum test.
6177
6f6d0c26
SM
61782018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
6179
6180 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
6181 parentheses.
6182
11b03145
MR
61832018-02-23 Maciej W. Rozycki <macro@mips.com>
6184
6185 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
6186 name of a variable: $actual_linejj -> $actual_line.
6187
54a27fe5
JB
61882018-02-21 John Baldwin <jhb@FreeBSD.org>
6189
6190 * gdb.arch/amd64-i386-address.exp: Fix a typo.
6191
de65820c
MM
61922018-02-20 Markus Metzger <markus.t.metzger@intel.com>
6193
6194 * gdb.btrace/buffer-size.exp: Do not force BTS.
6195
980548fd
PA
61962018-02-14 Pedro Alves <palves@redhat.com>
6197
6198 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
6199 getting a "Quit".
6200
c4e12631
MM
62012018-02-09 Markus Metzger <markus.t.metzger@intel.com>
6202
6203 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
6204 Fix test name.
6205
c2e0e465
SM
62062018-02-07 Simon Marchi <simon.marchi@ericsson.com>
6207
6208 * gdb.cp/m-static.exp: Check type of optimized out static
6209 member.
6210
f7216783
AB
62112018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
6212
6213 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
6214 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
6215
0625771b
LS
62162018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
6217 Leszek Swirski <leszeks@google.com>
6218
6219 * gdb.python/py-prettyprint.c
6220 (struct to_string_returns_value_inner,
6221 struct to_string_returns_value_wrapper): New.
6222 (main): Add tsrvw variable.
6223 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
6224 ToStringReturnsValueWrapper): New classes.
6225 (register_pretty_printers): Register new pretty-printers.
6226 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
6227 recursive pretty printer.
6228 * gdb.python/py-mi.exp: Likewise.
6229
59498c30
LS
62302018-02-01 Leszek Swirski <leszeks@google.com>
6231
6232 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
6233 functions with the same name as an include file are parsed
6234 correctly.
6235
d4d38844
YQ
62362018-02-01 Yao Qi <yao.qi@linaro.org>
6237
6238 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
6239 "\[^\r\n\]*".
6240
07e5f5cf
NP
62412018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
6242
6243 * gdb.arch/powerpc-prologue-frame.s: New file.
6244 * gdb.arch/powerpc-prologue-frame.c: Likewise.
6245 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
6246
929b5ad4
JB
62472018-01-31 Joel Brobecker <brobecker@adacore.com>
6248
6249 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
6250
e671cd59
PA
62512018-01-30 Pedro Alves <palves@redhat.com>
6252
6253 PR gdb/13211
6254 * gdb.base/interrupt-daemon.c: New.
6255 * gdb.base/interrupt-daemon.exp: New.
6256 * gdb.multi/multi-term-settings.c: New.
6257 * gdb.multi/multi-term-settings.exp: New.
6258
fc413dc4
JB
62592018-01-30 Joel Brobecker <brobecker@adacore.com>
6260
6261 * gdb.base/break.exp: Save the location where the breakpoint
6262 on break.c:47 was actually inserted when debugging the version
6263 compiled at -O2 and use it in the expected output of the "info
6264 break" test performed soon after.
6265
5c319bb2
PA
62662018-01-22 Pedro Alves <palves@redhat.com>
6267 Sergio Durigan Junior <sergiodj@redhat.com>
6268
6269 * gdb.base/whatis.exp: Add tests for 'set print object on' +
6270 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
6271
a9e40818
JB
62722018-01-22 Joel Brobecker <brobecker@adacore.com>
6273
6274 * gdb.base/break-include.c, gdb.base/break-include.inc,
6275 gdb.base/break-include.exp: New files.
6276 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
6277 line number now being the actual line number where the breakpoint
6278 was inserted.
6279 * gdb.mi/mi-break.exp: Likewise.
6280 * gdb.mi/mi-reverse.exp: Likewise.
6281 * gdb.mi/mi-simplerun.exp: Ditto.
6282
e707fc44
AB
62832018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6284
6285 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
6286 varobj.
6287 * gdb.mi/mi-var-create-rtti.exp: Likewise.
6288
ae451627
AB
62892018-01-21 Don Breazeal <donb@codesourcery.com>
6290 Andrew Burgess <andrew.burgess@embecosm.com>
6291
6292 * gdb.mi/basics.c: Add new global.
6293 * gdb.mi/mi-frame-regs.exp: New file.
6294 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
6295 case.
6296
b1b189e0
AB
62972018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6298
6299 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
6300 non-parameter, and on an unknown symbol.
6301
fcfcc376
TT
63022018-01-19 Tom Tromey <tom@tromey.com>
6303
6304 * gdb.rust/modules.rs (TWENTY_THREE): New global.
6305 * gdb.rust/modules.exp: Add ::-qualified lookup test.
6306
634c1c31
AA
63072018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6308
6309 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
6310 setrlimit and chdir to int.
6311
d6ad07fd
AA
63122018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6313
6314 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
6315 function.
6316 (my_tend): Likewise.
6317 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
6318 rationale of avoiding FP- and vector instructions.
6319
adf8243b
RK
63202018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
6321
6322 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
6323 "info reg" with "\[ \t\]*".
6324 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
6325 "\[ \t\]+".
6326 * gdb.arch/s390-multiarch.exp: Ditto.
6327 * gdb.base/pc-fp.exp: Ditto.
6328 * gdb.reverse/i386-precsave.exp: Ditto.
6329 * gdb.reverse/i386-reverse.exp: Ditto.
6330 * gdb.reverse/i387-env-reverse.exp: Ditto.
6331 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6332
dcc06925
AA
63332018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6334
6335 * lib/gdb.exp (gdb_compile): Re-enable use of
6336 universal_compile_options for languages other than Rust.
6337
25d4fd80
AA
63382018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6339
6340 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
6341
ee7f689e 63422018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
6343
6344 PR gdb/16577
6345 * gdb.base/solib-vanish.exp: New.
6346 * gdb.base/solib-vanish-main.c: New.
6347 * gdb.base/solib-vanish-lib1.c: New.
6348 * gdb.base/solib-vanish-lib2.c: New.
6349
d8447b6b
YQ
63502018-01-17 Yao Qi <yao.qi@linaro.org>
6351
6352 * gdb.compile/compile.exp: Match the address printed for
6353 frame in the output of command "bt".
6354
86d6a90c
TT
63552018-01-15 Tom Tromey <tom@tromey.com>
6356
6357 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
6358 compute sp_reg.
6359
cbcdb1aa
AB
63602018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6361
6362 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
6363 to prepare.
6364 (prepare): Return 0 on error, 1 on success.
6365
eea61984
PA
63662018-01-12 Pedro Alves <palves@redhat.com>
6367
6368 * gdb.base/continue-after-aborted-step-over.c: New.
6369 * gdb.base/continue-after-aborted-step-over.exp: New.
6370
6181e9c2
SM
63712018-01-11 Simon Marchi <simon.marchi@ericsson.com>
6372
6373 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
6374 options when not creating an executable.
6375
3cada740
PA
63762018-01-11 Pedro Alves <palves@redhat.com>
6377
6378 PR remote/22597
6379 * gdb.server/stop-reply-no-thread.c: New file.
6380 * gdb.server/stop-reply-no-thread.exp: New file.
6381
c63d3e8d
PA
63822018-01-10 Pedro Alves <palves@redhat.com>
6383
6384 PR gdb/22670
6385 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
6386 functions too. Test setting breakpoints and printing C functions
6387 with no debug info too.
6388 * gdb.ada/bp_c_mixed_case/qux.c: New file.
6389
d4c2a405
PA
63902018-01-10 Pedro Alves <palves@redhat.com>
6391
6392 PR gdb/22670
6393 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
6394 a fail.
6395
8825213e
PA
63962018-01-10 Pedro Alves <palves@redhat.com>
6397
6398 PR gdb/22670
6399 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
6400
605fd3c6
YQ
64012018-01-08 Simon Marchi <simon.marchi@ericsson.com>
6402
6403 * gdb.server/unittest.exp: Match the output in non-development
6404 mode.
6405
1e5ded6c
YQ
64062018-01-08 Simon Marchi <simon.marchi@ericsson.com>
6407
6408 * gdb.gdb/unittest.exp: Match output in non-development mode.
6409
30066b0b
JB
64102018-01-08 Joel Brobecker <brobecker@adacore.com>
6411
6412 * gdb.ada/access_tagged_param.exp: Relax expected output
6413 for value of "ObjL" in "continue" to pck.inspect breakpoint
6414 test.
6415
04bafb1e
XR
64162018-01-08 Joel Brobecker <brobecker@adacore.com>
6417
9f86398b
JB
6418 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
6419 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 6420
e379cee6
PA
64212018-01-05 Pedro Alves <palves@redhat.com>
6422
6423 PR gdb/18653
6424 * gdb.base/libsegfault.exp: New.
6425
de63c46b
PA
64262018-01-05 Joel Brobecker <brobecker@adacore.com>
6427
6428 PR gdb/22670
6429 * gdb.ada/access_tagged_param.exp: New file.
6430 * gdb.ada/access_tagged_param/foo.adb: New file.
6431
f98fc17b
PA
64322018-01-05 Pedro Alves <palves@redhat.com>
6433
6434 PR gdb/22670
6435 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
6436 exercise lower case too, and to exercise both full matching and
6437 wild matching.
6438
342f8240
JB
64392018-01-05 Joel Brobecker <brobecker@adacore.com>
6440
6441 * gdb.ada/rename_subscript_param: New testcase.
6442
7150d33c
JG
64432018-01-05 Jerome Guitton <guitton@adacore.com>
6444
6445 * gdb.ada/arr_acc_idx_w_gap: New testcase.
6446
cc0e770c
JB
64472018-01-05 Joel Brobecker <brobecker@adacore.com>
6448
6449 * gdb.ada/convvar_comp: New testcase.
6450
672a41aa 64512018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
6452
6453 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
6454 (My_Table): New global variable.
6455 * testsuite/gdb.ada/array_char_idx.exp: Add test.
6456
7365ec2f
JB
64572018-01-04 Joel Brobecker <brobecker@adacore.com>
6458
6459 PR gdb/22670
6460 * gdb.ada/maint_with_ada: New testcase.
6461
289483b6
JB
64622018-01-04 Joel Brobecker <brobecker@adacore.com>
6463
6464 PR gdb/22670
6465 * gdb.ada/bp_c_mixed_case: New testcase.
6466
344420da
JB
64672018-01-04 Joel Brobecker <brobecker@adacore.com>
6468
6469 PR gdb/22670
6470 * gdb.ada/complete.exp: Add "complete break ada" test.
6471
66fc87a0
JB
64722018-01-04 Joel Brobecker <brobecker@adacore.com>
6473
6474 PR gdb/22670
6475 * gdb.ada/info_addr_mixed_case: New testcase.
6476
9f757bf7
XR
64772018-01-03 Xavier Roirand <roirand@adacore.com>
6478
6479 * gdb.ada/excep_handle.exp: New testcase.
6480 * gdb.ada/excep_handle/foo.adb: New file.
6481 * gdb.ada/excep_handle/pck.ads: New file.
6482
bd570f80
JB
64832018-01-03 Joel Brobecker <brobecker@adacore.com>
6484
6485 * gdb.base/step-line.c: Add extra empty line in copyright header.
6486 * gdb.base/step-line.inp: Likewise.
6487
9fe561ab
JB
64882018-01-02 Joel Brobecker <brobecker@adacore.com>
6489
6490 * gdb.ada/dyn_stride.exp: Add slice test.
6491
a405673c
JB
64922018-01-02 Joel Brobecker <brobecker@adacore.com>
6493
6494 * gdb.ada/dyn_stride: New testcase.
6495
cef0f868
SH
64962017-12-27 Stafford Horne <shorne@gmail.com>
6497
6498 * gdb.xml/extra-regs.xml: Add example foo reggroup.
6499 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
6500
b67d92b0
SH
65012017-12-27 Stafford Horne <shorne@gmail.com>
6502
6503 * gdb.base/reggroups.c: New file.
6504 * gdb.base/reggroups.exp: New file.
6505
eccab96d
JB
65062017-12-18 Joel Brobecker <brobecker@adacore.com>
6507
6508 * gdb.dwarf2/ada-valprint-error.c: New file.
6509 * gdb.dwarf2/ada-valprint-error.exp: New file.
6510
0e2da9f0
JB
65112017-12-18 Joel Brobecker <brobecker@adacore.com>
6512
6513 * gdb.ada/assign_arr: New testcase.
6514
cb923fcc
XR
65152017-12-18 Xavier Roirand <roirand@adacore.com>
6516
6517 * gdb.ada/funcall_ptr: New testcase.
6518
7c161838
SDJ
65192017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6520
6521 PR cli/16224
6522 * gdb.base/ptype-offsets.cc: New file.
6523 * gdb.base/ptype-offsets.exp: New file.
6524
1af17fd9
YQ
65252017-12-15 Yao Qi <yao.qi@linaro.org>
6526
6527 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
6528 if XML is disabled.
6529
828d5846
XR
65302017-12-15 Xavier Roirand <roirand@adacore.com>
6531
6532 * gdb.ada/same_component_name: New testcase.
6533
79e8fcaa
JB
65342017-12-14 Joel Brobecker <brobecker@adacore.com>
6535
6536 * gdb.ada/str_binop_equal: New testcase.
6537
e05fa6f9
JB
65382017-12-14 Joel Brobecker <brobecker@adacore.com>
6539
6540 * gdb.ada/task_switch_in_core: New testcase.
6541
b89641ba
SM
65422017-12-13 Simon Marchi <simon.marchi@ericsson.com>
6543
6544 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
6545 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
6546 call test_bkpt_qualified.
6547 (test_bkpt_qualified): New proc.
6548
6892d2e4
PA
65492017-12-13 Pedro Alves <palves@redhat.com>
6550
6551 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6552 Tighten regexp by matching with an anchor.
6553
a22ecf70
PA
65542017-12-13 Pedro Alves <palves@redhat.com>
6555
6556 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
6557 ("expression with namespace"): New set of tests.
6558 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
6559 (Nested::Test_NS::qux): New.
6560 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
6561 defaults to 'start_quote_char' and 'end_quote_char' parameters.
6562
9937536c
JB
65632017-12-13 Joel Brobecker <brobecker@adacore.com>
6564
6565 * gdb.base/server-del-break.c: New file.
6566 * gdb.base/server-del-break.exp: New file.
6567
fe49c6f5
SH
65682017-12-12 Stafford Horne <shorne@gmail.com>
6569
6570 * gdb.xml/tdesc-regs.exp: Add or1k support.
6571
c3d18620
SH
65722017-12-12 Stafford Horne <shorne@gmail.com>
6573
6574 * gdb.base/bp-permanent.c: Define nop of or1k.
6575
c5f9cfc8
JB
65762017-12-11 Joel Brobecker <brobecker@adacore.com>
6577
6578 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
6579 output with components being reordered.
6580
a9c135fc
JB
65812017-12-11 Joel Brobecker <brobecker@adacore.com>
6582
6583 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
6584 output with components being reordered.
6585
927aa2e7
JK
65862017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6587 Pedro Alves <palves@redhat.com>
6588
6589 * gdb.base/maint.exp (check for .gdb_index): Check also for
6590 .debug_names.
6591 * gdb.dlang/watch-loc.c (.debug_aranges): New.
6592 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
6593 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
6594 (.gdb_index used after symbol reloading): Support also .debug_names.
6595 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
6596
f17d9474
YQ
65972017-12-08 Yao Qi <yao.qi@linaro.org>
6598
6599 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6600 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
6601
a0de8c21
YQ
66022017-12-08 Yao Qi <yao.qi@linaro.org>
6603
6604 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6605 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
6606
a738ea1d
YQ
66072017-12-08 Yao Qi <yao.qi@linaro.org>
6608
6609 * gdb.arch/aarch64-tagged-pointer.c: New file.
6610 * gdb.arch/aarch64-tagged-pointer.exp: New file.
6611
1cd9a73b
SDJ
66122017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
6613
6614 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
6615 "int".
6616
fa6eb693
KS
66172017-12-07 Keith Seitz <keiths@redhat.com>
6618
6619 PR breakpoints/22569
6620 * gdb.linespec/ls-errs.exp: Change expected result of "break
6621 -source this file has spaces.c -line 3".
6622 Check that an explicit source file followed by whitespace is
6623 identified as an invalid explicit location.
6624
883fd55a
KS
66252017-12-07 Keith Seitz <keiths@redhat.com>
6626
6627 * gdb.cp/nested-types.cc: New file.
6628 * gdb.cp/nested-types.exp: New file.
6629 * lib/cp-support.exp: Load data-structures.exp library.
6630 (debug_cp_test_ptype_class): New global.
6631 (cp_ptype_class_verbose, next_line): New procedures.
6632 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
6633 Add and document new return value.
6634 Switch the list of lines to a queue.
6635 Add support for new `type' key for nested type definitions.
6636 Add debugging/troubleshooting messages.
6637 * lib/data-structures.exp: New file.
6638
ec72db3e
SM
66392017-12-07 Simon Marchi <simon.marchi@ericsson.com>
6640
6641 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
6642 with proc_with_prefix, don't use with_test_prefix.
6643
99598d71
TT
66442017-12-07 Tom Tromey <tom@tromey.com>
6645
6646 * gdb.base/break.exp: Add test for empty "commands".
6647
a8806230
YQ
66482017-12-07 Yao Qi <yao.qi@linaro.org>
6649
6650 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
6651 malloc and catch syscall.
6652
824cc835
PM
66532017-12-07 Phil Muldoon <pmuldoon@redhat.com>
6654
e79be6e5 6655 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
6656 tests for explicit locations.
6657
7cc244de
PA
66582017-12-06 Pedro Alves <palves@redhat.com>
6659
6660 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
6661 force-disabling XML descriptions.
6662
50a1fdd5
PA
66632017-12-04 Pedro Alves <palves@redhat.com>
6664
6665 PR gdb/22499
6666 * gdb.arch/amd64-disp-step-avx.S: New file.
6667 * gdb.arch/amd64-disp-step-avx.exp: New file.
6668
f0fb2488
PA
66692017-12-03 Pedro Alves <palves@redhat.com>
6670
6671 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6672 and <string.h>.
6673 (parent_function): Print distinct messages when waitpid fails, or
6674 the child exits with a signal, or the child exits for an unhandled
6675 reason.
6676 * gdb.threads/process-dies-while-detaching.exp
6677 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6678 it. Wait for both inferior output and GDB's prompt. Use an
6679 indirect spawn id list.
6680 (do_detach): New parameter 'child_exit'. Use it to compute
6681 expected inferior output.
6682 (test_detach, test_detach_watch, test_detach_killed_outside):
6683 Adjust to pass down the expected child exit kind.
6684
97cbe998
SDJ
66852017-12-01 Joel Brobecker <brobecker@adacore.com>
6686 Sergio Durigan Junior <sergiodj@redhat.com>
6687 Pedro Alves <palves@redhat.com>
6688
6689 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6690
40fc416f
SDJ
66912017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6692
6693 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6694 to 'symbol-file' and 'add-symbol-file' can be
6695 position-independent.
6696
1cc75e92
YQ
66972017-12-01 Yao Qi <yao.qi@linaro.org>
6698
6699 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6700 the URL in copyright header.
6701 * gdb.arch/aarch64-fp.exp: Likewise.
6702 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6703 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6704 * gdb.base/expand-psymtabs.exp: Likewise.
6705 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6706 * gdb.fortran/common-block.exp: Likewise.
6707 * gdb.fortran/common-block.f90: Likewise.
6708 * gdb.fortran/logical.exp: Likewise.
6709 * gdb.fortran/vla-datatypes.f90: Likewise.
6710 * gdb.fortran/vla-sub.f90: Likewise.
6711
875fb7a7
JB
67122017-11-30 Joel Brobecker <brobecker@adacore.com>
6713
6714 * gdb.ada/repeat_dyn: New testcase.
6715
6f14765f
UW
67162017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6717
6718 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6719 Update for changed thread numbering.
6720 * gdb.cell/bt.exp: Update for changed GDB output.
6721
f1af7b94
SM
67222017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6723
6724 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6725 setting isremote by hand.
6726 * boards/dwarf4-gdb-index.exp: Likewise.
6727 * boards/fission.exp: Likewise.
6728 * boards/stabs.exp: Likewise.
6729
e3919f3e
PA
67302017-11-30 Pedro Alves <palves@redhat.com>
6731
6732 * gdb.linespec/cpls-ops.exp
6733 (check_explicit_skips_function_argument): Extract the underlying
6734 type of size_t instead of hardcoding it.
6735
bd69330d
PA
67362017-11-29 Pedro Alves <palves@redhat.com>
6737
6738 PR c++/19436
6739 * gdb.linespec/cpls-abi-tag.cc: New file.
6740 * gdb.linespec/cpls-abi-tag.exp: New file.
6741
a20714ff
PA
67422017-11-29 Pedro Alves <palves@redhat.com>
6743
6744 * gdb.base/langs.exp: Use -qualified.
6745 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6746 it.
6747 * gdb.cp/namespace.exp: Use -qualified.
6748 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6749 (overload-3, template-overload, template-ret-type, const-overload)
6750 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6751 procedures.
6752 (test_driver): Call them.
6753 * gdb.cp/save-bp-qualified.cc: New.
6754 * gdb.cp/save-bp-qualified.exp: New.
6755 * gdb.linespec/explicit.exp: Test -qualified.
6756 * lib/completion-support.exp (completion::explicit_opts_list): Add
6757 "-qualified".
6758 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6759
f6f1d339
PM
67602017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6761
6762 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6763
02ca603a
TT
67642017-11-29 Tom Tromey <tom@tromey.com>
6765
6766 * gdb.base/relocate.exp: Update invalid argument test.
6767 Add new tests for invalid arguments.
6768
ed6c0bfb
TP
67692017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6770
6771 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6772 Return 0 as a long.
6773 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6774
f106e10e
TP
67752017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6776
6777 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6778 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6779 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6780 func ().
6781 * gdb.cp/shadow.cc (B.func): Return 0.
6782
10329bb2
JB
67832017-11-27 Joel Brobecker <brobecker@adacore.com>
6784
6785 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6786 expected output in gdb_expect call to allow the exception
6787 message to be present as well. Fix syntax confusion to avoid
6788 TCL thinking that exception_name is an array.
6789
617cd4bc
UW
67902017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6791
6792 * gdb.arch/spu-info.c: Include <unistd.h>.
6793 (do_signal_test): Fix broken calls to write.
6794 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6795 Fix checks for empty mailboxes. Update signal tests for corrected
6796 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
6797 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6798 * gdb.cell/arch.exp: Use standard_output_file.
6799 * gdb.cell/break.exp: Likewise.
6800 * gdb.cell/bt.exp: Likewise.
6801 * gdb.cell/core.exp: Likewise.
6802 * gdb.cell/dwarfaddr.exp: Likewise.
6803 * gdb.cell/ea-cache.exp: Likewise.
6804 * gdb.cell/ea-standalone.exp: Likewise.
6805 * gdb.cell/f-regs.exp: Likewise.
6806 * gdb.cell/fork.exp: Likewise.
6807 * gdb.cell/gcore.exp: Likewise.
6808 * gdb.cell/mem-access.exp: Likewise.
6809 * gdb.cell/ptype.exp: Likewise.
6810 * gdb.cell/registers.exp: Likewise.
6811 * gdb.cell/sizeof.exp: Likewise.
6812 * gdb.cell/solib-symbol.exp: Likewise.
6813 * gdb.cell/solib.exp: Likewise.
617cd4bc 6814
a81aaca0
PA
68152017-11-25 Pedro Alves <palves@redhat.com>
6816
6817 * gdb.base/complete-empty.exp: New file.
6818 * gdb.base/completion.exp: Adjust.
6819
6a3c6ee4
PA
68202017-11-25 Pedro Alves <palves@redhat.com>
6821
6822 * gdb.linespec/cpls-ops.cc: New file.
6823 * gdb.linespec/cpls-ops.exp: New file.
6824 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6825 factored out from ...
6826 (test_complete_prefix_range): ... this.
6827
8955eb2d
PA
68282017-11-24 Pedro Alves <palves@redhat.com>
6829
6830 * gdb.linespec/cpcompletion.exp: New file.
6831 * gdb.linespec/cpls-hyphen.cc: New file.
6832 * gdb.linespec/cpls.cc: New file.
6833 * gdb.linespec/cpls2.cc: New file.
6834 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6835 test to use test_gdb_complete_unique. Add label completion,
6836 keyword completion and explicit location completion tests.
6837 * lib/completion-support.exp: New file.
6838
e547c119
JB
68392017-11-24 Joel Brobecker <brobecker@adacore.com>
6840
6841 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6842 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6843 when hitting an exception catchpoint.
6844
7c3c1aa8
YQ
68452017-11-22 Yao Qi <yao.qi@linaro.org>
6846
6847 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6848
41bd68f5
SM
68492017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6850
6851 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6852 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6853 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6854
1daad298
YQ
68552017-11-22 Yao Qi <yao.qi@linaro.org>
6856
6857 * gdb.base/info-os.exp: Pass pthreads.
6858 * gdb.multi/multi-attach.exp: Likewise.
6859
88465e87
YQ
68602017-11-22 Yao Qi <yao.qi@linaro.org>
6861
6862 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6863 compiler.
6864
dc196b23
YQ
68652017-11-22 Yao Qi <yao.qi@linaro.org>
6866
6867 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6868 * gdb.base/break-interp.exp: Likewise.
6869 * gdb.base/jit-attach-pie.exp: Likewise.
6870
2400729e
UW
68712017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6872
6873 * gdb.base/float128.c (large128): New variable.
6874 * gdb.base/float128.exp: Add test to print largest __float128 value.
6875
7a26362d
UW
68762017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6877
6878 * gdb.arch/vsx-regs.exp: Update register content checks.
6879
ed0f4273
UW
68802017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6881
6882 * gdb.arch/ppc-longdouble.exp: New file.
6883 * gdb.arch/ppc-longdouble.c: Likewise.
6884
a25d69c6
PA
68852017-11-21 Pedro Alves <palves@redhat.com>
6886
6887 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6888
73fcf641
PA
68892017-11-20 Pedro Alves <palves@redhat.com>
6890
6891 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6892 (long_double_typedef): New typedefs.
6893 Use DEF on double and long double.
6894 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6895 cases.
6896 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6897 and 'long_double_ptr_same_size' locals. Use them to decide
6898 whether cast from array/function to float is valid/invalid.
6899
71a3c369
TT
69002017-11-17 Tom Tromey <tom@tromey.com>
6901
6902 * gdb.rust/traits.rs: New file.
6903 * gdb.rust/traits.exp: New file.
6904
ced9779b
JB
69052017-11-17 Joel Brobecker <brobecker@adacore.com>
6906
6907 * gdb.ada/minsyms: New testcase.
6908
a0922d80
PA
69092017-11-16 Pedro Alves <palves@redhat.com>
6910
6911 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6912 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6913
ea04e54c
PA
69142017-11-16 Pedro Alves <palves@redhat.com>
6915
6916 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6917 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6918
e849ea89
PA
69192017-11-16 Pedro Alves <palves@redhat.com>
6920
6921 * gdb.server/reconnect-ctrl-c.c: New file.
6922 * gdb.server/reconnect-ctrl-c.exp: New file.
6923
d8ae99a7
PM
69242017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6925
6926 * gdb.python/py-rbreak.exp: New file.
6927 * gdb.python/py-rbreak.c: New file.
6928 * gdb.python/py-rbreak-func2.c: New file.
6929
968a13f8
PA
69302017-11-16 Pedro Alves <palves@redhat.com>
6931
6932 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6933 pattern.
6934 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6935 GDB.
6936
71774bc9
SM
69372017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6938
6939 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6940 regex.
6941
ddbb44cf
SM
69422017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6943
6944 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6945 test names.
6946
584a564f
PA
69472017-11-09 Pedro Alves <palves@redhat.com>
6948
6949 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6950 factored out from ...
6951 (top level): ... here, and adjusted to avoid expecting beyond the
6952 prompt in a single gdb_test_multiple.
6953
5ed7a928
PA
69542017-11-09 Pedro Alves <palves@redhat.com>
6955
6956 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6957 output.
6958 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6959 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6960 * gdb.server/ext-run.exp ("kill" test): Likewise.
6961 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6962
a60e0738
PA
69632017-11-09 Pedro Alves <palves@redhat.com>
6964
6965 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6966 match till end of line.
6967
2c88253f
PA
69682017-11-09 Pedro Alves <palves@redhat.com>
6969
6970 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6971
c7a38517
PA
69722017-11-09 Pedro Alves <palves@redhat.com>
6973
6974 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6975 New procedures, factored out from ...
6976 (top level): ... here, and adjusted to avoid expecting beyond the
6977 prompt in one go.
6978
f29f4b6b
PA
69792017-11-09 Pedro Alves <palves@redhat.com>
6980
6981 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6982 output. Fix '?' match.
6983
286acbb5
JB
69842017-11-08 Joel Brobecker <brobecker@adacore.com>
6985
6986 * gdb.ada/scoped_watch: New testcase.
6987 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6988 which is actually correct.
6989 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6990 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6991
62d7ae92
PA
69922017-11-08 Pedro Alves <palves@redhat.com>
6993
6994 * gdb.gdb/complaints.exp (test_initial_complaints)
6995 (test_serial_complaints, test_short_complaints): Call
6996 complaint_internal instead of complaint.
6997
280ca31f
DT
69982017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6999
7000 * gdb.threads/tls-core.c: New file.
7001 * gdb.threads/tls-core.exp: Likewise.
7002
b5ec771e
PA
70032017-11-08 Pedro Alves <palves@redhat.com>
7004
7005 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
7006 (p Exported_Capitalized): New test.
7007 (p exported_capitalized): New test.
7008
a02b41a7
PA
70092017-11-07 Pedro Alves <palves@redhat.com>
7010
7011 * gdb.cp/ena-dis-br-range.exp: Add more tests.
7012
95e95a6d
PA
70132017-11-07 Pedro Alves <palves@redhat.com>
7014
7015 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
7016 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
7017 (disable_invalid, disable_inverted, disable_negative): New
7018 procedures.
7019 ("bad numbers"): New set of tests.
7020
cee62dbd
PA
70212017-11-07 Pedro Alves <palves@redhat.com>
7022
7023 * gdb.cp/ena-dis-br-range.exp: Add tests.
7024
cc638e86
PA
70252017-11-07 Pedro Alves <palves@redhat.com>
7026
7027 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
7028
d0fe4701
XR
70292017-11-07 Xavier Roirand <roirand@adacore.com>
7030 Pedro Alves <palves@redhat.com>
7031
7032 * gdb.base/ena-dis-br.exp: Add reference to
7033 gdb.cp/ena-dis-br-range.exp.
7034 * gdb.cp/ena-dis-br-range.exp: New file.
7035 * gdb.cp/ena-dis-br-range.cc: New file.
7036
46f67f80
PA
70372017-11-06 Pedro Alves <palves@redhat.com>
7038
7039 * gdb.base/attach-non-pgrp-leader.c: New.
7040 * gdb.base/attach-non-pgrp-leader.exp: New.
7041
726e1356
PA
70422017-11-06 Pedro Alves <palves@redhat.com>
7043
7044 * configure.ac: No longer check for termio.h and sgtty.h.
7045 * configure: Regenerate.
7046 * remote-utils.c: Include termios.h instead of gdb_termios.h.
7047 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
7048 Remove termio and sgtty code.
7049
50ab6ace
YQ
70502017-11-03 Yao Qi <yao.qi@linaro.org>
7051
7052 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
7053 in GDB is disabled.
7054
8e68731c
YQ
70552017-11-03 Yao Qi <yao.qi@linaro.org>
7056
7057 * gdb.python/py-thrhandle.exp: Skip it if python is not
7058 enabled.
7059
3a87ae65
SM
70602017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7061
7062 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
7063 as a breakpoint command.
7064
484d8d36
MD
70652017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
7066
7067 PR python/21213
7068 * gdb.python/py-infthread.exp: Test calling
7069 InferiorThread.inferior () multiple times in a row.
7070
4a27f119
KS
70712017-10-27 Keith Seitz <keiths@redhat.com>
7072
7073 * gdb.opt/inline-break.exp (break_info_1): New procedure.
7074 Test "info break" for every inlined function breakpoint.
7075
bb11dd58
YQ
70762017-10-27 Yao Qi <yao.qi@linaro.org>
7077
7078 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
7079
a43f3893
PF
70802017-10-26 Patrick Frants <osscontribute@gmail.com>
7081
7082 * gdb.cp/classes.exp (test_static_members): Test printing
7083 Outer::instance.
7084 * gdb.cp/classes.c (struct Inner, struct Outer): New.
7085 (Inner::instance, Outer::instance): New.
7086
792ccf00
PA
70872017-10-24 Pedro Alves <palves@redhat.com>
7088
7089 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
7090 extra console" test in two stages.
7091
eb2bfbad
PA
70922017-10-24 Pedro Alves <palves@redhat.com>
7093
7094 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
7095
1f75a651
PA
70962017-10-24 Pedro Alves <palves@redhat.com>
7097
7098 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
7099 loop.
7100
779990d9
PA
71012017-10-24 Pedro Alves <palves@redhat.com>
7102
7103 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
7104 $attempt" and "stoppedtry $stoppedtry" test prefixes.
7105
ad9b8f5d
PA
71062017-10-24 Pedro Alves <palves@redhat.com>
7107
7108 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
7109 parameter and handle it. Don't output read value in test name.
7110
fee6da6e
PA
71112017-10-24 Pedro Alves <palves@redhat.com>
7112
7113 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
7114 custom test name.
7115
10389c2c
PA
71162017-10-24 Pedro Alves <palves@redhat.com>
7117
7118 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
7119 include the unstable output directory name in the test's name.
7120 (initial_setup_simple) <'set args'>: Use custom test name.
7121
a80e65a9
PA
71222017-10-24 Pedro Alves <palves@redhat.com>
7123
7124 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
7125 with explicit test name.
7126
15763a09
PA
71272017-10-20 Pedro Alves <palves@redhat.com>
7128
7129 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
7130 'wait -i'. Use gdb_assert and remote_close.
7131
49a4ce2e
AB
71322017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
7133
7134 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
7135 number from variable rather than hard-coded.
7136
a75868f5
PA
71372017-10-19 Pedro Alves <palves@redhat.com>
7138
7139 * gdb.base/long-inferior-output.c: New file.
7140 * gdb.base/long-inferior-output.exp: New file.
7141
c8ba13ad
KS
71422017-11-18 Keith Seitz <keiths@redhat.com>
7143
7144 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
7145 method.
7146 (main): Call it.
7147 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
7148 Add additional user-defined conversion operator tests.
7149
b27de576
PA
71502017-10-17 Pedro Alves <palves@redhat.com>
7151
7152 * boards/native-stdio-gdbserver.exp: Load "local-board".
7153
8484c955
PA
71542017-10-17 Pedro Alves <palves@redhat.com>
7155
7156 * gdb.base/quit-live.c: New file.
7157 * gdb.base/quit-live.exp: New file.
7158
83d5a34d
KS
71592017-10-16 Keith Seitz <keiths@redhat.com>
7160
7161 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
7162 (class_with_protected_typedef, class_with_private_typedef)
7163 (struct_with_public_typedef, struct_with_protected_typedef)
7164 (struct_with_private_typedef): New classes/structs.
7165 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
7166 typedefs and access specifiers.
7167
739b3f1d
PA
71682017-10-16 Pedro Alves <palves@redhat.com>
7169 Simon Marchi <simon.marchi@polymtl.ca>
7170
7171 * README (Local vs Remote vs Native): New section.
7172 * boards/local-board.exp: New file, with bits factored out from
7173 ...
7174 * boards/native-extended-gdbserver.exp: ... here. Load
7175 "local-board".
7176 * boards/native-gdbserver.exp: Load "local-board".
7177 (${board}_spawn, ${board}_exec): Delete.
7178 * boards/native-stdio-gdbserver.exp: Most contents factored out to
7179 ...
7180 * boards/stdio-gdbserver-base.exp: ... this new file.
7181 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
7182 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
7183 procedure.
7184 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
7185 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
7186 stdio_gdbserver_command.
7187 (${board}_get_remote_address, ${board}_get_comm_port)
7188 (${board}_download, ${board}_upload): Delete.
7189 (get_target_remote_pipe_cmd): New.
7190
fe68b953
SM
71912017-10-16 Simon Marchi <simon.marchi@ericsson.com>
7192
7193 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
7194 test_bkpt_deletion, test_bkpt_cond_and_cmds,
7195 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
7196 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
7197 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
7198 remove with_test_prefix.
7199
300b6685
PA
72002017-10-13 Pedro Alves <palves@redhat.com>
7201
7202 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
7203 * gdb.base/annota1.exp: Use it instead of is_remote.
7204 * gdb.base/annota3.exp: Use it instead of is_remote.
7205 * gdb.cp/annota2.exp: Use it instead of is_remote.
7206 * gdb.cp/annota3.exp: Use it instead of is_remote.
7207 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
7208
50500caf
PA
72092017-10-13 Pedro Alves <palves@redhat.com>
7210
7211 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
7212 (test_num_test_vars, run_and_count_vars, find_env)
7213 (test_set_unset_env, test_inherit_env_var): New procedures.
7214 (top level): Use them.
7215
dad0c6d2
PA
72162017-10-13 Pedro Alves <palves@redhat.com>
7217
7218 * lib/selftest-support.exp (selftest_setup): Extend comments, and
7219 also skip on stub-like targets.
7220
8b0553c1
PA
72212017-10-13 Pedro Alves <palves@redhat.com>
7222
7223 PR gdb/22293
7224 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
7225 (top level): Move some tests to ...
7226 (test_not_found): ... this new procedure.
7227 (top level): Call it.
7228
7594f623
PA
72292017-10-13 Pedro Alves <palves@redhat.com>
7230
7231 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
7232 expect different "info terminal" output if testing with a
7233 non-native target.
7234
ebe3b402
PA
72352017-10-13 Pedro Alves <palves@redhat.com>
7236 Simon Marchi <simon.marchi@polymtl.ca>
7237
7238 PR python/12966
7239 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
7240
42f1b161
PA
72412017-10-13 Pedro Alves <palves@redhat.com>
7242
7243 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
7244 already.
7245
8d6ef72b
PA
72462017-10-13 Pedro Alves <palves@redhat.com>
7247
7248 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
7249 is_remote.
7250
d7bcd5b8
PA
72512017-10-13 Pedro Alves <palves@redhat.com>
7252
7253 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
7254 is_remote.
7255
df479dc6
PA
72562017-10-13 Pedro Alves <palves@redhat.com>
7257
7258 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
7259 is set.
7260 (corefile_test_attach): Likewise. Check can_spawn_for_attach
7261 instead of is_remote.
7262
23fb630a
PA
72632017-10-13 Pedro Alves <palves@redhat.com>
7264
7265 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
7266 (top level): Add comment.
7267
cc77b1dc
PA
72682017-10-13 Pedro Alves <palves@redhat.com>
7269
7270 * gdb.base/remote.exp (top level): Fix comment typo and add
7271 missing return.
7272
27c9e813
PA
72732017-10-13 Pedro Alves <palves@redhat.com>
7274 Simon Marchi <simon.marchi@polymtl.ca>
7275
7276 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
7277 calls and add comments. Skip test if use_gdb_stub is set.
7278 (top level): Use "set cwd" command instead of "cd" command.
7279
5e830d98
PA
72802017-10-13 Pedro Alves <palves@redhat.com>
7281
7282 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
7283 is_remote target check.
7284
f5ca0032
PA
72852017-10-13 Pedro Alves <palves@redhat.com>
7286
7287 * gdb.base/scope.exp: Use build_executable + clean_restart +
7288 gdb_file_cmd instead of prepare_for_testing and no longer skip
7289 "before run" tests on is_remote target boards. Update comments.
7290 * boards/native-extended-gdbserver.exp
7291 (extended_gdbserver_load_last_file): New, factored out from ...
7292 (gdb_load): ... this. Move further below and add comment.
7293 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
7294
8aed1c0d
PA
72952017-10-12 Pedro Alves <palves@redhat.com>
7296
7297 * gdb.base/attach.exp: Remove references to gdb64.
7298 * gdb.base/dbx.exp: Remove references to gdb64.
7299
cfa34c87
SM
73002017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7301 Pedro Alves <palves@redhat.com>
7302
7303 * gdb.base/label.exp: Remove is_remote target check.
7304
9192b7de
PA
73052017-10-12 Pedro Alves <palves@redhat.com>
7306
7307 * gdb.base/auvx.exp (coredir): Update comment.
7308 (top level) <core_works>: Use "set cwd" command instead of "cd"
7309 command.
7310
6bf0052d
PA
73112017-10-12 Pedro Alves <palves@redhat.com>
7312 Simon Marchi <simon.marchi@polymtl.ca>
7313
7314 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
7315 target boards.
7316
e48ef82d
PA
73172017-10-12 Pedro Alves <palves@redhat.com>
7318 Simon Marchi <simon.marchi@polymtl.ca>
7319
7320 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
7321 Instead skip if there's any gdb_protocol set.
7322
8d7aea57
SM
73232017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7324 Pedro Alves <palves@redhat.com>
7325
7326 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
7327
30440677
PA
73282017-10-12 Pedro Alves <palves@redhat.com>
7329 Simon Marchi <simon.marchi@polymtl.ca>
7330
7331 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
7332 instead of on dejagnu remote boards.
7333
4e04f045 73342017-10-12 Pedro Alves <palves@redhat.com>
175654b9 7335 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
7336
7337 * gdb.base/inferior-died.exp: Remove is_remote and isnative
7338 checks. Use build_executable + clean_restart instead of
7339 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
7340 of enabling non-stop after starting gdb.
7341
871a186e
PA
73422017-10-12 Pedro Alves <palves@redhat.com>
7343
7344 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
7345 * gdb.threads/non-ldr-exc-2.exp: Ditto.
7346 * gdb.threads/non-ldr-exc-3.exp: Ditto.
7347 * gdb.threads/non-ldr-exc-4.exp: Ditto.
7348
56d704da
AK
73492017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
7350
7351 * gdb.arch/arc-tdesc-cpu.exp: New file.
7352 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
7353
2f20e312
SM
73542017-10-10 Simon Marchi <simon.marchi@ericsson.com>
7355
7356 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
7357
65630365
PA
73582017-10-10 Pedro Alves <palves@redhat.com>
7359
7360 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
7361 expect CLI output.
7362
bf469271
PA
73632017-10-10 Pedro Alves <palves@redhat.com>
7364
7365 * lib/selftest-support.exp (selftest_setup): Update for
7366 captured_command_loop's prototype change.
7367
777a42f1
PA
73682017-10-09 Pedro Alves <palves@redhat.com>
7369
7370 Test both arch1=>arch2 and arch2=>arch1.
7371
7372 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
7373 (srcfile2, binfile2, march1, march2): Remove globals. Largely
7374 factored out to...
7375 (append_arch1_options, append_arch2_options, append_arch_options)
7376 (build_executables): New procedures.
7377 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
7378 local.
7379 (top level): Add new 'first_arch' testing axis.
7380
cbd2b4e3
PA
73812017-10-09 Pedro Alves <palves@redhat.com>
7382
7383 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
7384 (barrier): New.
7385 (thread_start, all_started): New functions.
7386 (main): Spawn new thread and wait until it is scheduled.
7387 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
7388 option.
7389 (do_test): Add 'selected_thread' parameter. Run to all_started
7390 instead of main. Explicitly set the breakpoint at main. Switch
7391 to the SELECTED_THREAD thread.
7392 (top level): Test handling the exec event with either the main
7393 thread or the second thread selected.
7394
5c9e4427
PA
73952017-10-09 Pedro Alves <palves@redhat.com>
7396
7397 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
7398 logic. Move STOP marker after the value checks.
7399 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
7400 regexp.
7401
b3b7c423
SL
74022017-10-06 Sandra Loosemore <sandra@codesourcery.com>
7403
7404 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
7405
3b4b2f16
UW
74062017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
7407
7408 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
7409 integer-to-dfp conversion.
7410 * gdb.base/dfp-test.exp: Likewise.
7411
5cd63fda
PA
74122017-10-04 Pedro Alves <palves@redhat.com>
7413
7414 * gdb.multi/hangout.c: Include <unistd.h>.
7415 (hangout_loop): New function.
7416 (main): Call alarm. Call hangout_loop in a loop.
7417 * gdb.multi/hello.c: Include <unistd.h>.
7418 (hello_loop): New function.
7419 (main): Call alarm. Call hangout_loop in a loop.
7420 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
7421 inferior with the other selected.
7422
4c71c105
SM
74232017-10-04 Simon Marchi <simon.marchi@ericsson.com>
7424
7425 * gdb.mi/list-thread-groups-available.exp: New file.
7426 * gdb.mi/list-thread-groups-available.c: New file.
7427
bc3b087d
SDJ
74282017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7429
7430 * gdb.base/set-cwd.exp: Make it available on
7431 native-extended-gdbserver.
7432
d092c5a2
SDJ
74332017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7434
7435 * gdb.base/set-cwd.c: New file.
7436 * gdb.base/set-cwd.exp: Likewise.
7437
45320ffa
TT
74382017-10-02 Tom Tromey <tom@tromey.com>
7439
7440 PR rust/22236:
7441 * gdb.rust/simple.rs (main): New variable "fslice".
7442 * gdb.rust/simple.exp: Add slice tests. Update string tests.
7443
b3e3859b
TT
74442017-10-02 Tom Tromey <tom@tromey.com>
7445
7446 * gdb.rust/simple.exp: Test ptype of a slice.
7447
01af5e0d
TT
74482017-10-02 Tom Tromey <tom@tromey.com>
7449
7450 * gdb.rust/simple.exp: Test index of slice.
7451
a9bbfbd8
TT
74522017-09-27 Tom Tromey <tom@tromey.com>
7453
7454 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
7455
df8899e5
TP
74562017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
7457 Pedro Alves <palves@redhat.com>
7458
7459 * gdb.base/compare-sections.exp (get value of read-only section): Read
7460 as unsigned value.
7461 (corrupt read-only section): Likewise and don't set written if patching
7462 failed.
7463
757bf54b
KB
74642017-09-21 Kevin Buettner <kevinb@redhat.com>
7465
7466 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
7467 files.
7468
06871ae8
PA
74692017-09-20 Pedro Alves <palves@redhat.com>
7470
7471 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
7472 symbol names in gdb's output.
7473 * gdb.cp/overload.exp ("list all overloads"): Likewise.
7474
e5f25bc5
PA
74752017-09-20 Pedro Alves <palves@redhat.com>
7476
7477 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
7478 Rename to ...
7479 (test_list_ambiguous_symbol): ... this and add a symbol name
7480 parameter. Adjust.
7481 (test_list_ambiguous_function): Reimplement on top of
7482 test_list_ambiguous_symbol and also test listing ambiguous
7483 variables.
7484 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
7485 (ambiguous_fun): ... this.
7486 (ambiguous_var): New.
7487 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
7488 (ambiguous_fun): ... this.
7489 (ambiguous_var): New.
7490
4e5a4f58
JB
74912017-09-19 John Baldwin <jhb@FreeBSD.org>
7492
7493 * gdb.base/starti.c: New file.
7494 * gdb.base/starti.exp: New file.
7495 * lib/gdb.exp (gdb_starti_cmd): New procedure.
7496
26e53f3e
PA
74972017-09-14 Pedro Alves <palves@redhat.com>
7498
7499 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
7500 (top level): Use it instead of runto.
7501
cb791d59
TT
75022017-09-11 Tom Tromey <tom@tromey.com>
7503
7504 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
7505
7c96f8c1
TT
75062017-09-11 Tom Tromey <tom@tromey.com>
7507
7508 * gdb.python/py-infthread.exp: Add tests for new_thread event.
7509 * gdb.python/py-inferior.exp: Add tests for new inferior events.
7510
469412dd
CW
75112017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
7512
7513 * gdb.fortran/printing-types.exp: New file.
7514 * gdb.fortran/printing-types.exp: New file.
7515
e0f86435
BH
75162017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7517
7518 * gdb.fortran/vla-ptype.exp: Fix typos.
7519 * gdb.fortran/vla-value.exp: Same.
7520
9e9af4be
BH
75212017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7522
7523 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
7524 * gdb.mi/mi-var-child-f.exp: Likewise.
7525 * gdb.mi/mi-vla-fortran.exp: Likewise.
7526
a5ad232b 75272017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
7528 Christoph Weinmann <christoph.t.weinmann@intel.com>
7529 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
7530
7531 * gdb.fortran/ptr-indentation.f90: New file.
7532 * gdb.fortran/ptr-indentation.exp: New file.
7533
5aec60eb
TT
75342017-09-05 Tom Tromey <tom@tromey.com>
7535
7536 PR gdb/22010:
7537 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
7538
8f8f8152
TP
75392017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
7540
7541 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
7542
fbd1b771
JK
75432017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7544
7545 * gdb.threads/tls-nodebug-pie.c: New file.
7546 * gdb.threads/tls-nodebug-pie.exp: New file.
7547
5eb5f850
TT
75482017-09-05 Tom Tromey <tom@tromey.com>
7549
7550 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
7551 for rust.
7552
ae780a21
SM
75532017-09-05 Simon Marchi <simon.marchi@ericsson.com>
7554
7555 * gdb.multi/multi-arch-exec.exp: Test with different
7556 "follow-exec-mode" settings.
7557 (do_test): New procedure.
7558
3693fdb3
PA
75592017-09-04 Pedro Alves <palves@redhat.com>
7560
7561 * gdb.base/func-static.c (S::method const, S::method volatile)
7562 (S::method volatile const): New methods.
7563 (c_s, v_s, cv_s): New instances.
7564 (main): Call method() on them.
7565 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
7566 (cannot_resolve): New procedure.
7567 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
7568 print-quote-unquoted columns.
7569 (do_test): Test printing each scope too.
7570
e68cb8e0
PA
75712017-09-04 Pedro Alves <palves@redhat.com>
7572
7573 * gdb.base/local-static.exp: Also test with
7574 class::method::variable wholly quoted.
7575 * gdb.cp/m-static.exp (class::method::variable): Remove test.
7576
858be34c
PA
75772017-09-04 Pedro Alves <palves@redhat.com>
7578
7579 * gdb.base/local-static.c: New.
7580 * gdb.base/local-static.cc: New.
7581 * gdb.base/local-static.exp: New.
7582
46a4882b
PA
75832017-09-04 Pedro Alves <palves@redhat.com>
7584
7585 * gdb.asm/asm-source.exp: Add casts to int.
7586 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
7587 (dataglobal64_1, dataglobal64_2): New globals.
7588 * gdb.base/nodebug.exp: Test different expressions involving the
7589 new globals, with print, whatis and ptype. Add casts to int.
7590 * gdb.base/solib-display.exp: Add casts to int.
7591 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
7592 * gdb.cp/m-static.exp: Add cast to int.
7593 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
7594 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
7595 tls variable with no debug info without a cast. Test with a cast
7596 to int too.
7597 * gdb.trace/entry-values.exp: Add casts.
7598
2c5a2be1
PA
75992017-09-04 Pedro Alves <palves@redhat.com>
7600
7601 * gdb.base/nodebug.exp: Test that ptype's error about functions
7602 with unknown return type includes the function name too.
7603
7022349d
PA
76042017-09-04 Pedro Alves <palves@redhat.com>
7605
7606 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
7607 return type of munmap in infcall.
7608 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
7609 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
7610 type of ftell in infcall.
7611 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
7612 type of getpid in infcall.
7613 * gdb.base/infcall-exec.exp: Cast return type of execlp in
7614 infcall.
7615 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
7616 Bail on failure to extract the pid.
7617 * gdb.base/nodebug.c: #include <stdint.h>.
7618 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
7619 New functions.
7620 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
7621 Change expected output of print/whatis/ptype with functions with
7622 no debug info. Test all supported languages. Call
7623 test_call_promotion.
7624 * gdb.compile/compile.exp: Adjust expected output to expect
7625 warning.
7626 * gdb.threads/siginfo-threads.exp: Likewise.
7627
54990598
PA
76282017-09-04 Pedro Alves <palves@redhat.com>
7629
7630 * gdb.base/callfuncs.exp (do_function_calls): New parameter
7631 "prototypes". Test calling float functions via prototyped and
7632 unprototyped function pointers.
7633 (perform_all_tests): New parameter "prototypes". Pass it down.
7634 (top level): Pass down "prototypes" parameter to
7635 perform_all_tests.
7636
34d16ea2
SM
76372017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7638
7639 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
7640 Test with nested loops.
7641
9521ecda
SM
76422017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7643
7644 * gdb.base/commands.exp: Call the new procedures.
7645 (loop_break_test, loop_continue_test): New procedures.
7646
80a65e9b
SM
76472017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7648
7649 * gdb.base/commands.exp: Call new procedure.
7650 (define_if_without_arg_test): New procedure.
7651
e439fa14
PA
76522017-09-04 Pedro Alves <palves@redhat.com>
7653
7654 * gdb.base/list-ambiguous.exp: New file.
7655 * gdb.base/list-ambiguous0.c: New file.
7656 * gdb.base/list-ambiguous1.c: New file.
7657 * gdb.base/list.exp (test_list_range): Adjust expected output.
7658
0a2dde4a
SDJ
76592017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
7660
7661 * gdb.base/share-env-with-gdbserver.c: New file.
7662 * gdb.base/share-env-with-gdbserver.exp: Likewise.
7663
5e89eb3a
SM
76642017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7665
7666 * gdb.base/commands.exp (gdbvar_simple_if_test,
7667 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
7668 progvar_simple_if_test, progvar_simple_while_test,
7669 progvar_complex_if_while_test, user_defined_command_test,
7670 user_defined_command_args_eval,
7671 user_defined_command_args_stack_test,
7672 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7673 temporary_breakpoint_commands,
7674 gdb_test_no_prompt, redefine_hook_test,
7675 redefine_backtrace_test): Remove "global gdb_prompt".
7676
fd437cbc
SM
76772017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7678
7679 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7680 New proc, call it from toplevel.
7681
87215ad1
SDJ
76822017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7683
7684 PR remote/21852
7685 * gdb.server/normal.c: New file, copied from gdb.base.
7686 * gdb.server/run-without-local-binary.exp: New file.
7687
58afddc6
WP
76882017-08-07 Weimin Pan <weimin.pan@oracle.com>
7689
7690 * gdb.arch/sparc64-adi.exp: New file.
7691 * gdb.arch/sparc64-adi.c: New file.
7692
5277199a
PA
76932017-08-22 Pedro Alves <palves@redhat.com>
7694
7695 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7696 (top level): Add "list all overloads" tests.
7697
14278e1f
TT
76982017-08-22 Tom Tromey <tom@tromey.com>
7699
7700 * gdb.gdb/xfullpath.exp: Remove.
7701
bf223d3e
PA
77022017-08-21 Pedro Alves <palves@redhat.com>
7703
7704 PR gdb/19487
7705 * gdb.base/symbol-alias.c: New.
7706 * gdb.base/symbol-alias2.c: New.
7707 * gdb.base/symbol-alias.exp: New.
7708
c973d0aa
PA
77092017-08-21 Pedro Alves <palves@redhat.com>
7710
7711 * gdb.base/dfp-test.c
7712 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7713 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7714 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7715 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7716 * gdb.base/whatis-ptype-typedefs.c: New.
7717 * gdb.base/whatis-ptype-typedefs.exp: New.
7718 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7719 (an_int, an_int_type, an_int_type2): New globals.
7720 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7721 involving typedefs and cast expressions.
7722 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7723 (lookup_typedefs_function): New.
7724 (typedefs_pretty_printers_dict): New.
7725 (top level): Register lookup_typedefs_function in
7726 gdb.pretty_printers.
7727
6d580b63
YQ
77282017-08-18 Yao Qi <yao.qi@linaro.org>
7729
7730 * gdb.server/unittest.exp: New.
7731
206726fb
SDJ
77322017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7733
7734 PR gdb/21954
7735 * gdb.base/environ.exp: Add test to check if 'unset environment'
7736 works.
7737
bf0ec4c2
AA
77382017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7739
7740 * lib/gdb.exp (universal_compile_options): New caching proc.
7741 (gdb_compile): Suppress GCC's coloring of messages.
7742
d6382fff
TT
77432017-08-14 Tom Tromey <tom@tromey.com>
7744
7745 PR gdb/21675:
7746 * gdb.base/printcmds.exp (test_radices): New function.
7747 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7748 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7749 * lib/gdb.exp (get_integer_valueof): Use p/d.
7750
c2c2dd9f
SM
77512017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7752
7753 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7754 characters.
7755
fdffd6f4
TT
77562017-08-05 Tom Tromey <tom@tromey.com>
7757
7758 * gdb.rust/simple.exp: Allow String to appear in a different
7759 namespace.
7760
27d41eac
YQ
77612017-07-26 Yao Qi <yao.qi@linaro.org>
7762
7763 * gdb.gdb/unittest.exp: Invoke command
7764 "maintenance check xml-descriptions".
7765
031ed05d
AA
77662017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7767
7768 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7769 calling context.
7770 (hex128): Drop erroneous calculation of parameters.
7771
dcd27ddf
SM
77722017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7773
7774 * gdb.python/py-unwind.exp: Disable stack protection when
7775 building test file.
7776
47e77640
PA
77772017-07-20 Pedro Alves <palves@redhat.com>
7778
7779 * gdb.base/default.exp (set language): Adjust expected output.
7780
62d2a18a
PA
77812017-07-20 Pedro Alves <palves@redhat.com>
7782
7783 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7784 (test_minsym): ... this, and make static.
7785 (get_pck__foo__bar__minsym): Rename to ...
7786 (get_test_minsym): ... this.
7787 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7788 symbol names and comments.
7789 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7790 (get_test_minsym): ... this.
7791 (pck__foo__bar__minsym__2): Rename to ...
7792 (test_minsym): ... this.
7793 (main): Adjust.
7794
c45ec17c
PA
77952017-07-17 Pedro Alves <palves@redhat.com>
7796
7797 * gdb.base/completion.exp: Adjust expected output.
7798 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7799 the completer works.
7800
c6756f62
PA
78012017-07-17 Pedro Alves <palves@redhat.com>
7802
7803 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7804
5bd68487
AB
78052017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7806
7807 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7808
8880f2a9
TT
78092017-07-14 Tom Tromey <tom@tromey.com>
7810
7811 PR rust/21764:
7812 * gdb.rust/simple.exp: Add tests.
7813
65547233
TT
78142017-07-14 Tom Tromey <tom@tromey.com>
7815
7816 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7817
8f14146e
PA
78182017-07-14 Pedro Alves <palves@redhat.com>
7819
7820 * gdb.linespec/base/one/thefile.cc (z1): New function.
7821 * gdb.linespec/base/two/thefile.cc (z2): New function.
7822 * gdb.linespec/linespec.exp: Add tests.
7823
b4365d02
AB
78242017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7825
7826 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7827 to mi_create_breakpoint.
7828
5d2cbaa5
AB
78292017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7830
7831 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7832 mi_create_breakpoint.
7833
11cb5716
IB
78342017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7835
7836 * gdb.dlang/demangle.exp: Update for demangling changes.
7837
03278692
TT
78382017-07-09 Tom Tromey <tom@tromey.com>
7839
7840 * gdb.dwarf2/shortpiece.exp: New file.
7841
33c5cd75
DB
78422017-07-06 David Blaikie <dblaikie@gmail.com>
7843
7844 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7845 built from fissiont-multi-cu{1,2}.c.
7846 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7847 except putting 'main' and 'func' in separate CUs in the same DWO file.
7848 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7849 test.
7850 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7851 test.
7852
8455d262
PA
78532017-07-06 Pedro Alves <palves@redhat.com>
7854
7855 * gdb.python/py-unwind.exp: Test flushregs.
7856
dc4bde35
SDJ
78572017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7858
7859 PR cli/21688
7860 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7861 tests for alias commands and trailing whitespace.
7862
51ed89aa
SDJ
78632017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7864
7865 PR cli/21688
7866 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7867 procedure. Call it.
7868
eb17d413
PA
78692017-06-29 Pedro Alves <palves@redhat.com>
7870
7871 * gdb.base/printcmds.exp: Add tests.
7872
41664b45
DG
78732017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7874
7875 PR gdb/21337
7876 * gdb.base/reread-readsym.exp: New file.
7877 * gdb.base/reread-readsym.c: New file.
7878
75312ae3
KB
78792017-06-21 Kevin Buettner <kevinb@redhat.com>
7880
7881 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7882 subpattern.
7883
66953522
PB
78842017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7885
7886 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7887 extended mnemonic.
7888 * gdb.arch/powerpc-power9.s: Likewise.
7889
5524b525
AA
78902017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7891
7892 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7893 on 32-bit x86 targets. Exploit is_*_target macros where
7894 appropriate.
7895
03c8af18
AA
78962017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7897
7898 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7899 register pieces.
7900
3bf31011
AA
79012017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7902
7903 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7904 located in one or more DWARF pieces.
7905
805acca0
AA
79062017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7907
7908 * lib/gdb.exp (get_endianness): New proc.
7909 * gdb.arch/aarch64-fp.exp: Use it.
7910 * gdb.arch/altivec-regs.exp: Likewise.
7911 * gdb.arch/e500-regs.exp: Likewise.
7912 * gdb.arch/vsx-regs.exp: Likewise.
7913 * gdb.base/dump.exp: Likewise.
7914 * gdb.base/funcargs.exp: Likewise.
7915 * gdb.base/gnu_vector.exp: Likewise.
7916 * gdb.dwarf2/formdata16.exp: Likewise.
7917 * gdb.dwarf2/implptrpiece.exp: Likewise.
7918 * gdb.dwarf2/nonvar-access.exp: Likewise.
7919 * gdb.python/py-inferior.exp: Likewise.
7920 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7921
e9352324
AA
79222017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7923
7924 PR gdb/21226
7925 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7926 stack value pieces are taken from the LSB end.
7927
d5d1163e
AA
79282017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7929
7930 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7931 variable at nonzero offset.
7932
0567c986
AA
79332017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7934
7935 * gdb.dwarf2/var-access.c: New file.
7936 * gdb.dwarf2/var-access.exp: New test.
7937 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7938
973e9aab
TT
79392017-06-12 Tom Tromey <tom@tromey.com>
7940
7941 * gdb.dwarf2/formdata16.exp: Add tests.
7942
d9109c80
TT
79432017-06-12 Tom Tromey <tom@tromey.com>
7944
7945 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7946
30a25466
TT
79472017-06-12 Tom Tromey <tom@tromey.com>
7948
7949 PR exp/16225:
7950 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7951 * gdb.arch/vsx-regs.exp: Update tests.
7952 * gdb.arch/s390-vregs.exp (hex128): New proc.
7953 Update test.
7954 * gdb.arch/altivec-regs.exp: Update tests.
7955
aefd8b33
SDJ
79562017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7957
7958 * gdb.base/startup-with-shell.c: New file.
7959 * gdb.base/startup-with-shell.exp: Likewise.
7960
2090129c
SDJ
79612017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7962
7963 * gdb.server/non-existing-program.exp: Update regex in order to
7964 reflect the fact that gdbserver is now using fork_inferior (with a
7965 shell) to startup the inferior.
7966
8e86a419
SM
79672017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7968
7969 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7970 support function calls from GDB.
7971
e6cf65f2
TT
79722017-05-21 Tom Tromey <tom@tromey.com>
7973
7974 PR rust/21466:
7975 * gdb.rust/unsized.exp: New file.
7976 * gdb.rust/unsized.rs: New file.
7977
43cc5389
TT
79782017-05-19 Tom Tromey <tom@tromey.com>
7979
7980 PR rust/21484:
7981 * gdb.rust/watch.exp: New file.
7982 * gdb.rust/watch.rs: New file.
7983
ec8df234
TT
79842017-05-18 Tom Tromey <tom@tromey.com>
7985
7986 * gdb.rust/simple.exp: Allow Box to be qualified.
7987
3e3e7fae
TP
79882017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7989
7990 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7991
59cc050d
PA
79922017-05-18 Pedro Alves <palves@redhat.com>
7993
7994 * gdb.base/fileio.c (test_write, test_read, test_close)
7995 (test_fstat): Don't print 'ret' in the fail path.
7996
c8f6abd1
PA
79972017-05-18 Pedro Alves <palves@redhat.com>
7998
7999 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
8000 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
8001 (test_system, test_rename, test_unlink, test_time): Change
8002 prototypes.
8003 * gdb.base/fileio.exp (stop_msg): Adjust.
8004
d2a03b77
PA
80052017-05-18 Pedro Alves <palves@redhat.com>
8006
8007 * gdb.base/fileio.c (null_str): New global.
8008 (test_stat): Use it.
8009 * gdb.base/fileio.exp: Remove nowarnings.
8010
0d5c6999
YQ
80112017-05-17 Yao Qi <yao.qi@linaro.org>
8012
8013 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
8014
21873064
YQ
80152017-05-17 Simon Marchi <simon.marchi@ericsson.com>
8016
8017 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
8018 argument command.
8019 (top-level): Invoke test_set_inferior_tty.
8020
d512d31c
PA
80212017-05-04 Pedro Alves <palves@redhat.com>
8022
8023 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
8024 Add parens to print call for Python 3.
8025
90cef2ed
KS
80262017-05-03 Keith Seitz <keiths@redhat.com>
8027
8028 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
8029 (main): Call it.
8030
14f819c8
TW
80312017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8032
8033 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
8034 to prev and next.
8035
913aeadd
TW
80362017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8037
8038 * gdb.python/py-record-btrace.exp: Remove test for
8039 gdb.BtraceInstruction.error.
8040
a3be24ad
TW
80412017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8042
8043 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
8044
ae20e79a
TW
80452017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8046
8047 * gdb.python/py-record-btrace-threads.c: New file.
8048 * gdb.python/py-record-btrace-threads.exp: New file.
8049
45ce1b47
SDJ
80502017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
8051
8052 PR testsuite/8595
8053 * gdb.base/environ.exp: Make test available in all architectures.
8054 Move bits related to "info program" testing to
8055 gdb.base/info-program.exp. Rewrite tests to use the two new
8056 procedures mentione below.
8057 (test_set_show_env_var) New procedure.
8058 (test_set_show_env_var_equal): Likewise.
8059 * gdb.base/info-program.exp: New file.
8060
e15c3eb4
KS
80612017-04-27 Keith Seitz <keiths@redhat.com>
8062
8063 * gdb.cp/oranking.cc (test15): New function.
8064 (main): Call test15 and declare additional variables for testing.
8065 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
8066 "p foo101('abc')" tests.
8067 Add tests for cv qualifier overloads.
8068 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
8069 "lvalue reference overload" test.
8070 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
8071 "print value of f1 on Child&& in f2" test.
8072
3a3fd0fd
PA
80732017-04-19 Pedro Alves <palves@redhat.com>
8074
8075 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
8076 procedure.
8077 (top level): Call it.
8078 * lib/gdb.exp (gdb_define_cmd): New procedure.
8079
53375380
PA
80802017-04-12 Pedro Alves <palves@redhat.com>
8081
8082 PR gdb/21323
8083 * gdb.cp/wide_char_types.c: Include <wchar.h>.
8084 (wchar): New global.
8085 * gdb.cp/wide_char_types.exp (wide_char_types_program)
8086 (do_test_wide_char, wide_char_types_no_program, top level): Add
8087 wchar_t testing.
8088
53e710ac
PA
80892017-04-12 Pedro Alves <palves@redhat.com>
8090
8091 PR c++/21323
8092 * gdb.cp/wide_char_types.c: New file.
8093 * gdb.cp/wide_char_types.exp: New file.
8094
0ad9d8c7
SDJ
80952017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
8096
8097 PR gdb/21352
8098 * gdb.trace/tsv.exp: Add test for "tsave -r".
8099
b1b45502
IB
81002017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
8101
8102 * gdb.dlang/watch-loc.c: New file.
8103 * gdb.dlang/watch-loc.exp: New file.
8104
ec13808e
JK
81052017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8106
8107 * gdb.python/py-section-script.exp (sepdebug): New testcases.
8108
fe5f7374
AK
81092017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8110
8111 * gdb.arch/arc-analyze-prologue.S: New file.
8112 * gdb.arch/arc-analyze-prologue.exp: Likewise.
8113
eea78757
AK
81142017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8115
8116 * gdb.arch/arc-decode-insn.S: New file.
8117 * gdb.arch/arc-decode-insn.exp: Likewise.
8118
5badf10a
IR
81192017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
8120
8121 PR tdep/20928
8122 * gdb.arch/sparc64-regs.exp: New file.
8123 * gdb.arch/sparc64-regs.S: Likewise.
8124
cee59b3f
TW
81252017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
8126
8127 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
8128 and memory view on Python 3.
8129
c0f55cc6
AV
81302017-03-20 Artemiy Volkov <artemiyv@acm.org>
8131 Keith Seitz <keiths@redhat.com>
8132
8133 PR gdb/14441
8134 * gdb.cp/demangle.exp: Add rvalue reference tests.
8135 * gdb.cp/rvalue-ref-casts.cc: New file.
8136 * gdb.cp/rvalue-ref-casts.exp: New file.
8137 * gdb.cp/rvalue-ref-overload.cc: New file.
8138 * gdb.cp/rvalue-ref-overload.exp: New file.
8139 * gdb.cp/rvalue-ref-params.cc: New file.
8140 * gdb.cp/rvalue-ref-params.exp: New file.
8141 * gdb.cp/rvalue-ref-sizeof.cc: New file.
8142 * gdb.cp/rvalue-ref-sizeof.exp: New file.
8143 * gdb.cp/rvalue-ref-types.cc: New file.
8144 * gdb.cp/rvalue-ref-types.exp: New file.
8145 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
8146 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
8147
51457a05
MAL
81482017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8149
8150 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
8151 New procedure.
8152
5b291c04
MAL
81532017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8154
8155 * lib/mi-support.exp (mi_gdb_test): Add additional message
8156 for unexpected output.
8157
59a56148
AA
81582017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8159
8160 * gdb.base/examine-backward.c (Barrier): New character array
8161 constant, to ensure that TestStrings is preceded by a string
8162 terminator.
8163
7942e96e
AA
81642017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8165
8166 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
8167 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
8168 and implicit pointer into such a location.
8169
6ebac3fb
DE
81702017-03-16 Doug Evans <dje@google.com>
8171
8172 * gdb.python/py-lazy-string (pointer): Really add new typedef.
8173
ec3b243d
TP
81742017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
8175
8176 * gdb.cp/m-static.exp: Fix expectation for prototype of
8177 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
8178
81792017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
8180
8181 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
8182 * gdb.guile/scm-lazy-string.c: New file.
8183 * gdb.guile/scm-value.exp: Move lazy string tests to ...
8184 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
8185 for pointer, array, typedef lazy strings.
8186
2cc36e25 81872017-03-16 Doug Evans <dje@google.com>
34b43320
DE
8188
8189 PR python/17728, python/18439, python/18779
8190 * gdb.python/py-value.c (main) Delete locals sptr, sn.
8191 * gdb.python/py-lazy-string.c (pointer): New typedef.
8192 (main): New locals ptr, array, typedef_ptr.
8193 * gdb.python/py-value.exp: Move lazy string tests to ...
8194 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
8195 array, typedef lazy strings.
ec3b243d 8196
0efcde63
AK
81972017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
8198
8199 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
8200 Add optional 'test' parameter.
8201
7978d7c3
SM
82022017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8203
8204 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8205 Skip for versions of DejaGnu < 1.5.
8206
896c0c1e
SM
82072017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8208
8209 * lib/gdb.exp (dejagnu_version): New proc.
8210 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8211 Use dejagnu_version.
8212
5f4d1085
KS
82132017-03-10 Keith Seitz <keiths@redhat.com>
8214
8215 PR c++/8128
8216 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
8217 type from destructor regexps.
8218 Add a branch which actually passes the test.
8219 Adjust "ptype t5i" test names.
8220
1de05205
PA
82212017-03-08 Pedro Alves <palves@redhat.com>
8222
8223 * gdb.base/step-over-exit.exp: Add explicit test message.
8224
c65d6b55
PA
82252017-03-08 Pedro Alves <palves@redhat.com>
8226
8227 PR gdb/18360
8228 * gdb.threads/interrupt-while-step-over.c: New file.
8229 * gdb.threads/interrupt-while-step-over.exp: New file.
8230
2e86a283
PA
82312017-03-08 Pedro Alves <palves@redhat.com>
8232
8233 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
8234 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
8235
25dcbff6
PA
82362017-03-08 Pedro Alves <palves@redhat.com>
8237
8238 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
8239 PKRU as not supported as a PASS.
8240
dc9366eb
PA
82412017-03-08 Pedro Alves <palves@redhat.com>
8242
8243 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
8244 prefix instead of $binfile1/$binfile2.
8245 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
8246 in test message.
8247 * gdb.python/py-completion.exp: Use "load python file" as test
8248 messages instead of unstable path names.
8249
6e5d74e7
PA
82502017-03-08 Pedro Alves <palves@redhat.com>
8251 Jan Kratochvil <jan.kratochvil@redhat.com>
8252
8253 PR cli/21218
8254 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8255 New proc.
8256 (top level): Call it.
8257
9753a2f6
PA
82582017-03-08 Pedro Alves <palves@redhat.com>
8259
8260 PR tui/21216
8261 * gdb.tui/tui-nl-filtered-output.exp: New file.
8262
1a4dd9dd
PA
82632017-03-08 Pedro Alves <palves@redhat.com>
8264
8265 * gdb.base/completion.exp: Move TUI completion tests to ...
8266 * gdb.tui/completion.exp: ... this new file.
8267
7cbbff33
PA
82682017-03-08 Pedro Alves <palves@redhat.com>
8269
8270 * gdb.base/tui-disasm-long-lines.c,
8271 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
8272 gdb.base/tui-layout.exp: Move to ...
8273 * gdb.tui/: ... this new directory.
8274
5f6fd321
PA
82752017-03-07 Pedro Alves <palves@redhat.com>
8276
8277 * gdb.base/tui-layout.c: New file.
8278 * gdb.base/tui-layout.exp: New file.
8279
44959fa8
PA
82802017-03-07 Pedro Alves <palves@redhat.com>
8281
8282 * gdb.base/tui-layout.c: Rename to ...
8283 * gdb.base/tui-disasm-long-lines.c: ... this.
8284 * gdb.base/tui-layout.exp: Rename to ...
8285 * gdb.base/tui-disasm-long-lines.exp: ... this.
8286
f8c4e718
PA
82872017-03-07 Pedro Alves <palves@redhat.com>
8288
8289 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
8290
6dbb839a 82912017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
8292
8293 * i386-mpx-call.c: New file.
8294 * i386-mpx-call.exp: New file.
8295
65b48a81
PB
82962017-02-28 Peter Bergner <bergner@vnet.ibm.com>
8297
8298 * gdb.arch/powerpc-power.exp: Delete test.
8299 * gdb.arch/powerpc-power.s: Likewise.
8300 * gdb.disasm/disassembler-options.exp: New test.
8301 * gdb.arch/powerpc-altivec.exp: Likewise.
8302 * gdb.arch/powerpc-altivec.s: Likewise.
8303 * gdb.arch/powerpc-altivec2.exp: Likewise.
8304 * gdb.arch/powerpc-altivec2.s: Likewise.
8305 * gdb.arch/powerpc-altivec3.exp: Likewise.
8306 * gdb.arch/powerpc-altivec3.s: Likewise.
8307 * gdb.arch/powerpc-power7.exp: Likewise.
8308 * gdb.arch/powerpc-power7.s: Likewise.
8309 * gdb.arch/powerpc-power8.exp: Likewise.
8310 * gdb.arch/powerpc-power8.s: Likewise.
8311 * gdb.arch/powerpc-power9.exp: Likewise.
8312 * gdb.arch/powerpc-power9.s: Likewise.
8313 * gdb.arch/powerpc-vsx.exp: Likewise.
8314 * gdb.arch/powerpc-vsx.s: Likewise.
8315 * gdb.arch/powerpc-vsx2.exp: Likewise.
8316 * gdb.arch/powerpc-vsx2.s: Likewise.
8317 * gdb.arch/powerpc-vsx3.exp: Likewise.
8318 * gdb.arch/powerpc-vsx3.s: Likewise.
8319 * gdb.arch/arm-disassembler-options.exp: Likewise.
8320 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
8321 * gdb.arch/s390-disassembler-options.exp: Likewise.
8322
17cd4947
LM
83232017-02-23 Luis Machado <lgustavo@codesourcery.com>
8324
8325 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
8326 (check_supported_features): ... this. Changed return type to void.
8327 (supports_rdseed): New static global.
8328 (rdseed): Check supports_rdseed.
8329 (initialize): Call check_supported_features.
8330
2039d74e
EBM
83312017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8332
8333 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
8334 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
8335 and lqarx/stqcx.
8336 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
8337 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
8338
a51d7ecf
EBM
83392017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8340
8341 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
8342 uppercase.
8343
0224619f
JK
83442017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8345
8346 * gdb.dwarf2/formdata16.c: New file.
8347 * gdb.dwarf2/formdata16.exp: New file.
8348 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
8349
216f72a1
JK
83502017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8351
8352 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
8353 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
8354 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
8355 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
8356 DW_AT_GNU_*.
8357
43988095
JK
83582017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8359
8360 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
8361
99e8a4f9
SDJ
83622017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
8363
8364 PR gdb/21164
8365 * gdb.base/maint.exp: Add testcases for when the commands do
8366 not have arguments.
8367
b58a8c0c
TP
83682017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
8369
8370 * gdb.cp/chained-calls.exp: Use p instead of P.
8371
4e746bb6
TW
83722017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
8373
8374 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
8375 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
8376
3f77c769
TT
83772017-02-14 Tom Tromey <tom@tromey.com>
8378
8379 PR python/13598:
8380 * gdb.python/py-events.exp: Add before_prompt event tests.
8381
075beec0
AA
83822017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8383
8384 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
8385
bf5f525c
LM
83862017-02-13 Luis Machado <lgustavo@codesourcery.com>
8387
8388 * gdb.linespec/explicit.c (my_unique_function_name): New function.
8389 (main): Call my_unique_function_name.
8390 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
8391 completion of patterns with a single match.
8392 Add missing -re switches to gdb_test_multiple calls.
8393
13a66184
LM
83942017-02-13 Luis Machado <lgustavo@codesourcery.com>
8395
8396 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
8397 return if core file is not recognized.
8398
26a06916
SM
83992017-02-10 Simon Marchi <simon.marchi@ericsson.com>
8400
8401 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
8402 and extra UIs.
8403
b761ca9e
SM
84042017-02-10 Simon Marchi <simon.marchi@ericsson.com>
8405
8406 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
8407 proc_with_prefix.
8408
b964bee0
TT
84092017-02-10 Tom Tromey <tom@tromey.com>
8410
8411 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
8412
18da0c51
MG
84132017-02-10 Martin Galvan <martingalvan@sourceware.org>
8414
8415 PR gdb/21122
8416 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
8417
604c4576
JG
84182017-02-08 Jerome Guitton <guitton@adacore.com>
8419
8420 * gdb.base/define.exp: Add test for command abbreviations
8421 in define.
8422
20b477a7
LM
84232017-02-06 Luis Machado <lgustavo@codesourcery.com>
8424
8425 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
8426 * gdb.reverse/insn-reverse-x86.c: New file.
8427
3f7b46f2
IR
84282017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
8429
8430 PR tdep/20936
8431 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
8432
f0fd41c1
TT
84332017-02-03 Tom Tromey <tom@tromey.com>
8434
8435 PR rust/21097:
8436 * gdb.rust/simple.exp: Add new tests.
8437
5be5dbf0
PA
84382017-02-02 Pedro Alves <palves@redhat.com>
8439
8440 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
8441 tests.
8442
7346ef59
AA
84432017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8444
8445 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
8446 taking a 2-byte value out of a 4-byte DWARF implicit value on
8447 big-endian targets.
8448 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
8449 logic. Add test cases for DW_OP_implicit.
8450
787f0025
MM
84512017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8452
8453 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
8454
68777c29
MM
84552017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8456
8457 * gdb.btrace/enable.exp: Call gdb_exit before
8458 skip_gdbserver_tests.
8459
0a1c7e28
MM
84602017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8461
8462 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
8463 GDBFLAGS.
8464
b5ac99b0
MM
84652017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8466
8467 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
8468 the test is skipped.
8469 * gdb.btrace/data.exp: Likewise.
8470 * gdb.btrace/delta.exp: Likewise.
8471 * gdb.btrace/dlopen.exp: Likewise.
8472 * gdb.btrace/enable-running.exp: Likewise.
8473 * gdb.btrace/enable.exp: Likewise.
8474 * gdb.btrace/exception.exp: Likewise.
8475 * gdb.btrace/function_call_history.exp: Likewise.
8476 * gdb.btrace/gcore.exp: Likewise.
8477 * gdb.btrace/instruction_history.exp: Likewise.
8478 * gdb.btrace/multi-thread-step.exp: Likewise.
8479 * gdb.btrace/nohist.exp: Likewise.
8480 * gdb.btrace/non-stop.exp: Likewise.
8481 * gdb.btrace/reconnect.exp: Likewise.
8482 * gdb.btrace/record_goto-step.exp: Likewise.
8483 * gdb.btrace/record_goto.exp: Likewise.
8484 * gdb.btrace/rn-dl-bind.exp: Likewise.
8485 * gdb.btrace/segv.exp: Likewise.
8486 * gdb.btrace/step.exp: Likewise.
8487 * gdb.btrace/stepi.exp: Likewise.
8488 * gdb.btrace/tailcall-only.exp: Likewise.
8489 * gdb.btrace/tailcall.exp: Likewise.
8490 * gdb.btrace/tsx.exp: Likewise.
8491 * gdb.btrace/unknown_functions.exp: Likewise.
8492 * gdb.btrace/vdso.exp: Likewise.
8493
cd4007e4
MM
84942017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8495
8496 * gdb.btrace/enable-running.c: New.
8497 * gdb.btrace/enable-running.exp: New.
8498
2735833d
WT
84992017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
8500
8501 * gdb.arch/amd64-gs_base.c: New file.
8502 * gdb.arch/amd64-gs_base.exp: New file.
8503
b51e1e94
LM
85042017-01-26 Luis Machado <lgustavo@codesourcery.com>
8505
8506 * lib/memory.exp: Remove spurious empty newlines.
8507
72ca0410
SM
85082017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
8509
8510 * gdb.python/py-bad-printers.exp: Load python file using "source".
8511 * gdb.python/py-events.exp: Likewise.
8512 * gdb.python/py-evsignal.exp: Likewise.
8513 * gdb.python/py-evthreads.exp: Likewise.
8514 * gdb.python/py-frame-args.exp: Likewise.
8515 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
8516 * gdb.python/py-framefilter-mi.exp: Likewise.
8517 * gdb.python/py-framefilter.exp: Likewise.
8518 * gdb.python/py-mi.exp: Likewise.
8519 * gdb.python/py-pp-maint.exp: Likewise.
8520 * gdb.python/py-pp-registration.exp: Likewise.
8521 * gdb.python/py-prettyprint.exp: Likewise.
8522 (run_lang_tests): Likewise.
8523 * gdb.python/py-typeprint.exp: Likewise.
8524
e309aa65
LM
85252017-01-26 Luis Machado <lgustavo@codesourcery.com>
8526
8527 * lib/memory.exp: New file.
8528 * lib/gdb.exp: Load memory.exp.
8529 * gdb.base/memattr.exp (delete_memory): Move proc to
8530 lib/memory.exp and rename to delete_memory_regions.
8531 Replace delete_memory with delete_memory_regions.
8532 Cleanup memory regions before tests.
8533 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
8534 before tests.
8535
515aff23
LM
85362017-01-26 Luis Machado <lgustavo@codesourcery.com>
8537
8538 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
8539 files.
8540 (initialize): New function conditionally defined.
8541 (testcases): Move within conditional block.
8542 (main): Call initialize.
8543 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
8544 of gdb.reverse/insn-reverse.c.
8545 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
8546 gdb.reverse/insn-reverse.c.
8547
d8b49cf0
YQ
85482017-01-26 Yao Qi <yao.qi@linaro.org>
8549
8550 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
8551 disassemble on address 0.
8552
f13a9a0c
YQ
85532017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
8554 Yao Qi <yao.qi@linaro.org>
8555
8556 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
8557 * gdb.dwarf2/implptr-64bit.S: Remove.
8558 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
8559 variables in caller's context. Add DW_OP_implicit_value.
8560
5ac95241
YQ
85612017-01-25 Yao Qi <yao.qi@linaro.org>
8562
8563 * lib/dwarf.exp (Dwarf::_location): Handle
8564 DW_OP_GNU_implicit_pointer with proper size.
8565
23e82930
LM
85662017-01-20 Luis Machado <lgustavo@codesourcery.com>
8567
8568 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
8569 and add untested calls.
8570
d334ae25
LM
85712017-01-20 Luis Machado <lgustavo@codesourcery.com>
8572
8573 * gdb.python/python.exp: Check line number against what GDB thinks
8574 the line number is for func1.
8575
f5e6296e
IB
85762017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
8577
8578 * gdb.dlang/debug-expr.exp: New file.
8579
5b362f04
LM
85802016-12-23 Luis Machado <lgustavo@codesourcery.com>
8581
8582 Fix test names for the following files:
8583
8584 * gdb.ada/exec_changed.exp
8585 * gdb.ada/info_types.exp
8586 * gdb.arch/aarch64-atomic-inst.exp
8587 * gdb.arch/aarch64-fp.exp
8588 * gdb.arch/altivec-abi.exp
8589 * gdb.arch/altivec-regs.exp
8590 * gdb.arch/amd64-byte.exp
8591 * gdb.arch/amd64-disp-step.exp
8592 * gdb.arch/amd64-dword.exp
8593 * gdb.arch/amd64-entry-value-inline.exp
8594 * gdb.arch/amd64-entry-value-param.exp
8595 * gdb.arch/amd64-entry-value-paramref.exp
8596 * gdb.arch/amd64-entry-value.exp
8597 * gdb.arch/amd64-i386-address.exp
8598 * gdb.arch/amd64-invalid-stack-middle.exp
8599 * gdb.arch/amd64-invalid-stack-top.exp
8600 * gdb.arch/amd64-optimout-repeat.exp
8601 * gdb.arch/amd64-prologue-skip.exp
8602 * gdb.arch/amd64-prologue-xmm.exp
8603 * gdb.arch/amd64-stap-special-operands.exp
8604 * gdb.arch/amd64-stap-wrong-subexp.exp
8605 * gdb.arch/amd64-tailcall-cxx.exp
8606 * gdb.arch/amd64-tailcall-noret.exp
8607 * gdb.arch/amd64-tailcall-ret.exp
8608 * gdb.arch/amd64-tailcall-self.exp
8609 * gdb.arch/amd64-word.exp
8610 * gdb.arch/arm-bl-branch-dest.exp
8611 * gdb.arch/arm-disp-step.exp
8612 * gdb.arch/arm-neon.exp
8613 * gdb.arch/arm-single-step-kernel-helper.exp
8614 * gdb.arch/avr-flash-qualifier.exp
8615 * gdb.arch/disp-step-insn-reloc.exp
8616 * gdb.arch/e500-abi.exp
8617 * gdb.arch/e500-regs.exp
8618 * gdb.arch/ftrace-insn-reloc.exp
8619 * gdb.arch/i386-avx512.exp
8620 * gdb.arch/i386-bp_permanent.exp
8621 * gdb.arch/i386-byte.exp
8622 * gdb.arch/i386-cfi-notcurrent.exp
8623 * gdb.arch/i386-disp-step.exp
8624 * gdb.arch/i386-dr3-watch.exp
8625 * gdb.arch/i386-float.exp
8626 * gdb.arch/i386-gnu-cfi.exp
8627 * gdb.arch/i386-mpx-map.exp
8628 * gdb.arch/i386-mpx-sigsegv.exp
8629 * gdb.arch/i386-mpx-simple_segv.exp
8630 * gdb.arch/i386-mpx.exp
8631 * gdb.arch/i386-permbkpt.exp
8632 * gdb.arch/i386-prologue.exp
8633 * gdb.arch/i386-signal.exp
8634 * gdb.arch/i386-size-overlap.exp
8635 * gdb.arch/i386-unwind.exp
8636 * gdb.arch/i386-word.exp
8637 * gdb.arch/mips-fcr.exp
8638 * gdb.arch/powerpc-d128-regs.exp
8639 * gdb.arch/powerpc-stackless.exp
8640 * gdb.arch/ppc64-atomic-inst.exp
8641 * gdb.arch/s390-stackless.exp
8642 * gdb.arch/s390-tdbregs.exp
8643 * gdb.arch/s390-vregs.exp
8644 * gdb.arch/sparc-sysstep.exp
8645 * gdb.arch/thumb-bx-pc.exp
8646 * gdb.arch/thumb-singlestep.exp
8647 * gdb.arch/thumb2-it.exp
8648 * gdb.arch/vsx-regs.exp
8649 * gdb.asm/asm-source.exp
8650 * gdb.base/a2-run.exp
8651 * gdb.base/advance.exp
8652 * gdb.base/all-bin.exp
8653 * gdb.base/anon.exp
8654 * gdb.base/args.exp
8655 * gdb.base/arithmet.exp
8656 * gdb.base/async-shell.exp
8657 * gdb.base/async.exp
8658 * gdb.base/attach-pie-noexec.exp
8659 * gdb.base/attach-twice.exp
8660 * gdb.base/auto-load.exp
8661 * gdb.base/bang.exp
8662 * gdb.base/bitfields.exp
8663 * gdb.base/break-always.exp
8664 * gdb.base/break-caller-line.exp
8665 * gdb.base/break-entry.exp
8666 * gdb.base/break-inline.exp
8667 * gdb.base/break-on-linker-gcd-function.exp
8668 * gdb.base/break-probes.exp
8669 * gdb.base/break.exp
8670 * gdb.base/breakpoint-shadow.exp
8671 * gdb.base/call-ar-st.exp
8672 * gdb.base/call-sc.exp
8673 * gdb.base/call-signal-resume.exp
8674 * gdb.base/call-strs.exp
8675 * gdb.base/callfuncs.exp
8676 * gdb.base/catch-fork-static.exp
8677 * gdb.base/catch-gdb-caused-signals.exp
8678 * gdb.base/catch-load.exp
8679 * gdb.base/catch-signal-fork.exp
8680 * gdb.base/catch-signal.exp
8681 * gdb.base/catch-syscall.exp
8682 * gdb.base/charset.exp
8683 * gdb.base/checkpoint.exp
8684 * gdb.base/chng-syms.exp
8685 * gdb.base/code-expr.exp
8686 * gdb.base/code_elim.exp
8687 * gdb.base/commands.exp
8688 * gdb.base/completion.exp
8689 * gdb.base/complex.exp
8690 * gdb.base/cond-expr.exp
8691 * gdb.base/condbreak.exp
8692 * gdb.base/consecutive.exp
8693 * gdb.base/continue-all-already-running.exp
8694 * gdb.base/coredump-filter.exp
8695 * gdb.base/corefile.exp
8696 * gdb.base/dbx.exp
8697 * gdb.base/debug-expr.exp
8698 * gdb.base/define.exp
8699 * gdb.base/del.exp
8700 * gdb.base/disabled-location.exp
8701 * gdb.base/disasm-end-cu.exp
8702 * gdb.base/disasm-optim.exp
8703 * gdb.base/display.exp
8704 * gdb.base/duplicate-bp.exp
8705 * gdb.base/ena-dis-br.exp
8706 * gdb.base/ending-run.exp
8707 * gdb.base/enumval.exp
8708 * gdb.base/environ.exp
8709 * gdb.base/eu-strip-infcall.exp
8710 * gdb.base/eval-avoid-side-effects.exp
8711 * gdb.base/eval-skip.exp
8712 * gdb.base/exitsignal.exp
8713 * gdb.base/expand-psymtabs.exp
8714 * gdb.base/filesym.exp
8715 * gdb.base/find-unmapped.exp
8716 * gdb.base/finish.exp
8717 * gdb.base/float.exp
8718 * gdb.base/foll-exec-mode.exp
8719 * gdb.base/foll-exec.exp
8720 * gdb.base/foll-fork.exp
8721 * gdb.base/fortran-sym-case.exp
8722 * gdb.base/freebpcmd.exp
8723 * gdb.base/func-ptr.exp
8724 * gdb.base/func-ptrs.exp
8725 * gdb.base/funcargs.exp
8726 * gdb.base/gcore-buffer-overflow.exp
8727 * gdb.base/gcore-relro-pie.exp
8728 * gdb.base/gcore-relro.exp
8729 * gdb.base/gcore.exp
8730 * gdb.base/gdb1090.exp
8731 * gdb.base/gdb11530.exp
8732 * gdb.base/gdb11531.exp
8733 * gdb.base/gdb1821.exp
8734 * gdb.base/gdbindex-stabs.exp
8735 * gdb.base/gdbvars.exp
8736 * gdb.base/hbreak.exp
8737 * gdb.base/hbreak2.exp
8738 * gdb.base/included.exp
8739 * gdb.base/infcall-input.exp
8740 * gdb.base/inferior-died.exp
8741 * gdb.base/infnan.exp
8742 * gdb.base/info-macros.exp
8743 * gdb.base/info-os.exp
8744 * gdb.base/info-proc.exp
8745 * gdb.base/info-shared.exp
8746 * gdb.base/info-target.exp
8747 * gdb.base/infoline.exp
8748 * gdb.base/interp.exp
8749 * gdb.base/interrupt.exp
8750 * gdb.base/jit-reader.exp
8751 * gdb.base/jit-simple.exp
8752 * gdb.base/kill-after-signal.exp
8753 * gdb.base/kill-detach-inferiors-cmd.exp
8754 * gdb.base/label.exp
8755 * gdb.base/langs.exp
8756 * gdb.base/ldbl_e308.exp
8757 * gdb.base/line-symtabs.exp
8758 * gdb.base/linespecs.exp
8759 * gdb.base/list.exp
8760 * gdb.base/long_long.exp
8761 * gdb.base/longest-types.exp
8762 * gdb.base/maint.exp
8763 * gdb.base/max-value-size.exp
8764 * gdb.base/memattr.exp
8765 * gdb.base/mips_pro.exp
8766 * gdb.base/morestack.exp
8767 * gdb.base/moribund-step.exp
8768 * gdb.base/multi-forks.exp
8769 * gdb.base/nested-addr.exp
8770 * gdb.base/nextoverexit.exp
8771 * gdb.base/noreturn-finish.exp
8772 * gdb.base/noreturn-return.exp
8773 * gdb.base/nostdlib.exp
8774 * gdb.base/offsets.exp
8775 * gdb.base/opaque.exp
8776 * gdb.base/pc-fp.exp
8777 * gdb.base/permissions.exp
8778 * gdb.base/print-symbol-loading.exp
8779 * gdb.base/prologue-include.exp
8780 * gdb.base/psymtab.exp
8781 * gdb.base/ptype.exp
8782 * gdb.base/random-signal.exp
8783 * gdb.base/randomize.exp
8784 * gdb.base/range-stepping.exp
8785 * gdb.base/readline-ask.exp
8786 * gdb.base/recpar.exp
8787 * gdb.base/recurse.exp
8788 * gdb.base/relational.exp
8789 * gdb.base/restore.exp
8790 * gdb.base/return-nodebug.exp
8791 * gdb.base/return.exp
8792 * gdb.base/run-after-attach.exp
8793 * gdb.base/save-bp.exp
8794 * gdb.base/scope.exp
8795 * gdb.base/sect-cmd.exp
8796 * gdb.base/set-lang-auto.exp
8797 * gdb.base/set-noassign.exp
8798 * gdb.base/setvar.exp
8799 * gdb.base/sigall.exp
8800 * gdb.base/sigbpt.exp
8801 * gdb.base/siginfo-addr.exp
8802 * gdb.base/siginfo-infcall.exp
8803 * gdb.base/siginfo-obj.exp
8804 * gdb.base/siginfo.exp
8805 * gdb.base/signals-state-child.exp
8806 * gdb.base/signest.exp
8807 * gdb.base/sigstep.exp
8808 * gdb.base/sizeof.exp
8809 * gdb.base/skip.exp
8810 * gdb.base/solib-corrupted.exp
8811 * gdb.base/solib-nodir.exp
8812 * gdb.base/solib-search.exp
8813 * gdb.base/stack-checking.exp
8814 * gdb.base/stale-infcall.exp
8815 * gdb.base/stap-probe.exp
8816 * gdb.base/start.exp
8817 * gdb.base/step-break.exp
8818 * gdb.base/step-bt.exp
8819 * gdb.base/step-line.exp
8820 * gdb.base/step-over-exit.exp
8821 * gdb.base/step-over-syscall.exp
8822 * gdb.base/step-resume-infcall.exp
8823 * gdb.base/step-test.exp
8824 * gdb.base/store.exp
8825 * gdb.base/structs3.exp
8826 * gdb.base/sym-file.exp
8827 * gdb.base/symbol-without-target_section.exp
8828 * gdb.base/term.exp
8829 * gdb.base/testenv.exp
8830 * gdb.base/ui-redirect.exp
8831 * gdb.base/until.exp
8832 * gdb.base/unwindonsignal.exp
8833 * gdb.base/value-double-free.exp
8834 * gdb.base/vla-datatypes.exp
8835 * gdb.base/vla-ptr.exp
8836 * gdb.base/vla-sideeffect.exp
8837 * gdb.base/volatile.exp
8838 * gdb.base/watch-cond-infcall.exp
8839 * gdb.base/watch-cond.exp
8840 * gdb.base/watch-non-mem.exp
8841 * gdb.base/watch-read.exp
8842 * gdb.base/watch-vfork.exp
8843 * gdb.base/watchpoint-cond-gone.exp
8844 * gdb.base/watchpoint-delete.exp
8845 * gdb.base/watchpoint-hw-hit-once.exp
8846 * gdb.base/watchpoint-hw.exp
8847 * gdb.base/watchpoint-stops-at-right-insn.exp
8848 * gdb.base/watchpoints.exp
8849 * gdb.base/wchar.exp
8850 * gdb.base/whatis-exp.exp
8851 * gdb.btrace/buffer-size.exp
8852 * gdb.btrace/data.exp
8853 * gdb.btrace/delta.exp
8854 * gdb.btrace/dlopen.exp
8855 * gdb.btrace/enable.exp
8856 * gdb.btrace/exception.exp
8857 * gdb.btrace/function_call_history.exp
8858 * gdb.btrace/gcore.exp
8859 * gdb.btrace/instruction_history.exp
8860 * gdb.btrace/nohist.exp
8861 * gdb.btrace/reconnect.exp
8862 * gdb.btrace/record_goto-step.exp
8863 * gdb.btrace/record_goto.exp
8864 * gdb.btrace/rn-dl-bind.exp
8865 * gdb.btrace/segv.exp
8866 * gdb.btrace/step.exp
8867 * gdb.btrace/stepi.exp
8868 * gdb.btrace/tailcall-only.exp
8869 * gdb.btrace/tailcall.exp
8870 * gdb.btrace/tsx.exp
8871 * gdb.btrace/unknown_functions.exp
8872 * gdb.btrace/vdso.exp
8873 * gdb.compile/compile-ifunc.exp
8874 * gdb.compile/compile-ops.exp
8875 * gdb.compile/compile-print.exp
8876 * gdb.compile/compile-setjmp.exp
8877 * gdb.cp/abstract-origin.exp
8878 * gdb.cp/ambiguous.exp
8879 * gdb.cp/annota2.exp
8880 * gdb.cp/annota3.exp
8881 * gdb.cp/anon-ns.exp
8882 * gdb.cp/anon-struct.exp
8883 * gdb.cp/anon-union.exp
8884 * gdb.cp/arg-reference.exp
8885 * gdb.cp/baseenum.exp
8886 * gdb.cp/bool.exp
8887 * gdb.cp/breakpoint.exp
8888 * gdb.cp/bs15503.exp
8889 * gdb.cp/call-c.exp
8890 * gdb.cp/casts.exp
8891 * gdb.cp/chained-calls.exp
8892 * gdb.cp/class2.exp
8893 * gdb.cp/classes.exp
8894 * gdb.cp/cmpd-minsyms.exp
8895 * gdb.cp/converts.exp
8896 * gdb.cp/cp-relocate.exp
8897 * gdb.cp/cpcompletion.exp
8898 * gdb.cp/cpexprs.exp
8899 * gdb.cp/cplabel.exp
8900 * gdb.cp/cplusfuncs.exp
8901 * gdb.cp/cpsizeof.exp
8902 * gdb.cp/ctti.exp
8903 * gdb.cp/derivation.exp
8904 * gdb.cp/destrprint.exp
8905 * gdb.cp/dispcxx.exp
8906 * gdb.cp/enum-class.exp
8907 * gdb.cp/exception.exp
8908 * gdb.cp/exceptprint.exp
8909 * gdb.cp/expand-psymtabs-cxx.exp
8910 * gdb.cp/expand-sals.exp
8911 * gdb.cp/extern-c.exp
8912 * gdb.cp/filename.exp
8913 * gdb.cp/formatted-ref.exp
8914 * gdb.cp/fpointer.exp
8915 * gdb.cp/gdb1355.exp
8916 * gdb.cp/gdb2495.exp
8917 * gdb.cp/hang.exp
8918 * gdb.cp/impl-this.exp
8919 * gdb.cp/infcall-dlopen.exp
8920 * gdb.cp/inherit.exp
8921 * gdb.cp/iostream.exp
8922 * gdb.cp/koenig.exp
8923 * gdb.cp/local.exp
8924 * gdb.cp/m-data.exp
8925 * gdb.cp/m-static.exp
8926 * gdb.cp/mb-ctor.exp
8927 * gdb.cp/mb-inline.exp
8928 * gdb.cp/mb-templates.exp
8929 * gdb.cp/member-name.exp
8930 * gdb.cp/member-ptr.exp
8931 * gdb.cp/meth-typedefs.exp
8932 * gdb.cp/method.exp
8933 * gdb.cp/method2.exp
8934 * gdb.cp/minsym-fallback.exp
8935 * gdb.cp/misc.exp
8936 * gdb.cp/namelessclass.exp
8937 * gdb.cp/namespace-enum.exp
8938 * gdb.cp/namespace-nested-import.exp
8939 * gdb.cp/namespace.exp
8940 * gdb.cp/nextoverthrow.exp
8941 * gdb.cp/no-dmgl-verbose.exp
8942 * gdb.cp/non-trivial-retval.exp
8943 * gdb.cp/noparam.exp
8944 * gdb.cp/nsdecl.exp
8945 * gdb.cp/nsimport.exp
8946 * gdb.cp/nsnested.exp
8947 * gdb.cp/nsnoimports.exp
8948 * gdb.cp/nsrecurs.exp
8949 * gdb.cp/nsstress.exp
8950 * gdb.cp/nsusing.exp
8951 * gdb.cp/operator.exp
8952 * gdb.cp/oranking.exp
8953 * gdb.cp/overload-const.exp
8954 * gdb.cp/overload.exp
8955 * gdb.cp/ovldbreak.exp
8956 * gdb.cp/ovsrch.exp
8957 * gdb.cp/paren-type.exp
8958 * gdb.cp/parse-lang.exp
8959 * gdb.cp/pass-by-ref.exp
8960 * gdb.cp/pr-1023.exp
8961 * gdb.cp/pr-1210.exp
8962 * gdb.cp/pr-574.exp
8963 * gdb.cp/pr10687.exp
8964 * gdb.cp/pr12028.exp
8965 * gdb.cp/pr17132.exp
8966 * gdb.cp/pr17494.exp
8967 * gdb.cp/pr9067.exp
8968 * gdb.cp/pr9167.exp
8969 * gdb.cp/pr9631.exp
8970 * gdb.cp/printmethod.exp
8971 * gdb.cp/psmang.exp
8972 * gdb.cp/psymtab-parameter.exp
8973 * gdb.cp/ptype-cv-cp.exp
8974 * gdb.cp/ptype-flags.exp
8975 * gdb.cp/re-set-overloaded.exp
8976 * gdb.cp/ref-types.exp
8977 * gdb.cp/rtti.exp
8978 * gdb.cp/scope-err.exp
8979 * gdb.cp/shadow.exp
8980 * gdb.cp/smartp.exp
8981 * gdb.cp/static-method.exp
8982 * gdb.cp/static-print-quit.exp
8983 * gdb.cp/temargs.exp
8984 * gdb.cp/templates.exp
8985 * gdb.cp/try_catch.exp
8986 * gdb.cp/typedef-operator.exp
8987 * gdb.cp/typeid.exp
8988 * gdb.cp/userdef.exp
8989 * gdb.cp/using-crash.exp
8990 * gdb.cp/var-tag.exp
8991 * gdb.cp/virtbase.exp
8992 * gdb.cp/virtfunc.exp
8993 * gdb.cp/virtfunc2.exp
8994 * gdb.cp/vla-cxx.exp
8995 * gdb.disasm/t01_mov.exp
8996 * gdb.disasm/t02_mova.exp
8997 * gdb.disasm/t03_add.exp
8998 * gdb.disasm/t04_sub.exp
8999 * gdb.disasm/t05_cmp.exp
9000 * gdb.disasm/t06_ari2.exp
9001 * gdb.disasm/t07_ari3.exp
9002 * gdb.disasm/t08_or.exp
9003 * gdb.disasm/t09_xor.exp
9004 * gdb.disasm/t10_and.exp
9005 * gdb.disasm/t11_logs.exp
9006 * gdb.disasm/t12_bit.exp
9007 * gdb.disasm/t13_otr.exp
9008 * gdb.dlang/circular.exp
9009 * gdb.dwarf2/arr-stride.exp
9010 * gdb.dwarf2/arr-subrange.exp
9011 * gdb.dwarf2/atomic-type.exp
9012 * gdb.dwarf2/bad-regnum.exp
9013 * gdb.dwarf2/bitfield-parent-optimized-out.exp
9014 * gdb.dwarf2/callframecfa.exp
9015 * gdb.dwarf2/clztest.exp
9016 * gdb.dwarf2/corrupt.exp
9017 * gdb.dwarf2/data-loc.exp
9018 * gdb.dwarf2/dup-psym.exp
9019 * gdb.dwarf2/dw2-anon-mptr.exp
9020 * gdb.dwarf2/dw2-anonymous-func.exp
9021 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
9022 * gdb.dwarf2/dw2-bad-unresolved.exp
9023 * gdb.dwarf2/dw2-basic.exp
9024 * gdb.dwarf2/dw2-canonicalize-type.exp
9025 * gdb.dwarf2/dw2-case-insensitive.exp
9026 * gdb.dwarf2/dw2-common-block.exp
9027 * gdb.dwarf2/dw2-compdir-oldgcc.exp
9028 * gdb.dwarf2/dw2-compressed.exp
9029 * gdb.dwarf2/dw2-const.exp
9030 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
9031 * gdb.dwarf2/dw2-cu-size.exp
9032 * gdb.dwarf2/dw2-dup-frame.exp
9033 * gdb.dwarf2/dw2-entry-value.exp
9034 * gdb.dwarf2/dw2-icycle.exp
9035 * gdb.dwarf2/dw2-ifort-parameter.exp
9036 * gdb.dwarf2/dw2-inline-break.exp
9037 * gdb.dwarf2/dw2-inline-param.exp
9038 * gdb.dwarf2/dw2-intercu.exp
9039 * gdb.dwarf2/dw2-intermix.exp
9040 * gdb.dwarf2/dw2-lexical-block-bare.exp
9041 * gdb.dwarf2/dw2-linkage-name-trust.exp
9042 * gdb.dwarf2/dw2-minsym-in-cu.exp
9043 * gdb.dwarf2/dw2-noloc.exp
9044 * gdb.dwarf2/dw2-op-call.exp
9045 * gdb.dwarf2/dw2-op-out-param.exp
9046 * gdb.dwarf2/dw2-opt-structptr.exp
9047 * gdb.dwarf2/dw2-param-error.exp
9048 * gdb.dwarf2/dw2-producer.exp
9049 * gdb.dwarf2/dw2-ranges-base.exp
9050 * gdb.dwarf2/dw2-ref-missing-frame.exp
9051 * gdb.dwarf2/dw2-reg-undefined.exp
9052 * gdb.dwarf2/dw2-regno-invalid.exp
9053 * gdb.dwarf2/dw2-restore.exp
9054 * gdb.dwarf2/dw2-restrict.exp
9055 * gdb.dwarf2/dw2-single-line-discriminators.exp
9056 * gdb.dwarf2/dw2-strp.exp
9057 * gdb.dwarf2/dw2-undefined-ret-addr.exp
9058 * gdb.dwarf2/dw2-unresolved.exp
9059 * gdb.dwarf2/dw2-var-zero-addr.exp
9060 * gdb.dwarf2/dw4-sig-types.exp
9061 * gdb.dwarf2/dwz.exp
9062 * gdb.dwarf2/dynarr-ptr.exp
9063 * gdb.dwarf2/enum-type.exp
9064 * gdb.dwarf2/gdb-index.exp
9065 * gdb.dwarf2/implptr-64bit.exp
9066 * gdb.dwarf2/implptr-optimized-out.exp
9067 * gdb.dwarf2/implptr.exp
9068 * gdb.dwarf2/implref-array.exp
9069 * gdb.dwarf2/implref-const.exp
9070 * gdb.dwarf2/implref-global.exp
9071 * gdb.dwarf2/implref-struct.exp
9072 * gdb.dwarf2/mac-fileno.exp
9073 * gdb.dwarf2/main-subprogram.exp
9074 * gdb.dwarf2/member-ptr-forwardref.exp
9075 * gdb.dwarf2/method-ptr.exp
9076 * gdb.dwarf2/missing-sig-type.exp
9077 * gdb.dwarf2/nonvar-access.exp
9078 * gdb.dwarf2/opaque-type-lookup.exp
9079 * gdb.dwarf2/pieces-optimized-out.exp
9080 * gdb.dwarf2/pieces.exp
9081 * gdb.dwarf2/pr10770.exp
9082 * gdb.dwarf2/pr13961.exp
9083 * gdb.dwarf2/staticvirtual.exp
9084 * gdb.dwarf2/subrange.exp
9085 * gdb.dwarf2/symtab-producer.exp
9086 * gdb.dwarf2/trace-crash.exp
9087 * gdb.dwarf2/typeddwarf.exp
9088 * gdb.dwarf2/valop.exp
9089 * gdb.dwarf2/watch-notconst.exp
9090 * gdb.fortran/array-element.exp
9091 * gdb.fortran/charset.exp
9092 * gdb.fortran/common-block.exp
9093 * gdb.fortran/complex.exp
9094 * gdb.fortran/derived-type-function.exp
9095 * gdb.fortran/derived-type.exp
9096 * gdb.fortran/logical.exp
9097 * gdb.fortran/module.exp
9098 * gdb.fortran/multi-dim.exp
9099 * gdb.fortran/nested-funcs.exp
9100 * gdb.fortran/print-formatted.exp
9101 * gdb.fortran/subarray.exp
9102 * gdb.fortran/vla-alloc-assoc.exp
9103 * gdb.fortran/vla-datatypes.exp
9104 * gdb.fortran/vla-history.exp
9105 * gdb.fortran/vla-ptr-info.exp
9106 * gdb.fortran/vla-ptype-sub.exp
9107 * gdb.fortran/vla-ptype.exp
9108 * gdb.fortran/vla-sizeof.exp
9109 * gdb.fortran/vla-type.exp
9110 * gdb.fortran/vla-value-sub-arbitrary.exp
9111 * gdb.fortran/vla-value-sub-finish.exp
9112 * gdb.fortran/vla-value-sub.exp
9113 * gdb.fortran/vla-value.exp
9114 * gdb.fortran/whatis_type.exp
9115 * gdb.go/chan.exp
9116 * gdb.go/handcall.exp
9117 * gdb.go/hello.exp
9118 * gdb.go/integers.exp
9119 * gdb.go/methods.exp
9120 * gdb.go/package.exp
9121 * gdb.go/strings.exp
9122 * gdb.go/types.exp
9123 * gdb.go/unsafe.exp
9124 * gdb.guile/scm-arch.exp
9125 * gdb.guile/scm-block.exp
9126 * gdb.guile/scm-breakpoint.exp
9127 * gdb.guile/scm-cmd.exp
9128 * gdb.guile/scm-disasm.exp
9129 * gdb.guile/scm-equal.exp
9130 * gdb.guile/scm-frame-args.exp
9131 * gdb.guile/scm-frame-inline.exp
9132 * gdb.guile/scm-frame.exp
9133 * gdb.guile/scm-iterator.exp
9134 * gdb.guile/scm-math.exp
9135 * gdb.guile/scm-objfile.exp
9136 * gdb.guile/scm-ports.exp
9137 * gdb.guile/scm-symbol.exp
9138 * gdb.guile/scm-symtab.exp
9139 * gdb.guile/scm-value-cc.exp
9140 * gdb.guile/types-module.exp
9141 * gdb.linespec/break-ask.exp
9142 * gdb.linespec/cpexplicit.exp
9143 * gdb.linespec/explicit.exp
9144 * gdb.linespec/keywords.exp
9145 * gdb.linespec/linespec.exp
9146 * gdb.linespec/ls-dollar.exp
9147 * gdb.linespec/ls-errs.exp
9148 * gdb.linespec/skip-two.exp
9149 * gdb.linespec/thread.exp
9150 * gdb.mi/mi-async.exp
9151 * gdb.mi/mi-basics.exp
9152 * gdb.mi/mi-break.exp
9153 * gdb.mi/mi-catch-load.exp
9154 * gdb.mi/mi-cli.exp
9155 * gdb.mi/mi-cmd-param-changed.exp
9156 * gdb.mi/mi-console.exp
9157 * gdb.mi/mi-detach.exp
9158 * gdb.mi/mi-disassemble.exp
9159 * gdb.mi/mi-eval.exp
9160 * gdb.mi/mi-file-transfer.exp
9161 * gdb.mi/mi-file.exp
9162 * gdb.mi/mi-fill-memory.exp
9163 * gdb.mi/mi-inheritance-syntax-error.exp
9164 * gdb.mi/mi-linespec-err-cp.exp
9165 * gdb.mi/mi-logging.exp
9166 * gdb.mi/mi-memory-changed.exp
9167 * gdb.mi/mi-read-memory.exp
9168 * gdb.mi/mi-record-changed.exp
9169 * gdb.mi/mi-reg-undefined.exp
9170 * gdb.mi/mi-regs.exp
9171 * gdb.mi/mi-return.exp
9172 * gdb.mi/mi-reverse.exp
9173 * gdb.mi/mi-simplerun.exp
9174 * gdb.mi/mi-solib.exp
9175 * gdb.mi/mi-stack.exp
9176 * gdb.mi/mi-stepi.exp
9177 * gdb.mi/mi-syn-frame.exp
9178 * gdb.mi/mi-until.exp
9179 * gdb.mi/mi-var-block.exp
9180 * gdb.mi/mi-var-child.exp
9181 * gdb.mi/mi-var-cmd.exp
9182 * gdb.mi/mi-var-cp.exp
9183 * gdb.mi/mi-var-display.exp
9184 * gdb.mi/mi-var-invalidate.exp
9185 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
9186 * gdb.mi/mi-vla-fortran.exp
9187 * gdb.mi/mi-watch.exp
9188 * gdb.mi/mi2-var-child.exp
9189 * gdb.mi/user-selected-context-sync.exp
9190 * gdb.modula2/unbounded-array.exp
9191 * gdb.multi/dummy-frame-restore.exp
9192 * gdb.multi/multi-arch-exec.exp
9193 * gdb.multi/multi-arch.exp
9194 * gdb.multi/tids.exp
9195 * gdb.multi/watchpoint-multi.exp
9196 * gdb.opencl/callfuncs.exp
9197 * gdb.opencl/convs_casts.exp
9198 * gdb.opencl/datatypes.exp
9199 * gdb.opencl/operators.exp
9200 * gdb.opencl/vec_comps.exp
9201 * gdb.opt/clobbered-registers-O2.exp
9202 * gdb.opt/inline-break.exp
9203 * gdb.opt/inline-bt.exp
9204 * gdb.opt/inline-cmds.exp
9205 * gdb.opt/inline-locals.exp
9206 * gdb.pascal/case-insensitive-symbols.exp
9207 * gdb.pascal/floats.exp
9208 * gdb.pascal/gdb11492.exp
9209 * gdb.python/lib-types.exp
9210 * gdb.python/py-arch.exp
9211 * gdb.python/py-as-string.exp
9212 * gdb.python/py-bad-printers.exp
9213 * gdb.python/py-block.exp
9214 * gdb.python/py-breakpoint-create-fail.exp
9215 * gdb.python/py-breakpoint.exp
9216 * gdb.python/py-caller-is.exp
9217 * gdb.python/py-cmd.exp
9218 * gdb.python/py-explore-cc.exp
9219 * gdb.python/py-explore.exp
9220 * gdb.python/py-finish-breakpoint.exp
9221 * gdb.python/py-finish-breakpoint2.exp
9222 * gdb.python/py-frame-args.exp
9223 * gdb.python/py-frame-inline.exp
9224 * gdb.python/py-frame.exp
9225 * gdb.python/py-framefilter-mi.exp
9226 * gdb.python/py-infthread.exp
9227 * gdb.python/py-lazy-string.exp
9228 * gdb.python/py-linetable.exp
9229 * gdb.python/py-mi-events.exp
9230 * gdb.python/py-mi-objfile.exp
9231 * gdb.python/py-mi.exp
9232 * gdb.python/py-objfile.exp
9233 * gdb.python/py-pp-integral.exp
9234 * gdb.python/py-pp-maint.exp
9235 * gdb.python/py-pp-re-notag.exp
9236 * gdb.python/py-pp-registration.exp
9237 * gdb.python/py-recurse-unwind.exp
9238 * gdb.python/py-strfns.exp
9239 * gdb.python/py-symbol.exp
9240 * gdb.python/py-symtab.exp
9241 * gdb.python/py-sync-interp.exp
9242 * gdb.python/py-typeprint.exp
9243 * gdb.python/py-unwind-maint.exp
9244 * gdb.python/py-unwind.exp
9245 * gdb.python/py-value-cc.exp
9246 * gdb.python/py-xmethods.exp
9247 * gdb.reverse/amd64-tailcall-reverse.exp
9248 * gdb.reverse/break-precsave.exp
9249 * gdb.reverse/break-reverse.exp
9250 * gdb.reverse/consecutive-precsave.exp
9251 * gdb.reverse/consecutive-reverse.exp
9252 * gdb.reverse/finish-precsave.exp
9253 * gdb.reverse/finish-reverse-bkpt.exp
9254 * gdb.reverse/finish-reverse.exp
9255 * gdb.reverse/fstatat-reverse.exp
9256 * gdb.reverse/getresuid-reverse.exp
9257 * gdb.reverse/i386-precsave.exp
9258 * gdb.reverse/i386-reverse.exp
9259 * gdb.reverse/i386-sse-reverse.exp
9260 * gdb.reverse/i387-env-reverse.exp
9261 * gdb.reverse/i387-stack-reverse.exp
9262 * gdb.reverse/insn-reverse.exp
9263 * gdb.reverse/machinestate-precsave.exp
9264 * gdb.reverse/machinestate.exp
9265 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9266 * gdb.reverse/pipe-reverse.exp
9267 * gdb.reverse/readv-reverse.exp
9268 * gdb.reverse/recvmsg-reverse.exp
9269 * gdb.reverse/rerun-prec.exp
9270 * gdb.reverse/s390-mvcle.exp
9271 * gdb.reverse/step-precsave.exp
9272 * gdb.reverse/step-reverse.exp
9273 * gdb.reverse/time-reverse.exp
9274 * gdb.reverse/until-precsave.exp
9275 * gdb.reverse/until-reverse.exp
9276 * gdb.reverse/waitpid-reverse.exp
9277 * gdb.reverse/watch-precsave.exp
9278 * gdb.reverse/watch-reverse.exp
9279 * gdb.rust/generics.exp
9280 * gdb.rust/methods.exp
9281 * gdb.rust/modules.exp
9282 * gdb.rust/simple.exp
9283 * gdb.server/connect-with-no-symbol-file.exp
9284 * gdb.server/ext-attach.exp
9285 * gdb.server/ext-restart.exp
9286 * gdb.server/ext-wrapper.exp
9287 * gdb.server/file-transfer.exp
9288 * gdb.server/server-exec-info.exp
9289 * gdb.server/server-kill.exp
9290 * gdb.server/server-mon.exp
9291 * gdb.server/wrapper.exp
9292 * gdb.stabs/exclfwd.exp
9293 * gdb.stabs/gdb11479.exp
9294 * gdb.threads/clone-new-thread-event.exp
9295 * gdb.threads/corethreads.exp
9296 * gdb.threads/current-lwp-dead.exp
9297 * gdb.threads/dlopen-libpthread.exp
9298 * gdb.threads/gcore-thread.exp
9299 * gdb.threads/sigstep-threads.exp
9300 * gdb.threads/watchpoint-fork.exp
9301 * gdb.trace/actions-changed.exp
9302 * gdb.trace/backtrace.exp
9303 * gdb.trace/change-loc.exp
9304 * gdb.trace/circ.exp
9305 * gdb.trace/collection.exp
9306 * gdb.trace/disconnected-tracing.exp
9307 * gdb.trace/ftrace.exp
9308 * gdb.trace/mi-trace-frame-collected.exp
9309 * gdb.trace/mi-trace-unavailable.exp
9310 * gdb.trace/mi-traceframe-changed.exp
9311 * gdb.trace/mi-tsv-changed.exp
9312 * gdb.trace/no-attach-trace.exp
9313 * gdb.trace/passc-dyn.exp
9314 * gdb.trace/qtro.exp
9315 * gdb.trace/range-stepping.exp
9316 * gdb.trace/read-memory.exp
9317 * gdb.trace/save-trace.exp
9318 * gdb.trace/signal.exp
9319 * gdb.trace/status-stop.exp
9320 * gdb.trace/tfile.exp
9321 * gdb.trace/trace-break.exp
9322 * gdb.trace/trace-buffer-size.exp
9323 * gdb.trace/trace-condition.exp
9324 * gdb.trace/tracefile-pseudo-reg.exp
9325 * gdb.trace/tstatus.exp
9326 * gdb.trace/unavailable.exp
9327 * gdb.trace/while-dyn.exp
9328 * gdb.trace/while-stepping.exp
9329
34c41c68
DE
93302016-12-22 Doug Evans <xdje42@gmail.com>
9331
9332 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
9333 and msymbols.
9334
16e69324
YQ
93352016-12-19 Yao Qi <yao.qi@linaro.org>
9336
9337 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
9338 (test_with_self): Don't call do_steps_and_nexts, and remove
9339 code about stepping into xmalloc.
9340
f94f411b
YQ
93412016-12-09 Yao Qi <yao.qi@linaro.org>
9342
9343 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
9344
93452016-12-09 Yao Qi <yao.qi@linaro.org>
9346
9347 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
9348
f1b5deee
PA
93492016-12-09 Pedro Alves <palves@redhat.com>
9350
9351 * gdb.base/all-architectures-0.exp: New file.
9352 * gdb.base/all-architectures-1.exp: New file.
9353 * gdb.base/all-architectures-2.exp: New file.
9354 * gdb.base/all-architectures-3.exp: New file.
9355 * gdb.base/all-architectures-4.exp: New file.
9356 * gdb.base/all-architectures-5.exp: New file.
9357 * gdb.base/all-architectures-6.exp: New file.
9358 * gdb.base/all-architectures-7.exp: New file.
9359 * gdb.base/all-architectures.exp.in: New file.
9360
364ca42e
YQ
93612016-12-09 Yao Qi <yao.qi@linaro.org>
9362
9363 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
9364
107c2d62
LM
93652016-12-02 Luis Machado <lgustavo@codesourcery.com>
9366
9367 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
9368 possible.
9369 Remove useless pattern-matching code.
9370
df3ee9ca
PA
93712016-12-02 Pedro Alves <palves@redhat.com>
9372
9373 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
9374 procedure.
9375 (top level): Call it.
9376
ec835369
PA
93772016-12-02 Pedro Alves <palves@redhat.com>
9378
9379 * gdb.base/commands.exp (user_defined_command_args_stack_test):
9380 New procedure.
9381 (top level): Call it.
9382
01770bbd
PA
93832016-12-02 Pedro Alves <palves@redhat.com>
9384
9385 PR cli/20559
9386 * gdb.base/commands.exp (user_defined_command_args_eval): New
9387 procedure.
9388 (top level): Call it.
9389
008459ea
LM
93902016-12-02 Luis Machado <lgustavo@codesourcery.com>
9391
9392 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
9393 timeout handling.
9394
0c1b455e
TT
93952016-12-02 Tom Tromey <tom@tromey.com>
9396
9397 * gdb.dwarf2/main-subprogram.c: New file.
9398 * gdb.dwarf2/main-subprogram.exp: New file.
9399
018572b8
LM
94002016-12-01 Luis Machado <lgustavo@codesourcery.com>
9401
9402 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
9403 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
9404 gdb_test_no_output for a couple of cases.
9405 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
9406
84c93cd5
LM
94072016-12-01 Luis Machado <lgustavo@codesourcery.com>
9408
9409 Fix test names and standardize compilation error messages throughout
9410 the following files:
9411
9412 * gdb.ada/start.exp
9413 * gdb.arch/alpha-step.exp
9414 * gdb.arch/e500-prologue.exp
9415 * gdb.arch/ftrace-insn-reloc.exp
9416 * gdb.arch/gdb1291.exp
9417 * gdb.arch/gdb1431.exp
9418 * gdb.arch/gdb1558.exp
9419 * gdb.arch/i386-dr3-watch.exp
9420 * gdb.arch/i386-sse-stack-align.exp
9421 * gdb.arch/ia64-breakpoint-shadow.exp
9422 * gdb.arch/pa-nullify.exp
9423 * gdb.arch/powerpc-aix-prologue.exp
9424 * gdb.arch/thumb-bx-pc.exp
9425 * gdb.base/annota1.exp
9426 * gdb.base/annota3.exp
9427 * gdb.base/arrayidx.exp
9428 * gdb.base/assign.exp
9429 * gdb.base/attach.exp
9430 * gdb.base/auxv.exp
9431 * gdb.base/bang.exp
9432 * gdb.base/bfp-test.exp
9433 * gdb.base/bigcore.exp
9434 * gdb.base/bitfields2.exp
9435 * gdb.base/break-fun-addr.exp
9436 * gdb.base/break-probes.exp
9437 * gdb.base/call-rt-st.exp
9438 * gdb.base/callexit.exp
9439 * gdb.base/catch-fork-kill.exp
9440 * gdb.base/charset.exp
9441 * gdb.base/checkpoint.exp
9442 * gdb.base/comprdebug.exp
9443 * gdb.base/constvars.exp
9444 * gdb.base/coredump-filter.exp
9445 * gdb.base/cursal.exp
9446 * gdb.base/cvexpr.exp
9447 * gdb.base/detach.exp
9448 * gdb.base/display.exp
9449 * gdb.base/dmsym.exp
9450 * gdb.base/dprintf-pending.exp
9451 * gdb.base/dso2dso.exp
9452 * gdb.base/dtrace-probe.exp
9453 * gdb.base/dump.exp
9454 * gdb.base/enum_cond.exp
9455 * gdb.base/exe-lock.exp
9456 * gdb.base/exec-invalid-sysroot.exp
9457 * gdb.base/execl-update-breakpoints.exp
9458 * gdb.base/exprs.exp
9459 * gdb.base/fileio.exp
9460 * gdb.base/find.exp
9461 * gdb.base/finish.exp
9462 * gdb.base/fixsection.exp
9463 * gdb.base/foll-vfork.exp
9464 * gdb.base/frame-args.exp
9465 * gdb.base/gcore.exp
9466 * gdb.base/gdb1250.exp
9467 * gdb.base/global-var-nested-by-dso.exp
9468 * gdb.base/gnu-ifunc.exp
9469 * gdb.base/hashline1.exp
9470 * gdb.base/hashline2.exp
9471 * gdb.base/hashline3.exp
9472 * gdb.base/hbreak-in-shr-unsupported.exp
9473 * gdb.base/huge.exp
9474 * gdb.base/infcall-input.exp
9475 * gdb.base/info-fun.exp
9476 * gdb.base/info-shared.exp
9477 * gdb.base/jit-simple.exp
9478 * gdb.base/jit-so.exp
9479 * gdb.base/jit.exp
9480 * gdb.base/jump.exp
9481 * gdb.base/label.exp
9482 * gdb.base/lineinc.exp
9483 * gdb.base/logical.exp
9484 * gdb.base/longjmp.exp
9485 * gdb.base/macscp.exp
9486 * gdb.base/miscexprs.exp
9487 * gdb.base/new-ui-echo.exp
9488 * gdb.base/new-ui-pending-input.exp
9489 * gdb.base/new-ui.exp
9490 * gdb.base/nodebug.exp
9491 * gdb.base/nofield.exp
9492 * gdb.base/offsets.exp
9493 * gdb.base/overlays.exp
9494 * gdb.base/pending.exp
9495 * gdb.base/pointers.exp
9496 * gdb.base/pr11022.exp
9497 * gdb.base/printcmds.exp
9498 * gdb.base/prologue.exp
9499 * gdb.base/ptr-typedef.exp
9500 * gdb.base/realname-expand.exp
9501 * gdb.base/relativedebug.exp
9502 * gdb.base/relocate.exp
9503 * gdb.base/remote.exp
9504 * gdb.base/reread.exp
9505 * gdb.base/return2.exp
9506 * gdb.base/savedregs.exp
9507 * gdb.base/sep.exp
9508 * gdb.base/sepdebug.exp
9509 * gdb.base/sepsymtab.exp
9510 * gdb.base/set-inferior-tty.exp
9511 * gdb.base/setshow.exp
9512 * gdb.base/shlib-call.exp
9513 * gdb.base/sigaltstack.exp
9514 * gdb.base/siginfo-addr.exp
9515 * gdb.base/signals.exp
9516 * gdb.base/signull.exp
9517 * gdb.base/sigrepeat.exp
9518 * gdb.base/so-impl-ld.exp
9519 * gdb.base/solib-display.exp
9520 * gdb.base/solib-overlap.exp
9521 * gdb.base/solib-search.exp
9522 * gdb.base/solib-symbol.exp
9523 * gdb.base/structs.exp
9524 * gdb.base/structs2.exp
9525 * gdb.base/symtab-search-order.exp
9526 * gdb.base/twice.exp
9527 * gdb.base/unload.exp
9528 * gdb.base/varargs.exp
9529 * gdb.base/watchpoint-solib.exp
9530 * gdb.base/watchpoint.exp
9531 * gdb.base/whatis.exp
9532 * gdb.base/wrong_frame_bt_full.exp
9533 * gdb.btrace/dlopen.exp
9534 * gdb.cell/ea-standalone.exp
9535 * gdb.cell/ea-test.exp
9536 * gdb.cp/dispcxx.exp
9537 * gdb.cp/gdb2384.exp
9538 * gdb.cp/method2.exp
9539 * gdb.cp/nextoverthrow.exp
9540 * gdb.cp/pr10728.exp
9541 * gdb.disasm/am33.exp
9542 * gdb.disasm/h8300s.exp
9543 * gdb.disasm/mn10300.exp
9544 * gdb.disasm/sh3.exp
9545 * gdb.dwarf2/dw2-dir-file-name.exp
9546 * gdb.fortran/complex.exp
9547 * gdb.fortran/library-module.exp
9548 * gdb.guile/scm-pretty-print.exp
9549 * gdb.guile/scm-symbol.exp
9550 * gdb.guile/scm-type.exp
9551 * gdb.guile/scm-value.exp
9552 * gdb.linespec/linespec.exp
9553 * gdb.mi/gdb701.exp
9554 * gdb.mi/gdb792.exp
9555 * gdb.mi/mi-breakpoint-changed.exp
9556 * gdb.mi/mi-dprintf-pending.exp
9557 * gdb.mi/mi-dprintf.exp
9558 * gdb.mi/mi-exit-code.exp
9559 * gdb.mi/mi-pending.exp
9560 * gdb.mi/mi-solib.exp
9561 * gdb.mi/new-ui-mi-sync.exp
9562 * gdb.mi/pr11022.exp
9563 * gdb.mi/user-selected-context-sync.exp
9564 * gdb.opt/solib-intra-step.exp
9565 * gdb.python/py-events.exp
9566 * gdb.python/py-finish-breakpoint.exp
9567 * gdb.python/py-mi.exp
9568 * gdb.python/py-prettyprint.exp
9569 * gdb.python/py-shared.exp
9570 * gdb.python/py-symbol.exp
9571 * gdb.python/py-template.exp
9572 * gdb.python/py-type.exp
9573 * gdb.python/py-value.exp
9574 * gdb.reverse/solib-precsave.exp
9575 * gdb.reverse/solib-reverse.exp
9576 * gdb.server/solib-list.exp
9577 * gdb.stabs/weird.exp
9578 * gdb.threads/reconnect-signal.exp
9579 * gdb.threads/stepi-random-signal.exp
9580 * gdb.trace/actions.exp
9581 * gdb.trace/ax.exp
9582 * gdb.trace/backtrace.exp
9583 * gdb.trace/change-loc.exp
9584 * gdb.trace/deltrace.exp
9585 * gdb.trace/ftrace-lock.exp
9586 * gdb.trace/ftrace.exp
9587 * gdb.trace/infotrace.exp
9588 * gdb.trace/mi-tracepoint-changed.exp
9589 * gdb.trace/packetlen.exp
9590 * gdb.trace/passcount.exp
9591 * gdb.trace/pending.exp
9592 * gdb.trace/range-stepping.exp
9593 * gdb.trace/report.exp
9594 * gdb.trace/stap-trace.exp
9595 * gdb.trace/tfind.exp
9596 * gdb.trace/trace-break.exp
9597 * gdb.trace/trace-condition.exp
9598 * gdb.trace/trace-enable-disable.exp
9599 * gdb.trace/trace-mt.exp
9600 * gdb.trace/tracecmd.exp
9601 * gdb.trace/tspeed.exp
9602 * gdb.trace/tsv.exp
9603 * lib/perftest.exp
9604
fb9feb35
LM
96052016-12-01 Luis Machado <lgustavo@codesourcery.com>
9606
9607 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
9608 with gdb_test_no_output.
9609 Use command as test name.
9610
cd2ddb6c
LM
96112016-12-01 Luis Machado <lgustavo@codesourcery.com>
9612
9613 Fix test names starting with uppercase throughout the files.
9614
9615 * gdb.ada/assign_1.exp
9616 * gdb.ada/boolean_expr.exp
9617 * gdb.base/arrayidx.exp
9618 * gdb.base/del.exp
9619 * gdb.base/gcore-buffer-overflow.exp
9620 * gdb.base/testenv.exp
9621 * gdb.compile/compile.exp
9622 * gdb.python/py-framefilter-invalidarg.exp
9623 * gdb.python/py-framefilter.exp
9624
bb95117e
LM
96252016-12-01 Luis Machado <lgustavo@codesourcery.com>
9626
9627 Fix test names starting with uppercase throughout the files.
9628
9629 * gdb.ada/array_return.exp
9630 * gdb.ada/expr_delims.exp
9631 * gdb.ada/mi_dyn_arr.exp
9632 * gdb.ada/mi_interface.exp
9633 * gdb.ada/mi_var_array.exp
9634 * gdb.ada/watch_arg.exp
9635 * gdb.arch/alpha-step.exp
9636 * gdb.arch/altivec-regs.exp
9637 * gdb.arch/e500-regs.exp
9638 * gdb.arch/powerpc-d128-regs.exp
9639 * gdb.base/arrayidx.exp
9640 * gdb.base/break.exp
9641 * gdb.base/checkpoint.exp
9642 * gdb.base/debug-expr.exp
9643 * gdb.base/dmsym.exp
9644 * gdb.base/radix.exp
9645 * gdb.base/sepdebug.exp
9646 * gdb.base/testenv.exp
9647 * gdb.base/watch_thread_num.exp
9648 * gdb.base/watchpoint-cond-gone.exp
9649 * gdb.cell/break.exp
9650 * gdb.cell/ea-cache.exp
9651 * gdb.compile/compile.exp
9652 * gdb.cp/gdb2495.exp
9653 * gdb.gdb/selftest.exp
9654 * gdb.gdb/xfullpath.exp
9655 * gdb.go/hello.exp
9656 * gdb.go/integers.exp
9657 * gdb.objc/basicclass.exp
9658 * gdb.pascal/hello.exp
9659 * gdb.pascal/integers.exp
9660 * gdb.python/py-breakpoint.exp
9661 * gdb.python/py-cmd.exp
9662 * gdb.python/py-linetable.exp
9663 * gdb.python/py-xmethods.exp
9664 * gdb.python/python.exp
9665 * gdb.reverse/consecutive-precsave.exp
9666 * gdb.reverse/finish-precsave.exp
9667 * gdb.reverse/i386-precsave.exp
9668 * gdb.reverse/machinestate-precsave.exp
9669 * gdb.reverse/sigall-precsave.exp
9670 * gdb.reverse/solib-precsave.exp
9671 * gdb.reverse/step-precsave.exp
9672 * gdb.reverse/until-precsave.exp
9673 * gdb.reverse/watch-precsave.exp
9674 * gdb.threads/leader-exit.exp
9675 * gdb.threads/pthreads.exp
9676 * gdb.threads/wp-replication.exp
9677 * gdb.trace/actions.exp
9678 * gdb.trace/mi-tsv-changed.exp
9679 * gdb.trace/tsv.exp
9680
de97fdd4
LM
96812016-12-01 Luis Machado <lgustavo@codesourcery.com>
9682
9683 Fix test names starting with uppercase throughout the files.
9684
9685 * gdb.arch/i386-bp_permanent.exp
9686 * gdb.arch/i386-gnu-cfi.exp
9687 * gdb.base/disasm-end-cu.exp
9688 * gdb.base/macscp.exp
9689 * gdb.base/pending.exp
9690 * gdb.base/watch_thread_num.exp
9691 * gdb.cp/exception.exp
9692 * gdb.cp/gdb2495.exp
9693 * gdb.cp/local.exp
9694 * gdb.python/py-evsignal.exp
9695 * gdb.python/python.exp
9696 * gdb.trace/tracecmd.exp
9697
9f058c10
LM
96982016-12-01 Luis Machado <lgustavo@codesourcery.com>
9699
9700 Fix test names starting with uppercase throughout the files.
9701
9702 * gdb.base/charset.exp
9703 * gdb.base/eval.exp
9704 * gdb.base/multi-forks.exp
9705 * gdb.guile/scm-progspace.exp
9706 * gdb.opencl/datatypes.exp
9707 * gdb.python/py-block.exp
9708 * gdb.python/py-function.exp
9709 * gdb.python/py-symbol.exp
9710 * gdb.python/py-symtab.exp
9711 * gdb.python/py-xmethods.exp
9712 * gdb.reverse/break-precsave.exp
9713 * gdb.reverse/break-reverse.exp
9714 * gdb.reverse/consecutive-precsave.exp
9715 * gdb.reverse/consecutive-reverse.exp
9716 * gdb.reverse/finish-precsave.exp
9717 * gdb.reverse/finish-reverse-bkpt.exp
9718 * gdb.reverse/finish-reverse.exp
9719 * gdb.reverse/fstatat-reverse.exp
9720 * gdb.reverse/getresuid-reverse.exp
9721 * gdb.reverse/i386-precsave.exp
9722 * gdb.reverse/i386-reverse.exp
9723 * gdb.reverse/i386-sse-reverse.exp
9724 * gdb.reverse/i387-stack-reverse.exp
9725 * gdb.reverse/insn-reverse.exp
9726 * gdb.reverse/machinestate-precsave.exp
9727 * gdb.reverse/machinestate.exp
9728 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9729 * gdb.reverse/pipe-reverse.exp
9730 * gdb.reverse/readv-reverse.exp
9731 * gdb.reverse/recvmsg-reverse.exp
9732 * gdb.reverse/rerun-prec.exp
9733 * gdb.reverse/s390-mvcle.exp
9734 * gdb.reverse/sigall-precsave.exp
9735 * gdb.reverse/sigall-reverse.exp
9736 * gdb.reverse/solib-precsave.exp
9737 * gdb.reverse/solib-reverse.exp
9738 * gdb.reverse/step-precsave.exp
9739 * gdb.reverse/step-reverse.exp
9740 * gdb.reverse/time-reverse.exp
9741 * gdb.reverse/until-precsave.exp
9742 * gdb.reverse/until-reverse.exp
9743 * gdb.reverse/waitpid-reverse.exp
9744 * gdb.reverse/watch-precsave.exp
9745 * gdb.reverse/watch-reverse.exp
9746
cdc7edd7
LM
97472016-12-01 Luis Machado <lgustavo@codesourcery.com>
9748
9749 Fix test names starting with uppercase throughout the files.
9750
9751 * gdb.arch/i386-mpx-simple_segv.exp
9752 * gdb.arch/i386-mpx.exp
9753 * gdb.arch/i386-permbkpt.exp
9754 * gdb.arch/pa-nullify.exp
9755 * gdb.arch/powerpc-d128-regs.exp
9756 * gdb.arch/vsx-regs.exp
9757 * gdb.base/bfp-test.exp
9758 * gdb.base/break.exp
9759 * gdb.base/breakpoint-shadow.exp
9760 * gdb.base/callfuncs.exp
9761 * gdb.base/charset.exp
9762 * gdb.base/commands.exp
9763 * gdb.base/completion.exp
9764 * gdb.base/dfp-test.exp
9765 * gdb.base/echo.exp
9766 * gdb.base/ending-run.exp
9767 * gdb.base/eval.exp
9768 * gdb.base/expand-psymtabs.exp
9769 * gdb.base/float128.exp
9770 * gdb.base/floatn.exp
9771 * gdb.base/foll-exec-mode.exp
9772 * gdb.base/gdb1056.exp
9773 * gdb.base/gdb11531.exp
9774 * gdb.base/kill-after-signal.exp
9775 * gdb.base/multi-forks.exp
9776 * gdb.base/overlays.exp
9777 * gdb.base/pending.exp
9778 * gdb.base/sepdebug.exp
9779 * gdb.base/testenv.exp
9780 * gdb.base/valgrind-db-attach.exp
9781 * gdb.base/watch_thread_num.exp
9782 * gdb.base/watchpoint-cond-gone.exp
9783 * gdb.base/watchpoint.exp
9784 * gdb.base/watchpoints.exp
9785 * gdb.cp/arg-reference.exp
9786 * gdb.cp/baseenum.exp
9787 * gdb.cp/operator.exp
9788 * gdb.cp/shadow.exp
9789 * gdb.dwarf2/dw2-op-out-param.exp
9790 * gdb.dwarf2/dw2-reg-undefined.exp
9791 * gdb.go/chan.exp
9792 * gdb.go/hello.exp
9793 * gdb.go/integers.exp
9794 * gdb.go/methods.exp
9795 * gdb.go/package.exp
9796 * gdb.guile/scm-parameter.exp
9797 * gdb.guile/scm-progspace.exp
9798 * gdb.guile/scm-value.exp
9799 * gdb.mi/mi-pending.exp
9800 * gdb.mi/user-selected-context-sync.exp
9801 * gdb.multi/multi-attach.exp
9802 * gdb.multi/tids.exp
9803 * gdb.opt/clobbered-registers-O2.exp
9804 * gdb.pascal/floats.exp
9805 * gdb.pascal/integers.exp
9806 * gdb.python/py-block.exp
9807 * gdb.python/py-events.exp
9808 * gdb.python/py-parameter.exp
9809 * gdb.python/py-symbol.exp
9810 * gdb.python/py-symtab.exp
9811 * gdb.python/py-type.exp
9812 * gdb.python/py-value.exp
9813 * gdb.python/py-xmethods.exp
9814 * gdb.python/python.exp
9815 * gdb.reverse/break-precsave.exp
9816 * gdb.reverse/consecutive-precsave.exp
9817 * gdb.reverse/finish-precsave.exp
9818 * gdb.reverse/i386-precsave.exp
9819 * gdb.reverse/machinestate-precsave.exp
9820 * gdb.reverse/sigall-precsave.exp
9821 * gdb.reverse/solib-precsave.exp
9822 * gdb.reverse/step-precsave.exp
9823 * gdb.reverse/until-precsave.exp
9824 * gdb.reverse/watch-precsave.exp
9825 * gdb.server/ext-attach.exp
9826 * gdb.server/ext-restart.exp
9827 * gdb.server/ext-run.exp
9828 * gdb.server/ext-wrapper.exp
9829 * gdb.stabs/gdb11479.exp
9830 * gdb.stabs/weird.exp
9831 * gdb.threads/attach-many-short-lived-threads.exp
9832 * gdb.threads/kill.exp
9833 * gdb.threads/watchpoint-fork.exp
9834
bc6c7af4
LM
98352016-12-01 Luis Machado <lgustavo@codesourcery.com>
9836
9837 Fix test names starting with uppercase throughout all the files below.
9838
9839 * gdb.ada/array_return.exp
9840 * gdb.ada/catch_ex.exp
9841 * gdb.ada/info_exc.exp
9842 * gdb.ada/mi_catch_ex.exp
9843 * gdb.ada/mi_dyn_arr.exp
9844 * gdb.ada/mi_ex_cond.exp
9845 * gdb.ada/mi_exc_info.exp
9846 * gdb.ada/mi_interface.exp
9847 * gdb.ada/mi_task_arg.exp
9848 * gdb.ada/mi_task_info.exp
9849 * gdb.ada/mi_var_array.exp
9850 * gdb.arch/alpha-step.exp
9851 * gdb.arch/amd64-disp-step.exp
9852 * gdb.arch/arm-disp-step.exp
9853 * gdb.arch/disp-step-insn-reloc.exp
9854 * gdb.arch/e500-prologue.exp
9855 * gdb.arch/ftrace-insn-reloc.exp
9856 * gdb.arch/gdb1558.exp
9857 * gdb.arch/i386-bp_permanent.exp
9858 * gdb.arch/i386-disp-step.exp
9859 * gdb.arch/i386-float.exp
9860 * gdb.arch/i386-gnu-cfi.exp
9861 * gdb.arch/ia64-breakpoint-shadow.exp
9862 * gdb.arch/mips16-thunks.exp
9863 * gdb.arch/pa-nullify.exp
9864 * gdb.arch/powerpc-aix-prologue.exp
9865 * gdb.arch/powerpc-power.exp
9866 * gdb.arch/ppc-dfp.exp
9867 * gdb.arch/s390-tdbregs.exp
9868 * gdb.arch/spu-info.exp
9869 * gdb.arch/spu-ls.exp
9870 * gdb.arch/thumb-bx-pc.exp
9871 * gdb.base/advance.exp
9872 * gdb.base/annota-input-while-running.exp
9873 * gdb.base/arrayidx.exp
9874 * gdb.base/asmlabel.exp
9875 * gdb.base/async.exp
9876 * gdb.base/attach-wait-input.exp
9877 * gdb.base/auto-connect-native-target.exp
9878 * gdb.base/batch-preserve-term-settings.exp
9879 * gdb.base/bfp-test.exp
9880 * gdb.base/bigcore.exp
9881 * gdb.base/bp-permanent.exp
9882 * gdb.base/break-always.exp
9883 * gdb.base/break-fun-addr.exp
9884 * gdb.base/break-idempotent.exp
9885 * gdb.base/break-main-file-remove-fail.exp
9886 * gdb.base/break-probes.exp
9887 * gdb.base/break-unload-file.exp
9888 * gdb.base/break.exp
9889 * gdb.base/call-ar-st.exp
9890 * gdb.base/call-rt-st.exp
9891 * gdb.base/call-sc.exp
9892 * gdb.base/call-signal-resume.exp
9893 * gdb.base/call-strs.exp
9894 * gdb.base/callexit.exp
9895 * gdb.base/callfuncs.exp
9896 * gdb.base/catch-gdb-caused-signals.exp
9897 * gdb.base/catch-signal-siginfo-cond.exp
9898 * gdb.base/catch-syscall.exp
9899 * gdb.base/compare-sections.exp
9900 * gdb.base/cond-eval-mode.exp
9901 * gdb.base/condbreak-call-false.exp
9902 * gdb.base/consecutive-step-over.exp
9903 * gdb.base/cursal.exp
9904 * gdb.base/disabled-location.exp
9905 * gdb.base/disasm-end-cu.exp
9906 * gdb.base/display.exp
9907 * gdb.base/double-prompt-target-event-error.exp
9908 * gdb.base/dprintf-bp-same-addr.exp
9909 * gdb.base/dprintf-detach.exp
9910 * gdb.base/dprintf-next.exp
9911 * gdb.base/dprintf-non-stop.exp
9912 * gdb.base/dprintf-pending.exp
9913 * gdb.base/dso2dso.exp
9914 * gdb.base/ending-run.exp
9915 * gdb.base/enum_cond.exp
9916 * gdb.base/examine-backward.exp
9917 * gdb.base/exe-lock.exp
9918 * gdb.base/exec-invalid-sysroot.exp
9919 * gdb.base/execl-update-breakpoints.exp
9920 * gdb.base/execution-termios.exp
9921 * gdb.base/fileio.exp
9922 * gdb.base/fixsection.exp
9923 * gdb.base/foll-exec-mode.exp
9924 * gdb.base/foll-exec.exp
9925 * gdb.base/fork-running-state.exp
9926 * gdb.base/frame-args.exp
9927 * gdb.base/fullpath-expand.exp
9928 * gdb.base/func-ptr.exp
9929 * gdb.base/gcore-relro-pie.exp
9930 * gdb.base/gdb1090.exp
9931 * gdb.base/gdb1555.exp
9932 * gdb.base/global-var-nested-by-dso.exp
9933 * gdb.base/gnu-ifunc.exp
9934 * gdb.base/hbreak-in-shr-unsupported.exp
9935 * gdb.base/hbreak-unmapped.exp
9936 * gdb.base/hook-stop.exp
9937 * gdb.base/infcall-input.exp
9938 * gdb.base/info-fun.exp
9939 * gdb.base/info-shared.exp
9940 * gdb.base/interrupt-noterm.exp
9941 * gdb.base/jit-so.exp
9942 * gdb.base/jit.exp
9943 * gdb.base/line-symtabs.exp
9944 * gdb.base/list.exp
9945 * gdb.base/longjmp.exp
9946 * gdb.base/macscp.exp
9947 * gdb.base/max-value-size.exp
9948 * gdb.base/nodebug.exp
9949 * gdb.base/nofield.exp
9950 * gdb.base/overlays.exp
9951 * gdb.base/paginate-after-ctrl-c-running.exp
9952 * gdb.base/paginate-bg-execution.exp
9953 * gdb.base/paginate-inferior-exit.exp
9954 * gdb.base/pending.exp
9955 * gdb.base/pr11022.exp
9956 * gdb.base/printcmds.exp
9957 * gdb.base/ptr-typedef.exp
9958 * gdb.base/ptype.exp
9959 * gdb.base/randomize.exp
9960 * gdb.base/range-stepping.exp
9961 * gdb.base/realname-expand.exp
9962 * gdb.base/relativedebug.exp
9963 * gdb.base/remote.exp
9964 * gdb.base/savedregs.exp
9965 * gdb.base/sepdebug.exp
9966 * gdb.base/set-noassign.exp
9967 * gdb.base/shlib-call.exp
9968 * gdb.base/shreloc.exp
9969 * gdb.base/sigaltstack.exp
9970 * gdb.base/sigbpt.exp
9971 * gdb.base/siginfo-addr.exp
9972 * gdb.base/siginfo-obj.exp
9973 * gdb.base/siginfo-thread.exp
9974 * gdb.base/signest.exp
9975 * gdb.base/signull.exp
9976 * gdb.base/sigrepeat.exp
9977 * gdb.base/skip.exp
9978 * gdb.base/so-impl-ld.exp
9979 * gdb.base/solib-corrupted.exp
9980 * gdb.base/solib-disc.exp
9981 * gdb.base/solib-display.exp
9982 * gdb.base/solib-overlap.exp
9983 * gdb.base/solib-search.exp
9984 * gdb.base/solib-symbol.exp
9985 * gdb.base/source-execution.exp
9986 * gdb.base/sss-bp-on-user-bp-2.exp
9987 * gdb.base/sss-bp-on-user-bp.exp
9988 * gdb.base/stack-checking.exp
9989 * gdb.base/stale-infcall.exp
9990 * gdb.base/step-break.exp
9991 * gdb.base/step-line.exp
9992 * gdb.base/step-over-exit.exp
9993 * gdb.base/step-test.exp
9994 * gdb.base/structs.exp
9995 * gdb.base/sym-file.exp
9996 * gdb.base/symtab-search-order.exp
9997 * gdb.base/term.exp
9998 * gdb.base/type-opaque.exp
9999 * gdb.base/unload.exp
10000 * gdb.base/until-nodebug.exp
10001 * gdb.base/until.exp
10002 * gdb.base/unwindonsignal.exp
10003 * gdb.base/watch-cond.exp
10004 * gdb.base/watch-non-mem.exp
10005 * gdb.base/watch_thread_num.exp
10006 * gdb.base/watchpoint-reuse-slot.exp
10007 * gdb.base/watchpoint-solib.exp
10008 * gdb.base/watchpoint.exp
10009 * gdb.btrace/dlopen.exp
10010 * gdb.cell/arch.exp
10011 * gdb.cell/break.exp
10012 * gdb.cell/bt.exp
10013 * gdb.cell/core.exp
10014 * gdb.cell/data.exp
10015 * gdb.cell/dwarfaddr.exp
10016 * gdb.cell/ea-cache.exp
10017 * gdb.cell/ea-standalone.exp
10018 * gdb.cell/ea-test.exp
10019 * gdb.cell/f-regs.exp
10020 * gdb.cell/fork.exp
10021 * gdb.cell/gcore.exp
10022 * gdb.cell/mem-access.exp
10023 * gdb.cell/ptype.exp
10024 * gdb.cell/registers.exp
10025 * gdb.cell/sizeof.exp
10026 * gdb.cell/solib-symbol.exp
10027 * gdb.cell/solib.exp
10028 * gdb.compile/compile-tls.exp
10029 * gdb.cp/exception.exp
10030 * gdb.cp/gdb2495.exp
10031 * gdb.cp/local.exp
10032 * gdb.cp/mb-inline.exp
10033 * gdb.cp/mb-templates.exp
10034 * gdb.cp/pr10687.exp
10035 * gdb.cp/pr9167.exp
10036 * gdb.cp/scope-err.exp
10037 * gdb.cp/templates.exp
10038 * gdb.cp/virtfunc.exp
10039 * gdb.dwarf2/dw2-dir-file-name.exp
10040 * gdb.dwarf2/dw2-single-line-discriminators.exp
10041 * gdb.fortran/complex.exp
10042 * gdb.fortran/library-module.exp
10043 * gdb.guile/guile.exp
10044 * gdb.guile/scm-cmd.exp
10045 * gdb.guile/scm-frame-inline.exp
10046 * gdb.guile/scm-objfile.exp
10047 * gdb.guile/scm-pretty-print.exp
10048 * gdb.guile/scm-symbol.exp
10049 * gdb.guile/scm-type.exp
10050 * gdb.guile/scm-value.exp
10051 * gdb.linespec/keywords.exp
10052 * gdb.linespec/ls-errs.exp
10053 * gdb.linespec/macro-relative.exp
10054 * gdb.linespec/thread.exp
10055 * gdb.mi/mi-breakpoint-changed.exp
10056 * gdb.mi/mi-dprintf-pending.exp
10057 * gdb.mi/mi-fullname-deleted.exp
10058 * gdb.mi/mi-logging.exp
10059 * gdb.mi/mi-pending.exp
10060 * gdb.mi/mi-solib.exp
10061 * gdb.mi/new-ui-mi-sync.exp
10062 * gdb.mi/user-selected-context-sync.exp
10063 * gdb.multi/dummy-frame-restore.exp
10064 * gdb.multi/multi-arch-exec.exp
10065 * gdb.multi/remove-inferiors.exp
10066 * gdb.multi/watchpoint-multi-exit.exp
10067 * gdb.opt/solib-intra-step.exp
10068 * gdb.perf/backtrace.exp
10069 * gdb.perf/single-step.exp
10070 * gdb.perf/skip-command.exp
10071 * gdb.perf/skip-prologue.exp
10072 * gdb.perf/solib.exp
10073 * gdb.python/lib-types.exp
10074 * gdb.python/py-as-string.exp
10075 * gdb.python/py-bad-printers.exp
10076 * gdb.python/py-block.exp
10077 * gdb.python/py-breakpoint.exp
10078 * gdb.python/py-cmd.exp
10079 * gdb.python/py-events.exp
10080 * gdb.python/py-evthreads.exp
10081 * gdb.python/py-finish-breakpoint.exp
10082 * gdb.python/py-finish-breakpoint2.exp
10083 * gdb.python/py-frame-inline.exp
10084 * gdb.python/py-frame.exp
10085 * gdb.python/py-inferior.exp
10086 * gdb.python/py-infthread.exp
10087 * gdb.python/py-mi.exp
10088 * gdb.python/py-objfile.exp
10089 * gdb.python/py-pp-maint.exp
10090 * gdb.python/py-pp-registration.exp
10091 * gdb.python/py-prettyprint.exp
10092 * gdb.python/py-recurse-unwind.exp
10093 * gdb.python/py-shared.exp
10094 * gdb.python/py-symbol.exp
10095 * gdb.python/py-symtab.exp
10096 * gdb.python/py-template.exp
10097 * gdb.python/py-type.exp
10098 * gdb.python/py-unwind-maint.exp
10099 * gdb.python/py-unwind.exp
10100 * gdb.python/py-value.exp
10101 * gdb.python/python.exp
10102 * gdb.reverse/finish-reverse-bkpt.exp
10103 * gdb.reverse/insn-reverse.exp
10104 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10105 * gdb.reverse/solib-precsave.exp
10106 * gdb.reverse/solib-reverse.exp
10107 * gdb.stabs/gdb11479.exp
10108 * gdb.stabs/weird.exp
10109 * gdb.threads/fork-child-threads.exp
10110 * gdb.threads/fork-plus-threads.exp
10111 * gdb.threads/fork-thread-pending.exp
10112 * gdb.threads/forking-threads-plus-breakpoint.exp
10113 * gdb.threads/hand-call-in-threads.exp
10114 * gdb.threads/interrupted-hand-call.exp
10115 * gdb.threads/linux-dp.exp
10116 * gdb.threads/local-watch-wrong-thread.exp
10117 * gdb.threads/next-while-other-thread-longjmps.exp
10118 * gdb.threads/non-ldr-exit.exp
10119 * gdb.threads/pending-step.exp
10120 * gdb.threads/print-threads.exp
10121 * gdb.threads/process-dies-while-detaching.exp
10122 * gdb.threads/process-dies-while-handling-bp.exp
10123 * gdb.threads/pthreads.exp
10124 * gdb.threads/queue-signal.exp
10125 * gdb.threads/reconnect-signal.exp
10126 * gdb.threads/signal-command-handle-nopass.exp
10127 * gdb.threads/signal-command-multiple-signals-pending.exp
10128 * gdb.threads/signal-delivered-right-thread.exp
10129 * gdb.threads/signal-sigtrap.exp
10130 * gdb.threads/sigthread.exp
10131 * gdb.threads/staticthreads.exp
10132 * gdb.threads/stepi-random-signal.exp
10133 * gdb.threads/thread-unwindonsignal.exp
10134 * gdb.threads/thread_check.exp
10135 * gdb.threads/thread_events.exp
10136 * gdb.threads/tid-reuse.exp
10137 * gdb.threads/tls-nodebug.exp
10138 * gdb.threads/tls-shared.exp
10139 * gdb.threads/tls-so_extern.exp
10140 * gdb.threads/tls.exp
10141 * gdb.threads/wp-replication.exp
10142 * gdb.trace/actions-changed.exp
10143 * gdb.trace/actions.exp
10144 * gdb.trace/backtrace.exp
10145 * gdb.trace/change-loc.exp
10146 * gdb.trace/collection.exp
10147 * gdb.trace/deltrace.exp
10148 * gdb.trace/disconnected-tracing.exp
10149 * gdb.trace/entry-values.exp
10150 * gdb.trace/ftrace-lock.exp
10151 * gdb.trace/ftrace.exp
10152 * gdb.trace/infotrace.exp
10153 * gdb.trace/mi-trace-frame-collected.exp
10154 * gdb.trace/mi-trace-unavailable.exp
10155 * gdb.trace/mi-traceframe-changed.exp
10156 * gdb.trace/mi-tracepoint-changed.exp
10157 * gdb.trace/mi-tsv-changed.exp
10158 * gdb.trace/no-attach-trace.exp
10159 * gdb.trace/packetlen.exp
10160 * gdb.trace/passc-dyn.exp
10161 * gdb.trace/passcount.exp
10162 * gdb.trace/pending.exp
10163 * gdb.trace/pr16508.exp
10164 * gdb.trace/qtro.exp
10165 * gdb.trace/range-stepping.exp
10166 * gdb.trace/read-memory.exp
10167 * gdb.trace/report.exp
10168 * gdb.trace/save-trace.exp
10169 * gdb.trace/signal.exp
10170 * gdb.trace/stap-trace.exp
10171 * gdb.trace/status-stop.exp
10172 * gdb.trace/strace.exp
10173 * gdb.trace/tfile.exp
10174 * gdb.trace/tfind.exp
10175 * gdb.trace/trace-break.exp
10176 * gdb.trace/trace-condition.exp
10177 * gdb.trace/trace-enable-disable.exp
10178 * gdb.trace/trace-mt.exp
10179 * gdb.trace/tracecmd.exp
10180 * gdb.trace/tracefile-pseudo-reg.exp
10181 * gdb.trace/tspeed.exp
10182 * gdb.trace/tstatus.exp
10183 * gdb.trace/tsv.exp
10184 * gdb.trace/unavailable.exp
10185 * gdb.trace/while-dyn.exp
10186 * gdb.trace/while-stepping.exp
10187 * lib/gdb-guile.exp
10188 * lib/gdb.exp
10189 * lib/mi-support.exp
10190 * lib/pascal.exp
10191 * lib/perftest.exp
10192 * lib/prelink-support.exp
10193 * lib/selftest-support.exp
10194
ad02e4fe
SM
101952016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
10196
10197 * Makefile.in: Include disable-implicit-rules.mk.
10198
22347e55
AA
101992016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10200
10201 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
10202 non-byte-aligned bit fields.
10203
da5b30da
AA
102042016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10205
10206 PR gdb/12616
10207 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
10208 respects the DW_AT_data_bit_offset attribute.
10209
b593ecca
SM
102102016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
10211
10212 * gdb.base/default.exp: Fix output of "set language".
10213
3b165252
SM
102142016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
10215
10216 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
10217 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
10218 make.
10219 * configure.ac: Remove checks for the make program.
10220 * configure: Re-generate.
10221
1a2f3d7f
KB
102222016-11-16 Kevin Buettner <kevinb@redhat.com>
10223
10224 * gdb.python/py-recurse-unwind.c (main): Add loop.
10225 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
10226 to read_register() and gdb.parse_and_eval(). Make each code
10227 call a separate case that can be individually tested.
10228 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
10229 proc. Call cont_and_backtrace for each of the code paths that
10230 we want to test in the unwinder.
10231
b7f38fda
AA
102322016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
10233
10234 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
10235 the definition of struct S.
10236
1f8db343
CM
102372016-11-11 Catherine Moore <clm@codesourcery.com>
10238
10239 * gdb.base/dump.exp: Identify verilog format dump tests as such.
10240
fad0c9fb
PA
102412016-11-09 Pedro Alves <palves@redhat.com>
10242
10243 * gdb.base/commands.exp (runto_or_return): New procedure.
10244 (gdbvar_simple_if_test, gdbvar_simple_while_test)
10245 (gdbvar_complex_if_while_test, progvar_simple_if_test)
10246 (progvar_simple_while_test, progvar_complex_if_while_test)
10247 (if_while_breakpoint_command_test)
10248 (infrun_breakpoint_command_test, breakpoint_command_test)
10249 (user_defined_command_test, watchpoint_command_test)
10250 (test_command_prompt_position, redefine_hook_test)
10251 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
10252 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
10253 multi_line_input and multi_line. Remove gdb_expect and
10254 gdb_stop_suppressing_tests uses.
10255 * lib/gdb.exp (valnum_re): New global.
10256 (multi_line_input): New procedure.
10257
8354c62c
SM
102582016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
10259
10260 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
10261 Remove.
10262 (test_setup): Define with proc_with_prefix.
10263 (test_cli_inferior): Likewise.
10264 (test_cli_thread): Likewise.
10265 (test_cli_frame): Likewise.
10266 (test_cli_select_frame): Likewise.
10267 (test_cli_up_down): Likewise.
10268 (test_mi_thread_select): Likewise.
10269 (test_mi_stack_select_frame): Likewise.
10270 (test_cli_in_mi_inferior): Likewise.
10271 (test_cli_in_mi_thread): Likewise.
10272 (test_cli_in_mi_frame): Likewise.
10273 (top level): Do not use with_test_prefix_procname.
10274
64f367a2
PA
102752016-11-09 Pedro Alves <palves@redhat.com>
10276
10277 * gdb.base/commands.exp (gdbvar_simple_if_test)
10278 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
10279 (progvar_simple_if_test, progvar_simple_while_test)
10280 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
10281 (infrun_breakpoint_command_test, breakpoint_command_test)
10282 (user_defined_command_test, watchpoint_command_test)
10283 (test_command_prompt_position, deprecated_command_test)
10284 (bp_deleted_in_command, temporary_breakpoint_commands)
10285 (stray_arg0_test, source_file_with_indented_comment)
10286 (recursive_source_test, if_commands_test)
10287 (error_clears_commands_left, redefine_hook_test)
10288 (redefine_backtrace_test): Use proc_with_prefix.
10289 * lib/gdb.exp (proc_with_prefix): New proc.
10290
0bb65f1e
AA
102912016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10292
10293 * gdb.base/tui-layout.c: New file.
10294 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
10295 disassembly window contains very long lines.
10296
7353f247
TT
102972016-11-08 Tom Tromey <tom@tromey.com>
10298
10299 * gdb.python/py-value.exp (test_value_creation): Make "long" test
10300 depend on Python 2.
10301
30a7bb83
TT
103022016-11-08 Tom Tromey <tom@tromey.com>
10303
10304 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
10305 New method.
10306
cdf5a07c
MG
103072016-10-29 Manish Goregaokar <manish@mozilla.com>
10308
2806dc7e 10309 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 10310
51a789c3
MG
103112016-10-27 Manish Goregaokar <manish@mozilla.com>
10312
2806dc7e
PA
10313 * gdb.rust/simple.rs: Add test for univariant enums without
10314 discriminants and for encoded struct-like enums.
51a789c3 10315
f610ab6d
PA
103162016-10-28 Pedro Alves <palves@redhat.com>
10317
10318 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
10319 gdb_test_multiple, tighten regexps and match symtabs and line
10320 tables incrementally.
10321
b129b0ca
LM
103222016-10-28 Luis Machado <lgustavo@codesourcery.com>
10323
10324 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
10325 general.
10326
ecf45d2c
SL
103272016-10-25 Luis Machado <lgustavo@codesourcery.com>
10328
10329 * gdb.base/exec-invalid-sysroot.exp: New file.
10330
b8d38ee4
JK
103312016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10332
10333 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
10334
f90fd8c2
JK
103352016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10336
10337 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
10338
2d2476aa
MR
103392016-10-19 Maciej W. Rozycki <macro@imgtec.com>
10340
2806dc7e
PA
10341 * gdb.base/killed-outside.exp: Remove $options from a call to
10342 `prepare_for_testing'.
2d2476aa 10343
e42b25a0
SM
103442016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10345
10346 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10347 Change test message.
10348
3ccdb432
SM
103492016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10350
10351 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10352 Update comment.
10353
5bad3170
SM
103542016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10355
10356 * gdb.trace/mi-trace-save.exp: New file.
10357
5ad9dba7
YQ
103582016-10-13 Yao Qi <yao.qi@linaro.org>
10359
10360 * gdb.base/code_elim.exp (get_var_address): Remove.
10361 * gdb.base/relocate.exp: Likewise.
10362 * gdb.base/shreloc.exp: Likewise.
10363 * lib/gdb.exp (get_var_address): New.
10364
62df7e21
YQ
103652016-10-13 Yao Qi <yao.qi@linaro.org>
10366
10367 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
10368 floating point tests if $skip_float_test is false.
10369
4dac951e
LM
103702016-10-12 Luis Machado <lgustavo@codesourcery.com>
10371
10372 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
10373 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
10374 argc values.
10375 Add 1 to argc so we guarantee distinct initial/modified argc values.
10376
8f1a8fc4
JK
103772016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10378
10379 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
10380
16c85b5d
JK
103812016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10382
10383 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
10384 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
10385 * gdb.arch/vsx-regs.exp: Likewise.
10386
1d0e042a
YQ
103872016-10-07 Yao Qi <yao.qi@linaro.org>
10388
10389 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
10390
68dadef5
MM
103912016-10-07 Markus Metzger <markus.t.metzger@intel.com>
10392
10393 * gdb.python/python.exp: Test decode_line("*0").
10394
33fa2c6e
DE
103952016-10-06 Doug Evans <dje@google.com>
10396
10397 * gdb.python/py-value.exp (test_value_creation): Add test for large
10398 unsigned 64-bit value.
10399
9c37b5ae
TT
104002016-10-06 Tom Tromey <tom@tromey.com>
10401
10402 * gdb.compile/compile.exp: Change java tests to rust.
10403 * gdb.base/setshow.exp: Change java tests to rust.
10404 * gdb.base/default.exp: Remove java from language list.
10405 * README (Examples): Update language example.
10406 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
10407 test.
10408 * lib/gdb.exp (skip_java_tests): Remove.
10409 * lib/java.exp: Remove.
10410 * gdb.java: Remove.
10411
78b86327
MR
104122016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10413
10414 * gdb.arch/mips-fcr.exp: New test.
10415 * gdb.arch/mips-fcr.c: Source for the new test.
10416
7470adbb
MR
104172016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10418
10419 * gdb.base/solib-disc.exp: Use `standard_output_file'
10420 throughout.
10421
4a556533
PA
104222016-10-06 Pedro Alves <palves@redhat.com>
10423
10424 * gdb.base/jit-simple-dl.c: New file.
10425 * gdb.base/jit-simple-jit.c: New file, factored out from ...
10426 * gdb.base/jit-simple.c: ... this.
10427 * gdb.base/jit-simple.exp (jit_run): Delete.
10428 (build_jit): New proc.
10429 (jit_test_reread): Recompile either the main program or the shared
10430 library, depending on what is being tested. Skip changing address
10431 if caller wants to. Compare before/after addresses. If testing
10432 standalone, explicitly load the binary. Test "maint info
10433 breakpoints".
10434 (top level): Add "standalone vs shared lib" and "change address"
10435 vs "same address" axes.
10436
5a122fbc
PA
104372016-10-06 Pedro Alves <palves@redhat.com>
10438
10439 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
10440 call.
10441 (jit_run): Delete.
10442 (jit_test_reread): Use with_test_prefix. Reload the main binary
10443 explicitly. Compare the before/after addresses of the JIT
10444 descriptor.
10445
ee8da4b8
DE
104462016-08-15 Doug Evans <dje@google.com>
10447
10448 * gdb.xml/extra-regs.xml: Update, end field now required, default type
10449 for single bitfields is bool.
10450 * gdb.xml/tdesc-regs.exp: Ditto.
10451
f389f6fe
JK
104522016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10453
10454 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
10455
fdebf1a4
YQ
104562016-10-05 Yao Qi <yao.qi@linaro.org>
10457
10458 * lib/gdb.exp (support_complex_tests): Return zero if
10459 gdb_skip_float_test return true.
10460
9c36d954 104612016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 10462 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
10463
10464 PR gdb/20487
10465 * gdb.mi/user-selected-context-sync.exp: New file.
10466 * gdb.mi/user-selected-context-sync.c: New file.
10467
4034d0ff 104682016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 10469 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
10470
10471 PR gdb/20487
10472 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
10473 =thread-select-event check.
10474
a4297203
PB
104752016-09-29 Peter Bergner <bergner@vnet.ibm.com>
10476
10477 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
10478 the compulsory L operand changes.
10479 * gdb.arch/powerpc-power.s: Likewise.
10480
bb805577
JK
104812016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10482
10483 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
10484 * gdb.base/jit-attach-pie.c: New file.
10485 * gdb.base/jit-attach-pie.exp: New file.
10486
6d61dee5
PA
104872016-09-28 Pedro Alves <palves@redhat.com>
10488
10489 * gdb.base/infcall-input.c: New file.
10490 * gdb.base/infcall-input.exp: New file.
10491
f73842fc
YQ
104922016-09-22 Yao Qi <yao.qi@linaro.org>
10493
10494 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
10495 (gdb_exit): Rename it to ...
10496 (gdbserver_gdb_exit): ... Close GDBserver.
10497 (gdb_exit): New proc, call gdbserver_gdb_exit.
10498 (mi_gdb_exit): Likewise.
10499
90681dab
YQ
105002016-09-22 Yao Qi <yao.qi@linaro.org>
10501
10502 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
10503 path.
10504 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
10505 Remove duplication.
10506
9c211fd8
YQ
105072016-09-22 Yao Qi <yao.qi@linaro.org>
10508
10509 * lib/gdbserver-support.exp: Check the existence of
10510 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
10511
ad0a504f
AK
105122016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
10513
10514 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
10515
36cf1806
TT
105162016-09-21 Tom Tromey <tom@tromey.com>
10517
10518 PR gdb/20604:
10519 * gdb.base/quit.exp: New file.
10520
74172ecf
SM
105212016-09-21 Simon Marchi <simon.marchi@ericsson.com>
10522
10523 * .gitignore: New file.
10524
3d0ec882
MR
105252016-09-21 Maciej W. Rozycki <macro@imgtec.com>
10526
10527 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
10528 throughout.
10529
8193adea
AA
105302016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10531
10532 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
10533
d41a5c09
JK
105342016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10535
10536 * gdb.cp/casts.cc (decltype): Move it ...
10537 (main): ... with its call to ...
10538 * gdb.cp/casts03.cc: ... a new file.
10539 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
10540
d2dfe700
JK
105412016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10542
10543 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
10544
e2a92b16
PB
105452016-09-15 Peter Bergner <bergner@vnet.ibm.com>
10546
10547 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
10548 and sync up the test with tests in gas/testsuite/gas/ppc.
10549 * gdb.arch/powerpc-power.exp: Likewise.
10550
49b4de64
JK
105512016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10552
10553 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
10554
2c29df25
SDJ
105552016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
10556 Jan Kratochvil <jan.kratochvil@redhat.com>
10557
10558 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
10559 make m1's definition to be different from m2's. Use 'dummy' as an
10560 argument for probe 'two'.
10561
cc3c2846
JB
105622016-09-10 Jon Beniston <jon@beniston.com>
10563
10564 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
10565 for sim target.
10566
e1b2624a
AA
105672016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10568
10569 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
10570 variable declaration.
10571 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
10572 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
10573 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
10574 received HWCAP as its argument.
10575
4295e285
PA
105762016-09-06 Pedro Alves <palves@redhat.com>
10577
10578 * gdb.base/new-ui-pending-input.c: New file.
10579 * gdb.base/new-ui-pending-input.exp: New file.
10580 * gdb.exp (clear_gdb_spawn_id): New procedure.
10581 (with_spawn_id): Check whether gdb_spawn_id exists before
10582 referencing it. If gdb_spawn_id didn't exist on entry, clear it
10583 on exit.
10584
00d5215e
UW
105852016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10586
10587 * gdb.base/float128.c: New file.
10588 * gdb.base/float128.exp: Likewise.
10589 * gdb.base/floatn.c: Likewise.
10590 * gdb.base/floatn.exp: Likewise.
10591
a9ff5f12
UW
105922016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10593
10594 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
10595
f245535c
PA
105962016-09-05 Pedro Alves <palves@redhat.com>
10597
10598 PR backtrace/19927
10599 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
10600 unwinders are immediately called as side effect of "source" or
10601 "disable unwinder" commands.
10602 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
10603
ae9cf263
YQ
106042016-09-02 Yao Qi <yao.qi@linaro.org>
10605
10606 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
10607 is true and $type is "float" or "double".
10608
27aba047
YQ
106092016-09-02 Yao Qi <yao.qi@linaro.org>
10610
10611 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
10612 true.
10613 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
10614 * gdb.base/call-rt-st.exp: Likewise.
10615 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
10616 return value instead of gdb,skip_float_test.
10617 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
10618 (do_function_calls): Use its return value instead of
10619 gdb,skip_float_test.
10620 * gdb.base/finish.exp: Likewise.
10621 * gdb.base/funcargs.exp: Likewise.
10622 * gdb.base/return.exp: Likewise.
10623 * gdb.base/return2.exp: Likewise.
10624 * gdb.base/varargs.exp: Likewise.
10625 * lib/gdb.exp (gdb_skip_float_test): Change it to
10626 gdb_caching_proc. Detect the broken ptrace on arm-linux.
10627
5af962df
AA
106282016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10629
10630 * gdb.multi/tids.exp: Test "thread apply all".
10631
7fac6910
JK
106322016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10633
10634 * gdb.base/default.exp (tty): Remove.
10635
bb1fe4ac
KB
106362016-08-24 Kevin Buettner <kevinb@redhat.com>
10637
2806dc7e
PA
10638 * gdb.python/py-recurse-unwind.c: New file.
10639 * gdb.python/py-recurse-unwind.py: New file.
10640 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 10641
0a1ddfa6
SM
106422016-08-24 Simon Marchi <simon.marchi@ericsson.com>
10643
10644 * gdb.base/set-inferior-tty.exp: New file.
10645 * gdb.base/set-inferior-tty.c: New file.
10646
d9de1fe3
PA
106472016-08-23 Pedro Alves <palves@redhat.com>
10648
10649 PR gdb/20494
10650 * gdb.base/new-ui-echo.c: New file.
10651 * gdb.base/new-ui-echo.exp: New file.
10652
e9d9abd7
YQ
106532016-08-23 Yao Qi <yao.qi@linaro.org>
10654
10655 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
10656 gdbserver_spawn.
10657 * gdb.server/connect-without-multi-process.exp (do_test):
10658 Likewise.
10659
3589529e
YQ
106602016-08-23 Yao Qi <yao.qi@linaro.org>
10661
10662 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
10663 standalone_txt. Delete gdb_txt and standalone_txt on host
10664 and target. Spawn the binary on target. Copy files from
10665 target to host.
10666
6bb90213
PA
106672016-08-22 Pedro Alves <palves@redhat.com>
10668
10669 PR gdb/20505
10670 * gdb.base/vdso-warning.exp: Test core dumps too. Use
10671 with_test_prefix. Factor out bits to ...
10672 (test_no_vdso): ... this new procedure.
10673
20c2c024
CL
106742016-08-19 Carl Love <cel@us.ibm.com>
10675
10676 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10677 maintaining separate logic for constructing the output path.
10678 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10679 * gdb.arch/ppc-dfp.exp: Likewise.
10680 * gdb.arch/ppc-fp.exp: Likewise.
10681 * gdb.arch/vsx-regs.exp: Likewise.
10682 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10683 binprefix for generating the additional binary files.
10684
0646e07d
PA
106852016-08-19 Pedro Alves <palves@redhat.com>
10686
10687 * gdb.trace/mi-trace-frame-collected.exp
10688 (test_trace_frame_collected): On x32, expect two registers.
10689
46da9242
CL
106902016-08-18 Carl Love <cel@us.ibm.com>
10691
10692 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10693 and sync up the test with tests in gas/testsuite/gas/ppc.
10694 * gdb.arch/powerpc-power.exp: Likewise.
10695
eb2332d7
SM
106962016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10697
10698 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10699 expected error message.
10700
63c61e04
SM
107012016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10702
10703 * gdb.multi/remove-inferiors.exp: New file.
10704 * gdb.multi/remove-inferiors.c: New file.
10705
7b17065f
YQ
107062016-08-12 Yao Qi <yao.qi@linaro.org>
10707
10708 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10709 argument list.
10710
01d3dedf
PA
107112016-08-10 Pedro Alves <palves@redhat.com>
10712
10713 PR gdb/19187
10714 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10715 setup_kfails.
10716
3eb7562a
PA
107172016-08-09 Pedro Alves <palves@redhat.com>
10718 Simon Marchi <simon.marchi@ericsson.com>
10719
10720 PR gdb/20418
10721 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10722 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10723
80614914
PA
107242016-08-09 Pedro Alves <palves@redhat.com>
10725
10726 PR mi/20431
10727 * gdb.mi/mi-cmd-error.exp: New file.
10728
f348d89a
PA
107292016-08-09 Pedro Alves <palves@redhat.com>
10730
10731 PR gdb/18653
10732 * gdb.base/signals-state-child.c: New file.
10733 * gdb.base/signals-state-child.exp: New file.
10734 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10735
e5ca03b4
PA
107362016-08-09 Pedro Alves <palves@redhat.com>
10737
10738 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10739
282a0691
TT
107402016-08-03 Tom Tromey <tom@tromey.com>
10741
10742 PR python/18565:
10743 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10744
41bfcd63
YQ
107452016-08-01 Yao Qi <yao.qi@linaro.org>
10746
10747 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10748 variable mode to "multi-process" if $multi_process is 1, otherwise
10749 set it to "single-process".
10750
e3465b24
YQ
107512016-08-01 Yao Qi <yao.qi@linaro.org>
10752
10753 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10754 * gdb.cp/cpexprs.exp: Likewise.
10755 * gdb.cp/m-static.exp: Likewise.
10756
0b31a4bc
TT
107572016-07-26 Tom Tromey <tom@tromey.com>
10758
10759 PR python/20190:
10760 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10761 test.
10762
e0461dbb
MM
107632016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10764
10765 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10766 selecting assembly source files.
10767 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10768 assembly source files.
10769 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10770 assembly source files.
10771 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10772 selecting assembly source files.
10773
8194e927
SM
107742016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10775
10776 * gdb.base/new-ui.exp (do_test_invalid_args): New
10777 procedure.
10778
c0272db5
TW
107792016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10780
10781 * gdb.btrace/reconnect.c: New file.
10782 * gdb.btrace/reconnect.exp: New file.
10783
e3487908
GKB
107842016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10785
10786 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10787 to test_catch_syscall_group.
10788 (test_catch_syscall_group): New.
10789
12df5c00
TT
107902016-07-21 Tom Tromey <tom@tromey.com>
10791
10792 * gdb.rust/simple.rs (main): Use empty struct expression.
10793 * gdb.rust/simple.exp: Add tests for empty struct expression.
10794
bae62ee2
YQ
107952016-07-21 Yao Qi <yao.qi@linaro.org>
10796
10797 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10798 if gdb_skip_xml_test is true on some targets.
10799
b1b53fb3
YQ
108002016-07-21 Yao Qi <yao.qi@linaro.org>
10801
10802 * gdb.server/solib-list.exp: Unset last_loaded_file.
10803
027d97f8
JK
108042016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10805
10806 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10807 "step into captured_main (args)".
10808
7674d381
JK
108092016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10810
10811 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10812
72b5d099
JK
108132016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10814
10815 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10816
1f960ced
PA
108172016-07-19 Pedro Alves <palves@redhat.com>
10818
10819 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10820 * gdb.opt/inline-bt.exp: Likewise.
10821 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10822 additional_flags=-Winline.
10823 * gdb.opt/inline-locals.exp: Likewise.
10824 * gdb.opt/inline-markers.c (ATTR): Define.
10825 (inlined_fn): Use it.
10826
f25827c1
YQ
108272016-07-19 Yao Qi <yao.qi@linaro.org>
10828
10829 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10830 (test_with_self): Remove some code. Remove argument executable.
10831 (top-level): Use do_self_tests.
10832
37539ebe
DB
108332016-07-15 Zachary Welch <zwelch@codesourcery.com>
10834 Don Breazeal <donb@codesourcery.com>
10835
10836 * gdb.base/maint.exp: Escape paths used in regular expressions.
10837 * gdb.stabs/weird.exp: Likewise.
10838
dac790e1
TT
108392016-07-13 Tom Tromey <tom@tromey.com>
10840
10841 PR python/15620, PR python/18620:
10842 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10843 (test_bkpt_events): New procs.
10844
93daf339
TT
108452016-07-13 Tom Tromey <tom@tromey.com>
10846
10847 PR python/17698:
10848 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10849 test.
10850 (test_watchpoints): Likewise.
10851 (test_bkpt_pending): New proc.
10852
6571a381
TT
108532016-07-13 Tom Tromey <tom@tromey.com>
10854
10855 PR cli/18053:
10856 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10857 completion test.
10858
e8732474
JK
108592016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10860
10861 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10862 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10863 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10864 f_label.
10865 (g): Rename g_end_lbl to g_label.
10866 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10867 low_pc and high_pc.
10868 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10869
e0f3fd7c
TT
108702016-07-12 Tom Tromey <tom@tromey.com>
10871
10872 PR python/19293:
10873 * gdb.python/py-unwind-maint.exp: Update tests.
10874
3cfe46b6
YQ
108752016-07-12 Yao Qi <yao.qi@linaro.org>
10876
10877 * lib/selftest-support.exp (selftest_setup): Match the output
10878 when captured_main is inlined.
10879
4f19a0e6
WT
108802016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10881
10882 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10883 New variables.
10884 (print this%a, print this%b, print this): New tests.
10885 * gdb.fortran/derived-types.f90 (this): New object and
10886 initialization.
10887
986cf455
SM
108882016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10889
10890 * gdb.ada/arraydim.exp: Remove extra directory level in build
10891 directory.
10892
f0464b23
SM
108932016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10894
10895 * lib/ada.exp: Remove extra directory level in build directory.
10896 * gdb.ada/cond_lang.exp: Likewise.
10897 * gdb.ada/exec_changed.exp: Likewise.
10898 * gdb.ada/lang_switch.exp: Likewise.
10899
42d94011
MG
109002016-07-06 Manish Goregaokar <manish@mozilla.com>
10901
2806dc7e
PA
10902 * simple.rs: Add test for raw pointer subscripting.
10903 * simple.exp: Add test expectations.
42d94011 10904
647c264c
YQ
109052016-07-05 Yao Qi <yao.qi@linaro.org>
10906
10907 * gdb.mi/mi-reverse.exp: Match =record-started output.
10908
20aa2c60
PA
109092016-07-01 Pedro Alves <palves@redhat.com>
10910
10911 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10912 procedure.
10913 (jit_reader_test): Test the jit reader's unwinder.
10914 * gdb.base/jithost.c (jit_function_00_code): New global.
10915 (main): Use memcpy to fill in the mmapped code, instead of poking
10916 bytes manually here.
10917 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10918 value.
10919 (read_debug_info): Save the function's range.
10920 (read_sp): New function.
10921 (unwind_frame): Use it. Also unwind RBP.
10922 (get_frame_id): Use read_sp.
10923 (gdb_init_reader): Use calloc instead of malloc.
10924 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10925 parameter. Use gdb_test_multiple.
10926
ced2dffb
PA
109272016-07-01 Pedro Alves <palves@redhat.com>
10928 Antoine Tremblay <antoine.tremblay@ericsson.com>
10929
10930 * gdb.threads/process-dies-while-detaching.c: New file.
10931 * gdb.threads/process-dies-while-detaching.exp: New file.
10932
63000888
PA
109332016-07-01 Pedro Alves <palves@redhat.com>
10934
10935 * gdb.multi/watchpoint-multi-exit.c: New file.
10936 * gdb.multi/watchpoint-multi-exit.exp: New file.
10937
038d4868
PA
109382016-06-30 Pedro Alves <palves@redhat.com>
10939
10940 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10941 unset inferior_spawn_id.
10942
994e9c83
PA
109432016-06-30 Pedro Alves <palves@redhat.com>
10944
10945 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10946 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10947
e5653468
YQ
109482016-06-29 Yao Qi <yao.qi@linaro.org>
10949
10950 * gdb.base/return.c: Add copyright header.
10951
803b47e5
TT
109522016-06-29 Tom Tromey <tom@tromey.com>
10953
10954 PR python/20129:
10955 * gdb.python/py-framefilter.exp: Add tests for setting priority
10956 and disabling of non-existent frame filter.
10957
28244707
YQ
109582016-06-29 Yao Qi <yao.qi@linaro.org>
10959
10960 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10961 0x0f07ff.
10962
a31d2f06
YQ
109632016-06-28 Yao Qi <yao.qi@linaro.org>
10964
10965 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10966 triplets. Start gdb, execute catch syscall, and continue. Check
10967 gdb's output to determine catch syscall is supported.
10968
921d8f54
MG
109692016-06-27 Manish Goregaokar <manish@mozilla.com>
10970
25d49b86
PA
10971 * gdb.rust/simple.rs: Add test for returning unit in a function.
10972 * gdb.rust/simple.exp: Add expectation for functions returning
10973 unit.
921d8f54 10974
f4952523
PMR
109752016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10976
10977 * gdb.python/py-breakpoint-create-fail.c,
10978 gdb.python/py-breakpoint-create-fail.exp,
10979 gdb.python/py-breakpoint-create-fail.py: New testcase.
10980
fccb08f8
MG
109812016-06-25 Manish Goregaokar <manish@mozilla.com>
10982
10983 PR gdb/20239
10984 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
10985 * gdb.rust/simple.exp: Add test expectations for new NonZero
10986 tests.
fccb08f8 10987
6b850546
DT
109882016-06-24 David Taylor <dtaylor@emc.com>
10989
10990 * gdb.base/offsets.exp: New file.
10991 * gdb.base/offsets.c: New file.
10992
17621150
TT
109932016-06-23 Tom Tromey <tom@tromey.com>
10994
10995 PR gdb/16483:
10996 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10997 before any filters are loaded.
10998
04d59df6
WT
109992016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
11000
11001 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
11002 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
11003 structs.
11004 * gdb.fortran/derived-type-function.exp: New file.
11005 * gdb.fortran/derived-type-function.f90: New file.
11006
11007
ac69f786
PA
110082016-06-21 Pedro Alves <palves@redhat.com>
11009
11010 * gdb.base/new-ui.exp: New file.
11011 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
11012 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
11013 (with_spawn_id): New procedure.
11014
49940788
PA
110152016-06-21 Pedro Alves <palves@redhat.com>
11016
11017 * gdb.mi/mi-exec-run.exp: New file.
11018
ef274d26
PA
110192016-06-21 Pedro Alves <palves@redhat.com>
11020
11021 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
11022 breakpoint command's output on the main UI.
11023 (test_break): New procedure, factored out from calls in the top
11024 level.
11025 (top level): Use foreach_with_prefix to test MI as main UI and as
11026 separate UI.
11027
468afe6c
PA
110282016-06-21 Pedro Alves <palves@redhat.com>
11029
11030 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
11031 (test_awatch_creation_and_listing)
11032 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
11033 Remove 'type' parameter.
11034 (test_watchpoint_all): New parameter mi_mode. Remove
11035 with_test_prefix.
11036 (top level): Use foreach_with_prefix, and add main/separate UI MI
11037 testing axis.
11038
51f77c37
PA
110392016-06-21 Pedro Alves <palves@redhat.com>
11040
11041 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
11042 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
11043 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
11044 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
11045 (gdb_main_spawn_id, mi_spawn_id): Declare and
11046 comment.
11047 (mi_create_inferior_pty): New procedure,
11048 factored out from default_mi_gdb_start.
11049 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
11050 procedures.
11051 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
11052 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
11053 Use mi_create_inferior_pty.
11054 (mi_gdb_start): Use eval to pass down args list.
11055
8980e177
PA
110562016-06-21 Pedro Alves <palves@redhat.com>
11057
11058 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
11059 * gdb.opt/inline-cmds.exp: Add MI tests.
11060
f38d3ad1
PA
110612016-06-21 Pedro Alves <palves@redhat.com>
11062
11063 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
11064
45db7c09
PA
110652016-06-21 Pedro Alves <palves@redhat.com>
11066
11067 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
11068 (top level): Use it instead of mi_execute_to.
11069
5a069ab3
PA
110702016-06-21 Pedro Alves <palves@redhat.com>
11071
11072 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
11073 (cont_handler_str): New.
11074 (signal_stop_handler): Set stop_handler_str instead of printing to
11075 stdout.
11076 (continue_handler): Set cont_handler_str instead of printing to
11077 stdout.
11078 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
11079 mi_send_resuming_command. Print stop_handler_str and
11080 cont_handler_str instead of expecting the python events print
11081 directly.
11082
2838cc1d
SD
110832016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
11084
11085 * gdb.base/jit-reader.exp: New file.
11086 * gdb.base/jithost.c: New file.
11087 * gdb.base/jithost.h: New file.
11088 * gdb.base/jitreader.c : New file.
11089 * gdb.base/jit-protocol.h: New file.
11090
21a77091
YQ
110912016-06-17 Yao Qi <yao.qi@linaro.org>
11092
11093 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
11094 parameters follow_fork and detach_on_fork. Set follow-fork-mode
11095 and detach-on-fork. Adjust tests.
11096 (top level): Invoke break_cond_on_syscall with combinations of
11097 syscall, follow-fork-mode and detach-on-fork.
11098
f50bf8e5
YQ
110992016-06-17 Yao Qi <yao.qi@linaro.org>
11100
11101 * gdb.base/step-over-exit.c: New.
11102 * gdb.base/step-over-exit.exp: New.
11103
a28d8e50
YTL
111042016-06-17 Yan-Ting Lin <currygt52@gmail.com>
11105
11106 * gdb.base/float.exp: Add target check for nds32*-*-*.
11107 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
11108
cad8e26d
AB
111092016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
11110
11111 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
11112 for unsupported target features.
11113 * gdb.base/call-rt-st.exp: Likewise.
11114 * gdb.base/call-sc.exp: Likewise.
11115 * gdb.base/call-signal-resume.exp: Likewise.
11116 * gdb.base/call-strs.exp: Likewise.
11117 * gdb.base/callexit.exp: Likewise.
11118 * gdb.base/callfuncs.exp: Likewise.
11119 * gdb.base/nodebug.exp: Likewise.
11120 * gdb.base/printcmds.exp: Likewise.
11121 * gdb.base/ptype.exp: Likewise.
11122 * gdb.base/structs.exp: Likewise.
11123 * gdb.base/unwindonsignal.exp: Likewise.
11124 * gdb.cp/gdb2495.exp: Likewise.
11125 * gdb.cp/templates.exp: Likewise.
11126 * gdb.cp/virtfunc.exp: Likewise.
11127 * gdb.threads/hand-call-in-threads.exp: Likewise.
11128 * gdb.threads/interrupted-hand-call.exp: Likewise.
11129 * gdb.threads/thread-unwindonsignal.exp: Likewise.
11130
347dc102
TT
111312016-06-10 Tom Tromey <tom@tromey.com>
11132
11133 PR rust/20110:
11134 * gdb.rust/expr.exp: Add test for integer constant larger than
11135 i32.
11136
5e13cf25
BH
111372016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
11138
11139 * gdb.fortran/nested-funcs.exp: New.
11140 * gdb.fortran/nested-funcs.f90: New.
11141
bb556f1f
TK
111422016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
11143
11144 * gdb.base/examine-backward.c: New file.
11145 * gdb.base/examine-backward.exp: New file.
11146
38b022b4
SM
111472016-06-06 Simon Marchi <simon.marchi@ericsson.com>
11148
11149 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
11150 matching.
11151
1b40ec05
TT
111522016-06-02 Tom Tromey <tom@tromey.com>
11153
11154 PR python/18984:
11155 * gdb.python/py-shared.exp: Add solib_name test.
11156
193bd378
SM
111572016-06-02 Simon Marchi <simon.marchi@ericsson.com>
11158
11159 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
11160
3326303b
MG
111612016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
11162
11163 PR c++/19893
11164 * gdb.dwarf2/implref.exp: Rename to...
11165 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
11166 * gdb.dwarf2/implref-array.c: New file.
11167 * gdb.dwarf2/implref-array.exp: Likewise.
11168 * gdb.dwarf2/implref-global.c: Likewise.
11169 * gdb.dwarf2/implref-global.exp: Likewise.
11170 * gdb.dwarf2/implref-struct.c: Likewise.
11171 * gdb.dwarf2/implref-struct.exp: Likewise.
11172
825c8ef2
AT
111732016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11174
11175 * gdb.trace/trace-condition.exp: Add 64bit tests.
11176
2320162a
AT
111772016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11178
11179 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
11180 bits types.
11181 (main): Adapt to 8 to 64 bits types.
11182 * gdb.trace/trace-condition.exp: Add new tests.
11183
a7818233
AT
111842016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11185
11186 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
11187
0d336466
AT
111882016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11189
11190 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
11191 Move condition tests...
11192 * gdb.trace/trace-condition.exp: Here.
11193
7faeb45a
AT
111942016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11195
11196 * gdb.trace/trace-condition.exp: Add counter-case tests.
11197
e385593e
JK
111982016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11199
11200 PR c++/15231
11201 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
11202 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
11203
744608cc
PA
112042016-05-27 Pedro Alves <palves@redhat.com>
11205
11206 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11207 New procedure.
11208 (top level): Call it, and bail out of DejaGnu is known to be bad.
11209
ac775bf4
AB
112102016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
11211
11212 * gdb.base/whatis.c: Extend the test case.
11213 * gdb.base/whatis.exp: Add additional tests.
11214
2bbad2ea
BH
112152016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11216
11217* gdb.fortran/type.f90: Add pointer variable.
11218* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
11219
8b70175d
BH
112202016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11221
11222 * gdb.fortran/vla-type.exp: Fix testcase name.
11223
86d8a848
BH
112242016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11225
11226 * gdb.fortran/vla-type.exp: Access elements in nested structs.
11227
e188eb36
BH
112282016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11229
11230 * gdb.fortran/type.f90: Add nested structures.
11231 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
11232 * gdb.fortran/derived-type.exp: Adapt expected output.
11233 * gdb.fortran/vla-type.exp: Adapt expected output.
11234
9b2db1fd
BH
112352016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11236
11237 * gdb.fortran/whatis_type.exp: Adapt expected output.
11238
72b17055
BH
112392016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11240
11241 * gdb.fortran/print_type.exp: Fix expected output.
11242 * gdb.fortran/whatis_type.exp: Fix expected output.
11243
3cd81d8d
BH
112442016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11245
11246 * gdb.fortran/whatis_type.exp: Use multi_line.
11247
ddae9462
TT
112482016-05-24 Tom Tromey <tom@tromey.com>
11249
11250 PR python/17386:
11251 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
11252 use value as an index.
11253
1957f6b8
TT
112542016-05-23 Tom Tromey <tom@tromey.com>
11255
11256 PR python/17981:
11257 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
11258 no-breakpoint case.
11259
026a9174
PA
112602016-05-24 Pedro Alves <palves@redhat.com>
11261
11262 PR gdb/19828
11263 * gdb.threads/clone-attach-detach.c: New file.
11264 * gdb.threads/clone-attach-detach.exp: New file.
11265
e70a7231
FR
112662016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
11267
11268 * gdb.base/annota-input-while-running.exp: Fix syntax error.
11269
0f6ed0e0
TT
112702016-05-23 Tom Tromey <tom@tromey.com>
11271
11272 PR python/19438, PR python/18393:
11273 * gdb.python/py-progspace.exp: Add "dir" test.
11274 * gdb.python/py-objfile.exp: Add "dir" test.
11275
ffd19d61
YQ
112762016-05-23 Yao Qi <yao.qi@linaro.org>
11277
11278 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
11279 * gdb.arch/thumb2-it.exp: Likewise.
11280
9e8f9b05
SM
112812016-05-18 Simon Marchi <simon.marchi@ericsson.com>
11282
11283 * gdb.mi/mi-threads-interrupt.c: New file.
11284 * gdb.mi/mi-threads-interrupt.exp: New file.
11285
61c6156d
SM
112862016-05-17 Simon Marchi <simon.marchi@ericsson.com>
11287
11288 PR gdb/18077
11289 * gdb.mi/mi-async-run.exp: New file.
11290 * gdb.mi/mi-async-run.c: New file.
11291
67218854
TT
112922016-05-17 Tom Tromey <tom@tromey.com>
11293 Manish Goregaokar <manishsmail@gmail.com>
11294
11295 * lib/rust-support.exp: New file.
11296 * lib/gdb.exp (skip_rust_tests): New proc.
11297 (build_executable_from_specs): Handle rust.
11298 * lib/future.exp (gdb_find_rustc): New proc.
11299 (gdb_default_target_compile): Handle rust.
11300 * gdb.rust/expr.exp: New file.
11301 * gdb.rust/generics.exp: New file.
11302 * gdb.rust/generics.rs: New file.
11303 * gdb.rust/methods.exp: New file.
11304 * gdb.rust/methods.rs: New file.
11305 * gdb.rust/modules.exp: New file.
11306 * gdb.rust/modules.rs: New file.
11307 * gdb.rust/simple.exp: New file.
11308 * gdb.rust/simple.rs: New file.
11309
c44af4eb
TT
113102016-05-17 Tom Tromey <tom@tromey.com>
11311
11312 * gdb.base/default.exp (set language): Add rust.
11313
dcd1f979
TT
113142016-05-17 Tom Tromey <tom@tromey.com>
11315
11316 * gdb.gdb/unittest.exp: New file.
11317
155b7f57
YQ
113182016-05-16 Yao Qi <yao.qi@linaro.org>
11319
11320 * gdb.base/batch-preserve-term-settings.exp: Remove variable
11321 shell_prompt. Update shell_prompt_re.
11322
8ddd5a6c
DE
113232016-05-12 Doug Evans <dje@google.com>
11324
11325 PR symtab/19999
11326 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
11327 $options when building executable.
11328 * gdb.dwarf2/fission-loclists-pie.S: New file.
11329 * gdb.dwarf2/fission-loclists-pie.exp: New file.
11330
02e370d9
SM
113312016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11332
11333 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
11334 of [is_remote target],
11335
8929ad8b
SM
113362016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11337
11338 * lib/gdb.exp (use_gdb_stub): New procedure.
11339
6c447423
DE
113402016-05-03 Yunlian Jiang <yunlian@google.com>
11341 Doug Evans <dje@google.com>
11342
11343 PR symtab/19914
11344 * gdb.dwarf2/dwp-sepdebug.c: New file.
11345 * gdb.dwarf2/dwp-sepdebug.exp: New file.
11346
444e826c
SM
113472016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11348
11349 * gdb.base/detach.exp: Remove is_remote check.
11350
740feeaa
SM
113512016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11352
11353 * gdb.base/annota-input-while-running.exp: Don't check for
11354 [is_remote target]. Enable annotations after running to main.
11355 Remove unused "set test..." line.
11356
9080ac9d
SM
113572016-04-28 Simon Marchi <simon.marchi@ericsson.com>
11358
11359 * gdb.trace/trace-enable-disable.exp: New file.
11360 * gdb.trace/trace-enable-disable.c: New file.
11361
952ebca5
SM
113622016-04-28 Simon Marchi <simon.marchi@ericsson.com>
11363
11364 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
11365 use it in info sharedlibrary test.
11366 * gdb.trace/ftrace-lock.exp: Likewise.
11367 * gdb.trace/ftrace.exp: Likewise.
11368 * gdb.trace/range-stepping.exp: Likewise.
11369 * gdb.trace/trace-break.exp: Likewise.
11370 * gdb.trace/trace-condition.exp: Likewise.
11371 * gdb.trace/trace-mt.exp: Likewise.
11372
d9019901
SM
113732016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11374
11375 * lib/gdb.exp (gdb_load_shlibs): Rename to...
11376 (gdb_load_shlib): ... this.
11377 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
11378 gdb_load_shlib.
11379 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
11380 * gdb.base/ctxobj.exp: Likewise.
11381 * gdb.base/dprintf-pending.exp: Likewise.
11382 * gdb.base/dso2dso.exp: Likewise.
11383 * gdb.base/fixsection.exp: Likewise.
11384 * gdb.base/gcore-relro.exp: Likewise.
11385 * gdb.base/gdb1555.exp: Likewise.
11386 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11387 * gdb.base/gnu-ifunc.exp: Likewise.
11388 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
11389 * gdb.base/jit-so.exp (one_jit_test): Likewise.
11390 * gdb.base/pending.exp: Likewise.
11391 * gdb.base/print-file-var.exp: Likewise.
11392 * gdb.base/print-symbol-loading.exp: Likewise.
11393 * gdb.base/shlib-call.exp: Likewise.
11394 * gdb.base/shreloc.exp: Likewise.
11395 * gdb.base/so-impl-ld.exp: Likewise.
11396 * gdb.base/solib-disc.exp: Likewise.
11397 * gdb.base/solib-nodir.exp: Likewise.
11398 * gdb.base/solib-overlap.exp: Likewise.
11399 * gdb.base/solib-symbol.exp: Likewise.
11400 * gdb.base/solib-weak.exp (do_test): Likewise.
11401 * gdb.base/sym-file.exp: Likewise.
11402 * gdb.base/symtab-search-order.exp: Likewise.
11403 * gdb.base/type-opaque.exp: Likewise.
11404 * gdb.base/unload.exp: Likewise.
11405 * gdb.base/watchpoint-solib.exp: Likewise.
11406 * gdb.compile/compile.exp: Likewise.
11407 * gdb.cp/gdb2384.exp: Likewise.
11408 * gdb.cp/infcall-dlopen.exp: Likewise.
11409 * gdb.cp/re-set-overloaded.exp: Likewise.
11410 * gdb.fortran/library-module.exp: Likewise.
11411 * gdb.opt/solib-intra-step.exp: Likewise.
11412 * gdb.python/py-finish-breakpoint.exp: Likewise.
11413 * gdb.python/py-shared.exp: Likewise.
11414 * gdb.reverse/solib-precsave.exp: Likewise.
11415 * gdb.reverse/solib-reverse.exp: Likewise.
11416 * gdb.server/solib-list.exp: Likewise.
11417 * gdb.threads/dlopen-libpthread.exp: Likewise.
11418 * gdb.threads/tls-shared.exp: Likewise.
11419 * gdb.threads/tls-so_extern.exp: Likewise.
11420 * gdb.trace/change-loc.exp: Likewise.
11421 * gdb.trace/ftrace-lock.exp: Likewise.
11422 * gdb.trace/ftrace.exp: Likewise.
11423 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
11424 * gdb.trace/pending.exp: Likewise.
11425 * gdb.trace/range-stepping.exp: Likewise.
11426 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
11427 (strace_info_marker): Likewise.
11428 (strace_probe_marker): Likewise.
11429 (strace_trace_on_same_addr): Likewise.
11430 (strace_trace_on_diff_addr): Likewise.
11431 * gdb.trace/trace-break.exp: Likewise.
11432 * gdb.trace/trace-condition.exp: Likewise.
11433 * gdb.trace/trace-mt.exp: Likewise.
11434
fca4cfd9
SM
114352016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11436
11437 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
11438 result of gdb_remote_download.
11439 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
11440 * gdb.base/dso2dso.exp: Likewise.
11441 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11442 * gdb.base/print-file-var.exp: Likewise.
11443 * gdb.base/shlib-call.exp: Likewise.
11444 * gdb.base/shreloc.exp: Likewise.
11445 * gdb.base/solib-overlap.exp: Likewise.
11446 * gdb.base/solib-weak.exp (do_test): Likewise.
11447 * gdb.base/unload.exp: Likewise.
11448
11cf4ffb
YQ
114492016-04-27 Yao Qi <yao.qi@linaro.org>
11450
11451 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
11452 exists.
11453
3e2e34f8
KB
114542016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11455
11456 * vla-type.exp: Print structure from toplevel.
11457
8f07e298
BH
114582016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11459
11460 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
11461 of dynamic types.
11462 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
11463 of dynamic types.
11464
9920b434
BH
114652016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11466
11467 * gdb.fortran/vla-type.f90: New file.
11468 * gdb.fortran/vla-type.exp: New file.
11469
f3abeff5
YQ
114702016-04-25 Yao Qi <yao.qi@linaro.org>
11471
11472 * gdb.base/branch-to-self.c: New file.
11473 * gdb.base/branch-to-self.exp: New file.
11474
0a5d52f0
YQ
114752016-04-22 Yao Qi <yao.qi@linaro.org>
11476
11477 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
11478 more after $hex.
11479
495346f6
YQ
114802016-04-22 Yao Qi <yao.qi@linaro.org>
11481
11482 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
11483 * gdb.base/annota3.exp: Likewise.
11484
4a7e075c
YQ
114852016-04-22 Yao Qi <yao.qi@linaro.org>
11486
11487 * gdb.reverse/step-precsave.exp: Do one step and test program
11488 stops in "callee" and do multiple steps until program goes out
11489 of "callee".
11490 * gdb.reverse/step-reverse.exp: Likewise.
11491
5b061e98
YQ
114922016-04-22 Yao Qi <yao.qi@linaro.org>
11493
11494 * gdb.trace/signal.exp: Also pass if
11495 $tracepoint_hits($i) > $iterations.
11496
5c5dc57f
YQ
114972016-04-22 Yao Qi <yao.qi@linaro.org>
11498
11499 * gdb.trace/signal.c: New file.
11500 * gdb.trace/signal.exp: New file.
11501
a55411b9
DE
115022016-04-19 Doug Evans <xdje42@gmail.com>
11503
11504 * gdb.base/bad-file.exp: New file.
11505
a22df60a
MG
115062016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
11507
11508 * gdb.dwarf2/implref.exp: New file.
11509
0c13f7e5
BH
115102016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11511
11512 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
11513 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
11514 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
11515 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
11516 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
11517 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
11518 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
11519 * lib/fortran.exp (fortran_int4): New procedure.
11520 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
11521 (fortran_logical4): Likewise.
11522
9b9b09e9
BH
115232016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
11524
11525 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
11526
a14d1f4d
BH
115272016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11528
11529 * lib/compiler.c: Add Intel specific preprocessor macros.
11530 * lib/compiler.cc: Likewise.
25d49b86 11531
7d49b1d0
LM
115322016-04-13 Luis Machado <lgustavo@codesourcery.com>
11533
11534 * gdb.server/connect-with-no-symbol-file.c: New file.
11535 * gdb.server/connect-with-no-symbol-file.exp: New file.
11536
8392fa22
SM
115372016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11538
11539 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
11540
8c4c4aeb
SM
115412016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11542
11543 * boards/gdbserver-base.exp (${board}_download): Copy source file to
11544 standard output directory.
11545
45e3745e
AT
115462016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
11547
11548 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
11549
e26b7e41
MM
115502016-04-13 Markus Metzger <markus.t.metzger@intel.com>
11551
11552 * gdb.btrace/instruction_history.c (loop): Add declaration.
11553
8ce09462
AT
115542016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11555
11556 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
11557
2e88a1ea
SM
115582016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
11559
11560 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
11561 parentheses to print.
11562 (continue_handler): Likewise.
11563
f48e22e3
SM
115642016-04-08 Simon Marchi <simon.marchi@ericsson.com>
11565
11566 * gdb.server/solib-list.exp: Remove is_remote check.
11567 Pass shlib= to gdb_compile. Don't link shared library with
11568 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
11569 Run binary filename through "readlink -f" on the target.
11570
096be756
PA
115712016-04-08 Pedro Alves <palves@redhat.com>
11572
11573 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
11574 interpreter filename as argument to gdbserver_spawn.
11575 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11576 Return empty if $last_loaded_file does not exist.
11577
06500533
JK
115782016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11579
11580 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
11581 * gdb.base/jit-main.c: Use exit after usage.
11582
2d35e871
JK
115832016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11584
11585 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
11586 GDBHISTSIZE prior to the tests.
11587 * gdb.base/gdbinit-history.exp: Likewise.
11588
115892016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
11590
11591 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
11592 instead of build_executable. Use gdb_load_shlibs.
11593
c8064e7e
YQ
115942016-04-07 Yao Qi <yao.qi@linaro.org>
11595
11596 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
11597 Execute "si" command.
11598
bde47561
YQ
115992016-04-07 Yao Qi <yao.qi@linaro.org>
11600
11601 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
11602 number instead of the comments on some line.
11603
b16f8a3b
DB
116042016-04-06 Don Breazeal <donb@codesourcery.com>
11605
11606 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
11607 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
11608
c2f901df
SM
116092016-04-06 Simon Marchi <simon.marchi@ericsson.com>
11610
11611 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
11612 standard_output_file. Remove unused binfile variable.
11613
ac17fda0
CU
116142016-04-05 Catalin Udma <catalin.udma@freescale.com>
11615
11616 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
11617 * gdb.python/py-mi-objfile.exp: Match "list main" output
11618 in console format.
11619
03a8c4df
SM
116202016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
11621
11622 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
11623 absolute.
11624
6e774b13
SM
116252016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11626
11627 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
11628 absolute.
11629 * gdb.trace/ftrace.exp: Likewise.
11630 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
11631 targets as well.
11632 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
11633 (gdb_load_shlibs): Copy libraries to test directory when testing
11634 natively. Only set solib-search-path if testing remotely.
11635 * lib/mi-support.exp (mi_load_shlibs): Likewise.
11636
7817ea46
SM
116372016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11638
11639 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
11640 gdb_download. Use it even if the target is not remote.
11641 * gdb.base/jit.exp (compile_jit_test): Likewise.
11642 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
11643 output directory if the destination board is local, otherwise use
11644 the standard remote_download from DejaGnu.
11645 (gdb_download): Remove.
11646 (gdb_load_shlibs): Use gdb_remote_download instead of
11647 gdb_download.
11648 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11649 Use gdb_remote_download instead of gdb_download. Use it even if
11650 the target is not remote.
11651 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
11652 instead of gdb_download.
11653
7beb7f68
SM
116542016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
11655
11656 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
11657 (test_insert_delete_modify): Call mi_load_shlibs before trying to
11658 run.
11659
cc63428a
AV
116602016-04-01 Artemiy Volkov <artemiyv@acm.org>
11661
11662 PR gdb/19820
11663 * gdb.base/printcmds.exp: Add artificial arrays tests.
11664
64cdf930
PA
116652016-03-31 Pedro Alves <palves@redhat.com>
11666
11667 PR gdb/19858
11668 * gdb.base/jit-main.c: Include unistd.h.
11669 (ATTACH): Define to 0 if not already defined.
11670 (wait_for_gdb, mypid): New globals.
11671 (WAIT_FOR_GDB): New macro.
11672 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11673 some breakpoint locations.
11674 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11675 New procedures.
11676 (one_jit_test): Add REATTACH parameter, and handle it. Use
11677 continue_to_test_location.
11678 (top level): Test attach, and adjusts calls to one_jit_test.
11679
40dea8cb
PA
116802016-03-31 Pedro Alves <palves@redhat.com>
11681
11682 PR gdb/19858
11683 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11684 BINSUFFIX parameter, and handle it.
11685 (top level): Adjust calls compile_jit_test.
11686
e7ea3ec7
CU
116872016-03-31 Catalin Udma <catalin.udma@freescale.com>
11688
11689 PR python/19743
11690 * gdb.python/py-mi-events-gdb.py: New file.
11691 * gdb.python/py-mi-events.c: New file.
11692 * gdb.python/py-mi-events.exp: New file.
11693
e6359af3
YQ
116942016-03-30 Yao Qi <yao.qi@linaro.org>
11695
11696 * gdb.reverse/until-precsave.exp: Match function name only.
11697 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11698 Move malloc to a condition block.
11699 * gdb.reverse/until-reverse.exp: Match function name only.
11700
a4105d04
MK
117012016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11702
11703 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11704 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11705 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11706 variable for GPR 0 instead of assuming it is register 0.
11707 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11708 * lib/trace-support.exp: Add s390 registers.
11709
bfa6adb9
YQ
117102016-03-29 Yao Qi <yao.qi@linaro.org>
11711
11712 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11713
1e6697ea
YQ
117142016-03-24 Yao Qi <yao.qi@linaro.org>
11715
11716 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11717 test message.
11718
64bcd522
AA
117192016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11720
11721 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11722 maintaining separate logic for constructing the output path.
11723
7868401b
DB
117242016-03-16 Don Breazeal <donb@codesourcery.com>
11725
11726 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11727 Retry fork and waitpid on interrupted system call errors.
11728 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11729 Use with_timeout_factor to increase timeout by factor of 10.
11730
1cafadb4
DB
117312016-03-15 Don Breazeal <donb@codesourcery.com>
11732
11733 * gdb.cp/scope-err.cc: New test program.
11734 * gdb.cp/scope-err.exp: New test script.
11735 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11736 lines and "set breakpoint here" comment.
11737 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11738 Fixed some whitespace and format issues.
11739 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11740 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11741
81516450
DE
117422016-03-15 Doug Evans <dje@google.com>
11743
11744 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11745 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11746 All callers updated. Add tests for enums, mixed flags register.
11747
aa52b601
DE
117482016-03-15 Doug Evans <dje@google.com>
11749
11750 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11751 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11752
fa4ff313
SM
117532016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11754
11755 * gdb.base/default.exp: Add $_as_string to the list of expected
11756 convenience functions.
11757
f2403c39
AB
117582016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11759
11760 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11761
f2f3ccb9
SM
117622016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11763
11764 * gdb.python/py-as-string.exp: New file.
11765 * gdb.python/py-as-string.c: New file.
11766
00dbd492
PA
117672016-03-09 Pedro Alves <palves@redhat.com>
11768
11769 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11770 signal" -> "Thread NN received signal" output change.
11771 * gdb.threads/ia64-sigill.exp: Likewise.
11772 * gdb.threads/linux-dp.exp: Likewise.
11773 * gdb.threads/manythreads.exp: Likewise.
11774 * gdb.threads/pending-step.exp: Likewise.
11775 * gdb.threads/print-threads.exp: Likewise.
11776 * gdb.threads/sigstep-threads.exp: Likewise.
11777 * gdb.threads/staticthreads.exp: Likewise.
11778 * gdb.threads/tls.exp: Likewise.
11779
1e6697ea
YQ
117802016-03-09 Pedro Alves <palves@redhat.com>
11781
11782 * gdb.base/command-line-input.exp: New file.
11783
b04fd3be
MK
117842016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11785
11786 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11787 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11788 * gdb.trace/pending.exp: Accept leading dot before function name.
11789 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11790 * lib/trace-support.exp: Set registers for ppc.
11791
98fa59e9
MK
117922016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11793
11794 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11795 use it for disassembly; accept .main in addition to main in backtrace.
11796
f77198c8
MK
117972016-03-09 Wei-cheng Wang <cole945@gmail.com>
11798 Marcin Kościelnicki <koriakin@0x04.net>
11799
11800 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11801 (gdb_recursion_test_ptr): New global variable.
11802 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11803 gdb_recursion_test.
11804 (gdb_c_test): Ditto.
11805
ba84e0da
MK
118062016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11807
11808 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11809 ordering.
11810
4366d36e
MK
118112016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11812
11813 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11814 (bar): Add bar_start_lbl label.
11815 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11816 of foo/bar for emitting DWARF and tracing.
11817
5eb264df
SDJ
118182016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11819
11820 * analyze-racy-logs.py: Set executable bit.
11821
fb6a751f
SDJ
118222016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11823
11824 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11825 (CHECK_TARGET_TMP): Likewise.
11826 (check-single-racy): New rule.
11827 (check-parallel-racy): Likewise.
11828 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11829 (do-check-parallel-racy): New rule.
11830 (check-racy/%.exp): Likewise.
11831 * README (Racy testcases): New section.
11832 * analyze-racy-logs.py: New file.
11833
bdf7e230
DE
118342016-03-03 Doug Evans <dje@google.com>
11835
11836 * gdb.base/skip.exp: Use with_test_prefix.
11837
4719d415
YQ
118382016-03-03 Yao Qi <yao.qi@linaro.org>
11839
11840 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11841 Invoke step_over_syscall "clone" and break_cond_on_syscall
11842 "clone".
11843 * gdb.base/step-over-clone.c: New file.
11844
ea507862
YQ
118452016-03-03 Yao Qi <yao.qi@linaro.org>
11846
11847 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11848 code format.
11849
8fc8cbda
YQ
118502016-03-03 Yao Qi <yao.qi@linaro.org>
11851
11852 * gdb.base/disp-step-fork.c: Rename to ...
11853 * gdb.base/step-over-fork.c: ... it. New file.
11854 * gdb.base/disp-step-vfork.c: Rename to ...
11855 * gdb.base/step-over-vfork.c: ... it. New file.
11856 * gdb.base/disp-step-syscall.exp: Rename to ...
11857 * gdb.base/step-over-syscall.exp: ... it. New file.
11858 (disp_step_cross_syscall): Rename to ...
11859 (step_over_syscall): ... it.
11860
92fa70b0
YQ
118612016-03-03 Yao Qi <yao.qi@linaro.org>
11862
11863 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11864 If target supports condition evaluation on target, invoke
11865 break_cond_on_syscall for fork and vfork.
11866
e197ad3c
YQ
118672016-03-03 Yao Qi <yao.qi@linaro.org>
11868
11869 * gdb.base/disp-step-syscall.exp: Don't invoke
11870 support_displaced_stepping.
11871 (disp_step_cross_syscall): Test with displaced stepping off and
11872 on if supported.
11873
0b47da9f
YQ
118742016-03-03 Yao Qi <yao.qi@linaro.org>
11875
11876 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11877 proc.
11878 (setup): New proc.
11879 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11880 and setup.
11881
065ab6dc
BH
118822016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11883
11884 * gdb.fortran/vla-history.exp: Remove breakpoint.
11885
07e448ad 118862016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11887
25d49b86
PA
11888 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11889 exceeds timeout.
07e448ad 11890
9ac2d526 118912016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11892
25d49b86
PA
11893 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11894 breakpoint.
9ac2d526 11895
17807369
BH
118962016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11897
11898 * gdb.mi/vla.f90: Nullify pointer after declaration.
11899
86e501af
PA
119002016-03-01 Pedro Alves <palves@redhat.com>
11901
11902 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11903
1e903e32
PA
119042016-03-01 Pedro Alves <palves@redhat.com>
11905
11906 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11907 before anything else.
11908 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11909 _GNU_SOURCE here.
11910 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11911 before anything else.
11912 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11913
6ccb54e2
PA
119142016-03-01 Pedro Alves <palves@redhat.com>
11915
11916 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11917
30ca9da1
YQ
119182016-03-01 Yao Qi <yao.qi@linaro.org>
11919
11920 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11921 prepare_for_testing.
11922
dc856b38
YQ
119232016-03-01 Yao Qi <yao.qi@linaro.org>
11924
11925 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11926
4a932159
AA
119272016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11928
11929 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11930 manually constructing the output path.
11931
f2489477
AA
119322016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11933
11934 * gdb.arch/s390-stackless.S: New.
11935 * gdb.arch/s390-stackless.exp: New.
11936
38899f16
IB
119372016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11938
11939 * gdb.dlang/circular.c: New file.
11940 * gdb.dlang/circular.exp: New file.
11941
9fde51ed
YQ
119422016-02-26 Yao Qi <yao.qi@linaro.org>
11943
11944 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11945 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11946 (testcases): Update.
11947
ce90fefe
YQ
119482016-02-26 Yao Qi <yao.qi@linaro.org>
11949
11950 * gdb.reverse/aarch64.c: Rename to ...
11951 * gdb.reverse/insn-reverse.c: ... it.
11952 * gdb.reverse/aarch64.exp: Rename to ...
11953 * gdb.reverse/insn-reverse.exp: ... it.
11954
3263bceb
YQ
119552016-02-26 Yao Qi <yao.qi@linaro.org>
11956
11957 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11958 (testcase_ftype): New.
11959 (testcases): New array.
11960 (n_testcases): New.
11961 (main): Call each element in testcases.
11962 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11963 (read_testcase): New.
11964 Do the tests in a loop.
11965
6cb59ff1
YQ
119662016-02-25 Yao Qi <yao.qi@linaro.org>
11967
11968 * gdb.base/branches.c: Remove.
11969
ae91f625
MK
119702016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11971
11972 PR gdb/13808
11973 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11974
678b48b7
MK
119752016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11976
11977 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11978
7337a6f2
MK
119792016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11980
11981 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11982 change x86_64 call_insn to 'callq'.
11983
861ca91f
AT
119842016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11985
11986 * gdb.trace/tfile-avx.c: Move to...
11987 * gdb.trace/tracefile-pseudo-reg.c: Here.
11988 * gdb.trace/tfile-avx.exp: Move to...
11989 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11990
bf74e428
GB
119912016-02-24 Gary Benson <gbenson@redhat.com>
11992
11993 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11994 message on attach.
11995
cce0e923
DE
119962016-02-23 Doug Evans <dje@google.com>
11997
11998 * gdb.base/skip.c (test_skip): New function.
11999 (end_test_skip_file_and_function): New function.
12000 (test_skip_file_and_function): New function.
12001 * gdb.base/skip1.c (test_skip): New function.
12002 (skip1_test_skip_file_and_function): New function.
12003 * gdb.base/skip.exp: Add tests for new skip options.
12004 * gdb.base/skip-solib.exp: Update expected output.
12005 * gdb.perf/skip-command.cc: New file.
12006 * gdb.perf/skip-command.exp: New file.
12007 * gdb.perf/skip-command.py: New file.
12008
4000e47e
MK
120092016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
12010
12011 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
12012 info registers pattern.
12013
24f75ead
IB
120142016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
12015
12016 * lib/future.exp: Add D support.
12017 (gdb_find_gdc): New proc.
12018 (gdb_default_target_compile): Add D support.
12019
fbb7bcbe
WW
120202016-02-18 Wei-cheng Wang <cole945@gmail.com>
12021
12022 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
12023 user+system time.
12024 (trace_speed_test): Determine the iteration count for a time
12025 between 15..30 seconds.
12026
012b3a21
WT
120272016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
12028
12029 * gdb.arch/i386-mpx-sigsegv.c: New file.
12030 * gdb.arch/i386-mpx-sigsegv.exp: New file.
12031 * gdb.arch/i386-mpx-simple_segv.c: New file.
12032 * gdb.arch/i386-mpx-simple_segv.exp: New file.
12033
2d5189bd
YQ
120342016-02-18 Yao Qi <yao.qi@linaro.org>
12035
12036 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12037 Don't call setup_kfail.
12038
40fb20d0
YQ
120392016-02-18 Yao Qi <yao.qi@linaro.org>
12040
12041 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12042 Set "set breakpoint condition-evaluation" per $cond_bp_target.
12043
21b1f8d2
DE
120442016-02-16 Doug Evans <dje@google.com>
12045
12046 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
12047 * gdb.base/skip1.c: Ditto.
12048 * gdb.base/skip.exp: Whitespace cleanup.
12049
4041ed77
DB
120502016-02-16 Don Breazeal <donb@codesourcery.com>
12051
12052 PR remote/19496
12053 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12054 Remove kfail for PR remote/19496.
12055
c4ef31bf
SM
120562016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12057
12058 * lib/gdb.exp (standard_temp_file): Return a path specific to
12059 the runtest invocation.
12060
266b65b3
SM
120612016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12062
12063 * gdb.trace/save-trace.exp: Change relative path to be in the
12064 standard output directory.
12065
a7a0a6a9
JK
120662016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12067
12068 * gdb.arch/i386-prologue.c: Add missing prototypes.
12069
c99dbb42
JK
120702016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12071
12072 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
12073 * gdb.arch/i386-prologue.exp: Likewise.
12074 * gdb.arch/i386-size.exp: Likewise.
12075
aa480355
SM
120762016-02-15 Simon Marchi <simon.marchi@ericsson.com>
12077
12078 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
12079 define object file path.
12080 * gdb.btrace/gcore.exp: Use standard_output_file to define core
12081 file path.
12082 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
12083 standard_output_file to define binfile.
12084
ba881f50
JK
120852016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12086
12087 Fix compatibility with recent gfortran-5.3.1.
12088 * gdb.fortran/vla-history.exp (print vla1 allocated)
12089 (print vla2 allocated, print $2, print $3): Remove
12090 (print $4): Rename to ...
12091 (print $2): ... here.
12092 (print $9): Rename to ...
12093 (print $5): ... here.
12094 (print $10): Rename to ...
12095 (print $6): ... here.
12096 * gdb.fortran/vla.f90: Add pvla initialization.
12097
e9fb005c
JK
120982016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12099
12100 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
12101 New test.
12102 * gdb.fortran/vla-value-sub.exp: Likewise.
12103
e44e00ff
MK
121042016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
12105
12106 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
12107
97e94151
SM
121082016-02-12 Simon Marchi <simon.marchi@ericsson.com>
12109
12110 * i386-biarch-core.exp: Define corefile using
12111 standard_output_file.
12112
01113bc1
YQ
121132016-02-12 Yao Qi <yao.qi@linaro.org>
12114
12115 * gdb.arch/arm-single-step-kernel-helper.c: New.
12116 * gdb.arch/arm-single-step-kernel-helper.exp: New.
12117
33b4777c
MM
121182016-02-12 Markus Metzger <markus.t.metzger@intel.com>
12119
12120 * gdb.btrace/tailcall-only.exp: New.
12121 * gdb.btrace/tailcall-only.c: New.
12122 * gdb.btrace/x86_64-tailcall-only.S: New.
12123 * gdb.btrace/i686-tailcall-only.S: New.
12124
acc23c11
PA
121252016-02-11 Pedro Alves <palves@redhat.com>
12126
12127 * README (Parallel testing): Add missing double quotes.
12128
e352bf0a
PA
121292016-02-11 Pedro Alves <palves@redhat.com>
12130
12131 * README (Parallel testing): New section.
12132 (GDB_PARALLEL): Rewrite.
12133 (FORCE_PARALLEL): Document.
12134
9f5fed78
MK
121352016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
12136
12137 * gdb.trace/tfile-avx.c: New test.
12138 * gdb.trace/tfile-avx.exp: New test.
12139
9ef9e6a6
KS
121402016-02-09 Keith Seitz <keiths@redhat.com>
12141
12142 PR breakpoints/19546
12143 * gdb.base/infcall-exec.c: New file.
12144 * gdb.base/infcall-exec2.c: New file.
12145 * gdb.base/infcall-exec.exp: New file.
12146
a96e36da
KS
121472016-02-09 Keith Seitz <keiths@redhat.com>
12148
12149 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
12150 (toplevel): Call test_bkpt_address.
12151
9f61929f
KS
121522016-02-09 Keith Seitz <keiths@redhat.com>
12153
12154 PR python/19506
12155 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
12156 (toplevel): Call test_bkpt_address.
12157
1e94266c
SM
121582016-02-09 Simon Marchi <simon.marchi@ericsson.com>
12159
12160 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
12161 to AC_OUTPUT.
12162 * configure: Regenerate.
12163
2a7f3dff
PA
121642016-02-09 Pedro Alves <palves@redhat.com>
12165
12166 PR breakpoints/19548
12167 * gdb.base/execl-update-breakpoints.c (some_function): New
12168 function.
12169 (main): Call it.
12170 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
12171 Tighten expected GDB output.
12172
2151ccc5
SM
121732016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12174
12175 * Makefile.in (ALL_SUBDIRS): Remove.
12176 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
12177 (distclean maintainer-clean realclean): Likewise.
12178 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
12179 * configure: Regenerate.
12180 * gdb.ada/Makefile.in: Delete.
12181 * gdb.arch/Makefile.in: Likewise.
12182 * gdb.asm/Makefile.in: Likewise.
12183 * gdb.base/Makefile.in: Likewise.
12184 * gdb.btrace/Makefile.in: Likewise.
12185 * gdb.cell/Makefile.in: Likewise.
12186 * gdb.compile/Makefile.in: Likewise.
12187 * gdb.cp/Makefile.in: Likewise.
12188 * gdb.disasm/Makefile.in: Likewise.
12189 * gdb.dlang/Makefile.in: Likewise.
12190 * gdb.dwarf2/Makefile.in: Likewise.
12191 * gdb.fortran/Makefile.in: Likewise.
12192 * gdb.gdb/Makefile.in: Likewise.
12193 * gdb.go/Makefile.in: Likewise.
12194 * gdb.guile/Makefile.in: Likewise.
12195 * gdb.java/Makefile.in: Likewise.
12196 * gdb.linespec/Makefile.in: Likewise.
12197 * gdb.mi/Makefile.in: Likewise.
12198 * gdb.modula2/Makefile.in: Likewise.
12199 * gdb.multi/Makefile.in: Likewise.
12200 * gdb.objc/Makefile.in: Likewise.
12201 * gdb.opencl/Makefile.in: Likewise.
12202 * gdb.opt/Makefile.in: Likewise.
12203 * gdb.pascal/Makefile.in: Likewise.
12204 * gdb.perf/Makefile.in: Likewise.
12205 * gdb.python/Makefile.in: Likewise.
12206 * gdb.reverse/Makefile.in: Likewise.
12207 * gdb.server/Makefile.in: Likewise.
12208 * gdb.stabs/Makefile.in: Likewise.
12209 * gdb.threads/Makefile.in: Likewise.
12210 * gdb.trace/Makefile.in: Likewise.
12211 * gdb.xml/Makefile.in: Likewise.
12212 * lib/gdb.exp (make_gdb_parallel_path): Add check for
12213 GDB_PARALLEL.
12214 (standard_output_file): Remove check for GDB_PARALLEL, always
12215 return path in outputs/$subdir/$testname.
12216
437277d4
SM
122172016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12218
12219 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
12220 (site.exp): Assign abs_srcdir to tcl's srcdir.
12221
31d913c7
YQ
122222016-02-04 Yao Qi <yao.qi@linaro.org>
12223
12224 * gdb.base/foll-exec-mode.c: Include limits.h.
12225 (main): Add parameters argc and argv. Get directory from
12226 argv[0].
12227 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
12228 compilation.
12229 * gdb.base/foll-exec.c: Include limits.h.
12230 (main): Add parameters argc and argv.
12231 Get directory from argv[0].
12232 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
12233 Adjust tests on the number of lines as source code changed.
12234 * gdb.base/foll-vfork-exit.c: Include limits.h.
12235 (main): Add one line of statement before vfork.
12236 * gdb.base/foll-vfork.c: Include limits.h and string.h.
12237 (main): Add parameters argc and argv. Get directory from
12238 argv[0].
12239 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
12240 (setup_gdb): Set tbreak to skip some source lines.
12241 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
12242 (main): Add parameters argc and argv. Get directory from
12243 argv[0].
12244 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
12245 compilation.
12246 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
12247 (main): Add parameters argc and argv. Get directory from
12248 argv[0].
12249 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
12250 compilation.
12251
9482b9fb
DE
122522016-02-01 Doug Evans <dje@google.com>
12253
12254 * gdb.base/skip.exp: Clean up multiple references to same test name.
12255
6b2e4f10
PA
122562016-02-01 Pedro Alves <palves@redhat.com>
12257
ccb6afd6 12258 PR remote/19496
6b2e4f10
PA
12259 * gdb.threads/forking-threads-plus-breakpoint.exp
12260 (displaced_stepping_supported): New global.
12261 (probe_displaced_stepping_support): New procedure.
12262 (do_test): Add 'displaced' parameter, and use it.
12263 (top level): Check for displaced stepping support. Add displaced
12264 stepping on/off testing axis.
12265
37a8db1a
AB
122662016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12267
12268 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
12269 pointer. Don't perform further tests on the unassociated pointer
12270 if the first test fails.
12271
5fdf6324
AB
122722016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12273
12274 * gdb.base/max-value-size.c: New file.
12275 * gdb.base/max-value-size.exp: New file.
12276 * gdb.base/huge.exp: Disable max-value-size for this test.
12277
935c6144
IB
122782016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
12279
12280 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12281
7fe8399d
YQ
122822016-01-28 Yao Qi <yao.qi@linaro.org>
12283
12284 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
12285
a2077e25
PA
122862016-01-25 Pedro Alves <palves@redhat.com>
12287
12288 PR threads/19461
12289 * gdb.base/fork-running-state.c: New file.
12290 * gdb.base/fork-running-state.exp: New file.
12291
1d2736d4
PA
122922016-01-25 Pedro Alves <palves@redhat.com>
12293
12294 PR gdb/19494
12295 * gdb.base/catch-fork-kill.c: New file.
12296 * gdb.base/catch-fork-kill.exp: New file.
12297
f1da4b11
PA
122982016-01-25 Pedro Alves <palves@redhat.com>
12299
12300 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
12301 Delete, moved to lib/gdb.exp.
12302 * gdb.threads/forking-threads-plus-breakpoint.exp
12303 (foreach_with_prefix): Likewise.
12304 * gdb.threads/process-dies-while-handling-bp.exp
12305 (foreach_with_prefix): Likewise.
12306 * lib/gdb.exp (foreach_with_prefix): New procedure.
12307
45f38546
MK
123082016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
12309
12310 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
12311 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
12312
dc29a1ce
MK
123132016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
12314
12315 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
12316 endian targets.
12317
092127d7
JK
123182016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12319 Pedro Alves <palves@redhat.com>
12320
12321 Fix testsuite compatibility with Guile.
12322 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
12323 number.
12324
31d765d3
JK
123252016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12326
12327 Fix testsuite compatibility with Guile.
12328 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
12329 (thread 1): New test for backtrace through signal handler.
12330
1ac78c04
YQ
123312016-01-22 Yao Qi <yao.qi@linaro.org>
12332
12333 PR testsuite/19491
12334 * gdb.base/multi-forks.c: Include
12335 ../lib/unbuffer_output.c
12336 (main): Call gdb_unbuffer_output.
12337
4f5946a8
DE
123382016-01-21 Doug Evans <dje@google.com>
12339
12340 * lib/ada.exp (gdb_compile_ada): Fix typo.
12341
305e13e6
JB
123422016-01-21 Joel Brobecker <brobecker@adacore.com>
12343
12344 * gdb.base/break-fun-addr.exp: New file.
12345 * gdb.base/break-fun-addr1.c: New file.
12346 * gdb.base/break-fun-addr2.c: New file.
12347
5f5dfff6
SM
123482016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
12349
12350 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
12351 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
12352 enum flag values.
12353
fd356fa2
AA
123542016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12355
12356 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
12357 when GDB can not set the vector return value. Add more comments
12358 for clarification.
12359
9df22175
AT
123602016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
12361
12362 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
12363 command.
12364
41d1845e
SM
123652016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12366
12367 * Makefile.in (DO_RUNTEST): Add --status and update usages.
12368
01ac6840
SM
123692016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12370
12371 * Makefile.in (check-single): Pass --status to runtest.
12372 (check/%.exp): Likewise.
12373
123742016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12375
12376 * Makefile.in (check-parallel): Propagate return code from make
12377 do-check-parallel.
12378
bd0a71fa
MK
123792016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
12380
12381 * gdb.trace/ftrace.exp: Fix expected message on continue.
12382 * gdb.trace/pending.exp: Fix expected message on continue.
12383 * gdb.trace/trace-break.exp: Fix expected message on continue.
12384
8bcbad33
SM
123852016-01-18 Simon Marchi <simon.marchi@ericsson.com>
12386
12387 * lib/gdb.exp (gdb_test): Remove unused global references.
12388
f303dbd6
PA
123892016-01-18 Pedro Alves <palves@redhat.com>
12390
12391 * gdb.base/async-shell.exp: Adjust expected output.
12392 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
12393 * gdb.base/siginfo-thread.exp: Adjust expected output.
12394 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
12395 * gdb.java/jnpe.exp: Adjust expected output.
12396 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
12397 * gdb.threads/continue-pending-status.exp: Adjust expected output.
12398 * gdb.threads/leader-exit.exp: Adjust expected output.
12399 * gdb.threads/manythreads.exp: Adjust expected output.
12400 * gdb.threads/pthreads.exp: Adjust expected output.
12401 * gdb.threads/schedlock.exp: Adjust expected output.
12402 * gdb.threads/siginfo-threads.exp: Adjust expected output.
12403 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
12404 expected output.
12405 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
12406 output.
12407 * gdb.threads/sigthread.exp: Adjust expected output.
12408 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
12409
b2789696
YQ
124102016-01-18 Yao Qi <yao.qi@linaro.org>
12411
12412 * gdb.guile/scm-section-script.c: Replace @progbits with
12413 %progbits.
12414 * gdb.python/py-section-script.c: Likewise.
12415
71ef29a8
PA
124162016-01-15 Pedro Alves <palves@redhat.com>
12417
12418 * gdb.multi/tids.exp: Test star wildcard ranges.
12419
3f5b7598
PA
124202016-01-15 Pedro Alves <palves@redhat.com>
12421
12422 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
12423 command from "thread apply" invocation.
12424 (thr_apply_info_thr_invalid): Default the expected output to the
12425 input tid list.
12426 (top level): Add tests that use convenience variables. Add tests
12427 for "thread apply" with a valid TID list, but missing the command.
12428
663f6d42
PA
124292016-01-13 Pedro Alves <palves@redhat.com>
12430
12431 * gdb.base/default.exp: Expect $_gthread as well.
12432 * gdb.multi/tids.exp: Test $_gthread.
12433 * gdb.threads/thread-specific.exp: Test $_gthread.
12434
c84f6bbf
PA
124352016-01-13 Pedro Alves <palves@redhat.com>
12436
12437 * gdb.multi/tids.exp: Test "info threads -gid".
12438
22a02324
PA
124392016-01-13 Pedro Alves <palves@redhat.com>
12440
12441 * gdb.multi/tids.exp: Test InferiorThread.global_num and
12442 Breakpoint.thread.
12443 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
12444
5d5658a1
PA
124452016-01-07 Pedro Alves <palves@redhat.com>
12446
12447 * gdb.base/break.exp: Adjust to output changes.
12448 * gdb.base/hbreak2.exp: Likewise.
12449 * gdb.base/sepdebug.exp: Likewise.
12450 * gdb.base/watch_thread_num.exp: Likewise.
12451 * gdb.linespec/keywords.exp: Likewise.
12452 * gdb.multi/info-threads.exp: Likewise.
12453 * gdb.threads/thread-find.exp: Likewise.
12454 * gdb.multi/tids.c: New file.
12455 * gdb.multi/tids.exp: New file.
12456
84654457
PA
124572016-01-13 Pedro Alves <palves@redhat.com>
12458
12459 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
12460
e3940304
PA
124612016-01-13 Pedro Alves <palves@redhat.com>
12462
12463 * gdb.base/default.exp: Expect $_inferior as well.
12464 * gdb.multi/base.exp: Test $_inferior.
12465
a911d87a
PA
124662016-01-13 Pedro Alves <palves@redhat.com>
12467
12468 PR breakpoints/19388
12469 * gdb.base/catch-signal-siginfo-cond.c: New file.
12470 * gdb.base/catch-signal-siginfo-cond.exp: New file.
12471
82075af2
JS
124722016-01-12 Josh Stone <jistone@redhat.com>
12473 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12474
12475 * gdb.base/catch-syscall.c (do_execve): New variable.
12476 (main): Conditionally trigger an execve.
12477 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
12478 (test_catch_syscall_execve): New, check entry/return across execve.
12479 (do_syscall_tests): Call test_catch_syscall_execve.
12480
e46eeedd
PA
124812016-01-12 Pedro Alves <palves@redhat.com>
12482
12483 * gdb.base/random-signal.exp (do_test): New procedure, with body
12484 of testcase moved in.
12485
01d8c27e
JK
124862016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12487 Pedro Alves <palves@redhat.com>
12488
12489 * gdb.base/funcargs.exp (finish from indirectly called function):
12490 Reintroduce the case for 'First'.
12491
9a706302
JK
124922016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12493 Pedro Alves <palves@redhat.com>
12494
12495 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
12496 (tcatch_vfork_then_child_follow_exec)
12497 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
12498 identification.
12499
c0ecb95f
JK
125002016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12501
12502 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
12503 and repeats to unlimited.
12504 * gdb.python/py-value.exp: Likewise.
12505 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
12506 and repeats to unlimited.
12507
6cfc1fcb
JK
125082016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12509
12510 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
12511 and reordering the functions.
12512 * gdb.multi/hangout.c: Likewise.
12513 * gdb.multi/hello.c: Likewise.
12514
582a1b00
SM
125152016-01-08 Simon Marchi <simon.marchi@ericsson.com>
12516
12517 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
12518 absolute.
12519 (SingleStatisticTestResult.report): Use dict.keys instead of
12520 dict.iterkeys.
12521
79bc59cb
PA
125222016-01-06 Pedro Alves <palves@redhat.com>
12523
12524 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
12525
43368e1d
MM
125262016-01-04 Markus Metzger <markus.t.metzger@intel.com>
12527
12528 * gdb.btrace/dlopen.exp: New.
12529 * gdb.btrace/dlopen.c: New.
12530 * gdb.btrace/dlopen-dso.c: New.
12531
79fad5b8
SL
125322015-12-25 Sandra Loosemore <sandra@codesourcery.com>
12533
12534 * lib/gdb.exp (gdb_test): Update comments to clarify that the
12535 PATTERN argument is optional.
12536
ab8314b3
JB
125372015-12-24 Joel Brobecker <brobecker@adacore.com>
12538
12539 * lib/ada.exp (target_compile_ada_from_dir): New function.
12540 (gdb_compile_ada): Reimplement avoiding the use of project files.
12541 * gdb.ada/gnat_ada.gpr: Delete.
12542 * gdb.ada/cond_lang.exp: Adjust test to make path before
12543 filename optional.
12544 * gdb.ada/small_reg_param.exp: Likewise.
12545
fe33faff
SM
125462015-12-22 Simon Marchi <simon.marchi@ericsson.com>
12547
12548 * gdb.base/foll-vork.exp: Remove HP-UX special case.
12549
6d265cb4
TP
125502015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
12551
12552 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
12553 case.
12554
10125099
SM
125552015-12-21 Simon Marchi <simon.marchi@ericsson.com>
12556
12557 * gdb.base/break.exp: Remove dead code.
12558 * gdb.base/sepdebug.exp: Likewise.
12559
3ca22649
SM
125602015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12561
12562 * gdb.asm/asm-source.exp: Remove HP-UX references.
12563 * gdb.base/annota1.exp: Likewise.
12564 * gdb.base/annota3.exp: Likewise.
12565 * gdb.base/attach.exp: Likewise.
12566 * gdb.base/bigcore.exp: Likewise.
12567 * gdb.base/break.exp: Likewise.
12568 * gdb.base/call-ar-st.exp: Likewise.
12569 * gdb.base/callfuncs.exp: Likewise.
12570 * gdb.base/catch-fork-static.exp: Likewise.
12571 * gdb.base/display.exp: Likewise.
12572 * gdb.base/foll-exec-mode.exp: Likewise.
12573 * gdb.base/foll-exec.exp: Likewise.
12574 * gdb.base/foll-fork.exp: Likewise.
12575 * gdb.base/foll-vfork.exp: Likewise.
12576 * gdb.base/funcargs.exp: Likewise.
12577 * gdb.base/hbreak2.exp: Likewise.
12578 * gdb.base/inferior-died.exp: Likewise.
12579 * gdb.base/interrupt.exp: Likewise.
12580 * gdb.base/multi-forks.exp: Likewise.
12581 * gdb.base/nodebug.exp: Likewise.
12582 * gdb.base/sepdebug.exp: Likewise.
12583 * gdb.base/solib1.c: Likewise.
12584 * gdb.base/step-test.exp: Likewise.
12585 * gdb.mi/non-stop.c: Likewise.
12586 * gdb.mi/pthreads.c: Likewise.
12587 * gdb.multi/bkpt-multi-exec.ex: Likewise.
12588 * gdb.threads/pthreads.c: Likewise.
12589 * gdb.threads/staticthreads.exp: Likewise.
12590 * lib/future.exp: Likewise.
12591 * lib/gdb.exp: Likewise.
12592 * gdb.base/so-indr-cl.c: Remove.
12593 * gdb.base/so-indr-cl.exp: Likewise.
12594 * gdb.base/solib.c: Likewise.
12595 * gdb.base/solib.exp: Likewise.
12596 * gdb.base/solib2.c: Likewise.
12597
b6304613
SM
125982015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12599
12600 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
12601 * gdb.base/call-ar-st.exp: Likewise.
12602 * gdb.base/callfuncs.exp: Likewise.
12603 * gdb.base/condbreak.exp: Likewise.
12604 * gdb.base/constvars.exp: Likewise.
12605 * gdb.base/hbreak2.exp: Likewise.
12606 * gdb.base/langs.exp: Likewise.
12607 * gdb.base/list.exp: Likewise.
12608 * gdb.base/long_long.exp: Likewise.
12609 * gdb.base/ptype.exp: Likewise.
12610 * gdb.base/scope.exp: Likewise.
12611 * gdb.base/signals.exp: Likewise.
12612 * gdb.base/so-impl-ld.exp: Likewise.
12613 * gdb.base/varargs.exp: Likewise.
12614 * gdb.base/volatile.exp: Likewise.
12615 * gdb.base/whatis.exp: Likewise.
12616 * gdb.cp/cplusfuncs.exp: Likewise.
12617 * gdb.cp/inherit.exp: Likewise.
12618 * gdb.cp/local.exp: Likewise.
12619 * gdb.cp/member-ptr.exp: Likewise.
12620 * gdb.cp/method.exp: Likewise.
12621 * gdb.cp/overload.exp: Likewise.
12622 * gdb.cp/templates.exp: Likewise.
12623 * gdb.stabs/weird.exp: Likewise.
12624 * lib/compiler.c: Likewise.
12625 * lib/compiler.cc: Likewise.
12626 * lib/cp-support.exp: Likewise.
12627 * lib/gdb.exp: Likewise.
12628
bf401b07
SM
126292015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
12630
12631 * configure.ac: Remove HP-UX case.
12632 * configure: Regenerate.
12633
aff9c0f8
SM
126342015-12-18 Simon Marchi <simon.marchi@ericsson.com>
12635
12636 * lib/gdb.exp (gdb_compile): Add function doc.
12637
a6904d5a
PA
126382015-12-17 Pedro Alves <palves@redhat.com>
12639
12640 PR threads/19354
12641 * gdb.multi/info-threads.exp: New file.
12642
a22279dd
YQ
126432015-12-15 Yao Qi <yao.qi@linaro.org>
12644
12645 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
12646 is aarch64*-*-*.
12647
0588c796
SL
126482015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12649
12650 * gdb.base/history-duplicates.exp: Skip if no readline support.
12651
5d978e17
SL
126522015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12653
12654 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
12655
7e763b86
SL
126562015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12657
12658 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
12659
87a3a92c
SL
126602015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12661
12662 * gdb.base/completion.exp: Skip tests that interrupt GDB with
12663 ctrl-C if nointerrupts target property is set.
12664 * gdb.base/double-prompt-target-event-error.exp: Likewise.
12665 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
12666 * gdb.base/paginate-bg-execution.exp: Likewise.
12667 * gdb.base/paginate-execution-startup.exp: Likewise.
12668 * gdb.base/random-signal.exp: Likewise.
12669 * gdb.base/range-stepping.exp: Likewise.
12670 * gdb.cp/annota2.exp: Likewise.
12671 * gdb.cp/annota3.exp: Likewise.
12672 * gdb.gdb/selftest.exp: Likewise.
12673 * gdb.threads/continue-pending-status.exp: Likewise.
12674 * gdb.threads/leader-exit.exp: Likewise.
12675 * gdb.threads/manythreads.exp: Likewise.
12676 * gdb.threads/pthreads.exp: Likewise.
12677 * gdb.threads/schedlock.exp: Likewise.
12678 * gdb.threads/sigthread.exp: Likewise.
12679
a8f077dc
DB
126802015-12-11 Don Breazeal <donb@codesourcery.com>
12681
12682 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12683 remote.
12684 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12685 * gdb.base/foll-exec.exp (main): Enable for target remote.
12686 * gdb.base/foll-fork.exp (main): Likewise.
12687 * gdb.base/foll-vfork.exp (main): Likewise.
12688 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12689 (proc continue_to_exit_bp_loc): Use clean_restart.
12690 * gdb.base/pie-execl.exp (main): Disable for target remote.
12691 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12692 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12693 * gdb.threads/execl.exp (main): Likewise.
12694 * gdb.threads/fork-child-threads.exp (main): Likewise.
12695 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12696 remote.
12697 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12698 remote.
12699 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12700 pid.tid style ptids, instead of just tid.
12701 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12702 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12703 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12704 ptids, instead of just tid.
12705
3b2464a8
AB
127062015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12707
12708 * gdb.base/list.exp (test_list_forward): Add end of file error
12709 test.
12710 (test_repeat_list_command): Add end of file error test.
12711 (test_list_backwards): Add beginning of file error test.
12712
a0def019
AB
127132015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12714
12715 * gdb.base/list.exp (test_list_invalid_args): New function,
12716 defined, and called.
12717
5c000dff
AB
127182015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12719
12720 * gdb.base/list.exp (test_list): Make test names unique.
12721
f1637ebe
YQ
127222015-12-11 Yao Qi <yao.qi@linaro.org>
12723
12724 * gdb.base/coremaker2.c: Remove.
12725
36d6fc0a
PA
127262015-12-10 Pedro Alves <palves@redhat.com>
12727
12728 * gdb.multi/base.exp: Remove stale "spaces" references.
12729
762f7747
PA
127302015-12-10 Pedro Alves <palves@redhat.com>
12731
12732 * gdb.multi/base.exp: Don't use nowarnings.
12733 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12734 * gdb.multi/hangout.c: Include stdio.h.
12735 * gdb.multi/hello.c: Include stdlib.h.
12736 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12737 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12738 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12739
28d2bfb9
AB
127402015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12741
12742 * gdb.dwarf2/dw2-ranges-base.c: New file.
12743 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12744 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12745 support additional line table, and debug ranges generation.
12746 (Dwarf::ranges): New function, generate .debug_ranges.
12747 (Dwarf::lines): Support generating simple line table programs.
12748 (Dwarf::assemble): Initialise new namespace variables.
12749
5fc2beac
KB
127502015-12-09 Kevin Buettner <kevinb@redhat.com>
12751
12752 * gdb.base/async.exp (proc test_background): Add case for
12753 asynchronous execution not supported.
12754
1c35a88f
LM
127552015-12-09 Luis Machado <lgustavo@codesourcery.com>
12756
12757 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12758 format and change test names to make them unique.
12759
b593e3d9
RK
127602015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12761 Pedro Alves <pedro@redhat.com>
12762
12763 PR gdb/18702
12764 Add checking of floatformats setup on x86_64 hosts.
12765 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12766 (smallval, bigval): New labels/constants.
12767 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12768 float" after loading bigval and smallval.
12769
d72413e6
PMR
127702015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12771
12772 * gdb.ada/fun_overload_menu.exp: New testcase.
12773 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12774
ece66d65
JS
127752015-12-04 Josh Stone <jistone@redhat.com>
12776
12777 * gdb.base/catch-fork-static.exp: New.
12778
41d0efca
YQ
127792015-12-03 Yao Qi <yao.qi@linaro.org>
12780
12781 * gdb.base/sizeof.c: Don't include stdio.h and
12782 ../lib/unbuffer_output.c.
12783 (main): New variable 'size' and 'value'. Remove printf and
12784 gdb_unbuffer_output. Assign return value to size and value.
12785 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12786 at the beginning.
12787 (check_sizeof): Check the result by printing variable 'size'.
12788 (check_valueof): Check the result by printing variable 'value'.
12789
99fd02d9
YQ
127902015-12-01 Yao Qi <yao.qi@linaro.org>
12791
12792 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12793 for aarch64*-*-linux* target.
12794
f2faf941
PA
127952015-11-30 Pedro Alves <palves@redhat.com>
12796
12797 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12798
04bf20c5
PA
127992015-11-30 Pedro Alves <palves@redhat.com>
12800
12801 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12802 Handle non-stop mode vCont replies.
12803
09df4675
PA
128042015-11-30 Pedro Alves <palves@redhat.com>
12805
12806 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12807 prepare_for_testing. Start gdb with "set non-stop on" appended to
12808 GDBFLAGS. Lax expected stop output.
12809
58b584af
YQ
128102015-11-27 Yao Qi <yao.qi@linaro.org>
12811
12812 * gdb.arch/arm-neon.exp: New.
12813 * gdb.arch/arm-neon.c: New.
12814
dfcb77a8
YQ
128152015-11-27 Yao Qi <yao.qi@linaro.org>
12816
12817 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12818
88e8ec1b
YQ
128192015-11-27 Yao Qi <yao.qi@linaro.org>
12820
12821 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12822 frames-invalid annotation.
12823
bfde72c2
YQ
128242015-11-27 Yao Qi <yao.qi@linaro.org>
12825
12826 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12827
f6512a69
SM
128282015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12829
12830 * gdb.threads/names.exp: New file.
12831 * gdb.threads/names.c: New file.
12832 * README: Mention gdb,no_thread_names.
12833
46a3515b
MM
128342015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12835
12836 PR 19297
12837 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12838 support" error.
12839
62147a22
PA
128402015-11-24 Pedro Alves <palves@redhat.com>
12841
12842 PR 17539
12843 * gdb.base/display.exp: Expect displays to be sorted in ascending
12844 order. Use multi_line.
12845 * gdb.base/solib-display.exp: Likewise.
12846
2f341b6e
PA
128472015-11-24 Pedro Alves <palves@redhat.com>
12848
12849 PR 17539
25d49b86
PA
12850 * gdb.base/display.exp: Expect displays to be sorted in ascending
12851 order. Use multi_line.
12852 * gdb.base/solib-display.exp: Likewise.
2f341b6e 12853
7e0aa6aa
PA
128542015-11-24 Pedro Alves <palves@redhat.com>
12855
12856 PR 17539
12857 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12858 threads in ascending order.
12859 * gdb.base/foll-fork.exp: Likewise.
12860 * gdb.base/foll-vfork.exp: Likewise.
12861 * gdb.base/multi-forks.exp: Likewise.
12862 * gdb.mi/mi-nonstop.exp: Likewise.
12863 * gdb.mi/mi-nsintrall.exp: Likewise.
12864 * gdb.multi/base.exp: Likewise.
12865 * gdb.multi/multi-arch.exp: Likewise.
12866 * gdb.python/py-inferior.exp: Likewise.
12867 * gdb.threads/break-while-running.exp: Likewise.
12868 * gdb.threads/execl.exp: Likewise.
12869 * gdb.threads/gcore-thread.exp: Likewise.
12870 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12871 * gdb.threads/kill.exp: Likewise.
12872 * gdb.threads/linux-dp.exp: Likewise.
12873 * gdb.threads/multiple-step-overs.exp: Likewise.
12874 * gdb.threads/next-bp-other-thread.exp: Likewise.
12875 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12876 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12877 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12878 * gdb.threads/thread-find.exp: Likewise.
12879 * gdb.threads/tls.exp: Likewise.
12880 * lib/mi-support.exp (mi_reverse_list): Delete.
12881 (mi_check_thread_states): No longer reverse list.
12882
2cc57ad8
PA
128832015-11-24 Pedro Alves <palves@redhat.com>
12884
12885 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12886 use lowercase.
12887
c93e8391
SM
128882015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12889
12890 * gdb.trace/actions.c: Include trace-common.h.
12891 (main): Add a location for a fast tracepoint.
12892 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12893 the normal tracepoints.
12894 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12895
045ccf91
SM
128962015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12897
12898 * save-trace.exp: Factor out code to these...
12899 (gdb_save_tracepoints): New.
12900 (gdb_load_tracepoints): New.
12901 (do_save_load_test): New.
12902
5506f9f6
KB
129032015-11-23 Kevin Buettner <kevinb@redhat.com>
12904
12905 * gdb.base/asmlabel.exp: New test.
12906 * gdb.base/asmlabel.c: New test case.
12907
16c3b12f
JB
129082015-11-23 Joel Brobecker <brobecker@adacore.com>
12909
12910 * gdb.base/wrong_frame_bt_full-main.c: New file.
12911 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12912 * gdb.base/wrong_frame_bt_full.exp: New file.
12913
155bfbd3
JB
129142015-11-23 Joel Brobecker <brobecker@adacore.com>
12915
12916 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12917
bb097445
JM
129182015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12919
206853a0 12920 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
12921 pstate register when comparing registers values in
12922 sparc64-*-linux-gnu targets to avoid spurious differences.
12923
9c88ed8f
JM
129242015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12925
206853a0 12926 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 12927
96161e25
SL
129282015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12929
12930 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12931 as type argument to gdb_compile.
12932 * gdb.base/nested-subp2.exp: Likewise.
12933 * gdb.base/nested-subp3.exp: Likewise.
12934
340c2830
DV
129352015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12936
12937 * lib/dwarf.exp (_note): Fix left shift of negative value.
12938 * gdb.trace/trace-condition.exp: Likewise.
12939
c1862d0f
YQ
129402015-11-13 Yao Qi <yao.qi@linaro.org>
12941
12942 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12943 comments about d10v.
12944 (test_scalar_returns): Likewise.
12945 * gdb.base/d10v.ld: Remove.
12946 * gdb.base/overlays.exp: Remove the target triplet checking for
12947 d10v-*-*.
12948 * gdb.base/structs.exp (test_struct_returns): Remove the
12949 comments about d10v.
12950 (test_struct_calls): Likewise.
12951
77ae9c19
YQ
129522015-11-13 Yao Qi <yao.qi@linaro.org>
12953
12954 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12955 * gdb.base/gnu_vector.c: Don't include stdio.h.
12956 (main): Don't print res and call add_some_intvecs.
12957
430e004e
MK
129582015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12959
12960 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12961 macro.
12962 (func5): Removed.
12963 (func4): Use FAST_TRACEPOINT_LABEL.
12964 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12965 macro.
12966 (func): Removed.
12967 (thread_function): Use FAST_TRACEPOINT_LABEL.
12968 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12969 (func): Remove.
12970 (marker): Use FAST_TRACEPOINT_LABEL.
12971 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12972 (pendfunc1): Remove.
12973 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12974 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12975 (foo): Remove.
12976 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12977 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12978 macro.
12979 (func): Remove.
12980 (marker): Use FAST_TRACEPOINT_LABEL.
12981 * gdb.trace/trace-common.h: New header.
12982 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12983 macro.
12984 (func): Remove.
12985 (marker): Use FAST_TRACEPOINT_LABEL.
12986 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12987 (func): Remove.
12988 (thread_function): Use FAST_TRACEPOINT_LABEL.
12989
6e7675a7
MK
129902015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12991
12992 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12993 in front.
12994 * gdb.trace/change-loc.exp: Use global pcreg definition.
12995 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12996 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12997 in front.
12998 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12999 * gdb.trace/pending.exp: Likewise.
13000 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
13001 * gdb.trace/trace-break.exp: Likewise.
13002 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
13003 in front.
13004 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
13005 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
13006 in front.
13007 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
13008
dddc0e16
JB
130092015-11-09 Joel Brobecker <brobecker@adacore.com>
13010
13011 * gdb.ada/fin_fun_out: New testcase.
13012
c6f0b406
KB
130132015-11-07 Kevin Buettner <kevinb@redhat.com>
13014
13015 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
13016 value associated with DW_AT_byte_size.
13017 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
13018 constants for DW_AT_byte_size, DW_AT_lower_bound, and
13019 DW_AT_upper_bound.
13020
f01dcfd9
KB
130212015-11-07 Kevin Buettner <kevinb@redhat.com>
13022
13023 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
13024 (gdb_target_symbol_prefix_flags): Define in terms of _asm
13025 version.
13026 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
13027 gdb.dwarf2/dw2-canonicalize-type.exp,
13028 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
13029 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
13030 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
13031 provided by gdb_target_symbol_prefix_flags_asm.
13032 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
13033 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
13034 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
13035 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
13036 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
13037 macros where needed). Use this macro for symbols which require
13038 the prefix provided by SYMBOL_PREFIX.
13039
2223449a
KB
130402015-11-05 Kevin Buettner <kevinb@redhat.com>
13041
13042 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
13043 New procs.
13044 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
13045 representing expressions, of more than one list element.
13046 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
13047 to prepend linker symbol prefix to f.
13048 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
13049 table_1 and table_2.
13050 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
13051 Likewise, for f and g.
13052 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
13053 for ptr.
13054 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
13055 for main.
13056 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
13057 table_1_ptr and table_2_ptr.
13058
6f2f1a3a
JK
130592015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13060 Joel Brobecker <brobecker@adacore.com>
13061
13062 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
13063
566c56c9
MK
130642015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
13065
13066 * gdb.reverse/s390-mvcle.c: New test.
13067 * gdb.reverse/s390-mvcle.exp: New file.
13068 * lib/gdb.exp: Enable reverse tests on s390*-linux.
13069
d5f0636b
MK
130702015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13071
13072 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
13073
7ad8b86c
MK
130742015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13075
13076 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
13077 reaching marker2.
13078 * gdb.reverse/getresuid-reverse.exp: Likewise.
13079 * gdb.reverse/pipe-reverse.exp: Likewise.
13080 * gdb.reverse/readv-reverse.exp: Likewise.
13081 * gdb.reverse/recvmsg-reverse.exp: Likewise.
13082 * gdb.reverse/time-reverse.exp: Likewise.
13083 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
13084
4081c0f1
YQ
130852015-10-30 Yao Qi <yao.qi@linaro.org>
13086
13087 * gdb.threads/wp-replication.c (watch_count_done): Remove.
13088 (empty_cycle): Remove.
13089 (main): Don't call empty_cycle. Don't use watch_count_done.
13090 * gdb.threads/wp-replication.exp: Don't set breakpoint on
13091 empty_cycle. Rewrite the code counting HW watchpoints.
13092
452b4ba5
MK
130932015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
13094
13095 * gdb.reverse/fstatat-reverse.c: New test.
13096 * gdb.reverse/fstatat-reverse.exp: New file.
13097 * gdb.reverse/getresuid-reverse.c: New test.
13098 * gdb.reverse/getresuid-reverse.exp: New file.
13099 * gdb.reverse/pipe-reverse.c: New test.
13100 * gdb.reverse/pipe-reverse.exp: New file.
13101 * gdb.reverse/readv-reverse.c: New test.
13102 * gdb.reverse/readv-reverse.exp: New file.
13103 * gdb.reverse/recvmsg-reverse.c: New test.
13104 * gdb.reverse/recvmsg-reverse.exp: New file.
13105 * gdb.reverse/time-reverse.c: New test.
13106 * gdb.reverse/time-reverse.exp: New file.
13107 * gdb.reverse/waitpid-reverse.c: New test.
13108 * gdb.reverse/waitpid-reverse.exp: New file.
13109
5e2e7507
JK
131102015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13111
13112 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
13113
0fde2c53
DE
131142015-10-26 Doug Evans <dje@google.com>
13115
13116 PR symtab/17391
13117 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
13118 * gdb.dwarf2/bad-regnum.c: New file.
13119 * gdb.dwarf2/bad-regnum.exp: New file.
13120
1a70ae97
DE
131212015-10-26 Doug Evans <dje@google.com>
13122
13123 PR python/18938
13124 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
13125 file.
13126
27dc26ab
JK
131272015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13128
13129 * gdb.compile/compile.exp (compile code globalvar): Update expectation
13130 for a change by "Mention language in compile error message".
13131
bed91f4d
SM
131322015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
13133
13134 PR python/18073
13135 * gdb.python/py-type.c (C::a_method): New.
13136 (C::a_const_method): New.
13137 (C::a_static_method): New.
13138 (a_function): New.
13139 * gdb.python/py-type.exp (test_fields): Test getting fields
13140 from function and method.
13141
3f2f83dd
KB
131422015-10-21 Keven Boell <keven.boell@intel.com>
13143
13144 * gdb.fortran/vla-alloc-assoc.exp: New file.
13145 * gdb.fortran/vla-datatypes.exp: New file.
13146 * gdb.fortran/vla-datatypes.f90: New file.
13147 * gdb.fortran/vla-history.exp: New file.
13148 * gdb.fortran/vla-ptype-sub.exp: New file.
13149 * gdb.fortran/vla-ptype.exp: New file.
13150 * gdb.fortran/vla-sizeof.exp: New file.
13151 * gdb.fortran/vla-sub.f90: New file.
13152 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
13153 * gdb.fortran/vla-value-sub-finish.exp: New file.
13154 * gdb.fortran/vla-value-sub.exp: New file.
13155 * gdb.fortran/vla-value.exp: New file.
13156 * gdb.fortran/vla-ptr-info.exp: New file.
13157 * gdb.mi/mi-vla-fortran.exp: New file.
13158 * gdb.mi/vla.f90: New file.
13159
27145d50
SL
131602015-10-21 Sandra Loosemore <sandra@codesourcery.com>
13161
13162 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
13163 of hardwired timeout value.
13164
5f3ff4f8
JK
131652015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13166 Pedro Alves <palves@redhat.com>
13167
13168 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
13169 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
13170
bfd09d20
JS
131712015-10-19 Josh Stone <jistone@redhat.com>
13172
13173 * gdb.base/catch-syscall.c: Include <sched.h>.
13174 (unknown_syscall): New variable.
13175 (main): Trigger a vfork and an unknown syscall.
13176 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
13177 (unknown_syscall_number): Likewise.
13178 (check_call_to_syscall): Accept an optional syscall pattern.
13179 (check_return_from_syscall): Likewise.
13180 (check_continue): Likewise.
13181 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
13182 (test_catch_syscall_skipping_return): New test toggling off 'catch
13183 syscall' to step over the syscall return, then toggling back on.
13184 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
13185 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
13186 (do_syscall_tests): Call test_catch_syscall_without_args and
13187 test_catch_syscall_mid_vfork.
13188 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
13189 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
13190
b32b93c6
AS
131912015-10-19 Andrew Stubbs <ams@codesourcery.com>
13192
13193 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
13194 print g_vE): Add new pass patterns.
13195 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
13196 print various symbol names for vptr fields.
13197
9d622bda
AB
131982015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
13199
13200 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
13201 results.
13202
0fd8ac1c
YQ
132032015-10-12 Yao Qi <yao.qi@linaro.org>
13204
13205 * gdb.arch/disp-step-insn-reloc.exp: New test case.
13206
34240514
YQ
132072015-10-12 Yao Qi <yao.qi@linaro.org>
13208
13209 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
13210 is aarch64*-*-linux*.
13211
8240f442
YQ
132122015-10-12 Yao Qi <yao.qi@linaro.org>
13213
13214 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
13215 (can_relocate_bcond_true): ... it.
13216 (can_relocate_bcond_false): New function.
13217 (foo): Likewise.
13218 (can_relocate_bl): Likewise.
13219 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
13220 can_relocate_bl.
13221
2520f728
PMR
132222015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
13223
13224 * gdb.base/nested-addr.c: New file.
13225 * gdb.base/nested-addr.exp: New testcase.
13226
abcef95a
MM
132272015-10-09 Markus Metzger <markus.t.metzger@intel.com>
13228
13229 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
13230 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
13231 its output. Ignore the output of "record goto begin" and instead
13232 check that GDB is replaying.
13233
145e3ddb
PA
132342015-10-09 Pedro Alves <palves@redhat.com>
13235
13236 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
13237 (top level): Use it in the run with no args test.
13238
d5d8c4e1
IB
132392015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
13240
13241 * gdb.dlang/properties.exp: New file.
13242
06e635ef
SL
132432015-10-02 Sandra Loosemore <sandra@codesourcery.com>
13244
13245 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
13246 whether or not address 0x1000 is mapped on the target.
13247
e019fd1d
SM
132482015-09-30 Simon Marchi <simon.marchi@ericsson.com>
13249
13250 * gdb.python/py-type.exp: Do not run tests if binaries fail to
13251 build.
13252
77ba2a67
MM
132532015-09-30 Markus Metzger <markus.t.metzger@intel.com>
13254
13255 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
13256 instruction-history test.
13257
c60eb31f
DE
132582015-09-28 Doug Evans <dje@google.com>
13259
13260 * gdb.base/gcore.c (array_func): Add reference to static_array.
13261
9a3c8263
SM
132622015-09-25 Simon Marchi <simon.marchi@ericsson.com>
13263
13264 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
13265 source line.
13266
9720e656
SL
132672015-09-24 Sandra Loosemore <sandra@codesourcery.com>
13268
13269 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
13270 short or char as base type.
13271
938d3bf2
SL
132722015-09-23 Sandra Loosemore <sandra@codesourcery.com>
13273
13274 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
13275 to allow any size enum.
13276
e6c2c623
PMR
132772015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
13278
13279 * gdb.ada/array_ptr_renaming.exp: New testcase.
13280 * gdb.ada/array_ptr_renaming/foo.adb: New file.
13281 * gdb.ada/array_ptr_renaming/pack.ads: New file.
13282
06da0f77
PL
132832015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13284
13285 * gdb.trace/ftrace-lock.c: New file.
13286 * gdb.trace/ftrace-lock.exp: New file.
13287
4f51c22a
PL
132882015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13289
13290 * gdb.arch/insn-reloc.c: New file.
13291 * gdb.arch/ftrace-insn-reloc.exp: New file.
13292
7041adf4
PL
132932015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13294
13295 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
13296 instruction.
13297 * gdb.trace/pendshr1.c (pendfunc): Likewise.
13298 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
13299 * gdb.trace/range-stepping.c: Likewise.
13300 * gdb.trace/trace-break.c: Likewise.
13301 * gdb.trace/trace-mt.c (thread_function): Likewise.
13302 * gdb.trace/ftrace.c (marker): Likewise.
13303 * gdb.trace/trace-condition.c (marker): Likewise.
13304 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
13305 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
13306 is_aarch64_target.
13307
015d2e7e
DE
133082015-09-18 Doug Evans <xdje42@gmail.com>
13309
13310 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
13311 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
13312
26b188a2
SL
133132015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13314
13315 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
13316 the breakpoint.
13317
79dc332b
SL
133182015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13319
13320 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
13321 the pending breakpoint. Remove timeout override for "Run till
13322 MI pending breakpoint on pendfunc3 on thread 2" test.
13323
f57929f2
SL
133242015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13325
13326 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
13327 filename pattern.
13328
3f469b17
SL
133292015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13330
13331 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
13332 in breakpoint filename pattern.
13333
515b89b3
SL
133342015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13335
7800dbe4
SL
13336 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
13337
133382015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13339
515b89b3
SL
13340 * gdb.linespec/explicit.exp: Check for readline support for
13341 tab-completion tests. Fix obvious typo.
13342
d2939ba2
MM
133432015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13344
13345 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
13346 and replay.
13347
cbb55fa7
MM
133482015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13349
13350 * gdb.btrace/non-stop.c: New.
13351 * gdb.btrace/non-stop.exp: New.
13352
43691ca1
PL
133532015-09-17 Pierre Langlois <pierre.langlois@arm.com>
13354 Yao Qi <yao.qi@linaro.org>
13355
13356 * gdb.trace/trace-condition.c: New file.
13357 * gdb.trace/trace-condition.exp: New file.
13358
d78908cf
WW
133592015-09-16 Wei-cheng Wang <cole945@gmail.com>
13360
13361 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
13362 for testing bytecode compilation.
13363
1ed415e2
PA
133642015-09-16 Pedro Alves <palves@redhat.com>
13365 Sandra Loosemore <sandra@codesourcery.com>
13366
13367 * gdb.threads/non-stop-fair-events.c (timeout): New global.
13368 (SECONDS): Redefine.
13369 (main): Call pthread_kill and alarm early.
13370 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
13371 support.
13372 (test): If the target can't hardware step and doesn't support
13373 displaced stepping, increase the timeout.
13374
d136eff5
PA
133752015-09-16 Pedro Alves <palves@redhat.com>
13376
13377 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
13378 (enable_debug): New procedures.
13379 (test): Use them. Bail out if waiting for threads fails.
13380 (top level): Bail out if a test fails.
13381
991f019c
YQ
133822015-09-16 Yao Qi <yao.qi@linaro.org>
13383
13384 * gdb.asm/asm-source.exp: Set asm-arch for
13385 aarch64*-*-* target.
13386 * gdb.asm/aarch64.inc: New file.
13387
bfca584f
PMR
133882015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
13389
13390 * gdb.ada/array_of_variable_length.exp: New testcase.
13391 * gdb.ada/array_of_variable_length/foo.adb: New file.
13392 * gdb.ada/array_of_variable_length/pck.adb: New file.
13393 * gdb.ada/array_of_variable_length/pck.ads: New file.
13394
b326e587
DE
133952015-09-15 Doug Evans <dje@google.com>
13396
13397 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
13398 of function static local variable.
13399
5382cfab
PW
134002015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13401
13402 * gdb.threads/tls-so_extern.exp: New test file.
13403 * gdb.threads/tls-so_extern.c: New test file.
13404 * gdb.threads/tls-so_extern_main.c: New test file.
13405
141c5cc4
JK
134062015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13407
13408 * gdb.opt/solib-intra-step-lib.c: New file.
13409 * gdb.opt/solib-intra-step-main.c: New file.
13410 * gdb.opt/solib-intra-step.exp: New file.
13411
d15dcecd
PA
134122015-09-15 Pedro Alves <palves@redhat.com>
13413
13414 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
13415 gdb_continue_to_breakpoint instead of gdb_test_multiple.
13416
4c2f2a79
PA
134172015-09-14 Pedro Alves <palves@redhat.com>
13418
13419 * gdb.base/hook-stop-continue.c: Delete.
13420 * gdb.base/hook-stop-continue.exp: Delete.
13421 * gdb.base/hook-stop-frame.c: Delete.
13422 * gdb.base/hook-stop-frame.exp: Delete.
13423 * gdb.base/hook-stop.c: New file.
13424 * gdb.base/hook-stop.exp: New file.
13425
919e6dbe
PMR
134262015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
13427
13428 * gdb.ada/access_to_packed_array.exp: New testcase.
13429 * gdb.ada/access_to_packed_array/foo.adb: New file.
13430 * gdb.ada/access_to_packed_array/pack.adb: New file.
13431 * gdb.ada/access_to_packed_array/pack.ads: New file.
13432
157280a4
MM
134332015-09-14 Markus Metzger <markus.t.metzger@intel.com>
13434
13435 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
13436 buffer size test.
13437
2fd33e94
DB
134382015-09-11 Don Breazeal <donb@codesourcery.com>
13439
13440 * gdb.base/foll-exec.c: Add copyright header. Fix
13441 formatting issues.
13442 * gdb.base/foll-exec.exp (zap_session): Delete proc.
13443 (do_exec_tests): Use clean_restart in place of zap_session,
13444 and for test initialization. Fix formatting issues. Use
13445 fail in place of perror.
13446 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
13447 an expect statement to match an expression with output from
13448 the program under debug.
13449 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
13450 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
13451 * gdb.threads/non-ldr-exc-2.exp: Likewise.
13452 * gdb.threads/non-ldr-exc-3.exp: Likewise.
13453 * gdb.threads/non-ldr-exc-4.exp: Likewise.
13454
e70b6e8e
DE
134552015-09-09 Doug Evans <dje@google.com>
13456
13457 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
13458
7a551a51
DE
134592015-09-09 Doug Evans <dje@google.com>
13460
13461 * gdb.base/pie-execl.exp: Fix result test of build_executable.
13462
4c666f84
DE
134632015-09-09 Doug Evans <dje@google.com>
13464
13465 * gdb.base/savedregs.exp: Fix typo.
13466
243a9253
PA
134672015-09-09 Pedro Alves <palves@redhat.com>
13468
13469 * gdb.mi/mi-cli.exp: Add CLI finish tests.
13470
c0fa8fbd
SL
134712015-09-08 Sandra Loosemore <sandra@codesourcery.com>
13472
13473 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
13474 command actually switches threads. Give up on remaining
13475 tests if target fails to stop at breakpoint.
13476
cd7c1778
PMR
134772015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
13478
13479 * gdb.ada/funcall_char.exp: New testcase.
13480 * gdb.ada/funcall_char/foo.adb: New file.
13481
dc5c8746
PMR
134822015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
13483
13484 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
13485 expected outputs. Add two testcases for completing ambiguous
13486 functions.
13487 * gdb.ada/complete/aux_pck.adb: New file.
13488 * gdb.ada/complete/aux_pck.ads: New file.
13489 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
13490 Ambiguous_Func functions.
13491 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
13492 * gdb.ada/complete/pck.adb: Likewise.
13493
4e83a1e7
UW
134942015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
13495
13496 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
13497 failures to run the test program under GDB.
13498
8ce74153
LM
134992015-08-26 Luis Machado <lgustavo@codesourcery.com>
13500
13501 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
13502 to C.
13503
e9756d52
PP
135042015-08-26 Patrick Palka <patrick@parcs.ath.cx>
13505
13506 * gdb.base/run-after-attach.exp: New test file.
13507 * gdb.base/run-after-attach.c: New test file.
13508
8d37573b
DB
135092015-08-26 Don Breazeal <donb@codesourcery.com>
13510
13511 * gdb.base/foll-exec-2.c: New test program.
13512 * gdb.base/foll-exec-2.exp: New test.
13513
63e43d3a
PMR
135142015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
13515
13516 * gdb.base/nested-subp1.exp: New file.
13517 * gdb.base/nested-subp1.c: New file.
13518 * gdb.base/nested-subp2.exp: New file.
13519 * gdb.base/nested-subp2.c: New file.
13520 * gdb.base/nested-subp3.exp: New file.
13521 * gdb.base/nested-subp3.c: New file.
13522
3d40fbb5
PA
135232015-08-24 Pedro Alves <palves@redhat.com>
13524
13525 * gdb.server/connect-without-multi-process.c: New file.
13526 * gdb.server/connect-without-multi-process.exp: New file.
13527
4422ac93
LM
135282015-08-24 Luis Machado <lgustavo@codesourcery.com>
13529
13530 * gdb.opt/inline-markers.c: Make z int.
13531
91dddb86
LM
135322015-08-24 Luis Machado <lgustavo@codesourcery.com>
13533
13534 * gdb.opt/inline-markers.c: Make z volatile.
13535
a48847ee
LM
135362015-08-24 Luis Machado <lgustavo@codesourcery.com>
13537
13538 * gdb.opt/inline-bt.c: New volatile global z.
13539 * gdb.opt/inline-cmds.c: Likewise.
13540 * gdb.opt/inline-locals.c: Likewise.
13541 * gdb.opt/inline-markers.c: New extern global z.
13542 (marker): Use z.
13543 (inline_fn): Likewise.
13544
0ebbc52b
PA
135452015-08-24 Pedro Alves <palves@redhat.com>
13546
13547 * config/m32r-stub.exp: Remove file.
13548 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
13549 * gdb.base/call-rt-st.exp: Likewise.
13550 * gdb.base/call-strs.exp: Likewise.
13551 * gdb.base/default.exp: Remove references to h8300-*-hms and
13552 *-*-udi*.
13553 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
13554
77c365df
AA
135552015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13556
13557 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
13558 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
13559 and "return" use KFAIL when GDB can not read/write the vector
13560 return value.
13561
4313b8c0
GB
135622015-08-21 Gary Benson <gbenson@redhat.com>
13563
13564 * gdb.trace/pending.exp: Cope with remote transfer warnings.
13565
0e433b32
PA
135662015-08-20 Pedro Alves <palves@redhat.com>
13567
13568 * gdb.server/solib-list.exp: No longer expect an interior stop in
13569 non-stop mode.
13570
221e1a37
PA
135712015-08-20 Pedro Alves <palves@redhat.com>
13572
13573 * gdb.server/connect-stopped-target.c: New file.
13574 * gdb.server/connect-stopped-target.exp: New file.
13575
40e3ad0e
PA
135762015-08-20 Pedro Alves <palves@redhat.com>
13577
13578 * gdb.dwarf2/comp-unit-lang.exp: New file.
13579 * gdb.dwarf2/comp-unit-lang.c: New file.
13580
af39b327
PMR
135812015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
13582
13583 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
13584 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
13585
7d45c7c3 135862015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 13587
7d45c7c3
KB
13588 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
13589 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
13590
4d6cceb4
DE
135912015-08-18 Doug Evans <dje@google.com>
13592 Adrian Sendroiu <adrian.sendroiu@freescale.com>
13593
13594 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
13595 skip_python_tests. New arg prompt_regexp.
13596 (skip_python_tests): New function.
13597 * lib/mi-support.exp (mi_skip_python_tests): New function.
13598 * gdb.python/py-mi-objfile-gdb.py: New file.
13599 * gdb.python/py-mi-objfile.c: New file.
13600 * gdb.python/py-mi-objfile.exp: New file.
13601
ad89c2aa
KS
136022015-08-17 Keith Seitz <keiths@redhat.com>
13603
13604 * gdb.linespec/explicit.exp: Move strace test from here ...
13605 * gdb.trace/strace.exp: ... to here.
13606
e3ae3c43
PP
136072015-08-15 Patrick Palka <patrick@parcs.ath.cx>
13608
13609 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
13610 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
13611
604b2636
DE
136122015-08-14 Doug Evans <xdje42@gmail.com>
13613
13614 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
13615 inferior before selecting a new file.
13616
6ff0ba5f
DE
136172015-08-14 Doug Evans <xdje42@gmail.com>
13618
13619 * gdb.mi/mi-disassemble.exp: Update.
13620 * gdb.base/disasm-optim.S: New file.
13621 * gdb.base/disasm-optim.c: New file.
13622 * gdb.base/disasm-optim.h: New file.
13623 * gdb.base/disasm-optim.exp: New file.
13624
9ca98f92
KS
136252015-08-14 Keith Seitz <keiths@redhat.com>
13626
13627 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
13628 "evaluated-by".
13629
52bbc560
JB
136302015-08-13 Joel Brobecker <brobecker@adacore.com>
13631
13632 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
13633
5d8c3ed3
PMR
136342015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
13635
13636 * gdb.ada/fun_renaming.exp: New testcase.
13637 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
13638 * gdb.ada/fun_renaming/pack.adb: New file.
13639 * gdb.ada/fun_renaming/pack.ads: New file.
13640
ea8812bc
KS
136412015-08-12 Keith Seitz <keiths@redhat.com>
13642
13643 * gdb.base/dso2dso.exp: Pass basename of source file in call to
13644 gdb_get_line_number.
13645
4dafcdeb
JB
136462015-08-12 Joel Brobecker <brobecker@adacore.com>
13647
13648 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
13649 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
13650 gdb.base/dso2dso.exp: New files.
13651
5ba32597
SDJ
136522015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
13653 Pedro Alves <palves@redhat.com>
13654 Keith Seitz <keiths@redhat.com>
13655
13656 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
13657 GDBFLAGS.
13658
b6dafabf
PP
136592015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13660
13661 * gdb.base/gdbhistsize-history.exp
13662 (test_histsize_history_setting): Use save_vars.
13663 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13664 Use save_vars.
13665 (test_no_truncation_of_unlimited_history_file): Use save_vars.
13666 * gdb.base/readline.exp: Use save_vars.
13667
abe8e607
PP
136682015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13669
13670 * lib/gdb.exp (save_vars): New proc.
13671
629500fa
KS
136722015-08-11 Keith Seitz <keiths@redhat.com>
13673
13674 * gdb.base/help.exp: Update help_breakpoint_text.
13675
eb8c4e2e
KS
136762015-08-11 Keith Seitz <keiths@redhat.com>
13677
13678 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13679 (at toplevel): Call test_explicit_breakpoints.
13680 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13681 breakpoints.
13682 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13683 breakpoint conditions, "-cond".
13684
87f0e720
KS
136852015-08-11 Keith Seitz <keiths@redhat.com>
13686
13687 * gdb.linespec/3explicit.c: New file.
13688 * gdb.linespec/cpexplicit.cc: New file.
13689 * gdb.linespec/cpexplicit.exp: New file.
13690 * gdb.linespec/explicit.c: New file.
13691 * gdb.linespec/explicit.exp: New file.
13692 * gdb.linespec/explicit2.c: New file.
13693 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13694 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13695 before using in the matching pattern.
13696 Clarify that `prefix' is a regular expression.
13697
f00aae0f
KS
136982015-08-11 Keith Seitz <keiths@redhat.com>
13699
13700 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13701 test.
13702 Add tests for missing ",FMT" and ",".
13703
e27852be
DE
137042015-08-10 Doug Evans <dje@google.com>
13705 Keith Seitz <keiths@redhat.com>
13706
13707 PR gdb/17960
13708 * gdb.base/completion.exp: Add location completer tests.
13709
7f03bd92
PA
137102015-08-07 Pedro Alves <palves@redhat.com>
13711
13712 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13713 tests here.
13714 (top level): Run do_test with and without displaced stepping.
13715
3fc8eb30
PA
137162015-08-07 Pedro Alves <palves@redhat.com>
13717
13718 * gdb.base/valgrind-disp-step.c: New file.
13719 * gdb.base/valgrind-disp-step.exp: New file.
13720
d4569d7b
PA
137212015-08-07 Pedro Alves <palves@redhat.com>
13722
13723 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13724 Delete function.
13725 (main): Add alarm. Run an infinite loop instead of calling
13726 wait_threads.
13727 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13728 comment.
13729 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13730 Delete function.
13731 (main): Add alarm. Run an infinite loop instead of calling
13732 wait_threads.
13733 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13734 comment.
13735
e1316e60
PA
137362015-08-07 Pedro Alves <palves@redhat.com>
13737
13738 * gdb.base/checkpoint-ns.exp: New file.
13739 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13740 standard_testfile.
13741
da8c46d2
MM
137422015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13743
13744 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13745 * gdb.btrace/instruction_history.exp: Update.
13746 * gdb.btrace/tsx.exp: New.
13747 * gdb.btrace/tsx.c: New.
13748
de1c2c52
PA
137492015-08-06 Pedro Alves <palves@redhat.com>
13750
13751 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13752 increase timeout.
13753 * gdb.reverse/until-precsave.exp: Bump timeouts.
13754
782e0bf4
PA
137552015-08-06 Pedro Alves <palves@redhat.com>
13756
13757 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13758
83e97ed0
PA
137592015-08-06 Pedro Alves <palves@redhat.com>
13760
13761 PR gdb/18749
13762 * gdb.threads/process-dies-while-handling-bp.c: New file.
13763 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13764
863d01bd
PA
137652015-08-06 Pedro Alves <palves@redhat.com>
13766
13767 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13768 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13769
0a39bb32
PA
137702015-08-05 Pedro Alves <palves@redhat.com>
13771
13772 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13773 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13774
ee2d2b10
SL
137752015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13776
13777 * gdb.base/bp-permanent.exp: Report test as unsupported if
13778 the target cannot stop at the permanent breakpoint.
13779
4e1bdb00
DE
137802015-08-03 Doug Evans <dje@google.com>
13781
13782 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13783 10000.
13784
3d338901
DE
137852015-08-03 Doug Evans <dje@google.com>
13786
13787 * Makefile.in (workers/%.worker, build-perf): New rule.
13788 (GDB_PERFTEST_MODE): New variable.
13789 (check-perf): Use it.
13790 (clean): Clean up gdb.perf parallel build subdirs.
13791 * lib/build-piece.exp: New file.
13792 * lib/gdb.exp (make_gdb_parallel_path): New function
13793 (standard_output_file, standard_temp_file): Call it.
13794 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13795 of $GDB_PARALLEL.
13796 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13797
af061d3e
DE
137982015-08-03 Doug Evans <dje@google.com>
13799
8e1afc81 13800 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
13801 (LOG_FILE_NAME): New global.
13802 (TextReporter.__init__): Initialize self.txt_sum.
13803 (TextReporter.report): Add support for multiple data-points.
13804 Move report to perftest.sum, put raw data in perftest.log.
13805 (TextReporter.start): Open sum and log files.
13806 (TextReporter.end): Close sum and log files.
8e1afc81
DE
13807 * gdb.perf/lib/perftest/testresult.py
13808 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 13809
2c8c5d37
PA
138102015-07-31 Pedro Alves <palves@redhat.com>
13811
13812 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13813 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13814 kill_wait_spawned_process instead of explicit "kill -9".
13815 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13816 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13817 kill_wait_spawned_process.
13818 * gdb.base/attach-twice.exp: Likewise.
13819 * gdb.base/attach.exp: Likewise.
13820 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13821 gdb_test_multiple.
13822 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13823 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13824 kill_wait_spawned_process.
13825 * gdb.base/valgrind-infcall.exp: Likewise.
13826 * gdb.multi/multi-attach.exp: Likewise.
13827 * gdb.python/py-prompt.exp: Likewise.
13828 * gdb.python/py-sync-interp.exp: Likewise.
13829 * gdb.server/ext-attach.exp: Likewise.
13830 * gdb.threads/attach-into-signal.exp (corefunc): Use
13831 spawn_wait_for_attach, spawn_id_get_pid and
13832 kill_wait_spawned_process.
13833 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13834 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13835 spawn_id_get_pid and kill_wait_spawned_process.
13836 * gdb.threads/attach-stopped.exp (corefunc): Use
13837 spawn_wait_for_attach, spawn_id_get_pid and
13838 kill_wait_spawned_process.
13839 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13840 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13841 kill_wait_spawned_process instead of explicit "kill -9".
13842 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13843 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13844 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13845 processes. Don't map cygwin/windows pids here. Now returns a
13846 spawn id list.
13847
032a0fca
SL
138482015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13849
13850 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13851 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13852 correct patch.
13853
61a934ca
SL
138542015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13855
13856 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13857
4bc4d428
SL
138582015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13859
13860 Reapply:
13861 2014-05-21 Mark Wielaard <mjw@redhat.com>
13862
13863 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13864
998d452a
PA
138652015-07-30 Pedro Alves <palves@redhat.com>
13866
13867 * linux-low.c (handle_extended_wait): Set the child's last
13868 reported status to TARGET_WAITKIND_STOPPED.
13869
69dde7dc
PA
138702015-07-30 Pedro Alves <palves@redhat.com>
13871
13872 PR threads/18600
13873 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13874 only shows inferior 1.
13875
4dd63d48
PA
138762015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13877 Pedro Alves <palves@redhat.com>
13878
13879 PR threads/18600
13880 * gdb.threads/fork-plus-threads.c: New file.
13881 * gdb.threads/fork-plus-threads.exp: New file.
13882
d618e4c5
PP
138832015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13884
13885 * gdb.base/batch-preserve-term-settings.exp
13886 (test_terminal_settings_preserved_after_cli_exit): Use
13887 send_quit_command.
13888
1eef6428
PA
138892015-07-29 Pedro Alves <palves@redhat.com>
13890 Don Breazeal <donb@codesourcery.com>
13891
13892 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13893 output from both inferior_spawn_id and gdb_spawn_id.
13894
7da5b897
SDJ
138952015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13896
13897 * gdb.threads/attach-into-signal.exp (corefunc): Use
13898 with_test_prefix on nested loops, uniquefying the test messages.
13899
dac804df
SDJ
139002015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13901
13902 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13903 commit.
13904
06265e53
PP
139052015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13906
13907 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13908 New proc.
13909 (test_terminal_settings_preserved_after_sigterm): New test.
13910
18206ca3
PP
139112015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13912
13913 * gdb.base/batch-preserve-term-settings.exp
13914 (test_terminal_settings_preserved_after_cli_exit): New test.
13915
90074d11
PP
139162015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13917
13918 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13919 manipulation of saved_gdbflags.
13920 (test_terminal_settings_preserved): Remove global declaration of
13921 the unused variable pagination_prompt. Remove manipulation of
13922 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13923 GDBFLAGS.
13924
eb1a7902
PA
139252015-07-29 Pedro Alves <palves@redhat.com>
13926
13927 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13928
8b75dd3b
PA
139292015-07-29 Pedro Alves <palves@redhat.com>
13930
13931 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13932 at the top.
13933
dedad4e3
PA
139342015-07-29 Pedro Alves <palves@redhat.com>
13935
13936 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13937 (main): Call gdb_unbuffer_output.
13938 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13939 (main): Call gdb_unbuffer_output.
13940 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13941 (main): Call gdb_unbuffer_output.
13942 * gdb.base/call-strs.exp: Adjust to step over the
13943 gdb_unbuffer_output call.
13944 * gdb.base/catch-gdb-caused-signals.c: Include
13945 "../lib/unbuffer_output.c".
13946 (main): Call gdb_unbuffer_output.
13947 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13948 (main): Call gdb_unbuffer_output.
13949 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13950 (main): Call gdb_unbuffer_output.
13951 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13952 (main): Call gdb_unbuffer_output.
13953 * gdb.base/shlib-call.exp: Adjust to step over the
13954 gdb_unbuffer_output call.
13955 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13956 (main): Call gdb_unbuffer_output.
13957 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13958 (main): Call gdb_unbuffer_output.
13959 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13960 (main): Rename to ...
13961 (test): ... this.
13962 (main): Reimplement.
13963 * gdb.base/varargs.exp: Run to test instead of to main.
13964 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13965 (main): Call gdb_unbuffer_output.
13966
58789a91
PA
139672015-07-29 Pedro Alves <palves@redhat.com>
13968
13969 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13970 factore out from mi_continue_dprintf. For call-style dprintfs,
13971 expect dprintf output out of $inferior_spawn_id.
13972 (mi_continue_dprintf): Use mi_expect_dprintf.
13973 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13974 (main): Call gdb_unbuffer_output.
13975
e8376742
PA
139762015-07-29 Pedro Alves <palves@redhat.com>
13977
13978 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13979 (default_mi_gdb_start): Set inferior_spawn_id instead of
13980 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13981 gdb_spawn_id.
13982 (mi_gdb_test): Always expect inferior output from both
13983 $inferior_spawn_id and $gdb_spawn_id.
13984
08280010
PA
139852015-07-29 Pedro Alves <palves@redhat.com>
13986
13987 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13988 send_inferior and $inferior_spawn_id.
13989
4d30e432
PA
139902015-07-29 Pedro Alves <palves@redhat.com>
13991
13992 * gdb.gdb/complaints.exp (test_initial_complaints)
13993 (test_serial_complaints, test_short_complaints): Use
13994 gdb_test_stdio.
13995 (test_empty_complaint): Handle $inferior_spawn_id !=
13996 $gdb_spawn_id.
13997
0d30a335
PA
139982015-07-29 Pedro Alves <palves@redhat.com>
13999
14000 * gdb.base/varargs.exp: Use gdb_test_stdio.
14001
39413b29
PA
140022015-07-29 Pedro Alves <palves@redhat.com>
14003
14004 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
14005
7cb000a9
PA
140062015-07-29 Pedro Alves <palves@redhat.com>
14007
14008 * gdb.base/ending-run.exp: Use gdb_test_stdio.
14009
d7b8ac82
PA
140102015-07-29 Pedro Alves <palves@redhat.com>
14011
14012 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
14013 parameter into two new parameters, "inf_result" and "gdb_result".
14014 Expect inferior output and gdb output from $inferior_spawn_id and
14015 $gdb_spawn_id, respectively. Adjust all callers.
14016
789c3a0c
PA
140172015-07-29 Pedro Alves <palves@redhat.com>
14018
14019 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
14020 of gdb_test_sequence.
14021
77e760c3
PA
140222015-07-29 Pedro Alves <palves@redhat.com>
14023
14024 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
14025 (saw_spurious_output): Expect inferior output from
14026 $inferior_spawn_id. Use gdb_test_stdio.
14027
8396d2cd
PA
140282015-07-29 Pedro Alves <palves@redhat.com>
14029
14030 * gdb.base/dprintf.exp: Use standard_testfile. Change
14031 prepare_for_testing call.
14032 (srcfile): Don't set.
14033 (restart): New procedure.
14034 (test_dprintf): New procecure, use to continue over dprintfs.
14035 (test_call, test_agent): New procedures, tests moved here.
14036 Restart gdb and recreate dprintfs. Adjust expected output.
14037
2051d61f
PA
140382015-07-29 Pedro Alves <palves@redhat.com>
14039
14040 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
14041
452397af
PA
140422015-07-29 Pedro Alves <palves@redhat.com>
14043
14044 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
14045
8aed9555
PA
140462015-07-29 Pedro Alves <palves@redhat.com>
14047
14048 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
14049 gdb_test_stdio.
14050
188a61b4
PA
140512015-07-29 Pedro Alves <palves@redhat.com>
14052
14053 * lib/gdb.exp (gdb_test_stdio): New procedure.
14054
12264a45
PA
140552015-07-29 Pedro Alves <palves@redhat.com>
14056
14057 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
14058
23ffc893
PA
140592015-07-29 Pedro Alves <palves@redhat.com>
14060
14061 * gdb.base/call-signal-resume.exp: Remove check for
14062 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
14063 * gdb.base/unwindonsignal.exp: Likewise.
14064 * gdb.base/call-signals.c (gen_signal): Remove printf call.
14065 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
14066
65566918
PA
140672015-07-29 Pedro Alves <palves@redhat.com>
14068
14069 * gdb.base/siginfo-addr.c (pass): New function.
14070 (handler): Call it iff si_addr is correct.
14071 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
14072 Set a breakpoint at "pass" and continue to it.
14073
d60a9221
SDJ
140742015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
14075
14076 * gdb.python/py-objfile.exp: Make some tests have unique names.
14077 * gdb.python/py-pp-registration.exp: Likewise.
14078
bde40b8f
PA
140792015-07-28 Pedro Alves <palves@redhat.com>
14080
14081 * gdb.server/server-exec-info.exp: Issue a "disconnect".
14082
13e1dec8
SM
140832015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14084
14085 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
14086
da33c9a7
SM
140872015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14088
14089 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
14090
077836f7
PP
140912015-07-27 Patrick Palka <patrick@parcs.ath.cx>
14092
14093 * gdb.base/gdb-sigterm-2.exp: New test.
14094
b8cc7b2e
DE
140952015-07-25 Doug Evans <xdje42@gmail.com>
14096
14097 Revert:
14098 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14099 (workers/%.worker, build-perf): New rule.
14100 (GDB_PERFTEST_MODE): New variable.
14101 (check-perf): Use it.
14102 (clean): Clean up gdb.perf parallel build subdirs.
14103 * lib/build-piece.exp: New file.
14104 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14105 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14106 name.
14107 (standard_temp_file): Ditto.
14108 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14109 of $GDB_PARALLEL.
14110
c8bd4544
DE
141112015-07-24 Doug Evans <dje@google.com>
14112
14113 * gdb.perf/lib/perftest/utils.py: New file.
14114 * gdb.perf/gm-hello.cc: New file.
14115 * gdb.perf/gm-pervasive-typedef.cc: New file.
14116 * gdb.perf/gm-pervasive-typedef.h: New file.
14117 * gdb.perf/gm-std.cc: New file.
14118 * gdb.perf/gm-std.h: New file.
14119 * gdb.perf/gm-use-cerr.cc: New file.
14120 * gdb.perf/gm-utils.h: New file.
14121 * gdb.perf/gmonster-null-lookup.py: New file.
14122 * gdb.perf/gmonster-pervasive-typedef.py: New file.
14123 * gdb.perf/gmonster-print-cerr.py: New file.
14124 * gdb.perf/gmonster-ptype-string.py: New file.
14125 * gdb.perf/gmonster-runto-main.py: New file.
14126 * gdb.perf/gmonster-select-file.py: New file.
14127 * gdb.perf/gmonster1-null-lookup.exp: New file.
14128 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
14129 * gdb.perf/gmonster1-print-cerr.exp: New file.
14130 * gdb.perf/gmonster1-ptype-string.exp: New file.
14131 * gdb.perf/gmonster1-runto-main.exp: New file.
14132 * gdb.perf/gmonster1-select-file.exp: New file.
14133 * gdb.perf/gmonster1.cc: New file.
14134 * gdb.perf/gmonster1.exp: New file.
14135 * gdb.perf/gmonster2-null-lookup.exp: New file.
14136 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
14137 * gdb.perf/gmonster2-print-cerr.exp: New file.
14138 * gdb.perf/gmonster2-ptype-string.exp: New file.
14139 * gdb.perf/gmonster2-runto-main.exp: New file.
14140 * gdb.perf/gmonster2-select-file.exp: New file.
14141 * gdb.perf/gmonster2.cc: New file.
14142 * gdb.perf/gmonster2.exp: New file.
14143
6eab34f3
DE
141442015-07-24 Doug Evans <dje@google.com>
14145
14146 * gdb.perf/README: New file.
14147 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
14148 * lib/gen-perf-test.exp: New file.
14149
63738bfd
DE
141502015-07-24 Doug Evans <dje@google.com>
14151
14152 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
14153 (PerfTest::startup): New function.
14154 (PerfTest::run): Return result of calling body.
14155 (PerfTest::assemble): Rewrite.
14156 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
14157 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
14158 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
14159 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
14160 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
14161
7b606f95
DE
141622015-07-24 Doug Evans <dje@google.com>
14163
14164 * lib/gdb.exp (clean_restart): Make executable optional.
14165
a97b16b8
DE
141662015-07-24 Doug Evans <dje@google.com>
14167
14168 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
14169 compiler_info references.
14170 * gdb.cp/temargs.exp: Ditto.
14171 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
14172 (get_compiler_info): Early exit if already computed. Set compiler_info
14173 to "unknown" if there was a problem.
14174 (test_compiler_info): Add function comment. Call get_compiler_info.
14175
35baa57f
DE
141762015-07-24 Doug Evans <dje@google.com>
14177
14178 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14179 (workers/%.worker, build-perf): New rule.
14180 (GDB_PERFTEST_MODE): New variable.
14181 (check-perf): Use it.
14182 (clean): Clean up gdb.perf parallel build subdirs.
14183 * lib/build-piece.exp: New file.
14184 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14185 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14186 name.
14187 (standard_temp_file): Ditto.
14188 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14189 of $GDB_PARALLEL.
14190
6ebea266
DE
141912015-07-24 Doug Evans <dje@google.com>
14192
14193 * lib/future.exp (gdb_default_target_compile): New option
14194 "early_flags".
14195 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
14196 --as-needed.
14197
1e76a7e9
SDJ
141982015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
14199
14200 * gdb.base/catch-syscall.exp: Call gdb_exit before
14201 gdb_skip_xml_test.
14202
5068630a
PA
142032015-07-24 Pedro Alves <palves@redhat.com>
14204
14205 * gdb.python/py-events.exp: Accept output between the stop event
14206 and the prompt.
14207 * gdb.python/py-evsignal.exp: Likewise.
14208 * gdb.python/py-evthreads.exp: Likewise.
14209
77598427
PA
142102015-07-24 Pedro Alves <palves@redhat.com>
14211
14212 PR gdb/18717
14213 * gdb.threads/non-ldr-exit.c: New file.
14214 * gdb.threads/non-ldr-exit.exp: New file.
14215
11e6c98f
YQ
142162015-07-24 Yao Qi <yao.qi@linaro.org>
14217
14218 * gdb.server/ext-wrapper.exp: Test --wrapper option when
14219 restarting process.
14220
51aee833
YQ
142212015-07-24 Yao Qi <yao.qi@linaro.org>
14222
14223 * gdb.server/ext-restart.exp: New file.
14224
8cfe207c
YQ
142252015-07-24 Yao Qi <yao.qi@linaro.org>
14226
14227 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
14228 argument options.
14229 * gdb.server/ext-wrapper.exp: New file.
14230
cc12ce38
DE
142312015-07-23 Doug Evans <dje@google.com>
14232
14233 * gdb.dwarf2/dw2-dummy-cu.S: New file.
14234 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
14235
d0d84780
PMR
142362015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
14237
14238 * gdb.ada/var_arr_typedef.exp: New testcase.
14239 * gdb.ada/var_arr_typedef/pack.adb: New file.
14240 * gdb.ada/var_arr_typedef/pack.ads: New file.
14241 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
14242
8b558f79
JB
142432015-07-20 Joel Brobecker <brobecker@adacore.com>
14244
14245 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
14246
775a3298
JK
142472015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14248
14249 * gdb.arch/i386-biarch-core.exp: Replace istarget
14250 by "complete set gnutarget". Remove expectation for the "core-file"
14251 command.
14252
db1ff28b
JK
142532015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14254
14255 Revert the previous commit:
14256 Tests for validate symbol file using build-id.
14257
0a94970d
JK
142582015-07-15 Aleksandar Ristovski <aristovski@qnx.com
14259
14260 Tests for validate symbol file using build-id.
14261 * gdb.base/solib-mismatch-lib.c: New file.
14262 * gdb.base/solib-mismatch-libmod.c: New file.
14263 * gdb.base/solib-mismatch.c: New file.
14264 * gdb.base/solib-mismatch.exp: New file.
14265
03346981
SL
142662015-07-15 Sandra Loosemore <sandra@codesourcery.com>
14267
14268 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
14269 nios2-*-linux*.
14270 * gdb.base/sigbpt.exp (stepi_out): Likewise.
14271 * gdb.base/siginfo.exp: Likewise.
14272 * gdb.base/sigstep.exp (advance, advancei): Likewise.
14273
42422cc7
PL
142742015-07-15 Pierre Langlois <pierre.langlois@arm.com>
14275
14276 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
14277 Move it to ...
14278 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
14279 ... here.
14280 * gdb.trace/range-stepping.exp: Check that the target supports
14281 range stepping.
14282
cfa68bae
JK
142832015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14284
14285 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
14286
8ffdba26
PA
142872015-07-14 Pedro Alves <palves@redhat.com>
14288
14289 * gdb.base/killed-outside.exp: New file.
14290 * gdb.base/killed-outside.c: New file.
14291
218a5a11
JK
142922015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14293
14294 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
14295 (n at main): New.
14296 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
14297
e03ed3c6
AA
142982015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14299
14300 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
14301 infcall tests instead of setting up for KFAIL.
14302
485668e5
MM
143032015-07-10 Markus Metzger <markus.t.metzger@intel.com>
14304
14305 * gdb.btrace/record_goto-step.exp: New.
14306
08464196
JK
143072015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14308
14309 PR compile/18484
14310 * gdb.compile/compile.c (struct struct_type): Add volatile to
14311 selffield's type.
14312 * gdb.compile/compile.exp
14313 (compile code struct_object.selffield = &struct_object): Skip further
14314 struct_object tests if this one xfails.
14315
bcf5c1d9
RC
143162015-07-08 Robert O'Callahan <robert@ocallahan.org>
14317
14318 PR exp/18617
14319 * gdb.trace/ax.exp: Add test.
14320
4931af25
YQ
143212015-07-07 Yao Qi <yao.qi@linaro.org>
14322
14323 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
14324 instead of istarget "aarch64*-*-*".
14325 * gdb.arch/aarch64-fp.exp: Likewise.
14326 * gdb.base/float.exp: Likewise.
14327 * gdb.reverse/aarch64.exp: Likewise.
14328 * lib/gdb.exp (is_aarch64_target): New proc.
14329
9fcf688e
YQ
143302015-07-07 Yao Qi <yao.qi@linaro.org>
14331
14332 * lib/gdb.exp (is_aarch32_target): New proc.
14333 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
14334 instead of "istarget "arm*-*-*"".
14335 * gdb.arch/arm-disp-step.exp: Likewise.
14336 * gdb.arch/thumb-bx-pc.exp: Likewise.
14337 * gdb.arch/thumb-prologue.exp: Likewise.
14338 * gdb.arch/thumb-singlestep.exp: Likewise.
14339 * gdb.base/disp-step-syscall.exp: Likewise.
14340 * gdb.base/float.exp: Likewise.
14341
fbd8d50d
YQ
143422015-07-07 Yao Qi <yao.qi@linaro.org>
14343
14344 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
14345 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
14346
71be1fdc
YQ
143472015-07-07 Yao Qi <yao.qi@linaro.org>
14348
14349 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
14350 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
14351 if it exists.
14352 * gdb.multi/multi-arch.exp: Likewise.
14353
3e221d36
SM
143542015-07-07 Simon Marchi <simon.marchi@ericsson.com>
14355
14356 * gdb.python/py-lazy-string.exp: Add missing parentheses to
14357 print.
14358
d441430b
YQ
143592015-07-07 Yao Qi <yao.qi@linaro.org>
14360
14361 * gdb.arch/thumb-singlestep.exp: Do one more single step.
14362
06f810bd
MG
143632015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
14364
14365 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
14366 '[' and ']' characters.
14367
5e61e7c0
IB
143682015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
14369
14370 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14371
28bf096c
PA
143722015-06-29 Pedro Alves <palves@redhat.com>
14373
14374 PR threads/18127
14375 * gdb.threads/hand-call-new-thread.c: New file.
14376 * gdb.threads/hand-call-new-thread.c: New file.
14377
ee93cd5e
KS
143782015-06-26 Keith Seitz <keiths@redhat.com>
14379 Doug Evans <dje@google.com>
14380
14381 PR 16253
14382 * gdb.cp/var-tag-2.cc: New file.
14383 * gdb.cp/var-tag-3.cc: New file.
14384 * gdb.cp/var-tag-4.cc: New file.
14385 * gdb.cp/var-tag.cc: New file.
14386 * gdb.cp/var-tag.exp: New file.
14387
fc637f04
PP
143882015-06-26 Patrick Palka <patrick@parcs.ath.cx>
14389
14390 * gdb.base/history-duplicates.exp: New test.
14391
2e52ae68
PP
143922015-06-26 Patrick Palka <patrick@parcs.ath.cx>
14393
14394 * gdb.base/completion.exp: Test the completion of the "focus"
14395 command.
14396
6e22494e
JK
143972015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14398
14399 * gdb.arch/amd64-prologue-skip.S: New file.
14400 * gdb.arch/amd64-prologue-skip.exp: New file.
14401
bf7b9cd9
SM
144022015-06-25 Simon Marchi <simon.marchi@ericsson.com>
14403
14404 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
14405 is_address_zero_readable check.
14406
201e8dfd
PB
144072015-06-24 Peter Bergner <bergner@vnet.ibm.com>
14408
14409 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
14410 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
14411
5cd867b4
YQ
144122015-06-24 Yao Qi <yao.qi@linaro.org>
14413
14414 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
14415 linux targets.
14416
4d7be007
YQ
144172015-06-24 Yao Qi <yao.qi@linaro.org>
14418
14419 * lib/gdb.exp (supports_get_siginfo_type): New proc.
14420 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
14421 * gdb.base/siginfo-thread.exp: Likewise.
14422
07fcd301
YQ
144232015-06-22 Yao Qi <yao.qi@linaro.org>
14424
14425 * boards/remote-gdbserver-on-localhost.exp: Add comments.
14426
52042a00
YQ
144272015-06-22 Yao Qi <yao.qi@linaro.org>
14428
14429 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
14430 aarch64*-*-*.
14431 (skip_hw_watchpoint_tests): Likewise.
14432
74bd41ce
PP
144332015-06-18 Patrick Palka <patrick@parcs.ath.cx>
14434
14435 * gdb.base/gdbinit-history.exp: Test the interaction between
14436 setting GDBHISTSIZE and setting the history size via .gdbinit.
14437
bc460514
PP
144382015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14439
14440 PR gdb/16999
14441 * gdb.base/gdbhistsize-history.exp: New test.
14442
b58c513b
PP
144432015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14444
14445 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
14446 with GDBHISTSIZE.
14447 * gdb.base/readline.exp: Likewise.
14448
92046791
YQ
144492015-06-17 Yao Qi <yao.qi@linaro.org>
14450
14451 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
14452 line.
14453
2093d2d3
PP
144542015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14455
14456 * gdb.base/gdbinit-history.exp: Add test case to check that
14457 an unlimited history file does not get truncated on exit.
14458
e6c693af
AA
144592015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14460
14461 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
14462 (VECTOR): New macro. Use it...
14463 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
14464 ...for these typedefs.
14465 (int8, char1, int1, double1): New typedefs.
14466 (struct just_int2, struct two_int2): New structures.
14467 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
14468 (add_structvecs, add_singlevecs): New functions.
14469 (main): Call add_some_intvecs twice.
14470 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
14471 the compile and exit upon failure. Try compiling for the "native"
14472 architecture. Test inferior function calls with vector arguments
14473 and vector return value handling with "finish" and "return".
14474
c74f7d1c
JT
144752015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
14476
14477 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
14478 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
14479 PE file.
14480 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
14481
98aa42ee
AT
144822015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14483
14484 PR breakpoints/16465
14485 * gdb.mi/mi-dprintf-pending.c: New file.
14486 * gdb.mi/mi-dprintf-pending.exp: New test.
14487 * gdb.mi/mi-dprintf-pendshr.c: New file.
14488
7d73c23c 144892015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 14490 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
14491
14492 * gdb.arch/i386-mpx-map.c: New file.
14493 * gdb.arch/i386-mpx-map.exp: New File.
14494
144952015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14496
14497 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
14498 * gdb.arch/i386-mpx.exp: Indentation fixed.
14499
145002015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14501
14502 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
14503 function and improved indentation.
14504 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
14505 gdb_test_multiple. Added additional tests to skip the test.
14506
145072015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14508
14509 * gdb.arch/i386-avx512.c: Change path in include file.
14510 * gdb.arch/i386-avx512.exp: Change include dir path
14511 compilation flag.
14512 * gdb.arch/i386-mpx.c: Change path in include file.
14513 * gdb.arch/i386-mpx.exp: Change include dir path compilation
14514 flag.
14515
d5eba19a
JK
145162015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14517
14518 * gdb.compile/compile-print.exp (compile print *vararray@3)
14519 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
14520
7f361056
JK
145212015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14522
14523 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
14524 (do not keep jit in memory): ... this.
14525 (expect 5): Change it to ...
14526 (expect no 5): ... this.
14527
3b462ec2
SM
145282015-06-02 Simon Marchi <simon.marchi@ericsson.com>
14529
14530 PR gdb/15564
14531 * gdb.mi/mi-detach.exp: New file.
14532
e0619de6
JK
145332015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14534
14535 PR symtab/18392
14536 * gdb.arch/amd64-tailcall-self.S: New file.
14537 * gdb.arch/amd64-tailcall-self.c: New file.
14538 * gdb.arch/amd64-tailcall-self.exp: New file.
14539
e970cb34
DB
145402015-05-28 Don Breazeal <donb@codesourcery.com>
14541
14542 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
14543 tests for remote targets by checking is_target_gdbserver.
14544
b2e2f908
DE
145452015-05-27 Doug Evans <dje@google.com>
14546
14547 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
14548 * gdb.dwarf2/opaque-type-lookup.c: New file.
14549 * gdb.dwarf2/opaque-type-lookup.exp: New file.
14550
82c7be31
DE
145512015-05-26 Doug Evans <dje@google.com>
14552
14553 * gdb.cp/iostream.cc: New file.
14554 * gdb.cp/iostream.exp: New file.
14555
b4f54984
DE
145562015-05-26 Doug Evans <dje@google.com>
14557
14558 * gdb.dwarf2/dw2-op-call.exp: Update.
14559 * gdb.dwarf2/dw4-sig-types.exp: Update.
14560 * gdb.dwarf2/implptr.exp: Update.
14561 * gdb.mi/mi-cmd-param-changed.exp: Update.
14562
4ea6efe9
DE
145632015-05-26 Doug Evans <dje@google.com>
14564
14565 * gdb.python/py-lazy-string.c: New file.
14566 * gdb.python/py-lazy-string.exp: New file.
14567 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
14568 (main): Update. Add estring3.
14569 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
14570 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
14571
f6bb7db3
YQ
145722015-05-26 Omair Javaid <omair.javaid@linaro.org>
14573 Yao Qi <yao.qi@linaro.org>
14574
14575 * gdb.reverse/aarch64.c: New.
14576 * gdb.reverse/aarch64.exp: New.
14577
a81bfbd0
OJ
145782015-05-26 Omair Javaid <omair.javaid@linaro.org>
14579
25d49b86
PA
14580 * lib/gdb.exp (supports_process_record): Return true for
14581 aarch64*-linux*.
a81bfbd0
OJ
14582 (supports_reverse): Likewise.
14583
158bf1b4
PP
145842015-05-22 Patrick Palka <patrick@parcs.ath.cx>
14585
14586 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14587 Use with_test_prefix.
14588
a0145030
AB
145892015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
14590
14591 * gdb.base/completion.exp: Add test for completion of layout
14592 names.
14593
ebe3b578
AB
145942015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
14595
14596 * lib/gdb.exp (skip_tui_tests): New proc.
14597 * gdb.base/tui-layout.exp: Check skip_tui_tests.
14598
84204ed7
PA
145992015-05-19 Pedro Alves <palves@redhat.com>
14600
14601 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14602 Save the whole env array instead of just HOME. Unset HISTSIZE in
14603 the environment while testing. Restore whole environment
14604 afterwards.
14605
37442ce1
DE
146062015-05-16 Doug Evans <xdje42@gmail.com>
14607
14608 * gdb.guile/scm-ports.c: New file.
14609 * gdb.guile/scm-ports.exp: Add memory port tests.
14610
36de76f9
JK
146112015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14612
14613 * gdb.compile/compile-print.c: New file.
14614 * gdb.compile/compile-print.exp: New file.
14615
3a9558c4
JK
146162015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14617
14618 * gdb.compile/compile-ops.exp: Cast param to void.
14619 * gdb.compile/compile.exp: Complete type for _gdb_expr.
14620 (compile code struct_object.selffield = &struct_object): Add xfail.
14621
aa715135
JG
146222015-05-15 Joel Brobecker <brobecker@adacore.com>
14623
14624 * gdb.ada/arr_enum_with_gap: New testcase.
14625
931e5bc3
JG
146262015-05-15 Joel Brobecker <brobecker@adacore.com>
14627
14628 * gdb.ada/byte_packed_arr: New testcase.
14629
9cd4d857
JB
146302015-05-15 Joel Brobecker <brobecker@adacore.com>
14631
14632 * gdb.ada/pckd_neg: New testcase.
14633
ebfd00d2
PP
146342015-05-13 Patrick Palka <patrick@parcs.ath.cx>
14635
14636 PR gdb/17820
14637 * gdb.base/gdbinit-history.exp: New test.
14638 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
14639 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
14640
4c082a81
SC
146412015-05-09 Siva Chandra Reddy <sivachandra@google.com>
14642
14643 * gdb.python/py-xmethods.cc: Enhance test case.
14644 * gdb.python/py-xmethods.exp: New tests.
14645 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
14646 function.
14647 (B_indexoper): Likewise.
14648 (global_dm_list) : Add new xmethod worker functions.
14649
f7797074
SDJ
146502015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
14651
14652 * gdb.base/coredump-filter.exp: Correctly unset
14653 "coredump_var_addr" array.
14654
a4674e4e
PA
146552015-05-08 Pedro Alves <palves@redhat.com>
14656
14657 * gdb.server/non-existing-program.exp: Unset spawn_id.
14658
df2eb078
SC
146592015-05-08 Siva Chandra Reddy <sivachandra@google.com>
14660
14661 PR python/18291
14662 * gdb.python/py-xmethods.exp: Add tests.
14663
422349a3
YQ
146642015-05-08 Yao Qi <yao.qi@linaro.org>
14665
14666 PR gdb/18208
14667 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14668 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
14669 function set_coredump_filter, and remove remote_exec call.
14670 Remove argument ipid. Callers update.
14671 (top level): Don't get inferior's PID.
14672
63fc80ce
AA
146732015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14674
14675 * gdb.base/watch_thread_num.exp: Skip test on targets without
14676 access watchpoints.
14677
80ad801e
PA
146782015-05-06 Pedro Alves <palves@redhat.com>
14679
14680 PR server/18081
14681 * gdb.server/non-existing-program.exp: New file.
14682
0fa7fe50
JB
146832015-05-05 Joel Brobecker <brobecker@adacore.com>
14684
14685 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14686
3ea89b92
PMR
146872015-05-05 Joel Brobecker <brobecker@adacore.com>
14688
14689 * gdb.ada/out_of_line_in_inlined: New testcase.
14690
87b8eff0
JB
146912015-05-05 Joel Brobecker <brobecker@adacore.com>
14692
14693 * gdb.ada/var_rec_arr: New testcase.
14694
5fccc635
YQ
146952015-04-30 Yao Qi <yao.qi@linaro.org>
14696
14697 * gdb.base/break-idempotent.exp: If
14698 skip_hw_watchpoint_multi_tests returns true, skip the tests
14699 on "rwatch" and "awatch".
14700
42d38f42
YQ
147012015-04-30 Yao Qi <yao.qi@linaro.org>
14702
14703 * gdb.base/relativedebug.exp: Invoke gdb command
14704 "info sharedlibrary", and if libc.so doesn't have debug info,
14705 skip the test.
14706
2ce1cdbf
DE
147072015-04-29 Doug Evans <dje@google.com>
14708
14709 * gdb.python/py-xmethods.exp: Add ptype tests.
14710 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14711 get_result_type method.
14712
f24a38c5
LM
147132015-04-29 Luis Machado <lgustavo@codesourcery.com>
14714
14715 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14716 the target does not support hardware watchpoints.
14717
ecbf2b3c
LM
147182015-04-29 Luis Machado <lgustavo@codesourcery.com>
14719
14720 * gdb.base/break-always.exp: Abort testing if writing to memory
14721 causes an error.
14722
34f5f757
DE
147232015-04-28 Doug Evans <dje@google.com>
14724
14725 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14726 * gdb.python/py-pp-registration.exp: ... here. New file.
14727 * gdb.python/py-pp-registration.c: New file.
14728 * gdb.python/py-pp-registration.py: New file.
14729
69b4374a
DE
147302015-04-28 Doug Evans <dje@google.com>
14731
14732 * gdb.python/py-bad-printers.c: New file.
14733 * gdb.python/py-bad-printers.py: New file.
14734 * gdb.python/py-bad-printers.exp: New file.
14735
59fb7612
SS
147362015-04-28 Sasha Smundak <asmundak@google.com>
14737
14738 * gdb.python/py-type.exp: New test.
14739
2631b16a
AW
147402015-04-28 Andy Wingo <wingo@igalia.com>
14741
14742 * gdb.python/py-parameter.exp:
14743 * gdb.guile/scm-parameter.exp: Escape the path that we are
14744 matching against, as it might contain characters that are special
14745 to regular expressions.
14746
460efde1
JB
147472015-04-27 Joel Brobecker <brobecker@adacore.com>
14748
14749 * gdb.ada/rec_comp: New testcase.
14750
2d369d8e
SDJ
147512015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14752
14753 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14754 before using it.
14755
cf75d6c3
AB
147562015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14757
14758 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14759 new tests for verilog output.
14760
8dbe7ca5
YQ
147612015-04-24 Yao Qi <yao.qi@linaro.org>
14762
14763 * boards/remote-gdbserver-on-localhost.exp: New file.
14764
4ef9fb2f
PA
147652015-04-23 Pedro Alves <palves@redhat.com>
14766
14767 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14768 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14769 "end of file", remove $inferior_spawn_id from the indirect list.
14770
0a803169
PA
147712015-04-23 Pedro Alves <palves@redhat.com>
14772
14773 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14774
749ef8f8
PA
147752015-04-23 Pedro Alves <palves@redhat.com>
14776
14777 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14778 on $any_spawn_id instead of only on $gdb_spawn_id.
14779
8aae4344
PM
147802015-04-21 Pierre Muller <muller@sourceware.org>
14781
14782 PR pascal/17815
14783 * lib/pascal.exp (gpc_compile): Add new option "class".
14784 (fpc_compile): Likewise.
14785 * gdb.pascal/case-insensitive-symbols.pas: New file.
14786 * gdb.pascal/case-insensitive-symbols.exp: New file.
14787
1586c8fb
GB
147882015-04-20 Gary Benson <gbenson@redhat.com>
14789
14790 * gdb.base/attach.exp: Fix three extended remote failures.
14791
1b6e6f5c
GB
147922015-04-17 Gary Benson <gbenson@redhat.com>
14793
14794 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14795 the main executable over the remote protocol.
14796
e797481d
PA
147972015-04-16 Pedro Alves <palves@redhat.com>
14798
14799 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14800 a new gdbserver if gdbserver_reconnect_p is set.
14801
1ca99c42
PA
148022015-04-16 Pedro Alves <palves@redhat.com>
14803
14804 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14805 is set, don't exit gdbserver.
14806
af9fd6f8
AA
148072015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14808
14809 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14810 appropriate .insn, such that an older assembler can be used.
14811 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14812 the z/Architecture instruction set on 31-bit targets as well.
14813
04ff1e61
AA
148142015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14815
14816 * gdb.go/handcall.exp: Remove all logic related to the first
14817 breakpoint and rely on go_runto_main instead.
14818 * gdb.go/strings.exp: Likewise.
14819 * gdb.go/unsafe.exp: Likewise.
14820 * gdb.go/hello.exp: Likewise. Also rename the remaining
14821 breakpoint marker to "breakpoint 1".
14822 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14823 * gdb.go/strings.go: Likewise.
14824 * gdb.go/unsafe.go: Likewise.
14825 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14826 "set breakpoint 2 here" and rename the remaining breakpoint marker
14827 to "breakpoint 1".
14828
40d2f8d6
SM
148292015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14830
14831 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14832 if itertools.imap is not present.
14833 * gdb.python/py-objfile.exp: Add parentheses.
14834 * gdb.python/py-type.exp: Same.
14835 * gdb.python/py-unwind-maint.py: Same.
14836
8cbc97c6
YQ
148372015-04-15 Yao Qi <yao.qi@linaro.org>
14838
14839 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14840 of ":$ptr_size" and set its form explicitly.
14841
45fd756c
YQ
148422015-04-15 Pedro Alves <palves@redhat.com>
14843 Yao Qi <yao.qi@linaro.org>
14844
14845 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14846 timeout by factor of 4.
14847 (test_regular_watch): Likewise.
14848 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14849 * gdb.reverse/sigall-reverse.exp: Likewise.
14850 * gdb.reverse/until-precsave.exp: Likewise.
14851 * lib/gdb.exp (with_timeout_factor): New proc.
14852 (gdb_expect): Move some code to ...
14853 (get_largest_timeout): ... here. New procedure.
14854
9e811bc3
LM
148552015-04-14 Luis Machado <lgustavo@codesourcery.com>
14856
14857 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14858
0ff6fcb2
LM
148592015-04-13 Luis Machado <lgustavo@codesourcery.com>
14860
14861 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14862 to write to the .text section.
14863
7578d5f7
LM
148642015-04-13 Luis Machado <lgustavo@codesourcery.com>
14865
14866 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14867 Handle the case of targets that do not provide PID information.
14868
2efe15c4
YQ
148692015-04-13 Yao Qi <yao.qi@linaro.org>
14870
14871 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14872 and use expect instead of gdb_expect.
14873
8cd8f2f8
SDJ
148742015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14875
14876 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14877 "coredump_var_addr" to avoid naming conflict with other testcases.
14878
9ee41772
PA
148792015-04-10 Pedro Alves <palves@redhat.com>
14880
14881 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14882 gdb_test_sequence and gdb_assert.
14883
07473109
PA
148842015-04-10 Pedro Alves <palves@redhat.com>
14885
14886 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14887 test messages that don't include the breakpoint address.
14888
de3db44c
YQ
148892015-04-10 Yao Qi <yao.qi@linaro.org>
14890
14891 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14892 false for some offset and width combinations which aren't
14893 supported by linux kernel.
14894
c79d856c
PA
148952015-04-10 Pedro Alves <palves@redhat.com>
14896
14897 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14898 procedure, factored out from ...
14899 (top level): ... here. Add "set displaced-stepping" testing axis.
14900 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14901 parameter "displaced". Use it.
14902 (top level): Use foreach and add "set displaced-stepping" testing
14903 axis.
14904
ebc90b50
PA
149052015-04-10 Pedro Alves <palves@redhat.com>
14906
14907 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14908 Remove comment.
14909 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14910 both the address of the instruction that triggers the watchpoint
14911 and the address of the instruction immediately after, and use
14912 those addresses for the test. Fix comment.
14913
8f572e5c
PA
149142015-04-10 Pedro Alves <palves@redhat.com>
14915
14916 * gdb.base/sigstep.exp (breakpoint_to_handler)
14917 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14918 Test "backtrace" in handler.
14919 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14920 (top level): Add new "displaced" test axis to
14921 breakpoint_to_handler, breakpoint_to_handler_entry and
14922 breakpoint_over_handler.
14923
8d707a12
PA
149242015-04-10 Pedro Alves <palves@redhat.com>
14925
14926 PR gdb/18216
14927 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14928
ef713951
YQ
149292015-04-10 Yao Qi <yao.qi@linaro.org>
14930
14931 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14932 (test_add_rn_pc): New function.
14933 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14934 (top level): Invoke test_add_rn_pc.
14935
906d60cf
PA
149362015-04-10 Pedro Alves <palves@redhat.com>
14937
14938 PR gdb/13858
14939 * gdb.base/step-over-no-symbols.exp: New file.
14940
f2983cc3
AW
149412015-04-09 Andy Wingo <wingo@igalia.com>
14942
14943 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14944 after the Python tests.
14945
6d62641c
SDJ
149462015-04-08 Keith Seitz <keiths@redhat.com>
14947
14948 PR python/16699
14949 * gdb.python/py-completion.exp: New tests for completion.
14950 * gdb.python/py-completion.py (CompleteLimit1): New class.
14951 (CompleteLimit2): Likewise.
14952 (CompleteLimit3): Likewise.
14953 (CompleteLimit4): Likewise.
14954 (CompleteLimit5): Likewise.
14955 (CompleteLimit6): Likewise.
14956 (CompleteLimit7): Likewise.
14957
f3770638
PA
149582015-04-08 Pedro Alves <palves@redhat.com>
14959
14960 PR gdb/18214
14961 PR gdb/18216
14962 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14963 function.
14964 (main): Install it as SIGUSR1 handler.
14965 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14966 parameter. Always use "setup" as prefix. Toggle "set
14967 displaced-stepping" off/on depending on global. Don't switch to
14968 thread 1 here.
14969 (top level): Add displaced stepping "off/on" test axis. Update
14970 "setup" calls. Wrap each subtest with with_test_prefix. Test
14971 continuing with a queued signal in each thread.
14972
4496bed7
PA
149732015-04-08 Pedro Alves <palves@redhat.com>
14974
14975 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14976 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14977 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14978 Return early if running to main fails.
14979 * gdb.trace/while-stepping.exp: Likewise.
14980
b97fde92
PA
149812015-04-07 Pedro Alves <palves@redhat.com>
14982
14983 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14984 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14985 interact with inferior program.
14986
f71c18e7
PA
149872015-04-07 Pedro Alves <palves@redhat.com>
14988
14989 * lib/gdb.exp (inferior_spawn_id): New global.
14990 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14991 spawn id after processing the user code.
14992 (default_gdb_start): Set inferior_spawn_id.
14993 (send_inferior): New procedure.
14994 * lib/gdbserver-support.exp (gdbserver_start): Set
14995 inferior_spawn_id.
14996 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14997
6423214f
PA
149982015-04-07 Pedro Alves <palves@redhat.com>
14999
15000 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
15001 * lib/gdbserver-support.exp (gdbserver_start): Make
15002 $server_spawn_id global.
15003 (gdbserver_start): Don't wait for gdbserver's spawn id with
15004 expect_background.
15005 (close_gdbserver): New procedure.
15006 (gdb_exit): Rename the default version and reimplement.
15007
71c0ee8c
PA
150082015-04-07 Pedro Alves <palves@redhat.com>
15009
72f4393d 15010 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
15011 append the substituted item, not the original item.
15012
203bc29b
PA
150132015-04-07 Pedro Alves <palves@redhat.com>
15014
15015 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
15016 gdb_expect.
15017
508a3ddf
PA
150182015-04-07 Pedro Alves <palves@redhat.com>
15019
15020 * gdb.base/interrupt.exp: Don't handle the case of the inferior
15021 output appearing once only.
15022
9f6dbe2b
PA
150232015-04-07 Pedro Alves <palves@redhat.com>
15024
15025 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
15026 that doesn't expect anything. Return early if running to main
15027 fails.
15028
337532fa
YQ
150292015-04-07 Yao Qi <yao.qi@linaro.org>
15030
15031 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
15032 (child_function): Call alarm.
15033 (main): Move call to alarm into the loop.
15034 * gdb.threads/non-stop-fair-events.exp: Build program with
15035 -DTIMEOUT=$timeout.
15036
01b622d4
DE
150372015-04-06 Doug Evans <xdje42@gmail.com>
15038
15039 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
15040 Fix dest parameter to board_info.
15041 (fpc_compile): Ditto.
15042 (gdb_compile_pascal): Rename dest arg to destfile.
15043
961f4160
PMR
150442015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
15045
15046 * gdb.ada/funcall_ref.exp: New file.
15047 * gdb.ada/funcall_ref/foo.adb: New file.
15048
cafda597
YQ
150492015-04-02 Yao Qi <yao.qi@linaro.org>
15050
15051 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
15052 is remote.
15053
fed040c6
GB
150542015-04-02 Gary Benson <gbenson@redhat.com>
15055
15056 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
15057
d11916aa
SS
150582015-04-01 Sasha Smundak <asmundak@google.com>
15059
15060 * gdb.python/py-unwind-maint.c: New file.
15061 * gdb.python/py-unwind-maint.exp: New test.
15062 * gdb.python/py-unwind-maint.py: New file.
15063 * gdb.python/py-unwind.c: New file.
15064 * gdb.python/py-unwind.exp: New test.
15065 * gdb.python/py-unwind.py: New test.
15066
a1471180
PA
150672015-04-01 Pedro Alves <palves@redhat.com>
15068
15069 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
15070 to fail instead of non-existent $test.
15071
0bbeccb1
PA
150722015-04-01 Pedro Alves <palves@redhat.com>
15073
15074 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
15075 GDBFLAGS if not empty.
15076
3c724c8c
PMR
150772015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
15078
15079 * gdb.ada/complete.exp: Remove "multi_line".
15080 * gdb.ada/info_exc.exp: Remove "multi_line".
15081 * gdb.ada/packed_tagged.exp: Remove "multi_line".
15082 * gdb.ada/ptype_field.exp: Remove "multi_line".
15083 * gdb.ada/sym_print_name.exp: Remove "multi_line".
15084 * gdb.ada/tagged.exp: Remove "multi_line".
15085 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
15086 [multi_line ...]
15087 * gdb.btrace/delta.exp: Likewise.
15088 * gdb.btrace/exception.exp: Likewise.
15089 * gdb.btrace/function_call_history.exp: Likewise.
15090 * gdb.btrace/instruction_history.exp: Likewise.
15091 * gdb.btrace/nohist.exp: Likewise.
15092 * gdb.btrace/record_goto.exp: Likewise.
15093 * gdb.btrace/segv.exp: Likewise.
15094 * gdb.btrace/stepi.exp: Likewise.
15095 * gdb.btrace/tailcall.exp: Likewise.
15096 * gdb.btrace/unknown_functions.exp: Likewise.
15097 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
15098 * lib/gdb.exp: Add the "multi_line" helper.
15099
4eec2deb
PA
151002015-04-01 Pedro Alves <palves@redhat.com>
15101
15102 * gdb.threads/tid-reuse.c: New file.
15103 * gdb.threads/tid-reuse.exp: New file.
15104
df8411da
SDJ
151052015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
15106
15107 PR corefiles/16092
15108 * gdb.base/coredump-filter.c: New file.
15109 * gdb.base/coredump-filter.exp: Likewise.
15110
6ef37366
PM
151112015-03-27 Petr Machata <pmachata@redhat.com>
15112
15113 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
15114 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
15115 (Dwarf::assemble): Initialize them.
15116 (Dwarf::lines): New function.
15117
7ec911b0
JT
151182015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
15119
15120 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
15121 SYMBOL_PREFIX for x86_64-*-cygwin.
15122
ff908ebf
AW
151232015-03-26 Andy Wingo <wingo@igalia.com>
15124
15125 PR symtab/18148
15126 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
15127 const_value but not a location.
15128 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
15129 location defined in non-main CUs are visible.
15130
6d5f0679
YQ
151312015-03-26 Yao Qi <yao.qi@linaro.org>
15132
15133 PR testsuite/18139
15134 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
15135 Add a line number entry for the same line.
15136 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
15137 Add a line number entry for the same line.
15138
2898689b
YQ
151392015-03-26 Yao Qi <yao.qi@linaro.org>
15140
15141 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
15142 .int 0.
15143 (func): Likewise. Add .Lfunc_1 label.
15144 Use .Lfunc_1 label.
15145 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
15146 .int 0.
15147 (func): Likewise.
15148 Use .Lfunc_1 label.
15149
85180498
YQ
151502015-03-26 Yao Qi <yao.qi@linaro.org>
15151
15152 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
15153 Call gdb_compile instead to compile each .s files without debug
15154 information.
15155
8aa08a8d
YQ
151562015-03-26 Yao Qi <yao.qi@linaro.org>
15157
15158 * gdb.base/savedregs.exp (process_saved_regs): Make
15159 "Saved registers:" optional in the pattern.
15160
66849923
MM
151612015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15162
15163 * gdb.btrace/next.exp: Merged into step.exp.
15164 * gdb.btrace/finish.exp: Merged into step.exp.
15165 * gdb.btrace/nexti.exp: Merged into stepi.exp.
15166 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
15167 "record goto" and checking the exact replay position.
15168 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
15169 check for "Recording format" in "info record" output.
15170 * gdb.btrace/record_goto.exp: Choose test file based on target.
15171 * gdb.btrace/x86-record_goto.S: Renamed into ...
15172 * gdb.btrace/x86_64-record_goto.S: ... this.
15173 * gdb.btrace/i686-record_goto.S: New.
15174 * gdb.btrace/x86-tailcall.S: Renamed into ...
15175 * gdb.btrace/x86_64-tailcall.S: ... this.
15176 * gdb.btrace/i686-tailcall.S: New.
15177 * gdb.btrace/x86-tailcall.c: Renamed into ...
15178 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
15179 separate statements. Update test.
15180 * gdb.btrace/delta.exp: Use record_goto.c as test file.
15181 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
15182 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
15183 * gdb.btrace/tailcall.exp: Choose test file based on target.
15184 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
15185
11cc1b74
MM
151862015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15187
15188 * gdb.btrace/exception.exp: Increase BTS buffer size.
15189
a25d8bf9
PA
151902015-03-24 Pedro Alves <palves@redhat.com>
15191
15192 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
15193
856e7dd6
PA
151942015-03-24 Pedro Alves <palves@redhat.com>
15195
15196 * gdb.threads/schedlock.exp (test_step): No longer expect that
15197 "set scheduler-locking step" with "next" over a function call runs
15198 threads unlocked.
15199
ad235a41
AT
152002015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15201
15202 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
15203
15630549
AT
152042015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15205
15206 PR breakpoints/16466
15207 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
15208 * gdb.mi/mi-pending.c (thread_func): New function.
15209 (int main): Add threading support required.
15210 * gdb.mi/mi-pending.exp: Add tests for this issue.
15211 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
15212 (pendfunc2): Remove stdio dependency.
15213 * gdb.mi/mi-pendshr2.c: New file.
15214
693dca06
KS
152152015-03-23 Keith Seitz <keiths@redhat.com>
15216
15217 * gdb.linespec/keywords.c: New file.
15218 * gdb.linespec/keywords.exp: New file.
15219
7e993ebf
KS
152202015-03-23 Keith Seitz <keiths@redhat.com>
15221
15222 PR gdb/18021
15223 * gdb.dwarf2/staticvirtual.exp: New test.
15224
bc23328c
JK
152252015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15226
15227 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
15228 * README: Remove HP-UX and gdb.hp.
15229 (configuration):
15230 * configure: Regenerate.
15231 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
15232 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
15233 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
15234 gdb.hp/gdb.defects/Makefile.
15235 * gdb.hp/Makefile.in: File deleted.
15236 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
15237 * gdb.hp/gdb.aCC/optimize.c: File deleted.
15238 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
15239 * gdb.hp/gdb.aCC/run.c: File deleted.
15240 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
15241 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
15242 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
15243 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
15244 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
15245 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
15246 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
15247 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
15248 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
15249 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
15250 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
15251 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
15252 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
15253 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
15254 * gdb.hp/gdb.base-hp/reg.s: File deleted.
15255 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
15256 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
15257 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
15258 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
15259 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
15260 * gdb.hp/gdb.compat/Makefile.in: File deleted.
15261 * gdb.hp/gdb.compat/average.c: File deleted.
15262 * gdb.hp/gdb.compat/sum.c: File deleted.
15263 * gdb.hp/gdb.compat/xdb.c: File deleted.
15264 * gdb.hp/gdb.compat/xdb0.c: File deleted.
15265 * gdb.hp/gdb.compat/xdb0.h: File deleted.
15266 * gdb.hp/gdb.compat/xdb1.c: File deleted.
15267 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
15268 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
15269 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
15270 * gdb.hp/gdb.defects/Makefile.in: File deleted.
15271 * gdb.hp/gdb.defects/bs14602.c: File deleted.
15272 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
15273 * gdb.hp/gdb.defects/solib-d.c: File deleted.
15274 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
15275 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
15276 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
15277 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
15278 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
15279 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
15280 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
15281 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
15282 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
15283 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
15284 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
15285 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
15286 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
15287 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
15288 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
15289 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
15290 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
15291 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
15292 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
15293 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
15294 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
15295 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
15296 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
15297 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
15298 * gdb.hp/tools/odump: File deleted.
15299
8bf3b159
PA
153002015-03-19 Pedro Alves <palves@redhat.com>
15301
15302 * gdb.threads/continue-pending-status.exp (saw_thread_2)
15303 (saw_thread_3): New globals.
15304 (top level): Increment them when an event for the corresponding
15305 thread is seen.
15306 (no thread starvation): New test.
15307
eb54c8bf
PA
153082015-03-19 Pedro Alves <palves@redhat.com>
15309
15310 * gdb.threads/continue-pending-status.c: New file.
15311 * gdb.threads/continue-pending-status.exp: New file.
15312
32d2e5d6
PA
153132015-03-18 Pedro Alves <palves@redhat.com>
15314
15315 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15316 Use gdb_is_target_remote instead of is_remote. Use
15317 gdb_test_multiple instead of gdb_expect. Exit early if
15318 gdb_test_multiple hits its internal matches. Tighten stepi tests
15319 expected output. Fail on exit with any signal, instead of just
15320 SIGILL.
15321
f68f11b7
YQ
153222015-03-18 Yao Qi <yao.qi@linaro.org>
15323
15324 PR tdep/18107
15325 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
15326 variable.
15327 * gdb.base/catch-syscall.exp: Don't skip it on
15328 aarch64*-*-linux* target. Remove elements in all_syscalls.
15329 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
15330 target.
15331 (setup_all_syscalls): New proc.
15332
ca5fd19b
YQ
153332015-03-16 Yao Qi <yao.qi@linaro.org>
15334
15335 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
15336 (top level): Skip tests if valid_addr_p returns false for
15337 $cmd1 or $cmd2.
15338
85642ba0
AW
153392015-03-11 Andy Wingo <wingo@igalia.com>
15340
15341 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
15342
e03f9645
YQ
153432015-03-11 Yao Qi <yao.qi@linaro.org>
15344
15345 * gdb.base/catch-syscall.exp: Fix typo in comments.
15346
5d0962b2
YQ
153472015-03-11 Yao Qi <yao.qi@linaro.org>
15348
15349 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
15350
b2df3cef
PA
153512015-03-09 Pedro Alves <palves@redhat.com>
15352
15353 * dg-extract-results.py: Delete.
15354
ef878e53
PA
153552015-03-09 Pedro Alves <palves@redhat.com>
15356
15357 Merge dg-extract-results.sh from GCC upstream (r218843).
15358
15359 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
15360 * dg-extract-results.sh: Use --text with grep to avoid issues with
15361 binary files. Fall back to cat -v, if that doesn't work.
15362
9494d219
PA
153632015-03-05 Pedro Alves <palves@redhat.com>
15364
15365 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
15366
a8d9763a
SM
153672015-03-04 Simon Marchi <simon.marchi@ericsson.com>
15368
15369 * lib/mi-support.exp (mi_expect_interrupt): Accept
15370 alternative event for when in all-stop mode.
15371
be9957b8
PA
153722015-03-04 Pedro Alves <palves@redhat.com>
15373
15374 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
15375
d57be0f4 153762015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
15377
15378 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
15379
c214c7cf
AA
153802015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
15381
15382 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
15383 regexps for GDB's current line display, accept a hex address
15384 preceding the line number.
15385
6d74a497
AA
153862015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
15387
15388 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
15389 the 'arch1' variable for "s390*-linux*" targets.
15390
511aee7c
PA
153912015-03-04 Pedro Alves <palves@redhat.com>
15392
15393 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
15394 (main): Pass missing retval argument to pthread_join call.
15395
95e50b27
PA
153962015-03-02 Pedro Alves <palves@redhat.com>
15397
15398 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
15399 (top level): Call do_test with non-stop as well.
15400
28054d69
PA
154012015-03-02 Pedro Alves <palves@redhat.com>
15402
15403 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
15404 -1.
15405
4fa5d7b4
AA
154062015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15407
15408 * gdb.arch/s390-vregs.exp: New test.
15409 * gdb.arch/s390-vregs.S: New file.
15410
97c18565
PA
154112015-02-27 Pedro Alves <palves@redhat.com>
15412
15413 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
15414 call to catch_command_errors.
15415 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
15416 catch_command_errors.
15417
a37bfa30
PA
154182015-02-27 Pedro Alves <palves@redhat.com>
15419
15420 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
15421 "true" for boolean result.
15422 * gdb.gdb/selftest.exp (test_with_self): Also accept full
15423 prototype of main.
15424
6f98576f
PA
154252015-02-27 Pedro Alves <palves@redhat.com>
15426
15427 * lib/unbuffer_output.c: New file.
15428 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
15429 (main): Call gdb_unbuffer_output.
15430
eba5ab56
YQ
154312015-02-27 Yao Qi <yao.qi@linaro.org>
15432
15433 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
15434 target.
15435
0def5aaa
DE
154362015-02-26 Doug Evans <dje@google.com>
15437
15438 * gdb.cp/class2.cc (Dbase, D): New classes.
15439 (main): New local delta.
15440 * gdb.cp/class2.exp: Test printing delta.
15441 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
15442 (dynbar): New global.
15443 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
15444
081a1c2c
JK
154452015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15446
15447 * gdb.compile/compile-ifunc.c: New file.
15448 * gdb.compile/compile-ifunc.exp: New file.
15449
2f41223f
AT
154502015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
15451
15452 * gdb.base/structs.exp: Check for correct struct on finish.
15453
03eddd80
YQ
154542015-02-26 Yao Qi <yao.qi@linaro.org>
15455
15456 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
15457 is zero.
15458
80c57053
JK
154592015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15460
15461 * gdb.arch/cordic.ko.bz2: New file.
15462 * gdb.arch/cordic.ko.debug.bz2: New file.
15463 * gdb.arch/ppc64-symtab-cordic.exp: New file.
15464
21613c12
YQ
154652015-02-25 Yao Qi <yao.qi@linaro.org>
15466
15467 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
15468 aarch64*-*-* target.
15469
d8b901ed
PA
154702015-02-23 Pedro Alves <palves@redhat.com>
15471
15472 * lib/gdb.exp (delete_breakpoints): Rewrite using
15473 gdb_test_multiple.
15474
e5b85ead
PA
154752015-02-23 Pedro Alves <palves@redhat.com>
15476
15477 * gdb.base/info-os.c: Include stdlib.h.
15478
85c3a371
DE
154792015-02-22 Doug Evans <xdje42@gmail.com>
15480
15481 PR symtab/17855
15482 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
15483 is read after symbols have been re-read.
15484 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
15485 * gdb.ada/exec_changed/second.adb (Second): Ditto.
15486
96553a0c
DE
154872015-02-21 Doug Evans <dje@google.com>
15488
15489 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
15490
97a0c697
JK
154912015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15492
15493 PR corefiles/17808
15494 * gdb.arch/i386-biarch-core.core.bz2: New file.
15495 * gdb.arch/i386-biarch-core.exp: New file.
15496
a47cd6e9
PA
154972015-02-21 Pedro Alves <palves@redhat.com>
15498
15499 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
15500 runto_main fails.
15501
c5facdc4
PA
155022015-02-20 Pedro Alves <palves@redhat.com>
15503
15504 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
15505 info probes.
15506
2db9a427
PA
155072015-02-20 Pedro Alves <palves@redhat.com>
15508
15509 * gdb.threads/multi-create-ns-info-thr.exp: New file.
15510
60fb7e9e
PA
155112015-02-20 Pedro Alves <palves@redhat.com>
15512
15513 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
15514 clean_restart before gdb_target_supports_trace.
15515
5c5019c2
PA
155162015-02-20 Pedro Alves <palves@redhat.com>
15517
15518 PR threads/18006
15519 * gdb.threads/clone-thread_db.c: New file.
15520 * gdb.threads/clone-thread_db.exp: New file.
15521
c9587f88
AT
155222015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
15523
15524 PR breakpoints/16812
15525 * gdb.base/catch-gdb-caused-signals.c: New file.
15526 * gdb.base/catch-gdb-caused-signals.exp: New file.
15527
f6a88844
JM
155282015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
15529
15530 * configure: Regenerated.
15531 * configure.ac: Use GDB_AC_TRANSFORM.
15532 * aclocal.m4: sinclude ../transform.m4.
15533
497c491b
JM
155342015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15535
15536 * lib/dtrace.exp: New file.
15537 * gdb.base/dtrace-probe.exp: Likewise.
15538 * gdb.base/dtrace-probe.d: Likewise.
15539 * gdb.base/dtrace-probe.c: Likewise.
15540 * lib/pdtrace.in: Likewise.
15541 * configure.ac: Output variables with the transformed names of
15542 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
15543 * configure: Regenerated.
15544
03e98035
JM
155452015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15546
15547 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
15548 expected message when trying to access $_probe_* convenience
15549 variables while not on a probe.
15550
63cc30e9
JK
155512015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15552
15553 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
15554
0703599a
PA
155552015-02-11 Pedro Alves <pedro@codesourcery.com>
15556
15557 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
15558 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
15559
7e60a48e
DE
155602015-02-10 Doug Evans <xdje42@gmail.com>
15561
15562 * lib/gdb.exp (gdb_load): Always return a result.
15563
01b088bc
PA
155642015-02-10 Pedro Alves <palves@redhat.com>
15565
15566 * gdb.threads/signal-sigtrap.c: New file.
15567 * gdb.threads/signal-sigtrap.exp: New file.
15568
b05ec7a5
AT
155692015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
15570
15571 * gdb.trace/no-attach-trace.c: New file.
15572 * gdb.trace/no-attach-trace.exp: New file.
15573
a2c2acaf
MW
155742015-02-09 Mark Wielaard <mjw@redhat.com>
15575
15576 * gdb.dwarf2/atomic.c: New file.
15577 * gdb.dwarf2/atomic-type.exp: Likewise.
15578
31fd9caa
MM
155792015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15580
15581 * gdb.btrace/buffer-size.exp: Update "info record" output.
15582 * gdb.btrace/delta.exp: Update "info record" output.
15583 * gdb.btrace/enable.exp: Update "info record" output.
15584 * gdb.btrace/finish.exp: Update "info record" output.
15585 * gdb.btrace/instruction_history.exp: Update "info record" output.
15586 * gdb.btrace/next.exp: Update "info record" output.
15587 * gdb.btrace/nexti.exp: Update "info record" output.
15588 * gdb.btrace/step.exp: Update "info record" output.
15589 * gdb.btrace/stepi.exp: Update "info record" output.
15590 * gdb.btrace/nohist.exp: Update "info record" output.
15591
d33501a5
MM
155922015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15593
15594 * gdb.btrace/buffer-size: New.
15595
f4abbc16
MM
155962015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15597
15598 * gdb.btrace/delta.exp: Update "info record" output.
15599 * gdb.btrace/enable.exp: Update "info record" output.
15600 * gdb.btrace/finish.exp: Update "info record" output.
15601 * gdb.btrace/instruction_history.exp: Update "info record" output.
15602 * gdb.btrace/next.exp: Update "info record" output.
15603 * gdb.btrace/nexti.exp: Update "info record" output.
15604 * gdb.btrace/step.exp: Update "info record" output.
15605 * gdb.btrace/stepi.exp: Update "info record" output.
15606 * gdb.btrace/nohist.exp: Update "info record" output.
15607
b9d61307
SM
156082015-02-06 Simon Marchi <simon.marchi@ericsson.com>
15609
15610 PR gdb/15678
15611 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
15612
e584fdbc
PA
156132015-02-06 Pedro Alves <palves@redhat.com>
15614
15615 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
15616 macro.
15617 (seconds_left, again): New globals.
15618 (main): Wait seconds_left in a 1-second sleep loop instead of
15619 sleeping 180 seconds. If 'again' is set, reset the seconds
15620 counter.
15621 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
15622 'again' in the inferior before detaching. Print the seconds left.
15623 (options): New global.
15624 (top level): Build program with -DTIMEOUT=$timeout.
15625
77f41761
PA
156262015-02-06 Pedro Alves <palves@redhat.com>
15627
15628 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
15629 determine how many seconds to pass to 'alarm'.
15630 * gdb.base/gdb-sigterm.exp (top level): Build program with
15631 -DTIMEOUT=$timeout.
15632 (do_test): Return success/failure indication. Add more verbose
15633 logging. Don't fail if 200 single steps are seen. Instead, fail
15634 when the test times out.
15635 (passes): New global.
15636 (top level): Break the testing loop if testing fails on any
15637 iteration. Use gdb_assert.
15638
b9394193
DB
156392015-02-04 Don Breazeal <donb@codesourcery.com>
15640
15641 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
15642 and initialize them.
15643 (ipc_cleanup): New function.
15644 (main): Don't declare shmid, semid, and msqid. Add a call to
15645 atexit so that we call ipc_cleanup on exit.
15646
42d9e528
PA
156472015-02-04 Pedro Alves <palves@redhat.com>
15648
15649 * boards/native-extended-gdbserver.exp: Remove any target variant
15650 specifications from the board name before clearing the isremote
15651 flag from board_info.
15652
ae6ae975
DE
156532015-01-31 Doug Evans <xdje42@gmail.com>
15654
15655 * gdb.base/maint.exp <maint print type argc>: Update expected output.
15656
cfb069a8
GB
156572015-01-31 Gary Benson <gbenson@redhat.com>
15658
15659 * gdb.base/completion.exp: Disable completion limiting for
15660 existing tests. Add new tests to check completion limiting.
15661 * gdb.linespec/ls-errs.exp: Disable completion limiting.
15662
5dd31d79
DE
156632015-01-31 Doug Evans <xdje42@gmail.com>
15664
15665 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
15666
9f050062
DE
156672015-01-31 Doug Evans <xdje42@gmail.com>
15668
15669 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
15670 entries. Duplicate file section script entries.
15671 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15672 inlined entries. Add test for safe-path rejection.
15673 * gdb.python/py-section-script.c: Add duplicate inlined section script
15674 entries. Duplicate file section script entries.
15675 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15676 inlined entries. Add test for safe-path rejection.
15677
df25ebbd
JB
156782015-01-29 Joel Brobecker <brobecker@adacore.com>
15679
15680 * gdb.ada/disc_arr_bound: New testcase.
15681
4a0ca9ec
JB
156822015-01-29 Joel Brobecker <brobecker@adacore.com>
15683
15684 * gdb.ada/mi_var_array: New testcase.
15685
3a8b707a
DE
156862015-01-27 Doug Evans <dje@google.com>
15687
15688 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15689 Add test for objfile.filename, objfile.username after objfile
15690 has been unloaded.
15691
f8313f6e
JB
156922015-01-26 Joel Brobecker <brobecker@adacore.com>
15693
15694 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15695 the second test to print the name attribute of value
15696 returned by the call to gdb.lookup_type, and adjust
15697 the expected output accordingly.
15698
37bc665e
MW
156992015-01-25 Mark Wielaard <mjw@redhat.com>
15700
15701 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15702 * gdb.base/disp-step-fork.c: Include unistd.h.
15703 * gdb.base/siginfo-obj.c: Include stdio.h.
15704 * gdb.base/siginfo-thread.c: Likewise.
15705 * gdb.mi/non-stop.c: Include unistd.h.
15706 * gdb.mi/nsthrexec.c: Include stdio.h.
15707 * gdb.mi/pthreads.c: Include unistd.h.
15708 * gdb.modula2/unbounded1.c (main): Declare returns int.
15709 * gdb.reverse/consecutive-reverse.c: Likewise.
15710 * gdb.threads/create-fail.c: Include unistd.h.
15711 * gdb.threads/killed.c: Likewise.
15712 * gdb.threads/linux-dp.c: Likewise.
15713 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15714 * gdb.threads/non-ldr-exc-2.c: Likewise.
15715 * gdb.threads/non-ldr-exc-3.c: Likewise.
15716 * gdb.threads/non-ldr-exc-4.c: Likewise.
15717 * gdb.threads/pthreads.c: Include unistd.h.
15718 (main): Declare returns int.
15719 * gdb.threads/tls-main.c (foo): New declaration.
15720 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15721
f7e5394d
SM
157222015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15723
15724 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15725 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15726
743649fd
MW
157272015-01-15 Mark Wielaard <mjw@redhat.com>
15728
15729 * gdb.base/noreturn-return.c: New file.
15730 * gdb.base/noreturn-return.exp: New file.
15731 * gdb.base/noreturn-finish.c: New file.
15732 * gdb.base/noreturn-finish.exp: New file.
15733
198297aa
PA
157342015-01-23 Pedro Alves <palves@redhat.com>
15735
15736 * gdb.threads/continue-pending-after-query.c: New file.
15737 * gdb.threads/continue-pending-after-query.exp: New file.
15738
717cf30c
AG
157392015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15740 Simon Marchi <simon.marchi@ericsson.com>
15741
15742 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15743 * gdb.base/valgrind-db-attach.exp: Same.
15744 * gdb.base/valgrind-infcall.exp: Same.
15745 * lib/mi-support.exp (default_mi_gdb_start): Same.
15746 * lib/prompt.exp (default_prompt_gdb_start): Same.
15747 * lib/gdb.exp (default_gdb_spawn): Same.
15748 (gdb_interact): New.
15749
15750
4b62a76e
JK
157512015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15752
15753 * gdb.compile/compile.exp (pointer to jit function): New test.
15754
b4cdae6f
WW
157552015-01-17 Wei-cheng Wang <cole945@gmail.com>
15756
15757 * lib/gdb.exp (supports_process_record): Return true for
15758 powerpc*-*-linux*.
15759 (supports_reverse): Likewise.
15760
d221e7ef
DB
157612015-01-15 Don Breazeal <donb@codesourcery.com>
15762
15763 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15764 instead of checking whether the target board is remote and
15765 use spawn_wait_for_attach instead of exec/sleep.
15766 * gdb.base/attach-twice.exp: Likewise.
15767
bafffb51
JB
157682015-01-15 Joel Brobecker <brobecker@adacore.com>
15769
15770 * gdb.ada/var_arr_attrs: New testcase.
15771
5589af0e
PA
157722015-01-14 Pedro Alves <palves@redhat.com>
15773 Joel Brobecker <brobecker@adacore.com>
15774
15775 PR gdb/17525
15776 * gdb.base/bp-cmds-execution-x-script.c: New file.
15777 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15778 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15779
6c400b59
PA
157802015-01-14 Pedro Alves <palves@redhat.com>
15781
15782 PR cli/17828
15783 * gdb.base/batch-preserve-term-settings.c: New file.
15784 * gdb.base/batch-preserve-term-settings.exp: New file.
15785
e02c96a7
DE
157862015-01-13 Doug Evans <dje@google.com>
15787
15788 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15789 binary.
15790
576fd14c
JB
157912015-01-13 Joel Brobecker <brobecker@adacore.com>
15792
15793 * Makefile.in (clean mostlyclean): Do not delete *.py.
15794
04dccad0
JB
157952015-01-13 Joel Brobecker <brobecker@adacore.com>
15796
15797 * gdb.python/py-lookup-type.exp: New file.
15798
3d230f71
PA
157992015-01-12 Pedro Alves <palves@redhat.com>
15800
15801 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15802 restore GDBFLAGS before returning.
15803
7e67715d
JK
158042015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15805
15806 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15807 is_amd64_regs_target and is_x86_like_target.
15808
f2e0d4b4
DE
158092015-01-11 Doug Evans <xdje42@gmail.com>
15810
15811 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15812 is given without an explicit form.
15813 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15814 attributes.
15815 * gdb.dwarf/corrupt.exp: Ditto.
15816 * gdb.dwarf2/enum-type.exp: Ditto.
15817 * gdb.trace/entry-values.exp: Ditto.
15818 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15819
439250fb
DE
158202015-01-11 Doug Evans <xdje42@gmail.com>
15821
15822 PR gdb/15830
15823 * gdb.base/maint.exp: Remove references to "maint demangle".
15824 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15825 Add tests for explicitly specifying language to demangle.
15826 * gdb.dlang/demangle.exp: Ditto.
15827
ede9f622
PA
158282015-01-09 Pedro Alves <palves@redhat.com>
15829
15830 * gdb.threads/non-stop-fair-events.c: New file.
15831 * gdb.threads/non-stop-fair-events.exp: New file.
15832
a7b796db
PA
158332015-01-09 Pedro Alves <palves@redhat.com>
15834
15835 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15836 the global scope. Set a breakpoint after all threads are started
15837 rather than stepping over two source lines. Expect the prompt.
15838 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15839 global.
15840 (NUM): Now 15.
15841 (main): Use threads_started_barrier to wait for all threads to
15842 start. Main thread no longer calls thread_function. Exit after
15843 180 seconds.
15844 (loop): New function.
15845 (thread_function): Wait on threads_started_barrier barrier. Call
15846 'loop' at each iteration.
15847 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15848 threads have started, instead of hardcoding number of "next"
15849 steps. Use an access watchpoint instead of a write watchpoint.
15850
9665ffdd
PA
158512015-01-09 Pedro Alves <palves@redhat.com>
15852
15853 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15854 (thread_func): Wait on barrier.
15855 (main): Wait for all threads to start before stopping GDB.
15856 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15857 global.
15858 (thread1_func, thread2_func): Wait on barrier.
15859 (main): Wait for all threads to start before stopping GDB.
15860 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15861 New global.
15862 (thread1_func, thread2_func): Wait on barrier.
15863 (main): Wait for all threads to start before stopping GDB.
15864
c945a99f
PA
158652015-01-09 Pedro Alves <palves@redhat.com>
15866
15867 * gdb.threads/attach-many-short-lived-threads.c: New file.
15868 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15869
c1a747c1
PA
158702014-01-09 Pedro Alves <palves@redhat.com>
15871
15872 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15873 instead of to thread 2.
15874 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15875 Add barrier around each pthread_create call instead of around all
15876 calls.
15877 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15878 Set a break on thread_function and have the child threads hit it
15879 one at at a time.
15880
60b3033e
PA
158812015-01-09 Pedro Alves <palves@redhat.com>
15882
15883 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15884 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15885 false.
15886 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15887 checking whether the target board is remote.
15888 * gdb.multi/multi-attach.exp: Likewise.
15889 * gdb.python/py-sync-interp.exp: Likewise.
15890 * gdb.server/ext-attach.exp: Likewise.
15891 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15892 tests that need to attach, instead of checking whether the target
15893 board is remote at the top of the file.
15894
acc018ac
YQ
158952015-01-08 Yao Qi <yao@codesourcery.com>
15896
15897 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15898
50a18af8
JK
158992015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15900
15901 Fix testcase compilation.
15902 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15903
8503d6e1
JB
159042015-01-06 Joel Brobecker <brobecker@adacore.com>
15905
15906 * gdb.python/py-type.exp: Add a couple test about empty
15907 array creation, and negative-length array creation.
15908
cc73dbcc
DE
159092015-01-02 Doug Evans <xdje42@gmail.com>
15910
15911 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15912
0300bbc7
DE
159132015-01-02 Doug Evans <dje@google.com>
15914
15915 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15916
9d85a0ec
YQ
159172014-12-29 Yao Qi <yao@codesourcery.com>
15918
15919 * gdb.trace/entry-values.exp: Update comments. Rename variable
15920 bar_call_foo to returned_from_foo.
15921
87186c6a
MMN
159222014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15923
15924 PR gdb/17394
15925 * gdb.linespec/break-asm-file.c: New file.
15926 * gdb.linespec/break-asm-file.exp: New file.
15927 * gdb.linespec/break-asm-file0.s: New file.
15928 * gdb.linespec/break-asm-file1.s: New file.
15929
1bab7383
YQ
159302014-12-18 Nigel Stephens <nigel@mips.com>
15931 Maciej W. Rozycki <macro@codesourcery.com>
15932
15933 * gdb.base/float.exp: Handle the new output from "info float" on
15934 MIPS targets.
15935
1bc1068a
JK
159362014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15937
15938 Fix MinGW compilation.
15939 * gdb.compile/compile-ops.exp: Update untested message if
15940 !skip_compile_feature_tests.
15941 * gdb.compile/compile-setjmp.exp: Likewise.
15942 * gdb.compile/compile-tls.exp: Likewise.
15943 * gdb.compile/compile.exp: Likewise.
15944 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15945 supported on this host".
15946
b6615d10
DE
159472014-12-16 Doug Evans <xdje42@gmail.com>
15948
15949 * boards/stabs.exp: New file.
15950
25dda427
AA
159512014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15952
15953 * gdb.base/completion.exp: Adjust to format changes of "maint
15954 print user-registers".
15955
bf330350
CU
159562014-12-16 Catalin Udma <catalin.udma@freescale.com>
15957
15958 PR server/17457
15959 * gdb.arch/aarch64-fp.c: New file.
15960 * gdb.arch/aarch64-fp.exp: New file.
15961
395cf596
SDJ
159622014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15963
15964 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15965 r210637, r210913, r211666, r215400, r215817).
15966
15967 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15968 * dg-extract-results.py: New file.
15969 * dg-extract-results.sh: Use it if the environment seems
15970 suitable.
15971
15972 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15973
15974 * dg-extract-results.py (parse_run): Handle warnings that
15975 are printed before a test harness is run.
15976
15977 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15978
15979 * dg-extract-results.py (Named): Remove __cmp__ method.
15980 (output_variation): Use a key to sort variation.harnesses.
15981
15982 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15983
15984 * dg-extract-results.py: For Python 3, force sys.stdout to
15985 handle surrogate escape sequences.
15986 (safe_open): New function.
15987 (output_segment, main): Use it.
15988
15989 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15990
15991 * dg-extract-results.py (Prog.result_re): Include options
15992 in test name.
15993
15994 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15995
15996 * dg-extract-results.py (output_variation): Always sort if
15997 do_sum.
15998
e882ef3c
SM
159992014-12-15 Simon Marchi <simon.marchi@ericsson.com>
16000
16001 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
16002 as long as we get pagination notifications.
16003
4992aa20
JM
160042014-12-15 Jason Merrill <jason@redhat.com>
16005
16006 * Makefile.in (check-gdb.%): Restore.
16007 * README: Mention it.
16008
c1b5a1a6
JB
160092014-12-13 Joel Brobecker <brobecker@adacore.com>
16010
16011 * gdb.ada/str_uninit: New testcase.
16012
5537b577
JK
160132014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16014
16015 PR symtab/17642
16016 * gdb.base/vla-stub-define.c: New file.
16017 * gdb.base/vla-stub.c: New file.
16018 * gdb.base/vla-stub.exp: New file.
16019
bb2ec1b3
TT
160202014-12-12 Phil Muldoon <pmuldoon@redhat.com>
16021 Jan Kratochvil <jan.kratochvil@redhat.com>
16022 Tom Tromey <tromey@redhat.com>
16023
16024 * configure.ac: Add gdb.compile/.
16025 * configure: Regenerate.
16026 * gdb.compile/Makefile.in: New file.
16027 * gdb.compile/compile-ops.exp: New file.
16028 * gdb.compile/compile-ops.c: New file.
16029 * gdb.compile/compile-tls.c: New file.
16030 * gdb.compile/compile-tls.exp: New file.
16031 * gdb.compile/compile-constvar.S: New file.
16032 * gdb.compile/compile-constvar.c: New file.
16033 * gdb.compile/compile-mod.c: New file.
16034 * gdb.compile/compile-nodebug.c: New file.
16035 * gdb.compile/compile-setjmp-mod.c: New file.
16036 * gdb.compile/compile-setjmp.c: New file.
16037 * gdb.compile/compile-setjmp.exp: New file.
16038 * gdb.compile/compile-shlib.c: New file.
16039 * gdb.compile/compile.c: New file.
16040 * gdb.compile/compile.exp: New file.
16041 * lib/gdb.exp (skip_compile_feature_tests): New proc.
16042
4ff709eb
TT
160432014-12-12 Tom Tromey <tromey@redhat.com>
16044
16045 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
16046 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
16047
6dddd6a5
DE
160482014-12-12 Doug Evans <dje@google.com>
16049
16050 * lib/gdb-python.exp (get_python_valueof): New function.
16051 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
16052
71c24708
AA
160532014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16054
16055 * gdb.base/completion.exp: Add test for completion of "info
16056 registers ".
16057
3e29f34a
MR
160582014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
16059
16060 * gdb.base/func-ptrs.c: New file.
16061 * gdb.base/func-ptrs.exp: New file.
16062
fc126975
SM
160632014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16064
16065 PR breakpoints/17012
16066 * gdb.base/dprintf-detach.c: New file.
16067 * gdb.base/dprintf-detach.exp: New file.
16068
0a46d518
SM
160692014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16070
16071 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
16072 * lib/gdb.exp (target_is_gdbserver): New procedure.
16073
a0be3e44
DE
160742014-12-08 Doug Evans <dje@google.com>
16075
16076 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
16077
df1b803a
YQ
160782014-12-05 Yao Qi <yao@codesourcery.com>
16079
16080 * gdb.guile/scm-error.exp: Remove the third argument to
16081 gdb_remote_download.
16082 * gdb.guile/scm-frame-args.exp: Likewise.
16083 * gdb.guile/scm-section-script.exp: Likewise.
16084
ddb9f679
YQ
160852014-12-05 Yao Qi <yao@codesourcery.com>
16086
16087 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
16088
86e4ed39
DE
160892014-12-04 Doug Evans <dje@google.com>
16090
16091 * gdb.python/py-objfile.exp: Add tests for
16092 objfile.add_separate_debug_file.
16093
7c50a931
DE
160942014-12-04 Doug Evans <dje@google.com>
16095
16096 * lib/gdb.exp (get_build_id): New function.
16097 (build_id_debug_filename_get): Rewrite to use it.
16098 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
16099
621661e3
MR
161002014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
16101
16102 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
16103 `method(long)', not just 0x0.
16104 * gdb.cp/nsalias.exp: Align code labels to 4.
16105 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
16106 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
16107 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
16108 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
16109 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
16110 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
16111
29f0c3b7
DE
161122014-12-02 Doug Evans <dje@google.com>
16113
e1e061e7 16114 PR symtab/17602
29f0c3b7 16115 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 16116 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
16117 * gdb.cp/anon-ns.exp: Update.
16118
162078c8
NB
161192014-12-02 Nick Bull <nicholaspbull@gmail.com>
16120
16121 * gdb.python/py-events.py (inferior_call_handler): New.
16122 (register_changed_handler, memory_changed_handler): New.
16123 (test_events.invoke): Register new handlers.
16124 * gdb.python/py-events.exp: Add tests for inferior call,
16125 memory_changed and register_changed events.
16126
fdb09caf
AA
161272014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16128
16129 * gdb.base/execl-update-breakpoints.exp: Specify the link address
16130 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
16131 if the linker doesn't understand this.
16132
55cfb2c4
SM
161332014-12-01 Simon Marchi <simon.marchi@ericsson.com>
16134
16135 * gdb.python/python.exp: Change expected reply to help().
16136
9e8cd6df
YQ
161372014-12-01 Yao Qi <yao@codesourcery.com>
16138
16139 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
16140 AC_CONFIG_SUBDIRS(gdb.gdbtk).
16141 * configure: Re-generated.
16142
6c659fc2
SC
161432014-11-28 Siva Chandra Reddy <sivachandra@google.com>
16144
16145 * gdb.cp/chained-calls.cc: New file.
16146 * gdb.cp/chained-calls.exp: New file.
16147 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
16148
d7fc3181
SM
161492014-11-28 Simon Marchi <simon.marchi@ericsson.com>
16150
16151 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
16152 * gdb.dwarf2/symtab-producer.exp: Same.
16153 * gdb.gdb/python-interrupts.exp: Same.
16154 * gdb.gdb/python-selftest.exp: Same.
16155 * gdb.python/py-linetable.exp: Same.
16156 * gdb.python/py-type.exp: Same.
16157 * gdb.python/py-value-cc.exp: Same.
16158 * gdb.python/py-value.exp: Same.
16159
10e79639
YQ
161602014-11-28 Yao Qi <yao@codesourcery.com>
16161
16162 * gdb.base/break-probes.exp: Match library name prefixed with
16163 sysroot.
16164
f28a0564
SM
161652014-11-27 Simon Marchi <simon.marchi@ericsson.com>
16166
16167 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
16168 test expected output. Add parentheses for the call to print.
16169 Remove L suffix from integers.
16170
3fe1ce1d
DE
161712014-11-26 Doug Evans <dje@google.com>
16172
16173 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
16174
84429e27
YQ
161752014-11-22 Yao Qi <yao@codesourcery.com>
16176
16177 * gdb.trace/entry-values.c: Remove asms.
16178 (foo): Add foo_label.
16179 (bar): Add bar_label.
16180 * gdb.trace/entry-values.exp: Remove code computing foo's
16181 length and bar's length.
16182 (Dwarf::assemble): Invoke function_range for bar and use
16183 MACRO_AT_func for foo.
16184
26741859
YQ
161852014-11-22 Yao Qi <yao@codesourcery.com>
16186
16187 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
16188 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
16189 Use .Lgcc43_procstart instead of gcc43.
16190
45e44d27
JB
161912014-11-21 Joel Brobecker <brobecker@adacore.com>
16192
16193 * gdb.ada/n_arr_bound: New testcase.
16194
458c8db8
SDJ
161952014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
16196
16197 PR breakpoints/10737
16198 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
16199 test_catch_syscall_multi_arch.
16200 (test_catch_syscall_multi_arch): New function.
16201
43f3e411
DE
162022014-11-20 Doug Evans <xdje42@gmail.com>
16203
16204 * gdb.base/maint.exp: Update expected output.
16205
0d7b2549
AA
162062014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
16207
16208 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
16209 4-byte instruction on S390.
16210
8908fca5
JB
162112014-11-19 Joel Brobecker <brobecker@adacore.com>
16212
16213 * gdb.ada/arr_arr: New testcase.
16214
4a46959e
JB
162152014-11-19 Joel Brobecker <brobecker@adacore.com>
16216
16217 * gdb.ada/pkd_arr_elem: New Testcase.
16218
470e2f4e
LM
162192014-11-18 Luis Machado <lgustavo@codesourcery.com>
16220
16221 * gdb.reverse/break-precsave: Expect completion message for
16222 core file reads.
16223 * gdb.reverse/consecutive-precsave.exp: Likewise.
16224 * gdb.reverse/finish-precsave.exp: Likewise.
16225 * gdb.reverse/i386-precsave.exp: Likewise.
16226 * gdb.reverse/machinestate-precsave.exp: Likewise.
16227 * gdb.reverse/sigall-precsave.exp: Likewise.
16228 * gdb.reverse/solib-precsave.exp: Likewise.
16229 * gdb.reverse/step-precsave.exp: Likewise.
16230 * gdb.reverse/until-precsave.exp: Likewise.
16231 * gdb.reverse/watch-precsave.exp: Likewise.
16232
a267f3ad
AA
162332014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16234
16235 * gdb.base/bp-permanent.c: Include unistd.h.
16236 * gdb.python/py-framefilter-mi.c (main): Add return type.
16237 * gdb.python/py-framefilter.c (main): Likewise.
16238 * gdb.trace/actions-changed.c (main): Likewise.
16239
12084a9a
AA
162402014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16241
16242 * gdb.mi/until.c: Add eye-catchers.
16243 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
16244 line numbers.
16245
dc7e1a77
AA
162462014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16247
16248 * gdb.base/condbreak.exp: Drop references to removed non-prototype
16249 function header variants in break1.c.
16250 * gdb.base/ena-dis-br.exp: Likewise.
16251 * gdb.base/hbreak2.exp: Likewise.
16252 * gdb.reverse/until-precsave.exp: Drop references to removed
16253 non-prototype function header variants in ur1.c.
16254 * gdb.reverse/until-reverse.exp: Likewise.
16255
41c77605
PM
162562014-11-17 Petr Machata <pmachata@redhat.com>
16257
16258 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
16259 ${_cu_offset_size} bytes abbrev offset.
16260
34248c3a
DE
162612014-11-15 Doug Evans <xdje42@gmail.com>
16262
16263 PR symtab/17559
16264 * gdb.base/line-symtabs.exp: New file.
16265 * gdb.base/line-symtabs.c: New file.
16266 * gdb.base/line-symtabs.h: New file.
16267
646da059
YQ
162682014-11-14 Yao Qi <yao@codesourcery.com>
16269
16270 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
16271 (func): Add label func_label.
16272 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
16273 Replace low_pc and high_pc with MACRO_AT_range.
16274 Replace name, low_pc and high_pc with MACRO_AT_func.
16275
9301ebe6
YQ
162762014-11-14 Yao Qi <yao@codesourcery.com>
16277
16278 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
16279 Replace name, low_pc and high_pc with MACRO_AT_func.
16280
f166b542
YQ
162812014-11-14 Yao Qi <yao@codesourcery.com>
16282
16283 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
16284 produce debug information.
16285 * gdb.dwarf2/implptr-optimized-out.S: Removed.
16286
0f6e71e3
YQ
162872014-11-14 Yao Qi <yao@codesourcery.com>
16288
16289 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
16290 object and get function length.
16291 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
16292 with MACRO_AT_func.
16293 (top-level): Replace gdb_compile and clean_restart with
16294 prepare_for_testing.
16295 * gdb.dwarf2/main.c (main): Add label main_label.
16296
876c4df9
YQ
162972014-11-14 Yao Qi <yao@codesourcery.com>
16298
16299 * lib/dwarf.exp (function_range): New procedure.
16300 (Dwarf::_handle_macro_at_func): New procedure.
16301 (Dwarf::_handle_macro_at_range): New procedure.
16302 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
16303
02ad9cf1
YQ
163042014-11-14 Yao Qi <yao@codesourcery.com>
16305
16306 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
16307 (_handle_attribute): New procedure.
16308
a59add0c
AA
163092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16310
16311 * gdb.ada/cond_lang/foo.c (callme): Add return type.
16312 * gdb.base/call-sc.c (zed): Likewise.
16313 * gdb.base/checkpoint.c (main): Likewise.
16314 * gdb.base/dump.c (main): Likewise.
16315 * gdb.base/gcore.c (main): Likewise.
16316 * gdb.base/huge.c (main): Likewise.
16317 * gdb.base/multi-forks.c (main): Likewise.
16318 * gdb.base/pr10179-a.c (main): Likewise.
16319 * gdb.base/savedregs.c (main): Likewise.
16320 * gdb.base/sigaltstack.c (main): Likewise.
16321 * gdb.base/siginfo.c (main): Likewise.
16322 * gdb.base/structs.c (zed): Likewise.
16323 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
16324 * gdb.mi/mi-syn-frame.c (main): Likewise.
16325 * gdb.mi/until.c (foo, main): Likewise.
16326 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
16327 * gdb.base/solib-weak.c (foo): Declare.
16328 * gdb.base/attach-twice.c: Include stdio.h.
16329 * gdb.base/weaklib1.c: Likewise.
16330 * gdb.base/weaklib2.c: Likewise.
16331 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
16332 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
16333 unistd.h.
16334 * gdb.base/attach-pie-misread.c: Include stdlib.h.
16335 * gdb.mi/mi-exit-code.c: Likewise.
16336 * gdb.base/break-interp-lib.c: Include string.h.
16337 * gdb.base/coremaker.c: Likewise.
16338 * gdb.base/testenv.c: Likewise.
16339 * gdb.python/py-finish-breakpoint.c: Likewise.
16340 * gdb.base/inferior-died.c: Include sys/wait.h.
16341 * gdb.base/fileio.c: Include time.h.
16342 * gdb.base/async-shell.c: Include unistd.h.
16343 * gdb.base/dprintf-non-stop.c: Likewise.
16344 * gdb.base/info-os.c: Likewise.
16345 * gdb.mi/mi-console.c: Likewise.
16346 * gdb.mi/watch-nonstop.c: Likewise.
16347 * gdb.python/py-events.c: Likewise.
16348 * gdb.base/async.c (baz): Move up before its invocation.
16349 * gdb.base/code_elim2.c (my_global_func): Likewise.
16350 * gdb.base/skip-solib-lib.c (multiply): Likewise.
16351 * gdb.base/advance.c (func2): Likewise.
16352
3b5d5997
AA
163532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16354
16355 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
16356 variant.
16357 * gdb.base/annota3.c: Likewise.
16358 * gdb.base/async.c: Likewise.
16359 * gdb.base/average.c: Likewise.
16360 * gdb.base/call-ar-st.c: Likewise.
16361 * gdb.base/call-rt-st.c: Likewise.
16362 * gdb.base/call-sc.c: Likewise.
16363 * gdb.base/call-strs.c: Likewise.
16364 * gdb.base/ending-run.c: Likewise.
16365 * gdb.base/execd-prog.c: Likewise.
16366 * gdb.base/exprs.c: Likewise.
16367 * gdb.base/foll-exec.c: Likewise.
16368 * gdb.base/foll-fork.c: Likewise.
16369 * gdb.base/foll-vfork.c: Likewise.
16370 * gdb.base/funcargs.c: Likewise.
16371 * gdb.base/gcore.c: Likewise.
16372 * gdb.base/jump.c: Likewise.
16373 * gdb.base/langs0.c: Likewise.
16374 * gdb.base/langs1.c: Likewise.
16375 * gdb.base/langs2.c: Likewise.
16376 * gdb.base/mips_pro.c: Likewise.
16377 * gdb.base/nodebug.c: Likewise.
16378 * gdb.base/opaque0.c: Likewise.
16379 * gdb.base/opaque1.c: Likewise.
16380 * gdb.base/recurse.c: Likewise.
16381 * gdb.base/run.c: Likewise.
16382 * gdb.base/scope0.c: Likewise.
16383 * gdb.base/scope1.c: Likewise.
16384 * gdb.base/setshow.c: Likewise.
16385 * gdb.base/setvar.c: Likewise.
16386 * gdb.base/shmain.c: Likewise.
16387 * gdb.base/shr1.c: Likewise.
16388 * gdb.base/shr2.c: Likewise.
16389 * gdb.base/sigall.c: Likewise.
16390 * gdb.base/signals.c: Likewise.
16391 * gdb.base/so-indr-cl.c: Likewise.
16392 * gdb.base/solib2.c: Likewise.
16393 * gdb.base/structs.c: Likewise.
16394 * gdb.base/sum.c: Likewise.
16395 * gdb.base/vforked-prog.c: Likewise.
16396 * gdb.base/watchpoint.c: Likewise.
16397 * gdb.reverse/shr2.c: Likewise.
16398 * gdb.reverse/until-reverse.c: Likewise.
16399 * gdb.reverse/ur1.c: Likewise.
16400 * gdb.reverse/watch-reverse.c: Likewise.
16401
066a77c5
AA
164022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16403
16404 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
16405 variant.
16406 * gdb.base/sepdebug.exp: Drop references to removed code.
16407
4f204ea5
AA
164082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16409
16410 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
16411 variant. Preserve original line numbering.
16412 * gdb.base/list1.c: Likewise.
16413
3b377a3a
AA
164142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16415
16416 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
16417 variant.
16418 * gdb.base/break1.c: Likewise.
16419 * gdb.base/break.exp: Drop references to removed code.
16420
e444df73
AA
164212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16422
16423 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
16424 variant.
16425
8008f2a7
AA
164262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16427
16428 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
16429
a5a06887
AA
164302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16431
16432 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
16433 logic into perform_all_tests() and invoke it with and without
16434 function header prototypes.
16435 (do_function_calls): Remove conditional XFAIL for PR 5318.
16436 (rerun_and_prepare): Remove duplicate code.
16437 (perform_all_tests): New. Main logic moved here.
16438
44dba9b9
AA
164392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16440
16441 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
16442 code guarded by #ifdef NO_PROTOTYPES.
16443 (t_double_many_args): Likewise.
16444 (DEF_FUNC_MANY_ARGS_1): Likewise.
16445 (DEF_FUNC_VALUES_1): Likewise.
16446 (t_structs_ldc): Renamed from t_structs_fc in conditional code
16447 guarded by #ifdef PROTOTYPES.
16448
d1fbcd56
AA
164492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16450
16451 * gdb.mi/mi-console.c: Add eye-catcher.
16452 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
16453 instead of literal line number.
16454
b0e59b8f
AA
164552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16456
16457 * gdb.base/shr2.c: Add eye-catcher.
16458 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
16459 line number.
16460
78f98cca
AA
164612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16462
16463 * gdb.base/jump.c: Add eye-catchers.
16464 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
16465 numbers.
16466
58fa2af0
AA
164672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16468
16469 * gdb.base/execd-prog.c: Add eye-catchers.
16470 * gdb.base/foll-exec.c: Likewise.
16471 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
16472 line numbers.
16473
04e5059b
AA
164742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16475
16476 * gdb.base/ending-run.c: Add eye-catchers.
16477 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
16478 literal line numbers.
16479
dbfdb174
AA
164802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16481
16482 * gdb.base/call-rt-st.c: Add eye-catchers.
16483 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
16484 literal line numbers.
16485
888a2ade
AA
164862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16487
16488 * gdb.base/call-ar-st.c: Add eye-catchers.
16489 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
16490 literal line numbers.
16491
6acc2dde
AA
164922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16493
16494 * gdb.base/average.c: Add eye-catchers.
16495 * gdb.base/sum.c: Likewise.
16496 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
16497 regexps dynamically.
16498
9ecfcd1d
AA
164992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16500
16501 * gdb.base/solib1.c: Add eye-catchers.
16502 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
16503 literal line numbers.
16504
78708b7c
PA
165052014-11-12 Pedro Alves <palves@redhat.com>
16506
16507 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
16508 leader has exited.
16509
af48d08f
PA
165102014-11-12 Pedro Alves <palves@redhat.com>
16511
16512 * gdb.arch/i386-bp_permanent.c: New file.
16513 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
16514 (srcfile): Set to i386-bp_permanent.c.
16515 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
16516 that stepi does not execute the 'leave' instruction, instead of
16517 testing it does execute.
16518 * gdb.base/bp-permanent.c: New file.
16519 * gdb.base/bp-permanent.exp: New file.
16520
af3768e9
DE
165212014-11-10 Doug Evans <xdje42@gmail.com>
16522
16523 PR symtab/17564
16524 * gdb.base/symtab-search-order.exp: New file.
16525 * gdb.base/symtab-search-order.c: New file.
16526 * gdb.base/symtab-search-order-1.c: New file.
16527 * gdb.base/symtab-search-order-shlib-1.c: New file.
16528
9de00a4a
PA
165292014-11-07 Pedro Alves <palves@redhat.com>
16530
16531 PR gdb/17511
16532 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
16533 i?86-*-linux*.
16534
e0f52461
SC
165352014-11-03 Siva Chandra Reddy <sivachandra@google.com>
16536
16537 PR c++/17494
16538 * gdb.cp/pr17494.cc: New file.
16539 * gdb.cp/pr17494.exp: New file.
16540
6ce8c980
YQ
165412014-11-02 Yao Qi <yao@codesourcery.com>
16542
16543 * gdb.python/python.exp: Get working directory and match the
16544 output of "set extended-prompt \\w " with it.
16545
02be9a71
DE
165462014-10-30 Doug Evans <dje@google.com>
16547
16548 * gdb.python/py-objfile.exp: Add tests for setting random attributes
16549 in objfiles.
16550 * gdb.python/py-progspace.exp: Add tests for setting random attributes
16551 in progspaces.
16552
3bdff46b
LM
165532014-10-30 Janis Johnson <janisjo@codesourcery.com>
16554
16555 * gdb.base/fullpath-expand.exp: Skip for a remote host.
16556 * gdb.base/realname-expand.exp: Likewise.
16557 * gdb.linespec/macro-relative.exp: Likewise.
16558
ab917dfb
PA
165592014-10-29 Pedro Alves <palves@redhat.com>
16560
16561 PR gdb/17408
16562 * gdb.threads/schedlock.c (some_function): New function.
16563 (call_function): New global.
16564 (MAYBE_CALL_SOME_FUNCTION): New macro.
16565 (thread_function): Call it.
16566 * gdb.threads/schedlock.exp (get_args): Add description parameter,
16567 and use it instead of a global counter. Adjust all callers.
16568 (get_current_thread): Use "find current thread" for test message
16569 here rather than having all callers pass down the same string.
16570 (goto_loop): New procedure, factored out from ...
16571 (my_continue): ... this.
16572 (step_ten_loops): Change parameter from test message to command to
16573 use. Adjust.
16574 (list_count): Delete global.
16575 (check_result): New procedure, factored out from duplicate top
16576 level code.
16577 (continue tests): Wrap in with_test_prefix.
16578 (test_step): New procedure, factored out from duplicate top level
16579 code.
16580 (top level): Test "step" in combination with all scheduler-locking
16581 modes. Test "next" in combination with all scheduler-locking
16582 modes, and in combination with stepping over a function call or
16583 not.
16584 * gdb.threads/next-bp-other-thread.c: New file.
16585 * gdb.threads/next-bp-other-thread.exp: New file.
16586
d3d4baed
PA
165872014-10-29 Pedro Alves <palves@redhat.com>
16588
16589 PR python/17372
16590 * gdb.python/python.exp: Test a multi-line command that spawns
16591 interactive Python.
16592 * gdb.base/multi-line-starts-subshell.exp: New file.
16593
563e8d85
YQ
165942014-10-29 Yao Qi <yao@codesourcery.com>
16595
16596 * gdb.base/fileio.exp: Make directories on host.
16597
0ea4d52e
YQ
165982014-10-29 Yao Qi <yao@codesourcery.com>
16599
16600 * gdb.base/fileio.c (test_write): Close the file.
16601
7f5ef605
PA
166022014-10-28 Pedro Alves <palves@redhat.com>
16603
16604 PR gdb/12623
16605 * gdb.base/sigstep.c (no_handler): New global.
16606 (main): If 'no_handler is true, set the signal handlers to
16607 SIG_IGN.
16608 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
16609 with_sw_watch and no_handler parameters. Handle them.
16610 (top level) <stepping over handler when stopped at a breakpoint
16611 test>: Add a test axis for testing with a software watchpoint, and
16612 another for testing with the signal handler set to SIG_IGN.
16613 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
16614 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
16615
abbdbd03
PA
166162014-10-28 Pedro Alves <palves@redhat.com>
16617
16618 PR gdb/17511
16619 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
16620 * gdb.base/sigstep.exp (other_handler_location): New global.
16621 (advance): Support stepping into the signal handler, and running
16622 commands while in the handler.
16623 (in_handler_map): New global.
16624 (top level): In the advance test, add combinations for getting
16625 into the handler with stepping commands, and for running commands
16626 in the handler. Add comment descripting the advancei tests.
16627
1df4399f
PA
166282014-10-28 Pedro Alves <palves@redhat.com>
16629
16630 * gdb.base/sigstep.exp: Use build_executable instead of
16631 prepare_for_testing.
16632 (top level): Move code that starts GDB, runs to main and creates a
16633 display to ...
16634 (restart): ... this new procedure.
16635 (top level): Move backtrace from signal handler test to ...
16636 (validate_backtrace): ... this new procedure.
16637 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
16638 with_test_prefix. Always restart GDB.
16639 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
16640 with_test_prefix. Always restart GDB. No need to delete
16641 breakpoints after the test.
16642 (test_skip_handler): Remove prefix parameter.
16643 (skip_over_handler, breakpoint_to_handler)
16644 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
16645 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
16646 restart GDB. No need to delete breakpoints after the test.
16647 (top level): Use foreach to call the test procedures with
16648 different commands.
16649
a5b6e449
PA
166502014-10-28 Pedro Alves <palves@redhat.com>
16651
16652 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
16653 instead of GNATS numbers.
16654 * gdb.base/sigbpt.exp: Likewise.
16655 * gdb.base/siginfo.exp: Likewise.
16656 * gdb.base/sigstep.exp: Likewise.
16657
e5f8a7cc
PA
166582014-10-27 Pedro Alves <palves@redhat.com>
16659
16660 * gdb.base/sigstep.c (dummy): New global.
16661 (main): Issue a couple writes to the new global.
16662 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
16663 procedures.
16664 (skip_over_handler): Use test_skip_handler.
16665 (top level): Call skip_over_handler for stepi and nexti too.
16666 (breakpoint_over_handler): Use test_skip_handler.
16667 (top level): Call breakpoint_over_handler for stepi and nexti too.
16668
763905a3
YQ
166692014-10-27 Yao Qi <yao@codesourcery.com>
16670
16671 * gdb.trace/tfile.c (adjust_function_address)
16672 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16673 function descriptor.
16674
6f259a23
DB
166752014-10-24 Don Breazeal <donb@codesourcery.com>
16676
16677 * gdb.base/foll-fork.exp (test_follow_fork,
16678 catch_fork_child_follow): Check for updated fork messages emitted
16679 from infrun.c.
16680 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16681 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16682 vfork_and_exec_child_follow_through_step): Check for updated vfork
16683 messages emitted from infrun.c.
16684
09dd9a69
PA
166852014-10-24 Pedro Alves <palves@redhat.com>
16686
16687 * gdb.base/corefile.exp: Remove references to ultrix.
16688 * gdb.base/interrupt.exp: Likewise.
16689 * gdb.base/whatis.exp: Likewise.
16690 * gdb.gdb/selftest.exp: Likewise.
16691 * gdb.threads/manythreads.exp: Likewise.
16692 * gdb.threads/print-threads.exp: Likewise.
16693 * gdb.threads/pthreads.exp:: Likewise.
16694 * gdb.threads/schedlock.exp: Likewise.
16695
3433cfa5
SC
166962014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16697
16698 * gdb.cp/non-trivial-retval.cc: Add a test case.
16699 * gdb.cp/non-trivial-retval.exp: Add a test.
16700
092f880b
YQ
167012014-10-20 Yao Qi <yao@codesourcery.com>
16702
16703 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16704 * gdb.python/py-objfile-script-gdb.py: New file.
16705 * gdb.python/py-objfile-script.exp: Update reference to
16706 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16707 of remote_download. Remove the dest file.
16708
acbdb7f3
YQ
167092014-10-20 Yao Qi <yao@codesourcery.com>
16710
16711 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16712 * gdb.base/step-line.exp: Likewise.
16713 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16714 * gdb.dwarf2/dw2-basic.exp: Likewise.
16715 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16716 * gdb.dwarf2/dw2-filename.exp: Likewise.
16717 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16718 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16719 * gdb.dwarf2/dw2-producer.exp: Likewise.
16720 * gdb.dwarf2/mac-fileno.exp: Likewise.
16721 * gdb.python/py-frame-args.exp: Likewise.
16722 * gdb.python/py-framefilter.exp: Likewise.
16723 * gdb.python/py-mi.exp: Likewise.
16724 * gdb.python/py-objfile-script.exp: Likewise
16725 * gdb.python/py-pp-integral.exp: Likewise.
16726 * gdb.python/py-pp-re-notag.exp: Likewise.
16727 * gdb.python/py-prettyprint.exp: Likewise.
16728 * gdb.python/py-section-script.exp: Likewise.
16729 * gdb.python/py-typeprint.exp: Likewise.
16730 * gdb.python/py-xmethods.exp: Likewise.
16731 * gdb.stabs/weird.exp: Likewise.
16732 * gdb.xml/tdesc-regs.exp: Likewise.
16733
bd286a29
KCY
167342014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16735
16736 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16737 (out_cu): Use addr_len for the size of addresses.
16738 (out_line): Likewise. Size DW_LNE_set_address instruction
16739 according to addr_len.
16740 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16741 (FUNC): Add START_INSNS to definition.
16742
673dc4a0
YQ
167432014-10-18 Yao Qi <yao@codesourcery.com>
16744
16745 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16746 gdb_has_argv0 return true.
16747 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16748 check [target_info exists noargs], check [gdb_has_argv0]
16749 instead.
16750 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16751 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16752 procedures.
16753
4ffbba72
DE
167542014-10-17 Doug Evans <dje@google.com>
16755
16756 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16757 event.
16758 * gdb.python/py-events.py: Add clear_objfiles event.
16759
d096d8c1
DE
167602014-10-17 Doug Evans <dje@google.com>
16761
16762 * gdb.python/py-objfile.exp: Test progspace attribute.
16763
a80db015
LM
167642014-10-17 Luis Machado <lgustavo@codesourcery.com>
16765
16766 * gdb.guile/scm-breakpoint.exp: Do not assume any
16767 directory separators when matching source file paths.
16768 * gdb.python/py-breakpoint.exp: Likewise.
16769 * gdb.reverse/break-precsave.exp: Likewise.
16770 * gdb.reverse/break-reverse.exp: Likewise.
16771 * gdb.reverse/consecutive-precsave.exp: Likewise.
16772 * gdb.reverse/finish-precsave.exp: Likewise.
16773 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16774 * gdb.reverse/finish-reverse.exp: Likewise.
16775 * gdb.reverse/i386-precsave.exp: Likewise.
16776 * gdb.reverse/i387-env-reverse.exp: Likewise.
16777 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16778 * gdb.reverse/machinestate-precsave.exp: Likewise.
16779 * gdb.reverse/machinestate.exp: Likewise.
16780 * gdb.reverse/sigall-precsave.exp: Likewise.
16781 * gdb.reverse/solib-precsave.exp: Likewise.
16782 * gdb.reverse/step-precsave.exp: Likewise.
16783 * gdb.reverse/until-precsave.exp: Likewise.
16784 * gdb.reverse/watch-precsave.exp: Likewise.
16785 * gdb.reverse/watch-reverse.exp: Likewise.
16786
b22089ab
YQ
167872014-10-17 Yao Qi <yao@codesourcery.com>
16788
16789 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16790 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16791
6c4486e6
PA
167922014-10-17 Pedro Alves <palves@redhat.com>
16793
16794 PR gdb/17471
16795 * gdb.base/bg-execution-repeat.c: New file.
16796 * gdb.base/bg-execution-repeat.exp: New file.
16797
0ff33695
PA
167982014-10-17 Pedro Alves <palves@redhat.com>
16799
16800 PR gdb/17300
16801 * gdb.base/continue-all-already-running.c: New file.
16802 * gdb.base/continue-all-already-running.exp: New file.
16803
6fdebc3d
PA
168042014-10-17 Pedro Alves <palves@redhat.com>
16805
16806 PR gdb/17472
16807 * gdb.base/annota-input-while-running.c: New file.
16808 * gdb.base/annota-input-while-running.exp: New file.
16809
32a8097b
PA
168102014-10-17 Pedro Alves <palves@redhat.com>
16811
16812 * gdb.base/callfuncs.exp: emove references to osf.
16813 * gdb.base/sigall.exp: Likewise.
16814 * gdb.gdb/selftest.exp: Likewise.
16815 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16816 * gdb.mi/non-stop.c: Likewise.
16817 * gdb.mi/pthreads.c: Likewise.
16818 * gdb.reverse/sigall-precsave.exp: Likewise.
16819 * gdb.reverse/sigall-reverse.exp: Likewise.
16820 * gdb.threads/pthreads.c: Likewise.
16821 * gdb.threads/pthreads.exp: Likewise.
16822
7a3517ff
YQ
168232014-10-17 Yao Qi <yao@codesourcery.com>
16824
16825 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16826 check 'target_info exists noargs'.
16827 (test_command_prompt_position): Likewise.
16828 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16829 Remove "set args".
16830 (progvar_simple_while_test): Likewise.
16831 (progvar_complex_if_while_test): Likewise.
16832 (if_while_breakpoint_command_test): Likewise.
16833 (infrun_breakpoint_command_test): Likewise.
16834 (breakpoint_command_test): Likewise.
16835 (watchpoint_command_test): Likewise.
16836 (bp_deleted_in_command_test): Likewise.
16837 (temporary_breakpoint_commands): Likewise.
16838
bb99c472
YQ
168392014-10-16 Yao Qi <yao@codesourcery.com>
16840
16841 * gdb.base/remotetimeout.exp: Remove noargs checking.
16842
7c16b83e
PA
168432014-10-15 Pedro Alves <palves@redhat.com>
16844
16845 PR breakpoints/9649
16846 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16847 * gdb.base/breakpoint-in-ro-region.exp
16848 (probe_target_hardware_step): New procedure.
16849 (top level): Probe hardware stepping and hardware breakpoint
16850 support. Test stepping through a read-only region, with both
16851 "breakpoint auto-hw" on and off and both "always-inserted" on and
16852 off.
16853
35a49624
IB
168542014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16855
16856 * gdb.dlang/demangle.exp: Update for demangling changes.
16857
2d1c107c
SC
168582014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16859
16860 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16861 * gdb.cp/non-trivial-retval.exp: Add new tests.
16862
778811d5
SC
168632014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16864
16865 PR c++/13403
16866 PR c++/15154
16867 * gdb.cp/non-trivial-retval.cc: New file.
16868 * gdb.cp/non-trivial-retval.exp: New file.
16869
10c5f0a8
YQ
168702014-10-15 Yao Qi <yao@codesourcery.com>
16871
16872 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16873 remote host.
16874
65d7b369
YQ
168752014-10-15 Yao Qi <yao@codesourcery.com>
16876
16877 * gdb.python/py-symbol.exp: Match file base name if host is
16878 remote, otherwise match file name with dir name.
16879 * gdb.python/py-symtab.exp: Likewise.
16880 * gdb.python/python.exp: Likewise.
16881
46dc1394
YQ
168822014-10-15 Yao Qi <yao@codesourcery.com>
16883
16884 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16885 pattern.
16886 * gdb.python/py-symtab.exp: Likewise.
16887 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16888 locationn.
16889
c40cc657
JB
168902014-10-14 Joel Brobecker <brobecker@adacore.com>
16891
16892 * gdb.ada/addr_arith: New testcase.
16893
2abf49e1
MR
168942014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16895
16896 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16897 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16898 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16899 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16900
f7088df3
SDJ
169012014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16902
16903 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16904 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16905 * gdb.arch/stap-eval-lang-ada.exp: New file.
16906
4dc06805
YQ
169072014-10-14 Yao Qi <yao@codesourcery.com>
16908
16909 * gdb.mi/mi-var-child.c (nothing1): New function.
16910 (nothing2): New function.
16911 (do_children_tests): Set function pointers by nothing1 and
16912 nothing2.
16913 * gdb.mi/mi-var-child.exp: Step over new added statements.
16914 Update test to match the new output.
16915 * gdb.mi/var-cmd.c (nothing1): New function.
16916 (nothing2): New function.
16917 (do_children_tests): Set function pointers by nothing1 and
16918 nothing2.
16919 * gdb.mi/mi-var-display.exp: Update test to match output.
16920 Step to the line specified by $line_dct_nothing.
16921 Increase the number of lines to step.
16922
46a93de2
YQ
169232014-10-14 Yao Qi <yao@codesourcery.com>
16924
16925 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16926 tests.
16927 * gdb.mi/mi2-var-child.exp: Likewise.
16928
14ea52ee
DE
169292014-10-13 Doug Evans <dje@google.com>
16930
16931 * gdb.python/py-objfile.exp: Change name of file name test.
16932
e5c6e92b
DE
169332014-10-13 Doug Evans <dje@google.com>
16934
16935 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16936 from the start of the CU.
16937
c780cc2f
JK
169382014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16939 Yao Qi <yao@codesourcery.com>
16940
16941 Fix "save breakpoints" for "catch" command.
16942 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16943 Remove -nonewline. Match also the added "main" line.
16944
99894e11
JK
169452014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16946
16947 Fix "save breakpoints" for "disable $bpnum" command.
16948 * gdb.base/save-bp.c (main): Add label.
16949 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16950
6e1ac5a3
JK
169512014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16952
16953 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16954
754dd2b0
YQ
169552014-10-11 Yao Qi <yao@codesourcery.com>
16956
16957 * gdb.server/server-kill.exp: Execute command
16958 "set remote trace-status-packet on" before "tstatus".
16959
f90183d7
YQ
169602014-10-11 Yao Qi <yao@codesourcery.com>
16961
16962 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16963 (main): Call getppid.
16964 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16965 and continue to it. Read variable "server_pid".
16966
bf40a607
YQ
169672014-10-11 Yao Qi <yao@codesourcery.com>
16968
16969 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16970
052ca370
YQ
169712014-10-11 Yao Qi <yao@codesourcery.com>
16972
16973 * gdb.threads/thread-find.exp: Don't execute command
16974 "info threads".
16975 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16976 * gdb.threads/linux-dp.exp: Don't check the condition
16977 $threads_created equals to zero.
16978
3831839c
PA
169792014-10-10 Pedro Alves <palves@redhat.com>
16980
16981 * gdb.base/bigcore.exp: Remove references to IRIX.
16982 * gdb.base/funcargs.exp: Likewise.
16983 * gdb.base/interrupt.exp: Likewise.
16984 * gdb.base/mips_pro.exp: Likewise.
16985 * gdb.base/nodebug.exp: Likewise.
16986 * gdb.base/setvar.exp: Likewise.
16987 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16988
8b9a549d
PA
169892014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16990 Pedro Alves <palves@redhat.com>
16991
16992 PR symtab/14466
16993 * gdb.base/vdso-warning.c: New file.
16994 * gdb.base/vdso-warning.exp: New file.
16995
d48ba5e8
DE
169962014-10-02 Doug Evans <dje@google.com>
16997
16998 * gdb.base/structs.c (main): Don't run forever.
16999
2278c276
PA
170002014-10-02 Pedro Alves <palves@redhat.com>
17001
17002 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
17003 (top level) <stop threads 1, stop threads 2>: Use it.
17004
b57bacec
PA
170052014-10-02 Pedro Alves <palves@redhat.com>
17006
17007 * gdb.threads/break-while-running.exp (test): Add new
17008 'update_thread_list' argument. Skip "info threads" if false.
17009 (top level): Add new 'update_thread_list' axis.
17010
13fd3ff3
PA
170112014-10-02 Pedro Alves <palves@redhat.com>
17012
17013 PR breakpoints/17431
17014 * gdb.base/execl-update-breakpoints.c: New file.
17015 * gdb.base/execl-update-breakpoints.exp: New file.
17016
0fec99e8
PA
170172014-10-01 Pedro Alves <palves@redhat.com>
17018
17019 * gdb.base/breakpoint-in-ro-region.c: New file.
17020 * gdb.base/breakpoint-in-ro-region.exp: New file.
17021
2ddf4301
SM
170222014-10-01 Simon Marchi <simon.marchi@ericsson.com>
17023
17024 * gdb.mi/mi-exit-code.exp: New file.
17025 * gdb.mi/mi-exit-code.c: New file.
17026
6a5f3f43
YQ
170272014-09-30 Yao Qi <yao@codesourcery.com>
17028
17029 * lib/prelink-support.exp (build_executable_own_libs): Error if
17030 the target isn't native.
17031
345bcc73
YQ
170322014-09-30 Yao Qi <yao@codesourcery.com>
17033
17034 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
17035 false.
17036
a25a5a45
PA
170372014-09-22 Pedro Alves <palves@redhat.com>
17038
17039 * gdb.threads/break-while-running.exp: New file.
17040 * gdb.threads/break-while-running.c: New file.
17041
00ba3162
YQ
170422014-09-19 Yao Qi <yao@codesourcery.com>
17043
17044 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
17045 Invoke test. Restart GDB with --readnow and invoke test again.
17046
c3b7b696
YQ
170472014-09-19 Yao Qi <yao@codesourcery.com>
17048
17049 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
17050 proc set_breakpoint_on_gcd_function. Invoke
17051 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
17052 invoke set_breakpoint_on_gcd_function again.
17053
2b4fd423
DE
170542014-09-18 Doug Evans <dje@google.com>
17055
17056 * gdb.dwarf2/symtab-producer.exp: New file.
17057
a5947601
SDJ
170582014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17059
17060 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
17061 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
17062 * gdb.base/global-var-nested-by-dso.c: Likewise.
17063 * gdb.base/global-var-nested-by-dso.exp: Likewise.
17064
91c19059
SDJ
170652014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17066 Pedro Alves <palves@redhat.com>
17067
17068 * gdb.base/watch-bitfields.exp: Pass string other than test file
17069 name to prepare_for_testing.
17070 (watch): New procedure.
17071 (expect_watchpoint): Use with_test_prefix.
17072 (top level): Factor out tests to ...
17073 (test_watch_location, test_regular_watch): ... these new
17074 procedures, and use with_test_prefix and gdb_continue_to_end.
17075
bb9d5f81
PP
170762014-09-16 Patrick Palka <patrick@parcs.ath.cx>
17077
17078 PR breakpoints/12526
17079 * gdb.base/watch-bitfields.exp: New file.
17080 * gdb.base/watch-bitfields.c: New file.
17081
635856f5
PA
170822014-09-16 Pedro Alves <palves@redhat.com>
17083
17084 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
17085 software and hardware addresses, not software address against
17086 itself.
17087
7280ceea
PA
170882014-09-16 Pedro Alves <palves@redhat.com>
17089
17090 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
17091 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
17092
428b16bd
PA
170932014-09-16 Pedro Alves <palves@redhat.com>
17094
17095 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
17096 files.
17097 * gdb.base/a2-run.exp: Remove all code guarded by istarget
17098 "*-*-vxworks*" throughout.
17099 * gdb.base/break.exp: Likewise.
17100 * gdb.base/default.exp: Likewise.
17101 * gdb.base/scope.exp: Likewise.
17102 * gdb.base/sepdebug.exp: Likewise.
17103 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
17104 throughout.
17105 * gdb.base/run.c: Likewise.
17106 * gdb.base/sepdebug.c: Likewise.
17107 * gdb.hp/gdb.aCC/run.c: Likewise.
17108 * gdb.reverse/until-reverse.c: Likewise.
17109 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
17110
666d413c
YQ
171112014-09-16 Yao Qi <yao@codesourcery.com>
17112
17113 * boards/local-remote-host-native.exp: New file.
17114
57cbd724
DE
171152014-09-14 Doug Evans <xdje42@gmail.com>
17116
17117 * gdb.threads/queue-signal.c (thread_count): New variable.
17118 (thread_count_mutex, thread_count_condvar): New variables.
17119 (incr_thread_count, wait_all_threads_running): New functions.
17120 (main): Wait for all threads to be in their thread functions.
17121
81219e53
DE
171222014-09-13 Doug Evans <xdje42@gmail.com>
17123
17124 * gdb.threads/queue-signal.c: New file.
17125 * gdb.threads/queue-signal.exp: New file.
17126
3714cea7
DE
171272014-09-13 Doug Evans <xdje42@gmail.com>
17128
17129 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
17130 be consistent with what default_gdb_init uses.
17131 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
17132 the plain text of the prompt. Add some logging printfs.
17133 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
17134
fa43b1d7
PA
171352014-09-12 Pedro Alves <palves@redhat.com>
17136
17137 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
17138 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
17139 * gdb.arch/i386-size-overlap.exp: Likewise.
17140 * gdb.arch/i386-size.exp: Likewise.
17141 * gdb.arch/i386-unwind.exp: Likewise.
17142 * gdb.base/a2-run.exp: Likewise.
17143 * gdb.base/break.exp: Likewise.
17144 * gdb.base/charset.exp: Likewise.
17145 * gdb.base/chng-syms.exp: Likewise.
17146 * gdb.base/commands.exp: Likewise.
17147 * gdb.base/dbx.exp: Likewise.
17148 * gdb.base/find.exp: Likewise.
17149 * gdb.base/funcargs.exp: Likewise.
17150 * gdb.base/jit-simple.exp: Likewise.
17151 * gdb.base/reread.exp: Likewise.
17152 * gdb.base/sepdebug.exp: Likewise.
17153 * gdb.base/step-bt.exp: Likewise.
17154 * gdb.cp/mb-inline.exp: Likewise.
17155 * gdb.cp/mb-templates.exp: Likewise.
17156 * gdb.objc/basicclass.exp: Likewise.
17157 * gdb.threads/killed.exp: Likewise.
17158
9d9bf2df
EBM
171592014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17160
17161 PR tdep/17379
17162 * gdb.arch/powerpc-stackless.S: New file.
17163 * gdb.arch/powerpc-stackless.exp: New file.
17164
1cf2f1b0
JK
171652014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17166
17167 * gdb.base/attach.c: Include unistd.h.
17168 (main): Call alarm. Add label postloop.
17169 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
17170 gdb_breakpoint, gdb_continue_to_breakpoint.
17171 (test_command_line_attach_run): Kill ${testpid} in one exit path.
17172
98880d46
PA
171732014-09-11 Pedro Alves <palves@redhat.com>
17174
17175 PR gdb/17347
17176 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
17177 * gdb.base/attach.exp (test_command_line_attach_run): New
17178 procedure.
17179 (top level): Call it.
17180
4c92ff2c
PA
171812014-09-11 Pedro Alves <palves@redhat.com>
17182
17183 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
17184 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
17185 (do_command_attach_tests): Use spawn_wait_for_attach.
17186 * gdb.base/solib-overlap.exp: Likewise.
17187 * gdb.multi/multi-attach.exp: Likewise.
17188 * gdb.python/py-prompt.exp: Likewise.
17189 * gdb.python/py-sync-interp.exp: Likewise.
17190 * gdb.server/ext-attach.exp: Likewise.
17191
3adc1a7d
GKB
171922014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
17193
17194 * gdb.fortran/array-element.exp: Remove unexpected "continue"
17195 command in testcase. Simplify testcase.
17196
96334934
JB
171972014-09-10 Joel Brobecker <brobecker@adacore.com>
17198
17199 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
17200
eb479039
JB
172012014-09-10 Joel Brobecker <brobecker@adacore.com>
17202
17203 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
17204
deede10c
JB
172052014-09-10 Joel Brobecker <brobecker@adacore.com>
17206
17207 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
17208
7828a5f5
JB
172092014-09-10 Joel Brobecker <brobecker@adacore.com>
17210
17211 * gdb.dwarf2/dynarr-ptr.c: New file.
17212 * gdb.dwarf2/dynarr-ptr.exp: New file.
17213
33aeebcf
MR
172142014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17215
17216 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
17217 of 30 rather than hardcoding 120 for a slow test case. Take the
17218 `gdb,timeout' target setting into account for this calculation.
17219 Don't extend the timeout for the test cases that don't need it.
17220
7b415901
MR
172212014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17222
17223 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
17224 a factor of 2 for a slow test case. Take the `gdb,timeout'
17225 target setting into account for this calculation.
17226 * gdb.reverse/until-precsave.exp: Increase the timeout by
17227 a factor of 15 and 3 respectively rather than adding 120
17228 for a pair of slow test cases. Take the `gdb,timeout'
17229 target setting into account for this calculation.
17230
4a40f85a
MR
172312014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17232
17233 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
17234 timeout, don't pass one down to gdb_expect.
17235 (gdb_expect): Rework timeout selection.
17236
09635af7
MR
172372014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17238
17239 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
17240 exception on timeout.
17241 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
17242 (gdbserver_start_extended): Catch any `gdbserver_start' error
17243 exceptions.
17244 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
17245 * lib/mi-support.exp (mi_gdb_target_load): Catch any
17246 `gdbserver_gdb_load' error exceptions.
17247
2bdd10b7
MR
172482014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17249
17250 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
17251 120 on waiting for the TCP socket to open.
17252
316935f0
DE
172532014-09-09 Doug Evans <xdje42@gmail.com>
17254
17255 * gdb.base/default.exp (show_conv_list): Add _caller_is,
17256 _caller_matches, _any_caller_is, _any_caller_matches.
17257
83740597
DE
172582014-09-09 Doug Evans <xdje42@gmail.com>
17259
17260 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
17261
4c122fc3
YQ
172622014-09-09 Yao Qi <yao@codesourcery.com>
17263
17264 * gdb.mi/mi-var-display.exp: Set print symbol off.
17265
a9f116cb
GKB
172662014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
17267
17268 PR gdb/17035
17269 * gdb.base/commands.exp: Add tests to verify user-defined
17270 commands with empty bodies.
17271 * gdb.python/py-cmd.exp: Test that we don't show user-defined
17272 python commands in `show user command`.
17273 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
17274 scheme commands in `show user command`.
17275
c75bd3a2
JK
172762014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17277
17278 PR python/17355
17279 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
17280 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
17281 * gdb.python/py-framefilter-invalidarg.exp: New file.
17282 * gdb.python/py-framefilter-invalidarg.py: New file.
17283
faa42425
DE
172842014-09-06 Doug Evans <xdje42@gmail.com>
17285
17286 PR 15276
17287 * gdb.python/py-caller-is.c: New file.
17288 * gdb.python/py-caller-is.exp: New file.
17289
474ca4f6
SDJ
172902014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
17291
17292 PR gdb/17235
17293 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
17294 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
17295
eb0b0463
SDJ
172962014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
17297
17298 PR fortran/17237
17299 * gdb.fortran/print-formatted.exp: New file.
17300 * gdb.fortran/print-formatted.f90: Likewise.
17301
5f3b99cf
SS
173022014-09-03 Sasha Smundak <asmundak@google.com>
17303
17304 * gdb.python/py-frame.exp: Test Frame.read_register.
17305
7d793aa9
SDJ
173062014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
17307
17308 PR python/16699
17309 * gdb.python/py-completion.exp: New file.
17310 * gdb.python/py-completion.py: Likewise.
17311
fb0576e9
DE
173122014-08-28 Doug Evans <dje@google.com>
17313
17314 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
17315 eax,etc. are live with values set by gdb and thus the compiler can't
17316 use them.
17317 * gdb.arch/i386-pseudo.c (main): Ditto.
17318
ee92b0dd
DE
173192014-08-27 Doug Evans <dje@google.com>
17320
17321 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
17322
6649db35
DE
173232014-08-25 Doug Evans <dje@google.com>
17324
17325 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
17326 (main): Ditto.
17327
564b7600
DE
173282014-08-25 Doug Evans <dje@google.com>
17329
17330 * gdb.threads/thread-execl.exp: #include <stdio.h>.
17331
3881fb67
YQ
173322014-08-24 Yao Qi <yao@codesourcery.com>
17333
17334 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
17335 symbol off.
17336 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
17337
a05a36a5
DE
173382014-08-22 Doug Evans <dje@google.com>
17339
17340 PR 17276
17341 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
17342 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
17343 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
17344
7c343b48
YQ
173452014-08-22 Yao Qi <yao@codesourcery.com>
17346
17347 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
17348 * gdb.python/py-finish-breakpoint2.exp: Likewise.
17349 * gdb.python/python.exp: Likewise. Use .py file on the host
17350 instead of the build.
17351
22fd09ae
JK
173522014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17353
17354 * gdb.threads/gcore-stale-thread.c: New file.
17355 * gdb.threads/gcore-stale-thread.exp: New file.
17356
a8454a7c
PA
173572014-08-21 Pedro Alves <palves@redhat.com>
17358
17359 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
17360 * gdb.base/gcore-relro-pie.exp: Likewise.
17361 * gdb.base/gcore-relro.exp: Likewise.
17362 * gdb.base/gcore.exp: Likewise.
17363 * gdb.base/print-symbol-loading.exp: Likewise.
17364 * gdb.threads/gcore-thread.exp: Likewise.
17365 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
17366
2a31c623
PA
173672014-08-20 Pedro Alves <palves@redhat.com>
17368 Jan Kratochvil <jan.kratochvil@redhat.com>
17369
17370 * Makefile.in (EXTRA_RULES, CC): New variables, get from
17371 configure.
17372 (EXPECT): Handle READ1 being set.
17373 (all): Depend on EXTRA_RULES.
17374 (check-read1, expect-read1, read1.so, read1): New rules.
17375 * README (Testsuite Parameters): Document the READ1 make variable.
17376 (Race detection): New section.
17377 * configure: Regenerate.
17378 * configure.ac: If build==host==target, and running under a
17379 GNU/glibc system, add read1 to the extra Makefile rules.
17380 (EXTRA_RULES): AC_SUBST it.
17381 * lib/read1.c: New file.
17382
d36430db
JB
173832014-08-20 Joel Brobecker <brobecker@adacore.com>
17384
17385 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
17386 the handling of variables declared as a typedef to an array
17387 which a DW_AT_data_location attribute.
17388
9a0dc9e3
PA
173892014-08-19 Andrew Burgess <aburgess@broadcom.com>
17390 Pedro Alves <palves@redhat.com>
17391
17392 PR symtab/14604
17393 PR symtab/14605
17394 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
17395 gdb_test.
17396
0718a8da
PA
173972014-08-19 Pedro Alves <palves@redhat.com>
17398
17399 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
17400
13b448cd
YQ
174012014-08-19 Yao Qi <yao@codesourcery.com>
17402
17403 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
17404 right line.
17405
1cbf5077
DB
174062014-08-18 David Blaikie <dblaikie@gmail.com>
17407
17408 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
17409
bf0fae19
JB
174102014-08-18 Joel Brobecker <brobecker@adacore.com>
17411
17412 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
17413 attribute in array range.
17414
3c8c5dcc
JB
174152014-08-18 Joel Brobecker <brobecker@adacore.com>
17416
17417 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
17418
e66d4446
SC
174192014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17420
17421 PR c++/17132
17422 * gdb.cp/pr17132.cc: New file.
17423 * gdb.cp/pr17132.exp: New file.
17424
940df408
SC
174252014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17426
17427 * gdb.python/py-xmethods.py (A_getarrayind)
17428 (E_method_char_worker.__call__, E_method_int_worker.__call__):
17429 Use 'print' with function call syntax.
17430 (E_method_matcher.match): Fix tab vs space indentation mixup.
17431
ebcc6c3a
YQ
174322014-08-15 Yao Qi <yao@codesourcery.com>
17433
17434 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
17435 false.
17436
775e0f04
YQ
174372014-08-15 Yao Qi <yao@codesourcery.com>
17438
17439 * gdb.cp/casts.exp: Set print symbol off.
17440 * gdb.cp/class2.exp: Likewise.
17441 * gdb.cp/overload.exp: Likewise.
17442 * gdb.cp/templates.exp: Likewise.
17443
d769e349
DE
174442014-08-11 Doug Evans <dje@google.com>
17445
17446 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
17447 (test_load_shlib): Update.
17448
20c6f1e1
YQ
174492014-08-09 Yao Qi <yao@codesourcery.com>
17450
17451 * gdb.base/display.exp: Invoke is_address_zero_readable.
17452 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
17453 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17454 * gdb.base/hbreak-unmapped.exp: Return if
17455 is_address_zero_readable returns true.
17456 * gdb.base/signest.exp: Likewise.
17457 * gdb.base/signull.exp: Likewise.
17458 * gdb.base/sigbpt.exp: Likewise.
17459 * gdb.guile/scm-disasm.exp: Do the test if
17460 is_address_zero_readable returns false.
17461 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
17462 * gdb.python/py-arch.exp: Likewise.
17463 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
17464 * lib/gdb.exp (is_address_zero_readable): New proc.
17465
5792e8e3
YQ
174662014-08-09 Yao Qi <yao@codesourcery.com>
17467
17468 PR testsuite/13443
17469 * gdb.mi/mi-var-display.exp: Make test messages unique.
17470
3cecbbbe
TT
174712014-08-04 Tom Tromey <tromey@redhat.com>
17472
17473 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
17474 target 0".
17475
00b51ff5
TT
174762014-08-04 Tom Tromey <tromey@redhat.com>
17477
17478 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
17479 "target_resume".
17480
6908c509
JB
174812014-08-01 Joel Brobecker <brobecker@adacore.com>
17482
17483 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
17484 inner_vla_struct_object_size.
17485 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
17486 as xfail.
17487
cc6563d2
PA
174882014-07-30 Pedro Alves <palves@redhat.com>
17489
17490 * gdb.threads/signal-command-handle-nopass.exp (test): Add
17491 comment.
17492
7e09a223
YQ
174932014-07-29 Yao Qi <yao@codesourcery.com>
17494
17495 PR gdb/17206
17496 * gdb.base/until-nodebug.exp: New.
17497
7ebdbe92
DE
174982014-07-28 Doug Evans <xdje42@gmail.com>
17499
17500 PR guile/17203
17501 * gdb.guile/scm-parameter.exp: Add tests for trying to create
17502 previously existing parameter, and previously ambiguously spelled
17503 parameter.
17504
fdb1adc6
WN
175052014-07-28 Will Newton <will.newton@linaro.org>
17506
17507 * gdb.base/varargs.exp: Remove KFAILs for ARM.
17508
186fcde0
DE
175092014-07-26 Ludovic Courtès <ludo@gnu.org>
17510 Doug Evans <xdje42@gmail.com>
17511
17512 PR guile/17146
17513 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
17514
70509625
PA
175152014-07-25 Pedro Alves <palves@redhat.com>
17516
17517 * gdb.threads/signal-command-handle-nopass.c: New file.
17518 * gdb.threads/signal-command-handle-nopass.exp: New file.
17519 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
17520 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
17521 * gdb.threads/signal-delivered-right-thread.c: New file.
17522 * gdb.threads/signal-delivered-right-thread.exp: New file.
17523
c3f814a1
PA
175242014-07-25 Pedro Alves <palves@redhat.com>
17525
17526 * gdb.base/double-prompt-target-event-error.exp
17527 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
17528 match.
17529 (cancel_pagination_in_target_event): Rework double prompt
17530 detection.
17531 * gdb.base/paginate-after-ctrl-c-running.exp
17532 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
17533 <return>' match.
17534 * gdb.base/paginate-bg-execution.exp
17535 (test_bg_execution_pagination_return)
17536 (test_bg_execution_pagination_cancel): Remove '-notransfer
17537 <return>' matches.
17538 * gdb.base/paginate-execution-startup.exp
17539 (test_fg_execution_pagination_return)
17540 (test_fg_execution_pagination_cancel): Remove '-notransfer
17541 <return>' matches.
17542 * gdb.base/paginate-inferior-exit.exp
17543 (test_paginate_inferior_exited): Remove '-notransfer <return>'
17544 match.
17545 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
17546 * lib/gdb.exp (pagination_prompt): Run text through
17547 string_to_regexp.
17548 (gdb_test_multiple): Match $pagination_prompt instead of
17549 "<return>".
17550 (string_to_regexp): Move to lib/gdb-utils.exp.
17551
e214cf6c
JK
175522014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17553
17554 * gdb.arch/amd64-entry-value-paramref.S: New file.
17555 * gdb.arch/amd64-entry-value-paramref.cc: New file.
17556 * gdb.arch/amd64-entry-value-paramref.exp: New file.
17557 * gdb.arch/amd64-optimout-repeat.S: New file.
17558 * gdb.arch/amd64-optimout-repeat.c: New file.
17559 * gdb.arch/amd64-optimout-repeat.exp: New file.
17560
17d0c5c8
JK
175612014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17562
17563 PR gdb/17170
17564 * gdb.base/statistics.exp: New file.
17565
b8b8facf
DE
175662014-07-17 Doug Evans <dje@google.com>
17567
74b49205 17568 PR gdb/17170
b8b8facf
DE
17569 * gdb.base/maint.exp: Update testing of per-command stats.
17570
1b5d0ab3
PA
175712014-07-16 Pedro Alves <palves@redhat.com>
17572
17573 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
17574 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
17575 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
17576 (tfile_write_buf): New functions.
17577 (add_memory_block): Rewrite using the above.
17578 (adjust_function_address): New function.
17579 (FUNCTION_ADDRESS): New macro.
17580 (write_basic_trace_file): Remove short_x local, and use
17581 tfile_write_16. Change type of func_addr local to unsigned long
17582 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
17583 here. Cast argument of add_memory_block to char pointer.
17584 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
17585 (main): Remove parameters.
17586 * gdb.trace/tfile.exp: Remove nowarnings.
17587
4d974e88
SM
175882014-07-15 Simon Marchi <simon.marchi@ericsson.com>
17589
17590 * gdb.base/debug-expr.exp: Test string evaluation with
17591 "debug expression" on.
17592
41e99568
PA
175932014-07-15 Pedro Alves <palves@redhat.com>
17594
17595 * gdb.base/reread.exp: Use clean_restart.
17596
487d9753
PL
175972014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
17598
17599 * gdb.arch/avr-flash-qualifer.c: New.
17600 * gdb.arch/avr-flash-qualifer.exp: New.
17601
cc1c52ad
PA
176022014-07-14 Pedro Alves <palves@redhat.com>
17603
17604 * gdb.base/paginate-after-ctrl-c-running.c: New file.
17605 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
17606
1e973570
PA
176072014-07-14 Pedro Alves <palves@redhat.com>
17608
17609 * gdb.base/double-prompt-target-event-error.c: New file.
17610 * gdb.base/double-prompt-target-event-error.exp: New file.
17611
93d6eb10
PA
176122014-07-14 Pedro Alves <palves@redhat.com>
17613
17614 PR gdb/17072
17615 * gdb.base/paginate-inferior-exit.c: New file.
17616 * gdb.base/paginate-inferior-exit.exp: New file.
17617
0017922d
PA
176182014-07-14 Pedro Alves <palves@redhat.com>
17619
17620 PR gdb/17072
17621 * gdb.base/paginate-bg-execution.c: New file.
17622 * gdb.base/paginate-bg-execution.exp: New file.
17623
94696ad3
PA
176242014-07-14 Pedro Alves <palves@redhat.com>
17625
17626 PR gdb/17072
17627 * gdb.base/paginate-execution-startup.c: New file.
17628 * gdb.base/paginate-execution-startup.exp: New file.
17629 * lib/gdb.exp (pagination_prompt): New global.
17630 (default_gdb_spawn): New procedure, factored out from
17631 default_gdb_spawn.
17632 (default_gdb_start): Adjust to call default_gdb_spawn.
17633 (gdb_spawn): New procedure.
17634
bd293940
PA
176352014-07-14 Pedro Alves <palves@redhat.com>
17636
17637 * lib/gdb.exp (gdb_assert): New procedure.
17638 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
17639
c933f875
PA
176402014-07-14 Pedro Alves <palves@redhat.com>
17641
17642 * gdb.base/execution-termios.c: New file.
17643 * gdb.base/execution-termios.exp: New file.
17644
d98b7a16
TT
176452014-07-14 Tom Tromey <tromey@redhat.com>
17646
17647 * gdb.cp/vla-cxx.cc: New file.
17648 * gdb.cp/vla-cxx.exp: New file.
17649
548740d6
TT
176502014-07-14 Tom Tromey <tromey@redhat.com>
17651
17652 * gdb.reverse/rerun-prec.c: New file.
17653 * gdb.reverse/rerun-prec.exp: New file.
17654
a25eb028
MR
176552014-07-12 Maciej W. Rozycki <macro@mips.com>
17656 Maciej W. Rozycki <macro@codesourcery.com>
17657
17658 * lib/gdb-utils.exp: New file.
17659 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
17660 inline `gdb_init_command' processing.
17661 (gdb_start_cmd): Likewise.
17662 * lib/mi-support.exp (mi_run_cmd): Likewise.
17663 * README: Document `gdb_init_command' and `gdb_init_commands'.
17664
218c2655
JK
176652014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17666
17667 Fix false FAIL running under a very long directory name.
17668 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
17669 and "set print elements 10000". Twice.
17670
5401fde3
YQ
176712014-07-11 Yao Qi <yao@codesourcery.com>
17672
17673 * gdb.base/exprs.exp: "set print symbol off".
17674
e76126e8
PA
176752014-07-11 Pedro Alves <palves@redhat.com>
17676
17677 * gdb.threads/kill.c: New file.
17678 * gdb.threads/kill.exp: New file.
17679
2d6f0de6
YQ
176802014-07-10 Yao Qi <yao@codesourcery.com>
17681
17682 * gdb.trace/tfile.c (write_basic_trace_file)
17683 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17684 address written to trace file.
17685
7180e04a
PA
176862014-07-09 Pedro Alves <palves@redhat.com>
17687
17688 * gdb.base/attach-wait-input.exp: New file.
17689 * gdb.base/attach-wait-input.c: New file.
17690
9a9a7608
AB
176912014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17692
17693 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17694 setting up test structures.
17695 (main): Call new test function.
17696 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17697 test function, continue into test function and walk test
17698 structures.
17699
161ac41e
YQ
177002014-07-02 Yao Qi <yao@codesourcery.com>
17701
17702 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17703 'bar_start' at the beginning of functions 'foo' and 'bar'
17704 respectively.
17705 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17706 instead of 'foo' and 'bar'.
17707
1f267ae3
MM
177082014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17709
17710 * gdb.btrace/segv.exp: New.
17711 * gdb.btrace/segv.c: New.
17712
2b239efb
LM
177132014-07-02 Luis Machado <lgustavo@codesourcery.com>
17714
17715 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17716 instruction.
17717
cf363f18
MW
177182014-06-30 Mark Wielaard <mjw@redhat.com>
17719
17720 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17721 vulture, vilify, villar): New volatile array constants.
17722 (vindictive, vegetation): New const volatile array constants.
17723 * gdb.base/volatile.exp: Test volatile and const volatile array
17724 types.
17725
aebf9d24
AA
177262014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17727
17728 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17729 target lacks support for awatch, rwatch, or hbreak.
17730
b67a2c6f
YQ
177312014-06-27 Yao Qi <yao@codesourcery.com>
17732
17733 * gdb.multi/dummy-frame-restore.exp: New.
17734 * gdb.multi/dummy-frame-restore.c: New.
17735
aef92902
MM
177362014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17737
17738 * gdb.btrace/gcore.exp: New.
17739
8e9db26e
PA
177402014-06-23 Pedro Alves <palves@redhat.com>
17741
17742 * gdb.base/watchpoint-reuse-slot.c: New file.
17743 * gdb.base/watchpoint-reuse-slot.exp: New file.
17744
70afc5b7
SC
177452014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17746
17747 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17748 progspace's filename in 'info', 'enable' and 'disable' command
17749 tests.
17750
b972bd9c
JK
177512014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17752
17753 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17754 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17755 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17756
125f8a3d
GB
177572014-06-20 Gary Benson <gbenson@redhat.com>
17758
17759 * gdb.arch/i386-avx.exp: Fix include file location.
17760 * gdb.arch/i386-sse.exp: Likewise.
17761
3ed9baed
IB
177622014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17763
17764 * gdb.dlang/expression.exp: New file.
17765
034f788c
PA
177662014-06-19 Pedro Alves <palves@redhat.com>
17767
17768 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17769 out from ...
17770 (top level): ... here. Iterate running tests under different
17771 scheduler-locking settings.
17772
45371d0c
LM
177732014-06-18 Luis Machado <lgustavo@codesourcery.com>
17774
17775 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17776 to DW_FORM_addr and use non-zero addresses.
17777
5d376983
SC
177782014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17779
17780 PR gdb/17017
17781 * gdb.python/py-xmethods.cc: Add global function call counters and
17782 increment them in their respective functions. Remove "cout"
17783 statements.
17784 * gdb.python/py-xmethods.exp: Make tests check the global function
17785 call counters instead of depending on inferior IO.
17786
a1aa2221
LM
177872014-06-18 Don Breazeal <donb@codesourcery.com>
17788
17789 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17790 Deleted procedure.
17791 (explicit_fork_parent_follow): Deleted procedure.
17792 (explicit_fork_child_follow): Deleted procedure.
17793 (test_follow_fork): New procedure.
17794 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 17795 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
17796 procedure calls.
17797
0fc05997
YQ
177982014-06-17 Yao Qi <yao@codesourcery.com>
17799
17800 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17801 CP1252.
17802
70795c52
LM
178032014-06-17 Luis Machado <lgustavo@codesourcery.com>
17804
17805 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17806 Initialize ptr and S explicitly.
17807 (skip_type_update_when_not_use_rtti_test): Likewise.
17808
6be47f0c
KS
178092014-06-16 Keith Seitz <keiths@redhat.com>
17810
17811 PR mi/15863
17812 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17813 the inferior is started.
17814
d03de421
PA
178152014-06-16 Pedro Alves <palves@redhat.com>
17816
17817 * gdb.base/break-main-file-remove-fail.c: New file.
17818 * gdb.base/break-main-file-remove-fail.exp: New file.
17819 * gdb.base/break-unload-file.exp: Use build_executable instead of
17820 prepare_for_testing.
17821 (test_break): New parameter "initial_load". Handle it.
17822 (top level): Add initial_load cmdline/file axis.
17823
f9579b99
TT
178242014-06-12 Tom Tromey <tromey@redhat.com>
17825
17826 * gdb.base/completion.exp: Don't use directory name in test.
17827
3657956b
GB
178282014-06-09 Gary Benson <gbenson@redhat.com>
17829
17830 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17831 separate the always-available ANSI-standard signals from the
17832 signals that require checking.
17833 (main): Likewise.
17834 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17835 Likewise.
17836 (main): Likewise.
17837
4186eb54
KS
178382014-06-07 Keith Seitz <keiths@redhat.com>
17839
17840 Revert:
17841 PR c++/16253
17842 * gdb.cp/var-tag.cc: New file.
17843 * gdb.cp/var-tag.exp: New file.
17844 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17845 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17846 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17847 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17848
25326a28 178492014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
17850
17851 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17852
829155c9
PA
178532014-06-06 Pedro Alves <palves@redhat.com>
17854
17855 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17856 in target debug output instead of looking at RSP packets,
17857 disabling the test on any target that uses hardware stepping.
17858 Update comments.
17859
61c8d22e
PA
178602014-06-06 Pedro Alves <palves@redhat.com>
17861
17862 * gdb.base/break-unload-file.exp: Fix typo.
17863
d9a47287
YQ
178642014-06-06 Yao Qi <yao@codesourcery.com>
17865
17866 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17867 from "jit_function" to "^jit_function".
17868
e5e01dbf
YQ
178692014-06-06 Yao Qi <yao@codesourcery.com>
17870
17871 * gdb.base/async.c (foo): Add one statement.
17872 * gdb.base/async.exp: Get the next instruction address and
17873 match the output of "nexti" by instruction address. Match
17874 the hex address in the output of "finish".
17875
73ba372c
GB
178762014-06-06 Gary Benson <gbenson@redhat.com>
17877
17878 * gdb.base/call-signals.c: Remove preprocessor conditionals
17879 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17880 SIGSEGV and SIGTERM.
17881 * gdb.base/sigall.c: Likewise.
17882 * gdb.base/unwindonsignal.c: Likewise.
17883 * gdb.reverse/sigall-reverse.c: Likewise.
17884
831517df
YQ
178852014-06-06 Yao Qi <yao@codesourcery.com>
17886
17887 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17888 readable, skip the test.
17889
b8b91e98
YQ
178902014-06-06 Yao Qi <yao@codesourcery.com>
17891
17892 * gdb.threads/staticthreads.c (thread_function): Move the line
17893 setting breakpoint on forward.
17894 * gdb.threads/staticthreads.exp: Update comments.
17895
fb934770
LC
178962014-06-05 Ludovic Courtès <ludo@gnu.org>
17897
17898 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17899 "history-append! type error".
17900
6ef284bd
SM
179012014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17902
17903 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17904 erroneous dprintf expected input.
17905
a872e241
DE
179062014-06-04 Doug Evans <xdje42@gmail.com>
17907
17908 * gdb.guile/scm-generics.exp: Delete.
17909
16f691fb
DE
179102014-06-04 Doug Evans <xdje42@gmail.com>
17911
17912 * gdb.guile/scm-breakpoint.exp: Update.
17913 Add tests for breakpoint registration.
17914
012370f6
TT
179152014-06-04 Tom Tromey <tromey@redhat.com>
17916
17917 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17918 VLA-in-union.
17919 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17920 inner_vla_struct, vla_union types. Initialize objects of those
17921 types and compute their sizes.
17922
9f5a4cef
HZ
179232014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17924 Hui Zhu <hui@codesourcery.com>
17925
17926 * gdb.base/fileio.exp: Add test for shell not available as well as
17927 available.
17928 * gdb.base/fileio.c (test_system): Check for shell twice.
17929
90a45c4d
YQ
179302014-06-04 Yao Qi <yao@codesourcery.com>
17931
17932 * gdb.base/auto-connect-native-target.exp: Remove redundant
17933 space from the regexp pattern.
17934
70017e41
YQ
179352014-06-04 Yao Qi <yao@codesourcery.com>
17936
17937 * gdb.base/default.exp: Replace "child" with "native" in
17938 regexp pattern.
17939
883964a7
SC
179402014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17941
17942 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17943 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17944 * gdb.python/py-xmethods.py: Python script supporting the
17945 new testcase and tests.
17946
ef370185
JB
179472014-06-03 Joel Brobecker <brobecker@adacore.com>
17948 Pedro Alves <palves@redhat.com>
17949
17950 PR breakpoints/17000
17951 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17952 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17953
1e2ccb61
BM
179542014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17955
17956 * gdb.base/subst.exp: Add tests to verify partial path matching
17957 output.
17958
c6ec5ab2
PA
179592014-06-03 Pedro Alves <palves@redhat.com>
17960
17961 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17962 target that doesn't use software single-stepping.
17963
835c559f
PA
179642014-06-03 Pedro Alves <palves@redhat.com>
17965
17966 PR breakpoints/17000
17967 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17968 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17969
06eb1586
DE
179702014-06-02 Doug Evans <xdje42@gmail.com>
17971
17972 * gdb.guile/scm-parameter.exp: New file.
17973
e698b8c4
DE
179742014-06-02 Doug Evans <xdje42@gmail.com>
17975
17976 * gdb.guile/scm-cmd.c: New file.
17977 * gdb.guile/scm-cmd.exp: New file.
17978
ded03782
DE
179792014-06-02 Doug Evans <xdje42@gmail.com>
17980
17981 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17982 pretty-printer lookup.
17983 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17984 (make-pp_s-printer): Call it.
17985 (make-pretty-printer-from-dict): New function.
17986 (lookup-pretty-printer-maker-from-dict): New function.
17987 (*pretty-printer*): Simplify.
17988 (make-objfile-pp_s-printer): New function.
17989 (install-objfile-pretty-printers!): New function.
17990 (make-progspace-pp_s-printer): New function.
17991 (install-progspace-pretty-printers!): New function.
17992 * gdb.guile/scm-progspace.c: New file.
17993 * gdb.guile/scm-progspace.exp: New file.
17994
41fac0cf
PA
179952014-06-02 Pedro Alves <palves@redhat.com>
17996
17997 * gdb.base/dprintf-bp-same-addr.c: New file.
17998 * gdb.base/dprintf-bp-same-addr.exp: New file.
17999
96ae5695
EBM
180002014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18001
18002 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
18003 * gdb.arch/powerpc-power.s: Likewise.
18004
da02b3a8
JB
180052014-06-02 Joel Brobecker <brobecker@adacore.com>
18006
18007 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
18008
c72b2e7b
YQ
180092014-06-01 Yao Qi <yao@codesourcery.com>
18010
18011 * gdb.base/watchpoint.exp (test_watch_location): Check null
18012 pointer can be dereferenced. If not, do the test, otherwise
18013 skip it.
18014
53e8a631
AB
180152014-05-30 Andrew Burgess <aburgess@broadcom.com>
18016
18017 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
18018 results.
18019 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
18020
938f0e2f
AB
180212014-05-30 Andrew Burgess <aburgess@broadcom.com>
18022
18023 * gdb.arch/amd64-invalid-stack-middle.S: New file.
18024 * gdb.arch/amd64-invalid-stack-middle.c: New file.
18025 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
18026 * gdb.arch/amd64-invalid-stack-top.c: New file.
18027 * gdb.arch/amd64-invalid-stack-top.exp: New file.
18028
9ba6657a
PA
180292014-05-30 Pedro Alves <palves@redhat.com>
18030
18031 PR breakpoints/17000
18032 * gdb.base/sss-bp-on-user-bp.c: New file.
18033 * gdb.base/sss-bp-on-user-bp.exp: New file.
18034
522c09bf
DB
180352014-05-30 David Blaikie <dblaikie@gmail.com>
18036
18037 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18038 gnu_inline semantics via attribute.
18039 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
18040 source explicitly specifies the required semantics.
18041
bf4ef81e
MR
180422014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
18043
18044 * gdb.reverse/sigall-reverse.exp: Fix a typo.
18045
329ea579
PA
180462014-05-29 Pedro Alves <palves@redhat.com>
18047 Tom Tromey <tromey@redhat.com>
18048
18049 * gdb.base/async-shell.exp: Don't enable target-async.
18050 * gdb.base/async.exp
18051 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18052 parameter. Adjust.
18053 (top level): Don't test with "target-async".
18054 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
18055 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
18056 * gdb.base/inferior-died.exp: Don't enable target-async.
18057 * gdb.base/interrupt-noterm.exp: Likewise.
18058 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
18059 * gdb.mi/mi-nonstop-exit.exp: Likewise.
18060 * gdb.mi/mi-nonstop.exp: Likewise.
18061 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
18062 * gdb.mi/mi-nsintrall.exp: Likewise.
18063 * gdb.mi/mi-nsmoribund.exp: Likewise.
18064 * gdb.mi/mi-nsthrexec.exp: Likewise.
18065 * gdb.mi/mi-watch-nonstop.exp: Likewise.
18066 * gdb.multi/watchpoint-multi.exp: Adjust comment.
18067 * gdb.python/py-evsignal.exp: Don't enable target-async.
18068 * gdb.python/py-evthreads.exp: Likewise.
18069 * gdb.python/py-prompt.exp: Likewise.
18070 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
18071 * gdb.server/solib-list.exp: Don't enable target-async.
18072 * gdb.threads/thread-specific-bp.exp: Likewise.
18073 * lib/mi-support.exp: Adjust to use mi-async.
18074
fd664c91
PA
180752014-05-29 Pedro Alves <palves@redhat.com>
18076
18077 PR gdb/13860
18078 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
18079 reason, even in sync mode.
18080
251bde03
PA
180812014-05-29 Pedro Alves <palves@redhat.com>
18082 Hui Zhu <hui@codesourcery.com>
18083
18084 PR PR15693
18085 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
18086 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
18087 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
18088 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
18089
7f3c0343
JB
180902014-05-28 Joel Brobecker <brobecker@adacore.com>
18091
18092 * config/monitor.exp (gdb_target_monitor): Replace use of
18093 "set remotebaud" by "set serial baud".
18094
b2715b27
AW
180952014-05-26 Andy Wingo <wingo@igalia.com>
18096
18097 * gdb.guile/scm-breakpoint.exp:
18098 * gdb.guile/scm-gsmob.exp: Update to use plain old object
18099 properties instead of gdb-object-properties.
18100
498a4489
YQ
181012014-05-26 Yao Qi <yao@codesourcery.com>
18102
18103 * gdb.server/no-thread-db.exp: Specify source file name
18104 explicitly when setting a breakpoint.
18105
589fdceb
MM
181062014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18107
18108 * gdb.btrace/vdso.c: New.
18109 * gdb.btrace/vdso.exp: New.
18110
e9089e05
MM
181112014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18112
18113 * gdb.base/gcore.exp (capture_command_output): Move ...
18114 * lib/gdb.exp (capture_command_output): ... here.
18115
67b5c0c1
MM
181162014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18117
18118 * gdb.btrace/data.exp: Test memory access during btrace replay.
18119
a2199296
SM
181202014-05-22 Simon Marchi <simon.marchi@ericsson.com>
18121
18122 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
18123
17b2616c
PA
181242014-05-21 Pedro Alves <palves@redhat.com>
18125
18126 PR gdb/13860
18127 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
18128 (top level): Test that output related to execution commands is
18129 sent to the console with CLI commands, but not with MI commands.
18130 Test that breakpoint events are always mirrored to the console.
18131 Also expect the new source line to be output after a "next" in
18132 async mode too. Make it a pass/fail test.
18133 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
18134 output.
18135 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
18136
5166082f
PA
181372014-05-21 Pedro Alves <palves@redhat.com>
18138
18139 * gdb.base/list.exp (build_pattern, test_list): New procedures.
18140 Use them to test variations of "list" after reaching a breakpoint.
18141 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
18142 Test "list" with listsize 10 after reaching a breakpoint.
18143 * gdb.python/python.exp (decode_line current location line
18144 number): Adjust expected line number.
18145
2f25d70f
SM
181462014-05-21 Simon Marchi <simon.marchi@ericsson.com>
18147
18148 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
18149 behavior for $args, pass it directly to "run".
18150
ff604a67
MR
181512014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
18152
18153 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
18154 30000 to 65536.
18155
6a3cb8e8
PA
181562014-05-21 Pedro Alves <palves@redhat.com>
18157
18158 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
18159 auto-connect-native-target off".
18160 * gdb.base/auto-connect-native-target.c: New file.
18161 * gdb.base/auto-connect-native-target.exp: New file.
18162
4ebfc96e
PA
181632014-05-21 Pedro Alves <palves@redhat.com>
18164
18165 * gdb.base/default.exp: Test "target native" instead of "target
18166 child".
18167
36d46afb
MW
181682014-05-21 Mark Wielaard <mjw@redhat.com>
18169
18170 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18171
5876f503
JK
181722014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18173
18174 Fix TLS access for -static -pthread.
18175 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
18176 <HAVE_TLS> (thread_function, main): Initialize it.
18177 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
18178 Add clean_restart.
18179 <$have_tls != "">: Check TLSVAR.
18180
0256a6ac
PA
181812014-05-21 Pedro Alves <palves@redhat.com>
18182
18183 * gdb.base/dcache-line-read-error.c: New.
18184 * gdb.base/dcache-line-read-error.exp: New.
18185
936d2992
PA
181862014-05-20 Pedro Alves <palves@redhat.com>
18187
18188 * gdb.base/compare-sections.c: New file.
18189 * gdb.base/compare-sections.exp: New file.
18190
802e8e6d
PA
181912014-05-20 Pedro Alves <palves@redhat.com>
18192
18193 * gdb.base/break-idempotent.c: New file.
18194 * gdb.base/break-idempotent.exp: New file.
18195
e59fa00f
MM
181962014-05-20 Markus Metzger <markus.t.metzger@intel.com>
18197
18198 * gdb.btrace/nohist.exp: New.
18199
8b696e31
YQ
182002014-05-20 Yao Qi <yao@codesourcery.com>
18201
18202 * lib/gdb.exp (gdb_init): Set timeout if test file is under
18203 gdb.reverse directory and gdb_reverse_timeout exists in board
18204 setting.
18205 * README: Document gdb_reverse_timeout.
18206
73c9764f
YQ
182072014-05-20 Yao Qi <yao@codesourcery.com>
18208
18209 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
18210 'test_file_name'. Treat args as a string instead of a list.
18211 (gdb_init): Rename argument 'args' by 'test_file_name'.
18212
f1f4348a
JK
182132014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
18214
18215 * gdb.arch/powerpc-power.exp: New file.
18216 * gdb.arch/powerpc-power.s: New file.
18217
0dbe70ce
DE
182182014-05-16 Doug Evans <dje@google.com>
18219
18220 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
18221 * gdb.base/completion.exp: Check that all expected files exist
18222 before doing file completion.
0dbe70ce 18223
8d551b02
DE
182242014-05-16 Doug Evans <dje@google.com>
18225
18226 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
18227 Update.
18228 (do_syscall_tests_without_xml): Update.
18229
73eb7709
PA
182302014-05-16 Pedro Alves <palves@redhat.com>
18231
18232 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
18233 instead of "unknown output after running".
18234
3fae92fc
YQ
182352014-05-16 Yao Qi <yao@codesourcery.com>
18236
18237 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
18238 file1.txt from host at the end.
18239 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18240
c2b2ccc5
DE
182412014-05-15 Doug Evans <dje@google.com>
18242
18243 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
18244 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
18245 loading file. Add test for TU lookup.
18246
8c217a4b
SM
182472014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18248
18249 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
18250 calling "-exec-arguments" or "set args" before running the
18251 inferior.
18252
3deb39c6
SM
182532014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18254
18255 * lib/mi-support.exp (mi_expect_stop): Expect message for
18256 inferiors that exit with non-zero exit code.
18257
71a79f8c
YQ
182582014-05-14 Yao Qi <yao@codesourcery.com>
18259
18260 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
18261 match absolute path on remote host.
18262 (test_file_list_exec_source_files): Remove "/" from the
18263 pattern.
18264
f23fcd46
YQ
182652014-05-14 Yao Qi <yao@codesourcery.com>
18266
18267 * boards/local-remote-host-notty.exp (${board}_file): New
18268 proc.
18269
9404b58f
KM
182702014-05-07 Kyle McMartin <kyle@redhat.com>
18271
18272 Pushed by Joel Brobecker <brobecker@adacore.com>.
18273 * gdb.arch/aarch64-atomic-inst.c: New file.
18274 * gdb.arch/aarch64-atomic-inst.exp: New file.
18275
5e45f04c
YQ
182762014-05-07 Yao Qi <yao@codesourcery.com>
18277
18278 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
18279 in current context" too.
18280
c888a17d
KS
182812014-05-05 Keith Seitz <keiths@redhat.com>
18282
18283 * gdb.linespec/ls-dollar.exp: Add test for linespec
18284 file:convenience_variable.
18285
290a839c
YQ
182862014-05-05 Yao Qi <yao@codesourcery.com>
18287
18288 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
18289 traceframes into tfile and ctf trace files. Read data from
18290 trace file and test collected data.
18291 (gdb_collect_locals_test): Likewise.
18292 (gdb_unavailable_registers_test): Likewise.
18293 (gdb_unavailable_floats): Likewise.
18294 (gdb_collect_globals_test): Likewise.
18295 (top-level): Append "ctf" to trace_file_targets if GDB
18296 supports.
18297
b5262cd0
YQ
182982014-05-05 Yao Qi <yao@codesourcery.com>
18299
18300 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
18301 code to ...
18302 (gdb_collect_args_test_1): ... it. New proc.
18303 (gdb_collect_locals_test): Move some code to ...
18304 (gdb_collect_locals_test_1): ... it. New proc.
18305 (gdb_unavailable_registers_test): Move some code to ...
18306 (gdb_unavailable_registers_test_1): ... it. New proc.
18307 (gdb_unavailable_floats): Move some code to ...
18308 (gdb_unavailable_floats_1): ... it. New proc.
18309
30a1e6cc
SDJ
183102014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18311
18312 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
18313 probes to test for bitness recognition.
18314 * gdb.arch/amd64-stap-optional-prefix.exp
18315 (test_probe_value_without_reg): New procedure.
18316 Add code to test for different kinds of bitness.
18317
f33da99a
SDJ
183182014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18319
18320 PR breakpoints/16889
18321 * gdb.arch/amd64-stap-optional-prefix.S: New file.
18322 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18323
5b80f00d
PA
183242014-05-01 Pedro Alves <palves@redhat.com>
18325
18326 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
18327 gdb_file_cmd if no file is specified.
18328 * boards/native-extended-gdbserver.exp (gdb_load): Use the
18329 last_loaded_file to set the remote exec-file.
18330
f8c2a73c
PA
183312014-05-01 Pedro Alves <palves@redhat.com>
18332
18333 * boards/local-remote-host.exp: New file.
18334
be6e8ac7
PA
183352014-05-01 Pedro Alves <palves@redhat.com>
18336
18337 * boards/local-remote-host.exp: Rename to ...
18338 * boards/local-remote-host-notty.exp: ... this.
18339
cac0dc8f
JB
183402014-04-28 Joel Brobecker <brobecker@adacore.com>
18341
18342 * gdb.ada/dyn_arrayidx: New testcase.
18343
9730e6cc
YQ
183442014-04-26 Yao Qi <yao@codesourcery.com>
18345
18346 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
18347 and compute the length of function main. Save it in
18348 $main_length.
18349 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
18350 (top-level): Use gdb_compile to compile objects into
18351 executable and restart GDB. Remove invocation to
18352 prepare_for_testing.
18353
7ae1a6a6
PA
183542014-04-25 Simon Marchi <simon.marchi@ericsson.com>
18355 Pedro Alves <palves@redhat.com>
18356
18357 PR server/16255
18358 * gdb.multi/multi-attach.c: New file.
18359 * gdb.multi/multi-attach.exp: New file.
18360
4082afcc
PA
183612014-04-25 Pedro Alves <palves@redhat.com>
18362
18363 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
18364 user.
18365 (top level): Test that "set remote conditional-breakpoints-packet
18366 off" works as intended.
18367 * gdb.base/dprintf.exp: Test that "set remote
18368 breakpoint-commands-packet off" works as intended.
18369 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
18370 New function.
18371 (top level): Call it.
18372 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
18373 remote fast-tracepoints-packet off" works as intended.
18374 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
18375 * lib/gdb.exp (gdb_is_target_remote): ... here.
18376
2abc3f8d
DB
183772014-04-24 David Blaikie <dblaikie@gmail.com>
18378
18379 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
18380 ensure clang would not discard them.
18381 * gdb.base/gdbvars.c: Ditto.
18382 * gdb.base/memattr.c: Ditto.
18383 * gdb.base/whatis.c: Ditto.
18384 * gdb.python/py-prettyprint.c: Ditto.
18385 * gdb.trace/actions.c: Ditto.
18386 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
18387 ensure clang would not discard it.
18388
bfd39632
DB
183892014-04-24 David Blaikie <dblaikie@gmail.com>
18390
18391 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
18392 clang to emit the full definition of type required by the test
18393 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
18394
22842ff6
DB
183952014-04-24 David Blaikie <dblaikie@gmail.com>
18396
18397 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
18398 coax Clang into emitting the definition of the type.
18399 * gdb.cp/pr10728-x.h (y): Ditto.
18400 * gdb.cp/pr10728-y.cc (y): Ditto.
18401
c2e827ad
DB
184022014-04-24 David Blaikie <dblaikie@gmail.com>
18403
18404 * gdb.base/label.exp: XFAIL label related tests under Clang.
18405 * gdb.cp/cplabel.exp: Ditto.
18406 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
18407 under Clang those using labels.
18408
4c2d33e7
YQ
184092014-04-25 Yao Qi <yao@codesourcery.com>
18410
18411 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
18412 double_label.
18413 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
18414 partial_label and double_label.
18415
56083b99
DB
184162014-04-24 David Blaikie <dblaikie@gmail.com>
18417
18418 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
18419
25d4e99d
DB
184202014-04-24 David Blaikie <dblaikie@gmail.com>
18421
18422 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
18423 of the function to work across GCC and Clang.
18424 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
18425 pointer types (const void ** const V void **).
18426
01f9f808
MS
184272014-04-24 Michael Sturm <michael.sturm@mintel.com>
18428 Walfred Tedeschi <walfred.tedeschi@intel.com>
18429
18430 * Makefile.in (EXECUTABLES): Added i386-avx512.
18431 * gdb.arch/i386-avx512.c: New file.
18432 * gdb.arch/i386-avx512.exp: Likewise.
18433
4b48d439
KS
184342014-04-23 Keith Seitz <keiths@redhat.com>
18435
18436 * lib/mi-support.exp (mi_list_breakpoints): Delete.
18437 (mi_make_breakpoint_table): New procedure.
18438 (mi_create_breakpoint): Use mi_make_breakpoint
18439 and return the result.
18440 (mi_make_breakpoint): New procedure.
18441 (mi_build_kv_pairs): New procedure.
18442
18443 * gdb.mi/mi-break.exp: Remove unused globals,
18444 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
18445 All callers updated.
18446 * gdb.mi/mi-dprintf.exp: Use variable to track command
18447 number.
18448 Update all callers of mi_create_breakpoint and use
18449 mi_make_breakpoint_table.
18450 Remove any unused global variables.
18451 * gdb.mi/mi-nonstop.exp: Likewise.
18452 * gdb.mi/mi-nsintrall.exp: Likewise.
18453 * gdb.mi/mi-nsmoribund.exp: Likewise.
18454 * gdb.mi/mi-nsthrexec.exp: Likewise.
18455 * gdb.mi/mi-reverse.exp: Likewise.
18456 * gdb.mi/mi-simplerun.exp: Likewise.
18457 * gdb.mi/mi-stepn.exp: Likewise.
18458 * gdb.mi/mi-syn-frame.exp: Likewise.
18459 * gdb.mi/mi-until.exp: Likewise.
18460 * gdb.mi/mi-var-cp.exp: Likewise.
18461 * gdb.mi/mi-var-display.exp: Likewise.
18462 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
18463 * gdb.mi/mi2-var-child.exp: Likewise.
18464 * gdb.mi/mi-vla-c99.exp: Likewise.
18465 * lib/mi-support.exp: Likewise.
18466
18467 From Ian Lance Taylor <iant@cygnus.com>:
18468 * lib/gdb.exp (parse_args): New procedure.
18469
08351840
PA
184702014-04-23 Pedro Alves <palves@redhat.com>
18471
18472 * gdb.base/break-unload-file.c: New file.
18473 * gdb.base/break-unload-file.exp: New file.
18474 * gdb.base/sym-file-lib.c (baz): New function.
18475 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
18476 field.
18477 (load): Store the segment's mapped size.
18478 (unload): New function.
18479 (unload_shlib): New function.
18480 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
18481 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
18482 set a breakpoint at baz, and call it.
18483 * gdb.base/sym-file.exp: New tests for stale breakpoint
18484 instructions.
18485
076855f9
PA
184862014-04-23 Pedro Alves <palves@redhat.com>
18487
18488 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
18489 * gdb.base/hbreak-in-shr-unsupported.c: New file.
18490 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
18491 * gdb.base/hbreak-unmapped.c: New file.
18492 * gdb.base/hbreak-unmapped.exp: New file.
18493 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
18494 * lib/gdb.exp (gdb_is_target_remote): ... here.
18495
483805cf
PA
184962014-04-22 Pedro Alves <palves@redhat.com>
18497
18498 * gdb.base/consecutive-step-over.c: New file.
18499 * gdb.base/consecutive-step-over.exp: New file.
18500
06d97543
PA
185012014-04-22 Pedro Alves <palves@redhat.com>
18502
18503 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
18504 instead of send_gdb/gdb_expect.
18505
b4429ea2
YQ
185062014-04-22 Yao Qi <yao@codesourcery.com>
18507
18508 * lib/trace-support.exp (generate_tracefile): New procedure.
18509 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
18510 return 0.
18511 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
18512 if generate_tracefile returns 1.
18513
51d48146
PA
185142014-04-18 Tom Tromey <palves@redhat.com>
18515 Pedro alves <tromey@redhat.com>
18516
18517 PR backtrace/15558
18518 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
18519 with a backtrace limit.
18520 * gdb.python/py-frame-inline.exp: Test running to an inline
18521 function with a backtrace limit, and printing the newest frame.
18522 * gdb.python/py-frame-inline.c (main): Call f.
18523
bd1dce5f
MS
185242014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18525
18526 * gdb.java/jnpe.exp: Drop srcdir from untested path.
18527
40d1a503
MS
185282014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18529
18530 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
18531 Drop prefix from unsupported source file path.
18532
389b98f7
YQ
185332014-04-17 Yao Qi <yao@codesourcery.com>
18534
18535 * lib/gdb.exp (with_target_charset): New proc.
18536 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
18537 with_target_charset.
18538 (test_print_strings): Likewise.
18539 (test_repeat_bytes): Likewise.
18540 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
18541 for some tests.
18542
22869d73
KS
185432014-04-16 Keith Seitz <keiths@redhat.com>
18544
18545 PR gdb/15827
18546 * gdb.dwarf2/corrupt.c: New file.
18547 * gdb.dwarf2/corrupt.exp: New file.
18548
c4f87ca6
KS
185492014-04-16 Keith Seitz <keiths@redhat.com>
18550
18551 PR c++/16597
18552 * gdb.cp/namelessclass.cc: New file.
18553 * gdb.cp/namelessclass.exp: New file.
18554 * gdb.cp/namelessclass.S: New file.
18555
ab19de87
DE
185562014-04-16 Doug Evans <dje@google.com>
18557
18558 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
18559 Add comment.
18560 (gdbserver_default_get_comm_port): New function.
18561 (gdbserver_start): Check if board file provided
18562 "gdbserver,get_comm_port" and use it if so.
18563 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
18564 (gdb,socketport): Set to "stdio".
18565 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
18566 (stdio_gdbserver_template): Delete.
18567 (${board}_get_remote_address): Update.
18568 (${board}_build_remote_cmd): Delete.
18569 (${board}_get_comm_port): New function.
18570 (${board}_spawn): Update.
18571 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
18572 Delete.
18573 (${board}_get_remote_address): Update.
18574 (${board}_get_comm_port): New function.
18575
fc98a809
AB
185762014-04-16 Andrew Burgess <aburgess@broadcom.com>
18577
18578 * gdb.base/memattr.exp: Improve regexps to handle memory regions
18579 appearing in any order.
18580
87fd9e6e
DE
185812014-04-15 Doug Evans <dje@google.com>
18582
18583 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
18584 uninitialized value of "description".
18585
099fc3ea
KS
185862014-04-15 Keith Seitz <keiths@redhat.com>
18587
18588 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
18589 Remove unused globals.
18590 (test_running_the_program): Likewise.
18591 (test_controlled_execution): Likewise.
18592 (test_controlling_breakpoints): Likewise.
18593 (test_program_termination): Likewise.
18594
5da151d4
KS
185952014-04-15 Keith Seitz <keiths@redhat.com>
18596
18597 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
18598 unused globals.
18599 (test_rbreak_creation_and_listing): Likewise.
18600 (test_ignore_count): Likewise.
18601 (test_error): Likewise.
18602
35e5d2f0
PA
186032014-04-15 Pedro Alves <palves@redhat.com>
18604
18605 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
18606 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
18607 sym-file-loader.c.
18608 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18609 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18610 to sym-file-loader.c.
18611 (struct library): Forward declare.
18612 (load_shlib, lookup_function): Change prototypes.
18613 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18614 (translate_offset): Remove declarations.
18615 (get_text_addr): New declaration.
18616 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
18617 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
18618 sym-file-loader.h.
18619 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18620 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18621 here from sym-file-loader.h.
18622 (struct library): New structure.
18623 (load_shlib, lookup_function): Change prototypes and adjust to
18624 work with a struct library.
18625 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18626 (translate_offset): Make static.
18627 (get_text_addr): New function.
18628 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
18629
eb4c1710
PA
186302014-04-15 Pedro Alves <palves@redhat.com>
18631
18632 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
18633
2d1baf52
PA
186342014-04-15 Pedro Alves <palves@redhat.com>
18635
18636 * gdb.base/sym-file-loader.c: Include <limits.h>.
18637 (SELF_LINK): New define.
18638 (get_origin): New function.
18639 (load_shlib): Use it.
18640 * gdb.base/sym-file.exp: Don't early return if the target is
18641 remote. Use runto_main, and issue fail is that fails. Use
18642 gdb_load_shlibs.
18643 (shlib_name): Delete.
18644 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
18645
7dd6df01
PA
186462014-04-15 Pedro Alves <palves@redhat.com>
18647
18648 * gdb.base/sym-file.exp: Remove regex characters from test
18649 message. Don't refer to breakpoint numbers in test messages.
18650
b50c8614
KS
186512014-04-14 Keith Seitz <keiths@redhat.com>
18652
18653 PR c++/16253
18654 * gdb.cp/var-tag.cc: New file.
18655 * gdb.cp/var-tag.exp: New file.
18656 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18657 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18658 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18659 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18660
3d567982
TT
186612014-04-14 Tom Tromey <tromey@redhat.com>
18662
18663 * gdb.cp/classes.exp (test_enums): Handle underlying type.
18664 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
18665 type.
18666 * gdb.cp/enum-class.exp: New file.
18667 * gdb.cp/enum-class.cc: New file.
18668
0626fc76
TT
186692014-04-14 Tom Tromey <tromey@redhat.com>
18670
18671 * gdb.dwarf2/enum-type.exp: New file.
18672
dca325b3
SA
186732014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18674
18675 * gdb.mi/mi-vla-c99.exp: New file.
18676 * gdb.mi/vla.c: New file.
18677
5854b38a
SA
186782014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18679
18680 * gdb.base/vla-datatypes.c: New file.
18681 * gdb.base/vla-datatypes.exp: New file.
18682
463bb957
SA
186832014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18684
18685 * gdb.base/vla-ptr.c: New file.
18686 * gdb.base/vla-ptr.exp: New file.
18687
3dd170be
SA
186882014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18689
18690 * gdb.dwarf2/count.exp: New file.
18691
5ecaaa66
SA
186922014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18693
18694 * gdb.base/vla-sideeffect.c: New file.
18695 * gdb.base/vla-sideeffect.exp: New file.
18696
41f1ada5
DB
186972014-04-14 David Blaikie <dblaikie@gmail.com>
18698
18699 * gdb.mi/non-stop.c: Add return value for non-void function return
18700 statement.
18701 * gdb.threads/staticthreads.c: Ditto.
18702
0be03e84
DE
187032014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18704 Doug Evans <xdje42@gmail.com>
18705
18706 * gdb.guile/scm-value.c: Improve test case.
18707 * gdb.guile/scm-value.exp: Add new test.
18708
f180a1fb
DB
187092014-04-11 David Blaikie <dblaikie@gmail.com>
18710
18711 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18712 override Clang's default.
18713
6b662e19
JB
187142014-04-11 Joel Brobecker <brobecker@adacore.com>
18715
18716 Revert the following changes (regressions):
18717
18718 * gdb.base/vla-sideeffect.c: New file.
18719 * gdb.base/vla-sideeffect.exp: New file.
18720
18721 * gdb.dwarf2/count.exp: New file.
18722
18723 * gdb.base/vla-multi.c: New file.
18724 * gdb.base/vla-multi.exp: New file.
18725
18726 * gdb.base/vla-ptr.c: New file.
18727 * gdb.base/vla-ptr.exp: New file.
18728
18729 * gdb.base/vla-datatypes.c: New file.
18730 * gdb.base/vla-datatypes.exp: New file.
18731
18732 * gdb.mi/mi-vla-c99.exp: New file.
18733 * gdb.mi/vla.c: New file.
18734
245a5f0b
KS
187352014-04-11 Keith Seitz <keiths@redhat.com>
18736
18737 PR c++/16675
18738 * gdb.cp/cpsizeof.exp: New file.
18739 * gdb.cp/cpsizeof.cc: New file.
18740
58a84dcf
SA
187412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18742
191a8a90
JB
18743 * gdb.mi/mi-vla-c99.exp: New file.
18744 * gdb.mi/vla.c: New file.
58a84dcf 18745
c8655f75
SA
187462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18747
18748 * gdb.base/vla-datatypes.c: New file.
18749 * gdb.base/vla-datatypes.exp: New file.
18750
024e13b4
SA
187512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18752
18753 * gdb.base/vla-ptr.c: New file.
18754 * gdb.base/vla-ptr.exp: New file.
18755
1a237e0e
SA
187562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18757
18758 * gdb.base/vla-multi.c: New file.
18759 * gdb.base/vla-multi.exp: New file.
18760
504f3432
SA
187612014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18762
18763 * gdb.dwarf2/count.exp: New file.
18764
3bce8237
SA
187652014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18766
191a8a90
JB
18767 * gdb.base/vla-sideeffect.c: New file.
18768 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 18769
322f9c21
YQ
187702014-04-11 Yao Qi <yao@codesourcery.com>
18771
18772 * gdb.base/completion.exp: Check file exists before running tests
18773 on file completion.
18774
d708bcd1
PA
187752014-04-10 Pedro Alves <palves@redhat.com>
18776
18777 * gdb.base/cond-eval-mode.c: New file.
18778 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18779 prepare_for_testing to build the new file. Check result of
18780 runto_main.
18781 (test_break, test_watch): New procedures.
18782 (top level): Use them.
18783
ae1d2761
PM
187842014-04-08 Pierre Muller <muller@sourceware.org>
18785
18786 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18787 Ctrl-V use for mingw hosts.
18788
7af389b8
SC
187892014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18790
18791 * gdb.python/py-value.c: Improve test case.
18792 * gdb.python/py-value.exp: Add new test.
18793
5e703181
DE
187942014-04-07 David Blaikie <dblaikie@gmail.com>
18795
18796 * lib/compiler.c: Identify the clang compiler.
18797 * lib/compiler.cc: Ditto.
18798
9810b410
YQ
187992014-04-03 Yao Qi <yao@codesourcery.com>
18800
18801 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18802
98d1b8dc
AB
188032014-04-01 Anton Blanchard <anton@samba.org>
18804
18805 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18806 messages unique.
18807
3114cea1
AB
188082014-04-01 Anton Blanchard <anton@samba.org>
18809
18810 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18811 prepare_for_testing.
18812
62f7182c
AB
188132014-04-01 Anton Blanchard <anton@samba.org>
18814
18815 * gdb.arch/ppc64-atomic-inst.c: Remove.
18816 * gdb.arch/ppc64-atomic-inst.S: New file.
18817 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18818
770e7fc7
DE
188192014-03-31 Doug Evans <dje@google.com>
18820
18821 * gdb.base/print-symbol-loading-lib.c: New file.
18822 * gdb.base/print-symbol-loading-main.c: New file.
18823 * gdb.base/print-symbol-loading.exp: New file.
18824
46e2bafa
YQ
188252014-03-31 Yao Qi <yao@codesourcery.com>
18826
18827 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18828
8776cfe9
JB
188292014-03-28 Joel Brobecker <brobecker@adacore.com>
18830
18831 * gdb.ada/mi_dyn_arr: New testcase.
18832
5d1ef361
DE
188332014-03-27 Doug Evans <dje@google.com>
18834
18835 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18836
b5bee914
YQ
188372014-03-27 Yao Qi <yao@codesourcery.com>
18838
18839 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18840 if target is nios2-*-*.
18841
0d4d0e77
YQ
188422014-03-26 Yao Qi <yao@codesourcery.com>
18843
18844 * lib/gdb.exp (readline_is_used): New proc.
18845 * gdb.base/completion.exp: Move tests on command complete up.
18846 Skip the rest of tests if readline is not used.
18847 * gdb.ada/complete.exp: Skp the test if readline is not
18848 used.
18849 * gdb.base/filesym.exp: Likewise.
18850 * gdb.base/macscp.exp: Likewise.
18851 * gdb.base/readline-ask.exp: Likewise.
18852 * gdb.base/readline.exp: Likewise.
18853 * gdb.python/py-cmd.exp: Likewise.
18854 * gdb.trace/tfile.exp: Likewise.
18855
29361eee
YQ
188562014-03-26 Yao Qi <yao@codesourcery.com>
18857
18858 * gdb.base/macscp.exp: Fix code format issues.
18859
bc9a5525
UW
188602014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18861
18862 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18863 * gdb.asm/powerpc64le.inc: New file.
18864
d3839ede
PA
188652014-03-25 Pedro Alves <palves@redhat.com>
18866 Doug Evans <dje@google.com>
18867
18868 * gdb.base/source-execution.c: New file.
18869 * gdb.base/source-execution.exp: New file.
18870 * gdb.base/source-execution.gdb: New file.
18871
01672a57
DE
188722014-03-24 Doug Evans <dje@google.com>
18873
18874 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18875 using fission.
18876
88bbeca9
HZ
188772014-03-24 Hui Zhu <hui@codesourcery.com>
18878 Pedro Alves <palves@redhat.com>
18879
18880 PR breakpoints/16101
18881 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18882 test pass/fail messages. Detect missing support for dprintf when
18883 breakpoints are actually inserted.
18884 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18885 breakpoints are actually inserted.
18886 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18887 fails.
18888
d2348791
JK
188892014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18890
18891 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18892
feef67ab
DE
188932014-03-22 Doug Evans <xdje42@gmail.com>
18894
18895 * gdb.python/python.exp (python not supported): Verify multi-line
18896 python command issues an error.
25d743f9 18897 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 18898 guile command issues an error.
feef67ab 18899
ecebef6a
MR
189002014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18901
18902 * gdb.threads/thread-specific.exp: Handle the lack of usable
18903 $this_breakpoint and $this_thread.
18904
ccdd1909
HZ
189052014-03-21 Hui Zhu <hui@codesourcery.com>
18906
18907 * gdb.base/attach.exp (do_command_attach_tests): New.
18908
beb460e8
PA
189092014-03-20 Tom Tromey <tromey@redhat.com>
18910 Pedro Alves <palves@redhat.com>
18911
18912 PR cli/15718
18913 * gdb.base/condbreak-call-false.c: New file.
18914 * gdb.base/condbreak-call-false.exp: New file.
18915
40acf43a
PA
189162014-03-20 Pedro Alves <palves@redhat.com>
18917
18918 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18919 Delete.
18920 (block_signals, unblock_signals): Delete.
18921 (child_function_2, main): Remove references to deleted variable
18922 and functions.
18923
9f5e1e02
PA
189242014-03-20 Pedro Alves <palves@redhat.com>
18925
18926 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18927 Use pthread_kill to signal thread 2.
18928 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18929 Adjust to make the test send itself a signal rather than using the
18930 host's "kill" command.
18931
99619bea
PA
189322014-03-20 Pedro Alves <palves@redhat.com>
18933
18934 * gdb.threads/multiple-step-overs.c: New file.
18935 * gdb.threads/multiple-step-overs.exp: New file.
18936 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18937 Adjust expected infrun debug output.
18938
2adfaa28
PA
189392014-03-20 Pedro Alves <palves@redhat.com>
18940
18941 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18942 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18943
31e77af2
PA
189442014-03-20 Pedro Alves <palves@redhat.com>
18945
18946 PR breakpoints/7143
18947 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18948 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18949 of gdb_test_multiple.
18950 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18951 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18952
b9f437de
PA
189532014-03-20 Pedro Alves <palves@redhat.com>
18954
18955 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18956 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18957
05adc73e
PA
189582014-03-19 Pedro Alves <palves@redhat.com>
18959
18960 * gdb.base/async.exp: Remove early return.
18961
6048b950
PA
189622014-03-19 Pedro Alves <palves@redhat.com>
18963
18964 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18965
8bcfb00a
PA
189662014-03-19 Pedro Alves <palves@redhat.com>
18967
18968 * gdb.base/async.exp (test_background): Expect \r\n after
18969 "completed." in the fail pattern.
18970
884e37dc
PA
189712014-03-19 Pedro Alves <palves@redhat.com>
18972
18973 * gdb.base/async.exp (test_background): New procedure.
18974 Use it for all background execution command tests.
18975
148e57e2
PA
189762014-03-19 Pedro Alves <palves@redhat.com>
18977
18978 * gdb.base/async.exp: Use prepare_for_testing.
18979
f48088c7
PA
189802014-03-19 Pedro Alves <palves@redhat.com>
18981
18982 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18983 the same line.
18984
e2f6c966
PA
189852014-03-19 Pedro Alves <palves@redhat.com>
18986
18987 * gdb.base/async.c (main): Add "jump here" and "until here" line
18988 marker comments.
18989 * gdb.base/async.exp (jump_here): New global.
18990 (jump& test): Use it.
18991 (until_here): New global.
18992 (until& test): Use it.
18993
c30568d4
PA
189942014-03-19 Pedro Alves <palves@redhat.com>
18995
18996 * gdb.base/async.exp: Don't frob gdb_protocol.
18997
0172b6a7
DE
189982014-03-18 Doug Evans <xdje42@gmail.com>
18999
19000 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
19001 Fix spelling of exec-done-display.
19002
06c868a8
JK
190032014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
19004
19005 PR gdb/15358
19006 * gdb.base/gdb-sigterm.c: New file.
19007 * gdb.base/gdb-sigterm.exp: New file.
19008
0c7e1a46
PA
190092014-03-18 Pedro Alves <palves@redhat.com>
19010
19011 PR gdb/13860
19012 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
19013 * lib/mi-support.exp (mi_expect_stop): Add special handling for
19014 solib-event.
19015
f7c77d93
JB
190162014-03-17 Joel Brobecker <brobecker@adacore.com>
19017
19018 * gdb.ada/pckd_arr_ren: New testcase.
19019
5a1e8c7a
DE
190202014-03-13 Doug Evans <xdje42@gmail.com>
19021
19022 PR guile/16612
19023 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
19024 collect after discarding symbols.
19025
350e1a76
DE
190262014-03-13 Ludovic Courtès <ludo@gnu.org>
19027 Doug Evans <xdje42@gmail.com>
19028
19029 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
19030 to history survives a gc.
19031
a69900ae
PA
190322014-03-13 Pedro Alves <palves@redhat.com>
19033
19034 * gdb.base/default.exp: Don't test "target procfs".
19035
5db9f0bd
PA
190362014-03-13 Pedro Alves <palves@redhat.com>
19037
19038 * gdb.base/default.exp: Update "target child" and "target procfs"
19039 tests to not expect "Unix".
19040
b3ccfe11
TT
190412014-03-12 Tom Tromey <tromey@redhat.com>
19042
19043 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
19044 New procs. Add target-async tests.
19045 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
19046 Add target-async tests.
19047
646f4417
AA
190482014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19049
19050 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
19051 'func_start' and 'func_end' for the beginning and end of the
19052 function code, respectively.
19053 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
19054 'func_end' instead of 'func' and 'main'.
19055
288c211f
AA
190562014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19057
19058 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
19059 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
19060 generate the debug info assembler source.
19061
e0c0f156
AA
190622014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19063
19064 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
19065 * gdb.dwarf2/arr-subrange.exp: Likewise.
19066 * gdb.dwarf2/dwz.exp: Likewise.
19067 * gdb.dwarf2/method-ptr.exp: Likewise.
19068 * gdb.dwarf2/missing-sig-type.exp: Likewise.
19069 * gdb.dwarf2/subrange.exp: Likewise.
19070 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
19071 * gdb.dwarf2/implptrpiece.exp: Likewise.
19072 * gdb.dwarf2/nostaticblock.exp: Likewise.
19073
0e5c4555
AA
190742014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19075
19076 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
19077 directory to absolute path name arguments.
19078
5ec18f2b
JG
190792014-03-10 Joel Brobecker <brobecker@adacore.com>
19080
19081 * gdb.ada/tagged_access: New testcase.
19082
847fc4f2
MM
190832014-03-07 Markus Metzger <markus.t.metzger@intel.com>
19084
19085 * gdb.btrace/data.exp: Update expected output.
19086
cc3da688
YQ
190872014-03-06 Yao Qi <yao@codesourcery.com>
19088
19089 * gdb.trace/pr16508.exp: New file.
19090
0f26cec1
PA
190912014-03-05 Pedro Alves <palves@redhat.com>
19092
19093 PR gdb/16575
19094 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
19095 procedure.
19096 (top level): Adjust to use it. Add tests that exercise breakpoint
19097 interaction with the code-cache.
19098
7a5a839f
LC
190992014-02-26 Ludovic Courtès <ludo@gnu.org>
19100
19101 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
19102 test for 'history-append!'.
19103
31aa7e4e
JB
191042014-02-26 Joel Brobecker <brobecker@adacore.com>
19105
19106 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
19107 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
19108 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
19109 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
19110 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
19111 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
19112
1b588015
JB
191132014-02-26 Joel Brobecker <brobecker@adacore.com>
19114
19115 * testsuite/gdb.python/py-pp-re-notag.c: New file.
19116 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
19117 * testsuite/gdb.python/py-pp-re-notag.p: New file.
19118
55426c9d
JB
191192014-02-26 Joel Brobecker <brobecker@adacore.com>
19120
19121 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
19122
dc53a7ad
JB
191232014-02-26 Joel Brobecker <brobecker@adacore.com>
19124
19125 * gdb.dwarf2/arr-stride.c: New file.
19126 * gdb.dwarf2/arr-stride.exp: New file.
19127
12ab52e9
PA
191282014-02-26 Pedro Alves <palves@redhat.com>
19129
19130 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
19131 that won't ever trigger. Make sure that GDB reports the correct
19132 breakpoint that caused the stop.
19133
849c862e
JK
191342014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19135
19136 PR gdb/16626
19137 * gdb.base/auto-load-script: New file.
19138 * gdb.base/auto-load.c: New file.
19139 * gdb.base/auto-load.exp: New file.
19140
71b7d793
JK
19141 PR gdb/16626
19142 * gdb.base/auto-load.exp: Fix out-of-srctree run.
19143
e2f0d509
JK
191442014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19145
19146 Fix dw2-icycle.exp -fsanitize=address GDB crash.
19147 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
19148
50cc37c8
DE
191492014-02-24 Doug Evans <dje@google.com>
19150
19151 * lib/gdb.exp (run_on_host): Log error output if program fails.
19152
ea4758f2
PA
191532014-02-21 Pedro Alves <palves@redhat.com>
19154
19155 * gdb.threads/step-after-sr-lock.c: Rename to ...
19156 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
19157 * gdb.threads/step-after-sr-lock.exp: Rename to ...
19158 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19159 ... this.
19160
d7b30f67
SDJ
191612014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
19162
19163 PR tdep/16397
19164 * gdb.arch/amd64-stap-special-operands.exp: New file.
19165 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
19166 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
19167 * gdb.arch/amd64-stap-triplet.S: Likewise.
19168 * gdb.arch/amd64-stap-triplet.c: Likewise.
19169
83deb43f
JB
191702014-02-20 Joel Brobecker <brobecker@adacore.com>
19171
19172 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
19173 in .section pseudo-op.
19174
adde2bff
DE
191752014-02-20 lin zuojian <manjian2006@gmail.com>
19176 Joel Brobecker <brobecker@adacore.com>
19177 Doug Evans <xdje42@gmail.com>
19178
19179 PR symtab/16581
19180 * gdb.dwarf2/dw2-icycle.S: New file.
19181 * gdb.dwarf2/dw2-icycle.c: New file.
19182 * gdb.dwarf2/dw2-icycle.exp: New file.
19183
f7bd0f78
SC
191842014-02-19 Siva Chandra Reddy <sivachandra@google.com>
19185
19186 * gdb.python/py-value-cc.cc: Improve test case to enable testing
19187 operations on gdb.Value objects.
19188 * gdb.python/py-value-cc.exp: Add new test to test operations on
19189 gdb.Value objects.
19190
c17ef0d5
DE
191912014-02-18 Doug Evans <dje@google.com>
19192
19193 * Makefile.in (TESTS): New variable.
19194 (expanded_tests, expanded_tests_or_none): New variables
19195 (check-single): Pass $(expanded_tests_or_none) to runtest.
19196 (check-parallel): Only run tests in $(TESTS) if non-empty.
19197 (check/no-matching-tests-found): New rule.
19198 * README: Document TESTS makefile variable.
19199
5dd3176f
DE
192002014-02-18 Doug Evans <dje@google.com>
19201
19202 * Makefile.in (check-parallel): rm -rf outputs temp.
19203
0b10be4f
JK
192042014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19205
19206 Fix "ERROR: no fileid for" in the testsuite.
19207 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
19208
85f224e7
DE
192092014-02-12 Doug Evans <dje@google.com>
19210
19211 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
19212 (MISCELLANEOUS): New variable.
19213 (clean): rm -rf $(MISCELLANEOUS).
19214 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
19215 dwp live in the same directory as symlinks, with each symlink pointed
19216 to a differently named file in a different directory.
19217
149b30ff
DE
192182014-02-11 Doug Evans <dje@google.com>
19219
19220 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
19221 of Tcl file commands.
19222
1dfdac32
MK
192232014-02-10 Mark Kettenis <kettenis@gnu.org>
19224
19225 * gdb.threads/step-after-sr-lock.exp: Avoid executing
19226 "kill -SIGUSR1 -1".
19227
aa4fb036
JB
192282014-02-10 Joel Brobecker <brobecker@adacore.com>
19229
19230 * gdb.ada/tick_length_array_enum_idx: New testcase.
19231
ed3ef339
DE
192322014-02-10 Doug Evans <xdje42@gmail.com>
19233
19234 * configure.ac (AC_OUTPUT): Add gdb.guile.
19235 * configure: Regenerate.
19236 * lib/gdb-guile.exp: New file.
19237 * lib/gdb.exp (get_target_charset): New function.
19238 * gdb.base/help.exp: Update expected output from "apropos apropos".
19239 * gdb.guile/Makefile.in: New file.
19240 * gdb.guile/guile.exp: New file.
19241 * gdb.guile/scm-arch.c: New file.
19242 * gdb.guile/scm-arch.exp: New file.
19243 * gdb.guile/scm-block.c: New file.
19244 * gdb.guile/scm-block.exp: New file.
19245 * gdb.guile/scm-breakpoint.c: New file.
19246 * gdb.guile/scm-breakpoint.exp: New file.
19247 * gdb.guile/scm-disasm.c: New file.
19248 * gdb.guile/scm-disasm.exp: New file.
19249 * gdb.guile/scm-equal.c: New file.
19250 * gdb.guile/scm-equal.exp: New file.
19251 * gdb.guile/scm-error.exp: New file.
19252 * gdb.guile/scm-error.scm: New file.
19253 * gdb.guile/scm-frame-args.c: New file.
19254 * gdb.guile/scm-frame-args.exp: New file.
19255 * gdb.guile/scm-frame-args.scm: New file.
19256 * gdb.guile/scm-frame-inline.c: New file.
19257 * gdb.guile/scm-frame-inline.exp: New file.
19258 * gdb.guile/scm-frame.c: New file.
19259 * gdb.guile/scm-frame.exp: New file.
19260 * gdb.guile/scm-generics.exp: New file.
19261 * gdb.guile/scm-gsmob.exp: New file.
19262 * gdb.guile/scm-iterator.c: New file.
19263 * gdb.guile/scm-iterator.exp: New file.
19264 * gdb.guile/scm-math.c: New file.
19265 * gdb.guile/scm-math.exp: New file.
19266 * gdb.guile/scm-objfile-script-gdb.in: New file.
19267 * gdb.guile/scm-objfile-script.c: New file.
19268 * gdb.guile/scm-objfile-script.exp: New file.
19269 * gdb.guile/scm-objfile.c: New file.
19270 * gdb.guile/scm-objfile.exp: New file.
19271 * gdb.guile/scm-ports.exp: New file.
19272 * gdb.guile/scm-pretty-print.c: New file.
19273 * gdb.guile/scm-pretty-print.exp: New file.
19274 * gdb.guile/scm-pretty-print.scm: New file.
19275 * gdb.guile/scm-section-script.c: New file.
19276 * gdb.guile/scm-section-script.exp: New file.
19277 * gdb.guile/scm-section-script.scm: New file.
19278 * gdb.guile/scm-symbol.c: New file.
19279 * gdb.guile/scm-symbol.exp: New file.
19280 * gdb.guile/scm-symtab-2.c: New file.
19281 * gdb.guile/scm-symtab.c: New file.
19282 * gdb.guile/scm-symtab.exp: New file.
19283 * gdb.guile/scm-type.c: New file.
19284 * gdb.guile/scm-type.exp: New file.
19285 * gdb.guile/scm-value-cc.cc: New file.
19286 * gdb.guile/scm-value-cc.exp: New file.
19287 * gdb.guile/scm-value.c: New file.
19288 * gdb.guile/scm-value.exp: New file.
19289 * gdb.guile/source2.scm: New file.
19290 * gdb.guile/types-module.cc: New file.
19291 * gdb.guile/types-module.exp: New file.
19292
7026a7c1
YQ
192932014-02-10 Yao Qi <yao@codesourcery.com>
19294
19295 PR testsuite/16543
19296 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
19297 * configure: Regenerated.
19298 * Makefile.in: New file.
19299
6c466447
AS
193002014-02-08 Andreas Schwab <schwab@linux-m68k.org>
19301
19302 * gdb.python/py-framefilter.exp: Fix typo.
19303
6e854735
YQ
193042014-02-08 Yao Qi <yao@codesourcery.com>
19305
19306 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
19307 that no =breakpoint-modified is emitted when breakpoints are
19308 modified through MI commands.
19309
d137e6dc
PA
193102014-02-07 Pedro Alves <pedro@codesourcery.com>
19311 Pedro Alves <palves@redhat.com>
19312
19313 * gdb.threads/step-after-sr-lock.c: New file.
19314 * gdb.threads/step-after-sr-lock.exp: New file.
19315
b5ee5a50
PA
193162014-02-07 Pedro Alves <palves@redhat.com>
19317
19318 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
19319
3c77faf3
JK
193202014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
19321
19322 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
19323 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
19324
6dddc817
DE
193252014-02-06 Doug Evans <xdje42@gmail.com>
19326
19327 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
19328 output.
19329
19330 * gdb.gdb/python-interrupts.exp: New file.
19331
de7b2893
YQ
193322014-02-05 Yao Qi <yao@codesourcery.com>
19333
19334 * gdb.trace/report.exp (use_collected_data): Test the output
19335 of "info threads" and "info inferiors".
19336
66d032ac
YQ
193372014-02-05 Yao Qi <yao@codesourcery.com>
19338
19339 Revert this patch:
19340
19341 2013-05-24 Yao Qi <yao@codesourcery.com>
19342
19343 * gdb.trace/tfile.exp: Test inferior and thread.
19344
591a12a1
UW
193452014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19346
19347 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
19348 on a function.
19349 * gdb.base/step-bt.c: Call hello via function pointer to make
19350 sure its first instruction is executed on powerpc64le-linux.
19351
0ff3e01f
UW
193522014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19353
19354 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
19355
084ee545
UW
193562014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19357
19358 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
19359 of the test patterns for use on little-endian systems.
19360
6ed14ff3
UW
193612014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19362
19363 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
19364 (decimal_vector): Fix for little-endian.
19365
401e27fd
JM
193662014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
19367
19368 * gdb.arch/sparc-sysstep.exp: New file.
19369 * gdb.arch/sparc-sysstep.c: Likewise.
19370
19371 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
19372
8b924729
EBM
193732014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19374
19375 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
19376
fb151210
JB
193772014-01-23 Tom Tromey <tromey@redhat.com>
19378
19379 * gdb.ada/array_char_idx: New testcase.
19380
0740f8d8
TT
193812014-01-23 Tom Tromey <tromey@redhat.com>
19382
19383 PR python/16487:
19384 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
19385 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
19386 classes.
19387
21909fa1
TT
193882014-01-23 Tom Tromey <tromey@redhat.com>
19389
19390 PR python/16491:
19391 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
19392 string from an inferior frame.
19393 * gdb.python/py-framefilter-mi.exp: Update.
19394
87ce2a04
DE
193952014-01-22 Doug Evans <dje@google.com>
19396
19397 * gdb.server/server-mon.exp: Add tests for "set debug-format".
19398
237b092b
AA
193992014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19400
19401 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
19402
d674a709
AA
194032014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19404
19405 * gdb.trace/entry-values.exp: Remove excess space character from
19406 regex patterns. Handle s390 call instruction.
19407
20fa3390
AA
194082014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19409
19410 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
19411 define "*_start" label. Make "name" static.
19412 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
19413 ${name} by references to ${name}_start.
19414
78466714
AA
194152014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19416
19417 * gdb.base/info-macros.exp: Remove "debug" from the compile
19418 options.
19419
ec9f644a
IB
194202014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19421
19422 * gdb.dlang/demangle.exp: New file.
19423
94b1b47e
IB
194242014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19425
19426 * gdb.dlang/primitive-types.exp: New file.
19427
7f420862
IB
194282014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19429
19430 * configure.ac: Create gdb.dlang/Makefile.
19431 * configure: Regenerate.
19432 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
19433 * gdb.dlang/Makefile.in: New file.
19434 * lib/d-support.exp: New file.
19435 * lib/gdb.exp (skip_d_tests): New proc.
19436
52834460
MM
194372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19438
19439 * gdb.btrace/delta.exp: Check reverse stepi.
19440 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
19441 * gdb.btrace/finish.exp: New.
19442 * gdb.btrace/next.exp: New.
19443 * gdb.btrace/nexti.exp: New.
19444 * gdb.btrace/record_goto.c: Add comments.
19445 * gdb.btrace/step.exp: New.
19446 * gdb.btrace/stepi.exp: New.
19447 * gdb.btrace/multi-thread-step.c: New.
19448 * gdb.btrace/multi-thread-step.exp: New.
19449 * gdb.btrace/rn-dl-bind.c: New.
19450 * gdb.btrace/rn-dl-bind.exp: New.
19451 * gdb.btrace/data.c: New.
19452 * gdb.btrace/data.exp: New.
19453 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19454
6e07b1d2
MM
194552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19456
19457 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
19458 * gdb.btrace/exception.exp: Update.
19459 * gdb.btrace/instruction_history.exp: Update.
19460 * gdb.btrace/record_goto.exp: Update.
19461 * gdb.btrace/tailcall.exp: Update.
19462 * gdb.btrace/unknown_functions.exp: Update.
19463 * gdb.btrace/delta.exp: New.
19464
0b722aec
MM
194652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19466
19467 * gdb.btrace/record_goto.exp: Add backtrace test.
19468 * gdb.btrace/tailcall.exp: Add backtrace test.
19469
066ce621
MM
194702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19471
19472 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
19473 * gdb.btrace/record_goto.c: New.
19474 * gdb.btrace/record_goto.exp: New.
19475 * gdb.btrace/x86-record_goto.S: New.
19476
0688d04e
MM
194772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19478
19479 * gdb.btrace/function_call_history.exp: Update tests.
19480 * gdb.btrace/instruction_history.exp: Update tests.
19481
8710b709
MM
194822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19483
19484 * gdb.btrace/function_call_history.exp: Fix expected field
19485 order for "record function-call-history".
19486 Add new tests for "record function-call-history /c".
19487 * gdb.btrace/exception.cc: New.
19488 * gdb.btrace/exception.exp: New.
19489 * gdb.btrace/tailcall.exp: New.
19490 * gdb.btrace/x86-tailcall.S: New.
19491 * gdb.btrace/x86-tailcall.c: New.
19492 * gdb.btrace/unknown_functions.c: New.
19493 * gdb.btrace/unknown_functions.exp: New.
19494 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19495
5de9129b
MM
194962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19497
19498 * gdb.btrace/instruction_history.exp: Update.
19499 * gdb.btrace/function_call_history.exp: Update.
19500
23a7fe75
MM
195012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19502
19503 * gdb.btrace/function_call_history.exp: Fix expected function
19504 trace.
19505 * gdb.btrace/instruction_history.exp: Initialize traced.
19506 Remove traced_functions.
19507
724c7dd8
MM
195082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19509
19510 * gdb.btrace/function_call_history.exp: Update
19511 * gdb.btrace/instruction_history.exp: Update.
19512
6d78d93b
MM
195132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19514
19515 * gdb.btrace/enable.exp: Update expected text.
19516
93a360cc
OJ
195172014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
19518
19519 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
19520 bytes.
19521
3772b53f
MR
195222014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
19523
19524 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
19525
596662fa
OJ
195262014-01-15 Omair Javaid <omair.javaid@linaro.org>
19527
19528 * lib/gdb.exp (supports_process_record): Return true for
19529 arm*-linux*. (supports_reverse): Likewise.
19530
b5b08fb4
SC
195312014-01-13 Siva Chandra Reddy <sivachandra@google.com>
19532
19533 PR python/15464
19534 PR python/16113
19535 * gdb.python/py-type.c: Enhance test case.
19536 * gdb.python/py-value-cc.cc: Likewise
19537 * gdb.python/py-type.exp: Add new tests.
19538 * gdb.python/py-value-cc.exp: Likewise
19539
52d7fb13
AA
195402014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19541 Pedro Alves <palves@redhat.com>
19542
19543 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
19544 Make "name" extern.
19545 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
19546 references to ${name}_start by references to ${name}.
19547
a2cd8cfe
JB
195482014-01-10 Joel Brobecker <brobecker@adacore.com>
19549
19550 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
19551
4e23fced
JB
195522014-01-10 Joel Brobecker <brobecker@adacore.com>
19553
19554 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
19555
c6a9e42c
PA
195562014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
19557 Pedro Alves <palves@redhat.com>
19558
19559 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 19560 mi_gdb_target_load.
c6a9e42c 19561
b7ea362b
PA
195622014-01-08 Pedro Alves <palves@redhat.com>
19563
19564 * gdb.threads/reconnect-signal.c: New file.
19565 * gdb.threads/reconnect-signal.exp: New file.
19566
5e3f4fab
EBM
195672014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19568
19569 * gdb.base/source-dir.exp: New file.
19570
79301218
JB
195712014-01-07 Joel Brobecker <brobecker@adacore.com>
19572
19573 * gdb.ada/mi_interface: New testcase.
19574
8e355c5d
JB
195752014-01-07 Joel Brobecker <brobecker@adacore.com>
19576
19577 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
19578 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
19579 gdb.ada/pp-rec-component/pck.ads: New files.
19580
c0d48811
JB
195812014-01-07 Joel Brobecker <brobecker@adacore.com>
19582
19583 * gdb.python/py-pp-integral.c: New file.
19584 * gdb.python/py-pp-integral.py: New file.
19585 * gdb.python/py-pp-integral.exp: New file.
19586
17b609c3 19587For older changes see ChangeLog-1993-2013.
c906108c 19588\f
8d8cb839
EZ
19589;; Local Variables:
19590;; mode: change-log
19591;; left-margin: 8
19592;; fill-column: 74
19593;; version-control: never
19594;; End:
902f2ccb 19595
b811d2c2 19596 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
19597 Copying and distribution of this file, with or without modification,
19598 are permitted provided the copyright notice and this notice are preserved.
This page took 3.652061 seconds and 4 git commands to generate.