]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
PR25993, read of freed memory
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
76571211
TT
12020-05-19 Tom Tromey <tromey@adacore.com>
2
3 * gdb.rust/simple.exp: Restore missing test result.
4
4cd9f3d5
TV
52020-05-19 Tom de Vries <tdevries@suse.de>
6
7 * gdb.base/gdb-caching-proc.exp: Fix typo.
8
7d874253
TT
92020-05-19 Tom Tromey <tromey@adacore.com>
10
11 * gdb.rust/simple.exp: Add some test descriptions.
12 (test_one_slice): Use with_test_prefix.
13
1d727695
TV
142020-05-18 Tom de Vries <tdevries@suse.de>
15
16 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
17
7f32a4d5
PA
182020-05-17 Pedro Alves <palves@redhat.com>
19
20 PR gdb/25741
21 * gdb.base/hw-sw-break-same-address.exp: New file.
22
7cfd74cf
PA
232020-05-16 Pedro Alves <palves@redhat.com>
24
25 * gdb.multi/multi-re-run.exp (test_re_run): Switch
26 LAST_LOADED_FILE accordingly.
27
57b4f16e
PW
282020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
29
30 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
31
7c05caf7
PW
322020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
33
34 * gdb.base/help.exp: Test apropos and help for commands
35 having aliases. Fixed comments not starting with an
36 upper-case letter or not finishing with a dot.
37
7aa1b46f
PW
382020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
39
3b3aaacb
PW
40 * gdb.base/alias.exp: Update help output check.
41
57b4f16e 422020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 43
7aa1b46f
PW
44 * gdb.base/default.exp: Update output following fixes.
45
0605465f
PW
462020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
47
48 * gdb.base/alias.exp: Test aliases starting with a prefix of
49 another alias.
50
86e4e63d
GB
512020-05-15 Gary Benson <gbenson@redhat.com>
52
53 * gdb.base/info-os.c (main): Add return statement.
54 * gdb.base/info_minsym.c (minsym_fun): Likewise.
55 * gdb.base/large-frame-2.c (func): Likewise.
56 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
57 * gdb.base/pr10179-b.c (foo2): Likewise.
58 * gdb.base/valgrind-disp-step.c (foo): Likewise.
59 * gdb.base/watch-cond.c (func): Likewise.
60 * gdb.multi/goodbye.c (verylongfun): Likewise.
61 * gdb.multi/hello.c (commonfun): Likewise.
62 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
63 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
64 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
65 Likewise.
66 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
67 * gdb.threads/interrupt-while-step-over.c (child_function):
68 Likewise.
69 * gdb.trace/actions-changed.c (end): Likewise.
70
163df4df
GB
712020-05-15 Gary Benson <gbenson@redhat.com>
72
73 * gdb.opencl/callfuncs.exp: Report when test skipped.
74 * gdb.opencl/convs_casts.exp: Likewise.
75 * gdb.opencl/datatypes.exp: Likewise.
76 * gdb.opencl/operators.exp: Likewise.
77 * gdb.opencl/vec_comps.exp: Likewise.
78
6dbc505a
TV
792020-05-15 Tom de Vries <tdevries@suse.de>
80
81 * gdb.base/align.exp.in: Rename to ...
82 * gdb.base/align.exp.tcl: ... this.
83 * gdb.base/align-c++.exp: Update.
84 * gdb.base/align-c.exp: Update.
85 * gdb.base/all-architectures.exp.in: Rename to ...
86 * gdb.base/all-architectures.exp: ... this.
87 * gdb.base/all-architectures-0.exp: Update.
88 * gdb.base/all-architectures-1.exp: Update.
89 * gdb.base/all-architectures-2.exp: Update.
90 * gdb.base/all-architectures-3.exp: Update.
91 * gdb.base/all-architectures-4.exp: Update.
92 * gdb.base/all-architectures-5.exp: Update.
93 * gdb.base/all-architectures-6.exp: Update.
94 * gdb.base/all-architectures-7.exp: Update.
95 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
96 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
97 * gdb.base/infcall-nested-structs-c++.exp: Update.
98 * gdb.base/infcall-nested-structs-c.exp: Update.
99 * gdb.base/info-types.exp.in: Rename to ...
100 * gdb.base/info-types.exp.tcl: ... this.
101 * gdb.base/info-types-c++.exp: Update.
102 * gdb.base/info-types-c.exp: Update.
103 * gdb.base/max-depth.exp.in: Rename to ...
104 * gdb.base/max-depth.exp.tcl: ... this.
105 * gdb.base/max-depth-c++.exp: Update.
106 * gdb.base/max-depth-c.exp: Update.
107 * gdb.cp/cpexprs.exp.in: Rename to ...
108 * gdb.cp/cpexprs.exp.tcl: ... this.
109 * gdb.cp/cpexprs-debug-types.exp: Update.
110 * gdb.cp/cpexprs.exp: Update.
111 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
112 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
113 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
114 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
115 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
116 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
117 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
118 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
119 * gdb.dwarf2/clang-debug-names-2.exp: Update.
120 * gdb.dwarf2/clang-debug-names.exp: Update.
121
d1034d78
AB
1222020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
123
124 * lib/check-test-names.exp: Remove code that prevents this file
125 loading when tests are run in parallel.
126
3c5c3649
PA
1272020-05-15 Pedro Alves <palves@redhat.com>
128
129 * gdb.multi/multi-kill.exp (start_inferior): Remove
130 'testpid' parameter. Refer to namespace variable directly.
131 (testpid): Declare as namespace variable.
132
272c36b8
PA
1332020-05-15 Pedro Alves <palves@redhat.com>
134
135 * gdb.multi/multi-kill.exp: Wrap in namespace.
136 (start_inferior): Add TESTPID parameter. Use it instead of the
137 testpid global.
138 (top level): Define empty TESTPID array, and pass it down to
139 start_inferior.
140
02eba61a
TV
1412020-05-14 Tom de Vries <tdevries@suse.de>
142
143 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
144 output.
145
971a3747
TV
1462020-05-14 Tom de Vries <tdevries@suse.de>
147
148 * gdb.base/align.exp: Split into ...
149 * gdb.base/align.exp.in: ...
150 * gdb.base/align-c++.exp: ...
151 * gdb.base/align-c.exp: ... these.
152 * gdb.base/infcall-nested-structs.exp: Split into ...
153 * gdb.base/infcall-nested-structs.exp.in: ...
154 * gdb.base/infcall-nested-structs-c++.exp: ...
155 * gdb.base/infcall-nested-structs-c.exp: ... these.
156 * gdb.base/info-types.exp: Split into ...
157 * gdb.base/info-types.exp.in: ...
158 * gdb.base/info-types-c++.exp: ...
159 * gdb.base/info-types-c.exp: ... these.
160 * gdb.base/max-depth.exp: Split into ...
161 * gdb.base/max-depth.exp.in: ...
162 * gdb.base/max-depth-c++.exp: ...
163 * gdb.base/max-depth-c.exp: ... these.
164 * gdb.cp/infcall-nodebug.exp: Split into ...
165 * gdb.cp/infcall-nodebug.exp.in: ...
166 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
167 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
168 * gdb.cp/infcall-nodebug-c-d0.exp: ...
169 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
170
a05575d3
TBA
1712020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
172 Pedro Alves <palves@redhat.com>
173
174 * gdb.multi/multi-exit.c: New file.
175 * gdb.multi/multi-exit.exp: New file.
176 * gdb.multi/multi-kill.c: New file.
177 * gdb.multi/multi-kill.exp: New file.
178
6ad82919
TBA
1792020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
180
181 * gdb.base/annota1.exp: Update the expected output.
182 * gdb.cp/annota2.exp: Ditto.
183
843f4d93
AB
1842020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
185
186 * lib/check-test-names.exp: Disable when testing is being run in
187 parallel.
188
c7c66341
TV
1892020-05-12 Tom de Vries <tdevries@suse.de>
190
191 * gdb.base/jit-elf.exp: Fix string concat.
192
1b59ca1c
TV
1932020-05-12 Tom de Vries <tdevries@suse.de>
194
195 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
196 messages.
197
b4991d29
TV
1982020-05-12 Tom de Vries <tdevries@suse.de>
199
200 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
201
dbb0ab10
TV
2022020-05-12 Tom de Vries <tdevries@suse.de>
203
204 * gdb.ada/catch_ex.exp: Use with_test_prefix.
205 * gdb.ada/mi_catch_ex.exp: Same.
206 * gdb.ada/mi_catch_ex_hand.exp: Same.
207
7549fed8
TV
2082020-05-12 Tom de Vries <tdevries@suse.de>
209
210 * gdb.fortran/complex.exp: Use with_test_prefix.
211
af2d5cd8
TV
2122020-05-12 Tom de Vries <tdevries@suse.de>
213
214 * gdb.trace/passcount.exp: Fix test-names.
215
7c121311
TV
2162020-05-12 Tom de Vries <tdevries@suse.de>
217
218 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
219
c9f3b40e
TV
2202020-05-12 Tom de Vries <tdevries@suse.de>
221
222 * gdb.gdb/complaints.exp: Use with_test_prefix.
223 * gdb.xml/tdesc-regs.exp: Same.
224 * gdb.opt/inline-locals.exp: Fix test name.
225
111b33f0
TV
2262020-05-12 Tom de Vries <tdevries@suse.de>
227
228 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
229 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
230 * gdb.dwarf2/implref-struct.exp: Same.
231 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
232 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
233
ebf47080
SM
2342020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
235
236 * gdb.base/jit-so.exp (one_jit_test): Change test name.
237
d30dcd12
AB
2382020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
239
240 * lib/check-test-names.exp (all_test_names): New module variable.
241 (counts): Add 'duplicates' field.
242 (_check_duplicates): New procedure.
243 (check): Also check for duplicates.
244 (do_log_summary): Print duplicates count.
245 (do_reset_vars): Reset counter for duplicate test names, and
246 discard all know test names.
247
34584c09
AB
2482020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
249
250 * lib/gdb.exp: Include check-test-names.exp library.
251 * lib/check-test-names.exp: New file.
252
e0002117
TV
2532020-05-11 Tom de Vries <tdevries@suse.de>
254
255 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
256
53f539a3
KS
2572020-05-11 Keith Seitz <keiths@redhat.com>
258
259 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
260
113ee09a
TV
2612020-05-11 Tom de Vries <tdevries@suse.de>
262
263 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
264 * gdb.cp/cpexprs.exp.in: .. here.
265 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
266 cpexprs.exp.
267
ba3e70b0
KS
2682020-05-11 Keith Seitz <keiths@redhat.com>
269
270 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
271 test names.
272 * gdb.ada/arrayptr.exp: Likewise.
273 * gdb.ada/assign_arr.exp: Likewise.
274 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
275 * gdb.ada/bp_on_var.exp: Likewise.
276 * gdb.ada/call_pn.exp: Likewise.
277 * gdb.ada/complete.exp: Likewise.
278 * gdb.ada/fun_overload_menu.exp: Likewise.
279 * gdb.ada/funcall_param.exp: Likewise.
280 * gdb.ada/funcall_ref.exp: Likewise.
281 * gdb.ada/packed_array_assign.exp: Likewise.
282 * gdb.ada/same_component_name.exp: Likewise.
283 * gdb.ada/type_coercion.exp: Likewise.
284 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
285 * gdb.ada/variant_record_packed_array.exp: Likewise.
286
3ee6bb11
TV
2872020-05-11 Tom de Vries <tdevries@suse.de>
288
289 PR symtab/25941
290 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
291 out of ...
292 * gdb.dwarf2/clang-debug-names.exp: ... here.
293 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
294 clang-debug-names.exp.in.
295 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
296 * gdb.dwarf2/clang-debug-names-2.c: New test.
297
86cd6bc8
AKS
2982020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
299
300 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
301 (fortran_runto_main): New Proc, fortran version of runto_main.
302 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
303 * gdb.fortran/array-bounds.exp: Likewise.
304 * gdb.fortran/array-slices.exp: Likewise.
305 * gdb.fortran/block-data.exp: Likewise.
306 * gdb.fortran/charset.exp: Likewise.
307 * gdb.fortran/common-block.exp: Likewise.
308 * gdb.fortran/complex.exp: Likewise.
309 * gdb.fortran/derived-type-function.exp: Likewise.
310 * gdb.fortran/derived-type.exp: Likewise.
311 * gdb.fortran/info-modules.exp: Likewise.
312 * gdb.fortran/info-types.exp: Likewise.
313 * gdb.fortran/intrinsics.exp: Likewise.
314 * gdb.fortran/library-module.exp: Likewise.
315 * gdb.fortran/logical.exp: Likewise.
316 * gdb.fortran/max-depth.exp: Likewise.
317 * gdb.fortran/module.exp: Likewise.
318 * gdb.fortran/multi-dim.exp: Likewise.
319 * gdb.fortran/nested-funcs.exp: Likewise.
320 * gdb.fortran/print-formatted.exp: Likewise.
321 * gdb.fortran/print_type.exp: Likewise.
322 * gdb.fortran/printing-types.exp: Likewise.
323 * gdb.fortran/ptr-indentation.exp: Likewise.
324 * gdb.fortran/ptype-on-functions.exp: Likewise.
325 * gdb.fortran/subarray.exp: Likewise.
326 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
327 * gdb.fortran/vla-datatypes.exp: Likewise.
328 * gdb.fortran/vla-history.exp: Likewise.
329 * gdb.fortran/vla-ptr-info.exp: Likewise.
330 * gdb.fortran/vla-ptype-sub.exp: Likewise.
331 * gdb.fortran/vla-ptype.exp: Likewise.
332 * gdb.fortran/vla-sizeof.exp: Likewise.
333 * gdb.fortran/vla-type.exp: Likewise.
334 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
335 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
336 * gdb.fortran/vla-value-sub.exp: Likewise.
337 * gdb.fortran/vla-value.exp: Likewise.
338 * gdb.fortran/whatis_type.exp: Likewise.
339 * gdb.mi/mi-var-child-f.exp: Likewise.
340
6dc55ce9 3412020-05-09 Tom de Vries <tdevries@suse.de>
342
343 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
344
283cb58c
TV
3452020-05-08 Tom de Vries <tdevries@suse.de>
346
347 * gdb.dwarf2/clang-debug-names.c: New test.
348 * gdb.dwarf2/clang-debug-names.exp: New file.
349
ac4a4f1c
SM
3502020-05-06 Simon Marchi <simon.marchi@efficios.com>
351
352 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
353 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
354
24fe640b
TV
3552020-05-06 Tom de Vries <tdevries@suse.de>
356
357 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
358 breakpoint is at a "recommended breakpoint location".
359 * gdb.reverse/consecutive-reverse.exp: Same.
360
0d8683a3
TV
3612020-05-06 Tom de Vries <tdevries@suse.de>
362
363 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
364 address.
365
b8983c46
TV
3662020-05-06 Tom de Vries <tdevries@suse.de>
367
368 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
369
abf6d805
TV
3702020-05-06 Tom de Vries <tdevries@suse.de>
371
372 * gdb.base/store.exp (check_set, up_set): Allowing missing location
373 info for r.
374
0fc2a808
TV
3752020-05-06 Tom de Vries <tdevries@suse.de>
376
377 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
378 necessary.
379
873dd427
TV
3802020-05-06 Tom de Vries <tdevries@suse.de>
381
382 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
383 void.
384
7c99e7e2
TV
3852020-05-06 Tom de Vries <tdevries@suse.de>
386
387 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
388 of ...
389 * gdb.base/async.exp: ... here.
390 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
391 "recommended breakpoint location".
392
6173d6a6
TV
3932020-05-06 Tom de Vries <tdevries@suse.de>
394
395 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
396
6015a067
TV
3972020-05-04 Tom de Vries <tdevries@suse.de>
398
399 * gdb.base/async.exp: Check whether instruction addresses are a
400 "recommended breakpoint location".
401
3b6acaee
TT
4022020-05-03 Tom Tromey <tom@tromey.com>
403
404 * gdb.base/sepdebug.exp: Remove "catch" test.
405 * gdb.base/break.exp: Remove "catch" test.
406 * gdb.base/default.exp: Update expected output.
407
5beb4d17
TV
4082020-05-02 Tom de Vries <tdevries@suse.de>
409
410 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
411 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
412 * gdb.arch/i386-mpx-map.exp: Same.
413 * gdb.arch/i386-mpx-sigsegv.exp: Same.
414 * gdb.arch/i386-mpx-simple_segv.exp: Same.
415 * gdb.arch/i386-mpx.exp: Same.
416
8caf140d
TV
4172020-05-02 Tom de Vries <tdevries@suse.de>
418
419 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
420
693196cb
TV
4212020-05-01 Tom de Vries <tdevries@suse.de>
422
423 * gdb.ada/operator_bp.exp: Allow more than required amount of
424 breakpoint.
425
53ae0aa9
TV
4262020-05-01 Tom de Vries <tdevries@suse.de>
427
428 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
429
ee9d1e5f
HD
4302020-04-30 Hannes Domani <ssbssa@yahoo.de>
431
432 PR gdb/18706
433 * gdb.cp/stub-array-size.cc: New test.
434 * gdb.cp/stub-array-size.exp: New file.
435 * gdb.cp/stub-array-size.h: New test.
436 * gdb.cp/stub-array-size2.cc: New test.
437
d5cf82c0
HD
4382020-04-30 Hannes Domani <ssbssa@yahoo.de>
439
440 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
441 output to the new format.
442
42e165c3
SM
4432020-04-29 Simon Marchi <simon.marchi@efficios.com>
444
445 * gdb.base/break.exp: Use with_test_prefix.
446
6e4e3fe1
TV
4472020-04-29 Tom de Vries <tdevries@suse.de>
448
449 * lib/gdb.exp (debug_types): New proc.
450 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
451 * gdb.python/py-symtab.exp: Same.
452
d642b692
HD
4532020-04-29 Hannes Domani <ssbssa@yahoo.de>
454
455 PR gdb/17320
456 * gdb.base/pretty-array.c: New test.
457 * gdb.base/pretty-array.exp: New file.
458
ea90f227
TV
4592020-04-29 Tom de Vries <tdevries@suse.de>
460
461 PR symtab/25889
462 * gdb.cp/cpexprs.exp: Adapt for inclusion.
463 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
464 and include cpexprs.exp.
465
a65189c9
TV
4662020-04-28 Mark Williams <mark@myosotissp.com>
467
468 PR gdb/24480
469 * dw4-toplevel-types.exp: Test for top level types.
470 * dw4-toplevel-types.cc: Test for top level types.
471
32d1f47a
TBA
4722020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
473
474 * gdb.threads/stop-with-handle.exp: Fix typo in comment
475 (theads -> threads).
476
56a4f5a1
TV
4772020-04-28 Tom de Vries <tdevries@suse.de>
478
479 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
480
0b2f8a3b
TV
4812020-04-28 Tom de Vries <tdevries@suse.de>
482
483 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
484
5390c717
TV
4852020-04-28 Tom de Vries <tdevries@suse.de>
486
487 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
488
15cd93d0
TV
4892020-04-28 Tom de Vries <tdevries@suse.de>
490
491 * gdb.dwarf2/main-foo.c: New test.
492 * gdb.dwarf2/struct-with-sig.exp: New file.
493
d472f0fb
TV
4942020-04-25 Tom de Vries <tdevries@suse.de>
495
496 * boards/debug-types.exp: New file.
497
8d840e05
AB
4982020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
499
500 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
501
bcfe6157
TT
5022020-04-24 Tom Tromey <tom@tromey.com>
503
504 PR symtab/12707:
505 * gdb.python/py-symbol.exp: Update expected results for
506 linkage_name test.
507 * gdb.cp/print-demangle.exp: New file.
508 * gdb.base/c-linkage-name.exp: Fix test.
509 * gdb.guile/scm-symbol.exp: Update expected results for
510 linkage_name test.
511
f049a313
TT
5122020-04-24 Tom Tromey <tom@tromey.com>
513
514 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
515 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
516 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
517 assembler.
518
7cf28874
TV
5192020-04-24 Tom de Vries <tdevries@suse.de>
520
521 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
522 C++.
523
dac2fef7
TT
5242020-04-24 Tom Tromey <tromey@adacore.com>
525
526 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
527 values.
528 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
529 values. Update test for minimal encodings.
530 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
531 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
532 values. Update test for minimal encodings.
533
1acda803
TT
5342020-04-24 Tom Tromey <tromey@adacore.com>
535
536 PR python/23662:
537 * gdb.ada/variant.exp: Add Python checks.
538 * gdb.rust/simple.exp: Add dynamic type checks.
539
adfb9815
TT
5402020-04-24 Tom Tromey <tromey@adacore.com>
541
542 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
543 Make array type matching more lax.
544 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
545 * gdb.ada/mi_variant.exp: New file.
546 * gdb.ada/mi_variant/pck.ads: New file.
547 * gdb.ada/mi_variant/pkg.adb: New file.
548 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
549 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
550
7d79de9a
TT
5512020-04-24 Tom Tromey <tromey@adacore.com>
552
553 * gdb.ada/variant.exp: Add dynamic field offset tests.
554 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
555 * gdb.ada/variant/pkg.adb: Add new variables.
556
f8e89861
TT
5572020-04-24 Tom Tromey <tromey@adacore.com>
558
559 * gdb.ada/variant.exp: New file
560 * gdb.ada/variant/pkg.adb: New file
561 * gdb.ada/variant/pck.adb: New file
562
86e887ae
TV
5632020-04-24 Tom de Vries <tdevries@suse.de>
564
565 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
566
88428775
TV
5672020-04-24 Tom de Vries <tdevries@suse.de>
568
569 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
570 flags.
571
4e86f6e7
TV
5722020-04-24 Tom de Vries <tdevries@suse.de>
573
574 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
575
2016d3e6
TV
5762020-04-24 Tom de Vries <tdevries@suse.de>
577
578 * lib/gdb.exp (default_gdb_start): Handle eof.
579 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
580 failure.
581 * gdb.base/readnever.exp: Handle clean_restart failure.
582
70bc38f5
TV
5832020-04-23 Tom de Vries <tdevries@suse.de>
584
585 * gdb.base/decl-before-def.exp: Run to main and print a again.
586
de82891c
TV
5872020-04-23 Tom de Vries <tdevries@suse.de>
588
589 * gdb.base/decl-before-def-decl.c: New test.
590 * gdb.base/decl-before-def-def.c: New test.
591 * gdb.base/decl-before-def.exp: New file.
592
96038148
TV
5932020-04-23 Tom de Vries <tdevries@suse.de>
594
595 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
596
54ac3df1
TV
5972020-04-22 Tom de Vries <tdevries@suse.de>
598
599 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
600 debug_info_offset.
601 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
602 before $objsfile in the line line.
603
714534e1
TV
6042020-04-22 Tom de Vries <tdevries@suse.de>
605
606 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
607
16a7dbf4
MS
6082020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
609
610 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
611 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
612 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
613 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
614 * gdb.base/jit-protocol.h: Update definitions to match all usage
615 contexts.
616
6172020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
618
619 * gdb.base: Rename all jit related test and source files.
620
6212020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
622
623 * gdb.base/jit-reader.exp: Relax register output check.
624
317d2668
TV
6252020-04-22 Tom de Vries <tdevries@suse.de>
626
627 PR symtab/25764
628 * gdb.base/psym-external-decl-2.c: New test.
629 * gdb.base/psym-external-decl.c: New test.
630 * gdb.base/psym-external-decl.exp: New file.
631 * gdb.threads/tls.exp: Add PR25807 kfail.
632
eea9e357
TV
6332020-04-22 Tom de Vries <tdevries@suse.de>
634
635 PR symtab/25801
636 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
637 in "info source" output.
638
3d5afab3
TV
6392020-04-22 Tom de Vries <tdevries@suse.de>
640
641 PR symtab/25700
642 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
643 symtab for imported_unit.c.
644
b32102f6
GB
6452020-04-21 Gary Benson <gbenson@redhat.com>
646
647 * gdb.base/advance.c (func): New argument, to match call site.
648 (func2, func3): Add return statements.
649
d43b7a2d
TBA
6502020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
651
652 * gdb.multi/run-only-second-inf.c: New file.
653 * gdb.multi/run-only-second-inf.exp: New file.
654
d89edf9b
MM
6552020-04-21 Markus Metzger <markus.t.metzger@intel.com>
656
657 * gdb.btrace/multi-inferior.c: New test.
658 * gdb.btrace/multi-inferior.exp: New file.
659
1a476b6d
MM
6602020-04-21 Markus Metzger <markus.t.metzger@intel.com>
661
662 * gdb.btrace/enable-new-thread.c: New test.
663 * gdb.btrace/enable-new-thread.exp: New file.
664
4778a5f8
TV
6652020-04-21 Tom de Vries <tdevries@suse.de>
666
667 PR gdb/25471
668 * gdb.threads/killed-outside.c: New test.
669 * gdb.threads/killed-outside.exp: New file.
670
9b2c992c
GB
6712020-04-20 Gary Benson <gbenson@redhat.com>
672
673 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
674 * gdb.base/nested-subp2.exp: Likewise.
675 * gdb.base/nested-subp3.exp: Likewise.
676
b5d1d6f7
GB
6772020-04-20 Gary Benson <gbenson@redhat.com>
678
679 * gdb.base/nested-subp1.exp: Disable test when using clang.
680 * gdb.base/nested-subp2.exp: Likewise.
681 * gdb.base/nested-subp3.exp: Likewise.
682
25230285
GB
6832020-04-20 Gary Benson <gbenson@redhat.com>
684
685 * gdb.cp/exception.cc: Fix compilation error with clang.
686
fa93cc8f
GB
6872020-04-20 Gary Benson <gbenson@redhat.com>
688
809730f3 689 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 690
e0c45f30
GB
6912020-04-20 Gary Benson <gbenson@redhat.com>
692
693 * gdb.base/jit-main.c: Fix compilation error with clang.
694
4ddfec93
KR
6952020-04-17 Kamil Rytarowski <n54@gmx.com>
696
697 * gdb.base/attach-twice.c: Include "sys/types.h".
698 (PTRACE_ATTACH): Add fallback definition.
699 (main): Pass `0' to the 4th argument of `ptrace'.
700
2bed205e
KR
7012020-04-17 Kamil Rytarowski <n54@gmx.com>
702
703 * gdb.base/fork-running-state.c: Include "signal.h".
704
0743fc83
TT
7052020-04-17 Tom Tromey <tromey@adacore.com>
706
707 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
708 Update tests.
709 * gdb.btrace/cpu.exp: Update tests.
710 * gdb.base/maint.exp: Update tests.
711 * gdb.base/default.exp: Update tests.
712 * gdb.base/completion.exp: Update tests.
713
efba5c23
TV
7142020-04-16 Tom de Vries <tdevries@suse.de>
715
716 PR symtab/25791
717 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
718 (ensure_gdb_index): and factor out and move ...
719 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
720 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
721
d191d716
TV
7222020-04-16 Tom de Vries <tdevries@suse.de>
723
724 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
725 loading exec.
726
99f1bc6a
AB
7272020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
728
729 * gdb.base/many-completions.exp: New file.
730
194d088f
TV
7312020-04-14 Tom de Vries <tdevries@suse.de>
732
733 PR symtab/25718
734 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
735
c1a66c06
TV
7362020-04-14 Tom de Vries <tdevries@suse.de>
737
738 PR symtab/25720
739 * gdb.base/maint-expand-symbols-header-file.c: New test.
740 * gdb.base/maint-expand-symbols-header-file.exp: New file.
741 * gdb.base/maint-expand-symbols-header-file.h: New test.
742
21b0982c
AB
7432020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
744
745 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
746 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
747 get_func_info.
748 (get_func_info): Delete.
749 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
750 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
751 * lib/dwarf.exp (get_func_info): New function.
752
dd1cab06
TV
7532020-04-13 Tom de Vries <tdevries@suse.de>
754
755 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
756 to what find_gnatmake does.
757
71ea2b6b
TV
7582020-04-10 Tom de Vries <tdevries@suse.de>
759
760 * gdb.base/style.exp: Expect "Expanding full symbols" message for
761 -readnow.
762
bdfc1e8a
TV
7632020-04-10 Tom de Vries <tdevries@suse.de>
764
765 PR cli/25808
766 * gdb.base/style.c: Add leading newlines.
767 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
768 Check listing of main's one-line body.
769
14ca8ecf
TV
7702020-04-08 Tom de Vries <tdevries@suse.de>
771
772 * lib/gdb.exp (psymtabs_p): New proc.
773 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
774 importing unit" unsupported if there are no partial symbols.
775
e21d048f
TV
7762020-04-08 Tom de Vries <tdevries@suse.de>
777
778 PR testsuite/25760
779 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
780
25c11aca
TV
7812020-04-07 Tom de Vries <tdevries@suse.de>
782
783 PR symtab/25796
784 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
785
5707e24b
TV
7862020-04-07 Tom de Vries <tdevries@suse.de>
787
788 * gdb.base/check-psymtab.c: New test.
789 * gdb.base/check-psymtab.exp: New file.
790
6ee448cc
TT
7912020-04-06 Tom Tromey <tromey@adacore.com>
792
793 * gdb.ada/variant-record/proc.adb: New file.
794 * gdb.ada/variant-record/value.adb: New file.
795 * gdb.ada/variant-record/value.s: New file.
796 * gdb.ada/variant-record.exp: New file.
797
9e7c9a03
HD
7982020-04-03 Hannes Domani <ssbssa@yahoo.de>
799
800 PR gdb/25325
801 * gdb.cp/typed-enum.cc: New test.
802 * gdb.cp/typed-enum.exp: New file.
803
c90d28ac
AB
8042020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
805
806 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
807 * gdb.dwarf2/dw2-inline-small-func.c: New file.
808 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
809 * gdb.dwarf2/dw2-inline-small-func.h: New file.
810 * gdb.opt/inline-small-func.c: New file.
811 * gdb.opt/inline-small-func.exp: New file.
812 * gdb.opt/inline-small-func.h: New file.
813
34e9a9fa
AB
8142020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
815
816 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
817 function.
818
6a354911
AB
8192020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
820
821 * lib/dwarf.exp (function_range): Allow compiler options to be
822 specified.
823
880d9777
TV
8242020-04-02 Tom de Vries <tdevries@suse.de>
825
826 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
827 __attribute__((always_inline)).
828 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
829
f32682ea
TV
8302020-04-02 Tom de Vries <tdevries@suse.de>
831
832 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
833 (gdbserver_gdb_exit): ... here. Add timeout warning.
834 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
835 (connect_target_extended_remote): Append new server_spawn_id to
836 server_spawn_ids.
837 (cleanup): New proc.
838 (setup, <toplevel>): Call cleanup.
839
d3214198
TV
8402020-04-02 Tom de Vries <tdevries@suse.de>
841
842 * gdb.base/main-psymtab.exp: New file.
843
cc77ed24
TV
8442020-04-02 Tom de Vries <tdevries@suse.de>
845
846 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
847
3638a098
TT
8482020-04-01 Tom Tromey <tom@tromey.com>
849
850 * gdb.base/complex-parts.exp: Add type tests.
851
c34e8714
TT
8522020-04-01 Tom Tromey <tom@tromey.com>
853
854 * gdb.base/complex-parts.exp: Add arithmetic tests.
855
981c08ce
TT
8562020-04-01 Tom Tromey <tom@tromey.com>
857
858 * gdb.compile/compile.exp: Update.
859 * gdb.compile/compile-cplus.exp: Update.
860 * gdb.base/varargs.exp: Update.
861 * gdb.base/floatn.exp: Update.
862 * gdb.base/endianity.exp: Update.
863 * gdb.base/callfuncs.exp (do_function_calls): Update.
864 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
865 (complex_float_integral_args): Update.
866 * gdb.base/complex.exp: Update.
867 * gdb.base/complex-parts.exp: Update.
868
3d1cfd43
TT
8692020-04-01 Tom Tromey <tromey@adacore.com>
870
871 * gdb.rust/union.rs: New file.
872 * gdb.rust/union.exp: New file.
873 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
874 (main): Update.
875 * gdb.rust/simple.exp: Move union tests to union.exp.
876
e033dfa9
TT
8772020-04-01 Tom Tromey <tromey@adacore.com>
878
879 * gdb.rust/simple.rs (main): Remove "y0".
880
53cccef1
TBA
8812020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
882
883 * gdb.multi/stop-all-on-exit.c: New test.
884 * gdb.multi/stop-all-on-exit.exp: New file.
885
60e22c1e
HD
8862020-04-01 Hannes Domani <ssbssa@yahoo.de>
887
888 PR gdb/24789
889 * gdb.cp/misc.cc: Add integer reference variable.
890 * gdb.cp/misc.exp: Add test.
891
e139a727
TBA
8922020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
893
894 * gdb.server/stop-reply-no-thread.exp: Enhance the test
895 scenario to cover execution until the end and also the case
896
16b0db75
TV
8972020-03-31 Tom de Vries <tdevries@suse.de>
898
899 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
900 c. Use "maint info symtabs" to check symtab expansion.
901
c0502da6
TV
9022020-03-30 Tom de Vries <tdevries@suse.de>
903
904 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
905 unsupported.
906 (verify_psymtab_expanded): Move ...
907 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
908 test.
909 (readnow): New proc.
910
5935fd15
AB
9112020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
912
913 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
914 with $hex.
915
1773be9e
TT
9162020-03-20 Tom Tromey <tromey@adacore.com>
917
918 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
919
70304be9
TT
9202020-03-20 Tom Tromey <tromey@adacore.com>
921
922 * gdb.ada/sub_variant/subv.adb: New file.
923 * gdb.ada/sub_variant.exp: New file.
924
0dd7b8f7
TV
9252020-03-20 Tom de Vries <tdevries@suse.de>
926
927 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
928 first break fails.
929 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
930
cada5fc9
AB
9312020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
932
933 * gdb.server/exit-multiple-threads.c: New file.
934 * gdb.server/exit-multiple-threads.exp: New file.
935
6b8c53f2
AB
9362020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
937
938 * gdb.fortran/mixed-lang-stack.c: New file.
939 * gdb.fortran/mixed-lang-stack.cpp: New file.
940 * gdb.fortran/mixed-lang-stack.exp: New file.
941 * gdb.fortran/mixed-lang-stack.f90: New file.
942
19a2740f
AB
9432020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
944
945 * gdb.linespec/cp-completion-aliases.cc: New file.
946 * gdb.linespec/cp-completion-aliases.exp: New file.
947
d8c8b848
TV
9482020-03-19 Tom de Vries <tdevries@suse.de>
949
950 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
951 more precise.
952
a9933ccf
TV
9532020-03-18 Tom de Vries <tdevries@suse.de>
954
955 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
956 * gdb.dwarf2/break-inline-psymtab.c: New test.
957 * gdb.dwarf2/break-inline-psymtab.exp: New file.
958
2f89101f
TV
9592020-03-16 Tom de Vries <tdevries@suse.de>
960
961 * lib/cache.exp (gdb_do_cache): Add and handle local variables
962 cache_verify and cache_verify_proc.
963
6b9374f1
TV
9642020-03-15 Tom de Vries <tdevries@suse.de>
965
966 * gdb.server/solib-list.exp: Handle
967 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
968
eaeaf44c
TV
9692020-03-15 Tom de Vries <tdevries@suse.de>
970
971 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
972 objfiles".
973
3293bbaf
TT
9742020-03-14 Tom Tromey <tom@tromey.com>
975
976 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
977
ab44624c
TV
9782020-03-14 Tom de Vries <tdevries@suse.de>
979
980 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
981
54c43825
TV
9822020-03-14 Tom de Vries <tdevries@suse.de>
983
984 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
985 result in line-by-line fashion.
986
2ac70237
TV
9872020-03-14 Tom de Vries <tdevries@suse.de>
988
989 * lib/gdb.exp (supports_statement_frontiers): New proc.
990 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
991
09546b56
TV
9922020-03-14 Tom de Vries <tdevries@suse.de>
993
994 * gdb.base/printcmds.exp: Add missing quoting for "print
995 teststring2".
996
a1f6a07c
TT
9972020-03-13 Tom Tromey <tom@tromey.com>
998
999 * gdb.base/printcmds.exp (test_print_strings): Add regression
1000 test.
1001 * gdb.base/printcmds.c (charptr): New typedef.
1002 (teststring2): New global.
1003
1b83d09c
AB
10042020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
1005
1006 * gdb.base/break-interp.exp: Use the tail of the filename, not the
1007 full path in the test name.
1008 (test_ld): Add some with_test_prefix blocks to make test names
1009 unique.
1010
2d61316c
TV
10112020-03-13 Tom de Vries <tdevries@suse.de>
1012
1013 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
1014
2e9145ac
TV
10152020-03-13 Tom de Vries <tdevries@suse.de>
1016
1017 * gdb.mi/mi-sym-info.exp: Make matching more precise.
1018
96c7f873
TV
10192020-03-13 Tom de Vries <tdevries@suse.de>
1020
1021 PR symtab/25646
1022 * gdb.dwarf2/imported-unit.exp: Add test.
1023
49ba92c0
TV
10242020-03-13 Tom de Vries <tdevries@suse.de>
1025
1026 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
1027 (var1, var2): New variable.
1028 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
1029 matching symbols.
1030
301b21e0
TV
10312020-03-13 Tom de Vries <tdevries@suse.de>
1032
1033 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
1034 (Term::command): Use prompt prefix.
1035 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
1036 * gdb.tui/tui-layout-asm-short-prog.exp: Use
1037 command_no_prompt_prefix instead of prefix.
1038 * gdb.tui/tui-layout-asm.exp: Same.
1039
3f512721
SM
10402020-03-12 Simon Marchi <simon.marchi@efficios.com>
1041
1042 * gdb.base/break-interp.exp: Use foreach_with_prefix.
1043
40310f30
SM
10442020-03-12 Simon Marchi <simon.marchi@efficios.com>
1045
1046 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
1047 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
1048 on" while stepping over the test instruction, match printed
1049 message.
1050
09252140
TV
10512020-03-12 Tom de Vries <tdevries@suse.de>
1052
1053 * gdb.base/info-types.exp: Use exp_continue during matching of output
1054 of "info types".
1055
14e9c72c
TV
10562020-03-12 Tom de Vries <tdevries@suse.de>
1057
1058 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
1059
e515d67e
TV
10602020-03-12 Tom de Vries <tdevries@suse.de>
1061
1062 * gdb.fortran/module.exp: Use exp_continue during matching of output
1063 of "info variable -n".
1064
307eafd8
TV
10652020-03-12 Tom de Vries <tdevries@suse.de>
1066
1067 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
1068 gdb.dwarf2/dw2-ranges-base.c.
1069
9a2de3fc
TV
10702020-03-12 Tom de Vries <tdevries@suse.de>
1071
1072 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
1073 in presence of GLIBC debuginfo.
1074
3217502e
TV
10752020-03-12 Tom de Vries <tdevries@suse.de>
1076
1077 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
1078 $core.
1079
1281424c
TV
10802020-03-12 Tom de Vries <tdevries@suse.de>
1081
1082 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
1083 more precise.
1084
038b97fc
SM
10852020-03-11 Simon Marchi <simon.marchi@efficios.com>
1086
1087 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
1088 from Unix to Windows path.
1089
5308d1e7
TV
10902020-03-11 Tom de Vries <tdevries@suse.de>
1091
1092 * gdb.ada/minsyms.exp: Set language to ada.
1093
f870f78f
TV
10942020-03-11 Tom de Vries <tdevries@suse.de>
1095
1096 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
1097
5a13315d
TV
10982020-03-11 Tom de Vries <tdevries@suse.de>
1099
1100 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
1101
976862ed
TT
11022020-03-11 Tom Tromey <tromey@adacore.com>
1103
1104 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
1105
7462c383
TV
11062020-03-11 Tom de Vries <tdevries@suse.de>
1107
1108 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
1109
1c6c46a0
TV
11102020-03-11 Tom de Vries <tdevries@suse.de>
1111
1112 * gdb.base/break-interp.exp: Limit verbose scope.
1113
44f41bb7
TV
11142020-03-11 Tom de Vries <tdevries@suse.de>
1115
1116 * gdb.fortran/logical.f90: Define variable with character type.
1117 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
1118
b76f3a42
TV
11192020-03-11 Tom de Vries <tdevries@suse.de>
1120
1121 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
1122
1c33af77
TV
11232020-03-11 Tom de Vries <tdevries@suse.de>
1124
1125 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
1126 symtabs.
1127
8c95582d
AB
11282020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1129 Bernd Edlinger <bernd.edlinger@hotmail.de>
1130
1131 * gdb.cp/step-and-next-inline.cc: New file.
1132 * gdb.cp/step-and-next-inline.exp: New file.
1133 * gdb.cp/step-and-next-inline.h: New file.
1134 * gdb.dwarf2/dw2-is-stmt.c: New file.
1135 * gdb.dwarf2/dw2-is-stmt.exp: New file.
1136 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
1137 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
1138 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
1139
cecf8547
AB
11402020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1141
1142 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
1143 is-stmt flag in the line table.
1144
0ba678c9
TV
11452020-03-09 Tom de Vries <tdevries@suse.de>
1146
1147 * lib/gdb.exp (cached_file): Create cache dir.
1148
72fbdf83
TV
11492020-03-07 Tom de Vries <tdevries@suse.de>
1150
1151 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
1152 * gdb.cp/rvalue-ref-params.exp: Same.
1153
436b5e99
TV
11542020-03-06 Tom de Vries <tdevries@suse.de>
1155
1156 * lib/gdb.exp (tentative_rename, cached_file): New proc.
1157 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
1158
09f2921c
TV
11592020-03-06 Tom de Vries <tdevries@suse.de>
1160
1161 * README: Fix "the the".
1162 * gdb.base/dprintf.exp: Same.
1163
50a3cc5d
TV
11642020-03-05 Tom de Vries <tdevries@suse.de>
1165
1166 * gdb.base/maint.exp: Update "main print statistics" expected output.
1167
0a709cba
AKS
11682020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1169
1170 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
1171 (fortran_int8): Likewise.
1172 (fortran_real4): Likewise.
1173 (fortran_real8): Likewise.
1174 (fortran_complex4): Likewise.
1175 (fortran_logical4): Likewise.
1176 (fortran_character1): Likewise.
1177
5e5d66b6
AB
11782020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
1179
1180 * gdb.fortran/logical.exp: Add tests that any non-zero value is
1181 printed as true.
1182
7b973adc
SDJ
11832020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
1184
1185 * gdb.base/printcmds.exp: Add test to verify printf of a
1186 variable holding an address.
1187
478e490a
TV
11882020-03-03 Tom de Vries <tdevries@suse.de>
1189
1190 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
1191
1ef44e86
TV
11922020-03-03 Tom de Vries <tdevries@suse.de>
1193
1194 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
1195 gdb_test_multiple call.
1196
b98cc2cf
TV
11972020-03-03 Tom de Vries <tdevries@suse.de>
1198
1199 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
1200 gdb_test_multiple calls.
1201
63e163f2
AB
12022020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1203
1204 * gdb.base/default.exp: Remove test of 'set history filename'.
1205 * gdb.base/gdbinit-history.exp: Add tests for setting the history
1206 filename to the empty string.
1207 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
1208 and GDBHISTSIZE.
1209
24ed6739
AB
12102020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1211
1212 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
1213 disabled.
1214
590003dc
TV
12152020-03-02 Pedro Alves <palves@redhat.com>
1216 Tom de Vries <tdevries@suse.de>
1217
1218 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
1219 -prompt prefix, before user_code argument. Add -lbl option likewise.
1220 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
1221 (gdb_is_target_1): Add -prompt prefix and move to before user_code
1222 argument.
1223 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
1224 have "\r\n" at start-of-line, instead of at end-of-line.
1225
f5e46084
SM
12262020-02-28 Simon Marchi <simon.marchi@efficios.com>
1227
1228 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
1229 libinproctrace.so.
1230
f7a7000d
LM
12312020-02-28 Luis Machado <luis.machado@linaro.org>
1232
1233 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
1234 to "p/x".
1235
718e0816
LM
12362020-02-28 Luis Machado <luis.machado@linaro.org>
1237
1238 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
1239 asm/ptrace.h and error.h.
1240
13c3a74a
TV
12412020-02-28 Tom de Vries <tdevries@suse.de>
1242
1243 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
1244 (struct wrapper, do_something, mundane/symada__cS): Move ...
1245 * gdb.base/c-linkage-name-2.c: ... here. New source file.
1246 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
1247 Update "print symada__cS before partial symtab expansion" regexp.
1248 Update breakpoint location. Flush symbol cache after expansion.
1249
85d2d5bb
LM
12502020-02-28 Luis Machado <luis.machado@linaro.org>
1251
1252 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
1253
3608f86c
TV
12542020-02-27 Tom de Vries <tdevries@suse.de>
1255
1256 * config/sid.exp: Remove unused globals.
1257 * gdb.base/attach.exp: Same.
1258 * gdb.base/catch-load.exp: Same.
1259 * gdb.base/dbx.exp: Same.
1260 * lib/gdb.exp: Same.
1261 * lib/mi-support.exp: Same.
1262 * lib/prompt.exp: Same.
1263
c8d4f6df
TV
12642020-02-27 Tom de Vries <tdevries@suse.de>
1265
1266 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
1267 not set.
1268
0d79cdc4
AM
12692020-02-26 Aaron Merey <amerey@redhat.com>
1270
1271 * gdb.debuginfod: New directory for debuginfod tests.
1272 * gdb.debuginfod/main.c: New test file.
1273 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
1274
0dce4280
TV
12752020-02-26 Tom de Vries <tdevries@suse.de>
1276
1277 PR gdb/25603
1278 * gdb.base/persistent-lang.cc: New test.
1279 * gdb.base/persistent-lang.exp: New file.
1280
9e80cfa1
AB
12812020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1282
1283 * gdb.fortran/derived-type-striding.exp: Add a new test.
1284 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
1285 new test.
1286
2078dbb2
AB
12872020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1288
1289 * gdb.base/cached-source-file.exp: Avoid source file paths in test
1290 names.
1291
70d49700
TV
12922020-02-25 Tom de Vries <tdevries@suse.de>
1293
1294 PR go/18926
1295 * gdb.go/methods.exp: Remove gcc/93866 xfail.
1296
a88ef40d
TV
12972020-02-24 Tom de Vries <tdevries@suse.de>
1298
1299 PR gdb/25592
1300 * gdb.base/info-locals-unused-static-var.c: New test.
1301 * gdb.base/info-locals-unused-static-var.exp: New file.
1302
01b1af32
TT
13032020-02-22 Tom Tromey <tom@tromey.com>
1304
1305 * gdb.python/tui-window.exp: New file.
1306 * gdb.python/tui-window.py: New file.
1307
7c043ba6
TT
13082020-02-22 Tom Tromey <tom@tromey.com>
1309
1310 PR tui/17850:
1311 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
1312 tests.
1313
c22fef7e
TT
13142020-02-22 Tom Tromey <tom@tromey.com>
1315
1316 * gdb.tui/new-layout.exp: Add sub-layout tests.
1317
ee325b61
TT
13182020-02-22 Tom Tromey <tom@tromey.com>
1319
1320 * gdb.tui/new-layout.exp: New file.
1321
3f0cbb04
TT
13222020-02-22 Tom Tromey <tom@tromey.com>
1323
1324 * gdb.rust/rust-style.rs: New file.
1325 * gdb.rust/rust-style.exp: New file.
1326 * gdb.base/style.exp: Test structure printing.
1327 * gdb.base/style.c (struct some_struct): New type.
1328 (enum etype): New type.
1329 (struct_value): New global.
1330
75525152
TV
13312020-02-21 Tom de Vries <tdevries@suse.de>
1332
1333 PR go/18926
1334 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
1335 Remove blanket xfails. Use message argument for gdb_breakpoint.
1336 Make continuing to breakpoint test conditional on setting breakpoint.
1337 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
1338 DW_AT_name attribute. Add xfail for GCC PR93866.
1339
bd360d30
AB
13402020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
1341
1342 * gdb.dwarf2/cpp-linkage-name.c: New file.
1343 * gdb.dwarf2/cpp-linkage-name.exp: New file.
1344
c7adb09f 13452020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
1346
1347 * lib/gdb.exp (gdb_wrapper_init): Reset
1348 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
1349 not exist.
1350
a9c79803
TV
13512020-02-20 Tom de Vries <tdevries@suse.de>
1352
1353 PR go/17018
1354 * gdb.go/hello.exp: Copy ...
1355 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
1356 print of st to print value of global definition. Add xfail for GCC
1357 PR93844.
1358 * gdb.go/hello.exp: Remove printing of st before definition.
1359 * gdb.go/hello.go: Copy ...
1360 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
1361 to st.
1362 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
1363
d7445728
TV
13642020-02-20 Tom de Vries <tdevries@suse.de>
1365
1366 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
1367 (gdb_simple_compile): Handle compile_flags go by using .go extension
1368 for source file.
1369 * gdb.go/chan.exp: Use support_go_compile.
1370 * gdb.go/handcall.exp: Same.
1371 * gdb.go/hello.exp: Same.
1372 * gdb.go/integers.exp: Same.
1373 * gdb.go/max-depth.exp: Same.
1374 * gdb.go/methods.exp: Same.
1375 * gdb.go/package.exp: Same.
1376 * gdb.go/strings.exp: Same.
1377 * gdb.go/types.exp: Same.
1378 * gdb.go/unsafe.exp: Same.
1379
c9c41e6d
TV
13802020-02-19 Tom de Vries <tdevries@suse.de>
1381
1382 * gdb.python/lib-types.exp: Make xfail more strict.
1383
f20ff837
TV
13842020-02-19 Tom de Vries <tdevries@suse.de>
1385
1386 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
1387
08410482
DE
13882020-02-19 Doug Evans <dje@google.com>
1389
1390 PR rust/25535
1391 * gdb.rust/simple.exp: Add test.
1392 * gdb.rust/simple.rs: Add test.
1393
623563f7
TV
13942020-02-19 Tom de Vries <tdevries@suse.de>
1395
1396 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
1397 output line-by-line.
1398
d3308cfd
TV
13992020-02-19 Tom de Vries <tdevries@suse.de>
1400
1401 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
1402
86cbc5dc
TV
14032020-02-19 Tom de Vries <tdevries@suse.de>
1404
1405 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
1406 prelink.
1407
9db2b96b
TV
14082020-02-19 Tom de Vries <tdevries@suse.de>
1409
1410 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
1411 (gdb_do_cache): Use gdb_do_cache_wrap.
1412 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
1413
89e2fdc5
TV
14142020-02-19 Tom de Vries <tdevries@suse.de>
1415
1416 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
1417 gdb_compile option.
1418
373d7ac0
SM
14192020-02-18 Simon Marchi <simon.marchi@efficios.com>
1420
1421 * gdb.base/printcmds.exp (test_print_enums): Update expected
1422 output.
1423
b29a2df0
SM
14242020-02-18 Simon Marchi <simon.marchi@efficios.com>
1425
1426 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
1427 for "unknown".
1428
6740f0cc
SM
14292020-02-18 Simon Marchi <simon.marchi@efficios.com>
1430
1431 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
1432 enumerator.
1433
edd45eb0
SM
14342020-02-18 Simon Marchi <simon.marchi@efficios.com>
1435
1436 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
1437 FE_, add FE_NONE.
1438 (three): Update.
1439 (enum flag_enum_without_zero): New enum.
1440 (flag_enum_without_zero): New variable.
1441 (enum not_flag_enum): New enum.
1442 (three_not_flag): New variable.
1443 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
1444 (test_print_enums): Add more tests for printing flag enums.
1445
d4295de4
TV
14462020-02-18 Tom de Vries <tdevries@suse.de>
1447
1448 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
1449 (gdb_compile_ada): ... here.
1450 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
1451 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
1452
f251f505
TT
14532020-02-14 Tom Tromey <tom@tromey.com>
1454
1455 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
1456 build directory.
1457 * boards/gdbserver-base.exp: Update path to gdbserver.
1458
8f432634
TV
14592020-02-13 Tom de Vries <tdevries@suse.de>
1460
1461 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
1462
92b6eaf7
TV
14632020-02-13 Tom de Vries <tdevries@suse.de>
1464
1465 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
1466 are missing.
1467
f3b0f7fe
TV
14682020-02-13 Tom de Vries <tdevries@suse.de>
1469
1470 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
1471 call.
1472
f6be8713
SDJ
14732020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1474
1475 PR tui/25126
1476 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
1477 * gdb.base/cached-source-file.c: New file.
1478 * gdb.base/cached-source-file.exp: New file.
1479
b2770d5e
TV
14802020-02-11 Tom de Vries <tdevries@suse.de>
1481
1482 PR testsuite/25488
1483 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
1484
44f6938e
TV
14852020-02-10 Tom de Vries <tdevries@suse.de>
1486
1487 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
1488
5f0e2eb7
MR
14892020-02-10 Maciej W. Rozycki <macro@wdc.com>
1490
1491 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
1492 and $after_addr are both integers before making a comparison.
1493
46ce2b6f
TV
14942020-02-09 Tom de Vries <tdevries@suse.de>
1495
1496 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
1497 command output and paste it into gdb.log. If any, paste catch message
1498 to gdb.log.
1499
5abbbe1d
TT
15002020-02-07 Tom Tromey <tromey@adacore.com>
1501
1502 PR breakpoints/24915:
1503 * gdb.base/annotate-symlink.exp: Use setup_xfail.
1504
1d5d29e7
SV
15052020-02-06 Shahab Vahedi <shahab@synopsys.com>
1506
1507 * gdb.tui/tui-missing-src.exp: Add the "missing source
1508 file" test for the TUI.
1509
b0999b9b
AB
15102020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
1511
1512 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
1513 including a port number in the output.
1514
c3b149eb
AKS
15152020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1516
1517 * lib/fortran.exp (fortran_int4): Handle clang.
1518 (fortran_int8): Likewise.
1519 (fortran_real4): Likewise.
1520 (fortran_real8): Likewise.
1521 (fortran_complex4): Likewise.
1522 (fortran_logical4): Likewise.
1523 (fortran_character1): Likewise.
1524
f8dcc90b
TV
15252020-02-04 Tom de Vries <tdevries@suse.de>
1526
1527 * README (Race detection): Add note.
1528
f90ac7c2
TV
15292020-02-04 Tom de Vries <tdevries@suse.de>
1530
1531 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
1532
780636ae
TV
15332020-02-04 Tom de Vries <tdevries@suse.de>
1534
1535 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
1536
5d2e1193
RA
15372020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1538
1539 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
1540 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
1541 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
1542 blttar, bnetarl.
1543 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
1544 binary for blttar, bnetarl.
1545 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
1546 wait instruction. Delete ldmx test.
1547 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
1548
e409c542
AKS
15492020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1550
1551 * gdb.fortran/array-bounds-high.exp: New file.
1552 * gdb.fortran/array-bounds-high.f90: New file.
1553
b0029748
LD
15542020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
1555
1556 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
1557 Replace #include of <sys/fcntl.h> by <fcntl.h>.
1558
195a8287
TV
15592020-02-01 Tom de Vries <tdevries@suse.de>
1560
1561 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
1562
42330a68
AB
15632020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
1564
1565 PR tui/9765
1566 * gdb.tui/tui-layout-asm-short-prog.S: New file.
1567 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
1568
b62a8028
LM
15692020-01-29 Luis Machado <luis.machado@linaro.org>
1570
1571 * gdb.arch/aarch64-brk-patterns.c: New source file.
1572 * gdb.arch/aarch64-brk-patterns.exp: New test.
1573
5f440116
TBA
15742020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1575
1576 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
1577 GCC/Clang version.
1578 * gdb.cp/pass-by-ref.exp: Ditto.
1579
ee2a6fc6
TV
15802020-01-29 Tom de Vries <tdevries@suse.de>
1581
1582 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
1583 * gdb.threads/watchpoint-fork-mt.c: Same.
1584 * gdb.threads/watchpoint-fork-parent.c: Same.
1585 * gdb.threads/watchpoint-fork-st.c: Same.
1586 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
1587
16b10d6e
LM
15882020-01-27 Luis Machado <luis.machado@linaro.org>
1589
1590 * gdb.base/step-over-syscall.exp (setup): Check if we're already
1591 sitting at a syscall instruction when we hit the syscall function's
1592 breakpoint.
1593 Check PC against one obtained with the x command.
1594 Validate syscall number.
1595 (step_over_syscall): Don't continue to the syscall instruction if
1596 we're already there.
1597
b1468492
PW
15982020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1599
1600 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
1601
7ffa82e1
AB
16022020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1603
1604 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
1605 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
1606
3d92a3e3
AB
16072020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1608
1609 * gdb.dwarf2/dw2-inline-stepping.c: New file.
1610 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
1611
94a72be7
AB
16122020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1613
1614 * gdb.base/maint.exp: Update line table parsing test.
1615 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
1616
53af73bf
PA
16172020-01-24 Pedro Alves <palves@redhat.com>
1618
1619 PR gdb/25410
1620 * gdb.multi/multi-re-run-1.c: New.
1621 * gdb.multi/multi-re-run-2.c: New.
1622 * gdb.multi/multi-re-run.exp: New.
1623
1ba1ac88
AB
16242020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1625
1626 PR gdb/23718
1627 * gdb.server/server-kill-python.exp: New file.
1628
f3364a6d
AB
16292020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1630
1631 * gdb.server/multi-ui-errors.c: New file.
1632 * gdb.server/multi-ui-errors.exp: New file.
1633
733d0a67
AB
16342020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1635
1636 PR tui/9765
1637 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
1638
4f13c1c0
TT
16392020-01-19 Tom Tromey <tom@tromey.com>
1640
1641 * gdb.tui/main.exp: Add check for plain "file".
1642
40c94099
CB
16432020-01-16 Christian Biesinger <cbiesinger@google.com>
1644
1645 * lib/gdb.exp: Fix spelling error (seperatelly).
1646
ff47f4f0
TT
16472020-01-14 Tom Tromey <tom@tromey.com>
1648
1649 PR symtab/12535:
1650 * gdb.python/python.exp: Test decode_line with empty string
1651 argument.
1652
717c684d
BE
16532020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
1654
1655 * gdb.base/skip-inline.exp: Extend test.
1656
44e4c775
AB
16572020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1658
1659 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
1660 * gdb.dwarf2/dw2-bad-elf.c: New file.
1661 * gdb.dwarf2/dw2-bad-elf.exp: New file.
1662
d93c6db7
AB
16632020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1664
1665 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
1666 _line_saw_file.
1667
9a6d629c
AB
16682020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1669
1670 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
1671 border.
1672
d9ebdab7
TBA
16732020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1674
1675 * gdb.multi/multi-target.exp (setup): Factor out "info
1676 connections" and "info inferiors" tests to ...
1677 (test_info_inferiors): ... this new procedure.
1678 (top level): Run new "info-inferiors" tests.
1679
f3c469b9
PA
16802020-01-10 Pedro Alves <palves@redhat.com>
1681
1682 * gdb.server/bkpt-other-inferior.exp: New file.
1683
121b3efd
PA
16842020-01-10 Pedro Alves <palves@redhat.com>
1685
1686 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
1687 of "add-inferior".
1688 * gdb.base/quit-live.exp: Likewise.
1689 * gdb.base/remote-exec-file.exp: Likewise.
1690 * gdb.guile/scm-progspace.exp: Likewise.
1691 * gdb.linespec/linespec.exp: Likewise.
1692 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1693 * gdb.mi/user-selected-context-sync.exp: Likewise.
1694 * gdb.multi/multi-target.exp (setup): Add "info connection" and
1695 "info inferiors" tests.
1696 * gdb.multi/remove-inferiors.exp: Adjust expected output of
1697 "add-inferior".
1698 * gdb.multi/watchpoint-multi.exp: Likewise.
1699 * gdb.python/py-inferior.exp: Likewise.
1700 * gdb.server/extended-remote-restart.exp: Likewise.
1701 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
1702 "info inferiors".
1703 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1704 * gdb.trace/report.exp: Likewise.
1705
1dadb1dd
PA
17062020-01-10 Pedro Alves <palves@redhat.com>
1707
1708 * gdb.multi/multi-target.c: New file.
1709 * gdb.multi/multi-target.exp: New file.
1710 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
1711 mode requested, but remote does not support non-stop".
1712
78f2c40a
PA
17132020-01-10 Pedro Alves <palves@redhat.com>
1714
1715 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
1716 disconnect before reconnecting.
1717
e7af6c70
TBA
17182020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1719 Pedro Alves <palves@redhat.com>
1720
1721 * gdb.server/connect-without-multi-process.exp: Also test
1722 continuing to end.
1723
acdf84a6
PA
17242020-01-10 Pedro Alves <palves@redhat.com>
1725
1726 * gdb.base/remote-exec-file.exp: New file.
1727
873657b9
PA
17282020-01-10 Pedro Alves <palves@redhat.com>
1729
1730 * gdb.base/fork-running-state.exp (do_test): Adjust expected
1731 output.
1732 * gdb.threads/async.c: New.
1733 * gdb.threads/async.exp: New.
1734 * gdb.multi/tids-gid-reset.c: New.
1735 * gdb.multi/tids-gid-reset.exp: New.
1736
7f0ae84c
GB
17372020-01-10 George Barrett <bob@bob131.so>
1738
1739 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
1740 to help in finding the image relocation offset.
1741 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
1742 options in arguments.
1743 (stap_test_no_debuginfo): Likewise.
1744 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
1745 test variants.
1746 (stap_test): Add null semaphore relocation test.
1747
47e9d49d
GB
17482020-01-10 George Barrett <bob@bob131.so>
1749
1750 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
1751 * gdb.base/stap-probe.exp: Likewise.
1752 (stap_test): Pass argument as an additional flag.
1753 (stap_test_no_debuginfo): Likewise.
1754 (stap_test): Check `info probes stap' output for semaphore
1755 addresses if the test binary is supposed to have them.
1756
f5a7c406
AB
17572020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1758
1759 * gdb.tui/basic.exp: Add more scrolling tests.
1760
9ae6bf64
TT
17612020-01-09 Tom Tromey <tom@tromey.com>
1762
1763 PR tui/18932:
1764 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
1765 meangingful value.
1766 (Term::command, Term::resize): Update.
1767 * gdb.tui/basic.exp: Add scrolling test.
1768
b2efe70c
AB
17692020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1770
1771 * gdb.tui/tui-layout-asm.exp: New file.
1772
3804da7e
AB
17732020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1774
1775 * lib/tuiterm.exp (Term::check_box_contents): New proc.
1776
b40aa28f
AB
17772020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1778
1779 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
1780 (Term::enter_tui): Use Term::prepare_for_tui.
1781
63ffd7c9
AB
17822020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1783
1784 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
1785 called.
1786
3be966f6
AB
17872020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1788
1789 * gdb.base/skip.exp: Fix race condition in test.
1790
153d79c4
AB
17912020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1792
1793 * gdb.base/backtrace.c: New file.
1794 * gdb.base/backtrace.exp: New file.
1795
f2302a34
AB
17962020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
1797
1798 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
1799
6ec1d75e
PW
18002020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1801
1802 * gdb.base/style.exp: Test that warnings are styled.
1803
c296cbe6
BE
18042019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
1805
1806 * gdb.base/line65535.exp: New file.
1807 * gdb.base/line65535.c: New file.
1808
b28a729d
SM
18092019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
1810
1811 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
1812 * lib/gnat_debug_info_test.adb: New file.
1813 * gdb.ada/ptype_tagged_param.exp: Use
1814 gnat_runtime_has_debug_info, expect a different output if
1815 runtime does not have debug info.
1816
7f2d7a0d
SM
18172019-12-20 Simon Marchi <simon.marchi@efficios.com>
1818
1819 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
1820 (another) quote in test name.
1821
f3bce483
SM
18222019-12-20 Simon Marchi <simon.marchi@efficios.com>
1823
1824 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
1825 Add quote in test name.
1826
c855a912
TBA
18272019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1828
1829 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
1830 directory instead.
1831 * gdb.cp/pass-by-ref.exp: Extend with more cases.
1832 * gdb.cp/pass-by-ref-2.cc: New file.
1833 * gdb.cp/pass-by-ref-2.exp: New file.
1834
fc9d2d72
TT
18352019-12-20 Tom Tromey <tom@tromey.com>
1836
1837 * gdb.tui/list-before.exp: New file.
1838
77b97e00
TT
18392019-12-20 Tom Tromey <tom@tromey.com>
1840
1841 * gdb.tui/list.exp: Check for source on initial listing.
1842
f69656d0
TT
18432019-12-11 Tom Tromey <tromey@adacore.com>
1844
1845 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
1846 Add crlf test.
1847
99a55965
SM
18482019-12-18 Simon Marchi <simon.marchi@efficios.com>
1849
1850 * gdb.base/default.exp: Update value of $_gdb_major.
1851
5024637f
BE
18522019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1853
1854 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
1855
b63634be
BE
18562019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1857
1858 * gdb.base/skip.exp: Whitespace fix.
1859
45d73523
BE
18602019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1861
1862 * gdb.base/skip-inline.c: New file.
1863 * gdb.base/skip-inline.exp: New file.
1864
d043f8c8
SM
18652019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
1866
1867 * gdb.base/jit-reader.exp (jit_reader_test): Rename
1868 jit_function_00 to jit_function_stack_mangle.
1869 * gdb.base/jithost.c (jit_function_t): Rename to...
1870 (jit_function_stack_mangle_t): ... this.
1871 (jit_function_add_t): New typedef.
1872 (jit_function_00_code): Rename to...
1873 (jit_function_stack_mangle_code): ... this, make static.
1874 (jit_function_add_code): New.
1875 (main): Generate "add" function and call it. Adjust to changes
1876 in jithost_abi.
1877 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
1878 (struct jithost_abi) <begin, end>: Remove fields.
1879 <object, function_stack_mangle, function_add>: New fields.
1880 * gdb.base/jitreader.c (struct reader_state) <code_begin,
1881 code_end>: Remove fields.
1882 <func_stack_mangle>: New field.
1883 (read_debug_info): Adjust to renaming, create block for "add"
1884 function.
1885 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
1886
873de05c
TT
18872019-12-11 Tom Tromey <tom@tromey.com>
1888
1889 * gdb.tui/resize.exp: Fix regexp.
1890 * gdb.tui/regs.exp: Fix regexps.
1891 * gdb.tui/main.exp: Fix regexp.
1892
3d979945
TT
18932019-12-11 Tom Tromey <tom@tromey.com>
1894
1895 * gdb.tui/resize.exp: Update.
1896 * gdb.tui/empty.exp (layouts): Update.
1897
2192a9d3
TT
18982019-12-11 Tom Tromey <tom@tromey.com>
1899
1900 * gdb.tui/regs.exp: Update.
1901 * gdb.tui/empty.exp (layouts): Update.
1902 * gdb.tui/basic.exp: Update.
1903 * lib/tuiterm.exp (_check_box): Don't check bottom border.
1904
d8edc8b7
PW
19052019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1906
1907 * gdb.base/options.exp: Add -raw-values in the print completion list.
1908 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
1909
4c12d936
KB
19102019-12-10 Kevin Buettner <kevinb@redhat.com>
1911
1912 * gdb.threads/omp-par-scope.c: New file.
1913 * gdb/threads/omp-par-scope.exp: New file.
1914
26b911fb
KB
19152019-12-10 Kevin Buettner <kevinb@redhat.com>
1916
bb47f919
KB
1917 * lib/gdb.exp (support_nested_function_tests): New proc.
1918
19192019-12-10 Kevin Buettner <kevinb@redhat.com>
1920
1921 * lib/gdb.exp (gdb_compile_openmp): New proc.
1922 (build_executable_from_specs): Add an "openmp" option.
1923 (gdb_compile_pthreads): Add non-executable case.
26b911fb 1924
6c71eb7d
TT
19252019-12-10 Tom Tromey <tromey@adacore.com>
1926
1927 * gdb.ada/unchecked_union.exp: New file.
1928 * gdb.ada/unchecked_union/pck.adb: New file.
1929 * gdb.ada/unchecked_union/pck.ads: New file.
1930 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1931 * gdb-utils.exp (string_to_regexp): Also quote "?".
1932
bac7c5cf
GB
19332019-12-10 George Barrett <bob@bob131.so>
1934
1935 Test scripted probe breakpoints.
1936 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1937 * gdb.python/py-breakpoint.c (main): Likewise.
1938 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1939 specifier test.
1940 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1941
330f1d38
TBA
19422019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1943
1944 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1945 an rvalue parameter.
1946 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1947 parameter.
1948
b43315e2
AB
19492019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1950
1951 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1952 modules.
1953
54f73dad
AB
19542019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1955
1956 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1957 broken version of GCC.
1958
d57cbee9
AB
19592019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1960
1961 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1962 sym-info-cmds library.
1963 * gdb.fortran/info-types.exp: Likewise.
1964 * lib/sym-info-cmds.exp: New file.
1965
c14aab8c
TV
19662019-12-08 Tom de Vries <tdevries@suse.de>
1967
1968 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1969
aa2d5a42
KS
19702019-12-07 Keith Seitz <keiths@redhat.com>
1971
1972 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1973 * gdb.base/corefile-buildid-shlib.c: New file.
1974 * gdb.base/corefile-buildid.c: New file.
1975 * gdb.base/corefile-buildid.exp: New file.
1976
93e55f0a
TV
19772019-12-06 Tom de Vries <tdevries@suse.de>
1978
1979 * gdb.dwarf2/varval.exp: Add decl before def test.
1980
c7d12402
TBA
19812019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1982
1983 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1984
06acc08f
TBA
19852019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1986
1987 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1988 CV and reference conversion for overload resolution.
1989 * gdb.cp/rvalue-ref-overload.exp: Test it.
1990
e0fad1ea
PW
19912019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1992
1993 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1994 * gdb.base/frameapply.exp: Test faas without command.
1995
8d70a9f0
AB
19962019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1997
1998 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1999 Fortran tests.
2000 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
2001 order.
2002
36c8fb93
AB
20032019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2004
2005 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
2006 casting to type with no kind specified.
2007 (test_basic_parsing_of_type_kinds): Additional tests for types
2008 with no kind specified, and add tests for single/double
2009 precision/complex types.
2010
4139ff00
TT
20112019-12-04 Tom Tromey <tromey@adacore.com>
2012
2013 * gdb.base/endianity.c (struct other) <x>: New field.
2014 (main): Initialize it.
2015 * gdb.base/endianity.exp: Update.
2016
a05cf17a
TT
20172019-12-04 Tom Tromey <tromey@adacore.com>
2018
2019 * gdb.ada/scalar_storage/storage.adb: New file.
2020 * gdb.ada/scalar_storage/pck.adb: New file.
2021 * gdb.ada/scalar_storage/pck.ads: New file.
2022 * gdb.ada/scalar_storage.exp: New file.
2023
103a685e
TT
20242019-12-04 Tom Tromey <tromey@adacore.com>
2025
2026 * gdb.base/endianity.c (struct otherendian) <f>: New field.
2027 (main): Initialize it.
2028 * gdb.base/endianity.exp: Update.
2029
c2512106
AB
20302019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2031
2032 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
2033
293b38d6
AB
20342019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2035
2036 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
2037 -symbol-info-module-functions and -symbol-info-module-variables.
2038
216a7e6b
AB
20392019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2040
2041 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
2042
5bbd8269
AB
20432019-12-01 Richard Bunt <richard.bunt@arm.com>
2044 Andrew Burgess <andrew.burgess@embecosm.com>
2045
2046 * gdb.fortran/derived-type-striding.exp: New file.
2047 * gdb.fortran/derived-type-striding.f90: New file.
2048 * gdb.fortran/array-slices.exp: New file.
2049 * gdb.fortran/array-slices.f90: New file.
2050
be09caf1
PW
20512019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2052
2053 * gdb.base/define.exp: Test . in command names.
2054 * gdb.base/setshow.exp: Update test, as . is now part of
2055 command name.
2056
643c0cbe
PW
20572019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2058
2059 * gdb.base/define-prefix.exp: New file.
2060
dcdec678
AB
20612019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
2062
2063 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
2064 compile.
2065 (skip_btrace_pt_tests): Likewise.
2066
640ab947
AB
20672019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2068
2069 * gdb.fortran/info-modules.exp: Compile source files in correct
2070 order.
2071
d22670f0
KB
20722019-11-27 Kevin Buettner <kevinb@redhat.com>
2073
2074 * gdb.dwarf2/imported-unit.exp: New file.
2075 * gdb.dwarf2/imported-unit.c: New file.
2076
db5960b4
AB
20772019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2078
2079 * gdb.mi/mi-fortran-modules-2.f90: New file.
2080 * gdb.mi/mi-fortran-modules.exp: New file.
2081 * gdb.mi/mi-fortran-modules.f90: New file.
2082
7dc42066
AB
20832019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2084
2085 * gdb.mi/mi-sym-info-1.c: New file.
2086 * gdb.mi/mi-sym-info-2.c: New file.
2087 * gdb.mi/mi-sym-info.exp: New file.
2088
0dfeecca
TT
20892019-11-22 Tom Tromey <tromey@adacore.com>
2090
2091 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
2092 * gdb.ada/tasks/foo.adb: Add another stopping location.
2093
34877895
PJ
20942019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
2095
2096 * gdb.base/endianity.c: New test.
2097 * gdb.base/endianity.exp: New file.
2098
2e84f897
LD
20992019-11-21 Lukas Durfina <ldurfina@tachyum.com>
2100
2101 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
2102
65d1cd5f
TV
21032019-11-21 Tom de Vries <tdevries@suse.de>
2104
2105 PR gdb/24956
2106 * gdb.base/ui-redirect.exp: Test output of user-defined command.
2107
4f22c3f4
SDJ
21082019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2109
2110 * gdb.python/py-progspace.exp: Add missing parentheses on some
2111 'print' commands.
2112
9f6ad286
TT
21132019-11-19 Tom Tromey <tom@tromey.com>
2114
2115 * gdb.tui/winheight.exp: New file.
2116
0b8dbf3f
AB
21172019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2118
2119 * gdb.base/ctf-whatis.c: Delete.
2120 * gdb.base/ctf-whatis.exp: Delete.
2121 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
2122
f833b7a7
AB
21232019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2124
2125 * gdb.base/ctf-cvexpr.exp: Delete.
2126 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
2127
30d0a636
AB
21282019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2129
2130 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
2131 the compiler. Clean up header comment a little.
2132 * gdb.base/ctf-ptype.exp: Likewise.
2133 * gdb.base/ctf-whatis.exp: Likewise.
2134 * lib/gdb.exp (skip_ctf_tests): New proc.
2135
494409bb
SDJ
21362019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
2137
2138 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
2139 * gdb.tui/corefile-run.exp: New file.
2140
55708e99
TT
21412019-11-14 Tom Tromey <tromey@adacore.com>
2142
2143 * gdb.base/gdbvars.exp (test_convenience_variables): Add
2144 regression tests.
2145
45e42163
TT
21462019-11-12 Tom Tromey <tom@tromey.com>
2147
2148 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
2149 after any command. Expect prompt after WAIT_FOR is seen.
2150 (enter_tui): Enable resize messages.
2151 (command): Expect command in output.
2152 (get_line): Avoid error when cursor appears to be off-screen.
2153 (dump_screen): Include screen size in title.
2154 (_do_resize): New proc, from "resize".
2155 (resize): Rewrite. Do resize in two steps.
2156 * gdb.tui/empty.exp (layouts): Fix entries.
2157 (check_boxes): Remove xfail.
2158 (check_text): Dump screen on failure.
2159
086baaf1
AB
21602019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2161
2162 * gdb.python/py-symbol.exp: Add test for
2163 gdb.lookup_static_symbols.
2164
09ff83af
AB
21652019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2166
2167 * gdb.python/py-symbol.c: Declare and call function from new
2168 py-symbol-2.c file.
2169 * gdb.python/py-symbol.exp: Compile both source files, and add new
2170 tests for gdb.lookup_static_symbol.
2171 * gdb.python/py-symbol-2.c: New file.
2172
11af934b
TV
21732019-11-02 Tom de Vries <tdevries@suse.de>
2174
2175 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
2176 * gdb.base/anon.exp: Same.
2177 * gdb.base/auto-connect-native-target.exp: Same.
2178 * gdb.base/call-ar-st.exp: Same.
2179 * gdb.base/catch-syscall.exp: Same.
2180 * gdb.base/commands.exp: Same.
2181 * gdb.base/default.exp: Same.
2182 * gdb.base/display.exp: Same.
2183 * gdb.base/float.exp: Same.
2184 * gdb.base/foll-fork.exp: Same.
2185 * gdb.base/help.exp: Same.
2186 * gdb.base/info-macros.exp: Same.
2187 * gdb.base/info-proc.exp: Same.
2188 * gdb.base/info-target.exp: Same.
2189 * gdb.base/long_long.exp: Same.
2190 * gdb.base/macscp.exp: Same.
2191 * gdb.base/memattr.exp: Same.
2192 * gdb.base/nofield.exp: Same.
2193 * gdb.base/pointers.exp: Same.
2194 * gdb.base/printcmds.exp: Same.
2195 * gdb.base/ptype.exp: Same.
2196 * gdb.base/restore.exp: Same.
2197 * gdb.base/return.exp: Same.
2198 * gdb.base/scope.exp: Same.
2199 * gdb.base/set-noassign.exp: Same.
2200 * gdb.base/setshow.exp: Same.
2201 * gdb.base/shlib-call.exp: Same.
2202 * gdb.base/signals.exp: Same.
2203 * gdb.base/sigstep.exp: Same.
2204 * gdb.base/skip.exp: Same.
2205 * gdb.base/solib-symbol.exp: Same.
2206 * gdb.base/stap-probe.exp: Same.
2207 * gdb.base/step-line.exp: Same.
2208 * gdb.base/step-test.exp: Same.
2209 * gdb.base/style.exp: Same.
2210 * gdb.base/varargs.exp: Same.
2211 * gdb.base/vla-datatypes.exp: Same.
2212 * gdb.base/vla-ptr.exp: Same.
2213 * gdb.base/vla-sideeffect.exp: Same.
2214 * gdb.base/volatile.exp: Same.
2215 * gdb.base/watch-cond-infcall.exp: Same.
2216 * gdb.base/watchpoint.exp: Same.
2217
e96ec2ba
TV
22182019-11-02 Tom de Vries <tdevries@suse.de>
2219
2220 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
2221 * gdb.cp/cpexprs.exp: Same.
2222 * gdb.cp/except-multi-location.exp: Same.
2223 * gdb.cp/exceptprint.exp: Same.
2224 * gdb.cp/gdb2384.exp: Same.
2225 * gdb.cp/inherit.exp: Same.
2226 * gdb.cp/m-static.exp: Same.
2227 * gdb.cp/meth-typedefs.exp: Same.
2228 * gdb.cp/misc.exp: Same.
2229 * gdb.cp/namespace.exp: Same.
2230 * gdb.cp/non-trivial-retval.exp: Same.
2231 * gdb.cp/overload.exp: Same.
2232 * gdb.cp/pr17132.exp: Same.
2233 * gdb.cp/re-set-overloaded.exp: Same.
2234 * gdb.cp/rvalue-ref-types.exp: Same.
2235 * gdb.cp/templates.exp: Same.
2236
bd5766ec
LM
22372019-11-01 Luis Machado <luis.machado@linaro.org>
2238
2239 PR gdb/25124
2240
2241 * gdb.arch/pr25124.S: New file.
2242 * gdb.arch/pr25124.exp: New file.
2243
165f8965
AB
22442019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2245
2246 * gdb.fortran/info-modules.exp: Update expected results, and add
2247 additional tests for 'info module functinos', and 'info module
2248 variables'.
2249 * gdb.fortran/info-types.exp: Update expected results.
2250 * gdb.fortran/info-types.f90: Extend testcase with additional
2251 module variables and functions.
2252
59c35742
AB
22532019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2254
2255 * gdb.fortran/info-modules.exp: New file.
2256 * gdb.fortran/info-types.exp: Build with new file.
2257 * gdb.fortran/info-types.f90: Include and use new module.
2258 * gdb.fortran/info-types-2.f90: New file.
2259
f3fb2519
PW
22602019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2261
2262 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
2263 * gdb.base/settings.exp: Test all settings types using
2264 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
2265 that now verifies that the value of "maint show" is the same as
2266 returned by the settings functions. Test the type of the
2267 maintenance settings.
2268 * gdb.base/default.exp: Update show_conv_list.
2269
d1e36019
TV
22702019-10-31 Tom de Vries <tdevries@suse.de>
2271
2272 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
2273 gdb_test.
2274 * gdb.arch/amd64-disp-step.exp: Same.
2275 * gdb.asm/asm-source.exp: Same.
2276 * gdb.btrace/buffer-size.exp: Same.
2277 * gdb.btrace/cpu.exp: Same.
2278 * gdb.btrace/enable.exp: Same.
2279 * gdb.dwarf2/count.exp: Same.
2280 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2281 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
2282 * gdb.fortran/vla-datatypes.exp: Same.
2283 * gdb.fortran/vla-history.exp: Same.
2284 * gdb.fortran/vla-ptype.exp: Same.
2285 * gdb.fortran/vla-value.exp: Same.
2286 * gdb.fortran/whatis_type.exp: Same.
2287 * gdb.guile/guile.exp: Same.
2288 * gdb.multi/tids.exp: Same.
2289 * gdb.python/py-finish-breakpoint.exp: Same.
2290 * gdb.python/py-framefilter.exp: Same.
2291 * gdb.python/py-pp-registration.exp: Same.
2292 * gdb.python/py-xmethods.exp: Same.
2293 * gdb.python/python.exp: Same.
2294 * gdb.server/connect-with-no-symbol-file.exp: Same.
2295 * gdb.server/no-thread-db.exp: Same.
2296 * gdb.server/run-without-local-binary.exp: Same.
2297 * gdb.stabs/weird.exp: Same.
2298 * gdb.threads/attach-many-short-lived-threads.exp: Same.
2299 * gdb.threads/thread-find.exp: Same.
2300 * gdb.threads/tls-shared.exp: Same.
2301 * gdb.threads/tls.exp: Same.
2302 * gdb.threads/wp-replication.exp: Same.
2303 * gdb.trace/ax.exp: Same.
2304 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
2305
3d11e68e
TV
23062019-10-31 Tom de Vries <tdevries@suse.de>
2307
2308 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
2309 * gdb.ada/array_subscript_addr.exp: Same.
2310 * gdb.ada/arrayidx.exp: Same.
2311 * gdb.ada/arrayparam.exp: Same.
2312 * gdb.ada/arrayptr.exp: Same.
2313 * gdb.ada/boolean_expr.exp: Same.
2314 * gdb.ada/call_pn.exp: Same.
2315 * gdb.ada/complete.exp: Same.
2316 * gdb.ada/fixed_cmp.exp: Same.
2317 * gdb.ada/fun_addr.exp: Same.
2318 * gdb.ada/funcall_param.exp: Same.
2319 * gdb.ada/interface.exp: Same.
2320 * gdb.ada/mod_from_name.exp: Same.
2321 * gdb.ada/null_array.exp: Same.
2322 * gdb.ada/packed_array.exp: Same.
2323 * gdb.ada/packed_tagged.exp: Same.
2324 * gdb.ada/print_chars.exp: Same.
2325 * gdb.ada/print_pc.exp: Same.
2326 * gdb.ada/ptype_arith_binop.exp: Same.
2327 * gdb.ada/ptype_field.exp: Same.
2328 * gdb.ada/ptype_tagged_param.exp: Same.
2329 * gdb.ada/rec_return.exp: Same.
2330 * gdb.ada/ref_tick_size.exp: Same.
2331 * gdb.ada/str_ref_cmp.exp: Same.
2332 * gdb.ada/taft_type.exp: Same.
2333 * gdb.ada/tagged.exp: Same.
2334 * gdb.ada/type_coercion.exp: Same.
2335 * gdb.ada/uninitialized_vars.exp: Same.
2336
60b6ede8
TV
23372019-10-30 Tom de Vries <tdevries@suse.de>
2338
2339 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
2340
30baf67b
TV
23412019-10-26 Tom de Vries <tdevries@suse.de>
2342
2343 * gdb.base/bigcore.c: Fix typos in comments.
2344 * gdb.base/ctf-ptype.c: Same.
2345 * gdb.base/long_long.c: Same.
2346 * gdb.dwarf2/dw2-op-out-param.S: Same.
2347 * gdb.python/py-evthreads.c: Same.
2348 * gdb.reverse/i387-stack-reverse.c: Same.
2349 * gdb.trace/tfile.c: Same.
2350 * lib/compiler.c: Same.
2351 * lib/compiler.cc: Same.
2352
158da0d1
TV
23532019-10-25 Tom de Vries <tdevries@suse.de>
2354
2355 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
2356 gdb_test_multiple calls.
2357 * gdb.reverse/sigall-reverse.exp: Same.
2358 * gdb.reverse/solib-precsave.exp: Same.
2359 * gdb.reverse/solib-reverse.exp: Same.
2360 * gdb.reverse/until-precsave.exp: Same.
2361 * gdb.reverse/until-reverse.exp: Same.
2362
4ccdfbec
TV
23632019-10-24 Tom de Vries <tdevries@suse.de>
2364
2365 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
2366 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
2367 kfail using -wrap pattern flag and convenience variable
2368 gdb_test_name.
2369
33d569b7
AB
23702019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
2371
2372 * gdb.python/py-progspace.exp: Add tests for the
2373 Progspace.block_for_pc method.
2374
4d0b984b
TT
23752019-10-23 Tom Tromey <tom@tromey.com>
2376
2377 * configure: Rebuild.
2378 * aclocal.m4: Use m4_include, not sinclude.
2379
94cb3754
TV
23802019-10-21 Tom de Vries <tdevries@suse.de>
2381
2382 * gdb.base/infcall-nested-structs.c: Add
2383 __attribute__((noinline,noclone)) to all functions.
2384 (call_all): Add missing variable initialization. Simplify return value.
2385 (breakpt): Increment volatile variable, to prevent call from being
2386 optimized out.
2387 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
2388
062f1fc1
TV
23892019-10-17 Tom de Vries <tdevries@suse.de>
2390
2391 * gdb.fortran/module.exp: Allow info variables to print info for files
2392 other than module.f90.
2393
0b54364d
AB
23942019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2395
2396 * gdb.fortran/module.exp: Extend with 'info variables' test.
2397
7ff5fae7
AB
23982019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2399
2400 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
2401 F77_FOR_TARGET.
2402
d10eccaa
TV
24032019-10-16 Tom de Vries <tdevries@suse.de>
2404
2405 PR tdep/25096
2406 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
2407
745ff14e
TV
24082019-10-16 Tom de Vries <tdevries@suse.de>
2409
2410 PR tdep/24104
2411 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
2412 Add KFAIL for PR tdep/25096.
2413
03e1ab94
TV
24142019-10-16 Tom de Vries <tdevries@suse.de>
2415
2416 PR testsuite/25059
2417 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
2418
b17fcc10
TV
24192019-10-16 Tom de Vries <tdevries@suse.de>
2420
2421 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
2422 as signed.
2423
9223170f
SM
24242019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
2425
2426 * gdb.mi/list-thread-groups-available.exp: Read entries one by
2427 one instead of increasing timeout.
2428
d6e76313
TV
24292019-10-13 Tom de Vries <tdevries@suse.de>
2430
2431 PR record/25038
2432 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
2433 * gdb.reverse/sigall-reverse.exp: Same.
2434 * gdb.reverse/solib-precsave.exp: Same.
2435 * gdb.reverse/solib-reverse.exp: Same.
2436 * gdb.reverse/step-precsave.exp: Same.
2437 * gdb.reverse/until-precsave.exp: Same.
2438 * gdb.reverse/until-reverse.exp: Same.
2439 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
2440
6dfc0041
AA
24412019-10-10 Andreas Arnez <arnez@linux.ibm.com>
2442
2443 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
2444 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
2445 (cmp_struct_05_01, cmp_struct_static_02_01)
2446 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
2447 comparisons.
2448
abcf2cc8
TV
24492019-10-10 Tom de Vries <tdevries@suse.de>
2450
2451 PR testsuite/24888
2452 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
2453 gnatlink.
2454
a50faaf6
TV
24552019-10-09 Tom de Vries <tdevries@suse.de>
2456
2457 PR testsuite/25048
2458 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
2459
60ff3cd7
AB
24602019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2461
2462 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
2463 exceptions due to missing debug information.
2464
dfee8566
TV
24652019-10-07 Tom de Vries <tdevries@suse.de>
2466
2467 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
2468
3d63690a
AB
24692019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2470
2471 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
2472 * gdb.base/annota1.exp: Update to use gdb_test_name.
2473
30d1f018
WP
24742019-10-07 Weimin Pan <weimin.pan@oracle.com>
2475
2476 * gdb.base/ctf-whatis.exp: New file.
2477 * gdb.base/ctf-whatis.c: New file.
2478 * gdb.base/ctf-ptype.exp: New file.
2479 * gdb.base/ctf-ptype.c: New file.
2480 * gdb.base/ctf-constvars.exp: New file.
2481 * gdb.base/ctf-constvars.c: New file.
2482 * gdb.base/ctf-cvexpr.exp: New file.
2483
4dbbb47c
TV
24842019-10-04 Tom de Vries <tdevries@suse.de>
2485
2486 * gdb.cp/local-static.c (main): Move declaration of int i out of the
2487 for loop.
2488
77c2dba3
TT
24892019-10-03 Tom Tromey <tom@tromey.com>
2490
2491 PR rust/24976:
2492 * gdb.rust/simple.rs (Union2): New type.
2493 (main): Use Union2.
2494 * gdb.rust/simple.exp: Add test.
2495
179aed7f
AB
24962019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2497
2498 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
2499 nested function prefix.
2500
0a4b0913
AB
25012019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
2502 Richard Bunt <richard.bunt@arm.com>
2503 Andrew Burgess <andrew.burgess@embecosm.com>
2504
2505 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
2506 nested functions.
2507 * gdb.fortran/nested-funcs.f90: Update expected results.
2508 * gdb.fortran/nested-funcs-2.exp: New file.
2509 * gdb.fortran/nested-funcs-2.f90: New file.
2510
082cce05
AB
25112019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2512
2513 * gdb.python/py-parameter.exp: Make test names unique.
2514 * gdb.python/py-template.exp: Likewise.
2515 * gdb.python/py-value.exp: Likewise.
2516
2b74ba5a
AB
25172019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2518
2519 * gdb.base/break-interp.exp: Reduce test name duplication.
2520 * gdb.base/call-sc.exp: Likewise.
2521 * gdb.base/callfuncs.exp: Likewise.
2522 * gdb.base/charset.exp: Likewise.
2523 * gdb.base/dump.exp: Likewise.
2524 * gdb.base/ena-dis-br.exp: Likewise.
2525 * gdb.base/relational.exp: Likewise.
2526 * gdb.base/step-over-syscall.exp: Likewise.
2527 * gdb.base/structs.exp: Likewise.
2528
58eb20d5
AB
25292019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2530
2531 * gdb.linespec/explicit.exp: Make test names unique.
2532 * gdb.linespec/ls-errs.exp: Likewise.
2533
4d421147
AB
25342019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2535
2536 * gdb.reverse/break-precsave.exp: Make test names unique.
2537 * gdb.reverse/break-reverse.exp: Likewise.
2538 * gdb.reverse/finish-precsave.exp: Likewise.
2539 * gdb.reverse/finish-reverse.exp: Likewise.
2540 * gdb.reverse/machinestate-precsave.exp: Likewise.
2541 * gdb.reverse/machinestate.exp: Likewise.
2542 * gdb.reverse/readv-reverse.exp: Likewise.
2543 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2544 * gdb.reverse/sigall-precsave.exp: Likewise.
2545 * gdb.reverse/sigall-reverse.exp: Likewise.
2546 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
2547 * gdb.reverse/watch-precsave.exp: Likewise.
2548 * gdb.reverse/watch-reverse.exp: Likewise.
2549
d8c06f22
AB
25502019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2551
2552 * gdb.threads/stop-with-handle.c: New file.
2553 * gdb.threads/stop-with-handle.exp: New file.
2554
3a56ed86
TV
25552019-10-03 Tom de Vries <tdevries@suse.de>
2556
2557 PR testsuite/25059
2558 * gdb.base/list-missing-source.exp: Allowing the "Compilation
2559 directory" line to be missing.
2560
42275044
TV
25612019-10-03 Tom de Vries <tdevries@suse.de>
2562
2563 PR testsuite/25059
2564 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
2565 type optional.
2566
9ef62df0
AA
25672019-10-02 Andreas Arnez <arnez@linux.ibm.com>
2568
2569 * gdb.python/py-format-string.c (string.h): New include.
2570 (main): Fill a_struct_with_union.the_union.an_int with bytes of
2571 the same value, for endianness-independence.
2572 * gdb.python/py-format-string.exp (default_regexp_dict)
2573 (test_pretty_structs, test_format): Adjust expected output to the
2574 changed initialization.
2575
37f6a7f4
TT
25762019-10-02 Tom Tromey <tromey@adacore.com>
2577
2578 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
2579
1d58d6a2
PA
25802019-10-02 Pedro Alves <palves@redhat.com>
2581 Andrew Burgess <andrew.burgess@embecosm.com>
2582
2583 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
2584 "print-file-var.h".
2585 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2586 (get_version_1): Print this_version_id and its address.
2587 Add extern "C" wrappers around interface functions.
2588 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
2589 "print-file-var.h".
2590 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2591 (get_version_2): Print this_version_id and its address.
2592 Add extern "C" wrappers around interface functions.
2593 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
2594 <stddef.h> and "print-file-var.h".
2595 Add extern "C" wrappers around interface functions.
2596 [VERSION_ID_MAIN] (this_version_id): Define.
2597 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
2598 * gdb.base/print-file-var.h: Add some #defines to simplify setting
2599 up extern "C" blocks.
2600 * gdb.base/print-file-var.exp (test): New, factored out from top
2601 level.
2602 (top level): Test all combinations of attribute hidden or not,
2603 dlopen or not, and this_version_id symbol in main file or not.
2604 Compile tests as both C++ and C, make test names unique.
2605
d770d56f
TT
26062019-10-01 Tom Tromey <tom@tromey.com>
2607
2608 * gdb.base/style.exp: Test "show logging filename".
2609
7f6aba03
TT
26102019-10-01 Tom Tromey <tom@tromey.com>
2611
2612 * lib/gdb-utils.exp (style): Handle "metadata" argument.
2613 * gdb.base/style.exp: Add metadata style test.
2614
14309bb6
TT
26152019-10-01 Tom Tromey <tom@tromey.com>
2616
2617 * gdb.base/style.exp: Test "pwd".
2618
2a3c1174
PA
26192019-10-01 Tom Tromey <tom@tromey.com>
2620
2621 * gdb.base/style.exp: Update tests.
2622
53d666ec
AA
26232019-10-01 Andreas Arnez <arnez@linux.ibm.com>
2624
2625 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
2626 'six' to unsigned.
2627 (s1): Initialize fields 'four' and 'six' instead of 'three' and
2628 'five'. Use an all-ones bit pattern for each.
2629 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
2630 to its changed values.
2631
4a56a520
TT
26322019-09-30 Tom Tromey <tromey@adacore.com>
2633
2634 * gdb.rust/traits.rs: Disable all warnings.
2635
0df0352a
TV
26362019-09-29 Tom de Vries <tdevries@suse.de>
2637
aac66a4c 2638 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 2639
73d9a918
TV
26402019-09-29 Tom de Vries <tdevries@suse.de>
2641
2642 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
2643
060b3ab4
TV
26442019-09-27 Tom de Vries <tdevries@suse.de>
2645
2646 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
2647
68f7d34d
TV
26482019-09-27 Tom de Vries <tdevries@suse.de>
2649
2650 PR record/23188
2651 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
2652
5d63b30a
TT
26532019-09-26 Tom Tromey <tromey@adacore.com>
2654
2655 * gdb.ada/py_taft.exp: New file.
2656 * gdb.ada/py_taft/main.adb: New file.
2657 * gdb.ada/py_taft/pkg.adb: New file.
2658 * gdb.ada/py_taft/pkg.ads: New file.
2659
3d435220
TV
26602019-09-24 Tom de Vries <tdevries@suse.de>
2661
2662 PR gdb/24598
2663 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
2664
77d03678
TV
26652019-09-22 Tom de Vries <tdevries@suse.de>
2666
2667 * gdb.base/restore.exp: Allow register variables to be optimized out at
2668 -O0.
2669
abf516c6
UW
26702019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
2671
2672 * gdb.arch/spu-info.exp: Remove file.
2673 * gdb.arch/spu-info.c: Remove file.
2674 * gdb.arch/spu-ls.exp: Remove file.
2675 * gdb.arch/spu-ls.c: Remove file.
2676
2677 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
2678 * gdb.asm/spu.inc: Remove file.
2679
2680 * gdb.base/dump.exp: Remove support for spu*-*-*.
2681 * gdb.base/stack-checking.exp: Likewise.
2682 * gdb.base/overlays.exp: Likewise.
2683 * gdb.base/ovlymgr.c: Likewise.
2684 * gdb.base/spu.ld: Remove file.
2685
2686 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
2687 * gdb.cp/cpexprs.exp: Likewise.
2688 * gdb.cp/exception.exp: Likewise.
2689 * gdb.cp/gdb2495.exp: Likewise.
2690 * gdb.cp/mb-templates.exp: Likewise.
2691 * gdb.cp/pr9167.exp: Likewise.
2692 * gdb.cp/userdef.exp: Likewise.
2693
2694 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
2695
2696 * gdb.cell: Remove directory.
2697 * lib/cell.exp: Remove file.
2698
e452e88f
TV
26992019-09-19 Tom de Vries <tdevries@suse.de>
2700
2701 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
2702
8a625130
TV
27032019-09-19 Tom de Vries <tdevries@suse.de>
2704
2705 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
2706
81dc3ab5
TV
27072019-09-19 Tom de Vries <tdevries@suse.de>
2708
2709 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
2710 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
2711 (gdb_target_cmd): ... here.
2712 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
2713 value 2.
2714
b078f3ac
AB
27152019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2716
2717 * gdb.base/source-dir.exp: Avoid having directory names in test
2718 names.
2719
f1b620e9
MG
27202019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2721
2722 * gdb.base/source-dir.exp: Add extra test for mapped compilation
2723 directory.
2724
67f3ed6a
AB
27252019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2726
2727 * gdb.base/list-missing-source.exp: New file.
2728
d1b70248
TV
27292019-09-14 Tom de Vries <tdevries@suse.de>
2730
2731 PR teststuite/24599
2732 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
2733 * lib/ada.exp (gnatmake_version_at_least): New proc.
2734
5fabdcd6
AB
27352019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2736
2737 * gdb.base/maint.exp: Use exec_has_index_section.
2738
aa17805f
AB
27392019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2740
2741 * gdb.base/maint.exp: Add test for 'maint info sections'.
2742
25e5c209
TV
27432019-09-12 Tom de Vries <tdevries@suse.de>
2744
2745 * gdb.base/store.exp: Allow register variables to be optimized out at
2746 -O0.
2747
4993045d
PW
27482019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2749
2750 * gdb.ada/rdv_wait.exp: Update to new task names.
2751 * gdb.base/task_switch_in_core.exp: Likewise.
2752 * gdb.base/info_sources_base.c: Likewise.
2753
8a516164
TT
27542019-09-10 Tom Tromey <tromey@adacore.com>
2755
2756 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
2757
aa391654
TT
27582019-09-10 Tom Tromey <tromey@adacore.com>
2759
2760 * gdb.ada/dgopt.exp: New file.
2761 * gdb.ada/dgopt/x.adb: New file.
2762
8634b462
TT
27632019-09-08 Tom Tromey <tom@tromey.com>
2764
2765 * gdb.tui/resize.exp: Remove setup_xfail.
2766 * gdb.tui/regs.exp: Remove setup_xfail.
2767 * gdb.tui/basic.exp: Remove setup_xfail.
2768
736b0f76
DB
27692019-09-06 David Blaikie <dblaikie@gmail.com>
2770
2771 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
2772 * gdb.cp/cplabel.exp: Ditto.
2773 * gdb.linespec/ls-errs.exp: Ditto.
2774
30331a6c
TV
27752019-09-05 Tom de Vries <tdevries@suse.de>
2776
2777 * lib/gdb.exp (cmp_file_string): New proc.
2778 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
2779 runto_main. Verify save breakpoints output.
2780
98b0ebab
PW
27812019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2782
2783 * gdb.base/info-var.exp: Test info variables without running
2784 to main, to avoid expect's buffer overflow.
2785
4e962e74
TT
27862019-09-03 Tom Tromey <tromey@adacore.com>
2787
2788 * gdb.ada/bias.exp: New file.
2789 * gdb.ada/bias/bias.adb: New file.
2790 * gdb.ada/print_chars.exp: Add regression test.
2791 * gdb.ada/print_chars/foo.adb (My_Character): New type.
2792 (MC): New variable.
2793
2ea1a07a
SL
27942019-08-29 Sandra Loosemore <sandra@codesourcery.com>
2795
2796 * gdb.base/argv0-symlink.exp: Run only on native target
2797 and local host.
2798
8077c50d
TV
27992019-08-29 Tom de Vries <tdevries@suse.de>
2800
2801 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
2802 diverse debug info.
2803 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
2804
48352473
TV
28052019-08-28 Tom de Vries <tdevries@suse.de>
2806
2807 * gdb.base/info-var.exp: Allow info variables to print info for files
2808 other than info-var-f1.c and info-var-f2.c.
2809
d8f27c60
AB
28102019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2811
2812 * gdb.fortran/info-types.exp: Add module.
2813 * gdb.fortran/info-types.f90: Update expected results.
2814
1f20c35e
AB
28152019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2816
2817 * gdb.fortran/info-types.exp: New file.
2818 * gdb.fortran/info-types.f90: New file.
2819 * lib/fortran.exp (fortran_character1): New proc.
2820
4acfdd20
AB
28212019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2822
2823 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
2824 functions'. Reindent as needed.
2825 * gdb.base/info-var-f1.c: New file.
2826 * gdb.base/info-var-f2.c: New file.
2827 * gdb.base/info-var.exp: New file.
2828 * gdb.base/info-var.h: New file.
2829
5c31b358
TV
28302019-08-26 Tom de Vries <tdevries@suse.de>
2831
2832 PR c++/24852
2833 * gdb.cp/no-libstdcxx-probe.exp: New test.
2834
b694989f
TV
28352019-08-26 Tom de Vries <tdevries@suse.de>
2836
2837 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
2838 * tests need to be skipped.
2839 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
2840 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
2841 mi_skip_libstdcxx_probe_tests.
2842
d9c4ba53
SDJ
28432019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
2844
2845 * gdb.python/py-xmethods.exp: Use raw strings when passing
2846 arguments to SimpleXMethodMatcher.
2847
395fad09
TV
28482019-08-22 Tom de Vries <tdevries@suse.de>
2849
2850 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
2851 more informative.
2852
26c957f1
PA
28532019-08-21 Pedro Alves <palves@redhat.com>
2854
2855 * gdb.base/with.exp: Test "with" with no arguments.
2856
61f80d5d
TV
28572019-08-21 Tom de Vries <tdevries@suse.de>
2858
2859 * gdb.base/gdb-caching-proc.exp: Sort files.
2860
d7a11d13
TV
28612019-08-20 Tom de Vries <tdevries@suse.de>
2862
2863 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
2864 compilation.
2865
34dafe9f
TV
28662019-08-16 Tom de Vries <tdevries@suse.de>
2867
2868 * gdb.base/compare-sections.exp ("after run to main"): Allow
2869 mismatched read-only sections for PIE executables.
2870
398fdd60
TT
28712019-08-16 Tom Tromey <tom@tromey.com>
2872
2873 * lib/tuiterm.exp (_csi_Z): New proc.
2874 * gdb.tui/basic.exp: Update window positions.
2875 * gdb.tui/empty.exp: Update window positions.
2876
d8f9e51c
SL
28772019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2878
2879 * gdb.base/examine-backward.exp: Correct regexp for
2880 "examine 3 bytes backward from ${address_zero}".
2881
3df505f6
TT
28822019-08-15 Tom Tromey <tom@tromey.com>
2883
2884 * gdb.tui/empty.exp: Enable resizing tests.
2885
272560b5
TT
28862019-08-15 Tom Tromey <tromey@adacore.com>
2887
2888 * gdb.ada/char_enum.exp: Add regression tests.
2889 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
2890 and '0'.
2891 (Char, Gchar): Update.
2892 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
2893
08235187
CB
28942019-08-15 Christian Biesinger <cbiesinger@google.com>
2895
2896 * gdb.python/python.exp: Expect a leading underscore on
2897 GdbOutput{,Error}File.
2898
22a2ab04
SL
28992019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2900
2901 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
2902 Windows host.
2903
835b995b
SL
29042019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2905
2906 * gdb.base/batch-preserve-term-settings.exp
2907 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
2908
97dd8e07
CB
29092019-08-15 Christian Biesinger <cbiesinger@google.com>
2910
2911 * lib/gdb.exp: When running on a mingw target, replace
2912 /x/ with x:/.
2913
75faf5c4
AH
29142019-08-14 Alan Hayward <alan.hayward@arm.com>
2915
2916 * gdb.arch/aarch64-prologue.c: New test.
2917 * gdb.arch/aarch64-prologue.exp: New file.
2918
abc6c00f
TV
29192019-08-13 Tom de Vries <tdevries@suse.de>
2920
2921 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2922 Thread.
2923
74c2c1f4
SL
29242019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2925
2926 * gdb.python/py-completion.exp: Download the .py file to the host
2927 and use its host pathname. Conditionalize tests that use
2928 tab completion and manipulate files on the build machine.
2929 * gdb.python/py-events.exp: Download the .py file to the host
2930 and use its host pathname.
2931 * gdb.python/py-evsignal.exp: Likewise.
2932 * gdb.python/py-evthreads.exp: Likewise.
2933 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2934 pathname syntax.
2935 * gdb.python/py-framefilter.exp: Download the .py file to the right
2936 place on the host. Match Windows pathname syntax.
2937 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2938 .py file to the host and use its host pathname.
2939 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2940 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2941 build pathname. Skip symlink test on Windows host. Add missing
2942 newline at end of file.
2943 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2944 and use its host pathname.
2945 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2946 * gdb.python/py-section-script.exp: Use host location of binfile
2947 on safe-path. Use correct path separator on Windows host.
2948 Reorder alternatives in gdb_test_multiple to prevent matching
2949 the wrong alternative on success.
2950 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2951
ca2589f3
PP
29522019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2953
2954 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2955 expect the GDB inferior to no longer immediately stop after
2956 being resumed with "signal SIGINT".
2957
020a839d
SL
29582019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2959
2960 * gdb.linespec/break-ask.exp: Generalize regexps to match
2961 Windows pathnames too.
2962
128d6509
TV
29632019-08-08 Tom de Vries <tdevries@suse.de>
2964
2965 PR testsuite/24862
2966 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2967
590042fc
PW
29682019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2969
2970 * gdb.base/style.exp: Update tests for help doc new invariants.
2971 * gdb.base/help.exp: Likewise.
2972
046bebe1
TT
29732019-08-06 Tom Tromey <tom@tromey.com>
2974
2975 * gdb.base/style.exp: Add disassemble test.
2976 * gdb.base/style.c (some_called_function): New function.
2977 (main): Use it.
2978
0b27c27d
CB
29792019-08-05 Christian Biesinger <cbiesinger@google.com>
2980
2981 * gdb.python/py-block.exp: Test dictionary access on blocks.
2982
580f1034
SM
29832019-08-05 Simon Marchi <simon.marchi@efficios.com>
2984
2985 PR gdb/24863
2986 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2987 -list-thread-groups --available test when running under
2988 check-read1.
2989
d86bd7cb
TV
29902019-08-05 Tom de Vries <tdevries@suse.de>
2991
2992 PR testsuite/24863
2993 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2994 * gdb.base/help.exp: Use with_read1_timeout_factor.
2995 * gdb.base/info-macros.exp: Same.
2996 * gdb.cp/nested-types.exp: Same.
2997
a80cf5d8
TV
29982019-08-05 Tom de Vries <tdevries@suse.de>
2999
3000 * lib/gdb.exp (version_at_least): Factor out of ...
3001 (tcl_version_at_least): ... here.
3002 (gdb_compile): Fail if pie results in non-PIE executable.
3003 (readelf_version, readelf_prints_pie): New proc.
3004 (exec_is_pie): Return -1 if unknown.
3005
d0962838
TV
30062019-08-05 Tom de Vries <tdevries@suse.de>
3007
3008 * lib/gdb.exp (tcl_version_at_least): Fix typo.
3009
2252ff3d
SL
30102019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3011
3012 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
3013
26655f53
SL
30142019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3015
3016 * lib/completion-support.exp (test_gdb_complete_none): Skip
3017 tab completion tests if no readline support.
3018 (test_gdb_complete_unique_re): Likewise.
3019 (test_gdb_complete_multiple): Likewise.
3020
db4dc13e
PW
30212019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3022
3023 * gdb.base/info_sources.exp: New file.
3024 * gdb.base/info_sources.c: New file.
3025 * gdb.base/info_sources_base.c: New file.
3026
0eba165a
PFC
30272019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3028
3029 * gdb.base/batch-exit-status.exp: Call test_exit_status with
3030 prefix argument.
3031 (test_exit_status): Add prefix argument.
3032
59bd512b
TV
30332019-08-01 Tom de Vries <tdevries@suse.de>
3034
3035 PR testsuite/24863
3036 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
3037 calling exp_continue for new thread and thread exited messages.
3038
2a3ad588
TV
30392019-08-01 Tom de Vries <tdevries@suse.de>
3040
3041 PR testsuite/24863
3042 * gdb.base/structs.exp: Fix check-read1 timeout using
3043 gdb_test_sequence.
3044 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
3045
117eb594
TV
30462019-08-01 Tom de Vries <tdevries@suse.de>
3047
3048 PR testsuite/24863
3049 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
3050 line.
3051
ed591340
TV
30522019-08-01 Tom de Vries <tdevries@suse.de>
3053
3054 PR testsuite/24863
3055 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
3056
aa3b6533
TT
30572019-07-30 Tom Tromey <tromey@adacore.com>
3058
3059 * gdb.ada/display_nested.exp: New file.
3060 * gdb.ada/display_nested/foo.adb: New file.
3061 * gdb.ada/display_nested/pack.adb: New file.
3062 * gdb.ada/display_nested/pack.ads: New file.
3063
2906593f
CB
30642019-07-30 Christian Biesinger <cbiesinger@google.com>
3065
3066 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
3067 namespace.
3068 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
3069
0f575925
TV
30702019-07-30 Tom de Vries <tdevries@suse.de>
3071
3072 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
3073 instead.
3074
b13057d9
TV
30752019-07-30 Tom de Vries <tdevries@suse.de>
3076
3077 PR testsuite/24834
3078 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
3079 (exec_is_pie): New proc.
3080
5c4dde85
CB
30812019-07-29 Christian Biesinger <cbiesinger@google.com>
3082
3083 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
3084
c620ed88
CB
30852019-07-29 Christian Biesinger <cbiesinger@google.com>
3086
3087 * gdb.python/py-objfile.c: Add global and static vars.
3088 * gdb.python/py-objfile.exp: Test new functions Objfile.
3089 lookup_global_symbol and lookup_static_symbol.
3090
3d235706
TT
30912019-07-29 Tom Tromey <tom@tromey.com>
3092
3093 * lib/tuiterm.exp (Term::_csi_@): New proc.
3094 (Term::_csi_X): Don't move cursor.
3095
c7e4c0a6
PW
30962019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3097
3098 * gdb.base/options.exp: Update backtrace - completion to
3099 new option -frame-info.
3100 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
3101 Test new 'set print frame-info'. Test backtrace -frame-info
3102 overriding 'set print frame-info'.
3103 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
3104 Test new 'set print frame-info'.
3105 Verify consistency of backtrace with and without filters, with and
3106 without -no-filters.
3107 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
3108 default.
3109
de28a3b7
TV
31102019-07-29 Tom de Vries <tdevries@suse.de>
3111
3112 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
3113 no arguments".
3114
507dd60e
TV
31152019-07-29 Tom de Vries <tdevries@suse.de>
3116
3117 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
3118 is a substring of the first for "complete non-unique file name".
3119
5beafce9
TV
31202019-07-29 Tom de Vries <tdevries@suse.de>
3121
3122 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
3123 with ".*".
3124
2d274232
TV
31252019-07-29 Tom de Vries <tdevries@suse.de>
3126
3127 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
3128 Pass prompt_regexp parameter to gdb_test_multiple calls.
3129
9197cd8b
TV
31302019-07-29 Tom de Vries <tdevries@suse.de>
3131
3132 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 3133 print registers" regexps.
9197cd8b 3134
b528dae0
TV
31352019-07-29 Tom de Vries <tdevries@suse.de>
3136
3137 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
3138
d17725d7
TV
31392019-07-29 Tom de Vries <tdevries@suse.de>
3140
3141 PR gdb/24855
3142 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
3143 (skip_python_tests_prompt): Add prompt_regexp argument to
3144 gdb_test_multiple calls.
3145
52b75bf1
TT
31462019-07-27 Tom Tromey <tom@tromey.com>
3147
3148 * gdb.tui/main.exp: New file.
3149
2b1d00c2
TT
31502019-07-27 Tom Tromey <tom@tromey.com>
3151
3152 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
3153 optional.
3154 * gdb.tui/empty.exp: New file.
3155
ded631d5
TT
31562019-07-27 Tom Tromey <tom@tromey.com>
3157
3158 * lib/tuiterm.exp (spawn): New proc.
3159 (Term::resize): New proc.
3160 * gdb.tui/resize.exp: New file.
3161
58ac439d
TT
31622019-07-27 Tom Tromey <tom@tromey.com>
3163
3164 * gdb.tui/list.exp: New file.
3165
fe1f56ee
TT
31662019-07-27 Tom Tromey <tom@tromey.com>
3167
3168 * gdb.tui/regs.exp: New file.
3169
f790b310
TT
31702019-07-27 Tom Tromey <tom@tromey.com>
3171
3172 * gdb.tui/basic.exp: Add "layout split" test.
3173
d95fc6ee
TT
31742019-07-27 Tom Tromey <tom@tromey.com>
3175
3176 * gdb.tui/basic.exp: Add "layout asm" test.
3177
c3786b3a
TT
31782019-07-27 Tom Tromey <tom@tromey.com>
3179
3180 * lib/tuiterm.exp: New file.
3181 * gdb.tui/basic.exp: New file.
3182
98a617f8
KB
31832019-07-27 Kevin Buettner <kevinb@redhat.com>
3184
3185 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
3186 Enable tests associated with this flag. Adjust regex
3187 referencing "foo_low" to now refer to "foo_cold" instead.
3188
5c076da4
KB
31892019-07-27 Kevin Buettner <kevinb@redhat.com>
3190
3191 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
3192 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
3193 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
3194 foo_cold. Revise comments to match.
3195 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
3196 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
3197 were wrapped into this proc; Call do_test in loop from outermost
3198 level.
3199 (foo_low): Rename all occurrences to "foo_cold".
3200 (backtrace from baz): New test.
3201 (x2/i foo_cold): New test.
3202 (info line *foo_cold): New test.
3203
1512d3b7
TV
32042019-07-26 Tom de Vries <tdevries@suse.de>
3205
3206 * gdb.arch/i386-pkru.exp: Fix unterminated string.
3207
297989a1
TV
32082019-07-25 Tom de Vries <tdevries@suse.de>
3209
3210 PR testsuite/24830
3211 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
3212 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
3213 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
3214 (skip_libstdcxx_probe_tests): ... here.
3215 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
3216
b3b965fb
TV
32172019-07-24 Tom de Vries <tdevries@suse.de>
3218
3219 PR testsuite/24807
3220 * gdb.objc/basicclass.m: Include stdio.h.
3221 * gdb.objc/nondebug.m: Same.
3222 * gdb.objc/objcdecode.m: Same.
3223
4625b4d0
TV
32242019-07-24 Tom de Vries <tdevries@suse.de>
3225
3226 PR testsuite/24612
3227 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
3228 additional_flags.
3229
024a5840
TV
32302019-07-24 Tom de Vries <tdevries@suse.de>
3231
3232 PR testsuite/24831
3233 * gdb.multi/tids.exp: Update error messages for info threads.
3234
c76ddaa3
TV
32352019-07-24 Tom de Vries <tdevries@suse.de>
3236
3237 * gdb.base/info-types.exp: Allow info types to print info for more than
3238 one file.
3239
9a618ef6
TV
32402019-07-23 Tom de Vries <tdevries@suse.de>
3241
3242 PR testsuite/24842
3243 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
3244 gdb_spawn_with_cmdline_opts.
3245
40eadf04
SP
32462019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3247
3248 * gdb.arch/arm-cmse-sgstubs.c: New test.
3249 * gdb.arch/arm-cmse-sgstubs.exp: New file.
3250
5ba29434
TV
32512019-07-23 Tom de Vries <tdevries@suse.de>
3252
3253 PR testsuite/24711
3254 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
3255 issuing next command.
3256
a8e9d247
AB
32572019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3258
3259 * gdb.ada/info_auto_lang.exp: Update expected results.
3260 * gdb.base/info-types.c: Add additional types to check.
3261 * gdb.base/info-types.exp: Update expected results.
3262
eb86c5e2
AB
32632019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3264
3265 * gdb.base/info-types.c: New file.
3266 * gdb.base/info-types.exp: New file.
3267
01e175fe
AB
32682019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
3269
3270 * gdb.arch/riscv-bp-infcall.c: New file.
3271 * gdb.arch/riscv-bp-infcall.exp: New file.
3272
6b78c3f8
AB
32732019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
3274
3275 PR breakpoints/24541
3276 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
3277
da738167
TV
32782019-07-14 Tom de Vries <tdevries@suse.de>
3279
3280 PR testsuite/24760
3281 * gdb.objc/basicclass.exp: Fix unterminated string.
3282
0d4e84ed
AB
32832019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
3284 Andrew Burgess <andrew.burgess@embecosm.com>
3285
3286 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
3287 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
3288 negative bounds.
3289 * gdb.fortran/vla-value.exp: Print elements of an array with
3290 negative bounds.
3291 * gdb.fortran/vla.f90: Setup an array with negative bounds for
3292 testing.
3293
021d8588
AB
32942019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
3295
3296 * gdb.base/options.exp (expect_string): Dequote strings in
3297 results.
3298 (test-string): Test strings with different quoting and reindent.
3299
f06f1252
TT
33002019-07-10 Tom Tromey <tromey@adacore.com>
3301
3302 * gdb.ada/mi_ex_cond.exp: Update expected results.
3303 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
3304 * gdb.ada/mi_catch_ex.exp: Update expected results.
3305 * gdb.ada/mi_catch_assert.exp: Update expected results.
3306 * gdb.ada/catch_ex.exp (catch_exception_info)
3307 (catch_exception_entry, catch_assert_entry)
3308 (catch_unhandled_entry): Update.
3309 * gdb.ada/catch_assert_if.exp: Update expected results.
3310
b863685d
RB
33112019-07-10 Richard Bunt <richard.bunt@arm.com>
3312 Stephen Roberts <stephen.roberts@arm.com>
3313
3314 * gdb.base/define.exp: Restore original prompt.
3315
cb1e4e32
PA
33162019-07-09 Pedro Alves <palves@redhat.com>
3317
3318 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
3319 breakpoints" output.
3320 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
3321 * gdb.python/py-breakpoint.exp: No longer expect that "catch
3322 throw" creates breakpoint.
3323 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
3324 'type="catchpoint"'.
3325
b58a68fe
PA
33262019-07-09 Pedro Alves <palves@redhat.com>
3327
3328 PR c++/15468
3329 * gdb.cp/except-multi-location-lib.cc: New.
3330 * gdb.cp/except-multi-location-main.cc: New.
3331 * gdb.cp/except-multi-location.exp: New.
3332
0826779b
PW
33332019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
3334
3335 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
3336 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
3337 argument and update callers.
3338
5b0e2db4
AB
33392019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3340
3341 * gdb.arch/amd64-break-on-asm-line.S: New file.
3342 * gdb.arch/amd64-break-on-asm-line.exp: New file.
3343
1f6f6e21
PW
33442019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3345
3346 * gdb.base/printcmds.exp: Test printing C string and
3347 C wide string convenience vars without transiting via the inferior.
3348 Also make test names unique.
3349
ea142fbf
AH
33502019-07-08 Alan Hayward <alan.hayward@arm.com>
3351
5862c886 3352 PR breakpoints/25011
ea142fbf
AH
3353 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
3354
213fd9fa
PA
33552019-07-04 Pedro Alves <palves@redhat.com>
3356
3357 * lib/gdb.exp (foreach_with_prefix): Don't return early if
3358 body returned ok(0), break(3) or continue(4).
3359 * gdb.testsuite/foreach_with_prefix.exp: New file.
3360
2b40fda7
AH
33612019-07-04 Alan Hayward <alan.hayward@arm.com>
3362
3363 * gdb.server/unittest.exp: Allow 0 unit tests to run.
3364
a26c8de0
PA
33652019-07-03 Pedro Alves <palves@redhat.com>
3366
3367 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
3368 "return -code".
3369
5f4ba3e7
PA
33702019-07-03 Pedro Alves <palves@redhat.com>
3371
3372 PR cli/24732
3373 * gdb.base/shell.exp: Load completion-support.exp.
3374 Adjust expected error output. Add completion tests.
3375
a994424f
PA
33762019-07-03 Pedro Alves <palves@redhat.com>
3377
3378 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
3379 string_to_regexp.
3380
3d9be6f5
PA
33812019-07-03 Pedro Alves <palves@redhat.com>
3382
3383 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
3384 (expect_integer): Adjust to expect "-string".
3385 (expect_string): New.
3386 (all_options): Expect "-string".
3387 (test-flag, test-boolean): Adjust to expect "-string".
3388 (test-string): New proc.
3389 (top level): Call it.
3390
41fc454c
PA
33912019-07-03 Pedro Alves <palves@redhat.com>
3392
3393 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
3394 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
3395 the expected output in the success.
3396
b2b2a215
PA
33972019-07-03 Pedro Alves <palves@redhat.com>
3398
3399 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3400 Split one gdb_test_multiple call in two to avoid a race.
3401
fdbc9870
PA
34022019-07-03 Pedro Alves <palves@redhat.com>
3403
3404 * gdb.base/with.c: New file.
3405 * gdb.base/with.exp: New file.
3406
c6ac8931
PA
34072019-07-03 Pedro Alves <palves@redhat.com>
3408
3409 * gdb.base/settings.exp: Replace all references to "maint
3410 test-settings set" with references to "maint set test-settings",
3411 and all references to "maint test-settings show" with references
3412 to "maint show test-settings".
3413
970f9d09
PA
34142019-07-03 Pedro Alves <palves@redhat.com>
3415
3416 * gdb.base/settings.exp (test-string): Adjust expected out when
3417 testing "maint test-settings show filename"
3418
54d66006
PA
34192019-07-02 Pedro Alves <palves@redhat.com>
3420
3421 * gdb.base/options.exp (test-info-threads): New procedure.
3422 (top level): Call it.
3423
10d06d82
TT
34242019-06-28 Tom Tromey <tromey@adacore.com>
3425
3426 * gdb.dwarf2/ada-linkage-name.c: New file.
3427 * gdb.dwarf2/ada-linkage-name.exp: New file.
3428
3d507ff2
TT
34292019-06-27 Tom Tromey <tromey@adacore.com>
3430
d039f014 3431 PR c++/20020:
3d507ff2
TT
3432 * gdb.cp/constexpr-field.exp: Use setup_xfail.
3433
8af58ffe
TV
34342019-06-26 Tom de Vries <tdevries@suse.de>
3435
3436 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
3437
22e21752
TV
34382019-06-26 Tom de Vries <tdevries@suse.de>
3439
3440 * gdb.base/index-cache.exp: Add back missing debug option.
3441
b65b566c
PW
34422019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3443
3444 * gdb.base/alias.exp: Test non matching/non existing prefixes.
3445
5c2c8c69
TV
34462019-06-25 Tom de Vries <tdevries@suse.de>
3447
3448 PR testsuite/24727
3449 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
3450
164e3873
TV
34512019-06-24 Tom de Vries <tdevries@suse.de>
3452
3453 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
3454
824eacee
TV
34552019-06-24 Tom de Vries <tdevries@suse.de>
3456
3457 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
3458 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
3459 * gdb.trace/unavailable-dwarf-piece.exp: Same.
3460
385b97d3
TV
34612019-06-24 Tom de Vries <tdevries@suse.de>
3462
3463 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
3464
c596f180
TV
34652019-06-21 Tom de Vries <tdevries@suse.de>
3466
3467 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
3468
b13a7d03
TV
34692019-06-21 Tom de Vries <tdevries@suse.de>
3470
3471 PR testsuite/24518
3472 PR ada/24713
3473 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
3474 index.
3475
899277ae
TT
34762019-06-19 Tom Tromey <tromey@adacore.com>
3477
3478 * gdb.ada/length_cond.exp: Add intro comment.
3479
680e1bee
TT
34802019-06-19 Tom Tromey <tromey@adacore.com>
3481
3482 * gdb.ada/length_cond.exp: New file.
3483 * gdb.ada/length_cond/length_cond.adb: New file.
3484 * gdb.ada/length_cond/pck.adb: New file.
3485 * gdb.ada/length_cond/pck.ads: New file.
3486
0ed4690a
TV
34872019-06-18 Tom de Vries <tdevries@suse.de>
3488
3489 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
3490
d20ed5fd
TT
34912019-06-18 Tom Tromey <tromey@adacore.com>
3492
3493 * gdb.base/list0.h: Add comment explaining control character.
3494
86e04673
TV
34952019-06-18 Tom de Vries <tdevries@suse.de>
3496
3497 * boards/fission.exp: Break up long debug_flags line.
3498
c4973306
SM
34992019-06-16 Tom de Vries <tdevries@suse.de>
3500
3501 PR gdb/24445
3502 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
3503 generated index.
3504
93cb9841
AB
35052019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3506
3507 PR gdb/24686
3508 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
3509 improve detection of bug gdb/24541.
3510
399aaebd
SM
35112019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
3512
3513 PR gdb/24669
3514 * gdb.base/index-cache.exp (uses_readnow,
3515 expecting_index_cache_use): Define global variable.
3516 (test_cache_enabled_miss, test_cache_enabled_hit): Use
3517 expecting_index_cache_use.
3518
584a927c
AB
35192019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
3520 Andrew Burgess <andrew.burgess@embecosm.com>
3521
3522 * gdb.fortran/pointers.f90: New file.
3523 * gdb.fortran/print_type.exp: New file.
3524 * gdb.fortran/vla-ptype.exp: Adapt expected results.
3525 * gdb.fortran/vla-type.exp: Likewise.
3526 * gdb.fortran/vla-value.exp: Likewise.
3527 * gdb.mi/mi-vla-fortran.exp: Likewise.
3528
30056ea0
AB
35292019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3530
3531 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
3532 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
3533 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
3534 as a stop reason.
3535
ec8e2b6d
AB
35362019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3537
3538 * gdb.base/annota1.exp: Update expected results.
3539 * gdb.cp/annota2.exp: Likewise.
3540 * gdb.cp/annota3.exp: Likewise.
3541
09e4c4e1
AB
35422019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3543
3544 * gdb.base/style-logging.exp: Remove path from test name.
3545
0735b091
TT
35462019-06-14 Tom Tromey <tromey@adacore.com>
3547
3548 PR gdb/24502:
3549 * gdb.base/style-logging.exp: New file.
3550
f5686554
TT
35512019-06-14 Tom Tromey <tromey@adacore.com>
3552
3553 * gdb.base/symfile-warn.exp: New file.
3554 * gdb.base/symfile-warn.c: New file.
3555
a0c1ffed
TT
35562019-06-14 Tom Tromey <tromey@adacore.com>
3557
3558 * gdb.base/annotate-symlink.exp: New file.
3559
f411722c
TT
35602019-06-14 Tom Tromey <tromey@adacore.com>
3561
3562 * gdb.ada/set_wstr.exp: Add reassignment test.
3563
4268ec18
TT
35642019-06-14 Tom Tromey <tromey@adacore.com>
3565
3566 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
3567 'unchecked_access and 'unrestricted_access as well.
3568
9a9e394b
TT
35692019-06-14 Tom Tromey <tromey@adacore.com>
3570
3571 PR ada/24539:
3572 * gdb.ada/vla.exp: Update tests.
3573 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
3574 pragma.
3575
4c048731
PA
35762019-06-13 Pedro Alves <palves@redhat.com>
3577
3578 * gdb.base/settings.exp (test-integer): Test junk after
3579 "unlimited".
3580
6665660a
PA
35812019-06-13 Pedro Alves <palves@redhat.com>
3582
3583 * gdb.base/options.exp (test-thread-apply): New.
3584 (top level): Call it.
3585
5d707134
PA
35862019-06-13 Pedro Alves <palves@redhat.com>
3587
3588 * gdb.base/options.exp (test-frame-apply): New.
3589 (top level): Test print commands with different "frame apply"
3590 prefixes.
3591
e2a689da
PA
35922019-06-13 Pedro Alves <palves@redhat.com>
3593
e79be6e5 3594 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
3595 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
3596 'max_completions' parameter and handle it.
3597 (test_gdb_completion_offers_commands): New.
3598
90a1ef87
PA
35992019-06-13 Pedro Alves <palves@redhat.com>
3600
3601 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
3602
d4c16835
PA
36032019-06-13 Pedro Alves <palves@redhat.com>
3604
3605 * gdb.base/options.exp (test-backtrace): New.
3606 (top level): Call it.
3607
2daf894e
PA
36082019-06-13 Pedro Alves <palves@redhat.com>
3609
3610 * gdb.guile/scm-frame-args.exp: Use "set print
3611 raw-frame-arguments" instead of "set print raw frame-arguments".
3612 * gdb.python/py-frame-args.exp: Likewise.
3613
e6ed716c
PA
36142019-06-13 Pedro Alves <palves@redhat.com>
3615
3616 * gdb.compile/compile.exp: Adjust expected output to option
3617 processing changes.
3618
7d8062de
PA
36192019-06-13 Pedro Alves <palves@redhat.com>
3620
3621 * gdb.base/options.exp: Build executable.
3622 (test-print): New procedure.
3623 (top level): Call it, once for "print" and another for "compile
3624 print".
3625
9d0faba9
PA
36262019-06-13 Pedro Alves <palves@redhat.com>
3627
3628 * gdb.base/options.c: New file.
3629 * gdb.base/options.exp: New file.
3630
dee7b4c8
PA
36312019-06-13 Pedro Alves <palves@redhat.com>
3632
3633 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
3634 that "o" is ambiguous.
3635
dca0f6c0
PA
36362019-06-13 Pedro Alves <palves@redhat.com>
3637
3638 * gdb.base/settings.c: New file.
3639 * gdb.base/settings.exp: New file.
3640
ccf46844
PA
36412019-06-13 Pedro Alves <palves@redhat.com>
3642
3643 * gdb.base/completion.exp: Fix comment typo.
3644
b9a3f842
PA
36452019-06-13 Pedro Alves <palves@redhat.com>
3646
3647 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
3648 foo --1" test.
3649
d106773e
PA
36502019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
3651
3652 * gdb.fortran/block-data.f: New.
3653 * gdb.fortran/block-data.exp: New.
3654
fea82da0
TV
36552019-06-11 Tom de Vries <tdevries@suse.de>
3656
3657 PR testsuite/24521
3658 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
3659 message.
3660
8c2e74f1
TV
36612019-06-11 Tom de Vries <tdevries@suse.de>
3662
3663 PR testsuite/24521
3664 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
3665
b49851c8
TV
36662019-06-11 Tom de Vries <tdevries@suse.de>
3667
3668 * boards/readnow.exp: New file.
3669
a7067863
AB
36702019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
3671
3672 * gdb.fortran/vla-sizeof.exp: Update expected results.
3673
1a3da2cd
AB
36742019-06-06 Amos Bird <amosbird@gmail.com>
3675
3676 * gdb.base/annota1.exp (thread_switch): Add test for
3677 thread-exited annotation.
3678
3847a7bf
TT
36792019-06-06 Tom Tromey <tromey@adacore.com>
3680
3681 * gdb.base/maint.exp: Expect command started/finished output.
3682
0088ba59
AB
36832019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3684
3685 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
3686 comment.
3687 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
3688
312617a3
AB
36892019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3690
3691 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
3692 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
3693 * gdb.arch/riscv-unwind-long-insn.c: New file.
3694 * gdb.arch/riscv-unwind-long-insn.exp: New file.
3695
e1f2e1a2
CB
36962019-06-04 Christian Biesinger <cbiesinger@google.com>
3697
d3238f7d 3698 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 3699
206584bd
PW
37002019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3701
3702 * lib/gdb.exp (help_list_trailer): New regexp variable
3703 factorizing the help trailer message.
3704 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
3705 arg to allow to better factorize various tests.
3706 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
3707 (test_prefix_command_help): Use help_list_trailer.
3708 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
3709 * gdb.guile/scm-cmd.exp: Likewise.
3710 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
3711 * gdb.base/help.exp: Use test_user_defined_class_help.
3712 * gdb.base/style.exp: Add tests for styling of help and apropos.
3713 * lib/gdb-utils.exp (style): Add title and highlight styles.
3714
708dc93e
PW
37152019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3716
3717 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
3718 $_shell_exitsignal.
3719 * gdb.base/default.exp: Update for new convenience variables.
3720
f49055a5
TT
37212019-05-29 Tom Tromey <tromey@adacore.com>
3722
3723 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
3724 to "break complete ada" test case's regexp.
3725
4330d61d
TT
37262019-05-29 Tom Tromey <tromey@adacore.com>
3727
3728 PR c++/20020:
3729 * gdb.cp/constexpr-field.exp: New file.
3730 * gdb.cp/constexpr-field.cc: New file.
3731
000439d5
TT
37322019-05-29 Tom Tromey <tromey@adacore.com>
3733
3734 * gdb.base/finish.exp (finish_no_print): New proc.
3735 (finish_tests): Call it.
3736
5a01c34c
TV
37372019-05-24 Tom de Vries <tdevries@suse.de>
3738
3739 * gdb.dwarf2/gdb-add-index.exp: New file.
3740
18125b16
TT
37412019-05-22 Tom Tromey <tromey@adacore.com>
3742
3743 * gdb.base/info-shared.exp (check_info_shared): Use "style".
3744 * gdb.base/style.exp: Use "style".
3745 * lib/gdb-utils.exp (style): New proc.
3746
af1a8d03
TV
37472019-05-22 Tom de Vries <tdevries@suse.de>
3748
3749 * gdb.base/align.exp: Require c++11.
3750
e7fe496b
TV
37512019-05-22 Tom de Vries <tdevries@suse.de>
3752
3753 PR testsuite/24586
3754 * gdb.python/py-mi-var-info-path-expression.exp: Call
3755 mi_skip_python_tests to check if python is supported.
3756
8fca4da0
AH
37572019-05-22 Alan Hayward <alan.hayward@arm.com>
3758
3759 * gdb.arch/aarch64-pauth.c: New test.
3760 * gdb.arch/aarch64-pauth.exp: New file.
3761
b7060614
AH
37622019-05-22 Alan Hayward <alan.hayward@arm.com>
3763
3764 * README (Re-running Tests Outside The Testsuite): New section.
3765
669d0468
TV
37662019-05-21 Tom de Vries <tdevries@suse.de>
3767
3768 * gdb.arch/amd64-eval.exp: Require c++11.
3769 * gdb.base/max-depth.exp: Same.
3770 * gdb.compile/compile-cplus-array-decay.exp: Same.
3771 * gdb.cp/meth-typedefs.exp: Same.
3772 * gdb.cp/subtypes.exp: Same.
3773 * gdb.cp/temargs.exp: Same.
3774
ce3ebcaa
AH
37752019-05-21 Alan Hayward <alan.hayward@arm.com>
3776
3777 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
3778
34d11c68
AB
37792019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3780
3781 PR gdb/18644
3782 * gdb.fortran/complex.exp: Remove setup_kfail calls.
3783 * gdb.fortran/printing-types.exp: Add new test.
3784 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
3785 testing.
3786 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
3787 setup_kfail call.
3788
87781e84
AH
37892019-05-17 Alan Hayward <alan.hayward@arm.com>
3790
3791 * README (Running the Testsuite): Change example.
3792 (Testsuite Parameters): Remove TRANSCRIPT.
3793 * lib/gdb.exp: Remove TRANSCRIPT check.
3794
b420b89e
AH
37952019-05-17 Alan Hayward <alan.hayward@arm.com>
3796
3797 * README (Testsuite Parameters): Add replay logging to
3798 GDBSERVER_DEBUG.
3799 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
3800 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
3801 as a comma separated list.
3802 (gdb_debug_init): Override procedure.
3803
408e9b8b
AH
38042019-05-17 Alan Hayward <alan.hayward@arm.com>
3805
3806 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
3807 (gdb_write_cmd_file): New procedure.
3808 * lib/gdbserver-support.exp (gdbserver_start): Call
3809 gdbserver_write_cmd_file.
3810 (gdbserver_write_cmd_file): New procedure.
3811
f9e2e39d
AH
38122019-05-17 Alan Hayward <alan.hayward@arm.com>
3813
3814 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
3815 (delete_breakpoints): Likewise.
3816 (gdb_run_cmd): Likewise.
3817 (gdb_start_cmd): Likewise.
3818 (gdb_starti_cmd): Likewise.
3819 (gdb_internal_error_resync): Likewise.
3820 (gdb_test_multiple): Likewise.
3821 (gdb_reinitialize_dir): Likewise.
3822 (default_gdb_exit): Likewise.
3823 (gdb_file_cmd): Mark kill as optional.
3824 (default_gdb_start): Call gdb_stdin_log_init.
3825 (send_gdb): Call gdb_stdin_log_write.
3826 (rerun_to_main): Mark Y as an answer.
3827 (gdb_stdin_log_init): New function.
3828 (gdb_stdin_log_write): Likewise.
3829
81f47ac2
AH
38302019-05-17 Alan Hayward <alan.hayward@arm.com>
3831
3832 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
3833 * gdb.base/debug-expr.exp: Likewise.
3834 * gdb.base/foll-fork.exp: Likewise.
3835 * gdb.base/foll-vfork.exp: Likewise.
3836 * gdb.base/fork-print-inferior-events.exp: Likewise.
3837 * gdb.base/gdb-sigterm.exp: Likewise.
3838 * gdb.base/gdbinit-history.exp: Likewise.
3839 * gdb.base/osabi.exp: Likewise.
3840 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3841 * gdb.base/ui-redirect.exp: Likewise.
3842 * gdb.gdb/unittest.exp: Likewise.
3843 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
3844 * gdb.mi/mi-watch.exp: Likewise.
3845 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3846 * gdb.mi/user-selected-context-sync.exp: Likewise.
3847 * gdb.python/python.exp: Disable debug test when debugging.
3848 * gdb.threads/check-libthread-db.exp: Disable when debugging.
3849 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3850 Likewise.
3851 * gdb.threads/stepi-random-signal.exp: Likewise.
3852
29b52314
AH
38532019-05-17 Alan Hayward <alan.hayward@arm.com>
3854
3855 * Makefile.in: Pass through GDB_DEBUG.
3856 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
3857 (gdb,debug): Add board setting.
3858 * lib/gdb.exp (default_gdb_start): Start debugging.
3859 (gdb_debug_enabled): New procedure.
3860 (gdb_debug_init): Likewise.
29b52314
AH
3861
38622019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 3863
29b52314
AH
3864 * Makefile.in: Pass through GDB_DEBUG.
3865 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
3866 (gdb,debug): Add board setting.
3867 * lib/gdb.exp (default_gdb_start): Start debugging.
3868 (gdb_debug_enabled): New procedure.
3869 (gdb_debug_init): Likewise.
29b52314 3870
ca1285d1
AH
38712019-05-17 Alan Hayward <alan.hayward@arm.com>
3872
3873 * gdb.base/ui-redirect.exp: Add debug redirect tests.
3874
f3a09c80
AH
38752019-05-17 Alan Hayward <alan.hayward@arm.com>
3876
3877 * gdb.base/ui-redirect.exp: Test redirection.
3878
26648588
JV
38792019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
3880
3881 * gdb.mi/mi-complete.exp: New file.
3882 * gdb.mi/mi-complete.cc: Likewise.
3883
14237686
AB
38842019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
3885
3886 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
3887 indexed and sliced arrays, and pointers to arrays.
3888
e7bd7fba
TT
38892019-05-14 Tom Tromey <tromey@adacore.com>
3890
3891 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
3892 styling test.
3893
2764128d
TV
38942019-05-14 Tom de Vries <tdevries@suse.de>
3895
3896 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
3897 selection entry encoding.
3898
71bed2db
TT
38992019-05-10 Tom Tromey <tromey@adacore.com>
3900
3901 * gdb.ada/info_exc.exp: Add "complete" test.
3902
63b667ad
TV
39032019-05-09 Tom de Vries <tdevries@suse.de>
3904
3905 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
3906 CU-relative.
3907
9cfd2b89
TV
39082019-05-09 Tom de Vries <tdevries@suse.de>
3909
3910 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
3911 CU-relative.
3912
2228ef77
XR
39132019-05-08 Joel Brobecker <brobecker@adacore.com>
3914
3915 * gdb.ada/frame_arg_lang.exp: New testcase.
3916 * gdb.ada/frame_arg_lang/bla.adb: New file.
3917 * gdb.ada/frame_arg_lang/pck.ads: New file.
3918 * gdb.ada/frame_arg_lang/pck.adb: New file.
3919 * gdb.ada/frame_arg_lang/foo.c: New file.
3920
80e55b13
TT
39212019-05-08 Tom Tromey <tromey@adacore.com>
3922
3923 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3924
9d3421af
TT
39252019-05-08 Tom Tromey <tromey@adacore.com>
3926
3927 * gdb.base/ptype-offsets.exp: Update tests.
3928
844333e2
TT
39292019-05-08 Tom Tromey <tromey@adacore.com>
3930
3931 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3932 cases.
3933 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3934 "short".
3935
988915ee
TT
39362019-05-08 Tom Tromey <tromey@adacore.com>
3937
3938 * gdb.ada/vla.exp: New file.
3939 * gdb.ada/vla/vla.adb: New file.
3940
7bd55dac
TV
39412019-05-07 Tom de Vries <tdevries@suse.de>
3942
3943 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3944
75f06e9d
TV
39452019-05-07 Tom de Vries <tdevries@suse.de>
3946
3947 PR testsuite/24522
3948 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3949 section.
3950
77e7aaa4
TV
39512019-05-07 Tom de Vries <tdevries@suse.de>
3952
3953 PR testsuite/24522
3954 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3955 .debug_aranges section.
3956
456ba0fa
TV
39572019-05-07 Tom de Vries <tdevries@suse.de>
3958
3959 PR testsuite/24159
3960 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3961
5a56d6a6
TV
39622019-05-06 Tom de Vries <tdevries@suse.de>
3963
3964 * lib/gdb.exp (exec_has_index_section): New proc.
3965 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3966 section.
3967
9d6d4be8
TV
39682019-05-04 Tom de Vries <tdevries@suse.de>
3969
3970 * boards/cc-with-debug-names.exp: New file.
3971
222a8d25
TT
39722019-05-03 Tom Tromey <tromey@adacore.com>
3973
3974 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3975 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3976 * gdb.ada/char_enum.exp: Add test.
3977
0fdfd794
TV
39782019-05-03 Tom de Vries <tdevries@suse.de>
3979
3980 * boards/cc-with-gdb-index.exp: New file.
3981
80062eb9
AB
39822019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3983
3984 * gdb.rust/simple.exp: Add new test case.
3985 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3986 (main): Initialise an instance of the new struct.
3987
4504bbde
TT
39882019-05-01 Tom Tromey <tromey@adacore.com>
3989
3990 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3991 record.
3992 (NPR): New variable.
3993 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3994 test.
3995
d48e62f4
TT
39962019-05-01 Tom Tromey <tromey@adacore.com>
3997
3998 * gdb.ada/packed_array_assign.exp: Add packed assignment
3999 regression test.
4000
f59f30f5
TV
40012019-05-01 Tom de Vries <tdevries@suse.de>
4002
4003 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
4004
b70bfc54
TV
40052019-05-01 Tom de Vries <tdevries@suse.de>
4006
4007 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
4008
15f18d14
AT
40092019-04-30 Ali Tamur <tamur@google.com>
4010
4011 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
4012
2ff0a947
TT
40132019-04-30 Tom Tromey <tromey@adacore.com>
4014
4015 * lib/ada.exp (find_ada_tool): New proc.
4016 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
4017 * gdb.ada/catch_ex_std.exp: New file.
4018 * gdb.ada/catch_ex_std/foo.adb: New file.
4019 * gdb.ada/catch_ex_std/some_package.adb: New file.
4020 * gdb.ada/catch_ex_std/some_package.ads: New file.
4021
a776957c
TT
40222019-04-30 Tom Tromey <tromey@adacore.com>
4023
4024 PR c++/24470:
4025 * gdb.cp/temargs.cc: Add test code from PR.
4026
bc68014d
AB
40272019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4028
4029 * gdb.fortran/vla-datatypes.exp: Update expected results.
4030 * gdb.fortran/vla-ptype.exp: Likewise.
4031 * gdb.fortran/vla-type.exp: Likewise.
4032 * gdb.fortran/vla-value.exp: Likewise.
4033
f1fdc960
AB
40342019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4035
4036 * gdb.fortran/ptr-indentation.exp: Update expected results.
4037 * gdb.fortran/ptype-on-functions.exp: Likewise.
4038 * gdb.fortran/vla-ptr-info.exp: Likewise.
4039 * gdb.fortran/vla-value.exp: Likewise.
4040
bf7a4de1
AB
40412019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4042
4043 * gdb.fortran/ptype-on-functions.exp: New file.
4044 * gdb.fortran/ptype-on-functions.f90: New file.
4045
bbe75b9d
AB
40462019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4047
4048 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
4049 case void string.
4050
1db455a7
AB
40512019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4052
4053 * gdb.fortran/complex.exp: Expand.
4054 * gdb.fortran/complex.f: Renamed to...
4055 * gdb.fortran/complex.f90: ...this, and extended to add more
4056 complex values.
4057
b6d03bb2
AB
40582019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4059
4060 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
4061 MODULO, CMPLX.
4062
2e62ab40
AB
40632019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
4064 Richard Bunt <richard.bunt@arm.com>
4065
4066 * gdb.base/max-depth.c: New file.
4067 * gdb.base/max-depth.exp: New file.
4068 * gdb.python/py-nested-maps.c: New file.
4069 * gdb.python/py-nested-maps.exp: New file.
4070 * gdb.python/py-nested-maps.py: New file.
4071 * gdb.python/py-format-string.exp (test_max_depth): New proc.
4072 (test_all_common): Call test_max_depth.
4073 * gdb.fortran/max-depth.exp: New file.
4074 * gdb.fortran/max-depth.f90: New file.
4075 * gdb.go/max-depth.exp: New file.
4076 * gdb.go/max-depth.go: New file.
4077 * gdb.modula2/max-depth.exp: New file.
4078 * gdb.modula2/max-depth.c: New file.
4079 * lib/gdb.exp (get_print_expr_at_depths): New proc.
4080
d2b584a5
TV
40812019-04-29 Tom de Vries <tdevries@suse.de>
4082
4083 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
4084
136afab8
PW
40852019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4086
4087 * gdb.base/callexit.exp: Test may-call-functions off.
4088
725cbb63
KS
40892019-04-25 Keith Seitz <keiths@redhat.com>
4090
4091 PR c++/24367
4092 * gdb.cp/meth-typedefs.cc (incomplete_struct)
4093 (another_incomplete_struct, test_incomplete): New definitions.
4094 (main): Use new definitions.
4095 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
4096 functions.
4097
701adfb0
PA
40982019-04-25 Ali Tamur <tamur@google.com>
4099
4100 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
4101
82433e3e
SDJ
41022019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
4103
4104 PR corefiles/11608
4105 PR corefiles/18187
4106 * gdb.base/coredump-filter-build-id.exp: New file.
4107
dd06d4d6
AH
41082019-04-25 Alan Hayward <alan.hayward@arm.com>
4109
e79be6e5
SM
4110 * Makefile.in: Pass through GDBSERVER_DEBUG.
4111 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
4112 (gdbserver,debug): Add board setting.
4113 * gdb.trace/tspeed.exp: Skip when debugging.
4114 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
4115 * lib/gdbserver-support.exp: Likewise
dd06d4d6 4116
1670072e
TT
41172019-04-24 Tom Tromey <tromey@adacore.com>
4118
4119 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
4120 Rust.
4121
a59240a4
TT
41222019-04-24 Tom Tromey <tromey@adacore.com>
4123
4124 * gdb.arch/amd64-eval.exp: Test bitfield return.
4125 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
4126 (class Foo) <return_bitfields>: New method.
4127 (main): Call it.
4128
b907456c
AB
41292019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
4130
4131 * gdb.cp/many-args.cc: New file.
4132 * gdb.cp/many-args.exp: New file.
4133
5c565afd
TV
41342019-04-23 Tom de Vries <tdevries@suse.de>
4135
4136 PR gdb/24433
4137 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
4138
ba22ff86
AH
41392019-04-23 Alan Hayward <alan.hayward@arm.com>
4140
4141 * gdb.trace/backtrace.exp: Use nopie flag.
4142 * gdb.trace/circ.exp: Likewise.
4143 * gdb.trace/collection.exp: Likewise.
4144 * gdb.trace/ftrace.exp: Likewise.
4145 * gdb.trace/mi-trace-unavailable.exp: Likewise.
4146 * gdb.trace/mi-traceframe-changed.exp: Likewise.
4147 * gdb.trace/qtro.exp: Likewise.
4148 * gdb.trace/read-memory.exp: Likewise.
4149 * gdb.trace/report.exp: Likewise.
4150 * gdb.trace/tfile.exp: Likewise.
4151 * gdb.trace/tfind.exp: Likewise.
4152 * gdb.trace/unavailable.exp: Likewise.
4153
7905fc35
PA
41542019-04-22 Pedro Alves <palves@redhat.com>
4155
4156 * gdb.base/solib-probes-nosharedlibrary.c,
4157 gdb.base/solib-probes-nosharedlibrary.exp: New files.
4158
8ecb59f8
TT
41592019-04-19 Tom Tromey <tromey@adacore.com>
4160
4161 * gdb.ada/ptype_union.c: New file.
4162 * gdb.ada/ptype_union.exp: New file.
4163
62160ec9
TT
41642019-04-19 Tom Tromey <tromey@adacore.com>
4165
4166 PR symtab/24423:
4167 * gdb.base/list0.h (foo): Add a control-l character.
4168
36cd4ba5
TV
41692019-04-18 Tom de Vries <tdevries@suse.de>
4170
4171 PR gdb/24433
4172 * boards/local-board.exp: Set sysroot to "".
4173
b73715df
TV
41742019-04-18 Tom de Vries <tdevries@suse.de>
4175 Pedro Alves <palves@redhat.com>
4176
4177 PR gdb/24454
4178 * gdb.threads/vfork-follow-child-exec.c: New file.
4179 * gdb.threads/vfork-follow-child-exec.exp: New file.
4180 * gdb.threads/vfork-follow-child-exit.c: New file.
4181 * gdb.threads/vfork-follow-child-exit.exp: New file.
4182
4aa866af
LS
41832019-04-15 Leszek Swirski <leszeks@google.com>
4184
4185 * gdb.arch/amd64-eval.cc: New file.
4186 * gdb.arch/amd64-eval.exp: New file.
4187
e5a1a79a
AH
41882019-04-11 Alan Hayward <alan.hayward@arm.com>
4189
4190 * gdb.server/sysroot.c: New test.
4191 * gdb.server/sysroot.exp: New file.
4192 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
4193 matching param.
4194
41077b66
AB
41952019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
4196
4197 * gdb.base/align.exp: Extend test to cover structures containing
4198 only static fields.
4199
c30391f8
TV
42002019-04-11 Tom de Vries <tdevries@suse.de>
4201
4202 * boards/cc-with-dwz-m.exp: New file.
4203 * boards/cc-with-dwz.exp: New file.
4204 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
4205
e242fd12
SM
42062019-04-09 Simon Marchi <simon.marchi@efficios.com>
4207
4208 * gdb.base/start-cpp.exp: New file.
4209 * gdb.base/start-cpp.cc: New file.
4210
2b0c8b01
KB
42112019-04-08 Kevin Buettner <kevinb@redhat.com>
4212
4213 * gdb.python/py-thrhandle.exp: Adjust tests to call
4214 thread_from_handle instead of thread_from_thread_handle.
4215
947210e5
KB
42162019-04-08 Kevin Buettner <kevinb@redhat.com>
4217
4218 * gdb.python/py-thrhandle.exp: Add tests for
4219 gdb.InferiorThread.handle.
4220
d7df6549
AB
42212019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4222
4223 * gdb.python/py-function.exp: Check calling helper function from
4224 all languages.
4225 * lib/gdb.exp (gdb_supported_languages): New proc.
4226
8bdc1658
AB
42272019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4228
4229 * gdb.base/complex-parts.c: New file.
4230 * gdb.base/complex-parts.exp: New file.
4231
05caa1d2
TT
42322019-04-01 Tom Tromey <tromey@adacore.com>
4233
4234 PR symtab/23331:
4235 * gdb.dwarf2/dw2-ranges-main.c: New file.
4236 * gdb.dwarf2/dw2-ranges-psym.c: New file.
4237 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
4238
7734102d
EZ
42392019-03-30 Simon Marchi <simark@simark.ca>
4240
4241 * gdb.base/default.exp: Add values for $_gdb_major and
4242 $_gdb_minor.
4243
188e1fa9
TT
42442019-03-29 Tom Tromey <tromey@adacore.com>
4245
4246 * gdb.base/help.exp: Tighten apropos regexp.
4247
2880242d
KS
42482019-03-29 Keith Seitz <keiths@redhat.com>
4249
4250 * gdb.fortran/array-bounds.exp: New file.
4251 * gdb.fortran/array-bounds.f90: New file.
4252
077cad8e
PW
42532019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4254
4255 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
4256
80047cfc
PW
42572019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4258
4259 * gdb.multi/hello.c (main): Increase alarm timer.
4260
f489207e
SL
42612019-03-28 Sandra Loosemore <sandra@codesourcery.com>
4262
4263 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
4264 factor when no hardware watchpoint support.
4265
c92df149
AH
42662019-03-28 Alan Hayward <alan.hayward@arm.com>
4267 Pedro Alves <palves@redhat.com>
4268
4269 * boards/local-board.exp: set sysroot to /.
4270
933aebfa
AH
42712019-03-27 Alan Hayward <alan.hayward@arm.com>
4272
4273 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
4274 in child.
4275
9f9aa852
AB
42762019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4277
4278 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
4279 field.
4280 (make_container): Initialise new field.
4281 * gdb.python/py-prettyprint.exp: Add new tests.
4282 * gdb.python/py-prettyprint.py (class ContainerPrinter)
4283 <display_hint>: New method.
4284
3714a195
AB
42852019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4286
4287 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
4288 gdb_continue_to_breakpoint more throughout this test.
4289 (run_lang_tests) Supply unique test names, and use
4290 gdb_test_no_output.
4291
18c77628
AB
42922019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4293
4294 * gdb.base/finish-pretty.exp: Update expected results.
4295 * gdb.base/pretty-print.c: New file.
4296 * gdb.base/pretty-print.exp: New file.
4297
9a93502f
PA
42982019-03-25 Pedro Alves <palves@redhat.com>
4299
4300 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
4301 move comments outside list. Append '-i "" eof' section.
4302
968aa7ae
AH
43032019-03-22 Alan Hayward <alan.hayward@arm.com>
4304
34a7f2a4 4305 PR testsuite/25016
968aa7ae
AH
4306 * README: Add pie options.
4307 * gdb.base/break-interp.exp: Ensure pie is disabled.
4308 * gdb.base/dump.exp: Likewise.
4309 * lib/gdb.exp (gdb_compile): Add pie option.
4310
4c7d57e7
TT
43112019-03-19 Tom Tromey <tromey@adacore.com>
4312
4313 * gdb.mi/mi2-cli-display.c: New file.
4314 * gdb.mi/mi2-cli-display.exp: New file.
4315
bff8c71f
TT
43162019-03-18 Joel Brobecker <brobecker@adacore.com>
4317 Tom Tromey <tromey@adacore.com>
4318
4319 * gdb.ada/ptype_array/pck.adb: New file.
4320 * gdb.ada/ptype_array/pck.ads: New file.
4321 * gdb.ada/ptype_array/foo.adb: New file.
4322 * gdb.ada/ptype_array.exp: New file.
4323
d085f989
TT
43242019-03-14 Tom Tromey <tromey@adacore.com>
4325
4326 * gdb.base/style.exp: Add "set style sources" test.
4327
b4be1b06
SM
43282019-03-13 Simon Marchi <simon.marchi@ericsson.com>
4329
4330 * mi-breakpoint-location-ena-dis.exp: Rename to ...
4331 * mi-breakpoint-multiple-locations.exp: ... this.
4332 (make_breakpoints_pattern): New proc.
4333 (do_test): Add mi_version parameter, test -break-insert,
4334 -break-info and =breakpoint-created.
4335
7cde5fc2
AB
43362019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
4337
4338 * config/default.exp: Remove 'load_lib gdb.exp'.
4339 * config/monitor.exp: Likewise.
4340 * config/sid.exp: Likewise.
4341 * config/sim.exp: Likewise.
4342 * config/slite.exp: Likewise.
4343 * config/unix.exp: Likewise.
4344 * gdb.base/default.exp: Remove unhelpful comment.
4345
efbecbc1
AB
43462019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4347
4348 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
4349
0841c79a
AB
43502019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4351
4352 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
4353
4a270568
AB
43542019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4355
4356 * gdb.fortran/type-kinds.exp: Update expected results.
4357
067630bd
AB
43582019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4359
4360 * gdb.fortran/type-kinds.exp: Test new integer type kind.
4361
3be47f7a
AB
43622019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4363
4364 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
4365 function.
4366 (test_basic_parsing_of_type_kinds): Expand types tested.
4367 (test_parsing_invalid_type_kinds): New function.
4368
4d00f5d8
AB
43692019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4370
4371 * gdb.fortran/intrinsics.exp: New file.
4372 * gdb.fortran/intrinsics.f90: New file.
4373 * gdb.fortran/type-kinds.exp: New file.
4374
c8f91604
AB
43752019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4376
4377 * gdb.fortran/dot-ops.exp: New file.
4378
dd9f2c76
AB
43792019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4380
4381 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
4382 Check upper and lower case logical literals.
4383
84ec9724
AB
43842019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4385
4386 * gdb.fortran/types.exp (test_float_literal_types_accepted):
4387 Remove duplicate tests.
4388
c3734e09
AH
43892019-03-06 Alan Hayward <alan.hayward@arm.com>
4390
4391 * lib/gdb.exp (builtin_cd): rename of cd.
4392 (cd): Override builtin.
4393
aa3cfbda
RB
43942019-03-06 Richard Bunt <richard.bunt@arm.com>
4395
4396 * gdb.fortran/function-calls.exp: New file.
4397 * gdb.fortran/function-calls.f90: New test.
4398
7b63ad86
RB
43992019-03-04 Richard Bunt <richard.bunt@arm.com>
4400
4401 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
4402 on user program standard output.
4403 * gdb.fortran/short-circuit-argument-list.f90: Record function
4404 calls.
4405
01abb042
AH
44062019-02-28 Alan Hayward <alan.hayward@arm.com>
4407
c3734e09
AH
4408 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
4409 failure.
01abb042 4410
92137da0
RO
44112019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4412
4413 PR gdb/8527
4414 * gdb.base/interrupt-daemon-attach.c,
4415 gdb.base/interrupt-daemon-attach.exp: New test.
4416
5862844d
PA
44172019-02-27 Pedro Alves <palves@redhat.com>
4418
4419 * gdb.base/page.exp: Add tests for "set width/height -1".
4420
8ed25214
PA
44212019-02-27 Pedro Alves <palves@redhat.com>
4422
4423 * gdb.base/page.exp: Add tests for "set/show width/height" with
4424 "infinite" values.
4425
6c28e44a
TT
44262019-02-27 Tom Tromey <tromey@adacore.com>
4427
4428 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
4429 2.4.
4430 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
4431 workaround.
4432
bf9a735e
AB
44332019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
4434
4435 * gdb.base/align.exp: Extend to compile in both C and C++, and add
4436 tests for structs with static members.
4437
8791793c
TT
44382019-02-26 Tom Tromey <tromey@adacore.com>
4439
4440 * gdb.python/py-value.exp (test_value_from_buffer): Check for
4441 ValueError, not TypeError.
4442
bc2a507e
KB
44432019-02-26 Kevin Buettner <kevinb@redhat.com>
4444
4445 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
4446 call from main program.
4447
e0e7d3bd
JB
44482019-02-23 Joel Brobecker <brobecker@adacore.com>
4449
4450 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
4451 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
4452 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
4453 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
4454 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
4455
9600246d
KS
44562019-02-22 Keith Seitz <keiths@redhat.com>
4457
4458 PR symtab/23853
4459 * gdb.base/symlink-sourcefile.c: New file.
4460 * gdb.base/symlink-sourcefile.exp: New file.
4461
0c95f9ed
TT
44622019-02-20 Tom Tromey <tom@tromey.com>
4463
4464 * gdb.base/info_qt.exp: Update.
4465
6caa91b6
SM
44662019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
4467
4468 * gdb.base/source.exp: Move "error in sourced script" code to
4469 the end.
4470 * gdb.base/source-error.gdb: Move contents to
4471 source-error-1.gdb. Add new code to source source-error-1.gdb.
4472 * gdb.base/source-error-1.gdb: New file, from previous
4473 source-error.gdb.
4474
6506371f
TT
44752019-02-17 Tom Tromey <tom@tromey.com>
4476
4477 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
4478 for macro styling.
4479 * gdb.base/style.c (SOME_MACRO): New macro.
4480
a0087920
TT
44812019-02-17 Tom Tromey <tom@tromey.com>
4482
4483 * gdb.base/style.exp: Add line-wrapping tests.
4484 * gdb.base/page.exp: Add test for quitting during pagination.
4485
a2cd4f14
JB
44862019-02-17 Joel Brobecker <brobecker@adacore.com>
4487
4488 * gdb.ada/big_packed_array: New testcase.
4489 * gdb.ada/homonym.exp: Fix incorrect expected output for
4490 "break <homonym__get_value>" test.
4491
9d70ffbc
WP
44922019-02-13 Weimin Pan <weimin.pan@oracle.com>
4493
4494 PR breakpoints/21870
4495 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
4496 and prepare_for_testing. Add comment.
4497 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
4498 redundant cleanup call. Clean up comment.
4499
01c7ae81
WP
45002019-02-12 Weimin Pan <weimin.pan@oracle.com>
4501
4502 PR breakpoints/21870
4503 * gdb.arch/aarch64-dbreg-contents.exp: New file.
4504 * gdb.arch/aarch64-dbreg-contents.c: New file.
4505
aff29d1c
JB
45062019-02-10 Joel Brobecker <brobecker@adacore.com>
4507
4508 * gdb.ada/mi_ref_changeable: New testcase.
4509
df0da8a2
AH
45102019-02-07 Alan Hayward <alan.hayward@arm.com>
4511
4512 * gdb.base/attach.exp: Add double attach test.
4513
bd447abb
SM
45142019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
4515
4516 * lib/gdb.exp (default_gdb_start): Don't match pagination
4517 prompt.
4518 (gdb_init): Set stty_init.
4519
1dbc40b9
TT
45202019-01-27 Tom Tromey <tom@tromey.com>
4521
4522 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
4523 skip_python_tests.
4524
353229bf
AH
45252019-01-24 Alan Hayward <alan.hayward@arm.com>
4526
4527 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
4528 New structure.
4529 (struct struct_static_02_02): Likewise.
4530 (struct struct_static_02_03): Likewise.
4531 (struct struct_static_02_04): Likewise.
4532 (struct struct_static_04_01): Likewise.
4533 (struct struct_static_04_02): Likewise.
4534 (struct struct_static_04_03): Likewise.
4535 (struct struct_static_04_04): Likewise.
4536 (struct struct_static_06_01): Likewise.
4537 (struct struct_static_06_02): Likewise.
4538 (struct struct_static_06_03): Likewise.
4539 (struct struct_static_06_04): Likewise.
4540 (cmp_struct_static_02_01): Likewise.
4541 (cmp_struct_static_02_02): Likewise.
4542 (cmp_struct_static_02_03): Likewise.
4543 (cmp_struct_static_02_04): Likewise.
4544 (cmp_struct_static_04_01): Likewise.
4545 (cmp_struct_static_04_02): Likewise.
4546 (cmp_struct_static_04_03): Likewise.
4547 (cmp_struct_static_04_04): Likewise.
4548 (cmp_struct_static_06_01): Likewise.
4549 (cmp_struct_static_06_02): Likewise.
4550 (cmp_struct_static_06_03): Likewise.
4551 (cmp_struct_static_06_04): Likewise.
4552 (call_all): Test new structs.
4553 * gdb.base/infcall-nested-structs.exp: Likewise.
4554
73021deb
AH
45552019-01-21 Alan Hayward <alan.hayward@arm.com>
4556 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
4557
fc65c7db
AH
45582019-01-21 Alan Hayward <alan.hayward@arm.com>
4559 * gdb.base/stack-protector.c: New test.
4560 * gdb.base/stack-protector.exp: New file.
4561 * gdb.cp/ovldbreak.exp: Only allow a single break line.
4562 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
4563 option.
4564 (gdb_compile): Remove stack protector for GCC and prevent
4565 recursion.
4566
c24bdb02
KS
45672019-01-16 Keith Seitz <keiths@redhat.com>
4568
4569 PR gdb/23773
4570 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
4571
6f072a10
PFC
45722019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4573
4574 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
4575 aliases.
4576 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
4577 tests.
4578 * gdb.arch/powerpc-vector-regs.c: New file.
4579 * gdb.arch/powerpc-vector-regs.exp: New file.
4580
a7b8d682
PFC
45812019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4582
4583 * gdb.arch/altivec-regs.exp: Fix the list passed to
4584 gdb_expect_list when testing "info vector".
4585
6eb6fb67
AB
45862019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4587
4588 * gdb.base/style.exp: Don't include path in testname.
4589
b56f80d8
KS
45902019-01-10 Keith Seitz <keiths@redhat.com>
4591
4592 PR gdb/23712
4593 PR symtab/23010
4594 * gdb.dwarf2/multidictionary.exp: New file.
4595
041be526
SM
45962019-01-09 Simon Marchi <simon.marchi@ericsson.com>
4597
4598 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
4599 (test_gnuv3_style_demangling): ... this.
4600 (test_lucid_style_demangling): Remove.
4601 (test_arm_style_demangling): Remove.
4602 (test_hp_style_demangling): Remove.
4603 (do_tests): Remove calls to the above.
4604
d820d0c3
AB
46052019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4606
4607 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
4608 case.
4609
f097f5ad
TT
46102019-01-06 Tom Tromey <tom@tromey.com>
4611
4612 PR gdb/28155:
4613 * gdb.dwarf2/typedef-void-finish.exp: New file.
4614
2cd8cc0b
TT
46152018-12-28 Tom Tromey <tom@tromey.com>
4616 Simon Marchi <simark@simark.ca>
4617
4618 * gdb.base/jit-exec.exp: New file.
4619 * gdb.base/jit-exec.c: New file.
4620 * gdb.base/jit-execd.c: New file.
4621
35fb8261
TT
46222018-12-28 Tom Tromey <tom@tromey.com>
4623
4624 * gdb.base/style.exp: Update test to check for address styling.
4625
47fd17cd
TT
46262018-12-28 Tom Tromey <tom@tromey.com>
4627
4628 * gdb.base/style.exp: Add test for styling of "Reading symbols"
4629 message.
4630
d47032b7
TT
46312018-12-28 Tom Tromey <tom@tromey.com>
4632
4633 * gdb.base/style.exp: Add test for version number styling.
4634
af79b68d
TT
46352018-12-28 Tom Tromey <tom@tromey.com>
4636
4637 * gdb.base/style.exp: Add test for print_address_symbolic.
4638
0bb296cb
TT
46392018-12-28 Tom Tromey <tom@tromey.com>
4640
4641 * gdb.base/style.exp: Add test for breakpoint setting.
4642
80ae2043
TT
46432018-12-28 Tom Tromey <tom@tromey.com>
4644
4645 * gdb.base/style.exp: Add test for variable names.
4646
cbe56571
TT
46472018-12-28 Tom Tromey <tom@tromey.com>
4648
4649 * gdb.base/style.exp: New file.
4650 * gdb.base/style.c: New file.
4651
9162a27c
TT
46522018-12-28 Tom Tromey <tom@tromey.com>
4653
4654 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
4655 "dumb".
4656 * gdb.base/readline.exp (operate_and_get_next): Save and restore
4657 the TERM environment variable.
4658
bc543c90
TT
46592018-12-27 Tom Tromey <tom@tromey.com>
4660
4661 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
4662 pagination test.
4663
6f0ffe50
AB
46642018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
4665
4666 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
4667 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
4668
b5a1e557
PW
46692018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4670
4671 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
4672 Filename a.adb changed to bp_fun_addr.adb.
4673 gdb.ada/bp_fun_addr.exp: Update test accordingly.
4674
6e8b1ab2
JV
46752018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
4676
4677 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
4678 non-PIE executables.
4679 * README: Mention the gdb,nopie_flag board setting.
4680 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
4681 non-PIE executable.
4682 * gdb.arch/amd64-entry-value.exp: Likewise.
4683 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
4684 * gdb.arch/i386-float.exp: Likewise.
4685 * gdb.arch/i386-signal.exp: Likewise.
4686 * gdb.mi/mi-reg-undefined.exp: Likewise.
4687
d00a27c5
PM
46882018-12-21 Paul Marechal <paul.marechal@ericsson.com>
4689
4690 PR gdb/23974
4691 * gdb.base/info-os.exp: Check return for unknown "info os" type.
4692
161d081c
PW
46932018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4694
4695 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
4696 Update order of results accordingly.
4697
b001de23
AB
46982018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
4699
4700 * gdb.base/annota1.exp: Update a test regexp.
4701
99e1a184
AB
47022018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4703
4704 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
4705
7a81c1e2
PW
47062018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4707
4708 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
4709 (reuse_time): Initialize to REUSE_TIME_CAP.
4710 (check_rc): New function.
4711 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
4712 Check pthread_create rc.
4713 (spawner_thread_func): Check pthread_create and pthread_join rc.
4714
73e8dc90
PA
47152018-12-08 Pedro Alves <palves@redhat.com>
4716
4717 * gdb.base/list.exp (test_forward_search): Rename to ...
4718 (test_forward_reverse_search): ... this. Also test reverse-search
4719 and the forward-search alias.
4720
13f2ed32
AB
47212018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
4722
4723 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
4724 local timeout variable before return, and remove all local timeout
4725 variable entirely.
4726 (gdb_load): Likewise.
4727
64d27cfc
TV
47282018-12-01 Tom de Vries <tdevries@suse.de>
4729
4730 * gdb.base/gdb-caching-proc.exp: New file.
4731
f63c03b4
SDJ
47322018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
4733
4734 * Makefile.in (TIMESTAMP): New variable.
4735 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
4736 command.
4737 (check-single-racy): Likewise.
4738 (check/%.exp): Likewise.
4739 (check-racy/%.exp): Likewise.
4740 (workers/%.worker): Likewise.
4741 (build-perf): Likewise.
4742 (check-perf): Likewise.
4743 * README: Describe new "TS" and "TS_FORMAT" variables.
4744 * print-ts.py: New file.
4745
1c97054b
BF
47462018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
4747
4748 PR python/23714
4749 * gdb.python/python.exp: Test command repetition after
4750 gdb.execute.
4751
1871a62d
AB
47522018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
4753
4754 * gdb.opt/inline-break.exp: Add test that info breakpoint output
4755 is correctly aligned.
4756
fb5e1ed9
PW
47572018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4758
4759 * gdb.ada/info_auto_lang.exp: New testcase.
4760 * gdb.ada/info_auto_lang/global_pack.ads: New file.
4761 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
4762 * gdb.ada/info_auto_lang/some_c.c: New file.
4763
43d397ca
PW
47642018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4765
4766 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
4767 FUNC_lang language syntax.
4768
beddd671
PW
47692018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4770
4771 * gdb.base/info_minsym.c: New file.
4772 * gdb.base/info_minsym.exp: New file.
4773
73fc52c4
TT
47742018-11-19 Tom Tromey <tom@tromey.com>
4775
4776 PR rust/23625:
4777 * gdb.rust/simple.exp: Add ptype test. Update expected output.
4778 * gdb.rust/expr.exp: Update expected output. Change one test.
4779
994b876a
TT
47802018-11-19 Tom Tromey <tom@tromey.com>
4781
4782 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
4783
6769f276
PA
47842018-11-19 Pedro Alves <palves@redhat.com>
4785
4786 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
4787 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
4788 see the expected warning.
4789
38a72da0
AH
47902018-11-16 Alan Hayward <alan.hayward@arm.com>
4791
4792 PR gdb/22736:
4793 * gdb.cp/infcall-nodebug-lib.c: New test.
4794 * gdb.cp/infcall-nodebug-main.c: New test.
4795 * gdb.cp/infcall-nodebug.exp: New file.
4796
53a89d6e
SM
47972018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
4798
4799 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
4800 completer tests.
4801
9325300d
TV
48022018-11-09 Tom de Vries <tdevries@suse.de>
4803
4804 * gdb.base/msym-lang.c: New test.
4805 * gdb.base/msym-lang.exp: New file.
4806 * gdb.base/msym-lang-main.c: New test.
4807
20f0d60d
TT
48082018-11-08 Tom Tromey <tom@tromey.com>
4809
4810 PR gdb/23555:
4811 PR gdb/23838:
4812 * gdb.base/warning.exp: New file.
4813
b5420128
JB
48142018-11-08 Jan Beulich <jbeulich@suse.com>
4815
4816 * testsuite/gdb.arch/i386-avx512.c,
4817 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
4818
cd115d61
AB
48192018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
4820
4821 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
4822 point hardware.
4823
35ee2dc2
AB
48242018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
4825
4826 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
4827 * gdb.dwarf2/missing-type-name.exp: New file.
4828
31aceee8
TV
48292018-11-06 Tom de Vries <tdevries@suse.de>
4830
4831 * gdb.base/many-headers.c: New test.
4832 * gdb.base/many-headers.exp: New file.
4833
109be305
JW
48342018-11-06 Jim Wilson <jimw@sifive.com>
4835
4836 * gdb.base/code_elim.exp: For riscv, set additional_flags
4837 to include -msmall-data-limit=0.
4838
e2b7af72
JB
48392018-11-01 Joel Brobecker <brobecker@adacore.com>
4840
4841 * gdb.ada/watch_minus_l: New testcase.
4842
cdcda965
SM
48432018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
4844
4845 * gdb.arch/aix-sighandle.c: New file.
4846 * gdb.arch/aix-sighandle.exp: New file.
4847
92dcebf3
AB
48482018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4849
4850 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
4851 registers being unions.
4852
68b9ac18
TV
48532018-10-31 Tom de Vries <tdevries@suse.de>
4854
4855 * lib/valgrind.exp: New file.
4856 (vgdb_start, vgdb_stop): New procs, factored out of ...
4857 * gdb.base/valgrind-bt.exp: ... here, ...
4858 * gdb.base/valgrind-disp-step.exp: ... here and ...
4859 * gdb.base/valgrind-infcall.exp: ... here.
4860
1443936e
TV
48612018-10-31 Tom de Vries <tdevries@suse.de>
4862
4863 * lib/gdb.exp (get_valueof): Don't output read value in test name.
4864
eb77c9df
AB
48652018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4866
4867 * gdb.dwarf2/void-type.c: New file.
4868 * gdb.dwarf2/void-type.exp: New file.
4869
82b5e646
PW
48702018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4871
4872 * gdb.base/info_qt.c: New file.
4873 * gdb.base/info_qt.exp: New file.
4874
8d619c01
EBM
48752018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4876
4877 * gdb.arch/powerpc-htm-regs.c: New file.
4878 * gdb.arch/powerpc-htm-regs.exp: New file.
4879
f2cf6173
EBM
48802018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4881
4882 * gdb.arch/powerpc-tar.c: New file.
4883 * gdb.arch/powerpc-tar.exp: New file.
4884
7ca18ed6
EBM
48852018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4886
4887 * gdb.arch/powerpc-ppr-dscr.c: New file.
4888 * gdb.arch/powerpc-ppr-dscr.exp: New file.
4889
bfcc0eba
TV
48902018-10-25 Tom de Vries <tdevries@suse.de>
4891
4892 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
4893
fe1a5cad
TV
48942018-10-24 Tom de Vries <tdevries@suse.de>
4895
4896 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
4897 longer exists error.
4898
a76dc3b7
TV
48992018-10-24 Tom de Vries <tdevries@suse.de>
4900
4901 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
4902
4df46df7
TV
49032018-10-24 Tom de Vries <tdevries@suse.de>
4904
4905 * gdb.base/valgrind-db-attach.exp: Handle removed support for
4906 --db-attach in valgrind.
4907
0dbfcfff
AB
49082018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
4909
4910 * gdb.arch/riscv-reg-aliases.c: New file.
4911 * gdb.arch/riscv-reg-aliases.exp: New file.
4912
b04480b1
AH
49132018-10-19 Alan Hayward <alan.hayward@arm.com>
4914
4915 * gdb.python/py-cmd.exp: Check for gdb_prompt.
4916
2c6ac8d7
AH
49172018-10-19 Alan Hayward <alan.hayward@arm.com>
4918
4919 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4920
2bc69f25
AH
49212018-10-19 Alan Hayward <alan.hayward@arm.com>
4922
4923 * gdb.cp/ovldbreak.exp: Fix regexps.
4924
1f1ae3a3
AH
49252018-10-19 Alan Hayward <alan.hayward@arm.com>
4926
4927 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4928
94c18618
SDJ
49292018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4930
4931 PR cli/23785
4932 * gdb.base/restore.exp: New test to check if "restore" with an
4933 invalid file doesn't segfault.
4934
812cd6eb
TV
49352018-10-18 Tom de Vries <tdevries@suse.de>
4936
4937 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4938 * gdb.ada/excep_handle.exp: Same.
4939 * gdb.ada/mi_string_access.exp: Same.
4940 * gdb.ada/mi_var_union.exp: Same.
4941 * gdb.arch/arc-analyze-prologue.exp: Same.
4942 * gdb.arch/arc-decode-insn.exp: Same.
4943 * gdb.base/readnever.exp: Same.
4944 * gdb.fortran/printing-types.exp: Same.
4945 * gdb.guile/scm-lazy-string.exp: Same.
4946
c4b90788
TV
49472018-10-16 Tom de Vries <tdevries@suse.de>
4948
4949 PR gdb/23730
4950 * gdb.base/catch-follow-exec.c: Add copyright notice.
4951 * gdb.base/catch-follow-exec.exp: Rewrite to use
4952 gdb_spawn_with_cmdline_opts. Require gdb-native.
4953
8bca2978
SL
49542018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4955
4956 * gdb.trace/actions-changed.exp: Check for arch support.
4957 * gdb.trace/actions.exp: Likewise.
4958 * gdb.trace/ax.exp: Likewise.
4959 * gdb.trace/backtrace.exp: Likewise.
4960 * gdb.trace/change-loc.exp: Likewise.
4961 * gdb.trace/deltrace.exp: Likewise.
4962 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4963 * gdb.trace/ftrace.exp: Likewise.
4964 * gdb.trace/infotrace.exp: Check for arch support.
4965 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4966 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4967 * gdb.trace/mi-tsv-changed.exp: Likewise.
4968 * gdb.trace/packetlen.exp: Likewise.
4969 * gdb.trace/passc-dyn.exp: Likewise.
4970 * gdb.trace/passcount.exp: Likewise.
4971 * gdb.trace/pending.exp: Likewise.
4972 * gdb.trace/range-stepping.exp: Check for shlib support.
4973 * gdb.trace/report.exp: Check for arch support.
4974 * gdb.trace/save-trace.exp: Likewise.
4975 * gdb.trace/signal.exp: Check for signal support.
4976 * gdb.trace/tfind.exp: Check for arch support.
4977 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4978 * gdb.trace/trace-common.h: Add comment.
4979 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4980 * gdb.trace/trace-enable-disable.exp: Likewise.
4981 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4982 * gdb.trace/tracecmd.exp: Check for arch support.
4983 * gdb.trace/tspeed.exp: Check for shlib and target support.
4984 * gdb.trace/tstatus.exp: Check for arch support.
4985 * gdb.trace/tsv.exp: Likewise.
4986 * gdb.trace/while-dyn.exp: Likewise.
4987 * gdb.trace/while-stepping.exp: Likewise.
4988 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4989
f9c49bff
SM
49902018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4991
4992 * gdb.trace/tspeed.exp: Remove nowarnings.
4993 (prepare_for_trace_test): Declare "global ipalib".
4994 * gdb.trace/tspeed.c: Include unistd.h.
4995 (main): Remove superfluous printf argument.
4996
d4330bde
SL
49972018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4998
4999 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
5000 directory prefix on the filename.
5001
8ecfd7bd
SDJ
50022018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
5003
5004 * gdb.gdb/unittest.exp: Update expected message informing that
5005 selftests have been disabled.
5006 * gdb.server/unittest.exp: Likewise.
5007
58bbcd02
TV
50082018-10-09 Tom de Vries <tdevries@suse.de>
5009
5010 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
5011 with runto_main.
5012
9f6b697b
WP
50132018-10-08 Weimin Pan <weimin.pan@oracle.com>
5014
5015 PR c++/16841
5016 * gdb.cp/virtbase2.cc: New file.
5017 * gdb.cp/virtbase2.exp: New file.
5018
add5ded5
TT
50192018-10-06 Tom Tromey <tom@tromey.com>
5020
5021 PR python/19399:
5022 * gdb.python/py-inferior.exp: Add architecture test.
5023
f9e48344
TT
50242018-10-06 Tom Tromey <tom@tromey.com>
5025
5026 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
5027 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
5028
2a8be203
TT
50292018-10-06 Tom Tromey <tom@tromey.com>
5030
5031 * gdb.python/py-breakpoint.exp (check_last_event): Check location
5032 of a "throw" catchpoint.
5033
e04caa70
SDJ
50342018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
5035
5036 * gdb.base/info-proc.exp: Update string expected from "help info
5037 proc".
5038
5ca8c39f
TT
50392018-10-04 Tom Tromey <tom@tromey.com>
5040
5041 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
5042 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
5043 (test_initial_complaints, test_empty_complaints): Update.
5044 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5045
3453e7e4
TT
50462018-10-04 Tom Tromey <tom@tromey.com>
5047
5048 PR cli/19551:
5049 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
5050 * lib/gdb.exp (gdb_file_cmd): Update.
5051 * gdb.stabs/weird.exp (print_weird_var): Update.
5052 * gdb.server/solib-list.exp: Update.
5053 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
5054 * gdb.mi/mi-cli.exp: Update.
5055 * gdb.linespec/linespec.exp: Update.
5056 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5057 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
5058 * gdb.cp/cp-relocate.exp: Update.
5059 * gdb.base/sym-file.exp: Update.
5060 * gdb.base/relocate.exp: Update.
5061 * gdb.base/readnever.exp: Update.
5062 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5063 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
5064 * gdb.base/dbx.exp (gdb_file_cmd): Update.
5065 * gdb.base/code_elim.exp: Update.
5066 * gdb.base/break-unload-file.exp (test_break): Update.
5067 * gdb.base/break-interp.exp (test_attach_gdb): Update.
5068 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
5069 Update.
5070 * gdb.base/attach.exp (do_attach_tests): Update.
5071 * gdb.base/sepdebug.exp: Update.
5072 * gdb.python/py-section-script.exp: Update.
5073
6afcf761
TT
50742018-10-04 Tom Tromey <tom@tromey.com>
5075
5076 PR cli/22234:
5077 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
5078 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
5079 output.
5080
fef1b293
TT
50812018-10-04 Tom Tromey <tom@tromey.com>
5082
5083 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
5084 set width and height to 0.
5085 (test_command_line_attach_run): Use -quiet.
5086
ca98345e
SL
50872018-10-03 Sandra Loosemore <sandra@codesourcery.com>
5088
5089 * lib/gdb.exp (skip_ifunc_tests): New.
5090 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
5091 other compile failures.
5092 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
5093
ff34e6ae
SM
50942018-10-01 Simon Marchi <simon.marchi@ericsson.com>
5095
5096 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
5097 is_amd64_regs_target.
5098
6bb8890e
AH
50992018-10-01 Alan Hayward <alan.hayward@arm.com>
5100
5101 * gdb.arch/aarch64-sighandler-regs.c: New test.
5102 * gdb.arch/aarch64-sighandler-regs.exp: New file.
5103 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
5104
224d30d3
MM
51052018-10-01 Markus Metzger <markus.t.metzger@intel.com>
5106
5107 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
5108 assembly.
5109
f67ffa6a
AB
51102018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
5111
5112 * gdb.base/frame-selection.exp: New file.
5113 * gdb.base/frame-selection.c: New file.
5114
9fc3183f
AH
51152018-09-27 Alan Hayward <alan.hayward@arm.com>
5116
5117 * gdb.threads/check-libthread-db.c (thread_routine): Use a
5118 pthread barrier.
5119 (main): Likewise.
5120
d354055e
AB
51212018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
5122
5123 * gdb.base/large-frame-1.c: New file.
5124 * gdb.base/large-frame-2.c: New file.
5125 * gdb.base/large-frame.exp: New file.
5126 * gdb.base/large-frame.h: New file.
5127
db727370
JL
51282018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
5129
5130 PR gdb/20948
5131 * gdb.base/write_mem.exp: New test.
5132 * gdb.base/write_mem.c: Likewise.
5133
ae778caf
TT
51342018-09-23 Tom Tromey <tom@tromey.com>
5135
5136 PR python/18852:
5137 * gdb.python/py-parameter.exp: Add test for parameter that throws
5138 on "set".
5139
fd3ba736
TT
51402018-09-23 Tom Tromey <tom@tromey.com>
5141
5142 PR python/17284:
5143 * gdb.python/py-template.exp (test_template_arg): Add test for
5144 negative template argument number.
5145
39a24317
TT
51462018-09-23 Tom Tromey <tom@tromey.com>
5147
5148 PR python/14062:
5149 * gdb.python/python.exp: Add test for post_event error.
5150
f5769a2c
TT
51512018-09-23 Tom Tromey <tom@tromey.com>
5152
5153 PR python/18170:
5154 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
5155 convert pointers to int and long.
5156
1c1e54f6
TT
51572018-09-23 Tom Tromey <tom@tromey.com>
5158
5159 PR python/20126:
5160 * gdb.python/py-value.exp (test_value_numeric_ops): Add
5161 signed-ness conversion tests.
5162
fb4fa946
TT
51632018-09-23 Tom Tromey <tom@tromey.com>
5164
5165 PR python/18352;
5166 * gdb.python/py-value.exp (test_float_conversion): New proc.
5167 Use it.
5168
a466edac
HAQ
51692018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
5170
5171 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
5172
4ee9b0c5
SL
51732018-09-18 Sandra Loosemore <sandra@codesourcery.com>
5174
5175 * gdb.base/complete-empty.exp: Skip tab-completion tests if
5176 no readline.
5177 * gdb.base/utf8-identifiers.exp: Likewise.
5178 * gdb.cp/cpcompletion.exp: Likewise.
5179 * gdb.linespec/cpcompletion.exp: Likewise.
5180 * gdb.linespec/cpls-abi-tag.exp: Likewise.
5181 * gdb.linespec/cpls-ops.exp: Likewise.
5182
23be8da7
RB
51832018-09-19 Richard Bunt <richard.bunt@arm.com>
5184 Chris January <chris.january@arm.com>
5185
5186 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
5187 * gdb.fortran/short-circuit-argument-list.exp: New file.
5188 * gdb.fortran/short-circuit-argument-list.f90: New test.
5189
5031d0ae
SDJ
51902018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5191
5192 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
5193 "arch=" keyword when executing "-stack-list-frames".
5194
b4c0d1a4
SDJ
51952018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5196
5197 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
5198 "arch=" keyword when executing "-stack-list-frames".
5199
7a6d2b45
SDJ
52002018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5201
5202 * gdb.ada/complete.exp: Expect for "@" when doing "complete
5203 break ada".
5204
8588b356
SM
52052018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
5206
5207 PR python/23669
5208 * gdb.python/python.exp: Test gdb.execute("show commands").
5209
65e65158
TT
52102018-09-16 Tom Tromey <tom@tromey.com>
5211
5212 * gdb.base/new-ui.exp (do_execution_tests): Update.
5213 * gdb.base/dbx.exp (test_breakpoints): Update.
5214
bf326452
AH
52152018-09-14 Alan Hayward <alan.hayward@arm.com>
5216
5217 * lib/gdb.exp (gdb_simple_compile): Add proc.
5218 (is_elf_target): Use gdb_simple_compile.
5219 (skip_altivec_tests): Likewise.
5220 (skip_vsx_tests): Likewise.
5221 (skip_tsx_tests): Likewise.
5222 (skip_btrace_tests): Likewise.
5223 (skip_btrace_pt_tests): Likewise.
5224 (gdb_can_simple_compile): Likewise.
5225 (gdb_has_argv0): Likewise.
5226 (gdb_target_symbol_prefix): Likewise.
5227 (target_supports_scheduler_locking): Likewise.
5228
2361b0fb
TT
52292018-09-13 Tom Tromey <tom@tromey.com>
5230
5231 * Makefile.in (TAGS): Recognize proc_with_prefix and
5232 gdb_caching_proc.
5233
0ae1a321
SM
52342018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5235
5236 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
5237 method.
5238
a40bf0c2
SM
52392018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5240
5241 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
5242 and a few other Inferior properties when the Inferior is no
5243 longer valid.
5244
4a3fe98f
TT
52452018-09-13 Tom Tromey <tom@tromey.com>
5246
5247 PR rust/23650:
5248 * gdb.rust/simple.exp: Add test for enum field access error.
5249
098b2108
TT
52502018-09-13 Tom Tromey <tom@tromey.com>
5251
5252 PR rust/23626:
5253 * gdb.rust/simple.rs (EmptyEnum): New type.
5254 (main): Use it.
5255 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
5256
1256af7d
SM
52572018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5258
5259 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
5260 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
5261 * gdb.python/py-symtab.exp: Update test printing an objfile.
5262
4aa8e6c2
SM
52632018-09-12 Simon Marchi <simon.marchi@ericsson.com>
5264
5265 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
5266 object.
5267
c221b2f7
AH
52682018-09-12 Alan Hayward <alan.hayward@arm.com>
5269
5270 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
5271 (support_complex_tests): Use gdb_can_simple_compile.
5272 (is_ilp32_target): Likewise.
5273 (is_lp64_target): Likewise.
5274 (is_64_target): Likewise.
5275 (is_amd64_regs_target): Likewise.
5276 (is_aarch32_target): Likewise.
5277 (gdb_int128_helper): Likewise.
5278
6f1107b5
JK
52792018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5280
5281 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
5282
1f5d1570
JG
52832018-09-10 Jerome Guitton <guitton@adacore.com>
5284
5285 * gdb.ada/same_component_name: Add test for case of tagged record
5286 with variable-length fields.
5287
cc330e39
XR
52882018-09-10 Xavier Roirand <roirand@adacore.com>
5289
5290 * gdb.ada/access_to_unbounded_array.exp: New testcase.
5291 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
5292 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
5293 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
5294
b9c50e9a
XR
52952018-09-10 Xavier Roirand <roirand@adacore.com>
5296
5297 * gdb.ada/mi_string_access.exp: New testcase.
5298 * gdb.ada/mi_string_access/bar.adb: New file.
5299 * gdb.ada/mi_string_access/pck.adb: New file.
5300 * gdb.ada/mi_string_access/pck.asd: New file.
5301
2963898f
XR
53022018-09-10 Xavier Roirand <roirand@adacore.com>
5303
5304 * gdb.ada/mi_var_union.exp: New testcase.
5305 * gdb.ada/mi_var_union/bar.adb: New file.
5306 * gdb.ada/mi_var_union/pck.adb: New file.
5307 * gdb.ada/mi_var_union/pck.asd: New file.
5308
1aac008f
TT
53092018-09-08 Tom Tromey <tom@tromey.com>
5310
5311 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
5312
332cf4c9
TT
53132018-09-08 Tom Tromey <tom@tromey.com>
5314
5315 PR python/16047:
5316 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
5317 (register_pretty_printers): Register new printer.
5318 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
5319 test.
5320 * gdb.python/py-prettyprint.c (int_type3): New typedef.
5321 (an_int_type3): New global.
5322
424da6cf
JB
53232018-09-08 Joel Brobecker <brobecker@adacore.com>
5324
5325 * gdb.ada/expr_with_funcall: New testcase.
5326
2a62dfa9
JB
53272018-09-08 Joel Brobecker <brobecker@adacore.com>
5328
5329 * gdb.ada/packed_array_assign: New testcase.
5330
96b6697f
AB
53312018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
5332
5333 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
5334 names, and add test prefixes to make test names unique.
5335
e4a62c65
TV
53362018-09-05 Tom de Vries <tdevries@suse.de>
5337
5338 * gdb.dwarf2/varval.exp: Add test.
5339
dd083ee2
GB
53402018-09-04 Gary Benson <gbenson@redhat.com>
5341
5342 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
5343 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
5344
aef9346c
TT
53452018-08-31 Tom Tromey <tom@tromey.com>
5346
5347 * gdb.rust/simple.rs: Rename second variable "v".
5348
c67f2e15
AB
53492018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
5350
5351 * gdb.base/funcargs.c (use_a): New function.
5352 (recurse): Call use_a.
5353
078a0207
KS
53542018-08-29 Keith Seitz <keiths@redhat.com>
5355
5356 * gdb.compile/compile-cplus-anonymous.cc: New file.
5357 * gdb.compile/compile-cplus-anonymous.exp: New file.
5358 * gdb.compile/compile-cplus-array-decay.cc: New file.
5359 * gdb.compile/compile-cplus-array-decay.exp: New file.
5360 * gdb.compile/compile-cplus-inherit.cc: New file.
5361 * gdb.compile/compile-cplus-inherit.exp: New file.
5362 * gdb.compile/compile-cplus-member.cc: New file.
5363 * gdb.compile/compile-cplus-member.exp: New file.
5364 * gdb.compile/compile-cplus-method.cc: New file.
5365 * gdb.compile/compile-cplus-method.exp: New file.
5366 * gdb.compile/compile-cplus-mod.c: "New" file.
5367 * gdb.compile/compile-cplus-namespace.cc: New file.
5368 * gdb.compile/compile-cplus-namespace.exp: New file.
5369 * gdb.compile/compile-cplus-nested.cc: New file.
5370 * gdb.compile/compile-cplus-nested.exp: New file.
5371 * gdb.compile/compile-cplus-print.c: "New" file.
5372 * gdb.compile/compile-cplus-print.exp: "New" file.
5373 * gdb.compile/compile-cplus-virtual.cc: New file.
5374 * gdb.compile/compile-cplus-virtual.exp: New file.
5375 * gdb.compile/compile-cplus.c: "New" file.
5376 * gdb.compile/compile-cplus.exp: "New" file.
5377 * lib/compile-support.exp: New file.
5378
b0f492b9
GB
53792018-08-16 Gary Benson <gbenson@redhat.com>
5380
5381 PR gdb/13000:
5382 * gdb.base/batch-exit-status.exp: New file.
5383 * gdb.base/batch-exit-status.good-commands: Likewise.
5384 * gdb.base/batch-exit-status.bad-commands: Likewise.
5385
36eb4c5f
AH
53862018-08-29 Alan Hayward <alan.hayward@arm.com>
5387
5388 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
5389 (struct struct02): Likewise.
5390 (struct struct03): Likewise.
5391 (struct struct04): Likewise.
5392 (struct struct_01_01): New struct.
5393 (struct struct_01_02): Likewise.
5394 (struct struct_01_03): Likewise.
5395 (struct struct_01_04): Likewise.
5396 (struct struct_02_01): Likewise.
5397 (struct struct_02_02): Likewise.
5398 (struct struct_02_03): Likewise.
5399 (struct struct_02_04): Likewise.
5400 (struct struct_04_01): Likewise.
5401 (struct struct_04_02): Likewise.
5402 (struct struct_04_03): Likewise.
5403 (struct struct_04_04): Likewise.
5404 (struct struct_05_01): Likewise.
5405 (struct struct_05_02): Likewise.
5406 (struct struct_05_03): Likewise.
5407 (struct struct_05_04): Likewise.
5408 (cmp_struct01): Remove function.
5409 (cmp_struct02): Likewise.
5410 (cmp_struct03): Likewise.
5411 (cmp_struct04): Likewise.
5412 (cmp_struct_01_01): Add Function.
5413 (cmp_struct_01_02): Likewise.
5414 (cmp_struct_01_03): Likewise.
5415 (cmp_struct_01_04): Likewise.
5416 (cmp_struct_02_01): Likewise.
5417 (cmp_struct_02_02): Likewise.
5418 (cmp_struct_02_03): Likewise.
5419 (cmp_struct_02_04): Likewise.
5420 (cmp_struct_04_01): Likewise.
5421 (cmp_struct_04_02): Likewise.
5422 (cmp_struct_04_03): Likewise.
5423 (cmp_struct_04_04): Likewise.
5424 (cmp_struct_05_01): Likewise.
5425 (cmp_struct_05_02): Likewise.
5426 (cmp_struct_05_03): Likewise.
5427 (cmp_struct_05_04): Likewise.
5428 (call_all): Add new structs.
5429 * gdb.base/infcall-nested-structs.exp: Likewise.
5430
3bf9c013
JV
54312018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
5432
5433 * gdb.python/py-framefilter-mi.exp: Update regexp to
5434 check for "arch" field in frame output.
5435
450d1e88
KB
54362018-08-23 Kevin Buettner <kevinb@redhat.com>
5437
5438 * gdb.dwarf2/dw2-ranges-func.c: New file.
5439 * gdb.dwarf2/dw2-ranges-func.exp: New file.
5440
ae739fe7
SM
54412018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
5442
5443 * gdb.base/term.exp: Compare terminal settings with values from
5444 the inferior.
5445 * gdb.base/term.c: Get and set terminal settings.
5446
6d52907e
JV
54472018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
5448
5449 * lib/mi-support.exp (mi_expect_stop): Update regexp to
5450 accommodate new "arch" field in frame output.
5451 * gdb.mi/mi-return.exp: Likewise.
5452 * gdb.mi/mi-stack.exp: Likewise.
5453 * gdb.mi/mi-syn-frame.exp: Likewise.
5454 * gdb.mi/user-selected-context-sync.exp: Likewise.
5455
be2d111a
MS
54562018-08-19 Michael Spang <spang@google.com>
5457
5458 PR gdb/11786
5459 * gdb.base/gcore-tls-pie.c: New file.
5460 * gdb.base/gcore-tls-pie.exp: New file.
5461
ae3a7c47
KB
54622018-08-18 Kevin Buettner <kevinb@redhat.com>
5463
5464 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
5465 * gdb.dwarf2/varval.c: New file.
5466 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 5467
2ecae92e
AH
54682018-08-17 Alan Hayward <alan.hayward@arm.com>
5469
5470 PR gdb/18931
5471 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
5472
c1854f1d
KS
54732018-08-16 Keith Seitz <keiths@redhat.com>
5474
5475 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
5476 tests expected to pass.
5477
26fb3983
JV
54782018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
5479
5480 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
5481 -data-disassemble -a.
5482 (test_disassembly_bogus_args): Likewise.
5483
67943c00
AB
54842018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
5485
5486 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
5487
5ff2bbae
AB
54882018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5489
5490 * gdb.base/vla-optimized-out.exp: Add new test.
5491
e5bbcd0f
AB
54922018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5493
5494 * gdb.base/vla-optimized-out-o3.exp: Delete.
5495 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
5496 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
5497 deleted tests.
5498
9d4a934c
AB
54992018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
5500
5501 PR gdb/18050:
5502 * gdb.server/extended-remote-restart.c: New file.
5503 * gdb.server/extended-remote-restart.exp: New file.
5504
045cf012
SM
55052018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
5506
5507 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
5508 "set variable index = 42".
5509
87d6a7aa
SM
55102018-08-07 Simon Marchi <simon.marchi@ericsson.com>
5511
5512 * boards/index-cache-gdb.exp: New file.
5513 * gdb.dwarf2/index-cache.exp: New file.
5514 * gdb.dwarf2/index-cache.c: New file.
5515 * gdb.base/maint.exp: Check if we are using the index cache.
5516
96d68bd4
RO
55172018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5518
5519 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
5520 MAKEFLAGS.
5521
5a699617
RO
55222018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5523
5524 * dg-extract-results.sh: Move to toplevel contrib.
5525 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
5526 * Makefile.in (check-parallel-racy): Likewise.
5527
5bd18990
AB
55282018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
5529
5530 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
5531 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
5532 tests if the target supports scheduler locking.
5533
3fbbcf47
TV
55342018-08-04 Tom de Vries <tdevries@suse.de>
5535
5536 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
5537
3e1d3d8c
TT
55382018-08-02 Tom Tromey <tom@tromey.com>
5539
5540 PR symtab/16842.
5541 * gdb.cp/temargs.exp: Test "info address" of a template
5542 parameter.
5543
5abe0f0c
JV
55442018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
5545
5546 * gdb.python/py-mi-var-info-path-expression.c: New file.
5547 * gdb.python/py-mi-var-info-path-expression.py: New file.
5548 * gdb.python/py-mi-var-info-path-expression.exp: New file.
5549
fb66cde8
SDJ
55502018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
5551
5552 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
5553 error after "cannot resolve name" string.
5554
c708f4d2
AB
55552018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
5556
5557 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
5558 started.
5559 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
5560
37cc0cae
TV
55612018-07-28 Tom de Vries <tdevries@suse.de>
5562
5563 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
5564
63b4ecf7
TV
55652018-07-26 Tom de Vries <tdevries@suse.de>
5566
5567 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
5568
3c3bb058
AB
55692018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
5570
5571 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
5572 is visible.
5573
9e7f3bbb
TV
55742018-07-26 Tom de Vries <tdevries@suse.de>
5575
5576 PR breakpoints/23366
5577 * gdb.base/catch-follow-exec.c: New test.
5578 * gdb.base/catch-follow-exec.exp: New file.
5579
16f808ec
TV
55802018-07-25 Tom de Vries <tdevries@suse.de>
5581
5582 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
5583 vla-optimized-out.c.
5584
d7154a8d
JV
55852018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
5586
5587 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
5588 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
5589
232a0032
TV
55902018-07-20 Tom de Vries <tdevries@suse.de>
5591
5592 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
5593 NOCLONE macro.
5594 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
5595
fbb1d502
TV
55962018-07-19 Tom de Vries <tdevries@suse.de>
5597
5598 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
5599 regular expression.
5600
42dc7699
TV
56012018-07-18 Tom de Vries <tdevries@suse.de>
5602
5603 * gdb.base/vla-optimized-out.c: New test.
5604 * gdb.base/vla-optimized-out.exp: New file.
5605
7f1f7e23
SDJ
56062018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
5607
5608 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
5609 message "No address associated with hostname" when gdbserver
5610 cannot resolve the hostname.
5611
5759ebb3
PW
56122018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5613
5614 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
5615 Add some test prefixes to make tests unique.
5616
3606ccab
PW
56172018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5618
5619 * gdb.base/frameapply.c: New file.
5620 * gdb.base/frameapply.exp: New file.
5621
529c08b2
PW
56222018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5623
5624 * gdb.base/skip.exp: Update expected error message.
5625
c7ab0aef
SDJ
56262018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
5627 Jan Kratochvil <jan.kratochvil@redhat.com>
5628 Paul Fertser <fercerpav@gmail.com>
5629 Tsutomu Seki <sekiriki@gmail.com>
5630
5631 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
5632 parameter.
5633 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
5634 by default.
5635 * boards/native-gdbserver.exp: Likewise.
5636 * gdb.server/run-without-local-binary.exp: Improve regexp used
5637 for detecting when a remote debugging connection succeeds.
5638 * gdb.server/server-connect.exp: New file.
5639 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
5640 Do not prefix the port number with ":".
5641 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
5642 support for detecting and using it. Add '$debughost_gdbserver'
5643 to the list of arguments used to start gdbserver. Handle case
5644 when gdbserver cannot resolve a network name.
5645
16ff70dd
SDJ
56462018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
5647
5648 PR c++/23373
5649 * gdb.base/ptype-offsets.cc (struct static_member): New
5650 struct.
5651 (main) <stmember>: New variable.
5652 * gdb.base/ptype-offsets.exp: Add test for printing a struct
5653 with a static member in it.
5654
3541979f
AB
56552018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
5656
5657 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
5658 watchpoints enabled and disabled.
5659
c8ad9b9a
AB
56602018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5661
5662 * gdb.base/examine-backward.exp: Still run tests around address
5663 0x0, even if address 0x0 is not readable. Update the pattern for
5664 matching address 0x0 in expected output.
5665
e0e5e971
AB
56662018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
5667
5668 * gdb.base/share-env-with-gdbserver.c (main): Add call to
5669 malloc/free.
5670
1ea5da02
TV
56712018-07-04 Tom de Vries <tdevries@suse.de>
5672
5673 * gdb.dwarf2/dw2-error.exp: Update expected error message.
5674
471b9d15
MR
56752018-07-02 Maciej W. Rozycki <macro@mips.com>
5676
5677 PR tdep/8282
5678 * gdb.arch/mips-disassembler-options.exp: New test.
5679 * gdb.arch/mips-disassembler-options.s: New test source.
5680
75acb486
PA
56812018-06-29 Pedro Alves <palves@redhat.com>
5682
5683 * gdb.threads/names.exp: Adjust expected "info threads" output.
5684
cd2bb709
PA
56852018-06-29 Pedro Alves <palves@redhat.com>
5686
5687 * gdb.opt/inline-break.exp (line number, address): Add "info
5688 break" tests.
5689
991ff292
PA
56902018-06-29 Pedro Alves <palves@redhat.com>
5691
5692 * gdb.opt/inline-break.c (func1): Add "break here" marker.
5693 * gdb.opt/inline-break.exp: Test setting breakpoints by line
5694 number and address and running to them.
5695
356819b6 56962018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
5697
5698 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
5699
2512d7ef
JK
57002018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5701
5702 * lib/compiler.c: Remove executable permission flag.
5703
be1b6474
RB
57042018-06-28 Richard Bunt <richard.bunt@arm.com>
5705
5706 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
5707 code.
5708 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
5709
291f9a96
PT
57102018-06-28 Petr Tesarik <ptesarik@suse.cz>
5711
5712 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
5713
ed6dfe51
PT
57142018-06-28 Petr Tesarik <ptesarik@suse.cz>
5715
5716 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
5717 address argument is omitted.
5718
d4d429d5
PT
57192018-06-28 Petr Tesarik <ptesarik@suse.cz>
5720
5721 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
5722
7ab6656f
OJ
57232018-06-27 Omair Javaid <omair.javaid@linaro.org>
5724
5725 PR gdb/21695
5726 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
5727 * gdb.base/infoline-reloc-main-from-zero.c: New file.
5728
a33ccfc7
TT
57292018-06-26 Tom Tromey <tom@tromey.com>
5730
5731 PR rust/22574:
5732 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
5733 * gdb.rust/simple.rs (struct SimpleLayout): New.
5734
6d72d289
SM
57352018-06-22 Simon Marchi <simon.marchi@ericsson.com>
5736
5737 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
5738 "info registers" output.
5739
8363f9d5
RB
57402018-06-21 Richard Bunt <richard.bunt@arm.com>
5741
5742 * gdb.base/watchpoint-hw-attach.c: New test.
5743 * gdb.base/watchpoint-hw-attach.exp: New file.
5744
f00674fe
SM
57452018-06-20 Simon Marchi <simon.marchi@ericsson.com>
5746
5747 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
5748 through /bin/sh.
5749 * boards/dwarf4-gdb-index.exp: Likewise.
5750 * boards/fission-dwp.exp: Likewise.
5751
1d554008
UW
57522018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
5753
5754 * gdb.base/float128.exp: Add comment and improved fail message
5755 to the failure case of "print large128" test.
5756
d0ac1c44
SM
57572018-06-19 Simon Marchi <simon.marchi@ericsson.com>
5758
5759 * configure.ac: Remove AC_PREREQ.
5760 * configure: Re-generate.
5761
61b04dd0
PA
57622018-06-19 Pedro Alves <palves@redhat.com>
5763
5764 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
5765 (func_extern_caller): New.
5766 (main): Call func_extern_caller.
5767 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
5768 logic change.
5769
f63b508a
SM
57702018-06-18 Weimin Pan <weimin.pan@oracle.com>
5771
5772 PR gdb/16841
5773 * gdb.cp/typedef-base.cc: New file.
5774 * gdb.cp/typedef-base.exp: New file.
5775
0fe3a558
TV
57762018-06-18 Tom de Vries <tdevries@suse.de>
5777
5778 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
5779
7010835a
AB
57802018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5781 Richard Bunt <Richard.Bunt@arm.com>
5782
5783 * gdb.threads/attach-slow-waitpid.c: New file.
5784 * gdb.threads/attach-slow-waitpid.exp: New file.
5785 * gdb.threads/slow-waitpid.c: New file.
5786
14897d65
PA
57872018-06-14 Pedro Alves <palves@redhat.com>
5788
5789 * gdb.base/fork-running-state.c: Include <errno.h>.
5790 (exit_if_relative_exits): New.
5791 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
5792 exits.
5793 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
5794 child exits.
5795
5d9a0608
TV
57962018-06-14 Tom de Vries <tdevries@suse.de>
5797
5798 PR cli/22573
5799 * gdb.base/finish-pretty.c: New test.
5800 * gdb.base/finish-pretty.exp: New file.
5801
11ae5818
PA
58022018-06-14 Pedro Alves <palves@redhat.com>
5803
5804 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
5805 gdb's expected startup output.
5806
1d39de44
PA
58072018-06-14 Pedro Alves <palves@redhat.com>
5808
5809 * lib/selftest-support.exp (selftest_setup): Remove inlined
5810 function handling.
5811
70ee0000
TV
58122018-06-14 Tom de Vries <tdevries@suse.de>
5813
5814 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
5815 matching of breakpoint printing.
5816
11f4b608
TV
58172018-06-13 Tom de Vries <tdevries@suse.de>
5818
5819 PR testsuite/23269
5820 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
5821 (fork_child): ... here, and ...
5822 (fork_parent): ... here.
5823
58242018-06-12 Tom de Vries <tdevries@suse.de>
5825
5826 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
5827
9516f85a
AB
58282018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
5829 Stephen Roberts <stephen.roberts@arm.com>
5830
5831 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
5832 rewrite test to describe action performed, rather than possible
5833 failure.
5834
5045b3d7
GB
58352018-06-08 Gary Benson <gbenson@redhat.com>
5836
5837 * gdb.threads/check-libthread-db.exp: New file.
5838 * gdb.threads/check-libthread-db.c: Likewise.
5839
c61b06a1
TT
58402018-06-05 Tom Tromey <tom@tromey.com>
5841
5842 * gdb.base/default.exp: Update expected "show version" output.
5843
eb6af809
TT
58442018-06-05 Tom Tromey <tom@tromey.com>
5845
5846 PR cli/12326:
5847 * gdb.cp/static-print-quit.exp: Update.
5848 * lib/gdb.exp (pagination_prompt): Update.
5849 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
5850 * gdb.python/python.exp: Update.
5851
178d6a63
JB
58522018-06-04 Joel Brobecker <brobecker@adacore.com>
5853
5854 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
5855
8e817061
JB
58562018-06-01 Joel Brobecker <brobecker@adacore.com>
5857
5858 * gdb.ada/bp_fun_addr: New testcase.
5859
e86ca25f
TT
58602018-06-01 Tom Tromey <tom@tromey.com>
5861
5862 * gdb.xml/tdesc-regs.exp (load_description): Update expected
5863 results.
5864 * gdb.dwarf2/method-ptr.exp: Set language to C++.
5865 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
5866 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
5867 * gdb.base/maint.exp (maint_pass_if): Update.
5868
4b2dfa9d
MR
58692018-05-31 Maciej W. Rozycki <macro@mips.com>
5870
5871 * gdb.base/endian.exp: New test.
5872 * gdb.base/endian.c: New test source.
5873
45f25d6c
AB
58742018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
5875
5876 PR gdb/23203
5877 * gdb.base/bt-selected-frame.c: New file.
5878 * gdb.base/bt-selected-frame.exp: New file.
5879 * lib/gdb.exp (get_current_frame_number): New function.
5880
d9f6d7f8
MR
58812018-05-24 Maciej W. Rozycki <macro@mips.com>
5882 Pedro Alves <palves@redhat.com>
5883
5884 * gdb.threads/tls-core.c: Include <stdlib.h>
5885 (thread_proc): Call `abort'.
5886 * gdb.threads/tls-core.exp: Generate a core with core_find too.
5887 (tls_core_test): New procedure, bits factored out from ...
5888 (top level): ... here. Test both native cores and gcore cores.
5889
ff1cf532
TT
58902018-05-23 Tom Tromey <tom@tromey.com>
5891
5892 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
5893
b98664d3
TT
58942018-05-23 Tom Tromey <tom@tromey.com>
5895
5896 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
5897 symfile_complaints.
5898 (test_short_complaints): Likewise.
5899 (test_empty_complaints): Likewise.
5900 (test_initial_complaints): Update.
5901
4e9668d0
TT
59022018-05-23 Tom Tromey <tom@tromey.com>
5903
5904 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
5905
43ba33c7
TT
59062018-05-23 Tom Tromey <tom@tromey.com>
5907
5908 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
5909 (test_short_complaints): Update.
5910
035522c0
PA
59112018-05-22 Pedro Alves <palves@redhat.com>
5912
5913 * gdb.base/remote.exp: Only gdb_start after compiling the
5914 testcase. Issue "disconnect" before testing "set remote" command
5915 defaults. Issue clean_restart before running to main.
5916
cc0be08f
PA
59172018-05-22 Pedro Alves <palves@redhat.com>
5918
5919 * gdb.base/remote.exp: Adjust expected output of "show remote
5920 memory-write-packet-size". Add tests for "set remote
5921 memory-write-packet-size 0" and "set remote
5922 memory-write-packet-size fixed/limit".
5923
b1b60145
PA
59242018-05-22 Pedro Alves <palves@redhat.com>
5925
5926 PR gdb/22973
5927 * gdb.base/utf8-identifiers.c: New file.
5928 * gdb.base/utf8-identifiers.exp: New file.
5929
0ec848ad
PFC
59302018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5931
5932 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5933
2c3305f6
PFC
59342018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5935
5936 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5937
ce1e8424
TT
59382018-05-18 Tom Tromey <tom@tromey.com>
5939
5940 * gdb.base/ptype-offsets.exp: Update.
5941
ddfe970e
KS
59422018-05-17 Keith Seitz <keiths@redhat.com>
5943
5944 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5945 in expected breakpoint stop locations.
5946 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5947 move to proper scope to test variable values.
5948 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5949 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5950 New functions.
5951 (main): Call not_inline_func3.
5952 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5953 inline_func1, inline_func2, and inline_func3. Test that when each
5954 breakpoint is hit, GDB properly reports both the stop location
5955 and the backtrace. Repeat tests for temporary breakpoints.
5956
0726fcc6
MR
59572018-05-15 Maciej W. Rozycki <macro@mips.com>
5958
5959 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5960 rather then trying to access it in determining whether the PID
5961 of `gdbserver' could have been retrieved.
5962
8ee22052
AB
59632018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5964
5965 * gdb.arch/amd64-init-x87-values.S: New file.
5966 * gdb.arch/amd64-init-x87-values.exp: New file.
5967
7785df48
JK
59682018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5969
5970 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5971
56bcdbea
TT
59722018-05-04 Tom Tromey <tom@tromey.com>
5973
5974 PR python/22730:
5975 * gdb.python/python.exp: Test multi-line execute.
5976
a913fffb
TT
59772018-05-04 Tom Tromey <tom@tromey.com>
5978
5979 PR python/22731:
5980 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5981
7a2c85f2
TT
59822018-05-04 Tom Tromey <tom@tromey.com>
5983
5984 PR gdb/11750:
5985 * gdb.base/define.exp: Test defining a user command inside a user
5986 command.
5987 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5988
a3b60e45
JK
59892018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5990 Pedro Alves <palves@redhat.com>
5991
5992 PR breakpoints/19806 and support for PR external/20207.
5993 * gdb.base/watchpoint-unaligned.c: New file.
5994 * gdb.base/watchpoint-unaligned.exp: New file.
5995
45fe4a03
AB
59962018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5997
5998 * gdb.base/maint.exp: Make test names unique, use
5999 test_prefix_command_help to test 'help maint info', and remove
6000 repeated test of 'help maint'.
6001
9be2ae8f
TT
60022018-05-04 Tom Tromey <tom@tromey.com>
6003
6004 PR gdb/22619:
6005 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
6006 behavior.
6007
11859c31
AB
60082018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6009
6010 * gdb.base/maint.exp: Process output from 'maint print registers'
6011 line at a time.
6012
089a9490
AB
60132018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6014
6015 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
6016 timeout.
6017
9b0797e2
AB
60182018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
6019
6020 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
6021 filter pattern.
6022
f6ac5f3d
PA
60232018-05-02 Pedro Alves <palves@redhat.com>
6024
6025 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
6026 to_log_command renames.
6027 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6028
77d3c63b
TT
60292018-05-02 Tom Tromey <tom@tromey.com>
6030
6031 * gdb.python/py-parameter.exp: Set test message.
6032
0489430a
TT
60332018-05-02 Tom Tromey <tom@tromey.com>
6034
6035 PR python/20084:
6036 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
6037 PARAM_ZUINTEGER_UNLIMITED tests.
6038
1632f8ba
DR
60392018-04-28 Dan Robertson <danlrobertson89@gmail.com>
6040
6041 PR rust/23124
6042 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
6043 when casting.
6044
6d7bb824
TT
60452018-04-30 Tom Tromey <tom@tromey.com>
6046
6047 * gdb.python/py-type.exp: Check align attribute.
6048 * gdb.python/py-type.c: New "aligncheck" global.
6049
007e1530
TT
60502018-04-30 Tom Tromey <tom@tromey.com>
6051
6052 PR exp/17095:
6053 * gdb.dwarf2/dw2-align.exp: New file.
6054 * gdb.cp/align.exp: New file.
6055 * gdb.base/align.exp: New file.
6056 * lib/gdb.exp (gdb_int128_helper): New proc.
6057 (has_int128_c, has_int128_cxx): New caching procs.
6058
6873858b
TT
60592018-04-27 Tom Tromey <tom@tromey.com>
6060
6061 PR rust/22545:
6062 * gdb.rust/simple.exp: Add inclusive range tests.
6063
79188d8d
PA
60642018-04-26 Pedro Alves <palves@redhat.com>
6065
6066 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
6067 ifunc breakpoint locations correctly of ifunc breakpoints set
6068 while the program resolves the ifunc.
6069
c7075ad5
PA
60702018-04-26 Pedro Alves <palves@redhat.com>
6071
6072 * gdb.base/gnu-ifunc-final.c: New file.
6073 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
6074 * gdb.base/gnu-ifunc.exp (executable): Delete.
6075 (staticexecutable): Adjust.
6076 (lib_opts, exec_opts): Delete.
6077 (make_binsuffix, build, set-break): New procedures.
6078 (misc_tests): New, with tests factored out from the top level.
6079 (top level): Test different combinations of ifunc resolver name,
6080 resolver with and with debug info, and ifunc target with and
6081 without debug info. Wrap static tests with with_target_prefix.
6082
8388016d
PA
60832018-04-26 Pedro Alves <palves@redhat.com>
6084
6085 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
6086 return type" warnings.
6087
249b5733
PA
60882018-04-25 Pedro Alves <palves@redhat.com>
6089
6090 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
6091 killed".
6092 * gdb.base/kill-after-signal.exp: Likewise.
6093 * gdb.threads/kill.exp: Likewise.
6094
f67c0c91
SDJ
60952018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6096 Sergio Durigan Junior <sergiodj@redhat.com>
6097 Pedro Alves <palves@redhat.com>
6098
6099 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
6100 regexps to expect for '[Inferior ... detached]' as well.
6101 * gdb.base/attach.exp: Likewise.
6102 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
6103 "gdb_continue_to_end".
6104 (test_catch_syscall_with_wrong_args): Likewise.
6105 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
6106 ']'. Don't set 'verbose' on.
6107 * gdb.base/foll-vfork.exp: Likewise.
6108 * gdb.base/fork-print-inferior-events.c: New file.
6109 * gdb.base/fork-print-inferior-events.exp: New file.
6110 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
6111 '[Inferior ... has been killed]' message.
6112 * gdb.base/kill-after-signal.exp: Likewise.
6113 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
6114 detach message.
6115 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
6116 message.
6117 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
6118 regexps to expect for '[Inferior ... detached]' as well.
6119 * gdb.threads/process-dies-while-detaching.exp: Likewise.
6120
0a8ddac4
SM
61212018-04-24 Simon Marchi <simon.marchi@ericsson.com>
6122
6123 PR gdb/23104
6124 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
6125
701adfb0
PA
61262018-04-22 Rajendra SY <rajendra.sy@gmail.com>
6127
6128 PR gdb/23095
6129 * gdb.base/break-probes.exp: Pass shlib_load to
6130 prepare_for_testing. Set normal_bp to r_debug_state if target is
6131 bsd.
6132
d27d16bf
RB
61332018-04-19 Richard Bunt <richard.bunt@arm.com>
6134
6135 * gdb.threads/multiple-successive-infcall.c: New test.
6136 * gdb.threads/multiple-successive-infcall.exp: New file.
6137
a037790e
TT
61382018-04-17 Tom Tromey <tom@tromey.com>
6139
6140 * gdb.rust/simple.rs (Union): New type.
6141 (main): New local "u".
6142 * gdb.rust/simple.exp (test_one_slice): Add new test case.
6143
e3a91079
AA
61442018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6145
6146 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
6147 number information in output of "whereis" command.
6148 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
6149
b744723f
AA
61502018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6151
6152 * gdb.ada/info_types.exp: Adjust expected output to the line
6153 numbers now printed by "info var/func/type".
6154 * gdb.base/completion.exp: Likewise.
6155 * gdb.base/included.exp: Likewise.
6156 * gdb.cp/cp-relocate.exp: Likewise.
6157 * gdb.cp/cplusfuncs.exp: Likewise.
6158 * gdb.cp/namespace.exp: Likewise.
6159 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
6160
4a4495d6
MM
61612018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6162
6163 * gdb.btrace/cpu.exp: New.
6164
1d509aa6
MM
61652018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6166
6167 * gdb.base/step-indirect-call-thunk.exp: New.
6168 * gdb.base/step-indirect-call-thunk.c: New.
6169 * gdb.reverse/step-indirect-call-thunk.exp: New.
6170 * gdb.reverse/step-indirect-call-thunk.c: New.
6171
6295b6da
SM
61722018-04-11 Simon Marchi <simon.marchi@ericsson.com>
6173
6174 * gdb.base/pie-fork.c: New file.
6175 * gdb.base/pie-fork.exp: New file.
6176
50146e70
TT
61772018-04-11 Tom Tromey <tom@tromey.com>
6178
6179 * gdb.rust/simple.exp: Add test for ".." struct initializer.
6180
f50d8a2e
PA
61812018-04-10 Pedro Alves <palves@redhat.com>
6182
6183 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
6184 exits. Instead loop running forever.
6185 (fork_parent): Run forever too.
6186
a0be7a36
SM
61872018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6188
6189 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
6190 mi_continue_to_line.
6191 * gdb.mi/mi-stack.c (callee4): Add comment.
6192
9b73db36
SM
61932018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6194
6195 * gdb.mi/mi-stack.exp: Fix indentation.
6196
c912f608
SM
61972018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6198
6199 PR gdb/22979
6200 * gdb.arch/amd64-osabi.exp: New file.
6201
26540402
SM
62022018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6203
6204 PR gdb/22980
6205 * gdb.base/osabi.exp: New file.
6206
121ad66c 62072018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
6208
6209 * gdb.cp/static-typedef-print.exp: New file.
6210 * gdb.cp/static-typedef-print.cc: New file.
6211
3fcded8f
JB
62122018-03-27 Joel Brobecker <brobecker@adacore.com>
6213
6214 * gdb.ada/varsize_limit: New testcase.
6215
59cc4834
JB
62162018-03-27 Joel Brobecker <brobecker@adacore.com>
6217
6218 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
6219
6220 * gdb.ada/notcplusplus: New testcase.
6221
6222 * gdb.base/c-linkage-name.c: New file.
6223 * gdb.base/c-linkage-name.exp: New testcase.
6224
4ca59a9f
TT
62252018-03-26 Tom Tromey <tom@tromey.com>
6226
6227 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
6228 * gdb.python/py-framefilter.py (name_error): New global.
6229 (ErrorInName.function): Use name_error.
6230
978d6c75
TT
62312018-03-26 Tom Tromey <tom@tromey.com>
6232
6233 PR backtrace/15582:
6234 * gdb.python/py-framefilter.exp: Add "bt hide" test.
6235
b7fee5a3
KS
62362018-03-23 Keith Seitz <keiths@redhat.com>
6237
6238 PR c++/22968
6239 * gdb.cp/subtypes.exp: New file.
6240 * gdb.cp/subtypes.h: New file.
6241 * gdb.cp/subtypes.cc: New file.
6242 * gdb.cp/subtypes-2.cc: New file.
6243
376be529
AB
62442018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6245
6246 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
6247 (done): Call '_exit' not 'exit' to avoid atexit handlers.
6248 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
6249 -nostartfiles when compiling the test. Confirm that all registers
6250 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
6251
066cfa98
AB
62522018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6253
6254 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
6255 option, syntax was wrong anyway.
6256 * gdb.arch/arm-disp-step.exp: Likewise.
6257 * gdb.arch/sparc64-regs.exp: Likewise.
6258 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
6259 option, syntax was wrong anyway, switch to use
6260 prepare_for_testing.
6261 * gdb.arch/i386-disp-step.exp: Likewise.
6262
079670b9
AA
62632018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
6264
6265 * gdb.ada/exec_changed.exp: Replace "target_info exists
6266 use_gdb_stub" by "use_gdb_stub".
6267 * gdb.ada/start.exp: Likewise.
6268 * gdb.base/async-shell.exp: Likewise.
6269 * gdb.base/attach-pie-misread.exp: Likewise.
6270 * gdb.base/attach-wait-input.exp: Likewise.
6271 * gdb.base/break-entry.exp: Likewise.
6272 * gdb.base/break-interp.exp: Likewise.
6273 * gdb.base/dprintf-detach.exp: Likewise.
6274 * gdb.base/nostdlib.exp: Likewise.
6275 * gdb.base/solib-nodir.exp: Likewise.
6276 * gdb.base/statistics.exp: Likewise.
6277 * gdb.base/testenv.exp: Likewise.
6278 * gdb.mi/mi-exec-run.exp: Likewise.
6279 * gdb.mi/mi-start.exp: Likewise.
6280 * gdb.multi/dummy-frame-restore.exp: Likewise.
6281 * gdb.multi/multi-arch-exec.exp: Likewise.
6282 * gdb.multi/multi-arch.exp: Likewise.
6283 * gdb.multi/tids.exp: Likewise.
6284 * gdb.multi/watchpoint-multi.exp: Likewise.
6285 * gdb.python/py-events.exp: Likewise.
6286 * gdb.threads/attach-into-signal.exp: Likewise.
6287 * gdb.threads/attach-stopped.exp: Likewise.
6288 * gdb.threads/threadapply.exp: Likewise.
6289 * lib/selftest-support.exp: Likewise.
6290
26d6cec4
AA
62912018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
6292
6293 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
6294
4ee89e90
SR
62952018-03-20 Stephen Roberts <stephen.roberts@arm.com>
6296
6297 * gdb.perf/template-breakpoints.cc: New file.
6298 * gdb.perf/template-breakpoints.exp: New file.
6299 * gdb.perf/template-breakpoints.py: New file.
6300
92630041
TT
63012018-03-19 Tom Tromey <tom@tromey.com>
6302
6303 * gdb.rust/simple.rs (main): Add local variables field1, field2,
6304 y0.
6305 * gdb.rust/simple.exp: Test bare identifier form of struct
6306 initializer.
6307
76727919
TT
63082018-03-19 Tom Tromey <tom@tromey.com>
6309
6310 * gdb.gdb/observer.exp: Remove.
6311
194ed413
AA
63122018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6313
6314 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
6315 "qualified" option when setting breakpoints.
6316 * gdb.trace/backtrace.exp: Likewise.
6317 * gdb.trace/circ.exp: Likewise.
6318 * gdb.trace/collection.exp: Likewise.
6319 * gdb.trace/disconnected-tracing.exp: Likewise.
6320 * gdb.trace/ftrace-lock.exp: Likewise.
6321 * gdb.trace/ftrace.exp: Likewise.
6322 * gdb.trace/infotrace.exp: Likewise.
6323 * gdb.trace/packetlen.exp: Likewise.
6324 * gdb.trace/passc-dyn.exp: Likewise.
6325 * gdb.trace/qtro.exp: Likewise.
6326 * gdb.trace/read-memory.exp: Likewise.
6327 * gdb.trace/report.exp: Likewise.
6328 * gdb.trace/signal.exp: Likewise.
6329 * gdb.trace/status-stop.exp: Likewise.
6330 * gdb.trace/strace.exp: Likewise.
6331 * gdb.trace/tfind.exp: Likewise.
6332 * gdb.trace/trace-break.exp: Likewise.
6333 * gdb.trace/trace-condition.exp: Likewise.
6334 * gdb.trace/trace-mt.exp: Likewise.
6335 * gdb.trace/tstatus.exp: Likewise.
6336 * gdb.trace/tsv.exp: Likewise.
6337 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6338 * gdb.trace/unavailable.exp: Likewise.
6339 * gdb.trace/while-dyn.exp: Likewise.
6340
8b067d2c
AA
63412018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6342
6343 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
6344 that libinproctrace is copied to the target.
6345
3ae9ce5d
TT
63462018-03-14 Tom Tromey <tom@tromey.com>
6347
6348 PR cli/14977:
6349 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
6350 a null pointer.
6351 * gdb.base/wchar.exp: Likewise.
6352
b8c2339b
TT
63532018-03-14 Tom Tromey <tom@tromey.com>
6354
6355 PR cli/19918:
6356 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
6357 flag.
6358
4872dc46
SM
63592018-03-08 Simon Marchi <simon.marchi@ericsson.com>
6360
6361 PR gdb/22841
6362 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
6363 "target" to remote_exec.
6364
e4fe3756
SM
63652018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
6366
6367 PR gdb/22841
6368 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
6369 ${board}_upload): Remove.
6370
e95a97d4
AA
63712018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
6372
6373 * gdb.cp/watch-cp.cc: New test.
6374 * gdb.cp/watch-cp.exp: New file.
6375
dbbb1059
AB
63762018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6377
6378 * gdb.base/infcall-nested-structs.exp: New file.
6379 * gdb.base/infcall-nested-structs.c: New file.
6380 * gdb.base/float.exp: Add riscv support.
6381
ecc054c0
TP
63822018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
6383
6384 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
6385 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
6386
25e3c82c
SDJ
63872018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
6388
6389 * gdb.server/abspath.exp: New file.
6390 * lib/gdb.exp (with_cwd): New procedure.
6391
3083294d
SM
63922018-02-28 Simon Marchi <simon.marchi@ericsson.com>
6393
6394 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
6395 use it.
6396 (gdb_is_target_remote_prompt): New proc.
6397 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
6398 (gdb_is_target_native): Pass prompt parameter to
6399 gdb_is_target_1.
6400
3275ef47
SM
64012018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
6402
6403 * gdb.base/load-command.c: New file.
6404 * gdb.base/load-command.exp: New file.
6405 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
6406 (gdb_is_target_1): ...this, and generalize for other targets
6407 than just remote.
6408 (gdb_is_target_remote): Use gdb_is_target_1.
6409 (gdb_is_target_native): use gdb_is_target_1.
6410
6893c19a
TT
64112018-02-26 Tom Tromey <tom@tromey.com>
6412
6413 PR python/16497:
6414 * gdb.python/py-framefilter.exp: Update test.
6415
2ddeaf8a
TT
64162018-02-26 Tom Tromey <tom@tromey.com>
6417
6418 * gdb.dwarf2/variant.c: New file.
6419 * gdb.dwarf2/variant.exp: New file.
6420
c9317f21
TT
64212018-02-26 Tom Tromey <tom@tromey.com>
6422
6423 * gdb.rust/simple.exp: Accept more possible results in enum test.
6424
6f6d0c26
SM
64252018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
6426
6427 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
6428 parentheses.
6429
11b03145
MR
64302018-02-23 Maciej W. Rozycki <macro@mips.com>
6431
6432 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
6433 name of a variable: $actual_linejj -> $actual_line.
6434
54a27fe5
JB
64352018-02-21 John Baldwin <jhb@FreeBSD.org>
6436
6437 * gdb.arch/amd64-i386-address.exp: Fix a typo.
6438
de65820c
MM
64392018-02-20 Markus Metzger <markus.t.metzger@intel.com>
6440
6441 * gdb.btrace/buffer-size.exp: Do not force BTS.
6442
980548fd
PA
64432018-02-14 Pedro Alves <palves@redhat.com>
6444
6445 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
6446 getting a "Quit".
6447
c4e12631
MM
64482018-02-09 Markus Metzger <markus.t.metzger@intel.com>
6449
6450 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
6451 Fix test name.
6452
c2e0e465
SM
64532018-02-07 Simon Marchi <simon.marchi@ericsson.com>
6454
6455 * gdb.cp/m-static.exp: Check type of optimized out static
6456 member.
6457
f7216783
AB
64582018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
6459
6460 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
6461 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
6462
0625771b
LS
64632018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
6464 Leszek Swirski <leszeks@google.com>
6465
6466 * gdb.python/py-prettyprint.c
6467 (struct to_string_returns_value_inner,
6468 struct to_string_returns_value_wrapper): New.
6469 (main): Add tsrvw variable.
6470 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
6471 ToStringReturnsValueWrapper): New classes.
6472 (register_pretty_printers): Register new pretty-printers.
6473 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
6474 recursive pretty printer.
6475 * gdb.python/py-mi.exp: Likewise.
6476
59498c30
LS
64772018-02-01 Leszek Swirski <leszeks@google.com>
6478
6479 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
6480 functions with the same name as an include file are parsed
6481 correctly.
6482
d4d38844
YQ
64832018-02-01 Yao Qi <yao.qi@linaro.org>
6484
6485 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
6486 "\[^\r\n\]*".
6487
07e5f5cf
NP
64882018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
6489
6490 * gdb.arch/powerpc-prologue-frame.s: New file.
6491 * gdb.arch/powerpc-prologue-frame.c: Likewise.
6492 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
6493
929b5ad4
JB
64942018-01-31 Joel Brobecker <brobecker@adacore.com>
6495
6496 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
6497
e671cd59
PA
64982018-01-30 Pedro Alves <palves@redhat.com>
6499
6500 PR gdb/13211
6501 * gdb.base/interrupt-daemon.c: New.
6502 * gdb.base/interrupt-daemon.exp: New.
6503 * gdb.multi/multi-term-settings.c: New.
6504 * gdb.multi/multi-term-settings.exp: New.
6505
fc413dc4
JB
65062018-01-30 Joel Brobecker <brobecker@adacore.com>
6507
6508 * gdb.base/break.exp: Save the location where the breakpoint
6509 on break.c:47 was actually inserted when debugging the version
6510 compiled at -O2 and use it in the expected output of the "info
6511 break" test performed soon after.
6512
5c319bb2
PA
65132018-01-22 Pedro Alves <palves@redhat.com>
6514 Sergio Durigan Junior <sergiodj@redhat.com>
6515
6516 * gdb.base/whatis.exp: Add tests for 'set print object on' +
6517 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
6518
a9e40818
JB
65192018-01-22 Joel Brobecker <brobecker@adacore.com>
6520
6521 * gdb.base/break-include.c, gdb.base/break-include.inc,
6522 gdb.base/break-include.exp: New files.
6523 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
6524 line number now being the actual line number where the breakpoint
6525 was inserted.
6526 * gdb.mi/mi-break.exp: Likewise.
6527 * gdb.mi/mi-reverse.exp: Likewise.
6528 * gdb.mi/mi-simplerun.exp: Ditto.
6529
e707fc44
AB
65302018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6531
6532 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
6533 varobj.
6534 * gdb.mi/mi-var-create-rtti.exp: Likewise.
6535
ae451627
AB
65362018-01-21 Don Breazeal <donb@codesourcery.com>
6537 Andrew Burgess <andrew.burgess@embecosm.com>
6538
6539 * gdb.mi/basics.c: Add new global.
6540 * gdb.mi/mi-frame-regs.exp: New file.
6541 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
6542 case.
6543
b1b189e0
AB
65442018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6545
6546 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
6547 non-parameter, and on an unknown symbol.
6548
fcfcc376
TT
65492018-01-19 Tom Tromey <tom@tromey.com>
6550
6551 * gdb.rust/modules.rs (TWENTY_THREE): New global.
6552 * gdb.rust/modules.exp: Add ::-qualified lookup test.
6553
634c1c31
AA
65542018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6555
6556 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
6557 setrlimit and chdir to int.
6558
d6ad07fd
AA
65592018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6560
6561 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
6562 function.
6563 (my_tend): Likewise.
6564 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
6565 rationale of avoiding FP- and vector instructions.
6566
adf8243b
RK
65672018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
6568
6569 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
6570 "info reg" with "\[ \t\]*".
6571 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
6572 "\[ \t\]+".
6573 * gdb.arch/s390-multiarch.exp: Ditto.
6574 * gdb.base/pc-fp.exp: Ditto.
6575 * gdb.reverse/i386-precsave.exp: Ditto.
6576 * gdb.reverse/i386-reverse.exp: Ditto.
6577 * gdb.reverse/i387-env-reverse.exp: Ditto.
6578 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6579
dcc06925
AA
65802018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6581
6582 * lib/gdb.exp (gdb_compile): Re-enable use of
6583 universal_compile_options for languages other than Rust.
6584
25d4fd80
AA
65852018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6586
6587 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
6588
ee7f689e 65892018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
6590
6591 PR gdb/16577
6592 * gdb.base/solib-vanish.exp: New.
6593 * gdb.base/solib-vanish-main.c: New.
6594 * gdb.base/solib-vanish-lib1.c: New.
6595 * gdb.base/solib-vanish-lib2.c: New.
6596
d8447b6b
YQ
65972018-01-17 Yao Qi <yao.qi@linaro.org>
6598
6599 * gdb.compile/compile.exp: Match the address printed for
6600 frame in the output of command "bt".
6601
86d6a90c
TT
66022018-01-15 Tom Tromey <tom@tromey.com>
6603
6604 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
6605 compute sp_reg.
6606
cbcdb1aa
AB
66072018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6608
6609 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
6610 to prepare.
6611 (prepare): Return 0 on error, 1 on success.
6612
eea61984
PA
66132018-01-12 Pedro Alves <palves@redhat.com>
6614
6615 * gdb.base/continue-after-aborted-step-over.c: New.
6616 * gdb.base/continue-after-aborted-step-over.exp: New.
6617
6181e9c2
SM
66182018-01-11 Simon Marchi <simon.marchi@ericsson.com>
6619
6620 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
6621 options when not creating an executable.
6622
3cada740
PA
66232018-01-11 Pedro Alves <palves@redhat.com>
6624
6625 PR remote/22597
6626 * gdb.server/stop-reply-no-thread.c: New file.
6627 * gdb.server/stop-reply-no-thread.exp: New file.
6628
c63d3e8d
PA
66292018-01-10 Pedro Alves <palves@redhat.com>
6630
6631 PR gdb/22670
6632 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
6633 functions too. Test setting breakpoints and printing C functions
6634 with no debug info too.
6635 * gdb.ada/bp_c_mixed_case/qux.c: New file.
6636
d4c2a405
PA
66372018-01-10 Pedro Alves <palves@redhat.com>
6638
6639 PR gdb/22670
6640 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
6641 a fail.
6642
8825213e
PA
66432018-01-10 Pedro Alves <palves@redhat.com>
6644
6645 PR gdb/22670
6646 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
6647
605fd3c6
YQ
66482018-01-08 Simon Marchi <simon.marchi@ericsson.com>
6649
6650 * gdb.server/unittest.exp: Match the output in non-development
6651 mode.
6652
1e5ded6c
YQ
66532018-01-08 Simon Marchi <simon.marchi@ericsson.com>
6654
6655 * gdb.gdb/unittest.exp: Match output in non-development mode.
6656
30066b0b
JB
66572018-01-08 Joel Brobecker <brobecker@adacore.com>
6658
6659 * gdb.ada/access_tagged_param.exp: Relax expected output
6660 for value of "ObjL" in "continue" to pck.inspect breakpoint
6661 test.
6662
04bafb1e
XR
66632018-01-08 Joel Brobecker <brobecker@adacore.com>
6664
9f86398b
JB
6665 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
6666 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 6667
e379cee6
PA
66682018-01-05 Pedro Alves <palves@redhat.com>
6669
6670 PR gdb/18653
6671 * gdb.base/libsegfault.exp: New.
6672
de63c46b
PA
66732018-01-05 Joel Brobecker <brobecker@adacore.com>
6674
6675 PR gdb/22670
6676 * gdb.ada/access_tagged_param.exp: New file.
6677 * gdb.ada/access_tagged_param/foo.adb: New file.
6678
f98fc17b
PA
66792018-01-05 Pedro Alves <palves@redhat.com>
6680
6681 PR gdb/22670
6682 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
6683 exercise lower case too, and to exercise both full matching and
6684 wild matching.
6685
342f8240
JB
66862018-01-05 Joel Brobecker <brobecker@adacore.com>
6687
6688 * gdb.ada/rename_subscript_param: New testcase.
6689
7150d33c
JG
66902018-01-05 Jerome Guitton <guitton@adacore.com>
6691
6692 * gdb.ada/arr_acc_idx_w_gap: New testcase.
6693
cc0e770c
JB
66942018-01-05 Joel Brobecker <brobecker@adacore.com>
6695
6696 * gdb.ada/convvar_comp: New testcase.
6697
672a41aa 66982018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
6699
6700 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
6701 (My_Table): New global variable.
6702 * testsuite/gdb.ada/array_char_idx.exp: Add test.
6703
7365ec2f
JB
67042018-01-04 Joel Brobecker <brobecker@adacore.com>
6705
6706 PR gdb/22670
6707 * gdb.ada/maint_with_ada: New testcase.
6708
289483b6
JB
67092018-01-04 Joel Brobecker <brobecker@adacore.com>
6710
6711 PR gdb/22670
6712 * gdb.ada/bp_c_mixed_case: New testcase.
6713
344420da
JB
67142018-01-04 Joel Brobecker <brobecker@adacore.com>
6715
6716 PR gdb/22670
6717 * gdb.ada/complete.exp: Add "complete break ada" test.
6718
66fc87a0
JB
67192018-01-04 Joel Brobecker <brobecker@adacore.com>
6720
6721 PR gdb/22670
6722 * gdb.ada/info_addr_mixed_case: New testcase.
6723
9f757bf7
XR
67242018-01-03 Xavier Roirand <roirand@adacore.com>
6725
6726 * gdb.ada/excep_handle.exp: New testcase.
6727 * gdb.ada/excep_handle/foo.adb: New file.
6728 * gdb.ada/excep_handle/pck.ads: New file.
6729
bd570f80
JB
67302018-01-03 Joel Brobecker <brobecker@adacore.com>
6731
6732 * gdb.base/step-line.c: Add extra empty line in copyright header.
6733 * gdb.base/step-line.inp: Likewise.
6734
9fe561ab
JB
67352018-01-02 Joel Brobecker <brobecker@adacore.com>
6736
6737 * gdb.ada/dyn_stride.exp: Add slice test.
6738
a405673c
JB
67392018-01-02 Joel Brobecker <brobecker@adacore.com>
6740
6741 * gdb.ada/dyn_stride: New testcase.
6742
cef0f868
SH
67432017-12-27 Stafford Horne <shorne@gmail.com>
6744
6745 * gdb.xml/extra-regs.xml: Add example foo reggroup.
6746 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
6747
b67d92b0
SH
67482017-12-27 Stafford Horne <shorne@gmail.com>
6749
6750 * gdb.base/reggroups.c: New file.
6751 * gdb.base/reggroups.exp: New file.
6752
eccab96d
JB
67532017-12-18 Joel Brobecker <brobecker@adacore.com>
6754
6755 * gdb.dwarf2/ada-valprint-error.c: New file.
6756 * gdb.dwarf2/ada-valprint-error.exp: New file.
6757
0e2da9f0
JB
67582017-12-18 Joel Brobecker <brobecker@adacore.com>
6759
6760 * gdb.ada/assign_arr: New testcase.
6761
cb923fcc
XR
67622017-12-18 Xavier Roirand <roirand@adacore.com>
6763
6764 * gdb.ada/funcall_ptr: New testcase.
6765
7c161838
SDJ
67662017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6767
6768 PR cli/16224
6769 * gdb.base/ptype-offsets.cc: New file.
6770 * gdb.base/ptype-offsets.exp: New file.
6771
1af17fd9
YQ
67722017-12-15 Yao Qi <yao.qi@linaro.org>
6773
6774 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
6775 if XML is disabled.
6776
828d5846
XR
67772017-12-15 Xavier Roirand <roirand@adacore.com>
6778
6779 * gdb.ada/same_component_name: New testcase.
6780
79e8fcaa
JB
67812017-12-14 Joel Brobecker <brobecker@adacore.com>
6782
6783 * gdb.ada/str_binop_equal: New testcase.
6784
e05fa6f9
JB
67852017-12-14 Joel Brobecker <brobecker@adacore.com>
6786
6787 * gdb.ada/task_switch_in_core: New testcase.
6788
b89641ba
SM
67892017-12-13 Simon Marchi <simon.marchi@ericsson.com>
6790
6791 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
6792 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
6793 call test_bkpt_qualified.
6794 (test_bkpt_qualified): New proc.
6795
6892d2e4
PA
67962017-12-13 Pedro Alves <palves@redhat.com>
6797
6798 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6799 Tighten regexp by matching with an anchor.
6800
a22ecf70
PA
68012017-12-13 Pedro Alves <palves@redhat.com>
6802
6803 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
6804 ("expression with namespace"): New set of tests.
6805 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
6806 (Nested::Test_NS::qux): New.
6807 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
6808 defaults to 'start_quote_char' and 'end_quote_char' parameters.
6809
9937536c
JB
68102017-12-13 Joel Brobecker <brobecker@adacore.com>
6811
6812 * gdb.base/server-del-break.c: New file.
6813 * gdb.base/server-del-break.exp: New file.
6814
fe49c6f5
SH
68152017-12-12 Stafford Horne <shorne@gmail.com>
6816
6817 * gdb.xml/tdesc-regs.exp: Add or1k support.
6818
c3d18620
SH
68192017-12-12 Stafford Horne <shorne@gmail.com>
6820
6821 * gdb.base/bp-permanent.c: Define nop of or1k.
6822
c5f9cfc8
JB
68232017-12-11 Joel Brobecker <brobecker@adacore.com>
6824
6825 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
6826 output with components being reordered.
6827
a9c135fc
JB
68282017-12-11 Joel Brobecker <brobecker@adacore.com>
6829
6830 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
6831 output with components being reordered.
6832
927aa2e7
JK
68332017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6834 Pedro Alves <palves@redhat.com>
6835
6836 * gdb.base/maint.exp (check for .gdb_index): Check also for
6837 .debug_names.
6838 * gdb.dlang/watch-loc.c (.debug_aranges): New.
6839 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
6840 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
6841 (.gdb_index used after symbol reloading): Support also .debug_names.
6842 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
6843
f17d9474
YQ
68442017-12-08 Yao Qi <yao.qi@linaro.org>
6845
6846 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6847 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
6848
a0de8c21
YQ
68492017-12-08 Yao Qi <yao.qi@linaro.org>
6850
6851 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6852 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
6853
a738ea1d
YQ
68542017-12-08 Yao Qi <yao.qi@linaro.org>
6855
6856 * gdb.arch/aarch64-tagged-pointer.c: New file.
6857 * gdb.arch/aarch64-tagged-pointer.exp: New file.
6858
1cd9a73b
SDJ
68592017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
6860
6861 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
6862 "int".
6863
fa6eb693
KS
68642017-12-07 Keith Seitz <keiths@redhat.com>
6865
6866 PR breakpoints/22569
6867 * gdb.linespec/ls-errs.exp: Change expected result of "break
6868 -source this file has spaces.c -line 3".
6869 Check that an explicit source file followed by whitespace is
6870 identified as an invalid explicit location.
6871
883fd55a
KS
68722017-12-07 Keith Seitz <keiths@redhat.com>
6873
6874 * gdb.cp/nested-types.cc: New file.
6875 * gdb.cp/nested-types.exp: New file.
6876 * lib/cp-support.exp: Load data-structures.exp library.
6877 (debug_cp_test_ptype_class): New global.
6878 (cp_ptype_class_verbose, next_line): New procedures.
6879 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
6880 Add and document new return value.
6881 Switch the list of lines to a queue.
6882 Add support for new `type' key for nested type definitions.
6883 Add debugging/troubleshooting messages.
6884 * lib/data-structures.exp: New file.
6885
ec72db3e
SM
68862017-12-07 Simon Marchi <simon.marchi@ericsson.com>
6887
6888 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
6889 with proc_with_prefix, don't use with_test_prefix.
6890
99598d71
TT
68912017-12-07 Tom Tromey <tom@tromey.com>
6892
6893 * gdb.base/break.exp: Add test for empty "commands".
6894
a8806230
YQ
68952017-12-07 Yao Qi <yao.qi@linaro.org>
6896
6897 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
6898 malloc and catch syscall.
6899
824cc835
PM
69002017-12-07 Phil Muldoon <pmuldoon@redhat.com>
6901
e79be6e5 6902 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
6903 tests for explicit locations.
6904
7cc244de
PA
69052017-12-06 Pedro Alves <palves@redhat.com>
6906
6907 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
6908 force-disabling XML descriptions.
6909
50a1fdd5
PA
69102017-12-04 Pedro Alves <palves@redhat.com>
6911
6912 PR gdb/22499
6913 * gdb.arch/amd64-disp-step-avx.S: New file.
6914 * gdb.arch/amd64-disp-step-avx.exp: New file.
6915
f0fb2488
PA
69162017-12-03 Pedro Alves <palves@redhat.com>
6917
6918 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6919 and <string.h>.
6920 (parent_function): Print distinct messages when waitpid fails, or
6921 the child exits with a signal, or the child exits for an unhandled
6922 reason.
6923 * gdb.threads/process-dies-while-detaching.exp
6924 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6925 it. Wait for both inferior output and GDB's prompt. Use an
6926 indirect spawn id list.
6927 (do_detach): New parameter 'child_exit'. Use it to compute
6928 expected inferior output.
6929 (test_detach, test_detach_watch, test_detach_killed_outside):
6930 Adjust to pass down the expected child exit kind.
6931
97cbe998
SDJ
69322017-12-01 Joel Brobecker <brobecker@adacore.com>
6933 Sergio Durigan Junior <sergiodj@redhat.com>
6934 Pedro Alves <palves@redhat.com>
6935
6936 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6937
40fc416f
SDJ
69382017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6939
6940 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6941 to 'symbol-file' and 'add-symbol-file' can be
6942 position-independent.
6943
1cc75e92
YQ
69442017-12-01 Yao Qi <yao.qi@linaro.org>
6945
6946 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6947 the URL in copyright header.
6948 * gdb.arch/aarch64-fp.exp: Likewise.
6949 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6950 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6951 * gdb.base/expand-psymtabs.exp: Likewise.
6952 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6953 * gdb.fortran/common-block.exp: Likewise.
6954 * gdb.fortran/common-block.f90: Likewise.
6955 * gdb.fortran/logical.exp: Likewise.
6956 * gdb.fortran/vla-datatypes.f90: Likewise.
6957 * gdb.fortran/vla-sub.f90: Likewise.
6958
875fb7a7
JB
69592017-11-30 Joel Brobecker <brobecker@adacore.com>
6960
6961 * gdb.ada/repeat_dyn: New testcase.
6962
6f14765f
UW
69632017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6964
6965 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6966 Update for changed thread numbering.
6967 * gdb.cell/bt.exp: Update for changed GDB output.
6968
f1af7b94
SM
69692017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6970
6971 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6972 setting isremote by hand.
6973 * boards/dwarf4-gdb-index.exp: Likewise.
6974 * boards/fission.exp: Likewise.
6975 * boards/stabs.exp: Likewise.
6976
e3919f3e
PA
69772017-11-30 Pedro Alves <palves@redhat.com>
6978
6979 * gdb.linespec/cpls-ops.exp
6980 (check_explicit_skips_function_argument): Extract the underlying
6981 type of size_t instead of hardcoding it.
6982
bd69330d
PA
69832017-11-29 Pedro Alves <palves@redhat.com>
6984
6985 PR c++/19436
6986 * gdb.linespec/cpls-abi-tag.cc: New file.
6987 * gdb.linespec/cpls-abi-tag.exp: New file.
6988
a20714ff
PA
69892017-11-29 Pedro Alves <palves@redhat.com>
6990
6991 * gdb.base/langs.exp: Use -qualified.
6992 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6993 it.
6994 * gdb.cp/namespace.exp: Use -qualified.
6995 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6996 (overload-3, template-overload, template-ret-type, const-overload)
6997 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6998 procedures.
6999 (test_driver): Call them.
7000 * gdb.cp/save-bp-qualified.cc: New.
7001 * gdb.cp/save-bp-qualified.exp: New.
7002 * gdb.linespec/explicit.exp: Test -qualified.
7003 * lib/completion-support.exp (completion::explicit_opts_list): Add
7004 "-qualified".
7005 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
7006
f6f1d339
PM
70072017-11-29 Phil Muldoon <pmuldoon@redhat.com>
7008
7009 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
7010
02ca603a
TT
70112017-11-29 Tom Tromey <tom@tromey.com>
7012
7013 * gdb.base/relocate.exp: Update invalid argument test.
7014 Add new tests for invalid arguments.
7015
ed6c0bfb
TP
70162017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7017
7018 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
7019 Return 0 as a long.
7020 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
7021
f106e10e
TP
70222017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7023
7024 * gdb.cp/breakpoint.cc (bar): Set return type to void.
7025 * gdb.cp/psymtab-parameter.cc (func): Likewise.
7026 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
7027 func ().
7028 * gdb.cp/shadow.cc (B.func): Return 0.
7029
10329bb2
JB
70302017-11-27 Joel Brobecker <brobecker@adacore.com>
7031
7032 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
7033 expected output in gdb_expect call to allow the exception
7034 message to be present as well. Fix syntax confusion to avoid
7035 TCL thinking that exception_name is an array.
7036
617cd4bc
UW
70372017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
7038
7039 * gdb.arch/spu-info.c: Include <unistd.h>.
7040 (do_signal_test): Fix broken calls to write.
7041 * gdb.arch/spu-info.exp: Use prepare_for_testing.
7042 Fix checks for empty mailboxes. Update signal tests for corrected
7043 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
7044 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
7045 * gdb.cell/arch.exp: Use standard_output_file.
7046 * gdb.cell/break.exp: Likewise.
7047 * gdb.cell/bt.exp: Likewise.
7048 * gdb.cell/core.exp: Likewise.
7049 * gdb.cell/dwarfaddr.exp: Likewise.
7050 * gdb.cell/ea-cache.exp: Likewise.
7051 * gdb.cell/ea-standalone.exp: Likewise.
7052 * gdb.cell/f-regs.exp: Likewise.
7053 * gdb.cell/fork.exp: Likewise.
7054 * gdb.cell/gcore.exp: Likewise.
7055 * gdb.cell/mem-access.exp: Likewise.
7056 * gdb.cell/ptype.exp: Likewise.
7057 * gdb.cell/registers.exp: Likewise.
7058 * gdb.cell/sizeof.exp: Likewise.
7059 * gdb.cell/solib-symbol.exp: Likewise.
7060 * gdb.cell/solib.exp: Likewise.
617cd4bc 7061
a81aaca0
PA
70622017-11-25 Pedro Alves <palves@redhat.com>
7063
7064 * gdb.base/complete-empty.exp: New file.
7065 * gdb.base/completion.exp: Adjust.
7066
6a3c6ee4
PA
70672017-11-25 Pedro Alves <palves@redhat.com>
7068
7069 * gdb.linespec/cpls-ops.cc: New file.
7070 * gdb.linespec/cpls-ops.exp: New file.
7071 * lib/completion-support.exp (test_complete_prefix_range_re): New,
7072 factored out from ...
7073 (test_complete_prefix_range): ... this.
7074
8955eb2d
PA
70752017-11-24 Pedro Alves <palves@redhat.com>
7076
7077 * gdb.linespec/cpcompletion.exp: New file.
7078 * gdb.linespec/cpls-hyphen.cc: New file.
7079 * gdb.linespec/cpls.cc: New file.
7080 * gdb.linespec/cpls2.cc: New file.
7081 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
7082 test to use test_gdb_complete_unique. Add label completion,
7083 keyword completion and explicit location completion tests.
7084 * lib/completion-support.exp: New file.
7085
e547c119
JB
70862017-11-24 Joel Brobecker <brobecker@adacore.com>
7087
7088 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
7089 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
7090 when hitting an exception catchpoint.
7091
7c3c1aa8
YQ
70922017-11-22 Yao Qi <yao.qi@linaro.org>
7093
7094 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
7095
41bd68f5
SM
70962017-11-22 Simon Marchi <simon.marchi@ericsson.com>
7097
7098 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
7099 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
7100 * gdb.dwarf2/info-locals-optimized-out.c: New file.
7101
1daad298
YQ
71022017-11-22 Yao Qi <yao.qi@linaro.org>
7103
7104 * gdb.base/info-os.exp: Pass pthreads.
7105 * gdb.multi/multi-attach.exp: Likewise.
7106
88465e87
YQ
71072017-11-22 Yao Qi <yao.qi@linaro.org>
7108
7109 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
7110 compiler.
7111
dc196b23
YQ
71122017-11-22 Yao Qi <yao.qi@linaro.org>
7113
7114 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
7115 * gdb.base/break-interp.exp: Likewise.
7116 * gdb.base/jit-attach-pie.exp: Likewise.
7117
2400729e
UW
71182017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7119
7120 * gdb.base/float128.c (large128): New variable.
7121 * gdb.base/float128.exp: Add test to print largest __float128 value.
7122
7a26362d
UW
71232017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7124
7125 * gdb.arch/vsx-regs.exp: Update register content checks.
7126
ed0f4273
UW
71272017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
7128
7129 * gdb.arch/ppc-longdouble.exp: New file.
7130 * gdb.arch/ppc-longdouble.c: Likewise.
7131
a25d69c6
PA
71322017-11-21 Pedro Alves <palves@redhat.com>
7133
7134 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
7135
73fcf641
PA
71362017-11-20 Pedro Alves <palves@redhat.com>
7137
7138 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
7139 (long_double_typedef): New typedefs.
7140 Use DEF on double and long double.
7141 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
7142 cases.
7143 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
7144 and 'long_double_ptr_same_size' locals. Use them to decide
7145 whether cast from array/function to float is valid/invalid.
7146
71a3c369
TT
71472017-11-17 Tom Tromey <tom@tromey.com>
7148
7149 * gdb.rust/traits.rs: New file.
7150 * gdb.rust/traits.exp: New file.
7151
ced9779b
JB
71522017-11-17 Joel Brobecker <brobecker@adacore.com>
7153
7154 * gdb.ada/minsyms: New testcase.
7155
a0922d80
PA
71562017-11-16 Pedro Alves <palves@redhat.com>
7157
7158 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
7159 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
7160
ea04e54c
PA
71612017-11-16 Pedro Alves <palves@redhat.com>
7162
7163 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
7164 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
7165
e849ea89
PA
71662017-11-16 Pedro Alves <palves@redhat.com>
7167
7168 * gdb.server/reconnect-ctrl-c.c: New file.
7169 * gdb.server/reconnect-ctrl-c.exp: New file.
7170
d8ae99a7
PM
71712017-11-16 Phil Muldoon <pmuldoon@redhat.com>
7172
7173 * gdb.python/py-rbreak.exp: New file.
7174 * gdb.python/py-rbreak.c: New file.
7175 * gdb.python/py-rbreak-func2.c: New file.
7176
968a13f8
PA
71772017-11-16 Pedro Alves <palves@redhat.com>
7178
7179 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
7180 pattern.
7181 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
7182 GDB.
7183
71774bc9
SM
71842017-11-15 Simon Marchi <simon.marchi@ericsson.com>
7185
7186 * gdb.tui/completionn.exp (test_tab_completion): Add space in
7187 regex.
7188
ddbb44cf
SM
71892017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
7190
7191 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
7192 test names.
7193
584a564f
PA
71942017-11-09 Pedro Alves <palves@redhat.com>
7195
7196 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
7197 factored out from ...
7198 (top level): ... here, and adjusted to avoid expecting beyond the
7199 prompt in a single gdb_test_multiple.
7200
5ed7a928
PA
72012017-11-09 Pedro Alves <palves@redhat.com>
7202
7203 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
7204 output.
7205 * gdb.server/ext-attach.exp ("kill" test): Likewise.
7206 * gdb.server/ext-restart.exp ("kill" test): Likewise.
7207 * gdb.server/ext-run.exp ("kill" test): Likewise.
7208 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
7209
a60e0738
PA
72102017-11-09 Pedro Alves <palves@redhat.com>
7211
7212 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
7213 match till end of line.
7214
2c88253f
PA
72152017-11-09 Pedro Alves <palves@redhat.com>
7216
7217 * gdb.base/memattr.exp: Tighten regexes to match the end line.
7218
c7a38517
PA
72192017-11-09 Pedro Alves <palves@redhat.com>
7220
7221 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
7222 New procedures, factored out from ...
7223 (top level): ... here, and adjusted to avoid expecting beyond the
7224 prompt in one go.
7225
f29f4b6b
PA
72262017-11-09 Pedro Alves <palves@redhat.com>
7227
7228 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
7229 output. Fix '?' match.
7230
286acbb5
JB
72312017-11-08 Joel Brobecker <brobecker@adacore.com>
7232
7233 * gdb.ada/scoped_watch: New testcase.
7234 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
7235 which is actually correct.
7236 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
7237 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
7238
62d7ae92
PA
72392017-11-08 Pedro Alves <palves@redhat.com>
7240
7241 * gdb.gdb/complaints.exp (test_initial_complaints)
7242 (test_serial_complaints, test_short_complaints): Call
7243 complaint_internal instead of complaint.
7244
280ca31f
DT
72452017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
7246
7247 * gdb.threads/tls-core.c: New file.
7248 * gdb.threads/tls-core.exp: Likewise.
7249
b5ec771e
PA
72502017-11-08 Pedro Alves <palves@redhat.com>
7251
7252 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
7253 (p Exported_Capitalized): New test.
7254 (p exported_capitalized): New test.
7255
a02b41a7
PA
72562017-11-07 Pedro Alves <palves@redhat.com>
7257
7258 * gdb.cp/ena-dis-br-range.exp: Add more tests.
7259
95e95a6d
PA
72602017-11-07 Pedro Alves <palves@redhat.com>
7261
7262 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
7263 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
7264 (disable_invalid, disable_inverted, disable_negative): New
7265 procedures.
7266 ("bad numbers"): New set of tests.
7267
cee62dbd
PA
72682017-11-07 Pedro Alves <palves@redhat.com>
7269
7270 * gdb.cp/ena-dis-br-range.exp: Add tests.
7271
cc638e86
PA
72722017-11-07 Pedro Alves <palves@redhat.com>
7273
7274 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
7275
d0fe4701
XR
72762017-11-07 Xavier Roirand <roirand@adacore.com>
7277 Pedro Alves <palves@redhat.com>
7278
7279 * gdb.base/ena-dis-br.exp: Add reference to
7280 gdb.cp/ena-dis-br-range.exp.
7281 * gdb.cp/ena-dis-br-range.exp: New file.
7282 * gdb.cp/ena-dis-br-range.cc: New file.
7283
46f67f80
PA
72842017-11-06 Pedro Alves <palves@redhat.com>
7285
7286 * gdb.base/attach-non-pgrp-leader.c: New.
7287 * gdb.base/attach-non-pgrp-leader.exp: New.
7288
726e1356
PA
72892017-11-06 Pedro Alves <palves@redhat.com>
7290
7291 * configure.ac: No longer check for termio.h and sgtty.h.
7292 * configure: Regenerate.
7293 * remote-utils.c: Include termios.h instead of gdb_termios.h.
7294 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
7295 Remove termio and sgtty code.
7296
50ab6ace
YQ
72972017-11-03 Yao Qi <yao.qi@linaro.org>
7298
7299 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
7300 in GDB is disabled.
7301
8e68731c
YQ
73022017-11-03 Yao Qi <yao.qi@linaro.org>
7303
7304 * gdb.python/py-thrhandle.exp: Skip it if python is not
7305 enabled.
7306
3a87ae65
SM
73072017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7308
7309 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
7310 as a breakpoint command.
7311
484d8d36
MD
73122017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
7313
7314 PR python/21213
7315 * gdb.python/py-infthread.exp: Test calling
7316 InferiorThread.inferior () multiple times in a row.
7317
4a27f119
KS
73182017-10-27 Keith Seitz <keiths@redhat.com>
7319
7320 * gdb.opt/inline-break.exp (break_info_1): New procedure.
7321 Test "info break" for every inlined function breakpoint.
7322
bb11dd58
YQ
73232017-10-27 Yao Qi <yao.qi@linaro.org>
7324
7325 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
7326
a43f3893
PF
73272017-10-26 Patrick Frants <osscontribute@gmail.com>
7328
7329 * gdb.cp/classes.exp (test_static_members): Test printing
7330 Outer::instance.
7331 * gdb.cp/classes.c (struct Inner, struct Outer): New.
7332 (Inner::instance, Outer::instance): New.
7333
792ccf00
PA
73342017-10-24 Pedro Alves <palves@redhat.com>
7335
7336 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
7337 extra console" test in two stages.
7338
eb2bfbad
PA
73392017-10-24 Pedro Alves <palves@redhat.com>
7340
7341 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
7342
1f75a651
PA
73432017-10-24 Pedro Alves <palves@redhat.com>
7344
7345 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
7346 loop.
7347
779990d9
PA
73482017-10-24 Pedro Alves <palves@redhat.com>
7349
7350 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
7351 $attempt" and "stoppedtry $stoppedtry" test prefixes.
7352
ad9b8f5d
PA
73532017-10-24 Pedro Alves <palves@redhat.com>
7354
7355 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
7356 parameter and handle it. Don't output read value in test name.
7357
fee6da6e
PA
73582017-10-24 Pedro Alves <palves@redhat.com>
7359
7360 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
7361 custom test name.
7362
10389c2c
PA
73632017-10-24 Pedro Alves <palves@redhat.com>
7364
7365 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
7366 include the unstable output directory name in the test's name.
7367 (initial_setup_simple) <'set args'>: Use custom test name.
7368
a80e65a9
PA
73692017-10-24 Pedro Alves <palves@redhat.com>
7370
7371 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
7372 with explicit test name.
7373
15763a09
PA
73742017-10-20 Pedro Alves <palves@redhat.com>
7375
7376 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
7377 'wait -i'. Use gdb_assert and remote_close.
7378
49a4ce2e
AB
73792017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
7380
7381 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
7382 number from variable rather than hard-coded.
7383
a75868f5
PA
73842017-10-19 Pedro Alves <palves@redhat.com>
7385
7386 * gdb.base/long-inferior-output.c: New file.
7387 * gdb.base/long-inferior-output.exp: New file.
7388
c8ba13ad
KS
73892017-11-18 Keith Seitz <keiths@redhat.com>
7390
7391 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
7392 method.
7393 (main): Call it.
7394 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
7395 Add additional user-defined conversion operator tests.
7396
b27de576
PA
73972017-10-17 Pedro Alves <palves@redhat.com>
7398
7399 * boards/native-stdio-gdbserver.exp: Load "local-board".
7400
8484c955
PA
74012017-10-17 Pedro Alves <palves@redhat.com>
7402
7403 * gdb.base/quit-live.c: New file.
7404 * gdb.base/quit-live.exp: New file.
7405
83d5a34d
KS
74062017-10-16 Keith Seitz <keiths@redhat.com>
7407
7408 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
7409 (class_with_protected_typedef, class_with_private_typedef)
7410 (struct_with_public_typedef, struct_with_protected_typedef)
7411 (struct_with_private_typedef): New classes/structs.
7412 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
7413 typedefs and access specifiers.
7414
739b3f1d
PA
74152017-10-16 Pedro Alves <palves@redhat.com>
7416 Simon Marchi <simon.marchi@polymtl.ca>
7417
7418 * README (Local vs Remote vs Native): New section.
7419 * boards/local-board.exp: New file, with bits factored out from
7420 ...
7421 * boards/native-extended-gdbserver.exp: ... here. Load
7422 "local-board".
7423 * boards/native-gdbserver.exp: Load "local-board".
7424 (${board}_spawn, ${board}_exec): Delete.
7425 * boards/native-stdio-gdbserver.exp: Most contents factored out to
7426 ...
7427 * boards/stdio-gdbserver-base.exp: ... this new file.
7428 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
7429 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
7430 procedure.
7431 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
7432 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
7433 stdio_gdbserver_command.
7434 (${board}_get_remote_address, ${board}_get_comm_port)
7435 (${board}_download, ${board}_upload): Delete.
7436 (get_target_remote_pipe_cmd): New.
7437
fe68b953
SM
74382017-10-16 Simon Marchi <simon.marchi@ericsson.com>
7439
7440 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
7441 test_bkpt_deletion, test_bkpt_cond_and_cmds,
7442 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
7443 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
7444 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
7445 remove with_test_prefix.
7446
300b6685
PA
74472017-10-13 Pedro Alves <palves@redhat.com>
7448
7449 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
7450 * gdb.base/annota1.exp: Use it instead of is_remote.
7451 * gdb.base/annota3.exp: Use it instead of is_remote.
7452 * gdb.cp/annota2.exp: Use it instead of is_remote.
7453 * gdb.cp/annota3.exp: Use it instead of is_remote.
7454 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
7455
50500caf
PA
74562017-10-13 Pedro Alves <palves@redhat.com>
7457
7458 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
7459 (test_num_test_vars, run_and_count_vars, find_env)
7460 (test_set_unset_env, test_inherit_env_var): New procedures.
7461 (top level): Use them.
7462
dad0c6d2
PA
74632017-10-13 Pedro Alves <palves@redhat.com>
7464
7465 * lib/selftest-support.exp (selftest_setup): Extend comments, and
7466 also skip on stub-like targets.
7467
8b0553c1
PA
74682017-10-13 Pedro Alves <palves@redhat.com>
7469
7470 PR gdb/22293
7471 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
7472 (top level): Move some tests to ...
7473 (test_not_found): ... this new procedure.
7474 (top level): Call it.
7475
7594f623
PA
74762017-10-13 Pedro Alves <palves@redhat.com>
7477
7478 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
7479 expect different "info terminal" output if testing with a
7480 non-native target.
7481
ebe3b402
PA
74822017-10-13 Pedro Alves <palves@redhat.com>
7483 Simon Marchi <simon.marchi@polymtl.ca>
7484
7485 PR python/12966
7486 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
7487
42f1b161
PA
74882017-10-13 Pedro Alves <palves@redhat.com>
7489
7490 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
7491 already.
7492
8d6ef72b
PA
74932017-10-13 Pedro Alves <palves@redhat.com>
7494
7495 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
7496 is_remote.
7497
d7bcd5b8
PA
74982017-10-13 Pedro Alves <palves@redhat.com>
7499
7500 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
7501 is_remote.
7502
df479dc6
PA
75032017-10-13 Pedro Alves <palves@redhat.com>
7504
7505 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
7506 is set.
7507 (corefile_test_attach): Likewise. Check can_spawn_for_attach
7508 instead of is_remote.
7509
23fb630a
PA
75102017-10-13 Pedro Alves <palves@redhat.com>
7511
7512 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
7513 (top level): Add comment.
7514
cc77b1dc
PA
75152017-10-13 Pedro Alves <palves@redhat.com>
7516
7517 * gdb.base/remote.exp (top level): Fix comment typo and add
7518 missing return.
7519
27c9e813
PA
75202017-10-13 Pedro Alves <palves@redhat.com>
7521 Simon Marchi <simon.marchi@polymtl.ca>
7522
7523 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
7524 calls and add comments. Skip test if use_gdb_stub is set.
7525 (top level): Use "set cwd" command instead of "cd" command.
7526
5e830d98
PA
75272017-10-13 Pedro Alves <palves@redhat.com>
7528
7529 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
7530 is_remote target check.
7531
f5ca0032
PA
75322017-10-13 Pedro Alves <palves@redhat.com>
7533
7534 * gdb.base/scope.exp: Use build_executable + clean_restart +
7535 gdb_file_cmd instead of prepare_for_testing and no longer skip
7536 "before run" tests on is_remote target boards. Update comments.
7537 * boards/native-extended-gdbserver.exp
7538 (extended_gdbserver_load_last_file): New, factored out from ...
7539 (gdb_load): ... this. Move further below and add comment.
7540 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
7541
8aed1c0d
PA
75422017-10-12 Pedro Alves <palves@redhat.com>
7543
7544 * gdb.base/attach.exp: Remove references to gdb64.
7545 * gdb.base/dbx.exp: Remove references to gdb64.
7546
cfa34c87
SM
75472017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7548 Pedro Alves <palves@redhat.com>
7549
7550 * gdb.base/label.exp: Remove is_remote target check.
7551
9192b7de
PA
75522017-10-12 Pedro Alves <palves@redhat.com>
7553
7554 * gdb.base/auvx.exp (coredir): Update comment.
7555 (top level) <core_works>: Use "set cwd" command instead of "cd"
7556 command.
7557
6bf0052d
PA
75582017-10-12 Pedro Alves <palves@redhat.com>
7559 Simon Marchi <simon.marchi@polymtl.ca>
7560
7561 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
7562 target boards.
7563
e48ef82d
PA
75642017-10-12 Pedro Alves <palves@redhat.com>
7565 Simon Marchi <simon.marchi@polymtl.ca>
7566
7567 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
7568 Instead skip if there's any gdb_protocol set.
7569
8d7aea57
SM
75702017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7571 Pedro Alves <palves@redhat.com>
7572
7573 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
7574
30440677
PA
75752017-10-12 Pedro Alves <palves@redhat.com>
7576 Simon Marchi <simon.marchi@polymtl.ca>
7577
7578 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
7579 instead of on dejagnu remote boards.
7580
4e04f045 75812017-10-12 Pedro Alves <palves@redhat.com>
175654b9 7582 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
7583
7584 * gdb.base/inferior-died.exp: Remove is_remote and isnative
7585 checks. Use build_executable + clean_restart instead of
7586 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
7587 of enabling non-stop after starting gdb.
7588
871a186e
PA
75892017-10-12 Pedro Alves <palves@redhat.com>
7590
7591 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
7592 * gdb.threads/non-ldr-exc-2.exp: Ditto.
7593 * gdb.threads/non-ldr-exc-3.exp: Ditto.
7594 * gdb.threads/non-ldr-exc-4.exp: Ditto.
7595
56d704da
AK
75962017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
7597
7598 * gdb.arch/arc-tdesc-cpu.exp: New file.
7599 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
7600
2f20e312
SM
76012017-10-10 Simon Marchi <simon.marchi@ericsson.com>
7602
7603 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
7604
65630365
PA
76052017-10-10 Pedro Alves <palves@redhat.com>
7606
7607 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
7608 expect CLI output.
7609
bf469271
PA
76102017-10-10 Pedro Alves <palves@redhat.com>
7611
7612 * lib/selftest-support.exp (selftest_setup): Update for
7613 captured_command_loop's prototype change.
7614
777a42f1
PA
76152017-10-09 Pedro Alves <palves@redhat.com>
7616
7617 Test both arch1=>arch2 and arch2=>arch1.
7618
7619 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
7620 (srcfile2, binfile2, march1, march2): Remove globals. Largely
7621 factored out to...
7622 (append_arch1_options, append_arch2_options, append_arch_options)
7623 (build_executables): New procedures.
7624 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
7625 local.
7626 (top level): Add new 'first_arch' testing axis.
7627
cbd2b4e3
PA
76282017-10-09 Pedro Alves <palves@redhat.com>
7629
7630 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
7631 (barrier): New.
7632 (thread_start, all_started): New functions.
7633 (main): Spawn new thread and wait until it is scheduled.
7634 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
7635 option.
7636 (do_test): Add 'selected_thread' parameter. Run to all_started
7637 instead of main. Explicitly set the breakpoint at main. Switch
7638 to the SELECTED_THREAD thread.
7639 (top level): Test handling the exec event with either the main
7640 thread or the second thread selected.
7641
5c9e4427
PA
76422017-10-09 Pedro Alves <palves@redhat.com>
7643
7644 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
7645 logic. Move STOP marker after the value checks.
7646 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
7647 regexp.
7648
b3b7c423
SL
76492017-10-06 Sandra Loosemore <sandra@codesourcery.com>
7650
7651 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
7652
3b4b2f16
UW
76532017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
7654
7655 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
7656 integer-to-dfp conversion.
7657 * gdb.base/dfp-test.exp: Likewise.
7658
5cd63fda
PA
76592017-10-04 Pedro Alves <palves@redhat.com>
7660
7661 * gdb.multi/hangout.c: Include <unistd.h>.
7662 (hangout_loop): New function.
7663 (main): Call alarm. Call hangout_loop in a loop.
7664 * gdb.multi/hello.c: Include <unistd.h>.
7665 (hello_loop): New function.
7666 (main): Call alarm. Call hangout_loop in a loop.
7667 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
7668 inferior with the other selected.
7669
4c71c105
SM
76702017-10-04 Simon Marchi <simon.marchi@ericsson.com>
7671
7672 * gdb.mi/list-thread-groups-available.exp: New file.
7673 * gdb.mi/list-thread-groups-available.c: New file.
7674
bc3b087d
SDJ
76752017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7676
7677 * gdb.base/set-cwd.exp: Make it available on
7678 native-extended-gdbserver.
7679
d092c5a2
SDJ
76802017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7681
7682 * gdb.base/set-cwd.c: New file.
7683 * gdb.base/set-cwd.exp: Likewise.
7684
45320ffa
TT
76852017-10-02 Tom Tromey <tom@tromey.com>
7686
7687 PR rust/22236:
7688 * gdb.rust/simple.rs (main): New variable "fslice".
7689 * gdb.rust/simple.exp: Add slice tests. Update string tests.
7690
b3e3859b
TT
76912017-10-02 Tom Tromey <tom@tromey.com>
7692
7693 * gdb.rust/simple.exp: Test ptype of a slice.
7694
01af5e0d
TT
76952017-10-02 Tom Tromey <tom@tromey.com>
7696
7697 * gdb.rust/simple.exp: Test index of slice.
7698
a9bbfbd8
TT
76992017-09-27 Tom Tromey <tom@tromey.com>
7700
7701 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
7702
df8899e5
TP
77032017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
7704 Pedro Alves <palves@redhat.com>
7705
7706 * gdb.base/compare-sections.exp (get value of read-only section): Read
7707 as unsigned value.
7708 (corrupt read-only section): Likewise and don't set written if patching
7709 failed.
7710
757bf54b
KB
77112017-09-21 Kevin Buettner <kevinb@redhat.com>
7712
7713 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
7714 files.
7715
06871ae8
PA
77162017-09-20 Pedro Alves <palves@redhat.com>
7717
7718 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
7719 symbol names in gdb's output.
7720 * gdb.cp/overload.exp ("list all overloads"): Likewise.
7721
e5f25bc5
PA
77222017-09-20 Pedro Alves <palves@redhat.com>
7723
7724 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
7725 Rename to ...
7726 (test_list_ambiguous_symbol): ... this and add a symbol name
7727 parameter. Adjust.
7728 (test_list_ambiguous_function): Reimplement on top of
7729 test_list_ambiguous_symbol and also test listing ambiguous
7730 variables.
7731 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
7732 (ambiguous_fun): ... this.
7733 (ambiguous_var): New.
7734 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
7735 (ambiguous_fun): ... this.
7736 (ambiguous_var): New.
7737
4e5a4f58
JB
77382017-09-19 John Baldwin <jhb@FreeBSD.org>
7739
7740 * gdb.base/starti.c: New file.
7741 * gdb.base/starti.exp: New file.
7742 * lib/gdb.exp (gdb_starti_cmd): New procedure.
7743
26e53f3e
PA
77442017-09-14 Pedro Alves <palves@redhat.com>
7745
7746 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
7747 (top level): Use it instead of runto.
7748
cb791d59
TT
77492017-09-11 Tom Tromey <tom@tromey.com>
7750
7751 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
7752
7c96f8c1
TT
77532017-09-11 Tom Tromey <tom@tromey.com>
7754
7755 * gdb.python/py-infthread.exp: Add tests for new_thread event.
7756 * gdb.python/py-inferior.exp: Add tests for new inferior events.
7757
469412dd
CW
77582017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
7759
7760 * gdb.fortran/printing-types.exp: New file.
7761 * gdb.fortran/printing-types.exp: New file.
7762
e0f86435
BH
77632017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7764
7765 * gdb.fortran/vla-ptype.exp: Fix typos.
7766 * gdb.fortran/vla-value.exp: Same.
7767
9e9af4be
BH
77682017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7769
7770 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
7771 * gdb.mi/mi-var-child-f.exp: Likewise.
7772 * gdb.mi/mi-vla-fortran.exp: Likewise.
7773
a5ad232b 77742017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
7775 Christoph Weinmann <christoph.t.weinmann@intel.com>
7776 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
7777
7778 * gdb.fortran/ptr-indentation.f90: New file.
7779 * gdb.fortran/ptr-indentation.exp: New file.
7780
5aec60eb
TT
77812017-09-05 Tom Tromey <tom@tromey.com>
7782
7783 PR gdb/22010:
7784 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
7785
8f8f8152
TP
77862017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
7787
7788 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
7789
fbd1b771
JK
77902017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7791
7792 * gdb.threads/tls-nodebug-pie.c: New file.
7793 * gdb.threads/tls-nodebug-pie.exp: New file.
7794
5eb5f850
TT
77952017-09-05 Tom Tromey <tom@tromey.com>
7796
7797 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
7798 for rust.
7799
ae780a21
SM
78002017-09-05 Simon Marchi <simon.marchi@ericsson.com>
7801
7802 * gdb.multi/multi-arch-exec.exp: Test with different
7803 "follow-exec-mode" settings.
7804 (do_test): New procedure.
7805
3693fdb3
PA
78062017-09-04 Pedro Alves <palves@redhat.com>
7807
7808 * gdb.base/func-static.c (S::method const, S::method volatile)
7809 (S::method volatile const): New methods.
7810 (c_s, v_s, cv_s): New instances.
7811 (main): Call method() on them.
7812 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
7813 (cannot_resolve): New procedure.
7814 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
7815 print-quote-unquoted columns.
7816 (do_test): Test printing each scope too.
7817
e68cb8e0
PA
78182017-09-04 Pedro Alves <palves@redhat.com>
7819
7820 * gdb.base/local-static.exp: Also test with
7821 class::method::variable wholly quoted.
7822 * gdb.cp/m-static.exp (class::method::variable): Remove test.
7823
858be34c
PA
78242017-09-04 Pedro Alves <palves@redhat.com>
7825
7826 * gdb.base/local-static.c: New.
7827 * gdb.base/local-static.cc: New.
7828 * gdb.base/local-static.exp: New.
7829
46a4882b
PA
78302017-09-04 Pedro Alves <palves@redhat.com>
7831
7832 * gdb.asm/asm-source.exp: Add casts to int.
7833 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
7834 (dataglobal64_1, dataglobal64_2): New globals.
7835 * gdb.base/nodebug.exp: Test different expressions involving the
7836 new globals, with print, whatis and ptype. Add casts to int.
7837 * gdb.base/solib-display.exp: Add casts to int.
7838 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
7839 * gdb.cp/m-static.exp: Add cast to int.
7840 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
7841 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
7842 tls variable with no debug info without a cast. Test with a cast
7843 to int too.
7844 * gdb.trace/entry-values.exp: Add casts.
7845
2c5a2be1
PA
78462017-09-04 Pedro Alves <palves@redhat.com>
7847
7848 * gdb.base/nodebug.exp: Test that ptype's error about functions
7849 with unknown return type includes the function name too.
7850
7022349d
PA
78512017-09-04 Pedro Alves <palves@redhat.com>
7852
7853 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
7854 return type of munmap in infcall.
7855 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
7856 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
7857 type of ftell in infcall.
7858 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
7859 type of getpid in infcall.
7860 * gdb.base/infcall-exec.exp: Cast return type of execlp in
7861 infcall.
7862 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
7863 Bail on failure to extract the pid.
7864 * gdb.base/nodebug.c: #include <stdint.h>.
7865 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
7866 New functions.
7867 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
7868 Change expected output of print/whatis/ptype with functions with
7869 no debug info. Test all supported languages. Call
7870 test_call_promotion.
7871 * gdb.compile/compile.exp: Adjust expected output to expect
7872 warning.
7873 * gdb.threads/siginfo-threads.exp: Likewise.
7874
54990598
PA
78752017-09-04 Pedro Alves <palves@redhat.com>
7876
7877 * gdb.base/callfuncs.exp (do_function_calls): New parameter
7878 "prototypes". Test calling float functions via prototyped and
7879 unprototyped function pointers.
7880 (perform_all_tests): New parameter "prototypes". Pass it down.
7881 (top level): Pass down "prototypes" parameter to
7882 perform_all_tests.
7883
34d16ea2
SM
78842017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7885
7886 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
7887 Test with nested loops.
7888
9521ecda
SM
78892017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7890
7891 * gdb.base/commands.exp: Call the new procedures.
7892 (loop_break_test, loop_continue_test): New procedures.
7893
80a65e9b
SM
78942017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7895
7896 * gdb.base/commands.exp: Call new procedure.
7897 (define_if_without_arg_test): New procedure.
7898
e439fa14
PA
78992017-09-04 Pedro Alves <palves@redhat.com>
7900
7901 * gdb.base/list-ambiguous.exp: New file.
7902 * gdb.base/list-ambiguous0.c: New file.
7903 * gdb.base/list-ambiguous1.c: New file.
7904 * gdb.base/list.exp (test_list_range): Adjust expected output.
7905
0a2dde4a
SDJ
79062017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
7907
7908 * gdb.base/share-env-with-gdbserver.c: New file.
7909 * gdb.base/share-env-with-gdbserver.exp: Likewise.
7910
5e89eb3a
SM
79112017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7912
7913 * gdb.base/commands.exp (gdbvar_simple_if_test,
7914 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
7915 progvar_simple_if_test, progvar_simple_while_test,
7916 progvar_complex_if_while_test, user_defined_command_test,
7917 user_defined_command_args_eval,
7918 user_defined_command_args_stack_test,
7919 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7920 temporary_breakpoint_commands,
7921 gdb_test_no_prompt, redefine_hook_test,
7922 redefine_backtrace_test): Remove "global gdb_prompt".
7923
fd437cbc
SM
79242017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7925
7926 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7927 New proc, call it from toplevel.
7928
87215ad1
SDJ
79292017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7930
7931 PR remote/21852
7932 * gdb.server/normal.c: New file, copied from gdb.base.
7933 * gdb.server/run-without-local-binary.exp: New file.
7934
58afddc6
WP
79352017-08-07 Weimin Pan <weimin.pan@oracle.com>
7936
7937 * gdb.arch/sparc64-adi.exp: New file.
7938 * gdb.arch/sparc64-adi.c: New file.
7939
5277199a
PA
79402017-08-22 Pedro Alves <palves@redhat.com>
7941
7942 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7943 (top level): Add "list all overloads" tests.
7944
14278e1f
TT
79452017-08-22 Tom Tromey <tom@tromey.com>
7946
7947 * gdb.gdb/xfullpath.exp: Remove.
7948
bf223d3e
PA
79492017-08-21 Pedro Alves <palves@redhat.com>
7950
7951 PR gdb/19487
7952 * gdb.base/symbol-alias.c: New.
7953 * gdb.base/symbol-alias2.c: New.
7954 * gdb.base/symbol-alias.exp: New.
7955
c973d0aa
PA
79562017-08-21 Pedro Alves <palves@redhat.com>
7957
7958 * gdb.base/dfp-test.c
7959 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7960 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7961 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7962 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7963 * gdb.base/whatis-ptype-typedefs.c: New.
7964 * gdb.base/whatis-ptype-typedefs.exp: New.
7965 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7966 (an_int, an_int_type, an_int_type2): New globals.
7967 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7968 involving typedefs and cast expressions.
7969 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7970 (lookup_typedefs_function): New.
7971 (typedefs_pretty_printers_dict): New.
7972 (top level): Register lookup_typedefs_function in
7973 gdb.pretty_printers.
7974
6d580b63
YQ
79752017-08-18 Yao Qi <yao.qi@linaro.org>
7976
7977 * gdb.server/unittest.exp: New.
7978
206726fb
SDJ
79792017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7980
7981 PR gdb/21954
7982 * gdb.base/environ.exp: Add test to check if 'unset environment'
7983 works.
7984
bf0ec4c2
AA
79852017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7986
7987 * lib/gdb.exp (universal_compile_options): New caching proc.
7988 (gdb_compile): Suppress GCC's coloring of messages.
7989
d6382fff
TT
79902017-08-14 Tom Tromey <tom@tromey.com>
7991
7992 PR gdb/21675:
7993 * gdb.base/printcmds.exp (test_radices): New function.
7994 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7995 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7996 * lib/gdb.exp (get_integer_valueof): Use p/d.
7997
c2c2dd9f
SM
79982017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7999
8000 * lib/gdb.exp (get_valueof): Don't capture end-of-line
8001 characters.
8002
fdffd6f4
TT
80032017-08-05 Tom Tromey <tom@tromey.com>
8004
8005 * gdb.rust/simple.exp: Allow String to appear in a different
8006 namespace.
8007
27d41eac
YQ
80082017-07-26 Yao Qi <yao.qi@linaro.org>
8009
8010 * gdb.gdb/unittest.exp: Invoke command
8011 "maintenance check xml-descriptions".
8012
031ed05d
AA
80132017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8014
8015 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
8016 calling context.
8017 (hex128): Drop erroneous calculation of parameters.
8018
dcd27ddf
SM
80192017-07-22 Simon Marchi <simon.marchi@ericsson.com>
8020
8021 * gdb.python/py-unwind.exp: Disable stack protection when
8022 building test file.
8023
47e77640
PA
80242017-07-20 Pedro Alves <palves@redhat.com>
8025
8026 * gdb.base/default.exp (set language): Adjust expected output.
8027
62d2a18a
PA
80282017-07-20 Pedro Alves <palves@redhat.com>
8029
8030 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
8031 (test_minsym): ... this, and make static.
8032 (get_pck__foo__bar__minsym): Rename to ...
8033 (get_test_minsym): ... this.
8034 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
8035 symbol names and comments.
8036 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
8037 (get_test_minsym): ... this.
8038 (pck__foo__bar__minsym__2): Rename to ...
8039 (test_minsym): ... this.
8040 (main): Adjust.
8041
c45ec17c
PA
80422017-07-17 Pedro Alves <palves@redhat.com>
8043
8044 * gdb.base/completion.exp: Adjust expected output.
8045 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
8046 the completer works.
8047
c6756f62
PA
80482017-07-17 Pedro Alves <palves@redhat.com>
8049
8050 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
8051
5bd68487
AB
80522017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
8053
8054 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
8055
8880f2a9
TT
80562017-07-14 Tom Tromey <tom@tromey.com>
8057
8058 PR rust/21764:
8059 * gdb.rust/simple.exp: Add tests.
8060
65547233
TT
80612017-07-14 Tom Tromey <tom@tromey.com>
8062
8063 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
8064
8f14146e
PA
80652017-07-14 Pedro Alves <palves@redhat.com>
8066
8067 * gdb.linespec/base/one/thefile.cc (z1): New function.
8068 * gdb.linespec/base/two/thefile.cc (z2): New function.
8069 * gdb.linespec/linespec.exp: Add tests.
8070
b4365d02
AB
80712017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8072
8073 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
8074 to mi_create_breakpoint.
8075
5d2cbaa5
AB
80762017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8077
8078 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
8079 mi_create_breakpoint.
8080
11cb5716
IB
80812017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
8082
8083 * gdb.dlang/demangle.exp: Update for demangling changes.
8084
03278692
TT
80852017-07-09 Tom Tromey <tom@tromey.com>
8086
8087 * gdb.dwarf2/shortpiece.exp: New file.
8088
33c5cd75
DB
80892017-07-06 David Blaikie <dblaikie@gmail.com>
8090
8091 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
8092 built from fissiont-multi-cu{1,2}.c.
8093 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
8094 except putting 'main' and 'func' in separate CUs in the same DWO file.
8095 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
8096 test.
8097 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
8098 test.
8099
8455d262
PA
81002017-07-06 Pedro Alves <palves@redhat.com>
8101
8102 * gdb.python/py-unwind.exp: Test flushregs.
8103
dc4bde35
SDJ
81042017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8105
8106 PR cli/21688
8107 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
8108 tests for alias commands and trailing whitespace.
8109
51ed89aa
SDJ
81102017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8111
8112 PR cli/21688
8113 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
8114 procedure. Call it.
8115
eb17d413
PA
81162017-06-29 Pedro Alves <palves@redhat.com>
8117
8118 * gdb.base/printcmds.exp: Add tests.
8119
41664b45
DG
81202017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
8121
8122 PR gdb/21337
8123 * gdb.base/reread-readsym.exp: New file.
8124 * gdb.base/reread-readsym.c: New file.
8125
75312ae3
KB
81262017-06-21 Kevin Buettner <kevinb@redhat.com>
8127
8128 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
8129 subpattern.
8130
66953522
PB
81312017-06-19 Peter Bergner <bergner@vnet.ibm.com>
8132
8133 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
8134 extended mnemonic.
8135 * gdb.arch/powerpc-power9.s: Likewise.
8136
5524b525
AA
81372017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8138
8139 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
8140 on 32-bit x86 targets. Exploit is_*_target macros where
8141 appropriate.
8142
03c8af18
AA
81432017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8144
8145 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
8146 register pieces.
8147
3bf31011
AA
81482017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8149
8150 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
8151 located in one or more DWARF pieces.
8152
805acca0
AA
81532017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8154
8155 * lib/gdb.exp (get_endianness): New proc.
8156 * gdb.arch/aarch64-fp.exp: Use it.
8157 * gdb.arch/altivec-regs.exp: Likewise.
8158 * gdb.arch/e500-regs.exp: Likewise.
8159 * gdb.arch/vsx-regs.exp: Likewise.
8160 * gdb.base/dump.exp: Likewise.
8161 * gdb.base/funcargs.exp: Likewise.
8162 * gdb.base/gnu_vector.exp: Likewise.
8163 * gdb.dwarf2/formdata16.exp: Likewise.
8164 * gdb.dwarf2/implptrpiece.exp: Likewise.
8165 * gdb.dwarf2/nonvar-access.exp: Likewise.
8166 * gdb.python/py-inferior.exp: Likewise.
8167 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8168
e9352324
AA
81692017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8170
8171 PR gdb/21226
8172 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
8173 stack value pieces are taken from the LSB end.
8174
d5d1163e
AA
81752017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8176
8177 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
8178 variable at nonzero offset.
8179
0567c986
AA
81802017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8181
8182 * gdb.dwarf2/var-access.c: New file.
8183 * gdb.dwarf2/var-access.exp: New test.
8184 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
8185
973e9aab
TT
81862017-06-12 Tom Tromey <tom@tromey.com>
8187
8188 * gdb.dwarf2/formdata16.exp: Add tests.
8189
d9109c80
TT
81902017-06-12 Tom Tromey <tom@tromey.com>
8191
8192 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
8193
30a25466
TT
81942017-06-12 Tom Tromey <tom@tromey.com>
8195
8196 PR exp/16225:
8197 * gdb.reverse/i386-sse-reverse.exp: Update tests.
8198 * gdb.arch/vsx-regs.exp: Update tests.
8199 * gdb.arch/s390-vregs.exp (hex128): New proc.
8200 Update test.
8201 * gdb.arch/altivec-regs.exp: Update tests.
8202
aefd8b33
SDJ
82032017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8204
8205 * gdb.base/startup-with-shell.c: New file.
8206 * gdb.base/startup-with-shell.exp: Likewise.
8207
2090129c
SDJ
82082017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8209
8210 * gdb.server/non-existing-program.exp: Update regex in order to
8211 reflect the fact that gdbserver is now using fork_inferior (with a
8212 shell) to startup the inferior.
8213
8e86a419
SM
82142017-05-30 Simon Marchi <simon.marchi@ericsson.com>
8215
8216 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
8217 support function calls from GDB.
8218
e6cf65f2
TT
82192017-05-21 Tom Tromey <tom@tromey.com>
8220
8221 PR rust/21466:
8222 * gdb.rust/unsized.exp: New file.
8223 * gdb.rust/unsized.rs: New file.
8224
43cc5389
TT
82252017-05-19 Tom Tromey <tom@tromey.com>
8226
8227 PR rust/21484:
8228 * gdb.rust/watch.exp: New file.
8229 * gdb.rust/watch.rs: New file.
8230
ec8df234
TT
82312017-05-18 Tom Tromey <tom@tromey.com>
8232
8233 * gdb.rust/simple.exp: Allow Box to be qualified.
8234
3e3e7fae
TP
82352017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
8236
8237 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
8238
59cc050d
PA
82392017-05-18 Pedro Alves <palves@redhat.com>
8240
8241 * gdb.base/fileio.c (test_write, test_read, test_close)
8242 (test_fstat): Don't print 'ret' in the fail path.
8243
c8f6abd1
PA
82442017-05-18 Pedro Alves <palves@redhat.com>
8245
8246 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
8247 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
8248 (test_system, test_rename, test_unlink, test_time): Change
8249 prototypes.
8250 * gdb.base/fileio.exp (stop_msg): Adjust.
8251
d2a03b77
PA
82522017-05-18 Pedro Alves <palves@redhat.com>
8253
8254 * gdb.base/fileio.c (null_str): New global.
8255 (test_stat): Use it.
8256 * gdb.base/fileio.exp: Remove nowarnings.
8257
0d5c6999
YQ
82582017-05-17 Yao Qi <yao.qi@linaro.org>
8259
8260 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
8261
21873064
YQ
82622017-05-17 Simon Marchi <simon.marchi@ericsson.com>
8263
8264 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
8265 argument command.
8266 (top-level): Invoke test_set_inferior_tty.
8267
d512d31c
PA
82682017-05-04 Pedro Alves <palves@redhat.com>
8269
8270 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
8271 Add parens to print call for Python 3.
8272
90cef2ed
KS
82732017-05-03 Keith Seitz <keiths@redhat.com>
8274
8275 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
8276 (main): Call it.
8277
14f819c8
TW
82782017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8279
8280 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
8281 to prev and next.
8282
913aeadd
TW
82832017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8284
8285 * gdb.python/py-record-btrace.exp: Remove test for
8286 gdb.BtraceInstruction.error.
8287
a3be24ad
TW
82882017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8289
8290 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
8291
ae20e79a
TW
82922017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8293
8294 * gdb.python/py-record-btrace-threads.c: New file.
8295 * gdb.python/py-record-btrace-threads.exp: New file.
8296
45ce1b47
SDJ
82972017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
8298
8299 PR testsuite/8595
8300 * gdb.base/environ.exp: Make test available in all architectures.
8301 Move bits related to "info program" testing to
8302 gdb.base/info-program.exp. Rewrite tests to use the two new
8303 procedures mentione below.
8304 (test_set_show_env_var) New procedure.
8305 (test_set_show_env_var_equal): Likewise.
8306 * gdb.base/info-program.exp: New file.
8307
e15c3eb4
KS
83082017-04-27 Keith Seitz <keiths@redhat.com>
8309
8310 * gdb.cp/oranking.cc (test15): New function.
8311 (main): Call test15 and declare additional variables for testing.
8312 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
8313 "p foo101('abc')" tests.
8314 Add tests for cv qualifier overloads.
8315 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
8316 "lvalue reference overload" test.
8317 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
8318 "print value of f1 on Child&& in f2" test.
8319
3a3fd0fd
PA
83202017-04-19 Pedro Alves <palves@redhat.com>
8321
8322 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
8323 procedure.
8324 (top level): Call it.
8325 * lib/gdb.exp (gdb_define_cmd): New procedure.
8326
53375380
PA
83272017-04-12 Pedro Alves <palves@redhat.com>
8328
8329 PR gdb/21323
8330 * gdb.cp/wide_char_types.c: Include <wchar.h>.
8331 (wchar): New global.
8332 * gdb.cp/wide_char_types.exp (wide_char_types_program)
8333 (do_test_wide_char, wide_char_types_no_program, top level): Add
8334 wchar_t testing.
8335
53e710ac
PA
83362017-04-12 Pedro Alves <palves@redhat.com>
8337
8338 PR c++/21323
8339 * gdb.cp/wide_char_types.c: New file.
8340 * gdb.cp/wide_char_types.exp: New file.
8341
0ad9d8c7
SDJ
83422017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
8343
8344 PR gdb/21352
8345 * gdb.trace/tsv.exp: Add test for "tsave -r".
8346
b1b45502
IB
83472017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
8348
8349 * gdb.dlang/watch-loc.c: New file.
8350 * gdb.dlang/watch-loc.exp: New file.
8351
ec13808e
JK
83522017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8353
8354 * gdb.python/py-section-script.exp (sepdebug): New testcases.
8355
fe5f7374
AK
83562017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8357
8358 * gdb.arch/arc-analyze-prologue.S: New file.
8359 * gdb.arch/arc-analyze-prologue.exp: Likewise.
8360
eea78757
AK
83612017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8362
8363 * gdb.arch/arc-decode-insn.S: New file.
8364 * gdb.arch/arc-decode-insn.exp: Likewise.
8365
5badf10a
IR
83662017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
8367
8368 PR tdep/20928
8369 * gdb.arch/sparc64-regs.exp: New file.
8370 * gdb.arch/sparc64-regs.S: Likewise.
8371
cee59b3f
TW
83722017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
8373
8374 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
8375 and memory view on Python 3.
8376
c0f55cc6
AV
83772017-03-20 Artemiy Volkov <artemiyv@acm.org>
8378 Keith Seitz <keiths@redhat.com>
8379
8380 PR gdb/14441
8381 * gdb.cp/demangle.exp: Add rvalue reference tests.
8382 * gdb.cp/rvalue-ref-casts.cc: New file.
8383 * gdb.cp/rvalue-ref-casts.exp: New file.
8384 * gdb.cp/rvalue-ref-overload.cc: New file.
8385 * gdb.cp/rvalue-ref-overload.exp: New file.
8386 * gdb.cp/rvalue-ref-params.cc: New file.
8387 * gdb.cp/rvalue-ref-params.exp: New file.
8388 * gdb.cp/rvalue-ref-sizeof.cc: New file.
8389 * gdb.cp/rvalue-ref-sizeof.exp: New file.
8390 * gdb.cp/rvalue-ref-types.cc: New file.
8391 * gdb.cp/rvalue-ref-types.exp: New file.
8392 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
8393 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
8394
51457a05
MAL
83952017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8396
8397 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
8398 New procedure.
8399
5b291c04
MAL
84002017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8401
8402 * lib/mi-support.exp (mi_gdb_test): Add additional message
8403 for unexpected output.
8404
59a56148
AA
84052017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8406
8407 * gdb.base/examine-backward.c (Barrier): New character array
8408 constant, to ensure that TestStrings is preceded by a string
8409 terminator.
8410
7942e96e
AA
84112017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8412
8413 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
8414 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
8415 and implicit pointer into such a location.
8416
6ebac3fb
DE
84172017-03-16 Doug Evans <dje@google.com>
8418
8419 * gdb.python/py-lazy-string (pointer): Really add new typedef.
8420
ec3b243d
TP
84212017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
8422
8423 * gdb.cp/m-static.exp: Fix expectation for prototype of
8424 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
8425
84262017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
8427
8428 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
8429 * gdb.guile/scm-lazy-string.c: New file.
8430 * gdb.guile/scm-value.exp: Move lazy string tests to ...
8431 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
8432 for pointer, array, typedef lazy strings.
8433
2cc36e25 84342017-03-16 Doug Evans <dje@google.com>
34b43320
DE
8435
8436 PR python/17728, python/18439, python/18779
8437 * gdb.python/py-value.c (main) Delete locals sptr, sn.
8438 * gdb.python/py-lazy-string.c (pointer): New typedef.
8439 (main): New locals ptr, array, typedef_ptr.
8440 * gdb.python/py-value.exp: Move lazy string tests to ...
8441 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
8442 array, typedef lazy strings.
ec3b243d 8443
0efcde63
AK
84442017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
8445
8446 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
8447 Add optional 'test' parameter.
8448
7978d7c3
SM
84492017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8450
8451 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8452 Skip for versions of DejaGnu < 1.5.
8453
896c0c1e
SM
84542017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8455
8456 * lib/gdb.exp (dejagnu_version): New proc.
8457 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8458 Use dejagnu_version.
8459
5f4d1085
KS
84602017-03-10 Keith Seitz <keiths@redhat.com>
8461
8462 PR c++/8128
8463 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
8464 type from destructor regexps.
8465 Add a branch which actually passes the test.
8466 Adjust "ptype t5i" test names.
8467
1de05205
PA
84682017-03-08 Pedro Alves <palves@redhat.com>
8469
8470 * gdb.base/step-over-exit.exp: Add explicit test message.
8471
c65d6b55
PA
84722017-03-08 Pedro Alves <palves@redhat.com>
8473
8474 PR gdb/18360
8475 * gdb.threads/interrupt-while-step-over.c: New file.
8476 * gdb.threads/interrupt-while-step-over.exp: New file.
8477
2e86a283
PA
84782017-03-08 Pedro Alves <palves@redhat.com>
8479
8480 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
8481 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
8482
25dcbff6
PA
84832017-03-08 Pedro Alves <palves@redhat.com>
8484
8485 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
8486 PKRU as not supported as a PASS.
8487
dc9366eb
PA
84882017-03-08 Pedro Alves <palves@redhat.com>
8489
8490 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
8491 prefix instead of $binfile1/$binfile2.
8492 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
8493 in test message.
8494 * gdb.python/py-completion.exp: Use "load python file" as test
8495 messages instead of unstable path names.
8496
6e5d74e7
PA
84972017-03-08 Pedro Alves <palves@redhat.com>
8498 Jan Kratochvil <jan.kratochvil@redhat.com>
8499
8500 PR cli/21218
8501 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8502 New proc.
8503 (top level): Call it.
8504
9753a2f6
PA
85052017-03-08 Pedro Alves <palves@redhat.com>
8506
8507 PR tui/21216
8508 * gdb.tui/tui-nl-filtered-output.exp: New file.
8509
1a4dd9dd
PA
85102017-03-08 Pedro Alves <palves@redhat.com>
8511
8512 * gdb.base/completion.exp: Move TUI completion tests to ...
8513 * gdb.tui/completion.exp: ... this new file.
8514
7cbbff33
PA
85152017-03-08 Pedro Alves <palves@redhat.com>
8516
8517 * gdb.base/tui-disasm-long-lines.c,
8518 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
8519 gdb.base/tui-layout.exp: Move to ...
8520 * gdb.tui/: ... this new directory.
8521
5f6fd321
PA
85222017-03-07 Pedro Alves <palves@redhat.com>
8523
8524 * gdb.base/tui-layout.c: New file.
8525 * gdb.base/tui-layout.exp: New file.
8526
44959fa8
PA
85272017-03-07 Pedro Alves <palves@redhat.com>
8528
8529 * gdb.base/tui-layout.c: Rename to ...
8530 * gdb.base/tui-disasm-long-lines.c: ... this.
8531 * gdb.base/tui-layout.exp: Rename to ...
8532 * gdb.base/tui-disasm-long-lines.exp: ... this.
8533
f8c4e718
PA
85342017-03-07 Pedro Alves <palves@redhat.com>
8535
8536 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
8537
6dbb839a 85382017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
8539
8540 * i386-mpx-call.c: New file.
8541 * i386-mpx-call.exp: New file.
8542
65b48a81
PB
85432017-02-28 Peter Bergner <bergner@vnet.ibm.com>
8544
8545 * gdb.arch/powerpc-power.exp: Delete test.
8546 * gdb.arch/powerpc-power.s: Likewise.
8547 * gdb.disasm/disassembler-options.exp: New test.
8548 * gdb.arch/powerpc-altivec.exp: Likewise.
8549 * gdb.arch/powerpc-altivec.s: Likewise.
8550 * gdb.arch/powerpc-altivec2.exp: Likewise.
8551 * gdb.arch/powerpc-altivec2.s: Likewise.
8552 * gdb.arch/powerpc-altivec3.exp: Likewise.
8553 * gdb.arch/powerpc-altivec3.s: Likewise.
8554 * gdb.arch/powerpc-power7.exp: Likewise.
8555 * gdb.arch/powerpc-power7.s: Likewise.
8556 * gdb.arch/powerpc-power8.exp: Likewise.
8557 * gdb.arch/powerpc-power8.s: Likewise.
8558 * gdb.arch/powerpc-power9.exp: Likewise.
8559 * gdb.arch/powerpc-power9.s: Likewise.
8560 * gdb.arch/powerpc-vsx.exp: Likewise.
8561 * gdb.arch/powerpc-vsx.s: Likewise.
8562 * gdb.arch/powerpc-vsx2.exp: Likewise.
8563 * gdb.arch/powerpc-vsx2.s: Likewise.
8564 * gdb.arch/powerpc-vsx3.exp: Likewise.
8565 * gdb.arch/powerpc-vsx3.s: Likewise.
8566 * gdb.arch/arm-disassembler-options.exp: Likewise.
8567 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
8568 * gdb.arch/s390-disassembler-options.exp: Likewise.
8569
17cd4947
LM
85702017-02-23 Luis Machado <lgustavo@codesourcery.com>
8571
8572 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
8573 (check_supported_features): ... this. Changed return type to void.
8574 (supports_rdseed): New static global.
8575 (rdseed): Check supports_rdseed.
8576 (initialize): Call check_supported_features.
8577
2039d74e
EBM
85782017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8579
8580 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
8581 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
8582 and lqarx/stqcx.
8583 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
8584 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
8585
a51d7ecf
EBM
85862017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8587
8588 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
8589 uppercase.
8590
0224619f
JK
85912017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8592
8593 * gdb.dwarf2/formdata16.c: New file.
8594 * gdb.dwarf2/formdata16.exp: New file.
8595 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
8596
216f72a1
JK
85972017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8598
8599 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
8600 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
8601 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
8602 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
8603 DW_AT_GNU_*.
8604
43988095
JK
86052017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8606
8607 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
8608
99e8a4f9
SDJ
86092017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
8610
8611 PR gdb/21164
8612 * gdb.base/maint.exp: Add testcases for when the commands do
8613 not have arguments.
8614
b58a8c0c
TP
86152017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
8616
8617 * gdb.cp/chained-calls.exp: Use p instead of P.
8618
4e746bb6
TW
86192017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
8620
8621 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
8622 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
8623
3f77c769
TT
86242017-02-14 Tom Tromey <tom@tromey.com>
8625
8626 PR python/13598:
8627 * gdb.python/py-events.exp: Add before_prompt event tests.
8628
075beec0
AA
86292017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8630
8631 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
8632
bf5f525c
LM
86332017-02-13 Luis Machado <lgustavo@codesourcery.com>
8634
8635 * gdb.linespec/explicit.c (my_unique_function_name): New function.
8636 (main): Call my_unique_function_name.
8637 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
8638 completion of patterns with a single match.
8639 Add missing -re switches to gdb_test_multiple calls.
8640
13a66184
LM
86412017-02-13 Luis Machado <lgustavo@codesourcery.com>
8642
8643 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
8644 return if core file is not recognized.
8645
26a06916
SM
86462017-02-10 Simon Marchi <simon.marchi@ericsson.com>
8647
8648 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
8649 and extra UIs.
8650
b761ca9e
SM
86512017-02-10 Simon Marchi <simon.marchi@ericsson.com>
8652
8653 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
8654 proc_with_prefix.
8655
b964bee0
TT
86562017-02-10 Tom Tromey <tom@tromey.com>
8657
8658 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
8659
18da0c51
MG
86602017-02-10 Martin Galvan <martingalvan@sourceware.org>
8661
8662 PR gdb/21122
8663 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
8664
604c4576
JG
86652017-02-08 Jerome Guitton <guitton@adacore.com>
8666
8667 * gdb.base/define.exp: Add test for command abbreviations
8668 in define.
8669
20b477a7
LM
86702017-02-06 Luis Machado <lgustavo@codesourcery.com>
8671
8672 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
8673 * gdb.reverse/insn-reverse-x86.c: New file.
8674
3f7b46f2
IR
86752017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
8676
8677 PR tdep/20936
8678 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
8679
f0fd41c1
TT
86802017-02-03 Tom Tromey <tom@tromey.com>
8681
8682 PR rust/21097:
8683 * gdb.rust/simple.exp: Add new tests.
8684
5be5dbf0
PA
86852017-02-02 Pedro Alves <palves@redhat.com>
8686
8687 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
8688 tests.
8689
7346ef59
AA
86902017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8691
8692 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
8693 taking a 2-byte value out of a 4-byte DWARF implicit value on
8694 big-endian targets.
8695 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
8696 logic. Add test cases for DW_OP_implicit.
8697
787f0025
MM
86982017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8699
8700 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
8701
68777c29
MM
87022017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8703
8704 * gdb.btrace/enable.exp: Call gdb_exit before
8705 skip_gdbserver_tests.
8706
0a1c7e28
MM
87072017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8708
8709 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
8710 GDBFLAGS.
8711
b5ac99b0
MM
87122017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8713
8714 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
8715 the test is skipped.
8716 * gdb.btrace/data.exp: Likewise.
8717 * gdb.btrace/delta.exp: Likewise.
8718 * gdb.btrace/dlopen.exp: Likewise.
8719 * gdb.btrace/enable-running.exp: Likewise.
8720 * gdb.btrace/enable.exp: Likewise.
8721 * gdb.btrace/exception.exp: Likewise.
8722 * gdb.btrace/function_call_history.exp: Likewise.
8723 * gdb.btrace/gcore.exp: Likewise.
8724 * gdb.btrace/instruction_history.exp: Likewise.
8725 * gdb.btrace/multi-thread-step.exp: Likewise.
8726 * gdb.btrace/nohist.exp: Likewise.
8727 * gdb.btrace/non-stop.exp: Likewise.
8728 * gdb.btrace/reconnect.exp: Likewise.
8729 * gdb.btrace/record_goto-step.exp: Likewise.
8730 * gdb.btrace/record_goto.exp: Likewise.
8731 * gdb.btrace/rn-dl-bind.exp: Likewise.
8732 * gdb.btrace/segv.exp: Likewise.
8733 * gdb.btrace/step.exp: Likewise.
8734 * gdb.btrace/stepi.exp: Likewise.
8735 * gdb.btrace/tailcall-only.exp: Likewise.
8736 * gdb.btrace/tailcall.exp: Likewise.
8737 * gdb.btrace/tsx.exp: Likewise.
8738 * gdb.btrace/unknown_functions.exp: Likewise.
8739 * gdb.btrace/vdso.exp: Likewise.
8740
cd4007e4
MM
87412017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8742
8743 * gdb.btrace/enable-running.c: New.
8744 * gdb.btrace/enable-running.exp: New.
8745
2735833d
WT
87462017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
8747
8748 * gdb.arch/amd64-gs_base.c: New file.
8749 * gdb.arch/amd64-gs_base.exp: New file.
8750
b51e1e94
LM
87512017-01-26 Luis Machado <lgustavo@codesourcery.com>
8752
8753 * lib/memory.exp: Remove spurious empty newlines.
8754
72ca0410
SM
87552017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
8756
8757 * gdb.python/py-bad-printers.exp: Load python file using "source".
8758 * gdb.python/py-events.exp: Likewise.
8759 * gdb.python/py-evsignal.exp: Likewise.
8760 * gdb.python/py-evthreads.exp: Likewise.
8761 * gdb.python/py-frame-args.exp: Likewise.
8762 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
8763 * gdb.python/py-framefilter-mi.exp: Likewise.
8764 * gdb.python/py-framefilter.exp: Likewise.
8765 * gdb.python/py-mi.exp: Likewise.
8766 * gdb.python/py-pp-maint.exp: Likewise.
8767 * gdb.python/py-pp-registration.exp: Likewise.
8768 * gdb.python/py-prettyprint.exp: Likewise.
8769 (run_lang_tests): Likewise.
8770 * gdb.python/py-typeprint.exp: Likewise.
8771
e309aa65
LM
87722017-01-26 Luis Machado <lgustavo@codesourcery.com>
8773
8774 * lib/memory.exp: New file.
8775 * lib/gdb.exp: Load memory.exp.
8776 * gdb.base/memattr.exp (delete_memory): Move proc to
8777 lib/memory.exp and rename to delete_memory_regions.
8778 Replace delete_memory with delete_memory_regions.
8779 Cleanup memory regions before tests.
8780 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
8781 before tests.
8782
515aff23
LM
87832017-01-26 Luis Machado <lgustavo@codesourcery.com>
8784
8785 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
8786 files.
8787 (initialize): New function conditionally defined.
8788 (testcases): Move within conditional block.
8789 (main): Call initialize.
8790 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
8791 of gdb.reverse/insn-reverse.c.
8792 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
8793 gdb.reverse/insn-reverse.c.
8794
d8b49cf0
YQ
87952017-01-26 Yao Qi <yao.qi@linaro.org>
8796
8797 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
8798 disassemble on address 0.
8799
f13a9a0c
YQ
88002017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
8801 Yao Qi <yao.qi@linaro.org>
8802
8803 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
8804 * gdb.dwarf2/implptr-64bit.S: Remove.
8805 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
8806 variables in caller's context. Add DW_OP_implicit_value.
8807
5ac95241
YQ
88082017-01-25 Yao Qi <yao.qi@linaro.org>
8809
8810 * lib/dwarf.exp (Dwarf::_location): Handle
8811 DW_OP_GNU_implicit_pointer with proper size.
8812
23e82930
LM
88132017-01-20 Luis Machado <lgustavo@codesourcery.com>
8814
8815 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
8816 and add untested calls.
8817
d334ae25
LM
88182017-01-20 Luis Machado <lgustavo@codesourcery.com>
8819
8820 * gdb.python/python.exp: Check line number against what GDB thinks
8821 the line number is for func1.
8822
f5e6296e
IB
88232017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
8824
8825 * gdb.dlang/debug-expr.exp: New file.
8826
5b362f04
LM
88272016-12-23 Luis Machado <lgustavo@codesourcery.com>
8828
8829 Fix test names for the following files:
8830
8831 * gdb.ada/exec_changed.exp
8832 * gdb.ada/info_types.exp
8833 * gdb.arch/aarch64-atomic-inst.exp
8834 * gdb.arch/aarch64-fp.exp
8835 * gdb.arch/altivec-abi.exp
8836 * gdb.arch/altivec-regs.exp
8837 * gdb.arch/amd64-byte.exp
8838 * gdb.arch/amd64-disp-step.exp
8839 * gdb.arch/amd64-dword.exp
8840 * gdb.arch/amd64-entry-value-inline.exp
8841 * gdb.arch/amd64-entry-value-param.exp
8842 * gdb.arch/amd64-entry-value-paramref.exp
8843 * gdb.arch/amd64-entry-value.exp
8844 * gdb.arch/amd64-i386-address.exp
8845 * gdb.arch/amd64-invalid-stack-middle.exp
8846 * gdb.arch/amd64-invalid-stack-top.exp
8847 * gdb.arch/amd64-optimout-repeat.exp
8848 * gdb.arch/amd64-prologue-skip.exp
8849 * gdb.arch/amd64-prologue-xmm.exp
8850 * gdb.arch/amd64-stap-special-operands.exp
8851 * gdb.arch/amd64-stap-wrong-subexp.exp
8852 * gdb.arch/amd64-tailcall-cxx.exp
8853 * gdb.arch/amd64-tailcall-noret.exp
8854 * gdb.arch/amd64-tailcall-ret.exp
8855 * gdb.arch/amd64-tailcall-self.exp
8856 * gdb.arch/amd64-word.exp
8857 * gdb.arch/arm-bl-branch-dest.exp
8858 * gdb.arch/arm-disp-step.exp
8859 * gdb.arch/arm-neon.exp
8860 * gdb.arch/arm-single-step-kernel-helper.exp
8861 * gdb.arch/avr-flash-qualifier.exp
8862 * gdb.arch/disp-step-insn-reloc.exp
8863 * gdb.arch/e500-abi.exp
8864 * gdb.arch/e500-regs.exp
8865 * gdb.arch/ftrace-insn-reloc.exp
8866 * gdb.arch/i386-avx512.exp
8867 * gdb.arch/i386-bp_permanent.exp
8868 * gdb.arch/i386-byte.exp
8869 * gdb.arch/i386-cfi-notcurrent.exp
8870 * gdb.arch/i386-disp-step.exp
8871 * gdb.arch/i386-dr3-watch.exp
8872 * gdb.arch/i386-float.exp
8873 * gdb.arch/i386-gnu-cfi.exp
8874 * gdb.arch/i386-mpx-map.exp
8875 * gdb.arch/i386-mpx-sigsegv.exp
8876 * gdb.arch/i386-mpx-simple_segv.exp
8877 * gdb.arch/i386-mpx.exp
8878 * gdb.arch/i386-permbkpt.exp
8879 * gdb.arch/i386-prologue.exp
8880 * gdb.arch/i386-signal.exp
8881 * gdb.arch/i386-size-overlap.exp
8882 * gdb.arch/i386-unwind.exp
8883 * gdb.arch/i386-word.exp
8884 * gdb.arch/mips-fcr.exp
8885 * gdb.arch/powerpc-d128-regs.exp
8886 * gdb.arch/powerpc-stackless.exp
8887 * gdb.arch/ppc64-atomic-inst.exp
8888 * gdb.arch/s390-stackless.exp
8889 * gdb.arch/s390-tdbregs.exp
8890 * gdb.arch/s390-vregs.exp
8891 * gdb.arch/sparc-sysstep.exp
8892 * gdb.arch/thumb-bx-pc.exp
8893 * gdb.arch/thumb-singlestep.exp
8894 * gdb.arch/thumb2-it.exp
8895 * gdb.arch/vsx-regs.exp
8896 * gdb.asm/asm-source.exp
8897 * gdb.base/a2-run.exp
8898 * gdb.base/advance.exp
8899 * gdb.base/all-bin.exp
8900 * gdb.base/anon.exp
8901 * gdb.base/args.exp
8902 * gdb.base/arithmet.exp
8903 * gdb.base/async-shell.exp
8904 * gdb.base/async.exp
8905 * gdb.base/attach-pie-noexec.exp
8906 * gdb.base/attach-twice.exp
8907 * gdb.base/auto-load.exp
8908 * gdb.base/bang.exp
8909 * gdb.base/bitfields.exp
8910 * gdb.base/break-always.exp
8911 * gdb.base/break-caller-line.exp
8912 * gdb.base/break-entry.exp
8913 * gdb.base/break-inline.exp
8914 * gdb.base/break-on-linker-gcd-function.exp
8915 * gdb.base/break-probes.exp
8916 * gdb.base/break.exp
8917 * gdb.base/breakpoint-shadow.exp
8918 * gdb.base/call-ar-st.exp
8919 * gdb.base/call-sc.exp
8920 * gdb.base/call-signal-resume.exp
8921 * gdb.base/call-strs.exp
8922 * gdb.base/callfuncs.exp
8923 * gdb.base/catch-fork-static.exp
8924 * gdb.base/catch-gdb-caused-signals.exp
8925 * gdb.base/catch-load.exp
8926 * gdb.base/catch-signal-fork.exp
8927 * gdb.base/catch-signal.exp
8928 * gdb.base/catch-syscall.exp
8929 * gdb.base/charset.exp
8930 * gdb.base/checkpoint.exp
8931 * gdb.base/chng-syms.exp
8932 * gdb.base/code-expr.exp
8933 * gdb.base/code_elim.exp
8934 * gdb.base/commands.exp
8935 * gdb.base/completion.exp
8936 * gdb.base/complex.exp
8937 * gdb.base/cond-expr.exp
8938 * gdb.base/condbreak.exp
8939 * gdb.base/consecutive.exp
8940 * gdb.base/continue-all-already-running.exp
8941 * gdb.base/coredump-filter.exp
8942 * gdb.base/corefile.exp
8943 * gdb.base/dbx.exp
8944 * gdb.base/debug-expr.exp
8945 * gdb.base/define.exp
8946 * gdb.base/del.exp
8947 * gdb.base/disabled-location.exp
8948 * gdb.base/disasm-end-cu.exp
8949 * gdb.base/disasm-optim.exp
8950 * gdb.base/display.exp
8951 * gdb.base/duplicate-bp.exp
8952 * gdb.base/ena-dis-br.exp
8953 * gdb.base/ending-run.exp
8954 * gdb.base/enumval.exp
8955 * gdb.base/environ.exp
8956 * gdb.base/eu-strip-infcall.exp
8957 * gdb.base/eval-avoid-side-effects.exp
8958 * gdb.base/eval-skip.exp
8959 * gdb.base/exitsignal.exp
8960 * gdb.base/expand-psymtabs.exp
8961 * gdb.base/filesym.exp
8962 * gdb.base/find-unmapped.exp
8963 * gdb.base/finish.exp
8964 * gdb.base/float.exp
8965 * gdb.base/foll-exec-mode.exp
8966 * gdb.base/foll-exec.exp
8967 * gdb.base/foll-fork.exp
8968 * gdb.base/fortran-sym-case.exp
8969 * gdb.base/freebpcmd.exp
8970 * gdb.base/func-ptr.exp
8971 * gdb.base/func-ptrs.exp
8972 * gdb.base/funcargs.exp
8973 * gdb.base/gcore-buffer-overflow.exp
8974 * gdb.base/gcore-relro-pie.exp
8975 * gdb.base/gcore-relro.exp
8976 * gdb.base/gcore.exp
8977 * gdb.base/gdb1090.exp
8978 * gdb.base/gdb11530.exp
8979 * gdb.base/gdb11531.exp
8980 * gdb.base/gdb1821.exp
8981 * gdb.base/gdbindex-stabs.exp
8982 * gdb.base/gdbvars.exp
8983 * gdb.base/hbreak.exp
8984 * gdb.base/hbreak2.exp
8985 * gdb.base/included.exp
8986 * gdb.base/infcall-input.exp
8987 * gdb.base/inferior-died.exp
8988 * gdb.base/infnan.exp
8989 * gdb.base/info-macros.exp
8990 * gdb.base/info-os.exp
8991 * gdb.base/info-proc.exp
8992 * gdb.base/info-shared.exp
8993 * gdb.base/info-target.exp
8994 * gdb.base/infoline.exp
8995 * gdb.base/interp.exp
8996 * gdb.base/interrupt.exp
8997 * gdb.base/jit-reader.exp
8998 * gdb.base/jit-simple.exp
8999 * gdb.base/kill-after-signal.exp
9000 * gdb.base/kill-detach-inferiors-cmd.exp
9001 * gdb.base/label.exp
9002 * gdb.base/langs.exp
9003 * gdb.base/ldbl_e308.exp
9004 * gdb.base/line-symtabs.exp
9005 * gdb.base/linespecs.exp
9006 * gdb.base/list.exp
9007 * gdb.base/long_long.exp
9008 * gdb.base/longest-types.exp
9009 * gdb.base/maint.exp
9010 * gdb.base/max-value-size.exp
9011 * gdb.base/memattr.exp
9012 * gdb.base/mips_pro.exp
9013 * gdb.base/morestack.exp
9014 * gdb.base/moribund-step.exp
9015 * gdb.base/multi-forks.exp
9016 * gdb.base/nested-addr.exp
9017 * gdb.base/nextoverexit.exp
9018 * gdb.base/noreturn-finish.exp
9019 * gdb.base/noreturn-return.exp
9020 * gdb.base/nostdlib.exp
9021 * gdb.base/offsets.exp
9022 * gdb.base/opaque.exp
9023 * gdb.base/pc-fp.exp
9024 * gdb.base/permissions.exp
9025 * gdb.base/print-symbol-loading.exp
9026 * gdb.base/prologue-include.exp
9027 * gdb.base/psymtab.exp
9028 * gdb.base/ptype.exp
9029 * gdb.base/random-signal.exp
9030 * gdb.base/randomize.exp
9031 * gdb.base/range-stepping.exp
9032 * gdb.base/readline-ask.exp
9033 * gdb.base/recpar.exp
9034 * gdb.base/recurse.exp
9035 * gdb.base/relational.exp
9036 * gdb.base/restore.exp
9037 * gdb.base/return-nodebug.exp
9038 * gdb.base/return.exp
9039 * gdb.base/run-after-attach.exp
9040 * gdb.base/save-bp.exp
9041 * gdb.base/scope.exp
9042 * gdb.base/sect-cmd.exp
9043 * gdb.base/set-lang-auto.exp
9044 * gdb.base/set-noassign.exp
9045 * gdb.base/setvar.exp
9046 * gdb.base/sigall.exp
9047 * gdb.base/sigbpt.exp
9048 * gdb.base/siginfo-addr.exp
9049 * gdb.base/siginfo-infcall.exp
9050 * gdb.base/siginfo-obj.exp
9051 * gdb.base/siginfo.exp
9052 * gdb.base/signals-state-child.exp
9053 * gdb.base/signest.exp
9054 * gdb.base/sigstep.exp
9055 * gdb.base/sizeof.exp
9056 * gdb.base/skip.exp
9057 * gdb.base/solib-corrupted.exp
9058 * gdb.base/solib-nodir.exp
9059 * gdb.base/solib-search.exp
9060 * gdb.base/stack-checking.exp
9061 * gdb.base/stale-infcall.exp
9062 * gdb.base/stap-probe.exp
9063 * gdb.base/start.exp
9064 * gdb.base/step-break.exp
9065 * gdb.base/step-bt.exp
9066 * gdb.base/step-line.exp
9067 * gdb.base/step-over-exit.exp
9068 * gdb.base/step-over-syscall.exp
9069 * gdb.base/step-resume-infcall.exp
9070 * gdb.base/step-test.exp
9071 * gdb.base/store.exp
9072 * gdb.base/structs3.exp
9073 * gdb.base/sym-file.exp
9074 * gdb.base/symbol-without-target_section.exp
9075 * gdb.base/term.exp
9076 * gdb.base/testenv.exp
9077 * gdb.base/ui-redirect.exp
9078 * gdb.base/until.exp
9079 * gdb.base/unwindonsignal.exp
9080 * gdb.base/value-double-free.exp
9081 * gdb.base/vla-datatypes.exp
9082 * gdb.base/vla-ptr.exp
9083 * gdb.base/vla-sideeffect.exp
9084 * gdb.base/volatile.exp
9085 * gdb.base/watch-cond-infcall.exp
9086 * gdb.base/watch-cond.exp
9087 * gdb.base/watch-non-mem.exp
9088 * gdb.base/watch-read.exp
9089 * gdb.base/watch-vfork.exp
9090 * gdb.base/watchpoint-cond-gone.exp
9091 * gdb.base/watchpoint-delete.exp
9092 * gdb.base/watchpoint-hw-hit-once.exp
9093 * gdb.base/watchpoint-hw.exp
9094 * gdb.base/watchpoint-stops-at-right-insn.exp
9095 * gdb.base/watchpoints.exp
9096 * gdb.base/wchar.exp
9097 * gdb.base/whatis-exp.exp
9098 * gdb.btrace/buffer-size.exp
9099 * gdb.btrace/data.exp
9100 * gdb.btrace/delta.exp
9101 * gdb.btrace/dlopen.exp
9102 * gdb.btrace/enable.exp
9103 * gdb.btrace/exception.exp
9104 * gdb.btrace/function_call_history.exp
9105 * gdb.btrace/gcore.exp
9106 * gdb.btrace/instruction_history.exp
9107 * gdb.btrace/nohist.exp
9108 * gdb.btrace/reconnect.exp
9109 * gdb.btrace/record_goto-step.exp
9110 * gdb.btrace/record_goto.exp
9111 * gdb.btrace/rn-dl-bind.exp
9112 * gdb.btrace/segv.exp
9113 * gdb.btrace/step.exp
9114 * gdb.btrace/stepi.exp
9115 * gdb.btrace/tailcall-only.exp
9116 * gdb.btrace/tailcall.exp
9117 * gdb.btrace/tsx.exp
9118 * gdb.btrace/unknown_functions.exp
9119 * gdb.btrace/vdso.exp
9120 * gdb.compile/compile-ifunc.exp
9121 * gdb.compile/compile-ops.exp
9122 * gdb.compile/compile-print.exp
9123 * gdb.compile/compile-setjmp.exp
9124 * gdb.cp/abstract-origin.exp
9125 * gdb.cp/ambiguous.exp
9126 * gdb.cp/annota2.exp
9127 * gdb.cp/annota3.exp
9128 * gdb.cp/anon-ns.exp
9129 * gdb.cp/anon-struct.exp
9130 * gdb.cp/anon-union.exp
9131 * gdb.cp/arg-reference.exp
9132 * gdb.cp/baseenum.exp
9133 * gdb.cp/bool.exp
9134 * gdb.cp/breakpoint.exp
9135 * gdb.cp/bs15503.exp
9136 * gdb.cp/call-c.exp
9137 * gdb.cp/casts.exp
9138 * gdb.cp/chained-calls.exp
9139 * gdb.cp/class2.exp
9140 * gdb.cp/classes.exp
9141 * gdb.cp/cmpd-minsyms.exp
9142 * gdb.cp/converts.exp
9143 * gdb.cp/cp-relocate.exp
9144 * gdb.cp/cpcompletion.exp
9145 * gdb.cp/cpexprs.exp
9146 * gdb.cp/cplabel.exp
9147 * gdb.cp/cplusfuncs.exp
9148 * gdb.cp/cpsizeof.exp
9149 * gdb.cp/ctti.exp
9150 * gdb.cp/derivation.exp
9151 * gdb.cp/destrprint.exp
9152 * gdb.cp/dispcxx.exp
9153 * gdb.cp/enum-class.exp
9154 * gdb.cp/exception.exp
9155 * gdb.cp/exceptprint.exp
9156 * gdb.cp/expand-psymtabs-cxx.exp
9157 * gdb.cp/expand-sals.exp
9158 * gdb.cp/extern-c.exp
9159 * gdb.cp/filename.exp
9160 * gdb.cp/formatted-ref.exp
9161 * gdb.cp/fpointer.exp
9162 * gdb.cp/gdb1355.exp
9163 * gdb.cp/gdb2495.exp
9164 * gdb.cp/hang.exp
9165 * gdb.cp/impl-this.exp
9166 * gdb.cp/infcall-dlopen.exp
9167 * gdb.cp/inherit.exp
9168 * gdb.cp/iostream.exp
9169 * gdb.cp/koenig.exp
9170 * gdb.cp/local.exp
9171 * gdb.cp/m-data.exp
9172 * gdb.cp/m-static.exp
9173 * gdb.cp/mb-ctor.exp
9174 * gdb.cp/mb-inline.exp
9175 * gdb.cp/mb-templates.exp
9176 * gdb.cp/member-name.exp
9177 * gdb.cp/member-ptr.exp
9178 * gdb.cp/meth-typedefs.exp
9179 * gdb.cp/method.exp
9180 * gdb.cp/method2.exp
9181 * gdb.cp/minsym-fallback.exp
9182 * gdb.cp/misc.exp
9183 * gdb.cp/namelessclass.exp
9184 * gdb.cp/namespace-enum.exp
9185 * gdb.cp/namespace-nested-import.exp
9186 * gdb.cp/namespace.exp
9187 * gdb.cp/nextoverthrow.exp
9188 * gdb.cp/no-dmgl-verbose.exp
9189 * gdb.cp/non-trivial-retval.exp
9190 * gdb.cp/noparam.exp
9191 * gdb.cp/nsdecl.exp
9192 * gdb.cp/nsimport.exp
9193 * gdb.cp/nsnested.exp
9194 * gdb.cp/nsnoimports.exp
9195 * gdb.cp/nsrecurs.exp
9196 * gdb.cp/nsstress.exp
9197 * gdb.cp/nsusing.exp
9198 * gdb.cp/operator.exp
9199 * gdb.cp/oranking.exp
9200 * gdb.cp/overload-const.exp
9201 * gdb.cp/overload.exp
9202 * gdb.cp/ovldbreak.exp
9203 * gdb.cp/ovsrch.exp
9204 * gdb.cp/paren-type.exp
9205 * gdb.cp/parse-lang.exp
9206 * gdb.cp/pass-by-ref.exp
9207 * gdb.cp/pr-1023.exp
9208 * gdb.cp/pr-1210.exp
9209 * gdb.cp/pr-574.exp
9210 * gdb.cp/pr10687.exp
9211 * gdb.cp/pr12028.exp
9212 * gdb.cp/pr17132.exp
9213 * gdb.cp/pr17494.exp
9214 * gdb.cp/pr9067.exp
9215 * gdb.cp/pr9167.exp
9216 * gdb.cp/pr9631.exp
9217 * gdb.cp/printmethod.exp
9218 * gdb.cp/psmang.exp
9219 * gdb.cp/psymtab-parameter.exp
9220 * gdb.cp/ptype-cv-cp.exp
9221 * gdb.cp/ptype-flags.exp
9222 * gdb.cp/re-set-overloaded.exp
9223 * gdb.cp/ref-types.exp
9224 * gdb.cp/rtti.exp
9225 * gdb.cp/scope-err.exp
9226 * gdb.cp/shadow.exp
9227 * gdb.cp/smartp.exp
9228 * gdb.cp/static-method.exp
9229 * gdb.cp/static-print-quit.exp
9230 * gdb.cp/temargs.exp
9231 * gdb.cp/templates.exp
9232 * gdb.cp/try_catch.exp
9233 * gdb.cp/typedef-operator.exp
9234 * gdb.cp/typeid.exp
9235 * gdb.cp/userdef.exp
9236 * gdb.cp/using-crash.exp
9237 * gdb.cp/var-tag.exp
9238 * gdb.cp/virtbase.exp
9239 * gdb.cp/virtfunc.exp
9240 * gdb.cp/virtfunc2.exp
9241 * gdb.cp/vla-cxx.exp
9242 * gdb.disasm/t01_mov.exp
9243 * gdb.disasm/t02_mova.exp
9244 * gdb.disasm/t03_add.exp
9245 * gdb.disasm/t04_sub.exp
9246 * gdb.disasm/t05_cmp.exp
9247 * gdb.disasm/t06_ari2.exp
9248 * gdb.disasm/t07_ari3.exp
9249 * gdb.disasm/t08_or.exp
9250 * gdb.disasm/t09_xor.exp
9251 * gdb.disasm/t10_and.exp
9252 * gdb.disasm/t11_logs.exp
9253 * gdb.disasm/t12_bit.exp
9254 * gdb.disasm/t13_otr.exp
9255 * gdb.dlang/circular.exp
9256 * gdb.dwarf2/arr-stride.exp
9257 * gdb.dwarf2/arr-subrange.exp
9258 * gdb.dwarf2/atomic-type.exp
9259 * gdb.dwarf2/bad-regnum.exp
9260 * gdb.dwarf2/bitfield-parent-optimized-out.exp
9261 * gdb.dwarf2/callframecfa.exp
9262 * gdb.dwarf2/clztest.exp
9263 * gdb.dwarf2/corrupt.exp
9264 * gdb.dwarf2/data-loc.exp
9265 * gdb.dwarf2/dup-psym.exp
9266 * gdb.dwarf2/dw2-anon-mptr.exp
9267 * gdb.dwarf2/dw2-anonymous-func.exp
9268 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
9269 * gdb.dwarf2/dw2-bad-unresolved.exp
9270 * gdb.dwarf2/dw2-basic.exp
9271 * gdb.dwarf2/dw2-canonicalize-type.exp
9272 * gdb.dwarf2/dw2-case-insensitive.exp
9273 * gdb.dwarf2/dw2-common-block.exp
9274 * gdb.dwarf2/dw2-compdir-oldgcc.exp
9275 * gdb.dwarf2/dw2-compressed.exp
9276 * gdb.dwarf2/dw2-const.exp
9277 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
9278 * gdb.dwarf2/dw2-cu-size.exp
9279 * gdb.dwarf2/dw2-dup-frame.exp
9280 * gdb.dwarf2/dw2-entry-value.exp
9281 * gdb.dwarf2/dw2-icycle.exp
9282 * gdb.dwarf2/dw2-ifort-parameter.exp
9283 * gdb.dwarf2/dw2-inline-break.exp
9284 * gdb.dwarf2/dw2-inline-param.exp
9285 * gdb.dwarf2/dw2-intercu.exp
9286 * gdb.dwarf2/dw2-intermix.exp
9287 * gdb.dwarf2/dw2-lexical-block-bare.exp
9288 * gdb.dwarf2/dw2-linkage-name-trust.exp
9289 * gdb.dwarf2/dw2-minsym-in-cu.exp
9290 * gdb.dwarf2/dw2-noloc.exp
9291 * gdb.dwarf2/dw2-op-call.exp
9292 * gdb.dwarf2/dw2-op-out-param.exp
9293 * gdb.dwarf2/dw2-opt-structptr.exp
9294 * gdb.dwarf2/dw2-param-error.exp
9295 * gdb.dwarf2/dw2-producer.exp
9296 * gdb.dwarf2/dw2-ranges-base.exp
9297 * gdb.dwarf2/dw2-ref-missing-frame.exp
9298 * gdb.dwarf2/dw2-reg-undefined.exp
9299 * gdb.dwarf2/dw2-regno-invalid.exp
9300 * gdb.dwarf2/dw2-restore.exp
9301 * gdb.dwarf2/dw2-restrict.exp
9302 * gdb.dwarf2/dw2-single-line-discriminators.exp
9303 * gdb.dwarf2/dw2-strp.exp
9304 * gdb.dwarf2/dw2-undefined-ret-addr.exp
9305 * gdb.dwarf2/dw2-unresolved.exp
9306 * gdb.dwarf2/dw2-var-zero-addr.exp
9307 * gdb.dwarf2/dw4-sig-types.exp
9308 * gdb.dwarf2/dwz.exp
9309 * gdb.dwarf2/dynarr-ptr.exp
9310 * gdb.dwarf2/enum-type.exp
9311 * gdb.dwarf2/gdb-index.exp
9312 * gdb.dwarf2/implptr-64bit.exp
9313 * gdb.dwarf2/implptr-optimized-out.exp
9314 * gdb.dwarf2/implptr.exp
9315 * gdb.dwarf2/implref-array.exp
9316 * gdb.dwarf2/implref-const.exp
9317 * gdb.dwarf2/implref-global.exp
9318 * gdb.dwarf2/implref-struct.exp
9319 * gdb.dwarf2/mac-fileno.exp
9320 * gdb.dwarf2/main-subprogram.exp
9321 * gdb.dwarf2/member-ptr-forwardref.exp
9322 * gdb.dwarf2/method-ptr.exp
9323 * gdb.dwarf2/missing-sig-type.exp
9324 * gdb.dwarf2/nonvar-access.exp
9325 * gdb.dwarf2/opaque-type-lookup.exp
9326 * gdb.dwarf2/pieces-optimized-out.exp
9327 * gdb.dwarf2/pieces.exp
9328 * gdb.dwarf2/pr10770.exp
9329 * gdb.dwarf2/pr13961.exp
9330 * gdb.dwarf2/staticvirtual.exp
9331 * gdb.dwarf2/subrange.exp
9332 * gdb.dwarf2/symtab-producer.exp
9333 * gdb.dwarf2/trace-crash.exp
9334 * gdb.dwarf2/typeddwarf.exp
9335 * gdb.dwarf2/valop.exp
9336 * gdb.dwarf2/watch-notconst.exp
9337 * gdb.fortran/array-element.exp
9338 * gdb.fortran/charset.exp
9339 * gdb.fortran/common-block.exp
9340 * gdb.fortran/complex.exp
9341 * gdb.fortran/derived-type-function.exp
9342 * gdb.fortran/derived-type.exp
9343 * gdb.fortran/logical.exp
9344 * gdb.fortran/module.exp
9345 * gdb.fortran/multi-dim.exp
9346 * gdb.fortran/nested-funcs.exp
9347 * gdb.fortran/print-formatted.exp
9348 * gdb.fortran/subarray.exp
9349 * gdb.fortran/vla-alloc-assoc.exp
9350 * gdb.fortran/vla-datatypes.exp
9351 * gdb.fortran/vla-history.exp
9352 * gdb.fortran/vla-ptr-info.exp
9353 * gdb.fortran/vla-ptype-sub.exp
9354 * gdb.fortran/vla-ptype.exp
9355 * gdb.fortran/vla-sizeof.exp
9356 * gdb.fortran/vla-type.exp
9357 * gdb.fortran/vla-value-sub-arbitrary.exp
9358 * gdb.fortran/vla-value-sub-finish.exp
9359 * gdb.fortran/vla-value-sub.exp
9360 * gdb.fortran/vla-value.exp
9361 * gdb.fortran/whatis_type.exp
9362 * gdb.go/chan.exp
9363 * gdb.go/handcall.exp
9364 * gdb.go/hello.exp
9365 * gdb.go/integers.exp
9366 * gdb.go/methods.exp
9367 * gdb.go/package.exp
9368 * gdb.go/strings.exp
9369 * gdb.go/types.exp
9370 * gdb.go/unsafe.exp
9371 * gdb.guile/scm-arch.exp
9372 * gdb.guile/scm-block.exp
9373 * gdb.guile/scm-breakpoint.exp
9374 * gdb.guile/scm-cmd.exp
9375 * gdb.guile/scm-disasm.exp
9376 * gdb.guile/scm-equal.exp
9377 * gdb.guile/scm-frame-args.exp
9378 * gdb.guile/scm-frame-inline.exp
9379 * gdb.guile/scm-frame.exp
9380 * gdb.guile/scm-iterator.exp
9381 * gdb.guile/scm-math.exp
9382 * gdb.guile/scm-objfile.exp
9383 * gdb.guile/scm-ports.exp
9384 * gdb.guile/scm-symbol.exp
9385 * gdb.guile/scm-symtab.exp
9386 * gdb.guile/scm-value-cc.exp
9387 * gdb.guile/types-module.exp
9388 * gdb.linespec/break-ask.exp
9389 * gdb.linespec/cpexplicit.exp
9390 * gdb.linespec/explicit.exp
9391 * gdb.linespec/keywords.exp
9392 * gdb.linespec/linespec.exp
9393 * gdb.linespec/ls-dollar.exp
9394 * gdb.linespec/ls-errs.exp
9395 * gdb.linespec/skip-two.exp
9396 * gdb.linespec/thread.exp
9397 * gdb.mi/mi-async.exp
9398 * gdb.mi/mi-basics.exp
9399 * gdb.mi/mi-break.exp
9400 * gdb.mi/mi-catch-load.exp
9401 * gdb.mi/mi-cli.exp
9402 * gdb.mi/mi-cmd-param-changed.exp
9403 * gdb.mi/mi-console.exp
9404 * gdb.mi/mi-detach.exp
9405 * gdb.mi/mi-disassemble.exp
9406 * gdb.mi/mi-eval.exp
9407 * gdb.mi/mi-file-transfer.exp
9408 * gdb.mi/mi-file.exp
9409 * gdb.mi/mi-fill-memory.exp
9410 * gdb.mi/mi-inheritance-syntax-error.exp
9411 * gdb.mi/mi-linespec-err-cp.exp
9412 * gdb.mi/mi-logging.exp
9413 * gdb.mi/mi-memory-changed.exp
9414 * gdb.mi/mi-read-memory.exp
9415 * gdb.mi/mi-record-changed.exp
9416 * gdb.mi/mi-reg-undefined.exp
9417 * gdb.mi/mi-regs.exp
9418 * gdb.mi/mi-return.exp
9419 * gdb.mi/mi-reverse.exp
9420 * gdb.mi/mi-simplerun.exp
9421 * gdb.mi/mi-solib.exp
9422 * gdb.mi/mi-stack.exp
9423 * gdb.mi/mi-stepi.exp
9424 * gdb.mi/mi-syn-frame.exp
9425 * gdb.mi/mi-until.exp
9426 * gdb.mi/mi-var-block.exp
9427 * gdb.mi/mi-var-child.exp
9428 * gdb.mi/mi-var-cmd.exp
9429 * gdb.mi/mi-var-cp.exp
9430 * gdb.mi/mi-var-display.exp
9431 * gdb.mi/mi-var-invalidate.exp
9432 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
9433 * gdb.mi/mi-vla-fortran.exp
9434 * gdb.mi/mi-watch.exp
9435 * gdb.mi/mi2-var-child.exp
9436 * gdb.mi/user-selected-context-sync.exp
9437 * gdb.modula2/unbounded-array.exp
9438 * gdb.multi/dummy-frame-restore.exp
9439 * gdb.multi/multi-arch-exec.exp
9440 * gdb.multi/multi-arch.exp
9441 * gdb.multi/tids.exp
9442 * gdb.multi/watchpoint-multi.exp
9443 * gdb.opencl/callfuncs.exp
9444 * gdb.opencl/convs_casts.exp
9445 * gdb.opencl/datatypes.exp
9446 * gdb.opencl/operators.exp
9447 * gdb.opencl/vec_comps.exp
9448 * gdb.opt/clobbered-registers-O2.exp
9449 * gdb.opt/inline-break.exp
9450 * gdb.opt/inline-bt.exp
9451 * gdb.opt/inline-cmds.exp
9452 * gdb.opt/inline-locals.exp
9453 * gdb.pascal/case-insensitive-symbols.exp
9454 * gdb.pascal/floats.exp
9455 * gdb.pascal/gdb11492.exp
9456 * gdb.python/lib-types.exp
9457 * gdb.python/py-arch.exp
9458 * gdb.python/py-as-string.exp
9459 * gdb.python/py-bad-printers.exp
9460 * gdb.python/py-block.exp
9461 * gdb.python/py-breakpoint-create-fail.exp
9462 * gdb.python/py-breakpoint.exp
9463 * gdb.python/py-caller-is.exp
9464 * gdb.python/py-cmd.exp
9465 * gdb.python/py-explore-cc.exp
9466 * gdb.python/py-explore.exp
9467 * gdb.python/py-finish-breakpoint.exp
9468 * gdb.python/py-finish-breakpoint2.exp
9469 * gdb.python/py-frame-args.exp
9470 * gdb.python/py-frame-inline.exp
9471 * gdb.python/py-frame.exp
9472 * gdb.python/py-framefilter-mi.exp
9473 * gdb.python/py-infthread.exp
9474 * gdb.python/py-lazy-string.exp
9475 * gdb.python/py-linetable.exp
9476 * gdb.python/py-mi-events.exp
9477 * gdb.python/py-mi-objfile.exp
9478 * gdb.python/py-mi.exp
9479 * gdb.python/py-objfile.exp
9480 * gdb.python/py-pp-integral.exp
9481 * gdb.python/py-pp-maint.exp
9482 * gdb.python/py-pp-re-notag.exp
9483 * gdb.python/py-pp-registration.exp
9484 * gdb.python/py-recurse-unwind.exp
9485 * gdb.python/py-strfns.exp
9486 * gdb.python/py-symbol.exp
9487 * gdb.python/py-symtab.exp
9488 * gdb.python/py-sync-interp.exp
9489 * gdb.python/py-typeprint.exp
9490 * gdb.python/py-unwind-maint.exp
9491 * gdb.python/py-unwind.exp
9492 * gdb.python/py-value-cc.exp
9493 * gdb.python/py-xmethods.exp
9494 * gdb.reverse/amd64-tailcall-reverse.exp
9495 * gdb.reverse/break-precsave.exp
9496 * gdb.reverse/break-reverse.exp
9497 * gdb.reverse/consecutive-precsave.exp
9498 * gdb.reverse/consecutive-reverse.exp
9499 * gdb.reverse/finish-precsave.exp
9500 * gdb.reverse/finish-reverse-bkpt.exp
9501 * gdb.reverse/finish-reverse.exp
9502 * gdb.reverse/fstatat-reverse.exp
9503 * gdb.reverse/getresuid-reverse.exp
9504 * gdb.reverse/i386-precsave.exp
9505 * gdb.reverse/i386-reverse.exp
9506 * gdb.reverse/i386-sse-reverse.exp
9507 * gdb.reverse/i387-env-reverse.exp
9508 * gdb.reverse/i387-stack-reverse.exp
9509 * gdb.reverse/insn-reverse.exp
9510 * gdb.reverse/machinestate-precsave.exp
9511 * gdb.reverse/machinestate.exp
9512 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9513 * gdb.reverse/pipe-reverse.exp
9514 * gdb.reverse/readv-reverse.exp
9515 * gdb.reverse/recvmsg-reverse.exp
9516 * gdb.reverse/rerun-prec.exp
9517 * gdb.reverse/s390-mvcle.exp
9518 * gdb.reverse/step-precsave.exp
9519 * gdb.reverse/step-reverse.exp
9520 * gdb.reverse/time-reverse.exp
9521 * gdb.reverse/until-precsave.exp
9522 * gdb.reverse/until-reverse.exp
9523 * gdb.reverse/waitpid-reverse.exp
9524 * gdb.reverse/watch-precsave.exp
9525 * gdb.reverse/watch-reverse.exp
9526 * gdb.rust/generics.exp
9527 * gdb.rust/methods.exp
9528 * gdb.rust/modules.exp
9529 * gdb.rust/simple.exp
9530 * gdb.server/connect-with-no-symbol-file.exp
9531 * gdb.server/ext-attach.exp
9532 * gdb.server/ext-restart.exp
9533 * gdb.server/ext-wrapper.exp
9534 * gdb.server/file-transfer.exp
9535 * gdb.server/server-exec-info.exp
9536 * gdb.server/server-kill.exp
9537 * gdb.server/server-mon.exp
9538 * gdb.server/wrapper.exp
9539 * gdb.stabs/exclfwd.exp
9540 * gdb.stabs/gdb11479.exp
9541 * gdb.threads/clone-new-thread-event.exp
9542 * gdb.threads/corethreads.exp
9543 * gdb.threads/current-lwp-dead.exp
9544 * gdb.threads/dlopen-libpthread.exp
9545 * gdb.threads/gcore-thread.exp
9546 * gdb.threads/sigstep-threads.exp
9547 * gdb.threads/watchpoint-fork.exp
9548 * gdb.trace/actions-changed.exp
9549 * gdb.trace/backtrace.exp
9550 * gdb.trace/change-loc.exp
9551 * gdb.trace/circ.exp
9552 * gdb.trace/collection.exp
9553 * gdb.trace/disconnected-tracing.exp
9554 * gdb.trace/ftrace.exp
9555 * gdb.trace/mi-trace-frame-collected.exp
9556 * gdb.trace/mi-trace-unavailable.exp
9557 * gdb.trace/mi-traceframe-changed.exp
9558 * gdb.trace/mi-tsv-changed.exp
9559 * gdb.trace/no-attach-trace.exp
9560 * gdb.trace/passc-dyn.exp
9561 * gdb.trace/qtro.exp
9562 * gdb.trace/range-stepping.exp
9563 * gdb.trace/read-memory.exp
9564 * gdb.trace/save-trace.exp
9565 * gdb.trace/signal.exp
9566 * gdb.trace/status-stop.exp
9567 * gdb.trace/tfile.exp
9568 * gdb.trace/trace-break.exp
9569 * gdb.trace/trace-buffer-size.exp
9570 * gdb.trace/trace-condition.exp
9571 * gdb.trace/tracefile-pseudo-reg.exp
9572 * gdb.trace/tstatus.exp
9573 * gdb.trace/unavailable.exp
9574 * gdb.trace/while-dyn.exp
9575 * gdb.trace/while-stepping.exp
9576
34c41c68
DE
95772016-12-22 Doug Evans <xdje42@gmail.com>
9578
9579 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
9580 and msymbols.
9581
16e69324
YQ
95822016-12-19 Yao Qi <yao.qi@linaro.org>
9583
9584 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
9585 (test_with_self): Don't call do_steps_and_nexts, and remove
9586 code about stepping into xmalloc.
9587
f94f411b
YQ
95882016-12-09 Yao Qi <yao.qi@linaro.org>
9589
9590 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
9591
95922016-12-09 Yao Qi <yao.qi@linaro.org>
9593
9594 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
9595
f1b5deee
PA
95962016-12-09 Pedro Alves <palves@redhat.com>
9597
9598 * gdb.base/all-architectures-0.exp: New file.
9599 * gdb.base/all-architectures-1.exp: New file.
9600 * gdb.base/all-architectures-2.exp: New file.
9601 * gdb.base/all-architectures-3.exp: New file.
9602 * gdb.base/all-architectures-4.exp: New file.
9603 * gdb.base/all-architectures-5.exp: New file.
9604 * gdb.base/all-architectures-6.exp: New file.
9605 * gdb.base/all-architectures-7.exp: New file.
9606 * gdb.base/all-architectures.exp.in: New file.
9607
364ca42e
YQ
96082016-12-09 Yao Qi <yao.qi@linaro.org>
9609
9610 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
9611
107c2d62
LM
96122016-12-02 Luis Machado <lgustavo@codesourcery.com>
9613
9614 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
9615 possible.
9616 Remove useless pattern-matching code.
9617
df3ee9ca
PA
96182016-12-02 Pedro Alves <palves@redhat.com>
9619
9620 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
9621 procedure.
9622 (top level): Call it.
9623
ec835369
PA
96242016-12-02 Pedro Alves <palves@redhat.com>
9625
9626 * gdb.base/commands.exp (user_defined_command_args_stack_test):
9627 New procedure.
9628 (top level): Call it.
9629
01770bbd
PA
96302016-12-02 Pedro Alves <palves@redhat.com>
9631
9632 PR cli/20559
9633 * gdb.base/commands.exp (user_defined_command_args_eval): New
9634 procedure.
9635 (top level): Call it.
9636
008459ea
LM
96372016-12-02 Luis Machado <lgustavo@codesourcery.com>
9638
9639 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
9640 timeout handling.
9641
0c1b455e
TT
96422016-12-02 Tom Tromey <tom@tromey.com>
9643
9644 * gdb.dwarf2/main-subprogram.c: New file.
9645 * gdb.dwarf2/main-subprogram.exp: New file.
9646
018572b8
LM
96472016-12-01 Luis Machado <lgustavo@codesourcery.com>
9648
9649 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
9650 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
9651 gdb_test_no_output for a couple of cases.
9652 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
9653
84c93cd5
LM
96542016-12-01 Luis Machado <lgustavo@codesourcery.com>
9655
9656 Fix test names and standardize compilation error messages throughout
9657 the following files:
9658
9659 * gdb.ada/start.exp
9660 * gdb.arch/alpha-step.exp
9661 * gdb.arch/e500-prologue.exp
9662 * gdb.arch/ftrace-insn-reloc.exp
9663 * gdb.arch/gdb1291.exp
9664 * gdb.arch/gdb1431.exp
9665 * gdb.arch/gdb1558.exp
9666 * gdb.arch/i386-dr3-watch.exp
9667 * gdb.arch/i386-sse-stack-align.exp
9668 * gdb.arch/ia64-breakpoint-shadow.exp
9669 * gdb.arch/pa-nullify.exp
9670 * gdb.arch/powerpc-aix-prologue.exp
9671 * gdb.arch/thumb-bx-pc.exp
9672 * gdb.base/annota1.exp
9673 * gdb.base/annota3.exp
9674 * gdb.base/arrayidx.exp
9675 * gdb.base/assign.exp
9676 * gdb.base/attach.exp
9677 * gdb.base/auxv.exp
9678 * gdb.base/bang.exp
9679 * gdb.base/bfp-test.exp
9680 * gdb.base/bigcore.exp
9681 * gdb.base/bitfields2.exp
9682 * gdb.base/break-fun-addr.exp
9683 * gdb.base/break-probes.exp
9684 * gdb.base/call-rt-st.exp
9685 * gdb.base/callexit.exp
9686 * gdb.base/catch-fork-kill.exp
9687 * gdb.base/charset.exp
9688 * gdb.base/checkpoint.exp
9689 * gdb.base/comprdebug.exp
9690 * gdb.base/constvars.exp
9691 * gdb.base/coredump-filter.exp
9692 * gdb.base/cursal.exp
9693 * gdb.base/cvexpr.exp
9694 * gdb.base/detach.exp
9695 * gdb.base/display.exp
9696 * gdb.base/dmsym.exp
9697 * gdb.base/dprintf-pending.exp
9698 * gdb.base/dso2dso.exp
9699 * gdb.base/dtrace-probe.exp
9700 * gdb.base/dump.exp
9701 * gdb.base/enum_cond.exp
9702 * gdb.base/exe-lock.exp
9703 * gdb.base/exec-invalid-sysroot.exp
9704 * gdb.base/execl-update-breakpoints.exp
9705 * gdb.base/exprs.exp
9706 * gdb.base/fileio.exp
9707 * gdb.base/find.exp
9708 * gdb.base/finish.exp
9709 * gdb.base/fixsection.exp
9710 * gdb.base/foll-vfork.exp
9711 * gdb.base/frame-args.exp
9712 * gdb.base/gcore.exp
9713 * gdb.base/gdb1250.exp
9714 * gdb.base/global-var-nested-by-dso.exp
9715 * gdb.base/gnu-ifunc.exp
9716 * gdb.base/hashline1.exp
9717 * gdb.base/hashline2.exp
9718 * gdb.base/hashline3.exp
9719 * gdb.base/hbreak-in-shr-unsupported.exp
9720 * gdb.base/huge.exp
9721 * gdb.base/infcall-input.exp
9722 * gdb.base/info-fun.exp
9723 * gdb.base/info-shared.exp
9724 * gdb.base/jit-simple.exp
9725 * gdb.base/jit-so.exp
9726 * gdb.base/jit.exp
9727 * gdb.base/jump.exp
9728 * gdb.base/label.exp
9729 * gdb.base/lineinc.exp
9730 * gdb.base/logical.exp
9731 * gdb.base/longjmp.exp
9732 * gdb.base/macscp.exp
9733 * gdb.base/miscexprs.exp
9734 * gdb.base/new-ui-echo.exp
9735 * gdb.base/new-ui-pending-input.exp
9736 * gdb.base/new-ui.exp
9737 * gdb.base/nodebug.exp
9738 * gdb.base/nofield.exp
9739 * gdb.base/offsets.exp
9740 * gdb.base/overlays.exp
9741 * gdb.base/pending.exp
9742 * gdb.base/pointers.exp
9743 * gdb.base/pr11022.exp
9744 * gdb.base/printcmds.exp
9745 * gdb.base/prologue.exp
9746 * gdb.base/ptr-typedef.exp
9747 * gdb.base/realname-expand.exp
9748 * gdb.base/relativedebug.exp
9749 * gdb.base/relocate.exp
9750 * gdb.base/remote.exp
9751 * gdb.base/reread.exp
9752 * gdb.base/return2.exp
9753 * gdb.base/savedregs.exp
9754 * gdb.base/sep.exp
9755 * gdb.base/sepdebug.exp
9756 * gdb.base/sepsymtab.exp
9757 * gdb.base/set-inferior-tty.exp
9758 * gdb.base/setshow.exp
9759 * gdb.base/shlib-call.exp
9760 * gdb.base/sigaltstack.exp
9761 * gdb.base/siginfo-addr.exp
9762 * gdb.base/signals.exp
9763 * gdb.base/signull.exp
9764 * gdb.base/sigrepeat.exp
9765 * gdb.base/so-impl-ld.exp
9766 * gdb.base/solib-display.exp
9767 * gdb.base/solib-overlap.exp
9768 * gdb.base/solib-search.exp
9769 * gdb.base/solib-symbol.exp
9770 * gdb.base/structs.exp
9771 * gdb.base/structs2.exp
9772 * gdb.base/symtab-search-order.exp
9773 * gdb.base/twice.exp
9774 * gdb.base/unload.exp
9775 * gdb.base/varargs.exp
9776 * gdb.base/watchpoint-solib.exp
9777 * gdb.base/watchpoint.exp
9778 * gdb.base/whatis.exp
9779 * gdb.base/wrong_frame_bt_full.exp
9780 * gdb.btrace/dlopen.exp
9781 * gdb.cell/ea-standalone.exp
9782 * gdb.cell/ea-test.exp
9783 * gdb.cp/dispcxx.exp
9784 * gdb.cp/gdb2384.exp
9785 * gdb.cp/method2.exp
9786 * gdb.cp/nextoverthrow.exp
9787 * gdb.cp/pr10728.exp
9788 * gdb.disasm/am33.exp
9789 * gdb.disasm/h8300s.exp
9790 * gdb.disasm/mn10300.exp
9791 * gdb.disasm/sh3.exp
9792 * gdb.dwarf2/dw2-dir-file-name.exp
9793 * gdb.fortran/complex.exp
9794 * gdb.fortran/library-module.exp
9795 * gdb.guile/scm-pretty-print.exp
9796 * gdb.guile/scm-symbol.exp
9797 * gdb.guile/scm-type.exp
9798 * gdb.guile/scm-value.exp
9799 * gdb.linespec/linespec.exp
9800 * gdb.mi/gdb701.exp
9801 * gdb.mi/gdb792.exp
9802 * gdb.mi/mi-breakpoint-changed.exp
9803 * gdb.mi/mi-dprintf-pending.exp
9804 * gdb.mi/mi-dprintf.exp
9805 * gdb.mi/mi-exit-code.exp
9806 * gdb.mi/mi-pending.exp
9807 * gdb.mi/mi-solib.exp
9808 * gdb.mi/new-ui-mi-sync.exp
9809 * gdb.mi/pr11022.exp
9810 * gdb.mi/user-selected-context-sync.exp
9811 * gdb.opt/solib-intra-step.exp
9812 * gdb.python/py-events.exp
9813 * gdb.python/py-finish-breakpoint.exp
9814 * gdb.python/py-mi.exp
9815 * gdb.python/py-prettyprint.exp
9816 * gdb.python/py-shared.exp
9817 * gdb.python/py-symbol.exp
9818 * gdb.python/py-template.exp
9819 * gdb.python/py-type.exp
9820 * gdb.python/py-value.exp
9821 * gdb.reverse/solib-precsave.exp
9822 * gdb.reverse/solib-reverse.exp
9823 * gdb.server/solib-list.exp
9824 * gdb.stabs/weird.exp
9825 * gdb.threads/reconnect-signal.exp
9826 * gdb.threads/stepi-random-signal.exp
9827 * gdb.trace/actions.exp
9828 * gdb.trace/ax.exp
9829 * gdb.trace/backtrace.exp
9830 * gdb.trace/change-loc.exp
9831 * gdb.trace/deltrace.exp
9832 * gdb.trace/ftrace-lock.exp
9833 * gdb.trace/ftrace.exp
9834 * gdb.trace/infotrace.exp
9835 * gdb.trace/mi-tracepoint-changed.exp
9836 * gdb.trace/packetlen.exp
9837 * gdb.trace/passcount.exp
9838 * gdb.trace/pending.exp
9839 * gdb.trace/range-stepping.exp
9840 * gdb.trace/report.exp
9841 * gdb.trace/stap-trace.exp
9842 * gdb.trace/tfind.exp
9843 * gdb.trace/trace-break.exp
9844 * gdb.trace/trace-condition.exp
9845 * gdb.trace/trace-enable-disable.exp
9846 * gdb.trace/trace-mt.exp
9847 * gdb.trace/tracecmd.exp
9848 * gdb.trace/tspeed.exp
9849 * gdb.trace/tsv.exp
9850 * lib/perftest.exp
9851
fb9feb35
LM
98522016-12-01 Luis Machado <lgustavo@codesourcery.com>
9853
9854 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
9855 with gdb_test_no_output.
9856 Use command as test name.
9857
cd2ddb6c
LM
98582016-12-01 Luis Machado <lgustavo@codesourcery.com>
9859
9860 Fix test names starting with uppercase throughout the files.
9861
9862 * gdb.ada/assign_1.exp
9863 * gdb.ada/boolean_expr.exp
9864 * gdb.base/arrayidx.exp
9865 * gdb.base/del.exp
9866 * gdb.base/gcore-buffer-overflow.exp
9867 * gdb.base/testenv.exp
9868 * gdb.compile/compile.exp
9869 * gdb.python/py-framefilter-invalidarg.exp
9870 * gdb.python/py-framefilter.exp
9871
bb95117e
LM
98722016-12-01 Luis Machado <lgustavo@codesourcery.com>
9873
9874 Fix test names starting with uppercase throughout the files.
9875
9876 * gdb.ada/array_return.exp
9877 * gdb.ada/expr_delims.exp
9878 * gdb.ada/mi_dyn_arr.exp
9879 * gdb.ada/mi_interface.exp
9880 * gdb.ada/mi_var_array.exp
9881 * gdb.ada/watch_arg.exp
9882 * gdb.arch/alpha-step.exp
9883 * gdb.arch/altivec-regs.exp
9884 * gdb.arch/e500-regs.exp
9885 * gdb.arch/powerpc-d128-regs.exp
9886 * gdb.base/arrayidx.exp
9887 * gdb.base/break.exp
9888 * gdb.base/checkpoint.exp
9889 * gdb.base/debug-expr.exp
9890 * gdb.base/dmsym.exp
9891 * gdb.base/radix.exp
9892 * gdb.base/sepdebug.exp
9893 * gdb.base/testenv.exp
9894 * gdb.base/watch_thread_num.exp
9895 * gdb.base/watchpoint-cond-gone.exp
9896 * gdb.cell/break.exp
9897 * gdb.cell/ea-cache.exp
9898 * gdb.compile/compile.exp
9899 * gdb.cp/gdb2495.exp
9900 * gdb.gdb/selftest.exp
9901 * gdb.gdb/xfullpath.exp
9902 * gdb.go/hello.exp
9903 * gdb.go/integers.exp
9904 * gdb.objc/basicclass.exp
9905 * gdb.pascal/hello.exp
9906 * gdb.pascal/integers.exp
9907 * gdb.python/py-breakpoint.exp
9908 * gdb.python/py-cmd.exp
9909 * gdb.python/py-linetable.exp
9910 * gdb.python/py-xmethods.exp
9911 * gdb.python/python.exp
9912 * gdb.reverse/consecutive-precsave.exp
9913 * gdb.reverse/finish-precsave.exp
9914 * gdb.reverse/i386-precsave.exp
9915 * gdb.reverse/machinestate-precsave.exp
9916 * gdb.reverse/sigall-precsave.exp
9917 * gdb.reverse/solib-precsave.exp
9918 * gdb.reverse/step-precsave.exp
9919 * gdb.reverse/until-precsave.exp
9920 * gdb.reverse/watch-precsave.exp
9921 * gdb.threads/leader-exit.exp
9922 * gdb.threads/pthreads.exp
9923 * gdb.threads/wp-replication.exp
9924 * gdb.trace/actions.exp
9925 * gdb.trace/mi-tsv-changed.exp
9926 * gdb.trace/tsv.exp
9927
de97fdd4
LM
99282016-12-01 Luis Machado <lgustavo@codesourcery.com>
9929
9930 Fix test names starting with uppercase throughout the files.
9931
9932 * gdb.arch/i386-bp_permanent.exp
9933 * gdb.arch/i386-gnu-cfi.exp
9934 * gdb.base/disasm-end-cu.exp
9935 * gdb.base/macscp.exp
9936 * gdb.base/pending.exp
9937 * gdb.base/watch_thread_num.exp
9938 * gdb.cp/exception.exp
9939 * gdb.cp/gdb2495.exp
9940 * gdb.cp/local.exp
9941 * gdb.python/py-evsignal.exp
9942 * gdb.python/python.exp
9943 * gdb.trace/tracecmd.exp
9944
9f058c10
LM
99452016-12-01 Luis Machado <lgustavo@codesourcery.com>
9946
9947 Fix test names starting with uppercase throughout the files.
9948
9949 * gdb.base/charset.exp
9950 * gdb.base/eval.exp
9951 * gdb.base/multi-forks.exp
9952 * gdb.guile/scm-progspace.exp
9953 * gdb.opencl/datatypes.exp
9954 * gdb.python/py-block.exp
9955 * gdb.python/py-function.exp
9956 * gdb.python/py-symbol.exp
9957 * gdb.python/py-symtab.exp
9958 * gdb.python/py-xmethods.exp
9959 * gdb.reverse/break-precsave.exp
9960 * gdb.reverse/break-reverse.exp
9961 * gdb.reverse/consecutive-precsave.exp
9962 * gdb.reverse/consecutive-reverse.exp
9963 * gdb.reverse/finish-precsave.exp
9964 * gdb.reverse/finish-reverse-bkpt.exp
9965 * gdb.reverse/finish-reverse.exp
9966 * gdb.reverse/fstatat-reverse.exp
9967 * gdb.reverse/getresuid-reverse.exp
9968 * gdb.reverse/i386-precsave.exp
9969 * gdb.reverse/i386-reverse.exp
9970 * gdb.reverse/i386-sse-reverse.exp
9971 * gdb.reverse/i387-stack-reverse.exp
9972 * gdb.reverse/insn-reverse.exp
9973 * gdb.reverse/machinestate-precsave.exp
9974 * gdb.reverse/machinestate.exp
9975 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9976 * gdb.reverse/pipe-reverse.exp
9977 * gdb.reverse/readv-reverse.exp
9978 * gdb.reverse/recvmsg-reverse.exp
9979 * gdb.reverse/rerun-prec.exp
9980 * gdb.reverse/s390-mvcle.exp
9981 * gdb.reverse/sigall-precsave.exp
9982 * gdb.reverse/sigall-reverse.exp
9983 * gdb.reverse/solib-precsave.exp
9984 * gdb.reverse/solib-reverse.exp
9985 * gdb.reverse/step-precsave.exp
9986 * gdb.reverse/step-reverse.exp
9987 * gdb.reverse/time-reverse.exp
9988 * gdb.reverse/until-precsave.exp
9989 * gdb.reverse/until-reverse.exp
9990 * gdb.reverse/waitpid-reverse.exp
9991 * gdb.reverse/watch-precsave.exp
9992 * gdb.reverse/watch-reverse.exp
9993
cdc7edd7
LM
99942016-12-01 Luis Machado <lgustavo@codesourcery.com>
9995
9996 Fix test names starting with uppercase throughout the files.
9997
9998 * gdb.arch/i386-mpx-simple_segv.exp
9999 * gdb.arch/i386-mpx.exp
10000 * gdb.arch/i386-permbkpt.exp
10001 * gdb.arch/pa-nullify.exp
10002 * gdb.arch/powerpc-d128-regs.exp
10003 * gdb.arch/vsx-regs.exp
10004 * gdb.base/bfp-test.exp
10005 * gdb.base/break.exp
10006 * gdb.base/breakpoint-shadow.exp
10007 * gdb.base/callfuncs.exp
10008 * gdb.base/charset.exp
10009 * gdb.base/commands.exp
10010 * gdb.base/completion.exp
10011 * gdb.base/dfp-test.exp
10012 * gdb.base/echo.exp
10013 * gdb.base/ending-run.exp
10014 * gdb.base/eval.exp
10015 * gdb.base/expand-psymtabs.exp
10016 * gdb.base/float128.exp
10017 * gdb.base/floatn.exp
10018 * gdb.base/foll-exec-mode.exp
10019 * gdb.base/gdb1056.exp
10020 * gdb.base/gdb11531.exp
10021 * gdb.base/kill-after-signal.exp
10022 * gdb.base/multi-forks.exp
10023 * gdb.base/overlays.exp
10024 * gdb.base/pending.exp
10025 * gdb.base/sepdebug.exp
10026 * gdb.base/testenv.exp
10027 * gdb.base/valgrind-db-attach.exp
10028 * gdb.base/watch_thread_num.exp
10029 * gdb.base/watchpoint-cond-gone.exp
10030 * gdb.base/watchpoint.exp
10031 * gdb.base/watchpoints.exp
10032 * gdb.cp/arg-reference.exp
10033 * gdb.cp/baseenum.exp
10034 * gdb.cp/operator.exp
10035 * gdb.cp/shadow.exp
10036 * gdb.dwarf2/dw2-op-out-param.exp
10037 * gdb.dwarf2/dw2-reg-undefined.exp
10038 * gdb.go/chan.exp
10039 * gdb.go/hello.exp
10040 * gdb.go/integers.exp
10041 * gdb.go/methods.exp
10042 * gdb.go/package.exp
10043 * gdb.guile/scm-parameter.exp
10044 * gdb.guile/scm-progspace.exp
10045 * gdb.guile/scm-value.exp
10046 * gdb.mi/mi-pending.exp
10047 * gdb.mi/user-selected-context-sync.exp
10048 * gdb.multi/multi-attach.exp
10049 * gdb.multi/tids.exp
10050 * gdb.opt/clobbered-registers-O2.exp
10051 * gdb.pascal/floats.exp
10052 * gdb.pascal/integers.exp
10053 * gdb.python/py-block.exp
10054 * gdb.python/py-events.exp
10055 * gdb.python/py-parameter.exp
10056 * gdb.python/py-symbol.exp
10057 * gdb.python/py-symtab.exp
10058 * gdb.python/py-type.exp
10059 * gdb.python/py-value.exp
10060 * gdb.python/py-xmethods.exp
10061 * gdb.python/python.exp
10062 * gdb.reverse/break-precsave.exp
10063 * gdb.reverse/consecutive-precsave.exp
10064 * gdb.reverse/finish-precsave.exp
10065 * gdb.reverse/i386-precsave.exp
10066 * gdb.reverse/machinestate-precsave.exp
10067 * gdb.reverse/sigall-precsave.exp
10068 * gdb.reverse/solib-precsave.exp
10069 * gdb.reverse/step-precsave.exp
10070 * gdb.reverse/until-precsave.exp
10071 * gdb.reverse/watch-precsave.exp
10072 * gdb.server/ext-attach.exp
10073 * gdb.server/ext-restart.exp
10074 * gdb.server/ext-run.exp
10075 * gdb.server/ext-wrapper.exp
10076 * gdb.stabs/gdb11479.exp
10077 * gdb.stabs/weird.exp
10078 * gdb.threads/attach-many-short-lived-threads.exp
10079 * gdb.threads/kill.exp
10080 * gdb.threads/watchpoint-fork.exp
10081
bc6c7af4
LM
100822016-12-01 Luis Machado <lgustavo@codesourcery.com>
10083
10084 Fix test names starting with uppercase throughout all the files below.
10085
10086 * gdb.ada/array_return.exp
10087 * gdb.ada/catch_ex.exp
10088 * gdb.ada/info_exc.exp
10089 * gdb.ada/mi_catch_ex.exp
10090 * gdb.ada/mi_dyn_arr.exp
10091 * gdb.ada/mi_ex_cond.exp
10092 * gdb.ada/mi_exc_info.exp
10093 * gdb.ada/mi_interface.exp
10094 * gdb.ada/mi_task_arg.exp
10095 * gdb.ada/mi_task_info.exp
10096 * gdb.ada/mi_var_array.exp
10097 * gdb.arch/alpha-step.exp
10098 * gdb.arch/amd64-disp-step.exp
10099 * gdb.arch/arm-disp-step.exp
10100 * gdb.arch/disp-step-insn-reloc.exp
10101 * gdb.arch/e500-prologue.exp
10102 * gdb.arch/ftrace-insn-reloc.exp
10103 * gdb.arch/gdb1558.exp
10104 * gdb.arch/i386-bp_permanent.exp
10105 * gdb.arch/i386-disp-step.exp
10106 * gdb.arch/i386-float.exp
10107 * gdb.arch/i386-gnu-cfi.exp
10108 * gdb.arch/ia64-breakpoint-shadow.exp
10109 * gdb.arch/mips16-thunks.exp
10110 * gdb.arch/pa-nullify.exp
10111 * gdb.arch/powerpc-aix-prologue.exp
10112 * gdb.arch/powerpc-power.exp
10113 * gdb.arch/ppc-dfp.exp
10114 * gdb.arch/s390-tdbregs.exp
10115 * gdb.arch/spu-info.exp
10116 * gdb.arch/spu-ls.exp
10117 * gdb.arch/thumb-bx-pc.exp
10118 * gdb.base/advance.exp
10119 * gdb.base/annota-input-while-running.exp
10120 * gdb.base/arrayidx.exp
10121 * gdb.base/asmlabel.exp
10122 * gdb.base/async.exp
10123 * gdb.base/attach-wait-input.exp
10124 * gdb.base/auto-connect-native-target.exp
10125 * gdb.base/batch-preserve-term-settings.exp
10126 * gdb.base/bfp-test.exp
10127 * gdb.base/bigcore.exp
10128 * gdb.base/bp-permanent.exp
10129 * gdb.base/break-always.exp
10130 * gdb.base/break-fun-addr.exp
10131 * gdb.base/break-idempotent.exp
10132 * gdb.base/break-main-file-remove-fail.exp
10133 * gdb.base/break-probes.exp
10134 * gdb.base/break-unload-file.exp
10135 * gdb.base/break.exp
10136 * gdb.base/call-ar-st.exp
10137 * gdb.base/call-rt-st.exp
10138 * gdb.base/call-sc.exp
10139 * gdb.base/call-signal-resume.exp
10140 * gdb.base/call-strs.exp
10141 * gdb.base/callexit.exp
10142 * gdb.base/callfuncs.exp
10143 * gdb.base/catch-gdb-caused-signals.exp
10144 * gdb.base/catch-signal-siginfo-cond.exp
10145 * gdb.base/catch-syscall.exp
10146 * gdb.base/compare-sections.exp
10147 * gdb.base/cond-eval-mode.exp
10148 * gdb.base/condbreak-call-false.exp
10149 * gdb.base/consecutive-step-over.exp
10150 * gdb.base/cursal.exp
10151 * gdb.base/disabled-location.exp
10152 * gdb.base/disasm-end-cu.exp
10153 * gdb.base/display.exp
10154 * gdb.base/double-prompt-target-event-error.exp
10155 * gdb.base/dprintf-bp-same-addr.exp
10156 * gdb.base/dprintf-detach.exp
10157 * gdb.base/dprintf-next.exp
10158 * gdb.base/dprintf-non-stop.exp
10159 * gdb.base/dprintf-pending.exp
10160 * gdb.base/dso2dso.exp
10161 * gdb.base/ending-run.exp
10162 * gdb.base/enum_cond.exp
10163 * gdb.base/examine-backward.exp
10164 * gdb.base/exe-lock.exp
10165 * gdb.base/exec-invalid-sysroot.exp
10166 * gdb.base/execl-update-breakpoints.exp
10167 * gdb.base/execution-termios.exp
10168 * gdb.base/fileio.exp
10169 * gdb.base/fixsection.exp
10170 * gdb.base/foll-exec-mode.exp
10171 * gdb.base/foll-exec.exp
10172 * gdb.base/fork-running-state.exp
10173 * gdb.base/frame-args.exp
10174 * gdb.base/fullpath-expand.exp
10175 * gdb.base/func-ptr.exp
10176 * gdb.base/gcore-relro-pie.exp
10177 * gdb.base/gdb1090.exp
10178 * gdb.base/gdb1555.exp
10179 * gdb.base/global-var-nested-by-dso.exp
10180 * gdb.base/gnu-ifunc.exp
10181 * gdb.base/hbreak-in-shr-unsupported.exp
10182 * gdb.base/hbreak-unmapped.exp
10183 * gdb.base/hook-stop.exp
10184 * gdb.base/infcall-input.exp
10185 * gdb.base/info-fun.exp
10186 * gdb.base/info-shared.exp
10187 * gdb.base/interrupt-noterm.exp
10188 * gdb.base/jit-so.exp
10189 * gdb.base/jit.exp
10190 * gdb.base/line-symtabs.exp
10191 * gdb.base/list.exp
10192 * gdb.base/longjmp.exp
10193 * gdb.base/macscp.exp
10194 * gdb.base/max-value-size.exp
10195 * gdb.base/nodebug.exp
10196 * gdb.base/nofield.exp
10197 * gdb.base/overlays.exp
10198 * gdb.base/paginate-after-ctrl-c-running.exp
10199 * gdb.base/paginate-bg-execution.exp
10200 * gdb.base/paginate-inferior-exit.exp
10201 * gdb.base/pending.exp
10202 * gdb.base/pr11022.exp
10203 * gdb.base/printcmds.exp
10204 * gdb.base/ptr-typedef.exp
10205 * gdb.base/ptype.exp
10206 * gdb.base/randomize.exp
10207 * gdb.base/range-stepping.exp
10208 * gdb.base/realname-expand.exp
10209 * gdb.base/relativedebug.exp
10210 * gdb.base/remote.exp
10211 * gdb.base/savedregs.exp
10212 * gdb.base/sepdebug.exp
10213 * gdb.base/set-noassign.exp
10214 * gdb.base/shlib-call.exp
10215 * gdb.base/shreloc.exp
10216 * gdb.base/sigaltstack.exp
10217 * gdb.base/sigbpt.exp
10218 * gdb.base/siginfo-addr.exp
10219 * gdb.base/siginfo-obj.exp
10220 * gdb.base/siginfo-thread.exp
10221 * gdb.base/signest.exp
10222 * gdb.base/signull.exp
10223 * gdb.base/sigrepeat.exp
10224 * gdb.base/skip.exp
10225 * gdb.base/so-impl-ld.exp
10226 * gdb.base/solib-corrupted.exp
10227 * gdb.base/solib-disc.exp
10228 * gdb.base/solib-display.exp
10229 * gdb.base/solib-overlap.exp
10230 * gdb.base/solib-search.exp
10231 * gdb.base/solib-symbol.exp
10232 * gdb.base/source-execution.exp
10233 * gdb.base/sss-bp-on-user-bp-2.exp
10234 * gdb.base/sss-bp-on-user-bp.exp
10235 * gdb.base/stack-checking.exp
10236 * gdb.base/stale-infcall.exp
10237 * gdb.base/step-break.exp
10238 * gdb.base/step-line.exp
10239 * gdb.base/step-over-exit.exp
10240 * gdb.base/step-test.exp
10241 * gdb.base/structs.exp
10242 * gdb.base/sym-file.exp
10243 * gdb.base/symtab-search-order.exp
10244 * gdb.base/term.exp
10245 * gdb.base/type-opaque.exp
10246 * gdb.base/unload.exp
10247 * gdb.base/until-nodebug.exp
10248 * gdb.base/until.exp
10249 * gdb.base/unwindonsignal.exp
10250 * gdb.base/watch-cond.exp
10251 * gdb.base/watch-non-mem.exp
10252 * gdb.base/watch_thread_num.exp
10253 * gdb.base/watchpoint-reuse-slot.exp
10254 * gdb.base/watchpoint-solib.exp
10255 * gdb.base/watchpoint.exp
10256 * gdb.btrace/dlopen.exp
10257 * gdb.cell/arch.exp
10258 * gdb.cell/break.exp
10259 * gdb.cell/bt.exp
10260 * gdb.cell/core.exp
10261 * gdb.cell/data.exp
10262 * gdb.cell/dwarfaddr.exp
10263 * gdb.cell/ea-cache.exp
10264 * gdb.cell/ea-standalone.exp
10265 * gdb.cell/ea-test.exp
10266 * gdb.cell/f-regs.exp
10267 * gdb.cell/fork.exp
10268 * gdb.cell/gcore.exp
10269 * gdb.cell/mem-access.exp
10270 * gdb.cell/ptype.exp
10271 * gdb.cell/registers.exp
10272 * gdb.cell/sizeof.exp
10273 * gdb.cell/solib-symbol.exp
10274 * gdb.cell/solib.exp
10275 * gdb.compile/compile-tls.exp
10276 * gdb.cp/exception.exp
10277 * gdb.cp/gdb2495.exp
10278 * gdb.cp/local.exp
10279 * gdb.cp/mb-inline.exp
10280 * gdb.cp/mb-templates.exp
10281 * gdb.cp/pr10687.exp
10282 * gdb.cp/pr9167.exp
10283 * gdb.cp/scope-err.exp
10284 * gdb.cp/templates.exp
10285 * gdb.cp/virtfunc.exp
10286 * gdb.dwarf2/dw2-dir-file-name.exp
10287 * gdb.dwarf2/dw2-single-line-discriminators.exp
10288 * gdb.fortran/complex.exp
10289 * gdb.fortran/library-module.exp
10290 * gdb.guile/guile.exp
10291 * gdb.guile/scm-cmd.exp
10292 * gdb.guile/scm-frame-inline.exp
10293 * gdb.guile/scm-objfile.exp
10294 * gdb.guile/scm-pretty-print.exp
10295 * gdb.guile/scm-symbol.exp
10296 * gdb.guile/scm-type.exp
10297 * gdb.guile/scm-value.exp
10298 * gdb.linespec/keywords.exp
10299 * gdb.linespec/ls-errs.exp
10300 * gdb.linespec/macro-relative.exp
10301 * gdb.linespec/thread.exp
10302 * gdb.mi/mi-breakpoint-changed.exp
10303 * gdb.mi/mi-dprintf-pending.exp
10304 * gdb.mi/mi-fullname-deleted.exp
10305 * gdb.mi/mi-logging.exp
10306 * gdb.mi/mi-pending.exp
10307 * gdb.mi/mi-solib.exp
10308 * gdb.mi/new-ui-mi-sync.exp
10309 * gdb.mi/user-selected-context-sync.exp
10310 * gdb.multi/dummy-frame-restore.exp
10311 * gdb.multi/multi-arch-exec.exp
10312 * gdb.multi/remove-inferiors.exp
10313 * gdb.multi/watchpoint-multi-exit.exp
10314 * gdb.opt/solib-intra-step.exp
10315 * gdb.perf/backtrace.exp
10316 * gdb.perf/single-step.exp
10317 * gdb.perf/skip-command.exp
10318 * gdb.perf/skip-prologue.exp
10319 * gdb.perf/solib.exp
10320 * gdb.python/lib-types.exp
10321 * gdb.python/py-as-string.exp
10322 * gdb.python/py-bad-printers.exp
10323 * gdb.python/py-block.exp
10324 * gdb.python/py-breakpoint.exp
10325 * gdb.python/py-cmd.exp
10326 * gdb.python/py-events.exp
10327 * gdb.python/py-evthreads.exp
10328 * gdb.python/py-finish-breakpoint.exp
10329 * gdb.python/py-finish-breakpoint2.exp
10330 * gdb.python/py-frame-inline.exp
10331 * gdb.python/py-frame.exp
10332 * gdb.python/py-inferior.exp
10333 * gdb.python/py-infthread.exp
10334 * gdb.python/py-mi.exp
10335 * gdb.python/py-objfile.exp
10336 * gdb.python/py-pp-maint.exp
10337 * gdb.python/py-pp-registration.exp
10338 * gdb.python/py-prettyprint.exp
10339 * gdb.python/py-recurse-unwind.exp
10340 * gdb.python/py-shared.exp
10341 * gdb.python/py-symbol.exp
10342 * gdb.python/py-symtab.exp
10343 * gdb.python/py-template.exp
10344 * gdb.python/py-type.exp
10345 * gdb.python/py-unwind-maint.exp
10346 * gdb.python/py-unwind.exp
10347 * gdb.python/py-value.exp
10348 * gdb.python/python.exp
10349 * gdb.reverse/finish-reverse-bkpt.exp
10350 * gdb.reverse/insn-reverse.exp
10351 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10352 * gdb.reverse/solib-precsave.exp
10353 * gdb.reverse/solib-reverse.exp
10354 * gdb.stabs/gdb11479.exp
10355 * gdb.stabs/weird.exp
10356 * gdb.threads/fork-child-threads.exp
10357 * gdb.threads/fork-plus-threads.exp
10358 * gdb.threads/fork-thread-pending.exp
10359 * gdb.threads/forking-threads-plus-breakpoint.exp
10360 * gdb.threads/hand-call-in-threads.exp
10361 * gdb.threads/interrupted-hand-call.exp
10362 * gdb.threads/linux-dp.exp
10363 * gdb.threads/local-watch-wrong-thread.exp
10364 * gdb.threads/next-while-other-thread-longjmps.exp
10365 * gdb.threads/non-ldr-exit.exp
10366 * gdb.threads/pending-step.exp
10367 * gdb.threads/print-threads.exp
10368 * gdb.threads/process-dies-while-detaching.exp
10369 * gdb.threads/process-dies-while-handling-bp.exp
10370 * gdb.threads/pthreads.exp
10371 * gdb.threads/queue-signal.exp
10372 * gdb.threads/reconnect-signal.exp
10373 * gdb.threads/signal-command-handle-nopass.exp
10374 * gdb.threads/signal-command-multiple-signals-pending.exp
10375 * gdb.threads/signal-delivered-right-thread.exp
10376 * gdb.threads/signal-sigtrap.exp
10377 * gdb.threads/sigthread.exp
10378 * gdb.threads/staticthreads.exp
10379 * gdb.threads/stepi-random-signal.exp
10380 * gdb.threads/thread-unwindonsignal.exp
10381 * gdb.threads/thread_check.exp
10382 * gdb.threads/thread_events.exp
10383 * gdb.threads/tid-reuse.exp
10384 * gdb.threads/tls-nodebug.exp
10385 * gdb.threads/tls-shared.exp
10386 * gdb.threads/tls-so_extern.exp
10387 * gdb.threads/tls.exp
10388 * gdb.threads/wp-replication.exp
10389 * gdb.trace/actions-changed.exp
10390 * gdb.trace/actions.exp
10391 * gdb.trace/backtrace.exp
10392 * gdb.trace/change-loc.exp
10393 * gdb.trace/collection.exp
10394 * gdb.trace/deltrace.exp
10395 * gdb.trace/disconnected-tracing.exp
10396 * gdb.trace/entry-values.exp
10397 * gdb.trace/ftrace-lock.exp
10398 * gdb.trace/ftrace.exp
10399 * gdb.trace/infotrace.exp
10400 * gdb.trace/mi-trace-frame-collected.exp
10401 * gdb.trace/mi-trace-unavailable.exp
10402 * gdb.trace/mi-traceframe-changed.exp
10403 * gdb.trace/mi-tracepoint-changed.exp
10404 * gdb.trace/mi-tsv-changed.exp
10405 * gdb.trace/no-attach-trace.exp
10406 * gdb.trace/packetlen.exp
10407 * gdb.trace/passc-dyn.exp
10408 * gdb.trace/passcount.exp
10409 * gdb.trace/pending.exp
10410 * gdb.trace/pr16508.exp
10411 * gdb.trace/qtro.exp
10412 * gdb.trace/range-stepping.exp
10413 * gdb.trace/read-memory.exp
10414 * gdb.trace/report.exp
10415 * gdb.trace/save-trace.exp
10416 * gdb.trace/signal.exp
10417 * gdb.trace/stap-trace.exp
10418 * gdb.trace/status-stop.exp
10419 * gdb.trace/strace.exp
10420 * gdb.trace/tfile.exp
10421 * gdb.trace/tfind.exp
10422 * gdb.trace/trace-break.exp
10423 * gdb.trace/trace-condition.exp
10424 * gdb.trace/trace-enable-disable.exp
10425 * gdb.trace/trace-mt.exp
10426 * gdb.trace/tracecmd.exp
10427 * gdb.trace/tracefile-pseudo-reg.exp
10428 * gdb.trace/tspeed.exp
10429 * gdb.trace/tstatus.exp
10430 * gdb.trace/tsv.exp
10431 * gdb.trace/unavailable.exp
10432 * gdb.trace/while-dyn.exp
10433 * gdb.trace/while-stepping.exp
10434 * lib/gdb-guile.exp
10435 * lib/gdb.exp
10436 * lib/mi-support.exp
10437 * lib/pascal.exp
10438 * lib/perftest.exp
10439 * lib/prelink-support.exp
10440 * lib/selftest-support.exp
10441
ad02e4fe
SM
104422016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
10443
10444 * Makefile.in: Include disable-implicit-rules.mk.
10445
22347e55
AA
104462016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10447
10448 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
10449 non-byte-aligned bit fields.
10450
da5b30da
AA
104512016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10452
10453 PR gdb/12616
10454 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
10455 respects the DW_AT_data_bit_offset attribute.
10456
b593ecca
SM
104572016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
10458
10459 * gdb.base/default.exp: Fix output of "set language".
10460
3b165252
SM
104612016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
10462
10463 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
10464 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
10465 make.
10466 * configure.ac: Remove checks for the make program.
10467 * configure: Re-generate.
10468
1a2f3d7f
KB
104692016-11-16 Kevin Buettner <kevinb@redhat.com>
10470
10471 * gdb.python/py-recurse-unwind.c (main): Add loop.
10472 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
10473 to read_register() and gdb.parse_and_eval(). Make each code
10474 call a separate case that can be individually tested.
10475 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
10476 proc. Call cont_and_backtrace for each of the code paths that
10477 we want to test in the unwinder.
10478
b7f38fda
AA
104792016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
10480
10481 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
10482 the definition of struct S.
10483
1f8db343
CM
104842016-11-11 Catherine Moore <clm@codesourcery.com>
10485
10486 * gdb.base/dump.exp: Identify verilog format dump tests as such.
10487
fad0c9fb
PA
104882016-11-09 Pedro Alves <palves@redhat.com>
10489
10490 * gdb.base/commands.exp (runto_or_return): New procedure.
10491 (gdbvar_simple_if_test, gdbvar_simple_while_test)
10492 (gdbvar_complex_if_while_test, progvar_simple_if_test)
10493 (progvar_simple_while_test, progvar_complex_if_while_test)
10494 (if_while_breakpoint_command_test)
10495 (infrun_breakpoint_command_test, breakpoint_command_test)
10496 (user_defined_command_test, watchpoint_command_test)
10497 (test_command_prompt_position, redefine_hook_test)
10498 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
10499 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
10500 multi_line_input and multi_line. Remove gdb_expect and
10501 gdb_stop_suppressing_tests uses.
10502 * lib/gdb.exp (valnum_re): New global.
10503 (multi_line_input): New procedure.
10504
8354c62c
SM
105052016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
10506
10507 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
10508 Remove.
10509 (test_setup): Define with proc_with_prefix.
10510 (test_cli_inferior): Likewise.
10511 (test_cli_thread): Likewise.
10512 (test_cli_frame): Likewise.
10513 (test_cli_select_frame): Likewise.
10514 (test_cli_up_down): Likewise.
10515 (test_mi_thread_select): Likewise.
10516 (test_mi_stack_select_frame): Likewise.
10517 (test_cli_in_mi_inferior): Likewise.
10518 (test_cli_in_mi_thread): Likewise.
10519 (test_cli_in_mi_frame): Likewise.
10520 (top level): Do not use with_test_prefix_procname.
10521
64f367a2
PA
105222016-11-09 Pedro Alves <palves@redhat.com>
10523
10524 * gdb.base/commands.exp (gdbvar_simple_if_test)
10525 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
10526 (progvar_simple_if_test, progvar_simple_while_test)
10527 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
10528 (infrun_breakpoint_command_test, breakpoint_command_test)
10529 (user_defined_command_test, watchpoint_command_test)
10530 (test_command_prompt_position, deprecated_command_test)
10531 (bp_deleted_in_command, temporary_breakpoint_commands)
10532 (stray_arg0_test, source_file_with_indented_comment)
10533 (recursive_source_test, if_commands_test)
10534 (error_clears_commands_left, redefine_hook_test)
10535 (redefine_backtrace_test): Use proc_with_prefix.
10536 * lib/gdb.exp (proc_with_prefix): New proc.
10537
0bb65f1e
AA
105382016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10539
10540 * gdb.base/tui-layout.c: New file.
10541 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
10542 disassembly window contains very long lines.
10543
7353f247
TT
105442016-11-08 Tom Tromey <tom@tromey.com>
10545
10546 * gdb.python/py-value.exp (test_value_creation): Make "long" test
10547 depend on Python 2.
10548
30a7bb83
TT
105492016-11-08 Tom Tromey <tom@tromey.com>
10550
10551 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
10552 New method.
10553
cdf5a07c
MG
105542016-10-29 Manish Goregaokar <manish@mozilla.com>
10555
2806dc7e 10556 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 10557
51a789c3
MG
105582016-10-27 Manish Goregaokar <manish@mozilla.com>
10559
2806dc7e
PA
10560 * gdb.rust/simple.rs: Add test for univariant enums without
10561 discriminants and for encoded struct-like enums.
51a789c3 10562
f610ab6d
PA
105632016-10-28 Pedro Alves <palves@redhat.com>
10564
10565 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
10566 gdb_test_multiple, tighten regexps and match symtabs and line
10567 tables incrementally.
10568
b129b0ca
LM
105692016-10-28 Luis Machado <lgustavo@codesourcery.com>
10570
10571 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
10572 general.
10573
ecf45d2c
SL
105742016-10-25 Luis Machado <lgustavo@codesourcery.com>
10575
10576 * gdb.base/exec-invalid-sysroot.exp: New file.
10577
b8d38ee4
JK
105782016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10579
10580 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
10581
f90fd8c2
JK
105822016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10583
10584 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
10585
2d2476aa
MR
105862016-10-19 Maciej W. Rozycki <macro@imgtec.com>
10587
2806dc7e
PA
10588 * gdb.base/killed-outside.exp: Remove $options from a call to
10589 `prepare_for_testing'.
2d2476aa 10590
e42b25a0
SM
105912016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10592
10593 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10594 Change test message.
10595
3ccdb432
SM
105962016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10597
10598 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10599 Update comment.
10600
5bad3170
SM
106012016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10602
10603 * gdb.trace/mi-trace-save.exp: New file.
10604
5ad9dba7
YQ
106052016-10-13 Yao Qi <yao.qi@linaro.org>
10606
10607 * gdb.base/code_elim.exp (get_var_address): Remove.
10608 * gdb.base/relocate.exp: Likewise.
10609 * gdb.base/shreloc.exp: Likewise.
10610 * lib/gdb.exp (get_var_address): New.
10611
62df7e21
YQ
106122016-10-13 Yao Qi <yao.qi@linaro.org>
10613
10614 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
10615 floating point tests if $skip_float_test is false.
10616
4dac951e
LM
106172016-10-12 Luis Machado <lgustavo@codesourcery.com>
10618
10619 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
10620 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
10621 argc values.
10622 Add 1 to argc so we guarantee distinct initial/modified argc values.
10623
8f1a8fc4
JK
106242016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10625
10626 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
10627
16c85b5d
JK
106282016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10629
10630 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
10631 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
10632 * gdb.arch/vsx-regs.exp: Likewise.
10633
1d0e042a
YQ
106342016-10-07 Yao Qi <yao.qi@linaro.org>
10635
10636 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
10637
68dadef5
MM
106382016-10-07 Markus Metzger <markus.t.metzger@intel.com>
10639
10640 * gdb.python/python.exp: Test decode_line("*0").
10641
33fa2c6e
DE
106422016-10-06 Doug Evans <dje@google.com>
10643
10644 * gdb.python/py-value.exp (test_value_creation): Add test for large
10645 unsigned 64-bit value.
10646
9c37b5ae
TT
106472016-10-06 Tom Tromey <tom@tromey.com>
10648
10649 * gdb.compile/compile.exp: Change java tests to rust.
10650 * gdb.base/setshow.exp: Change java tests to rust.
10651 * gdb.base/default.exp: Remove java from language list.
10652 * README (Examples): Update language example.
10653 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
10654 test.
10655 * lib/gdb.exp (skip_java_tests): Remove.
10656 * lib/java.exp: Remove.
10657 * gdb.java: Remove.
10658
78b86327
MR
106592016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10660
10661 * gdb.arch/mips-fcr.exp: New test.
10662 * gdb.arch/mips-fcr.c: Source for the new test.
10663
7470adbb
MR
106642016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10665
10666 * gdb.base/solib-disc.exp: Use `standard_output_file'
10667 throughout.
10668
4a556533
PA
106692016-10-06 Pedro Alves <palves@redhat.com>
10670
10671 * gdb.base/jit-simple-dl.c: New file.
10672 * gdb.base/jit-simple-jit.c: New file, factored out from ...
10673 * gdb.base/jit-simple.c: ... this.
10674 * gdb.base/jit-simple.exp (jit_run): Delete.
10675 (build_jit): New proc.
10676 (jit_test_reread): Recompile either the main program or the shared
10677 library, depending on what is being tested. Skip changing address
10678 if caller wants to. Compare before/after addresses. If testing
10679 standalone, explicitly load the binary. Test "maint info
10680 breakpoints".
10681 (top level): Add "standalone vs shared lib" and "change address"
10682 vs "same address" axes.
10683
5a122fbc
PA
106842016-10-06 Pedro Alves <palves@redhat.com>
10685
10686 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
10687 call.
10688 (jit_run): Delete.
10689 (jit_test_reread): Use with_test_prefix. Reload the main binary
10690 explicitly. Compare the before/after addresses of the JIT
10691 descriptor.
10692
ee8da4b8
DE
106932016-08-15 Doug Evans <dje@google.com>
10694
10695 * gdb.xml/extra-regs.xml: Update, end field now required, default type
10696 for single bitfields is bool.
10697 * gdb.xml/tdesc-regs.exp: Ditto.
10698
f389f6fe
JK
106992016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10700
10701 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
10702
fdebf1a4
YQ
107032016-10-05 Yao Qi <yao.qi@linaro.org>
10704
10705 * lib/gdb.exp (support_complex_tests): Return zero if
10706 gdb_skip_float_test return true.
10707
9c36d954 107082016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 10709 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
10710
10711 PR gdb/20487
10712 * gdb.mi/user-selected-context-sync.exp: New file.
10713 * gdb.mi/user-selected-context-sync.c: New file.
10714
4034d0ff 107152016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 10716 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
10717
10718 PR gdb/20487
10719 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
10720 =thread-select-event check.
10721
a4297203
PB
107222016-09-29 Peter Bergner <bergner@vnet.ibm.com>
10723
10724 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
10725 the compulsory L operand changes.
10726 * gdb.arch/powerpc-power.s: Likewise.
10727
bb805577
JK
107282016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10729
10730 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
10731 * gdb.base/jit-attach-pie.c: New file.
10732 * gdb.base/jit-attach-pie.exp: New file.
10733
6d61dee5
PA
107342016-09-28 Pedro Alves <palves@redhat.com>
10735
10736 * gdb.base/infcall-input.c: New file.
10737 * gdb.base/infcall-input.exp: New file.
10738
f73842fc
YQ
107392016-09-22 Yao Qi <yao.qi@linaro.org>
10740
10741 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
10742 (gdb_exit): Rename it to ...
10743 (gdbserver_gdb_exit): ... Close GDBserver.
10744 (gdb_exit): New proc, call gdbserver_gdb_exit.
10745 (mi_gdb_exit): Likewise.
10746
90681dab
YQ
107472016-09-22 Yao Qi <yao.qi@linaro.org>
10748
10749 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
10750 path.
10751 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
10752 Remove duplication.
10753
9c211fd8
YQ
107542016-09-22 Yao Qi <yao.qi@linaro.org>
10755
10756 * lib/gdbserver-support.exp: Check the existence of
10757 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
10758
ad0a504f
AK
107592016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
10760
10761 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
10762
36cf1806
TT
107632016-09-21 Tom Tromey <tom@tromey.com>
10764
10765 PR gdb/20604:
10766 * gdb.base/quit.exp: New file.
10767
74172ecf
SM
107682016-09-21 Simon Marchi <simon.marchi@ericsson.com>
10769
10770 * .gitignore: New file.
10771
3d0ec882
MR
107722016-09-21 Maciej W. Rozycki <macro@imgtec.com>
10773
10774 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
10775 throughout.
10776
8193adea
AA
107772016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10778
10779 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
10780
d41a5c09
JK
107812016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10782
10783 * gdb.cp/casts.cc (decltype): Move it ...
10784 (main): ... with its call to ...
10785 * gdb.cp/casts03.cc: ... a new file.
10786 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
10787
d2dfe700
JK
107882016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10789
10790 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
10791
e2a92b16
PB
107922016-09-15 Peter Bergner <bergner@vnet.ibm.com>
10793
10794 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
10795 and sync up the test with tests in gas/testsuite/gas/ppc.
10796 * gdb.arch/powerpc-power.exp: Likewise.
10797
49b4de64
JK
107982016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10799
10800 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
10801
2c29df25
SDJ
108022016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
10803 Jan Kratochvil <jan.kratochvil@redhat.com>
10804
10805 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
10806 make m1's definition to be different from m2's. Use 'dummy' as an
10807 argument for probe 'two'.
10808
cc3c2846
JB
108092016-09-10 Jon Beniston <jon@beniston.com>
10810
10811 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
10812 for sim target.
10813
e1b2624a
AA
108142016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10815
10816 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
10817 variable declaration.
10818 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
10819 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
10820 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
10821 received HWCAP as its argument.
10822
4295e285
PA
108232016-09-06 Pedro Alves <palves@redhat.com>
10824
10825 * gdb.base/new-ui-pending-input.c: New file.
10826 * gdb.base/new-ui-pending-input.exp: New file.
10827 * gdb.exp (clear_gdb_spawn_id): New procedure.
10828 (with_spawn_id): Check whether gdb_spawn_id exists before
10829 referencing it. If gdb_spawn_id didn't exist on entry, clear it
10830 on exit.
10831
00d5215e
UW
108322016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10833
10834 * gdb.base/float128.c: New file.
10835 * gdb.base/float128.exp: Likewise.
10836 * gdb.base/floatn.c: Likewise.
10837 * gdb.base/floatn.exp: Likewise.
10838
a9ff5f12
UW
108392016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10840
10841 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
10842
f245535c
PA
108432016-09-05 Pedro Alves <palves@redhat.com>
10844
10845 PR backtrace/19927
10846 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
10847 unwinders are immediately called as side effect of "source" or
10848 "disable unwinder" commands.
10849 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
10850
ae9cf263
YQ
108512016-09-02 Yao Qi <yao.qi@linaro.org>
10852
10853 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
10854 is true and $type is "float" or "double".
10855
27aba047
YQ
108562016-09-02 Yao Qi <yao.qi@linaro.org>
10857
10858 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
10859 true.
10860 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
10861 * gdb.base/call-rt-st.exp: Likewise.
10862 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
10863 return value instead of gdb,skip_float_test.
10864 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
10865 (do_function_calls): Use its return value instead of
10866 gdb,skip_float_test.
10867 * gdb.base/finish.exp: Likewise.
10868 * gdb.base/funcargs.exp: Likewise.
10869 * gdb.base/return.exp: Likewise.
10870 * gdb.base/return2.exp: Likewise.
10871 * gdb.base/varargs.exp: Likewise.
10872 * lib/gdb.exp (gdb_skip_float_test): Change it to
10873 gdb_caching_proc. Detect the broken ptrace on arm-linux.
10874
5af962df
AA
108752016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10876
10877 * gdb.multi/tids.exp: Test "thread apply all".
10878
7fac6910
JK
108792016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10880
10881 * gdb.base/default.exp (tty): Remove.
10882
bb1fe4ac
KB
108832016-08-24 Kevin Buettner <kevinb@redhat.com>
10884
2806dc7e
PA
10885 * gdb.python/py-recurse-unwind.c: New file.
10886 * gdb.python/py-recurse-unwind.py: New file.
10887 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 10888
0a1ddfa6
SM
108892016-08-24 Simon Marchi <simon.marchi@ericsson.com>
10890
10891 * gdb.base/set-inferior-tty.exp: New file.
10892 * gdb.base/set-inferior-tty.c: New file.
10893
d9de1fe3
PA
108942016-08-23 Pedro Alves <palves@redhat.com>
10895
10896 PR gdb/20494
10897 * gdb.base/new-ui-echo.c: New file.
10898 * gdb.base/new-ui-echo.exp: New file.
10899
e9d9abd7
YQ
109002016-08-23 Yao Qi <yao.qi@linaro.org>
10901
10902 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
10903 gdbserver_spawn.
10904 * gdb.server/connect-without-multi-process.exp (do_test):
10905 Likewise.
10906
3589529e
YQ
109072016-08-23 Yao Qi <yao.qi@linaro.org>
10908
10909 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
10910 standalone_txt. Delete gdb_txt and standalone_txt on host
10911 and target. Spawn the binary on target. Copy files from
10912 target to host.
10913
6bb90213
PA
109142016-08-22 Pedro Alves <palves@redhat.com>
10915
10916 PR gdb/20505
10917 * gdb.base/vdso-warning.exp: Test core dumps too. Use
10918 with_test_prefix. Factor out bits to ...
10919 (test_no_vdso): ... this new procedure.
10920
20c2c024
CL
109212016-08-19 Carl Love <cel@us.ibm.com>
10922
10923 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10924 maintaining separate logic for constructing the output path.
10925 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10926 * gdb.arch/ppc-dfp.exp: Likewise.
10927 * gdb.arch/ppc-fp.exp: Likewise.
10928 * gdb.arch/vsx-regs.exp: Likewise.
10929 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10930 binprefix for generating the additional binary files.
10931
0646e07d
PA
109322016-08-19 Pedro Alves <palves@redhat.com>
10933
10934 * gdb.trace/mi-trace-frame-collected.exp
10935 (test_trace_frame_collected): On x32, expect two registers.
10936
46da9242
CL
109372016-08-18 Carl Love <cel@us.ibm.com>
10938
10939 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10940 and sync up the test with tests in gas/testsuite/gas/ppc.
10941 * gdb.arch/powerpc-power.exp: Likewise.
10942
eb2332d7
SM
109432016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10944
10945 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10946 expected error message.
10947
63c61e04
SM
109482016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10949
10950 * gdb.multi/remove-inferiors.exp: New file.
10951 * gdb.multi/remove-inferiors.c: New file.
10952
7b17065f
YQ
109532016-08-12 Yao Qi <yao.qi@linaro.org>
10954
10955 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10956 argument list.
10957
01d3dedf
PA
109582016-08-10 Pedro Alves <palves@redhat.com>
10959
10960 PR gdb/19187
10961 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10962 setup_kfails.
10963
3eb7562a
PA
109642016-08-09 Pedro Alves <palves@redhat.com>
10965 Simon Marchi <simon.marchi@ericsson.com>
10966
10967 PR gdb/20418
10968 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10969 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10970
80614914
PA
109712016-08-09 Pedro Alves <palves@redhat.com>
10972
10973 PR mi/20431
10974 * gdb.mi/mi-cmd-error.exp: New file.
10975
f348d89a
PA
109762016-08-09 Pedro Alves <palves@redhat.com>
10977
10978 PR gdb/18653
10979 * gdb.base/signals-state-child.c: New file.
10980 * gdb.base/signals-state-child.exp: New file.
10981 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10982
e5ca03b4
PA
109832016-08-09 Pedro Alves <palves@redhat.com>
10984
10985 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10986
282a0691
TT
109872016-08-03 Tom Tromey <tom@tromey.com>
10988
10989 PR python/18565:
10990 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10991
41bfcd63
YQ
109922016-08-01 Yao Qi <yao.qi@linaro.org>
10993
10994 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10995 variable mode to "multi-process" if $multi_process is 1, otherwise
10996 set it to "single-process".
10997
e3465b24
YQ
109982016-08-01 Yao Qi <yao.qi@linaro.org>
10999
11000 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
11001 * gdb.cp/cpexprs.exp: Likewise.
11002 * gdb.cp/m-static.exp: Likewise.
11003
0b31a4bc
TT
110042016-07-26 Tom Tromey <tom@tromey.com>
11005
11006 PR python/20190:
11007 * gdb.threads/tls.exp (check_thread_local): Add python symbol
11008 test.
11009
e0461dbb
MM
110102016-07-26 Markus Metzger <markus.t.metzger@intel.com>
11011
11012 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
11013 selecting assembly source files.
11014 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
11015 assembly source files.
11016 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
11017 assembly source files.
11018 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
11019 selecting assembly source files.
11020
8194e927
SM
110212016-07-25 Simon Marchi <simon.marchi@ericsson.com>
11022
11023 * gdb.base/new-ui.exp (do_test_invalid_args): New
11024 procedure.
11025
c0272db5
TW
110262016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
11027
11028 * gdb.btrace/reconnect.c: New file.
11029 * gdb.btrace/reconnect.exp: New file.
11030
e3487908
GKB
110312016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
11032
11033 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
11034 to test_catch_syscall_group.
11035 (test_catch_syscall_group): New.
11036
12df5c00
TT
110372016-07-21 Tom Tromey <tom@tromey.com>
11038
11039 * gdb.rust/simple.rs (main): Use empty struct expression.
11040 * gdb.rust/simple.exp: Add tests for empty struct expression.
11041
bae62ee2
YQ
110422016-07-21 Yao Qi <yao.qi@linaro.org>
11043
11044 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
11045 if gdb_skip_xml_test is true on some targets.
11046
b1b53fb3
YQ
110472016-07-21 Yao Qi <yao.qi@linaro.org>
11048
11049 * gdb.server/solib-list.exp: Unset last_loaded_file.
11050
027d97f8
JK
110512016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11052
11053 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
11054 "step into captured_main (args)".
11055
7674d381
JK
110562016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11057
11058 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
11059
72b5d099
JK
110602016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11061
11062 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
11063
1f960ced
PA
110642016-07-19 Pedro Alves <palves@redhat.com>
11065
11066 * gdb.opt/inline-break.exp: Remove optimize=-O2.
11067 * gdb.opt/inline-bt.exp: Likewise.
11068 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
11069 additional_flags=-Winline.
11070 * gdb.opt/inline-locals.exp: Likewise.
11071 * gdb.opt/inline-markers.c (ATTR): Define.
11072 (inlined_fn): Use it.
11073
f25827c1
YQ
110742016-07-19 Yao Qi <yao.qi@linaro.org>
11075
11076 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
11077 (test_with_self): Remove some code. Remove argument executable.
11078 (top-level): Use do_self_tests.
11079
37539ebe
DB
110802016-07-15 Zachary Welch <zwelch@codesourcery.com>
11081 Don Breazeal <donb@codesourcery.com>
11082
11083 * gdb.base/maint.exp: Escape paths used in regular expressions.
11084 * gdb.stabs/weird.exp: Likewise.
11085
dac790e1
TT
110862016-07-13 Tom Tromey <tom@tromey.com>
11087
11088 PR python/15620, PR python/18620:
11089 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
11090 (test_bkpt_events): New procs.
11091
93daf339
TT
110922016-07-13 Tom Tromey <tom@tromey.com>
11093
11094 PR python/17698:
11095 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
11096 test.
11097 (test_watchpoints): Likewise.
11098 (test_bkpt_pending): New proc.
11099
6571a381
TT
111002016-07-13 Tom Tromey <tom@tromey.com>
11101
11102 PR cli/18053:
11103 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
11104 completion test.
11105
e8732474
JK
111062016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11107
11108 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
11109 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
11110 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
11111 f_label.
11112 (g): Rename g_end_lbl to g_label.
11113 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
11114 low_pc and high_pc.
11115 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
11116
e0f3fd7c
TT
111172016-07-12 Tom Tromey <tom@tromey.com>
11118
11119 PR python/19293:
11120 * gdb.python/py-unwind-maint.exp: Update tests.
11121
3cfe46b6
YQ
111222016-07-12 Yao Qi <yao.qi@linaro.org>
11123
11124 * lib/selftest-support.exp (selftest_setup): Match the output
11125 when captured_main is inlined.
11126
4f19a0e6
WT
111272016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11128
11129 * gdb.fortran/derived-types.exp (result_line, result_line_2):
11130 New variables.
11131 (print this%a, print this%b, print this): New tests.
11132 * gdb.fortran/derived-types.f90 (this): New object and
11133 initialization.
11134
986cf455
SM
111352016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11136
11137 * gdb.ada/arraydim.exp: Remove extra directory level in build
11138 directory.
11139
f0464b23
SM
111402016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11141
11142 * lib/ada.exp: Remove extra directory level in build directory.
11143 * gdb.ada/cond_lang.exp: Likewise.
11144 * gdb.ada/exec_changed.exp: Likewise.
11145 * gdb.ada/lang_switch.exp: Likewise.
11146
42d94011
MG
111472016-07-06 Manish Goregaokar <manish@mozilla.com>
11148
2806dc7e
PA
11149 * simple.rs: Add test for raw pointer subscripting.
11150 * simple.exp: Add test expectations.
42d94011 11151
647c264c
YQ
111522016-07-05 Yao Qi <yao.qi@linaro.org>
11153
11154 * gdb.mi/mi-reverse.exp: Match =record-started output.
11155
20aa2c60
PA
111562016-07-01 Pedro Alves <palves@redhat.com>
11157
11158 * gdb.base/jit-reader.exp (info_registers_current_frame): New
11159 procedure.
11160 (jit_reader_test): Test the jit reader's unwinder.
11161 * gdb.base/jithost.c (jit_function_00_code): New global.
11162 (main): Use memcpy to fill in the mmapped code, instead of poking
11163 bytes manually here.
11164 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
11165 value.
11166 (read_debug_info): Save the function's range.
11167 (read_sp): New function.
11168 (unwind_frame): Use it. Also unwind RBP.
11169 (get_frame_id): Use read_sp.
11170 (gdb_init_reader): Use calloc instead of malloc.
11171 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
11172 parameter. Use gdb_test_multiple.
11173
ced2dffb
PA
111742016-07-01 Pedro Alves <palves@redhat.com>
11175 Antoine Tremblay <antoine.tremblay@ericsson.com>
11176
11177 * gdb.threads/process-dies-while-detaching.c: New file.
11178 * gdb.threads/process-dies-while-detaching.exp: New file.
11179
63000888
PA
111802016-07-01 Pedro Alves <palves@redhat.com>
11181
11182 * gdb.multi/watchpoint-multi-exit.c: New file.
11183 * gdb.multi/watchpoint-multi-exit.exp: New file.
11184
038d4868
PA
111852016-06-30 Pedro Alves <palves@redhat.com>
11186
11187 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
11188 unset inferior_spawn_id.
11189
994e9c83
PA
111902016-06-30 Pedro Alves <palves@redhat.com>
11191
11192 * lib/mi-support.exp (default_mi_gdb_start): Declare global
11193 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
11194
e5653468
YQ
111952016-06-29 Yao Qi <yao.qi@linaro.org>
11196
11197 * gdb.base/return.c: Add copyright header.
11198
803b47e5
TT
111992016-06-29 Tom Tromey <tom@tromey.com>
11200
11201 PR python/20129:
11202 * gdb.python/py-framefilter.exp: Add tests for setting priority
11203 and disabling of non-existent frame filter.
11204
28244707
YQ
112052016-06-29 Yao Qi <yao.qi@linaro.org>
11206
11207 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
11208 0x0f07ff.
11209
a31d2f06
YQ
112102016-06-28 Yao Qi <yao.qi@linaro.org>
11211
11212 * gdb.base/catch-syscall.exp: Remove check on isnative and target
11213 triplets. Start gdb, execute catch syscall, and continue. Check
11214 gdb's output to determine catch syscall is supported.
11215
921d8f54
MG
112162016-06-27 Manish Goregaokar <manish@mozilla.com>
11217
25d49b86
PA
11218 * gdb.rust/simple.rs: Add test for returning unit in a function.
11219 * gdb.rust/simple.exp: Add expectation for functions returning
11220 unit.
921d8f54 11221
f4952523
PMR
112222016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
11223
11224 * gdb.python/py-breakpoint-create-fail.c,
11225 gdb.python/py-breakpoint-create-fail.exp,
11226 gdb.python/py-breakpoint-create-fail.py: New testcase.
11227
fccb08f8
MG
112282016-06-25 Manish Goregaokar <manish@mozilla.com>
11229
11230 PR gdb/20239
11231 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
11232 * gdb.rust/simple.exp: Add test expectations for new NonZero
11233 tests.
fccb08f8 11234
6b850546
DT
112352016-06-24 David Taylor <dtaylor@emc.com>
11236
11237 * gdb.base/offsets.exp: New file.
11238 * gdb.base/offsets.c: New file.
11239
17621150
TT
112402016-06-23 Tom Tromey <tom@tromey.com>
11241
11242 PR gdb/16483:
11243 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
11244 before any filters are loaded.
11245
04d59df6
WT
112462016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
11247
11248 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
11249 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
11250 structs.
11251 * gdb.fortran/derived-type-function.exp: New file.
11252 * gdb.fortran/derived-type-function.f90: New file.
11253
11254
ac69f786
PA
112552016-06-21 Pedro Alves <palves@redhat.com>
11256
11257 * gdb.base/new-ui.exp: New file.
11258 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
11259 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
11260 (with_spawn_id): New procedure.
11261
49940788
PA
112622016-06-21 Pedro Alves <palves@redhat.com>
11263
11264 * gdb.mi/mi-exec-run.exp: New file.
11265
ef274d26
PA
112662016-06-21 Pedro Alves <palves@redhat.com>
11267
11268 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
11269 breakpoint command's output on the main UI.
11270 (test_break): New procedure, factored out from calls in the top
11271 level.
11272 (top level): Use foreach_with_prefix to test MI as main UI and as
11273 separate UI.
11274
468afe6c
PA
112752016-06-21 Pedro Alves <palves@redhat.com>
11276
11277 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
11278 (test_awatch_creation_and_listing)
11279 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
11280 Remove 'type' parameter.
11281 (test_watchpoint_all): New parameter mi_mode. Remove
11282 with_test_prefix.
11283 (top level): Use foreach_with_prefix, and add main/separate UI MI
11284 testing axis.
11285
51f77c37
PA
112862016-06-21 Pedro Alves <palves@redhat.com>
11287
11288 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
11289 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
11290 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
11291 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
11292 (gdb_main_spawn_id, mi_spawn_id): Declare and
11293 comment.
11294 (mi_create_inferior_pty): New procedure,
11295 factored out from default_mi_gdb_start.
11296 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
11297 procedures.
11298 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
11299 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
11300 Use mi_create_inferior_pty.
11301 (mi_gdb_start): Use eval to pass down args list.
11302
8980e177
PA
113032016-06-21 Pedro Alves <palves@redhat.com>
11304
11305 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
11306 * gdb.opt/inline-cmds.exp: Add MI tests.
11307
f38d3ad1
PA
113082016-06-21 Pedro Alves <palves@redhat.com>
11309
11310 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
11311
45db7c09
PA
113122016-06-21 Pedro Alves <palves@redhat.com>
11313
11314 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
11315 (top level): Use it instead of mi_execute_to.
11316
5a069ab3
PA
113172016-06-21 Pedro Alves <palves@redhat.com>
11318
11319 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
11320 (cont_handler_str): New.
11321 (signal_stop_handler): Set stop_handler_str instead of printing to
11322 stdout.
11323 (continue_handler): Set cont_handler_str instead of printing to
11324 stdout.
11325 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
11326 mi_send_resuming_command. Print stop_handler_str and
11327 cont_handler_str instead of expecting the python events print
11328 directly.
11329
2838cc1d
SD
113302016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
11331
11332 * gdb.base/jit-reader.exp: New file.
11333 * gdb.base/jithost.c: New file.
11334 * gdb.base/jithost.h: New file.
11335 * gdb.base/jitreader.c : New file.
11336 * gdb.base/jit-protocol.h: New file.
11337
21a77091
YQ
113382016-06-17 Yao Qi <yao.qi@linaro.org>
11339
11340 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
11341 parameters follow_fork and detach_on_fork. Set follow-fork-mode
11342 and detach-on-fork. Adjust tests.
11343 (top level): Invoke break_cond_on_syscall with combinations of
11344 syscall, follow-fork-mode and detach-on-fork.
11345
f50bf8e5
YQ
113462016-06-17 Yao Qi <yao.qi@linaro.org>
11347
11348 * gdb.base/step-over-exit.c: New.
11349 * gdb.base/step-over-exit.exp: New.
11350
a28d8e50
YTL
113512016-06-17 Yan-Ting Lin <currygt52@gmail.com>
11352
11353 * gdb.base/float.exp: Add target check for nds32*-*-*.
11354 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
11355
cad8e26d
AB
113562016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
11357
11358 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
11359 for unsupported target features.
11360 * gdb.base/call-rt-st.exp: Likewise.
11361 * gdb.base/call-sc.exp: Likewise.
11362 * gdb.base/call-signal-resume.exp: Likewise.
11363 * gdb.base/call-strs.exp: Likewise.
11364 * gdb.base/callexit.exp: Likewise.
11365 * gdb.base/callfuncs.exp: Likewise.
11366 * gdb.base/nodebug.exp: Likewise.
11367 * gdb.base/printcmds.exp: Likewise.
11368 * gdb.base/ptype.exp: Likewise.
11369 * gdb.base/structs.exp: Likewise.
11370 * gdb.base/unwindonsignal.exp: Likewise.
11371 * gdb.cp/gdb2495.exp: Likewise.
11372 * gdb.cp/templates.exp: Likewise.
11373 * gdb.cp/virtfunc.exp: Likewise.
11374 * gdb.threads/hand-call-in-threads.exp: Likewise.
11375 * gdb.threads/interrupted-hand-call.exp: Likewise.
11376 * gdb.threads/thread-unwindonsignal.exp: Likewise.
11377
347dc102
TT
113782016-06-10 Tom Tromey <tom@tromey.com>
11379
11380 PR rust/20110:
11381 * gdb.rust/expr.exp: Add test for integer constant larger than
11382 i32.
11383
5e13cf25
BH
113842016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
11385
11386 * gdb.fortran/nested-funcs.exp: New.
11387 * gdb.fortran/nested-funcs.f90: New.
11388
bb556f1f
TK
113892016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
11390
11391 * gdb.base/examine-backward.c: New file.
11392 * gdb.base/examine-backward.exp: New file.
11393
38b022b4
SM
113942016-06-06 Simon Marchi <simon.marchi@ericsson.com>
11395
11396 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
11397 matching.
11398
1b40ec05
TT
113992016-06-02 Tom Tromey <tom@tromey.com>
11400
11401 PR python/18984:
11402 * gdb.python/py-shared.exp: Add solib_name test.
11403
193bd378
SM
114042016-06-02 Simon Marchi <simon.marchi@ericsson.com>
11405
11406 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
11407
3326303b
MG
114082016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
11409
11410 PR c++/19893
11411 * gdb.dwarf2/implref.exp: Rename to...
11412 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
11413 * gdb.dwarf2/implref-array.c: New file.
11414 * gdb.dwarf2/implref-array.exp: Likewise.
11415 * gdb.dwarf2/implref-global.c: Likewise.
11416 * gdb.dwarf2/implref-global.exp: Likewise.
11417 * gdb.dwarf2/implref-struct.c: Likewise.
11418 * gdb.dwarf2/implref-struct.exp: Likewise.
11419
825c8ef2
AT
114202016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11421
11422 * gdb.trace/trace-condition.exp: Add 64bit tests.
11423
2320162a
AT
114242016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11425
11426 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
11427 bits types.
11428 (main): Adapt to 8 to 64 bits types.
11429 * gdb.trace/trace-condition.exp: Add new tests.
11430
a7818233
AT
114312016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11432
11433 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
11434
0d336466
AT
114352016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11436
11437 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
11438 Move condition tests...
11439 * gdb.trace/trace-condition.exp: Here.
11440
7faeb45a
AT
114412016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11442
11443 * gdb.trace/trace-condition.exp: Add counter-case tests.
11444
e385593e
JK
114452016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11446
11447 PR c++/15231
11448 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
11449 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
11450
744608cc
PA
114512016-05-27 Pedro Alves <palves@redhat.com>
11452
11453 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11454 New procedure.
11455 (top level): Call it, and bail out of DejaGnu is known to be bad.
11456
ac775bf4
AB
114572016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
11458
11459 * gdb.base/whatis.c: Extend the test case.
11460 * gdb.base/whatis.exp: Add additional tests.
11461
2bbad2ea
BH
114622016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11463
11464* gdb.fortran/type.f90: Add pointer variable.
11465* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
11466
8b70175d
BH
114672016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11468
11469 * gdb.fortran/vla-type.exp: Fix testcase name.
11470
86d8a848
BH
114712016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11472
11473 * gdb.fortran/vla-type.exp: Access elements in nested structs.
11474
e188eb36
BH
114752016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11476
11477 * gdb.fortran/type.f90: Add nested structures.
11478 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
11479 * gdb.fortran/derived-type.exp: Adapt expected output.
11480 * gdb.fortran/vla-type.exp: Adapt expected output.
11481
9b2db1fd
BH
114822016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11483
11484 * gdb.fortran/whatis_type.exp: Adapt expected output.
11485
72b17055
BH
114862016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11487
11488 * gdb.fortran/print_type.exp: Fix expected output.
11489 * gdb.fortran/whatis_type.exp: Fix expected output.
11490
3cd81d8d
BH
114912016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11492
11493 * gdb.fortran/whatis_type.exp: Use multi_line.
11494
ddae9462
TT
114952016-05-24 Tom Tromey <tom@tromey.com>
11496
11497 PR python/17386:
11498 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
11499 use value as an index.
11500
1957f6b8
TT
115012016-05-23 Tom Tromey <tom@tromey.com>
11502
11503 PR python/17981:
11504 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
11505 no-breakpoint case.
11506
026a9174
PA
115072016-05-24 Pedro Alves <palves@redhat.com>
11508
11509 PR gdb/19828
11510 * gdb.threads/clone-attach-detach.c: New file.
11511 * gdb.threads/clone-attach-detach.exp: New file.
11512
e70a7231
FR
115132016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
11514
11515 * gdb.base/annota-input-while-running.exp: Fix syntax error.
11516
0f6ed0e0
TT
115172016-05-23 Tom Tromey <tom@tromey.com>
11518
11519 PR python/19438, PR python/18393:
11520 * gdb.python/py-progspace.exp: Add "dir" test.
11521 * gdb.python/py-objfile.exp: Add "dir" test.
11522
ffd19d61
YQ
115232016-05-23 Yao Qi <yao.qi@linaro.org>
11524
11525 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
11526 * gdb.arch/thumb2-it.exp: Likewise.
11527
9e8f9b05
SM
115282016-05-18 Simon Marchi <simon.marchi@ericsson.com>
11529
11530 * gdb.mi/mi-threads-interrupt.c: New file.
11531 * gdb.mi/mi-threads-interrupt.exp: New file.
11532
61c6156d
SM
115332016-05-17 Simon Marchi <simon.marchi@ericsson.com>
11534
11535 PR gdb/18077
11536 * gdb.mi/mi-async-run.exp: New file.
11537 * gdb.mi/mi-async-run.c: New file.
11538
67218854
TT
115392016-05-17 Tom Tromey <tom@tromey.com>
11540 Manish Goregaokar <manishsmail@gmail.com>
11541
11542 * lib/rust-support.exp: New file.
11543 * lib/gdb.exp (skip_rust_tests): New proc.
11544 (build_executable_from_specs): Handle rust.
11545 * lib/future.exp (gdb_find_rustc): New proc.
11546 (gdb_default_target_compile): Handle rust.
11547 * gdb.rust/expr.exp: New file.
11548 * gdb.rust/generics.exp: New file.
11549 * gdb.rust/generics.rs: New file.
11550 * gdb.rust/methods.exp: New file.
11551 * gdb.rust/methods.rs: New file.
11552 * gdb.rust/modules.exp: New file.
11553 * gdb.rust/modules.rs: New file.
11554 * gdb.rust/simple.exp: New file.
11555 * gdb.rust/simple.rs: New file.
11556
c44af4eb
TT
115572016-05-17 Tom Tromey <tom@tromey.com>
11558
11559 * gdb.base/default.exp (set language): Add rust.
11560
dcd1f979
TT
115612016-05-17 Tom Tromey <tom@tromey.com>
11562
11563 * gdb.gdb/unittest.exp: New file.
11564
155b7f57
YQ
115652016-05-16 Yao Qi <yao.qi@linaro.org>
11566
11567 * gdb.base/batch-preserve-term-settings.exp: Remove variable
11568 shell_prompt. Update shell_prompt_re.
11569
8ddd5a6c
DE
115702016-05-12 Doug Evans <dje@google.com>
11571
11572 PR symtab/19999
11573 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
11574 $options when building executable.
11575 * gdb.dwarf2/fission-loclists-pie.S: New file.
11576 * gdb.dwarf2/fission-loclists-pie.exp: New file.
11577
02e370d9
SM
115782016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11579
11580 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
11581 of [is_remote target],
11582
8929ad8b
SM
115832016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11584
11585 * lib/gdb.exp (use_gdb_stub): New procedure.
11586
6c447423
DE
115872016-05-03 Yunlian Jiang <yunlian@google.com>
11588 Doug Evans <dje@google.com>
11589
11590 PR symtab/19914
11591 * gdb.dwarf2/dwp-sepdebug.c: New file.
11592 * gdb.dwarf2/dwp-sepdebug.exp: New file.
11593
444e826c
SM
115942016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11595
11596 * gdb.base/detach.exp: Remove is_remote check.
11597
740feeaa
SM
115982016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11599
11600 * gdb.base/annota-input-while-running.exp: Don't check for
11601 [is_remote target]. Enable annotations after running to main.
11602 Remove unused "set test..." line.
11603
9080ac9d
SM
116042016-04-28 Simon Marchi <simon.marchi@ericsson.com>
11605
11606 * gdb.trace/trace-enable-disable.exp: New file.
11607 * gdb.trace/trace-enable-disable.c: New file.
11608
952ebca5
SM
116092016-04-28 Simon Marchi <simon.marchi@ericsson.com>
11610
11611 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
11612 use it in info sharedlibrary test.
11613 * gdb.trace/ftrace-lock.exp: Likewise.
11614 * gdb.trace/ftrace.exp: Likewise.
11615 * gdb.trace/range-stepping.exp: Likewise.
11616 * gdb.trace/trace-break.exp: Likewise.
11617 * gdb.trace/trace-condition.exp: Likewise.
11618 * gdb.trace/trace-mt.exp: Likewise.
11619
d9019901
SM
116202016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11621
11622 * lib/gdb.exp (gdb_load_shlibs): Rename to...
11623 (gdb_load_shlib): ... this.
11624 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
11625 gdb_load_shlib.
11626 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
11627 * gdb.base/ctxobj.exp: Likewise.
11628 * gdb.base/dprintf-pending.exp: Likewise.
11629 * gdb.base/dso2dso.exp: Likewise.
11630 * gdb.base/fixsection.exp: Likewise.
11631 * gdb.base/gcore-relro.exp: Likewise.
11632 * gdb.base/gdb1555.exp: Likewise.
11633 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11634 * gdb.base/gnu-ifunc.exp: Likewise.
11635 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
11636 * gdb.base/jit-so.exp (one_jit_test): Likewise.
11637 * gdb.base/pending.exp: Likewise.
11638 * gdb.base/print-file-var.exp: Likewise.
11639 * gdb.base/print-symbol-loading.exp: Likewise.
11640 * gdb.base/shlib-call.exp: Likewise.
11641 * gdb.base/shreloc.exp: Likewise.
11642 * gdb.base/so-impl-ld.exp: Likewise.
11643 * gdb.base/solib-disc.exp: Likewise.
11644 * gdb.base/solib-nodir.exp: Likewise.
11645 * gdb.base/solib-overlap.exp: Likewise.
11646 * gdb.base/solib-symbol.exp: Likewise.
11647 * gdb.base/solib-weak.exp (do_test): Likewise.
11648 * gdb.base/sym-file.exp: Likewise.
11649 * gdb.base/symtab-search-order.exp: Likewise.
11650 * gdb.base/type-opaque.exp: Likewise.
11651 * gdb.base/unload.exp: Likewise.
11652 * gdb.base/watchpoint-solib.exp: Likewise.
11653 * gdb.compile/compile.exp: Likewise.
11654 * gdb.cp/gdb2384.exp: Likewise.
11655 * gdb.cp/infcall-dlopen.exp: Likewise.
11656 * gdb.cp/re-set-overloaded.exp: Likewise.
11657 * gdb.fortran/library-module.exp: Likewise.
11658 * gdb.opt/solib-intra-step.exp: Likewise.
11659 * gdb.python/py-finish-breakpoint.exp: Likewise.
11660 * gdb.python/py-shared.exp: Likewise.
11661 * gdb.reverse/solib-precsave.exp: Likewise.
11662 * gdb.reverse/solib-reverse.exp: Likewise.
11663 * gdb.server/solib-list.exp: Likewise.
11664 * gdb.threads/dlopen-libpthread.exp: Likewise.
11665 * gdb.threads/tls-shared.exp: Likewise.
11666 * gdb.threads/tls-so_extern.exp: Likewise.
11667 * gdb.trace/change-loc.exp: Likewise.
11668 * gdb.trace/ftrace-lock.exp: Likewise.
11669 * gdb.trace/ftrace.exp: Likewise.
11670 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
11671 * gdb.trace/pending.exp: Likewise.
11672 * gdb.trace/range-stepping.exp: Likewise.
11673 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
11674 (strace_info_marker): Likewise.
11675 (strace_probe_marker): Likewise.
11676 (strace_trace_on_same_addr): Likewise.
11677 (strace_trace_on_diff_addr): Likewise.
11678 * gdb.trace/trace-break.exp: Likewise.
11679 * gdb.trace/trace-condition.exp: Likewise.
11680 * gdb.trace/trace-mt.exp: Likewise.
11681
fca4cfd9
SM
116822016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11683
11684 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
11685 result of gdb_remote_download.
11686 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
11687 * gdb.base/dso2dso.exp: Likewise.
11688 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11689 * gdb.base/print-file-var.exp: Likewise.
11690 * gdb.base/shlib-call.exp: Likewise.
11691 * gdb.base/shreloc.exp: Likewise.
11692 * gdb.base/solib-overlap.exp: Likewise.
11693 * gdb.base/solib-weak.exp (do_test): Likewise.
11694 * gdb.base/unload.exp: Likewise.
11695
11cf4ffb
YQ
116962016-04-27 Yao Qi <yao.qi@linaro.org>
11697
11698 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
11699 exists.
11700
3e2e34f8
KB
117012016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11702
11703 * vla-type.exp: Print structure from toplevel.
11704
8f07e298
BH
117052016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11706
11707 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
11708 of dynamic types.
11709 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
11710 of dynamic types.
11711
9920b434
BH
117122016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11713
11714 * gdb.fortran/vla-type.f90: New file.
11715 * gdb.fortran/vla-type.exp: New file.
11716
f3abeff5
YQ
117172016-04-25 Yao Qi <yao.qi@linaro.org>
11718
11719 * gdb.base/branch-to-self.c: New file.
11720 * gdb.base/branch-to-self.exp: New file.
11721
0a5d52f0
YQ
117222016-04-22 Yao Qi <yao.qi@linaro.org>
11723
11724 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
11725 more after $hex.
11726
495346f6
YQ
117272016-04-22 Yao Qi <yao.qi@linaro.org>
11728
11729 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
11730 * gdb.base/annota3.exp: Likewise.
11731
4a7e075c
YQ
117322016-04-22 Yao Qi <yao.qi@linaro.org>
11733
11734 * gdb.reverse/step-precsave.exp: Do one step and test program
11735 stops in "callee" and do multiple steps until program goes out
11736 of "callee".
11737 * gdb.reverse/step-reverse.exp: Likewise.
11738
5b061e98
YQ
117392016-04-22 Yao Qi <yao.qi@linaro.org>
11740
11741 * gdb.trace/signal.exp: Also pass if
11742 $tracepoint_hits($i) > $iterations.
11743
5c5dc57f
YQ
117442016-04-22 Yao Qi <yao.qi@linaro.org>
11745
11746 * gdb.trace/signal.c: New file.
11747 * gdb.trace/signal.exp: New file.
11748
a55411b9
DE
117492016-04-19 Doug Evans <xdje42@gmail.com>
11750
11751 * gdb.base/bad-file.exp: New file.
11752
a22df60a
MG
117532016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
11754
11755 * gdb.dwarf2/implref.exp: New file.
11756
0c13f7e5
BH
117572016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11758
11759 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
11760 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
11761 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
11762 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
11763 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
11764 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
11765 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
11766 * lib/fortran.exp (fortran_int4): New procedure.
11767 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
11768 (fortran_logical4): Likewise.
11769
9b9b09e9
BH
117702016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
11771
11772 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
11773
a14d1f4d
BH
117742016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11775
11776 * lib/compiler.c: Add Intel specific preprocessor macros.
11777 * lib/compiler.cc: Likewise.
25d49b86 11778
7d49b1d0
LM
117792016-04-13 Luis Machado <lgustavo@codesourcery.com>
11780
11781 * gdb.server/connect-with-no-symbol-file.c: New file.
11782 * gdb.server/connect-with-no-symbol-file.exp: New file.
11783
8392fa22
SM
117842016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11785
11786 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
11787
8c4c4aeb
SM
117882016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11789
11790 * boards/gdbserver-base.exp (${board}_download): Copy source file to
11791 standard output directory.
11792
45e3745e
AT
117932016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
11794
11795 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
11796
e26b7e41
MM
117972016-04-13 Markus Metzger <markus.t.metzger@intel.com>
11798
11799 * gdb.btrace/instruction_history.c (loop): Add declaration.
11800
8ce09462
AT
118012016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11802
11803 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
11804
2e88a1ea
SM
118052016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
11806
11807 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
11808 parentheses to print.
11809 (continue_handler): Likewise.
11810
f48e22e3
SM
118112016-04-08 Simon Marchi <simon.marchi@ericsson.com>
11812
11813 * gdb.server/solib-list.exp: Remove is_remote check.
11814 Pass shlib= to gdb_compile. Don't link shared library with
11815 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
11816 Run binary filename through "readlink -f" on the target.
11817
096be756
PA
118182016-04-08 Pedro Alves <palves@redhat.com>
11819
11820 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
11821 interpreter filename as argument to gdbserver_spawn.
11822 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11823 Return empty if $last_loaded_file does not exist.
11824
06500533
JK
118252016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11826
11827 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
11828 * gdb.base/jit-main.c: Use exit after usage.
11829
2d35e871
JK
118302016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11831
11832 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
11833 GDBHISTSIZE prior to the tests.
11834 * gdb.base/gdbinit-history.exp: Likewise.
11835
118362016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
11837
11838 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
11839 instead of build_executable. Use gdb_load_shlibs.
11840
c8064e7e
YQ
118412016-04-07 Yao Qi <yao.qi@linaro.org>
11842
11843 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
11844 Execute "si" command.
11845
bde47561
YQ
118462016-04-07 Yao Qi <yao.qi@linaro.org>
11847
11848 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
11849 number instead of the comments on some line.
11850
b16f8a3b
DB
118512016-04-06 Don Breazeal <donb@codesourcery.com>
11852
11853 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
11854 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
11855
c2f901df
SM
118562016-04-06 Simon Marchi <simon.marchi@ericsson.com>
11857
11858 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
11859 standard_output_file. Remove unused binfile variable.
11860
ac17fda0
CU
118612016-04-05 Catalin Udma <catalin.udma@freescale.com>
11862
11863 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
11864 * gdb.python/py-mi-objfile.exp: Match "list main" output
11865 in console format.
11866
03a8c4df
SM
118672016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
11868
11869 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
11870 absolute.
11871
6e774b13
SM
118722016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11873
11874 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
11875 absolute.
11876 * gdb.trace/ftrace.exp: Likewise.
11877 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
11878 targets as well.
11879 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
11880 (gdb_load_shlibs): Copy libraries to test directory when testing
11881 natively. Only set solib-search-path if testing remotely.
11882 * lib/mi-support.exp (mi_load_shlibs): Likewise.
11883
7817ea46
SM
118842016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11885
11886 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
11887 gdb_download. Use it even if the target is not remote.
11888 * gdb.base/jit.exp (compile_jit_test): Likewise.
11889 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
11890 output directory if the destination board is local, otherwise use
11891 the standard remote_download from DejaGnu.
11892 (gdb_download): Remove.
11893 (gdb_load_shlibs): Use gdb_remote_download instead of
11894 gdb_download.
11895 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11896 Use gdb_remote_download instead of gdb_download. Use it even if
11897 the target is not remote.
11898 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
11899 instead of gdb_download.
11900
7beb7f68
SM
119012016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
11902
11903 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
11904 (test_insert_delete_modify): Call mi_load_shlibs before trying to
11905 run.
11906
cc63428a
AV
119072016-04-01 Artemiy Volkov <artemiyv@acm.org>
11908
11909 PR gdb/19820
11910 * gdb.base/printcmds.exp: Add artificial arrays tests.
11911
64cdf930
PA
119122016-03-31 Pedro Alves <palves@redhat.com>
11913
11914 PR gdb/19858
11915 * gdb.base/jit-main.c: Include unistd.h.
11916 (ATTACH): Define to 0 if not already defined.
11917 (wait_for_gdb, mypid): New globals.
11918 (WAIT_FOR_GDB): New macro.
11919 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11920 some breakpoint locations.
11921 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11922 New procedures.
11923 (one_jit_test): Add REATTACH parameter, and handle it. Use
11924 continue_to_test_location.
11925 (top level): Test attach, and adjusts calls to one_jit_test.
11926
40dea8cb
PA
119272016-03-31 Pedro Alves <palves@redhat.com>
11928
11929 PR gdb/19858
11930 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11931 BINSUFFIX parameter, and handle it.
11932 (top level): Adjust calls compile_jit_test.
11933
e7ea3ec7
CU
119342016-03-31 Catalin Udma <catalin.udma@freescale.com>
11935
11936 PR python/19743
11937 * gdb.python/py-mi-events-gdb.py: New file.
11938 * gdb.python/py-mi-events.c: New file.
11939 * gdb.python/py-mi-events.exp: New file.
11940
e6359af3
YQ
119412016-03-30 Yao Qi <yao.qi@linaro.org>
11942
11943 * gdb.reverse/until-precsave.exp: Match function name only.
11944 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11945 Move malloc to a condition block.
11946 * gdb.reverse/until-reverse.exp: Match function name only.
11947
a4105d04
MK
119482016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11949
11950 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11951 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11952 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11953 variable for GPR 0 instead of assuming it is register 0.
11954 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11955 * lib/trace-support.exp: Add s390 registers.
11956
bfa6adb9
YQ
119572016-03-29 Yao Qi <yao.qi@linaro.org>
11958
11959 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11960
1e6697ea
YQ
119612016-03-24 Yao Qi <yao.qi@linaro.org>
11962
11963 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11964 test message.
11965
64bcd522
AA
119662016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11967
11968 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11969 maintaining separate logic for constructing the output path.
11970
7868401b
DB
119712016-03-16 Don Breazeal <donb@codesourcery.com>
11972
11973 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11974 Retry fork and waitpid on interrupted system call errors.
11975 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11976 Use with_timeout_factor to increase timeout by factor of 10.
11977
1cafadb4
DB
119782016-03-15 Don Breazeal <donb@codesourcery.com>
11979
11980 * gdb.cp/scope-err.cc: New test program.
11981 * gdb.cp/scope-err.exp: New test script.
11982 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11983 lines and "set breakpoint here" comment.
11984 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11985 Fixed some whitespace and format issues.
11986 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11987 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11988
81516450
DE
119892016-03-15 Doug Evans <dje@google.com>
11990
11991 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11992 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11993 All callers updated. Add tests for enums, mixed flags register.
11994
aa52b601
DE
119952016-03-15 Doug Evans <dje@google.com>
11996
11997 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11998 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11999
fa4ff313
SM
120002016-03-14 Simon Marchi <simon.marchi@ericsson.com>
12001
12002 * gdb.base/default.exp: Add $_as_string to the list of expected
12003 convenience functions.
12004
f2403c39
AB
120052016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
12006
12007 * gdb.base/maint.exp: New tests for 'maint info line-table'.
12008
f2f3ccb9
SM
120092016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
12010
12011 * gdb.python/py-as-string.exp: New file.
12012 * gdb.python/py-as-string.c: New file.
12013
00dbd492
PA
120142016-03-09 Pedro Alves <palves@redhat.com>
12015
12016 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
12017 signal" -> "Thread NN received signal" output change.
12018 * gdb.threads/ia64-sigill.exp: Likewise.
12019 * gdb.threads/linux-dp.exp: Likewise.
12020 * gdb.threads/manythreads.exp: Likewise.
12021 * gdb.threads/pending-step.exp: Likewise.
12022 * gdb.threads/print-threads.exp: Likewise.
12023 * gdb.threads/sigstep-threads.exp: Likewise.
12024 * gdb.threads/staticthreads.exp: Likewise.
12025 * gdb.threads/tls.exp: Likewise.
12026
1e6697ea
YQ
120272016-03-09 Pedro Alves <palves@redhat.com>
12028
12029 * gdb.base/command-line-input.exp: New file.
12030
b04fd3be
MK
120312016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12032
12033 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
12034 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
12035 * gdb.trace/pending.exp: Accept leading dot before function name.
12036 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
12037 * lib/trace-support.exp: Set registers for ppc.
12038
98fa59e9
MK
120392016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12040
12041 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
12042 use it for disassembly; accept .main in addition to main in backtrace.
12043
f77198c8
MK
120442016-03-09 Wei-cheng Wang <cole945@gmail.com>
12045 Marcin Kościelnicki <koriakin@0x04.net>
12046
12047 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
12048 (gdb_recursion_test_ptr): New global variable.
12049 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
12050 gdb_recursion_test.
12051 (gdb_c_test): Ditto.
12052
ba84e0da
MK
120532016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12054
12055 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
12056 ordering.
12057
4366d36e
MK
120582016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12059
12060 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
12061 (bar): Add bar_start_lbl label.
12062 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
12063 of foo/bar for emitting DWARF and tracing.
12064
5eb264df
SDJ
120652016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
12066
12067 * analyze-racy-logs.py: Set executable bit.
12068
fb6a751f
SDJ
120692016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
12070
12071 * Makefile.in (DEFAULT_RACY_ITER): New variable.
12072 (CHECK_TARGET_TMP): Likewise.
12073 (check-single-racy): New rule.
12074 (check-parallel-racy): Likewise.
12075 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
12076 (do-check-parallel-racy): New rule.
12077 (check-racy/%.exp): Likewise.
12078 * README (Racy testcases): New section.
12079 * analyze-racy-logs.py: New file.
12080
bdf7e230
DE
120812016-03-03 Doug Evans <dje@google.com>
12082
12083 * gdb.base/skip.exp: Use with_test_prefix.
12084
4719d415
YQ
120852016-03-03 Yao Qi <yao.qi@linaro.org>
12086
12087 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
12088 Invoke step_over_syscall "clone" and break_cond_on_syscall
12089 "clone".
12090 * gdb.base/step-over-clone.c: New file.
12091
ea507862
YQ
120922016-03-03 Yao Qi <yao.qi@linaro.org>
12093
12094 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
12095 code format.
12096
8fc8cbda
YQ
120972016-03-03 Yao Qi <yao.qi@linaro.org>
12098
12099 * gdb.base/disp-step-fork.c: Rename to ...
12100 * gdb.base/step-over-fork.c: ... it. New file.
12101 * gdb.base/disp-step-vfork.c: Rename to ...
12102 * gdb.base/step-over-vfork.c: ... it. New file.
12103 * gdb.base/disp-step-syscall.exp: Rename to ...
12104 * gdb.base/step-over-syscall.exp: ... it. New file.
12105 (disp_step_cross_syscall): Rename to ...
12106 (step_over_syscall): ... it.
12107
92fa70b0
YQ
121082016-03-03 Yao Qi <yao.qi@linaro.org>
12109
12110 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
12111 If target supports condition evaluation on target, invoke
12112 break_cond_on_syscall for fork and vfork.
12113
e197ad3c
YQ
121142016-03-03 Yao Qi <yao.qi@linaro.org>
12115
12116 * gdb.base/disp-step-syscall.exp: Don't invoke
12117 support_displaced_stepping.
12118 (disp_step_cross_syscall): Test with displaced stepping off and
12119 on if supported.
12120
0b47da9f
YQ
121212016-03-03 Yao Qi <yao.qi@linaro.org>
12122
12123 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
12124 proc.
12125 (setup): New proc.
12126 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
12127 and setup.
12128
065ab6dc
BH
121292016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12130
12131 * gdb.fortran/vla-history.exp: Remove breakpoint.
12132
07e448ad 121332016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12134
25d49b86
PA
12135 * gdb.fortran/vla-history.exp: Lookup array elements and printing
12136 exceeds timeout.
07e448ad 12137
9ac2d526 121382016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12139
25d49b86
PA
12140 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
12141 breakpoint.
9ac2d526 12142
17807369
BH
121432016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12144
12145 * gdb.mi/vla.f90: Nullify pointer after declaration.
12146
86e501af
PA
121472016-03-01 Pedro Alves <palves@redhat.com>
12148
12149 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
12150
1e903e32
PA
121512016-03-01 Pedro Alves <palves@redhat.com>
12152
12153 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
12154 before anything else.
12155 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
12156 _GNU_SOURCE here.
12157 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
12158 before anything else.
12159 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
12160
6ccb54e2
PA
121612016-03-01 Pedro Alves <palves@redhat.com>
12162
12163 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
12164
30ca9da1
YQ
121652016-03-01 Yao Qi <yao.qi@linaro.org>
12166
12167 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
12168 prepare_for_testing.
12169
dc856b38
YQ
121702016-03-01 Yao Qi <yao.qi@linaro.org>
12171
12172 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
12173
4a932159
AA
121742016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12175
12176 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
12177 manually constructing the output path.
12178
f2489477
AA
121792016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12180
12181 * gdb.arch/s390-stackless.S: New.
12182 * gdb.arch/s390-stackless.exp: New.
12183
38899f16
IB
121842016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
12185
12186 * gdb.dlang/circular.c: New file.
12187 * gdb.dlang/circular.exp: New file.
12188
9fde51ed
YQ
121892016-02-26 Yao Qi <yao.qi@linaro.org>
12190
12191 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
12192 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
12193 (testcases): Update.
12194
ce90fefe
YQ
121952016-02-26 Yao Qi <yao.qi@linaro.org>
12196
12197 * gdb.reverse/aarch64.c: Rename to ...
12198 * gdb.reverse/insn-reverse.c: ... it.
12199 * gdb.reverse/aarch64.exp: Rename to ...
12200 * gdb.reverse/insn-reverse.exp: ... it.
12201
3263bceb
YQ
122022016-02-26 Yao Qi <yao.qi@linaro.org>
12203
12204 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
12205 (testcase_ftype): New.
12206 (testcases): New array.
12207 (n_testcases): New.
12208 (main): Call each element in testcases.
12209 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
12210 (read_testcase): New.
12211 Do the tests in a loop.
12212
6cb59ff1
YQ
122132016-02-25 Yao Qi <yao.qi@linaro.org>
12214
12215 * gdb.base/branches.c: Remove.
12216
ae91f625
MK
122172016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12218
12219 PR gdb/13808
12220 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
12221
678b48b7
MK
122222016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12223
12224 * gdb.trace/ftrace.exp: Remove unnecessary target check.
12225
7337a6f2
MK
122262016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12227
12228 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
12229 change x86_64 call_insn to 'callq'.
12230
861ca91f
AT
122312016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12232
12233 * gdb.trace/tfile-avx.c: Move to...
12234 * gdb.trace/tracefile-pseudo-reg.c: Here.
12235 * gdb.trace/tfile-avx.exp: Move to...
12236 * gdb.trace/tracefile-pseudo-reg.exp: Here.
12237
bf74e428
GB
122382016-02-24 Gary Benson <gbenson@redhat.com>
12239
12240 * gdb.base/attach-pie-noexec.exp: Do not expect an error
12241 message on attach.
12242
cce0e923
DE
122432016-02-23 Doug Evans <dje@google.com>
12244
12245 * gdb.base/skip.c (test_skip): New function.
12246 (end_test_skip_file_and_function): New function.
12247 (test_skip_file_and_function): New function.
12248 * gdb.base/skip1.c (test_skip): New function.
12249 (skip1_test_skip_file_and_function): New function.
12250 * gdb.base/skip.exp: Add tests for new skip options.
12251 * gdb.base/skip-solib.exp: Update expected output.
12252 * gdb.perf/skip-command.cc: New file.
12253 * gdb.perf/skip-command.exp: New file.
12254 * gdb.perf/skip-command.py: New file.
12255
4000e47e
MK
122562016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
12257
12258 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
12259 info registers pattern.
12260
24f75ead
IB
122612016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
12262
12263 * lib/future.exp: Add D support.
12264 (gdb_find_gdc): New proc.
12265 (gdb_default_target_compile): Add D support.
12266
fbb7bcbe
WW
122672016-02-18 Wei-cheng Wang <cole945@gmail.com>
12268
12269 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
12270 user+system time.
12271 (trace_speed_test): Determine the iteration count for a time
12272 between 15..30 seconds.
12273
012b3a21
WT
122742016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
12275
12276 * gdb.arch/i386-mpx-sigsegv.c: New file.
12277 * gdb.arch/i386-mpx-sigsegv.exp: New file.
12278 * gdb.arch/i386-mpx-simple_segv.c: New file.
12279 * gdb.arch/i386-mpx-simple_segv.exp: New file.
12280
2d5189bd
YQ
122812016-02-18 Yao Qi <yao.qi@linaro.org>
12282
12283 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12284 Don't call setup_kfail.
12285
40fb20d0
YQ
122862016-02-18 Yao Qi <yao.qi@linaro.org>
12287
12288 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12289 Set "set breakpoint condition-evaluation" per $cond_bp_target.
12290
21b1f8d2
DE
122912016-02-16 Doug Evans <dje@google.com>
12292
12293 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
12294 * gdb.base/skip1.c: Ditto.
12295 * gdb.base/skip.exp: Whitespace cleanup.
12296
4041ed77
DB
122972016-02-16 Don Breazeal <donb@codesourcery.com>
12298
12299 PR remote/19496
12300 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12301 Remove kfail for PR remote/19496.
12302
c4ef31bf
SM
123032016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12304
12305 * lib/gdb.exp (standard_temp_file): Return a path specific to
12306 the runtest invocation.
12307
266b65b3
SM
123082016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12309
12310 * gdb.trace/save-trace.exp: Change relative path to be in the
12311 standard output directory.
12312
a7a0a6a9
JK
123132016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12314
12315 * gdb.arch/i386-prologue.c: Add missing prototypes.
12316
c99dbb42
JK
123172016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12318
12319 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
12320 * gdb.arch/i386-prologue.exp: Likewise.
12321 * gdb.arch/i386-size.exp: Likewise.
12322
aa480355
SM
123232016-02-15 Simon Marchi <simon.marchi@ericsson.com>
12324
12325 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
12326 define object file path.
12327 * gdb.btrace/gcore.exp: Use standard_output_file to define core
12328 file path.
12329 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
12330 standard_output_file to define binfile.
12331
ba881f50
JK
123322016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12333
12334 Fix compatibility with recent gfortran-5.3.1.
12335 * gdb.fortran/vla-history.exp (print vla1 allocated)
12336 (print vla2 allocated, print $2, print $3): Remove
12337 (print $4): Rename to ...
12338 (print $2): ... here.
12339 (print $9): Rename to ...
12340 (print $5): ... here.
12341 (print $10): Rename to ...
12342 (print $6): ... here.
12343 * gdb.fortran/vla.f90: Add pvla initialization.
12344
e9fb005c
JK
123452016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12346
12347 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
12348 New test.
12349 * gdb.fortran/vla-value-sub.exp: Likewise.
12350
e44e00ff
MK
123512016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
12352
12353 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
12354
97e94151
SM
123552016-02-12 Simon Marchi <simon.marchi@ericsson.com>
12356
12357 * i386-biarch-core.exp: Define corefile using
12358 standard_output_file.
12359
01113bc1
YQ
123602016-02-12 Yao Qi <yao.qi@linaro.org>
12361
12362 * gdb.arch/arm-single-step-kernel-helper.c: New.
12363 * gdb.arch/arm-single-step-kernel-helper.exp: New.
12364
33b4777c
MM
123652016-02-12 Markus Metzger <markus.t.metzger@intel.com>
12366
12367 * gdb.btrace/tailcall-only.exp: New.
12368 * gdb.btrace/tailcall-only.c: New.
12369 * gdb.btrace/x86_64-tailcall-only.S: New.
12370 * gdb.btrace/i686-tailcall-only.S: New.
12371
acc23c11
PA
123722016-02-11 Pedro Alves <palves@redhat.com>
12373
12374 * README (Parallel testing): Add missing double quotes.
12375
e352bf0a
PA
123762016-02-11 Pedro Alves <palves@redhat.com>
12377
12378 * README (Parallel testing): New section.
12379 (GDB_PARALLEL): Rewrite.
12380 (FORCE_PARALLEL): Document.
12381
9f5fed78
MK
123822016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
12383
12384 * gdb.trace/tfile-avx.c: New test.
12385 * gdb.trace/tfile-avx.exp: New test.
12386
9ef9e6a6
KS
123872016-02-09 Keith Seitz <keiths@redhat.com>
12388
12389 PR breakpoints/19546
12390 * gdb.base/infcall-exec.c: New file.
12391 * gdb.base/infcall-exec2.c: New file.
12392 * gdb.base/infcall-exec.exp: New file.
12393
a96e36da
KS
123942016-02-09 Keith Seitz <keiths@redhat.com>
12395
12396 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
12397 (toplevel): Call test_bkpt_address.
12398
9f61929f
KS
123992016-02-09 Keith Seitz <keiths@redhat.com>
12400
12401 PR python/19506
12402 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
12403 (toplevel): Call test_bkpt_address.
12404
1e94266c
SM
124052016-02-09 Simon Marchi <simon.marchi@ericsson.com>
12406
12407 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
12408 to AC_OUTPUT.
12409 * configure: Regenerate.
12410
2a7f3dff
PA
124112016-02-09 Pedro Alves <palves@redhat.com>
12412
12413 PR breakpoints/19548
12414 * gdb.base/execl-update-breakpoints.c (some_function): New
12415 function.
12416 (main): Call it.
12417 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
12418 Tighten expected GDB output.
12419
2151ccc5
SM
124202016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12421
12422 * Makefile.in (ALL_SUBDIRS): Remove.
12423 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
12424 (distclean maintainer-clean realclean): Likewise.
12425 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
12426 * configure: Regenerate.
12427 * gdb.ada/Makefile.in: Delete.
12428 * gdb.arch/Makefile.in: Likewise.
12429 * gdb.asm/Makefile.in: Likewise.
12430 * gdb.base/Makefile.in: Likewise.
12431 * gdb.btrace/Makefile.in: Likewise.
12432 * gdb.cell/Makefile.in: Likewise.
12433 * gdb.compile/Makefile.in: Likewise.
12434 * gdb.cp/Makefile.in: Likewise.
12435 * gdb.disasm/Makefile.in: Likewise.
12436 * gdb.dlang/Makefile.in: Likewise.
12437 * gdb.dwarf2/Makefile.in: Likewise.
12438 * gdb.fortran/Makefile.in: Likewise.
12439 * gdb.gdb/Makefile.in: Likewise.
12440 * gdb.go/Makefile.in: Likewise.
12441 * gdb.guile/Makefile.in: Likewise.
12442 * gdb.java/Makefile.in: Likewise.
12443 * gdb.linespec/Makefile.in: Likewise.
12444 * gdb.mi/Makefile.in: Likewise.
12445 * gdb.modula2/Makefile.in: Likewise.
12446 * gdb.multi/Makefile.in: Likewise.
12447 * gdb.objc/Makefile.in: Likewise.
12448 * gdb.opencl/Makefile.in: Likewise.
12449 * gdb.opt/Makefile.in: Likewise.
12450 * gdb.pascal/Makefile.in: Likewise.
12451 * gdb.perf/Makefile.in: Likewise.
12452 * gdb.python/Makefile.in: Likewise.
12453 * gdb.reverse/Makefile.in: Likewise.
12454 * gdb.server/Makefile.in: Likewise.
12455 * gdb.stabs/Makefile.in: Likewise.
12456 * gdb.threads/Makefile.in: Likewise.
12457 * gdb.trace/Makefile.in: Likewise.
12458 * gdb.xml/Makefile.in: Likewise.
12459 * lib/gdb.exp (make_gdb_parallel_path): Add check for
12460 GDB_PARALLEL.
12461 (standard_output_file): Remove check for GDB_PARALLEL, always
12462 return path in outputs/$subdir/$testname.
12463
437277d4
SM
124642016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12465
12466 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
12467 (site.exp): Assign abs_srcdir to tcl's srcdir.
12468
31d913c7
YQ
124692016-02-04 Yao Qi <yao.qi@linaro.org>
12470
12471 * gdb.base/foll-exec-mode.c: Include limits.h.
12472 (main): Add parameters argc and argv. Get directory from
12473 argv[0].
12474 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
12475 compilation.
12476 * gdb.base/foll-exec.c: Include limits.h.
12477 (main): Add parameters argc and argv.
12478 Get directory from argv[0].
12479 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
12480 Adjust tests on the number of lines as source code changed.
12481 * gdb.base/foll-vfork-exit.c: Include limits.h.
12482 (main): Add one line of statement before vfork.
12483 * gdb.base/foll-vfork.c: Include limits.h and string.h.
12484 (main): Add parameters argc and argv. Get directory from
12485 argv[0].
12486 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
12487 (setup_gdb): Set tbreak to skip some source lines.
12488 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
12489 (main): Add parameters argc and argv. Get directory from
12490 argv[0].
12491 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
12492 compilation.
12493 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
12494 (main): Add parameters argc and argv. Get directory from
12495 argv[0].
12496 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
12497 compilation.
12498
9482b9fb
DE
124992016-02-01 Doug Evans <dje@google.com>
12500
12501 * gdb.base/skip.exp: Clean up multiple references to same test name.
12502
6b2e4f10
PA
125032016-02-01 Pedro Alves <palves@redhat.com>
12504
ccb6afd6 12505 PR remote/19496
6b2e4f10
PA
12506 * gdb.threads/forking-threads-plus-breakpoint.exp
12507 (displaced_stepping_supported): New global.
12508 (probe_displaced_stepping_support): New procedure.
12509 (do_test): Add 'displaced' parameter, and use it.
12510 (top level): Check for displaced stepping support. Add displaced
12511 stepping on/off testing axis.
12512
37a8db1a
AB
125132016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12514
12515 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
12516 pointer. Don't perform further tests on the unassociated pointer
12517 if the first test fails.
12518
5fdf6324
AB
125192016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12520
12521 * gdb.base/max-value-size.c: New file.
12522 * gdb.base/max-value-size.exp: New file.
12523 * gdb.base/huge.exp: Disable max-value-size for this test.
12524
935c6144
IB
125252016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
12526
12527 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12528
7fe8399d
YQ
125292016-01-28 Yao Qi <yao.qi@linaro.org>
12530
12531 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
12532
a2077e25
PA
125332016-01-25 Pedro Alves <palves@redhat.com>
12534
12535 PR threads/19461
12536 * gdb.base/fork-running-state.c: New file.
12537 * gdb.base/fork-running-state.exp: New file.
12538
1d2736d4
PA
125392016-01-25 Pedro Alves <palves@redhat.com>
12540
12541 PR gdb/19494
12542 * gdb.base/catch-fork-kill.c: New file.
12543 * gdb.base/catch-fork-kill.exp: New file.
12544
f1da4b11
PA
125452016-01-25 Pedro Alves <palves@redhat.com>
12546
12547 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
12548 Delete, moved to lib/gdb.exp.
12549 * gdb.threads/forking-threads-plus-breakpoint.exp
12550 (foreach_with_prefix): Likewise.
12551 * gdb.threads/process-dies-while-handling-bp.exp
12552 (foreach_with_prefix): Likewise.
12553 * lib/gdb.exp (foreach_with_prefix): New procedure.
12554
45f38546
MK
125552016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
12556
12557 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
12558 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
12559
dc29a1ce
MK
125602016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
12561
12562 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
12563 endian targets.
12564
092127d7
JK
125652016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12566 Pedro Alves <palves@redhat.com>
12567
12568 Fix testsuite compatibility with Guile.
12569 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
12570 number.
12571
31d765d3
JK
125722016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12573
12574 Fix testsuite compatibility with Guile.
12575 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
12576 (thread 1): New test for backtrace through signal handler.
12577
1ac78c04
YQ
125782016-01-22 Yao Qi <yao.qi@linaro.org>
12579
12580 PR testsuite/19491
12581 * gdb.base/multi-forks.c: Include
12582 ../lib/unbuffer_output.c
12583 (main): Call gdb_unbuffer_output.
12584
4f5946a8
DE
125852016-01-21 Doug Evans <dje@google.com>
12586
12587 * lib/ada.exp (gdb_compile_ada): Fix typo.
12588
305e13e6
JB
125892016-01-21 Joel Brobecker <brobecker@adacore.com>
12590
12591 * gdb.base/break-fun-addr.exp: New file.
12592 * gdb.base/break-fun-addr1.c: New file.
12593 * gdb.base/break-fun-addr2.c: New file.
12594
5f5dfff6
SM
125952016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
12596
12597 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
12598 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
12599 enum flag values.
12600
fd356fa2
AA
126012016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12602
12603 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
12604 when GDB can not set the vector return value. Add more comments
12605 for clarification.
12606
9df22175
AT
126072016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
12608
12609 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
12610 command.
12611
41d1845e
SM
126122016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12613
12614 * Makefile.in (DO_RUNTEST): Add --status and update usages.
12615
01ac6840
SM
126162016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12617
12618 * Makefile.in (check-single): Pass --status to runtest.
12619 (check/%.exp): Likewise.
12620
126212016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12622
12623 * Makefile.in (check-parallel): Propagate return code from make
12624 do-check-parallel.
12625
bd0a71fa
MK
126262016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
12627
12628 * gdb.trace/ftrace.exp: Fix expected message on continue.
12629 * gdb.trace/pending.exp: Fix expected message on continue.
12630 * gdb.trace/trace-break.exp: Fix expected message on continue.
12631
8bcbad33
SM
126322016-01-18 Simon Marchi <simon.marchi@ericsson.com>
12633
12634 * lib/gdb.exp (gdb_test): Remove unused global references.
12635
f303dbd6
PA
126362016-01-18 Pedro Alves <palves@redhat.com>
12637
12638 * gdb.base/async-shell.exp: Adjust expected output.
12639 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
12640 * gdb.base/siginfo-thread.exp: Adjust expected output.
12641 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
12642 * gdb.java/jnpe.exp: Adjust expected output.
12643 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
12644 * gdb.threads/continue-pending-status.exp: Adjust expected output.
12645 * gdb.threads/leader-exit.exp: Adjust expected output.
12646 * gdb.threads/manythreads.exp: Adjust expected output.
12647 * gdb.threads/pthreads.exp: Adjust expected output.
12648 * gdb.threads/schedlock.exp: Adjust expected output.
12649 * gdb.threads/siginfo-threads.exp: Adjust expected output.
12650 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
12651 expected output.
12652 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
12653 output.
12654 * gdb.threads/sigthread.exp: Adjust expected output.
12655 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
12656
b2789696
YQ
126572016-01-18 Yao Qi <yao.qi@linaro.org>
12658
12659 * gdb.guile/scm-section-script.c: Replace @progbits with
12660 %progbits.
12661 * gdb.python/py-section-script.c: Likewise.
12662
71ef29a8
PA
126632016-01-15 Pedro Alves <palves@redhat.com>
12664
12665 * gdb.multi/tids.exp: Test star wildcard ranges.
12666
3f5b7598
PA
126672016-01-15 Pedro Alves <palves@redhat.com>
12668
12669 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
12670 command from "thread apply" invocation.
12671 (thr_apply_info_thr_invalid): Default the expected output to the
12672 input tid list.
12673 (top level): Add tests that use convenience variables. Add tests
12674 for "thread apply" with a valid TID list, but missing the command.
12675
663f6d42
PA
126762016-01-13 Pedro Alves <palves@redhat.com>
12677
12678 * gdb.base/default.exp: Expect $_gthread as well.
12679 * gdb.multi/tids.exp: Test $_gthread.
12680 * gdb.threads/thread-specific.exp: Test $_gthread.
12681
c84f6bbf
PA
126822016-01-13 Pedro Alves <palves@redhat.com>
12683
12684 * gdb.multi/tids.exp: Test "info threads -gid".
12685
22a02324
PA
126862016-01-13 Pedro Alves <palves@redhat.com>
12687
12688 * gdb.multi/tids.exp: Test InferiorThread.global_num and
12689 Breakpoint.thread.
12690 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
12691
5d5658a1
PA
126922016-01-07 Pedro Alves <palves@redhat.com>
12693
12694 * gdb.base/break.exp: Adjust to output changes.
12695 * gdb.base/hbreak2.exp: Likewise.
12696 * gdb.base/sepdebug.exp: Likewise.
12697 * gdb.base/watch_thread_num.exp: Likewise.
12698 * gdb.linespec/keywords.exp: Likewise.
12699 * gdb.multi/info-threads.exp: Likewise.
12700 * gdb.threads/thread-find.exp: Likewise.
12701 * gdb.multi/tids.c: New file.
12702 * gdb.multi/tids.exp: New file.
12703
84654457
PA
127042016-01-13 Pedro Alves <palves@redhat.com>
12705
12706 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
12707
e3940304
PA
127082016-01-13 Pedro Alves <palves@redhat.com>
12709
12710 * gdb.base/default.exp: Expect $_inferior as well.
12711 * gdb.multi/base.exp: Test $_inferior.
12712
a911d87a
PA
127132016-01-13 Pedro Alves <palves@redhat.com>
12714
12715 PR breakpoints/19388
12716 * gdb.base/catch-signal-siginfo-cond.c: New file.
12717 * gdb.base/catch-signal-siginfo-cond.exp: New file.
12718
82075af2
JS
127192016-01-12 Josh Stone <jistone@redhat.com>
12720 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12721
12722 * gdb.base/catch-syscall.c (do_execve): New variable.
12723 (main): Conditionally trigger an execve.
12724 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
12725 (test_catch_syscall_execve): New, check entry/return across execve.
12726 (do_syscall_tests): Call test_catch_syscall_execve.
12727
e46eeedd
PA
127282016-01-12 Pedro Alves <palves@redhat.com>
12729
12730 * gdb.base/random-signal.exp (do_test): New procedure, with body
12731 of testcase moved in.
12732
01d8c27e
JK
127332016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12734 Pedro Alves <palves@redhat.com>
12735
12736 * gdb.base/funcargs.exp (finish from indirectly called function):
12737 Reintroduce the case for 'First'.
12738
9a706302
JK
127392016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12740 Pedro Alves <palves@redhat.com>
12741
12742 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
12743 (tcatch_vfork_then_child_follow_exec)
12744 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
12745 identification.
12746
c0ecb95f
JK
127472016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12748
12749 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
12750 and repeats to unlimited.
12751 * gdb.python/py-value.exp: Likewise.
12752 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
12753 and repeats to unlimited.
12754
6cfc1fcb
JK
127552016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12756
12757 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
12758 and reordering the functions.
12759 * gdb.multi/hangout.c: Likewise.
12760 * gdb.multi/hello.c: Likewise.
12761
582a1b00
SM
127622016-01-08 Simon Marchi <simon.marchi@ericsson.com>
12763
12764 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
12765 absolute.
12766 (SingleStatisticTestResult.report): Use dict.keys instead of
12767 dict.iterkeys.
12768
79bc59cb
PA
127692016-01-06 Pedro Alves <palves@redhat.com>
12770
12771 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
12772
43368e1d
MM
127732016-01-04 Markus Metzger <markus.t.metzger@intel.com>
12774
12775 * gdb.btrace/dlopen.exp: New.
12776 * gdb.btrace/dlopen.c: New.
12777 * gdb.btrace/dlopen-dso.c: New.
12778
79fad5b8
SL
127792015-12-25 Sandra Loosemore <sandra@codesourcery.com>
12780
12781 * lib/gdb.exp (gdb_test): Update comments to clarify that the
12782 PATTERN argument is optional.
12783
ab8314b3
JB
127842015-12-24 Joel Brobecker <brobecker@adacore.com>
12785
12786 * lib/ada.exp (target_compile_ada_from_dir): New function.
12787 (gdb_compile_ada): Reimplement avoiding the use of project files.
12788 * gdb.ada/gnat_ada.gpr: Delete.
12789 * gdb.ada/cond_lang.exp: Adjust test to make path before
12790 filename optional.
12791 * gdb.ada/small_reg_param.exp: Likewise.
12792
fe33faff
SM
127932015-12-22 Simon Marchi <simon.marchi@ericsson.com>
12794
12795 * gdb.base/foll-vork.exp: Remove HP-UX special case.
12796
6d265cb4
TP
127972015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
12798
12799 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
12800 case.
12801
10125099
SM
128022015-12-21 Simon Marchi <simon.marchi@ericsson.com>
12803
12804 * gdb.base/break.exp: Remove dead code.
12805 * gdb.base/sepdebug.exp: Likewise.
12806
3ca22649
SM
128072015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12808
12809 * gdb.asm/asm-source.exp: Remove HP-UX references.
12810 * gdb.base/annota1.exp: Likewise.
12811 * gdb.base/annota3.exp: Likewise.
12812 * gdb.base/attach.exp: Likewise.
12813 * gdb.base/bigcore.exp: Likewise.
12814 * gdb.base/break.exp: Likewise.
12815 * gdb.base/call-ar-st.exp: Likewise.
12816 * gdb.base/callfuncs.exp: Likewise.
12817 * gdb.base/catch-fork-static.exp: Likewise.
12818 * gdb.base/display.exp: Likewise.
12819 * gdb.base/foll-exec-mode.exp: Likewise.
12820 * gdb.base/foll-exec.exp: Likewise.
12821 * gdb.base/foll-fork.exp: Likewise.
12822 * gdb.base/foll-vfork.exp: Likewise.
12823 * gdb.base/funcargs.exp: Likewise.
12824 * gdb.base/hbreak2.exp: Likewise.
12825 * gdb.base/inferior-died.exp: Likewise.
12826 * gdb.base/interrupt.exp: Likewise.
12827 * gdb.base/multi-forks.exp: Likewise.
12828 * gdb.base/nodebug.exp: Likewise.
12829 * gdb.base/sepdebug.exp: Likewise.
12830 * gdb.base/solib1.c: Likewise.
12831 * gdb.base/step-test.exp: Likewise.
12832 * gdb.mi/non-stop.c: Likewise.
12833 * gdb.mi/pthreads.c: Likewise.
12834 * gdb.multi/bkpt-multi-exec.ex: Likewise.
12835 * gdb.threads/pthreads.c: Likewise.
12836 * gdb.threads/staticthreads.exp: Likewise.
12837 * lib/future.exp: Likewise.
12838 * lib/gdb.exp: Likewise.
12839 * gdb.base/so-indr-cl.c: Remove.
12840 * gdb.base/so-indr-cl.exp: Likewise.
12841 * gdb.base/solib.c: Likewise.
12842 * gdb.base/solib.exp: Likewise.
12843 * gdb.base/solib2.c: Likewise.
12844
b6304613
SM
128452015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12846
12847 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
12848 * gdb.base/call-ar-st.exp: Likewise.
12849 * gdb.base/callfuncs.exp: Likewise.
12850 * gdb.base/condbreak.exp: Likewise.
12851 * gdb.base/constvars.exp: Likewise.
12852 * gdb.base/hbreak2.exp: Likewise.
12853 * gdb.base/langs.exp: Likewise.
12854 * gdb.base/list.exp: Likewise.
12855 * gdb.base/long_long.exp: Likewise.
12856 * gdb.base/ptype.exp: Likewise.
12857 * gdb.base/scope.exp: Likewise.
12858 * gdb.base/signals.exp: Likewise.
12859 * gdb.base/so-impl-ld.exp: Likewise.
12860 * gdb.base/varargs.exp: Likewise.
12861 * gdb.base/volatile.exp: Likewise.
12862 * gdb.base/whatis.exp: Likewise.
12863 * gdb.cp/cplusfuncs.exp: Likewise.
12864 * gdb.cp/inherit.exp: Likewise.
12865 * gdb.cp/local.exp: Likewise.
12866 * gdb.cp/member-ptr.exp: Likewise.
12867 * gdb.cp/method.exp: Likewise.
12868 * gdb.cp/overload.exp: Likewise.
12869 * gdb.cp/templates.exp: Likewise.
12870 * gdb.stabs/weird.exp: Likewise.
12871 * lib/compiler.c: Likewise.
12872 * lib/compiler.cc: Likewise.
12873 * lib/cp-support.exp: Likewise.
12874 * lib/gdb.exp: Likewise.
12875
bf401b07
SM
128762015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
12877
12878 * configure.ac: Remove HP-UX case.
12879 * configure: Regenerate.
12880
aff9c0f8
SM
128812015-12-18 Simon Marchi <simon.marchi@ericsson.com>
12882
12883 * lib/gdb.exp (gdb_compile): Add function doc.
12884
a6904d5a
PA
128852015-12-17 Pedro Alves <palves@redhat.com>
12886
12887 PR threads/19354
12888 * gdb.multi/info-threads.exp: New file.
12889
a22279dd
YQ
128902015-12-15 Yao Qi <yao.qi@linaro.org>
12891
12892 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
12893 is aarch64*-*-*.
12894
0588c796
SL
128952015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12896
12897 * gdb.base/history-duplicates.exp: Skip if no readline support.
12898
5d978e17
SL
128992015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12900
12901 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
12902
7e763b86
SL
129032015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12904
12905 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
12906
87a3a92c
SL
129072015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12908
12909 * gdb.base/completion.exp: Skip tests that interrupt GDB with
12910 ctrl-C if nointerrupts target property is set.
12911 * gdb.base/double-prompt-target-event-error.exp: Likewise.
12912 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
12913 * gdb.base/paginate-bg-execution.exp: Likewise.
12914 * gdb.base/paginate-execution-startup.exp: Likewise.
12915 * gdb.base/random-signal.exp: Likewise.
12916 * gdb.base/range-stepping.exp: Likewise.
12917 * gdb.cp/annota2.exp: Likewise.
12918 * gdb.cp/annota3.exp: Likewise.
12919 * gdb.gdb/selftest.exp: Likewise.
12920 * gdb.threads/continue-pending-status.exp: Likewise.
12921 * gdb.threads/leader-exit.exp: Likewise.
12922 * gdb.threads/manythreads.exp: Likewise.
12923 * gdb.threads/pthreads.exp: Likewise.
12924 * gdb.threads/schedlock.exp: Likewise.
12925 * gdb.threads/sigthread.exp: Likewise.
12926
a8f077dc
DB
129272015-12-11 Don Breazeal <donb@codesourcery.com>
12928
12929 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12930 remote.
12931 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12932 * gdb.base/foll-exec.exp (main): Enable for target remote.
12933 * gdb.base/foll-fork.exp (main): Likewise.
12934 * gdb.base/foll-vfork.exp (main): Likewise.
12935 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12936 (proc continue_to_exit_bp_loc): Use clean_restart.
12937 * gdb.base/pie-execl.exp (main): Disable for target remote.
12938 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12939 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12940 * gdb.threads/execl.exp (main): Likewise.
12941 * gdb.threads/fork-child-threads.exp (main): Likewise.
12942 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12943 remote.
12944 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12945 remote.
12946 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12947 pid.tid style ptids, instead of just tid.
12948 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12949 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12950 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12951 ptids, instead of just tid.
12952
3b2464a8
AB
129532015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12954
12955 * gdb.base/list.exp (test_list_forward): Add end of file error
12956 test.
12957 (test_repeat_list_command): Add end of file error test.
12958 (test_list_backwards): Add beginning of file error test.
12959
a0def019
AB
129602015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12961
12962 * gdb.base/list.exp (test_list_invalid_args): New function,
12963 defined, and called.
12964
5c000dff
AB
129652015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12966
12967 * gdb.base/list.exp (test_list): Make test names unique.
12968
f1637ebe
YQ
129692015-12-11 Yao Qi <yao.qi@linaro.org>
12970
12971 * gdb.base/coremaker2.c: Remove.
12972
36d6fc0a
PA
129732015-12-10 Pedro Alves <palves@redhat.com>
12974
12975 * gdb.multi/base.exp: Remove stale "spaces" references.
12976
762f7747
PA
129772015-12-10 Pedro Alves <palves@redhat.com>
12978
12979 * gdb.multi/base.exp: Don't use nowarnings.
12980 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12981 * gdb.multi/hangout.c: Include stdio.h.
12982 * gdb.multi/hello.c: Include stdlib.h.
12983 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12984 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12985 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12986
28d2bfb9
AB
129872015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12988
12989 * gdb.dwarf2/dw2-ranges-base.c: New file.
12990 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12991 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12992 support additional line table, and debug ranges generation.
12993 (Dwarf::ranges): New function, generate .debug_ranges.
12994 (Dwarf::lines): Support generating simple line table programs.
12995 (Dwarf::assemble): Initialise new namespace variables.
12996
5fc2beac
KB
129972015-12-09 Kevin Buettner <kevinb@redhat.com>
12998
12999 * gdb.base/async.exp (proc test_background): Add case for
13000 asynchronous execution not supported.
13001
1c35a88f
LM
130022015-12-09 Luis Machado <lgustavo@codesourcery.com>
13003
13004 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
13005 format and change test names to make them unique.
13006
b593e3d9
RK
130072015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
13008 Pedro Alves <pedro@redhat.com>
13009
13010 PR gdb/18702
13011 Add checking of floatformats setup on x86_64 hosts.
13012 * gdb.arch/i386-float.S (main): Load bigval and smallval.
13013 (smallval, bigval): New labels/constants.
13014 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
13015 float" after loading bigval and smallval.
13016
d72413e6
PMR
130172015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
13018
13019 * gdb.ada/fun_overload_menu.exp: New testcase.
13020 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
13021
ece66d65
JS
130222015-12-04 Josh Stone <jistone@redhat.com>
13023
13024 * gdb.base/catch-fork-static.exp: New.
13025
41d0efca
YQ
130262015-12-03 Yao Qi <yao.qi@linaro.org>
13027
13028 * gdb.base/sizeof.c: Don't include stdio.h and
13029 ../lib/unbuffer_output.c.
13030 (main): New variable 'size' and 'value'. Remove printf and
13031 gdb_unbuffer_output. Assign return value to size and value.
13032 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
13033 at the beginning.
13034 (check_sizeof): Check the result by printing variable 'size'.
13035 (check_valueof): Check the result by printing variable 'value'.
13036
99fd02d9
YQ
130372015-12-01 Yao Qi <yao.qi@linaro.org>
13038
13039 * gdb.base/disp-step-syscall.exp: Define syscall instruction
13040 for aarch64*-*-linux* target.
13041
f2faf941
PA
130422015-11-30 Pedro Alves <palves@redhat.com>
13043
13044 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
13045
04bf20c5
PA
130462015-11-30 Pedro Alves <palves@redhat.com>
13047
13048 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
13049 Handle non-stop mode vCont replies.
13050
09df4675
PA
130512015-11-30 Pedro Alves <palves@redhat.com>
13052
13053 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
13054 prepare_for_testing. Start gdb with "set non-stop on" appended to
13055 GDBFLAGS. Lax expected stop output.
13056
58b584af
YQ
130572015-11-27 Yao Qi <yao.qi@linaro.org>
13058
13059 * gdb.arch/arm-neon.exp: New.
13060 * gdb.arch/arm-neon.c: New.
13061
dfcb77a8
YQ
130622015-11-27 Yao Qi <yao.qi@linaro.org>
13063
13064 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
13065
88e8ec1b
YQ
130662015-11-27 Yao Qi <yao.qi@linaro.org>
13067
13068 * gdb.cp/annota2.exp: Allow multiple occurrences of the
13069 frames-invalid annotation.
13070
bfde72c2
YQ
130712015-11-27 Yao Qi <yao.qi@linaro.org>
13072
13073 * gdb.cp/annota2.exp: Use ${frames_invalid}.
13074
f6512a69
SM
130752015-11-26 Simon Marchi <simon.marchi@ericsson.com>
13076
13077 * gdb.threads/names.exp: New file.
13078 * gdb.threads/names.c: New file.
13079 * README: Mention gdb,no_thread_names.
13080
46a3515b
MM
130812015-11-26 Markus Metzger <markus.t.metzger@intel.com>
13082
13083 PR 19297
13084 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
13085 support" error.
13086
62147a22
PA
130872015-11-24 Pedro Alves <palves@redhat.com>
13088
13089 PR 17539
13090 * gdb.base/display.exp: Expect displays to be sorted in ascending
13091 order. Use multi_line.
13092 * gdb.base/solib-display.exp: Likewise.
13093
2f341b6e
PA
130942015-11-24 Pedro Alves <palves@redhat.com>
13095
13096 PR 17539
25d49b86
PA
13097 * gdb.base/display.exp: Expect displays to be sorted in ascending
13098 order. Use multi_line.
13099 * gdb.base/solib-display.exp: Likewise.
2f341b6e 13100
7e0aa6aa
PA
131012015-11-24 Pedro Alves <palves@redhat.com>
13102
13103 PR 17539
13104 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
13105 threads in ascending order.
13106 * gdb.base/foll-fork.exp: Likewise.
13107 * gdb.base/foll-vfork.exp: Likewise.
13108 * gdb.base/multi-forks.exp: Likewise.
13109 * gdb.mi/mi-nonstop.exp: Likewise.
13110 * gdb.mi/mi-nsintrall.exp: Likewise.
13111 * gdb.multi/base.exp: Likewise.
13112 * gdb.multi/multi-arch.exp: Likewise.
13113 * gdb.python/py-inferior.exp: Likewise.
13114 * gdb.threads/break-while-running.exp: Likewise.
13115 * gdb.threads/execl.exp: Likewise.
13116 * gdb.threads/gcore-thread.exp: Likewise.
13117 * gdb.threads/info-threads-cur-sal.exp: Likewise.
13118 * gdb.threads/kill.exp: Likewise.
13119 * gdb.threads/linux-dp.exp: Likewise.
13120 * gdb.threads/multiple-step-overs.exp: Likewise.
13121 * gdb.threads/next-bp-other-thread.exp: Likewise.
13122 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
13123 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
13124 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
13125 * gdb.threads/thread-find.exp: Likewise.
13126 * gdb.threads/tls.exp: Likewise.
13127 * lib/mi-support.exp (mi_reverse_list): Delete.
13128 (mi_check_thread_states): No longer reverse list.
13129
2cc57ad8
PA
131302015-11-24 Pedro Alves <palves@redhat.com>
13131
13132 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
13133 use lowercase.
13134
c93e8391
SM
131352015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13136
13137 * gdb.trace/actions.c: Include trace-common.h.
13138 (main): Add a location for a fast tracepoint.
13139 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
13140 the normal tracepoints.
13141 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
13142
045ccf91
SM
131432015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13144
13145 * save-trace.exp: Factor out code to these...
13146 (gdb_save_tracepoints): New.
13147 (gdb_load_tracepoints): New.
13148 (do_save_load_test): New.
13149
5506f9f6
KB
131502015-11-23 Kevin Buettner <kevinb@redhat.com>
13151
13152 * gdb.base/asmlabel.exp: New test.
13153 * gdb.base/asmlabel.c: New test case.
13154
16c3b12f
JB
131552015-11-23 Joel Brobecker <brobecker@adacore.com>
13156
13157 * gdb.base/wrong_frame_bt_full-main.c: New file.
13158 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
13159 * gdb.base/wrong_frame_bt_full.exp: New file.
13160
155bfbd3
JB
131612015-11-23 Joel Brobecker <brobecker@adacore.com>
13162
13163 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
13164
bb097445
JM
131652015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13166
206853a0 13167 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
13168 pstate register when comparing registers values in
13169 sparc64-*-linux-gnu targets to avoid spurious differences.
13170
9c88ed8f
JM
131712015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13172
206853a0 13173 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 13174
96161e25
SL
131752015-11-19 Sandra Loosemore <sandra@codesourcery.com>
13176
13177 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
13178 as type argument to gdb_compile.
13179 * gdb.base/nested-subp2.exp: Likewise.
13180 * gdb.base/nested-subp3.exp: Likewise.
13181
340c2830
DV
131822015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
13183
13184 * lib/dwarf.exp (_note): Fix left shift of negative value.
13185 * gdb.trace/trace-condition.exp: Likewise.
13186
c1862d0f
YQ
131872015-11-13 Yao Qi <yao.qi@linaro.org>
13188
13189 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
13190 comments about d10v.
13191 (test_scalar_returns): Likewise.
13192 * gdb.base/d10v.ld: Remove.
13193 * gdb.base/overlays.exp: Remove the target triplet checking for
13194 d10v-*-*.
13195 * gdb.base/structs.exp (test_struct_returns): Remove the
13196 comments about d10v.
13197 (test_struct_calls): Likewise.
13198
77ae9c19
YQ
131992015-11-13 Yao Qi <yao.qi@linaro.org>
13200
13201 * gdb.base/gnu_vector.exp: Check the return value by "p res".
13202 * gdb.base/gnu_vector.c: Don't include stdio.h.
13203 (main): Don't print res and call add_some_intvecs.
13204
430e004e
MK
132052015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
13206
13207 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
13208 macro.
13209 (func5): Removed.
13210 (func4): Use FAST_TRACEPOINT_LABEL.
13211 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
13212 macro.
13213 (func): Removed.
13214 (thread_function): Use FAST_TRACEPOINT_LABEL.
13215 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
13216 (func): Remove.
13217 (marker): Use FAST_TRACEPOINT_LABEL.
13218 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
13219 (pendfunc1): Remove.
13220 (pendfunc): Use FAST_TRACEPOINT_LABEL.
13221 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
13222 (foo): Remove.
13223 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
13224 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
13225 macro.
13226 (func): Remove.
13227 (marker): Use FAST_TRACEPOINT_LABEL.
13228 * gdb.trace/trace-common.h: New header.
13229 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
13230 macro.
13231 (func): Remove.
13232 (marker): Use FAST_TRACEPOINT_LABEL.
13233 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
13234 (func): Remove.
13235 (thread_function): Use FAST_TRACEPOINT_LABEL.
13236
6e7675a7
MK
132372015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
13238
13239 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
13240 in front.
13241 * gdb.trace/change-loc.exp: Use global pcreg definition.
13242 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
13243 * gdb.trace/entry-values.exp: Use global spreg definition, add $
13244 in front.
13245 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
13246 * gdb.trace/pending.exp: Likewise.
13247 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
13248 * gdb.trace/trace-break.exp: Likewise.
13249 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
13250 in front.
13251 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
13252 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
13253 in front.
13254 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
13255
dddc0e16
JB
132562015-11-09 Joel Brobecker <brobecker@adacore.com>
13257
13258 * gdb.ada/fin_fun_out: New testcase.
13259
c6f0b406
KB
132602015-11-07 Kevin Buettner <kevinb@redhat.com>
13261
13262 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
13263 value associated with DW_AT_byte_size.
13264 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
13265 constants for DW_AT_byte_size, DW_AT_lower_bound, and
13266 DW_AT_upper_bound.
13267
f01dcfd9
KB
132682015-11-07 Kevin Buettner <kevinb@redhat.com>
13269
13270 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
13271 (gdb_target_symbol_prefix_flags): Define in terms of _asm
13272 version.
13273 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
13274 gdb.dwarf2/dw2-canonicalize-type.exp,
13275 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
13276 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
13277 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
13278 provided by gdb_target_symbol_prefix_flags_asm.
13279 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
13280 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
13281 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
13282 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
13283 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
13284 macros where needed). Use this macro for symbols which require
13285 the prefix provided by SYMBOL_PREFIX.
13286
2223449a
KB
132872015-11-05 Kevin Buettner <kevinb@redhat.com>
13288
13289 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
13290 New procs.
13291 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
13292 representing expressions, of more than one list element.
13293 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
13294 to prepend linker symbol prefix to f.
13295 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
13296 table_1 and table_2.
13297 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
13298 Likewise, for f and g.
13299 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
13300 for ptr.
13301 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
13302 for main.
13303 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
13304 table_1_ptr and table_2_ptr.
13305
6f2f1a3a
JK
133062015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13307 Joel Brobecker <brobecker@adacore.com>
13308
13309 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
13310
566c56c9
MK
133112015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
13312
13313 * gdb.reverse/s390-mvcle.c: New test.
13314 * gdb.reverse/s390-mvcle.exp: New file.
13315 * lib/gdb.exp: Enable reverse tests on s390*-linux.
13316
d5f0636b
MK
133172015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13318
13319 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
13320
7ad8b86c
MK
133212015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13322
13323 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
13324 reaching marker2.
13325 * gdb.reverse/getresuid-reverse.exp: Likewise.
13326 * gdb.reverse/pipe-reverse.exp: Likewise.
13327 * gdb.reverse/readv-reverse.exp: Likewise.
13328 * gdb.reverse/recvmsg-reverse.exp: Likewise.
13329 * gdb.reverse/time-reverse.exp: Likewise.
13330 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
13331
4081c0f1
YQ
133322015-10-30 Yao Qi <yao.qi@linaro.org>
13333
13334 * gdb.threads/wp-replication.c (watch_count_done): Remove.
13335 (empty_cycle): Remove.
13336 (main): Don't call empty_cycle. Don't use watch_count_done.
13337 * gdb.threads/wp-replication.exp: Don't set breakpoint on
13338 empty_cycle. Rewrite the code counting HW watchpoints.
13339
452b4ba5
MK
133402015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
13341
13342 * gdb.reverse/fstatat-reverse.c: New test.
13343 * gdb.reverse/fstatat-reverse.exp: New file.
13344 * gdb.reverse/getresuid-reverse.c: New test.
13345 * gdb.reverse/getresuid-reverse.exp: New file.
13346 * gdb.reverse/pipe-reverse.c: New test.
13347 * gdb.reverse/pipe-reverse.exp: New file.
13348 * gdb.reverse/readv-reverse.c: New test.
13349 * gdb.reverse/readv-reverse.exp: New file.
13350 * gdb.reverse/recvmsg-reverse.c: New test.
13351 * gdb.reverse/recvmsg-reverse.exp: New file.
13352 * gdb.reverse/time-reverse.c: New test.
13353 * gdb.reverse/time-reverse.exp: New file.
13354 * gdb.reverse/waitpid-reverse.c: New test.
13355 * gdb.reverse/waitpid-reverse.exp: New file.
13356
5e2e7507
JK
133572015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13358
13359 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
13360
0fde2c53
DE
133612015-10-26 Doug Evans <dje@google.com>
13362
13363 PR symtab/17391
13364 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
13365 * gdb.dwarf2/bad-regnum.c: New file.
13366 * gdb.dwarf2/bad-regnum.exp: New file.
13367
1a70ae97
DE
133682015-10-26 Doug Evans <dje@google.com>
13369
13370 PR python/18938
13371 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
13372 file.
13373
27dc26ab
JK
133742015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13375
13376 * gdb.compile/compile.exp (compile code globalvar): Update expectation
13377 for a change by "Mention language in compile error message".
13378
bed91f4d
SM
133792015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
13380
13381 PR python/18073
13382 * gdb.python/py-type.c (C::a_method): New.
13383 (C::a_const_method): New.
13384 (C::a_static_method): New.
13385 (a_function): New.
13386 * gdb.python/py-type.exp (test_fields): Test getting fields
13387 from function and method.
13388
3f2f83dd
KB
133892015-10-21 Keven Boell <keven.boell@intel.com>
13390
13391 * gdb.fortran/vla-alloc-assoc.exp: New file.
13392 * gdb.fortran/vla-datatypes.exp: New file.
13393 * gdb.fortran/vla-datatypes.f90: New file.
13394 * gdb.fortran/vla-history.exp: New file.
13395 * gdb.fortran/vla-ptype-sub.exp: New file.
13396 * gdb.fortran/vla-ptype.exp: New file.
13397 * gdb.fortran/vla-sizeof.exp: New file.
13398 * gdb.fortran/vla-sub.f90: New file.
13399 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
13400 * gdb.fortran/vla-value-sub-finish.exp: New file.
13401 * gdb.fortran/vla-value-sub.exp: New file.
13402 * gdb.fortran/vla-value.exp: New file.
13403 * gdb.fortran/vla-ptr-info.exp: New file.
13404 * gdb.mi/mi-vla-fortran.exp: New file.
13405 * gdb.mi/vla.f90: New file.
13406
27145d50
SL
134072015-10-21 Sandra Loosemore <sandra@codesourcery.com>
13408
13409 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
13410 of hardwired timeout value.
13411
5f3ff4f8
JK
134122015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13413 Pedro Alves <palves@redhat.com>
13414
13415 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
13416 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
13417
bfd09d20
JS
134182015-10-19 Josh Stone <jistone@redhat.com>
13419
13420 * gdb.base/catch-syscall.c: Include <sched.h>.
13421 (unknown_syscall): New variable.
13422 (main): Trigger a vfork and an unknown syscall.
13423 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
13424 (unknown_syscall_number): Likewise.
13425 (check_call_to_syscall): Accept an optional syscall pattern.
13426 (check_return_from_syscall): Likewise.
13427 (check_continue): Likewise.
13428 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
13429 (test_catch_syscall_skipping_return): New test toggling off 'catch
13430 syscall' to step over the syscall return, then toggling back on.
13431 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
13432 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
13433 (do_syscall_tests): Call test_catch_syscall_without_args and
13434 test_catch_syscall_mid_vfork.
13435 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
13436 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
13437
b32b93c6
AS
134382015-10-19 Andrew Stubbs <ams@codesourcery.com>
13439
13440 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
13441 print g_vE): Add new pass patterns.
13442 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
13443 print various symbol names for vptr fields.
13444
9d622bda
AB
134452015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
13446
13447 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
13448 results.
13449
0fd8ac1c
YQ
134502015-10-12 Yao Qi <yao.qi@linaro.org>
13451
13452 * gdb.arch/disp-step-insn-reloc.exp: New test case.
13453
34240514
YQ
134542015-10-12 Yao Qi <yao.qi@linaro.org>
13455
13456 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
13457 is aarch64*-*-linux*.
13458
8240f442
YQ
134592015-10-12 Yao Qi <yao.qi@linaro.org>
13460
13461 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
13462 (can_relocate_bcond_true): ... it.
13463 (can_relocate_bcond_false): New function.
13464 (foo): Likewise.
13465 (can_relocate_bl): Likewise.
13466 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
13467 can_relocate_bl.
13468
2520f728
PMR
134692015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
13470
13471 * gdb.base/nested-addr.c: New file.
13472 * gdb.base/nested-addr.exp: New testcase.
13473
abcef95a
MM
134742015-10-09 Markus Metzger <markus.t.metzger@intel.com>
13475
13476 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
13477 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
13478 its output. Ignore the output of "record goto begin" and instead
13479 check that GDB is replaying.
13480
145e3ddb
PA
134812015-10-09 Pedro Alves <palves@redhat.com>
13482
13483 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
13484 (top level): Use it in the run with no args test.
13485
d5d8c4e1
IB
134862015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
13487
13488 * gdb.dlang/properties.exp: New file.
13489
06e635ef
SL
134902015-10-02 Sandra Loosemore <sandra@codesourcery.com>
13491
13492 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
13493 whether or not address 0x1000 is mapped on the target.
13494
e019fd1d
SM
134952015-09-30 Simon Marchi <simon.marchi@ericsson.com>
13496
13497 * gdb.python/py-type.exp: Do not run tests if binaries fail to
13498 build.
13499
77ba2a67
MM
135002015-09-30 Markus Metzger <markus.t.metzger@intel.com>
13501
13502 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
13503 instruction-history test.
13504
c60eb31f
DE
135052015-09-28 Doug Evans <dje@google.com>
13506
13507 * gdb.base/gcore.c (array_func): Add reference to static_array.
13508
9a3c8263
SM
135092015-09-25 Simon Marchi <simon.marchi@ericsson.com>
13510
13511 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
13512 source line.
13513
9720e656
SL
135142015-09-24 Sandra Loosemore <sandra@codesourcery.com>
13515
13516 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
13517 short or char as base type.
13518
938d3bf2
SL
135192015-09-23 Sandra Loosemore <sandra@codesourcery.com>
13520
13521 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
13522 to allow any size enum.
13523
e6c2c623
PMR
135242015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
13525
13526 * gdb.ada/array_ptr_renaming.exp: New testcase.
13527 * gdb.ada/array_ptr_renaming/foo.adb: New file.
13528 * gdb.ada/array_ptr_renaming/pack.ads: New file.
13529
06da0f77
PL
135302015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13531
13532 * gdb.trace/ftrace-lock.c: New file.
13533 * gdb.trace/ftrace-lock.exp: New file.
13534
4f51c22a
PL
135352015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13536
13537 * gdb.arch/insn-reloc.c: New file.
13538 * gdb.arch/ftrace-insn-reloc.exp: New file.
13539
7041adf4
PL
135402015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13541
13542 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
13543 instruction.
13544 * gdb.trace/pendshr1.c (pendfunc): Likewise.
13545 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
13546 * gdb.trace/range-stepping.c: Likewise.
13547 * gdb.trace/trace-break.c: Likewise.
13548 * gdb.trace/trace-mt.c (thread_function): Likewise.
13549 * gdb.trace/ftrace.c (marker): Likewise.
13550 * gdb.trace/trace-condition.c (marker): Likewise.
13551 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
13552 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
13553 is_aarch64_target.
13554
015d2e7e
DE
135552015-09-18 Doug Evans <xdje42@gmail.com>
13556
13557 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
13558 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
13559
26b188a2
SL
135602015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13561
13562 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
13563 the breakpoint.
13564
79dc332b
SL
135652015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13566
13567 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
13568 the pending breakpoint. Remove timeout override for "Run till
13569 MI pending breakpoint on pendfunc3 on thread 2" test.
13570
f57929f2
SL
135712015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13572
13573 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
13574 filename pattern.
13575
3f469b17
SL
135762015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13577
13578 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
13579 in breakpoint filename pattern.
13580
515b89b3
SL
135812015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13582
7800dbe4
SL
13583 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
13584
135852015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13586
515b89b3
SL
13587 * gdb.linespec/explicit.exp: Check for readline support for
13588 tab-completion tests. Fix obvious typo.
13589
d2939ba2
MM
135902015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13591
13592 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
13593 and replay.
13594
cbb55fa7
MM
135952015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13596
13597 * gdb.btrace/non-stop.c: New.
13598 * gdb.btrace/non-stop.exp: New.
13599
43691ca1
PL
136002015-09-17 Pierre Langlois <pierre.langlois@arm.com>
13601 Yao Qi <yao.qi@linaro.org>
13602
13603 * gdb.trace/trace-condition.c: New file.
13604 * gdb.trace/trace-condition.exp: New file.
13605
d78908cf
WW
136062015-09-16 Wei-cheng Wang <cole945@gmail.com>
13607
13608 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
13609 for testing bytecode compilation.
13610
1ed415e2
PA
136112015-09-16 Pedro Alves <palves@redhat.com>
13612 Sandra Loosemore <sandra@codesourcery.com>
13613
13614 * gdb.threads/non-stop-fair-events.c (timeout): New global.
13615 (SECONDS): Redefine.
13616 (main): Call pthread_kill and alarm early.
13617 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
13618 support.
13619 (test): If the target can't hardware step and doesn't support
13620 displaced stepping, increase the timeout.
13621
d136eff5
PA
136222015-09-16 Pedro Alves <palves@redhat.com>
13623
13624 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
13625 (enable_debug): New procedures.
13626 (test): Use them. Bail out if waiting for threads fails.
13627 (top level): Bail out if a test fails.
13628
991f019c
YQ
136292015-09-16 Yao Qi <yao.qi@linaro.org>
13630
13631 * gdb.asm/asm-source.exp: Set asm-arch for
13632 aarch64*-*-* target.
13633 * gdb.asm/aarch64.inc: New file.
13634
bfca584f
PMR
136352015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
13636
13637 * gdb.ada/array_of_variable_length.exp: New testcase.
13638 * gdb.ada/array_of_variable_length/foo.adb: New file.
13639 * gdb.ada/array_of_variable_length/pck.adb: New file.
13640 * gdb.ada/array_of_variable_length/pck.ads: New file.
13641
b326e587
DE
136422015-09-15 Doug Evans <dje@google.com>
13643
13644 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
13645 of function static local variable.
13646
5382cfab
PW
136472015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13648
13649 * gdb.threads/tls-so_extern.exp: New test file.
13650 * gdb.threads/tls-so_extern.c: New test file.
13651 * gdb.threads/tls-so_extern_main.c: New test file.
13652
141c5cc4
JK
136532015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13654
13655 * gdb.opt/solib-intra-step-lib.c: New file.
13656 * gdb.opt/solib-intra-step-main.c: New file.
13657 * gdb.opt/solib-intra-step.exp: New file.
13658
d15dcecd
PA
136592015-09-15 Pedro Alves <palves@redhat.com>
13660
13661 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
13662 gdb_continue_to_breakpoint instead of gdb_test_multiple.
13663
4c2f2a79
PA
136642015-09-14 Pedro Alves <palves@redhat.com>
13665
13666 * gdb.base/hook-stop-continue.c: Delete.
13667 * gdb.base/hook-stop-continue.exp: Delete.
13668 * gdb.base/hook-stop-frame.c: Delete.
13669 * gdb.base/hook-stop-frame.exp: Delete.
13670 * gdb.base/hook-stop.c: New file.
13671 * gdb.base/hook-stop.exp: New file.
13672
919e6dbe
PMR
136732015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
13674
13675 * gdb.ada/access_to_packed_array.exp: New testcase.
13676 * gdb.ada/access_to_packed_array/foo.adb: New file.
13677 * gdb.ada/access_to_packed_array/pack.adb: New file.
13678 * gdb.ada/access_to_packed_array/pack.ads: New file.
13679
157280a4
MM
136802015-09-14 Markus Metzger <markus.t.metzger@intel.com>
13681
13682 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
13683 buffer size test.
13684
2fd33e94
DB
136852015-09-11 Don Breazeal <donb@codesourcery.com>
13686
13687 * gdb.base/foll-exec.c: Add copyright header. Fix
13688 formatting issues.
13689 * gdb.base/foll-exec.exp (zap_session): Delete proc.
13690 (do_exec_tests): Use clean_restart in place of zap_session,
13691 and for test initialization. Fix formatting issues. Use
13692 fail in place of perror.
13693 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
13694 an expect statement to match an expression with output from
13695 the program under debug.
13696 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
13697 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
13698 * gdb.threads/non-ldr-exc-2.exp: Likewise.
13699 * gdb.threads/non-ldr-exc-3.exp: Likewise.
13700 * gdb.threads/non-ldr-exc-4.exp: Likewise.
13701
e70b6e8e
DE
137022015-09-09 Doug Evans <dje@google.com>
13703
13704 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
13705
7a551a51
DE
137062015-09-09 Doug Evans <dje@google.com>
13707
13708 * gdb.base/pie-execl.exp: Fix result test of build_executable.
13709
4c666f84
DE
137102015-09-09 Doug Evans <dje@google.com>
13711
13712 * gdb.base/savedregs.exp: Fix typo.
13713
243a9253
PA
137142015-09-09 Pedro Alves <palves@redhat.com>
13715
13716 * gdb.mi/mi-cli.exp: Add CLI finish tests.
13717
c0fa8fbd
SL
137182015-09-08 Sandra Loosemore <sandra@codesourcery.com>
13719
13720 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
13721 command actually switches threads. Give up on remaining
13722 tests if target fails to stop at breakpoint.
13723
cd7c1778
PMR
137242015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
13725
13726 * gdb.ada/funcall_char.exp: New testcase.
13727 * gdb.ada/funcall_char/foo.adb: New file.
13728
dc5c8746
PMR
137292015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
13730
13731 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
13732 expected outputs. Add two testcases for completing ambiguous
13733 functions.
13734 * gdb.ada/complete/aux_pck.adb: New file.
13735 * gdb.ada/complete/aux_pck.ads: New file.
13736 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
13737 Ambiguous_Func functions.
13738 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
13739 * gdb.ada/complete/pck.adb: Likewise.
13740
4e83a1e7
UW
137412015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
13742
13743 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
13744 failures to run the test program under GDB.
13745
8ce74153
LM
137462015-08-26 Luis Machado <lgustavo@codesourcery.com>
13747
13748 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
13749 to C.
13750
e9756d52
PP
137512015-08-26 Patrick Palka <patrick@parcs.ath.cx>
13752
13753 * gdb.base/run-after-attach.exp: New test file.
13754 * gdb.base/run-after-attach.c: New test file.
13755
8d37573b
DB
137562015-08-26 Don Breazeal <donb@codesourcery.com>
13757
13758 * gdb.base/foll-exec-2.c: New test program.
13759 * gdb.base/foll-exec-2.exp: New test.
13760
63e43d3a
PMR
137612015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
13762
13763 * gdb.base/nested-subp1.exp: New file.
13764 * gdb.base/nested-subp1.c: New file.
13765 * gdb.base/nested-subp2.exp: New file.
13766 * gdb.base/nested-subp2.c: New file.
13767 * gdb.base/nested-subp3.exp: New file.
13768 * gdb.base/nested-subp3.c: New file.
13769
3d40fbb5
PA
137702015-08-24 Pedro Alves <palves@redhat.com>
13771
13772 * gdb.server/connect-without-multi-process.c: New file.
13773 * gdb.server/connect-without-multi-process.exp: New file.
13774
4422ac93
LM
137752015-08-24 Luis Machado <lgustavo@codesourcery.com>
13776
13777 * gdb.opt/inline-markers.c: Make z int.
13778
91dddb86
LM
137792015-08-24 Luis Machado <lgustavo@codesourcery.com>
13780
13781 * gdb.opt/inline-markers.c: Make z volatile.
13782
a48847ee
LM
137832015-08-24 Luis Machado <lgustavo@codesourcery.com>
13784
13785 * gdb.opt/inline-bt.c: New volatile global z.
13786 * gdb.opt/inline-cmds.c: Likewise.
13787 * gdb.opt/inline-locals.c: Likewise.
13788 * gdb.opt/inline-markers.c: New extern global z.
13789 (marker): Use z.
13790 (inline_fn): Likewise.
13791
0ebbc52b
PA
137922015-08-24 Pedro Alves <palves@redhat.com>
13793
13794 * config/m32r-stub.exp: Remove file.
13795 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
13796 * gdb.base/call-rt-st.exp: Likewise.
13797 * gdb.base/call-strs.exp: Likewise.
13798 * gdb.base/default.exp: Remove references to h8300-*-hms and
13799 *-*-udi*.
13800 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
13801
77c365df
AA
138022015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13803
13804 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
13805 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
13806 and "return" use KFAIL when GDB can not read/write the vector
13807 return value.
13808
4313b8c0
GB
138092015-08-21 Gary Benson <gbenson@redhat.com>
13810
13811 * gdb.trace/pending.exp: Cope with remote transfer warnings.
13812
0e433b32
PA
138132015-08-20 Pedro Alves <palves@redhat.com>
13814
13815 * gdb.server/solib-list.exp: No longer expect an interior stop in
13816 non-stop mode.
13817
221e1a37
PA
138182015-08-20 Pedro Alves <palves@redhat.com>
13819
13820 * gdb.server/connect-stopped-target.c: New file.
13821 * gdb.server/connect-stopped-target.exp: New file.
13822
40e3ad0e
PA
138232015-08-20 Pedro Alves <palves@redhat.com>
13824
13825 * gdb.dwarf2/comp-unit-lang.exp: New file.
13826 * gdb.dwarf2/comp-unit-lang.c: New file.
13827
af39b327
PMR
138282015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
13829
13830 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
13831 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
13832
7d45c7c3 138332015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 13834
7d45c7c3
KB
13835 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
13836 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
13837
4d6cceb4
DE
138382015-08-18 Doug Evans <dje@google.com>
13839 Adrian Sendroiu <adrian.sendroiu@freescale.com>
13840
13841 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
13842 skip_python_tests. New arg prompt_regexp.
13843 (skip_python_tests): New function.
13844 * lib/mi-support.exp (mi_skip_python_tests): New function.
13845 * gdb.python/py-mi-objfile-gdb.py: New file.
13846 * gdb.python/py-mi-objfile.c: New file.
13847 * gdb.python/py-mi-objfile.exp: New file.
13848
ad89c2aa
KS
138492015-08-17 Keith Seitz <keiths@redhat.com>
13850
13851 * gdb.linespec/explicit.exp: Move strace test from here ...
13852 * gdb.trace/strace.exp: ... to here.
13853
e3ae3c43
PP
138542015-08-15 Patrick Palka <patrick@parcs.ath.cx>
13855
13856 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
13857 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
13858
604b2636
DE
138592015-08-14 Doug Evans <xdje42@gmail.com>
13860
13861 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
13862 inferior before selecting a new file.
13863
6ff0ba5f
DE
138642015-08-14 Doug Evans <xdje42@gmail.com>
13865
13866 * gdb.mi/mi-disassemble.exp: Update.
13867 * gdb.base/disasm-optim.S: New file.
13868 * gdb.base/disasm-optim.c: New file.
13869 * gdb.base/disasm-optim.h: New file.
13870 * gdb.base/disasm-optim.exp: New file.
13871
9ca98f92
KS
138722015-08-14 Keith Seitz <keiths@redhat.com>
13873
13874 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
13875 "evaluated-by".
13876
52bbc560
JB
138772015-08-13 Joel Brobecker <brobecker@adacore.com>
13878
13879 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
13880
5d8c3ed3
PMR
138812015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
13882
13883 * gdb.ada/fun_renaming.exp: New testcase.
13884 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
13885 * gdb.ada/fun_renaming/pack.adb: New file.
13886 * gdb.ada/fun_renaming/pack.ads: New file.
13887
ea8812bc
KS
138882015-08-12 Keith Seitz <keiths@redhat.com>
13889
13890 * gdb.base/dso2dso.exp: Pass basename of source file in call to
13891 gdb_get_line_number.
13892
4dafcdeb
JB
138932015-08-12 Joel Brobecker <brobecker@adacore.com>
13894
13895 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
13896 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
13897 gdb.base/dso2dso.exp: New files.
13898
5ba32597
SDJ
138992015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
13900 Pedro Alves <palves@redhat.com>
13901 Keith Seitz <keiths@redhat.com>
13902
13903 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
13904 GDBFLAGS.
13905
b6dafabf
PP
139062015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13907
13908 * gdb.base/gdbhistsize-history.exp
13909 (test_histsize_history_setting): Use save_vars.
13910 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13911 Use save_vars.
13912 (test_no_truncation_of_unlimited_history_file): Use save_vars.
13913 * gdb.base/readline.exp: Use save_vars.
13914
abe8e607
PP
139152015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13916
13917 * lib/gdb.exp (save_vars): New proc.
13918
629500fa
KS
139192015-08-11 Keith Seitz <keiths@redhat.com>
13920
13921 * gdb.base/help.exp: Update help_breakpoint_text.
13922
eb8c4e2e
KS
139232015-08-11 Keith Seitz <keiths@redhat.com>
13924
13925 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13926 (at toplevel): Call test_explicit_breakpoints.
13927 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13928 breakpoints.
13929 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13930 breakpoint conditions, "-cond".
13931
87f0e720
KS
139322015-08-11 Keith Seitz <keiths@redhat.com>
13933
13934 * gdb.linespec/3explicit.c: New file.
13935 * gdb.linespec/cpexplicit.cc: New file.
13936 * gdb.linespec/cpexplicit.exp: New file.
13937 * gdb.linespec/explicit.c: New file.
13938 * gdb.linespec/explicit.exp: New file.
13939 * gdb.linespec/explicit2.c: New file.
13940 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13941 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13942 before using in the matching pattern.
13943 Clarify that `prefix' is a regular expression.
13944
f00aae0f
KS
139452015-08-11 Keith Seitz <keiths@redhat.com>
13946
13947 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13948 test.
13949 Add tests for missing ",FMT" and ",".
13950
e27852be
DE
139512015-08-10 Doug Evans <dje@google.com>
13952 Keith Seitz <keiths@redhat.com>
13953
13954 PR gdb/17960
13955 * gdb.base/completion.exp: Add location completer tests.
13956
7f03bd92
PA
139572015-08-07 Pedro Alves <palves@redhat.com>
13958
13959 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13960 tests here.
13961 (top level): Run do_test with and without displaced stepping.
13962
3fc8eb30
PA
139632015-08-07 Pedro Alves <palves@redhat.com>
13964
13965 * gdb.base/valgrind-disp-step.c: New file.
13966 * gdb.base/valgrind-disp-step.exp: New file.
13967
d4569d7b
PA
139682015-08-07 Pedro Alves <palves@redhat.com>
13969
13970 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13971 Delete function.
13972 (main): Add alarm. Run an infinite loop instead of calling
13973 wait_threads.
13974 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13975 comment.
13976 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13977 Delete function.
13978 (main): Add alarm. Run an infinite loop instead of calling
13979 wait_threads.
13980 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13981 comment.
13982
e1316e60
PA
139832015-08-07 Pedro Alves <palves@redhat.com>
13984
13985 * gdb.base/checkpoint-ns.exp: New file.
13986 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13987 standard_testfile.
13988
da8c46d2
MM
139892015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13990
13991 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13992 * gdb.btrace/instruction_history.exp: Update.
13993 * gdb.btrace/tsx.exp: New.
13994 * gdb.btrace/tsx.c: New.
13995
de1c2c52
PA
139962015-08-06 Pedro Alves <palves@redhat.com>
13997
13998 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13999 increase timeout.
14000 * gdb.reverse/until-precsave.exp: Bump timeouts.
14001
782e0bf4
PA
140022015-08-06 Pedro Alves <palves@redhat.com>
14003
14004 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
14005
83e97ed0
PA
140062015-08-06 Pedro Alves <palves@redhat.com>
14007
14008 PR gdb/18749
14009 * gdb.threads/process-dies-while-handling-bp.c: New file.
14010 * gdb.threads/process-dies-while-handling-bp.exp: New file.
14011
863d01bd
PA
140122015-08-06 Pedro Alves <palves@redhat.com>
14013
14014 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
14015 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
14016
0a39bb32
PA
140172015-08-05 Pedro Alves <palves@redhat.com>
14018
14019 * gdb.threads/next-while-other-thread-longjmps.c: New file.
14020 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
14021
ee2d2b10
SL
140222015-08-03 Sandra Loosemore <sandra@codesourcery.com>
14023
14024 * gdb.base/bp-permanent.exp: Report test as unsupported if
14025 the target cannot stop at the permanent breakpoint.
14026
4e1bdb00
DE
140272015-08-03 Doug Evans <dje@google.com>
14028
14029 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
14030 10000.
14031
3d338901
DE
140322015-08-03 Doug Evans <dje@google.com>
14033
14034 * Makefile.in (workers/%.worker, build-perf): New rule.
14035 (GDB_PERFTEST_MODE): New variable.
14036 (check-perf): Use it.
14037 (clean): Clean up gdb.perf parallel build subdirs.
14038 * lib/build-piece.exp: New file.
14039 * lib/gdb.exp (make_gdb_parallel_path): New function
14040 (standard_output_file, standard_temp_file): Call it.
14041 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14042 of $GDB_PARALLEL.
14043 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
14044
af061d3e
DE
140452015-08-03 Doug Evans <dje@google.com>
14046
8e1afc81 14047 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
14048 (LOG_FILE_NAME): New global.
14049 (TextReporter.__init__): Initialize self.txt_sum.
14050 (TextReporter.report): Add support for multiple data-points.
14051 Move report to perftest.sum, put raw data in perftest.log.
14052 (TextReporter.start): Open sum and log files.
14053 (TextReporter.end): Close sum and log files.
8e1afc81
DE
14054 * gdb.perf/lib/perftest/testresult.py
14055 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 14056
2c8c5d37
PA
140572015-07-31 Pedro Alves <palves@redhat.com>
14058
14059 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
14060 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14061 kill_wait_spawned_process instead of explicit "kill -9".
14062 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
14063 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14064 kill_wait_spawned_process.
14065 * gdb.base/attach-twice.exp: Likewise.
14066 * gdb.base/attach.exp: Likewise.
14067 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
14068 gdb_test_multiple.
14069 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
14070 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14071 kill_wait_spawned_process.
14072 * gdb.base/valgrind-infcall.exp: Likewise.
14073 * gdb.multi/multi-attach.exp: Likewise.
14074 * gdb.python/py-prompt.exp: Likewise.
14075 * gdb.python/py-sync-interp.exp: Likewise.
14076 * gdb.server/ext-attach.exp: Likewise.
14077 * gdb.threads/attach-into-signal.exp (corefunc): Use
14078 spawn_wait_for_attach, spawn_id_get_pid and
14079 kill_wait_spawned_process.
14080 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
14081 spawn_wait_for_attach returning a spawn id instead of a pid. Use
14082 spawn_id_get_pid and kill_wait_spawned_process.
14083 * gdb.threads/attach-stopped.exp (corefunc): Use
14084 spawn_wait_for_attach, spawn_id_get_pid and
14085 kill_wait_spawned_process.
14086 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
14087 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14088 kill_wait_spawned_process instead of explicit "kill -9".
14089 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
14090 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
14091 (spawn_wait_for_attach): Use spawn instead of exec to spawn
14092 processes. Don't map cygwin/windows pids here. Now returns a
14093 spawn id list.
14094
032a0fca
SL
140952015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14096
14097 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
14098 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
14099 correct patch.
14100
61a934ca
SL
141012015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14102
14103 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
14104
4bc4d428
SL
141052015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14106
14107 Reapply:
14108 2014-05-21 Mark Wielaard <mjw@redhat.com>
14109
14110 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14111
998d452a
PA
141122015-07-30 Pedro Alves <palves@redhat.com>
14113
14114 * linux-low.c (handle_extended_wait): Set the child's last
14115 reported status to TARGET_WAITKIND_STOPPED.
14116
69dde7dc
PA
141172015-07-30 Pedro Alves <palves@redhat.com>
14118
14119 PR threads/18600
14120 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
14121 only shows inferior 1.
14122
4dd63d48
PA
141232015-07-30 Simon Marchi <simon.marchi@ericsson.com>
14124 Pedro Alves <palves@redhat.com>
14125
14126 PR threads/18600
14127 * gdb.threads/fork-plus-threads.c: New file.
14128 * gdb.threads/fork-plus-threads.exp: New file.
14129
d618e4c5
PP
141302015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14131
14132 * gdb.base/batch-preserve-term-settings.exp
14133 (test_terminal_settings_preserved_after_cli_exit): Use
14134 send_quit_command.
14135
1eef6428
PA
141362015-07-29 Pedro Alves <palves@redhat.com>
14137 Don Breazeal <donb@codesourcery.com>
14138
14139 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
14140 output from both inferior_spawn_id and gdb_spawn_id.
14141
7da5b897
SDJ
141422015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14143
14144 * gdb.threads/attach-into-signal.exp (corefunc): Use
14145 with_test_prefix on nested loops, uniquefying the test messages.
14146
dac804df
SDJ
141472015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14148
14149 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
14150 commit.
14151
06265e53
PP
141522015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14153
14154 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
14155 New proc.
14156 (test_terminal_settings_preserved_after_sigterm): New test.
14157
18206ca3
PP
141582015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14159
14160 * gdb.base/batch-preserve-term-settings.exp
14161 (test_terminal_settings_preserved_after_cli_exit): New test.
14162
90074d11
PP
141632015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14164
14165 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
14166 manipulation of saved_gdbflags.
14167 (test_terminal_settings_preserved): Remove global declaration of
14168 the unused variable pagination_prompt. Remove manipulation of
14169 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
14170 GDBFLAGS.
14171
eb1a7902
PA
141722015-07-29 Pedro Alves <palves@redhat.com>
14173
14174 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
14175
8b75dd3b
PA
141762015-07-29 Pedro Alves <palves@redhat.com>
14177
14178 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
14179 at the top.
14180
dedad4e3
PA
141812015-07-29 Pedro Alves <palves@redhat.com>
14182
14183 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
14184 (main): Call gdb_unbuffer_output.
14185 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
14186 (main): Call gdb_unbuffer_output.
14187 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
14188 (main): Call gdb_unbuffer_output.
14189 * gdb.base/call-strs.exp: Adjust to step over the
14190 gdb_unbuffer_output call.
14191 * gdb.base/catch-gdb-caused-signals.c: Include
14192 "../lib/unbuffer_output.c".
14193 (main): Call gdb_unbuffer_output.
14194 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
14195 (main): Call gdb_unbuffer_output.
14196 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
14197 (main): Call gdb_unbuffer_output.
14198 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
14199 (main): Call gdb_unbuffer_output.
14200 * gdb.base/shlib-call.exp: Adjust to step over the
14201 gdb_unbuffer_output call.
14202 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
14203 (main): Call gdb_unbuffer_output.
14204 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
14205 (main): Call gdb_unbuffer_output.
14206 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
14207 (main): Rename to ...
14208 (test): ... this.
14209 (main): Reimplement.
14210 * gdb.base/varargs.exp: Run to test instead of to main.
14211 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14212 (main): Call gdb_unbuffer_output.
14213
58789a91
PA
142142015-07-29 Pedro Alves <palves@redhat.com>
14215
14216 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
14217 factore out from mi_continue_dprintf. For call-style dprintfs,
14218 expect dprintf output out of $inferior_spawn_id.
14219 (mi_continue_dprintf): Use mi_expect_dprintf.
14220 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14221 (main): Call gdb_unbuffer_output.
14222
e8376742
PA
142232015-07-29 Pedro Alves <palves@redhat.com>
14224
14225 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
14226 (default_mi_gdb_start): Set inferior_spawn_id instead of
14227 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
14228 gdb_spawn_id.
14229 (mi_gdb_test): Always expect inferior output from both
14230 $inferior_spawn_id and $gdb_spawn_id.
14231
08280010
PA
142322015-07-29 Pedro Alves <palves@redhat.com>
14233
14234 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
14235 send_inferior and $inferior_spawn_id.
14236
4d30e432
PA
142372015-07-29 Pedro Alves <palves@redhat.com>
14238
14239 * gdb.gdb/complaints.exp (test_initial_complaints)
14240 (test_serial_complaints, test_short_complaints): Use
14241 gdb_test_stdio.
14242 (test_empty_complaint): Handle $inferior_spawn_id !=
14243 $gdb_spawn_id.
14244
0d30a335
PA
142452015-07-29 Pedro Alves <palves@redhat.com>
14246
14247 * gdb.base/varargs.exp: Use gdb_test_stdio.
14248
39413b29
PA
142492015-07-29 Pedro Alves <palves@redhat.com>
14250
14251 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
14252
7cb000a9
PA
142532015-07-29 Pedro Alves <palves@redhat.com>
14254
14255 * gdb.base/ending-run.exp: Use gdb_test_stdio.
14256
d7b8ac82
PA
142572015-07-29 Pedro Alves <palves@redhat.com>
14258
14259 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
14260 parameter into two new parameters, "inf_result" and "gdb_result".
14261 Expect inferior output and gdb output from $inferior_spawn_id and
14262 $gdb_spawn_id, respectively. Adjust all callers.
14263
789c3a0c
PA
142642015-07-29 Pedro Alves <palves@redhat.com>
14265
14266 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
14267 of gdb_test_sequence.
14268
77e760c3
PA
142692015-07-29 Pedro Alves <palves@redhat.com>
14270
14271 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
14272 (saw_spurious_output): Expect inferior output from
14273 $inferior_spawn_id. Use gdb_test_stdio.
14274
8396d2cd
PA
142752015-07-29 Pedro Alves <palves@redhat.com>
14276
14277 * gdb.base/dprintf.exp: Use standard_testfile. Change
14278 prepare_for_testing call.
14279 (srcfile): Don't set.
14280 (restart): New procedure.
14281 (test_dprintf): New procecure, use to continue over dprintfs.
14282 (test_call, test_agent): New procedures, tests moved here.
14283 Restart gdb and recreate dprintfs. Adjust expected output.
14284
2051d61f
PA
142852015-07-29 Pedro Alves <palves@redhat.com>
14286
14287 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
14288
452397af
PA
142892015-07-29 Pedro Alves <palves@redhat.com>
14290
14291 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
14292
8aed9555
PA
142932015-07-29 Pedro Alves <palves@redhat.com>
14294
14295 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
14296 gdb_test_stdio.
14297
188a61b4
PA
142982015-07-29 Pedro Alves <palves@redhat.com>
14299
14300 * lib/gdb.exp (gdb_test_stdio): New procedure.
14301
12264a45
PA
143022015-07-29 Pedro Alves <palves@redhat.com>
14303
14304 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
14305
23ffc893
PA
143062015-07-29 Pedro Alves <palves@redhat.com>
14307
14308 * gdb.base/call-signal-resume.exp: Remove check for
14309 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
14310 * gdb.base/unwindonsignal.exp: Likewise.
14311 * gdb.base/call-signals.c (gen_signal): Remove printf call.
14312 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
14313
65566918
PA
143142015-07-29 Pedro Alves <palves@redhat.com>
14315
14316 * gdb.base/siginfo-addr.c (pass): New function.
14317 (handler): Call it iff si_addr is correct.
14318 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
14319 Set a breakpoint at "pass" and continue to it.
14320
d60a9221
SDJ
143212015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
14322
14323 * gdb.python/py-objfile.exp: Make some tests have unique names.
14324 * gdb.python/py-pp-registration.exp: Likewise.
14325
bde40b8f
PA
143262015-07-28 Pedro Alves <palves@redhat.com>
14327
14328 * gdb.server/server-exec-info.exp: Issue a "disconnect".
14329
13e1dec8
SM
143302015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14331
14332 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
14333
da33c9a7
SM
143342015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14335
14336 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
14337
077836f7
PP
143382015-07-27 Patrick Palka <patrick@parcs.ath.cx>
14339
14340 * gdb.base/gdb-sigterm-2.exp: New test.
14341
b8cc7b2e
DE
143422015-07-25 Doug Evans <xdje42@gmail.com>
14343
14344 Revert:
14345 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14346 (workers/%.worker, build-perf): New rule.
14347 (GDB_PERFTEST_MODE): New variable.
14348 (check-perf): Use it.
14349 (clean): Clean up gdb.perf parallel build subdirs.
14350 * lib/build-piece.exp: New file.
14351 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14352 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14353 name.
14354 (standard_temp_file): Ditto.
14355 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14356 of $GDB_PARALLEL.
14357
c8bd4544
DE
143582015-07-24 Doug Evans <dje@google.com>
14359
14360 * gdb.perf/lib/perftest/utils.py: New file.
14361 * gdb.perf/gm-hello.cc: New file.
14362 * gdb.perf/gm-pervasive-typedef.cc: New file.
14363 * gdb.perf/gm-pervasive-typedef.h: New file.
14364 * gdb.perf/gm-std.cc: New file.
14365 * gdb.perf/gm-std.h: New file.
14366 * gdb.perf/gm-use-cerr.cc: New file.
14367 * gdb.perf/gm-utils.h: New file.
14368 * gdb.perf/gmonster-null-lookup.py: New file.
14369 * gdb.perf/gmonster-pervasive-typedef.py: New file.
14370 * gdb.perf/gmonster-print-cerr.py: New file.
14371 * gdb.perf/gmonster-ptype-string.py: New file.
14372 * gdb.perf/gmonster-runto-main.py: New file.
14373 * gdb.perf/gmonster-select-file.py: New file.
14374 * gdb.perf/gmonster1-null-lookup.exp: New file.
14375 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
14376 * gdb.perf/gmonster1-print-cerr.exp: New file.
14377 * gdb.perf/gmonster1-ptype-string.exp: New file.
14378 * gdb.perf/gmonster1-runto-main.exp: New file.
14379 * gdb.perf/gmonster1-select-file.exp: New file.
14380 * gdb.perf/gmonster1.cc: New file.
14381 * gdb.perf/gmonster1.exp: New file.
14382 * gdb.perf/gmonster2-null-lookup.exp: New file.
14383 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
14384 * gdb.perf/gmonster2-print-cerr.exp: New file.
14385 * gdb.perf/gmonster2-ptype-string.exp: New file.
14386 * gdb.perf/gmonster2-runto-main.exp: New file.
14387 * gdb.perf/gmonster2-select-file.exp: New file.
14388 * gdb.perf/gmonster2.cc: New file.
14389 * gdb.perf/gmonster2.exp: New file.
14390
6eab34f3
DE
143912015-07-24 Doug Evans <dje@google.com>
14392
14393 * gdb.perf/README: New file.
14394 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
14395 * lib/gen-perf-test.exp: New file.
14396
63738bfd
DE
143972015-07-24 Doug Evans <dje@google.com>
14398
14399 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
14400 (PerfTest::startup): New function.
14401 (PerfTest::run): Return result of calling body.
14402 (PerfTest::assemble): Rewrite.
14403 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
14404 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
14405 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
14406 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
14407 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
14408
7b606f95
DE
144092015-07-24 Doug Evans <dje@google.com>
14410
14411 * lib/gdb.exp (clean_restart): Make executable optional.
14412
a97b16b8
DE
144132015-07-24 Doug Evans <dje@google.com>
14414
14415 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
14416 compiler_info references.
14417 * gdb.cp/temargs.exp: Ditto.
14418 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
14419 (get_compiler_info): Early exit if already computed. Set compiler_info
14420 to "unknown" if there was a problem.
14421 (test_compiler_info): Add function comment. Call get_compiler_info.
14422
35baa57f
DE
144232015-07-24 Doug Evans <dje@google.com>
14424
14425 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14426 (workers/%.worker, build-perf): New rule.
14427 (GDB_PERFTEST_MODE): New variable.
14428 (check-perf): Use it.
14429 (clean): Clean up gdb.perf parallel build subdirs.
14430 * lib/build-piece.exp: New file.
14431 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14432 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14433 name.
14434 (standard_temp_file): Ditto.
14435 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14436 of $GDB_PARALLEL.
14437
6ebea266
DE
144382015-07-24 Doug Evans <dje@google.com>
14439
14440 * lib/future.exp (gdb_default_target_compile): New option
14441 "early_flags".
14442 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
14443 --as-needed.
14444
1e76a7e9
SDJ
144452015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
14446
14447 * gdb.base/catch-syscall.exp: Call gdb_exit before
14448 gdb_skip_xml_test.
14449
5068630a
PA
144502015-07-24 Pedro Alves <palves@redhat.com>
14451
14452 * gdb.python/py-events.exp: Accept output between the stop event
14453 and the prompt.
14454 * gdb.python/py-evsignal.exp: Likewise.
14455 * gdb.python/py-evthreads.exp: Likewise.
14456
77598427
PA
144572015-07-24 Pedro Alves <palves@redhat.com>
14458
14459 PR gdb/18717
14460 * gdb.threads/non-ldr-exit.c: New file.
14461 * gdb.threads/non-ldr-exit.exp: New file.
14462
11e6c98f
YQ
144632015-07-24 Yao Qi <yao.qi@linaro.org>
14464
14465 * gdb.server/ext-wrapper.exp: Test --wrapper option when
14466 restarting process.
14467
51aee833
YQ
144682015-07-24 Yao Qi <yao.qi@linaro.org>
14469
14470 * gdb.server/ext-restart.exp: New file.
14471
8cfe207c
YQ
144722015-07-24 Yao Qi <yao.qi@linaro.org>
14473
14474 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
14475 argument options.
14476 * gdb.server/ext-wrapper.exp: New file.
14477
cc12ce38
DE
144782015-07-23 Doug Evans <dje@google.com>
14479
14480 * gdb.dwarf2/dw2-dummy-cu.S: New file.
14481 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
14482
d0d84780
PMR
144832015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
14484
14485 * gdb.ada/var_arr_typedef.exp: New testcase.
14486 * gdb.ada/var_arr_typedef/pack.adb: New file.
14487 * gdb.ada/var_arr_typedef/pack.ads: New file.
14488 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
14489
8b558f79
JB
144902015-07-20 Joel Brobecker <brobecker@adacore.com>
14491
14492 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
14493
775a3298
JK
144942015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14495
14496 * gdb.arch/i386-biarch-core.exp: Replace istarget
14497 by "complete set gnutarget". Remove expectation for the "core-file"
14498 command.
14499
db1ff28b
JK
145002015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14501
14502 Revert the previous commit:
14503 Tests for validate symbol file using build-id.
14504
0a94970d
JK
145052015-07-15 Aleksandar Ristovski <aristovski@qnx.com
14506
14507 Tests for validate symbol file using build-id.
14508 * gdb.base/solib-mismatch-lib.c: New file.
14509 * gdb.base/solib-mismatch-libmod.c: New file.
14510 * gdb.base/solib-mismatch.c: New file.
14511 * gdb.base/solib-mismatch.exp: New file.
14512
03346981
SL
145132015-07-15 Sandra Loosemore <sandra@codesourcery.com>
14514
14515 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
14516 nios2-*-linux*.
14517 * gdb.base/sigbpt.exp (stepi_out): Likewise.
14518 * gdb.base/siginfo.exp: Likewise.
14519 * gdb.base/sigstep.exp (advance, advancei): Likewise.
14520
42422cc7
PL
145212015-07-15 Pierre Langlois <pierre.langlois@arm.com>
14522
14523 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
14524 Move it to ...
14525 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
14526 ... here.
14527 * gdb.trace/range-stepping.exp: Check that the target supports
14528 range stepping.
14529
cfa68bae
JK
145302015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14531
14532 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
14533
8ffdba26
PA
145342015-07-14 Pedro Alves <palves@redhat.com>
14535
14536 * gdb.base/killed-outside.exp: New file.
14537 * gdb.base/killed-outside.c: New file.
14538
218a5a11
JK
145392015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14540
14541 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
14542 (n at main): New.
14543 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
14544
e03ed3c6
AA
145452015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14546
14547 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
14548 infcall tests instead of setting up for KFAIL.
14549
485668e5
MM
145502015-07-10 Markus Metzger <markus.t.metzger@intel.com>
14551
14552 * gdb.btrace/record_goto-step.exp: New.
14553
08464196
JK
145542015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14555
14556 PR compile/18484
14557 * gdb.compile/compile.c (struct struct_type): Add volatile to
14558 selffield's type.
14559 * gdb.compile/compile.exp
14560 (compile code struct_object.selffield = &struct_object): Skip further
14561 struct_object tests if this one xfails.
14562
bcf5c1d9
RC
145632015-07-08 Robert O'Callahan <robert@ocallahan.org>
14564
14565 PR exp/18617
14566 * gdb.trace/ax.exp: Add test.
14567
4931af25
YQ
145682015-07-07 Yao Qi <yao.qi@linaro.org>
14569
14570 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
14571 instead of istarget "aarch64*-*-*".
14572 * gdb.arch/aarch64-fp.exp: Likewise.
14573 * gdb.base/float.exp: Likewise.
14574 * gdb.reverse/aarch64.exp: Likewise.
14575 * lib/gdb.exp (is_aarch64_target): New proc.
14576
9fcf688e
YQ
145772015-07-07 Yao Qi <yao.qi@linaro.org>
14578
14579 * lib/gdb.exp (is_aarch32_target): New proc.
14580 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
14581 instead of "istarget "arm*-*-*"".
14582 * gdb.arch/arm-disp-step.exp: Likewise.
14583 * gdb.arch/thumb-bx-pc.exp: Likewise.
14584 * gdb.arch/thumb-prologue.exp: Likewise.
14585 * gdb.arch/thumb-singlestep.exp: Likewise.
14586 * gdb.base/disp-step-syscall.exp: Likewise.
14587 * gdb.base/float.exp: Likewise.
14588
fbd8d50d
YQ
145892015-07-07 Yao Qi <yao.qi@linaro.org>
14590
14591 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
14592 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
14593
71be1fdc
YQ
145942015-07-07 Yao Qi <yao.qi@linaro.org>
14595
14596 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
14597 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
14598 if it exists.
14599 * gdb.multi/multi-arch.exp: Likewise.
14600
3e221d36
SM
146012015-07-07 Simon Marchi <simon.marchi@ericsson.com>
14602
14603 * gdb.python/py-lazy-string.exp: Add missing parentheses to
14604 print.
14605
d441430b
YQ
146062015-07-07 Yao Qi <yao.qi@linaro.org>
14607
14608 * gdb.arch/thumb-singlestep.exp: Do one more single step.
14609
06f810bd
MG
146102015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
14611
14612 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
14613 '[' and ']' characters.
14614
5e61e7c0
IB
146152015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
14616
14617 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14618
28bf096c
PA
146192015-06-29 Pedro Alves <palves@redhat.com>
14620
14621 PR threads/18127
14622 * gdb.threads/hand-call-new-thread.c: New file.
14623 * gdb.threads/hand-call-new-thread.c: New file.
14624
ee93cd5e
KS
146252015-06-26 Keith Seitz <keiths@redhat.com>
14626 Doug Evans <dje@google.com>
14627
14628 PR 16253
14629 * gdb.cp/var-tag-2.cc: New file.
14630 * gdb.cp/var-tag-3.cc: New file.
14631 * gdb.cp/var-tag-4.cc: New file.
14632 * gdb.cp/var-tag.cc: New file.
14633 * gdb.cp/var-tag.exp: New file.
14634
fc637f04
PP
146352015-06-26 Patrick Palka <patrick@parcs.ath.cx>
14636
14637 * gdb.base/history-duplicates.exp: New test.
14638
2e52ae68
PP
146392015-06-26 Patrick Palka <patrick@parcs.ath.cx>
14640
14641 * gdb.base/completion.exp: Test the completion of the "focus"
14642 command.
14643
6e22494e
JK
146442015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14645
14646 * gdb.arch/amd64-prologue-skip.S: New file.
14647 * gdb.arch/amd64-prologue-skip.exp: New file.
14648
bf7b9cd9
SM
146492015-06-25 Simon Marchi <simon.marchi@ericsson.com>
14650
14651 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
14652 is_address_zero_readable check.
14653
201e8dfd
PB
146542015-06-24 Peter Bergner <bergner@vnet.ibm.com>
14655
14656 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
14657 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
14658
5cd867b4
YQ
146592015-06-24 Yao Qi <yao.qi@linaro.org>
14660
14661 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
14662 linux targets.
14663
4d7be007
YQ
146642015-06-24 Yao Qi <yao.qi@linaro.org>
14665
14666 * lib/gdb.exp (supports_get_siginfo_type): New proc.
14667 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
14668 * gdb.base/siginfo-thread.exp: Likewise.
14669
07fcd301
YQ
146702015-06-22 Yao Qi <yao.qi@linaro.org>
14671
14672 * boards/remote-gdbserver-on-localhost.exp: Add comments.
14673
52042a00
YQ
146742015-06-22 Yao Qi <yao.qi@linaro.org>
14675
14676 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
14677 aarch64*-*-*.
14678 (skip_hw_watchpoint_tests): Likewise.
14679
74bd41ce
PP
146802015-06-18 Patrick Palka <patrick@parcs.ath.cx>
14681
14682 * gdb.base/gdbinit-history.exp: Test the interaction between
14683 setting GDBHISTSIZE and setting the history size via .gdbinit.
14684
bc460514
PP
146852015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14686
14687 PR gdb/16999
14688 * gdb.base/gdbhistsize-history.exp: New test.
14689
b58c513b
PP
146902015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14691
14692 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
14693 with GDBHISTSIZE.
14694 * gdb.base/readline.exp: Likewise.
14695
92046791
YQ
146962015-06-17 Yao Qi <yao.qi@linaro.org>
14697
14698 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
14699 line.
14700
2093d2d3
PP
147012015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14702
14703 * gdb.base/gdbinit-history.exp: Add test case to check that
14704 an unlimited history file does not get truncated on exit.
14705
e6c693af
AA
147062015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14707
14708 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
14709 (VECTOR): New macro. Use it...
14710 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
14711 ...for these typedefs.
14712 (int8, char1, int1, double1): New typedefs.
14713 (struct just_int2, struct two_int2): New structures.
14714 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
14715 (add_structvecs, add_singlevecs): New functions.
14716 (main): Call add_some_intvecs twice.
14717 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
14718 the compile and exit upon failure. Try compiling for the "native"
14719 architecture. Test inferior function calls with vector arguments
14720 and vector return value handling with "finish" and "return".
14721
c74f7d1c
JT
147222015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
14723
14724 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
14725 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
14726 PE file.
14727 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
14728
98aa42ee
AT
147292015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14730
14731 PR breakpoints/16465
14732 * gdb.mi/mi-dprintf-pending.c: New file.
14733 * gdb.mi/mi-dprintf-pending.exp: New test.
14734 * gdb.mi/mi-dprintf-pendshr.c: New file.
14735
7d73c23c 147362015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 14737 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
14738
14739 * gdb.arch/i386-mpx-map.c: New file.
14740 * gdb.arch/i386-mpx-map.exp: New File.
14741
147422015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14743
14744 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
14745 * gdb.arch/i386-mpx.exp: Indentation fixed.
14746
147472015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14748
14749 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
14750 function and improved indentation.
14751 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
14752 gdb_test_multiple. Added additional tests to skip the test.
14753
147542015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14755
14756 * gdb.arch/i386-avx512.c: Change path in include file.
14757 * gdb.arch/i386-avx512.exp: Change include dir path
14758 compilation flag.
14759 * gdb.arch/i386-mpx.c: Change path in include file.
14760 * gdb.arch/i386-mpx.exp: Change include dir path compilation
14761 flag.
14762
d5eba19a
JK
147632015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14764
14765 * gdb.compile/compile-print.exp (compile print *vararray@3)
14766 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
14767
7f361056
JK
147682015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14769
14770 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
14771 (do not keep jit in memory): ... this.
14772 (expect 5): Change it to ...
14773 (expect no 5): ... this.
14774
3b462ec2
SM
147752015-06-02 Simon Marchi <simon.marchi@ericsson.com>
14776
14777 PR gdb/15564
14778 * gdb.mi/mi-detach.exp: New file.
14779
e0619de6
JK
147802015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14781
14782 PR symtab/18392
14783 * gdb.arch/amd64-tailcall-self.S: New file.
14784 * gdb.arch/amd64-tailcall-self.c: New file.
14785 * gdb.arch/amd64-tailcall-self.exp: New file.
14786
e970cb34
DB
147872015-05-28 Don Breazeal <donb@codesourcery.com>
14788
14789 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
14790 tests for remote targets by checking is_target_gdbserver.
14791
b2e2f908
DE
147922015-05-27 Doug Evans <dje@google.com>
14793
14794 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
14795 * gdb.dwarf2/opaque-type-lookup.c: New file.
14796 * gdb.dwarf2/opaque-type-lookup.exp: New file.
14797
82c7be31
DE
147982015-05-26 Doug Evans <dje@google.com>
14799
14800 * gdb.cp/iostream.cc: New file.
14801 * gdb.cp/iostream.exp: New file.
14802
b4f54984
DE
148032015-05-26 Doug Evans <dje@google.com>
14804
14805 * gdb.dwarf2/dw2-op-call.exp: Update.
14806 * gdb.dwarf2/dw4-sig-types.exp: Update.
14807 * gdb.dwarf2/implptr.exp: Update.
14808 * gdb.mi/mi-cmd-param-changed.exp: Update.
14809
4ea6efe9
DE
148102015-05-26 Doug Evans <dje@google.com>
14811
14812 * gdb.python/py-lazy-string.c: New file.
14813 * gdb.python/py-lazy-string.exp: New file.
14814 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
14815 (main): Update. Add estring3.
14816 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
14817 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
14818
f6bb7db3
YQ
148192015-05-26 Omair Javaid <omair.javaid@linaro.org>
14820 Yao Qi <yao.qi@linaro.org>
14821
14822 * gdb.reverse/aarch64.c: New.
14823 * gdb.reverse/aarch64.exp: New.
14824
a81bfbd0
OJ
148252015-05-26 Omair Javaid <omair.javaid@linaro.org>
14826
25d49b86
PA
14827 * lib/gdb.exp (supports_process_record): Return true for
14828 aarch64*-linux*.
a81bfbd0
OJ
14829 (supports_reverse): Likewise.
14830
158bf1b4
PP
148312015-05-22 Patrick Palka <patrick@parcs.ath.cx>
14832
14833 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14834 Use with_test_prefix.
14835
a0145030
AB
148362015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
14837
14838 * gdb.base/completion.exp: Add test for completion of layout
14839 names.
14840
ebe3b578
AB
148412015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
14842
14843 * lib/gdb.exp (skip_tui_tests): New proc.
14844 * gdb.base/tui-layout.exp: Check skip_tui_tests.
14845
84204ed7
PA
148462015-05-19 Pedro Alves <palves@redhat.com>
14847
14848 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14849 Save the whole env array instead of just HOME. Unset HISTSIZE in
14850 the environment while testing. Restore whole environment
14851 afterwards.
14852
37442ce1
DE
148532015-05-16 Doug Evans <xdje42@gmail.com>
14854
14855 * gdb.guile/scm-ports.c: New file.
14856 * gdb.guile/scm-ports.exp: Add memory port tests.
14857
36de76f9
JK
148582015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14859
14860 * gdb.compile/compile-print.c: New file.
14861 * gdb.compile/compile-print.exp: New file.
14862
3a9558c4
JK
148632015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14864
14865 * gdb.compile/compile-ops.exp: Cast param to void.
14866 * gdb.compile/compile.exp: Complete type for _gdb_expr.
14867 (compile code struct_object.selffield = &struct_object): Add xfail.
14868
aa715135
JG
148692015-05-15 Joel Brobecker <brobecker@adacore.com>
14870
14871 * gdb.ada/arr_enum_with_gap: New testcase.
14872
931e5bc3
JG
148732015-05-15 Joel Brobecker <brobecker@adacore.com>
14874
14875 * gdb.ada/byte_packed_arr: New testcase.
14876
9cd4d857
JB
148772015-05-15 Joel Brobecker <brobecker@adacore.com>
14878
14879 * gdb.ada/pckd_neg: New testcase.
14880
ebfd00d2
PP
148812015-05-13 Patrick Palka <patrick@parcs.ath.cx>
14882
14883 PR gdb/17820
14884 * gdb.base/gdbinit-history.exp: New test.
14885 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
14886 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
14887
4c082a81
SC
148882015-05-09 Siva Chandra Reddy <sivachandra@google.com>
14889
14890 * gdb.python/py-xmethods.cc: Enhance test case.
14891 * gdb.python/py-xmethods.exp: New tests.
14892 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
14893 function.
14894 (B_indexoper): Likewise.
14895 (global_dm_list) : Add new xmethod worker functions.
14896
f7797074
SDJ
148972015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
14898
14899 * gdb.base/coredump-filter.exp: Correctly unset
14900 "coredump_var_addr" array.
14901
a4674e4e
PA
149022015-05-08 Pedro Alves <palves@redhat.com>
14903
14904 * gdb.server/non-existing-program.exp: Unset spawn_id.
14905
df2eb078
SC
149062015-05-08 Siva Chandra Reddy <sivachandra@google.com>
14907
14908 PR python/18291
14909 * gdb.python/py-xmethods.exp: Add tests.
14910
422349a3
YQ
149112015-05-08 Yao Qi <yao.qi@linaro.org>
14912
14913 PR gdb/18208
14914 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14915 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
14916 function set_coredump_filter, and remove remote_exec call.
14917 Remove argument ipid. Callers update.
14918 (top level): Don't get inferior's PID.
14919
63fc80ce
AA
149202015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14921
14922 * gdb.base/watch_thread_num.exp: Skip test on targets without
14923 access watchpoints.
14924
80ad801e
PA
149252015-05-06 Pedro Alves <palves@redhat.com>
14926
14927 PR server/18081
14928 * gdb.server/non-existing-program.exp: New file.
14929
0fa7fe50
JB
149302015-05-05 Joel Brobecker <brobecker@adacore.com>
14931
14932 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14933
3ea89b92
PMR
149342015-05-05 Joel Brobecker <brobecker@adacore.com>
14935
14936 * gdb.ada/out_of_line_in_inlined: New testcase.
14937
87b8eff0
JB
149382015-05-05 Joel Brobecker <brobecker@adacore.com>
14939
14940 * gdb.ada/var_rec_arr: New testcase.
14941
5fccc635
YQ
149422015-04-30 Yao Qi <yao.qi@linaro.org>
14943
14944 * gdb.base/break-idempotent.exp: If
14945 skip_hw_watchpoint_multi_tests returns true, skip the tests
14946 on "rwatch" and "awatch".
14947
42d38f42
YQ
149482015-04-30 Yao Qi <yao.qi@linaro.org>
14949
14950 * gdb.base/relativedebug.exp: Invoke gdb command
14951 "info sharedlibrary", and if libc.so doesn't have debug info,
14952 skip the test.
14953
2ce1cdbf
DE
149542015-04-29 Doug Evans <dje@google.com>
14955
14956 * gdb.python/py-xmethods.exp: Add ptype tests.
14957 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14958 get_result_type method.
14959
f24a38c5
LM
149602015-04-29 Luis Machado <lgustavo@codesourcery.com>
14961
14962 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14963 the target does not support hardware watchpoints.
14964
ecbf2b3c
LM
149652015-04-29 Luis Machado <lgustavo@codesourcery.com>
14966
14967 * gdb.base/break-always.exp: Abort testing if writing to memory
14968 causes an error.
14969
34f5f757
DE
149702015-04-28 Doug Evans <dje@google.com>
14971
14972 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14973 * gdb.python/py-pp-registration.exp: ... here. New file.
14974 * gdb.python/py-pp-registration.c: New file.
14975 * gdb.python/py-pp-registration.py: New file.
14976
69b4374a
DE
149772015-04-28 Doug Evans <dje@google.com>
14978
14979 * gdb.python/py-bad-printers.c: New file.
14980 * gdb.python/py-bad-printers.py: New file.
14981 * gdb.python/py-bad-printers.exp: New file.
14982
59fb7612
SS
149832015-04-28 Sasha Smundak <asmundak@google.com>
14984
14985 * gdb.python/py-type.exp: New test.
14986
2631b16a
AW
149872015-04-28 Andy Wingo <wingo@igalia.com>
14988
14989 * gdb.python/py-parameter.exp:
14990 * gdb.guile/scm-parameter.exp: Escape the path that we are
14991 matching against, as it might contain characters that are special
14992 to regular expressions.
14993
460efde1
JB
149942015-04-27 Joel Brobecker <brobecker@adacore.com>
14995
14996 * gdb.ada/rec_comp: New testcase.
14997
2d369d8e
SDJ
149982015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14999
15000 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
15001 before using it.
15002
cf75d6c3
AB
150032015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
15004
15005 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
15006 new tests for verilog output.
15007
8dbe7ca5
YQ
150082015-04-24 Yao Qi <yao.qi@linaro.org>
15009
15010 * boards/remote-gdbserver-on-localhost.exp: New file.
15011
4ef9fb2f
PA
150122015-04-23 Pedro Alves <palves@redhat.com>
15013
15014 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
15015 $inferior_spawn_id instead of $inferior_spawn_id directly. On
15016 "end of file", remove $inferior_spawn_id from the indirect list.
15017
0a803169
PA
150182015-04-23 Pedro Alves <palves@redhat.com>
15019
15020 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
15021
749ef8f8
PA
150222015-04-23 Pedro Alves <palves@redhat.com>
15023
15024 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
15025 on $any_spawn_id instead of only on $gdb_spawn_id.
15026
8aae4344
PM
150272015-04-21 Pierre Muller <muller@sourceware.org>
15028
15029 PR pascal/17815
15030 * lib/pascal.exp (gpc_compile): Add new option "class".
15031 (fpc_compile): Likewise.
15032 * gdb.pascal/case-insensitive-symbols.pas: New file.
15033 * gdb.pascal/case-insensitive-symbols.exp: New file.
15034
1586c8fb
GB
150352015-04-20 Gary Benson <gbenson@redhat.com>
15036
15037 * gdb.base/attach.exp: Fix three extended remote failures.
15038
1b6e6f5c
GB
150392015-04-17 Gary Benson <gbenson@redhat.com>
15040
15041 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
15042 the main executable over the remote protocol.
15043
e797481d
PA
150442015-04-16 Pedro Alves <palves@redhat.com>
15045
15046 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
15047 a new gdbserver if gdbserver_reconnect_p is set.
15048
1ca99c42
PA
150492015-04-16 Pedro Alves <palves@redhat.com>
15050
15051 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
15052 is set, don't exit gdbserver.
15053
af9fd6f8
AA
150542015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15055
15056 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
15057 appropriate .insn, such that an older assembler can be used.
15058 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
15059 the z/Architecture instruction set on 31-bit targets as well.
15060
04ff1e61
AA
150612015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15062
15063 * gdb.go/handcall.exp: Remove all logic related to the first
15064 breakpoint and rely on go_runto_main instead.
15065 * gdb.go/strings.exp: Likewise.
15066 * gdb.go/unsafe.exp: Likewise.
15067 * gdb.go/hello.exp: Likewise. Also rename the remaining
15068 breakpoint marker to "breakpoint 1".
15069 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
15070 * gdb.go/strings.go: Likewise.
15071 * gdb.go/unsafe.go: Likewise.
15072 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
15073 "set breakpoint 2 here" and rename the remaining breakpoint marker
15074 to "breakpoint 1".
15075
40d2f8d6
SM
150762015-04-15 Simon Marchi <simon.marchi@ericsson.com>
15077
15078 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
15079 if itertools.imap is not present.
15080 * gdb.python/py-objfile.exp: Add parentheses.
15081 * gdb.python/py-type.exp: Same.
15082 * gdb.python/py-unwind-maint.py: Same.
15083
8cbc97c6
YQ
150842015-04-15 Yao Qi <yao.qi@linaro.org>
15085
15086 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
15087 of ":$ptr_size" and set its form explicitly.
15088
45fd756c
YQ
150892015-04-15 Pedro Alves <palves@redhat.com>
15090 Yao Qi <yao.qi@linaro.org>
15091
15092 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
15093 timeout by factor of 4.
15094 (test_regular_watch): Likewise.
15095 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
15096 * gdb.reverse/sigall-reverse.exp: Likewise.
15097 * gdb.reverse/until-precsave.exp: Likewise.
15098 * lib/gdb.exp (with_timeout_factor): New proc.
15099 (gdb_expect): Move some code to ...
15100 (get_largest_timeout): ... here. New procedure.
15101
9e811bc3
LM
151022015-04-14 Luis Machado <lgustavo@codesourcery.com>
15103
15104 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
15105
0ff6fcb2
LM
151062015-04-13 Luis Machado <lgustavo@codesourcery.com>
15107
15108 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
15109 to write to the .text section.
15110
7578d5f7
LM
151112015-04-13 Luis Machado <lgustavo@codesourcery.com>
15112
15113 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
15114 Handle the case of targets that do not provide PID information.
15115
2efe15c4
YQ
151162015-04-13 Yao Qi <yao.qi@linaro.org>
15117
15118 * lib/gdbserver-support.exp (gdb_exit): Catch exception
15119 and use expect instead of gdb_expect.
15120
8cd8f2f8
SDJ
151212015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
15122
15123 * gdb.base/coredump-filter.exp: Rename variable "addr" to
15124 "coredump_var_addr" to avoid naming conflict with other testcases.
15125
9ee41772
PA
151262015-04-10 Pedro Alves <palves@redhat.com>
15127
15128 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
15129 gdb_test_sequence and gdb_assert.
15130
07473109
PA
151312015-04-10 Pedro Alves <palves@redhat.com>
15132
15133 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
15134 test messages that don't include the breakpoint address.
15135
de3db44c
YQ
151362015-04-10 Yao Qi <yao.qi@linaro.org>
15137
15138 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
15139 false for some offset and width combinations which aren't
15140 supported by linux kernel.
15141
c79d856c
PA
151422015-04-10 Pedro Alves <palves@redhat.com>
15143
15144 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
15145 procedure, factored out from ...
15146 (top level): ... here. Add "set displaced-stepping" testing axis.
15147 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
15148 parameter "displaced". Use it.
15149 (top level): Use foreach and add "set displaced-stepping" testing
15150 axis.
15151
ebc90b50
PA
151522015-04-10 Pedro Alves <palves@redhat.com>
15153
15154 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
15155 Remove comment.
15156 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
15157 both the address of the instruction that triggers the watchpoint
15158 and the address of the instruction immediately after, and use
15159 those addresses for the test. Fix comment.
15160
8f572e5c
PA
151612015-04-10 Pedro Alves <palves@redhat.com>
15162
15163 * gdb.base/sigstep.exp (breakpoint_to_handler)
15164 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
15165 Test "backtrace" in handler.
15166 (breakpoint_over_handler): New parameter 'displaced'. Use it.
15167 (top level): Add new "displaced" test axis to
15168 breakpoint_to_handler, breakpoint_to_handler_entry and
15169 breakpoint_over_handler.
15170
8d707a12
PA
151712015-04-10 Pedro Alves <palves@redhat.com>
15172
15173 PR gdb/18216
15174 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
15175
ef713951
YQ
151762015-04-10 Yao Qi <yao.qi@linaro.org>
15177
15178 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
15179 (test_add_rn_pc): New function.
15180 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
15181 (top level): Invoke test_add_rn_pc.
15182
906d60cf
PA
151832015-04-10 Pedro Alves <palves@redhat.com>
15184
15185 PR gdb/13858
15186 * gdb.base/step-over-no-symbols.exp: New file.
15187
f2983cc3
AW
151882015-04-09 Andy Wingo <wingo@igalia.com>
15189
15190 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
15191 after the Python tests.
15192
6d62641c
SDJ
151932015-04-08 Keith Seitz <keiths@redhat.com>
15194
15195 PR python/16699
15196 * gdb.python/py-completion.exp: New tests for completion.
15197 * gdb.python/py-completion.py (CompleteLimit1): New class.
15198 (CompleteLimit2): Likewise.
15199 (CompleteLimit3): Likewise.
15200 (CompleteLimit4): Likewise.
15201 (CompleteLimit5): Likewise.
15202 (CompleteLimit6): Likewise.
15203 (CompleteLimit7): Likewise.
15204
f3770638
PA
152052015-04-08 Pedro Alves <palves@redhat.com>
15206
15207 PR gdb/18214
15208 PR gdb/18216
15209 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
15210 function.
15211 (main): Install it as SIGUSR1 handler.
15212 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
15213 parameter. Always use "setup" as prefix. Toggle "set
15214 displaced-stepping" off/on depending on global. Don't switch to
15215 thread 1 here.
15216 (top level): Add displaced stepping "off/on" test axis. Update
15217 "setup" calls. Wrap each subtest with with_test_prefix. Test
15218 continuing with a queued signal in each thread.
15219
4496bed7
PA
152202015-04-08 Pedro Alves <palves@redhat.com>
15221
15222 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
15223 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
15224 gdb_breakpoint instead of gdb_test that doesn't expect anything.
15225 Return early if running to main fails.
15226 * gdb.trace/while-stepping.exp: Likewise.
15227
b97fde92
PA
152282015-04-07 Pedro Alves <palves@redhat.com>
15229
15230 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
15231 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
15232 interact with inferior program.
15233
f71c18e7
PA
152342015-04-07 Pedro Alves <palves@redhat.com>
15235
15236 * lib/gdb.exp (inferior_spawn_id): New global.
15237 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
15238 spawn id after processing the user code.
15239 (default_gdb_start): Set inferior_spawn_id.
15240 (send_inferior): New procedure.
15241 * lib/gdbserver-support.exp (gdbserver_start): Set
15242 inferior_spawn_id.
15243 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
15244
6423214f
PA
152452015-04-07 Pedro Alves <palves@redhat.com>
15246
15247 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
15248 * lib/gdbserver-support.exp (gdbserver_start): Make
15249 $server_spawn_id global.
15250 (gdbserver_start): Don't wait for gdbserver's spawn id with
15251 expect_background.
15252 (close_gdbserver): New procedure.
15253 (gdb_exit): Rename the default version and reimplement.
15254
71c0ee8c
PA
152552015-04-07 Pedro Alves <palves@redhat.com>
15256
72f4393d 15257 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
15258 append the substituted item, not the original item.
15259
203bc29b
PA
152602015-04-07 Pedro Alves <palves@redhat.com>
15261
15262 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
15263 gdb_expect.
15264
508a3ddf
PA
152652015-04-07 Pedro Alves <palves@redhat.com>
15266
15267 * gdb.base/interrupt.exp: Don't handle the case of the inferior
15268 output appearing once only.
15269
9f6dbe2b
PA
152702015-04-07 Pedro Alves <palves@redhat.com>
15271
15272 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
15273 that doesn't expect anything. Return early if running to main
15274 fails.
15275
337532fa
YQ
152762015-04-07 Yao Qi <yao.qi@linaro.org>
15277
15278 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
15279 (child_function): Call alarm.
15280 (main): Move call to alarm into the loop.
15281 * gdb.threads/non-stop-fair-events.exp: Build program with
15282 -DTIMEOUT=$timeout.
15283
01b622d4
DE
152842015-04-06 Doug Evans <xdje42@gmail.com>
15285
15286 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
15287 Fix dest parameter to board_info.
15288 (fpc_compile): Ditto.
15289 (gdb_compile_pascal): Rename dest arg to destfile.
15290
961f4160
PMR
152912015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
15292
15293 * gdb.ada/funcall_ref.exp: New file.
15294 * gdb.ada/funcall_ref/foo.adb: New file.
15295
cafda597
YQ
152962015-04-02 Yao Qi <yao.qi@linaro.org>
15297
15298 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
15299 is remote.
15300
fed040c6
GB
153012015-04-02 Gary Benson <gbenson@redhat.com>
15302
15303 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
15304
d11916aa
SS
153052015-04-01 Sasha Smundak <asmundak@google.com>
15306
15307 * gdb.python/py-unwind-maint.c: New file.
15308 * gdb.python/py-unwind-maint.exp: New test.
15309 * gdb.python/py-unwind-maint.py: New file.
15310 * gdb.python/py-unwind.c: New file.
15311 * gdb.python/py-unwind.exp: New test.
15312 * gdb.python/py-unwind.py: New test.
15313
a1471180
PA
153142015-04-01 Pedro Alves <palves@redhat.com>
15315
15316 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
15317 to fail instead of non-existent $test.
15318
0bbeccb1
PA
153192015-04-01 Pedro Alves <palves@redhat.com>
15320
15321 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
15322 GDBFLAGS if not empty.
15323
3c724c8c
PMR
153242015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
15325
15326 * gdb.ada/complete.exp: Remove "multi_line".
15327 * gdb.ada/info_exc.exp: Remove "multi_line".
15328 * gdb.ada/packed_tagged.exp: Remove "multi_line".
15329 * gdb.ada/ptype_field.exp: Remove "multi_line".
15330 * gdb.ada/sym_print_name.exp: Remove "multi_line".
15331 * gdb.ada/tagged.exp: Remove "multi_line".
15332 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
15333 [multi_line ...]
15334 * gdb.btrace/delta.exp: Likewise.
15335 * gdb.btrace/exception.exp: Likewise.
15336 * gdb.btrace/function_call_history.exp: Likewise.
15337 * gdb.btrace/instruction_history.exp: Likewise.
15338 * gdb.btrace/nohist.exp: Likewise.
15339 * gdb.btrace/record_goto.exp: Likewise.
15340 * gdb.btrace/segv.exp: Likewise.
15341 * gdb.btrace/stepi.exp: Likewise.
15342 * gdb.btrace/tailcall.exp: Likewise.
15343 * gdb.btrace/unknown_functions.exp: Likewise.
15344 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
15345 * lib/gdb.exp: Add the "multi_line" helper.
15346
4eec2deb
PA
153472015-04-01 Pedro Alves <palves@redhat.com>
15348
15349 * gdb.threads/tid-reuse.c: New file.
15350 * gdb.threads/tid-reuse.exp: New file.
15351
df8411da
SDJ
153522015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
15353
15354 PR corefiles/16092
15355 * gdb.base/coredump-filter.c: New file.
15356 * gdb.base/coredump-filter.exp: Likewise.
15357
6ef37366
PM
153582015-03-27 Petr Machata <pmachata@redhat.com>
15359
15360 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
15361 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
15362 (Dwarf::assemble): Initialize them.
15363 (Dwarf::lines): New function.
15364
7ec911b0
JT
153652015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
15366
15367 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
15368 SYMBOL_PREFIX for x86_64-*-cygwin.
15369
ff908ebf
AW
153702015-03-26 Andy Wingo <wingo@igalia.com>
15371
15372 PR symtab/18148
15373 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
15374 const_value but not a location.
15375 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
15376 location defined in non-main CUs are visible.
15377
6d5f0679
YQ
153782015-03-26 Yao Qi <yao.qi@linaro.org>
15379
15380 PR testsuite/18139
15381 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
15382 Add a line number entry for the same line.
15383 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
15384 Add a line number entry for the same line.
15385
2898689b
YQ
153862015-03-26 Yao Qi <yao.qi@linaro.org>
15387
15388 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
15389 .int 0.
15390 (func): Likewise. Add .Lfunc_1 label.
15391 Use .Lfunc_1 label.
15392 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
15393 .int 0.
15394 (func): Likewise.
15395 Use .Lfunc_1 label.
15396
85180498
YQ
153972015-03-26 Yao Qi <yao.qi@linaro.org>
15398
15399 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
15400 Call gdb_compile instead to compile each .s files without debug
15401 information.
15402
8aa08a8d
YQ
154032015-03-26 Yao Qi <yao.qi@linaro.org>
15404
15405 * gdb.base/savedregs.exp (process_saved_regs): Make
15406 "Saved registers:" optional in the pattern.
15407
66849923
MM
154082015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15409
15410 * gdb.btrace/next.exp: Merged into step.exp.
15411 * gdb.btrace/finish.exp: Merged into step.exp.
15412 * gdb.btrace/nexti.exp: Merged into stepi.exp.
15413 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
15414 "record goto" and checking the exact replay position.
15415 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
15416 check for "Recording format" in "info record" output.
15417 * gdb.btrace/record_goto.exp: Choose test file based on target.
15418 * gdb.btrace/x86-record_goto.S: Renamed into ...
15419 * gdb.btrace/x86_64-record_goto.S: ... this.
15420 * gdb.btrace/i686-record_goto.S: New.
15421 * gdb.btrace/x86-tailcall.S: Renamed into ...
15422 * gdb.btrace/x86_64-tailcall.S: ... this.
15423 * gdb.btrace/i686-tailcall.S: New.
15424 * gdb.btrace/x86-tailcall.c: Renamed into ...
15425 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
15426 separate statements. Update test.
15427 * gdb.btrace/delta.exp: Use record_goto.c as test file.
15428 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
15429 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
15430 * gdb.btrace/tailcall.exp: Choose test file based on target.
15431 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
15432
11cc1b74
MM
154332015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15434
15435 * gdb.btrace/exception.exp: Increase BTS buffer size.
15436
a25d8bf9
PA
154372015-03-24 Pedro Alves <palves@redhat.com>
15438
15439 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
15440
856e7dd6
PA
154412015-03-24 Pedro Alves <palves@redhat.com>
15442
15443 * gdb.threads/schedlock.exp (test_step): No longer expect that
15444 "set scheduler-locking step" with "next" over a function call runs
15445 threads unlocked.
15446
ad235a41
AT
154472015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15448
15449 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
15450
15630549
AT
154512015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15452
15453 PR breakpoints/16466
15454 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
15455 * gdb.mi/mi-pending.c (thread_func): New function.
15456 (int main): Add threading support required.
15457 * gdb.mi/mi-pending.exp: Add tests for this issue.
15458 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
15459 (pendfunc2): Remove stdio dependency.
15460 * gdb.mi/mi-pendshr2.c: New file.
15461
693dca06
KS
154622015-03-23 Keith Seitz <keiths@redhat.com>
15463
15464 * gdb.linespec/keywords.c: New file.
15465 * gdb.linespec/keywords.exp: New file.
15466
7e993ebf
KS
154672015-03-23 Keith Seitz <keiths@redhat.com>
15468
15469 PR gdb/18021
15470 * gdb.dwarf2/staticvirtual.exp: New test.
15471
bc23328c
JK
154722015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15473
15474 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
15475 * README: Remove HP-UX and gdb.hp.
15476 (configuration):
15477 * configure: Regenerate.
15478 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
15479 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
15480 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
15481 gdb.hp/gdb.defects/Makefile.
15482 * gdb.hp/Makefile.in: File deleted.
15483 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
15484 * gdb.hp/gdb.aCC/optimize.c: File deleted.
15485 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
15486 * gdb.hp/gdb.aCC/run.c: File deleted.
15487 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
15488 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
15489 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
15490 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
15491 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
15492 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
15493 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
15494 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
15495 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
15496 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
15497 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
15498 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
15499 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
15500 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
15501 * gdb.hp/gdb.base-hp/reg.s: File deleted.
15502 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
15503 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
15504 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
15505 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
15506 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
15507 * gdb.hp/gdb.compat/Makefile.in: File deleted.
15508 * gdb.hp/gdb.compat/average.c: File deleted.
15509 * gdb.hp/gdb.compat/sum.c: File deleted.
15510 * gdb.hp/gdb.compat/xdb.c: File deleted.
15511 * gdb.hp/gdb.compat/xdb0.c: File deleted.
15512 * gdb.hp/gdb.compat/xdb0.h: File deleted.
15513 * gdb.hp/gdb.compat/xdb1.c: File deleted.
15514 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
15515 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
15516 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
15517 * gdb.hp/gdb.defects/Makefile.in: File deleted.
15518 * gdb.hp/gdb.defects/bs14602.c: File deleted.
15519 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
15520 * gdb.hp/gdb.defects/solib-d.c: File deleted.
15521 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
15522 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
15523 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
15524 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
15525 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
15526 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
15527 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
15528 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
15529 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
15530 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
15531 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
15532 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
15533 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
15534 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
15535 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
15536 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
15537 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
15538 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
15539 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
15540 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
15541 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
15542 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
15543 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
15544 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
15545 * gdb.hp/tools/odump: File deleted.
15546
8bf3b159
PA
155472015-03-19 Pedro Alves <palves@redhat.com>
15548
15549 * gdb.threads/continue-pending-status.exp (saw_thread_2)
15550 (saw_thread_3): New globals.
15551 (top level): Increment them when an event for the corresponding
15552 thread is seen.
15553 (no thread starvation): New test.
15554
eb54c8bf
PA
155552015-03-19 Pedro Alves <palves@redhat.com>
15556
15557 * gdb.threads/continue-pending-status.c: New file.
15558 * gdb.threads/continue-pending-status.exp: New file.
15559
32d2e5d6
PA
155602015-03-18 Pedro Alves <palves@redhat.com>
15561
15562 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15563 Use gdb_is_target_remote instead of is_remote. Use
15564 gdb_test_multiple instead of gdb_expect. Exit early if
15565 gdb_test_multiple hits its internal matches. Tighten stepi tests
15566 expected output. Fail on exit with any signal, instead of just
15567 SIGILL.
15568
f68f11b7
YQ
155692015-03-18 Yao Qi <yao.qi@linaro.org>
15570
15571 PR tdep/18107
15572 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
15573 variable.
15574 * gdb.base/catch-syscall.exp: Don't skip it on
15575 aarch64*-*-linux* target. Remove elements in all_syscalls.
15576 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
15577 target.
15578 (setup_all_syscalls): New proc.
15579
ca5fd19b
YQ
155802015-03-16 Yao Qi <yao.qi@linaro.org>
15581
15582 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
15583 (top level): Skip tests if valid_addr_p returns false for
15584 $cmd1 or $cmd2.
15585
85642ba0
AW
155862015-03-11 Andy Wingo <wingo@igalia.com>
15587
15588 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
15589
e03f9645
YQ
155902015-03-11 Yao Qi <yao.qi@linaro.org>
15591
15592 * gdb.base/catch-syscall.exp: Fix typo in comments.
15593
5d0962b2
YQ
155942015-03-11 Yao Qi <yao.qi@linaro.org>
15595
15596 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
15597
b2df3cef
PA
155982015-03-09 Pedro Alves <palves@redhat.com>
15599
15600 * dg-extract-results.py: Delete.
15601
ef878e53
PA
156022015-03-09 Pedro Alves <palves@redhat.com>
15603
15604 Merge dg-extract-results.sh from GCC upstream (r218843).
15605
15606 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
15607 * dg-extract-results.sh: Use --text with grep to avoid issues with
15608 binary files. Fall back to cat -v, if that doesn't work.
15609
9494d219
PA
156102015-03-05 Pedro Alves <palves@redhat.com>
15611
15612 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
15613
a8d9763a
SM
156142015-03-04 Simon Marchi <simon.marchi@ericsson.com>
15615
15616 * lib/mi-support.exp (mi_expect_interrupt): Accept
15617 alternative event for when in all-stop mode.
15618
be9957b8
PA
156192015-03-04 Pedro Alves <palves@redhat.com>
15620
15621 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
15622
d57be0f4 156232015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
15624
15625 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
15626
c214c7cf
AA
156272015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
15628
15629 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
15630 regexps for GDB's current line display, accept a hex address
15631 preceding the line number.
15632
6d74a497
AA
156332015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
15634
15635 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
15636 the 'arch1' variable for "s390*-linux*" targets.
15637
511aee7c
PA
156382015-03-04 Pedro Alves <palves@redhat.com>
15639
15640 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
15641 (main): Pass missing retval argument to pthread_join call.
15642
95e50b27
PA
156432015-03-02 Pedro Alves <palves@redhat.com>
15644
15645 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
15646 (top level): Call do_test with non-stop as well.
15647
28054d69
PA
156482015-03-02 Pedro Alves <palves@redhat.com>
15649
15650 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
15651 -1.
15652
4fa5d7b4
AA
156532015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15654
15655 * gdb.arch/s390-vregs.exp: New test.
15656 * gdb.arch/s390-vregs.S: New file.
15657
97c18565
PA
156582015-02-27 Pedro Alves <palves@redhat.com>
15659
15660 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
15661 call to catch_command_errors.
15662 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
15663 catch_command_errors.
15664
a37bfa30
PA
156652015-02-27 Pedro Alves <palves@redhat.com>
15666
15667 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
15668 "true" for boolean result.
15669 * gdb.gdb/selftest.exp (test_with_self): Also accept full
15670 prototype of main.
15671
6f98576f
PA
156722015-02-27 Pedro Alves <palves@redhat.com>
15673
15674 * lib/unbuffer_output.c: New file.
15675 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
15676 (main): Call gdb_unbuffer_output.
15677
eba5ab56
YQ
156782015-02-27 Yao Qi <yao.qi@linaro.org>
15679
15680 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
15681 target.
15682
0def5aaa
DE
156832015-02-26 Doug Evans <dje@google.com>
15684
15685 * gdb.cp/class2.cc (Dbase, D): New classes.
15686 (main): New local delta.
15687 * gdb.cp/class2.exp: Test printing delta.
15688 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
15689 (dynbar): New global.
15690 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
15691
081a1c2c
JK
156922015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15693
15694 * gdb.compile/compile-ifunc.c: New file.
15695 * gdb.compile/compile-ifunc.exp: New file.
15696
2f41223f
AT
156972015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
15698
15699 * gdb.base/structs.exp: Check for correct struct on finish.
15700
03eddd80
YQ
157012015-02-26 Yao Qi <yao.qi@linaro.org>
15702
15703 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
15704 is zero.
15705
80c57053
JK
157062015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15707
15708 * gdb.arch/cordic.ko.bz2: New file.
15709 * gdb.arch/cordic.ko.debug.bz2: New file.
15710 * gdb.arch/ppc64-symtab-cordic.exp: New file.
15711
21613c12
YQ
157122015-02-25 Yao Qi <yao.qi@linaro.org>
15713
15714 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
15715 aarch64*-*-* target.
15716
d8b901ed
PA
157172015-02-23 Pedro Alves <palves@redhat.com>
15718
15719 * lib/gdb.exp (delete_breakpoints): Rewrite using
15720 gdb_test_multiple.
15721
e5b85ead
PA
157222015-02-23 Pedro Alves <palves@redhat.com>
15723
15724 * gdb.base/info-os.c: Include stdlib.h.
15725
85c3a371
DE
157262015-02-22 Doug Evans <xdje42@gmail.com>
15727
15728 PR symtab/17855
15729 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
15730 is read after symbols have been re-read.
15731 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
15732 * gdb.ada/exec_changed/second.adb (Second): Ditto.
15733
96553a0c
DE
157342015-02-21 Doug Evans <dje@google.com>
15735
15736 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
15737
97a0c697
JK
157382015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15739
15740 PR corefiles/17808
15741 * gdb.arch/i386-biarch-core.core.bz2: New file.
15742 * gdb.arch/i386-biarch-core.exp: New file.
15743
a47cd6e9
PA
157442015-02-21 Pedro Alves <palves@redhat.com>
15745
15746 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
15747 runto_main fails.
15748
c5facdc4
PA
157492015-02-20 Pedro Alves <palves@redhat.com>
15750
15751 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
15752 info probes.
15753
2db9a427
PA
157542015-02-20 Pedro Alves <palves@redhat.com>
15755
15756 * gdb.threads/multi-create-ns-info-thr.exp: New file.
15757
60fb7e9e
PA
157582015-02-20 Pedro Alves <palves@redhat.com>
15759
15760 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
15761 clean_restart before gdb_target_supports_trace.
15762
5c5019c2
PA
157632015-02-20 Pedro Alves <palves@redhat.com>
15764
15765 PR threads/18006
15766 * gdb.threads/clone-thread_db.c: New file.
15767 * gdb.threads/clone-thread_db.exp: New file.
15768
c9587f88
AT
157692015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
15770
15771 PR breakpoints/16812
15772 * gdb.base/catch-gdb-caused-signals.c: New file.
15773 * gdb.base/catch-gdb-caused-signals.exp: New file.
15774
f6a88844
JM
157752015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
15776
15777 * configure: Regenerated.
15778 * configure.ac: Use GDB_AC_TRANSFORM.
15779 * aclocal.m4: sinclude ../transform.m4.
15780
497c491b
JM
157812015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15782
15783 * lib/dtrace.exp: New file.
15784 * gdb.base/dtrace-probe.exp: Likewise.
15785 * gdb.base/dtrace-probe.d: Likewise.
15786 * gdb.base/dtrace-probe.c: Likewise.
15787 * lib/pdtrace.in: Likewise.
15788 * configure.ac: Output variables with the transformed names of
15789 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
15790 * configure: Regenerated.
15791
03e98035
JM
157922015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15793
15794 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
15795 expected message when trying to access $_probe_* convenience
15796 variables while not on a probe.
15797
63cc30e9
JK
157982015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15799
15800 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
15801
0703599a
PA
158022015-02-11 Pedro Alves <pedro@codesourcery.com>
15803
15804 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
15805 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
15806
7e60a48e
DE
158072015-02-10 Doug Evans <xdje42@gmail.com>
15808
15809 * lib/gdb.exp (gdb_load): Always return a result.
15810
01b088bc
PA
158112015-02-10 Pedro Alves <palves@redhat.com>
15812
15813 * gdb.threads/signal-sigtrap.c: New file.
15814 * gdb.threads/signal-sigtrap.exp: New file.
15815
b05ec7a5
AT
158162015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
15817
15818 * gdb.trace/no-attach-trace.c: New file.
15819 * gdb.trace/no-attach-trace.exp: New file.
15820
a2c2acaf
MW
158212015-02-09 Mark Wielaard <mjw@redhat.com>
15822
15823 * gdb.dwarf2/atomic.c: New file.
15824 * gdb.dwarf2/atomic-type.exp: Likewise.
15825
31fd9caa
MM
158262015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15827
15828 * gdb.btrace/buffer-size.exp: Update "info record" output.
15829 * gdb.btrace/delta.exp: Update "info record" output.
15830 * gdb.btrace/enable.exp: Update "info record" output.
15831 * gdb.btrace/finish.exp: Update "info record" output.
15832 * gdb.btrace/instruction_history.exp: Update "info record" output.
15833 * gdb.btrace/next.exp: Update "info record" output.
15834 * gdb.btrace/nexti.exp: Update "info record" output.
15835 * gdb.btrace/step.exp: Update "info record" output.
15836 * gdb.btrace/stepi.exp: Update "info record" output.
15837 * gdb.btrace/nohist.exp: Update "info record" output.
15838
d33501a5
MM
158392015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15840
15841 * gdb.btrace/buffer-size: New.
15842
f4abbc16
MM
158432015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15844
15845 * gdb.btrace/delta.exp: Update "info record" output.
15846 * gdb.btrace/enable.exp: Update "info record" output.
15847 * gdb.btrace/finish.exp: Update "info record" output.
15848 * gdb.btrace/instruction_history.exp: Update "info record" output.
15849 * gdb.btrace/next.exp: Update "info record" output.
15850 * gdb.btrace/nexti.exp: Update "info record" output.
15851 * gdb.btrace/step.exp: Update "info record" output.
15852 * gdb.btrace/stepi.exp: Update "info record" output.
15853 * gdb.btrace/nohist.exp: Update "info record" output.
15854
b9d61307
SM
158552015-02-06 Simon Marchi <simon.marchi@ericsson.com>
15856
15857 PR gdb/15678
15858 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
15859
e584fdbc
PA
158602015-02-06 Pedro Alves <palves@redhat.com>
15861
15862 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
15863 macro.
15864 (seconds_left, again): New globals.
15865 (main): Wait seconds_left in a 1-second sleep loop instead of
15866 sleeping 180 seconds. If 'again' is set, reset the seconds
15867 counter.
15868 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
15869 'again' in the inferior before detaching. Print the seconds left.
15870 (options): New global.
15871 (top level): Build program with -DTIMEOUT=$timeout.
15872
77f41761
PA
158732015-02-06 Pedro Alves <palves@redhat.com>
15874
15875 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
15876 determine how many seconds to pass to 'alarm'.
15877 * gdb.base/gdb-sigterm.exp (top level): Build program with
15878 -DTIMEOUT=$timeout.
15879 (do_test): Return success/failure indication. Add more verbose
15880 logging. Don't fail if 200 single steps are seen. Instead, fail
15881 when the test times out.
15882 (passes): New global.
15883 (top level): Break the testing loop if testing fails on any
15884 iteration. Use gdb_assert.
15885
b9394193
DB
158862015-02-04 Don Breazeal <donb@codesourcery.com>
15887
15888 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
15889 and initialize them.
15890 (ipc_cleanup): New function.
15891 (main): Don't declare shmid, semid, and msqid. Add a call to
15892 atexit so that we call ipc_cleanup on exit.
15893
42d9e528
PA
158942015-02-04 Pedro Alves <palves@redhat.com>
15895
15896 * boards/native-extended-gdbserver.exp: Remove any target variant
15897 specifications from the board name before clearing the isremote
15898 flag from board_info.
15899
ae6ae975
DE
159002015-01-31 Doug Evans <xdje42@gmail.com>
15901
15902 * gdb.base/maint.exp <maint print type argc>: Update expected output.
15903
cfb069a8
GB
159042015-01-31 Gary Benson <gbenson@redhat.com>
15905
15906 * gdb.base/completion.exp: Disable completion limiting for
15907 existing tests. Add new tests to check completion limiting.
15908 * gdb.linespec/ls-errs.exp: Disable completion limiting.
15909
5dd31d79
DE
159102015-01-31 Doug Evans <xdje42@gmail.com>
15911
15912 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
15913
9f050062
DE
159142015-01-31 Doug Evans <xdje42@gmail.com>
15915
15916 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
15917 entries. Duplicate file section script entries.
15918 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15919 inlined entries. Add test for safe-path rejection.
15920 * gdb.python/py-section-script.c: Add duplicate inlined section script
15921 entries. Duplicate file section script entries.
15922 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15923 inlined entries. Add test for safe-path rejection.
15924
df25ebbd
JB
159252015-01-29 Joel Brobecker <brobecker@adacore.com>
15926
15927 * gdb.ada/disc_arr_bound: New testcase.
15928
4a0ca9ec
JB
159292015-01-29 Joel Brobecker <brobecker@adacore.com>
15930
15931 * gdb.ada/mi_var_array: New testcase.
15932
3a8b707a
DE
159332015-01-27 Doug Evans <dje@google.com>
15934
15935 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15936 Add test for objfile.filename, objfile.username after objfile
15937 has been unloaded.
15938
f8313f6e
JB
159392015-01-26 Joel Brobecker <brobecker@adacore.com>
15940
15941 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15942 the second test to print the name attribute of value
15943 returned by the call to gdb.lookup_type, and adjust
15944 the expected output accordingly.
15945
37bc665e
MW
159462015-01-25 Mark Wielaard <mjw@redhat.com>
15947
15948 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15949 * gdb.base/disp-step-fork.c: Include unistd.h.
15950 * gdb.base/siginfo-obj.c: Include stdio.h.
15951 * gdb.base/siginfo-thread.c: Likewise.
15952 * gdb.mi/non-stop.c: Include unistd.h.
15953 * gdb.mi/nsthrexec.c: Include stdio.h.
15954 * gdb.mi/pthreads.c: Include unistd.h.
15955 * gdb.modula2/unbounded1.c (main): Declare returns int.
15956 * gdb.reverse/consecutive-reverse.c: Likewise.
15957 * gdb.threads/create-fail.c: Include unistd.h.
15958 * gdb.threads/killed.c: Likewise.
15959 * gdb.threads/linux-dp.c: Likewise.
15960 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15961 * gdb.threads/non-ldr-exc-2.c: Likewise.
15962 * gdb.threads/non-ldr-exc-3.c: Likewise.
15963 * gdb.threads/non-ldr-exc-4.c: Likewise.
15964 * gdb.threads/pthreads.c: Include unistd.h.
15965 (main): Declare returns int.
15966 * gdb.threads/tls-main.c (foo): New declaration.
15967 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15968
f7e5394d
SM
159692015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15970
15971 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15972 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15973
743649fd
MW
159742015-01-15 Mark Wielaard <mjw@redhat.com>
15975
15976 * gdb.base/noreturn-return.c: New file.
15977 * gdb.base/noreturn-return.exp: New file.
15978 * gdb.base/noreturn-finish.c: New file.
15979 * gdb.base/noreturn-finish.exp: New file.
15980
198297aa
PA
159812015-01-23 Pedro Alves <palves@redhat.com>
15982
15983 * gdb.threads/continue-pending-after-query.c: New file.
15984 * gdb.threads/continue-pending-after-query.exp: New file.
15985
717cf30c
AG
159862015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15987 Simon Marchi <simon.marchi@ericsson.com>
15988
15989 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15990 * gdb.base/valgrind-db-attach.exp: Same.
15991 * gdb.base/valgrind-infcall.exp: Same.
15992 * lib/mi-support.exp (default_mi_gdb_start): Same.
15993 * lib/prompt.exp (default_prompt_gdb_start): Same.
15994 * lib/gdb.exp (default_gdb_spawn): Same.
15995 (gdb_interact): New.
15996
15997
4b62a76e
JK
159982015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15999
16000 * gdb.compile/compile.exp (pointer to jit function): New test.
16001
b4cdae6f
WW
160022015-01-17 Wei-cheng Wang <cole945@gmail.com>
16003
16004 * lib/gdb.exp (supports_process_record): Return true for
16005 powerpc*-*-linux*.
16006 (supports_reverse): Likewise.
16007
d221e7ef
DB
160082015-01-15 Don Breazeal <donb@codesourcery.com>
16009
16010 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
16011 instead of checking whether the target board is remote and
16012 use spawn_wait_for_attach instead of exec/sleep.
16013 * gdb.base/attach-twice.exp: Likewise.
16014
bafffb51
JB
160152015-01-15 Joel Brobecker <brobecker@adacore.com>
16016
16017 * gdb.ada/var_arr_attrs: New testcase.
16018
5589af0e
PA
160192015-01-14 Pedro Alves <palves@redhat.com>
16020 Joel Brobecker <brobecker@adacore.com>
16021
16022 PR gdb/17525
16023 * gdb.base/bp-cmds-execution-x-script.c: New file.
16024 * gdb.base/bp-cmds-execution-x-script.exp: New file.
16025 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
16026
6c400b59
PA
160272015-01-14 Pedro Alves <palves@redhat.com>
16028
16029 PR cli/17828
16030 * gdb.base/batch-preserve-term-settings.c: New file.
16031 * gdb.base/batch-preserve-term-settings.exp: New file.
16032
e02c96a7
DE
160332015-01-13 Doug Evans <dje@google.com>
16034
16035 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
16036 binary.
16037
576fd14c
JB
160382015-01-13 Joel Brobecker <brobecker@adacore.com>
16039
16040 * Makefile.in (clean mostlyclean): Do not delete *.py.
16041
04dccad0
JB
160422015-01-13 Joel Brobecker <brobecker@adacore.com>
16043
16044 * gdb.python/py-lookup-type.exp: New file.
16045
3d230f71
PA
160462015-01-12 Pedro Alves <palves@redhat.com>
16047
16048 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
16049 restore GDBFLAGS before returning.
16050
7e67715d
JK
160512015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16052
16053 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
16054 is_amd64_regs_target and is_x86_like_target.
16055
f2e0d4b4
DE
160562015-01-11 Doug Evans <xdje42@gmail.com>
16057
16058 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
16059 is given without an explicit form.
16060 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
16061 attributes.
16062 * gdb.dwarf/corrupt.exp: Ditto.
16063 * gdb.dwarf2/enum-type.exp: Ditto.
16064 * gdb.trace/entry-values.exp: Ditto.
16065 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
16066
439250fb
DE
160672015-01-11 Doug Evans <xdje42@gmail.com>
16068
16069 PR gdb/15830
16070 * gdb.base/maint.exp: Remove references to "maint demangle".
16071 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
16072 Add tests for explicitly specifying language to demangle.
16073 * gdb.dlang/demangle.exp: Ditto.
16074
ede9f622
PA
160752015-01-09 Pedro Alves <palves@redhat.com>
16076
16077 * gdb.threads/non-stop-fair-events.c: New file.
16078 * gdb.threads/non-stop-fair-events.exp: New file.
16079
a7b796db
PA
160802015-01-09 Pedro Alves <palves@redhat.com>
16081
16082 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
16083 the global scope. Set a breakpoint after all threads are started
16084 rather than stepping over two source lines. Expect the prompt.
16085 * gdb.base/watch_thread_num.c (threads_started_barrier): New
16086 global.
16087 (NUM): Now 15.
16088 (main): Use threads_started_barrier to wait for all threads to
16089 start. Main thread no longer calls thread_function. Exit after
16090 180 seconds.
16091 (loop): New function.
16092 (thread_function): Wait on threads_started_barrier barrier. Call
16093 'loop' at each iteration.
16094 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
16095 threads have started, instead of hardcoding number of "next"
16096 steps. Use an access watchpoint instead of a write watchpoint.
16097
9665ffdd
PA
160982015-01-09 Pedro Alves <palves@redhat.com>
16099
16100 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
16101 (thread_func): Wait on barrier.
16102 (main): Wait for all threads to start before stopping GDB.
16103 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
16104 global.
16105 (thread1_func, thread2_func): Wait on barrier.
16106 (main): Wait for all threads to start before stopping GDB.
16107 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
16108 New global.
16109 (thread1_func, thread2_func): Wait on barrier.
16110 (main): Wait for all threads to start before stopping GDB.
16111
c945a99f
PA
161122015-01-09 Pedro Alves <palves@redhat.com>
16113
16114 * gdb.threads/attach-many-short-lived-threads.c: New file.
16115 * gdb.threads/attach-many-short-lived-threads.exp: New file.
16116
c1a747c1
PA
161172014-01-09 Pedro Alves <palves@redhat.com>
16118
16119 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
16120 instead of to thread 2.
16121 * gdb.threads/signal-command-multiple-signals-pending.c (main):
16122 Add barrier around each pthread_create call instead of around all
16123 calls.
16124 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
16125 Set a break on thread_function and have the child threads hit it
16126 one at at a time.
16127
60b3033e
PA
161282015-01-09 Pedro Alves <palves@redhat.com>
16129
16130 * lib/gdb.exp (can_spawn_for_attach): New procedure.
16131 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
16132 false.
16133 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
16134 checking whether the target board is remote.
16135 * gdb.multi/multi-attach.exp: Likewise.
16136 * gdb.python/py-sync-interp.exp: Likewise.
16137 * gdb.server/ext-attach.exp: Likewise.
16138 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
16139 tests that need to attach, instead of checking whether the target
16140 board is remote at the top of the file.
16141
acc018ac
YQ
161422015-01-08 Yao Qi <yao@codesourcery.com>
16143
16144 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
16145
50a18af8
JK
161462015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16147
16148 Fix testcase compilation.
16149 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
16150
8503d6e1
JB
161512015-01-06 Joel Brobecker <brobecker@adacore.com>
16152
16153 * gdb.python/py-type.exp: Add a couple test about empty
16154 array creation, and negative-length array creation.
16155
cc73dbcc
DE
161562015-01-02 Doug Evans <xdje42@gmail.com>
16157
16158 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
16159
0300bbc7
DE
161602015-01-02 Doug Evans <dje@google.com>
16161
16162 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
16163
9d85a0ec
YQ
161642014-12-29 Yao Qi <yao@codesourcery.com>
16165
16166 * gdb.trace/entry-values.exp: Update comments. Rename variable
16167 bar_call_foo to returned_from_foo.
16168
87186c6a
MMN
161692014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
16170
16171 PR gdb/17394
16172 * gdb.linespec/break-asm-file.c: New file.
16173 * gdb.linespec/break-asm-file.exp: New file.
16174 * gdb.linespec/break-asm-file0.s: New file.
16175 * gdb.linespec/break-asm-file1.s: New file.
16176
1bab7383
YQ
161772014-12-18 Nigel Stephens <nigel@mips.com>
16178 Maciej W. Rozycki <macro@codesourcery.com>
16179
16180 * gdb.base/float.exp: Handle the new output from "info float" on
16181 MIPS targets.
16182
1bc1068a
JK
161832014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16184
16185 Fix MinGW compilation.
16186 * gdb.compile/compile-ops.exp: Update untested message if
16187 !skip_compile_feature_tests.
16188 * gdb.compile/compile-setjmp.exp: Likewise.
16189 * gdb.compile/compile-tls.exp: Likewise.
16190 * gdb.compile/compile.exp: Likewise.
16191 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
16192 supported on this host".
16193
b6615d10
DE
161942014-12-16 Doug Evans <xdje42@gmail.com>
16195
16196 * boards/stabs.exp: New file.
16197
25dda427
AA
161982014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
16199
16200 * gdb.base/completion.exp: Adjust to format changes of "maint
16201 print user-registers".
16202
bf330350
CU
162032014-12-16 Catalin Udma <catalin.udma@freescale.com>
16204
16205 PR server/17457
16206 * gdb.arch/aarch64-fp.c: New file.
16207 * gdb.arch/aarch64-fp.exp: New file.
16208
395cf596
SDJ
162092014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
16210
16211 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
16212 r210637, r210913, r211666, r215400, r215817).
16213
16214 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
16215 * dg-extract-results.py: New file.
16216 * dg-extract-results.sh: Use it if the environment seems
16217 suitable.
16218
16219 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
16220
16221 * dg-extract-results.py (parse_run): Handle warnings that
16222 are printed before a test harness is run.
16223
16224 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
16225
16226 * dg-extract-results.py (Named): Remove __cmp__ method.
16227 (output_variation): Use a key to sort variation.harnesses.
16228
16229 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
16230
16231 * dg-extract-results.py: For Python 3, force sys.stdout to
16232 handle surrogate escape sequences.
16233 (safe_open): New function.
16234 (output_segment, main): Use it.
16235
16236 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
16237
16238 * dg-extract-results.py (Prog.result_re): Include options
16239 in test name.
16240
16241 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
16242
16243 * dg-extract-results.py (output_variation): Always sort if
16244 do_sum.
16245
e882ef3c
SM
162462014-12-15 Simon Marchi <simon.marchi@ericsson.com>
16247
16248 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
16249 as long as we get pagination notifications.
16250
4992aa20
JM
162512014-12-15 Jason Merrill <jason@redhat.com>
16252
16253 * Makefile.in (check-gdb.%): Restore.
16254 * README: Mention it.
16255
c1b5a1a6
JB
162562014-12-13 Joel Brobecker <brobecker@adacore.com>
16257
16258 * gdb.ada/str_uninit: New testcase.
16259
5537b577
JK
162602014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16261
16262 PR symtab/17642
16263 * gdb.base/vla-stub-define.c: New file.
16264 * gdb.base/vla-stub.c: New file.
16265 * gdb.base/vla-stub.exp: New file.
16266
bb2ec1b3
TT
162672014-12-12 Phil Muldoon <pmuldoon@redhat.com>
16268 Jan Kratochvil <jan.kratochvil@redhat.com>
16269 Tom Tromey <tromey@redhat.com>
16270
16271 * configure.ac: Add gdb.compile/.
16272 * configure: Regenerate.
16273 * gdb.compile/Makefile.in: New file.
16274 * gdb.compile/compile-ops.exp: New file.
16275 * gdb.compile/compile-ops.c: New file.
16276 * gdb.compile/compile-tls.c: New file.
16277 * gdb.compile/compile-tls.exp: New file.
16278 * gdb.compile/compile-constvar.S: New file.
16279 * gdb.compile/compile-constvar.c: New file.
16280 * gdb.compile/compile-mod.c: New file.
16281 * gdb.compile/compile-nodebug.c: New file.
16282 * gdb.compile/compile-setjmp-mod.c: New file.
16283 * gdb.compile/compile-setjmp.c: New file.
16284 * gdb.compile/compile-setjmp.exp: New file.
16285 * gdb.compile/compile-shlib.c: New file.
16286 * gdb.compile/compile.c: New file.
16287 * gdb.compile/compile.exp: New file.
16288 * lib/gdb.exp (skip_compile_feature_tests): New proc.
16289
4ff709eb
TT
162902014-12-12 Tom Tromey <tromey@redhat.com>
16291
16292 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
16293 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
16294
6dddd6a5
DE
162952014-12-12 Doug Evans <dje@google.com>
16296
16297 * lib/gdb-python.exp (get_python_valueof): New function.
16298 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
16299
71c24708
AA
163002014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16301
16302 * gdb.base/completion.exp: Add test for completion of "info
16303 registers ".
16304
3e29f34a
MR
163052014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
16306
16307 * gdb.base/func-ptrs.c: New file.
16308 * gdb.base/func-ptrs.exp: New file.
16309
fc126975
SM
163102014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16311
16312 PR breakpoints/17012
16313 * gdb.base/dprintf-detach.c: New file.
16314 * gdb.base/dprintf-detach.exp: New file.
16315
0a46d518
SM
163162014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16317
16318 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
16319 * lib/gdb.exp (target_is_gdbserver): New procedure.
16320
a0be3e44
DE
163212014-12-08 Doug Evans <dje@google.com>
16322
16323 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
16324
df1b803a
YQ
163252014-12-05 Yao Qi <yao@codesourcery.com>
16326
16327 * gdb.guile/scm-error.exp: Remove the third argument to
16328 gdb_remote_download.
16329 * gdb.guile/scm-frame-args.exp: Likewise.
16330 * gdb.guile/scm-section-script.exp: Likewise.
16331
ddb9f679
YQ
163322014-12-05 Yao Qi <yao@codesourcery.com>
16333
16334 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
16335
86e4ed39
DE
163362014-12-04 Doug Evans <dje@google.com>
16337
16338 * gdb.python/py-objfile.exp: Add tests for
16339 objfile.add_separate_debug_file.
16340
7c50a931
DE
163412014-12-04 Doug Evans <dje@google.com>
16342
16343 * lib/gdb.exp (get_build_id): New function.
16344 (build_id_debug_filename_get): Rewrite to use it.
16345 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
16346
621661e3
MR
163472014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
16348
16349 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
16350 `method(long)', not just 0x0.
16351 * gdb.cp/nsalias.exp: Align code labels to 4.
16352 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
16353 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
16354 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
16355 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
16356 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
16357 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
16358
29f0c3b7
DE
163592014-12-02 Doug Evans <dje@google.com>
16360
e1e061e7 16361 PR symtab/17602
29f0c3b7 16362 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 16363 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
16364 * gdb.cp/anon-ns.exp: Update.
16365
162078c8
NB
163662014-12-02 Nick Bull <nicholaspbull@gmail.com>
16367
16368 * gdb.python/py-events.py (inferior_call_handler): New.
16369 (register_changed_handler, memory_changed_handler): New.
16370 (test_events.invoke): Register new handlers.
16371 * gdb.python/py-events.exp: Add tests for inferior call,
16372 memory_changed and register_changed events.
16373
fdb09caf
AA
163742014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16375
16376 * gdb.base/execl-update-breakpoints.exp: Specify the link address
16377 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
16378 if the linker doesn't understand this.
16379
55cfb2c4
SM
163802014-12-01 Simon Marchi <simon.marchi@ericsson.com>
16381
16382 * gdb.python/python.exp: Change expected reply to help().
16383
9e8cd6df
YQ
163842014-12-01 Yao Qi <yao@codesourcery.com>
16385
16386 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
16387 AC_CONFIG_SUBDIRS(gdb.gdbtk).
16388 * configure: Re-generated.
16389
6c659fc2
SC
163902014-11-28 Siva Chandra Reddy <sivachandra@google.com>
16391
16392 * gdb.cp/chained-calls.cc: New file.
16393 * gdb.cp/chained-calls.exp: New file.
16394 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
16395
d7fc3181
SM
163962014-11-28 Simon Marchi <simon.marchi@ericsson.com>
16397
16398 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
16399 * gdb.dwarf2/symtab-producer.exp: Same.
16400 * gdb.gdb/python-interrupts.exp: Same.
16401 * gdb.gdb/python-selftest.exp: Same.
16402 * gdb.python/py-linetable.exp: Same.
16403 * gdb.python/py-type.exp: Same.
16404 * gdb.python/py-value-cc.exp: Same.
16405 * gdb.python/py-value.exp: Same.
16406
10e79639
YQ
164072014-11-28 Yao Qi <yao@codesourcery.com>
16408
16409 * gdb.base/break-probes.exp: Match library name prefixed with
16410 sysroot.
16411
f28a0564
SM
164122014-11-27 Simon Marchi <simon.marchi@ericsson.com>
16413
16414 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
16415 test expected output. Add parentheses for the call to print.
16416 Remove L suffix from integers.
16417
3fe1ce1d
DE
164182014-11-26 Doug Evans <dje@google.com>
16419
16420 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
16421
84429e27
YQ
164222014-11-22 Yao Qi <yao@codesourcery.com>
16423
16424 * gdb.trace/entry-values.c: Remove asms.
16425 (foo): Add foo_label.
16426 (bar): Add bar_label.
16427 * gdb.trace/entry-values.exp: Remove code computing foo's
16428 length and bar's length.
16429 (Dwarf::assemble): Invoke function_range for bar and use
16430 MACRO_AT_func for foo.
16431
26741859
YQ
164322014-11-22 Yao Qi <yao@codesourcery.com>
16433
16434 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
16435 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
16436 Use .Lgcc43_procstart instead of gcc43.
16437
45e44d27
JB
164382014-11-21 Joel Brobecker <brobecker@adacore.com>
16439
16440 * gdb.ada/n_arr_bound: New testcase.
16441
458c8db8
SDJ
164422014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
16443
16444 PR breakpoints/10737
16445 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
16446 test_catch_syscall_multi_arch.
16447 (test_catch_syscall_multi_arch): New function.
16448
43f3e411
DE
164492014-11-20 Doug Evans <xdje42@gmail.com>
16450
16451 * gdb.base/maint.exp: Update expected output.
16452
0d7b2549
AA
164532014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
16454
16455 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
16456 4-byte instruction on S390.
16457
8908fca5
JB
164582014-11-19 Joel Brobecker <brobecker@adacore.com>
16459
16460 * gdb.ada/arr_arr: New testcase.
16461
4a46959e
JB
164622014-11-19 Joel Brobecker <brobecker@adacore.com>
16463
16464 * gdb.ada/pkd_arr_elem: New Testcase.
16465
470e2f4e
LM
164662014-11-18 Luis Machado <lgustavo@codesourcery.com>
16467
16468 * gdb.reverse/break-precsave: Expect completion message for
16469 core file reads.
16470 * gdb.reverse/consecutive-precsave.exp: Likewise.
16471 * gdb.reverse/finish-precsave.exp: Likewise.
16472 * gdb.reverse/i386-precsave.exp: Likewise.
16473 * gdb.reverse/machinestate-precsave.exp: Likewise.
16474 * gdb.reverse/sigall-precsave.exp: Likewise.
16475 * gdb.reverse/solib-precsave.exp: Likewise.
16476 * gdb.reverse/step-precsave.exp: Likewise.
16477 * gdb.reverse/until-precsave.exp: Likewise.
16478 * gdb.reverse/watch-precsave.exp: Likewise.
16479
a267f3ad
AA
164802014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16481
16482 * gdb.base/bp-permanent.c: Include unistd.h.
16483 * gdb.python/py-framefilter-mi.c (main): Add return type.
16484 * gdb.python/py-framefilter.c (main): Likewise.
16485 * gdb.trace/actions-changed.c (main): Likewise.
16486
12084a9a
AA
164872014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16488
16489 * gdb.mi/until.c: Add eye-catchers.
16490 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
16491 line numbers.
16492
dc7e1a77
AA
164932014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16494
16495 * gdb.base/condbreak.exp: Drop references to removed non-prototype
16496 function header variants in break1.c.
16497 * gdb.base/ena-dis-br.exp: Likewise.
16498 * gdb.base/hbreak2.exp: Likewise.
16499 * gdb.reverse/until-precsave.exp: Drop references to removed
16500 non-prototype function header variants in ur1.c.
16501 * gdb.reverse/until-reverse.exp: Likewise.
16502
41c77605
PM
165032014-11-17 Petr Machata <pmachata@redhat.com>
16504
16505 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
16506 ${_cu_offset_size} bytes abbrev offset.
16507
34248c3a
DE
165082014-11-15 Doug Evans <xdje42@gmail.com>
16509
16510 PR symtab/17559
16511 * gdb.base/line-symtabs.exp: New file.
16512 * gdb.base/line-symtabs.c: New file.
16513 * gdb.base/line-symtabs.h: New file.
16514
646da059
YQ
165152014-11-14 Yao Qi <yao@codesourcery.com>
16516
16517 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
16518 (func): Add label func_label.
16519 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
16520 Replace low_pc and high_pc with MACRO_AT_range.
16521 Replace name, low_pc and high_pc with MACRO_AT_func.
16522
9301ebe6
YQ
165232014-11-14 Yao Qi <yao@codesourcery.com>
16524
16525 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
16526 Replace name, low_pc and high_pc with MACRO_AT_func.
16527
f166b542
YQ
165282014-11-14 Yao Qi <yao@codesourcery.com>
16529
16530 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
16531 produce debug information.
16532 * gdb.dwarf2/implptr-optimized-out.S: Removed.
16533
0f6e71e3
YQ
165342014-11-14 Yao Qi <yao@codesourcery.com>
16535
16536 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
16537 object and get function length.
16538 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
16539 with MACRO_AT_func.
16540 (top-level): Replace gdb_compile and clean_restart with
16541 prepare_for_testing.
16542 * gdb.dwarf2/main.c (main): Add label main_label.
16543
876c4df9
YQ
165442014-11-14 Yao Qi <yao@codesourcery.com>
16545
16546 * lib/dwarf.exp (function_range): New procedure.
16547 (Dwarf::_handle_macro_at_func): New procedure.
16548 (Dwarf::_handle_macro_at_range): New procedure.
16549 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
16550
02ad9cf1
YQ
165512014-11-14 Yao Qi <yao@codesourcery.com>
16552
16553 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
16554 (_handle_attribute): New procedure.
16555
a59add0c
AA
165562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16557
16558 * gdb.ada/cond_lang/foo.c (callme): Add return type.
16559 * gdb.base/call-sc.c (zed): Likewise.
16560 * gdb.base/checkpoint.c (main): Likewise.
16561 * gdb.base/dump.c (main): Likewise.
16562 * gdb.base/gcore.c (main): Likewise.
16563 * gdb.base/huge.c (main): Likewise.
16564 * gdb.base/multi-forks.c (main): Likewise.
16565 * gdb.base/pr10179-a.c (main): Likewise.
16566 * gdb.base/savedregs.c (main): Likewise.
16567 * gdb.base/sigaltstack.c (main): Likewise.
16568 * gdb.base/siginfo.c (main): Likewise.
16569 * gdb.base/structs.c (zed): Likewise.
16570 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
16571 * gdb.mi/mi-syn-frame.c (main): Likewise.
16572 * gdb.mi/until.c (foo, main): Likewise.
16573 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
16574 * gdb.base/solib-weak.c (foo): Declare.
16575 * gdb.base/attach-twice.c: Include stdio.h.
16576 * gdb.base/weaklib1.c: Likewise.
16577 * gdb.base/weaklib2.c: Likewise.
16578 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
16579 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
16580 unistd.h.
16581 * gdb.base/attach-pie-misread.c: Include stdlib.h.
16582 * gdb.mi/mi-exit-code.c: Likewise.
16583 * gdb.base/break-interp-lib.c: Include string.h.
16584 * gdb.base/coremaker.c: Likewise.
16585 * gdb.base/testenv.c: Likewise.
16586 * gdb.python/py-finish-breakpoint.c: Likewise.
16587 * gdb.base/inferior-died.c: Include sys/wait.h.
16588 * gdb.base/fileio.c: Include time.h.
16589 * gdb.base/async-shell.c: Include unistd.h.
16590 * gdb.base/dprintf-non-stop.c: Likewise.
16591 * gdb.base/info-os.c: Likewise.
16592 * gdb.mi/mi-console.c: Likewise.
16593 * gdb.mi/watch-nonstop.c: Likewise.
16594 * gdb.python/py-events.c: Likewise.
16595 * gdb.base/async.c (baz): Move up before its invocation.
16596 * gdb.base/code_elim2.c (my_global_func): Likewise.
16597 * gdb.base/skip-solib-lib.c (multiply): Likewise.
16598 * gdb.base/advance.c (func2): Likewise.
16599
3b5d5997
AA
166002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16601
16602 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
16603 variant.
16604 * gdb.base/annota3.c: Likewise.
16605 * gdb.base/async.c: Likewise.
16606 * gdb.base/average.c: Likewise.
16607 * gdb.base/call-ar-st.c: Likewise.
16608 * gdb.base/call-rt-st.c: Likewise.
16609 * gdb.base/call-sc.c: Likewise.
16610 * gdb.base/call-strs.c: Likewise.
16611 * gdb.base/ending-run.c: Likewise.
16612 * gdb.base/execd-prog.c: Likewise.
16613 * gdb.base/exprs.c: Likewise.
16614 * gdb.base/foll-exec.c: Likewise.
16615 * gdb.base/foll-fork.c: Likewise.
16616 * gdb.base/foll-vfork.c: Likewise.
16617 * gdb.base/funcargs.c: Likewise.
16618 * gdb.base/gcore.c: Likewise.
16619 * gdb.base/jump.c: Likewise.
16620 * gdb.base/langs0.c: Likewise.
16621 * gdb.base/langs1.c: Likewise.
16622 * gdb.base/langs2.c: Likewise.
16623 * gdb.base/mips_pro.c: Likewise.
16624 * gdb.base/nodebug.c: Likewise.
16625 * gdb.base/opaque0.c: Likewise.
16626 * gdb.base/opaque1.c: Likewise.
16627 * gdb.base/recurse.c: Likewise.
16628 * gdb.base/run.c: Likewise.
16629 * gdb.base/scope0.c: Likewise.
16630 * gdb.base/scope1.c: Likewise.
16631 * gdb.base/setshow.c: Likewise.
16632 * gdb.base/setvar.c: Likewise.
16633 * gdb.base/shmain.c: Likewise.
16634 * gdb.base/shr1.c: Likewise.
16635 * gdb.base/shr2.c: Likewise.
16636 * gdb.base/sigall.c: Likewise.
16637 * gdb.base/signals.c: Likewise.
16638 * gdb.base/so-indr-cl.c: Likewise.
16639 * gdb.base/solib2.c: Likewise.
16640 * gdb.base/structs.c: Likewise.
16641 * gdb.base/sum.c: Likewise.
16642 * gdb.base/vforked-prog.c: Likewise.
16643 * gdb.base/watchpoint.c: Likewise.
16644 * gdb.reverse/shr2.c: Likewise.
16645 * gdb.reverse/until-reverse.c: Likewise.
16646 * gdb.reverse/ur1.c: Likewise.
16647 * gdb.reverse/watch-reverse.c: Likewise.
16648
066a77c5
AA
166492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16650
16651 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
16652 variant.
16653 * gdb.base/sepdebug.exp: Drop references to removed code.
16654
4f204ea5
AA
166552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16656
16657 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
16658 variant. Preserve original line numbering.
16659 * gdb.base/list1.c: Likewise.
16660
3b377a3a
AA
166612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16662
16663 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
16664 variant.
16665 * gdb.base/break1.c: Likewise.
16666 * gdb.base/break.exp: Drop references to removed code.
16667
e444df73
AA
166682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16669
16670 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
16671 variant.
16672
8008f2a7
AA
166732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16674
16675 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
16676
a5a06887
AA
166772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16678
16679 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
16680 logic into perform_all_tests() and invoke it with and without
16681 function header prototypes.
16682 (do_function_calls): Remove conditional XFAIL for PR 5318.
16683 (rerun_and_prepare): Remove duplicate code.
16684 (perform_all_tests): New. Main logic moved here.
16685
44dba9b9
AA
166862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16687
16688 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
16689 code guarded by #ifdef NO_PROTOTYPES.
16690 (t_double_many_args): Likewise.
16691 (DEF_FUNC_MANY_ARGS_1): Likewise.
16692 (DEF_FUNC_VALUES_1): Likewise.
16693 (t_structs_ldc): Renamed from t_structs_fc in conditional code
16694 guarded by #ifdef PROTOTYPES.
16695
d1fbcd56
AA
166962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16697
16698 * gdb.mi/mi-console.c: Add eye-catcher.
16699 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
16700 instead of literal line number.
16701
b0e59b8f
AA
167022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16703
16704 * gdb.base/shr2.c: Add eye-catcher.
16705 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
16706 line number.
16707
78f98cca
AA
167082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16709
16710 * gdb.base/jump.c: Add eye-catchers.
16711 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
16712 numbers.
16713
58fa2af0
AA
167142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16715
16716 * gdb.base/execd-prog.c: Add eye-catchers.
16717 * gdb.base/foll-exec.c: Likewise.
16718 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
16719 line numbers.
16720
04e5059b
AA
167212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16722
16723 * gdb.base/ending-run.c: Add eye-catchers.
16724 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
16725 literal line numbers.
16726
dbfdb174
AA
167272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16728
16729 * gdb.base/call-rt-st.c: Add eye-catchers.
16730 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
16731 literal line numbers.
16732
888a2ade
AA
167332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16734
16735 * gdb.base/call-ar-st.c: Add eye-catchers.
16736 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
16737 literal line numbers.
16738
6acc2dde
AA
167392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16740
16741 * gdb.base/average.c: Add eye-catchers.
16742 * gdb.base/sum.c: Likewise.
16743 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
16744 regexps dynamically.
16745
9ecfcd1d
AA
167462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16747
16748 * gdb.base/solib1.c: Add eye-catchers.
16749 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
16750 literal line numbers.
16751
78708b7c
PA
167522014-11-12 Pedro Alves <palves@redhat.com>
16753
16754 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
16755 leader has exited.
16756
af48d08f
PA
167572014-11-12 Pedro Alves <palves@redhat.com>
16758
16759 * gdb.arch/i386-bp_permanent.c: New file.
16760 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
16761 (srcfile): Set to i386-bp_permanent.c.
16762 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
16763 that stepi does not execute the 'leave' instruction, instead of
16764 testing it does execute.
16765 * gdb.base/bp-permanent.c: New file.
16766 * gdb.base/bp-permanent.exp: New file.
16767
af3768e9
DE
167682014-11-10 Doug Evans <xdje42@gmail.com>
16769
16770 PR symtab/17564
16771 * gdb.base/symtab-search-order.exp: New file.
16772 * gdb.base/symtab-search-order.c: New file.
16773 * gdb.base/symtab-search-order-1.c: New file.
16774 * gdb.base/symtab-search-order-shlib-1.c: New file.
16775
9de00a4a
PA
167762014-11-07 Pedro Alves <palves@redhat.com>
16777
16778 PR gdb/17511
16779 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
16780 i?86-*-linux*.
16781
e0f52461
SC
167822014-11-03 Siva Chandra Reddy <sivachandra@google.com>
16783
16784 PR c++/17494
16785 * gdb.cp/pr17494.cc: New file.
16786 * gdb.cp/pr17494.exp: New file.
16787
6ce8c980
YQ
167882014-11-02 Yao Qi <yao@codesourcery.com>
16789
16790 * gdb.python/python.exp: Get working directory and match the
16791 output of "set extended-prompt \\w " with it.
16792
02be9a71
DE
167932014-10-30 Doug Evans <dje@google.com>
16794
16795 * gdb.python/py-objfile.exp: Add tests for setting random attributes
16796 in objfiles.
16797 * gdb.python/py-progspace.exp: Add tests for setting random attributes
16798 in progspaces.
16799
3bdff46b
LM
168002014-10-30 Janis Johnson <janisjo@codesourcery.com>
16801
16802 * gdb.base/fullpath-expand.exp: Skip for a remote host.
16803 * gdb.base/realname-expand.exp: Likewise.
16804 * gdb.linespec/macro-relative.exp: Likewise.
16805
ab917dfb
PA
168062014-10-29 Pedro Alves <palves@redhat.com>
16807
16808 PR gdb/17408
16809 * gdb.threads/schedlock.c (some_function): New function.
16810 (call_function): New global.
16811 (MAYBE_CALL_SOME_FUNCTION): New macro.
16812 (thread_function): Call it.
16813 * gdb.threads/schedlock.exp (get_args): Add description parameter,
16814 and use it instead of a global counter. Adjust all callers.
16815 (get_current_thread): Use "find current thread" for test message
16816 here rather than having all callers pass down the same string.
16817 (goto_loop): New procedure, factored out from ...
16818 (my_continue): ... this.
16819 (step_ten_loops): Change parameter from test message to command to
16820 use. Adjust.
16821 (list_count): Delete global.
16822 (check_result): New procedure, factored out from duplicate top
16823 level code.
16824 (continue tests): Wrap in with_test_prefix.
16825 (test_step): New procedure, factored out from duplicate top level
16826 code.
16827 (top level): Test "step" in combination with all scheduler-locking
16828 modes. Test "next" in combination with all scheduler-locking
16829 modes, and in combination with stepping over a function call or
16830 not.
16831 * gdb.threads/next-bp-other-thread.c: New file.
16832 * gdb.threads/next-bp-other-thread.exp: New file.
16833
d3d4baed
PA
168342014-10-29 Pedro Alves <palves@redhat.com>
16835
16836 PR python/17372
16837 * gdb.python/python.exp: Test a multi-line command that spawns
16838 interactive Python.
16839 * gdb.base/multi-line-starts-subshell.exp: New file.
16840
563e8d85
YQ
168412014-10-29 Yao Qi <yao@codesourcery.com>
16842
16843 * gdb.base/fileio.exp: Make directories on host.
16844
0ea4d52e
YQ
168452014-10-29 Yao Qi <yao@codesourcery.com>
16846
16847 * gdb.base/fileio.c (test_write): Close the file.
16848
7f5ef605
PA
168492014-10-28 Pedro Alves <palves@redhat.com>
16850
16851 PR gdb/12623
16852 * gdb.base/sigstep.c (no_handler): New global.
16853 (main): If 'no_handler is true, set the signal handlers to
16854 SIG_IGN.
16855 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
16856 with_sw_watch and no_handler parameters. Handle them.
16857 (top level) <stepping over handler when stopped at a breakpoint
16858 test>: Add a test axis for testing with a software watchpoint, and
16859 another for testing with the signal handler set to SIG_IGN.
16860 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
16861 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
16862
abbdbd03
PA
168632014-10-28 Pedro Alves <palves@redhat.com>
16864
16865 PR gdb/17511
16866 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
16867 * gdb.base/sigstep.exp (other_handler_location): New global.
16868 (advance): Support stepping into the signal handler, and running
16869 commands while in the handler.
16870 (in_handler_map): New global.
16871 (top level): In the advance test, add combinations for getting
16872 into the handler with stepping commands, and for running commands
16873 in the handler. Add comment descripting the advancei tests.
16874
1df4399f
PA
168752014-10-28 Pedro Alves <palves@redhat.com>
16876
16877 * gdb.base/sigstep.exp: Use build_executable instead of
16878 prepare_for_testing.
16879 (top level): Move code that starts GDB, runs to main and creates a
16880 display to ...
16881 (restart): ... this new procedure.
16882 (top level): Move backtrace from signal handler test to ...
16883 (validate_backtrace): ... this new procedure.
16884 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
16885 with_test_prefix. Always restart GDB.
16886 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
16887 with_test_prefix. Always restart GDB. No need to delete
16888 breakpoints after the test.
16889 (test_skip_handler): Remove prefix parameter.
16890 (skip_over_handler, breakpoint_to_handler)
16891 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
16892 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
16893 restart GDB. No need to delete breakpoints after the test.
16894 (top level): Use foreach to call the test procedures with
16895 different commands.
16896
a5b6e449
PA
168972014-10-28 Pedro Alves <palves@redhat.com>
16898
16899 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
16900 instead of GNATS numbers.
16901 * gdb.base/sigbpt.exp: Likewise.
16902 * gdb.base/siginfo.exp: Likewise.
16903 * gdb.base/sigstep.exp: Likewise.
16904
e5f8a7cc
PA
169052014-10-27 Pedro Alves <palves@redhat.com>
16906
16907 * gdb.base/sigstep.c (dummy): New global.
16908 (main): Issue a couple writes to the new global.
16909 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
16910 procedures.
16911 (skip_over_handler): Use test_skip_handler.
16912 (top level): Call skip_over_handler for stepi and nexti too.
16913 (breakpoint_over_handler): Use test_skip_handler.
16914 (top level): Call breakpoint_over_handler for stepi and nexti too.
16915
763905a3
YQ
169162014-10-27 Yao Qi <yao@codesourcery.com>
16917
16918 * gdb.trace/tfile.c (adjust_function_address)
16919 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16920 function descriptor.
16921
6f259a23
DB
169222014-10-24 Don Breazeal <donb@codesourcery.com>
16923
16924 * gdb.base/foll-fork.exp (test_follow_fork,
16925 catch_fork_child_follow): Check for updated fork messages emitted
16926 from infrun.c.
16927 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16928 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16929 vfork_and_exec_child_follow_through_step): Check for updated vfork
16930 messages emitted from infrun.c.
16931
09dd9a69
PA
169322014-10-24 Pedro Alves <palves@redhat.com>
16933
16934 * gdb.base/corefile.exp: Remove references to ultrix.
16935 * gdb.base/interrupt.exp: Likewise.
16936 * gdb.base/whatis.exp: Likewise.
16937 * gdb.gdb/selftest.exp: Likewise.
16938 * gdb.threads/manythreads.exp: Likewise.
16939 * gdb.threads/print-threads.exp: Likewise.
16940 * gdb.threads/pthreads.exp:: Likewise.
16941 * gdb.threads/schedlock.exp: Likewise.
16942
3433cfa5
SC
169432014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16944
16945 * gdb.cp/non-trivial-retval.cc: Add a test case.
16946 * gdb.cp/non-trivial-retval.exp: Add a test.
16947
092f880b
YQ
169482014-10-20 Yao Qi <yao@codesourcery.com>
16949
16950 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16951 * gdb.python/py-objfile-script-gdb.py: New file.
16952 * gdb.python/py-objfile-script.exp: Update reference to
16953 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16954 of remote_download. Remove the dest file.
16955
acbdb7f3
YQ
169562014-10-20 Yao Qi <yao@codesourcery.com>
16957
16958 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16959 * gdb.base/step-line.exp: Likewise.
16960 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16961 * gdb.dwarf2/dw2-basic.exp: Likewise.
16962 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16963 * gdb.dwarf2/dw2-filename.exp: Likewise.
16964 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16965 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16966 * gdb.dwarf2/dw2-producer.exp: Likewise.
16967 * gdb.dwarf2/mac-fileno.exp: Likewise.
16968 * gdb.python/py-frame-args.exp: Likewise.
16969 * gdb.python/py-framefilter.exp: Likewise.
16970 * gdb.python/py-mi.exp: Likewise.
16971 * gdb.python/py-objfile-script.exp: Likewise
16972 * gdb.python/py-pp-integral.exp: Likewise.
16973 * gdb.python/py-pp-re-notag.exp: Likewise.
16974 * gdb.python/py-prettyprint.exp: Likewise.
16975 * gdb.python/py-section-script.exp: Likewise.
16976 * gdb.python/py-typeprint.exp: Likewise.
16977 * gdb.python/py-xmethods.exp: Likewise.
16978 * gdb.stabs/weird.exp: Likewise.
16979 * gdb.xml/tdesc-regs.exp: Likewise.
16980
bd286a29
KCY
169812014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16982
16983 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16984 (out_cu): Use addr_len for the size of addresses.
16985 (out_line): Likewise. Size DW_LNE_set_address instruction
16986 according to addr_len.
16987 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16988 (FUNC): Add START_INSNS to definition.
16989
673dc4a0
YQ
169902014-10-18 Yao Qi <yao@codesourcery.com>
16991
16992 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16993 gdb_has_argv0 return true.
16994 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16995 check [target_info exists noargs], check [gdb_has_argv0]
16996 instead.
16997 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16998 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16999 procedures.
17000
4ffbba72
DE
170012014-10-17 Doug Evans <dje@google.com>
17002
17003 * gdb.python/py-events.exp: Update expected output for clear_objfiles
17004 event.
17005 * gdb.python/py-events.py: Add clear_objfiles event.
17006
d096d8c1
DE
170072014-10-17 Doug Evans <dje@google.com>
17008
17009 * gdb.python/py-objfile.exp: Test progspace attribute.
17010
a80db015
LM
170112014-10-17 Luis Machado <lgustavo@codesourcery.com>
17012
17013 * gdb.guile/scm-breakpoint.exp: Do not assume any
17014 directory separators when matching source file paths.
17015 * gdb.python/py-breakpoint.exp: Likewise.
17016 * gdb.reverse/break-precsave.exp: Likewise.
17017 * gdb.reverse/break-reverse.exp: Likewise.
17018 * gdb.reverse/consecutive-precsave.exp: Likewise.
17019 * gdb.reverse/finish-precsave.exp: Likewise.
17020 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
17021 * gdb.reverse/finish-reverse.exp: Likewise.
17022 * gdb.reverse/i386-precsave.exp: Likewise.
17023 * gdb.reverse/i387-env-reverse.exp: Likewise.
17024 * gdb.reverse/i387-stack-reverse.exp: Likewise.
17025 * gdb.reverse/machinestate-precsave.exp: Likewise.
17026 * gdb.reverse/machinestate.exp: Likewise.
17027 * gdb.reverse/sigall-precsave.exp: Likewise.
17028 * gdb.reverse/solib-precsave.exp: Likewise.
17029 * gdb.reverse/step-precsave.exp: Likewise.
17030 * gdb.reverse/until-precsave.exp: Likewise.
17031 * gdb.reverse/watch-precsave.exp: Likewise.
17032 * gdb.reverse/watch-reverse.exp: Likewise.
17033
b22089ab
YQ
170342014-10-17 Yao Qi <yao@codesourcery.com>
17035
17036 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
17037 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
17038
6c4486e6
PA
170392014-10-17 Pedro Alves <palves@redhat.com>
17040
17041 PR gdb/17471
17042 * gdb.base/bg-execution-repeat.c: New file.
17043 * gdb.base/bg-execution-repeat.exp: New file.
17044
0ff33695
PA
170452014-10-17 Pedro Alves <palves@redhat.com>
17046
17047 PR gdb/17300
17048 * gdb.base/continue-all-already-running.c: New file.
17049 * gdb.base/continue-all-already-running.exp: New file.
17050
6fdebc3d
PA
170512014-10-17 Pedro Alves <palves@redhat.com>
17052
17053 PR gdb/17472
17054 * gdb.base/annota-input-while-running.c: New file.
17055 * gdb.base/annota-input-while-running.exp: New file.
17056
32a8097b
PA
170572014-10-17 Pedro Alves <palves@redhat.com>
17058
17059 * gdb.base/callfuncs.exp: emove references to osf.
17060 * gdb.base/sigall.exp: Likewise.
17061 * gdb.gdb/selftest.exp: Likewise.
17062 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17063 * gdb.mi/non-stop.c: Likewise.
17064 * gdb.mi/pthreads.c: Likewise.
17065 * gdb.reverse/sigall-precsave.exp: Likewise.
17066 * gdb.reverse/sigall-reverse.exp: Likewise.
17067 * gdb.threads/pthreads.c: Likewise.
17068 * gdb.threads/pthreads.exp: Likewise.
17069
7a3517ff
YQ
170702014-10-17 Yao Qi <yao@codesourcery.com>
17071
17072 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
17073 check 'target_info exists noargs'.
17074 (test_command_prompt_position): Likewise.
17075 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
17076 Remove "set args".
17077 (progvar_simple_while_test): Likewise.
17078 (progvar_complex_if_while_test): Likewise.
17079 (if_while_breakpoint_command_test): Likewise.
17080 (infrun_breakpoint_command_test): Likewise.
17081 (breakpoint_command_test): Likewise.
17082 (watchpoint_command_test): Likewise.
17083 (bp_deleted_in_command_test): Likewise.
17084 (temporary_breakpoint_commands): Likewise.
17085
bb99c472
YQ
170862014-10-16 Yao Qi <yao@codesourcery.com>
17087
17088 * gdb.base/remotetimeout.exp: Remove noargs checking.
17089
7c16b83e
PA
170902014-10-15 Pedro Alves <palves@redhat.com>
17091
17092 PR breakpoints/9649
17093 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
17094 * gdb.base/breakpoint-in-ro-region.exp
17095 (probe_target_hardware_step): New procedure.
17096 (top level): Probe hardware stepping and hardware breakpoint
17097 support. Test stepping through a read-only region, with both
17098 "breakpoint auto-hw" on and off and both "always-inserted" on and
17099 off.
17100
35a49624
IB
171012014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
17102
17103 * gdb.dlang/demangle.exp: Update for demangling changes.
17104
2d1c107c
SC
171052014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17106
17107 * gdb.cp/non-trivial-retval.cc: Add new test cases.
17108 * gdb.cp/non-trivial-retval.exp: Add new tests.
17109
778811d5
SC
171102014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17111
17112 PR c++/13403
17113 PR c++/15154
17114 * gdb.cp/non-trivial-retval.cc: New file.
17115 * gdb.cp/non-trivial-retval.exp: New file.
17116
10c5f0a8
YQ
171172014-10-15 Yao Qi <yao@codesourcery.com>
17118
17119 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
17120 remote host.
17121
65d7b369
YQ
171222014-10-15 Yao Qi <yao@codesourcery.com>
17123
17124 * gdb.python/py-symbol.exp: Match file base name if host is
17125 remote, otherwise match file name with dir name.
17126 * gdb.python/py-symtab.exp: Likewise.
17127 * gdb.python/python.exp: Likewise.
17128
46dc1394
YQ
171292014-10-15 Yao Qi <yao@codesourcery.com>
17130
17131 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
17132 pattern.
17133 * gdb.python/py-symtab.exp: Likewise.
17134 * gdb.python/python.exp: Remove trailing ".*". Fix typo
17135 locationn.
17136
c40cc657
JB
171372014-10-14 Joel Brobecker <brobecker@adacore.com>
17138
17139 * gdb.ada/addr_arith: New testcase.
17140
2abf49e1
MR
171412014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
17142
17143 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
17144 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
17145 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
17146 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
17147
f7088df3
SDJ
171482014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
17149
17150 * gdb.arch/stap-eval-lang-ada.S: Likewise.
17151 * gdb.arch/stap-eval-lang-ada.c: Likewise.
17152 * gdb.arch/stap-eval-lang-ada.exp: New file.
17153
4dc06805
YQ
171542014-10-14 Yao Qi <yao@codesourcery.com>
17155
17156 * gdb.mi/mi-var-child.c (nothing1): New function.
17157 (nothing2): New function.
17158 (do_children_tests): Set function pointers by nothing1 and
17159 nothing2.
17160 * gdb.mi/mi-var-child.exp: Step over new added statements.
17161 Update test to match the new output.
17162 * gdb.mi/var-cmd.c (nothing1): New function.
17163 (nothing2): New function.
17164 (do_children_tests): Set function pointers by nothing1 and
17165 nothing2.
17166 * gdb.mi/mi-var-display.exp: Update test to match output.
17167 Step to the line specified by $line_dct_nothing.
17168 Increase the number of lines to step.
17169
46a93de2
YQ
171702014-10-14 Yao Qi <yao@codesourcery.com>
17171
17172 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
17173 tests.
17174 * gdb.mi/mi2-var-child.exp: Likewise.
17175
14ea52ee
DE
171762014-10-13 Doug Evans <dje@google.com>
17177
17178 * gdb.python/py-objfile.exp: Change name of file name test.
17179
e5c6e92b
DE
171802014-10-13 Doug Evans <dje@google.com>
17181
17182 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
17183 from the start of the CU.
17184
c780cc2f
JK
171852014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17186 Yao Qi <yao@codesourcery.com>
17187
17188 Fix "save breakpoints" for "catch" command.
17189 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
17190 Remove -nonewline. Match also the added "main" line.
17191
99894e11
JK
171922014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17193
17194 Fix "save breakpoints" for "disable $bpnum" command.
17195 * gdb.base/save-bp.c (main): Add label.
17196 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
17197
6e1ac5a3
JK
171982014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17199
17200 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
17201
754dd2b0
YQ
172022014-10-11 Yao Qi <yao@codesourcery.com>
17203
17204 * gdb.server/server-kill.exp: Execute command
17205 "set remote trace-status-packet on" before "tstatus".
17206
f90183d7
YQ
172072014-10-11 Yao Qi <yao@codesourcery.com>
17208
17209 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
17210 (main): Call getppid.
17211 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
17212 and continue to it. Read variable "server_pid".
17213
bf40a607
YQ
172142014-10-11 Yao Qi <yao@codesourcery.com>
17215
17216 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
17217
052ca370
YQ
172182014-10-11 Yao Qi <yao@codesourcery.com>
17219
17220 * gdb.threads/thread-find.exp: Don't execute command
17221 "info threads".
17222 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
17223 * gdb.threads/linux-dp.exp: Don't check the condition
17224 $threads_created equals to zero.
17225
3831839c
PA
172262014-10-10 Pedro Alves <palves@redhat.com>
17227
17228 * gdb.base/bigcore.exp: Remove references to IRIX.
17229 * gdb.base/funcargs.exp: Likewise.
17230 * gdb.base/interrupt.exp: Likewise.
17231 * gdb.base/mips_pro.exp: Likewise.
17232 * gdb.base/nodebug.exp: Likewise.
17233 * gdb.base/setvar.exp: Likewise.
17234 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
17235
8b9a549d
PA
172362014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17237 Pedro Alves <palves@redhat.com>
17238
17239 PR symtab/14466
17240 * gdb.base/vdso-warning.c: New file.
17241 * gdb.base/vdso-warning.exp: New file.
17242
d48ba5e8
DE
172432014-10-02 Doug Evans <dje@google.com>
17244
17245 * gdb.base/structs.c (main): Don't run forever.
17246
2278c276
PA
172472014-10-02 Pedro Alves <palves@redhat.com>
17248
17249 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
17250 (top level) <stop threads 1, stop threads 2>: Use it.
17251
b57bacec
PA
172522014-10-02 Pedro Alves <palves@redhat.com>
17253
17254 * gdb.threads/break-while-running.exp (test): Add new
17255 'update_thread_list' argument. Skip "info threads" if false.
17256 (top level): Add new 'update_thread_list' axis.
17257
13fd3ff3
PA
172582014-10-02 Pedro Alves <palves@redhat.com>
17259
17260 PR breakpoints/17431
17261 * gdb.base/execl-update-breakpoints.c: New file.
17262 * gdb.base/execl-update-breakpoints.exp: New file.
17263
0fec99e8
PA
172642014-10-01 Pedro Alves <palves@redhat.com>
17265
17266 * gdb.base/breakpoint-in-ro-region.c: New file.
17267 * gdb.base/breakpoint-in-ro-region.exp: New file.
17268
2ddf4301
SM
172692014-10-01 Simon Marchi <simon.marchi@ericsson.com>
17270
17271 * gdb.mi/mi-exit-code.exp: New file.
17272 * gdb.mi/mi-exit-code.c: New file.
17273
6a5f3f43
YQ
172742014-09-30 Yao Qi <yao@codesourcery.com>
17275
17276 * lib/prelink-support.exp (build_executable_own_libs): Error if
17277 the target isn't native.
17278
345bcc73
YQ
172792014-09-30 Yao Qi <yao@codesourcery.com>
17280
17281 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
17282 false.
17283
a25a5a45
PA
172842014-09-22 Pedro Alves <palves@redhat.com>
17285
17286 * gdb.threads/break-while-running.exp: New file.
17287 * gdb.threads/break-while-running.c: New file.
17288
00ba3162
YQ
172892014-09-19 Yao Qi <yao@codesourcery.com>
17290
17291 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
17292 Invoke test. Restart GDB with --readnow and invoke test again.
17293
c3b7b696
YQ
172942014-09-19 Yao Qi <yao@codesourcery.com>
17295
17296 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
17297 proc set_breakpoint_on_gcd_function. Invoke
17298 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
17299 invoke set_breakpoint_on_gcd_function again.
17300
2b4fd423
DE
173012014-09-18 Doug Evans <dje@google.com>
17302
17303 * gdb.dwarf2/symtab-producer.exp: New file.
17304
a5947601
SDJ
173052014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17306
17307 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
17308 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
17309 * gdb.base/global-var-nested-by-dso.c: Likewise.
17310 * gdb.base/global-var-nested-by-dso.exp: Likewise.
17311
91c19059
SDJ
173122014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17313 Pedro Alves <palves@redhat.com>
17314
17315 * gdb.base/watch-bitfields.exp: Pass string other than test file
17316 name to prepare_for_testing.
17317 (watch): New procedure.
17318 (expect_watchpoint): Use with_test_prefix.
17319 (top level): Factor out tests to ...
17320 (test_watch_location, test_regular_watch): ... these new
17321 procedures, and use with_test_prefix and gdb_continue_to_end.
17322
bb9d5f81
PP
173232014-09-16 Patrick Palka <patrick@parcs.ath.cx>
17324
17325 PR breakpoints/12526
17326 * gdb.base/watch-bitfields.exp: New file.
17327 * gdb.base/watch-bitfields.c: New file.
17328
635856f5
PA
173292014-09-16 Pedro Alves <palves@redhat.com>
17330
17331 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
17332 software and hardware addresses, not software address against
17333 itself.
17334
7280ceea
PA
173352014-09-16 Pedro Alves <palves@redhat.com>
17336
17337 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
17338 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
17339
428b16bd
PA
173402014-09-16 Pedro Alves <palves@redhat.com>
17341
17342 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
17343 files.
17344 * gdb.base/a2-run.exp: Remove all code guarded by istarget
17345 "*-*-vxworks*" throughout.
17346 * gdb.base/break.exp: Likewise.
17347 * gdb.base/default.exp: Likewise.
17348 * gdb.base/scope.exp: Likewise.
17349 * gdb.base/sepdebug.exp: Likewise.
17350 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
17351 throughout.
17352 * gdb.base/run.c: Likewise.
17353 * gdb.base/sepdebug.c: Likewise.
17354 * gdb.hp/gdb.aCC/run.c: Likewise.
17355 * gdb.reverse/until-reverse.c: Likewise.
17356 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
17357
666d413c
YQ
173582014-09-16 Yao Qi <yao@codesourcery.com>
17359
17360 * boards/local-remote-host-native.exp: New file.
17361
57cbd724
DE
173622014-09-14 Doug Evans <xdje42@gmail.com>
17363
17364 * gdb.threads/queue-signal.c (thread_count): New variable.
17365 (thread_count_mutex, thread_count_condvar): New variables.
17366 (incr_thread_count, wait_all_threads_running): New functions.
17367 (main): Wait for all threads to be in their thread functions.
17368
81219e53
DE
173692014-09-13 Doug Evans <xdje42@gmail.com>
17370
17371 * gdb.threads/queue-signal.c: New file.
17372 * gdb.threads/queue-signal.exp: New file.
17373
3714cea7
DE
173742014-09-13 Doug Evans <xdje42@gmail.com>
17375
17376 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
17377 be consistent with what default_gdb_init uses.
17378 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
17379 the plain text of the prompt. Add some logging printfs.
17380 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
17381
fa43b1d7
PA
173822014-09-12 Pedro Alves <palves@redhat.com>
17383
17384 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
17385 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
17386 * gdb.arch/i386-size-overlap.exp: Likewise.
17387 * gdb.arch/i386-size.exp: Likewise.
17388 * gdb.arch/i386-unwind.exp: Likewise.
17389 * gdb.base/a2-run.exp: Likewise.
17390 * gdb.base/break.exp: Likewise.
17391 * gdb.base/charset.exp: Likewise.
17392 * gdb.base/chng-syms.exp: Likewise.
17393 * gdb.base/commands.exp: Likewise.
17394 * gdb.base/dbx.exp: Likewise.
17395 * gdb.base/find.exp: Likewise.
17396 * gdb.base/funcargs.exp: Likewise.
17397 * gdb.base/jit-simple.exp: Likewise.
17398 * gdb.base/reread.exp: Likewise.
17399 * gdb.base/sepdebug.exp: Likewise.
17400 * gdb.base/step-bt.exp: Likewise.
17401 * gdb.cp/mb-inline.exp: Likewise.
17402 * gdb.cp/mb-templates.exp: Likewise.
17403 * gdb.objc/basicclass.exp: Likewise.
17404 * gdb.threads/killed.exp: Likewise.
17405
9d9bf2df
EBM
174062014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17407
17408 PR tdep/17379
17409 * gdb.arch/powerpc-stackless.S: New file.
17410 * gdb.arch/powerpc-stackless.exp: New file.
17411
1cf2f1b0
JK
174122014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17413
17414 * gdb.base/attach.c: Include unistd.h.
17415 (main): Call alarm. Add label postloop.
17416 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
17417 gdb_breakpoint, gdb_continue_to_breakpoint.
17418 (test_command_line_attach_run): Kill ${testpid} in one exit path.
17419
98880d46
PA
174202014-09-11 Pedro Alves <palves@redhat.com>
17421
17422 PR gdb/17347
17423 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
17424 * gdb.base/attach.exp (test_command_line_attach_run): New
17425 procedure.
17426 (top level): Call it.
17427
4c92ff2c
PA
174282014-09-11 Pedro Alves <palves@redhat.com>
17429
17430 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
17431 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
17432 (do_command_attach_tests): Use spawn_wait_for_attach.
17433 * gdb.base/solib-overlap.exp: Likewise.
17434 * gdb.multi/multi-attach.exp: Likewise.
17435 * gdb.python/py-prompt.exp: Likewise.
17436 * gdb.python/py-sync-interp.exp: Likewise.
17437 * gdb.server/ext-attach.exp: Likewise.
17438
3adc1a7d
GKB
174392014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
17440
17441 * gdb.fortran/array-element.exp: Remove unexpected "continue"
17442 command in testcase. Simplify testcase.
17443
96334934
JB
174442014-09-10 Joel Brobecker <brobecker@adacore.com>
17445
17446 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
17447
eb479039
JB
174482014-09-10 Joel Brobecker <brobecker@adacore.com>
17449
17450 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
17451
deede10c
JB
174522014-09-10 Joel Brobecker <brobecker@adacore.com>
17453
17454 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
17455
7828a5f5
JB
174562014-09-10 Joel Brobecker <brobecker@adacore.com>
17457
17458 * gdb.dwarf2/dynarr-ptr.c: New file.
17459 * gdb.dwarf2/dynarr-ptr.exp: New file.
17460
33aeebcf
MR
174612014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17462
17463 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
17464 of 30 rather than hardcoding 120 for a slow test case. Take the
17465 `gdb,timeout' target setting into account for this calculation.
17466 Don't extend the timeout for the test cases that don't need it.
17467
7b415901
MR
174682014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17469
17470 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
17471 a factor of 2 for a slow test case. Take the `gdb,timeout'
17472 target setting into account for this calculation.
17473 * gdb.reverse/until-precsave.exp: Increase the timeout by
17474 a factor of 15 and 3 respectively rather than adding 120
17475 for a pair of slow test cases. Take the `gdb,timeout'
17476 target setting into account for this calculation.
17477
4a40f85a
MR
174782014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17479
17480 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
17481 timeout, don't pass one down to gdb_expect.
17482 (gdb_expect): Rework timeout selection.
17483
09635af7
MR
174842014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17485
17486 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
17487 exception on timeout.
17488 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
17489 (gdbserver_start_extended): Catch any `gdbserver_start' error
17490 exceptions.
17491 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
17492 * lib/mi-support.exp (mi_gdb_target_load): Catch any
17493 `gdbserver_gdb_load' error exceptions.
17494
2bdd10b7
MR
174952014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17496
17497 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
17498 120 on waiting for the TCP socket to open.
17499
316935f0
DE
175002014-09-09 Doug Evans <xdje42@gmail.com>
17501
17502 * gdb.base/default.exp (show_conv_list): Add _caller_is,
17503 _caller_matches, _any_caller_is, _any_caller_matches.
17504
83740597
DE
175052014-09-09 Doug Evans <xdje42@gmail.com>
17506
17507 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
17508
4c122fc3
YQ
175092014-09-09 Yao Qi <yao@codesourcery.com>
17510
17511 * gdb.mi/mi-var-display.exp: Set print symbol off.
17512
a9f116cb
GKB
175132014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
17514
17515 PR gdb/17035
17516 * gdb.base/commands.exp: Add tests to verify user-defined
17517 commands with empty bodies.
17518 * gdb.python/py-cmd.exp: Test that we don't show user-defined
17519 python commands in `show user command`.
17520 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
17521 scheme commands in `show user command`.
17522
c75bd3a2
JK
175232014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17524
17525 PR python/17355
17526 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
17527 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
17528 * gdb.python/py-framefilter-invalidarg.exp: New file.
17529 * gdb.python/py-framefilter-invalidarg.py: New file.
17530
faa42425
DE
175312014-09-06 Doug Evans <xdje42@gmail.com>
17532
17533 PR 15276
17534 * gdb.python/py-caller-is.c: New file.
17535 * gdb.python/py-caller-is.exp: New file.
17536
474ca4f6
SDJ
175372014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
17538
17539 PR gdb/17235
17540 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
17541 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
17542
eb0b0463
SDJ
175432014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
17544
17545 PR fortran/17237
17546 * gdb.fortran/print-formatted.exp: New file.
17547 * gdb.fortran/print-formatted.f90: Likewise.
17548
5f3b99cf
SS
175492014-09-03 Sasha Smundak <asmundak@google.com>
17550
17551 * gdb.python/py-frame.exp: Test Frame.read_register.
17552
7d793aa9
SDJ
175532014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
17554
17555 PR python/16699
17556 * gdb.python/py-completion.exp: New file.
17557 * gdb.python/py-completion.py: Likewise.
17558
fb0576e9
DE
175592014-08-28 Doug Evans <dje@google.com>
17560
17561 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
17562 eax,etc. are live with values set by gdb and thus the compiler can't
17563 use them.
17564 * gdb.arch/i386-pseudo.c (main): Ditto.
17565
ee92b0dd
DE
175662014-08-27 Doug Evans <dje@google.com>
17567
17568 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
17569
6649db35
DE
175702014-08-25 Doug Evans <dje@google.com>
17571
17572 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
17573 (main): Ditto.
17574
564b7600
DE
175752014-08-25 Doug Evans <dje@google.com>
17576
17577 * gdb.threads/thread-execl.exp: #include <stdio.h>.
17578
3881fb67
YQ
175792014-08-24 Yao Qi <yao@codesourcery.com>
17580
17581 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
17582 symbol off.
17583 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
17584
a05a36a5
DE
175852014-08-22 Doug Evans <dje@google.com>
17586
17587 PR 17276
17588 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
17589 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
17590 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
17591
7c343b48
YQ
175922014-08-22 Yao Qi <yao@codesourcery.com>
17593
17594 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
17595 * gdb.python/py-finish-breakpoint2.exp: Likewise.
17596 * gdb.python/python.exp: Likewise. Use .py file on the host
17597 instead of the build.
17598
22fd09ae
JK
175992014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17600
17601 * gdb.threads/gcore-stale-thread.c: New file.
17602 * gdb.threads/gcore-stale-thread.exp: New file.
17603
a8454a7c
PA
176042014-08-21 Pedro Alves <palves@redhat.com>
17605
17606 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
17607 * gdb.base/gcore-relro-pie.exp: Likewise.
17608 * gdb.base/gcore-relro.exp: Likewise.
17609 * gdb.base/gcore.exp: Likewise.
17610 * gdb.base/print-symbol-loading.exp: Likewise.
17611 * gdb.threads/gcore-thread.exp: Likewise.
17612 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
17613
2a31c623
PA
176142014-08-20 Pedro Alves <palves@redhat.com>
17615 Jan Kratochvil <jan.kratochvil@redhat.com>
17616
17617 * Makefile.in (EXTRA_RULES, CC): New variables, get from
17618 configure.
17619 (EXPECT): Handle READ1 being set.
17620 (all): Depend on EXTRA_RULES.
17621 (check-read1, expect-read1, read1.so, read1): New rules.
17622 * README (Testsuite Parameters): Document the READ1 make variable.
17623 (Race detection): New section.
17624 * configure: Regenerate.
17625 * configure.ac: If build==host==target, and running under a
17626 GNU/glibc system, add read1 to the extra Makefile rules.
17627 (EXTRA_RULES): AC_SUBST it.
17628 * lib/read1.c: New file.
17629
d36430db
JB
176302014-08-20 Joel Brobecker <brobecker@adacore.com>
17631
17632 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
17633 the handling of variables declared as a typedef to an array
17634 which a DW_AT_data_location attribute.
17635
9a0dc9e3
PA
176362014-08-19 Andrew Burgess <aburgess@broadcom.com>
17637 Pedro Alves <palves@redhat.com>
17638
17639 PR symtab/14604
17640 PR symtab/14605
17641 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
17642 gdb_test.
17643
0718a8da
PA
176442014-08-19 Pedro Alves <palves@redhat.com>
17645
17646 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
17647
13b448cd
YQ
176482014-08-19 Yao Qi <yao@codesourcery.com>
17649
17650 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
17651 right line.
17652
1cbf5077
DB
176532014-08-18 David Blaikie <dblaikie@gmail.com>
17654
17655 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
17656
bf0fae19
JB
176572014-08-18 Joel Brobecker <brobecker@adacore.com>
17658
17659 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
17660 attribute in array range.
17661
3c8c5dcc
JB
176622014-08-18 Joel Brobecker <brobecker@adacore.com>
17663
17664 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
17665
e66d4446
SC
176662014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17667
17668 PR c++/17132
17669 * gdb.cp/pr17132.cc: New file.
17670 * gdb.cp/pr17132.exp: New file.
17671
940df408
SC
176722014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17673
17674 * gdb.python/py-xmethods.py (A_getarrayind)
17675 (E_method_char_worker.__call__, E_method_int_worker.__call__):
17676 Use 'print' with function call syntax.
17677 (E_method_matcher.match): Fix tab vs space indentation mixup.
17678
ebcc6c3a
YQ
176792014-08-15 Yao Qi <yao@codesourcery.com>
17680
17681 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
17682 false.
17683
775e0f04
YQ
176842014-08-15 Yao Qi <yao@codesourcery.com>
17685
17686 * gdb.cp/casts.exp: Set print symbol off.
17687 * gdb.cp/class2.exp: Likewise.
17688 * gdb.cp/overload.exp: Likewise.
17689 * gdb.cp/templates.exp: Likewise.
17690
d769e349
DE
176912014-08-11 Doug Evans <dje@google.com>
17692
17693 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
17694 (test_load_shlib): Update.
17695
20c6f1e1
YQ
176962014-08-09 Yao Qi <yao@codesourcery.com>
17697
17698 * gdb.base/display.exp: Invoke is_address_zero_readable.
17699 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
17700 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17701 * gdb.base/hbreak-unmapped.exp: Return if
17702 is_address_zero_readable returns true.
17703 * gdb.base/signest.exp: Likewise.
17704 * gdb.base/signull.exp: Likewise.
17705 * gdb.base/sigbpt.exp: Likewise.
17706 * gdb.guile/scm-disasm.exp: Do the test if
17707 is_address_zero_readable returns false.
17708 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
17709 * gdb.python/py-arch.exp: Likewise.
17710 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
17711 * lib/gdb.exp (is_address_zero_readable): New proc.
17712
5792e8e3
YQ
177132014-08-09 Yao Qi <yao@codesourcery.com>
17714
17715 PR testsuite/13443
17716 * gdb.mi/mi-var-display.exp: Make test messages unique.
17717
3cecbbbe
TT
177182014-08-04 Tom Tromey <tromey@redhat.com>
17719
17720 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
17721 target 0".
17722
00b51ff5
TT
177232014-08-04 Tom Tromey <tromey@redhat.com>
17724
17725 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
17726 "target_resume".
17727
6908c509
JB
177282014-08-01 Joel Brobecker <brobecker@adacore.com>
17729
17730 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
17731 inner_vla_struct_object_size.
17732 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
17733 as xfail.
17734
cc6563d2
PA
177352014-07-30 Pedro Alves <palves@redhat.com>
17736
17737 * gdb.threads/signal-command-handle-nopass.exp (test): Add
17738 comment.
17739
7e09a223
YQ
177402014-07-29 Yao Qi <yao@codesourcery.com>
17741
17742 PR gdb/17206
17743 * gdb.base/until-nodebug.exp: New.
17744
7ebdbe92
DE
177452014-07-28 Doug Evans <xdje42@gmail.com>
17746
17747 PR guile/17203
17748 * gdb.guile/scm-parameter.exp: Add tests for trying to create
17749 previously existing parameter, and previously ambiguously spelled
17750 parameter.
17751
fdb1adc6
WN
177522014-07-28 Will Newton <will.newton@linaro.org>
17753
17754 * gdb.base/varargs.exp: Remove KFAILs for ARM.
17755
186fcde0
DE
177562014-07-26 Ludovic Courtès <ludo@gnu.org>
17757 Doug Evans <xdje42@gmail.com>
17758
17759 PR guile/17146
17760 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
17761
70509625
PA
177622014-07-25 Pedro Alves <palves@redhat.com>
17763
17764 * gdb.threads/signal-command-handle-nopass.c: New file.
17765 * gdb.threads/signal-command-handle-nopass.exp: New file.
17766 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
17767 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
17768 * gdb.threads/signal-delivered-right-thread.c: New file.
17769 * gdb.threads/signal-delivered-right-thread.exp: New file.
17770
c3f814a1
PA
177712014-07-25 Pedro Alves <palves@redhat.com>
17772
17773 * gdb.base/double-prompt-target-event-error.exp
17774 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
17775 match.
17776 (cancel_pagination_in_target_event): Rework double prompt
17777 detection.
17778 * gdb.base/paginate-after-ctrl-c-running.exp
17779 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
17780 <return>' match.
17781 * gdb.base/paginate-bg-execution.exp
17782 (test_bg_execution_pagination_return)
17783 (test_bg_execution_pagination_cancel): Remove '-notransfer
17784 <return>' matches.
17785 * gdb.base/paginate-execution-startup.exp
17786 (test_fg_execution_pagination_return)
17787 (test_fg_execution_pagination_cancel): Remove '-notransfer
17788 <return>' matches.
17789 * gdb.base/paginate-inferior-exit.exp
17790 (test_paginate_inferior_exited): Remove '-notransfer <return>'
17791 match.
17792 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
17793 * lib/gdb.exp (pagination_prompt): Run text through
17794 string_to_regexp.
17795 (gdb_test_multiple): Match $pagination_prompt instead of
17796 "<return>".
17797 (string_to_regexp): Move to lib/gdb-utils.exp.
17798
e214cf6c
JK
177992014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17800
17801 * gdb.arch/amd64-entry-value-paramref.S: New file.
17802 * gdb.arch/amd64-entry-value-paramref.cc: New file.
17803 * gdb.arch/amd64-entry-value-paramref.exp: New file.
17804 * gdb.arch/amd64-optimout-repeat.S: New file.
17805 * gdb.arch/amd64-optimout-repeat.c: New file.
17806 * gdb.arch/amd64-optimout-repeat.exp: New file.
17807
17d0c5c8
JK
178082014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17809
17810 PR gdb/17170
17811 * gdb.base/statistics.exp: New file.
17812
b8b8facf
DE
178132014-07-17 Doug Evans <dje@google.com>
17814
74b49205 17815 PR gdb/17170
b8b8facf
DE
17816 * gdb.base/maint.exp: Update testing of per-command stats.
17817
1b5d0ab3
PA
178182014-07-16 Pedro Alves <palves@redhat.com>
17819
17820 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
17821 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
17822 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
17823 (tfile_write_buf): New functions.
17824 (add_memory_block): Rewrite using the above.
17825 (adjust_function_address): New function.
17826 (FUNCTION_ADDRESS): New macro.
17827 (write_basic_trace_file): Remove short_x local, and use
17828 tfile_write_16. Change type of func_addr local to unsigned long
17829 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
17830 here. Cast argument of add_memory_block to char pointer.
17831 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
17832 (main): Remove parameters.
17833 * gdb.trace/tfile.exp: Remove nowarnings.
17834
4d974e88
SM
178352014-07-15 Simon Marchi <simon.marchi@ericsson.com>
17836
17837 * gdb.base/debug-expr.exp: Test string evaluation with
17838 "debug expression" on.
17839
41e99568
PA
178402014-07-15 Pedro Alves <palves@redhat.com>
17841
17842 * gdb.base/reread.exp: Use clean_restart.
17843
487d9753
PL
178442014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
17845
17846 * gdb.arch/avr-flash-qualifer.c: New.
17847 * gdb.arch/avr-flash-qualifer.exp: New.
17848
cc1c52ad
PA
178492014-07-14 Pedro Alves <palves@redhat.com>
17850
17851 * gdb.base/paginate-after-ctrl-c-running.c: New file.
17852 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
17853
1e973570
PA
178542014-07-14 Pedro Alves <palves@redhat.com>
17855
17856 * gdb.base/double-prompt-target-event-error.c: New file.
17857 * gdb.base/double-prompt-target-event-error.exp: New file.
17858
93d6eb10
PA
178592014-07-14 Pedro Alves <palves@redhat.com>
17860
17861 PR gdb/17072
17862 * gdb.base/paginate-inferior-exit.c: New file.
17863 * gdb.base/paginate-inferior-exit.exp: New file.
17864
0017922d
PA
178652014-07-14 Pedro Alves <palves@redhat.com>
17866
17867 PR gdb/17072
17868 * gdb.base/paginate-bg-execution.c: New file.
17869 * gdb.base/paginate-bg-execution.exp: New file.
17870
94696ad3
PA
178712014-07-14 Pedro Alves <palves@redhat.com>
17872
17873 PR gdb/17072
17874 * gdb.base/paginate-execution-startup.c: New file.
17875 * gdb.base/paginate-execution-startup.exp: New file.
17876 * lib/gdb.exp (pagination_prompt): New global.
17877 (default_gdb_spawn): New procedure, factored out from
17878 default_gdb_spawn.
17879 (default_gdb_start): Adjust to call default_gdb_spawn.
17880 (gdb_spawn): New procedure.
17881
bd293940
PA
178822014-07-14 Pedro Alves <palves@redhat.com>
17883
17884 * lib/gdb.exp (gdb_assert): New procedure.
17885 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
17886
c933f875
PA
178872014-07-14 Pedro Alves <palves@redhat.com>
17888
17889 * gdb.base/execution-termios.c: New file.
17890 * gdb.base/execution-termios.exp: New file.
17891
d98b7a16
TT
178922014-07-14 Tom Tromey <tromey@redhat.com>
17893
17894 * gdb.cp/vla-cxx.cc: New file.
17895 * gdb.cp/vla-cxx.exp: New file.
17896
548740d6
TT
178972014-07-14 Tom Tromey <tromey@redhat.com>
17898
17899 * gdb.reverse/rerun-prec.c: New file.
17900 * gdb.reverse/rerun-prec.exp: New file.
17901
a25eb028
MR
179022014-07-12 Maciej W. Rozycki <macro@mips.com>
17903 Maciej W. Rozycki <macro@codesourcery.com>
17904
17905 * lib/gdb-utils.exp: New file.
17906 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
17907 inline `gdb_init_command' processing.
17908 (gdb_start_cmd): Likewise.
17909 * lib/mi-support.exp (mi_run_cmd): Likewise.
17910 * README: Document `gdb_init_command' and `gdb_init_commands'.
17911
218c2655
JK
179122014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17913
17914 Fix false FAIL running under a very long directory name.
17915 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
17916 and "set print elements 10000". Twice.
17917
5401fde3
YQ
179182014-07-11 Yao Qi <yao@codesourcery.com>
17919
17920 * gdb.base/exprs.exp: "set print symbol off".
17921
e76126e8
PA
179222014-07-11 Pedro Alves <palves@redhat.com>
17923
17924 * gdb.threads/kill.c: New file.
17925 * gdb.threads/kill.exp: New file.
17926
2d6f0de6
YQ
179272014-07-10 Yao Qi <yao@codesourcery.com>
17928
17929 * gdb.trace/tfile.c (write_basic_trace_file)
17930 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17931 address written to trace file.
17932
7180e04a
PA
179332014-07-09 Pedro Alves <palves@redhat.com>
17934
17935 * gdb.base/attach-wait-input.exp: New file.
17936 * gdb.base/attach-wait-input.c: New file.
17937
9a9a7608
AB
179382014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17939
17940 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17941 setting up test structures.
17942 (main): Call new test function.
17943 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17944 test function, continue into test function and walk test
17945 structures.
17946
161ac41e
YQ
179472014-07-02 Yao Qi <yao@codesourcery.com>
17948
17949 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17950 'bar_start' at the beginning of functions 'foo' and 'bar'
17951 respectively.
17952 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17953 instead of 'foo' and 'bar'.
17954
1f267ae3
MM
179552014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17956
17957 * gdb.btrace/segv.exp: New.
17958 * gdb.btrace/segv.c: New.
17959
2b239efb
LM
179602014-07-02 Luis Machado <lgustavo@codesourcery.com>
17961
17962 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17963 instruction.
17964
cf363f18
MW
179652014-06-30 Mark Wielaard <mjw@redhat.com>
17966
17967 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17968 vulture, vilify, villar): New volatile array constants.
17969 (vindictive, vegetation): New const volatile array constants.
17970 * gdb.base/volatile.exp: Test volatile and const volatile array
17971 types.
17972
aebf9d24
AA
179732014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17974
17975 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17976 target lacks support for awatch, rwatch, or hbreak.
17977
b67a2c6f
YQ
179782014-06-27 Yao Qi <yao@codesourcery.com>
17979
17980 * gdb.multi/dummy-frame-restore.exp: New.
17981 * gdb.multi/dummy-frame-restore.c: New.
17982
aef92902
MM
179832014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17984
17985 * gdb.btrace/gcore.exp: New.
17986
8e9db26e
PA
179872014-06-23 Pedro Alves <palves@redhat.com>
17988
17989 * gdb.base/watchpoint-reuse-slot.c: New file.
17990 * gdb.base/watchpoint-reuse-slot.exp: New file.
17991
70afc5b7
SC
179922014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17993
17994 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17995 progspace's filename in 'info', 'enable' and 'disable' command
17996 tests.
17997
b972bd9c
JK
179982014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17999
18000 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
18001 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18002 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
18003
125f8a3d
GB
180042014-06-20 Gary Benson <gbenson@redhat.com>
18005
18006 * gdb.arch/i386-avx.exp: Fix include file location.
18007 * gdb.arch/i386-sse.exp: Likewise.
18008
3ed9baed
IB
180092014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
18010
18011 * gdb.dlang/expression.exp: New file.
18012
034f788c
PA
180132014-06-19 Pedro Alves <palves@redhat.com>
18014
18015 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
18016 out from ...
18017 (top level): ... here. Iterate running tests under different
18018 scheduler-locking settings.
18019
45371d0c
LM
180202014-06-18 Luis Machado <lgustavo@codesourcery.com>
18021
18022 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
18023 to DW_FORM_addr and use non-zero addresses.
18024
5d376983
SC
180252014-06-18 Siva Chandra Reddy <sivachandra@google.com>
18026
18027 PR gdb/17017
18028 * gdb.python/py-xmethods.cc: Add global function call counters and
18029 increment them in their respective functions. Remove "cout"
18030 statements.
18031 * gdb.python/py-xmethods.exp: Make tests check the global function
18032 call counters instead of depending on inferior IO.
18033
a1aa2221
LM
180342014-06-18 Don Breazeal <donb@codesourcery.com>
18035
18036 * gdb.base/foll-fork.exp (default_fork_parent_follow):
18037 Deleted procedure.
18038 (explicit_fork_parent_follow): Deleted procedure.
18039 (explicit_fork_child_follow): Deleted procedure.
18040 (test_follow_fork): New procedure.
18041 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 18042 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
18043 procedure calls.
18044
0fc05997
YQ
180452014-06-17 Yao Qi <yao@codesourcery.com>
18046
18047 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
18048 CP1252.
18049
70795c52
LM
180502014-06-17 Luis Machado <lgustavo@codesourcery.com>
18051
18052 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
18053 Initialize ptr and S explicitly.
18054 (skip_type_update_when_not_use_rtti_test): Likewise.
18055
6be47f0c
KS
180562014-06-16 Keith Seitz <keiths@redhat.com>
18057
18058 PR mi/15863
18059 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
18060 the inferior is started.
18061
d03de421
PA
180622014-06-16 Pedro Alves <palves@redhat.com>
18063
18064 * gdb.base/break-main-file-remove-fail.c: New file.
18065 * gdb.base/break-main-file-remove-fail.exp: New file.
18066 * gdb.base/break-unload-file.exp: Use build_executable instead of
18067 prepare_for_testing.
18068 (test_break): New parameter "initial_load". Handle it.
18069 (top level): Add initial_load cmdline/file axis.
18070
f9579b99
TT
180712014-06-12 Tom Tromey <tromey@redhat.com>
18072
18073 * gdb.base/completion.exp: Don't use directory name in test.
18074
3657956b
GB
180752014-06-09 Gary Benson <gbenson@redhat.com>
18076
18077 * gdb.base/sigall.c [Functions to send signals]: Reorder to
18078 separate the always-available ANSI-standard signals from the
18079 signals that require checking.
18080 (main): Likewise.
18081 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
18082 Likewise.
18083 (main): Likewise.
18084
4186eb54
KS
180852014-06-07 Keith Seitz <keiths@redhat.com>
18086
18087 Revert:
18088 PR c++/16253
18089 * gdb.cp/var-tag.cc: New file.
18090 * gdb.cp/var-tag.exp: New file.
18091 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18092 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18093 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18094 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18095
25326a28 180962014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
18097
18098 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
18099
829155c9
PA
181002014-06-06 Pedro Alves <palves@redhat.com>
18101
18102 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
18103 in target debug output instead of looking at RSP packets,
18104 disabling the test on any target that uses hardware stepping.
18105 Update comments.
18106
61c8d22e
PA
181072014-06-06 Pedro Alves <palves@redhat.com>
18108
18109 * gdb.base/break-unload-file.exp: Fix typo.
18110
d9a47287
YQ
181112014-06-06 Yao Qi <yao@codesourcery.com>
18112
18113 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
18114 from "jit_function" to "^jit_function".
18115
e5e01dbf
YQ
181162014-06-06 Yao Qi <yao@codesourcery.com>
18117
18118 * gdb.base/async.c (foo): Add one statement.
18119 * gdb.base/async.exp: Get the next instruction address and
18120 match the output of "nexti" by instruction address. Match
18121 the hex address in the output of "finish".
18122
73ba372c
GB
181232014-06-06 Gary Benson <gbenson@redhat.com>
18124
18125 * gdb.base/call-signals.c: Remove preprocessor conditionals
18126 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
18127 SIGSEGV and SIGTERM.
18128 * gdb.base/sigall.c: Likewise.
18129 * gdb.base/unwindonsignal.c: Likewise.
18130 * gdb.reverse/sigall-reverse.c: Likewise.
18131
831517df
YQ
181322014-06-06 Yao Qi <yao@codesourcery.com>
18133
18134 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
18135 readable, skip the test.
18136
b8b91e98
YQ
181372014-06-06 Yao Qi <yao@codesourcery.com>
18138
18139 * gdb.threads/staticthreads.c (thread_function): Move the line
18140 setting breakpoint on forward.
18141 * gdb.threads/staticthreads.exp: Update comments.
18142
fb934770
LC
181432014-06-05 Ludovic Courtès <ludo@gnu.org>
18144
18145 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
18146 "history-append! type error".
18147
6ef284bd
SM
181482014-06-05 Simon Marchi <simon.marchi@ericsson.com>
18149
18150 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
18151 erroneous dprintf expected input.
18152
a872e241
DE
181532014-06-04 Doug Evans <xdje42@gmail.com>
18154
18155 * gdb.guile/scm-generics.exp: Delete.
18156
16f691fb
DE
181572014-06-04 Doug Evans <xdje42@gmail.com>
18158
18159 * gdb.guile/scm-breakpoint.exp: Update.
18160 Add tests for breakpoint registration.
18161
012370f6
TT
181622014-06-04 Tom Tromey <tromey@redhat.com>
18163
18164 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
18165 VLA-in-union.
18166 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
18167 inner_vla_struct, vla_union types. Initialize objects of those
18168 types and compute their sizes.
18169
9f5a4cef
HZ
181702014-06-04 Nathan Sidwell <nathan@codesourcery.com>
18171 Hui Zhu <hui@codesourcery.com>
18172
18173 * gdb.base/fileio.exp: Add test for shell not available as well as
18174 available.
18175 * gdb.base/fileio.c (test_system): Check for shell twice.
18176
90a45c4d
YQ
181772014-06-04 Yao Qi <yao@codesourcery.com>
18178
18179 * gdb.base/auto-connect-native-target.exp: Remove redundant
18180 space from the regexp pattern.
18181
70017e41
YQ
181822014-06-04 Yao Qi <yao@codesourcery.com>
18183
18184 * gdb.base/default.exp: Replace "child" with "native" in
18185 regexp pattern.
18186
883964a7
SC
181872014-06-03 Siva Chandra Reddy <sivachandra@google.com>
18188
18189 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
18190 * gdb.python/py-xmethods.exp: New tests to test xmethods.
18191 * gdb.python/py-xmethods.py: Python script supporting the
18192 new testcase and tests.
18193
ef370185
JB
181942014-06-03 Joel Brobecker <brobecker@adacore.com>
18195 Pedro Alves <palves@redhat.com>
18196
18197 PR breakpoints/17000
18198 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
18199 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
18200
1e2ccb61
BM
182012014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
18202
18203 * gdb.base/subst.exp: Add tests to verify partial path matching
18204 output.
18205
c6ec5ab2
PA
182062014-06-03 Pedro Alves <palves@redhat.com>
18207
18208 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
18209 target that doesn't use software single-stepping.
18210
835c559f
PA
182112014-06-03 Pedro Alves <palves@redhat.com>
18212
18213 PR breakpoints/17000
18214 * gdb.base/sss-bp-on-user-bp-2.c: New file.
18215 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
18216
06eb1586
DE
182172014-06-02 Doug Evans <xdje42@gmail.com>
18218
18219 * gdb.guile/scm-parameter.exp: New file.
18220
e698b8c4
DE
182212014-06-02 Doug Evans <xdje42@gmail.com>
18222
18223 * gdb.guile/scm-cmd.c: New file.
18224 * gdb.guile/scm-cmd.exp: New file.
18225
ded03782
DE
182262014-06-02 Doug Evans <xdje42@gmail.com>
18227
18228 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
18229 pretty-printer lookup.
18230 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
18231 (make-pp_s-printer): Call it.
18232 (make-pretty-printer-from-dict): New function.
18233 (lookup-pretty-printer-maker-from-dict): New function.
18234 (*pretty-printer*): Simplify.
18235 (make-objfile-pp_s-printer): New function.
18236 (install-objfile-pretty-printers!): New function.
18237 (make-progspace-pp_s-printer): New function.
18238 (install-progspace-pretty-printers!): New function.
18239 * gdb.guile/scm-progspace.c: New file.
18240 * gdb.guile/scm-progspace.exp: New file.
18241
41fac0cf
PA
182422014-06-02 Pedro Alves <palves@redhat.com>
18243
18244 * gdb.base/dprintf-bp-same-addr.c: New file.
18245 * gdb.base/dprintf-bp-same-addr.exp: New file.
18246
96ae5695
EBM
182472014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18248
18249 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
18250 * gdb.arch/powerpc-power.s: Likewise.
18251
da02b3a8
JB
182522014-06-02 Joel Brobecker <brobecker@adacore.com>
18253
18254 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
18255
c72b2e7b
YQ
182562014-06-01 Yao Qi <yao@codesourcery.com>
18257
18258 * gdb.base/watchpoint.exp (test_watch_location): Check null
18259 pointer can be dereferenced. If not, do the test, otherwise
18260 skip it.
18261
53e8a631
AB
182622014-05-30 Andrew Burgess <aburgess@broadcom.com>
18263
18264 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
18265 results.
18266 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
18267
938f0e2f
AB
182682014-05-30 Andrew Burgess <aburgess@broadcom.com>
18269
18270 * gdb.arch/amd64-invalid-stack-middle.S: New file.
18271 * gdb.arch/amd64-invalid-stack-middle.c: New file.
18272 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
18273 * gdb.arch/amd64-invalid-stack-top.c: New file.
18274 * gdb.arch/amd64-invalid-stack-top.exp: New file.
18275
9ba6657a
PA
182762014-05-30 Pedro Alves <palves@redhat.com>
18277
18278 PR breakpoints/17000
18279 * gdb.base/sss-bp-on-user-bp.c: New file.
18280 * gdb.base/sss-bp-on-user-bp.exp: New file.
18281
522c09bf
DB
182822014-05-30 David Blaikie <dblaikie@gmail.com>
18283
18284 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18285 gnu_inline semantics via attribute.
18286 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
18287 source explicitly specifies the required semantics.
18288
bf4ef81e
MR
182892014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
18290
18291 * gdb.reverse/sigall-reverse.exp: Fix a typo.
18292
329ea579
PA
182932014-05-29 Pedro Alves <palves@redhat.com>
18294 Tom Tromey <tromey@redhat.com>
18295
18296 * gdb.base/async-shell.exp: Don't enable target-async.
18297 * gdb.base/async.exp
18298 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18299 parameter. Adjust.
18300 (top level): Don't test with "target-async".
18301 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
18302 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
18303 * gdb.base/inferior-died.exp: Don't enable target-async.
18304 * gdb.base/interrupt-noterm.exp: Likewise.
18305 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
18306 * gdb.mi/mi-nonstop-exit.exp: Likewise.
18307 * gdb.mi/mi-nonstop.exp: Likewise.
18308 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
18309 * gdb.mi/mi-nsintrall.exp: Likewise.
18310 * gdb.mi/mi-nsmoribund.exp: Likewise.
18311 * gdb.mi/mi-nsthrexec.exp: Likewise.
18312 * gdb.mi/mi-watch-nonstop.exp: Likewise.
18313 * gdb.multi/watchpoint-multi.exp: Adjust comment.
18314 * gdb.python/py-evsignal.exp: Don't enable target-async.
18315 * gdb.python/py-evthreads.exp: Likewise.
18316 * gdb.python/py-prompt.exp: Likewise.
18317 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
18318 * gdb.server/solib-list.exp: Don't enable target-async.
18319 * gdb.threads/thread-specific-bp.exp: Likewise.
18320 * lib/mi-support.exp: Adjust to use mi-async.
18321
fd664c91
PA
183222014-05-29 Pedro Alves <palves@redhat.com>
18323
18324 PR gdb/13860
18325 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
18326 reason, even in sync mode.
18327
251bde03
PA
183282014-05-29 Pedro Alves <palves@redhat.com>
18329 Hui Zhu <hui@codesourcery.com>
18330
18331 PR PR15693
18332 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
18333 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
18334 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
18335 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
18336
7f3c0343
JB
183372014-05-28 Joel Brobecker <brobecker@adacore.com>
18338
18339 * config/monitor.exp (gdb_target_monitor): Replace use of
18340 "set remotebaud" by "set serial baud".
18341
b2715b27
AW
183422014-05-26 Andy Wingo <wingo@igalia.com>
18343
18344 * gdb.guile/scm-breakpoint.exp:
18345 * gdb.guile/scm-gsmob.exp: Update to use plain old object
18346 properties instead of gdb-object-properties.
18347
498a4489
YQ
183482014-05-26 Yao Qi <yao@codesourcery.com>
18349
18350 * gdb.server/no-thread-db.exp: Specify source file name
18351 explicitly when setting a breakpoint.
18352
589fdceb
MM
183532014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18354
18355 * gdb.btrace/vdso.c: New.
18356 * gdb.btrace/vdso.exp: New.
18357
e9089e05
MM
183582014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18359
18360 * gdb.base/gcore.exp (capture_command_output): Move ...
18361 * lib/gdb.exp (capture_command_output): ... here.
18362
67b5c0c1
MM
183632014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18364
18365 * gdb.btrace/data.exp: Test memory access during btrace replay.
18366
a2199296
SM
183672014-05-22 Simon Marchi <simon.marchi@ericsson.com>
18368
18369 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
18370
17b2616c
PA
183712014-05-21 Pedro Alves <palves@redhat.com>
18372
18373 PR gdb/13860
18374 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
18375 (top level): Test that output related to execution commands is
18376 sent to the console with CLI commands, but not with MI commands.
18377 Test that breakpoint events are always mirrored to the console.
18378 Also expect the new source line to be output after a "next" in
18379 async mode too. Make it a pass/fail test.
18380 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
18381 output.
18382 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
18383
5166082f
PA
183842014-05-21 Pedro Alves <palves@redhat.com>
18385
18386 * gdb.base/list.exp (build_pattern, test_list): New procedures.
18387 Use them to test variations of "list" after reaching a breakpoint.
18388 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
18389 Test "list" with listsize 10 after reaching a breakpoint.
18390 * gdb.python/python.exp (decode_line current location line
18391 number): Adjust expected line number.
18392
2f25d70f
SM
183932014-05-21 Simon Marchi <simon.marchi@ericsson.com>
18394
18395 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
18396 behavior for $args, pass it directly to "run".
18397
ff604a67
MR
183982014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
18399
18400 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
18401 30000 to 65536.
18402
6a3cb8e8
PA
184032014-05-21 Pedro Alves <palves@redhat.com>
18404
18405 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
18406 auto-connect-native-target off".
18407 * gdb.base/auto-connect-native-target.c: New file.
18408 * gdb.base/auto-connect-native-target.exp: New file.
18409
4ebfc96e
PA
184102014-05-21 Pedro Alves <palves@redhat.com>
18411
18412 * gdb.base/default.exp: Test "target native" instead of "target
18413 child".
18414
36d46afb
MW
184152014-05-21 Mark Wielaard <mjw@redhat.com>
18416
18417 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18418
5876f503
JK
184192014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18420
18421 Fix TLS access for -static -pthread.
18422 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
18423 <HAVE_TLS> (thread_function, main): Initialize it.
18424 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
18425 Add clean_restart.
18426 <$have_tls != "">: Check TLSVAR.
18427
0256a6ac
PA
184282014-05-21 Pedro Alves <palves@redhat.com>
18429
18430 * gdb.base/dcache-line-read-error.c: New.
18431 * gdb.base/dcache-line-read-error.exp: New.
18432
936d2992
PA
184332014-05-20 Pedro Alves <palves@redhat.com>
18434
18435 * gdb.base/compare-sections.c: New file.
18436 * gdb.base/compare-sections.exp: New file.
18437
802e8e6d
PA
184382014-05-20 Pedro Alves <palves@redhat.com>
18439
18440 * gdb.base/break-idempotent.c: New file.
18441 * gdb.base/break-idempotent.exp: New file.
18442
e59fa00f
MM
184432014-05-20 Markus Metzger <markus.t.metzger@intel.com>
18444
18445 * gdb.btrace/nohist.exp: New.
18446
8b696e31
YQ
184472014-05-20 Yao Qi <yao@codesourcery.com>
18448
18449 * lib/gdb.exp (gdb_init): Set timeout if test file is under
18450 gdb.reverse directory and gdb_reverse_timeout exists in board
18451 setting.
18452 * README: Document gdb_reverse_timeout.
18453
73c9764f
YQ
184542014-05-20 Yao Qi <yao@codesourcery.com>
18455
18456 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
18457 'test_file_name'. Treat args as a string instead of a list.
18458 (gdb_init): Rename argument 'args' by 'test_file_name'.
18459
f1f4348a
JK
184602014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
18461
18462 * gdb.arch/powerpc-power.exp: New file.
18463 * gdb.arch/powerpc-power.s: New file.
18464
0dbe70ce
DE
184652014-05-16 Doug Evans <dje@google.com>
18466
18467 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
18468 * gdb.base/completion.exp: Check that all expected files exist
18469 before doing file completion.
0dbe70ce 18470
8d551b02
DE
184712014-05-16 Doug Evans <dje@google.com>
18472
18473 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
18474 Update.
18475 (do_syscall_tests_without_xml): Update.
18476
73eb7709
PA
184772014-05-16 Pedro Alves <palves@redhat.com>
18478
18479 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
18480 instead of "unknown output after running".
18481
3fae92fc
YQ
184822014-05-16 Yao Qi <yao@codesourcery.com>
18483
18484 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
18485 file1.txt from host at the end.
18486 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18487
c2b2ccc5
DE
184882014-05-15 Doug Evans <dje@google.com>
18489
18490 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
18491 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
18492 loading file. Add test for TU lookup.
18493
8c217a4b
SM
184942014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18495
18496 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
18497 calling "-exec-arguments" or "set args" before running the
18498 inferior.
18499
3deb39c6
SM
185002014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18501
18502 * lib/mi-support.exp (mi_expect_stop): Expect message for
18503 inferiors that exit with non-zero exit code.
18504
71a79f8c
YQ
185052014-05-14 Yao Qi <yao@codesourcery.com>
18506
18507 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
18508 match absolute path on remote host.
18509 (test_file_list_exec_source_files): Remove "/" from the
18510 pattern.
18511
f23fcd46
YQ
185122014-05-14 Yao Qi <yao@codesourcery.com>
18513
18514 * boards/local-remote-host-notty.exp (${board}_file): New
18515 proc.
18516
9404b58f
KM
185172014-05-07 Kyle McMartin <kyle@redhat.com>
18518
18519 Pushed by Joel Brobecker <brobecker@adacore.com>.
18520 * gdb.arch/aarch64-atomic-inst.c: New file.
18521 * gdb.arch/aarch64-atomic-inst.exp: New file.
18522
5e45f04c
YQ
185232014-05-07 Yao Qi <yao@codesourcery.com>
18524
18525 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
18526 in current context" too.
18527
c888a17d
KS
185282014-05-05 Keith Seitz <keiths@redhat.com>
18529
18530 * gdb.linespec/ls-dollar.exp: Add test for linespec
18531 file:convenience_variable.
18532
290a839c
YQ
185332014-05-05 Yao Qi <yao@codesourcery.com>
18534
18535 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
18536 traceframes into tfile and ctf trace files. Read data from
18537 trace file and test collected data.
18538 (gdb_collect_locals_test): Likewise.
18539 (gdb_unavailable_registers_test): Likewise.
18540 (gdb_unavailable_floats): Likewise.
18541 (gdb_collect_globals_test): Likewise.
18542 (top-level): Append "ctf" to trace_file_targets if GDB
18543 supports.
18544
b5262cd0
YQ
185452014-05-05 Yao Qi <yao@codesourcery.com>
18546
18547 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
18548 code to ...
18549 (gdb_collect_args_test_1): ... it. New proc.
18550 (gdb_collect_locals_test): Move some code to ...
18551 (gdb_collect_locals_test_1): ... it. New proc.
18552 (gdb_unavailable_registers_test): Move some code to ...
18553 (gdb_unavailable_registers_test_1): ... it. New proc.
18554 (gdb_unavailable_floats): Move some code to ...
18555 (gdb_unavailable_floats_1): ... it. New proc.
18556
30a1e6cc
SDJ
185572014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18558
18559 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
18560 probes to test for bitness recognition.
18561 * gdb.arch/amd64-stap-optional-prefix.exp
18562 (test_probe_value_without_reg): New procedure.
18563 Add code to test for different kinds of bitness.
18564
f33da99a
SDJ
185652014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18566
18567 PR breakpoints/16889
18568 * gdb.arch/amd64-stap-optional-prefix.S: New file.
18569 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18570
5b80f00d
PA
185712014-05-01 Pedro Alves <palves@redhat.com>
18572
18573 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
18574 gdb_file_cmd if no file is specified.
18575 * boards/native-extended-gdbserver.exp (gdb_load): Use the
18576 last_loaded_file to set the remote exec-file.
18577
f8c2a73c
PA
185782014-05-01 Pedro Alves <palves@redhat.com>
18579
18580 * boards/local-remote-host.exp: New file.
18581
be6e8ac7
PA
185822014-05-01 Pedro Alves <palves@redhat.com>
18583
18584 * boards/local-remote-host.exp: Rename to ...
18585 * boards/local-remote-host-notty.exp: ... this.
18586
cac0dc8f
JB
185872014-04-28 Joel Brobecker <brobecker@adacore.com>
18588
18589 * gdb.ada/dyn_arrayidx: New testcase.
18590
9730e6cc
YQ
185912014-04-26 Yao Qi <yao@codesourcery.com>
18592
18593 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
18594 and compute the length of function main. Save it in
18595 $main_length.
18596 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
18597 (top-level): Use gdb_compile to compile objects into
18598 executable and restart GDB. Remove invocation to
18599 prepare_for_testing.
18600
7ae1a6a6
PA
186012014-04-25 Simon Marchi <simon.marchi@ericsson.com>
18602 Pedro Alves <palves@redhat.com>
18603
18604 PR server/16255
18605 * gdb.multi/multi-attach.c: New file.
18606 * gdb.multi/multi-attach.exp: New file.
18607
4082afcc
PA
186082014-04-25 Pedro Alves <palves@redhat.com>
18609
18610 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
18611 user.
18612 (top level): Test that "set remote conditional-breakpoints-packet
18613 off" works as intended.
18614 * gdb.base/dprintf.exp: Test that "set remote
18615 breakpoint-commands-packet off" works as intended.
18616 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
18617 New function.
18618 (top level): Call it.
18619 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
18620 remote fast-tracepoints-packet off" works as intended.
18621 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
18622 * lib/gdb.exp (gdb_is_target_remote): ... here.
18623
2abc3f8d
DB
186242014-04-24 David Blaikie <dblaikie@gmail.com>
18625
18626 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
18627 ensure clang would not discard them.
18628 * gdb.base/gdbvars.c: Ditto.
18629 * gdb.base/memattr.c: Ditto.
18630 * gdb.base/whatis.c: Ditto.
18631 * gdb.python/py-prettyprint.c: Ditto.
18632 * gdb.trace/actions.c: Ditto.
18633 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
18634 ensure clang would not discard it.
18635
bfd39632
DB
186362014-04-24 David Blaikie <dblaikie@gmail.com>
18637
18638 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
18639 clang to emit the full definition of type required by the test
18640 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
18641
22842ff6
DB
186422014-04-24 David Blaikie <dblaikie@gmail.com>
18643
18644 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
18645 coax Clang into emitting the definition of the type.
18646 * gdb.cp/pr10728-x.h (y): Ditto.
18647 * gdb.cp/pr10728-y.cc (y): Ditto.
18648
c2e827ad
DB
186492014-04-24 David Blaikie <dblaikie@gmail.com>
18650
18651 * gdb.base/label.exp: XFAIL label related tests under Clang.
18652 * gdb.cp/cplabel.exp: Ditto.
18653 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
18654 under Clang those using labels.
18655
4c2d33e7
YQ
186562014-04-25 Yao Qi <yao@codesourcery.com>
18657
18658 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
18659 double_label.
18660 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
18661 partial_label and double_label.
18662
56083b99
DB
186632014-04-24 David Blaikie <dblaikie@gmail.com>
18664
18665 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
18666
25d4e99d
DB
186672014-04-24 David Blaikie <dblaikie@gmail.com>
18668
18669 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
18670 of the function to work across GCC and Clang.
18671 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
18672 pointer types (const void ** const V void **).
18673
01f9f808
MS
186742014-04-24 Michael Sturm <michael.sturm@mintel.com>
18675 Walfred Tedeschi <walfred.tedeschi@intel.com>
18676
18677 * Makefile.in (EXECUTABLES): Added i386-avx512.
18678 * gdb.arch/i386-avx512.c: New file.
18679 * gdb.arch/i386-avx512.exp: Likewise.
18680
4b48d439
KS
186812014-04-23 Keith Seitz <keiths@redhat.com>
18682
18683 * lib/mi-support.exp (mi_list_breakpoints): Delete.
18684 (mi_make_breakpoint_table): New procedure.
18685 (mi_create_breakpoint): Use mi_make_breakpoint
18686 and return the result.
18687 (mi_make_breakpoint): New procedure.
18688 (mi_build_kv_pairs): New procedure.
18689
18690 * gdb.mi/mi-break.exp: Remove unused globals,
18691 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
18692 All callers updated.
18693 * gdb.mi/mi-dprintf.exp: Use variable to track command
18694 number.
18695 Update all callers of mi_create_breakpoint and use
18696 mi_make_breakpoint_table.
18697 Remove any unused global variables.
18698 * gdb.mi/mi-nonstop.exp: Likewise.
18699 * gdb.mi/mi-nsintrall.exp: Likewise.
18700 * gdb.mi/mi-nsmoribund.exp: Likewise.
18701 * gdb.mi/mi-nsthrexec.exp: Likewise.
18702 * gdb.mi/mi-reverse.exp: Likewise.
18703 * gdb.mi/mi-simplerun.exp: Likewise.
18704 * gdb.mi/mi-stepn.exp: Likewise.
18705 * gdb.mi/mi-syn-frame.exp: Likewise.
18706 * gdb.mi/mi-until.exp: Likewise.
18707 * gdb.mi/mi-var-cp.exp: Likewise.
18708 * gdb.mi/mi-var-display.exp: Likewise.
18709 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
18710 * gdb.mi/mi2-var-child.exp: Likewise.
18711 * gdb.mi/mi-vla-c99.exp: Likewise.
18712 * lib/mi-support.exp: Likewise.
18713
18714 From Ian Lance Taylor <iant@cygnus.com>:
18715 * lib/gdb.exp (parse_args): New procedure.
18716
08351840
PA
187172014-04-23 Pedro Alves <palves@redhat.com>
18718
18719 * gdb.base/break-unload-file.c: New file.
18720 * gdb.base/break-unload-file.exp: New file.
18721 * gdb.base/sym-file-lib.c (baz): New function.
18722 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
18723 field.
18724 (load): Store the segment's mapped size.
18725 (unload): New function.
18726 (unload_shlib): New function.
18727 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
18728 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
18729 set a breakpoint at baz, and call it.
18730 * gdb.base/sym-file.exp: New tests for stale breakpoint
18731 instructions.
18732
076855f9
PA
187332014-04-23 Pedro Alves <palves@redhat.com>
18734
18735 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
18736 * gdb.base/hbreak-in-shr-unsupported.c: New file.
18737 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
18738 * gdb.base/hbreak-unmapped.c: New file.
18739 * gdb.base/hbreak-unmapped.exp: New file.
18740 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
18741 * lib/gdb.exp (gdb_is_target_remote): ... here.
18742
483805cf
PA
187432014-04-22 Pedro Alves <palves@redhat.com>
18744
18745 * gdb.base/consecutive-step-over.c: New file.
18746 * gdb.base/consecutive-step-over.exp: New file.
18747
06d97543
PA
187482014-04-22 Pedro Alves <palves@redhat.com>
18749
18750 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
18751 instead of send_gdb/gdb_expect.
18752
b4429ea2
YQ
187532014-04-22 Yao Qi <yao@codesourcery.com>
18754
18755 * lib/trace-support.exp (generate_tracefile): New procedure.
18756 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
18757 return 0.
18758 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
18759 if generate_tracefile returns 1.
18760
51d48146
PA
187612014-04-18 Tom Tromey <palves@redhat.com>
18762 Pedro alves <tromey@redhat.com>
18763
18764 PR backtrace/15558
18765 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
18766 with a backtrace limit.
18767 * gdb.python/py-frame-inline.exp: Test running to an inline
18768 function with a backtrace limit, and printing the newest frame.
18769 * gdb.python/py-frame-inline.c (main): Call f.
18770
bd1dce5f
MS
187712014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18772
18773 * gdb.java/jnpe.exp: Drop srcdir from untested path.
18774
40d1a503
MS
187752014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18776
18777 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
18778 Drop prefix from unsupported source file path.
18779
389b98f7
YQ
187802014-04-17 Yao Qi <yao@codesourcery.com>
18781
18782 * lib/gdb.exp (with_target_charset): New proc.
18783 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
18784 with_target_charset.
18785 (test_print_strings): Likewise.
18786 (test_repeat_bytes): Likewise.
18787 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
18788 for some tests.
18789
22869d73
KS
187902014-04-16 Keith Seitz <keiths@redhat.com>
18791
18792 PR gdb/15827
18793 * gdb.dwarf2/corrupt.c: New file.
18794 * gdb.dwarf2/corrupt.exp: New file.
18795
c4f87ca6
KS
187962014-04-16 Keith Seitz <keiths@redhat.com>
18797
18798 PR c++/16597
18799 * gdb.cp/namelessclass.cc: New file.
18800 * gdb.cp/namelessclass.exp: New file.
18801 * gdb.cp/namelessclass.S: New file.
18802
ab19de87
DE
188032014-04-16 Doug Evans <dje@google.com>
18804
18805 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
18806 Add comment.
18807 (gdbserver_default_get_comm_port): New function.
18808 (gdbserver_start): Check if board file provided
18809 "gdbserver,get_comm_port" and use it if so.
18810 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
18811 (gdb,socketport): Set to "stdio".
18812 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
18813 (stdio_gdbserver_template): Delete.
18814 (${board}_get_remote_address): Update.
18815 (${board}_build_remote_cmd): Delete.
18816 (${board}_get_comm_port): New function.
18817 (${board}_spawn): Update.
18818 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
18819 Delete.
18820 (${board}_get_remote_address): Update.
18821 (${board}_get_comm_port): New function.
18822
fc98a809
AB
188232014-04-16 Andrew Burgess <aburgess@broadcom.com>
18824
18825 * gdb.base/memattr.exp: Improve regexps to handle memory regions
18826 appearing in any order.
18827
87fd9e6e
DE
188282014-04-15 Doug Evans <dje@google.com>
18829
18830 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
18831 uninitialized value of "description".
18832
099fc3ea
KS
188332014-04-15 Keith Seitz <keiths@redhat.com>
18834
18835 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
18836 Remove unused globals.
18837 (test_running_the_program): Likewise.
18838 (test_controlled_execution): Likewise.
18839 (test_controlling_breakpoints): Likewise.
18840 (test_program_termination): Likewise.
18841
5da151d4
KS
188422014-04-15 Keith Seitz <keiths@redhat.com>
18843
18844 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
18845 unused globals.
18846 (test_rbreak_creation_and_listing): Likewise.
18847 (test_ignore_count): Likewise.
18848 (test_error): Likewise.
18849
35e5d2f0
PA
188502014-04-15 Pedro Alves <palves@redhat.com>
18851
18852 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
18853 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
18854 sym-file-loader.c.
18855 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18856 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18857 to sym-file-loader.c.
18858 (struct library): Forward declare.
18859 (load_shlib, lookup_function): Change prototypes.
18860 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18861 (translate_offset): Remove declarations.
18862 (get_text_addr): New declaration.
18863 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
18864 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
18865 sym-file-loader.h.
18866 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18867 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18868 here from sym-file-loader.h.
18869 (struct library): New structure.
18870 (load_shlib, lookup_function): Change prototypes and adjust to
18871 work with a struct library.
18872 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18873 (translate_offset): Make static.
18874 (get_text_addr): New function.
18875 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
18876
eb4c1710
PA
188772014-04-15 Pedro Alves <palves@redhat.com>
18878
18879 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
18880
2d1baf52
PA
188812014-04-15 Pedro Alves <palves@redhat.com>
18882
18883 * gdb.base/sym-file-loader.c: Include <limits.h>.
18884 (SELF_LINK): New define.
18885 (get_origin): New function.
18886 (load_shlib): Use it.
18887 * gdb.base/sym-file.exp: Don't early return if the target is
18888 remote. Use runto_main, and issue fail is that fails. Use
18889 gdb_load_shlibs.
18890 (shlib_name): Delete.
18891 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
18892
7dd6df01
PA
188932014-04-15 Pedro Alves <palves@redhat.com>
18894
18895 * gdb.base/sym-file.exp: Remove regex characters from test
18896 message. Don't refer to breakpoint numbers in test messages.
18897
b50c8614
KS
188982014-04-14 Keith Seitz <keiths@redhat.com>
18899
18900 PR c++/16253
18901 * gdb.cp/var-tag.cc: New file.
18902 * gdb.cp/var-tag.exp: New file.
18903 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18904 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18905 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18906 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18907
3d567982
TT
189082014-04-14 Tom Tromey <tromey@redhat.com>
18909
18910 * gdb.cp/classes.exp (test_enums): Handle underlying type.
18911 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
18912 type.
18913 * gdb.cp/enum-class.exp: New file.
18914 * gdb.cp/enum-class.cc: New file.
18915
0626fc76
TT
189162014-04-14 Tom Tromey <tromey@redhat.com>
18917
18918 * gdb.dwarf2/enum-type.exp: New file.
18919
dca325b3
SA
189202014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18921
18922 * gdb.mi/mi-vla-c99.exp: New file.
18923 * gdb.mi/vla.c: New file.
18924
5854b38a
SA
189252014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18926
18927 * gdb.base/vla-datatypes.c: New file.
18928 * gdb.base/vla-datatypes.exp: New file.
18929
463bb957
SA
189302014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18931
18932 * gdb.base/vla-ptr.c: New file.
18933 * gdb.base/vla-ptr.exp: New file.
18934
3dd170be
SA
189352014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18936
18937 * gdb.dwarf2/count.exp: New file.
18938
5ecaaa66
SA
189392014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18940
18941 * gdb.base/vla-sideeffect.c: New file.
18942 * gdb.base/vla-sideeffect.exp: New file.
18943
41f1ada5
DB
189442014-04-14 David Blaikie <dblaikie@gmail.com>
18945
18946 * gdb.mi/non-stop.c: Add return value for non-void function return
18947 statement.
18948 * gdb.threads/staticthreads.c: Ditto.
18949
0be03e84
DE
189502014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18951 Doug Evans <xdje42@gmail.com>
18952
18953 * gdb.guile/scm-value.c: Improve test case.
18954 * gdb.guile/scm-value.exp: Add new test.
18955
f180a1fb
DB
189562014-04-11 David Blaikie <dblaikie@gmail.com>
18957
18958 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18959 override Clang's default.
18960
6b662e19
JB
189612014-04-11 Joel Brobecker <brobecker@adacore.com>
18962
18963 Revert the following changes (regressions):
18964
18965 * gdb.base/vla-sideeffect.c: New file.
18966 * gdb.base/vla-sideeffect.exp: New file.
18967
18968 * gdb.dwarf2/count.exp: New file.
18969
18970 * gdb.base/vla-multi.c: New file.
18971 * gdb.base/vla-multi.exp: New file.
18972
18973 * gdb.base/vla-ptr.c: New file.
18974 * gdb.base/vla-ptr.exp: New file.
18975
18976 * gdb.base/vla-datatypes.c: New file.
18977 * gdb.base/vla-datatypes.exp: New file.
18978
18979 * gdb.mi/mi-vla-c99.exp: New file.
18980 * gdb.mi/vla.c: New file.
18981
245a5f0b
KS
189822014-04-11 Keith Seitz <keiths@redhat.com>
18983
18984 PR c++/16675
18985 * gdb.cp/cpsizeof.exp: New file.
18986 * gdb.cp/cpsizeof.cc: New file.
18987
58a84dcf
SA
189882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18989
191a8a90
JB
18990 * gdb.mi/mi-vla-c99.exp: New file.
18991 * gdb.mi/vla.c: New file.
58a84dcf 18992
c8655f75
SA
189932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18994
18995 * gdb.base/vla-datatypes.c: New file.
18996 * gdb.base/vla-datatypes.exp: New file.
18997
024e13b4
SA
189982014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18999
19000 * gdb.base/vla-ptr.c: New file.
19001 * gdb.base/vla-ptr.exp: New file.
19002
1a237e0e
SA
190032014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19004
19005 * gdb.base/vla-multi.c: New file.
19006 * gdb.base/vla-multi.exp: New file.
19007
504f3432
SA
190082014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19009
19010 * gdb.dwarf2/count.exp: New file.
19011
3bce8237
SA
190122014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19013
191a8a90
JB
19014 * gdb.base/vla-sideeffect.c: New file.
19015 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 19016
322f9c21
YQ
190172014-04-11 Yao Qi <yao@codesourcery.com>
19018
19019 * gdb.base/completion.exp: Check file exists before running tests
19020 on file completion.
19021
d708bcd1
PA
190222014-04-10 Pedro Alves <palves@redhat.com>
19023
19024 * gdb.base/cond-eval-mode.c: New file.
19025 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
19026 prepare_for_testing to build the new file. Check result of
19027 runto_main.
19028 (test_break, test_watch): New procedures.
19029 (top level): Use them.
19030
ae1d2761
PM
190312014-04-08 Pierre Muller <muller@sourceware.org>
19032
19033 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
19034 Ctrl-V use for mingw hosts.
19035
7af389b8
SC
190362014-04-07 Siva Chandra Reddy <sivachandra@google.com>
19037
19038 * gdb.python/py-value.c: Improve test case.
19039 * gdb.python/py-value.exp: Add new test.
19040
5e703181
DE
190412014-04-07 David Blaikie <dblaikie@gmail.com>
19042
19043 * lib/compiler.c: Identify the clang compiler.
19044 * lib/compiler.cc: Ditto.
19045
9810b410
YQ
190462014-04-03 Yao Qi <yao@codesourcery.com>
19047
19048 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
19049
98d1b8dc
AB
190502014-04-01 Anton Blanchard <anton@samba.org>
19051
19052 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
19053 messages unique.
19054
3114cea1
AB
190552014-04-01 Anton Blanchard <anton@samba.org>
19056
19057 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
19058 prepare_for_testing.
19059
62f7182c
AB
190602014-04-01 Anton Blanchard <anton@samba.org>
19061
19062 * gdb.arch/ppc64-atomic-inst.c: Remove.
19063 * gdb.arch/ppc64-atomic-inst.S: New file.
19064 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
19065
770e7fc7
DE
190662014-03-31 Doug Evans <dje@google.com>
19067
19068 * gdb.base/print-symbol-loading-lib.c: New file.
19069 * gdb.base/print-symbol-loading-main.c: New file.
19070 * gdb.base/print-symbol-loading.exp: New file.
19071
46e2bafa
YQ
190722014-03-31 Yao Qi <yao@codesourcery.com>
19073
19074 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
19075
8776cfe9
JB
190762014-03-28 Joel Brobecker <brobecker@adacore.com>
19077
19078 * gdb.ada/mi_dyn_arr: New testcase.
19079
5d1ef361
DE
190802014-03-27 Doug Evans <dje@google.com>
19081
19082 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
19083
b5bee914
YQ
190842014-03-27 Yao Qi <yao@codesourcery.com>
19085
19086 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
19087 if target is nios2-*-*.
19088
0d4d0e77
YQ
190892014-03-26 Yao Qi <yao@codesourcery.com>
19090
19091 * lib/gdb.exp (readline_is_used): New proc.
19092 * gdb.base/completion.exp: Move tests on command complete up.
19093 Skip the rest of tests if readline is not used.
19094 * gdb.ada/complete.exp: Skp the test if readline is not
19095 used.
19096 * gdb.base/filesym.exp: Likewise.
19097 * gdb.base/macscp.exp: Likewise.
19098 * gdb.base/readline-ask.exp: Likewise.
19099 * gdb.base/readline.exp: Likewise.
19100 * gdb.python/py-cmd.exp: Likewise.
19101 * gdb.trace/tfile.exp: Likewise.
19102
29361eee
YQ
191032014-03-26 Yao Qi <yao@codesourcery.com>
19104
19105 * gdb.base/macscp.exp: Fix code format issues.
19106
bc9a5525
UW
191072014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
19108
19109 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
19110 * gdb.asm/powerpc64le.inc: New file.
19111
d3839ede
PA
191122014-03-25 Pedro Alves <palves@redhat.com>
19113 Doug Evans <dje@google.com>
19114
19115 * gdb.base/source-execution.c: New file.
19116 * gdb.base/source-execution.exp: New file.
19117 * gdb.base/source-execution.gdb: New file.
19118
01672a57
DE
191192014-03-24 Doug Evans <dje@google.com>
19120
19121 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
19122 using fission.
19123
88bbeca9
HZ
191242014-03-24 Hui Zhu <hui@codesourcery.com>
19125 Pedro Alves <palves@redhat.com>
19126
19127 PR breakpoints/16101
19128 * gdb.base/dprintf.exp: Use unsupported rather than changing the
19129 test pass/fail messages. Detect missing support for dprintf when
19130 breakpoints are actually inserted.
19131 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
19132 breakpoints are actually inserted.
19133 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
19134 fails.
19135
d2348791
JK
191362014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
19137
19138 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
19139
feef67ab
DE
191402014-03-22 Doug Evans <xdje42@gmail.com>
19141
19142 * gdb.python/python.exp (python not supported): Verify multi-line
19143 python command issues an error.
25d743f9 19144 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 19145 guile command issues an error.
feef67ab 19146
ecebef6a
MR
191472014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
19148
19149 * gdb.threads/thread-specific.exp: Handle the lack of usable
19150 $this_breakpoint and $this_thread.
19151
ccdd1909
HZ
191522014-03-21 Hui Zhu <hui@codesourcery.com>
19153
19154 * gdb.base/attach.exp (do_command_attach_tests): New.
19155
beb460e8
PA
191562014-03-20 Tom Tromey <tromey@redhat.com>
19157 Pedro Alves <palves@redhat.com>
19158
19159 PR cli/15718
19160 * gdb.base/condbreak-call-false.c: New file.
19161 * gdb.base/condbreak-call-false.exp: New file.
19162
40acf43a
PA
191632014-03-20 Pedro Alves <palves@redhat.com>
19164
19165 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
19166 Delete.
19167 (block_signals, unblock_signals): Delete.
19168 (child_function_2, main): Remove references to deleted variable
19169 and functions.
19170
9f5e1e02
PA
191712014-03-20 Pedro Alves <palves@redhat.com>
19172
19173 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
19174 Use pthread_kill to signal thread 2.
19175 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19176 Adjust to make the test send itself a signal rather than using the
19177 host's "kill" command.
19178
99619bea
PA
191792014-03-20 Pedro Alves <palves@redhat.com>
19180
19181 * gdb.threads/multiple-step-overs.c: New file.
19182 * gdb.threads/multiple-step-overs.exp: New file.
19183 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19184 Adjust expected infrun debug output.
19185
2adfaa28
PA
191862014-03-20 Pedro Alves <palves@redhat.com>
19187
19188 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
19189 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
19190
31e77af2
PA
191912014-03-20 Pedro Alves <palves@redhat.com>
19192
19193 PR breakpoints/7143
19194 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
19195 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
19196 of gdb_test_multiple.
19197 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
19198 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
19199
b9f437de
PA
192002014-03-20 Pedro Alves <palves@redhat.com>
19201
19202 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
19203 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
19204
05adc73e
PA
192052014-03-19 Pedro Alves <palves@redhat.com>
19206
19207 * gdb.base/async.exp: Remove early return.
19208
6048b950
PA
192092014-03-19 Pedro Alves <palves@redhat.com>
19210
19211 * gdb.base/async.exp (step& tests): Pass explicit test messages.
19212
8bcfb00a
PA
192132014-03-19 Pedro Alves <palves@redhat.com>
19214
19215 * gdb.base/async.exp (test_background): Expect \r\n after
19216 "completed." in the fail pattern.
19217
884e37dc
PA
192182014-03-19 Pedro Alves <palves@redhat.com>
19219
19220 * gdb.base/async.exp (test_background): New procedure.
19221 Use it for all background execution command tests.
19222
148e57e2
PA
192232014-03-19 Pedro Alves <palves@redhat.com>
19224
19225 * gdb.base/async.exp: Use prepare_for_testing.
19226
f48088c7
PA
192272014-03-19 Pedro Alves <palves@redhat.com>
19228
19229 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
19230 the same line.
19231
e2f6c966
PA
192322014-03-19 Pedro Alves <palves@redhat.com>
19233
19234 * gdb.base/async.c (main): Add "jump here" and "until here" line
19235 marker comments.
19236 * gdb.base/async.exp (jump_here): New global.
19237 (jump& test): Use it.
19238 (until_here): New global.
19239 (until& test): Use it.
19240
c30568d4
PA
192412014-03-19 Pedro Alves <palves@redhat.com>
19242
19243 * gdb.base/async.exp: Don't frob gdb_protocol.
19244
0172b6a7
DE
192452014-03-18 Doug Evans <xdje42@gmail.com>
19246
19247 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
19248 Fix spelling of exec-done-display.
19249
06c868a8
JK
192502014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
19251
19252 PR gdb/15358
19253 * gdb.base/gdb-sigterm.c: New file.
19254 * gdb.base/gdb-sigterm.exp: New file.
19255
0c7e1a46
PA
192562014-03-18 Pedro Alves <palves@redhat.com>
19257
19258 PR gdb/13860
19259 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
19260 * lib/mi-support.exp (mi_expect_stop): Add special handling for
19261 solib-event.
19262
f7c77d93
JB
192632014-03-17 Joel Brobecker <brobecker@adacore.com>
19264
19265 * gdb.ada/pckd_arr_ren: New testcase.
19266
5a1e8c7a
DE
192672014-03-13 Doug Evans <xdje42@gmail.com>
19268
19269 PR guile/16612
19270 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
19271 collect after discarding symbols.
19272
350e1a76
DE
192732014-03-13 Ludovic Courtès <ludo@gnu.org>
19274 Doug Evans <xdje42@gmail.com>
19275
19276 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
19277 to history survives a gc.
19278
a69900ae
PA
192792014-03-13 Pedro Alves <palves@redhat.com>
19280
19281 * gdb.base/default.exp: Don't test "target procfs".
19282
5db9f0bd
PA
192832014-03-13 Pedro Alves <palves@redhat.com>
19284
19285 * gdb.base/default.exp: Update "target child" and "target procfs"
19286 tests to not expect "Unix".
19287
b3ccfe11
TT
192882014-03-12 Tom Tromey <tromey@redhat.com>
19289
19290 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
19291 New procs. Add target-async tests.
19292 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
19293 Add target-async tests.
19294
646f4417
AA
192952014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19296
19297 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
19298 'func_start' and 'func_end' for the beginning and end of the
19299 function code, respectively.
19300 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
19301 'func_end' instead of 'func' and 'main'.
19302
288c211f
AA
193032014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19304
19305 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
19306 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
19307 generate the debug info assembler source.
19308
e0c0f156
AA
193092014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19310
19311 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
19312 * gdb.dwarf2/arr-subrange.exp: Likewise.
19313 * gdb.dwarf2/dwz.exp: Likewise.
19314 * gdb.dwarf2/method-ptr.exp: Likewise.
19315 * gdb.dwarf2/missing-sig-type.exp: Likewise.
19316 * gdb.dwarf2/subrange.exp: Likewise.
19317 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
19318 * gdb.dwarf2/implptrpiece.exp: Likewise.
19319 * gdb.dwarf2/nostaticblock.exp: Likewise.
19320
0e5c4555
AA
193212014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19322
19323 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
19324 directory to absolute path name arguments.
19325
5ec18f2b
JG
193262014-03-10 Joel Brobecker <brobecker@adacore.com>
19327
19328 * gdb.ada/tagged_access: New testcase.
19329
847fc4f2
MM
193302014-03-07 Markus Metzger <markus.t.metzger@intel.com>
19331
19332 * gdb.btrace/data.exp: Update expected output.
19333
cc3da688
YQ
193342014-03-06 Yao Qi <yao@codesourcery.com>
19335
19336 * gdb.trace/pr16508.exp: New file.
19337
0f26cec1
PA
193382014-03-05 Pedro Alves <palves@redhat.com>
19339
19340 PR gdb/16575
19341 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
19342 procedure.
19343 (top level): Adjust to use it. Add tests that exercise breakpoint
19344 interaction with the code-cache.
19345
7a5a839f
LC
193462014-02-26 Ludovic Courtès <ludo@gnu.org>
19347
19348 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
19349 test for 'history-append!'.
19350
31aa7e4e
JB
193512014-02-26 Joel Brobecker <brobecker@adacore.com>
19352
19353 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
19354 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
19355 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
19356 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
19357 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
19358 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
19359
1b588015
JB
193602014-02-26 Joel Brobecker <brobecker@adacore.com>
19361
19362 * testsuite/gdb.python/py-pp-re-notag.c: New file.
19363 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
19364 * testsuite/gdb.python/py-pp-re-notag.p: New file.
19365
55426c9d
JB
193662014-02-26 Joel Brobecker <brobecker@adacore.com>
19367
19368 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
19369
dc53a7ad
JB
193702014-02-26 Joel Brobecker <brobecker@adacore.com>
19371
19372 * gdb.dwarf2/arr-stride.c: New file.
19373 * gdb.dwarf2/arr-stride.exp: New file.
19374
12ab52e9
PA
193752014-02-26 Pedro Alves <palves@redhat.com>
19376
19377 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
19378 that won't ever trigger. Make sure that GDB reports the correct
19379 breakpoint that caused the stop.
19380
849c862e
JK
193812014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19382
19383 PR gdb/16626
19384 * gdb.base/auto-load-script: New file.
19385 * gdb.base/auto-load.c: New file.
19386 * gdb.base/auto-load.exp: New file.
19387
71b7d793
JK
19388 PR gdb/16626
19389 * gdb.base/auto-load.exp: Fix out-of-srctree run.
19390
e2f0d509
JK
193912014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19392
19393 Fix dw2-icycle.exp -fsanitize=address GDB crash.
19394 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
19395
50cc37c8
DE
193962014-02-24 Doug Evans <dje@google.com>
19397
19398 * lib/gdb.exp (run_on_host): Log error output if program fails.
19399
ea4758f2
PA
194002014-02-21 Pedro Alves <palves@redhat.com>
19401
19402 * gdb.threads/step-after-sr-lock.c: Rename to ...
19403 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
19404 * gdb.threads/step-after-sr-lock.exp: Rename to ...
19405 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19406 ... this.
19407
d7b30f67
SDJ
194082014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
19409
19410 PR tdep/16397
19411 * gdb.arch/amd64-stap-special-operands.exp: New file.
19412 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
19413 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
19414 * gdb.arch/amd64-stap-triplet.S: Likewise.
19415 * gdb.arch/amd64-stap-triplet.c: Likewise.
19416
83deb43f
JB
194172014-02-20 Joel Brobecker <brobecker@adacore.com>
19418
19419 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
19420 in .section pseudo-op.
19421
adde2bff
DE
194222014-02-20 lin zuojian <manjian2006@gmail.com>
19423 Joel Brobecker <brobecker@adacore.com>
19424 Doug Evans <xdje42@gmail.com>
19425
19426 PR symtab/16581
19427 * gdb.dwarf2/dw2-icycle.S: New file.
19428 * gdb.dwarf2/dw2-icycle.c: New file.
19429 * gdb.dwarf2/dw2-icycle.exp: New file.
19430
f7bd0f78
SC
194312014-02-19 Siva Chandra Reddy <sivachandra@google.com>
19432
19433 * gdb.python/py-value-cc.cc: Improve test case to enable testing
19434 operations on gdb.Value objects.
19435 * gdb.python/py-value-cc.exp: Add new test to test operations on
19436 gdb.Value objects.
19437
c17ef0d5
DE
194382014-02-18 Doug Evans <dje@google.com>
19439
19440 * Makefile.in (TESTS): New variable.
19441 (expanded_tests, expanded_tests_or_none): New variables
19442 (check-single): Pass $(expanded_tests_or_none) to runtest.
19443 (check-parallel): Only run tests in $(TESTS) if non-empty.
19444 (check/no-matching-tests-found): New rule.
19445 * README: Document TESTS makefile variable.
19446
5dd3176f
DE
194472014-02-18 Doug Evans <dje@google.com>
19448
19449 * Makefile.in (check-parallel): rm -rf outputs temp.
19450
0b10be4f
JK
194512014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19452
19453 Fix "ERROR: no fileid for" in the testsuite.
19454 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
19455
85f224e7
DE
194562014-02-12 Doug Evans <dje@google.com>
19457
19458 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
19459 (MISCELLANEOUS): New variable.
19460 (clean): rm -rf $(MISCELLANEOUS).
19461 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
19462 dwp live in the same directory as symlinks, with each symlink pointed
19463 to a differently named file in a different directory.
19464
149b30ff
DE
194652014-02-11 Doug Evans <dje@google.com>
19466
19467 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
19468 of Tcl file commands.
19469
1dfdac32
MK
194702014-02-10 Mark Kettenis <kettenis@gnu.org>
19471
19472 * gdb.threads/step-after-sr-lock.exp: Avoid executing
19473 "kill -SIGUSR1 -1".
19474
aa4fb036
JB
194752014-02-10 Joel Brobecker <brobecker@adacore.com>
19476
19477 * gdb.ada/tick_length_array_enum_idx: New testcase.
19478
ed3ef339
DE
194792014-02-10 Doug Evans <xdje42@gmail.com>
19480
19481 * configure.ac (AC_OUTPUT): Add gdb.guile.
19482 * configure: Regenerate.
19483 * lib/gdb-guile.exp: New file.
19484 * lib/gdb.exp (get_target_charset): New function.
19485 * gdb.base/help.exp: Update expected output from "apropos apropos".
19486 * gdb.guile/Makefile.in: New file.
19487 * gdb.guile/guile.exp: New file.
19488 * gdb.guile/scm-arch.c: New file.
19489 * gdb.guile/scm-arch.exp: New file.
19490 * gdb.guile/scm-block.c: New file.
19491 * gdb.guile/scm-block.exp: New file.
19492 * gdb.guile/scm-breakpoint.c: New file.
19493 * gdb.guile/scm-breakpoint.exp: New file.
19494 * gdb.guile/scm-disasm.c: New file.
19495 * gdb.guile/scm-disasm.exp: New file.
19496 * gdb.guile/scm-equal.c: New file.
19497 * gdb.guile/scm-equal.exp: New file.
19498 * gdb.guile/scm-error.exp: New file.
19499 * gdb.guile/scm-error.scm: New file.
19500 * gdb.guile/scm-frame-args.c: New file.
19501 * gdb.guile/scm-frame-args.exp: New file.
19502 * gdb.guile/scm-frame-args.scm: New file.
19503 * gdb.guile/scm-frame-inline.c: New file.
19504 * gdb.guile/scm-frame-inline.exp: New file.
19505 * gdb.guile/scm-frame.c: New file.
19506 * gdb.guile/scm-frame.exp: New file.
19507 * gdb.guile/scm-generics.exp: New file.
19508 * gdb.guile/scm-gsmob.exp: New file.
19509 * gdb.guile/scm-iterator.c: New file.
19510 * gdb.guile/scm-iterator.exp: New file.
19511 * gdb.guile/scm-math.c: New file.
19512 * gdb.guile/scm-math.exp: New file.
19513 * gdb.guile/scm-objfile-script-gdb.in: New file.
19514 * gdb.guile/scm-objfile-script.c: New file.
19515 * gdb.guile/scm-objfile-script.exp: New file.
19516 * gdb.guile/scm-objfile.c: New file.
19517 * gdb.guile/scm-objfile.exp: New file.
19518 * gdb.guile/scm-ports.exp: New file.
19519 * gdb.guile/scm-pretty-print.c: New file.
19520 * gdb.guile/scm-pretty-print.exp: New file.
19521 * gdb.guile/scm-pretty-print.scm: New file.
19522 * gdb.guile/scm-section-script.c: New file.
19523 * gdb.guile/scm-section-script.exp: New file.
19524 * gdb.guile/scm-section-script.scm: New file.
19525 * gdb.guile/scm-symbol.c: New file.
19526 * gdb.guile/scm-symbol.exp: New file.
19527 * gdb.guile/scm-symtab-2.c: New file.
19528 * gdb.guile/scm-symtab.c: New file.
19529 * gdb.guile/scm-symtab.exp: New file.
19530 * gdb.guile/scm-type.c: New file.
19531 * gdb.guile/scm-type.exp: New file.
19532 * gdb.guile/scm-value-cc.cc: New file.
19533 * gdb.guile/scm-value-cc.exp: New file.
19534 * gdb.guile/scm-value.c: New file.
19535 * gdb.guile/scm-value.exp: New file.
19536 * gdb.guile/source2.scm: New file.
19537 * gdb.guile/types-module.cc: New file.
19538 * gdb.guile/types-module.exp: New file.
19539
7026a7c1
YQ
195402014-02-10 Yao Qi <yao@codesourcery.com>
19541
19542 PR testsuite/16543
19543 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
19544 * configure: Regenerated.
19545 * Makefile.in: New file.
19546
6c466447
AS
195472014-02-08 Andreas Schwab <schwab@linux-m68k.org>
19548
19549 * gdb.python/py-framefilter.exp: Fix typo.
19550
6e854735
YQ
195512014-02-08 Yao Qi <yao@codesourcery.com>
19552
19553 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
19554 that no =breakpoint-modified is emitted when breakpoints are
19555 modified through MI commands.
19556
d137e6dc
PA
195572014-02-07 Pedro Alves <pedro@codesourcery.com>
19558 Pedro Alves <palves@redhat.com>
19559
19560 * gdb.threads/step-after-sr-lock.c: New file.
19561 * gdb.threads/step-after-sr-lock.exp: New file.
19562
b5ee5a50
PA
195632014-02-07 Pedro Alves <palves@redhat.com>
19564
19565 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
19566
3c77faf3
JK
195672014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
19568
19569 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
19570 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
19571
6dddc817
DE
195722014-02-06 Doug Evans <xdje42@gmail.com>
19573
19574 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
19575 output.
19576
19577 * gdb.gdb/python-interrupts.exp: New file.
19578
de7b2893
YQ
195792014-02-05 Yao Qi <yao@codesourcery.com>
19580
19581 * gdb.trace/report.exp (use_collected_data): Test the output
19582 of "info threads" and "info inferiors".
19583
66d032ac
YQ
195842014-02-05 Yao Qi <yao@codesourcery.com>
19585
19586 Revert this patch:
19587
19588 2013-05-24 Yao Qi <yao@codesourcery.com>
19589
19590 * gdb.trace/tfile.exp: Test inferior and thread.
19591
591a12a1
UW
195922014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19593
19594 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
19595 on a function.
19596 * gdb.base/step-bt.c: Call hello via function pointer to make
19597 sure its first instruction is executed on powerpc64le-linux.
19598
0ff3e01f
UW
195992014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19600
19601 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
19602
084ee545
UW
196032014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19604
19605 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
19606 of the test patterns for use on little-endian systems.
19607
6ed14ff3
UW
196082014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19609
19610 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
19611 (decimal_vector): Fix for little-endian.
19612
401e27fd
JM
196132014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
19614
19615 * gdb.arch/sparc-sysstep.exp: New file.
19616 * gdb.arch/sparc-sysstep.c: Likewise.
19617
19618 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
19619
8b924729
EBM
196202014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19621
19622 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
19623
fb151210
JB
196242014-01-23 Tom Tromey <tromey@redhat.com>
19625
19626 * gdb.ada/array_char_idx: New testcase.
19627
0740f8d8
TT
196282014-01-23 Tom Tromey <tromey@redhat.com>
19629
19630 PR python/16487:
19631 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
19632 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
19633 classes.
19634
21909fa1
TT
196352014-01-23 Tom Tromey <tromey@redhat.com>
19636
19637 PR python/16491:
19638 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
19639 string from an inferior frame.
19640 * gdb.python/py-framefilter-mi.exp: Update.
19641
87ce2a04
DE
196422014-01-22 Doug Evans <dje@google.com>
19643
19644 * gdb.server/server-mon.exp: Add tests for "set debug-format".
19645
237b092b
AA
196462014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19647
19648 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
19649
d674a709
AA
196502014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19651
19652 * gdb.trace/entry-values.exp: Remove excess space character from
19653 regex patterns. Handle s390 call instruction.
19654
20fa3390
AA
196552014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19656
19657 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
19658 define "*_start" label. Make "name" static.
19659 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
19660 ${name} by references to ${name}_start.
19661
78466714
AA
196622014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19663
19664 * gdb.base/info-macros.exp: Remove "debug" from the compile
19665 options.
19666
ec9f644a
IB
196672014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19668
19669 * gdb.dlang/demangle.exp: New file.
19670
94b1b47e
IB
196712014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19672
19673 * gdb.dlang/primitive-types.exp: New file.
19674
7f420862
IB
196752014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19676
19677 * configure.ac: Create gdb.dlang/Makefile.
19678 * configure: Regenerate.
19679 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
19680 * gdb.dlang/Makefile.in: New file.
19681 * lib/d-support.exp: New file.
19682 * lib/gdb.exp (skip_d_tests): New proc.
19683
52834460
MM
196842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19685
19686 * gdb.btrace/delta.exp: Check reverse stepi.
19687 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
19688 * gdb.btrace/finish.exp: New.
19689 * gdb.btrace/next.exp: New.
19690 * gdb.btrace/nexti.exp: New.
19691 * gdb.btrace/record_goto.c: Add comments.
19692 * gdb.btrace/step.exp: New.
19693 * gdb.btrace/stepi.exp: New.
19694 * gdb.btrace/multi-thread-step.c: New.
19695 * gdb.btrace/multi-thread-step.exp: New.
19696 * gdb.btrace/rn-dl-bind.c: New.
19697 * gdb.btrace/rn-dl-bind.exp: New.
19698 * gdb.btrace/data.c: New.
19699 * gdb.btrace/data.exp: New.
19700 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19701
6e07b1d2
MM
197022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19703
19704 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
19705 * gdb.btrace/exception.exp: Update.
19706 * gdb.btrace/instruction_history.exp: Update.
19707 * gdb.btrace/record_goto.exp: Update.
19708 * gdb.btrace/tailcall.exp: Update.
19709 * gdb.btrace/unknown_functions.exp: Update.
19710 * gdb.btrace/delta.exp: New.
19711
0b722aec
MM
197122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19713
19714 * gdb.btrace/record_goto.exp: Add backtrace test.
19715 * gdb.btrace/tailcall.exp: Add backtrace test.
19716
066ce621
MM
197172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19718
19719 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
19720 * gdb.btrace/record_goto.c: New.
19721 * gdb.btrace/record_goto.exp: New.
19722 * gdb.btrace/x86-record_goto.S: New.
19723
0688d04e
MM
197242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19725
19726 * gdb.btrace/function_call_history.exp: Update tests.
19727 * gdb.btrace/instruction_history.exp: Update tests.
19728
8710b709
MM
197292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19730
19731 * gdb.btrace/function_call_history.exp: Fix expected field
19732 order for "record function-call-history".
19733 Add new tests for "record function-call-history /c".
19734 * gdb.btrace/exception.cc: New.
19735 * gdb.btrace/exception.exp: New.
19736 * gdb.btrace/tailcall.exp: New.
19737 * gdb.btrace/x86-tailcall.S: New.
19738 * gdb.btrace/x86-tailcall.c: New.
19739 * gdb.btrace/unknown_functions.c: New.
19740 * gdb.btrace/unknown_functions.exp: New.
19741 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19742
5de9129b
MM
197432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19744
19745 * gdb.btrace/instruction_history.exp: Update.
19746 * gdb.btrace/function_call_history.exp: Update.
19747
23a7fe75
MM
197482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19749
19750 * gdb.btrace/function_call_history.exp: Fix expected function
19751 trace.
19752 * gdb.btrace/instruction_history.exp: Initialize traced.
19753 Remove traced_functions.
19754
724c7dd8
MM
197552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19756
19757 * gdb.btrace/function_call_history.exp: Update
19758 * gdb.btrace/instruction_history.exp: Update.
19759
6d78d93b
MM
197602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19761
19762 * gdb.btrace/enable.exp: Update expected text.
19763
93a360cc
OJ
197642014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
19765
19766 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
19767 bytes.
19768
3772b53f
MR
197692014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
19770
19771 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
19772
596662fa
OJ
197732014-01-15 Omair Javaid <omair.javaid@linaro.org>
19774
19775 * lib/gdb.exp (supports_process_record): Return true for
19776 arm*-linux*. (supports_reverse): Likewise.
19777
b5b08fb4
SC
197782014-01-13 Siva Chandra Reddy <sivachandra@google.com>
19779
19780 PR python/15464
19781 PR python/16113
19782 * gdb.python/py-type.c: Enhance test case.
19783 * gdb.python/py-value-cc.cc: Likewise
19784 * gdb.python/py-type.exp: Add new tests.
19785 * gdb.python/py-value-cc.exp: Likewise
19786
52d7fb13
AA
197872014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19788 Pedro Alves <palves@redhat.com>
19789
19790 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
19791 Make "name" extern.
19792 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
19793 references to ${name}_start by references to ${name}.
19794
a2cd8cfe
JB
197952014-01-10 Joel Brobecker <brobecker@adacore.com>
19796
19797 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
19798
4e23fced
JB
197992014-01-10 Joel Brobecker <brobecker@adacore.com>
19800
19801 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
19802
c6a9e42c
PA
198032014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
19804 Pedro Alves <palves@redhat.com>
19805
19806 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 19807 mi_gdb_target_load.
c6a9e42c 19808
b7ea362b
PA
198092014-01-08 Pedro Alves <palves@redhat.com>
19810
19811 * gdb.threads/reconnect-signal.c: New file.
19812 * gdb.threads/reconnect-signal.exp: New file.
19813
5e3f4fab
EBM
198142014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19815
19816 * gdb.base/source-dir.exp: New file.
19817
79301218
JB
198182014-01-07 Joel Brobecker <brobecker@adacore.com>
19819
19820 * gdb.ada/mi_interface: New testcase.
19821
8e355c5d
JB
198222014-01-07 Joel Brobecker <brobecker@adacore.com>
19823
19824 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
19825 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
19826 gdb.ada/pp-rec-component/pck.ads: New files.
19827
c0d48811
JB
198282014-01-07 Joel Brobecker <brobecker@adacore.com>
19829
19830 * gdb.python/py-pp-integral.c: New file.
19831 * gdb.python/py-pp-integral.py: New file.
19832 * gdb.python/py-pp-integral.exp: New file.
19833
17b609c3 19834For older changes see ChangeLog-1993-2013.
c906108c 19835\f
8d8cb839
EZ
19836;; Local Variables:
19837;; mode: change-log
19838;; left-margin: 8
19839;; fill-column: 74
19840;; version-control: never
19841;; End:
902f2ccb 19842
b811d2c2 19843 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
19844 Copying and distribution of this file, with or without modification,
19845 are permitted provided the copyright notice and this notice are preserved.