]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix/improve 'apropos' output
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
7c05caf7
PW
12020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2
3 * gdb.base/help.exp: Test apropos and help for commands
4 having aliases. Fixed comments not starting with an
5 upper-case letter or not finishing with a dot.
6
7aa1b46f
PW
72020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8
3b3aaacb
PW
9 * gdb.base/alias.exp: Update help output check.
10
11c2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12
7aa1b46f
PW
13 * gdb.base/default.exp: Update output following fixes.
14
0605465f
PW
152020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16
17 * gdb.base/alias.exp: Test aliases starting with a prefix of
18 another alias.
19
86e4e63d
GB
202020-05-15 Gary Benson <gbenson@redhat.com>
21
22 * gdb.base/info-os.c (main): Add return statement.
23 * gdb.base/info_minsym.c (minsym_fun): Likewise.
24 * gdb.base/large-frame-2.c (func): Likewise.
25 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
26 * gdb.base/pr10179-b.c (foo2): Likewise.
27 * gdb.base/valgrind-disp-step.c (foo): Likewise.
28 * gdb.base/watch-cond.c (func): Likewise.
29 * gdb.multi/goodbye.c (verylongfun): Likewise.
30 * gdb.multi/hello.c (commonfun): Likewise.
31 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
32 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
33 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
34 Likewise.
35 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
36 * gdb.threads/interrupt-while-step-over.c (child_function):
37 Likewise.
38 * gdb.trace/actions-changed.c (end): Likewise.
39
163df4df
GB
402020-05-15 Gary Benson <gbenson@redhat.com>
41
42 * gdb.opencl/callfuncs.exp: Report when test skipped.
43 * gdb.opencl/convs_casts.exp: Likewise.
44 * gdb.opencl/datatypes.exp: Likewise.
45 * gdb.opencl/operators.exp: Likewise.
46 * gdb.opencl/vec_comps.exp: Likewise.
47
6dbc505a
TV
482020-05-15 Tom de Vries <tdevries@suse.de>
49
50 * gdb.base/align.exp.in: Rename to ...
51 * gdb.base/align.exp.tcl: ... this.
52 * gdb.base/align-c++.exp: Update.
53 * gdb.base/align-c.exp: Update.
54 * gdb.base/all-architectures.exp.in: Rename to ...
55 * gdb.base/all-architectures.exp: ... this.
56 * gdb.base/all-architectures-0.exp: Update.
57 * gdb.base/all-architectures-1.exp: Update.
58 * gdb.base/all-architectures-2.exp: Update.
59 * gdb.base/all-architectures-3.exp: Update.
60 * gdb.base/all-architectures-4.exp: Update.
61 * gdb.base/all-architectures-5.exp: Update.
62 * gdb.base/all-architectures-6.exp: Update.
63 * gdb.base/all-architectures-7.exp: Update.
64 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
65 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
66 * gdb.base/infcall-nested-structs-c++.exp: Update.
67 * gdb.base/infcall-nested-structs-c.exp: Update.
68 * gdb.base/info-types.exp.in: Rename to ...
69 * gdb.base/info-types.exp.tcl: ... this.
70 * gdb.base/info-types-c++.exp: Update.
71 * gdb.base/info-types-c.exp: Update.
72 * gdb.base/max-depth.exp.in: Rename to ...
73 * gdb.base/max-depth.exp.tcl: ... this.
74 * gdb.base/max-depth-c++.exp: Update.
75 * gdb.base/max-depth-c.exp: Update.
76 * gdb.cp/cpexprs.exp.in: Rename to ...
77 * gdb.cp/cpexprs.exp.tcl: ... this.
78 * gdb.cp/cpexprs-debug-types.exp: Update.
79 * gdb.cp/cpexprs.exp: Update.
80 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
81 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
82 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
83 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
84 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
85 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
86 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
87 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
88 * gdb.dwarf2/clang-debug-names-2.exp: Update.
89 * gdb.dwarf2/clang-debug-names.exp: Update.
90
d1034d78
AB
912020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
92
93 * lib/check-test-names.exp: Remove code that prevents this file
94 loading when tests are run in parallel.
95
3c5c3649
PA
962020-05-15 Pedro Alves <palves@redhat.com>
97
98 * gdb.multi/multi-kill.exp (start_inferior): Remove
99 'testpid' parameter. Refer to namespace variable directly.
100 (testpid): Declare as namespace variable.
101
272c36b8
PA
1022020-05-15 Pedro Alves <palves@redhat.com>
103
104 * gdb.multi/multi-kill.exp: Wrap in namespace.
105 (start_inferior): Add TESTPID parameter. Use it instead of the
106 testpid global.
107 (top level): Define empty TESTPID array, and pass it down to
108 start_inferior.
109
02eba61a
TV
1102020-05-14 Tom de Vries <tdevries@suse.de>
111
112 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
113 output.
114
971a3747
TV
1152020-05-14 Tom de Vries <tdevries@suse.de>
116
117 * gdb.base/align.exp: Split into ...
118 * gdb.base/align.exp.in: ...
119 * gdb.base/align-c++.exp: ...
120 * gdb.base/align-c.exp: ... these.
121 * gdb.base/infcall-nested-structs.exp: Split into ...
122 * gdb.base/infcall-nested-structs.exp.in: ...
123 * gdb.base/infcall-nested-structs-c++.exp: ...
124 * gdb.base/infcall-nested-structs-c.exp: ... these.
125 * gdb.base/info-types.exp: Split into ...
126 * gdb.base/info-types.exp.in: ...
127 * gdb.base/info-types-c++.exp: ...
128 * gdb.base/info-types-c.exp: ... these.
129 * gdb.base/max-depth.exp: Split into ...
130 * gdb.base/max-depth.exp.in: ...
131 * gdb.base/max-depth-c++.exp: ...
132 * gdb.base/max-depth-c.exp: ... these.
133 * gdb.cp/infcall-nodebug.exp: Split into ...
134 * gdb.cp/infcall-nodebug.exp.in: ...
135 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
136 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
137 * gdb.cp/infcall-nodebug-c-d0.exp: ...
138 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
139
a05575d3
TBA
1402020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
141 Pedro Alves <palves@redhat.com>
142
143 * gdb.multi/multi-exit.c: New file.
144 * gdb.multi/multi-exit.exp: New file.
145 * gdb.multi/multi-kill.c: New file.
146 * gdb.multi/multi-kill.exp: New file.
147
6ad82919
TBA
1482020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
149
150 * gdb.base/annota1.exp: Update the expected output.
151 * gdb.cp/annota2.exp: Ditto.
152
843f4d93
AB
1532020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
154
155 * lib/check-test-names.exp: Disable when testing is being run in
156 parallel.
157
c7c66341
TV
1582020-05-12 Tom de Vries <tdevries@suse.de>
159
160 * gdb.base/jit-elf.exp: Fix string concat.
161
1b59ca1c
TV
1622020-05-12 Tom de Vries <tdevries@suse.de>
163
164 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
165 messages.
166
b4991d29
TV
1672020-05-12 Tom de Vries <tdevries@suse.de>
168
169 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
170
dbb0ab10
TV
1712020-05-12 Tom de Vries <tdevries@suse.de>
172
173 * gdb.ada/catch_ex.exp: Use with_test_prefix.
174 * gdb.ada/mi_catch_ex.exp: Same.
175 * gdb.ada/mi_catch_ex_hand.exp: Same.
176
7549fed8
TV
1772020-05-12 Tom de Vries <tdevries@suse.de>
178
179 * gdb.fortran/complex.exp: Use with_test_prefix.
180
af2d5cd8
TV
1812020-05-12 Tom de Vries <tdevries@suse.de>
182
183 * gdb.trace/passcount.exp: Fix test-names.
184
7c121311
TV
1852020-05-12 Tom de Vries <tdevries@suse.de>
186
187 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
188
c9f3b40e
TV
1892020-05-12 Tom de Vries <tdevries@suse.de>
190
191 * gdb.gdb/complaints.exp: Use with_test_prefix.
192 * gdb.xml/tdesc-regs.exp: Same.
193 * gdb.opt/inline-locals.exp: Fix test name.
194
111b33f0
TV
1952020-05-12 Tom de Vries <tdevries@suse.de>
196
197 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
198 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
199 * gdb.dwarf2/implref-struct.exp: Same.
200 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
201 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
202
ebf47080
SM
2032020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
204
205 * gdb.base/jit-so.exp (one_jit_test): Change test name.
206
d30dcd12
AB
2072020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
208
209 * lib/check-test-names.exp (all_test_names): New module variable.
210 (counts): Add 'duplicates' field.
211 (_check_duplicates): New procedure.
212 (check): Also check for duplicates.
213 (do_log_summary): Print duplicates count.
214 (do_reset_vars): Reset counter for duplicate test names, and
215 discard all know test names.
216
34584c09
AB
2172020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
218
219 * lib/gdb.exp: Include check-test-names.exp library.
220 * lib/check-test-names.exp: New file.
221
e0002117
TV
2222020-05-11 Tom de Vries <tdevries@suse.de>
223
224 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
225
53f539a3
KS
2262020-05-11 Keith Seitz <keiths@redhat.com>
227
228 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
229
113ee09a
TV
2302020-05-11 Tom de Vries <tdevries@suse.de>
231
232 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
233 * gdb.cp/cpexprs.exp.in: .. here.
234 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
235 cpexprs.exp.
236
ba3e70b0
KS
2372020-05-11 Keith Seitz <keiths@redhat.com>
238
239 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
240 test names.
241 * gdb.ada/arrayptr.exp: Likewise.
242 * gdb.ada/assign_arr.exp: Likewise.
243 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
244 * gdb.ada/bp_on_var.exp: Likewise.
245 * gdb.ada/call_pn.exp: Likewise.
246 * gdb.ada/complete.exp: Likewise.
247 * gdb.ada/fun_overload_menu.exp: Likewise.
248 * gdb.ada/funcall_param.exp: Likewise.
249 * gdb.ada/funcall_ref.exp: Likewise.
250 * gdb.ada/packed_array_assign.exp: Likewise.
251 * gdb.ada/same_component_name.exp: Likewise.
252 * gdb.ada/type_coercion.exp: Likewise.
253 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
254 * gdb.ada/variant_record_packed_array.exp: Likewise.
255
3ee6bb11
TV
2562020-05-11 Tom de Vries <tdevries@suse.de>
257
258 PR symtab/25941
259 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
260 out of ...
261 * gdb.dwarf2/clang-debug-names.exp: ... here.
262 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
263 clang-debug-names.exp.in.
264 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
265 * gdb.dwarf2/clang-debug-names-2.c: New test.
266
86cd6bc8
AKS
2672020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
268
269 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
270 (fortran_runto_main): New Proc, fortran version of runto_main.
271 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
272 * gdb.fortran/array-bounds.exp: Likewise.
273 * gdb.fortran/array-slices.exp: Likewise.
274 * gdb.fortran/block-data.exp: Likewise.
275 * gdb.fortran/charset.exp: Likewise.
276 * gdb.fortran/common-block.exp: Likewise.
277 * gdb.fortran/complex.exp: Likewise.
278 * gdb.fortran/derived-type-function.exp: Likewise.
279 * gdb.fortran/derived-type.exp: Likewise.
280 * gdb.fortran/info-modules.exp: Likewise.
281 * gdb.fortran/info-types.exp: Likewise.
282 * gdb.fortran/intrinsics.exp: Likewise.
283 * gdb.fortran/library-module.exp: Likewise.
284 * gdb.fortran/logical.exp: Likewise.
285 * gdb.fortran/max-depth.exp: Likewise.
286 * gdb.fortran/module.exp: Likewise.
287 * gdb.fortran/multi-dim.exp: Likewise.
288 * gdb.fortran/nested-funcs.exp: Likewise.
289 * gdb.fortran/print-formatted.exp: Likewise.
290 * gdb.fortran/print_type.exp: Likewise.
291 * gdb.fortran/printing-types.exp: Likewise.
292 * gdb.fortran/ptr-indentation.exp: Likewise.
293 * gdb.fortran/ptype-on-functions.exp: Likewise.
294 * gdb.fortran/subarray.exp: Likewise.
295 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
296 * gdb.fortran/vla-datatypes.exp: Likewise.
297 * gdb.fortran/vla-history.exp: Likewise.
298 * gdb.fortran/vla-ptr-info.exp: Likewise.
299 * gdb.fortran/vla-ptype-sub.exp: Likewise.
300 * gdb.fortran/vla-ptype.exp: Likewise.
301 * gdb.fortran/vla-sizeof.exp: Likewise.
302 * gdb.fortran/vla-type.exp: Likewise.
303 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
304 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
305 * gdb.fortran/vla-value-sub.exp: Likewise.
306 * gdb.fortran/vla-value.exp: Likewise.
307 * gdb.fortran/whatis_type.exp: Likewise.
308 * gdb.mi/mi-var-child-f.exp: Likewise.
309
6dc55ce9 3102020-05-09 Tom de Vries <tdevries@suse.de>
311
312 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
313
283cb58c
TV
3142020-05-08 Tom de Vries <tdevries@suse.de>
315
316 * gdb.dwarf2/clang-debug-names.c: New test.
317 * gdb.dwarf2/clang-debug-names.exp: New file.
318
ac4a4f1c
SM
3192020-05-06 Simon Marchi <simon.marchi@efficios.com>
320
321 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
322 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
323
24fe640b
TV
3242020-05-06 Tom de Vries <tdevries@suse.de>
325
326 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
327 breakpoint is at a "recommended breakpoint location".
328 * gdb.reverse/consecutive-reverse.exp: Same.
329
0d8683a3
TV
3302020-05-06 Tom de Vries <tdevries@suse.de>
331
332 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
333 address.
334
b8983c46
TV
3352020-05-06 Tom de Vries <tdevries@suse.de>
336
337 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
338
abf6d805
TV
3392020-05-06 Tom de Vries <tdevries@suse.de>
340
341 * gdb.base/store.exp (check_set, up_set): Allowing missing location
342 info for r.
343
0fc2a808
TV
3442020-05-06 Tom de Vries <tdevries@suse.de>
345
346 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
347 necessary.
348
873dd427
TV
3492020-05-06 Tom de Vries <tdevries@suse.de>
350
351 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
352 void.
353
7c99e7e2
TV
3542020-05-06 Tom de Vries <tdevries@suse.de>
355
356 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
357 of ...
358 * gdb.base/async.exp: ... here.
359 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
360 "recommended breakpoint location".
361
6173d6a6
TV
3622020-05-06 Tom de Vries <tdevries@suse.de>
363
364 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
365
6015a067
TV
3662020-05-04 Tom de Vries <tdevries@suse.de>
367
368 * gdb.base/async.exp: Check whether instruction addresses are a
369 "recommended breakpoint location".
370
3b6acaee
TT
3712020-05-03 Tom Tromey <tom@tromey.com>
372
373 * gdb.base/sepdebug.exp: Remove "catch" test.
374 * gdb.base/break.exp: Remove "catch" test.
375 * gdb.base/default.exp: Update expected output.
376
5beb4d17
TV
3772020-05-02 Tom de Vries <tdevries@suse.de>
378
379 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
380 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
381 * gdb.arch/i386-mpx-map.exp: Same.
382 * gdb.arch/i386-mpx-sigsegv.exp: Same.
383 * gdb.arch/i386-mpx-simple_segv.exp: Same.
384 * gdb.arch/i386-mpx.exp: Same.
385
8caf140d
TV
3862020-05-02 Tom de Vries <tdevries@suse.de>
387
388 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
389
693196cb
TV
3902020-05-01 Tom de Vries <tdevries@suse.de>
391
392 * gdb.ada/operator_bp.exp: Allow more than required amount of
393 breakpoint.
394
53ae0aa9
TV
3952020-05-01 Tom de Vries <tdevries@suse.de>
396
397 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
398
ee9d1e5f
HD
3992020-04-30 Hannes Domani <ssbssa@yahoo.de>
400
401 PR gdb/18706
402 * gdb.cp/stub-array-size.cc: New test.
403 * gdb.cp/stub-array-size.exp: New file.
404 * gdb.cp/stub-array-size.h: New test.
405 * gdb.cp/stub-array-size2.cc: New test.
406
d5cf82c0
HD
4072020-04-30 Hannes Domani <ssbssa@yahoo.de>
408
409 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
410 output to the new format.
411
42e165c3
SM
4122020-04-29 Simon Marchi <simon.marchi@efficios.com>
413
414 * gdb.base/break.exp: Use with_test_prefix.
415
6e4e3fe1
TV
4162020-04-29 Tom de Vries <tdevries@suse.de>
417
418 * lib/gdb.exp (debug_types): New proc.
419 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
420 * gdb.python/py-symtab.exp: Same.
421
d642b692
HD
4222020-04-29 Hannes Domani <ssbssa@yahoo.de>
423
424 PR gdb/17320
425 * gdb.base/pretty-array.c: New test.
426 * gdb.base/pretty-array.exp: New file.
427
ea90f227
TV
4282020-04-29 Tom de Vries <tdevries@suse.de>
429
430 PR symtab/25889
431 * gdb.cp/cpexprs.exp: Adapt for inclusion.
432 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
433 and include cpexprs.exp.
434
a65189c9
TV
4352020-04-28 Mark Williams <mark@myosotissp.com>
436
437 PR gdb/24480
438 * dw4-toplevel-types.exp: Test for top level types.
439 * dw4-toplevel-types.cc: Test for top level types.
440
32d1f47a
TBA
4412020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
442
443 * gdb.threads/stop-with-handle.exp: Fix typo in comment
444 (theads -> threads).
445
56a4f5a1
TV
4462020-04-28 Tom de Vries <tdevries@suse.de>
447
448 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
449
0b2f8a3b
TV
4502020-04-28 Tom de Vries <tdevries@suse.de>
451
452 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
453
5390c717
TV
4542020-04-28 Tom de Vries <tdevries@suse.de>
455
456 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
457
15cd93d0
TV
4582020-04-28 Tom de Vries <tdevries@suse.de>
459
460 * gdb.dwarf2/main-foo.c: New test.
461 * gdb.dwarf2/struct-with-sig.exp: New file.
462
d472f0fb
TV
4632020-04-25 Tom de Vries <tdevries@suse.de>
464
465 * boards/debug-types.exp: New file.
466
8d840e05
AB
4672020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
468
469 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
470
bcfe6157
TT
4712020-04-24 Tom Tromey <tom@tromey.com>
472
473 PR symtab/12707:
474 * gdb.python/py-symbol.exp: Update expected results for
475 linkage_name test.
476 * gdb.cp/print-demangle.exp: New file.
477 * gdb.base/c-linkage-name.exp: Fix test.
478 * gdb.guile/scm-symbol.exp: Update expected results for
479 linkage_name test.
480
f049a313
TT
4812020-04-24 Tom Tromey <tom@tromey.com>
482
483 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
484 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
485 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
486 assembler.
487
7cf28874
TV
4882020-04-24 Tom de Vries <tdevries@suse.de>
489
490 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
491 C++.
492
dac2fef7
TT
4932020-04-24 Tom Tromey <tromey@adacore.com>
494
495 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
496 values.
497 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
498 values. Update test for minimal encodings.
499 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
500 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
501 values. Update test for minimal encodings.
502
1acda803
TT
5032020-04-24 Tom Tromey <tromey@adacore.com>
504
505 PR python/23662:
506 * gdb.ada/variant.exp: Add Python checks.
507 * gdb.rust/simple.exp: Add dynamic type checks.
508
adfb9815
TT
5092020-04-24 Tom Tromey <tromey@adacore.com>
510
511 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
512 Make array type matching more lax.
513 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
514 * gdb.ada/mi_variant.exp: New file.
515 * gdb.ada/mi_variant/pck.ads: New file.
516 * gdb.ada/mi_variant/pkg.adb: New file.
517 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
518 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
519
7d79de9a
TT
5202020-04-24 Tom Tromey <tromey@adacore.com>
521
522 * gdb.ada/variant.exp: Add dynamic field offset tests.
523 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
524 * gdb.ada/variant/pkg.adb: Add new variables.
525
f8e89861
TT
5262020-04-24 Tom Tromey <tromey@adacore.com>
527
528 * gdb.ada/variant.exp: New file
529 * gdb.ada/variant/pkg.adb: New file
530 * gdb.ada/variant/pck.adb: New file
531
86e887ae
TV
5322020-04-24 Tom de Vries <tdevries@suse.de>
533
534 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
535
88428775
TV
5362020-04-24 Tom de Vries <tdevries@suse.de>
537
538 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
539 flags.
540
4e86f6e7
TV
5412020-04-24 Tom de Vries <tdevries@suse.de>
542
543 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
544
2016d3e6
TV
5452020-04-24 Tom de Vries <tdevries@suse.de>
546
547 * lib/gdb.exp (default_gdb_start): Handle eof.
548 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
549 failure.
550 * gdb.base/readnever.exp: Handle clean_restart failure.
551
70bc38f5
TV
5522020-04-23 Tom de Vries <tdevries@suse.de>
553
554 * gdb.base/decl-before-def.exp: Run to main and print a again.
555
de82891c
TV
5562020-04-23 Tom de Vries <tdevries@suse.de>
557
558 * gdb.base/decl-before-def-decl.c: New test.
559 * gdb.base/decl-before-def-def.c: New test.
560 * gdb.base/decl-before-def.exp: New file.
561
96038148
TV
5622020-04-23 Tom de Vries <tdevries@suse.de>
563
564 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
565
54ac3df1
TV
5662020-04-22 Tom de Vries <tdevries@suse.de>
567
568 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
569 debug_info_offset.
570 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
571 before $objsfile in the line line.
572
714534e1
TV
5732020-04-22 Tom de Vries <tdevries@suse.de>
574
575 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
576
16a7dbf4
MS
5772020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
578
579 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
580 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
581 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
582 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
583 * gdb.base/jit-protocol.h: Update definitions to match all usage
584 contexts.
585
5862020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
587
588 * gdb.base: Rename all jit related test and source files.
589
5902020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
591
592 * gdb.base/jit-reader.exp: Relax register output check.
593
317d2668
TV
5942020-04-22 Tom de Vries <tdevries@suse.de>
595
596 PR symtab/25764
597 * gdb.base/psym-external-decl-2.c: New test.
598 * gdb.base/psym-external-decl.c: New test.
599 * gdb.base/psym-external-decl.exp: New file.
600 * gdb.threads/tls.exp: Add PR25807 kfail.
601
eea9e357
TV
6022020-04-22 Tom de Vries <tdevries@suse.de>
603
604 PR symtab/25801
605 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
606 in "info source" output.
607
3d5afab3
TV
6082020-04-22 Tom de Vries <tdevries@suse.de>
609
610 PR symtab/25700
611 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
612 symtab for imported_unit.c.
613
b32102f6
GB
6142020-04-21 Gary Benson <gbenson@redhat.com>
615
616 * gdb.base/advance.c (func): New argument, to match call site.
617 (func2, func3): Add return statements.
618
d43b7a2d
TBA
6192020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
620
621 * gdb.multi/run-only-second-inf.c: New file.
622 * gdb.multi/run-only-second-inf.exp: New file.
623
d89edf9b
MM
6242020-04-21 Markus Metzger <markus.t.metzger@intel.com>
625
626 * gdb.btrace/multi-inferior.c: New test.
627 * gdb.btrace/multi-inferior.exp: New file.
628
1a476b6d
MM
6292020-04-21 Markus Metzger <markus.t.metzger@intel.com>
630
631 * gdb.btrace/enable-new-thread.c: New test.
632 * gdb.btrace/enable-new-thread.exp: New file.
633
4778a5f8
TV
6342020-04-21 Tom de Vries <tdevries@suse.de>
635
636 PR gdb/25471
637 * gdb.threads/killed-outside.c: New test.
638 * gdb.threads/killed-outside.exp: New file.
639
9b2c992c
GB
6402020-04-20 Gary Benson <gbenson@redhat.com>
641
642 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
643 * gdb.base/nested-subp2.exp: Likewise.
644 * gdb.base/nested-subp3.exp: Likewise.
645
b5d1d6f7
GB
6462020-04-20 Gary Benson <gbenson@redhat.com>
647
648 * gdb.base/nested-subp1.exp: Disable test when using clang.
649 * gdb.base/nested-subp2.exp: Likewise.
650 * gdb.base/nested-subp3.exp: Likewise.
651
25230285
GB
6522020-04-20 Gary Benson <gbenson@redhat.com>
653
654 * gdb.cp/exception.cc: Fix compilation error with clang.
655
fa93cc8f
GB
6562020-04-20 Gary Benson <gbenson@redhat.com>
657
809730f3 658 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 659
e0c45f30
GB
6602020-04-20 Gary Benson <gbenson@redhat.com>
661
662 * gdb.base/jit-main.c: Fix compilation error with clang.
663
4ddfec93
KR
6642020-04-17 Kamil Rytarowski <n54@gmx.com>
665
666 * gdb.base/attach-twice.c: Include "sys/types.h".
667 (PTRACE_ATTACH): Add fallback definition.
668 (main): Pass `0' to the 4th argument of `ptrace'.
669
2bed205e
KR
6702020-04-17 Kamil Rytarowski <n54@gmx.com>
671
672 * gdb.base/fork-running-state.c: Include "signal.h".
673
0743fc83
TT
6742020-04-17 Tom Tromey <tromey@adacore.com>
675
676 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
677 Update tests.
678 * gdb.btrace/cpu.exp: Update tests.
679 * gdb.base/maint.exp: Update tests.
680 * gdb.base/default.exp: Update tests.
681 * gdb.base/completion.exp: Update tests.
682
efba5c23
TV
6832020-04-16 Tom de Vries <tdevries@suse.de>
684
685 PR symtab/25791
686 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
687 (ensure_gdb_index): and factor out and move ...
688 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
689 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
690
d191d716
TV
6912020-04-16 Tom de Vries <tdevries@suse.de>
692
693 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
694 loading exec.
695
99f1bc6a
AB
6962020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
697
698 * gdb.base/many-completions.exp: New file.
699
194d088f
TV
7002020-04-14 Tom de Vries <tdevries@suse.de>
701
702 PR symtab/25718
703 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
704
c1a66c06
TV
7052020-04-14 Tom de Vries <tdevries@suse.de>
706
707 PR symtab/25720
708 * gdb.base/maint-expand-symbols-header-file.c: New test.
709 * gdb.base/maint-expand-symbols-header-file.exp: New file.
710 * gdb.base/maint-expand-symbols-header-file.h: New test.
711
21b0982c
AB
7122020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
713
714 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
715 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
716 get_func_info.
717 (get_func_info): Delete.
718 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
719 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
720 * lib/dwarf.exp (get_func_info): New function.
721
dd1cab06
TV
7222020-04-13 Tom de Vries <tdevries@suse.de>
723
724 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
725 to what find_gnatmake does.
726
71ea2b6b
TV
7272020-04-10 Tom de Vries <tdevries@suse.de>
728
729 * gdb.base/style.exp: Expect "Expanding full symbols" message for
730 -readnow.
731
bdfc1e8a
TV
7322020-04-10 Tom de Vries <tdevries@suse.de>
733
734 PR cli/25808
735 * gdb.base/style.c: Add leading newlines.
736 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
737 Check listing of main's one-line body.
738
14ca8ecf
TV
7392020-04-08 Tom de Vries <tdevries@suse.de>
740
741 * lib/gdb.exp (psymtabs_p): New proc.
742 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
743 importing unit" unsupported if there are no partial symbols.
744
e21d048f
TV
7452020-04-08 Tom de Vries <tdevries@suse.de>
746
747 PR testsuite/25760
748 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
749
25c11aca
TV
7502020-04-07 Tom de Vries <tdevries@suse.de>
751
752 PR symtab/25796
753 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
754
5707e24b
TV
7552020-04-07 Tom de Vries <tdevries@suse.de>
756
757 * gdb.base/check-psymtab.c: New test.
758 * gdb.base/check-psymtab.exp: New file.
759
6ee448cc
TT
7602020-04-06 Tom Tromey <tromey@adacore.com>
761
762 * gdb.ada/variant-record/proc.adb: New file.
763 * gdb.ada/variant-record/value.adb: New file.
764 * gdb.ada/variant-record/value.s: New file.
765 * gdb.ada/variant-record.exp: New file.
766
9e7c9a03
HD
7672020-04-03 Hannes Domani <ssbssa@yahoo.de>
768
769 PR gdb/25325
770 * gdb.cp/typed-enum.cc: New test.
771 * gdb.cp/typed-enum.exp: New file.
772
c90d28ac
AB
7732020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
774
775 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
776 * gdb.dwarf2/dw2-inline-small-func.c: New file.
777 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
778 * gdb.dwarf2/dw2-inline-small-func.h: New file.
779 * gdb.opt/inline-small-func.c: New file.
780 * gdb.opt/inline-small-func.exp: New file.
781 * gdb.opt/inline-small-func.h: New file.
782
34e9a9fa
AB
7832020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
784
785 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
786 function.
787
6a354911
AB
7882020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
789
790 * lib/dwarf.exp (function_range): Allow compiler options to be
791 specified.
792
880d9777
TV
7932020-04-02 Tom de Vries <tdevries@suse.de>
794
795 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
796 __attribute__((always_inline)).
797 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
798
f32682ea
TV
7992020-04-02 Tom de Vries <tdevries@suse.de>
800
801 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
802 (gdbserver_gdb_exit): ... here. Add timeout warning.
803 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
804 (connect_target_extended_remote): Append new server_spawn_id to
805 server_spawn_ids.
806 (cleanup): New proc.
807 (setup, <toplevel>): Call cleanup.
808
d3214198
TV
8092020-04-02 Tom de Vries <tdevries@suse.de>
810
811 * gdb.base/main-psymtab.exp: New file.
812
cc77ed24
TV
8132020-04-02 Tom de Vries <tdevries@suse.de>
814
815 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
816
3638a098
TT
8172020-04-01 Tom Tromey <tom@tromey.com>
818
819 * gdb.base/complex-parts.exp: Add type tests.
820
c34e8714
TT
8212020-04-01 Tom Tromey <tom@tromey.com>
822
823 * gdb.base/complex-parts.exp: Add arithmetic tests.
824
981c08ce
TT
8252020-04-01 Tom Tromey <tom@tromey.com>
826
827 * gdb.compile/compile.exp: Update.
828 * gdb.compile/compile-cplus.exp: Update.
829 * gdb.base/varargs.exp: Update.
830 * gdb.base/floatn.exp: Update.
831 * gdb.base/endianity.exp: Update.
832 * gdb.base/callfuncs.exp (do_function_calls): Update.
833 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
834 (complex_float_integral_args): Update.
835 * gdb.base/complex.exp: Update.
836 * gdb.base/complex-parts.exp: Update.
837
3d1cfd43
TT
8382020-04-01 Tom Tromey <tromey@adacore.com>
839
840 * gdb.rust/union.rs: New file.
841 * gdb.rust/union.exp: New file.
842 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
843 (main): Update.
844 * gdb.rust/simple.exp: Move union tests to union.exp.
845
e033dfa9
TT
8462020-04-01 Tom Tromey <tromey@adacore.com>
847
848 * gdb.rust/simple.rs (main): Remove "y0".
849
53cccef1
TBA
8502020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
851
852 * gdb.multi/stop-all-on-exit.c: New test.
853 * gdb.multi/stop-all-on-exit.exp: New file.
854
60e22c1e
HD
8552020-04-01 Hannes Domani <ssbssa@yahoo.de>
856
857 PR gdb/24789
858 * gdb.cp/misc.cc: Add integer reference variable.
859 * gdb.cp/misc.exp: Add test.
860
e139a727
TBA
8612020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
862
863 * gdb.server/stop-reply-no-thread.exp: Enhance the test
864 scenario to cover execution until the end and also the case
865
16b0db75
TV
8662020-03-31 Tom de Vries <tdevries@suse.de>
867
868 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
869 c. Use "maint info symtabs" to check symtab expansion.
870
c0502da6
TV
8712020-03-30 Tom de Vries <tdevries@suse.de>
872
873 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
874 unsupported.
875 (verify_psymtab_expanded): Move ...
876 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
877 test.
878 (readnow): New proc.
879
5935fd15
AB
8802020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
881
882 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
883 with $hex.
884
1773be9e
TT
8852020-03-20 Tom Tromey <tromey@adacore.com>
886
887 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
888
70304be9
TT
8892020-03-20 Tom Tromey <tromey@adacore.com>
890
891 * gdb.ada/sub_variant/subv.adb: New file.
892 * gdb.ada/sub_variant.exp: New file.
893
0dd7b8f7
TV
8942020-03-20 Tom de Vries <tdevries@suse.de>
895
896 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
897 first break fails.
898 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
899
cada5fc9
AB
9002020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
901
902 * gdb.server/exit-multiple-threads.c: New file.
903 * gdb.server/exit-multiple-threads.exp: New file.
904
6b8c53f2
AB
9052020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
906
907 * gdb.fortran/mixed-lang-stack.c: New file.
908 * gdb.fortran/mixed-lang-stack.cpp: New file.
909 * gdb.fortran/mixed-lang-stack.exp: New file.
910 * gdb.fortran/mixed-lang-stack.f90: New file.
911
19a2740f
AB
9122020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
913
914 * gdb.linespec/cp-completion-aliases.cc: New file.
915 * gdb.linespec/cp-completion-aliases.exp: New file.
916
d8c8b848
TV
9172020-03-19 Tom de Vries <tdevries@suse.de>
918
919 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
920 more precise.
921
a9933ccf
TV
9222020-03-18 Tom de Vries <tdevries@suse.de>
923
924 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
925 * gdb.dwarf2/break-inline-psymtab.c: New test.
926 * gdb.dwarf2/break-inline-psymtab.exp: New file.
927
2f89101f
TV
9282020-03-16 Tom de Vries <tdevries@suse.de>
929
930 * lib/cache.exp (gdb_do_cache): Add and handle local variables
931 cache_verify and cache_verify_proc.
932
6b9374f1
TV
9332020-03-15 Tom de Vries <tdevries@suse.de>
934
935 * gdb.server/solib-list.exp: Handle
936 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
937
eaeaf44c
TV
9382020-03-15 Tom de Vries <tdevries@suse.de>
939
940 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
941 objfiles".
942
3293bbaf
TT
9432020-03-14 Tom Tromey <tom@tromey.com>
944
945 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
946
ab44624c
TV
9472020-03-14 Tom de Vries <tdevries@suse.de>
948
949 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
950
54c43825
TV
9512020-03-14 Tom de Vries <tdevries@suse.de>
952
953 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
954 result in line-by-line fashion.
955
2ac70237
TV
9562020-03-14 Tom de Vries <tdevries@suse.de>
957
958 * lib/gdb.exp (supports_statement_frontiers): New proc.
959 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
960
09546b56
TV
9612020-03-14 Tom de Vries <tdevries@suse.de>
962
963 * gdb.base/printcmds.exp: Add missing quoting for "print
964 teststring2".
965
a1f6a07c
TT
9662020-03-13 Tom Tromey <tom@tromey.com>
967
968 * gdb.base/printcmds.exp (test_print_strings): Add regression
969 test.
970 * gdb.base/printcmds.c (charptr): New typedef.
971 (teststring2): New global.
972
1b83d09c
AB
9732020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
974
975 * gdb.base/break-interp.exp: Use the tail of the filename, not the
976 full path in the test name.
977 (test_ld): Add some with_test_prefix blocks to make test names
978 unique.
979
2d61316c
TV
9802020-03-13 Tom de Vries <tdevries@suse.de>
981
982 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
983
2e9145ac
TV
9842020-03-13 Tom de Vries <tdevries@suse.de>
985
986 * gdb.mi/mi-sym-info.exp: Make matching more precise.
987
96c7f873
TV
9882020-03-13 Tom de Vries <tdevries@suse.de>
989
990 PR symtab/25646
991 * gdb.dwarf2/imported-unit.exp: Add test.
992
49ba92c0
TV
9932020-03-13 Tom de Vries <tdevries@suse.de>
994
995 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
996 (var1, var2): New variable.
997 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
998 matching symbols.
999
301b21e0
TV
10002020-03-13 Tom de Vries <tdevries@suse.de>
1001
1002 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
1003 (Term::command): Use prompt prefix.
1004 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
1005 * gdb.tui/tui-layout-asm-short-prog.exp: Use
1006 command_no_prompt_prefix instead of prefix.
1007 * gdb.tui/tui-layout-asm.exp: Same.
1008
3f512721
SM
10092020-03-12 Simon Marchi <simon.marchi@efficios.com>
1010
1011 * gdb.base/break-interp.exp: Use foreach_with_prefix.
1012
40310f30
SM
10132020-03-12 Simon Marchi <simon.marchi@efficios.com>
1014
1015 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
1016 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
1017 on" while stepping over the test instruction, match printed
1018 message.
1019
09252140
TV
10202020-03-12 Tom de Vries <tdevries@suse.de>
1021
1022 * gdb.base/info-types.exp: Use exp_continue during matching of output
1023 of "info types".
1024
14e9c72c
TV
10252020-03-12 Tom de Vries <tdevries@suse.de>
1026
1027 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
1028
e515d67e
TV
10292020-03-12 Tom de Vries <tdevries@suse.de>
1030
1031 * gdb.fortran/module.exp: Use exp_continue during matching of output
1032 of "info variable -n".
1033
307eafd8
TV
10342020-03-12 Tom de Vries <tdevries@suse.de>
1035
1036 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
1037 gdb.dwarf2/dw2-ranges-base.c.
1038
9a2de3fc
TV
10392020-03-12 Tom de Vries <tdevries@suse.de>
1040
1041 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
1042 in presence of GLIBC debuginfo.
1043
3217502e
TV
10442020-03-12 Tom de Vries <tdevries@suse.de>
1045
1046 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
1047 $core.
1048
1281424c
TV
10492020-03-12 Tom de Vries <tdevries@suse.de>
1050
1051 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
1052 more precise.
1053
038b97fc
SM
10542020-03-11 Simon Marchi <simon.marchi@efficios.com>
1055
1056 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
1057 from Unix to Windows path.
1058
5308d1e7
TV
10592020-03-11 Tom de Vries <tdevries@suse.de>
1060
1061 * gdb.ada/minsyms.exp: Set language to ada.
1062
f870f78f
TV
10632020-03-11 Tom de Vries <tdevries@suse.de>
1064
1065 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
1066
5a13315d
TV
10672020-03-11 Tom de Vries <tdevries@suse.de>
1068
1069 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
1070
976862ed
TT
10712020-03-11 Tom Tromey <tromey@adacore.com>
1072
1073 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
1074
7462c383
TV
10752020-03-11 Tom de Vries <tdevries@suse.de>
1076
1077 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
1078
1c6c46a0
TV
10792020-03-11 Tom de Vries <tdevries@suse.de>
1080
1081 * gdb.base/break-interp.exp: Limit verbose scope.
1082
44f41bb7
TV
10832020-03-11 Tom de Vries <tdevries@suse.de>
1084
1085 * gdb.fortran/logical.f90: Define variable with character type.
1086 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
1087
b76f3a42
TV
10882020-03-11 Tom de Vries <tdevries@suse.de>
1089
1090 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
1091
1c33af77
TV
10922020-03-11 Tom de Vries <tdevries@suse.de>
1093
1094 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
1095 symtabs.
1096
8c95582d
AB
10972020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1098 Bernd Edlinger <bernd.edlinger@hotmail.de>
1099
1100 * gdb.cp/step-and-next-inline.cc: New file.
1101 * gdb.cp/step-and-next-inline.exp: New file.
1102 * gdb.cp/step-and-next-inline.h: New file.
1103 * gdb.dwarf2/dw2-is-stmt.c: New file.
1104 * gdb.dwarf2/dw2-is-stmt.exp: New file.
1105 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
1106 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
1107 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
1108
cecf8547
AB
11092020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1110
1111 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
1112 is-stmt flag in the line table.
1113
0ba678c9
TV
11142020-03-09 Tom de Vries <tdevries@suse.de>
1115
1116 * lib/gdb.exp (cached_file): Create cache dir.
1117
72fbdf83
TV
11182020-03-07 Tom de Vries <tdevries@suse.de>
1119
1120 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
1121 * gdb.cp/rvalue-ref-params.exp: Same.
1122
436b5e99
TV
11232020-03-06 Tom de Vries <tdevries@suse.de>
1124
1125 * lib/gdb.exp (tentative_rename, cached_file): New proc.
1126 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
1127
09f2921c
TV
11282020-03-06 Tom de Vries <tdevries@suse.de>
1129
1130 * README: Fix "the the".
1131 * gdb.base/dprintf.exp: Same.
1132
50a3cc5d
TV
11332020-03-05 Tom de Vries <tdevries@suse.de>
1134
1135 * gdb.base/maint.exp: Update "main print statistics" expected output.
1136
0a709cba
AKS
11372020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1138
1139 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
1140 (fortran_int8): Likewise.
1141 (fortran_real4): Likewise.
1142 (fortran_real8): Likewise.
1143 (fortran_complex4): Likewise.
1144 (fortran_logical4): Likewise.
1145 (fortran_character1): Likewise.
1146
5e5d66b6
AB
11472020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
1148
1149 * gdb.fortran/logical.exp: Add tests that any non-zero value is
1150 printed as true.
1151
7b973adc
SDJ
11522020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
1153
1154 * gdb.base/printcmds.exp: Add test to verify printf of a
1155 variable holding an address.
1156
478e490a
TV
11572020-03-03 Tom de Vries <tdevries@suse.de>
1158
1159 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
1160
1ef44e86
TV
11612020-03-03 Tom de Vries <tdevries@suse.de>
1162
1163 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
1164 gdb_test_multiple call.
1165
b98cc2cf
TV
11662020-03-03 Tom de Vries <tdevries@suse.de>
1167
1168 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
1169 gdb_test_multiple calls.
1170
63e163f2
AB
11712020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1172
1173 * gdb.base/default.exp: Remove test of 'set history filename'.
1174 * gdb.base/gdbinit-history.exp: Add tests for setting the history
1175 filename to the empty string.
1176 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
1177 and GDBHISTSIZE.
1178
24ed6739
AB
11792020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1180
1181 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
1182 disabled.
1183
590003dc
TV
11842020-03-02 Pedro Alves <palves@redhat.com>
1185 Tom de Vries <tdevries@suse.de>
1186
1187 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
1188 -prompt prefix, before user_code argument. Add -lbl option likewise.
1189 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
1190 (gdb_is_target_1): Add -prompt prefix and move to before user_code
1191 argument.
1192 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
1193 have "\r\n" at start-of-line, instead of at end-of-line.
1194
f5e46084
SM
11952020-02-28 Simon Marchi <simon.marchi@efficios.com>
1196
1197 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
1198 libinproctrace.so.
1199
f7a7000d
LM
12002020-02-28 Luis Machado <luis.machado@linaro.org>
1201
1202 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
1203 to "p/x".
1204
718e0816
LM
12052020-02-28 Luis Machado <luis.machado@linaro.org>
1206
1207 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
1208 asm/ptrace.h and error.h.
1209
13c3a74a
TV
12102020-02-28 Tom de Vries <tdevries@suse.de>
1211
1212 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
1213 (struct wrapper, do_something, mundane/symada__cS): Move ...
1214 * gdb.base/c-linkage-name-2.c: ... here. New source file.
1215 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
1216 Update "print symada__cS before partial symtab expansion" regexp.
1217 Update breakpoint location. Flush symbol cache after expansion.
1218
85d2d5bb
LM
12192020-02-28 Luis Machado <luis.machado@linaro.org>
1220
1221 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
1222
3608f86c
TV
12232020-02-27 Tom de Vries <tdevries@suse.de>
1224
1225 * config/sid.exp: Remove unused globals.
1226 * gdb.base/attach.exp: Same.
1227 * gdb.base/catch-load.exp: Same.
1228 * gdb.base/dbx.exp: Same.
1229 * lib/gdb.exp: Same.
1230 * lib/mi-support.exp: Same.
1231 * lib/prompt.exp: Same.
1232
c8d4f6df
TV
12332020-02-27 Tom de Vries <tdevries@suse.de>
1234
1235 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
1236 not set.
1237
0d79cdc4
AM
12382020-02-26 Aaron Merey <amerey@redhat.com>
1239
1240 * gdb.debuginfod: New directory for debuginfod tests.
1241 * gdb.debuginfod/main.c: New test file.
1242 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
1243
0dce4280
TV
12442020-02-26 Tom de Vries <tdevries@suse.de>
1245
1246 PR gdb/25603
1247 * gdb.base/persistent-lang.cc: New test.
1248 * gdb.base/persistent-lang.exp: New file.
1249
9e80cfa1
AB
12502020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1251
1252 * gdb.fortran/derived-type-striding.exp: Add a new test.
1253 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
1254 new test.
1255
2078dbb2
AB
12562020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1257
1258 * gdb.base/cached-source-file.exp: Avoid source file paths in test
1259 names.
1260
70d49700
TV
12612020-02-25 Tom de Vries <tdevries@suse.de>
1262
1263 PR go/18926
1264 * gdb.go/methods.exp: Remove gcc/93866 xfail.
1265
a88ef40d
TV
12662020-02-24 Tom de Vries <tdevries@suse.de>
1267
1268 PR gdb/25592
1269 * gdb.base/info-locals-unused-static-var.c: New test.
1270 * gdb.base/info-locals-unused-static-var.exp: New file.
1271
01b1af32
TT
12722020-02-22 Tom Tromey <tom@tromey.com>
1273
1274 * gdb.python/tui-window.exp: New file.
1275 * gdb.python/tui-window.py: New file.
1276
7c043ba6
TT
12772020-02-22 Tom Tromey <tom@tromey.com>
1278
1279 PR tui/17850:
1280 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
1281 tests.
1282
c22fef7e
TT
12832020-02-22 Tom Tromey <tom@tromey.com>
1284
1285 * gdb.tui/new-layout.exp: Add sub-layout tests.
1286
ee325b61
TT
12872020-02-22 Tom Tromey <tom@tromey.com>
1288
1289 * gdb.tui/new-layout.exp: New file.
1290
3f0cbb04
TT
12912020-02-22 Tom Tromey <tom@tromey.com>
1292
1293 * gdb.rust/rust-style.rs: New file.
1294 * gdb.rust/rust-style.exp: New file.
1295 * gdb.base/style.exp: Test structure printing.
1296 * gdb.base/style.c (struct some_struct): New type.
1297 (enum etype): New type.
1298 (struct_value): New global.
1299
75525152
TV
13002020-02-21 Tom de Vries <tdevries@suse.de>
1301
1302 PR go/18926
1303 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
1304 Remove blanket xfails. Use message argument for gdb_breakpoint.
1305 Make continuing to breakpoint test conditional on setting breakpoint.
1306 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
1307 DW_AT_name attribute. Add xfail for GCC PR93866.
1308
bd360d30
AB
13092020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
1310
1311 * gdb.dwarf2/cpp-linkage-name.c: New file.
1312 * gdb.dwarf2/cpp-linkage-name.exp: New file.
1313
c7adb09f 13142020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
1315
1316 * lib/gdb.exp (gdb_wrapper_init): Reset
1317 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
1318 not exist.
1319
a9c79803
TV
13202020-02-20 Tom de Vries <tdevries@suse.de>
1321
1322 PR go/17018
1323 * gdb.go/hello.exp: Copy ...
1324 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
1325 print of st to print value of global definition. Add xfail for GCC
1326 PR93844.
1327 * gdb.go/hello.exp: Remove printing of st before definition.
1328 * gdb.go/hello.go: Copy ...
1329 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
1330 to st.
1331 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
1332
d7445728
TV
13332020-02-20 Tom de Vries <tdevries@suse.de>
1334
1335 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
1336 (gdb_simple_compile): Handle compile_flags go by using .go extension
1337 for source file.
1338 * gdb.go/chan.exp: Use support_go_compile.
1339 * gdb.go/handcall.exp: Same.
1340 * gdb.go/hello.exp: Same.
1341 * gdb.go/integers.exp: Same.
1342 * gdb.go/max-depth.exp: Same.
1343 * gdb.go/methods.exp: Same.
1344 * gdb.go/package.exp: Same.
1345 * gdb.go/strings.exp: Same.
1346 * gdb.go/types.exp: Same.
1347 * gdb.go/unsafe.exp: Same.
1348
c9c41e6d
TV
13492020-02-19 Tom de Vries <tdevries@suse.de>
1350
1351 * gdb.python/lib-types.exp: Make xfail more strict.
1352
f20ff837
TV
13532020-02-19 Tom de Vries <tdevries@suse.de>
1354
1355 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
1356
08410482
DE
13572020-02-19 Doug Evans <dje@google.com>
1358
1359 PR rust/25535
1360 * gdb.rust/simple.exp: Add test.
1361 * gdb.rust/simple.rs: Add test.
1362
623563f7
TV
13632020-02-19 Tom de Vries <tdevries@suse.de>
1364
1365 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
1366 output line-by-line.
1367
d3308cfd
TV
13682020-02-19 Tom de Vries <tdevries@suse.de>
1369
1370 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
1371
86cbc5dc
TV
13722020-02-19 Tom de Vries <tdevries@suse.de>
1373
1374 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
1375 prelink.
1376
9db2b96b
TV
13772020-02-19 Tom de Vries <tdevries@suse.de>
1378
1379 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
1380 (gdb_do_cache): Use gdb_do_cache_wrap.
1381 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
1382
89e2fdc5
TV
13832020-02-19 Tom de Vries <tdevries@suse.de>
1384
1385 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
1386 gdb_compile option.
1387
373d7ac0
SM
13882020-02-18 Simon Marchi <simon.marchi@efficios.com>
1389
1390 * gdb.base/printcmds.exp (test_print_enums): Update expected
1391 output.
1392
b29a2df0
SM
13932020-02-18 Simon Marchi <simon.marchi@efficios.com>
1394
1395 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
1396 for "unknown".
1397
6740f0cc
SM
13982020-02-18 Simon Marchi <simon.marchi@efficios.com>
1399
1400 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
1401 enumerator.
1402
edd45eb0
SM
14032020-02-18 Simon Marchi <simon.marchi@efficios.com>
1404
1405 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
1406 FE_, add FE_NONE.
1407 (three): Update.
1408 (enum flag_enum_without_zero): New enum.
1409 (flag_enum_without_zero): New variable.
1410 (enum not_flag_enum): New enum.
1411 (three_not_flag): New variable.
1412 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
1413 (test_print_enums): Add more tests for printing flag enums.
1414
d4295de4
TV
14152020-02-18 Tom de Vries <tdevries@suse.de>
1416
1417 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
1418 (gdb_compile_ada): ... here.
1419 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
1420 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
1421
f251f505
TT
14222020-02-14 Tom Tromey <tom@tromey.com>
1423
1424 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
1425 build directory.
1426 * boards/gdbserver-base.exp: Update path to gdbserver.
1427
8f432634
TV
14282020-02-13 Tom de Vries <tdevries@suse.de>
1429
1430 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
1431
92b6eaf7
TV
14322020-02-13 Tom de Vries <tdevries@suse.de>
1433
1434 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
1435 are missing.
1436
f3b0f7fe
TV
14372020-02-13 Tom de Vries <tdevries@suse.de>
1438
1439 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
1440 call.
1441
f6be8713
SDJ
14422020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1443
1444 PR tui/25126
1445 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
1446 * gdb.base/cached-source-file.c: New file.
1447 * gdb.base/cached-source-file.exp: New file.
1448
b2770d5e
TV
14492020-02-11 Tom de Vries <tdevries@suse.de>
1450
1451 PR testsuite/25488
1452 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
1453
44f6938e
TV
14542020-02-10 Tom de Vries <tdevries@suse.de>
1455
1456 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
1457
5f0e2eb7
MR
14582020-02-10 Maciej W. Rozycki <macro@wdc.com>
1459
1460 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
1461 and $after_addr are both integers before making a comparison.
1462
46ce2b6f
TV
14632020-02-09 Tom de Vries <tdevries@suse.de>
1464
1465 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
1466 command output and paste it into gdb.log. If any, paste catch message
1467 to gdb.log.
1468
5abbbe1d
TT
14692020-02-07 Tom Tromey <tromey@adacore.com>
1470
1471 PR breakpoints/24915:
1472 * gdb.base/annotate-symlink.exp: Use setup_xfail.
1473
1d5d29e7
SV
14742020-02-06 Shahab Vahedi <shahab@synopsys.com>
1475
1476 * gdb.tui/tui-missing-src.exp: Add the "missing source
1477 file" test for the TUI.
1478
b0999b9b
AB
14792020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
1480
1481 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
1482 including a port number in the output.
1483
c3b149eb
AKS
14842020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1485
1486 * lib/fortran.exp (fortran_int4): Handle clang.
1487 (fortran_int8): Likewise.
1488 (fortran_real4): Likewise.
1489 (fortran_real8): Likewise.
1490 (fortran_complex4): Likewise.
1491 (fortran_logical4): Likewise.
1492 (fortran_character1): Likewise.
1493
f8dcc90b
TV
14942020-02-04 Tom de Vries <tdevries@suse.de>
1495
1496 * README (Race detection): Add note.
1497
f90ac7c2
TV
14982020-02-04 Tom de Vries <tdevries@suse.de>
1499
1500 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
1501
780636ae
TV
15022020-02-04 Tom de Vries <tdevries@suse.de>
1503
1504 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
1505
5d2e1193
RA
15062020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1507
1508 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
1509 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
1510 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
1511 blttar, bnetarl.
1512 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
1513 binary for blttar, bnetarl.
1514 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
1515 wait instruction. Delete ldmx test.
1516 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
1517
e409c542
AKS
15182020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1519
1520 * gdb.fortran/array-bounds-high.exp: New file.
1521 * gdb.fortran/array-bounds-high.f90: New file.
1522
b0029748
LD
15232020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
1524
1525 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
1526 Replace #include of <sys/fcntl.h> by <fcntl.h>.
1527
195a8287
TV
15282020-02-01 Tom de Vries <tdevries@suse.de>
1529
1530 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
1531
42330a68
AB
15322020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
1533
1534 PR tui/9765
1535 * gdb.tui/tui-layout-asm-short-prog.S: New file.
1536 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
1537
b62a8028
LM
15382020-01-29 Luis Machado <luis.machado@linaro.org>
1539
1540 * gdb.arch/aarch64-brk-patterns.c: New source file.
1541 * gdb.arch/aarch64-brk-patterns.exp: New test.
1542
5f440116
TBA
15432020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1544
1545 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
1546 GCC/Clang version.
1547 * gdb.cp/pass-by-ref.exp: Ditto.
1548
ee2a6fc6
TV
15492020-01-29 Tom de Vries <tdevries@suse.de>
1550
1551 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
1552 * gdb.threads/watchpoint-fork-mt.c: Same.
1553 * gdb.threads/watchpoint-fork-parent.c: Same.
1554 * gdb.threads/watchpoint-fork-st.c: Same.
1555 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
1556
16b10d6e
LM
15572020-01-27 Luis Machado <luis.machado@linaro.org>
1558
1559 * gdb.base/step-over-syscall.exp (setup): Check if we're already
1560 sitting at a syscall instruction when we hit the syscall function's
1561 breakpoint.
1562 Check PC against one obtained with the x command.
1563 Validate syscall number.
1564 (step_over_syscall): Don't continue to the syscall instruction if
1565 we're already there.
1566
b1468492
PW
15672020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1568
1569 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
1570
7ffa82e1
AB
15712020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1572
1573 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
1574 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
1575
3d92a3e3
AB
15762020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1577
1578 * gdb.dwarf2/dw2-inline-stepping.c: New file.
1579 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
1580
94a72be7
AB
15812020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1582
1583 * gdb.base/maint.exp: Update line table parsing test.
1584 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
1585
53af73bf
PA
15862020-01-24 Pedro Alves <palves@redhat.com>
1587
1588 PR gdb/25410
1589 * gdb.multi/multi-re-run-1.c: New.
1590 * gdb.multi/multi-re-run-2.c: New.
1591 * gdb.multi/multi-re-run.exp: New.
1592
1ba1ac88
AB
15932020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1594
1595 PR gdb/23718
1596 * gdb.server/server-kill-python.exp: New file.
1597
f3364a6d
AB
15982020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1599
1600 * gdb.server/multi-ui-errors.c: New file.
1601 * gdb.server/multi-ui-errors.exp: New file.
1602
733d0a67
AB
16032020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1604
1605 PR tui/9765
1606 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
1607
4f13c1c0
TT
16082020-01-19 Tom Tromey <tom@tromey.com>
1609
1610 * gdb.tui/main.exp: Add check for plain "file".
1611
40c94099
CB
16122020-01-16 Christian Biesinger <cbiesinger@google.com>
1613
1614 * lib/gdb.exp: Fix spelling error (seperatelly).
1615
ff47f4f0
TT
16162020-01-14 Tom Tromey <tom@tromey.com>
1617
1618 PR symtab/12535:
1619 * gdb.python/python.exp: Test decode_line with empty string
1620 argument.
1621
717c684d
BE
16222020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
1623
1624 * gdb.base/skip-inline.exp: Extend test.
1625
44e4c775
AB
16262020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1627
1628 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
1629 * gdb.dwarf2/dw2-bad-elf.c: New file.
1630 * gdb.dwarf2/dw2-bad-elf.exp: New file.
1631
d93c6db7
AB
16322020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1633
1634 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
1635 _line_saw_file.
1636
9a6d629c
AB
16372020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1638
1639 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
1640 border.
1641
d9ebdab7
TBA
16422020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1643
1644 * gdb.multi/multi-target.exp (setup): Factor out "info
1645 connections" and "info inferiors" tests to ...
1646 (test_info_inferiors): ... this new procedure.
1647 (top level): Run new "info-inferiors" tests.
1648
f3c469b9
PA
16492020-01-10 Pedro Alves <palves@redhat.com>
1650
1651 * gdb.server/bkpt-other-inferior.exp: New file.
1652
121b3efd
PA
16532020-01-10 Pedro Alves <palves@redhat.com>
1654
1655 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
1656 of "add-inferior".
1657 * gdb.base/quit-live.exp: Likewise.
1658 * gdb.base/remote-exec-file.exp: Likewise.
1659 * gdb.guile/scm-progspace.exp: Likewise.
1660 * gdb.linespec/linespec.exp: Likewise.
1661 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1662 * gdb.mi/user-selected-context-sync.exp: Likewise.
1663 * gdb.multi/multi-target.exp (setup): Add "info connection" and
1664 "info inferiors" tests.
1665 * gdb.multi/remove-inferiors.exp: Adjust expected output of
1666 "add-inferior".
1667 * gdb.multi/watchpoint-multi.exp: Likewise.
1668 * gdb.python/py-inferior.exp: Likewise.
1669 * gdb.server/extended-remote-restart.exp: Likewise.
1670 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
1671 "info inferiors".
1672 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1673 * gdb.trace/report.exp: Likewise.
1674
1dadb1dd
PA
16752020-01-10 Pedro Alves <palves@redhat.com>
1676
1677 * gdb.multi/multi-target.c: New file.
1678 * gdb.multi/multi-target.exp: New file.
1679 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
1680 mode requested, but remote does not support non-stop".
1681
78f2c40a
PA
16822020-01-10 Pedro Alves <palves@redhat.com>
1683
1684 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
1685 disconnect before reconnecting.
1686
e7af6c70
TBA
16872020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1688 Pedro Alves <palves@redhat.com>
1689
1690 * gdb.server/connect-without-multi-process.exp: Also test
1691 continuing to end.
1692
acdf84a6
PA
16932020-01-10 Pedro Alves <palves@redhat.com>
1694
1695 * gdb.base/remote-exec-file.exp: New file.
1696
873657b9
PA
16972020-01-10 Pedro Alves <palves@redhat.com>
1698
1699 * gdb.base/fork-running-state.exp (do_test): Adjust expected
1700 output.
1701 * gdb.threads/async.c: New.
1702 * gdb.threads/async.exp: New.
1703 * gdb.multi/tids-gid-reset.c: New.
1704 * gdb.multi/tids-gid-reset.exp: New.
1705
7f0ae84c
GB
17062020-01-10 George Barrett <bob@bob131.so>
1707
1708 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
1709 to help in finding the image relocation offset.
1710 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
1711 options in arguments.
1712 (stap_test_no_debuginfo): Likewise.
1713 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
1714 test variants.
1715 (stap_test): Add null semaphore relocation test.
1716
47e9d49d
GB
17172020-01-10 George Barrett <bob@bob131.so>
1718
1719 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
1720 * gdb.base/stap-probe.exp: Likewise.
1721 (stap_test): Pass argument as an additional flag.
1722 (stap_test_no_debuginfo): Likewise.
1723 (stap_test): Check `info probes stap' output for semaphore
1724 addresses if the test binary is supposed to have them.
1725
f5a7c406
AB
17262020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1727
1728 * gdb.tui/basic.exp: Add more scrolling tests.
1729
9ae6bf64
TT
17302020-01-09 Tom Tromey <tom@tromey.com>
1731
1732 PR tui/18932:
1733 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
1734 meangingful value.
1735 (Term::command, Term::resize): Update.
1736 * gdb.tui/basic.exp: Add scrolling test.
1737
b2efe70c
AB
17382020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1739
1740 * gdb.tui/tui-layout-asm.exp: New file.
1741
3804da7e
AB
17422020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1743
1744 * lib/tuiterm.exp (Term::check_box_contents): New proc.
1745
b40aa28f
AB
17462020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1747
1748 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
1749 (Term::enter_tui): Use Term::prepare_for_tui.
1750
63ffd7c9
AB
17512020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1752
1753 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
1754 called.
1755
3be966f6
AB
17562020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1757
1758 * gdb.base/skip.exp: Fix race condition in test.
1759
153d79c4
AB
17602020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1761
1762 * gdb.base/backtrace.c: New file.
1763 * gdb.base/backtrace.exp: New file.
1764
f2302a34
AB
17652020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
1766
1767 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
1768
6ec1d75e
PW
17692020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1770
1771 * gdb.base/style.exp: Test that warnings are styled.
1772
c296cbe6
BE
17732019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
1774
1775 * gdb.base/line65535.exp: New file.
1776 * gdb.base/line65535.c: New file.
1777
b28a729d
SM
17782019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
1779
1780 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
1781 * lib/gnat_debug_info_test.adb: New file.
1782 * gdb.ada/ptype_tagged_param.exp: Use
1783 gnat_runtime_has_debug_info, expect a different output if
1784 runtime does not have debug info.
1785
7f2d7a0d
SM
17862019-12-20 Simon Marchi <simon.marchi@efficios.com>
1787
1788 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
1789 (another) quote in test name.
1790
f3bce483
SM
17912019-12-20 Simon Marchi <simon.marchi@efficios.com>
1792
1793 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
1794 Add quote in test name.
1795
c855a912
TBA
17962019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1797
1798 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
1799 directory instead.
1800 * gdb.cp/pass-by-ref.exp: Extend with more cases.
1801 * gdb.cp/pass-by-ref-2.cc: New file.
1802 * gdb.cp/pass-by-ref-2.exp: New file.
1803
fc9d2d72
TT
18042019-12-20 Tom Tromey <tom@tromey.com>
1805
1806 * gdb.tui/list-before.exp: New file.
1807
77b97e00
TT
18082019-12-20 Tom Tromey <tom@tromey.com>
1809
1810 * gdb.tui/list.exp: Check for source on initial listing.
1811
f69656d0
TT
18122019-12-11 Tom Tromey <tromey@adacore.com>
1813
1814 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
1815 Add crlf test.
1816
99a55965
SM
18172019-12-18 Simon Marchi <simon.marchi@efficios.com>
1818
1819 * gdb.base/default.exp: Update value of $_gdb_major.
1820
5024637f
BE
18212019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1822
1823 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
1824
b63634be
BE
18252019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1826
1827 * gdb.base/skip.exp: Whitespace fix.
1828
45d73523
BE
18292019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1830
1831 * gdb.base/skip-inline.c: New file.
1832 * gdb.base/skip-inline.exp: New file.
1833
d043f8c8
SM
18342019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
1835
1836 * gdb.base/jit-reader.exp (jit_reader_test): Rename
1837 jit_function_00 to jit_function_stack_mangle.
1838 * gdb.base/jithost.c (jit_function_t): Rename to...
1839 (jit_function_stack_mangle_t): ... this.
1840 (jit_function_add_t): New typedef.
1841 (jit_function_00_code): Rename to...
1842 (jit_function_stack_mangle_code): ... this, make static.
1843 (jit_function_add_code): New.
1844 (main): Generate "add" function and call it. Adjust to changes
1845 in jithost_abi.
1846 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
1847 (struct jithost_abi) <begin, end>: Remove fields.
1848 <object, function_stack_mangle, function_add>: New fields.
1849 * gdb.base/jitreader.c (struct reader_state) <code_begin,
1850 code_end>: Remove fields.
1851 <func_stack_mangle>: New field.
1852 (read_debug_info): Adjust to renaming, create block for "add"
1853 function.
1854 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
1855
873de05c
TT
18562019-12-11 Tom Tromey <tom@tromey.com>
1857
1858 * gdb.tui/resize.exp: Fix regexp.
1859 * gdb.tui/regs.exp: Fix regexps.
1860 * gdb.tui/main.exp: Fix regexp.
1861
3d979945
TT
18622019-12-11 Tom Tromey <tom@tromey.com>
1863
1864 * gdb.tui/resize.exp: Update.
1865 * gdb.tui/empty.exp (layouts): Update.
1866
2192a9d3
TT
18672019-12-11 Tom Tromey <tom@tromey.com>
1868
1869 * gdb.tui/regs.exp: Update.
1870 * gdb.tui/empty.exp (layouts): Update.
1871 * gdb.tui/basic.exp: Update.
1872 * lib/tuiterm.exp (_check_box): Don't check bottom border.
1873
d8edc8b7
PW
18742019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1875
1876 * gdb.base/options.exp: Add -raw-values in the print completion list.
1877 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
1878
4c12d936
KB
18792019-12-10 Kevin Buettner <kevinb@redhat.com>
1880
1881 * gdb.threads/omp-par-scope.c: New file.
1882 * gdb/threads/omp-par-scope.exp: New file.
1883
26b911fb
KB
18842019-12-10 Kevin Buettner <kevinb@redhat.com>
1885
bb47f919
KB
1886 * lib/gdb.exp (support_nested_function_tests): New proc.
1887
18882019-12-10 Kevin Buettner <kevinb@redhat.com>
1889
1890 * lib/gdb.exp (gdb_compile_openmp): New proc.
1891 (build_executable_from_specs): Add an "openmp" option.
1892 (gdb_compile_pthreads): Add non-executable case.
26b911fb 1893
6c71eb7d
TT
18942019-12-10 Tom Tromey <tromey@adacore.com>
1895
1896 * gdb.ada/unchecked_union.exp: New file.
1897 * gdb.ada/unchecked_union/pck.adb: New file.
1898 * gdb.ada/unchecked_union/pck.ads: New file.
1899 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1900 * gdb-utils.exp (string_to_regexp): Also quote "?".
1901
bac7c5cf
GB
19022019-12-10 George Barrett <bob@bob131.so>
1903
1904 Test scripted probe breakpoints.
1905 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1906 * gdb.python/py-breakpoint.c (main): Likewise.
1907 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1908 specifier test.
1909 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1910
330f1d38
TBA
19112019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1912
1913 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1914 an rvalue parameter.
1915 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1916 parameter.
1917
b43315e2
AB
19182019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1919
1920 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1921 modules.
1922
54f73dad
AB
19232019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1924
1925 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1926 broken version of GCC.
1927
d57cbee9
AB
19282019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1929
1930 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1931 sym-info-cmds library.
1932 * gdb.fortran/info-types.exp: Likewise.
1933 * lib/sym-info-cmds.exp: New file.
1934
c14aab8c
TV
19352019-12-08 Tom de Vries <tdevries@suse.de>
1936
1937 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1938
aa2d5a42
KS
19392019-12-07 Keith Seitz <keiths@redhat.com>
1940
1941 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1942 * gdb.base/corefile-buildid-shlib.c: New file.
1943 * gdb.base/corefile-buildid.c: New file.
1944 * gdb.base/corefile-buildid.exp: New file.
1945
93e55f0a
TV
19462019-12-06 Tom de Vries <tdevries@suse.de>
1947
1948 * gdb.dwarf2/varval.exp: Add decl before def test.
1949
c7d12402
TBA
19502019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1951
1952 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1953
06acc08f
TBA
19542019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1955
1956 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1957 CV and reference conversion for overload resolution.
1958 * gdb.cp/rvalue-ref-overload.exp: Test it.
1959
e0fad1ea
PW
19602019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1961
1962 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1963 * gdb.base/frameapply.exp: Test faas without command.
1964
8d70a9f0
AB
19652019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1966
1967 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1968 Fortran tests.
1969 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1970 order.
1971
36c8fb93
AB
19722019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1973
1974 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1975 casting to type with no kind specified.
1976 (test_basic_parsing_of_type_kinds): Additional tests for types
1977 with no kind specified, and add tests for single/double
1978 precision/complex types.
1979
4139ff00
TT
19802019-12-04 Tom Tromey <tromey@adacore.com>
1981
1982 * gdb.base/endianity.c (struct other) <x>: New field.
1983 (main): Initialize it.
1984 * gdb.base/endianity.exp: Update.
1985
a05cf17a
TT
19862019-12-04 Tom Tromey <tromey@adacore.com>
1987
1988 * gdb.ada/scalar_storage/storage.adb: New file.
1989 * gdb.ada/scalar_storage/pck.adb: New file.
1990 * gdb.ada/scalar_storage/pck.ads: New file.
1991 * gdb.ada/scalar_storage.exp: New file.
1992
103a685e
TT
19932019-12-04 Tom Tromey <tromey@adacore.com>
1994
1995 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1996 (main): Initialize it.
1997 * gdb.base/endianity.exp: Update.
1998
c2512106
AB
19992019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2000
2001 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
2002
293b38d6
AB
20032019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2004
2005 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
2006 -symbol-info-module-functions and -symbol-info-module-variables.
2007
216a7e6b
AB
20082019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2009
2010 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
2011
5bbd8269
AB
20122019-12-01 Richard Bunt <richard.bunt@arm.com>
2013 Andrew Burgess <andrew.burgess@embecosm.com>
2014
2015 * gdb.fortran/derived-type-striding.exp: New file.
2016 * gdb.fortran/derived-type-striding.f90: New file.
2017 * gdb.fortran/array-slices.exp: New file.
2018 * gdb.fortran/array-slices.f90: New file.
2019
be09caf1
PW
20202019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2021
2022 * gdb.base/define.exp: Test . in command names.
2023 * gdb.base/setshow.exp: Update test, as . is now part of
2024 command name.
2025
643c0cbe
PW
20262019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2027
2028 * gdb.base/define-prefix.exp: New file.
2029
dcdec678
AB
20302019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
2031
2032 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
2033 compile.
2034 (skip_btrace_pt_tests): Likewise.
2035
640ab947
AB
20362019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2037
2038 * gdb.fortran/info-modules.exp: Compile source files in correct
2039 order.
2040
d22670f0
KB
20412019-11-27 Kevin Buettner <kevinb@redhat.com>
2042
2043 * gdb.dwarf2/imported-unit.exp: New file.
2044 * gdb.dwarf2/imported-unit.c: New file.
2045
db5960b4
AB
20462019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2047
2048 * gdb.mi/mi-fortran-modules-2.f90: New file.
2049 * gdb.mi/mi-fortran-modules.exp: New file.
2050 * gdb.mi/mi-fortran-modules.f90: New file.
2051
7dc42066
AB
20522019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2053
2054 * gdb.mi/mi-sym-info-1.c: New file.
2055 * gdb.mi/mi-sym-info-2.c: New file.
2056 * gdb.mi/mi-sym-info.exp: New file.
2057
0dfeecca
TT
20582019-11-22 Tom Tromey <tromey@adacore.com>
2059
2060 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
2061 * gdb.ada/tasks/foo.adb: Add another stopping location.
2062
34877895
PJ
20632019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
2064
2065 * gdb.base/endianity.c: New test.
2066 * gdb.base/endianity.exp: New file.
2067
2e84f897
LD
20682019-11-21 Lukas Durfina <ldurfina@tachyum.com>
2069
2070 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
2071
65d1cd5f
TV
20722019-11-21 Tom de Vries <tdevries@suse.de>
2073
2074 PR gdb/24956
2075 * gdb.base/ui-redirect.exp: Test output of user-defined command.
2076
4f22c3f4
SDJ
20772019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2078
2079 * gdb.python/py-progspace.exp: Add missing parentheses on some
2080 'print' commands.
2081
9f6ad286
TT
20822019-11-19 Tom Tromey <tom@tromey.com>
2083
2084 * gdb.tui/winheight.exp: New file.
2085
0b8dbf3f
AB
20862019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2087
2088 * gdb.base/ctf-whatis.c: Delete.
2089 * gdb.base/ctf-whatis.exp: Delete.
2090 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
2091
f833b7a7
AB
20922019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2093
2094 * gdb.base/ctf-cvexpr.exp: Delete.
2095 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
2096
30d0a636
AB
20972019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2098
2099 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
2100 the compiler. Clean up header comment a little.
2101 * gdb.base/ctf-ptype.exp: Likewise.
2102 * gdb.base/ctf-whatis.exp: Likewise.
2103 * lib/gdb.exp (skip_ctf_tests): New proc.
2104
494409bb
SDJ
21052019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
2106
2107 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
2108 * gdb.tui/corefile-run.exp: New file.
2109
55708e99
TT
21102019-11-14 Tom Tromey <tromey@adacore.com>
2111
2112 * gdb.base/gdbvars.exp (test_convenience_variables): Add
2113 regression tests.
2114
45e42163
TT
21152019-11-12 Tom Tromey <tom@tromey.com>
2116
2117 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
2118 after any command. Expect prompt after WAIT_FOR is seen.
2119 (enter_tui): Enable resize messages.
2120 (command): Expect command in output.
2121 (get_line): Avoid error when cursor appears to be off-screen.
2122 (dump_screen): Include screen size in title.
2123 (_do_resize): New proc, from "resize".
2124 (resize): Rewrite. Do resize in two steps.
2125 * gdb.tui/empty.exp (layouts): Fix entries.
2126 (check_boxes): Remove xfail.
2127 (check_text): Dump screen on failure.
2128
086baaf1
AB
21292019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2130
2131 * gdb.python/py-symbol.exp: Add test for
2132 gdb.lookup_static_symbols.
2133
09ff83af
AB
21342019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2135
2136 * gdb.python/py-symbol.c: Declare and call function from new
2137 py-symbol-2.c file.
2138 * gdb.python/py-symbol.exp: Compile both source files, and add new
2139 tests for gdb.lookup_static_symbol.
2140 * gdb.python/py-symbol-2.c: New file.
2141
11af934b
TV
21422019-11-02 Tom de Vries <tdevries@suse.de>
2143
2144 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
2145 * gdb.base/anon.exp: Same.
2146 * gdb.base/auto-connect-native-target.exp: Same.
2147 * gdb.base/call-ar-st.exp: Same.
2148 * gdb.base/catch-syscall.exp: Same.
2149 * gdb.base/commands.exp: Same.
2150 * gdb.base/default.exp: Same.
2151 * gdb.base/display.exp: Same.
2152 * gdb.base/float.exp: Same.
2153 * gdb.base/foll-fork.exp: Same.
2154 * gdb.base/help.exp: Same.
2155 * gdb.base/info-macros.exp: Same.
2156 * gdb.base/info-proc.exp: Same.
2157 * gdb.base/info-target.exp: Same.
2158 * gdb.base/long_long.exp: Same.
2159 * gdb.base/macscp.exp: Same.
2160 * gdb.base/memattr.exp: Same.
2161 * gdb.base/nofield.exp: Same.
2162 * gdb.base/pointers.exp: Same.
2163 * gdb.base/printcmds.exp: Same.
2164 * gdb.base/ptype.exp: Same.
2165 * gdb.base/restore.exp: Same.
2166 * gdb.base/return.exp: Same.
2167 * gdb.base/scope.exp: Same.
2168 * gdb.base/set-noassign.exp: Same.
2169 * gdb.base/setshow.exp: Same.
2170 * gdb.base/shlib-call.exp: Same.
2171 * gdb.base/signals.exp: Same.
2172 * gdb.base/sigstep.exp: Same.
2173 * gdb.base/skip.exp: Same.
2174 * gdb.base/solib-symbol.exp: Same.
2175 * gdb.base/stap-probe.exp: Same.
2176 * gdb.base/step-line.exp: Same.
2177 * gdb.base/step-test.exp: Same.
2178 * gdb.base/style.exp: Same.
2179 * gdb.base/varargs.exp: Same.
2180 * gdb.base/vla-datatypes.exp: Same.
2181 * gdb.base/vla-ptr.exp: Same.
2182 * gdb.base/vla-sideeffect.exp: Same.
2183 * gdb.base/volatile.exp: Same.
2184 * gdb.base/watch-cond-infcall.exp: Same.
2185 * gdb.base/watchpoint.exp: Same.
2186
e96ec2ba
TV
21872019-11-02 Tom de Vries <tdevries@suse.de>
2188
2189 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
2190 * gdb.cp/cpexprs.exp: Same.
2191 * gdb.cp/except-multi-location.exp: Same.
2192 * gdb.cp/exceptprint.exp: Same.
2193 * gdb.cp/gdb2384.exp: Same.
2194 * gdb.cp/inherit.exp: Same.
2195 * gdb.cp/m-static.exp: Same.
2196 * gdb.cp/meth-typedefs.exp: Same.
2197 * gdb.cp/misc.exp: Same.
2198 * gdb.cp/namespace.exp: Same.
2199 * gdb.cp/non-trivial-retval.exp: Same.
2200 * gdb.cp/overload.exp: Same.
2201 * gdb.cp/pr17132.exp: Same.
2202 * gdb.cp/re-set-overloaded.exp: Same.
2203 * gdb.cp/rvalue-ref-types.exp: Same.
2204 * gdb.cp/templates.exp: Same.
2205
bd5766ec
LM
22062019-11-01 Luis Machado <luis.machado@linaro.org>
2207
2208 PR gdb/25124
2209
2210 * gdb.arch/pr25124.S: New file.
2211 * gdb.arch/pr25124.exp: New file.
2212
165f8965
AB
22132019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2214
2215 * gdb.fortran/info-modules.exp: Update expected results, and add
2216 additional tests for 'info module functinos', and 'info module
2217 variables'.
2218 * gdb.fortran/info-types.exp: Update expected results.
2219 * gdb.fortran/info-types.f90: Extend testcase with additional
2220 module variables and functions.
2221
59c35742
AB
22222019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2223
2224 * gdb.fortran/info-modules.exp: New file.
2225 * gdb.fortran/info-types.exp: Build with new file.
2226 * gdb.fortran/info-types.f90: Include and use new module.
2227 * gdb.fortran/info-types-2.f90: New file.
2228
f3fb2519
PW
22292019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2230
2231 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
2232 * gdb.base/settings.exp: Test all settings types using
2233 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
2234 that now verifies that the value of "maint show" is the same as
2235 returned by the settings functions. Test the type of the
2236 maintenance settings.
2237 * gdb.base/default.exp: Update show_conv_list.
2238
d1e36019
TV
22392019-10-31 Tom de Vries <tdevries@suse.de>
2240
2241 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
2242 gdb_test.
2243 * gdb.arch/amd64-disp-step.exp: Same.
2244 * gdb.asm/asm-source.exp: Same.
2245 * gdb.btrace/buffer-size.exp: Same.
2246 * gdb.btrace/cpu.exp: Same.
2247 * gdb.btrace/enable.exp: Same.
2248 * gdb.dwarf2/count.exp: Same.
2249 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2250 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
2251 * gdb.fortran/vla-datatypes.exp: Same.
2252 * gdb.fortran/vla-history.exp: Same.
2253 * gdb.fortran/vla-ptype.exp: Same.
2254 * gdb.fortran/vla-value.exp: Same.
2255 * gdb.fortran/whatis_type.exp: Same.
2256 * gdb.guile/guile.exp: Same.
2257 * gdb.multi/tids.exp: Same.
2258 * gdb.python/py-finish-breakpoint.exp: Same.
2259 * gdb.python/py-framefilter.exp: Same.
2260 * gdb.python/py-pp-registration.exp: Same.
2261 * gdb.python/py-xmethods.exp: Same.
2262 * gdb.python/python.exp: Same.
2263 * gdb.server/connect-with-no-symbol-file.exp: Same.
2264 * gdb.server/no-thread-db.exp: Same.
2265 * gdb.server/run-without-local-binary.exp: Same.
2266 * gdb.stabs/weird.exp: Same.
2267 * gdb.threads/attach-many-short-lived-threads.exp: Same.
2268 * gdb.threads/thread-find.exp: Same.
2269 * gdb.threads/tls-shared.exp: Same.
2270 * gdb.threads/tls.exp: Same.
2271 * gdb.threads/wp-replication.exp: Same.
2272 * gdb.trace/ax.exp: Same.
2273 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
2274
3d11e68e
TV
22752019-10-31 Tom de Vries <tdevries@suse.de>
2276
2277 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
2278 * gdb.ada/array_subscript_addr.exp: Same.
2279 * gdb.ada/arrayidx.exp: Same.
2280 * gdb.ada/arrayparam.exp: Same.
2281 * gdb.ada/arrayptr.exp: Same.
2282 * gdb.ada/boolean_expr.exp: Same.
2283 * gdb.ada/call_pn.exp: Same.
2284 * gdb.ada/complete.exp: Same.
2285 * gdb.ada/fixed_cmp.exp: Same.
2286 * gdb.ada/fun_addr.exp: Same.
2287 * gdb.ada/funcall_param.exp: Same.
2288 * gdb.ada/interface.exp: Same.
2289 * gdb.ada/mod_from_name.exp: Same.
2290 * gdb.ada/null_array.exp: Same.
2291 * gdb.ada/packed_array.exp: Same.
2292 * gdb.ada/packed_tagged.exp: Same.
2293 * gdb.ada/print_chars.exp: Same.
2294 * gdb.ada/print_pc.exp: Same.
2295 * gdb.ada/ptype_arith_binop.exp: Same.
2296 * gdb.ada/ptype_field.exp: Same.
2297 * gdb.ada/ptype_tagged_param.exp: Same.
2298 * gdb.ada/rec_return.exp: Same.
2299 * gdb.ada/ref_tick_size.exp: Same.
2300 * gdb.ada/str_ref_cmp.exp: Same.
2301 * gdb.ada/taft_type.exp: Same.
2302 * gdb.ada/tagged.exp: Same.
2303 * gdb.ada/type_coercion.exp: Same.
2304 * gdb.ada/uninitialized_vars.exp: Same.
2305
60b6ede8
TV
23062019-10-30 Tom de Vries <tdevries@suse.de>
2307
2308 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
2309
30baf67b
TV
23102019-10-26 Tom de Vries <tdevries@suse.de>
2311
2312 * gdb.base/bigcore.c: Fix typos in comments.
2313 * gdb.base/ctf-ptype.c: Same.
2314 * gdb.base/long_long.c: Same.
2315 * gdb.dwarf2/dw2-op-out-param.S: Same.
2316 * gdb.python/py-evthreads.c: Same.
2317 * gdb.reverse/i387-stack-reverse.c: Same.
2318 * gdb.trace/tfile.c: Same.
2319 * lib/compiler.c: Same.
2320 * lib/compiler.cc: Same.
2321
158da0d1
TV
23222019-10-25 Tom de Vries <tdevries@suse.de>
2323
2324 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
2325 gdb_test_multiple calls.
2326 * gdb.reverse/sigall-reverse.exp: Same.
2327 * gdb.reverse/solib-precsave.exp: Same.
2328 * gdb.reverse/solib-reverse.exp: Same.
2329 * gdb.reverse/until-precsave.exp: Same.
2330 * gdb.reverse/until-reverse.exp: Same.
2331
4ccdfbec
TV
23322019-10-24 Tom de Vries <tdevries@suse.de>
2333
2334 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
2335 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
2336 kfail using -wrap pattern flag and convenience variable
2337 gdb_test_name.
2338
33d569b7
AB
23392019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
2340
2341 * gdb.python/py-progspace.exp: Add tests for the
2342 Progspace.block_for_pc method.
2343
4d0b984b
TT
23442019-10-23 Tom Tromey <tom@tromey.com>
2345
2346 * configure: Rebuild.
2347 * aclocal.m4: Use m4_include, not sinclude.
2348
94cb3754
TV
23492019-10-21 Tom de Vries <tdevries@suse.de>
2350
2351 * gdb.base/infcall-nested-structs.c: Add
2352 __attribute__((noinline,noclone)) to all functions.
2353 (call_all): Add missing variable initialization. Simplify return value.
2354 (breakpt): Increment volatile variable, to prevent call from being
2355 optimized out.
2356 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
2357
062f1fc1
TV
23582019-10-17 Tom de Vries <tdevries@suse.de>
2359
2360 * gdb.fortran/module.exp: Allow info variables to print info for files
2361 other than module.f90.
2362
0b54364d
AB
23632019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2364
2365 * gdb.fortran/module.exp: Extend with 'info variables' test.
2366
7ff5fae7
AB
23672019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2368
2369 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
2370 F77_FOR_TARGET.
2371
d10eccaa
TV
23722019-10-16 Tom de Vries <tdevries@suse.de>
2373
2374 PR tdep/25096
2375 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
2376
745ff14e
TV
23772019-10-16 Tom de Vries <tdevries@suse.de>
2378
2379 PR tdep/24104
2380 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
2381 Add KFAIL for PR tdep/25096.
2382
03e1ab94
TV
23832019-10-16 Tom de Vries <tdevries@suse.de>
2384
2385 PR testsuite/25059
2386 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
2387
b17fcc10
TV
23882019-10-16 Tom de Vries <tdevries@suse.de>
2389
2390 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
2391 as signed.
2392
9223170f
SM
23932019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
2394
2395 * gdb.mi/list-thread-groups-available.exp: Read entries one by
2396 one instead of increasing timeout.
2397
d6e76313
TV
23982019-10-13 Tom de Vries <tdevries@suse.de>
2399
2400 PR record/25038
2401 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
2402 * gdb.reverse/sigall-reverse.exp: Same.
2403 * gdb.reverse/solib-precsave.exp: Same.
2404 * gdb.reverse/solib-reverse.exp: Same.
2405 * gdb.reverse/step-precsave.exp: Same.
2406 * gdb.reverse/until-precsave.exp: Same.
2407 * gdb.reverse/until-reverse.exp: Same.
2408 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
2409
6dfc0041
AA
24102019-10-10 Andreas Arnez <arnez@linux.ibm.com>
2411
2412 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
2413 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
2414 (cmp_struct_05_01, cmp_struct_static_02_01)
2415 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
2416 comparisons.
2417
abcf2cc8
TV
24182019-10-10 Tom de Vries <tdevries@suse.de>
2419
2420 PR testsuite/24888
2421 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
2422 gnatlink.
2423
a50faaf6
TV
24242019-10-09 Tom de Vries <tdevries@suse.de>
2425
2426 PR testsuite/25048
2427 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
2428
60ff3cd7
AB
24292019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2430
2431 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
2432 exceptions due to missing debug information.
2433
dfee8566
TV
24342019-10-07 Tom de Vries <tdevries@suse.de>
2435
2436 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
2437
3d63690a
AB
24382019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2439
2440 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
2441 * gdb.base/annota1.exp: Update to use gdb_test_name.
2442
30d1f018
WP
24432019-10-07 Weimin Pan <weimin.pan@oracle.com>
2444
2445 * gdb.base/ctf-whatis.exp: New file.
2446 * gdb.base/ctf-whatis.c: New file.
2447 * gdb.base/ctf-ptype.exp: New file.
2448 * gdb.base/ctf-ptype.c: New file.
2449 * gdb.base/ctf-constvars.exp: New file.
2450 * gdb.base/ctf-constvars.c: New file.
2451 * gdb.base/ctf-cvexpr.exp: New file.
2452
4dbbb47c
TV
24532019-10-04 Tom de Vries <tdevries@suse.de>
2454
2455 * gdb.cp/local-static.c (main): Move declaration of int i out of the
2456 for loop.
2457
77c2dba3
TT
24582019-10-03 Tom Tromey <tom@tromey.com>
2459
2460 PR rust/24976:
2461 * gdb.rust/simple.rs (Union2): New type.
2462 (main): Use Union2.
2463 * gdb.rust/simple.exp: Add test.
2464
179aed7f
AB
24652019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2466
2467 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
2468 nested function prefix.
2469
0a4b0913
AB
24702019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
2471 Richard Bunt <richard.bunt@arm.com>
2472 Andrew Burgess <andrew.burgess@embecosm.com>
2473
2474 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
2475 nested functions.
2476 * gdb.fortran/nested-funcs.f90: Update expected results.
2477 * gdb.fortran/nested-funcs-2.exp: New file.
2478 * gdb.fortran/nested-funcs-2.f90: New file.
2479
082cce05
AB
24802019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2481
2482 * gdb.python/py-parameter.exp: Make test names unique.
2483 * gdb.python/py-template.exp: Likewise.
2484 * gdb.python/py-value.exp: Likewise.
2485
2b74ba5a
AB
24862019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2487
2488 * gdb.base/break-interp.exp: Reduce test name duplication.
2489 * gdb.base/call-sc.exp: Likewise.
2490 * gdb.base/callfuncs.exp: Likewise.
2491 * gdb.base/charset.exp: Likewise.
2492 * gdb.base/dump.exp: Likewise.
2493 * gdb.base/ena-dis-br.exp: Likewise.
2494 * gdb.base/relational.exp: Likewise.
2495 * gdb.base/step-over-syscall.exp: Likewise.
2496 * gdb.base/structs.exp: Likewise.
2497
58eb20d5
AB
24982019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2499
2500 * gdb.linespec/explicit.exp: Make test names unique.
2501 * gdb.linespec/ls-errs.exp: Likewise.
2502
4d421147
AB
25032019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2504
2505 * gdb.reverse/break-precsave.exp: Make test names unique.
2506 * gdb.reverse/break-reverse.exp: Likewise.
2507 * gdb.reverse/finish-precsave.exp: Likewise.
2508 * gdb.reverse/finish-reverse.exp: Likewise.
2509 * gdb.reverse/machinestate-precsave.exp: Likewise.
2510 * gdb.reverse/machinestate.exp: Likewise.
2511 * gdb.reverse/readv-reverse.exp: Likewise.
2512 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2513 * gdb.reverse/sigall-precsave.exp: Likewise.
2514 * gdb.reverse/sigall-reverse.exp: Likewise.
2515 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
2516 * gdb.reverse/watch-precsave.exp: Likewise.
2517 * gdb.reverse/watch-reverse.exp: Likewise.
2518
d8c06f22
AB
25192019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2520
2521 * gdb.threads/stop-with-handle.c: New file.
2522 * gdb.threads/stop-with-handle.exp: New file.
2523
3a56ed86
TV
25242019-10-03 Tom de Vries <tdevries@suse.de>
2525
2526 PR testsuite/25059
2527 * gdb.base/list-missing-source.exp: Allowing the "Compilation
2528 directory" line to be missing.
2529
42275044
TV
25302019-10-03 Tom de Vries <tdevries@suse.de>
2531
2532 PR testsuite/25059
2533 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
2534 type optional.
2535
9ef62df0
AA
25362019-10-02 Andreas Arnez <arnez@linux.ibm.com>
2537
2538 * gdb.python/py-format-string.c (string.h): New include.
2539 (main): Fill a_struct_with_union.the_union.an_int with bytes of
2540 the same value, for endianness-independence.
2541 * gdb.python/py-format-string.exp (default_regexp_dict)
2542 (test_pretty_structs, test_format): Adjust expected output to the
2543 changed initialization.
2544
37f6a7f4
TT
25452019-10-02 Tom Tromey <tromey@adacore.com>
2546
2547 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
2548
1d58d6a2
PA
25492019-10-02 Pedro Alves <palves@redhat.com>
2550 Andrew Burgess <andrew.burgess@embecosm.com>
2551
2552 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
2553 "print-file-var.h".
2554 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2555 (get_version_1): Print this_version_id and its address.
2556 Add extern "C" wrappers around interface functions.
2557 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
2558 "print-file-var.h".
2559 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2560 (get_version_2): Print this_version_id and its address.
2561 Add extern "C" wrappers around interface functions.
2562 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
2563 <stddef.h> and "print-file-var.h".
2564 Add extern "C" wrappers around interface functions.
2565 [VERSION_ID_MAIN] (this_version_id): Define.
2566 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
2567 * gdb.base/print-file-var.h: Add some #defines to simplify setting
2568 up extern "C" blocks.
2569 * gdb.base/print-file-var.exp (test): New, factored out from top
2570 level.
2571 (top level): Test all combinations of attribute hidden or not,
2572 dlopen or not, and this_version_id symbol in main file or not.
2573 Compile tests as both C++ and C, make test names unique.
2574
d770d56f
TT
25752019-10-01 Tom Tromey <tom@tromey.com>
2576
2577 * gdb.base/style.exp: Test "show logging filename".
2578
7f6aba03
TT
25792019-10-01 Tom Tromey <tom@tromey.com>
2580
2581 * lib/gdb-utils.exp (style): Handle "metadata" argument.
2582 * gdb.base/style.exp: Add metadata style test.
2583
14309bb6
TT
25842019-10-01 Tom Tromey <tom@tromey.com>
2585
2586 * gdb.base/style.exp: Test "pwd".
2587
2a3c1174
PA
25882019-10-01 Tom Tromey <tom@tromey.com>
2589
2590 * gdb.base/style.exp: Update tests.
2591
53d666ec
AA
25922019-10-01 Andreas Arnez <arnez@linux.ibm.com>
2593
2594 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
2595 'six' to unsigned.
2596 (s1): Initialize fields 'four' and 'six' instead of 'three' and
2597 'five'. Use an all-ones bit pattern for each.
2598 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
2599 to its changed values.
2600
4a56a520
TT
26012019-09-30 Tom Tromey <tromey@adacore.com>
2602
2603 * gdb.rust/traits.rs: Disable all warnings.
2604
0df0352a
TV
26052019-09-29 Tom de Vries <tdevries@suse.de>
2606
aac66a4c 2607 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 2608
73d9a918
TV
26092019-09-29 Tom de Vries <tdevries@suse.de>
2610
2611 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
2612
060b3ab4
TV
26132019-09-27 Tom de Vries <tdevries@suse.de>
2614
2615 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
2616
68f7d34d
TV
26172019-09-27 Tom de Vries <tdevries@suse.de>
2618
2619 PR record/23188
2620 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
2621
5d63b30a
TT
26222019-09-26 Tom Tromey <tromey@adacore.com>
2623
2624 * gdb.ada/py_taft.exp: New file.
2625 * gdb.ada/py_taft/main.adb: New file.
2626 * gdb.ada/py_taft/pkg.adb: New file.
2627 * gdb.ada/py_taft/pkg.ads: New file.
2628
3d435220
TV
26292019-09-24 Tom de Vries <tdevries@suse.de>
2630
2631 PR gdb/24598
2632 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
2633
77d03678
TV
26342019-09-22 Tom de Vries <tdevries@suse.de>
2635
2636 * gdb.base/restore.exp: Allow register variables to be optimized out at
2637 -O0.
2638
abf516c6
UW
26392019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
2640
2641 * gdb.arch/spu-info.exp: Remove file.
2642 * gdb.arch/spu-info.c: Remove file.
2643 * gdb.arch/spu-ls.exp: Remove file.
2644 * gdb.arch/spu-ls.c: Remove file.
2645
2646 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
2647 * gdb.asm/spu.inc: Remove file.
2648
2649 * gdb.base/dump.exp: Remove support for spu*-*-*.
2650 * gdb.base/stack-checking.exp: Likewise.
2651 * gdb.base/overlays.exp: Likewise.
2652 * gdb.base/ovlymgr.c: Likewise.
2653 * gdb.base/spu.ld: Remove file.
2654
2655 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
2656 * gdb.cp/cpexprs.exp: Likewise.
2657 * gdb.cp/exception.exp: Likewise.
2658 * gdb.cp/gdb2495.exp: Likewise.
2659 * gdb.cp/mb-templates.exp: Likewise.
2660 * gdb.cp/pr9167.exp: Likewise.
2661 * gdb.cp/userdef.exp: Likewise.
2662
2663 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
2664
2665 * gdb.cell: Remove directory.
2666 * lib/cell.exp: Remove file.
2667
e452e88f
TV
26682019-09-19 Tom de Vries <tdevries@suse.de>
2669
2670 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
2671
8a625130
TV
26722019-09-19 Tom de Vries <tdevries@suse.de>
2673
2674 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
2675
81dc3ab5
TV
26762019-09-19 Tom de Vries <tdevries@suse.de>
2677
2678 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
2679 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
2680 (gdb_target_cmd): ... here.
2681 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
2682 value 2.
2683
b078f3ac
AB
26842019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2685
2686 * gdb.base/source-dir.exp: Avoid having directory names in test
2687 names.
2688
f1b620e9
MG
26892019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2690
2691 * gdb.base/source-dir.exp: Add extra test for mapped compilation
2692 directory.
2693
67f3ed6a
AB
26942019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2695
2696 * gdb.base/list-missing-source.exp: New file.
2697
d1b70248
TV
26982019-09-14 Tom de Vries <tdevries@suse.de>
2699
2700 PR teststuite/24599
2701 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
2702 * lib/ada.exp (gnatmake_version_at_least): New proc.
2703
5fabdcd6
AB
27042019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2705
2706 * gdb.base/maint.exp: Use exec_has_index_section.
2707
aa17805f
AB
27082019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2709
2710 * gdb.base/maint.exp: Add test for 'maint info sections'.
2711
25e5c209
TV
27122019-09-12 Tom de Vries <tdevries@suse.de>
2713
2714 * gdb.base/store.exp: Allow register variables to be optimized out at
2715 -O0.
2716
4993045d
PW
27172019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2718
2719 * gdb.ada/rdv_wait.exp: Update to new task names.
2720 * gdb.base/task_switch_in_core.exp: Likewise.
2721 * gdb.base/info_sources_base.c: Likewise.
2722
8a516164
TT
27232019-09-10 Tom Tromey <tromey@adacore.com>
2724
2725 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
2726
aa391654
TT
27272019-09-10 Tom Tromey <tromey@adacore.com>
2728
2729 * gdb.ada/dgopt.exp: New file.
2730 * gdb.ada/dgopt/x.adb: New file.
2731
8634b462
TT
27322019-09-08 Tom Tromey <tom@tromey.com>
2733
2734 * gdb.tui/resize.exp: Remove setup_xfail.
2735 * gdb.tui/regs.exp: Remove setup_xfail.
2736 * gdb.tui/basic.exp: Remove setup_xfail.
2737
736b0f76
DB
27382019-09-06 David Blaikie <dblaikie@gmail.com>
2739
2740 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
2741 * gdb.cp/cplabel.exp: Ditto.
2742 * gdb.linespec/ls-errs.exp: Ditto.
2743
30331a6c
TV
27442019-09-05 Tom de Vries <tdevries@suse.de>
2745
2746 * lib/gdb.exp (cmp_file_string): New proc.
2747 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
2748 runto_main. Verify save breakpoints output.
2749
98b0ebab
PW
27502019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2751
2752 * gdb.base/info-var.exp: Test info variables without running
2753 to main, to avoid expect's buffer overflow.
2754
4e962e74
TT
27552019-09-03 Tom Tromey <tromey@adacore.com>
2756
2757 * gdb.ada/bias.exp: New file.
2758 * gdb.ada/bias/bias.adb: New file.
2759 * gdb.ada/print_chars.exp: Add regression test.
2760 * gdb.ada/print_chars/foo.adb (My_Character): New type.
2761 (MC): New variable.
2762
2ea1a07a
SL
27632019-08-29 Sandra Loosemore <sandra@codesourcery.com>
2764
2765 * gdb.base/argv0-symlink.exp: Run only on native target
2766 and local host.
2767
8077c50d
TV
27682019-08-29 Tom de Vries <tdevries@suse.de>
2769
2770 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
2771 diverse debug info.
2772 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
2773
48352473
TV
27742019-08-28 Tom de Vries <tdevries@suse.de>
2775
2776 * gdb.base/info-var.exp: Allow info variables to print info for files
2777 other than info-var-f1.c and info-var-f2.c.
2778
d8f27c60
AB
27792019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2780
2781 * gdb.fortran/info-types.exp: Add module.
2782 * gdb.fortran/info-types.f90: Update expected results.
2783
1f20c35e
AB
27842019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2785
2786 * gdb.fortran/info-types.exp: New file.
2787 * gdb.fortran/info-types.f90: New file.
2788 * lib/fortran.exp (fortran_character1): New proc.
2789
4acfdd20
AB
27902019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2791
2792 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
2793 functions'. Reindent as needed.
2794 * gdb.base/info-var-f1.c: New file.
2795 * gdb.base/info-var-f2.c: New file.
2796 * gdb.base/info-var.exp: New file.
2797 * gdb.base/info-var.h: New file.
2798
5c31b358
TV
27992019-08-26 Tom de Vries <tdevries@suse.de>
2800
2801 PR c++/24852
2802 * gdb.cp/no-libstdcxx-probe.exp: New test.
2803
b694989f
TV
28042019-08-26 Tom de Vries <tdevries@suse.de>
2805
2806 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
2807 * tests need to be skipped.
2808 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
2809 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
2810 mi_skip_libstdcxx_probe_tests.
2811
d9c4ba53
SDJ
28122019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
2813
2814 * gdb.python/py-xmethods.exp: Use raw strings when passing
2815 arguments to SimpleXMethodMatcher.
2816
395fad09
TV
28172019-08-22 Tom de Vries <tdevries@suse.de>
2818
2819 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
2820 more informative.
2821
26c957f1
PA
28222019-08-21 Pedro Alves <palves@redhat.com>
2823
2824 * gdb.base/with.exp: Test "with" with no arguments.
2825
61f80d5d
TV
28262019-08-21 Tom de Vries <tdevries@suse.de>
2827
2828 * gdb.base/gdb-caching-proc.exp: Sort files.
2829
d7a11d13
TV
28302019-08-20 Tom de Vries <tdevries@suse.de>
2831
2832 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
2833 compilation.
2834
34dafe9f
TV
28352019-08-16 Tom de Vries <tdevries@suse.de>
2836
2837 * gdb.base/compare-sections.exp ("after run to main"): Allow
2838 mismatched read-only sections for PIE executables.
2839
398fdd60
TT
28402019-08-16 Tom Tromey <tom@tromey.com>
2841
2842 * lib/tuiterm.exp (_csi_Z): New proc.
2843 * gdb.tui/basic.exp: Update window positions.
2844 * gdb.tui/empty.exp: Update window positions.
2845
d8f9e51c
SL
28462019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2847
2848 * gdb.base/examine-backward.exp: Correct regexp for
2849 "examine 3 bytes backward from ${address_zero}".
2850
3df505f6
TT
28512019-08-15 Tom Tromey <tom@tromey.com>
2852
2853 * gdb.tui/empty.exp: Enable resizing tests.
2854
272560b5
TT
28552019-08-15 Tom Tromey <tromey@adacore.com>
2856
2857 * gdb.ada/char_enum.exp: Add regression tests.
2858 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
2859 and '0'.
2860 (Char, Gchar): Update.
2861 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
2862
08235187
CB
28632019-08-15 Christian Biesinger <cbiesinger@google.com>
2864
2865 * gdb.python/python.exp: Expect a leading underscore on
2866 GdbOutput{,Error}File.
2867
22a2ab04
SL
28682019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2869
2870 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
2871 Windows host.
2872
835b995b
SL
28732019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2874
2875 * gdb.base/batch-preserve-term-settings.exp
2876 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
2877
97dd8e07
CB
28782019-08-15 Christian Biesinger <cbiesinger@google.com>
2879
2880 * lib/gdb.exp: When running on a mingw target, replace
2881 /x/ with x:/.
2882
75faf5c4
AH
28832019-08-14 Alan Hayward <alan.hayward@arm.com>
2884
2885 * gdb.arch/aarch64-prologue.c: New test.
2886 * gdb.arch/aarch64-prologue.exp: New file.
2887
abc6c00f
TV
28882019-08-13 Tom de Vries <tdevries@suse.de>
2889
2890 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2891 Thread.
2892
74c2c1f4
SL
28932019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2894
2895 * gdb.python/py-completion.exp: Download the .py file to the host
2896 and use its host pathname. Conditionalize tests that use
2897 tab completion and manipulate files on the build machine.
2898 * gdb.python/py-events.exp: Download the .py file to the host
2899 and use its host pathname.
2900 * gdb.python/py-evsignal.exp: Likewise.
2901 * gdb.python/py-evthreads.exp: Likewise.
2902 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2903 pathname syntax.
2904 * gdb.python/py-framefilter.exp: Download the .py file to the right
2905 place on the host. Match Windows pathname syntax.
2906 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2907 .py file to the host and use its host pathname.
2908 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2909 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2910 build pathname. Skip symlink test on Windows host. Add missing
2911 newline at end of file.
2912 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2913 and use its host pathname.
2914 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2915 * gdb.python/py-section-script.exp: Use host location of binfile
2916 on safe-path. Use correct path separator on Windows host.
2917 Reorder alternatives in gdb_test_multiple to prevent matching
2918 the wrong alternative on success.
2919 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2920
ca2589f3
PP
29212019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2922
2923 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2924 expect the GDB inferior to no longer immediately stop after
2925 being resumed with "signal SIGINT".
2926
020a839d
SL
29272019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2928
2929 * gdb.linespec/break-ask.exp: Generalize regexps to match
2930 Windows pathnames too.
2931
128d6509
TV
29322019-08-08 Tom de Vries <tdevries@suse.de>
2933
2934 PR testsuite/24862
2935 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2936
590042fc
PW
29372019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2938
2939 * gdb.base/style.exp: Update tests for help doc new invariants.
2940 * gdb.base/help.exp: Likewise.
2941
046bebe1
TT
29422019-08-06 Tom Tromey <tom@tromey.com>
2943
2944 * gdb.base/style.exp: Add disassemble test.
2945 * gdb.base/style.c (some_called_function): New function.
2946 (main): Use it.
2947
0b27c27d
CB
29482019-08-05 Christian Biesinger <cbiesinger@google.com>
2949
2950 * gdb.python/py-block.exp: Test dictionary access on blocks.
2951
580f1034
SM
29522019-08-05 Simon Marchi <simon.marchi@efficios.com>
2953
2954 PR gdb/24863
2955 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2956 -list-thread-groups --available test when running under
2957 check-read1.
2958
d86bd7cb
TV
29592019-08-05 Tom de Vries <tdevries@suse.de>
2960
2961 PR testsuite/24863
2962 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2963 * gdb.base/help.exp: Use with_read1_timeout_factor.
2964 * gdb.base/info-macros.exp: Same.
2965 * gdb.cp/nested-types.exp: Same.
2966
a80cf5d8
TV
29672019-08-05 Tom de Vries <tdevries@suse.de>
2968
2969 * lib/gdb.exp (version_at_least): Factor out of ...
2970 (tcl_version_at_least): ... here.
2971 (gdb_compile): Fail if pie results in non-PIE executable.
2972 (readelf_version, readelf_prints_pie): New proc.
2973 (exec_is_pie): Return -1 if unknown.
2974
d0962838
TV
29752019-08-05 Tom de Vries <tdevries@suse.de>
2976
2977 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2978
2252ff3d
SL
29792019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2980
2981 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2982
26655f53
SL
29832019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2984
2985 * lib/completion-support.exp (test_gdb_complete_none): Skip
2986 tab completion tests if no readline support.
2987 (test_gdb_complete_unique_re): Likewise.
2988 (test_gdb_complete_multiple): Likewise.
2989
db4dc13e
PW
29902019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2991
2992 * gdb.base/info_sources.exp: New file.
2993 * gdb.base/info_sources.c: New file.
2994 * gdb.base/info_sources_base.c: New file.
2995
0eba165a
PFC
29962019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2997
2998 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2999 prefix argument.
3000 (test_exit_status): Add prefix argument.
3001
59bd512b
TV
30022019-08-01 Tom de Vries <tdevries@suse.de>
3003
3004 PR testsuite/24863
3005 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
3006 calling exp_continue for new thread and thread exited messages.
3007
2a3ad588
TV
30082019-08-01 Tom de Vries <tdevries@suse.de>
3009
3010 PR testsuite/24863
3011 * gdb.base/structs.exp: Fix check-read1 timeout using
3012 gdb_test_sequence.
3013 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
3014
117eb594
TV
30152019-08-01 Tom de Vries <tdevries@suse.de>
3016
3017 PR testsuite/24863
3018 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
3019 line.
3020
ed591340
TV
30212019-08-01 Tom de Vries <tdevries@suse.de>
3022
3023 PR testsuite/24863
3024 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
3025
aa3b6533
TT
30262019-07-30 Tom Tromey <tromey@adacore.com>
3027
3028 * gdb.ada/display_nested.exp: New file.
3029 * gdb.ada/display_nested/foo.adb: New file.
3030 * gdb.ada/display_nested/pack.adb: New file.
3031 * gdb.ada/display_nested/pack.ads: New file.
3032
2906593f
CB
30332019-07-30 Christian Biesinger <cbiesinger@google.com>
3034
3035 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
3036 namespace.
3037 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
3038
0f575925
TV
30392019-07-30 Tom de Vries <tdevries@suse.de>
3040
3041 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
3042 instead.
3043
b13057d9
TV
30442019-07-30 Tom de Vries <tdevries@suse.de>
3045
3046 PR testsuite/24834
3047 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
3048 (exec_is_pie): New proc.
3049
5c4dde85
CB
30502019-07-29 Christian Biesinger <cbiesinger@google.com>
3051
3052 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
3053
c620ed88
CB
30542019-07-29 Christian Biesinger <cbiesinger@google.com>
3055
3056 * gdb.python/py-objfile.c: Add global and static vars.
3057 * gdb.python/py-objfile.exp: Test new functions Objfile.
3058 lookup_global_symbol and lookup_static_symbol.
3059
3d235706
TT
30602019-07-29 Tom Tromey <tom@tromey.com>
3061
3062 * lib/tuiterm.exp (Term::_csi_@): New proc.
3063 (Term::_csi_X): Don't move cursor.
3064
c7e4c0a6
PW
30652019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3066
3067 * gdb.base/options.exp: Update backtrace - completion to
3068 new option -frame-info.
3069 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
3070 Test new 'set print frame-info'. Test backtrace -frame-info
3071 overriding 'set print frame-info'.
3072 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
3073 Test new 'set print frame-info'.
3074 Verify consistency of backtrace with and without filters, with and
3075 without -no-filters.
3076 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
3077 default.
3078
de28a3b7
TV
30792019-07-29 Tom de Vries <tdevries@suse.de>
3080
3081 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
3082 no arguments".
3083
507dd60e
TV
30842019-07-29 Tom de Vries <tdevries@suse.de>
3085
3086 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
3087 is a substring of the first for "complete non-unique file name".
3088
5beafce9
TV
30892019-07-29 Tom de Vries <tdevries@suse.de>
3090
3091 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
3092 with ".*".
3093
2d274232
TV
30942019-07-29 Tom de Vries <tdevries@suse.de>
3095
3096 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
3097 Pass prompt_regexp parameter to gdb_test_multiple calls.
3098
9197cd8b
TV
30992019-07-29 Tom de Vries <tdevries@suse.de>
3100
3101 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 3102 print registers" regexps.
9197cd8b 3103
b528dae0
TV
31042019-07-29 Tom de Vries <tdevries@suse.de>
3105
3106 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
3107
d17725d7
TV
31082019-07-29 Tom de Vries <tdevries@suse.de>
3109
3110 PR gdb/24855
3111 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
3112 (skip_python_tests_prompt): Add prompt_regexp argument to
3113 gdb_test_multiple calls.
3114
52b75bf1
TT
31152019-07-27 Tom Tromey <tom@tromey.com>
3116
3117 * gdb.tui/main.exp: New file.
3118
2b1d00c2
TT
31192019-07-27 Tom Tromey <tom@tromey.com>
3120
3121 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
3122 optional.
3123 * gdb.tui/empty.exp: New file.
3124
ded631d5
TT
31252019-07-27 Tom Tromey <tom@tromey.com>
3126
3127 * lib/tuiterm.exp (spawn): New proc.
3128 (Term::resize): New proc.
3129 * gdb.tui/resize.exp: New file.
3130
58ac439d
TT
31312019-07-27 Tom Tromey <tom@tromey.com>
3132
3133 * gdb.tui/list.exp: New file.
3134
fe1f56ee
TT
31352019-07-27 Tom Tromey <tom@tromey.com>
3136
3137 * gdb.tui/regs.exp: New file.
3138
f790b310
TT
31392019-07-27 Tom Tromey <tom@tromey.com>
3140
3141 * gdb.tui/basic.exp: Add "layout split" test.
3142
d95fc6ee
TT
31432019-07-27 Tom Tromey <tom@tromey.com>
3144
3145 * gdb.tui/basic.exp: Add "layout asm" test.
3146
c3786b3a
TT
31472019-07-27 Tom Tromey <tom@tromey.com>
3148
3149 * lib/tuiterm.exp: New file.
3150 * gdb.tui/basic.exp: New file.
3151
98a617f8
KB
31522019-07-27 Kevin Buettner <kevinb@redhat.com>
3153
3154 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
3155 Enable tests associated with this flag. Adjust regex
3156 referencing "foo_low" to now refer to "foo_cold" instead.
3157
5c076da4
KB
31582019-07-27 Kevin Buettner <kevinb@redhat.com>
3159
3160 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
3161 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
3162 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
3163 foo_cold. Revise comments to match.
3164 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
3165 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
3166 were wrapped into this proc; Call do_test in loop from outermost
3167 level.
3168 (foo_low): Rename all occurrences to "foo_cold".
3169 (backtrace from baz): New test.
3170 (x2/i foo_cold): New test.
3171 (info line *foo_cold): New test.
3172
1512d3b7
TV
31732019-07-26 Tom de Vries <tdevries@suse.de>
3174
3175 * gdb.arch/i386-pkru.exp: Fix unterminated string.
3176
297989a1
TV
31772019-07-25 Tom de Vries <tdevries@suse.de>
3178
3179 PR testsuite/24830
3180 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
3181 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
3182 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
3183 (skip_libstdcxx_probe_tests): ... here.
3184 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
3185
b3b965fb
TV
31862019-07-24 Tom de Vries <tdevries@suse.de>
3187
3188 PR testsuite/24807
3189 * gdb.objc/basicclass.m: Include stdio.h.
3190 * gdb.objc/nondebug.m: Same.
3191 * gdb.objc/objcdecode.m: Same.
3192
4625b4d0
TV
31932019-07-24 Tom de Vries <tdevries@suse.de>
3194
3195 PR testsuite/24612
3196 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
3197 additional_flags.
3198
024a5840
TV
31992019-07-24 Tom de Vries <tdevries@suse.de>
3200
3201 PR testsuite/24831
3202 * gdb.multi/tids.exp: Update error messages for info threads.
3203
c76ddaa3
TV
32042019-07-24 Tom de Vries <tdevries@suse.de>
3205
3206 * gdb.base/info-types.exp: Allow info types to print info for more than
3207 one file.
3208
9a618ef6
TV
32092019-07-23 Tom de Vries <tdevries@suse.de>
3210
3211 PR testsuite/24842
3212 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
3213 gdb_spawn_with_cmdline_opts.
3214
40eadf04
SP
32152019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3216
3217 * gdb.arch/arm-cmse-sgstubs.c: New test.
3218 * gdb.arch/arm-cmse-sgstubs.exp: New file.
3219
5ba29434
TV
32202019-07-23 Tom de Vries <tdevries@suse.de>
3221
3222 PR testsuite/24711
3223 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
3224 issuing next command.
3225
a8e9d247
AB
32262019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3227
3228 * gdb.ada/info_auto_lang.exp: Update expected results.
3229 * gdb.base/info-types.c: Add additional types to check.
3230 * gdb.base/info-types.exp: Update expected results.
3231
eb86c5e2
AB
32322019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3233
3234 * gdb.base/info-types.c: New file.
3235 * gdb.base/info-types.exp: New file.
3236
01e175fe
AB
32372019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
3238
3239 * gdb.arch/riscv-bp-infcall.c: New file.
3240 * gdb.arch/riscv-bp-infcall.exp: New file.
3241
6b78c3f8
AB
32422019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
3243
3244 PR breakpoints/24541
3245 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
3246
da738167
TV
32472019-07-14 Tom de Vries <tdevries@suse.de>
3248
3249 PR testsuite/24760
3250 * gdb.objc/basicclass.exp: Fix unterminated string.
3251
0d4e84ed
AB
32522019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
3253 Andrew Burgess <andrew.burgess@embecosm.com>
3254
3255 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
3256 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
3257 negative bounds.
3258 * gdb.fortran/vla-value.exp: Print elements of an array with
3259 negative bounds.
3260 * gdb.fortran/vla.f90: Setup an array with negative bounds for
3261 testing.
3262
021d8588
AB
32632019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
3264
3265 * gdb.base/options.exp (expect_string): Dequote strings in
3266 results.
3267 (test-string): Test strings with different quoting and reindent.
3268
f06f1252
TT
32692019-07-10 Tom Tromey <tromey@adacore.com>
3270
3271 * gdb.ada/mi_ex_cond.exp: Update expected results.
3272 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
3273 * gdb.ada/mi_catch_ex.exp: Update expected results.
3274 * gdb.ada/mi_catch_assert.exp: Update expected results.
3275 * gdb.ada/catch_ex.exp (catch_exception_info)
3276 (catch_exception_entry, catch_assert_entry)
3277 (catch_unhandled_entry): Update.
3278 * gdb.ada/catch_assert_if.exp: Update expected results.
3279
b863685d
RB
32802019-07-10 Richard Bunt <richard.bunt@arm.com>
3281 Stephen Roberts <stephen.roberts@arm.com>
3282
3283 * gdb.base/define.exp: Restore original prompt.
3284
cb1e4e32
PA
32852019-07-09 Pedro Alves <palves@redhat.com>
3286
3287 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
3288 breakpoints" output.
3289 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
3290 * gdb.python/py-breakpoint.exp: No longer expect that "catch
3291 throw" creates breakpoint.
3292 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
3293 'type="catchpoint"'.
3294
b58a68fe
PA
32952019-07-09 Pedro Alves <palves@redhat.com>
3296
3297 PR c++/15468
3298 * gdb.cp/except-multi-location-lib.cc: New.
3299 * gdb.cp/except-multi-location-main.cc: New.
3300 * gdb.cp/except-multi-location.exp: New.
3301
0826779b
PW
33022019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
3303
3304 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
3305 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
3306 argument and update callers.
3307
5b0e2db4
AB
33082019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3309
3310 * gdb.arch/amd64-break-on-asm-line.S: New file.
3311 * gdb.arch/amd64-break-on-asm-line.exp: New file.
3312
1f6f6e21
PW
33132019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3314
3315 * gdb.base/printcmds.exp: Test printing C string and
3316 C wide string convenience vars without transiting via the inferior.
3317 Also make test names unique.
3318
ea142fbf
AH
33192019-07-08 Alan Hayward <alan.hayward@arm.com>
3320
5862c886 3321 PR breakpoints/25011
ea142fbf
AH
3322 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
3323
213fd9fa
PA
33242019-07-04 Pedro Alves <palves@redhat.com>
3325
3326 * lib/gdb.exp (foreach_with_prefix): Don't return early if
3327 body returned ok(0), break(3) or continue(4).
3328 * gdb.testsuite/foreach_with_prefix.exp: New file.
3329
2b40fda7
AH
33302019-07-04 Alan Hayward <alan.hayward@arm.com>
3331
3332 * gdb.server/unittest.exp: Allow 0 unit tests to run.
3333
a26c8de0
PA
33342019-07-03 Pedro Alves <palves@redhat.com>
3335
3336 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
3337 "return -code".
3338
5f4ba3e7
PA
33392019-07-03 Pedro Alves <palves@redhat.com>
3340
3341 PR cli/24732
3342 * gdb.base/shell.exp: Load completion-support.exp.
3343 Adjust expected error output. Add completion tests.
3344
a994424f
PA
33452019-07-03 Pedro Alves <palves@redhat.com>
3346
3347 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
3348 string_to_regexp.
3349
3d9be6f5
PA
33502019-07-03 Pedro Alves <palves@redhat.com>
3351
3352 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
3353 (expect_integer): Adjust to expect "-string".
3354 (expect_string): New.
3355 (all_options): Expect "-string".
3356 (test-flag, test-boolean): Adjust to expect "-string".
3357 (test-string): New proc.
3358 (top level): Call it.
3359
41fc454c
PA
33602019-07-03 Pedro Alves <palves@redhat.com>
3361
3362 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
3363 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
3364 the expected output in the success.
3365
b2b2a215
PA
33662019-07-03 Pedro Alves <palves@redhat.com>
3367
3368 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3369 Split one gdb_test_multiple call in two to avoid a race.
3370
fdbc9870
PA
33712019-07-03 Pedro Alves <palves@redhat.com>
3372
3373 * gdb.base/with.c: New file.
3374 * gdb.base/with.exp: New file.
3375
c6ac8931
PA
33762019-07-03 Pedro Alves <palves@redhat.com>
3377
3378 * gdb.base/settings.exp: Replace all references to "maint
3379 test-settings set" with references to "maint set test-settings",
3380 and all references to "maint test-settings show" with references
3381 to "maint show test-settings".
3382
970f9d09
PA
33832019-07-03 Pedro Alves <palves@redhat.com>
3384
3385 * gdb.base/settings.exp (test-string): Adjust expected out when
3386 testing "maint test-settings show filename"
3387
54d66006
PA
33882019-07-02 Pedro Alves <palves@redhat.com>
3389
3390 * gdb.base/options.exp (test-info-threads): New procedure.
3391 (top level): Call it.
3392
10d06d82
TT
33932019-06-28 Tom Tromey <tromey@adacore.com>
3394
3395 * gdb.dwarf2/ada-linkage-name.c: New file.
3396 * gdb.dwarf2/ada-linkage-name.exp: New file.
3397
3d507ff2
TT
33982019-06-27 Tom Tromey <tromey@adacore.com>
3399
d039f014 3400 PR c++/20020:
3d507ff2
TT
3401 * gdb.cp/constexpr-field.exp: Use setup_xfail.
3402
8af58ffe
TV
34032019-06-26 Tom de Vries <tdevries@suse.de>
3404
3405 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
3406
22e21752
TV
34072019-06-26 Tom de Vries <tdevries@suse.de>
3408
3409 * gdb.base/index-cache.exp: Add back missing debug option.
3410
b65b566c
PW
34112019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3412
3413 * gdb.base/alias.exp: Test non matching/non existing prefixes.
3414
5c2c8c69
TV
34152019-06-25 Tom de Vries <tdevries@suse.de>
3416
3417 PR testsuite/24727
3418 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
3419
164e3873
TV
34202019-06-24 Tom de Vries <tdevries@suse.de>
3421
3422 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
3423
824eacee
TV
34242019-06-24 Tom de Vries <tdevries@suse.de>
3425
3426 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
3427 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
3428 * gdb.trace/unavailable-dwarf-piece.exp: Same.
3429
385b97d3
TV
34302019-06-24 Tom de Vries <tdevries@suse.de>
3431
3432 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
3433
c596f180
TV
34342019-06-21 Tom de Vries <tdevries@suse.de>
3435
3436 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
3437
b13a7d03
TV
34382019-06-21 Tom de Vries <tdevries@suse.de>
3439
3440 PR testsuite/24518
3441 PR ada/24713
3442 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
3443 index.
3444
899277ae
TT
34452019-06-19 Tom Tromey <tromey@adacore.com>
3446
3447 * gdb.ada/length_cond.exp: Add intro comment.
3448
680e1bee
TT
34492019-06-19 Tom Tromey <tromey@adacore.com>
3450
3451 * gdb.ada/length_cond.exp: New file.
3452 * gdb.ada/length_cond/length_cond.adb: New file.
3453 * gdb.ada/length_cond/pck.adb: New file.
3454 * gdb.ada/length_cond/pck.ads: New file.
3455
0ed4690a
TV
34562019-06-18 Tom de Vries <tdevries@suse.de>
3457
3458 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
3459
d20ed5fd
TT
34602019-06-18 Tom Tromey <tromey@adacore.com>
3461
3462 * gdb.base/list0.h: Add comment explaining control character.
3463
86e04673
TV
34642019-06-18 Tom de Vries <tdevries@suse.de>
3465
3466 * boards/fission.exp: Break up long debug_flags line.
3467
c4973306
SM
34682019-06-16 Tom de Vries <tdevries@suse.de>
3469
3470 PR gdb/24445
3471 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
3472 generated index.
3473
93cb9841
AB
34742019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3475
3476 PR gdb/24686
3477 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
3478 improve detection of bug gdb/24541.
3479
399aaebd
SM
34802019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
3481
3482 PR gdb/24669
3483 * gdb.base/index-cache.exp (uses_readnow,
3484 expecting_index_cache_use): Define global variable.
3485 (test_cache_enabled_miss, test_cache_enabled_hit): Use
3486 expecting_index_cache_use.
3487
584a927c
AB
34882019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
3489 Andrew Burgess <andrew.burgess@embecosm.com>
3490
3491 * gdb.fortran/pointers.f90: New file.
3492 * gdb.fortran/print_type.exp: New file.
3493 * gdb.fortran/vla-ptype.exp: Adapt expected results.
3494 * gdb.fortran/vla-type.exp: Likewise.
3495 * gdb.fortran/vla-value.exp: Likewise.
3496 * gdb.mi/mi-vla-fortran.exp: Likewise.
3497
30056ea0
AB
34982019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3499
3500 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
3501 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
3502 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
3503 as a stop reason.
3504
ec8e2b6d
AB
35052019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3506
3507 * gdb.base/annota1.exp: Update expected results.
3508 * gdb.cp/annota2.exp: Likewise.
3509 * gdb.cp/annota3.exp: Likewise.
3510
09e4c4e1
AB
35112019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3512
3513 * gdb.base/style-logging.exp: Remove path from test name.
3514
0735b091
TT
35152019-06-14 Tom Tromey <tromey@adacore.com>
3516
3517 PR gdb/24502:
3518 * gdb.base/style-logging.exp: New file.
3519
f5686554
TT
35202019-06-14 Tom Tromey <tromey@adacore.com>
3521
3522 * gdb.base/symfile-warn.exp: New file.
3523 * gdb.base/symfile-warn.c: New file.
3524
a0c1ffed
TT
35252019-06-14 Tom Tromey <tromey@adacore.com>
3526
3527 * gdb.base/annotate-symlink.exp: New file.
3528
f411722c
TT
35292019-06-14 Tom Tromey <tromey@adacore.com>
3530
3531 * gdb.ada/set_wstr.exp: Add reassignment test.
3532
4268ec18
TT
35332019-06-14 Tom Tromey <tromey@adacore.com>
3534
3535 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
3536 'unchecked_access and 'unrestricted_access as well.
3537
9a9e394b
TT
35382019-06-14 Tom Tromey <tromey@adacore.com>
3539
3540 PR ada/24539:
3541 * gdb.ada/vla.exp: Update tests.
3542 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
3543 pragma.
3544
4c048731
PA
35452019-06-13 Pedro Alves <palves@redhat.com>
3546
3547 * gdb.base/settings.exp (test-integer): Test junk after
3548 "unlimited".
3549
6665660a
PA
35502019-06-13 Pedro Alves <palves@redhat.com>
3551
3552 * gdb.base/options.exp (test-thread-apply): New.
3553 (top level): Call it.
3554
5d707134
PA
35552019-06-13 Pedro Alves <palves@redhat.com>
3556
3557 * gdb.base/options.exp (test-frame-apply): New.
3558 (top level): Test print commands with different "frame apply"
3559 prefixes.
3560
e2a689da
PA
35612019-06-13 Pedro Alves <palves@redhat.com>
3562
e79be6e5 3563 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
3564 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
3565 'max_completions' parameter and handle it.
3566 (test_gdb_completion_offers_commands): New.
3567
90a1ef87
PA
35682019-06-13 Pedro Alves <palves@redhat.com>
3569
3570 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
3571
d4c16835
PA
35722019-06-13 Pedro Alves <palves@redhat.com>
3573
3574 * gdb.base/options.exp (test-backtrace): New.
3575 (top level): Call it.
3576
2daf894e
PA
35772019-06-13 Pedro Alves <palves@redhat.com>
3578
3579 * gdb.guile/scm-frame-args.exp: Use "set print
3580 raw-frame-arguments" instead of "set print raw frame-arguments".
3581 * gdb.python/py-frame-args.exp: Likewise.
3582
e6ed716c
PA
35832019-06-13 Pedro Alves <palves@redhat.com>
3584
3585 * gdb.compile/compile.exp: Adjust expected output to option
3586 processing changes.
3587
7d8062de
PA
35882019-06-13 Pedro Alves <palves@redhat.com>
3589
3590 * gdb.base/options.exp: Build executable.
3591 (test-print): New procedure.
3592 (top level): Call it, once for "print" and another for "compile
3593 print".
3594
9d0faba9
PA
35952019-06-13 Pedro Alves <palves@redhat.com>
3596
3597 * gdb.base/options.c: New file.
3598 * gdb.base/options.exp: New file.
3599
dee7b4c8
PA
36002019-06-13 Pedro Alves <palves@redhat.com>
3601
3602 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
3603 that "o" is ambiguous.
3604
dca0f6c0
PA
36052019-06-13 Pedro Alves <palves@redhat.com>
3606
3607 * gdb.base/settings.c: New file.
3608 * gdb.base/settings.exp: New file.
3609
ccf46844
PA
36102019-06-13 Pedro Alves <palves@redhat.com>
3611
3612 * gdb.base/completion.exp: Fix comment typo.
3613
b9a3f842
PA
36142019-06-13 Pedro Alves <palves@redhat.com>
3615
3616 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
3617 foo --1" test.
3618
d106773e
PA
36192019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
3620
3621 * gdb.fortran/block-data.f: New.
3622 * gdb.fortran/block-data.exp: New.
3623
fea82da0
TV
36242019-06-11 Tom de Vries <tdevries@suse.de>
3625
3626 PR testsuite/24521
3627 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
3628 message.
3629
8c2e74f1
TV
36302019-06-11 Tom de Vries <tdevries@suse.de>
3631
3632 PR testsuite/24521
3633 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
3634
b49851c8
TV
36352019-06-11 Tom de Vries <tdevries@suse.de>
3636
3637 * boards/readnow.exp: New file.
3638
a7067863
AB
36392019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
3640
3641 * gdb.fortran/vla-sizeof.exp: Update expected results.
3642
1a3da2cd
AB
36432019-06-06 Amos Bird <amosbird@gmail.com>
3644
3645 * gdb.base/annota1.exp (thread_switch): Add test for
3646 thread-exited annotation.
3647
3847a7bf
TT
36482019-06-06 Tom Tromey <tromey@adacore.com>
3649
3650 * gdb.base/maint.exp: Expect command started/finished output.
3651
0088ba59
AB
36522019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3653
3654 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
3655 comment.
3656 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
3657
312617a3
AB
36582019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3659
3660 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
3661 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
3662 * gdb.arch/riscv-unwind-long-insn.c: New file.
3663 * gdb.arch/riscv-unwind-long-insn.exp: New file.
3664
e1f2e1a2
CB
36652019-06-04 Christian Biesinger <cbiesinger@google.com>
3666
d3238f7d 3667 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 3668
206584bd
PW
36692019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3670
3671 * lib/gdb.exp (help_list_trailer): New regexp variable
3672 factorizing the help trailer message.
3673 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
3674 arg to allow to better factorize various tests.
3675 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
3676 (test_prefix_command_help): Use help_list_trailer.
3677 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
3678 * gdb.guile/scm-cmd.exp: Likewise.
3679 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
3680 * gdb.base/help.exp: Use test_user_defined_class_help.
3681 * gdb.base/style.exp: Add tests for styling of help and apropos.
3682 * lib/gdb-utils.exp (style): Add title and highlight styles.
3683
708dc93e
PW
36842019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3685
3686 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
3687 $_shell_exitsignal.
3688 * gdb.base/default.exp: Update for new convenience variables.
3689
f49055a5
TT
36902019-05-29 Tom Tromey <tromey@adacore.com>
3691
3692 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
3693 to "break complete ada" test case's regexp.
3694
4330d61d
TT
36952019-05-29 Tom Tromey <tromey@adacore.com>
3696
3697 PR c++/20020:
3698 * gdb.cp/constexpr-field.exp: New file.
3699 * gdb.cp/constexpr-field.cc: New file.
3700
000439d5
TT
37012019-05-29 Tom Tromey <tromey@adacore.com>
3702
3703 * gdb.base/finish.exp (finish_no_print): New proc.
3704 (finish_tests): Call it.
3705
5a01c34c
TV
37062019-05-24 Tom de Vries <tdevries@suse.de>
3707
3708 * gdb.dwarf2/gdb-add-index.exp: New file.
3709
18125b16
TT
37102019-05-22 Tom Tromey <tromey@adacore.com>
3711
3712 * gdb.base/info-shared.exp (check_info_shared): Use "style".
3713 * gdb.base/style.exp: Use "style".
3714 * lib/gdb-utils.exp (style): New proc.
3715
af1a8d03
TV
37162019-05-22 Tom de Vries <tdevries@suse.de>
3717
3718 * gdb.base/align.exp: Require c++11.
3719
e7fe496b
TV
37202019-05-22 Tom de Vries <tdevries@suse.de>
3721
3722 PR testsuite/24586
3723 * gdb.python/py-mi-var-info-path-expression.exp: Call
3724 mi_skip_python_tests to check if python is supported.
3725
8fca4da0
AH
37262019-05-22 Alan Hayward <alan.hayward@arm.com>
3727
3728 * gdb.arch/aarch64-pauth.c: New test.
3729 * gdb.arch/aarch64-pauth.exp: New file.
3730
b7060614
AH
37312019-05-22 Alan Hayward <alan.hayward@arm.com>
3732
3733 * README (Re-running Tests Outside The Testsuite): New section.
3734
669d0468
TV
37352019-05-21 Tom de Vries <tdevries@suse.de>
3736
3737 * gdb.arch/amd64-eval.exp: Require c++11.
3738 * gdb.base/max-depth.exp: Same.
3739 * gdb.compile/compile-cplus-array-decay.exp: Same.
3740 * gdb.cp/meth-typedefs.exp: Same.
3741 * gdb.cp/subtypes.exp: Same.
3742 * gdb.cp/temargs.exp: Same.
3743
ce3ebcaa
AH
37442019-05-21 Alan Hayward <alan.hayward@arm.com>
3745
3746 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
3747
34d11c68
AB
37482019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3749
3750 PR gdb/18644
3751 * gdb.fortran/complex.exp: Remove setup_kfail calls.
3752 * gdb.fortran/printing-types.exp: Add new test.
3753 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
3754 testing.
3755 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
3756 setup_kfail call.
3757
87781e84
AH
37582019-05-17 Alan Hayward <alan.hayward@arm.com>
3759
3760 * README (Running the Testsuite): Change example.
3761 (Testsuite Parameters): Remove TRANSCRIPT.
3762 * lib/gdb.exp: Remove TRANSCRIPT check.
3763
b420b89e
AH
37642019-05-17 Alan Hayward <alan.hayward@arm.com>
3765
3766 * README (Testsuite Parameters): Add replay logging to
3767 GDBSERVER_DEBUG.
3768 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
3769 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
3770 as a comma separated list.
3771 (gdb_debug_init): Override procedure.
3772
408e9b8b
AH
37732019-05-17 Alan Hayward <alan.hayward@arm.com>
3774
3775 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
3776 (gdb_write_cmd_file): New procedure.
3777 * lib/gdbserver-support.exp (gdbserver_start): Call
3778 gdbserver_write_cmd_file.
3779 (gdbserver_write_cmd_file): New procedure.
3780
f9e2e39d
AH
37812019-05-17 Alan Hayward <alan.hayward@arm.com>
3782
3783 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
3784 (delete_breakpoints): Likewise.
3785 (gdb_run_cmd): Likewise.
3786 (gdb_start_cmd): Likewise.
3787 (gdb_starti_cmd): Likewise.
3788 (gdb_internal_error_resync): Likewise.
3789 (gdb_test_multiple): Likewise.
3790 (gdb_reinitialize_dir): Likewise.
3791 (default_gdb_exit): Likewise.
3792 (gdb_file_cmd): Mark kill as optional.
3793 (default_gdb_start): Call gdb_stdin_log_init.
3794 (send_gdb): Call gdb_stdin_log_write.
3795 (rerun_to_main): Mark Y as an answer.
3796 (gdb_stdin_log_init): New function.
3797 (gdb_stdin_log_write): Likewise.
3798
81f47ac2
AH
37992019-05-17 Alan Hayward <alan.hayward@arm.com>
3800
3801 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
3802 * gdb.base/debug-expr.exp: Likewise.
3803 * gdb.base/foll-fork.exp: Likewise.
3804 * gdb.base/foll-vfork.exp: Likewise.
3805 * gdb.base/fork-print-inferior-events.exp: Likewise.
3806 * gdb.base/gdb-sigterm.exp: Likewise.
3807 * gdb.base/gdbinit-history.exp: Likewise.
3808 * gdb.base/osabi.exp: Likewise.
3809 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3810 * gdb.base/ui-redirect.exp: Likewise.
3811 * gdb.gdb/unittest.exp: Likewise.
3812 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
3813 * gdb.mi/mi-watch.exp: Likewise.
3814 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3815 * gdb.mi/user-selected-context-sync.exp: Likewise.
3816 * gdb.python/python.exp: Disable debug test when debugging.
3817 * gdb.threads/check-libthread-db.exp: Disable when debugging.
3818 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3819 Likewise.
3820 * gdb.threads/stepi-random-signal.exp: Likewise.
3821
29b52314
AH
38222019-05-17 Alan Hayward <alan.hayward@arm.com>
3823
3824 * Makefile.in: Pass through GDB_DEBUG.
3825 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
3826 (gdb,debug): Add board setting.
3827 * lib/gdb.exp (default_gdb_start): Start debugging.
3828 (gdb_debug_enabled): New procedure.
3829 (gdb_debug_init): Likewise.
29b52314
AH
3830
38312019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 3832
29b52314
AH
3833 * Makefile.in: Pass through GDB_DEBUG.
3834 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
3835 (gdb,debug): Add board setting.
3836 * lib/gdb.exp (default_gdb_start): Start debugging.
3837 (gdb_debug_enabled): New procedure.
3838 (gdb_debug_init): Likewise.
29b52314 3839
ca1285d1
AH
38402019-05-17 Alan Hayward <alan.hayward@arm.com>
3841
3842 * gdb.base/ui-redirect.exp: Add debug redirect tests.
3843
f3a09c80
AH
38442019-05-17 Alan Hayward <alan.hayward@arm.com>
3845
3846 * gdb.base/ui-redirect.exp: Test redirection.
3847
26648588
JV
38482019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
3849
3850 * gdb.mi/mi-complete.exp: New file.
3851 * gdb.mi/mi-complete.cc: Likewise.
3852
14237686
AB
38532019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
3854
3855 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
3856 indexed and sliced arrays, and pointers to arrays.
3857
e7bd7fba
TT
38582019-05-14 Tom Tromey <tromey@adacore.com>
3859
3860 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
3861 styling test.
3862
2764128d
TV
38632019-05-14 Tom de Vries <tdevries@suse.de>
3864
3865 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
3866 selection entry encoding.
3867
71bed2db
TT
38682019-05-10 Tom Tromey <tromey@adacore.com>
3869
3870 * gdb.ada/info_exc.exp: Add "complete" test.
3871
63b667ad
TV
38722019-05-09 Tom de Vries <tdevries@suse.de>
3873
3874 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
3875 CU-relative.
3876
9cfd2b89
TV
38772019-05-09 Tom de Vries <tdevries@suse.de>
3878
3879 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
3880 CU-relative.
3881
2228ef77
XR
38822019-05-08 Joel Brobecker <brobecker@adacore.com>
3883
3884 * gdb.ada/frame_arg_lang.exp: New testcase.
3885 * gdb.ada/frame_arg_lang/bla.adb: New file.
3886 * gdb.ada/frame_arg_lang/pck.ads: New file.
3887 * gdb.ada/frame_arg_lang/pck.adb: New file.
3888 * gdb.ada/frame_arg_lang/foo.c: New file.
3889
80e55b13
TT
38902019-05-08 Tom Tromey <tromey@adacore.com>
3891
3892 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3893
9d3421af
TT
38942019-05-08 Tom Tromey <tromey@adacore.com>
3895
3896 * gdb.base/ptype-offsets.exp: Update tests.
3897
844333e2
TT
38982019-05-08 Tom Tromey <tromey@adacore.com>
3899
3900 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3901 cases.
3902 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3903 "short".
3904
988915ee
TT
39052019-05-08 Tom Tromey <tromey@adacore.com>
3906
3907 * gdb.ada/vla.exp: New file.
3908 * gdb.ada/vla/vla.adb: New file.
3909
7bd55dac
TV
39102019-05-07 Tom de Vries <tdevries@suse.de>
3911
3912 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3913
75f06e9d
TV
39142019-05-07 Tom de Vries <tdevries@suse.de>
3915
3916 PR testsuite/24522
3917 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3918 section.
3919
77e7aaa4
TV
39202019-05-07 Tom de Vries <tdevries@suse.de>
3921
3922 PR testsuite/24522
3923 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3924 .debug_aranges section.
3925
456ba0fa
TV
39262019-05-07 Tom de Vries <tdevries@suse.de>
3927
3928 PR testsuite/24159
3929 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3930
5a56d6a6
TV
39312019-05-06 Tom de Vries <tdevries@suse.de>
3932
3933 * lib/gdb.exp (exec_has_index_section): New proc.
3934 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3935 section.
3936
9d6d4be8
TV
39372019-05-04 Tom de Vries <tdevries@suse.de>
3938
3939 * boards/cc-with-debug-names.exp: New file.
3940
222a8d25
TT
39412019-05-03 Tom Tromey <tromey@adacore.com>
3942
3943 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3944 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3945 * gdb.ada/char_enum.exp: Add test.
3946
0fdfd794
TV
39472019-05-03 Tom de Vries <tdevries@suse.de>
3948
3949 * boards/cc-with-gdb-index.exp: New file.
3950
80062eb9
AB
39512019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3952
3953 * gdb.rust/simple.exp: Add new test case.
3954 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3955 (main): Initialise an instance of the new struct.
3956
4504bbde
TT
39572019-05-01 Tom Tromey <tromey@adacore.com>
3958
3959 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3960 record.
3961 (NPR): New variable.
3962 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3963 test.
3964
d48e62f4
TT
39652019-05-01 Tom Tromey <tromey@adacore.com>
3966
3967 * gdb.ada/packed_array_assign.exp: Add packed assignment
3968 regression test.
3969
f59f30f5
TV
39702019-05-01 Tom de Vries <tdevries@suse.de>
3971
3972 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3973
b70bfc54
TV
39742019-05-01 Tom de Vries <tdevries@suse.de>
3975
3976 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3977
15f18d14
AT
39782019-04-30 Ali Tamur <tamur@google.com>
3979
3980 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3981
2ff0a947
TT
39822019-04-30 Tom Tromey <tromey@adacore.com>
3983
3984 * lib/ada.exp (find_ada_tool): New proc.
3985 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3986 * gdb.ada/catch_ex_std.exp: New file.
3987 * gdb.ada/catch_ex_std/foo.adb: New file.
3988 * gdb.ada/catch_ex_std/some_package.adb: New file.
3989 * gdb.ada/catch_ex_std/some_package.ads: New file.
3990
a776957c
TT
39912019-04-30 Tom Tromey <tromey@adacore.com>
3992
3993 PR c++/24470:
3994 * gdb.cp/temargs.cc: Add test code from PR.
3995
bc68014d
AB
39962019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3997
3998 * gdb.fortran/vla-datatypes.exp: Update expected results.
3999 * gdb.fortran/vla-ptype.exp: Likewise.
4000 * gdb.fortran/vla-type.exp: Likewise.
4001 * gdb.fortran/vla-value.exp: Likewise.
4002
f1fdc960
AB
40032019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4004
4005 * gdb.fortran/ptr-indentation.exp: Update expected results.
4006 * gdb.fortran/ptype-on-functions.exp: Likewise.
4007 * gdb.fortran/vla-ptr-info.exp: Likewise.
4008 * gdb.fortran/vla-value.exp: Likewise.
4009
bf7a4de1
AB
40102019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4011
4012 * gdb.fortran/ptype-on-functions.exp: New file.
4013 * gdb.fortran/ptype-on-functions.f90: New file.
4014
bbe75b9d
AB
40152019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4016
4017 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
4018 case void string.
4019
1db455a7
AB
40202019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4021
4022 * gdb.fortran/complex.exp: Expand.
4023 * gdb.fortran/complex.f: Renamed to...
4024 * gdb.fortran/complex.f90: ...this, and extended to add more
4025 complex values.
4026
b6d03bb2
AB
40272019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4028
4029 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
4030 MODULO, CMPLX.
4031
2e62ab40
AB
40322019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
4033 Richard Bunt <richard.bunt@arm.com>
4034
4035 * gdb.base/max-depth.c: New file.
4036 * gdb.base/max-depth.exp: New file.
4037 * gdb.python/py-nested-maps.c: New file.
4038 * gdb.python/py-nested-maps.exp: New file.
4039 * gdb.python/py-nested-maps.py: New file.
4040 * gdb.python/py-format-string.exp (test_max_depth): New proc.
4041 (test_all_common): Call test_max_depth.
4042 * gdb.fortran/max-depth.exp: New file.
4043 * gdb.fortran/max-depth.f90: New file.
4044 * gdb.go/max-depth.exp: New file.
4045 * gdb.go/max-depth.go: New file.
4046 * gdb.modula2/max-depth.exp: New file.
4047 * gdb.modula2/max-depth.c: New file.
4048 * lib/gdb.exp (get_print_expr_at_depths): New proc.
4049
d2b584a5
TV
40502019-04-29 Tom de Vries <tdevries@suse.de>
4051
4052 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
4053
136afab8
PW
40542019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4055
4056 * gdb.base/callexit.exp: Test may-call-functions off.
4057
725cbb63
KS
40582019-04-25 Keith Seitz <keiths@redhat.com>
4059
4060 PR c++/24367
4061 * gdb.cp/meth-typedefs.cc (incomplete_struct)
4062 (another_incomplete_struct, test_incomplete): New definitions.
4063 (main): Use new definitions.
4064 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
4065 functions.
4066
701adfb0
PA
40672019-04-25 Ali Tamur <tamur@google.com>
4068
4069 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
4070
82433e3e
SDJ
40712019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
4072
4073 PR corefiles/11608
4074 PR corefiles/18187
4075 * gdb.base/coredump-filter-build-id.exp: New file.
4076
dd06d4d6
AH
40772019-04-25 Alan Hayward <alan.hayward@arm.com>
4078
e79be6e5
SM
4079 * Makefile.in: Pass through GDBSERVER_DEBUG.
4080 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
4081 (gdbserver,debug): Add board setting.
4082 * gdb.trace/tspeed.exp: Skip when debugging.
4083 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
4084 * lib/gdbserver-support.exp: Likewise
dd06d4d6 4085
1670072e
TT
40862019-04-24 Tom Tromey <tromey@adacore.com>
4087
4088 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
4089 Rust.
4090
a59240a4
TT
40912019-04-24 Tom Tromey <tromey@adacore.com>
4092
4093 * gdb.arch/amd64-eval.exp: Test bitfield return.
4094 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
4095 (class Foo) <return_bitfields>: New method.
4096 (main): Call it.
4097
b907456c
AB
40982019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
4099
4100 * gdb.cp/many-args.cc: New file.
4101 * gdb.cp/many-args.exp: New file.
4102
5c565afd
TV
41032019-04-23 Tom de Vries <tdevries@suse.de>
4104
4105 PR gdb/24433
4106 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
4107
ba22ff86
AH
41082019-04-23 Alan Hayward <alan.hayward@arm.com>
4109
4110 * gdb.trace/backtrace.exp: Use nopie flag.
4111 * gdb.trace/circ.exp: Likewise.
4112 * gdb.trace/collection.exp: Likewise.
4113 * gdb.trace/ftrace.exp: Likewise.
4114 * gdb.trace/mi-trace-unavailable.exp: Likewise.
4115 * gdb.trace/mi-traceframe-changed.exp: Likewise.
4116 * gdb.trace/qtro.exp: Likewise.
4117 * gdb.trace/read-memory.exp: Likewise.
4118 * gdb.trace/report.exp: Likewise.
4119 * gdb.trace/tfile.exp: Likewise.
4120 * gdb.trace/tfind.exp: Likewise.
4121 * gdb.trace/unavailable.exp: Likewise.
4122
7905fc35
PA
41232019-04-22 Pedro Alves <palves@redhat.com>
4124
4125 * gdb.base/solib-probes-nosharedlibrary.c,
4126 gdb.base/solib-probes-nosharedlibrary.exp: New files.
4127
8ecb59f8
TT
41282019-04-19 Tom Tromey <tromey@adacore.com>
4129
4130 * gdb.ada/ptype_union.c: New file.
4131 * gdb.ada/ptype_union.exp: New file.
4132
62160ec9
TT
41332019-04-19 Tom Tromey <tromey@adacore.com>
4134
4135 PR symtab/24423:
4136 * gdb.base/list0.h (foo): Add a control-l character.
4137
36cd4ba5
TV
41382019-04-18 Tom de Vries <tdevries@suse.de>
4139
4140 PR gdb/24433
4141 * boards/local-board.exp: Set sysroot to "".
4142
b73715df
TV
41432019-04-18 Tom de Vries <tdevries@suse.de>
4144 Pedro Alves <palves@redhat.com>
4145
4146 PR gdb/24454
4147 * gdb.threads/vfork-follow-child-exec.c: New file.
4148 * gdb.threads/vfork-follow-child-exec.exp: New file.
4149 * gdb.threads/vfork-follow-child-exit.c: New file.
4150 * gdb.threads/vfork-follow-child-exit.exp: New file.
4151
4aa866af
LS
41522019-04-15 Leszek Swirski <leszeks@google.com>
4153
4154 * gdb.arch/amd64-eval.cc: New file.
4155 * gdb.arch/amd64-eval.exp: New file.
4156
e5a1a79a
AH
41572019-04-11 Alan Hayward <alan.hayward@arm.com>
4158
4159 * gdb.server/sysroot.c: New test.
4160 * gdb.server/sysroot.exp: New file.
4161 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
4162 matching param.
4163
41077b66
AB
41642019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
4165
4166 * gdb.base/align.exp: Extend test to cover structures containing
4167 only static fields.
4168
c30391f8
TV
41692019-04-11 Tom de Vries <tdevries@suse.de>
4170
4171 * boards/cc-with-dwz-m.exp: New file.
4172 * boards/cc-with-dwz.exp: New file.
4173 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
4174
e242fd12
SM
41752019-04-09 Simon Marchi <simon.marchi@efficios.com>
4176
4177 * gdb.base/start-cpp.exp: New file.
4178 * gdb.base/start-cpp.cc: New file.
4179
2b0c8b01
KB
41802019-04-08 Kevin Buettner <kevinb@redhat.com>
4181
4182 * gdb.python/py-thrhandle.exp: Adjust tests to call
4183 thread_from_handle instead of thread_from_thread_handle.
4184
947210e5
KB
41852019-04-08 Kevin Buettner <kevinb@redhat.com>
4186
4187 * gdb.python/py-thrhandle.exp: Add tests for
4188 gdb.InferiorThread.handle.
4189
d7df6549
AB
41902019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4191
4192 * gdb.python/py-function.exp: Check calling helper function from
4193 all languages.
4194 * lib/gdb.exp (gdb_supported_languages): New proc.
4195
8bdc1658
AB
41962019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4197
4198 * gdb.base/complex-parts.c: New file.
4199 * gdb.base/complex-parts.exp: New file.
4200
05caa1d2
TT
42012019-04-01 Tom Tromey <tromey@adacore.com>
4202
4203 PR symtab/23331:
4204 * gdb.dwarf2/dw2-ranges-main.c: New file.
4205 * gdb.dwarf2/dw2-ranges-psym.c: New file.
4206 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
4207
7734102d
EZ
42082019-03-30 Simon Marchi <simark@simark.ca>
4209
4210 * gdb.base/default.exp: Add values for $_gdb_major and
4211 $_gdb_minor.
4212
188e1fa9
TT
42132019-03-29 Tom Tromey <tromey@adacore.com>
4214
4215 * gdb.base/help.exp: Tighten apropos regexp.
4216
2880242d
KS
42172019-03-29 Keith Seitz <keiths@redhat.com>
4218
4219 * gdb.fortran/array-bounds.exp: New file.
4220 * gdb.fortran/array-bounds.f90: New file.
4221
077cad8e
PW
42222019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4223
4224 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
4225
80047cfc
PW
42262019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4227
4228 * gdb.multi/hello.c (main): Increase alarm timer.
4229
f489207e
SL
42302019-03-28 Sandra Loosemore <sandra@codesourcery.com>
4231
4232 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
4233 factor when no hardware watchpoint support.
4234
c92df149
AH
42352019-03-28 Alan Hayward <alan.hayward@arm.com>
4236 Pedro Alves <palves@redhat.com>
4237
4238 * boards/local-board.exp: set sysroot to /.
4239
933aebfa
AH
42402019-03-27 Alan Hayward <alan.hayward@arm.com>
4241
4242 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
4243 in child.
4244
9f9aa852
AB
42452019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4246
4247 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
4248 field.
4249 (make_container): Initialise new field.
4250 * gdb.python/py-prettyprint.exp: Add new tests.
4251 * gdb.python/py-prettyprint.py (class ContainerPrinter)
4252 <display_hint>: New method.
4253
3714a195
AB
42542019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4255
4256 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
4257 gdb_continue_to_breakpoint more throughout this test.
4258 (run_lang_tests) Supply unique test names, and use
4259 gdb_test_no_output.
4260
18c77628
AB
42612019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4262
4263 * gdb.base/finish-pretty.exp: Update expected results.
4264 * gdb.base/pretty-print.c: New file.
4265 * gdb.base/pretty-print.exp: New file.
4266
9a93502f
PA
42672019-03-25 Pedro Alves <palves@redhat.com>
4268
4269 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
4270 move comments outside list. Append '-i "" eof' section.
4271
968aa7ae
AH
42722019-03-22 Alan Hayward <alan.hayward@arm.com>
4273
34a7f2a4 4274 PR testsuite/25016
968aa7ae
AH
4275 * README: Add pie options.
4276 * gdb.base/break-interp.exp: Ensure pie is disabled.
4277 * gdb.base/dump.exp: Likewise.
4278 * lib/gdb.exp (gdb_compile): Add pie option.
4279
4c7d57e7
TT
42802019-03-19 Tom Tromey <tromey@adacore.com>
4281
4282 * gdb.mi/mi2-cli-display.c: New file.
4283 * gdb.mi/mi2-cli-display.exp: New file.
4284
bff8c71f
TT
42852019-03-18 Joel Brobecker <brobecker@adacore.com>
4286 Tom Tromey <tromey@adacore.com>
4287
4288 * gdb.ada/ptype_array/pck.adb: New file.
4289 * gdb.ada/ptype_array/pck.ads: New file.
4290 * gdb.ada/ptype_array/foo.adb: New file.
4291 * gdb.ada/ptype_array.exp: New file.
4292
d085f989
TT
42932019-03-14 Tom Tromey <tromey@adacore.com>
4294
4295 * gdb.base/style.exp: Add "set style sources" test.
4296
b4be1b06
SM
42972019-03-13 Simon Marchi <simon.marchi@ericsson.com>
4298
4299 * mi-breakpoint-location-ena-dis.exp: Rename to ...
4300 * mi-breakpoint-multiple-locations.exp: ... this.
4301 (make_breakpoints_pattern): New proc.
4302 (do_test): Add mi_version parameter, test -break-insert,
4303 -break-info and =breakpoint-created.
4304
7cde5fc2
AB
43052019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
4306
4307 * config/default.exp: Remove 'load_lib gdb.exp'.
4308 * config/monitor.exp: Likewise.
4309 * config/sid.exp: Likewise.
4310 * config/sim.exp: Likewise.
4311 * config/slite.exp: Likewise.
4312 * config/unix.exp: Likewise.
4313 * gdb.base/default.exp: Remove unhelpful comment.
4314
efbecbc1
AB
43152019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4316
4317 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
4318
0841c79a
AB
43192019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4320
4321 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
4322
4a270568
AB
43232019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4324
4325 * gdb.fortran/type-kinds.exp: Update expected results.
4326
067630bd
AB
43272019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4328
4329 * gdb.fortran/type-kinds.exp: Test new integer type kind.
4330
3be47f7a
AB
43312019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4332
4333 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
4334 function.
4335 (test_basic_parsing_of_type_kinds): Expand types tested.
4336 (test_parsing_invalid_type_kinds): New function.
4337
4d00f5d8
AB
43382019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4339
4340 * gdb.fortran/intrinsics.exp: New file.
4341 * gdb.fortran/intrinsics.f90: New file.
4342 * gdb.fortran/type-kinds.exp: New file.
4343
c8f91604
AB
43442019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4345
4346 * gdb.fortran/dot-ops.exp: New file.
4347
dd9f2c76
AB
43482019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4349
4350 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
4351 Check upper and lower case logical literals.
4352
84ec9724
AB
43532019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4354
4355 * gdb.fortran/types.exp (test_float_literal_types_accepted):
4356 Remove duplicate tests.
4357
c3734e09
AH
43582019-03-06 Alan Hayward <alan.hayward@arm.com>
4359
4360 * lib/gdb.exp (builtin_cd): rename of cd.
4361 (cd): Override builtin.
4362
aa3cfbda
RB
43632019-03-06 Richard Bunt <richard.bunt@arm.com>
4364
4365 * gdb.fortran/function-calls.exp: New file.
4366 * gdb.fortran/function-calls.f90: New test.
4367
7b63ad86
RB
43682019-03-04 Richard Bunt <richard.bunt@arm.com>
4369
4370 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
4371 on user program standard output.
4372 * gdb.fortran/short-circuit-argument-list.f90: Record function
4373 calls.
4374
01abb042
AH
43752019-02-28 Alan Hayward <alan.hayward@arm.com>
4376
c3734e09
AH
4377 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
4378 failure.
01abb042 4379
92137da0
RO
43802019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4381
4382 PR gdb/8527
4383 * gdb.base/interrupt-daemon-attach.c,
4384 gdb.base/interrupt-daemon-attach.exp: New test.
4385
5862844d
PA
43862019-02-27 Pedro Alves <palves@redhat.com>
4387
4388 * gdb.base/page.exp: Add tests for "set width/height -1".
4389
8ed25214
PA
43902019-02-27 Pedro Alves <palves@redhat.com>
4391
4392 * gdb.base/page.exp: Add tests for "set/show width/height" with
4393 "infinite" values.
4394
6c28e44a
TT
43952019-02-27 Tom Tromey <tromey@adacore.com>
4396
4397 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
4398 2.4.
4399 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
4400 workaround.
4401
bf9a735e
AB
44022019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
4403
4404 * gdb.base/align.exp: Extend to compile in both C and C++, and add
4405 tests for structs with static members.
4406
8791793c
TT
44072019-02-26 Tom Tromey <tromey@adacore.com>
4408
4409 * gdb.python/py-value.exp (test_value_from_buffer): Check for
4410 ValueError, not TypeError.
4411
bc2a507e
KB
44122019-02-26 Kevin Buettner <kevinb@redhat.com>
4413
4414 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
4415 call from main program.
4416
e0e7d3bd
JB
44172019-02-23 Joel Brobecker <brobecker@adacore.com>
4418
4419 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
4420 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
4421 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
4422 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
4423 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
4424
9600246d
KS
44252019-02-22 Keith Seitz <keiths@redhat.com>
4426
4427 PR symtab/23853
4428 * gdb.base/symlink-sourcefile.c: New file.
4429 * gdb.base/symlink-sourcefile.exp: New file.
4430
0c95f9ed
TT
44312019-02-20 Tom Tromey <tom@tromey.com>
4432
4433 * gdb.base/info_qt.exp: Update.
4434
6caa91b6
SM
44352019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
4436
4437 * gdb.base/source.exp: Move "error in sourced script" code to
4438 the end.
4439 * gdb.base/source-error.gdb: Move contents to
4440 source-error-1.gdb. Add new code to source source-error-1.gdb.
4441 * gdb.base/source-error-1.gdb: New file, from previous
4442 source-error.gdb.
4443
6506371f
TT
44442019-02-17 Tom Tromey <tom@tromey.com>
4445
4446 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
4447 for macro styling.
4448 * gdb.base/style.c (SOME_MACRO): New macro.
4449
a0087920
TT
44502019-02-17 Tom Tromey <tom@tromey.com>
4451
4452 * gdb.base/style.exp: Add line-wrapping tests.
4453 * gdb.base/page.exp: Add test for quitting during pagination.
4454
a2cd4f14
JB
44552019-02-17 Joel Brobecker <brobecker@adacore.com>
4456
4457 * gdb.ada/big_packed_array: New testcase.
4458 * gdb.ada/homonym.exp: Fix incorrect expected output for
4459 "break <homonym__get_value>" test.
4460
9d70ffbc
WP
44612019-02-13 Weimin Pan <weimin.pan@oracle.com>
4462
4463 PR breakpoints/21870
4464 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
4465 and prepare_for_testing. Add comment.
4466 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
4467 redundant cleanup call. Clean up comment.
4468
01c7ae81
WP
44692019-02-12 Weimin Pan <weimin.pan@oracle.com>
4470
4471 PR breakpoints/21870
4472 * gdb.arch/aarch64-dbreg-contents.exp: New file.
4473 * gdb.arch/aarch64-dbreg-contents.c: New file.
4474
aff29d1c
JB
44752019-02-10 Joel Brobecker <brobecker@adacore.com>
4476
4477 * gdb.ada/mi_ref_changeable: New testcase.
4478
df0da8a2
AH
44792019-02-07 Alan Hayward <alan.hayward@arm.com>
4480
4481 * gdb.base/attach.exp: Add double attach test.
4482
bd447abb
SM
44832019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
4484
4485 * lib/gdb.exp (default_gdb_start): Don't match pagination
4486 prompt.
4487 (gdb_init): Set stty_init.
4488
1dbc40b9
TT
44892019-01-27 Tom Tromey <tom@tromey.com>
4490
4491 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
4492 skip_python_tests.
4493
353229bf
AH
44942019-01-24 Alan Hayward <alan.hayward@arm.com>
4495
4496 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
4497 New structure.
4498 (struct struct_static_02_02): Likewise.
4499 (struct struct_static_02_03): Likewise.
4500 (struct struct_static_02_04): Likewise.
4501 (struct struct_static_04_01): Likewise.
4502 (struct struct_static_04_02): Likewise.
4503 (struct struct_static_04_03): Likewise.
4504 (struct struct_static_04_04): Likewise.
4505 (struct struct_static_06_01): Likewise.
4506 (struct struct_static_06_02): Likewise.
4507 (struct struct_static_06_03): Likewise.
4508 (struct struct_static_06_04): Likewise.
4509 (cmp_struct_static_02_01): Likewise.
4510 (cmp_struct_static_02_02): Likewise.
4511 (cmp_struct_static_02_03): Likewise.
4512 (cmp_struct_static_02_04): Likewise.
4513 (cmp_struct_static_04_01): Likewise.
4514 (cmp_struct_static_04_02): Likewise.
4515 (cmp_struct_static_04_03): Likewise.
4516 (cmp_struct_static_04_04): Likewise.
4517 (cmp_struct_static_06_01): Likewise.
4518 (cmp_struct_static_06_02): Likewise.
4519 (cmp_struct_static_06_03): Likewise.
4520 (cmp_struct_static_06_04): Likewise.
4521 (call_all): Test new structs.
4522 * gdb.base/infcall-nested-structs.exp: Likewise.
4523
73021deb
AH
45242019-01-21 Alan Hayward <alan.hayward@arm.com>
4525 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
4526
fc65c7db
AH
45272019-01-21 Alan Hayward <alan.hayward@arm.com>
4528 * gdb.base/stack-protector.c: New test.
4529 * gdb.base/stack-protector.exp: New file.
4530 * gdb.cp/ovldbreak.exp: Only allow a single break line.
4531 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
4532 option.
4533 (gdb_compile): Remove stack protector for GCC and prevent
4534 recursion.
4535
c24bdb02
KS
45362019-01-16 Keith Seitz <keiths@redhat.com>
4537
4538 PR gdb/23773
4539 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
4540
6f072a10
PFC
45412019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4542
4543 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
4544 aliases.
4545 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
4546 tests.
4547 * gdb.arch/powerpc-vector-regs.c: New file.
4548 * gdb.arch/powerpc-vector-regs.exp: New file.
4549
a7b8d682
PFC
45502019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4551
4552 * gdb.arch/altivec-regs.exp: Fix the list passed to
4553 gdb_expect_list when testing "info vector".
4554
6eb6fb67
AB
45552019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4556
4557 * gdb.base/style.exp: Don't include path in testname.
4558
b56f80d8
KS
45592019-01-10 Keith Seitz <keiths@redhat.com>
4560
4561 PR gdb/23712
4562 PR symtab/23010
4563 * gdb.dwarf2/multidictionary.exp: New file.
4564
041be526
SM
45652019-01-09 Simon Marchi <simon.marchi@ericsson.com>
4566
4567 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
4568 (test_gnuv3_style_demangling): ... this.
4569 (test_lucid_style_demangling): Remove.
4570 (test_arm_style_demangling): Remove.
4571 (test_hp_style_demangling): Remove.
4572 (do_tests): Remove calls to the above.
4573
d820d0c3
AB
45742019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4575
4576 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
4577 case.
4578
f097f5ad
TT
45792019-01-06 Tom Tromey <tom@tromey.com>
4580
4581 PR gdb/28155:
4582 * gdb.dwarf2/typedef-void-finish.exp: New file.
4583
2cd8cc0b
TT
45842018-12-28 Tom Tromey <tom@tromey.com>
4585 Simon Marchi <simark@simark.ca>
4586
4587 * gdb.base/jit-exec.exp: New file.
4588 * gdb.base/jit-exec.c: New file.
4589 * gdb.base/jit-execd.c: New file.
4590
35fb8261
TT
45912018-12-28 Tom Tromey <tom@tromey.com>
4592
4593 * gdb.base/style.exp: Update test to check for address styling.
4594
47fd17cd
TT
45952018-12-28 Tom Tromey <tom@tromey.com>
4596
4597 * gdb.base/style.exp: Add test for styling of "Reading symbols"
4598 message.
4599
d47032b7
TT
46002018-12-28 Tom Tromey <tom@tromey.com>
4601
4602 * gdb.base/style.exp: Add test for version number styling.
4603
af79b68d
TT
46042018-12-28 Tom Tromey <tom@tromey.com>
4605
4606 * gdb.base/style.exp: Add test for print_address_symbolic.
4607
0bb296cb
TT
46082018-12-28 Tom Tromey <tom@tromey.com>
4609
4610 * gdb.base/style.exp: Add test for breakpoint setting.
4611
80ae2043
TT
46122018-12-28 Tom Tromey <tom@tromey.com>
4613
4614 * gdb.base/style.exp: Add test for variable names.
4615
cbe56571
TT
46162018-12-28 Tom Tromey <tom@tromey.com>
4617
4618 * gdb.base/style.exp: New file.
4619 * gdb.base/style.c: New file.
4620
9162a27c
TT
46212018-12-28 Tom Tromey <tom@tromey.com>
4622
4623 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
4624 "dumb".
4625 * gdb.base/readline.exp (operate_and_get_next): Save and restore
4626 the TERM environment variable.
4627
bc543c90
TT
46282018-12-27 Tom Tromey <tom@tromey.com>
4629
4630 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
4631 pagination test.
4632
6f0ffe50
AB
46332018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
4634
4635 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
4636 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
4637
b5a1e557
PW
46382018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4639
4640 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
4641 Filename a.adb changed to bp_fun_addr.adb.
4642 gdb.ada/bp_fun_addr.exp: Update test accordingly.
4643
6e8b1ab2
JV
46442018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
4645
4646 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
4647 non-PIE executables.
4648 * README: Mention the gdb,nopie_flag board setting.
4649 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
4650 non-PIE executable.
4651 * gdb.arch/amd64-entry-value.exp: Likewise.
4652 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
4653 * gdb.arch/i386-float.exp: Likewise.
4654 * gdb.arch/i386-signal.exp: Likewise.
4655 * gdb.mi/mi-reg-undefined.exp: Likewise.
4656
d00a27c5
PM
46572018-12-21 Paul Marechal <paul.marechal@ericsson.com>
4658
4659 PR gdb/23974
4660 * gdb.base/info-os.exp: Check return for unknown "info os" type.
4661
161d081c
PW
46622018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4663
4664 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
4665 Update order of results accordingly.
4666
b001de23
AB
46672018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
4668
4669 * gdb.base/annota1.exp: Update a test regexp.
4670
99e1a184
AB
46712018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4672
4673 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
4674
7a81c1e2
PW
46752018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4676
4677 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
4678 (reuse_time): Initialize to REUSE_TIME_CAP.
4679 (check_rc): New function.
4680 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
4681 Check pthread_create rc.
4682 (spawner_thread_func): Check pthread_create and pthread_join rc.
4683
73e8dc90
PA
46842018-12-08 Pedro Alves <palves@redhat.com>
4685
4686 * gdb.base/list.exp (test_forward_search): Rename to ...
4687 (test_forward_reverse_search): ... this. Also test reverse-search
4688 and the forward-search alias.
4689
13f2ed32
AB
46902018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
4691
4692 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
4693 local timeout variable before return, and remove all local timeout
4694 variable entirely.
4695 (gdb_load): Likewise.
4696
64d27cfc
TV
46972018-12-01 Tom de Vries <tdevries@suse.de>
4698
4699 * gdb.base/gdb-caching-proc.exp: New file.
4700
f63c03b4
SDJ
47012018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
4702
4703 * Makefile.in (TIMESTAMP): New variable.
4704 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
4705 command.
4706 (check-single-racy): Likewise.
4707 (check/%.exp): Likewise.
4708 (check-racy/%.exp): Likewise.
4709 (workers/%.worker): Likewise.
4710 (build-perf): Likewise.
4711 (check-perf): Likewise.
4712 * README: Describe new "TS" and "TS_FORMAT" variables.
4713 * print-ts.py: New file.
4714
1c97054b
BF
47152018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
4716
4717 PR python/23714
4718 * gdb.python/python.exp: Test command repetition after
4719 gdb.execute.
4720
1871a62d
AB
47212018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
4722
4723 * gdb.opt/inline-break.exp: Add test that info breakpoint output
4724 is correctly aligned.
4725
fb5e1ed9
PW
47262018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4727
4728 * gdb.ada/info_auto_lang.exp: New testcase.
4729 * gdb.ada/info_auto_lang/global_pack.ads: New file.
4730 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
4731 * gdb.ada/info_auto_lang/some_c.c: New file.
4732
43d397ca
PW
47332018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4734
4735 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
4736 FUNC_lang language syntax.
4737
beddd671
PW
47382018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4739
4740 * gdb.base/info_minsym.c: New file.
4741 * gdb.base/info_minsym.exp: New file.
4742
73fc52c4
TT
47432018-11-19 Tom Tromey <tom@tromey.com>
4744
4745 PR rust/23625:
4746 * gdb.rust/simple.exp: Add ptype test. Update expected output.
4747 * gdb.rust/expr.exp: Update expected output. Change one test.
4748
994b876a
TT
47492018-11-19 Tom Tromey <tom@tromey.com>
4750
4751 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
4752
6769f276
PA
47532018-11-19 Pedro Alves <palves@redhat.com>
4754
4755 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
4756 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
4757 see the expected warning.
4758
38a72da0
AH
47592018-11-16 Alan Hayward <alan.hayward@arm.com>
4760
4761 PR gdb/22736:
4762 * gdb.cp/infcall-nodebug-lib.c: New test.
4763 * gdb.cp/infcall-nodebug-main.c: New test.
4764 * gdb.cp/infcall-nodebug.exp: New file.
4765
53a89d6e
SM
47662018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
4767
4768 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
4769 completer tests.
4770
9325300d
TV
47712018-11-09 Tom de Vries <tdevries@suse.de>
4772
4773 * gdb.base/msym-lang.c: New test.
4774 * gdb.base/msym-lang.exp: New file.
4775 * gdb.base/msym-lang-main.c: New test.
4776
20f0d60d
TT
47772018-11-08 Tom Tromey <tom@tromey.com>
4778
4779 PR gdb/23555:
4780 PR gdb/23838:
4781 * gdb.base/warning.exp: New file.
4782
b5420128
JB
47832018-11-08 Jan Beulich <jbeulich@suse.com>
4784
4785 * testsuite/gdb.arch/i386-avx512.c,
4786 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
4787
cd115d61
AB
47882018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
4789
4790 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
4791 point hardware.
4792
35ee2dc2
AB
47932018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
4794
4795 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
4796 * gdb.dwarf2/missing-type-name.exp: New file.
4797
31aceee8
TV
47982018-11-06 Tom de Vries <tdevries@suse.de>
4799
4800 * gdb.base/many-headers.c: New test.
4801 * gdb.base/many-headers.exp: New file.
4802
109be305
JW
48032018-11-06 Jim Wilson <jimw@sifive.com>
4804
4805 * gdb.base/code_elim.exp: For riscv, set additional_flags
4806 to include -msmall-data-limit=0.
4807
e2b7af72
JB
48082018-11-01 Joel Brobecker <brobecker@adacore.com>
4809
4810 * gdb.ada/watch_minus_l: New testcase.
4811
cdcda965
SM
48122018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
4813
4814 * gdb.arch/aix-sighandle.c: New file.
4815 * gdb.arch/aix-sighandle.exp: New file.
4816
92dcebf3
AB
48172018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4818
4819 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
4820 registers being unions.
4821
68b9ac18
TV
48222018-10-31 Tom de Vries <tdevries@suse.de>
4823
4824 * lib/valgrind.exp: New file.
4825 (vgdb_start, vgdb_stop): New procs, factored out of ...
4826 * gdb.base/valgrind-bt.exp: ... here, ...
4827 * gdb.base/valgrind-disp-step.exp: ... here and ...
4828 * gdb.base/valgrind-infcall.exp: ... here.
4829
1443936e
TV
48302018-10-31 Tom de Vries <tdevries@suse.de>
4831
4832 * lib/gdb.exp (get_valueof): Don't output read value in test name.
4833
eb77c9df
AB
48342018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4835
4836 * gdb.dwarf2/void-type.c: New file.
4837 * gdb.dwarf2/void-type.exp: New file.
4838
82b5e646
PW
48392018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4840
4841 * gdb.base/info_qt.c: New file.
4842 * gdb.base/info_qt.exp: New file.
4843
8d619c01
EBM
48442018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4845
4846 * gdb.arch/powerpc-htm-regs.c: New file.
4847 * gdb.arch/powerpc-htm-regs.exp: New file.
4848
f2cf6173
EBM
48492018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4850
4851 * gdb.arch/powerpc-tar.c: New file.
4852 * gdb.arch/powerpc-tar.exp: New file.
4853
7ca18ed6
EBM
48542018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4855
4856 * gdb.arch/powerpc-ppr-dscr.c: New file.
4857 * gdb.arch/powerpc-ppr-dscr.exp: New file.
4858
bfcc0eba
TV
48592018-10-25 Tom de Vries <tdevries@suse.de>
4860
4861 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
4862
fe1a5cad
TV
48632018-10-24 Tom de Vries <tdevries@suse.de>
4864
4865 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
4866 longer exists error.
4867
a76dc3b7
TV
48682018-10-24 Tom de Vries <tdevries@suse.de>
4869
4870 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
4871
4df46df7
TV
48722018-10-24 Tom de Vries <tdevries@suse.de>
4873
4874 * gdb.base/valgrind-db-attach.exp: Handle removed support for
4875 --db-attach in valgrind.
4876
0dbfcfff
AB
48772018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
4878
4879 * gdb.arch/riscv-reg-aliases.c: New file.
4880 * gdb.arch/riscv-reg-aliases.exp: New file.
4881
b04480b1
AH
48822018-10-19 Alan Hayward <alan.hayward@arm.com>
4883
4884 * gdb.python/py-cmd.exp: Check for gdb_prompt.
4885
2c6ac8d7
AH
48862018-10-19 Alan Hayward <alan.hayward@arm.com>
4887
4888 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4889
2bc69f25
AH
48902018-10-19 Alan Hayward <alan.hayward@arm.com>
4891
4892 * gdb.cp/ovldbreak.exp: Fix regexps.
4893
1f1ae3a3
AH
48942018-10-19 Alan Hayward <alan.hayward@arm.com>
4895
4896 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4897
94c18618
SDJ
48982018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4899
4900 PR cli/23785
4901 * gdb.base/restore.exp: New test to check if "restore" with an
4902 invalid file doesn't segfault.
4903
812cd6eb
TV
49042018-10-18 Tom de Vries <tdevries@suse.de>
4905
4906 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4907 * gdb.ada/excep_handle.exp: Same.
4908 * gdb.ada/mi_string_access.exp: Same.
4909 * gdb.ada/mi_var_union.exp: Same.
4910 * gdb.arch/arc-analyze-prologue.exp: Same.
4911 * gdb.arch/arc-decode-insn.exp: Same.
4912 * gdb.base/readnever.exp: Same.
4913 * gdb.fortran/printing-types.exp: Same.
4914 * gdb.guile/scm-lazy-string.exp: Same.
4915
c4b90788
TV
49162018-10-16 Tom de Vries <tdevries@suse.de>
4917
4918 PR gdb/23730
4919 * gdb.base/catch-follow-exec.c: Add copyright notice.
4920 * gdb.base/catch-follow-exec.exp: Rewrite to use
4921 gdb_spawn_with_cmdline_opts. Require gdb-native.
4922
8bca2978
SL
49232018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4924
4925 * gdb.trace/actions-changed.exp: Check for arch support.
4926 * gdb.trace/actions.exp: Likewise.
4927 * gdb.trace/ax.exp: Likewise.
4928 * gdb.trace/backtrace.exp: Likewise.
4929 * gdb.trace/change-loc.exp: Likewise.
4930 * gdb.trace/deltrace.exp: Likewise.
4931 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4932 * gdb.trace/ftrace.exp: Likewise.
4933 * gdb.trace/infotrace.exp: Check for arch support.
4934 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4935 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4936 * gdb.trace/mi-tsv-changed.exp: Likewise.
4937 * gdb.trace/packetlen.exp: Likewise.
4938 * gdb.trace/passc-dyn.exp: Likewise.
4939 * gdb.trace/passcount.exp: Likewise.
4940 * gdb.trace/pending.exp: Likewise.
4941 * gdb.trace/range-stepping.exp: Check for shlib support.
4942 * gdb.trace/report.exp: Check for arch support.
4943 * gdb.trace/save-trace.exp: Likewise.
4944 * gdb.trace/signal.exp: Check for signal support.
4945 * gdb.trace/tfind.exp: Check for arch support.
4946 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4947 * gdb.trace/trace-common.h: Add comment.
4948 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4949 * gdb.trace/trace-enable-disable.exp: Likewise.
4950 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4951 * gdb.trace/tracecmd.exp: Check for arch support.
4952 * gdb.trace/tspeed.exp: Check for shlib and target support.
4953 * gdb.trace/tstatus.exp: Check for arch support.
4954 * gdb.trace/tsv.exp: Likewise.
4955 * gdb.trace/while-dyn.exp: Likewise.
4956 * gdb.trace/while-stepping.exp: Likewise.
4957 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4958
f9c49bff
SM
49592018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4960
4961 * gdb.trace/tspeed.exp: Remove nowarnings.
4962 (prepare_for_trace_test): Declare "global ipalib".
4963 * gdb.trace/tspeed.c: Include unistd.h.
4964 (main): Remove superfluous printf argument.
4965
d4330bde
SL
49662018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4967
4968 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4969 directory prefix on the filename.
4970
8ecfd7bd
SDJ
49712018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4972
4973 * gdb.gdb/unittest.exp: Update expected message informing that
4974 selftests have been disabled.
4975 * gdb.server/unittest.exp: Likewise.
4976
58bbcd02
TV
49772018-10-09 Tom de Vries <tdevries@suse.de>
4978
4979 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4980 with runto_main.
4981
9f6b697b
WP
49822018-10-08 Weimin Pan <weimin.pan@oracle.com>
4983
4984 PR c++/16841
4985 * gdb.cp/virtbase2.cc: New file.
4986 * gdb.cp/virtbase2.exp: New file.
4987
add5ded5
TT
49882018-10-06 Tom Tromey <tom@tromey.com>
4989
4990 PR python/19399:
4991 * gdb.python/py-inferior.exp: Add architecture test.
4992
f9e48344
TT
49932018-10-06 Tom Tromey <tom@tromey.com>
4994
4995 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4996 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4997
2a8be203
TT
49982018-10-06 Tom Tromey <tom@tromey.com>
4999
5000 * gdb.python/py-breakpoint.exp (check_last_event): Check location
5001 of a "throw" catchpoint.
5002
e04caa70
SDJ
50032018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
5004
5005 * gdb.base/info-proc.exp: Update string expected from "help info
5006 proc".
5007
5ca8c39f
TT
50082018-10-04 Tom Tromey <tom@tromey.com>
5009
5010 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
5011 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
5012 (test_initial_complaints, test_empty_complaints): Update.
5013 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5014
3453e7e4
TT
50152018-10-04 Tom Tromey <tom@tromey.com>
5016
5017 PR cli/19551:
5018 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
5019 * lib/gdb.exp (gdb_file_cmd): Update.
5020 * gdb.stabs/weird.exp (print_weird_var): Update.
5021 * gdb.server/solib-list.exp: Update.
5022 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
5023 * gdb.mi/mi-cli.exp: Update.
5024 * gdb.linespec/linespec.exp: Update.
5025 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5026 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
5027 * gdb.cp/cp-relocate.exp: Update.
5028 * gdb.base/sym-file.exp: Update.
5029 * gdb.base/relocate.exp: Update.
5030 * gdb.base/readnever.exp: Update.
5031 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5032 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
5033 * gdb.base/dbx.exp (gdb_file_cmd): Update.
5034 * gdb.base/code_elim.exp: Update.
5035 * gdb.base/break-unload-file.exp (test_break): Update.
5036 * gdb.base/break-interp.exp (test_attach_gdb): Update.
5037 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
5038 Update.
5039 * gdb.base/attach.exp (do_attach_tests): Update.
5040 * gdb.base/sepdebug.exp: Update.
5041 * gdb.python/py-section-script.exp: Update.
5042
6afcf761
TT
50432018-10-04 Tom Tromey <tom@tromey.com>
5044
5045 PR cli/22234:
5046 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
5047 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
5048 output.
5049
fef1b293
TT
50502018-10-04 Tom Tromey <tom@tromey.com>
5051
5052 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
5053 set width and height to 0.
5054 (test_command_line_attach_run): Use -quiet.
5055
ca98345e
SL
50562018-10-03 Sandra Loosemore <sandra@codesourcery.com>
5057
5058 * lib/gdb.exp (skip_ifunc_tests): New.
5059 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
5060 other compile failures.
5061 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
5062
ff34e6ae
SM
50632018-10-01 Simon Marchi <simon.marchi@ericsson.com>
5064
5065 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
5066 is_amd64_regs_target.
5067
6bb8890e
AH
50682018-10-01 Alan Hayward <alan.hayward@arm.com>
5069
5070 * gdb.arch/aarch64-sighandler-regs.c: New test.
5071 * gdb.arch/aarch64-sighandler-regs.exp: New file.
5072 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
5073
224d30d3
MM
50742018-10-01 Markus Metzger <markus.t.metzger@intel.com>
5075
5076 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
5077 assembly.
5078
f67ffa6a
AB
50792018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
5080
5081 * gdb.base/frame-selection.exp: New file.
5082 * gdb.base/frame-selection.c: New file.
5083
9fc3183f
AH
50842018-09-27 Alan Hayward <alan.hayward@arm.com>
5085
5086 * gdb.threads/check-libthread-db.c (thread_routine): Use a
5087 pthread barrier.
5088 (main): Likewise.
5089
d354055e
AB
50902018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
5091
5092 * gdb.base/large-frame-1.c: New file.
5093 * gdb.base/large-frame-2.c: New file.
5094 * gdb.base/large-frame.exp: New file.
5095 * gdb.base/large-frame.h: New file.
5096
db727370
JL
50972018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
5098
5099 PR gdb/20948
5100 * gdb.base/write_mem.exp: New test.
5101 * gdb.base/write_mem.c: Likewise.
5102
ae778caf
TT
51032018-09-23 Tom Tromey <tom@tromey.com>
5104
5105 PR python/18852:
5106 * gdb.python/py-parameter.exp: Add test for parameter that throws
5107 on "set".
5108
fd3ba736
TT
51092018-09-23 Tom Tromey <tom@tromey.com>
5110
5111 PR python/17284:
5112 * gdb.python/py-template.exp (test_template_arg): Add test for
5113 negative template argument number.
5114
39a24317
TT
51152018-09-23 Tom Tromey <tom@tromey.com>
5116
5117 PR python/14062:
5118 * gdb.python/python.exp: Add test for post_event error.
5119
f5769a2c
TT
51202018-09-23 Tom Tromey <tom@tromey.com>
5121
5122 PR python/18170:
5123 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
5124 convert pointers to int and long.
5125
1c1e54f6
TT
51262018-09-23 Tom Tromey <tom@tromey.com>
5127
5128 PR python/20126:
5129 * gdb.python/py-value.exp (test_value_numeric_ops): Add
5130 signed-ness conversion tests.
5131
fb4fa946
TT
51322018-09-23 Tom Tromey <tom@tromey.com>
5133
5134 PR python/18352;
5135 * gdb.python/py-value.exp (test_float_conversion): New proc.
5136 Use it.
5137
a466edac
HAQ
51382018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
5139
5140 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
5141
4ee9b0c5
SL
51422018-09-18 Sandra Loosemore <sandra@codesourcery.com>
5143
5144 * gdb.base/complete-empty.exp: Skip tab-completion tests if
5145 no readline.
5146 * gdb.base/utf8-identifiers.exp: Likewise.
5147 * gdb.cp/cpcompletion.exp: Likewise.
5148 * gdb.linespec/cpcompletion.exp: Likewise.
5149 * gdb.linespec/cpls-abi-tag.exp: Likewise.
5150 * gdb.linespec/cpls-ops.exp: Likewise.
5151
23be8da7
RB
51522018-09-19 Richard Bunt <richard.bunt@arm.com>
5153 Chris January <chris.january@arm.com>
5154
5155 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
5156 * gdb.fortran/short-circuit-argument-list.exp: New file.
5157 * gdb.fortran/short-circuit-argument-list.f90: New test.
5158
5031d0ae
SDJ
51592018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5160
5161 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
5162 "arch=" keyword when executing "-stack-list-frames".
5163
b4c0d1a4
SDJ
51642018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5165
5166 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
5167 "arch=" keyword when executing "-stack-list-frames".
5168
7a6d2b45
SDJ
51692018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5170
5171 * gdb.ada/complete.exp: Expect for "@" when doing "complete
5172 break ada".
5173
8588b356
SM
51742018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
5175
5176 PR python/23669
5177 * gdb.python/python.exp: Test gdb.execute("show commands").
5178
65e65158
TT
51792018-09-16 Tom Tromey <tom@tromey.com>
5180
5181 * gdb.base/new-ui.exp (do_execution_tests): Update.
5182 * gdb.base/dbx.exp (test_breakpoints): Update.
5183
bf326452
AH
51842018-09-14 Alan Hayward <alan.hayward@arm.com>
5185
5186 * lib/gdb.exp (gdb_simple_compile): Add proc.
5187 (is_elf_target): Use gdb_simple_compile.
5188 (skip_altivec_tests): Likewise.
5189 (skip_vsx_tests): Likewise.
5190 (skip_tsx_tests): Likewise.
5191 (skip_btrace_tests): Likewise.
5192 (skip_btrace_pt_tests): Likewise.
5193 (gdb_can_simple_compile): Likewise.
5194 (gdb_has_argv0): Likewise.
5195 (gdb_target_symbol_prefix): Likewise.
5196 (target_supports_scheduler_locking): Likewise.
5197
2361b0fb
TT
51982018-09-13 Tom Tromey <tom@tromey.com>
5199
5200 * Makefile.in (TAGS): Recognize proc_with_prefix and
5201 gdb_caching_proc.
5202
0ae1a321
SM
52032018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5204
5205 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
5206 method.
5207
a40bf0c2
SM
52082018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5209
5210 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
5211 and a few other Inferior properties when the Inferior is no
5212 longer valid.
5213
4a3fe98f
TT
52142018-09-13 Tom Tromey <tom@tromey.com>
5215
5216 PR rust/23650:
5217 * gdb.rust/simple.exp: Add test for enum field access error.
5218
098b2108
TT
52192018-09-13 Tom Tromey <tom@tromey.com>
5220
5221 PR rust/23626:
5222 * gdb.rust/simple.rs (EmptyEnum): New type.
5223 (main): Use it.
5224 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
5225
1256af7d
SM
52262018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5227
5228 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
5229 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
5230 * gdb.python/py-symtab.exp: Update test printing an objfile.
5231
4aa8e6c2
SM
52322018-09-12 Simon Marchi <simon.marchi@ericsson.com>
5233
5234 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
5235 object.
5236
c221b2f7
AH
52372018-09-12 Alan Hayward <alan.hayward@arm.com>
5238
5239 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
5240 (support_complex_tests): Use gdb_can_simple_compile.
5241 (is_ilp32_target): Likewise.
5242 (is_lp64_target): Likewise.
5243 (is_64_target): Likewise.
5244 (is_amd64_regs_target): Likewise.
5245 (is_aarch32_target): Likewise.
5246 (gdb_int128_helper): Likewise.
5247
6f1107b5
JK
52482018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5249
5250 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
5251
1f5d1570
JG
52522018-09-10 Jerome Guitton <guitton@adacore.com>
5253
5254 * gdb.ada/same_component_name: Add test for case of tagged record
5255 with variable-length fields.
5256
cc330e39
XR
52572018-09-10 Xavier Roirand <roirand@adacore.com>
5258
5259 * gdb.ada/access_to_unbounded_array.exp: New testcase.
5260 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
5261 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
5262 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
5263
b9c50e9a
XR
52642018-09-10 Xavier Roirand <roirand@adacore.com>
5265
5266 * gdb.ada/mi_string_access.exp: New testcase.
5267 * gdb.ada/mi_string_access/bar.adb: New file.
5268 * gdb.ada/mi_string_access/pck.adb: New file.
5269 * gdb.ada/mi_string_access/pck.asd: New file.
5270
2963898f
XR
52712018-09-10 Xavier Roirand <roirand@adacore.com>
5272
5273 * gdb.ada/mi_var_union.exp: New testcase.
5274 * gdb.ada/mi_var_union/bar.adb: New file.
5275 * gdb.ada/mi_var_union/pck.adb: New file.
5276 * gdb.ada/mi_var_union/pck.asd: New file.
5277
1aac008f
TT
52782018-09-08 Tom Tromey <tom@tromey.com>
5279
5280 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
5281
332cf4c9
TT
52822018-09-08 Tom Tromey <tom@tromey.com>
5283
5284 PR python/16047:
5285 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
5286 (register_pretty_printers): Register new printer.
5287 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
5288 test.
5289 * gdb.python/py-prettyprint.c (int_type3): New typedef.
5290 (an_int_type3): New global.
5291
424da6cf
JB
52922018-09-08 Joel Brobecker <brobecker@adacore.com>
5293
5294 * gdb.ada/expr_with_funcall: New testcase.
5295
2a62dfa9
JB
52962018-09-08 Joel Brobecker <brobecker@adacore.com>
5297
5298 * gdb.ada/packed_array_assign: New testcase.
5299
96b6697f
AB
53002018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
5301
5302 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
5303 names, and add test prefixes to make test names unique.
5304
e4a62c65
TV
53052018-09-05 Tom de Vries <tdevries@suse.de>
5306
5307 * gdb.dwarf2/varval.exp: Add test.
5308
dd083ee2
GB
53092018-09-04 Gary Benson <gbenson@redhat.com>
5310
5311 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
5312 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
5313
aef9346c
TT
53142018-08-31 Tom Tromey <tom@tromey.com>
5315
5316 * gdb.rust/simple.rs: Rename second variable "v".
5317
c67f2e15
AB
53182018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
5319
5320 * gdb.base/funcargs.c (use_a): New function.
5321 (recurse): Call use_a.
5322
078a0207
KS
53232018-08-29 Keith Seitz <keiths@redhat.com>
5324
5325 * gdb.compile/compile-cplus-anonymous.cc: New file.
5326 * gdb.compile/compile-cplus-anonymous.exp: New file.
5327 * gdb.compile/compile-cplus-array-decay.cc: New file.
5328 * gdb.compile/compile-cplus-array-decay.exp: New file.
5329 * gdb.compile/compile-cplus-inherit.cc: New file.
5330 * gdb.compile/compile-cplus-inherit.exp: New file.
5331 * gdb.compile/compile-cplus-member.cc: New file.
5332 * gdb.compile/compile-cplus-member.exp: New file.
5333 * gdb.compile/compile-cplus-method.cc: New file.
5334 * gdb.compile/compile-cplus-method.exp: New file.
5335 * gdb.compile/compile-cplus-mod.c: "New" file.
5336 * gdb.compile/compile-cplus-namespace.cc: New file.
5337 * gdb.compile/compile-cplus-namespace.exp: New file.
5338 * gdb.compile/compile-cplus-nested.cc: New file.
5339 * gdb.compile/compile-cplus-nested.exp: New file.
5340 * gdb.compile/compile-cplus-print.c: "New" file.
5341 * gdb.compile/compile-cplus-print.exp: "New" file.
5342 * gdb.compile/compile-cplus-virtual.cc: New file.
5343 * gdb.compile/compile-cplus-virtual.exp: New file.
5344 * gdb.compile/compile-cplus.c: "New" file.
5345 * gdb.compile/compile-cplus.exp: "New" file.
5346 * lib/compile-support.exp: New file.
5347
b0f492b9
GB
53482018-08-16 Gary Benson <gbenson@redhat.com>
5349
5350 PR gdb/13000:
5351 * gdb.base/batch-exit-status.exp: New file.
5352 * gdb.base/batch-exit-status.good-commands: Likewise.
5353 * gdb.base/batch-exit-status.bad-commands: Likewise.
5354
36eb4c5f
AH
53552018-08-29 Alan Hayward <alan.hayward@arm.com>
5356
5357 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
5358 (struct struct02): Likewise.
5359 (struct struct03): Likewise.
5360 (struct struct04): Likewise.
5361 (struct struct_01_01): New struct.
5362 (struct struct_01_02): Likewise.
5363 (struct struct_01_03): Likewise.
5364 (struct struct_01_04): Likewise.
5365 (struct struct_02_01): Likewise.
5366 (struct struct_02_02): Likewise.
5367 (struct struct_02_03): Likewise.
5368 (struct struct_02_04): Likewise.
5369 (struct struct_04_01): Likewise.
5370 (struct struct_04_02): Likewise.
5371 (struct struct_04_03): Likewise.
5372 (struct struct_04_04): Likewise.
5373 (struct struct_05_01): Likewise.
5374 (struct struct_05_02): Likewise.
5375 (struct struct_05_03): Likewise.
5376 (struct struct_05_04): Likewise.
5377 (cmp_struct01): Remove function.
5378 (cmp_struct02): Likewise.
5379 (cmp_struct03): Likewise.
5380 (cmp_struct04): Likewise.
5381 (cmp_struct_01_01): Add Function.
5382 (cmp_struct_01_02): Likewise.
5383 (cmp_struct_01_03): Likewise.
5384 (cmp_struct_01_04): Likewise.
5385 (cmp_struct_02_01): Likewise.
5386 (cmp_struct_02_02): Likewise.
5387 (cmp_struct_02_03): Likewise.
5388 (cmp_struct_02_04): Likewise.
5389 (cmp_struct_04_01): Likewise.
5390 (cmp_struct_04_02): Likewise.
5391 (cmp_struct_04_03): Likewise.
5392 (cmp_struct_04_04): Likewise.
5393 (cmp_struct_05_01): Likewise.
5394 (cmp_struct_05_02): Likewise.
5395 (cmp_struct_05_03): Likewise.
5396 (cmp_struct_05_04): Likewise.
5397 (call_all): Add new structs.
5398 * gdb.base/infcall-nested-structs.exp: Likewise.
5399
3bf9c013
JV
54002018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
5401
5402 * gdb.python/py-framefilter-mi.exp: Update regexp to
5403 check for "arch" field in frame output.
5404
450d1e88
KB
54052018-08-23 Kevin Buettner <kevinb@redhat.com>
5406
5407 * gdb.dwarf2/dw2-ranges-func.c: New file.
5408 * gdb.dwarf2/dw2-ranges-func.exp: New file.
5409
ae739fe7
SM
54102018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
5411
5412 * gdb.base/term.exp: Compare terminal settings with values from
5413 the inferior.
5414 * gdb.base/term.c: Get and set terminal settings.
5415
6d52907e
JV
54162018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
5417
5418 * lib/mi-support.exp (mi_expect_stop): Update regexp to
5419 accommodate new "arch" field in frame output.
5420 * gdb.mi/mi-return.exp: Likewise.
5421 * gdb.mi/mi-stack.exp: Likewise.
5422 * gdb.mi/mi-syn-frame.exp: Likewise.
5423 * gdb.mi/user-selected-context-sync.exp: Likewise.
5424
be2d111a
MS
54252018-08-19 Michael Spang <spang@google.com>
5426
5427 PR gdb/11786
5428 * gdb.base/gcore-tls-pie.c: New file.
5429 * gdb.base/gcore-tls-pie.exp: New file.
5430
ae3a7c47
KB
54312018-08-18 Kevin Buettner <kevinb@redhat.com>
5432
5433 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
5434 * gdb.dwarf2/varval.c: New file.
5435 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 5436
2ecae92e
AH
54372018-08-17 Alan Hayward <alan.hayward@arm.com>
5438
5439 PR gdb/18931
5440 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
5441
c1854f1d
KS
54422018-08-16 Keith Seitz <keiths@redhat.com>
5443
5444 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
5445 tests expected to pass.
5446
26fb3983
JV
54472018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
5448
5449 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
5450 -data-disassemble -a.
5451 (test_disassembly_bogus_args): Likewise.
5452
67943c00
AB
54532018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
5454
5455 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
5456
5ff2bbae
AB
54572018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5458
5459 * gdb.base/vla-optimized-out.exp: Add new test.
5460
e5bbcd0f
AB
54612018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5462
5463 * gdb.base/vla-optimized-out-o3.exp: Delete.
5464 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
5465 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
5466 deleted tests.
5467
9d4a934c
AB
54682018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
5469
5470 PR gdb/18050:
5471 * gdb.server/extended-remote-restart.c: New file.
5472 * gdb.server/extended-remote-restart.exp: New file.
5473
045cf012
SM
54742018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
5475
5476 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
5477 "set variable index = 42".
5478
87d6a7aa
SM
54792018-08-07 Simon Marchi <simon.marchi@ericsson.com>
5480
5481 * boards/index-cache-gdb.exp: New file.
5482 * gdb.dwarf2/index-cache.exp: New file.
5483 * gdb.dwarf2/index-cache.c: New file.
5484 * gdb.base/maint.exp: Check if we are using the index cache.
5485
96d68bd4
RO
54862018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5487
5488 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
5489 MAKEFLAGS.
5490
5a699617
RO
54912018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5492
5493 * dg-extract-results.sh: Move to toplevel contrib.
5494 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
5495 * Makefile.in (check-parallel-racy): Likewise.
5496
5bd18990
AB
54972018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
5498
5499 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
5500 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
5501 tests if the target supports scheduler locking.
5502
3fbbcf47
TV
55032018-08-04 Tom de Vries <tdevries@suse.de>
5504
5505 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
5506
3e1d3d8c
TT
55072018-08-02 Tom Tromey <tom@tromey.com>
5508
5509 PR symtab/16842.
5510 * gdb.cp/temargs.exp: Test "info address" of a template
5511 parameter.
5512
5abe0f0c
JV
55132018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
5514
5515 * gdb.python/py-mi-var-info-path-expression.c: New file.
5516 * gdb.python/py-mi-var-info-path-expression.py: New file.
5517 * gdb.python/py-mi-var-info-path-expression.exp: New file.
5518
fb66cde8
SDJ
55192018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
5520
5521 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
5522 error after "cannot resolve name" string.
5523
c708f4d2
AB
55242018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
5525
5526 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
5527 started.
5528 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
5529
37cc0cae
TV
55302018-07-28 Tom de Vries <tdevries@suse.de>
5531
5532 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
5533
63b4ecf7
TV
55342018-07-26 Tom de Vries <tdevries@suse.de>
5535
5536 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
5537
3c3bb058
AB
55382018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
5539
5540 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
5541 is visible.
5542
9e7f3bbb
TV
55432018-07-26 Tom de Vries <tdevries@suse.de>
5544
5545 PR breakpoints/23366
5546 * gdb.base/catch-follow-exec.c: New test.
5547 * gdb.base/catch-follow-exec.exp: New file.
5548
16f808ec
TV
55492018-07-25 Tom de Vries <tdevries@suse.de>
5550
5551 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
5552 vla-optimized-out.c.
5553
d7154a8d
JV
55542018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
5555
5556 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
5557 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
5558
232a0032
TV
55592018-07-20 Tom de Vries <tdevries@suse.de>
5560
5561 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
5562 NOCLONE macro.
5563 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
5564
fbb1d502
TV
55652018-07-19 Tom de Vries <tdevries@suse.de>
5566
5567 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
5568 regular expression.
5569
42dc7699
TV
55702018-07-18 Tom de Vries <tdevries@suse.de>
5571
5572 * gdb.base/vla-optimized-out.c: New test.
5573 * gdb.base/vla-optimized-out.exp: New file.
5574
7f1f7e23
SDJ
55752018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
5576
5577 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
5578 message "No address associated with hostname" when gdbserver
5579 cannot resolve the hostname.
5580
5759ebb3
PW
55812018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5582
5583 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
5584 Add some test prefixes to make tests unique.
5585
3606ccab
PW
55862018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5587
5588 * gdb.base/frameapply.c: New file.
5589 * gdb.base/frameapply.exp: New file.
5590
529c08b2
PW
55912018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5592
5593 * gdb.base/skip.exp: Update expected error message.
5594
c7ab0aef
SDJ
55952018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
5596 Jan Kratochvil <jan.kratochvil@redhat.com>
5597 Paul Fertser <fercerpav@gmail.com>
5598 Tsutomu Seki <sekiriki@gmail.com>
5599
5600 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
5601 parameter.
5602 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
5603 by default.
5604 * boards/native-gdbserver.exp: Likewise.
5605 * gdb.server/run-without-local-binary.exp: Improve regexp used
5606 for detecting when a remote debugging connection succeeds.
5607 * gdb.server/server-connect.exp: New file.
5608 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
5609 Do not prefix the port number with ":".
5610 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
5611 support for detecting and using it. Add '$debughost_gdbserver'
5612 to the list of arguments used to start gdbserver. Handle case
5613 when gdbserver cannot resolve a network name.
5614
16ff70dd
SDJ
56152018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
5616
5617 PR c++/23373
5618 * gdb.base/ptype-offsets.cc (struct static_member): New
5619 struct.
5620 (main) <stmember>: New variable.
5621 * gdb.base/ptype-offsets.exp: Add test for printing a struct
5622 with a static member in it.
5623
3541979f
AB
56242018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
5625
5626 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
5627 watchpoints enabled and disabled.
5628
c8ad9b9a
AB
56292018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5630
5631 * gdb.base/examine-backward.exp: Still run tests around address
5632 0x0, even if address 0x0 is not readable. Update the pattern for
5633 matching address 0x0 in expected output.
5634
e0e5e971
AB
56352018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
5636
5637 * gdb.base/share-env-with-gdbserver.c (main): Add call to
5638 malloc/free.
5639
1ea5da02
TV
56402018-07-04 Tom de Vries <tdevries@suse.de>
5641
5642 * gdb.dwarf2/dw2-error.exp: Update expected error message.
5643
471b9d15
MR
56442018-07-02 Maciej W. Rozycki <macro@mips.com>
5645
5646 PR tdep/8282
5647 * gdb.arch/mips-disassembler-options.exp: New test.
5648 * gdb.arch/mips-disassembler-options.s: New test source.
5649
75acb486
PA
56502018-06-29 Pedro Alves <palves@redhat.com>
5651
5652 * gdb.threads/names.exp: Adjust expected "info threads" output.
5653
cd2bb709
PA
56542018-06-29 Pedro Alves <palves@redhat.com>
5655
5656 * gdb.opt/inline-break.exp (line number, address): Add "info
5657 break" tests.
5658
991ff292
PA
56592018-06-29 Pedro Alves <palves@redhat.com>
5660
5661 * gdb.opt/inline-break.c (func1): Add "break here" marker.
5662 * gdb.opt/inline-break.exp: Test setting breakpoints by line
5663 number and address and running to them.
5664
356819b6 56652018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
5666
5667 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
5668
2512d7ef
JK
56692018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5670
5671 * lib/compiler.c: Remove executable permission flag.
5672
be1b6474
RB
56732018-06-28 Richard Bunt <richard.bunt@arm.com>
5674
5675 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
5676 code.
5677 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
5678
291f9a96
PT
56792018-06-28 Petr Tesarik <ptesarik@suse.cz>
5680
5681 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
5682
ed6dfe51
PT
56832018-06-28 Petr Tesarik <ptesarik@suse.cz>
5684
5685 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
5686 address argument is omitted.
5687
d4d429d5
PT
56882018-06-28 Petr Tesarik <ptesarik@suse.cz>
5689
5690 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
5691
7ab6656f
OJ
56922018-06-27 Omair Javaid <omair.javaid@linaro.org>
5693
5694 PR gdb/21695
5695 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
5696 * gdb.base/infoline-reloc-main-from-zero.c: New file.
5697
a33ccfc7
TT
56982018-06-26 Tom Tromey <tom@tromey.com>
5699
5700 PR rust/22574:
5701 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
5702 * gdb.rust/simple.rs (struct SimpleLayout): New.
5703
6d72d289
SM
57042018-06-22 Simon Marchi <simon.marchi@ericsson.com>
5705
5706 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
5707 "info registers" output.
5708
8363f9d5
RB
57092018-06-21 Richard Bunt <richard.bunt@arm.com>
5710
5711 * gdb.base/watchpoint-hw-attach.c: New test.
5712 * gdb.base/watchpoint-hw-attach.exp: New file.
5713
f00674fe
SM
57142018-06-20 Simon Marchi <simon.marchi@ericsson.com>
5715
5716 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
5717 through /bin/sh.
5718 * boards/dwarf4-gdb-index.exp: Likewise.
5719 * boards/fission-dwp.exp: Likewise.
5720
1d554008
UW
57212018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
5722
5723 * gdb.base/float128.exp: Add comment and improved fail message
5724 to the failure case of "print large128" test.
5725
d0ac1c44
SM
57262018-06-19 Simon Marchi <simon.marchi@ericsson.com>
5727
5728 * configure.ac: Remove AC_PREREQ.
5729 * configure: Re-generate.
5730
61b04dd0
PA
57312018-06-19 Pedro Alves <palves@redhat.com>
5732
5733 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
5734 (func_extern_caller): New.
5735 (main): Call func_extern_caller.
5736 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
5737 logic change.
5738
f63b508a
SM
57392018-06-18 Weimin Pan <weimin.pan@oracle.com>
5740
5741 PR gdb/16841
5742 * gdb.cp/typedef-base.cc: New file.
5743 * gdb.cp/typedef-base.exp: New file.
5744
0fe3a558
TV
57452018-06-18 Tom de Vries <tdevries@suse.de>
5746
5747 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
5748
7010835a
AB
57492018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5750 Richard Bunt <Richard.Bunt@arm.com>
5751
5752 * gdb.threads/attach-slow-waitpid.c: New file.
5753 * gdb.threads/attach-slow-waitpid.exp: New file.
5754 * gdb.threads/slow-waitpid.c: New file.
5755
14897d65
PA
57562018-06-14 Pedro Alves <palves@redhat.com>
5757
5758 * gdb.base/fork-running-state.c: Include <errno.h>.
5759 (exit_if_relative_exits): New.
5760 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
5761 exits.
5762 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
5763 child exits.
5764
5d9a0608
TV
57652018-06-14 Tom de Vries <tdevries@suse.de>
5766
5767 PR cli/22573
5768 * gdb.base/finish-pretty.c: New test.
5769 * gdb.base/finish-pretty.exp: New file.
5770
11ae5818
PA
57712018-06-14 Pedro Alves <palves@redhat.com>
5772
5773 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
5774 gdb's expected startup output.
5775
1d39de44
PA
57762018-06-14 Pedro Alves <palves@redhat.com>
5777
5778 * lib/selftest-support.exp (selftest_setup): Remove inlined
5779 function handling.
5780
70ee0000
TV
57812018-06-14 Tom de Vries <tdevries@suse.de>
5782
5783 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
5784 matching of breakpoint printing.
5785
11f4b608
TV
57862018-06-13 Tom de Vries <tdevries@suse.de>
5787
5788 PR testsuite/23269
5789 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
5790 (fork_child): ... here, and ...
5791 (fork_parent): ... here.
5792
57932018-06-12 Tom de Vries <tdevries@suse.de>
5794
5795 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
5796
9516f85a
AB
57972018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
5798 Stephen Roberts <stephen.roberts@arm.com>
5799
5800 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
5801 rewrite test to describe action performed, rather than possible
5802 failure.
5803
5045b3d7
GB
58042018-06-08 Gary Benson <gbenson@redhat.com>
5805
5806 * gdb.threads/check-libthread-db.exp: New file.
5807 * gdb.threads/check-libthread-db.c: Likewise.
5808
c61b06a1
TT
58092018-06-05 Tom Tromey <tom@tromey.com>
5810
5811 * gdb.base/default.exp: Update expected "show version" output.
5812
eb6af809
TT
58132018-06-05 Tom Tromey <tom@tromey.com>
5814
5815 PR cli/12326:
5816 * gdb.cp/static-print-quit.exp: Update.
5817 * lib/gdb.exp (pagination_prompt): Update.
5818 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
5819 * gdb.python/python.exp: Update.
5820
178d6a63
JB
58212018-06-04 Joel Brobecker <brobecker@adacore.com>
5822
5823 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
5824
8e817061
JB
58252018-06-01 Joel Brobecker <brobecker@adacore.com>
5826
5827 * gdb.ada/bp_fun_addr: New testcase.
5828
e86ca25f
TT
58292018-06-01 Tom Tromey <tom@tromey.com>
5830
5831 * gdb.xml/tdesc-regs.exp (load_description): Update expected
5832 results.
5833 * gdb.dwarf2/method-ptr.exp: Set language to C++.
5834 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
5835 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
5836 * gdb.base/maint.exp (maint_pass_if): Update.
5837
4b2dfa9d
MR
58382018-05-31 Maciej W. Rozycki <macro@mips.com>
5839
5840 * gdb.base/endian.exp: New test.
5841 * gdb.base/endian.c: New test source.
5842
45f25d6c
AB
58432018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
5844
5845 PR gdb/23203
5846 * gdb.base/bt-selected-frame.c: New file.
5847 * gdb.base/bt-selected-frame.exp: New file.
5848 * lib/gdb.exp (get_current_frame_number): New function.
5849
d9f6d7f8
MR
58502018-05-24 Maciej W. Rozycki <macro@mips.com>
5851 Pedro Alves <palves@redhat.com>
5852
5853 * gdb.threads/tls-core.c: Include <stdlib.h>
5854 (thread_proc): Call `abort'.
5855 * gdb.threads/tls-core.exp: Generate a core with core_find too.
5856 (tls_core_test): New procedure, bits factored out from ...
5857 (top level): ... here. Test both native cores and gcore cores.
5858
ff1cf532
TT
58592018-05-23 Tom Tromey <tom@tromey.com>
5860
5861 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
5862
b98664d3
TT
58632018-05-23 Tom Tromey <tom@tromey.com>
5864
5865 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
5866 symfile_complaints.
5867 (test_short_complaints): Likewise.
5868 (test_empty_complaints): Likewise.
5869 (test_initial_complaints): Update.
5870
4e9668d0
TT
58712018-05-23 Tom Tromey <tom@tromey.com>
5872
5873 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
5874
43ba33c7
TT
58752018-05-23 Tom Tromey <tom@tromey.com>
5876
5877 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
5878 (test_short_complaints): Update.
5879
035522c0
PA
58802018-05-22 Pedro Alves <palves@redhat.com>
5881
5882 * gdb.base/remote.exp: Only gdb_start after compiling the
5883 testcase. Issue "disconnect" before testing "set remote" command
5884 defaults. Issue clean_restart before running to main.
5885
cc0be08f
PA
58862018-05-22 Pedro Alves <palves@redhat.com>
5887
5888 * gdb.base/remote.exp: Adjust expected output of "show remote
5889 memory-write-packet-size". Add tests for "set remote
5890 memory-write-packet-size 0" and "set remote
5891 memory-write-packet-size fixed/limit".
5892
b1b60145
PA
58932018-05-22 Pedro Alves <palves@redhat.com>
5894
5895 PR gdb/22973
5896 * gdb.base/utf8-identifiers.c: New file.
5897 * gdb.base/utf8-identifiers.exp: New file.
5898
0ec848ad
PFC
58992018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5900
5901 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5902
2c3305f6
PFC
59032018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5904
5905 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5906
ce1e8424
TT
59072018-05-18 Tom Tromey <tom@tromey.com>
5908
5909 * gdb.base/ptype-offsets.exp: Update.
5910
ddfe970e
KS
59112018-05-17 Keith Seitz <keiths@redhat.com>
5912
5913 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5914 in expected breakpoint stop locations.
5915 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5916 move to proper scope to test variable values.
5917 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5918 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5919 New functions.
5920 (main): Call not_inline_func3.
5921 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5922 inline_func1, inline_func2, and inline_func3. Test that when each
5923 breakpoint is hit, GDB properly reports both the stop location
5924 and the backtrace. Repeat tests for temporary breakpoints.
5925
0726fcc6
MR
59262018-05-15 Maciej W. Rozycki <macro@mips.com>
5927
5928 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5929 rather then trying to access it in determining whether the PID
5930 of `gdbserver' could have been retrieved.
5931
8ee22052
AB
59322018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5933
5934 * gdb.arch/amd64-init-x87-values.S: New file.
5935 * gdb.arch/amd64-init-x87-values.exp: New file.
5936
7785df48
JK
59372018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5938
5939 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5940
56bcdbea
TT
59412018-05-04 Tom Tromey <tom@tromey.com>
5942
5943 PR python/22730:
5944 * gdb.python/python.exp: Test multi-line execute.
5945
a913fffb
TT
59462018-05-04 Tom Tromey <tom@tromey.com>
5947
5948 PR python/22731:
5949 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5950
7a2c85f2
TT
59512018-05-04 Tom Tromey <tom@tromey.com>
5952
5953 PR gdb/11750:
5954 * gdb.base/define.exp: Test defining a user command inside a user
5955 command.
5956 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5957
a3b60e45
JK
59582018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5959 Pedro Alves <palves@redhat.com>
5960
5961 PR breakpoints/19806 and support for PR external/20207.
5962 * gdb.base/watchpoint-unaligned.c: New file.
5963 * gdb.base/watchpoint-unaligned.exp: New file.
5964
45fe4a03
AB
59652018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5966
5967 * gdb.base/maint.exp: Make test names unique, use
5968 test_prefix_command_help to test 'help maint info', and remove
5969 repeated test of 'help maint'.
5970
9be2ae8f
TT
59712018-05-04 Tom Tromey <tom@tromey.com>
5972
5973 PR gdb/22619:
5974 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5975 behavior.
5976
11859c31
AB
59772018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5978
5979 * gdb.base/maint.exp: Process output from 'maint print registers'
5980 line at a time.
5981
089a9490
AB
59822018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5983
5984 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5985 timeout.
5986
9b0797e2
AB
59872018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5988
5989 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5990 filter pattern.
5991
f6ac5f3d
PA
59922018-05-02 Pedro Alves <palves@redhat.com>
5993
5994 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5995 to_log_command renames.
5996 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5997
77d3c63b
TT
59982018-05-02 Tom Tromey <tom@tromey.com>
5999
6000 * gdb.python/py-parameter.exp: Set test message.
6001
0489430a
TT
60022018-05-02 Tom Tromey <tom@tromey.com>
6003
6004 PR python/20084:
6005 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
6006 PARAM_ZUINTEGER_UNLIMITED tests.
6007
1632f8ba
DR
60082018-04-28 Dan Robertson <danlrobertson89@gmail.com>
6009
6010 PR rust/23124
6011 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
6012 when casting.
6013
6d7bb824
TT
60142018-04-30 Tom Tromey <tom@tromey.com>
6015
6016 * gdb.python/py-type.exp: Check align attribute.
6017 * gdb.python/py-type.c: New "aligncheck" global.
6018
007e1530
TT
60192018-04-30 Tom Tromey <tom@tromey.com>
6020
6021 PR exp/17095:
6022 * gdb.dwarf2/dw2-align.exp: New file.
6023 * gdb.cp/align.exp: New file.
6024 * gdb.base/align.exp: New file.
6025 * lib/gdb.exp (gdb_int128_helper): New proc.
6026 (has_int128_c, has_int128_cxx): New caching procs.
6027
6873858b
TT
60282018-04-27 Tom Tromey <tom@tromey.com>
6029
6030 PR rust/22545:
6031 * gdb.rust/simple.exp: Add inclusive range tests.
6032
79188d8d
PA
60332018-04-26 Pedro Alves <palves@redhat.com>
6034
6035 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
6036 ifunc breakpoint locations correctly of ifunc breakpoints set
6037 while the program resolves the ifunc.
6038
c7075ad5
PA
60392018-04-26 Pedro Alves <palves@redhat.com>
6040
6041 * gdb.base/gnu-ifunc-final.c: New file.
6042 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
6043 * gdb.base/gnu-ifunc.exp (executable): Delete.
6044 (staticexecutable): Adjust.
6045 (lib_opts, exec_opts): Delete.
6046 (make_binsuffix, build, set-break): New procedures.
6047 (misc_tests): New, with tests factored out from the top level.
6048 (top level): Test different combinations of ifunc resolver name,
6049 resolver with and with debug info, and ifunc target with and
6050 without debug info. Wrap static tests with with_target_prefix.
6051
8388016d
PA
60522018-04-26 Pedro Alves <palves@redhat.com>
6053
6054 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
6055 return type" warnings.
6056
249b5733
PA
60572018-04-25 Pedro Alves <palves@redhat.com>
6058
6059 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
6060 killed".
6061 * gdb.base/kill-after-signal.exp: Likewise.
6062 * gdb.threads/kill.exp: Likewise.
6063
f67c0c91
SDJ
60642018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6065 Sergio Durigan Junior <sergiodj@redhat.com>
6066 Pedro Alves <palves@redhat.com>
6067
6068 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
6069 regexps to expect for '[Inferior ... detached]' as well.
6070 * gdb.base/attach.exp: Likewise.
6071 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
6072 "gdb_continue_to_end".
6073 (test_catch_syscall_with_wrong_args): Likewise.
6074 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
6075 ']'. Don't set 'verbose' on.
6076 * gdb.base/foll-vfork.exp: Likewise.
6077 * gdb.base/fork-print-inferior-events.c: New file.
6078 * gdb.base/fork-print-inferior-events.exp: New file.
6079 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
6080 '[Inferior ... has been killed]' message.
6081 * gdb.base/kill-after-signal.exp: Likewise.
6082 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
6083 detach message.
6084 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
6085 message.
6086 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
6087 regexps to expect for '[Inferior ... detached]' as well.
6088 * gdb.threads/process-dies-while-detaching.exp: Likewise.
6089
0a8ddac4
SM
60902018-04-24 Simon Marchi <simon.marchi@ericsson.com>
6091
6092 PR gdb/23104
6093 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
6094
701adfb0
PA
60952018-04-22 Rajendra SY <rajendra.sy@gmail.com>
6096
6097 PR gdb/23095
6098 * gdb.base/break-probes.exp: Pass shlib_load to
6099 prepare_for_testing. Set normal_bp to r_debug_state if target is
6100 bsd.
6101
d27d16bf
RB
61022018-04-19 Richard Bunt <richard.bunt@arm.com>
6103
6104 * gdb.threads/multiple-successive-infcall.c: New test.
6105 * gdb.threads/multiple-successive-infcall.exp: New file.
6106
a037790e
TT
61072018-04-17 Tom Tromey <tom@tromey.com>
6108
6109 * gdb.rust/simple.rs (Union): New type.
6110 (main): New local "u".
6111 * gdb.rust/simple.exp (test_one_slice): Add new test case.
6112
e3a91079
AA
61132018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6114
6115 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
6116 number information in output of "whereis" command.
6117 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
6118
b744723f
AA
61192018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6120
6121 * gdb.ada/info_types.exp: Adjust expected output to the line
6122 numbers now printed by "info var/func/type".
6123 * gdb.base/completion.exp: Likewise.
6124 * gdb.base/included.exp: Likewise.
6125 * gdb.cp/cp-relocate.exp: Likewise.
6126 * gdb.cp/cplusfuncs.exp: Likewise.
6127 * gdb.cp/namespace.exp: Likewise.
6128 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
6129
4a4495d6
MM
61302018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6131
6132 * gdb.btrace/cpu.exp: New.
6133
1d509aa6
MM
61342018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6135
6136 * gdb.base/step-indirect-call-thunk.exp: New.
6137 * gdb.base/step-indirect-call-thunk.c: New.
6138 * gdb.reverse/step-indirect-call-thunk.exp: New.
6139 * gdb.reverse/step-indirect-call-thunk.c: New.
6140
6295b6da
SM
61412018-04-11 Simon Marchi <simon.marchi@ericsson.com>
6142
6143 * gdb.base/pie-fork.c: New file.
6144 * gdb.base/pie-fork.exp: New file.
6145
50146e70
TT
61462018-04-11 Tom Tromey <tom@tromey.com>
6147
6148 * gdb.rust/simple.exp: Add test for ".." struct initializer.
6149
f50d8a2e
PA
61502018-04-10 Pedro Alves <palves@redhat.com>
6151
6152 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
6153 exits. Instead loop running forever.
6154 (fork_parent): Run forever too.
6155
a0be7a36
SM
61562018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6157
6158 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
6159 mi_continue_to_line.
6160 * gdb.mi/mi-stack.c (callee4): Add comment.
6161
9b73db36
SM
61622018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6163
6164 * gdb.mi/mi-stack.exp: Fix indentation.
6165
c912f608
SM
61662018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6167
6168 PR gdb/22979
6169 * gdb.arch/amd64-osabi.exp: New file.
6170
26540402
SM
61712018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6172
6173 PR gdb/22980
6174 * gdb.base/osabi.exp: New file.
6175
121ad66c 61762018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
6177
6178 * gdb.cp/static-typedef-print.exp: New file.
6179 * gdb.cp/static-typedef-print.cc: New file.
6180
3fcded8f
JB
61812018-03-27 Joel Brobecker <brobecker@adacore.com>
6182
6183 * gdb.ada/varsize_limit: New testcase.
6184
59cc4834
JB
61852018-03-27 Joel Brobecker <brobecker@adacore.com>
6186
6187 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
6188
6189 * gdb.ada/notcplusplus: New testcase.
6190
6191 * gdb.base/c-linkage-name.c: New file.
6192 * gdb.base/c-linkage-name.exp: New testcase.
6193
4ca59a9f
TT
61942018-03-26 Tom Tromey <tom@tromey.com>
6195
6196 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
6197 * gdb.python/py-framefilter.py (name_error): New global.
6198 (ErrorInName.function): Use name_error.
6199
978d6c75
TT
62002018-03-26 Tom Tromey <tom@tromey.com>
6201
6202 PR backtrace/15582:
6203 * gdb.python/py-framefilter.exp: Add "bt hide" test.
6204
b7fee5a3
KS
62052018-03-23 Keith Seitz <keiths@redhat.com>
6206
6207 PR c++/22968
6208 * gdb.cp/subtypes.exp: New file.
6209 * gdb.cp/subtypes.h: New file.
6210 * gdb.cp/subtypes.cc: New file.
6211 * gdb.cp/subtypes-2.cc: New file.
6212
376be529
AB
62132018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6214
6215 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
6216 (done): Call '_exit' not 'exit' to avoid atexit handlers.
6217 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
6218 -nostartfiles when compiling the test. Confirm that all registers
6219 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
6220
066cfa98
AB
62212018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6222
6223 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
6224 option, syntax was wrong anyway.
6225 * gdb.arch/arm-disp-step.exp: Likewise.
6226 * gdb.arch/sparc64-regs.exp: Likewise.
6227 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
6228 option, syntax was wrong anyway, switch to use
6229 prepare_for_testing.
6230 * gdb.arch/i386-disp-step.exp: Likewise.
6231
079670b9
AA
62322018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
6233
6234 * gdb.ada/exec_changed.exp: Replace "target_info exists
6235 use_gdb_stub" by "use_gdb_stub".
6236 * gdb.ada/start.exp: Likewise.
6237 * gdb.base/async-shell.exp: Likewise.
6238 * gdb.base/attach-pie-misread.exp: Likewise.
6239 * gdb.base/attach-wait-input.exp: Likewise.
6240 * gdb.base/break-entry.exp: Likewise.
6241 * gdb.base/break-interp.exp: Likewise.
6242 * gdb.base/dprintf-detach.exp: Likewise.
6243 * gdb.base/nostdlib.exp: Likewise.
6244 * gdb.base/solib-nodir.exp: Likewise.
6245 * gdb.base/statistics.exp: Likewise.
6246 * gdb.base/testenv.exp: Likewise.
6247 * gdb.mi/mi-exec-run.exp: Likewise.
6248 * gdb.mi/mi-start.exp: Likewise.
6249 * gdb.multi/dummy-frame-restore.exp: Likewise.
6250 * gdb.multi/multi-arch-exec.exp: Likewise.
6251 * gdb.multi/multi-arch.exp: Likewise.
6252 * gdb.multi/tids.exp: Likewise.
6253 * gdb.multi/watchpoint-multi.exp: Likewise.
6254 * gdb.python/py-events.exp: Likewise.
6255 * gdb.threads/attach-into-signal.exp: Likewise.
6256 * gdb.threads/attach-stopped.exp: Likewise.
6257 * gdb.threads/threadapply.exp: Likewise.
6258 * lib/selftest-support.exp: Likewise.
6259
26d6cec4
AA
62602018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
6261
6262 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
6263
4ee89e90
SR
62642018-03-20 Stephen Roberts <stephen.roberts@arm.com>
6265
6266 * gdb.perf/template-breakpoints.cc: New file.
6267 * gdb.perf/template-breakpoints.exp: New file.
6268 * gdb.perf/template-breakpoints.py: New file.
6269
92630041
TT
62702018-03-19 Tom Tromey <tom@tromey.com>
6271
6272 * gdb.rust/simple.rs (main): Add local variables field1, field2,
6273 y0.
6274 * gdb.rust/simple.exp: Test bare identifier form of struct
6275 initializer.
6276
76727919
TT
62772018-03-19 Tom Tromey <tom@tromey.com>
6278
6279 * gdb.gdb/observer.exp: Remove.
6280
194ed413
AA
62812018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6282
6283 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
6284 "qualified" option when setting breakpoints.
6285 * gdb.trace/backtrace.exp: Likewise.
6286 * gdb.trace/circ.exp: Likewise.
6287 * gdb.trace/collection.exp: Likewise.
6288 * gdb.trace/disconnected-tracing.exp: Likewise.
6289 * gdb.trace/ftrace-lock.exp: Likewise.
6290 * gdb.trace/ftrace.exp: Likewise.
6291 * gdb.trace/infotrace.exp: Likewise.
6292 * gdb.trace/packetlen.exp: Likewise.
6293 * gdb.trace/passc-dyn.exp: Likewise.
6294 * gdb.trace/qtro.exp: Likewise.
6295 * gdb.trace/read-memory.exp: Likewise.
6296 * gdb.trace/report.exp: Likewise.
6297 * gdb.trace/signal.exp: Likewise.
6298 * gdb.trace/status-stop.exp: Likewise.
6299 * gdb.trace/strace.exp: Likewise.
6300 * gdb.trace/tfind.exp: Likewise.
6301 * gdb.trace/trace-break.exp: Likewise.
6302 * gdb.trace/trace-condition.exp: Likewise.
6303 * gdb.trace/trace-mt.exp: Likewise.
6304 * gdb.trace/tstatus.exp: Likewise.
6305 * gdb.trace/tsv.exp: Likewise.
6306 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6307 * gdb.trace/unavailable.exp: Likewise.
6308 * gdb.trace/while-dyn.exp: Likewise.
6309
8b067d2c
AA
63102018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6311
6312 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
6313 that libinproctrace is copied to the target.
6314
3ae9ce5d
TT
63152018-03-14 Tom Tromey <tom@tromey.com>
6316
6317 PR cli/14977:
6318 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
6319 a null pointer.
6320 * gdb.base/wchar.exp: Likewise.
6321
b8c2339b
TT
63222018-03-14 Tom Tromey <tom@tromey.com>
6323
6324 PR cli/19918:
6325 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
6326 flag.
6327
4872dc46
SM
63282018-03-08 Simon Marchi <simon.marchi@ericsson.com>
6329
6330 PR gdb/22841
6331 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
6332 "target" to remote_exec.
6333
e4fe3756
SM
63342018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
6335
6336 PR gdb/22841
6337 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
6338 ${board}_upload): Remove.
6339
e95a97d4
AA
63402018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
6341
6342 * gdb.cp/watch-cp.cc: New test.
6343 * gdb.cp/watch-cp.exp: New file.
6344
dbbb1059
AB
63452018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6346
6347 * gdb.base/infcall-nested-structs.exp: New file.
6348 * gdb.base/infcall-nested-structs.c: New file.
6349 * gdb.base/float.exp: Add riscv support.
6350
ecc054c0
TP
63512018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
6352
6353 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
6354 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
6355
25e3c82c
SDJ
63562018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
6357
6358 * gdb.server/abspath.exp: New file.
6359 * lib/gdb.exp (with_cwd): New procedure.
6360
3083294d
SM
63612018-02-28 Simon Marchi <simon.marchi@ericsson.com>
6362
6363 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
6364 use it.
6365 (gdb_is_target_remote_prompt): New proc.
6366 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
6367 (gdb_is_target_native): Pass prompt parameter to
6368 gdb_is_target_1.
6369
3275ef47
SM
63702018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
6371
6372 * gdb.base/load-command.c: New file.
6373 * gdb.base/load-command.exp: New file.
6374 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
6375 (gdb_is_target_1): ...this, and generalize for other targets
6376 than just remote.
6377 (gdb_is_target_remote): Use gdb_is_target_1.
6378 (gdb_is_target_native): use gdb_is_target_1.
6379
6893c19a
TT
63802018-02-26 Tom Tromey <tom@tromey.com>
6381
6382 PR python/16497:
6383 * gdb.python/py-framefilter.exp: Update test.
6384
2ddeaf8a
TT
63852018-02-26 Tom Tromey <tom@tromey.com>
6386
6387 * gdb.dwarf2/variant.c: New file.
6388 * gdb.dwarf2/variant.exp: New file.
6389
c9317f21
TT
63902018-02-26 Tom Tromey <tom@tromey.com>
6391
6392 * gdb.rust/simple.exp: Accept more possible results in enum test.
6393
6f6d0c26
SM
63942018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
6395
6396 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
6397 parentheses.
6398
11b03145
MR
63992018-02-23 Maciej W. Rozycki <macro@mips.com>
6400
6401 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
6402 name of a variable: $actual_linejj -> $actual_line.
6403
54a27fe5
JB
64042018-02-21 John Baldwin <jhb@FreeBSD.org>
6405
6406 * gdb.arch/amd64-i386-address.exp: Fix a typo.
6407
de65820c
MM
64082018-02-20 Markus Metzger <markus.t.metzger@intel.com>
6409
6410 * gdb.btrace/buffer-size.exp: Do not force BTS.
6411
980548fd
PA
64122018-02-14 Pedro Alves <palves@redhat.com>
6413
6414 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
6415 getting a "Quit".
6416
c4e12631
MM
64172018-02-09 Markus Metzger <markus.t.metzger@intel.com>
6418
6419 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
6420 Fix test name.
6421
c2e0e465
SM
64222018-02-07 Simon Marchi <simon.marchi@ericsson.com>
6423
6424 * gdb.cp/m-static.exp: Check type of optimized out static
6425 member.
6426
f7216783
AB
64272018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
6428
6429 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
6430 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
6431
0625771b
LS
64322018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
6433 Leszek Swirski <leszeks@google.com>
6434
6435 * gdb.python/py-prettyprint.c
6436 (struct to_string_returns_value_inner,
6437 struct to_string_returns_value_wrapper): New.
6438 (main): Add tsrvw variable.
6439 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
6440 ToStringReturnsValueWrapper): New classes.
6441 (register_pretty_printers): Register new pretty-printers.
6442 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
6443 recursive pretty printer.
6444 * gdb.python/py-mi.exp: Likewise.
6445
59498c30
LS
64462018-02-01 Leszek Swirski <leszeks@google.com>
6447
6448 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
6449 functions with the same name as an include file are parsed
6450 correctly.
6451
d4d38844
YQ
64522018-02-01 Yao Qi <yao.qi@linaro.org>
6453
6454 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
6455 "\[^\r\n\]*".
6456
07e5f5cf
NP
64572018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
6458
6459 * gdb.arch/powerpc-prologue-frame.s: New file.
6460 * gdb.arch/powerpc-prologue-frame.c: Likewise.
6461 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
6462
929b5ad4
JB
64632018-01-31 Joel Brobecker <brobecker@adacore.com>
6464
6465 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
6466
e671cd59
PA
64672018-01-30 Pedro Alves <palves@redhat.com>
6468
6469 PR gdb/13211
6470 * gdb.base/interrupt-daemon.c: New.
6471 * gdb.base/interrupt-daemon.exp: New.
6472 * gdb.multi/multi-term-settings.c: New.
6473 * gdb.multi/multi-term-settings.exp: New.
6474
fc413dc4
JB
64752018-01-30 Joel Brobecker <brobecker@adacore.com>
6476
6477 * gdb.base/break.exp: Save the location where the breakpoint
6478 on break.c:47 was actually inserted when debugging the version
6479 compiled at -O2 and use it in the expected output of the "info
6480 break" test performed soon after.
6481
5c319bb2
PA
64822018-01-22 Pedro Alves <palves@redhat.com>
6483 Sergio Durigan Junior <sergiodj@redhat.com>
6484
6485 * gdb.base/whatis.exp: Add tests for 'set print object on' +
6486 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
6487
a9e40818
JB
64882018-01-22 Joel Brobecker <brobecker@adacore.com>
6489
6490 * gdb.base/break-include.c, gdb.base/break-include.inc,
6491 gdb.base/break-include.exp: New files.
6492 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
6493 line number now being the actual line number where the breakpoint
6494 was inserted.
6495 * gdb.mi/mi-break.exp: Likewise.
6496 * gdb.mi/mi-reverse.exp: Likewise.
6497 * gdb.mi/mi-simplerun.exp: Ditto.
6498
e707fc44
AB
64992018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6500
6501 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
6502 varobj.
6503 * gdb.mi/mi-var-create-rtti.exp: Likewise.
6504
ae451627
AB
65052018-01-21 Don Breazeal <donb@codesourcery.com>
6506 Andrew Burgess <andrew.burgess@embecosm.com>
6507
6508 * gdb.mi/basics.c: Add new global.
6509 * gdb.mi/mi-frame-regs.exp: New file.
6510 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
6511 case.
6512
b1b189e0
AB
65132018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6514
6515 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
6516 non-parameter, and on an unknown symbol.
6517
fcfcc376
TT
65182018-01-19 Tom Tromey <tom@tromey.com>
6519
6520 * gdb.rust/modules.rs (TWENTY_THREE): New global.
6521 * gdb.rust/modules.exp: Add ::-qualified lookup test.
6522
634c1c31
AA
65232018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6524
6525 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
6526 setrlimit and chdir to int.
6527
d6ad07fd
AA
65282018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6529
6530 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
6531 function.
6532 (my_tend): Likewise.
6533 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
6534 rationale of avoiding FP- and vector instructions.
6535
adf8243b
RK
65362018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
6537
6538 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
6539 "info reg" with "\[ \t\]*".
6540 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
6541 "\[ \t\]+".
6542 * gdb.arch/s390-multiarch.exp: Ditto.
6543 * gdb.base/pc-fp.exp: Ditto.
6544 * gdb.reverse/i386-precsave.exp: Ditto.
6545 * gdb.reverse/i386-reverse.exp: Ditto.
6546 * gdb.reverse/i387-env-reverse.exp: Ditto.
6547 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6548
dcc06925
AA
65492018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6550
6551 * lib/gdb.exp (gdb_compile): Re-enable use of
6552 universal_compile_options for languages other than Rust.
6553
25d4fd80
AA
65542018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6555
6556 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
6557
ee7f689e 65582018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
6559
6560 PR gdb/16577
6561 * gdb.base/solib-vanish.exp: New.
6562 * gdb.base/solib-vanish-main.c: New.
6563 * gdb.base/solib-vanish-lib1.c: New.
6564 * gdb.base/solib-vanish-lib2.c: New.
6565
d8447b6b
YQ
65662018-01-17 Yao Qi <yao.qi@linaro.org>
6567
6568 * gdb.compile/compile.exp: Match the address printed for
6569 frame in the output of command "bt".
6570
86d6a90c
TT
65712018-01-15 Tom Tromey <tom@tromey.com>
6572
6573 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
6574 compute sp_reg.
6575
cbcdb1aa
AB
65762018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6577
6578 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
6579 to prepare.
6580 (prepare): Return 0 on error, 1 on success.
6581
eea61984
PA
65822018-01-12 Pedro Alves <palves@redhat.com>
6583
6584 * gdb.base/continue-after-aborted-step-over.c: New.
6585 * gdb.base/continue-after-aborted-step-over.exp: New.
6586
6181e9c2
SM
65872018-01-11 Simon Marchi <simon.marchi@ericsson.com>
6588
6589 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
6590 options when not creating an executable.
6591
3cada740
PA
65922018-01-11 Pedro Alves <palves@redhat.com>
6593
6594 PR remote/22597
6595 * gdb.server/stop-reply-no-thread.c: New file.
6596 * gdb.server/stop-reply-no-thread.exp: New file.
6597
c63d3e8d
PA
65982018-01-10 Pedro Alves <palves@redhat.com>
6599
6600 PR gdb/22670
6601 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
6602 functions too. Test setting breakpoints and printing C functions
6603 with no debug info too.
6604 * gdb.ada/bp_c_mixed_case/qux.c: New file.
6605
d4c2a405
PA
66062018-01-10 Pedro Alves <palves@redhat.com>
6607
6608 PR gdb/22670
6609 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
6610 a fail.
6611
8825213e
PA
66122018-01-10 Pedro Alves <palves@redhat.com>
6613
6614 PR gdb/22670
6615 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
6616
605fd3c6
YQ
66172018-01-08 Simon Marchi <simon.marchi@ericsson.com>
6618
6619 * gdb.server/unittest.exp: Match the output in non-development
6620 mode.
6621
1e5ded6c
YQ
66222018-01-08 Simon Marchi <simon.marchi@ericsson.com>
6623
6624 * gdb.gdb/unittest.exp: Match output in non-development mode.
6625
30066b0b
JB
66262018-01-08 Joel Brobecker <brobecker@adacore.com>
6627
6628 * gdb.ada/access_tagged_param.exp: Relax expected output
6629 for value of "ObjL" in "continue" to pck.inspect breakpoint
6630 test.
6631
04bafb1e
XR
66322018-01-08 Joel Brobecker <brobecker@adacore.com>
6633
9f86398b
JB
6634 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
6635 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 6636
e379cee6
PA
66372018-01-05 Pedro Alves <palves@redhat.com>
6638
6639 PR gdb/18653
6640 * gdb.base/libsegfault.exp: New.
6641
de63c46b
PA
66422018-01-05 Joel Brobecker <brobecker@adacore.com>
6643
6644 PR gdb/22670
6645 * gdb.ada/access_tagged_param.exp: New file.
6646 * gdb.ada/access_tagged_param/foo.adb: New file.
6647
f98fc17b
PA
66482018-01-05 Pedro Alves <palves@redhat.com>
6649
6650 PR gdb/22670
6651 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
6652 exercise lower case too, and to exercise both full matching and
6653 wild matching.
6654
342f8240
JB
66552018-01-05 Joel Brobecker <brobecker@adacore.com>
6656
6657 * gdb.ada/rename_subscript_param: New testcase.
6658
7150d33c
JG
66592018-01-05 Jerome Guitton <guitton@adacore.com>
6660
6661 * gdb.ada/arr_acc_idx_w_gap: New testcase.
6662
cc0e770c
JB
66632018-01-05 Joel Brobecker <brobecker@adacore.com>
6664
6665 * gdb.ada/convvar_comp: New testcase.
6666
672a41aa 66672018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
6668
6669 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
6670 (My_Table): New global variable.
6671 * testsuite/gdb.ada/array_char_idx.exp: Add test.
6672
7365ec2f
JB
66732018-01-04 Joel Brobecker <brobecker@adacore.com>
6674
6675 PR gdb/22670
6676 * gdb.ada/maint_with_ada: New testcase.
6677
289483b6
JB
66782018-01-04 Joel Brobecker <brobecker@adacore.com>
6679
6680 PR gdb/22670
6681 * gdb.ada/bp_c_mixed_case: New testcase.
6682
344420da
JB
66832018-01-04 Joel Brobecker <brobecker@adacore.com>
6684
6685 PR gdb/22670
6686 * gdb.ada/complete.exp: Add "complete break ada" test.
6687
66fc87a0
JB
66882018-01-04 Joel Brobecker <brobecker@adacore.com>
6689
6690 PR gdb/22670
6691 * gdb.ada/info_addr_mixed_case: New testcase.
6692
9f757bf7
XR
66932018-01-03 Xavier Roirand <roirand@adacore.com>
6694
6695 * gdb.ada/excep_handle.exp: New testcase.
6696 * gdb.ada/excep_handle/foo.adb: New file.
6697 * gdb.ada/excep_handle/pck.ads: New file.
6698
bd570f80
JB
66992018-01-03 Joel Brobecker <brobecker@adacore.com>
6700
6701 * gdb.base/step-line.c: Add extra empty line in copyright header.
6702 * gdb.base/step-line.inp: Likewise.
6703
9fe561ab
JB
67042018-01-02 Joel Brobecker <brobecker@adacore.com>
6705
6706 * gdb.ada/dyn_stride.exp: Add slice test.
6707
a405673c
JB
67082018-01-02 Joel Brobecker <brobecker@adacore.com>
6709
6710 * gdb.ada/dyn_stride: New testcase.
6711
cef0f868
SH
67122017-12-27 Stafford Horne <shorne@gmail.com>
6713
6714 * gdb.xml/extra-regs.xml: Add example foo reggroup.
6715 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
6716
b67d92b0
SH
67172017-12-27 Stafford Horne <shorne@gmail.com>
6718
6719 * gdb.base/reggroups.c: New file.
6720 * gdb.base/reggroups.exp: New file.
6721
eccab96d
JB
67222017-12-18 Joel Brobecker <brobecker@adacore.com>
6723
6724 * gdb.dwarf2/ada-valprint-error.c: New file.
6725 * gdb.dwarf2/ada-valprint-error.exp: New file.
6726
0e2da9f0
JB
67272017-12-18 Joel Brobecker <brobecker@adacore.com>
6728
6729 * gdb.ada/assign_arr: New testcase.
6730
cb923fcc
XR
67312017-12-18 Xavier Roirand <roirand@adacore.com>
6732
6733 * gdb.ada/funcall_ptr: New testcase.
6734
7c161838
SDJ
67352017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6736
6737 PR cli/16224
6738 * gdb.base/ptype-offsets.cc: New file.
6739 * gdb.base/ptype-offsets.exp: New file.
6740
1af17fd9
YQ
67412017-12-15 Yao Qi <yao.qi@linaro.org>
6742
6743 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
6744 if XML is disabled.
6745
828d5846
XR
67462017-12-15 Xavier Roirand <roirand@adacore.com>
6747
6748 * gdb.ada/same_component_name: New testcase.
6749
79e8fcaa
JB
67502017-12-14 Joel Brobecker <brobecker@adacore.com>
6751
6752 * gdb.ada/str_binop_equal: New testcase.
6753
e05fa6f9
JB
67542017-12-14 Joel Brobecker <brobecker@adacore.com>
6755
6756 * gdb.ada/task_switch_in_core: New testcase.
6757
b89641ba
SM
67582017-12-13 Simon Marchi <simon.marchi@ericsson.com>
6759
6760 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
6761 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
6762 call test_bkpt_qualified.
6763 (test_bkpt_qualified): New proc.
6764
6892d2e4
PA
67652017-12-13 Pedro Alves <palves@redhat.com>
6766
6767 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6768 Tighten regexp by matching with an anchor.
6769
a22ecf70
PA
67702017-12-13 Pedro Alves <palves@redhat.com>
6771
6772 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
6773 ("expression with namespace"): New set of tests.
6774 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
6775 (Nested::Test_NS::qux): New.
6776 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
6777 defaults to 'start_quote_char' and 'end_quote_char' parameters.
6778
9937536c
JB
67792017-12-13 Joel Brobecker <brobecker@adacore.com>
6780
6781 * gdb.base/server-del-break.c: New file.
6782 * gdb.base/server-del-break.exp: New file.
6783
fe49c6f5
SH
67842017-12-12 Stafford Horne <shorne@gmail.com>
6785
6786 * gdb.xml/tdesc-regs.exp: Add or1k support.
6787
c3d18620
SH
67882017-12-12 Stafford Horne <shorne@gmail.com>
6789
6790 * gdb.base/bp-permanent.c: Define nop of or1k.
6791
c5f9cfc8
JB
67922017-12-11 Joel Brobecker <brobecker@adacore.com>
6793
6794 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
6795 output with components being reordered.
6796
a9c135fc
JB
67972017-12-11 Joel Brobecker <brobecker@adacore.com>
6798
6799 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
6800 output with components being reordered.
6801
927aa2e7
JK
68022017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6803 Pedro Alves <palves@redhat.com>
6804
6805 * gdb.base/maint.exp (check for .gdb_index): Check also for
6806 .debug_names.
6807 * gdb.dlang/watch-loc.c (.debug_aranges): New.
6808 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
6809 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
6810 (.gdb_index used after symbol reloading): Support also .debug_names.
6811 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
6812
f17d9474
YQ
68132017-12-08 Yao Qi <yao.qi@linaro.org>
6814
6815 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6816 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
6817
a0de8c21
YQ
68182017-12-08 Yao Qi <yao.qi@linaro.org>
6819
6820 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6821 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
6822
a738ea1d
YQ
68232017-12-08 Yao Qi <yao.qi@linaro.org>
6824
6825 * gdb.arch/aarch64-tagged-pointer.c: New file.
6826 * gdb.arch/aarch64-tagged-pointer.exp: New file.
6827
1cd9a73b
SDJ
68282017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
6829
6830 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
6831 "int".
6832
fa6eb693
KS
68332017-12-07 Keith Seitz <keiths@redhat.com>
6834
6835 PR breakpoints/22569
6836 * gdb.linespec/ls-errs.exp: Change expected result of "break
6837 -source this file has spaces.c -line 3".
6838 Check that an explicit source file followed by whitespace is
6839 identified as an invalid explicit location.
6840
883fd55a
KS
68412017-12-07 Keith Seitz <keiths@redhat.com>
6842
6843 * gdb.cp/nested-types.cc: New file.
6844 * gdb.cp/nested-types.exp: New file.
6845 * lib/cp-support.exp: Load data-structures.exp library.
6846 (debug_cp_test_ptype_class): New global.
6847 (cp_ptype_class_verbose, next_line): New procedures.
6848 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
6849 Add and document new return value.
6850 Switch the list of lines to a queue.
6851 Add support for new `type' key for nested type definitions.
6852 Add debugging/troubleshooting messages.
6853 * lib/data-structures.exp: New file.
6854
ec72db3e
SM
68552017-12-07 Simon Marchi <simon.marchi@ericsson.com>
6856
6857 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
6858 with proc_with_prefix, don't use with_test_prefix.
6859
99598d71
TT
68602017-12-07 Tom Tromey <tom@tromey.com>
6861
6862 * gdb.base/break.exp: Add test for empty "commands".
6863
a8806230
YQ
68642017-12-07 Yao Qi <yao.qi@linaro.org>
6865
6866 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
6867 malloc and catch syscall.
6868
824cc835
PM
68692017-12-07 Phil Muldoon <pmuldoon@redhat.com>
6870
e79be6e5 6871 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
6872 tests for explicit locations.
6873
7cc244de
PA
68742017-12-06 Pedro Alves <palves@redhat.com>
6875
6876 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
6877 force-disabling XML descriptions.
6878
50a1fdd5
PA
68792017-12-04 Pedro Alves <palves@redhat.com>
6880
6881 PR gdb/22499
6882 * gdb.arch/amd64-disp-step-avx.S: New file.
6883 * gdb.arch/amd64-disp-step-avx.exp: New file.
6884
f0fb2488
PA
68852017-12-03 Pedro Alves <palves@redhat.com>
6886
6887 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6888 and <string.h>.
6889 (parent_function): Print distinct messages when waitpid fails, or
6890 the child exits with a signal, or the child exits for an unhandled
6891 reason.
6892 * gdb.threads/process-dies-while-detaching.exp
6893 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6894 it. Wait for both inferior output and GDB's prompt. Use an
6895 indirect spawn id list.
6896 (do_detach): New parameter 'child_exit'. Use it to compute
6897 expected inferior output.
6898 (test_detach, test_detach_watch, test_detach_killed_outside):
6899 Adjust to pass down the expected child exit kind.
6900
97cbe998
SDJ
69012017-12-01 Joel Brobecker <brobecker@adacore.com>
6902 Sergio Durigan Junior <sergiodj@redhat.com>
6903 Pedro Alves <palves@redhat.com>
6904
6905 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6906
40fc416f
SDJ
69072017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6908
6909 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6910 to 'symbol-file' and 'add-symbol-file' can be
6911 position-independent.
6912
1cc75e92
YQ
69132017-12-01 Yao Qi <yao.qi@linaro.org>
6914
6915 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6916 the URL in copyright header.
6917 * gdb.arch/aarch64-fp.exp: Likewise.
6918 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6919 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6920 * gdb.base/expand-psymtabs.exp: Likewise.
6921 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6922 * gdb.fortran/common-block.exp: Likewise.
6923 * gdb.fortran/common-block.f90: Likewise.
6924 * gdb.fortran/logical.exp: Likewise.
6925 * gdb.fortran/vla-datatypes.f90: Likewise.
6926 * gdb.fortran/vla-sub.f90: Likewise.
6927
875fb7a7
JB
69282017-11-30 Joel Brobecker <brobecker@adacore.com>
6929
6930 * gdb.ada/repeat_dyn: New testcase.
6931
6f14765f
UW
69322017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6933
6934 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6935 Update for changed thread numbering.
6936 * gdb.cell/bt.exp: Update for changed GDB output.
6937
f1af7b94
SM
69382017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6939
6940 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6941 setting isremote by hand.
6942 * boards/dwarf4-gdb-index.exp: Likewise.
6943 * boards/fission.exp: Likewise.
6944 * boards/stabs.exp: Likewise.
6945
e3919f3e
PA
69462017-11-30 Pedro Alves <palves@redhat.com>
6947
6948 * gdb.linespec/cpls-ops.exp
6949 (check_explicit_skips_function_argument): Extract the underlying
6950 type of size_t instead of hardcoding it.
6951
bd69330d
PA
69522017-11-29 Pedro Alves <palves@redhat.com>
6953
6954 PR c++/19436
6955 * gdb.linespec/cpls-abi-tag.cc: New file.
6956 * gdb.linespec/cpls-abi-tag.exp: New file.
6957
a20714ff
PA
69582017-11-29 Pedro Alves <palves@redhat.com>
6959
6960 * gdb.base/langs.exp: Use -qualified.
6961 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6962 it.
6963 * gdb.cp/namespace.exp: Use -qualified.
6964 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6965 (overload-3, template-overload, template-ret-type, const-overload)
6966 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6967 procedures.
6968 (test_driver): Call them.
6969 * gdb.cp/save-bp-qualified.cc: New.
6970 * gdb.cp/save-bp-qualified.exp: New.
6971 * gdb.linespec/explicit.exp: Test -qualified.
6972 * lib/completion-support.exp (completion::explicit_opts_list): Add
6973 "-qualified".
6974 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6975
f6f1d339
PM
69762017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6977
6978 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6979
02ca603a
TT
69802017-11-29 Tom Tromey <tom@tromey.com>
6981
6982 * gdb.base/relocate.exp: Update invalid argument test.
6983 Add new tests for invalid arguments.
6984
ed6c0bfb
TP
69852017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6986
6987 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6988 Return 0 as a long.
6989 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6990
f106e10e
TP
69912017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6992
6993 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6994 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6995 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6996 func ().
6997 * gdb.cp/shadow.cc (B.func): Return 0.
6998
10329bb2
JB
69992017-11-27 Joel Brobecker <brobecker@adacore.com>
7000
7001 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
7002 expected output in gdb_expect call to allow the exception
7003 message to be present as well. Fix syntax confusion to avoid
7004 TCL thinking that exception_name is an array.
7005
617cd4bc
UW
70062017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
7007
7008 * gdb.arch/spu-info.c: Include <unistd.h>.
7009 (do_signal_test): Fix broken calls to write.
7010 * gdb.arch/spu-info.exp: Use prepare_for_testing.
7011 Fix checks for empty mailboxes. Update signal tests for corrected
7012 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
7013 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
7014 * gdb.cell/arch.exp: Use standard_output_file.
7015 * gdb.cell/break.exp: Likewise.
7016 * gdb.cell/bt.exp: Likewise.
7017 * gdb.cell/core.exp: Likewise.
7018 * gdb.cell/dwarfaddr.exp: Likewise.
7019 * gdb.cell/ea-cache.exp: Likewise.
7020 * gdb.cell/ea-standalone.exp: Likewise.
7021 * gdb.cell/f-regs.exp: Likewise.
7022 * gdb.cell/fork.exp: Likewise.
7023 * gdb.cell/gcore.exp: Likewise.
7024 * gdb.cell/mem-access.exp: Likewise.
7025 * gdb.cell/ptype.exp: Likewise.
7026 * gdb.cell/registers.exp: Likewise.
7027 * gdb.cell/sizeof.exp: Likewise.
7028 * gdb.cell/solib-symbol.exp: Likewise.
7029 * gdb.cell/solib.exp: Likewise.
617cd4bc 7030
a81aaca0
PA
70312017-11-25 Pedro Alves <palves@redhat.com>
7032
7033 * gdb.base/complete-empty.exp: New file.
7034 * gdb.base/completion.exp: Adjust.
7035
6a3c6ee4
PA
70362017-11-25 Pedro Alves <palves@redhat.com>
7037
7038 * gdb.linespec/cpls-ops.cc: New file.
7039 * gdb.linespec/cpls-ops.exp: New file.
7040 * lib/completion-support.exp (test_complete_prefix_range_re): New,
7041 factored out from ...
7042 (test_complete_prefix_range): ... this.
7043
8955eb2d
PA
70442017-11-24 Pedro Alves <palves@redhat.com>
7045
7046 * gdb.linespec/cpcompletion.exp: New file.
7047 * gdb.linespec/cpls-hyphen.cc: New file.
7048 * gdb.linespec/cpls.cc: New file.
7049 * gdb.linespec/cpls2.cc: New file.
7050 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
7051 test to use test_gdb_complete_unique. Add label completion,
7052 keyword completion and explicit location completion tests.
7053 * lib/completion-support.exp: New file.
7054
e547c119
JB
70552017-11-24 Joel Brobecker <brobecker@adacore.com>
7056
7057 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
7058 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
7059 when hitting an exception catchpoint.
7060
7c3c1aa8
YQ
70612017-11-22 Yao Qi <yao.qi@linaro.org>
7062
7063 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
7064
41bd68f5
SM
70652017-11-22 Simon Marchi <simon.marchi@ericsson.com>
7066
7067 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
7068 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
7069 * gdb.dwarf2/info-locals-optimized-out.c: New file.
7070
1daad298
YQ
70712017-11-22 Yao Qi <yao.qi@linaro.org>
7072
7073 * gdb.base/info-os.exp: Pass pthreads.
7074 * gdb.multi/multi-attach.exp: Likewise.
7075
88465e87
YQ
70762017-11-22 Yao Qi <yao.qi@linaro.org>
7077
7078 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
7079 compiler.
7080
dc196b23
YQ
70812017-11-22 Yao Qi <yao.qi@linaro.org>
7082
7083 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
7084 * gdb.base/break-interp.exp: Likewise.
7085 * gdb.base/jit-attach-pie.exp: Likewise.
7086
2400729e
UW
70872017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7088
7089 * gdb.base/float128.c (large128): New variable.
7090 * gdb.base/float128.exp: Add test to print largest __float128 value.
7091
7a26362d
UW
70922017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7093
7094 * gdb.arch/vsx-regs.exp: Update register content checks.
7095
ed0f4273
UW
70962017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
7097
7098 * gdb.arch/ppc-longdouble.exp: New file.
7099 * gdb.arch/ppc-longdouble.c: Likewise.
7100
a25d69c6
PA
71012017-11-21 Pedro Alves <palves@redhat.com>
7102
7103 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
7104
73fcf641
PA
71052017-11-20 Pedro Alves <palves@redhat.com>
7106
7107 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
7108 (long_double_typedef): New typedefs.
7109 Use DEF on double and long double.
7110 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
7111 cases.
7112 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
7113 and 'long_double_ptr_same_size' locals. Use them to decide
7114 whether cast from array/function to float is valid/invalid.
7115
71a3c369
TT
71162017-11-17 Tom Tromey <tom@tromey.com>
7117
7118 * gdb.rust/traits.rs: New file.
7119 * gdb.rust/traits.exp: New file.
7120
ced9779b
JB
71212017-11-17 Joel Brobecker <brobecker@adacore.com>
7122
7123 * gdb.ada/minsyms: New testcase.
7124
a0922d80
PA
71252017-11-16 Pedro Alves <palves@redhat.com>
7126
7127 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
7128 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
7129
ea04e54c
PA
71302017-11-16 Pedro Alves <palves@redhat.com>
7131
7132 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
7133 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
7134
e849ea89
PA
71352017-11-16 Pedro Alves <palves@redhat.com>
7136
7137 * gdb.server/reconnect-ctrl-c.c: New file.
7138 * gdb.server/reconnect-ctrl-c.exp: New file.
7139
d8ae99a7
PM
71402017-11-16 Phil Muldoon <pmuldoon@redhat.com>
7141
7142 * gdb.python/py-rbreak.exp: New file.
7143 * gdb.python/py-rbreak.c: New file.
7144 * gdb.python/py-rbreak-func2.c: New file.
7145
968a13f8
PA
71462017-11-16 Pedro Alves <palves@redhat.com>
7147
7148 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
7149 pattern.
7150 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
7151 GDB.
7152
71774bc9
SM
71532017-11-15 Simon Marchi <simon.marchi@ericsson.com>
7154
7155 * gdb.tui/completionn.exp (test_tab_completion): Add space in
7156 regex.
7157
ddbb44cf
SM
71582017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
7159
7160 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
7161 test names.
7162
584a564f
PA
71632017-11-09 Pedro Alves <palves@redhat.com>
7164
7165 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
7166 factored out from ...
7167 (top level): ... here, and adjusted to avoid expecting beyond the
7168 prompt in a single gdb_test_multiple.
7169
5ed7a928
PA
71702017-11-09 Pedro Alves <palves@redhat.com>
7171
7172 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
7173 output.
7174 * gdb.server/ext-attach.exp ("kill" test): Likewise.
7175 * gdb.server/ext-restart.exp ("kill" test): Likewise.
7176 * gdb.server/ext-run.exp ("kill" test): Likewise.
7177 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
7178
a60e0738
PA
71792017-11-09 Pedro Alves <palves@redhat.com>
7180
7181 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
7182 match till end of line.
7183
2c88253f
PA
71842017-11-09 Pedro Alves <palves@redhat.com>
7185
7186 * gdb.base/memattr.exp: Tighten regexes to match the end line.
7187
c7a38517
PA
71882017-11-09 Pedro Alves <palves@redhat.com>
7189
7190 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
7191 New procedures, factored out from ...
7192 (top level): ... here, and adjusted to avoid expecting beyond the
7193 prompt in one go.
7194
f29f4b6b
PA
71952017-11-09 Pedro Alves <palves@redhat.com>
7196
7197 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
7198 output. Fix '?' match.
7199
286acbb5
JB
72002017-11-08 Joel Brobecker <brobecker@adacore.com>
7201
7202 * gdb.ada/scoped_watch: New testcase.
7203 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
7204 which is actually correct.
7205 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
7206 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
7207
62d7ae92
PA
72082017-11-08 Pedro Alves <palves@redhat.com>
7209
7210 * gdb.gdb/complaints.exp (test_initial_complaints)
7211 (test_serial_complaints, test_short_complaints): Call
7212 complaint_internal instead of complaint.
7213
280ca31f
DT
72142017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
7215
7216 * gdb.threads/tls-core.c: New file.
7217 * gdb.threads/tls-core.exp: Likewise.
7218
b5ec771e
PA
72192017-11-08 Pedro Alves <palves@redhat.com>
7220
7221 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
7222 (p Exported_Capitalized): New test.
7223 (p exported_capitalized): New test.
7224
a02b41a7
PA
72252017-11-07 Pedro Alves <palves@redhat.com>
7226
7227 * gdb.cp/ena-dis-br-range.exp: Add more tests.
7228
95e95a6d
PA
72292017-11-07 Pedro Alves <palves@redhat.com>
7230
7231 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
7232 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
7233 (disable_invalid, disable_inverted, disable_negative): New
7234 procedures.
7235 ("bad numbers"): New set of tests.
7236
cee62dbd
PA
72372017-11-07 Pedro Alves <palves@redhat.com>
7238
7239 * gdb.cp/ena-dis-br-range.exp: Add tests.
7240
cc638e86
PA
72412017-11-07 Pedro Alves <palves@redhat.com>
7242
7243 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
7244
d0fe4701
XR
72452017-11-07 Xavier Roirand <roirand@adacore.com>
7246 Pedro Alves <palves@redhat.com>
7247
7248 * gdb.base/ena-dis-br.exp: Add reference to
7249 gdb.cp/ena-dis-br-range.exp.
7250 * gdb.cp/ena-dis-br-range.exp: New file.
7251 * gdb.cp/ena-dis-br-range.cc: New file.
7252
46f67f80
PA
72532017-11-06 Pedro Alves <palves@redhat.com>
7254
7255 * gdb.base/attach-non-pgrp-leader.c: New.
7256 * gdb.base/attach-non-pgrp-leader.exp: New.
7257
726e1356
PA
72582017-11-06 Pedro Alves <palves@redhat.com>
7259
7260 * configure.ac: No longer check for termio.h and sgtty.h.
7261 * configure: Regenerate.
7262 * remote-utils.c: Include termios.h instead of gdb_termios.h.
7263 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
7264 Remove termio and sgtty code.
7265
50ab6ace
YQ
72662017-11-03 Yao Qi <yao.qi@linaro.org>
7267
7268 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
7269 in GDB is disabled.
7270
8e68731c
YQ
72712017-11-03 Yao Qi <yao.qi@linaro.org>
7272
7273 * gdb.python/py-thrhandle.exp: Skip it if python is not
7274 enabled.
7275
3a87ae65
SM
72762017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7277
7278 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
7279 as a breakpoint command.
7280
484d8d36
MD
72812017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
7282
7283 PR python/21213
7284 * gdb.python/py-infthread.exp: Test calling
7285 InferiorThread.inferior () multiple times in a row.
7286
4a27f119
KS
72872017-10-27 Keith Seitz <keiths@redhat.com>
7288
7289 * gdb.opt/inline-break.exp (break_info_1): New procedure.
7290 Test "info break" for every inlined function breakpoint.
7291
bb11dd58
YQ
72922017-10-27 Yao Qi <yao.qi@linaro.org>
7293
7294 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
7295
a43f3893
PF
72962017-10-26 Patrick Frants <osscontribute@gmail.com>
7297
7298 * gdb.cp/classes.exp (test_static_members): Test printing
7299 Outer::instance.
7300 * gdb.cp/classes.c (struct Inner, struct Outer): New.
7301 (Inner::instance, Outer::instance): New.
7302
792ccf00
PA
73032017-10-24 Pedro Alves <palves@redhat.com>
7304
7305 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
7306 extra console" test in two stages.
7307
eb2bfbad
PA
73082017-10-24 Pedro Alves <palves@redhat.com>
7309
7310 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
7311
1f75a651
PA
73122017-10-24 Pedro Alves <palves@redhat.com>
7313
7314 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
7315 loop.
7316
779990d9
PA
73172017-10-24 Pedro Alves <palves@redhat.com>
7318
7319 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
7320 $attempt" and "stoppedtry $stoppedtry" test prefixes.
7321
ad9b8f5d
PA
73222017-10-24 Pedro Alves <palves@redhat.com>
7323
7324 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
7325 parameter and handle it. Don't output read value in test name.
7326
fee6da6e
PA
73272017-10-24 Pedro Alves <palves@redhat.com>
7328
7329 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
7330 custom test name.
7331
10389c2c
PA
73322017-10-24 Pedro Alves <palves@redhat.com>
7333
7334 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
7335 include the unstable output directory name in the test's name.
7336 (initial_setup_simple) <'set args'>: Use custom test name.
7337
a80e65a9
PA
73382017-10-24 Pedro Alves <palves@redhat.com>
7339
7340 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
7341 with explicit test name.
7342
15763a09
PA
73432017-10-20 Pedro Alves <palves@redhat.com>
7344
7345 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
7346 'wait -i'. Use gdb_assert and remote_close.
7347
49a4ce2e
AB
73482017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
7349
7350 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
7351 number from variable rather than hard-coded.
7352
a75868f5
PA
73532017-10-19 Pedro Alves <palves@redhat.com>
7354
7355 * gdb.base/long-inferior-output.c: New file.
7356 * gdb.base/long-inferior-output.exp: New file.
7357
c8ba13ad
KS
73582017-11-18 Keith Seitz <keiths@redhat.com>
7359
7360 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
7361 method.
7362 (main): Call it.
7363 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
7364 Add additional user-defined conversion operator tests.
7365
b27de576
PA
73662017-10-17 Pedro Alves <palves@redhat.com>
7367
7368 * boards/native-stdio-gdbserver.exp: Load "local-board".
7369
8484c955
PA
73702017-10-17 Pedro Alves <palves@redhat.com>
7371
7372 * gdb.base/quit-live.c: New file.
7373 * gdb.base/quit-live.exp: New file.
7374
83d5a34d
KS
73752017-10-16 Keith Seitz <keiths@redhat.com>
7376
7377 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
7378 (class_with_protected_typedef, class_with_private_typedef)
7379 (struct_with_public_typedef, struct_with_protected_typedef)
7380 (struct_with_private_typedef): New classes/structs.
7381 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
7382 typedefs and access specifiers.
7383
739b3f1d
PA
73842017-10-16 Pedro Alves <palves@redhat.com>
7385 Simon Marchi <simon.marchi@polymtl.ca>
7386
7387 * README (Local vs Remote vs Native): New section.
7388 * boards/local-board.exp: New file, with bits factored out from
7389 ...
7390 * boards/native-extended-gdbserver.exp: ... here. Load
7391 "local-board".
7392 * boards/native-gdbserver.exp: Load "local-board".
7393 (${board}_spawn, ${board}_exec): Delete.
7394 * boards/native-stdio-gdbserver.exp: Most contents factored out to
7395 ...
7396 * boards/stdio-gdbserver-base.exp: ... this new file.
7397 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
7398 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
7399 procedure.
7400 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
7401 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
7402 stdio_gdbserver_command.
7403 (${board}_get_remote_address, ${board}_get_comm_port)
7404 (${board}_download, ${board}_upload): Delete.
7405 (get_target_remote_pipe_cmd): New.
7406
fe68b953
SM
74072017-10-16 Simon Marchi <simon.marchi@ericsson.com>
7408
7409 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
7410 test_bkpt_deletion, test_bkpt_cond_and_cmds,
7411 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
7412 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
7413 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
7414 remove with_test_prefix.
7415
300b6685
PA
74162017-10-13 Pedro Alves <palves@redhat.com>
7417
7418 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
7419 * gdb.base/annota1.exp: Use it instead of is_remote.
7420 * gdb.base/annota3.exp: Use it instead of is_remote.
7421 * gdb.cp/annota2.exp: Use it instead of is_remote.
7422 * gdb.cp/annota3.exp: Use it instead of is_remote.
7423 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
7424
50500caf
PA
74252017-10-13 Pedro Alves <palves@redhat.com>
7426
7427 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
7428 (test_num_test_vars, run_and_count_vars, find_env)
7429 (test_set_unset_env, test_inherit_env_var): New procedures.
7430 (top level): Use them.
7431
dad0c6d2
PA
74322017-10-13 Pedro Alves <palves@redhat.com>
7433
7434 * lib/selftest-support.exp (selftest_setup): Extend comments, and
7435 also skip on stub-like targets.
7436
8b0553c1
PA
74372017-10-13 Pedro Alves <palves@redhat.com>
7438
7439 PR gdb/22293
7440 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
7441 (top level): Move some tests to ...
7442 (test_not_found): ... this new procedure.
7443 (top level): Call it.
7444
7594f623
PA
74452017-10-13 Pedro Alves <palves@redhat.com>
7446
7447 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
7448 expect different "info terminal" output if testing with a
7449 non-native target.
7450
ebe3b402
PA
74512017-10-13 Pedro Alves <palves@redhat.com>
7452 Simon Marchi <simon.marchi@polymtl.ca>
7453
7454 PR python/12966
7455 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
7456
42f1b161
PA
74572017-10-13 Pedro Alves <palves@redhat.com>
7458
7459 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
7460 already.
7461
8d6ef72b
PA
74622017-10-13 Pedro Alves <palves@redhat.com>
7463
7464 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
7465 is_remote.
7466
d7bcd5b8
PA
74672017-10-13 Pedro Alves <palves@redhat.com>
7468
7469 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
7470 is_remote.
7471
df479dc6
PA
74722017-10-13 Pedro Alves <palves@redhat.com>
7473
7474 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
7475 is set.
7476 (corefile_test_attach): Likewise. Check can_spawn_for_attach
7477 instead of is_remote.
7478
23fb630a
PA
74792017-10-13 Pedro Alves <palves@redhat.com>
7480
7481 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
7482 (top level): Add comment.
7483
cc77b1dc
PA
74842017-10-13 Pedro Alves <palves@redhat.com>
7485
7486 * gdb.base/remote.exp (top level): Fix comment typo and add
7487 missing return.
7488
27c9e813
PA
74892017-10-13 Pedro Alves <palves@redhat.com>
7490 Simon Marchi <simon.marchi@polymtl.ca>
7491
7492 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
7493 calls and add comments. Skip test if use_gdb_stub is set.
7494 (top level): Use "set cwd" command instead of "cd" command.
7495
5e830d98
PA
74962017-10-13 Pedro Alves <palves@redhat.com>
7497
7498 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
7499 is_remote target check.
7500
f5ca0032
PA
75012017-10-13 Pedro Alves <palves@redhat.com>
7502
7503 * gdb.base/scope.exp: Use build_executable + clean_restart +
7504 gdb_file_cmd instead of prepare_for_testing and no longer skip
7505 "before run" tests on is_remote target boards. Update comments.
7506 * boards/native-extended-gdbserver.exp
7507 (extended_gdbserver_load_last_file): New, factored out from ...
7508 (gdb_load): ... this. Move further below and add comment.
7509 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
7510
8aed1c0d
PA
75112017-10-12 Pedro Alves <palves@redhat.com>
7512
7513 * gdb.base/attach.exp: Remove references to gdb64.
7514 * gdb.base/dbx.exp: Remove references to gdb64.
7515
cfa34c87
SM
75162017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7517 Pedro Alves <palves@redhat.com>
7518
7519 * gdb.base/label.exp: Remove is_remote target check.
7520
9192b7de
PA
75212017-10-12 Pedro Alves <palves@redhat.com>
7522
7523 * gdb.base/auvx.exp (coredir): Update comment.
7524 (top level) <core_works>: Use "set cwd" command instead of "cd"
7525 command.
7526
6bf0052d
PA
75272017-10-12 Pedro Alves <palves@redhat.com>
7528 Simon Marchi <simon.marchi@polymtl.ca>
7529
7530 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
7531 target boards.
7532
e48ef82d
PA
75332017-10-12 Pedro Alves <palves@redhat.com>
7534 Simon Marchi <simon.marchi@polymtl.ca>
7535
7536 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
7537 Instead skip if there's any gdb_protocol set.
7538
8d7aea57
SM
75392017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7540 Pedro Alves <palves@redhat.com>
7541
7542 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
7543
30440677
PA
75442017-10-12 Pedro Alves <palves@redhat.com>
7545 Simon Marchi <simon.marchi@polymtl.ca>
7546
7547 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
7548 instead of on dejagnu remote boards.
7549
4e04f045 75502017-10-12 Pedro Alves <palves@redhat.com>
175654b9 7551 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
7552
7553 * gdb.base/inferior-died.exp: Remove is_remote and isnative
7554 checks. Use build_executable + clean_restart instead of
7555 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
7556 of enabling non-stop after starting gdb.
7557
871a186e
PA
75582017-10-12 Pedro Alves <palves@redhat.com>
7559
7560 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
7561 * gdb.threads/non-ldr-exc-2.exp: Ditto.
7562 * gdb.threads/non-ldr-exc-3.exp: Ditto.
7563 * gdb.threads/non-ldr-exc-4.exp: Ditto.
7564
56d704da
AK
75652017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
7566
7567 * gdb.arch/arc-tdesc-cpu.exp: New file.
7568 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
7569
2f20e312
SM
75702017-10-10 Simon Marchi <simon.marchi@ericsson.com>
7571
7572 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
7573
65630365
PA
75742017-10-10 Pedro Alves <palves@redhat.com>
7575
7576 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
7577 expect CLI output.
7578
bf469271
PA
75792017-10-10 Pedro Alves <palves@redhat.com>
7580
7581 * lib/selftest-support.exp (selftest_setup): Update for
7582 captured_command_loop's prototype change.
7583
777a42f1
PA
75842017-10-09 Pedro Alves <palves@redhat.com>
7585
7586 Test both arch1=>arch2 and arch2=>arch1.
7587
7588 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
7589 (srcfile2, binfile2, march1, march2): Remove globals. Largely
7590 factored out to...
7591 (append_arch1_options, append_arch2_options, append_arch_options)
7592 (build_executables): New procedures.
7593 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
7594 local.
7595 (top level): Add new 'first_arch' testing axis.
7596
cbd2b4e3
PA
75972017-10-09 Pedro Alves <palves@redhat.com>
7598
7599 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
7600 (barrier): New.
7601 (thread_start, all_started): New functions.
7602 (main): Spawn new thread and wait until it is scheduled.
7603 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
7604 option.
7605 (do_test): Add 'selected_thread' parameter. Run to all_started
7606 instead of main. Explicitly set the breakpoint at main. Switch
7607 to the SELECTED_THREAD thread.
7608 (top level): Test handling the exec event with either the main
7609 thread or the second thread selected.
7610
5c9e4427
PA
76112017-10-09 Pedro Alves <palves@redhat.com>
7612
7613 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
7614 logic. Move STOP marker after the value checks.
7615 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
7616 regexp.
7617
b3b7c423
SL
76182017-10-06 Sandra Loosemore <sandra@codesourcery.com>
7619
7620 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
7621
3b4b2f16
UW
76222017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
7623
7624 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
7625 integer-to-dfp conversion.
7626 * gdb.base/dfp-test.exp: Likewise.
7627
5cd63fda
PA
76282017-10-04 Pedro Alves <palves@redhat.com>
7629
7630 * gdb.multi/hangout.c: Include <unistd.h>.
7631 (hangout_loop): New function.
7632 (main): Call alarm. Call hangout_loop in a loop.
7633 * gdb.multi/hello.c: Include <unistd.h>.
7634 (hello_loop): New function.
7635 (main): Call alarm. Call hangout_loop in a loop.
7636 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
7637 inferior with the other selected.
7638
4c71c105
SM
76392017-10-04 Simon Marchi <simon.marchi@ericsson.com>
7640
7641 * gdb.mi/list-thread-groups-available.exp: New file.
7642 * gdb.mi/list-thread-groups-available.c: New file.
7643
bc3b087d
SDJ
76442017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7645
7646 * gdb.base/set-cwd.exp: Make it available on
7647 native-extended-gdbserver.
7648
d092c5a2
SDJ
76492017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7650
7651 * gdb.base/set-cwd.c: New file.
7652 * gdb.base/set-cwd.exp: Likewise.
7653
45320ffa
TT
76542017-10-02 Tom Tromey <tom@tromey.com>
7655
7656 PR rust/22236:
7657 * gdb.rust/simple.rs (main): New variable "fslice".
7658 * gdb.rust/simple.exp: Add slice tests. Update string tests.
7659
b3e3859b
TT
76602017-10-02 Tom Tromey <tom@tromey.com>
7661
7662 * gdb.rust/simple.exp: Test ptype of a slice.
7663
01af5e0d
TT
76642017-10-02 Tom Tromey <tom@tromey.com>
7665
7666 * gdb.rust/simple.exp: Test index of slice.
7667
a9bbfbd8
TT
76682017-09-27 Tom Tromey <tom@tromey.com>
7669
7670 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
7671
df8899e5
TP
76722017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
7673 Pedro Alves <palves@redhat.com>
7674
7675 * gdb.base/compare-sections.exp (get value of read-only section): Read
7676 as unsigned value.
7677 (corrupt read-only section): Likewise and don't set written if patching
7678 failed.
7679
757bf54b
KB
76802017-09-21 Kevin Buettner <kevinb@redhat.com>
7681
7682 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
7683 files.
7684
06871ae8
PA
76852017-09-20 Pedro Alves <palves@redhat.com>
7686
7687 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
7688 symbol names in gdb's output.
7689 * gdb.cp/overload.exp ("list all overloads"): Likewise.
7690
e5f25bc5
PA
76912017-09-20 Pedro Alves <palves@redhat.com>
7692
7693 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
7694 Rename to ...
7695 (test_list_ambiguous_symbol): ... this and add a symbol name
7696 parameter. Adjust.
7697 (test_list_ambiguous_function): Reimplement on top of
7698 test_list_ambiguous_symbol and also test listing ambiguous
7699 variables.
7700 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
7701 (ambiguous_fun): ... this.
7702 (ambiguous_var): New.
7703 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
7704 (ambiguous_fun): ... this.
7705 (ambiguous_var): New.
7706
4e5a4f58
JB
77072017-09-19 John Baldwin <jhb@FreeBSD.org>
7708
7709 * gdb.base/starti.c: New file.
7710 * gdb.base/starti.exp: New file.
7711 * lib/gdb.exp (gdb_starti_cmd): New procedure.
7712
26e53f3e
PA
77132017-09-14 Pedro Alves <palves@redhat.com>
7714
7715 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
7716 (top level): Use it instead of runto.
7717
cb791d59
TT
77182017-09-11 Tom Tromey <tom@tromey.com>
7719
7720 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
7721
7c96f8c1
TT
77222017-09-11 Tom Tromey <tom@tromey.com>
7723
7724 * gdb.python/py-infthread.exp: Add tests for new_thread event.
7725 * gdb.python/py-inferior.exp: Add tests for new inferior events.
7726
469412dd
CW
77272017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
7728
7729 * gdb.fortran/printing-types.exp: New file.
7730 * gdb.fortran/printing-types.exp: New file.
7731
e0f86435
BH
77322017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7733
7734 * gdb.fortran/vla-ptype.exp: Fix typos.
7735 * gdb.fortran/vla-value.exp: Same.
7736
9e9af4be
BH
77372017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7738
7739 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
7740 * gdb.mi/mi-var-child-f.exp: Likewise.
7741 * gdb.mi/mi-vla-fortran.exp: Likewise.
7742
a5ad232b 77432017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
7744 Christoph Weinmann <christoph.t.weinmann@intel.com>
7745 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
7746
7747 * gdb.fortran/ptr-indentation.f90: New file.
7748 * gdb.fortran/ptr-indentation.exp: New file.
7749
5aec60eb
TT
77502017-09-05 Tom Tromey <tom@tromey.com>
7751
7752 PR gdb/22010:
7753 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
7754
8f8f8152
TP
77552017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
7756
7757 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
7758
fbd1b771
JK
77592017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7760
7761 * gdb.threads/tls-nodebug-pie.c: New file.
7762 * gdb.threads/tls-nodebug-pie.exp: New file.
7763
5eb5f850
TT
77642017-09-05 Tom Tromey <tom@tromey.com>
7765
7766 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
7767 for rust.
7768
ae780a21
SM
77692017-09-05 Simon Marchi <simon.marchi@ericsson.com>
7770
7771 * gdb.multi/multi-arch-exec.exp: Test with different
7772 "follow-exec-mode" settings.
7773 (do_test): New procedure.
7774
3693fdb3
PA
77752017-09-04 Pedro Alves <palves@redhat.com>
7776
7777 * gdb.base/func-static.c (S::method const, S::method volatile)
7778 (S::method volatile const): New methods.
7779 (c_s, v_s, cv_s): New instances.
7780 (main): Call method() on them.
7781 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
7782 (cannot_resolve): New procedure.
7783 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
7784 print-quote-unquoted columns.
7785 (do_test): Test printing each scope too.
7786
e68cb8e0
PA
77872017-09-04 Pedro Alves <palves@redhat.com>
7788
7789 * gdb.base/local-static.exp: Also test with
7790 class::method::variable wholly quoted.
7791 * gdb.cp/m-static.exp (class::method::variable): Remove test.
7792
858be34c
PA
77932017-09-04 Pedro Alves <palves@redhat.com>
7794
7795 * gdb.base/local-static.c: New.
7796 * gdb.base/local-static.cc: New.
7797 * gdb.base/local-static.exp: New.
7798
46a4882b
PA
77992017-09-04 Pedro Alves <palves@redhat.com>
7800
7801 * gdb.asm/asm-source.exp: Add casts to int.
7802 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
7803 (dataglobal64_1, dataglobal64_2): New globals.
7804 * gdb.base/nodebug.exp: Test different expressions involving the
7805 new globals, with print, whatis and ptype. Add casts to int.
7806 * gdb.base/solib-display.exp: Add casts to int.
7807 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
7808 * gdb.cp/m-static.exp: Add cast to int.
7809 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
7810 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
7811 tls variable with no debug info without a cast. Test with a cast
7812 to int too.
7813 * gdb.trace/entry-values.exp: Add casts.
7814
2c5a2be1
PA
78152017-09-04 Pedro Alves <palves@redhat.com>
7816
7817 * gdb.base/nodebug.exp: Test that ptype's error about functions
7818 with unknown return type includes the function name too.
7819
7022349d
PA
78202017-09-04 Pedro Alves <palves@redhat.com>
7821
7822 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
7823 return type of munmap in infcall.
7824 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
7825 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
7826 type of ftell in infcall.
7827 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
7828 type of getpid in infcall.
7829 * gdb.base/infcall-exec.exp: Cast return type of execlp in
7830 infcall.
7831 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
7832 Bail on failure to extract the pid.
7833 * gdb.base/nodebug.c: #include <stdint.h>.
7834 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
7835 New functions.
7836 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
7837 Change expected output of print/whatis/ptype with functions with
7838 no debug info. Test all supported languages. Call
7839 test_call_promotion.
7840 * gdb.compile/compile.exp: Adjust expected output to expect
7841 warning.
7842 * gdb.threads/siginfo-threads.exp: Likewise.
7843
54990598
PA
78442017-09-04 Pedro Alves <palves@redhat.com>
7845
7846 * gdb.base/callfuncs.exp (do_function_calls): New parameter
7847 "prototypes". Test calling float functions via prototyped and
7848 unprototyped function pointers.
7849 (perform_all_tests): New parameter "prototypes". Pass it down.
7850 (top level): Pass down "prototypes" parameter to
7851 perform_all_tests.
7852
34d16ea2
SM
78532017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7854
7855 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
7856 Test with nested loops.
7857
9521ecda
SM
78582017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7859
7860 * gdb.base/commands.exp: Call the new procedures.
7861 (loop_break_test, loop_continue_test): New procedures.
7862
80a65e9b
SM
78632017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7864
7865 * gdb.base/commands.exp: Call new procedure.
7866 (define_if_without_arg_test): New procedure.
7867
e439fa14
PA
78682017-09-04 Pedro Alves <palves@redhat.com>
7869
7870 * gdb.base/list-ambiguous.exp: New file.
7871 * gdb.base/list-ambiguous0.c: New file.
7872 * gdb.base/list-ambiguous1.c: New file.
7873 * gdb.base/list.exp (test_list_range): Adjust expected output.
7874
0a2dde4a
SDJ
78752017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
7876
7877 * gdb.base/share-env-with-gdbserver.c: New file.
7878 * gdb.base/share-env-with-gdbserver.exp: Likewise.
7879
5e89eb3a
SM
78802017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7881
7882 * gdb.base/commands.exp (gdbvar_simple_if_test,
7883 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
7884 progvar_simple_if_test, progvar_simple_while_test,
7885 progvar_complex_if_while_test, user_defined_command_test,
7886 user_defined_command_args_eval,
7887 user_defined_command_args_stack_test,
7888 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7889 temporary_breakpoint_commands,
7890 gdb_test_no_prompt, redefine_hook_test,
7891 redefine_backtrace_test): Remove "global gdb_prompt".
7892
fd437cbc
SM
78932017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7894
7895 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7896 New proc, call it from toplevel.
7897
87215ad1
SDJ
78982017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7899
7900 PR remote/21852
7901 * gdb.server/normal.c: New file, copied from gdb.base.
7902 * gdb.server/run-without-local-binary.exp: New file.
7903
58afddc6
WP
79042017-08-07 Weimin Pan <weimin.pan@oracle.com>
7905
7906 * gdb.arch/sparc64-adi.exp: New file.
7907 * gdb.arch/sparc64-adi.c: New file.
7908
5277199a
PA
79092017-08-22 Pedro Alves <palves@redhat.com>
7910
7911 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7912 (top level): Add "list all overloads" tests.
7913
14278e1f
TT
79142017-08-22 Tom Tromey <tom@tromey.com>
7915
7916 * gdb.gdb/xfullpath.exp: Remove.
7917
bf223d3e
PA
79182017-08-21 Pedro Alves <palves@redhat.com>
7919
7920 PR gdb/19487
7921 * gdb.base/symbol-alias.c: New.
7922 * gdb.base/symbol-alias2.c: New.
7923 * gdb.base/symbol-alias.exp: New.
7924
c973d0aa
PA
79252017-08-21 Pedro Alves <palves@redhat.com>
7926
7927 * gdb.base/dfp-test.c
7928 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7929 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7930 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7931 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7932 * gdb.base/whatis-ptype-typedefs.c: New.
7933 * gdb.base/whatis-ptype-typedefs.exp: New.
7934 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7935 (an_int, an_int_type, an_int_type2): New globals.
7936 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7937 involving typedefs and cast expressions.
7938 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7939 (lookup_typedefs_function): New.
7940 (typedefs_pretty_printers_dict): New.
7941 (top level): Register lookup_typedefs_function in
7942 gdb.pretty_printers.
7943
6d580b63
YQ
79442017-08-18 Yao Qi <yao.qi@linaro.org>
7945
7946 * gdb.server/unittest.exp: New.
7947
206726fb
SDJ
79482017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7949
7950 PR gdb/21954
7951 * gdb.base/environ.exp: Add test to check if 'unset environment'
7952 works.
7953
bf0ec4c2
AA
79542017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7955
7956 * lib/gdb.exp (universal_compile_options): New caching proc.
7957 (gdb_compile): Suppress GCC's coloring of messages.
7958
d6382fff
TT
79592017-08-14 Tom Tromey <tom@tromey.com>
7960
7961 PR gdb/21675:
7962 * gdb.base/printcmds.exp (test_radices): New function.
7963 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7964 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7965 * lib/gdb.exp (get_integer_valueof): Use p/d.
7966
c2c2dd9f
SM
79672017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7968
7969 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7970 characters.
7971
fdffd6f4
TT
79722017-08-05 Tom Tromey <tom@tromey.com>
7973
7974 * gdb.rust/simple.exp: Allow String to appear in a different
7975 namespace.
7976
27d41eac
YQ
79772017-07-26 Yao Qi <yao.qi@linaro.org>
7978
7979 * gdb.gdb/unittest.exp: Invoke command
7980 "maintenance check xml-descriptions".
7981
031ed05d
AA
79822017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7983
7984 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7985 calling context.
7986 (hex128): Drop erroneous calculation of parameters.
7987
dcd27ddf
SM
79882017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7989
7990 * gdb.python/py-unwind.exp: Disable stack protection when
7991 building test file.
7992
47e77640
PA
79932017-07-20 Pedro Alves <palves@redhat.com>
7994
7995 * gdb.base/default.exp (set language): Adjust expected output.
7996
62d2a18a
PA
79972017-07-20 Pedro Alves <palves@redhat.com>
7998
7999 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
8000 (test_minsym): ... this, and make static.
8001 (get_pck__foo__bar__minsym): Rename to ...
8002 (get_test_minsym): ... this.
8003 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
8004 symbol names and comments.
8005 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
8006 (get_test_minsym): ... this.
8007 (pck__foo__bar__minsym__2): Rename to ...
8008 (test_minsym): ... this.
8009 (main): Adjust.
8010
c45ec17c
PA
80112017-07-17 Pedro Alves <palves@redhat.com>
8012
8013 * gdb.base/completion.exp: Adjust expected output.
8014 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
8015 the completer works.
8016
c6756f62
PA
80172017-07-17 Pedro Alves <palves@redhat.com>
8018
8019 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
8020
5bd68487
AB
80212017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
8022
8023 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
8024
8880f2a9
TT
80252017-07-14 Tom Tromey <tom@tromey.com>
8026
8027 PR rust/21764:
8028 * gdb.rust/simple.exp: Add tests.
8029
65547233
TT
80302017-07-14 Tom Tromey <tom@tromey.com>
8031
8032 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
8033
8f14146e
PA
80342017-07-14 Pedro Alves <palves@redhat.com>
8035
8036 * gdb.linespec/base/one/thefile.cc (z1): New function.
8037 * gdb.linespec/base/two/thefile.cc (z2): New function.
8038 * gdb.linespec/linespec.exp: Add tests.
8039
b4365d02
AB
80402017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8041
8042 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
8043 to mi_create_breakpoint.
8044
5d2cbaa5
AB
80452017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8046
8047 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
8048 mi_create_breakpoint.
8049
11cb5716
IB
80502017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
8051
8052 * gdb.dlang/demangle.exp: Update for demangling changes.
8053
03278692
TT
80542017-07-09 Tom Tromey <tom@tromey.com>
8055
8056 * gdb.dwarf2/shortpiece.exp: New file.
8057
33c5cd75
DB
80582017-07-06 David Blaikie <dblaikie@gmail.com>
8059
8060 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
8061 built from fissiont-multi-cu{1,2}.c.
8062 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
8063 except putting 'main' and 'func' in separate CUs in the same DWO file.
8064 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
8065 test.
8066 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
8067 test.
8068
8455d262
PA
80692017-07-06 Pedro Alves <palves@redhat.com>
8070
8071 * gdb.python/py-unwind.exp: Test flushregs.
8072
dc4bde35
SDJ
80732017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8074
8075 PR cli/21688
8076 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
8077 tests for alias commands and trailing whitespace.
8078
51ed89aa
SDJ
80792017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8080
8081 PR cli/21688
8082 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
8083 procedure. Call it.
8084
eb17d413
PA
80852017-06-29 Pedro Alves <palves@redhat.com>
8086
8087 * gdb.base/printcmds.exp: Add tests.
8088
41664b45
DG
80892017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
8090
8091 PR gdb/21337
8092 * gdb.base/reread-readsym.exp: New file.
8093 * gdb.base/reread-readsym.c: New file.
8094
75312ae3
KB
80952017-06-21 Kevin Buettner <kevinb@redhat.com>
8096
8097 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
8098 subpattern.
8099
66953522
PB
81002017-06-19 Peter Bergner <bergner@vnet.ibm.com>
8101
8102 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
8103 extended mnemonic.
8104 * gdb.arch/powerpc-power9.s: Likewise.
8105
5524b525
AA
81062017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8107
8108 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
8109 on 32-bit x86 targets. Exploit is_*_target macros where
8110 appropriate.
8111
03c8af18
AA
81122017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8113
8114 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
8115 register pieces.
8116
3bf31011
AA
81172017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8118
8119 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
8120 located in one or more DWARF pieces.
8121
805acca0
AA
81222017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8123
8124 * lib/gdb.exp (get_endianness): New proc.
8125 * gdb.arch/aarch64-fp.exp: Use it.
8126 * gdb.arch/altivec-regs.exp: Likewise.
8127 * gdb.arch/e500-regs.exp: Likewise.
8128 * gdb.arch/vsx-regs.exp: Likewise.
8129 * gdb.base/dump.exp: Likewise.
8130 * gdb.base/funcargs.exp: Likewise.
8131 * gdb.base/gnu_vector.exp: Likewise.
8132 * gdb.dwarf2/formdata16.exp: Likewise.
8133 * gdb.dwarf2/implptrpiece.exp: Likewise.
8134 * gdb.dwarf2/nonvar-access.exp: Likewise.
8135 * gdb.python/py-inferior.exp: Likewise.
8136 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8137
e9352324
AA
81382017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8139
8140 PR gdb/21226
8141 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
8142 stack value pieces are taken from the LSB end.
8143
d5d1163e
AA
81442017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8145
8146 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
8147 variable at nonzero offset.
8148
0567c986
AA
81492017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8150
8151 * gdb.dwarf2/var-access.c: New file.
8152 * gdb.dwarf2/var-access.exp: New test.
8153 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
8154
973e9aab
TT
81552017-06-12 Tom Tromey <tom@tromey.com>
8156
8157 * gdb.dwarf2/formdata16.exp: Add tests.
8158
d9109c80
TT
81592017-06-12 Tom Tromey <tom@tromey.com>
8160
8161 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
8162
30a25466
TT
81632017-06-12 Tom Tromey <tom@tromey.com>
8164
8165 PR exp/16225:
8166 * gdb.reverse/i386-sse-reverse.exp: Update tests.
8167 * gdb.arch/vsx-regs.exp: Update tests.
8168 * gdb.arch/s390-vregs.exp (hex128): New proc.
8169 Update test.
8170 * gdb.arch/altivec-regs.exp: Update tests.
8171
aefd8b33
SDJ
81722017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8173
8174 * gdb.base/startup-with-shell.c: New file.
8175 * gdb.base/startup-with-shell.exp: Likewise.
8176
2090129c
SDJ
81772017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8178
8179 * gdb.server/non-existing-program.exp: Update regex in order to
8180 reflect the fact that gdbserver is now using fork_inferior (with a
8181 shell) to startup the inferior.
8182
8e86a419
SM
81832017-05-30 Simon Marchi <simon.marchi@ericsson.com>
8184
8185 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
8186 support function calls from GDB.
8187
e6cf65f2
TT
81882017-05-21 Tom Tromey <tom@tromey.com>
8189
8190 PR rust/21466:
8191 * gdb.rust/unsized.exp: New file.
8192 * gdb.rust/unsized.rs: New file.
8193
43cc5389
TT
81942017-05-19 Tom Tromey <tom@tromey.com>
8195
8196 PR rust/21484:
8197 * gdb.rust/watch.exp: New file.
8198 * gdb.rust/watch.rs: New file.
8199
ec8df234
TT
82002017-05-18 Tom Tromey <tom@tromey.com>
8201
8202 * gdb.rust/simple.exp: Allow Box to be qualified.
8203
3e3e7fae
TP
82042017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
8205
8206 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
8207
59cc050d
PA
82082017-05-18 Pedro Alves <palves@redhat.com>
8209
8210 * gdb.base/fileio.c (test_write, test_read, test_close)
8211 (test_fstat): Don't print 'ret' in the fail path.
8212
c8f6abd1
PA
82132017-05-18 Pedro Alves <palves@redhat.com>
8214
8215 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
8216 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
8217 (test_system, test_rename, test_unlink, test_time): Change
8218 prototypes.
8219 * gdb.base/fileio.exp (stop_msg): Adjust.
8220
d2a03b77
PA
82212017-05-18 Pedro Alves <palves@redhat.com>
8222
8223 * gdb.base/fileio.c (null_str): New global.
8224 (test_stat): Use it.
8225 * gdb.base/fileio.exp: Remove nowarnings.
8226
0d5c6999
YQ
82272017-05-17 Yao Qi <yao.qi@linaro.org>
8228
8229 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
8230
21873064
YQ
82312017-05-17 Simon Marchi <simon.marchi@ericsson.com>
8232
8233 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
8234 argument command.
8235 (top-level): Invoke test_set_inferior_tty.
8236
d512d31c
PA
82372017-05-04 Pedro Alves <palves@redhat.com>
8238
8239 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
8240 Add parens to print call for Python 3.
8241
90cef2ed
KS
82422017-05-03 Keith Seitz <keiths@redhat.com>
8243
8244 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
8245 (main): Call it.
8246
14f819c8
TW
82472017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8248
8249 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
8250 to prev and next.
8251
913aeadd
TW
82522017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8253
8254 * gdb.python/py-record-btrace.exp: Remove test for
8255 gdb.BtraceInstruction.error.
8256
a3be24ad
TW
82572017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8258
8259 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
8260
ae20e79a
TW
82612017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8262
8263 * gdb.python/py-record-btrace-threads.c: New file.
8264 * gdb.python/py-record-btrace-threads.exp: New file.
8265
45ce1b47
SDJ
82662017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
8267
8268 PR testsuite/8595
8269 * gdb.base/environ.exp: Make test available in all architectures.
8270 Move bits related to "info program" testing to
8271 gdb.base/info-program.exp. Rewrite tests to use the two new
8272 procedures mentione below.
8273 (test_set_show_env_var) New procedure.
8274 (test_set_show_env_var_equal): Likewise.
8275 * gdb.base/info-program.exp: New file.
8276
e15c3eb4
KS
82772017-04-27 Keith Seitz <keiths@redhat.com>
8278
8279 * gdb.cp/oranking.cc (test15): New function.
8280 (main): Call test15 and declare additional variables for testing.
8281 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
8282 "p foo101('abc')" tests.
8283 Add tests for cv qualifier overloads.
8284 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
8285 "lvalue reference overload" test.
8286 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
8287 "print value of f1 on Child&& in f2" test.
8288
3a3fd0fd
PA
82892017-04-19 Pedro Alves <palves@redhat.com>
8290
8291 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
8292 procedure.
8293 (top level): Call it.
8294 * lib/gdb.exp (gdb_define_cmd): New procedure.
8295
53375380
PA
82962017-04-12 Pedro Alves <palves@redhat.com>
8297
8298 PR gdb/21323
8299 * gdb.cp/wide_char_types.c: Include <wchar.h>.
8300 (wchar): New global.
8301 * gdb.cp/wide_char_types.exp (wide_char_types_program)
8302 (do_test_wide_char, wide_char_types_no_program, top level): Add
8303 wchar_t testing.
8304
53e710ac
PA
83052017-04-12 Pedro Alves <palves@redhat.com>
8306
8307 PR c++/21323
8308 * gdb.cp/wide_char_types.c: New file.
8309 * gdb.cp/wide_char_types.exp: New file.
8310
0ad9d8c7
SDJ
83112017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
8312
8313 PR gdb/21352
8314 * gdb.trace/tsv.exp: Add test for "tsave -r".
8315
b1b45502
IB
83162017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
8317
8318 * gdb.dlang/watch-loc.c: New file.
8319 * gdb.dlang/watch-loc.exp: New file.
8320
ec13808e
JK
83212017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8322
8323 * gdb.python/py-section-script.exp (sepdebug): New testcases.
8324
fe5f7374
AK
83252017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8326
8327 * gdb.arch/arc-analyze-prologue.S: New file.
8328 * gdb.arch/arc-analyze-prologue.exp: Likewise.
8329
eea78757
AK
83302017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8331
8332 * gdb.arch/arc-decode-insn.S: New file.
8333 * gdb.arch/arc-decode-insn.exp: Likewise.
8334
5badf10a
IR
83352017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
8336
8337 PR tdep/20928
8338 * gdb.arch/sparc64-regs.exp: New file.
8339 * gdb.arch/sparc64-regs.S: Likewise.
8340
cee59b3f
TW
83412017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
8342
8343 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
8344 and memory view on Python 3.
8345
c0f55cc6
AV
83462017-03-20 Artemiy Volkov <artemiyv@acm.org>
8347 Keith Seitz <keiths@redhat.com>
8348
8349 PR gdb/14441
8350 * gdb.cp/demangle.exp: Add rvalue reference tests.
8351 * gdb.cp/rvalue-ref-casts.cc: New file.
8352 * gdb.cp/rvalue-ref-casts.exp: New file.
8353 * gdb.cp/rvalue-ref-overload.cc: New file.
8354 * gdb.cp/rvalue-ref-overload.exp: New file.
8355 * gdb.cp/rvalue-ref-params.cc: New file.
8356 * gdb.cp/rvalue-ref-params.exp: New file.
8357 * gdb.cp/rvalue-ref-sizeof.cc: New file.
8358 * gdb.cp/rvalue-ref-sizeof.exp: New file.
8359 * gdb.cp/rvalue-ref-types.cc: New file.
8360 * gdb.cp/rvalue-ref-types.exp: New file.
8361 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
8362 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
8363
51457a05
MAL
83642017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8365
8366 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
8367 New procedure.
8368
5b291c04
MAL
83692017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8370
8371 * lib/mi-support.exp (mi_gdb_test): Add additional message
8372 for unexpected output.
8373
59a56148
AA
83742017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8375
8376 * gdb.base/examine-backward.c (Barrier): New character array
8377 constant, to ensure that TestStrings is preceded by a string
8378 terminator.
8379
7942e96e
AA
83802017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8381
8382 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
8383 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
8384 and implicit pointer into such a location.
8385
6ebac3fb
DE
83862017-03-16 Doug Evans <dje@google.com>
8387
8388 * gdb.python/py-lazy-string (pointer): Really add new typedef.
8389
ec3b243d
TP
83902017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
8391
8392 * gdb.cp/m-static.exp: Fix expectation for prototype of
8393 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
8394
83952017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
8396
8397 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
8398 * gdb.guile/scm-lazy-string.c: New file.
8399 * gdb.guile/scm-value.exp: Move lazy string tests to ...
8400 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
8401 for pointer, array, typedef lazy strings.
8402
2cc36e25 84032017-03-16 Doug Evans <dje@google.com>
34b43320
DE
8404
8405 PR python/17728, python/18439, python/18779
8406 * gdb.python/py-value.c (main) Delete locals sptr, sn.
8407 * gdb.python/py-lazy-string.c (pointer): New typedef.
8408 (main): New locals ptr, array, typedef_ptr.
8409 * gdb.python/py-value.exp: Move lazy string tests to ...
8410 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
8411 array, typedef lazy strings.
ec3b243d 8412
0efcde63
AK
84132017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
8414
8415 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
8416 Add optional 'test' parameter.
8417
7978d7c3
SM
84182017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8419
8420 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8421 Skip for versions of DejaGnu < 1.5.
8422
896c0c1e
SM
84232017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8424
8425 * lib/gdb.exp (dejagnu_version): New proc.
8426 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8427 Use dejagnu_version.
8428
5f4d1085
KS
84292017-03-10 Keith Seitz <keiths@redhat.com>
8430
8431 PR c++/8128
8432 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
8433 type from destructor regexps.
8434 Add a branch which actually passes the test.
8435 Adjust "ptype t5i" test names.
8436
1de05205
PA
84372017-03-08 Pedro Alves <palves@redhat.com>
8438
8439 * gdb.base/step-over-exit.exp: Add explicit test message.
8440
c65d6b55
PA
84412017-03-08 Pedro Alves <palves@redhat.com>
8442
8443 PR gdb/18360
8444 * gdb.threads/interrupt-while-step-over.c: New file.
8445 * gdb.threads/interrupt-while-step-over.exp: New file.
8446
2e86a283
PA
84472017-03-08 Pedro Alves <palves@redhat.com>
8448
8449 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
8450 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
8451
25dcbff6
PA
84522017-03-08 Pedro Alves <palves@redhat.com>
8453
8454 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
8455 PKRU as not supported as a PASS.
8456
dc9366eb
PA
84572017-03-08 Pedro Alves <palves@redhat.com>
8458
8459 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
8460 prefix instead of $binfile1/$binfile2.
8461 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
8462 in test message.
8463 * gdb.python/py-completion.exp: Use "load python file" as test
8464 messages instead of unstable path names.
8465
6e5d74e7
PA
84662017-03-08 Pedro Alves <palves@redhat.com>
8467 Jan Kratochvil <jan.kratochvil@redhat.com>
8468
8469 PR cli/21218
8470 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8471 New proc.
8472 (top level): Call it.
8473
9753a2f6
PA
84742017-03-08 Pedro Alves <palves@redhat.com>
8475
8476 PR tui/21216
8477 * gdb.tui/tui-nl-filtered-output.exp: New file.
8478
1a4dd9dd
PA
84792017-03-08 Pedro Alves <palves@redhat.com>
8480
8481 * gdb.base/completion.exp: Move TUI completion tests to ...
8482 * gdb.tui/completion.exp: ... this new file.
8483
7cbbff33
PA
84842017-03-08 Pedro Alves <palves@redhat.com>
8485
8486 * gdb.base/tui-disasm-long-lines.c,
8487 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
8488 gdb.base/tui-layout.exp: Move to ...
8489 * gdb.tui/: ... this new directory.
8490
5f6fd321
PA
84912017-03-07 Pedro Alves <palves@redhat.com>
8492
8493 * gdb.base/tui-layout.c: New file.
8494 * gdb.base/tui-layout.exp: New file.
8495
44959fa8
PA
84962017-03-07 Pedro Alves <palves@redhat.com>
8497
8498 * gdb.base/tui-layout.c: Rename to ...
8499 * gdb.base/tui-disasm-long-lines.c: ... this.
8500 * gdb.base/tui-layout.exp: Rename to ...
8501 * gdb.base/tui-disasm-long-lines.exp: ... this.
8502
f8c4e718
PA
85032017-03-07 Pedro Alves <palves@redhat.com>
8504
8505 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
8506
6dbb839a 85072017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
8508
8509 * i386-mpx-call.c: New file.
8510 * i386-mpx-call.exp: New file.
8511
65b48a81
PB
85122017-02-28 Peter Bergner <bergner@vnet.ibm.com>
8513
8514 * gdb.arch/powerpc-power.exp: Delete test.
8515 * gdb.arch/powerpc-power.s: Likewise.
8516 * gdb.disasm/disassembler-options.exp: New test.
8517 * gdb.arch/powerpc-altivec.exp: Likewise.
8518 * gdb.arch/powerpc-altivec.s: Likewise.
8519 * gdb.arch/powerpc-altivec2.exp: Likewise.
8520 * gdb.arch/powerpc-altivec2.s: Likewise.
8521 * gdb.arch/powerpc-altivec3.exp: Likewise.
8522 * gdb.arch/powerpc-altivec3.s: Likewise.
8523 * gdb.arch/powerpc-power7.exp: Likewise.
8524 * gdb.arch/powerpc-power7.s: Likewise.
8525 * gdb.arch/powerpc-power8.exp: Likewise.
8526 * gdb.arch/powerpc-power8.s: Likewise.
8527 * gdb.arch/powerpc-power9.exp: Likewise.
8528 * gdb.arch/powerpc-power9.s: Likewise.
8529 * gdb.arch/powerpc-vsx.exp: Likewise.
8530 * gdb.arch/powerpc-vsx.s: Likewise.
8531 * gdb.arch/powerpc-vsx2.exp: Likewise.
8532 * gdb.arch/powerpc-vsx2.s: Likewise.
8533 * gdb.arch/powerpc-vsx3.exp: Likewise.
8534 * gdb.arch/powerpc-vsx3.s: Likewise.
8535 * gdb.arch/arm-disassembler-options.exp: Likewise.
8536 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
8537 * gdb.arch/s390-disassembler-options.exp: Likewise.
8538
17cd4947
LM
85392017-02-23 Luis Machado <lgustavo@codesourcery.com>
8540
8541 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
8542 (check_supported_features): ... this. Changed return type to void.
8543 (supports_rdseed): New static global.
8544 (rdseed): Check supports_rdseed.
8545 (initialize): Call check_supported_features.
8546
2039d74e
EBM
85472017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8548
8549 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
8550 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
8551 and lqarx/stqcx.
8552 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
8553 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
8554
a51d7ecf
EBM
85552017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8556
8557 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
8558 uppercase.
8559
0224619f
JK
85602017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8561
8562 * gdb.dwarf2/formdata16.c: New file.
8563 * gdb.dwarf2/formdata16.exp: New file.
8564 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
8565
216f72a1
JK
85662017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8567
8568 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
8569 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
8570 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
8571 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
8572 DW_AT_GNU_*.
8573
43988095
JK
85742017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8575
8576 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
8577
99e8a4f9
SDJ
85782017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
8579
8580 PR gdb/21164
8581 * gdb.base/maint.exp: Add testcases for when the commands do
8582 not have arguments.
8583
b58a8c0c
TP
85842017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
8585
8586 * gdb.cp/chained-calls.exp: Use p instead of P.
8587
4e746bb6
TW
85882017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
8589
8590 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
8591 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
8592
3f77c769
TT
85932017-02-14 Tom Tromey <tom@tromey.com>
8594
8595 PR python/13598:
8596 * gdb.python/py-events.exp: Add before_prompt event tests.
8597
075beec0
AA
85982017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8599
8600 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
8601
bf5f525c
LM
86022017-02-13 Luis Machado <lgustavo@codesourcery.com>
8603
8604 * gdb.linespec/explicit.c (my_unique_function_name): New function.
8605 (main): Call my_unique_function_name.
8606 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
8607 completion of patterns with a single match.
8608 Add missing -re switches to gdb_test_multiple calls.
8609
13a66184
LM
86102017-02-13 Luis Machado <lgustavo@codesourcery.com>
8611
8612 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
8613 return if core file is not recognized.
8614
26a06916
SM
86152017-02-10 Simon Marchi <simon.marchi@ericsson.com>
8616
8617 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
8618 and extra UIs.
8619
b761ca9e
SM
86202017-02-10 Simon Marchi <simon.marchi@ericsson.com>
8621
8622 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
8623 proc_with_prefix.
8624
b964bee0
TT
86252017-02-10 Tom Tromey <tom@tromey.com>
8626
8627 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
8628
18da0c51
MG
86292017-02-10 Martin Galvan <martingalvan@sourceware.org>
8630
8631 PR gdb/21122
8632 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
8633
604c4576
JG
86342017-02-08 Jerome Guitton <guitton@adacore.com>
8635
8636 * gdb.base/define.exp: Add test for command abbreviations
8637 in define.
8638
20b477a7
LM
86392017-02-06 Luis Machado <lgustavo@codesourcery.com>
8640
8641 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
8642 * gdb.reverse/insn-reverse-x86.c: New file.
8643
3f7b46f2
IR
86442017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
8645
8646 PR tdep/20936
8647 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
8648
f0fd41c1
TT
86492017-02-03 Tom Tromey <tom@tromey.com>
8650
8651 PR rust/21097:
8652 * gdb.rust/simple.exp: Add new tests.
8653
5be5dbf0
PA
86542017-02-02 Pedro Alves <palves@redhat.com>
8655
8656 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
8657 tests.
8658
7346ef59
AA
86592017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8660
8661 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
8662 taking a 2-byte value out of a 4-byte DWARF implicit value on
8663 big-endian targets.
8664 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
8665 logic. Add test cases for DW_OP_implicit.
8666
787f0025
MM
86672017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8668
8669 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
8670
68777c29
MM
86712017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8672
8673 * gdb.btrace/enable.exp: Call gdb_exit before
8674 skip_gdbserver_tests.
8675
0a1c7e28
MM
86762017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8677
8678 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
8679 GDBFLAGS.
8680
b5ac99b0
MM
86812017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8682
8683 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
8684 the test is skipped.
8685 * gdb.btrace/data.exp: Likewise.
8686 * gdb.btrace/delta.exp: Likewise.
8687 * gdb.btrace/dlopen.exp: Likewise.
8688 * gdb.btrace/enable-running.exp: Likewise.
8689 * gdb.btrace/enable.exp: Likewise.
8690 * gdb.btrace/exception.exp: Likewise.
8691 * gdb.btrace/function_call_history.exp: Likewise.
8692 * gdb.btrace/gcore.exp: Likewise.
8693 * gdb.btrace/instruction_history.exp: Likewise.
8694 * gdb.btrace/multi-thread-step.exp: Likewise.
8695 * gdb.btrace/nohist.exp: Likewise.
8696 * gdb.btrace/non-stop.exp: Likewise.
8697 * gdb.btrace/reconnect.exp: Likewise.
8698 * gdb.btrace/record_goto-step.exp: Likewise.
8699 * gdb.btrace/record_goto.exp: Likewise.
8700 * gdb.btrace/rn-dl-bind.exp: Likewise.
8701 * gdb.btrace/segv.exp: Likewise.
8702 * gdb.btrace/step.exp: Likewise.
8703 * gdb.btrace/stepi.exp: Likewise.
8704 * gdb.btrace/tailcall-only.exp: Likewise.
8705 * gdb.btrace/tailcall.exp: Likewise.
8706 * gdb.btrace/tsx.exp: Likewise.
8707 * gdb.btrace/unknown_functions.exp: Likewise.
8708 * gdb.btrace/vdso.exp: Likewise.
8709
cd4007e4
MM
87102017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8711
8712 * gdb.btrace/enable-running.c: New.
8713 * gdb.btrace/enable-running.exp: New.
8714
2735833d
WT
87152017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
8716
8717 * gdb.arch/amd64-gs_base.c: New file.
8718 * gdb.arch/amd64-gs_base.exp: New file.
8719
b51e1e94
LM
87202017-01-26 Luis Machado <lgustavo@codesourcery.com>
8721
8722 * lib/memory.exp: Remove spurious empty newlines.
8723
72ca0410
SM
87242017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
8725
8726 * gdb.python/py-bad-printers.exp: Load python file using "source".
8727 * gdb.python/py-events.exp: Likewise.
8728 * gdb.python/py-evsignal.exp: Likewise.
8729 * gdb.python/py-evthreads.exp: Likewise.
8730 * gdb.python/py-frame-args.exp: Likewise.
8731 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
8732 * gdb.python/py-framefilter-mi.exp: Likewise.
8733 * gdb.python/py-framefilter.exp: Likewise.
8734 * gdb.python/py-mi.exp: Likewise.
8735 * gdb.python/py-pp-maint.exp: Likewise.
8736 * gdb.python/py-pp-registration.exp: Likewise.
8737 * gdb.python/py-prettyprint.exp: Likewise.
8738 (run_lang_tests): Likewise.
8739 * gdb.python/py-typeprint.exp: Likewise.
8740
e309aa65
LM
87412017-01-26 Luis Machado <lgustavo@codesourcery.com>
8742
8743 * lib/memory.exp: New file.
8744 * lib/gdb.exp: Load memory.exp.
8745 * gdb.base/memattr.exp (delete_memory): Move proc to
8746 lib/memory.exp and rename to delete_memory_regions.
8747 Replace delete_memory with delete_memory_regions.
8748 Cleanup memory regions before tests.
8749 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
8750 before tests.
8751
515aff23
LM
87522017-01-26 Luis Machado <lgustavo@codesourcery.com>
8753
8754 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
8755 files.
8756 (initialize): New function conditionally defined.
8757 (testcases): Move within conditional block.
8758 (main): Call initialize.
8759 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
8760 of gdb.reverse/insn-reverse.c.
8761 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
8762 gdb.reverse/insn-reverse.c.
8763
d8b49cf0
YQ
87642017-01-26 Yao Qi <yao.qi@linaro.org>
8765
8766 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
8767 disassemble on address 0.
8768
f13a9a0c
YQ
87692017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
8770 Yao Qi <yao.qi@linaro.org>
8771
8772 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
8773 * gdb.dwarf2/implptr-64bit.S: Remove.
8774 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
8775 variables in caller's context. Add DW_OP_implicit_value.
8776
5ac95241
YQ
87772017-01-25 Yao Qi <yao.qi@linaro.org>
8778
8779 * lib/dwarf.exp (Dwarf::_location): Handle
8780 DW_OP_GNU_implicit_pointer with proper size.
8781
23e82930
LM
87822017-01-20 Luis Machado <lgustavo@codesourcery.com>
8783
8784 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
8785 and add untested calls.
8786
d334ae25
LM
87872017-01-20 Luis Machado <lgustavo@codesourcery.com>
8788
8789 * gdb.python/python.exp: Check line number against what GDB thinks
8790 the line number is for func1.
8791
f5e6296e
IB
87922017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
8793
8794 * gdb.dlang/debug-expr.exp: New file.
8795
5b362f04
LM
87962016-12-23 Luis Machado <lgustavo@codesourcery.com>
8797
8798 Fix test names for the following files:
8799
8800 * gdb.ada/exec_changed.exp
8801 * gdb.ada/info_types.exp
8802 * gdb.arch/aarch64-atomic-inst.exp
8803 * gdb.arch/aarch64-fp.exp
8804 * gdb.arch/altivec-abi.exp
8805 * gdb.arch/altivec-regs.exp
8806 * gdb.arch/amd64-byte.exp
8807 * gdb.arch/amd64-disp-step.exp
8808 * gdb.arch/amd64-dword.exp
8809 * gdb.arch/amd64-entry-value-inline.exp
8810 * gdb.arch/amd64-entry-value-param.exp
8811 * gdb.arch/amd64-entry-value-paramref.exp
8812 * gdb.arch/amd64-entry-value.exp
8813 * gdb.arch/amd64-i386-address.exp
8814 * gdb.arch/amd64-invalid-stack-middle.exp
8815 * gdb.arch/amd64-invalid-stack-top.exp
8816 * gdb.arch/amd64-optimout-repeat.exp
8817 * gdb.arch/amd64-prologue-skip.exp
8818 * gdb.arch/amd64-prologue-xmm.exp
8819 * gdb.arch/amd64-stap-special-operands.exp
8820 * gdb.arch/amd64-stap-wrong-subexp.exp
8821 * gdb.arch/amd64-tailcall-cxx.exp
8822 * gdb.arch/amd64-tailcall-noret.exp
8823 * gdb.arch/amd64-tailcall-ret.exp
8824 * gdb.arch/amd64-tailcall-self.exp
8825 * gdb.arch/amd64-word.exp
8826 * gdb.arch/arm-bl-branch-dest.exp
8827 * gdb.arch/arm-disp-step.exp
8828 * gdb.arch/arm-neon.exp
8829 * gdb.arch/arm-single-step-kernel-helper.exp
8830 * gdb.arch/avr-flash-qualifier.exp
8831 * gdb.arch/disp-step-insn-reloc.exp
8832 * gdb.arch/e500-abi.exp
8833 * gdb.arch/e500-regs.exp
8834 * gdb.arch/ftrace-insn-reloc.exp
8835 * gdb.arch/i386-avx512.exp
8836 * gdb.arch/i386-bp_permanent.exp
8837 * gdb.arch/i386-byte.exp
8838 * gdb.arch/i386-cfi-notcurrent.exp
8839 * gdb.arch/i386-disp-step.exp
8840 * gdb.arch/i386-dr3-watch.exp
8841 * gdb.arch/i386-float.exp
8842 * gdb.arch/i386-gnu-cfi.exp
8843 * gdb.arch/i386-mpx-map.exp
8844 * gdb.arch/i386-mpx-sigsegv.exp
8845 * gdb.arch/i386-mpx-simple_segv.exp
8846 * gdb.arch/i386-mpx.exp
8847 * gdb.arch/i386-permbkpt.exp
8848 * gdb.arch/i386-prologue.exp
8849 * gdb.arch/i386-signal.exp
8850 * gdb.arch/i386-size-overlap.exp
8851 * gdb.arch/i386-unwind.exp
8852 * gdb.arch/i386-word.exp
8853 * gdb.arch/mips-fcr.exp
8854 * gdb.arch/powerpc-d128-regs.exp
8855 * gdb.arch/powerpc-stackless.exp
8856 * gdb.arch/ppc64-atomic-inst.exp
8857 * gdb.arch/s390-stackless.exp
8858 * gdb.arch/s390-tdbregs.exp
8859 * gdb.arch/s390-vregs.exp
8860 * gdb.arch/sparc-sysstep.exp
8861 * gdb.arch/thumb-bx-pc.exp
8862 * gdb.arch/thumb-singlestep.exp
8863 * gdb.arch/thumb2-it.exp
8864 * gdb.arch/vsx-regs.exp
8865 * gdb.asm/asm-source.exp
8866 * gdb.base/a2-run.exp
8867 * gdb.base/advance.exp
8868 * gdb.base/all-bin.exp
8869 * gdb.base/anon.exp
8870 * gdb.base/args.exp
8871 * gdb.base/arithmet.exp
8872 * gdb.base/async-shell.exp
8873 * gdb.base/async.exp
8874 * gdb.base/attach-pie-noexec.exp
8875 * gdb.base/attach-twice.exp
8876 * gdb.base/auto-load.exp
8877 * gdb.base/bang.exp
8878 * gdb.base/bitfields.exp
8879 * gdb.base/break-always.exp
8880 * gdb.base/break-caller-line.exp
8881 * gdb.base/break-entry.exp
8882 * gdb.base/break-inline.exp
8883 * gdb.base/break-on-linker-gcd-function.exp
8884 * gdb.base/break-probes.exp
8885 * gdb.base/break.exp
8886 * gdb.base/breakpoint-shadow.exp
8887 * gdb.base/call-ar-st.exp
8888 * gdb.base/call-sc.exp
8889 * gdb.base/call-signal-resume.exp
8890 * gdb.base/call-strs.exp
8891 * gdb.base/callfuncs.exp
8892 * gdb.base/catch-fork-static.exp
8893 * gdb.base/catch-gdb-caused-signals.exp
8894 * gdb.base/catch-load.exp
8895 * gdb.base/catch-signal-fork.exp
8896 * gdb.base/catch-signal.exp
8897 * gdb.base/catch-syscall.exp
8898 * gdb.base/charset.exp
8899 * gdb.base/checkpoint.exp
8900 * gdb.base/chng-syms.exp
8901 * gdb.base/code-expr.exp
8902 * gdb.base/code_elim.exp
8903 * gdb.base/commands.exp
8904 * gdb.base/completion.exp
8905 * gdb.base/complex.exp
8906 * gdb.base/cond-expr.exp
8907 * gdb.base/condbreak.exp
8908 * gdb.base/consecutive.exp
8909 * gdb.base/continue-all-already-running.exp
8910 * gdb.base/coredump-filter.exp
8911 * gdb.base/corefile.exp
8912 * gdb.base/dbx.exp
8913 * gdb.base/debug-expr.exp
8914 * gdb.base/define.exp
8915 * gdb.base/del.exp
8916 * gdb.base/disabled-location.exp
8917 * gdb.base/disasm-end-cu.exp
8918 * gdb.base/disasm-optim.exp
8919 * gdb.base/display.exp
8920 * gdb.base/duplicate-bp.exp
8921 * gdb.base/ena-dis-br.exp
8922 * gdb.base/ending-run.exp
8923 * gdb.base/enumval.exp
8924 * gdb.base/environ.exp
8925 * gdb.base/eu-strip-infcall.exp
8926 * gdb.base/eval-avoid-side-effects.exp
8927 * gdb.base/eval-skip.exp
8928 * gdb.base/exitsignal.exp
8929 * gdb.base/expand-psymtabs.exp
8930 * gdb.base/filesym.exp
8931 * gdb.base/find-unmapped.exp
8932 * gdb.base/finish.exp
8933 * gdb.base/float.exp
8934 * gdb.base/foll-exec-mode.exp
8935 * gdb.base/foll-exec.exp
8936 * gdb.base/foll-fork.exp
8937 * gdb.base/fortran-sym-case.exp
8938 * gdb.base/freebpcmd.exp
8939 * gdb.base/func-ptr.exp
8940 * gdb.base/func-ptrs.exp
8941 * gdb.base/funcargs.exp
8942 * gdb.base/gcore-buffer-overflow.exp
8943 * gdb.base/gcore-relro-pie.exp
8944 * gdb.base/gcore-relro.exp
8945 * gdb.base/gcore.exp
8946 * gdb.base/gdb1090.exp
8947 * gdb.base/gdb11530.exp
8948 * gdb.base/gdb11531.exp
8949 * gdb.base/gdb1821.exp
8950 * gdb.base/gdbindex-stabs.exp
8951 * gdb.base/gdbvars.exp
8952 * gdb.base/hbreak.exp
8953 * gdb.base/hbreak2.exp
8954 * gdb.base/included.exp
8955 * gdb.base/infcall-input.exp
8956 * gdb.base/inferior-died.exp
8957 * gdb.base/infnan.exp
8958 * gdb.base/info-macros.exp
8959 * gdb.base/info-os.exp
8960 * gdb.base/info-proc.exp
8961 * gdb.base/info-shared.exp
8962 * gdb.base/info-target.exp
8963 * gdb.base/infoline.exp
8964 * gdb.base/interp.exp
8965 * gdb.base/interrupt.exp
8966 * gdb.base/jit-reader.exp
8967 * gdb.base/jit-simple.exp
8968 * gdb.base/kill-after-signal.exp
8969 * gdb.base/kill-detach-inferiors-cmd.exp
8970 * gdb.base/label.exp
8971 * gdb.base/langs.exp
8972 * gdb.base/ldbl_e308.exp
8973 * gdb.base/line-symtabs.exp
8974 * gdb.base/linespecs.exp
8975 * gdb.base/list.exp
8976 * gdb.base/long_long.exp
8977 * gdb.base/longest-types.exp
8978 * gdb.base/maint.exp
8979 * gdb.base/max-value-size.exp
8980 * gdb.base/memattr.exp
8981 * gdb.base/mips_pro.exp
8982 * gdb.base/morestack.exp
8983 * gdb.base/moribund-step.exp
8984 * gdb.base/multi-forks.exp
8985 * gdb.base/nested-addr.exp
8986 * gdb.base/nextoverexit.exp
8987 * gdb.base/noreturn-finish.exp
8988 * gdb.base/noreturn-return.exp
8989 * gdb.base/nostdlib.exp
8990 * gdb.base/offsets.exp
8991 * gdb.base/opaque.exp
8992 * gdb.base/pc-fp.exp
8993 * gdb.base/permissions.exp
8994 * gdb.base/print-symbol-loading.exp
8995 * gdb.base/prologue-include.exp
8996 * gdb.base/psymtab.exp
8997 * gdb.base/ptype.exp
8998 * gdb.base/random-signal.exp
8999 * gdb.base/randomize.exp
9000 * gdb.base/range-stepping.exp
9001 * gdb.base/readline-ask.exp
9002 * gdb.base/recpar.exp
9003 * gdb.base/recurse.exp
9004 * gdb.base/relational.exp
9005 * gdb.base/restore.exp
9006 * gdb.base/return-nodebug.exp
9007 * gdb.base/return.exp
9008 * gdb.base/run-after-attach.exp
9009 * gdb.base/save-bp.exp
9010 * gdb.base/scope.exp
9011 * gdb.base/sect-cmd.exp
9012 * gdb.base/set-lang-auto.exp
9013 * gdb.base/set-noassign.exp
9014 * gdb.base/setvar.exp
9015 * gdb.base/sigall.exp
9016 * gdb.base/sigbpt.exp
9017 * gdb.base/siginfo-addr.exp
9018 * gdb.base/siginfo-infcall.exp
9019 * gdb.base/siginfo-obj.exp
9020 * gdb.base/siginfo.exp
9021 * gdb.base/signals-state-child.exp
9022 * gdb.base/signest.exp
9023 * gdb.base/sigstep.exp
9024 * gdb.base/sizeof.exp
9025 * gdb.base/skip.exp
9026 * gdb.base/solib-corrupted.exp
9027 * gdb.base/solib-nodir.exp
9028 * gdb.base/solib-search.exp
9029 * gdb.base/stack-checking.exp
9030 * gdb.base/stale-infcall.exp
9031 * gdb.base/stap-probe.exp
9032 * gdb.base/start.exp
9033 * gdb.base/step-break.exp
9034 * gdb.base/step-bt.exp
9035 * gdb.base/step-line.exp
9036 * gdb.base/step-over-exit.exp
9037 * gdb.base/step-over-syscall.exp
9038 * gdb.base/step-resume-infcall.exp
9039 * gdb.base/step-test.exp
9040 * gdb.base/store.exp
9041 * gdb.base/structs3.exp
9042 * gdb.base/sym-file.exp
9043 * gdb.base/symbol-without-target_section.exp
9044 * gdb.base/term.exp
9045 * gdb.base/testenv.exp
9046 * gdb.base/ui-redirect.exp
9047 * gdb.base/until.exp
9048 * gdb.base/unwindonsignal.exp
9049 * gdb.base/value-double-free.exp
9050 * gdb.base/vla-datatypes.exp
9051 * gdb.base/vla-ptr.exp
9052 * gdb.base/vla-sideeffect.exp
9053 * gdb.base/volatile.exp
9054 * gdb.base/watch-cond-infcall.exp
9055 * gdb.base/watch-cond.exp
9056 * gdb.base/watch-non-mem.exp
9057 * gdb.base/watch-read.exp
9058 * gdb.base/watch-vfork.exp
9059 * gdb.base/watchpoint-cond-gone.exp
9060 * gdb.base/watchpoint-delete.exp
9061 * gdb.base/watchpoint-hw-hit-once.exp
9062 * gdb.base/watchpoint-hw.exp
9063 * gdb.base/watchpoint-stops-at-right-insn.exp
9064 * gdb.base/watchpoints.exp
9065 * gdb.base/wchar.exp
9066 * gdb.base/whatis-exp.exp
9067 * gdb.btrace/buffer-size.exp
9068 * gdb.btrace/data.exp
9069 * gdb.btrace/delta.exp
9070 * gdb.btrace/dlopen.exp
9071 * gdb.btrace/enable.exp
9072 * gdb.btrace/exception.exp
9073 * gdb.btrace/function_call_history.exp
9074 * gdb.btrace/gcore.exp
9075 * gdb.btrace/instruction_history.exp
9076 * gdb.btrace/nohist.exp
9077 * gdb.btrace/reconnect.exp
9078 * gdb.btrace/record_goto-step.exp
9079 * gdb.btrace/record_goto.exp
9080 * gdb.btrace/rn-dl-bind.exp
9081 * gdb.btrace/segv.exp
9082 * gdb.btrace/step.exp
9083 * gdb.btrace/stepi.exp
9084 * gdb.btrace/tailcall-only.exp
9085 * gdb.btrace/tailcall.exp
9086 * gdb.btrace/tsx.exp
9087 * gdb.btrace/unknown_functions.exp
9088 * gdb.btrace/vdso.exp
9089 * gdb.compile/compile-ifunc.exp
9090 * gdb.compile/compile-ops.exp
9091 * gdb.compile/compile-print.exp
9092 * gdb.compile/compile-setjmp.exp
9093 * gdb.cp/abstract-origin.exp
9094 * gdb.cp/ambiguous.exp
9095 * gdb.cp/annota2.exp
9096 * gdb.cp/annota3.exp
9097 * gdb.cp/anon-ns.exp
9098 * gdb.cp/anon-struct.exp
9099 * gdb.cp/anon-union.exp
9100 * gdb.cp/arg-reference.exp
9101 * gdb.cp/baseenum.exp
9102 * gdb.cp/bool.exp
9103 * gdb.cp/breakpoint.exp
9104 * gdb.cp/bs15503.exp
9105 * gdb.cp/call-c.exp
9106 * gdb.cp/casts.exp
9107 * gdb.cp/chained-calls.exp
9108 * gdb.cp/class2.exp
9109 * gdb.cp/classes.exp
9110 * gdb.cp/cmpd-minsyms.exp
9111 * gdb.cp/converts.exp
9112 * gdb.cp/cp-relocate.exp
9113 * gdb.cp/cpcompletion.exp
9114 * gdb.cp/cpexprs.exp
9115 * gdb.cp/cplabel.exp
9116 * gdb.cp/cplusfuncs.exp
9117 * gdb.cp/cpsizeof.exp
9118 * gdb.cp/ctti.exp
9119 * gdb.cp/derivation.exp
9120 * gdb.cp/destrprint.exp
9121 * gdb.cp/dispcxx.exp
9122 * gdb.cp/enum-class.exp
9123 * gdb.cp/exception.exp
9124 * gdb.cp/exceptprint.exp
9125 * gdb.cp/expand-psymtabs-cxx.exp
9126 * gdb.cp/expand-sals.exp
9127 * gdb.cp/extern-c.exp
9128 * gdb.cp/filename.exp
9129 * gdb.cp/formatted-ref.exp
9130 * gdb.cp/fpointer.exp
9131 * gdb.cp/gdb1355.exp
9132 * gdb.cp/gdb2495.exp
9133 * gdb.cp/hang.exp
9134 * gdb.cp/impl-this.exp
9135 * gdb.cp/infcall-dlopen.exp
9136 * gdb.cp/inherit.exp
9137 * gdb.cp/iostream.exp
9138 * gdb.cp/koenig.exp
9139 * gdb.cp/local.exp
9140 * gdb.cp/m-data.exp
9141 * gdb.cp/m-static.exp
9142 * gdb.cp/mb-ctor.exp
9143 * gdb.cp/mb-inline.exp
9144 * gdb.cp/mb-templates.exp
9145 * gdb.cp/member-name.exp
9146 * gdb.cp/member-ptr.exp
9147 * gdb.cp/meth-typedefs.exp
9148 * gdb.cp/method.exp
9149 * gdb.cp/method2.exp
9150 * gdb.cp/minsym-fallback.exp
9151 * gdb.cp/misc.exp
9152 * gdb.cp/namelessclass.exp
9153 * gdb.cp/namespace-enum.exp
9154 * gdb.cp/namespace-nested-import.exp
9155 * gdb.cp/namespace.exp
9156 * gdb.cp/nextoverthrow.exp
9157 * gdb.cp/no-dmgl-verbose.exp
9158 * gdb.cp/non-trivial-retval.exp
9159 * gdb.cp/noparam.exp
9160 * gdb.cp/nsdecl.exp
9161 * gdb.cp/nsimport.exp
9162 * gdb.cp/nsnested.exp
9163 * gdb.cp/nsnoimports.exp
9164 * gdb.cp/nsrecurs.exp
9165 * gdb.cp/nsstress.exp
9166 * gdb.cp/nsusing.exp
9167 * gdb.cp/operator.exp
9168 * gdb.cp/oranking.exp
9169 * gdb.cp/overload-const.exp
9170 * gdb.cp/overload.exp
9171 * gdb.cp/ovldbreak.exp
9172 * gdb.cp/ovsrch.exp
9173 * gdb.cp/paren-type.exp
9174 * gdb.cp/parse-lang.exp
9175 * gdb.cp/pass-by-ref.exp
9176 * gdb.cp/pr-1023.exp
9177 * gdb.cp/pr-1210.exp
9178 * gdb.cp/pr-574.exp
9179 * gdb.cp/pr10687.exp
9180 * gdb.cp/pr12028.exp
9181 * gdb.cp/pr17132.exp
9182 * gdb.cp/pr17494.exp
9183 * gdb.cp/pr9067.exp
9184 * gdb.cp/pr9167.exp
9185 * gdb.cp/pr9631.exp
9186 * gdb.cp/printmethod.exp
9187 * gdb.cp/psmang.exp
9188 * gdb.cp/psymtab-parameter.exp
9189 * gdb.cp/ptype-cv-cp.exp
9190 * gdb.cp/ptype-flags.exp
9191 * gdb.cp/re-set-overloaded.exp
9192 * gdb.cp/ref-types.exp
9193 * gdb.cp/rtti.exp
9194 * gdb.cp/scope-err.exp
9195 * gdb.cp/shadow.exp
9196 * gdb.cp/smartp.exp
9197 * gdb.cp/static-method.exp
9198 * gdb.cp/static-print-quit.exp
9199 * gdb.cp/temargs.exp
9200 * gdb.cp/templates.exp
9201 * gdb.cp/try_catch.exp
9202 * gdb.cp/typedef-operator.exp
9203 * gdb.cp/typeid.exp
9204 * gdb.cp/userdef.exp
9205 * gdb.cp/using-crash.exp
9206 * gdb.cp/var-tag.exp
9207 * gdb.cp/virtbase.exp
9208 * gdb.cp/virtfunc.exp
9209 * gdb.cp/virtfunc2.exp
9210 * gdb.cp/vla-cxx.exp
9211 * gdb.disasm/t01_mov.exp
9212 * gdb.disasm/t02_mova.exp
9213 * gdb.disasm/t03_add.exp
9214 * gdb.disasm/t04_sub.exp
9215 * gdb.disasm/t05_cmp.exp
9216 * gdb.disasm/t06_ari2.exp
9217 * gdb.disasm/t07_ari3.exp
9218 * gdb.disasm/t08_or.exp
9219 * gdb.disasm/t09_xor.exp
9220 * gdb.disasm/t10_and.exp
9221 * gdb.disasm/t11_logs.exp
9222 * gdb.disasm/t12_bit.exp
9223 * gdb.disasm/t13_otr.exp
9224 * gdb.dlang/circular.exp
9225 * gdb.dwarf2/arr-stride.exp
9226 * gdb.dwarf2/arr-subrange.exp
9227 * gdb.dwarf2/atomic-type.exp
9228 * gdb.dwarf2/bad-regnum.exp
9229 * gdb.dwarf2/bitfield-parent-optimized-out.exp
9230 * gdb.dwarf2/callframecfa.exp
9231 * gdb.dwarf2/clztest.exp
9232 * gdb.dwarf2/corrupt.exp
9233 * gdb.dwarf2/data-loc.exp
9234 * gdb.dwarf2/dup-psym.exp
9235 * gdb.dwarf2/dw2-anon-mptr.exp
9236 * gdb.dwarf2/dw2-anonymous-func.exp
9237 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
9238 * gdb.dwarf2/dw2-bad-unresolved.exp
9239 * gdb.dwarf2/dw2-basic.exp
9240 * gdb.dwarf2/dw2-canonicalize-type.exp
9241 * gdb.dwarf2/dw2-case-insensitive.exp
9242 * gdb.dwarf2/dw2-common-block.exp
9243 * gdb.dwarf2/dw2-compdir-oldgcc.exp
9244 * gdb.dwarf2/dw2-compressed.exp
9245 * gdb.dwarf2/dw2-const.exp
9246 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
9247 * gdb.dwarf2/dw2-cu-size.exp
9248 * gdb.dwarf2/dw2-dup-frame.exp
9249 * gdb.dwarf2/dw2-entry-value.exp
9250 * gdb.dwarf2/dw2-icycle.exp
9251 * gdb.dwarf2/dw2-ifort-parameter.exp
9252 * gdb.dwarf2/dw2-inline-break.exp
9253 * gdb.dwarf2/dw2-inline-param.exp
9254 * gdb.dwarf2/dw2-intercu.exp
9255 * gdb.dwarf2/dw2-intermix.exp
9256 * gdb.dwarf2/dw2-lexical-block-bare.exp
9257 * gdb.dwarf2/dw2-linkage-name-trust.exp
9258 * gdb.dwarf2/dw2-minsym-in-cu.exp
9259 * gdb.dwarf2/dw2-noloc.exp
9260 * gdb.dwarf2/dw2-op-call.exp
9261 * gdb.dwarf2/dw2-op-out-param.exp
9262 * gdb.dwarf2/dw2-opt-structptr.exp
9263 * gdb.dwarf2/dw2-param-error.exp
9264 * gdb.dwarf2/dw2-producer.exp
9265 * gdb.dwarf2/dw2-ranges-base.exp
9266 * gdb.dwarf2/dw2-ref-missing-frame.exp
9267 * gdb.dwarf2/dw2-reg-undefined.exp
9268 * gdb.dwarf2/dw2-regno-invalid.exp
9269 * gdb.dwarf2/dw2-restore.exp
9270 * gdb.dwarf2/dw2-restrict.exp
9271 * gdb.dwarf2/dw2-single-line-discriminators.exp
9272 * gdb.dwarf2/dw2-strp.exp
9273 * gdb.dwarf2/dw2-undefined-ret-addr.exp
9274 * gdb.dwarf2/dw2-unresolved.exp
9275 * gdb.dwarf2/dw2-var-zero-addr.exp
9276 * gdb.dwarf2/dw4-sig-types.exp
9277 * gdb.dwarf2/dwz.exp
9278 * gdb.dwarf2/dynarr-ptr.exp
9279 * gdb.dwarf2/enum-type.exp
9280 * gdb.dwarf2/gdb-index.exp
9281 * gdb.dwarf2/implptr-64bit.exp
9282 * gdb.dwarf2/implptr-optimized-out.exp
9283 * gdb.dwarf2/implptr.exp
9284 * gdb.dwarf2/implref-array.exp
9285 * gdb.dwarf2/implref-const.exp
9286 * gdb.dwarf2/implref-global.exp
9287 * gdb.dwarf2/implref-struct.exp
9288 * gdb.dwarf2/mac-fileno.exp
9289 * gdb.dwarf2/main-subprogram.exp
9290 * gdb.dwarf2/member-ptr-forwardref.exp
9291 * gdb.dwarf2/method-ptr.exp
9292 * gdb.dwarf2/missing-sig-type.exp
9293 * gdb.dwarf2/nonvar-access.exp
9294 * gdb.dwarf2/opaque-type-lookup.exp
9295 * gdb.dwarf2/pieces-optimized-out.exp
9296 * gdb.dwarf2/pieces.exp
9297 * gdb.dwarf2/pr10770.exp
9298 * gdb.dwarf2/pr13961.exp
9299 * gdb.dwarf2/staticvirtual.exp
9300 * gdb.dwarf2/subrange.exp
9301 * gdb.dwarf2/symtab-producer.exp
9302 * gdb.dwarf2/trace-crash.exp
9303 * gdb.dwarf2/typeddwarf.exp
9304 * gdb.dwarf2/valop.exp
9305 * gdb.dwarf2/watch-notconst.exp
9306 * gdb.fortran/array-element.exp
9307 * gdb.fortran/charset.exp
9308 * gdb.fortran/common-block.exp
9309 * gdb.fortran/complex.exp
9310 * gdb.fortran/derived-type-function.exp
9311 * gdb.fortran/derived-type.exp
9312 * gdb.fortran/logical.exp
9313 * gdb.fortran/module.exp
9314 * gdb.fortran/multi-dim.exp
9315 * gdb.fortran/nested-funcs.exp
9316 * gdb.fortran/print-formatted.exp
9317 * gdb.fortran/subarray.exp
9318 * gdb.fortran/vla-alloc-assoc.exp
9319 * gdb.fortran/vla-datatypes.exp
9320 * gdb.fortran/vla-history.exp
9321 * gdb.fortran/vla-ptr-info.exp
9322 * gdb.fortran/vla-ptype-sub.exp
9323 * gdb.fortran/vla-ptype.exp
9324 * gdb.fortran/vla-sizeof.exp
9325 * gdb.fortran/vla-type.exp
9326 * gdb.fortran/vla-value-sub-arbitrary.exp
9327 * gdb.fortran/vla-value-sub-finish.exp
9328 * gdb.fortran/vla-value-sub.exp
9329 * gdb.fortran/vla-value.exp
9330 * gdb.fortran/whatis_type.exp
9331 * gdb.go/chan.exp
9332 * gdb.go/handcall.exp
9333 * gdb.go/hello.exp
9334 * gdb.go/integers.exp
9335 * gdb.go/methods.exp
9336 * gdb.go/package.exp
9337 * gdb.go/strings.exp
9338 * gdb.go/types.exp
9339 * gdb.go/unsafe.exp
9340 * gdb.guile/scm-arch.exp
9341 * gdb.guile/scm-block.exp
9342 * gdb.guile/scm-breakpoint.exp
9343 * gdb.guile/scm-cmd.exp
9344 * gdb.guile/scm-disasm.exp
9345 * gdb.guile/scm-equal.exp
9346 * gdb.guile/scm-frame-args.exp
9347 * gdb.guile/scm-frame-inline.exp
9348 * gdb.guile/scm-frame.exp
9349 * gdb.guile/scm-iterator.exp
9350 * gdb.guile/scm-math.exp
9351 * gdb.guile/scm-objfile.exp
9352 * gdb.guile/scm-ports.exp
9353 * gdb.guile/scm-symbol.exp
9354 * gdb.guile/scm-symtab.exp
9355 * gdb.guile/scm-value-cc.exp
9356 * gdb.guile/types-module.exp
9357 * gdb.linespec/break-ask.exp
9358 * gdb.linespec/cpexplicit.exp
9359 * gdb.linespec/explicit.exp
9360 * gdb.linespec/keywords.exp
9361 * gdb.linespec/linespec.exp
9362 * gdb.linespec/ls-dollar.exp
9363 * gdb.linespec/ls-errs.exp
9364 * gdb.linespec/skip-two.exp
9365 * gdb.linespec/thread.exp
9366 * gdb.mi/mi-async.exp
9367 * gdb.mi/mi-basics.exp
9368 * gdb.mi/mi-break.exp
9369 * gdb.mi/mi-catch-load.exp
9370 * gdb.mi/mi-cli.exp
9371 * gdb.mi/mi-cmd-param-changed.exp
9372 * gdb.mi/mi-console.exp
9373 * gdb.mi/mi-detach.exp
9374 * gdb.mi/mi-disassemble.exp
9375 * gdb.mi/mi-eval.exp
9376 * gdb.mi/mi-file-transfer.exp
9377 * gdb.mi/mi-file.exp
9378 * gdb.mi/mi-fill-memory.exp
9379 * gdb.mi/mi-inheritance-syntax-error.exp
9380 * gdb.mi/mi-linespec-err-cp.exp
9381 * gdb.mi/mi-logging.exp
9382 * gdb.mi/mi-memory-changed.exp
9383 * gdb.mi/mi-read-memory.exp
9384 * gdb.mi/mi-record-changed.exp
9385 * gdb.mi/mi-reg-undefined.exp
9386 * gdb.mi/mi-regs.exp
9387 * gdb.mi/mi-return.exp
9388 * gdb.mi/mi-reverse.exp
9389 * gdb.mi/mi-simplerun.exp
9390 * gdb.mi/mi-solib.exp
9391 * gdb.mi/mi-stack.exp
9392 * gdb.mi/mi-stepi.exp
9393 * gdb.mi/mi-syn-frame.exp
9394 * gdb.mi/mi-until.exp
9395 * gdb.mi/mi-var-block.exp
9396 * gdb.mi/mi-var-child.exp
9397 * gdb.mi/mi-var-cmd.exp
9398 * gdb.mi/mi-var-cp.exp
9399 * gdb.mi/mi-var-display.exp
9400 * gdb.mi/mi-var-invalidate.exp
9401 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
9402 * gdb.mi/mi-vla-fortran.exp
9403 * gdb.mi/mi-watch.exp
9404 * gdb.mi/mi2-var-child.exp
9405 * gdb.mi/user-selected-context-sync.exp
9406 * gdb.modula2/unbounded-array.exp
9407 * gdb.multi/dummy-frame-restore.exp
9408 * gdb.multi/multi-arch-exec.exp
9409 * gdb.multi/multi-arch.exp
9410 * gdb.multi/tids.exp
9411 * gdb.multi/watchpoint-multi.exp
9412 * gdb.opencl/callfuncs.exp
9413 * gdb.opencl/convs_casts.exp
9414 * gdb.opencl/datatypes.exp
9415 * gdb.opencl/operators.exp
9416 * gdb.opencl/vec_comps.exp
9417 * gdb.opt/clobbered-registers-O2.exp
9418 * gdb.opt/inline-break.exp
9419 * gdb.opt/inline-bt.exp
9420 * gdb.opt/inline-cmds.exp
9421 * gdb.opt/inline-locals.exp
9422 * gdb.pascal/case-insensitive-symbols.exp
9423 * gdb.pascal/floats.exp
9424 * gdb.pascal/gdb11492.exp
9425 * gdb.python/lib-types.exp
9426 * gdb.python/py-arch.exp
9427 * gdb.python/py-as-string.exp
9428 * gdb.python/py-bad-printers.exp
9429 * gdb.python/py-block.exp
9430 * gdb.python/py-breakpoint-create-fail.exp
9431 * gdb.python/py-breakpoint.exp
9432 * gdb.python/py-caller-is.exp
9433 * gdb.python/py-cmd.exp
9434 * gdb.python/py-explore-cc.exp
9435 * gdb.python/py-explore.exp
9436 * gdb.python/py-finish-breakpoint.exp
9437 * gdb.python/py-finish-breakpoint2.exp
9438 * gdb.python/py-frame-args.exp
9439 * gdb.python/py-frame-inline.exp
9440 * gdb.python/py-frame.exp
9441 * gdb.python/py-framefilter-mi.exp
9442 * gdb.python/py-infthread.exp
9443 * gdb.python/py-lazy-string.exp
9444 * gdb.python/py-linetable.exp
9445 * gdb.python/py-mi-events.exp
9446 * gdb.python/py-mi-objfile.exp
9447 * gdb.python/py-mi.exp
9448 * gdb.python/py-objfile.exp
9449 * gdb.python/py-pp-integral.exp
9450 * gdb.python/py-pp-maint.exp
9451 * gdb.python/py-pp-re-notag.exp
9452 * gdb.python/py-pp-registration.exp
9453 * gdb.python/py-recurse-unwind.exp
9454 * gdb.python/py-strfns.exp
9455 * gdb.python/py-symbol.exp
9456 * gdb.python/py-symtab.exp
9457 * gdb.python/py-sync-interp.exp
9458 * gdb.python/py-typeprint.exp
9459 * gdb.python/py-unwind-maint.exp
9460 * gdb.python/py-unwind.exp
9461 * gdb.python/py-value-cc.exp
9462 * gdb.python/py-xmethods.exp
9463 * gdb.reverse/amd64-tailcall-reverse.exp
9464 * gdb.reverse/break-precsave.exp
9465 * gdb.reverse/break-reverse.exp
9466 * gdb.reverse/consecutive-precsave.exp
9467 * gdb.reverse/consecutive-reverse.exp
9468 * gdb.reverse/finish-precsave.exp
9469 * gdb.reverse/finish-reverse-bkpt.exp
9470 * gdb.reverse/finish-reverse.exp
9471 * gdb.reverse/fstatat-reverse.exp
9472 * gdb.reverse/getresuid-reverse.exp
9473 * gdb.reverse/i386-precsave.exp
9474 * gdb.reverse/i386-reverse.exp
9475 * gdb.reverse/i386-sse-reverse.exp
9476 * gdb.reverse/i387-env-reverse.exp
9477 * gdb.reverse/i387-stack-reverse.exp
9478 * gdb.reverse/insn-reverse.exp
9479 * gdb.reverse/machinestate-precsave.exp
9480 * gdb.reverse/machinestate.exp
9481 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9482 * gdb.reverse/pipe-reverse.exp
9483 * gdb.reverse/readv-reverse.exp
9484 * gdb.reverse/recvmsg-reverse.exp
9485 * gdb.reverse/rerun-prec.exp
9486 * gdb.reverse/s390-mvcle.exp
9487 * gdb.reverse/step-precsave.exp
9488 * gdb.reverse/step-reverse.exp
9489 * gdb.reverse/time-reverse.exp
9490 * gdb.reverse/until-precsave.exp
9491 * gdb.reverse/until-reverse.exp
9492 * gdb.reverse/waitpid-reverse.exp
9493 * gdb.reverse/watch-precsave.exp
9494 * gdb.reverse/watch-reverse.exp
9495 * gdb.rust/generics.exp
9496 * gdb.rust/methods.exp
9497 * gdb.rust/modules.exp
9498 * gdb.rust/simple.exp
9499 * gdb.server/connect-with-no-symbol-file.exp
9500 * gdb.server/ext-attach.exp
9501 * gdb.server/ext-restart.exp
9502 * gdb.server/ext-wrapper.exp
9503 * gdb.server/file-transfer.exp
9504 * gdb.server/server-exec-info.exp
9505 * gdb.server/server-kill.exp
9506 * gdb.server/server-mon.exp
9507 * gdb.server/wrapper.exp
9508 * gdb.stabs/exclfwd.exp
9509 * gdb.stabs/gdb11479.exp
9510 * gdb.threads/clone-new-thread-event.exp
9511 * gdb.threads/corethreads.exp
9512 * gdb.threads/current-lwp-dead.exp
9513 * gdb.threads/dlopen-libpthread.exp
9514 * gdb.threads/gcore-thread.exp
9515 * gdb.threads/sigstep-threads.exp
9516 * gdb.threads/watchpoint-fork.exp
9517 * gdb.trace/actions-changed.exp
9518 * gdb.trace/backtrace.exp
9519 * gdb.trace/change-loc.exp
9520 * gdb.trace/circ.exp
9521 * gdb.trace/collection.exp
9522 * gdb.trace/disconnected-tracing.exp
9523 * gdb.trace/ftrace.exp
9524 * gdb.trace/mi-trace-frame-collected.exp
9525 * gdb.trace/mi-trace-unavailable.exp
9526 * gdb.trace/mi-traceframe-changed.exp
9527 * gdb.trace/mi-tsv-changed.exp
9528 * gdb.trace/no-attach-trace.exp
9529 * gdb.trace/passc-dyn.exp
9530 * gdb.trace/qtro.exp
9531 * gdb.trace/range-stepping.exp
9532 * gdb.trace/read-memory.exp
9533 * gdb.trace/save-trace.exp
9534 * gdb.trace/signal.exp
9535 * gdb.trace/status-stop.exp
9536 * gdb.trace/tfile.exp
9537 * gdb.trace/trace-break.exp
9538 * gdb.trace/trace-buffer-size.exp
9539 * gdb.trace/trace-condition.exp
9540 * gdb.trace/tracefile-pseudo-reg.exp
9541 * gdb.trace/tstatus.exp
9542 * gdb.trace/unavailable.exp
9543 * gdb.trace/while-dyn.exp
9544 * gdb.trace/while-stepping.exp
9545
34c41c68
DE
95462016-12-22 Doug Evans <xdje42@gmail.com>
9547
9548 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
9549 and msymbols.
9550
16e69324
YQ
95512016-12-19 Yao Qi <yao.qi@linaro.org>
9552
9553 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
9554 (test_with_self): Don't call do_steps_and_nexts, and remove
9555 code about stepping into xmalloc.
9556
f94f411b
YQ
95572016-12-09 Yao Qi <yao.qi@linaro.org>
9558
9559 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
9560
95612016-12-09 Yao Qi <yao.qi@linaro.org>
9562
9563 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
9564
f1b5deee
PA
95652016-12-09 Pedro Alves <palves@redhat.com>
9566
9567 * gdb.base/all-architectures-0.exp: New file.
9568 * gdb.base/all-architectures-1.exp: New file.
9569 * gdb.base/all-architectures-2.exp: New file.
9570 * gdb.base/all-architectures-3.exp: New file.
9571 * gdb.base/all-architectures-4.exp: New file.
9572 * gdb.base/all-architectures-5.exp: New file.
9573 * gdb.base/all-architectures-6.exp: New file.
9574 * gdb.base/all-architectures-7.exp: New file.
9575 * gdb.base/all-architectures.exp.in: New file.
9576
364ca42e
YQ
95772016-12-09 Yao Qi <yao.qi@linaro.org>
9578
9579 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
9580
107c2d62
LM
95812016-12-02 Luis Machado <lgustavo@codesourcery.com>
9582
9583 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
9584 possible.
9585 Remove useless pattern-matching code.
9586
df3ee9ca
PA
95872016-12-02 Pedro Alves <palves@redhat.com>
9588
9589 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
9590 procedure.
9591 (top level): Call it.
9592
ec835369
PA
95932016-12-02 Pedro Alves <palves@redhat.com>
9594
9595 * gdb.base/commands.exp (user_defined_command_args_stack_test):
9596 New procedure.
9597 (top level): Call it.
9598
01770bbd
PA
95992016-12-02 Pedro Alves <palves@redhat.com>
9600
9601 PR cli/20559
9602 * gdb.base/commands.exp (user_defined_command_args_eval): New
9603 procedure.
9604 (top level): Call it.
9605
008459ea
LM
96062016-12-02 Luis Machado <lgustavo@codesourcery.com>
9607
9608 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
9609 timeout handling.
9610
0c1b455e
TT
96112016-12-02 Tom Tromey <tom@tromey.com>
9612
9613 * gdb.dwarf2/main-subprogram.c: New file.
9614 * gdb.dwarf2/main-subprogram.exp: New file.
9615
018572b8
LM
96162016-12-01 Luis Machado <lgustavo@codesourcery.com>
9617
9618 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
9619 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
9620 gdb_test_no_output for a couple of cases.
9621 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
9622
84c93cd5
LM
96232016-12-01 Luis Machado <lgustavo@codesourcery.com>
9624
9625 Fix test names and standardize compilation error messages throughout
9626 the following files:
9627
9628 * gdb.ada/start.exp
9629 * gdb.arch/alpha-step.exp
9630 * gdb.arch/e500-prologue.exp
9631 * gdb.arch/ftrace-insn-reloc.exp
9632 * gdb.arch/gdb1291.exp
9633 * gdb.arch/gdb1431.exp
9634 * gdb.arch/gdb1558.exp
9635 * gdb.arch/i386-dr3-watch.exp
9636 * gdb.arch/i386-sse-stack-align.exp
9637 * gdb.arch/ia64-breakpoint-shadow.exp
9638 * gdb.arch/pa-nullify.exp
9639 * gdb.arch/powerpc-aix-prologue.exp
9640 * gdb.arch/thumb-bx-pc.exp
9641 * gdb.base/annota1.exp
9642 * gdb.base/annota3.exp
9643 * gdb.base/arrayidx.exp
9644 * gdb.base/assign.exp
9645 * gdb.base/attach.exp
9646 * gdb.base/auxv.exp
9647 * gdb.base/bang.exp
9648 * gdb.base/bfp-test.exp
9649 * gdb.base/bigcore.exp
9650 * gdb.base/bitfields2.exp
9651 * gdb.base/break-fun-addr.exp
9652 * gdb.base/break-probes.exp
9653 * gdb.base/call-rt-st.exp
9654 * gdb.base/callexit.exp
9655 * gdb.base/catch-fork-kill.exp
9656 * gdb.base/charset.exp
9657 * gdb.base/checkpoint.exp
9658 * gdb.base/comprdebug.exp
9659 * gdb.base/constvars.exp
9660 * gdb.base/coredump-filter.exp
9661 * gdb.base/cursal.exp
9662 * gdb.base/cvexpr.exp
9663 * gdb.base/detach.exp
9664 * gdb.base/display.exp
9665 * gdb.base/dmsym.exp
9666 * gdb.base/dprintf-pending.exp
9667 * gdb.base/dso2dso.exp
9668 * gdb.base/dtrace-probe.exp
9669 * gdb.base/dump.exp
9670 * gdb.base/enum_cond.exp
9671 * gdb.base/exe-lock.exp
9672 * gdb.base/exec-invalid-sysroot.exp
9673 * gdb.base/execl-update-breakpoints.exp
9674 * gdb.base/exprs.exp
9675 * gdb.base/fileio.exp
9676 * gdb.base/find.exp
9677 * gdb.base/finish.exp
9678 * gdb.base/fixsection.exp
9679 * gdb.base/foll-vfork.exp
9680 * gdb.base/frame-args.exp
9681 * gdb.base/gcore.exp
9682 * gdb.base/gdb1250.exp
9683 * gdb.base/global-var-nested-by-dso.exp
9684 * gdb.base/gnu-ifunc.exp
9685 * gdb.base/hashline1.exp
9686 * gdb.base/hashline2.exp
9687 * gdb.base/hashline3.exp
9688 * gdb.base/hbreak-in-shr-unsupported.exp
9689 * gdb.base/huge.exp
9690 * gdb.base/infcall-input.exp
9691 * gdb.base/info-fun.exp
9692 * gdb.base/info-shared.exp
9693 * gdb.base/jit-simple.exp
9694 * gdb.base/jit-so.exp
9695 * gdb.base/jit.exp
9696 * gdb.base/jump.exp
9697 * gdb.base/label.exp
9698 * gdb.base/lineinc.exp
9699 * gdb.base/logical.exp
9700 * gdb.base/longjmp.exp
9701 * gdb.base/macscp.exp
9702 * gdb.base/miscexprs.exp
9703 * gdb.base/new-ui-echo.exp
9704 * gdb.base/new-ui-pending-input.exp
9705 * gdb.base/new-ui.exp
9706 * gdb.base/nodebug.exp
9707 * gdb.base/nofield.exp
9708 * gdb.base/offsets.exp
9709 * gdb.base/overlays.exp
9710 * gdb.base/pending.exp
9711 * gdb.base/pointers.exp
9712 * gdb.base/pr11022.exp
9713 * gdb.base/printcmds.exp
9714 * gdb.base/prologue.exp
9715 * gdb.base/ptr-typedef.exp
9716 * gdb.base/realname-expand.exp
9717 * gdb.base/relativedebug.exp
9718 * gdb.base/relocate.exp
9719 * gdb.base/remote.exp
9720 * gdb.base/reread.exp
9721 * gdb.base/return2.exp
9722 * gdb.base/savedregs.exp
9723 * gdb.base/sep.exp
9724 * gdb.base/sepdebug.exp
9725 * gdb.base/sepsymtab.exp
9726 * gdb.base/set-inferior-tty.exp
9727 * gdb.base/setshow.exp
9728 * gdb.base/shlib-call.exp
9729 * gdb.base/sigaltstack.exp
9730 * gdb.base/siginfo-addr.exp
9731 * gdb.base/signals.exp
9732 * gdb.base/signull.exp
9733 * gdb.base/sigrepeat.exp
9734 * gdb.base/so-impl-ld.exp
9735 * gdb.base/solib-display.exp
9736 * gdb.base/solib-overlap.exp
9737 * gdb.base/solib-search.exp
9738 * gdb.base/solib-symbol.exp
9739 * gdb.base/structs.exp
9740 * gdb.base/structs2.exp
9741 * gdb.base/symtab-search-order.exp
9742 * gdb.base/twice.exp
9743 * gdb.base/unload.exp
9744 * gdb.base/varargs.exp
9745 * gdb.base/watchpoint-solib.exp
9746 * gdb.base/watchpoint.exp
9747 * gdb.base/whatis.exp
9748 * gdb.base/wrong_frame_bt_full.exp
9749 * gdb.btrace/dlopen.exp
9750 * gdb.cell/ea-standalone.exp
9751 * gdb.cell/ea-test.exp
9752 * gdb.cp/dispcxx.exp
9753 * gdb.cp/gdb2384.exp
9754 * gdb.cp/method2.exp
9755 * gdb.cp/nextoverthrow.exp
9756 * gdb.cp/pr10728.exp
9757 * gdb.disasm/am33.exp
9758 * gdb.disasm/h8300s.exp
9759 * gdb.disasm/mn10300.exp
9760 * gdb.disasm/sh3.exp
9761 * gdb.dwarf2/dw2-dir-file-name.exp
9762 * gdb.fortran/complex.exp
9763 * gdb.fortran/library-module.exp
9764 * gdb.guile/scm-pretty-print.exp
9765 * gdb.guile/scm-symbol.exp
9766 * gdb.guile/scm-type.exp
9767 * gdb.guile/scm-value.exp
9768 * gdb.linespec/linespec.exp
9769 * gdb.mi/gdb701.exp
9770 * gdb.mi/gdb792.exp
9771 * gdb.mi/mi-breakpoint-changed.exp
9772 * gdb.mi/mi-dprintf-pending.exp
9773 * gdb.mi/mi-dprintf.exp
9774 * gdb.mi/mi-exit-code.exp
9775 * gdb.mi/mi-pending.exp
9776 * gdb.mi/mi-solib.exp
9777 * gdb.mi/new-ui-mi-sync.exp
9778 * gdb.mi/pr11022.exp
9779 * gdb.mi/user-selected-context-sync.exp
9780 * gdb.opt/solib-intra-step.exp
9781 * gdb.python/py-events.exp
9782 * gdb.python/py-finish-breakpoint.exp
9783 * gdb.python/py-mi.exp
9784 * gdb.python/py-prettyprint.exp
9785 * gdb.python/py-shared.exp
9786 * gdb.python/py-symbol.exp
9787 * gdb.python/py-template.exp
9788 * gdb.python/py-type.exp
9789 * gdb.python/py-value.exp
9790 * gdb.reverse/solib-precsave.exp
9791 * gdb.reverse/solib-reverse.exp
9792 * gdb.server/solib-list.exp
9793 * gdb.stabs/weird.exp
9794 * gdb.threads/reconnect-signal.exp
9795 * gdb.threads/stepi-random-signal.exp
9796 * gdb.trace/actions.exp
9797 * gdb.trace/ax.exp
9798 * gdb.trace/backtrace.exp
9799 * gdb.trace/change-loc.exp
9800 * gdb.trace/deltrace.exp
9801 * gdb.trace/ftrace-lock.exp
9802 * gdb.trace/ftrace.exp
9803 * gdb.trace/infotrace.exp
9804 * gdb.trace/mi-tracepoint-changed.exp
9805 * gdb.trace/packetlen.exp
9806 * gdb.trace/passcount.exp
9807 * gdb.trace/pending.exp
9808 * gdb.trace/range-stepping.exp
9809 * gdb.trace/report.exp
9810 * gdb.trace/stap-trace.exp
9811 * gdb.trace/tfind.exp
9812 * gdb.trace/trace-break.exp
9813 * gdb.trace/trace-condition.exp
9814 * gdb.trace/trace-enable-disable.exp
9815 * gdb.trace/trace-mt.exp
9816 * gdb.trace/tracecmd.exp
9817 * gdb.trace/tspeed.exp
9818 * gdb.trace/tsv.exp
9819 * lib/perftest.exp
9820
fb9feb35
LM
98212016-12-01 Luis Machado <lgustavo@codesourcery.com>
9822
9823 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
9824 with gdb_test_no_output.
9825 Use command as test name.
9826
cd2ddb6c
LM
98272016-12-01 Luis Machado <lgustavo@codesourcery.com>
9828
9829 Fix test names starting with uppercase throughout the files.
9830
9831 * gdb.ada/assign_1.exp
9832 * gdb.ada/boolean_expr.exp
9833 * gdb.base/arrayidx.exp
9834 * gdb.base/del.exp
9835 * gdb.base/gcore-buffer-overflow.exp
9836 * gdb.base/testenv.exp
9837 * gdb.compile/compile.exp
9838 * gdb.python/py-framefilter-invalidarg.exp
9839 * gdb.python/py-framefilter.exp
9840
bb95117e
LM
98412016-12-01 Luis Machado <lgustavo@codesourcery.com>
9842
9843 Fix test names starting with uppercase throughout the files.
9844
9845 * gdb.ada/array_return.exp
9846 * gdb.ada/expr_delims.exp
9847 * gdb.ada/mi_dyn_arr.exp
9848 * gdb.ada/mi_interface.exp
9849 * gdb.ada/mi_var_array.exp
9850 * gdb.ada/watch_arg.exp
9851 * gdb.arch/alpha-step.exp
9852 * gdb.arch/altivec-regs.exp
9853 * gdb.arch/e500-regs.exp
9854 * gdb.arch/powerpc-d128-regs.exp
9855 * gdb.base/arrayidx.exp
9856 * gdb.base/break.exp
9857 * gdb.base/checkpoint.exp
9858 * gdb.base/debug-expr.exp
9859 * gdb.base/dmsym.exp
9860 * gdb.base/radix.exp
9861 * gdb.base/sepdebug.exp
9862 * gdb.base/testenv.exp
9863 * gdb.base/watch_thread_num.exp
9864 * gdb.base/watchpoint-cond-gone.exp
9865 * gdb.cell/break.exp
9866 * gdb.cell/ea-cache.exp
9867 * gdb.compile/compile.exp
9868 * gdb.cp/gdb2495.exp
9869 * gdb.gdb/selftest.exp
9870 * gdb.gdb/xfullpath.exp
9871 * gdb.go/hello.exp
9872 * gdb.go/integers.exp
9873 * gdb.objc/basicclass.exp
9874 * gdb.pascal/hello.exp
9875 * gdb.pascal/integers.exp
9876 * gdb.python/py-breakpoint.exp
9877 * gdb.python/py-cmd.exp
9878 * gdb.python/py-linetable.exp
9879 * gdb.python/py-xmethods.exp
9880 * gdb.python/python.exp
9881 * gdb.reverse/consecutive-precsave.exp
9882 * gdb.reverse/finish-precsave.exp
9883 * gdb.reverse/i386-precsave.exp
9884 * gdb.reverse/machinestate-precsave.exp
9885 * gdb.reverse/sigall-precsave.exp
9886 * gdb.reverse/solib-precsave.exp
9887 * gdb.reverse/step-precsave.exp
9888 * gdb.reverse/until-precsave.exp
9889 * gdb.reverse/watch-precsave.exp
9890 * gdb.threads/leader-exit.exp
9891 * gdb.threads/pthreads.exp
9892 * gdb.threads/wp-replication.exp
9893 * gdb.trace/actions.exp
9894 * gdb.trace/mi-tsv-changed.exp
9895 * gdb.trace/tsv.exp
9896
de97fdd4
LM
98972016-12-01 Luis Machado <lgustavo@codesourcery.com>
9898
9899 Fix test names starting with uppercase throughout the files.
9900
9901 * gdb.arch/i386-bp_permanent.exp
9902 * gdb.arch/i386-gnu-cfi.exp
9903 * gdb.base/disasm-end-cu.exp
9904 * gdb.base/macscp.exp
9905 * gdb.base/pending.exp
9906 * gdb.base/watch_thread_num.exp
9907 * gdb.cp/exception.exp
9908 * gdb.cp/gdb2495.exp
9909 * gdb.cp/local.exp
9910 * gdb.python/py-evsignal.exp
9911 * gdb.python/python.exp
9912 * gdb.trace/tracecmd.exp
9913
9f058c10
LM
99142016-12-01 Luis Machado <lgustavo@codesourcery.com>
9915
9916 Fix test names starting with uppercase throughout the files.
9917
9918 * gdb.base/charset.exp
9919 * gdb.base/eval.exp
9920 * gdb.base/multi-forks.exp
9921 * gdb.guile/scm-progspace.exp
9922 * gdb.opencl/datatypes.exp
9923 * gdb.python/py-block.exp
9924 * gdb.python/py-function.exp
9925 * gdb.python/py-symbol.exp
9926 * gdb.python/py-symtab.exp
9927 * gdb.python/py-xmethods.exp
9928 * gdb.reverse/break-precsave.exp
9929 * gdb.reverse/break-reverse.exp
9930 * gdb.reverse/consecutive-precsave.exp
9931 * gdb.reverse/consecutive-reverse.exp
9932 * gdb.reverse/finish-precsave.exp
9933 * gdb.reverse/finish-reverse-bkpt.exp
9934 * gdb.reverse/finish-reverse.exp
9935 * gdb.reverse/fstatat-reverse.exp
9936 * gdb.reverse/getresuid-reverse.exp
9937 * gdb.reverse/i386-precsave.exp
9938 * gdb.reverse/i386-reverse.exp
9939 * gdb.reverse/i386-sse-reverse.exp
9940 * gdb.reverse/i387-stack-reverse.exp
9941 * gdb.reverse/insn-reverse.exp
9942 * gdb.reverse/machinestate-precsave.exp
9943 * gdb.reverse/machinestate.exp
9944 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9945 * gdb.reverse/pipe-reverse.exp
9946 * gdb.reverse/readv-reverse.exp
9947 * gdb.reverse/recvmsg-reverse.exp
9948 * gdb.reverse/rerun-prec.exp
9949 * gdb.reverse/s390-mvcle.exp
9950 * gdb.reverse/sigall-precsave.exp
9951 * gdb.reverse/sigall-reverse.exp
9952 * gdb.reverse/solib-precsave.exp
9953 * gdb.reverse/solib-reverse.exp
9954 * gdb.reverse/step-precsave.exp
9955 * gdb.reverse/step-reverse.exp
9956 * gdb.reverse/time-reverse.exp
9957 * gdb.reverse/until-precsave.exp
9958 * gdb.reverse/until-reverse.exp
9959 * gdb.reverse/waitpid-reverse.exp
9960 * gdb.reverse/watch-precsave.exp
9961 * gdb.reverse/watch-reverse.exp
9962
cdc7edd7
LM
99632016-12-01 Luis Machado <lgustavo@codesourcery.com>
9964
9965 Fix test names starting with uppercase throughout the files.
9966
9967 * gdb.arch/i386-mpx-simple_segv.exp
9968 * gdb.arch/i386-mpx.exp
9969 * gdb.arch/i386-permbkpt.exp
9970 * gdb.arch/pa-nullify.exp
9971 * gdb.arch/powerpc-d128-regs.exp
9972 * gdb.arch/vsx-regs.exp
9973 * gdb.base/bfp-test.exp
9974 * gdb.base/break.exp
9975 * gdb.base/breakpoint-shadow.exp
9976 * gdb.base/callfuncs.exp
9977 * gdb.base/charset.exp
9978 * gdb.base/commands.exp
9979 * gdb.base/completion.exp
9980 * gdb.base/dfp-test.exp
9981 * gdb.base/echo.exp
9982 * gdb.base/ending-run.exp
9983 * gdb.base/eval.exp
9984 * gdb.base/expand-psymtabs.exp
9985 * gdb.base/float128.exp
9986 * gdb.base/floatn.exp
9987 * gdb.base/foll-exec-mode.exp
9988 * gdb.base/gdb1056.exp
9989 * gdb.base/gdb11531.exp
9990 * gdb.base/kill-after-signal.exp
9991 * gdb.base/multi-forks.exp
9992 * gdb.base/overlays.exp
9993 * gdb.base/pending.exp
9994 * gdb.base/sepdebug.exp
9995 * gdb.base/testenv.exp
9996 * gdb.base/valgrind-db-attach.exp
9997 * gdb.base/watch_thread_num.exp
9998 * gdb.base/watchpoint-cond-gone.exp
9999 * gdb.base/watchpoint.exp
10000 * gdb.base/watchpoints.exp
10001 * gdb.cp/arg-reference.exp
10002 * gdb.cp/baseenum.exp
10003 * gdb.cp/operator.exp
10004 * gdb.cp/shadow.exp
10005 * gdb.dwarf2/dw2-op-out-param.exp
10006 * gdb.dwarf2/dw2-reg-undefined.exp
10007 * gdb.go/chan.exp
10008 * gdb.go/hello.exp
10009 * gdb.go/integers.exp
10010 * gdb.go/methods.exp
10011 * gdb.go/package.exp
10012 * gdb.guile/scm-parameter.exp
10013 * gdb.guile/scm-progspace.exp
10014 * gdb.guile/scm-value.exp
10015 * gdb.mi/mi-pending.exp
10016 * gdb.mi/user-selected-context-sync.exp
10017 * gdb.multi/multi-attach.exp
10018 * gdb.multi/tids.exp
10019 * gdb.opt/clobbered-registers-O2.exp
10020 * gdb.pascal/floats.exp
10021 * gdb.pascal/integers.exp
10022 * gdb.python/py-block.exp
10023 * gdb.python/py-events.exp
10024 * gdb.python/py-parameter.exp
10025 * gdb.python/py-symbol.exp
10026 * gdb.python/py-symtab.exp
10027 * gdb.python/py-type.exp
10028 * gdb.python/py-value.exp
10029 * gdb.python/py-xmethods.exp
10030 * gdb.python/python.exp
10031 * gdb.reverse/break-precsave.exp
10032 * gdb.reverse/consecutive-precsave.exp
10033 * gdb.reverse/finish-precsave.exp
10034 * gdb.reverse/i386-precsave.exp
10035 * gdb.reverse/machinestate-precsave.exp
10036 * gdb.reverse/sigall-precsave.exp
10037 * gdb.reverse/solib-precsave.exp
10038 * gdb.reverse/step-precsave.exp
10039 * gdb.reverse/until-precsave.exp
10040 * gdb.reverse/watch-precsave.exp
10041 * gdb.server/ext-attach.exp
10042 * gdb.server/ext-restart.exp
10043 * gdb.server/ext-run.exp
10044 * gdb.server/ext-wrapper.exp
10045 * gdb.stabs/gdb11479.exp
10046 * gdb.stabs/weird.exp
10047 * gdb.threads/attach-many-short-lived-threads.exp
10048 * gdb.threads/kill.exp
10049 * gdb.threads/watchpoint-fork.exp
10050
bc6c7af4
LM
100512016-12-01 Luis Machado <lgustavo@codesourcery.com>
10052
10053 Fix test names starting with uppercase throughout all the files below.
10054
10055 * gdb.ada/array_return.exp
10056 * gdb.ada/catch_ex.exp
10057 * gdb.ada/info_exc.exp
10058 * gdb.ada/mi_catch_ex.exp
10059 * gdb.ada/mi_dyn_arr.exp
10060 * gdb.ada/mi_ex_cond.exp
10061 * gdb.ada/mi_exc_info.exp
10062 * gdb.ada/mi_interface.exp
10063 * gdb.ada/mi_task_arg.exp
10064 * gdb.ada/mi_task_info.exp
10065 * gdb.ada/mi_var_array.exp
10066 * gdb.arch/alpha-step.exp
10067 * gdb.arch/amd64-disp-step.exp
10068 * gdb.arch/arm-disp-step.exp
10069 * gdb.arch/disp-step-insn-reloc.exp
10070 * gdb.arch/e500-prologue.exp
10071 * gdb.arch/ftrace-insn-reloc.exp
10072 * gdb.arch/gdb1558.exp
10073 * gdb.arch/i386-bp_permanent.exp
10074 * gdb.arch/i386-disp-step.exp
10075 * gdb.arch/i386-float.exp
10076 * gdb.arch/i386-gnu-cfi.exp
10077 * gdb.arch/ia64-breakpoint-shadow.exp
10078 * gdb.arch/mips16-thunks.exp
10079 * gdb.arch/pa-nullify.exp
10080 * gdb.arch/powerpc-aix-prologue.exp
10081 * gdb.arch/powerpc-power.exp
10082 * gdb.arch/ppc-dfp.exp
10083 * gdb.arch/s390-tdbregs.exp
10084 * gdb.arch/spu-info.exp
10085 * gdb.arch/spu-ls.exp
10086 * gdb.arch/thumb-bx-pc.exp
10087 * gdb.base/advance.exp
10088 * gdb.base/annota-input-while-running.exp
10089 * gdb.base/arrayidx.exp
10090 * gdb.base/asmlabel.exp
10091 * gdb.base/async.exp
10092 * gdb.base/attach-wait-input.exp
10093 * gdb.base/auto-connect-native-target.exp
10094 * gdb.base/batch-preserve-term-settings.exp
10095 * gdb.base/bfp-test.exp
10096 * gdb.base/bigcore.exp
10097 * gdb.base/bp-permanent.exp
10098 * gdb.base/break-always.exp
10099 * gdb.base/break-fun-addr.exp
10100 * gdb.base/break-idempotent.exp
10101 * gdb.base/break-main-file-remove-fail.exp
10102 * gdb.base/break-probes.exp
10103 * gdb.base/break-unload-file.exp
10104 * gdb.base/break.exp
10105 * gdb.base/call-ar-st.exp
10106 * gdb.base/call-rt-st.exp
10107 * gdb.base/call-sc.exp
10108 * gdb.base/call-signal-resume.exp
10109 * gdb.base/call-strs.exp
10110 * gdb.base/callexit.exp
10111 * gdb.base/callfuncs.exp
10112 * gdb.base/catch-gdb-caused-signals.exp
10113 * gdb.base/catch-signal-siginfo-cond.exp
10114 * gdb.base/catch-syscall.exp
10115 * gdb.base/compare-sections.exp
10116 * gdb.base/cond-eval-mode.exp
10117 * gdb.base/condbreak-call-false.exp
10118 * gdb.base/consecutive-step-over.exp
10119 * gdb.base/cursal.exp
10120 * gdb.base/disabled-location.exp
10121 * gdb.base/disasm-end-cu.exp
10122 * gdb.base/display.exp
10123 * gdb.base/double-prompt-target-event-error.exp
10124 * gdb.base/dprintf-bp-same-addr.exp
10125 * gdb.base/dprintf-detach.exp
10126 * gdb.base/dprintf-next.exp
10127 * gdb.base/dprintf-non-stop.exp
10128 * gdb.base/dprintf-pending.exp
10129 * gdb.base/dso2dso.exp
10130 * gdb.base/ending-run.exp
10131 * gdb.base/enum_cond.exp
10132 * gdb.base/examine-backward.exp
10133 * gdb.base/exe-lock.exp
10134 * gdb.base/exec-invalid-sysroot.exp
10135 * gdb.base/execl-update-breakpoints.exp
10136 * gdb.base/execution-termios.exp
10137 * gdb.base/fileio.exp
10138 * gdb.base/fixsection.exp
10139 * gdb.base/foll-exec-mode.exp
10140 * gdb.base/foll-exec.exp
10141 * gdb.base/fork-running-state.exp
10142 * gdb.base/frame-args.exp
10143 * gdb.base/fullpath-expand.exp
10144 * gdb.base/func-ptr.exp
10145 * gdb.base/gcore-relro-pie.exp
10146 * gdb.base/gdb1090.exp
10147 * gdb.base/gdb1555.exp
10148 * gdb.base/global-var-nested-by-dso.exp
10149 * gdb.base/gnu-ifunc.exp
10150 * gdb.base/hbreak-in-shr-unsupported.exp
10151 * gdb.base/hbreak-unmapped.exp
10152 * gdb.base/hook-stop.exp
10153 * gdb.base/infcall-input.exp
10154 * gdb.base/info-fun.exp
10155 * gdb.base/info-shared.exp
10156 * gdb.base/interrupt-noterm.exp
10157 * gdb.base/jit-so.exp
10158 * gdb.base/jit.exp
10159 * gdb.base/line-symtabs.exp
10160 * gdb.base/list.exp
10161 * gdb.base/longjmp.exp
10162 * gdb.base/macscp.exp
10163 * gdb.base/max-value-size.exp
10164 * gdb.base/nodebug.exp
10165 * gdb.base/nofield.exp
10166 * gdb.base/overlays.exp
10167 * gdb.base/paginate-after-ctrl-c-running.exp
10168 * gdb.base/paginate-bg-execution.exp
10169 * gdb.base/paginate-inferior-exit.exp
10170 * gdb.base/pending.exp
10171 * gdb.base/pr11022.exp
10172 * gdb.base/printcmds.exp
10173 * gdb.base/ptr-typedef.exp
10174 * gdb.base/ptype.exp
10175 * gdb.base/randomize.exp
10176 * gdb.base/range-stepping.exp
10177 * gdb.base/realname-expand.exp
10178 * gdb.base/relativedebug.exp
10179 * gdb.base/remote.exp
10180 * gdb.base/savedregs.exp
10181 * gdb.base/sepdebug.exp
10182 * gdb.base/set-noassign.exp
10183 * gdb.base/shlib-call.exp
10184 * gdb.base/shreloc.exp
10185 * gdb.base/sigaltstack.exp
10186 * gdb.base/sigbpt.exp
10187 * gdb.base/siginfo-addr.exp
10188 * gdb.base/siginfo-obj.exp
10189 * gdb.base/siginfo-thread.exp
10190 * gdb.base/signest.exp
10191 * gdb.base/signull.exp
10192 * gdb.base/sigrepeat.exp
10193 * gdb.base/skip.exp
10194 * gdb.base/so-impl-ld.exp
10195 * gdb.base/solib-corrupted.exp
10196 * gdb.base/solib-disc.exp
10197 * gdb.base/solib-display.exp
10198 * gdb.base/solib-overlap.exp
10199 * gdb.base/solib-search.exp
10200 * gdb.base/solib-symbol.exp
10201 * gdb.base/source-execution.exp
10202 * gdb.base/sss-bp-on-user-bp-2.exp
10203 * gdb.base/sss-bp-on-user-bp.exp
10204 * gdb.base/stack-checking.exp
10205 * gdb.base/stale-infcall.exp
10206 * gdb.base/step-break.exp
10207 * gdb.base/step-line.exp
10208 * gdb.base/step-over-exit.exp
10209 * gdb.base/step-test.exp
10210 * gdb.base/structs.exp
10211 * gdb.base/sym-file.exp
10212 * gdb.base/symtab-search-order.exp
10213 * gdb.base/term.exp
10214 * gdb.base/type-opaque.exp
10215 * gdb.base/unload.exp
10216 * gdb.base/until-nodebug.exp
10217 * gdb.base/until.exp
10218 * gdb.base/unwindonsignal.exp
10219 * gdb.base/watch-cond.exp
10220 * gdb.base/watch-non-mem.exp
10221 * gdb.base/watch_thread_num.exp
10222 * gdb.base/watchpoint-reuse-slot.exp
10223 * gdb.base/watchpoint-solib.exp
10224 * gdb.base/watchpoint.exp
10225 * gdb.btrace/dlopen.exp
10226 * gdb.cell/arch.exp
10227 * gdb.cell/break.exp
10228 * gdb.cell/bt.exp
10229 * gdb.cell/core.exp
10230 * gdb.cell/data.exp
10231 * gdb.cell/dwarfaddr.exp
10232 * gdb.cell/ea-cache.exp
10233 * gdb.cell/ea-standalone.exp
10234 * gdb.cell/ea-test.exp
10235 * gdb.cell/f-regs.exp
10236 * gdb.cell/fork.exp
10237 * gdb.cell/gcore.exp
10238 * gdb.cell/mem-access.exp
10239 * gdb.cell/ptype.exp
10240 * gdb.cell/registers.exp
10241 * gdb.cell/sizeof.exp
10242 * gdb.cell/solib-symbol.exp
10243 * gdb.cell/solib.exp
10244 * gdb.compile/compile-tls.exp
10245 * gdb.cp/exception.exp
10246 * gdb.cp/gdb2495.exp
10247 * gdb.cp/local.exp
10248 * gdb.cp/mb-inline.exp
10249 * gdb.cp/mb-templates.exp
10250 * gdb.cp/pr10687.exp
10251 * gdb.cp/pr9167.exp
10252 * gdb.cp/scope-err.exp
10253 * gdb.cp/templates.exp
10254 * gdb.cp/virtfunc.exp
10255 * gdb.dwarf2/dw2-dir-file-name.exp
10256 * gdb.dwarf2/dw2-single-line-discriminators.exp
10257 * gdb.fortran/complex.exp
10258 * gdb.fortran/library-module.exp
10259 * gdb.guile/guile.exp
10260 * gdb.guile/scm-cmd.exp
10261 * gdb.guile/scm-frame-inline.exp
10262 * gdb.guile/scm-objfile.exp
10263 * gdb.guile/scm-pretty-print.exp
10264 * gdb.guile/scm-symbol.exp
10265 * gdb.guile/scm-type.exp
10266 * gdb.guile/scm-value.exp
10267 * gdb.linespec/keywords.exp
10268 * gdb.linespec/ls-errs.exp
10269 * gdb.linespec/macro-relative.exp
10270 * gdb.linespec/thread.exp
10271 * gdb.mi/mi-breakpoint-changed.exp
10272 * gdb.mi/mi-dprintf-pending.exp
10273 * gdb.mi/mi-fullname-deleted.exp
10274 * gdb.mi/mi-logging.exp
10275 * gdb.mi/mi-pending.exp
10276 * gdb.mi/mi-solib.exp
10277 * gdb.mi/new-ui-mi-sync.exp
10278 * gdb.mi/user-selected-context-sync.exp
10279 * gdb.multi/dummy-frame-restore.exp
10280 * gdb.multi/multi-arch-exec.exp
10281 * gdb.multi/remove-inferiors.exp
10282 * gdb.multi/watchpoint-multi-exit.exp
10283 * gdb.opt/solib-intra-step.exp
10284 * gdb.perf/backtrace.exp
10285 * gdb.perf/single-step.exp
10286 * gdb.perf/skip-command.exp
10287 * gdb.perf/skip-prologue.exp
10288 * gdb.perf/solib.exp
10289 * gdb.python/lib-types.exp
10290 * gdb.python/py-as-string.exp
10291 * gdb.python/py-bad-printers.exp
10292 * gdb.python/py-block.exp
10293 * gdb.python/py-breakpoint.exp
10294 * gdb.python/py-cmd.exp
10295 * gdb.python/py-events.exp
10296 * gdb.python/py-evthreads.exp
10297 * gdb.python/py-finish-breakpoint.exp
10298 * gdb.python/py-finish-breakpoint2.exp
10299 * gdb.python/py-frame-inline.exp
10300 * gdb.python/py-frame.exp
10301 * gdb.python/py-inferior.exp
10302 * gdb.python/py-infthread.exp
10303 * gdb.python/py-mi.exp
10304 * gdb.python/py-objfile.exp
10305 * gdb.python/py-pp-maint.exp
10306 * gdb.python/py-pp-registration.exp
10307 * gdb.python/py-prettyprint.exp
10308 * gdb.python/py-recurse-unwind.exp
10309 * gdb.python/py-shared.exp
10310 * gdb.python/py-symbol.exp
10311 * gdb.python/py-symtab.exp
10312 * gdb.python/py-template.exp
10313 * gdb.python/py-type.exp
10314 * gdb.python/py-unwind-maint.exp
10315 * gdb.python/py-unwind.exp
10316 * gdb.python/py-value.exp
10317 * gdb.python/python.exp
10318 * gdb.reverse/finish-reverse-bkpt.exp
10319 * gdb.reverse/insn-reverse.exp
10320 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10321 * gdb.reverse/solib-precsave.exp
10322 * gdb.reverse/solib-reverse.exp
10323 * gdb.stabs/gdb11479.exp
10324 * gdb.stabs/weird.exp
10325 * gdb.threads/fork-child-threads.exp
10326 * gdb.threads/fork-plus-threads.exp
10327 * gdb.threads/fork-thread-pending.exp
10328 * gdb.threads/forking-threads-plus-breakpoint.exp
10329 * gdb.threads/hand-call-in-threads.exp
10330 * gdb.threads/interrupted-hand-call.exp
10331 * gdb.threads/linux-dp.exp
10332 * gdb.threads/local-watch-wrong-thread.exp
10333 * gdb.threads/next-while-other-thread-longjmps.exp
10334 * gdb.threads/non-ldr-exit.exp
10335 * gdb.threads/pending-step.exp
10336 * gdb.threads/print-threads.exp
10337 * gdb.threads/process-dies-while-detaching.exp
10338 * gdb.threads/process-dies-while-handling-bp.exp
10339 * gdb.threads/pthreads.exp
10340 * gdb.threads/queue-signal.exp
10341 * gdb.threads/reconnect-signal.exp
10342 * gdb.threads/signal-command-handle-nopass.exp
10343 * gdb.threads/signal-command-multiple-signals-pending.exp
10344 * gdb.threads/signal-delivered-right-thread.exp
10345 * gdb.threads/signal-sigtrap.exp
10346 * gdb.threads/sigthread.exp
10347 * gdb.threads/staticthreads.exp
10348 * gdb.threads/stepi-random-signal.exp
10349 * gdb.threads/thread-unwindonsignal.exp
10350 * gdb.threads/thread_check.exp
10351 * gdb.threads/thread_events.exp
10352 * gdb.threads/tid-reuse.exp
10353 * gdb.threads/tls-nodebug.exp
10354 * gdb.threads/tls-shared.exp
10355 * gdb.threads/tls-so_extern.exp
10356 * gdb.threads/tls.exp
10357 * gdb.threads/wp-replication.exp
10358 * gdb.trace/actions-changed.exp
10359 * gdb.trace/actions.exp
10360 * gdb.trace/backtrace.exp
10361 * gdb.trace/change-loc.exp
10362 * gdb.trace/collection.exp
10363 * gdb.trace/deltrace.exp
10364 * gdb.trace/disconnected-tracing.exp
10365 * gdb.trace/entry-values.exp
10366 * gdb.trace/ftrace-lock.exp
10367 * gdb.trace/ftrace.exp
10368 * gdb.trace/infotrace.exp
10369 * gdb.trace/mi-trace-frame-collected.exp
10370 * gdb.trace/mi-trace-unavailable.exp
10371 * gdb.trace/mi-traceframe-changed.exp
10372 * gdb.trace/mi-tracepoint-changed.exp
10373 * gdb.trace/mi-tsv-changed.exp
10374 * gdb.trace/no-attach-trace.exp
10375 * gdb.trace/packetlen.exp
10376 * gdb.trace/passc-dyn.exp
10377 * gdb.trace/passcount.exp
10378 * gdb.trace/pending.exp
10379 * gdb.trace/pr16508.exp
10380 * gdb.trace/qtro.exp
10381 * gdb.trace/range-stepping.exp
10382 * gdb.trace/read-memory.exp
10383 * gdb.trace/report.exp
10384 * gdb.trace/save-trace.exp
10385 * gdb.trace/signal.exp
10386 * gdb.trace/stap-trace.exp
10387 * gdb.trace/status-stop.exp
10388 * gdb.trace/strace.exp
10389 * gdb.trace/tfile.exp
10390 * gdb.trace/tfind.exp
10391 * gdb.trace/trace-break.exp
10392 * gdb.trace/trace-condition.exp
10393 * gdb.trace/trace-enable-disable.exp
10394 * gdb.trace/trace-mt.exp
10395 * gdb.trace/tracecmd.exp
10396 * gdb.trace/tracefile-pseudo-reg.exp
10397 * gdb.trace/tspeed.exp
10398 * gdb.trace/tstatus.exp
10399 * gdb.trace/tsv.exp
10400 * gdb.trace/unavailable.exp
10401 * gdb.trace/while-dyn.exp
10402 * gdb.trace/while-stepping.exp
10403 * lib/gdb-guile.exp
10404 * lib/gdb.exp
10405 * lib/mi-support.exp
10406 * lib/pascal.exp
10407 * lib/perftest.exp
10408 * lib/prelink-support.exp
10409 * lib/selftest-support.exp
10410
ad02e4fe
SM
104112016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
10412
10413 * Makefile.in: Include disable-implicit-rules.mk.
10414
22347e55
AA
104152016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10416
10417 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
10418 non-byte-aligned bit fields.
10419
da5b30da
AA
104202016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10421
10422 PR gdb/12616
10423 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
10424 respects the DW_AT_data_bit_offset attribute.
10425
b593ecca
SM
104262016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
10427
10428 * gdb.base/default.exp: Fix output of "set language".
10429
3b165252
SM
104302016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
10431
10432 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
10433 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
10434 make.
10435 * configure.ac: Remove checks for the make program.
10436 * configure: Re-generate.
10437
1a2f3d7f
KB
104382016-11-16 Kevin Buettner <kevinb@redhat.com>
10439
10440 * gdb.python/py-recurse-unwind.c (main): Add loop.
10441 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
10442 to read_register() and gdb.parse_and_eval(). Make each code
10443 call a separate case that can be individually tested.
10444 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
10445 proc. Call cont_and_backtrace for each of the code paths that
10446 we want to test in the unwinder.
10447
b7f38fda
AA
104482016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
10449
10450 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
10451 the definition of struct S.
10452
1f8db343
CM
104532016-11-11 Catherine Moore <clm@codesourcery.com>
10454
10455 * gdb.base/dump.exp: Identify verilog format dump tests as such.
10456
fad0c9fb
PA
104572016-11-09 Pedro Alves <palves@redhat.com>
10458
10459 * gdb.base/commands.exp (runto_or_return): New procedure.
10460 (gdbvar_simple_if_test, gdbvar_simple_while_test)
10461 (gdbvar_complex_if_while_test, progvar_simple_if_test)
10462 (progvar_simple_while_test, progvar_complex_if_while_test)
10463 (if_while_breakpoint_command_test)
10464 (infrun_breakpoint_command_test, breakpoint_command_test)
10465 (user_defined_command_test, watchpoint_command_test)
10466 (test_command_prompt_position, redefine_hook_test)
10467 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
10468 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
10469 multi_line_input and multi_line. Remove gdb_expect and
10470 gdb_stop_suppressing_tests uses.
10471 * lib/gdb.exp (valnum_re): New global.
10472 (multi_line_input): New procedure.
10473
8354c62c
SM
104742016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
10475
10476 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
10477 Remove.
10478 (test_setup): Define with proc_with_prefix.
10479 (test_cli_inferior): Likewise.
10480 (test_cli_thread): Likewise.
10481 (test_cli_frame): Likewise.
10482 (test_cli_select_frame): Likewise.
10483 (test_cli_up_down): Likewise.
10484 (test_mi_thread_select): Likewise.
10485 (test_mi_stack_select_frame): Likewise.
10486 (test_cli_in_mi_inferior): Likewise.
10487 (test_cli_in_mi_thread): Likewise.
10488 (test_cli_in_mi_frame): Likewise.
10489 (top level): Do not use with_test_prefix_procname.
10490
64f367a2
PA
104912016-11-09 Pedro Alves <palves@redhat.com>
10492
10493 * gdb.base/commands.exp (gdbvar_simple_if_test)
10494 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
10495 (progvar_simple_if_test, progvar_simple_while_test)
10496 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
10497 (infrun_breakpoint_command_test, breakpoint_command_test)
10498 (user_defined_command_test, watchpoint_command_test)
10499 (test_command_prompt_position, deprecated_command_test)
10500 (bp_deleted_in_command, temporary_breakpoint_commands)
10501 (stray_arg0_test, source_file_with_indented_comment)
10502 (recursive_source_test, if_commands_test)
10503 (error_clears_commands_left, redefine_hook_test)
10504 (redefine_backtrace_test): Use proc_with_prefix.
10505 * lib/gdb.exp (proc_with_prefix): New proc.
10506
0bb65f1e
AA
105072016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10508
10509 * gdb.base/tui-layout.c: New file.
10510 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
10511 disassembly window contains very long lines.
10512
7353f247
TT
105132016-11-08 Tom Tromey <tom@tromey.com>
10514
10515 * gdb.python/py-value.exp (test_value_creation): Make "long" test
10516 depend on Python 2.
10517
30a7bb83
TT
105182016-11-08 Tom Tromey <tom@tromey.com>
10519
10520 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
10521 New method.
10522
cdf5a07c
MG
105232016-10-29 Manish Goregaokar <manish@mozilla.com>
10524
2806dc7e 10525 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 10526
51a789c3
MG
105272016-10-27 Manish Goregaokar <manish@mozilla.com>
10528
2806dc7e
PA
10529 * gdb.rust/simple.rs: Add test for univariant enums without
10530 discriminants and for encoded struct-like enums.
51a789c3 10531
f610ab6d
PA
105322016-10-28 Pedro Alves <palves@redhat.com>
10533
10534 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
10535 gdb_test_multiple, tighten regexps and match symtabs and line
10536 tables incrementally.
10537
b129b0ca
LM
105382016-10-28 Luis Machado <lgustavo@codesourcery.com>
10539
10540 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
10541 general.
10542
ecf45d2c
SL
105432016-10-25 Luis Machado <lgustavo@codesourcery.com>
10544
10545 * gdb.base/exec-invalid-sysroot.exp: New file.
10546
b8d38ee4
JK
105472016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10548
10549 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
10550
f90fd8c2
JK
105512016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10552
10553 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
10554
2d2476aa
MR
105552016-10-19 Maciej W. Rozycki <macro@imgtec.com>
10556
2806dc7e
PA
10557 * gdb.base/killed-outside.exp: Remove $options from a call to
10558 `prepare_for_testing'.
2d2476aa 10559
e42b25a0
SM
105602016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10561
10562 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10563 Change test message.
10564
3ccdb432
SM
105652016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10566
10567 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10568 Update comment.
10569
5bad3170
SM
105702016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10571
10572 * gdb.trace/mi-trace-save.exp: New file.
10573
5ad9dba7
YQ
105742016-10-13 Yao Qi <yao.qi@linaro.org>
10575
10576 * gdb.base/code_elim.exp (get_var_address): Remove.
10577 * gdb.base/relocate.exp: Likewise.
10578 * gdb.base/shreloc.exp: Likewise.
10579 * lib/gdb.exp (get_var_address): New.
10580
62df7e21
YQ
105812016-10-13 Yao Qi <yao.qi@linaro.org>
10582
10583 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
10584 floating point tests if $skip_float_test is false.
10585
4dac951e
LM
105862016-10-12 Luis Machado <lgustavo@codesourcery.com>
10587
10588 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
10589 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
10590 argc values.
10591 Add 1 to argc so we guarantee distinct initial/modified argc values.
10592
8f1a8fc4
JK
105932016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10594
10595 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
10596
16c85b5d
JK
105972016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10598
10599 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
10600 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
10601 * gdb.arch/vsx-regs.exp: Likewise.
10602
1d0e042a
YQ
106032016-10-07 Yao Qi <yao.qi@linaro.org>
10604
10605 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
10606
68dadef5
MM
106072016-10-07 Markus Metzger <markus.t.metzger@intel.com>
10608
10609 * gdb.python/python.exp: Test decode_line("*0").
10610
33fa2c6e
DE
106112016-10-06 Doug Evans <dje@google.com>
10612
10613 * gdb.python/py-value.exp (test_value_creation): Add test for large
10614 unsigned 64-bit value.
10615
9c37b5ae
TT
106162016-10-06 Tom Tromey <tom@tromey.com>
10617
10618 * gdb.compile/compile.exp: Change java tests to rust.
10619 * gdb.base/setshow.exp: Change java tests to rust.
10620 * gdb.base/default.exp: Remove java from language list.
10621 * README (Examples): Update language example.
10622 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
10623 test.
10624 * lib/gdb.exp (skip_java_tests): Remove.
10625 * lib/java.exp: Remove.
10626 * gdb.java: Remove.
10627
78b86327
MR
106282016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10629
10630 * gdb.arch/mips-fcr.exp: New test.
10631 * gdb.arch/mips-fcr.c: Source for the new test.
10632
7470adbb
MR
106332016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10634
10635 * gdb.base/solib-disc.exp: Use `standard_output_file'
10636 throughout.
10637
4a556533
PA
106382016-10-06 Pedro Alves <palves@redhat.com>
10639
10640 * gdb.base/jit-simple-dl.c: New file.
10641 * gdb.base/jit-simple-jit.c: New file, factored out from ...
10642 * gdb.base/jit-simple.c: ... this.
10643 * gdb.base/jit-simple.exp (jit_run): Delete.
10644 (build_jit): New proc.
10645 (jit_test_reread): Recompile either the main program or the shared
10646 library, depending on what is being tested. Skip changing address
10647 if caller wants to. Compare before/after addresses. If testing
10648 standalone, explicitly load the binary. Test "maint info
10649 breakpoints".
10650 (top level): Add "standalone vs shared lib" and "change address"
10651 vs "same address" axes.
10652
5a122fbc
PA
106532016-10-06 Pedro Alves <palves@redhat.com>
10654
10655 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
10656 call.
10657 (jit_run): Delete.
10658 (jit_test_reread): Use with_test_prefix. Reload the main binary
10659 explicitly. Compare the before/after addresses of the JIT
10660 descriptor.
10661
ee8da4b8
DE
106622016-08-15 Doug Evans <dje@google.com>
10663
10664 * gdb.xml/extra-regs.xml: Update, end field now required, default type
10665 for single bitfields is bool.
10666 * gdb.xml/tdesc-regs.exp: Ditto.
10667
f389f6fe
JK
106682016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10669
10670 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
10671
fdebf1a4
YQ
106722016-10-05 Yao Qi <yao.qi@linaro.org>
10673
10674 * lib/gdb.exp (support_complex_tests): Return zero if
10675 gdb_skip_float_test return true.
10676
9c36d954 106772016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 10678 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
10679
10680 PR gdb/20487
10681 * gdb.mi/user-selected-context-sync.exp: New file.
10682 * gdb.mi/user-selected-context-sync.c: New file.
10683
4034d0ff 106842016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 10685 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
10686
10687 PR gdb/20487
10688 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
10689 =thread-select-event check.
10690
a4297203
PB
106912016-09-29 Peter Bergner <bergner@vnet.ibm.com>
10692
10693 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
10694 the compulsory L operand changes.
10695 * gdb.arch/powerpc-power.s: Likewise.
10696
bb805577
JK
106972016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10698
10699 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
10700 * gdb.base/jit-attach-pie.c: New file.
10701 * gdb.base/jit-attach-pie.exp: New file.
10702
6d61dee5
PA
107032016-09-28 Pedro Alves <palves@redhat.com>
10704
10705 * gdb.base/infcall-input.c: New file.
10706 * gdb.base/infcall-input.exp: New file.
10707
f73842fc
YQ
107082016-09-22 Yao Qi <yao.qi@linaro.org>
10709
10710 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
10711 (gdb_exit): Rename it to ...
10712 (gdbserver_gdb_exit): ... Close GDBserver.
10713 (gdb_exit): New proc, call gdbserver_gdb_exit.
10714 (mi_gdb_exit): Likewise.
10715
90681dab
YQ
107162016-09-22 Yao Qi <yao.qi@linaro.org>
10717
10718 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
10719 path.
10720 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
10721 Remove duplication.
10722
9c211fd8
YQ
107232016-09-22 Yao Qi <yao.qi@linaro.org>
10724
10725 * lib/gdbserver-support.exp: Check the existence of
10726 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
10727
ad0a504f
AK
107282016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
10729
10730 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
10731
36cf1806
TT
107322016-09-21 Tom Tromey <tom@tromey.com>
10733
10734 PR gdb/20604:
10735 * gdb.base/quit.exp: New file.
10736
74172ecf
SM
107372016-09-21 Simon Marchi <simon.marchi@ericsson.com>
10738
10739 * .gitignore: New file.
10740
3d0ec882
MR
107412016-09-21 Maciej W. Rozycki <macro@imgtec.com>
10742
10743 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
10744 throughout.
10745
8193adea
AA
107462016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10747
10748 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
10749
d41a5c09
JK
107502016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10751
10752 * gdb.cp/casts.cc (decltype): Move it ...
10753 (main): ... with its call to ...
10754 * gdb.cp/casts03.cc: ... a new file.
10755 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
10756
d2dfe700
JK
107572016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10758
10759 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
10760
e2a92b16
PB
107612016-09-15 Peter Bergner <bergner@vnet.ibm.com>
10762
10763 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
10764 and sync up the test with tests in gas/testsuite/gas/ppc.
10765 * gdb.arch/powerpc-power.exp: Likewise.
10766
49b4de64
JK
107672016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10768
10769 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
10770
2c29df25
SDJ
107712016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
10772 Jan Kratochvil <jan.kratochvil@redhat.com>
10773
10774 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
10775 make m1's definition to be different from m2's. Use 'dummy' as an
10776 argument for probe 'two'.
10777
cc3c2846
JB
107782016-09-10 Jon Beniston <jon@beniston.com>
10779
10780 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
10781 for sim target.
10782
e1b2624a
AA
107832016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10784
10785 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
10786 variable declaration.
10787 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
10788 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
10789 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
10790 received HWCAP as its argument.
10791
4295e285
PA
107922016-09-06 Pedro Alves <palves@redhat.com>
10793
10794 * gdb.base/new-ui-pending-input.c: New file.
10795 * gdb.base/new-ui-pending-input.exp: New file.
10796 * gdb.exp (clear_gdb_spawn_id): New procedure.
10797 (with_spawn_id): Check whether gdb_spawn_id exists before
10798 referencing it. If gdb_spawn_id didn't exist on entry, clear it
10799 on exit.
10800
00d5215e
UW
108012016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10802
10803 * gdb.base/float128.c: New file.
10804 * gdb.base/float128.exp: Likewise.
10805 * gdb.base/floatn.c: Likewise.
10806 * gdb.base/floatn.exp: Likewise.
10807
a9ff5f12
UW
108082016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10809
10810 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
10811
f245535c
PA
108122016-09-05 Pedro Alves <palves@redhat.com>
10813
10814 PR backtrace/19927
10815 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
10816 unwinders are immediately called as side effect of "source" or
10817 "disable unwinder" commands.
10818 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
10819
ae9cf263
YQ
108202016-09-02 Yao Qi <yao.qi@linaro.org>
10821
10822 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
10823 is true and $type is "float" or "double".
10824
27aba047
YQ
108252016-09-02 Yao Qi <yao.qi@linaro.org>
10826
10827 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
10828 true.
10829 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
10830 * gdb.base/call-rt-st.exp: Likewise.
10831 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
10832 return value instead of gdb,skip_float_test.
10833 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
10834 (do_function_calls): Use its return value instead of
10835 gdb,skip_float_test.
10836 * gdb.base/finish.exp: Likewise.
10837 * gdb.base/funcargs.exp: Likewise.
10838 * gdb.base/return.exp: Likewise.
10839 * gdb.base/return2.exp: Likewise.
10840 * gdb.base/varargs.exp: Likewise.
10841 * lib/gdb.exp (gdb_skip_float_test): Change it to
10842 gdb_caching_proc. Detect the broken ptrace on arm-linux.
10843
5af962df
AA
108442016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10845
10846 * gdb.multi/tids.exp: Test "thread apply all".
10847
7fac6910
JK
108482016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10849
10850 * gdb.base/default.exp (tty): Remove.
10851
bb1fe4ac
KB
108522016-08-24 Kevin Buettner <kevinb@redhat.com>
10853
2806dc7e
PA
10854 * gdb.python/py-recurse-unwind.c: New file.
10855 * gdb.python/py-recurse-unwind.py: New file.
10856 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 10857
0a1ddfa6
SM
108582016-08-24 Simon Marchi <simon.marchi@ericsson.com>
10859
10860 * gdb.base/set-inferior-tty.exp: New file.
10861 * gdb.base/set-inferior-tty.c: New file.
10862
d9de1fe3
PA
108632016-08-23 Pedro Alves <palves@redhat.com>
10864
10865 PR gdb/20494
10866 * gdb.base/new-ui-echo.c: New file.
10867 * gdb.base/new-ui-echo.exp: New file.
10868
e9d9abd7
YQ
108692016-08-23 Yao Qi <yao.qi@linaro.org>
10870
10871 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
10872 gdbserver_spawn.
10873 * gdb.server/connect-without-multi-process.exp (do_test):
10874 Likewise.
10875
3589529e
YQ
108762016-08-23 Yao Qi <yao.qi@linaro.org>
10877
10878 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
10879 standalone_txt. Delete gdb_txt and standalone_txt on host
10880 and target. Spawn the binary on target. Copy files from
10881 target to host.
10882
6bb90213
PA
108832016-08-22 Pedro Alves <palves@redhat.com>
10884
10885 PR gdb/20505
10886 * gdb.base/vdso-warning.exp: Test core dumps too. Use
10887 with_test_prefix. Factor out bits to ...
10888 (test_no_vdso): ... this new procedure.
10889
20c2c024
CL
108902016-08-19 Carl Love <cel@us.ibm.com>
10891
10892 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10893 maintaining separate logic for constructing the output path.
10894 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10895 * gdb.arch/ppc-dfp.exp: Likewise.
10896 * gdb.arch/ppc-fp.exp: Likewise.
10897 * gdb.arch/vsx-regs.exp: Likewise.
10898 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10899 binprefix for generating the additional binary files.
10900
0646e07d
PA
109012016-08-19 Pedro Alves <palves@redhat.com>
10902
10903 * gdb.trace/mi-trace-frame-collected.exp
10904 (test_trace_frame_collected): On x32, expect two registers.
10905
46da9242
CL
109062016-08-18 Carl Love <cel@us.ibm.com>
10907
10908 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10909 and sync up the test with tests in gas/testsuite/gas/ppc.
10910 * gdb.arch/powerpc-power.exp: Likewise.
10911
eb2332d7
SM
109122016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10913
10914 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10915 expected error message.
10916
63c61e04
SM
109172016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10918
10919 * gdb.multi/remove-inferiors.exp: New file.
10920 * gdb.multi/remove-inferiors.c: New file.
10921
7b17065f
YQ
109222016-08-12 Yao Qi <yao.qi@linaro.org>
10923
10924 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10925 argument list.
10926
01d3dedf
PA
109272016-08-10 Pedro Alves <palves@redhat.com>
10928
10929 PR gdb/19187
10930 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10931 setup_kfails.
10932
3eb7562a
PA
109332016-08-09 Pedro Alves <palves@redhat.com>
10934 Simon Marchi <simon.marchi@ericsson.com>
10935
10936 PR gdb/20418
10937 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10938 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10939
80614914
PA
109402016-08-09 Pedro Alves <palves@redhat.com>
10941
10942 PR mi/20431
10943 * gdb.mi/mi-cmd-error.exp: New file.
10944
f348d89a
PA
109452016-08-09 Pedro Alves <palves@redhat.com>
10946
10947 PR gdb/18653
10948 * gdb.base/signals-state-child.c: New file.
10949 * gdb.base/signals-state-child.exp: New file.
10950 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10951
e5ca03b4
PA
109522016-08-09 Pedro Alves <palves@redhat.com>
10953
10954 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10955
282a0691
TT
109562016-08-03 Tom Tromey <tom@tromey.com>
10957
10958 PR python/18565:
10959 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10960
41bfcd63
YQ
109612016-08-01 Yao Qi <yao.qi@linaro.org>
10962
10963 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10964 variable mode to "multi-process" if $multi_process is 1, otherwise
10965 set it to "single-process".
10966
e3465b24
YQ
109672016-08-01 Yao Qi <yao.qi@linaro.org>
10968
10969 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10970 * gdb.cp/cpexprs.exp: Likewise.
10971 * gdb.cp/m-static.exp: Likewise.
10972
0b31a4bc
TT
109732016-07-26 Tom Tromey <tom@tromey.com>
10974
10975 PR python/20190:
10976 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10977 test.
10978
e0461dbb
MM
109792016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10980
10981 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10982 selecting assembly source files.
10983 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10984 assembly source files.
10985 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10986 assembly source files.
10987 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10988 selecting assembly source files.
10989
8194e927
SM
109902016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10991
10992 * gdb.base/new-ui.exp (do_test_invalid_args): New
10993 procedure.
10994
c0272db5
TW
109952016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10996
10997 * gdb.btrace/reconnect.c: New file.
10998 * gdb.btrace/reconnect.exp: New file.
10999
e3487908
GKB
110002016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
11001
11002 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
11003 to test_catch_syscall_group.
11004 (test_catch_syscall_group): New.
11005
12df5c00
TT
110062016-07-21 Tom Tromey <tom@tromey.com>
11007
11008 * gdb.rust/simple.rs (main): Use empty struct expression.
11009 * gdb.rust/simple.exp: Add tests for empty struct expression.
11010
bae62ee2
YQ
110112016-07-21 Yao Qi <yao.qi@linaro.org>
11012
11013 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
11014 if gdb_skip_xml_test is true on some targets.
11015
b1b53fb3
YQ
110162016-07-21 Yao Qi <yao.qi@linaro.org>
11017
11018 * gdb.server/solib-list.exp: Unset last_loaded_file.
11019
027d97f8
JK
110202016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11021
11022 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
11023 "step into captured_main (args)".
11024
7674d381
JK
110252016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11026
11027 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
11028
72b5d099
JK
110292016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11030
11031 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
11032
1f960ced
PA
110332016-07-19 Pedro Alves <palves@redhat.com>
11034
11035 * gdb.opt/inline-break.exp: Remove optimize=-O2.
11036 * gdb.opt/inline-bt.exp: Likewise.
11037 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
11038 additional_flags=-Winline.
11039 * gdb.opt/inline-locals.exp: Likewise.
11040 * gdb.opt/inline-markers.c (ATTR): Define.
11041 (inlined_fn): Use it.
11042
f25827c1
YQ
110432016-07-19 Yao Qi <yao.qi@linaro.org>
11044
11045 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
11046 (test_with_self): Remove some code. Remove argument executable.
11047 (top-level): Use do_self_tests.
11048
37539ebe
DB
110492016-07-15 Zachary Welch <zwelch@codesourcery.com>
11050 Don Breazeal <donb@codesourcery.com>
11051
11052 * gdb.base/maint.exp: Escape paths used in regular expressions.
11053 * gdb.stabs/weird.exp: Likewise.
11054
dac790e1
TT
110552016-07-13 Tom Tromey <tom@tromey.com>
11056
11057 PR python/15620, PR python/18620:
11058 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
11059 (test_bkpt_events): New procs.
11060
93daf339
TT
110612016-07-13 Tom Tromey <tom@tromey.com>
11062
11063 PR python/17698:
11064 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
11065 test.
11066 (test_watchpoints): Likewise.
11067 (test_bkpt_pending): New proc.
11068
6571a381
TT
110692016-07-13 Tom Tromey <tom@tromey.com>
11070
11071 PR cli/18053:
11072 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
11073 completion test.
11074
e8732474
JK
110752016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11076
11077 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
11078 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
11079 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
11080 f_label.
11081 (g): Rename g_end_lbl to g_label.
11082 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
11083 low_pc and high_pc.
11084 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
11085
e0f3fd7c
TT
110862016-07-12 Tom Tromey <tom@tromey.com>
11087
11088 PR python/19293:
11089 * gdb.python/py-unwind-maint.exp: Update tests.
11090
3cfe46b6
YQ
110912016-07-12 Yao Qi <yao.qi@linaro.org>
11092
11093 * lib/selftest-support.exp (selftest_setup): Match the output
11094 when captured_main is inlined.
11095
4f19a0e6
WT
110962016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11097
11098 * gdb.fortran/derived-types.exp (result_line, result_line_2):
11099 New variables.
11100 (print this%a, print this%b, print this): New tests.
11101 * gdb.fortran/derived-types.f90 (this): New object and
11102 initialization.
11103
986cf455
SM
111042016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11105
11106 * gdb.ada/arraydim.exp: Remove extra directory level in build
11107 directory.
11108
f0464b23
SM
111092016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11110
11111 * lib/ada.exp: Remove extra directory level in build directory.
11112 * gdb.ada/cond_lang.exp: Likewise.
11113 * gdb.ada/exec_changed.exp: Likewise.
11114 * gdb.ada/lang_switch.exp: Likewise.
11115
42d94011
MG
111162016-07-06 Manish Goregaokar <manish@mozilla.com>
11117
2806dc7e
PA
11118 * simple.rs: Add test for raw pointer subscripting.
11119 * simple.exp: Add test expectations.
42d94011 11120
647c264c
YQ
111212016-07-05 Yao Qi <yao.qi@linaro.org>
11122
11123 * gdb.mi/mi-reverse.exp: Match =record-started output.
11124
20aa2c60
PA
111252016-07-01 Pedro Alves <palves@redhat.com>
11126
11127 * gdb.base/jit-reader.exp (info_registers_current_frame): New
11128 procedure.
11129 (jit_reader_test): Test the jit reader's unwinder.
11130 * gdb.base/jithost.c (jit_function_00_code): New global.
11131 (main): Use memcpy to fill in the mmapped code, instead of poking
11132 bytes manually here.
11133 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
11134 value.
11135 (read_debug_info): Save the function's range.
11136 (read_sp): New function.
11137 (unwind_frame): Use it. Also unwind RBP.
11138 (get_frame_id): Use read_sp.
11139 (gdb_init_reader): Use calloc instead of malloc.
11140 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
11141 parameter. Use gdb_test_multiple.
11142
ced2dffb
PA
111432016-07-01 Pedro Alves <palves@redhat.com>
11144 Antoine Tremblay <antoine.tremblay@ericsson.com>
11145
11146 * gdb.threads/process-dies-while-detaching.c: New file.
11147 * gdb.threads/process-dies-while-detaching.exp: New file.
11148
63000888
PA
111492016-07-01 Pedro Alves <palves@redhat.com>
11150
11151 * gdb.multi/watchpoint-multi-exit.c: New file.
11152 * gdb.multi/watchpoint-multi-exit.exp: New file.
11153
038d4868
PA
111542016-06-30 Pedro Alves <palves@redhat.com>
11155
11156 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
11157 unset inferior_spawn_id.
11158
994e9c83
PA
111592016-06-30 Pedro Alves <palves@redhat.com>
11160
11161 * lib/mi-support.exp (default_mi_gdb_start): Declare global
11162 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
11163
e5653468
YQ
111642016-06-29 Yao Qi <yao.qi@linaro.org>
11165
11166 * gdb.base/return.c: Add copyright header.
11167
803b47e5
TT
111682016-06-29 Tom Tromey <tom@tromey.com>
11169
11170 PR python/20129:
11171 * gdb.python/py-framefilter.exp: Add tests for setting priority
11172 and disabling of non-existent frame filter.
11173
28244707
YQ
111742016-06-29 Yao Qi <yao.qi@linaro.org>
11175
11176 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
11177 0x0f07ff.
11178
a31d2f06
YQ
111792016-06-28 Yao Qi <yao.qi@linaro.org>
11180
11181 * gdb.base/catch-syscall.exp: Remove check on isnative and target
11182 triplets. Start gdb, execute catch syscall, and continue. Check
11183 gdb's output to determine catch syscall is supported.
11184
921d8f54
MG
111852016-06-27 Manish Goregaokar <manish@mozilla.com>
11186
25d49b86
PA
11187 * gdb.rust/simple.rs: Add test for returning unit in a function.
11188 * gdb.rust/simple.exp: Add expectation for functions returning
11189 unit.
921d8f54 11190
f4952523
PMR
111912016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
11192
11193 * gdb.python/py-breakpoint-create-fail.c,
11194 gdb.python/py-breakpoint-create-fail.exp,
11195 gdb.python/py-breakpoint-create-fail.py: New testcase.
11196
fccb08f8
MG
111972016-06-25 Manish Goregaokar <manish@mozilla.com>
11198
11199 PR gdb/20239
11200 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
11201 * gdb.rust/simple.exp: Add test expectations for new NonZero
11202 tests.
fccb08f8 11203
6b850546
DT
112042016-06-24 David Taylor <dtaylor@emc.com>
11205
11206 * gdb.base/offsets.exp: New file.
11207 * gdb.base/offsets.c: New file.
11208
17621150
TT
112092016-06-23 Tom Tromey <tom@tromey.com>
11210
11211 PR gdb/16483:
11212 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
11213 before any filters are loaded.
11214
04d59df6
WT
112152016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
11216
11217 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
11218 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
11219 structs.
11220 * gdb.fortran/derived-type-function.exp: New file.
11221 * gdb.fortran/derived-type-function.f90: New file.
11222
11223
ac69f786
PA
112242016-06-21 Pedro Alves <palves@redhat.com>
11225
11226 * gdb.base/new-ui.exp: New file.
11227 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
11228 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
11229 (with_spawn_id): New procedure.
11230
49940788
PA
112312016-06-21 Pedro Alves <palves@redhat.com>
11232
11233 * gdb.mi/mi-exec-run.exp: New file.
11234
ef274d26
PA
112352016-06-21 Pedro Alves <palves@redhat.com>
11236
11237 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
11238 breakpoint command's output on the main UI.
11239 (test_break): New procedure, factored out from calls in the top
11240 level.
11241 (top level): Use foreach_with_prefix to test MI as main UI and as
11242 separate UI.
11243
468afe6c
PA
112442016-06-21 Pedro Alves <palves@redhat.com>
11245
11246 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
11247 (test_awatch_creation_and_listing)
11248 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
11249 Remove 'type' parameter.
11250 (test_watchpoint_all): New parameter mi_mode. Remove
11251 with_test_prefix.
11252 (top level): Use foreach_with_prefix, and add main/separate UI MI
11253 testing axis.
11254
51f77c37
PA
112552016-06-21 Pedro Alves <palves@redhat.com>
11256
11257 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
11258 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
11259 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
11260 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
11261 (gdb_main_spawn_id, mi_spawn_id): Declare and
11262 comment.
11263 (mi_create_inferior_pty): New procedure,
11264 factored out from default_mi_gdb_start.
11265 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
11266 procedures.
11267 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
11268 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
11269 Use mi_create_inferior_pty.
11270 (mi_gdb_start): Use eval to pass down args list.
11271
8980e177
PA
112722016-06-21 Pedro Alves <palves@redhat.com>
11273
11274 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
11275 * gdb.opt/inline-cmds.exp: Add MI tests.
11276
f38d3ad1
PA
112772016-06-21 Pedro Alves <palves@redhat.com>
11278
11279 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
11280
45db7c09
PA
112812016-06-21 Pedro Alves <palves@redhat.com>
11282
11283 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
11284 (top level): Use it instead of mi_execute_to.
11285
5a069ab3
PA
112862016-06-21 Pedro Alves <palves@redhat.com>
11287
11288 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
11289 (cont_handler_str): New.
11290 (signal_stop_handler): Set stop_handler_str instead of printing to
11291 stdout.
11292 (continue_handler): Set cont_handler_str instead of printing to
11293 stdout.
11294 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
11295 mi_send_resuming_command. Print stop_handler_str and
11296 cont_handler_str instead of expecting the python events print
11297 directly.
11298
2838cc1d
SD
112992016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
11300
11301 * gdb.base/jit-reader.exp: New file.
11302 * gdb.base/jithost.c: New file.
11303 * gdb.base/jithost.h: New file.
11304 * gdb.base/jitreader.c : New file.
11305 * gdb.base/jit-protocol.h: New file.
11306
21a77091
YQ
113072016-06-17 Yao Qi <yao.qi@linaro.org>
11308
11309 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
11310 parameters follow_fork and detach_on_fork. Set follow-fork-mode
11311 and detach-on-fork. Adjust tests.
11312 (top level): Invoke break_cond_on_syscall with combinations of
11313 syscall, follow-fork-mode and detach-on-fork.
11314
f50bf8e5
YQ
113152016-06-17 Yao Qi <yao.qi@linaro.org>
11316
11317 * gdb.base/step-over-exit.c: New.
11318 * gdb.base/step-over-exit.exp: New.
11319
a28d8e50
YTL
113202016-06-17 Yan-Ting Lin <currygt52@gmail.com>
11321
11322 * gdb.base/float.exp: Add target check for nds32*-*-*.
11323 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
11324
cad8e26d
AB
113252016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
11326
11327 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
11328 for unsupported target features.
11329 * gdb.base/call-rt-st.exp: Likewise.
11330 * gdb.base/call-sc.exp: Likewise.
11331 * gdb.base/call-signal-resume.exp: Likewise.
11332 * gdb.base/call-strs.exp: Likewise.
11333 * gdb.base/callexit.exp: Likewise.
11334 * gdb.base/callfuncs.exp: Likewise.
11335 * gdb.base/nodebug.exp: Likewise.
11336 * gdb.base/printcmds.exp: Likewise.
11337 * gdb.base/ptype.exp: Likewise.
11338 * gdb.base/structs.exp: Likewise.
11339 * gdb.base/unwindonsignal.exp: Likewise.
11340 * gdb.cp/gdb2495.exp: Likewise.
11341 * gdb.cp/templates.exp: Likewise.
11342 * gdb.cp/virtfunc.exp: Likewise.
11343 * gdb.threads/hand-call-in-threads.exp: Likewise.
11344 * gdb.threads/interrupted-hand-call.exp: Likewise.
11345 * gdb.threads/thread-unwindonsignal.exp: Likewise.
11346
347dc102
TT
113472016-06-10 Tom Tromey <tom@tromey.com>
11348
11349 PR rust/20110:
11350 * gdb.rust/expr.exp: Add test for integer constant larger than
11351 i32.
11352
5e13cf25
BH
113532016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
11354
11355 * gdb.fortran/nested-funcs.exp: New.
11356 * gdb.fortran/nested-funcs.f90: New.
11357
bb556f1f
TK
113582016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
11359
11360 * gdb.base/examine-backward.c: New file.
11361 * gdb.base/examine-backward.exp: New file.
11362
38b022b4
SM
113632016-06-06 Simon Marchi <simon.marchi@ericsson.com>
11364
11365 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
11366 matching.
11367
1b40ec05
TT
113682016-06-02 Tom Tromey <tom@tromey.com>
11369
11370 PR python/18984:
11371 * gdb.python/py-shared.exp: Add solib_name test.
11372
193bd378
SM
113732016-06-02 Simon Marchi <simon.marchi@ericsson.com>
11374
11375 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
11376
3326303b
MG
113772016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
11378
11379 PR c++/19893
11380 * gdb.dwarf2/implref.exp: Rename to...
11381 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
11382 * gdb.dwarf2/implref-array.c: New file.
11383 * gdb.dwarf2/implref-array.exp: Likewise.
11384 * gdb.dwarf2/implref-global.c: Likewise.
11385 * gdb.dwarf2/implref-global.exp: Likewise.
11386 * gdb.dwarf2/implref-struct.c: Likewise.
11387 * gdb.dwarf2/implref-struct.exp: Likewise.
11388
825c8ef2
AT
113892016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11390
11391 * gdb.trace/trace-condition.exp: Add 64bit tests.
11392
2320162a
AT
113932016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11394
11395 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
11396 bits types.
11397 (main): Adapt to 8 to 64 bits types.
11398 * gdb.trace/trace-condition.exp: Add new tests.
11399
a7818233
AT
114002016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11401
11402 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
11403
0d336466
AT
114042016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11405
11406 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
11407 Move condition tests...
11408 * gdb.trace/trace-condition.exp: Here.
11409
7faeb45a
AT
114102016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11411
11412 * gdb.trace/trace-condition.exp: Add counter-case tests.
11413
e385593e
JK
114142016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11415
11416 PR c++/15231
11417 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
11418 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
11419
744608cc
PA
114202016-05-27 Pedro Alves <palves@redhat.com>
11421
11422 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11423 New procedure.
11424 (top level): Call it, and bail out of DejaGnu is known to be bad.
11425
ac775bf4
AB
114262016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
11427
11428 * gdb.base/whatis.c: Extend the test case.
11429 * gdb.base/whatis.exp: Add additional tests.
11430
2bbad2ea
BH
114312016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11432
11433* gdb.fortran/type.f90: Add pointer variable.
11434* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
11435
8b70175d
BH
114362016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11437
11438 * gdb.fortran/vla-type.exp: Fix testcase name.
11439
86d8a848
BH
114402016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11441
11442 * gdb.fortran/vla-type.exp: Access elements in nested structs.
11443
e188eb36
BH
114442016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11445
11446 * gdb.fortran/type.f90: Add nested structures.
11447 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
11448 * gdb.fortran/derived-type.exp: Adapt expected output.
11449 * gdb.fortran/vla-type.exp: Adapt expected output.
11450
9b2db1fd
BH
114512016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11452
11453 * gdb.fortran/whatis_type.exp: Adapt expected output.
11454
72b17055
BH
114552016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11456
11457 * gdb.fortran/print_type.exp: Fix expected output.
11458 * gdb.fortran/whatis_type.exp: Fix expected output.
11459
3cd81d8d
BH
114602016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11461
11462 * gdb.fortran/whatis_type.exp: Use multi_line.
11463
ddae9462
TT
114642016-05-24 Tom Tromey <tom@tromey.com>
11465
11466 PR python/17386:
11467 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
11468 use value as an index.
11469
1957f6b8
TT
114702016-05-23 Tom Tromey <tom@tromey.com>
11471
11472 PR python/17981:
11473 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
11474 no-breakpoint case.
11475
026a9174
PA
114762016-05-24 Pedro Alves <palves@redhat.com>
11477
11478 PR gdb/19828
11479 * gdb.threads/clone-attach-detach.c: New file.
11480 * gdb.threads/clone-attach-detach.exp: New file.
11481
e70a7231
FR
114822016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
11483
11484 * gdb.base/annota-input-while-running.exp: Fix syntax error.
11485
0f6ed0e0
TT
114862016-05-23 Tom Tromey <tom@tromey.com>
11487
11488 PR python/19438, PR python/18393:
11489 * gdb.python/py-progspace.exp: Add "dir" test.
11490 * gdb.python/py-objfile.exp: Add "dir" test.
11491
ffd19d61
YQ
114922016-05-23 Yao Qi <yao.qi@linaro.org>
11493
11494 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
11495 * gdb.arch/thumb2-it.exp: Likewise.
11496
9e8f9b05
SM
114972016-05-18 Simon Marchi <simon.marchi@ericsson.com>
11498
11499 * gdb.mi/mi-threads-interrupt.c: New file.
11500 * gdb.mi/mi-threads-interrupt.exp: New file.
11501
61c6156d
SM
115022016-05-17 Simon Marchi <simon.marchi@ericsson.com>
11503
11504 PR gdb/18077
11505 * gdb.mi/mi-async-run.exp: New file.
11506 * gdb.mi/mi-async-run.c: New file.
11507
67218854
TT
115082016-05-17 Tom Tromey <tom@tromey.com>
11509 Manish Goregaokar <manishsmail@gmail.com>
11510
11511 * lib/rust-support.exp: New file.
11512 * lib/gdb.exp (skip_rust_tests): New proc.
11513 (build_executable_from_specs): Handle rust.
11514 * lib/future.exp (gdb_find_rustc): New proc.
11515 (gdb_default_target_compile): Handle rust.
11516 * gdb.rust/expr.exp: New file.
11517 * gdb.rust/generics.exp: New file.
11518 * gdb.rust/generics.rs: New file.
11519 * gdb.rust/methods.exp: New file.
11520 * gdb.rust/methods.rs: New file.
11521 * gdb.rust/modules.exp: New file.
11522 * gdb.rust/modules.rs: New file.
11523 * gdb.rust/simple.exp: New file.
11524 * gdb.rust/simple.rs: New file.
11525
c44af4eb
TT
115262016-05-17 Tom Tromey <tom@tromey.com>
11527
11528 * gdb.base/default.exp (set language): Add rust.
11529
dcd1f979
TT
115302016-05-17 Tom Tromey <tom@tromey.com>
11531
11532 * gdb.gdb/unittest.exp: New file.
11533
155b7f57
YQ
115342016-05-16 Yao Qi <yao.qi@linaro.org>
11535
11536 * gdb.base/batch-preserve-term-settings.exp: Remove variable
11537 shell_prompt. Update shell_prompt_re.
11538
8ddd5a6c
DE
115392016-05-12 Doug Evans <dje@google.com>
11540
11541 PR symtab/19999
11542 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
11543 $options when building executable.
11544 * gdb.dwarf2/fission-loclists-pie.S: New file.
11545 * gdb.dwarf2/fission-loclists-pie.exp: New file.
11546
02e370d9
SM
115472016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11548
11549 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
11550 of [is_remote target],
11551
8929ad8b
SM
115522016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11553
11554 * lib/gdb.exp (use_gdb_stub): New procedure.
11555
6c447423
DE
115562016-05-03 Yunlian Jiang <yunlian@google.com>
11557 Doug Evans <dje@google.com>
11558
11559 PR symtab/19914
11560 * gdb.dwarf2/dwp-sepdebug.c: New file.
11561 * gdb.dwarf2/dwp-sepdebug.exp: New file.
11562
444e826c
SM
115632016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11564
11565 * gdb.base/detach.exp: Remove is_remote check.
11566
740feeaa
SM
115672016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11568
11569 * gdb.base/annota-input-while-running.exp: Don't check for
11570 [is_remote target]. Enable annotations after running to main.
11571 Remove unused "set test..." line.
11572
9080ac9d
SM
115732016-04-28 Simon Marchi <simon.marchi@ericsson.com>
11574
11575 * gdb.trace/trace-enable-disable.exp: New file.
11576 * gdb.trace/trace-enable-disable.c: New file.
11577
952ebca5
SM
115782016-04-28 Simon Marchi <simon.marchi@ericsson.com>
11579
11580 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
11581 use it in info sharedlibrary test.
11582 * gdb.trace/ftrace-lock.exp: Likewise.
11583 * gdb.trace/ftrace.exp: Likewise.
11584 * gdb.trace/range-stepping.exp: Likewise.
11585 * gdb.trace/trace-break.exp: Likewise.
11586 * gdb.trace/trace-condition.exp: Likewise.
11587 * gdb.trace/trace-mt.exp: Likewise.
11588
d9019901
SM
115892016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11590
11591 * lib/gdb.exp (gdb_load_shlibs): Rename to...
11592 (gdb_load_shlib): ... this.
11593 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
11594 gdb_load_shlib.
11595 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
11596 * gdb.base/ctxobj.exp: Likewise.
11597 * gdb.base/dprintf-pending.exp: Likewise.
11598 * gdb.base/dso2dso.exp: Likewise.
11599 * gdb.base/fixsection.exp: Likewise.
11600 * gdb.base/gcore-relro.exp: Likewise.
11601 * gdb.base/gdb1555.exp: Likewise.
11602 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11603 * gdb.base/gnu-ifunc.exp: Likewise.
11604 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
11605 * gdb.base/jit-so.exp (one_jit_test): Likewise.
11606 * gdb.base/pending.exp: Likewise.
11607 * gdb.base/print-file-var.exp: Likewise.
11608 * gdb.base/print-symbol-loading.exp: Likewise.
11609 * gdb.base/shlib-call.exp: Likewise.
11610 * gdb.base/shreloc.exp: Likewise.
11611 * gdb.base/so-impl-ld.exp: Likewise.
11612 * gdb.base/solib-disc.exp: Likewise.
11613 * gdb.base/solib-nodir.exp: Likewise.
11614 * gdb.base/solib-overlap.exp: Likewise.
11615 * gdb.base/solib-symbol.exp: Likewise.
11616 * gdb.base/solib-weak.exp (do_test): Likewise.
11617 * gdb.base/sym-file.exp: Likewise.
11618 * gdb.base/symtab-search-order.exp: Likewise.
11619 * gdb.base/type-opaque.exp: Likewise.
11620 * gdb.base/unload.exp: Likewise.
11621 * gdb.base/watchpoint-solib.exp: Likewise.
11622 * gdb.compile/compile.exp: Likewise.
11623 * gdb.cp/gdb2384.exp: Likewise.
11624 * gdb.cp/infcall-dlopen.exp: Likewise.
11625 * gdb.cp/re-set-overloaded.exp: Likewise.
11626 * gdb.fortran/library-module.exp: Likewise.
11627 * gdb.opt/solib-intra-step.exp: Likewise.
11628 * gdb.python/py-finish-breakpoint.exp: Likewise.
11629 * gdb.python/py-shared.exp: Likewise.
11630 * gdb.reverse/solib-precsave.exp: Likewise.
11631 * gdb.reverse/solib-reverse.exp: Likewise.
11632 * gdb.server/solib-list.exp: Likewise.
11633 * gdb.threads/dlopen-libpthread.exp: Likewise.
11634 * gdb.threads/tls-shared.exp: Likewise.
11635 * gdb.threads/tls-so_extern.exp: Likewise.
11636 * gdb.trace/change-loc.exp: Likewise.
11637 * gdb.trace/ftrace-lock.exp: Likewise.
11638 * gdb.trace/ftrace.exp: Likewise.
11639 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
11640 * gdb.trace/pending.exp: Likewise.
11641 * gdb.trace/range-stepping.exp: Likewise.
11642 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
11643 (strace_info_marker): Likewise.
11644 (strace_probe_marker): Likewise.
11645 (strace_trace_on_same_addr): Likewise.
11646 (strace_trace_on_diff_addr): Likewise.
11647 * gdb.trace/trace-break.exp: Likewise.
11648 * gdb.trace/trace-condition.exp: Likewise.
11649 * gdb.trace/trace-mt.exp: Likewise.
11650
fca4cfd9
SM
116512016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11652
11653 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
11654 result of gdb_remote_download.
11655 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
11656 * gdb.base/dso2dso.exp: Likewise.
11657 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11658 * gdb.base/print-file-var.exp: Likewise.
11659 * gdb.base/shlib-call.exp: Likewise.
11660 * gdb.base/shreloc.exp: Likewise.
11661 * gdb.base/solib-overlap.exp: Likewise.
11662 * gdb.base/solib-weak.exp (do_test): Likewise.
11663 * gdb.base/unload.exp: Likewise.
11664
11cf4ffb
YQ
116652016-04-27 Yao Qi <yao.qi@linaro.org>
11666
11667 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
11668 exists.
11669
3e2e34f8
KB
116702016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11671
11672 * vla-type.exp: Print structure from toplevel.
11673
8f07e298
BH
116742016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11675
11676 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
11677 of dynamic types.
11678 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
11679 of dynamic types.
11680
9920b434
BH
116812016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11682
11683 * gdb.fortran/vla-type.f90: New file.
11684 * gdb.fortran/vla-type.exp: New file.
11685
f3abeff5
YQ
116862016-04-25 Yao Qi <yao.qi@linaro.org>
11687
11688 * gdb.base/branch-to-self.c: New file.
11689 * gdb.base/branch-to-self.exp: New file.
11690
0a5d52f0
YQ
116912016-04-22 Yao Qi <yao.qi@linaro.org>
11692
11693 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
11694 more after $hex.
11695
495346f6
YQ
116962016-04-22 Yao Qi <yao.qi@linaro.org>
11697
11698 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
11699 * gdb.base/annota3.exp: Likewise.
11700
4a7e075c
YQ
117012016-04-22 Yao Qi <yao.qi@linaro.org>
11702
11703 * gdb.reverse/step-precsave.exp: Do one step and test program
11704 stops in "callee" and do multiple steps until program goes out
11705 of "callee".
11706 * gdb.reverse/step-reverse.exp: Likewise.
11707
5b061e98
YQ
117082016-04-22 Yao Qi <yao.qi@linaro.org>
11709
11710 * gdb.trace/signal.exp: Also pass if
11711 $tracepoint_hits($i) > $iterations.
11712
5c5dc57f
YQ
117132016-04-22 Yao Qi <yao.qi@linaro.org>
11714
11715 * gdb.trace/signal.c: New file.
11716 * gdb.trace/signal.exp: New file.
11717
a55411b9
DE
117182016-04-19 Doug Evans <xdje42@gmail.com>
11719
11720 * gdb.base/bad-file.exp: New file.
11721
a22df60a
MG
117222016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
11723
11724 * gdb.dwarf2/implref.exp: New file.
11725
0c13f7e5
BH
117262016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11727
11728 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
11729 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
11730 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
11731 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
11732 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
11733 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
11734 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
11735 * lib/fortran.exp (fortran_int4): New procedure.
11736 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
11737 (fortran_logical4): Likewise.
11738
9b9b09e9
BH
117392016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
11740
11741 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
11742
a14d1f4d
BH
117432016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11744
11745 * lib/compiler.c: Add Intel specific preprocessor macros.
11746 * lib/compiler.cc: Likewise.
25d49b86 11747
7d49b1d0
LM
117482016-04-13 Luis Machado <lgustavo@codesourcery.com>
11749
11750 * gdb.server/connect-with-no-symbol-file.c: New file.
11751 * gdb.server/connect-with-no-symbol-file.exp: New file.
11752
8392fa22
SM
117532016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11754
11755 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
11756
8c4c4aeb
SM
117572016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11758
11759 * boards/gdbserver-base.exp (${board}_download): Copy source file to
11760 standard output directory.
11761
45e3745e
AT
117622016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
11763
11764 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
11765
e26b7e41
MM
117662016-04-13 Markus Metzger <markus.t.metzger@intel.com>
11767
11768 * gdb.btrace/instruction_history.c (loop): Add declaration.
11769
8ce09462
AT
117702016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11771
11772 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
11773
2e88a1ea
SM
117742016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
11775
11776 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
11777 parentheses to print.
11778 (continue_handler): Likewise.
11779
f48e22e3
SM
117802016-04-08 Simon Marchi <simon.marchi@ericsson.com>
11781
11782 * gdb.server/solib-list.exp: Remove is_remote check.
11783 Pass shlib= to gdb_compile. Don't link shared library with
11784 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
11785 Run binary filename through "readlink -f" on the target.
11786
096be756
PA
117872016-04-08 Pedro Alves <palves@redhat.com>
11788
11789 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
11790 interpreter filename as argument to gdbserver_spawn.
11791 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11792 Return empty if $last_loaded_file does not exist.
11793
06500533
JK
117942016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11795
11796 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
11797 * gdb.base/jit-main.c: Use exit after usage.
11798
2d35e871
JK
117992016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11800
11801 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
11802 GDBHISTSIZE prior to the tests.
11803 * gdb.base/gdbinit-history.exp: Likewise.
11804
118052016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
11806
11807 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
11808 instead of build_executable. Use gdb_load_shlibs.
11809
c8064e7e
YQ
118102016-04-07 Yao Qi <yao.qi@linaro.org>
11811
11812 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
11813 Execute "si" command.
11814
bde47561
YQ
118152016-04-07 Yao Qi <yao.qi@linaro.org>
11816
11817 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
11818 number instead of the comments on some line.
11819
b16f8a3b
DB
118202016-04-06 Don Breazeal <donb@codesourcery.com>
11821
11822 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
11823 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
11824
c2f901df
SM
118252016-04-06 Simon Marchi <simon.marchi@ericsson.com>
11826
11827 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
11828 standard_output_file. Remove unused binfile variable.
11829
ac17fda0
CU
118302016-04-05 Catalin Udma <catalin.udma@freescale.com>
11831
11832 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
11833 * gdb.python/py-mi-objfile.exp: Match "list main" output
11834 in console format.
11835
03a8c4df
SM
118362016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
11837
11838 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
11839 absolute.
11840
6e774b13
SM
118412016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11842
11843 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
11844 absolute.
11845 * gdb.trace/ftrace.exp: Likewise.
11846 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
11847 targets as well.
11848 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
11849 (gdb_load_shlibs): Copy libraries to test directory when testing
11850 natively. Only set solib-search-path if testing remotely.
11851 * lib/mi-support.exp (mi_load_shlibs): Likewise.
11852
7817ea46
SM
118532016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11854
11855 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
11856 gdb_download. Use it even if the target is not remote.
11857 * gdb.base/jit.exp (compile_jit_test): Likewise.
11858 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
11859 output directory if the destination board is local, otherwise use
11860 the standard remote_download from DejaGnu.
11861 (gdb_download): Remove.
11862 (gdb_load_shlibs): Use gdb_remote_download instead of
11863 gdb_download.
11864 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11865 Use gdb_remote_download instead of gdb_download. Use it even if
11866 the target is not remote.
11867 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
11868 instead of gdb_download.
11869
7beb7f68
SM
118702016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
11871
11872 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
11873 (test_insert_delete_modify): Call mi_load_shlibs before trying to
11874 run.
11875
cc63428a
AV
118762016-04-01 Artemiy Volkov <artemiyv@acm.org>
11877
11878 PR gdb/19820
11879 * gdb.base/printcmds.exp: Add artificial arrays tests.
11880
64cdf930
PA
118812016-03-31 Pedro Alves <palves@redhat.com>
11882
11883 PR gdb/19858
11884 * gdb.base/jit-main.c: Include unistd.h.
11885 (ATTACH): Define to 0 if not already defined.
11886 (wait_for_gdb, mypid): New globals.
11887 (WAIT_FOR_GDB): New macro.
11888 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11889 some breakpoint locations.
11890 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11891 New procedures.
11892 (one_jit_test): Add REATTACH parameter, and handle it. Use
11893 continue_to_test_location.
11894 (top level): Test attach, and adjusts calls to one_jit_test.
11895
40dea8cb
PA
118962016-03-31 Pedro Alves <palves@redhat.com>
11897
11898 PR gdb/19858
11899 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11900 BINSUFFIX parameter, and handle it.
11901 (top level): Adjust calls compile_jit_test.
11902
e7ea3ec7
CU
119032016-03-31 Catalin Udma <catalin.udma@freescale.com>
11904
11905 PR python/19743
11906 * gdb.python/py-mi-events-gdb.py: New file.
11907 * gdb.python/py-mi-events.c: New file.
11908 * gdb.python/py-mi-events.exp: New file.
11909
e6359af3
YQ
119102016-03-30 Yao Qi <yao.qi@linaro.org>
11911
11912 * gdb.reverse/until-precsave.exp: Match function name only.
11913 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11914 Move malloc to a condition block.
11915 * gdb.reverse/until-reverse.exp: Match function name only.
11916
a4105d04
MK
119172016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11918
11919 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11920 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11921 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11922 variable for GPR 0 instead of assuming it is register 0.
11923 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11924 * lib/trace-support.exp: Add s390 registers.
11925
bfa6adb9
YQ
119262016-03-29 Yao Qi <yao.qi@linaro.org>
11927
11928 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11929
1e6697ea
YQ
119302016-03-24 Yao Qi <yao.qi@linaro.org>
11931
11932 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11933 test message.
11934
64bcd522
AA
119352016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11936
11937 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11938 maintaining separate logic for constructing the output path.
11939
7868401b
DB
119402016-03-16 Don Breazeal <donb@codesourcery.com>
11941
11942 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11943 Retry fork and waitpid on interrupted system call errors.
11944 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11945 Use with_timeout_factor to increase timeout by factor of 10.
11946
1cafadb4
DB
119472016-03-15 Don Breazeal <donb@codesourcery.com>
11948
11949 * gdb.cp/scope-err.cc: New test program.
11950 * gdb.cp/scope-err.exp: New test script.
11951 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11952 lines and "set breakpoint here" comment.
11953 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11954 Fixed some whitespace and format issues.
11955 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11956 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11957
81516450
DE
119582016-03-15 Doug Evans <dje@google.com>
11959
11960 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11961 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11962 All callers updated. Add tests for enums, mixed flags register.
11963
aa52b601
DE
119642016-03-15 Doug Evans <dje@google.com>
11965
11966 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11967 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11968
fa4ff313
SM
119692016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11970
11971 * gdb.base/default.exp: Add $_as_string to the list of expected
11972 convenience functions.
11973
f2403c39
AB
119742016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11975
11976 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11977
f2f3ccb9
SM
119782016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11979
11980 * gdb.python/py-as-string.exp: New file.
11981 * gdb.python/py-as-string.c: New file.
11982
00dbd492
PA
119832016-03-09 Pedro Alves <palves@redhat.com>
11984
11985 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11986 signal" -> "Thread NN received signal" output change.
11987 * gdb.threads/ia64-sigill.exp: Likewise.
11988 * gdb.threads/linux-dp.exp: Likewise.
11989 * gdb.threads/manythreads.exp: Likewise.
11990 * gdb.threads/pending-step.exp: Likewise.
11991 * gdb.threads/print-threads.exp: Likewise.
11992 * gdb.threads/sigstep-threads.exp: Likewise.
11993 * gdb.threads/staticthreads.exp: Likewise.
11994 * gdb.threads/tls.exp: Likewise.
11995
1e6697ea
YQ
119962016-03-09 Pedro Alves <palves@redhat.com>
11997
11998 * gdb.base/command-line-input.exp: New file.
11999
b04fd3be
MK
120002016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12001
12002 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
12003 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
12004 * gdb.trace/pending.exp: Accept leading dot before function name.
12005 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
12006 * lib/trace-support.exp: Set registers for ppc.
12007
98fa59e9
MK
120082016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12009
12010 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
12011 use it for disassembly; accept .main in addition to main in backtrace.
12012
f77198c8
MK
120132016-03-09 Wei-cheng Wang <cole945@gmail.com>
12014 Marcin Kościelnicki <koriakin@0x04.net>
12015
12016 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
12017 (gdb_recursion_test_ptr): New global variable.
12018 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
12019 gdb_recursion_test.
12020 (gdb_c_test): Ditto.
12021
ba84e0da
MK
120222016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12023
12024 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
12025 ordering.
12026
4366d36e
MK
120272016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12028
12029 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
12030 (bar): Add bar_start_lbl label.
12031 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
12032 of foo/bar for emitting DWARF and tracing.
12033
5eb264df
SDJ
120342016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
12035
12036 * analyze-racy-logs.py: Set executable bit.
12037
fb6a751f
SDJ
120382016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
12039
12040 * Makefile.in (DEFAULT_RACY_ITER): New variable.
12041 (CHECK_TARGET_TMP): Likewise.
12042 (check-single-racy): New rule.
12043 (check-parallel-racy): Likewise.
12044 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
12045 (do-check-parallel-racy): New rule.
12046 (check-racy/%.exp): Likewise.
12047 * README (Racy testcases): New section.
12048 * analyze-racy-logs.py: New file.
12049
bdf7e230
DE
120502016-03-03 Doug Evans <dje@google.com>
12051
12052 * gdb.base/skip.exp: Use with_test_prefix.
12053
4719d415
YQ
120542016-03-03 Yao Qi <yao.qi@linaro.org>
12055
12056 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
12057 Invoke step_over_syscall "clone" and break_cond_on_syscall
12058 "clone".
12059 * gdb.base/step-over-clone.c: New file.
12060
ea507862
YQ
120612016-03-03 Yao Qi <yao.qi@linaro.org>
12062
12063 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
12064 code format.
12065
8fc8cbda
YQ
120662016-03-03 Yao Qi <yao.qi@linaro.org>
12067
12068 * gdb.base/disp-step-fork.c: Rename to ...
12069 * gdb.base/step-over-fork.c: ... it. New file.
12070 * gdb.base/disp-step-vfork.c: Rename to ...
12071 * gdb.base/step-over-vfork.c: ... it. New file.
12072 * gdb.base/disp-step-syscall.exp: Rename to ...
12073 * gdb.base/step-over-syscall.exp: ... it. New file.
12074 (disp_step_cross_syscall): Rename to ...
12075 (step_over_syscall): ... it.
12076
92fa70b0
YQ
120772016-03-03 Yao Qi <yao.qi@linaro.org>
12078
12079 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
12080 If target supports condition evaluation on target, invoke
12081 break_cond_on_syscall for fork and vfork.
12082
e197ad3c
YQ
120832016-03-03 Yao Qi <yao.qi@linaro.org>
12084
12085 * gdb.base/disp-step-syscall.exp: Don't invoke
12086 support_displaced_stepping.
12087 (disp_step_cross_syscall): Test with displaced stepping off and
12088 on if supported.
12089
0b47da9f
YQ
120902016-03-03 Yao Qi <yao.qi@linaro.org>
12091
12092 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
12093 proc.
12094 (setup): New proc.
12095 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
12096 and setup.
12097
065ab6dc
BH
120982016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12099
12100 * gdb.fortran/vla-history.exp: Remove breakpoint.
12101
07e448ad 121022016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12103
25d49b86
PA
12104 * gdb.fortran/vla-history.exp: Lookup array elements and printing
12105 exceeds timeout.
07e448ad 12106
9ac2d526 121072016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12108
25d49b86
PA
12109 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
12110 breakpoint.
9ac2d526 12111
17807369
BH
121122016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12113
12114 * gdb.mi/vla.f90: Nullify pointer after declaration.
12115
86e501af
PA
121162016-03-01 Pedro Alves <palves@redhat.com>
12117
12118 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
12119
1e903e32
PA
121202016-03-01 Pedro Alves <palves@redhat.com>
12121
12122 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
12123 before anything else.
12124 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
12125 _GNU_SOURCE here.
12126 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
12127 before anything else.
12128 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
12129
6ccb54e2
PA
121302016-03-01 Pedro Alves <palves@redhat.com>
12131
12132 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
12133
30ca9da1
YQ
121342016-03-01 Yao Qi <yao.qi@linaro.org>
12135
12136 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
12137 prepare_for_testing.
12138
dc856b38
YQ
121392016-03-01 Yao Qi <yao.qi@linaro.org>
12140
12141 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
12142
4a932159
AA
121432016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12144
12145 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
12146 manually constructing the output path.
12147
f2489477
AA
121482016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12149
12150 * gdb.arch/s390-stackless.S: New.
12151 * gdb.arch/s390-stackless.exp: New.
12152
38899f16
IB
121532016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
12154
12155 * gdb.dlang/circular.c: New file.
12156 * gdb.dlang/circular.exp: New file.
12157
9fde51ed
YQ
121582016-02-26 Yao Qi <yao.qi@linaro.org>
12159
12160 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
12161 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
12162 (testcases): Update.
12163
ce90fefe
YQ
121642016-02-26 Yao Qi <yao.qi@linaro.org>
12165
12166 * gdb.reverse/aarch64.c: Rename to ...
12167 * gdb.reverse/insn-reverse.c: ... it.
12168 * gdb.reverse/aarch64.exp: Rename to ...
12169 * gdb.reverse/insn-reverse.exp: ... it.
12170
3263bceb
YQ
121712016-02-26 Yao Qi <yao.qi@linaro.org>
12172
12173 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
12174 (testcase_ftype): New.
12175 (testcases): New array.
12176 (n_testcases): New.
12177 (main): Call each element in testcases.
12178 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
12179 (read_testcase): New.
12180 Do the tests in a loop.
12181
6cb59ff1
YQ
121822016-02-25 Yao Qi <yao.qi@linaro.org>
12183
12184 * gdb.base/branches.c: Remove.
12185
ae91f625
MK
121862016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12187
12188 PR gdb/13808
12189 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
12190
678b48b7
MK
121912016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12192
12193 * gdb.trace/ftrace.exp: Remove unnecessary target check.
12194
7337a6f2
MK
121952016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12196
12197 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
12198 change x86_64 call_insn to 'callq'.
12199
861ca91f
AT
122002016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12201
12202 * gdb.trace/tfile-avx.c: Move to...
12203 * gdb.trace/tracefile-pseudo-reg.c: Here.
12204 * gdb.trace/tfile-avx.exp: Move to...
12205 * gdb.trace/tracefile-pseudo-reg.exp: Here.
12206
bf74e428
GB
122072016-02-24 Gary Benson <gbenson@redhat.com>
12208
12209 * gdb.base/attach-pie-noexec.exp: Do not expect an error
12210 message on attach.
12211
cce0e923
DE
122122016-02-23 Doug Evans <dje@google.com>
12213
12214 * gdb.base/skip.c (test_skip): New function.
12215 (end_test_skip_file_and_function): New function.
12216 (test_skip_file_and_function): New function.
12217 * gdb.base/skip1.c (test_skip): New function.
12218 (skip1_test_skip_file_and_function): New function.
12219 * gdb.base/skip.exp: Add tests for new skip options.
12220 * gdb.base/skip-solib.exp: Update expected output.
12221 * gdb.perf/skip-command.cc: New file.
12222 * gdb.perf/skip-command.exp: New file.
12223 * gdb.perf/skip-command.py: New file.
12224
4000e47e
MK
122252016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
12226
12227 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
12228 info registers pattern.
12229
24f75ead
IB
122302016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
12231
12232 * lib/future.exp: Add D support.
12233 (gdb_find_gdc): New proc.
12234 (gdb_default_target_compile): Add D support.
12235
fbb7bcbe
WW
122362016-02-18 Wei-cheng Wang <cole945@gmail.com>
12237
12238 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
12239 user+system time.
12240 (trace_speed_test): Determine the iteration count for a time
12241 between 15..30 seconds.
12242
012b3a21
WT
122432016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
12244
12245 * gdb.arch/i386-mpx-sigsegv.c: New file.
12246 * gdb.arch/i386-mpx-sigsegv.exp: New file.
12247 * gdb.arch/i386-mpx-simple_segv.c: New file.
12248 * gdb.arch/i386-mpx-simple_segv.exp: New file.
12249
2d5189bd
YQ
122502016-02-18 Yao Qi <yao.qi@linaro.org>
12251
12252 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12253 Don't call setup_kfail.
12254
40fb20d0
YQ
122552016-02-18 Yao Qi <yao.qi@linaro.org>
12256
12257 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12258 Set "set breakpoint condition-evaluation" per $cond_bp_target.
12259
21b1f8d2
DE
122602016-02-16 Doug Evans <dje@google.com>
12261
12262 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
12263 * gdb.base/skip1.c: Ditto.
12264 * gdb.base/skip.exp: Whitespace cleanup.
12265
4041ed77
DB
122662016-02-16 Don Breazeal <donb@codesourcery.com>
12267
12268 PR remote/19496
12269 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12270 Remove kfail for PR remote/19496.
12271
c4ef31bf
SM
122722016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12273
12274 * lib/gdb.exp (standard_temp_file): Return a path specific to
12275 the runtest invocation.
12276
266b65b3
SM
122772016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12278
12279 * gdb.trace/save-trace.exp: Change relative path to be in the
12280 standard output directory.
12281
a7a0a6a9
JK
122822016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12283
12284 * gdb.arch/i386-prologue.c: Add missing prototypes.
12285
c99dbb42
JK
122862016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12287
12288 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
12289 * gdb.arch/i386-prologue.exp: Likewise.
12290 * gdb.arch/i386-size.exp: Likewise.
12291
aa480355
SM
122922016-02-15 Simon Marchi <simon.marchi@ericsson.com>
12293
12294 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
12295 define object file path.
12296 * gdb.btrace/gcore.exp: Use standard_output_file to define core
12297 file path.
12298 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
12299 standard_output_file to define binfile.
12300
ba881f50
JK
123012016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12302
12303 Fix compatibility with recent gfortran-5.3.1.
12304 * gdb.fortran/vla-history.exp (print vla1 allocated)
12305 (print vla2 allocated, print $2, print $3): Remove
12306 (print $4): Rename to ...
12307 (print $2): ... here.
12308 (print $9): Rename to ...
12309 (print $5): ... here.
12310 (print $10): Rename to ...
12311 (print $6): ... here.
12312 * gdb.fortran/vla.f90: Add pvla initialization.
12313
e9fb005c
JK
123142016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12315
12316 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
12317 New test.
12318 * gdb.fortran/vla-value-sub.exp: Likewise.
12319
e44e00ff
MK
123202016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
12321
12322 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
12323
97e94151
SM
123242016-02-12 Simon Marchi <simon.marchi@ericsson.com>
12325
12326 * i386-biarch-core.exp: Define corefile using
12327 standard_output_file.
12328
01113bc1
YQ
123292016-02-12 Yao Qi <yao.qi@linaro.org>
12330
12331 * gdb.arch/arm-single-step-kernel-helper.c: New.
12332 * gdb.arch/arm-single-step-kernel-helper.exp: New.
12333
33b4777c
MM
123342016-02-12 Markus Metzger <markus.t.metzger@intel.com>
12335
12336 * gdb.btrace/tailcall-only.exp: New.
12337 * gdb.btrace/tailcall-only.c: New.
12338 * gdb.btrace/x86_64-tailcall-only.S: New.
12339 * gdb.btrace/i686-tailcall-only.S: New.
12340
acc23c11
PA
123412016-02-11 Pedro Alves <palves@redhat.com>
12342
12343 * README (Parallel testing): Add missing double quotes.
12344
e352bf0a
PA
123452016-02-11 Pedro Alves <palves@redhat.com>
12346
12347 * README (Parallel testing): New section.
12348 (GDB_PARALLEL): Rewrite.
12349 (FORCE_PARALLEL): Document.
12350
9f5fed78
MK
123512016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
12352
12353 * gdb.trace/tfile-avx.c: New test.
12354 * gdb.trace/tfile-avx.exp: New test.
12355
9ef9e6a6
KS
123562016-02-09 Keith Seitz <keiths@redhat.com>
12357
12358 PR breakpoints/19546
12359 * gdb.base/infcall-exec.c: New file.
12360 * gdb.base/infcall-exec2.c: New file.
12361 * gdb.base/infcall-exec.exp: New file.
12362
a96e36da
KS
123632016-02-09 Keith Seitz <keiths@redhat.com>
12364
12365 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
12366 (toplevel): Call test_bkpt_address.
12367
9f61929f
KS
123682016-02-09 Keith Seitz <keiths@redhat.com>
12369
12370 PR python/19506
12371 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
12372 (toplevel): Call test_bkpt_address.
12373
1e94266c
SM
123742016-02-09 Simon Marchi <simon.marchi@ericsson.com>
12375
12376 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
12377 to AC_OUTPUT.
12378 * configure: Regenerate.
12379
2a7f3dff
PA
123802016-02-09 Pedro Alves <palves@redhat.com>
12381
12382 PR breakpoints/19548
12383 * gdb.base/execl-update-breakpoints.c (some_function): New
12384 function.
12385 (main): Call it.
12386 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
12387 Tighten expected GDB output.
12388
2151ccc5
SM
123892016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12390
12391 * Makefile.in (ALL_SUBDIRS): Remove.
12392 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
12393 (distclean maintainer-clean realclean): Likewise.
12394 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
12395 * configure: Regenerate.
12396 * gdb.ada/Makefile.in: Delete.
12397 * gdb.arch/Makefile.in: Likewise.
12398 * gdb.asm/Makefile.in: Likewise.
12399 * gdb.base/Makefile.in: Likewise.
12400 * gdb.btrace/Makefile.in: Likewise.
12401 * gdb.cell/Makefile.in: Likewise.
12402 * gdb.compile/Makefile.in: Likewise.
12403 * gdb.cp/Makefile.in: Likewise.
12404 * gdb.disasm/Makefile.in: Likewise.
12405 * gdb.dlang/Makefile.in: Likewise.
12406 * gdb.dwarf2/Makefile.in: Likewise.
12407 * gdb.fortran/Makefile.in: Likewise.
12408 * gdb.gdb/Makefile.in: Likewise.
12409 * gdb.go/Makefile.in: Likewise.
12410 * gdb.guile/Makefile.in: Likewise.
12411 * gdb.java/Makefile.in: Likewise.
12412 * gdb.linespec/Makefile.in: Likewise.
12413 * gdb.mi/Makefile.in: Likewise.
12414 * gdb.modula2/Makefile.in: Likewise.
12415 * gdb.multi/Makefile.in: Likewise.
12416 * gdb.objc/Makefile.in: Likewise.
12417 * gdb.opencl/Makefile.in: Likewise.
12418 * gdb.opt/Makefile.in: Likewise.
12419 * gdb.pascal/Makefile.in: Likewise.
12420 * gdb.perf/Makefile.in: Likewise.
12421 * gdb.python/Makefile.in: Likewise.
12422 * gdb.reverse/Makefile.in: Likewise.
12423 * gdb.server/Makefile.in: Likewise.
12424 * gdb.stabs/Makefile.in: Likewise.
12425 * gdb.threads/Makefile.in: Likewise.
12426 * gdb.trace/Makefile.in: Likewise.
12427 * gdb.xml/Makefile.in: Likewise.
12428 * lib/gdb.exp (make_gdb_parallel_path): Add check for
12429 GDB_PARALLEL.
12430 (standard_output_file): Remove check for GDB_PARALLEL, always
12431 return path in outputs/$subdir/$testname.
12432
437277d4
SM
124332016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12434
12435 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
12436 (site.exp): Assign abs_srcdir to tcl's srcdir.
12437
31d913c7
YQ
124382016-02-04 Yao Qi <yao.qi@linaro.org>
12439
12440 * gdb.base/foll-exec-mode.c: Include limits.h.
12441 (main): Add parameters argc and argv. Get directory from
12442 argv[0].
12443 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
12444 compilation.
12445 * gdb.base/foll-exec.c: Include limits.h.
12446 (main): Add parameters argc and argv.
12447 Get directory from argv[0].
12448 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
12449 Adjust tests on the number of lines as source code changed.
12450 * gdb.base/foll-vfork-exit.c: Include limits.h.
12451 (main): Add one line of statement before vfork.
12452 * gdb.base/foll-vfork.c: Include limits.h and string.h.
12453 (main): Add parameters argc and argv. Get directory from
12454 argv[0].
12455 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
12456 (setup_gdb): Set tbreak to skip some source lines.
12457 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
12458 (main): Add parameters argc and argv. Get directory from
12459 argv[0].
12460 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
12461 compilation.
12462 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
12463 (main): Add parameters argc and argv. Get directory from
12464 argv[0].
12465 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
12466 compilation.
12467
9482b9fb
DE
124682016-02-01 Doug Evans <dje@google.com>
12469
12470 * gdb.base/skip.exp: Clean up multiple references to same test name.
12471
6b2e4f10
PA
124722016-02-01 Pedro Alves <palves@redhat.com>
12473
ccb6afd6 12474 PR remote/19496
6b2e4f10
PA
12475 * gdb.threads/forking-threads-plus-breakpoint.exp
12476 (displaced_stepping_supported): New global.
12477 (probe_displaced_stepping_support): New procedure.
12478 (do_test): Add 'displaced' parameter, and use it.
12479 (top level): Check for displaced stepping support. Add displaced
12480 stepping on/off testing axis.
12481
37a8db1a
AB
124822016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12483
12484 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
12485 pointer. Don't perform further tests on the unassociated pointer
12486 if the first test fails.
12487
5fdf6324
AB
124882016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12489
12490 * gdb.base/max-value-size.c: New file.
12491 * gdb.base/max-value-size.exp: New file.
12492 * gdb.base/huge.exp: Disable max-value-size for this test.
12493
935c6144
IB
124942016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
12495
12496 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12497
7fe8399d
YQ
124982016-01-28 Yao Qi <yao.qi@linaro.org>
12499
12500 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
12501
a2077e25
PA
125022016-01-25 Pedro Alves <palves@redhat.com>
12503
12504 PR threads/19461
12505 * gdb.base/fork-running-state.c: New file.
12506 * gdb.base/fork-running-state.exp: New file.
12507
1d2736d4
PA
125082016-01-25 Pedro Alves <palves@redhat.com>
12509
12510 PR gdb/19494
12511 * gdb.base/catch-fork-kill.c: New file.
12512 * gdb.base/catch-fork-kill.exp: New file.
12513
f1da4b11
PA
125142016-01-25 Pedro Alves <palves@redhat.com>
12515
12516 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
12517 Delete, moved to lib/gdb.exp.
12518 * gdb.threads/forking-threads-plus-breakpoint.exp
12519 (foreach_with_prefix): Likewise.
12520 * gdb.threads/process-dies-while-handling-bp.exp
12521 (foreach_with_prefix): Likewise.
12522 * lib/gdb.exp (foreach_with_prefix): New procedure.
12523
45f38546
MK
125242016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
12525
12526 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
12527 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
12528
dc29a1ce
MK
125292016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
12530
12531 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
12532 endian targets.
12533
092127d7
JK
125342016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12535 Pedro Alves <palves@redhat.com>
12536
12537 Fix testsuite compatibility with Guile.
12538 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
12539 number.
12540
31d765d3
JK
125412016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12542
12543 Fix testsuite compatibility with Guile.
12544 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
12545 (thread 1): New test for backtrace through signal handler.
12546
1ac78c04
YQ
125472016-01-22 Yao Qi <yao.qi@linaro.org>
12548
12549 PR testsuite/19491
12550 * gdb.base/multi-forks.c: Include
12551 ../lib/unbuffer_output.c
12552 (main): Call gdb_unbuffer_output.
12553
4f5946a8
DE
125542016-01-21 Doug Evans <dje@google.com>
12555
12556 * lib/ada.exp (gdb_compile_ada): Fix typo.
12557
305e13e6
JB
125582016-01-21 Joel Brobecker <brobecker@adacore.com>
12559
12560 * gdb.base/break-fun-addr.exp: New file.
12561 * gdb.base/break-fun-addr1.c: New file.
12562 * gdb.base/break-fun-addr2.c: New file.
12563
5f5dfff6
SM
125642016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
12565
12566 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
12567 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
12568 enum flag values.
12569
fd356fa2
AA
125702016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12571
12572 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
12573 when GDB can not set the vector return value. Add more comments
12574 for clarification.
12575
9df22175
AT
125762016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
12577
12578 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
12579 command.
12580
41d1845e
SM
125812016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12582
12583 * Makefile.in (DO_RUNTEST): Add --status and update usages.
12584
01ac6840
SM
125852016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12586
12587 * Makefile.in (check-single): Pass --status to runtest.
12588 (check/%.exp): Likewise.
12589
125902016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12591
12592 * Makefile.in (check-parallel): Propagate return code from make
12593 do-check-parallel.
12594
bd0a71fa
MK
125952016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
12596
12597 * gdb.trace/ftrace.exp: Fix expected message on continue.
12598 * gdb.trace/pending.exp: Fix expected message on continue.
12599 * gdb.trace/trace-break.exp: Fix expected message on continue.
12600
8bcbad33
SM
126012016-01-18 Simon Marchi <simon.marchi@ericsson.com>
12602
12603 * lib/gdb.exp (gdb_test): Remove unused global references.
12604
f303dbd6
PA
126052016-01-18 Pedro Alves <palves@redhat.com>
12606
12607 * gdb.base/async-shell.exp: Adjust expected output.
12608 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
12609 * gdb.base/siginfo-thread.exp: Adjust expected output.
12610 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
12611 * gdb.java/jnpe.exp: Adjust expected output.
12612 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
12613 * gdb.threads/continue-pending-status.exp: Adjust expected output.
12614 * gdb.threads/leader-exit.exp: Adjust expected output.
12615 * gdb.threads/manythreads.exp: Adjust expected output.
12616 * gdb.threads/pthreads.exp: Adjust expected output.
12617 * gdb.threads/schedlock.exp: Adjust expected output.
12618 * gdb.threads/siginfo-threads.exp: Adjust expected output.
12619 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
12620 expected output.
12621 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
12622 output.
12623 * gdb.threads/sigthread.exp: Adjust expected output.
12624 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
12625
b2789696
YQ
126262016-01-18 Yao Qi <yao.qi@linaro.org>
12627
12628 * gdb.guile/scm-section-script.c: Replace @progbits with
12629 %progbits.
12630 * gdb.python/py-section-script.c: Likewise.
12631
71ef29a8
PA
126322016-01-15 Pedro Alves <palves@redhat.com>
12633
12634 * gdb.multi/tids.exp: Test star wildcard ranges.
12635
3f5b7598
PA
126362016-01-15 Pedro Alves <palves@redhat.com>
12637
12638 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
12639 command from "thread apply" invocation.
12640 (thr_apply_info_thr_invalid): Default the expected output to the
12641 input tid list.
12642 (top level): Add tests that use convenience variables. Add tests
12643 for "thread apply" with a valid TID list, but missing the command.
12644
663f6d42
PA
126452016-01-13 Pedro Alves <palves@redhat.com>
12646
12647 * gdb.base/default.exp: Expect $_gthread as well.
12648 * gdb.multi/tids.exp: Test $_gthread.
12649 * gdb.threads/thread-specific.exp: Test $_gthread.
12650
c84f6bbf
PA
126512016-01-13 Pedro Alves <palves@redhat.com>
12652
12653 * gdb.multi/tids.exp: Test "info threads -gid".
12654
22a02324
PA
126552016-01-13 Pedro Alves <palves@redhat.com>
12656
12657 * gdb.multi/tids.exp: Test InferiorThread.global_num and
12658 Breakpoint.thread.
12659 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
12660
5d5658a1
PA
126612016-01-07 Pedro Alves <palves@redhat.com>
12662
12663 * gdb.base/break.exp: Adjust to output changes.
12664 * gdb.base/hbreak2.exp: Likewise.
12665 * gdb.base/sepdebug.exp: Likewise.
12666 * gdb.base/watch_thread_num.exp: Likewise.
12667 * gdb.linespec/keywords.exp: Likewise.
12668 * gdb.multi/info-threads.exp: Likewise.
12669 * gdb.threads/thread-find.exp: Likewise.
12670 * gdb.multi/tids.c: New file.
12671 * gdb.multi/tids.exp: New file.
12672
84654457
PA
126732016-01-13 Pedro Alves <palves@redhat.com>
12674
12675 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
12676
e3940304
PA
126772016-01-13 Pedro Alves <palves@redhat.com>
12678
12679 * gdb.base/default.exp: Expect $_inferior as well.
12680 * gdb.multi/base.exp: Test $_inferior.
12681
a911d87a
PA
126822016-01-13 Pedro Alves <palves@redhat.com>
12683
12684 PR breakpoints/19388
12685 * gdb.base/catch-signal-siginfo-cond.c: New file.
12686 * gdb.base/catch-signal-siginfo-cond.exp: New file.
12687
82075af2
JS
126882016-01-12 Josh Stone <jistone@redhat.com>
12689 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12690
12691 * gdb.base/catch-syscall.c (do_execve): New variable.
12692 (main): Conditionally trigger an execve.
12693 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
12694 (test_catch_syscall_execve): New, check entry/return across execve.
12695 (do_syscall_tests): Call test_catch_syscall_execve.
12696
e46eeedd
PA
126972016-01-12 Pedro Alves <palves@redhat.com>
12698
12699 * gdb.base/random-signal.exp (do_test): New procedure, with body
12700 of testcase moved in.
12701
01d8c27e
JK
127022016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12703 Pedro Alves <palves@redhat.com>
12704
12705 * gdb.base/funcargs.exp (finish from indirectly called function):
12706 Reintroduce the case for 'First'.
12707
9a706302
JK
127082016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12709 Pedro Alves <palves@redhat.com>
12710
12711 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
12712 (tcatch_vfork_then_child_follow_exec)
12713 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
12714 identification.
12715
c0ecb95f
JK
127162016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12717
12718 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
12719 and repeats to unlimited.
12720 * gdb.python/py-value.exp: Likewise.
12721 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
12722 and repeats to unlimited.
12723
6cfc1fcb
JK
127242016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12725
12726 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
12727 and reordering the functions.
12728 * gdb.multi/hangout.c: Likewise.
12729 * gdb.multi/hello.c: Likewise.
12730
582a1b00
SM
127312016-01-08 Simon Marchi <simon.marchi@ericsson.com>
12732
12733 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
12734 absolute.
12735 (SingleStatisticTestResult.report): Use dict.keys instead of
12736 dict.iterkeys.
12737
79bc59cb
PA
127382016-01-06 Pedro Alves <palves@redhat.com>
12739
12740 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
12741
43368e1d
MM
127422016-01-04 Markus Metzger <markus.t.metzger@intel.com>
12743
12744 * gdb.btrace/dlopen.exp: New.
12745 * gdb.btrace/dlopen.c: New.
12746 * gdb.btrace/dlopen-dso.c: New.
12747
79fad5b8
SL
127482015-12-25 Sandra Loosemore <sandra@codesourcery.com>
12749
12750 * lib/gdb.exp (gdb_test): Update comments to clarify that the
12751 PATTERN argument is optional.
12752
ab8314b3
JB
127532015-12-24 Joel Brobecker <brobecker@adacore.com>
12754
12755 * lib/ada.exp (target_compile_ada_from_dir): New function.
12756 (gdb_compile_ada): Reimplement avoiding the use of project files.
12757 * gdb.ada/gnat_ada.gpr: Delete.
12758 * gdb.ada/cond_lang.exp: Adjust test to make path before
12759 filename optional.
12760 * gdb.ada/small_reg_param.exp: Likewise.
12761
fe33faff
SM
127622015-12-22 Simon Marchi <simon.marchi@ericsson.com>
12763
12764 * gdb.base/foll-vork.exp: Remove HP-UX special case.
12765
6d265cb4
TP
127662015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
12767
12768 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
12769 case.
12770
10125099
SM
127712015-12-21 Simon Marchi <simon.marchi@ericsson.com>
12772
12773 * gdb.base/break.exp: Remove dead code.
12774 * gdb.base/sepdebug.exp: Likewise.
12775
3ca22649
SM
127762015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12777
12778 * gdb.asm/asm-source.exp: Remove HP-UX references.
12779 * gdb.base/annota1.exp: Likewise.
12780 * gdb.base/annota3.exp: Likewise.
12781 * gdb.base/attach.exp: Likewise.
12782 * gdb.base/bigcore.exp: Likewise.
12783 * gdb.base/break.exp: Likewise.
12784 * gdb.base/call-ar-st.exp: Likewise.
12785 * gdb.base/callfuncs.exp: Likewise.
12786 * gdb.base/catch-fork-static.exp: Likewise.
12787 * gdb.base/display.exp: Likewise.
12788 * gdb.base/foll-exec-mode.exp: Likewise.
12789 * gdb.base/foll-exec.exp: Likewise.
12790 * gdb.base/foll-fork.exp: Likewise.
12791 * gdb.base/foll-vfork.exp: Likewise.
12792 * gdb.base/funcargs.exp: Likewise.
12793 * gdb.base/hbreak2.exp: Likewise.
12794 * gdb.base/inferior-died.exp: Likewise.
12795 * gdb.base/interrupt.exp: Likewise.
12796 * gdb.base/multi-forks.exp: Likewise.
12797 * gdb.base/nodebug.exp: Likewise.
12798 * gdb.base/sepdebug.exp: Likewise.
12799 * gdb.base/solib1.c: Likewise.
12800 * gdb.base/step-test.exp: Likewise.
12801 * gdb.mi/non-stop.c: Likewise.
12802 * gdb.mi/pthreads.c: Likewise.
12803 * gdb.multi/bkpt-multi-exec.ex: Likewise.
12804 * gdb.threads/pthreads.c: Likewise.
12805 * gdb.threads/staticthreads.exp: Likewise.
12806 * lib/future.exp: Likewise.
12807 * lib/gdb.exp: Likewise.
12808 * gdb.base/so-indr-cl.c: Remove.
12809 * gdb.base/so-indr-cl.exp: Likewise.
12810 * gdb.base/solib.c: Likewise.
12811 * gdb.base/solib.exp: Likewise.
12812 * gdb.base/solib2.c: Likewise.
12813
b6304613
SM
128142015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12815
12816 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
12817 * gdb.base/call-ar-st.exp: Likewise.
12818 * gdb.base/callfuncs.exp: Likewise.
12819 * gdb.base/condbreak.exp: Likewise.
12820 * gdb.base/constvars.exp: Likewise.
12821 * gdb.base/hbreak2.exp: Likewise.
12822 * gdb.base/langs.exp: Likewise.
12823 * gdb.base/list.exp: Likewise.
12824 * gdb.base/long_long.exp: Likewise.
12825 * gdb.base/ptype.exp: Likewise.
12826 * gdb.base/scope.exp: Likewise.
12827 * gdb.base/signals.exp: Likewise.
12828 * gdb.base/so-impl-ld.exp: Likewise.
12829 * gdb.base/varargs.exp: Likewise.
12830 * gdb.base/volatile.exp: Likewise.
12831 * gdb.base/whatis.exp: Likewise.
12832 * gdb.cp/cplusfuncs.exp: Likewise.
12833 * gdb.cp/inherit.exp: Likewise.
12834 * gdb.cp/local.exp: Likewise.
12835 * gdb.cp/member-ptr.exp: Likewise.
12836 * gdb.cp/method.exp: Likewise.
12837 * gdb.cp/overload.exp: Likewise.
12838 * gdb.cp/templates.exp: Likewise.
12839 * gdb.stabs/weird.exp: Likewise.
12840 * lib/compiler.c: Likewise.
12841 * lib/compiler.cc: Likewise.
12842 * lib/cp-support.exp: Likewise.
12843 * lib/gdb.exp: Likewise.
12844
bf401b07
SM
128452015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
12846
12847 * configure.ac: Remove HP-UX case.
12848 * configure: Regenerate.
12849
aff9c0f8
SM
128502015-12-18 Simon Marchi <simon.marchi@ericsson.com>
12851
12852 * lib/gdb.exp (gdb_compile): Add function doc.
12853
a6904d5a
PA
128542015-12-17 Pedro Alves <palves@redhat.com>
12855
12856 PR threads/19354
12857 * gdb.multi/info-threads.exp: New file.
12858
a22279dd
YQ
128592015-12-15 Yao Qi <yao.qi@linaro.org>
12860
12861 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
12862 is aarch64*-*-*.
12863
0588c796
SL
128642015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12865
12866 * gdb.base/history-duplicates.exp: Skip if no readline support.
12867
5d978e17
SL
128682015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12869
12870 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
12871
7e763b86
SL
128722015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12873
12874 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
12875
87a3a92c
SL
128762015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12877
12878 * gdb.base/completion.exp: Skip tests that interrupt GDB with
12879 ctrl-C if nointerrupts target property is set.
12880 * gdb.base/double-prompt-target-event-error.exp: Likewise.
12881 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
12882 * gdb.base/paginate-bg-execution.exp: Likewise.
12883 * gdb.base/paginate-execution-startup.exp: Likewise.
12884 * gdb.base/random-signal.exp: Likewise.
12885 * gdb.base/range-stepping.exp: Likewise.
12886 * gdb.cp/annota2.exp: Likewise.
12887 * gdb.cp/annota3.exp: Likewise.
12888 * gdb.gdb/selftest.exp: Likewise.
12889 * gdb.threads/continue-pending-status.exp: Likewise.
12890 * gdb.threads/leader-exit.exp: Likewise.
12891 * gdb.threads/manythreads.exp: Likewise.
12892 * gdb.threads/pthreads.exp: Likewise.
12893 * gdb.threads/schedlock.exp: Likewise.
12894 * gdb.threads/sigthread.exp: Likewise.
12895
a8f077dc
DB
128962015-12-11 Don Breazeal <donb@codesourcery.com>
12897
12898 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12899 remote.
12900 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12901 * gdb.base/foll-exec.exp (main): Enable for target remote.
12902 * gdb.base/foll-fork.exp (main): Likewise.
12903 * gdb.base/foll-vfork.exp (main): Likewise.
12904 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12905 (proc continue_to_exit_bp_loc): Use clean_restart.
12906 * gdb.base/pie-execl.exp (main): Disable for target remote.
12907 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12908 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12909 * gdb.threads/execl.exp (main): Likewise.
12910 * gdb.threads/fork-child-threads.exp (main): Likewise.
12911 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12912 remote.
12913 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12914 remote.
12915 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12916 pid.tid style ptids, instead of just tid.
12917 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12918 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12919 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12920 ptids, instead of just tid.
12921
3b2464a8
AB
129222015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12923
12924 * gdb.base/list.exp (test_list_forward): Add end of file error
12925 test.
12926 (test_repeat_list_command): Add end of file error test.
12927 (test_list_backwards): Add beginning of file error test.
12928
a0def019
AB
129292015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12930
12931 * gdb.base/list.exp (test_list_invalid_args): New function,
12932 defined, and called.
12933
5c000dff
AB
129342015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12935
12936 * gdb.base/list.exp (test_list): Make test names unique.
12937
f1637ebe
YQ
129382015-12-11 Yao Qi <yao.qi@linaro.org>
12939
12940 * gdb.base/coremaker2.c: Remove.
12941
36d6fc0a
PA
129422015-12-10 Pedro Alves <palves@redhat.com>
12943
12944 * gdb.multi/base.exp: Remove stale "spaces" references.
12945
762f7747
PA
129462015-12-10 Pedro Alves <palves@redhat.com>
12947
12948 * gdb.multi/base.exp: Don't use nowarnings.
12949 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12950 * gdb.multi/hangout.c: Include stdio.h.
12951 * gdb.multi/hello.c: Include stdlib.h.
12952 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12953 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12954 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12955
28d2bfb9
AB
129562015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12957
12958 * gdb.dwarf2/dw2-ranges-base.c: New file.
12959 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12960 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12961 support additional line table, and debug ranges generation.
12962 (Dwarf::ranges): New function, generate .debug_ranges.
12963 (Dwarf::lines): Support generating simple line table programs.
12964 (Dwarf::assemble): Initialise new namespace variables.
12965
5fc2beac
KB
129662015-12-09 Kevin Buettner <kevinb@redhat.com>
12967
12968 * gdb.base/async.exp (proc test_background): Add case for
12969 asynchronous execution not supported.
12970
1c35a88f
LM
129712015-12-09 Luis Machado <lgustavo@codesourcery.com>
12972
12973 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12974 format and change test names to make them unique.
12975
b593e3d9
RK
129762015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12977 Pedro Alves <pedro@redhat.com>
12978
12979 PR gdb/18702
12980 Add checking of floatformats setup on x86_64 hosts.
12981 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12982 (smallval, bigval): New labels/constants.
12983 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12984 float" after loading bigval and smallval.
12985
d72413e6
PMR
129862015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12987
12988 * gdb.ada/fun_overload_menu.exp: New testcase.
12989 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12990
ece66d65
JS
129912015-12-04 Josh Stone <jistone@redhat.com>
12992
12993 * gdb.base/catch-fork-static.exp: New.
12994
41d0efca
YQ
129952015-12-03 Yao Qi <yao.qi@linaro.org>
12996
12997 * gdb.base/sizeof.c: Don't include stdio.h and
12998 ../lib/unbuffer_output.c.
12999 (main): New variable 'size' and 'value'. Remove printf and
13000 gdb_unbuffer_output. Assign return value to size and value.
13001 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
13002 at the beginning.
13003 (check_sizeof): Check the result by printing variable 'size'.
13004 (check_valueof): Check the result by printing variable 'value'.
13005
99fd02d9
YQ
130062015-12-01 Yao Qi <yao.qi@linaro.org>
13007
13008 * gdb.base/disp-step-syscall.exp: Define syscall instruction
13009 for aarch64*-*-linux* target.
13010
f2faf941
PA
130112015-11-30 Pedro Alves <palves@redhat.com>
13012
13013 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
13014
04bf20c5
PA
130152015-11-30 Pedro Alves <palves@redhat.com>
13016
13017 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
13018 Handle non-stop mode vCont replies.
13019
09df4675
PA
130202015-11-30 Pedro Alves <palves@redhat.com>
13021
13022 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
13023 prepare_for_testing. Start gdb with "set non-stop on" appended to
13024 GDBFLAGS. Lax expected stop output.
13025
58b584af
YQ
130262015-11-27 Yao Qi <yao.qi@linaro.org>
13027
13028 * gdb.arch/arm-neon.exp: New.
13029 * gdb.arch/arm-neon.c: New.
13030
dfcb77a8
YQ
130312015-11-27 Yao Qi <yao.qi@linaro.org>
13032
13033 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
13034
88e8ec1b
YQ
130352015-11-27 Yao Qi <yao.qi@linaro.org>
13036
13037 * gdb.cp/annota2.exp: Allow multiple occurrences of the
13038 frames-invalid annotation.
13039
bfde72c2
YQ
130402015-11-27 Yao Qi <yao.qi@linaro.org>
13041
13042 * gdb.cp/annota2.exp: Use ${frames_invalid}.
13043
f6512a69
SM
130442015-11-26 Simon Marchi <simon.marchi@ericsson.com>
13045
13046 * gdb.threads/names.exp: New file.
13047 * gdb.threads/names.c: New file.
13048 * README: Mention gdb,no_thread_names.
13049
46a3515b
MM
130502015-11-26 Markus Metzger <markus.t.metzger@intel.com>
13051
13052 PR 19297
13053 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
13054 support" error.
13055
62147a22
PA
130562015-11-24 Pedro Alves <palves@redhat.com>
13057
13058 PR 17539
13059 * gdb.base/display.exp: Expect displays to be sorted in ascending
13060 order. Use multi_line.
13061 * gdb.base/solib-display.exp: Likewise.
13062
2f341b6e
PA
130632015-11-24 Pedro Alves <palves@redhat.com>
13064
13065 PR 17539
25d49b86
PA
13066 * gdb.base/display.exp: Expect displays to be sorted in ascending
13067 order. Use multi_line.
13068 * gdb.base/solib-display.exp: Likewise.
2f341b6e 13069
7e0aa6aa
PA
130702015-11-24 Pedro Alves <palves@redhat.com>
13071
13072 PR 17539
13073 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
13074 threads in ascending order.
13075 * gdb.base/foll-fork.exp: Likewise.
13076 * gdb.base/foll-vfork.exp: Likewise.
13077 * gdb.base/multi-forks.exp: Likewise.
13078 * gdb.mi/mi-nonstop.exp: Likewise.
13079 * gdb.mi/mi-nsintrall.exp: Likewise.
13080 * gdb.multi/base.exp: Likewise.
13081 * gdb.multi/multi-arch.exp: Likewise.
13082 * gdb.python/py-inferior.exp: Likewise.
13083 * gdb.threads/break-while-running.exp: Likewise.
13084 * gdb.threads/execl.exp: Likewise.
13085 * gdb.threads/gcore-thread.exp: Likewise.
13086 * gdb.threads/info-threads-cur-sal.exp: Likewise.
13087 * gdb.threads/kill.exp: Likewise.
13088 * gdb.threads/linux-dp.exp: Likewise.
13089 * gdb.threads/multiple-step-overs.exp: Likewise.
13090 * gdb.threads/next-bp-other-thread.exp: Likewise.
13091 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
13092 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
13093 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
13094 * gdb.threads/thread-find.exp: Likewise.
13095 * gdb.threads/tls.exp: Likewise.
13096 * lib/mi-support.exp (mi_reverse_list): Delete.
13097 (mi_check_thread_states): No longer reverse list.
13098
2cc57ad8
PA
130992015-11-24 Pedro Alves <palves@redhat.com>
13100
13101 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
13102 use lowercase.
13103
c93e8391
SM
131042015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13105
13106 * gdb.trace/actions.c: Include trace-common.h.
13107 (main): Add a location for a fast tracepoint.
13108 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
13109 the normal tracepoints.
13110 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
13111
045ccf91
SM
131122015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13113
13114 * save-trace.exp: Factor out code to these...
13115 (gdb_save_tracepoints): New.
13116 (gdb_load_tracepoints): New.
13117 (do_save_load_test): New.
13118
5506f9f6
KB
131192015-11-23 Kevin Buettner <kevinb@redhat.com>
13120
13121 * gdb.base/asmlabel.exp: New test.
13122 * gdb.base/asmlabel.c: New test case.
13123
16c3b12f
JB
131242015-11-23 Joel Brobecker <brobecker@adacore.com>
13125
13126 * gdb.base/wrong_frame_bt_full-main.c: New file.
13127 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
13128 * gdb.base/wrong_frame_bt_full.exp: New file.
13129
155bfbd3
JB
131302015-11-23 Joel Brobecker <brobecker@adacore.com>
13131
13132 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
13133
bb097445
JM
131342015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13135
206853a0 13136 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
13137 pstate register when comparing registers values in
13138 sparc64-*-linux-gnu targets to avoid spurious differences.
13139
9c88ed8f
JM
131402015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13141
206853a0 13142 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 13143
96161e25
SL
131442015-11-19 Sandra Loosemore <sandra@codesourcery.com>
13145
13146 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
13147 as type argument to gdb_compile.
13148 * gdb.base/nested-subp2.exp: Likewise.
13149 * gdb.base/nested-subp3.exp: Likewise.
13150
340c2830
DV
131512015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
13152
13153 * lib/dwarf.exp (_note): Fix left shift of negative value.
13154 * gdb.trace/trace-condition.exp: Likewise.
13155
c1862d0f
YQ
131562015-11-13 Yao Qi <yao.qi@linaro.org>
13157
13158 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
13159 comments about d10v.
13160 (test_scalar_returns): Likewise.
13161 * gdb.base/d10v.ld: Remove.
13162 * gdb.base/overlays.exp: Remove the target triplet checking for
13163 d10v-*-*.
13164 * gdb.base/structs.exp (test_struct_returns): Remove the
13165 comments about d10v.
13166 (test_struct_calls): Likewise.
13167
77ae9c19
YQ
131682015-11-13 Yao Qi <yao.qi@linaro.org>
13169
13170 * gdb.base/gnu_vector.exp: Check the return value by "p res".
13171 * gdb.base/gnu_vector.c: Don't include stdio.h.
13172 (main): Don't print res and call add_some_intvecs.
13173
430e004e
MK
131742015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
13175
13176 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
13177 macro.
13178 (func5): Removed.
13179 (func4): Use FAST_TRACEPOINT_LABEL.
13180 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
13181 macro.
13182 (func): Removed.
13183 (thread_function): Use FAST_TRACEPOINT_LABEL.
13184 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
13185 (func): Remove.
13186 (marker): Use FAST_TRACEPOINT_LABEL.
13187 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
13188 (pendfunc1): Remove.
13189 (pendfunc): Use FAST_TRACEPOINT_LABEL.
13190 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
13191 (foo): Remove.
13192 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
13193 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
13194 macro.
13195 (func): Remove.
13196 (marker): Use FAST_TRACEPOINT_LABEL.
13197 * gdb.trace/trace-common.h: New header.
13198 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
13199 macro.
13200 (func): Remove.
13201 (marker): Use FAST_TRACEPOINT_LABEL.
13202 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
13203 (func): Remove.
13204 (thread_function): Use FAST_TRACEPOINT_LABEL.
13205
6e7675a7
MK
132062015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
13207
13208 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
13209 in front.
13210 * gdb.trace/change-loc.exp: Use global pcreg definition.
13211 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
13212 * gdb.trace/entry-values.exp: Use global spreg definition, add $
13213 in front.
13214 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
13215 * gdb.trace/pending.exp: Likewise.
13216 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
13217 * gdb.trace/trace-break.exp: Likewise.
13218 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
13219 in front.
13220 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
13221 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
13222 in front.
13223 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
13224
dddc0e16
JB
132252015-11-09 Joel Brobecker <brobecker@adacore.com>
13226
13227 * gdb.ada/fin_fun_out: New testcase.
13228
c6f0b406
KB
132292015-11-07 Kevin Buettner <kevinb@redhat.com>
13230
13231 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
13232 value associated with DW_AT_byte_size.
13233 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
13234 constants for DW_AT_byte_size, DW_AT_lower_bound, and
13235 DW_AT_upper_bound.
13236
f01dcfd9
KB
132372015-11-07 Kevin Buettner <kevinb@redhat.com>
13238
13239 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
13240 (gdb_target_symbol_prefix_flags): Define in terms of _asm
13241 version.
13242 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
13243 gdb.dwarf2/dw2-canonicalize-type.exp,
13244 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
13245 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
13246 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
13247 provided by gdb_target_symbol_prefix_flags_asm.
13248 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
13249 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
13250 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
13251 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
13252 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
13253 macros where needed). Use this macro for symbols which require
13254 the prefix provided by SYMBOL_PREFIX.
13255
2223449a
KB
132562015-11-05 Kevin Buettner <kevinb@redhat.com>
13257
13258 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
13259 New procs.
13260 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
13261 representing expressions, of more than one list element.
13262 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
13263 to prepend linker symbol prefix to f.
13264 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
13265 table_1 and table_2.
13266 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
13267 Likewise, for f and g.
13268 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
13269 for ptr.
13270 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
13271 for main.
13272 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
13273 table_1_ptr and table_2_ptr.
13274
6f2f1a3a
JK
132752015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13276 Joel Brobecker <brobecker@adacore.com>
13277
13278 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
13279
566c56c9
MK
132802015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
13281
13282 * gdb.reverse/s390-mvcle.c: New test.
13283 * gdb.reverse/s390-mvcle.exp: New file.
13284 * lib/gdb.exp: Enable reverse tests on s390*-linux.
13285
d5f0636b
MK
132862015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13287
13288 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
13289
7ad8b86c
MK
132902015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13291
13292 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
13293 reaching marker2.
13294 * gdb.reverse/getresuid-reverse.exp: Likewise.
13295 * gdb.reverse/pipe-reverse.exp: Likewise.
13296 * gdb.reverse/readv-reverse.exp: Likewise.
13297 * gdb.reverse/recvmsg-reverse.exp: Likewise.
13298 * gdb.reverse/time-reverse.exp: Likewise.
13299 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
13300
4081c0f1
YQ
133012015-10-30 Yao Qi <yao.qi@linaro.org>
13302
13303 * gdb.threads/wp-replication.c (watch_count_done): Remove.
13304 (empty_cycle): Remove.
13305 (main): Don't call empty_cycle. Don't use watch_count_done.
13306 * gdb.threads/wp-replication.exp: Don't set breakpoint on
13307 empty_cycle. Rewrite the code counting HW watchpoints.
13308
452b4ba5
MK
133092015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
13310
13311 * gdb.reverse/fstatat-reverse.c: New test.
13312 * gdb.reverse/fstatat-reverse.exp: New file.
13313 * gdb.reverse/getresuid-reverse.c: New test.
13314 * gdb.reverse/getresuid-reverse.exp: New file.
13315 * gdb.reverse/pipe-reverse.c: New test.
13316 * gdb.reverse/pipe-reverse.exp: New file.
13317 * gdb.reverse/readv-reverse.c: New test.
13318 * gdb.reverse/readv-reverse.exp: New file.
13319 * gdb.reverse/recvmsg-reverse.c: New test.
13320 * gdb.reverse/recvmsg-reverse.exp: New file.
13321 * gdb.reverse/time-reverse.c: New test.
13322 * gdb.reverse/time-reverse.exp: New file.
13323 * gdb.reverse/waitpid-reverse.c: New test.
13324 * gdb.reverse/waitpid-reverse.exp: New file.
13325
5e2e7507
JK
133262015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13327
13328 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
13329
0fde2c53
DE
133302015-10-26 Doug Evans <dje@google.com>
13331
13332 PR symtab/17391
13333 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
13334 * gdb.dwarf2/bad-regnum.c: New file.
13335 * gdb.dwarf2/bad-regnum.exp: New file.
13336
1a70ae97
DE
133372015-10-26 Doug Evans <dje@google.com>
13338
13339 PR python/18938
13340 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
13341 file.
13342
27dc26ab
JK
133432015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13344
13345 * gdb.compile/compile.exp (compile code globalvar): Update expectation
13346 for a change by "Mention language in compile error message".
13347
bed91f4d
SM
133482015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
13349
13350 PR python/18073
13351 * gdb.python/py-type.c (C::a_method): New.
13352 (C::a_const_method): New.
13353 (C::a_static_method): New.
13354 (a_function): New.
13355 * gdb.python/py-type.exp (test_fields): Test getting fields
13356 from function and method.
13357
3f2f83dd
KB
133582015-10-21 Keven Boell <keven.boell@intel.com>
13359
13360 * gdb.fortran/vla-alloc-assoc.exp: New file.
13361 * gdb.fortran/vla-datatypes.exp: New file.
13362 * gdb.fortran/vla-datatypes.f90: New file.
13363 * gdb.fortran/vla-history.exp: New file.
13364 * gdb.fortran/vla-ptype-sub.exp: New file.
13365 * gdb.fortran/vla-ptype.exp: New file.
13366 * gdb.fortran/vla-sizeof.exp: New file.
13367 * gdb.fortran/vla-sub.f90: New file.
13368 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
13369 * gdb.fortran/vla-value-sub-finish.exp: New file.
13370 * gdb.fortran/vla-value-sub.exp: New file.
13371 * gdb.fortran/vla-value.exp: New file.
13372 * gdb.fortran/vla-ptr-info.exp: New file.
13373 * gdb.mi/mi-vla-fortran.exp: New file.
13374 * gdb.mi/vla.f90: New file.
13375
27145d50
SL
133762015-10-21 Sandra Loosemore <sandra@codesourcery.com>
13377
13378 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
13379 of hardwired timeout value.
13380
5f3ff4f8
JK
133812015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13382 Pedro Alves <palves@redhat.com>
13383
13384 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
13385 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
13386
bfd09d20
JS
133872015-10-19 Josh Stone <jistone@redhat.com>
13388
13389 * gdb.base/catch-syscall.c: Include <sched.h>.
13390 (unknown_syscall): New variable.
13391 (main): Trigger a vfork and an unknown syscall.
13392 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
13393 (unknown_syscall_number): Likewise.
13394 (check_call_to_syscall): Accept an optional syscall pattern.
13395 (check_return_from_syscall): Likewise.
13396 (check_continue): Likewise.
13397 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
13398 (test_catch_syscall_skipping_return): New test toggling off 'catch
13399 syscall' to step over the syscall return, then toggling back on.
13400 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
13401 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
13402 (do_syscall_tests): Call test_catch_syscall_without_args and
13403 test_catch_syscall_mid_vfork.
13404 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
13405 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
13406
b32b93c6
AS
134072015-10-19 Andrew Stubbs <ams@codesourcery.com>
13408
13409 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
13410 print g_vE): Add new pass patterns.
13411 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
13412 print various symbol names for vptr fields.
13413
9d622bda
AB
134142015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
13415
13416 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
13417 results.
13418
0fd8ac1c
YQ
134192015-10-12 Yao Qi <yao.qi@linaro.org>
13420
13421 * gdb.arch/disp-step-insn-reloc.exp: New test case.
13422
34240514
YQ
134232015-10-12 Yao Qi <yao.qi@linaro.org>
13424
13425 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
13426 is aarch64*-*-linux*.
13427
8240f442
YQ
134282015-10-12 Yao Qi <yao.qi@linaro.org>
13429
13430 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
13431 (can_relocate_bcond_true): ... it.
13432 (can_relocate_bcond_false): New function.
13433 (foo): Likewise.
13434 (can_relocate_bl): Likewise.
13435 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
13436 can_relocate_bl.
13437
2520f728
PMR
134382015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
13439
13440 * gdb.base/nested-addr.c: New file.
13441 * gdb.base/nested-addr.exp: New testcase.
13442
abcef95a
MM
134432015-10-09 Markus Metzger <markus.t.metzger@intel.com>
13444
13445 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
13446 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
13447 its output. Ignore the output of "record goto begin" and instead
13448 check that GDB is replaying.
13449
145e3ddb
PA
134502015-10-09 Pedro Alves <palves@redhat.com>
13451
13452 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
13453 (top level): Use it in the run with no args test.
13454
d5d8c4e1
IB
134552015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
13456
13457 * gdb.dlang/properties.exp: New file.
13458
06e635ef
SL
134592015-10-02 Sandra Loosemore <sandra@codesourcery.com>
13460
13461 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
13462 whether or not address 0x1000 is mapped on the target.
13463
e019fd1d
SM
134642015-09-30 Simon Marchi <simon.marchi@ericsson.com>
13465
13466 * gdb.python/py-type.exp: Do not run tests if binaries fail to
13467 build.
13468
77ba2a67
MM
134692015-09-30 Markus Metzger <markus.t.metzger@intel.com>
13470
13471 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
13472 instruction-history test.
13473
c60eb31f
DE
134742015-09-28 Doug Evans <dje@google.com>
13475
13476 * gdb.base/gcore.c (array_func): Add reference to static_array.
13477
9a3c8263
SM
134782015-09-25 Simon Marchi <simon.marchi@ericsson.com>
13479
13480 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
13481 source line.
13482
9720e656
SL
134832015-09-24 Sandra Loosemore <sandra@codesourcery.com>
13484
13485 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
13486 short or char as base type.
13487
938d3bf2
SL
134882015-09-23 Sandra Loosemore <sandra@codesourcery.com>
13489
13490 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
13491 to allow any size enum.
13492
e6c2c623
PMR
134932015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
13494
13495 * gdb.ada/array_ptr_renaming.exp: New testcase.
13496 * gdb.ada/array_ptr_renaming/foo.adb: New file.
13497 * gdb.ada/array_ptr_renaming/pack.ads: New file.
13498
06da0f77
PL
134992015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13500
13501 * gdb.trace/ftrace-lock.c: New file.
13502 * gdb.trace/ftrace-lock.exp: New file.
13503
4f51c22a
PL
135042015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13505
13506 * gdb.arch/insn-reloc.c: New file.
13507 * gdb.arch/ftrace-insn-reloc.exp: New file.
13508
7041adf4
PL
135092015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13510
13511 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
13512 instruction.
13513 * gdb.trace/pendshr1.c (pendfunc): Likewise.
13514 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
13515 * gdb.trace/range-stepping.c: Likewise.
13516 * gdb.trace/trace-break.c: Likewise.
13517 * gdb.trace/trace-mt.c (thread_function): Likewise.
13518 * gdb.trace/ftrace.c (marker): Likewise.
13519 * gdb.trace/trace-condition.c (marker): Likewise.
13520 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
13521 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
13522 is_aarch64_target.
13523
015d2e7e
DE
135242015-09-18 Doug Evans <xdje42@gmail.com>
13525
13526 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
13527 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
13528
26b188a2
SL
135292015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13530
13531 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
13532 the breakpoint.
13533
79dc332b
SL
135342015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13535
13536 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
13537 the pending breakpoint. Remove timeout override for "Run till
13538 MI pending breakpoint on pendfunc3 on thread 2" test.
13539
f57929f2
SL
135402015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13541
13542 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
13543 filename pattern.
13544
3f469b17
SL
135452015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13546
13547 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
13548 in breakpoint filename pattern.
13549
515b89b3
SL
135502015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13551
7800dbe4
SL
13552 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
13553
135542015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13555
515b89b3
SL
13556 * gdb.linespec/explicit.exp: Check for readline support for
13557 tab-completion tests. Fix obvious typo.
13558
d2939ba2
MM
135592015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13560
13561 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
13562 and replay.
13563
cbb55fa7
MM
135642015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13565
13566 * gdb.btrace/non-stop.c: New.
13567 * gdb.btrace/non-stop.exp: New.
13568
43691ca1
PL
135692015-09-17 Pierre Langlois <pierre.langlois@arm.com>
13570 Yao Qi <yao.qi@linaro.org>
13571
13572 * gdb.trace/trace-condition.c: New file.
13573 * gdb.trace/trace-condition.exp: New file.
13574
d78908cf
WW
135752015-09-16 Wei-cheng Wang <cole945@gmail.com>
13576
13577 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
13578 for testing bytecode compilation.
13579
1ed415e2
PA
135802015-09-16 Pedro Alves <palves@redhat.com>
13581 Sandra Loosemore <sandra@codesourcery.com>
13582
13583 * gdb.threads/non-stop-fair-events.c (timeout): New global.
13584 (SECONDS): Redefine.
13585 (main): Call pthread_kill and alarm early.
13586 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
13587 support.
13588 (test): If the target can't hardware step and doesn't support
13589 displaced stepping, increase the timeout.
13590
d136eff5
PA
135912015-09-16 Pedro Alves <palves@redhat.com>
13592
13593 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
13594 (enable_debug): New procedures.
13595 (test): Use them. Bail out if waiting for threads fails.
13596 (top level): Bail out if a test fails.
13597
991f019c
YQ
135982015-09-16 Yao Qi <yao.qi@linaro.org>
13599
13600 * gdb.asm/asm-source.exp: Set asm-arch for
13601 aarch64*-*-* target.
13602 * gdb.asm/aarch64.inc: New file.
13603
bfca584f
PMR
136042015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
13605
13606 * gdb.ada/array_of_variable_length.exp: New testcase.
13607 * gdb.ada/array_of_variable_length/foo.adb: New file.
13608 * gdb.ada/array_of_variable_length/pck.adb: New file.
13609 * gdb.ada/array_of_variable_length/pck.ads: New file.
13610
b326e587
DE
136112015-09-15 Doug Evans <dje@google.com>
13612
13613 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
13614 of function static local variable.
13615
5382cfab
PW
136162015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13617
13618 * gdb.threads/tls-so_extern.exp: New test file.
13619 * gdb.threads/tls-so_extern.c: New test file.
13620 * gdb.threads/tls-so_extern_main.c: New test file.
13621
141c5cc4
JK
136222015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13623
13624 * gdb.opt/solib-intra-step-lib.c: New file.
13625 * gdb.opt/solib-intra-step-main.c: New file.
13626 * gdb.opt/solib-intra-step.exp: New file.
13627
d15dcecd
PA
136282015-09-15 Pedro Alves <palves@redhat.com>
13629
13630 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
13631 gdb_continue_to_breakpoint instead of gdb_test_multiple.
13632
4c2f2a79
PA
136332015-09-14 Pedro Alves <palves@redhat.com>
13634
13635 * gdb.base/hook-stop-continue.c: Delete.
13636 * gdb.base/hook-stop-continue.exp: Delete.
13637 * gdb.base/hook-stop-frame.c: Delete.
13638 * gdb.base/hook-stop-frame.exp: Delete.
13639 * gdb.base/hook-stop.c: New file.
13640 * gdb.base/hook-stop.exp: New file.
13641
919e6dbe
PMR
136422015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
13643
13644 * gdb.ada/access_to_packed_array.exp: New testcase.
13645 * gdb.ada/access_to_packed_array/foo.adb: New file.
13646 * gdb.ada/access_to_packed_array/pack.adb: New file.
13647 * gdb.ada/access_to_packed_array/pack.ads: New file.
13648
157280a4
MM
136492015-09-14 Markus Metzger <markus.t.metzger@intel.com>
13650
13651 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
13652 buffer size test.
13653
2fd33e94
DB
136542015-09-11 Don Breazeal <donb@codesourcery.com>
13655
13656 * gdb.base/foll-exec.c: Add copyright header. Fix
13657 formatting issues.
13658 * gdb.base/foll-exec.exp (zap_session): Delete proc.
13659 (do_exec_tests): Use clean_restart in place of zap_session,
13660 and for test initialization. Fix formatting issues. Use
13661 fail in place of perror.
13662 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
13663 an expect statement to match an expression with output from
13664 the program under debug.
13665 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
13666 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
13667 * gdb.threads/non-ldr-exc-2.exp: Likewise.
13668 * gdb.threads/non-ldr-exc-3.exp: Likewise.
13669 * gdb.threads/non-ldr-exc-4.exp: Likewise.
13670
e70b6e8e
DE
136712015-09-09 Doug Evans <dje@google.com>
13672
13673 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
13674
7a551a51
DE
136752015-09-09 Doug Evans <dje@google.com>
13676
13677 * gdb.base/pie-execl.exp: Fix result test of build_executable.
13678
4c666f84
DE
136792015-09-09 Doug Evans <dje@google.com>
13680
13681 * gdb.base/savedregs.exp: Fix typo.
13682
243a9253
PA
136832015-09-09 Pedro Alves <palves@redhat.com>
13684
13685 * gdb.mi/mi-cli.exp: Add CLI finish tests.
13686
c0fa8fbd
SL
136872015-09-08 Sandra Loosemore <sandra@codesourcery.com>
13688
13689 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
13690 command actually switches threads. Give up on remaining
13691 tests if target fails to stop at breakpoint.
13692
cd7c1778
PMR
136932015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
13694
13695 * gdb.ada/funcall_char.exp: New testcase.
13696 * gdb.ada/funcall_char/foo.adb: New file.
13697
dc5c8746
PMR
136982015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
13699
13700 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
13701 expected outputs. Add two testcases for completing ambiguous
13702 functions.
13703 * gdb.ada/complete/aux_pck.adb: New file.
13704 * gdb.ada/complete/aux_pck.ads: New file.
13705 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
13706 Ambiguous_Func functions.
13707 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
13708 * gdb.ada/complete/pck.adb: Likewise.
13709
4e83a1e7
UW
137102015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
13711
13712 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
13713 failures to run the test program under GDB.
13714
8ce74153
LM
137152015-08-26 Luis Machado <lgustavo@codesourcery.com>
13716
13717 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
13718 to C.
13719
e9756d52
PP
137202015-08-26 Patrick Palka <patrick@parcs.ath.cx>
13721
13722 * gdb.base/run-after-attach.exp: New test file.
13723 * gdb.base/run-after-attach.c: New test file.
13724
8d37573b
DB
137252015-08-26 Don Breazeal <donb@codesourcery.com>
13726
13727 * gdb.base/foll-exec-2.c: New test program.
13728 * gdb.base/foll-exec-2.exp: New test.
13729
63e43d3a
PMR
137302015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
13731
13732 * gdb.base/nested-subp1.exp: New file.
13733 * gdb.base/nested-subp1.c: New file.
13734 * gdb.base/nested-subp2.exp: New file.
13735 * gdb.base/nested-subp2.c: New file.
13736 * gdb.base/nested-subp3.exp: New file.
13737 * gdb.base/nested-subp3.c: New file.
13738
3d40fbb5
PA
137392015-08-24 Pedro Alves <palves@redhat.com>
13740
13741 * gdb.server/connect-without-multi-process.c: New file.
13742 * gdb.server/connect-without-multi-process.exp: New file.
13743
4422ac93
LM
137442015-08-24 Luis Machado <lgustavo@codesourcery.com>
13745
13746 * gdb.opt/inline-markers.c: Make z int.
13747
91dddb86
LM
137482015-08-24 Luis Machado <lgustavo@codesourcery.com>
13749
13750 * gdb.opt/inline-markers.c: Make z volatile.
13751
a48847ee
LM
137522015-08-24 Luis Machado <lgustavo@codesourcery.com>
13753
13754 * gdb.opt/inline-bt.c: New volatile global z.
13755 * gdb.opt/inline-cmds.c: Likewise.
13756 * gdb.opt/inline-locals.c: Likewise.
13757 * gdb.opt/inline-markers.c: New extern global z.
13758 (marker): Use z.
13759 (inline_fn): Likewise.
13760
0ebbc52b
PA
137612015-08-24 Pedro Alves <palves@redhat.com>
13762
13763 * config/m32r-stub.exp: Remove file.
13764 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
13765 * gdb.base/call-rt-st.exp: Likewise.
13766 * gdb.base/call-strs.exp: Likewise.
13767 * gdb.base/default.exp: Remove references to h8300-*-hms and
13768 *-*-udi*.
13769 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
13770
77c365df
AA
137712015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13772
13773 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
13774 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
13775 and "return" use KFAIL when GDB can not read/write the vector
13776 return value.
13777
4313b8c0
GB
137782015-08-21 Gary Benson <gbenson@redhat.com>
13779
13780 * gdb.trace/pending.exp: Cope with remote transfer warnings.
13781
0e433b32
PA
137822015-08-20 Pedro Alves <palves@redhat.com>
13783
13784 * gdb.server/solib-list.exp: No longer expect an interior stop in
13785 non-stop mode.
13786
221e1a37
PA
137872015-08-20 Pedro Alves <palves@redhat.com>
13788
13789 * gdb.server/connect-stopped-target.c: New file.
13790 * gdb.server/connect-stopped-target.exp: New file.
13791
40e3ad0e
PA
137922015-08-20 Pedro Alves <palves@redhat.com>
13793
13794 * gdb.dwarf2/comp-unit-lang.exp: New file.
13795 * gdb.dwarf2/comp-unit-lang.c: New file.
13796
af39b327
PMR
137972015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
13798
13799 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
13800 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
13801
7d45c7c3 138022015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 13803
7d45c7c3
KB
13804 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
13805 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
13806
4d6cceb4
DE
138072015-08-18 Doug Evans <dje@google.com>
13808 Adrian Sendroiu <adrian.sendroiu@freescale.com>
13809
13810 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
13811 skip_python_tests. New arg prompt_regexp.
13812 (skip_python_tests): New function.
13813 * lib/mi-support.exp (mi_skip_python_tests): New function.
13814 * gdb.python/py-mi-objfile-gdb.py: New file.
13815 * gdb.python/py-mi-objfile.c: New file.
13816 * gdb.python/py-mi-objfile.exp: New file.
13817
ad89c2aa
KS
138182015-08-17 Keith Seitz <keiths@redhat.com>
13819
13820 * gdb.linespec/explicit.exp: Move strace test from here ...
13821 * gdb.trace/strace.exp: ... to here.
13822
e3ae3c43
PP
138232015-08-15 Patrick Palka <patrick@parcs.ath.cx>
13824
13825 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
13826 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
13827
604b2636
DE
138282015-08-14 Doug Evans <xdje42@gmail.com>
13829
13830 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
13831 inferior before selecting a new file.
13832
6ff0ba5f
DE
138332015-08-14 Doug Evans <xdje42@gmail.com>
13834
13835 * gdb.mi/mi-disassemble.exp: Update.
13836 * gdb.base/disasm-optim.S: New file.
13837 * gdb.base/disasm-optim.c: New file.
13838 * gdb.base/disasm-optim.h: New file.
13839 * gdb.base/disasm-optim.exp: New file.
13840
9ca98f92
KS
138412015-08-14 Keith Seitz <keiths@redhat.com>
13842
13843 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
13844 "evaluated-by".
13845
52bbc560
JB
138462015-08-13 Joel Brobecker <brobecker@adacore.com>
13847
13848 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
13849
5d8c3ed3
PMR
138502015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
13851
13852 * gdb.ada/fun_renaming.exp: New testcase.
13853 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
13854 * gdb.ada/fun_renaming/pack.adb: New file.
13855 * gdb.ada/fun_renaming/pack.ads: New file.
13856
ea8812bc
KS
138572015-08-12 Keith Seitz <keiths@redhat.com>
13858
13859 * gdb.base/dso2dso.exp: Pass basename of source file in call to
13860 gdb_get_line_number.
13861
4dafcdeb
JB
138622015-08-12 Joel Brobecker <brobecker@adacore.com>
13863
13864 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
13865 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
13866 gdb.base/dso2dso.exp: New files.
13867
5ba32597
SDJ
138682015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
13869 Pedro Alves <palves@redhat.com>
13870 Keith Seitz <keiths@redhat.com>
13871
13872 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
13873 GDBFLAGS.
13874
b6dafabf
PP
138752015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13876
13877 * gdb.base/gdbhistsize-history.exp
13878 (test_histsize_history_setting): Use save_vars.
13879 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13880 Use save_vars.
13881 (test_no_truncation_of_unlimited_history_file): Use save_vars.
13882 * gdb.base/readline.exp: Use save_vars.
13883
abe8e607
PP
138842015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13885
13886 * lib/gdb.exp (save_vars): New proc.
13887
629500fa
KS
138882015-08-11 Keith Seitz <keiths@redhat.com>
13889
13890 * gdb.base/help.exp: Update help_breakpoint_text.
13891
eb8c4e2e
KS
138922015-08-11 Keith Seitz <keiths@redhat.com>
13893
13894 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13895 (at toplevel): Call test_explicit_breakpoints.
13896 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13897 breakpoints.
13898 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13899 breakpoint conditions, "-cond".
13900
87f0e720
KS
139012015-08-11 Keith Seitz <keiths@redhat.com>
13902
13903 * gdb.linespec/3explicit.c: New file.
13904 * gdb.linespec/cpexplicit.cc: New file.
13905 * gdb.linespec/cpexplicit.exp: New file.
13906 * gdb.linespec/explicit.c: New file.
13907 * gdb.linespec/explicit.exp: New file.
13908 * gdb.linespec/explicit2.c: New file.
13909 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13910 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13911 before using in the matching pattern.
13912 Clarify that `prefix' is a regular expression.
13913
f00aae0f
KS
139142015-08-11 Keith Seitz <keiths@redhat.com>
13915
13916 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13917 test.
13918 Add tests for missing ",FMT" and ",".
13919
e27852be
DE
139202015-08-10 Doug Evans <dje@google.com>
13921 Keith Seitz <keiths@redhat.com>
13922
13923 PR gdb/17960
13924 * gdb.base/completion.exp: Add location completer tests.
13925
7f03bd92
PA
139262015-08-07 Pedro Alves <palves@redhat.com>
13927
13928 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13929 tests here.
13930 (top level): Run do_test with and without displaced stepping.
13931
3fc8eb30
PA
139322015-08-07 Pedro Alves <palves@redhat.com>
13933
13934 * gdb.base/valgrind-disp-step.c: New file.
13935 * gdb.base/valgrind-disp-step.exp: New file.
13936
d4569d7b
PA
139372015-08-07 Pedro Alves <palves@redhat.com>
13938
13939 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13940 Delete function.
13941 (main): Add alarm. Run an infinite loop instead of calling
13942 wait_threads.
13943 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13944 comment.
13945 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13946 Delete function.
13947 (main): Add alarm. Run an infinite loop instead of calling
13948 wait_threads.
13949 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13950 comment.
13951
e1316e60
PA
139522015-08-07 Pedro Alves <palves@redhat.com>
13953
13954 * gdb.base/checkpoint-ns.exp: New file.
13955 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13956 standard_testfile.
13957
da8c46d2
MM
139582015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13959
13960 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13961 * gdb.btrace/instruction_history.exp: Update.
13962 * gdb.btrace/tsx.exp: New.
13963 * gdb.btrace/tsx.c: New.
13964
de1c2c52
PA
139652015-08-06 Pedro Alves <palves@redhat.com>
13966
13967 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13968 increase timeout.
13969 * gdb.reverse/until-precsave.exp: Bump timeouts.
13970
782e0bf4
PA
139712015-08-06 Pedro Alves <palves@redhat.com>
13972
13973 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13974
83e97ed0
PA
139752015-08-06 Pedro Alves <palves@redhat.com>
13976
13977 PR gdb/18749
13978 * gdb.threads/process-dies-while-handling-bp.c: New file.
13979 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13980
863d01bd
PA
139812015-08-06 Pedro Alves <palves@redhat.com>
13982
13983 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13984 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13985
0a39bb32
PA
139862015-08-05 Pedro Alves <palves@redhat.com>
13987
13988 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13989 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13990
ee2d2b10
SL
139912015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13992
13993 * gdb.base/bp-permanent.exp: Report test as unsupported if
13994 the target cannot stop at the permanent breakpoint.
13995
4e1bdb00
DE
139962015-08-03 Doug Evans <dje@google.com>
13997
13998 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13999 10000.
14000
3d338901
DE
140012015-08-03 Doug Evans <dje@google.com>
14002
14003 * Makefile.in (workers/%.worker, build-perf): New rule.
14004 (GDB_PERFTEST_MODE): New variable.
14005 (check-perf): Use it.
14006 (clean): Clean up gdb.perf parallel build subdirs.
14007 * lib/build-piece.exp: New file.
14008 * lib/gdb.exp (make_gdb_parallel_path): New function
14009 (standard_output_file, standard_temp_file): Call it.
14010 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14011 of $GDB_PARALLEL.
14012 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
14013
af061d3e
DE
140142015-08-03 Doug Evans <dje@google.com>
14015
8e1afc81 14016 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
14017 (LOG_FILE_NAME): New global.
14018 (TextReporter.__init__): Initialize self.txt_sum.
14019 (TextReporter.report): Add support for multiple data-points.
14020 Move report to perftest.sum, put raw data in perftest.log.
14021 (TextReporter.start): Open sum and log files.
14022 (TextReporter.end): Close sum and log files.
8e1afc81
DE
14023 * gdb.perf/lib/perftest/testresult.py
14024 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 14025
2c8c5d37
PA
140262015-07-31 Pedro Alves <palves@redhat.com>
14027
14028 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
14029 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14030 kill_wait_spawned_process instead of explicit "kill -9".
14031 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
14032 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14033 kill_wait_spawned_process.
14034 * gdb.base/attach-twice.exp: Likewise.
14035 * gdb.base/attach.exp: Likewise.
14036 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
14037 gdb_test_multiple.
14038 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
14039 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14040 kill_wait_spawned_process.
14041 * gdb.base/valgrind-infcall.exp: Likewise.
14042 * gdb.multi/multi-attach.exp: Likewise.
14043 * gdb.python/py-prompt.exp: Likewise.
14044 * gdb.python/py-sync-interp.exp: Likewise.
14045 * gdb.server/ext-attach.exp: Likewise.
14046 * gdb.threads/attach-into-signal.exp (corefunc): Use
14047 spawn_wait_for_attach, spawn_id_get_pid and
14048 kill_wait_spawned_process.
14049 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
14050 spawn_wait_for_attach returning a spawn id instead of a pid. Use
14051 spawn_id_get_pid and kill_wait_spawned_process.
14052 * gdb.threads/attach-stopped.exp (corefunc): Use
14053 spawn_wait_for_attach, spawn_id_get_pid and
14054 kill_wait_spawned_process.
14055 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
14056 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14057 kill_wait_spawned_process instead of explicit "kill -9".
14058 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
14059 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
14060 (spawn_wait_for_attach): Use spawn instead of exec to spawn
14061 processes. Don't map cygwin/windows pids here. Now returns a
14062 spawn id list.
14063
032a0fca
SL
140642015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14065
14066 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
14067 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
14068 correct patch.
14069
61a934ca
SL
140702015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14071
14072 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
14073
4bc4d428
SL
140742015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14075
14076 Reapply:
14077 2014-05-21 Mark Wielaard <mjw@redhat.com>
14078
14079 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14080
998d452a
PA
140812015-07-30 Pedro Alves <palves@redhat.com>
14082
14083 * linux-low.c (handle_extended_wait): Set the child's last
14084 reported status to TARGET_WAITKIND_STOPPED.
14085
69dde7dc
PA
140862015-07-30 Pedro Alves <palves@redhat.com>
14087
14088 PR threads/18600
14089 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
14090 only shows inferior 1.
14091
4dd63d48
PA
140922015-07-30 Simon Marchi <simon.marchi@ericsson.com>
14093 Pedro Alves <palves@redhat.com>
14094
14095 PR threads/18600
14096 * gdb.threads/fork-plus-threads.c: New file.
14097 * gdb.threads/fork-plus-threads.exp: New file.
14098
d618e4c5
PP
140992015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14100
14101 * gdb.base/batch-preserve-term-settings.exp
14102 (test_terminal_settings_preserved_after_cli_exit): Use
14103 send_quit_command.
14104
1eef6428
PA
141052015-07-29 Pedro Alves <palves@redhat.com>
14106 Don Breazeal <donb@codesourcery.com>
14107
14108 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
14109 output from both inferior_spawn_id and gdb_spawn_id.
14110
7da5b897
SDJ
141112015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14112
14113 * gdb.threads/attach-into-signal.exp (corefunc): Use
14114 with_test_prefix on nested loops, uniquefying the test messages.
14115
dac804df
SDJ
141162015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14117
14118 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
14119 commit.
14120
06265e53
PP
141212015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14122
14123 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
14124 New proc.
14125 (test_terminal_settings_preserved_after_sigterm): New test.
14126
18206ca3
PP
141272015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14128
14129 * gdb.base/batch-preserve-term-settings.exp
14130 (test_terminal_settings_preserved_after_cli_exit): New test.
14131
90074d11
PP
141322015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14133
14134 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
14135 manipulation of saved_gdbflags.
14136 (test_terminal_settings_preserved): Remove global declaration of
14137 the unused variable pagination_prompt. Remove manipulation of
14138 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
14139 GDBFLAGS.
14140
eb1a7902
PA
141412015-07-29 Pedro Alves <palves@redhat.com>
14142
14143 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
14144
8b75dd3b
PA
141452015-07-29 Pedro Alves <palves@redhat.com>
14146
14147 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
14148 at the top.
14149
dedad4e3
PA
141502015-07-29 Pedro Alves <palves@redhat.com>
14151
14152 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
14153 (main): Call gdb_unbuffer_output.
14154 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
14155 (main): Call gdb_unbuffer_output.
14156 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
14157 (main): Call gdb_unbuffer_output.
14158 * gdb.base/call-strs.exp: Adjust to step over the
14159 gdb_unbuffer_output call.
14160 * gdb.base/catch-gdb-caused-signals.c: Include
14161 "../lib/unbuffer_output.c".
14162 (main): Call gdb_unbuffer_output.
14163 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
14164 (main): Call gdb_unbuffer_output.
14165 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
14166 (main): Call gdb_unbuffer_output.
14167 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
14168 (main): Call gdb_unbuffer_output.
14169 * gdb.base/shlib-call.exp: Adjust to step over the
14170 gdb_unbuffer_output call.
14171 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
14172 (main): Call gdb_unbuffer_output.
14173 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
14174 (main): Call gdb_unbuffer_output.
14175 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
14176 (main): Rename to ...
14177 (test): ... this.
14178 (main): Reimplement.
14179 * gdb.base/varargs.exp: Run to test instead of to main.
14180 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14181 (main): Call gdb_unbuffer_output.
14182
58789a91
PA
141832015-07-29 Pedro Alves <palves@redhat.com>
14184
14185 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
14186 factore out from mi_continue_dprintf. For call-style dprintfs,
14187 expect dprintf output out of $inferior_spawn_id.
14188 (mi_continue_dprintf): Use mi_expect_dprintf.
14189 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14190 (main): Call gdb_unbuffer_output.
14191
e8376742
PA
141922015-07-29 Pedro Alves <palves@redhat.com>
14193
14194 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
14195 (default_mi_gdb_start): Set inferior_spawn_id instead of
14196 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
14197 gdb_spawn_id.
14198 (mi_gdb_test): Always expect inferior output from both
14199 $inferior_spawn_id and $gdb_spawn_id.
14200
08280010
PA
142012015-07-29 Pedro Alves <palves@redhat.com>
14202
14203 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
14204 send_inferior and $inferior_spawn_id.
14205
4d30e432
PA
142062015-07-29 Pedro Alves <palves@redhat.com>
14207
14208 * gdb.gdb/complaints.exp (test_initial_complaints)
14209 (test_serial_complaints, test_short_complaints): Use
14210 gdb_test_stdio.
14211 (test_empty_complaint): Handle $inferior_spawn_id !=
14212 $gdb_spawn_id.
14213
0d30a335
PA
142142015-07-29 Pedro Alves <palves@redhat.com>
14215
14216 * gdb.base/varargs.exp: Use gdb_test_stdio.
14217
39413b29
PA
142182015-07-29 Pedro Alves <palves@redhat.com>
14219
14220 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
14221
7cb000a9
PA
142222015-07-29 Pedro Alves <palves@redhat.com>
14223
14224 * gdb.base/ending-run.exp: Use gdb_test_stdio.
14225
d7b8ac82
PA
142262015-07-29 Pedro Alves <palves@redhat.com>
14227
14228 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
14229 parameter into two new parameters, "inf_result" and "gdb_result".
14230 Expect inferior output and gdb output from $inferior_spawn_id and
14231 $gdb_spawn_id, respectively. Adjust all callers.
14232
789c3a0c
PA
142332015-07-29 Pedro Alves <palves@redhat.com>
14234
14235 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
14236 of gdb_test_sequence.
14237
77e760c3
PA
142382015-07-29 Pedro Alves <palves@redhat.com>
14239
14240 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
14241 (saw_spurious_output): Expect inferior output from
14242 $inferior_spawn_id. Use gdb_test_stdio.
14243
8396d2cd
PA
142442015-07-29 Pedro Alves <palves@redhat.com>
14245
14246 * gdb.base/dprintf.exp: Use standard_testfile. Change
14247 prepare_for_testing call.
14248 (srcfile): Don't set.
14249 (restart): New procedure.
14250 (test_dprintf): New procecure, use to continue over dprintfs.
14251 (test_call, test_agent): New procedures, tests moved here.
14252 Restart gdb and recreate dprintfs. Adjust expected output.
14253
2051d61f
PA
142542015-07-29 Pedro Alves <palves@redhat.com>
14255
14256 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
14257
452397af
PA
142582015-07-29 Pedro Alves <palves@redhat.com>
14259
14260 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
14261
8aed9555
PA
142622015-07-29 Pedro Alves <palves@redhat.com>
14263
14264 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
14265 gdb_test_stdio.
14266
188a61b4
PA
142672015-07-29 Pedro Alves <palves@redhat.com>
14268
14269 * lib/gdb.exp (gdb_test_stdio): New procedure.
14270
12264a45
PA
142712015-07-29 Pedro Alves <palves@redhat.com>
14272
14273 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
14274
23ffc893
PA
142752015-07-29 Pedro Alves <palves@redhat.com>
14276
14277 * gdb.base/call-signal-resume.exp: Remove check for
14278 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
14279 * gdb.base/unwindonsignal.exp: Likewise.
14280 * gdb.base/call-signals.c (gen_signal): Remove printf call.
14281 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
14282
65566918
PA
142832015-07-29 Pedro Alves <palves@redhat.com>
14284
14285 * gdb.base/siginfo-addr.c (pass): New function.
14286 (handler): Call it iff si_addr is correct.
14287 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
14288 Set a breakpoint at "pass" and continue to it.
14289
d60a9221
SDJ
142902015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
14291
14292 * gdb.python/py-objfile.exp: Make some tests have unique names.
14293 * gdb.python/py-pp-registration.exp: Likewise.
14294
bde40b8f
PA
142952015-07-28 Pedro Alves <palves@redhat.com>
14296
14297 * gdb.server/server-exec-info.exp: Issue a "disconnect".
14298
13e1dec8
SM
142992015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14300
14301 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
14302
da33c9a7
SM
143032015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14304
14305 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
14306
077836f7
PP
143072015-07-27 Patrick Palka <patrick@parcs.ath.cx>
14308
14309 * gdb.base/gdb-sigterm-2.exp: New test.
14310
b8cc7b2e
DE
143112015-07-25 Doug Evans <xdje42@gmail.com>
14312
14313 Revert:
14314 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14315 (workers/%.worker, build-perf): New rule.
14316 (GDB_PERFTEST_MODE): New variable.
14317 (check-perf): Use it.
14318 (clean): Clean up gdb.perf parallel build subdirs.
14319 * lib/build-piece.exp: New file.
14320 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14321 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14322 name.
14323 (standard_temp_file): Ditto.
14324 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14325 of $GDB_PARALLEL.
14326
c8bd4544
DE
143272015-07-24 Doug Evans <dje@google.com>
14328
14329 * gdb.perf/lib/perftest/utils.py: New file.
14330 * gdb.perf/gm-hello.cc: New file.
14331 * gdb.perf/gm-pervasive-typedef.cc: New file.
14332 * gdb.perf/gm-pervasive-typedef.h: New file.
14333 * gdb.perf/gm-std.cc: New file.
14334 * gdb.perf/gm-std.h: New file.
14335 * gdb.perf/gm-use-cerr.cc: New file.
14336 * gdb.perf/gm-utils.h: New file.
14337 * gdb.perf/gmonster-null-lookup.py: New file.
14338 * gdb.perf/gmonster-pervasive-typedef.py: New file.
14339 * gdb.perf/gmonster-print-cerr.py: New file.
14340 * gdb.perf/gmonster-ptype-string.py: New file.
14341 * gdb.perf/gmonster-runto-main.py: New file.
14342 * gdb.perf/gmonster-select-file.py: New file.
14343 * gdb.perf/gmonster1-null-lookup.exp: New file.
14344 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
14345 * gdb.perf/gmonster1-print-cerr.exp: New file.
14346 * gdb.perf/gmonster1-ptype-string.exp: New file.
14347 * gdb.perf/gmonster1-runto-main.exp: New file.
14348 * gdb.perf/gmonster1-select-file.exp: New file.
14349 * gdb.perf/gmonster1.cc: New file.
14350 * gdb.perf/gmonster1.exp: New file.
14351 * gdb.perf/gmonster2-null-lookup.exp: New file.
14352 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
14353 * gdb.perf/gmonster2-print-cerr.exp: New file.
14354 * gdb.perf/gmonster2-ptype-string.exp: New file.
14355 * gdb.perf/gmonster2-runto-main.exp: New file.
14356 * gdb.perf/gmonster2-select-file.exp: New file.
14357 * gdb.perf/gmonster2.cc: New file.
14358 * gdb.perf/gmonster2.exp: New file.
14359
6eab34f3
DE
143602015-07-24 Doug Evans <dje@google.com>
14361
14362 * gdb.perf/README: New file.
14363 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
14364 * lib/gen-perf-test.exp: New file.
14365
63738bfd
DE
143662015-07-24 Doug Evans <dje@google.com>
14367
14368 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
14369 (PerfTest::startup): New function.
14370 (PerfTest::run): Return result of calling body.
14371 (PerfTest::assemble): Rewrite.
14372 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
14373 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
14374 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
14375 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
14376 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
14377
7b606f95
DE
143782015-07-24 Doug Evans <dje@google.com>
14379
14380 * lib/gdb.exp (clean_restart): Make executable optional.
14381
a97b16b8
DE
143822015-07-24 Doug Evans <dje@google.com>
14383
14384 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
14385 compiler_info references.
14386 * gdb.cp/temargs.exp: Ditto.
14387 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
14388 (get_compiler_info): Early exit if already computed. Set compiler_info
14389 to "unknown" if there was a problem.
14390 (test_compiler_info): Add function comment. Call get_compiler_info.
14391
35baa57f
DE
143922015-07-24 Doug Evans <dje@google.com>
14393
14394 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14395 (workers/%.worker, build-perf): New rule.
14396 (GDB_PERFTEST_MODE): New variable.
14397 (check-perf): Use it.
14398 (clean): Clean up gdb.perf parallel build subdirs.
14399 * lib/build-piece.exp: New file.
14400 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14401 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14402 name.
14403 (standard_temp_file): Ditto.
14404 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14405 of $GDB_PARALLEL.
14406
6ebea266
DE
144072015-07-24 Doug Evans <dje@google.com>
14408
14409 * lib/future.exp (gdb_default_target_compile): New option
14410 "early_flags".
14411 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
14412 --as-needed.
14413
1e76a7e9
SDJ
144142015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
14415
14416 * gdb.base/catch-syscall.exp: Call gdb_exit before
14417 gdb_skip_xml_test.
14418
5068630a
PA
144192015-07-24 Pedro Alves <palves@redhat.com>
14420
14421 * gdb.python/py-events.exp: Accept output between the stop event
14422 and the prompt.
14423 * gdb.python/py-evsignal.exp: Likewise.
14424 * gdb.python/py-evthreads.exp: Likewise.
14425
77598427
PA
144262015-07-24 Pedro Alves <palves@redhat.com>
14427
14428 PR gdb/18717
14429 * gdb.threads/non-ldr-exit.c: New file.
14430 * gdb.threads/non-ldr-exit.exp: New file.
14431
11e6c98f
YQ
144322015-07-24 Yao Qi <yao.qi@linaro.org>
14433
14434 * gdb.server/ext-wrapper.exp: Test --wrapper option when
14435 restarting process.
14436
51aee833
YQ
144372015-07-24 Yao Qi <yao.qi@linaro.org>
14438
14439 * gdb.server/ext-restart.exp: New file.
14440
8cfe207c
YQ
144412015-07-24 Yao Qi <yao.qi@linaro.org>
14442
14443 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
14444 argument options.
14445 * gdb.server/ext-wrapper.exp: New file.
14446
cc12ce38
DE
144472015-07-23 Doug Evans <dje@google.com>
14448
14449 * gdb.dwarf2/dw2-dummy-cu.S: New file.
14450 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
14451
d0d84780
PMR
144522015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
14453
14454 * gdb.ada/var_arr_typedef.exp: New testcase.
14455 * gdb.ada/var_arr_typedef/pack.adb: New file.
14456 * gdb.ada/var_arr_typedef/pack.ads: New file.
14457 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
14458
8b558f79
JB
144592015-07-20 Joel Brobecker <brobecker@adacore.com>
14460
14461 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
14462
775a3298
JK
144632015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14464
14465 * gdb.arch/i386-biarch-core.exp: Replace istarget
14466 by "complete set gnutarget". Remove expectation for the "core-file"
14467 command.
14468
db1ff28b
JK
144692015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14470
14471 Revert the previous commit:
14472 Tests for validate symbol file using build-id.
14473
0a94970d
JK
144742015-07-15 Aleksandar Ristovski <aristovski@qnx.com
14475
14476 Tests for validate symbol file using build-id.
14477 * gdb.base/solib-mismatch-lib.c: New file.
14478 * gdb.base/solib-mismatch-libmod.c: New file.
14479 * gdb.base/solib-mismatch.c: New file.
14480 * gdb.base/solib-mismatch.exp: New file.
14481
03346981
SL
144822015-07-15 Sandra Loosemore <sandra@codesourcery.com>
14483
14484 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
14485 nios2-*-linux*.
14486 * gdb.base/sigbpt.exp (stepi_out): Likewise.
14487 * gdb.base/siginfo.exp: Likewise.
14488 * gdb.base/sigstep.exp (advance, advancei): Likewise.
14489
42422cc7
PL
144902015-07-15 Pierre Langlois <pierre.langlois@arm.com>
14491
14492 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
14493 Move it to ...
14494 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
14495 ... here.
14496 * gdb.trace/range-stepping.exp: Check that the target supports
14497 range stepping.
14498
cfa68bae
JK
144992015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14500
14501 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
14502
8ffdba26
PA
145032015-07-14 Pedro Alves <palves@redhat.com>
14504
14505 * gdb.base/killed-outside.exp: New file.
14506 * gdb.base/killed-outside.c: New file.
14507
218a5a11
JK
145082015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14509
14510 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
14511 (n at main): New.
14512 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
14513
e03ed3c6
AA
145142015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14515
14516 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
14517 infcall tests instead of setting up for KFAIL.
14518
485668e5
MM
145192015-07-10 Markus Metzger <markus.t.metzger@intel.com>
14520
14521 * gdb.btrace/record_goto-step.exp: New.
14522
08464196
JK
145232015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14524
14525 PR compile/18484
14526 * gdb.compile/compile.c (struct struct_type): Add volatile to
14527 selffield's type.
14528 * gdb.compile/compile.exp
14529 (compile code struct_object.selffield = &struct_object): Skip further
14530 struct_object tests if this one xfails.
14531
bcf5c1d9
RC
145322015-07-08 Robert O'Callahan <robert@ocallahan.org>
14533
14534 PR exp/18617
14535 * gdb.trace/ax.exp: Add test.
14536
4931af25
YQ
145372015-07-07 Yao Qi <yao.qi@linaro.org>
14538
14539 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
14540 instead of istarget "aarch64*-*-*".
14541 * gdb.arch/aarch64-fp.exp: Likewise.
14542 * gdb.base/float.exp: Likewise.
14543 * gdb.reverse/aarch64.exp: Likewise.
14544 * lib/gdb.exp (is_aarch64_target): New proc.
14545
9fcf688e
YQ
145462015-07-07 Yao Qi <yao.qi@linaro.org>
14547
14548 * lib/gdb.exp (is_aarch32_target): New proc.
14549 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
14550 instead of "istarget "arm*-*-*"".
14551 * gdb.arch/arm-disp-step.exp: Likewise.
14552 * gdb.arch/thumb-bx-pc.exp: Likewise.
14553 * gdb.arch/thumb-prologue.exp: Likewise.
14554 * gdb.arch/thumb-singlestep.exp: Likewise.
14555 * gdb.base/disp-step-syscall.exp: Likewise.
14556 * gdb.base/float.exp: Likewise.
14557
fbd8d50d
YQ
145582015-07-07 Yao Qi <yao.qi@linaro.org>
14559
14560 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
14561 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
14562
71be1fdc
YQ
145632015-07-07 Yao Qi <yao.qi@linaro.org>
14564
14565 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
14566 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
14567 if it exists.
14568 * gdb.multi/multi-arch.exp: Likewise.
14569
3e221d36
SM
145702015-07-07 Simon Marchi <simon.marchi@ericsson.com>
14571
14572 * gdb.python/py-lazy-string.exp: Add missing parentheses to
14573 print.
14574
d441430b
YQ
145752015-07-07 Yao Qi <yao.qi@linaro.org>
14576
14577 * gdb.arch/thumb-singlestep.exp: Do one more single step.
14578
06f810bd
MG
145792015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
14580
14581 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
14582 '[' and ']' characters.
14583
5e61e7c0
IB
145842015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
14585
14586 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14587
28bf096c
PA
145882015-06-29 Pedro Alves <palves@redhat.com>
14589
14590 PR threads/18127
14591 * gdb.threads/hand-call-new-thread.c: New file.
14592 * gdb.threads/hand-call-new-thread.c: New file.
14593
ee93cd5e
KS
145942015-06-26 Keith Seitz <keiths@redhat.com>
14595 Doug Evans <dje@google.com>
14596
14597 PR 16253
14598 * gdb.cp/var-tag-2.cc: New file.
14599 * gdb.cp/var-tag-3.cc: New file.
14600 * gdb.cp/var-tag-4.cc: New file.
14601 * gdb.cp/var-tag.cc: New file.
14602 * gdb.cp/var-tag.exp: New file.
14603
fc637f04
PP
146042015-06-26 Patrick Palka <patrick@parcs.ath.cx>
14605
14606 * gdb.base/history-duplicates.exp: New test.
14607
2e52ae68
PP
146082015-06-26 Patrick Palka <patrick@parcs.ath.cx>
14609
14610 * gdb.base/completion.exp: Test the completion of the "focus"
14611 command.
14612
6e22494e
JK
146132015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14614
14615 * gdb.arch/amd64-prologue-skip.S: New file.
14616 * gdb.arch/amd64-prologue-skip.exp: New file.
14617
bf7b9cd9
SM
146182015-06-25 Simon Marchi <simon.marchi@ericsson.com>
14619
14620 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
14621 is_address_zero_readable check.
14622
201e8dfd
PB
146232015-06-24 Peter Bergner <bergner@vnet.ibm.com>
14624
14625 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
14626 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
14627
5cd867b4
YQ
146282015-06-24 Yao Qi <yao.qi@linaro.org>
14629
14630 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
14631 linux targets.
14632
4d7be007
YQ
146332015-06-24 Yao Qi <yao.qi@linaro.org>
14634
14635 * lib/gdb.exp (supports_get_siginfo_type): New proc.
14636 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
14637 * gdb.base/siginfo-thread.exp: Likewise.
14638
07fcd301
YQ
146392015-06-22 Yao Qi <yao.qi@linaro.org>
14640
14641 * boards/remote-gdbserver-on-localhost.exp: Add comments.
14642
52042a00
YQ
146432015-06-22 Yao Qi <yao.qi@linaro.org>
14644
14645 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
14646 aarch64*-*-*.
14647 (skip_hw_watchpoint_tests): Likewise.
14648
74bd41ce
PP
146492015-06-18 Patrick Palka <patrick@parcs.ath.cx>
14650
14651 * gdb.base/gdbinit-history.exp: Test the interaction between
14652 setting GDBHISTSIZE and setting the history size via .gdbinit.
14653
bc460514
PP
146542015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14655
14656 PR gdb/16999
14657 * gdb.base/gdbhistsize-history.exp: New test.
14658
b58c513b
PP
146592015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14660
14661 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
14662 with GDBHISTSIZE.
14663 * gdb.base/readline.exp: Likewise.
14664
92046791
YQ
146652015-06-17 Yao Qi <yao.qi@linaro.org>
14666
14667 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
14668 line.
14669
2093d2d3
PP
146702015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14671
14672 * gdb.base/gdbinit-history.exp: Add test case to check that
14673 an unlimited history file does not get truncated on exit.
14674
e6c693af
AA
146752015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14676
14677 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
14678 (VECTOR): New macro. Use it...
14679 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
14680 ...for these typedefs.
14681 (int8, char1, int1, double1): New typedefs.
14682 (struct just_int2, struct two_int2): New structures.
14683 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
14684 (add_structvecs, add_singlevecs): New functions.
14685 (main): Call add_some_intvecs twice.
14686 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
14687 the compile and exit upon failure. Try compiling for the "native"
14688 architecture. Test inferior function calls with vector arguments
14689 and vector return value handling with "finish" and "return".
14690
c74f7d1c
JT
146912015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
14692
14693 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
14694 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
14695 PE file.
14696 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
14697
98aa42ee
AT
146982015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14699
14700 PR breakpoints/16465
14701 * gdb.mi/mi-dprintf-pending.c: New file.
14702 * gdb.mi/mi-dprintf-pending.exp: New test.
14703 * gdb.mi/mi-dprintf-pendshr.c: New file.
14704
7d73c23c 147052015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 14706 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
14707
14708 * gdb.arch/i386-mpx-map.c: New file.
14709 * gdb.arch/i386-mpx-map.exp: New File.
14710
147112015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14712
14713 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
14714 * gdb.arch/i386-mpx.exp: Indentation fixed.
14715
147162015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14717
14718 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
14719 function and improved indentation.
14720 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
14721 gdb_test_multiple. Added additional tests to skip the test.
14722
147232015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14724
14725 * gdb.arch/i386-avx512.c: Change path in include file.
14726 * gdb.arch/i386-avx512.exp: Change include dir path
14727 compilation flag.
14728 * gdb.arch/i386-mpx.c: Change path in include file.
14729 * gdb.arch/i386-mpx.exp: Change include dir path compilation
14730 flag.
14731
d5eba19a
JK
147322015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14733
14734 * gdb.compile/compile-print.exp (compile print *vararray@3)
14735 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
14736
7f361056
JK
147372015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14738
14739 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
14740 (do not keep jit in memory): ... this.
14741 (expect 5): Change it to ...
14742 (expect no 5): ... this.
14743
3b462ec2
SM
147442015-06-02 Simon Marchi <simon.marchi@ericsson.com>
14745
14746 PR gdb/15564
14747 * gdb.mi/mi-detach.exp: New file.
14748
e0619de6
JK
147492015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14750
14751 PR symtab/18392
14752 * gdb.arch/amd64-tailcall-self.S: New file.
14753 * gdb.arch/amd64-tailcall-self.c: New file.
14754 * gdb.arch/amd64-tailcall-self.exp: New file.
14755
e970cb34
DB
147562015-05-28 Don Breazeal <donb@codesourcery.com>
14757
14758 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
14759 tests for remote targets by checking is_target_gdbserver.
14760
b2e2f908
DE
147612015-05-27 Doug Evans <dje@google.com>
14762
14763 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
14764 * gdb.dwarf2/opaque-type-lookup.c: New file.
14765 * gdb.dwarf2/opaque-type-lookup.exp: New file.
14766
82c7be31
DE
147672015-05-26 Doug Evans <dje@google.com>
14768
14769 * gdb.cp/iostream.cc: New file.
14770 * gdb.cp/iostream.exp: New file.
14771
b4f54984
DE
147722015-05-26 Doug Evans <dje@google.com>
14773
14774 * gdb.dwarf2/dw2-op-call.exp: Update.
14775 * gdb.dwarf2/dw4-sig-types.exp: Update.
14776 * gdb.dwarf2/implptr.exp: Update.
14777 * gdb.mi/mi-cmd-param-changed.exp: Update.
14778
4ea6efe9
DE
147792015-05-26 Doug Evans <dje@google.com>
14780
14781 * gdb.python/py-lazy-string.c: New file.
14782 * gdb.python/py-lazy-string.exp: New file.
14783 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
14784 (main): Update. Add estring3.
14785 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
14786 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
14787
f6bb7db3
YQ
147882015-05-26 Omair Javaid <omair.javaid@linaro.org>
14789 Yao Qi <yao.qi@linaro.org>
14790
14791 * gdb.reverse/aarch64.c: New.
14792 * gdb.reverse/aarch64.exp: New.
14793
a81bfbd0
OJ
147942015-05-26 Omair Javaid <omair.javaid@linaro.org>
14795
25d49b86
PA
14796 * lib/gdb.exp (supports_process_record): Return true for
14797 aarch64*-linux*.
a81bfbd0
OJ
14798 (supports_reverse): Likewise.
14799
158bf1b4
PP
148002015-05-22 Patrick Palka <patrick@parcs.ath.cx>
14801
14802 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14803 Use with_test_prefix.
14804
a0145030
AB
148052015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
14806
14807 * gdb.base/completion.exp: Add test for completion of layout
14808 names.
14809
ebe3b578
AB
148102015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
14811
14812 * lib/gdb.exp (skip_tui_tests): New proc.
14813 * gdb.base/tui-layout.exp: Check skip_tui_tests.
14814
84204ed7
PA
148152015-05-19 Pedro Alves <palves@redhat.com>
14816
14817 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14818 Save the whole env array instead of just HOME. Unset HISTSIZE in
14819 the environment while testing. Restore whole environment
14820 afterwards.
14821
37442ce1
DE
148222015-05-16 Doug Evans <xdje42@gmail.com>
14823
14824 * gdb.guile/scm-ports.c: New file.
14825 * gdb.guile/scm-ports.exp: Add memory port tests.
14826
36de76f9
JK
148272015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14828
14829 * gdb.compile/compile-print.c: New file.
14830 * gdb.compile/compile-print.exp: New file.
14831
3a9558c4
JK
148322015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14833
14834 * gdb.compile/compile-ops.exp: Cast param to void.
14835 * gdb.compile/compile.exp: Complete type for _gdb_expr.
14836 (compile code struct_object.selffield = &struct_object): Add xfail.
14837
aa715135
JG
148382015-05-15 Joel Brobecker <brobecker@adacore.com>
14839
14840 * gdb.ada/arr_enum_with_gap: New testcase.
14841
931e5bc3
JG
148422015-05-15 Joel Brobecker <brobecker@adacore.com>
14843
14844 * gdb.ada/byte_packed_arr: New testcase.
14845
9cd4d857
JB
148462015-05-15 Joel Brobecker <brobecker@adacore.com>
14847
14848 * gdb.ada/pckd_neg: New testcase.
14849
ebfd00d2
PP
148502015-05-13 Patrick Palka <patrick@parcs.ath.cx>
14851
14852 PR gdb/17820
14853 * gdb.base/gdbinit-history.exp: New test.
14854 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
14855 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
14856
4c082a81
SC
148572015-05-09 Siva Chandra Reddy <sivachandra@google.com>
14858
14859 * gdb.python/py-xmethods.cc: Enhance test case.
14860 * gdb.python/py-xmethods.exp: New tests.
14861 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
14862 function.
14863 (B_indexoper): Likewise.
14864 (global_dm_list) : Add new xmethod worker functions.
14865
f7797074
SDJ
148662015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
14867
14868 * gdb.base/coredump-filter.exp: Correctly unset
14869 "coredump_var_addr" array.
14870
a4674e4e
PA
148712015-05-08 Pedro Alves <palves@redhat.com>
14872
14873 * gdb.server/non-existing-program.exp: Unset spawn_id.
14874
df2eb078
SC
148752015-05-08 Siva Chandra Reddy <sivachandra@google.com>
14876
14877 PR python/18291
14878 * gdb.python/py-xmethods.exp: Add tests.
14879
422349a3
YQ
148802015-05-08 Yao Qi <yao.qi@linaro.org>
14881
14882 PR gdb/18208
14883 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14884 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
14885 function set_coredump_filter, and remove remote_exec call.
14886 Remove argument ipid. Callers update.
14887 (top level): Don't get inferior's PID.
14888
63fc80ce
AA
148892015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14890
14891 * gdb.base/watch_thread_num.exp: Skip test on targets without
14892 access watchpoints.
14893
80ad801e
PA
148942015-05-06 Pedro Alves <palves@redhat.com>
14895
14896 PR server/18081
14897 * gdb.server/non-existing-program.exp: New file.
14898
0fa7fe50
JB
148992015-05-05 Joel Brobecker <brobecker@adacore.com>
14900
14901 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14902
3ea89b92
PMR
149032015-05-05 Joel Brobecker <brobecker@adacore.com>
14904
14905 * gdb.ada/out_of_line_in_inlined: New testcase.
14906
87b8eff0
JB
149072015-05-05 Joel Brobecker <brobecker@adacore.com>
14908
14909 * gdb.ada/var_rec_arr: New testcase.
14910
5fccc635
YQ
149112015-04-30 Yao Qi <yao.qi@linaro.org>
14912
14913 * gdb.base/break-idempotent.exp: If
14914 skip_hw_watchpoint_multi_tests returns true, skip the tests
14915 on "rwatch" and "awatch".
14916
42d38f42
YQ
149172015-04-30 Yao Qi <yao.qi@linaro.org>
14918
14919 * gdb.base/relativedebug.exp: Invoke gdb command
14920 "info sharedlibrary", and if libc.so doesn't have debug info,
14921 skip the test.
14922
2ce1cdbf
DE
149232015-04-29 Doug Evans <dje@google.com>
14924
14925 * gdb.python/py-xmethods.exp: Add ptype tests.
14926 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14927 get_result_type method.
14928
f24a38c5
LM
149292015-04-29 Luis Machado <lgustavo@codesourcery.com>
14930
14931 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14932 the target does not support hardware watchpoints.
14933
ecbf2b3c
LM
149342015-04-29 Luis Machado <lgustavo@codesourcery.com>
14935
14936 * gdb.base/break-always.exp: Abort testing if writing to memory
14937 causes an error.
14938
34f5f757
DE
149392015-04-28 Doug Evans <dje@google.com>
14940
14941 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14942 * gdb.python/py-pp-registration.exp: ... here. New file.
14943 * gdb.python/py-pp-registration.c: New file.
14944 * gdb.python/py-pp-registration.py: New file.
14945
69b4374a
DE
149462015-04-28 Doug Evans <dje@google.com>
14947
14948 * gdb.python/py-bad-printers.c: New file.
14949 * gdb.python/py-bad-printers.py: New file.
14950 * gdb.python/py-bad-printers.exp: New file.
14951
59fb7612
SS
149522015-04-28 Sasha Smundak <asmundak@google.com>
14953
14954 * gdb.python/py-type.exp: New test.
14955
2631b16a
AW
149562015-04-28 Andy Wingo <wingo@igalia.com>
14957
14958 * gdb.python/py-parameter.exp:
14959 * gdb.guile/scm-parameter.exp: Escape the path that we are
14960 matching against, as it might contain characters that are special
14961 to regular expressions.
14962
460efde1
JB
149632015-04-27 Joel Brobecker <brobecker@adacore.com>
14964
14965 * gdb.ada/rec_comp: New testcase.
14966
2d369d8e
SDJ
149672015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14968
14969 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14970 before using it.
14971
cf75d6c3
AB
149722015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14973
14974 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14975 new tests for verilog output.
14976
8dbe7ca5
YQ
149772015-04-24 Yao Qi <yao.qi@linaro.org>
14978
14979 * boards/remote-gdbserver-on-localhost.exp: New file.
14980
4ef9fb2f
PA
149812015-04-23 Pedro Alves <palves@redhat.com>
14982
14983 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14984 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14985 "end of file", remove $inferior_spawn_id from the indirect list.
14986
0a803169
PA
149872015-04-23 Pedro Alves <palves@redhat.com>
14988
14989 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14990
749ef8f8
PA
149912015-04-23 Pedro Alves <palves@redhat.com>
14992
14993 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14994 on $any_spawn_id instead of only on $gdb_spawn_id.
14995
8aae4344
PM
149962015-04-21 Pierre Muller <muller@sourceware.org>
14997
14998 PR pascal/17815
14999 * lib/pascal.exp (gpc_compile): Add new option "class".
15000 (fpc_compile): Likewise.
15001 * gdb.pascal/case-insensitive-symbols.pas: New file.
15002 * gdb.pascal/case-insensitive-symbols.exp: New file.
15003
1586c8fb
GB
150042015-04-20 Gary Benson <gbenson@redhat.com>
15005
15006 * gdb.base/attach.exp: Fix three extended remote failures.
15007
1b6e6f5c
GB
150082015-04-17 Gary Benson <gbenson@redhat.com>
15009
15010 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
15011 the main executable over the remote protocol.
15012
e797481d
PA
150132015-04-16 Pedro Alves <palves@redhat.com>
15014
15015 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
15016 a new gdbserver if gdbserver_reconnect_p is set.
15017
1ca99c42
PA
150182015-04-16 Pedro Alves <palves@redhat.com>
15019
15020 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
15021 is set, don't exit gdbserver.
15022
af9fd6f8
AA
150232015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15024
15025 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
15026 appropriate .insn, such that an older assembler can be used.
15027 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
15028 the z/Architecture instruction set on 31-bit targets as well.
15029
04ff1e61
AA
150302015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15031
15032 * gdb.go/handcall.exp: Remove all logic related to the first
15033 breakpoint and rely on go_runto_main instead.
15034 * gdb.go/strings.exp: Likewise.
15035 * gdb.go/unsafe.exp: Likewise.
15036 * gdb.go/hello.exp: Likewise. Also rename the remaining
15037 breakpoint marker to "breakpoint 1".
15038 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
15039 * gdb.go/strings.go: Likewise.
15040 * gdb.go/unsafe.go: Likewise.
15041 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
15042 "set breakpoint 2 here" and rename the remaining breakpoint marker
15043 to "breakpoint 1".
15044
40d2f8d6
SM
150452015-04-15 Simon Marchi <simon.marchi@ericsson.com>
15046
15047 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
15048 if itertools.imap is not present.
15049 * gdb.python/py-objfile.exp: Add parentheses.
15050 * gdb.python/py-type.exp: Same.
15051 * gdb.python/py-unwind-maint.py: Same.
15052
8cbc97c6
YQ
150532015-04-15 Yao Qi <yao.qi@linaro.org>
15054
15055 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
15056 of ":$ptr_size" and set its form explicitly.
15057
45fd756c
YQ
150582015-04-15 Pedro Alves <palves@redhat.com>
15059 Yao Qi <yao.qi@linaro.org>
15060
15061 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
15062 timeout by factor of 4.
15063 (test_regular_watch): Likewise.
15064 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
15065 * gdb.reverse/sigall-reverse.exp: Likewise.
15066 * gdb.reverse/until-precsave.exp: Likewise.
15067 * lib/gdb.exp (with_timeout_factor): New proc.
15068 (gdb_expect): Move some code to ...
15069 (get_largest_timeout): ... here. New procedure.
15070
9e811bc3
LM
150712015-04-14 Luis Machado <lgustavo@codesourcery.com>
15072
15073 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
15074
0ff6fcb2
LM
150752015-04-13 Luis Machado <lgustavo@codesourcery.com>
15076
15077 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
15078 to write to the .text section.
15079
7578d5f7
LM
150802015-04-13 Luis Machado <lgustavo@codesourcery.com>
15081
15082 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
15083 Handle the case of targets that do not provide PID information.
15084
2efe15c4
YQ
150852015-04-13 Yao Qi <yao.qi@linaro.org>
15086
15087 * lib/gdbserver-support.exp (gdb_exit): Catch exception
15088 and use expect instead of gdb_expect.
15089
8cd8f2f8
SDJ
150902015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
15091
15092 * gdb.base/coredump-filter.exp: Rename variable "addr" to
15093 "coredump_var_addr" to avoid naming conflict with other testcases.
15094
9ee41772
PA
150952015-04-10 Pedro Alves <palves@redhat.com>
15096
15097 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
15098 gdb_test_sequence and gdb_assert.
15099
07473109
PA
151002015-04-10 Pedro Alves <palves@redhat.com>
15101
15102 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
15103 test messages that don't include the breakpoint address.
15104
de3db44c
YQ
151052015-04-10 Yao Qi <yao.qi@linaro.org>
15106
15107 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
15108 false for some offset and width combinations which aren't
15109 supported by linux kernel.
15110
c79d856c
PA
151112015-04-10 Pedro Alves <palves@redhat.com>
15112
15113 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
15114 procedure, factored out from ...
15115 (top level): ... here. Add "set displaced-stepping" testing axis.
15116 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
15117 parameter "displaced". Use it.
15118 (top level): Use foreach and add "set displaced-stepping" testing
15119 axis.
15120
ebc90b50
PA
151212015-04-10 Pedro Alves <palves@redhat.com>
15122
15123 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
15124 Remove comment.
15125 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
15126 both the address of the instruction that triggers the watchpoint
15127 and the address of the instruction immediately after, and use
15128 those addresses for the test. Fix comment.
15129
8f572e5c
PA
151302015-04-10 Pedro Alves <palves@redhat.com>
15131
15132 * gdb.base/sigstep.exp (breakpoint_to_handler)
15133 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
15134 Test "backtrace" in handler.
15135 (breakpoint_over_handler): New parameter 'displaced'. Use it.
15136 (top level): Add new "displaced" test axis to
15137 breakpoint_to_handler, breakpoint_to_handler_entry and
15138 breakpoint_over_handler.
15139
8d707a12
PA
151402015-04-10 Pedro Alves <palves@redhat.com>
15141
15142 PR gdb/18216
15143 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
15144
ef713951
YQ
151452015-04-10 Yao Qi <yao.qi@linaro.org>
15146
15147 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
15148 (test_add_rn_pc): New function.
15149 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
15150 (top level): Invoke test_add_rn_pc.
15151
906d60cf
PA
151522015-04-10 Pedro Alves <palves@redhat.com>
15153
15154 PR gdb/13858
15155 * gdb.base/step-over-no-symbols.exp: New file.
15156
f2983cc3
AW
151572015-04-09 Andy Wingo <wingo@igalia.com>
15158
15159 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
15160 after the Python tests.
15161
6d62641c
SDJ
151622015-04-08 Keith Seitz <keiths@redhat.com>
15163
15164 PR python/16699
15165 * gdb.python/py-completion.exp: New tests for completion.
15166 * gdb.python/py-completion.py (CompleteLimit1): New class.
15167 (CompleteLimit2): Likewise.
15168 (CompleteLimit3): Likewise.
15169 (CompleteLimit4): Likewise.
15170 (CompleteLimit5): Likewise.
15171 (CompleteLimit6): Likewise.
15172 (CompleteLimit7): Likewise.
15173
f3770638
PA
151742015-04-08 Pedro Alves <palves@redhat.com>
15175
15176 PR gdb/18214
15177 PR gdb/18216
15178 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
15179 function.
15180 (main): Install it as SIGUSR1 handler.
15181 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
15182 parameter. Always use "setup" as prefix. Toggle "set
15183 displaced-stepping" off/on depending on global. Don't switch to
15184 thread 1 here.
15185 (top level): Add displaced stepping "off/on" test axis. Update
15186 "setup" calls. Wrap each subtest with with_test_prefix. Test
15187 continuing with a queued signal in each thread.
15188
4496bed7
PA
151892015-04-08 Pedro Alves <palves@redhat.com>
15190
15191 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
15192 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
15193 gdb_breakpoint instead of gdb_test that doesn't expect anything.
15194 Return early if running to main fails.
15195 * gdb.trace/while-stepping.exp: Likewise.
15196
b97fde92
PA
151972015-04-07 Pedro Alves <palves@redhat.com>
15198
15199 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
15200 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
15201 interact with inferior program.
15202
f71c18e7
PA
152032015-04-07 Pedro Alves <palves@redhat.com>
15204
15205 * lib/gdb.exp (inferior_spawn_id): New global.
15206 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
15207 spawn id after processing the user code.
15208 (default_gdb_start): Set inferior_spawn_id.
15209 (send_inferior): New procedure.
15210 * lib/gdbserver-support.exp (gdbserver_start): Set
15211 inferior_spawn_id.
15212 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
15213
6423214f
PA
152142015-04-07 Pedro Alves <palves@redhat.com>
15215
15216 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
15217 * lib/gdbserver-support.exp (gdbserver_start): Make
15218 $server_spawn_id global.
15219 (gdbserver_start): Don't wait for gdbserver's spawn id with
15220 expect_background.
15221 (close_gdbserver): New procedure.
15222 (gdb_exit): Rename the default version and reimplement.
15223
71c0ee8c
PA
152242015-04-07 Pedro Alves <palves@redhat.com>
15225
72f4393d 15226 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
15227 append the substituted item, not the original item.
15228
203bc29b
PA
152292015-04-07 Pedro Alves <palves@redhat.com>
15230
15231 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
15232 gdb_expect.
15233
508a3ddf
PA
152342015-04-07 Pedro Alves <palves@redhat.com>
15235
15236 * gdb.base/interrupt.exp: Don't handle the case of the inferior
15237 output appearing once only.
15238
9f6dbe2b
PA
152392015-04-07 Pedro Alves <palves@redhat.com>
15240
15241 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
15242 that doesn't expect anything. Return early if running to main
15243 fails.
15244
337532fa
YQ
152452015-04-07 Yao Qi <yao.qi@linaro.org>
15246
15247 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
15248 (child_function): Call alarm.
15249 (main): Move call to alarm into the loop.
15250 * gdb.threads/non-stop-fair-events.exp: Build program with
15251 -DTIMEOUT=$timeout.
15252
01b622d4
DE
152532015-04-06 Doug Evans <xdje42@gmail.com>
15254
15255 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
15256 Fix dest parameter to board_info.
15257 (fpc_compile): Ditto.
15258 (gdb_compile_pascal): Rename dest arg to destfile.
15259
961f4160
PMR
152602015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
15261
15262 * gdb.ada/funcall_ref.exp: New file.
15263 * gdb.ada/funcall_ref/foo.adb: New file.
15264
cafda597
YQ
152652015-04-02 Yao Qi <yao.qi@linaro.org>
15266
15267 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
15268 is remote.
15269
fed040c6
GB
152702015-04-02 Gary Benson <gbenson@redhat.com>
15271
15272 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
15273
d11916aa
SS
152742015-04-01 Sasha Smundak <asmundak@google.com>
15275
15276 * gdb.python/py-unwind-maint.c: New file.
15277 * gdb.python/py-unwind-maint.exp: New test.
15278 * gdb.python/py-unwind-maint.py: New file.
15279 * gdb.python/py-unwind.c: New file.
15280 * gdb.python/py-unwind.exp: New test.
15281 * gdb.python/py-unwind.py: New test.
15282
a1471180
PA
152832015-04-01 Pedro Alves <palves@redhat.com>
15284
15285 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
15286 to fail instead of non-existent $test.
15287
0bbeccb1
PA
152882015-04-01 Pedro Alves <palves@redhat.com>
15289
15290 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
15291 GDBFLAGS if not empty.
15292
3c724c8c
PMR
152932015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
15294
15295 * gdb.ada/complete.exp: Remove "multi_line".
15296 * gdb.ada/info_exc.exp: Remove "multi_line".
15297 * gdb.ada/packed_tagged.exp: Remove "multi_line".
15298 * gdb.ada/ptype_field.exp: Remove "multi_line".
15299 * gdb.ada/sym_print_name.exp: Remove "multi_line".
15300 * gdb.ada/tagged.exp: Remove "multi_line".
15301 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
15302 [multi_line ...]
15303 * gdb.btrace/delta.exp: Likewise.
15304 * gdb.btrace/exception.exp: Likewise.
15305 * gdb.btrace/function_call_history.exp: Likewise.
15306 * gdb.btrace/instruction_history.exp: Likewise.
15307 * gdb.btrace/nohist.exp: Likewise.
15308 * gdb.btrace/record_goto.exp: Likewise.
15309 * gdb.btrace/segv.exp: Likewise.
15310 * gdb.btrace/stepi.exp: Likewise.
15311 * gdb.btrace/tailcall.exp: Likewise.
15312 * gdb.btrace/unknown_functions.exp: Likewise.
15313 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
15314 * lib/gdb.exp: Add the "multi_line" helper.
15315
4eec2deb
PA
153162015-04-01 Pedro Alves <palves@redhat.com>
15317
15318 * gdb.threads/tid-reuse.c: New file.
15319 * gdb.threads/tid-reuse.exp: New file.
15320
df8411da
SDJ
153212015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
15322
15323 PR corefiles/16092
15324 * gdb.base/coredump-filter.c: New file.
15325 * gdb.base/coredump-filter.exp: Likewise.
15326
6ef37366
PM
153272015-03-27 Petr Machata <pmachata@redhat.com>
15328
15329 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
15330 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
15331 (Dwarf::assemble): Initialize them.
15332 (Dwarf::lines): New function.
15333
7ec911b0
JT
153342015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
15335
15336 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
15337 SYMBOL_PREFIX for x86_64-*-cygwin.
15338
ff908ebf
AW
153392015-03-26 Andy Wingo <wingo@igalia.com>
15340
15341 PR symtab/18148
15342 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
15343 const_value but not a location.
15344 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
15345 location defined in non-main CUs are visible.
15346
6d5f0679
YQ
153472015-03-26 Yao Qi <yao.qi@linaro.org>
15348
15349 PR testsuite/18139
15350 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
15351 Add a line number entry for the same line.
15352 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
15353 Add a line number entry for the same line.
15354
2898689b
YQ
153552015-03-26 Yao Qi <yao.qi@linaro.org>
15356
15357 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
15358 .int 0.
15359 (func): Likewise. Add .Lfunc_1 label.
15360 Use .Lfunc_1 label.
15361 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
15362 .int 0.
15363 (func): Likewise.
15364 Use .Lfunc_1 label.
15365
85180498
YQ
153662015-03-26 Yao Qi <yao.qi@linaro.org>
15367
15368 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
15369 Call gdb_compile instead to compile each .s files without debug
15370 information.
15371
8aa08a8d
YQ
153722015-03-26 Yao Qi <yao.qi@linaro.org>
15373
15374 * gdb.base/savedregs.exp (process_saved_regs): Make
15375 "Saved registers:" optional in the pattern.
15376
66849923
MM
153772015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15378
15379 * gdb.btrace/next.exp: Merged into step.exp.
15380 * gdb.btrace/finish.exp: Merged into step.exp.
15381 * gdb.btrace/nexti.exp: Merged into stepi.exp.
15382 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
15383 "record goto" and checking the exact replay position.
15384 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
15385 check for "Recording format" in "info record" output.
15386 * gdb.btrace/record_goto.exp: Choose test file based on target.
15387 * gdb.btrace/x86-record_goto.S: Renamed into ...
15388 * gdb.btrace/x86_64-record_goto.S: ... this.
15389 * gdb.btrace/i686-record_goto.S: New.
15390 * gdb.btrace/x86-tailcall.S: Renamed into ...
15391 * gdb.btrace/x86_64-tailcall.S: ... this.
15392 * gdb.btrace/i686-tailcall.S: New.
15393 * gdb.btrace/x86-tailcall.c: Renamed into ...
15394 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
15395 separate statements. Update test.
15396 * gdb.btrace/delta.exp: Use record_goto.c as test file.
15397 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
15398 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
15399 * gdb.btrace/tailcall.exp: Choose test file based on target.
15400 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
15401
11cc1b74
MM
154022015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15403
15404 * gdb.btrace/exception.exp: Increase BTS buffer size.
15405
a25d8bf9
PA
154062015-03-24 Pedro Alves <palves@redhat.com>
15407
15408 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
15409
856e7dd6
PA
154102015-03-24 Pedro Alves <palves@redhat.com>
15411
15412 * gdb.threads/schedlock.exp (test_step): No longer expect that
15413 "set scheduler-locking step" with "next" over a function call runs
15414 threads unlocked.
15415
ad235a41
AT
154162015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15417
15418 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
15419
15630549
AT
154202015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15421
15422 PR breakpoints/16466
15423 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
15424 * gdb.mi/mi-pending.c (thread_func): New function.
15425 (int main): Add threading support required.
15426 * gdb.mi/mi-pending.exp: Add tests for this issue.
15427 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
15428 (pendfunc2): Remove stdio dependency.
15429 * gdb.mi/mi-pendshr2.c: New file.
15430
693dca06
KS
154312015-03-23 Keith Seitz <keiths@redhat.com>
15432
15433 * gdb.linespec/keywords.c: New file.
15434 * gdb.linespec/keywords.exp: New file.
15435
7e993ebf
KS
154362015-03-23 Keith Seitz <keiths@redhat.com>
15437
15438 PR gdb/18021
15439 * gdb.dwarf2/staticvirtual.exp: New test.
15440
bc23328c
JK
154412015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15442
15443 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
15444 * README: Remove HP-UX and gdb.hp.
15445 (configuration):
15446 * configure: Regenerate.
15447 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
15448 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
15449 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
15450 gdb.hp/gdb.defects/Makefile.
15451 * gdb.hp/Makefile.in: File deleted.
15452 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
15453 * gdb.hp/gdb.aCC/optimize.c: File deleted.
15454 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
15455 * gdb.hp/gdb.aCC/run.c: File deleted.
15456 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
15457 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
15458 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
15459 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
15460 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
15461 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
15462 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
15463 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
15464 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
15465 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
15466 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
15467 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
15468 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
15469 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
15470 * gdb.hp/gdb.base-hp/reg.s: File deleted.
15471 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
15472 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
15473 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
15474 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
15475 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
15476 * gdb.hp/gdb.compat/Makefile.in: File deleted.
15477 * gdb.hp/gdb.compat/average.c: File deleted.
15478 * gdb.hp/gdb.compat/sum.c: File deleted.
15479 * gdb.hp/gdb.compat/xdb.c: File deleted.
15480 * gdb.hp/gdb.compat/xdb0.c: File deleted.
15481 * gdb.hp/gdb.compat/xdb0.h: File deleted.
15482 * gdb.hp/gdb.compat/xdb1.c: File deleted.
15483 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
15484 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
15485 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
15486 * gdb.hp/gdb.defects/Makefile.in: File deleted.
15487 * gdb.hp/gdb.defects/bs14602.c: File deleted.
15488 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
15489 * gdb.hp/gdb.defects/solib-d.c: File deleted.
15490 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
15491 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
15492 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
15493 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
15494 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
15495 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
15496 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
15497 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
15498 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
15499 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
15500 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
15501 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
15502 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
15503 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
15504 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
15505 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
15506 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
15507 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
15508 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
15509 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
15510 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
15511 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
15512 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
15513 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
15514 * gdb.hp/tools/odump: File deleted.
15515
8bf3b159
PA
155162015-03-19 Pedro Alves <palves@redhat.com>
15517
15518 * gdb.threads/continue-pending-status.exp (saw_thread_2)
15519 (saw_thread_3): New globals.
15520 (top level): Increment them when an event for the corresponding
15521 thread is seen.
15522 (no thread starvation): New test.
15523
eb54c8bf
PA
155242015-03-19 Pedro Alves <palves@redhat.com>
15525
15526 * gdb.threads/continue-pending-status.c: New file.
15527 * gdb.threads/continue-pending-status.exp: New file.
15528
32d2e5d6
PA
155292015-03-18 Pedro Alves <palves@redhat.com>
15530
15531 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15532 Use gdb_is_target_remote instead of is_remote. Use
15533 gdb_test_multiple instead of gdb_expect. Exit early if
15534 gdb_test_multiple hits its internal matches. Tighten stepi tests
15535 expected output. Fail on exit with any signal, instead of just
15536 SIGILL.
15537
f68f11b7
YQ
155382015-03-18 Yao Qi <yao.qi@linaro.org>
15539
15540 PR tdep/18107
15541 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
15542 variable.
15543 * gdb.base/catch-syscall.exp: Don't skip it on
15544 aarch64*-*-linux* target. Remove elements in all_syscalls.
15545 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
15546 target.
15547 (setup_all_syscalls): New proc.
15548
ca5fd19b
YQ
155492015-03-16 Yao Qi <yao.qi@linaro.org>
15550
15551 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
15552 (top level): Skip tests if valid_addr_p returns false for
15553 $cmd1 or $cmd2.
15554
85642ba0
AW
155552015-03-11 Andy Wingo <wingo@igalia.com>
15556
15557 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
15558
e03f9645
YQ
155592015-03-11 Yao Qi <yao.qi@linaro.org>
15560
15561 * gdb.base/catch-syscall.exp: Fix typo in comments.
15562
5d0962b2
YQ
155632015-03-11 Yao Qi <yao.qi@linaro.org>
15564
15565 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
15566
b2df3cef
PA
155672015-03-09 Pedro Alves <palves@redhat.com>
15568
15569 * dg-extract-results.py: Delete.
15570
ef878e53
PA
155712015-03-09 Pedro Alves <palves@redhat.com>
15572
15573 Merge dg-extract-results.sh from GCC upstream (r218843).
15574
15575 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
15576 * dg-extract-results.sh: Use --text with grep to avoid issues with
15577 binary files. Fall back to cat -v, if that doesn't work.
15578
9494d219
PA
155792015-03-05 Pedro Alves <palves@redhat.com>
15580
15581 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
15582
a8d9763a
SM
155832015-03-04 Simon Marchi <simon.marchi@ericsson.com>
15584
15585 * lib/mi-support.exp (mi_expect_interrupt): Accept
15586 alternative event for when in all-stop mode.
15587
be9957b8
PA
155882015-03-04 Pedro Alves <palves@redhat.com>
15589
15590 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
15591
d57be0f4 155922015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
15593
15594 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
15595
c214c7cf
AA
155962015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
15597
15598 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
15599 regexps for GDB's current line display, accept a hex address
15600 preceding the line number.
15601
6d74a497
AA
156022015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
15603
15604 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
15605 the 'arch1' variable for "s390*-linux*" targets.
15606
511aee7c
PA
156072015-03-04 Pedro Alves <palves@redhat.com>
15608
15609 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
15610 (main): Pass missing retval argument to pthread_join call.
15611
95e50b27
PA
156122015-03-02 Pedro Alves <palves@redhat.com>
15613
15614 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
15615 (top level): Call do_test with non-stop as well.
15616
28054d69
PA
156172015-03-02 Pedro Alves <palves@redhat.com>
15618
15619 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
15620 -1.
15621
4fa5d7b4
AA
156222015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15623
15624 * gdb.arch/s390-vregs.exp: New test.
15625 * gdb.arch/s390-vregs.S: New file.
15626
97c18565
PA
156272015-02-27 Pedro Alves <palves@redhat.com>
15628
15629 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
15630 call to catch_command_errors.
15631 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
15632 catch_command_errors.
15633
a37bfa30
PA
156342015-02-27 Pedro Alves <palves@redhat.com>
15635
15636 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
15637 "true" for boolean result.
15638 * gdb.gdb/selftest.exp (test_with_self): Also accept full
15639 prototype of main.
15640
6f98576f
PA
156412015-02-27 Pedro Alves <palves@redhat.com>
15642
15643 * lib/unbuffer_output.c: New file.
15644 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
15645 (main): Call gdb_unbuffer_output.
15646
eba5ab56
YQ
156472015-02-27 Yao Qi <yao.qi@linaro.org>
15648
15649 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
15650 target.
15651
0def5aaa
DE
156522015-02-26 Doug Evans <dje@google.com>
15653
15654 * gdb.cp/class2.cc (Dbase, D): New classes.
15655 (main): New local delta.
15656 * gdb.cp/class2.exp: Test printing delta.
15657 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
15658 (dynbar): New global.
15659 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
15660
081a1c2c
JK
156612015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15662
15663 * gdb.compile/compile-ifunc.c: New file.
15664 * gdb.compile/compile-ifunc.exp: New file.
15665
2f41223f
AT
156662015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
15667
15668 * gdb.base/structs.exp: Check for correct struct on finish.
15669
03eddd80
YQ
156702015-02-26 Yao Qi <yao.qi@linaro.org>
15671
15672 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
15673 is zero.
15674
80c57053
JK
156752015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15676
15677 * gdb.arch/cordic.ko.bz2: New file.
15678 * gdb.arch/cordic.ko.debug.bz2: New file.
15679 * gdb.arch/ppc64-symtab-cordic.exp: New file.
15680
21613c12
YQ
156812015-02-25 Yao Qi <yao.qi@linaro.org>
15682
15683 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
15684 aarch64*-*-* target.
15685
d8b901ed
PA
156862015-02-23 Pedro Alves <palves@redhat.com>
15687
15688 * lib/gdb.exp (delete_breakpoints): Rewrite using
15689 gdb_test_multiple.
15690
e5b85ead
PA
156912015-02-23 Pedro Alves <palves@redhat.com>
15692
15693 * gdb.base/info-os.c: Include stdlib.h.
15694
85c3a371
DE
156952015-02-22 Doug Evans <xdje42@gmail.com>
15696
15697 PR symtab/17855
15698 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
15699 is read after symbols have been re-read.
15700 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
15701 * gdb.ada/exec_changed/second.adb (Second): Ditto.
15702
96553a0c
DE
157032015-02-21 Doug Evans <dje@google.com>
15704
15705 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
15706
97a0c697
JK
157072015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15708
15709 PR corefiles/17808
15710 * gdb.arch/i386-biarch-core.core.bz2: New file.
15711 * gdb.arch/i386-biarch-core.exp: New file.
15712
a47cd6e9
PA
157132015-02-21 Pedro Alves <palves@redhat.com>
15714
15715 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
15716 runto_main fails.
15717
c5facdc4
PA
157182015-02-20 Pedro Alves <palves@redhat.com>
15719
15720 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
15721 info probes.
15722
2db9a427
PA
157232015-02-20 Pedro Alves <palves@redhat.com>
15724
15725 * gdb.threads/multi-create-ns-info-thr.exp: New file.
15726
60fb7e9e
PA
157272015-02-20 Pedro Alves <palves@redhat.com>
15728
15729 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
15730 clean_restart before gdb_target_supports_trace.
15731
5c5019c2
PA
157322015-02-20 Pedro Alves <palves@redhat.com>
15733
15734 PR threads/18006
15735 * gdb.threads/clone-thread_db.c: New file.
15736 * gdb.threads/clone-thread_db.exp: New file.
15737
c9587f88
AT
157382015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
15739
15740 PR breakpoints/16812
15741 * gdb.base/catch-gdb-caused-signals.c: New file.
15742 * gdb.base/catch-gdb-caused-signals.exp: New file.
15743
f6a88844
JM
157442015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
15745
15746 * configure: Regenerated.
15747 * configure.ac: Use GDB_AC_TRANSFORM.
15748 * aclocal.m4: sinclude ../transform.m4.
15749
497c491b
JM
157502015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15751
15752 * lib/dtrace.exp: New file.
15753 * gdb.base/dtrace-probe.exp: Likewise.
15754 * gdb.base/dtrace-probe.d: Likewise.
15755 * gdb.base/dtrace-probe.c: Likewise.
15756 * lib/pdtrace.in: Likewise.
15757 * configure.ac: Output variables with the transformed names of
15758 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
15759 * configure: Regenerated.
15760
03e98035
JM
157612015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15762
15763 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
15764 expected message when trying to access $_probe_* convenience
15765 variables while not on a probe.
15766
63cc30e9
JK
157672015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15768
15769 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
15770
0703599a
PA
157712015-02-11 Pedro Alves <pedro@codesourcery.com>
15772
15773 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
15774 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
15775
7e60a48e
DE
157762015-02-10 Doug Evans <xdje42@gmail.com>
15777
15778 * lib/gdb.exp (gdb_load): Always return a result.
15779
01b088bc
PA
157802015-02-10 Pedro Alves <palves@redhat.com>
15781
15782 * gdb.threads/signal-sigtrap.c: New file.
15783 * gdb.threads/signal-sigtrap.exp: New file.
15784
b05ec7a5
AT
157852015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
15786
15787 * gdb.trace/no-attach-trace.c: New file.
15788 * gdb.trace/no-attach-trace.exp: New file.
15789
a2c2acaf
MW
157902015-02-09 Mark Wielaard <mjw@redhat.com>
15791
15792 * gdb.dwarf2/atomic.c: New file.
15793 * gdb.dwarf2/atomic-type.exp: Likewise.
15794
31fd9caa
MM
157952015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15796
15797 * gdb.btrace/buffer-size.exp: Update "info record" output.
15798 * gdb.btrace/delta.exp: Update "info record" output.
15799 * gdb.btrace/enable.exp: Update "info record" output.
15800 * gdb.btrace/finish.exp: Update "info record" output.
15801 * gdb.btrace/instruction_history.exp: Update "info record" output.
15802 * gdb.btrace/next.exp: Update "info record" output.
15803 * gdb.btrace/nexti.exp: Update "info record" output.
15804 * gdb.btrace/step.exp: Update "info record" output.
15805 * gdb.btrace/stepi.exp: Update "info record" output.
15806 * gdb.btrace/nohist.exp: Update "info record" output.
15807
d33501a5
MM
158082015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15809
15810 * gdb.btrace/buffer-size: New.
15811
f4abbc16
MM
158122015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15813
15814 * gdb.btrace/delta.exp: Update "info record" output.
15815 * gdb.btrace/enable.exp: Update "info record" output.
15816 * gdb.btrace/finish.exp: Update "info record" output.
15817 * gdb.btrace/instruction_history.exp: Update "info record" output.
15818 * gdb.btrace/next.exp: Update "info record" output.
15819 * gdb.btrace/nexti.exp: Update "info record" output.
15820 * gdb.btrace/step.exp: Update "info record" output.
15821 * gdb.btrace/stepi.exp: Update "info record" output.
15822 * gdb.btrace/nohist.exp: Update "info record" output.
15823
b9d61307
SM
158242015-02-06 Simon Marchi <simon.marchi@ericsson.com>
15825
15826 PR gdb/15678
15827 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
15828
e584fdbc
PA
158292015-02-06 Pedro Alves <palves@redhat.com>
15830
15831 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
15832 macro.
15833 (seconds_left, again): New globals.
15834 (main): Wait seconds_left in a 1-second sleep loop instead of
15835 sleeping 180 seconds. If 'again' is set, reset the seconds
15836 counter.
15837 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
15838 'again' in the inferior before detaching. Print the seconds left.
15839 (options): New global.
15840 (top level): Build program with -DTIMEOUT=$timeout.
15841
77f41761
PA
158422015-02-06 Pedro Alves <palves@redhat.com>
15843
15844 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
15845 determine how many seconds to pass to 'alarm'.
15846 * gdb.base/gdb-sigterm.exp (top level): Build program with
15847 -DTIMEOUT=$timeout.
15848 (do_test): Return success/failure indication. Add more verbose
15849 logging. Don't fail if 200 single steps are seen. Instead, fail
15850 when the test times out.
15851 (passes): New global.
15852 (top level): Break the testing loop if testing fails on any
15853 iteration. Use gdb_assert.
15854
b9394193
DB
158552015-02-04 Don Breazeal <donb@codesourcery.com>
15856
15857 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
15858 and initialize them.
15859 (ipc_cleanup): New function.
15860 (main): Don't declare shmid, semid, and msqid. Add a call to
15861 atexit so that we call ipc_cleanup on exit.
15862
42d9e528
PA
158632015-02-04 Pedro Alves <palves@redhat.com>
15864
15865 * boards/native-extended-gdbserver.exp: Remove any target variant
15866 specifications from the board name before clearing the isremote
15867 flag from board_info.
15868
ae6ae975
DE
158692015-01-31 Doug Evans <xdje42@gmail.com>
15870
15871 * gdb.base/maint.exp <maint print type argc>: Update expected output.
15872
cfb069a8
GB
158732015-01-31 Gary Benson <gbenson@redhat.com>
15874
15875 * gdb.base/completion.exp: Disable completion limiting for
15876 existing tests. Add new tests to check completion limiting.
15877 * gdb.linespec/ls-errs.exp: Disable completion limiting.
15878
5dd31d79
DE
158792015-01-31 Doug Evans <xdje42@gmail.com>
15880
15881 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
15882
9f050062
DE
158832015-01-31 Doug Evans <xdje42@gmail.com>
15884
15885 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
15886 entries. Duplicate file section script entries.
15887 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15888 inlined entries. Add test for safe-path rejection.
15889 * gdb.python/py-section-script.c: Add duplicate inlined section script
15890 entries. Duplicate file section script entries.
15891 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15892 inlined entries. Add test for safe-path rejection.
15893
df25ebbd
JB
158942015-01-29 Joel Brobecker <brobecker@adacore.com>
15895
15896 * gdb.ada/disc_arr_bound: New testcase.
15897
4a0ca9ec
JB
158982015-01-29 Joel Brobecker <brobecker@adacore.com>
15899
15900 * gdb.ada/mi_var_array: New testcase.
15901
3a8b707a
DE
159022015-01-27 Doug Evans <dje@google.com>
15903
15904 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15905 Add test for objfile.filename, objfile.username after objfile
15906 has been unloaded.
15907
f8313f6e
JB
159082015-01-26 Joel Brobecker <brobecker@adacore.com>
15909
15910 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15911 the second test to print the name attribute of value
15912 returned by the call to gdb.lookup_type, and adjust
15913 the expected output accordingly.
15914
37bc665e
MW
159152015-01-25 Mark Wielaard <mjw@redhat.com>
15916
15917 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15918 * gdb.base/disp-step-fork.c: Include unistd.h.
15919 * gdb.base/siginfo-obj.c: Include stdio.h.
15920 * gdb.base/siginfo-thread.c: Likewise.
15921 * gdb.mi/non-stop.c: Include unistd.h.
15922 * gdb.mi/nsthrexec.c: Include stdio.h.
15923 * gdb.mi/pthreads.c: Include unistd.h.
15924 * gdb.modula2/unbounded1.c (main): Declare returns int.
15925 * gdb.reverse/consecutive-reverse.c: Likewise.
15926 * gdb.threads/create-fail.c: Include unistd.h.
15927 * gdb.threads/killed.c: Likewise.
15928 * gdb.threads/linux-dp.c: Likewise.
15929 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15930 * gdb.threads/non-ldr-exc-2.c: Likewise.
15931 * gdb.threads/non-ldr-exc-3.c: Likewise.
15932 * gdb.threads/non-ldr-exc-4.c: Likewise.
15933 * gdb.threads/pthreads.c: Include unistd.h.
15934 (main): Declare returns int.
15935 * gdb.threads/tls-main.c (foo): New declaration.
15936 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15937
f7e5394d
SM
159382015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15939
15940 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15941 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15942
743649fd
MW
159432015-01-15 Mark Wielaard <mjw@redhat.com>
15944
15945 * gdb.base/noreturn-return.c: New file.
15946 * gdb.base/noreturn-return.exp: New file.
15947 * gdb.base/noreturn-finish.c: New file.
15948 * gdb.base/noreturn-finish.exp: New file.
15949
198297aa
PA
159502015-01-23 Pedro Alves <palves@redhat.com>
15951
15952 * gdb.threads/continue-pending-after-query.c: New file.
15953 * gdb.threads/continue-pending-after-query.exp: New file.
15954
717cf30c
AG
159552015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15956 Simon Marchi <simon.marchi@ericsson.com>
15957
15958 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15959 * gdb.base/valgrind-db-attach.exp: Same.
15960 * gdb.base/valgrind-infcall.exp: Same.
15961 * lib/mi-support.exp (default_mi_gdb_start): Same.
15962 * lib/prompt.exp (default_prompt_gdb_start): Same.
15963 * lib/gdb.exp (default_gdb_spawn): Same.
15964 (gdb_interact): New.
15965
15966
4b62a76e
JK
159672015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15968
15969 * gdb.compile/compile.exp (pointer to jit function): New test.
15970
b4cdae6f
WW
159712015-01-17 Wei-cheng Wang <cole945@gmail.com>
15972
15973 * lib/gdb.exp (supports_process_record): Return true for
15974 powerpc*-*-linux*.
15975 (supports_reverse): Likewise.
15976
d221e7ef
DB
159772015-01-15 Don Breazeal <donb@codesourcery.com>
15978
15979 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15980 instead of checking whether the target board is remote and
15981 use spawn_wait_for_attach instead of exec/sleep.
15982 * gdb.base/attach-twice.exp: Likewise.
15983
bafffb51
JB
159842015-01-15 Joel Brobecker <brobecker@adacore.com>
15985
15986 * gdb.ada/var_arr_attrs: New testcase.
15987
5589af0e
PA
159882015-01-14 Pedro Alves <palves@redhat.com>
15989 Joel Brobecker <brobecker@adacore.com>
15990
15991 PR gdb/17525
15992 * gdb.base/bp-cmds-execution-x-script.c: New file.
15993 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15994 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15995
6c400b59
PA
159962015-01-14 Pedro Alves <palves@redhat.com>
15997
15998 PR cli/17828
15999 * gdb.base/batch-preserve-term-settings.c: New file.
16000 * gdb.base/batch-preserve-term-settings.exp: New file.
16001
e02c96a7
DE
160022015-01-13 Doug Evans <dje@google.com>
16003
16004 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
16005 binary.
16006
576fd14c
JB
160072015-01-13 Joel Brobecker <brobecker@adacore.com>
16008
16009 * Makefile.in (clean mostlyclean): Do not delete *.py.
16010
04dccad0
JB
160112015-01-13 Joel Brobecker <brobecker@adacore.com>
16012
16013 * gdb.python/py-lookup-type.exp: New file.
16014
3d230f71
PA
160152015-01-12 Pedro Alves <palves@redhat.com>
16016
16017 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
16018 restore GDBFLAGS before returning.
16019
7e67715d
JK
160202015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16021
16022 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
16023 is_amd64_regs_target and is_x86_like_target.
16024
f2e0d4b4
DE
160252015-01-11 Doug Evans <xdje42@gmail.com>
16026
16027 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
16028 is given without an explicit form.
16029 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
16030 attributes.
16031 * gdb.dwarf/corrupt.exp: Ditto.
16032 * gdb.dwarf2/enum-type.exp: Ditto.
16033 * gdb.trace/entry-values.exp: Ditto.
16034 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
16035
439250fb
DE
160362015-01-11 Doug Evans <xdje42@gmail.com>
16037
16038 PR gdb/15830
16039 * gdb.base/maint.exp: Remove references to "maint demangle".
16040 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
16041 Add tests for explicitly specifying language to demangle.
16042 * gdb.dlang/demangle.exp: Ditto.
16043
ede9f622
PA
160442015-01-09 Pedro Alves <palves@redhat.com>
16045
16046 * gdb.threads/non-stop-fair-events.c: New file.
16047 * gdb.threads/non-stop-fair-events.exp: New file.
16048
a7b796db
PA
160492015-01-09 Pedro Alves <palves@redhat.com>
16050
16051 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
16052 the global scope. Set a breakpoint after all threads are started
16053 rather than stepping over two source lines. Expect the prompt.
16054 * gdb.base/watch_thread_num.c (threads_started_barrier): New
16055 global.
16056 (NUM): Now 15.
16057 (main): Use threads_started_barrier to wait for all threads to
16058 start. Main thread no longer calls thread_function. Exit after
16059 180 seconds.
16060 (loop): New function.
16061 (thread_function): Wait on threads_started_barrier barrier. Call
16062 'loop' at each iteration.
16063 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
16064 threads have started, instead of hardcoding number of "next"
16065 steps. Use an access watchpoint instead of a write watchpoint.
16066
9665ffdd
PA
160672015-01-09 Pedro Alves <palves@redhat.com>
16068
16069 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
16070 (thread_func): Wait on barrier.
16071 (main): Wait for all threads to start before stopping GDB.
16072 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
16073 global.
16074 (thread1_func, thread2_func): Wait on barrier.
16075 (main): Wait for all threads to start before stopping GDB.
16076 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
16077 New global.
16078 (thread1_func, thread2_func): Wait on barrier.
16079 (main): Wait for all threads to start before stopping GDB.
16080
c945a99f
PA
160812015-01-09 Pedro Alves <palves@redhat.com>
16082
16083 * gdb.threads/attach-many-short-lived-threads.c: New file.
16084 * gdb.threads/attach-many-short-lived-threads.exp: New file.
16085
c1a747c1
PA
160862014-01-09 Pedro Alves <palves@redhat.com>
16087
16088 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
16089 instead of to thread 2.
16090 * gdb.threads/signal-command-multiple-signals-pending.c (main):
16091 Add barrier around each pthread_create call instead of around all
16092 calls.
16093 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
16094 Set a break on thread_function and have the child threads hit it
16095 one at at a time.
16096
60b3033e
PA
160972015-01-09 Pedro Alves <palves@redhat.com>
16098
16099 * lib/gdb.exp (can_spawn_for_attach): New procedure.
16100 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
16101 false.
16102 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
16103 checking whether the target board is remote.
16104 * gdb.multi/multi-attach.exp: Likewise.
16105 * gdb.python/py-sync-interp.exp: Likewise.
16106 * gdb.server/ext-attach.exp: Likewise.
16107 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
16108 tests that need to attach, instead of checking whether the target
16109 board is remote at the top of the file.
16110
acc018ac
YQ
161112015-01-08 Yao Qi <yao@codesourcery.com>
16112
16113 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
16114
50a18af8
JK
161152015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16116
16117 Fix testcase compilation.
16118 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
16119
8503d6e1
JB
161202015-01-06 Joel Brobecker <brobecker@adacore.com>
16121
16122 * gdb.python/py-type.exp: Add a couple test about empty
16123 array creation, and negative-length array creation.
16124
cc73dbcc
DE
161252015-01-02 Doug Evans <xdje42@gmail.com>
16126
16127 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
16128
0300bbc7
DE
161292015-01-02 Doug Evans <dje@google.com>
16130
16131 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
16132
9d85a0ec
YQ
161332014-12-29 Yao Qi <yao@codesourcery.com>
16134
16135 * gdb.trace/entry-values.exp: Update comments. Rename variable
16136 bar_call_foo to returned_from_foo.
16137
87186c6a
MMN
161382014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
16139
16140 PR gdb/17394
16141 * gdb.linespec/break-asm-file.c: New file.
16142 * gdb.linespec/break-asm-file.exp: New file.
16143 * gdb.linespec/break-asm-file0.s: New file.
16144 * gdb.linespec/break-asm-file1.s: New file.
16145
1bab7383
YQ
161462014-12-18 Nigel Stephens <nigel@mips.com>
16147 Maciej W. Rozycki <macro@codesourcery.com>
16148
16149 * gdb.base/float.exp: Handle the new output from "info float" on
16150 MIPS targets.
16151
1bc1068a
JK
161522014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16153
16154 Fix MinGW compilation.
16155 * gdb.compile/compile-ops.exp: Update untested message if
16156 !skip_compile_feature_tests.
16157 * gdb.compile/compile-setjmp.exp: Likewise.
16158 * gdb.compile/compile-tls.exp: Likewise.
16159 * gdb.compile/compile.exp: Likewise.
16160 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
16161 supported on this host".
16162
b6615d10
DE
161632014-12-16 Doug Evans <xdje42@gmail.com>
16164
16165 * boards/stabs.exp: New file.
16166
25dda427
AA
161672014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
16168
16169 * gdb.base/completion.exp: Adjust to format changes of "maint
16170 print user-registers".
16171
bf330350
CU
161722014-12-16 Catalin Udma <catalin.udma@freescale.com>
16173
16174 PR server/17457
16175 * gdb.arch/aarch64-fp.c: New file.
16176 * gdb.arch/aarch64-fp.exp: New file.
16177
395cf596
SDJ
161782014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
16179
16180 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
16181 r210637, r210913, r211666, r215400, r215817).
16182
16183 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
16184 * dg-extract-results.py: New file.
16185 * dg-extract-results.sh: Use it if the environment seems
16186 suitable.
16187
16188 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
16189
16190 * dg-extract-results.py (parse_run): Handle warnings that
16191 are printed before a test harness is run.
16192
16193 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
16194
16195 * dg-extract-results.py (Named): Remove __cmp__ method.
16196 (output_variation): Use a key to sort variation.harnesses.
16197
16198 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
16199
16200 * dg-extract-results.py: For Python 3, force sys.stdout to
16201 handle surrogate escape sequences.
16202 (safe_open): New function.
16203 (output_segment, main): Use it.
16204
16205 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
16206
16207 * dg-extract-results.py (Prog.result_re): Include options
16208 in test name.
16209
16210 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
16211
16212 * dg-extract-results.py (output_variation): Always sort if
16213 do_sum.
16214
e882ef3c
SM
162152014-12-15 Simon Marchi <simon.marchi@ericsson.com>
16216
16217 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
16218 as long as we get pagination notifications.
16219
4992aa20
JM
162202014-12-15 Jason Merrill <jason@redhat.com>
16221
16222 * Makefile.in (check-gdb.%): Restore.
16223 * README: Mention it.
16224
c1b5a1a6
JB
162252014-12-13 Joel Brobecker <brobecker@adacore.com>
16226
16227 * gdb.ada/str_uninit: New testcase.
16228
5537b577
JK
162292014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16230
16231 PR symtab/17642
16232 * gdb.base/vla-stub-define.c: New file.
16233 * gdb.base/vla-stub.c: New file.
16234 * gdb.base/vla-stub.exp: New file.
16235
bb2ec1b3
TT
162362014-12-12 Phil Muldoon <pmuldoon@redhat.com>
16237 Jan Kratochvil <jan.kratochvil@redhat.com>
16238 Tom Tromey <tromey@redhat.com>
16239
16240 * configure.ac: Add gdb.compile/.
16241 * configure: Regenerate.
16242 * gdb.compile/Makefile.in: New file.
16243 * gdb.compile/compile-ops.exp: New file.
16244 * gdb.compile/compile-ops.c: New file.
16245 * gdb.compile/compile-tls.c: New file.
16246 * gdb.compile/compile-tls.exp: New file.
16247 * gdb.compile/compile-constvar.S: New file.
16248 * gdb.compile/compile-constvar.c: New file.
16249 * gdb.compile/compile-mod.c: New file.
16250 * gdb.compile/compile-nodebug.c: New file.
16251 * gdb.compile/compile-setjmp-mod.c: New file.
16252 * gdb.compile/compile-setjmp.c: New file.
16253 * gdb.compile/compile-setjmp.exp: New file.
16254 * gdb.compile/compile-shlib.c: New file.
16255 * gdb.compile/compile.c: New file.
16256 * gdb.compile/compile.exp: New file.
16257 * lib/gdb.exp (skip_compile_feature_tests): New proc.
16258
4ff709eb
TT
162592014-12-12 Tom Tromey <tromey@redhat.com>
16260
16261 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
16262 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
16263
6dddd6a5
DE
162642014-12-12 Doug Evans <dje@google.com>
16265
16266 * lib/gdb-python.exp (get_python_valueof): New function.
16267 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
16268
71c24708
AA
162692014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16270
16271 * gdb.base/completion.exp: Add test for completion of "info
16272 registers ".
16273
3e29f34a
MR
162742014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
16275
16276 * gdb.base/func-ptrs.c: New file.
16277 * gdb.base/func-ptrs.exp: New file.
16278
fc126975
SM
162792014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16280
16281 PR breakpoints/17012
16282 * gdb.base/dprintf-detach.c: New file.
16283 * gdb.base/dprintf-detach.exp: New file.
16284
0a46d518
SM
162852014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16286
16287 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
16288 * lib/gdb.exp (target_is_gdbserver): New procedure.
16289
a0be3e44
DE
162902014-12-08 Doug Evans <dje@google.com>
16291
16292 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
16293
df1b803a
YQ
162942014-12-05 Yao Qi <yao@codesourcery.com>
16295
16296 * gdb.guile/scm-error.exp: Remove the third argument to
16297 gdb_remote_download.
16298 * gdb.guile/scm-frame-args.exp: Likewise.
16299 * gdb.guile/scm-section-script.exp: Likewise.
16300
ddb9f679
YQ
163012014-12-05 Yao Qi <yao@codesourcery.com>
16302
16303 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
16304
86e4ed39
DE
163052014-12-04 Doug Evans <dje@google.com>
16306
16307 * gdb.python/py-objfile.exp: Add tests for
16308 objfile.add_separate_debug_file.
16309
7c50a931
DE
163102014-12-04 Doug Evans <dje@google.com>
16311
16312 * lib/gdb.exp (get_build_id): New function.
16313 (build_id_debug_filename_get): Rewrite to use it.
16314 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
16315
621661e3
MR
163162014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
16317
16318 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
16319 `method(long)', not just 0x0.
16320 * gdb.cp/nsalias.exp: Align code labels to 4.
16321 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
16322 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
16323 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
16324 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
16325 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
16326 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
16327
29f0c3b7
DE
163282014-12-02 Doug Evans <dje@google.com>
16329
e1e061e7 16330 PR symtab/17602
29f0c3b7 16331 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 16332 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
16333 * gdb.cp/anon-ns.exp: Update.
16334
162078c8
NB
163352014-12-02 Nick Bull <nicholaspbull@gmail.com>
16336
16337 * gdb.python/py-events.py (inferior_call_handler): New.
16338 (register_changed_handler, memory_changed_handler): New.
16339 (test_events.invoke): Register new handlers.
16340 * gdb.python/py-events.exp: Add tests for inferior call,
16341 memory_changed and register_changed events.
16342
fdb09caf
AA
163432014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16344
16345 * gdb.base/execl-update-breakpoints.exp: Specify the link address
16346 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
16347 if the linker doesn't understand this.
16348
55cfb2c4
SM
163492014-12-01 Simon Marchi <simon.marchi@ericsson.com>
16350
16351 * gdb.python/python.exp: Change expected reply to help().
16352
9e8cd6df
YQ
163532014-12-01 Yao Qi <yao@codesourcery.com>
16354
16355 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
16356 AC_CONFIG_SUBDIRS(gdb.gdbtk).
16357 * configure: Re-generated.
16358
6c659fc2
SC
163592014-11-28 Siva Chandra Reddy <sivachandra@google.com>
16360
16361 * gdb.cp/chained-calls.cc: New file.
16362 * gdb.cp/chained-calls.exp: New file.
16363 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
16364
d7fc3181
SM
163652014-11-28 Simon Marchi <simon.marchi@ericsson.com>
16366
16367 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
16368 * gdb.dwarf2/symtab-producer.exp: Same.
16369 * gdb.gdb/python-interrupts.exp: Same.
16370 * gdb.gdb/python-selftest.exp: Same.
16371 * gdb.python/py-linetable.exp: Same.
16372 * gdb.python/py-type.exp: Same.
16373 * gdb.python/py-value-cc.exp: Same.
16374 * gdb.python/py-value.exp: Same.
16375
10e79639
YQ
163762014-11-28 Yao Qi <yao@codesourcery.com>
16377
16378 * gdb.base/break-probes.exp: Match library name prefixed with
16379 sysroot.
16380
f28a0564
SM
163812014-11-27 Simon Marchi <simon.marchi@ericsson.com>
16382
16383 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
16384 test expected output. Add parentheses for the call to print.
16385 Remove L suffix from integers.
16386
3fe1ce1d
DE
163872014-11-26 Doug Evans <dje@google.com>
16388
16389 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
16390
84429e27
YQ
163912014-11-22 Yao Qi <yao@codesourcery.com>
16392
16393 * gdb.trace/entry-values.c: Remove asms.
16394 (foo): Add foo_label.
16395 (bar): Add bar_label.
16396 * gdb.trace/entry-values.exp: Remove code computing foo's
16397 length and bar's length.
16398 (Dwarf::assemble): Invoke function_range for bar and use
16399 MACRO_AT_func for foo.
16400
26741859
YQ
164012014-11-22 Yao Qi <yao@codesourcery.com>
16402
16403 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
16404 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
16405 Use .Lgcc43_procstart instead of gcc43.
16406
45e44d27
JB
164072014-11-21 Joel Brobecker <brobecker@adacore.com>
16408
16409 * gdb.ada/n_arr_bound: New testcase.
16410
458c8db8
SDJ
164112014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
16412
16413 PR breakpoints/10737
16414 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
16415 test_catch_syscall_multi_arch.
16416 (test_catch_syscall_multi_arch): New function.
16417
43f3e411
DE
164182014-11-20 Doug Evans <xdje42@gmail.com>
16419
16420 * gdb.base/maint.exp: Update expected output.
16421
0d7b2549
AA
164222014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
16423
16424 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
16425 4-byte instruction on S390.
16426
8908fca5
JB
164272014-11-19 Joel Brobecker <brobecker@adacore.com>
16428
16429 * gdb.ada/arr_arr: New testcase.
16430
4a46959e
JB
164312014-11-19 Joel Brobecker <brobecker@adacore.com>
16432
16433 * gdb.ada/pkd_arr_elem: New Testcase.
16434
470e2f4e
LM
164352014-11-18 Luis Machado <lgustavo@codesourcery.com>
16436
16437 * gdb.reverse/break-precsave: Expect completion message for
16438 core file reads.
16439 * gdb.reverse/consecutive-precsave.exp: Likewise.
16440 * gdb.reverse/finish-precsave.exp: Likewise.
16441 * gdb.reverse/i386-precsave.exp: Likewise.
16442 * gdb.reverse/machinestate-precsave.exp: Likewise.
16443 * gdb.reverse/sigall-precsave.exp: Likewise.
16444 * gdb.reverse/solib-precsave.exp: Likewise.
16445 * gdb.reverse/step-precsave.exp: Likewise.
16446 * gdb.reverse/until-precsave.exp: Likewise.
16447 * gdb.reverse/watch-precsave.exp: Likewise.
16448
a267f3ad
AA
164492014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16450
16451 * gdb.base/bp-permanent.c: Include unistd.h.
16452 * gdb.python/py-framefilter-mi.c (main): Add return type.
16453 * gdb.python/py-framefilter.c (main): Likewise.
16454 * gdb.trace/actions-changed.c (main): Likewise.
16455
12084a9a
AA
164562014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16457
16458 * gdb.mi/until.c: Add eye-catchers.
16459 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
16460 line numbers.
16461
dc7e1a77
AA
164622014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16463
16464 * gdb.base/condbreak.exp: Drop references to removed non-prototype
16465 function header variants in break1.c.
16466 * gdb.base/ena-dis-br.exp: Likewise.
16467 * gdb.base/hbreak2.exp: Likewise.
16468 * gdb.reverse/until-precsave.exp: Drop references to removed
16469 non-prototype function header variants in ur1.c.
16470 * gdb.reverse/until-reverse.exp: Likewise.
16471
41c77605
PM
164722014-11-17 Petr Machata <pmachata@redhat.com>
16473
16474 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
16475 ${_cu_offset_size} bytes abbrev offset.
16476
34248c3a
DE
164772014-11-15 Doug Evans <xdje42@gmail.com>
16478
16479 PR symtab/17559
16480 * gdb.base/line-symtabs.exp: New file.
16481 * gdb.base/line-symtabs.c: New file.
16482 * gdb.base/line-symtabs.h: New file.
16483
646da059
YQ
164842014-11-14 Yao Qi <yao@codesourcery.com>
16485
16486 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
16487 (func): Add label func_label.
16488 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
16489 Replace low_pc and high_pc with MACRO_AT_range.
16490 Replace name, low_pc and high_pc with MACRO_AT_func.
16491
9301ebe6
YQ
164922014-11-14 Yao Qi <yao@codesourcery.com>
16493
16494 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
16495 Replace name, low_pc and high_pc with MACRO_AT_func.
16496
f166b542
YQ
164972014-11-14 Yao Qi <yao@codesourcery.com>
16498
16499 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
16500 produce debug information.
16501 * gdb.dwarf2/implptr-optimized-out.S: Removed.
16502
0f6e71e3
YQ
165032014-11-14 Yao Qi <yao@codesourcery.com>
16504
16505 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
16506 object and get function length.
16507 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
16508 with MACRO_AT_func.
16509 (top-level): Replace gdb_compile and clean_restart with
16510 prepare_for_testing.
16511 * gdb.dwarf2/main.c (main): Add label main_label.
16512
876c4df9
YQ
165132014-11-14 Yao Qi <yao@codesourcery.com>
16514
16515 * lib/dwarf.exp (function_range): New procedure.
16516 (Dwarf::_handle_macro_at_func): New procedure.
16517 (Dwarf::_handle_macro_at_range): New procedure.
16518 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
16519
02ad9cf1
YQ
165202014-11-14 Yao Qi <yao@codesourcery.com>
16521
16522 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
16523 (_handle_attribute): New procedure.
16524
a59add0c
AA
165252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16526
16527 * gdb.ada/cond_lang/foo.c (callme): Add return type.
16528 * gdb.base/call-sc.c (zed): Likewise.
16529 * gdb.base/checkpoint.c (main): Likewise.
16530 * gdb.base/dump.c (main): Likewise.
16531 * gdb.base/gcore.c (main): Likewise.
16532 * gdb.base/huge.c (main): Likewise.
16533 * gdb.base/multi-forks.c (main): Likewise.
16534 * gdb.base/pr10179-a.c (main): Likewise.
16535 * gdb.base/savedregs.c (main): Likewise.
16536 * gdb.base/sigaltstack.c (main): Likewise.
16537 * gdb.base/siginfo.c (main): Likewise.
16538 * gdb.base/structs.c (zed): Likewise.
16539 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
16540 * gdb.mi/mi-syn-frame.c (main): Likewise.
16541 * gdb.mi/until.c (foo, main): Likewise.
16542 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
16543 * gdb.base/solib-weak.c (foo): Declare.
16544 * gdb.base/attach-twice.c: Include stdio.h.
16545 * gdb.base/weaklib1.c: Likewise.
16546 * gdb.base/weaklib2.c: Likewise.
16547 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
16548 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
16549 unistd.h.
16550 * gdb.base/attach-pie-misread.c: Include stdlib.h.
16551 * gdb.mi/mi-exit-code.c: Likewise.
16552 * gdb.base/break-interp-lib.c: Include string.h.
16553 * gdb.base/coremaker.c: Likewise.
16554 * gdb.base/testenv.c: Likewise.
16555 * gdb.python/py-finish-breakpoint.c: Likewise.
16556 * gdb.base/inferior-died.c: Include sys/wait.h.
16557 * gdb.base/fileio.c: Include time.h.
16558 * gdb.base/async-shell.c: Include unistd.h.
16559 * gdb.base/dprintf-non-stop.c: Likewise.
16560 * gdb.base/info-os.c: Likewise.
16561 * gdb.mi/mi-console.c: Likewise.
16562 * gdb.mi/watch-nonstop.c: Likewise.
16563 * gdb.python/py-events.c: Likewise.
16564 * gdb.base/async.c (baz): Move up before its invocation.
16565 * gdb.base/code_elim2.c (my_global_func): Likewise.
16566 * gdb.base/skip-solib-lib.c (multiply): Likewise.
16567 * gdb.base/advance.c (func2): Likewise.
16568
3b5d5997
AA
165692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16570
16571 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
16572 variant.
16573 * gdb.base/annota3.c: Likewise.
16574 * gdb.base/async.c: Likewise.
16575 * gdb.base/average.c: Likewise.
16576 * gdb.base/call-ar-st.c: Likewise.
16577 * gdb.base/call-rt-st.c: Likewise.
16578 * gdb.base/call-sc.c: Likewise.
16579 * gdb.base/call-strs.c: Likewise.
16580 * gdb.base/ending-run.c: Likewise.
16581 * gdb.base/execd-prog.c: Likewise.
16582 * gdb.base/exprs.c: Likewise.
16583 * gdb.base/foll-exec.c: Likewise.
16584 * gdb.base/foll-fork.c: Likewise.
16585 * gdb.base/foll-vfork.c: Likewise.
16586 * gdb.base/funcargs.c: Likewise.
16587 * gdb.base/gcore.c: Likewise.
16588 * gdb.base/jump.c: Likewise.
16589 * gdb.base/langs0.c: Likewise.
16590 * gdb.base/langs1.c: Likewise.
16591 * gdb.base/langs2.c: Likewise.
16592 * gdb.base/mips_pro.c: Likewise.
16593 * gdb.base/nodebug.c: Likewise.
16594 * gdb.base/opaque0.c: Likewise.
16595 * gdb.base/opaque1.c: Likewise.
16596 * gdb.base/recurse.c: Likewise.
16597 * gdb.base/run.c: Likewise.
16598 * gdb.base/scope0.c: Likewise.
16599 * gdb.base/scope1.c: Likewise.
16600 * gdb.base/setshow.c: Likewise.
16601 * gdb.base/setvar.c: Likewise.
16602 * gdb.base/shmain.c: Likewise.
16603 * gdb.base/shr1.c: Likewise.
16604 * gdb.base/shr2.c: Likewise.
16605 * gdb.base/sigall.c: Likewise.
16606 * gdb.base/signals.c: Likewise.
16607 * gdb.base/so-indr-cl.c: Likewise.
16608 * gdb.base/solib2.c: Likewise.
16609 * gdb.base/structs.c: Likewise.
16610 * gdb.base/sum.c: Likewise.
16611 * gdb.base/vforked-prog.c: Likewise.
16612 * gdb.base/watchpoint.c: Likewise.
16613 * gdb.reverse/shr2.c: Likewise.
16614 * gdb.reverse/until-reverse.c: Likewise.
16615 * gdb.reverse/ur1.c: Likewise.
16616 * gdb.reverse/watch-reverse.c: Likewise.
16617
066a77c5
AA
166182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16619
16620 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
16621 variant.
16622 * gdb.base/sepdebug.exp: Drop references to removed code.
16623
4f204ea5
AA
166242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16625
16626 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
16627 variant. Preserve original line numbering.
16628 * gdb.base/list1.c: Likewise.
16629
3b377a3a
AA
166302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16631
16632 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
16633 variant.
16634 * gdb.base/break1.c: Likewise.
16635 * gdb.base/break.exp: Drop references to removed code.
16636
e444df73
AA
166372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16638
16639 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
16640 variant.
16641
8008f2a7
AA
166422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16643
16644 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
16645
a5a06887
AA
166462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16647
16648 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
16649 logic into perform_all_tests() and invoke it with and without
16650 function header prototypes.
16651 (do_function_calls): Remove conditional XFAIL for PR 5318.
16652 (rerun_and_prepare): Remove duplicate code.
16653 (perform_all_tests): New. Main logic moved here.
16654
44dba9b9
AA
166552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16656
16657 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
16658 code guarded by #ifdef NO_PROTOTYPES.
16659 (t_double_many_args): Likewise.
16660 (DEF_FUNC_MANY_ARGS_1): Likewise.
16661 (DEF_FUNC_VALUES_1): Likewise.
16662 (t_structs_ldc): Renamed from t_structs_fc in conditional code
16663 guarded by #ifdef PROTOTYPES.
16664
d1fbcd56
AA
166652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16666
16667 * gdb.mi/mi-console.c: Add eye-catcher.
16668 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
16669 instead of literal line number.
16670
b0e59b8f
AA
166712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16672
16673 * gdb.base/shr2.c: Add eye-catcher.
16674 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
16675 line number.
16676
78f98cca
AA
166772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16678
16679 * gdb.base/jump.c: Add eye-catchers.
16680 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
16681 numbers.
16682
58fa2af0
AA
166832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16684
16685 * gdb.base/execd-prog.c: Add eye-catchers.
16686 * gdb.base/foll-exec.c: Likewise.
16687 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
16688 line numbers.
16689
04e5059b
AA
166902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16691
16692 * gdb.base/ending-run.c: Add eye-catchers.
16693 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
16694 literal line numbers.
16695
dbfdb174
AA
166962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16697
16698 * gdb.base/call-rt-st.c: Add eye-catchers.
16699 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
16700 literal line numbers.
16701
888a2ade
AA
167022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16703
16704 * gdb.base/call-ar-st.c: Add eye-catchers.
16705 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
16706 literal line numbers.
16707
6acc2dde
AA
167082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16709
16710 * gdb.base/average.c: Add eye-catchers.
16711 * gdb.base/sum.c: Likewise.
16712 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
16713 regexps dynamically.
16714
9ecfcd1d
AA
167152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16716
16717 * gdb.base/solib1.c: Add eye-catchers.
16718 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
16719 literal line numbers.
16720
78708b7c
PA
167212014-11-12 Pedro Alves <palves@redhat.com>
16722
16723 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
16724 leader has exited.
16725
af48d08f
PA
167262014-11-12 Pedro Alves <palves@redhat.com>
16727
16728 * gdb.arch/i386-bp_permanent.c: New file.
16729 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
16730 (srcfile): Set to i386-bp_permanent.c.
16731 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
16732 that stepi does not execute the 'leave' instruction, instead of
16733 testing it does execute.
16734 * gdb.base/bp-permanent.c: New file.
16735 * gdb.base/bp-permanent.exp: New file.
16736
af3768e9
DE
167372014-11-10 Doug Evans <xdje42@gmail.com>
16738
16739 PR symtab/17564
16740 * gdb.base/symtab-search-order.exp: New file.
16741 * gdb.base/symtab-search-order.c: New file.
16742 * gdb.base/symtab-search-order-1.c: New file.
16743 * gdb.base/symtab-search-order-shlib-1.c: New file.
16744
9de00a4a
PA
167452014-11-07 Pedro Alves <palves@redhat.com>
16746
16747 PR gdb/17511
16748 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
16749 i?86-*-linux*.
16750
e0f52461
SC
167512014-11-03 Siva Chandra Reddy <sivachandra@google.com>
16752
16753 PR c++/17494
16754 * gdb.cp/pr17494.cc: New file.
16755 * gdb.cp/pr17494.exp: New file.
16756
6ce8c980
YQ
167572014-11-02 Yao Qi <yao@codesourcery.com>
16758
16759 * gdb.python/python.exp: Get working directory and match the
16760 output of "set extended-prompt \\w " with it.
16761
02be9a71
DE
167622014-10-30 Doug Evans <dje@google.com>
16763
16764 * gdb.python/py-objfile.exp: Add tests for setting random attributes
16765 in objfiles.
16766 * gdb.python/py-progspace.exp: Add tests for setting random attributes
16767 in progspaces.
16768
3bdff46b
LM
167692014-10-30 Janis Johnson <janisjo@codesourcery.com>
16770
16771 * gdb.base/fullpath-expand.exp: Skip for a remote host.
16772 * gdb.base/realname-expand.exp: Likewise.
16773 * gdb.linespec/macro-relative.exp: Likewise.
16774
ab917dfb
PA
167752014-10-29 Pedro Alves <palves@redhat.com>
16776
16777 PR gdb/17408
16778 * gdb.threads/schedlock.c (some_function): New function.
16779 (call_function): New global.
16780 (MAYBE_CALL_SOME_FUNCTION): New macro.
16781 (thread_function): Call it.
16782 * gdb.threads/schedlock.exp (get_args): Add description parameter,
16783 and use it instead of a global counter. Adjust all callers.
16784 (get_current_thread): Use "find current thread" for test message
16785 here rather than having all callers pass down the same string.
16786 (goto_loop): New procedure, factored out from ...
16787 (my_continue): ... this.
16788 (step_ten_loops): Change parameter from test message to command to
16789 use. Adjust.
16790 (list_count): Delete global.
16791 (check_result): New procedure, factored out from duplicate top
16792 level code.
16793 (continue tests): Wrap in with_test_prefix.
16794 (test_step): New procedure, factored out from duplicate top level
16795 code.
16796 (top level): Test "step" in combination with all scheduler-locking
16797 modes. Test "next" in combination with all scheduler-locking
16798 modes, and in combination with stepping over a function call or
16799 not.
16800 * gdb.threads/next-bp-other-thread.c: New file.
16801 * gdb.threads/next-bp-other-thread.exp: New file.
16802
d3d4baed
PA
168032014-10-29 Pedro Alves <palves@redhat.com>
16804
16805 PR python/17372
16806 * gdb.python/python.exp: Test a multi-line command that spawns
16807 interactive Python.
16808 * gdb.base/multi-line-starts-subshell.exp: New file.
16809
563e8d85
YQ
168102014-10-29 Yao Qi <yao@codesourcery.com>
16811
16812 * gdb.base/fileio.exp: Make directories on host.
16813
0ea4d52e
YQ
168142014-10-29 Yao Qi <yao@codesourcery.com>
16815
16816 * gdb.base/fileio.c (test_write): Close the file.
16817
7f5ef605
PA
168182014-10-28 Pedro Alves <palves@redhat.com>
16819
16820 PR gdb/12623
16821 * gdb.base/sigstep.c (no_handler): New global.
16822 (main): If 'no_handler is true, set the signal handlers to
16823 SIG_IGN.
16824 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
16825 with_sw_watch and no_handler parameters. Handle them.
16826 (top level) <stepping over handler when stopped at a breakpoint
16827 test>: Add a test axis for testing with a software watchpoint, and
16828 another for testing with the signal handler set to SIG_IGN.
16829 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
16830 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
16831
abbdbd03
PA
168322014-10-28 Pedro Alves <palves@redhat.com>
16833
16834 PR gdb/17511
16835 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
16836 * gdb.base/sigstep.exp (other_handler_location): New global.
16837 (advance): Support stepping into the signal handler, and running
16838 commands while in the handler.
16839 (in_handler_map): New global.
16840 (top level): In the advance test, add combinations for getting
16841 into the handler with stepping commands, and for running commands
16842 in the handler. Add comment descripting the advancei tests.
16843
1df4399f
PA
168442014-10-28 Pedro Alves <palves@redhat.com>
16845
16846 * gdb.base/sigstep.exp: Use build_executable instead of
16847 prepare_for_testing.
16848 (top level): Move code that starts GDB, runs to main and creates a
16849 display to ...
16850 (restart): ... this new procedure.
16851 (top level): Move backtrace from signal handler test to ...
16852 (validate_backtrace): ... this new procedure.
16853 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
16854 with_test_prefix. Always restart GDB.
16855 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
16856 with_test_prefix. Always restart GDB. No need to delete
16857 breakpoints after the test.
16858 (test_skip_handler): Remove prefix parameter.
16859 (skip_over_handler, breakpoint_to_handler)
16860 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
16861 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
16862 restart GDB. No need to delete breakpoints after the test.
16863 (top level): Use foreach to call the test procedures with
16864 different commands.
16865
a5b6e449
PA
168662014-10-28 Pedro Alves <palves@redhat.com>
16867
16868 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
16869 instead of GNATS numbers.
16870 * gdb.base/sigbpt.exp: Likewise.
16871 * gdb.base/siginfo.exp: Likewise.
16872 * gdb.base/sigstep.exp: Likewise.
16873
e5f8a7cc
PA
168742014-10-27 Pedro Alves <palves@redhat.com>
16875
16876 * gdb.base/sigstep.c (dummy): New global.
16877 (main): Issue a couple writes to the new global.
16878 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
16879 procedures.
16880 (skip_over_handler): Use test_skip_handler.
16881 (top level): Call skip_over_handler for stepi and nexti too.
16882 (breakpoint_over_handler): Use test_skip_handler.
16883 (top level): Call breakpoint_over_handler for stepi and nexti too.
16884
763905a3
YQ
168852014-10-27 Yao Qi <yao@codesourcery.com>
16886
16887 * gdb.trace/tfile.c (adjust_function_address)
16888 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16889 function descriptor.
16890
6f259a23
DB
168912014-10-24 Don Breazeal <donb@codesourcery.com>
16892
16893 * gdb.base/foll-fork.exp (test_follow_fork,
16894 catch_fork_child_follow): Check for updated fork messages emitted
16895 from infrun.c.
16896 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16897 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16898 vfork_and_exec_child_follow_through_step): Check for updated vfork
16899 messages emitted from infrun.c.
16900
09dd9a69
PA
169012014-10-24 Pedro Alves <palves@redhat.com>
16902
16903 * gdb.base/corefile.exp: Remove references to ultrix.
16904 * gdb.base/interrupt.exp: Likewise.
16905 * gdb.base/whatis.exp: Likewise.
16906 * gdb.gdb/selftest.exp: Likewise.
16907 * gdb.threads/manythreads.exp: Likewise.
16908 * gdb.threads/print-threads.exp: Likewise.
16909 * gdb.threads/pthreads.exp:: Likewise.
16910 * gdb.threads/schedlock.exp: Likewise.
16911
3433cfa5
SC
169122014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16913
16914 * gdb.cp/non-trivial-retval.cc: Add a test case.
16915 * gdb.cp/non-trivial-retval.exp: Add a test.
16916
092f880b
YQ
169172014-10-20 Yao Qi <yao@codesourcery.com>
16918
16919 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16920 * gdb.python/py-objfile-script-gdb.py: New file.
16921 * gdb.python/py-objfile-script.exp: Update reference to
16922 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16923 of remote_download. Remove the dest file.
16924
acbdb7f3
YQ
169252014-10-20 Yao Qi <yao@codesourcery.com>
16926
16927 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16928 * gdb.base/step-line.exp: Likewise.
16929 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16930 * gdb.dwarf2/dw2-basic.exp: Likewise.
16931 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16932 * gdb.dwarf2/dw2-filename.exp: Likewise.
16933 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16934 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16935 * gdb.dwarf2/dw2-producer.exp: Likewise.
16936 * gdb.dwarf2/mac-fileno.exp: Likewise.
16937 * gdb.python/py-frame-args.exp: Likewise.
16938 * gdb.python/py-framefilter.exp: Likewise.
16939 * gdb.python/py-mi.exp: Likewise.
16940 * gdb.python/py-objfile-script.exp: Likewise
16941 * gdb.python/py-pp-integral.exp: Likewise.
16942 * gdb.python/py-pp-re-notag.exp: Likewise.
16943 * gdb.python/py-prettyprint.exp: Likewise.
16944 * gdb.python/py-section-script.exp: Likewise.
16945 * gdb.python/py-typeprint.exp: Likewise.
16946 * gdb.python/py-xmethods.exp: Likewise.
16947 * gdb.stabs/weird.exp: Likewise.
16948 * gdb.xml/tdesc-regs.exp: Likewise.
16949
bd286a29
KCY
169502014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16951
16952 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16953 (out_cu): Use addr_len for the size of addresses.
16954 (out_line): Likewise. Size DW_LNE_set_address instruction
16955 according to addr_len.
16956 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16957 (FUNC): Add START_INSNS to definition.
16958
673dc4a0
YQ
169592014-10-18 Yao Qi <yao@codesourcery.com>
16960
16961 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16962 gdb_has_argv0 return true.
16963 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16964 check [target_info exists noargs], check [gdb_has_argv0]
16965 instead.
16966 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16967 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16968 procedures.
16969
4ffbba72
DE
169702014-10-17 Doug Evans <dje@google.com>
16971
16972 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16973 event.
16974 * gdb.python/py-events.py: Add clear_objfiles event.
16975
d096d8c1
DE
169762014-10-17 Doug Evans <dje@google.com>
16977
16978 * gdb.python/py-objfile.exp: Test progspace attribute.
16979
a80db015
LM
169802014-10-17 Luis Machado <lgustavo@codesourcery.com>
16981
16982 * gdb.guile/scm-breakpoint.exp: Do not assume any
16983 directory separators when matching source file paths.
16984 * gdb.python/py-breakpoint.exp: Likewise.
16985 * gdb.reverse/break-precsave.exp: Likewise.
16986 * gdb.reverse/break-reverse.exp: Likewise.
16987 * gdb.reverse/consecutive-precsave.exp: Likewise.
16988 * gdb.reverse/finish-precsave.exp: Likewise.
16989 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16990 * gdb.reverse/finish-reverse.exp: Likewise.
16991 * gdb.reverse/i386-precsave.exp: Likewise.
16992 * gdb.reverse/i387-env-reverse.exp: Likewise.
16993 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16994 * gdb.reverse/machinestate-precsave.exp: Likewise.
16995 * gdb.reverse/machinestate.exp: Likewise.
16996 * gdb.reverse/sigall-precsave.exp: Likewise.
16997 * gdb.reverse/solib-precsave.exp: Likewise.
16998 * gdb.reverse/step-precsave.exp: Likewise.
16999 * gdb.reverse/until-precsave.exp: Likewise.
17000 * gdb.reverse/watch-precsave.exp: Likewise.
17001 * gdb.reverse/watch-reverse.exp: Likewise.
17002
b22089ab
YQ
170032014-10-17 Yao Qi <yao@codesourcery.com>
17004
17005 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
17006 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
17007
6c4486e6
PA
170082014-10-17 Pedro Alves <palves@redhat.com>
17009
17010 PR gdb/17471
17011 * gdb.base/bg-execution-repeat.c: New file.
17012 * gdb.base/bg-execution-repeat.exp: New file.
17013
0ff33695
PA
170142014-10-17 Pedro Alves <palves@redhat.com>
17015
17016 PR gdb/17300
17017 * gdb.base/continue-all-already-running.c: New file.
17018 * gdb.base/continue-all-already-running.exp: New file.
17019
6fdebc3d
PA
170202014-10-17 Pedro Alves <palves@redhat.com>
17021
17022 PR gdb/17472
17023 * gdb.base/annota-input-while-running.c: New file.
17024 * gdb.base/annota-input-while-running.exp: New file.
17025
32a8097b
PA
170262014-10-17 Pedro Alves <palves@redhat.com>
17027
17028 * gdb.base/callfuncs.exp: emove references to osf.
17029 * gdb.base/sigall.exp: Likewise.
17030 * gdb.gdb/selftest.exp: Likewise.
17031 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17032 * gdb.mi/non-stop.c: Likewise.
17033 * gdb.mi/pthreads.c: Likewise.
17034 * gdb.reverse/sigall-precsave.exp: Likewise.
17035 * gdb.reverse/sigall-reverse.exp: Likewise.
17036 * gdb.threads/pthreads.c: Likewise.
17037 * gdb.threads/pthreads.exp: Likewise.
17038
7a3517ff
YQ
170392014-10-17 Yao Qi <yao@codesourcery.com>
17040
17041 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
17042 check 'target_info exists noargs'.
17043 (test_command_prompt_position): Likewise.
17044 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
17045 Remove "set args".
17046 (progvar_simple_while_test): Likewise.
17047 (progvar_complex_if_while_test): Likewise.
17048 (if_while_breakpoint_command_test): Likewise.
17049 (infrun_breakpoint_command_test): Likewise.
17050 (breakpoint_command_test): Likewise.
17051 (watchpoint_command_test): Likewise.
17052 (bp_deleted_in_command_test): Likewise.
17053 (temporary_breakpoint_commands): Likewise.
17054
bb99c472
YQ
170552014-10-16 Yao Qi <yao@codesourcery.com>
17056
17057 * gdb.base/remotetimeout.exp: Remove noargs checking.
17058
7c16b83e
PA
170592014-10-15 Pedro Alves <palves@redhat.com>
17060
17061 PR breakpoints/9649
17062 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
17063 * gdb.base/breakpoint-in-ro-region.exp
17064 (probe_target_hardware_step): New procedure.
17065 (top level): Probe hardware stepping and hardware breakpoint
17066 support. Test stepping through a read-only region, with both
17067 "breakpoint auto-hw" on and off and both "always-inserted" on and
17068 off.
17069
35a49624
IB
170702014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
17071
17072 * gdb.dlang/demangle.exp: Update for demangling changes.
17073
2d1c107c
SC
170742014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17075
17076 * gdb.cp/non-trivial-retval.cc: Add new test cases.
17077 * gdb.cp/non-trivial-retval.exp: Add new tests.
17078
778811d5
SC
170792014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17080
17081 PR c++/13403
17082 PR c++/15154
17083 * gdb.cp/non-trivial-retval.cc: New file.
17084 * gdb.cp/non-trivial-retval.exp: New file.
17085
10c5f0a8
YQ
170862014-10-15 Yao Qi <yao@codesourcery.com>
17087
17088 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
17089 remote host.
17090
65d7b369
YQ
170912014-10-15 Yao Qi <yao@codesourcery.com>
17092
17093 * gdb.python/py-symbol.exp: Match file base name if host is
17094 remote, otherwise match file name with dir name.
17095 * gdb.python/py-symtab.exp: Likewise.
17096 * gdb.python/python.exp: Likewise.
17097
46dc1394
YQ
170982014-10-15 Yao Qi <yao@codesourcery.com>
17099
17100 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
17101 pattern.
17102 * gdb.python/py-symtab.exp: Likewise.
17103 * gdb.python/python.exp: Remove trailing ".*". Fix typo
17104 locationn.
17105
c40cc657
JB
171062014-10-14 Joel Brobecker <brobecker@adacore.com>
17107
17108 * gdb.ada/addr_arith: New testcase.
17109
2abf49e1
MR
171102014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
17111
17112 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
17113 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
17114 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
17115 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
17116
f7088df3
SDJ
171172014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
17118
17119 * gdb.arch/stap-eval-lang-ada.S: Likewise.
17120 * gdb.arch/stap-eval-lang-ada.c: Likewise.
17121 * gdb.arch/stap-eval-lang-ada.exp: New file.
17122
4dc06805
YQ
171232014-10-14 Yao Qi <yao@codesourcery.com>
17124
17125 * gdb.mi/mi-var-child.c (nothing1): New function.
17126 (nothing2): New function.
17127 (do_children_tests): Set function pointers by nothing1 and
17128 nothing2.
17129 * gdb.mi/mi-var-child.exp: Step over new added statements.
17130 Update test to match the new output.
17131 * gdb.mi/var-cmd.c (nothing1): New function.
17132 (nothing2): New function.
17133 (do_children_tests): Set function pointers by nothing1 and
17134 nothing2.
17135 * gdb.mi/mi-var-display.exp: Update test to match output.
17136 Step to the line specified by $line_dct_nothing.
17137 Increase the number of lines to step.
17138
46a93de2
YQ
171392014-10-14 Yao Qi <yao@codesourcery.com>
17140
17141 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
17142 tests.
17143 * gdb.mi/mi2-var-child.exp: Likewise.
17144
14ea52ee
DE
171452014-10-13 Doug Evans <dje@google.com>
17146
17147 * gdb.python/py-objfile.exp: Change name of file name test.
17148
e5c6e92b
DE
171492014-10-13 Doug Evans <dje@google.com>
17150
17151 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
17152 from the start of the CU.
17153
c780cc2f
JK
171542014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17155 Yao Qi <yao@codesourcery.com>
17156
17157 Fix "save breakpoints" for "catch" command.
17158 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
17159 Remove -nonewline. Match also the added "main" line.
17160
99894e11
JK
171612014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17162
17163 Fix "save breakpoints" for "disable $bpnum" command.
17164 * gdb.base/save-bp.c (main): Add label.
17165 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
17166
6e1ac5a3
JK
171672014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17168
17169 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
17170
754dd2b0
YQ
171712014-10-11 Yao Qi <yao@codesourcery.com>
17172
17173 * gdb.server/server-kill.exp: Execute command
17174 "set remote trace-status-packet on" before "tstatus".
17175
f90183d7
YQ
171762014-10-11 Yao Qi <yao@codesourcery.com>
17177
17178 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
17179 (main): Call getppid.
17180 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
17181 and continue to it. Read variable "server_pid".
17182
bf40a607
YQ
171832014-10-11 Yao Qi <yao@codesourcery.com>
17184
17185 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
17186
052ca370
YQ
171872014-10-11 Yao Qi <yao@codesourcery.com>
17188
17189 * gdb.threads/thread-find.exp: Don't execute command
17190 "info threads".
17191 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
17192 * gdb.threads/linux-dp.exp: Don't check the condition
17193 $threads_created equals to zero.
17194
3831839c
PA
171952014-10-10 Pedro Alves <palves@redhat.com>
17196
17197 * gdb.base/bigcore.exp: Remove references to IRIX.
17198 * gdb.base/funcargs.exp: Likewise.
17199 * gdb.base/interrupt.exp: Likewise.
17200 * gdb.base/mips_pro.exp: Likewise.
17201 * gdb.base/nodebug.exp: Likewise.
17202 * gdb.base/setvar.exp: Likewise.
17203 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
17204
8b9a549d
PA
172052014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17206 Pedro Alves <palves@redhat.com>
17207
17208 PR symtab/14466
17209 * gdb.base/vdso-warning.c: New file.
17210 * gdb.base/vdso-warning.exp: New file.
17211
d48ba5e8
DE
172122014-10-02 Doug Evans <dje@google.com>
17213
17214 * gdb.base/structs.c (main): Don't run forever.
17215
2278c276
PA
172162014-10-02 Pedro Alves <palves@redhat.com>
17217
17218 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
17219 (top level) <stop threads 1, stop threads 2>: Use it.
17220
b57bacec
PA
172212014-10-02 Pedro Alves <palves@redhat.com>
17222
17223 * gdb.threads/break-while-running.exp (test): Add new
17224 'update_thread_list' argument. Skip "info threads" if false.
17225 (top level): Add new 'update_thread_list' axis.
17226
13fd3ff3
PA
172272014-10-02 Pedro Alves <palves@redhat.com>
17228
17229 PR breakpoints/17431
17230 * gdb.base/execl-update-breakpoints.c: New file.
17231 * gdb.base/execl-update-breakpoints.exp: New file.
17232
0fec99e8
PA
172332014-10-01 Pedro Alves <palves@redhat.com>
17234
17235 * gdb.base/breakpoint-in-ro-region.c: New file.
17236 * gdb.base/breakpoint-in-ro-region.exp: New file.
17237
2ddf4301
SM
172382014-10-01 Simon Marchi <simon.marchi@ericsson.com>
17239
17240 * gdb.mi/mi-exit-code.exp: New file.
17241 * gdb.mi/mi-exit-code.c: New file.
17242
6a5f3f43
YQ
172432014-09-30 Yao Qi <yao@codesourcery.com>
17244
17245 * lib/prelink-support.exp (build_executable_own_libs): Error if
17246 the target isn't native.
17247
345bcc73
YQ
172482014-09-30 Yao Qi <yao@codesourcery.com>
17249
17250 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
17251 false.
17252
a25a5a45
PA
172532014-09-22 Pedro Alves <palves@redhat.com>
17254
17255 * gdb.threads/break-while-running.exp: New file.
17256 * gdb.threads/break-while-running.c: New file.
17257
00ba3162
YQ
172582014-09-19 Yao Qi <yao@codesourcery.com>
17259
17260 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
17261 Invoke test. Restart GDB with --readnow and invoke test again.
17262
c3b7b696
YQ
172632014-09-19 Yao Qi <yao@codesourcery.com>
17264
17265 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
17266 proc set_breakpoint_on_gcd_function. Invoke
17267 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
17268 invoke set_breakpoint_on_gcd_function again.
17269
2b4fd423
DE
172702014-09-18 Doug Evans <dje@google.com>
17271
17272 * gdb.dwarf2/symtab-producer.exp: New file.
17273
a5947601
SDJ
172742014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17275
17276 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
17277 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
17278 * gdb.base/global-var-nested-by-dso.c: Likewise.
17279 * gdb.base/global-var-nested-by-dso.exp: Likewise.
17280
91c19059
SDJ
172812014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17282 Pedro Alves <palves@redhat.com>
17283
17284 * gdb.base/watch-bitfields.exp: Pass string other than test file
17285 name to prepare_for_testing.
17286 (watch): New procedure.
17287 (expect_watchpoint): Use with_test_prefix.
17288 (top level): Factor out tests to ...
17289 (test_watch_location, test_regular_watch): ... these new
17290 procedures, and use with_test_prefix and gdb_continue_to_end.
17291
bb9d5f81
PP
172922014-09-16 Patrick Palka <patrick@parcs.ath.cx>
17293
17294 PR breakpoints/12526
17295 * gdb.base/watch-bitfields.exp: New file.
17296 * gdb.base/watch-bitfields.c: New file.
17297
635856f5
PA
172982014-09-16 Pedro Alves <palves@redhat.com>
17299
17300 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
17301 software and hardware addresses, not software address against
17302 itself.
17303
7280ceea
PA
173042014-09-16 Pedro Alves <palves@redhat.com>
17305
17306 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
17307 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
17308
428b16bd
PA
173092014-09-16 Pedro Alves <palves@redhat.com>
17310
17311 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
17312 files.
17313 * gdb.base/a2-run.exp: Remove all code guarded by istarget
17314 "*-*-vxworks*" throughout.
17315 * gdb.base/break.exp: Likewise.
17316 * gdb.base/default.exp: Likewise.
17317 * gdb.base/scope.exp: Likewise.
17318 * gdb.base/sepdebug.exp: Likewise.
17319 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
17320 throughout.
17321 * gdb.base/run.c: Likewise.
17322 * gdb.base/sepdebug.c: Likewise.
17323 * gdb.hp/gdb.aCC/run.c: Likewise.
17324 * gdb.reverse/until-reverse.c: Likewise.
17325 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
17326
666d413c
YQ
173272014-09-16 Yao Qi <yao@codesourcery.com>
17328
17329 * boards/local-remote-host-native.exp: New file.
17330
57cbd724
DE
173312014-09-14 Doug Evans <xdje42@gmail.com>
17332
17333 * gdb.threads/queue-signal.c (thread_count): New variable.
17334 (thread_count_mutex, thread_count_condvar): New variables.
17335 (incr_thread_count, wait_all_threads_running): New functions.
17336 (main): Wait for all threads to be in their thread functions.
17337
81219e53
DE
173382014-09-13 Doug Evans <xdje42@gmail.com>
17339
17340 * gdb.threads/queue-signal.c: New file.
17341 * gdb.threads/queue-signal.exp: New file.
17342
3714cea7
DE
173432014-09-13 Doug Evans <xdje42@gmail.com>
17344
17345 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
17346 be consistent with what default_gdb_init uses.
17347 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
17348 the plain text of the prompt. Add some logging printfs.
17349 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
17350
fa43b1d7
PA
173512014-09-12 Pedro Alves <palves@redhat.com>
17352
17353 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
17354 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
17355 * gdb.arch/i386-size-overlap.exp: Likewise.
17356 * gdb.arch/i386-size.exp: Likewise.
17357 * gdb.arch/i386-unwind.exp: Likewise.
17358 * gdb.base/a2-run.exp: Likewise.
17359 * gdb.base/break.exp: Likewise.
17360 * gdb.base/charset.exp: Likewise.
17361 * gdb.base/chng-syms.exp: Likewise.
17362 * gdb.base/commands.exp: Likewise.
17363 * gdb.base/dbx.exp: Likewise.
17364 * gdb.base/find.exp: Likewise.
17365 * gdb.base/funcargs.exp: Likewise.
17366 * gdb.base/jit-simple.exp: Likewise.
17367 * gdb.base/reread.exp: Likewise.
17368 * gdb.base/sepdebug.exp: Likewise.
17369 * gdb.base/step-bt.exp: Likewise.
17370 * gdb.cp/mb-inline.exp: Likewise.
17371 * gdb.cp/mb-templates.exp: Likewise.
17372 * gdb.objc/basicclass.exp: Likewise.
17373 * gdb.threads/killed.exp: Likewise.
17374
9d9bf2df
EBM
173752014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17376
17377 PR tdep/17379
17378 * gdb.arch/powerpc-stackless.S: New file.
17379 * gdb.arch/powerpc-stackless.exp: New file.
17380
1cf2f1b0
JK
173812014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17382
17383 * gdb.base/attach.c: Include unistd.h.
17384 (main): Call alarm. Add label postloop.
17385 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
17386 gdb_breakpoint, gdb_continue_to_breakpoint.
17387 (test_command_line_attach_run): Kill ${testpid} in one exit path.
17388
98880d46
PA
173892014-09-11 Pedro Alves <palves@redhat.com>
17390
17391 PR gdb/17347
17392 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
17393 * gdb.base/attach.exp (test_command_line_attach_run): New
17394 procedure.
17395 (top level): Call it.
17396
4c92ff2c
PA
173972014-09-11 Pedro Alves <palves@redhat.com>
17398
17399 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
17400 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
17401 (do_command_attach_tests): Use spawn_wait_for_attach.
17402 * gdb.base/solib-overlap.exp: Likewise.
17403 * gdb.multi/multi-attach.exp: Likewise.
17404 * gdb.python/py-prompt.exp: Likewise.
17405 * gdb.python/py-sync-interp.exp: Likewise.
17406 * gdb.server/ext-attach.exp: Likewise.
17407
3adc1a7d
GKB
174082014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
17409
17410 * gdb.fortran/array-element.exp: Remove unexpected "continue"
17411 command in testcase. Simplify testcase.
17412
96334934
JB
174132014-09-10 Joel Brobecker <brobecker@adacore.com>
17414
17415 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
17416
eb479039
JB
174172014-09-10 Joel Brobecker <brobecker@adacore.com>
17418
17419 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
17420
deede10c
JB
174212014-09-10 Joel Brobecker <brobecker@adacore.com>
17422
17423 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
17424
7828a5f5
JB
174252014-09-10 Joel Brobecker <brobecker@adacore.com>
17426
17427 * gdb.dwarf2/dynarr-ptr.c: New file.
17428 * gdb.dwarf2/dynarr-ptr.exp: New file.
17429
33aeebcf
MR
174302014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17431
17432 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
17433 of 30 rather than hardcoding 120 for a slow test case. Take the
17434 `gdb,timeout' target setting into account for this calculation.
17435 Don't extend the timeout for the test cases that don't need it.
17436
7b415901
MR
174372014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17438
17439 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
17440 a factor of 2 for a slow test case. Take the `gdb,timeout'
17441 target setting into account for this calculation.
17442 * gdb.reverse/until-precsave.exp: Increase the timeout by
17443 a factor of 15 and 3 respectively rather than adding 120
17444 for a pair of slow test cases. Take the `gdb,timeout'
17445 target setting into account for this calculation.
17446
4a40f85a
MR
174472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17448
17449 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
17450 timeout, don't pass one down to gdb_expect.
17451 (gdb_expect): Rework timeout selection.
17452
09635af7
MR
174532014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17454
17455 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
17456 exception on timeout.
17457 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
17458 (gdbserver_start_extended): Catch any `gdbserver_start' error
17459 exceptions.
17460 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
17461 * lib/mi-support.exp (mi_gdb_target_load): Catch any
17462 `gdbserver_gdb_load' error exceptions.
17463
2bdd10b7
MR
174642014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17465
17466 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
17467 120 on waiting for the TCP socket to open.
17468
316935f0
DE
174692014-09-09 Doug Evans <xdje42@gmail.com>
17470
17471 * gdb.base/default.exp (show_conv_list): Add _caller_is,
17472 _caller_matches, _any_caller_is, _any_caller_matches.
17473
83740597
DE
174742014-09-09 Doug Evans <xdje42@gmail.com>
17475
17476 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
17477
4c122fc3
YQ
174782014-09-09 Yao Qi <yao@codesourcery.com>
17479
17480 * gdb.mi/mi-var-display.exp: Set print symbol off.
17481
a9f116cb
GKB
174822014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
17483
17484 PR gdb/17035
17485 * gdb.base/commands.exp: Add tests to verify user-defined
17486 commands with empty bodies.
17487 * gdb.python/py-cmd.exp: Test that we don't show user-defined
17488 python commands in `show user command`.
17489 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
17490 scheme commands in `show user command`.
17491
c75bd3a2
JK
174922014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17493
17494 PR python/17355
17495 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
17496 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
17497 * gdb.python/py-framefilter-invalidarg.exp: New file.
17498 * gdb.python/py-framefilter-invalidarg.py: New file.
17499
faa42425
DE
175002014-09-06 Doug Evans <xdje42@gmail.com>
17501
17502 PR 15276
17503 * gdb.python/py-caller-is.c: New file.
17504 * gdb.python/py-caller-is.exp: New file.
17505
474ca4f6
SDJ
175062014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
17507
17508 PR gdb/17235
17509 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
17510 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
17511
eb0b0463
SDJ
175122014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
17513
17514 PR fortran/17237
17515 * gdb.fortran/print-formatted.exp: New file.
17516 * gdb.fortran/print-formatted.f90: Likewise.
17517
5f3b99cf
SS
175182014-09-03 Sasha Smundak <asmundak@google.com>
17519
17520 * gdb.python/py-frame.exp: Test Frame.read_register.
17521
7d793aa9
SDJ
175222014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
17523
17524 PR python/16699
17525 * gdb.python/py-completion.exp: New file.
17526 * gdb.python/py-completion.py: Likewise.
17527
fb0576e9
DE
175282014-08-28 Doug Evans <dje@google.com>
17529
17530 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
17531 eax,etc. are live with values set by gdb and thus the compiler can't
17532 use them.
17533 * gdb.arch/i386-pseudo.c (main): Ditto.
17534
ee92b0dd
DE
175352014-08-27 Doug Evans <dje@google.com>
17536
17537 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
17538
6649db35
DE
175392014-08-25 Doug Evans <dje@google.com>
17540
17541 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
17542 (main): Ditto.
17543
564b7600
DE
175442014-08-25 Doug Evans <dje@google.com>
17545
17546 * gdb.threads/thread-execl.exp: #include <stdio.h>.
17547
3881fb67
YQ
175482014-08-24 Yao Qi <yao@codesourcery.com>
17549
17550 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
17551 symbol off.
17552 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
17553
a05a36a5
DE
175542014-08-22 Doug Evans <dje@google.com>
17555
17556 PR 17276
17557 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
17558 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
17559 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
17560
7c343b48
YQ
175612014-08-22 Yao Qi <yao@codesourcery.com>
17562
17563 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
17564 * gdb.python/py-finish-breakpoint2.exp: Likewise.
17565 * gdb.python/python.exp: Likewise. Use .py file on the host
17566 instead of the build.
17567
22fd09ae
JK
175682014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17569
17570 * gdb.threads/gcore-stale-thread.c: New file.
17571 * gdb.threads/gcore-stale-thread.exp: New file.
17572
a8454a7c
PA
175732014-08-21 Pedro Alves <palves@redhat.com>
17574
17575 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
17576 * gdb.base/gcore-relro-pie.exp: Likewise.
17577 * gdb.base/gcore-relro.exp: Likewise.
17578 * gdb.base/gcore.exp: Likewise.
17579 * gdb.base/print-symbol-loading.exp: Likewise.
17580 * gdb.threads/gcore-thread.exp: Likewise.
17581 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
17582
2a31c623
PA
175832014-08-20 Pedro Alves <palves@redhat.com>
17584 Jan Kratochvil <jan.kratochvil@redhat.com>
17585
17586 * Makefile.in (EXTRA_RULES, CC): New variables, get from
17587 configure.
17588 (EXPECT): Handle READ1 being set.
17589 (all): Depend on EXTRA_RULES.
17590 (check-read1, expect-read1, read1.so, read1): New rules.
17591 * README (Testsuite Parameters): Document the READ1 make variable.
17592 (Race detection): New section.
17593 * configure: Regenerate.
17594 * configure.ac: If build==host==target, and running under a
17595 GNU/glibc system, add read1 to the extra Makefile rules.
17596 (EXTRA_RULES): AC_SUBST it.
17597 * lib/read1.c: New file.
17598
d36430db
JB
175992014-08-20 Joel Brobecker <brobecker@adacore.com>
17600
17601 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
17602 the handling of variables declared as a typedef to an array
17603 which a DW_AT_data_location attribute.
17604
9a0dc9e3
PA
176052014-08-19 Andrew Burgess <aburgess@broadcom.com>
17606 Pedro Alves <palves@redhat.com>
17607
17608 PR symtab/14604
17609 PR symtab/14605
17610 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
17611 gdb_test.
17612
0718a8da
PA
176132014-08-19 Pedro Alves <palves@redhat.com>
17614
17615 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
17616
13b448cd
YQ
176172014-08-19 Yao Qi <yao@codesourcery.com>
17618
17619 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
17620 right line.
17621
1cbf5077
DB
176222014-08-18 David Blaikie <dblaikie@gmail.com>
17623
17624 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
17625
bf0fae19
JB
176262014-08-18 Joel Brobecker <brobecker@adacore.com>
17627
17628 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
17629 attribute in array range.
17630
3c8c5dcc
JB
176312014-08-18 Joel Brobecker <brobecker@adacore.com>
17632
17633 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
17634
e66d4446
SC
176352014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17636
17637 PR c++/17132
17638 * gdb.cp/pr17132.cc: New file.
17639 * gdb.cp/pr17132.exp: New file.
17640
940df408
SC
176412014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17642
17643 * gdb.python/py-xmethods.py (A_getarrayind)
17644 (E_method_char_worker.__call__, E_method_int_worker.__call__):
17645 Use 'print' with function call syntax.
17646 (E_method_matcher.match): Fix tab vs space indentation mixup.
17647
ebcc6c3a
YQ
176482014-08-15 Yao Qi <yao@codesourcery.com>
17649
17650 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
17651 false.
17652
775e0f04
YQ
176532014-08-15 Yao Qi <yao@codesourcery.com>
17654
17655 * gdb.cp/casts.exp: Set print symbol off.
17656 * gdb.cp/class2.exp: Likewise.
17657 * gdb.cp/overload.exp: Likewise.
17658 * gdb.cp/templates.exp: Likewise.
17659
d769e349
DE
176602014-08-11 Doug Evans <dje@google.com>
17661
17662 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
17663 (test_load_shlib): Update.
17664
20c6f1e1
YQ
176652014-08-09 Yao Qi <yao@codesourcery.com>
17666
17667 * gdb.base/display.exp: Invoke is_address_zero_readable.
17668 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
17669 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17670 * gdb.base/hbreak-unmapped.exp: Return if
17671 is_address_zero_readable returns true.
17672 * gdb.base/signest.exp: Likewise.
17673 * gdb.base/signull.exp: Likewise.
17674 * gdb.base/sigbpt.exp: Likewise.
17675 * gdb.guile/scm-disasm.exp: Do the test if
17676 is_address_zero_readable returns false.
17677 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
17678 * gdb.python/py-arch.exp: Likewise.
17679 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
17680 * lib/gdb.exp (is_address_zero_readable): New proc.
17681
5792e8e3
YQ
176822014-08-09 Yao Qi <yao@codesourcery.com>
17683
17684 PR testsuite/13443
17685 * gdb.mi/mi-var-display.exp: Make test messages unique.
17686
3cecbbbe
TT
176872014-08-04 Tom Tromey <tromey@redhat.com>
17688
17689 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
17690 target 0".
17691
00b51ff5
TT
176922014-08-04 Tom Tromey <tromey@redhat.com>
17693
17694 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
17695 "target_resume".
17696
6908c509
JB
176972014-08-01 Joel Brobecker <brobecker@adacore.com>
17698
17699 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
17700 inner_vla_struct_object_size.
17701 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
17702 as xfail.
17703
cc6563d2
PA
177042014-07-30 Pedro Alves <palves@redhat.com>
17705
17706 * gdb.threads/signal-command-handle-nopass.exp (test): Add
17707 comment.
17708
7e09a223
YQ
177092014-07-29 Yao Qi <yao@codesourcery.com>
17710
17711 PR gdb/17206
17712 * gdb.base/until-nodebug.exp: New.
17713
7ebdbe92
DE
177142014-07-28 Doug Evans <xdje42@gmail.com>
17715
17716 PR guile/17203
17717 * gdb.guile/scm-parameter.exp: Add tests for trying to create
17718 previously existing parameter, and previously ambiguously spelled
17719 parameter.
17720
fdb1adc6
WN
177212014-07-28 Will Newton <will.newton@linaro.org>
17722
17723 * gdb.base/varargs.exp: Remove KFAILs for ARM.
17724
186fcde0
DE
177252014-07-26 Ludovic Courtès <ludo@gnu.org>
17726 Doug Evans <xdje42@gmail.com>
17727
17728 PR guile/17146
17729 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
17730
70509625
PA
177312014-07-25 Pedro Alves <palves@redhat.com>
17732
17733 * gdb.threads/signal-command-handle-nopass.c: New file.
17734 * gdb.threads/signal-command-handle-nopass.exp: New file.
17735 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
17736 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
17737 * gdb.threads/signal-delivered-right-thread.c: New file.
17738 * gdb.threads/signal-delivered-right-thread.exp: New file.
17739
c3f814a1
PA
177402014-07-25 Pedro Alves <palves@redhat.com>
17741
17742 * gdb.base/double-prompt-target-event-error.exp
17743 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
17744 match.
17745 (cancel_pagination_in_target_event): Rework double prompt
17746 detection.
17747 * gdb.base/paginate-after-ctrl-c-running.exp
17748 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
17749 <return>' match.
17750 * gdb.base/paginate-bg-execution.exp
17751 (test_bg_execution_pagination_return)
17752 (test_bg_execution_pagination_cancel): Remove '-notransfer
17753 <return>' matches.
17754 * gdb.base/paginate-execution-startup.exp
17755 (test_fg_execution_pagination_return)
17756 (test_fg_execution_pagination_cancel): Remove '-notransfer
17757 <return>' matches.
17758 * gdb.base/paginate-inferior-exit.exp
17759 (test_paginate_inferior_exited): Remove '-notransfer <return>'
17760 match.
17761 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
17762 * lib/gdb.exp (pagination_prompt): Run text through
17763 string_to_regexp.
17764 (gdb_test_multiple): Match $pagination_prompt instead of
17765 "<return>".
17766 (string_to_regexp): Move to lib/gdb-utils.exp.
17767
e214cf6c
JK
177682014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17769
17770 * gdb.arch/amd64-entry-value-paramref.S: New file.
17771 * gdb.arch/amd64-entry-value-paramref.cc: New file.
17772 * gdb.arch/amd64-entry-value-paramref.exp: New file.
17773 * gdb.arch/amd64-optimout-repeat.S: New file.
17774 * gdb.arch/amd64-optimout-repeat.c: New file.
17775 * gdb.arch/amd64-optimout-repeat.exp: New file.
17776
17d0c5c8
JK
177772014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17778
17779 PR gdb/17170
17780 * gdb.base/statistics.exp: New file.
17781
b8b8facf
DE
177822014-07-17 Doug Evans <dje@google.com>
17783
74b49205 17784 PR gdb/17170
b8b8facf
DE
17785 * gdb.base/maint.exp: Update testing of per-command stats.
17786
1b5d0ab3
PA
177872014-07-16 Pedro Alves <palves@redhat.com>
17788
17789 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
17790 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
17791 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
17792 (tfile_write_buf): New functions.
17793 (add_memory_block): Rewrite using the above.
17794 (adjust_function_address): New function.
17795 (FUNCTION_ADDRESS): New macro.
17796 (write_basic_trace_file): Remove short_x local, and use
17797 tfile_write_16. Change type of func_addr local to unsigned long
17798 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
17799 here. Cast argument of add_memory_block to char pointer.
17800 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
17801 (main): Remove parameters.
17802 * gdb.trace/tfile.exp: Remove nowarnings.
17803
4d974e88
SM
178042014-07-15 Simon Marchi <simon.marchi@ericsson.com>
17805
17806 * gdb.base/debug-expr.exp: Test string evaluation with
17807 "debug expression" on.
17808
41e99568
PA
178092014-07-15 Pedro Alves <palves@redhat.com>
17810
17811 * gdb.base/reread.exp: Use clean_restart.
17812
487d9753
PL
178132014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
17814
17815 * gdb.arch/avr-flash-qualifer.c: New.
17816 * gdb.arch/avr-flash-qualifer.exp: New.
17817
cc1c52ad
PA
178182014-07-14 Pedro Alves <palves@redhat.com>
17819
17820 * gdb.base/paginate-after-ctrl-c-running.c: New file.
17821 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
17822
1e973570
PA
178232014-07-14 Pedro Alves <palves@redhat.com>
17824
17825 * gdb.base/double-prompt-target-event-error.c: New file.
17826 * gdb.base/double-prompt-target-event-error.exp: New file.
17827
93d6eb10
PA
178282014-07-14 Pedro Alves <palves@redhat.com>
17829
17830 PR gdb/17072
17831 * gdb.base/paginate-inferior-exit.c: New file.
17832 * gdb.base/paginate-inferior-exit.exp: New file.
17833
0017922d
PA
178342014-07-14 Pedro Alves <palves@redhat.com>
17835
17836 PR gdb/17072
17837 * gdb.base/paginate-bg-execution.c: New file.
17838 * gdb.base/paginate-bg-execution.exp: New file.
17839
94696ad3
PA
178402014-07-14 Pedro Alves <palves@redhat.com>
17841
17842 PR gdb/17072
17843 * gdb.base/paginate-execution-startup.c: New file.
17844 * gdb.base/paginate-execution-startup.exp: New file.
17845 * lib/gdb.exp (pagination_prompt): New global.
17846 (default_gdb_spawn): New procedure, factored out from
17847 default_gdb_spawn.
17848 (default_gdb_start): Adjust to call default_gdb_spawn.
17849 (gdb_spawn): New procedure.
17850
bd293940
PA
178512014-07-14 Pedro Alves <palves@redhat.com>
17852
17853 * lib/gdb.exp (gdb_assert): New procedure.
17854 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
17855
c933f875
PA
178562014-07-14 Pedro Alves <palves@redhat.com>
17857
17858 * gdb.base/execution-termios.c: New file.
17859 * gdb.base/execution-termios.exp: New file.
17860
d98b7a16
TT
178612014-07-14 Tom Tromey <tromey@redhat.com>
17862
17863 * gdb.cp/vla-cxx.cc: New file.
17864 * gdb.cp/vla-cxx.exp: New file.
17865
548740d6
TT
178662014-07-14 Tom Tromey <tromey@redhat.com>
17867
17868 * gdb.reverse/rerun-prec.c: New file.
17869 * gdb.reverse/rerun-prec.exp: New file.
17870
a25eb028
MR
178712014-07-12 Maciej W. Rozycki <macro@mips.com>
17872 Maciej W. Rozycki <macro@codesourcery.com>
17873
17874 * lib/gdb-utils.exp: New file.
17875 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
17876 inline `gdb_init_command' processing.
17877 (gdb_start_cmd): Likewise.
17878 * lib/mi-support.exp (mi_run_cmd): Likewise.
17879 * README: Document `gdb_init_command' and `gdb_init_commands'.
17880
218c2655
JK
178812014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17882
17883 Fix false FAIL running under a very long directory name.
17884 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
17885 and "set print elements 10000". Twice.
17886
5401fde3
YQ
178872014-07-11 Yao Qi <yao@codesourcery.com>
17888
17889 * gdb.base/exprs.exp: "set print symbol off".
17890
e76126e8
PA
178912014-07-11 Pedro Alves <palves@redhat.com>
17892
17893 * gdb.threads/kill.c: New file.
17894 * gdb.threads/kill.exp: New file.
17895
2d6f0de6
YQ
178962014-07-10 Yao Qi <yao@codesourcery.com>
17897
17898 * gdb.trace/tfile.c (write_basic_trace_file)
17899 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17900 address written to trace file.
17901
7180e04a
PA
179022014-07-09 Pedro Alves <palves@redhat.com>
17903
17904 * gdb.base/attach-wait-input.exp: New file.
17905 * gdb.base/attach-wait-input.c: New file.
17906
9a9a7608
AB
179072014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17908
17909 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17910 setting up test structures.
17911 (main): Call new test function.
17912 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17913 test function, continue into test function and walk test
17914 structures.
17915
161ac41e
YQ
179162014-07-02 Yao Qi <yao@codesourcery.com>
17917
17918 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17919 'bar_start' at the beginning of functions 'foo' and 'bar'
17920 respectively.
17921 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17922 instead of 'foo' and 'bar'.
17923
1f267ae3
MM
179242014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17925
17926 * gdb.btrace/segv.exp: New.
17927 * gdb.btrace/segv.c: New.
17928
2b239efb
LM
179292014-07-02 Luis Machado <lgustavo@codesourcery.com>
17930
17931 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17932 instruction.
17933
cf363f18
MW
179342014-06-30 Mark Wielaard <mjw@redhat.com>
17935
17936 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17937 vulture, vilify, villar): New volatile array constants.
17938 (vindictive, vegetation): New const volatile array constants.
17939 * gdb.base/volatile.exp: Test volatile and const volatile array
17940 types.
17941
aebf9d24
AA
179422014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17943
17944 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17945 target lacks support for awatch, rwatch, or hbreak.
17946
b67a2c6f
YQ
179472014-06-27 Yao Qi <yao@codesourcery.com>
17948
17949 * gdb.multi/dummy-frame-restore.exp: New.
17950 * gdb.multi/dummy-frame-restore.c: New.
17951
aef92902
MM
179522014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17953
17954 * gdb.btrace/gcore.exp: New.
17955
8e9db26e
PA
179562014-06-23 Pedro Alves <palves@redhat.com>
17957
17958 * gdb.base/watchpoint-reuse-slot.c: New file.
17959 * gdb.base/watchpoint-reuse-slot.exp: New file.
17960
70afc5b7
SC
179612014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17962
17963 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17964 progspace's filename in 'info', 'enable' and 'disable' command
17965 tests.
17966
b972bd9c
JK
179672014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17968
17969 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17970 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17971 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17972
125f8a3d
GB
179732014-06-20 Gary Benson <gbenson@redhat.com>
17974
17975 * gdb.arch/i386-avx.exp: Fix include file location.
17976 * gdb.arch/i386-sse.exp: Likewise.
17977
3ed9baed
IB
179782014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17979
17980 * gdb.dlang/expression.exp: New file.
17981
034f788c
PA
179822014-06-19 Pedro Alves <palves@redhat.com>
17983
17984 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17985 out from ...
17986 (top level): ... here. Iterate running tests under different
17987 scheduler-locking settings.
17988
45371d0c
LM
179892014-06-18 Luis Machado <lgustavo@codesourcery.com>
17990
17991 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17992 to DW_FORM_addr and use non-zero addresses.
17993
5d376983
SC
179942014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17995
17996 PR gdb/17017
17997 * gdb.python/py-xmethods.cc: Add global function call counters and
17998 increment them in their respective functions. Remove "cout"
17999 statements.
18000 * gdb.python/py-xmethods.exp: Make tests check the global function
18001 call counters instead of depending on inferior IO.
18002
a1aa2221
LM
180032014-06-18 Don Breazeal <donb@codesourcery.com>
18004
18005 * gdb.base/foll-fork.exp (default_fork_parent_follow):
18006 Deleted procedure.
18007 (explicit_fork_parent_follow): Deleted procedure.
18008 (explicit_fork_child_follow): Deleted procedure.
18009 (test_follow_fork): New procedure.
18010 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 18011 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
18012 procedure calls.
18013
0fc05997
YQ
180142014-06-17 Yao Qi <yao@codesourcery.com>
18015
18016 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
18017 CP1252.
18018
70795c52
LM
180192014-06-17 Luis Machado <lgustavo@codesourcery.com>
18020
18021 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
18022 Initialize ptr and S explicitly.
18023 (skip_type_update_when_not_use_rtti_test): Likewise.
18024
6be47f0c
KS
180252014-06-16 Keith Seitz <keiths@redhat.com>
18026
18027 PR mi/15863
18028 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
18029 the inferior is started.
18030
d03de421
PA
180312014-06-16 Pedro Alves <palves@redhat.com>
18032
18033 * gdb.base/break-main-file-remove-fail.c: New file.
18034 * gdb.base/break-main-file-remove-fail.exp: New file.
18035 * gdb.base/break-unload-file.exp: Use build_executable instead of
18036 prepare_for_testing.
18037 (test_break): New parameter "initial_load". Handle it.
18038 (top level): Add initial_load cmdline/file axis.
18039
f9579b99
TT
180402014-06-12 Tom Tromey <tromey@redhat.com>
18041
18042 * gdb.base/completion.exp: Don't use directory name in test.
18043
3657956b
GB
180442014-06-09 Gary Benson <gbenson@redhat.com>
18045
18046 * gdb.base/sigall.c [Functions to send signals]: Reorder to
18047 separate the always-available ANSI-standard signals from the
18048 signals that require checking.
18049 (main): Likewise.
18050 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
18051 Likewise.
18052 (main): Likewise.
18053
4186eb54
KS
180542014-06-07 Keith Seitz <keiths@redhat.com>
18055
18056 Revert:
18057 PR c++/16253
18058 * gdb.cp/var-tag.cc: New file.
18059 * gdb.cp/var-tag.exp: New file.
18060 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18061 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18062 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18063 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18064
25326a28 180652014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
18066
18067 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
18068
829155c9
PA
180692014-06-06 Pedro Alves <palves@redhat.com>
18070
18071 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
18072 in target debug output instead of looking at RSP packets,
18073 disabling the test on any target that uses hardware stepping.
18074 Update comments.
18075
61c8d22e
PA
180762014-06-06 Pedro Alves <palves@redhat.com>
18077
18078 * gdb.base/break-unload-file.exp: Fix typo.
18079
d9a47287
YQ
180802014-06-06 Yao Qi <yao@codesourcery.com>
18081
18082 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
18083 from "jit_function" to "^jit_function".
18084
e5e01dbf
YQ
180852014-06-06 Yao Qi <yao@codesourcery.com>
18086
18087 * gdb.base/async.c (foo): Add one statement.
18088 * gdb.base/async.exp: Get the next instruction address and
18089 match the output of "nexti" by instruction address. Match
18090 the hex address in the output of "finish".
18091
73ba372c
GB
180922014-06-06 Gary Benson <gbenson@redhat.com>
18093
18094 * gdb.base/call-signals.c: Remove preprocessor conditionals
18095 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
18096 SIGSEGV and SIGTERM.
18097 * gdb.base/sigall.c: Likewise.
18098 * gdb.base/unwindonsignal.c: Likewise.
18099 * gdb.reverse/sigall-reverse.c: Likewise.
18100
831517df
YQ
181012014-06-06 Yao Qi <yao@codesourcery.com>
18102
18103 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
18104 readable, skip the test.
18105
b8b91e98
YQ
181062014-06-06 Yao Qi <yao@codesourcery.com>
18107
18108 * gdb.threads/staticthreads.c (thread_function): Move the line
18109 setting breakpoint on forward.
18110 * gdb.threads/staticthreads.exp: Update comments.
18111
fb934770
LC
181122014-06-05 Ludovic Courtès <ludo@gnu.org>
18113
18114 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
18115 "history-append! type error".
18116
6ef284bd
SM
181172014-06-05 Simon Marchi <simon.marchi@ericsson.com>
18118
18119 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
18120 erroneous dprintf expected input.
18121
a872e241
DE
181222014-06-04 Doug Evans <xdje42@gmail.com>
18123
18124 * gdb.guile/scm-generics.exp: Delete.
18125
16f691fb
DE
181262014-06-04 Doug Evans <xdje42@gmail.com>
18127
18128 * gdb.guile/scm-breakpoint.exp: Update.
18129 Add tests for breakpoint registration.
18130
012370f6
TT
181312014-06-04 Tom Tromey <tromey@redhat.com>
18132
18133 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
18134 VLA-in-union.
18135 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
18136 inner_vla_struct, vla_union types. Initialize objects of those
18137 types and compute their sizes.
18138
9f5a4cef
HZ
181392014-06-04 Nathan Sidwell <nathan@codesourcery.com>
18140 Hui Zhu <hui@codesourcery.com>
18141
18142 * gdb.base/fileio.exp: Add test for shell not available as well as
18143 available.
18144 * gdb.base/fileio.c (test_system): Check for shell twice.
18145
90a45c4d
YQ
181462014-06-04 Yao Qi <yao@codesourcery.com>
18147
18148 * gdb.base/auto-connect-native-target.exp: Remove redundant
18149 space from the regexp pattern.
18150
70017e41
YQ
181512014-06-04 Yao Qi <yao@codesourcery.com>
18152
18153 * gdb.base/default.exp: Replace "child" with "native" in
18154 regexp pattern.
18155
883964a7
SC
181562014-06-03 Siva Chandra Reddy <sivachandra@google.com>
18157
18158 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
18159 * gdb.python/py-xmethods.exp: New tests to test xmethods.
18160 * gdb.python/py-xmethods.py: Python script supporting the
18161 new testcase and tests.
18162
ef370185
JB
181632014-06-03 Joel Brobecker <brobecker@adacore.com>
18164 Pedro Alves <palves@redhat.com>
18165
18166 PR breakpoints/17000
18167 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
18168 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
18169
1e2ccb61
BM
181702014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
18171
18172 * gdb.base/subst.exp: Add tests to verify partial path matching
18173 output.
18174
c6ec5ab2
PA
181752014-06-03 Pedro Alves <palves@redhat.com>
18176
18177 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
18178 target that doesn't use software single-stepping.
18179
835c559f
PA
181802014-06-03 Pedro Alves <palves@redhat.com>
18181
18182 PR breakpoints/17000
18183 * gdb.base/sss-bp-on-user-bp-2.c: New file.
18184 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
18185
06eb1586
DE
181862014-06-02 Doug Evans <xdje42@gmail.com>
18187
18188 * gdb.guile/scm-parameter.exp: New file.
18189
e698b8c4
DE
181902014-06-02 Doug Evans <xdje42@gmail.com>
18191
18192 * gdb.guile/scm-cmd.c: New file.
18193 * gdb.guile/scm-cmd.exp: New file.
18194
ded03782
DE
181952014-06-02 Doug Evans <xdje42@gmail.com>
18196
18197 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
18198 pretty-printer lookup.
18199 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
18200 (make-pp_s-printer): Call it.
18201 (make-pretty-printer-from-dict): New function.
18202 (lookup-pretty-printer-maker-from-dict): New function.
18203 (*pretty-printer*): Simplify.
18204 (make-objfile-pp_s-printer): New function.
18205 (install-objfile-pretty-printers!): New function.
18206 (make-progspace-pp_s-printer): New function.
18207 (install-progspace-pretty-printers!): New function.
18208 * gdb.guile/scm-progspace.c: New file.
18209 * gdb.guile/scm-progspace.exp: New file.
18210
41fac0cf
PA
182112014-06-02 Pedro Alves <palves@redhat.com>
18212
18213 * gdb.base/dprintf-bp-same-addr.c: New file.
18214 * gdb.base/dprintf-bp-same-addr.exp: New file.
18215
96ae5695
EBM
182162014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18217
18218 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
18219 * gdb.arch/powerpc-power.s: Likewise.
18220
da02b3a8
JB
182212014-06-02 Joel Brobecker <brobecker@adacore.com>
18222
18223 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
18224
c72b2e7b
YQ
182252014-06-01 Yao Qi <yao@codesourcery.com>
18226
18227 * gdb.base/watchpoint.exp (test_watch_location): Check null
18228 pointer can be dereferenced. If not, do the test, otherwise
18229 skip it.
18230
53e8a631
AB
182312014-05-30 Andrew Burgess <aburgess@broadcom.com>
18232
18233 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
18234 results.
18235 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
18236
938f0e2f
AB
182372014-05-30 Andrew Burgess <aburgess@broadcom.com>
18238
18239 * gdb.arch/amd64-invalid-stack-middle.S: New file.
18240 * gdb.arch/amd64-invalid-stack-middle.c: New file.
18241 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
18242 * gdb.arch/amd64-invalid-stack-top.c: New file.
18243 * gdb.arch/amd64-invalid-stack-top.exp: New file.
18244
9ba6657a
PA
182452014-05-30 Pedro Alves <palves@redhat.com>
18246
18247 PR breakpoints/17000
18248 * gdb.base/sss-bp-on-user-bp.c: New file.
18249 * gdb.base/sss-bp-on-user-bp.exp: New file.
18250
522c09bf
DB
182512014-05-30 David Blaikie <dblaikie@gmail.com>
18252
18253 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18254 gnu_inline semantics via attribute.
18255 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
18256 source explicitly specifies the required semantics.
18257
bf4ef81e
MR
182582014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
18259
18260 * gdb.reverse/sigall-reverse.exp: Fix a typo.
18261
329ea579
PA
182622014-05-29 Pedro Alves <palves@redhat.com>
18263 Tom Tromey <tromey@redhat.com>
18264
18265 * gdb.base/async-shell.exp: Don't enable target-async.
18266 * gdb.base/async.exp
18267 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18268 parameter. Adjust.
18269 (top level): Don't test with "target-async".
18270 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
18271 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
18272 * gdb.base/inferior-died.exp: Don't enable target-async.
18273 * gdb.base/interrupt-noterm.exp: Likewise.
18274 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
18275 * gdb.mi/mi-nonstop-exit.exp: Likewise.
18276 * gdb.mi/mi-nonstop.exp: Likewise.
18277 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
18278 * gdb.mi/mi-nsintrall.exp: Likewise.
18279 * gdb.mi/mi-nsmoribund.exp: Likewise.
18280 * gdb.mi/mi-nsthrexec.exp: Likewise.
18281 * gdb.mi/mi-watch-nonstop.exp: Likewise.
18282 * gdb.multi/watchpoint-multi.exp: Adjust comment.
18283 * gdb.python/py-evsignal.exp: Don't enable target-async.
18284 * gdb.python/py-evthreads.exp: Likewise.
18285 * gdb.python/py-prompt.exp: Likewise.
18286 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
18287 * gdb.server/solib-list.exp: Don't enable target-async.
18288 * gdb.threads/thread-specific-bp.exp: Likewise.
18289 * lib/mi-support.exp: Adjust to use mi-async.
18290
fd664c91
PA
182912014-05-29 Pedro Alves <palves@redhat.com>
18292
18293 PR gdb/13860
18294 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
18295 reason, even in sync mode.
18296
251bde03
PA
182972014-05-29 Pedro Alves <palves@redhat.com>
18298 Hui Zhu <hui@codesourcery.com>
18299
18300 PR PR15693
18301 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
18302 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
18303 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
18304 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
18305
7f3c0343
JB
183062014-05-28 Joel Brobecker <brobecker@adacore.com>
18307
18308 * config/monitor.exp (gdb_target_monitor): Replace use of
18309 "set remotebaud" by "set serial baud".
18310
b2715b27
AW
183112014-05-26 Andy Wingo <wingo@igalia.com>
18312
18313 * gdb.guile/scm-breakpoint.exp:
18314 * gdb.guile/scm-gsmob.exp: Update to use plain old object
18315 properties instead of gdb-object-properties.
18316
498a4489
YQ
183172014-05-26 Yao Qi <yao@codesourcery.com>
18318
18319 * gdb.server/no-thread-db.exp: Specify source file name
18320 explicitly when setting a breakpoint.
18321
589fdceb
MM
183222014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18323
18324 * gdb.btrace/vdso.c: New.
18325 * gdb.btrace/vdso.exp: New.
18326
e9089e05
MM
183272014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18328
18329 * gdb.base/gcore.exp (capture_command_output): Move ...
18330 * lib/gdb.exp (capture_command_output): ... here.
18331
67b5c0c1
MM
183322014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18333
18334 * gdb.btrace/data.exp: Test memory access during btrace replay.
18335
a2199296
SM
183362014-05-22 Simon Marchi <simon.marchi@ericsson.com>
18337
18338 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
18339
17b2616c
PA
183402014-05-21 Pedro Alves <palves@redhat.com>
18341
18342 PR gdb/13860
18343 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
18344 (top level): Test that output related to execution commands is
18345 sent to the console with CLI commands, but not with MI commands.
18346 Test that breakpoint events are always mirrored to the console.
18347 Also expect the new source line to be output after a "next" in
18348 async mode too. Make it a pass/fail test.
18349 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
18350 output.
18351 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
18352
5166082f
PA
183532014-05-21 Pedro Alves <palves@redhat.com>
18354
18355 * gdb.base/list.exp (build_pattern, test_list): New procedures.
18356 Use them to test variations of "list" after reaching a breakpoint.
18357 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
18358 Test "list" with listsize 10 after reaching a breakpoint.
18359 * gdb.python/python.exp (decode_line current location line
18360 number): Adjust expected line number.
18361
2f25d70f
SM
183622014-05-21 Simon Marchi <simon.marchi@ericsson.com>
18363
18364 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
18365 behavior for $args, pass it directly to "run".
18366
ff604a67
MR
183672014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
18368
18369 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
18370 30000 to 65536.
18371
6a3cb8e8
PA
183722014-05-21 Pedro Alves <palves@redhat.com>
18373
18374 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
18375 auto-connect-native-target off".
18376 * gdb.base/auto-connect-native-target.c: New file.
18377 * gdb.base/auto-connect-native-target.exp: New file.
18378
4ebfc96e
PA
183792014-05-21 Pedro Alves <palves@redhat.com>
18380
18381 * gdb.base/default.exp: Test "target native" instead of "target
18382 child".
18383
36d46afb
MW
183842014-05-21 Mark Wielaard <mjw@redhat.com>
18385
18386 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18387
5876f503
JK
183882014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18389
18390 Fix TLS access for -static -pthread.
18391 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
18392 <HAVE_TLS> (thread_function, main): Initialize it.
18393 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
18394 Add clean_restart.
18395 <$have_tls != "">: Check TLSVAR.
18396
0256a6ac
PA
183972014-05-21 Pedro Alves <palves@redhat.com>
18398
18399 * gdb.base/dcache-line-read-error.c: New.
18400 * gdb.base/dcache-line-read-error.exp: New.
18401
936d2992
PA
184022014-05-20 Pedro Alves <palves@redhat.com>
18403
18404 * gdb.base/compare-sections.c: New file.
18405 * gdb.base/compare-sections.exp: New file.
18406
802e8e6d
PA
184072014-05-20 Pedro Alves <palves@redhat.com>
18408
18409 * gdb.base/break-idempotent.c: New file.
18410 * gdb.base/break-idempotent.exp: New file.
18411
e59fa00f
MM
184122014-05-20 Markus Metzger <markus.t.metzger@intel.com>
18413
18414 * gdb.btrace/nohist.exp: New.
18415
8b696e31
YQ
184162014-05-20 Yao Qi <yao@codesourcery.com>
18417
18418 * lib/gdb.exp (gdb_init): Set timeout if test file is under
18419 gdb.reverse directory and gdb_reverse_timeout exists in board
18420 setting.
18421 * README: Document gdb_reverse_timeout.
18422
73c9764f
YQ
184232014-05-20 Yao Qi <yao@codesourcery.com>
18424
18425 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
18426 'test_file_name'. Treat args as a string instead of a list.
18427 (gdb_init): Rename argument 'args' by 'test_file_name'.
18428
f1f4348a
JK
184292014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
18430
18431 * gdb.arch/powerpc-power.exp: New file.
18432 * gdb.arch/powerpc-power.s: New file.
18433
0dbe70ce
DE
184342014-05-16 Doug Evans <dje@google.com>
18435
18436 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
18437 * gdb.base/completion.exp: Check that all expected files exist
18438 before doing file completion.
0dbe70ce 18439
8d551b02
DE
184402014-05-16 Doug Evans <dje@google.com>
18441
18442 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
18443 Update.
18444 (do_syscall_tests_without_xml): Update.
18445
73eb7709
PA
184462014-05-16 Pedro Alves <palves@redhat.com>
18447
18448 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
18449 instead of "unknown output after running".
18450
3fae92fc
YQ
184512014-05-16 Yao Qi <yao@codesourcery.com>
18452
18453 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
18454 file1.txt from host at the end.
18455 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18456
c2b2ccc5
DE
184572014-05-15 Doug Evans <dje@google.com>
18458
18459 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
18460 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
18461 loading file. Add test for TU lookup.
18462
8c217a4b
SM
184632014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18464
18465 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
18466 calling "-exec-arguments" or "set args" before running the
18467 inferior.
18468
3deb39c6
SM
184692014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18470
18471 * lib/mi-support.exp (mi_expect_stop): Expect message for
18472 inferiors that exit with non-zero exit code.
18473
71a79f8c
YQ
184742014-05-14 Yao Qi <yao@codesourcery.com>
18475
18476 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
18477 match absolute path on remote host.
18478 (test_file_list_exec_source_files): Remove "/" from the
18479 pattern.
18480
f23fcd46
YQ
184812014-05-14 Yao Qi <yao@codesourcery.com>
18482
18483 * boards/local-remote-host-notty.exp (${board}_file): New
18484 proc.
18485
9404b58f
KM
184862014-05-07 Kyle McMartin <kyle@redhat.com>
18487
18488 Pushed by Joel Brobecker <brobecker@adacore.com>.
18489 * gdb.arch/aarch64-atomic-inst.c: New file.
18490 * gdb.arch/aarch64-atomic-inst.exp: New file.
18491
5e45f04c
YQ
184922014-05-07 Yao Qi <yao@codesourcery.com>
18493
18494 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
18495 in current context" too.
18496
c888a17d
KS
184972014-05-05 Keith Seitz <keiths@redhat.com>
18498
18499 * gdb.linespec/ls-dollar.exp: Add test for linespec
18500 file:convenience_variable.
18501
290a839c
YQ
185022014-05-05 Yao Qi <yao@codesourcery.com>
18503
18504 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
18505 traceframes into tfile and ctf trace files. Read data from
18506 trace file and test collected data.
18507 (gdb_collect_locals_test): Likewise.
18508 (gdb_unavailable_registers_test): Likewise.
18509 (gdb_unavailable_floats): Likewise.
18510 (gdb_collect_globals_test): Likewise.
18511 (top-level): Append "ctf" to trace_file_targets if GDB
18512 supports.
18513
b5262cd0
YQ
185142014-05-05 Yao Qi <yao@codesourcery.com>
18515
18516 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
18517 code to ...
18518 (gdb_collect_args_test_1): ... it. New proc.
18519 (gdb_collect_locals_test): Move some code to ...
18520 (gdb_collect_locals_test_1): ... it. New proc.
18521 (gdb_unavailable_registers_test): Move some code to ...
18522 (gdb_unavailable_registers_test_1): ... it. New proc.
18523 (gdb_unavailable_floats): Move some code to ...
18524 (gdb_unavailable_floats_1): ... it. New proc.
18525
30a1e6cc
SDJ
185262014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18527
18528 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
18529 probes to test for bitness recognition.
18530 * gdb.arch/amd64-stap-optional-prefix.exp
18531 (test_probe_value_without_reg): New procedure.
18532 Add code to test for different kinds of bitness.
18533
f33da99a
SDJ
185342014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18535
18536 PR breakpoints/16889
18537 * gdb.arch/amd64-stap-optional-prefix.S: New file.
18538 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18539
5b80f00d
PA
185402014-05-01 Pedro Alves <palves@redhat.com>
18541
18542 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
18543 gdb_file_cmd if no file is specified.
18544 * boards/native-extended-gdbserver.exp (gdb_load): Use the
18545 last_loaded_file to set the remote exec-file.
18546
f8c2a73c
PA
185472014-05-01 Pedro Alves <palves@redhat.com>
18548
18549 * boards/local-remote-host.exp: New file.
18550
be6e8ac7
PA
185512014-05-01 Pedro Alves <palves@redhat.com>
18552
18553 * boards/local-remote-host.exp: Rename to ...
18554 * boards/local-remote-host-notty.exp: ... this.
18555
cac0dc8f
JB
185562014-04-28 Joel Brobecker <brobecker@adacore.com>
18557
18558 * gdb.ada/dyn_arrayidx: New testcase.
18559
9730e6cc
YQ
185602014-04-26 Yao Qi <yao@codesourcery.com>
18561
18562 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
18563 and compute the length of function main. Save it in
18564 $main_length.
18565 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
18566 (top-level): Use gdb_compile to compile objects into
18567 executable and restart GDB. Remove invocation to
18568 prepare_for_testing.
18569
7ae1a6a6
PA
185702014-04-25 Simon Marchi <simon.marchi@ericsson.com>
18571 Pedro Alves <palves@redhat.com>
18572
18573 PR server/16255
18574 * gdb.multi/multi-attach.c: New file.
18575 * gdb.multi/multi-attach.exp: New file.
18576
4082afcc
PA
185772014-04-25 Pedro Alves <palves@redhat.com>
18578
18579 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
18580 user.
18581 (top level): Test that "set remote conditional-breakpoints-packet
18582 off" works as intended.
18583 * gdb.base/dprintf.exp: Test that "set remote
18584 breakpoint-commands-packet off" works as intended.
18585 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
18586 New function.
18587 (top level): Call it.
18588 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
18589 remote fast-tracepoints-packet off" works as intended.
18590 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
18591 * lib/gdb.exp (gdb_is_target_remote): ... here.
18592
2abc3f8d
DB
185932014-04-24 David Blaikie <dblaikie@gmail.com>
18594
18595 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
18596 ensure clang would not discard them.
18597 * gdb.base/gdbvars.c: Ditto.
18598 * gdb.base/memattr.c: Ditto.
18599 * gdb.base/whatis.c: Ditto.
18600 * gdb.python/py-prettyprint.c: Ditto.
18601 * gdb.trace/actions.c: Ditto.
18602 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
18603 ensure clang would not discard it.
18604
bfd39632
DB
186052014-04-24 David Blaikie <dblaikie@gmail.com>
18606
18607 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
18608 clang to emit the full definition of type required by the test
18609 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
18610
22842ff6
DB
186112014-04-24 David Blaikie <dblaikie@gmail.com>
18612
18613 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
18614 coax Clang into emitting the definition of the type.
18615 * gdb.cp/pr10728-x.h (y): Ditto.
18616 * gdb.cp/pr10728-y.cc (y): Ditto.
18617
c2e827ad
DB
186182014-04-24 David Blaikie <dblaikie@gmail.com>
18619
18620 * gdb.base/label.exp: XFAIL label related tests under Clang.
18621 * gdb.cp/cplabel.exp: Ditto.
18622 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
18623 under Clang those using labels.
18624
4c2d33e7
YQ
186252014-04-25 Yao Qi <yao@codesourcery.com>
18626
18627 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
18628 double_label.
18629 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
18630 partial_label and double_label.
18631
56083b99
DB
186322014-04-24 David Blaikie <dblaikie@gmail.com>
18633
18634 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
18635
25d4e99d
DB
186362014-04-24 David Blaikie <dblaikie@gmail.com>
18637
18638 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
18639 of the function to work across GCC and Clang.
18640 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
18641 pointer types (const void ** const V void **).
18642
01f9f808
MS
186432014-04-24 Michael Sturm <michael.sturm@mintel.com>
18644 Walfred Tedeschi <walfred.tedeschi@intel.com>
18645
18646 * Makefile.in (EXECUTABLES): Added i386-avx512.
18647 * gdb.arch/i386-avx512.c: New file.
18648 * gdb.arch/i386-avx512.exp: Likewise.
18649
4b48d439
KS
186502014-04-23 Keith Seitz <keiths@redhat.com>
18651
18652 * lib/mi-support.exp (mi_list_breakpoints): Delete.
18653 (mi_make_breakpoint_table): New procedure.
18654 (mi_create_breakpoint): Use mi_make_breakpoint
18655 and return the result.
18656 (mi_make_breakpoint): New procedure.
18657 (mi_build_kv_pairs): New procedure.
18658
18659 * gdb.mi/mi-break.exp: Remove unused globals,
18660 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
18661 All callers updated.
18662 * gdb.mi/mi-dprintf.exp: Use variable to track command
18663 number.
18664 Update all callers of mi_create_breakpoint and use
18665 mi_make_breakpoint_table.
18666 Remove any unused global variables.
18667 * gdb.mi/mi-nonstop.exp: Likewise.
18668 * gdb.mi/mi-nsintrall.exp: Likewise.
18669 * gdb.mi/mi-nsmoribund.exp: Likewise.
18670 * gdb.mi/mi-nsthrexec.exp: Likewise.
18671 * gdb.mi/mi-reverse.exp: Likewise.
18672 * gdb.mi/mi-simplerun.exp: Likewise.
18673 * gdb.mi/mi-stepn.exp: Likewise.
18674 * gdb.mi/mi-syn-frame.exp: Likewise.
18675 * gdb.mi/mi-until.exp: Likewise.
18676 * gdb.mi/mi-var-cp.exp: Likewise.
18677 * gdb.mi/mi-var-display.exp: Likewise.
18678 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
18679 * gdb.mi/mi2-var-child.exp: Likewise.
18680 * gdb.mi/mi-vla-c99.exp: Likewise.
18681 * lib/mi-support.exp: Likewise.
18682
18683 From Ian Lance Taylor <iant@cygnus.com>:
18684 * lib/gdb.exp (parse_args): New procedure.
18685
08351840
PA
186862014-04-23 Pedro Alves <palves@redhat.com>
18687
18688 * gdb.base/break-unload-file.c: New file.
18689 * gdb.base/break-unload-file.exp: New file.
18690 * gdb.base/sym-file-lib.c (baz): New function.
18691 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
18692 field.
18693 (load): Store the segment's mapped size.
18694 (unload): New function.
18695 (unload_shlib): New function.
18696 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
18697 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
18698 set a breakpoint at baz, and call it.
18699 * gdb.base/sym-file.exp: New tests for stale breakpoint
18700 instructions.
18701
076855f9
PA
187022014-04-23 Pedro Alves <palves@redhat.com>
18703
18704 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
18705 * gdb.base/hbreak-in-shr-unsupported.c: New file.
18706 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
18707 * gdb.base/hbreak-unmapped.c: New file.
18708 * gdb.base/hbreak-unmapped.exp: New file.
18709 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
18710 * lib/gdb.exp (gdb_is_target_remote): ... here.
18711
483805cf
PA
187122014-04-22 Pedro Alves <palves@redhat.com>
18713
18714 * gdb.base/consecutive-step-over.c: New file.
18715 * gdb.base/consecutive-step-over.exp: New file.
18716
06d97543
PA
187172014-04-22 Pedro Alves <palves@redhat.com>
18718
18719 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
18720 instead of send_gdb/gdb_expect.
18721
b4429ea2
YQ
187222014-04-22 Yao Qi <yao@codesourcery.com>
18723
18724 * lib/trace-support.exp (generate_tracefile): New procedure.
18725 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
18726 return 0.
18727 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
18728 if generate_tracefile returns 1.
18729
51d48146
PA
187302014-04-18 Tom Tromey <palves@redhat.com>
18731 Pedro alves <tromey@redhat.com>
18732
18733 PR backtrace/15558
18734 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
18735 with a backtrace limit.
18736 * gdb.python/py-frame-inline.exp: Test running to an inline
18737 function with a backtrace limit, and printing the newest frame.
18738 * gdb.python/py-frame-inline.c (main): Call f.
18739
bd1dce5f
MS
187402014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18741
18742 * gdb.java/jnpe.exp: Drop srcdir from untested path.
18743
40d1a503
MS
187442014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18745
18746 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
18747 Drop prefix from unsupported source file path.
18748
389b98f7
YQ
187492014-04-17 Yao Qi <yao@codesourcery.com>
18750
18751 * lib/gdb.exp (with_target_charset): New proc.
18752 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
18753 with_target_charset.
18754 (test_print_strings): Likewise.
18755 (test_repeat_bytes): Likewise.
18756 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
18757 for some tests.
18758
22869d73
KS
187592014-04-16 Keith Seitz <keiths@redhat.com>
18760
18761 PR gdb/15827
18762 * gdb.dwarf2/corrupt.c: New file.
18763 * gdb.dwarf2/corrupt.exp: New file.
18764
c4f87ca6
KS
187652014-04-16 Keith Seitz <keiths@redhat.com>
18766
18767 PR c++/16597
18768 * gdb.cp/namelessclass.cc: New file.
18769 * gdb.cp/namelessclass.exp: New file.
18770 * gdb.cp/namelessclass.S: New file.
18771
ab19de87
DE
187722014-04-16 Doug Evans <dje@google.com>
18773
18774 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
18775 Add comment.
18776 (gdbserver_default_get_comm_port): New function.
18777 (gdbserver_start): Check if board file provided
18778 "gdbserver,get_comm_port" and use it if so.
18779 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
18780 (gdb,socketport): Set to "stdio".
18781 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
18782 (stdio_gdbserver_template): Delete.
18783 (${board}_get_remote_address): Update.
18784 (${board}_build_remote_cmd): Delete.
18785 (${board}_get_comm_port): New function.
18786 (${board}_spawn): Update.
18787 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
18788 Delete.
18789 (${board}_get_remote_address): Update.
18790 (${board}_get_comm_port): New function.
18791
fc98a809
AB
187922014-04-16 Andrew Burgess <aburgess@broadcom.com>
18793
18794 * gdb.base/memattr.exp: Improve regexps to handle memory regions
18795 appearing in any order.
18796
87fd9e6e
DE
187972014-04-15 Doug Evans <dje@google.com>
18798
18799 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
18800 uninitialized value of "description".
18801
099fc3ea
KS
188022014-04-15 Keith Seitz <keiths@redhat.com>
18803
18804 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
18805 Remove unused globals.
18806 (test_running_the_program): Likewise.
18807 (test_controlled_execution): Likewise.
18808 (test_controlling_breakpoints): Likewise.
18809 (test_program_termination): Likewise.
18810
5da151d4
KS
188112014-04-15 Keith Seitz <keiths@redhat.com>
18812
18813 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
18814 unused globals.
18815 (test_rbreak_creation_and_listing): Likewise.
18816 (test_ignore_count): Likewise.
18817 (test_error): Likewise.
18818
35e5d2f0
PA
188192014-04-15 Pedro Alves <palves@redhat.com>
18820
18821 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
18822 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
18823 sym-file-loader.c.
18824 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18825 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18826 to sym-file-loader.c.
18827 (struct library): Forward declare.
18828 (load_shlib, lookup_function): Change prototypes.
18829 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18830 (translate_offset): Remove declarations.
18831 (get_text_addr): New declaration.
18832 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
18833 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
18834 sym-file-loader.h.
18835 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18836 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18837 here from sym-file-loader.h.
18838 (struct library): New structure.
18839 (load_shlib, lookup_function): Change prototypes and adjust to
18840 work with a struct library.
18841 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18842 (translate_offset): Make static.
18843 (get_text_addr): New function.
18844 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
18845
eb4c1710
PA
188462014-04-15 Pedro Alves <palves@redhat.com>
18847
18848 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
18849
2d1baf52
PA
188502014-04-15 Pedro Alves <palves@redhat.com>
18851
18852 * gdb.base/sym-file-loader.c: Include <limits.h>.
18853 (SELF_LINK): New define.
18854 (get_origin): New function.
18855 (load_shlib): Use it.
18856 * gdb.base/sym-file.exp: Don't early return if the target is
18857 remote. Use runto_main, and issue fail is that fails. Use
18858 gdb_load_shlibs.
18859 (shlib_name): Delete.
18860 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
18861
7dd6df01
PA
188622014-04-15 Pedro Alves <palves@redhat.com>
18863
18864 * gdb.base/sym-file.exp: Remove regex characters from test
18865 message. Don't refer to breakpoint numbers in test messages.
18866
b50c8614
KS
188672014-04-14 Keith Seitz <keiths@redhat.com>
18868
18869 PR c++/16253
18870 * gdb.cp/var-tag.cc: New file.
18871 * gdb.cp/var-tag.exp: New file.
18872 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18873 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18874 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18875 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18876
3d567982
TT
188772014-04-14 Tom Tromey <tromey@redhat.com>
18878
18879 * gdb.cp/classes.exp (test_enums): Handle underlying type.
18880 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
18881 type.
18882 * gdb.cp/enum-class.exp: New file.
18883 * gdb.cp/enum-class.cc: New file.
18884
0626fc76
TT
188852014-04-14 Tom Tromey <tromey@redhat.com>
18886
18887 * gdb.dwarf2/enum-type.exp: New file.
18888
dca325b3
SA
188892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18890
18891 * gdb.mi/mi-vla-c99.exp: New file.
18892 * gdb.mi/vla.c: New file.
18893
5854b38a
SA
188942014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18895
18896 * gdb.base/vla-datatypes.c: New file.
18897 * gdb.base/vla-datatypes.exp: New file.
18898
463bb957
SA
188992014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18900
18901 * gdb.base/vla-ptr.c: New file.
18902 * gdb.base/vla-ptr.exp: New file.
18903
3dd170be
SA
189042014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18905
18906 * gdb.dwarf2/count.exp: New file.
18907
5ecaaa66
SA
189082014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18909
18910 * gdb.base/vla-sideeffect.c: New file.
18911 * gdb.base/vla-sideeffect.exp: New file.
18912
41f1ada5
DB
189132014-04-14 David Blaikie <dblaikie@gmail.com>
18914
18915 * gdb.mi/non-stop.c: Add return value for non-void function return
18916 statement.
18917 * gdb.threads/staticthreads.c: Ditto.
18918
0be03e84
DE
189192014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18920 Doug Evans <xdje42@gmail.com>
18921
18922 * gdb.guile/scm-value.c: Improve test case.
18923 * gdb.guile/scm-value.exp: Add new test.
18924
f180a1fb
DB
189252014-04-11 David Blaikie <dblaikie@gmail.com>
18926
18927 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18928 override Clang's default.
18929
6b662e19
JB
189302014-04-11 Joel Brobecker <brobecker@adacore.com>
18931
18932 Revert the following changes (regressions):
18933
18934 * gdb.base/vla-sideeffect.c: New file.
18935 * gdb.base/vla-sideeffect.exp: New file.
18936
18937 * gdb.dwarf2/count.exp: New file.
18938
18939 * gdb.base/vla-multi.c: New file.
18940 * gdb.base/vla-multi.exp: New file.
18941
18942 * gdb.base/vla-ptr.c: New file.
18943 * gdb.base/vla-ptr.exp: New file.
18944
18945 * gdb.base/vla-datatypes.c: New file.
18946 * gdb.base/vla-datatypes.exp: New file.
18947
18948 * gdb.mi/mi-vla-c99.exp: New file.
18949 * gdb.mi/vla.c: New file.
18950
245a5f0b
KS
189512014-04-11 Keith Seitz <keiths@redhat.com>
18952
18953 PR c++/16675
18954 * gdb.cp/cpsizeof.exp: New file.
18955 * gdb.cp/cpsizeof.cc: New file.
18956
58a84dcf
SA
189572014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18958
191a8a90
JB
18959 * gdb.mi/mi-vla-c99.exp: New file.
18960 * gdb.mi/vla.c: New file.
58a84dcf 18961
c8655f75
SA
189622014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18963
18964 * gdb.base/vla-datatypes.c: New file.
18965 * gdb.base/vla-datatypes.exp: New file.
18966
024e13b4
SA
189672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18968
18969 * gdb.base/vla-ptr.c: New file.
18970 * gdb.base/vla-ptr.exp: New file.
18971
1a237e0e
SA
189722014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18973
18974 * gdb.base/vla-multi.c: New file.
18975 * gdb.base/vla-multi.exp: New file.
18976
504f3432
SA
189772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18978
18979 * gdb.dwarf2/count.exp: New file.
18980
3bce8237
SA
189812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18982
191a8a90
JB
18983 * gdb.base/vla-sideeffect.c: New file.
18984 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 18985
322f9c21
YQ
189862014-04-11 Yao Qi <yao@codesourcery.com>
18987
18988 * gdb.base/completion.exp: Check file exists before running tests
18989 on file completion.
18990
d708bcd1
PA
189912014-04-10 Pedro Alves <palves@redhat.com>
18992
18993 * gdb.base/cond-eval-mode.c: New file.
18994 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18995 prepare_for_testing to build the new file. Check result of
18996 runto_main.
18997 (test_break, test_watch): New procedures.
18998 (top level): Use them.
18999
ae1d2761
PM
190002014-04-08 Pierre Muller <muller@sourceware.org>
19001
19002 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
19003 Ctrl-V use for mingw hosts.
19004
7af389b8
SC
190052014-04-07 Siva Chandra Reddy <sivachandra@google.com>
19006
19007 * gdb.python/py-value.c: Improve test case.
19008 * gdb.python/py-value.exp: Add new test.
19009
5e703181
DE
190102014-04-07 David Blaikie <dblaikie@gmail.com>
19011
19012 * lib/compiler.c: Identify the clang compiler.
19013 * lib/compiler.cc: Ditto.
19014
9810b410
YQ
190152014-04-03 Yao Qi <yao@codesourcery.com>
19016
19017 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
19018
98d1b8dc
AB
190192014-04-01 Anton Blanchard <anton@samba.org>
19020
19021 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
19022 messages unique.
19023
3114cea1
AB
190242014-04-01 Anton Blanchard <anton@samba.org>
19025
19026 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
19027 prepare_for_testing.
19028
62f7182c
AB
190292014-04-01 Anton Blanchard <anton@samba.org>
19030
19031 * gdb.arch/ppc64-atomic-inst.c: Remove.
19032 * gdb.arch/ppc64-atomic-inst.S: New file.
19033 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
19034
770e7fc7
DE
190352014-03-31 Doug Evans <dje@google.com>
19036
19037 * gdb.base/print-symbol-loading-lib.c: New file.
19038 * gdb.base/print-symbol-loading-main.c: New file.
19039 * gdb.base/print-symbol-loading.exp: New file.
19040
46e2bafa
YQ
190412014-03-31 Yao Qi <yao@codesourcery.com>
19042
19043 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
19044
8776cfe9
JB
190452014-03-28 Joel Brobecker <brobecker@adacore.com>
19046
19047 * gdb.ada/mi_dyn_arr: New testcase.
19048
5d1ef361
DE
190492014-03-27 Doug Evans <dje@google.com>
19050
19051 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
19052
b5bee914
YQ
190532014-03-27 Yao Qi <yao@codesourcery.com>
19054
19055 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
19056 if target is nios2-*-*.
19057
0d4d0e77
YQ
190582014-03-26 Yao Qi <yao@codesourcery.com>
19059
19060 * lib/gdb.exp (readline_is_used): New proc.
19061 * gdb.base/completion.exp: Move tests on command complete up.
19062 Skip the rest of tests if readline is not used.
19063 * gdb.ada/complete.exp: Skp the test if readline is not
19064 used.
19065 * gdb.base/filesym.exp: Likewise.
19066 * gdb.base/macscp.exp: Likewise.
19067 * gdb.base/readline-ask.exp: Likewise.
19068 * gdb.base/readline.exp: Likewise.
19069 * gdb.python/py-cmd.exp: Likewise.
19070 * gdb.trace/tfile.exp: Likewise.
19071
29361eee
YQ
190722014-03-26 Yao Qi <yao@codesourcery.com>
19073
19074 * gdb.base/macscp.exp: Fix code format issues.
19075
bc9a5525
UW
190762014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
19077
19078 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
19079 * gdb.asm/powerpc64le.inc: New file.
19080
d3839ede
PA
190812014-03-25 Pedro Alves <palves@redhat.com>
19082 Doug Evans <dje@google.com>
19083
19084 * gdb.base/source-execution.c: New file.
19085 * gdb.base/source-execution.exp: New file.
19086 * gdb.base/source-execution.gdb: New file.
19087
01672a57
DE
190882014-03-24 Doug Evans <dje@google.com>
19089
19090 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
19091 using fission.
19092
88bbeca9
HZ
190932014-03-24 Hui Zhu <hui@codesourcery.com>
19094 Pedro Alves <palves@redhat.com>
19095
19096 PR breakpoints/16101
19097 * gdb.base/dprintf.exp: Use unsupported rather than changing the
19098 test pass/fail messages. Detect missing support for dprintf when
19099 breakpoints are actually inserted.
19100 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
19101 breakpoints are actually inserted.
19102 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
19103 fails.
19104
d2348791
JK
191052014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
19106
19107 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
19108
feef67ab
DE
191092014-03-22 Doug Evans <xdje42@gmail.com>
19110
19111 * gdb.python/python.exp (python not supported): Verify multi-line
19112 python command issues an error.
25d743f9 19113 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 19114 guile command issues an error.
feef67ab 19115
ecebef6a
MR
191162014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
19117
19118 * gdb.threads/thread-specific.exp: Handle the lack of usable
19119 $this_breakpoint and $this_thread.
19120
ccdd1909
HZ
191212014-03-21 Hui Zhu <hui@codesourcery.com>
19122
19123 * gdb.base/attach.exp (do_command_attach_tests): New.
19124
beb460e8
PA
191252014-03-20 Tom Tromey <tromey@redhat.com>
19126 Pedro Alves <palves@redhat.com>
19127
19128 PR cli/15718
19129 * gdb.base/condbreak-call-false.c: New file.
19130 * gdb.base/condbreak-call-false.exp: New file.
19131
40acf43a
PA
191322014-03-20 Pedro Alves <palves@redhat.com>
19133
19134 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
19135 Delete.
19136 (block_signals, unblock_signals): Delete.
19137 (child_function_2, main): Remove references to deleted variable
19138 and functions.
19139
9f5e1e02
PA
191402014-03-20 Pedro Alves <palves@redhat.com>
19141
19142 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
19143 Use pthread_kill to signal thread 2.
19144 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19145 Adjust to make the test send itself a signal rather than using the
19146 host's "kill" command.
19147
99619bea
PA
191482014-03-20 Pedro Alves <palves@redhat.com>
19149
19150 * gdb.threads/multiple-step-overs.c: New file.
19151 * gdb.threads/multiple-step-overs.exp: New file.
19152 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19153 Adjust expected infrun debug output.
19154
2adfaa28
PA
191552014-03-20 Pedro Alves <palves@redhat.com>
19156
19157 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
19158 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
19159
31e77af2
PA
191602014-03-20 Pedro Alves <palves@redhat.com>
19161
19162 PR breakpoints/7143
19163 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
19164 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
19165 of gdb_test_multiple.
19166 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
19167 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
19168
b9f437de
PA
191692014-03-20 Pedro Alves <palves@redhat.com>
19170
19171 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
19172 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
19173
05adc73e
PA
191742014-03-19 Pedro Alves <palves@redhat.com>
19175
19176 * gdb.base/async.exp: Remove early return.
19177
6048b950
PA
191782014-03-19 Pedro Alves <palves@redhat.com>
19179
19180 * gdb.base/async.exp (step& tests): Pass explicit test messages.
19181
8bcfb00a
PA
191822014-03-19 Pedro Alves <palves@redhat.com>
19183
19184 * gdb.base/async.exp (test_background): Expect \r\n after
19185 "completed." in the fail pattern.
19186
884e37dc
PA
191872014-03-19 Pedro Alves <palves@redhat.com>
19188
19189 * gdb.base/async.exp (test_background): New procedure.
19190 Use it for all background execution command tests.
19191
148e57e2
PA
191922014-03-19 Pedro Alves <palves@redhat.com>
19193
19194 * gdb.base/async.exp: Use prepare_for_testing.
19195
f48088c7
PA
191962014-03-19 Pedro Alves <palves@redhat.com>
19197
19198 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
19199 the same line.
19200
e2f6c966
PA
192012014-03-19 Pedro Alves <palves@redhat.com>
19202
19203 * gdb.base/async.c (main): Add "jump here" and "until here" line
19204 marker comments.
19205 * gdb.base/async.exp (jump_here): New global.
19206 (jump& test): Use it.
19207 (until_here): New global.
19208 (until& test): Use it.
19209
c30568d4
PA
192102014-03-19 Pedro Alves <palves@redhat.com>
19211
19212 * gdb.base/async.exp: Don't frob gdb_protocol.
19213
0172b6a7
DE
192142014-03-18 Doug Evans <xdje42@gmail.com>
19215
19216 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
19217 Fix spelling of exec-done-display.
19218
06c868a8
JK
192192014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
19220
19221 PR gdb/15358
19222 * gdb.base/gdb-sigterm.c: New file.
19223 * gdb.base/gdb-sigterm.exp: New file.
19224
0c7e1a46
PA
192252014-03-18 Pedro Alves <palves@redhat.com>
19226
19227 PR gdb/13860
19228 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
19229 * lib/mi-support.exp (mi_expect_stop): Add special handling for
19230 solib-event.
19231
f7c77d93
JB
192322014-03-17 Joel Brobecker <brobecker@adacore.com>
19233
19234 * gdb.ada/pckd_arr_ren: New testcase.
19235
5a1e8c7a
DE
192362014-03-13 Doug Evans <xdje42@gmail.com>
19237
19238 PR guile/16612
19239 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
19240 collect after discarding symbols.
19241
350e1a76
DE
192422014-03-13 Ludovic Courtès <ludo@gnu.org>
19243 Doug Evans <xdje42@gmail.com>
19244
19245 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
19246 to history survives a gc.
19247
a69900ae
PA
192482014-03-13 Pedro Alves <palves@redhat.com>
19249
19250 * gdb.base/default.exp: Don't test "target procfs".
19251
5db9f0bd
PA
192522014-03-13 Pedro Alves <palves@redhat.com>
19253
19254 * gdb.base/default.exp: Update "target child" and "target procfs"
19255 tests to not expect "Unix".
19256
b3ccfe11
TT
192572014-03-12 Tom Tromey <tromey@redhat.com>
19258
19259 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
19260 New procs. Add target-async tests.
19261 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
19262 Add target-async tests.
19263
646f4417
AA
192642014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19265
19266 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
19267 'func_start' and 'func_end' for the beginning and end of the
19268 function code, respectively.
19269 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
19270 'func_end' instead of 'func' and 'main'.
19271
288c211f
AA
192722014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19273
19274 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
19275 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
19276 generate the debug info assembler source.
19277
e0c0f156
AA
192782014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19279
19280 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
19281 * gdb.dwarf2/arr-subrange.exp: Likewise.
19282 * gdb.dwarf2/dwz.exp: Likewise.
19283 * gdb.dwarf2/method-ptr.exp: Likewise.
19284 * gdb.dwarf2/missing-sig-type.exp: Likewise.
19285 * gdb.dwarf2/subrange.exp: Likewise.
19286 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
19287 * gdb.dwarf2/implptrpiece.exp: Likewise.
19288 * gdb.dwarf2/nostaticblock.exp: Likewise.
19289
0e5c4555
AA
192902014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19291
19292 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
19293 directory to absolute path name arguments.
19294
5ec18f2b
JG
192952014-03-10 Joel Brobecker <brobecker@adacore.com>
19296
19297 * gdb.ada/tagged_access: New testcase.
19298
847fc4f2
MM
192992014-03-07 Markus Metzger <markus.t.metzger@intel.com>
19300
19301 * gdb.btrace/data.exp: Update expected output.
19302
cc3da688
YQ
193032014-03-06 Yao Qi <yao@codesourcery.com>
19304
19305 * gdb.trace/pr16508.exp: New file.
19306
0f26cec1
PA
193072014-03-05 Pedro Alves <palves@redhat.com>
19308
19309 PR gdb/16575
19310 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
19311 procedure.
19312 (top level): Adjust to use it. Add tests that exercise breakpoint
19313 interaction with the code-cache.
19314
7a5a839f
LC
193152014-02-26 Ludovic Courtès <ludo@gnu.org>
19316
19317 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
19318 test for 'history-append!'.
19319
31aa7e4e
JB
193202014-02-26 Joel Brobecker <brobecker@adacore.com>
19321
19322 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
19323 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
19324 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
19325 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
19326 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
19327 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
19328
1b588015
JB
193292014-02-26 Joel Brobecker <brobecker@adacore.com>
19330
19331 * testsuite/gdb.python/py-pp-re-notag.c: New file.
19332 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
19333 * testsuite/gdb.python/py-pp-re-notag.p: New file.
19334
55426c9d
JB
193352014-02-26 Joel Brobecker <brobecker@adacore.com>
19336
19337 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
19338
dc53a7ad
JB
193392014-02-26 Joel Brobecker <brobecker@adacore.com>
19340
19341 * gdb.dwarf2/arr-stride.c: New file.
19342 * gdb.dwarf2/arr-stride.exp: New file.
19343
12ab52e9
PA
193442014-02-26 Pedro Alves <palves@redhat.com>
19345
19346 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
19347 that won't ever trigger. Make sure that GDB reports the correct
19348 breakpoint that caused the stop.
19349
849c862e
JK
193502014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19351
19352 PR gdb/16626
19353 * gdb.base/auto-load-script: New file.
19354 * gdb.base/auto-load.c: New file.
19355 * gdb.base/auto-load.exp: New file.
19356
71b7d793
JK
19357 PR gdb/16626
19358 * gdb.base/auto-load.exp: Fix out-of-srctree run.
19359
e2f0d509
JK
193602014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19361
19362 Fix dw2-icycle.exp -fsanitize=address GDB crash.
19363 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
19364
50cc37c8
DE
193652014-02-24 Doug Evans <dje@google.com>
19366
19367 * lib/gdb.exp (run_on_host): Log error output if program fails.
19368
ea4758f2
PA
193692014-02-21 Pedro Alves <palves@redhat.com>
19370
19371 * gdb.threads/step-after-sr-lock.c: Rename to ...
19372 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
19373 * gdb.threads/step-after-sr-lock.exp: Rename to ...
19374 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19375 ... this.
19376
d7b30f67
SDJ
193772014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
19378
19379 PR tdep/16397
19380 * gdb.arch/amd64-stap-special-operands.exp: New file.
19381 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
19382 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
19383 * gdb.arch/amd64-stap-triplet.S: Likewise.
19384 * gdb.arch/amd64-stap-triplet.c: Likewise.
19385
83deb43f
JB
193862014-02-20 Joel Brobecker <brobecker@adacore.com>
19387
19388 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
19389 in .section pseudo-op.
19390
adde2bff
DE
193912014-02-20 lin zuojian <manjian2006@gmail.com>
19392 Joel Brobecker <brobecker@adacore.com>
19393 Doug Evans <xdje42@gmail.com>
19394
19395 PR symtab/16581
19396 * gdb.dwarf2/dw2-icycle.S: New file.
19397 * gdb.dwarf2/dw2-icycle.c: New file.
19398 * gdb.dwarf2/dw2-icycle.exp: New file.
19399
f7bd0f78
SC
194002014-02-19 Siva Chandra Reddy <sivachandra@google.com>
19401
19402 * gdb.python/py-value-cc.cc: Improve test case to enable testing
19403 operations on gdb.Value objects.
19404 * gdb.python/py-value-cc.exp: Add new test to test operations on
19405 gdb.Value objects.
19406
c17ef0d5
DE
194072014-02-18 Doug Evans <dje@google.com>
19408
19409 * Makefile.in (TESTS): New variable.
19410 (expanded_tests, expanded_tests_or_none): New variables
19411 (check-single): Pass $(expanded_tests_or_none) to runtest.
19412 (check-parallel): Only run tests in $(TESTS) if non-empty.
19413 (check/no-matching-tests-found): New rule.
19414 * README: Document TESTS makefile variable.
19415
5dd3176f
DE
194162014-02-18 Doug Evans <dje@google.com>
19417
19418 * Makefile.in (check-parallel): rm -rf outputs temp.
19419
0b10be4f
JK
194202014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19421
19422 Fix "ERROR: no fileid for" in the testsuite.
19423 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
19424
85f224e7
DE
194252014-02-12 Doug Evans <dje@google.com>
19426
19427 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
19428 (MISCELLANEOUS): New variable.
19429 (clean): rm -rf $(MISCELLANEOUS).
19430 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
19431 dwp live in the same directory as symlinks, with each symlink pointed
19432 to a differently named file in a different directory.
19433
149b30ff
DE
194342014-02-11 Doug Evans <dje@google.com>
19435
19436 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
19437 of Tcl file commands.
19438
1dfdac32
MK
194392014-02-10 Mark Kettenis <kettenis@gnu.org>
19440
19441 * gdb.threads/step-after-sr-lock.exp: Avoid executing
19442 "kill -SIGUSR1 -1".
19443
aa4fb036
JB
194442014-02-10 Joel Brobecker <brobecker@adacore.com>
19445
19446 * gdb.ada/tick_length_array_enum_idx: New testcase.
19447
ed3ef339
DE
194482014-02-10 Doug Evans <xdje42@gmail.com>
19449
19450 * configure.ac (AC_OUTPUT): Add gdb.guile.
19451 * configure: Regenerate.
19452 * lib/gdb-guile.exp: New file.
19453 * lib/gdb.exp (get_target_charset): New function.
19454 * gdb.base/help.exp: Update expected output from "apropos apropos".
19455 * gdb.guile/Makefile.in: New file.
19456 * gdb.guile/guile.exp: New file.
19457 * gdb.guile/scm-arch.c: New file.
19458 * gdb.guile/scm-arch.exp: New file.
19459 * gdb.guile/scm-block.c: New file.
19460 * gdb.guile/scm-block.exp: New file.
19461 * gdb.guile/scm-breakpoint.c: New file.
19462 * gdb.guile/scm-breakpoint.exp: New file.
19463 * gdb.guile/scm-disasm.c: New file.
19464 * gdb.guile/scm-disasm.exp: New file.
19465 * gdb.guile/scm-equal.c: New file.
19466 * gdb.guile/scm-equal.exp: New file.
19467 * gdb.guile/scm-error.exp: New file.
19468 * gdb.guile/scm-error.scm: New file.
19469 * gdb.guile/scm-frame-args.c: New file.
19470 * gdb.guile/scm-frame-args.exp: New file.
19471 * gdb.guile/scm-frame-args.scm: New file.
19472 * gdb.guile/scm-frame-inline.c: New file.
19473 * gdb.guile/scm-frame-inline.exp: New file.
19474 * gdb.guile/scm-frame.c: New file.
19475 * gdb.guile/scm-frame.exp: New file.
19476 * gdb.guile/scm-generics.exp: New file.
19477 * gdb.guile/scm-gsmob.exp: New file.
19478 * gdb.guile/scm-iterator.c: New file.
19479 * gdb.guile/scm-iterator.exp: New file.
19480 * gdb.guile/scm-math.c: New file.
19481 * gdb.guile/scm-math.exp: New file.
19482 * gdb.guile/scm-objfile-script-gdb.in: New file.
19483 * gdb.guile/scm-objfile-script.c: New file.
19484 * gdb.guile/scm-objfile-script.exp: New file.
19485 * gdb.guile/scm-objfile.c: New file.
19486 * gdb.guile/scm-objfile.exp: New file.
19487 * gdb.guile/scm-ports.exp: New file.
19488 * gdb.guile/scm-pretty-print.c: New file.
19489 * gdb.guile/scm-pretty-print.exp: New file.
19490 * gdb.guile/scm-pretty-print.scm: New file.
19491 * gdb.guile/scm-section-script.c: New file.
19492 * gdb.guile/scm-section-script.exp: New file.
19493 * gdb.guile/scm-section-script.scm: New file.
19494 * gdb.guile/scm-symbol.c: New file.
19495 * gdb.guile/scm-symbol.exp: New file.
19496 * gdb.guile/scm-symtab-2.c: New file.
19497 * gdb.guile/scm-symtab.c: New file.
19498 * gdb.guile/scm-symtab.exp: New file.
19499 * gdb.guile/scm-type.c: New file.
19500 * gdb.guile/scm-type.exp: New file.
19501 * gdb.guile/scm-value-cc.cc: New file.
19502 * gdb.guile/scm-value-cc.exp: New file.
19503 * gdb.guile/scm-value.c: New file.
19504 * gdb.guile/scm-value.exp: New file.
19505 * gdb.guile/source2.scm: New file.
19506 * gdb.guile/types-module.cc: New file.
19507 * gdb.guile/types-module.exp: New file.
19508
7026a7c1
YQ
195092014-02-10 Yao Qi <yao@codesourcery.com>
19510
19511 PR testsuite/16543
19512 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
19513 * configure: Regenerated.
19514 * Makefile.in: New file.
19515
6c466447
AS
195162014-02-08 Andreas Schwab <schwab@linux-m68k.org>
19517
19518 * gdb.python/py-framefilter.exp: Fix typo.
19519
6e854735
YQ
195202014-02-08 Yao Qi <yao@codesourcery.com>
19521
19522 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
19523 that no =breakpoint-modified is emitted when breakpoints are
19524 modified through MI commands.
19525
d137e6dc
PA
195262014-02-07 Pedro Alves <pedro@codesourcery.com>
19527 Pedro Alves <palves@redhat.com>
19528
19529 * gdb.threads/step-after-sr-lock.c: New file.
19530 * gdb.threads/step-after-sr-lock.exp: New file.
19531
b5ee5a50
PA
195322014-02-07 Pedro Alves <palves@redhat.com>
19533
19534 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
19535
3c77faf3
JK
195362014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
19537
19538 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
19539 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
19540
6dddc817
DE
195412014-02-06 Doug Evans <xdje42@gmail.com>
19542
19543 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
19544 output.
19545
19546 * gdb.gdb/python-interrupts.exp: New file.
19547
de7b2893
YQ
195482014-02-05 Yao Qi <yao@codesourcery.com>
19549
19550 * gdb.trace/report.exp (use_collected_data): Test the output
19551 of "info threads" and "info inferiors".
19552
66d032ac
YQ
195532014-02-05 Yao Qi <yao@codesourcery.com>
19554
19555 Revert this patch:
19556
19557 2013-05-24 Yao Qi <yao@codesourcery.com>
19558
19559 * gdb.trace/tfile.exp: Test inferior and thread.
19560
591a12a1
UW
195612014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19562
19563 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
19564 on a function.
19565 * gdb.base/step-bt.c: Call hello via function pointer to make
19566 sure its first instruction is executed on powerpc64le-linux.
19567
0ff3e01f
UW
195682014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19569
19570 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
19571
084ee545
UW
195722014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19573
19574 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
19575 of the test patterns for use on little-endian systems.
19576
6ed14ff3
UW
195772014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19578
19579 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
19580 (decimal_vector): Fix for little-endian.
19581
401e27fd
JM
195822014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
19583
19584 * gdb.arch/sparc-sysstep.exp: New file.
19585 * gdb.arch/sparc-sysstep.c: Likewise.
19586
19587 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
19588
8b924729
EBM
195892014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19590
19591 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
19592
fb151210
JB
195932014-01-23 Tom Tromey <tromey@redhat.com>
19594
19595 * gdb.ada/array_char_idx: New testcase.
19596
0740f8d8
TT
195972014-01-23 Tom Tromey <tromey@redhat.com>
19598
19599 PR python/16487:
19600 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
19601 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
19602 classes.
19603
21909fa1
TT
196042014-01-23 Tom Tromey <tromey@redhat.com>
19605
19606 PR python/16491:
19607 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
19608 string from an inferior frame.
19609 * gdb.python/py-framefilter-mi.exp: Update.
19610
87ce2a04
DE
196112014-01-22 Doug Evans <dje@google.com>
19612
19613 * gdb.server/server-mon.exp: Add tests for "set debug-format".
19614
237b092b
AA
196152014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19616
19617 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
19618
d674a709
AA
196192014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19620
19621 * gdb.trace/entry-values.exp: Remove excess space character from
19622 regex patterns. Handle s390 call instruction.
19623
20fa3390
AA
196242014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19625
19626 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
19627 define "*_start" label. Make "name" static.
19628 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
19629 ${name} by references to ${name}_start.
19630
78466714
AA
196312014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19632
19633 * gdb.base/info-macros.exp: Remove "debug" from the compile
19634 options.
19635
ec9f644a
IB
196362014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19637
19638 * gdb.dlang/demangle.exp: New file.
19639
94b1b47e
IB
196402014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19641
19642 * gdb.dlang/primitive-types.exp: New file.
19643
7f420862
IB
196442014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19645
19646 * configure.ac: Create gdb.dlang/Makefile.
19647 * configure: Regenerate.
19648 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
19649 * gdb.dlang/Makefile.in: New file.
19650 * lib/d-support.exp: New file.
19651 * lib/gdb.exp (skip_d_tests): New proc.
19652
52834460
MM
196532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19654
19655 * gdb.btrace/delta.exp: Check reverse stepi.
19656 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
19657 * gdb.btrace/finish.exp: New.
19658 * gdb.btrace/next.exp: New.
19659 * gdb.btrace/nexti.exp: New.
19660 * gdb.btrace/record_goto.c: Add comments.
19661 * gdb.btrace/step.exp: New.
19662 * gdb.btrace/stepi.exp: New.
19663 * gdb.btrace/multi-thread-step.c: New.
19664 * gdb.btrace/multi-thread-step.exp: New.
19665 * gdb.btrace/rn-dl-bind.c: New.
19666 * gdb.btrace/rn-dl-bind.exp: New.
19667 * gdb.btrace/data.c: New.
19668 * gdb.btrace/data.exp: New.
19669 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19670
6e07b1d2
MM
196712014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19672
19673 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
19674 * gdb.btrace/exception.exp: Update.
19675 * gdb.btrace/instruction_history.exp: Update.
19676 * gdb.btrace/record_goto.exp: Update.
19677 * gdb.btrace/tailcall.exp: Update.
19678 * gdb.btrace/unknown_functions.exp: Update.
19679 * gdb.btrace/delta.exp: New.
19680
0b722aec
MM
196812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19682
19683 * gdb.btrace/record_goto.exp: Add backtrace test.
19684 * gdb.btrace/tailcall.exp: Add backtrace test.
19685
066ce621
MM
196862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19687
19688 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
19689 * gdb.btrace/record_goto.c: New.
19690 * gdb.btrace/record_goto.exp: New.
19691 * gdb.btrace/x86-record_goto.S: New.
19692
0688d04e
MM
196932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19694
19695 * gdb.btrace/function_call_history.exp: Update tests.
19696 * gdb.btrace/instruction_history.exp: Update tests.
19697
8710b709
MM
196982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19699
19700 * gdb.btrace/function_call_history.exp: Fix expected field
19701 order for "record function-call-history".
19702 Add new tests for "record function-call-history /c".
19703 * gdb.btrace/exception.cc: New.
19704 * gdb.btrace/exception.exp: New.
19705 * gdb.btrace/tailcall.exp: New.
19706 * gdb.btrace/x86-tailcall.S: New.
19707 * gdb.btrace/x86-tailcall.c: New.
19708 * gdb.btrace/unknown_functions.c: New.
19709 * gdb.btrace/unknown_functions.exp: New.
19710 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19711
5de9129b
MM
197122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19713
19714 * gdb.btrace/instruction_history.exp: Update.
19715 * gdb.btrace/function_call_history.exp: Update.
19716
23a7fe75
MM
197172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19718
19719 * gdb.btrace/function_call_history.exp: Fix expected function
19720 trace.
19721 * gdb.btrace/instruction_history.exp: Initialize traced.
19722 Remove traced_functions.
19723
724c7dd8
MM
197242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19725
19726 * gdb.btrace/function_call_history.exp: Update
19727 * gdb.btrace/instruction_history.exp: Update.
19728
6d78d93b
MM
197292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19730
19731 * gdb.btrace/enable.exp: Update expected text.
19732
93a360cc
OJ
197332014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
19734
19735 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
19736 bytes.
19737
3772b53f
MR
197382014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
19739
19740 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
19741
596662fa
OJ
197422014-01-15 Omair Javaid <omair.javaid@linaro.org>
19743
19744 * lib/gdb.exp (supports_process_record): Return true for
19745 arm*-linux*. (supports_reverse): Likewise.
19746
b5b08fb4
SC
197472014-01-13 Siva Chandra Reddy <sivachandra@google.com>
19748
19749 PR python/15464
19750 PR python/16113
19751 * gdb.python/py-type.c: Enhance test case.
19752 * gdb.python/py-value-cc.cc: Likewise
19753 * gdb.python/py-type.exp: Add new tests.
19754 * gdb.python/py-value-cc.exp: Likewise
19755
52d7fb13
AA
197562014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19757 Pedro Alves <palves@redhat.com>
19758
19759 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
19760 Make "name" extern.
19761 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
19762 references to ${name}_start by references to ${name}.
19763
a2cd8cfe
JB
197642014-01-10 Joel Brobecker <brobecker@adacore.com>
19765
19766 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
19767
4e23fced
JB
197682014-01-10 Joel Brobecker <brobecker@adacore.com>
19769
19770 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
19771
c6a9e42c
PA
197722014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
19773 Pedro Alves <palves@redhat.com>
19774
19775 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 19776 mi_gdb_target_load.
c6a9e42c 19777
b7ea362b
PA
197782014-01-08 Pedro Alves <palves@redhat.com>
19779
19780 * gdb.threads/reconnect-signal.c: New file.
19781 * gdb.threads/reconnect-signal.exp: New file.
19782
5e3f4fab
EBM
197832014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19784
19785 * gdb.base/source-dir.exp: New file.
19786
79301218
JB
197872014-01-07 Joel Brobecker <brobecker@adacore.com>
19788
19789 * gdb.ada/mi_interface: New testcase.
19790
8e355c5d
JB
197912014-01-07 Joel Brobecker <brobecker@adacore.com>
19792
19793 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
19794 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
19795 gdb.ada/pp-rec-component/pck.ads: New files.
19796
c0d48811
JB
197972014-01-07 Joel Brobecker <brobecker@adacore.com>
19798
19799 * gdb.python/py-pp-integral.c: New file.
19800 * gdb.python/py-pp-integral.py: New file.
19801 * gdb.python/py-pp-integral.exp: New file.
19802
17b609c3 19803For older changes see ChangeLog-1993-2013.
c906108c 19804\f
8d8cb839
EZ
19805;; Local Variables:
19806;; mode: change-log
19807;; left-margin: 8
19808;; fill-column: 74
19809;; version-control: never
19810;; End:
902f2ccb 19811
b811d2c2 19812 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
19813 Copying and distribution of this file, with or without modification,
19814 are permitted provided the copyright notice and this notice are preserved.