]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
[gdb/testsuite] Rename *.exp.in to *.exp.tcl
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
6dbc505a
TV
12020-05-15 Tom de Vries <tdevries@suse.de>
2
3 * gdb.base/align.exp.in: Rename to ...
4 * gdb.base/align.exp.tcl: ... this.
5 * gdb.base/align-c++.exp: Update.
6 * gdb.base/align-c.exp: Update.
7 * gdb.base/all-architectures.exp.in: Rename to ...
8 * gdb.base/all-architectures.exp: ... this.
9 * gdb.base/all-architectures-0.exp: Update.
10 * gdb.base/all-architectures-1.exp: Update.
11 * gdb.base/all-architectures-2.exp: Update.
12 * gdb.base/all-architectures-3.exp: Update.
13 * gdb.base/all-architectures-4.exp: Update.
14 * gdb.base/all-architectures-5.exp: Update.
15 * gdb.base/all-architectures-6.exp: Update.
16 * gdb.base/all-architectures-7.exp: Update.
17 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
18 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
19 * gdb.base/infcall-nested-structs-c++.exp: Update.
20 * gdb.base/infcall-nested-structs-c.exp: Update.
21 * gdb.base/info-types.exp.in: Rename to ...
22 * gdb.base/info-types.exp.tcl: ... this.
23 * gdb.base/info-types-c++.exp: Update.
24 * gdb.base/info-types-c.exp: Update.
25 * gdb.base/max-depth.exp.in: Rename to ...
26 * gdb.base/max-depth.exp.tcl: ... this.
27 * gdb.base/max-depth-c++.exp: Update.
28 * gdb.base/max-depth-c.exp: Update.
29 * gdb.cp/cpexprs.exp.in: Rename to ...
30 * gdb.cp/cpexprs.exp.tcl: ... this.
31 * gdb.cp/cpexprs-debug-types.exp: Update.
32 * gdb.cp/cpexprs.exp: Update.
33 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
34 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
35 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
36 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
37 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
38 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
39 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
40 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
41 * gdb.dwarf2/clang-debug-names-2.exp: Update.
42 * gdb.dwarf2/clang-debug-names.exp: Update.
43
d1034d78
AB
442020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
45
46 * lib/check-test-names.exp: Remove code that prevents this file
47 loading when tests are run in parallel.
48
3c5c3649
PA
492020-05-15 Pedro Alves <palves@redhat.com>
50
51 * gdb.multi/multi-kill.exp (start_inferior): Remove
52 'testpid' parameter. Refer to namespace variable directly.
53 (testpid): Declare as namespace variable.
54
272c36b8
PA
552020-05-15 Pedro Alves <palves@redhat.com>
56
57 * gdb.multi/multi-kill.exp: Wrap in namespace.
58 (start_inferior): Add TESTPID parameter. Use it instead of the
59 testpid global.
60 (top level): Define empty TESTPID array, and pass it down to
61 start_inferior.
62
02eba61a
TV
632020-05-14 Tom de Vries <tdevries@suse.de>
64
65 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
66 output.
67
971a3747
TV
682020-05-14 Tom de Vries <tdevries@suse.de>
69
70 * gdb.base/align.exp: Split into ...
71 * gdb.base/align.exp.in: ...
72 * gdb.base/align-c++.exp: ...
73 * gdb.base/align-c.exp: ... these.
74 * gdb.base/infcall-nested-structs.exp: Split into ...
75 * gdb.base/infcall-nested-structs.exp.in: ...
76 * gdb.base/infcall-nested-structs-c++.exp: ...
77 * gdb.base/infcall-nested-structs-c.exp: ... these.
78 * gdb.base/info-types.exp: Split into ...
79 * gdb.base/info-types.exp.in: ...
80 * gdb.base/info-types-c++.exp: ...
81 * gdb.base/info-types-c.exp: ... these.
82 * gdb.base/max-depth.exp: Split into ...
83 * gdb.base/max-depth.exp.in: ...
84 * gdb.base/max-depth-c++.exp: ...
85 * gdb.base/max-depth-c.exp: ... these.
86 * gdb.cp/infcall-nodebug.exp: Split into ...
87 * gdb.cp/infcall-nodebug.exp.in: ...
88 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
89 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
90 * gdb.cp/infcall-nodebug-c-d0.exp: ...
91 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
92
a05575d3
TBA
932020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
94 Pedro Alves <palves@redhat.com>
95
96 * gdb.multi/multi-exit.c: New file.
97 * gdb.multi/multi-exit.exp: New file.
98 * gdb.multi/multi-kill.c: New file.
99 * gdb.multi/multi-kill.exp: New file.
100
6ad82919
TBA
1012020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
102
103 * gdb.base/annota1.exp: Update the expected output.
104 * gdb.cp/annota2.exp: Ditto.
105
843f4d93
AB
1062020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
107
108 * lib/check-test-names.exp: Disable when testing is being run in
109 parallel.
110
c7c66341
TV
1112020-05-12 Tom de Vries <tdevries@suse.de>
112
113 * gdb.base/jit-elf.exp: Fix string concat.
114
1b59ca1c
TV
1152020-05-12 Tom de Vries <tdevries@suse.de>
116
117 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
118 messages.
119
b4991d29
TV
1202020-05-12 Tom de Vries <tdevries@suse.de>
121
122 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
123
dbb0ab10
TV
1242020-05-12 Tom de Vries <tdevries@suse.de>
125
126 * gdb.ada/catch_ex.exp: Use with_test_prefix.
127 * gdb.ada/mi_catch_ex.exp: Same.
128 * gdb.ada/mi_catch_ex_hand.exp: Same.
129
7549fed8
TV
1302020-05-12 Tom de Vries <tdevries@suse.de>
131
132 * gdb.fortran/complex.exp: Use with_test_prefix.
133
af2d5cd8
TV
1342020-05-12 Tom de Vries <tdevries@suse.de>
135
136 * gdb.trace/passcount.exp: Fix test-names.
137
7c121311
TV
1382020-05-12 Tom de Vries <tdevries@suse.de>
139
140 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
141
c9f3b40e
TV
1422020-05-12 Tom de Vries <tdevries@suse.de>
143
144 * gdb.gdb/complaints.exp: Use with_test_prefix.
145 * gdb.xml/tdesc-regs.exp: Same.
146 * gdb.opt/inline-locals.exp: Fix test name.
147
111b33f0
TV
1482020-05-12 Tom de Vries <tdevries@suse.de>
149
150 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
151 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
152 * gdb.dwarf2/implref-struct.exp: Same.
153 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
154 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
155
ebf47080
SM
1562020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
157
158 * gdb.base/jit-so.exp (one_jit_test): Change test name.
159
d30dcd12
AB
1602020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
161
162 * lib/check-test-names.exp (all_test_names): New module variable.
163 (counts): Add 'duplicates' field.
164 (_check_duplicates): New procedure.
165 (check): Also check for duplicates.
166 (do_log_summary): Print duplicates count.
167 (do_reset_vars): Reset counter for duplicate test names, and
168 discard all know test names.
169
34584c09
AB
1702020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
171
172 * lib/gdb.exp: Include check-test-names.exp library.
173 * lib/check-test-names.exp: New file.
174
e0002117
TV
1752020-05-11 Tom de Vries <tdevries@suse.de>
176
177 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
178
53f539a3
KS
1792020-05-11 Keith Seitz <keiths@redhat.com>
180
181 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
182
113ee09a
TV
1832020-05-11 Tom de Vries <tdevries@suse.de>
184
185 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
186 * gdb.cp/cpexprs.exp.in: .. here.
187 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
188 cpexprs.exp.
189
ba3e70b0
KS
1902020-05-11 Keith Seitz <keiths@redhat.com>
191
192 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
193 test names.
194 * gdb.ada/arrayptr.exp: Likewise.
195 * gdb.ada/assign_arr.exp: Likewise.
196 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
197 * gdb.ada/bp_on_var.exp: Likewise.
198 * gdb.ada/call_pn.exp: Likewise.
199 * gdb.ada/complete.exp: Likewise.
200 * gdb.ada/fun_overload_menu.exp: Likewise.
201 * gdb.ada/funcall_param.exp: Likewise.
202 * gdb.ada/funcall_ref.exp: Likewise.
203 * gdb.ada/packed_array_assign.exp: Likewise.
204 * gdb.ada/same_component_name.exp: Likewise.
205 * gdb.ada/type_coercion.exp: Likewise.
206 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
207 * gdb.ada/variant_record_packed_array.exp: Likewise.
208
3ee6bb11
TV
2092020-05-11 Tom de Vries <tdevries@suse.de>
210
211 PR symtab/25941
212 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
213 out of ...
214 * gdb.dwarf2/clang-debug-names.exp: ... here.
215 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
216 clang-debug-names.exp.in.
217 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
218 * gdb.dwarf2/clang-debug-names-2.c: New test.
219
86cd6bc8
AKS
2202020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
221
222 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
223 (fortran_runto_main): New Proc, fortran version of runto_main.
224 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
225 * gdb.fortran/array-bounds.exp: Likewise.
226 * gdb.fortran/array-slices.exp: Likewise.
227 * gdb.fortran/block-data.exp: Likewise.
228 * gdb.fortran/charset.exp: Likewise.
229 * gdb.fortran/common-block.exp: Likewise.
230 * gdb.fortran/complex.exp: Likewise.
231 * gdb.fortran/derived-type-function.exp: Likewise.
232 * gdb.fortran/derived-type.exp: Likewise.
233 * gdb.fortran/info-modules.exp: Likewise.
234 * gdb.fortran/info-types.exp: Likewise.
235 * gdb.fortran/intrinsics.exp: Likewise.
236 * gdb.fortran/library-module.exp: Likewise.
237 * gdb.fortran/logical.exp: Likewise.
238 * gdb.fortran/max-depth.exp: Likewise.
239 * gdb.fortran/module.exp: Likewise.
240 * gdb.fortran/multi-dim.exp: Likewise.
241 * gdb.fortran/nested-funcs.exp: Likewise.
242 * gdb.fortran/print-formatted.exp: Likewise.
243 * gdb.fortran/print_type.exp: Likewise.
244 * gdb.fortran/printing-types.exp: Likewise.
245 * gdb.fortran/ptr-indentation.exp: Likewise.
246 * gdb.fortran/ptype-on-functions.exp: Likewise.
247 * gdb.fortran/subarray.exp: Likewise.
248 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
249 * gdb.fortran/vla-datatypes.exp: Likewise.
250 * gdb.fortran/vla-history.exp: Likewise.
251 * gdb.fortran/vla-ptr-info.exp: Likewise.
252 * gdb.fortran/vla-ptype-sub.exp: Likewise.
253 * gdb.fortran/vla-ptype.exp: Likewise.
254 * gdb.fortran/vla-sizeof.exp: Likewise.
255 * gdb.fortran/vla-type.exp: Likewise.
256 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
257 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
258 * gdb.fortran/vla-value-sub.exp: Likewise.
259 * gdb.fortran/vla-value.exp: Likewise.
260 * gdb.fortran/whatis_type.exp: Likewise.
261 * gdb.mi/mi-var-child-f.exp: Likewise.
262
6dc55ce9 2632020-05-09 Tom de Vries <tdevries@suse.de>
264
265 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
266
283cb58c
TV
2672020-05-08 Tom de Vries <tdevries@suse.de>
268
269 * gdb.dwarf2/clang-debug-names.c: New test.
270 * gdb.dwarf2/clang-debug-names.exp: New file.
271
ac4a4f1c
SM
2722020-05-06 Simon Marchi <simon.marchi@efficios.com>
273
274 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
275 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
276
24fe640b
TV
2772020-05-06 Tom de Vries <tdevries@suse.de>
278
279 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
280 breakpoint is at a "recommended breakpoint location".
281 * gdb.reverse/consecutive-reverse.exp: Same.
282
0d8683a3
TV
2832020-05-06 Tom de Vries <tdevries@suse.de>
284
285 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
286 address.
287
b8983c46
TV
2882020-05-06 Tom de Vries <tdevries@suse.de>
289
290 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
291
abf6d805
TV
2922020-05-06 Tom de Vries <tdevries@suse.de>
293
294 * gdb.base/store.exp (check_set, up_set): Allowing missing location
295 info for r.
296
0fc2a808
TV
2972020-05-06 Tom de Vries <tdevries@suse.de>
298
299 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
300 necessary.
301
873dd427
TV
3022020-05-06 Tom de Vries <tdevries@suse.de>
303
304 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
305 void.
306
7c99e7e2
TV
3072020-05-06 Tom de Vries <tdevries@suse.de>
308
309 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
310 of ...
311 * gdb.base/async.exp: ... here.
312 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
313 "recommended breakpoint location".
314
6173d6a6
TV
3152020-05-06 Tom de Vries <tdevries@suse.de>
316
317 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
318
6015a067
TV
3192020-05-04 Tom de Vries <tdevries@suse.de>
320
321 * gdb.base/async.exp: Check whether instruction addresses are a
322 "recommended breakpoint location".
323
3b6acaee
TT
3242020-05-03 Tom Tromey <tom@tromey.com>
325
326 * gdb.base/sepdebug.exp: Remove "catch" test.
327 * gdb.base/break.exp: Remove "catch" test.
328 * gdb.base/default.exp: Update expected output.
329
5beb4d17
TV
3302020-05-02 Tom de Vries <tdevries@suse.de>
331
332 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
333 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
334 * gdb.arch/i386-mpx-map.exp: Same.
335 * gdb.arch/i386-mpx-sigsegv.exp: Same.
336 * gdb.arch/i386-mpx-simple_segv.exp: Same.
337 * gdb.arch/i386-mpx.exp: Same.
338
8caf140d
TV
3392020-05-02 Tom de Vries <tdevries@suse.de>
340
341 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
342
693196cb
TV
3432020-05-01 Tom de Vries <tdevries@suse.de>
344
345 * gdb.ada/operator_bp.exp: Allow more than required amount of
346 breakpoint.
347
53ae0aa9
TV
3482020-05-01 Tom de Vries <tdevries@suse.de>
349
350 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
351
ee9d1e5f
HD
3522020-04-30 Hannes Domani <ssbssa@yahoo.de>
353
354 PR gdb/18706
355 * gdb.cp/stub-array-size.cc: New test.
356 * gdb.cp/stub-array-size.exp: New file.
357 * gdb.cp/stub-array-size.h: New test.
358 * gdb.cp/stub-array-size2.cc: New test.
359
d5cf82c0
HD
3602020-04-30 Hannes Domani <ssbssa@yahoo.de>
361
362 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
363 output to the new format.
364
42e165c3
SM
3652020-04-29 Simon Marchi <simon.marchi@efficios.com>
366
367 * gdb.base/break.exp: Use with_test_prefix.
368
6e4e3fe1
TV
3692020-04-29 Tom de Vries <tdevries@suse.de>
370
371 * lib/gdb.exp (debug_types): New proc.
372 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
373 * gdb.python/py-symtab.exp: Same.
374
d642b692
HD
3752020-04-29 Hannes Domani <ssbssa@yahoo.de>
376
377 PR gdb/17320
378 * gdb.base/pretty-array.c: New test.
379 * gdb.base/pretty-array.exp: New file.
380
ea90f227
TV
3812020-04-29 Tom de Vries <tdevries@suse.de>
382
383 PR symtab/25889
384 * gdb.cp/cpexprs.exp: Adapt for inclusion.
385 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
386 and include cpexprs.exp.
387
a65189c9
TV
3882020-04-28 Mark Williams <mark@myosotissp.com>
389
390 PR gdb/24480
391 * dw4-toplevel-types.exp: Test for top level types.
392 * dw4-toplevel-types.cc: Test for top level types.
393
32d1f47a
TBA
3942020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
395
396 * gdb.threads/stop-with-handle.exp: Fix typo in comment
397 (theads -> threads).
398
56a4f5a1
TV
3992020-04-28 Tom de Vries <tdevries@suse.de>
400
401 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
402
0b2f8a3b
TV
4032020-04-28 Tom de Vries <tdevries@suse.de>
404
405 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
406
5390c717
TV
4072020-04-28 Tom de Vries <tdevries@suse.de>
408
409 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
410
15cd93d0
TV
4112020-04-28 Tom de Vries <tdevries@suse.de>
412
413 * gdb.dwarf2/main-foo.c: New test.
414 * gdb.dwarf2/struct-with-sig.exp: New file.
415
d472f0fb
TV
4162020-04-25 Tom de Vries <tdevries@suse.de>
417
418 * boards/debug-types.exp: New file.
419
8d840e05
AB
4202020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
421
422 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
423
bcfe6157
TT
4242020-04-24 Tom Tromey <tom@tromey.com>
425
426 PR symtab/12707:
427 * gdb.python/py-symbol.exp: Update expected results for
428 linkage_name test.
429 * gdb.cp/print-demangle.exp: New file.
430 * gdb.base/c-linkage-name.exp: Fix test.
431 * gdb.guile/scm-symbol.exp: Update expected results for
432 linkage_name test.
433
f049a313
TT
4342020-04-24 Tom Tromey <tom@tromey.com>
435
436 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
437 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
438 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
439 assembler.
440
7cf28874
TV
4412020-04-24 Tom de Vries <tdevries@suse.de>
442
443 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
444 C++.
445
dac2fef7
TT
4462020-04-24 Tom Tromey <tromey@adacore.com>
447
448 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
449 values.
450 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
451 values. Update test for minimal encodings.
452 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
453 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
454 values. Update test for minimal encodings.
455
1acda803
TT
4562020-04-24 Tom Tromey <tromey@adacore.com>
457
458 PR python/23662:
459 * gdb.ada/variant.exp: Add Python checks.
460 * gdb.rust/simple.exp: Add dynamic type checks.
461
adfb9815
TT
4622020-04-24 Tom Tromey <tromey@adacore.com>
463
464 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
465 Make array type matching more lax.
466 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
467 * gdb.ada/mi_variant.exp: New file.
468 * gdb.ada/mi_variant/pck.ads: New file.
469 * gdb.ada/mi_variant/pkg.adb: New file.
470 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
471 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
472
7d79de9a
TT
4732020-04-24 Tom Tromey <tromey@adacore.com>
474
475 * gdb.ada/variant.exp: Add dynamic field offset tests.
476 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
477 * gdb.ada/variant/pkg.adb: Add new variables.
478
f8e89861
TT
4792020-04-24 Tom Tromey <tromey@adacore.com>
480
481 * gdb.ada/variant.exp: New file
482 * gdb.ada/variant/pkg.adb: New file
483 * gdb.ada/variant/pck.adb: New file
484
86e887ae
TV
4852020-04-24 Tom de Vries <tdevries@suse.de>
486
487 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
488
88428775
TV
4892020-04-24 Tom de Vries <tdevries@suse.de>
490
491 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
492 flags.
493
4e86f6e7
TV
4942020-04-24 Tom de Vries <tdevries@suse.de>
495
496 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
497
2016d3e6
TV
4982020-04-24 Tom de Vries <tdevries@suse.de>
499
500 * lib/gdb.exp (default_gdb_start): Handle eof.
501 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
502 failure.
503 * gdb.base/readnever.exp: Handle clean_restart failure.
504
70bc38f5
TV
5052020-04-23 Tom de Vries <tdevries@suse.de>
506
507 * gdb.base/decl-before-def.exp: Run to main and print a again.
508
de82891c
TV
5092020-04-23 Tom de Vries <tdevries@suse.de>
510
511 * gdb.base/decl-before-def-decl.c: New test.
512 * gdb.base/decl-before-def-def.c: New test.
513 * gdb.base/decl-before-def.exp: New file.
514
96038148
TV
5152020-04-23 Tom de Vries <tdevries@suse.de>
516
517 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
518
54ac3df1
TV
5192020-04-22 Tom de Vries <tdevries@suse.de>
520
521 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
522 debug_info_offset.
523 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
524 before $objsfile in the line line.
525
714534e1
TV
5262020-04-22 Tom de Vries <tdevries@suse.de>
527
528 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
529
16a7dbf4
MS
5302020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
531
532 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
533 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
534 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
535 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
536 * gdb.base/jit-protocol.h: Update definitions to match all usage
537 contexts.
538
5392020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
540
541 * gdb.base: Rename all jit related test and source files.
542
5432020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
544
545 * gdb.base/jit-reader.exp: Relax register output check.
546
317d2668
TV
5472020-04-22 Tom de Vries <tdevries@suse.de>
548
549 PR symtab/25764
550 * gdb.base/psym-external-decl-2.c: New test.
551 * gdb.base/psym-external-decl.c: New test.
552 * gdb.base/psym-external-decl.exp: New file.
553 * gdb.threads/tls.exp: Add PR25807 kfail.
554
eea9e357
TV
5552020-04-22 Tom de Vries <tdevries@suse.de>
556
557 PR symtab/25801
558 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
559 in "info source" output.
560
3d5afab3
TV
5612020-04-22 Tom de Vries <tdevries@suse.de>
562
563 PR symtab/25700
564 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
565 symtab for imported_unit.c.
566
b32102f6
GB
5672020-04-21 Gary Benson <gbenson@redhat.com>
568
569 * gdb.base/advance.c (func): New argument, to match call site.
570 (func2, func3): Add return statements.
571
d43b7a2d
TBA
5722020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
573
574 * gdb.multi/run-only-second-inf.c: New file.
575 * gdb.multi/run-only-second-inf.exp: New file.
576
d89edf9b
MM
5772020-04-21 Markus Metzger <markus.t.metzger@intel.com>
578
579 * gdb.btrace/multi-inferior.c: New test.
580 * gdb.btrace/multi-inferior.exp: New file.
581
1a476b6d
MM
5822020-04-21 Markus Metzger <markus.t.metzger@intel.com>
583
584 * gdb.btrace/enable-new-thread.c: New test.
585 * gdb.btrace/enable-new-thread.exp: New file.
586
4778a5f8
TV
5872020-04-21 Tom de Vries <tdevries@suse.de>
588
589 PR gdb/25471
590 * gdb.threads/killed-outside.c: New test.
591 * gdb.threads/killed-outside.exp: New file.
592
9b2c992c
GB
5932020-04-20 Gary Benson <gbenson@redhat.com>
594
595 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
596 * gdb.base/nested-subp2.exp: Likewise.
597 * gdb.base/nested-subp3.exp: Likewise.
598
b5d1d6f7
GB
5992020-04-20 Gary Benson <gbenson@redhat.com>
600
601 * gdb.base/nested-subp1.exp: Disable test when using clang.
602 * gdb.base/nested-subp2.exp: Likewise.
603 * gdb.base/nested-subp3.exp: Likewise.
604
25230285
GB
6052020-04-20 Gary Benson <gbenson@redhat.com>
606
607 * gdb.cp/exception.cc: Fix compilation error with clang.
608
fa93cc8f
GB
6092020-04-20 Gary Benson <gbenson@redhat.com>
610
809730f3 611 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 612
e0c45f30
GB
6132020-04-20 Gary Benson <gbenson@redhat.com>
614
615 * gdb.base/jit-main.c: Fix compilation error with clang.
616
4ddfec93
KR
6172020-04-17 Kamil Rytarowski <n54@gmx.com>
618
619 * gdb.base/attach-twice.c: Include "sys/types.h".
620 (PTRACE_ATTACH): Add fallback definition.
621 (main): Pass `0' to the 4th argument of `ptrace'.
622
2bed205e
KR
6232020-04-17 Kamil Rytarowski <n54@gmx.com>
624
625 * gdb.base/fork-running-state.c: Include "signal.h".
626
0743fc83
TT
6272020-04-17 Tom Tromey <tromey@adacore.com>
628
629 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
630 Update tests.
631 * gdb.btrace/cpu.exp: Update tests.
632 * gdb.base/maint.exp: Update tests.
633 * gdb.base/default.exp: Update tests.
634 * gdb.base/completion.exp: Update tests.
635
efba5c23
TV
6362020-04-16 Tom de Vries <tdevries@suse.de>
637
638 PR symtab/25791
639 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
640 (ensure_gdb_index): and factor out and move ...
641 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
642 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
643
d191d716
TV
6442020-04-16 Tom de Vries <tdevries@suse.de>
645
646 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
647 loading exec.
648
99f1bc6a
AB
6492020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
650
651 * gdb.base/many-completions.exp: New file.
652
194d088f
TV
6532020-04-14 Tom de Vries <tdevries@suse.de>
654
655 PR symtab/25718
656 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
657
c1a66c06
TV
6582020-04-14 Tom de Vries <tdevries@suse.de>
659
660 PR symtab/25720
661 * gdb.base/maint-expand-symbols-header-file.c: New test.
662 * gdb.base/maint-expand-symbols-header-file.exp: New file.
663 * gdb.base/maint-expand-symbols-header-file.h: New test.
664
21b0982c
AB
6652020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
666
667 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
668 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
669 get_func_info.
670 (get_func_info): Delete.
671 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
672 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
673 * lib/dwarf.exp (get_func_info): New function.
674
dd1cab06
TV
6752020-04-13 Tom de Vries <tdevries@suse.de>
676
677 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
678 to what find_gnatmake does.
679
71ea2b6b
TV
6802020-04-10 Tom de Vries <tdevries@suse.de>
681
682 * gdb.base/style.exp: Expect "Expanding full symbols" message for
683 -readnow.
684
bdfc1e8a
TV
6852020-04-10 Tom de Vries <tdevries@suse.de>
686
687 PR cli/25808
688 * gdb.base/style.c: Add leading newlines.
689 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
690 Check listing of main's one-line body.
691
14ca8ecf
TV
6922020-04-08 Tom de Vries <tdevries@suse.de>
693
694 * lib/gdb.exp (psymtabs_p): New proc.
695 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
696 importing unit" unsupported if there are no partial symbols.
697
e21d048f
TV
6982020-04-08 Tom de Vries <tdevries@suse.de>
699
700 PR testsuite/25760
701 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
702
25c11aca
TV
7032020-04-07 Tom de Vries <tdevries@suse.de>
704
705 PR symtab/25796
706 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
707
5707e24b
TV
7082020-04-07 Tom de Vries <tdevries@suse.de>
709
710 * gdb.base/check-psymtab.c: New test.
711 * gdb.base/check-psymtab.exp: New file.
712
6ee448cc
TT
7132020-04-06 Tom Tromey <tromey@adacore.com>
714
715 * gdb.ada/variant-record/proc.adb: New file.
716 * gdb.ada/variant-record/value.adb: New file.
717 * gdb.ada/variant-record/value.s: New file.
718 * gdb.ada/variant-record.exp: New file.
719
9e7c9a03
HD
7202020-04-03 Hannes Domani <ssbssa@yahoo.de>
721
722 PR gdb/25325
723 * gdb.cp/typed-enum.cc: New test.
724 * gdb.cp/typed-enum.exp: New file.
725
c90d28ac
AB
7262020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
727
728 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
729 * gdb.dwarf2/dw2-inline-small-func.c: New file.
730 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
731 * gdb.dwarf2/dw2-inline-small-func.h: New file.
732 * gdb.opt/inline-small-func.c: New file.
733 * gdb.opt/inline-small-func.exp: New file.
734 * gdb.opt/inline-small-func.h: New file.
735
34e9a9fa
AB
7362020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
737
738 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
739 function.
740
6a354911
AB
7412020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
742
743 * lib/dwarf.exp (function_range): Allow compiler options to be
744 specified.
745
880d9777
TV
7462020-04-02 Tom de Vries <tdevries@suse.de>
747
748 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
749 __attribute__((always_inline)).
750 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
751
f32682ea
TV
7522020-04-02 Tom de Vries <tdevries@suse.de>
753
754 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
755 (gdbserver_gdb_exit): ... here. Add timeout warning.
756 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
757 (connect_target_extended_remote): Append new server_spawn_id to
758 server_spawn_ids.
759 (cleanup): New proc.
760 (setup, <toplevel>): Call cleanup.
761
d3214198
TV
7622020-04-02 Tom de Vries <tdevries@suse.de>
763
764 * gdb.base/main-psymtab.exp: New file.
765
cc77ed24
TV
7662020-04-02 Tom de Vries <tdevries@suse.de>
767
768 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
769
3638a098
TT
7702020-04-01 Tom Tromey <tom@tromey.com>
771
772 * gdb.base/complex-parts.exp: Add type tests.
773
c34e8714
TT
7742020-04-01 Tom Tromey <tom@tromey.com>
775
776 * gdb.base/complex-parts.exp: Add arithmetic tests.
777
981c08ce
TT
7782020-04-01 Tom Tromey <tom@tromey.com>
779
780 * gdb.compile/compile.exp: Update.
781 * gdb.compile/compile-cplus.exp: Update.
782 * gdb.base/varargs.exp: Update.
783 * gdb.base/floatn.exp: Update.
784 * gdb.base/endianity.exp: Update.
785 * gdb.base/callfuncs.exp (do_function_calls): Update.
786 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
787 (complex_float_integral_args): Update.
788 * gdb.base/complex.exp: Update.
789 * gdb.base/complex-parts.exp: Update.
790
3d1cfd43
TT
7912020-04-01 Tom Tromey <tromey@adacore.com>
792
793 * gdb.rust/union.rs: New file.
794 * gdb.rust/union.exp: New file.
795 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
796 (main): Update.
797 * gdb.rust/simple.exp: Move union tests to union.exp.
798
e033dfa9
TT
7992020-04-01 Tom Tromey <tromey@adacore.com>
800
801 * gdb.rust/simple.rs (main): Remove "y0".
802
53cccef1
TBA
8032020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
804
805 * gdb.multi/stop-all-on-exit.c: New test.
806 * gdb.multi/stop-all-on-exit.exp: New file.
807
60e22c1e
HD
8082020-04-01 Hannes Domani <ssbssa@yahoo.de>
809
810 PR gdb/24789
811 * gdb.cp/misc.cc: Add integer reference variable.
812 * gdb.cp/misc.exp: Add test.
813
e139a727
TBA
8142020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
815
816 * gdb.server/stop-reply-no-thread.exp: Enhance the test
817 scenario to cover execution until the end and also the case
818
16b0db75
TV
8192020-03-31 Tom de Vries <tdevries@suse.de>
820
821 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
822 c. Use "maint info symtabs" to check symtab expansion.
823
c0502da6
TV
8242020-03-30 Tom de Vries <tdevries@suse.de>
825
826 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
827 unsupported.
828 (verify_psymtab_expanded): Move ...
829 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
830 test.
831 (readnow): New proc.
832
5935fd15
AB
8332020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
834
835 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
836 with $hex.
837
1773be9e
TT
8382020-03-20 Tom Tromey <tromey@adacore.com>
839
840 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
841
70304be9
TT
8422020-03-20 Tom Tromey <tromey@adacore.com>
843
844 * gdb.ada/sub_variant/subv.adb: New file.
845 * gdb.ada/sub_variant.exp: New file.
846
0dd7b8f7
TV
8472020-03-20 Tom de Vries <tdevries@suse.de>
848
849 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
850 first break fails.
851 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
852
cada5fc9
AB
8532020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
854
855 * gdb.server/exit-multiple-threads.c: New file.
856 * gdb.server/exit-multiple-threads.exp: New file.
857
6b8c53f2
AB
8582020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
859
860 * gdb.fortran/mixed-lang-stack.c: New file.
861 * gdb.fortran/mixed-lang-stack.cpp: New file.
862 * gdb.fortran/mixed-lang-stack.exp: New file.
863 * gdb.fortran/mixed-lang-stack.f90: New file.
864
19a2740f
AB
8652020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
866
867 * gdb.linespec/cp-completion-aliases.cc: New file.
868 * gdb.linespec/cp-completion-aliases.exp: New file.
869
d8c8b848
TV
8702020-03-19 Tom de Vries <tdevries@suse.de>
871
872 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
873 more precise.
874
a9933ccf
TV
8752020-03-18 Tom de Vries <tdevries@suse.de>
876
877 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
878 * gdb.dwarf2/break-inline-psymtab.c: New test.
879 * gdb.dwarf2/break-inline-psymtab.exp: New file.
880
2f89101f
TV
8812020-03-16 Tom de Vries <tdevries@suse.de>
882
883 * lib/cache.exp (gdb_do_cache): Add and handle local variables
884 cache_verify and cache_verify_proc.
885
6b9374f1
TV
8862020-03-15 Tom de Vries <tdevries@suse.de>
887
888 * gdb.server/solib-list.exp: Handle
889 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
890
eaeaf44c
TV
8912020-03-15 Tom de Vries <tdevries@suse.de>
892
893 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
894 objfiles".
895
3293bbaf
TT
8962020-03-14 Tom Tromey <tom@tromey.com>
897
898 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
899
ab44624c
TV
9002020-03-14 Tom de Vries <tdevries@suse.de>
901
902 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
903
54c43825
TV
9042020-03-14 Tom de Vries <tdevries@suse.de>
905
906 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
907 result in line-by-line fashion.
908
2ac70237
TV
9092020-03-14 Tom de Vries <tdevries@suse.de>
910
911 * lib/gdb.exp (supports_statement_frontiers): New proc.
912 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
913
09546b56
TV
9142020-03-14 Tom de Vries <tdevries@suse.de>
915
916 * gdb.base/printcmds.exp: Add missing quoting for "print
917 teststring2".
918
a1f6a07c
TT
9192020-03-13 Tom Tromey <tom@tromey.com>
920
921 * gdb.base/printcmds.exp (test_print_strings): Add regression
922 test.
923 * gdb.base/printcmds.c (charptr): New typedef.
924 (teststring2): New global.
925
1b83d09c
AB
9262020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
927
928 * gdb.base/break-interp.exp: Use the tail of the filename, not the
929 full path in the test name.
930 (test_ld): Add some with_test_prefix blocks to make test names
931 unique.
932
2d61316c
TV
9332020-03-13 Tom de Vries <tdevries@suse.de>
934
935 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
936
2e9145ac
TV
9372020-03-13 Tom de Vries <tdevries@suse.de>
938
939 * gdb.mi/mi-sym-info.exp: Make matching more precise.
940
96c7f873
TV
9412020-03-13 Tom de Vries <tdevries@suse.de>
942
943 PR symtab/25646
944 * gdb.dwarf2/imported-unit.exp: Add test.
945
49ba92c0
TV
9462020-03-13 Tom de Vries <tdevries@suse.de>
947
948 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
949 (var1, var2): New variable.
950 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
951 matching symbols.
952
301b21e0
TV
9532020-03-13 Tom de Vries <tdevries@suse.de>
954
955 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
956 (Term::command): Use prompt prefix.
957 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
958 * gdb.tui/tui-layout-asm-short-prog.exp: Use
959 command_no_prompt_prefix instead of prefix.
960 * gdb.tui/tui-layout-asm.exp: Same.
961
3f512721
SM
9622020-03-12 Simon Marchi <simon.marchi@efficios.com>
963
964 * gdb.base/break-interp.exp: Use foreach_with_prefix.
965
40310f30
SM
9662020-03-12 Simon Marchi <simon.marchi@efficios.com>
967
968 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
969 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
970 on" while stepping over the test instruction, match printed
971 message.
972
09252140
TV
9732020-03-12 Tom de Vries <tdevries@suse.de>
974
975 * gdb.base/info-types.exp: Use exp_continue during matching of output
976 of "info types".
977
14e9c72c
TV
9782020-03-12 Tom de Vries <tdevries@suse.de>
979
980 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
981
e515d67e
TV
9822020-03-12 Tom de Vries <tdevries@suse.de>
983
984 * gdb.fortran/module.exp: Use exp_continue during matching of output
985 of "info variable -n".
986
307eafd8
TV
9872020-03-12 Tom de Vries <tdevries@suse.de>
988
989 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
990 gdb.dwarf2/dw2-ranges-base.c.
991
9a2de3fc
TV
9922020-03-12 Tom de Vries <tdevries@suse.de>
993
994 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
995 in presence of GLIBC debuginfo.
996
3217502e
TV
9972020-03-12 Tom de Vries <tdevries@suse.de>
998
999 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
1000 $core.
1001
1281424c
TV
10022020-03-12 Tom de Vries <tdevries@suse.de>
1003
1004 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
1005 more precise.
1006
038b97fc
SM
10072020-03-11 Simon Marchi <simon.marchi@efficios.com>
1008
1009 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
1010 from Unix to Windows path.
1011
5308d1e7
TV
10122020-03-11 Tom de Vries <tdevries@suse.de>
1013
1014 * gdb.ada/minsyms.exp: Set language to ada.
1015
f870f78f
TV
10162020-03-11 Tom de Vries <tdevries@suse.de>
1017
1018 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
1019
5a13315d
TV
10202020-03-11 Tom de Vries <tdevries@suse.de>
1021
1022 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
1023
976862ed
TT
10242020-03-11 Tom Tromey <tromey@adacore.com>
1025
1026 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
1027
7462c383
TV
10282020-03-11 Tom de Vries <tdevries@suse.de>
1029
1030 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
1031
1c6c46a0
TV
10322020-03-11 Tom de Vries <tdevries@suse.de>
1033
1034 * gdb.base/break-interp.exp: Limit verbose scope.
1035
44f41bb7
TV
10362020-03-11 Tom de Vries <tdevries@suse.de>
1037
1038 * gdb.fortran/logical.f90: Define variable with character type.
1039 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
1040
b76f3a42
TV
10412020-03-11 Tom de Vries <tdevries@suse.de>
1042
1043 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
1044
1c33af77
TV
10452020-03-11 Tom de Vries <tdevries@suse.de>
1046
1047 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
1048 symtabs.
1049
8c95582d
AB
10502020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1051 Bernd Edlinger <bernd.edlinger@hotmail.de>
1052
1053 * gdb.cp/step-and-next-inline.cc: New file.
1054 * gdb.cp/step-and-next-inline.exp: New file.
1055 * gdb.cp/step-and-next-inline.h: New file.
1056 * gdb.dwarf2/dw2-is-stmt.c: New file.
1057 * gdb.dwarf2/dw2-is-stmt.exp: New file.
1058 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
1059 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
1060 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
1061
cecf8547
AB
10622020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1063
1064 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
1065 is-stmt flag in the line table.
1066
0ba678c9
TV
10672020-03-09 Tom de Vries <tdevries@suse.de>
1068
1069 * lib/gdb.exp (cached_file): Create cache dir.
1070
72fbdf83
TV
10712020-03-07 Tom de Vries <tdevries@suse.de>
1072
1073 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
1074 * gdb.cp/rvalue-ref-params.exp: Same.
1075
436b5e99
TV
10762020-03-06 Tom de Vries <tdevries@suse.de>
1077
1078 * lib/gdb.exp (tentative_rename, cached_file): New proc.
1079 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
1080
09f2921c
TV
10812020-03-06 Tom de Vries <tdevries@suse.de>
1082
1083 * README: Fix "the the".
1084 * gdb.base/dprintf.exp: Same.
1085
50a3cc5d
TV
10862020-03-05 Tom de Vries <tdevries@suse.de>
1087
1088 * gdb.base/maint.exp: Update "main print statistics" expected output.
1089
0a709cba
AKS
10902020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1091
1092 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
1093 (fortran_int8): Likewise.
1094 (fortran_real4): Likewise.
1095 (fortran_real8): Likewise.
1096 (fortran_complex4): Likewise.
1097 (fortran_logical4): Likewise.
1098 (fortran_character1): Likewise.
1099
5e5d66b6
AB
11002020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
1101
1102 * gdb.fortran/logical.exp: Add tests that any non-zero value is
1103 printed as true.
1104
7b973adc
SDJ
11052020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
1106
1107 * gdb.base/printcmds.exp: Add test to verify printf of a
1108 variable holding an address.
1109
478e490a
TV
11102020-03-03 Tom de Vries <tdevries@suse.de>
1111
1112 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
1113
1ef44e86
TV
11142020-03-03 Tom de Vries <tdevries@suse.de>
1115
1116 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
1117 gdb_test_multiple call.
1118
b98cc2cf
TV
11192020-03-03 Tom de Vries <tdevries@suse.de>
1120
1121 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
1122 gdb_test_multiple calls.
1123
63e163f2
AB
11242020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1125
1126 * gdb.base/default.exp: Remove test of 'set history filename'.
1127 * gdb.base/gdbinit-history.exp: Add tests for setting the history
1128 filename to the empty string.
1129 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
1130 and GDBHISTSIZE.
1131
24ed6739
AB
11322020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1133
1134 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
1135 disabled.
1136
590003dc
TV
11372020-03-02 Pedro Alves <palves@redhat.com>
1138 Tom de Vries <tdevries@suse.de>
1139
1140 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
1141 -prompt prefix, before user_code argument. Add -lbl option likewise.
1142 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
1143 (gdb_is_target_1): Add -prompt prefix and move to before user_code
1144 argument.
1145 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
1146 have "\r\n" at start-of-line, instead of at end-of-line.
1147
f5e46084
SM
11482020-02-28 Simon Marchi <simon.marchi@efficios.com>
1149
1150 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
1151 libinproctrace.so.
1152
f7a7000d
LM
11532020-02-28 Luis Machado <luis.machado@linaro.org>
1154
1155 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
1156 to "p/x".
1157
718e0816
LM
11582020-02-28 Luis Machado <luis.machado@linaro.org>
1159
1160 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
1161 asm/ptrace.h and error.h.
1162
13c3a74a
TV
11632020-02-28 Tom de Vries <tdevries@suse.de>
1164
1165 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
1166 (struct wrapper, do_something, mundane/symada__cS): Move ...
1167 * gdb.base/c-linkage-name-2.c: ... here. New source file.
1168 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
1169 Update "print symada__cS before partial symtab expansion" regexp.
1170 Update breakpoint location. Flush symbol cache after expansion.
1171
85d2d5bb
LM
11722020-02-28 Luis Machado <luis.machado@linaro.org>
1173
1174 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
1175
3608f86c
TV
11762020-02-27 Tom de Vries <tdevries@suse.de>
1177
1178 * config/sid.exp: Remove unused globals.
1179 * gdb.base/attach.exp: Same.
1180 * gdb.base/catch-load.exp: Same.
1181 * gdb.base/dbx.exp: Same.
1182 * lib/gdb.exp: Same.
1183 * lib/mi-support.exp: Same.
1184 * lib/prompt.exp: Same.
1185
c8d4f6df
TV
11862020-02-27 Tom de Vries <tdevries@suse.de>
1187
1188 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
1189 not set.
1190
0d79cdc4
AM
11912020-02-26 Aaron Merey <amerey@redhat.com>
1192
1193 * gdb.debuginfod: New directory for debuginfod tests.
1194 * gdb.debuginfod/main.c: New test file.
1195 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
1196
0dce4280
TV
11972020-02-26 Tom de Vries <tdevries@suse.de>
1198
1199 PR gdb/25603
1200 * gdb.base/persistent-lang.cc: New test.
1201 * gdb.base/persistent-lang.exp: New file.
1202
9e80cfa1
AB
12032020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1204
1205 * gdb.fortran/derived-type-striding.exp: Add a new test.
1206 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
1207 new test.
1208
2078dbb2
AB
12092020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1210
1211 * gdb.base/cached-source-file.exp: Avoid source file paths in test
1212 names.
1213
70d49700
TV
12142020-02-25 Tom de Vries <tdevries@suse.de>
1215
1216 PR go/18926
1217 * gdb.go/methods.exp: Remove gcc/93866 xfail.
1218
a88ef40d
TV
12192020-02-24 Tom de Vries <tdevries@suse.de>
1220
1221 PR gdb/25592
1222 * gdb.base/info-locals-unused-static-var.c: New test.
1223 * gdb.base/info-locals-unused-static-var.exp: New file.
1224
01b1af32
TT
12252020-02-22 Tom Tromey <tom@tromey.com>
1226
1227 * gdb.python/tui-window.exp: New file.
1228 * gdb.python/tui-window.py: New file.
1229
7c043ba6
TT
12302020-02-22 Tom Tromey <tom@tromey.com>
1231
1232 PR tui/17850:
1233 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
1234 tests.
1235
c22fef7e
TT
12362020-02-22 Tom Tromey <tom@tromey.com>
1237
1238 * gdb.tui/new-layout.exp: Add sub-layout tests.
1239
ee325b61
TT
12402020-02-22 Tom Tromey <tom@tromey.com>
1241
1242 * gdb.tui/new-layout.exp: New file.
1243
3f0cbb04
TT
12442020-02-22 Tom Tromey <tom@tromey.com>
1245
1246 * gdb.rust/rust-style.rs: New file.
1247 * gdb.rust/rust-style.exp: New file.
1248 * gdb.base/style.exp: Test structure printing.
1249 * gdb.base/style.c (struct some_struct): New type.
1250 (enum etype): New type.
1251 (struct_value): New global.
1252
75525152
TV
12532020-02-21 Tom de Vries <tdevries@suse.de>
1254
1255 PR go/18926
1256 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
1257 Remove blanket xfails. Use message argument for gdb_breakpoint.
1258 Make continuing to breakpoint test conditional on setting breakpoint.
1259 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
1260 DW_AT_name attribute. Add xfail for GCC PR93866.
1261
bd360d30
AB
12622020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
1263
1264 * gdb.dwarf2/cpp-linkage-name.c: New file.
1265 * gdb.dwarf2/cpp-linkage-name.exp: New file.
1266
c7adb09f 12672020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
1268
1269 * lib/gdb.exp (gdb_wrapper_init): Reset
1270 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
1271 not exist.
1272
a9c79803
TV
12732020-02-20 Tom de Vries <tdevries@suse.de>
1274
1275 PR go/17018
1276 * gdb.go/hello.exp: Copy ...
1277 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
1278 print of st to print value of global definition. Add xfail for GCC
1279 PR93844.
1280 * gdb.go/hello.exp: Remove printing of st before definition.
1281 * gdb.go/hello.go: Copy ...
1282 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
1283 to st.
1284 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
1285
d7445728
TV
12862020-02-20 Tom de Vries <tdevries@suse.de>
1287
1288 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
1289 (gdb_simple_compile): Handle compile_flags go by using .go extension
1290 for source file.
1291 * gdb.go/chan.exp: Use support_go_compile.
1292 * gdb.go/handcall.exp: Same.
1293 * gdb.go/hello.exp: Same.
1294 * gdb.go/integers.exp: Same.
1295 * gdb.go/max-depth.exp: Same.
1296 * gdb.go/methods.exp: Same.
1297 * gdb.go/package.exp: Same.
1298 * gdb.go/strings.exp: Same.
1299 * gdb.go/types.exp: Same.
1300 * gdb.go/unsafe.exp: Same.
1301
c9c41e6d
TV
13022020-02-19 Tom de Vries <tdevries@suse.de>
1303
1304 * gdb.python/lib-types.exp: Make xfail more strict.
1305
f20ff837
TV
13062020-02-19 Tom de Vries <tdevries@suse.de>
1307
1308 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
1309
08410482
DE
13102020-02-19 Doug Evans <dje@google.com>
1311
1312 PR rust/25535
1313 * gdb.rust/simple.exp: Add test.
1314 * gdb.rust/simple.rs: Add test.
1315
623563f7
TV
13162020-02-19 Tom de Vries <tdevries@suse.de>
1317
1318 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
1319 output line-by-line.
1320
d3308cfd
TV
13212020-02-19 Tom de Vries <tdevries@suse.de>
1322
1323 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
1324
86cbc5dc
TV
13252020-02-19 Tom de Vries <tdevries@suse.de>
1326
1327 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
1328 prelink.
1329
9db2b96b
TV
13302020-02-19 Tom de Vries <tdevries@suse.de>
1331
1332 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
1333 (gdb_do_cache): Use gdb_do_cache_wrap.
1334 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
1335
89e2fdc5
TV
13362020-02-19 Tom de Vries <tdevries@suse.de>
1337
1338 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
1339 gdb_compile option.
1340
373d7ac0
SM
13412020-02-18 Simon Marchi <simon.marchi@efficios.com>
1342
1343 * gdb.base/printcmds.exp (test_print_enums): Update expected
1344 output.
1345
b29a2df0
SM
13462020-02-18 Simon Marchi <simon.marchi@efficios.com>
1347
1348 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
1349 for "unknown".
1350
6740f0cc
SM
13512020-02-18 Simon Marchi <simon.marchi@efficios.com>
1352
1353 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
1354 enumerator.
1355
edd45eb0
SM
13562020-02-18 Simon Marchi <simon.marchi@efficios.com>
1357
1358 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
1359 FE_, add FE_NONE.
1360 (three): Update.
1361 (enum flag_enum_without_zero): New enum.
1362 (flag_enum_without_zero): New variable.
1363 (enum not_flag_enum): New enum.
1364 (three_not_flag): New variable.
1365 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
1366 (test_print_enums): Add more tests for printing flag enums.
1367
d4295de4
TV
13682020-02-18 Tom de Vries <tdevries@suse.de>
1369
1370 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
1371 (gdb_compile_ada): ... here.
1372 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
1373 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
1374
f251f505
TT
13752020-02-14 Tom Tromey <tom@tromey.com>
1376
1377 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
1378 build directory.
1379 * boards/gdbserver-base.exp: Update path to gdbserver.
1380
8f432634
TV
13812020-02-13 Tom de Vries <tdevries@suse.de>
1382
1383 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
1384
92b6eaf7
TV
13852020-02-13 Tom de Vries <tdevries@suse.de>
1386
1387 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
1388 are missing.
1389
f3b0f7fe
TV
13902020-02-13 Tom de Vries <tdevries@suse.de>
1391
1392 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
1393 call.
1394
f6be8713
SDJ
13952020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1396
1397 PR tui/25126
1398 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
1399 * gdb.base/cached-source-file.c: New file.
1400 * gdb.base/cached-source-file.exp: New file.
1401
b2770d5e
TV
14022020-02-11 Tom de Vries <tdevries@suse.de>
1403
1404 PR testsuite/25488
1405 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
1406
44f6938e
TV
14072020-02-10 Tom de Vries <tdevries@suse.de>
1408
1409 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
1410
5f0e2eb7
MR
14112020-02-10 Maciej W. Rozycki <macro@wdc.com>
1412
1413 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
1414 and $after_addr are both integers before making a comparison.
1415
46ce2b6f
TV
14162020-02-09 Tom de Vries <tdevries@suse.de>
1417
1418 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
1419 command output and paste it into gdb.log. If any, paste catch message
1420 to gdb.log.
1421
5abbbe1d
TT
14222020-02-07 Tom Tromey <tromey@adacore.com>
1423
1424 PR breakpoints/24915:
1425 * gdb.base/annotate-symlink.exp: Use setup_xfail.
1426
1d5d29e7
SV
14272020-02-06 Shahab Vahedi <shahab@synopsys.com>
1428
1429 * gdb.tui/tui-missing-src.exp: Add the "missing source
1430 file" test for the TUI.
1431
b0999b9b
AB
14322020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
1433
1434 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
1435 including a port number in the output.
1436
c3b149eb
AKS
14372020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1438
1439 * lib/fortran.exp (fortran_int4): Handle clang.
1440 (fortran_int8): Likewise.
1441 (fortran_real4): Likewise.
1442 (fortran_real8): Likewise.
1443 (fortran_complex4): Likewise.
1444 (fortran_logical4): Likewise.
1445 (fortran_character1): Likewise.
1446
f8dcc90b
TV
14472020-02-04 Tom de Vries <tdevries@suse.de>
1448
1449 * README (Race detection): Add note.
1450
f90ac7c2
TV
14512020-02-04 Tom de Vries <tdevries@suse.de>
1452
1453 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
1454
780636ae
TV
14552020-02-04 Tom de Vries <tdevries@suse.de>
1456
1457 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
1458
5d2e1193
RA
14592020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1460
1461 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
1462 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
1463 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
1464 blttar, bnetarl.
1465 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
1466 binary for blttar, bnetarl.
1467 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
1468 wait instruction. Delete ldmx test.
1469 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
1470
e409c542
AKS
14712020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1472
1473 * gdb.fortran/array-bounds-high.exp: New file.
1474 * gdb.fortran/array-bounds-high.f90: New file.
1475
b0029748
LD
14762020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
1477
1478 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
1479 Replace #include of <sys/fcntl.h> by <fcntl.h>.
1480
195a8287
TV
14812020-02-01 Tom de Vries <tdevries@suse.de>
1482
1483 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
1484
42330a68
AB
14852020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
1486
1487 PR tui/9765
1488 * gdb.tui/tui-layout-asm-short-prog.S: New file.
1489 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
1490
b62a8028
LM
14912020-01-29 Luis Machado <luis.machado@linaro.org>
1492
1493 * gdb.arch/aarch64-brk-patterns.c: New source file.
1494 * gdb.arch/aarch64-brk-patterns.exp: New test.
1495
5f440116
TBA
14962020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1497
1498 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
1499 GCC/Clang version.
1500 * gdb.cp/pass-by-ref.exp: Ditto.
1501
ee2a6fc6
TV
15022020-01-29 Tom de Vries <tdevries@suse.de>
1503
1504 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
1505 * gdb.threads/watchpoint-fork-mt.c: Same.
1506 * gdb.threads/watchpoint-fork-parent.c: Same.
1507 * gdb.threads/watchpoint-fork-st.c: Same.
1508 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
1509
16b10d6e
LM
15102020-01-27 Luis Machado <luis.machado@linaro.org>
1511
1512 * gdb.base/step-over-syscall.exp (setup): Check if we're already
1513 sitting at a syscall instruction when we hit the syscall function's
1514 breakpoint.
1515 Check PC against one obtained with the x command.
1516 Validate syscall number.
1517 (step_over_syscall): Don't continue to the syscall instruction if
1518 we're already there.
1519
b1468492
PW
15202020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1521
1522 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
1523
7ffa82e1
AB
15242020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1525
1526 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
1527 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
1528
3d92a3e3
AB
15292020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1530
1531 * gdb.dwarf2/dw2-inline-stepping.c: New file.
1532 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
1533
94a72be7
AB
15342020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1535
1536 * gdb.base/maint.exp: Update line table parsing test.
1537 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
1538
53af73bf
PA
15392020-01-24 Pedro Alves <palves@redhat.com>
1540
1541 PR gdb/25410
1542 * gdb.multi/multi-re-run-1.c: New.
1543 * gdb.multi/multi-re-run-2.c: New.
1544 * gdb.multi/multi-re-run.exp: New.
1545
1ba1ac88
AB
15462020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1547
1548 PR gdb/23718
1549 * gdb.server/server-kill-python.exp: New file.
1550
f3364a6d
AB
15512020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1552
1553 * gdb.server/multi-ui-errors.c: New file.
1554 * gdb.server/multi-ui-errors.exp: New file.
1555
733d0a67
AB
15562020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1557
1558 PR tui/9765
1559 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
1560
4f13c1c0
TT
15612020-01-19 Tom Tromey <tom@tromey.com>
1562
1563 * gdb.tui/main.exp: Add check for plain "file".
1564
40c94099
CB
15652020-01-16 Christian Biesinger <cbiesinger@google.com>
1566
1567 * lib/gdb.exp: Fix spelling error (seperatelly).
1568
ff47f4f0
TT
15692020-01-14 Tom Tromey <tom@tromey.com>
1570
1571 PR symtab/12535:
1572 * gdb.python/python.exp: Test decode_line with empty string
1573 argument.
1574
717c684d
BE
15752020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
1576
1577 * gdb.base/skip-inline.exp: Extend test.
1578
44e4c775
AB
15792020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1580
1581 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
1582 * gdb.dwarf2/dw2-bad-elf.c: New file.
1583 * gdb.dwarf2/dw2-bad-elf.exp: New file.
1584
d93c6db7
AB
15852020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1586
1587 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
1588 _line_saw_file.
1589
9a6d629c
AB
15902020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1591
1592 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
1593 border.
1594
d9ebdab7
TBA
15952020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1596
1597 * gdb.multi/multi-target.exp (setup): Factor out "info
1598 connections" and "info inferiors" tests to ...
1599 (test_info_inferiors): ... this new procedure.
1600 (top level): Run new "info-inferiors" tests.
1601
f3c469b9
PA
16022020-01-10 Pedro Alves <palves@redhat.com>
1603
1604 * gdb.server/bkpt-other-inferior.exp: New file.
1605
121b3efd
PA
16062020-01-10 Pedro Alves <palves@redhat.com>
1607
1608 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
1609 of "add-inferior".
1610 * gdb.base/quit-live.exp: Likewise.
1611 * gdb.base/remote-exec-file.exp: Likewise.
1612 * gdb.guile/scm-progspace.exp: Likewise.
1613 * gdb.linespec/linespec.exp: Likewise.
1614 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1615 * gdb.mi/user-selected-context-sync.exp: Likewise.
1616 * gdb.multi/multi-target.exp (setup): Add "info connection" and
1617 "info inferiors" tests.
1618 * gdb.multi/remove-inferiors.exp: Adjust expected output of
1619 "add-inferior".
1620 * gdb.multi/watchpoint-multi.exp: Likewise.
1621 * gdb.python/py-inferior.exp: Likewise.
1622 * gdb.server/extended-remote-restart.exp: Likewise.
1623 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
1624 "info inferiors".
1625 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1626 * gdb.trace/report.exp: Likewise.
1627
1dadb1dd
PA
16282020-01-10 Pedro Alves <palves@redhat.com>
1629
1630 * gdb.multi/multi-target.c: New file.
1631 * gdb.multi/multi-target.exp: New file.
1632 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
1633 mode requested, but remote does not support non-stop".
1634
78f2c40a
PA
16352020-01-10 Pedro Alves <palves@redhat.com>
1636
1637 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
1638 disconnect before reconnecting.
1639
e7af6c70
TBA
16402020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1641 Pedro Alves <palves@redhat.com>
1642
1643 * gdb.server/connect-without-multi-process.exp: Also test
1644 continuing to end.
1645
acdf84a6
PA
16462020-01-10 Pedro Alves <palves@redhat.com>
1647
1648 * gdb.base/remote-exec-file.exp: New file.
1649
873657b9
PA
16502020-01-10 Pedro Alves <palves@redhat.com>
1651
1652 * gdb.base/fork-running-state.exp (do_test): Adjust expected
1653 output.
1654 * gdb.threads/async.c: New.
1655 * gdb.threads/async.exp: New.
1656 * gdb.multi/tids-gid-reset.c: New.
1657 * gdb.multi/tids-gid-reset.exp: New.
1658
7f0ae84c
GB
16592020-01-10 George Barrett <bob@bob131.so>
1660
1661 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
1662 to help in finding the image relocation offset.
1663 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
1664 options in arguments.
1665 (stap_test_no_debuginfo): Likewise.
1666 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
1667 test variants.
1668 (stap_test): Add null semaphore relocation test.
1669
47e9d49d
GB
16702020-01-10 George Barrett <bob@bob131.so>
1671
1672 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
1673 * gdb.base/stap-probe.exp: Likewise.
1674 (stap_test): Pass argument as an additional flag.
1675 (stap_test_no_debuginfo): Likewise.
1676 (stap_test): Check `info probes stap' output for semaphore
1677 addresses if the test binary is supposed to have them.
1678
f5a7c406
AB
16792020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1680
1681 * gdb.tui/basic.exp: Add more scrolling tests.
1682
9ae6bf64
TT
16832020-01-09 Tom Tromey <tom@tromey.com>
1684
1685 PR tui/18932:
1686 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
1687 meangingful value.
1688 (Term::command, Term::resize): Update.
1689 * gdb.tui/basic.exp: Add scrolling test.
1690
b2efe70c
AB
16912020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1692
1693 * gdb.tui/tui-layout-asm.exp: New file.
1694
3804da7e
AB
16952020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1696
1697 * lib/tuiterm.exp (Term::check_box_contents): New proc.
1698
b40aa28f
AB
16992020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1700
1701 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
1702 (Term::enter_tui): Use Term::prepare_for_tui.
1703
63ffd7c9
AB
17042020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1705
1706 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
1707 called.
1708
3be966f6
AB
17092020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1710
1711 * gdb.base/skip.exp: Fix race condition in test.
1712
153d79c4
AB
17132020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1714
1715 * gdb.base/backtrace.c: New file.
1716 * gdb.base/backtrace.exp: New file.
1717
f2302a34
AB
17182020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
1719
1720 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
1721
6ec1d75e
PW
17222020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1723
1724 * gdb.base/style.exp: Test that warnings are styled.
1725
c296cbe6
BE
17262019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
1727
1728 * gdb.base/line65535.exp: New file.
1729 * gdb.base/line65535.c: New file.
1730
b28a729d
SM
17312019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
1732
1733 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
1734 * lib/gnat_debug_info_test.adb: New file.
1735 * gdb.ada/ptype_tagged_param.exp: Use
1736 gnat_runtime_has_debug_info, expect a different output if
1737 runtime does not have debug info.
1738
7f2d7a0d
SM
17392019-12-20 Simon Marchi <simon.marchi@efficios.com>
1740
1741 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
1742 (another) quote in test name.
1743
f3bce483
SM
17442019-12-20 Simon Marchi <simon.marchi@efficios.com>
1745
1746 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
1747 Add quote in test name.
1748
c855a912
TBA
17492019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1750
1751 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
1752 directory instead.
1753 * gdb.cp/pass-by-ref.exp: Extend with more cases.
1754 * gdb.cp/pass-by-ref-2.cc: New file.
1755 * gdb.cp/pass-by-ref-2.exp: New file.
1756
fc9d2d72
TT
17572019-12-20 Tom Tromey <tom@tromey.com>
1758
1759 * gdb.tui/list-before.exp: New file.
1760
77b97e00
TT
17612019-12-20 Tom Tromey <tom@tromey.com>
1762
1763 * gdb.tui/list.exp: Check for source on initial listing.
1764
f69656d0
TT
17652019-12-11 Tom Tromey <tromey@adacore.com>
1766
1767 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
1768 Add crlf test.
1769
99a55965
SM
17702019-12-18 Simon Marchi <simon.marchi@efficios.com>
1771
1772 * gdb.base/default.exp: Update value of $_gdb_major.
1773
5024637f
BE
17742019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1775
1776 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
1777
b63634be
BE
17782019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1779
1780 * gdb.base/skip.exp: Whitespace fix.
1781
45d73523
BE
17822019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1783
1784 * gdb.base/skip-inline.c: New file.
1785 * gdb.base/skip-inline.exp: New file.
1786
d043f8c8
SM
17872019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
1788
1789 * gdb.base/jit-reader.exp (jit_reader_test): Rename
1790 jit_function_00 to jit_function_stack_mangle.
1791 * gdb.base/jithost.c (jit_function_t): Rename to...
1792 (jit_function_stack_mangle_t): ... this.
1793 (jit_function_add_t): New typedef.
1794 (jit_function_00_code): Rename to...
1795 (jit_function_stack_mangle_code): ... this, make static.
1796 (jit_function_add_code): New.
1797 (main): Generate "add" function and call it. Adjust to changes
1798 in jithost_abi.
1799 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
1800 (struct jithost_abi) <begin, end>: Remove fields.
1801 <object, function_stack_mangle, function_add>: New fields.
1802 * gdb.base/jitreader.c (struct reader_state) <code_begin,
1803 code_end>: Remove fields.
1804 <func_stack_mangle>: New field.
1805 (read_debug_info): Adjust to renaming, create block for "add"
1806 function.
1807 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
1808
873de05c
TT
18092019-12-11 Tom Tromey <tom@tromey.com>
1810
1811 * gdb.tui/resize.exp: Fix regexp.
1812 * gdb.tui/regs.exp: Fix regexps.
1813 * gdb.tui/main.exp: Fix regexp.
1814
3d979945
TT
18152019-12-11 Tom Tromey <tom@tromey.com>
1816
1817 * gdb.tui/resize.exp: Update.
1818 * gdb.tui/empty.exp (layouts): Update.
1819
2192a9d3
TT
18202019-12-11 Tom Tromey <tom@tromey.com>
1821
1822 * gdb.tui/regs.exp: Update.
1823 * gdb.tui/empty.exp (layouts): Update.
1824 * gdb.tui/basic.exp: Update.
1825 * lib/tuiterm.exp (_check_box): Don't check bottom border.
1826
d8edc8b7
PW
18272019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1828
1829 * gdb.base/options.exp: Add -raw-values in the print completion list.
1830 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
1831
4c12d936
KB
18322019-12-10 Kevin Buettner <kevinb@redhat.com>
1833
1834 * gdb.threads/omp-par-scope.c: New file.
1835 * gdb/threads/omp-par-scope.exp: New file.
1836
26b911fb
KB
18372019-12-10 Kevin Buettner <kevinb@redhat.com>
1838
bb47f919
KB
1839 * lib/gdb.exp (support_nested_function_tests): New proc.
1840
18412019-12-10 Kevin Buettner <kevinb@redhat.com>
1842
1843 * lib/gdb.exp (gdb_compile_openmp): New proc.
1844 (build_executable_from_specs): Add an "openmp" option.
1845 (gdb_compile_pthreads): Add non-executable case.
26b911fb 1846
6c71eb7d
TT
18472019-12-10 Tom Tromey <tromey@adacore.com>
1848
1849 * gdb.ada/unchecked_union.exp: New file.
1850 * gdb.ada/unchecked_union/pck.adb: New file.
1851 * gdb.ada/unchecked_union/pck.ads: New file.
1852 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1853 * gdb-utils.exp (string_to_regexp): Also quote "?".
1854
bac7c5cf
GB
18552019-12-10 George Barrett <bob@bob131.so>
1856
1857 Test scripted probe breakpoints.
1858 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1859 * gdb.python/py-breakpoint.c (main): Likewise.
1860 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1861 specifier test.
1862 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1863
330f1d38
TBA
18642019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1865
1866 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1867 an rvalue parameter.
1868 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1869 parameter.
1870
b43315e2
AB
18712019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1872
1873 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1874 modules.
1875
54f73dad
AB
18762019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1877
1878 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1879 broken version of GCC.
1880
d57cbee9
AB
18812019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1882
1883 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1884 sym-info-cmds library.
1885 * gdb.fortran/info-types.exp: Likewise.
1886 * lib/sym-info-cmds.exp: New file.
1887
c14aab8c
TV
18882019-12-08 Tom de Vries <tdevries@suse.de>
1889
1890 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1891
aa2d5a42
KS
18922019-12-07 Keith Seitz <keiths@redhat.com>
1893
1894 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1895 * gdb.base/corefile-buildid-shlib.c: New file.
1896 * gdb.base/corefile-buildid.c: New file.
1897 * gdb.base/corefile-buildid.exp: New file.
1898
93e55f0a
TV
18992019-12-06 Tom de Vries <tdevries@suse.de>
1900
1901 * gdb.dwarf2/varval.exp: Add decl before def test.
1902
c7d12402
TBA
19032019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1904
1905 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1906
06acc08f
TBA
19072019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1908
1909 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1910 CV and reference conversion for overload resolution.
1911 * gdb.cp/rvalue-ref-overload.exp: Test it.
1912
e0fad1ea
PW
19132019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1914
1915 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1916 * gdb.base/frameapply.exp: Test faas without command.
1917
8d70a9f0
AB
19182019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1919
1920 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1921 Fortran tests.
1922 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1923 order.
1924
36c8fb93
AB
19252019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1926
1927 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1928 casting to type with no kind specified.
1929 (test_basic_parsing_of_type_kinds): Additional tests for types
1930 with no kind specified, and add tests for single/double
1931 precision/complex types.
1932
4139ff00
TT
19332019-12-04 Tom Tromey <tromey@adacore.com>
1934
1935 * gdb.base/endianity.c (struct other) <x>: New field.
1936 (main): Initialize it.
1937 * gdb.base/endianity.exp: Update.
1938
a05cf17a
TT
19392019-12-04 Tom Tromey <tromey@adacore.com>
1940
1941 * gdb.ada/scalar_storage/storage.adb: New file.
1942 * gdb.ada/scalar_storage/pck.adb: New file.
1943 * gdb.ada/scalar_storage/pck.ads: New file.
1944 * gdb.ada/scalar_storage.exp: New file.
1945
103a685e
TT
19462019-12-04 Tom Tromey <tromey@adacore.com>
1947
1948 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1949 (main): Initialize it.
1950 * gdb.base/endianity.exp: Update.
1951
c2512106
AB
19522019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1953
1954 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1955
293b38d6
AB
19562019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1957
1958 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1959 -symbol-info-module-functions and -symbol-info-module-variables.
1960
216a7e6b
AB
19612019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1962
1963 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1964
5bbd8269
AB
19652019-12-01 Richard Bunt <richard.bunt@arm.com>
1966 Andrew Burgess <andrew.burgess@embecosm.com>
1967
1968 * gdb.fortran/derived-type-striding.exp: New file.
1969 * gdb.fortran/derived-type-striding.f90: New file.
1970 * gdb.fortran/array-slices.exp: New file.
1971 * gdb.fortran/array-slices.f90: New file.
1972
be09caf1
PW
19732019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1974
1975 * gdb.base/define.exp: Test . in command names.
1976 * gdb.base/setshow.exp: Update test, as . is now part of
1977 command name.
1978
643c0cbe
PW
19792019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1980
1981 * gdb.base/define-prefix.exp: New file.
1982
dcdec678
AB
19832019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1984
1985 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1986 compile.
1987 (skip_btrace_pt_tests): Likewise.
1988
640ab947
AB
19892019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1990
1991 * gdb.fortran/info-modules.exp: Compile source files in correct
1992 order.
1993
d22670f0
KB
19942019-11-27 Kevin Buettner <kevinb@redhat.com>
1995
1996 * gdb.dwarf2/imported-unit.exp: New file.
1997 * gdb.dwarf2/imported-unit.c: New file.
1998
db5960b4
AB
19992019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2000
2001 * gdb.mi/mi-fortran-modules-2.f90: New file.
2002 * gdb.mi/mi-fortran-modules.exp: New file.
2003 * gdb.mi/mi-fortran-modules.f90: New file.
2004
7dc42066
AB
20052019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2006
2007 * gdb.mi/mi-sym-info-1.c: New file.
2008 * gdb.mi/mi-sym-info-2.c: New file.
2009 * gdb.mi/mi-sym-info.exp: New file.
2010
0dfeecca
TT
20112019-11-22 Tom Tromey <tromey@adacore.com>
2012
2013 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
2014 * gdb.ada/tasks/foo.adb: Add another stopping location.
2015
34877895
PJ
20162019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
2017
2018 * gdb.base/endianity.c: New test.
2019 * gdb.base/endianity.exp: New file.
2020
2e84f897
LD
20212019-11-21 Lukas Durfina <ldurfina@tachyum.com>
2022
2023 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
2024
65d1cd5f
TV
20252019-11-21 Tom de Vries <tdevries@suse.de>
2026
2027 PR gdb/24956
2028 * gdb.base/ui-redirect.exp: Test output of user-defined command.
2029
4f22c3f4
SDJ
20302019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2031
2032 * gdb.python/py-progspace.exp: Add missing parentheses on some
2033 'print' commands.
2034
9f6ad286
TT
20352019-11-19 Tom Tromey <tom@tromey.com>
2036
2037 * gdb.tui/winheight.exp: New file.
2038
0b8dbf3f
AB
20392019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2040
2041 * gdb.base/ctf-whatis.c: Delete.
2042 * gdb.base/ctf-whatis.exp: Delete.
2043 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
2044
f833b7a7
AB
20452019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2046
2047 * gdb.base/ctf-cvexpr.exp: Delete.
2048 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
2049
30d0a636
AB
20502019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2051
2052 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
2053 the compiler. Clean up header comment a little.
2054 * gdb.base/ctf-ptype.exp: Likewise.
2055 * gdb.base/ctf-whatis.exp: Likewise.
2056 * lib/gdb.exp (skip_ctf_tests): New proc.
2057
494409bb
SDJ
20582019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
2059
2060 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
2061 * gdb.tui/corefile-run.exp: New file.
2062
55708e99
TT
20632019-11-14 Tom Tromey <tromey@adacore.com>
2064
2065 * gdb.base/gdbvars.exp (test_convenience_variables): Add
2066 regression tests.
2067
45e42163
TT
20682019-11-12 Tom Tromey <tom@tromey.com>
2069
2070 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
2071 after any command. Expect prompt after WAIT_FOR is seen.
2072 (enter_tui): Enable resize messages.
2073 (command): Expect command in output.
2074 (get_line): Avoid error when cursor appears to be off-screen.
2075 (dump_screen): Include screen size in title.
2076 (_do_resize): New proc, from "resize".
2077 (resize): Rewrite. Do resize in two steps.
2078 * gdb.tui/empty.exp (layouts): Fix entries.
2079 (check_boxes): Remove xfail.
2080 (check_text): Dump screen on failure.
2081
086baaf1
AB
20822019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2083
2084 * gdb.python/py-symbol.exp: Add test for
2085 gdb.lookup_static_symbols.
2086
09ff83af
AB
20872019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2088
2089 * gdb.python/py-symbol.c: Declare and call function from new
2090 py-symbol-2.c file.
2091 * gdb.python/py-symbol.exp: Compile both source files, and add new
2092 tests for gdb.lookup_static_symbol.
2093 * gdb.python/py-symbol-2.c: New file.
2094
11af934b
TV
20952019-11-02 Tom de Vries <tdevries@suse.de>
2096
2097 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
2098 * gdb.base/anon.exp: Same.
2099 * gdb.base/auto-connect-native-target.exp: Same.
2100 * gdb.base/call-ar-st.exp: Same.
2101 * gdb.base/catch-syscall.exp: Same.
2102 * gdb.base/commands.exp: Same.
2103 * gdb.base/default.exp: Same.
2104 * gdb.base/display.exp: Same.
2105 * gdb.base/float.exp: Same.
2106 * gdb.base/foll-fork.exp: Same.
2107 * gdb.base/help.exp: Same.
2108 * gdb.base/info-macros.exp: Same.
2109 * gdb.base/info-proc.exp: Same.
2110 * gdb.base/info-target.exp: Same.
2111 * gdb.base/long_long.exp: Same.
2112 * gdb.base/macscp.exp: Same.
2113 * gdb.base/memattr.exp: Same.
2114 * gdb.base/nofield.exp: Same.
2115 * gdb.base/pointers.exp: Same.
2116 * gdb.base/printcmds.exp: Same.
2117 * gdb.base/ptype.exp: Same.
2118 * gdb.base/restore.exp: Same.
2119 * gdb.base/return.exp: Same.
2120 * gdb.base/scope.exp: Same.
2121 * gdb.base/set-noassign.exp: Same.
2122 * gdb.base/setshow.exp: Same.
2123 * gdb.base/shlib-call.exp: Same.
2124 * gdb.base/signals.exp: Same.
2125 * gdb.base/sigstep.exp: Same.
2126 * gdb.base/skip.exp: Same.
2127 * gdb.base/solib-symbol.exp: Same.
2128 * gdb.base/stap-probe.exp: Same.
2129 * gdb.base/step-line.exp: Same.
2130 * gdb.base/step-test.exp: Same.
2131 * gdb.base/style.exp: Same.
2132 * gdb.base/varargs.exp: Same.
2133 * gdb.base/vla-datatypes.exp: Same.
2134 * gdb.base/vla-ptr.exp: Same.
2135 * gdb.base/vla-sideeffect.exp: Same.
2136 * gdb.base/volatile.exp: Same.
2137 * gdb.base/watch-cond-infcall.exp: Same.
2138 * gdb.base/watchpoint.exp: Same.
2139
e96ec2ba
TV
21402019-11-02 Tom de Vries <tdevries@suse.de>
2141
2142 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
2143 * gdb.cp/cpexprs.exp: Same.
2144 * gdb.cp/except-multi-location.exp: Same.
2145 * gdb.cp/exceptprint.exp: Same.
2146 * gdb.cp/gdb2384.exp: Same.
2147 * gdb.cp/inherit.exp: Same.
2148 * gdb.cp/m-static.exp: Same.
2149 * gdb.cp/meth-typedefs.exp: Same.
2150 * gdb.cp/misc.exp: Same.
2151 * gdb.cp/namespace.exp: Same.
2152 * gdb.cp/non-trivial-retval.exp: Same.
2153 * gdb.cp/overload.exp: Same.
2154 * gdb.cp/pr17132.exp: Same.
2155 * gdb.cp/re-set-overloaded.exp: Same.
2156 * gdb.cp/rvalue-ref-types.exp: Same.
2157 * gdb.cp/templates.exp: Same.
2158
bd5766ec
LM
21592019-11-01 Luis Machado <luis.machado@linaro.org>
2160
2161 PR gdb/25124
2162
2163 * gdb.arch/pr25124.S: New file.
2164 * gdb.arch/pr25124.exp: New file.
2165
165f8965
AB
21662019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2167
2168 * gdb.fortran/info-modules.exp: Update expected results, and add
2169 additional tests for 'info module functinos', and 'info module
2170 variables'.
2171 * gdb.fortran/info-types.exp: Update expected results.
2172 * gdb.fortran/info-types.f90: Extend testcase with additional
2173 module variables and functions.
2174
59c35742
AB
21752019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2176
2177 * gdb.fortran/info-modules.exp: New file.
2178 * gdb.fortran/info-types.exp: Build with new file.
2179 * gdb.fortran/info-types.f90: Include and use new module.
2180 * gdb.fortran/info-types-2.f90: New file.
2181
f3fb2519
PW
21822019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2183
2184 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
2185 * gdb.base/settings.exp: Test all settings types using
2186 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
2187 that now verifies that the value of "maint show" is the same as
2188 returned by the settings functions. Test the type of the
2189 maintenance settings.
2190 * gdb.base/default.exp: Update show_conv_list.
2191
d1e36019
TV
21922019-10-31 Tom de Vries <tdevries@suse.de>
2193
2194 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
2195 gdb_test.
2196 * gdb.arch/amd64-disp-step.exp: Same.
2197 * gdb.asm/asm-source.exp: Same.
2198 * gdb.btrace/buffer-size.exp: Same.
2199 * gdb.btrace/cpu.exp: Same.
2200 * gdb.btrace/enable.exp: Same.
2201 * gdb.dwarf2/count.exp: Same.
2202 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2203 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
2204 * gdb.fortran/vla-datatypes.exp: Same.
2205 * gdb.fortran/vla-history.exp: Same.
2206 * gdb.fortran/vla-ptype.exp: Same.
2207 * gdb.fortran/vla-value.exp: Same.
2208 * gdb.fortran/whatis_type.exp: Same.
2209 * gdb.guile/guile.exp: Same.
2210 * gdb.multi/tids.exp: Same.
2211 * gdb.python/py-finish-breakpoint.exp: Same.
2212 * gdb.python/py-framefilter.exp: Same.
2213 * gdb.python/py-pp-registration.exp: Same.
2214 * gdb.python/py-xmethods.exp: Same.
2215 * gdb.python/python.exp: Same.
2216 * gdb.server/connect-with-no-symbol-file.exp: Same.
2217 * gdb.server/no-thread-db.exp: Same.
2218 * gdb.server/run-without-local-binary.exp: Same.
2219 * gdb.stabs/weird.exp: Same.
2220 * gdb.threads/attach-many-short-lived-threads.exp: Same.
2221 * gdb.threads/thread-find.exp: Same.
2222 * gdb.threads/tls-shared.exp: Same.
2223 * gdb.threads/tls.exp: Same.
2224 * gdb.threads/wp-replication.exp: Same.
2225 * gdb.trace/ax.exp: Same.
2226 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
2227
3d11e68e
TV
22282019-10-31 Tom de Vries <tdevries@suse.de>
2229
2230 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
2231 * gdb.ada/array_subscript_addr.exp: Same.
2232 * gdb.ada/arrayidx.exp: Same.
2233 * gdb.ada/arrayparam.exp: Same.
2234 * gdb.ada/arrayptr.exp: Same.
2235 * gdb.ada/boolean_expr.exp: Same.
2236 * gdb.ada/call_pn.exp: Same.
2237 * gdb.ada/complete.exp: Same.
2238 * gdb.ada/fixed_cmp.exp: Same.
2239 * gdb.ada/fun_addr.exp: Same.
2240 * gdb.ada/funcall_param.exp: Same.
2241 * gdb.ada/interface.exp: Same.
2242 * gdb.ada/mod_from_name.exp: Same.
2243 * gdb.ada/null_array.exp: Same.
2244 * gdb.ada/packed_array.exp: Same.
2245 * gdb.ada/packed_tagged.exp: Same.
2246 * gdb.ada/print_chars.exp: Same.
2247 * gdb.ada/print_pc.exp: Same.
2248 * gdb.ada/ptype_arith_binop.exp: Same.
2249 * gdb.ada/ptype_field.exp: Same.
2250 * gdb.ada/ptype_tagged_param.exp: Same.
2251 * gdb.ada/rec_return.exp: Same.
2252 * gdb.ada/ref_tick_size.exp: Same.
2253 * gdb.ada/str_ref_cmp.exp: Same.
2254 * gdb.ada/taft_type.exp: Same.
2255 * gdb.ada/tagged.exp: Same.
2256 * gdb.ada/type_coercion.exp: Same.
2257 * gdb.ada/uninitialized_vars.exp: Same.
2258
60b6ede8
TV
22592019-10-30 Tom de Vries <tdevries@suse.de>
2260
2261 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
2262
30baf67b
TV
22632019-10-26 Tom de Vries <tdevries@suse.de>
2264
2265 * gdb.base/bigcore.c: Fix typos in comments.
2266 * gdb.base/ctf-ptype.c: Same.
2267 * gdb.base/long_long.c: Same.
2268 * gdb.dwarf2/dw2-op-out-param.S: Same.
2269 * gdb.python/py-evthreads.c: Same.
2270 * gdb.reverse/i387-stack-reverse.c: Same.
2271 * gdb.trace/tfile.c: Same.
2272 * lib/compiler.c: Same.
2273 * lib/compiler.cc: Same.
2274
158da0d1
TV
22752019-10-25 Tom de Vries <tdevries@suse.de>
2276
2277 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
2278 gdb_test_multiple calls.
2279 * gdb.reverse/sigall-reverse.exp: Same.
2280 * gdb.reverse/solib-precsave.exp: Same.
2281 * gdb.reverse/solib-reverse.exp: Same.
2282 * gdb.reverse/until-precsave.exp: Same.
2283 * gdb.reverse/until-reverse.exp: Same.
2284
4ccdfbec
TV
22852019-10-24 Tom de Vries <tdevries@suse.de>
2286
2287 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
2288 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
2289 kfail using -wrap pattern flag and convenience variable
2290 gdb_test_name.
2291
33d569b7
AB
22922019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
2293
2294 * gdb.python/py-progspace.exp: Add tests for the
2295 Progspace.block_for_pc method.
2296
4d0b984b
TT
22972019-10-23 Tom Tromey <tom@tromey.com>
2298
2299 * configure: Rebuild.
2300 * aclocal.m4: Use m4_include, not sinclude.
2301
94cb3754
TV
23022019-10-21 Tom de Vries <tdevries@suse.de>
2303
2304 * gdb.base/infcall-nested-structs.c: Add
2305 __attribute__((noinline,noclone)) to all functions.
2306 (call_all): Add missing variable initialization. Simplify return value.
2307 (breakpt): Increment volatile variable, to prevent call from being
2308 optimized out.
2309 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
2310
062f1fc1
TV
23112019-10-17 Tom de Vries <tdevries@suse.de>
2312
2313 * gdb.fortran/module.exp: Allow info variables to print info for files
2314 other than module.f90.
2315
0b54364d
AB
23162019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2317
2318 * gdb.fortran/module.exp: Extend with 'info variables' test.
2319
7ff5fae7
AB
23202019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2321
2322 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
2323 F77_FOR_TARGET.
2324
d10eccaa
TV
23252019-10-16 Tom de Vries <tdevries@suse.de>
2326
2327 PR tdep/25096
2328 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
2329
745ff14e
TV
23302019-10-16 Tom de Vries <tdevries@suse.de>
2331
2332 PR tdep/24104
2333 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
2334 Add KFAIL for PR tdep/25096.
2335
03e1ab94
TV
23362019-10-16 Tom de Vries <tdevries@suse.de>
2337
2338 PR testsuite/25059
2339 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
2340
b17fcc10
TV
23412019-10-16 Tom de Vries <tdevries@suse.de>
2342
2343 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
2344 as signed.
2345
9223170f
SM
23462019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
2347
2348 * gdb.mi/list-thread-groups-available.exp: Read entries one by
2349 one instead of increasing timeout.
2350
d6e76313
TV
23512019-10-13 Tom de Vries <tdevries@suse.de>
2352
2353 PR record/25038
2354 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
2355 * gdb.reverse/sigall-reverse.exp: Same.
2356 * gdb.reverse/solib-precsave.exp: Same.
2357 * gdb.reverse/solib-reverse.exp: Same.
2358 * gdb.reverse/step-precsave.exp: Same.
2359 * gdb.reverse/until-precsave.exp: Same.
2360 * gdb.reverse/until-reverse.exp: Same.
2361 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
2362
6dfc0041
AA
23632019-10-10 Andreas Arnez <arnez@linux.ibm.com>
2364
2365 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
2366 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
2367 (cmp_struct_05_01, cmp_struct_static_02_01)
2368 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
2369 comparisons.
2370
abcf2cc8
TV
23712019-10-10 Tom de Vries <tdevries@suse.de>
2372
2373 PR testsuite/24888
2374 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
2375 gnatlink.
2376
a50faaf6
TV
23772019-10-09 Tom de Vries <tdevries@suse.de>
2378
2379 PR testsuite/25048
2380 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
2381
60ff3cd7
AB
23822019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2383
2384 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
2385 exceptions due to missing debug information.
2386
dfee8566
TV
23872019-10-07 Tom de Vries <tdevries@suse.de>
2388
2389 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
2390
3d63690a
AB
23912019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2392
2393 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
2394 * gdb.base/annota1.exp: Update to use gdb_test_name.
2395
30d1f018
WP
23962019-10-07 Weimin Pan <weimin.pan@oracle.com>
2397
2398 * gdb.base/ctf-whatis.exp: New file.
2399 * gdb.base/ctf-whatis.c: New file.
2400 * gdb.base/ctf-ptype.exp: New file.
2401 * gdb.base/ctf-ptype.c: New file.
2402 * gdb.base/ctf-constvars.exp: New file.
2403 * gdb.base/ctf-constvars.c: New file.
2404 * gdb.base/ctf-cvexpr.exp: New file.
2405
4dbbb47c
TV
24062019-10-04 Tom de Vries <tdevries@suse.de>
2407
2408 * gdb.cp/local-static.c (main): Move declaration of int i out of the
2409 for loop.
2410
77c2dba3
TT
24112019-10-03 Tom Tromey <tom@tromey.com>
2412
2413 PR rust/24976:
2414 * gdb.rust/simple.rs (Union2): New type.
2415 (main): Use Union2.
2416 * gdb.rust/simple.exp: Add test.
2417
179aed7f
AB
24182019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2419
2420 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
2421 nested function prefix.
2422
0a4b0913
AB
24232019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
2424 Richard Bunt <richard.bunt@arm.com>
2425 Andrew Burgess <andrew.burgess@embecosm.com>
2426
2427 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
2428 nested functions.
2429 * gdb.fortran/nested-funcs.f90: Update expected results.
2430 * gdb.fortran/nested-funcs-2.exp: New file.
2431 * gdb.fortran/nested-funcs-2.f90: New file.
2432
082cce05
AB
24332019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2434
2435 * gdb.python/py-parameter.exp: Make test names unique.
2436 * gdb.python/py-template.exp: Likewise.
2437 * gdb.python/py-value.exp: Likewise.
2438
2b74ba5a
AB
24392019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2440
2441 * gdb.base/break-interp.exp: Reduce test name duplication.
2442 * gdb.base/call-sc.exp: Likewise.
2443 * gdb.base/callfuncs.exp: Likewise.
2444 * gdb.base/charset.exp: Likewise.
2445 * gdb.base/dump.exp: Likewise.
2446 * gdb.base/ena-dis-br.exp: Likewise.
2447 * gdb.base/relational.exp: Likewise.
2448 * gdb.base/step-over-syscall.exp: Likewise.
2449 * gdb.base/structs.exp: Likewise.
2450
58eb20d5
AB
24512019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2452
2453 * gdb.linespec/explicit.exp: Make test names unique.
2454 * gdb.linespec/ls-errs.exp: Likewise.
2455
4d421147
AB
24562019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2457
2458 * gdb.reverse/break-precsave.exp: Make test names unique.
2459 * gdb.reverse/break-reverse.exp: Likewise.
2460 * gdb.reverse/finish-precsave.exp: Likewise.
2461 * gdb.reverse/finish-reverse.exp: Likewise.
2462 * gdb.reverse/machinestate-precsave.exp: Likewise.
2463 * gdb.reverse/machinestate.exp: Likewise.
2464 * gdb.reverse/readv-reverse.exp: Likewise.
2465 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2466 * gdb.reverse/sigall-precsave.exp: Likewise.
2467 * gdb.reverse/sigall-reverse.exp: Likewise.
2468 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
2469 * gdb.reverse/watch-precsave.exp: Likewise.
2470 * gdb.reverse/watch-reverse.exp: Likewise.
2471
d8c06f22
AB
24722019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2473
2474 * gdb.threads/stop-with-handle.c: New file.
2475 * gdb.threads/stop-with-handle.exp: New file.
2476
3a56ed86
TV
24772019-10-03 Tom de Vries <tdevries@suse.de>
2478
2479 PR testsuite/25059
2480 * gdb.base/list-missing-source.exp: Allowing the "Compilation
2481 directory" line to be missing.
2482
42275044
TV
24832019-10-03 Tom de Vries <tdevries@suse.de>
2484
2485 PR testsuite/25059
2486 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
2487 type optional.
2488
9ef62df0
AA
24892019-10-02 Andreas Arnez <arnez@linux.ibm.com>
2490
2491 * gdb.python/py-format-string.c (string.h): New include.
2492 (main): Fill a_struct_with_union.the_union.an_int with bytes of
2493 the same value, for endianness-independence.
2494 * gdb.python/py-format-string.exp (default_regexp_dict)
2495 (test_pretty_structs, test_format): Adjust expected output to the
2496 changed initialization.
2497
37f6a7f4
TT
24982019-10-02 Tom Tromey <tromey@adacore.com>
2499
2500 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
2501
1d58d6a2
PA
25022019-10-02 Pedro Alves <palves@redhat.com>
2503 Andrew Burgess <andrew.burgess@embecosm.com>
2504
2505 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
2506 "print-file-var.h".
2507 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2508 (get_version_1): Print this_version_id and its address.
2509 Add extern "C" wrappers around interface functions.
2510 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
2511 "print-file-var.h".
2512 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2513 (get_version_2): Print this_version_id and its address.
2514 Add extern "C" wrappers around interface functions.
2515 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
2516 <stddef.h> and "print-file-var.h".
2517 Add extern "C" wrappers around interface functions.
2518 [VERSION_ID_MAIN] (this_version_id): Define.
2519 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
2520 * gdb.base/print-file-var.h: Add some #defines to simplify setting
2521 up extern "C" blocks.
2522 * gdb.base/print-file-var.exp (test): New, factored out from top
2523 level.
2524 (top level): Test all combinations of attribute hidden or not,
2525 dlopen or not, and this_version_id symbol in main file or not.
2526 Compile tests as both C++ and C, make test names unique.
2527
d770d56f
TT
25282019-10-01 Tom Tromey <tom@tromey.com>
2529
2530 * gdb.base/style.exp: Test "show logging filename".
2531
7f6aba03
TT
25322019-10-01 Tom Tromey <tom@tromey.com>
2533
2534 * lib/gdb-utils.exp (style): Handle "metadata" argument.
2535 * gdb.base/style.exp: Add metadata style test.
2536
14309bb6
TT
25372019-10-01 Tom Tromey <tom@tromey.com>
2538
2539 * gdb.base/style.exp: Test "pwd".
2540
2a3c1174
PA
25412019-10-01 Tom Tromey <tom@tromey.com>
2542
2543 * gdb.base/style.exp: Update tests.
2544
53d666ec
AA
25452019-10-01 Andreas Arnez <arnez@linux.ibm.com>
2546
2547 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
2548 'six' to unsigned.
2549 (s1): Initialize fields 'four' and 'six' instead of 'three' and
2550 'five'. Use an all-ones bit pattern for each.
2551 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
2552 to its changed values.
2553
4a56a520
TT
25542019-09-30 Tom Tromey <tromey@adacore.com>
2555
2556 * gdb.rust/traits.rs: Disable all warnings.
2557
0df0352a
TV
25582019-09-29 Tom de Vries <tdevries@suse.de>
2559
aac66a4c 2560 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 2561
73d9a918
TV
25622019-09-29 Tom de Vries <tdevries@suse.de>
2563
2564 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
2565
060b3ab4
TV
25662019-09-27 Tom de Vries <tdevries@suse.de>
2567
2568 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
2569
68f7d34d
TV
25702019-09-27 Tom de Vries <tdevries@suse.de>
2571
2572 PR record/23188
2573 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
2574
5d63b30a
TT
25752019-09-26 Tom Tromey <tromey@adacore.com>
2576
2577 * gdb.ada/py_taft.exp: New file.
2578 * gdb.ada/py_taft/main.adb: New file.
2579 * gdb.ada/py_taft/pkg.adb: New file.
2580 * gdb.ada/py_taft/pkg.ads: New file.
2581
3d435220
TV
25822019-09-24 Tom de Vries <tdevries@suse.de>
2583
2584 PR gdb/24598
2585 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
2586
77d03678
TV
25872019-09-22 Tom de Vries <tdevries@suse.de>
2588
2589 * gdb.base/restore.exp: Allow register variables to be optimized out at
2590 -O0.
2591
abf516c6
UW
25922019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
2593
2594 * gdb.arch/spu-info.exp: Remove file.
2595 * gdb.arch/spu-info.c: Remove file.
2596 * gdb.arch/spu-ls.exp: Remove file.
2597 * gdb.arch/spu-ls.c: Remove file.
2598
2599 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
2600 * gdb.asm/spu.inc: Remove file.
2601
2602 * gdb.base/dump.exp: Remove support for spu*-*-*.
2603 * gdb.base/stack-checking.exp: Likewise.
2604 * gdb.base/overlays.exp: Likewise.
2605 * gdb.base/ovlymgr.c: Likewise.
2606 * gdb.base/spu.ld: Remove file.
2607
2608 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
2609 * gdb.cp/cpexprs.exp: Likewise.
2610 * gdb.cp/exception.exp: Likewise.
2611 * gdb.cp/gdb2495.exp: Likewise.
2612 * gdb.cp/mb-templates.exp: Likewise.
2613 * gdb.cp/pr9167.exp: Likewise.
2614 * gdb.cp/userdef.exp: Likewise.
2615
2616 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
2617
2618 * gdb.cell: Remove directory.
2619 * lib/cell.exp: Remove file.
2620
e452e88f
TV
26212019-09-19 Tom de Vries <tdevries@suse.de>
2622
2623 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
2624
8a625130
TV
26252019-09-19 Tom de Vries <tdevries@suse.de>
2626
2627 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
2628
81dc3ab5
TV
26292019-09-19 Tom de Vries <tdevries@suse.de>
2630
2631 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
2632 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
2633 (gdb_target_cmd): ... here.
2634 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
2635 value 2.
2636
b078f3ac
AB
26372019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2638
2639 * gdb.base/source-dir.exp: Avoid having directory names in test
2640 names.
2641
f1b620e9
MG
26422019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2643
2644 * gdb.base/source-dir.exp: Add extra test for mapped compilation
2645 directory.
2646
67f3ed6a
AB
26472019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2648
2649 * gdb.base/list-missing-source.exp: New file.
2650
d1b70248
TV
26512019-09-14 Tom de Vries <tdevries@suse.de>
2652
2653 PR teststuite/24599
2654 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
2655 * lib/ada.exp (gnatmake_version_at_least): New proc.
2656
5fabdcd6
AB
26572019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2658
2659 * gdb.base/maint.exp: Use exec_has_index_section.
2660
aa17805f
AB
26612019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2662
2663 * gdb.base/maint.exp: Add test for 'maint info sections'.
2664
25e5c209
TV
26652019-09-12 Tom de Vries <tdevries@suse.de>
2666
2667 * gdb.base/store.exp: Allow register variables to be optimized out at
2668 -O0.
2669
4993045d
PW
26702019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2671
2672 * gdb.ada/rdv_wait.exp: Update to new task names.
2673 * gdb.base/task_switch_in_core.exp: Likewise.
2674 * gdb.base/info_sources_base.c: Likewise.
2675
8a516164
TT
26762019-09-10 Tom Tromey <tromey@adacore.com>
2677
2678 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
2679
aa391654
TT
26802019-09-10 Tom Tromey <tromey@adacore.com>
2681
2682 * gdb.ada/dgopt.exp: New file.
2683 * gdb.ada/dgopt/x.adb: New file.
2684
8634b462
TT
26852019-09-08 Tom Tromey <tom@tromey.com>
2686
2687 * gdb.tui/resize.exp: Remove setup_xfail.
2688 * gdb.tui/regs.exp: Remove setup_xfail.
2689 * gdb.tui/basic.exp: Remove setup_xfail.
2690
736b0f76
DB
26912019-09-06 David Blaikie <dblaikie@gmail.com>
2692
2693 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
2694 * gdb.cp/cplabel.exp: Ditto.
2695 * gdb.linespec/ls-errs.exp: Ditto.
2696
30331a6c
TV
26972019-09-05 Tom de Vries <tdevries@suse.de>
2698
2699 * lib/gdb.exp (cmp_file_string): New proc.
2700 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
2701 runto_main. Verify save breakpoints output.
2702
98b0ebab
PW
27032019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2704
2705 * gdb.base/info-var.exp: Test info variables without running
2706 to main, to avoid expect's buffer overflow.
2707
4e962e74
TT
27082019-09-03 Tom Tromey <tromey@adacore.com>
2709
2710 * gdb.ada/bias.exp: New file.
2711 * gdb.ada/bias/bias.adb: New file.
2712 * gdb.ada/print_chars.exp: Add regression test.
2713 * gdb.ada/print_chars/foo.adb (My_Character): New type.
2714 (MC): New variable.
2715
2ea1a07a
SL
27162019-08-29 Sandra Loosemore <sandra@codesourcery.com>
2717
2718 * gdb.base/argv0-symlink.exp: Run only on native target
2719 and local host.
2720
8077c50d
TV
27212019-08-29 Tom de Vries <tdevries@suse.de>
2722
2723 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
2724 diverse debug info.
2725 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
2726
48352473
TV
27272019-08-28 Tom de Vries <tdevries@suse.de>
2728
2729 * gdb.base/info-var.exp: Allow info variables to print info for files
2730 other than info-var-f1.c and info-var-f2.c.
2731
d8f27c60
AB
27322019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2733
2734 * gdb.fortran/info-types.exp: Add module.
2735 * gdb.fortran/info-types.f90: Update expected results.
2736
1f20c35e
AB
27372019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2738
2739 * gdb.fortran/info-types.exp: New file.
2740 * gdb.fortran/info-types.f90: New file.
2741 * lib/fortran.exp (fortran_character1): New proc.
2742
4acfdd20
AB
27432019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2744
2745 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
2746 functions'. Reindent as needed.
2747 * gdb.base/info-var-f1.c: New file.
2748 * gdb.base/info-var-f2.c: New file.
2749 * gdb.base/info-var.exp: New file.
2750 * gdb.base/info-var.h: New file.
2751
5c31b358
TV
27522019-08-26 Tom de Vries <tdevries@suse.de>
2753
2754 PR c++/24852
2755 * gdb.cp/no-libstdcxx-probe.exp: New test.
2756
b694989f
TV
27572019-08-26 Tom de Vries <tdevries@suse.de>
2758
2759 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
2760 * tests need to be skipped.
2761 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
2762 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
2763 mi_skip_libstdcxx_probe_tests.
2764
d9c4ba53
SDJ
27652019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
2766
2767 * gdb.python/py-xmethods.exp: Use raw strings when passing
2768 arguments to SimpleXMethodMatcher.
2769
395fad09
TV
27702019-08-22 Tom de Vries <tdevries@suse.de>
2771
2772 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
2773 more informative.
2774
26c957f1
PA
27752019-08-21 Pedro Alves <palves@redhat.com>
2776
2777 * gdb.base/with.exp: Test "with" with no arguments.
2778
61f80d5d
TV
27792019-08-21 Tom de Vries <tdevries@suse.de>
2780
2781 * gdb.base/gdb-caching-proc.exp: Sort files.
2782
d7a11d13
TV
27832019-08-20 Tom de Vries <tdevries@suse.de>
2784
2785 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
2786 compilation.
2787
34dafe9f
TV
27882019-08-16 Tom de Vries <tdevries@suse.de>
2789
2790 * gdb.base/compare-sections.exp ("after run to main"): Allow
2791 mismatched read-only sections for PIE executables.
2792
398fdd60
TT
27932019-08-16 Tom Tromey <tom@tromey.com>
2794
2795 * lib/tuiterm.exp (_csi_Z): New proc.
2796 * gdb.tui/basic.exp: Update window positions.
2797 * gdb.tui/empty.exp: Update window positions.
2798
d8f9e51c
SL
27992019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2800
2801 * gdb.base/examine-backward.exp: Correct regexp for
2802 "examine 3 bytes backward from ${address_zero}".
2803
3df505f6
TT
28042019-08-15 Tom Tromey <tom@tromey.com>
2805
2806 * gdb.tui/empty.exp: Enable resizing tests.
2807
272560b5
TT
28082019-08-15 Tom Tromey <tromey@adacore.com>
2809
2810 * gdb.ada/char_enum.exp: Add regression tests.
2811 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
2812 and '0'.
2813 (Char, Gchar): Update.
2814 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
2815
08235187
CB
28162019-08-15 Christian Biesinger <cbiesinger@google.com>
2817
2818 * gdb.python/python.exp: Expect a leading underscore on
2819 GdbOutput{,Error}File.
2820
22a2ab04
SL
28212019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2822
2823 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
2824 Windows host.
2825
835b995b
SL
28262019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2827
2828 * gdb.base/batch-preserve-term-settings.exp
2829 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
2830
97dd8e07
CB
28312019-08-15 Christian Biesinger <cbiesinger@google.com>
2832
2833 * lib/gdb.exp: When running on a mingw target, replace
2834 /x/ with x:/.
2835
75faf5c4
AH
28362019-08-14 Alan Hayward <alan.hayward@arm.com>
2837
2838 * gdb.arch/aarch64-prologue.c: New test.
2839 * gdb.arch/aarch64-prologue.exp: New file.
2840
abc6c00f
TV
28412019-08-13 Tom de Vries <tdevries@suse.de>
2842
2843 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2844 Thread.
2845
74c2c1f4
SL
28462019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2847
2848 * gdb.python/py-completion.exp: Download the .py file to the host
2849 and use its host pathname. Conditionalize tests that use
2850 tab completion and manipulate files on the build machine.
2851 * gdb.python/py-events.exp: Download the .py file to the host
2852 and use its host pathname.
2853 * gdb.python/py-evsignal.exp: Likewise.
2854 * gdb.python/py-evthreads.exp: Likewise.
2855 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2856 pathname syntax.
2857 * gdb.python/py-framefilter.exp: Download the .py file to the right
2858 place on the host. Match Windows pathname syntax.
2859 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2860 .py file to the host and use its host pathname.
2861 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2862 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2863 build pathname. Skip symlink test on Windows host. Add missing
2864 newline at end of file.
2865 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2866 and use its host pathname.
2867 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2868 * gdb.python/py-section-script.exp: Use host location of binfile
2869 on safe-path. Use correct path separator on Windows host.
2870 Reorder alternatives in gdb_test_multiple to prevent matching
2871 the wrong alternative on success.
2872 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2873
ca2589f3
PP
28742019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2875
2876 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2877 expect the GDB inferior to no longer immediately stop after
2878 being resumed with "signal SIGINT".
2879
020a839d
SL
28802019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2881
2882 * gdb.linespec/break-ask.exp: Generalize regexps to match
2883 Windows pathnames too.
2884
128d6509
TV
28852019-08-08 Tom de Vries <tdevries@suse.de>
2886
2887 PR testsuite/24862
2888 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2889
590042fc
PW
28902019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2891
2892 * gdb.base/style.exp: Update tests for help doc new invariants.
2893 * gdb.base/help.exp: Likewise.
2894
046bebe1
TT
28952019-08-06 Tom Tromey <tom@tromey.com>
2896
2897 * gdb.base/style.exp: Add disassemble test.
2898 * gdb.base/style.c (some_called_function): New function.
2899 (main): Use it.
2900
0b27c27d
CB
29012019-08-05 Christian Biesinger <cbiesinger@google.com>
2902
2903 * gdb.python/py-block.exp: Test dictionary access on blocks.
2904
580f1034
SM
29052019-08-05 Simon Marchi <simon.marchi@efficios.com>
2906
2907 PR gdb/24863
2908 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2909 -list-thread-groups --available test when running under
2910 check-read1.
2911
d86bd7cb
TV
29122019-08-05 Tom de Vries <tdevries@suse.de>
2913
2914 PR testsuite/24863
2915 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2916 * gdb.base/help.exp: Use with_read1_timeout_factor.
2917 * gdb.base/info-macros.exp: Same.
2918 * gdb.cp/nested-types.exp: Same.
2919
a80cf5d8
TV
29202019-08-05 Tom de Vries <tdevries@suse.de>
2921
2922 * lib/gdb.exp (version_at_least): Factor out of ...
2923 (tcl_version_at_least): ... here.
2924 (gdb_compile): Fail if pie results in non-PIE executable.
2925 (readelf_version, readelf_prints_pie): New proc.
2926 (exec_is_pie): Return -1 if unknown.
2927
d0962838
TV
29282019-08-05 Tom de Vries <tdevries@suse.de>
2929
2930 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2931
2252ff3d
SL
29322019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2933
2934 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2935
26655f53
SL
29362019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2937
2938 * lib/completion-support.exp (test_gdb_complete_none): Skip
2939 tab completion tests if no readline support.
2940 (test_gdb_complete_unique_re): Likewise.
2941 (test_gdb_complete_multiple): Likewise.
2942
db4dc13e
PW
29432019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2944
2945 * gdb.base/info_sources.exp: New file.
2946 * gdb.base/info_sources.c: New file.
2947 * gdb.base/info_sources_base.c: New file.
2948
0eba165a
PFC
29492019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2950
2951 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2952 prefix argument.
2953 (test_exit_status): Add prefix argument.
2954
59bd512b
TV
29552019-08-01 Tom de Vries <tdevries@suse.de>
2956
2957 PR testsuite/24863
2958 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2959 calling exp_continue for new thread and thread exited messages.
2960
2a3ad588
TV
29612019-08-01 Tom de Vries <tdevries@suse.de>
2962
2963 PR testsuite/24863
2964 * gdb.base/structs.exp: Fix check-read1 timeout using
2965 gdb_test_sequence.
2966 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2967
117eb594
TV
29682019-08-01 Tom de Vries <tdevries@suse.de>
2969
2970 PR testsuite/24863
2971 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2972 line.
2973
ed591340
TV
29742019-08-01 Tom de Vries <tdevries@suse.de>
2975
2976 PR testsuite/24863
2977 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2978
aa3b6533
TT
29792019-07-30 Tom Tromey <tromey@adacore.com>
2980
2981 * gdb.ada/display_nested.exp: New file.
2982 * gdb.ada/display_nested/foo.adb: New file.
2983 * gdb.ada/display_nested/pack.adb: New file.
2984 * gdb.ada/display_nested/pack.ads: New file.
2985
2906593f
CB
29862019-07-30 Christian Biesinger <cbiesinger@google.com>
2987
2988 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2989 namespace.
2990 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2991
0f575925
TV
29922019-07-30 Tom de Vries <tdevries@suse.de>
2993
2994 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2995 instead.
2996
b13057d9
TV
29972019-07-30 Tom de Vries <tdevries@suse.de>
2998
2999 PR testsuite/24834
3000 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
3001 (exec_is_pie): New proc.
3002
5c4dde85
CB
30032019-07-29 Christian Biesinger <cbiesinger@google.com>
3004
3005 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
3006
c620ed88
CB
30072019-07-29 Christian Biesinger <cbiesinger@google.com>
3008
3009 * gdb.python/py-objfile.c: Add global and static vars.
3010 * gdb.python/py-objfile.exp: Test new functions Objfile.
3011 lookup_global_symbol and lookup_static_symbol.
3012
3d235706
TT
30132019-07-29 Tom Tromey <tom@tromey.com>
3014
3015 * lib/tuiterm.exp (Term::_csi_@): New proc.
3016 (Term::_csi_X): Don't move cursor.
3017
c7e4c0a6
PW
30182019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3019
3020 * gdb.base/options.exp: Update backtrace - completion to
3021 new option -frame-info.
3022 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
3023 Test new 'set print frame-info'. Test backtrace -frame-info
3024 overriding 'set print frame-info'.
3025 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
3026 Test new 'set print frame-info'.
3027 Verify consistency of backtrace with and without filters, with and
3028 without -no-filters.
3029 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
3030 default.
3031
de28a3b7
TV
30322019-07-29 Tom de Vries <tdevries@suse.de>
3033
3034 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
3035 no arguments".
3036
507dd60e
TV
30372019-07-29 Tom de Vries <tdevries@suse.de>
3038
3039 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
3040 is a substring of the first for "complete non-unique file name".
3041
5beafce9
TV
30422019-07-29 Tom de Vries <tdevries@suse.de>
3043
3044 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
3045 with ".*".
3046
2d274232
TV
30472019-07-29 Tom de Vries <tdevries@suse.de>
3048
3049 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
3050 Pass prompt_regexp parameter to gdb_test_multiple calls.
3051
9197cd8b
TV
30522019-07-29 Tom de Vries <tdevries@suse.de>
3053
3054 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 3055 print registers" regexps.
9197cd8b 3056
b528dae0
TV
30572019-07-29 Tom de Vries <tdevries@suse.de>
3058
3059 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
3060
d17725d7
TV
30612019-07-29 Tom de Vries <tdevries@suse.de>
3062
3063 PR gdb/24855
3064 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
3065 (skip_python_tests_prompt): Add prompt_regexp argument to
3066 gdb_test_multiple calls.
3067
52b75bf1
TT
30682019-07-27 Tom Tromey <tom@tromey.com>
3069
3070 * gdb.tui/main.exp: New file.
3071
2b1d00c2
TT
30722019-07-27 Tom Tromey <tom@tromey.com>
3073
3074 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
3075 optional.
3076 * gdb.tui/empty.exp: New file.
3077
ded631d5
TT
30782019-07-27 Tom Tromey <tom@tromey.com>
3079
3080 * lib/tuiterm.exp (spawn): New proc.
3081 (Term::resize): New proc.
3082 * gdb.tui/resize.exp: New file.
3083
58ac439d
TT
30842019-07-27 Tom Tromey <tom@tromey.com>
3085
3086 * gdb.tui/list.exp: New file.
3087
fe1f56ee
TT
30882019-07-27 Tom Tromey <tom@tromey.com>
3089
3090 * gdb.tui/regs.exp: New file.
3091
f790b310
TT
30922019-07-27 Tom Tromey <tom@tromey.com>
3093
3094 * gdb.tui/basic.exp: Add "layout split" test.
3095
d95fc6ee
TT
30962019-07-27 Tom Tromey <tom@tromey.com>
3097
3098 * gdb.tui/basic.exp: Add "layout asm" test.
3099
c3786b3a
TT
31002019-07-27 Tom Tromey <tom@tromey.com>
3101
3102 * lib/tuiterm.exp: New file.
3103 * gdb.tui/basic.exp: New file.
3104
98a617f8
KB
31052019-07-27 Kevin Buettner <kevinb@redhat.com>
3106
3107 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
3108 Enable tests associated with this flag. Adjust regex
3109 referencing "foo_low" to now refer to "foo_cold" instead.
3110
5c076da4
KB
31112019-07-27 Kevin Buettner <kevinb@redhat.com>
3112
3113 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
3114 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
3115 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
3116 foo_cold. Revise comments to match.
3117 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
3118 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
3119 were wrapped into this proc; Call do_test in loop from outermost
3120 level.
3121 (foo_low): Rename all occurrences to "foo_cold".
3122 (backtrace from baz): New test.
3123 (x2/i foo_cold): New test.
3124 (info line *foo_cold): New test.
3125
1512d3b7
TV
31262019-07-26 Tom de Vries <tdevries@suse.de>
3127
3128 * gdb.arch/i386-pkru.exp: Fix unterminated string.
3129
297989a1
TV
31302019-07-25 Tom de Vries <tdevries@suse.de>
3131
3132 PR testsuite/24830
3133 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
3134 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
3135 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
3136 (skip_libstdcxx_probe_tests): ... here.
3137 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
3138
b3b965fb
TV
31392019-07-24 Tom de Vries <tdevries@suse.de>
3140
3141 PR testsuite/24807
3142 * gdb.objc/basicclass.m: Include stdio.h.
3143 * gdb.objc/nondebug.m: Same.
3144 * gdb.objc/objcdecode.m: Same.
3145
4625b4d0
TV
31462019-07-24 Tom de Vries <tdevries@suse.de>
3147
3148 PR testsuite/24612
3149 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
3150 additional_flags.
3151
024a5840
TV
31522019-07-24 Tom de Vries <tdevries@suse.de>
3153
3154 PR testsuite/24831
3155 * gdb.multi/tids.exp: Update error messages for info threads.
3156
c76ddaa3
TV
31572019-07-24 Tom de Vries <tdevries@suse.de>
3158
3159 * gdb.base/info-types.exp: Allow info types to print info for more than
3160 one file.
3161
9a618ef6
TV
31622019-07-23 Tom de Vries <tdevries@suse.de>
3163
3164 PR testsuite/24842
3165 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
3166 gdb_spawn_with_cmdline_opts.
3167
40eadf04
SP
31682019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3169
3170 * gdb.arch/arm-cmse-sgstubs.c: New test.
3171 * gdb.arch/arm-cmse-sgstubs.exp: New file.
3172
5ba29434
TV
31732019-07-23 Tom de Vries <tdevries@suse.de>
3174
3175 PR testsuite/24711
3176 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
3177 issuing next command.
3178
a8e9d247
AB
31792019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3180
3181 * gdb.ada/info_auto_lang.exp: Update expected results.
3182 * gdb.base/info-types.c: Add additional types to check.
3183 * gdb.base/info-types.exp: Update expected results.
3184
eb86c5e2
AB
31852019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3186
3187 * gdb.base/info-types.c: New file.
3188 * gdb.base/info-types.exp: New file.
3189
01e175fe
AB
31902019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
3191
3192 * gdb.arch/riscv-bp-infcall.c: New file.
3193 * gdb.arch/riscv-bp-infcall.exp: New file.
3194
6b78c3f8
AB
31952019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
3196
3197 PR breakpoints/24541
3198 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
3199
da738167
TV
32002019-07-14 Tom de Vries <tdevries@suse.de>
3201
3202 PR testsuite/24760
3203 * gdb.objc/basicclass.exp: Fix unterminated string.
3204
0d4e84ed
AB
32052019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
3206 Andrew Burgess <andrew.burgess@embecosm.com>
3207
3208 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
3209 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
3210 negative bounds.
3211 * gdb.fortran/vla-value.exp: Print elements of an array with
3212 negative bounds.
3213 * gdb.fortran/vla.f90: Setup an array with negative bounds for
3214 testing.
3215
021d8588
AB
32162019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
3217
3218 * gdb.base/options.exp (expect_string): Dequote strings in
3219 results.
3220 (test-string): Test strings with different quoting and reindent.
3221
f06f1252
TT
32222019-07-10 Tom Tromey <tromey@adacore.com>
3223
3224 * gdb.ada/mi_ex_cond.exp: Update expected results.
3225 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
3226 * gdb.ada/mi_catch_ex.exp: Update expected results.
3227 * gdb.ada/mi_catch_assert.exp: Update expected results.
3228 * gdb.ada/catch_ex.exp (catch_exception_info)
3229 (catch_exception_entry, catch_assert_entry)
3230 (catch_unhandled_entry): Update.
3231 * gdb.ada/catch_assert_if.exp: Update expected results.
3232
b863685d
RB
32332019-07-10 Richard Bunt <richard.bunt@arm.com>
3234 Stephen Roberts <stephen.roberts@arm.com>
3235
3236 * gdb.base/define.exp: Restore original prompt.
3237
cb1e4e32
PA
32382019-07-09 Pedro Alves <palves@redhat.com>
3239
3240 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
3241 breakpoints" output.
3242 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
3243 * gdb.python/py-breakpoint.exp: No longer expect that "catch
3244 throw" creates breakpoint.
3245 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
3246 'type="catchpoint"'.
3247
b58a68fe
PA
32482019-07-09 Pedro Alves <palves@redhat.com>
3249
3250 PR c++/15468
3251 * gdb.cp/except-multi-location-lib.cc: New.
3252 * gdb.cp/except-multi-location-main.cc: New.
3253 * gdb.cp/except-multi-location.exp: New.
3254
0826779b
PW
32552019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
3256
3257 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
3258 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
3259 argument and update callers.
3260
5b0e2db4
AB
32612019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3262
3263 * gdb.arch/amd64-break-on-asm-line.S: New file.
3264 * gdb.arch/amd64-break-on-asm-line.exp: New file.
3265
1f6f6e21
PW
32662019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3267
3268 * gdb.base/printcmds.exp: Test printing C string and
3269 C wide string convenience vars without transiting via the inferior.
3270 Also make test names unique.
3271
ea142fbf
AH
32722019-07-08 Alan Hayward <alan.hayward@arm.com>
3273
5862c886 3274 PR breakpoints/25011
ea142fbf
AH
3275 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
3276
213fd9fa
PA
32772019-07-04 Pedro Alves <palves@redhat.com>
3278
3279 * lib/gdb.exp (foreach_with_prefix): Don't return early if
3280 body returned ok(0), break(3) or continue(4).
3281 * gdb.testsuite/foreach_with_prefix.exp: New file.
3282
2b40fda7
AH
32832019-07-04 Alan Hayward <alan.hayward@arm.com>
3284
3285 * gdb.server/unittest.exp: Allow 0 unit tests to run.
3286
a26c8de0
PA
32872019-07-03 Pedro Alves <palves@redhat.com>
3288
3289 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
3290 "return -code".
3291
5f4ba3e7
PA
32922019-07-03 Pedro Alves <palves@redhat.com>
3293
3294 PR cli/24732
3295 * gdb.base/shell.exp: Load completion-support.exp.
3296 Adjust expected error output. Add completion tests.
3297
a994424f
PA
32982019-07-03 Pedro Alves <palves@redhat.com>
3299
3300 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
3301 string_to_regexp.
3302
3d9be6f5
PA
33032019-07-03 Pedro Alves <palves@redhat.com>
3304
3305 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
3306 (expect_integer): Adjust to expect "-string".
3307 (expect_string): New.
3308 (all_options): Expect "-string".
3309 (test-flag, test-boolean): Adjust to expect "-string".
3310 (test-string): New proc.
3311 (top level): Call it.
3312
41fc454c
PA
33132019-07-03 Pedro Alves <palves@redhat.com>
3314
3315 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
3316 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
3317 the expected output in the success.
3318
b2b2a215
PA
33192019-07-03 Pedro Alves <palves@redhat.com>
3320
3321 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3322 Split one gdb_test_multiple call in two to avoid a race.
3323
fdbc9870
PA
33242019-07-03 Pedro Alves <palves@redhat.com>
3325
3326 * gdb.base/with.c: New file.
3327 * gdb.base/with.exp: New file.
3328
c6ac8931
PA
33292019-07-03 Pedro Alves <palves@redhat.com>
3330
3331 * gdb.base/settings.exp: Replace all references to "maint
3332 test-settings set" with references to "maint set test-settings",
3333 and all references to "maint test-settings show" with references
3334 to "maint show test-settings".
3335
970f9d09
PA
33362019-07-03 Pedro Alves <palves@redhat.com>
3337
3338 * gdb.base/settings.exp (test-string): Adjust expected out when
3339 testing "maint test-settings show filename"
3340
54d66006
PA
33412019-07-02 Pedro Alves <palves@redhat.com>
3342
3343 * gdb.base/options.exp (test-info-threads): New procedure.
3344 (top level): Call it.
3345
10d06d82
TT
33462019-06-28 Tom Tromey <tromey@adacore.com>
3347
3348 * gdb.dwarf2/ada-linkage-name.c: New file.
3349 * gdb.dwarf2/ada-linkage-name.exp: New file.
3350
3d507ff2
TT
33512019-06-27 Tom Tromey <tromey@adacore.com>
3352
d039f014 3353 PR c++/20020:
3d507ff2
TT
3354 * gdb.cp/constexpr-field.exp: Use setup_xfail.
3355
8af58ffe
TV
33562019-06-26 Tom de Vries <tdevries@suse.de>
3357
3358 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
3359
22e21752
TV
33602019-06-26 Tom de Vries <tdevries@suse.de>
3361
3362 * gdb.base/index-cache.exp: Add back missing debug option.
3363
b65b566c
PW
33642019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3365
3366 * gdb.base/alias.exp: Test non matching/non existing prefixes.
3367
5c2c8c69
TV
33682019-06-25 Tom de Vries <tdevries@suse.de>
3369
3370 PR testsuite/24727
3371 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
3372
164e3873
TV
33732019-06-24 Tom de Vries <tdevries@suse.de>
3374
3375 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
3376
824eacee
TV
33772019-06-24 Tom de Vries <tdevries@suse.de>
3378
3379 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
3380 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
3381 * gdb.trace/unavailable-dwarf-piece.exp: Same.
3382
385b97d3
TV
33832019-06-24 Tom de Vries <tdevries@suse.de>
3384
3385 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
3386
c596f180
TV
33872019-06-21 Tom de Vries <tdevries@suse.de>
3388
3389 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
3390
b13a7d03
TV
33912019-06-21 Tom de Vries <tdevries@suse.de>
3392
3393 PR testsuite/24518
3394 PR ada/24713
3395 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
3396 index.
3397
899277ae
TT
33982019-06-19 Tom Tromey <tromey@adacore.com>
3399
3400 * gdb.ada/length_cond.exp: Add intro comment.
3401
680e1bee
TT
34022019-06-19 Tom Tromey <tromey@adacore.com>
3403
3404 * gdb.ada/length_cond.exp: New file.
3405 * gdb.ada/length_cond/length_cond.adb: New file.
3406 * gdb.ada/length_cond/pck.adb: New file.
3407 * gdb.ada/length_cond/pck.ads: New file.
3408
0ed4690a
TV
34092019-06-18 Tom de Vries <tdevries@suse.de>
3410
3411 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
3412
d20ed5fd
TT
34132019-06-18 Tom Tromey <tromey@adacore.com>
3414
3415 * gdb.base/list0.h: Add comment explaining control character.
3416
86e04673
TV
34172019-06-18 Tom de Vries <tdevries@suse.de>
3418
3419 * boards/fission.exp: Break up long debug_flags line.
3420
c4973306
SM
34212019-06-16 Tom de Vries <tdevries@suse.de>
3422
3423 PR gdb/24445
3424 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
3425 generated index.
3426
93cb9841
AB
34272019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3428
3429 PR gdb/24686
3430 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
3431 improve detection of bug gdb/24541.
3432
399aaebd
SM
34332019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
3434
3435 PR gdb/24669
3436 * gdb.base/index-cache.exp (uses_readnow,
3437 expecting_index_cache_use): Define global variable.
3438 (test_cache_enabled_miss, test_cache_enabled_hit): Use
3439 expecting_index_cache_use.
3440
584a927c
AB
34412019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
3442 Andrew Burgess <andrew.burgess@embecosm.com>
3443
3444 * gdb.fortran/pointers.f90: New file.
3445 * gdb.fortran/print_type.exp: New file.
3446 * gdb.fortran/vla-ptype.exp: Adapt expected results.
3447 * gdb.fortran/vla-type.exp: Likewise.
3448 * gdb.fortran/vla-value.exp: Likewise.
3449 * gdb.mi/mi-vla-fortran.exp: Likewise.
3450
30056ea0
AB
34512019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3452
3453 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
3454 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
3455 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
3456 as a stop reason.
3457
ec8e2b6d
AB
34582019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3459
3460 * gdb.base/annota1.exp: Update expected results.
3461 * gdb.cp/annota2.exp: Likewise.
3462 * gdb.cp/annota3.exp: Likewise.
3463
09e4c4e1
AB
34642019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3465
3466 * gdb.base/style-logging.exp: Remove path from test name.
3467
0735b091
TT
34682019-06-14 Tom Tromey <tromey@adacore.com>
3469
3470 PR gdb/24502:
3471 * gdb.base/style-logging.exp: New file.
3472
f5686554
TT
34732019-06-14 Tom Tromey <tromey@adacore.com>
3474
3475 * gdb.base/symfile-warn.exp: New file.
3476 * gdb.base/symfile-warn.c: New file.
3477
a0c1ffed
TT
34782019-06-14 Tom Tromey <tromey@adacore.com>
3479
3480 * gdb.base/annotate-symlink.exp: New file.
3481
f411722c
TT
34822019-06-14 Tom Tromey <tromey@adacore.com>
3483
3484 * gdb.ada/set_wstr.exp: Add reassignment test.
3485
4268ec18
TT
34862019-06-14 Tom Tromey <tromey@adacore.com>
3487
3488 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
3489 'unchecked_access and 'unrestricted_access as well.
3490
9a9e394b
TT
34912019-06-14 Tom Tromey <tromey@adacore.com>
3492
3493 PR ada/24539:
3494 * gdb.ada/vla.exp: Update tests.
3495 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
3496 pragma.
3497
4c048731
PA
34982019-06-13 Pedro Alves <palves@redhat.com>
3499
3500 * gdb.base/settings.exp (test-integer): Test junk after
3501 "unlimited".
3502
6665660a
PA
35032019-06-13 Pedro Alves <palves@redhat.com>
3504
3505 * gdb.base/options.exp (test-thread-apply): New.
3506 (top level): Call it.
3507
5d707134
PA
35082019-06-13 Pedro Alves <palves@redhat.com>
3509
3510 * gdb.base/options.exp (test-frame-apply): New.
3511 (top level): Test print commands with different "frame apply"
3512 prefixes.
3513
e2a689da
PA
35142019-06-13 Pedro Alves <palves@redhat.com>
3515
e79be6e5 3516 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
3517 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
3518 'max_completions' parameter and handle it.
3519 (test_gdb_completion_offers_commands): New.
3520
90a1ef87
PA
35212019-06-13 Pedro Alves <palves@redhat.com>
3522
3523 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
3524
d4c16835
PA
35252019-06-13 Pedro Alves <palves@redhat.com>
3526
3527 * gdb.base/options.exp (test-backtrace): New.
3528 (top level): Call it.
3529
2daf894e
PA
35302019-06-13 Pedro Alves <palves@redhat.com>
3531
3532 * gdb.guile/scm-frame-args.exp: Use "set print
3533 raw-frame-arguments" instead of "set print raw frame-arguments".
3534 * gdb.python/py-frame-args.exp: Likewise.
3535
e6ed716c
PA
35362019-06-13 Pedro Alves <palves@redhat.com>
3537
3538 * gdb.compile/compile.exp: Adjust expected output to option
3539 processing changes.
3540
7d8062de
PA
35412019-06-13 Pedro Alves <palves@redhat.com>
3542
3543 * gdb.base/options.exp: Build executable.
3544 (test-print): New procedure.
3545 (top level): Call it, once for "print" and another for "compile
3546 print".
3547
9d0faba9
PA
35482019-06-13 Pedro Alves <palves@redhat.com>
3549
3550 * gdb.base/options.c: New file.
3551 * gdb.base/options.exp: New file.
3552
dee7b4c8
PA
35532019-06-13 Pedro Alves <palves@redhat.com>
3554
3555 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
3556 that "o" is ambiguous.
3557
dca0f6c0
PA
35582019-06-13 Pedro Alves <palves@redhat.com>
3559
3560 * gdb.base/settings.c: New file.
3561 * gdb.base/settings.exp: New file.
3562
ccf46844
PA
35632019-06-13 Pedro Alves <palves@redhat.com>
3564
3565 * gdb.base/completion.exp: Fix comment typo.
3566
b9a3f842
PA
35672019-06-13 Pedro Alves <palves@redhat.com>
3568
3569 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
3570 foo --1" test.
3571
d106773e
PA
35722019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
3573
3574 * gdb.fortran/block-data.f: New.
3575 * gdb.fortran/block-data.exp: New.
3576
fea82da0
TV
35772019-06-11 Tom de Vries <tdevries@suse.de>
3578
3579 PR testsuite/24521
3580 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
3581 message.
3582
8c2e74f1
TV
35832019-06-11 Tom de Vries <tdevries@suse.de>
3584
3585 PR testsuite/24521
3586 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
3587
b49851c8
TV
35882019-06-11 Tom de Vries <tdevries@suse.de>
3589
3590 * boards/readnow.exp: New file.
3591
a7067863
AB
35922019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
3593
3594 * gdb.fortran/vla-sizeof.exp: Update expected results.
3595
1a3da2cd
AB
35962019-06-06 Amos Bird <amosbird@gmail.com>
3597
3598 * gdb.base/annota1.exp (thread_switch): Add test for
3599 thread-exited annotation.
3600
3847a7bf
TT
36012019-06-06 Tom Tromey <tromey@adacore.com>
3602
3603 * gdb.base/maint.exp: Expect command started/finished output.
3604
0088ba59
AB
36052019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3606
3607 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
3608 comment.
3609 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
3610
312617a3
AB
36112019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3612
3613 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
3614 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
3615 * gdb.arch/riscv-unwind-long-insn.c: New file.
3616 * gdb.arch/riscv-unwind-long-insn.exp: New file.
3617
e1f2e1a2
CB
36182019-06-04 Christian Biesinger <cbiesinger@google.com>
3619
d3238f7d 3620 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 3621
206584bd
PW
36222019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3623
3624 * lib/gdb.exp (help_list_trailer): New regexp variable
3625 factorizing the help trailer message.
3626 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
3627 arg to allow to better factorize various tests.
3628 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
3629 (test_prefix_command_help): Use help_list_trailer.
3630 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
3631 * gdb.guile/scm-cmd.exp: Likewise.
3632 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
3633 * gdb.base/help.exp: Use test_user_defined_class_help.
3634 * gdb.base/style.exp: Add tests for styling of help and apropos.
3635 * lib/gdb-utils.exp (style): Add title and highlight styles.
3636
708dc93e
PW
36372019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3638
3639 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
3640 $_shell_exitsignal.
3641 * gdb.base/default.exp: Update for new convenience variables.
3642
f49055a5
TT
36432019-05-29 Tom Tromey <tromey@adacore.com>
3644
3645 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
3646 to "break complete ada" test case's regexp.
3647
4330d61d
TT
36482019-05-29 Tom Tromey <tromey@adacore.com>
3649
3650 PR c++/20020:
3651 * gdb.cp/constexpr-field.exp: New file.
3652 * gdb.cp/constexpr-field.cc: New file.
3653
000439d5
TT
36542019-05-29 Tom Tromey <tromey@adacore.com>
3655
3656 * gdb.base/finish.exp (finish_no_print): New proc.
3657 (finish_tests): Call it.
3658
5a01c34c
TV
36592019-05-24 Tom de Vries <tdevries@suse.de>
3660
3661 * gdb.dwarf2/gdb-add-index.exp: New file.
3662
18125b16
TT
36632019-05-22 Tom Tromey <tromey@adacore.com>
3664
3665 * gdb.base/info-shared.exp (check_info_shared): Use "style".
3666 * gdb.base/style.exp: Use "style".
3667 * lib/gdb-utils.exp (style): New proc.
3668
af1a8d03
TV
36692019-05-22 Tom de Vries <tdevries@suse.de>
3670
3671 * gdb.base/align.exp: Require c++11.
3672
e7fe496b
TV
36732019-05-22 Tom de Vries <tdevries@suse.de>
3674
3675 PR testsuite/24586
3676 * gdb.python/py-mi-var-info-path-expression.exp: Call
3677 mi_skip_python_tests to check if python is supported.
3678
8fca4da0
AH
36792019-05-22 Alan Hayward <alan.hayward@arm.com>
3680
3681 * gdb.arch/aarch64-pauth.c: New test.
3682 * gdb.arch/aarch64-pauth.exp: New file.
3683
b7060614
AH
36842019-05-22 Alan Hayward <alan.hayward@arm.com>
3685
3686 * README (Re-running Tests Outside The Testsuite): New section.
3687
669d0468
TV
36882019-05-21 Tom de Vries <tdevries@suse.de>
3689
3690 * gdb.arch/amd64-eval.exp: Require c++11.
3691 * gdb.base/max-depth.exp: Same.
3692 * gdb.compile/compile-cplus-array-decay.exp: Same.
3693 * gdb.cp/meth-typedefs.exp: Same.
3694 * gdb.cp/subtypes.exp: Same.
3695 * gdb.cp/temargs.exp: Same.
3696
ce3ebcaa
AH
36972019-05-21 Alan Hayward <alan.hayward@arm.com>
3698
3699 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
3700
34d11c68
AB
37012019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3702
3703 PR gdb/18644
3704 * gdb.fortran/complex.exp: Remove setup_kfail calls.
3705 * gdb.fortran/printing-types.exp: Add new test.
3706 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
3707 testing.
3708 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
3709 setup_kfail call.
3710
87781e84
AH
37112019-05-17 Alan Hayward <alan.hayward@arm.com>
3712
3713 * README (Running the Testsuite): Change example.
3714 (Testsuite Parameters): Remove TRANSCRIPT.
3715 * lib/gdb.exp: Remove TRANSCRIPT check.
3716
b420b89e
AH
37172019-05-17 Alan Hayward <alan.hayward@arm.com>
3718
3719 * README (Testsuite Parameters): Add replay logging to
3720 GDBSERVER_DEBUG.
3721 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
3722 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
3723 as a comma separated list.
3724 (gdb_debug_init): Override procedure.
3725
408e9b8b
AH
37262019-05-17 Alan Hayward <alan.hayward@arm.com>
3727
3728 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
3729 (gdb_write_cmd_file): New procedure.
3730 * lib/gdbserver-support.exp (gdbserver_start): Call
3731 gdbserver_write_cmd_file.
3732 (gdbserver_write_cmd_file): New procedure.
3733
f9e2e39d
AH
37342019-05-17 Alan Hayward <alan.hayward@arm.com>
3735
3736 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
3737 (delete_breakpoints): Likewise.
3738 (gdb_run_cmd): Likewise.
3739 (gdb_start_cmd): Likewise.
3740 (gdb_starti_cmd): Likewise.
3741 (gdb_internal_error_resync): Likewise.
3742 (gdb_test_multiple): Likewise.
3743 (gdb_reinitialize_dir): Likewise.
3744 (default_gdb_exit): Likewise.
3745 (gdb_file_cmd): Mark kill as optional.
3746 (default_gdb_start): Call gdb_stdin_log_init.
3747 (send_gdb): Call gdb_stdin_log_write.
3748 (rerun_to_main): Mark Y as an answer.
3749 (gdb_stdin_log_init): New function.
3750 (gdb_stdin_log_write): Likewise.
3751
81f47ac2
AH
37522019-05-17 Alan Hayward <alan.hayward@arm.com>
3753
3754 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
3755 * gdb.base/debug-expr.exp: Likewise.
3756 * gdb.base/foll-fork.exp: Likewise.
3757 * gdb.base/foll-vfork.exp: Likewise.
3758 * gdb.base/fork-print-inferior-events.exp: Likewise.
3759 * gdb.base/gdb-sigterm.exp: Likewise.
3760 * gdb.base/gdbinit-history.exp: Likewise.
3761 * gdb.base/osabi.exp: Likewise.
3762 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3763 * gdb.base/ui-redirect.exp: Likewise.
3764 * gdb.gdb/unittest.exp: Likewise.
3765 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
3766 * gdb.mi/mi-watch.exp: Likewise.
3767 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3768 * gdb.mi/user-selected-context-sync.exp: Likewise.
3769 * gdb.python/python.exp: Disable debug test when debugging.
3770 * gdb.threads/check-libthread-db.exp: Disable when debugging.
3771 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3772 Likewise.
3773 * gdb.threads/stepi-random-signal.exp: Likewise.
3774
29b52314
AH
37752019-05-17 Alan Hayward <alan.hayward@arm.com>
3776
3777 * Makefile.in: Pass through GDB_DEBUG.
3778 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
3779 (gdb,debug): Add board setting.
3780 * lib/gdb.exp (default_gdb_start): Start debugging.
3781 (gdb_debug_enabled): New procedure.
3782 (gdb_debug_init): Likewise.
29b52314
AH
3783
37842019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 3785
29b52314
AH
3786 * Makefile.in: Pass through GDB_DEBUG.
3787 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
3788 (gdb,debug): Add board setting.
3789 * lib/gdb.exp (default_gdb_start): Start debugging.
3790 (gdb_debug_enabled): New procedure.
3791 (gdb_debug_init): Likewise.
29b52314 3792
ca1285d1
AH
37932019-05-17 Alan Hayward <alan.hayward@arm.com>
3794
3795 * gdb.base/ui-redirect.exp: Add debug redirect tests.
3796
f3a09c80
AH
37972019-05-17 Alan Hayward <alan.hayward@arm.com>
3798
3799 * gdb.base/ui-redirect.exp: Test redirection.
3800
26648588
JV
38012019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
3802
3803 * gdb.mi/mi-complete.exp: New file.
3804 * gdb.mi/mi-complete.cc: Likewise.
3805
14237686
AB
38062019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
3807
3808 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
3809 indexed and sliced arrays, and pointers to arrays.
3810
e7bd7fba
TT
38112019-05-14 Tom Tromey <tromey@adacore.com>
3812
3813 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
3814 styling test.
3815
2764128d
TV
38162019-05-14 Tom de Vries <tdevries@suse.de>
3817
3818 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
3819 selection entry encoding.
3820
71bed2db
TT
38212019-05-10 Tom Tromey <tromey@adacore.com>
3822
3823 * gdb.ada/info_exc.exp: Add "complete" test.
3824
63b667ad
TV
38252019-05-09 Tom de Vries <tdevries@suse.de>
3826
3827 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
3828 CU-relative.
3829
9cfd2b89
TV
38302019-05-09 Tom de Vries <tdevries@suse.de>
3831
3832 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
3833 CU-relative.
3834
2228ef77
XR
38352019-05-08 Joel Brobecker <brobecker@adacore.com>
3836
3837 * gdb.ada/frame_arg_lang.exp: New testcase.
3838 * gdb.ada/frame_arg_lang/bla.adb: New file.
3839 * gdb.ada/frame_arg_lang/pck.ads: New file.
3840 * gdb.ada/frame_arg_lang/pck.adb: New file.
3841 * gdb.ada/frame_arg_lang/foo.c: New file.
3842
80e55b13
TT
38432019-05-08 Tom Tromey <tromey@adacore.com>
3844
3845 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3846
9d3421af
TT
38472019-05-08 Tom Tromey <tromey@adacore.com>
3848
3849 * gdb.base/ptype-offsets.exp: Update tests.
3850
844333e2
TT
38512019-05-08 Tom Tromey <tromey@adacore.com>
3852
3853 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3854 cases.
3855 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3856 "short".
3857
988915ee
TT
38582019-05-08 Tom Tromey <tromey@adacore.com>
3859
3860 * gdb.ada/vla.exp: New file.
3861 * gdb.ada/vla/vla.adb: New file.
3862
7bd55dac
TV
38632019-05-07 Tom de Vries <tdevries@suse.de>
3864
3865 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3866
75f06e9d
TV
38672019-05-07 Tom de Vries <tdevries@suse.de>
3868
3869 PR testsuite/24522
3870 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3871 section.
3872
77e7aaa4
TV
38732019-05-07 Tom de Vries <tdevries@suse.de>
3874
3875 PR testsuite/24522
3876 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3877 .debug_aranges section.
3878
456ba0fa
TV
38792019-05-07 Tom de Vries <tdevries@suse.de>
3880
3881 PR testsuite/24159
3882 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3883
5a56d6a6
TV
38842019-05-06 Tom de Vries <tdevries@suse.de>
3885
3886 * lib/gdb.exp (exec_has_index_section): New proc.
3887 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3888 section.
3889
9d6d4be8
TV
38902019-05-04 Tom de Vries <tdevries@suse.de>
3891
3892 * boards/cc-with-debug-names.exp: New file.
3893
222a8d25
TT
38942019-05-03 Tom Tromey <tromey@adacore.com>
3895
3896 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3897 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3898 * gdb.ada/char_enum.exp: Add test.
3899
0fdfd794
TV
39002019-05-03 Tom de Vries <tdevries@suse.de>
3901
3902 * boards/cc-with-gdb-index.exp: New file.
3903
80062eb9
AB
39042019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3905
3906 * gdb.rust/simple.exp: Add new test case.
3907 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3908 (main): Initialise an instance of the new struct.
3909
4504bbde
TT
39102019-05-01 Tom Tromey <tromey@adacore.com>
3911
3912 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3913 record.
3914 (NPR): New variable.
3915 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3916 test.
3917
d48e62f4
TT
39182019-05-01 Tom Tromey <tromey@adacore.com>
3919
3920 * gdb.ada/packed_array_assign.exp: Add packed assignment
3921 regression test.
3922
f59f30f5
TV
39232019-05-01 Tom de Vries <tdevries@suse.de>
3924
3925 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3926
b70bfc54
TV
39272019-05-01 Tom de Vries <tdevries@suse.de>
3928
3929 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3930
15f18d14
AT
39312019-04-30 Ali Tamur <tamur@google.com>
3932
3933 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3934
2ff0a947
TT
39352019-04-30 Tom Tromey <tromey@adacore.com>
3936
3937 * lib/ada.exp (find_ada_tool): New proc.
3938 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3939 * gdb.ada/catch_ex_std.exp: New file.
3940 * gdb.ada/catch_ex_std/foo.adb: New file.
3941 * gdb.ada/catch_ex_std/some_package.adb: New file.
3942 * gdb.ada/catch_ex_std/some_package.ads: New file.
3943
a776957c
TT
39442019-04-30 Tom Tromey <tromey@adacore.com>
3945
3946 PR c++/24470:
3947 * gdb.cp/temargs.cc: Add test code from PR.
3948
bc68014d
AB
39492019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3950
3951 * gdb.fortran/vla-datatypes.exp: Update expected results.
3952 * gdb.fortran/vla-ptype.exp: Likewise.
3953 * gdb.fortran/vla-type.exp: Likewise.
3954 * gdb.fortran/vla-value.exp: Likewise.
3955
f1fdc960
AB
39562019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3957
3958 * gdb.fortran/ptr-indentation.exp: Update expected results.
3959 * gdb.fortran/ptype-on-functions.exp: Likewise.
3960 * gdb.fortran/vla-ptr-info.exp: Likewise.
3961 * gdb.fortran/vla-value.exp: Likewise.
3962
bf7a4de1
AB
39632019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3964
3965 * gdb.fortran/ptype-on-functions.exp: New file.
3966 * gdb.fortran/ptype-on-functions.f90: New file.
3967
bbe75b9d
AB
39682019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3969
3970 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3971 case void string.
3972
1db455a7
AB
39732019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3974
3975 * gdb.fortran/complex.exp: Expand.
3976 * gdb.fortran/complex.f: Renamed to...
3977 * gdb.fortran/complex.f90: ...this, and extended to add more
3978 complex values.
3979
b6d03bb2
AB
39802019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3981
3982 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3983 MODULO, CMPLX.
3984
2e62ab40
AB
39852019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3986 Richard Bunt <richard.bunt@arm.com>
3987
3988 * gdb.base/max-depth.c: New file.
3989 * gdb.base/max-depth.exp: New file.
3990 * gdb.python/py-nested-maps.c: New file.
3991 * gdb.python/py-nested-maps.exp: New file.
3992 * gdb.python/py-nested-maps.py: New file.
3993 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3994 (test_all_common): Call test_max_depth.
3995 * gdb.fortran/max-depth.exp: New file.
3996 * gdb.fortran/max-depth.f90: New file.
3997 * gdb.go/max-depth.exp: New file.
3998 * gdb.go/max-depth.go: New file.
3999 * gdb.modula2/max-depth.exp: New file.
4000 * gdb.modula2/max-depth.c: New file.
4001 * lib/gdb.exp (get_print_expr_at_depths): New proc.
4002
d2b584a5
TV
40032019-04-29 Tom de Vries <tdevries@suse.de>
4004
4005 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
4006
136afab8
PW
40072019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4008
4009 * gdb.base/callexit.exp: Test may-call-functions off.
4010
725cbb63
KS
40112019-04-25 Keith Seitz <keiths@redhat.com>
4012
4013 PR c++/24367
4014 * gdb.cp/meth-typedefs.cc (incomplete_struct)
4015 (another_incomplete_struct, test_incomplete): New definitions.
4016 (main): Use new definitions.
4017 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
4018 functions.
4019
701adfb0
PA
40202019-04-25 Ali Tamur <tamur@google.com>
4021
4022 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
4023
82433e3e
SDJ
40242019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
4025
4026 PR corefiles/11608
4027 PR corefiles/18187
4028 * gdb.base/coredump-filter-build-id.exp: New file.
4029
dd06d4d6
AH
40302019-04-25 Alan Hayward <alan.hayward@arm.com>
4031
e79be6e5
SM
4032 * Makefile.in: Pass through GDBSERVER_DEBUG.
4033 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
4034 (gdbserver,debug): Add board setting.
4035 * gdb.trace/tspeed.exp: Skip when debugging.
4036 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
4037 * lib/gdbserver-support.exp: Likewise
dd06d4d6 4038
1670072e
TT
40392019-04-24 Tom Tromey <tromey@adacore.com>
4040
4041 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
4042 Rust.
4043
a59240a4
TT
40442019-04-24 Tom Tromey <tromey@adacore.com>
4045
4046 * gdb.arch/amd64-eval.exp: Test bitfield return.
4047 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
4048 (class Foo) <return_bitfields>: New method.
4049 (main): Call it.
4050
b907456c
AB
40512019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
4052
4053 * gdb.cp/many-args.cc: New file.
4054 * gdb.cp/many-args.exp: New file.
4055
5c565afd
TV
40562019-04-23 Tom de Vries <tdevries@suse.de>
4057
4058 PR gdb/24433
4059 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
4060
ba22ff86
AH
40612019-04-23 Alan Hayward <alan.hayward@arm.com>
4062
4063 * gdb.trace/backtrace.exp: Use nopie flag.
4064 * gdb.trace/circ.exp: Likewise.
4065 * gdb.trace/collection.exp: Likewise.
4066 * gdb.trace/ftrace.exp: Likewise.
4067 * gdb.trace/mi-trace-unavailable.exp: Likewise.
4068 * gdb.trace/mi-traceframe-changed.exp: Likewise.
4069 * gdb.trace/qtro.exp: Likewise.
4070 * gdb.trace/read-memory.exp: Likewise.
4071 * gdb.trace/report.exp: Likewise.
4072 * gdb.trace/tfile.exp: Likewise.
4073 * gdb.trace/tfind.exp: Likewise.
4074 * gdb.trace/unavailable.exp: Likewise.
4075
7905fc35
PA
40762019-04-22 Pedro Alves <palves@redhat.com>
4077
4078 * gdb.base/solib-probes-nosharedlibrary.c,
4079 gdb.base/solib-probes-nosharedlibrary.exp: New files.
4080
8ecb59f8
TT
40812019-04-19 Tom Tromey <tromey@adacore.com>
4082
4083 * gdb.ada/ptype_union.c: New file.
4084 * gdb.ada/ptype_union.exp: New file.
4085
62160ec9
TT
40862019-04-19 Tom Tromey <tromey@adacore.com>
4087
4088 PR symtab/24423:
4089 * gdb.base/list0.h (foo): Add a control-l character.
4090
36cd4ba5
TV
40912019-04-18 Tom de Vries <tdevries@suse.de>
4092
4093 PR gdb/24433
4094 * boards/local-board.exp: Set sysroot to "".
4095
b73715df
TV
40962019-04-18 Tom de Vries <tdevries@suse.de>
4097 Pedro Alves <palves@redhat.com>
4098
4099 PR gdb/24454
4100 * gdb.threads/vfork-follow-child-exec.c: New file.
4101 * gdb.threads/vfork-follow-child-exec.exp: New file.
4102 * gdb.threads/vfork-follow-child-exit.c: New file.
4103 * gdb.threads/vfork-follow-child-exit.exp: New file.
4104
4aa866af
LS
41052019-04-15 Leszek Swirski <leszeks@google.com>
4106
4107 * gdb.arch/amd64-eval.cc: New file.
4108 * gdb.arch/amd64-eval.exp: New file.
4109
e5a1a79a
AH
41102019-04-11 Alan Hayward <alan.hayward@arm.com>
4111
4112 * gdb.server/sysroot.c: New test.
4113 * gdb.server/sysroot.exp: New file.
4114 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
4115 matching param.
4116
41077b66
AB
41172019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
4118
4119 * gdb.base/align.exp: Extend test to cover structures containing
4120 only static fields.
4121
c30391f8
TV
41222019-04-11 Tom de Vries <tdevries@suse.de>
4123
4124 * boards/cc-with-dwz-m.exp: New file.
4125 * boards/cc-with-dwz.exp: New file.
4126 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
4127
e242fd12
SM
41282019-04-09 Simon Marchi <simon.marchi@efficios.com>
4129
4130 * gdb.base/start-cpp.exp: New file.
4131 * gdb.base/start-cpp.cc: New file.
4132
2b0c8b01
KB
41332019-04-08 Kevin Buettner <kevinb@redhat.com>
4134
4135 * gdb.python/py-thrhandle.exp: Adjust tests to call
4136 thread_from_handle instead of thread_from_thread_handle.
4137
947210e5
KB
41382019-04-08 Kevin Buettner <kevinb@redhat.com>
4139
4140 * gdb.python/py-thrhandle.exp: Add tests for
4141 gdb.InferiorThread.handle.
4142
d7df6549
AB
41432019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4144
4145 * gdb.python/py-function.exp: Check calling helper function from
4146 all languages.
4147 * lib/gdb.exp (gdb_supported_languages): New proc.
4148
8bdc1658
AB
41492019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4150
4151 * gdb.base/complex-parts.c: New file.
4152 * gdb.base/complex-parts.exp: New file.
4153
05caa1d2
TT
41542019-04-01 Tom Tromey <tromey@adacore.com>
4155
4156 PR symtab/23331:
4157 * gdb.dwarf2/dw2-ranges-main.c: New file.
4158 * gdb.dwarf2/dw2-ranges-psym.c: New file.
4159 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
4160
7734102d
EZ
41612019-03-30 Simon Marchi <simark@simark.ca>
4162
4163 * gdb.base/default.exp: Add values for $_gdb_major and
4164 $_gdb_minor.
4165
188e1fa9
TT
41662019-03-29 Tom Tromey <tromey@adacore.com>
4167
4168 * gdb.base/help.exp: Tighten apropos regexp.
4169
2880242d
KS
41702019-03-29 Keith Seitz <keiths@redhat.com>
4171
4172 * gdb.fortran/array-bounds.exp: New file.
4173 * gdb.fortran/array-bounds.f90: New file.
4174
077cad8e
PW
41752019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4176
4177 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
4178
80047cfc
PW
41792019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4180
4181 * gdb.multi/hello.c (main): Increase alarm timer.
4182
f489207e
SL
41832019-03-28 Sandra Loosemore <sandra@codesourcery.com>
4184
4185 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
4186 factor when no hardware watchpoint support.
4187
c92df149
AH
41882019-03-28 Alan Hayward <alan.hayward@arm.com>
4189 Pedro Alves <palves@redhat.com>
4190
4191 * boards/local-board.exp: set sysroot to /.
4192
933aebfa
AH
41932019-03-27 Alan Hayward <alan.hayward@arm.com>
4194
4195 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
4196 in child.
4197
9f9aa852
AB
41982019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4199
4200 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
4201 field.
4202 (make_container): Initialise new field.
4203 * gdb.python/py-prettyprint.exp: Add new tests.
4204 * gdb.python/py-prettyprint.py (class ContainerPrinter)
4205 <display_hint>: New method.
4206
3714a195
AB
42072019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4208
4209 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
4210 gdb_continue_to_breakpoint more throughout this test.
4211 (run_lang_tests) Supply unique test names, and use
4212 gdb_test_no_output.
4213
18c77628
AB
42142019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4215
4216 * gdb.base/finish-pretty.exp: Update expected results.
4217 * gdb.base/pretty-print.c: New file.
4218 * gdb.base/pretty-print.exp: New file.
4219
9a93502f
PA
42202019-03-25 Pedro Alves <palves@redhat.com>
4221
4222 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
4223 move comments outside list. Append '-i "" eof' section.
4224
968aa7ae
AH
42252019-03-22 Alan Hayward <alan.hayward@arm.com>
4226
34a7f2a4 4227 PR testsuite/25016
968aa7ae
AH
4228 * README: Add pie options.
4229 * gdb.base/break-interp.exp: Ensure pie is disabled.
4230 * gdb.base/dump.exp: Likewise.
4231 * lib/gdb.exp (gdb_compile): Add pie option.
4232
4c7d57e7
TT
42332019-03-19 Tom Tromey <tromey@adacore.com>
4234
4235 * gdb.mi/mi2-cli-display.c: New file.
4236 * gdb.mi/mi2-cli-display.exp: New file.
4237
bff8c71f
TT
42382019-03-18 Joel Brobecker <brobecker@adacore.com>
4239 Tom Tromey <tromey@adacore.com>
4240
4241 * gdb.ada/ptype_array/pck.adb: New file.
4242 * gdb.ada/ptype_array/pck.ads: New file.
4243 * gdb.ada/ptype_array/foo.adb: New file.
4244 * gdb.ada/ptype_array.exp: New file.
4245
d085f989
TT
42462019-03-14 Tom Tromey <tromey@adacore.com>
4247
4248 * gdb.base/style.exp: Add "set style sources" test.
4249
b4be1b06
SM
42502019-03-13 Simon Marchi <simon.marchi@ericsson.com>
4251
4252 * mi-breakpoint-location-ena-dis.exp: Rename to ...
4253 * mi-breakpoint-multiple-locations.exp: ... this.
4254 (make_breakpoints_pattern): New proc.
4255 (do_test): Add mi_version parameter, test -break-insert,
4256 -break-info and =breakpoint-created.
4257
7cde5fc2
AB
42582019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
4259
4260 * config/default.exp: Remove 'load_lib gdb.exp'.
4261 * config/monitor.exp: Likewise.
4262 * config/sid.exp: Likewise.
4263 * config/sim.exp: Likewise.
4264 * config/slite.exp: Likewise.
4265 * config/unix.exp: Likewise.
4266 * gdb.base/default.exp: Remove unhelpful comment.
4267
efbecbc1
AB
42682019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4269
4270 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
4271
0841c79a
AB
42722019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4273
4274 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
4275
4a270568
AB
42762019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4277
4278 * gdb.fortran/type-kinds.exp: Update expected results.
4279
067630bd
AB
42802019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4281
4282 * gdb.fortran/type-kinds.exp: Test new integer type kind.
4283
3be47f7a
AB
42842019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4285
4286 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
4287 function.
4288 (test_basic_parsing_of_type_kinds): Expand types tested.
4289 (test_parsing_invalid_type_kinds): New function.
4290
4d00f5d8
AB
42912019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4292
4293 * gdb.fortran/intrinsics.exp: New file.
4294 * gdb.fortran/intrinsics.f90: New file.
4295 * gdb.fortran/type-kinds.exp: New file.
4296
c8f91604
AB
42972019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4298
4299 * gdb.fortran/dot-ops.exp: New file.
4300
dd9f2c76
AB
43012019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4302
4303 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
4304 Check upper and lower case logical literals.
4305
84ec9724
AB
43062019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4307
4308 * gdb.fortran/types.exp (test_float_literal_types_accepted):
4309 Remove duplicate tests.
4310
c3734e09
AH
43112019-03-06 Alan Hayward <alan.hayward@arm.com>
4312
4313 * lib/gdb.exp (builtin_cd): rename of cd.
4314 (cd): Override builtin.
4315
aa3cfbda
RB
43162019-03-06 Richard Bunt <richard.bunt@arm.com>
4317
4318 * gdb.fortran/function-calls.exp: New file.
4319 * gdb.fortran/function-calls.f90: New test.
4320
7b63ad86
RB
43212019-03-04 Richard Bunt <richard.bunt@arm.com>
4322
4323 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
4324 on user program standard output.
4325 * gdb.fortran/short-circuit-argument-list.f90: Record function
4326 calls.
4327
01abb042
AH
43282019-02-28 Alan Hayward <alan.hayward@arm.com>
4329
c3734e09
AH
4330 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
4331 failure.
01abb042 4332
92137da0
RO
43332019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4334
4335 PR gdb/8527
4336 * gdb.base/interrupt-daemon-attach.c,
4337 gdb.base/interrupt-daemon-attach.exp: New test.
4338
5862844d
PA
43392019-02-27 Pedro Alves <palves@redhat.com>
4340
4341 * gdb.base/page.exp: Add tests for "set width/height -1".
4342
8ed25214
PA
43432019-02-27 Pedro Alves <palves@redhat.com>
4344
4345 * gdb.base/page.exp: Add tests for "set/show width/height" with
4346 "infinite" values.
4347
6c28e44a
TT
43482019-02-27 Tom Tromey <tromey@adacore.com>
4349
4350 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
4351 2.4.
4352 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
4353 workaround.
4354
bf9a735e
AB
43552019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
4356
4357 * gdb.base/align.exp: Extend to compile in both C and C++, and add
4358 tests for structs with static members.
4359
8791793c
TT
43602019-02-26 Tom Tromey <tromey@adacore.com>
4361
4362 * gdb.python/py-value.exp (test_value_from_buffer): Check for
4363 ValueError, not TypeError.
4364
bc2a507e
KB
43652019-02-26 Kevin Buettner <kevinb@redhat.com>
4366
4367 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
4368 call from main program.
4369
e0e7d3bd
JB
43702019-02-23 Joel Brobecker <brobecker@adacore.com>
4371
4372 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
4373 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
4374 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
4375 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
4376 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
4377
9600246d
KS
43782019-02-22 Keith Seitz <keiths@redhat.com>
4379
4380 PR symtab/23853
4381 * gdb.base/symlink-sourcefile.c: New file.
4382 * gdb.base/symlink-sourcefile.exp: New file.
4383
0c95f9ed
TT
43842019-02-20 Tom Tromey <tom@tromey.com>
4385
4386 * gdb.base/info_qt.exp: Update.
4387
6caa91b6
SM
43882019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
4389
4390 * gdb.base/source.exp: Move "error in sourced script" code to
4391 the end.
4392 * gdb.base/source-error.gdb: Move contents to
4393 source-error-1.gdb. Add new code to source source-error-1.gdb.
4394 * gdb.base/source-error-1.gdb: New file, from previous
4395 source-error.gdb.
4396
6506371f
TT
43972019-02-17 Tom Tromey <tom@tromey.com>
4398
4399 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
4400 for macro styling.
4401 * gdb.base/style.c (SOME_MACRO): New macro.
4402
a0087920
TT
44032019-02-17 Tom Tromey <tom@tromey.com>
4404
4405 * gdb.base/style.exp: Add line-wrapping tests.
4406 * gdb.base/page.exp: Add test for quitting during pagination.
4407
a2cd4f14
JB
44082019-02-17 Joel Brobecker <brobecker@adacore.com>
4409
4410 * gdb.ada/big_packed_array: New testcase.
4411 * gdb.ada/homonym.exp: Fix incorrect expected output for
4412 "break <homonym__get_value>" test.
4413
9d70ffbc
WP
44142019-02-13 Weimin Pan <weimin.pan@oracle.com>
4415
4416 PR breakpoints/21870
4417 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
4418 and prepare_for_testing. Add comment.
4419 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
4420 redundant cleanup call. Clean up comment.
4421
01c7ae81
WP
44222019-02-12 Weimin Pan <weimin.pan@oracle.com>
4423
4424 PR breakpoints/21870
4425 * gdb.arch/aarch64-dbreg-contents.exp: New file.
4426 * gdb.arch/aarch64-dbreg-contents.c: New file.
4427
aff29d1c
JB
44282019-02-10 Joel Brobecker <brobecker@adacore.com>
4429
4430 * gdb.ada/mi_ref_changeable: New testcase.
4431
df0da8a2
AH
44322019-02-07 Alan Hayward <alan.hayward@arm.com>
4433
4434 * gdb.base/attach.exp: Add double attach test.
4435
bd447abb
SM
44362019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
4437
4438 * lib/gdb.exp (default_gdb_start): Don't match pagination
4439 prompt.
4440 (gdb_init): Set stty_init.
4441
1dbc40b9
TT
44422019-01-27 Tom Tromey <tom@tromey.com>
4443
4444 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
4445 skip_python_tests.
4446
353229bf
AH
44472019-01-24 Alan Hayward <alan.hayward@arm.com>
4448
4449 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
4450 New structure.
4451 (struct struct_static_02_02): Likewise.
4452 (struct struct_static_02_03): Likewise.
4453 (struct struct_static_02_04): Likewise.
4454 (struct struct_static_04_01): Likewise.
4455 (struct struct_static_04_02): Likewise.
4456 (struct struct_static_04_03): Likewise.
4457 (struct struct_static_04_04): Likewise.
4458 (struct struct_static_06_01): Likewise.
4459 (struct struct_static_06_02): Likewise.
4460 (struct struct_static_06_03): Likewise.
4461 (struct struct_static_06_04): Likewise.
4462 (cmp_struct_static_02_01): Likewise.
4463 (cmp_struct_static_02_02): Likewise.
4464 (cmp_struct_static_02_03): Likewise.
4465 (cmp_struct_static_02_04): Likewise.
4466 (cmp_struct_static_04_01): Likewise.
4467 (cmp_struct_static_04_02): Likewise.
4468 (cmp_struct_static_04_03): Likewise.
4469 (cmp_struct_static_04_04): Likewise.
4470 (cmp_struct_static_06_01): Likewise.
4471 (cmp_struct_static_06_02): Likewise.
4472 (cmp_struct_static_06_03): Likewise.
4473 (cmp_struct_static_06_04): Likewise.
4474 (call_all): Test new structs.
4475 * gdb.base/infcall-nested-structs.exp: Likewise.
4476
73021deb
AH
44772019-01-21 Alan Hayward <alan.hayward@arm.com>
4478 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
4479
fc65c7db
AH
44802019-01-21 Alan Hayward <alan.hayward@arm.com>
4481 * gdb.base/stack-protector.c: New test.
4482 * gdb.base/stack-protector.exp: New file.
4483 * gdb.cp/ovldbreak.exp: Only allow a single break line.
4484 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
4485 option.
4486 (gdb_compile): Remove stack protector for GCC and prevent
4487 recursion.
4488
c24bdb02
KS
44892019-01-16 Keith Seitz <keiths@redhat.com>
4490
4491 PR gdb/23773
4492 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
4493
6f072a10
PFC
44942019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4495
4496 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
4497 aliases.
4498 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
4499 tests.
4500 * gdb.arch/powerpc-vector-regs.c: New file.
4501 * gdb.arch/powerpc-vector-regs.exp: New file.
4502
a7b8d682
PFC
45032019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4504
4505 * gdb.arch/altivec-regs.exp: Fix the list passed to
4506 gdb_expect_list when testing "info vector".
4507
6eb6fb67
AB
45082019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4509
4510 * gdb.base/style.exp: Don't include path in testname.
4511
b56f80d8
KS
45122019-01-10 Keith Seitz <keiths@redhat.com>
4513
4514 PR gdb/23712
4515 PR symtab/23010
4516 * gdb.dwarf2/multidictionary.exp: New file.
4517
041be526
SM
45182019-01-09 Simon Marchi <simon.marchi@ericsson.com>
4519
4520 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
4521 (test_gnuv3_style_demangling): ... this.
4522 (test_lucid_style_demangling): Remove.
4523 (test_arm_style_demangling): Remove.
4524 (test_hp_style_demangling): Remove.
4525 (do_tests): Remove calls to the above.
4526
d820d0c3
AB
45272019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4528
4529 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
4530 case.
4531
f097f5ad
TT
45322019-01-06 Tom Tromey <tom@tromey.com>
4533
4534 PR gdb/28155:
4535 * gdb.dwarf2/typedef-void-finish.exp: New file.
4536
2cd8cc0b
TT
45372018-12-28 Tom Tromey <tom@tromey.com>
4538 Simon Marchi <simark@simark.ca>
4539
4540 * gdb.base/jit-exec.exp: New file.
4541 * gdb.base/jit-exec.c: New file.
4542 * gdb.base/jit-execd.c: New file.
4543
35fb8261
TT
45442018-12-28 Tom Tromey <tom@tromey.com>
4545
4546 * gdb.base/style.exp: Update test to check for address styling.
4547
47fd17cd
TT
45482018-12-28 Tom Tromey <tom@tromey.com>
4549
4550 * gdb.base/style.exp: Add test for styling of "Reading symbols"
4551 message.
4552
d47032b7
TT
45532018-12-28 Tom Tromey <tom@tromey.com>
4554
4555 * gdb.base/style.exp: Add test for version number styling.
4556
af79b68d
TT
45572018-12-28 Tom Tromey <tom@tromey.com>
4558
4559 * gdb.base/style.exp: Add test for print_address_symbolic.
4560
0bb296cb
TT
45612018-12-28 Tom Tromey <tom@tromey.com>
4562
4563 * gdb.base/style.exp: Add test for breakpoint setting.
4564
80ae2043
TT
45652018-12-28 Tom Tromey <tom@tromey.com>
4566
4567 * gdb.base/style.exp: Add test for variable names.
4568
cbe56571
TT
45692018-12-28 Tom Tromey <tom@tromey.com>
4570
4571 * gdb.base/style.exp: New file.
4572 * gdb.base/style.c: New file.
4573
9162a27c
TT
45742018-12-28 Tom Tromey <tom@tromey.com>
4575
4576 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
4577 "dumb".
4578 * gdb.base/readline.exp (operate_and_get_next): Save and restore
4579 the TERM environment variable.
4580
bc543c90
TT
45812018-12-27 Tom Tromey <tom@tromey.com>
4582
4583 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
4584 pagination test.
4585
6f0ffe50
AB
45862018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
4587
4588 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
4589 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
4590
b5a1e557
PW
45912018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4592
4593 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
4594 Filename a.adb changed to bp_fun_addr.adb.
4595 gdb.ada/bp_fun_addr.exp: Update test accordingly.
4596
6e8b1ab2
JV
45972018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
4598
4599 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
4600 non-PIE executables.
4601 * README: Mention the gdb,nopie_flag board setting.
4602 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
4603 non-PIE executable.
4604 * gdb.arch/amd64-entry-value.exp: Likewise.
4605 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
4606 * gdb.arch/i386-float.exp: Likewise.
4607 * gdb.arch/i386-signal.exp: Likewise.
4608 * gdb.mi/mi-reg-undefined.exp: Likewise.
4609
d00a27c5
PM
46102018-12-21 Paul Marechal <paul.marechal@ericsson.com>
4611
4612 PR gdb/23974
4613 * gdb.base/info-os.exp: Check return for unknown "info os" type.
4614
161d081c
PW
46152018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4616
4617 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
4618 Update order of results accordingly.
4619
b001de23
AB
46202018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
4621
4622 * gdb.base/annota1.exp: Update a test regexp.
4623
99e1a184
AB
46242018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4625
4626 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
4627
7a81c1e2
PW
46282018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4629
4630 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
4631 (reuse_time): Initialize to REUSE_TIME_CAP.
4632 (check_rc): New function.
4633 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
4634 Check pthread_create rc.
4635 (spawner_thread_func): Check pthread_create and pthread_join rc.
4636
73e8dc90
PA
46372018-12-08 Pedro Alves <palves@redhat.com>
4638
4639 * gdb.base/list.exp (test_forward_search): Rename to ...
4640 (test_forward_reverse_search): ... this. Also test reverse-search
4641 and the forward-search alias.
4642
13f2ed32
AB
46432018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
4644
4645 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
4646 local timeout variable before return, and remove all local timeout
4647 variable entirely.
4648 (gdb_load): Likewise.
4649
64d27cfc
TV
46502018-12-01 Tom de Vries <tdevries@suse.de>
4651
4652 * gdb.base/gdb-caching-proc.exp: New file.
4653
f63c03b4
SDJ
46542018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
4655
4656 * Makefile.in (TIMESTAMP): New variable.
4657 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
4658 command.
4659 (check-single-racy): Likewise.
4660 (check/%.exp): Likewise.
4661 (check-racy/%.exp): Likewise.
4662 (workers/%.worker): Likewise.
4663 (build-perf): Likewise.
4664 (check-perf): Likewise.
4665 * README: Describe new "TS" and "TS_FORMAT" variables.
4666 * print-ts.py: New file.
4667
1c97054b
BF
46682018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
4669
4670 PR python/23714
4671 * gdb.python/python.exp: Test command repetition after
4672 gdb.execute.
4673
1871a62d
AB
46742018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
4675
4676 * gdb.opt/inline-break.exp: Add test that info breakpoint output
4677 is correctly aligned.
4678
fb5e1ed9
PW
46792018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4680
4681 * gdb.ada/info_auto_lang.exp: New testcase.
4682 * gdb.ada/info_auto_lang/global_pack.ads: New file.
4683 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
4684 * gdb.ada/info_auto_lang/some_c.c: New file.
4685
43d397ca
PW
46862018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4687
4688 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
4689 FUNC_lang language syntax.
4690
beddd671
PW
46912018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4692
4693 * gdb.base/info_minsym.c: New file.
4694 * gdb.base/info_minsym.exp: New file.
4695
73fc52c4
TT
46962018-11-19 Tom Tromey <tom@tromey.com>
4697
4698 PR rust/23625:
4699 * gdb.rust/simple.exp: Add ptype test. Update expected output.
4700 * gdb.rust/expr.exp: Update expected output. Change one test.
4701
994b876a
TT
47022018-11-19 Tom Tromey <tom@tromey.com>
4703
4704 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
4705
6769f276
PA
47062018-11-19 Pedro Alves <palves@redhat.com>
4707
4708 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
4709 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
4710 see the expected warning.
4711
38a72da0
AH
47122018-11-16 Alan Hayward <alan.hayward@arm.com>
4713
4714 PR gdb/22736:
4715 * gdb.cp/infcall-nodebug-lib.c: New test.
4716 * gdb.cp/infcall-nodebug-main.c: New test.
4717 * gdb.cp/infcall-nodebug.exp: New file.
4718
53a89d6e
SM
47192018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
4720
4721 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
4722 completer tests.
4723
9325300d
TV
47242018-11-09 Tom de Vries <tdevries@suse.de>
4725
4726 * gdb.base/msym-lang.c: New test.
4727 * gdb.base/msym-lang.exp: New file.
4728 * gdb.base/msym-lang-main.c: New test.
4729
20f0d60d
TT
47302018-11-08 Tom Tromey <tom@tromey.com>
4731
4732 PR gdb/23555:
4733 PR gdb/23838:
4734 * gdb.base/warning.exp: New file.
4735
b5420128
JB
47362018-11-08 Jan Beulich <jbeulich@suse.com>
4737
4738 * testsuite/gdb.arch/i386-avx512.c,
4739 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
4740
cd115d61
AB
47412018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
4742
4743 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
4744 point hardware.
4745
35ee2dc2
AB
47462018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
4747
4748 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
4749 * gdb.dwarf2/missing-type-name.exp: New file.
4750
31aceee8
TV
47512018-11-06 Tom de Vries <tdevries@suse.de>
4752
4753 * gdb.base/many-headers.c: New test.
4754 * gdb.base/many-headers.exp: New file.
4755
109be305
JW
47562018-11-06 Jim Wilson <jimw@sifive.com>
4757
4758 * gdb.base/code_elim.exp: For riscv, set additional_flags
4759 to include -msmall-data-limit=0.
4760
e2b7af72
JB
47612018-11-01 Joel Brobecker <brobecker@adacore.com>
4762
4763 * gdb.ada/watch_minus_l: New testcase.
4764
cdcda965
SM
47652018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
4766
4767 * gdb.arch/aix-sighandle.c: New file.
4768 * gdb.arch/aix-sighandle.exp: New file.
4769
92dcebf3
AB
47702018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4771
4772 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
4773 registers being unions.
4774
68b9ac18
TV
47752018-10-31 Tom de Vries <tdevries@suse.de>
4776
4777 * lib/valgrind.exp: New file.
4778 (vgdb_start, vgdb_stop): New procs, factored out of ...
4779 * gdb.base/valgrind-bt.exp: ... here, ...
4780 * gdb.base/valgrind-disp-step.exp: ... here and ...
4781 * gdb.base/valgrind-infcall.exp: ... here.
4782
1443936e
TV
47832018-10-31 Tom de Vries <tdevries@suse.de>
4784
4785 * lib/gdb.exp (get_valueof): Don't output read value in test name.
4786
eb77c9df
AB
47872018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4788
4789 * gdb.dwarf2/void-type.c: New file.
4790 * gdb.dwarf2/void-type.exp: New file.
4791
82b5e646
PW
47922018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4793
4794 * gdb.base/info_qt.c: New file.
4795 * gdb.base/info_qt.exp: New file.
4796
8d619c01
EBM
47972018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4798
4799 * gdb.arch/powerpc-htm-regs.c: New file.
4800 * gdb.arch/powerpc-htm-regs.exp: New file.
4801
f2cf6173
EBM
48022018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4803
4804 * gdb.arch/powerpc-tar.c: New file.
4805 * gdb.arch/powerpc-tar.exp: New file.
4806
7ca18ed6
EBM
48072018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4808
4809 * gdb.arch/powerpc-ppr-dscr.c: New file.
4810 * gdb.arch/powerpc-ppr-dscr.exp: New file.
4811
bfcc0eba
TV
48122018-10-25 Tom de Vries <tdevries@suse.de>
4813
4814 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
4815
fe1a5cad
TV
48162018-10-24 Tom de Vries <tdevries@suse.de>
4817
4818 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
4819 longer exists error.
4820
a76dc3b7
TV
48212018-10-24 Tom de Vries <tdevries@suse.de>
4822
4823 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
4824
4df46df7
TV
48252018-10-24 Tom de Vries <tdevries@suse.de>
4826
4827 * gdb.base/valgrind-db-attach.exp: Handle removed support for
4828 --db-attach in valgrind.
4829
0dbfcfff
AB
48302018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
4831
4832 * gdb.arch/riscv-reg-aliases.c: New file.
4833 * gdb.arch/riscv-reg-aliases.exp: New file.
4834
b04480b1
AH
48352018-10-19 Alan Hayward <alan.hayward@arm.com>
4836
4837 * gdb.python/py-cmd.exp: Check for gdb_prompt.
4838
2c6ac8d7
AH
48392018-10-19 Alan Hayward <alan.hayward@arm.com>
4840
4841 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4842
2bc69f25
AH
48432018-10-19 Alan Hayward <alan.hayward@arm.com>
4844
4845 * gdb.cp/ovldbreak.exp: Fix regexps.
4846
1f1ae3a3
AH
48472018-10-19 Alan Hayward <alan.hayward@arm.com>
4848
4849 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4850
94c18618
SDJ
48512018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4852
4853 PR cli/23785
4854 * gdb.base/restore.exp: New test to check if "restore" with an
4855 invalid file doesn't segfault.
4856
812cd6eb
TV
48572018-10-18 Tom de Vries <tdevries@suse.de>
4858
4859 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4860 * gdb.ada/excep_handle.exp: Same.
4861 * gdb.ada/mi_string_access.exp: Same.
4862 * gdb.ada/mi_var_union.exp: Same.
4863 * gdb.arch/arc-analyze-prologue.exp: Same.
4864 * gdb.arch/arc-decode-insn.exp: Same.
4865 * gdb.base/readnever.exp: Same.
4866 * gdb.fortran/printing-types.exp: Same.
4867 * gdb.guile/scm-lazy-string.exp: Same.
4868
c4b90788
TV
48692018-10-16 Tom de Vries <tdevries@suse.de>
4870
4871 PR gdb/23730
4872 * gdb.base/catch-follow-exec.c: Add copyright notice.
4873 * gdb.base/catch-follow-exec.exp: Rewrite to use
4874 gdb_spawn_with_cmdline_opts. Require gdb-native.
4875
8bca2978
SL
48762018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4877
4878 * gdb.trace/actions-changed.exp: Check for arch support.
4879 * gdb.trace/actions.exp: Likewise.
4880 * gdb.trace/ax.exp: Likewise.
4881 * gdb.trace/backtrace.exp: Likewise.
4882 * gdb.trace/change-loc.exp: Likewise.
4883 * gdb.trace/deltrace.exp: Likewise.
4884 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4885 * gdb.trace/ftrace.exp: Likewise.
4886 * gdb.trace/infotrace.exp: Check for arch support.
4887 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4888 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4889 * gdb.trace/mi-tsv-changed.exp: Likewise.
4890 * gdb.trace/packetlen.exp: Likewise.
4891 * gdb.trace/passc-dyn.exp: Likewise.
4892 * gdb.trace/passcount.exp: Likewise.
4893 * gdb.trace/pending.exp: Likewise.
4894 * gdb.trace/range-stepping.exp: Check for shlib support.
4895 * gdb.trace/report.exp: Check for arch support.
4896 * gdb.trace/save-trace.exp: Likewise.
4897 * gdb.trace/signal.exp: Check for signal support.
4898 * gdb.trace/tfind.exp: Check for arch support.
4899 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4900 * gdb.trace/trace-common.h: Add comment.
4901 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4902 * gdb.trace/trace-enable-disable.exp: Likewise.
4903 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4904 * gdb.trace/tracecmd.exp: Check for arch support.
4905 * gdb.trace/tspeed.exp: Check for shlib and target support.
4906 * gdb.trace/tstatus.exp: Check for arch support.
4907 * gdb.trace/tsv.exp: Likewise.
4908 * gdb.trace/while-dyn.exp: Likewise.
4909 * gdb.trace/while-stepping.exp: Likewise.
4910 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4911
f9c49bff
SM
49122018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4913
4914 * gdb.trace/tspeed.exp: Remove nowarnings.
4915 (prepare_for_trace_test): Declare "global ipalib".
4916 * gdb.trace/tspeed.c: Include unistd.h.
4917 (main): Remove superfluous printf argument.
4918
d4330bde
SL
49192018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4920
4921 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4922 directory prefix on the filename.
4923
8ecfd7bd
SDJ
49242018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4925
4926 * gdb.gdb/unittest.exp: Update expected message informing that
4927 selftests have been disabled.
4928 * gdb.server/unittest.exp: Likewise.
4929
58bbcd02
TV
49302018-10-09 Tom de Vries <tdevries@suse.de>
4931
4932 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4933 with runto_main.
4934
9f6b697b
WP
49352018-10-08 Weimin Pan <weimin.pan@oracle.com>
4936
4937 PR c++/16841
4938 * gdb.cp/virtbase2.cc: New file.
4939 * gdb.cp/virtbase2.exp: New file.
4940
add5ded5
TT
49412018-10-06 Tom Tromey <tom@tromey.com>
4942
4943 PR python/19399:
4944 * gdb.python/py-inferior.exp: Add architecture test.
4945
f9e48344
TT
49462018-10-06 Tom Tromey <tom@tromey.com>
4947
4948 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4949 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4950
2a8be203
TT
49512018-10-06 Tom Tromey <tom@tromey.com>
4952
4953 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4954 of a "throw" catchpoint.
4955
e04caa70
SDJ
49562018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4957
4958 * gdb.base/info-proc.exp: Update string expected from "help info
4959 proc".
4960
5ca8c39f
TT
49612018-10-04 Tom Tromey <tom@tromey.com>
4962
4963 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4964 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4965 (test_initial_complaints, test_empty_complaints): Update.
4966 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4967
3453e7e4
TT
49682018-10-04 Tom Tromey <tom@tromey.com>
4969
4970 PR cli/19551:
4971 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4972 * lib/gdb.exp (gdb_file_cmd): Update.
4973 * gdb.stabs/weird.exp (print_weird_var): Update.
4974 * gdb.server/solib-list.exp: Update.
4975 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4976 * gdb.mi/mi-cli.exp: Update.
4977 * gdb.linespec/linespec.exp: Update.
4978 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4979 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4980 * gdb.cp/cp-relocate.exp: Update.
4981 * gdb.base/sym-file.exp: Update.
4982 * gdb.base/relocate.exp: Update.
4983 * gdb.base/readnever.exp: Update.
4984 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4985 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4986 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4987 * gdb.base/code_elim.exp: Update.
4988 * gdb.base/break-unload-file.exp (test_break): Update.
4989 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4990 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4991 Update.
4992 * gdb.base/attach.exp (do_attach_tests): Update.
4993 * gdb.base/sepdebug.exp: Update.
4994 * gdb.python/py-section-script.exp: Update.
4995
6afcf761
TT
49962018-10-04 Tom Tromey <tom@tromey.com>
4997
4998 PR cli/22234:
4999 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
5000 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
5001 output.
5002
fef1b293
TT
50032018-10-04 Tom Tromey <tom@tromey.com>
5004
5005 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
5006 set width and height to 0.
5007 (test_command_line_attach_run): Use -quiet.
5008
ca98345e
SL
50092018-10-03 Sandra Loosemore <sandra@codesourcery.com>
5010
5011 * lib/gdb.exp (skip_ifunc_tests): New.
5012 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
5013 other compile failures.
5014 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
5015
ff34e6ae
SM
50162018-10-01 Simon Marchi <simon.marchi@ericsson.com>
5017
5018 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
5019 is_amd64_regs_target.
5020
6bb8890e
AH
50212018-10-01 Alan Hayward <alan.hayward@arm.com>
5022
5023 * gdb.arch/aarch64-sighandler-regs.c: New test.
5024 * gdb.arch/aarch64-sighandler-regs.exp: New file.
5025 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
5026
224d30d3
MM
50272018-10-01 Markus Metzger <markus.t.metzger@intel.com>
5028
5029 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
5030 assembly.
5031
f67ffa6a
AB
50322018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
5033
5034 * gdb.base/frame-selection.exp: New file.
5035 * gdb.base/frame-selection.c: New file.
5036
9fc3183f
AH
50372018-09-27 Alan Hayward <alan.hayward@arm.com>
5038
5039 * gdb.threads/check-libthread-db.c (thread_routine): Use a
5040 pthread barrier.
5041 (main): Likewise.
5042
d354055e
AB
50432018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
5044
5045 * gdb.base/large-frame-1.c: New file.
5046 * gdb.base/large-frame-2.c: New file.
5047 * gdb.base/large-frame.exp: New file.
5048 * gdb.base/large-frame.h: New file.
5049
db727370
JL
50502018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
5051
5052 PR gdb/20948
5053 * gdb.base/write_mem.exp: New test.
5054 * gdb.base/write_mem.c: Likewise.
5055
ae778caf
TT
50562018-09-23 Tom Tromey <tom@tromey.com>
5057
5058 PR python/18852:
5059 * gdb.python/py-parameter.exp: Add test for parameter that throws
5060 on "set".
5061
fd3ba736
TT
50622018-09-23 Tom Tromey <tom@tromey.com>
5063
5064 PR python/17284:
5065 * gdb.python/py-template.exp (test_template_arg): Add test for
5066 negative template argument number.
5067
39a24317
TT
50682018-09-23 Tom Tromey <tom@tromey.com>
5069
5070 PR python/14062:
5071 * gdb.python/python.exp: Add test for post_event error.
5072
f5769a2c
TT
50732018-09-23 Tom Tromey <tom@tromey.com>
5074
5075 PR python/18170:
5076 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
5077 convert pointers to int and long.
5078
1c1e54f6
TT
50792018-09-23 Tom Tromey <tom@tromey.com>
5080
5081 PR python/20126:
5082 * gdb.python/py-value.exp (test_value_numeric_ops): Add
5083 signed-ness conversion tests.
5084
fb4fa946
TT
50852018-09-23 Tom Tromey <tom@tromey.com>
5086
5087 PR python/18352;
5088 * gdb.python/py-value.exp (test_float_conversion): New proc.
5089 Use it.
5090
a466edac
HAQ
50912018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
5092
5093 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
5094
4ee9b0c5
SL
50952018-09-18 Sandra Loosemore <sandra@codesourcery.com>
5096
5097 * gdb.base/complete-empty.exp: Skip tab-completion tests if
5098 no readline.
5099 * gdb.base/utf8-identifiers.exp: Likewise.
5100 * gdb.cp/cpcompletion.exp: Likewise.
5101 * gdb.linespec/cpcompletion.exp: Likewise.
5102 * gdb.linespec/cpls-abi-tag.exp: Likewise.
5103 * gdb.linespec/cpls-ops.exp: Likewise.
5104
23be8da7
RB
51052018-09-19 Richard Bunt <richard.bunt@arm.com>
5106 Chris January <chris.january@arm.com>
5107
5108 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
5109 * gdb.fortran/short-circuit-argument-list.exp: New file.
5110 * gdb.fortran/short-circuit-argument-list.f90: New test.
5111
5031d0ae
SDJ
51122018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5113
5114 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
5115 "arch=" keyword when executing "-stack-list-frames".
5116
b4c0d1a4
SDJ
51172018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5118
5119 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
5120 "arch=" keyword when executing "-stack-list-frames".
5121
7a6d2b45
SDJ
51222018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5123
5124 * gdb.ada/complete.exp: Expect for "@" when doing "complete
5125 break ada".
5126
8588b356
SM
51272018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
5128
5129 PR python/23669
5130 * gdb.python/python.exp: Test gdb.execute("show commands").
5131
65e65158
TT
51322018-09-16 Tom Tromey <tom@tromey.com>
5133
5134 * gdb.base/new-ui.exp (do_execution_tests): Update.
5135 * gdb.base/dbx.exp (test_breakpoints): Update.
5136
bf326452
AH
51372018-09-14 Alan Hayward <alan.hayward@arm.com>
5138
5139 * lib/gdb.exp (gdb_simple_compile): Add proc.
5140 (is_elf_target): Use gdb_simple_compile.
5141 (skip_altivec_tests): Likewise.
5142 (skip_vsx_tests): Likewise.
5143 (skip_tsx_tests): Likewise.
5144 (skip_btrace_tests): Likewise.
5145 (skip_btrace_pt_tests): Likewise.
5146 (gdb_can_simple_compile): Likewise.
5147 (gdb_has_argv0): Likewise.
5148 (gdb_target_symbol_prefix): Likewise.
5149 (target_supports_scheduler_locking): Likewise.
5150
2361b0fb
TT
51512018-09-13 Tom Tromey <tom@tromey.com>
5152
5153 * Makefile.in (TAGS): Recognize proc_with_prefix and
5154 gdb_caching_proc.
5155
0ae1a321
SM
51562018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5157
5158 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
5159 method.
5160
a40bf0c2
SM
51612018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5162
5163 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
5164 and a few other Inferior properties when the Inferior is no
5165 longer valid.
5166
4a3fe98f
TT
51672018-09-13 Tom Tromey <tom@tromey.com>
5168
5169 PR rust/23650:
5170 * gdb.rust/simple.exp: Add test for enum field access error.
5171
098b2108
TT
51722018-09-13 Tom Tromey <tom@tromey.com>
5173
5174 PR rust/23626:
5175 * gdb.rust/simple.rs (EmptyEnum): New type.
5176 (main): Use it.
5177 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
5178
1256af7d
SM
51792018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5180
5181 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
5182 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
5183 * gdb.python/py-symtab.exp: Update test printing an objfile.
5184
4aa8e6c2
SM
51852018-09-12 Simon Marchi <simon.marchi@ericsson.com>
5186
5187 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
5188 object.
5189
c221b2f7
AH
51902018-09-12 Alan Hayward <alan.hayward@arm.com>
5191
5192 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
5193 (support_complex_tests): Use gdb_can_simple_compile.
5194 (is_ilp32_target): Likewise.
5195 (is_lp64_target): Likewise.
5196 (is_64_target): Likewise.
5197 (is_amd64_regs_target): Likewise.
5198 (is_aarch32_target): Likewise.
5199 (gdb_int128_helper): Likewise.
5200
6f1107b5
JK
52012018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5202
5203 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
5204
1f5d1570
JG
52052018-09-10 Jerome Guitton <guitton@adacore.com>
5206
5207 * gdb.ada/same_component_name: Add test for case of tagged record
5208 with variable-length fields.
5209
cc330e39
XR
52102018-09-10 Xavier Roirand <roirand@adacore.com>
5211
5212 * gdb.ada/access_to_unbounded_array.exp: New testcase.
5213 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
5214 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
5215 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
5216
b9c50e9a
XR
52172018-09-10 Xavier Roirand <roirand@adacore.com>
5218
5219 * gdb.ada/mi_string_access.exp: New testcase.
5220 * gdb.ada/mi_string_access/bar.adb: New file.
5221 * gdb.ada/mi_string_access/pck.adb: New file.
5222 * gdb.ada/mi_string_access/pck.asd: New file.
5223
2963898f
XR
52242018-09-10 Xavier Roirand <roirand@adacore.com>
5225
5226 * gdb.ada/mi_var_union.exp: New testcase.
5227 * gdb.ada/mi_var_union/bar.adb: New file.
5228 * gdb.ada/mi_var_union/pck.adb: New file.
5229 * gdb.ada/mi_var_union/pck.asd: New file.
5230
1aac008f
TT
52312018-09-08 Tom Tromey <tom@tromey.com>
5232
5233 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
5234
332cf4c9
TT
52352018-09-08 Tom Tromey <tom@tromey.com>
5236
5237 PR python/16047:
5238 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
5239 (register_pretty_printers): Register new printer.
5240 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
5241 test.
5242 * gdb.python/py-prettyprint.c (int_type3): New typedef.
5243 (an_int_type3): New global.
5244
424da6cf
JB
52452018-09-08 Joel Brobecker <brobecker@adacore.com>
5246
5247 * gdb.ada/expr_with_funcall: New testcase.
5248
2a62dfa9
JB
52492018-09-08 Joel Brobecker <brobecker@adacore.com>
5250
5251 * gdb.ada/packed_array_assign: New testcase.
5252
96b6697f
AB
52532018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
5254
5255 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
5256 names, and add test prefixes to make test names unique.
5257
e4a62c65
TV
52582018-09-05 Tom de Vries <tdevries@suse.de>
5259
5260 * gdb.dwarf2/varval.exp: Add test.
5261
dd083ee2
GB
52622018-09-04 Gary Benson <gbenson@redhat.com>
5263
5264 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
5265 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
5266
aef9346c
TT
52672018-08-31 Tom Tromey <tom@tromey.com>
5268
5269 * gdb.rust/simple.rs: Rename second variable "v".
5270
c67f2e15
AB
52712018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
5272
5273 * gdb.base/funcargs.c (use_a): New function.
5274 (recurse): Call use_a.
5275
078a0207
KS
52762018-08-29 Keith Seitz <keiths@redhat.com>
5277
5278 * gdb.compile/compile-cplus-anonymous.cc: New file.
5279 * gdb.compile/compile-cplus-anonymous.exp: New file.
5280 * gdb.compile/compile-cplus-array-decay.cc: New file.
5281 * gdb.compile/compile-cplus-array-decay.exp: New file.
5282 * gdb.compile/compile-cplus-inherit.cc: New file.
5283 * gdb.compile/compile-cplus-inherit.exp: New file.
5284 * gdb.compile/compile-cplus-member.cc: New file.
5285 * gdb.compile/compile-cplus-member.exp: New file.
5286 * gdb.compile/compile-cplus-method.cc: New file.
5287 * gdb.compile/compile-cplus-method.exp: New file.
5288 * gdb.compile/compile-cplus-mod.c: "New" file.
5289 * gdb.compile/compile-cplus-namespace.cc: New file.
5290 * gdb.compile/compile-cplus-namespace.exp: New file.
5291 * gdb.compile/compile-cplus-nested.cc: New file.
5292 * gdb.compile/compile-cplus-nested.exp: New file.
5293 * gdb.compile/compile-cplus-print.c: "New" file.
5294 * gdb.compile/compile-cplus-print.exp: "New" file.
5295 * gdb.compile/compile-cplus-virtual.cc: New file.
5296 * gdb.compile/compile-cplus-virtual.exp: New file.
5297 * gdb.compile/compile-cplus.c: "New" file.
5298 * gdb.compile/compile-cplus.exp: "New" file.
5299 * lib/compile-support.exp: New file.
5300
b0f492b9
GB
53012018-08-16 Gary Benson <gbenson@redhat.com>
5302
5303 PR gdb/13000:
5304 * gdb.base/batch-exit-status.exp: New file.
5305 * gdb.base/batch-exit-status.good-commands: Likewise.
5306 * gdb.base/batch-exit-status.bad-commands: Likewise.
5307
36eb4c5f
AH
53082018-08-29 Alan Hayward <alan.hayward@arm.com>
5309
5310 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
5311 (struct struct02): Likewise.
5312 (struct struct03): Likewise.
5313 (struct struct04): Likewise.
5314 (struct struct_01_01): New struct.
5315 (struct struct_01_02): Likewise.
5316 (struct struct_01_03): Likewise.
5317 (struct struct_01_04): Likewise.
5318 (struct struct_02_01): Likewise.
5319 (struct struct_02_02): Likewise.
5320 (struct struct_02_03): Likewise.
5321 (struct struct_02_04): Likewise.
5322 (struct struct_04_01): Likewise.
5323 (struct struct_04_02): Likewise.
5324 (struct struct_04_03): Likewise.
5325 (struct struct_04_04): Likewise.
5326 (struct struct_05_01): Likewise.
5327 (struct struct_05_02): Likewise.
5328 (struct struct_05_03): Likewise.
5329 (struct struct_05_04): Likewise.
5330 (cmp_struct01): Remove function.
5331 (cmp_struct02): Likewise.
5332 (cmp_struct03): Likewise.
5333 (cmp_struct04): Likewise.
5334 (cmp_struct_01_01): Add Function.
5335 (cmp_struct_01_02): Likewise.
5336 (cmp_struct_01_03): Likewise.
5337 (cmp_struct_01_04): Likewise.
5338 (cmp_struct_02_01): Likewise.
5339 (cmp_struct_02_02): Likewise.
5340 (cmp_struct_02_03): Likewise.
5341 (cmp_struct_02_04): Likewise.
5342 (cmp_struct_04_01): Likewise.
5343 (cmp_struct_04_02): Likewise.
5344 (cmp_struct_04_03): Likewise.
5345 (cmp_struct_04_04): Likewise.
5346 (cmp_struct_05_01): Likewise.
5347 (cmp_struct_05_02): Likewise.
5348 (cmp_struct_05_03): Likewise.
5349 (cmp_struct_05_04): Likewise.
5350 (call_all): Add new structs.
5351 * gdb.base/infcall-nested-structs.exp: Likewise.
5352
3bf9c013
JV
53532018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
5354
5355 * gdb.python/py-framefilter-mi.exp: Update regexp to
5356 check for "arch" field in frame output.
5357
450d1e88
KB
53582018-08-23 Kevin Buettner <kevinb@redhat.com>
5359
5360 * gdb.dwarf2/dw2-ranges-func.c: New file.
5361 * gdb.dwarf2/dw2-ranges-func.exp: New file.
5362
ae739fe7
SM
53632018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
5364
5365 * gdb.base/term.exp: Compare terminal settings with values from
5366 the inferior.
5367 * gdb.base/term.c: Get and set terminal settings.
5368
6d52907e
JV
53692018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
5370
5371 * lib/mi-support.exp (mi_expect_stop): Update regexp to
5372 accommodate new "arch" field in frame output.
5373 * gdb.mi/mi-return.exp: Likewise.
5374 * gdb.mi/mi-stack.exp: Likewise.
5375 * gdb.mi/mi-syn-frame.exp: Likewise.
5376 * gdb.mi/user-selected-context-sync.exp: Likewise.
5377
be2d111a
MS
53782018-08-19 Michael Spang <spang@google.com>
5379
5380 PR gdb/11786
5381 * gdb.base/gcore-tls-pie.c: New file.
5382 * gdb.base/gcore-tls-pie.exp: New file.
5383
ae3a7c47
KB
53842018-08-18 Kevin Buettner <kevinb@redhat.com>
5385
5386 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
5387 * gdb.dwarf2/varval.c: New file.
5388 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 5389
2ecae92e
AH
53902018-08-17 Alan Hayward <alan.hayward@arm.com>
5391
5392 PR gdb/18931
5393 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
5394
c1854f1d
KS
53952018-08-16 Keith Seitz <keiths@redhat.com>
5396
5397 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
5398 tests expected to pass.
5399
26fb3983
JV
54002018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
5401
5402 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
5403 -data-disassemble -a.
5404 (test_disassembly_bogus_args): Likewise.
5405
67943c00
AB
54062018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
5407
5408 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
5409
5ff2bbae
AB
54102018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5411
5412 * gdb.base/vla-optimized-out.exp: Add new test.
5413
e5bbcd0f
AB
54142018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5415
5416 * gdb.base/vla-optimized-out-o3.exp: Delete.
5417 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
5418 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
5419 deleted tests.
5420
9d4a934c
AB
54212018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
5422
5423 PR gdb/18050:
5424 * gdb.server/extended-remote-restart.c: New file.
5425 * gdb.server/extended-remote-restart.exp: New file.
5426
045cf012
SM
54272018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
5428
5429 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
5430 "set variable index = 42".
5431
87d6a7aa
SM
54322018-08-07 Simon Marchi <simon.marchi@ericsson.com>
5433
5434 * boards/index-cache-gdb.exp: New file.
5435 * gdb.dwarf2/index-cache.exp: New file.
5436 * gdb.dwarf2/index-cache.c: New file.
5437 * gdb.base/maint.exp: Check if we are using the index cache.
5438
96d68bd4
RO
54392018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5440
5441 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
5442 MAKEFLAGS.
5443
5a699617
RO
54442018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5445
5446 * dg-extract-results.sh: Move to toplevel contrib.
5447 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
5448 * Makefile.in (check-parallel-racy): Likewise.
5449
5bd18990
AB
54502018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
5451
5452 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
5453 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
5454 tests if the target supports scheduler locking.
5455
3fbbcf47
TV
54562018-08-04 Tom de Vries <tdevries@suse.de>
5457
5458 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
5459
3e1d3d8c
TT
54602018-08-02 Tom Tromey <tom@tromey.com>
5461
5462 PR symtab/16842.
5463 * gdb.cp/temargs.exp: Test "info address" of a template
5464 parameter.
5465
5abe0f0c
JV
54662018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
5467
5468 * gdb.python/py-mi-var-info-path-expression.c: New file.
5469 * gdb.python/py-mi-var-info-path-expression.py: New file.
5470 * gdb.python/py-mi-var-info-path-expression.exp: New file.
5471
fb66cde8
SDJ
54722018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
5473
5474 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
5475 error after "cannot resolve name" string.
5476
c708f4d2
AB
54772018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
5478
5479 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
5480 started.
5481 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
5482
37cc0cae
TV
54832018-07-28 Tom de Vries <tdevries@suse.de>
5484
5485 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
5486
63b4ecf7
TV
54872018-07-26 Tom de Vries <tdevries@suse.de>
5488
5489 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
5490
3c3bb058
AB
54912018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
5492
5493 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
5494 is visible.
5495
9e7f3bbb
TV
54962018-07-26 Tom de Vries <tdevries@suse.de>
5497
5498 PR breakpoints/23366
5499 * gdb.base/catch-follow-exec.c: New test.
5500 * gdb.base/catch-follow-exec.exp: New file.
5501
16f808ec
TV
55022018-07-25 Tom de Vries <tdevries@suse.de>
5503
5504 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
5505 vla-optimized-out.c.
5506
d7154a8d
JV
55072018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
5508
5509 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
5510 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
5511
232a0032
TV
55122018-07-20 Tom de Vries <tdevries@suse.de>
5513
5514 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
5515 NOCLONE macro.
5516 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
5517
fbb1d502
TV
55182018-07-19 Tom de Vries <tdevries@suse.de>
5519
5520 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
5521 regular expression.
5522
42dc7699
TV
55232018-07-18 Tom de Vries <tdevries@suse.de>
5524
5525 * gdb.base/vla-optimized-out.c: New test.
5526 * gdb.base/vla-optimized-out.exp: New file.
5527
7f1f7e23
SDJ
55282018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
5529
5530 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
5531 message "No address associated with hostname" when gdbserver
5532 cannot resolve the hostname.
5533
5759ebb3
PW
55342018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5535
5536 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
5537 Add some test prefixes to make tests unique.
5538
3606ccab
PW
55392018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5540
5541 * gdb.base/frameapply.c: New file.
5542 * gdb.base/frameapply.exp: New file.
5543
529c08b2
PW
55442018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5545
5546 * gdb.base/skip.exp: Update expected error message.
5547
c7ab0aef
SDJ
55482018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
5549 Jan Kratochvil <jan.kratochvil@redhat.com>
5550 Paul Fertser <fercerpav@gmail.com>
5551 Tsutomu Seki <sekiriki@gmail.com>
5552
5553 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
5554 parameter.
5555 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
5556 by default.
5557 * boards/native-gdbserver.exp: Likewise.
5558 * gdb.server/run-without-local-binary.exp: Improve regexp used
5559 for detecting when a remote debugging connection succeeds.
5560 * gdb.server/server-connect.exp: New file.
5561 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
5562 Do not prefix the port number with ":".
5563 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
5564 support for detecting and using it. Add '$debughost_gdbserver'
5565 to the list of arguments used to start gdbserver. Handle case
5566 when gdbserver cannot resolve a network name.
5567
16ff70dd
SDJ
55682018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
5569
5570 PR c++/23373
5571 * gdb.base/ptype-offsets.cc (struct static_member): New
5572 struct.
5573 (main) <stmember>: New variable.
5574 * gdb.base/ptype-offsets.exp: Add test for printing a struct
5575 with a static member in it.
5576
3541979f
AB
55772018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
5578
5579 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
5580 watchpoints enabled and disabled.
5581
c8ad9b9a
AB
55822018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5583
5584 * gdb.base/examine-backward.exp: Still run tests around address
5585 0x0, even if address 0x0 is not readable. Update the pattern for
5586 matching address 0x0 in expected output.
5587
e0e5e971
AB
55882018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
5589
5590 * gdb.base/share-env-with-gdbserver.c (main): Add call to
5591 malloc/free.
5592
1ea5da02
TV
55932018-07-04 Tom de Vries <tdevries@suse.de>
5594
5595 * gdb.dwarf2/dw2-error.exp: Update expected error message.
5596
471b9d15
MR
55972018-07-02 Maciej W. Rozycki <macro@mips.com>
5598
5599 PR tdep/8282
5600 * gdb.arch/mips-disassembler-options.exp: New test.
5601 * gdb.arch/mips-disassembler-options.s: New test source.
5602
75acb486
PA
56032018-06-29 Pedro Alves <palves@redhat.com>
5604
5605 * gdb.threads/names.exp: Adjust expected "info threads" output.
5606
cd2bb709
PA
56072018-06-29 Pedro Alves <palves@redhat.com>
5608
5609 * gdb.opt/inline-break.exp (line number, address): Add "info
5610 break" tests.
5611
991ff292
PA
56122018-06-29 Pedro Alves <palves@redhat.com>
5613
5614 * gdb.opt/inline-break.c (func1): Add "break here" marker.
5615 * gdb.opt/inline-break.exp: Test setting breakpoints by line
5616 number and address and running to them.
5617
356819b6 56182018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
5619
5620 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
5621
2512d7ef
JK
56222018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5623
5624 * lib/compiler.c: Remove executable permission flag.
5625
be1b6474
RB
56262018-06-28 Richard Bunt <richard.bunt@arm.com>
5627
5628 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
5629 code.
5630 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
5631
291f9a96
PT
56322018-06-28 Petr Tesarik <ptesarik@suse.cz>
5633
5634 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
5635
ed6dfe51
PT
56362018-06-28 Petr Tesarik <ptesarik@suse.cz>
5637
5638 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
5639 address argument is omitted.
5640
d4d429d5
PT
56412018-06-28 Petr Tesarik <ptesarik@suse.cz>
5642
5643 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
5644
7ab6656f
OJ
56452018-06-27 Omair Javaid <omair.javaid@linaro.org>
5646
5647 PR gdb/21695
5648 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
5649 * gdb.base/infoline-reloc-main-from-zero.c: New file.
5650
a33ccfc7
TT
56512018-06-26 Tom Tromey <tom@tromey.com>
5652
5653 PR rust/22574:
5654 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
5655 * gdb.rust/simple.rs (struct SimpleLayout): New.
5656
6d72d289
SM
56572018-06-22 Simon Marchi <simon.marchi@ericsson.com>
5658
5659 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
5660 "info registers" output.
5661
8363f9d5
RB
56622018-06-21 Richard Bunt <richard.bunt@arm.com>
5663
5664 * gdb.base/watchpoint-hw-attach.c: New test.
5665 * gdb.base/watchpoint-hw-attach.exp: New file.
5666
f00674fe
SM
56672018-06-20 Simon Marchi <simon.marchi@ericsson.com>
5668
5669 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
5670 through /bin/sh.
5671 * boards/dwarf4-gdb-index.exp: Likewise.
5672 * boards/fission-dwp.exp: Likewise.
5673
1d554008
UW
56742018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
5675
5676 * gdb.base/float128.exp: Add comment and improved fail message
5677 to the failure case of "print large128" test.
5678
d0ac1c44
SM
56792018-06-19 Simon Marchi <simon.marchi@ericsson.com>
5680
5681 * configure.ac: Remove AC_PREREQ.
5682 * configure: Re-generate.
5683
61b04dd0
PA
56842018-06-19 Pedro Alves <palves@redhat.com>
5685
5686 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
5687 (func_extern_caller): New.
5688 (main): Call func_extern_caller.
5689 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
5690 logic change.
5691
f63b508a
SM
56922018-06-18 Weimin Pan <weimin.pan@oracle.com>
5693
5694 PR gdb/16841
5695 * gdb.cp/typedef-base.cc: New file.
5696 * gdb.cp/typedef-base.exp: New file.
5697
0fe3a558
TV
56982018-06-18 Tom de Vries <tdevries@suse.de>
5699
5700 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
5701
7010835a
AB
57022018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5703 Richard Bunt <Richard.Bunt@arm.com>
5704
5705 * gdb.threads/attach-slow-waitpid.c: New file.
5706 * gdb.threads/attach-slow-waitpid.exp: New file.
5707 * gdb.threads/slow-waitpid.c: New file.
5708
14897d65
PA
57092018-06-14 Pedro Alves <palves@redhat.com>
5710
5711 * gdb.base/fork-running-state.c: Include <errno.h>.
5712 (exit_if_relative_exits): New.
5713 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
5714 exits.
5715 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
5716 child exits.
5717
5d9a0608
TV
57182018-06-14 Tom de Vries <tdevries@suse.de>
5719
5720 PR cli/22573
5721 * gdb.base/finish-pretty.c: New test.
5722 * gdb.base/finish-pretty.exp: New file.
5723
11ae5818
PA
57242018-06-14 Pedro Alves <palves@redhat.com>
5725
5726 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
5727 gdb's expected startup output.
5728
1d39de44
PA
57292018-06-14 Pedro Alves <palves@redhat.com>
5730
5731 * lib/selftest-support.exp (selftest_setup): Remove inlined
5732 function handling.
5733
70ee0000
TV
57342018-06-14 Tom de Vries <tdevries@suse.de>
5735
5736 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
5737 matching of breakpoint printing.
5738
11f4b608
TV
57392018-06-13 Tom de Vries <tdevries@suse.de>
5740
5741 PR testsuite/23269
5742 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
5743 (fork_child): ... here, and ...
5744 (fork_parent): ... here.
5745
57462018-06-12 Tom de Vries <tdevries@suse.de>
5747
5748 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
5749
9516f85a
AB
57502018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
5751 Stephen Roberts <stephen.roberts@arm.com>
5752
5753 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
5754 rewrite test to describe action performed, rather than possible
5755 failure.
5756
5045b3d7
GB
57572018-06-08 Gary Benson <gbenson@redhat.com>
5758
5759 * gdb.threads/check-libthread-db.exp: New file.
5760 * gdb.threads/check-libthread-db.c: Likewise.
5761
c61b06a1
TT
57622018-06-05 Tom Tromey <tom@tromey.com>
5763
5764 * gdb.base/default.exp: Update expected "show version" output.
5765
eb6af809
TT
57662018-06-05 Tom Tromey <tom@tromey.com>
5767
5768 PR cli/12326:
5769 * gdb.cp/static-print-quit.exp: Update.
5770 * lib/gdb.exp (pagination_prompt): Update.
5771 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
5772 * gdb.python/python.exp: Update.
5773
178d6a63
JB
57742018-06-04 Joel Brobecker <brobecker@adacore.com>
5775
5776 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
5777
8e817061
JB
57782018-06-01 Joel Brobecker <brobecker@adacore.com>
5779
5780 * gdb.ada/bp_fun_addr: New testcase.
5781
e86ca25f
TT
57822018-06-01 Tom Tromey <tom@tromey.com>
5783
5784 * gdb.xml/tdesc-regs.exp (load_description): Update expected
5785 results.
5786 * gdb.dwarf2/method-ptr.exp: Set language to C++.
5787 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
5788 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
5789 * gdb.base/maint.exp (maint_pass_if): Update.
5790
4b2dfa9d
MR
57912018-05-31 Maciej W. Rozycki <macro@mips.com>
5792
5793 * gdb.base/endian.exp: New test.
5794 * gdb.base/endian.c: New test source.
5795
45f25d6c
AB
57962018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
5797
5798 PR gdb/23203
5799 * gdb.base/bt-selected-frame.c: New file.
5800 * gdb.base/bt-selected-frame.exp: New file.
5801 * lib/gdb.exp (get_current_frame_number): New function.
5802
d9f6d7f8
MR
58032018-05-24 Maciej W. Rozycki <macro@mips.com>
5804 Pedro Alves <palves@redhat.com>
5805
5806 * gdb.threads/tls-core.c: Include <stdlib.h>
5807 (thread_proc): Call `abort'.
5808 * gdb.threads/tls-core.exp: Generate a core with core_find too.
5809 (tls_core_test): New procedure, bits factored out from ...
5810 (top level): ... here. Test both native cores and gcore cores.
5811
ff1cf532
TT
58122018-05-23 Tom Tromey <tom@tromey.com>
5813
5814 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
5815
b98664d3
TT
58162018-05-23 Tom Tromey <tom@tromey.com>
5817
5818 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
5819 symfile_complaints.
5820 (test_short_complaints): Likewise.
5821 (test_empty_complaints): Likewise.
5822 (test_initial_complaints): Update.
5823
4e9668d0
TT
58242018-05-23 Tom Tromey <tom@tromey.com>
5825
5826 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
5827
43ba33c7
TT
58282018-05-23 Tom Tromey <tom@tromey.com>
5829
5830 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
5831 (test_short_complaints): Update.
5832
035522c0
PA
58332018-05-22 Pedro Alves <palves@redhat.com>
5834
5835 * gdb.base/remote.exp: Only gdb_start after compiling the
5836 testcase. Issue "disconnect" before testing "set remote" command
5837 defaults. Issue clean_restart before running to main.
5838
cc0be08f
PA
58392018-05-22 Pedro Alves <palves@redhat.com>
5840
5841 * gdb.base/remote.exp: Adjust expected output of "show remote
5842 memory-write-packet-size". Add tests for "set remote
5843 memory-write-packet-size 0" and "set remote
5844 memory-write-packet-size fixed/limit".
5845
b1b60145
PA
58462018-05-22 Pedro Alves <palves@redhat.com>
5847
5848 PR gdb/22973
5849 * gdb.base/utf8-identifiers.c: New file.
5850 * gdb.base/utf8-identifiers.exp: New file.
5851
0ec848ad
PFC
58522018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5853
5854 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5855
2c3305f6
PFC
58562018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5857
5858 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5859
ce1e8424
TT
58602018-05-18 Tom Tromey <tom@tromey.com>
5861
5862 * gdb.base/ptype-offsets.exp: Update.
5863
ddfe970e
KS
58642018-05-17 Keith Seitz <keiths@redhat.com>
5865
5866 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5867 in expected breakpoint stop locations.
5868 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5869 move to proper scope to test variable values.
5870 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5871 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5872 New functions.
5873 (main): Call not_inline_func3.
5874 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5875 inline_func1, inline_func2, and inline_func3. Test that when each
5876 breakpoint is hit, GDB properly reports both the stop location
5877 and the backtrace. Repeat tests for temporary breakpoints.
5878
0726fcc6
MR
58792018-05-15 Maciej W. Rozycki <macro@mips.com>
5880
5881 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5882 rather then trying to access it in determining whether the PID
5883 of `gdbserver' could have been retrieved.
5884
8ee22052
AB
58852018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5886
5887 * gdb.arch/amd64-init-x87-values.S: New file.
5888 * gdb.arch/amd64-init-x87-values.exp: New file.
5889
7785df48
JK
58902018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5891
5892 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5893
56bcdbea
TT
58942018-05-04 Tom Tromey <tom@tromey.com>
5895
5896 PR python/22730:
5897 * gdb.python/python.exp: Test multi-line execute.
5898
a913fffb
TT
58992018-05-04 Tom Tromey <tom@tromey.com>
5900
5901 PR python/22731:
5902 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5903
7a2c85f2
TT
59042018-05-04 Tom Tromey <tom@tromey.com>
5905
5906 PR gdb/11750:
5907 * gdb.base/define.exp: Test defining a user command inside a user
5908 command.
5909 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5910
a3b60e45
JK
59112018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5912 Pedro Alves <palves@redhat.com>
5913
5914 PR breakpoints/19806 and support for PR external/20207.
5915 * gdb.base/watchpoint-unaligned.c: New file.
5916 * gdb.base/watchpoint-unaligned.exp: New file.
5917
45fe4a03
AB
59182018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5919
5920 * gdb.base/maint.exp: Make test names unique, use
5921 test_prefix_command_help to test 'help maint info', and remove
5922 repeated test of 'help maint'.
5923
9be2ae8f
TT
59242018-05-04 Tom Tromey <tom@tromey.com>
5925
5926 PR gdb/22619:
5927 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5928 behavior.
5929
11859c31
AB
59302018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5931
5932 * gdb.base/maint.exp: Process output from 'maint print registers'
5933 line at a time.
5934
089a9490
AB
59352018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5936
5937 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5938 timeout.
5939
9b0797e2
AB
59402018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5941
5942 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5943 filter pattern.
5944
f6ac5f3d
PA
59452018-05-02 Pedro Alves <palves@redhat.com>
5946
5947 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5948 to_log_command renames.
5949 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5950
77d3c63b
TT
59512018-05-02 Tom Tromey <tom@tromey.com>
5952
5953 * gdb.python/py-parameter.exp: Set test message.
5954
0489430a
TT
59552018-05-02 Tom Tromey <tom@tromey.com>
5956
5957 PR python/20084:
5958 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5959 PARAM_ZUINTEGER_UNLIMITED tests.
5960
1632f8ba
DR
59612018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5962
5963 PR rust/23124
5964 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5965 when casting.
5966
6d7bb824
TT
59672018-04-30 Tom Tromey <tom@tromey.com>
5968
5969 * gdb.python/py-type.exp: Check align attribute.
5970 * gdb.python/py-type.c: New "aligncheck" global.
5971
007e1530
TT
59722018-04-30 Tom Tromey <tom@tromey.com>
5973
5974 PR exp/17095:
5975 * gdb.dwarf2/dw2-align.exp: New file.
5976 * gdb.cp/align.exp: New file.
5977 * gdb.base/align.exp: New file.
5978 * lib/gdb.exp (gdb_int128_helper): New proc.
5979 (has_int128_c, has_int128_cxx): New caching procs.
5980
6873858b
TT
59812018-04-27 Tom Tromey <tom@tromey.com>
5982
5983 PR rust/22545:
5984 * gdb.rust/simple.exp: Add inclusive range tests.
5985
79188d8d
PA
59862018-04-26 Pedro Alves <palves@redhat.com>
5987
5988 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5989 ifunc breakpoint locations correctly of ifunc breakpoints set
5990 while the program resolves the ifunc.
5991
c7075ad5
PA
59922018-04-26 Pedro Alves <palves@redhat.com>
5993
5994 * gdb.base/gnu-ifunc-final.c: New file.
5995 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5996 * gdb.base/gnu-ifunc.exp (executable): Delete.
5997 (staticexecutable): Adjust.
5998 (lib_opts, exec_opts): Delete.
5999 (make_binsuffix, build, set-break): New procedures.
6000 (misc_tests): New, with tests factored out from the top level.
6001 (top level): Test different combinations of ifunc resolver name,
6002 resolver with and with debug info, and ifunc target with and
6003 without debug info. Wrap static tests with with_target_prefix.
6004
8388016d
PA
60052018-04-26 Pedro Alves <palves@redhat.com>
6006
6007 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
6008 return type" warnings.
6009
249b5733
PA
60102018-04-25 Pedro Alves <palves@redhat.com>
6011
6012 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
6013 killed".
6014 * gdb.base/kill-after-signal.exp: Likewise.
6015 * gdb.threads/kill.exp: Likewise.
6016
f67c0c91
SDJ
60172018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6018 Sergio Durigan Junior <sergiodj@redhat.com>
6019 Pedro Alves <palves@redhat.com>
6020
6021 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
6022 regexps to expect for '[Inferior ... detached]' as well.
6023 * gdb.base/attach.exp: Likewise.
6024 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
6025 "gdb_continue_to_end".
6026 (test_catch_syscall_with_wrong_args): Likewise.
6027 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
6028 ']'. Don't set 'verbose' on.
6029 * gdb.base/foll-vfork.exp: Likewise.
6030 * gdb.base/fork-print-inferior-events.c: New file.
6031 * gdb.base/fork-print-inferior-events.exp: New file.
6032 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
6033 '[Inferior ... has been killed]' message.
6034 * gdb.base/kill-after-signal.exp: Likewise.
6035 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
6036 detach message.
6037 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
6038 message.
6039 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
6040 regexps to expect for '[Inferior ... detached]' as well.
6041 * gdb.threads/process-dies-while-detaching.exp: Likewise.
6042
0a8ddac4
SM
60432018-04-24 Simon Marchi <simon.marchi@ericsson.com>
6044
6045 PR gdb/23104
6046 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
6047
701adfb0
PA
60482018-04-22 Rajendra SY <rajendra.sy@gmail.com>
6049
6050 PR gdb/23095
6051 * gdb.base/break-probes.exp: Pass shlib_load to
6052 prepare_for_testing. Set normal_bp to r_debug_state if target is
6053 bsd.
6054
d27d16bf
RB
60552018-04-19 Richard Bunt <richard.bunt@arm.com>
6056
6057 * gdb.threads/multiple-successive-infcall.c: New test.
6058 * gdb.threads/multiple-successive-infcall.exp: New file.
6059
a037790e
TT
60602018-04-17 Tom Tromey <tom@tromey.com>
6061
6062 * gdb.rust/simple.rs (Union): New type.
6063 (main): New local "u".
6064 * gdb.rust/simple.exp (test_one_slice): Add new test case.
6065
e3a91079
AA
60662018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6067
6068 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
6069 number information in output of "whereis" command.
6070 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
6071
b744723f
AA
60722018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6073
6074 * gdb.ada/info_types.exp: Adjust expected output to the line
6075 numbers now printed by "info var/func/type".
6076 * gdb.base/completion.exp: Likewise.
6077 * gdb.base/included.exp: Likewise.
6078 * gdb.cp/cp-relocate.exp: Likewise.
6079 * gdb.cp/cplusfuncs.exp: Likewise.
6080 * gdb.cp/namespace.exp: Likewise.
6081 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
6082
4a4495d6
MM
60832018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6084
6085 * gdb.btrace/cpu.exp: New.
6086
1d509aa6
MM
60872018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6088
6089 * gdb.base/step-indirect-call-thunk.exp: New.
6090 * gdb.base/step-indirect-call-thunk.c: New.
6091 * gdb.reverse/step-indirect-call-thunk.exp: New.
6092 * gdb.reverse/step-indirect-call-thunk.c: New.
6093
6295b6da
SM
60942018-04-11 Simon Marchi <simon.marchi@ericsson.com>
6095
6096 * gdb.base/pie-fork.c: New file.
6097 * gdb.base/pie-fork.exp: New file.
6098
50146e70
TT
60992018-04-11 Tom Tromey <tom@tromey.com>
6100
6101 * gdb.rust/simple.exp: Add test for ".." struct initializer.
6102
f50d8a2e
PA
61032018-04-10 Pedro Alves <palves@redhat.com>
6104
6105 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
6106 exits. Instead loop running forever.
6107 (fork_parent): Run forever too.
6108
a0be7a36
SM
61092018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6110
6111 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
6112 mi_continue_to_line.
6113 * gdb.mi/mi-stack.c (callee4): Add comment.
6114
9b73db36
SM
61152018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6116
6117 * gdb.mi/mi-stack.exp: Fix indentation.
6118
c912f608
SM
61192018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6120
6121 PR gdb/22979
6122 * gdb.arch/amd64-osabi.exp: New file.
6123
26540402
SM
61242018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6125
6126 PR gdb/22980
6127 * gdb.base/osabi.exp: New file.
6128
121ad66c 61292018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
6130
6131 * gdb.cp/static-typedef-print.exp: New file.
6132 * gdb.cp/static-typedef-print.cc: New file.
6133
3fcded8f
JB
61342018-03-27 Joel Brobecker <brobecker@adacore.com>
6135
6136 * gdb.ada/varsize_limit: New testcase.
6137
59cc4834
JB
61382018-03-27 Joel Brobecker <brobecker@adacore.com>
6139
6140 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
6141
6142 * gdb.ada/notcplusplus: New testcase.
6143
6144 * gdb.base/c-linkage-name.c: New file.
6145 * gdb.base/c-linkage-name.exp: New testcase.
6146
4ca59a9f
TT
61472018-03-26 Tom Tromey <tom@tromey.com>
6148
6149 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
6150 * gdb.python/py-framefilter.py (name_error): New global.
6151 (ErrorInName.function): Use name_error.
6152
978d6c75
TT
61532018-03-26 Tom Tromey <tom@tromey.com>
6154
6155 PR backtrace/15582:
6156 * gdb.python/py-framefilter.exp: Add "bt hide" test.
6157
b7fee5a3
KS
61582018-03-23 Keith Seitz <keiths@redhat.com>
6159
6160 PR c++/22968
6161 * gdb.cp/subtypes.exp: New file.
6162 * gdb.cp/subtypes.h: New file.
6163 * gdb.cp/subtypes.cc: New file.
6164 * gdb.cp/subtypes-2.cc: New file.
6165
376be529
AB
61662018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6167
6168 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
6169 (done): Call '_exit' not 'exit' to avoid atexit handlers.
6170 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
6171 -nostartfiles when compiling the test. Confirm that all registers
6172 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
6173
066cfa98
AB
61742018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6175
6176 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
6177 option, syntax was wrong anyway.
6178 * gdb.arch/arm-disp-step.exp: Likewise.
6179 * gdb.arch/sparc64-regs.exp: Likewise.
6180 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
6181 option, syntax was wrong anyway, switch to use
6182 prepare_for_testing.
6183 * gdb.arch/i386-disp-step.exp: Likewise.
6184
079670b9
AA
61852018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
6186
6187 * gdb.ada/exec_changed.exp: Replace "target_info exists
6188 use_gdb_stub" by "use_gdb_stub".
6189 * gdb.ada/start.exp: Likewise.
6190 * gdb.base/async-shell.exp: Likewise.
6191 * gdb.base/attach-pie-misread.exp: Likewise.
6192 * gdb.base/attach-wait-input.exp: Likewise.
6193 * gdb.base/break-entry.exp: Likewise.
6194 * gdb.base/break-interp.exp: Likewise.
6195 * gdb.base/dprintf-detach.exp: Likewise.
6196 * gdb.base/nostdlib.exp: Likewise.
6197 * gdb.base/solib-nodir.exp: Likewise.
6198 * gdb.base/statistics.exp: Likewise.
6199 * gdb.base/testenv.exp: Likewise.
6200 * gdb.mi/mi-exec-run.exp: Likewise.
6201 * gdb.mi/mi-start.exp: Likewise.
6202 * gdb.multi/dummy-frame-restore.exp: Likewise.
6203 * gdb.multi/multi-arch-exec.exp: Likewise.
6204 * gdb.multi/multi-arch.exp: Likewise.
6205 * gdb.multi/tids.exp: Likewise.
6206 * gdb.multi/watchpoint-multi.exp: Likewise.
6207 * gdb.python/py-events.exp: Likewise.
6208 * gdb.threads/attach-into-signal.exp: Likewise.
6209 * gdb.threads/attach-stopped.exp: Likewise.
6210 * gdb.threads/threadapply.exp: Likewise.
6211 * lib/selftest-support.exp: Likewise.
6212
26d6cec4
AA
62132018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
6214
6215 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
6216
4ee89e90
SR
62172018-03-20 Stephen Roberts <stephen.roberts@arm.com>
6218
6219 * gdb.perf/template-breakpoints.cc: New file.
6220 * gdb.perf/template-breakpoints.exp: New file.
6221 * gdb.perf/template-breakpoints.py: New file.
6222
92630041
TT
62232018-03-19 Tom Tromey <tom@tromey.com>
6224
6225 * gdb.rust/simple.rs (main): Add local variables field1, field2,
6226 y0.
6227 * gdb.rust/simple.exp: Test bare identifier form of struct
6228 initializer.
6229
76727919
TT
62302018-03-19 Tom Tromey <tom@tromey.com>
6231
6232 * gdb.gdb/observer.exp: Remove.
6233
194ed413
AA
62342018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6235
6236 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
6237 "qualified" option when setting breakpoints.
6238 * gdb.trace/backtrace.exp: Likewise.
6239 * gdb.trace/circ.exp: Likewise.
6240 * gdb.trace/collection.exp: Likewise.
6241 * gdb.trace/disconnected-tracing.exp: Likewise.
6242 * gdb.trace/ftrace-lock.exp: Likewise.
6243 * gdb.trace/ftrace.exp: Likewise.
6244 * gdb.trace/infotrace.exp: Likewise.
6245 * gdb.trace/packetlen.exp: Likewise.
6246 * gdb.trace/passc-dyn.exp: Likewise.
6247 * gdb.trace/qtro.exp: Likewise.
6248 * gdb.trace/read-memory.exp: Likewise.
6249 * gdb.trace/report.exp: Likewise.
6250 * gdb.trace/signal.exp: Likewise.
6251 * gdb.trace/status-stop.exp: Likewise.
6252 * gdb.trace/strace.exp: Likewise.
6253 * gdb.trace/tfind.exp: Likewise.
6254 * gdb.trace/trace-break.exp: Likewise.
6255 * gdb.trace/trace-condition.exp: Likewise.
6256 * gdb.trace/trace-mt.exp: Likewise.
6257 * gdb.trace/tstatus.exp: Likewise.
6258 * gdb.trace/tsv.exp: Likewise.
6259 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6260 * gdb.trace/unavailable.exp: Likewise.
6261 * gdb.trace/while-dyn.exp: Likewise.
6262
8b067d2c
AA
62632018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6264
6265 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
6266 that libinproctrace is copied to the target.
6267
3ae9ce5d
TT
62682018-03-14 Tom Tromey <tom@tromey.com>
6269
6270 PR cli/14977:
6271 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
6272 a null pointer.
6273 * gdb.base/wchar.exp: Likewise.
6274
b8c2339b
TT
62752018-03-14 Tom Tromey <tom@tromey.com>
6276
6277 PR cli/19918:
6278 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
6279 flag.
6280
4872dc46
SM
62812018-03-08 Simon Marchi <simon.marchi@ericsson.com>
6282
6283 PR gdb/22841
6284 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
6285 "target" to remote_exec.
6286
e4fe3756
SM
62872018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
6288
6289 PR gdb/22841
6290 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
6291 ${board}_upload): Remove.
6292
e95a97d4
AA
62932018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
6294
6295 * gdb.cp/watch-cp.cc: New test.
6296 * gdb.cp/watch-cp.exp: New file.
6297
dbbb1059
AB
62982018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6299
6300 * gdb.base/infcall-nested-structs.exp: New file.
6301 * gdb.base/infcall-nested-structs.c: New file.
6302 * gdb.base/float.exp: Add riscv support.
6303
ecc054c0
TP
63042018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
6305
6306 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
6307 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
6308
25e3c82c
SDJ
63092018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
6310
6311 * gdb.server/abspath.exp: New file.
6312 * lib/gdb.exp (with_cwd): New procedure.
6313
3083294d
SM
63142018-02-28 Simon Marchi <simon.marchi@ericsson.com>
6315
6316 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
6317 use it.
6318 (gdb_is_target_remote_prompt): New proc.
6319 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
6320 (gdb_is_target_native): Pass prompt parameter to
6321 gdb_is_target_1.
6322
3275ef47
SM
63232018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
6324
6325 * gdb.base/load-command.c: New file.
6326 * gdb.base/load-command.exp: New file.
6327 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
6328 (gdb_is_target_1): ...this, and generalize for other targets
6329 than just remote.
6330 (gdb_is_target_remote): Use gdb_is_target_1.
6331 (gdb_is_target_native): use gdb_is_target_1.
6332
6893c19a
TT
63332018-02-26 Tom Tromey <tom@tromey.com>
6334
6335 PR python/16497:
6336 * gdb.python/py-framefilter.exp: Update test.
6337
2ddeaf8a
TT
63382018-02-26 Tom Tromey <tom@tromey.com>
6339
6340 * gdb.dwarf2/variant.c: New file.
6341 * gdb.dwarf2/variant.exp: New file.
6342
c9317f21
TT
63432018-02-26 Tom Tromey <tom@tromey.com>
6344
6345 * gdb.rust/simple.exp: Accept more possible results in enum test.
6346
6f6d0c26
SM
63472018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
6348
6349 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
6350 parentheses.
6351
11b03145
MR
63522018-02-23 Maciej W. Rozycki <macro@mips.com>
6353
6354 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
6355 name of a variable: $actual_linejj -> $actual_line.
6356
54a27fe5
JB
63572018-02-21 John Baldwin <jhb@FreeBSD.org>
6358
6359 * gdb.arch/amd64-i386-address.exp: Fix a typo.
6360
de65820c
MM
63612018-02-20 Markus Metzger <markus.t.metzger@intel.com>
6362
6363 * gdb.btrace/buffer-size.exp: Do not force BTS.
6364
980548fd
PA
63652018-02-14 Pedro Alves <palves@redhat.com>
6366
6367 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
6368 getting a "Quit".
6369
c4e12631
MM
63702018-02-09 Markus Metzger <markus.t.metzger@intel.com>
6371
6372 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
6373 Fix test name.
6374
c2e0e465
SM
63752018-02-07 Simon Marchi <simon.marchi@ericsson.com>
6376
6377 * gdb.cp/m-static.exp: Check type of optimized out static
6378 member.
6379
f7216783
AB
63802018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
6381
6382 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
6383 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
6384
0625771b
LS
63852018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
6386 Leszek Swirski <leszeks@google.com>
6387
6388 * gdb.python/py-prettyprint.c
6389 (struct to_string_returns_value_inner,
6390 struct to_string_returns_value_wrapper): New.
6391 (main): Add tsrvw variable.
6392 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
6393 ToStringReturnsValueWrapper): New classes.
6394 (register_pretty_printers): Register new pretty-printers.
6395 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
6396 recursive pretty printer.
6397 * gdb.python/py-mi.exp: Likewise.
6398
59498c30
LS
63992018-02-01 Leszek Swirski <leszeks@google.com>
6400
6401 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
6402 functions with the same name as an include file are parsed
6403 correctly.
6404
d4d38844
YQ
64052018-02-01 Yao Qi <yao.qi@linaro.org>
6406
6407 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
6408 "\[^\r\n\]*".
6409
07e5f5cf
NP
64102018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
6411
6412 * gdb.arch/powerpc-prologue-frame.s: New file.
6413 * gdb.arch/powerpc-prologue-frame.c: Likewise.
6414 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
6415
929b5ad4
JB
64162018-01-31 Joel Brobecker <brobecker@adacore.com>
6417
6418 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
6419
e671cd59
PA
64202018-01-30 Pedro Alves <palves@redhat.com>
6421
6422 PR gdb/13211
6423 * gdb.base/interrupt-daemon.c: New.
6424 * gdb.base/interrupt-daemon.exp: New.
6425 * gdb.multi/multi-term-settings.c: New.
6426 * gdb.multi/multi-term-settings.exp: New.
6427
fc413dc4
JB
64282018-01-30 Joel Brobecker <brobecker@adacore.com>
6429
6430 * gdb.base/break.exp: Save the location where the breakpoint
6431 on break.c:47 was actually inserted when debugging the version
6432 compiled at -O2 and use it in the expected output of the "info
6433 break" test performed soon after.
6434
5c319bb2
PA
64352018-01-22 Pedro Alves <palves@redhat.com>
6436 Sergio Durigan Junior <sergiodj@redhat.com>
6437
6438 * gdb.base/whatis.exp: Add tests for 'set print object on' +
6439 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
6440
a9e40818
JB
64412018-01-22 Joel Brobecker <brobecker@adacore.com>
6442
6443 * gdb.base/break-include.c, gdb.base/break-include.inc,
6444 gdb.base/break-include.exp: New files.
6445 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
6446 line number now being the actual line number where the breakpoint
6447 was inserted.
6448 * gdb.mi/mi-break.exp: Likewise.
6449 * gdb.mi/mi-reverse.exp: Likewise.
6450 * gdb.mi/mi-simplerun.exp: Ditto.
6451
e707fc44
AB
64522018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6453
6454 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
6455 varobj.
6456 * gdb.mi/mi-var-create-rtti.exp: Likewise.
6457
ae451627
AB
64582018-01-21 Don Breazeal <donb@codesourcery.com>
6459 Andrew Burgess <andrew.burgess@embecosm.com>
6460
6461 * gdb.mi/basics.c: Add new global.
6462 * gdb.mi/mi-frame-regs.exp: New file.
6463 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
6464 case.
6465
b1b189e0
AB
64662018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6467
6468 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
6469 non-parameter, and on an unknown symbol.
6470
fcfcc376
TT
64712018-01-19 Tom Tromey <tom@tromey.com>
6472
6473 * gdb.rust/modules.rs (TWENTY_THREE): New global.
6474 * gdb.rust/modules.exp: Add ::-qualified lookup test.
6475
634c1c31
AA
64762018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6477
6478 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
6479 setrlimit and chdir to int.
6480
d6ad07fd
AA
64812018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6482
6483 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
6484 function.
6485 (my_tend): Likewise.
6486 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
6487 rationale of avoiding FP- and vector instructions.
6488
adf8243b
RK
64892018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
6490
6491 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
6492 "info reg" with "\[ \t\]*".
6493 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
6494 "\[ \t\]+".
6495 * gdb.arch/s390-multiarch.exp: Ditto.
6496 * gdb.base/pc-fp.exp: Ditto.
6497 * gdb.reverse/i386-precsave.exp: Ditto.
6498 * gdb.reverse/i386-reverse.exp: Ditto.
6499 * gdb.reverse/i387-env-reverse.exp: Ditto.
6500 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6501
dcc06925
AA
65022018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6503
6504 * lib/gdb.exp (gdb_compile): Re-enable use of
6505 universal_compile_options for languages other than Rust.
6506
25d4fd80
AA
65072018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6508
6509 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
6510
ee7f689e 65112018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
6512
6513 PR gdb/16577
6514 * gdb.base/solib-vanish.exp: New.
6515 * gdb.base/solib-vanish-main.c: New.
6516 * gdb.base/solib-vanish-lib1.c: New.
6517 * gdb.base/solib-vanish-lib2.c: New.
6518
d8447b6b
YQ
65192018-01-17 Yao Qi <yao.qi@linaro.org>
6520
6521 * gdb.compile/compile.exp: Match the address printed for
6522 frame in the output of command "bt".
6523
86d6a90c
TT
65242018-01-15 Tom Tromey <tom@tromey.com>
6525
6526 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
6527 compute sp_reg.
6528
cbcdb1aa
AB
65292018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6530
6531 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
6532 to prepare.
6533 (prepare): Return 0 on error, 1 on success.
6534
eea61984
PA
65352018-01-12 Pedro Alves <palves@redhat.com>
6536
6537 * gdb.base/continue-after-aborted-step-over.c: New.
6538 * gdb.base/continue-after-aborted-step-over.exp: New.
6539
6181e9c2
SM
65402018-01-11 Simon Marchi <simon.marchi@ericsson.com>
6541
6542 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
6543 options when not creating an executable.
6544
3cada740
PA
65452018-01-11 Pedro Alves <palves@redhat.com>
6546
6547 PR remote/22597
6548 * gdb.server/stop-reply-no-thread.c: New file.
6549 * gdb.server/stop-reply-no-thread.exp: New file.
6550
c63d3e8d
PA
65512018-01-10 Pedro Alves <palves@redhat.com>
6552
6553 PR gdb/22670
6554 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
6555 functions too. Test setting breakpoints and printing C functions
6556 with no debug info too.
6557 * gdb.ada/bp_c_mixed_case/qux.c: New file.
6558
d4c2a405
PA
65592018-01-10 Pedro Alves <palves@redhat.com>
6560
6561 PR gdb/22670
6562 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
6563 a fail.
6564
8825213e
PA
65652018-01-10 Pedro Alves <palves@redhat.com>
6566
6567 PR gdb/22670
6568 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
6569
605fd3c6
YQ
65702018-01-08 Simon Marchi <simon.marchi@ericsson.com>
6571
6572 * gdb.server/unittest.exp: Match the output in non-development
6573 mode.
6574
1e5ded6c
YQ
65752018-01-08 Simon Marchi <simon.marchi@ericsson.com>
6576
6577 * gdb.gdb/unittest.exp: Match output in non-development mode.
6578
30066b0b
JB
65792018-01-08 Joel Brobecker <brobecker@adacore.com>
6580
6581 * gdb.ada/access_tagged_param.exp: Relax expected output
6582 for value of "ObjL" in "continue" to pck.inspect breakpoint
6583 test.
6584
04bafb1e
XR
65852018-01-08 Joel Brobecker <brobecker@adacore.com>
6586
9f86398b
JB
6587 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
6588 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 6589
e379cee6
PA
65902018-01-05 Pedro Alves <palves@redhat.com>
6591
6592 PR gdb/18653
6593 * gdb.base/libsegfault.exp: New.
6594
de63c46b
PA
65952018-01-05 Joel Brobecker <brobecker@adacore.com>
6596
6597 PR gdb/22670
6598 * gdb.ada/access_tagged_param.exp: New file.
6599 * gdb.ada/access_tagged_param/foo.adb: New file.
6600
f98fc17b
PA
66012018-01-05 Pedro Alves <palves@redhat.com>
6602
6603 PR gdb/22670
6604 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
6605 exercise lower case too, and to exercise both full matching and
6606 wild matching.
6607
342f8240
JB
66082018-01-05 Joel Brobecker <brobecker@adacore.com>
6609
6610 * gdb.ada/rename_subscript_param: New testcase.
6611
7150d33c
JG
66122018-01-05 Jerome Guitton <guitton@adacore.com>
6613
6614 * gdb.ada/arr_acc_idx_w_gap: New testcase.
6615
cc0e770c
JB
66162018-01-05 Joel Brobecker <brobecker@adacore.com>
6617
6618 * gdb.ada/convvar_comp: New testcase.
6619
672a41aa 66202018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
6621
6622 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
6623 (My_Table): New global variable.
6624 * testsuite/gdb.ada/array_char_idx.exp: Add test.
6625
7365ec2f
JB
66262018-01-04 Joel Brobecker <brobecker@adacore.com>
6627
6628 PR gdb/22670
6629 * gdb.ada/maint_with_ada: New testcase.
6630
289483b6
JB
66312018-01-04 Joel Brobecker <brobecker@adacore.com>
6632
6633 PR gdb/22670
6634 * gdb.ada/bp_c_mixed_case: New testcase.
6635
344420da
JB
66362018-01-04 Joel Brobecker <brobecker@adacore.com>
6637
6638 PR gdb/22670
6639 * gdb.ada/complete.exp: Add "complete break ada" test.
6640
66fc87a0
JB
66412018-01-04 Joel Brobecker <brobecker@adacore.com>
6642
6643 PR gdb/22670
6644 * gdb.ada/info_addr_mixed_case: New testcase.
6645
9f757bf7
XR
66462018-01-03 Xavier Roirand <roirand@adacore.com>
6647
6648 * gdb.ada/excep_handle.exp: New testcase.
6649 * gdb.ada/excep_handle/foo.adb: New file.
6650 * gdb.ada/excep_handle/pck.ads: New file.
6651
bd570f80
JB
66522018-01-03 Joel Brobecker <brobecker@adacore.com>
6653
6654 * gdb.base/step-line.c: Add extra empty line in copyright header.
6655 * gdb.base/step-line.inp: Likewise.
6656
9fe561ab
JB
66572018-01-02 Joel Brobecker <brobecker@adacore.com>
6658
6659 * gdb.ada/dyn_stride.exp: Add slice test.
6660
a405673c
JB
66612018-01-02 Joel Brobecker <brobecker@adacore.com>
6662
6663 * gdb.ada/dyn_stride: New testcase.
6664
cef0f868
SH
66652017-12-27 Stafford Horne <shorne@gmail.com>
6666
6667 * gdb.xml/extra-regs.xml: Add example foo reggroup.
6668 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
6669
b67d92b0
SH
66702017-12-27 Stafford Horne <shorne@gmail.com>
6671
6672 * gdb.base/reggroups.c: New file.
6673 * gdb.base/reggroups.exp: New file.
6674
eccab96d
JB
66752017-12-18 Joel Brobecker <brobecker@adacore.com>
6676
6677 * gdb.dwarf2/ada-valprint-error.c: New file.
6678 * gdb.dwarf2/ada-valprint-error.exp: New file.
6679
0e2da9f0
JB
66802017-12-18 Joel Brobecker <brobecker@adacore.com>
6681
6682 * gdb.ada/assign_arr: New testcase.
6683
cb923fcc
XR
66842017-12-18 Xavier Roirand <roirand@adacore.com>
6685
6686 * gdb.ada/funcall_ptr: New testcase.
6687
7c161838
SDJ
66882017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6689
6690 PR cli/16224
6691 * gdb.base/ptype-offsets.cc: New file.
6692 * gdb.base/ptype-offsets.exp: New file.
6693
1af17fd9
YQ
66942017-12-15 Yao Qi <yao.qi@linaro.org>
6695
6696 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
6697 if XML is disabled.
6698
828d5846
XR
66992017-12-15 Xavier Roirand <roirand@adacore.com>
6700
6701 * gdb.ada/same_component_name: New testcase.
6702
79e8fcaa
JB
67032017-12-14 Joel Brobecker <brobecker@adacore.com>
6704
6705 * gdb.ada/str_binop_equal: New testcase.
6706
e05fa6f9
JB
67072017-12-14 Joel Brobecker <brobecker@adacore.com>
6708
6709 * gdb.ada/task_switch_in_core: New testcase.
6710
b89641ba
SM
67112017-12-13 Simon Marchi <simon.marchi@ericsson.com>
6712
6713 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
6714 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
6715 call test_bkpt_qualified.
6716 (test_bkpt_qualified): New proc.
6717
6892d2e4
PA
67182017-12-13 Pedro Alves <palves@redhat.com>
6719
6720 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6721 Tighten regexp by matching with an anchor.
6722
a22ecf70
PA
67232017-12-13 Pedro Alves <palves@redhat.com>
6724
6725 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
6726 ("expression with namespace"): New set of tests.
6727 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
6728 (Nested::Test_NS::qux): New.
6729 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
6730 defaults to 'start_quote_char' and 'end_quote_char' parameters.
6731
9937536c
JB
67322017-12-13 Joel Brobecker <brobecker@adacore.com>
6733
6734 * gdb.base/server-del-break.c: New file.
6735 * gdb.base/server-del-break.exp: New file.
6736
fe49c6f5
SH
67372017-12-12 Stafford Horne <shorne@gmail.com>
6738
6739 * gdb.xml/tdesc-regs.exp: Add or1k support.
6740
c3d18620
SH
67412017-12-12 Stafford Horne <shorne@gmail.com>
6742
6743 * gdb.base/bp-permanent.c: Define nop of or1k.
6744
c5f9cfc8
JB
67452017-12-11 Joel Brobecker <brobecker@adacore.com>
6746
6747 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
6748 output with components being reordered.
6749
a9c135fc
JB
67502017-12-11 Joel Brobecker <brobecker@adacore.com>
6751
6752 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
6753 output with components being reordered.
6754
927aa2e7
JK
67552017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6756 Pedro Alves <palves@redhat.com>
6757
6758 * gdb.base/maint.exp (check for .gdb_index): Check also for
6759 .debug_names.
6760 * gdb.dlang/watch-loc.c (.debug_aranges): New.
6761 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
6762 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
6763 (.gdb_index used after symbol reloading): Support also .debug_names.
6764 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
6765
f17d9474
YQ
67662017-12-08 Yao Qi <yao.qi@linaro.org>
6767
6768 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6769 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
6770
a0de8c21
YQ
67712017-12-08 Yao Qi <yao.qi@linaro.org>
6772
6773 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6774 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
6775
a738ea1d
YQ
67762017-12-08 Yao Qi <yao.qi@linaro.org>
6777
6778 * gdb.arch/aarch64-tagged-pointer.c: New file.
6779 * gdb.arch/aarch64-tagged-pointer.exp: New file.
6780
1cd9a73b
SDJ
67812017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
6782
6783 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
6784 "int".
6785
fa6eb693
KS
67862017-12-07 Keith Seitz <keiths@redhat.com>
6787
6788 PR breakpoints/22569
6789 * gdb.linespec/ls-errs.exp: Change expected result of "break
6790 -source this file has spaces.c -line 3".
6791 Check that an explicit source file followed by whitespace is
6792 identified as an invalid explicit location.
6793
883fd55a
KS
67942017-12-07 Keith Seitz <keiths@redhat.com>
6795
6796 * gdb.cp/nested-types.cc: New file.
6797 * gdb.cp/nested-types.exp: New file.
6798 * lib/cp-support.exp: Load data-structures.exp library.
6799 (debug_cp_test_ptype_class): New global.
6800 (cp_ptype_class_verbose, next_line): New procedures.
6801 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
6802 Add and document new return value.
6803 Switch the list of lines to a queue.
6804 Add support for new `type' key for nested type definitions.
6805 Add debugging/troubleshooting messages.
6806 * lib/data-structures.exp: New file.
6807
ec72db3e
SM
68082017-12-07 Simon Marchi <simon.marchi@ericsson.com>
6809
6810 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
6811 with proc_with_prefix, don't use with_test_prefix.
6812
99598d71
TT
68132017-12-07 Tom Tromey <tom@tromey.com>
6814
6815 * gdb.base/break.exp: Add test for empty "commands".
6816
a8806230
YQ
68172017-12-07 Yao Qi <yao.qi@linaro.org>
6818
6819 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
6820 malloc and catch syscall.
6821
824cc835
PM
68222017-12-07 Phil Muldoon <pmuldoon@redhat.com>
6823
e79be6e5 6824 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
6825 tests for explicit locations.
6826
7cc244de
PA
68272017-12-06 Pedro Alves <palves@redhat.com>
6828
6829 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
6830 force-disabling XML descriptions.
6831
50a1fdd5
PA
68322017-12-04 Pedro Alves <palves@redhat.com>
6833
6834 PR gdb/22499
6835 * gdb.arch/amd64-disp-step-avx.S: New file.
6836 * gdb.arch/amd64-disp-step-avx.exp: New file.
6837
f0fb2488
PA
68382017-12-03 Pedro Alves <palves@redhat.com>
6839
6840 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6841 and <string.h>.
6842 (parent_function): Print distinct messages when waitpid fails, or
6843 the child exits with a signal, or the child exits for an unhandled
6844 reason.
6845 * gdb.threads/process-dies-while-detaching.exp
6846 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6847 it. Wait for both inferior output and GDB's prompt. Use an
6848 indirect spawn id list.
6849 (do_detach): New parameter 'child_exit'. Use it to compute
6850 expected inferior output.
6851 (test_detach, test_detach_watch, test_detach_killed_outside):
6852 Adjust to pass down the expected child exit kind.
6853
97cbe998
SDJ
68542017-12-01 Joel Brobecker <brobecker@adacore.com>
6855 Sergio Durigan Junior <sergiodj@redhat.com>
6856 Pedro Alves <palves@redhat.com>
6857
6858 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6859
40fc416f
SDJ
68602017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6861
6862 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6863 to 'symbol-file' and 'add-symbol-file' can be
6864 position-independent.
6865
1cc75e92
YQ
68662017-12-01 Yao Qi <yao.qi@linaro.org>
6867
6868 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6869 the URL in copyright header.
6870 * gdb.arch/aarch64-fp.exp: Likewise.
6871 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6872 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6873 * gdb.base/expand-psymtabs.exp: Likewise.
6874 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6875 * gdb.fortran/common-block.exp: Likewise.
6876 * gdb.fortran/common-block.f90: Likewise.
6877 * gdb.fortran/logical.exp: Likewise.
6878 * gdb.fortran/vla-datatypes.f90: Likewise.
6879 * gdb.fortran/vla-sub.f90: Likewise.
6880
875fb7a7
JB
68812017-11-30 Joel Brobecker <brobecker@adacore.com>
6882
6883 * gdb.ada/repeat_dyn: New testcase.
6884
6f14765f
UW
68852017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6886
6887 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6888 Update for changed thread numbering.
6889 * gdb.cell/bt.exp: Update for changed GDB output.
6890
f1af7b94
SM
68912017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6892
6893 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6894 setting isremote by hand.
6895 * boards/dwarf4-gdb-index.exp: Likewise.
6896 * boards/fission.exp: Likewise.
6897 * boards/stabs.exp: Likewise.
6898
e3919f3e
PA
68992017-11-30 Pedro Alves <palves@redhat.com>
6900
6901 * gdb.linespec/cpls-ops.exp
6902 (check_explicit_skips_function_argument): Extract the underlying
6903 type of size_t instead of hardcoding it.
6904
bd69330d
PA
69052017-11-29 Pedro Alves <palves@redhat.com>
6906
6907 PR c++/19436
6908 * gdb.linespec/cpls-abi-tag.cc: New file.
6909 * gdb.linespec/cpls-abi-tag.exp: New file.
6910
a20714ff
PA
69112017-11-29 Pedro Alves <palves@redhat.com>
6912
6913 * gdb.base/langs.exp: Use -qualified.
6914 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6915 it.
6916 * gdb.cp/namespace.exp: Use -qualified.
6917 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6918 (overload-3, template-overload, template-ret-type, const-overload)
6919 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6920 procedures.
6921 (test_driver): Call them.
6922 * gdb.cp/save-bp-qualified.cc: New.
6923 * gdb.cp/save-bp-qualified.exp: New.
6924 * gdb.linespec/explicit.exp: Test -qualified.
6925 * lib/completion-support.exp (completion::explicit_opts_list): Add
6926 "-qualified".
6927 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6928
f6f1d339
PM
69292017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6930
6931 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6932
02ca603a
TT
69332017-11-29 Tom Tromey <tom@tromey.com>
6934
6935 * gdb.base/relocate.exp: Update invalid argument test.
6936 Add new tests for invalid arguments.
6937
ed6c0bfb
TP
69382017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6939
6940 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6941 Return 0 as a long.
6942 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6943
f106e10e
TP
69442017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6945
6946 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6947 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6948 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6949 func ().
6950 * gdb.cp/shadow.cc (B.func): Return 0.
6951
10329bb2
JB
69522017-11-27 Joel Brobecker <brobecker@adacore.com>
6953
6954 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6955 expected output in gdb_expect call to allow the exception
6956 message to be present as well. Fix syntax confusion to avoid
6957 TCL thinking that exception_name is an array.
6958
617cd4bc
UW
69592017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6960
6961 * gdb.arch/spu-info.c: Include <unistd.h>.
6962 (do_signal_test): Fix broken calls to write.
6963 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6964 Fix checks for empty mailboxes. Update signal tests for corrected
6965 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
6966 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6967 * gdb.cell/arch.exp: Use standard_output_file.
6968 * gdb.cell/break.exp: Likewise.
6969 * gdb.cell/bt.exp: Likewise.
6970 * gdb.cell/core.exp: Likewise.
6971 * gdb.cell/dwarfaddr.exp: Likewise.
6972 * gdb.cell/ea-cache.exp: Likewise.
6973 * gdb.cell/ea-standalone.exp: Likewise.
6974 * gdb.cell/f-regs.exp: Likewise.
6975 * gdb.cell/fork.exp: Likewise.
6976 * gdb.cell/gcore.exp: Likewise.
6977 * gdb.cell/mem-access.exp: Likewise.
6978 * gdb.cell/ptype.exp: Likewise.
6979 * gdb.cell/registers.exp: Likewise.
6980 * gdb.cell/sizeof.exp: Likewise.
6981 * gdb.cell/solib-symbol.exp: Likewise.
6982 * gdb.cell/solib.exp: Likewise.
617cd4bc 6983
a81aaca0
PA
69842017-11-25 Pedro Alves <palves@redhat.com>
6985
6986 * gdb.base/complete-empty.exp: New file.
6987 * gdb.base/completion.exp: Adjust.
6988
6a3c6ee4
PA
69892017-11-25 Pedro Alves <palves@redhat.com>
6990
6991 * gdb.linespec/cpls-ops.cc: New file.
6992 * gdb.linespec/cpls-ops.exp: New file.
6993 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6994 factored out from ...
6995 (test_complete_prefix_range): ... this.
6996
8955eb2d
PA
69972017-11-24 Pedro Alves <palves@redhat.com>
6998
6999 * gdb.linespec/cpcompletion.exp: New file.
7000 * gdb.linespec/cpls-hyphen.cc: New file.
7001 * gdb.linespec/cpls.cc: New file.
7002 * gdb.linespec/cpls2.cc: New file.
7003 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
7004 test to use test_gdb_complete_unique. Add label completion,
7005 keyword completion and explicit location completion tests.
7006 * lib/completion-support.exp: New file.
7007
e547c119
JB
70082017-11-24 Joel Brobecker <brobecker@adacore.com>
7009
7010 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
7011 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
7012 when hitting an exception catchpoint.
7013
7c3c1aa8
YQ
70142017-11-22 Yao Qi <yao.qi@linaro.org>
7015
7016 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
7017
41bd68f5
SM
70182017-11-22 Simon Marchi <simon.marchi@ericsson.com>
7019
7020 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
7021 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
7022 * gdb.dwarf2/info-locals-optimized-out.c: New file.
7023
1daad298
YQ
70242017-11-22 Yao Qi <yao.qi@linaro.org>
7025
7026 * gdb.base/info-os.exp: Pass pthreads.
7027 * gdb.multi/multi-attach.exp: Likewise.
7028
88465e87
YQ
70292017-11-22 Yao Qi <yao.qi@linaro.org>
7030
7031 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
7032 compiler.
7033
dc196b23
YQ
70342017-11-22 Yao Qi <yao.qi@linaro.org>
7035
7036 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
7037 * gdb.base/break-interp.exp: Likewise.
7038 * gdb.base/jit-attach-pie.exp: Likewise.
7039
2400729e
UW
70402017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7041
7042 * gdb.base/float128.c (large128): New variable.
7043 * gdb.base/float128.exp: Add test to print largest __float128 value.
7044
7a26362d
UW
70452017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7046
7047 * gdb.arch/vsx-regs.exp: Update register content checks.
7048
ed0f4273
UW
70492017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
7050
7051 * gdb.arch/ppc-longdouble.exp: New file.
7052 * gdb.arch/ppc-longdouble.c: Likewise.
7053
a25d69c6
PA
70542017-11-21 Pedro Alves <palves@redhat.com>
7055
7056 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
7057
73fcf641
PA
70582017-11-20 Pedro Alves <palves@redhat.com>
7059
7060 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
7061 (long_double_typedef): New typedefs.
7062 Use DEF on double and long double.
7063 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
7064 cases.
7065 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
7066 and 'long_double_ptr_same_size' locals. Use them to decide
7067 whether cast from array/function to float is valid/invalid.
7068
71a3c369
TT
70692017-11-17 Tom Tromey <tom@tromey.com>
7070
7071 * gdb.rust/traits.rs: New file.
7072 * gdb.rust/traits.exp: New file.
7073
ced9779b
JB
70742017-11-17 Joel Brobecker <brobecker@adacore.com>
7075
7076 * gdb.ada/minsyms: New testcase.
7077
a0922d80
PA
70782017-11-16 Pedro Alves <palves@redhat.com>
7079
7080 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
7081 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
7082
ea04e54c
PA
70832017-11-16 Pedro Alves <palves@redhat.com>
7084
7085 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
7086 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
7087
e849ea89
PA
70882017-11-16 Pedro Alves <palves@redhat.com>
7089
7090 * gdb.server/reconnect-ctrl-c.c: New file.
7091 * gdb.server/reconnect-ctrl-c.exp: New file.
7092
d8ae99a7
PM
70932017-11-16 Phil Muldoon <pmuldoon@redhat.com>
7094
7095 * gdb.python/py-rbreak.exp: New file.
7096 * gdb.python/py-rbreak.c: New file.
7097 * gdb.python/py-rbreak-func2.c: New file.
7098
968a13f8
PA
70992017-11-16 Pedro Alves <palves@redhat.com>
7100
7101 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
7102 pattern.
7103 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
7104 GDB.
7105
71774bc9
SM
71062017-11-15 Simon Marchi <simon.marchi@ericsson.com>
7107
7108 * gdb.tui/completionn.exp (test_tab_completion): Add space in
7109 regex.
7110
ddbb44cf
SM
71112017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
7112
7113 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
7114 test names.
7115
584a564f
PA
71162017-11-09 Pedro Alves <palves@redhat.com>
7117
7118 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
7119 factored out from ...
7120 (top level): ... here, and adjusted to avoid expecting beyond the
7121 prompt in a single gdb_test_multiple.
7122
5ed7a928
PA
71232017-11-09 Pedro Alves <palves@redhat.com>
7124
7125 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
7126 output.
7127 * gdb.server/ext-attach.exp ("kill" test): Likewise.
7128 * gdb.server/ext-restart.exp ("kill" test): Likewise.
7129 * gdb.server/ext-run.exp ("kill" test): Likewise.
7130 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
7131
a60e0738
PA
71322017-11-09 Pedro Alves <palves@redhat.com>
7133
7134 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
7135 match till end of line.
7136
2c88253f
PA
71372017-11-09 Pedro Alves <palves@redhat.com>
7138
7139 * gdb.base/memattr.exp: Tighten regexes to match the end line.
7140
c7a38517
PA
71412017-11-09 Pedro Alves <palves@redhat.com>
7142
7143 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
7144 New procedures, factored out from ...
7145 (top level): ... here, and adjusted to avoid expecting beyond the
7146 prompt in one go.
7147
f29f4b6b
PA
71482017-11-09 Pedro Alves <palves@redhat.com>
7149
7150 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
7151 output. Fix '?' match.
7152
286acbb5
JB
71532017-11-08 Joel Brobecker <brobecker@adacore.com>
7154
7155 * gdb.ada/scoped_watch: New testcase.
7156 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
7157 which is actually correct.
7158 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
7159 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
7160
62d7ae92
PA
71612017-11-08 Pedro Alves <palves@redhat.com>
7162
7163 * gdb.gdb/complaints.exp (test_initial_complaints)
7164 (test_serial_complaints, test_short_complaints): Call
7165 complaint_internal instead of complaint.
7166
280ca31f
DT
71672017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
7168
7169 * gdb.threads/tls-core.c: New file.
7170 * gdb.threads/tls-core.exp: Likewise.
7171
b5ec771e
PA
71722017-11-08 Pedro Alves <palves@redhat.com>
7173
7174 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
7175 (p Exported_Capitalized): New test.
7176 (p exported_capitalized): New test.
7177
a02b41a7
PA
71782017-11-07 Pedro Alves <palves@redhat.com>
7179
7180 * gdb.cp/ena-dis-br-range.exp: Add more tests.
7181
95e95a6d
PA
71822017-11-07 Pedro Alves <palves@redhat.com>
7183
7184 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
7185 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
7186 (disable_invalid, disable_inverted, disable_negative): New
7187 procedures.
7188 ("bad numbers"): New set of tests.
7189
cee62dbd
PA
71902017-11-07 Pedro Alves <palves@redhat.com>
7191
7192 * gdb.cp/ena-dis-br-range.exp: Add tests.
7193
cc638e86
PA
71942017-11-07 Pedro Alves <palves@redhat.com>
7195
7196 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
7197
d0fe4701
XR
71982017-11-07 Xavier Roirand <roirand@adacore.com>
7199 Pedro Alves <palves@redhat.com>
7200
7201 * gdb.base/ena-dis-br.exp: Add reference to
7202 gdb.cp/ena-dis-br-range.exp.
7203 * gdb.cp/ena-dis-br-range.exp: New file.
7204 * gdb.cp/ena-dis-br-range.cc: New file.
7205
46f67f80
PA
72062017-11-06 Pedro Alves <palves@redhat.com>
7207
7208 * gdb.base/attach-non-pgrp-leader.c: New.
7209 * gdb.base/attach-non-pgrp-leader.exp: New.
7210
726e1356
PA
72112017-11-06 Pedro Alves <palves@redhat.com>
7212
7213 * configure.ac: No longer check for termio.h and sgtty.h.
7214 * configure: Regenerate.
7215 * remote-utils.c: Include termios.h instead of gdb_termios.h.
7216 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
7217 Remove termio and sgtty code.
7218
50ab6ace
YQ
72192017-11-03 Yao Qi <yao.qi@linaro.org>
7220
7221 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
7222 in GDB is disabled.
7223
8e68731c
YQ
72242017-11-03 Yao Qi <yao.qi@linaro.org>
7225
7226 * gdb.python/py-thrhandle.exp: Skip it if python is not
7227 enabled.
7228
3a87ae65
SM
72292017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7230
7231 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
7232 as a breakpoint command.
7233
484d8d36
MD
72342017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
7235
7236 PR python/21213
7237 * gdb.python/py-infthread.exp: Test calling
7238 InferiorThread.inferior () multiple times in a row.
7239
4a27f119
KS
72402017-10-27 Keith Seitz <keiths@redhat.com>
7241
7242 * gdb.opt/inline-break.exp (break_info_1): New procedure.
7243 Test "info break" for every inlined function breakpoint.
7244
bb11dd58
YQ
72452017-10-27 Yao Qi <yao.qi@linaro.org>
7246
7247 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
7248
a43f3893
PF
72492017-10-26 Patrick Frants <osscontribute@gmail.com>
7250
7251 * gdb.cp/classes.exp (test_static_members): Test printing
7252 Outer::instance.
7253 * gdb.cp/classes.c (struct Inner, struct Outer): New.
7254 (Inner::instance, Outer::instance): New.
7255
792ccf00
PA
72562017-10-24 Pedro Alves <palves@redhat.com>
7257
7258 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
7259 extra console" test in two stages.
7260
eb2bfbad
PA
72612017-10-24 Pedro Alves <palves@redhat.com>
7262
7263 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
7264
1f75a651
PA
72652017-10-24 Pedro Alves <palves@redhat.com>
7266
7267 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
7268 loop.
7269
779990d9
PA
72702017-10-24 Pedro Alves <palves@redhat.com>
7271
7272 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
7273 $attempt" and "stoppedtry $stoppedtry" test prefixes.
7274
ad9b8f5d
PA
72752017-10-24 Pedro Alves <palves@redhat.com>
7276
7277 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
7278 parameter and handle it. Don't output read value in test name.
7279
fee6da6e
PA
72802017-10-24 Pedro Alves <palves@redhat.com>
7281
7282 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
7283 custom test name.
7284
10389c2c
PA
72852017-10-24 Pedro Alves <palves@redhat.com>
7286
7287 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
7288 include the unstable output directory name in the test's name.
7289 (initial_setup_simple) <'set args'>: Use custom test name.
7290
a80e65a9
PA
72912017-10-24 Pedro Alves <palves@redhat.com>
7292
7293 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
7294 with explicit test name.
7295
15763a09
PA
72962017-10-20 Pedro Alves <palves@redhat.com>
7297
7298 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
7299 'wait -i'. Use gdb_assert and remote_close.
7300
49a4ce2e
AB
73012017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
7302
7303 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
7304 number from variable rather than hard-coded.
7305
a75868f5
PA
73062017-10-19 Pedro Alves <palves@redhat.com>
7307
7308 * gdb.base/long-inferior-output.c: New file.
7309 * gdb.base/long-inferior-output.exp: New file.
7310
c8ba13ad
KS
73112017-11-18 Keith Seitz <keiths@redhat.com>
7312
7313 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
7314 method.
7315 (main): Call it.
7316 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
7317 Add additional user-defined conversion operator tests.
7318
b27de576
PA
73192017-10-17 Pedro Alves <palves@redhat.com>
7320
7321 * boards/native-stdio-gdbserver.exp: Load "local-board".
7322
8484c955
PA
73232017-10-17 Pedro Alves <palves@redhat.com>
7324
7325 * gdb.base/quit-live.c: New file.
7326 * gdb.base/quit-live.exp: New file.
7327
83d5a34d
KS
73282017-10-16 Keith Seitz <keiths@redhat.com>
7329
7330 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
7331 (class_with_protected_typedef, class_with_private_typedef)
7332 (struct_with_public_typedef, struct_with_protected_typedef)
7333 (struct_with_private_typedef): New classes/structs.
7334 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
7335 typedefs and access specifiers.
7336
739b3f1d
PA
73372017-10-16 Pedro Alves <palves@redhat.com>
7338 Simon Marchi <simon.marchi@polymtl.ca>
7339
7340 * README (Local vs Remote vs Native): New section.
7341 * boards/local-board.exp: New file, with bits factored out from
7342 ...
7343 * boards/native-extended-gdbserver.exp: ... here. Load
7344 "local-board".
7345 * boards/native-gdbserver.exp: Load "local-board".
7346 (${board}_spawn, ${board}_exec): Delete.
7347 * boards/native-stdio-gdbserver.exp: Most contents factored out to
7348 ...
7349 * boards/stdio-gdbserver-base.exp: ... this new file.
7350 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
7351 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
7352 procedure.
7353 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
7354 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
7355 stdio_gdbserver_command.
7356 (${board}_get_remote_address, ${board}_get_comm_port)
7357 (${board}_download, ${board}_upload): Delete.
7358 (get_target_remote_pipe_cmd): New.
7359
fe68b953
SM
73602017-10-16 Simon Marchi <simon.marchi@ericsson.com>
7361
7362 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
7363 test_bkpt_deletion, test_bkpt_cond_and_cmds,
7364 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
7365 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
7366 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
7367 remove with_test_prefix.
7368
300b6685
PA
73692017-10-13 Pedro Alves <palves@redhat.com>
7370
7371 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
7372 * gdb.base/annota1.exp: Use it instead of is_remote.
7373 * gdb.base/annota3.exp: Use it instead of is_remote.
7374 * gdb.cp/annota2.exp: Use it instead of is_remote.
7375 * gdb.cp/annota3.exp: Use it instead of is_remote.
7376 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
7377
50500caf
PA
73782017-10-13 Pedro Alves <palves@redhat.com>
7379
7380 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
7381 (test_num_test_vars, run_and_count_vars, find_env)
7382 (test_set_unset_env, test_inherit_env_var): New procedures.
7383 (top level): Use them.
7384
dad0c6d2
PA
73852017-10-13 Pedro Alves <palves@redhat.com>
7386
7387 * lib/selftest-support.exp (selftest_setup): Extend comments, and
7388 also skip on stub-like targets.
7389
8b0553c1
PA
73902017-10-13 Pedro Alves <palves@redhat.com>
7391
7392 PR gdb/22293
7393 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
7394 (top level): Move some tests to ...
7395 (test_not_found): ... this new procedure.
7396 (top level): Call it.
7397
7594f623
PA
73982017-10-13 Pedro Alves <palves@redhat.com>
7399
7400 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
7401 expect different "info terminal" output if testing with a
7402 non-native target.
7403
ebe3b402
PA
74042017-10-13 Pedro Alves <palves@redhat.com>
7405 Simon Marchi <simon.marchi@polymtl.ca>
7406
7407 PR python/12966
7408 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
7409
42f1b161
PA
74102017-10-13 Pedro Alves <palves@redhat.com>
7411
7412 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
7413 already.
7414
8d6ef72b
PA
74152017-10-13 Pedro Alves <palves@redhat.com>
7416
7417 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
7418 is_remote.
7419
d7bcd5b8
PA
74202017-10-13 Pedro Alves <palves@redhat.com>
7421
7422 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
7423 is_remote.
7424
df479dc6
PA
74252017-10-13 Pedro Alves <palves@redhat.com>
7426
7427 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
7428 is set.
7429 (corefile_test_attach): Likewise. Check can_spawn_for_attach
7430 instead of is_remote.
7431
23fb630a
PA
74322017-10-13 Pedro Alves <palves@redhat.com>
7433
7434 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
7435 (top level): Add comment.
7436
cc77b1dc
PA
74372017-10-13 Pedro Alves <palves@redhat.com>
7438
7439 * gdb.base/remote.exp (top level): Fix comment typo and add
7440 missing return.
7441
27c9e813
PA
74422017-10-13 Pedro Alves <palves@redhat.com>
7443 Simon Marchi <simon.marchi@polymtl.ca>
7444
7445 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
7446 calls and add comments. Skip test if use_gdb_stub is set.
7447 (top level): Use "set cwd" command instead of "cd" command.
7448
5e830d98
PA
74492017-10-13 Pedro Alves <palves@redhat.com>
7450
7451 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
7452 is_remote target check.
7453
f5ca0032
PA
74542017-10-13 Pedro Alves <palves@redhat.com>
7455
7456 * gdb.base/scope.exp: Use build_executable + clean_restart +
7457 gdb_file_cmd instead of prepare_for_testing and no longer skip
7458 "before run" tests on is_remote target boards. Update comments.
7459 * boards/native-extended-gdbserver.exp
7460 (extended_gdbserver_load_last_file): New, factored out from ...
7461 (gdb_load): ... this. Move further below and add comment.
7462 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
7463
8aed1c0d
PA
74642017-10-12 Pedro Alves <palves@redhat.com>
7465
7466 * gdb.base/attach.exp: Remove references to gdb64.
7467 * gdb.base/dbx.exp: Remove references to gdb64.
7468
cfa34c87
SM
74692017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7470 Pedro Alves <palves@redhat.com>
7471
7472 * gdb.base/label.exp: Remove is_remote target check.
7473
9192b7de
PA
74742017-10-12 Pedro Alves <palves@redhat.com>
7475
7476 * gdb.base/auvx.exp (coredir): Update comment.
7477 (top level) <core_works>: Use "set cwd" command instead of "cd"
7478 command.
7479
6bf0052d
PA
74802017-10-12 Pedro Alves <palves@redhat.com>
7481 Simon Marchi <simon.marchi@polymtl.ca>
7482
7483 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
7484 target boards.
7485
e48ef82d
PA
74862017-10-12 Pedro Alves <palves@redhat.com>
7487 Simon Marchi <simon.marchi@polymtl.ca>
7488
7489 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
7490 Instead skip if there's any gdb_protocol set.
7491
8d7aea57
SM
74922017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7493 Pedro Alves <palves@redhat.com>
7494
7495 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
7496
30440677
PA
74972017-10-12 Pedro Alves <palves@redhat.com>
7498 Simon Marchi <simon.marchi@polymtl.ca>
7499
7500 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
7501 instead of on dejagnu remote boards.
7502
4e04f045 75032017-10-12 Pedro Alves <palves@redhat.com>
175654b9 7504 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
7505
7506 * gdb.base/inferior-died.exp: Remove is_remote and isnative
7507 checks. Use build_executable + clean_restart instead of
7508 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
7509 of enabling non-stop after starting gdb.
7510
871a186e
PA
75112017-10-12 Pedro Alves <palves@redhat.com>
7512
7513 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
7514 * gdb.threads/non-ldr-exc-2.exp: Ditto.
7515 * gdb.threads/non-ldr-exc-3.exp: Ditto.
7516 * gdb.threads/non-ldr-exc-4.exp: Ditto.
7517
56d704da
AK
75182017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
7519
7520 * gdb.arch/arc-tdesc-cpu.exp: New file.
7521 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
7522
2f20e312
SM
75232017-10-10 Simon Marchi <simon.marchi@ericsson.com>
7524
7525 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
7526
65630365
PA
75272017-10-10 Pedro Alves <palves@redhat.com>
7528
7529 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
7530 expect CLI output.
7531
bf469271
PA
75322017-10-10 Pedro Alves <palves@redhat.com>
7533
7534 * lib/selftest-support.exp (selftest_setup): Update for
7535 captured_command_loop's prototype change.
7536
777a42f1
PA
75372017-10-09 Pedro Alves <palves@redhat.com>
7538
7539 Test both arch1=>arch2 and arch2=>arch1.
7540
7541 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
7542 (srcfile2, binfile2, march1, march2): Remove globals. Largely
7543 factored out to...
7544 (append_arch1_options, append_arch2_options, append_arch_options)
7545 (build_executables): New procedures.
7546 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
7547 local.
7548 (top level): Add new 'first_arch' testing axis.
7549
cbd2b4e3
PA
75502017-10-09 Pedro Alves <palves@redhat.com>
7551
7552 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
7553 (barrier): New.
7554 (thread_start, all_started): New functions.
7555 (main): Spawn new thread and wait until it is scheduled.
7556 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
7557 option.
7558 (do_test): Add 'selected_thread' parameter. Run to all_started
7559 instead of main. Explicitly set the breakpoint at main. Switch
7560 to the SELECTED_THREAD thread.
7561 (top level): Test handling the exec event with either the main
7562 thread or the second thread selected.
7563
5c9e4427
PA
75642017-10-09 Pedro Alves <palves@redhat.com>
7565
7566 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
7567 logic. Move STOP marker after the value checks.
7568 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
7569 regexp.
7570
b3b7c423
SL
75712017-10-06 Sandra Loosemore <sandra@codesourcery.com>
7572
7573 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
7574
3b4b2f16
UW
75752017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
7576
7577 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
7578 integer-to-dfp conversion.
7579 * gdb.base/dfp-test.exp: Likewise.
7580
5cd63fda
PA
75812017-10-04 Pedro Alves <palves@redhat.com>
7582
7583 * gdb.multi/hangout.c: Include <unistd.h>.
7584 (hangout_loop): New function.
7585 (main): Call alarm. Call hangout_loop in a loop.
7586 * gdb.multi/hello.c: Include <unistd.h>.
7587 (hello_loop): New function.
7588 (main): Call alarm. Call hangout_loop in a loop.
7589 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
7590 inferior with the other selected.
7591
4c71c105
SM
75922017-10-04 Simon Marchi <simon.marchi@ericsson.com>
7593
7594 * gdb.mi/list-thread-groups-available.exp: New file.
7595 * gdb.mi/list-thread-groups-available.c: New file.
7596
bc3b087d
SDJ
75972017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7598
7599 * gdb.base/set-cwd.exp: Make it available on
7600 native-extended-gdbserver.
7601
d092c5a2
SDJ
76022017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7603
7604 * gdb.base/set-cwd.c: New file.
7605 * gdb.base/set-cwd.exp: Likewise.
7606
45320ffa
TT
76072017-10-02 Tom Tromey <tom@tromey.com>
7608
7609 PR rust/22236:
7610 * gdb.rust/simple.rs (main): New variable "fslice".
7611 * gdb.rust/simple.exp: Add slice tests. Update string tests.
7612
b3e3859b
TT
76132017-10-02 Tom Tromey <tom@tromey.com>
7614
7615 * gdb.rust/simple.exp: Test ptype of a slice.
7616
01af5e0d
TT
76172017-10-02 Tom Tromey <tom@tromey.com>
7618
7619 * gdb.rust/simple.exp: Test index of slice.
7620
a9bbfbd8
TT
76212017-09-27 Tom Tromey <tom@tromey.com>
7622
7623 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
7624
df8899e5
TP
76252017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
7626 Pedro Alves <palves@redhat.com>
7627
7628 * gdb.base/compare-sections.exp (get value of read-only section): Read
7629 as unsigned value.
7630 (corrupt read-only section): Likewise and don't set written if patching
7631 failed.
7632
757bf54b
KB
76332017-09-21 Kevin Buettner <kevinb@redhat.com>
7634
7635 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
7636 files.
7637
06871ae8
PA
76382017-09-20 Pedro Alves <palves@redhat.com>
7639
7640 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
7641 symbol names in gdb's output.
7642 * gdb.cp/overload.exp ("list all overloads"): Likewise.
7643
e5f25bc5
PA
76442017-09-20 Pedro Alves <palves@redhat.com>
7645
7646 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
7647 Rename to ...
7648 (test_list_ambiguous_symbol): ... this and add a symbol name
7649 parameter. Adjust.
7650 (test_list_ambiguous_function): Reimplement on top of
7651 test_list_ambiguous_symbol and also test listing ambiguous
7652 variables.
7653 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
7654 (ambiguous_fun): ... this.
7655 (ambiguous_var): New.
7656 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
7657 (ambiguous_fun): ... this.
7658 (ambiguous_var): New.
7659
4e5a4f58
JB
76602017-09-19 John Baldwin <jhb@FreeBSD.org>
7661
7662 * gdb.base/starti.c: New file.
7663 * gdb.base/starti.exp: New file.
7664 * lib/gdb.exp (gdb_starti_cmd): New procedure.
7665
26e53f3e
PA
76662017-09-14 Pedro Alves <palves@redhat.com>
7667
7668 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
7669 (top level): Use it instead of runto.
7670
cb791d59
TT
76712017-09-11 Tom Tromey <tom@tromey.com>
7672
7673 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
7674
7c96f8c1
TT
76752017-09-11 Tom Tromey <tom@tromey.com>
7676
7677 * gdb.python/py-infthread.exp: Add tests for new_thread event.
7678 * gdb.python/py-inferior.exp: Add tests for new inferior events.
7679
469412dd
CW
76802017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
7681
7682 * gdb.fortran/printing-types.exp: New file.
7683 * gdb.fortran/printing-types.exp: New file.
7684
e0f86435
BH
76852017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7686
7687 * gdb.fortran/vla-ptype.exp: Fix typos.
7688 * gdb.fortran/vla-value.exp: Same.
7689
9e9af4be
BH
76902017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7691
7692 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
7693 * gdb.mi/mi-var-child-f.exp: Likewise.
7694 * gdb.mi/mi-vla-fortran.exp: Likewise.
7695
a5ad232b 76962017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
7697 Christoph Weinmann <christoph.t.weinmann@intel.com>
7698 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
7699
7700 * gdb.fortran/ptr-indentation.f90: New file.
7701 * gdb.fortran/ptr-indentation.exp: New file.
7702
5aec60eb
TT
77032017-09-05 Tom Tromey <tom@tromey.com>
7704
7705 PR gdb/22010:
7706 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
7707
8f8f8152
TP
77082017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
7709
7710 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
7711
fbd1b771
JK
77122017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7713
7714 * gdb.threads/tls-nodebug-pie.c: New file.
7715 * gdb.threads/tls-nodebug-pie.exp: New file.
7716
5eb5f850
TT
77172017-09-05 Tom Tromey <tom@tromey.com>
7718
7719 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
7720 for rust.
7721
ae780a21
SM
77222017-09-05 Simon Marchi <simon.marchi@ericsson.com>
7723
7724 * gdb.multi/multi-arch-exec.exp: Test with different
7725 "follow-exec-mode" settings.
7726 (do_test): New procedure.
7727
3693fdb3
PA
77282017-09-04 Pedro Alves <palves@redhat.com>
7729
7730 * gdb.base/func-static.c (S::method const, S::method volatile)
7731 (S::method volatile const): New methods.
7732 (c_s, v_s, cv_s): New instances.
7733 (main): Call method() on them.
7734 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
7735 (cannot_resolve): New procedure.
7736 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
7737 print-quote-unquoted columns.
7738 (do_test): Test printing each scope too.
7739
e68cb8e0
PA
77402017-09-04 Pedro Alves <palves@redhat.com>
7741
7742 * gdb.base/local-static.exp: Also test with
7743 class::method::variable wholly quoted.
7744 * gdb.cp/m-static.exp (class::method::variable): Remove test.
7745
858be34c
PA
77462017-09-04 Pedro Alves <palves@redhat.com>
7747
7748 * gdb.base/local-static.c: New.
7749 * gdb.base/local-static.cc: New.
7750 * gdb.base/local-static.exp: New.
7751
46a4882b
PA
77522017-09-04 Pedro Alves <palves@redhat.com>
7753
7754 * gdb.asm/asm-source.exp: Add casts to int.
7755 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
7756 (dataglobal64_1, dataglobal64_2): New globals.
7757 * gdb.base/nodebug.exp: Test different expressions involving the
7758 new globals, with print, whatis and ptype. Add casts to int.
7759 * gdb.base/solib-display.exp: Add casts to int.
7760 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
7761 * gdb.cp/m-static.exp: Add cast to int.
7762 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
7763 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
7764 tls variable with no debug info without a cast. Test with a cast
7765 to int too.
7766 * gdb.trace/entry-values.exp: Add casts.
7767
2c5a2be1
PA
77682017-09-04 Pedro Alves <palves@redhat.com>
7769
7770 * gdb.base/nodebug.exp: Test that ptype's error about functions
7771 with unknown return type includes the function name too.
7772
7022349d
PA
77732017-09-04 Pedro Alves <palves@redhat.com>
7774
7775 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
7776 return type of munmap in infcall.
7777 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
7778 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
7779 type of ftell in infcall.
7780 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
7781 type of getpid in infcall.
7782 * gdb.base/infcall-exec.exp: Cast return type of execlp in
7783 infcall.
7784 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
7785 Bail on failure to extract the pid.
7786 * gdb.base/nodebug.c: #include <stdint.h>.
7787 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
7788 New functions.
7789 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
7790 Change expected output of print/whatis/ptype with functions with
7791 no debug info. Test all supported languages. Call
7792 test_call_promotion.
7793 * gdb.compile/compile.exp: Adjust expected output to expect
7794 warning.
7795 * gdb.threads/siginfo-threads.exp: Likewise.
7796
54990598
PA
77972017-09-04 Pedro Alves <palves@redhat.com>
7798
7799 * gdb.base/callfuncs.exp (do_function_calls): New parameter
7800 "prototypes". Test calling float functions via prototyped and
7801 unprototyped function pointers.
7802 (perform_all_tests): New parameter "prototypes". Pass it down.
7803 (top level): Pass down "prototypes" parameter to
7804 perform_all_tests.
7805
34d16ea2
SM
78062017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7807
7808 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
7809 Test with nested loops.
7810
9521ecda
SM
78112017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7812
7813 * gdb.base/commands.exp: Call the new procedures.
7814 (loop_break_test, loop_continue_test): New procedures.
7815
80a65e9b
SM
78162017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7817
7818 * gdb.base/commands.exp: Call new procedure.
7819 (define_if_without_arg_test): New procedure.
7820
e439fa14
PA
78212017-09-04 Pedro Alves <palves@redhat.com>
7822
7823 * gdb.base/list-ambiguous.exp: New file.
7824 * gdb.base/list-ambiguous0.c: New file.
7825 * gdb.base/list-ambiguous1.c: New file.
7826 * gdb.base/list.exp (test_list_range): Adjust expected output.
7827
0a2dde4a
SDJ
78282017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
7829
7830 * gdb.base/share-env-with-gdbserver.c: New file.
7831 * gdb.base/share-env-with-gdbserver.exp: Likewise.
7832
5e89eb3a
SM
78332017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7834
7835 * gdb.base/commands.exp (gdbvar_simple_if_test,
7836 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
7837 progvar_simple_if_test, progvar_simple_while_test,
7838 progvar_complex_if_while_test, user_defined_command_test,
7839 user_defined_command_args_eval,
7840 user_defined_command_args_stack_test,
7841 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7842 temporary_breakpoint_commands,
7843 gdb_test_no_prompt, redefine_hook_test,
7844 redefine_backtrace_test): Remove "global gdb_prompt".
7845
fd437cbc
SM
78462017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7847
7848 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7849 New proc, call it from toplevel.
7850
87215ad1
SDJ
78512017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7852
7853 PR remote/21852
7854 * gdb.server/normal.c: New file, copied from gdb.base.
7855 * gdb.server/run-without-local-binary.exp: New file.
7856
58afddc6
WP
78572017-08-07 Weimin Pan <weimin.pan@oracle.com>
7858
7859 * gdb.arch/sparc64-adi.exp: New file.
7860 * gdb.arch/sparc64-adi.c: New file.
7861
5277199a
PA
78622017-08-22 Pedro Alves <palves@redhat.com>
7863
7864 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7865 (top level): Add "list all overloads" tests.
7866
14278e1f
TT
78672017-08-22 Tom Tromey <tom@tromey.com>
7868
7869 * gdb.gdb/xfullpath.exp: Remove.
7870
bf223d3e
PA
78712017-08-21 Pedro Alves <palves@redhat.com>
7872
7873 PR gdb/19487
7874 * gdb.base/symbol-alias.c: New.
7875 * gdb.base/symbol-alias2.c: New.
7876 * gdb.base/symbol-alias.exp: New.
7877
c973d0aa
PA
78782017-08-21 Pedro Alves <palves@redhat.com>
7879
7880 * gdb.base/dfp-test.c
7881 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7882 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7883 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7884 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7885 * gdb.base/whatis-ptype-typedefs.c: New.
7886 * gdb.base/whatis-ptype-typedefs.exp: New.
7887 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7888 (an_int, an_int_type, an_int_type2): New globals.
7889 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7890 involving typedefs and cast expressions.
7891 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7892 (lookup_typedefs_function): New.
7893 (typedefs_pretty_printers_dict): New.
7894 (top level): Register lookup_typedefs_function in
7895 gdb.pretty_printers.
7896
6d580b63
YQ
78972017-08-18 Yao Qi <yao.qi@linaro.org>
7898
7899 * gdb.server/unittest.exp: New.
7900
206726fb
SDJ
79012017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7902
7903 PR gdb/21954
7904 * gdb.base/environ.exp: Add test to check if 'unset environment'
7905 works.
7906
bf0ec4c2
AA
79072017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7908
7909 * lib/gdb.exp (universal_compile_options): New caching proc.
7910 (gdb_compile): Suppress GCC's coloring of messages.
7911
d6382fff
TT
79122017-08-14 Tom Tromey <tom@tromey.com>
7913
7914 PR gdb/21675:
7915 * gdb.base/printcmds.exp (test_radices): New function.
7916 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7917 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7918 * lib/gdb.exp (get_integer_valueof): Use p/d.
7919
c2c2dd9f
SM
79202017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7921
7922 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7923 characters.
7924
fdffd6f4
TT
79252017-08-05 Tom Tromey <tom@tromey.com>
7926
7927 * gdb.rust/simple.exp: Allow String to appear in a different
7928 namespace.
7929
27d41eac
YQ
79302017-07-26 Yao Qi <yao.qi@linaro.org>
7931
7932 * gdb.gdb/unittest.exp: Invoke command
7933 "maintenance check xml-descriptions".
7934
031ed05d
AA
79352017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7936
7937 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7938 calling context.
7939 (hex128): Drop erroneous calculation of parameters.
7940
dcd27ddf
SM
79412017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7942
7943 * gdb.python/py-unwind.exp: Disable stack protection when
7944 building test file.
7945
47e77640
PA
79462017-07-20 Pedro Alves <palves@redhat.com>
7947
7948 * gdb.base/default.exp (set language): Adjust expected output.
7949
62d2a18a
PA
79502017-07-20 Pedro Alves <palves@redhat.com>
7951
7952 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7953 (test_minsym): ... this, and make static.
7954 (get_pck__foo__bar__minsym): Rename to ...
7955 (get_test_minsym): ... this.
7956 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7957 symbol names and comments.
7958 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7959 (get_test_minsym): ... this.
7960 (pck__foo__bar__minsym__2): Rename to ...
7961 (test_minsym): ... this.
7962 (main): Adjust.
7963
c45ec17c
PA
79642017-07-17 Pedro Alves <palves@redhat.com>
7965
7966 * gdb.base/completion.exp: Adjust expected output.
7967 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7968 the completer works.
7969
c6756f62
PA
79702017-07-17 Pedro Alves <palves@redhat.com>
7971
7972 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7973
5bd68487
AB
79742017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7975
7976 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7977
8880f2a9
TT
79782017-07-14 Tom Tromey <tom@tromey.com>
7979
7980 PR rust/21764:
7981 * gdb.rust/simple.exp: Add tests.
7982
65547233
TT
79832017-07-14 Tom Tromey <tom@tromey.com>
7984
7985 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7986
8f14146e
PA
79872017-07-14 Pedro Alves <palves@redhat.com>
7988
7989 * gdb.linespec/base/one/thefile.cc (z1): New function.
7990 * gdb.linespec/base/two/thefile.cc (z2): New function.
7991 * gdb.linespec/linespec.exp: Add tests.
7992
b4365d02
AB
79932017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7994
7995 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7996 to mi_create_breakpoint.
7997
5d2cbaa5
AB
79982017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7999
8000 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
8001 mi_create_breakpoint.
8002
11cb5716
IB
80032017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
8004
8005 * gdb.dlang/demangle.exp: Update for demangling changes.
8006
03278692
TT
80072017-07-09 Tom Tromey <tom@tromey.com>
8008
8009 * gdb.dwarf2/shortpiece.exp: New file.
8010
33c5cd75
DB
80112017-07-06 David Blaikie <dblaikie@gmail.com>
8012
8013 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
8014 built from fissiont-multi-cu{1,2}.c.
8015 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
8016 except putting 'main' and 'func' in separate CUs in the same DWO file.
8017 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
8018 test.
8019 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
8020 test.
8021
8455d262
PA
80222017-07-06 Pedro Alves <palves@redhat.com>
8023
8024 * gdb.python/py-unwind.exp: Test flushregs.
8025
dc4bde35
SDJ
80262017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8027
8028 PR cli/21688
8029 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
8030 tests for alias commands and trailing whitespace.
8031
51ed89aa
SDJ
80322017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8033
8034 PR cli/21688
8035 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
8036 procedure. Call it.
8037
eb17d413
PA
80382017-06-29 Pedro Alves <palves@redhat.com>
8039
8040 * gdb.base/printcmds.exp: Add tests.
8041
41664b45
DG
80422017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
8043
8044 PR gdb/21337
8045 * gdb.base/reread-readsym.exp: New file.
8046 * gdb.base/reread-readsym.c: New file.
8047
75312ae3
KB
80482017-06-21 Kevin Buettner <kevinb@redhat.com>
8049
8050 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
8051 subpattern.
8052
66953522
PB
80532017-06-19 Peter Bergner <bergner@vnet.ibm.com>
8054
8055 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
8056 extended mnemonic.
8057 * gdb.arch/powerpc-power9.s: Likewise.
8058
5524b525
AA
80592017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8060
8061 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
8062 on 32-bit x86 targets. Exploit is_*_target macros where
8063 appropriate.
8064
03c8af18
AA
80652017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8066
8067 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
8068 register pieces.
8069
3bf31011
AA
80702017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8071
8072 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
8073 located in one or more DWARF pieces.
8074
805acca0
AA
80752017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8076
8077 * lib/gdb.exp (get_endianness): New proc.
8078 * gdb.arch/aarch64-fp.exp: Use it.
8079 * gdb.arch/altivec-regs.exp: Likewise.
8080 * gdb.arch/e500-regs.exp: Likewise.
8081 * gdb.arch/vsx-regs.exp: Likewise.
8082 * gdb.base/dump.exp: Likewise.
8083 * gdb.base/funcargs.exp: Likewise.
8084 * gdb.base/gnu_vector.exp: Likewise.
8085 * gdb.dwarf2/formdata16.exp: Likewise.
8086 * gdb.dwarf2/implptrpiece.exp: Likewise.
8087 * gdb.dwarf2/nonvar-access.exp: Likewise.
8088 * gdb.python/py-inferior.exp: Likewise.
8089 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8090
e9352324
AA
80912017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8092
8093 PR gdb/21226
8094 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
8095 stack value pieces are taken from the LSB end.
8096
d5d1163e
AA
80972017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8098
8099 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
8100 variable at nonzero offset.
8101
0567c986
AA
81022017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8103
8104 * gdb.dwarf2/var-access.c: New file.
8105 * gdb.dwarf2/var-access.exp: New test.
8106 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
8107
973e9aab
TT
81082017-06-12 Tom Tromey <tom@tromey.com>
8109
8110 * gdb.dwarf2/formdata16.exp: Add tests.
8111
d9109c80
TT
81122017-06-12 Tom Tromey <tom@tromey.com>
8113
8114 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
8115
30a25466
TT
81162017-06-12 Tom Tromey <tom@tromey.com>
8117
8118 PR exp/16225:
8119 * gdb.reverse/i386-sse-reverse.exp: Update tests.
8120 * gdb.arch/vsx-regs.exp: Update tests.
8121 * gdb.arch/s390-vregs.exp (hex128): New proc.
8122 Update test.
8123 * gdb.arch/altivec-regs.exp: Update tests.
8124
aefd8b33
SDJ
81252017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8126
8127 * gdb.base/startup-with-shell.c: New file.
8128 * gdb.base/startup-with-shell.exp: Likewise.
8129
2090129c
SDJ
81302017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8131
8132 * gdb.server/non-existing-program.exp: Update regex in order to
8133 reflect the fact that gdbserver is now using fork_inferior (with a
8134 shell) to startup the inferior.
8135
8e86a419
SM
81362017-05-30 Simon Marchi <simon.marchi@ericsson.com>
8137
8138 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
8139 support function calls from GDB.
8140
e6cf65f2
TT
81412017-05-21 Tom Tromey <tom@tromey.com>
8142
8143 PR rust/21466:
8144 * gdb.rust/unsized.exp: New file.
8145 * gdb.rust/unsized.rs: New file.
8146
43cc5389
TT
81472017-05-19 Tom Tromey <tom@tromey.com>
8148
8149 PR rust/21484:
8150 * gdb.rust/watch.exp: New file.
8151 * gdb.rust/watch.rs: New file.
8152
ec8df234
TT
81532017-05-18 Tom Tromey <tom@tromey.com>
8154
8155 * gdb.rust/simple.exp: Allow Box to be qualified.
8156
3e3e7fae
TP
81572017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
8158
8159 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
8160
59cc050d
PA
81612017-05-18 Pedro Alves <palves@redhat.com>
8162
8163 * gdb.base/fileio.c (test_write, test_read, test_close)
8164 (test_fstat): Don't print 'ret' in the fail path.
8165
c8f6abd1
PA
81662017-05-18 Pedro Alves <palves@redhat.com>
8167
8168 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
8169 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
8170 (test_system, test_rename, test_unlink, test_time): Change
8171 prototypes.
8172 * gdb.base/fileio.exp (stop_msg): Adjust.
8173
d2a03b77
PA
81742017-05-18 Pedro Alves <palves@redhat.com>
8175
8176 * gdb.base/fileio.c (null_str): New global.
8177 (test_stat): Use it.
8178 * gdb.base/fileio.exp: Remove nowarnings.
8179
0d5c6999
YQ
81802017-05-17 Yao Qi <yao.qi@linaro.org>
8181
8182 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
8183
21873064
YQ
81842017-05-17 Simon Marchi <simon.marchi@ericsson.com>
8185
8186 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
8187 argument command.
8188 (top-level): Invoke test_set_inferior_tty.
8189
d512d31c
PA
81902017-05-04 Pedro Alves <palves@redhat.com>
8191
8192 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
8193 Add parens to print call for Python 3.
8194
90cef2ed
KS
81952017-05-03 Keith Seitz <keiths@redhat.com>
8196
8197 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
8198 (main): Call it.
8199
14f819c8
TW
82002017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8201
8202 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
8203 to prev and next.
8204
913aeadd
TW
82052017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8206
8207 * gdb.python/py-record-btrace.exp: Remove test for
8208 gdb.BtraceInstruction.error.
8209
a3be24ad
TW
82102017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8211
8212 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
8213
ae20e79a
TW
82142017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8215
8216 * gdb.python/py-record-btrace-threads.c: New file.
8217 * gdb.python/py-record-btrace-threads.exp: New file.
8218
45ce1b47
SDJ
82192017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
8220
8221 PR testsuite/8595
8222 * gdb.base/environ.exp: Make test available in all architectures.
8223 Move bits related to "info program" testing to
8224 gdb.base/info-program.exp. Rewrite tests to use the two new
8225 procedures mentione below.
8226 (test_set_show_env_var) New procedure.
8227 (test_set_show_env_var_equal): Likewise.
8228 * gdb.base/info-program.exp: New file.
8229
e15c3eb4
KS
82302017-04-27 Keith Seitz <keiths@redhat.com>
8231
8232 * gdb.cp/oranking.cc (test15): New function.
8233 (main): Call test15 and declare additional variables for testing.
8234 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
8235 "p foo101('abc')" tests.
8236 Add tests for cv qualifier overloads.
8237 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
8238 "lvalue reference overload" test.
8239 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
8240 "print value of f1 on Child&& in f2" test.
8241
3a3fd0fd
PA
82422017-04-19 Pedro Alves <palves@redhat.com>
8243
8244 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
8245 procedure.
8246 (top level): Call it.
8247 * lib/gdb.exp (gdb_define_cmd): New procedure.
8248
53375380
PA
82492017-04-12 Pedro Alves <palves@redhat.com>
8250
8251 PR gdb/21323
8252 * gdb.cp/wide_char_types.c: Include <wchar.h>.
8253 (wchar): New global.
8254 * gdb.cp/wide_char_types.exp (wide_char_types_program)
8255 (do_test_wide_char, wide_char_types_no_program, top level): Add
8256 wchar_t testing.
8257
53e710ac
PA
82582017-04-12 Pedro Alves <palves@redhat.com>
8259
8260 PR c++/21323
8261 * gdb.cp/wide_char_types.c: New file.
8262 * gdb.cp/wide_char_types.exp: New file.
8263
0ad9d8c7
SDJ
82642017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
8265
8266 PR gdb/21352
8267 * gdb.trace/tsv.exp: Add test for "tsave -r".
8268
b1b45502
IB
82692017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
8270
8271 * gdb.dlang/watch-loc.c: New file.
8272 * gdb.dlang/watch-loc.exp: New file.
8273
ec13808e
JK
82742017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8275
8276 * gdb.python/py-section-script.exp (sepdebug): New testcases.
8277
fe5f7374
AK
82782017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8279
8280 * gdb.arch/arc-analyze-prologue.S: New file.
8281 * gdb.arch/arc-analyze-prologue.exp: Likewise.
8282
eea78757
AK
82832017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8284
8285 * gdb.arch/arc-decode-insn.S: New file.
8286 * gdb.arch/arc-decode-insn.exp: Likewise.
8287
5badf10a
IR
82882017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
8289
8290 PR tdep/20928
8291 * gdb.arch/sparc64-regs.exp: New file.
8292 * gdb.arch/sparc64-regs.S: Likewise.
8293
cee59b3f
TW
82942017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
8295
8296 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
8297 and memory view on Python 3.
8298
c0f55cc6
AV
82992017-03-20 Artemiy Volkov <artemiyv@acm.org>
8300 Keith Seitz <keiths@redhat.com>
8301
8302 PR gdb/14441
8303 * gdb.cp/demangle.exp: Add rvalue reference tests.
8304 * gdb.cp/rvalue-ref-casts.cc: New file.
8305 * gdb.cp/rvalue-ref-casts.exp: New file.
8306 * gdb.cp/rvalue-ref-overload.cc: New file.
8307 * gdb.cp/rvalue-ref-overload.exp: New file.
8308 * gdb.cp/rvalue-ref-params.cc: New file.
8309 * gdb.cp/rvalue-ref-params.exp: New file.
8310 * gdb.cp/rvalue-ref-sizeof.cc: New file.
8311 * gdb.cp/rvalue-ref-sizeof.exp: New file.
8312 * gdb.cp/rvalue-ref-types.cc: New file.
8313 * gdb.cp/rvalue-ref-types.exp: New file.
8314 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
8315 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
8316
51457a05
MAL
83172017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8318
8319 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
8320 New procedure.
8321
5b291c04
MAL
83222017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8323
8324 * lib/mi-support.exp (mi_gdb_test): Add additional message
8325 for unexpected output.
8326
59a56148
AA
83272017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8328
8329 * gdb.base/examine-backward.c (Barrier): New character array
8330 constant, to ensure that TestStrings is preceded by a string
8331 terminator.
8332
7942e96e
AA
83332017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8334
8335 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
8336 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
8337 and implicit pointer into such a location.
8338
6ebac3fb
DE
83392017-03-16 Doug Evans <dje@google.com>
8340
8341 * gdb.python/py-lazy-string (pointer): Really add new typedef.
8342
ec3b243d
TP
83432017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
8344
8345 * gdb.cp/m-static.exp: Fix expectation for prototype of
8346 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
8347
83482017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
8349
8350 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
8351 * gdb.guile/scm-lazy-string.c: New file.
8352 * gdb.guile/scm-value.exp: Move lazy string tests to ...
8353 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
8354 for pointer, array, typedef lazy strings.
8355
2cc36e25 83562017-03-16 Doug Evans <dje@google.com>
34b43320
DE
8357
8358 PR python/17728, python/18439, python/18779
8359 * gdb.python/py-value.c (main) Delete locals sptr, sn.
8360 * gdb.python/py-lazy-string.c (pointer): New typedef.
8361 (main): New locals ptr, array, typedef_ptr.
8362 * gdb.python/py-value.exp: Move lazy string tests to ...
8363 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
8364 array, typedef lazy strings.
ec3b243d 8365
0efcde63
AK
83662017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
8367
8368 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
8369 Add optional 'test' parameter.
8370
7978d7c3
SM
83712017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8372
8373 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8374 Skip for versions of DejaGnu < 1.5.
8375
896c0c1e
SM
83762017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8377
8378 * lib/gdb.exp (dejagnu_version): New proc.
8379 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8380 Use dejagnu_version.
8381
5f4d1085
KS
83822017-03-10 Keith Seitz <keiths@redhat.com>
8383
8384 PR c++/8128
8385 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
8386 type from destructor regexps.
8387 Add a branch which actually passes the test.
8388 Adjust "ptype t5i" test names.
8389
1de05205
PA
83902017-03-08 Pedro Alves <palves@redhat.com>
8391
8392 * gdb.base/step-over-exit.exp: Add explicit test message.
8393
c65d6b55
PA
83942017-03-08 Pedro Alves <palves@redhat.com>
8395
8396 PR gdb/18360
8397 * gdb.threads/interrupt-while-step-over.c: New file.
8398 * gdb.threads/interrupt-while-step-over.exp: New file.
8399
2e86a283
PA
84002017-03-08 Pedro Alves <palves@redhat.com>
8401
8402 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
8403 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
8404
25dcbff6
PA
84052017-03-08 Pedro Alves <palves@redhat.com>
8406
8407 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
8408 PKRU as not supported as a PASS.
8409
dc9366eb
PA
84102017-03-08 Pedro Alves <palves@redhat.com>
8411
8412 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
8413 prefix instead of $binfile1/$binfile2.
8414 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
8415 in test message.
8416 * gdb.python/py-completion.exp: Use "load python file" as test
8417 messages instead of unstable path names.
8418
6e5d74e7
PA
84192017-03-08 Pedro Alves <palves@redhat.com>
8420 Jan Kratochvil <jan.kratochvil@redhat.com>
8421
8422 PR cli/21218
8423 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8424 New proc.
8425 (top level): Call it.
8426
9753a2f6
PA
84272017-03-08 Pedro Alves <palves@redhat.com>
8428
8429 PR tui/21216
8430 * gdb.tui/tui-nl-filtered-output.exp: New file.
8431
1a4dd9dd
PA
84322017-03-08 Pedro Alves <palves@redhat.com>
8433
8434 * gdb.base/completion.exp: Move TUI completion tests to ...
8435 * gdb.tui/completion.exp: ... this new file.
8436
7cbbff33
PA
84372017-03-08 Pedro Alves <palves@redhat.com>
8438
8439 * gdb.base/tui-disasm-long-lines.c,
8440 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
8441 gdb.base/tui-layout.exp: Move to ...
8442 * gdb.tui/: ... this new directory.
8443
5f6fd321
PA
84442017-03-07 Pedro Alves <palves@redhat.com>
8445
8446 * gdb.base/tui-layout.c: New file.
8447 * gdb.base/tui-layout.exp: New file.
8448
44959fa8
PA
84492017-03-07 Pedro Alves <palves@redhat.com>
8450
8451 * gdb.base/tui-layout.c: Rename to ...
8452 * gdb.base/tui-disasm-long-lines.c: ... this.
8453 * gdb.base/tui-layout.exp: Rename to ...
8454 * gdb.base/tui-disasm-long-lines.exp: ... this.
8455
f8c4e718
PA
84562017-03-07 Pedro Alves <palves@redhat.com>
8457
8458 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
8459
6dbb839a 84602017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
8461
8462 * i386-mpx-call.c: New file.
8463 * i386-mpx-call.exp: New file.
8464
65b48a81
PB
84652017-02-28 Peter Bergner <bergner@vnet.ibm.com>
8466
8467 * gdb.arch/powerpc-power.exp: Delete test.
8468 * gdb.arch/powerpc-power.s: Likewise.
8469 * gdb.disasm/disassembler-options.exp: New test.
8470 * gdb.arch/powerpc-altivec.exp: Likewise.
8471 * gdb.arch/powerpc-altivec.s: Likewise.
8472 * gdb.arch/powerpc-altivec2.exp: Likewise.
8473 * gdb.arch/powerpc-altivec2.s: Likewise.
8474 * gdb.arch/powerpc-altivec3.exp: Likewise.
8475 * gdb.arch/powerpc-altivec3.s: Likewise.
8476 * gdb.arch/powerpc-power7.exp: Likewise.
8477 * gdb.arch/powerpc-power7.s: Likewise.
8478 * gdb.arch/powerpc-power8.exp: Likewise.
8479 * gdb.arch/powerpc-power8.s: Likewise.
8480 * gdb.arch/powerpc-power9.exp: Likewise.
8481 * gdb.arch/powerpc-power9.s: Likewise.
8482 * gdb.arch/powerpc-vsx.exp: Likewise.
8483 * gdb.arch/powerpc-vsx.s: Likewise.
8484 * gdb.arch/powerpc-vsx2.exp: Likewise.
8485 * gdb.arch/powerpc-vsx2.s: Likewise.
8486 * gdb.arch/powerpc-vsx3.exp: Likewise.
8487 * gdb.arch/powerpc-vsx3.s: Likewise.
8488 * gdb.arch/arm-disassembler-options.exp: Likewise.
8489 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
8490 * gdb.arch/s390-disassembler-options.exp: Likewise.
8491
17cd4947
LM
84922017-02-23 Luis Machado <lgustavo@codesourcery.com>
8493
8494 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
8495 (check_supported_features): ... this. Changed return type to void.
8496 (supports_rdseed): New static global.
8497 (rdseed): Check supports_rdseed.
8498 (initialize): Call check_supported_features.
8499
2039d74e
EBM
85002017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8501
8502 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
8503 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
8504 and lqarx/stqcx.
8505 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
8506 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
8507
a51d7ecf
EBM
85082017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8509
8510 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
8511 uppercase.
8512
0224619f
JK
85132017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8514
8515 * gdb.dwarf2/formdata16.c: New file.
8516 * gdb.dwarf2/formdata16.exp: New file.
8517 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
8518
216f72a1
JK
85192017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8520
8521 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
8522 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
8523 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
8524 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
8525 DW_AT_GNU_*.
8526
43988095
JK
85272017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8528
8529 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
8530
99e8a4f9
SDJ
85312017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
8532
8533 PR gdb/21164
8534 * gdb.base/maint.exp: Add testcases for when the commands do
8535 not have arguments.
8536
b58a8c0c
TP
85372017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
8538
8539 * gdb.cp/chained-calls.exp: Use p instead of P.
8540
4e746bb6
TW
85412017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
8542
8543 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
8544 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
8545
3f77c769
TT
85462017-02-14 Tom Tromey <tom@tromey.com>
8547
8548 PR python/13598:
8549 * gdb.python/py-events.exp: Add before_prompt event tests.
8550
075beec0
AA
85512017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8552
8553 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
8554
bf5f525c
LM
85552017-02-13 Luis Machado <lgustavo@codesourcery.com>
8556
8557 * gdb.linespec/explicit.c (my_unique_function_name): New function.
8558 (main): Call my_unique_function_name.
8559 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
8560 completion of patterns with a single match.
8561 Add missing -re switches to gdb_test_multiple calls.
8562
13a66184
LM
85632017-02-13 Luis Machado <lgustavo@codesourcery.com>
8564
8565 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
8566 return if core file is not recognized.
8567
26a06916
SM
85682017-02-10 Simon Marchi <simon.marchi@ericsson.com>
8569
8570 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
8571 and extra UIs.
8572
b761ca9e
SM
85732017-02-10 Simon Marchi <simon.marchi@ericsson.com>
8574
8575 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
8576 proc_with_prefix.
8577
b964bee0
TT
85782017-02-10 Tom Tromey <tom@tromey.com>
8579
8580 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
8581
18da0c51
MG
85822017-02-10 Martin Galvan <martingalvan@sourceware.org>
8583
8584 PR gdb/21122
8585 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
8586
604c4576
JG
85872017-02-08 Jerome Guitton <guitton@adacore.com>
8588
8589 * gdb.base/define.exp: Add test for command abbreviations
8590 in define.
8591
20b477a7
LM
85922017-02-06 Luis Machado <lgustavo@codesourcery.com>
8593
8594 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
8595 * gdb.reverse/insn-reverse-x86.c: New file.
8596
3f7b46f2
IR
85972017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
8598
8599 PR tdep/20936
8600 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
8601
f0fd41c1
TT
86022017-02-03 Tom Tromey <tom@tromey.com>
8603
8604 PR rust/21097:
8605 * gdb.rust/simple.exp: Add new tests.
8606
5be5dbf0
PA
86072017-02-02 Pedro Alves <palves@redhat.com>
8608
8609 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
8610 tests.
8611
7346ef59
AA
86122017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8613
8614 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
8615 taking a 2-byte value out of a 4-byte DWARF implicit value on
8616 big-endian targets.
8617 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
8618 logic. Add test cases for DW_OP_implicit.
8619
787f0025
MM
86202017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8621
8622 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
8623
68777c29
MM
86242017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8625
8626 * gdb.btrace/enable.exp: Call gdb_exit before
8627 skip_gdbserver_tests.
8628
0a1c7e28
MM
86292017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8630
8631 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
8632 GDBFLAGS.
8633
b5ac99b0
MM
86342017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8635
8636 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
8637 the test is skipped.
8638 * gdb.btrace/data.exp: Likewise.
8639 * gdb.btrace/delta.exp: Likewise.
8640 * gdb.btrace/dlopen.exp: Likewise.
8641 * gdb.btrace/enable-running.exp: Likewise.
8642 * gdb.btrace/enable.exp: Likewise.
8643 * gdb.btrace/exception.exp: Likewise.
8644 * gdb.btrace/function_call_history.exp: Likewise.
8645 * gdb.btrace/gcore.exp: Likewise.
8646 * gdb.btrace/instruction_history.exp: Likewise.
8647 * gdb.btrace/multi-thread-step.exp: Likewise.
8648 * gdb.btrace/nohist.exp: Likewise.
8649 * gdb.btrace/non-stop.exp: Likewise.
8650 * gdb.btrace/reconnect.exp: Likewise.
8651 * gdb.btrace/record_goto-step.exp: Likewise.
8652 * gdb.btrace/record_goto.exp: Likewise.
8653 * gdb.btrace/rn-dl-bind.exp: Likewise.
8654 * gdb.btrace/segv.exp: Likewise.
8655 * gdb.btrace/step.exp: Likewise.
8656 * gdb.btrace/stepi.exp: Likewise.
8657 * gdb.btrace/tailcall-only.exp: Likewise.
8658 * gdb.btrace/tailcall.exp: Likewise.
8659 * gdb.btrace/tsx.exp: Likewise.
8660 * gdb.btrace/unknown_functions.exp: Likewise.
8661 * gdb.btrace/vdso.exp: Likewise.
8662
cd4007e4
MM
86632017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8664
8665 * gdb.btrace/enable-running.c: New.
8666 * gdb.btrace/enable-running.exp: New.
8667
2735833d
WT
86682017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
8669
8670 * gdb.arch/amd64-gs_base.c: New file.
8671 * gdb.arch/amd64-gs_base.exp: New file.
8672
b51e1e94
LM
86732017-01-26 Luis Machado <lgustavo@codesourcery.com>
8674
8675 * lib/memory.exp: Remove spurious empty newlines.
8676
72ca0410
SM
86772017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
8678
8679 * gdb.python/py-bad-printers.exp: Load python file using "source".
8680 * gdb.python/py-events.exp: Likewise.
8681 * gdb.python/py-evsignal.exp: Likewise.
8682 * gdb.python/py-evthreads.exp: Likewise.
8683 * gdb.python/py-frame-args.exp: Likewise.
8684 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
8685 * gdb.python/py-framefilter-mi.exp: Likewise.
8686 * gdb.python/py-framefilter.exp: Likewise.
8687 * gdb.python/py-mi.exp: Likewise.
8688 * gdb.python/py-pp-maint.exp: Likewise.
8689 * gdb.python/py-pp-registration.exp: Likewise.
8690 * gdb.python/py-prettyprint.exp: Likewise.
8691 (run_lang_tests): Likewise.
8692 * gdb.python/py-typeprint.exp: Likewise.
8693
e309aa65
LM
86942017-01-26 Luis Machado <lgustavo@codesourcery.com>
8695
8696 * lib/memory.exp: New file.
8697 * lib/gdb.exp: Load memory.exp.
8698 * gdb.base/memattr.exp (delete_memory): Move proc to
8699 lib/memory.exp and rename to delete_memory_regions.
8700 Replace delete_memory with delete_memory_regions.
8701 Cleanup memory regions before tests.
8702 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
8703 before tests.
8704
515aff23
LM
87052017-01-26 Luis Machado <lgustavo@codesourcery.com>
8706
8707 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
8708 files.
8709 (initialize): New function conditionally defined.
8710 (testcases): Move within conditional block.
8711 (main): Call initialize.
8712 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
8713 of gdb.reverse/insn-reverse.c.
8714 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
8715 gdb.reverse/insn-reverse.c.
8716
d8b49cf0
YQ
87172017-01-26 Yao Qi <yao.qi@linaro.org>
8718
8719 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
8720 disassemble on address 0.
8721
f13a9a0c
YQ
87222017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
8723 Yao Qi <yao.qi@linaro.org>
8724
8725 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
8726 * gdb.dwarf2/implptr-64bit.S: Remove.
8727 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
8728 variables in caller's context. Add DW_OP_implicit_value.
8729
5ac95241
YQ
87302017-01-25 Yao Qi <yao.qi@linaro.org>
8731
8732 * lib/dwarf.exp (Dwarf::_location): Handle
8733 DW_OP_GNU_implicit_pointer with proper size.
8734
23e82930
LM
87352017-01-20 Luis Machado <lgustavo@codesourcery.com>
8736
8737 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
8738 and add untested calls.
8739
d334ae25
LM
87402017-01-20 Luis Machado <lgustavo@codesourcery.com>
8741
8742 * gdb.python/python.exp: Check line number against what GDB thinks
8743 the line number is for func1.
8744
f5e6296e
IB
87452017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
8746
8747 * gdb.dlang/debug-expr.exp: New file.
8748
5b362f04
LM
87492016-12-23 Luis Machado <lgustavo@codesourcery.com>
8750
8751 Fix test names for the following files:
8752
8753 * gdb.ada/exec_changed.exp
8754 * gdb.ada/info_types.exp
8755 * gdb.arch/aarch64-atomic-inst.exp
8756 * gdb.arch/aarch64-fp.exp
8757 * gdb.arch/altivec-abi.exp
8758 * gdb.arch/altivec-regs.exp
8759 * gdb.arch/amd64-byte.exp
8760 * gdb.arch/amd64-disp-step.exp
8761 * gdb.arch/amd64-dword.exp
8762 * gdb.arch/amd64-entry-value-inline.exp
8763 * gdb.arch/amd64-entry-value-param.exp
8764 * gdb.arch/amd64-entry-value-paramref.exp
8765 * gdb.arch/amd64-entry-value.exp
8766 * gdb.arch/amd64-i386-address.exp
8767 * gdb.arch/amd64-invalid-stack-middle.exp
8768 * gdb.arch/amd64-invalid-stack-top.exp
8769 * gdb.arch/amd64-optimout-repeat.exp
8770 * gdb.arch/amd64-prologue-skip.exp
8771 * gdb.arch/amd64-prologue-xmm.exp
8772 * gdb.arch/amd64-stap-special-operands.exp
8773 * gdb.arch/amd64-stap-wrong-subexp.exp
8774 * gdb.arch/amd64-tailcall-cxx.exp
8775 * gdb.arch/amd64-tailcall-noret.exp
8776 * gdb.arch/amd64-tailcall-ret.exp
8777 * gdb.arch/amd64-tailcall-self.exp
8778 * gdb.arch/amd64-word.exp
8779 * gdb.arch/arm-bl-branch-dest.exp
8780 * gdb.arch/arm-disp-step.exp
8781 * gdb.arch/arm-neon.exp
8782 * gdb.arch/arm-single-step-kernel-helper.exp
8783 * gdb.arch/avr-flash-qualifier.exp
8784 * gdb.arch/disp-step-insn-reloc.exp
8785 * gdb.arch/e500-abi.exp
8786 * gdb.arch/e500-regs.exp
8787 * gdb.arch/ftrace-insn-reloc.exp
8788 * gdb.arch/i386-avx512.exp
8789 * gdb.arch/i386-bp_permanent.exp
8790 * gdb.arch/i386-byte.exp
8791 * gdb.arch/i386-cfi-notcurrent.exp
8792 * gdb.arch/i386-disp-step.exp
8793 * gdb.arch/i386-dr3-watch.exp
8794 * gdb.arch/i386-float.exp
8795 * gdb.arch/i386-gnu-cfi.exp
8796 * gdb.arch/i386-mpx-map.exp
8797 * gdb.arch/i386-mpx-sigsegv.exp
8798 * gdb.arch/i386-mpx-simple_segv.exp
8799 * gdb.arch/i386-mpx.exp
8800 * gdb.arch/i386-permbkpt.exp
8801 * gdb.arch/i386-prologue.exp
8802 * gdb.arch/i386-signal.exp
8803 * gdb.arch/i386-size-overlap.exp
8804 * gdb.arch/i386-unwind.exp
8805 * gdb.arch/i386-word.exp
8806 * gdb.arch/mips-fcr.exp
8807 * gdb.arch/powerpc-d128-regs.exp
8808 * gdb.arch/powerpc-stackless.exp
8809 * gdb.arch/ppc64-atomic-inst.exp
8810 * gdb.arch/s390-stackless.exp
8811 * gdb.arch/s390-tdbregs.exp
8812 * gdb.arch/s390-vregs.exp
8813 * gdb.arch/sparc-sysstep.exp
8814 * gdb.arch/thumb-bx-pc.exp
8815 * gdb.arch/thumb-singlestep.exp
8816 * gdb.arch/thumb2-it.exp
8817 * gdb.arch/vsx-regs.exp
8818 * gdb.asm/asm-source.exp
8819 * gdb.base/a2-run.exp
8820 * gdb.base/advance.exp
8821 * gdb.base/all-bin.exp
8822 * gdb.base/anon.exp
8823 * gdb.base/args.exp
8824 * gdb.base/arithmet.exp
8825 * gdb.base/async-shell.exp
8826 * gdb.base/async.exp
8827 * gdb.base/attach-pie-noexec.exp
8828 * gdb.base/attach-twice.exp
8829 * gdb.base/auto-load.exp
8830 * gdb.base/bang.exp
8831 * gdb.base/bitfields.exp
8832 * gdb.base/break-always.exp
8833 * gdb.base/break-caller-line.exp
8834 * gdb.base/break-entry.exp
8835 * gdb.base/break-inline.exp
8836 * gdb.base/break-on-linker-gcd-function.exp
8837 * gdb.base/break-probes.exp
8838 * gdb.base/break.exp
8839 * gdb.base/breakpoint-shadow.exp
8840 * gdb.base/call-ar-st.exp
8841 * gdb.base/call-sc.exp
8842 * gdb.base/call-signal-resume.exp
8843 * gdb.base/call-strs.exp
8844 * gdb.base/callfuncs.exp
8845 * gdb.base/catch-fork-static.exp
8846 * gdb.base/catch-gdb-caused-signals.exp
8847 * gdb.base/catch-load.exp
8848 * gdb.base/catch-signal-fork.exp
8849 * gdb.base/catch-signal.exp
8850 * gdb.base/catch-syscall.exp
8851 * gdb.base/charset.exp
8852 * gdb.base/checkpoint.exp
8853 * gdb.base/chng-syms.exp
8854 * gdb.base/code-expr.exp
8855 * gdb.base/code_elim.exp
8856 * gdb.base/commands.exp
8857 * gdb.base/completion.exp
8858 * gdb.base/complex.exp
8859 * gdb.base/cond-expr.exp
8860 * gdb.base/condbreak.exp
8861 * gdb.base/consecutive.exp
8862 * gdb.base/continue-all-already-running.exp
8863 * gdb.base/coredump-filter.exp
8864 * gdb.base/corefile.exp
8865 * gdb.base/dbx.exp
8866 * gdb.base/debug-expr.exp
8867 * gdb.base/define.exp
8868 * gdb.base/del.exp
8869 * gdb.base/disabled-location.exp
8870 * gdb.base/disasm-end-cu.exp
8871 * gdb.base/disasm-optim.exp
8872 * gdb.base/display.exp
8873 * gdb.base/duplicate-bp.exp
8874 * gdb.base/ena-dis-br.exp
8875 * gdb.base/ending-run.exp
8876 * gdb.base/enumval.exp
8877 * gdb.base/environ.exp
8878 * gdb.base/eu-strip-infcall.exp
8879 * gdb.base/eval-avoid-side-effects.exp
8880 * gdb.base/eval-skip.exp
8881 * gdb.base/exitsignal.exp
8882 * gdb.base/expand-psymtabs.exp
8883 * gdb.base/filesym.exp
8884 * gdb.base/find-unmapped.exp
8885 * gdb.base/finish.exp
8886 * gdb.base/float.exp
8887 * gdb.base/foll-exec-mode.exp
8888 * gdb.base/foll-exec.exp
8889 * gdb.base/foll-fork.exp
8890 * gdb.base/fortran-sym-case.exp
8891 * gdb.base/freebpcmd.exp
8892 * gdb.base/func-ptr.exp
8893 * gdb.base/func-ptrs.exp
8894 * gdb.base/funcargs.exp
8895 * gdb.base/gcore-buffer-overflow.exp
8896 * gdb.base/gcore-relro-pie.exp
8897 * gdb.base/gcore-relro.exp
8898 * gdb.base/gcore.exp
8899 * gdb.base/gdb1090.exp
8900 * gdb.base/gdb11530.exp
8901 * gdb.base/gdb11531.exp
8902 * gdb.base/gdb1821.exp
8903 * gdb.base/gdbindex-stabs.exp
8904 * gdb.base/gdbvars.exp
8905 * gdb.base/hbreak.exp
8906 * gdb.base/hbreak2.exp
8907 * gdb.base/included.exp
8908 * gdb.base/infcall-input.exp
8909 * gdb.base/inferior-died.exp
8910 * gdb.base/infnan.exp
8911 * gdb.base/info-macros.exp
8912 * gdb.base/info-os.exp
8913 * gdb.base/info-proc.exp
8914 * gdb.base/info-shared.exp
8915 * gdb.base/info-target.exp
8916 * gdb.base/infoline.exp
8917 * gdb.base/interp.exp
8918 * gdb.base/interrupt.exp
8919 * gdb.base/jit-reader.exp
8920 * gdb.base/jit-simple.exp
8921 * gdb.base/kill-after-signal.exp
8922 * gdb.base/kill-detach-inferiors-cmd.exp
8923 * gdb.base/label.exp
8924 * gdb.base/langs.exp
8925 * gdb.base/ldbl_e308.exp
8926 * gdb.base/line-symtabs.exp
8927 * gdb.base/linespecs.exp
8928 * gdb.base/list.exp
8929 * gdb.base/long_long.exp
8930 * gdb.base/longest-types.exp
8931 * gdb.base/maint.exp
8932 * gdb.base/max-value-size.exp
8933 * gdb.base/memattr.exp
8934 * gdb.base/mips_pro.exp
8935 * gdb.base/morestack.exp
8936 * gdb.base/moribund-step.exp
8937 * gdb.base/multi-forks.exp
8938 * gdb.base/nested-addr.exp
8939 * gdb.base/nextoverexit.exp
8940 * gdb.base/noreturn-finish.exp
8941 * gdb.base/noreturn-return.exp
8942 * gdb.base/nostdlib.exp
8943 * gdb.base/offsets.exp
8944 * gdb.base/opaque.exp
8945 * gdb.base/pc-fp.exp
8946 * gdb.base/permissions.exp
8947 * gdb.base/print-symbol-loading.exp
8948 * gdb.base/prologue-include.exp
8949 * gdb.base/psymtab.exp
8950 * gdb.base/ptype.exp
8951 * gdb.base/random-signal.exp
8952 * gdb.base/randomize.exp
8953 * gdb.base/range-stepping.exp
8954 * gdb.base/readline-ask.exp
8955 * gdb.base/recpar.exp
8956 * gdb.base/recurse.exp
8957 * gdb.base/relational.exp
8958 * gdb.base/restore.exp
8959 * gdb.base/return-nodebug.exp
8960 * gdb.base/return.exp
8961 * gdb.base/run-after-attach.exp
8962 * gdb.base/save-bp.exp
8963 * gdb.base/scope.exp
8964 * gdb.base/sect-cmd.exp
8965 * gdb.base/set-lang-auto.exp
8966 * gdb.base/set-noassign.exp
8967 * gdb.base/setvar.exp
8968 * gdb.base/sigall.exp
8969 * gdb.base/sigbpt.exp
8970 * gdb.base/siginfo-addr.exp
8971 * gdb.base/siginfo-infcall.exp
8972 * gdb.base/siginfo-obj.exp
8973 * gdb.base/siginfo.exp
8974 * gdb.base/signals-state-child.exp
8975 * gdb.base/signest.exp
8976 * gdb.base/sigstep.exp
8977 * gdb.base/sizeof.exp
8978 * gdb.base/skip.exp
8979 * gdb.base/solib-corrupted.exp
8980 * gdb.base/solib-nodir.exp
8981 * gdb.base/solib-search.exp
8982 * gdb.base/stack-checking.exp
8983 * gdb.base/stale-infcall.exp
8984 * gdb.base/stap-probe.exp
8985 * gdb.base/start.exp
8986 * gdb.base/step-break.exp
8987 * gdb.base/step-bt.exp
8988 * gdb.base/step-line.exp
8989 * gdb.base/step-over-exit.exp
8990 * gdb.base/step-over-syscall.exp
8991 * gdb.base/step-resume-infcall.exp
8992 * gdb.base/step-test.exp
8993 * gdb.base/store.exp
8994 * gdb.base/structs3.exp
8995 * gdb.base/sym-file.exp
8996 * gdb.base/symbol-without-target_section.exp
8997 * gdb.base/term.exp
8998 * gdb.base/testenv.exp
8999 * gdb.base/ui-redirect.exp
9000 * gdb.base/until.exp
9001 * gdb.base/unwindonsignal.exp
9002 * gdb.base/value-double-free.exp
9003 * gdb.base/vla-datatypes.exp
9004 * gdb.base/vla-ptr.exp
9005 * gdb.base/vla-sideeffect.exp
9006 * gdb.base/volatile.exp
9007 * gdb.base/watch-cond-infcall.exp
9008 * gdb.base/watch-cond.exp
9009 * gdb.base/watch-non-mem.exp
9010 * gdb.base/watch-read.exp
9011 * gdb.base/watch-vfork.exp
9012 * gdb.base/watchpoint-cond-gone.exp
9013 * gdb.base/watchpoint-delete.exp
9014 * gdb.base/watchpoint-hw-hit-once.exp
9015 * gdb.base/watchpoint-hw.exp
9016 * gdb.base/watchpoint-stops-at-right-insn.exp
9017 * gdb.base/watchpoints.exp
9018 * gdb.base/wchar.exp
9019 * gdb.base/whatis-exp.exp
9020 * gdb.btrace/buffer-size.exp
9021 * gdb.btrace/data.exp
9022 * gdb.btrace/delta.exp
9023 * gdb.btrace/dlopen.exp
9024 * gdb.btrace/enable.exp
9025 * gdb.btrace/exception.exp
9026 * gdb.btrace/function_call_history.exp
9027 * gdb.btrace/gcore.exp
9028 * gdb.btrace/instruction_history.exp
9029 * gdb.btrace/nohist.exp
9030 * gdb.btrace/reconnect.exp
9031 * gdb.btrace/record_goto-step.exp
9032 * gdb.btrace/record_goto.exp
9033 * gdb.btrace/rn-dl-bind.exp
9034 * gdb.btrace/segv.exp
9035 * gdb.btrace/step.exp
9036 * gdb.btrace/stepi.exp
9037 * gdb.btrace/tailcall-only.exp
9038 * gdb.btrace/tailcall.exp
9039 * gdb.btrace/tsx.exp
9040 * gdb.btrace/unknown_functions.exp
9041 * gdb.btrace/vdso.exp
9042 * gdb.compile/compile-ifunc.exp
9043 * gdb.compile/compile-ops.exp
9044 * gdb.compile/compile-print.exp
9045 * gdb.compile/compile-setjmp.exp
9046 * gdb.cp/abstract-origin.exp
9047 * gdb.cp/ambiguous.exp
9048 * gdb.cp/annota2.exp
9049 * gdb.cp/annota3.exp
9050 * gdb.cp/anon-ns.exp
9051 * gdb.cp/anon-struct.exp
9052 * gdb.cp/anon-union.exp
9053 * gdb.cp/arg-reference.exp
9054 * gdb.cp/baseenum.exp
9055 * gdb.cp/bool.exp
9056 * gdb.cp/breakpoint.exp
9057 * gdb.cp/bs15503.exp
9058 * gdb.cp/call-c.exp
9059 * gdb.cp/casts.exp
9060 * gdb.cp/chained-calls.exp
9061 * gdb.cp/class2.exp
9062 * gdb.cp/classes.exp
9063 * gdb.cp/cmpd-minsyms.exp
9064 * gdb.cp/converts.exp
9065 * gdb.cp/cp-relocate.exp
9066 * gdb.cp/cpcompletion.exp
9067 * gdb.cp/cpexprs.exp
9068 * gdb.cp/cplabel.exp
9069 * gdb.cp/cplusfuncs.exp
9070 * gdb.cp/cpsizeof.exp
9071 * gdb.cp/ctti.exp
9072 * gdb.cp/derivation.exp
9073 * gdb.cp/destrprint.exp
9074 * gdb.cp/dispcxx.exp
9075 * gdb.cp/enum-class.exp
9076 * gdb.cp/exception.exp
9077 * gdb.cp/exceptprint.exp
9078 * gdb.cp/expand-psymtabs-cxx.exp
9079 * gdb.cp/expand-sals.exp
9080 * gdb.cp/extern-c.exp
9081 * gdb.cp/filename.exp
9082 * gdb.cp/formatted-ref.exp
9083 * gdb.cp/fpointer.exp
9084 * gdb.cp/gdb1355.exp
9085 * gdb.cp/gdb2495.exp
9086 * gdb.cp/hang.exp
9087 * gdb.cp/impl-this.exp
9088 * gdb.cp/infcall-dlopen.exp
9089 * gdb.cp/inherit.exp
9090 * gdb.cp/iostream.exp
9091 * gdb.cp/koenig.exp
9092 * gdb.cp/local.exp
9093 * gdb.cp/m-data.exp
9094 * gdb.cp/m-static.exp
9095 * gdb.cp/mb-ctor.exp
9096 * gdb.cp/mb-inline.exp
9097 * gdb.cp/mb-templates.exp
9098 * gdb.cp/member-name.exp
9099 * gdb.cp/member-ptr.exp
9100 * gdb.cp/meth-typedefs.exp
9101 * gdb.cp/method.exp
9102 * gdb.cp/method2.exp
9103 * gdb.cp/minsym-fallback.exp
9104 * gdb.cp/misc.exp
9105 * gdb.cp/namelessclass.exp
9106 * gdb.cp/namespace-enum.exp
9107 * gdb.cp/namespace-nested-import.exp
9108 * gdb.cp/namespace.exp
9109 * gdb.cp/nextoverthrow.exp
9110 * gdb.cp/no-dmgl-verbose.exp
9111 * gdb.cp/non-trivial-retval.exp
9112 * gdb.cp/noparam.exp
9113 * gdb.cp/nsdecl.exp
9114 * gdb.cp/nsimport.exp
9115 * gdb.cp/nsnested.exp
9116 * gdb.cp/nsnoimports.exp
9117 * gdb.cp/nsrecurs.exp
9118 * gdb.cp/nsstress.exp
9119 * gdb.cp/nsusing.exp
9120 * gdb.cp/operator.exp
9121 * gdb.cp/oranking.exp
9122 * gdb.cp/overload-const.exp
9123 * gdb.cp/overload.exp
9124 * gdb.cp/ovldbreak.exp
9125 * gdb.cp/ovsrch.exp
9126 * gdb.cp/paren-type.exp
9127 * gdb.cp/parse-lang.exp
9128 * gdb.cp/pass-by-ref.exp
9129 * gdb.cp/pr-1023.exp
9130 * gdb.cp/pr-1210.exp
9131 * gdb.cp/pr-574.exp
9132 * gdb.cp/pr10687.exp
9133 * gdb.cp/pr12028.exp
9134 * gdb.cp/pr17132.exp
9135 * gdb.cp/pr17494.exp
9136 * gdb.cp/pr9067.exp
9137 * gdb.cp/pr9167.exp
9138 * gdb.cp/pr9631.exp
9139 * gdb.cp/printmethod.exp
9140 * gdb.cp/psmang.exp
9141 * gdb.cp/psymtab-parameter.exp
9142 * gdb.cp/ptype-cv-cp.exp
9143 * gdb.cp/ptype-flags.exp
9144 * gdb.cp/re-set-overloaded.exp
9145 * gdb.cp/ref-types.exp
9146 * gdb.cp/rtti.exp
9147 * gdb.cp/scope-err.exp
9148 * gdb.cp/shadow.exp
9149 * gdb.cp/smartp.exp
9150 * gdb.cp/static-method.exp
9151 * gdb.cp/static-print-quit.exp
9152 * gdb.cp/temargs.exp
9153 * gdb.cp/templates.exp
9154 * gdb.cp/try_catch.exp
9155 * gdb.cp/typedef-operator.exp
9156 * gdb.cp/typeid.exp
9157 * gdb.cp/userdef.exp
9158 * gdb.cp/using-crash.exp
9159 * gdb.cp/var-tag.exp
9160 * gdb.cp/virtbase.exp
9161 * gdb.cp/virtfunc.exp
9162 * gdb.cp/virtfunc2.exp
9163 * gdb.cp/vla-cxx.exp
9164 * gdb.disasm/t01_mov.exp
9165 * gdb.disasm/t02_mova.exp
9166 * gdb.disasm/t03_add.exp
9167 * gdb.disasm/t04_sub.exp
9168 * gdb.disasm/t05_cmp.exp
9169 * gdb.disasm/t06_ari2.exp
9170 * gdb.disasm/t07_ari3.exp
9171 * gdb.disasm/t08_or.exp
9172 * gdb.disasm/t09_xor.exp
9173 * gdb.disasm/t10_and.exp
9174 * gdb.disasm/t11_logs.exp
9175 * gdb.disasm/t12_bit.exp
9176 * gdb.disasm/t13_otr.exp
9177 * gdb.dlang/circular.exp
9178 * gdb.dwarf2/arr-stride.exp
9179 * gdb.dwarf2/arr-subrange.exp
9180 * gdb.dwarf2/atomic-type.exp
9181 * gdb.dwarf2/bad-regnum.exp
9182 * gdb.dwarf2/bitfield-parent-optimized-out.exp
9183 * gdb.dwarf2/callframecfa.exp
9184 * gdb.dwarf2/clztest.exp
9185 * gdb.dwarf2/corrupt.exp
9186 * gdb.dwarf2/data-loc.exp
9187 * gdb.dwarf2/dup-psym.exp
9188 * gdb.dwarf2/dw2-anon-mptr.exp
9189 * gdb.dwarf2/dw2-anonymous-func.exp
9190 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
9191 * gdb.dwarf2/dw2-bad-unresolved.exp
9192 * gdb.dwarf2/dw2-basic.exp
9193 * gdb.dwarf2/dw2-canonicalize-type.exp
9194 * gdb.dwarf2/dw2-case-insensitive.exp
9195 * gdb.dwarf2/dw2-common-block.exp
9196 * gdb.dwarf2/dw2-compdir-oldgcc.exp
9197 * gdb.dwarf2/dw2-compressed.exp
9198 * gdb.dwarf2/dw2-const.exp
9199 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
9200 * gdb.dwarf2/dw2-cu-size.exp
9201 * gdb.dwarf2/dw2-dup-frame.exp
9202 * gdb.dwarf2/dw2-entry-value.exp
9203 * gdb.dwarf2/dw2-icycle.exp
9204 * gdb.dwarf2/dw2-ifort-parameter.exp
9205 * gdb.dwarf2/dw2-inline-break.exp
9206 * gdb.dwarf2/dw2-inline-param.exp
9207 * gdb.dwarf2/dw2-intercu.exp
9208 * gdb.dwarf2/dw2-intermix.exp
9209 * gdb.dwarf2/dw2-lexical-block-bare.exp
9210 * gdb.dwarf2/dw2-linkage-name-trust.exp
9211 * gdb.dwarf2/dw2-minsym-in-cu.exp
9212 * gdb.dwarf2/dw2-noloc.exp
9213 * gdb.dwarf2/dw2-op-call.exp
9214 * gdb.dwarf2/dw2-op-out-param.exp
9215 * gdb.dwarf2/dw2-opt-structptr.exp
9216 * gdb.dwarf2/dw2-param-error.exp
9217 * gdb.dwarf2/dw2-producer.exp
9218 * gdb.dwarf2/dw2-ranges-base.exp
9219 * gdb.dwarf2/dw2-ref-missing-frame.exp
9220 * gdb.dwarf2/dw2-reg-undefined.exp
9221 * gdb.dwarf2/dw2-regno-invalid.exp
9222 * gdb.dwarf2/dw2-restore.exp
9223 * gdb.dwarf2/dw2-restrict.exp
9224 * gdb.dwarf2/dw2-single-line-discriminators.exp
9225 * gdb.dwarf2/dw2-strp.exp
9226 * gdb.dwarf2/dw2-undefined-ret-addr.exp
9227 * gdb.dwarf2/dw2-unresolved.exp
9228 * gdb.dwarf2/dw2-var-zero-addr.exp
9229 * gdb.dwarf2/dw4-sig-types.exp
9230 * gdb.dwarf2/dwz.exp
9231 * gdb.dwarf2/dynarr-ptr.exp
9232 * gdb.dwarf2/enum-type.exp
9233 * gdb.dwarf2/gdb-index.exp
9234 * gdb.dwarf2/implptr-64bit.exp
9235 * gdb.dwarf2/implptr-optimized-out.exp
9236 * gdb.dwarf2/implptr.exp
9237 * gdb.dwarf2/implref-array.exp
9238 * gdb.dwarf2/implref-const.exp
9239 * gdb.dwarf2/implref-global.exp
9240 * gdb.dwarf2/implref-struct.exp
9241 * gdb.dwarf2/mac-fileno.exp
9242 * gdb.dwarf2/main-subprogram.exp
9243 * gdb.dwarf2/member-ptr-forwardref.exp
9244 * gdb.dwarf2/method-ptr.exp
9245 * gdb.dwarf2/missing-sig-type.exp
9246 * gdb.dwarf2/nonvar-access.exp
9247 * gdb.dwarf2/opaque-type-lookup.exp
9248 * gdb.dwarf2/pieces-optimized-out.exp
9249 * gdb.dwarf2/pieces.exp
9250 * gdb.dwarf2/pr10770.exp
9251 * gdb.dwarf2/pr13961.exp
9252 * gdb.dwarf2/staticvirtual.exp
9253 * gdb.dwarf2/subrange.exp
9254 * gdb.dwarf2/symtab-producer.exp
9255 * gdb.dwarf2/trace-crash.exp
9256 * gdb.dwarf2/typeddwarf.exp
9257 * gdb.dwarf2/valop.exp
9258 * gdb.dwarf2/watch-notconst.exp
9259 * gdb.fortran/array-element.exp
9260 * gdb.fortran/charset.exp
9261 * gdb.fortran/common-block.exp
9262 * gdb.fortran/complex.exp
9263 * gdb.fortran/derived-type-function.exp
9264 * gdb.fortran/derived-type.exp
9265 * gdb.fortran/logical.exp
9266 * gdb.fortran/module.exp
9267 * gdb.fortran/multi-dim.exp
9268 * gdb.fortran/nested-funcs.exp
9269 * gdb.fortran/print-formatted.exp
9270 * gdb.fortran/subarray.exp
9271 * gdb.fortran/vla-alloc-assoc.exp
9272 * gdb.fortran/vla-datatypes.exp
9273 * gdb.fortran/vla-history.exp
9274 * gdb.fortran/vla-ptr-info.exp
9275 * gdb.fortran/vla-ptype-sub.exp
9276 * gdb.fortran/vla-ptype.exp
9277 * gdb.fortran/vla-sizeof.exp
9278 * gdb.fortran/vla-type.exp
9279 * gdb.fortran/vla-value-sub-arbitrary.exp
9280 * gdb.fortran/vla-value-sub-finish.exp
9281 * gdb.fortran/vla-value-sub.exp
9282 * gdb.fortran/vla-value.exp
9283 * gdb.fortran/whatis_type.exp
9284 * gdb.go/chan.exp
9285 * gdb.go/handcall.exp
9286 * gdb.go/hello.exp
9287 * gdb.go/integers.exp
9288 * gdb.go/methods.exp
9289 * gdb.go/package.exp
9290 * gdb.go/strings.exp
9291 * gdb.go/types.exp
9292 * gdb.go/unsafe.exp
9293 * gdb.guile/scm-arch.exp
9294 * gdb.guile/scm-block.exp
9295 * gdb.guile/scm-breakpoint.exp
9296 * gdb.guile/scm-cmd.exp
9297 * gdb.guile/scm-disasm.exp
9298 * gdb.guile/scm-equal.exp
9299 * gdb.guile/scm-frame-args.exp
9300 * gdb.guile/scm-frame-inline.exp
9301 * gdb.guile/scm-frame.exp
9302 * gdb.guile/scm-iterator.exp
9303 * gdb.guile/scm-math.exp
9304 * gdb.guile/scm-objfile.exp
9305 * gdb.guile/scm-ports.exp
9306 * gdb.guile/scm-symbol.exp
9307 * gdb.guile/scm-symtab.exp
9308 * gdb.guile/scm-value-cc.exp
9309 * gdb.guile/types-module.exp
9310 * gdb.linespec/break-ask.exp
9311 * gdb.linespec/cpexplicit.exp
9312 * gdb.linespec/explicit.exp
9313 * gdb.linespec/keywords.exp
9314 * gdb.linespec/linespec.exp
9315 * gdb.linespec/ls-dollar.exp
9316 * gdb.linespec/ls-errs.exp
9317 * gdb.linespec/skip-two.exp
9318 * gdb.linespec/thread.exp
9319 * gdb.mi/mi-async.exp
9320 * gdb.mi/mi-basics.exp
9321 * gdb.mi/mi-break.exp
9322 * gdb.mi/mi-catch-load.exp
9323 * gdb.mi/mi-cli.exp
9324 * gdb.mi/mi-cmd-param-changed.exp
9325 * gdb.mi/mi-console.exp
9326 * gdb.mi/mi-detach.exp
9327 * gdb.mi/mi-disassemble.exp
9328 * gdb.mi/mi-eval.exp
9329 * gdb.mi/mi-file-transfer.exp
9330 * gdb.mi/mi-file.exp
9331 * gdb.mi/mi-fill-memory.exp
9332 * gdb.mi/mi-inheritance-syntax-error.exp
9333 * gdb.mi/mi-linespec-err-cp.exp
9334 * gdb.mi/mi-logging.exp
9335 * gdb.mi/mi-memory-changed.exp
9336 * gdb.mi/mi-read-memory.exp
9337 * gdb.mi/mi-record-changed.exp
9338 * gdb.mi/mi-reg-undefined.exp
9339 * gdb.mi/mi-regs.exp
9340 * gdb.mi/mi-return.exp
9341 * gdb.mi/mi-reverse.exp
9342 * gdb.mi/mi-simplerun.exp
9343 * gdb.mi/mi-solib.exp
9344 * gdb.mi/mi-stack.exp
9345 * gdb.mi/mi-stepi.exp
9346 * gdb.mi/mi-syn-frame.exp
9347 * gdb.mi/mi-until.exp
9348 * gdb.mi/mi-var-block.exp
9349 * gdb.mi/mi-var-child.exp
9350 * gdb.mi/mi-var-cmd.exp
9351 * gdb.mi/mi-var-cp.exp
9352 * gdb.mi/mi-var-display.exp
9353 * gdb.mi/mi-var-invalidate.exp
9354 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
9355 * gdb.mi/mi-vla-fortran.exp
9356 * gdb.mi/mi-watch.exp
9357 * gdb.mi/mi2-var-child.exp
9358 * gdb.mi/user-selected-context-sync.exp
9359 * gdb.modula2/unbounded-array.exp
9360 * gdb.multi/dummy-frame-restore.exp
9361 * gdb.multi/multi-arch-exec.exp
9362 * gdb.multi/multi-arch.exp
9363 * gdb.multi/tids.exp
9364 * gdb.multi/watchpoint-multi.exp
9365 * gdb.opencl/callfuncs.exp
9366 * gdb.opencl/convs_casts.exp
9367 * gdb.opencl/datatypes.exp
9368 * gdb.opencl/operators.exp
9369 * gdb.opencl/vec_comps.exp
9370 * gdb.opt/clobbered-registers-O2.exp
9371 * gdb.opt/inline-break.exp
9372 * gdb.opt/inline-bt.exp
9373 * gdb.opt/inline-cmds.exp
9374 * gdb.opt/inline-locals.exp
9375 * gdb.pascal/case-insensitive-symbols.exp
9376 * gdb.pascal/floats.exp
9377 * gdb.pascal/gdb11492.exp
9378 * gdb.python/lib-types.exp
9379 * gdb.python/py-arch.exp
9380 * gdb.python/py-as-string.exp
9381 * gdb.python/py-bad-printers.exp
9382 * gdb.python/py-block.exp
9383 * gdb.python/py-breakpoint-create-fail.exp
9384 * gdb.python/py-breakpoint.exp
9385 * gdb.python/py-caller-is.exp
9386 * gdb.python/py-cmd.exp
9387 * gdb.python/py-explore-cc.exp
9388 * gdb.python/py-explore.exp
9389 * gdb.python/py-finish-breakpoint.exp
9390 * gdb.python/py-finish-breakpoint2.exp
9391 * gdb.python/py-frame-args.exp
9392 * gdb.python/py-frame-inline.exp
9393 * gdb.python/py-frame.exp
9394 * gdb.python/py-framefilter-mi.exp
9395 * gdb.python/py-infthread.exp
9396 * gdb.python/py-lazy-string.exp
9397 * gdb.python/py-linetable.exp
9398 * gdb.python/py-mi-events.exp
9399 * gdb.python/py-mi-objfile.exp
9400 * gdb.python/py-mi.exp
9401 * gdb.python/py-objfile.exp
9402 * gdb.python/py-pp-integral.exp
9403 * gdb.python/py-pp-maint.exp
9404 * gdb.python/py-pp-re-notag.exp
9405 * gdb.python/py-pp-registration.exp
9406 * gdb.python/py-recurse-unwind.exp
9407 * gdb.python/py-strfns.exp
9408 * gdb.python/py-symbol.exp
9409 * gdb.python/py-symtab.exp
9410 * gdb.python/py-sync-interp.exp
9411 * gdb.python/py-typeprint.exp
9412 * gdb.python/py-unwind-maint.exp
9413 * gdb.python/py-unwind.exp
9414 * gdb.python/py-value-cc.exp
9415 * gdb.python/py-xmethods.exp
9416 * gdb.reverse/amd64-tailcall-reverse.exp
9417 * gdb.reverse/break-precsave.exp
9418 * gdb.reverse/break-reverse.exp
9419 * gdb.reverse/consecutive-precsave.exp
9420 * gdb.reverse/consecutive-reverse.exp
9421 * gdb.reverse/finish-precsave.exp
9422 * gdb.reverse/finish-reverse-bkpt.exp
9423 * gdb.reverse/finish-reverse.exp
9424 * gdb.reverse/fstatat-reverse.exp
9425 * gdb.reverse/getresuid-reverse.exp
9426 * gdb.reverse/i386-precsave.exp
9427 * gdb.reverse/i386-reverse.exp
9428 * gdb.reverse/i386-sse-reverse.exp
9429 * gdb.reverse/i387-env-reverse.exp
9430 * gdb.reverse/i387-stack-reverse.exp
9431 * gdb.reverse/insn-reverse.exp
9432 * gdb.reverse/machinestate-precsave.exp
9433 * gdb.reverse/machinestate.exp
9434 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9435 * gdb.reverse/pipe-reverse.exp
9436 * gdb.reverse/readv-reverse.exp
9437 * gdb.reverse/recvmsg-reverse.exp
9438 * gdb.reverse/rerun-prec.exp
9439 * gdb.reverse/s390-mvcle.exp
9440 * gdb.reverse/step-precsave.exp
9441 * gdb.reverse/step-reverse.exp
9442 * gdb.reverse/time-reverse.exp
9443 * gdb.reverse/until-precsave.exp
9444 * gdb.reverse/until-reverse.exp
9445 * gdb.reverse/waitpid-reverse.exp
9446 * gdb.reverse/watch-precsave.exp
9447 * gdb.reverse/watch-reverse.exp
9448 * gdb.rust/generics.exp
9449 * gdb.rust/methods.exp
9450 * gdb.rust/modules.exp
9451 * gdb.rust/simple.exp
9452 * gdb.server/connect-with-no-symbol-file.exp
9453 * gdb.server/ext-attach.exp
9454 * gdb.server/ext-restart.exp
9455 * gdb.server/ext-wrapper.exp
9456 * gdb.server/file-transfer.exp
9457 * gdb.server/server-exec-info.exp
9458 * gdb.server/server-kill.exp
9459 * gdb.server/server-mon.exp
9460 * gdb.server/wrapper.exp
9461 * gdb.stabs/exclfwd.exp
9462 * gdb.stabs/gdb11479.exp
9463 * gdb.threads/clone-new-thread-event.exp
9464 * gdb.threads/corethreads.exp
9465 * gdb.threads/current-lwp-dead.exp
9466 * gdb.threads/dlopen-libpthread.exp
9467 * gdb.threads/gcore-thread.exp
9468 * gdb.threads/sigstep-threads.exp
9469 * gdb.threads/watchpoint-fork.exp
9470 * gdb.trace/actions-changed.exp
9471 * gdb.trace/backtrace.exp
9472 * gdb.trace/change-loc.exp
9473 * gdb.trace/circ.exp
9474 * gdb.trace/collection.exp
9475 * gdb.trace/disconnected-tracing.exp
9476 * gdb.trace/ftrace.exp
9477 * gdb.trace/mi-trace-frame-collected.exp
9478 * gdb.trace/mi-trace-unavailable.exp
9479 * gdb.trace/mi-traceframe-changed.exp
9480 * gdb.trace/mi-tsv-changed.exp
9481 * gdb.trace/no-attach-trace.exp
9482 * gdb.trace/passc-dyn.exp
9483 * gdb.trace/qtro.exp
9484 * gdb.trace/range-stepping.exp
9485 * gdb.trace/read-memory.exp
9486 * gdb.trace/save-trace.exp
9487 * gdb.trace/signal.exp
9488 * gdb.trace/status-stop.exp
9489 * gdb.trace/tfile.exp
9490 * gdb.trace/trace-break.exp
9491 * gdb.trace/trace-buffer-size.exp
9492 * gdb.trace/trace-condition.exp
9493 * gdb.trace/tracefile-pseudo-reg.exp
9494 * gdb.trace/tstatus.exp
9495 * gdb.trace/unavailable.exp
9496 * gdb.trace/while-dyn.exp
9497 * gdb.trace/while-stepping.exp
9498
34c41c68
DE
94992016-12-22 Doug Evans <xdje42@gmail.com>
9500
9501 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
9502 and msymbols.
9503
16e69324
YQ
95042016-12-19 Yao Qi <yao.qi@linaro.org>
9505
9506 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
9507 (test_with_self): Don't call do_steps_and_nexts, and remove
9508 code about stepping into xmalloc.
9509
f94f411b
YQ
95102016-12-09 Yao Qi <yao.qi@linaro.org>
9511
9512 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
9513
95142016-12-09 Yao Qi <yao.qi@linaro.org>
9515
9516 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
9517
f1b5deee
PA
95182016-12-09 Pedro Alves <palves@redhat.com>
9519
9520 * gdb.base/all-architectures-0.exp: New file.
9521 * gdb.base/all-architectures-1.exp: New file.
9522 * gdb.base/all-architectures-2.exp: New file.
9523 * gdb.base/all-architectures-3.exp: New file.
9524 * gdb.base/all-architectures-4.exp: New file.
9525 * gdb.base/all-architectures-5.exp: New file.
9526 * gdb.base/all-architectures-6.exp: New file.
9527 * gdb.base/all-architectures-7.exp: New file.
9528 * gdb.base/all-architectures.exp.in: New file.
9529
364ca42e
YQ
95302016-12-09 Yao Qi <yao.qi@linaro.org>
9531
9532 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
9533
107c2d62
LM
95342016-12-02 Luis Machado <lgustavo@codesourcery.com>
9535
9536 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
9537 possible.
9538 Remove useless pattern-matching code.
9539
df3ee9ca
PA
95402016-12-02 Pedro Alves <palves@redhat.com>
9541
9542 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
9543 procedure.
9544 (top level): Call it.
9545
ec835369
PA
95462016-12-02 Pedro Alves <palves@redhat.com>
9547
9548 * gdb.base/commands.exp (user_defined_command_args_stack_test):
9549 New procedure.
9550 (top level): Call it.
9551
01770bbd
PA
95522016-12-02 Pedro Alves <palves@redhat.com>
9553
9554 PR cli/20559
9555 * gdb.base/commands.exp (user_defined_command_args_eval): New
9556 procedure.
9557 (top level): Call it.
9558
008459ea
LM
95592016-12-02 Luis Machado <lgustavo@codesourcery.com>
9560
9561 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
9562 timeout handling.
9563
0c1b455e
TT
95642016-12-02 Tom Tromey <tom@tromey.com>
9565
9566 * gdb.dwarf2/main-subprogram.c: New file.
9567 * gdb.dwarf2/main-subprogram.exp: New file.
9568
018572b8
LM
95692016-12-01 Luis Machado <lgustavo@codesourcery.com>
9570
9571 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
9572 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
9573 gdb_test_no_output for a couple of cases.
9574 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
9575
84c93cd5
LM
95762016-12-01 Luis Machado <lgustavo@codesourcery.com>
9577
9578 Fix test names and standardize compilation error messages throughout
9579 the following files:
9580
9581 * gdb.ada/start.exp
9582 * gdb.arch/alpha-step.exp
9583 * gdb.arch/e500-prologue.exp
9584 * gdb.arch/ftrace-insn-reloc.exp
9585 * gdb.arch/gdb1291.exp
9586 * gdb.arch/gdb1431.exp
9587 * gdb.arch/gdb1558.exp
9588 * gdb.arch/i386-dr3-watch.exp
9589 * gdb.arch/i386-sse-stack-align.exp
9590 * gdb.arch/ia64-breakpoint-shadow.exp
9591 * gdb.arch/pa-nullify.exp
9592 * gdb.arch/powerpc-aix-prologue.exp
9593 * gdb.arch/thumb-bx-pc.exp
9594 * gdb.base/annota1.exp
9595 * gdb.base/annota3.exp
9596 * gdb.base/arrayidx.exp
9597 * gdb.base/assign.exp
9598 * gdb.base/attach.exp
9599 * gdb.base/auxv.exp
9600 * gdb.base/bang.exp
9601 * gdb.base/bfp-test.exp
9602 * gdb.base/bigcore.exp
9603 * gdb.base/bitfields2.exp
9604 * gdb.base/break-fun-addr.exp
9605 * gdb.base/break-probes.exp
9606 * gdb.base/call-rt-st.exp
9607 * gdb.base/callexit.exp
9608 * gdb.base/catch-fork-kill.exp
9609 * gdb.base/charset.exp
9610 * gdb.base/checkpoint.exp
9611 * gdb.base/comprdebug.exp
9612 * gdb.base/constvars.exp
9613 * gdb.base/coredump-filter.exp
9614 * gdb.base/cursal.exp
9615 * gdb.base/cvexpr.exp
9616 * gdb.base/detach.exp
9617 * gdb.base/display.exp
9618 * gdb.base/dmsym.exp
9619 * gdb.base/dprintf-pending.exp
9620 * gdb.base/dso2dso.exp
9621 * gdb.base/dtrace-probe.exp
9622 * gdb.base/dump.exp
9623 * gdb.base/enum_cond.exp
9624 * gdb.base/exe-lock.exp
9625 * gdb.base/exec-invalid-sysroot.exp
9626 * gdb.base/execl-update-breakpoints.exp
9627 * gdb.base/exprs.exp
9628 * gdb.base/fileio.exp
9629 * gdb.base/find.exp
9630 * gdb.base/finish.exp
9631 * gdb.base/fixsection.exp
9632 * gdb.base/foll-vfork.exp
9633 * gdb.base/frame-args.exp
9634 * gdb.base/gcore.exp
9635 * gdb.base/gdb1250.exp
9636 * gdb.base/global-var-nested-by-dso.exp
9637 * gdb.base/gnu-ifunc.exp
9638 * gdb.base/hashline1.exp
9639 * gdb.base/hashline2.exp
9640 * gdb.base/hashline3.exp
9641 * gdb.base/hbreak-in-shr-unsupported.exp
9642 * gdb.base/huge.exp
9643 * gdb.base/infcall-input.exp
9644 * gdb.base/info-fun.exp
9645 * gdb.base/info-shared.exp
9646 * gdb.base/jit-simple.exp
9647 * gdb.base/jit-so.exp
9648 * gdb.base/jit.exp
9649 * gdb.base/jump.exp
9650 * gdb.base/label.exp
9651 * gdb.base/lineinc.exp
9652 * gdb.base/logical.exp
9653 * gdb.base/longjmp.exp
9654 * gdb.base/macscp.exp
9655 * gdb.base/miscexprs.exp
9656 * gdb.base/new-ui-echo.exp
9657 * gdb.base/new-ui-pending-input.exp
9658 * gdb.base/new-ui.exp
9659 * gdb.base/nodebug.exp
9660 * gdb.base/nofield.exp
9661 * gdb.base/offsets.exp
9662 * gdb.base/overlays.exp
9663 * gdb.base/pending.exp
9664 * gdb.base/pointers.exp
9665 * gdb.base/pr11022.exp
9666 * gdb.base/printcmds.exp
9667 * gdb.base/prologue.exp
9668 * gdb.base/ptr-typedef.exp
9669 * gdb.base/realname-expand.exp
9670 * gdb.base/relativedebug.exp
9671 * gdb.base/relocate.exp
9672 * gdb.base/remote.exp
9673 * gdb.base/reread.exp
9674 * gdb.base/return2.exp
9675 * gdb.base/savedregs.exp
9676 * gdb.base/sep.exp
9677 * gdb.base/sepdebug.exp
9678 * gdb.base/sepsymtab.exp
9679 * gdb.base/set-inferior-tty.exp
9680 * gdb.base/setshow.exp
9681 * gdb.base/shlib-call.exp
9682 * gdb.base/sigaltstack.exp
9683 * gdb.base/siginfo-addr.exp
9684 * gdb.base/signals.exp
9685 * gdb.base/signull.exp
9686 * gdb.base/sigrepeat.exp
9687 * gdb.base/so-impl-ld.exp
9688 * gdb.base/solib-display.exp
9689 * gdb.base/solib-overlap.exp
9690 * gdb.base/solib-search.exp
9691 * gdb.base/solib-symbol.exp
9692 * gdb.base/structs.exp
9693 * gdb.base/structs2.exp
9694 * gdb.base/symtab-search-order.exp
9695 * gdb.base/twice.exp
9696 * gdb.base/unload.exp
9697 * gdb.base/varargs.exp
9698 * gdb.base/watchpoint-solib.exp
9699 * gdb.base/watchpoint.exp
9700 * gdb.base/whatis.exp
9701 * gdb.base/wrong_frame_bt_full.exp
9702 * gdb.btrace/dlopen.exp
9703 * gdb.cell/ea-standalone.exp
9704 * gdb.cell/ea-test.exp
9705 * gdb.cp/dispcxx.exp
9706 * gdb.cp/gdb2384.exp
9707 * gdb.cp/method2.exp
9708 * gdb.cp/nextoverthrow.exp
9709 * gdb.cp/pr10728.exp
9710 * gdb.disasm/am33.exp
9711 * gdb.disasm/h8300s.exp
9712 * gdb.disasm/mn10300.exp
9713 * gdb.disasm/sh3.exp
9714 * gdb.dwarf2/dw2-dir-file-name.exp
9715 * gdb.fortran/complex.exp
9716 * gdb.fortran/library-module.exp
9717 * gdb.guile/scm-pretty-print.exp
9718 * gdb.guile/scm-symbol.exp
9719 * gdb.guile/scm-type.exp
9720 * gdb.guile/scm-value.exp
9721 * gdb.linespec/linespec.exp
9722 * gdb.mi/gdb701.exp
9723 * gdb.mi/gdb792.exp
9724 * gdb.mi/mi-breakpoint-changed.exp
9725 * gdb.mi/mi-dprintf-pending.exp
9726 * gdb.mi/mi-dprintf.exp
9727 * gdb.mi/mi-exit-code.exp
9728 * gdb.mi/mi-pending.exp
9729 * gdb.mi/mi-solib.exp
9730 * gdb.mi/new-ui-mi-sync.exp
9731 * gdb.mi/pr11022.exp
9732 * gdb.mi/user-selected-context-sync.exp
9733 * gdb.opt/solib-intra-step.exp
9734 * gdb.python/py-events.exp
9735 * gdb.python/py-finish-breakpoint.exp
9736 * gdb.python/py-mi.exp
9737 * gdb.python/py-prettyprint.exp
9738 * gdb.python/py-shared.exp
9739 * gdb.python/py-symbol.exp
9740 * gdb.python/py-template.exp
9741 * gdb.python/py-type.exp
9742 * gdb.python/py-value.exp
9743 * gdb.reverse/solib-precsave.exp
9744 * gdb.reverse/solib-reverse.exp
9745 * gdb.server/solib-list.exp
9746 * gdb.stabs/weird.exp
9747 * gdb.threads/reconnect-signal.exp
9748 * gdb.threads/stepi-random-signal.exp
9749 * gdb.trace/actions.exp
9750 * gdb.trace/ax.exp
9751 * gdb.trace/backtrace.exp
9752 * gdb.trace/change-loc.exp
9753 * gdb.trace/deltrace.exp
9754 * gdb.trace/ftrace-lock.exp
9755 * gdb.trace/ftrace.exp
9756 * gdb.trace/infotrace.exp
9757 * gdb.trace/mi-tracepoint-changed.exp
9758 * gdb.trace/packetlen.exp
9759 * gdb.trace/passcount.exp
9760 * gdb.trace/pending.exp
9761 * gdb.trace/range-stepping.exp
9762 * gdb.trace/report.exp
9763 * gdb.trace/stap-trace.exp
9764 * gdb.trace/tfind.exp
9765 * gdb.trace/trace-break.exp
9766 * gdb.trace/trace-condition.exp
9767 * gdb.trace/trace-enable-disable.exp
9768 * gdb.trace/trace-mt.exp
9769 * gdb.trace/tracecmd.exp
9770 * gdb.trace/tspeed.exp
9771 * gdb.trace/tsv.exp
9772 * lib/perftest.exp
9773
fb9feb35
LM
97742016-12-01 Luis Machado <lgustavo@codesourcery.com>
9775
9776 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
9777 with gdb_test_no_output.
9778 Use command as test name.
9779
cd2ddb6c
LM
97802016-12-01 Luis Machado <lgustavo@codesourcery.com>
9781
9782 Fix test names starting with uppercase throughout the files.
9783
9784 * gdb.ada/assign_1.exp
9785 * gdb.ada/boolean_expr.exp
9786 * gdb.base/arrayidx.exp
9787 * gdb.base/del.exp
9788 * gdb.base/gcore-buffer-overflow.exp
9789 * gdb.base/testenv.exp
9790 * gdb.compile/compile.exp
9791 * gdb.python/py-framefilter-invalidarg.exp
9792 * gdb.python/py-framefilter.exp
9793
bb95117e
LM
97942016-12-01 Luis Machado <lgustavo@codesourcery.com>
9795
9796 Fix test names starting with uppercase throughout the files.
9797
9798 * gdb.ada/array_return.exp
9799 * gdb.ada/expr_delims.exp
9800 * gdb.ada/mi_dyn_arr.exp
9801 * gdb.ada/mi_interface.exp
9802 * gdb.ada/mi_var_array.exp
9803 * gdb.ada/watch_arg.exp
9804 * gdb.arch/alpha-step.exp
9805 * gdb.arch/altivec-regs.exp
9806 * gdb.arch/e500-regs.exp
9807 * gdb.arch/powerpc-d128-regs.exp
9808 * gdb.base/arrayidx.exp
9809 * gdb.base/break.exp
9810 * gdb.base/checkpoint.exp
9811 * gdb.base/debug-expr.exp
9812 * gdb.base/dmsym.exp
9813 * gdb.base/radix.exp
9814 * gdb.base/sepdebug.exp
9815 * gdb.base/testenv.exp
9816 * gdb.base/watch_thread_num.exp
9817 * gdb.base/watchpoint-cond-gone.exp
9818 * gdb.cell/break.exp
9819 * gdb.cell/ea-cache.exp
9820 * gdb.compile/compile.exp
9821 * gdb.cp/gdb2495.exp
9822 * gdb.gdb/selftest.exp
9823 * gdb.gdb/xfullpath.exp
9824 * gdb.go/hello.exp
9825 * gdb.go/integers.exp
9826 * gdb.objc/basicclass.exp
9827 * gdb.pascal/hello.exp
9828 * gdb.pascal/integers.exp
9829 * gdb.python/py-breakpoint.exp
9830 * gdb.python/py-cmd.exp
9831 * gdb.python/py-linetable.exp
9832 * gdb.python/py-xmethods.exp
9833 * gdb.python/python.exp
9834 * gdb.reverse/consecutive-precsave.exp
9835 * gdb.reverse/finish-precsave.exp
9836 * gdb.reverse/i386-precsave.exp
9837 * gdb.reverse/machinestate-precsave.exp
9838 * gdb.reverse/sigall-precsave.exp
9839 * gdb.reverse/solib-precsave.exp
9840 * gdb.reverse/step-precsave.exp
9841 * gdb.reverse/until-precsave.exp
9842 * gdb.reverse/watch-precsave.exp
9843 * gdb.threads/leader-exit.exp
9844 * gdb.threads/pthreads.exp
9845 * gdb.threads/wp-replication.exp
9846 * gdb.trace/actions.exp
9847 * gdb.trace/mi-tsv-changed.exp
9848 * gdb.trace/tsv.exp
9849
de97fdd4
LM
98502016-12-01 Luis Machado <lgustavo@codesourcery.com>
9851
9852 Fix test names starting with uppercase throughout the files.
9853
9854 * gdb.arch/i386-bp_permanent.exp
9855 * gdb.arch/i386-gnu-cfi.exp
9856 * gdb.base/disasm-end-cu.exp
9857 * gdb.base/macscp.exp
9858 * gdb.base/pending.exp
9859 * gdb.base/watch_thread_num.exp
9860 * gdb.cp/exception.exp
9861 * gdb.cp/gdb2495.exp
9862 * gdb.cp/local.exp
9863 * gdb.python/py-evsignal.exp
9864 * gdb.python/python.exp
9865 * gdb.trace/tracecmd.exp
9866
9f058c10
LM
98672016-12-01 Luis Machado <lgustavo@codesourcery.com>
9868
9869 Fix test names starting with uppercase throughout the files.
9870
9871 * gdb.base/charset.exp
9872 * gdb.base/eval.exp
9873 * gdb.base/multi-forks.exp
9874 * gdb.guile/scm-progspace.exp
9875 * gdb.opencl/datatypes.exp
9876 * gdb.python/py-block.exp
9877 * gdb.python/py-function.exp
9878 * gdb.python/py-symbol.exp
9879 * gdb.python/py-symtab.exp
9880 * gdb.python/py-xmethods.exp
9881 * gdb.reverse/break-precsave.exp
9882 * gdb.reverse/break-reverse.exp
9883 * gdb.reverse/consecutive-precsave.exp
9884 * gdb.reverse/consecutive-reverse.exp
9885 * gdb.reverse/finish-precsave.exp
9886 * gdb.reverse/finish-reverse-bkpt.exp
9887 * gdb.reverse/finish-reverse.exp
9888 * gdb.reverse/fstatat-reverse.exp
9889 * gdb.reverse/getresuid-reverse.exp
9890 * gdb.reverse/i386-precsave.exp
9891 * gdb.reverse/i386-reverse.exp
9892 * gdb.reverse/i386-sse-reverse.exp
9893 * gdb.reverse/i387-stack-reverse.exp
9894 * gdb.reverse/insn-reverse.exp
9895 * gdb.reverse/machinestate-precsave.exp
9896 * gdb.reverse/machinestate.exp
9897 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9898 * gdb.reverse/pipe-reverse.exp
9899 * gdb.reverse/readv-reverse.exp
9900 * gdb.reverse/recvmsg-reverse.exp
9901 * gdb.reverse/rerun-prec.exp
9902 * gdb.reverse/s390-mvcle.exp
9903 * gdb.reverse/sigall-precsave.exp
9904 * gdb.reverse/sigall-reverse.exp
9905 * gdb.reverse/solib-precsave.exp
9906 * gdb.reverse/solib-reverse.exp
9907 * gdb.reverse/step-precsave.exp
9908 * gdb.reverse/step-reverse.exp
9909 * gdb.reverse/time-reverse.exp
9910 * gdb.reverse/until-precsave.exp
9911 * gdb.reverse/until-reverse.exp
9912 * gdb.reverse/waitpid-reverse.exp
9913 * gdb.reverse/watch-precsave.exp
9914 * gdb.reverse/watch-reverse.exp
9915
cdc7edd7
LM
99162016-12-01 Luis Machado <lgustavo@codesourcery.com>
9917
9918 Fix test names starting with uppercase throughout the files.
9919
9920 * gdb.arch/i386-mpx-simple_segv.exp
9921 * gdb.arch/i386-mpx.exp
9922 * gdb.arch/i386-permbkpt.exp
9923 * gdb.arch/pa-nullify.exp
9924 * gdb.arch/powerpc-d128-regs.exp
9925 * gdb.arch/vsx-regs.exp
9926 * gdb.base/bfp-test.exp
9927 * gdb.base/break.exp
9928 * gdb.base/breakpoint-shadow.exp
9929 * gdb.base/callfuncs.exp
9930 * gdb.base/charset.exp
9931 * gdb.base/commands.exp
9932 * gdb.base/completion.exp
9933 * gdb.base/dfp-test.exp
9934 * gdb.base/echo.exp
9935 * gdb.base/ending-run.exp
9936 * gdb.base/eval.exp
9937 * gdb.base/expand-psymtabs.exp
9938 * gdb.base/float128.exp
9939 * gdb.base/floatn.exp
9940 * gdb.base/foll-exec-mode.exp
9941 * gdb.base/gdb1056.exp
9942 * gdb.base/gdb11531.exp
9943 * gdb.base/kill-after-signal.exp
9944 * gdb.base/multi-forks.exp
9945 * gdb.base/overlays.exp
9946 * gdb.base/pending.exp
9947 * gdb.base/sepdebug.exp
9948 * gdb.base/testenv.exp
9949 * gdb.base/valgrind-db-attach.exp
9950 * gdb.base/watch_thread_num.exp
9951 * gdb.base/watchpoint-cond-gone.exp
9952 * gdb.base/watchpoint.exp
9953 * gdb.base/watchpoints.exp
9954 * gdb.cp/arg-reference.exp
9955 * gdb.cp/baseenum.exp
9956 * gdb.cp/operator.exp
9957 * gdb.cp/shadow.exp
9958 * gdb.dwarf2/dw2-op-out-param.exp
9959 * gdb.dwarf2/dw2-reg-undefined.exp
9960 * gdb.go/chan.exp
9961 * gdb.go/hello.exp
9962 * gdb.go/integers.exp
9963 * gdb.go/methods.exp
9964 * gdb.go/package.exp
9965 * gdb.guile/scm-parameter.exp
9966 * gdb.guile/scm-progspace.exp
9967 * gdb.guile/scm-value.exp
9968 * gdb.mi/mi-pending.exp
9969 * gdb.mi/user-selected-context-sync.exp
9970 * gdb.multi/multi-attach.exp
9971 * gdb.multi/tids.exp
9972 * gdb.opt/clobbered-registers-O2.exp
9973 * gdb.pascal/floats.exp
9974 * gdb.pascal/integers.exp
9975 * gdb.python/py-block.exp
9976 * gdb.python/py-events.exp
9977 * gdb.python/py-parameter.exp
9978 * gdb.python/py-symbol.exp
9979 * gdb.python/py-symtab.exp
9980 * gdb.python/py-type.exp
9981 * gdb.python/py-value.exp
9982 * gdb.python/py-xmethods.exp
9983 * gdb.python/python.exp
9984 * gdb.reverse/break-precsave.exp
9985 * gdb.reverse/consecutive-precsave.exp
9986 * gdb.reverse/finish-precsave.exp
9987 * gdb.reverse/i386-precsave.exp
9988 * gdb.reverse/machinestate-precsave.exp
9989 * gdb.reverse/sigall-precsave.exp
9990 * gdb.reverse/solib-precsave.exp
9991 * gdb.reverse/step-precsave.exp
9992 * gdb.reverse/until-precsave.exp
9993 * gdb.reverse/watch-precsave.exp
9994 * gdb.server/ext-attach.exp
9995 * gdb.server/ext-restart.exp
9996 * gdb.server/ext-run.exp
9997 * gdb.server/ext-wrapper.exp
9998 * gdb.stabs/gdb11479.exp
9999 * gdb.stabs/weird.exp
10000 * gdb.threads/attach-many-short-lived-threads.exp
10001 * gdb.threads/kill.exp
10002 * gdb.threads/watchpoint-fork.exp
10003
bc6c7af4
LM
100042016-12-01 Luis Machado <lgustavo@codesourcery.com>
10005
10006 Fix test names starting with uppercase throughout all the files below.
10007
10008 * gdb.ada/array_return.exp
10009 * gdb.ada/catch_ex.exp
10010 * gdb.ada/info_exc.exp
10011 * gdb.ada/mi_catch_ex.exp
10012 * gdb.ada/mi_dyn_arr.exp
10013 * gdb.ada/mi_ex_cond.exp
10014 * gdb.ada/mi_exc_info.exp
10015 * gdb.ada/mi_interface.exp
10016 * gdb.ada/mi_task_arg.exp
10017 * gdb.ada/mi_task_info.exp
10018 * gdb.ada/mi_var_array.exp
10019 * gdb.arch/alpha-step.exp
10020 * gdb.arch/amd64-disp-step.exp
10021 * gdb.arch/arm-disp-step.exp
10022 * gdb.arch/disp-step-insn-reloc.exp
10023 * gdb.arch/e500-prologue.exp
10024 * gdb.arch/ftrace-insn-reloc.exp
10025 * gdb.arch/gdb1558.exp
10026 * gdb.arch/i386-bp_permanent.exp
10027 * gdb.arch/i386-disp-step.exp
10028 * gdb.arch/i386-float.exp
10029 * gdb.arch/i386-gnu-cfi.exp
10030 * gdb.arch/ia64-breakpoint-shadow.exp
10031 * gdb.arch/mips16-thunks.exp
10032 * gdb.arch/pa-nullify.exp
10033 * gdb.arch/powerpc-aix-prologue.exp
10034 * gdb.arch/powerpc-power.exp
10035 * gdb.arch/ppc-dfp.exp
10036 * gdb.arch/s390-tdbregs.exp
10037 * gdb.arch/spu-info.exp
10038 * gdb.arch/spu-ls.exp
10039 * gdb.arch/thumb-bx-pc.exp
10040 * gdb.base/advance.exp
10041 * gdb.base/annota-input-while-running.exp
10042 * gdb.base/arrayidx.exp
10043 * gdb.base/asmlabel.exp
10044 * gdb.base/async.exp
10045 * gdb.base/attach-wait-input.exp
10046 * gdb.base/auto-connect-native-target.exp
10047 * gdb.base/batch-preserve-term-settings.exp
10048 * gdb.base/bfp-test.exp
10049 * gdb.base/bigcore.exp
10050 * gdb.base/bp-permanent.exp
10051 * gdb.base/break-always.exp
10052 * gdb.base/break-fun-addr.exp
10053 * gdb.base/break-idempotent.exp
10054 * gdb.base/break-main-file-remove-fail.exp
10055 * gdb.base/break-probes.exp
10056 * gdb.base/break-unload-file.exp
10057 * gdb.base/break.exp
10058 * gdb.base/call-ar-st.exp
10059 * gdb.base/call-rt-st.exp
10060 * gdb.base/call-sc.exp
10061 * gdb.base/call-signal-resume.exp
10062 * gdb.base/call-strs.exp
10063 * gdb.base/callexit.exp
10064 * gdb.base/callfuncs.exp
10065 * gdb.base/catch-gdb-caused-signals.exp
10066 * gdb.base/catch-signal-siginfo-cond.exp
10067 * gdb.base/catch-syscall.exp
10068 * gdb.base/compare-sections.exp
10069 * gdb.base/cond-eval-mode.exp
10070 * gdb.base/condbreak-call-false.exp
10071 * gdb.base/consecutive-step-over.exp
10072 * gdb.base/cursal.exp
10073 * gdb.base/disabled-location.exp
10074 * gdb.base/disasm-end-cu.exp
10075 * gdb.base/display.exp
10076 * gdb.base/double-prompt-target-event-error.exp
10077 * gdb.base/dprintf-bp-same-addr.exp
10078 * gdb.base/dprintf-detach.exp
10079 * gdb.base/dprintf-next.exp
10080 * gdb.base/dprintf-non-stop.exp
10081 * gdb.base/dprintf-pending.exp
10082 * gdb.base/dso2dso.exp
10083 * gdb.base/ending-run.exp
10084 * gdb.base/enum_cond.exp
10085 * gdb.base/examine-backward.exp
10086 * gdb.base/exe-lock.exp
10087 * gdb.base/exec-invalid-sysroot.exp
10088 * gdb.base/execl-update-breakpoints.exp
10089 * gdb.base/execution-termios.exp
10090 * gdb.base/fileio.exp
10091 * gdb.base/fixsection.exp
10092 * gdb.base/foll-exec-mode.exp
10093 * gdb.base/foll-exec.exp
10094 * gdb.base/fork-running-state.exp
10095 * gdb.base/frame-args.exp
10096 * gdb.base/fullpath-expand.exp
10097 * gdb.base/func-ptr.exp
10098 * gdb.base/gcore-relro-pie.exp
10099 * gdb.base/gdb1090.exp
10100 * gdb.base/gdb1555.exp
10101 * gdb.base/global-var-nested-by-dso.exp
10102 * gdb.base/gnu-ifunc.exp
10103 * gdb.base/hbreak-in-shr-unsupported.exp
10104 * gdb.base/hbreak-unmapped.exp
10105 * gdb.base/hook-stop.exp
10106 * gdb.base/infcall-input.exp
10107 * gdb.base/info-fun.exp
10108 * gdb.base/info-shared.exp
10109 * gdb.base/interrupt-noterm.exp
10110 * gdb.base/jit-so.exp
10111 * gdb.base/jit.exp
10112 * gdb.base/line-symtabs.exp
10113 * gdb.base/list.exp
10114 * gdb.base/longjmp.exp
10115 * gdb.base/macscp.exp
10116 * gdb.base/max-value-size.exp
10117 * gdb.base/nodebug.exp
10118 * gdb.base/nofield.exp
10119 * gdb.base/overlays.exp
10120 * gdb.base/paginate-after-ctrl-c-running.exp
10121 * gdb.base/paginate-bg-execution.exp
10122 * gdb.base/paginate-inferior-exit.exp
10123 * gdb.base/pending.exp
10124 * gdb.base/pr11022.exp
10125 * gdb.base/printcmds.exp
10126 * gdb.base/ptr-typedef.exp
10127 * gdb.base/ptype.exp
10128 * gdb.base/randomize.exp
10129 * gdb.base/range-stepping.exp
10130 * gdb.base/realname-expand.exp
10131 * gdb.base/relativedebug.exp
10132 * gdb.base/remote.exp
10133 * gdb.base/savedregs.exp
10134 * gdb.base/sepdebug.exp
10135 * gdb.base/set-noassign.exp
10136 * gdb.base/shlib-call.exp
10137 * gdb.base/shreloc.exp
10138 * gdb.base/sigaltstack.exp
10139 * gdb.base/sigbpt.exp
10140 * gdb.base/siginfo-addr.exp
10141 * gdb.base/siginfo-obj.exp
10142 * gdb.base/siginfo-thread.exp
10143 * gdb.base/signest.exp
10144 * gdb.base/signull.exp
10145 * gdb.base/sigrepeat.exp
10146 * gdb.base/skip.exp
10147 * gdb.base/so-impl-ld.exp
10148 * gdb.base/solib-corrupted.exp
10149 * gdb.base/solib-disc.exp
10150 * gdb.base/solib-display.exp
10151 * gdb.base/solib-overlap.exp
10152 * gdb.base/solib-search.exp
10153 * gdb.base/solib-symbol.exp
10154 * gdb.base/source-execution.exp
10155 * gdb.base/sss-bp-on-user-bp-2.exp
10156 * gdb.base/sss-bp-on-user-bp.exp
10157 * gdb.base/stack-checking.exp
10158 * gdb.base/stale-infcall.exp
10159 * gdb.base/step-break.exp
10160 * gdb.base/step-line.exp
10161 * gdb.base/step-over-exit.exp
10162 * gdb.base/step-test.exp
10163 * gdb.base/structs.exp
10164 * gdb.base/sym-file.exp
10165 * gdb.base/symtab-search-order.exp
10166 * gdb.base/term.exp
10167 * gdb.base/type-opaque.exp
10168 * gdb.base/unload.exp
10169 * gdb.base/until-nodebug.exp
10170 * gdb.base/until.exp
10171 * gdb.base/unwindonsignal.exp
10172 * gdb.base/watch-cond.exp
10173 * gdb.base/watch-non-mem.exp
10174 * gdb.base/watch_thread_num.exp
10175 * gdb.base/watchpoint-reuse-slot.exp
10176 * gdb.base/watchpoint-solib.exp
10177 * gdb.base/watchpoint.exp
10178 * gdb.btrace/dlopen.exp
10179 * gdb.cell/arch.exp
10180 * gdb.cell/break.exp
10181 * gdb.cell/bt.exp
10182 * gdb.cell/core.exp
10183 * gdb.cell/data.exp
10184 * gdb.cell/dwarfaddr.exp
10185 * gdb.cell/ea-cache.exp
10186 * gdb.cell/ea-standalone.exp
10187 * gdb.cell/ea-test.exp
10188 * gdb.cell/f-regs.exp
10189 * gdb.cell/fork.exp
10190 * gdb.cell/gcore.exp
10191 * gdb.cell/mem-access.exp
10192 * gdb.cell/ptype.exp
10193 * gdb.cell/registers.exp
10194 * gdb.cell/sizeof.exp
10195 * gdb.cell/solib-symbol.exp
10196 * gdb.cell/solib.exp
10197 * gdb.compile/compile-tls.exp
10198 * gdb.cp/exception.exp
10199 * gdb.cp/gdb2495.exp
10200 * gdb.cp/local.exp
10201 * gdb.cp/mb-inline.exp
10202 * gdb.cp/mb-templates.exp
10203 * gdb.cp/pr10687.exp
10204 * gdb.cp/pr9167.exp
10205 * gdb.cp/scope-err.exp
10206 * gdb.cp/templates.exp
10207 * gdb.cp/virtfunc.exp
10208 * gdb.dwarf2/dw2-dir-file-name.exp
10209 * gdb.dwarf2/dw2-single-line-discriminators.exp
10210 * gdb.fortran/complex.exp
10211 * gdb.fortran/library-module.exp
10212 * gdb.guile/guile.exp
10213 * gdb.guile/scm-cmd.exp
10214 * gdb.guile/scm-frame-inline.exp
10215 * gdb.guile/scm-objfile.exp
10216 * gdb.guile/scm-pretty-print.exp
10217 * gdb.guile/scm-symbol.exp
10218 * gdb.guile/scm-type.exp
10219 * gdb.guile/scm-value.exp
10220 * gdb.linespec/keywords.exp
10221 * gdb.linespec/ls-errs.exp
10222 * gdb.linespec/macro-relative.exp
10223 * gdb.linespec/thread.exp
10224 * gdb.mi/mi-breakpoint-changed.exp
10225 * gdb.mi/mi-dprintf-pending.exp
10226 * gdb.mi/mi-fullname-deleted.exp
10227 * gdb.mi/mi-logging.exp
10228 * gdb.mi/mi-pending.exp
10229 * gdb.mi/mi-solib.exp
10230 * gdb.mi/new-ui-mi-sync.exp
10231 * gdb.mi/user-selected-context-sync.exp
10232 * gdb.multi/dummy-frame-restore.exp
10233 * gdb.multi/multi-arch-exec.exp
10234 * gdb.multi/remove-inferiors.exp
10235 * gdb.multi/watchpoint-multi-exit.exp
10236 * gdb.opt/solib-intra-step.exp
10237 * gdb.perf/backtrace.exp
10238 * gdb.perf/single-step.exp
10239 * gdb.perf/skip-command.exp
10240 * gdb.perf/skip-prologue.exp
10241 * gdb.perf/solib.exp
10242 * gdb.python/lib-types.exp
10243 * gdb.python/py-as-string.exp
10244 * gdb.python/py-bad-printers.exp
10245 * gdb.python/py-block.exp
10246 * gdb.python/py-breakpoint.exp
10247 * gdb.python/py-cmd.exp
10248 * gdb.python/py-events.exp
10249 * gdb.python/py-evthreads.exp
10250 * gdb.python/py-finish-breakpoint.exp
10251 * gdb.python/py-finish-breakpoint2.exp
10252 * gdb.python/py-frame-inline.exp
10253 * gdb.python/py-frame.exp
10254 * gdb.python/py-inferior.exp
10255 * gdb.python/py-infthread.exp
10256 * gdb.python/py-mi.exp
10257 * gdb.python/py-objfile.exp
10258 * gdb.python/py-pp-maint.exp
10259 * gdb.python/py-pp-registration.exp
10260 * gdb.python/py-prettyprint.exp
10261 * gdb.python/py-recurse-unwind.exp
10262 * gdb.python/py-shared.exp
10263 * gdb.python/py-symbol.exp
10264 * gdb.python/py-symtab.exp
10265 * gdb.python/py-template.exp
10266 * gdb.python/py-type.exp
10267 * gdb.python/py-unwind-maint.exp
10268 * gdb.python/py-unwind.exp
10269 * gdb.python/py-value.exp
10270 * gdb.python/python.exp
10271 * gdb.reverse/finish-reverse-bkpt.exp
10272 * gdb.reverse/insn-reverse.exp
10273 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10274 * gdb.reverse/solib-precsave.exp
10275 * gdb.reverse/solib-reverse.exp
10276 * gdb.stabs/gdb11479.exp
10277 * gdb.stabs/weird.exp
10278 * gdb.threads/fork-child-threads.exp
10279 * gdb.threads/fork-plus-threads.exp
10280 * gdb.threads/fork-thread-pending.exp
10281 * gdb.threads/forking-threads-plus-breakpoint.exp
10282 * gdb.threads/hand-call-in-threads.exp
10283 * gdb.threads/interrupted-hand-call.exp
10284 * gdb.threads/linux-dp.exp
10285 * gdb.threads/local-watch-wrong-thread.exp
10286 * gdb.threads/next-while-other-thread-longjmps.exp
10287 * gdb.threads/non-ldr-exit.exp
10288 * gdb.threads/pending-step.exp
10289 * gdb.threads/print-threads.exp
10290 * gdb.threads/process-dies-while-detaching.exp
10291 * gdb.threads/process-dies-while-handling-bp.exp
10292 * gdb.threads/pthreads.exp
10293 * gdb.threads/queue-signal.exp
10294 * gdb.threads/reconnect-signal.exp
10295 * gdb.threads/signal-command-handle-nopass.exp
10296 * gdb.threads/signal-command-multiple-signals-pending.exp
10297 * gdb.threads/signal-delivered-right-thread.exp
10298 * gdb.threads/signal-sigtrap.exp
10299 * gdb.threads/sigthread.exp
10300 * gdb.threads/staticthreads.exp
10301 * gdb.threads/stepi-random-signal.exp
10302 * gdb.threads/thread-unwindonsignal.exp
10303 * gdb.threads/thread_check.exp
10304 * gdb.threads/thread_events.exp
10305 * gdb.threads/tid-reuse.exp
10306 * gdb.threads/tls-nodebug.exp
10307 * gdb.threads/tls-shared.exp
10308 * gdb.threads/tls-so_extern.exp
10309 * gdb.threads/tls.exp
10310 * gdb.threads/wp-replication.exp
10311 * gdb.trace/actions-changed.exp
10312 * gdb.trace/actions.exp
10313 * gdb.trace/backtrace.exp
10314 * gdb.trace/change-loc.exp
10315 * gdb.trace/collection.exp
10316 * gdb.trace/deltrace.exp
10317 * gdb.trace/disconnected-tracing.exp
10318 * gdb.trace/entry-values.exp
10319 * gdb.trace/ftrace-lock.exp
10320 * gdb.trace/ftrace.exp
10321 * gdb.trace/infotrace.exp
10322 * gdb.trace/mi-trace-frame-collected.exp
10323 * gdb.trace/mi-trace-unavailable.exp
10324 * gdb.trace/mi-traceframe-changed.exp
10325 * gdb.trace/mi-tracepoint-changed.exp
10326 * gdb.trace/mi-tsv-changed.exp
10327 * gdb.trace/no-attach-trace.exp
10328 * gdb.trace/packetlen.exp
10329 * gdb.trace/passc-dyn.exp
10330 * gdb.trace/passcount.exp
10331 * gdb.trace/pending.exp
10332 * gdb.trace/pr16508.exp
10333 * gdb.trace/qtro.exp
10334 * gdb.trace/range-stepping.exp
10335 * gdb.trace/read-memory.exp
10336 * gdb.trace/report.exp
10337 * gdb.trace/save-trace.exp
10338 * gdb.trace/signal.exp
10339 * gdb.trace/stap-trace.exp
10340 * gdb.trace/status-stop.exp
10341 * gdb.trace/strace.exp
10342 * gdb.trace/tfile.exp
10343 * gdb.trace/tfind.exp
10344 * gdb.trace/trace-break.exp
10345 * gdb.trace/trace-condition.exp
10346 * gdb.trace/trace-enable-disable.exp
10347 * gdb.trace/trace-mt.exp
10348 * gdb.trace/tracecmd.exp
10349 * gdb.trace/tracefile-pseudo-reg.exp
10350 * gdb.trace/tspeed.exp
10351 * gdb.trace/tstatus.exp
10352 * gdb.trace/tsv.exp
10353 * gdb.trace/unavailable.exp
10354 * gdb.trace/while-dyn.exp
10355 * gdb.trace/while-stepping.exp
10356 * lib/gdb-guile.exp
10357 * lib/gdb.exp
10358 * lib/mi-support.exp
10359 * lib/pascal.exp
10360 * lib/perftest.exp
10361 * lib/prelink-support.exp
10362 * lib/selftest-support.exp
10363
ad02e4fe
SM
103642016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
10365
10366 * Makefile.in: Include disable-implicit-rules.mk.
10367
22347e55
AA
103682016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10369
10370 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
10371 non-byte-aligned bit fields.
10372
da5b30da
AA
103732016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10374
10375 PR gdb/12616
10376 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
10377 respects the DW_AT_data_bit_offset attribute.
10378
b593ecca
SM
103792016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
10380
10381 * gdb.base/default.exp: Fix output of "set language".
10382
3b165252
SM
103832016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
10384
10385 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
10386 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
10387 make.
10388 * configure.ac: Remove checks for the make program.
10389 * configure: Re-generate.
10390
1a2f3d7f
KB
103912016-11-16 Kevin Buettner <kevinb@redhat.com>
10392
10393 * gdb.python/py-recurse-unwind.c (main): Add loop.
10394 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
10395 to read_register() and gdb.parse_and_eval(). Make each code
10396 call a separate case that can be individually tested.
10397 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
10398 proc. Call cont_and_backtrace for each of the code paths that
10399 we want to test in the unwinder.
10400
b7f38fda
AA
104012016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
10402
10403 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
10404 the definition of struct S.
10405
1f8db343
CM
104062016-11-11 Catherine Moore <clm@codesourcery.com>
10407
10408 * gdb.base/dump.exp: Identify verilog format dump tests as such.
10409
fad0c9fb
PA
104102016-11-09 Pedro Alves <palves@redhat.com>
10411
10412 * gdb.base/commands.exp (runto_or_return): New procedure.
10413 (gdbvar_simple_if_test, gdbvar_simple_while_test)
10414 (gdbvar_complex_if_while_test, progvar_simple_if_test)
10415 (progvar_simple_while_test, progvar_complex_if_while_test)
10416 (if_while_breakpoint_command_test)
10417 (infrun_breakpoint_command_test, breakpoint_command_test)
10418 (user_defined_command_test, watchpoint_command_test)
10419 (test_command_prompt_position, redefine_hook_test)
10420 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
10421 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
10422 multi_line_input and multi_line. Remove gdb_expect and
10423 gdb_stop_suppressing_tests uses.
10424 * lib/gdb.exp (valnum_re): New global.
10425 (multi_line_input): New procedure.
10426
8354c62c
SM
104272016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
10428
10429 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
10430 Remove.
10431 (test_setup): Define with proc_with_prefix.
10432 (test_cli_inferior): Likewise.
10433 (test_cli_thread): Likewise.
10434 (test_cli_frame): Likewise.
10435 (test_cli_select_frame): Likewise.
10436 (test_cli_up_down): Likewise.
10437 (test_mi_thread_select): Likewise.
10438 (test_mi_stack_select_frame): Likewise.
10439 (test_cli_in_mi_inferior): Likewise.
10440 (test_cli_in_mi_thread): Likewise.
10441 (test_cli_in_mi_frame): Likewise.
10442 (top level): Do not use with_test_prefix_procname.
10443
64f367a2
PA
104442016-11-09 Pedro Alves <palves@redhat.com>
10445
10446 * gdb.base/commands.exp (gdbvar_simple_if_test)
10447 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
10448 (progvar_simple_if_test, progvar_simple_while_test)
10449 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
10450 (infrun_breakpoint_command_test, breakpoint_command_test)
10451 (user_defined_command_test, watchpoint_command_test)
10452 (test_command_prompt_position, deprecated_command_test)
10453 (bp_deleted_in_command, temporary_breakpoint_commands)
10454 (stray_arg0_test, source_file_with_indented_comment)
10455 (recursive_source_test, if_commands_test)
10456 (error_clears_commands_left, redefine_hook_test)
10457 (redefine_backtrace_test): Use proc_with_prefix.
10458 * lib/gdb.exp (proc_with_prefix): New proc.
10459
0bb65f1e
AA
104602016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10461
10462 * gdb.base/tui-layout.c: New file.
10463 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
10464 disassembly window contains very long lines.
10465
7353f247
TT
104662016-11-08 Tom Tromey <tom@tromey.com>
10467
10468 * gdb.python/py-value.exp (test_value_creation): Make "long" test
10469 depend on Python 2.
10470
30a7bb83
TT
104712016-11-08 Tom Tromey <tom@tromey.com>
10472
10473 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
10474 New method.
10475
cdf5a07c
MG
104762016-10-29 Manish Goregaokar <manish@mozilla.com>
10477
2806dc7e 10478 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 10479
51a789c3
MG
104802016-10-27 Manish Goregaokar <manish@mozilla.com>
10481
2806dc7e
PA
10482 * gdb.rust/simple.rs: Add test for univariant enums without
10483 discriminants and for encoded struct-like enums.
51a789c3 10484
f610ab6d
PA
104852016-10-28 Pedro Alves <palves@redhat.com>
10486
10487 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
10488 gdb_test_multiple, tighten regexps and match symtabs and line
10489 tables incrementally.
10490
b129b0ca
LM
104912016-10-28 Luis Machado <lgustavo@codesourcery.com>
10492
10493 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
10494 general.
10495
ecf45d2c
SL
104962016-10-25 Luis Machado <lgustavo@codesourcery.com>
10497
10498 * gdb.base/exec-invalid-sysroot.exp: New file.
10499
b8d38ee4
JK
105002016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10501
10502 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
10503
f90fd8c2
JK
105042016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10505
10506 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
10507
2d2476aa
MR
105082016-10-19 Maciej W. Rozycki <macro@imgtec.com>
10509
2806dc7e
PA
10510 * gdb.base/killed-outside.exp: Remove $options from a call to
10511 `prepare_for_testing'.
2d2476aa 10512
e42b25a0
SM
105132016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10514
10515 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10516 Change test message.
10517
3ccdb432
SM
105182016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10519
10520 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10521 Update comment.
10522
5bad3170
SM
105232016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10524
10525 * gdb.trace/mi-trace-save.exp: New file.
10526
5ad9dba7
YQ
105272016-10-13 Yao Qi <yao.qi@linaro.org>
10528
10529 * gdb.base/code_elim.exp (get_var_address): Remove.
10530 * gdb.base/relocate.exp: Likewise.
10531 * gdb.base/shreloc.exp: Likewise.
10532 * lib/gdb.exp (get_var_address): New.
10533
62df7e21
YQ
105342016-10-13 Yao Qi <yao.qi@linaro.org>
10535
10536 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
10537 floating point tests if $skip_float_test is false.
10538
4dac951e
LM
105392016-10-12 Luis Machado <lgustavo@codesourcery.com>
10540
10541 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
10542 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
10543 argc values.
10544 Add 1 to argc so we guarantee distinct initial/modified argc values.
10545
8f1a8fc4
JK
105462016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10547
10548 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
10549
16c85b5d
JK
105502016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10551
10552 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
10553 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
10554 * gdb.arch/vsx-regs.exp: Likewise.
10555
1d0e042a
YQ
105562016-10-07 Yao Qi <yao.qi@linaro.org>
10557
10558 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
10559
68dadef5
MM
105602016-10-07 Markus Metzger <markus.t.metzger@intel.com>
10561
10562 * gdb.python/python.exp: Test decode_line("*0").
10563
33fa2c6e
DE
105642016-10-06 Doug Evans <dje@google.com>
10565
10566 * gdb.python/py-value.exp (test_value_creation): Add test for large
10567 unsigned 64-bit value.
10568
9c37b5ae
TT
105692016-10-06 Tom Tromey <tom@tromey.com>
10570
10571 * gdb.compile/compile.exp: Change java tests to rust.
10572 * gdb.base/setshow.exp: Change java tests to rust.
10573 * gdb.base/default.exp: Remove java from language list.
10574 * README (Examples): Update language example.
10575 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
10576 test.
10577 * lib/gdb.exp (skip_java_tests): Remove.
10578 * lib/java.exp: Remove.
10579 * gdb.java: Remove.
10580
78b86327
MR
105812016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10582
10583 * gdb.arch/mips-fcr.exp: New test.
10584 * gdb.arch/mips-fcr.c: Source for the new test.
10585
7470adbb
MR
105862016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10587
10588 * gdb.base/solib-disc.exp: Use `standard_output_file'
10589 throughout.
10590
4a556533
PA
105912016-10-06 Pedro Alves <palves@redhat.com>
10592
10593 * gdb.base/jit-simple-dl.c: New file.
10594 * gdb.base/jit-simple-jit.c: New file, factored out from ...
10595 * gdb.base/jit-simple.c: ... this.
10596 * gdb.base/jit-simple.exp (jit_run): Delete.
10597 (build_jit): New proc.
10598 (jit_test_reread): Recompile either the main program or the shared
10599 library, depending on what is being tested. Skip changing address
10600 if caller wants to. Compare before/after addresses. If testing
10601 standalone, explicitly load the binary. Test "maint info
10602 breakpoints".
10603 (top level): Add "standalone vs shared lib" and "change address"
10604 vs "same address" axes.
10605
5a122fbc
PA
106062016-10-06 Pedro Alves <palves@redhat.com>
10607
10608 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
10609 call.
10610 (jit_run): Delete.
10611 (jit_test_reread): Use with_test_prefix. Reload the main binary
10612 explicitly. Compare the before/after addresses of the JIT
10613 descriptor.
10614
ee8da4b8
DE
106152016-08-15 Doug Evans <dje@google.com>
10616
10617 * gdb.xml/extra-regs.xml: Update, end field now required, default type
10618 for single bitfields is bool.
10619 * gdb.xml/tdesc-regs.exp: Ditto.
10620
f389f6fe
JK
106212016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10622
10623 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
10624
fdebf1a4
YQ
106252016-10-05 Yao Qi <yao.qi@linaro.org>
10626
10627 * lib/gdb.exp (support_complex_tests): Return zero if
10628 gdb_skip_float_test return true.
10629
9c36d954 106302016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 10631 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
10632
10633 PR gdb/20487
10634 * gdb.mi/user-selected-context-sync.exp: New file.
10635 * gdb.mi/user-selected-context-sync.c: New file.
10636
4034d0ff 106372016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 10638 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
10639
10640 PR gdb/20487
10641 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
10642 =thread-select-event check.
10643
a4297203
PB
106442016-09-29 Peter Bergner <bergner@vnet.ibm.com>
10645
10646 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
10647 the compulsory L operand changes.
10648 * gdb.arch/powerpc-power.s: Likewise.
10649
bb805577
JK
106502016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10651
10652 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
10653 * gdb.base/jit-attach-pie.c: New file.
10654 * gdb.base/jit-attach-pie.exp: New file.
10655
6d61dee5
PA
106562016-09-28 Pedro Alves <palves@redhat.com>
10657
10658 * gdb.base/infcall-input.c: New file.
10659 * gdb.base/infcall-input.exp: New file.
10660
f73842fc
YQ
106612016-09-22 Yao Qi <yao.qi@linaro.org>
10662
10663 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
10664 (gdb_exit): Rename it to ...
10665 (gdbserver_gdb_exit): ... Close GDBserver.
10666 (gdb_exit): New proc, call gdbserver_gdb_exit.
10667 (mi_gdb_exit): Likewise.
10668
90681dab
YQ
106692016-09-22 Yao Qi <yao.qi@linaro.org>
10670
10671 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
10672 path.
10673 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
10674 Remove duplication.
10675
9c211fd8
YQ
106762016-09-22 Yao Qi <yao.qi@linaro.org>
10677
10678 * lib/gdbserver-support.exp: Check the existence of
10679 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
10680
ad0a504f
AK
106812016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
10682
10683 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
10684
36cf1806
TT
106852016-09-21 Tom Tromey <tom@tromey.com>
10686
10687 PR gdb/20604:
10688 * gdb.base/quit.exp: New file.
10689
74172ecf
SM
106902016-09-21 Simon Marchi <simon.marchi@ericsson.com>
10691
10692 * .gitignore: New file.
10693
3d0ec882
MR
106942016-09-21 Maciej W. Rozycki <macro@imgtec.com>
10695
10696 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
10697 throughout.
10698
8193adea
AA
106992016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10700
10701 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
10702
d41a5c09
JK
107032016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10704
10705 * gdb.cp/casts.cc (decltype): Move it ...
10706 (main): ... with its call to ...
10707 * gdb.cp/casts03.cc: ... a new file.
10708 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
10709
d2dfe700
JK
107102016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10711
10712 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
10713
e2a92b16
PB
107142016-09-15 Peter Bergner <bergner@vnet.ibm.com>
10715
10716 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
10717 and sync up the test with tests in gas/testsuite/gas/ppc.
10718 * gdb.arch/powerpc-power.exp: Likewise.
10719
49b4de64
JK
107202016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10721
10722 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
10723
2c29df25
SDJ
107242016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
10725 Jan Kratochvil <jan.kratochvil@redhat.com>
10726
10727 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
10728 make m1's definition to be different from m2's. Use 'dummy' as an
10729 argument for probe 'two'.
10730
cc3c2846
JB
107312016-09-10 Jon Beniston <jon@beniston.com>
10732
10733 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
10734 for sim target.
10735
e1b2624a
AA
107362016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10737
10738 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
10739 variable declaration.
10740 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
10741 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
10742 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
10743 received HWCAP as its argument.
10744
4295e285
PA
107452016-09-06 Pedro Alves <palves@redhat.com>
10746
10747 * gdb.base/new-ui-pending-input.c: New file.
10748 * gdb.base/new-ui-pending-input.exp: New file.
10749 * gdb.exp (clear_gdb_spawn_id): New procedure.
10750 (with_spawn_id): Check whether gdb_spawn_id exists before
10751 referencing it. If gdb_spawn_id didn't exist on entry, clear it
10752 on exit.
10753
00d5215e
UW
107542016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10755
10756 * gdb.base/float128.c: New file.
10757 * gdb.base/float128.exp: Likewise.
10758 * gdb.base/floatn.c: Likewise.
10759 * gdb.base/floatn.exp: Likewise.
10760
a9ff5f12
UW
107612016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10762
10763 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
10764
f245535c
PA
107652016-09-05 Pedro Alves <palves@redhat.com>
10766
10767 PR backtrace/19927
10768 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
10769 unwinders are immediately called as side effect of "source" or
10770 "disable unwinder" commands.
10771 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
10772
ae9cf263
YQ
107732016-09-02 Yao Qi <yao.qi@linaro.org>
10774
10775 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
10776 is true and $type is "float" or "double".
10777
27aba047
YQ
107782016-09-02 Yao Qi <yao.qi@linaro.org>
10779
10780 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
10781 true.
10782 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
10783 * gdb.base/call-rt-st.exp: Likewise.
10784 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
10785 return value instead of gdb,skip_float_test.
10786 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
10787 (do_function_calls): Use its return value instead of
10788 gdb,skip_float_test.
10789 * gdb.base/finish.exp: Likewise.
10790 * gdb.base/funcargs.exp: Likewise.
10791 * gdb.base/return.exp: Likewise.
10792 * gdb.base/return2.exp: Likewise.
10793 * gdb.base/varargs.exp: Likewise.
10794 * lib/gdb.exp (gdb_skip_float_test): Change it to
10795 gdb_caching_proc. Detect the broken ptrace on arm-linux.
10796
5af962df
AA
107972016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10798
10799 * gdb.multi/tids.exp: Test "thread apply all".
10800
7fac6910
JK
108012016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10802
10803 * gdb.base/default.exp (tty): Remove.
10804
bb1fe4ac
KB
108052016-08-24 Kevin Buettner <kevinb@redhat.com>
10806
2806dc7e
PA
10807 * gdb.python/py-recurse-unwind.c: New file.
10808 * gdb.python/py-recurse-unwind.py: New file.
10809 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 10810
0a1ddfa6
SM
108112016-08-24 Simon Marchi <simon.marchi@ericsson.com>
10812
10813 * gdb.base/set-inferior-tty.exp: New file.
10814 * gdb.base/set-inferior-tty.c: New file.
10815
d9de1fe3
PA
108162016-08-23 Pedro Alves <palves@redhat.com>
10817
10818 PR gdb/20494
10819 * gdb.base/new-ui-echo.c: New file.
10820 * gdb.base/new-ui-echo.exp: New file.
10821
e9d9abd7
YQ
108222016-08-23 Yao Qi <yao.qi@linaro.org>
10823
10824 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
10825 gdbserver_spawn.
10826 * gdb.server/connect-without-multi-process.exp (do_test):
10827 Likewise.
10828
3589529e
YQ
108292016-08-23 Yao Qi <yao.qi@linaro.org>
10830
10831 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
10832 standalone_txt. Delete gdb_txt and standalone_txt on host
10833 and target. Spawn the binary on target. Copy files from
10834 target to host.
10835
6bb90213
PA
108362016-08-22 Pedro Alves <palves@redhat.com>
10837
10838 PR gdb/20505
10839 * gdb.base/vdso-warning.exp: Test core dumps too. Use
10840 with_test_prefix. Factor out bits to ...
10841 (test_no_vdso): ... this new procedure.
10842
20c2c024
CL
108432016-08-19 Carl Love <cel@us.ibm.com>
10844
10845 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10846 maintaining separate logic for constructing the output path.
10847 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10848 * gdb.arch/ppc-dfp.exp: Likewise.
10849 * gdb.arch/ppc-fp.exp: Likewise.
10850 * gdb.arch/vsx-regs.exp: Likewise.
10851 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10852 binprefix for generating the additional binary files.
10853
0646e07d
PA
108542016-08-19 Pedro Alves <palves@redhat.com>
10855
10856 * gdb.trace/mi-trace-frame-collected.exp
10857 (test_trace_frame_collected): On x32, expect two registers.
10858
46da9242
CL
108592016-08-18 Carl Love <cel@us.ibm.com>
10860
10861 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10862 and sync up the test with tests in gas/testsuite/gas/ppc.
10863 * gdb.arch/powerpc-power.exp: Likewise.
10864
eb2332d7
SM
108652016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10866
10867 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10868 expected error message.
10869
63c61e04
SM
108702016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10871
10872 * gdb.multi/remove-inferiors.exp: New file.
10873 * gdb.multi/remove-inferiors.c: New file.
10874
7b17065f
YQ
108752016-08-12 Yao Qi <yao.qi@linaro.org>
10876
10877 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10878 argument list.
10879
01d3dedf
PA
108802016-08-10 Pedro Alves <palves@redhat.com>
10881
10882 PR gdb/19187
10883 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10884 setup_kfails.
10885
3eb7562a
PA
108862016-08-09 Pedro Alves <palves@redhat.com>
10887 Simon Marchi <simon.marchi@ericsson.com>
10888
10889 PR gdb/20418
10890 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10891 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10892
80614914
PA
108932016-08-09 Pedro Alves <palves@redhat.com>
10894
10895 PR mi/20431
10896 * gdb.mi/mi-cmd-error.exp: New file.
10897
f348d89a
PA
108982016-08-09 Pedro Alves <palves@redhat.com>
10899
10900 PR gdb/18653
10901 * gdb.base/signals-state-child.c: New file.
10902 * gdb.base/signals-state-child.exp: New file.
10903 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10904
e5ca03b4
PA
109052016-08-09 Pedro Alves <palves@redhat.com>
10906
10907 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10908
282a0691
TT
109092016-08-03 Tom Tromey <tom@tromey.com>
10910
10911 PR python/18565:
10912 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10913
41bfcd63
YQ
109142016-08-01 Yao Qi <yao.qi@linaro.org>
10915
10916 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10917 variable mode to "multi-process" if $multi_process is 1, otherwise
10918 set it to "single-process".
10919
e3465b24
YQ
109202016-08-01 Yao Qi <yao.qi@linaro.org>
10921
10922 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10923 * gdb.cp/cpexprs.exp: Likewise.
10924 * gdb.cp/m-static.exp: Likewise.
10925
0b31a4bc
TT
109262016-07-26 Tom Tromey <tom@tromey.com>
10927
10928 PR python/20190:
10929 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10930 test.
10931
e0461dbb
MM
109322016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10933
10934 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10935 selecting assembly source files.
10936 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10937 assembly source files.
10938 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10939 assembly source files.
10940 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10941 selecting assembly source files.
10942
8194e927
SM
109432016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10944
10945 * gdb.base/new-ui.exp (do_test_invalid_args): New
10946 procedure.
10947
c0272db5
TW
109482016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10949
10950 * gdb.btrace/reconnect.c: New file.
10951 * gdb.btrace/reconnect.exp: New file.
10952
e3487908
GKB
109532016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10954
10955 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10956 to test_catch_syscall_group.
10957 (test_catch_syscall_group): New.
10958
12df5c00
TT
109592016-07-21 Tom Tromey <tom@tromey.com>
10960
10961 * gdb.rust/simple.rs (main): Use empty struct expression.
10962 * gdb.rust/simple.exp: Add tests for empty struct expression.
10963
bae62ee2
YQ
109642016-07-21 Yao Qi <yao.qi@linaro.org>
10965
10966 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10967 if gdb_skip_xml_test is true on some targets.
10968
b1b53fb3
YQ
109692016-07-21 Yao Qi <yao.qi@linaro.org>
10970
10971 * gdb.server/solib-list.exp: Unset last_loaded_file.
10972
027d97f8
JK
109732016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10974
10975 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10976 "step into captured_main (args)".
10977
7674d381
JK
109782016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10979
10980 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10981
72b5d099
JK
109822016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10983
10984 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10985
1f960ced
PA
109862016-07-19 Pedro Alves <palves@redhat.com>
10987
10988 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10989 * gdb.opt/inline-bt.exp: Likewise.
10990 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10991 additional_flags=-Winline.
10992 * gdb.opt/inline-locals.exp: Likewise.
10993 * gdb.opt/inline-markers.c (ATTR): Define.
10994 (inlined_fn): Use it.
10995
f25827c1
YQ
109962016-07-19 Yao Qi <yao.qi@linaro.org>
10997
10998 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10999 (test_with_self): Remove some code. Remove argument executable.
11000 (top-level): Use do_self_tests.
11001
37539ebe
DB
110022016-07-15 Zachary Welch <zwelch@codesourcery.com>
11003 Don Breazeal <donb@codesourcery.com>
11004
11005 * gdb.base/maint.exp: Escape paths used in regular expressions.
11006 * gdb.stabs/weird.exp: Likewise.
11007
dac790e1
TT
110082016-07-13 Tom Tromey <tom@tromey.com>
11009
11010 PR python/15620, PR python/18620:
11011 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
11012 (test_bkpt_events): New procs.
11013
93daf339
TT
110142016-07-13 Tom Tromey <tom@tromey.com>
11015
11016 PR python/17698:
11017 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
11018 test.
11019 (test_watchpoints): Likewise.
11020 (test_bkpt_pending): New proc.
11021
6571a381
TT
110222016-07-13 Tom Tromey <tom@tromey.com>
11023
11024 PR cli/18053:
11025 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
11026 completion test.
11027
e8732474
JK
110282016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11029
11030 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
11031 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
11032 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
11033 f_label.
11034 (g): Rename g_end_lbl to g_label.
11035 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
11036 low_pc and high_pc.
11037 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
11038
e0f3fd7c
TT
110392016-07-12 Tom Tromey <tom@tromey.com>
11040
11041 PR python/19293:
11042 * gdb.python/py-unwind-maint.exp: Update tests.
11043
3cfe46b6
YQ
110442016-07-12 Yao Qi <yao.qi@linaro.org>
11045
11046 * lib/selftest-support.exp (selftest_setup): Match the output
11047 when captured_main is inlined.
11048
4f19a0e6
WT
110492016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11050
11051 * gdb.fortran/derived-types.exp (result_line, result_line_2):
11052 New variables.
11053 (print this%a, print this%b, print this): New tests.
11054 * gdb.fortran/derived-types.f90 (this): New object and
11055 initialization.
11056
986cf455
SM
110572016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11058
11059 * gdb.ada/arraydim.exp: Remove extra directory level in build
11060 directory.
11061
f0464b23
SM
110622016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11063
11064 * lib/ada.exp: Remove extra directory level in build directory.
11065 * gdb.ada/cond_lang.exp: Likewise.
11066 * gdb.ada/exec_changed.exp: Likewise.
11067 * gdb.ada/lang_switch.exp: Likewise.
11068
42d94011
MG
110692016-07-06 Manish Goregaokar <manish@mozilla.com>
11070
2806dc7e
PA
11071 * simple.rs: Add test for raw pointer subscripting.
11072 * simple.exp: Add test expectations.
42d94011 11073
647c264c
YQ
110742016-07-05 Yao Qi <yao.qi@linaro.org>
11075
11076 * gdb.mi/mi-reverse.exp: Match =record-started output.
11077
20aa2c60
PA
110782016-07-01 Pedro Alves <palves@redhat.com>
11079
11080 * gdb.base/jit-reader.exp (info_registers_current_frame): New
11081 procedure.
11082 (jit_reader_test): Test the jit reader's unwinder.
11083 * gdb.base/jithost.c (jit_function_00_code): New global.
11084 (main): Use memcpy to fill in the mmapped code, instead of poking
11085 bytes manually here.
11086 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
11087 value.
11088 (read_debug_info): Save the function's range.
11089 (read_sp): New function.
11090 (unwind_frame): Use it. Also unwind RBP.
11091 (get_frame_id): Use read_sp.
11092 (gdb_init_reader): Use calloc instead of malloc.
11093 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
11094 parameter. Use gdb_test_multiple.
11095
ced2dffb
PA
110962016-07-01 Pedro Alves <palves@redhat.com>
11097 Antoine Tremblay <antoine.tremblay@ericsson.com>
11098
11099 * gdb.threads/process-dies-while-detaching.c: New file.
11100 * gdb.threads/process-dies-while-detaching.exp: New file.
11101
63000888
PA
111022016-07-01 Pedro Alves <palves@redhat.com>
11103
11104 * gdb.multi/watchpoint-multi-exit.c: New file.
11105 * gdb.multi/watchpoint-multi-exit.exp: New file.
11106
038d4868
PA
111072016-06-30 Pedro Alves <palves@redhat.com>
11108
11109 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
11110 unset inferior_spawn_id.
11111
994e9c83
PA
111122016-06-30 Pedro Alves <palves@redhat.com>
11113
11114 * lib/mi-support.exp (default_mi_gdb_start): Declare global
11115 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
11116
e5653468
YQ
111172016-06-29 Yao Qi <yao.qi@linaro.org>
11118
11119 * gdb.base/return.c: Add copyright header.
11120
803b47e5
TT
111212016-06-29 Tom Tromey <tom@tromey.com>
11122
11123 PR python/20129:
11124 * gdb.python/py-framefilter.exp: Add tests for setting priority
11125 and disabling of non-existent frame filter.
11126
28244707
YQ
111272016-06-29 Yao Qi <yao.qi@linaro.org>
11128
11129 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
11130 0x0f07ff.
11131
a31d2f06
YQ
111322016-06-28 Yao Qi <yao.qi@linaro.org>
11133
11134 * gdb.base/catch-syscall.exp: Remove check on isnative and target
11135 triplets. Start gdb, execute catch syscall, and continue. Check
11136 gdb's output to determine catch syscall is supported.
11137
921d8f54
MG
111382016-06-27 Manish Goregaokar <manish@mozilla.com>
11139
25d49b86
PA
11140 * gdb.rust/simple.rs: Add test for returning unit in a function.
11141 * gdb.rust/simple.exp: Add expectation for functions returning
11142 unit.
921d8f54 11143
f4952523
PMR
111442016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
11145
11146 * gdb.python/py-breakpoint-create-fail.c,
11147 gdb.python/py-breakpoint-create-fail.exp,
11148 gdb.python/py-breakpoint-create-fail.py: New testcase.
11149
fccb08f8
MG
111502016-06-25 Manish Goregaokar <manish@mozilla.com>
11151
11152 PR gdb/20239
11153 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
11154 * gdb.rust/simple.exp: Add test expectations for new NonZero
11155 tests.
fccb08f8 11156
6b850546
DT
111572016-06-24 David Taylor <dtaylor@emc.com>
11158
11159 * gdb.base/offsets.exp: New file.
11160 * gdb.base/offsets.c: New file.
11161
17621150
TT
111622016-06-23 Tom Tromey <tom@tromey.com>
11163
11164 PR gdb/16483:
11165 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
11166 before any filters are loaded.
11167
04d59df6
WT
111682016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
11169
11170 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
11171 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
11172 structs.
11173 * gdb.fortran/derived-type-function.exp: New file.
11174 * gdb.fortran/derived-type-function.f90: New file.
11175
11176
ac69f786
PA
111772016-06-21 Pedro Alves <palves@redhat.com>
11178
11179 * gdb.base/new-ui.exp: New file.
11180 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
11181 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
11182 (with_spawn_id): New procedure.
11183
49940788
PA
111842016-06-21 Pedro Alves <palves@redhat.com>
11185
11186 * gdb.mi/mi-exec-run.exp: New file.
11187
ef274d26
PA
111882016-06-21 Pedro Alves <palves@redhat.com>
11189
11190 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
11191 breakpoint command's output on the main UI.
11192 (test_break): New procedure, factored out from calls in the top
11193 level.
11194 (top level): Use foreach_with_prefix to test MI as main UI and as
11195 separate UI.
11196
468afe6c
PA
111972016-06-21 Pedro Alves <palves@redhat.com>
11198
11199 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
11200 (test_awatch_creation_and_listing)
11201 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
11202 Remove 'type' parameter.
11203 (test_watchpoint_all): New parameter mi_mode. Remove
11204 with_test_prefix.
11205 (top level): Use foreach_with_prefix, and add main/separate UI MI
11206 testing axis.
11207
51f77c37
PA
112082016-06-21 Pedro Alves <palves@redhat.com>
11209
11210 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
11211 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
11212 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
11213 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
11214 (gdb_main_spawn_id, mi_spawn_id): Declare and
11215 comment.
11216 (mi_create_inferior_pty): New procedure,
11217 factored out from default_mi_gdb_start.
11218 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
11219 procedures.
11220 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
11221 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
11222 Use mi_create_inferior_pty.
11223 (mi_gdb_start): Use eval to pass down args list.
11224
8980e177
PA
112252016-06-21 Pedro Alves <palves@redhat.com>
11226
11227 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
11228 * gdb.opt/inline-cmds.exp: Add MI tests.
11229
f38d3ad1
PA
112302016-06-21 Pedro Alves <palves@redhat.com>
11231
11232 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
11233
45db7c09
PA
112342016-06-21 Pedro Alves <palves@redhat.com>
11235
11236 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
11237 (top level): Use it instead of mi_execute_to.
11238
5a069ab3
PA
112392016-06-21 Pedro Alves <palves@redhat.com>
11240
11241 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
11242 (cont_handler_str): New.
11243 (signal_stop_handler): Set stop_handler_str instead of printing to
11244 stdout.
11245 (continue_handler): Set cont_handler_str instead of printing to
11246 stdout.
11247 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
11248 mi_send_resuming_command. Print stop_handler_str and
11249 cont_handler_str instead of expecting the python events print
11250 directly.
11251
2838cc1d
SD
112522016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
11253
11254 * gdb.base/jit-reader.exp: New file.
11255 * gdb.base/jithost.c: New file.
11256 * gdb.base/jithost.h: New file.
11257 * gdb.base/jitreader.c : New file.
11258 * gdb.base/jit-protocol.h: New file.
11259
21a77091
YQ
112602016-06-17 Yao Qi <yao.qi@linaro.org>
11261
11262 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
11263 parameters follow_fork and detach_on_fork. Set follow-fork-mode
11264 and detach-on-fork. Adjust tests.
11265 (top level): Invoke break_cond_on_syscall with combinations of
11266 syscall, follow-fork-mode and detach-on-fork.
11267
f50bf8e5
YQ
112682016-06-17 Yao Qi <yao.qi@linaro.org>
11269
11270 * gdb.base/step-over-exit.c: New.
11271 * gdb.base/step-over-exit.exp: New.
11272
a28d8e50
YTL
112732016-06-17 Yan-Ting Lin <currygt52@gmail.com>
11274
11275 * gdb.base/float.exp: Add target check for nds32*-*-*.
11276 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
11277
cad8e26d
AB
112782016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
11279
11280 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
11281 for unsupported target features.
11282 * gdb.base/call-rt-st.exp: Likewise.
11283 * gdb.base/call-sc.exp: Likewise.
11284 * gdb.base/call-signal-resume.exp: Likewise.
11285 * gdb.base/call-strs.exp: Likewise.
11286 * gdb.base/callexit.exp: Likewise.
11287 * gdb.base/callfuncs.exp: Likewise.
11288 * gdb.base/nodebug.exp: Likewise.
11289 * gdb.base/printcmds.exp: Likewise.
11290 * gdb.base/ptype.exp: Likewise.
11291 * gdb.base/structs.exp: Likewise.
11292 * gdb.base/unwindonsignal.exp: Likewise.
11293 * gdb.cp/gdb2495.exp: Likewise.
11294 * gdb.cp/templates.exp: Likewise.
11295 * gdb.cp/virtfunc.exp: Likewise.
11296 * gdb.threads/hand-call-in-threads.exp: Likewise.
11297 * gdb.threads/interrupted-hand-call.exp: Likewise.
11298 * gdb.threads/thread-unwindonsignal.exp: Likewise.
11299
347dc102
TT
113002016-06-10 Tom Tromey <tom@tromey.com>
11301
11302 PR rust/20110:
11303 * gdb.rust/expr.exp: Add test for integer constant larger than
11304 i32.
11305
5e13cf25
BH
113062016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
11307
11308 * gdb.fortran/nested-funcs.exp: New.
11309 * gdb.fortran/nested-funcs.f90: New.
11310
bb556f1f
TK
113112016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
11312
11313 * gdb.base/examine-backward.c: New file.
11314 * gdb.base/examine-backward.exp: New file.
11315
38b022b4
SM
113162016-06-06 Simon Marchi <simon.marchi@ericsson.com>
11317
11318 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
11319 matching.
11320
1b40ec05
TT
113212016-06-02 Tom Tromey <tom@tromey.com>
11322
11323 PR python/18984:
11324 * gdb.python/py-shared.exp: Add solib_name test.
11325
193bd378
SM
113262016-06-02 Simon Marchi <simon.marchi@ericsson.com>
11327
11328 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
11329
3326303b
MG
113302016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
11331
11332 PR c++/19893
11333 * gdb.dwarf2/implref.exp: Rename to...
11334 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
11335 * gdb.dwarf2/implref-array.c: New file.
11336 * gdb.dwarf2/implref-array.exp: Likewise.
11337 * gdb.dwarf2/implref-global.c: Likewise.
11338 * gdb.dwarf2/implref-global.exp: Likewise.
11339 * gdb.dwarf2/implref-struct.c: Likewise.
11340 * gdb.dwarf2/implref-struct.exp: Likewise.
11341
825c8ef2
AT
113422016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11343
11344 * gdb.trace/trace-condition.exp: Add 64bit tests.
11345
2320162a
AT
113462016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11347
11348 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
11349 bits types.
11350 (main): Adapt to 8 to 64 bits types.
11351 * gdb.trace/trace-condition.exp: Add new tests.
11352
a7818233
AT
113532016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11354
11355 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
11356
0d336466
AT
113572016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11358
11359 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
11360 Move condition tests...
11361 * gdb.trace/trace-condition.exp: Here.
11362
7faeb45a
AT
113632016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11364
11365 * gdb.trace/trace-condition.exp: Add counter-case tests.
11366
e385593e
JK
113672016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11368
11369 PR c++/15231
11370 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
11371 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
11372
744608cc
PA
113732016-05-27 Pedro Alves <palves@redhat.com>
11374
11375 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11376 New procedure.
11377 (top level): Call it, and bail out of DejaGnu is known to be bad.
11378
ac775bf4
AB
113792016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
11380
11381 * gdb.base/whatis.c: Extend the test case.
11382 * gdb.base/whatis.exp: Add additional tests.
11383
2bbad2ea
BH
113842016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11385
11386* gdb.fortran/type.f90: Add pointer variable.
11387* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
11388
8b70175d
BH
113892016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11390
11391 * gdb.fortran/vla-type.exp: Fix testcase name.
11392
86d8a848
BH
113932016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11394
11395 * gdb.fortran/vla-type.exp: Access elements in nested structs.
11396
e188eb36
BH
113972016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11398
11399 * gdb.fortran/type.f90: Add nested structures.
11400 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
11401 * gdb.fortran/derived-type.exp: Adapt expected output.
11402 * gdb.fortran/vla-type.exp: Adapt expected output.
11403
9b2db1fd
BH
114042016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11405
11406 * gdb.fortran/whatis_type.exp: Adapt expected output.
11407
72b17055
BH
114082016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11409
11410 * gdb.fortran/print_type.exp: Fix expected output.
11411 * gdb.fortran/whatis_type.exp: Fix expected output.
11412
3cd81d8d
BH
114132016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11414
11415 * gdb.fortran/whatis_type.exp: Use multi_line.
11416
ddae9462
TT
114172016-05-24 Tom Tromey <tom@tromey.com>
11418
11419 PR python/17386:
11420 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
11421 use value as an index.
11422
1957f6b8
TT
114232016-05-23 Tom Tromey <tom@tromey.com>
11424
11425 PR python/17981:
11426 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
11427 no-breakpoint case.
11428
026a9174
PA
114292016-05-24 Pedro Alves <palves@redhat.com>
11430
11431 PR gdb/19828
11432 * gdb.threads/clone-attach-detach.c: New file.
11433 * gdb.threads/clone-attach-detach.exp: New file.
11434
e70a7231
FR
114352016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
11436
11437 * gdb.base/annota-input-while-running.exp: Fix syntax error.
11438
0f6ed0e0
TT
114392016-05-23 Tom Tromey <tom@tromey.com>
11440
11441 PR python/19438, PR python/18393:
11442 * gdb.python/py-progspace.exp: Add "dir" test.
11443 * gdb.python/py-objfile.exp: Add "dir" test.
11444
ffd19d61
YQ
114452016-05-23 Yao Qi <yao.qi@linaro.org>
11446
11447 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
11448 * gdb.arch/thumb2-it.exp: Likewise.
11449
9e8f9b05
SM
114502016-05-18 Simon Marchi <simon.marchi@ericsson.com>
11451
11452 * gdb.mi/mi-threads-interrupt.c: New file.
11453 * gdb.mi/mi-threads-interrupt.exp: New file.
11454
61c6156d
SM
114552016-05-17 Simon Marchi <simon.marchi@ericsson.com>
11456
11457 PR gdb/18077
11458 * gdb.mi/mi-async-run.exp: New file.
11459 * gdb.mi/mi-async-run.c: New file.
11460
67218854
TT
114612016-05-17 Tom Tromey <tom@tromey.com>
11462 Manish Goregaokar <manishsmail@gmail.com>
11463
11464 * lib/rust-support.exp: New file.
11465 * lib/gdb.exp (skip_rust_tests): New proc.
11466 (build_executable_from_specs): Handle rust.
11467 * lib/future.exp (gdb_find_rustc): New proc.
11468 (gdb_default_target_compile): Handle rust.
11469 * gdb.rust/expr.exp: New file.
11470 * gdb.rust/generics.exp: New file.
11471 * gdb.rust/generics.rs: New file.
11472 * gdb.rust/methods.exp: New file.
11473 * gdb.rust/methods.rs: New file.
11474 * gdb.rust/modules.exp: New file.
11475 * gdb.rust/modules.rs: New file.
11476 * gdb.rust/simple.exp: New file.
11477 * gdb.rust/simple.rs: New file.
11478
c44af4eb
TT
114792016-05-17 Tom Tromey <tom@tromey.com>
11480
11481 * gdb.base/default.exp (set language): Add rust.
11482
dcd1f979
TT
114832016-05-17 Tom Tromey <tom@tromey.com>
11484
11485 * gdb.gdb/unittest.exp: New file.
11486
155b7f57
YQ
114872016-05-16 Yao Qi <yao.qi@linaro.org>
11488
11489 * gdb.base/batch-preserve-term-settings.exp: Remove variable
11490 shell_prompt. Update shell_prompt_re.
11491
8ddd5a6c
DE
114922016-05-12 Doug Evans <dje@google.com>
11493
11494 PR symtab/19999
11495 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
11496 $options when building executable.
11497 * gdb.dwarf2/fission-loclists-pie.S: New file.
11498 * gdb.dwarf2/fission-loclists-pie.exp: New file.
11499
02e370d9
SM
115002016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11501
11502 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
11503 of [is_remote target],
11504
8929ad8b
SM
115052016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11506
11507 * lib/gdb.exp (use_gdb_stub): New procedure.
11508
6c447423
DE
115092016-05-03 Yunlian Jiang <yunlian@google.com>
11510 Doug Evans <dje@google.com>
11511
11512 PR symtab/19914
11513 * gdb.dwarf2/dwp-sepdebug.c: New file.
11514 * gdb.dwarf2/dwp-sepdebug.exp: New file.
11515
444e826c
SM
115162016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11517
11518 * gdb.base/detach.exp: Remove is_remote check.
11519
740feeaa
SM
115202016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11521
11522 * gdb.base/annota-input-while-running.exp: Don't check for
11523 [is_remote target]. Enable annotations after running to main.
11524 Remove unused "set test..." line.
11525
9080ac9d
SM
115262016-04-28 Simon Marchi <simon.marchi@ericsson.com>
11527
11528 * gdb.trace/trace-enable-disable.exp: New file.
11529 * gdb.trace/trace-enable-disable.c: New file.
11530
952ebca5
SM
115312016-04-28 Simon Marchi <simon.marchi@ericsson.com>
11532
11533 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
11534 use it in info sharedlibrary test.
11535 * gdb.trace/ftrace-lock.exp: Likewise.
11536 * gdb.trace/ftrace.exp: Likewise.
11537 * gdb.trace/range-stepping.exp: Likewise.
11538 * gdb.trace/trace-break.exp: Likewise.
11539 * gdb.trace/trace-condition.exp: Likewise.
11540 * gdb.trace/trace-mt.exp: Likewise.
11541
d9019901
SM
115422016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11543
11544 * lib/gdb.exp (gdb_load_shlibs): Rename to...
11545 (gdb_load_shlib): ... this.
11546 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
11547 gdb_load_shlib.
11548 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
11549 * gdb.base/ctxobj.exp: Likewise.
11550 * gdb.base/dprintf-pending.exp: Likewise.
11551 * gdb.base/dso2dso.exp: Likewise.
11552 * gdb.base/fixsection.exp: Likewise.
11553 * gdb.base/gcore-relro.exp: Likewise.
11554 * gdb.base/gdb1555.exp: Likewise.
11555 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11556 * gdb.base/gnu-ifunc.exp: Likewise.
11557 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
11558 * gdb.base/jit-so.exp (one_jit_test): Likewise.
11559 * gdb.base/pending.exp: Likewise.
11560 * gdb.base/print-file-var.exp: Likewise.
11561 * gdb.base/print-symbol-loading.exp: Likewise.
11562 * gdb.base/shlib-call.exp: Likewise.
11563 * gdb.base/shreloc.exp: Likewise.
11564 * gdb.base/so-impl-ld.exp: Likewise.
11565 * gdb.base/solib-disc.exp: Likewise.
11566 * gdb.base/solib-nodir.exp: Likewise.
11567 * gdb.base/solib-overlap.exp: Likewise.
11568 * gdb.base/solib-symbol.exp: Likewise.
11569 * gdb.base/solib-weak.exp (do_test): Likewise.
11570 * gdb.base/sym-file.exp: Likewise.
11571 * gdb.base/symtab-search-order.exp: Likewise.
11572 * gdb.base/type-opaque.exp: Likewise.
11573 * gdb.base/unload.exp: Likewise.
11574 * gdb.base/watchpoint-solib.exp: Likewise.
11575 * gdb.compile/compile.exp: Likewise.
11576 * gdb.cp/gdb2384.exp: Likewise.
11577 * gdb.cp/infcall-dlopen.exp: Likewise.
11578 * gdb.cp/re-set-overloaded.exp: Likewise.
11579 * gdb.fortran/library-module.exp: Likewise.
11580 * gdb.opt/solib-intra-step.exp: Likewise.
11581 * gdb.python/py-finish-breakpoint.exp: Likewise.
11582 * gdb.python/py-shared.exp: Likewise.
11583 * gdb.reverse/solib-precsave.exp: Likewise.
11584 * gdb.reverse/solib-reverse.exp: Likewise.
11585 * gdb.server/solib-list.exp: Likewise.
11586 * gdb.threads/dlopen-libpthread.exp: Likewise.
11587 * gdb.threads/tls-shared.exp: Likewise.
11588 * gdb.threads/tls-so_extern.exp: Likewise.
11589 * gdb.trace/change-loc.exp: Likewise.
11590 * gdb.trace/ftrace-lock.exp: Likewise.
11591 * gdb.trace/ftrace.exp: Likewise.
11592 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
11593 * gdb.trace/pending.exp: Likewise.
11594 * gdb.trace/range-stepping.exp: Likewise.
11595 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
11596 (strace_info_marker): Likewise.
11597 (strace_probe_marker): Likewise.
11598 (strace_trace_on_same_addr): Likewise.
11599 (strace_trace_on_diff_addr): Likewise.
11600 * gdb.trace/trace-break.exp: Likewise.
11601 * gdb.trace/trace-condition.exp: Likewise.
11602 * gdb.trace/trace-mt.exp: Likewise.
11603
fca4cfd9
SM
116042016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11605
11606 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
11607 result of gdb_remote_download.
11608 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
11609 * gdb.base/dso2dso.exp: Likewise.
11610 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11611 * gdb.base/print-file-var.exp: Likewise.
11612 * gdb.base/shlib-call.exp: Likewise.
11613 * gdb.base/shreloc.exp: Likewise.
11614 * gdb.base/solib-overlap.exp: Likewise.
11615 * gdb.base/solib-weak.exp (do_test): Likewise.
11616 * gdb.base/unload.exp: Likewise.
11617
11cf4ffb
YQ
116182016-04-27 Yao Qi <yao.qi@linaro.org>
11619
11620 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
11621 exists.
11622
3e2e34f8
KB
116232016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11624
11625 * vla-type.exp: Print structure from toplevel.
11626
8f07e298
BH
116272016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11628
11629 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
11630 of dynamic types.
11631 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
11632 of dynamic types.
11633
9920b434
BH
116342016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11635
11636 * gdb.fortran/vla-type.f90: New file.
11637 * gdb.fortran/vla-type.exp: New file.
11638
f3abeff5
YQ
116392016-04-25 Yao Qi <yao.qi@linaro.org>
11640
11641 * gdb.base/branch-to-self.c: New file.
11642 * gdb.base/branch-to-self.exp: New file.
11643
0a5d52f0
YQ
116442016-04-22 Yao Qi <yao.qi@linaro.org>
11645
11646 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
11647 more after $hex.
11648
495346f6
YQ
116492016-04-22 Yao Qi <yao.qi@linaro.org>
11650
11651 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
11652 * gdb.base/annota3.exp: Likewise.
11653
4a7e075c
YQ
116542016-04-22 Yao Qi <yao.qi@linaro.org>
11655
11656 * gdb.reverse/step-precsave.exp: Do one step and test program
11657 stops in "callee" and do multiple steps until program goes out
11658 of "callee".
11659 * gdb.reverse/step-reverse.exp: Likewise.
11660
5b061e98
YQ
116612016-04-22 Yao Qi <yao.qi@linaro.org>
11662
11663 * gdb.trace/signal.exp: Also pass if
11664 $tracepoint_hits($i) > $iterations.
11665
5c5dc57f
YQ
116662016-04-22 Yao Qi <yao.qi@linaro.org>
11667
11668 * gdb.trace/signal.c: New file.
11669 * gdb.trace/signal.exp: New file.
11670
a55411b9
DE
116712016-04-19 Doug Evans <xdje42@gmail.com>
11672
11673 * gdb.base/bad-file.exp: New file.
11674
a22df60a
MG
116752016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
11676
11677 * gdb.dwarf2/implref.exp: New file.
11678
0c13f7e5
BH
116792016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11680
11681 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
11682 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
11683 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
11684 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
11685 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
11686 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
11687 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
11688 * lib/fortran.exp (fortran_int4): New procedure.
11689 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
11690 (fortran_logical4): Likewise.
11691
9b9b09e9
BH
116922016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
11693
11694 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
11695
a14d1f4d
BH
116962016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11697
11698 * lib/compiler.c: Add Intel specific preprocessor macros.
11699 * lib/compiler.cc: Likewise.
25d49b86 11700
7d49b1d0
LM
117012016-04-13 Luis Machado <lgustavo@codesourcery.com>
11702
11703 * gdb.server/connect-with-no-symbol-file.c: New file.
11704 * gdb.server/connect-with-no-symbol-file.exp: New file.
11705
8392fa22
SM
117062016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11707
11708 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
11709
8c4c4aeb
SM
117102016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11711
11712 * boards/gdbserver-base.exp (${board}_download): Copy source file to
11713 standard output directory.
11714
45e3745e
AT
117152016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
11716
11717 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
11718
e26b7e41
MM
117192016-04-13 Markus Metzger <markus.t.metzger@intel.com>
11720
11721 * gdb.btrace/instruction_history.c (loop): Add declaration.
11722
8ce09462
AT
117232016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11724
11725 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
11726
2e88a1ea
SM
117272016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
11728
11729 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
11730 parentheses to print.
11731 (continue_handler): Likewise.
11732
f48e22e3
SM
117332016-04-08 Simon Marchi <simon.marchi@ericsson.com>
11734
11735 * gdb.server/solib-list.exp: Remove is_remote check.
11736 Pass shlib= to gdb_compile. Don't link shared library with
11737 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
11738 Run binary filename through "readlink -f" on the target.
11739
096be756
PA
117402016-04-08 Pedro Alves <palves@redhat.com>
11741
11742 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
11743 interpreter filename as argument to gdbserver_spawn.
11744 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11745 Return empty if $last_loaded_file does not exist.
11746
06500533
JK
117472016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11748
11749 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
11750 * gdb.base/jit-main.c: Use exit after usage.
11751
2d35e871
JK
117522016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11753
11754 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
11755 GDBHISTSIZE prior to the tests.
11756 * gdb.base/gdbinit-history.exp: Likewise.
11757
117582016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
11759
11760 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
11761 instead of build_executable. Use gdb_load_shlibs.
11762
c8064e7e
YQ
117632016-04-07 Yao Qi <yao.qi@linaro.org>
11764
11765 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
11766 Execute "si" command.
11767
bde47561
YQ
117682016-04-07 Yao Qi <yao.qi@linaro.org>
11769
11770 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
11771 number instead of the comments on some line.
11772
b16f8a3b
DB
117732016-04-06 Don Breazeal <donb@codesourcery.com>
11774
11775 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
11776 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
11777
c2f901df
SM
117782016-04-06 Simon Marchi <simon.marchi@ericsson.com>
11779
11780 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
11781 standard_output_file. Remove unused binfile variable.
11782
ac17fda0
CU
117832016-04-05 Catalin Udma <catalin.udma@freescale.com>
11784
11785 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
11786 * gdb.python/py-mi-objfile.exp: Match "list main" output
11787 in console format.
11788
03a8c4df
SM
117892016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
11790
11791 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
11792 absolute.
11793
6e774b13
SM
117942016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11795
11796 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
11797 absolute.
11798 * gdb.trace/ftrace.exp: Likewise.
11799 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
11800 targets as well.
11801 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
11802 (gdb_load_shlibs): Copy libraries to test directory when testing
11803 natively. Only set solib-search-path if testing remotely.
11804 * lib/mi-support.exp (mi_load_shlibs): Likewise.
11805
7817ea46
SM
118062016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11807
11808 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
11809 gdb_download. Use it even if the target is not remote.
11810 * gdb.base/jit.exp (compile_jit_test): Likewise.
11811 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
11812 output directory if the destination board is local, otherwise use
11813 the standard remote_download from DejaGnu.
11814 (gdb_download): Remove.
11815 (gdb_load_shlibs): Use gdb_remote_download instead of
11816 gdb_download.
11817 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11818 Use gdb_remote_download instead of gdb_download. Use it even if
11819 the target is not remote.
11820 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
11821 instead of gdb_download.
11822
7beb7f68
SM
118232016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
11824
11825 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
11826 (test_insert_delete_modify): Call mi_load_shlibs before trying to
11827 run.
11828
cc63428a
AV
118292016-04-01 Artemiy Volkov <artemiyv@acm.org>
11830
11831 PR gdb/19820
11832 * gdb.base/printcmds.exp: Add artificial arrays tests.
11833
64cdf930
PA
118342016-03-31 Pedro Alves <palves@redhat.com>
11835
11836 PR gdb/19858
11837 * gdb.base/jit-main.c: Include unistd.h.
11838 (ATTACH): Define to 0 if not already defined.
11839 (wait_for_gdb, mypid): New globals.
11840 (WAIT_FOR_GDB): New macro.
11841 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11842 some breakpoint locations.
11843 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11844 New procedures.
11845 (one_jit_test): Add REATTACH parameter, and handle it. Use
11846 continue_to_test_location.
11847 (top level): Test attach, and adjusts calls to one_jit_test.
11848
40dea8cb
PA
118492016-03-31 Pedro Alves <palves@redhat.com>
11850
11851 PR gdb/19858
11852 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11853 BINSUFFIX parameter, and handle it.
11854 (top level): Adjust calls compile_jit_test.
11855
e7ea3ec7
CU
118562016-03-31 Catalin Udma <catalin.udma@freescale.com>
11857
11858 PR python/19743
11859 * gdb.python/py-mi-events-gdb.py: New file.
11860 * gdb.python/py-mi-events.c: New file.
11861 * gdb.python/py-mi-events.exp: New file.
11862
e6359af3
YQ
118632016-03-30 Yao Qi <yao.qi@linaro.org>
11864
11865 * gdb.reverse/until-precsave.exp: Match function name only.
11866 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11867 Move malloc to a condition block.
11868 * gdb.reverse/until-reverse.exp: Match function name only.
11869
a4105d04
MK
118702016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11871
11872 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11873 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11874 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11875 variable for GPR 0 instead of assuming it is register 0.
11876 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11877 * lib/trace-support.exp: Add s390 registers.
11878
bfa6adb9
YQ
118792016-03-29 Yao Qi <yao.qi@linaro.org>
11880
11881 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11882
1e6697ea
YQ
118832016-03-24 Yao Qi <yao.qi@linaro.org>
11884
11885 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11886 test message.
11887
64bcd522
AA
118882016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11889
11890 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11891 maintaining separate logic for constructing the output path.
11892
7868401b
DB
118932016-03-16 Don Breazeal <donb@codesourcery.com>
11894
11895 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11896 Retry fork and waitpid on interrupted system call errors.
11897 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11898 Use with_timeout_factor to increase timeout by factor of 10.
11899
1cafadb4
DB
119002016-03-15 Don Breazeal <donb@codesourcery.com>
11901
11902 * gdb.cp/scope-err.cc: New test program.
11903 * gdb.cp/scope-err.exp: New test script.
11904 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11905 lines and "set breakpoint here" comment.
11906 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11907 Fixed some whitespace and format issues.
11908 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11909 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11910
81516450
DE
119112016-03-15 Doug Evans <dje@google.com>
11912
11913 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11914 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11915 All callers updated. Add tests for enums, mixed flags register.
11916
aa52b601
DE
119172016-03-15 Doug Evans <dje@google.com>
11918
11919 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11920 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11921
fa4ff313
SM
119222016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11923
11924 * gdb.base/default.exp: Add $_as_string to the list of expected
11925 convenience functions.
11926
f2403c39
AB
119272016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11928
11929 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11930
f2f3ccb9
SM
119312016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11932
11933 * gdb.python/py-as-string.exp: New file.
11934 * gdb.python/py-as-string.c: New file.
11935
00dbd492
PA
119362016-03-09 Pedro Alves <palves@redhat.com>
11937
11938 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11939 signal" -> "Thread NN received signal" output change.
11940 * gdb.threads/ia64-sigill.exp: Likewise.
11941 * gdb.threads/linux-dp.exp: Likewise.
11942 * gdb.threads/manythreads.exp: Likewise.
11943 * gdb.threads/pending-step.exp: Likewise.
11944 * gdb.threads/print-threads.exp: Likewise.
11945 * gdb.threads/sigstep-threads.exp: Likewise.
11946 * gdb.threads/staticthreads.exp: Likewise.
11947 * gdb.threads/tls.exp: Likewise.
11948
1e6697ea
YQ
119492016-03-09 Pedro Alves <palves@redhat.com>
11950
11951 * gdb.base/command-line-input.exp: New file.
11952
b04fd3be
MK
119532016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11954
11955 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11956 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11957 * gdb.trace/pending.exp: Accept leading dot before function name.
11958 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11959 * lib/trace-support.exp: Set registers for ppc.
11960
98fa59e9
MK
119612016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11962
11963 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11964 use it for disassembly; accept .main in addition to main in backtrace.
11965
f77198c8
MK
119662016-03-09 Wei-cheng Wang <cole945@gmail.com>
11967 Marcin Kościelnicki <koriakin@0x04.net>
11968
11969 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11970 (gdb_recursion_test_ptr): New global variable.
11971 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11972 gdb_recursion_test.
11973 (gdb_c_test): Ditto.
11974
ba84e0da
MK
119752016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11976
11977 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11978 ordering.
11979
4366d36e
MK
119802016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11981
11982 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11983 (bar): Add bar_start_lbl label.
11984 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11985 of foo/bar for emitting DWARF and tracing.
11986
5eb264df
SDJ
119872016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11988
11989 * analyze-racy-logs.py: Set executable bit.
11990
fb6a751f
SDJ
119912016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11992
11993 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11994 (CHECK_TARGET_TMP): Likewise.
11995 (check-single-racy): New rule.
11996 (check-parallel-racy): Likewise.
11997 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11998 (do-check-parallel-racy): New rule.
11999 (check-racy/%.exp): Likewise.
12000 * README (Racy testcases): New section.
12001 * analyze-racy-logs.py: New file.
12002
bdf7e230
DE
120032016-03-03 Doug Evans <dje@google.com>
12004
12005 * gdb.base/skip.exp: Use with_test_prefix.
12006
4719d415
YQ
120072016-03-03 Yao Qi <yao.qi@linaro.org>
12008
12009 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
12010 Invoke step_over_syscall "clone" and break_cond_on_syscall
12011 "clone".
12012 * gdb.base/step-over-clone.c: New file.
12013
ea507862
YQ
120142016-03-03 Yao Qi <yao.qi@linaro.org>
12015
12016 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
12017 code format.
12018
8fc8cbda
YQ
120192016-03-03 Yao Qi <yao.qi@linaro.org>
12020
12021 * gdb.base/disp-step-fork.c: Rename to ...
12022 * gdb.base/step-over-fork.c: ... it. New file.
12023 * gdb.base/disp-step-vfork.c: Rename to ...
12024 * gdb.base/step-over-vfork.c: ... it. New file.
12025 * gdb.base/disp-step-syscall.exp: Rename to ...
12026 * gdb.base/step-over-syscall.exp: ... it. New file.
12027 (disp_step_cross_syscall): Rename to ...
12028 (step_over_syscall): ... it.
12029
92fa70b0
YQ
120302016-03-03 Yao Qi <yao.qi@linaro.org>
12031
12032 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
12033 If target supports condition evaluation on target, invoke
12034 break_cond_on_syscall for fork and vfork.
12035
e197ad3c
YQ
120362016-03-03 Yao Qi <yao.qi@linaro.org>
12037
12038 * gdb.base/disp-step-syscall.exp: Don't invoke
12039 support_displaced_stepping.
12040 (disp_step_cross_syscall): Test with displaced stepping off and
12041 on if supported.
12042
0b47da9f
YQ
120432016-03-03 Yao Qi <yao.qi@linaro.org>
12044
12045 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
12046 proc.
12047 (setup): New proc.
12048 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
12049 and setup.
12050
065ab6dc
BH
120512016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12052
12053 * gdb.fortran/vla-history.exp: Remove breakpoint.
12054
07e448ad 120552016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12056
25d49b86
PA
12057 * gdb.fortran/vla-history.exp: Lookup array elements and printing
12058 exceeds timeout.
07e448ad 12059
9ac2d526 120602016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12061
25d49b86
PA
12062 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
12063 breakpoint.
9ac2d526 12064
17807369
BH
120652016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12066
12067 * gdb.mi/vla.f90: Nullify pointer after declaration.
12068
86e501af
PA
120692016-03-01 Pedro Alves <palves@redhat.com>
12070
12071 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
12072
1e903e32
PA
120732016-03-01 Pedro Alves <palves@redhat.com>
12074
12075 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
12076 before anything else.
12077 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
12078 _GNU_SOURCE here.
12079 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
12080 before anything else.
12081 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
12082
6ccb54e2
PA
120832016-03-01 Pedro Alves <palves@redhat.com>
12084
12085 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
12086
30ca9da1
YQ
120872016-03-01 Yao Qi <yao.qi@linaro.org>
12088
12089 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
12090 prepare_for_testing.
12091
dc856b38
YQ
120922016-03-01 Yao Qi <yao.qi@linaro.org>
12093
12094 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
12095
4a932159
AA
120962016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12097
12098 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
12099 manually constructing the output path.
12100
f2489477
AA
121012016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12102
12103 * gdb.arch/s390-stackless.S: New.
12104 * gdb.arch/s390-stackless.exp: New.
12105
38899f16
IB
121062016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
12107
12108 * gdb.dlang/circular.c: New file.
12109 * gdb.dlang/circular.exp: New file.
12110
9fde51ed
YQ
121112016-02-26 Yao Qi <yao.qi@linaro.org>
12112
12113 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
12114 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
12115 (testcases): Update.
12116
ce90fefe
YQ
121172016-02-26 Yao Qi <yao.qi@linaro.org>
12118
12119 * gdb.reverse/aarch64.c: Rename to ...
12120 * gdb.reverse/insn-reverse.c: ... it.
12121 * gdb.reverse/aarch64.exp: Rename to ...
12122 * gdb.reverse/insn-reverse.exp: ... it.
12123
3263bceb
YQ
121242016-02-26 Yao Qi <yao.qi@linaro.org>
12125
12126 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
12127 (testcase_ftype): New.
12128 (testcases): New array.
12129 (n_testcases): New.
12130 (main): Call each element in testcases.
12131 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
12132 (read_testcase): New.
12133 Do the tests in a loop.
12134
6cb59ff1
YQ
121352016-02-25 Yao Qi <yao.qi@linaro.org>
12136
12137 * gdb.base/branches.c: Remove.
12138
ae91f625
MK
121392016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12140
12141 PR gdb/13808
12142 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
12143
678b48b7
MK
121442016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12145
12146 * gdb.trace/ftrace.exp: Remove unnecessary target check.
12147
7337a6f2
MK
121482016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12149
12150 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
12151 change x86_64 call_insn to 'callq'.
12152
861ca91f
AT
121532016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12154
12155 * gdb.trace/tfile-avx.c: Move to...
12156 * gdb.trace/tracefile-pseudo-reg.c: Here.
12157 * gdb.trace/tfile-avx.exp: Move to...
12158 * gdb.trace/tracefile-pseudo-reg.exp: Here.
12159
bf74e428
GB
121602016-02-24 Gary Benson <gbenson@redhat.com>
12161
12162 * gdb.base/attach-pie-noexec.exp: Do not expect an error
12163 message on attach.
12164
cce0e923
DE
121652016-02-23 Doug Evans <dje@google.com>
12166
12167 * gdb.base/skip.c (test_skip): New function.
12168 (end_test_skip_file_and_function): New function.
12169 (test_skip_file_and_function): New function.
12170 * gdb.base/skip1.c (test_skip): New function.
12171 (skip1_test_skip_file_and_function): New function.
12172 * gdb.base/skip.exp: Add tests for new skip options.
12173 * gdb.base/skip-solib.exp: Update expected output.
12174 * gdb.perf/skip-command.cc: New file.
12175 * gdb.perf/skip-command.exp: New file.
12176 * gdb.perf/skip-command.py: New file.
12177
4000e47e
MK
121782016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
12179
12180 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
12181 info registers pattern.
12182
24f75ead
IB
121832016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
12184
12185 * lib/future.exp: Add D support.
12186 (gdb_find_gdc): New proc.
12187 (gdb_default_target_compile): Add D support.
12188
fbb7bcbe
WW
121892016-02-18 Wei-cheng Wang <cole945@gmail.com>
12190
12191 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
12192 user+system time.
12193 (trace_speed_test): Determine the iteration count for a time
12194 between 15..30 seconds.
12195
012b3a21
WT
121962016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
12197
12198 * gdb.arch/i386-mpx-sigsegv.c: New file.
12199 * gdb.arch/i386-mpx-sigsegv.exp: New file.
12200 * gdb.arch/i386-mpx-simple_segv.c: New file.
12201 * gdb.arch/i386-mpx-simple_segv.exp: New file.
12202
2d5189bd
YQ
122032016-02-18 Yao Qi <yao.qi@linaro.org>
12204
12205 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12206 Don't call setup_kfail.
12207
40fb20d0
YQ
122082016-02-18 Yao Qi <yao.qi@linaro.org>
12209
12210 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12211 Set "set breakpoint condition-evaluation" per $cond_bp_target.
12212
21b1f8d2
DE
122132016-02-16 Doug Evans <dje@google.com>
12214
12215 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
12216 * gdb.base/skip1.c: Ditto.
12217 * gdb.base/skip.exp: Whitespace cleanup.
12218
4041ed77
DB
122192016-02-16 Don Breazeal <donb@codesourcery.com>
12220
12221 PR remote/19496
12222 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12223 Remove kfail for PR remote/19496.
12224
c4ef31bf
SM
122252016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12226
12227 * lib/gdb.exp (standard_temp_file): Return a path specific to
12228 the runtest invocation.
12229
266b65b3
SM
122302016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12231
12232 * gdb.trace/save-trace.exp: Change relative path to be in the
12233 standard output directory.
12234
a7a0a6a9
JK
122352016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12236
12237 * gdb.arch/i386-prologue.c: Add missing prototypes.
12238
c99dbb42
JK
122392016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12240
12241 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
12242 * gdb.arch/i386-prologue.exp: Likewise.
12243 * gdb.arch/i386-size.exp: Likewise.
12244
aa480355
SM
122452016-02-15 Simon Marchi <simon.marchi@ericsson.com>
12246
12247 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
12248 define object file path.
12249 * gdb.btrace/gcore.exp: Use standard_output_file to define core
12250 file path.
12251 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
12252 standard_output_file to define binfile.
12253
ba881f50
JK
122542016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12255
12256 Fix compatibility with recent gfortran-5.3.1.
12257 * gdb.fortran/vla-history.exp (print vla1 allocated)
12258 (print vla2 allocated, print $2, print $3): Remove
12259 (print $4): Rename to ...
12260 (print $2): ... here.
12261 (print $9): Rename to ...
12262 (print $5): ... here.
12263 (print $10): Rename to ...
12264 (print $6): ... here.
12265 * gdb.fortran/vla.f90: Add pvla initialization.
12266
e9fb005c
JK
122672016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12268
12269 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
12270 New test.
12271 * gdb.fortran/vla-value-sub.exp: Likewise.
12272
e44e00ff
MK
122732016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
12274
12275 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
12276
97e94151
SM
122772016-02-12 Simon Marchi <simon.marchi@ericsson.com>
12278
12279 * i386-biarch-core.exp: Define corefile using
12280 standard_output_file.
12281
01113bc1
YQ
122822016-02-12 Yao Qi <yao.qi@linaro.org>
12283
12284 * gdb.arch/arm-single-step-kernel-helper.c: New.
12285 * gdb.arch/arm-single-step-kernel-helper.exp: New.
12286
33b4777c
MM
122872016-02-12 Markus Metzger <markus.t.metzger@intel.com>
12288
12289 * gdb.btrace/tailcall-only.exp: New.
12290 * gdb.btrace/tailcall-only.c: New.
12291 * gdb.btrace/x86_64-tailcall-only.S: New.
12292 * gdb.btrace/i686-tailcall-only.S: New.
12293
acc23c11
PA
122942016-02-11 Pedro Alves <palves@redhat.com>
12295
12296 * README (Parallel testing): Add missing double quotes.
12297
e352bf0a
PA
122982016-02-11 Pedro Alves <palves@redhat.com>
12299
12300 * README (Parallel testing): New section.
12301 (GDB_PARALLEL): Rewrite.
12302 (FORCE_PARALLEL): Document.
12303
9f5fed78
MK
123042016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
12305
12306 * gdb.trace/tfile-avx.c: New test.
12307 * gdb.trace/tfile-avx.exp: New test.
12308
9ef9e6a6
KS
123092016-02-09 Keith Seitz <keiths@redhat.com>
12310
12311 PR breakpoints/19546
12312 * gdb.base/infcall-exec.c: New file.
12313 * gdb.base/infcall-exec2.c: New file.
12314 * gdb.base/infcall-exec.exp: New file.
12315
a96e36da
KS
123162016-02-09 Keith Seitz <keiths@redhat.com>
12317
12318 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
12319 (toplevel): Call test_bkpt_address.
12320
9f61929f
KS
123212016-02-09 Keith Seitz <keiths@redhat.com>
12322
12323 PR python/19506
12324 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
12325 (toplevel): Call test_bkpt_address.
12326
1e94266c
SM
123272016-02-09 Simon Marchi <simon.marchi@ericsson.com>
12328
12329 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
12330 to AC_OUTPUT.
12331 * configure: Regenerate.
12332
2a7f3dff
PA
123332016-02-09 Pedro Alves <palves@redhat.com>
12334
12335 PR breakpoints/19548
12336 * gdb.base/execl-update-breakpoints.c (some_function): New
12337 function.
12338 (main): Call it.
12339 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
12340 Tighten expected GDB output.
12341
2151ccc5
SM
123422016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12343
12344 * Makefile.in (ALL_SUBDIRS): Remove.
12345 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
12346 (distclean maintainer-clean realclean): Likewise.
12347 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
12348 * configure: Regenerate.
12349 * gdb.ada/Makefile.in: Delete.
12350 * gdb.arch/Makefile.in: Likewise.
12351 * gdb.asm/Makefile.in: Likewise.
12352 * gdb.base/Makefile.in: Likewise.
12353 * gdb.btrace/Makefile.in: Likewise.
12354 * gdb.cell/Makefile.in: Likewise.
12355 * gdb.compile/Makefile.in: Likewise.
12356 * gdb.cp/Makefile.in: Likewise.
12357 * gdb.disasm/Makefile.in: Likewise.
12358 * gdb.dlang/Makefile.in: Likewise.
12359 * gdb.dwarf2/Makefile.in: Likewise.
12360 * gdb.fortran/Makefile.in: Likewise.
12361 * gdb.gdb/Makefile.in: Likewise.
12362 * gdb.go/Makefile.in: Likewise.
12363 * gdb.guile/Makefile.in: Likewise.
12364 * gdb.java/Makefile.in: Likewise.
12365 * gdb.linespec/Makefile.in: Likewise.
12366 * gdb.mi/Makefile.in: Likewise.
12367 * gdb.modula2/Makefile.in: Likewise.
12368 * gdb.multi/Makefile.in: Likewise.
12369 * gdb.objc/Makefile.in: Likewise.
12370 * gdb.opencl/Makefile.in: Likewise.
12371 * gdb.opt/Makefile.in: Likewise.
12372 * gdb.pascal/Makefile.in: Likewise.
12373 * gdb.perf/Makefile.in: Likewise.
12374 * gdb.python/Makefile.in: Likewise.
12375 * gdb.reverse/Makefile.in: Likewise.
12376 * gdb.server/Makefile.in: Likewise.
12377 * gdb.stabs/Makefile.in: Likewise.
12378 * gdb.threads/Makefile.in: Likewise.
12379 * gdb.trace/Makefile.in: Likewise.
12380 * gdb.xml/Makefile.in: Likewise.
12381 * lib/gdb.exp (make_gdb_parallel_path): Add check for
12382 GDB_PARALLEL.
12383 (standard_output_file): Remove check for GDB_PARALLEL, always
12384 return path in outputs/$subdir/$testname.
12385
437277d4
SM
123862016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12387
12388 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
12389 (site.exp): Assign abs_srcdir to tcl's srcdir.
12390
31d913c7
YQ
123912016-02-04 Yao Qi <yao.qi@linaro.org>
12392
12393 * gdb.base/foll-exec-mode.c: Include limits.h.
12394 (main): Add parameters argc and argv. Get directory from
12395 argv[0].
12396 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
12397 compilation.
12398 * gdb.base/foll-exec.c: Include limits.h.
12399 (main): Add parameters argc and argv.
12400 Get directory from argv[0].
12401 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
12402 Adjust tests on the number of lines as source code changed.
12403 * gdb.base/foll-vfork-exit.c: Include limits.h.
12404 (main): Add one line of statement before vfork.
12405 * gdb.base/foll-vfork.c: Include limits.h and string.h.
12406 (main): Add parameters argc and argv. Get directory from
12407 argv[0].
12408 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
12409 (setup_gdb): Set tbreak to skip some source lines.
12410 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
12411 (main): Add parameters argc and argv. Get directory from
12412 argv[0].
12413 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
12414 compilation.
12415 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
12416 (main): Add parameters argc and argv. Get directory from
12417 argv[0].
12418 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
12419 compilation.
12420
9482b9fb
DE
124212016-02-01 Doug Evans <dje@google.com>
12422
12423 * gdb.base/skip.exp: Clean up multiple references to same test name.
12424
6b2e4f10
PA
124252016-02-01 Pedro Alves <palves@redhat.com>
12426
ccb6afd6 12427 PR remote/19496
6b2e4f10
PA
12428 * gdb.threads/forking-threads-plus-breakpoint.exp
12429 (displaced_stepping_supported): New global.
12430 (probe_displaced_stepping_support): New procedure.
12431 (do_test): Add 'displaced' parameter, and use it.
12432 (top level): Check for displaced stepping support. Add displaced
12433 stepping on/off testing axis.
12434
37a8db1a
AB
124352016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12436
12437 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
12438 pointer. Don't perform further tests on the unassociated pointer
12439 if the first test fails.
12440
5fdf6324
AB
124412016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12442
12443 * gdb.base/max-value-size.c: New file.
12444 * gdb.base/max-value-size.exp: New file.
12445 * gdb.base/huge.exp: Disable max-value-size for this test.
12446
935c6144
IB
124472016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
12448
12449 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12450
7fe8399d
YQ
124512016-01-28 Yao Qi <yao.qi@linaro.org>
12452
12453 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
12454
a2077e25
PA
124552016-01-25 Pedro Alves <palves@redhat.com>
12456
12457 PR threads/19461
12458 * gdb.base/fork-running-state.c: New file.
12459 * gdb.base/fork-running-state.exp: New file.
12460
1d2736d4
PA
124612016-01-25 Pedro Alves <palves@redhat.com>
12462
12463 PR gdb/19494
12464 * gdb.base/catch-fork-kill.c: New file.
12465 * gdb.base/catch-fork-kill.exp: New file.
12466
f1da4b11
PA
124672016-01-25 Pedro Alves <palves@redhat.com>
12468
12469 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
12470 Delete, moved to lib/gdb.exp.
12471 * gdb.threads/forking-threads-plus-breakpoint.exp
12472 (foreach_with_prefix): Likewise.
12473 * gdb.threads/process-dies-while-handling-bp.exp
12474 (foreach_with_prefix): Likewise.
12475 * lib/gdb.exp (foreach_with_prefix): New procedure.
12476
45f38546
MK
124772016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
12478
12479 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
12480 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
12481
dc29a1ce
MK
124822016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
12483
12484 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
12485 endian targets.
12486
092127d7
JK
124872016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12488 Pedro Alves <palves@redhat.com>
12489
12490 Fix testsuite compatibility with Guile.
12491 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
12492 number.
12493
31d765d3
JK
124942016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12495
12496 Fix testsuite compatibility with Guile.
12497 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
12498 (thread 1): New test for backtrace through signal handler.
12499
1ac78c04
YQ
125002016-01-22 Yao Qi <yao.qi@linaro.org>
12501
12502 PR testsuite/19491
12503 * gdb.base/multi-forks.c: Include
12504 ../lib/unbuffer_output.c
12505 (main): Call gdb_unbuffer_output.
12506
4f5946a8
DE
125072016-01-21 Doug Evans <dje@google.com>
12508
12509 * lib/ada.exp (gdb_compile_ada): Fix typo.
12510
305e13e6
JB
125112016-01-21 Joel Brobecker <brobecker@adacore.com>
12512
12513 * gdb.base/break-fun-addr.exp: New file.
12514 * gdb.base/break-fun-addr1.c: New file.
12515 * gdb.base/break-fun-addr2.c: New file.
12516
5f5dfff6
SM
125172016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
12518
12519 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
12520 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
12521 enum flag values.
12522
fd356fa2
AA
125232016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12524
12525 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
12526 when GDB can not set the vector return value. Add more comments
12527 for clarification.
12528
9df22175
AT
125292016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
12530
12531 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
12532 command.
12533
41d1845e
SM
125342016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12535
12536 * Makefile.in (DO_RUNTEST): Add --status and update usages.
12537
01ac6840
SM
125382016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12539
12540 * Makefile.in (check-single): Pass --status to runtest.
12541 (check/%.exp): Likewise.
12542
125432016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12544
12545 * Makefile.in (check-parallel): Propagate return code from make
12546 do-check-parallel.
12547
bd0a71fa
MK
125482016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
12549
12550 * gdb.trace/ftrace.exp: Fix expected message on continue.
12551 * gdb.trace/pending.exp: Fix expected message on continue.
12552 * gdb.trace/trace-break.exp: Fix expected message on continue.
12553
8bcbad33
SM
125542016-01-18 Simon Marchi <simon.marchi@ericsson.com>
12555
12556 * lib/gdb.exp (gdb_test): Remove unused global references.
12557
f303dbd6
PA
125582016-01-18 Pedro Alves <palves@redhat.com>
12559
12560 * gdb.base/async-shell.exp: Adjust expected output.
12561 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
12562 * gdb.base/siginfo-thread.exp: Adjust expected output.
12563 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
12564 * gdb.java/jnpe.exp: Adjust expected output.
12565 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
12566 * gdb.threads/continue-pending-status.exp: Adjust expected output.
12567 * gdb.threads/leader-exit.exp: Adjust expected output.
12568 * gdb.threads/manythreads.exp: Adjust expected output.
12569 * gdb.threads/pthreads.exp: Adjust expected output.
12570 * gdb.threads/schedlock.exp: Adjust expected output.
12571 * gdb.threads/siginfo-threads.exp: Adjust expected output.
12572 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
12573 expected output.
12574 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
12575 output.
12576 * gdb.threads/sigthread.exp: Adjust expected output.
12577 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
12578
b2789696
YQ
125792016-01-18 Yao Qi <yao.qi@linaro.org>
12580
12581 * gdb.guile/scm-section-script.c: Replace @progbits with
12582 %progbits.
12583 * gdb.python/py-section-script.c: Likewise.
12584
71ef29a8
PA
125852016-01-15 Pedro Alves <palves@redhat.com>
12586
12587 * gdb.multi/tids.exp: Test star wildcard ranges.
12588
3f5b7598
PA
125892016-01-15 Pedro Alves <palves@redhat.com>
12590
12591 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
12592 command from "thread apply" invocation.
12593 (thr_apply_info_thr_invalid): Default the expected output to the
12594 input tid list.
12595 (top level): Add tests that use convenience variables. Add tests
12596 for "thread apply" with a valid TID list, but missing the command.
12597
663f6d42
PA
125982016-01-13 Pedro Alves <palves@redhat.com>
12599
12600 * gdb.base/default.exp: Expect $_gthread as well.
12601 * gdb.multi/tids.exp: Test $_gthread.
12602 * gdb.threads/thread-specific.exp: Test $_gthread.
12603
c84f6bbf
PA
126042016-01-13 Pedro Alves <palves@redhat.com>
12605
12606 * gdb.multi/tids.exp: Test "info threads -gid".
12607
22a02324
PA
126082016-01-13 Pedro Alves <palves@redhat.com>
12609
12610 * gdb.multi/tids.exp: Test InferiorThread.global_num and
12611 Breakpoint.thread.
12612 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
12613
5d5658a1
PA
126142016-01-07 Pedro Alves <palves@redhat.com>
12615
12616 * gdb.base/break.exp: Adjust to output changes.
12617 * gdb.base/hbreak2.exp: Likewise.
12618 * gdb.base/sepdebug.exp: Likewise.
12619 * gdb.base/watch_thread_num.exp: Likewise.
12620 * gdb.linespec/keywords.exp: Likewise.
12621 * gdb.multi/info-threads.exp: Likewise.
12622 * gdb.threads/thread-find.exp: Likewise.
12623 * gdb.multi/tids.c: New file.
12624 * gdb.multi/tids.exp: New file.
12625
84654457
PA
126262016-01-13 Pedro Alves <palves@redhat.com>
12627
12628 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
12629
e3940304
PA
126302016-01-13 Pedro Alves <palves@redhat.com>
12631
12632 * gdb.base/default.exp: Expect $_inferior as well.
12633 * gdb.multi/base.exp: Test $_inferior.
12634
a911d87a
PA
126352016-01-13 Pedro Alves <palves@redhat.com>
12636
12637 PR breakpoints/19388
12638 * gdb.base/catch-signal-siginfo-cond.c: New file.
12639 * gdb.base/catch-signal-siginfo-cond.exp: New file.
12640
82075af2
JS
126412016-01-12 Josh Stone <jistone@redhat.com>
12642 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12643
12644 * gdb.base/catch-syscall.c (do_execve): New variable.
12645 (main): Conditionally trigger an execve.
12646 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
12647 (test_catch_syscall_execve): New, check entry/return across execve.
12648 (do_syscall_tests): Call test_catch_syscall_execve.
12649
e46eeedd
PA
126502016-01-12 Pedro Alves <palves@redhat.com>
12651
12652 * gdb.base/random-signal.exp (do_test): New procedure, with body
12653 of testcase moved in.
12654
01d8c27e
JK
126552016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12656 Pedro Alves <palves@redhat.com>
12657
12658 * gdb.base/funcargs.exp (finish from indirectly called function):
12659 Reintroduce the case for 'First'.
12660
9a706302
JK
126612016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12662 Pedro Alves <palves@redhat.com>
12663
12664 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
12665 (tcatch_vfork_then_child_follow_exec)
12666 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
12667 identification.
12668
c0ecb95f
JK
126692016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12670
12671 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
12672 and repeats to unlimited.
12673 * gdb.python/py-value.exp: Likewise.
12674 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
12675 and repeats to unlimited.
12676
6cfc1fcb
JK
126772016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12678
12679 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
12680 and reordering the functions.
12681 * gdb.multi/hangout.c: Likewise.
12682 * gdb.multi/hello.c: Likewise.
12683
582a1b00
SM
126842016-01-08 Simon Marchi <simon.marchi@ericsson.com>
12685
12686 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
12687 absolute.
12688 (SingleStatisticTestResult.report): Use dict.keys instead of
12689 dict.iterkeys.
12690
79bc59cb
PA
126912016-01-06 Pedro Alves <palves@redhat.com>
12692
12693 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
12694
43368e1d
MM
126952016-01-04 Markus Metzger <markus.t.metzger@intel.com>
12696
12697 * gdb.btrace/dlopen.exp: New.
12698 * gdb.btrace/dlopen.c: New.
12699 * gdb.btrace/dlopen-dso.c: New.
12700
79fad5b8
SL
127012015-12-25 Sandra Loosemore <sandra@codesourcery.com>
12702
12703 * lib/gdb.exp (gdb_test): Update comments to clarify that the
12704 PATTERN argument is optional.
12705
ab8314b3
JB
127062015-12-24 Joel Brobecker <brobecker@adacore.com>
12707
12708 * lib/ada.exp (target_compile_ada_from_dir): New function.
12709 (gdb_compile_ada): Reimplement avoiding the use of project files.
12710 * gdb.ada/gnat_ada.gpr: Delete.
12711 * gdb.ada/cond_lang.exp: Adjust test to make path before
12712 filename optional.
12713 * gdb.ada/small_reg_param.exp: Likewise.
12714
fe33faff
SM
127152015-12-22 Simon Marchi <simon.marchi@ericsson.com>
12716
12717 * gdb.base/foll-vork.exp: Remove HP-UX special case.
12718
6d265cb4
TP
127192015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
12720
12721 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
12722 case.
12723
10125099
SM
127242015-12-21 Simon Marchi <simon.marchi@ericsson.com>
12725
12726 * gdb.base/break.exp: Remove dead code.
12727 * gdb.base/sepdebug.exp: Likewise.
12728
3ca22649
SM
127292015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12730
12731 * gdb.asm/asm-source.exp: Remove HP-UX references.
12732 * gdb.base/annota1.exp: Likewise.
12733 * gdb.base/annota3.exp: Likewise.
12734 * gdb.base/attach.exp: Likewise.
12735 * gdb.base/bigcore.exp: Likewise.
12736 * gdb.base/break.exp: Likewise.
12737 * gdb.base/call-ar-st.exp: Likewise.
12738 * gdb.base/callfuncs.exp: Likewise.
12739 * gdb.base/catch-fork-static.exp: Likewise.
12740 * gdb.base/display.exp: Likewise.
12741 * gdb.base/foll-exec-mode.exp: Likewise.
12742 * gdb.base/foll-exec.exp: Likewise.
12743 * gdb.base/foll-fork.exp: Likewise.
12744 * gdb.base/foll-vfork.exp: Likewise.
12745 * gdb.base/funcargs.exp: Likewise.
12746 * gdb.base/hbreak2.exp: Likewise.
12747 * gdb.base/inferior-died.exp: Likewise.
12748 * gdb.base/interrupt.exp: Likewise.
12749 * gdb.base/multi-forks.exp: Likewise.
12750 * gdb.base/nodebug.exp: Likewise.
12751 * gdb.base/sepdebug.exp: Likewise.
12752 * gdb.base/solib1.c: Likewise.
12753 * gdb.base/step-test.exp: Likewise.
12754 * gdb.mi/non-stop.c: Likewise.
12755 * gdb.mi/pthreads.c: Likewise.
12756 * gdb.multi/bkpt-multi-exec.ex: Likewise.
12757 * gdb.threads/pthreads.c: Likewise.
12758 * gdb.threads/staticthreads.exp: Likewise.
12759 * lib/future.exp: Likewise.
12760 * lib/gdb.exp: Likewise.
12761 * gdb.base/so-indr-cl.c: Remove.
12762 * gdb.base/so-indr-cl.exp: Likewise.
12763 * gdb.base/solib.c: Likewise.
12764 * gdb.base/solib.exp: Likewise.
12765 * gdb.base/solib2.c: Likewise.
12766
b6304613
SM
127672015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12768
12769 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
12770 * gdb.base/call-ar-st.exp: Likewise.
12771 * gdb.base/callfuncs.exp: Likewise.
12772 * gdb.base/condbreak.exp: Likewise.
12773 * gdb.base/constvars.exp: Likewise.
12774 * gdb.base/hbreak2.exp: Likewise.
12775 * gdb.base/langs.exp: Likewise.
12776 * gdb.base/list.exp: Likewise.
12777 * gdb.base/long_long.exp: Likewise.
12778 * gdb.base/ptype.exp: Likewise.
12779 * gdb.base/scope.exp: Likewise.
12780 * gdb.base/signals.exp: Likewise.
12781 * gdb.base/so-impl-ld.exp: Likewise.
12782 * gdb.base/varargs.exp: Likewise.
12783 * gdb.base/volatile.exp: Likewise.
12784 * gdb.base/whatis.exp: Likewise.
12785 * gdb.cp/cplusfuncs.exp: Likewise.
12786 * gdb.cp/inherit.exp: Likewise.
12787 * gdb.cp/local.exp: Likewise.
12788 * gdb.cp/member-ptr.exp: Likewise.
12789 * gdb.cp/method.exp: Likewise.
12790 * gdb.cp/overload.exp: Likewise.
12791 * gdb.cp/templates.exp: Likewise.
12792 * gdb.stabs/weird.exp: Likewise.
12793 * lib/compiler.c: Likewise.
12794 * lib/compiler.cc: Likewise.
12795 * lib/cp-support.exp: Likewise.
12796 * lib/gdb.exp: Likewise.
12797
bf401b07
SM
127982015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
12799
12800 * configure.ac: Remove HP-UX case.
12801 * configure: Regenerate.
12802
aff9c0f8
SM
128032015-12-18 Simon Marchi <simon.marchi@ericsson.com>
12804
12805 * lib/gdb.exp (gdb_compile): Add function doc.
12806
a6904d5a
PA
128072015-12-17 Pedro Alves <palves@redhat.com>
12808
12809 PR threads/19354
12810 * gdb.multi/info-threads.exp: New file.
12811
a22279dd
YQ
128122015-12-15 Yao Qi <yao.qi@linaro.org>
12813
12814 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
12815 is aarch64*-*-*.
12816
0588c796
SL
128172015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12818
12819 * gdb.base/history-duplicates.exp: Skip if no readline support.
12820
5d978e17
SL
128212015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12822
12823 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
12824
7e763b86
SL
128252015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12826
12827 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
12828
87a3a92c
SL
128292015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12830
12831 * gdb.base/completion.exp: Skip tests that interrupt GDB with
12832 ctrl-C if nointerrupts target property is set.
12833 * gdb.base/double-prompt-target-event-error.exp: Likewise.
12834 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
12835 * gdb.base/paginate-bg-execution.exp: Likewise.
12836 * gdb.base/paginate-execution-startup.exp: Likewise.
12837 * gdb.base/random-signal.exp: Likewise.
12838 * gdb.base/range-stepping.exp: Likewise.
12839 * gdb.cp/annota2.exp: Likewise.
12840 * gdb.cp/annota3.exp: Likewise.
12841 * gdb.gdb/selftest.exp: Likewise.
12842 * gdb.threads/continue-pending-status.exp: Likewise.
12843 * gdb.threads/leader-exit.exp: Likewise.
12844 * gdb.threads/manythreads.exp: Likewise.
12845 * gdb.threads/pthreads.exp: Likewise.
12846 * gdb.threads/schedlock.exp: Likewise.
12847 * gdb.threads/sigthread.exp: Likewise.
12848
a8f077dc
DB
128492015-12-11 Don Breazeal <donb@codesourcery.com>
12850
12851 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12852 remote.
12853 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12854 * gdb.base/foll-exec.exp (main): Enable for target remote.
12855 * gdb.base/foll-fork.exp (main): Likewise.
12856 * gdb.base/foll-vfork.exp (main): Likewise.
12857 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12858 (proc continue_to_exit_bp_loc): Use clean_restart.
12859 * gdb.base/pie-execl.exp (main): Disable for target remote.
12860 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12861 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12862 * gdb.threads/execl.exp (main): Likewise.
12863 * gdb.threads/fork-child-threads.exp (main): Likewise.
12864 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12865 remote.
12866 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12867 remote.
12868 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12869 pid.tid style ptids, instead of just tid.
12870 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12871 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12872 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12873 ptids, instead of just tid.
12874
3b2464a8
AB
128752015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12876
12877 * gdb.base/list.exp (test_list_forward): Add end of file error
12878 test.
12879 (test_repeat_list_command): Add end of file error test.
12880 (test_list_backwards): Add beginning of file error test.
12881
a0def019
AB
128822015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12883
12884 * gdb.base/list.exp (test_list_invalid_args): New function,
12885 defined, and called.
12886
5c000dff
AB
128872015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12888
12889 * gdb.base/list.exp (test_list): Make test names unique.
12890
f1637ebe
YQ
128912015-12-11 Yao Qi <yao.qi@linaro.org>
12892
12893 * gdb.base/coremaker2.c: Remove.
12894
36d6fc0a
PA
128952015-12-10 Pedro Alves <palves@redhat.com>
12896
12897 * gdb.multi/base.exp: Remove stale "spaces" references.
12898
762f7747
PA
128992015-12-10 Pedro Alves <palves@redhat.com>
12900
12901 * gdb.multi/base.exp: Don't use nowarnings.
12902 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12903 * gdb.multi/hangout.c: Include stdio.h.
12904 * gdb.multi/hello.c: Include stdlib.h.
12905 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12906 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12907 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12908
28d2bfb9
AB
129092015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12910
12911 * gdb.dwarf2/dw2-ranges-base.c: New file.
12912 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12913 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12914 support additional line table, and debug ranges generation.
12915 (Dwarf::ranges): New function, generate .debug_ranges.
12916 (Dwarf::lines): Support generating simple line table programs.
12917 (Dwarf::assemble): Initialise new namespace variables.
12918
5fc2beac
KB
129192015-12-09 Kevin Buettner <kevinb@redhat.com>
12920
12921 * gdb.base/async.exp (proc test_background): Add case for
12922 asynchronous execution not supported.
12923
1c35a88f
LM
129242015-12-09 Luis Machado <lgustavo@codesourcery.com>
12925
12926 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12927 format and change test names to make them unique.
12928
b593e3d9
RK
129292015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12930 Pedro Alves <pedro@redhat.com>
12931
12932 PR gdb/18702
12933 Add checking of floatformats setup on x86_64 hosts.
12934 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12935 (smallval, bigval): New labels/constants.
12936 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12937 float" after loading bigval and smallval.
12938
d72413e6
PMR
129392015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12940
12941 * gdb.ada/fun_overload_menu.exp: New testcase.
12942 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12943
ece66d65
JS
129442015-12-04 Josh Stone <jistone@redhat.com>
12945
12946 * gdb.base/catch-fork-static.exp: New.
12947
41d0efca
YQ
129482015-12-03 Yao Qi <yao.qi@linaro.org>
12949
12950 * gdb.base/sizeof.c: Don't include stdio.h and
12951 ../lib/unbuffer_output.c.
12952 (main): New variable 'size' and 'value'. Remove printf and
12953 gdb_unbuffer_output. Assign return value to size and value.
12954 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12955 at the beginning.
12956 (check_sizeof): Check the result by printing variable 'size'.
12957 (check_valueof): Check the result by printing variable 'value'.
12958
99fd02d9
YQ
129592015-12-01 Yao Qi <yao.qi@linaro.org>
12960
12961 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12962 for aarch64*-*-linux* target.
12963
f2faf941
PA
129642015-11-30 Pedro Alves <palves@redhat.com>
12965
12966 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12967
04bf20c5
PA
129682015-11-30 Pedro Alves <palves@redhat.com>
12969
12970 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12971 Handle non-stop mode vCont replies.
12972
09df4675
PA
129732015-11-30 Pedro Alves <palves@redhat.com>
12974
12975 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12976 prepare_for_testing. Start gdb with "set non-stop on" appended to
12977 GDBFLAGS. Lax expected stop output.
12978
58b584af
YQ
129792015-11-27 Yao Qi <yao.qi@linaro.org>
12980
12981 * gdb.arch/arm-neon.exp: New.
12982 * gdb.arch/arm-neon.c: New.
12983
dfcb77a8
YQ
129842015-11-27 Yao Qi <yao.qi@linaro.org>
12985
12986 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12987
88e8ec1b
YQ
129882015-11-27 Yao Qi <yao.qi@linaro.org>
12989
12990 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12991 frames-invalid annotation.
12992
bfde72c2
YQ
129932015-11-27 Yao Qi <yao.qi@linaro.org>
12994
12995 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12996
f6512a69
SM
129972015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12998
12999 * gdb.threads/names.exp: New file.
13000 * gdb.threads/names.c: New file.
13001 * README: Mention gdb,no_thread_names.
13002
46a3515b
MM
130032015-11-26 Markus Metzger <markus.t.metzger@intel.com>
13004
13005 PR 19297
13006 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
13007 support" error.
13008
62147a22
PA
130092015-11-24 Pedro Alves <palves@redhat.com>
13010
13011 PR 17539
13012 * gdb.base/display.exp: Expect displays to be sorted in ascending
13013 order. Use multi_line.
13014 * gdb.base/solib-display.exp: Likewise.
13015
2f341b6e
PA
130162015-11-24 Pedro Alves <palves@redhat.com>
13017
13018 PR 17539
25d49b86
PA
13019 * gdb.base/display.exp: Expect displays to be sorted in ascending
13020 order. Use multi_line.
13021 * gdb.base/solib-display.exp: Likewise.
2f341b6e 13022
7e0aa6aa
PA
130232015-11-24 Pedro Alves <palves@redhat.com>
13024
13025 PR 17539
13026 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
13027 threads in ascending order.
13028 * gdb.base/foll-fork.exp: Likewise.
13029 * gdb.base/foll-vfork.exp: Likewise.
13030 * gdb.base/multi-forks.exp: Likewise.
13031 * gdb.mi/mi-nonstop.exp: Likewise.
13032 * gdb.mi/mi-nsintrall.exp: Likewise.
13033 * gdb.multi/base.exp: Likewise.
13034 * gdb.multi/multi-arch.exp: Likewise.
13035 * gdb.python/py-inferior.exp: Likewise.
13036 * gdb.threads/break-while-running.exp: Likewise.
13037 * gdb.threads/execl.exp: Likewise.
13038 * gdb.threads/gcore-thread.exp: Likewise.
13039 * gdb.threads/info-threads-cur-sal.exp: Likewise.
13040 * gdb.threads/kill.exp: Likewise.
13041 * gdb.threads/linux-dp.exp: Likewise.
13042 * gdb.threads/multiple-step-overs.exp: Likewise.
13043 * gdb.threads/next-bp-other-thread.exp: Likewise.
13044 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
13045 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
13046 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
13047 * gdb.threads/thread-find.exp: Likewise.
13048 * gdb.threads/tls.exp: Likewise.
13049 * lib/mi-support.exp (mi_reverse_list): Delete.
13050 (mi_check_thread_states): No longer reverse list.
13051
2cc57ad8
PA
130522015-11-24 Pedro Alves <palves@redhat.com>
13053
13054 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
13055 use lowercase.
13056
c93e8391
SM
130572015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13058
13059 * gdb.trace/actions.c: Include trace-common.h.
13060 (main): Add a location for a fast tracepoint.
13061 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
13062 the normal tracepoints.
13063 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
13064
045ccf91
SM
130652015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13066
13067 * save-trace.exp: Factor out code to these...
13068 (gdb_save_tracepoints): New.
13069 (gdb_load_tracepoints): New.
13070 (do_save_load_test): New.
13071
5506f9f6
KB
130722015-11-23 Kevin Buettner <kevinb@redhat.com>
13073
13074 * gdb.base/asmlabel.exp: New test.
13075 * gdb.base/asmlabel.c: New test case.
13076
16c3b12f
JB
130772015-11-23 Joel Brobecker <brobecker@adacore.com>
13078
13079 * gdb.base/wrong_frame_bt_full-main.c: New file.
13080 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
13081 * gdb.base/wrong_frame_bt_full.exp: New file.
13082
155bfbd3
JB
130832015-11-23 Joel Brobecker <brobecker@adacore.com>
13084
13085 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
13086
bb097445
JM
130872015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13088
206853a0 13089 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
13090 pstate register when comparing registers values in
13091 sparc64-*-linux-gnu targets to avoid spurious differences.
13092
9c88ed8f
JM
130932015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13094
206853a0 13095 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 13096
96161e25
SL
130972015-11-19 Sandra Loosemore <sandra@codesourcery.com>
13098
13099 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
13100 as type argument to gdb_compile.
13101 * gdb.base/nested-subp2.exp: Likewise.
13102 * gdb.base/nested-subp3.exp: Likewise.
13103
340c2830
DV
131042015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
13105
13106 * lib/dwarf.exp (_note): Fix left shift of negative value.
13107 * gdb.trace/trace-condition.exp: Likewise.
13108
c1862d0f
YQ
131092015-11-13 Yao Qi <yao.qi@linaro.org>
13110
13111 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
13112 comments about d10v.
13113 (test_scalar_returns): Likewise.
13114 * gdb.base/d10v.ld: Remove.
13115 * gdb.base/overlays.exp: Remove the target triplet checking for
13116 d10v-*-*.
13117 * gdb.base/structs.exp (test_struct_returns): Remove the
13118 comments about d10v.
13119 (test_struct_calls): Likewise.
13120
77ae9c19
YQ
131212015-11-13 Yao Qi <yao.qi@linaro.org>
13122
13123 * gdb.base/gnu_vector.exp: Check the return value by "p res".
13124 * gdb.base/gnu_vector.c: Don't include stdio.h.
13125 (main): Don't print res and call add_some_intvecs.
13126
430e004e
MK
131272015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
13128
13129 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
13130 macro.
13131 (func5): Removed.
13132 (func4): Use FAST_TRACEPOINT_LABEL.
13133 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
13134 macro.
13135 (func): Removed.
13136 (thread_function): Use FAST_TRACEPOINT_LABEL.
13137 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
13138 (func): Remove.
13139 (marker): Use FAST_TRACEPOINT_LABEL.
13140 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
13141 (pendfunc1): Remove.
13142 (pendfunc): Use FAST_TRACEPOINT_LABEL.
13143 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
13144 (foo): Remove.
13145 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
13146 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
13147 macro.
13148 (func): Remove.
13149 (marker): Use FAST_TRACEPOINT_LABEL.
13150 * gdb.trace/trace-common.h: New header.
13151 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
13152 macro.
13153 (func): Remove.
13154 (marker): Use FAST_TRACEPOINT_LABEL.
13155 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
13156 (func): Remove.
13157 (thread_function): Use FAST_TRACEPOINT_LABEL.
13158
6e7675a7
MK
131592015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
13160
13161 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
13162 in front.
13163 * gdb.trace/change-loc.exp: Use global pcreg definition.
13164 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
13165 * gdb.trace/entry-values.exp: Use global spreg definition, add $
13166 in front.
13167 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
13168 * gdb.trace/pending.exp: Likewise.
13169 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
13170 * gdb.trace/trace-break.exp: Likewise.
13171 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
13172 in front.
13173 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
13174 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
13175 in front.
13176 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
13177
dddc0e16
JB
131782015-11-09 Joel Brobecker <brobecker@adacore.com>
13179
13180 * gdb.ada/fin_fun_out: New testcase.
13181
c6f0b406
KB
131822015-11-07 Kevin Buettner <kevinb@redhat.com>
13183
13184 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
13185 value associated with DW_AT_byte_size.
13186 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
13187 constants for DW_AT_byte_size, DW_AT_lower_bound, and
13188 DW_AT_upper_bound.
13189
f01dcfd9
KB
131902015-11-07 Kevin Buettner <kevinb@redhat.com>
13191
13192 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
13193 (gdb_target_symbol_prefix_flags): Define in terms of _asm
13194 version.
13195 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
13196 gdb.dwarf2/dw2-canonicalize-type.exp,
13197 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
13198 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
13199 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
13200 provided by gdb_target_symbol_prefix_flags_asm.
13201 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
13202 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
13203 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
13204 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
13205 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
13206 macros where needed). Use this macro for symbols which require
13207 the prefix provided by SYMBOL_PREFIX.
13208
2223449a
KB
132092015-11-05 Kevin Buettner <kevinb@redhat.com>
13210
13211 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
13212 New procs.
13213 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
13214 representing expressions, of more than one list element.
13215 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
13216 to prepend linker symbol prefix to f.
13217 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
13218 table_1 and table_2.
13219 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
13220 Likewise, for f and g.
13221 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
13222 for ptr.
13223 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
13224 for main.
13225 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
13226 table_1_ptr and table_2_ptr.
13227
6f2f1a3a
JK
132282015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13229 Joel Brobecker <brobecker@adacore.com>
13230
13231 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
13232
566c56c9
MK
132332015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
13234
13235 * gdb.reverse/s390-mvcle.c: New test.
13236 * gdb.reverse/s390-mvcle.exp: New file.
13237 * lib/gdb.exp: Enable reverse tests on s390*-linux.
13238
d5f0636b
MK
132392015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13240
13241 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
13242
7ad8b86c
MK
132432015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13244
13245 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
13246 reaching marker2.
13247 * gdb.reverse/getresuid-reverse.exp: Likewise.
13248 * gdb.reverse/pipe-reverse.exp: Likewise.
13249 * gdb.reverse/readv-reverse.exp: Likewise.
13250 * gdb.reverse/recvmsg-reverse.exp: Likewise.
13251 * gdb.reverse/time-reverse.exp: Likewise.
13252 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
13253
4081c0f1
YQ
132542015-10-30 Yao Qi <yao.qi@linaro.org>
13255
13256 * gdb.threads/wp-replication.c (watch_count_done): Remove.
13257 (empty_cycle): Remove.
13258 (main): Don't call empty_cycle. Don't use watch_count_done.
13259 * gdb.threads/wp-replication.exp: Don't set breakpoint on
13260 empty_cycle. Rewrite the code counting HW watchpoints.
13261
452b4ba5
MK
132622015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
13263
13264 * gdb.reverse/fstatat-reverse.c: New test.
13265 * gdb.reverse/fstatat-reverse.exp: New file.
13266 * gdb.reverse/getresuid-reverse.c: New test.
13267 * gdb.reverse/getresuid-reverse.exp: New file.
13268 * gdb.reverse/pipe-reverse.c: New test.
13269 * gdb.reverse/pipe-reverse.exp: New file.
13270 * gdb.reverse/readv-reverse.c: New test.
13271 * gdb.reverse/readv-reverse.exp: New file.
13272 * gdb.reverse/recvmsg-reverse.c: New test.
13273 * gdb.reverse/recvmsg-reverse.exp: New file.
13274 * gdb.reverse/time-reverse.c: New test.
13275 * gdb.reverse/time-reverse.exp: New file.
13276 * gdb.reverse/waitpid-reverse.c: New test.
13277 * gdb.reverse/waitpid-reverse.exp: New file.
13278
5e2e7507
JK
132792015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13280
13281 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
13282
0fde2c53
DE
132832015-10-26 Doug Evans <dje@google.com>
13284
13285 PR symtab/17391
13286 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
13287 * gdb.dwarf2/bad-regnum.c: New file.
13288 * gdb.dwarf2/bad-regnum.exp: New file.
13289
1a70ae97
DE
132902015-10-26 Doug Evans <dje@google.com>
13291
13292 PR python/18938
13293 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
13294 file.
13295
27dc26ab
JK
132962015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13297
13298 * gdb.compile/compile.exp (compile code globalvar): Update expectation
13299 for a change by "Mention language in compile error message".
13300
bed91f4d
SM
133012015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
13302
13303 PR python/18073
13304 * gdb.python/py-type.c (C::a_method): New.
13305 (C::a_const_method): New.
13306 (C::a_static_method): New.
13307 (a_function): New.
13308 * gdb.python/py-type.exp (test_fields): Test getting fields
13309 from function and method.
13310
3f2f83dd
KB
133112015-10-21 Keven Boell <keven.boell@intel.com>
13312
13313 * gdb.fortran/vla-alloc-assoc.exp: New file.
13314 * gdb.fortran/vla-datatypes.exp: New file.
13315 * gdb.fortran/vla-datatypes.f90: New file.
13316 * gdb.fortran/vla-history.exp: New file.
13317 * gdb.fortran/vla-ptype-sub.exp: New file.
13318 * gdb.fortran/vla-ptype.exp: New file.
13319 * gdb.fortran/vla-sizeof.exp: New file.
13320 * gdb.fortran/vla-sub.f90: New file.
13321 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
13322 * gdb.fortran/vla-value-sub-finish.exp: New file.
13323 * gdb.fortran/vla-value-sub.exp: New file.
13324 * gdb.fortran/vla-value.exp: New file.
13325 * gdb.fortran/vla-ptr-info.exp: New file.
13326 * gdb.mi/mi-vla-fortran.exp: New file.
13327 * gdb.mi/vla.f90: New file.
13328
27145d50
SL
133292015-10-21 Sandra Loosemore <sandra@codesourcery.com>
13330
13331 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
13332 of hardwired timeout value.
13333
5f3ff4f8
JK
133342015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13335 Pedro Alves <palves@redhat.com>
13336
13337 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
13338 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
13339
bfd09d20
JS
133402015-10-19 Josh Stone <jistone@redhat.com>
13341
13342 * gdb.base/catch-syscall.c: Include <sched.h>.
13343 (unknown_syscall): New variable.
13344 (main): Trigger a vfork and an unknown syscall.
13345 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
13346 (unknown_syscall_number): Likewise.
13347 (check_call_to_syscall): Accept an optional syscall pattern.
13348 (check_return_from_syscall): Likewise.
13349 (check_continue): Likewise.
13350 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
13351 (test_catch_syscall_skipping_return): New test toggling off 'catch
13352 syscall' to step over the syscall return, then toggling back on.
13353 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
13354 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
13355 (do_syscall_tests): Call test_catch_syscall_without_args and
13356 test_catch_syscall_mid_vfork.
13357 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
13358 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
13359
b32b93c6
AS
133602015-10-19 Andrew Stubbs <ams@codesourcery.com>
13361
13362 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
13363 print g_vE): Add new pass patterns.
13364 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
13365 print various symbol names for vptr fields.
13366
9d622bda
AB
133672015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
13368
13369 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
13370 results.
13371
0fd8ac1c
YQ
133722015-10-12 Yao Qi <yao.qi@linaro.org>
13373
13374 * gdb.arch/disp-step-insn-reloc.exp: New test case.
13375
34240514
YQ
133762015-10-12 Yao Qi <yao.qi@linaro.org>
13377
13378 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
13379 is aarch64*-*-linux*.
13380
8240f442
YQ
133812015-10-12 Yao Qi <yao.qi@linaro.org>
13382
13383 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
13384 (can_relocate_bcond_true): ... it.
13385 (can_relocate_bcond_false): New function.
13386 (foo): Likewise.
13387 (can_relocate_bl): Likewise.
13388 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
13389 can_relocate_bl.
13390
2520f728
PMR
133912015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
13392
13393 * gdb.base/nested-addr.c: New file.
13394 * gdb.base/nested-addr.exp: New testcase.
13395
abcef95a
MM
133962015-10-09 Markus Metzger <markus.t.metzger@intel.com>
13397
13398 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
13399 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
13400 its output. Ignore the output of "record goto begin" and instead
13401 check that GDB is replaying.
13402
145e3ddb
PA
134032015-10-09 Pedro Alves <palves@redhat.com>
13404
13405 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
13406 (top level): Use it in the run with no args test.
13407
d5d8c4e1
IB
134082015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
13409
13410 * gdb.dlang/properties.exp: New file.
13411
06e635ef
SL
134122015-10-02 Sandra Loosemore <sandra@codesourcery.com>
13413
13414 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
13415 whether or not address 0x1000 is mapped on the target.
13416
e019fd1d
SM
134172015-09-30 Simon Marchi <simon.marchi@ericsson.com>
13418
13419 * gdb.python/py-type.exp: Do not run tests if binaries fail to
13420 build.
13421
77ba2a67
MM
134222015-09-30 Markus Metzger <markus.t.metzger@intel.com>
13423
13424 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
13425 instruction-history test.
13426
c60eb31f
DE
134272015-09-28 Doug Evans <dje@google.com>
13428
13429 * gdb.base/gcore.c (array_func): Add reference to static_array.
13430
9a3c8263
SM
134312015-09-25 Simon Marchi <simon.marchi@ericsson.com>
13432
13433 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
13434 source line.
13435
9720e656
SL
134362015-09-24 Sandra Loosemore <sandra@codesourcery.com>
13437
13438 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
13439 short or char as base type.
13440
938d3bf2
SL
134412015-09-23 Sandra Loosemore <sandra@codesourcery.com>
13442
13443 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
13444 to allow any size enum.
13445
e6c2c623
PMR
134462015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
13447
13448 * gdb.ada/array_ptr_renaming.exp: New testcase.
13449 * gdb.ada/array_ptr_renaming/foo.adb: New file.
13450 * gdb.ada/array_ptr_renaming/pack.ads: New file.
13451
06da0f77
PL
134522015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13453
13454 * gdb.trace/ftrace-lock.c: New file.
13455 * gdb.trace/ftrace-lock.exp: New file.
13456
4f51c22a
PL
134572015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13458
13459 * gdb.arch/insn-reloc.c: New file.
13460 * gdb.arch/ftrace-insn-reloc.exp: New file.
13461
7041adf4
PL
134622015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13463
13464 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
13465 instruction.
13466 * gdb.trace/pendshr1.c (pendfunc): Likewise.
13467 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
13468 * gdb.trace/range-stepping.c: Likewise.
13469 * gdb.trace/trace-break.c: Likewise.
13470 * gdb.trace/trace-mt.c (thread_function): Likewise.
13471 * gdb.trace/ftrace.c (marker): Likewise.
13472 * gdb.trace/trace-condition.c (marker): Likewise.
13473 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
13474 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
13475 is_aarch64_target.
13476
015d2e7e
DE
134772015-09-18 Doug Evans <xdje42@gmail.com>
13478
13479 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
13480 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
13481
26b188a2
SL
134822015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13483
13484 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
13485 the breakpoint.
13486
79dc332b
SL
134872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13488
13489 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
13490 the pending breakpoint. Remove timeout override for "Run till
13491 MI pending breakpoint on pendfunc3 on thread 2" test.
13492
f57929f2
SL
134932015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13494
13495 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
13496 filename pattern.
13497
3f469b17
SL
134982015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13499
13500 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
13501 in breakpoint filename pattern.
13502
515b89b3
SL
135032015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13504
7800dbe4
SL
13505 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
13506
135072015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13508
515b89b3
SL
13509 * gdb.linespec/explicit.exp: Check for readline support for
13510 tab-completion tests. Fix obvious typo.
13511
d2939ba2
MM
135122015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13513
13514 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
13515 and replay.
13516
cbb55fa7
MM
135172015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13518
13519 * gdb.btrace/non-stop.c: New.
13520 * gdb.btrace/non-stop.exp: New.
13521
43691ca1
PL
135222015-09-17 Pierre Langlois <pierre.langlois@arm.com>
13523 Yao Qi <yao.qi@linaro.org>
13524
13525 * gdb.trace/trace-condition.c: New file.
13526 * gdb.trace/trace-condition.exp: New file.
13527
d78908cf
WW
135282015-09-16 Wei-cheng Wang <cole945@gmail.com>
13529
13530 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
13531 for testing bytecode compilation.
13532
1ed415e2
PA
135332015-09-16 Pedro Alves <palves@redhat.com>
13534 Sandra Loosemore <sandra@codesourcery.com>
13535
13536 * gdb.threads/non-stop-fair-events.c (timeout): New global.
13537 (SECONDS): Redefine.
13538 (main): Call pthread_kill and alarm early.
13539 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
13540 support.
13541 (test): If the target can't hardware step and doesn't support
13542 displaced stepping, increase the timeout.
13543
d136eff5
PA
135442015-09-16 Pedro Alves <palves@redhat.com>
13545
13546 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
13547 (enable_debug): New procedures.
13548 (test): Use them. Bail out if waiting for threads fails.
13549 (top level): Bail out if a test fails.
13550
991f019c
YQ
135512015-09-16 Yao Qi <yao.qi@linaro.org>
13552
13553 * gdb.asm/asm-source.exp: Set asm-arch for
13554 aarch64*-*-* target.
13555 * gdb.asm/aarch64.inc: New file.
13556
bfca584f
PMR
135572015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
13558
13559 * gdb.ada/array_of_variable_length.exp: New testcase.
13560 * gdb.ada/array_of_variable_length/foo.adb: New file.
13561 * gdb.ada/array_of_variable_length/pck.adb: New file.
13562 * gdb.ada/array_of_variable_length/pck.ads: New file.
13563
b326e587
DE
135642015-09-15 Doug Evans <dje@google.com>
13565
13566 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
13567 of function static local variable.
13568
5382cfab
PW
135692015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13570
13571 * gdb.threads/tls-so_extern.exp: New test file.
13572 * gdb.threads/tls-so_extern.c: New test file.
13573 * gdb.threads/tls-so_extern_main.c: New test file.
13574
141c5cc4
JK
135752015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13576
13577 * gdb.opt/solib-intra-step-lib.c: New file.
13578 * gdb.opt/solib-intra-step-main.c: New file.
13579 * gdb.opt/solib-intra-step.exp: New file.
13580
d15dcecd
PA
135812015-09-15 Pedro Alves <palves@redhat.com>
13582
13583 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
13584 gdb_continue_to_breakpoint instead of gdb_test_multiple.
13585
4c2f2a79
PA
135862015-09-14 Pedro Alves <palves@redhat.com>
13587
13588 * gdb.base/hook-stop-continue.c: Delete.
13589 * gdb.base/hook-stop-continue.exp: Delete.
13590 * gdb.base/hook-stop-frame.c: Delete.
13591 * gdb.base/hook-stop-frame.exp: Delete.
13592 * gdb.base/hook-stop.c: New file.
13593 * gdb.base/hook-stop.exp: New file.
13594
919e6dbe
PMR
135952015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
13596
13597 * gdb.ada/access_to_packed_array.exp: New testcase.
13598 * gdb.ada/access_to_packed_array/foo.adb: New file.
13599 * gdb.ada/access_to_packed_array/pack.adb: New file.
13600 * gdb.ada/access_to_packed_array/pack.ads: New file.
13601
157280a4
MM
136022015-09-14 Markus Metzger <markus.t.metzger@intel.com>
13603
13604 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
13605 buffer size test.
13606
2fd33e94
DB
136072015-09-11 Don Breazeal <donb@codesourcery.com>
13608
13609 * gdb.base/foll-exec.c: Add copyright header. Fix
13610 formatting issues.
13611 * gdb.base/foll-exec.exp (zap_session): Delete proc.
13612 (do_exec_tests): Use clean_restart in place of zap_session,
13613 and for test initialization. Fix formatting issues. Use
13614 fail in place of perror.
13615 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
13616 an expect statement to match an expression with output from
13617 the program under debug.
13618 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
13619 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
13620 * gdb.threads/non-ldr-exc-2.exp: Likewise.
13621 * gdb.threads/non-ldr-exc-3.exp: Likewise.
13622 * gdb.threads/non-ldr-exc-4.exp: Likewise.
13623
e70b6e8e
DE
136242015-09-09 Doug Evans <dje@google.com>
13625
13626 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
13627
7a551a51
DE
136282015-09-09 Doug Evans <dje@google.com>
13629
13630 * gdb.base/pie-execl.exp: Fix result test of build_executable.
13631
4c666f84
DE
136322015-09-09 Doug Evans <dje@google.com>
13633
13634 * gdb.base/savedregs.exp: Fix typo.
13635
243a9253
PA
136362015-09-09 Pedro Alves <palves@redhat.com>
13637
13638 * gdb.mi/mi-cli.exp: Add CLI finish tests.
13639
c0fa8fbd
SL
136402015-09-08 Sandra Loosemore <sandra@codesourcery.com>
13641
13642 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
13643 command actually switches threads. Give up on remaining
13644 tests if target fails to stop at breakpoint.
13645
cd7c1778
PMR
136462015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
13647
13648 * gdb.ada/funcall_char.exp: New testcase.
13649 * gdb.ada/funcall_char/foo.adb: New file.
13650
dc5c8746
PMR
136512015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
13652
13653 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
13654 expected outputs. Add two testcases for completing ambiguous
13655 functions.
13656 * gdb.ada/complete/aux_pck.adb: New file.
13657 * gdb.ada/complete/aux_pck.ads: New file.
13658 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
13659 Ambiguous_Func functions.
13660 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
13661 * gdb.ada/complete/pck.adb: Likewise.
13662
4e83a1e7
UW
136632015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
13664
13665 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
13666 failures to run the test program under GDB.
13667
8ce74153
LM
136682015-08-26 Luis Machado <lgustavo@codesourcery.com>
13669
13670 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
13671 to C.
13672
e9756d52
PP
136732015-08-26 Patrick Palka <patrick@parcs.ath.cx>
13674
13675 * gdb.base/run-after-attach.exp: New test file.
13676 * gdb.base/run-after-attach.c: New test file.
13677
8d37573b
DB
136782015-08-26 Don Breazeal <donb@codesourcery.com>
13679
13680 * gdb.base/foll-exec-2.c: New test program.
13681 * gdb.base/foll-exec-2.exp: New test.
13682
63e43d3a
PMR
136832015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
13684
13685 * gdb.base/nested-subp1.exp: New file.
13686 * gdb.base/nested-subp1.c: New file.
13687 * gdb.base/nested-subp2.exp: New file.
13688 * gdb.base/nested-subp2.c: New file.
13689 * gdb.base/nested-subp3.exp: New file.
13690 * gdb.base/nested-subp3.c: New file.
13691
3d40fbb5
PA
136922015-08-24 Pedro Alves <palves@redhat.com>
13693
13694 * gdb.server/connect-without-multi-process.c: New file.
13695 * gdb.server/connect-without-multi-process.exp: New file.
13696
4422ac93
LM
136972015-08-24 Luis Machado <lgustavo@codesourcery.com>
13698
13699 * gdb.opt/inline-markers.c: Make z int.
13700
91dddb86
LM
137012015-08-24 Luis Machado <lgustavo@codesourcery.com>
13702
13703 * gdb.opt/inline-markers.c: Make z volatile.
13704
a48847ee
LM
137052015-08-24 Luis Machado <lgustavo@codesourcery.com>
13706
13707 * gdb.opt/inline-bt.c: New volatile global z.
13708 * gdb.opt/inline-cmds.c: Likewise.
13709 * gdb.opt/inline-locals.c: Likewise.
13710 * gdb.opt/inline-markers.c: New extern global z.
13711 (marker): Use z.
13712 (inline_fn): Likewise.
13713
0ebbc52b
PA
137142015-08-24 Pedro Alves <palves@redhat.com>
13715
13716 * config/m32r-stub.exp: Remove file.
13717 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
13718 * gdb.base/call-rt-st.exp: Likewise.
13719 * gdb.base/call-strs.exp: Likewise.
13720 * gdb.base/default.exp: Remove references to h8300-*-hms and
13721 *-*-udi*.
13722 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
13723
77c365df
AA
137242015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13725
13726 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
13727 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
13728 and "return" use KFAIL when GDB can not read/write the vector
13729 return value.
13730
4313b8c0
GB
137312015-08-21 Gary Benson <gbenson@redhat.com>
13732
13733 * gdb.trace/pending.exp: Cope with remote transfer warnings.
13734
0e433b32
PA
137352015-08-20 Pedro Alves <palves@redhat.com>
13736
13737 * gdb.server/solib-list.exp: No longer expect an interior stop in
13738 non-stop mode.
13739
221e1a37
PA
137402015-08-20 Pedro Alves <palves@redhat.com>
13741
13742 * gdb.server/connect-stopped-target.c: New file.
13743 * gdb.server/connect-stopped-target.exp: New file.
13744
40e3ad0e
PA
137452015-08-20 Pedro Alves <palves@redhat.com>
13746
13747 * gdb.dwarf2/comp-unit-lang.exp: New file.
13748 * gdb.dwarf2/comp-unit-lang.c: New file.
13749
af39b327
PMR
137502015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
13751
13752 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
13753 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
13754
7d45c7c3 137552015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 13756
7d45c7c3
KB
13757 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
13758 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
13759
4d6cceb4
DE
137602015-08-18 Doug Evans <dje@google.com>
13761 Adrian Sendroiu <adrian.sendroiu@freescale.com>
13762
13763 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
13764 skip_python_tests. New arg prompt_regexp.
13765 (skip_python_tests): New function.
13766 * lib/mi-support.exp (mi_skip_python_tests): New function.
13767 * gdb.python/py-mi-objfile-gdb.py: New file.
13768 * gdb.python/py-mi-objfile.c: New file.
13769 * gdb.python/py-mi-objfile.exp: New file.
13770
ad89c2aa
KS
137712015-08-17 Keith Seitz <keiths@redhat.com>
13772
13773 * gdb.linespec/explicit.exp: Move strace test from here ...
13774 * gdb.trace/strace.exp: ... to here.
13775
e3ae3c43
PP
137762015-08-15 Patrick Palka <patrick@parcs.ath.cx>
13777
13778 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
13779 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
13780
604b2636
DE
137812015-08-14 Doug Evans <xdje42@gmail.com>
13782
13783 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
13784 inferior before selecting a new file.
13785
6ff0ba5f
DE
137862015-08-14 Doug Evans <xdje42@gmail.com>
13787
13788 * gdb.mi/mi-disassemble.exp: Update.
13789 * gdb.base/disasm-optim.S: New file.
13790 * gdb.base/disasm-optim.c: New file.
13791 * gdb.base/disasm-optim.h: New file.
13792 * gdb.base/disasm-optim.exp: New file.
13793
9ca98f92
KS
137942015-08-14 Keith Seitz <keiths@redhat.com>
13795
13796 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
13797 "evaluated-by".
13798
52bbc560
JB
137992015-08-13 Joel Brobecker <brobecker@adacore.com>
13800
13801 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
13802
5d8c3ed3
PMR
138032015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
13804
13805 * gdb.ada/fun_renaming.exp: New testcase.
13806 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
13807 * gdb.ada/fun_renaming/pack.adb: New file.
13808 * gdb.ada/fun_renaming/pack.ads: New file.
13809
ea8812bc
KS
138102015-08-12 Keith Seitz <keiths@redhat.com>
13811
13812 * gdb.base/dso2dso.exp: Pass basename of source file in call to
13813 gdb_get_line_number.
13814
4dafcdeb
JB
138152015-08-12 Joel Brobecker <brobecker@adacore.com>
13816
13817 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
13818 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
13819 gdb.base/dso2dso.exp: New files.
13820
5ba32597
SDJ
138212015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
13822 Pedro Alves <palves@redhat.com>
13823 Keith Seitz <keiths@redhat.com>
13824
13825 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
13826 GDBFLAGS.
13827
b6dafabf
PP
138282015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13829
13830 * gdb.base/gdbhistsize-history.exp
13831 (test_histsize_history_setting): Use save_vars.
13832 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13833 Use save_vars.
13834 (test_no_truncation_of_unlimited_history_file): Use save_vars.
13835 * gdb.base/readline.exp: Use save_vars.
13836
abe8e607
PP
138372015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13838
13839 * lib/gdb.exp (save_vars): New proc.
13840
629500fa
KS
138412015-08-11 Keith Seitz <keiths@redhat.com>
13842
13843 * gdb.base/help.exp: Update help_breakpoint_text.
13844
eb8c4e2e
KS
138452015-08-11 Keith Seitz <keiths@redhat.com>
13846
13847 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13848 (at toplevel): Call test_explicit_breakpoints.
13849 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13850 breakpoints.
13851 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13852 breakpoint conditions, "-cond".
13853
87f0e720
KS
138542015-08-11 Keith Seitz <keiths@redhat.com>
13855
13856 * gdb.linespec/3explicit.c: New file.
13857 * gdb.linespec/cpexplicit.cc: New file.
13858 * gdb.linespec/cpexplicit.exp: New file.
13859 * gdb.linespec/explicit.c: New file.
13860 * gdb.linespec/explicit.exp: New file.
13861 * gdb.linespec/explicit2.c: New file.
13862 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13863 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13864 before using in the matching pattern.
13865 Clarify that `prefix' is a regular expression.
13866
f00aae0f
KS
138672015-08-11 Keith Seitz <keiths@redhat.com>
13868
13869 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13870 test.
13871 Add tests for missing ",FMT" and ",".
13872
e27852be
DE
138732015-08-10 Doug Evans <dje@google.com>
13874 Keith Seitz <keiths@redhat.com>
13875
13876 PR gdb/17960
13877 * gdb.base/completion.exp: Add location completer tests.
13878
7f03bd92
PA
138792015-08-07 Pedro Alves <palves@redhat.com>
13880
13881 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13882 tests here.
13883 (top level): Run do_test with and without displaced stepping.
13884
3fc8eb30
PA
138852015-08-07 Pedro Alves <palves@redhat.com>
13886
13887 * gdb.base/valgrind-disp-step.c: New file.
13888 * gdb.base/valgrind-disp-step.exp: New file.
13889
d4569d7b
PA
138902015-08-07 Pedro Alves <palves@redhat.com>
13891
13892 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13893 Delete function.
13894 (main): Add alarm. Run an infinite loop instead of calling
13895 wait_threads.
13896 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13897 comment.
13898 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13899 Delete function.
13900 (main): Add alarm. Run an infinite loop instead of calling
13901 wait_threads.
13902 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13903 comment.
13904
e1316e60
PA
139052015-08-07 Pedro Alves <palves@redhat.com>
13906
13907 * gdb.base/checkpoint-ns.exp: New file.
13908 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13909 standard_testfile.
13910
da8c46d2
MM
139112015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13912
13913 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13914 * gdb.btrace/instruction_history.exp: Update.
13915 * gdb.btrace/tsx.exp: New.
13916 * gdb.btrace/tsx.c: New.
13917
de1c2c52
PA
139182015-08-06 Pedro Alves <palves@redhat.com>
13919
13920 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13921 increase timeout.
13922 * gdb.reverse/until-precsave.exp: Bump timeouts.
13923
782e0bf4
PA
139242015-08-06 Pedro Alves <palves@redhat.com>
13925
13926 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13927
83e97ed0
PA
139282015-08-06 Pedro Alves <palves@redhat.com>
13929
13930 PR gdb/18749
13931 * gdb.threads/process-dies-while-handling-bp.c: New file.
13932 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13933
863d01bd
PA
139342015-08-06 Pedro Alves <palves@redhat.com>
13935
13936 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13937 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13938
0a39bb32
PA
139392015-08-05 Pedro Alves <palves@redhat.com>
13940
13941 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13942 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13943
ee2d2b10
SL
139442015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13945
13946 * gdb.base/bp-permanent.exp: Report test as unsupported if
13947 the target cannot stop at the permanent breakpoint.
13948
4e1bdb00
DE
139492015-08-03 Doug Evans <dje@google.com>
13950
13951 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13952 10000.
13953
3d338901
DE
139542015-08-03 Doug Evans <dje@google.com>
13955
13956 * Makefile.in (workers/%.worker, build-perf): New rule.
13957 (GDB_PERFTEST_MODE): New variable.
13958 (check-perf): Use it.
13959 (clean): Clean up gdb.perf parallel build subdirs.
13960 * lib/build-piece.exp: New file.
13961 * lib/gdb.exp (make_gdb_parallel_path): New function
13962 (standard_output_file, standard_temp_file): Call it.
13963 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13964 of $GDB_PARALLEL.
13965 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13966
af061d3e
DE
139672015-08-03 Doug Evans <dje@google.com>
13968
8e1afc81 13969 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
13970 (LOG_FILE_NAME): New global.
13971 (TextReporter.__init__): Initialize self.txt_sum.
13972 (TextReporter.report): Add support for multiple data-points.
13973 Move report to perftest.sum, put raw data in perftest.log.
13974 (TextReporter.start): Open sum and log files.
13975 (TextReporter.end): Close sum and log files.
8e1afc81
DE
13976 * gdb.perf/lib/perftest/testresult.py
13977 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 13978
2c8c5d37
PA
139792015-07-31 Pedro Alves <palves@redhat.com>
13980
13981 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13982 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13983 kill_wait_spawned_process instead of explicit "kill -9".
13984 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13985 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13986 kill_wait_spawned_process.
13987 * gdb.base/attach-twice.exp: Likewise.
13988 * gdb.base/attach.exp: Likewise.
13989 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13990 gdb_test_multiple.
13991 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13992 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13993 kill_wait_spawned_process.
13994 * gdb.base/valgrind-infcall.exp: Likewise.
13995 * gdb.multi/multi-attach.exp: Likewise.
13996 * gdb.python/py-prompt.exp: Likewise.
13997 * gdb.python/py-sync-interp.exp: Likewise.
13998 * gdb.server/ext-attach.exp: Likewise.
13999 * gdb.threads/attach-into-signal.exp (corefunc): Use
14000 spawn_wait_for_attach, spawn_id_get_pid and
14001 kill_wait_spawned_process.
14002 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
14003 spawn_wait_for_attach returning a spawn id instead of a pid. Use
14004 spawn_id_get_pid and kill_wait_spawned_process.
14005 * gdb.threads/attach-stopped.exp (corefunc): Use
14006 spawn_wait_for_attach, spawn_id_get_pid and
14007 kill_wait_spawned_process.
14008 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
14009 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14010 kill_wait_spawned_process instead of explicit "kill -9".
14011 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
14012 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
14013 (spawn_wait_for_attach): Use spawn instead of exec to spawn
14014 processes. Don't map cygwin/windows pids here. Now returns a
14015 spawn id list.
14016
032a0fca
SL
140172015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14018
14019 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
14020 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
14021 correct patch.
14022
61a934ca
SL
140232015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14024
14025 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
14026
4bc4d428
SL
140272015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14028
14029 Reapply:
14030 2014-05-21 Mark Wielaard <mjw@redhat.com>
14031
14032 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14033
998d452a
PA
140342015-07-30 Pedro Alves <palves@redhat.com>
14035
14036 * linux-low.c (handle_extended_wait): Set the child's last
14037 reported status to TARGET_WAITKIND_STOPPED.
14038
69dde7dc
PA
140392015-07-30 Pedro Alves <palves@redhat.com>
14040
14041 PR threads/18600
14042 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
14043 only shows inferior 1.
14044
4dd63d48
PA
140452015-07-30 Simon Marchi <simon.marchi@ericsson.com>
14046 Pedro Alves <palves@redhat.com>
14047
14048 PR threads/18600
14049 * gdb.threads/fork-plus-threads.c: New file.
14050 * gdb.threads/fork-plus-threads.exp: New file.
14051
d618e4c5
PP
140522015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14053
14054 * gdb.base/batch-preserve-term-settings.exp
14055 (test_terminal_settings_preserved_after_cli_exit): Use
14056 send_quit_command.
14057
1eef6428
PA
140582015-07-29 Pedro Alves <palves@redhat.com>
14059 Don Breazeal <donb@codesourcery.com>
14060
14061 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
14062 output from both inferior_spawn_id and gdb_spawn_id.
14063
7da5b897
SDJ
140642015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14065
14066 * gdb.threads/attach-into-signal.exp (corefunc): Use
14067 with_test_prefix on nested loops, uniquefying the test messages.
14068
dac804df
SDJ
140692015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14070
14071 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
14072 commit.
14073
06265e53
PP
140742015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14075
14076 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
14077 New proc.
14078 (test_terminal_settings_preserved_after_sigterm): New test.
14079
18206ca3
PP
140802015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14081
14082 * gdb.base/batch-preserve-term-settings.exp
14083 (test_terminal_settings_preserved_after_cli_exit): New test.
14084
90074d11
PP
140852015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14086
14087 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
14088 manipulation of saved_gdbflags.
14089 (test_terminal_settings_preserved): Remove global declaration of
14090 the unused variable pagination_prompt. Remove manipulation of
14091 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
14092 GDBFLAGS.
14093
eb1a7902
PA
140942015-07-29 Pedro Alves <palves@redhat.com>
14095
14096 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
14097
8b75dd3b
PA
140982015-07-29 Pedro Alves <palves@redhat.com>
14099
14100 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
14101 at the top.
14102
dedad4e3
PA
141032015-07-29 Pedro Alves <palves@redhat.com>
14104
14105 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
14106 (main): Call gdb_unbuffer_output.
14107 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
14108 (main): Call gdb_unbuffer_output.
14109 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
14110 (main): Call gdb_unbuffer_output.
14111 * gdb.base/call-strs.exp: Adjust to step over the
14112 gdb_unbuffer_output call.
14113 * gdb.base/catch-gdb-caused-signals.c: Include
14114 "../lib/unbuffer_output.c".
14115 (main): Call gdb_unbuffer_output.
14116 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
14117 (main): Call gdb_unbuffer_output.
14118 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
14119 (main): Call gdb_unbuffer_output.
14120 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
14121 (main): Call gdb_unbuffer_output.
14122 * gdb.base/shlib-call.exp: Adjust to step over the
14123 gdb_unbuffer_output call.
14124 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
14125 (main): Call gdb_unbuffer_output.
14126 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
14127 (main): Call gdb_unbuffer_output.
14128 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
14129 (main): Rename to ...
14130 (test): ... this.
14131 (main): Reimplement.
14132 * gdb.base/varargs.exp: Run to test instead of to main.
14133 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14134 (main): Call gdb_unbuffer_output.
14135
58789a91
PA
141362015-07-29 Pedro Alves <palves@redhat.com>
14137
14138 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
14139 factore out from mi_continue_dprintf. For call-style dprintfs,
14140 expect dprintf output out of $inferior_spawn_id.
14141 (mi_continue_dprintf): Use mi_expect_dprintf.
14142 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14143 (main): Call gdb_unbuffer_output.
14144
e8376742
PA
141452015-07-29 Pedro Alves <palves@redhat.com>
14146
14147 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
14148 (default_mi_gdb_start): Set inferior_spawn_id instead of
14149 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
14150 gdb_spawn_id.
14151 (mi_gdb_test): Always expect inferior output from both
14152 $inferior_spawn_id and $gdb_spawn_id.
14153
08280010
PA
141542015-07-29 Pedro Alves <palves@redhat.com>
14155
14156 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
14157 send_inferior and $inferior_spawn_id.
14158
4d30e432
PA
141592015-07-29 Pedro Alves <palves@redhat.com>
14160
14161 * gdb.gdb/complaints.exp (test_initial_complaints)
14162 (test_serial_complaints, test_short_complaints): Use
14163 gdb_test_stdio.
14164 (test_empty_complaint): Handle $inferior_spawn_id !=
14165 $gdb_spawn_id.
14166
0d30a335
PA
141672015-07-29 Pedro Alves <palves@redhat.com>
14168
14169 * gdb.base/varargs.exp: Use gdb_test_stdio.
14170
39413b29
PA
141712015-07-29 Pedro Alves <palves@redhat.com>
14172
14173 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
14174
7cb000a9
PA
141752015-07-29 Pedro Alves <palves@redhat.com>
14176
14177 * gdb.base/ending-run.exp: Use gdb_test_stdio.
14178
d7b8ac82
PA
141792015-07-29 Pedro Alves <palves@redhat.com>
14180
14181 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
14182 parameter into two new parameters, "inf_result" and "gdb_result".
14183 Expect inferior output and gdb output from $inferior_spawn_id and
14184 $gdb_spawn_id, respectively. Adjust all callers.
14185
789c3a0c
PA
141862015-07-29 Pedro Alves <palves@redhat.com>
14187
14188 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
14189 of gdb_test_sequence.
14190
77e760c3
PA
141912015-07-29 Pedro Alves <palves@redhat.com>
14192
14193 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
14194 (saw_spurious_output): Expect inferior output from
14195 $inferior_spawn_id. Use gdb_test_stdio.
14196
8396d2cd
PA
141972015-07-29 Pedro Alves <palves@redhat.com>
14198
14199 * gdb.base/dprintf.exp: Use standard_testfile. Change
14200 prepare_for_testing call.
14201 (srcfile): Don't set.
14202 (restart): New procedure.
14203 (test_dprintf): New procecure, use to continue over dprintfs.
14204 (test_call, test_agent): New procedures, tests moved here.
14205 Restart gdb and recreate dprintfs. Adjust expected output.
14206
2051d61f
PA
142072015-07-29 Pedro Alves <palves@redhat.com>
14208
14209 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
14210
452397af
PA
142112015-07-29 Pedro Alves <palves@redhat.com>
14212
14213 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
14214
8aed9555
PA
142152015-07-29 Pedro Alves <palves@redhat.com>
14216
14217 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
14218 gdb_test_stdio.
14219
188a61b4
PA
142202015-07-29 Pedro Alves <palves@redhat.com>
14221
14222 * lib/gdb.exp (gdb_test_stdio): New procedure.
14223
12264a45
PA
142242015-07-29 Pedro Alves <palves@redhat.com>
14225
14226 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
14227
23ffc893
PA
142282015-07-29 Pedro Alves <palves@redhat.com>
14229
14230 * gdb.base/call-signal-resume.exp: Remove check for
14231 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
14232 * gdb.base/unwindonsignal.exp: Likewise.
14233 * gdb.base/call-signals.c (gen_signal): Remove printf call.
14234 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
14235
65566918
PA
142362015-07-29 Pedro Alves <palves@redhat.com>
14237
14238 * gdb.base/siginfo-addr.c (pass): New function.
14239 (handler): Call it iff si_addr is correct.
14240 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
14241 Set a breakpoint at "pass" and continue to it.
14242
d60a9221
SDJ
142432015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
14244
14245 * gdb.python/py-objfile.exp: Make some tests have unique names.
14246 * gdb.python/py-pp-registration.exp: Likewise.
14247
bde40b8f
PA
142482015-07-28 Pedro Alves <palves@redhat.com>
14249
14250 * gdb.server/server-exec-info.exp: Issue a "disconnect".
14251
13e1dec8
SM
142522015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14253
14254 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
14255
da33c9a7
SM
142562015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14257
14258 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
14259
077836f7
PP
142602015-07-27 Patrick Palka <patrick@parcs.ath.cx>
14261
14262 * gdb.base/gdb-sigterm-2.exp: New test.
14263
b8cc7b2e
DE
142642015-07-25 Doug Evans <xdje42@gmail.com>
14265
14266 Revert:
14267 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14268 (workers/%.worker, build-perf): New rule.
14269 (GDB_PERFTEST_MODE): New variable.
14270 (check-perf): Use it.
14271 (clean): Clean up gdb.perf parallel build subdirs.
14272 * lib/build-piece.exp: New file.
14273 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14274 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14275 name.
14276 (standard_temp_file): Ditto.
14277 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14278 of $GDB_PARALLEL.
14279
c8bd4544
DE
142802015-07-24 Doug Evans <dje@google.com>
14281
14282 * gdb.perf/lib/perftest/utils.py: New file.
14283 * gdb.perf/gm-hello.cc: New file.
14284 * gdb.perf/gm-pervasive-typedef.cc: New file.
14285 * gdb.perf/gm-pervasive-typedef.h: New file.
14286 * gdb.perf/gm-std.cc: New file.
14287 * gdb.perf/gm-std.h: New file.
14288 * gdb.perf/gm-use-cerr.cc: New file.
14289 * gdb.perf/gm-utils.h: New file.
14290 * gdb.perf/gmonster-null-lookup.py: New file.
14291 * gdb.perf/gmonster-pervasive-typedef.py: New file.
14292 * gdb.perf/gmonster-print-cerr.py: New file.
14293 * gdb.perf/gmonster-ptype-string.py: New file.
14294 * gdb.perf/gmonster-runto-main.py: New file.
14295 * gdb.perf/gmonster-select-file.py: New file.
14296 * gdb.perf/gmonster1-null-lookup.exp: New file.
14297 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
14298 * gdb.perf/gmonster1-print-cerr.exp: New file.
14299 * gdb.perf/gmonster1-ptype-string.exp: New file.
14300 * gdb.perf/gmonster1-runto-main.exp: New file.
14301 * gdb.perf/gmonster1-select-file.exp: New file.
14302 * gdb.perf/gmonster1.cc: New file.
14303 * gdb.perf/gmonster1.exp: New file.
14304 * gdb.perf/gmonster2-null-lookup.exp: New file.
14305 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
14306 * gdb.perf/gmonster2-print-cerr.exp: New file.
14307 * gdb.perf/gmonster2-ptype-string.exp: New file.
14308 * gdb.perf/gmonster2-runto-main.exp: New file.
14309 * gdb.perf/gmonster2-select-file.exp: New file.
14310 * gdb.perf/gmonster2.cc: New file.
14311 * gdb.perf/gmonster2.exp: New file.
14312
6eab34f3
DE
143132015-07-24 Doug Evans <dje@google.com>
14314
14315 * gdb.perf/README: New file.
14316 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
14317 * lib/gen-perf-test.exp: New file.
14318
63738bfd
DE
143192015-07-24 Doug Evans <dje@google.com>
14320
14321 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
14322 (PerfTest::startup): New function.
14323 (PerfTest::run): Return result of calling body.
14324 (PerfTest::assemble): Rewrite.
14325 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
14326 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
14327 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
14328 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
14329 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
14330
7b606f95
DE
143312015-07-24 Doug Evans <dje@google.com>
14332
14333 * lib/gdb.exp (clean_restart): Make executable optional.
14334
a97b16b8
DE
143352015-07-24 Doug Evans <dje@google.com>
14336
14337 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
14338 compiler_info references.
14339 * gdb.cp/temargs.exp: Ditto.
14340 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
14341 (get_compiler_info): Early exit if already computed. Set compiler_info
14342 to "unknown" if there was a problem.
14343 (test_compiler_info): Add function comment. Call get_compiler_info.
14344
35baa57f
DE
143452015-07-24 Doug Evans <dje@google.com>
14346
14347 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14348 (workers/%.worker, build-perf): New rule.
14349 (GDB_PERFTEST_MODE): New variable.
14350 (check-perf): Use it.
14351 (clean): Clean up gdb.perf parallel build subdirs.
14352 * lib/build-piece.exp: New file.
14353 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14354 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14355 name.
14356 (standard_temp_file): Ditto.
14357 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14358 of $GDB_PARALLEL.
14359
6ebea266
DE
143602015-07-24 Doug Evans <dje@google.com>
14361
14362 * lib/future.exp (gdb_default_target_compile): New option
14363 "early_flags".
14364 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
14365 --as-needed.
14366
1e76a7e9
SDJ
143672015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
14368
14369 * gdb.base/catch-syscall.exp: Call gdb_exit before
14370 gdb_skip_xml_test.
14371
5068630a
PA
143722015-07-24 Pedro Alves <palves@redhat.com>
14373
14374 * gdb.python/py-events.exp: Accept output between the stop event
14375 and the prompt.
14376 * gdb.python/py-evsignal.exp: Likewise.
14377 * gdb.python/py-evthreads.exp: Likewise.
14378
77598427
PA
143792015-07-24 Pedro Alves <palves@redhat.com>
14380
14381 PR gdb/18717
14382 * gdb.threads/non-ldr-exit.c: New file.
14383 * gdb.threads/non-ldr-exit.exp: New file.
14384
11e6c98f
YQ
143852015-07-24 Yao Qi <yao.qi@linaro.org>
14386
14387 * gdb.server/ext-wrapper.exp: Test --wrapper option when
14388 restarting process.
14389
51aee833
YQ
143902015-07-24 Yao Qi <yao.qi@linaro.org>
14391
14392 * gdb.server/ext-restart.exp: New file.
14393
8cfe207c
YQ
143942015-07-24 Yao Qi <yao.qi@linaro.org>
14395
14396 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
14397 argument options.
14398 * gdb.server/ext-wrapper.exp: New file.
14399
cc12ce38
DE
144002015-07-23 Doug Evans <dje@google.com>
14401
14402 * gdb.dwarf2/dw2-dummy-cu.S: New file.
14403 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
14404
d0d84780
PMR
144052015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
14406
14407 * gdb.ada/var_arr_typedef.exp: New testcase.
14408 * gdb.ada/var_arr_typedef/pack.adb: New file.
14409 * gdb.ada/var_arr_typedef/pack.ads: New file.
14410 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
14411
8b558f79
JB
144122015-07-20 Joel Brobecker <brobecker@adacore.com>
14413
14414 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
14415
775a3298
JK
144162015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14417
14418 * gdb.arch/i386-biarch-core.exp: Replace istarget
14419 by "complete set gnutarget". Remove expectation for the "core-file"
14420 command.
14421
db1ff28b
JK
144222015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14423
14424 Revert the previous commit:
14425 Tests for validate symbol file using build-id.
14426
0a94970d
JK
144272015-07-15 Aleksandar Ristovski <aristovski@qnx.com
14428
14429 Tests for validate symbol file using build-id.
14430 * gdb.base/solib-mismatch-lib.c: New file.
14431 * gdb.base/solib-mismatch-libmod.c: New file.
14432 * gdb.base/solib-mismatch.c: New file.
14433 * gdb.base/solib-mismatch.exp: New file.
14434
03346981
SL
144352015-07-15 Sandra Loosemore <sandra@codesourcery.com>
14436
14437 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
14438 nios2-*-linux*.
14439 * gdb.base/sigbpt.exp (stepi_out): Likewise.
14440 * gdb.base/siginfo.exp: Likewise.
14441 * gdb.base/sigstep.exp (advance, advancei): Likewise.
14442
42422cc7
PL
144432015-07-15 Pierre Langlois <pierre.langlois@arm.com>
14444
14445 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
14446 Move it to ...
14447 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
14448 ... here.
14449 * gdb.trace/range-stepping.exp: Check that the target supports
14450 range stepping.
14451
cfa68bae
JK
144522015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14453
14454 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
14455
8ffdba26
PA
144562015-07-14 Pedro Alves <palves@redhat.com>
14457
14458 * gdb.base/killed-outside.exp: New file.
14459 * gdb.base/killed-outside.c: New file.
14460
218a5a11
JK
144612015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14462
14463 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
14464 (n at main): New.
14465 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
14466
e03ed3c6
AA
144672015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14468
14469 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
14470 infcall tests instead of setting up for KFAIL.
14471
485668e5
MM
144722015-07-10 Markus Metzger <markus.t.metzger@intel.com>
14473
14474 * gdb.btrace/record_goto-step.exp: New.
14475
08464196
JK
144762015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14477
14478 PR compile/18484
14479 * gdb.compile/compile.c (struct struct_type): Add volatile to
14480 selffield's type.
14481 * gdb.compile/compile.exp
14482 (compile code struct_object.selffield = &struct_object): Skip further
14483 struct_object tests if this one xfails.
14484
bcf5c1d9
RC
144852015-07-08 Robert O'Callahan <robert@ocallahan.org>
14486
14487 PR exp/18617
14488 * gdb.trace/ax.exp: Add test.
14489
4931af25
YQ
144902015-07-07 Yao Qi <yao.qi@linaro.org>
14491
14492 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
14493 instead of istarget "aarch64*-*-*".
14494 * gdb.arch/aarch64-fp.exp: Likewise.
14495 * gdb.base/float.exp: Likewise.
14496 * gdb.reverse/aarch64.exp: Likewise.
14497 * lib/gdb.exp (is_aarch64_target): New proc.
14498
9fcf688e
YQ
144992015-07-07 Yao Qi <yao.qi@linaro.org>
14500
14501 * lib/gdb.exp (is_aarch32_target): New proc.
14502 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
14503 instead of "istarget "arm*-*-*"".
14504 * gdb.arch/arm-disp-step.exp: Likewise.
14505 * gdb.arch/thumb-bx-pc.exp: Likewise.
14506 * gdb.arch/thumb-prologue.exp: Likewise.
14507 * gdb.arch/thumb-singlestep.exp: Likewise.
14508 * gdb.base/disp-step-syscall.exp: Likewise.
14509 * gdb.base/float.exp: Likewise.
14510
fbd8d50d
YQ
145112015-07-07 Yao Qi <yao.qi@linaro.org>
14512
14513 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
14514 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
14515
71be1fdc
YQ
145162015-07-07 Yao Qi <yao.qi@linaro.org>
14517
14518 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
14519 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
14520 if it exists.
14521 * gdb.multi/multi-arch.exp: Likewise.
14522
3e221d36
SM
145232015-07-07 Simon Marchi <simon.marchi@ericsson.com>
14524
14525 * gdb.python/py-lazy-string.exp: Add missing parentheses to
14526 print.
14527
d441430b
YQ
145282015-07-07 Yao Qi <yao.qi@linaro.org>
14529
14530 * gdb.arch/thumb-singlestep.exp: Do one more single step.
14531
06f810bd
MG
145322015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
14533
14534 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
14535 '[' and ']' characters.
14536
5e61e7c0
IB
145372015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
14538
14539 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14540
28bf096c
PA
145412015-06-29 Pedro Alves <palves@redhat.com>
14542
14543 PR threads/18127
14544 * gdb.threads/hand-call-new-thread.c: New file.
14545 * gdb.threads/hand-call-new-thread.c: New file.
14546
ee93cd5e
KS
145472015-06-26 Keith Seitz <keiths@redhat.com>
14548 Doug Evans <dje@google.com>
14549
14550 PR 16253
14551 * gdb.cp/var-tag-2.cc: New file.
14552 * gdb.cp/var-tag-3.cc: New file.
14553 * gdb.cp/var-tag-4.cc: New file.
14554 * gdb.cp/var-tag.cc: New file.
14555 * gdb.cp/var-tag.exp: New file.
14556
fc637f04
PP
145572015-06-26 Patrick Palka <patrick@parcs.ath.cx>
14558
14559 * gdb.base/history-duplicates.exp: New test.
14560
2e52ae68
PP
145612015-06-26 Patrick Palka <patrick@parcs.ath.cx>
14562
14563 * gdb.base/completion.exp: Test the completion of the "focus"
14564 command.
14565
6e22494e
JK
145662015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14567
14568 * gdb.arch/amd64-prologue-skip.S: New file.
14569 * gdb.arch/amd64-prologue-skip.exp: New file.
14570
bf7b9cd9
SM
145712015-06-25 Simon Marchi <simon.marchi@ericsson.com>
14572
14573 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
14574 is_address_zero_readable check.
14575
201e8dfd
PB
145762015-06-24 Peter Bergner <bergner@vnet.ibm.com>
14577
14578 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
14579 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
14580
5cd867b4
YQ
145812015-06-24 Yao Qi <yao.qi@linaro.org>
14582
14583 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
14584 linux targets.
14585
4d7be007
YQ
145862015-06-24 Yao Qi <yao.qi@linaro.org>
14587
14588 * lib/gdb.exp (supports_get_siginfo_type): New proc.
14589 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
14590 * gdb.base/siginfo-thread.exp: Likewise.
14591
07fcd301
YQ
145922015-06-22 Yao Qi <yao.qi@linaro.org>
14593
14594 * boards/remote-gdbserver-on-localhost.exp: Add comments.
14595
52042a00
YQ
145962015-06-22 Yao Qi <yao.qi@linaro.org>
14597
14598 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
14599 aarch64*-*-*.
14600 (skip_hw_watchpoint_tests): Likewise.
14601
74bd41ce
PP
146022015-06-18 Patrick Palka <patrick@parcs.ath.cx>
14603
14604 * gdb.base/gdbinit-history.exp: Test the interaction between
14605 setting GDBHISTSIZE and setting the history size via .gdbinit.
14606
bc460514
PP
146072015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14608
14609 PR gdb/16999
14610 * gdb.base/gdbhistsize-history.exp: New test.
14611
b58c513b
PP
146122015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14613
14614 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
14615 with GDBHISTSIZE.
14616 * gdb.base/readline.exp: Likewise.
14617
92046791
YQ
146182015-06-17 Yao Qi <yao.qi@linaro.org>
14619
14620 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
14621 line.
14622
2093d2d3
PP
146232015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14624
14625 * gdb.base/gdbinit-history.exp: Add test case to check that
14626 an unlimited history file does not get truncated on exit.
14627
e6c693af
AA
146282015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14629
14630 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
14631 (VECTOR): New macro. Use it...
14632 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
14633 ...for these typedefs.
14634 (int8, char1, int1, double1): New typedefs.
14635 (struct just_int2, struct two_int2): New structures.
14636 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
14637 (add_structvecs, add_singlevecs): New functions.
14638 (main): Call add_some_intvecs twice.
14639 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
14640 the compile and exit upon failure. Try compiling for the "native"
14641 architecture. Test inferior function calls with vector arguments
14642 and vector return value handling with "finish" and "return".
14643
c74f7d1c
JT
146442015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
14645
14646 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
14647 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
14648 PE file.
14649 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
14650
98aa42ee
AT
146512015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14652
14653 PR breakpoints/16465
14654 * gdb.mi/mi-dprintf-pending.c: New file.
14655 * gdb.mi/mi-dprintf-pending.exp: New test.
14656 * gdb.mi/mi-dprintf-pendshr.c: New file.
14657
7d73c23c 146582015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 14659 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
14660
14661 * gdb.arch/i386-mpx-map.c: New file.
14662 * gdb.arch/i386-mpx-map.exp: New File.
14663
146642015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14665
14666 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
14667 * gdb.arch/i386-mpx.exp: Indentation fixed.
14668
146692015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14670
14671 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
14672 function and improved indentation.
14673 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
14674 gdb_test_multiple. Added additional tests to skip the test.
14675
146762015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14677
14678 * gdb.arch/i386-avx512.c: Change path in include file.
14679 * gdb.arch/i386-avx512.exp: Change include dir path
14680 compilation flag.
14681 * gdb.arch/i386-mpx.c: Change path in include file.
14682 * gdb.arch/i386-mpx.exp: Change include dir path compilation
14683 flag.
14684
d5eba19a
JK
146852015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14686
14687 * gdb.compile/compile-print.exp (compile print *vararray@3)
14688 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
14689
7f361056
JK
146902015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14691
14692 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
14693 (do not keep jit in memory): ... this.
14694 (expect 5): Change it to ...
14695 (expect no 5): ... this.
14696
3b462ec2
SM
146972015-06-02 Simon Marchi <simon.marchi@ericsson.com>
14698
14699 PR gdb/15564
14700 * gdb.mi/mi-detach.exp: New file.
14701
e0619de6
JK
147022015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14703
14704 PR symtab/18392
14705 * gdb.arch/amd64-tailcall-self.S: New file.
14706 * gdb.arch/amd64-tailcall-self.c: New file.
14707 * gdb.arch/amd64-tailcall-self.exp: New file.
14708
e970cb34
DB
147092015-05-28 Don Breazeal <donb@codesourcery.com>
14710
14711 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
14712 tests for remote targets by checking is_target_gdbserver.
14713
b2e2f908
DE
147142015-05-27 Doug Evans <dje@google.com>
14715
14716 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
14717 * gdb.dwarf2/opaque-type-lookup.c: New file.
14718 * gdb.dwarf2/opaque-type-lookup.exp: New file.
14719
82c7be31
DE
147202015-05-26 Doug Evans <dje@google.com>
14721
14722 * gdb.cp/iostream.cc: New file.
14723 * gdb.cp/iostream.exp: New file.
14724
b4f54984
DE
147252015-05-26 Doug Evans <dje@google.com>
14726
14727 * gdb.dwarf2/dw2-op-call.exp: Update.
14728 * gdb.dwarf2/dw4-sig-types.exp: Update.
14729 * gdb.dwarf2/implptr.exp: Update.
14730 * gdb.mi/mi-cmd-param-changed.exp: Update.
14731
4ea6efe9
DE
147322015-05-26 Doug Evans <dje@google.com>
14733
14734 * gdb.python/py-lazy-string.c: New file.
14735 * gdb.python/py-lazy-string.exp: New file.
14736 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
14737 (main): Update. Add estring3.
14738 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
14739 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
14740
f6bb7db3
YQ
147412015-05-26 Omair Javaid <omair.javaid@linaro.org>
14742 Yao Qi <yao.qi@linaro.org>
14743
14744 * gdb.reverse/aarch64.c: New.
14745 * gdb.reverse/aarch64.exp: New.
14746
a81bfbd0
OJ
147472015-05-26 Omair Javaid <omair.javaid@linaro.org>
14748
25d49b86
PA
14749 * lib/gdb.exp (supports_process_record): Return true for
14750 aarch64*-linux*.
a81bfbd0
OJ
14751 (supports_reverse): Likewise.
14752
158bf1b4
PP
147532015-05-22 Patrick Palka <patrick@parcs.ath.cx>
14754
14755 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14756 Use with_test_prefix.
14757
a0145030
AB
147582015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
14759
14760 * gdb.base/completion.exp: Add test for completion of layout
14761 names.
14762
ebe3b578
AB
147632015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
14764
14765 * lib/gdb.exp (skip_tui_tests): New proc.
14766 * gdb.base/tui-layout.exp: Check skip_tui_tests.
14767
84204ed7
PA
147682015-05-19 Pedro Alves <palves@redhat.com>
14769
14770 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14771 Save the whole env array instead of just HOME. Unset HISTSIZE in
14772 the environment while testing. Restore whole environment
14773 afterwards.
14774
37442ce1
DE
147752015-05-16 Doug Evans <xdje42@gmail.com>
14776
14777 * gdb.guile/scm-ports.c: New file.
14778 * gdb.guile/scm-ports.exp: Add memory port tests.
14779
36de76f9
JK
147802015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14781
14782 * gdb.compile/compile-print.c: New file.
14783 * gdb.compile/compile-print.exp: New file.
14784
3a9558c4
JK
147852015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14786
14787 * gdb.compile/compile-ops.exp: Cast param to void.
14788 * gdb.compile/compile.exp: Complete type for _gdb_expr.
14789 (compile code struct_object.selffield = &struct_object): Add xfail.
14790
aa715135
JG
147912015-05-15 Joel Brobecker <brobecker@adacore.com>
14792
14793 * gdb.ada/arr_enum_with_gap: New testcase.
14794
931e5bc3
JG
147952015-05-15 Joel Brobecker <brobecker@adacore.com>
14796
14797 * gdb.ada/byte_packed_arr: New testcase.
14798
9cd4d857
JB
147992015-05-15 Joel Brobecker <brobecker@adacore.com>
14800
14801 * gdb.ada/pckd_neg: New testcase.
14802
ebfd00d2
PP
148032015-05-13 Patrick Palka <patrick@parcs.ath.cx>
14804
14805 PR gdb/17820
14806 * gdb.base/gdbinit-history.exp: New test.
14807 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
14808 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
14809
4c082a81
SC
148102015-05-09 Siva Chandra Reddy <sivachandra@google.com>
14811
14812 * gdb.python/py-xmethods.cc: Enhance test case.
14813 * gdb.python/py-xmethods.exp: New tests.
14814 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
14815 function.
14816 (B_indexoper): Likewise.
14817 (global_dm_list) : Add new xmethod worker functions.
14818
f7797074
SDJ
148192015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
14820
14821 * gdb.base/coredump-filter.exp: Correctly unset
14822 "coredump_var_addr" array.
14823
a4674e4e
PA
148242015-05-08 Pedro Alves <palves@redhat.com>
14825
14826 * gdb.server/non-existing-program.exp: Unset spawn_id.
14827
df2eb078
SC
148282015-05-08 Siva Chandra Reddy <sivachandra@google.com>
14829
14830 PR python/18291
14831 * gdb.python/py-xmethods.exp: Add tests.
14832
422349a3
YQ
148332015-05-08 Yao Qi <yao.qi@linaro.org>
14834
14835 PR gdb/18208
14836 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14837 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
14838 function set_coredump_filter, and remove remote_exec call.
14839 Remove argument ipid. Callers update.
14840 (top level): Don't get inferior's PID.
14841
63fc80ce
AA
148422015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14843
14844 * gdb.base/watch_thread_num.exp: Skip test on targets without
14845 access watchpoints.
14846
80ad801e
PA
148472015-05-06 Pedro Alves <palves@redhat.com>
14848
14849 PR server/18081
14850 * gdb.server/non-existing-program.exp: New file.
14851
0fa7fe50
JB
148522015-05-05 Joel Brobecker <brobecker@adacore.com>
14853
14854 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14855
3ea89b92
PMR
148562015-05-05 Joel Brobecker <brobecker@adacore.com>
14857
14858 * gdb.ada/out_of_line_in_inlined: New testcase.
14859
87b8eff0
JB
148602015-05-05 Joel Brobecker <brobecker@adacore.com>
14861
14862 * gdb.ada/var_rec_arr: New testcase.
14863
5fccc635
YQ
148642015-04-30 Yao Qi <yao.qi@linaro.org>
14865
14866 * gdb.base/break-idempotent.exp: If
14867 skip_hw_watchpoint_multi_tests returns true, skip the tests
14868 on "rwatch" and "awatch".
14869
42d38f42
YQ
148702015-04-30 Yao Qi <yao.qi@linaro.org>
14871
14872 * gdb.base/relativedebug.exp: Invoke gdb command
14873 "info sharedlibrary", and if libc.so doesn't have debug info,
14874 skip the test.
14875
2ce1cdbf
DE
148762015-04-29 Doug Evans <dje@google.com>
14877
14878 * gdb.python/py-xmethods.exp: Add ptype tests.
14879 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14880 get_result_type method.
14881
f24a38c5
LM
148822015-04-29 Luis Machado <lgustavo@codesourcery.com>
14883
14884 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14885 the target does not support hardware watchpoints.
14886
ecbf2b3c
LM
148872015-04-29 Luis Machado <lgustavo@codesourcery.com>
14888
14889 * gdb.base/break-always.exp: Abort testing if writing to memory
14890 causes an error.
14891
34f5f757
DE
148922015-04-28 Doug Evans <dje@google.com>
14893
14894 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14895 * gdb.python/py-pp-registration.exp: ... here. New file.
14896 * gdb.python/py-pp-registration.c: New file.
14897 * gdb.python/py-pp-registration.py: New file.
14898
69b4374a
DE
148992015-04-28 Doug Evans <dje@google.com>
14900
14901 * gdb.python/py-bad-printers.c: New file.
14902 * gdb.python/py-bad-printers.py: New file.
14903 * gdb.python/py-bad-printers.exp: New file.
14904
59fb7612
SS
149052015-04-28 Sasha Smundak <asmundak@google.com>
14906
14907 * gdb.python/py-type.exp: New test.
14908
2631b16a
AW
149092015-04-28 Andy Wingo <wingo@igalia.com>
14910
14911 * gdb.python/py-parameter.exp:
14912 * gdb.guile/scm-parameter.exp: Escape the path that we are
14913 matching against, as it might contain characters that are special
14914 to regular expressions.
14915
460efde1
JB
149162015-04-27 Joel Brobecker <brobecker@adacore.com>
14917
14918 * gdb.ada/rec_comp: New testcase.
14919
2d369d8e
SDJ
149202015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14921
14922 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14923 before using it.
14924
cf75d6c3
AB
149252015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14926
14927 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14928 new tests for verilog output.
14929
8dbe7ca5
YQ
149302015-04-24 Yao Qi <yao.qi@linaro.org>
14931
14932 * boards/remote-gdbserver-on-localhost.exp: New file.
14933
4ef9fb2f
PA
149342015-04-23 Pedro Alves <palves@redhat.com>
14935
14936 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14937 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14938 "end of file", remove $inferior_spawn_id from the indirect list.
14939
0a803169
PA
149402015-04-23 Pedro Alves <palves@redhat.com>
14941
14942 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14943
749ef8f8
PA
149442015-04-23 Pedro Alves <palves@redhat.com>
14945
14946 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14947 on $any_spawn_id instead of only on $gdb_spawn_id.
14948
8aae4344
PM
149492015-04-21 Pierre Muller <muller@sourceware.org>
14950
14951 PR pascal/17815
14952 * lib/pascal.exp (gpc_compile): Add new option "class".
14953 (fpc_compile): Likewise.
14954 * gdb.pascal/case-insensitive-symbols.pas: New file.
14955 * gdb.pascal/case-insensitive-symbols.exp: New file.
14956
1586c8fb
GB
149572015-04-20 Gary Benson <gbenson@redhat.com>
14958
14959 * gdb.base/attach.exp: Fix three extended remote failures.
14960
1b6e6f5c
GB
149612015-04-17 Gary Benson <gbenson@redhat.com>
14962
14963 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14964 the main executable over the remote protocol.
14965
e797481d
PA
149662015-04-16 Pedro Alves <palves@redhat.com>
14967
14968 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14969 a new gdbserver if gdbserver_reconnect_p is set.
14970
1ca99c42
PA
149712015-04-16 Pedro Alves <palves@redhat.com>
14972
14973 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14974 is set, don't exit gdbserver.
14975
af9fd6f8
AA
149762015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14977
14978 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14979 appropriate .insn, such that an older assembler can be used.
14980 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14981 the z/Architecture instruction set on 31-bit targets as well.
14982
04ff1e61
AA
149832015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14984
14985 * gdb.go/handcall.exp: Remove all logic related to the first
14986 breakpoint and rely on go_runto_main instead.
14987 * gdb.go/strings.exp: Likewise.
14988 * gdb.go/unsafe.exp: Likewise.
14989 * gdb.go/hello.exp: Likewise. Also rename the remaining
14990 breakpoint marker to "breakpoint 1".
14991 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14992 * gdb.go/strings.go: Likewise.
14993 * gdb.go/unsafe.go: Likewise.
14994 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14995 "set breakpoint 2 here" and rename the remaining breakpoint marker
14996 to "breakpoint 1".
14997
40d2f8d6
SM
149982015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14999
15000 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
15001 if itertools.imap is not present.
15002 * gdb.python/py-objfile.exp: Add parentheses.
15003 * gdb.python/py-type.exp: Same.
15004 * gdb.python/py-unwind-maint.py: Same.
15005
8cbc97c6
YQ
150062015-04-15 Yao Qi <yao.qi@linaro.org>
15007
15008 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
15009 of ":$ptr_size" and set its form explicitly.
15010
45fd756c
YQ
150112015-04-15 Pedro Alves <palves@redhat.com>
15012 Yao Qi <yao.qi@linaro.org>
15013
15014 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
15015 timeout by factor of 4.
15016 (test_regular_watch): Likewise.
15017 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
15018 * gdb.reverse/sigall-reverse.exp: Likewise.
15019 * gdb.reverse/until-precsave.exp: Likewise.
15020 * lib/gdb.exp (with_timeout_factor): New proc.
15021 (gdb_expect): Move some code to ...
15022 (get_largest_timeout): ... here. New procedure.
15023
9e811bc3
LM
150242015-04-14 Luis Machado <lgustavo@codesourcery.com>
15025
15026 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
15027
0ff6fcb2
LM
150282015-04-13 Luis Machado <lgustavo@codesourcery.com>
15029
15030 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
15031 to write to the .text section.
15032
7578d5f7
LM
150332015-04-13 Luis Machado <lgustavo@codesourcery.com>
15034
15035 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
15036 Handle the case of targets that do not provide PID information.
15037
2efe15c4
YQ
150382015-04-13 Yao Qi <yao.qi@linaro.org>
15039
15040 * lib/gdbserver-support.exp (gdb_exit): Catch exception
15041 and use expect instead of gdb_expect.
15042
8cd8f2f8
SDJ
150432015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
15044
15045 * gdb.base/coredump-filter.exp: Rename variable "addr" to
15046 "coredump_var_addr" to avoid naming conflict with other testcases.
15047
9ee41772
PA
150482015-04-10 Pedro Alves <palves@redhat.com>
15049
15050 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
15051 gdb_test_sequence and gdb_assert.
15052
07473109
PA
150532015-04-10 Pedro Alves <palves@redhat.com>
15054
15055 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
15056 test messages that don't include the breakpoint address.
15057
de3db44c
YQ
150582015-04-10 Yao Qi <yao.qi@linaro.org>
15059
15060 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
15061 false for some offset and width combinations which aren't
15062 supported by linux kernel.
15063
c79d856c
PA
150642015-04-10 Pedro Alves <palves@redhat.com>
15065
15066 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
15067 procedure, factored out from ...
15068 (top level): ... here. Add "set displaced-stepping" testing axis.
15069 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
15070 parameter "displaced". Use it.
15071 (top level): Use foreach and add "set displaced-stepping" testing
15072 axis.
15073
ebc90b50
PA
150742015-04-10 Pedro Alves <palves@redhat.com>
15075
15076 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
15077 Remove comment.
15078 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
15079 both the address of the instruction that triggers the watchpoint
15080 and the address of the instruction immediately after, and use
15081 those addresses for the test. Fix comment.
15082
8f572e5c
PA
150832015-04-10 Pedro Alves <palves@redhat.com>
15084
15085 * gdb.base/sigstep.exp (breakpoint_to_handler)
15086 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
15087 Test "backtrace" in handler.
15088 (breakpoint_over_handler): New parameter 'displaced'. Use it.
15089 (top level): Add new "displaced" test axis to
15090 breakpoint_to_handler, breakpoint_to_handler_entry and
15091 breakpoint_over_handler.
15092
8d707a12
PA
150932015-04-10 Pedro Alves <palves@redhat.com>
15094
15095 PR gdb/18216
15096 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
15097
ef713951
YQ
150982015-04-10 Yao Qi <yao.qi@linaro.org>
15099
15100 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
15101 (test_add_rn_pc): New function.
15102 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
15103 (top level): Invoke test_add_rn_pc.
15104
906d60cf
PA
151052015-04-10 Pedro Alves <palves@redhat.com>
15106
15107 PR gdb/13858
15108 * gdb.base/step-over-no-symbols.exp: New file.
15109
f2983cc3
AW
151102015-04-09 Andy Wingo <wingo@igalia.com>
15111
15112 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
15113 after the Python tests.
15114
6d62641c
SDJ
151152015-04-08 Keith Seitz <keiths@redhat.com>
15116
15117 PR python/16699
15118 * gdb.python/py-completion.exp: New tests for completion.
15119 * gdb.python/py-completion.py (CompleteLimit1): New class.
15120 (CompleteLimit2): Likewise.
15121 (CompleteLimit3): Likewise.
15122 (CompleteLimit4): Likewise.
15123 (CompleteLimit5): Likewise.
15124 (CompleteLimit6): Likewise.
15125 (CompleteLimit7): Likewise.
15126
f3770638
PA
151272015-04-08 Pedro Alves <palves@redhat.com>
15128
15129 PR gdb/18214
15130 PR gdb/18216
15131 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
15132 function.
15133 (main): Install it as SIGUSR1 handler.
15134 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
15135 parameter. Always use "setup" as prefix. Toggle "set
15136 displaced-stepping" off/on depending on global. Don't switch to
15137 thread 1 here.
15138 (top level): Add displaced stepping "off/on" test axis. Update
15139 "setup" calls. Wrap each subtest with with_test_prefix. Test
15140 continuing with a queued signal in each thread.
15141
4496bed7
PA
151422015-04-08 Pedro Alves <palves@redhat.com>
15143
15144 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
15145 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
15146 gdb_breakpoint instead of gdb_test that doesn't expect anything.
15147 Return early if running to main fails.
15148 * gdb.trace/while-stepping.exp: Likewise.
15149
b97fde92
PA
151502015-04-07 Pedro Alves <palves@redhat.com>
15151
15152 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
15153 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
15154 interact with inferior program.
15155
f71c18e7
PA
151562015-04-07 Pedro Alves <palves@redhat.com>
15157
15158 * lib/gdb.exp (inferior_spawn_id): New global.
15159 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
15160 spawn id after processing the user code.
15161 (default_gdb_start): Set inferior_spawn_id.
15162 (send_inferior): New procedure.
15163 * lib/gdbserver-support.exp (gdbserver_start): Set
15164 inferior_spawn_id.
15165 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
15166
6423214f
PA
151672015-04-07 Pedro Alves <palves@redhat.com>
15168
15169 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
15170 * lib/gdbserver-support.exp (gdbserver_start): Make
15171 $server_spawn_id global.
15172 (gdbserver_start): Don't wait for gdbserver's spawn id with
15173 expect_background.
15174 (close_gdbserver): New procedure.
15175 (gdb_exit): Rename the default version and reimplement.
15176
71c0ee8c
PA
151772015-04-07 Pedro Alves <palves@redhat.com>
15178
72f4393d 15179 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
15180 append the substituted item, not the original item.
15181
203bc29b
PA
151822015-04-07 Pedro Alves <palves@redhat.com>
15183
15184 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
15185 gdb_expect.
15186
508a3ddf
PA
151872015-04-07 Pedro Alves <palves@redhat.com>
15188
15189 * gdb.base/interrupt.exp: Don't handle the case of the inferior
15190 output appearing once only.
15191
9f6dbe2b
PA
151922015-04-07 Pedro Alves <palves@redhat.com>
15193
15194 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
15195 that doesn't expect anything. Return early if running to main
15196 fails.
15197
337532fa
YQ
151982015-04-07 Yao Qi <yao.qi@linaro.org>
15199
15200 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
15201 (child_function): Call alarm.
15202 (main): Move call to alarm into the loop.
15203 * gdb.threads/non-stop-fair-events.exp: Build program with
15204 -DTIMEOUT=$timeout.
15205
01b622d4
DE
152062015-04-06 Doug Evans <xdje42@gmail.com>
15207
15208 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
15209 Fix dest parameter to board_info.
15210 (fpc_compile): Ditto.
15211 (gdb_compile_pascal): Rename dest arg to destfile.
15212
961f4160
PMR
152132015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
15214
15215 * gdb.ada/funcall_ref.exp: New file.
15216 * gdb.ada/funcall_ref/foo.adb: New file.
15217
cafda597
YQ
152182015-04-02 Yao Qi <yao.qi@linaro.org>
15219
15220 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
15221 is remote.
15222
fed040c6
GB
152232015-04-02 Gary Benson <gbenson@redhat.com>
15224
15225 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
15226
d11916aa
SS
152272015-04-01 Sasha Smundak <asmundak@google.com>
15228
15229 * gdb.python/py-unwind-maint.c: New file.
15230 * gdb.python/py-unwind-maint.exp: New test.
15231 * gdb.python/py-unwind-maint.py: New file.
15232 * gdb.python/py-unwind.c: New file.
15233 * gdb.python/py-unwind.exp: New test.
15234 * gdb.python/py-unwind.py: New test.
15235
a1471180
PA
152362015-04-01 Pedro Alves <palves@redhat.com>
15237
15238 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
15239 to fail instead of non-existent $test.
15240
0bbeccb1
PA
152412015-04-01 Pedro Alves <palves@redhat.com>
15242
15243 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
15244 GDBFLAGS if not empty.
15245
3c724c8c
PMR
152462015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
15247
15248 * gdb.ada/complete.exp: Remove "multi_line".
15249 * gdb.ada/info_exc.exp: Remove "multi_line".
15250 * gdb.ada/packed_tagged.exp: Remove "multi_line".
15251 * gdb.ada/ptype_field.exp: Remove "multi_line".
15252 * gdb.ada/sym_print_name.exp: Remove "multi_line".
15253 * gdb.ada/tagged.exp: Remove "multi_line".
15254 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
15255 [multi_line ...]
15256 * gdb.btrace/delta.exp: Likewise.
15257 * gdb.btrace/exception.exp: Likewise.
15258 * gdb.btrace/function_call_history.exp: Likewise.
15259 * gdb.btrace/instruction_history.exp: Likewise.
15260 * gdb.btrace/nohist.exp: Likewise.
15261 * gdb.btrace/record_goto.exp: Likewise.
15262 * gdb.btrace/segv.exp: Likewise.
15263 * gdb.btrace/stepi.exp: Likewise.
15264 * gdb.btrace/tailcall.exp: Likewise.
15265 * gdb.btrace/unknown_functions.exp: Likewise.
15266 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
15267 * lib/gdb.exp: Add the "multi_line" helper.
15268
4eec2deb
PA
152692015-04-01 Pedro Alves <palves@redhat.com>
15270
15271 * gdb.threads/tid-reuse.c: New file.
15272 * gdb.threads/tid-reuse.exp: New file.
15273
df8411da
SDJ
152742015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
15275
15276 PR corefiles/16092
15277 * gdb.base/coredump-filter.c: New file.
15278 * gdb.base/coredump-filter.exp: Likewise.
15279
6ef37366
PM
152802015-03-27 Petr Machata <pmachata@redhat.com>
15281
15282 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
15283 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
15284 (Dwarf::assemble): Initialize them.
15285 (Dwarf::lines): New function.
15286
7ec911b0
JT
152872015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
15288
15289 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
15290 SYMBOL_PREFIX for x86_64-*-cygwin.
15291
ff908ebf
AW
152922015-03-26 Andy Wingo <wingo@igalia.com>
15293
15294 PR symtab/18148
15295 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
15296 const_value but not a location.
15297 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
15298 location defined in non-main CUs are visible.
15299
6d5f0679
YQ
153002015-03-26 Yao Qi <yao.qi@linaro.org>
15301
15302 PR testsuite/18139
15303 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
15304 Add a line number entry for the same line.
15305 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
15306 Add a line number entry for the same line.
15307
2898689b
YQ
153082015-03-26 Yao Qi <yao.qi@linaro.org>
15309
15310 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
15311 .int 0.
15312 (func): Likewise. Add .Lfunc_1 label.
15313 Use .Lfunc_1 label.
15314 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
15315 .int 0.
15316 (func): Likewise.
15317 Use .Lfunc_1 label.
15318
85180498
YQ
153192015-03-26 Yao Qi <yao.qi@linaro.org>
15320
15321 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
15322 Call gdb_compile instead to compile each .s files without debug
15323 information.
15324
8aa08a8d
YQ
153252015-03-26 Yao Qi <yao.qi@linaro.org>
15326
15327 * gdb.base/savedregs.exp (process_saved_regs): Make
15328 "Saved registers:" optional in the pattern.
15329
66849923
MM
153302015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15331
15332 * gdb.btrace/next.exp: Merged into step.exp.
15333 * gdb.btrace/finish.exp: Merged into step.exp.
15334 * gdb.btrace/nexti.exp: Merged into stepi.exp.
15335 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
15336 "record goto" and checking the exact replay position.
15337 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
15338 check for "Recording format" in "info record" output.
15339 * gdb.btrace/record_goto.exp: Choose test file based on target.
15340 * gdb.btrace/x86-record_goto.S: Renamed into ...
15341 * gdb.btrace/x86_64-record_goto.S: ... this.
15342 * gdb.btrace/i686-record_goto.S: New.
15343 * gdb.btrace/x86-tailcall.S: Renamed into ...
15344 * gdb.btrace/x86_64-tailcall.S: ... this.
15345 * gdb.btrace/i686-tailcall.S: New.
15346 * gdb.btrace/x86-tailcall.c: Renamed into ...
15347 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
15348 separate statements. Update test.
15349 * gdb.btrace/delta.exp: Use record_goto.c as test file.
15350 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
15351 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
15352 * gdb.btrace/tailcall.exp: Choose test file based on target.
15353 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
15354
11cc1b74
MM
153552015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15356
15357 * gdb.btrace/exception.exp: Increase BTS buffer size.
15358
a25d8bf9
PA
153592015-03-24 Pedro Alves <palves@redhat.com>
15360
15361 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
15362
856e7dd6
PA
153632015-03-24 Pedro Alves <palves@redhat.com>
15364
15365 * gdb.threads/schedlock.exp (test_step): No longer expect that
15366 "set scheduler-locking step" with "next" over a function call runs
15367 threads unlocked.
15368
ad235a41
AT
153692015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15370
15371 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
15372
15630549
AT
153732015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15374
15375 PR breakpoints/16466
15376 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
15377 * gdb.mi/mi-pending.c (thread_func): New function.
15378 (int main): Add threading support required.
15379 * gdb.mi/mi-pending.exp: Add tests for this issue.
15380 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
15381 (pendfunc2): Remove stdio dependency.
15382 * gdb.mi/mi-pendshr2.c: New file.
15383
693dca06
KS
153842015-03-23 Keith Seitz <keiths@redhat.com>
15385
15386 * gdb.linespec/keywords.c: New file.
15387 * gdb.linespec/keywords.exp: New file.
15388
7e993ebf
KS
153892015-03-23 Keith Seitz <keiths@redhat.com>
15390
15391 PR gdb/18021
15392 * gdb.dwarf2/staticvirtual.exp: New test.
15393
bc23328c
JK
153942015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15395
15396 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
15397 * README: Remove HP-UX and gdb.hp.
15398 (configuration):
15399 * configure: Regenerate.
15400 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
15401 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
15402 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
15403 gdb.hp/gdb.defects/Makefile.
15404 * gdb.hp/Makefile.in: File deleted.
15405 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
15406 * gdb.hp/gdb.aCC/optimize.c: File deleted.
15407 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
15408 * gdb.hp/gdb.aCC/run.c: File deleted.
15409 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
15410 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
15411 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
15412 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
15413 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
15414 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
15415 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
15416 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
15417 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
15418 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
15419 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
15420 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
15421 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
15422 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
15423 * gdb.hp/gdb.base-hp/reg.s: File deleted.
15424 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
15425 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
15426 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
15427 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
15428 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
15429 * gdb.hp/gdb.compat/Makefile.in: File deleted.
15430 * gdb.hp/gdb.compat/average.c: File deleted.
15431 * gdb.hp/gdb.compat/sum.c: File deleted.
15432 * gdb.hp/gdb.compat/xdb.c: File deleted.
15433 * gdb.hp/gdb.compat/xdb0.c: File deleted.
15434 * gdb.hp/gdb.compat/xdb0.h: File deleted.
15435 * gdb.hp/gdb.compat/xdb1.c: File deleted.
15436 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
15437 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
15438 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
15439 * gdb.hp/gdb.defects/Makefile.in: File deleted.
15440 * gdb.hp/gdb.defects/bs14602.c: File deleted.
15441 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
15442 * gdb.hp/gdb.defects/solib-d.c: File deleted.
15443 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
15444 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
15445 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
15446 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
15447 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
15448 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
15449 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
15450 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
15451 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
15452 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
15453 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
15454 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
15455 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
15456 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
15457 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
15458 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
15459 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
15460 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
15461 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
15462 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
15463 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
15464 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
15465 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
15466 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
15467 * gdb.hp/tools/odump: File deleted.
15468
8bf3b159
PA
154692015-03-19 Pedro Alves <palves@redhat.com>
15470
15471 * gdb.threads/continue-pending-status.exp (saw_thread_2)
15472 (saw_thread_3): New globals.
15473 (top level): Increment them when an event for the corresponding
15474 thread is seen.
15475 (no thread starvation): New test.
15476
eb54c8bf
PA
154772015-03-19 Pedro Alves <palves@redhat.com>
15478
15479 * gdb.threads/continue-pending-status.c: New file.
15480 * gdb.threads/continue-pending-status.exp: New file.
15481
32d2e5d6
PA
154822015-03-18 Pedro Alves <palves@redhat.com>
15483
15484 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15485 Use gdb_is_target_remote instead of is_remote. Use
15486 gdb_test_multiple instead of gdb_expect. Exit early if
15487 gdb_test_multiple hits its internal matches. Tighten stepi tests
15488 expected output. Fail on exit with any signal, instead of just
15489 SIGILL.
15490
f68f11b7
YQ
154912015-03-18 Yao Qi <yao.qi@linaro.org>
15492
15493 PR tdep/18107
15494 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
15495 variable.
15496 * gdb.base/catch-syscall.exp: Don't skip it on
15497 aarch64*-*-linux* target. Remove elements in all_syscalls.
15498 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
15499 target.
15500 (setup_all_syscalls): New proc.
15501
ca5fd19b
YQ
155022015-03-16 Yao Qi <yao.qi@linaro.org>
15503
15504 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
15505 (top level): Skip tests if valid_addr_p returns false for
15506 $cmd1 or $cmd2.
15507
85642ba0
AW
155082015-03-11 Andy Wingo <wingo@igalia.com>
15509
15510 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
15511
e03f9645
YQ
155122015-03-11 Yao Qi <yao.qi@linaro.org>
15513
15514 * gdb.base/catch-syscall.exp: Fix typo in comments.
15515
5d0962b2
YQ
155162015-03-11 Yao Qi <yao.qi@linaro.org>
15517
15518 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
15519
b2df3cef
PA
155202015-03-09 Pedro Alves <palves@redhat.com>
15521
15522 * dg-extract-results.py: Delete.
15523
ef878e53
PA
155242015-03-09 Pedro Alves <palves@redhat.com>
15525
15526 Merge dg-extract-results.sh from GCC upstream (r218843).
15527
15528 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
15529 * dg-extract-results.sh: Use --text with grep to avoid issues with
15530 binary files. Fall back to cat -v, if that doesn't work.
15531
9494d219
PA
155322015-03-05 Pedro Alves <palves@redhat.com>
15533
15534 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
15535
a8d9763a
SM
155362015-03-04 Simon Marchi <simon.marchi@ericsson.com>
15537
15538 * lib/mi-support.exp (mi_expect_interrupt): Accept
15539 alternative event for when in all-stop mode.
15540
be9957b8
PA
155412015-03-04 Pedro Alves <palves@redhat.com>
15542
15543 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
15544
d57be0f4 155452015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
15546
15547 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
15548
c214c7cf
AA
155492015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
15550
15551 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
15552 regexps for GDB's current line display, accept a hex address
15553 preceding the line number.
15554
6d74a497
AA
155552015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
15556
15557 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
15558 the 'arch1' variable for "s390*-linux*" targets.
15559
511aee7c
PA
155602015-03-04 Pedro Alves <palves@redhat.com>
15561
15562 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
15563 (main): Pass missing retval argument to pthread_join call.
15564
95e50b27
PA
155652015-03-02 Pedro Alves <palves@redhat.com>
15566
15567 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
15568 (top level): Call do_test with non-stop as well.
15569
28054d69
PA
155702015-03-02 Pedro Alves <palves@redhat.com>
15571
15572 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
15573 -1.
15574
4fa5d7b4
AA
155752015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15576
15577 * gdb.arch/s390-vregs.exp: New test.
15578 * gdb.arch/s390-vregs.S: New file.
15579
97c18565
PA
155802015-02-27 Pedro Alves <palves@redhat.com>
15581
15582 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
15583 call to catch_command_errors.
15584 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
15585 catch_command_errors.
15586
a37bfa30
PA
155872015-02-27 Pedro Alves <palves@redhat.com>
15588
15589 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
15590 "true" for boolean result.
15591 * gdb.gdb/selftest.exp (test_with_self): Also accept full
15592 prototype of main.
15593
6f98576f
PA
155942015-02-27 Pedro Alves <palves@redhat.com>
15595
15596 * lib/unbuffer_output.c: New file.
15597 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
15598 (main): Call gdb_unbuffer_output.
15599
eba5ab56
YQ
156002015-02-27 Yao Qi <yao.qi@linaro.org>
15601
15602 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
15603 target.
15604
0def5aaa
DE
156052015-02-26 Doug Evans <dje@google.com>
15606
15607 * gdb.cp/class2.cc (Dbase, D): New classes.
15608 (main): New local delta.
15609 * gdb.cp/class2.exp: Test printing delta.
15610 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
15611 (dynbar): New global.
15612 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
15613
081a1c2c
JK
156142015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15615
15616 * gdb.compile/compile-ifunc.c: New file.
15617 * gdb.compile/compile-ifunc.exp: New file.
15618
2f41223f
AT
156192015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
15620
15621 * gdb.base/structs.exp: Check for correct struct on finish.
15622
03eddd80
YQ
156232015-02-26 Yao Qi <yao.qi@linaro.org>
15624
15625 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
15626 is zero.
15627
80c57053
JK
156282015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15629
15630 * gdb.arch/cordic.ko.bz2: New file.
15631 * gdb.arch/cordic.ko.debug.bz2: New file.
15632 * gdb.arch/ppc64-symtab-cordic.exp: New file.
15633
21613c12
YQ
156342015-02-25 Yao Qi <yao.qi@linaro.org>
15635
15636 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
15637 aarch64*-*-* target.
15638
d8b901ed
PA
156392015-02-23 Pedro Alves <palves@redhat.com>
15640
15641 * lib/gdb.exp (delete_breakpoints): Rewrite using
15642 gdb_test_multiple.
15643
e5b85ead
PA
156442015-02-23 Pedro Alves <palves@redhat.com>
15645
15646 * gdb.base/info-os.c: Include stdlib.h.
15647
85c3a371
DE
156482015-02-22 Doug Evans <xdje42@gmail.com>
15649
15650 PR symtab/17855
15651 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
15652 is read after symbols have been re-read.
15653 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
15654 * gdb.ada/exec_changed/second.adb (Second): Ditto.
15655
96553a0c
DE
156562015-02-21 Doug Evans <dje@google.com>
15657
15658 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
15659
97a0c697
JK
156602015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15661
15662 PR corefiles/17808
15663 * gdb.arch/i386-biarch-core.core.bz2: New file.
15664 * gdb.arch/i386-biarch-core.exp: New file.
15665
a47cd6e9
PA
156662015-02-21 Pedro Alves <palves@redhat.com>
15667
15668 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
15669 runto_main fails.
15670
c5facdc4
PA
156712015-02-20 Pedro Alves <palves@redhat.com>
15672
15673 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
15674 info probes.
15675
2db9a427
PA
156762015-02-20 Pedro Alves <palves@redhat.com>
15677
15678 * gdb.threads/multi-create-ns-info-thr.exp: New file.
15679
60fb7e9e
PA
156802015-02-20 Pedro Alves <palves@redhat.com>
15681
15682 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
15683 clean_restart before gdb_target_supports_trace.
15684
5c5019c2
PA
156852015-02-20 Pedro Alves <palves@redhat.com>
15686
15687 PR threads/18006
15688 * gdb.threads/clone-thread_db.c: New file.
15689 * gdb.threads/clone-thread_db.exp: New file.
15690
c9587f88
AT
156912015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
15692
15693 PR breakpoints/16812
15694 * gdb.base/catch-gdb-caused-signals.c: New file.
15695 * gdb.base/catch-gdb-caused-signals.exp: New file.
15696
f6a88844
JM
156972015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
15698
15699 * configure: Regenerated.
15700 * configure.ac: Use GDB_AC_TRANSFORM.
15701 * aclocal.m4: sinclude ../transform.m4.
15702
497c491b
JM
157032015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15704
15705 * lib/dtrace.exp: New file.
15706 * gdb.base/dtrace-probe.exp: Likewise.
15707 * gdb.base/dtrace-probe.d: Likewise.
15708 * gdb.base/dtrace-probe.c: Likewise.
15709 * lib/pdtrace.in: Likewise.
15710 * configure.ac: Output variables with the transformed names of
15711 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
15712 * configure: Regenerated.
15713
03e98035
JM
157142015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15715
15716 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
15717 expected message when trying to access $_probe_* convenience
15718 variables while not on a probe.
15719
63cc30e9
JK
157202015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15721
15722 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
15723
0703599a
PA
157242015-02-11 Pedro Alves <pedro@codesourcery.com>
15725
15726 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
15727 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
15728
7e60a48e
DE
157292015-02-10 Doug Evans <xdje42@gmail.com>
15730
15731 * lib/gdb.exp (gdb_load): Always return a result.
15732
01b088bc
PA
157332015-02-10 Pedro Alves <palves@redhat.com>
15734
15735 * gdb.threads/signal-sigtrap.c: New file.
15736 * gdb.threads/signal-sigtrap.exp: New file.
15737
b05ec7a5
AT
157382015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
15739
15740 * gdb.trace/no-attach-trace.c: New file.
15741 * gdb.trace/no-attach-trace.exp: New file.
15742
a2c2acaf
MW
157432015-02-09 Mark Wielaard <mjw@redhat.com>
15744
15745 * gdb.dwarf2/atomic.c: New file.
15746 * gdb.dwarf2/atomic-type.exp: Likewise.
15747
31fd9caa
MM
157482015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15749
15750 * gdb.btrace/buffer-size.exp: Update "info record" output.
15751 * gdb.btrace/delta.exp: Update "info record" output.
15752 * gdb.btrace/enable.exp: Update "info record" output.
15753 * gdb.btrace/finish.exp: Update "info record" output.
15754 * gdb.btrace/instruction_history.exp: Update "info record" output.
15755 * gdb.btrace/next.exp: Update "info record" output.
15756 * gdb.btrace/nexti.exp: Update "info record" output.
15757 * gdb.btrace/step.exp: Update "info record" output.
15758 * gdb.btrace/stepi.exp: Update "info record" output.
15759 * gdb.btrace/nohist.exp: Update "info record" output.
15760
d33501a5
MM
157612015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15762
15763 * gdb.btrace/buffer-size: New.
15764
f4abbc16
MM
157652015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15766
15767 * gdb.btrace/delta.exp: Update "info record" output.
15768 * gdb.btrace/enable.exp: Update "info record" output.
15769 * gdb.btrace/finish.exp: Update "info record" output.
15770 * gdb.btrace/instruction_history.exp: Update "info record" output.
15771 * gdb.btrace/next.exp: Update "info record" output.
15772 * gdb.btrace/nexti.exp: Update "info record" output.
15773 * gdb.btrace/step.exp: Update "info record" output.
15774 * gdb.btrace/stepi.exp: Update "info record" output.
15775 * gdb.btrace/nohist.exp: Update "info record" output.
15776
b9d61307
SM
157772015-02-06 Simon Marchi <simon.marchi@ericsson.com>
15778
15779 PR gdb/15678
15780 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
15781
e584fdbc
PA
157822015-02-06 Pedro Alves <palves@redhat.com>
15783
15784 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
15785 macro.
15786 (seconds_left, again): New globals.
15787 (main): Wait seconds_left in a 1-second sleep loop instead of
15788 sleeping 180 seconds. If 'again' is set, reset the seconds
15789 counter.
15790 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
15791 'again' in the inferior before detaching. Print the seconds left.
15792 (options): New global.
15793 (top level): Build program with -DTIMEOUT=$timeout.
15794
77f41761
PA
157952015-02-06 Pedro Alves <palves@redhat.com>
15796
15797 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
15798 determine how many seconds to pass to 'alarm'.
15799 * gdb.base/gdb-sigterm.exp (top level): Build program with
15800 -DTIMEOUT=$timeout.
15801 (do_test): Return success/failure indication. Add more verbose
15802 logging. Don't fail if 200 single steps are seen. Instead, fail
15803 when the test times out.
15804 (passes): New global.
15805 (top level): Break the testing loop if testing fails on any
15806 iteration. Use gdb_assert.
15807
b9394193
DB
158082015-02-04 Don Breazeal <donb@codesourcery.com>
15809
15810 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
15811 and initialize them.
15812 (ipc_cleanup): New function.
15813 (main): Don't declare shmid, semid, and msqid. Add a call to
15814 atexit so that we call ipc_cleanup on exit.
15815
42d9e528
PA
158162015-02-04 Pedro Alves <palves@redhat.com>
15817
15818 * boards/native-extended-gdbserver.exp: Remove any target variant
15819 specifications from the board name before clearing the isremote
15820 flag from board_info.
15821
ae6ae975
DE
158222015-01-31 Doug Evans <xdje42@gmail.com>
15823
15824 * gdb.base/maint.exp <maint print type argc>: Update expected output.
15825
cfb069a8
GB
158262015-01-31 Gary Benson <gbenson@redhat.com>
15827
15828 * gdb.base/completion.exp: Disable completion limiting for
15829 existing tests. Add new tests to check completion limiting.
15830 * gdb.linespec/ls-errs.exp: Disable completion limiting.
15831
5dd31d79
DE
158322015-01-31 Doug Evans <xdje42@gmail.com>
15833
15834 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
15835
9f050062
DE
158362015-01-31 Doug Evans <xdje42@gmail.com>
15837
15838 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
15839 entries. Duplicate file section script entries.
15840 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15841 inlined entries. Add test for safe-path rejection.
15842 * gdb.python/py-section-script.c: Add duplicate inlined section script
15843 entries. Duplicate file section script entries.
15844 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15845 inlined entries. Add test for safe-path rejection.
15846
df25ebbd
JB
158472015-01-29 Joel Brobecker <brobecker@adacore.com>
15848
15849 * gdb.ada/disc_arr_bound: New testcase.
15850
4a0ca9ec
JB
158512015-01-29 Joel Brobecker <brobecker@adacore.com>
15852
15853 * gdb.ada/mi_var_array: New testcase.
15854
3a8b707a
DE
158552015-01-27 Doug Evans <dje@google.com>
15856
15857 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15858 Add test for objfile.filename, objfile.username after objfile
15859 has been unloaded.
15860
f8313f6e
JB
158612015-01-26 Joel Brobecker <brobecker@adacore.com>
15862
15863 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15864 the second test to print the name attribute of value
15865 returned by the call to gdb.lookup_type, and adjust
15866 the expected output accordingly.
15867
37bc665e
MW
158682015-01-25 Mark Wielaard <mjw@redhat.com>
15869
15870 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15871 * gdb.base/disp-step-fork.c: Include unistd.h.
15872 * gdb.base/siginfo-obj.c: Include stdio.h.
15873 * gdb.base/siginfo-thread.c: Likewise.
15874 * gdb.mi/non-stop.c: Include unistd.h.
15875 * gdb.mi/nsthrexec.c: Include stdio.h.
15876 * gdb.mi/pthreads.c: Include unistd.h.
15877 * gdb.modula2/unbounded1.c (main): Declare returns int.
15878 * gdb.reverse/consecutive-reverse.c: Likewise.
15879 * gdb.threads/create-fail.c: Include unistd.h.
15880 * gdb.threads/killed.c: Likewise.
15881 * gdb.threads/linux-dp.c: Likewise.
15882 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15883 * gdb.threads/non-ldr-exc-2.c: Likewise.
15884 * gdb.threads/non-ldr-exc-3.c: Likewise.
15885 * gdb.threads/non-ldr-exc-4.c: Likewise.
15886 * gdb.threads/pthreads.c: Include unistd.h.
15887 (main): Declare returns int.
15888 * gdb.threads/tls-main.c (foo): New declaration.
15889 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15890
f7e5394d
SM
158912015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15892
15893 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15894 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15895
743649fd
MW
158962015-01-15 Mark Wielaard <mjw@redhat.com>
15897
15898 * gdb.base/noreturn-return.c: New file.
15899 * gdb.base/noreturn-return.exp: New file.
15900 * gdb.base/noreturn-finish.c: New file.
15901 * gdb.base/noreturn-finish.exp: New file.
15902
198297aa
PA
159032015-01-23 Pedro Alves <palves@redhat.com>
15904
15905 * gdb.threads/continue-pending-after-query.c: New file.
15906 * gdb.threads/continue-pending-after-query.exp: New file.
15907
717cf30c
AG
159082015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15909 Simon Marchi <simon.marchi@ericsson.com>
15910
15911 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15912 * gdb.base/valgrind-db-attach.exp: Same.
15913 * gdb.base/valgrind-infcall.exp: Same.
15914 * lib/mi-support.exp (default_mi_gdb_start): Same.
15915 * lib/prompt.exp (default_prompt_gdb_start): Same.
15916 * lib/gdb.exp (default_gdb_spawn): Same.
15917 (gdb_interact): New.
15918
15919
4b62a76e
JK
159202015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15921
15922 * gdb.compile/compile.exp (pointer to jit function): New test.
15923
b4cdae6f
WW
159242015-01-17 Wei-cheng Wang <cole945@gmail.com>
15925
15926 * lib/gdb.exp (supports_process_record): Return true for
15927 powerpc*-*-linux*.
15928 (supports_reverse): Likewise.
15929
d221e7ef
DB
159302015-01-15 Don Breazeal <donb@codesourcery.com>
15931
15932 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15933 instead of checking whether the target board is remote and
15934 use spawn_wait_for_attach instead of exec/sleep.
15935 * gdb.base/attach-twice.exp: Likewise.
15936
bafffb51
JB
159372015-01-15 Joel Brobecker <brobecker@adacore.com>
15938
15939 * gdb.ada/var_arr_attrs: New testcase.
15940
5589af0e
PA
159412015-01-14 Pedro Alves <palves@redhat.com>
15942 Joel Brobecker <brobecker@adacore.com>
15943
15944 PR gdb/17525
15945 * gdb.base/bp-cmds-execution-x-script.c: New file.
15946 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15947 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15948
6c400b59
PA
159492015-01-14 Pedro Alves <palves@redhat.com>
15950
15951 PR cli/17828
15952 * gdb.base/batch-preserve-term-settings.c: New file.
15953 * gdb.base/batch-preserve-term-settings.exp: New file.
15954
e02c96a7
DE
159552015-01-13 Doug Evans <dje@google.com>
15956
15957 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15958 binary.
15959
576fd14c
JB
159602015-01-13 Joel Brobecker <brobecker@adacore.com>
15961
15962 * Makefile.in (clean mostlyclean): Do not delete *.py.
15963
04dccad0
JB
159642015-01-13 Joel Brobecker <brobecker@adacore.com>
15965
15966 * gdb.python/py-lookup-type.exp: New file.
15967
3d230f71
PA
159682015-01-12 Pedro Alves <palves@redhat.com>
15969
15970 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15971 restore GDBFLAGS before returning.
15972
7e67715d
JK
159732015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15974
15975 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15976 is_amd64_regs_target and is_x86_like_target.
15977
f2e0d4b4
DE
159782015-01-11 Doug Evans <xdje42@gmail.com>
15979
15980 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15981 is given without an explicit form.
15982 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15983 attributes.
15984 * gdb.dwarf/corrupt.exp: Ditto.
15985 * gdb.dwarf2/enum-type.exp: Ditto.
15986 * gdb.trace/entry-values.exp: Ditto.
15987 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15988
439250fb
DE
159892015-01-11 Doug Evans <xdje42@gmail.com>
15990
15991 PR gdb/15830
15992 * gdb.base/maint.exp: Remove references to "maint demangle".
15993 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15994 Add tests for explicitly specifying language to demangle.
15995 * gdb.dlang/demangle.exp: Ditto.
15996
ede9f622
PA
159972015-01-09 Pedro Alves <palves@redhat.com>
15998
15999 * gdb.threads/non-stop-fair-events.c: New file.
16000 * gdb.threads/non-stop-fair-events.exp: New file.
16001
a7b796db
PA
160022015-01-09 Pedro Alves <palves@redhat.com>
16003
16004 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
16005 the global scope. Set a breakpoint after all threads are started
16006 rather than stepping over two source lines. Expect the prompt.
16007 * gdb.base/watch_thread_num.c (threads_started_barrier): New
16008 global.
16009 (NUM): Now 15.
16010 (main): Use threads_started_barrier to wait for all threads to
16011 start. Main thread no longer calls thread_function. Exit after
16012 180 seconds.
16013 (loop): New function.
16014 (thread_function): Wait on threads_started_barrier barrier. Call
16015 'loop' at each iteration.
16016 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
16017 threads have started, instead of hardcoding number of "next"
16018 steps. Use an access watchpoint instead of a write watchpoint.
16019
9665ffdd
PA
160202015-01-09 Pedro Alves <palves@redhat.com>
16021
16022 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
16023 (thread_func): Wait on barrier.
16024 (main): Wait for all threads to start before stopping GDB.
16025 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
16026 global.
16027 (thread1_func, thread2_func): Wait on barrier.
16028 (main): Wait for all threads to start before stopping GDB.
16029 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
16030 New global.
16031 (thread1_func, thread2_func): Wait on barrier.
16032 (main): Wait for all threads to start before stopping GDB.
16033
c945a99f
PA
160342015-01-09 Pedro Alves <palves@redhat.com>
16035
16036 * gdb.threads/attach-many-short-lived-threads.c: New file.
16037 * gdb.threads/attach-many-short-lived-threads.exp: New file.
16038
c1a747c1
PA
160392014-01-09 Pedro Alves <palves@redhat.com>
16040
16041 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
16042 instead of to thread 2.
16043 * gdb.threads/signal-command-multiple-signals-pending.c (main):
16044 Add barrier around each pthread_create call instead of around all
16045 calls.
16046 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
16047 Set a break on thread_function and have the child threads hit it
16048 one at at a time.
16049
60b3033e
PA
160502015-01-09 Pedro Alves <palves@redhat.com>
16051
16052 * lib/gdb.exp (can_spawn_for_attach): New procedure.
16053 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
16054 false.
16055 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
16056 checking whether the target board is remote.
16057 * gdb.multi/multi-attach.exp: Likewise.
16058 * gdb.python/py-sync-interp.exp: Likewise.
16059 * gdb.server/ext-attach.exp: Likewise.
16060 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
16061 tests that need to attach, instead of checking whether the target
16062 board is remote at the top of the file.
16063
acc018ac
YQ
160642015-01-08 Yao Qi <yao@codesourcery.com>
16065
16066 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
16067
50a18af8
JK
160682015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16069
16070 Fix testcase compilation.
16071 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
16072
8503d6e1
JB
160732015-01-06 Joel Brobecker <brobecker@adacore.com>
16074
16075 * gdb.python/py-type.exp: Add a couple test about empty
16076 array creation, and negative-length array creation.
16077
cc73dbcc
DE
160782015-01-02 Doug Evans <xdje42@gmail.com>
16079
16080 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
16081
0300bbc7
DE
160822015-01-02 Doug Evans <dje@google.com>
16083
16084 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
16085
9d85a0ec
YQ
160862014-12-29 Yao Qi <yao@codesourcery.com>
16087
16088 * gdb.trace/entry-values.exp: Update comments. Rename variable
16089 bar_call_foo to returned_from_foo.
16090
87186c6a
MMN
160912014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
16092
16093 PR gdb/17394
16094 * gdb.linespec/break-asm-file.c: New file.
16095 * gdb.linespec/break-asm-file.exp: New file.
16096 * gdb.linespec/break-asm-file0.s: New file.
16097 * gdb.linespec/break-asm-file1.s: New file.
16098
1bab7383
YQ
160992014-12-18 Nigel Stephens <nigel@mips.com>
16100 Maciej W. Rozycki <macro@codesourcery.com>
16101
16102 * gdb.base/float.exp: Handle the new output from "info float" on
16103 MIPS targets.
16104
1bc1068a
JK
161052014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16106
16107 Fix MinGW compilation.
16108 * gdb.compile/compile-ops.exp: Update untested message if
16109 !skip_compile_feature_tests.
16110 * gdb.compile/compile-setjmp.exp: Likewise.
16111 * gdb.compile/compile-tls.exp: Likewise.
16112 * gdb.compile/compile.exp: Likewise.
16113 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
16114 supported on this host".
16115
b6615d10
DE
161162014-12-16 Doug Evans <xdje42@gmail.com>
16117
16118 * boards/stabs.exp: New file.
16119
25dda427
AA
161202014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
16121
16122 * gdb.base/completion.exp: Adjust to format changes of "maint
16123 print user-registers".
16124
bf330350
CU
161252014-12-16 Catalin Udma <catalin.udma@freescale.com>
16126
16127 PR server/17457
16128 * gdb.arch/aarch64-fp.c: New file.
16129 * gdb.arch/aarch64-fp.exp: New file.
16130
395cf596
SDJ
161312014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
16132
16133 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
16134 r210637, r210913, r211666, r215400, r215817).
16135
16136 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
16137 * dg-extract-results.py: New file.
16138 * dg-extract-results.sh: Use it if the environment seems
16139 suitable.
16140
16141 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
16142
16143 * dg-extract-results.py (parse_run): Handle warnings that
16144 are printed before a test harness is run.
16145
16146 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
16147
16148 * dg-extract-results.py (Named): Remove __cmp__ method.
16149 (output_variation): Use a key to sort variation.harnesses.
16150
16151 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
16152
16153 * dg-extract-results.py: For Python 3, force sys.stdout to
16154 handle surrogate escape sequences.
16155 (safe_open): New function.
16156 (output_segment, main): Use it.
16157
16158 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
16159
16160 * dg-extract-results.py (Prog.result_re): Include options
16161 in test name.
16162
16163 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
16164
16165 * dg-extract-results.py (output_variation): Always sort if
16166 do_sum.
16167
e882ef3c
SM
161682014-12-15 Simon Marchi <simon.marchi@ericsson.com>
16169
16170 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
16171 as long as we get pagination notifications.
16172
4992aa20
JM
161732014-12-15 Jason Merrill <jason@redhat.com>
16174
16175 * Makefile.in (check-gdb.%): Restore.
16176 * README: Mention it.
16177
c1b5a1a6
JB
161782014-12-13 Joel Brobecker <brobecker@adacore.com>
16179
16180 * gdb.ada/str_uninit: New testcase.
16181
5537b577
JK
161822014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16183
16184 PR symtab/17642
16185 * gdb.base/vla-stub-define.c: New file.
16186 * gdb.base/vla-stub.c: New file.
16187 * gdb.base/vla-stub.exp: New file.
16188
bb2ec1b3
TT
161892014-12-12 Phil Muldoon <pmuldoon@redhat.com>
16190 Jan Kratochvil <jan.kratochvil@redhat.com>
16191 Tom Tromey <tromey@redhat.com>
16192
16193 * configure.ac: Add gdb.compile/.
16194 * configure: Regenerate.
16195 * gdb.compile/Makefile.in: New file.
16196 * gdb.compile/compile-ops.exp: New file.
16197 * gdb.compile/compile-ops.c: New file.
16198 * gdb.compile/compile-tls.c: New file.
16199 * gdb.compile/compile-tls.exp: New file.
16200 * gdb.compile/compile-constvar.S: New file.
16201 * gdb.compile/compile-constvar.c: New file.
16202 * gdb.compile/compile-mod.c: New file.
16203 * gdb.compile/compile-nodebug.c: New file.
16204 * gdb.compile/compile-setjmp-mod.c: New file.
16205 * gdb.compile/compile-setjmp.c: New file.
16206 * gdb.compile/compile-setjmp.exp: New file.
16207 * gdb.compile/compile-shlib.c: New file.
16208 * gdb.compile/compile.c: New file.
16209 * gdb.compile/compile.exp: New file.
16210 * lib/gdb.exp (skip_compile_feature_tests): New proc.
16211
4ff709eb
TT
162122014-12-12 Tom Tromey <tromey@redhat.com>
16213
16214 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
16215 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
16216
6dddd6a5
DE
162172014-12-12 Doug Evans <dje@google.com>
16218
16219 * lib/gdb-python.exp (get_python_valueof): New function.
16220 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
16221
71c24708
AA
162222014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16223
16224 * gdb.base/completion.exp: Add test for completion of "info
16225 registers ".
16226
3e29f34a
MR
162272014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
16228
16229 * gdb.base/func-ptrs.c: New file.
16230 * gdb.base/func-ptrs.exp: New file.
16231
fc126975
SM
162322014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16233
16234 PR breakpoints/17012
16235 * gdb.base/dprintf-detach.c: New file.
16236 * gdb.base/dprintf-detach.exp: New file.
16237
0a46d518
SM
162382014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16239
16240 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
16241 * lib/gdb.exp (target_is_gdbserver): New procedure.
16242
a0be3e44
DE
162432014-12-08 Doug Evans <dje@google.com>
16244
16245 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
16246
df1b803a
YQ
162472014-12-05 Yao Qi <yao@codesourcery.com>
16248
16249 * gdb.guile/scm-error.exp: Remove the third argument to
16250 gdb_remote_download.
16251 * gdb.guile/scm-frame-args.exp: Likewise.
16252 * gdb.guile/scm-section-script.exp: Likewise.
16253
ddb9f679
YQ
162542014-12-05 Yao Qi <yao@codesourcery.com>
16255
16256 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
16257
86e4ed39
DE
162582014-12-04 Doug Evans <dje@google.com>
16259
16260 * gdb.python/py-objfile.exp: Add tests for
16261 objfile.add_separate_debug_file.
16262
7c50a931
DE
162632014-12-04 Doug Evans <dje@google.com>
16264
16265 * lib/gdb.exp (get_build_id): New function.
16266 (build_id_debug_filename_get): Rewrite to use it.
16267 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
16268
621661e3
MR
162692014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
16270
16271 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
16272 `method(long)', not just 0x0.
16273 * gdb.cp/nsalias.exp: Align code labels to 4.
16274 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
16275 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
16276 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
16277 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
16278 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
16279 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
16280
29f0c3b7
DE
162812014-12-02 Doug Evans <dje@google.com>
16282
e1e061e7 16283 PR symtab/17602
29f0c3b7 16284 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 16285 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
16286 * gdb.cp/anon-ns.exp: Update.
16287
162078c8
NB
162882014-12-02 Nick Bull <nicholaspbull@gmail.com>
16289
16290 * gdb.python/py-events.py (inferior_call_handler): New.
16291 (register_changed_handler, memory_changed_handler): New.
16292 (test_events.invoke): Register new handlers.
16293 * gdb.python/py-events.exp: Add tests for inferior call,
16294 memory_changed and register_changed events.
16295
fdb09caf
AA
162962014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16297
16298 * gdb.base/execl-update-breakpoints.exp: Specify the link address
16299 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
16300 if the linker doesn't understand this.
16301
55cfb2c4
SM
163022014-12-01 Simon Marchi <simon.marchi@ericsson.com>
16303
16304 * gdb.python/python.exp: Change expected reply to help().
16305
9e8cd6df
YQ
163062014-12-01 Yao Qi <yao@codesourcery.com>
16307
16308 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
16309 AC_CONFIG_SUBDIRS(gdb.gdbtk).
16310 * configure: Re-generated.
16311
6c659fc2
SC
163122014-11-28 Siva Chandra Reddy <sivachandra@google.com>
16313
16314 * gdb.cp/chained-calls.cc: New file.
16315 * gdb.cp/chained-calls.exp: New file.
16316 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
16317
d7fc3181
SM
163182014-11-28 Simon Marchi <simon.marchi@ericsson.com>
16319
16320 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
16321 * gdb.dwarf2/symtab-producer.exp: Same.
16322 * gdb.gdb/python-interrupts.exp: Same.
16323 * gdb.gdb/python-selftest.exp: Same.
16324 * gdb.python/py-linetable.exp: Same.
16325 * gdb.python/py-type.exp: Same.
16326 * gdb.python/py-value-cc.exp: Same.
16327 * gdb.python/py-value.exp: Same.
16328
10e79639
YQ
163292014-11-28 Yao Qi <yao@codesourcery.com>
16330
16331 * gdb.base/break-probes.exp: Match library name prefixed with
16332 sysroot.
16333
f28a0564
SM
163342014-11-27 Simon Marchi <simon.marchi@ericsson.com>
16335
16336 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
16337 test expected output. Add parentheses for the call to print.
16338 Remove L suffix from integers.
16339
3fe1ce1d
DE
163402014-11-26 Doug Evans <dje@google.com>
16341
16342 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
16343
84429e27
YQ
163442014-11-22 Yao Qi <yao@codesourcery.com>
16345
16346 * gdb.trace/entry-values.c: Remove asms.
16347 (foo): Add foo_label.
16348 (bar): Add bar_label.
16349 * gdb.trace/entry-values.exp: Remove code computing foo's
16350 length and bar's length.
16351 (Dwarf::assemble): Invoke function_range for bar and use
16352 MACRO_AT_func for foo.
16353
26741859
YQ
163542014-11-22 Yao Qi <yao@codesourcery.com>
16355
16356 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
16357 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
16358 Use .Lgcc43_procstart instead of gcc43.
16359
45e44d27
JB
163602014-11-21 Joel Brobecker <brobecker@adacore.com>
16361
16362 * gdb.ada/n_arr_bound: New testcase.
16363
458c8db8
SDJ
163642014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
16365
16366 PR breakpoints/10737
16367 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
16368 test_catch_syscall_multi_arch.
16369 (test_catch_syscall_multi_arch): New function.
16370
43f3e411
DE
163712014-11-20 Doug Evans <xdje42@gmail.com>
16372
16373 * gdb.base/maint.exp: Update expected output.
16374
0d7b2549
AA
163752014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
16376
16377 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
16378 4-byte instruction on S390.
16379
8908fca5
JB
163802014-11-19 Joel Brobecker <brobecker@adacore.com>
16381
16382 * gdb.ada/arr_arr: New testcase.
16383
4a46959e
JB
163842014-11-19 Joel Brobecker <brobecker@adacore.com>
16385
16386 * gdb.ada/pkd_arr_elem: New Testcase.
16387
470e2f4e
LM
163882014-11-18 Luis Machado <lgustavo@codesourcery.com>
16389
16390 * gdb.reverse/break-precsave: Expect completion message for
16391 core file reads.
16392 * gdb.reverse/consecutive-precsave.exp: Likewise.
16393 * gdb.reverse/finish-precsave.exp: Likewise.
16394 * gdb.reverse/i386-precsave.exp: Likewise.
16395 * gdb.reverse/machinestate-precsave.exp: Likewise.
16396 * gdb.reverse/sigall-precsave.exp: Likewise.
16397 * gdb.reverse/solib-precsave.exp: Likewise.
16398 * gdb.reverse/step-precsave.exp: Likewise.
16399 * gdb.reverse/until-precsave.exp: Likewise.
16400 * gdb.reverse/watch-precsave.exp: Likewise.
16401
a267f3ad
AA
164022014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16403
16404 * gdb.base/bp-permanent.c: Include unistd.h.
16405 * gdb.python/py-framefilter-mi.c (main): Add return type.
16406 * gdb.python/py-framefilter.c (main): Likewise.
16407 * gdb.trace/actions-changed.c (main): Likewise.
16408
12084a9a
AA
164092014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16410
16411 * gdb.mi/until.c: Add eye-catchers.
16412 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
16413 line numbers.
16414
dc7e1a77
AA
164152014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16416
16417 * gdb.base/condbreak.exp: Drop references to removed non-prototype
16418 function header variants in break1.c.
16419 * gdb.base/ena-dis-br.exp: Likewise.
16420 * gdb.base/hbreak2.exp: Likewise.
16421 * gdb.reverse/until-precsave.exp: Drop references to removed
16422 non-prototype function header variants in ur1.c.
16423 * gdb.reverse/until-reverse.exp: Likewise.
16424
41c77605
PM
164252014-11-17 Petr Machata <pmachata@redhat.com>
16426
16427 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
16428 ${_cu_offset_size} bytes abbrev offset.
16429
34248c3a
DE
164302014-11-15 Doug Evans <xdje42@gmail.com>
16431
16432 PR symtab/17559
16433 * gdb.base/line-symtabs.exp: New file.
16434 * gdb.base/line-symtabs.c: New file.
16435 * gdb.base/line-symtabs.h: New file.
16436
646da059
YQ
164372014-11-14 Yao Qi <yao@codesourcery.com>
16438
16439 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
16440 (func): Add label func_label.
16441 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
16442 Replace low_pc and high_pc with MACRO_AT_range.
16443 Replace name, low_pc and high_pc with MACRO_AT_func.
16444
9301ebe6
YQ
164452014-11-14 Yao Qi <yao@codesourcery.com>
16446
16447 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
16448 Replace name, low_pc and high_pc with MACRO_AT_func.
16449
f166b542
YQ
164502014-11-14 Yao Qi <yao@codesourcery.com>
16451
16452 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
16453 produce debug information.
16454 * gdb.dwarf2/implptr-optimized-out.S: Removed.
16455
0f6e71e3
YQ
164562014-11-14 Yao Qi <yao@codesourcery.com>
16457
16458 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
16459 object and get function length.
16460 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
16461 with MACRO_AT_func.
16462 (top-level): Replace gdb_compile and clean_restart with
16463 prepare_for_testing.
16464 * gdb.dwarf2/main.c (main): Add label main_label.
16465
876c4df9
YQ
164662014-11-14 Yao Qi <yao@codesourcery.com>
16467
16468 * lib/dwarf.exp (function_range): New procedure.
16469 (Dwarf::_handle_macro_at_func): New procedure.
16470 (Dwarf::_handle_macro_at_range): New procedure.
16471 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
16472
02ad9cf1
YQ
164732014-11-14 Yao Qi <yao@codesourcery.com>
16474
16475 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
16476 (_handle_attribute): New procedure.
16477
a59add0c
AA
164782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16479
16480 * gdb.ada/cond_lang/foo.c (callme): Add return type.
16481 * gdb.base/call-sc.c (zed): Likewise.
16482 * gdb.base/checkpoint.c (main): Likewise.
16483 * gdb.base/dump.c (main): Likewise.
16484 * gdb.base/gcore.c (main): Likewise.
16485 * gdb.base/huge.c (main): Likewise.
16486 * gdb.base/multi-forks.c (main): Likewise.
16487 * gdb.base/pr10179-a.c (main): Likewise.
16488 * gdb.base/savedregs.c (main): Likewise.
16489 * gdb.base/sigaltstack.c (main): Likewise.
16490 * gdb.base/siginfo.c (main): Likewise.
16491 * gdb.base/structs.c (zed): Likewise.
16492 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
16493 * gdb.mi/mi-syn-frame.c (main): Likewise.
16494 * gdb.mi/until.c (foo, main): Likewise.
16495 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
16496 * gdb.base/solib-weak.c (foo): Declare.
16497 * gdb.base/attach-twice.c: Include stdio.h.
16498 * gdb.base/weaklib1.c: Likewise.
16499 * gdb.base/weaklib2.c: Likewise.
16500 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
16501 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
16502 unistd.h.
16503 * gdb.base/attach-pie-misread.c: Include stdlib.h.
16504 * gdb.mi/mi-exit-code.c: Likewise.
16505 * gdb.base/break-interp-lib.c: Include string.h.
16506 * gdb.base/coremaker.c: Likewise.
16507 * gdb.base/testenv.c: Likewise.
16508 * gdb.python/py-finish-breakpoint.c: Likewise.
16509 * gdb.base/inferior-died.c: Include sys/wait.h.
16510 * gdb.base/fileio.c: Include time.h.
16511 * gdb.base/async-shell.c: Include unistd.h.
16512 * gdb.base/dprintf-non-stop.c: Likewise.
16513 * gdb.base/info-os.c: Likewise.
16514 * gdb.mi/mi-console.c: Likewise.
16515 * gdb.mi/watch-nonstop.c: Likewise.
16516 * gdb.python/py-events.c: Likewise.
16517 * gdb.base/async.c (baz): Move up before its invocation.
16518 * gdb.base/code_elim2.c (my_global_func): Likewise.
16519 * gdb.base/skip-solib-lib.c (multiply): Likewise.
16520 * gdb.base/advance.c (func2): Likewise.
16521
3b5d5997
AA
165222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16523
16524 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
16525 variant.
16526 * gdb.base/annota3.c: Likewise.
16527 * gdb.base/async.c: Likewise.
16528 * gdb.base/average.c: Likewise.
16529 * gdb.base/call-ar-st.c: Likewise.
16530 * gdb.base/call-rt-st.c: Likewise.
16531 * gdb.base/call-sc.c: Likewise.
16532 * gdb.base/call-strs.c: Likewise.
16533 * gdb.base/ending-run.c: Likewise.
16534 * gdb.base/execd-prog.c: Likewise.
16535 * gdb.base/exprs.c: Likewise.
16536 * gdb.base/foll-exec.c: Likewise.
16537 * gdb.base/foll-fork.c: Likewise.
16538 * gdb.base/foll-vfork.c: Likewise.
16539 * gdb.base/funcargs.c: Likewise.
16540 * gdb.base/gcore.c: Likewise.
16541 * gdb.base/jump.c: Likewise.
16542 * gdb.base/langs0.c: Likewise.
16543 * gdb.base/langs1.c: Likewise.
16544 * gdb.base/langs2.c: Likewise.
16545 * gdb.base/mips_pro.c: Likewise.
16546 * gdb.base/nodebug.c: Likewise.
16547 * gdb.base/opaque0.c: Likewise.
16548 * gdb.base/opaque1.c: Likewise.
16549 * gdb.base/recurse.c: Likewise.
16550 * gdb.base/run.c: Likewise.
16551 * gdb.base/scope0.c: Likewise.
16552 * gdb.base/scope1.c: Likewise.
16553 * gdb.base/setshow.c: Likewise.
16554 * gdb.base/setvar.c: Likewise.
16555 * gdb.base/shmain.c: Likewise.
16556 * gdb.base/shr1.c: Likewise.
16557 * gdb.base/shr2.c: Likewise.
16558 * gdb.base/sigall.c: Likewise.
16559 * gdb.base/signals.c: Likewise.
16560 * gdb.base/so-indr-cl.c: Likewise.
16561 * gdb.base/solib2.c: Likewise.
16562 * gdb.base/structs.c: Likewise.
16563 * gdb.base/sum.c: Likewise.
16564 * gdb.base/vforked-prog.c: Likewise.
16565 * gdb.base/watchpoint.c: Likewise.
16566 * gdb.reverse/shr2.c: Likewise.
16567 * gdb.reverse/until-reverse.c: Likewise.
16568 * gdb.reverse/ur1.c: Likewise.
16569 * gdb.reverse/watch-reverse.c: Likewise.
16570
066a77c5
AA
165712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16572
16573 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
16574 variant.
16575 * gdb.base/sepdebug.exp: Drop references to removed code.
16576
4f204ea5
AA
165772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16578
16579 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
16580 variant. Preserve original line numbering.
16581 * gdb.base/list1.c: Likewise.
16582
3b377a3a
AA
165832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16584
16585 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
16586 variant.
16587 * gdb.base/break1.c: Likewise.
16588 * gdb.base/break.exp: Drop references to removed code.
16589
e444df73
AA
165902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16591
16592 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
16593 variant.
16594
8008f2a7
AA
165952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16596
16597 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
16598
a5a06887
AA
165992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16600
16601 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
16602 logic into perform_all_tests() and invoke it with and without
16603 function header prototypes.
16604 (do_function_calls): Remove conditional XFAIL for PR 5318.
16605 (rerun_and_prepare): Remove duplicate code.
16606 (perform_all_tests): New. Main logic moved here.
16607
44dba9b9
AA
166082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16609
16610 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
16611 code guarded by #ifdef NO_PROTOTYPES.
16612 (t_double_many_args): Likewise.
16613 (DEF_FUNC_MANY_ARGS_1): Likewise.
16614 (DEF_FUNC_VALUES_1): Likewise.
16615 (t_structs_ldc): Renamed from t_structs_fc in conditional code
16616 guarded by #ifdef PROTOTYPES.
16617
d1fbcd56
AA
166182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16619
16620 * gdb.mi/mi-console.c: Add eye-catcher.
16621 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
16622 instead of literal line number.
16623
b0e59b8f
AA
166242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16625
16626 * gdb.base/shr2.c: Add eye-catcher.
16627 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
16628 line number.
16629
78f98cca
AA
166302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16631
16632 * gdb.base/jump.c: Add eye-catchers.
16633 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
16634 numbers.
16635
58fa2af0
AA
166362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16637
16638 * gdb.base/execd-prog.c: Add eye-catchers.
16639 * gdb.base/foll-exec.c: Likewise.
16640 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
16641 line numbers.
16642
04e5059b
AA
166432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16644
16645 * gdb.base/ending-run.c: Add eye-catchers.
16646 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
16647 literal line numbers.
16648
dbfdb174
AA
166492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16650
16651 * gdb.base/call-rt-st.c: Add eye-catchers.
16652 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
16653 literal line numbers.
16654
888a2ade
AA
166552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16656
16657 * gdb.base/call-ar-st.c: Add eye-catchers.
16658 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
16659 literal line numbers.
16660
6acc2dde
AA
166612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16662
16663 * gdb.base/average.c: Add eye-catchers.
16664 * gdb.base/sum.c: Likewise.
16665 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
16666 regexps dynamically.
16667
9ecfcd1d
AA
166682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16669
16670 * gdb.base/solib1.c: Add eye-catchers.
16671 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
16672 literal line numbers.
16673
78708b7c
PA
166742014-11-12 Pedro Alves <palves@redhat.com>
16675
16676 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
16677 leader has exited.
16678
af48d08f
PA
166792014-11-12 Pedro Alves <palves@redhat.com>
16680
16681 * gdb.arch/i386-bp_permanent.c: New file.
16682 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
16683 (srcfile): Set to i386-bp_permanent.c.
16684 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
16685 that stepi does not execute the 'leave' instruction, instead of
16686 testing it does execute.
16687 * gdb.base/bp-permanent.c: New file.
16688 * gdb.base/bp-permanent.exp: New file.
16689
af3768e9
DE
166902014-11-10 Doug Evans <xdje42@gmail.com>
16691
16692 PR symtab/17564
16693 * gdb.base/symtab-search-order.exp: New file.
16694 * gdb.base/symtab-search-order.c: New file.
16695 * gdb.base/symtab-search-order-1.c: New file.
16696 * gdb.base/symtab-search-order-shlib-1.c: New file.
16697
9de00a4a
PA
166982014-11-07 Pedro Alves <palves@redhat.com>
16699
16700 PR gdb/17511
16701 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
16702 i?86-*-linux*.
16703
e0f52461
SC
167042014-11-03 Siva Chandra Reddy <sivachandra@google.com>
16705
16706 PR c++/17494
16707 * gdb.cp/pr17494.cc: New file.
16708 * gdb.cp/pr17494.exp: New file.
16709
6ce8c980
YQ
167102014-11-02 Yao Qi <yao@codesourcery.com>
16711
16712 * gdb.python/python.exp: Get working directory and match the
16713 output of "set extended-prompt \\w " with it.
16714
02be9a71
DE
167152014-10-30 Doug Evans <dje@google.com>
16716
16717 * gdb.python/py-objfile.exp: Add tests for setting random attributes
16718 in objfiles.
16719 * gdb.python/py-progspace.exp: Add tests for setting random attributes
16720 in progspaces.
16721
3bdff46b
LM
167222014-10-30 Janis Johnson <janisjo@codesourcery.com>
16723
16724 * gdb.base/fullpath-expand.exp: Skip for a remote host.
16725 * gdb.base/realname-expand.exp: Likewise.
16726 * gdb.linespec/macro-relative.exp: Likewise.
16727
ab917dfb
PA
167282014-10-29 Pedro Alves <palves@redhat.com>
16729
16730 PR gdb/17408
16731 * gdb.threads/schedlock.c (some_function): New function.
16732 (call_function): New global.
16733 (MAYBE_CALL_SOME_FUNCTION): New macro.
16734 (thread_function): Call it.
16735 * gdb.threads/schedlock.exp (get_args): Add description parameter,
16736 and use it instead of a global counter. Adjust all callers.
16737 (get_current_thread): Use "find current thread" for test message
16738 here rather than having all callers pass down the same string.
16739 (goto_loop): New procedure, factored out from ...
16740 (my_continue): ... this.
16741 (step_ten_loops): Change parameter from test message to command to
16742 use. Adjust.
16743 (list_count): Delete global.
16744 (check_result): New procedure, factored out from duplicate top
16745 level code.
16746 (continue tests): Wrap in with_test_prefix.
16747 (test_step): New procedure, factored out from duplicate top level
16748 code.
16749 (top level): Test "step" in combination with all scheduler-locking
16750 modes. Test "next" in combination with all scheduler-locking
16751 modes, and in combination with stepping over a function call or
16752 not.
16753 * gdb.threads/next-bp-other-thread.c: New file.
16754 * gdb.threads/next-bp-other-thread.exp: New file.
16755
d3d4baed
PA
167562014-10-29 Pedro Alves <palves@redhat.com>
16757
16758 PR python/17372
16759 * gdb.python/python.exp: Test a multi-line command that spawns
16760 interactive Python.
16761 * gdb.base/multi-line-starts-subshell.exp: New file.
16762
563e8d85
YQ
167632014-10-29 Yao Qi <yao@codesourcery.com>
16764
16765 * gdb.base/fileio.exp: Make directories on host.
16766
0ea4d52e
YQ
167672014-10-29 Yao Qi <yao@codesourcery.com>
16768
16769 * gdb.base/fileio.c (test_write): Close the file.
16770
7f5ef605
PA
167712014-10-28 Pedro Alves <palves@redhat.com>
16772
16773 PR gdb/12623
16774 * gdb.base/sigstep.c (no_handler): New global.
16775 (main): If 'no_handler is true, set the signal handlers to
16776 SIG_IGN.
16777 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
16778 with_sw_watch and no_handler parameters. Handle them.
16779 (top level) <stepping over handler when stopped at a breakpoint
16780 test>: Add a test axis for testing with a software watchpoint, and
16781 another for testing with the signal handler set to SIG_IGN.
16782 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
16783 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
16784
abbdbd03
PA
167852014-10-28 Pedro Alves <palves@redhat.com>
16786
16787 PR gdb/17511
16788 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
16789 * gdb.base/sigstep.exp (other_handler_location): New global.
16790 (advance): Support stepping into the signal handler, and running
16791 commands while in the handler.
16792 (in_handler_map): New global.
16793 (top level): In the advance test, add combinations for getting
16794 into the handler with stepping commands, and for running commands
16795 in the handler. Add comment descripting the advancei tests.
16796
1df4399f
PA
167972014-10-28 Pedro Alves <palves@redhat.com>
16798
16799 * gdb.base/sigstep.exp: Use build_executable instead of
16800 prepare_for_testing.
16801 (top level): Move code that starts GDB, runs to main and creates a
16802 display to ...
16803 (restart): ... this new procedure.
16804 (top level): Move backtrace from signal handler test to ...
16805 (validate_backtrace): ... this new procedure.
16806 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
16807 with_test_prefix. Always restart GDB.
16808 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
16809 with_test_prefix. Always restart GDB. No need to delete
16810 breakpoints after the test.
16811 (test_skip_handler): Remove prefix parameter.
16812 (skip_over_handler, breakpoint_to_handler)
16813 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
16814 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
16815 restart GDB. No need to delete breakpoints after the test.
16816 (top level): Use foreach to call the test procedures with
16817 different commands.
16818
a5b6e449
PA
168192014-10-28 Pedro Alves <palves@redhat.com>
16820
16821 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
16822 instead of GNATS numbers.
16823 * gdb.base/sigbpt.exp: Likewise.
16824 * gdb.base/siginfo.exp: Likewise.
16825 * gdb.base/sigstep.exp: Likewise.
16826
e5f8a7cc
PA
168272014-10-27 Pedro Alves <palves@redhat.com>
16828
16829 * gdb.base/sigstep.c (dummy): New global.
16830 (main): Issue a couple writes to the new global.
16831 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
16832 procedures.
16833 (skip_over_handler): Use test_skip_handler.
16834 (top level): Call skip_over_handler for stepi and nexti too.
16835 (breakpoint_over_handler): Use test_skip_handler.
16836 (top level): Call breakpoint_over_handler for stepi and nexti too.
16837
763905a3
YQ
168382014-10-27 Yao Qi <yao@codesourcery.com>
16839
16840 * gdb.trace/tfile.c (adjust_function_address)
16841 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16842 function descriptor.
16843
6f259a23
DB
168442014-10-24 Don Breazeal <donb@codesourcery.com>
16845
16846 * gdb.base/foll-fork.exp (test_follow_fork,
16847 catch_fork_child_follow): Check for updated fork messages emitted
16848 from infrun.c.
16849 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16850 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16851 vfork_and_exec_child_follow_through_step): Check for updated vfork
16852 messages emitted from infrun.c.
16853
09dd9a69
PA
168542014-10-24 Pedro Alves <palves@redhat.com>
16855
16856 * gdb.base/corefile.exp: Remove references to ultrix.
16857 * gdb.base/interrupt.exp: Likewise.
16858 * gdb.base/whatis.exp: Likewise.
16859 * gdb.gdb/selftest.exp: Likewise.
16860 * gdb.threads/manythreads.exp: Likewise.
16861 * gdb.threads/print-threads.exp: Likewise.
16862 * gdb.threads/pthreads.exp:: Likewise.
16863 * gdb.threads/schedlock.exp: Likewise.
16864
3433cfa5
SC
168652014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16866
16867 * gdb.cp/non-trivial-retval.cc: Add a test case.
16868 * gdb.cp/non-trivial-retval.exp: Add a test.
16869
092f880b
YQ
168702014-10-20 Yao Qi <yao@codesourcery.com>
16871
16872 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16873 * gdb.python/py-objfile-script-gdb.py: New file.
16874 * gdb.python/py-objfile-script.exp: Update reference to
16875 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16876 of remote_download. Remove the dest file.
16877
acbdb7f3
YQ
168782014-10-20 Yao Qi <yao@codesourcery.com>
16879
16880 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16881 * gdb.base/step-line.exp: Likewise.
16882 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16883 * gdb.dwarf2/dw2-basic.exp: Likewise.
16884 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16885 * gdb.dwarf2/dw2-filename.exp: Likewise.
16886 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16887 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16888 * gdb.dwarf2/dw2-producer.exp: Likewise.
16889 * gdb.dwarf2/mac-fileno.exp: Likewise.
16890 * gdb.python/py-frame-args.exp: Likewise.
16891 * gdb.python/py-framefilter.exp: Likewise.
16892 * gdb.python/py-mi.exp: Likewise.
16893 * gdb.python/py-objfile-script.exp: Likewise
16894 * gdb.python/py-pp-integral.exp: Likewise.
16895 * gdb.python/py-pp-re-notag.exp: Likewise.
16896 * gdb.python/py-prettyprint.exp: Likewise.
16897 * gdb.python/py-section-script.exp: Likewise.
16898 * gdb.python/py-typeprint.exp: Likewise.
16899 * gdb.python/py-xmethods.exp: Likewise.
16900 * gdb.stabs/weird.exp: Likewise.
16901 * gdb.xml/tdesc-regs.exp: Likewise.
16902
bd286a29
KCY
169032014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16904
16905 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16906 (out_cu): Use addr_len for the size of addresses.
16907 (out_line): Likewise. Size DW_LNE_set_address instruction
16908 according to addr_len.
16909 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16910 (FUNC): Add START_INSNS to definition.
16911
673dc4a0
YQ
169122014-10-18 Yao Qi <yao@codesourcery.com>
16913
16914 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16915 gdb_has_argv0 return true.
16916 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16917 check [target_info exists noargs], check [gdb_has_argv0]
16918 instead.
16919 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16920 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16921 procedures.
16922
4ffbba72
DE
169232014-10-17 Doug Evans <dje@google.com>
16924
16925 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16926 event.
16927 * gdb.python/py-events.py: Add clear_objfiles event.
16928
d096d8c1
DE
169292014-10-17 Doug Evans <dje@google.com>
16930
16931 * gdb.python/py-objfile.exp: Test progspace attribute.
16932
a80db015
LM
169332014-10-17 Luis Machado <lgustavo@codesourcery.com>
16934
16935 * gdb.guile/scm-breakpoint.exp: Do not assume any
16936 directory separators when matching source file paths.
16937 * gdb.python/py-breakpoint.exp: Likewise.
16938 * gdb.reverse/break-precsave.exp: Likewise.
16939 * gdb.reverse/break-reverse.exp: Likewise.
16940 * gdb.reverse/consecutive-precsave.exp: Likewise.
16941 * gdb.reverse/finish-precsave.exp: Likewise.
16942 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16943 * gdb.reverse/finish-reverse.exp: Likewise.
16944 * gdb.reverse/i386-precsave.exp: Likewise.
16945 * gdb.reverse/i387-env-reverse.exp: Likewise.
16946 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16947 * gdb.reverse/machinestate-precsave.exp: Likewise.
16948 * gdb.reverse/machinestate.exp: Likewise.
16949 * gdb.reverse/sigall-precsave.exp: Likewise.
16950 * gdb.reverse/solib-precsave.exp: Likewise.
16951 * gdb.reverse/step-precsave.exp: Likewise.
16952 * gdb.reverse/until-precsave.exp: Likewise.
16953 * gdb.reverse/watch-precsave.exp: Likewise.
16954 * gdb.reverse/watch-reverse.exp: Likewise.
16955
b22089ab
YQ
169562014-10-17 Yao Qi <yao@codesourcery.com>
16957
16958 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16959 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16960
6c4486e6
PA
169612014-10-17 Pedro Alves <palves@redhat.com>
16962
16963 PR gdb/17471
16964 * gdb.base/bg-execution-repeat.c: New file.
16965 * gdb.base/bg-execution-repeat.exp: New file.
16966
0ff33695
PA
169672014-10-17 Pedro Alves <palves@redhat.com>
16968
16969 PR gdb/17300
16970 * gdb.base/continue-all-already-running.c: New file.
16971 * gdb.base/continue-all-already-running.exp: New file.
16972
6fdebc3d
PA
169732014-10-17 Pedro Alves <palves@redhat.com>
16974
16975 PR gdb/17472
16976 * gdb.base/annota-input-while-running.c: New file.
16977 * gdb.base/annota-input-while-running.exp: New file.
16978
32a8097b
PA
169792014-10-17 Pedro Alves <palves@redhat.com>
16980
16981 * gdb.base/callfuncs.exp: emove references to osf.
16982 * gdb.base/sigall.exp: Likewise.
16983 * gdb.gdb/selftest.exp: Likewise.
16984 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16985 * gdb.mi/non-stop.c: Likewise.
16986 * gdb.mi/pthreads.c: Likewise.
16987 * gdb.reverse/sigall-precsave.exp: Likewise.
16988 * gdb.reverse/sigall-reverse.exp: Likewise.
16989 * gdb.threads/pthreads.c: Likewise.
16990 * gdb.threads/pthreads.exp: Likewise.
16991
7a3517ff
YQ
169922014-10-17 Yao Qi <yao@codesourcery.com>
16993
16994 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16995 check 'target_info exists noargs'.
16996 (test_command_prompt_position): Likewise.
16997 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16998 Remove "set args".
16999 (progvar_simple_while_test): Likewise.
17000 (progvar_complex_if_while_test): Likewise.
17001 (if_while_breakpoint_command_test): Likewise.
17002 (infrun_breakpoint_command_test): Likewise.
17003 (breakpoint_command_test): Likewise.
17004 (watchpoint_command_test): Likewise.
17005 (bp_deleted_in_command_test): Likewise.
17006 (temporary_breakpoint_commands): Likewise.
17007
bb99c472
YQ
170082014-10-16 Yao Qi <yao@codesourcery.com>
17009
17010 * gdb.base/remotetimeout.exp: Remove noargs checking.
17011
7c16b83e
PA
170122014-10-15 Pedro Alves <palves@redhat.com>
17013
17014 PR breakpoints/9649
17015 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
17016 * gdb.base/breakpoint-in-ro-region.exp
17017 (probe_target_hardware_step): New procedure.
17018 (top level): Probe hardware stepping and hardware breakpoint
17019 support. Test stepping through a read-only region, with both
17020 "breakpoint auto-hw" on and off and both "always-inserted" on and
17021 off.
17022
35a49624
IB
170232014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
17024
17025 * gdb.dlang/demangle.exp: Update for demangling changes.
17026
2d1c107c
SC
170272014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17028
17029 * gdb.cp/non-trivial-retval.cc: Add new test cases.
17030 * gdb.cp/non-trivial-retval.exp: Add new tests.
17031
778811d5
SC
170322014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17033
17034 PR c++/13403
17035 PR c++/15154
17036 * gdb.cp/non-trivial-retval.cc: New file.
17037 * gdb.cp/non-trivial-retval.exp: New file.
17038
10c5f0a8
YQ
170392014-10-15 Yao Qi <yao@codesourcery.com>
17040
17041 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
17042 remote host.
17043
65d7b369
YQ
170442014-10-15 Yao Qi <yao@codesourcery.com>
17045
17046 * gdb.python/py-symbol.exp: Match file base name if host is
17047 remote, otherwise match file name with dir name.
17048 * gdb.python/py-symtab.exp: Likewise.
17049 * gdb.python/python.exp: Likewise.
17050
46dc1394
YQ
170512014-10-15 Yao Qi <yao@codesourcery.com>
17052
17053 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
17054 pattern.
17055 * gdb.python/py-symtab.exp: Likewise.
17056 * gdb.python/python.exp: Remove trailing ".*". Fix typo
17057 locationn.
17058
c40cc657
JB
170592014-10-14 Joel Brobecker <brobecker@adacore.com>
17060
17061 * gdb.ada/addr_arith: New testcase.
17062
2abf49e1
MR
170632014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
17064
17065 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
17066 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
17067 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
17068 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
17069
f7088df3
SDJ
170702014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
17071
17072 * gdb.arch/stap-eval-lang-ada.S: Likewise.
17073 * gdb.arch/stap-eval-lang-ada.c: Likewise.
17074 * gdb.arch/stap-eval-lang-ada.exp: New file.
17075
4dc06805
YQ
170762014-10-14 Yao Qi <yao@codesourcery.com>
17077
17078 * gdb.mi/mi-var-child.c (nothing1): New function.
17079 (nothing2): New function.
17080 (do_children_tests): Set function pointers by nothing1 and
17081 nothing2.
17082 * gdb.mi/mi-var-child.exp: Step over new added statements.
17083 Update test to match the new output.
17084 * gdb.mi/var-cmd.c (nothing1): New function.
17085 (nothing2): New function.
17086 (do_children_tests): Set function pointers by nothing1 and
17087 nothing2.
17088 * gdb.mi/mi-var-display.exp: Update test to match output.
17089 Step to the line specified by $line_dct_nothing.
17090 Increase the number of lines to step.
17091
46a93de2
YQ
170922014-10-14 Yao Qi <yao@codesourcery.com>
17093
17094 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
17095 tests.
17096 * gdb.mi/mi2-var-child.exp: Likewise.
17097
14ea52ee
DE
170982014-10-13 Doug Evans <dje@google.com>
17099
17100 * gdb.python/py-objfile.exp: Change name of file name test.
17101
e5c6e92b
DE
171022014-10-13 Doug Evans <dje@google.com>
17103
17104 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
17105 from the start of the CU.
17106
c780cc2f
JK
171072014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17108 Yao Qi <yao@codesourcery.com>
17109
17110 Fix "save breakpoints" for "catch" command.
17111 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
17112 Remove -nonewline. Match also the added "main" line.
17113
99894e11
JK
171142014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17115
17116 Fix "save breakpoints" for "disable $bpnum" command.
17117 * gdb.base/save-bp.c (main): Add label.
17118 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
17119
6e1ac5a3
JK
171202014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17121
17122 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
17123
754dd2b0
YQ
171242014-10-11 Yao Qi <yao@codesourcery.com>
17125
17126 * gdb.server/server-kill.exp: Execute command
17127 "set remote trace-status-packet on" before "tstatus".
17128
f90183d7
YQ
171292014-10-11 Yao Qi <yao@codesourcery.com>
17130
17131 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
17132 (main): Call getppid.
17133 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
17134 and continue to it. Read variable "server_pid".
17135
bf40a607
YQ
171362014-10-11 Yao Qi <yao@codesourcery.com>
17137
17138 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
17139
052ca370
YQ
171402014-10-11 Yao Qi <yao@codesourcery.com>
17141
17142 * gdb.threads/thread-find.exp: Don't execute command
17143 "info threads".
17144 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
17145 * gdb.threads/linux-dp.exp: Don't check the condition
17146 $threads_created equals to zero.
17147
3831839c
PA
171482014-10-10 Pedro Alves <palves@redhat.com>
17149
17150 * gdb.base/bigcore.exp: Remove references to IRIX.
17151 * gdb.base/funcargs.exp: Likewise.
17152 * gdb.base/interrupt.exp: Likewise.
17153 * gdb.base/mips_pro.exp: Likewise.
17154 * gdb.base/nodebug.exp: Likewise.
17155 * gdb.base/setvar.exp: Likewise.
17156 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
17157
8b9a549d
PA
171582014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17159 Pedro Alves <palves@redhat.com>
17160
17161 PR symtab/14466
17162 * gdb.base/vdso-warning.c: New file.
17163 * gdb.base/vdso-warning.exp: New file.
17164
d48ba5e8
DE
171652014-10-02 Doug Evans <dje@google.com>
17166
17167 * gdb.base/structs.c (main): Don't run forever.
17168
2278c276
PA
171692014-10-02 Pedro Alves <palves@redhat.com>
17170
17171 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
17172 (top level) <stop threads 1, stop threads 2>: Use it.
17173
b57bacec
PA
171742014-10-02 Pedro Alves <palves@redhat.com>
17175
17176 * gdb.threads/break-while-running.exp (test): Add new
17177 'update_thread_list' argument. Skip "info threads" if false.
17178 (top level): Add new 'update_thread_list' axis.
17179
13fd3ff3
PA
171802014-10-02 Pedro Alves <palves@redhat.com>
17181
17182 PR breakpoints/17431
17183 * gdb.base/execl-update-breakpoints.c: New file.
17184 * gdb.base/execl-update-breakpoints.exp: New file.
17185
0fec99e8
PA
171862014-10-01 Pedro Alves <palves@redhat.com>
17187
17188 * gdb.base/breakpoint-in-ro-region.c: New file.
17189 * gdb.base/breakpoint-in-ro-region.exp: New file.
17190
2ddf4301
SM
171912014-10-01 Simon Marchi <simon.marchi@ericsson.com>
17192
17193 * gdb.mi/mi-exit-code.exp: New file.
17194 * gdb.mi/mi-exit-code.c: New file.
17195
6a5f3f43
YQ
171962014-09-30 Yao Qi <yao@codesourcery.com>
17197
17198 * lib/prelink-support.exp (build_executable_own_libs): Error if
17199 the target isn't native.
17200
345bcc73
YQ
172012014-09-30 Yao Qi <yao@codesourcery.com>
17202
17203 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
17204 false.
17205
a25a5a45
PA
172062014-09-22 Pedro Alves <palves@redhat.com>
17207
17208 * gdb.threads/break-while-running.exp: New file.
17209 * gdb.threads/break-while-running.c: New file.
17210
00ba3162
YQ
172112014-09-19 Yao Qi <yao@codesourcery.com>
17212
17213 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
17214 Invoke test. Restart GDB with --readnow and invoke test again.
17215
c3b7b696
YQ
172162014-09-19 Yao Qi <yao@codesourcery.com>
17217
17218 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
17219 proc set_breakpoint_on_gcd_function. Invoke
17220 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
17221 invoke set_breakpoint_on_gcd_function again.
17222
2b4fd423
DE
172232014-09-18 Doug Evans <dje@google.com>
17224
17225 * gdb.dwarf2/symtab-producer.exp: New file.
17226
a5947601
SDJ
172272014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17228
17229 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
17230 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
17231 * gdb.base/global-var-nested-by-dso.c: Likewise.
17232 * gdb.base/global-var-nested-by-dso.exp: Likewise.
17233
91c19059
SDJ
172342014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17235 Pedro Alves <palves@redhat.com>
17236
17237 * gdb.base/watch-bitfields.exp: Pass string other than test file
17238 name to prepare_for_testing.
17239 (watch): New procedure.
17240 (expect_watchpoint): Use with_test_prefix.
17241 (top level): Factor out tests to ...
17242 (test_watch_location, test_regular_watch): ... these new
17243 procedures, and use with_test_prefix and gdb_continue_to_end.
17244
bb9d5f81
PP
172452014-09-16 Patrick Palka <patrick@parcs.ath.cx>
17246
17247 PR breakpoints/12526
17248 * gdb.base/watch-bitfields.exp: New file.
17249 * gdb.base/watch-bitfields.c: New file.
17250
635856f5
PA
172512014-09-16 Pedro Alves <palves@redhat.com>
17252
17253 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
17254 software and hardware addresses, not software address against
17255 itself.
17256
7280ceea
PA
172572014-09-16 Pedro Alves <palves@redhat.com>
17258
17259 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
17260 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
17261
428b16bd
PA
172622014-09-16 Pedro Alves <palves@redhat.com>
17263
17264 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
17265 files.
17266 * gdb.base/a2-run.exp: Remove all code guarded by istarget
17267 "*-*-vxworks*" throughout.
17268 * gdb.base/break.exp: Likewise.
17269 * gdb.base/default.exp: Likewise.
17270 * gdb.base/scope.exp: Likewise.
17271 * gdb.base/sepdebug.exp: Likewise.
17272 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
17273 throughout.
17274 * gdb.base/run.c: Likewise.
17275 * gdb.base/sepdebug.c: Likewise.
17276 * gdb.hp/gdb.aCC/run.c: Likewise.
17277 * gdb.reverse/until-reverse.c: Likewise.
17278 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
17279
666d413c
YQ
172802014-09-16 Yao Qi <yao@codesourcery.com>
17281
17282 * boards/local-remote-host-native.exp: New file.
17283
57cbd724
DE
172842014-09-14 Doug Evans <xdje42@gmail.com>
17285
17286 * gdb.threads/queue-signal.c (thread_count): New variable.
17287 (thread_count_mutex, thread_count_condvar): New variables.
17288 (incr_thread_count, wait_all_threads_running): New functions.
17289 (main): Wait for all threads to be in their thread functions.
17290
81219e53
DE
172912014-09-13 Doug Evans <xdje42@gmail.com>
17292
17293 * gdb.threads/queue-signal.c: New file.
17294 * gdb.threads/queue-signal.exp: New file.
17295
3714cea7
DE
172962014-09-13 Doug Evans <xdje42@gmail.com>
17297
17298 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
17299 be consistent with what default_gdb_init uses.
17300 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
17301 the plain text of the prompt. Add some logging printfs.
17302 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
17303
fa43b1d7
PA
173042014-09-12 Pedro Alves <palves@redhat.com>
17305
17306 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
17307 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
17308 * gdb.arch/i386-size-overlap.exp: Likewise.
17309 * gdb.arch/i386-size.exp: Likewise.
17310 * gdb.arch/i386-unwind.exp: Likewise.
17311 * gdb.base/a2-run.exp: Likewise.
17312 * gdb.base/break.exp: Likewise.
17313 * gdb.base/charset.exp: Likewise.
17314 * gdb.base/chng-syms.exp: Likewise.
17315 * gdb.base/commands.exp: Likewise.
17316 * gdb.base/dbx.exp: Likewise.
17317 * gdb.base/find.exp: Likewise.
17318 * gdb.base/funcargs.exp: Likewise.
17319 * gdb.base/jit-simple.exp: Likewise.
17320 * gdb.base/reread.exp: Likewise.
17321 * gdb.base/sepdebug.exp: Likewise.
17322 * gdb.base/step-bt.exp: Likewise.
17323 * gdb.cp/mb-inline.exp: Likewise.
17324 * gdb.cp/mb-templates.exp: Likewise.
17325 * gdb.objc/basicclass.exp: Likewise.
17326 * gdb.threads/killed.exp: Likewise.
17327
9d9bf2df
EBM
173282014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17329
17330 PR tdep/17379
17331 * gdb.arch/powerpc-stackless.S: New file.
17332 * gdb.arch/powerpc-stackless.exp: New file.
17333
1cf2f1b0
JK
173342014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17335
17336 * gdb.base/attach.c: Include unistd.h.
17337 (main): Call alarm. Add label postloop.
17338 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
17339 gdb_breakpoint, gdb_continue_to_breakpoint.
17340 (test_command_line_attach_run): Kill ${testpid} in one exit path.
17341
98880d46
PA
173422014-09-11 Pedro Alves <palves@redhat.com>
17343
17344 PR gdb/17347
17345 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
17346 * gdb.base/attach.exp (test_command_line_attach_run): New
17347 procedure.
17348 (top level): Call it.
17349
4c92ff2c
PA
173502014-09-11 Pedro Alves <palves@redhat.com>
17351
17352 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
17353 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
17354 (do_command_attach_tests): Use spawn_wait_for_attach.
17355 * gdb.base/solib-overlap.exp: Likewise.
17356 * gdb.multi/multi-attach.exp: Likewise.
17357 * gdb.python/py-prompt.exp: Likewise.
17358 * gdb.python/py-sync-interp.exp: Likewise.
17359 * gdb.server/ext-attach.exp: Likewise.
17360
3adc1a7d
GKB
173612014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
17362
17363 * gdb.fortran/array-element.exp: Remove unexpected "continue"
17364 command in testcase. Simplify testcase.
17365
96334934
JB
173662014-09-10 Joel Brobecker <brobecker@adacore.com>
17367
17368 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
17369
eb479039
JB
173702014-09-10 Joel Brobecker <brobecker@adacore.com>
17371
17372 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
17373
deede10c
JB
173742014-09-10 Joel Brobecker <brobecker@adacore.com>
17375
17376 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
17377
7828a5f5
JB
173782014-09-10 Joel Brobecker <brobecker@adacore.com>
17379
17380 * gdb.dwarf2/dynarr-ptr.c: New file.
17381 * gdb.dwarf2/dynarr-ptr.exp: New file.
17382
33aeebcf
MR
173832014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17384
17385 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
17386 of 30 rather than hardcoding 120 for a slow test case. Take the
17387 `gdb,timeout' target setting into account for this calculation.
17388 Don't extend the timeout for the test cases that don't need it.
17389
7b415901
MR
173902014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17391
17392 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
17393 a factor of 2 for a slow test case. Take the `gdb,timeout'
17394 target setting into account for this calculation.
17395 * gdb.reverse/until-precsave.exp: Increase the timeout by
17396 a factor of 15 and 3 respectively rather than adding 120
17397 for a pair of slow test cases. Take the `gdb,timeout'
17398 target setting into account for this calculation.
17399
4a40f85a
MR
174002014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17401
17402 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
17403 timeout, don't pass one down to gdb_expect.
17404 (gdb_expect): Rework timeout selection.
17405
09635af7
MR
174062014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17407
17408 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
17409 exception on timeout.
17410 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
17411 (gdbserver_start_extended): Catch any `gdbserver_start' error
17412 exceptions.
17413 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
17414 * lib/mi-support.exp (mi_gdb_target_load): Catch any
17415 `gdbserver_gdb_load' error exceptions.
17416
2bdd10b7
MR
174172014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17418
17419 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
17420 120 on waiting for the TCP socket to open.
17421
316935f0
DE
174222014-09-09 Doug Evans <xdje42@gmail.com>
17423
17424 * gdb.base/default.exp (show_conv_list): Add _caller_is,
17425 _caller_matches, _any_caller_is, _any_caller_matches.
17426
83740597
DE
174272014-09-09 Doug Evans <xdje42@gmail.com>
17428
17429 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
17430
4c122fc3
YQ
174312014-09-09 Yao Qi <yao@codesourcery.com>
17432
17433 * gdb.mi/mi-var-display.exp: Set print symbol off.
17434
a9f116cb
GKB
174352014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
17436
17437 PR gdb/17035
17438 * gdb.base/commands.exp: Add tests to verify user-defined
17439 commands with empty bodies.
17440 * gdb.python/py-cmd.exp: Test that we don't show user-defined
17441 python commands in `show user command`.
17442 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
17443 scheme commands in `show user command`.
17444
c75bd3a2
JK
174452014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17446
17447 PR python/17355
17448 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
17449 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
17450 * gdb.python/py-framefilter-invalidarg.exp: New file.
17451 * gdb.python/py-framefilter-invalidarg.py: New file.
17452
faa42425
DE
174532014-09-06 Doug Evans <xdje42@gmail.com>
17454
17455 PR 15276
17456 * gdb.python/py-caller-is.c: New file.
17457 * gdb.python/py-caller-is.exp: New file.
17458
474ca4f6
SDJ
174592014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
17460
17461 PR gdb/17235
17462 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
17463 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
17464
eb0b0463
SDJ
174652014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
17466
17467 PR fortran/17237
17468 * gdb.fortran/print-formatted.exp: New file.
17469 * gdb.fortran/print-formatted.f90: Likewise.
17470
5f3b99cf
SS
174712014-09-03 Sasha Smundak <asmundak@google.com>
17472
17473 * gdb.python/py-frame.exp: Test Frame.read_register.
17474
7d793aa9
SDJ
174752014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
17476
17477 PR python/16699
17478 * gdb.python/py-completion.exp: New file.
17479 * gdb.python/py-completion.py: Likewise.
17480
fb0576e9
DE
174812014-08-28 Doug Evans <dje@google.com>
17482
17483 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
17484 eax,etc. are live with values set by gdb and thus the compiler can't
17485 use them.
17486 * gdb.arch/i386-pseudo.c (main): Ditto.
17487
ee92b0dd
DE
174882014-08-27 Doug Evans <dje@google.com>
17489
17490 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
17491
6649db35
DE
174922014-08-25 Doug Evans <dje@google.com>
17493
17494 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
17495 (main): Ditto.
17496
564b7600
DE
174972014-08-25 Doug Evans <dje@google.com>
17498
17499 * gdb.threads/thread-execl.exp: #include <stdio.h>.
17500
3881fb67
YQ
175012014-08-24 Yao Qi <yao@codesourcery.com>
17502
17503 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
17504 symbol off.
17505 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
17506
a05a36a5
DE
175072014-08-22 Doug Evans <dje@google.com>
17508
17509 PR 17276
17510 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
17511 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
17512 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
17513
7c343b48
YQ
175142014-08-22 Yao Qi <yao@codesourcery.com>
17515
17516 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
17517 * gdb.python/py-finish-breakpoint2.exp: Likewise.
17518 * gdb.python/python.exp: Likewise. Use .py file on the host
17519 instead of the build.
17520
22fd09ae
JK
175212014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17522
17523 * gdb.threads/gcore-stale-thread.c: New file.
17524 * gdb.threads/gcore-stale-thread.exp: New file.
17525
a8454a7c
PA
175262014-08-21 Pedro Alves <palves@redhat.com>
17527
17528 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
17529 * gdb.base/gcore-relro-pie.exp: Likewise.
17530 * gdb.base/gcore-relro.exp: Likewise.
17531 * gdb.base/gcore.exp: Likewise.
17532 * gdb.base/print-symbol-loading.exp: Likewise.
17533 * gdb.threads/gcore-thread.exp: Likewise.
17534 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
17535
2a31c623
PA
175362014-08-20 Pedro Alves <palves@redhat.com>
17537 Jan Kratochvil <jan.kratochvil@redhat.com>
17538
17539 * Makefile.in (EXTRA_RULES, CC): New variables, get from
17540 configure.
17541 (EXPECT): Handle READ1 being set.
17542 (all): Depend on EXTRA_RULES.
17543 (check-read1, expect-read1, read1.so, read1): New rules.
17544 * README (Testsuite Parameters): Document the READ1 make variable.
17545 (Race detection): New section.
17546 * configure: Regenerate.
17547 * configure.ac: If build==host==target, and running under a
17548 GNU/glibc system, add read1 to the extra Makefile rules.
17549 (EXTRA_RULES): AC_SUBST it.
17550 * lib/read1.c: New file.
17551
d36430db
JB
175522014-08-20 Joel Brobecker <brobecker@adacore.com>
17553
17554 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
17555 the handling of variables declared as a typedef to an array
17556 which a DW_AT_data_location attribute.
17557
9a0dc9e3
PA
175582014-08-19 Andrew Burgess <aburgess@broadcom.com>
17559 Pedro Alves <palves@redhat.com>
17560
17561 PR symtab/14604
17562 PR symtab/14605
17563 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
17564 gdb_test.
17565
0718a8da
PA
175662014-08-19 Pedro Alves <palves@redhat.com>
17567
17568 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
17569
13b448cd
YQ
175702014-08-19 Yao Qi <yao@codesourcery.com>
17571
17572 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
17573 right line.
17574
1cbf5077
DB
175752014-08-18 David Blaikie <dblaikie@gmail.com>
17576
17577 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
17578
bf0fae19
JB
175792014-08-18 Joel Brobecker <brobecker@adacore.com>
17580
17581 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
17582 attribute in array range.
17583
3c8c5dcc
JB
175842014-08-18 Joel Brobecker <brobecker@adacore.com>
17585
17586 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
17587
e66d4446
SC
175882014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17589
17590 PR c++/17132
17591 * gdb.cp/pr17132.cc: New file.
17592 * gdb.cp/pr17132.exp: New file.
17593
940df408
SC
175942014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17595
17596 * gdb.python/py-xmethods.py (A_getarrayind)
17597 (E_method_char_worker.__call__, E_method_int_worker.__call__):
17598 Use 'print' with function call syntax.
17599 (E_method_matcher.match): Fix tab vs space indentation mixup.
17600
ebcc6c3a
YQ
176012014-08-15 Yao Qi <yao@codesourcery.com>
17602
17603 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
17604 false.
17605
775e0f04
YQ
176062014-08-15 Yao Qi <yao@codesourcery.com>
17607
17608 * gdb.cp/casts.exp: Set print symbol off.
17609 * gdb.cp/class2.exp: Likewise.
17610 * gdb.cp/overload.exp: Likewise.
17611 * gdb.cp/templates.exp: Likewise.
17612
d769e349
DE
176132014-08-11 Doug Evans <dje@google.com>
17614
17615 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
17616 (test_load_shlib): Update.
17617
20c6f1e1
YQ
176182014-08-09 Yao Qi <yao@codesourcery.com>
17619
17620 * gdb.base/display.exp: Invoke is_address_zero_readable.
17621 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
17622 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17623 * gdb.base/hbreak-unmapped.exp: Return if
17624 is_address_zero_readable returns true.
17625 * gdb.base/signest.exp: Likewise.
17626 * gdb.base/signull.exp: Likewise.
17627 * gdb.base/sigbpt.exp: Likewise.
17628 * gdb.guile/scm-disasm.exp: Do the test if
17629 is_address_zero_readable returns false.
17630 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
17631 * gdb.python/py-arch.exp: Likewise.
17632 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
17633 * lib/gdb.exp (is_address_zero_readable): New proc.
17634
5792e8e3
YQ
176352014-08-09 Yao Qi <yao@codesourcery.com>
17636
17637 PR testsuite/13443
17638 * gdb.mi/mi-var-display.exp: Make test messages unique.
17639
3cecbbbe
TT
176402014-08-04 Tom Tromey <tromey@redhat.com>
17641
17642 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
17643 target 0".
17644
00b51ff5
TT
176452014-08-04 Tom Tromey <tromey@redhat.com>
17646
17647 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
17648 "target_resume".
17649
6908c509
JB
176502014-08-01 Joel Brobecker <brobecker@adacore.com>
17651
17652 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
17653 inner_vla_struct_object_size.
17654 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
17655 as xfail.
17656
cc6563d2
PA
176572014-07-30 Pedro Alves <palves@redhat.com>
17658
17659 * gdb.threads/signal-command-handle-nopass.exp (test): Add
17660 comment.
17661
7e09a223
YQ
176622014-07-29 Yao Qi <yao@codesourcery.com>
17663
17664 PR gdb/17206
17665 * gdb.base/until-nodebug.exp: New.
17666
7ebdbe92
DE
176672014-07-28 Doug Evans <xdje42@gmail.com>
17668
17669 PR guile/17203
17670 * gdb.guile/scm-parameter.exp: Add tests for trying to create
17671 previously existing parameter, and previously ambiguously spelled
17672 parameter.
17673
fdb1adc6
WN
176742014-07-28 Will Newton <will.newton@linaro.org>
17675
17676 * gdb.base/varargs.exp: Remove KFAILs for ARM.
17677
186fcde0
DE
176782014-07-26 Ludovic Courtès <ludo@gnu.org>
17679 Doug Evans <xdje42@gmail.com>
17680
17681 PR guile/17146
17682 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
17683
70509625
PA
176842014-07-25 Pedro Alves <palves@redhat.com>
17685
17686 * gdb.threads/signal-command-handle-nopass.c: New file.
17687 * gdb.threads/signal-command-handle-nopass.exp: New file.
17688 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
17689 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
17690 * gdb.threads/signal-delivered-right-thread.c: New file.
17691 * gdb.threads/signal-delivered-right-thread.exp: New file.
17692
c3f814a1
PA
176932014-07-25 Pedro Alves <palves@redhat.com>
17694
17695 * gdb.base/double-prompt-target-event-error.exp
17696 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
17697 match.
17698 (cancel_pagination_in_target_event): Rework double prompt
17699 detection.
17700 * gdb.base/paginate-after-ctrl-c-running.exp
17701 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
17702 <return>' match.
17703 * gdb.base/paginate-bg-execution.exp
17704 (test_bg_execution_pagination_return)
17705 (test_bg_execution_pagination_cancel): Remove '-notransfer
17706 <return>' matches.
17707 * gdb.base/paginate-execution-startup.exp
17708 (test_fg_execution_pagination_return)
17709 (test_fg_execution_pagination_cancel): Remove '-notransfer
17710 <return>' matches.
17711 * gdb.base/paginate-inferior-exit.exp
17712 (test_paginate_inferior_exited): Remove '-notransfer <return>'
17713 match.
17714 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
17715 * lib/gdb.exp (pagination_prompt): Run text through
17716 string_to_regexp.
17717 (gdb_test_multiple): Match $pagination_prompt instead of
17718 "<return>".
17719 (string_to_regexp): Move to lib/gdb-utils.exp.
17720
e214cf6c
JK
177212014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17722
17723 * gdb.arch/amd64-entry-value-paramref.S: New file.
17724 * gdb.arch/amd64-entry-value-paramref.cc: New file.
17725 * gdb.arch/amd64-entry-value-paramref.exp: New file.
17726 * gdb.arch/amd64-optimout-repeat.S: New file.
17727 * gdb.arch/amd64-optimout-repeat.c: New file.
17728 * gdb.arch/amd64-optimout-repeat.exp: New file.
17729
17d0c5c8
JK
177302014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17731
17732 PR gdb/17170
17733 * gdb.base/statistics.exp: New file.
17734
b8b8facf
DE
177352014-07-17 Doug Evans <dje@google.com>
17736
74b49205 17737 PR gdb/17170
b8b8facf
DE
17738 * gdb.base/maint.exp: Update testing of per-command stats.
17739
1b5d0ab3
PA
177402014-07-16 Pedro Alves <palves@redhat.com>
17741
17742 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
17743 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
17744 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
17745 (tfile_write_buf): New functions.
17746 (add_memory_block): Rewrite using the above.
17747 (adjust_function_address): New function.
17748 (FUNCTION_ADDRESS): New macro.
17749 (write_basic_trace_file): Remove short_x local, and use
17750 tfile_write_16. Change type of func_addr local to unsigned long
17751 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
17752 here. Cast argument of add_memory_block to char pointer.
17753 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
17754 (main): Remove parameters.
17755 * gdb.trace/tfile.exp: Remove nowarnings.
17756
4d974e88
SM
177572014-07-15 Simon Marchi <simon.marchi@ericsson.com>
17758
17759 * gdb.base/debug-expr.exp: Test string evaluation with
17760 "debug expression" on.
17761
41e99568
PA
177622014-07-15 Pedro Alves <palves@redhat.com>
17763
17764 * gdb.base/reread.exp: Use clean_restart.
17765
487d9753
PL
177662014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
17767
17768 * gdb.arch/avr-flash-qualifer.c: New.
17769 * gdb.arch/avr-flash-qualifer.exp: New.
17770
cc1c52ad
PA
177712014-07-14 Pedro Alves <palves@redhat.com>
17772
17773 * gdb.base/paginate-after-ctrl-c-running.c: New file.
17774 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
17775
1e973570
PA
177762014-07-14 Pedro Alves <palves@redhat.com>
17777
17778 * gdb.base/double-prompt-target-event-error.c: New file.
17779 * gdb.base/double-prompt-target-event-error.exp: New file.
17780
93d6eb10
PA
177812014-07-14 Pedro Alves <palves@redhat.com>
17782
17783 PR gdb/17072
17784 * gdb.base/paginate-inferior-exit.c: New file.
17785 * gdb.base/paginate-inferior-exit.exp: New file.
17786
0017922d
PA
177872014-07-14 Pedro Alves <palves@redhat.com>
17788
17789 PR gdb/17072
17790 * gdb.base/paginate-bg-execution.c: New file.
17791 * gdb.base/paginate-bg-execution.exp: New file.
17792
94696ad3
PA
177932014-07-14 Pedro Alves <palves@redhat.com>
17794
17795 PR gdb/17072
17796 * gdb.base/paginate-execution-startup.c: New file.
17797 * gdb.base/paginate-execution-startup.exp: New file.
17798 * lib/gdb.exp (pagination_prompt): New global.
17799 (default_gdb_spawn): New procedure, factored out from
17800 default_gdb_spawn.
17801 (default_gdb_start): Adjust to call default_gdb_spawn.
17802 (gdb_spawn): New procedure.
17803
bd293940
PA
178042014-07-14 Pedro Alves <palves@redhat.com>
17805
17806 * lib/gdb.exp (gdb_assert): New procedure.
17807 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
17808
c933f875
PA
178092014-07-14 Pedro Alves <palves@redhat.com>
17810
17811 * gdb.base/execution-termios.c: New file.
17812 * gdb.base/execution-termios.exp: New file.
17813
d98b7a16
TT
178142014-07-14 Tom Tromey <tromey@redhat.com>
17815
17816 * gdb.cp/vla-cxx.cc: New file.
17817 * gdb.cp/vla-cxx.exp: New file.
17818
548740d6
TT
178192014-07-14 Tom Tromey <tromey@redhat.com>
17820
17821 * gdb.reverse/rerun-prec.c: New file.
17822 * gdb.reverse/rerun-prec.exp: New file.
17823
a25eb028
MR
178242014-07-12 Maciej W. Rozycki <macro@mips.com>
17825 Maciej W. Rozycki <macro@codesourcery.com>
17826
17827 * lib/gdb-utils.exp: New file.
17828 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
17829 inline `gdb_init_command' processing.
17830 (gdb_start_cmd): Likewise.
17831 * lib/mi-support.exp (mi_run_cmd): Likewise.
17832 * README: Document `gdb_init_command' and `gdb_init_commands'.
17833
218c2655
JK
178342014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17835
17836 Fix false FAIL running under a very long directory name.
17837 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
17838 and "set print elements 10000". Twice.
17839
5401fde3
YQ
178402014-07-11 Yao Qi <yao@codesourcery.com>
17841
17842 * gdb.base/exprs.exp: "set print symbol off".
17843
e76126e8
PA
178442014-07-11 Pedro Alves <palves@redhat.com>
17845
17846 * gdb.threads/kill.c: New file.
17847 * gdb.threads/kill.exp: New file.
17848
2d6f0de6
YQ
178492014-07-10 Yao Qi <yao@codesourcery.com>
17850
17851 * gdb.trace/tfile.c (write_basic_trace_file)
17852 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17853 address written to trace file.
17854
7180e04a
PA
178552014-07-09 Pedro Alves <palves@redhat.com>
17856
17857 * gdb.base/attach-wait-input.exp: New file.
17858 * gdb.base/attach-wait-input.c: New file.
17859
9a9a7608
AB
178602014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17861
17862 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17863 setting up test structures.
17864 (main): Call new test function.
17865 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17866 test function, continue into test function and walk test
17867 structures.
17868
161ac41e
YQ
178692014-07-02 Yao Qi <yao@codesourcery.com>
17870
17871 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17872 'bar_start' at the beginning of functions 'foo' and 'bar'
17873 respectively.
17874 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17875 instead of 'foo' and 'bar'.
17876
1f267ae3
MM
178772014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17878
17879 * gdb.btrace/segv.exp: New.
17880 * gdb.btrace/segv.c: New.
17881
2b239efb
LM
178822014-07-02 Luis Machado <lgustavo@codesourcery.com>
17883
17884 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17885 instruction.
17886
cf363f18
MW
178872014-06-30 Mark Wielaard <mjw@redhat.com>
17888
17889 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17890 vulture, vilify, villar): New volatile array constants.
17891 (vindictive, vegetation): New const volatile array constants.
17892 * gdb.base/volatile.exp: Test volatile and const volatile array
17893 types.
17894
aebf9d24
AA
178952014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17896
17897 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17898 target lacks support for awatch, rwatch, or hbreak.
17899
b67a2c6f
YQ
179002014-06-27 Yao Qi <yao@codesourcery.com>
17901
17902 * gdb.multi/dummy-frame-restore.exp: New.
17903 * gdb.multi/dummy-frame-restore.c: New.
17904
aef92902
MM
179052014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17906
17907 * gdb.btrace/gcore.exp: New.
17908
8e9db26e
PA
179092014-06-23 Pedro Alves <palves@redhat.com>
17910
17911 * gdb.base/watchpoint-reuse-slot.c: New file.
17912 * gdb.base/watchpoint-reuse-slot.exp: New file.
17913
70afc5b7
SC
179142014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17915
17916 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17917 progspace's filename in 'info', 'enable' and 'disable' command
17918 tests.
17919
b972bd9c
JK
179202014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17921
17922 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17923 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17924 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17925
125f8a3d
GB
179262014-06-20 Gary Benson <gbenson@redhat.com>
17927
17928 * gdb.arch/i386-avx.exp: Fix include file location.
17929 * gdb.arch/i386-sse.exp: Likewise.
17930
3ed9baed
IB
179312014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17932
17933 * gdb.dlang/expression.exp: New file.
17934
034f788c
PA
179352014-06-19 Pedro Alves <palves@redhat.com>
17936
17937 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17938 out from ...
17939 (top level): ... here. Iterate running tests under different
17940 scheduler-locking settings.
17941
45371d0c
LM
179422014-06-18 Luis Machado <lgustavo@codesourcery.com>
17943
17944 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17945 to DW_FORM_addr and use non-zero addresses.
17946
5d376983
SC
179472014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17948
17949 PR gdb/17017
17950 * gdb.python/py-xmethods.cc: Add global function call counters and
17951 increment them in their respective functions. Remove "cout"
17952 statements.
17953 * gdb.python/py-xmethods.exp: Make tests check the global function
17954 call counters instead of depending on inferior IO.
17955
a1aa2221
LM
179562014-06-18 Don Breazeal <donb@codesourcery.com>
17957
17958 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17959 Deleted procedure.
17960 (explicit_fork_parent_follow): Deleted procedure.
17961 (explicit_fork_child_follow): Deleted procedure.
17962 (test_follow_fork): New procedure.
17963 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 17964 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
17965 procedure calls.
17966
0fc05997
YQ
179672014-06-17 Yao Qi <yao@codesourcery.com>
17968
17969 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17970 CP1252.
17971
70795c52
LM
179722014-06-17 Luis Machado <lgustavo@codesourcery.com>
17973
17974 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17975 Initialize ptr and S explicitly.
17976 (skip_type_update_when_not_use_rtti_test): Likewise.
17977
6be47f0c
KS
179782014-06-16 Keith Seitz <keiths@redhat.com>
17979
17980 PR mi/15863
17981 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17982 the inferior is started.
17983
d03de421
PA
179842014-06-16 Pedro Alves <palves@redhat.com>
17985
17986 * gdb.base/break-main-file-remove-fail.c: New file.
17987 * gdb.base/break-main-file-remove-fail.exp: New file.
17988 * gdb.base/break-unload-file.exp: Use build_executable instead of
17989 prepare_for_testing.
17990 (test_break): New parameter "initial_load". Handle it.
17991 (top level): Add initial_load cmdline/file axis.
17992
f9579b99
TT
179932014-06-12 Tom Tromey <tromey@redhat.com>
17994
17995 * gdb.base/completion.exp: Don't use directory name in test.
17996
3657956b
GB
179972014-06-09 Gary Benson <gbenson@redhat.com>
17998
17999 * gdb.base/sigall.c [Functions to send signals]: Reorder to
18000 separate the always-available ANSI-standard signals from the
18001 signals that require checking.
18002 (main): Likewise.
18003 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
18004 Likewise.
18005 (main): Likewise.
18006
4186eb54
KS
180072014-06-07 Keith Seitz <keiths@redhat.com>
18008
18009 Revert:
18010 PR c++/16253
18011 * gdb.cp/var-tag.cc: New file.
18012 * gdb.cp/var-tag.exp: New file.
18013 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18014 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18015 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18016 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18017
25326a28 180182014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
18019
18020 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
18021
829155c9
PA
180222014-06-06 Pedro Alves <palves@redhat.com>
18023
18024 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
18025 in target debug output instead of looking at RSP packets,
18026 disabling the test on any target that uses hardware stepping.
18027 Update comments.
18028
61c8d22e
PA
180292014-06-06 Pedro Alves <palves@redhat.com>
18030
18031 * gdb.base/break-unload-file.exp: Fix typo.
18032
d9a47287
YQ
180332014-06-06 Yao Qi <yao@codesourcery.com>
18034
18035 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
18036 from "jit_function" to "^jit_function".
18037
e5e01dbf
YQ
180382014-06-06 Yao Qi <yao@codesourcery.com>
18039
18040 * gdb.base/async.c (foo): Add one statement.
18041 * gdb.base/async.exp: Get the next instruction address and
18042 match the output of "nexti" by instruction address. Match
18043 the hex address in the output of "finish".
18044
73ba372c
GB
180452014-06-06 Gary Benson <gbenson@redhat.com>
18046
18047 * gdb.base/call-signals.c: Remove preprocessor conditionals
18048 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
18049 SIGSEGV and SIGTERM.
18050 * gdb.base/sigall.c: Likewise.
18051 * gdb.base/unwindonsignal.c: Likewise.
18052 * gdb.reverse/sigall-reverse.c: Likewise.
18053
831517df
YQ
180542014-06-06 Yao Qi <yao@codesourcery.com>
18055
18056 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
18057 readable, skip the test.
18058
b8b91e98
YQ
180592014-06-06 Yao Qi <yao@codesourcery.com>
18060
18061 * gdb.threads/staticthreads.c (thread_function): Move the line
18062 setting breakpoint on forward.
18063 * gdb.threads/staticthreads.exp: Update comments.
18064
fb934770
LC
180652014-06-05 Ludovic Courtès <ludo@gnu.org>
18066
18067 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
18068 "history-append! type error".
18069
6ef284bd
SM
180702014-06-05 Simon Marchi <simon.marchi@ericsson.com>
18071
18072 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
18073 erroneous dprintf expected input.
18074
a872e241
DE
180752014-06-04 Doug Evans <xdje42@gmail.com>
18076
18077 * gdb.guile/scm-generics.exp: Delete.
18078
16f691fb
DE
180792014-06-04 Doug Evans <xdje42@gmail.com>
18080
18081 * gdb.guile/scm-breakpoint.exp: Update.
18082 Add tests for breakpoint registration.
18083
012370f6
TT
180842014-06-04 Tom Tromey <tromey@redhat.com>
18085
18086 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
18087 VLA-in-union.
18088 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
18089 inner_vla_struct, vla_union types. Initialize objects of those
18090 types and compute their sizes.
18091
9f5a4cef
HZ
180922014-06-04 Nathan Sidwell <nathan@codesourcery.com>
18093 Hui Zhu <hui@codesourcery.com>
18094
18095 * gdb.base/fileio.exp: Add test for shell not available as well as
18096 available.
18097 * gdb.base/fileio.c (test_system): Check for shell twice.
18098
90a45c4d
YQ
180992014-06-04 Yao Qi <yao@codesourcery.com>
18100
18101 * gdb.base/auto-connect-native-target.exp: Remove redundant
18102 space from the regexp pattern.
18103
70017e41
YQ
181042014-06-04 Yao Qi <yao@codesourcery.com>
18105
18106 * gdb.base/default.exp: Replace "child" with "native" in
18107 regexp pattern.
18108
883964a7
SC
181092014-06-03 Siva Chandra Reddy <sivachandra@google.com>
18110
18111 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
18112 * gdb.python/py-xmethods.exp: New tests to test xmethods.
18113 * gdb.python/py-xmethods.py: Python script supporting the
18114 new testcase and tests.
18115
ef370185
JB
181162014-06-03 Joel Brobecker <brobecker@adacore.com>
18117 Pedro Alves <palves@redhat.com>
18118
18119 PR breakpoints/17000
18120 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
18121 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
18122
1e2ccb61
BM
181232014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
18124
18125 * gdb.base/subst.exp: Add tests to verify partial path matching
18126 output.
18127
c6ec5ab2
PA
181282014-06-03 Pedro Alves <palves@redhat.com>
18129
18130 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
18131 target that doesn't use software single-stepping.
18132
835c559f
PA
181332014-06-03 Pedro Alves <palves@redhat.com>
18134
18135 PR breakpoints/17000
18136 * gdb.base/sss-bp-on-user-bp-2.c: New file.
18137 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
18138
06eb1586
DE
181392014-06-02 Doug Evans <xdje42@gmail.com>
18140
18141 * gdb.guile/scm-parameter.exp: New file.
18142
e698b8c4
DE
181432014-06-02 Doug Evans <xdje42@gmail.com>
18144
18145 * gdb.guile/scm-cmd.c: New file.
18146 * gdb.guile/scm-cmd.exp: New file.
18147
ded03782
DE
181482014-06-02 Doug Evans <xdje42@gmail.com>
18149
18150 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
18151 pretty-printer lookup.
18152 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
18153 (make-pp_s-printer): Call it.
18154 (make-pretty-printer-from-dict): New function.
18155 (lookup-pretty-printer-maker-from-dict): New function.
18156 (*pretty-printer*): Simplify.
18157 (make-objfile-pp_s-printer): New function.
18158 (install-objfile-pretty-printers!): New function.
18159 (make-progspace-pp_s-printer): New function.
18160 (install-progspace-pretty-printers!): New function.
18161 * gdb.guile/scm-progspace.c: New file.
18162 * gdb.guile/scm-progspace.exp: New file.
18163
41fac0cf
PA
181642014-06-02 Pedro Alves <palves@redhat.com>
18165
18166 * gdb.base/dprintf-bp-same-addr.c: New file.
18167 * gdb.base/dprintf-bp-same-addr.exp: New file.
18168
96ae5695
EBM
181692014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18170
18171 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
18172 * gdb.arch/powerpc-power.s: Likewise.
18173
da02b3a8
JB
181742014-06-02 Joel Brobecker <brobecker@adacore.com>
18175
18176 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
18177
c72b2e7b
YQ
181782014-06-01 Yao Qi <yao@codesourcery.com>
18179
18180 * gdb.base/watchpoint.exp (test_watch_location): Check null
18181 pointer can be dereferenced. If not, do the test, otherwise
18182 skip it.
18183
53e8a631
AB
181842014-05-30 Andrew Burgess <aburgess@broadcom.com>
18185
18186 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
18187 results.
18188 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
18189
938f0e2f
AB
181902014-05-30 Andrew Burgess <aburgess@broadcom.com>
18191
18192 * gdb.arch/amd64-invalid-stack-middle.S: New file.
18193 * gdb.arch/amd64-invalid-stack-middle.c: New file.
18194 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
18195 * gdb.arch/amd64-invalid-stack-top.c: New file.
18196 * gdb.arch/amd64-invalid-stack-top.exp: New file.
18197
9ba6657a
PA
181982014-05-30 Pedro Alves <palves@redhat.com>
18199
18200 PR breakpoints/17000
18201 * gdb.base/sss-bp-on-user-bp.c: New file.
18202 * gdb.base/sss-bp-on-user-bp.exp: New file.
18203
522c09bf
DB
182042014-05-30 David Blaikie <dblaikie@gmail.com>
18205
18206 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18207 gnu_inline semantics via attribute.
18208 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
18209 source explicitly specifies the required semantics.
18210
bf4ef81e
MR
182112014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
18212
18213 * gdb.reverse/sigall-reverse.exp: Fix a typo.
18214
329ea579
PA
182152014-05-29 Pedro Alves <palves@redhat.com>
18216 Tom Tromey <tromey@redhat.com>
18217
18218 * gdb.base/async-shell.exp: Don't enable target-async.
18219 * gdb.base/async.exp
18220 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18221 parameter. Adjust.
18222 (top level): Don't test with "target-async".
18223 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
18224 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
18225 * gdb.base/inferior-died.exp: Don't enable target-async.
18226 * gdb.base/interrupt-noterm.exp: Likewise.
18227 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
18228 * gdb.mi/mi-nonstop-exit.exp: Likewise.
18229 * gdb.mi/mi-nonstop.exp: Likewise.
18230 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
18231 * gdb.mi/mi-nsintrall.exp: Likewise.
18232 * gdb.mi/mi-nsmoribund.exp: Likewise.
18233 * gdb.mi/mi-nsthrexec.exp: Likewise.
18234 * gdb.mi/mi-watch-nonstop.exp: Likewise.
18235 * gdb.multi/watchpoint-multi.exp: Adjust comment.
18236 * gdb.python/py-evsignal.exp: Don't enable target-async.
18237 * gdb.python/py-evthreads.exp: Likewise.
18238 * gdb.python/py-prompt.exp: Likewise.
18239 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
18240 * gdb.server/solib-list.exp: Don't enable target-async.
18241 * gdb.threads/thread-specific-bp.exp: Likewise.
18242 * lib/mi-support.exp: Adjust to use mi-async.
18243
fd664c91
PA
182442014-05-29 Pedro Alves <palves@redhat.com>
18245
18246 PR gdb/13860
18247 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
18248 reason, even in sync mode.
18249
251bde03
PA
182502014-05-29 Pedro Alves <palves@redhat.com>
18251 Hui Zhu <hui@codesourcery.com>
18252
18253 PR PR15693
18254 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
18255 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
18256 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
18257 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
18258
7f3c0343
JB
182592014-05-28 Joel Brobecker <brobecker@adacore.com>
18260
18261 * config/monitor.exp (gdb_target_monitor): Replace use of
18262 "set remotebaud" by "set serial baud".
18263
b2715b27
AW
182642014-05-26 Andy Wingo <wingo@igalia.com>
18265
18266 * gdb.guile/scm-breakpoint.exp:
18267 * gdb.guile/scm-gsmob.exp: Update to use plain old object
18268 properties instead of gdb-object-properties.
18269
498a4489
YQ
182702014-05-26 Yao Qi <yao@codesourcery.com>
18271
18272 * gdb.server/no-thread-db.exp: Specify source file name
18273 explicitly when setting a breakpoint.
18274
589fdceb
MM
182752014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18276
18277 * gdb.btrace/vdso.c: New.
18278 * gdb.btrace/vdso.exp: New.
18279
e9089e05
MM
182802014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18281
18282 * gdb.base/gcore.exp (capture_command_output): Move ...
18283 * lib/gdb.exp (capture_command_output): ... here.
18284
67b5c0c1
MM
182852014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18286
18287 * gdb.btrace/data.exp: Test memory access during btrace replay.
18288
a2199296
SM
182892014-05-22 Simon Marchi <simon.marchi@ericsson.com>
18290
18291 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
18292
17b2616c
PA
182932014-05-21 Pedro Alves <palves@redhat.com>
18294
18295 PR gdb/13860
18296 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
18297 (top level): Test that output related to execution commands is
18298 sent to the console with CLI commands, but not with MI commands.
18299 Test that breakpoint events are always mirrored to the console.
18300 Also expect the new source line to be output after a "next" in
18301 async mode too. Make it a pass/fail test.
18302 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
18303 output.
18304 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
18305
5166082f
PA
183062014-05-21 Pedro Alves <palves@redhat.com>
18307
18308 * gdb.base/list.exp (build_pattern, test_list): New procedures.
18309 Use them to test variations of "list" after reaching a breakpoint.
18310 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
18311 Test "list" with listsize 10 after reaching a breakpoint.
18312 * gdb.python/python.exp (decode_line current location line
18313 number): Adjust expected line number.
18314
2f25d70f
SM
183152014-05-21 Simon Marchi <simon.marchi@ericsson.com>
18316
18317 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
18318 behavior for $args, pass it directly to "run".
18319
ff604a67
MR
183202014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
18321
18322 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
18323 30000 to 65536.
18324
6a3cb8e8
PA
183252014-05-21 Pedro Alves <palves@redhat.com>
18326
18327 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
18328 auto-connect-native-target off".
18329 * gdb.base/auto-connect-native-target.c: New file.
18330 * gdb.base/auto-connect-native-target.exp: New file.
18331
4ebfc96e
PA
183322014-05-21 Pedro Alves <palves@redhat.com>
18333
18334 * gdb.base/default.exp: Test "target native" instead of "target
18335 child".
18336
36d46afb
MW
183372014-05-21 Mark Wielaard <mjw@redhat.com>
18338
18339 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18340
5876f503
JK
183412014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18342
18343 Fix TLS access for -static -pthread.
18344 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
18345 <HAVE_TLS> (thread_function, main): Initialize it.
18346 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
18347 Add clean_restart.
18348 <$have_tls != "">: Check TLSVAR.
18349
0256a6ac
PA
183502014-05-21 Pedro Alves <palves@redhat.com>
18351
18352 * gdb.base/dcache-line-read-error.c: New.
18353 * gdb.base/dcache-line-read-error.exp: New.
18354
936d2992
PA
183552014-05-20 Pedro Alves <palves@redhat.com>
18356
18357 * gdb.base/compare-sections.c: New file.
18358 * gdb.base/compare-sections.exp: New file.
18359
802e8e6d
PA
183602014-05-20 Pedro Alves <palves@redhat.com>
18361
18362 * gdb.base/break-idempotent.c: New file.
18363 * gdb.base/break-idempotent.exp: New file.
18364
e59fa00f
MM
183652014-05-20 Markus Metzger <markus.t.metzger@intel.com>
18366
18367 * gdb.btrace/nohist.exp: New.
18368
8b696e31
YQ
183692014-05-20 Yao Qi <yao@codesourcery.com>
18370
18371 * lib/gdb.exp (gdb_init): Set timeout if test file is under
18372 gdb.reverse directory and gdb_reverse_timeout exists in board
18373 setting.
18374 * README: Document gdb_reverse_timeout.
18375
73c9764f
YQ
183762014-05-20 Yao Qi <yao@codesourcery.com>
18377
18378 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
18379 'test_file_name'. Treat args as a string instead of a list.
18380 (gdb_init): Rename argument 'args' by 'test_file_name'.
18381
f1f4348a
JK
183822014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
18383
18384 * gdb.arch/powerpc-power.exp: New file.
18385 * gdb.arch/powerpc-power.s: New file.
18386
0dbe70ce
DE
183872014-05-16 Doug Evans <dje@google.com>
18388
18389 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
18390 * gdb.base/completion.exp: Check that all expected files exist
18391 before doing file completion.
0dbe70ce 18392
8d551b02
DE
183932014-05-16 Doug Evans <dje@google.com>
18394
18395 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
18396 Update.
18397 (do_syscall_tests_without_xml): Update.
18398
73eb7709
PA
183992014-05-16 Pedro Alves <palves@redhat.com>
18400
18401 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
18402 instead of "unknown output after running".
18403
3fae92fc
YQ
184042014-05-16 Yao Qi <yao@codesourcery.com>
18405
18406 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
18407 file1.txt from host at the end.
18408 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18409
c2b2ccc5
DE
184102014-05-15 Doug Evans <dje@google.com>
18411
18412 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
18413 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
18414 loading file. Add test for TU lookup.
18415
8c217a4b
SM
184162014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18417
18418 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
18419 calling "-exec-arguments" or "set args" before running the
18420 inferior.
18421
3deb39c6
SM
184222014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18423
18424 * lib/mi-support.exp (mi_expect_stop): Expect message for
18425 inferiors that exit with non-zero exit code.
18426
71a79f8c
YQ
184272014-05-14 Yao Qi <yao@codesourcery.com>
18428
18429 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
18430 match absolute path on remote host.
18431 (test_file_list_exec_source_files): Remove "/" from the
18432 pattern.
18433
f23fcd46
YQ
184342014-05-14 Yao Qi <yao@codesourcery.com>
18435
18436 * boards/local-remote-host-notty.exp (${board}_file): New
18437 proc.
18438
9404b58f
KM
184392014-05-07 Kyle McMartin <kyle@redhat.com>
18440
18441 Pushed by Joel Brobecker <brobecker@adacore.com>.
18442 * gdb.arch/aarch64-atomic-inst.c: New file.
18443 * gdb.arch/aarch64-atomic-inst.exp: New file.
18444
5e45f04c
YQ
184452014-05-07 Yao Qi <yao@codesourcery.com>
18446
18447 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
18448 in current context" too.
18449
c888a17d
KS
184502014-05-05 Keith Seitz <keiths@redhat.com>
18451
18452 * gdb.linespec/ls-dollar.exp: Add test for linespec
18453 file:convenience_variable.
18454
290a839c
YQ
184552014-05-05 Yao Qi <yao@codesourcery.com>
18456
18457 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
18458 traceframes into tfile and ctf trace files. Read data from
18459 trace file and test collected data.
18460 (gdb_collect_locals_test): Likewise.
18461 (gdb_unavailable_registers_test): Likewise.
18462 (gdb_unavailable_floats): Likewise.
18463 (gdb_collect_globals_test): Likewise.
18464 (top-level): Append "ctf" to trace_file_targets if GDB
18465 supports.
18466
b5262cd0
YQ
184672014-05-05 Yao Qi <yao@codesourcery.com>
18468
18469 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
18470 code to ...
18471 (gdb_collect_args_test_1): ... it. New proc.
18472 (gdb_collect_locals_test): Move some code to ...
18473 (gdb_collect_locals_test_1): ... it. New proc.
18474 (gdb_unavailable_registers_test): Move some code to ...
18475 (gdb_unavailable_registers_test_1): ... it. New proc.
18476 (gdb_unavailable_floats): Move some code to ...
18477 (gdb_unavailable_floats_1): ... it. New proc.
18478
30a1e6cc
SDJ
184792014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18480
18481 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
18482 probes to test for bitness recognition.
18483 * gdb.arch/amd64-stap-optional-prefix.exp
18484 (test_probe_value_without_reg): New procedure.
18485 Add code to test for different kinds of bitness.
18486
f33da99a
SDJ
184872014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18488
18489 PR breakpoints/16889
18490 * gdb.arch/amd64-stap-optional-prefix.S: New file.
18491 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18492
5b80f00d
PA
184932014-05-01 Pedro Alves <palves@redhat.com>
18494
18495 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
18496 gdb_file_cmd if no file is specified.
18497 * boards/native-extended-gdbserver.exp (gdb_load): Use the
18498 last_loaded_file to set the remote exec-file.
18499
f8c2a73c
PA
185002014-05-01 Pedro Alves <palves@redhat.com>
18501
18502 * boards/local-remote-host.exp: New file.
18503
be6e8ac7
PA
185042014-05-01 Pedro Alves <palves@redhat.com>
18505
18506 * boards/local-remote-host.exp: Rename to ...
18507 * boards/local-remote-host-notty.exp: ... this.
18508
cac0dc8f
JB
185092014-04-28 Joel Brobecker <brobecker@adacore.com>
18510
18511 * gdb.ada/dyn_arrayidx: New testcase.
18512
9730e6cc
YQ
185132014-04-26 Yao Qi <yao@codesourcery.com>
18514
18515 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
18516 and compute the length of function main. Save it in
18517 $main_length.
18518 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
18519 (top-level): Use gdb_compile to compile objects into
18520 executable and restart GDB. Remove invocation to
18521 prepare_for_testing.
18522
7ae1a6a6
PA
185232014-04-25 Simon Marchi <simon.marchi@ericsson.com>
18524 Pedro Alves <palves@redhat.com>
18525
18526 PR server/16255
18527 * gdb.multi/multi-attach.c: New file.
18528 * gdb.multi/multi-attach.exp: New file.
18529
4082afcc
PA
185302014-04-25 Pedro Alves <palves@redhat.com>
18531
18532 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
18533 user.
18534 (top level): Test that "set remote conditional-breakpoints-packet
18535 off" works as intended.
18536 * gdb.base/dprintf.exp: Test that "set remote
18537 breakpoint-commands-packet off" works as intended.
18538 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
18539 New function.
18540 (top level): Call it.
18541 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
18542 remote fast-tracepoints-packet off" works as intended.
18543 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
18544 * lib/gdb.exp (gdb_is_target_remote): ... here.
18545
2abc3f8d
DB
185462014-04-24 David Blaikie <dblaikie@gmail.com>
18547
18548 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
18549 ensure clang would not discard them.
18550 * gdb.base/gdbvars.c: Ditto.
18551 * gdb.base/memattr.c: Ditto.
18552 * gdb.base/whatis.c: Ditto.
18553 * gdb.python/py-prettyprint.c: Ditto.
18554 * gdb.trace/actions.c: Ditto.
18555 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
18556 ensure clang would not discard it.
18557
bfd39632
DB
185582014-04-24 David Blaikie <dblaikie@gmail.com>
18559
18560 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
18561 clang to emit the full definition of type required by the test
18562 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
18563
22842ff6
DB
185642014-04-24 David Blaikie <dblaikie@gmail.com>
18565
18566 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
18567 coax Clang into emitting the definition of the type.
18568 * gdb.cp/pr10728-x.h (y): Ditto.
18569 * gdb.cp/pr10728-y.cc (y): Ditto.
18570
c2e827ad
DB
185712014-04-24 David Blaikie <dblaikie@gmail.com>
18572
18573 * gdb.base/label.exp: XFAIL label related tests under Clang.
18574 * gdb.cp/cplabel.exp: Ditto.
18575 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
18576 under Clang those using labels.
18577
4c2d33e7
YQ
185782014-04-25 Yao Qi <yao@codesourcery.com>
18579
18580 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
18581 double_label.
18582 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
18583 partial_label and double_label.
18584
56083b99
DB
185852014-04-24 David Blaikie <dblaikie@gmail.com>
18586
18587 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
18588
25d4e99d
DB
185892014-04-24 David Blaikie <dblaikie@gmail.com>
18590
18591 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
18592 of the function to work across GCC and Clang.
18593 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
18594 pointer types (const void ** const V void **).
18595
01f9f808
MS
185962014-04-24 Michael Sturm <michael.sturm@mintel.com>
18597 Walfred Tedeschi <walfred.tedeschi@intel.com>
18598
18599 * Makefile.in (EXECUTABLES): Added i386-avx512.
18600 * gdb.arch/i386-avx512.c: New file.
18601 * gdb.arch/i386-avx512.exp: Likewise.
18602
4b48d439
KS
186032014-04-23 Keith Seitz <keiths@redhat.com>
18604
18605 * lib/mi-support.exp (mi_list_breakpoints): Delete.
18606 (mi_make_breakpoint_table): New procedure.
18607 (mi_create_breakpoint): Use mi_make_breakpoint
18608 and return the result.
18609 (mi_make_breakpoint): New procedure.
18610 (mi_build_kv_pairs): New procedure.
18611
18612 * gdb.mi/mi-break.exp: Remove unused globals,
18613 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
18614 All callers updated.
18615 * gdb.mi/mi-dprintf.exp: Use variable to track command
18616 number.
18617 Update all callers of mi_create_breakpoint and use
18618 mi_make_breakpoint_table.
18619 Remove any unused global variables.
18620 * gdb.mi/mi-nonstop.exp: Likewise.
18621 * gdb.mi/mi-nsintrall.exp: Likewise.
18622 * gdb.mi/mi-nsmoribund.exp: Likewise.
18623 * gdb.mi/mi-nsthrexec.exp: Likewise.
18624 * gdb.mi/mi-reverse.exp: Likewise.
18625 * gdb.mi/mi-simplerun.exp: Likewise.
18626 * gdb.mi/mi-stepn.exp: Likewise.
18627 * gdb.mi/mi-syn-frame.exp: Likewise.
18628 * gdb.mi/mi-until.exp: Likewise.
18629 * gdb.mi/mi-var-cp.exp: Likewise.
18630 * gdb.mi/mi-var-display.exp: Likewise.
18631 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
18632 * gdb.mi/mi2-var-child.exp: Likewise.
18633 * gdb.mi/mi-vla-c99.exp: Likewise.
18634 * lib/mi-support.exp: Likewise.
18635
18636 From Ian Lance Taylor <iant@cygnus.com>:
18637 * lib/gdb.exp (parse_args): New procedure.
18638
08351840
PA
186392014-04-23 Pedro Alves <palves@redhat.com>
18640
18641 * gdb.base/break-unload-file.c: New file.
18642 * gdb.base/break-unload-file.exp: New file.
18643 * gdb.base/sym-file-lib.c (baz): New function.
18644 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
18645 field.
18646 (load): Store the segment's mapped size.
18647 (unload): New function.
18648 (unload_shlib): New function.
18649 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
18650 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
18651 set a breakpoint at baz, and call it.
18652 * gdb.base/sym-file.exp: New tests for stale breakpoint
18653 instructions.
18654
076855f9
PA
186552014-04-23 Pedro Alves <palves@redhat.com>
18656
18657 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
18658 * gdb.base/hbreak-in-shr-unsupported.c: New file.
18659 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
18660 * gdb.base/hbreak-unmapped.c: New file.
18661 * gdb.base/hbreak-unmapped.exp: New file.
18662 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
18663 * lib/gdb.exp (gdb_is_target_remote): ... here.
18664
483805cf
PA
186652014-04-22 Pedro Alves <palves@redhat.com>
18666
18667 * gdb.base/consecutive-step-over.c: New file.
18668 * gdb.base/consecutive-step-over.exp: New file.
18669
06d97543
PA
186702014-04-22 Pedro Alves <palves@redhat.com>
18671
18672 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
18673 instead of send_gdb/gdb_expect.
18674
b4429ea2
YQ
186752014-04-22 Yao Qi <yao@codesourcery.com>
18676
18677 * lib/trace-support.exp (generate_tracefile): New procedure.
18678 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
18679 return 0.
18680 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
18681 if generate_tracefile returns 1.
18682
51d48146
PA
186832014-04-18 Tom Tromey <palves@redhat.com>
18684 Pedro alves <tromey@redhat.com>
18685
18686 PR backtrace/15558
18687 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
18688 with a backtrace limit.
18689 * gdb.python/py-frame-inline.exp: Test running to an inline
18690 function with a backtrace limit, and printing the newest frame.
18691 * gdb.python/py-frame-inline.c (main): Call f.
18692
bd1dce5f
MS
186932014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18694
18695 * gdb.java/jnpe.exp: Drop srcdir from untested path.
18696
40d1a503
MS
186972014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18698
18699 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
18700 Drop prefix from unsupported source file path.
18701
389b98f7
YQ
187022014-04-17 Yao Qi <yao@codesourcery.com>
18703
18704 * lib/gdb.exp (with_target_charset): New proc.
18705 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
18706 with_target_charset.
18707 (test_print_strings): Likewise.
18708 (test_repeat_bytes): Likewise.
18709 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
18710 for some tests.
18711
22869d73
KS
187122014-04-16 Keith Seitz <keiths@redhat.com>
18713
18714 PR gdb/15827
18715 * gdb.dwarf2/corrupt.c: New file.
18716 * gdb.dwarf2/corrupt.exp: New file.
18717
c4f87ca6
KS
187182014-04-16 Keith Seitz <keiths@redhat.com>
18719
18720 PR c++/16597
18721 * gdb.cp/namelessclass.cc: New file.
18722 * gdb.cp/namelessclass.exp: New file.
18723 * gdb.cp/namelessclass.S: New file.
18724
ab19de87
DE
187252014-04-16 Doug Evans <dje@google.com>
18726
18727 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
18728 Add comment.
18729 (gdbserver_default_get_comm_port): New function.
18730 (gdbserver_start): Check if board file provided
18731 "gdbserver,get_comm_port" and use it if so.
18732 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
18733 (gdb,socketport): Set to "stdio".
18734 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
18735 (stdio_gdbserver_template): Delete.
18736 (${board}_get_remote_address): Update.
18737 (${board}_build_remote_cmd): Delete.
18738 (${board}_get_comm_port): New function.
18739 (${board}_spawn): Update.
18740 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
18741 Delete.
18742 (${board}_get_remote_address): Update.
18743 (${board}_get_comm_port): New function.
18744
fc98a809
AB
187452014-04-16 Andrew Burgess <aburgess@broadcom.com>
18746
18747 * gdb.base/memattr.exp: Improve regexps to handle memory regions
18748 appearing in any order.
18749
87fd9e6e
DE
187502014-04-15 Doug Evans <dje@google.com>
18751
18752 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
18753 uninitialized value of "description".
18754
099fc3ea
KS
187552014-04-15 Keith Seitz <keiths@redhat.com>
18756
18757 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
18758 Remove unused globals.
18759 (test_running_the_program): Likewise.
18760 (test_controlled_execution): Likewise.
18761 (test_controlling_breakpoints): Likewise.
18762 (test_program_termination): Likewise.
18763
5da151d4
KS
187642014-04-15 Keith Seitz <keiths@redhat.com>
18765
18766 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
18767 unused globals.
18768 (test_rbreak_creation_and_listing): Likewise.
18769 (test_ignore_count): Likewise.
18770 (test_error): Likewise.
18771
35e5d2f0
PA
187722014-04-15 Pedro Alves <palves@redhat.com>
18773
18774 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
18775 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
18776 sym-file-loader.c.
18777 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18778 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18779 to sym-file-loader.c.
18780 (struct library): Forward declare.
18781 (load_shlib, lookup_function): Change prototypes.
18782 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18783 (translate_offset): Remove declarations.
18784 (get_text_addr): New declaration.
18785 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
18786 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
18787 sym-file-loader.h.
18788 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18789 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18790 here from sym-file-loader.h.
18791 (struct library): New structure.
18792 (load_shlib, lookup_function): Change prototypes and adjust to
18793 work with a struct library.
18794 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18795 (translate_offset): Make static.
18796 (get_text_addr): New function.
18797 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
18798
eb4c1710
PA
187992014-04-15 Pedro Alves <palves@redhat.com>
18800
18801 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
18802
2d1baf52
PA
188032014-04-15 Pedro Alves <palves@redhat.com>
18804
18805 * gdb.base/sym-file-loader.c: Include <limits.h>.
18806 (SELF_LINK): New define.
18807 (get_origin): New function.
18808 (load_shlib): Use it.
18809 * gdb.base/sym-file.exp: Don't early return if the target is
18810 remote. Use runto_main, and issue fail is that fails. Use
18811 gdb_load_shlibs.
18812 (shlib_name): Delete.
18813 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
18814
7dd6df01
PA
188152014-04-15 Pedro Alves <palves@redhat.com>
18816
18817 * gdb.base/sym-file.exp: Remove regex characters from test
18818 message. Don't refer to breakpoint numbers in test messages.
18819
b50c8614
KS
188202014-04-14 Keith Seitz <keiths@redhat.com>
18821
18822 PR c++/16253
18823 * gdb.cp/var-tag.cc: New file.
18824 * gdb.cp/var-tag.exp: New file.
18825 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18826 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18827 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18828 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18829
3d567982
TT
188302014-04-14 Tom Tromey <tromey@redhat.com>
18831
18832 * gdb.cp/classes.exp (test_enums): Handle underlying type.
18833 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
18834 type.
18835 * gdb.cp/enum-class.exp: New file.
18836 * gdb.cp/enum-class.cc: New file.
18837
0626fc76
TT
188382014-04-14 Tom Tromey <tromey@redhat.com>
18839
18840 * gdb.dwarf2/enum-type.exp: New file.
18841
dca325b3
SA
188422014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18843
18844 * gdb.mi/mi-vla-c99.exp: New file.
18845 * gdb.mi/vla.c: New file.
18846
5854b38a
SA
188472014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18848
18849 * gdb.base/vla-datatypes.c: New file.
18850 * gdb.base/vla-datatypes.exp: New file.
18851
463bb957
SA
188522014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18853
18854 * gdb.base/vla-ptr.c: New file.
18855 * gdb.base/vla-ptr.exp: New file.
18856
3dd170be
SA
188572014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18858
18859 * gdb.dwarf2/count.exp: New file.
18860
5ecaaa66
SA
188612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18862
18863 * gdb.base/vla-sideeffect.c: New file.
18864 * gdb.base/vla-sideeffect.exp: New file.
18865
41f1ada5
DB
188662014-04-14 David Blaikie <dblaikie@gmail.com>
18867
18868 * gdb.mi/non-stop.c: Add return value for non-void function return
18869 statement.
18870 * gdb.threads/staticthreads.c: Ditto.
18871
0be03e84
DE
188722014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18873 Doug Evans <xdje42@gmail.com>
18874
18875 * gdb.guile/scm-value.c: Improve test case.
18876 * gdb.guile/scm-value.exp: Add new test.
18877
f180a1fb
DB
188782014-04-11 David Blaikie <dblaikie@gmail.com>
18879
18880 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18881 override Clang's default.
18882
6b662e19
JB
188832014-04-11 Joel Brobecker <brobecker@adacore.com>
18884
18885 Revert the following changes (regressions):
18886
18887 * gdb.base/vla-sideeffect.c: New file.
18888 * gdb.base/vla-sideeffect.exp: New file.
18889
18890 * gdb.dwarf2/count.exp: New file.
18891
18892 * gdb.base/vla-multi.c: New file.
18893 * gdb.base/vla-multi.exp: New file.
18894
18895 * gdb.base/vla-ptr.c: New file.
18896 * gdb.base/vla-ptr.exp: New file.
18897
18898 * gdb.base/vla-datatypes.c: New file.
18899 * gdb.base/vla-datatypes.exp: New file.
18900
18901 * gdb.mi/mi-vla-c99.exp: New file.
18902 * gdb.mi/vla.c: New file.
18903
245a5f0b
KS
189042014-04-11 Keith Seitz <keiths@redhat.com>
18905
18906 PR c++/16675
18907 * gdb.cp/cpsizeof.exp: New file.
18908 * gdb.cp/cpsizeof.cc: New file.
18909
58a84dcf
SA
189102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18911
191a8a90
JB
18912 * gdb.mi/mi-vla-c99.exp: New file.
18913 * gdb.mi/vla.c: New file.
58a84dcf 18914
c8655f75
SA
189152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18916
18917 * gdb.base/vla-datatypes.c: New file.
18918 * gdb.base/vla-datatypes.exp: New file.
18919
024e13b4
SA
189202014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18921
18922 * gdb.base/vla-ptr.c: New file.
18923 * gdb.base/vla-ptr.exp: New file.
18924
1a237e0e
SA
189252014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18926
18927 * gdb.base/vla-multi.c: New file.
18928 * gdb.base/vla-multi.exp: New file.
18929
504f3432
SA
189302014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18931
18932 * gdb.dwarf2/count.exp: New file.
18933
3bce8237
SA
189342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18935
191a8a90
JB
18936 * gdb.base/vla-sideeffect.c: New file.
18937 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 18938
322f9c21
YQ
189392014-04-11 Yao Qi <yao@codesourcery.com>
18940
18941 * gdb.base/completion.exp: Check file exists before running tests
18942 on file completion.
18943
d708bcd1
PA
189442014-04-10 Pedro Alves <palves@redhat.com>
18945
18946 * gdb.base/cond-eval-mode.c: New file.
18947 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18948 prepare_for_testing to build the new file. Check result of
18949 runto_main.
18950 (test_break, test_watch): New procedures.
18951 (top level): Use them.
18952
ae1d2761
PM
189532014-04-08 Pierre Muller <muller@sourceware.org>
18954
18955 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18956 Ctrl-V use for mingw hosts.
18957
7af389b8
SC
189582014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18959
18960 * gdb.python/py-value.c: Improve test case.
18961 * gdb.python/py-value.exp: Add new test.
18962
5e703181
DE
189632014-04-07 David Blaikie <dblaikie@gmail.com>
18964
18965 * lib/compiler.c: Identify the clang compiler.
18966 * lib/compiler.cc: Ditto.
18967
9810b410
YQ
189682014-04-03 Yao Qi <yao@codesourcery.com>
18969
18970 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18971
98d1b8dc
AB
189722014-04-01 Anton Blanchard <anton@samba.org>
18973
18974 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18975 messages unique.
18976
3114cea1
AB
189772014-04-01 Anton Blanchard <anton@samba.org>
18978
18979 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18980 prepare_for_testing.
18981
62f7182c
AB
189822014-04-01 Anton Blanchard <anton@samba.org>
18983
18984 * gdb.arch/ppc64-atomic-inst.c: Remove.
18985 * gdb.arch/ppc64-atomic-inst.S: New file.
18986 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18987
770e7fc7
DE
189882014-03-31 Doug Evans <dje@google.com>
18989
18990 * gdb.base/print-symbol-loading-lib.c: New file.
18991 * gdb.base/print-symbol-loading-main.c: New file.
18992 * gdb.base/print-symbol-loading.exp: New file.
18993
46e2bafa
YQ
189942014-03-31 Yao Qi <yao@codesourcery.com>
18995
18996 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18997
8776cfe9
JB
189982014-03-28 Joel Brobecker <brobecker@adacore.com>
18999
19000 * gdb.ada/mi_dyn_arr: New testcase.
19001
5d1ef361
DE
190022014-03-27 Doug Evans <dje@google.com>
19003
19004 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
19005
b5bee914
YQ
190062014-03-27 Yao Qi <yao@codesourcery.com>
19007
19008 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
19009 if target is nios2-*-*.
19010
0d4d0e77
YQ
190112014-03-26 Yao Qi <yao@codesourcery.com>
19012
19013 * lib/gdb.exp (readline_is_used): New proc.
19014 * gdb.base/completion.exp: Move tests on command complete up.
19015 Skip the rest of tests if readline is not used.
19016 * gdb.ada/complete.exp: Skp the test if readline is not
19017 used.
19018 * gdb.base/filesym.exp: Likewise.
19019 * gdb.base/macscp.exp: Likewise.
19020 * gdb.base/readline-ask.exp: Likewise.
19021 * gdb.base/readline.exp: Likewise.
19022 * gdb.python/py-cmd.exp: Likewise.
19023 * gdb.trace/tfile.exp: Likewise.
19024
29361eee
YQ
190252014-03-26 Yao Qi <yao@codesourcery.com>
19026
19027 * gdb.base/macscp.exp: Fix code format issues.
19028
bc9a5525
UW
190292014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
19030
19031 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
19032 * gdb.asm/powerpc64le.inc: New file.
19033
d3839ede
PA
190342014-03-25 Pedro Alves <palves@redhat.com>
19035 Doug Evans <dje@google.com>
19036
19037 * gdb.base/source-execution.c: New file.
19038 * gdb.base/source-execution.exp: New file.
19039 * gdb.base/source-execution.gdb: New file.
19040
01672a57
DE
190412014-03-24 Doug Evans <dje@google.com>
19042
19043 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
19044 using fission.
19045
88bbeca9
HZ
190462014-03-24 Hui Zhu <hui@codesourcery.com>
19047 Pedro Alves <palves@redhat.com>
19048
19049 PR breakpoints/16101
19050 * gdb.base/dprintf.exp: Use unsupported rather than changing the
19051 test pass/fail messages. Detect missing support for dprintf when
19052 breakpoints are actually inserted.
19053 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
19054 breakpoints are actually inserted.
19055 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
19056 fails.
19057
d2348791
JK
190582014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
19059
19060 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
19061
feef67ab
DE
190622014-03-22 Doug Evans <xdje42@gmail.com>
19063
19064 * gdb.python/python.exp (python not supported): Verify multi-line
19065 python command issues an error.
25d743f9 19066 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 19067 guile command issues an error.
feef67ab 19068
ecebef6a
MR
190692014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
19070
19071 * gdb.threads/thread-specific.exp: Handle the lack of usable
19072 $this_breakpoint and $this_thread.
19073
ccdd1909
HZ
190742014-03-21 Hui Zhu <hui@codesourcery.com>
19075
19076 * gdb.base/attach.exp (do_command_attach_tests): New.
19077
beb460e8
PA
190782014-03-20 Tom Tromey <tromey@redhat.com>
19079 Pedro Alves <palves@redhat.com>
19080
19081 PR cli/15718
19082 * gdb.base/condbreak-call-false.c: New file.
19083 * gdb.base/condbreak-call-false.exp: New file.
19084
40acf43a
PA
190852014-03-20 Pedro Alves <palves@redhat.com>
19086
19087 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
19088 Delete.
19089 (block_signals, unblock_signals): Delete.
19090 (child_function_2, main): Remove references to deleted variable
19091 and functions.
19092
9f5e1e02
PA
190932014-03-20 Pedro Alves <palves@redhat.com>
19094
19095 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
19096 Use pthread_kill to signal thread 2.
19097 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19098 Adjust to make the test send itself a signal rather than using the
19099 host's "kill" command.
19100
99619bea
PA
191012014-03-20 Pedro Alves <palves@redhat.com>
19102
19103 * gdb.threads/multiple-step-overs.c: New file.
19104 * gdb.threads/multiple-step-overs.exp: New file.
19105 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19106 Adjust expected infrun debug output.
19107
2adfaa28
PA
191082014-03-20 Pedro Alves <palves@redhat.com>
19109
19110 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
19111 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
19112
31e77af2
PA
191132014-03-20 Pedro Alves <palves@redhat.com>
19114
19115 PR breakpoints/7143
19116 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
19117 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
19118 of gdb_test_multiple.
19119 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
19120 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
19121
b9f437de
PA
191222014-03-20 Pedro Alves <palves@redhat.com>
19123
19124 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
19125 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
19126
05adc73e
PA
191272014-03-19 Pedro Alves <palves@redhat.com>
19128
19129 * gdb.base/async.exp: Remove early return.
19130
6048b950
PA
191312014-03-19 Pedro Alves <palves@redhat.com>
19132
19133 * gdb.base/async.exp (step& tests): Pass explicit test messages.
19134
8bcfb00a
PA
191352014-03-19 Pedro Alves <palves@redhat.com>
19136
19137 * gdb.base/async.exp (test_background): Expect \r\n after
19138 "completed." in the fail pattern.
19139
884e37dc
PA
191402014-03-19 Pedro Alves <palves@redhat.com>
19141
19142 * gdb.base/async.exp (test_background): New procedure.
19143 Use it for all background execution command tests.
19144
148e57e2
PA
191452014-03-19 Pedro Alves <palves@redhat.com>
19146
19147 * gdb.base/async.exp: Use prepare_for_testing.
19148
f48088c7
PA
191492014-03-19 Pedro Alves <palves@redhat.com>
19150
19151 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
19152 the same line.
19153
e2f6c966
PA
191542014-03-19 Pedro Alves <palves@redhat.com>
19155
19156 * gdb.base/async.c (main): Add "jump here" and "until here" line
19157 marker comments.
19158 * gdb.base/async.exp (jump_here): New global.
19159 (jump& test): Use it.
19160 (until_here): New global.
19161 (until& test): Use it.
19162
c30568d4
PA
191632014-03-19 Pedro Alves <palves@redhat.com>
19164
19165 * gdb.base/async.exp: Don't frob gdb_protocol.
19166
0172b6a7
DE
191672014-03-18 Doug Evans <xdje42@gmail.com>
19168
19169 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
19170 Fix spelling of exec-done-display.
19171
06c868a8
JK
191722014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
19173
19174 PR gdb/15358
19175 * gdb.base/gdb-sigterm.c: New file.
19176 * gdb.base/gdb-sigterm.exp: New file.
19177
0c7e1a46
PA
191782014-03-18 Pedro Alves <palves@redhat.com>
19179
19180 PR gdb/13860
19181 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
19182 * lib/mi-support.exp (mi_expect_stop): Add special handling for
19183 solib-event.
19184
f7c77d93
JB
191852014-03-17 Joel Brobecker <brobecker@adacore.com>
19186
19187 * gdb.ada/pckd_arr_ren: New testcase.
19188
5a1e8c7a
DE
191892014-03-13 Doug Evans <xdje42@gmail.com>
19190
19191 PR guile/16612
19192 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
19193 collect after discarding symbols.
19194
350e1a76
DE
191952014-03-13 Ludovic Courtès <ludo@gnu.org>
19196 Doug Evans <xdje42@gmail.com>
19197
19198 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
19199 to history survives a gc.
19200
a69900ae
PA
192012014-03-13 Pedro Alves <palves@redhat.com>
19202
19203 * gdb.base/default.exp: Don't test "target procfs".
19204
5db9f0bd
PA
192052014-03-13 Pedro Alves <palves@redhat.com>
19206
19207 * gdb.base/default.exp: Update "target child" and "target procfs"
19208 tests to not expect "Unix".
19209
b3ccfe11
TT
192102014-03-12 Tom Tromey <tromey@redhat.com>
19211
19212 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
19213 New procs. Add target-async tests.
19214 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
19215 Add target-async tests.
19216
646f4417
AA
192172014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19218
19219 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
19220 'func_start' and 'func_end' for the beginning and end of the
19221 function code, respectively.
19222 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
19223 'func_end' instead of 'func' and 'main'.
19224
288c211f
AA
192252014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19226
19227 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
19228 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
19229 generate the debug info assembler source.
19230
e0c0f156
AA
192312014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19232
19233 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
19234 * gdb.dwarf2/arr-subrange.exp: Likewise.
19235 * gdb.dwarf2/dwz.exp: Likewise.
19236 * gdb.dwarf2/method-ptr.exp: Likewise.
19237 * gdb.dwarf2/missing-sig-type.exp: Likewise.
19238 * gdb.dwarf2/subrange.exp: Likewise.
19239 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
19240 * gdb.dwarf2/implptrpiece.exp: Likewise.
19241 * gdb.dwarf2/nostaticblock.exp: Likewise.
19242
0e5c4555
AA
192432014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19244
19245 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
19246 directory to absolute path name arguments.
19247
5ec18f2b
JG
192482014-03-10 Joel Brobecker <brobecker@adacore.com>
19249
19250 * gdb.ada/tagged_access: New testcase.
19251
847fc4f2
MM
192522014-03-07 Markus Metzger <markus.t.metzger@intel.com>
19253
19254 * gdb.btrace/data.exp: Update expected output.
19255
cc3da688
YQ
192562014-03-06 Yao Qi <yao@codesourcery.com>
19257
19258 * gdb.trace/pr16508.exp: New file.
19259
0f26cec1
PA
192602014-03-05 Pedro Alves <palves@redhat.com>
19261
19262 PR gdb/16575
19263 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
19264 procedure.
19265 (top level): Adjust to use it. Add tests that exercise breakpoint
19266 interaction with the code-cache.
19267
7a5a839f
LC
192682014-02-26 Ludovic Courtès <ludo@gnu.org>
19269
19270 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
19271 test for 'history-append!'.
19272
31aa7e4e
JB
192732014-02-26 Joel Brobecker <brobecker@adacore.com>
19274
19275 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
19276 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
19277 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
19278 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
19279 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
19280 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
19281
1b588015
JB
192822014-02-26 Joel Brobecker <brobecker@adacore.com>
19283
19284 * testsuite/gdb.python/py-pp-re-notag.c: New file.
19285 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
19286 * testsuite/gdb.python/py-pp-re-notag.p: New file.
19287
55426c9d
JB
192882014-02-26 Joel Brobecker <brobecker@adacore.com>
19289
19290 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
19291
dc53a7ad
JB
192922014-02-26 Joel Brobecker <brobecker@adacore.com>
19293
19294 * gdb.dwarf2/arr-stride.c: New file.
19295 * gdb.dwarf2/arr-stride.exp: New file.
19296
12ab52e9
PA
192972014-02-26 Pedro Alves <palves@redhat.com>
19298
19299 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
19300 that won't ever trigger. Make sure that GDB reports the correct
19301 breakpoint that caused the stop.
19302
849c862e
JK
193032014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19304
19305 PR gdb/16626
19306 * gdb.base/auto-load-script: New file.
19307 * gdb.base/auto-load.c: New file.
19308 * gdb.base/auto-load.exp: New file.
19309
71b7d793
JK
19310 PR gdb/16626
19311 * gdb.base/auto-load.exp: Fix out-of-srctree run.
19312
e2f0d509
JK
193132014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19314
19315 Fix dw2-icycle.exp -fsanitize=address GDB crash.
19316 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
19317
50cc37c8
DE
193182014-02-24 Doug Evans <dje@google.com>
19319
19320 * lib/gdb.exp (run_on_host): Log error output if program fails.
19321
ea4758f2
PA
193222014-02-21 Pedro Alves <palves@redhat.com>
19323
19324 * gdb.threads/step-after-sr-lock.c: Rename to ...
19325 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
19326 * gdb.threads/step-after-sr-lock.exp: Rename to ...
19327 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19328 ... this.
19329
d7b30f67
SDJ
193302014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
19331
19332 PR tdep/16397
19333 * gdb.arch/amd64-stap-special-operands.exp: New file.
19334 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
19335 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
19336 * gdb.arch/amd64-stap-triplet.S: Likewise.
19337 * gdb.arch/amd64-stap-triplet.c: Likewise.
19338
83deb43f
JB
193392014-02-20 Joel Brobecker <brobecker@adacore.com>
19340
19341 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
19342 in .section pseudo-op.
19343
adde2bff
DE
193442014-02-20 lin zuojian <manjian2006@gmail.com>
19345 Joel Brobecker <brobecker@adacore.com>
19346 Doug Evans <xdje42@gmail.com>
19347
19348 PR symtab/16581
19349 * gdb.dwarf2/dw2-icycle.S: New file.
19350 * gdb.dwarf2/dw2-icycle.c: New file.
19351 * gdb.dwarf2/dw2-icycle.exp: New file.
19352
f7bd0f78
SC
193532014-02-19 Siva Chandra Reddy <sivachandra@google.com>
19354
19355 * gdb.python/py-value-cc.cc: Improve test case to enable testing
19356 operations on gdb.Value objects.
19357 * gdb.python/py-value-cc.exp: Add new test to test operations on
19358 gdb.Value objects.
19359
c17ef0d5
DE
193602014-02-18 Doug Evans <dje@google.com>
19361
19362 * Makefile.in (TESTS): New variable.
19363 (expanded_tests, expanded_tests_or_none): New variables
19364 (check-single): Pass $(expanded_tests_or_none) to runtest.
19365 (check-parallel): Only run tests in $(TESTS) if non-empty.
19366 (check/no-matching-tests-found): New rule.
19367 * README: Document TESTS makefile variable.
19368
5dd3176f
DE
193692014-02-18 Doug Evans <dje@google.com>
19370
19371 * Makefile.in (check-parallel): rm -rf outputs temp.
19372
0b10be4f
JK
193732014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19374
19375 Fix "ERROR: no fileid for" in the testsuite.
19376 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
19377
85f224e7
DE
193782014-02-12 Doug Evans <dje@google.com>
19379
19380 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
19381 (MISCELLANEOUS): New variable.
19382 (clean): rm -rf $(MISCELLANEOUS).
19383 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
19384 dwp live in the same directory as symlinks, with each symlink pointed
19385 to a differently named file in a different directory.
19386
149b30ff
DE
193872014-02-11 Doug Evans <dje@google.com>
19388
19389 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
19390 of Tcl file commands.
19391
1dfdac32
MK
193922014-02-10 Mark Kettenis <kettenis@gnu.org>
19393
19394 * gdb.threads/step-after-sr-lock.exp: Avoid executing
19395 "kill -SIGUSR1 -1".
19396
aa4fb036
JB
193972014-02-10 Joel Brobecker <brobecker@adacore.com>
19398
19399 * gdb.ada/tick_length_array_enum_idx: New testcase.
19400
ed3ef339
DE
194012014-02-10 Doug Evans <xdje42@gmail.com>
19402
19403 * configure.ac (AC_OUTPUT): Add gdb.guile.
19404 * configure: Regenerate.
19405 * lib/gdb-guile.exp: New file.
19406 * lib/gdb.exp (get_target_charset): New function.
19407 * gdb.base/help.exp: Update expected output from "apropos apropos".
19408 * gdb.guile/Makefile.in: New file.
19409 * gdb.guile/guile.exp: New file.
19410 * gdb.guile/scm-arch.c: New file.
19411 * gdb.guile/scm-arch.exp: New file.
19412 * gdb.guile/scm-block.c: New file.
19413 * gdb.guile/scm-block.exp: New file.
19414 * gdb.guile/scm-breakpoint.c: New file.
19415 * gdb.guile/scm-breakpoint.exp: New file.
19416 * gdb.guile/scm-disasm.c: New file.
19417 * gdb.guile/scm-disasm.exp: New file.
19418 * gdb.guile/scm-equal.c: New file.
19419 * gdb.guile/scm-equal.exp: New file.
19420 * gdb.guile/scm-error.exp: New file.
19421 * gdb.guile/scm-error.scm: New file.
19422 * gdb.guile/scm-frame-args.c: New file.
19423 * gdb.guile/scm-frame-args.exp: New file.
19424 * gdb.guile/scm-frame-args.scm: New file.
19425 * gdb.guile/scm-frame-inline.c: New file.
19426 * gdb.guile/scm-frame-inline.exp: New file.
19427 * gdb.guile/scm-frame.c: New file.
19428 * gdb.guile/scm-frame.exp: New file.
19429 * gdb.guile/scm-generics.exp: New file.
19430 * gdb.guile/scm-gsmob.exp: New file.
19431 * gdb.guile/scm-iterator.c: New file.
19432 * gdb.guile/scm-iterator.exp: New file.
19433 * gdb.guile/scm-math.c: New file.
19434 * gdb.guile/scm-math.exp: New file.
19435 * gdb.guile/scm-objfile-script-gdb.in: New file.
19436 * gdb.guile/scm-objfile-script.c: New file.
19437 * gdb.guile/scm-objfile-script.exp: New file.
19438 * gdb.guile/scm-objfile.c: New file.
19439 * gdb.guile/scm-objfile.exp: New file.
19440 * gdb.guile/scm-ports.exp: New file.
19441 * gdb.guile/scm-pretty-print.c: New file.
19442 * gdb.guile/scm-pretty-print.exp: New file.
19443 * gdb.guile/scm-pretty-print.scm: New file.
19444 * gdb.guile/scm-section-script.c: New file.
19445 * gdb.guile/scm-section-script.exp: New file.
19446 * gdb.guile/scm-section-script.scm: New file.
19447 * gdb.guile/scm-symbol.c: New file.
19448 * gdb.guile/scm-symbol.exp: New file.
19449 * gdb.guile/scm-symtab-2.c: New file.
19450 * gdb.guile/scm-symtab.c: New file.
19451 * gdb.guile/scm-symtab.exp: New file.
19452 * gdb.guile/scm-type.c: New file.
19453 * gdb.guile/scm-type.exp: New file.
19454 * gdb.guile/scm-value-cc.cc: New file.
19455 * gdb.guile/scm-value-cc.exp: New file.
19456 * gdb.guile/scm-value.c: New file.
19457 * gdb.guile/scm-value.exp: New file.
19458 * gdb.guile/source2.scm: New file.
19459 * gdb.guile/types-module.cc: New file.
19460 * gdb.guile/types-module.exp: New file.
19461
7026a7c1
YQ
194622014-02-10 Yao Qi <yao@codesourcery.com>
19463
19464 PR testsuite/16543
19465 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
19466 * configure: Regenerated.
19467 * Makefile.in: New file.
19468
6c466447
AS
194692014-02-08 Andreas Schwab <schwab@linux-m68k.org>
19470
19471 * gdb.python/py-framefilter.exp: Fix typo.
19472
6e854735
YQ
194732014-02-08 Yao Qi <yao@codesourcery.com>
19474
19475 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
19476 that no =breakpoint-modified is emitted when breakpoints are
19477 modified through MI commands.
19478
d137e6dc
PA
194792014-02-07 Pedro Alves <pedro@codesourcery.com>
19480 Pedro Alves <palves@redhat.com>
19481
19482 * gdb.threads/step-after-sr-lock.c: New file.
19483 * gdb.threads/step-after-sr-lock.exp: New file.
19484
b5ee5a50
PA
194852014-02-07 Pedro Alves <palves@redhat.com>
19486
19487 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
19488
3c77faf3
JK
194892014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
19490
19491 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
19492 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
19493
6dddc817
DE
194942014-02-06 Doug Evans <xdje42@gmail.com>
19495
19496 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
19497 output.
19498
19499 * gdb.gdb/python-interrupts.exp: New file.
19500
de7b2893
YQ
195012014-02-05 Yao Qi <yao@codesourcery.com>
19502
19503 * gdb.trace/report.exp (use_collected_data): Test the output
19504 of "info threads" and "info inferiors".
19505
66d032ac
YQ
195062014-02-05 Yao Qi <yao@codesourcery.com>
19507
19508 Revert this patch:
19509
19510 2013-05-24 Yao Qi <yao@codesourcery.com>
19511
19512 * gdb.trace/tfile.exp: Test inferior and thread.
19513
591a12a1
UW
195142014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19515
19516 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
19517 on a function.
19518 * gdb.base/step-bt.c: Call hello via function pointer to make
19519 sure its first instruction is executed on powerpc64le-linux.
19520
0ff3e01f
UW
195212014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19522
19523 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
19524
084ee545
UW
195252014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19526
19527 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
19528 of the test patterns for use on little-endian systems.
19529
6ed14ff3
UW
195302014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19531
19532 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
19533 (decimal_vector): Fix for little-endian.
19534
401e27fd
JM
195352014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
19536
19537 * gdb.arch/sparc-sysstep.exp: New file.
19538 * gdb.arch/sparc-sysstep.c: Likewise.
19539
19540 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
19541
8b924729
EBM
195422014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19543
19544 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
19545
fb151210
JB
195462014-01-23 Tom Tromey <tromey@redhat.com>
19547
19548 * gdb.ada/array_char_idx: New testcase.
19549
0740f8d8
TT
195502014-01-23 Tom Tromey <tromey@redhat.com>
19551
19552 PR python/16487:
19553 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
19554 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
19555 classes.
19556
21909fa1
TT
195572014-01-23 Tom Tromey <tromey@redhat.com>
19558
19559 PR python/16491:
19560 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
19561 string from an inferior frame.
19562 * gdb.python/py-framefilter-mi.exp: Update.
19563
87ce2a04
DE
195642014-01-22 Doug Evans <dje@google.com>
19565
19566 * gdb.server/server-mon.exp: Add tests for "set debug-format".
19567
237b092b
AA
195682014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19569
19570 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
19571
d674a709
AA
195722014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19573
19574 * gdb.trace/entry-values.exp: Remove excess space character from
19575 regex patterns. Handle s390 call instruction.
19576
20fa3390
AA
195772014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19578
19579 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
19580 define "*_start" label. Make "name" static.
19581 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
19582 ${name} by references to ${name}_start.
19583
78466714
AA
195842014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19585
19586 * gdb.base/info-macros.exp: Remove "debug" from the compile
19587 options.
19588
ec9f644a
IB
195892014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19590
19591 * gdb.dlang/demangle.exp: New file.
19592
94b1b47e
IB
195932014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19594
19595 * gdb.dlang/primitive-types.exp: New file.
19596
7f420862
IB
195972014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19598
19599 * configure.ac: Create gdb.dlang/Makefile.
19600 * configure: Regenerate.
19601 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
19602 * gdb.dlang/Makefile.in: New file.
19603 * lib/d-support.exp: New file.
19604 * lib/gdb.exp (skip_d_tests): New proc.
19605
52834460
MM
196062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19607
19608 * gdb.btrace/delta.exp: Check reverse stepi.
19609 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
19610 * gdb.btrace/finish.exp: New.
19611 * gdb.btrace/next.exp: New.
19612 * gdb.btrace/nexti.exp: New.
19613 * gdb.btrace/record_goto.c: Add comments.
19614 * gdb.btrace/step.exp: New.
19615 * gdb.btrace/stepi.exp: New.
19616 * gdb.btrace/multi-thread-step.c: New.
19617 * gdb.btrace/multi-thread-step.exp: New.
19618 * gdb.btrace/rn-dl-bind.c: New.
19619 * gdb.btrace/rn-dl-bind.exp: New.
19620 * gdb.btrace/data.c: New.
19621 * gdb.btrace/data.exp: New.
19622 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19623
6e07b1d2
MM
196242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19625
19626 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
19627 * gdb.btrace/exception.exp: Update.
19628 * gdb.btrace/instruction_history.exp: Update.
19629 * gdb.btrace/record_goto.exp: Update.
19630 * gdb.btrace/tailcall.exp: Update.
19631 * gdb.btrace/unknown_functions.exp: Update.
19632 * gdb.btrace/delta.exp: New.
19633
0b722aec
MM
196342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19635
19636 * gdb.btrace/record_goto.exp: Add backtrace test.
19637 * gdb.btrace/tailcall.exp: Add backtrace test.
19638
066ce621
MM
196392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19640
19641 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
19642 * gdb.btrace/record_goto.c: New.
19643 * gdb.btrace/record_goto.exp: New.
19644 * gdb.btrace/x86-record_goto.S: New.
19645
0688d04e
MM
196462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19647
19648 * gdb.btrace/function_call_history.exp: Update tests.
19649 * gdb.btrace/instruction_history.exp: Update tests.
19650
8710b709
MM
196512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19652
19653 * gdb.btrace/function_call_history.exp: Fix expected field
19654 order for "record function-call-history".
19655 Add new tests for "record function-call-history /c".
19656 * gdb.btrace/exception.cc: New.
19657 * gdb.btrace/exception.exp: New.
19658 * gdb.btrace/tailcall.exp: New.
19659 * gdb.btrace/x86-tailcall.S: New.
19660 * gdb.btrace/x86-tailcall.c: New.
19661 * gdb.btrace/unknown_functions.c: New.
19662 * gdb.btrace/unknown_functions.exp: New.
19663 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19664
5de9129b
MM
196652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19666
19667 * gdb.btrace/instruction_history.exp: Update.
19668 * gdb.btrace/function_call_history.exp: Update.
19669
23a7fe75
MM
196702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19671
19672 * gdb.btrace/function_call_history.exp: Fix expected function
19673 trace.
19674 * gdb.btrace/instruction_history.exp: Initialize traced.
19675 Remove traced_functions.
19676
724c7dd8
MM
196772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19678
19679 * gdb.btrace/function_call_history.exp: Update
19680 * gdb.btrace/instruction_history.exp: Update.
19681
6d78d93b
MM
196822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19683
19684 * gdb.btrace/enable.exp: Update expected text.
19685
93a360cc
OJ
196862014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
19687
19688 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
19689 bytes.
19690
3772b53f
MR
196912014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
19692
19693 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
19694
596662fa
OJ
196952014-01-15 Omair Javaid <omair.javaid@linaro.org>
19696
19697 * lib/gdb.exp (supports_process_record): Return true for
19698 arm*-linux*. (supports_reverse): Likewise.
19699
b5b08fb4
SC
197002014-01-13 Siva Chandra Reddy <sivachandra@google.com>
19701
19702 PR python/15464
19703 PR python/16113
19704 * gdb.python/py-type.c: Enhance test case.
19705 * gdb.python/py-value-cc.cc: Likewise
19706 * gdb.python/py-type.exp: Add new tests.
19707 * gdb.python/py-value-cc.exp: Likewise
19708
52d7fb13
AA
197092014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19710 Pedro Alves <palves@redhat.com>
19711
19712 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
19713 Make "name" extern.
19714 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
19715 references to ${name}_start by references to ${name}.
19716
a2cd8cfe
JB
197172014-01-10 Joel Brobecker <brobecker@adacore.com>
19718
19719 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
19720
4e23fced
JB
197212014-01-10 Joel Brobecker <brobecker@adacore.com>
19722
19723 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
19724
c6a9e42c
PA
197252014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
19726 Pedro Alves <palves@redhat.com>
19727
19728 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 19729 mi_gdb_target_load.
c6a9e42c 19730
b7ea362b
PA
197312014-01-08 Pedro Alves <palves@redhat.com>
19732
19733 * gdb.threads/reconnect-signal.c: New file.
19734 * gdb.threads/reconnect-signal.exp: New file.
19735
5e3f4fab
EBM
197362014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19737
19738 * gdb.base/source-dir.exp: New file.
19739
79301218
JB
197402014-01-07 Joel Brobecker <brobecker@adacore.com>
19741
19742 * gdb.ada/mi_interface: New testcase.
19743
8e355c5d
JB
197442014-01-07 Joel Brobecker <brobecker@adacore.com>
19745
19746 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
19747 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
19748 gdb.ada/pp-rec-component/pck.ads: New files.
19749
c0d48811
JB
197502014-01-07 Joel Brobecker <brobecker@adacore.com>
19751
19752 * gdb.python/py-pp-integral.c: New file.
19753 * gdb.python/py-pp-integral.py: New file.
19754 * gdb.python/py-pp-integral.exp: New file.
19755
17b609c3 19756For older changes see ChangeLog-1993-2013.
c906108c 19757\f
8d8cb839
EZ
19758;; Local Variables:
19759;; mode: change-log
19760;; left-margin: 8
19761;; fill-column: 74
19762;; version-control: never
19763;; End:
902f2ccb 19764
b811d2c2 19765 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
19766 Copying and distribution of this file, with or without modification,
19767 are permitted provided the copyright notice and this notice are preserved.