]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix two out-of-date comments
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
626d2320
TV
12020-08-28 Tom de Vries <tdevries@suse.de>
2
3 * gdb.base/label-without-address.c: New test.
4 * gdb.base/label-without-address.exp: New file.
5
df631783
PA
62020-08-27 Pedro Alves <pedro@palves.net>
7
8 PR gdb/26523
9 PR gdb/26524
10 * gdb.base/advance-until-multiple-locations.cc: New.
11 * gdb.base/advance-until-multiple-locations.exp: New.
12
48b076bb
SM
132020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
14
15 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
16
c2015ce4
AB
172020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
18
19 * gdb.arch/amd64-byte.exp: Make test names unique, use
20 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
21 * gdb.arch/amd64-dword.exp: Likewise.
22 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
23 * gdb.arch/amd64-stap-special-operands.exp: Make test names
24 unique.
25 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
26 * gdb.arch/amd64-word.exp: Make test names unique, use
27 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
28 * gdb.arch/i386-byte.exp: Make test names unique, use
29 gdb_breakpoint.
30 * gdb.arch/i386-word.exp: Likewise.
31
995d3a19
SV
322020-08-25 Shahab Vahedi <shahab@synopsys.com>
33
34 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
35
8cac2b31
SM
362020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
37
38 PR gdb/26532
39 * gdb.threads/stepi-random-signal.exp: Update pattern.
40
2bc19622
SM
412020-08-25 Simon Marchi <simon.marchi@efficios.com>
42
43 PR gdb/26532
44 * gdb.base/ui-redirect.exp: Update pattern.
45
b04aa1fc
GB
462020-08-25 Gary Benson <gbenson@redhat.com>
47
48 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
49 when compiling with clang.
8571e9c8 50 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 51
9f68b453
GB
522020-08-25 Gary Benson <gbenson@redhat.com>
53
54 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
55 Add additional_flags=-Wno-inaccessible-base when compiling
56 with GCC >= 10.1 or clang. Add additional_flags=-w when
57 compiling with GCC < 10.
58
3945d2d7
GM
592020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
60
61 PR m2/26372
fc5d6901
SM
62 * gdb.modula2/multidim.c: New file.
63 * gdb.modula2/multidim.exp: New file.
3945d2d7 64
60122dbe
SM
652020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
66
67 * lib/gdb.exp (runto): Always emit fail on internal error.
68
1eb8556f
SM
692020-08-24 Simon Marchi <simon.marchi@efficios.com>
70
71 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
72 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
73 Likewise.
74 * gdb.threads/stepi-random-signal.exp: Likewise.
75
33bf4c5c
TBA
762020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
77
78 * gdb.base/print-file-var.exp: Fix typo "breapoint".
79 * gdb.trace/strace.exp: Ditto.
80
c2fd7fae
AKS
812020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
82
83 * gdb.fortran/vla-type.exp: Skip commands not required for
84 the Flang compiled binaries after prologue fix.
85
326afb72
TT
862020-08-17 Tom de Vries <tdevries@suse.de>
87 Tom Tromey <tromey@adacore.com>
88
89 PR rust/26197:
90 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
91
3ae7ab99
TT
922020-08-17 Tom Tromey <tromey@adacore.com>
93
94 * gdb.ada/mi_var_access.exp: New file.
95 * gdb.ada/mi_var_access/mi_access.adb: New file.
96 * gdb.ada/mi_var_access/pck.adb: New file.
97 * gdb.ada/mi_var_access/pck.ads: New file.
98
f569c1c5
TV
992020-08-16 Tom de Vries <tdevries@suse.de>
100
101 PR gdb/25350
102 * gdb.base/eh_return.c: New test.
103 * gdb.base/eh_return.exp: New file.
104
3d11c30a
TV
1052020-08-15 Tom de Vries <tdevries@suse.de>
106
107 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
108 (mixed_func_1d_): Use fortran_charlen_t in decl.
109
547ce8f0
TV
1102020-08-15 Tom de Vries <tdevries@suse.de>
111
112 PR backtrace/26390
113 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
114 Update expected pattern.
115
a54a7f13
PA
1162020-08-13 Pedro Alves <pedro@palves.net>
117
118 * gdb.fortran/complex.exp: Check skip_fortran_tests.
119 * gdb.fortran/library-module.exp: Likewise.
120 * gdb.fortran/logical.exp: Likewise.
121 * gdb.fortran/module.exp: Likewise.
122 * gdb.fortran/print_type.exp: Likewise.
123 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
124 * gdb.fortran/vla-datatypes.exp: Likewise.
125 * gdb.fortran/vla-history.exp: Likewise.
126 * gdb.fortran/vla-ptr-info.exp: Likewise.
127 * gdb.fortran/vla-ptype-sub.exp: Likewise.
128 * gdb.fortran/vla-ptype.exp: Likewise.
129 * gdb.fortran/vla-sizeof.exp: Likewise.
130 * gdb.fortran/vla-type.exp: Likewise.
131 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
132 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
133 * gdb.fortran/vla-value-sub.exp: Likewise.
134 * gdb.fortran/vla-value.exp: Likewise.
135
7a82e903
PA
1362020-08-13 Pedro Alves <pedro@palves.net>
137
138 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
139 * gdb.ada/access_to_packed_array.exp: Likewise.
140 * gdb.ada/access_to_unbounded_array.exp: Likewise.
141 * gdb.ada/addr_arith.exp: Likewise.
142 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
143 * gdb.ada/arr_arr.exp: Likewise.
144 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
145 * gdb.ada/array_bounds.exp: Likewise.
146 * gdb.ada/array_of_variable_length.exp: Likewise.
147 * gdb.ada/array_ptr_renaming.exp: Likewise.
148 * gdb.ada/array_subscript_addr.exp: Likewise.
149 * gdb.ada/arraydim.exp: Likewise.
150 * gdb.ada/arrayparam.exp: Likewise.
151 * gdb.ada/arrayptr.exp: Likewise.
152 * gdb.ada/assign_1.exp: Likewise.
153 * gdb.ada/assign_arr.exp: Likewise.
154 * gdb.ada/atomic_enum.exp: Likewise.
155 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
156 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
157 * gdb.ada/bias.exp: Likewise.
158 * gdb.ada/boolean_expr.exp: Likewise.
159 * gdb.ada/bp_c_mixed_case.exp: Likewise.
160 * gdb.ada/bp_enum_homonym.exp: Likewise.
161 * gdb.ada/bp_inlined_func.exp: Likewise.
162 * gdb.ada/bp_on_var.exp: Likewise.
163 * gdb.ada/bp_range_type.exp: Likewise.
164 * gdb.ada/bp_reset.exp: Likewise.
165 * gdb.ada/call_pn.exp: Likewise.
166 * gdb.ada/catch_assert_if.exp: Likewise.
167 * gdb.ada/catch_ex.exp: Likewise.
168 * gdb.ada/catch_ex_std.exp: Likewise.
169 * gdb.ada/char_enum.exp: Likewise.
170 * gdb.ada/char_param.exp: Likewise.
171 * gdb.ada/complete.exp: Likewise.
172 * gdb.ada/cond_lang.exp: Likewise.
173 * gdb.ada/convvar_comp.exp: Likewise.
174 * gdb.ada/dgopt.exp: Likewise.
175 * gdb.ada/disc_arr_bound.exp: Likewise.
176 * gdb.ada/display_nested.exp: Likewise.
177 * gdb.ada/dot_all.exp: Likewise.
178 * gdb.ada/dyn_loc.exp: Likewise.
179 * gdb.ada/dyn_stride.exp: Likewise.
180 * gdb.ada/excep_handle.exp: Likewise.
181 * gdb.ada/expr_delims.exp: Likewise.
182 * gdb.ada/expr_with_funcall.exp: Likewise.
183 * gdb.ada/exprs.exp: Likewise.
184 * gdb.ada/fin_fun_out.exp: Likewise.
185 * gdb.ada/fixed_cmp.exp: Likewise.
186 * gdb.ada/formatted_ref.exp: Likewise.
187 * gdb.ada/frame_arg_lang.exp: Likewise.
188 * gdb.ada/frame_args.exp: Likewise.
189 * gdb.ada/fullname_bp.exp: Likewise.
190 * gdb.ada/fun_addr.exp: Likewise.
191 * gdb.ada/fun_in_declare.exp: Likewise.
192 * gdb.ada/fun_overload_menu.exp: Likewise.
193 * gdb.ada/fun_renaming.exp: Likewise.
194 * gdb.ada/funcall_char.exp: Likewise.
195 * gdb.ada/funcall_param.exp: Likewise.
196 * gdb.ada/funcall_ptr.exp: Likewise.
197 * gdb.ada/funcall_ref.exp: Likewise.
198 * gdb.ada/homonym.exp: Likewise.
199 * gdb.ada/info_addr_mixed_case.exp: Likewise.
200 * gdb.ada/info_auto_lang.exp: Likewise.
201 * gdb.ada/info_exc.exp: Likewise.
202 * gdb.ada/info_types.exp: Likewise.
203 * gdb.ada/int_deref.exp: Likewise.
204 * gdb.ada/interface.exp: Likewise.
205 * gdb.ada/iwide.exp: Likewise.
206 * gdb.ada/lang_switch.exp: Likewise.
207 * gdb.ada/length_cond.exp: Likewise.
208 * gdb.ada/maint_with_ada.exp: Likewise.
209 * gdb.ada/mi_catch_assert.exp: Likewise.
210 * gdb.ada/mi_catch_ex.exp: Likewise.
211 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
212 * gdb.ada/mi_dyn_arr.exp: Likewise.
213 * gdb.ada/mi_ex_cond.exp: Likewise.
214 * gdb.ada/mi_exc_info.exp: Likewise.
215 * gdb.ada/mi_interface.exp: Likewise.
216 * gdb.ada/mi_prot.exp: Likewise.
217 * gdb.ada/mi_ref_changeable.exp: Likewise.
218 * gdb.ada/mi_string_access.exp: Likewise.
219 * gdb.ada/mi_task_arg.exp: Likewise.
220 * gdb.ada/mi_task_info.exp: Likewise.
221 * gdb.ada/mi_var_array.exp: Likewise.
222 * gdb.ada/mi_var_union.exp: Likewise.
223 * gdb.ada/mi_variant.exp: Likewise.
224 * gdb.ada/minsyms.exp: Likewise.
225 * gdb.ada/mod_from_name.exp: Likewise.
226 * gdb.ada/nested.exp: Likewise.
227 * gdb.ada/null_array.exp: Likewise.
228 * gdb.ada/optim_drec.exp: Likewise.
229 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
230 * gdb.ada/packed_array_assign.exp: Likewise.
231 * gdb.ada/packed_tagged.exp: Likewise.
232 * gdb.ada/pp-rec-component.exp: Likewise.
233 * gdb.ada/print_chars.exp: Likewise.
234 * gdb.ada/print_pc.exp: Likewise.
235 * gdb.ada/ptr_typedef.exp: Likewise.
236 * gdb.ada/ptype_arith_binop.exp: Likewise.
237 * gdb.ada/ptype_array.exp: Likewise.
238 * gdb.ada/ptype_field.exp: Likewise.
239 * gdb.ada/ptype_tagged_param.exp: Likewise.
240 * gdb.ada/ptype_union.exp: Likewise.
241 * gdb.ada/py_range.exp: Likewise.
242 * gdb.ada/py_taft.exp: Likewise.
243 * gdb.ada/rdv_wait.exp: Likewise.
244 * gdb.ada/rec_comp.exp: Likewise.
245 * gdb.ada/rec_return.exp: Likewise.
246 * gdb.ada/ref_param.exp: Likewise.
247 * gdb.ada/ref_tick_size.exp: Likewise.
248 * gdb.ada/rename_subscript_param.exp: Likewise.
249 * gdb.ada/repeat_dyn.exp: Likewise.
250 * gdb.ada/same_component_name.exp: Likewise.
251 * gdb.ada/same_enum.exp: Likewise.
252 * gdb.ada/scalar_storage.exp: Likewise.
253 * gdb.ada/set_wstr.exp: Likewise.
254 * gdb.ada/small_reg_param.exp: Likewise.
255 * gdb.ada/str_binop_equal.exp: Likewise.
256 * gdb.ada/str_ref_cmp.exp: Likewise.
257 * gdb.ada/str_uninit.exp: Likewise.
258 * gdb.ada/sub_variant.exp: Likewise.
259 * gdb.ada/sym_print_name.exp: Likewise.
260 * gdb.ada/taft_type.exp: Likewise.
261 * gdb.ada/tagged.exp: Likewise.
262 * gdb.ada/tagged_access.exp: Likewise.
263 * gdb.ada/task_bp.exp: Likewise.
264 * gdb.ada/task_switch_in_core.exp: Likewise.
265 * gdb.ada/tasks.exp: Likewise.
266 * gdb.ada/tick_last_segv.exp: Likewise.
267 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
268 * gdb.ada/type_coercion.exp: Likewise.
269 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
270 * gdb.ada/unchecked_union.exp: Likewise.
271 * gdb.ada/uninitialized_vars.exp: Likewise.
272 * gdb.ada/var_arr_attrs.exp: Likewise.
273 * gdb.ada/var_arr_typedef.exp: Likewise.
274 * gdb.ada/var_rec_arr.exp: Likewise.
275 * gdb.ada/variant-record.exp: Likewise.
276 * gdb.ada/variant.exp: Likewise.
277 * gdb.ada/variant_record_packed_array.exp: Likewise.
278 * gdb.ada/varsize_limit.exp: Likewise.
279 * gdb.ada/whatis_array_val.exp: Likewise.
280 * gdb.ada/widewide.exp: Likewise.
281 * gdb.ada/win_fu_syms.exp: Likewise.
282
2832020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
284
285 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
286
10c381b5
AB
2872020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
288
289 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
290 unset the array variable.
291
8f34b746
TV
2922020-08-03 Tom de Vries <tdevries@suse.de>
293
294 PR symtab/26333
295 * lib/dwarf.exp (DW_LNE_user): New proc.
296 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
297 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
298
0245e136
KB
2992020-07-31 Kevin Buettner <kevinb@redhat.com>
300
301 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
302 to 'uintptr_t'
303 (inttypes.h): Include.
304
9ef1ec5d
KB
3052020-07-31 Kevin Buettner <kevinb@redhat.com>
306
307 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
308 (C5_24k): Delete.
309 (C5_8k, C5_64k, C5_256k): New macros.
310 (buf_ro): Allocate 256 KiB of initialized data.
311
4c55e970
TBA
3122020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
313
314 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
315 that attempt to overwrite an existing condition with a condition
316 that fails parsing and also with a condition that parses fine
317 but contains junk at the end.
318
1e620590
TBA
3192020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
320
321 * gdb.base/condbreak-bad.c: New test.
322 * gdb.base/condbreak-bad.exp: New file.
323
e12dcc50
TV
3242020-07-30 Tom de Vries <tdevries@suse.de>
325
326 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
327 out of ...
328 (GDBInfoModuleSymbols::check_entry): ... here.
329 (GDBInfoModuleSymbols::check_optional_entry): New proc.
330 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
331 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
332
6cc64caa
TV
3332020-07-30 Tom de Vries <tdevries@suse.de>
334
335 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
336 "__class_some_module_Number_t" optional.
337
90fd07fc
TV
3382020-07-29 Tom de Vries <tdevries@suse.de>
339
340 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
341 multiple locations.
342
f5c79e97
TV
3432020-07-29 Tom de Vries <tdevries@suse.de>
344
345 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
346 rather than function name.
347
f75a0693
AB
3482020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
349
350 PR symtab/26270:
351 * gdb.cp/disasm-func-name.cc: New file.
352 * gdb.cp/disasm-func-name.exp: New file.
353
4888741a
TT
3542020-07-28 Tom Tromey <tromey@adacore.com>
355
356 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
357 'varval' location.
358
43d5901d
AB
3592020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
360
361 * gdb.python/py-unwind.py: Update to make use of a register
362 descriptor.
363
14fa8fb3
AB
3642020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
365
366 * gdb.python/py-arch-reg-names.exp: Add additional tests.
367
e79eb02f
AB
3682020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
369
370 PR fortran/23051
371 PR fortran/26139
372 * gdb.fortran/class-allocatable-array.exp: New file.
373 * gdb.fortran/class-allocatable-array.f90: New file.
374 * gdb.fortran/pointer-to-pointer.exp: New file.
375 * gdb.fortran/pointer-to-pointer.f90: New file.
376
876518dd
TV
3772020-07-25 Tom de Vries <tdevries@suse.de>
378
379 PR symtab/26243
380 * gdb.dwarf2/dw2-line-number-zero.c: New test.
381 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
382
6dcfb80a
TV
3832020-07-24 Tom de Vries <tdevries@suse.de>
384
385 PR testsuite/26293
386 * gdb.ada/mi_prot.exp: Require gnatmake-8.
387
e7bc9db8
PA
3882020-07-23 Pedro Alves <pedro@palves.net>
389
390 * gdb.server/server-kill.exp (prepare): New, factored out from the
391 top level.
392 (kill_server): New.
393 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
394 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
395
78344df7
AB
3962020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
397
398 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
399
25dfed24
SL
4002020-07-22 Sandra Loosemore <sandra@codesourcery.com>
401
402 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
403 Initialize to empty string at top level.
404 (gdb_wrapper_init): Revert check for file existence on build.
405 Build the wrapper in its default place, not a build-specific
406 location. When host == build, make the pathname absolute.
407 (gdb_compile): Delete leftover declaration of
408 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
409 string instead of uninitialized.
410
7da515fd
KB
4112020-07-22 Kevin Buettner <kevinb@redhat.com>
412
413 * gdb.base/corefile2.exp: New file.
414 * gdb.base/coremaker2.exp: New file.
415
9c5ec5c2
KB
4162020-07-22 Kevin Buettner <kevinb@redhat.com>
417
418 * gdb.base/coredump-filter.exp: Add second
419 non-Private-Shared-Anon-File test.
420 (test_disasm): Rename binfile for test which is expected
421 to fail.
422
f9e233c9
KB
4232020-07-22 Kevin Buettner <kevinb@redhat.com>
424
425 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
426 data in core file".
427 * gdb.base/coremaker.c (buf2ro): New global.
428 (mmapdata): Add a read-only mmap mapping.
429
94c265d7
KB
4302020-07-22 Kevin Buettner <kevinb@redhat.com>
431
432 PR corefiles/25631
433 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
434 New test.
435 * gdb.base/coremaker.c (buf3): New global.
436 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
437 flags.
438
4392020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
440
441 * gdb.base/coremaker.c (filler_ro): New global constant.
442
32fa152e
TT
4432020-07-22 Tom Tromey <tromey@adacore.com>
444
445 * gdb.ada/mi_prot.exp: New file.
446 * gdb.ada/mi_prot/pkg.adb: New file.
447 * gdb.ada/mi_prot/pkg.ads: New file.
448 * gdb.ada/mi_prot/prot.adb: New file.
449
c8474dc3
TBA
4502020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
451
452 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
453 loads two JITers.
454
baf8791e
AB
4552020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
456
457 * gdb.python/py-arch-reg-groups.exp: Additional tests.
458
f7306dac
AB
4592020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
460
461 * gdb.python/py-arch-reg-names.exp: Additional tests.
462
6d3d6e4b
TV
4632020-07-21 Tom de Vries <tdevries@suse.de>
464
465 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
466 breakpoint locations".
467 * gdb.reverse/solib-reverse.exp: Same.
468
803d0592
TV
4692020-07-21 Tom de Vries <tdevries@suse.de>
470
471 * gdb.reverse/step-reverse.c (callee): Merge statements.
472
e9bdc510
TV
4732020-07-21 Tom de Vries <tdevries@suse.de>
474
475 * gdb.fortran/info-modules.exp (info module variables): Allow missing
476 line numbers for some variables.
477
f0f9e75a
TV
4782020-07-21 Tom de Vries <tdevries@suse.de>
479
480 * gdb.opt/inline-locals.c (init_array): New func.
481 (func1): Use init_array.
482 * gdb.opt/inline-locals.exp: Update pattern.
483
bd460ecb
TV
4842020-07-21 Tom de Vries <tdevries@suse.de>
485
486 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
487 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
488
ae5369e7
LC
4892020-07-20 Ludovic Courtès <ludo@gnu.org>
490
491 * gdb.guile/source2.scm: Add #f first argument to 'format'.
492 * gdb.guile/types-module.exp: Remove "ERROR:" from
493 regexps since Guile 3.0 no longer prints that.
494
68cf161c
LC
4952020-07-20 Ludovic Courtès <ludo@gnu.org>
496
497 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
498 error regexp to match on Guile 2.2.
499
c14b4913
GB
5002020-07-20 Gary Benson <gbenson@redhat.com>
501
502 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
503 with clang.
504
b243ba58
TV
5052020-07-20 Tom de Vries <tdevries@suse.de>
506
507 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
508 (omp_set_lock_in_order): New function.
509 (single_scope, multi_scope, nested_func, nested_parallel): Use
510 omp_set_lock_in_order and omp_unset_lock.
511 (main): Init and destroy lock and lock2.
512
c06ad8b5
TV
5132020-07-20 Tom de Vries <tdevries@suse.de>
514
515 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
516
6e22f117
TV
5172020-07-20 Tom de Vries <tdevries@suse.de>
518
519 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
520
33176ea7
TV
5212020-07-17 Tom de Vries <tdevries@suse.de>
522
523 * gdb.base/valgrind-infcall-2.c: New test.
524 * gdb.base/valgrind-infcall-2.exp: New file.
525 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
526
90c3ec2d
TV
5272020-07-17 Tom de Vries <tdevries@suse.de>
528
529 * gdb.dlang/circular.c (found): Use found_label as label name.
530 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
531 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
532 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
533 * gdb.dwarf2/ada-linkage-name.exp: Same.
534 * gdb.dwarf2/arr-subrange.exp: Same.
535 * gdb.dwarf2/atomic-type.exp: Same.
536 * gdb.dwarf2/comp-unit-lang.exp: Same.
537 * gdb.dwarf2/cpp-linkage-name.exp: Same.
538 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
539 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
540 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
541 * gdb.dwarf2/implptr-64bit.exp: Same.
542 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
543 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
544 * gdb.dwarf2/imported-unit.exp: Same.
545 * gdb.dwarf2/main-subprogram.exp: Same.
546 * gdb.dwarf2/missing-type-name.exp: Same.
547 * gdb.dwarf2/nonvar-access.exp: Same.
548 * gdb.dwarf2/struct-with-sig.exp: Same.
549 * gdb.dwarf2/typedef-void-finish.exp: Same.
550 * gdb.dwarf2/void-type.exp: Same.
551
10da644d
TV
5522020-07-17 Tom de Vries <tdevries@suse.de>
553
554 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
555 src parameter.
556 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
557 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
558 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
559 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
560 * gdb.dwarf2/dwz.exp: Same.
561 * gdb.dwarf2/implptr-optimized-out.exp: Same.
562 * gdb.dwarf2/implref-array.exp: Same.
563 * gdb.dwarf2/implref-const.exp: Same.
564 * gdb.dwarf2/implref-global.exp: Same.
565 * gdb.dwarf2/implref-struct.exp: Same.
566 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
567 * gdb.dwarf2/opaque-type-lookup.exp: Same.
568 * gdb.dwarf2/var-access.exp: Same.
569 * gdb.dwarf2/varval.exp: Same.
570 * gdb.trace/entry-values.exp: Same.
571
315e6afc
TV
5722020-07-17 Tom de Vries <tdevries@suse.de>
573
574 * lib/dwarf.exp (Dwarf::extern): Remove.
575 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
576 * gdb.dlang/circular.exp: Same.
577 * gdb.dwarf2/comp-unit-lang.exp: Same.
578 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
579 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
580 * gdb.dwarf2/dwz.exp: Same.
581 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
582 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
583 * gdb.dwarf2/imported-unit.exp: Same.
584 * gdb.dwarf2/opaque-type-lookup.exp: Same.
585
5597c940
SL
5862020-07-16 Sandra Loosemore <sandra@codesourcery.com>
587
588 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
589 Use double quotes instead of single quotes.
590
d0ce17d8
CT
5912020-07-16 Caroline Tice <cmtice@google.com>
592
593 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
594 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
595
853772cc
TV
5962020-07-16 Tom de Vries <tdevries@suse.de>
597
598 * lib/dwarf.exp (program): Initialize _line.
599 (DW_LNE_end_sequence): Reinitialize _line.
600 (DW_LNS_advance_line): Update _line.
601 (line): New proc.
602 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
603 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
604 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
605 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
606 * gdb.dwarf2/dw2-is-stmt.exp: Same.
607 * gdb.dwarf2/dw2-ranges-func.exp: Same.
608
fe07b572
AB
6092020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
610
611 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
612 generic.
613
52781cce
TV
6142020-07-15 Tom de Vries <tdevries@suse.de>
615
616 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
617 is_amd64_regs_target.
618
3dcc261c
AB
6192020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
620
621 * gdb.fortran/ptype-on-functions.exp: Add more tests.
622 * gdb.fortran/ptype-on-functions.f90: Likewise.
623
054a0959
SM
6242020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
625
626 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
627 values in documentation for addr_size to 4 and 8.
628
ccb9eba6
AB
6292020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
630
631 * gdb.arch/amd64-osabi.exp: Update.
632 * gdb.arch/arm-disassembler-options.exp: Update.
633 * gdb.arch/powerpc-disassembler-options.exp: Update.
634 * gdb.arch/ppc64-symtab-cordic.exp: Update.
635 * gdb.arch/s390-disassembler-options.exp: Update.
636 * gdb.base/all-architectures.exp.tcl: Update.
637 * gdb.base/attach-pie-noexec.exp: Update.
638 * gdb.base/catch-syscall.exp: Update.
639 * gdb.xml/tdesc-arch.exp: Update.
640
025a39a7
TV
6412020-07-14 Tom de Vries <tdevries@suse.de>
642
643 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
644 (local_gettid): ... this.
645 (fn): Update.
646
74e4b667
SL
6472020-07-13 Sandra Loosemore <sandra@codesourcery.com>
648
649 * gdb.base/info_sources.exp: Skip directory match tests on
650 remote hosts.
651
f413dd74
GB
6522020-07-13 Gary Benson <gbenson@redhat.com>
653
654 * gdb.base/savedregs.exp (caller): Use parentheses to
655 make expected expression evaluation ordering explicit.
656
915771bb
GB
6572020-07-13 Gary Benson <gbenson@redhat.com>
658
659 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
660
2a122642
GB
6612020-07-13 Gary Benson <gbenson@redhat.com>
662
663 * gdb.base/bigcore.c (main): Use a volatile pointer when
664 attempting to trigger a SIGSEGV.
665 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
666 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
667 * gdb.base/savedregs.c (thrower): Likewise.
668 * gdb.mi/mi-syn-frame.c (bar): Likewise.
669
3f00c730
GB
6702020-07-13 Gary Benson <gbenson@redhat.com>
671
672 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
673 defining and using VLA structure fields into...
674 * gdb.base/vla-struct-fields.c: New file.
675 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
676 tests into...
677 * gdb.base/vla-struct-fields.exp: New file.
678
963eeee4
TV
6792020-07-13 Tom de Vries <tdevries@suse.de>
680
681 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
682 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
683 * gdb.base/gold-gdb-index.exp: Same.
684 * gdb.base/morestack.exp: Same.
685
0ed35c9a
DX
6862020-07-11 Daniel Xu <dxu@dxuuu.xyz>
687
688 PR rust/26121
689 * gdb.rust/modules.rs: Prevent linker from discarding test
690 symbol.
691
4fdba23d
PA
6922020-07-10 Pedro Alves <pedro@palves.net>
693
694 PR gdb/26199
695 * gdb.multi/multi-target.c (exit_thread): New.
696 (thread_start): Break loop if EXIT_THREAD.
697 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
698 (top level) Call test_no_resumed.
699
15f3b077
TT
7002020-07-08 Tom Tromey <tromey@adacore.com>
701
702 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
703 * gdb.ada/catch_ex.exp: Examine catchpoint text.
704
9fc501fd
AB
7052020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
706
707 PR python/22748
708 * gdb.opt/inline-frame-tailcall.c: New file.
709 * gdb.opt/inline-frame-tailcall.exp: New file.
710 * gdb.python/py-unwind-inline.c: New file.
711 * gdb.python/py-unwind-inline.exp: New file.
712 * gdb.python/py-unwind-inline.py: New file.
713
64cb3757
AB
7142020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
715
716 * gdb.python/py-arch-reg-groups.exp: New file.
717
0f767f94
AB
7182020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
719
720 * gdb.python/py-arch-reg-names.exp: New file.
721
87dbc774
AB
7222020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
723
724 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
725 gdb.PendingFrame.architecture method.
726
d8cc8af6
TV
7272020-07-06 Tom de Vries <tdevries@suse.de>
728
729 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
730
3c8ea5be
PA
7312020-07-03 Pedro Alves <palves@redhat.com>
732
733 * gdb.base/structs2.c (main): Adjust second parem_reg call to
734 explicitly write negative numbers.
735 * gdb.base/structs2.exp: Adjust expected output.
736
bf90c83a
PA
7372020-07-03 Pedro Alves <palves@redhat.com>
738
739 * gdb.base/charset.c (init_string): Change all char parameters to
740 unsigned char parameters.
741
2eb82157
PA
7422020-07-03 Pedro Alves <palves@redhat.com>
743
744 * gdb.base/call-sc.exp (start_scalars_test): Use
745 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
746 * gdb.base/overlays.c: Remove references to PARAMS.
747 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
748 * gdb.base/reread.exp: Don't set 'prototypes' global.
749 * gdb.base/structs.exp (start_structs_test): Use
750 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
751 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
752 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
753 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
754 call.
755 * gdb.base/varargs.exp: Don't set 'prototypes' global.
756
9adda7af
PA
7572020-07-03 Pedro Alves <palves@redhat.com>
758
759 * gdb.base/m32rovly.c: Delete.
760 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
761
2a17c803
PW
7622020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
763
764 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
765 of gdb_py_test_multiple.
766 * gdb.python/py-cmd.exp: Likewise.
767 * gdb.python/py-events.exp: Likewise.
768 * gdb.python/py-function.exp: Likewise.
769 * gdb.python/py-inferior.exp: Likewise.
770 * gdb.python/py-infthread.exp: Likewise.
771 * gdb.python/py-linetable.exp: Likewise.
772 * gdb.python/py-parameter.exp: Likewise.
773 * gdb.python/py-value.exp: Likewise.
774
b011fe1a
TV
7752020-06-30 Tom de Vries <tdevries@suse.de>
776
777 PR testsuite/26175
778 * lib/future.exp (gdb_default_target_compile): Detect and handle
779 early_flags.
780
df5b8876
SM
7812020-06-29 Simon Marchi <simon.marchi@efficios.com>
782
783 * boards/simavr.exp (gdb_load): Catch errors when closing
784 previous connection. Close connection, wait for process and
785 unset simavr_spawn_id on failure.
786
a3ca48cd
TV
7872020-06-29 Tom de Vries <tdevries@suse.de>
788
789 * lib/gdb.exp (unknown): Make test-case unresolved.
790
b0237c0e
TV
7912020-06-29 Tom de Vries <tdevries@suse.de>
792
793 PR gdb/25475
794 * gdb.server/solib-list.exp: Verify that the symbol reload
795 confirmation question is asked.
796
c0b3b3bd
PW
7972020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
798
799 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
800 have a input seq nr in each pass message.
fe4c3d43 801 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
802 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
803 * gdb.python/python.exp: Make test names unique,
804 use gdb_test_multiline instead of gdb_py_test_multiple,
805 use $gdb_test_name.
806 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
807
1776e3e5
NA
8082020-06-26 Nick Alcock <nick.alcock@oracle.com>
809
810 * configure.ac: Add --enable-libctf.
811 * aclocal.m4: sinclude ../config/enable.m4.
812 * Makefile.in (site.exp): Add enable_libctf to site.exp.
813 * lib/gdb.exp (skip_ctf_tests): Use it.
814 * gdb.base/ctf-constvars.exp: Error message tweak.
815 * gdb.base/ctf-ptype.exp: Likewise.
816 * configure: Regenerate.
817
f53b3eeb
GB
8182020-06-26 Gary Benson <gbenson@redhat.com>
819
820 * gdb.cp/try_catch.cc: Include string.h.
821 (main): Replace comparison against string literal with
822 strcmp, avoiding build failure with -Wstring-compare.
823 Add "marker test-complete".
824 * gdb.cp/try_catch.exp: Run the test to the above marker,
825 then verify that the value of "test" is still true.
826
6d74da72
AB
8272020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
828
829 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
830
2e52d038
AB
8312020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
832
833 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
834
3b9fce96
AB
8352020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
836
837 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
838 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
839 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
840 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
841 * gdb.arch/riscv-tdesc-loading.exp: New file.
842
ed69cbc8
AB
8432020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
844
845 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
846
767a879e
AB
8472020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
848
849 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
850 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
851 * gdb.arch/riscv-tdesc-regs.c: New file.
852 * gdb.arch/riscv-tdesc-regs.exp: New file.
853
221db974
PA
8542020-06-24 Pedro Alves <palves@redhat.com>
855
856 * gdb.arch/amd64-entry-value-paramref.exp: Use
857 prepare_for_testing_full and don't pass "c++" for the .S file
858 build spec.
859 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
860 $options, since it's an assembly file. Remove -Wno-deprecated.
861 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
862 compiling C++ programs.
863
331733cd
PA
8642020-06-24 Pedro Alves <palves@redhat.com>
865
866 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
867 Clang, add "-Wno-unknown-warning-option" to the options.
868
caa7fd04
AB
8692020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
870
871 * gdb.xml/tdesc-reload.c: New file.
872 * gdb.xml/tdesc-reload.exp: New file.
873 * gdb.xml/maint-xml-dump-01.xml: New file.
874 * gdb.xml/maint-xml-dump-02.xml: New file.
875 * gdb.xml/maint-xml-dump.exp: New file.
876
bb8d1260
SL
8772020-06-23 Sandra Loosemore <sandra@codesourcery.com>
878
879 * lib/completion-support.exp (test_gdb_completion_offers_commands):
880 Adjust for omitted commands when TUI is disabled.
881
7e4b9c4c
GB
8822020-06-23 Gary Benson <gbenson@redhat.com>
883 Pedro Alves <palves@redhat.com>
884
885 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
886 * gdb.cp/nsimport.cc: Likewise.
887 * gdb.cp/nsnested.cc: Likewise.
888 * gdb.cp/nsnoimports.cc: Likewise.
889 * gdb.cp/nsusing.cc: Likewise.
890 * gdb.cp/smartp.cc: Likewise.
891 * gdb.python/py-pp-integral.c: Likewise.
892 * gdb.python/py-pp-re-notag.c: Likewise.
893
2e573c0a
GB
8942020-06-23 Gary Benson <gbenson@redhat.com>
895
896 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
897 * gdb.cp/nsimport.cc: Likewise.
898 * gdb.cp/nsnested.cc: Likewise.
899 * gdb.cp/nsnoimports.cc: Likewise.
900 * gdb.cp/nsusing.cc: Likewise.
901 * gdb.cp/smartp.cc: Likewise.
902 * gdb.python/py-pp-integral.c: Likewise.
903 * gdb.python/py-pp-re-notag.c: Likewise.
904
746ebfe8
PW
9052020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
906
907 * gdb.base/default-args.exp: New test.
908 * gdb.base/default-args.c: New file.
909 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
910 * gdb.base/default.exp: Update to new help text.
911 * gdb.base/help.exp: Likewise.
912 * gdb.base/page.exp: Likewise.
913 * gdb.base/style.exp: Likewise.
914 * gdb.guile/guile.exp: Likewise.
915 * gdb.python/python.exp: Likewise.
916
e822f2cd
SL
9172020-06-22 Sandra Loosemore <sandra@codesourcery.com>
918
919 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
920 remote host. Fix search path syntax on Windows host.
921
48e9cc84
PW
9222020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
923
924 * gdb.base/attach.exp: Test priority of 'exec-file' changed
925 over 'exec-file-mismatch'.
926 * gdb.base/attach.c: Mark should_exit volatile.
927 * gdb.base/attach2.c: Likewise. Add a comment explaining
928 why the sleep cannot be big.
929 * gdb.base/attach3.c: New file.
930
160f8a8f
SL
9312020-06-20 Sandra Loosemore <sandra@codesourcery.com>
932
933 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
934 prefix optional.
935
4d91c2a4
SL
9362020-06-20 Sandra Loosemore <sandra@codesourcery.com>
937
938 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
939 for remote host.
940
87f83f20
SL
9412020-06-19 Sandra Loosemore <sandra@codesourcery.com>
942 Hafiz Abid Qadeer <abidh@codesourcery.com>
943
944 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
945 file sent to remote host.
946 (top level): Allow int32_t as type of 32-bit register.
947
37ab8655
TV
9482020-06-19 Tom de Vries <tdevries@suse.de>
949
950 * lib/gdb.exp (gdb_note): New proc.
951 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
952 (gdb_default_target_compile): ... here. Only call
953 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
954 (use_gdb_compile): Change to array.
955 (toplevel): Update sets of use_gdb_compile to specify language.
956 Warn about default_target_compile override. Store dejagnu's version
957 of default_target_compile in dejagnu_default_target_compile.
958
a8a56685
TV
9592020-06-18 Tom de Vries <tdevries@suse.de>
960
961 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
962 (default_gdb_init): ... here.
963
581bea2c
SL
9642020-06-17 Sandra Loosemore <sandra@codesourcery.com>
965
966 Fix TUI support checks in gdb.tui tests.
967
968 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
969 just say UNSUPPORTED.
970 * gdb.tui/corefile-run.exp: Likewise.
971 * gdb.tui/empty.exp: Likewise.
972 * gdb.tui/list-before.exp: Likewise.
973 * gdb.tui/list.exp: Likewise.
974 * gdb.tui/main.exp: Likewise.
975 * gdb.tui/regs.exp: Likewise.
976 * gdb.tui/resize.exp: Likewise.
977 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
978 * gdb.tui/tui-layout-asm.exp: Likewise.
979 * gdb.tui/tui-missing-src.exp: Likewise.
980 * gdb.tui/winheight.exp: Likewise.
981 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
982
05e682e3
SL
9832020-06-17 Sandra Loosemore <sandra@codesourcery.com>
984
985 Fix TCL error in gdb.python/py-format-string.exp.
986
987 * gdb.python/py-format-string.exp: Move test for python support
988 earlier, out of function body.
989
efb763a5
SM
9902020-06-15 Simon Marchi <simon.marchi@efficios.com>
991
992 * gdb.base/index-cache-load-twice.c: New.
993 * gdb.base/index-cache-load-twice.exp: New.
994
43327b20
KS
9952020-06-17 Keith Seitz <keiths@redhat.com>
996
99cf27cf 997 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
998 when executing "gdb --configuration".
999
081e778c
TV
10002020-06-17 Tom de Vries <tdevries@suse.de>
1001
1002 * lib/gdb.exp (gdb_tcl_unknown): New proc.
1003 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
1004 conditional on presence of gdb_tcl_unknown.
1005 (gdb_finish): Make override undo conditional on presence of
1006 gdb_tcl_unknown.
1007
d2d1ea20
TT
10082020-06-16 Tom Tromey <tom@tromey.com>
1009
1010 * gdb.python/tui-window.py (failwin): New function. Register it
1011 as a TUI window type.
1012 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
1013
c802e8a7
GB
10142020-06-16 Gary Benson <gbenson@redhat.com>
1015
1016 * gdb.python/py-nested-maps.c (create_map): Add missing return
1017 value.
1018 (create_map_map): Likewise.
1019
ff08abb8
TBA
10202020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1021
1022 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
1023 variable.
1024 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
1025 and use the already-defined 'options' variable.
1026
a29d5112
AB
10272020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1028 Tom de Vries <tdevries@suse.de>
1029
1030 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
1031 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
1032 (gdb_setup_known_globals): New proc.
1033 (gdb_cleanup_globals): New proc.
1034 * lib/gdb.exp (load_lib): New override proc.
1035 (gdb_stdin_log_init): Set var in_file as persistent global.
1036 * lib/pascal.exp (gdb_stdin_log_init): Set vars
1037 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
1038 fpc_compiler as persistent global.
1039
8c74a764
TV
10402020-06-12 Tom de Vries <tdevries@suse.de>
1041
1042 * lib/tuiterm.exp (spawn): Rename to ...
1043 (tui_spawn): ... this.
1044 (toplevel): Move rename of spawn ...
1045 (gdb_init_tuiterm): ... here. New proc.
1046 (gdb_finish_tuiterm): New proc.
1047 * lib/gdb.exp (gdb_finish_hooks): New global var.
1048 (gdb_finish): Handle gdb_finish_hooks.
1049 (tuiterm_env): New proc.
1050 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
1051 tuiterm_env.
1052 * gdb.tui/basic.exp: Same.
1053 * gdb.tui/corefile-run.exp: Same.
1054 * gdb.tui/empty.exp: Same.
1055 * gdb.tui/list-before.exp: Same.
1056 * gdb.tui/list.exp: Same.
1057 * gdb.tui/main.exp: Same.
1058 * gdb.tui/new-layout.exp: Same.
1059 * gdb.tui/regs.exp: Same.
1060 * gdb.tui/resize.exp: Same.
1061 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
1062 * gdb.tui/tui-layout-asm.exp: Same.
1063 * gdb.tui/tui-missing-src.exp: Same.
1064 * gdb.tui/winheight.exp: Same.
1065
26783bce
TV
10662020-06-12 Tom de Vries <tdevries@suse.de>
1067
1068 PR testsuite/26110
1069 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
1070 (gdb_finish): Reinstall dejagnu's override of ::unknown.
1071
2b4e6a3f
TT
10722020-06-11 Tom Tromey <tom@tromey.com>
1073
1074 PR gdb/18318:
1075 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
1076 floating point tests.
1077
2f33032a
KS
10782020-06-11 Keith Seitz <keiths@redhat.com>
1079
1080 PR gdb/21356
1081 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
1082 vla_struct.
1083 Add new struct vla_typedef and union vla_typedef_union and
1084 corresponding instantiation objects.
1085 Initialize new objects.
1086 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
1087 and vla_typedef_union_object.
1088 Fixup type for vla_struct_object.
1089
a8baf0a3
TV
10902020-06-11 Tom de Vries <tdevries@suse.de>
1091
1092 * lib/gdb.exp (with_override): New proc, factored out of ...
1093 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
1094
7ab96794
TV
10952020-06-10 Tom de Vries <tdevries@suse.de>
1096
1097 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
1098
cab5c3b7
SM
10992020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
1100
1101 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
1102 parameter, update callers.
1103
f8c41851
SM
11042020-06-04 Simon Marchi <simon.marchi@efficios.com>
1105
1106 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
1107 * gdb.dwarf2/share-psymtabs-bt.c: New file.
1108 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
1109
1c07a73f
TV
11102020-06-04 Tom de Vries <tdevries@suse.de>
1111
1112 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
1113
95146b5d
TV
11142020-06-04 Tom de Vries <tdevries@suse.de>
1115
1116 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
1117 exp_continue.
1118
0cfcd4f0
TV
11192020-06-04 Tom de Vries <tdevries@suse.de>
1120
1121 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
1122
f9b5d5ea
TV
11232020-06-03 Tom de Vries <tdevries@suse.de>
1124
1125 PR symtab/26046
1126 * gdb.cp/breakpoint-locs-2.cc: New test.
1127 * gdb.cp/breakpoint-locs.cc: New test.
1128 * gdb.cp/breakpoint-locs.exp: New file.
1129 * gdb.cp/breakpoint-locs.h: New test.
1130
5144dfba
TV
11312020-06-03 Tom de Vries <tdevries@suse.de>
1132
1133 PR testsuite/25609
1134 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
1135 value of global verbose.
1136 * gdb.base/jit-elf.exp: Same.
1137 * gdb.base/jit-reader.exp: Same.
1138
621eacdf
TV
11392020-06-02 Tom de Vries <tdevries@suse.de>
1140
1141 * gdb.dwarf2/multidictionary.exp: Don't use
1142 gdb_spawn_with_cmdline_opts.
1143
1313c56e
AB
11442020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
1145
1146 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
1147 use_header case.
1148 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
1149 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
1150 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
1151 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
1152 * gdb.dwarf2/dw2-inline-header.c: New file.
1153 * gdb.dwarf2/dw2-inline-header.h: New file.
1154
f68f85b5
PA
11552020-05-30 Pedro Alves <palves@redhat.com>
1156
1157 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
1158 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
1159
678048e8
GB
11602020-05-29 Gary Benson <gbenson@redhat.com>
1161
1162 * gdb.compile/compile-cplus.exp (additional_flags): Also
1163 set when building with clang.
1164 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
1165 when building with clang.
1166
9fcafd23
GB
11672020-05-29 Gary Benson <gbenson@redhat.com>
1168
1169 * gdb.arch/i386-avx.exp (additional_flags): Also set when
1170 building with clang.
1171 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
1172
735d5a07
GB
11732020-05-29 Gary Benson <gbenson@redhat.com>
1174
1175 * gdb.cp/koenig.exp (prepare_for_testing): Add
1176 additional_flags=-Wno-unused-comparison.
1177 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
1178
4ad2c6a0
GB
11792020-05-28 Gary Benson <gbenson@redhat.com>
1180
1181 * gdb.base/sigaltstack.c (catcher): Add default case to switch
1182 statement.
1183
09fe663e
GB
11842020-05-28 Gary Benson <gbenson@redhat.com>
1185
1186 * gdb.cp/classes.exp (prepare_for_testing): Add
1187 additional_flags=-Wno-deprecated-register.
1188 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
1189 * gdb.cp/misc.exp: Likewise.
1190
cee00f17
GB
11912020-05-28 Gary Benson <gbenson@redhat.com>
1192
1193 * gdb.linespec/cpls-ops.cc (dummy): New static global.
1194 (test_op_new::operator new): Add return statement.
1195 (test_op_new_array::operator new[]): Likewise.
1196
636edd00
PA
11972020-05-27 Pedro Alves <palves@redhat.com>
1198
1199 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
1200 check. Use test_gdb_complete_unique instead of
1201 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
1202 test_gdb_complete_multiple instead of
1203 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
1204
c2b75043
LM
12052020-05-27 Luis Machado <luis.machado@linaro.org>
1206
1207 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
1208 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
1209 * gdb.arch/arm-disassembler-options.exp: Likewise.
1210 * gdb.arch/arm-disp-step.exp: Likewise.
1211 * gdb.arch/thumb-prologue.exp: Likewise.
1212 * gdb.base/async.exp: Likewise.
1213 * gdb.base/auxv.exp: Likewise.
1214 * gdb.base/complex-parts.exp: Likewise.
1215 * gdb.base/ena-dis-br.exp: Likewise.
1216 * gdb.base/foll-exec.exp: Likewise.
1217 * gdb.base/permissions.exp: Likewise.
1218 * gdb.base/relocate.exp: Likewise.
1219 * gdb.base/return2.exp: Likewise.
1220 * gdb.base/sigbpt.exp: Likewise.
1221 * gdb.base/siginfo-obj.exp: Likewise.
1222 * gdb.cp/converts.exp: Likewise.
1223 * gdb.cp/exceptprint.exp: Likewise.
1224 * gdb.cp/inherit.exp: Likewise.
1225 * gdb.cp/nsnoimports.exp: Likewise.
1226 * gdb.cp/virtbase2.exp: Likewise.
1227 * gdb.mi/mi-var-cmd.exp: Likewise.
1228 * gdb.mi/var-cmd.c: Likewise.
1229
53a47a3e
TT
12302020-05-26 Tom Tromey <tromey@adacore.com>
1231
1232 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
1233
0bc2354b
TT
12342020-05-26 Tom Tromey <tromey@adacore.com>
1235
1236 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
1237 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
1238 type.
1239 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
1240 variable.
1241
0db49895
CBG
12422020-05-26 Christian Biesinger <cbiesinger@google.com>
1243
1244 * Makefile.in: Use = instead of == for the test command
1245 for portability.
1246
40d22035
TV
12472020-05-26 Tom de Vries <tdevries@suse.de>
1248
1249 * gdb.base/gold-gdb-index-2.c: New test.
1250 * gdb.base/gold-gdb-index.c: New test.
1251 * gdb.base/gold-gdb-index.exp: New file.
1252 * gdb.base/gold-gdb-index.h: New test.
1253
043e2e02
TV
12542020-05-25 Tom de Vries <tdevries@suse.de>
1255
1256 * boards/gold-gdb-index.exp: New file.
1257
462f72c5
SM
12582020-05-25 Simon Marchi <simon.marchi@efficios.com>
1259
1260 * boards/simavr.exp: New file.
1261
6cf66e76
SM
12622020-05-25 Simon Marchi <simon.marchi@efficios.com>
1263
1264 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
1265 * gdb.base/inferior-args.exp: New file.
1266 * gdb.base/inferior-args.c: New file.
1267
75d04512
SM
12682020-05-25 Simon Marchi <simon.marchi@efficios.com>
1269
1270 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
1271 inferior_args. Pass it to gdb_reload.
1272 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
1273 inferior_args.
1274 (gdb_reload): Add inferior_args argument.
1275 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
1276 pass it to gdbserver_run.
1277 * boards/native-gdbserver.exp: Do not set noargs.
1278 * boards/native-extended-gdbserver.exp (gdb_reload): Add
1279 inferior_args argument.
1280 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
1281 * gdb.base/a2-run.exp: Check for use_gdb_stub.
1282 * gdb.base/args.exp: Likewise.
1283
42cf1844
TV
12842020-05-25 Tom de Vries <tdevries@suse.de>
1285
1286 * lib/gdb.exp (exec_is_pie): Add comment.
1287
8f7d38ef
TV
12882020-05-25 Tom de Vries <tdevries@suse.de>
1289
1290 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
1291 instead of $binfile in the untested message.
1292
465e1b0f
TV
12932020-05-25 Tom de Vries <tdevries@suse.de>
1294
1295 PR testsuite/26031
1296 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
1297
3c5a0e02
TV
12982020-05-25 Tom de Vries <tdevries@suse.de>
1299
1300 * boards/gold.exp: New file.
1301
0a4f5f8c
TT
13022020-05-23 Tom Tromey <tom@tromey.com>
1303
1304 * gdb.base/style.exp: Remove completion styling test.
1305 * lib/gdb-utils.exp (style): Remove completion styles.
1306
eca1f90c
TT
13072020-05-23 Tom Tromey <tom@tromey.com>
1308
1309 * gdb.base/style.exp: Add completion styling test.
1310 * lib/gdb-utils.exp (style): Add completion styles.
1311
7c13f4e8
AB
13122020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
1313
1314 * gdb.base/annota1.exp: Update expected results.
1315 * gdb.cp/annota2.exp: Update expected results, remove duplicate
1316 test name.
1317 * gdb.cp/annota3.exp: Update expected results.
1318
41977d16
SM
13192020-05-20 Simon Marchi <simon.marchi@efficios.com>
1320
1321 PR gdb/26016
1322 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
1323 against MAP_FAILED.
1324 * gdb.base/coremaker.c (mmapdata): Likewise.
1325 * gdb.base/jit-reader-host.c (main): Likewise.
1326 * gdb.base/sym-file-loader.c (load): Likewise.
1327 (load_shlib): Likewise.
1328
b4757f2e
TT
13292020-05-20 Tom Tromey <tromey@adacore.com>
1330
1331 * gdb.ada/array_char_idx.exp: Recognize initialized array.
1332
9a0bacfb
TV
13332020-05-20 Tom de Vries <tdevries@suse.de>
1334
1335 PR symtab/25833
1336 * gdb.base/with-mf-inc.c: New test.
1337 * gdb.base/with-mf-main.c: New test.
1338 * gdb.base/with-mf.exp: New file.
1339
76571211
TT
13402020-05-19 Tom Tromey <tromey@adacore.com>
1341
1342 * gdb.rust/simple.exp: Restore missing test result.
1343
4cd9f3d5
TV
13442020-05-19 Tom de Vries <tdevries@suse.de>
1345
1346 * gdb.base/gdb-caching-proc.exp: Fix typo.
1347
7d874253
TT
13482020-05-19 Tom Tromey <tromey@adacore.com>
1349
1350 * gdb.rust/simple.exp: Add some test descriptions.
1351 (test_one_slice): Use with_test_prefix.
1352
1d727695
TV
13532020-05-18 Tom de Vries <tdevries@suse.de>
1354
1355 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
1356
7f32a4d5
PA
13572020-05-17 Pedro Alves <palves@redhat.com>
1358
1359 PR gdb/25741
1360 * gdb.base/hw-sw-break-same-address.exp: New file.
1361
7cfd74cf
PA
13622020-05-16 Pedro Alves <palves@redhat.com>
1363
1364 * gdb.multi/multi-re-run.exp (test_re_run): Switch
1365 LAST_LOADED_FILE accordingly.
1366
57b4f16e
PW
13672020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1368
1369 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
1370
7c05caf7
PW
13712020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1372
1373 * gdb.base/help.exp: Test apropos and help for commands
1374 having aliases. Fixed comments not starting with an
1375 upper-case letter or not finishing with a dot.
1376
7aa1b46f
PW
13772020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1378
3b3aaacb
PW
1379 * gdb.base/alias.exp: Update help output check.
1380
57b4f16e 13812020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 1382
7aa1b46f
PW
1383 * gdb.base/default.exp: Update output following fixes.
1384
0605465f
PW
13852020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1386
1387 * gdb.base/alias.exp: Test aliases starting with a prefix of
1388 another alias.
1389
86e4e63d
GB
13902020-05-15 Gary Benson <gbenson@redhat.com>
1391
1392 * gdb.base/info-os.c (main): Add return statement.
1393 * gdb.base/info_minsym.c (minsym_fun): Likewise.
1394 * gdb.base/large-frame-2.c (func): Likewise.
1395 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
1396 * gdb.base/pr10179-b.c (foo2): Likewise.
1397 * gdb.base/valgrind-disp-step.c (foo): Likewise.
1398 * gdb.base/watch-cond.c (func): Likewise.
1399 * gdb.multi/goodbye.c (verylongfun): Likewise.
1400 * gdb.multi/hello.c (commonfun): Likewise.
1401 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
1402 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
1403 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1404 Likewise.
1405 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
1406 * gdb.threads/interrupt-while-step-over.c (child_function):
1407 Likewise.
1408 * gdb.trace/actions-changed.c (end): Likewise.
1409
163df4df
GB
14102020-05-15 Gary Benson <gbenson@redhat.com>
1411
1412 * gdb.opencl/callfuncs.exp: Report when test skipped.
1413 * gdb.opencl/convs_casts.exp: Likewise.
1414 * gdb.opencl/datatypes.exp: Likewise.
1415 * gdb.opencl/operators.exp: Likewise.
1416 * gdb.opencl/vec_comps.exp: Likewise.
1417
6dbc505a
TV
14182020-05-15 Tom de Vries <tdevries@suse.de>
1419
1420 * gdb.base/align.exp.in: Rename to ...
1421 * gdb.base/align.exp.tcl: ... this.
1422 * gdb.base/align-c++.exp: Update.
1423 * gdb.base/align-c.exp: Update.
1424 * gdb.base/all-architectures.exp.in: Rename to ...
1425 * gdb.base/all-architectures.exp: ... this.
1426 * gdb.base/all-architectures-0.exp: Update.
1427 * gdb.base/all-architectures-1.exp: Update.
1428 * gdb.base/all-architectures-2.exp: Update.
1429 * gdb.base/all-architectures-3.exp: Update.
1430 * gdb.base/all-architectures-4.exp: Update.
1431 * gdb.base/all-architectures-5.exp: Update.
1432 * gdb.base/all-architectures-6.exp: Update.
1433 * gdb.base/all-architectures-7.exp: Update.
1434 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
1435 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
1436 * gdb.base/infcall-nested-structs-c++.exp: Update.
1437 * gdb.base/infcall-nested-structs-c.exp: Update.
1438 * gdb.base/info-types.exp.in: Rename to ...
1439 * gdb.base/info-types.exp.tcl: ... this.
1440 * gdb.base/info-types-c++.exp: Update.
1441 * gdb.base/info-types-c.exp: Update.
1442 * gdb.base/max-depth.exp.in: Rename to ...
1443 * gdb.base/max-depth.exp.tcl: ... this.
1444 * gdb.base/max-depth-c++.exp: Update.
1445 * gdb.base/max-depth-c.exp: Update.
1446 * gdb.cp/cpexprs.exp.in: Rename to ...
1447 * gdb.cp/cpexprs.exp.tcl: ... this.
1448 * gdb.cp/cpexprs-debug-types.exp: Update.
1449 * gdb.cp/cpexprs.exp: Update.
1450 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
1451 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
1452 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
1453 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
1454 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
1455 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
1456 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
1457 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
1458 * gdb.dwarf2/clang-debug-names-2.exp: Update.
1459 * gdb.dwarf2/clang-debug-names.exp: Update.
1460
d1034d78
AB
14612020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
1462
1463 * lib/check-test-names.exp: Remove code that prevents this file
1464 loading when tests are run in parallel.
1465
3c5c3649
PA
14662020-05-15 Pedro Alves <palves@redhat.com>
1467
1468 * gdb.multi/multi-kill.exp (start_inferior): Remove
1469 'testpid' parameter. Refer to namespace variable directly.
1470 (testpid): Declare as namespace variable.
1471
272c36b8
PA
14722020-05-15 Pedro Alves <palves@redhat.com>
1473
1474 * gdb.multi/multi-kill.exp: Wrap in namespace.
1475 (start_inferior): Add TESTPID parameter. Use it instead of the
1476 testpid global.
1477 (top level): Define empty TESTPID array, and pass it down to
1478 start_inferior.
1479
02eba61a
TV
14802020-05-14 Tom de Vries <tdevries@suse.de>
1481
1482 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
1483 output.
1484
971a3747
TV
14852020-05-14 Tom de Vries <tdevries@suse.de>
1486
1487 * gdb.base/align.exp: Split into ...
1488 * gdb.base/align.exp.in: ...
1489 * gdb.base/align-c++.exp: ...
1490 * gdb.base/align-c.exp: ... these.
1491 * gdb.base/infcall-nested-structs.exp: Split into ...
1492 * gdb.base/infcall-nested-structs.exp.in: ...
1493 * gdb.base/infcall-nested-structs-c++.exp: ...
1494 * gdb.base/infcall-nested-structs-c.exp: ... these.
1495 * gdb.base/info-types.exp: Split into ...
1496 * gdb.base/info-types.exp.in: ...
1497 * gdb.base/info-types-c++.exp: ...
1498 * gdb.base/info-types-c.exp: ... these.
1499 * gdb.base/max-depth.exp: Split into ...
1500 * gdb.base/max-depth.exp.in: ...
1501 * gdb.base/max-depth-c++.exp: ...
1502 * gdb.base/max-depth-c.exp: ... these.
1503 * gdb.cp/infcall-nodebug.exp: Split into ...
1504 * gdb.cp/infcall-nodebug.exp.in: ...
1505 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
1506 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
1507 * gdb.cp/infcall-nodebug-c-d0.exp: ...
1508 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
1509
a05575d3
TBA
15102020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1511 Pedro Alves <palves@redhat.com>
1512
1513 * gdb.multi/multi-exit.c: New file.
1514 * gdb.multi/multi-exit.exp: New file.
1515 * gdb.multi/multi-kill.c: New file.
1516 * gdb.multi/multi-kill.exp: New file.
1517
6ad82919
TBA
15182020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1519
1520 * gdb.base/annota1.exp: Update the expected output.
1521 * gdb.cp/annota2.exp: Ditto.
1522
843f4d93
AB
15232020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
1524
1525 * lib/check-test-names.exp: Disable when testing is being run in
1526 parallel.
1527
c7c66341
TV
15282020-05-12 Tom de Vries <tdevries@suse.de>
1529
1530 * gdb.base/jit-elf.exp: Fix string concat.
1531
1b59ca1c
TV
15322020-05-12 Tom de Vries <tdevries@suse.de>
1533
1534 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
1535 messages.
1536
b4991d29
TV
15372020-05-12 Tom de Vries <tdevries@suse.de>
1538
1539 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
1540
dbb0ab10
TV
15412020-05-12 Tom de Vries <tdevries@suse.de>
1542
1543 * gdb.ada/catch_ex.exp: Use with_test_prefix.
1544 * gdb.ada/mi_catch_ex.exp: Same.
1545 * gdb.ada/mi_catch_ex_hand.exp: Same.
1546
7549fed8
TV
15472020-05-12 Tom de Vries <tdevries@suse.de>
1548
1549 * gdb.fortran/complex.exp: Use with_test_prefix.
1550
af2d5cd8
TV
15512020-05-12 Tom de Vries <tdevries@suse.de>
1552
1553 * gdb.trace/passcount.exp: Fix test-names.
1554
7c121311
TV
15552020-05-12 Tom de Vries <tdevries@suse.de>
1556
1557 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
1558
c9f3b40e
TV
15592020-05-12 Tom de Vries <tdevries@suse.de>
1560
1561 * gdb.gdb/complaints.exp: Use with_test_prefix.
1562 * gdb.xml/tdesc-regs.exp: Same.
1563 * gdb.opt/inline-locals.exp: Fix test name.
1564
111b33f0
TV
15652020-05-12 Tom de Vries <tdevries@suse.de>
1566
1567 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
1568 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
1569 * gdb.dwarf2/implref-struct.exp: Same.
1570 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
1571 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
1572
ebf47080
SM
15732020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
1574
1575 * gdb.base/jit-so.exp (one_jit_test): Change test name.
1576
d30dcd12
AB
15772020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1578
1579 * lib/check-test-names.exp (all_test_names): New module variable.
1580 (counts): Add 'duplicates' field.
1581 (_check_duplicates): New procedure.
1582 (check): Also check for duplicates.
1583 (do_log_summary): Print duplicates count.
1584 (do_reset_vars): Reset counter for duplicate test names, and
1585 discard all know test names.
1586
34584c09
AB
15872020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1588
1589 * lib/gdb.exp: Include check-test-names.exp library.
1590 * lib/check-test-names.exp: New file.
1591
e0002117
TV
15922020-05-11 Tom de Vries <tdevries@suse.de>
1593
1594 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
1595
53f539a3
KS
15962020-05-11 Keith Seitz <keiths@redhat.com>
1597
1598 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
1599
113ee09a
TV
16002020-05-11 Tom de Vries <tdevries@suse.de>
1601
1602 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
1603 * gdb.cp/cpexprs.exp.in: .. here.
1604 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
1605 cpexprs.exp.
1606
ba3e70b0
KS
16072020-05-11 Keith Seitz <keiths@redhat.com>
1608
1609 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
1610 test names.
1611 * gdb.ada/arrayptr.exp: Likewise.
1612 * gdb.ada/assign_arr.exp: Likewise.
1613 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1614 * gdb.ada/bp_on_var.exp: Likewise.
1615 * gdb.ada/call_pn.exp: Likewise.
1616 * gdb.ada/complete.exp: Likewise.
1617 * gdb.ada/fun_overload_menu.exp: Likewise.
1618 * gdb.ada/funcall_param.exp: Likewise.
1619 * gdb.ada/funcall_ref.exp: Likewise.
1620 * gdb.ada/packed_array_assign.exp: Likewise.
1621 * gdb.ada/same_component_name.exp: Likewise.
1622 * gdb.ada/type_coercion.exp: Likewise.
1623 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1624 * gdb.ada/variant_record_packed_array.exp: Likewise.
1625
3ee6bb11
TV
16262020-05-11 Tom de Vries <tdevries@suse.de>
1627
1628 PR symtab/25941
1629 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
1630 out of ...
1631 * gdb.dwarf2/clang-debug-names.exp: ... here.
1632 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
1633 clang-debug-names.exp.in.
1634 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
1635 * gdb.dwarf2/clang-debug-names-2.c: New test.
1636
86cd6bc8
AKS
16372020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1638
1639 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
1640 (fortran_runto_main): New Proc, fortran version of runto_main.
1641 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
1642 * gdb.fortran/array-bounds.exp: Likewise.
1643 * gdb.fortran/array-slices.exp: Likewise.
1644 * gdb.fortran/block-data.exp: Likewise.
1645 * gdb.fortran/charset.exp: Likewise.
1646 * gdb.fortran/common-block.exp: Likewise.
1647 * gdb.fortran/complex.exp: Likewise.
1648 * gdb.fortran/derived-type-function.exp: Likewise.
1649 * gdb.fortran/derived-type.exp: Likewise.
1650 * gdb.fortran/info-modules.exp: Likewise.
1651 * gdb.fortran/info-types.exp: Likewise.
1652 * gdb.fortran/intrinsics.exp: Likewise.
1653 * gdb.fortran/library-module.exp: Likewise.
1654 * gdb.fortran/logical.exp: Likewise.
1655 * gdb.fortran/max-depth.exp: Likewise.
1656 * gdb.fortran/module.exp: Likewise.
1657 * gdb.fortran/multi-dim.exp: Likewise.
1658 * gdb.fortran/nested-funcs.exp: Likewise.
1659 * gdb.fortran/print-formatted.exp: Likewise.
1660 * gdb.fortran/print_type.exp: Likewise.
1661 * gdb.fortran/printing-types.exp: Likewise.
1662 * gdb.fortran/ptr-indentation.exp: Likewise.
1663 * gdb.fortran/ptype-on-functions.exp: Likewise.
1664 * gdb.fortran/subarray.exp: Likewise.
1665 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1666 * gdb.fortran/vla-datatypes.exp: Likewise.
1667 * gdb.fortran/vla-history.exp: Likewise.
1668 * gdb.fortran/vla-ptr-info.exp: Likewise.
1669 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1670 * gdb.fortran/vla-ptype.exp: Likewise.
1671 * gdb.fortran/vla-sizeof.exp: Likewise.
1672 * gdb.fortran/vla-type.exp: Likewise.
1673 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1674 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1675 * gdb.fortran/vla-value-sub.exp: Likewise.
1676 * gdb.fortran/vla-value.exp: Likewise.
1677 * gdb.fortran/whatis_type.exp: Likewise.
1678 * gdb.mi/mi-var-child-f.exp: Likewise.
1679
6dc55ce9 16802020-05-09 Tom de Vries <tdevries@suse.de>
1681
1682 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
1683
283cb58c
TV
16842020-05-08 Tom de Vries <tdevries@suse.de>
1685
1686 * gdb.dwarf2/clang-debug-names.c: New test.
1687 * gdb.dwarf2/clang-debug-names.exp: New file.
1688
ac4a4f1c
SM
16892020-05-06 Simon Marchi <simon.marchi@efficios.com>
1690
1691 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
1692 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
1693
24fe640b
TV
16942020-05-06 Tom de Vries <tdevries@suse.de>
1695
1696 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
1697 breakpoint is at a "recommended breakpoint location".
1698 * gdb.reverse/consecutive-reverse.exp: Same.
1699
0d8683a3
TV
17002020-05-06 Tom de Vries <tdevries@suse.de>
1701
1702 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
1703 address.
1704
b8983c46
TV
17052020-05-06 Tom de Vries <tdevries@suse.de>
1706
1707 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
1708
abf6d805
TV
17092020-05-06 Tom de Vries <tdevries@suse.de>
1710
1711 * gdb.base/store.exp (check_set, up_set): Allowing missing location
1712 info for r.
1713
0fc2a808
TV
17142020-05-06 Tom de Vries <tdevries@suse.de>
1715
1716 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
1717 necessary.
1718
873dd427
TV
17192020-05-06 Tom de Vries <tdevries@suse.de>
1720
1721 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
1722 void.
1723
7c99e7e2
TV
17242020-05-06 Tom de Vries <tdevries@suse.de>
1725
1726 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
1727 of ...
1728 * gdb.base/async.exp: ... here.
1729 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
1730 "recommended breakpoint location".
1731
6173d6a6
TV
17322020-05-06 Tom de Vries <tdevries@suse.de>
1733
1734 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
1735
6015a067
TV
17362020-05-04 Tom de Vries <tdevries@suse.de>
1737
1738 * gdb.base/async.exp: Check whether instruction addresses are a
1739 "recommended breakpoint location".
1740
3b6acaee
TT
17412020-05-03 Tom Tromey <tom@tromey.com>
1742
1743 * gdb.base/sepdebug.exp: Remove "catch" test.
1744 * gdb.base/break.exp: Remove "catch" test.
1745 * gdb.base/default.exp: Update expected output.
1746
5beb4d17
TV
17472020-05-02 Tom de Vries <tdevries@suse.de>
1748
1749 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
1750 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
1751 * gdb.arch/i386-mpx-map.exp: Same.
1752 * gdb.arch/i386-mpx-sigsegv.exp: Same.
1753 * gdb.arch/i386-mpx-simple_segv.exp: Same.
1754 * gdb.arch/i386-mpx.exp: Same.
1755
8caf140d
TV
17562020-05-02 Tom de Vries <tdevries@suse.de>
1757
1758 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
1759
693196cb
TV
17602020-05-01 Tom de Vries <tdevries@suse.de>
1761
1762 * gdb.ada/operator_bp.exp: Allow more than required amount of
1763 breakpoint.
1764
53ae0aa9
TV
17652020-05-01 Tom de Vries <tdevries@suse.de>
1766
1767 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
1768
ee9d1e5f
HD
17692020-04-30 Hannes Domani <ssbssa@yahoo.de>
1770
1771 PR gdb/18706
1772 * gdb.cp/stub-array-size.cc: New test.
1773 * gdb.cp/stub-array-size.exp: New file.
1774 * gdb.cp/stub-array-size.h: New test.
1775 * gdb.cp/stub-array-size2.cc: New test.
1776
d5cf82c0
HD
17772020-04-30 Hannes Domani <ssbssa@yahoo.de>
1778
1779 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
1780 output to the new format.
1781
42e165c3
SM
17822020-04-29 Simon Marchi <simon.marchi@efficios.com>
1783
1784 * gdb.base/break.exp: Use with_test_prefix.
1785
6e4e3fe1
TV
17862020-04-29 Tom de Vries <tdevries@suse.de>
1787
1788 * lib/gdb.exp (debug_types): New proc.
1789 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
1790 * gdb.python/py-symtab.exp: Same.
1791
d642b692
HD
17922020-04-29 Hannes Domani <ssbssa@yahoo.de>
1793
1794 PR gdb/17320
1795 * gdb.base/pretty-array.c: New test.
1796 * gdb.base/pretty-array.exp: New file.
1797
ea90f227
TV
17982020-04-29 Tom de Vries <tdevries@suse.de>
1799
1800 PR symtab/25889
1801 * gdb.cp/cpexprs.exp: Adapt for inclusion.
1802 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
1803 and include cpexprs.exp.
1804
a65189c9
TV
18052020-04-28 Mark Williams <mark@myosotissp.com>
1806
1807 PR gdb/24480
1808 * dw4-toplevel-types.exp: Test for top level types.
1809 * dw4-toplevel-types.cc: Test for top level types.
1810
32d1f47a
TBA
18112020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1812
1813 * gdb.threads/stop-with-handle.exp: Fix typo in comment
1814 (theads -> threads).
1815
56a4f5a1
TV
18162020-04-28 Tom de Vries <tdevries@suse.de>
1817
1818 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
1819
0b2f8a3b
TV
18202020-04-28 Tom de Vries <tdevries@suse.de>
1821
1822 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
1823
5390c717
TV
18242020-04-28 Tom de Vries <tdevries@suse.de>
1825
1826 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
1827
15cd93d0
TV
18282020-04-28 Tom de Vries <tdevries@suse.de>
1829
1830 * gdb.dwarf2/main-foo.c: New test.
1831 * gdb.dwarf2/struct-with-sig.exp: New file.
1832
d472f0fb
TV
18332020-04-25 Tom de Vries <tdevries@suse.de>
1834
1835 * boards/debug-types.exp: New file.
1836
8d840e05
AB
18372020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
1838
1839 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
1840
bcfe6157
TT
18412020-04-24 Tom Tromey <tom@tromey.com>
1842
1843 PR symtab/12707:
1844 * gdb.python/py-symbol.exp: Update expected results for
1845 linkage_name test.
1846 * gdb.cp/print-demangle.exp: New file.
1847 * gdb.base/c-linkage-name.exp: Fix test.
1848 * gdb.guile/scm-symbol.exp: Update expected results for
1849 linkage_name test.
1850
f049a313
TT
18512020-04-24 Tom Tromey <tom@tromey.com>
1852
1853 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
1854 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
1855 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
1856 assembler.
1857
7cf28874
TV
18582020-04-24 Tom de Vries <tdevries@suse.de>
1859
1860 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
1861 C++.
1862
dac2fef7
TT
18632020-04-24 Tom Tromey <tromey@adacore.com>
1864
1865 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
1866 values.
1867 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
1868 values. Update test for minimal encodings.
1869 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
1870 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
1871 values. Update test for minimal encodings.
1872
1acda803
TT
18732020-04-24 Tom Tromey <tromey@adacore.com>
1874
1875 PR python/23662:
1876 * gdb.ada/variant.exp: Add Python checks.
1877 * gdb.rust/simple.exp: Add dynamic type checks.
1878
adfb9815
TT
18792020-04-24 Tom Tromey <tromey@adacore.com>
1880
1881 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
1882 Make array type matching more lax.
1883 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
1884 * gdb.ada/mi_variant.exp: New file.
1885 * gdb.ada/mi_variant/pck.ads: New file.
1886 * gdb.ada/mi_variant/pkg.adb: New file.
1887 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
1888 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
1889
7d79de9a
TT
18902020-04-24 Tom Tromey <tromey@adacore.com>
1891
1892 * gdb.ada/variant.exp: Add dynamic field offset tests.
1893 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
1894 * gdb.ada/variant/pkg.adb: Add new variables.
1895
f8e89861
TT
18962020-04-24 Tom Tromey <tromey@adacore.com>
1897
1898 * gdb.ada/variant.exp: New file
1899 * gdb.ada/variant/pkg.adb: New file
1900 * gdb.ada/variant/pck.adb: New file
1901
86e887ae
TV
19022020-04-24 Tom de Vries <tdevries@suse.de>
1903
1904 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
1905
88428775
TV
19062020-04-24 Tom de Vries <tdevries@suse.de>
1907
1908 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
1909 flags.
1910
4e86f6e7
TV
19112020-04-24 Tom de Vries <tdevries@suse.de>
1912
1913 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
1914
2016d3e6
TV
19152020-04-24 Tom de Vries <tdevries@suse.de>
1916
1917 * lib/gdb.exp (default_gdb_start): Handle eof.
1918 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
1919 failure.
1920 * gdb.base/readnever.exp: Handle clean_restart failure.
1921
70bc38f5
TV
19222020-04-23 Tom de Vries <tdevries@suse.de>
1923
1924 * gdb.base/decl-before-def.exp: Run to main and print a again.
1925
de82891c
TV
19262020-04-23 Tom de Vries <tdevries@suse.de>
1927
1928 * gdb.base/decl-before-def-decl.c: New test.
1929 * gdb.base/decl-before-def-def.c: New test.
1930 * gdb.base/decl-before-def.exp: New file.
1931
96038148
TV
19322020-04-23 Tom de Vries <tdevries@suse.de>
1933
1934 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
1935
54ac3df1
TV
19362020-04-22 Tom de Vries <tdevries@suse.de>
1937
1938 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
1939 debug_info_offset.
1940 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
1941 before $objsfile in the line line.
1942
714534e1
TV
19432020-04-22 Tom de Vries <tdevries@suse.de>
1944
1945 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
1946
16a7dbf4
MS
19472020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1948
1949 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
1950 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
1951 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
1952 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
1953 * gdb.base/jit-protocol.h: Update definitions to match all usage
1954 contexts.
1955
19562020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1957
1958 * gdb.base: Rename all jit related test and source files.
1959
19602020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1961
1962 * gdb.base/jit-reader.exp: Relax register output check.
1963
317d2668
TV
19642020-04-22 Tom de Vries <tdevries@suse.de>
1965
1966 PR symtab/25764
1967 * gdb.base/psym-external-decl-2.c: New test.
1968 * gdb.base/psym-external-decl.c: New test.
1969 * gdb.base/psym-external-decl.exp: New file.
1970 * gdb.threads/tls.exp: Add PR25807 kfail.
1971
eea9e357
TV
19722020-04-22 Tom de Vries <tdevries@suse.de>
1973
1974 PR symtab/25801
1975 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
1976 in "info source" output.
1977
3d5afab3
TV
19782020-04-22 Tom de Vries <tdevries@suse.de>
1979
1980 PR symtab/25700
1981 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
1982 symtab for imported_unit.c.
1983
b32102f6
GB
19842020-04-21 Gary Benson <gbenson@redhat.com>
1985
1986 * gdb.base/advance.c (func): New argument, to match call site.
1987 (func2, func3): Add return statements.
1988
d43b7a2d
TBA
19892020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1990
1991 * gdb.multi/run-only-second-inf.c: New file.
1992 * gdb.multi/run-only-second-inf.exp: New file.
1993
d89edf9b
MM
19942020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1995
1996 * gdb.btrace/multi-inferior.c: New test.
1997 * gdb.btrace/multi-inferior.exp: New file.
1998
1a476b6d
MM
19992020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2000
2001 * gdb.btrace/enable-new-thread.c: New test.
2002 * gdb.btrace/enable-new-thread.exp: New file.
2003
4778a5f8
TV
20042020-04-21 Tom de Vries <tdevries@suse.de>
2005
2006 PR gdb/25471
2007 * gdb.threads/killed-outside.c: New test.
2008 * gdb.threads/killed-outside.exp: New file.
2009
9b2c992c
GB
20102020-04-20 Gary Benson <gbenson@redhat.com>
2011
2012 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
2013 * gdb.base/nested-subp2.exp: Likewise.
2014 * gdb.base/nested-subp3.exp: Likewise.
2015
b5d1d6f7
GB
20162020-04-20 Gary Benson <gbenson@redhat.com>
2017
2018 * gdb.base/nested-subp1.exp: Disable test when using clang.
2019 * gdb.base/nested-subp2.exp: Likewise.
2020 * gdb.base/nested-subp3.exp: Likewise.
2021
25230285
GB
20222020-04-20 Gary Benson <gbenson@redhat.com>
2023
2024 * gdb.cp/exception.cc: Fix compilation error with clang.
2025
fa93cc8f
GB
20262020-04-20 Gary Benson <gbenson@redhat.com>
2027
809730f3 2028 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 2029
e0c45f30
GB
20302020-04-20 Gary Benson <gbenson@redhat.com>
2031
2032 * gdb.base/jit-main.c: Fix compilation error with clang.
2033
4ddfec93
KR
20342020-04-17 Kamil Rytarowski <n54@gmx.com>
2035
2036 * gdb.base/attach-twice.c: Include "sys/types.h".
2037 (PTRACE_ATTACH): Add fallback definition.
2038 (main): Pass `0' to the 4th argument of `ptrace'.
2039
2bed205e
KR
20402020-04-17 Kamil Rytarowski <n54@gmx.com>
2041
2042 * gdb.base/fork-running-state.c: Include "signal.h".
2043
0743fc83
TT
20442020-04-17 Tom Tromey <tromey@adacore.com>
2045
2046 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
2047 Update tests.
2048 * gdb.btrace/cpu.exp: Update tests.
2049 * gdb.base/maint.exp: Update tests.
2050 * gdb.base/default.exp: Update tests.
2051 * gdb.base/completion.exp: Update tests.
2052
efba5c23
TV
20532020-04-16 Tom de Vries <tdevries@suse.de>
2054
2055 PR symtab/25791
2056 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
2057 (ensure_gdb_index): and factor out and move ...
2058 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
2059 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
2060
d191d716
TV
20612020-04-16 Tom de Vries <tdevries@suse.de>
2062
2063 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
2064 loading exec.
2065
99f1bc6a
AB
20662020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
2067
2068 * gdb.base/many-completions.exp: New file.
2069
194d088f
TV
20702020-04-14 Tom de Vries <tdevries@suse.de>
2071
2072 PR symtab/25718
2073 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
2074
c1a66c06
TV
20752020-04-14 Tom de Vries <tdevries@suse.de>
2076
2077 PR symtab/25720
2078 * gdb.base/maint-expand-symbols-header-file.c: New test.
2079 * gdb.base/maint-expand-symbols-header-file.exp: New file.
2080 * gdb.base/maint-expand-symbols-header-file.h: New test.
2081
21b0982c
AB
20822020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2083
2084 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
2085 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
2086 get_func_info.
2087 (get_func_info): Delete.
2088 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
2089 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
2090 * lib/dwarf.exp (get_func_info): New function.
2091
dd1cab06
TV
20922020-04-13 Tom de Vries <tdevries@suse.de>
2093
2094 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
2095 to what find_gnatmake does.
2096
71ea2b6b
TV
20972020-04-10 Tom de Vries <tdevries@suse.de>
2098
2099 * gdb.base/style.exp: Expect "Expanding full symbols" message for
2100 -readnow.
2101
bdfc1e8a
TV
21022020-04-10 Tom de Vries <tdevries@suse.de>
2103
2104 PR cli/25808
2105 * gdb.base/style.c: Add leading newlines.
2106 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
2107 Check listing of main's one-line body.
2108
14ca8ecf
TV
21092020-04-08 Tom de Vries <tdevries@suse.de>
2110
2111 * lib/gdb.exp (psymtabs_p): New proc.
2112 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
2113 importing unit" unsupported if there are no partial symbols.
2114
e21d048f
TV
21152020-04-08 Tom de Vries <tdevries@suse.de>
2116
2117 PR testsuite/25760
2118 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
2119
25c11aca
TV
21202020-04-07 Tom de Vries <tdevries@suse.de>
2121
2122 PR symtab/25796
2123 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
2124
5707e24b
TV
21252020-04-07 Tom de Vries <tdevries@suse.de>
2126
2127 * gdb.base/check-psymtab.c: New test.
2128 * gdb.base/check-psymtab.exp: New file.
2129
6ee448cc
TT
21302020-04-06 Tom Tromey <tromey@adacore.com>
2131
2132 * gdb.ada/variant-record/proc.adb: New file.
2133 * gdb.ada/variant-record/value.adb: New file.
2134 * gdb.ada/variant-record/value.s: New file.
2135 * gdb.ada/variant-record.exp: New file.
2136
9e7c9a03
HD
21372020-04-03 Hannes Domani <ssbssa@yahoo.de>
2138
2139 PR gdb/25325
2140 * gdb.cp/typed-enum.cc: New test.
2141 * gdb.cp/typed-enum.exp: New file.
2142
c90d28ac
AB
21432020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2144
2145 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
2146 * gdb.dwarf2/dw2-inline-small-func.c: New file.
2147 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
2148 * gdb.dwarf2/dw2-inline-small-func.h: New file.
2149 * gdb.opt/inline-small-func.c: New file.
2150 * gdb.opt/inline-small-func.exp: New file.
2151 * gdb.opt/inline-small-func.h: New file.
2152
34e9a9fa
AB
21532020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2154
2155 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
2156 function.
2157
6a354911
AB
21582020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2159
2160 * lib/dwarf.exp (function_range): Allow compiler options to be
2161 specified.
2162
880d9777
TV
21632020-04-02 Tom de Vries <tdevries@suse.de>
2164
2165 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
2166 __attribute__((always_inline)).
2167 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
2168
f32682ea
TV
21692020-04-02 Tom de Vries <tdevries@suse.de>
2170
2171 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
2172 (gdbserver_gdb_exit): ... here. Add timeout warning.
2173 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
2174 (connect_target_extended_remote): Append new server_spawn_id to
2175 server_spawn_ids.
2176 (cleanup): New proc.
2177 (setup, <toplevel>): Call cleanup.
2178
d3214198
TV
21792020-04-02 Tom de Vries <tdevries@suse.de>
2180
2181 * gdb.base/main-psymtab.exp: New file.
2182
cc77ed24
TV
21832020-04-02 Tom de Vries <tdevries@suse.de>
2184
2185 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
2186
3638a098
TT
21872020-04-01 Tom Tromey <tom@tromey.com>
2188
2189 * gdb.base/complex-parts.exp: Add type tests.
2190
c34e8714
TT
21912020-04-01 Tom Tromey <tom@tromey.com>
2192
2193 * gdb.base/complex-parts.exp: Add arithmetic tests.
2194
981c08ce
TT
21952020-04-01 Tom Tromey <tom@tromey.com>
2196
2197 * gdb.compile/compile.exp: Update.
2198 * gdb.compile/compile-cplus.exp: Update.
2199 * gdb.base/varargs.exp: Update.
2200 * gdb.base/floatn.exp: Update.
2201 * gdb.base/endianity.exp: Update.
2202 * gdb.base/callfuncs.exp (do_function_calls): Update.
2203 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
2204 (complex_float_integral_args): Update.
2205 * gdb.base/complex.exp: Update.
2206 * gdb.base/complex-parts.exp: Update.
2207
3d1cfd43
TT
22082020-04-01 Tom Tromey <tromey@adacore.com>
2209
2210 * gdb.rust/union.rs: New file.
2211 * gdb.rust/union.exp: New file.
2212 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
2213 (main): Update.
2214 * gdb.rust/simple.exp: Move union tests to union.exp.
2215
e033dfa9
TT
22162020-04-01 Tom Tromey <tromey@adacore.com>
2217
2218 * gdb.rust/simple.rs (main): Remove "y0".
2219
53cccef1
TBA
22202020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2221
2222 * gdb.multi/stop-all-on-exit.c: New test.
2223 * gdb.multi/stop-all-on-exit.exp: New file.
2224
60e22c1e
HD
22252020-04-01 Hannes Domani <ssbssa@yahoo.de>
2226
2227 PR gdb/24789
2228 * gdb.cp/misc.cc: Add integer reference variable.
2229 * gdb.cp/misc.exp: Add test.
2230
e139a727
TBA
22312020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2232
2233 * gdb.server/stop-reply-no-thread.exp: Enhance the test
2234 scenario to cover execution until the end and also the case
2235
16b0db75
TV
22362020-03-31 Tom de Vries <tdevries@suse.de>
2237
2238 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
2239 c. Use "maint info symtabs" to check symtab expansion.
2240
c0502da6
TV
22412020-03-30 Tom de Vries <tdevries@suse.de>
2242
2243 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
2244 unsupported.
2245 (verify_psymtab_expanded): Move ...
2246 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
2247 test.
2248 (readnow): New proc.
2249
5935fd15
AB
22502020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2251
2252 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
2253 with $hex.
2254
1773be9e
TT
22552020-03-20 Tom Tromey <tromey@adacore.com>
2256
2257 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
2258
70304be9
TT
22592020-03-20 Tom Tromey <tromey@adacore.com>
2260
2261 * gdb.ada/sub_variant/subv.adb: New file.
2262 * gdb.ada/sub_variant.exp: New file.
2263
0dd7b8f7
TV
22642020-03-20 Tom de Vries <tdevries@suse.de>
2265
2266 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
2267 first break fails.
2268 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
2269
cada5fc9
AB
22702020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2271
2272 * gdb.server/exit-multiple-threads.c: New file.
2273 * gdb.server/exit-multiple-threads.exp: New file.
2274
6b8c53f2
AB
22752020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2276
2277 * gdb.fortran/mixed-lang-stack.c: New file.
2278 * gdb.fortran/mixed-lang-stack.cpp: New file.
2279 * gdb.fortran/mixed-lang-stack.exp: New file.
2280 * gdb.fortran/mixed-lang-stack.f90: New file.
2281
19a2740f
AB
22822020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2283
2284 * gdb.linespec/cp-completion-aliases.cc: New file.
2285 * gdb.linespec/cp-completion-aliases.exp: New file.
2286
d8c8b848
TV
22872020-03-19 Tom de Vries <tdevries@suse.de>
2288
2289 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
2290 more precise.
2291
a9933ccf
TV
22922020-03-18 Tom de Vries <tdevries@suse.de>
2293
2294 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
2295 * gdb.dwarf2/break-inline-psymtab.c: New test.
2296 * gdb.dwarf2/break-inline-psymtab.exp: New file.
2297
2f89101f
TV
22982020-03-16 Tom de Vries <tdevries@suse.de>
2299
2300 * lib/cache.exp (gdb_do_cache): Add and handle local variables
2301 cache_verify and cache_verify_proc.
2302
6b9374f1
TV
23032020-03-15 Tom de Vries <tdevries@suse.de>
2304
2305 * gdb.server/solib-list.exp: Handle
2306 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
2307
eaeaf44c
TV
23082020-03-15 Tom de Vries <tdevries@suse.de>
2309
2310 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
2311 objfiles".
2312
3293bbaf
TT
23132020-03-14 Tom Tromey <tom@tromey.com>
2314
2315 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
2316
ab44624c
TV
23172020-03-14 Tom de Vries <tdevries@suse.de>
2318
2319 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
2320
54c43825
TV
23212020-03-14 Tom de Vries <tdevries@suse.de>
2322
2323 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
2324 result in line-by-line fashion.
2325
2ac70237
TV
23262020-03-14 Tom de Vries <tdevries@suse.de>
2327
2328 * lib/gdb.exp (supports_statement_frontiers): New proc.
2329 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
2330
09546b56
TV
23312020-03-14 Tom de Vries <tdevries@suse.de>
2332
2333 * gdb.base/printcmds.exp: Add missing quoting for "print
2334 teststring2".
2335
a1f6a07c
TT
23362020-03-13 Tom Tromey <tom@tromey.com>
2337
2338 * gdb.base/printcmds.exp (test_print_strings): Add regression
2339 test.
2340 * gdb.base/printcmds.c (charptr): New typedef.
2341 (teststring2): New global.
2342
1b83d09c
AB
23432020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
2344
2345 * gdb.base/break-interp.exp: Use the tail of the filename, not the
2346 full path in the test name.
2347 (test_ld): Add some with_test_prefix blocks to make test names
2348 unique.
2349
2d61316c
TV
23502020-03-13 Tom de Vries <tdevries@suse.de>
2351
2352 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
2353
2e9145ac
TV
23542020-03-13 Tom de Vries <tdevries@suse.de>
2355
2356 * gdb.mi/mi-sym-info.exp: Make matching more precise.
2357
96c7f873
TV
23582020-03-13 Tom de Vries <tdevries@suse.de>
2359
2360 PR symtab/25646
2361 * gdb.dwarf2/imported-unit.exp: Add test.
2362
49ba92c0
TV
23632020-03-13 Tom de Vries <tdevries@suse.de>
2364
2365 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
2366 (var1, var2): New variable.
2367 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
2368 matching symbols.
2369
301b21e0
TV
23702020-03-13 Tom de Vries <tdevries@suse.de>
2371
2372 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
2373 (Term::command): Use prompt prefix.
2374 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
2375 * gdb.tui/tui-layout-asm-short-prog.exp: Use
2376 command_no_prompt_prefix instead of prefix.
2377 * gdb.tui/tui-layout-asm.exp: Same.
2378
3f512721
SM
23792020-03-12 Simon Marchi <simon.marchi@efficios.com>
2380
2381 * gdb.base/break-interp.exp: Use foreach_with_prefix.
2382
40310f30
SM
23832020-03-12 Simon Marchi <simon.marchi@efficios.com>
2384
2385 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
2386 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
2387 on" while stepping over the test instruction, match printed
2388 message.
2389
09252140
TV
23902020-03-12 Tom de Vries <tdevries@suse.de>
2391
2392 * gdb.base/info-types.exp: Use exp_continue during matching of output
2393 of "info types".
2394
14e9c72c
TV
23952020-03-12 Tom de Vries <tdevries@suse.de>
2396
2397 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
2398
e515d67e
TV
23992020-03-12 Tom de Vries <tdevries@suse.de>
2400
2401 * gdb.fortran/module.exp: Use exp_continue during matching of output
2402 of "info variable -n".
2403
307eafd8
TV
24042020-03-12 Tom de Vries <tdevries@suse.de>
2405
2406 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
2407 gdb.dwarf2/dw2-ranges-base.c.
2408
9a2de3fc
TV
24092020-03-12 Tom de Vries <tdevries@suse.de>
2410
2411 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
2412 in presence of GLIBC debuginfo.
2413
3217502e
TV
24142020-03-12 Tom de Vries <tdevries@suse.de>
2415
2416 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
2417 $core.
2418
1281424c
TV
24192020-03-12 Tom de Vries <tdevries@suse.de>
2420
2421 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
2422 more precise.
2423
038b97fc
SM
24242020-03-11 Simon Marchi <simon.marchi@efficios.com>
2425
2426 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
2427 from Unix to Windows path.
2428
5308d1e7
TV
24292020-03-11 Tom de Vries <tdevries@suse.de>
2430
2431 * gdb.ada/minsyms.exp: Set language to ada.
2432
f870f78f
TV
24332020-03-11 Tom de Vries <tdevries@suse.de>
2434
2435 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
2436
5a13315d
TV
24372020-03-11 Tom de Vries <tdevries@suse.de>
2438
2439 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
2440
976862ed
TT
24412020-03-11 Tom Tromey <tromey@adacore.com>
2442
2443 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
2444
7462c383
TV
24452020-03-11 Tom de Vries <tdevries@suse.de>
2446
2447 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
2448
1c6c46a0
TV
24492020-03-11 Tom de Vries <tdevries@suse.de>
2450
2451 * gdb.base/break-interp.exp: Limit verbose scope.
2452
44f41bb7
TV
24532020-03-11 Tom de Vries <tdevries@suse.de>
2454
2455 * gdb.fortran/logical.f90: Define variable with character type.
2456 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
2457
b76f3a42
TV
24582020-03-11 Tom de Vries <tdevries@suse.de>
2459
2460 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
2461
1c33af77
TV
24622020-03-11 Tom de Vries <tdevries@suse.de>
2463
2464 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
2465 symtabs.
2466
8c95582d
AB
24672020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2468 Bernd Edlinger <bernd.edlinger@hotmail.de>
2469
2470 * gdb.cp/step-and-next-inline.cc: New file.
2471 * gdb.cp/step-and-next-inline.exp: New file.
2472 * gdb.cp/step-and-next-inline.h: New file.
2473 * gdb.dwarf2/dw2-is-stmt.c: New file.
2474 * gdb.dwarf2/dw2-is-stmt.exp: New file.
2475 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
2476 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
2477 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
2478
cecf8547
AB
24792020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2480
2481 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
2482 is-stmt flag in the line table.
2483
0ba678c9
TV
24842020-03-09 Tom de Vries <tdevries@suse.de>
2485
2486 * lib/gdb.exp (cached_file): Create cache dir.
2487
72fbdf83
TV
24882020-03-07 Tom de Vries <tdevries@suse.de>
2489
2490 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
2491 * gdb.cp/rvalue-ref-params.exp: Same.
2492
436b5e99
TV
24932020-03-06 Tom de Vries <tdevries@suse.de>
2494
2495 * lib/gdb.exp (tentative_rename, cached_file): New proc.
2496 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
2497
09f2921c
TV
24982020-03-06 Tom de Vries <tdevries@suse.de>
2499
2500 * README: Fix "the the".
2501 * gdb.base/dprintf.exp: Same.
2502
50a3cc5d
TV
25032020-03-05 Tom de Vries <tdevries@suse.de>
2504
2505 * gdb.base/maint.exp: Update "main print statistics" expected output.
2506
0a709cba
AKS
25072020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2508
2509 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
2510 (fortran_int8): Likewise.
2511 (fortran_real4): Likewise.
2512 (fortran_real8): Likewise.
2513 (fortran_complex4): Likewise.
2514 (fortran_logical4): Likewise.
2515 (fortran_character1): Likewise.
2516
5e5d66b6
AB
25172020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
2518
2519 * gdb.fortran/logical.exp: Add tests that any non-zero value is
2520 printed as true.
2521
7b973adc
SDJ
25222020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
2523
2524 * gdb.base/printcmds.exp: Add test to verify printf of a
2525 variable holding an address.
2526
478e490a
TV
25272020-03-03 Tom de Vries <tdevries@suse.de>
2528
2529 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
2530
1ef44e86
TV
25312020-03-03 Tom de Vries <tdevries@suse.de>
2532
2533 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
2534 gdb_test_multiple call.
2535
b98cc2cf
TV
25362020-03-03 Tom de Vries <tdevries@suse.de>
2537
2538 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
2539 gdb_test_multiple calls.
2540
63e163f2
AB
25412020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2542
2543 * gdb.base/default.exp: Remove test of 'set history filename'.
2544 * gdb.base/gdbinit-history.exp: Add tests for setting the history
2545 filename to the empty string.
2546 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
2547 and GDBHISTSIZE.
2548
24ed6739
AB
25492020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2550
2551 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
2552 disabled.
2553
590003dc 25542020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 2555 Tom de Vries <tdevries@suse.de>
590003dc
TV
2556
2557 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
2558 -prompt prefix, before user_code argument. Add -lbl option likewise.
2559 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
2560 (gdb_is_target_1): Add -prompt prefix and move to before user_code
2561 argument.
2562 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
2563 have "\r\n" at start-of-line, instead of at end-of-line.
2564
f5e46084
SM
25652020-02-28 Simon Marchi <simon.marchi@efficios.com>
2566
2567 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
2568 libinproctrace.so.
2569
f7a7000d
LM
25702020-02-28 Luis Machado <luis.machado@linaro.org>
2571
2572 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
2573 to "p/x".
2574
718e0816
LM
25752020-02-28 Luis Machado <luis.machado@linaro.org>
2576
2577 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
2578 asm/ptrace.h and error.h.
2579
13c3a74a
TV
25802020-02-28 Tom de Vries <tdevries@suse.de>
2581
2582 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
2583 (struct wrapper, do_something, mundane/symada__cS): Move ...
2584 * gdb.base/c-linkage-name-2.c: ... here. New source file.
2585 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
2586 Update "print symada__cS before partial symtab expansion" regexp.
2587 Update breakpoint location. Flush symbol cache after expansion.
2588
85d2d5bb
LM
25892020-02-28 Luis Machado <luis.machado@linaro.org>
2590
2591 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
2592
3608f86c
TV
25932020-02-27 Tom de Vries <tdevries@suse.de>
2594
2595 * config/sid.exp: Remove unused globals.
2596 * gdb.base/attach.exp: Same.
2597 * gdb.base/catch-load.exp: Same.
2598 * gdb.base/dbx.exp: Same.
2599 * lib/gdb.exp: Same.
2600 * lib/mi-support.exp: Same.
2601 * lib/prompt.exp: Same.
2602
c8d4f6df
TV
26032020-02-27 Tom de Vries <tdevries@suse.de>
2604
2605 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
2606 not set.
2607
0d79cdc4
AM
26082020-02-26 Aaron Merey <amerey@redhat.com>
2609
2610 * gdb.debuginfod: New directory for debuginfod tests.
2611 * gdb.debuginfod/main.c: New test file.
2612 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
2613
0dce4280
TV
26142020-02-26 Tom de Vries <tdevries@suse.de>
2615
2616 PR gdb/25603
2617 * gdb.base/persistent-lang.cc: New test.
2618 * gdb.base/persistent-lang.exp: New file.
2619
9e80cfa1
AB
26202020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2621
2622 * gdb.fortran/derived-type-striding.exp: Add a new test.
2623 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
2624 new test.
2625
2078dbb2
AB
26262020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2627
2628 * gdb.base/cached-source-file.exp: Avoid source file paths in test
2629 names.
2630
70d49700
TV
26312020-02-25 Tom de Vries <tdevries@suse.de>
2632
2633 PR go/18926
2634 * gdb.go/methods.exp: Remove gcc/93866 xfail.
2635
a88ef40d
TV
26362020-02-24 Tom de Vries <tdevries@suse.de>
2637
2638 PR gdb/25592
2639 * gdb.base/info-locals-unused-static-var.c: New test.
2640 * gdb.base/info-locals-unused-static-var.exp: New file.
2641
01b1af32
TT
26422020-02-22 Tom Tromey <tom@tromey.com>
2643
2644 * gdb.python/tui-window.exp: New file.
2645 * gdb.python/tui-window.py: New file.
2646
7c043ba6
TT
26472020-02-22 Tom Tromey <tom@tromey.com>
2648
2649 PR tui/17850:
2650 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
2651 tests.
2652
c22fef7e
TT
26532020-02-22 Tom Tromey <tom@tromey.com>
2654
2655 * gdb.tui/new-layout.exp: Add sub-layout tests.
2656
ee325b61
TT
26572020-02-22 Tom Tromey <tom@tromey.com>
2658
2659 * gdb.tui/new-layout.exp: New file.
2660
3f0cbb04
TT
26612020-02-22 Tom Tromey <tom@tromey.com>
2662
2663 * gdb.rust/rust-style.rs: New file.
2664 * gdb.rust/rust-style.exp: New file.
2665 * gdb.base/style.exp: Test structure printing.
2666 * gdb.base/style.c (struct some_struct): New type.
2667 (enum etype): New type.
2668 (struct_value): New global.
2669
75525152
TV
26702020-02-21 Tom de Vries <tdevries@suse.de>
2671
2672 PR go/18926
2673 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
2674 Remove blanket xfails. Use message argument for gdb_breakpoint.
2675 Make continuing to breakpoint test conditional on setting breakpoint.
2676 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
2677 DW_AT_name attribute. Add xfail for GCC PR93866.
2678
bd360d30
AB
26792020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
2680
2681 * gdb.dwarf2/cpp-linkage-name.c: New file.
2682 * gdb.dwarf2/cpp-linkage-name.exp: New file.
2683
c7adb09f 26842020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
2685
2686 * lib/gdb.exp (gdb_wrapper_init): Reset
2687 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
2688 not exist.
2689
a9c79803
TV
26902020-02-20 Tom de Vries <tdevries@suse.de>
2691
2692 PR go/17018
2693 * gdb.go/hello.exp: Copy ...
2694 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
2695 print of st to print value of global definition. Add xfail for GCC
2696 PR93844.
2697 * gdb.go/hello.exp: Remove printing of st before definition.
2698 * gdb.go/hello.go: Copy ...
2699 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
2700 to st.
2701 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
2702
d7445728
TV
27032020-02-20 Tom de Vries <tdevries@suse.de>
2704
2705 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
2706 (gdb_simple_compile): Handle compile_flags go by using .go extension
2707 for source file.
2708 * gdb.go/chan.exp: Use support_go_compile.
2709 * gdb.go/handcall.exp: Same.
2710 * gdb.go/hello.exp: Same.
2711 * gdb.go/integers.exp: Same.
2712 * gdb.go/max-depth.exp: Same.
2713 * gdb.go/methods.exp: Same.
2714 * gdb.go/package.exp: Same.
2715 * gdb.go/strings.exp: Same.
2716 * gdb.go/types.exp: Same.
2717 * gdb.go/unsafe.exp: Same.
2718
c9c41e6d
TV
27192020-02-19 Tom de Vries <tdevries@suse.de>
2720
2721 * gdb.python/lib-types.exp: Make xfail more strict.
2722
f20ff837
TV
27232020-02-19 Tom de Vries <tdevries@suse.de>
2724
2725 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
2726
08410482
DE
27272020-02-19 Doug Evans <dje@google.com>
2728
2729 PR rust/25535
2730 * gdb.rust/simple.exp: Add test.
2731 * gdb.rust/simple.rs: Add test.
2732
623563f7
TV
27332020-02-19 Tom de Vries <tdevries@suse.de>
2734
2735 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
2736 output line-by-line.
2737
d3308cfd
TV
27382020-02-19 Tom de Vries <tdevries@suse.de>
2739
2740 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
2741
86cbc5dc
TV
27422020-02-19 Tom de Vries <tdevries@suse.de>
2743
2744 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
2745 prelink.
2746
9db2b96b
TV
27472020-02-19 Tom de Vries <tdevries@suse.de>
2748
2749 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
2750 (gdb_do_cache): Use gdb_do_cache_wrap.
2751 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
2752
89e2fdc5
TV
27532020-02-19 Tom de Vries <tdevries@suse.de>
2754
2755 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
2756 gdb_compile option.
2757
373d7ac0
SM
27582020-02-18 Simon Marchi <simon.marchi@efficios.com>
2759
2760 * gdb.base/printcmds.exp (test_print_enums): Update expected
2761 output.
2762
b29a2df0
SM
27632020-02-18 Simon Marchi <simon.marchi@efficios.com>
2764
2765 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
2766 for "unknown".
2767
6740f0cc
SM
27682020-02-18 Simon Marchi <simon.marchi@efficios.com>
2769
2770 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
2771 enumerator.
2772
edd45eb0
SM
27732020-02-18 Simon Marchi <simon.marchi@efficios.com>
2774
2775 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
2776 FE_, add FE_NONE.
2777 (three): Update.
2778 (enum flag_enum_without_zero): New enum.
2779 (flag_enum_without_zero): New variable.
2780 (enum not_flag_enum): New enum.
2781 (three_not_flag): New variable.
2782 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
2783 (test_print_enums): Add more tests for printing flag enums.
2784
d4295de4
TV
27852020-02-18 Tom de Vries <tdevries@suse.de>
2786
2787 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
2788 (gdb_compile_ada): ... here.
2789 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
2790 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
2791
f251f505
TT
27922020-02-14 Tom Tromey <tom@tromey.com>
2793
2794 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
2795 build directory.
2796 * boards/gdbserver-base.exp: Update path to gdbserver.
2797
8f432634
TV
27982020-02-13 Tom de Vries <tdevries@suse.de>
2799
2800 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
2801
92b6eaf7
TV
28022020-02-13 Tom de Vries <tdevries@suse.de>
2803
2804 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
2805 are missing.
2806
f3b0f7fe
TV
28072020-02-13 Tom de Vries <tdevries@suse.de>
2808
2809 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
2810 call.
2811
f6be8713
SDJ
28122020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2813
2814 PR tui/25126
2815 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
2816 * gdb.base/cached-source-file.c: New file.
2817 * gdb.base/cached-source-file.exp: New file.
2818
b2770d5e
TV
28192020-02-11 Tom de Vries <tdevries@suse.de>
2820
2821 PR testsuite/25488
2822 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
2823
44f6938e
TV
28242020-02-10 Tom de Vries <tdevries@suse.de>
2825
2826 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
2827
5f0e2eb7
MR
28282020-02-10 Maciej W. Rozycki <macro@wdc.com>
2829
2830 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
2831 and $after_addr are both integers before making a comparison.
2832
46ce2b6f
TV
28332020-02-09 Tom de Vries <tdevries@suse.de>
2834
2835 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
2836 command output and paste it into gdb.log. If any, paste catch message
2837 to gdb.log.
2838
5abbbe1d
TT
28392020-02-07 Tom Tromey <tromey@adacore.com>
2840
2841 PR breakpoints/24915:
2842 * gdb.base/annotate-symlink.exp: Use setup_xfail.
2843
1d5d29e7
SV
28442020-02-06 Shahab Vahedi <shahab@synopsys.com>
2845
2846 * gdb.tui/tui-missing-src.exp: Add the "missing source
2847 file" test for the TUI.
2848
b0999b9b
AB
28492020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
2850
2851 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
2852 including a port number in the output.
2853
c3b149eb
AKS
28542020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2855
2856 * lib/fortran.exp (fortran_int4): Handle clang.
2857 (fortran_int8): Likewise.
2858 (fortran_real4): Likewise.
2859 (fortran_real8): Likewise.
2860 (fortran_complex4): Likewise.
2861 (fortran_logical4): Likewise.
2862 (fortran_character1): Likewise.
2863
f8dcc90b
TV
28642020-02-04 Tom de Vries <tdevries@suse.de>
2865
2866 * README (Race detection): Add note.
2867
f90ac7c2
TV
28682020-02-04 Tom de Vries <tdevries@suse.de>
2869
2870 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
2871
780636ae
TV
28722020-02-04 Tom de Vries <tdevries@suse.de>
2873
2874 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
2875
5d2e1193
RA
28762020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2877
2878 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
2879 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
2880 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
2881 blttar, bnetarl.
2882 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
2883 binary for blttar, bnetarl.
2884 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
2885 wait instruction. Delete ldmx test.
2886 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
2887
e409c542
AKS
28882020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2889
2890 * gdb.fortran/array-bounds-high.exp: New file.
2891 * gdb.fortran/array-bounds-high.f90: New file.
2892
b0029748
LD
28932020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
2894
2895 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
2896 Replace #include of <sys/fcntl.h> by <fcntl.h>.
2897
195a8287
TV
28982020-02-01 Tom de Vries <tdevries@suse.de>
2899
2900 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
2901
42330a68
AB
29022020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
2903
2904 PR tui/9765
2905 * gdb.tui/tui-layout-asm-short-prog.S: New file.
2906 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
2907
b62a8028
LM
29082020-01-29 Luis Machado <luis.machado@linaro.org>
2909
2910 * gdb.arch/aarch64-brk-patterns.c: New source file.
2911 * gdb.arch/aarch64-brk-patterns.exp: New test.
2912
5f440116
TBA
29132020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2914
2915 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
2916 GCC/Clang version.
2917 * gdb.cp/pass-by-ref.exp: Ditto.
2918
ee2a6fc6
TV
29192020-01-29 Tom de Vries <tdevries@suse.de>
2920
2921 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
2922 * gdb.threads/watchpoint-fork-mt.c: Same.
2923 * gdb.threads/watchpoint-fork-parent.c: Same.
2924 * gdb.threads/watchpoint-fork-st.c: Same.
2925 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
2926
16b10d6e
LM
29272020-01-27 Luis Machado <luis.machado@linaro.org>
2928
2929 * gdb.base/step-over-syscall.exp (setup): Check if we're already
2930 sitting at a syscall instruction when we hit the syscall function's
2931 breakpoint.
2932 Check PC against one obtained with the x command.
2933 Validate syscall number.
2934 (step_over_syscall): Don't continue to the syscall instruction if
2935 we're already there.
2936
b1468492
PW
29372020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2938
2939 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
2940
7ffa82e1
AB
29412020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2942
2943 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
2944 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
2945
3d92a3e3
AB
29462020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2947
2948 * gdb.dwarf2/dw2-inline-stepping.c: New file.
2949 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
2950
94a72be7
AB
29512020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2952
2953 * gdb.base/maint.exp: Update line table parsing test.
2954 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
2955
53af73bf
PA
29562020-01-24 Pedro Alves <palves@redhat.com>
2957
2958 PR gdb/25410
2959 * gdb.multi/multi-re-run-1.c: New.
2960 * gdb.multi/multi-re-run-2.c: New.
2961 * gdb.multi/multi-re-run.exp: New.
2962
1ba1ac88
AB
29632020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2964
2965 PR gdb/23718
2966 * gdb.server/server-kill-python.exp: New file.
2967
f3364a6d
AB
29682020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2969
2970 * gdb.server/multi-ui-errors.c: New file.
2971 * gdb.server/multi-ui-errors.exp: New file.
2972
733d0a67
AB
29732020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2974
2975 PR tui/9765
2976 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
2977
4f13c1c0
TT
29782020-01-19 Tom Tromey <tom@tromey.com>
2979
2980 * gdb.tui/main.exp: Add check for plain "file".
2981
40c94099
CB
29822020-01-16 Christian Biesinger <cbiesinger@google.com>
2983
2984 * lib/gdb.exp: Fix spelling error (seperatelly).
2985
ff47f4f0
TT
29862020-01-14 Tom Tromey <tom@tromey.com>
2987
2988 PR symtab/12535:
2989 * gdb.python/python.exp: Test decode_line with empty string
2990 argument.
2991
717c684d
BE
29922020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2993
2994 * gdb.base/skip-inline.exp: Extend test.
2995
44e4c775
AB
29962020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2997
2998 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
2999 * gdb.dwarf2/dw2-bad-elf.c: New file.
3000 * gdb.dwarf2/dw2-bad-elf.exp: New file.
3001
d93c6db7
AB
30022020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3003
3004 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
3005 _line_saw_file.
3006
9a6d629c
AB
30072020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3008
3009 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
3010 border.
3011
d9ebdab7
TBA
30122020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3013
3014 * gdb.multi/multi-target.exp (setup): Factor out "info
3015 connections" and "info inferiors" tests to ...
3016 (test_info_inferiors): ... this new procedure.
3017 (top level): Run new "info-inferiors" tests.
3018
f3c469b9
PA
30192020-01-10 Pedro Alves <palves@redhat.com>
3020
3021 * gdb.server/bkpt-other-inferior.exp: New file.
3022
121b3efd
PA
30232020-01-10 Pedro Alves <palves@redhat.com>
3024
3025 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
3026 of "add-inferior".
3027 * gdb.base/quit-live.exp: Likewise.
3028 * gdb.base/remote-exec-file.exp: Likewise.
3029 * gdb.guile/scm-progspace.exp: Likewise.
3030 * gdb.linespec/linespec.exp: Likewise.
3031 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3032 * gdb.mi/user-selected-context-sync.exp: Likewise.
3033 * gdb.multi/multi-target.exp (setup): Add "info connection" and
3034 "info inferiors" tests.
3035 * gdb.multi/remove-inferiors.exp: Adjust expected output of
3036 "add-inferior".
3037 * gdb.multi/watchpoint-multi.exp: Likewise.
3038 * gdb.python/py-inferior.exp: Likewise.
3039 * gdb.server/extended-remote-restart.exp: Likewise.
3040 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
3041 "info inferiors".
3042 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
3043 * gdb.trace/report.exp: Likewise.
3044
1dadb1dd
PA
30452020-01-10 Pedro Alves <palves@redhat.com>
3046
3047 * gdb.multi/multi-target.c: New file.
3048 * gdb.multi/multi-target.exp: New file.
3049 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
3050 mode requested, but remote does not support non-stop".
3051
78f2c40a
PA
30522020-01-10 Pedro Alves <palves@redhat.com>
3053
3054 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
3055 disconnect before reconnecting.
3056
e7af6c70
TBA
30572020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3058 Pedro Alves <palves@redhat.com>
3059
3060 * gdb.server/connect-without-multi-process.exp: Also test
3061 continuing to end.
3062
acdf84a6
PA
30632020-01-10 Pedro Alves <palves@redhat.com>
3064
3065 * gdb.base/remote-exec-file.exp: New file.
3066
873657b9
PA
30672020-01-10 Pedro Alves <palves@redhat.com>
3068
3069 * gdb.base/fork-running-state.exp (do_test): Adjust expected
3070 output.
3071 * gdb.threads/async.c: New.
3072 * gdb.threads/async.exp: New.
3073 * gdb.multi/tids-gid-reset.c: New.
3074 * gdb.multi/tids-gid-reset.exp: New.
3075
7f0ae84c
GB
30762020-01-10 George Barrett <bob@bob131.so>
3077
3078 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
3079 to help in finding the image relocation offset.
3080 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
3081 options in arguments.
3082 (stap_test_no_debuginfo): Likewise.
3083 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
3084 test variants.
3085 (stap_test): Add null semaphore relocation test.
3086
47e9d49d
GB
30872020-01-10 George Barrett <bob@bob131.so>
3088
3089 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
3090 * gdb.base/stap-probe.exp: Likewise.
3091 (stap_test): Pass argument as an additional flag.
3092 (stap_test_no_debuginfo): Likewise.
3093 (stap_test): Check `info probes stap' output for semaphore
3094 addresses if the test binary is supposed to have them.
3095
f5a7c406
AB
30962020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3097
3098 * gdb.tui/basic.exp: Add more scrolling tests.
3099
9ae6bf64
TT
31002020-01-09 Tom Tromey <tom@tromey.com>
3101
3102 PR tui/18932:
3103 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
3104 meangingful value.
3105 (Term::command, Term::resize): Update.
3106 * gdb.tui/basic.exp: Add scrolling test.
3107
b2efe70c
AB
31082020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3109
3110 * gdb.tui/tui-layout-asm.exp: New file.
3111
3804da7e
AB
31122020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3113
3114 * lib/tuiterm.exp (Term::check_box_contents): New proc.
3115
b40aa28f
AB
31162020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3117
3118 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
3119 (Term::enter_tui): Use Term::prepare_for_tui.
3120
63ffd7c9
AB
31212020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3122
3123 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
3124 called.
3125
3be966f6
AB
31262020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3127
3128 * gdb.base/skip.exp: Fix race condition in test.
3129
153d79c4
AB
31302020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3131
3132 * gdb.base/backtrace.c: New file.
3133 * gdb.base/backtrace.exp: New file.
3134
f2302a34
AB
31352020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
3136
3137 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
3138
6ec1d75e
PW
31392020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3140
3141 * gdb.base/style.exp: Test that warnings are styled.
3142
c296cbe6
BE
31432019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
3144
3145 * gdb.base/line65535.exp: New file.
3146 * gdb.base/line65535.c: New file.
3147
b28a729d
SM
31482019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
3149
3150 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
3151 * lib/gnat_debug_info_test.adb: New file.
3152 * gdb.ada/ptype_tagged_param.exp: Use
3153 gnat_runtime_has_debug_info, expect a different output if
3154 runtime does not have debug info.
3155
7f2d7a0d
SM
31562019-12-20 Simon Marchi <simon.marchi@efficios.com>
3157
3158 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
3159 (another) quote in test name.
3160
f3bce483
SM
31612019-12-20 Simon Marchi <simon.marchi@efficios.com>
3162
3163 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
3164 Add quote in test name.
3165
c855a912
TBA
31662019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3167
3168 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
3169 directory instead.
3170 * gdb.cp/pass-by-ref.exp: Extend with more cases.
3171 * gdb.cp/pass-by-ref-2.cc: New file.
3172 * gdb.cp/pass-by-ref-2.exp: New file.
3173
fc9d2d72
TT
31742019-12-20 Tom Tromey <tom@tromey.com>
3175
3176 * gdb.tui/list-before.exp: New file.
3177
77b97e00
TT
31782019-12-20 Tom Tromey <tom@tromey.com>
3179
3180 * gdb.tui/list.exp: Check for source on initial listing.
3181
f69656d0
TT
31822019-12-11 Tom Tromey <tromey@adacore.com>
3183
3184 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
3185 Add crlf test.
3186
99a55965
SM
31872019-12-18 Simon Marchi <simon.marchi@efficios.com>
3188
3189 * gdb.base/default.exp: Update value of $_gdb_major.
3190
5024637f
BE
31912019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3192
3193 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
3194
b63634be
BE
31952019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3196
3197 * gdb.base/skip.exp: Whitespace fix.
3198
45d73523
BE
31992019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3200
3201 * gdb.base/skip-inline.c: New file.
3202 * gdb.base/skip-inline.exp: New file.
3203
d043f8c8
SM
32042019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
3205
3206 * gdb.base/jit-reader.exp (jit_reader_test): Rename
3207 jit_function_00 to jit_function_stack_mangle.
3208 * gdb.base/jithost.c (jit_function_t): Rename to...
3209 (jit_function_stack_mangle_t): ... this.
3210 (jit_function_add_t): New typedef.
3211 (jit_function_00_code): Rename to...
3212 (jit_function_stack_mangle_code): ... this, make static.
3213 (jit_function_add_code): New.
3214 (main): Generate "add" function and call it. Adjust to changes
3215 in jithost_abi.
3216 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
3217 (struct jithost_abi) <begin, end>: Remove fields.
3218 <object, function_stack_mangle, function_add>: New fields.
3219 * gdb.base/jitreader.c (struct reader_state) <code_begin,
3220 code_end>: Remove fields.
3221 <func_stack_mangle>: New field.
3222 (read_debug_info): Adjust to renaming, create block for "add"
3223 function.
3224 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
3225
873de05c
TT
32262019-12-11 Tom Tromey <tom@tromey.com>
3227
3228 * gdb.tui/resize.exp: Fix regexp.
3229 * gdb.tui/regs.exp: Fix regexps.
3230 * gdb.tui/main.exp: Fix regexp.
3231
3d979945
TT
32322019-12-11 Tom Tromey <tom@tromey.com>
3233
3234 * gdb.tui/resize.exp: Update.
3235 * gdb.tui/empty.exp (layouts): Update.
3236
2192a9d3
TT
32372019-12-11 Tom Tromey <tom@tromey.com>
3238
3239 * gdb.tui/regs.exp: Update.
3240 * gdb.tui/empty.exp (layouts): Update.
3241 * gdb.tui/basic.exp: Update.
3242 * lib/tuiterm.exp (_check_box): Don't check bottom border.
3243
d8edc8b7
PW
32442019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3245
3246 * gdb.base/options.exp: Add -raw-values in the print completion list.
3247 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
3248
4c12d936
KB
32492019-12-10 Kevin Buettner <kevinb@redhat.com>
3250
3251 * gdb.threads/omp-par-scope.c: New file.
3252 * gdb/threads/omp-par-scope.exp: New file.
3253
26b911fb
KB
32542019-12-10 Kevin Buettner <kevinb@redhat.com>
3255
bb47f919
KB
3256 * lib/gdb.exp (support_nested_function_tests): New proc.
3257
32582019-12-10 Kevin Buettner <kevinb@redhat.com>
3259
3260 * lib/gdb.exp (gdb_compile_openmp): New proc.
3261 (build_executable_from_specs): Add an "openmp" option.
3262 (gdb_compile_pthreads): Add non-executable case.
26b911fb 3263
6c71eb7d
TT
32642019-12-10 Tom Tromey <tromey@adacore.com>
3265
3266 * gdb.ada/unchecked_union.exp: New file.
3267 * gdb.ada/unchecked_union/pck.adb: New file.
3268 * gdb.ada/unchecked_union/pck.ads: New file.
3269 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
3270 * gdb-utils.exp (string_to_regexp): Also quote "?".
3271
bac7c5cf
GB
32722019-12-10 George Barrett <bob@bob131.so>
3273
3274 Test scripted probe breakpoints.
3275 * gdb.guile/scm-breakpoint.c (main): Add probe point.
3276 * gdb.python/py-breakpoint.c (main): Likewise.
3277 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
3278 specifier test.
3279 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
3280
330f1d38
TBA
32812019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3282
3283 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
3284 an rvalue parameter.
3285 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
3286 parameter.
3287
b43315e2
AB
32882019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3289
3290 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
3291 modules.
3292
54f73dad
AB
32932019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3294
3295 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
3296 broken version of GCC.
3297
d57cbee9
AB
32982019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3299
3300 * gdb.fortran/info-modules.exp: Rewrite to make use of new
3301 sym-info-cmds library.
3302 * gdb.fortran/info-types.exp: Likewise.
3303 * lib/sym-info-cmds.exp: New file.
3304
c14aab8c
TV
33052019-12-08 Tom de Vries <tdevries@suse.de>
3306
3307 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
3308
aa2d5a42
KS
33092019-12-07 Keith Seitz <keiths@redhat.com>
3310
3311 * gdb.base/corefile-buildid-shlib-shr.c: New file.
3312 * gdb.base/corefile-buildid-shlib.c: New file.
3313 * gdb.base/corefile-buildid.c: New file.
3314 * gdb.base/corefile-buildid.exp: New file.
3315
93e55f0a
TV
33162019-12-06 Tom de Vries <tdevries@suse.de>
3317
3318 * gdb.dwarf2/varval.exp: Add decl before def test.
3319
c7d12402
TBA
33202019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3321
3322 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
3323
06acc08f
TBA
33242019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3325
3326 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
3327 CV and reference conversion for overload resolution.
3328 * gdb.cp/rvalue-ref-overload.exp: Test it.
3329
e0fad1ea
PW
33302019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3331
3332 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
3333 * gdb.base/frameapply.exp: Test faas without command.
3334
8d70a9f0
AB
33352019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3336
3337 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
3338 Fortran tests.
3339 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
3340 order.
3341
36c8fb93
AB
33422019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3343
3344 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
3345 casting to type with no kind specified.
3346 (test_basic_parsing_of_type_kinds): Additional tests for types
3347 with no kind specified, and add tests for single/double
3348 precision/complex types.
3349
4139ff00
TT
33502019-12-04 Tom Tromey <tromey@adacore.com>
3351
3352 * gdb.base/endianity.c (struct other) <x>: New field.
3353 (main): Initialize it.
3354 * gdb.base/endianity.exp: Update.
3355
a05cf17a
TT
33562019-12-04 Tom Tromey <tromey@adacore.com>
3357
3358 * gdb.ada/scalar_storage/storage.adb: New file.
3359 * gdb.ada/scalar_storage/pck.adb: New file.
3360 * gdb.ada/scalar_storage/pck.ads: New file.
3361 * gdb.ada/scalar_storage.exp: New file.
3362
103a685e
TT
33632019-12-04 Tom Tromey <tromey@adacore.com>
3364
3365 * gdb.base/endianity.c (struct otherendian) <f>: New field.
3366 (main): Initialize it.
3367 * gdb.base/endianity.exp: Update.
3368
c2512106
AB
33692019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3370
3371 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
3372
293b38d6
AB
33732019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3374
3375 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
3376 -symbol-info-module-functions and -symbol-info-module-variables.
3377
216a7e6b
AB
33782019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
3379
3380 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
3381
5bbd8269
AB
33822019-12-01 Richard Bunt <richard.bunt@arm.com>
3383 Andrew Burgess <andrew.burgess@embecosm.com>
3384
3385 * gdb.fortran/derived-type-striding.exp: New file.
3386 * gdb.fortran/derived-type-striding.f90: New file.
3387 * gdb.fortran/array-slices.exp: New file.
3388 * gdb.fortran/array-slices.f90: New file.
3389
be09caf1
PW
33902019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3391
3392 * gdb.base/define.exp: Test . in command names.
3393 * gdb.base/setshow.exp: Update test, as . is now part of
3394 command name.
3395
643c0cbe
PW
33962019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3397
3398 * gdb.base/define-prefix.exp: New file.
3399
dcdec678
AB
34002019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
3401
3402 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
3403 compile.
3404 (skip_btrace_pt_tests): Likewise.
3405
640ab947
AB
34062019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3407
3408 * gdb.fortran/info-modules.exp: Compile source files in correct
3409 order.
3410
d22670f0
KB
34112019-11-27 Kevin Buettner <kevinb@redhat.com>
3412
3413 * gdb.dwarf2/imported-unit.exp: New file.
3414 * gdb.dwarf2/imported-unit.c: New file.
3415
db5960b4
AB
34162019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3417
3418 * gdb.mi/mi-fortran-modules-2.f90: New file.
3419 * gdb.mi/mi-fortran-modules.exp: New file.
3420 * gdb.mi/mi-fortran-modules.f90: New file.
3421
7dc42066
AB
34222019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3423
3424 * gdb.mi/mi-sym-info-1.c: New file.
3425 * gdb.mi/mi-sym-info-2.c: New file.
3426 * gdb.mi/mi-sym-info.exp: New file.
3427
0dfeecca
TT
34282019-11-22 Tom Tromey <tromey@adacore.com>
3429
3430 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
3431 * gdb.ada/tasks/foo.adb: Add another stopping location.
3432
34877895
PJ
34332019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
3434
3435 * gdb.base/endianity.c: New test.
3436 * gdb.base/endianity.exp: New file.
3437
2e84f897
LD
34382019-11-21 Lukas Durfina <ldurfina@tachyum.com>
3439
3440 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
3441
65d1cd5f
TV
34422019-11-21 Tom de Vries <tdevries@suse.de>
3443
3444 PR gdb/24956
3445 * gdb.base/ui-redirect.exp: Test output of user-defined command.
3446
4f22c3f4
SDJ
34472019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3448
3449 * gdb.python/py-progspace.exp: Add missing parentheses on some
3450 'print' commands.
3451
9f6ad286
TT
34522019-11-19 Tom Tromey <tom@tromey.com>
3453
3454 * gdb.tui/winheight.exp: New file.
3455
0b8dbf3f
AB
34562019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3457
3458 * gdb.base/ctf-whatis.c: Delete.
3459 * gdb.base/ctf-whatis.exp: Delete.
3460 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
3461
f833b7a7
AB
34622019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3463
3464 * gdb.base/ctf-cvexpr.exp: Delete.
3465 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
3466
30d0a636
AB
34672019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3468
3469 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
3470 the compiler. Clean up header comment a little.
3471 * gdb.base/ctf-ptype.exp: Likewise.
3472 * gdb.base/ctf-whatis.exp: Likewise.
3473 * lib/gdb.exp (skip_ctf_tests): New proc.
3474
494409bb
SDJ
34752019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
3476
3477 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
3478 * gdb.tui/corefile-run.exp: New file.
3479
55708e99
TT
34802019-11-14 Tom Tromey <tromey@adacore.com>
3481
3482 * gdb.base/gdbvars.exp (test_convenience_variables): Add
3483 regression tests.
3484
45e42163
TT
34852019-11-12 Tom Tromey <tom@tromey.com>
3486
3487 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
3488 after any command. Expect prompt after WAIT_FOR is seen.
3489 (enter_tui): Enable resize messages.
3490 (command): Expect command in output.
3491 (get_line): Avoid error when cursor appears to be off-screen.
3492 (dump_screen): Include screen size in title.
3493 (_do_resize): New proc, from "resize".
3494 (resize): Rewrite. Do resize in two steps.
3495 * gdb.tui/empty.exp (layouts): Fix entries.
3496 (check_boxes): Remove xfail.
3497 (check_text): Dump screen on failure.
3498
086baaf1
AB
34992019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3500
3501 * gdb.python/py-symbol.exp: Add test for
3502 gdb.lookup_static_symbols.
3503
09ff83af
AB
35042019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3505
3506 * gdb.python/py-symbol.c: Declare and call function from new
3507 py-symbol-2.c file.
3508 * gdb.python/py-symbol.exp: Compile both source files, and add new
3509 tests for gdb.lookup_static_symbol.
3510 * gdb.python/py-symbol-2.c: New file.
3511
11af934b
TV
35122019-11-02 Tom de Vries <tdevries@suse.de>
3513
3514 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
3515 * gdb.base/anon.exp: Same.
3516 * gdb.base/auto-connect-native-target.exp: Same.
3517 * gdb.base/call-ar-st.exp: Same.
3518 * gdb.base/catch-syscall.exp: Same.
3519 * gdb.base/commands.exp: Same.
3520 * gdb.base/default.exp: Same.
3521 * gdb.base/display.exp: Same.
3522 * gdb.base/float.exp: Same.
3523 * gdb.base/foll-fork.exp: Same.
3524 * gdb.base/help.exp: Same.
3525 * gdb.base/info-macros.exp: Same.
3526 * gdb.base/info-proc.exp: Same.
3527 * gdb.base/info-target.exp: Same.
3528 * gdb.base/long_long.exp: Same.
3529 * gdb.base/macscp.exp: Same.
3530 * gdb.base/memattr.exp: Same.
3531 * gdb.base/nofield.exp: Same.
3532 * gdb.base/pointers.exp: Same.
3533 * gdb.base/printcmds.exp: Same.
3534 * gdb.base/ptype.exp: Same.
3535 * gdb.base/restore.exp: Same.
3536 * gdb.base/return.exp: Same.
3537 * gdb.base/scope.exp: Same.
3538 * gdb.base/set-noassign.exp: Same.
3539 * gdb.base/setshow.exp: Same.
3540 * gdb.base/shlib-call.exp: Same.
3541 * gdb.base/signals.exp: Same.
3542 * gdb.base/sigstep.exp: Same.
3543 * gdb.base/skip.exp: Same.
3544 * gdb.base/solib-symbol.exp: Same.
3545 * gdb.base/stap-probe.exp: Same.
3546 * gdb.base/step-line.exp: Same.
3547 * gdb.base/step-test.exp: Same.
3548 * gdb.base/style.exp: Same.
3549 * gdb.base/varargs.exp: Same.
3550 * gdb.base/vla-datatypes.exp: Same.
3551 * gdb.base/vla-ptr.exp: Same.
3552 * gdb.base/vla-sideeffect.exp: Same.
3553 * gdb.base/volatile.exp: Same.
3554 * gdb.base/watch-cond-infcall.exp: Same.
3555 * gdb.base/watchpoint.exp: Same.
3556
e96ec2ba
TV
35572019-11-02 Tom de Vries <tdevries@suse.de>
3558
3559 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
3560 * gdb.cp/cpexprs.exp: Same.
3561 * gdb.cp/except-multi-location.exp: Same.
3562 * gdb.cp/exceptprint.exp: Same.
3563 * gdb.cp/gdb2384.exp: Same.
3564 * gdb.cp/inherit.exp: Same.
3565 * gdb.cp/m-static.exp: Same.
3566 * gdb.cp/meth-typedefs.exp: Same.
3567 * gdb.cp/misc.exp: Same.
3568 * gdb.cp/namespace.exp: Same.
3569 * gdb.cp/non-trivial-retval.exp: Same.
3570 * gdb.cp/overload.exp: Same.
3571 * gdb.cp/pr17132.exp: Same.
3572 * gdb.cp/re-set-overloaded.exp: Same.
3573 * gdb.cp/rvalue-ref-types.exp: Same.
3574 * gdb.cp/templates.exp: Same.
3575
bd5766ec
LM
35762019-11-01 Luis Machado <luis.machado@linaro.org>
3577
3578 PR gdb/25124
3579
3580 * gdb.arch/pr25124.S: New file.
3581 * gdb.arch/pr25124.exp: New file.
3582
165f8965
AB
35832019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3584
3585 * gdb.fortran/info-modules.exp: Update expected results, and add
3586 additional tests for 'info module functinos', and 'info module
3587 variables'.
3588 * gdb.fortran/info-types.exp: Update expected results.
3589 * gdb.fortran/info-types.f90: Extend testcase with additional
3590 module variables and functions.
3591
59c35742
AB
35922019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3593
3594 * gdb.fortran/info-modules.exp: New file.
3595 * gdb.fortran/info-types.exp: Build with new file.
3596 * gdb.fortran/info-types.f90: Include and use new module.
3597 * gdb.fortran/info-types-2.f90: New file.
3598
f3fb2519
PW
35992019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3600
3601 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
3602 * gdb.base/settings.exp: Test all settings types using
3603 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
3604 that now verifies that the value of "maint show" is the same as
3605 returned by the settings functions. Test the type of the
3606 maintenance settings.
3607 * gdb.base/default.exp: Update show_conv_list.
3608
d1e36019
TV
36092019-10-31 Tom de Vries <tdevries@suse.de>
3610
3611 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
3612 gdb_test.
3613 * gdb.arch/amd64-disp-step.exp: Same.
3614 * gdb.asm/asm-source.exp: Same.
3615 * gdb.btrace/buffer-size.exp: Same.
3616 * gdb.btrace/cpu.exp: Same.
3617 * gdb.btrace/enable.exp: Same.
3618 * gdb.dwarf2/count.exp: Same.
3619 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3620 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
3621 * gdb.fortran/vla-datatypes.exp: Same.
3622 * gdb.fortran/vla-history.exp: Same.
3623 * gdb.fortran/vla-ptype.exp: Same.
3624 * gdb.fortran/vla-value.exp: Same.
3625 * gdb.fortran/whatis_type.exp: Same.
3626 * gdb.guile/guile.exp: Same.
3627 * gdb.multi/tids.exp: Same.
3628 * gdb.python/py-finish-breakpoint.exp: Same.
3629 * gdb.python/py-framefilter.exp: Same.
3630 * gdb.python/py-pp-registration.exp: Same.
3631 * gdb.python/py-xmethods.exp: Same.
3632 * gdb.python/python.exp: Same.
3633 * gdb.server/connect-with-no-symbol-file.exp: Same.
3634 * gdb.server/no-thread-db.exp: Same.
3635 * gdb.server/run-without-local-binary.exp: Same.
3636 * gdb.stabs/weird.exp: Same.
3637 * gdb.threads/attach-many-short-lived-threads.exp: Same.
3638 * gdb.threads/thread-find.exp: Same.
3639 * gdb.threads/tls-shared.exp: Same.
3640 * gdb.threads/tls.exp: Same.
3641 * gdb.threads/wp-replication.exp: Same.
3642 * gdb.trace/ax.exp: Same.
3643 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
3644
3d11e68e
TV
36452019-10-31 Tom de Vries <tdevries@suse.de>
3646
3647 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
3648 * gdb.ada/array_subscript_addr.exp: Same.
3649 * gdb.ada/arrayidx.exp: Same.
3650 * gdb.ada/arrayparam.exp: Same.
3651 * gdb.ada/arrayptr.exp: Same.
3652 * gdb.ada/boolean_expr.exp: Same.
3653 * gdb.ada/call_pn.exp: Same.
3654 * gdb.ada/complete.exp: Same.
3655 * gdb.ada/fixed_cmp.exp: Same.
3656 * gdb.ada/fun_addr.exp: Same.
3657 * gdb.ada/funcall_param.exp: Same.
3658 * gdb.ada/interface.exp: Same.
3659 * gdb.ada/mod_from_name.exp: Same.
3660 * gdb.ada/null_array.exp: Same.
3661 * gdb.ada/packed_array.exp: Same.
3662 * gdb.ada/packed_tagged.exp: Same.
3663 * gdb.ada/print_chars.exp: Same.
3664 * gdb.ada/print_pc.exp: Same.
3665 * gdb.ada/ptype_arith_binop.exp: Same.
3666 * gdb.ada/ptype_field.exp: Same.
3667 * gdb.ada/ptype_tagged_param.exp: Same.
3668 * gdb.ada/rec_return.exp: Same.
3669 * gdb.ada/ref_tick_size.exp: Same.
3670 * gdb.ada/str_ref_cmp.exp: Same.
3671 * gdb.ada/taft_type.exp: Same.
3672 * gdb.ada/tagged.exp: Same.
3673 * gdb.ada/type_coercion.exp: Same.
3674 * gdb.ada/uninitialized_vars.exp: Same.
3675
60b6ede8
TV
36762019-10-30 Tom de Vries <tdevries@suse.de>
3677
3678 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
3679
30baf67b
TV
36802019-10-26 Tom de Vries <tdevries@suse.de>
3681
3682 * gdb.base/bigcore.c: Fix typos in comments.
3683 * gdb.base/ctf-ptype.c: Same.
3684 * gdb.base/long_long.c: Same.
3685 * gdb.dwarf2/dw2-op-out-param.S: Same.
3686 * gdb.python/py-evthreads.c: Same.
3687 * gdb.reverse/i387-stack-reverse.c: Same.
3688 * gdb.trace/tfile.c: Same.
3689 * lib/compiler.c: Same.
3690 * lib/compiler.cc: Same.
3691
158da0d1
TV
36922019-10-25 Tom de Vries <tdevries@suse.de>
3693
3694 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
3695 gdb_test_multiple calls.
3696 * gdb.reverse/sigall-reverse.exp: Same.
3697 * gdb.reverse/solib-precsave.exp: Same.
3698 * gdb.reverse/solib-reverse.exp: Same.
3699 * gdb.reverse/until-precsave.exp: Same.
3700 * gdb.reverse/until-reverse.exp: Same.
3701
4ccdfbec
TV
37022019-10-24 Tom de Vries <tdevries@suse.de>
3703
3704 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
3705 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
3706 kfail using -wrap pattern flag and convenience variable
3707 gdb_test_name.
3708
33d569b7
AB
37092019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
3710
3711 * gdb.python/py-progspace.exp: Add tests for the
3712 Progspace.block_for_pc method.
3713
4d0b984b
TT
37142019-10-23 Tom Tromey <tom@tromey.com>
3715
3716 * configure: Rebuild.
3717 * aclocal.m4: Use m4_include, not sinclude.
3718
94cb3754
TV
37192019-10-21 Tom de Vries <tdevries@suse.de>
3720
3721 * gdb.base/infcall-nested-structs.c: Add
3722 __attribute__((noinline,noclone)) to all functions.
3723 (call_all): Add missing variable initialization. Simplify return value.
3724 (breakpt): Increment volatile variable, to prevent call from being
3725 optimized out.
3726 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
3727
062f1fc1
TV
37282019-10-17 Tom de Vries <tdevries@suse.de>
3729
3730 * gdb.fortran/module.exp: Allow info variables to print info for files
3731 other than module.f90.
3732
0b54364d
AB
37332019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3734
3735 * gdb.fortran/module.exp: Extend with 'info variables' test.
3736
7ff5fae7
AB
37372019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3738
3739 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
3740 F77_FOR_TARGET.
3741
d10eccaa
TV
37422019-10-16 Tom de Vries <tdevries@suse.de>
3743
3744 PR tdep/25096
3745 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
3746
745ff14e
TV
37472019-10-16 Tom de Vries <tdevries@suse.de>
3748
3749 PR tdep/24104
3750 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
3751 Add KFAIL for PR tdep/25096.
3752
03e1ab94
TV
37532019-10-16 Tom de Vries <tdevries@suse.de>
3754
3755 PR testsuite/25059
3756 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
3757
b17fcc10
TV
37582019-10-16 Tom de Vries <tdevries@suse.de>
3759
3760 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
3761 as signed.
3762
9223170f
SM
37632019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
3764
3765 * gdb.mi/list-thread-groups-available.exp: Read entries one by
3766 one instead of increasing timeout.
3767
d6e76313
TV
37682019-10-13 Tom de Vries <tdevries@suse.de>
3769
3770 PR record/25038
3771 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
3772 * gdb.reverse/sigall-reverse.exp: Same.
3773 * gdb.reverse/solib-precsave.exp: Same.
3774 * gdb.reverse/solib-reverse.exp: Same.
3775 * gdb.reverse/step-precsave.exp: Same.
3776 * gdb.reverse/until-precsave.exp: Same.
3777 * gdb.reverse/until-reverse.exp: Same.
3778 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
3779
6dfc0041
AA
37802019-10-10 Andreas Arnez <arnez@linux.ibm.com>
3781
3782 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
3783 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
3784 (cmp_struct_05_01, cmp_struct_static_02_01)
3785 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
3786 comparisons.
3787
abcf2cc8
TV
37882019-10-10 Tom de Vries <tdevries@suse.de>
3789
3790 PR testsuite/24888
3791 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
3792 gnatlink.
3793
a50faaf6
TV
37942019-10-09 Tom de Vries <tdevries@suse.de>
3795
3796 PR testsuite/25048
3797 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
3798
60ff3cd7
AB
37992019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3800
3801 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
3802 exceptions due to missing debug information.
3803
dfee8566
TV
38042019-10-07 Tom de Vries <tdevries@suse.de>
3805
3806 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
3807
3d63690a
AB
38082019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3809
3810 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
3811 * gdb.base/annota1.exp: Update to use gdb_test_name.
3812
30d1f018
WP
38132019-10-07 Weimin Pan <weimin.pan@oracle.com>
3814
3815 * gdb.base/ctf-whatis.exp: New file.
3816 * gdb.base/ctf-whatis.c: New file.
3817 * gdb.base/ctf-ptype.exp: New file.
3818 * gdb.base/ctf-ptype.c: New file.
3819 * gdb.base/ctf-constvars.exp: New file.
3820 * gdb.base/ctf-constvars.c: New file.
3821 * gdb.base/ctf-cvexpr.exp: New file.
3822
4dbbb47c
TV
38232019-10-04 Tom de Vries <tdevries@suse.de>
3824
3825 * gdb.cp/local-static.c (main): Move declaration of int i out of the
3826 for loop.
3827
77c2dba3
TT
38282019-10-03 Tom Tromey <tom@tromey.com>
3829
3830 PR rust/24976:
3831 * gdb.rust/simple.rs (Union2): New type.
3832 (main): Use Union2.
3833 * gdb.rust/simple.exp: Add test.
3834
179aed7f
AB
38352019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3836
3837 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
3838 nested function prefix.
3839
0a4b0913
AB
38402019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
3841 Richard Bunt <richard.bunt@arm.com>
3842 Andrew Burgess <andrew.burgess@embecosm.com>
3843
3844 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
3845 nested functions.
3846 * gdb.fortran/nested-funcs.f90: Update expected results.
3847 * gdb.fortran/nested-funcs-2.exp: New file.
3848 * gdb.fortran/nested-funcs-2.f90: New file.
3849
082cce05
AB
38502019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3851
3852 * gdb.python/py-parameter.exp: Make test names unique.
3853 * gdb.python/py-template.exp: Likewise.
3854 * gdb.python/py-value.exp: Likewise.
3855
2b74ba5a
AB
38562019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3857
3858 * gdb.base/break-interp.exp: Reduce test name duplication.
3859 * gdb.base/call-sc.exp: Likewise.
3860 * gdb.base/callfuncs.exp: Likewise.
3861 * gdb.base/charset.exp: Likewise.
3862 * gdb.base/dump.exp: Likewise.
3863 * gdb.base/ena-dis-br.exp: Likewise.
3864 * gdb.base/relational.exp: Likewise.
3865 * gdb.base/step-over-syscall.exp: Likewise.
3866 * gdb.base/structs.exp: Likewise.
3867
58eb20d5
AB
38682019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3869
3870 * gdb.linespec/explicit.exp: Make test names unique.
3871 * gdb.linespec/ls-errs.exp: Likewise.
3872
4d421147
AB
38732019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3874
3875 * gdb.reverse/break-precsave.exp: Make test names unique.
3876 * gdb.reverse/break-reverse.exp: Likewise.
3877 * gdb.reverse/finish-precsave.exp: Likewise.
3878 * gdb.reverse/finish-reverse.exp: Likewise.
3879 * gdb.reverse/machinestate-precsave.exp: Likewise.
3880 * gdb.reverse/machinestate.exp: Likewise.
3881 * gdb.reverse/readv-reverse.exp: Likewise.
3882 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3883 * gdb.reverse/sigall-precsave.exp: Likewise.
3884 * gdb.reverse/sigall-reverse.exp: Likewise.
3885 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
3886 * gdb.reverse/watch-precsave.exp: Likewise.
3887 * gdb.reverse/watch-reverse.exp: Likewise.
3888
d8c06f22
AB
38892019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3890
3891 * gdb.threads/stop-with-handle.c: New file.
3892 * gdb.threads/stop-with-handle.exp: New file.
3893
3a56ed86
TV
38942019-10-03 Tom de Vries <tdevries@suse.de>
3895
3896 PR testsuite/25059
3897 * gdb.base/list-missing-source.exp: Allowing the "Compilation
3898 directory" line to be missing.
3899
42275044
TV
39002019-10-03 Tom de Vries <tdevries@suse.de>
3901
3902 PR testsuite/25059
3903 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
3904 type optional.
3905
9ef62df0
AA
39062019-10-02 Andreas Arnez <arnez@linux.ibm.com>
3907
3908 * gdb.python/py-format-string.c (string.h): New include.
3909 (main): Fill a_struct_with_union.the_union.an_int with bytes of
3910 the same value, for endianness-independence.
3911 * gdb.python/py-format-string.exp (default_regexp_dict)
3912 (test_pretty_structs, test_format): Adjust expected output to the
3913 changed initialization.
3914
37f6a7f4
TT
39152019-10-02 Tom Tromey <tromey@adacore.com>
3916
3917 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
3918
1d58d6a2
PA
39192019-10-02 Pedro Alves <palves@redhat.com>
3920 Andrew Burgess <andrew.burgess@embecosm.com>
3921
3922 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
3923 "print-file-var.h".
3924 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3925 (get_version_1): Print this_version_id and its address.
3926 Add extern "C" wrappers around interface functions.
3927 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
3928 "print-file-var.h".
3929 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3930 (get_version_2): Print this_version_id and its address.
3931 Add extern "C" wrappers around interface functions.
3932 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
3933 <stddef.h> and "print-file-var.h".
3934 Add extern "C" wrappers around interface functions.
3935 [VERSION_ID_MAIN] (this_version_id): Define.
3936 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
3937 * gdb.base/print-file-var.h: Add some #defines to simplify setting
3938 up extern "C" blocks.
3939 * gdb.base/print-file-var.exp (test): New, factored out from top
3940 level.
3941 (top level): Test all combinations of attribute hidden or not,
3942 dlopen or not, and this_version_id symbol in main file or not.
3943 Compile tests as both C++ and C, make test names unique.
3944
d770d56f
TT
39452019-10-01 Tom Tromey <tom@tromey.com>
3946
3947 * gdb.base/style.exp: Test "show logging filename".
3948
7f6aba03
TT
39492019-10-01 Tom Tromey <tom@tromey.com>
3950
3951 * lib/gdb-utils.exp (style): Handle "metadata" argument.
3952 * gdb.base/style.exp: Add metadata style test.
3953
14309bb6
TT
39542019-10-01 Tom Tromey <tom@tromey.com>
3955
3956 * gdb.base/style.exp: Test "pwd".
3957
2a3c1174
PA
39582019-10-01 Tom Tromey <tom@tromey.com>
3959
3960 * gdb.base/style.exp: Update tests.
3961
53d666ec
AA
39622019-10-01 Andreas Arnez <arnez@linux.ibm.com>
3963
3964 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
3965 'six' to unsigned.
3966 (s1): Initialize fields 'four' and 'six' instead of 'three' and
3967 'five'. Use an all-ones bit pattern for each.
3968 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
3969 to its changed values.
3970
4a56a520
TT
39712019-09-30 Tom Tromey <tromey@adacore.com>
3972
3973 * gdb.rust/traits.rs: Disable all warnings.
3974
0df0352a
TV
39752019-09-29 Tom de Vries <tdevries@suse.de>
3976
aac66a4c 3977 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 3978
73d9a918
TV
39792019-09-29 Tom de Vries <tdevries@suse.de>
3980
3981 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
3982
060b3ab4
TV
39832019-09-27 Tom de Vries <tdevries@suse.de>
3984
3985 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
3986
68f7d34d
TV
39872019-09-27 Tom de Vries <tdevries@suse.de>
3988
3989 PR record/23188
3990 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
3991
5d63b30a
TT
39922019-09-26 Tom Tromey <tromey@adacore.com>
3993
3994 * gdb.ada/py_taft.exp: New file.
3995 * gdb.ada/py_taft/main.adb: New file.
3996 * gdb.ada/py_taft/pkg.adb: New file.
3997 * gdb.ada/py_taft/pkg.ads: New file.
3998
3d435220
TV
39992019-09-24 Tom de Vries <tdevries@suse.de>
4000
4001 PR gdb/24598
4002 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
4003
77d03678
TV
40042019-09-22 Tom de Vries <tdevries@suse.de>
4005
4006 * gdb.base/restore.exp: Allow register variables to be optimized out at
4007 -O0.
4008
abf516c6
UW
40092019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
4010
4011 * gdb.arch/spu-info.exp: Remove file.
4012 * gdb.arch/spu-info.c: Remove file.
4013 * gdb.arch/spu-ls.exp: Remove file.
4014 * gdb.arch/spu-ls.c: Remove file.
4015
4016 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
4017 * gdb.asm/spu.inc: Remove file.
4018
4019 * gdb.base/dump.exp: Remove support for spu*-*-*.
4020 * gdb.base/stack-checking.exp: Likewise.
4021 * gdb.base/overlays.exp: Likewise.
4022 * gdb.base/ovlymgr.c: Likewise.
4023 * gdb.base/spu.ld: Remove file.
4024
4025 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
4026 * gdb.cp/cpexprs.exp: Likewise.
4027 * gdb.cp/exception.exp: Likewise.
4028 * gdb.cp/gdb2495.exp: Likewise.
4029 * gdb.cp/mb-templates.exp: Likewise.
4030 * gdb.cp/pr9167.exp: Likewise.
4031 * gdb.cp/userdef.exp: Likewise.
4032
4033 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
4034
4035 * gdb.cell: Remove directory.
4036 * lib/cell.exp: Remove file.
4037
e452e88f
TV
40382019-09-19 Tom de Vries <tdevries@suse.de>
4039
4040 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
4041
8a625130
TV
40422019-09-19 Tom de Vries <tdevries@suse.de>
4043
4044 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
4045
81dc3ab5
TV
40462019-09-19 Tom de Vries <tdevries@suse.de>
4047
4048 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
4049 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
4050 (gdb_target_cmd): ... here.
4051 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
4052 value 2.
4053
b078f3ac
AB
40542019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
4055
4056 * gdb.base/source-dir.exp: Avoid having directory names in test
4057 names.
4058
f1b620e9
MG
40592019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4060
4061 * gdb.base/source-dir.exp: Add extra test for mapped compilation
4062 directory.
4063
67f3ed6a
AB
40642019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4065
4066 * gdb.base/list-missing-source.exp: New file.
4067
d1b70248
TV
40682019-09-14 Tom de Vries <tdevries@suse.de>
4069
4070 PR teststuite/24599
4071 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
4072 * lib/ada.exp (gnatmake_version_at_least): New proc.
4073
5fabdcd6
AB
40742019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4075
4076 * gdb.base/maint.exp: Use exec_has_index_section.
4077
aa17805f
AB
40782019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4079
4080 * gdb.base/maint.exp: Add test for 'maint info sections'.
4081
25e5c209
TV
40822019-09-12 Tom de Vries <tdevries@suse.de>
4083
4084 * gdb.base/store.exp: Allow register variables to be optimized out at
4085 -O0.
4086
4993045d
PW
40872019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4088
4089 * gdb.ada/rdv_wait.exp: Update to new task names.
4090 * gdb.base/task_switch_in_core.exp: Likewise.
4091 * gdb.base/info_sources_base.c: Likewise.
4092
8a516164
TT
40932019-09-10 Tom Tromey <tromey@adacore.com>
4094
4095 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
4096
aa391654
TT
40972019-09-10 Tom Tromey <tromey@adacore.com>
4098
4099 * gdb.ada/dgopt.exp: New file.
4100 * gdb.ada/dgopt/x.adb: New file.
4101
8634b462
TT
41022019-09-08 Tom Tromey <tom@tromey.com>
4103
4104 * gdb.tui/resize.exp: Remove setup_xfail.
4105 * gdb.tui/regs.exp: Remove setup_xfail.
4106 * gdb.tui/basic.exp: Remove setup_xfail.
4107
736b0f76
DB
41082019-09-06 David Blaikie <dblaikie@gmail.com>
4109
4110 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
4111 * gdb.cp/cplabel.exp: Ditto.
4112 * gdb.linespec/ls-errs.exp: Ditto.
4113
30331a6c
TV
41142019-09-05 Tom de Vries <tdevries@suse.de>
4115
4116 * lib/gdb.exp (cmp_file_string): New proc.
4117 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
4118 runto_main. Verify save breakpoints output.
4119
98b0ebab
PW
41202019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4121
4122 * gdb.base/info-var.exp: Test info variables without running
4123 to main, to avoid expect's buffer overflow.
4124
4e962e74
TT
41252019-09-03 Tom Tromey <tromey@adacore.com>
4126
4127 * gdb.ada/bias.exp: New file.
4128 * gdb.ada/bias/bias.adb: New file.
4129 * gdb.ada/print_chars.exp: Add regression test.
4130 * gdb.ada/print_chars/foo.adb (My_Character): New type.
4131 (MC): New variable.
4132
2ea1a07a
SL
41332019-08-29 Sandra Loosemore <sandra@codesourcery.com>
4134
4135 * gdb.base/argv0-symlink.exp: Run only on native target
4136 and local host.
4137
8077c50d
TV
41382019-08-29 Tom de Vries <tdevries@suse.de>
4139
4140 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
4141 diverse debug info.
4142 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
4143
48352473
TV
41442019-08-28 Tom de Vries <tdevries@suse.de>
4145
4146 * gdb.base/info-var.exp: Allow info variables to print info for files
4147 other than info-var-f1.c and info-var-f2.c.
4148
d8f27c60
AB
41492019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4150
4151 * gdb.fortran/info-types.exp: Add module.
4152 * gdb.fortran/info-types.f90: Update expected results.
4153
1f20c35e
AB
41542019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4155
4156 * gdb.fortran/info-types.exp: New file.
4157 * gdb.fortran/info-types.f90: New file.
4158 * lib/fortran.exp (fortran_character1): New proc.
4159
4acfdd20
AB
41602019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
4161
4162 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
4163 functions'. Reindent as needed.
4164 * gdb.base/info-var-f1.c: New file.
4165 * gdb.base/info-var-f2.c: New file.
4166 * gdb.base/info-var.exp: New file.
4167 * gdb.base/info-var.h: New file.
4168
5c31b358
TV
41692019-08-26 Tom de Vries <tdevries@suse.de>
4170
4171 PR c++/24852
4172 * gdb.cp/no-libstdcxx-probe.exp: New test.
4173
b694989f
TV
41742019-08-26 Tom de Vries <tdevries@suse.de>
4175
4176 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
4177 * tests need to be skipped.
4178 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
4179 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
4180 mi_skip_libstdcxx_probe_tests.
4181
d9c4ba53
SDJ
41822019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
4183
4184 * gdb.python/py-xmethods.exp: Use raw strings when passing
4185 arguments to SimpleXMethodMatcher.
4186
395fad09
TV
41872019-08-22 Tom de Vries <tdevries@suse.de>
4188
4189 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
4190 more informative.
4191
26c957f1
PA
41922019-08-21 Pedro Alves <palves@redhat.com>
4193
4194 * gdb.base/with.exp: Test "with" with no arguments.
4195
61f80d5d
TV
41962019-08-21 Tom de Vries <tdevries@suse.de>
4197
4198 * gdb.base/gdb-caching-proc.exp: Sort files.
4199
d7a11d13
TV
42002019-08-20 Tom de Vries <tdevries@suse.de>
4201
4202 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
4203 compilation.
4204
34dafe9f
TV
42052019-08-16 Tom de Vries <tdevries@suse.de>
4206
4207 * gdb.base/compare-sections.exp ("after run to main"): Allow
4208 mismatched read-only sections for PIE executables.
4209
398fdd60
TT
42102019-08-16 Tom Tromey <tom@tromey.com>
4211
4212 * lib/tuiterm.exp (_csi_Z): New proc.
4213 * gdb.tui/basic.exp: Update window positions.
4214 * gdb.tui/empty.exp: Update window positions.
4215
d8f9e51c
SL
42162019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4217
4218 * gdb.base/examine-backward.exp: Correct regexp for
4219 "examine 3 bytes backward from ${address_zero}".
4220
3df505f6
TT
42212019-08-15 Tom Tromey <tom@tromey.com>
4222
4223 * gdb.tui/empty.exp: Enable resizing tests.
4224
272560b5
TT
42252019-08-15 Tom Tromey <tromey@adacore.com>
4226
4227 * gdb.ada/char_enum.exp: Add regression tests.
4228 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
4229 and '0'.
4230 (Char, Gchar): Update.
4231 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
4232
08235187
CB
42332019-08-15 Christian Biesinger <cbiesinger@google.com>
4234
4235 * gdb.python/python.exp: Expect a leading underscore on
4236 GdbOutput{,Error}File.
4237
22a2ab04
SL
42382019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4239
4240 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
4241 Windows host.
4242
835b995b
SL
42432019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4244
4245 * gdb.base/batch-preserve-term-settings.exp
4246 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
4247
97dd8e07
CB
42482019-08-15 Christian Biesinger <cbiesinger@google.com>
4249
4250 * lib/gdb.exp: When running on a mingw target, replace
4251 /x/ with x:/.
4252
75faf5c4
AH
42532019-08-14 Alan Hayward <alan.hayward@arm.com>
4254
4255 * gdb.arch/aarch64-prologue.c: New test.
4256 * gdb.arch/aarch64-prologue.exp: New file.
4257
abc6c00f
TV
42582019-08-13 Tom de Vries <tdevries@suse.de>
4259
4260 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
4261 Thread.
4262
74c2c1f4
SL
42632019-08-13 Sandra Loosemore <sandra@codesourcery.com>
4264
4265 * gdb.python/py-completion.exp: Download the .py file to the host
4266 and use its host pathname. Conditionalize tests that use
4267 tab completion and manipulate files on the build machine.
4268 * gdb.python/py-events.exp: Download the .py file to the host
4269 and use its host pathname.
4270 * gdb.python/py-evsignal.exp: Likewise.
4271 * gdb.python/py-evthreads.exp: Likewise.
4272 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
4273 pathname syntax.
4274 * gdb.python/py-framefilter.exp: Download the .py file to the right
4275 place on the host. Match Windows pathname syntax.
4276 * gdb.python/py-mi-var-info-path-expression.exp: Download the
4277 .py file to the host and use its host pathname.
4278 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
4279 * gdb.python/py-objfile.exp: Expect a host pathname, not a
4280 build pathname. Skip symlink test on Windows host. Add missing
4281 newline at end of file.
4282 * gdb.python/py-pp-maint.exp: Download the .py file to the host
4283 and use its host pathname.
4284 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
4285 * gdb.python/py-section-script.exp: Use host location of binfile
4286 on safe-path. Use correct path separator on Windows host.
4287 Reorder alternatives in gdb_test_multiple to prevent matching
4288 the wrong alternative on success.
4289 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
4290
ca2589f3
PP
42912019-08-12 Patrick Palka <patrick@parcs.ath.cx>
4292
4293 * gdb.gdb/selftest.exp (test_with_self): Update test to now
4294 expect the GDB inferior to no longer immediately stop after
4295 being resumed with "signal SIGINT".
4296
020a839d
SL
42972019-08-09 Sandra Loosemore <sandra@codesourcery.com>
4298
4299 * gdb.linespec/break-ask.exp: Generalize regexps to match
4300 Windows pathnames too.
4301
128d6509
TV
43022019-08-08 Tom de Vries <tdevries@suse.de>
4303
4304 PR testsuite/24862
4305 * lib/tuiterm.exp (_accept): Fix CSI regexp.
4306
590042fc
PW
43072019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4308
4309 * gdb.base/style.exp: Update tests for help doc new invariants.
4310 * gdb.base/help.exp: Likewise.
4311
046bebe1
TT
43122019-08-06 Tom Tromey <tom@tromey.com>
4313
4314 * gdb.base/style.exp: Add disassemble test.
4315 * gdb.base/style.c (some_called_function): New function.
4316 (main): Use it.
4317
0b27c27d
CB
43182019-08-05 Christian Biesinger <cbiesinger@google.com>
4319
4320 * gdb.python/py-block.exp: Test dictionary access on blocks.
4321
580f1034
SM
43222019-08-05 Simon Marchi <simon.marchi@efficios.com>
4323
4324 PR gdb/24863
4325 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
4326 -list-thread-groups --available test when running under
4327 check-read1.
4328
d86bd7cb
TV
43292019-08-05 Tom de Vries <tdevries@suse.de>
4330
4331 PR testsuite/24863
4332 * lib/gdb.exp (with_read1_timeout_factor): New proc.
4333 * gdb.base/help.exp: Use with_read1_timeout_factor.
4334 * gdb.base/info-macros.exp: Same.
4335 * gdb.cp/nested-types.exp: Same.
4336
a80cf5d8
TV
43372019-08-05 Tom de Vries <tdevries@suse.de>
4338
4339 * lib/gdb.exp (version_at_least): Factor out of ...
4340 (tcl_version_at_least): ... here.
4341 (gdb_compile): Fail if pie results in non-PIE executable.
4342 (readelf_version, readelf_prints_pie): New proc.
4343 (exec_is_pie): Return -1 if unknown.
4344
d0962838
TV
43452019-08-05 Tom de Vries <tdevries@suse.de>
4346
4347 * lib/gdb.exp (tcl_version_at_least): Fix typo.
4348
2252ff3d
SL
43492019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4350
4351 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
4352
26655f53
SL
43532019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4354
4355 * lib/completion-support.exp (test_gdb_complete_none): Skip
4356 tab completion tests if no readline support.
4357 (test_gdb_complete_unique_re): Likewise.
4358 (test_gdb_complete_multiple): Likewise.
4359
db4dc13e
PW
43602019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4361
4362 * gdb.base/info_sources.exp: New file.
4363 * gdb.base/info_sources.c: New file.
4364 * gdb.base/info_sources_base.c: New file.
4365
0eba165a
PFC
43662019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4367
4368 * gdb.base/batch-exit-status.exp: Call test_exit_status with
4369 prefix argument.
4370 (test_exit_status): Add prefix argument.
4371
59bd512b
TV
43722019-08-01 Tom de Vries <tdevries@suse.de>
4373
4374 PR testsuite/24863
4375 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
4376 calling exp_continue for new thread and thread exited messages.
4377
2a3ad588
TV
43782019-08-01 Tom de Vries <tdevries@suse.de>
4379
4380 PR testsuite/24863
4381 * gdb.base/structs.exp: Fix check-read1 timeout using
4382 gdb_test_sequence.
4383 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
4384
117eb594
TV
43852019-08-01 Tom de Vries <tdevries@suse.de>
4386
4387 PR testsuite/24863
4388 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
4389 line.
4390
ed591340
TV
43912019-08-01 Tom de Vries <tdevries@suse.de>
4392
4393 PR testsuite/24863
4394 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
4395
aa3b6533
TT
43962019-07-30 Tom Tromey <tromey@adacore.com>
4397
4398 * gdb.ada/display_nested.exp: New file.
4399 * gdb.ada/display_nested/foo.adb: New file.
4400 * gdb.ada/display_nested/pack.adb: New file.
4401 * gdb.ada/display_nested/pack.ads: New file.
4402
2906593f
CB
44032019-07-30 Christian Biesinger <cbiesinger@google.com>
4404
4405 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
4406 namespace.
4407 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
4408
0f575925
TV
44092019-07-30 Tom de Vries <tdevries@suse.de>
4410
4411 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
4412 instead.
4413
b13057d9
TV
44142019-07-30 Tom de Vries <tdevries@suse.de>
4415
4416 PR testsuite/24834
4417 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
4418 (exec_is_pie): New proc.
4419
5c4dde85
CB
44202019-07-29 Christian Biesinger <cbiesinger@google.com>
4421
4422 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
4423
c620ed88
CB
44242019-07-29 Christian Biesinger <cbiesinger@google.com>
4425
4426 * gdb.python/py-objfile.c: Add global and static vars.
4427 * gdb.python/py-objfile.exp: Test new functions Objfile.
4428 lookup_global_symbol and lookup_static_symbol.
4429
3d235706
TT
44302019-07-29 Tom Tromey <tom@tromey.com>
4431
4432 * lib/tuiterm.exp (Term::_csi_@): New proc.
4433 (Term::_csi_X): Don't move cursor.
4434
c7e4c0a6
PW
44352019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4436
4437 * gdb.base/options.exp: Update backtrace - completion to
4438 new option -frame-info.
4439 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
4440 Test new 'set print frame-info'. Test backtrace -frame-info
4441 overriding 'set print frame-info'.
4442 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
4443 Test new 'set print frame-info'.
4444 Verify consistency of backtrace with and without filters, with and
4445 without -no-filters.
4446 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
4447 default.
4448
de28a3b7
TV
44492019-07-29 Tom de Vries <tdevries@suse.de>
4450
4451 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
4452 no arguments".
4453
507dd60e
TV
44542019-07-29 Tom de Vries <tdevries@suse.de>
4455
4456 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
4457 is a substring of the first for "complete non-unique file name".
4458
5beafce9
TV
44592019-07-29 Tom de Vries <tdevries@suse.de>
4460
4461 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
4462 with ".*".
4463
2d274232
TV
44642019-07-29 Tom de Vries <tdevries@suse.de>
4465
4466 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
4467 Pass prompt_regexp parameter to gdb_test_multiple calls.
4468
9197cd8b
TV
44692019-07-29 Tom de Vries <tdevries@suse.de>
4470
4471 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 4472 print registers" regexps.
9197cd8b 4473
b528dae0
TV
44742019-07-29 Tom de Vries <tdevries@suse.de>
4475
4476 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
4477
d17725d7
TV
44782019-07-29 Tom de Vries <tdevries@suse.de>
4479
4480 PR gdb/24855
4481 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
4482 (skip_python_tests_prompt): Add prompt_regexp argument to
4483 gdb_test_multiple calls.
4484
52b75bf1
TT
44852019-07-27 Tom Tromey <tom@tromey.com>
4486
4487 * gdb.tui/main.exp: New file.
4488
2b1d00c2
TT
44892019-07-27 Tom Tromey <tom@tromey.com>
4490
4491 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
4492 optional.
4493 * gdb.tui/empty.exp: New file.
4494
ded631d5
TT
44952019-07-27 Tom Tromey <tom@tromey.com>
4496
4497 * lib/tuiterm.exp (spawn): New proc.
4498 (Term::resize): New proc.
4499 * gdb.tui/resize.exp: New file.
4500
58ac439d
TT
45012019-07-27 Tom Tromey <tom@tromey.com>
4502
4503 * gdb.tui/list.exp: New file.
4504
fe1f56ee
TT
45052019-07-27 Tom Tromey <tom@tromey.com>
4506
4507 * gdb.tui/regs.exp: New file.
4508
f790b310
TT
45092019-07-27 Tom Tromey <tom@tromey.com>
4510
4511 * gdb.tui/basic.exp: Add "layout split" test.
4512
d95fc6ee
TT
45132019-07-27 Tom Tromey <tom@tromey.com>
4514
4515 * gdb.tui/basic.exp: Add "layout asm" test.
4516
c3786b3a
TT
45172019-07-27 Tom Tromey <tom@tromey.com>
4518
4519 * lib/tuiterm.exp: New file.
4520 * gdb.tui/basic.exp: New file.
4521
98a617f8
KB
45222019-07-27 Kevin Buettner <kevinb@redhat.com>
4523
4524 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
4525 Enable tests associated with this flag. Adjust regex
4526 referencing "foo_low" to now refer to "foo_cold" instead.
4527
5c076da4
KB
45282019-07-27 Kevin Buettner <kevinb@redhat.com>
4529
4530 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
4531 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
4532 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
4533 foo_cold. Revise comments to match.
4534 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
4535 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
4536 were wrapped into this proc; Call do_test in loop from outermost
4537 level.
4538 (foo_low): Rename all occurrences to "foo_cold".
4539 (backtrace from baz): New test.
4540 (x2/i foo_cold): New test.
4541 (info line *foo_cold): New test.
4542
1512d3b7
TV
45432019-07-26 Tom de Vries <tdevries@suse.de>
4544
4545 * gdb.arch/i386-pkru.exp: Fix unterminated string.
4546
297989a1
TV
45472019-07-25 Tom de Vries <tdevries@suse.de>
4548
4549 PR testsuite/24830
4550 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
4551 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
4552 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
4553 (skip_libstdcxx_probe_tests): ... here.
4554 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
4555
b3b965fb
TV
45562019-07-24 Tom de Vries <tdevries@suse.de>
4557
4558 PR testsuite/24807
4559 * gdb.objc/basicclass.m: Include stdio.h.
4560 * gdb.objc/nondebug.m: Same.
4561 * gdb.objc/objcdecode.m: Same.
4562
4625b4d0
TV
45632019-07-24 Tom de Vries <tdevries@suse.de>
4564
4565 PR testsuite/24612
4566 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
4567 additional_flags.
4568
024a5840
TV
45692019-07-24 Tom de Vries <tdevries@suse.de>
4570
4571 PR testsuite/24831
4572 * gdb.multi/tids.exp: Update error messages for info threads.
4573
c76ddaa3
TV
45742019-07-24 Tom de Vries <tdevries@suse.de>
4575
4576 * gdb.base/info-types.exp: Allow info types to print info for more than
4577 one file.
4578
9a618ef6
TV
45792019-07-23 Tom de Vries <tdevries@suse.de>
4580
4581 PR testsuite/24842
4582 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
4583 gdb_spawn_with_cmdline_opts.
4584
40eadf04
SP
45852019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
4586
4587 * gdb.arch/arm-cmse-sgstubs.c: New test.
4588 * gdb.arch/arm-cmse-sgstubs.exp: New file.
4589
5ba29434
TV
45902019-07-23 Tom de Vries <tdevries@suse.de>
4591
4592 PR testsuite/24711
4593 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
4594 issuing next command.
4595
a8e9d247
AB
45962019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4597
4598 * gdb.ada/info_auto_lang.exp: Update expected results.
4599 * gdb.base/info-types.c: Add additional types to check.
4600 * gdb.base/info-types.exp: Update expected results.
4601
eb86c5e2
AB
46022019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4603
4604 * gdb.base/info-types.c: New file.
4605 * gdb.base/info-types.exp: New file.
4606
01e175fe
AB
46072019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
4608
4609 * gdb.arch/riscv-bp-infcall.c: New file.
4610 * gdb.arch/riscv-bp-infcall.exp: New file.
4611
6b78c3f8
AB
46122019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
4613
4614 PR breakpoints/24541
4615 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
4616
da738167
TV
46172019-07-14 Tom de Vries <tdevries@suse.de>
4618
4619 PR testsuite/24760
4620 * gdb.objc/basicclass.exp: Fix unterminated string.
4621
0d4e84ed
AB
46222019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
4623 Andrew Burgess <andrew.burgess@embecosm.com>
4624
4625 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
4626 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
4627 negative bounds.
4628 * gdb.fortran/vla-value.exp: Print elements of an array with
4629 negative bounds.
4630 * gdb.fortran/vla.f90: Setup an array with negative bounds for
4631 testing.
4632
021d8588
AB
46332019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
4634
4635 * gdb.base/options.exp (expect_string): Dequote strings in
4636 results.
4637 (test-string): Test strings with different quoting and reindent.
4638
f06f1252
TT
46392019-07-10 Tom Tromey <tromey@adacore.com>
4640
4641 * gdb.ada/mi_ex_cond.exp: Update expected results.
4642 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
4643 * gdb.ada/mi_catch_ex.exp: Update expected results.
4644 * gdb.ada/mi_catch_assert.exp: Update expected results.
4645 * gdb.ada/catch_ex.exp (catch_exception_info)
4646 (catch_exception_entry, catch_assert_entry)
4647 (catch_unhandled_entry): Update.
4648 * gdb.ada/catch_assert_if.exp: Update expected results.
4649
b863685d
RB
46502019-07-10 Richard Bunt <richard.bunt@arm.com>
4651 Stephen Roberts <stephen.roberts@arm.com>
4652
4653 * gdb.base/define.exp: Restore original prompt.
4654
cb1e4e32
PA
46552019-07-09 Pedro Alves <palves@redhat.com>
4656
4657 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
4658 breakpoints" output.
4659 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
4660 * gdb.python/py-breakpoint.exp: No longer expect that "catch
4661 throw" creates breakpoint.
4662 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
4663 'type="catchpoint"'.
4664
b58a68fe
PA
46652019-07-09 Pedro Alves <palves@redhat.com>
4666
4667 PR c++/15468
4668 * gdb.cp/except-multi-location-lib.cc: New.
4669 * gdb.cp/except-multi-location-main.cc: New.
4670 * gdb.cp/except-multi-location.exp: New.
4671
0826779b
PW
46722019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
4673
4674 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
4675 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
4676 argument and update callers.
4677
5b0e2db4
AB
46782019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4679
4680 * gdb.arch/amd64-break-on-asm-line.S: New file.
4681 * gdb.arch/amd64-break-on-asm-line.exp: New file.
4682
1f6f6e21
PW
46832019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4684
4685 * gdb.base/printcmds.exp: Test printing C string and
4686 C wide string convenience vars without transiting via the inferior.
4687 Also make test names unique.
4688
ea142fbf
AH
46892019-07-08 Alan Hayward <alan.hayward@arm.com>
4690
5862c886 4691 PR breakpoints/25011
ea142fbf
AH
4692 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
4693
213fd9fa
PA
46942019-07-04 Pedro Alves <palves@redhat.com>
4695
4696 * lib/gdb.exp (foreach_with_prefix): Don't return early if
4697 body returned ok(0), break(3) or continue(4).
4698 * gdb.testsuite/foreach_with_prefix.exp: New file.
4699
2b40fda7
AH
47002019-07-04 Alan Hayward <alan.hayward@arm.com>
4701
4702 * gdb.server/unittest.exp: Allow 0 unit tests to run.
4703
a26c8de0
PA
47042019-07-03 Pedro Alves <palves@redhat.com>
4705
4706 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
4707 "return -code".
4708
5f4ba3e7
PA
47092019-07-03 Pedro Alves <palves@redhat.com>
4710
4711 PR cli/24732
4712 * gdb.base/shell.exp: Load completion-support.exp.
4713 Adjust expected error output. Add completion tests.
4714
a994424f
PA
47152019-07-03 Pedro Alves <palves@redhat.com>
4716
4717 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
4718 string_to_regexp.
4719
3d9be6f5
PA
47202019-07-03 Pedro Alves <palves@redhat.com>
4721
4722 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
4723 (expect_integer): Adjust to expect "-string".
4724 (expect_string): New.
4725 (all_options): Expect "-string".
4726 (test-flag, test-boolean): Adjust to expect "-string".
4727 (test-string): New proc.
4728 (top level): Call it.
4729
41fc454c
PA
47302019-07-03 Pedro Alves <palves@redhat.com>
4731
4732 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
4733 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
4734 the expected output in the success.
4735
b2b2a215
PA
47362019-07-03 Pedro Alves <palves@redhat.com>
4737
4738 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4739 Split one gdb_test_multiple call in two to avoid a race.
4740
fdbc9870
PA
47412019-07-03 Pedro Alves <palves@redhat.com>
4742
4743 * gdb.base/with.c: New file.
4744 * gdb.base/with.exp: New file.
4745
c6ac8931
PA
47462019-07-03 Pedro Alves <palves@redhat.com>
4747
4748 * gdb.base/settings.exp: Replace all references to "maint
4749 test-settings set" with references to "maint set test-settings",
4750 and all references to "maint test-settings show" with references
4751 to "maint show test-settings".
4752
970f9d09
PA
47532019-07-03 Pedro Alves <palves@redhat.com>
4754
4755 * gdb.base/settings.exp (test-string): Adjust expected out when
4756 testing "maint test-settings show filename"
4757
54d66006
PA
47582019-07-02 Pedro Alves <palves@redhat.com>
4759
4760 * gdb.base/options.exp (test-info-threads): New procedure.
4761 (top level): Call it.
4762
10d06d82
TT
47632019-06-28 Tom Tromey <tromey@adacore.com>
4764
4765 * gdb.dwarf2/ada-linkage-name.c: New file.
4766 * gdb.dwarf2/ada-linkage-name.exp: New file.
4767
3d507ff2
TT
47682019-06-27 Tom Tromey <tromey@adacore.com>
4769
d039f014 4770 PR c++/20020:
3d507ff2
TT
4771 * gdb.cp/constexpr-field.exp: Use setup_xfail.
4772
8af58ffe
TV
47732019-06-26 Tom de Vries <tdevries@suse.de>
4774
4775 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
4776
22e21752
TV
47772019-06-26 Tom de Vries <tdevries@suse.de>
4778
4779 * gdb.base/index-cache.exp: Add back missing debug option.
4780
b65b566c
PW
47812019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4782
4783 * gdb.base/alias.exp: Test non matching/non existing prefixes.
4784
5c2c8c69
TV
47852019-06-25 Tom de Vries <tdevries@suse.de>
4786
4787 PR testsuite/24727
4788 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
4789
164e3873
TV
47902019-06-24 Tom de Vries <tdevries@suse.de>
4791
4792 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
4793
824eacee
TV
47942019-06-24 Tom de Vries <tdevries@suse.de>
4795
4796 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
4797 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
4798 * gdb.trace/unavailable-dwarf-piece.exp: Same.
4799
385b97d3
TV
48002019-06-24 Tom de Vries <tdevries@suse.de>
4801
4802 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
4803
c596f180
TV
48042019-06-21 Tom de Vries <tdevries@suse.de>
4805
4806 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
4807
b13a7d03
TV
48082019-06-21 Tom de Vries <tdevries@suse.de>
4809
4810 PR testsuite/24518
4811 PR ada/24713
4812 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
4813 index.
4814
899277ae
TT
48152019-06-19 Tom Tromey <tromey@adacore.com>
4816
4817 * gdb.ada/length_cond.exp: Add intro comment.
4818
680e1bee
TT
48192019-06-19 Tom Tromey <tromey@adacore.com>
4820
4821 * gdb.ada/length_cond.exp: New file.
4822 * gdb.ada/length_cond/length_cond.adb: New file.
4823 * gdb.ada/length_cond/pck.adb: New file.
4824 * gdb.ada/length_cond/pck.ads: New file.
4825
0ed4690a
TV
48262019-06-18 Tom de Vries <tdevries@suse.de>
4827
4828 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
4829
d20ed5fd
TT
48302019-06-18 Tom Tromey <tromey@adacore.com>
4831
4832 * gdb.base/list0.h: Add comment explaining control character.
4833
86e04673
TV
48342019-06-18 Tom de Vries <tdevries@suse.de>
4835
4836 * boards/fission.exp: Break up long debug_flags line.
4837
c4973306
SM
48382019-06-16 Tom de Vries <tdevries@suse.de>
4839
4840 PR gdb/24445
4841 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
4842 generated index.
4843
93cb9841
AB
48442019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4845
4846 PR gdb/24686
4847 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
4848 improve detection of bug gdb/24541.
4849
399aaebd
SM
48502019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
4851
4852 PR gdb/24669
4853 * gdb.base/index-cache.exp (uses_readnow,
4854 expecting_index_cache_use): Define global variable.
4855 (test_cache_enabled_miss, test_cache_enabled_hit): Use
4856 expecting_index_cache_use.
4857
584a927c
AB
48582019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
4859 Andrew Burgess <andrew.burgess@embecosm.com>
4860
4861 * gdb.fortran/pointers.f90: New file.
4862 * gdb.fortran/print_type.exp: New file.
4863 * gdb.fortran/vla-ptype.exp: Adapt expected results.
4864 * gdb.fortran/vla-type.exp: Likewise.
4865 * gdb.fortran/vla-value.exp: Likewise.
4866 * gdb.mi/mi-vla-fortran.exp: Likewise.
4867
30056ea0
AB
48682019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4869
4870 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
4871 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
4872 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
4873 as a stop reason.
4874
ec8e2b6d
AB
48752019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4876
4877 * gdb.base/annota1.exp: Update expected results.
4878 * gdb.cp/annota2.exp: Likewise.
4879 * gdb.cp/annota3.exp: Likewise.
4880
09e4c4e1
AB
48812019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4882
4883 * gdb.base/style-logging.exp: Remove path from test name.
4884
0735b091
TT
48852019-06-14 Tom Tromey <tromey@adacore.com>
4886
4887 PR gdb/24502:
4888 * gdb.base/style-logging.exp: New file.
4889
f5686554
TT
48902019-06-14 Tom Tromey <tromey@adacore.com>
4891
4892 * gdb.base/symfile-warn.exp: New file.
4893 * gdb.base/symfile-warn.c: New file.
4894
a0c1ffed
TT
48952019-06-14 Tom Tromey <tromey@adacore.com>
4896
4897 * gdb.base/annotate-symlink.exp: New file.
4898
f411722c
TT
48992019-06-14 Tom Tromey <tromey@adacore.com>
4900
4901 * gdb.ada/set_wstr.exp: Add reassignment test.
4902
4268ec18
TT
49032019-06-14 Tom Tromey <tromey@adacore.com>
4904
4905 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
4906 'unchecked_access and 'unrestricted_access as well.
4907
9a9e394b
TT
49082019-06-14 Tom Tromey <tromey@adacore.com>
4909
4910 PR ada/24539:
4911 * gdb.ada/vla.exp: Update tests.
4912 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
4913 pragma.
4914
4c048731
PA
49152019-06-13 Pedro Alves <palves@redhat.com>
4916
4917 * gdb.base/settings.exp (test-integer): Test junk after
4918 "unlimited".
4919
6665660a
PA
49202019-06-13 Pedro Alves <palves@redhat.com>
4921
4922 * gdb.base/options.exp (test-thread-apply): New.
4923 (top level): Call it.
4924
5d707134
PA
49252019-06-13 Pedro Alves <palves@redhat.com>
4926
4927 * gdb.base/options.exp (test-frame-apply): New.
4928 (top level): Test print commands with different "frame apply"
4929 prefixes.
4930
e2a689da
PA
49312019-06-13 Pedro Alves <palves@redhat.com>
4932
e79be6e5 4933 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
4934 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
4935 'max_completions' parameter and handle it.
4936 (test_gdb_completion_offers_commands): New.
4937
90a1ef87
PA
49382019-06-13 Pedro Alves <palves@redhat.com>
4939
4940 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
4941
d4c16835
PA
49422019-06-13 Pedro Alves <palves@redhat.com>
4943
4944 * gdb.base/options.exp (test-backtrace): New.
4945 (top level): Call it.
4946
2daf894e
PA
49472019-06-13 Pedro Alves <palves@redhat.com>
4948
4949 * gdb.guile/scm-frame-args.exp: Use "set print
4950 raw-frame-arguments" instead of "set print raw frame-arguments".
4951 * gdb.python/py-frame-args.exp: Likewise.
4952
e6ed716c
PA
49532019-06-13 Pedro Alves <palves@redhat.com>
4954
4955 * gdb.compile/compile.exp: Adjust expected output to option
4956 processing changes.
4957
7d8062de
PA
49582019-06-13 Pedro Alves <palves@redhat.com>
4959
4960 * gdb.base/options.exp: Build executable.
4961 (test-print): New procedure.
4962 (top level): Call it, once for "print" and another for "compile
4963 print".
4964
9d0faba9
PA
49652019-06-13 Pedro Alves <palves@redhat.com>
4966
4967 * gdb.base/options.c: New file.
4968 * gdb.base/options.exp: New file.
4969
dee7b4c8
PA
49702019-06-13 Pedro Alves <palves@redhat.com>
4971
4972 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
4973 that "o" is ambiguous.
4974
dca0f6c0
PA
49752019-06-13 Pedro Alves <palves@redhat.com>
4976
4977 * gdb.base/settings.c: New file.
4978 * gdb.base/settings.exp: New file.
4979
ccf46844
PA
49802019-06-13 Pedro Alves <palves@redhat.com>
4981
4982 * gdb.base/completion.exp: Fix comment typo.
4983
b9a3f842
PA
49842019-06-13 Pedro Alves <palves@redhat.com>
4985
4986 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
4987 foo --1" test.
4988
d106773e
PA
49892019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
4990
4991 * gdb.fortran/block-data.f: New.
4992 * gdb.fortran/block-data.exp: New.
4993
fea82da0
TV
49942019-06-11 Tom de Vries <tdevries@suse.de>
4995
4996 PR testsuite/24521
4997 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
4998 message.
4999
8c2e74f1
TV
50002019-06-11 Tom de Vries <tdevries@suse.de>
5001
5002 PR testsuite/24521
5003 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
5004
b49851c8
TV
50052019-06-11 Tom de Vries <tdevries@suse.de>
5006
5007 * boards/readnow.exp: New file.
5008
a7067863
AB
50092019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
5010
5011 * gdb.fortran/vla-sizeof.exp: Update expected results.
5012
1a3da2cd
AB
50132019-06-06 Amos Bird <amosbird@gmail.com>
5014
5015 * gdb.base/annota1.exp (thread_switch): Add test for
5016 thread-exited annotation.
5017
3847a7bf
TT
50182019-06-06 Tom Tromey <tromey@adacore.com>
5019
5020 * gdb.base/maint.exp: Expect command started/finished output.
5021
0088ba59
AB
50222019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5023
5024 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
5025 comment.
5026 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
5027
312617a3
AB
50282019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5029
5030 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
5031 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
5032 * gdb.arch/riscv-unwind-long-insn.c: New file.
5033 * gdb.arch/riscv-unwind-long-insn.exp: New file.
5034
e1f2e1a2
CB
50352019-06-04 Christian Biesinger <cbiesinger@google.com>
5036
d3238f7d 5037 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 5038
206584bd
PW
50392019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5040
5041 * lib/gdb.exp (help_list_trailer): New regexp variable
5042 factorizing the help trailer message.
5043 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
5044 arg to allow to better factorize various tests.
5045 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
5046 (test_prefix_command_help): Use help_list_trailer.
5047 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
5048 * gdb.guile/scm-cmd.exp: Likewise.
5049 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
5050 * gdb.base/help.exp: Use test_user_defined_class_help.
5051 * gdb.base/style.exp: Add tests for styling of help and apropos.
5052 * lib/gdb-utils.exp (style): Add title and highlight styles.
5053
708dc93e
PW
50542019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5055
5056 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
5057 $_shell_exitsignal.
5058 * gdb.base/default.exp: Update for new convenience variables.
5059
f49055a5
TT
50602019-05-29 Tom Tromey <tromey@adacore.com>
5061
5062 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
5063 to "break complete ada" test case's regexp.
5064
4330d61d
TT
50652019-05-29 Tom Tromey <tromey@adacore.com>
5066
5067 PR c++/20020:
5068 * gdb.cp/constexpr-field.exp: New file.
5069 * gdb.cp/constexpr-field.cc: New file.
5070
000439d5
TT
50712019-05-29 Tom Tromey <tromey@adacore.com>
5072
5073 * gdb.base/finish.exp (finish_no_print): New proc.
5074 (finish_tests): Call it.
5075
5a01c34c
TV
50762019-05-24 Tom de Vries <tdevries@suse.de>
5077
5078 * gdb.dwarf2/gdb-add-index.exp: New file.
5079
18125b16
TT
50802019-05-22 Tom Tromey <tromey@adacore.com>
5081
5082 * gdb.base/info-shared.exp (check_info_shared): Use "style".
5083 * gdb.base/style.exp: Use "style".
5084 * lib/gdb-utils.exp (style): New proc.
5085
af1a8d03
TV
50862019-05-22 Tom de Vries <tdevries@suse.de>
5087
5088 * gdb.base/align.exp: Require c++11.
5089
e7fe496b
TV
50902019-05-22 Tom de Vries <tdevries@suse.de>
5091
5092 PR testsuite/24586
5093 * gdb.python/py-mi-var-info-path-expression.exp: Call
5094 mi_skip_python_tests to check if python is supported.
5095
8fca4da0
AH
50962019-05-22 Alan Hayward <alan.hayward@arm.com>
5097
5098 * gdb.arch/aarch64-pauth.c: New test.
5099 * gdb.arch/aarch64-pauth.exp: New file.
5100
b7060614
AH
51012019-05-22 Alan Hayward <alan.hayward@arm.com>
5102
5103 * README (Re-running Tests Outside The Testsuite): New section.
5104
669d0468
TV
51052019-05-21 Tom de Vries <tdevries@suse.de>
5106
5107 * gdb.arch/amd64-eval.exp: Require c++11.
5108 * gdb.base/max-depth.exp: Same.
5109 * gdb.compile/compile-cplus-array-decay.exp: Same.
5110 * gdb.cp/meth-typedefs.exp: Same.
5111 * gdb.cp/subtypes.exp: Same.
5112 * gdb.cp/temargs.exp: Same.
5113
ce3ebcaa
AH
51142019-05-21 Alan Hayward <alan.hayward@arm.com>
5115
5116 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
5117
34d11c68
AB
51182019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
5119
5120 PR gdb/18644
5121 * gdb.fortran/complex.exp: Remove setup_kfail calls.
5122 * gdb.fortran/printing-types.exp: Add new test.
5123 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
5124 testing.
5125 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
5126 setup_kfail call.
5127
87781e84
AH
51282019-05-17 Alan Hayward <alan.hayward@arm.com>
5129
5130 * README (Running the Testsuite): Change example.
5131 (Testsuite Parameters): Remove TRANSCRIPT.
5132 * lib/gdb.exp: Remove TRANSCRIPT check.
5133
b420b89e
AH
51342019-05-17 Alan Hayward <alan.hayward@arm.com>
5135
5136 * README (Testsuite Parameters): Add replay logging to
5137 GDBSERVER_DEBUG.
5138 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
5139 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
5140 as a comma separated list.
5141 (gdb_debug_init): Override procedure.
5142
408e9b8b
AH
51432019-05-17 Alan Hayward <alan.hayward@arm.com>
5144
5145 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
5146 (gdb_write_cmd_file): New procedure.
5147 * lib/gdbserver-support.exp (gdbserver_start): Call
5148 gdbserver_write_cmd_file.
5149 (gdbserver_write_cmd_file): New procedure.
5150
f9e2e39d
AH
51512019-05-17 Alan Hayward <alan.hayward@arm.com>
5152
5153 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
5154 (delete_breakpoints): Likewise.
5155 (gdb_run_cmd): Likewise.
5156 (gdb_start_cmd): Likewise.
5157 (gdb_starti_cmd): Likewise.
5158 (gdb_internal_error_resync): Likewise.
5159 (gdb_test_multiple): Likewise.
5160 (gdb_reinitialize_dir): Likewise.
5161 (default_gdb_exit): Likewise.
5162 (gdb_file_cmd): Mark kill as optional.
5163 (default_gdb_start): Call gdb_stdin_log_init.
5164 (send_gdb): Call gdb_stdin_log_write.
5165 (rerun_to_main): Mark Y as an answer.
5166 (gdb_stdin_log_init): New function.
5167 (gdb_stdin_log_write): Likewise.
5168
81f47ac2
AH
51692019-05-17 Alan Hayward <alan.hayward@arm.com>
5170
5171 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
5172 * gdb.base/debug-expr.exp: Likewise.
5173 * gdb.base/foll-fork.exp: Likewise.
5174 * gdb.base/foll-vfork.exp: Likewise.
5175 * gdb.base/fork-print-inferior-events.exp: Likewise.
5176 * gdb.base/gdb-sigterm.exp: Likewise.
5177 * gdb.base/gdbinit-history.exp: Likewise.
5178 * gdb.base/osabi.exp: Likewise.
5179 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5180 * gdb.base/ui-redirect.exp: Likewise.
5181 * gdb.gdb/unittest.exp: Likewise.
5182 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
5183 * gdb.mi/mi-watch.exp: Likewise.
5184 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5185 * gdb.mi/user-selected-context-sync.exp: Likewise.
5186 * gdb.python/python.exp: Disable debug test when debugging.
5187 * gdb.threads/check-libthread-db.exp: Disable when debugging.
5188 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5189 Likewise.
5190 * gdb.threads/stepi-random-signal.exp: Likewise.
5191
29b52314
AH
51922019-05-17 Alan Hayward <alan.hayward@arm.com>
5193
5194 * Makefile.in: Pass through GDB_DEBUG.
5195 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5196 (gdb,debug): Add board setting.
5197 * lib/gdb.exp (default_gdb_start): Start debugging.
5198 (gdb_debug_enabled): New procedure.
5199 (gdb_debug_init): Likewise.
29b52314
AH
5200
52012019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 5202
29b52314
AH
5203 * Makefile.in: Pass through GDB_DEBUG.
5204 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5205 (gdb,debug): Add board setting.
5206 * lib/gdb.exp (default_gdb_start): Start debugging.
5207 (gdb_debug_enabled): New procedure.
5208 (gdb_debug_init): Likewise.
29b52314 5209
ca1285d1
AH
52102019-05-17 Alan Hayward <alan.hayward@arm.com>
5211
5212 * gdb.base/ui-redirect.exp: Add debug redirect tests.
5213
f3a09c80
AH
52142019-05-17 Alan Hayward <alan.hayward@arm.com>
5215
5216 * gdb.base/ui-redirect.exp: Test redirection.
5217
26648588
JV
52182019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
5219
5220 * gdb.mi/mi-complete.exp: New file.
5221 * gdb.mi/mi-complete.cc: Likewise.
5222
14237686
AB
52232019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
5224
5225 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
5226 indexed and sliced arrays, and pointers to arrays.
5227
e7bd7fba
TT
52282019-05-14 Tom Tromey <tromey@adacore.com>
5229
5230 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
5231 styling test.
5232
2764128d
TV
52332019-05-14 Tom de Vries <tdevries@suse.de>
5234
5235 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
5236 selection entry encoding.
5237
71bed2db
TT
52382019-05-10 Tom Tromey <tromey@adacore.com>
5239
5240 * gdb.ada/info_exc.exp: Add "complete" test.
5241
63b667ad
TV
52422019-05-09 Tom de Vries <tdevries@suse.de>
5243
5244 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
5245 CU-relative.
5246
9cfd2b89
TV
52472019-05-09 Tom de Vries <tdevries@suse.de>
5248
5249 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
5250 CU-relative.
5251
2228ef77
XR
52522019-05-08 Joel Brobecker <brobecker@adacore.com>
5253
5254 * gdb.ada/frame_arg_lang.exp: New testcase.
5255 * gdb.ada/frame_arg_lang/bla.adb: New file.
5256 * gdb.ada/frame_arg_lang/pck.ads: New file.
5257 * gdb.ada/frame_arg_lang/pck.adb: New file.
5258 * gdb.ada/frame_arg_lang/foo.c: New file.
5259
80e55b13
TT
52602019-05-08 Tom Tromey <tromey@adacore.com>
5261
5262 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
5263
9d3421af
TT
52642019-05-08 Tom Tromey <tromey@adacore.com>
5265
5266 * gdb.base/ptype-offsets.exp: Update tests.
5267
844333e2
TT
52682019-05-08 Tom Tromey <tromey@adacore.com>
5269
5270 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
5271 cases.
5272 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
5273 "short".
5274
988915ee
TT
52752019-05-08 Tom Tromey <tromey@adacore.com>
5276
5277 * gdb.ada/vla.exp: New file.
5278 * gdb.ada/vla/vla.adb: New file.
5279
7bd55dac
TV
52802019-05-07 Tom de Vries <tdevries@suse.de>
5281
5282 * gdb.base/index-cache.exp (ls_host): Fix return statement.
5283
75f06e9d
TV
52842019-05-07 Tom de Vries <tdevries@suse.de>
5285
5286 PR testsuite/24522
5287 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
5288 section.
5289
77e7aaa4
TV
52902019-05-07 Tom de Vries <tdevries@suse.de>
5291
5292 PR testsuite/24522
5293 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
5294 .debug_aranges section.
5295
456ba0fa
TV
52962019-05-07 Tom de Vries <tdevries@suse.de>
5297
5298 PR testsuite/24159
5299 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
5300
5a56d6a6
TV
53012019-05-06 Tom de Vries <tdevries@suse.de>
5302
5303 * lib/gdb.exp (exec_has_index_section): New proc.
5304 * gdb.base/index-cache.exp: Handle case that binfile contains an index
5305 section.
5306
9d6d4be8
TV
53072019-05-04 Tom de Vries <tdevries@suse.de>
5308
5309 * boards/cc-with-debug-names.exp: New file.
5310
222a8d25
TT
53112019-05-03 Tom Tromey <tromey@adacore.com>
5312
5313 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
5314 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
5315 * gdb.ada/char_enum.exp: Add test.
5316
0fdfd794
TV
53172019-05-03 Tom de Vries <tdevries@suse.de>
5318
5319 * boards/cc-with-gdb-index.exp: New file.
5320
80062eb9
AB
53212019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
5322
5323 * gdb.rust/simple.exp: Add new test case.
5324 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
5325 (main): Initialise an instance of the new struct.
5326
4504bbde
TT
53272019-05-01 Tom Tromey <tromey@adacore.com>
5328
5329 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
5330 record.
5331 (NPR): New variable.
5332 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
5333 test.
5334
d48e62f4
TT
53352019-05-01 Tom Tromey <tromey@adacore.com>
5336
5337 * gdb.ada/packed_array_assign.exp: Add packed assignment
5338 regression test.
5339
f59f30f5
TV
53402019-05-01 Tom de Vries <tdevries@suse.de>
5341
5342 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
5343
b70bfc54
TV
53442019-05-01 Tom de Vries <tdevries@suse.de>
5345
5346 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
5347
15f18d14
AT
53482019-04-30 Ali Tamur <tamur@google.com>
5349
5350 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
5351
2ff0a947
TT
53522019-04-30 Tom Tromey <tromey@adacore.com>
5353
5354 * lib/ada.exp (find_ada_tool): New proc.
5355 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
5356 * gdb.ada/catch_ex_std.exp: New file.
5357 * gdb.ada/catch_ex_std/foo.adb: New file.
5358 * gdb.ada/catch_ex_std/some_package.adb: New file.
5359 * gdb.ada/catch_ex_std/some_package.ads: New file.
5360
a776957c
TT
53612019-04-30 Tom Tromey <tromey@adacore.com>
5362
5363 PR c++/24470:
5364 * gdb.cp/temargs.cc: Add test code from PR.
5365
bc68014d
AB
53662019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5367
5368 * gdb.fortran/vla-datatypes.exp: Update expected results.
5369 * gdb.fortran/vla-ptype.exp: Likewise.
5370 * gdb.fortran/vla-type.exp: Likewise.
5371 * gdb.fortran/vla-value.exp: Likewise.
5372
f1fdc960
AB
53732019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5374
5375 * gdb.fortran/ptr-indentation.exp: Update expected results.
5376 * gdb.fortran/ptype-on-functions.exp: Likewise.
5377 * gdb.fortran/vla-ptr-info.exp: Likewise.
5378 * gdb.fortran/vla-value.exp: Likewise.
5379
bf7a4de1
AB
53802019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5381
5382 * gdb.fortran/ptype-on-functions.exp: New file.
5383 * gdb.fortran/ptype-on-functions.f90: New file.
5384
bbe75b9d
AB
53852019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5386
5387 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
5388 case void string.
5389
1db455a7
AB
53902019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5391
5392 * gdb.fortran/complex.exp: Expand.
5393 * gdb.fortran/complex.f: Renamed to...
5394 * gdb.fortran/complex.f90: ...this, and extended to add more
5395 complex values.
5396
b6d03bb2
AB
53972019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5398
5399 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
5400 MODULO, CMPLX.
5401
2e62ab40
AB
54022019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
5403 Richard Bunt <richard.bunt@arm.com>
5404
5405 * gdb.base/max-depth.c: New file.
5406 * gdb.base/max-depth.exp: New file.
5407 * gdb.python/py-nested-maps.c: New file.
5408 * gdb.python/py-nested-maps.exp: New file.
5409 * gdb.python/py-nested-maps.py: New file.
5410 * gdb.python/py-format-string.exp (test_max_depth): New proc.
5411 (test_all_common): Call test_max_depth.
5412 * gdb.fortran/max-depth.exp: New file.
5413 * gdb.fortran/max-depth.f90: New file.
5414 * gdb.go/max-depth.exp: New file.
5415 * gdb.go/max-depth.go: New file.
5416 * gdb.modula2/max-depth.exp: New file.
5417 * gdb.modula2/max-depth.c: New file.
5418 * lib/gdb.exp (get_print_expr_at_depths): New proc.
5419
d2b584a5
TV
54202019-04-29 Tom de Vries <tdevries@suse.de>
5421
5422 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
5423
136afab8
PW
54242019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5425
5426 * gdb.base/callexit.exp: Test may-call-functions off.
5427
725cbb63
KS
54282019-04-25 Keith Seitz <keiths@redhat.com>
5429
5430 PR c++/24367
5431 * gdb.cp/meth-typedefs.cc (incomplete_struct)
5432 (another_incomplete_struct, test_incomplete): New definitions.
5433 (main): Use new definitions.
5434 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
5435 functions.
5436
701adfb0
PA
54372019-04-25 Ali Tamur <tamur@google.com>
5438
5439 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
5440
82433e3e
SDJ
54412019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
5442
5443 PR corefiles/11608
5444 PR corefiles/18187
5445 * gdb.base/coredump-filter-build-id.exp: New file.
5446
dd06d4d6
AH
54472019-04-25 Alan Hayward <alan.hayward@arm.com>
5448
e79be6e5
SM
5449 * Makefile.in: Pass through GDBSERVER_DEBUG.
5450 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
5451 (gdbserver,debug): Add board setting.
5452 * gdb.trace/tspeed.exp: Skip when debugging.
5453 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
5454 * lib/gdbserver-support.exp: Likewise
dd06d4d6 5455
1670072e
TT
54562019-04-24 Tom Tromey <tromey@adacore.com>
5457
5458 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
5459 Rust.
5460
a59240a4
TT
54612019-04-24 Tom Tromey <tromey@adacore.com>
5462
5463 * gdb.arch/amd64-eval.exp: Test bitfield return.
5464 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
5465 (class Foo) <return_bitfields>: New method.
5466 (main): Call it.
5467
b907456c
AB
54682019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
5469
5470 * gdb.cp/many-args.cc: New file.
5471 * gdb.cp/many-args.exp: New file.
5472
5c565afd
TV
54732019-04-23 Tom de Vries <tdevries@suse.de>
5474
5475 PR gdb/24433
5476 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
5477
ba22ff86
AH
54782019-04-23 Alan Hayward <alan.hayward@arm.com>
5479
5480 * gdb.trace/backtrace.exp: Use nopie flag.
5481 * gdb.trace/circ.exp: Likewise.
5482 * gdb.trace/collection.exp: Likewise.
5483 * gdb.trace/ftrace.exp: Likewise.
5484 * gdb.trace/mi-trace-unavailable.exp: Likewise.
5485 * gdb.trace/mi-traceframe-changed.exp: Likewise.
5486 * gdb.trace/qtro.exp: Likewise.
5487 * gdb.trace/read-memory.exp: Likewise.
5488 * gdb.trace/report.exp: Likewise.
5489 * gdb.trace/tfile.exp: Likewise.
5490 * gdb.trace/tfind.exp: Likewise.
5491 * gdb.trace/unavailable.exp: Likewise.
5492
7905fc35
PA
54932019-04-22 Pedro Alves <palves@redhat.com>
5494
5495 * gdb.base/solib-probes-nosharedlibrary.c,
5496 gdb.base/solib-probes-nosharedlibrary.exp: New files.
5497
8ecb59f8
TT
54982019-04-19 Tom Tromey <tromey@adacore.com>
5499
5500 * gdb.ada/ptype_union.c: New file.
5501 * gdb.ada/ptype_union.exp: New file.
5502
62160ec9
TT
55032019-04-19 Tom Tromey <tromey@adacore.com>
5504
5505 PR symtab/24423:
5506 * gdb.base/list0.h (foo): Add a control-l character.
5507
36cd4ba5
TV
55082019-04-18 Tom de Vries <tdevries@suse.de>
5509
5510 PR gdb/24433
5511 * boards/local-board.exp: Set sysroot to "".
5512
b73715df
TV
55132019-04-18 Tom de Vries <tdevries@suse.de>
5514 Pedro Alves <palves@redhat.com>
5515
5516 PR gdb/24454
5517 * gdb.threads/vfork-follow-child-exec.c: New file.
5518 * gdb.threads/vfork-follow-child-exec.exp: New file.
5519 * gdb.threads/vfork-follow-child-exit.c: New file.
5520 * gdb.threads/vfork-follow-child-exit.exp: New file.
5521
4aa866af
LS
55222019-04-15 Leszek Swirski <leszeks@google.com>
5523
5524 * gdb.arch/amd64-eval.cc: New file.
5525 * gdb.arch/amd64-eval.exp: New file.
5526
e5a1a79a
AH
55272019-04-11 Alan Hayward <alan.hayward@arm.com>
5528
5529 * gdb.server/sysroot.c: New test.
5530 * gdb.server/sysroot.exp: New file.
5531 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
5532 matching param.
5533
41077b66
AB
55342019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
5535
5536 * gdb.base/align.exp: Extend test to cover structures containing
5537 only static fields.
5538
c30391f8
TV
55392019-04-11 Tom de Vries <tdevries@suse.de>
5540
5541 * boards/cc-with-dwz-m.exp: New file.
5542 * boards/cc-with-dwz.exp: New file.
5543 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
5544
e242fd12
SM
55452019-04-09 Simon Marchi <simon.marchi@efficios.com>
5546
5547 * gdb.base/start-cpp.exp: New file.
5548 * gdb.base/start-cpp.cc: New file.
5549
2b0c8b01
KB
55502019-04-08 Kevin Buettner <kevinb@redhat.com>
5551
5552 * gdb.python/py-thrhandle.exp: Adjust tests to call
5553 thread_from_handle instead of thread_from_thread_handle.
5554
947210e5
KB
55552019-04-08 Kevin Buettner <kevinb@redhat.com>
5556
5557 * gdb.python/py-thrhandle.exp: Add tests for
5558 gdb.InferiorThread.handle.
5559
d7df6549
AB
55602019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5561
5562 * gdb.python/py-function.exp: Check calling helper function from
5563 all languages.
5564 * lib/gdb.exp (gdb_supported_languages): New proc.
5565
8bdc1658
AB
55662019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5567
5568 * gdb.base/complex-parts.c: New file.
5569 * gdb.base/complex-parts.exp: New file.
5570
05caa1d2
TT
55712019-04-01 Tom Tromey <tromey@adacore.com>
5572
5573 PR symtab/23331:
5574 * gdb.dwarf2/dw2-ranges-main.c: New file.
5575 * gdb.dwarf2/dw2-ranges-psym.c: New file.
5576 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
5577
7734102d
EZ
55782019-03-30 Simon Marchi <simark@simark.ca>
5579
5580 * gdb.base/default.exp: Add values for $_gdb_major and
5581 $_gdb_minor.
5582
188e1fa9
TT
55832019-03-29 Tom Tromey <tromey@adacore.com>
5584
5585 * gdb.base/help.exp: Tighten apropos regexp.
5586
2880242d
KS
55872019-03-29 Keith Seitz <keiths@redhat.com>
5588
5589 * gdb.fortran/array-bounds.exp: New file.
5590 * gdb.fortran/array-bounds.f90: New file.
5591
077cad8e
PW
55922019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5593
5594 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
5595
80047cfc
PW
55962019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5597
5598 * gdb.multi/hello.c (main): Increase alarm timer.
5599
f489207e
SL
56002019-03-28 Sandra Loosemore <sandra@codesourcery.com>
5601
5602 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
5603 factor when no hardware watchpoint support.
5604
c92df149
AH
56052019-03-28 Alan Hayward <alan.hayward@arm.com>
5606 Pedro Alves <palves@redhat.com>
5607
5608 * boards/local-board.exp: set sysroot to /.
5609
933aebfa
AH
56102019-03-27 Alan Hayward <alan.hayward@arm.com>
5611
5612 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
5613 in child.
5614
9f9aa852
AB
56152019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5616
5617 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
5618 field.
5619 (make_container): Initialise new field.
5620 * gdb.python/py-prettyprint.exp: Add new tests.
5621 * gdb.python/py-prettyprint.py (class ContainerPrinter)
5622 <display_hint>: New method.
5623
3714a195
AB
56242019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5625
5626 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
5627 gdb_continue_to_breakpoint more throughout this test.
5628 (run_lang_tests) Supply unique test names, and use
5629 gdb_test_no_output.
5630
18c77628
AB
56312019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5632
5633 * gdb.base/finish-pretty.exp: Update expected results.
5634 * gdb.base/pretty-print.c: New file.
5635 * gdb.base/pretty-print.exp: New file.
5636
9a93502f
PA
56372019-03-25 Pedro Alves <palves@redhat.com>
5638
5639 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
5640 move comments outside list. Append '-i "" eof' section.
5641
968aa7ae
AH
56422019-03-22 Alan Hayward <alan.hayward@arm.com>
5643
34a7f2a4 5644 PR testsuite/25016
968aa7ae
AH
5645 * README: Add pie options.
5646 * gdb.base/break-interp.exp: Ensure pie is disabled.
5647 * gdb.base/dump.exp: Likewise.
5648 * lib/gdb.exp (gdb_compile): Add pie option.
5649
4c7d57e7
TT
56502019-03-19 Tom Tromey <tromey@adacore.com>
5651
5652 * gdb.mi/mi2-cli-display.c: New file.
5653 * gdb.mi/mi2-cli-display.exp: New file.
5654
bff8c71f
TT
56552019-03-18 Joel Brobecker <brobecker@adacore.com>
5656 Tom Tromey <tromey@adacore.com>
5657
5658 * gdb.ada/ptype_array/pck.adb: New file.
5659 * gdb.ada/ptype_array/pck.ads: New file.
5660 * gdb.ada/ptype_array/foo.adb: New file.
5661 * gdb.ada/ptype_array.exp: New file.
5662
d085f989
TT
56632019-03-14 Tom Tromey <tromey@adacore.com>
5664
5665 * gdb.base/style.exp: Add "set style sources" test.
5666
b4be1b06
SM
56672019-03-13 Simon Marchi <simon.marchi@ericsson.com>
5668
5669 * mi-breakpoint-location-ena-dis.exp: Rename to ...
5670 * mi-breakpoint-multiple-locations.exp: ... this.
5671 (make_breakpoints_pattern): New proc.
5672 (do_test): Add mi_version parameter, test -break-insert,
5673 -break-info and =breakpoint-created.
5674
7cde5fc2
AB
56752019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
5676
5677 * config/default.exp: Remove 'load_lib gdb.exp'.
5678 * config/monitor.exp: Likewise.
5679 * config/sid.exp: Likewise.
5680 * config/sim.exp: Likewise.
5681 * config/slite.exp: Likewise.
5682 * config/unix.exp: Likewise.
5683 * gdb.base/default.exp: Remove unhelpful comment.
5684
efbecbc1
AB
56852019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5686
5687 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
5688
0841c79a
AB
56892019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5690
5691 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
5692
4a270568
AB
56932019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5694
5695 * gdb.fortran/type-kinds.exp: Update expected results.
5696
067630bd
AB
56972019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5698
5699 * gdb.fortran/type-kinds.exp: Test new integer type kind.
5700
3be47f7a
AB
57012019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5702
5703 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
5704 function.
5705 (test_basic_parsing_of_type_kinds): Expand types tested.
5706 (test_parsing_invalid_type_kinds): New function.
5707
4d00f5d8
AB
57082019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5709
5710 * gdb.fortran/intrinsics.exp: New file.
5711 * gdb.fortran/intrinsics.f90: New file.
5712 * gdb.fortran/type-kinds.exp: New file.
5713
c8f91604
AB
57142019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5715
5716 * gdb.fortran/dot-ops.exp: New file.
5717
dd9f2c76
AB
57182019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5719
5720 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
5721 Check upper and lower case logical literals.
5722
84ec9724
AB
57232019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5724
5725 * gdb.fortran/types.exp (test_float_literal_types_accepted):
5726 Remove duplicate tests.
5727
c3734e09
AH
57282019-03-06 Alan Hayward <alan.hayward@arm.com>
5729
5730 * lib/gdb.exp (builtin_cd): rename of cd.
5731 (cd): Override builtin.
5732
aa3cfbda
RB
57332019-03-06 Richard Bunt <richard.bunt@arm.com>
5734
5735 * gdb.fortran/function-calls.exp: New file.
5736 * gdb.fortran/function-calls.f90: New test.
5737
7b63ad86
RB
57382019-03-04 Richard Bunt <richard.bunt@arm.com>
5739
5740 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
5741 on user program standard output.
5742 * gdb.fortran/short-circuit-argument-list.f90: Record function
5743 calls.
5744
01abb042
AH
57452019-02-28 Alan Hayward <alan.hayward@arm.com>
5746
c3734e09
AH
5747 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
5748 failure.
01abb042 5749
92137da0
RO
57502019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5751
5752 PR gdb/8527
5753 * gdb.base/interrupt-daemon-attach.c,
5754 gdb.base/interrupt-daemon-attach.exp: New test.
5755
5862844d
PA
57562019-02-27 Pedro Alves <palves@redhat.com>
5757
5758 * gdb.base/page.exp: Add tests for "set width/height -1".
5759
8ed25214
PA
57602019-02-27 Pedro Alves <palves@redhat.com>
5761
5762 * gdb.base/page.exp: Add tests for "set/show width/height" with
5763 "infinite" values.
5764
6c28e44a
TT
57652019-02-27 Tom Tromey <tromey@adacore.com>
5766
5767 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
5768 2.4.
5769 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
5770 workaround.
5771
bf9a735e
AB
57722019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
5773
5774 * gdb.base/align.exp: Extend to compile in both C and C++, and add
5775 tests for structs with static members.
5776
8791793c
TT
57772019-02-26 Tom Tromey <tromey@adacore.com>
5778
5779 * gdb.python/py-value.exp (test_value_from_buffer): Check for
5780 ValueError, not TypeError.
5781
bc2a507e
KB
57822019-02-26 Kevin Buettner <kevinb@redhat.com>
5783
5784 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
5785 call from main program.
5786
e0e7d3bd
JB
57872019-02-23 Joel Brobecker <brobecker@adacore.com>
5788
5789 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
5790 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
5791 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
5792 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
5793 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
5794
9600246d
KS
57952019-02-22 Keith Seitz <keiths@redhat.com>
5796
5797 PR symtab/23853
5798 * gdb.base/symlink-sourcefile.c: New file.
5799 * gdb.base/symlink-sourcefile.exp: New file.
5800
0c95f9ed
TT
58012019-02-20 Tom Tromey <tom@tromey.com>
5802
5803 * gdb.base/info_qt.exp: Update.
5804
6caa91b6
SM
58052019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
5806
5807 * gdb.base/source.exp: Move "error in sourced script" code to
5808 the end.
5809 * gdb.base/source-error.gdb: Move contents to
5810 source-error-1.gdb. Add new code to source source-error-1.gdb.
5811 * gdb.base/source-error-1.gdb: New file, from previous
5812 source-error.gdb.
5813
6506371f
TT
58142019-02-17 Tom Tromey <tom@tromey.com>
5815
5816 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
5817 for macro styling.
5818 * gdb.base/style.c (SOME_MACRO): New macro.
5819
a0087920
TT
58202019-02-17 Tom Tromey <tom@tromey.com>
5821
5822 * gdb.base/style.exp: Add line-wrapping tests.
5823 * gdb.base/page.exp: Add test for quitting during pagination.
5824
a2cd4f14
JB
58252019-02-17 Joel Brobecker <brobecker@adacore.com>
5826
5827 * gdb.ada/big_packed_array: New testcase.
5828 * gdb.ada/homonym.exp: Fix incorrect expected output for
5829 "break <homonym__get_value>" test.
5830
9d70ffbc
WP
58312019-02-13 Weimin Pan <weimin.pan@oracle.com>
5832
5833 PR breakpoints/21870
5834 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
5835 and prepare_for_testing. Add comment.
5836 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
5837 redundant cleanup call. Clean up comment.
5838
01c7ae81
WP
58392019-02-12 Weimin Pan <weimin.pan@oracle.com>
5840
5841 PR breakpoints/21870
5842 * gdb.arch/aarch64-dbreg-contents.exp: New file.
5843 * gdb.arch/aarch64-dbreg-contents.c: New file.
5844
aff29d1c
JB
58452019-02-10 Joel Brobecker <brobecker@adacore.com>
5846
5847 * gdb.ada/mi_ref_changeable: New testcase.
5848
df0da8a2
AH
58492019-02-07 Alan Hayward <alan.hayward@arm.com>
5850
5851 * gdb.base/attach.exp: Add double attach test.
5852
bd447abb
SM
58532019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
5854
5855 * lib/gdb.exp (default_gdb_start): Don't match pagination
5856 prompt.
5857 (gdb_init): Set stty_init.
5858
1dbc40b9
TT
58592019-01-27 Tom Tromey <tom@tromey.com>
5860
5861 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
5862 skip_python_tests.
5863
353229bf
AH
58642019-01-24 Alan Hayward <alan.hayward@arm.com>
5865
5866 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
5867 New structure.
5868 (struct struct_static_02_02): Likewise.
5869 (struct struct_static_02_03): Likewise.
5870 (struct struct_static_02_04): Likewise.
5871 (struct struct_static_04_01): Likewise.
5872 (struct struct_static_04_02): Likewise.
5873 (struct struct_static_04_03): Likewise.
5874 (struct struct_static_04_04): Likewise.
5875 (struct struct_static_06_01): Likewise.
5876 (struct struct_static_06_02): Likewise.
5877 (struct struct_static_06_03): Likewise.
5878 (struct struct_static_06_04): Likewise.
5879 (cmp_struct_static_02_01): Likewise.
5880 (cmp_struct_static_02_02): Likewise.
5881 (cmp_struct_static_02_03): Likewise.
5882 (cmp_struct_static_02_04): Likewise.
5883 (cmp_struct_static_04_01): Likewise.
5884 (cmp_struct_static_04_02): Likewise.
5885 (cmp_struct_static_04_03): Likewise.
5886 (cmp_struct_static_04_04): Likewise.
5887 (cmp_struct_static_06_01): Likewise.
5888 (cmp_struct_static_06_02): Likewise.
5889 (cmp_struct_static_06_03): Likewise.
5890 (cmp_struct_static_06_04): Likewise.
5891 (call_all): Test new structs.
5892 * gdb.base/infcall-nested-structs.exp: Likewise.
5893
73021deb
AH
58942019-01-21 Alan Hayward <alan.hayward@arm.com>
5895 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
5896
fc65c7db
AH
58972019-01-21 Alan Hayward <alan.hayward@arm.com>
5898 * gdb.base/stack-protector.c: New test.
5899 * gdb.base/stack-protector.exp: New file.
5900 * gdb.cp/ovldbreak.exp: Only allow a single break line.
5901 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
5902 option.
5903 (gdb_compile): Remove stack protector for GCC and prevent
5904 recursion.
5905
c24bdb02
KS
59062019-01-16 Keith Seitz <keiths@redhat.com>
5907
5908 PR gdb/23773
5909 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
5910
6f072a10
PFC
59112019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5912
5913 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
5914 aliases.
5915 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
5916 tests.
5917 * gdb.arch/powerpc-vector-regs.c: New file.
5918 * gdb.arch/powerpc-vector-regs.exp: New file.
5919
a7b8d682
PFC
59202019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5921
5922 * gdb.arch/altivec-regs.exp: Fix the list passed to
5923 gdb_expect_list when testing "info vector".
5924
6eb6fb67
AB
59252019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5926
5927 * gdb.base/style.exp: Don't include path in testname.
5928
b56f80d8
KS
59292019-01-10 Keith Seitz <keiths@redhat.com>
5930
5931 PR gdb/23712
5932 PR symtab/23010
5933 * gdb.dwarf2/multidictionary.exp: New file.
5934
041be526
SM
59352019-01-09 Simon Marchi <simon.marchi@ericsson.com>
5936
5937 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
5938 (test_gnuv3_style_demangling): ... this.
5939 (test_lucid_style_demangling): Remove.
5940 (test_arm_style_demangling): Remove.
5941 (test_hp_style_demangling): Remove.
5942 (do_tests): Remove calls to the above.
5943
d820d0c3
AB
59442019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5945
5946 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
5947 case.
5948
f097f5ad
TT
59492019-01-06 Tom Tromey <tom@tromey.com>
5950
5951 PR gdb/28155:
5952 * gdb.dwarf2/typedef-void-finish.exp: New file.
5953
2cd8cc0b
TT
59542018-12-28 Tom Tromey <tom@tromey.com>
5955 Simon Marchi <simark@simark.ca>
5956
5957 * gdb.base/jit-exec.exp: New file.
5958 * gdb.base/jit-exec.c: New file.
5959 * gdb.base/jit-execd.c: New file.
5960
35fb8261
TT
59612018-12-28 Tom Tromey <tom@tromey.com>
5962
5963 * gdb.base/style.exp: Update test to check for address styling.
5964
47fd17cd
TT
59652018-12-28 Tom Tromey <tom@tromey.com>
5966
5967 * gdb.base/style.exp: Add test for styling of "Reading symbols"
5968 message.
5969
d47032b7
TT
59702018-12-28 Tom Tromey <tom@tromey.com>
5971
5972 * gdb.base/style.exp: Add test for version number styling.
5973
af79b68d
TT
59742018-12-28 Tom Tromey <tom@tromey.com>
5975
5976 * gdb.base/style.exp: Add test for print_address_symbolic.
5977
0bb296cb
TT
59782018-12-28 Tom Tromey <tom@tromey.com>
5979
5980 * gdb.base/style.exp: Add test for breakpoint setting.
5981
80ae2043
TT
59822018-12-28 Tom Tromey <tom@tromey.com>
5983
5984 * gdb.base/style.exp: Add test for variable names.
5985
cbe56571
TT
59862018-12-28 Tom Tromey <tom@tromey.com>
5987
5988 * gdb.base/style.exp: New file.
5989 * gdb.base/style.c: New file.
5990
9162a27c
TT
59912018-12-28 Tom Tromey <tom@tromey.com>
5992
5993 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
5994 "dumb".
5995 * gdb.base/readline.exp (operate_and_get_next): Save and restore
5996 the TERM environment variable.
5997
bc543c90
TT
59982018-12-27 Tom Tromey <tom@tromey.com>
5999
6000 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
6001 pagination test.
6002
6f0ffe50
AB
60032018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
6004
6005 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
6006 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
6007
b5a1e557
PW
60082018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6009
6010 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
6011 Filename a.adb changed to bp_fun_addr.adb.
6012 gdb.ada/bp_fun_addr.exp: Update test accordingly.
6013
6e8b1ab2
JV
60142018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
6015
6016 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
6017 non-PIE executables.
6018 * README: Mention the gdb,nopie_flag board setting.
6019 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
6020 non-PIE executable.
6021 * gdb.arch/amd64-entry-value.exp: Likewise.
6022 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
6023 * gdb.arch/i386-float.exp: Likewise.
6024 * gdb.arch/i386-signal.exp: Likewise.
6025 * gdb.mi/mi-reg-undefined.exp: Likewise.
6026
d00a27c5
PM
60272018-12-21 Paul Marechal <paul.marechal@ericsson.com>
6028
6029 PR gdb/23974
6030 * gdb.base/info-os.exp: Check return for unknown "info os" type.
6031
161d081c
PW
60322018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6033
6034 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
6035 Update order of results accordingly.
6036
b001de23
AB
60372018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
6038
6039 * gdb.base/annota1.exp: Update a test regexp.
6040
99e1a184
AB
60412018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6042
6043 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
6044
7a81c1e2
PW
60452018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6046
6047 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
6048 (reuse_time): Initialize to REUSE_TIME_CAP.
6049 (check_rc): New function.
6050 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
6051 Check pthread_create rc.
6052 (spawner_thread_func): Check pthread_create and pthread_join rc.
6053
73e8dc90
PA
60542018-12-08 Pedro Alves <palves@redhat.com>
6055
6056 * gdb.base/list.exp (test_forward_search): Rename to ...
6057 (test_forward_reverse_search): ... this. Also test reverse-search
6058 and the forward-search alias.
6059
13f2ed32
AB
60602018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
6061
6062 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
6063 local timeout variable before return, and remove all local timeout
6064 variable entirely.
6065 (gdb_load): Likewise.
6066
64d27cfc
TV
60672018-12-01 Tom de Vries <tdevries@suse.de>
6068
6069 * gdb.base/gdb-caching-proc.exp: New file.
6070
f63c03b4
SDJ
60712018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
6072
6073 * Makefile.in (TIMESTAMP): New variable.
6074 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
6075 command.
6076 (check-single-racy): Likewise.
6077 (check/%.exp): Likewise.
6078 (check-racy/%.exp): Likewise.
6079 (workers/%.worker): Likewise.
6080 (build-perf): Likewise.
6081 (check-perf): Likewise.
6082 * README: Describe new "TS" and "TS_FORMAT" variables.
6083 * print-ts.py: New file.
6084
1c97054b
BF
60852018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
6086
6087 PR python/23714
6088 * gdb.python/python.exp: Test command repetition after
6089 gdb.execute.
6090
1871a62d
AB
60912018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
6092
6093 * gdb.opt/inline-break.exp: Add test that info breakpoint output
6094 is correctly aligned.
6095
fb5e1ed9
PW
60962018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6097
6098 * gdb.ada/info_auto_lang.exp: New testcase.
6099 * gdb.ada/info_auto_lang/global_pack.ads: New file.
6100 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
6101 * gdb.ada/info_auto_lang/some_c.c: New file.
6102
43d397ca
PW
61032018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6104
6105 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
6106 FUNC_lang language syntax.
6107
beddd671
PW
61082018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6109
6110 * gdb.base/info_minsym.c: New file.
6111 * gdb.base/info_minsym.exp: New file.
6112
73fc52c4
TT
61132018-11-19 Tom Tromey <tom@tromey.com>
6114
6115 PR rust/23625:
6116 * gdb.rust/simple.exp: Add ptype test. Update expected output.
6117 * gdb.rust/expr.exp: Update expected output. Change one test.
6118
994b876a
TT
61192018-11-19 Tom Tromey <tom@tromey.com>
6120
6121 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
6122
6769f276
PA
61232018-11-19 Pedro Alves <palves@redhat.com>
6124
6125 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
6126 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
6127 see the expected warning.
6128
38a72da0
AH
61292018-11-16 Alan Hayward <alan.hayward@arm.com>
6130
6131 PR gdb/22736:
6132 * gdb.cp/infcall-nodebug-lib.c: New test.
6133 * gdb.cp/infcall-nodebug-main.c: New test.
6134 * gdb.cp/infcall-nodebug.exp: New file.
6135
53a89d6e
SM
61362018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
6137
6138 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
6139 completer tests.
6140
9325300d
TV
61412018-11-09 Tom de Vries <tdevries@suse.de>
6142
6143 * gdb.base/msym-lang.c: New test.
6144 * gdb.base/msym-lang.exp: New file.
6145 * gdb.base/msym-lang-main.c: New test.
6146
20f0d60d
TT
61472018-11-08 Tom Tromey <tom@tromey.com>
6148
6149 PR gdb/23555:
6150 PR gdb/23838:
6151 * gdb.base/warning.exp: New file.
6152
b5420128
JB
61532018-11-08 Jan Beulich <jbeulich@suse.com>
6154
6155 * testsuite/gdb.arch/i386-avx512.c,
6156 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
6157
cd115d61
AB
61582018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
6159
6160 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
6161 point hardware.
6162
35ee2dc2
AB
61632018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
6164
6165 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
6166 * gdb.dwarf2/missing-type-name.exp: New file.
6167
31aceee8
TV
61682018-11-06 Tom de Vries <tdevries@suse.de>
6169
6170 * gdb.base/many-headers.c: New test.
6171 * gdb.base/many-headers.exp: New file.
6172
109be305
JW
61732018-11-06 Jim Wilson <jimw@sifive.com>
6174
6175 * gdb.base/code_elim.exp: For riscv, set additional_flags
6176 to include -msmall-data-limit=0.
6177
e2b7af72
JB
61782018-11-01 Joel Brobecker <brobecker@adacore.com>
6179
6180 * gdb.ada/watch_minus_l: New testcase.
6181
cdcda965
SM
61822018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
6183
6184 * gdb.arch/aix-sighandle.c: New file.
6185 * gdb.arch/aix-sighandle.exp: New file.
6186
92dcebf3
AB
61872018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6188
6189 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
6190 registers being unions.
6191
68b9ac18
TV
61922018-10-31 Tom de Vries <tdevries@suse.de>
6193
6194 * lib/valgrind.exp: New file.
6195 (vgdb_start, vgdb_stop): New procs, factored out of ...
6196 * gdb.base/valgrind-bt.exp: ... here, ...
6197 * gdb.base/valgrind-disp-step.exp: ... here and ...
6198 * gdb.base/valgrind-infcall.exp: ... here.
6199
1443936e
TV
62002018-10-31 Tom de Vries <tdevries@suse.de>
6201
6202 * lib/gdb.exp (get_valueof): Don't output read value in test name.
6203
eb77c9df
AB
62042018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6205
6206 * gdb.dwarf2/void-type.c: New file.
6207 * gdb.dwarf2/void-type.exp: New file.
6208
82b5e646
PW
62092018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6210
6211 * gdb.base/info_qt.c: New file.
6212 * gdb.base/info_qt.exp: New file.
6213
8d619c01
EBM
62142018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6215
6216 * gdb.arch/powerpc-htm-regs.c: New file.
6217 * gdb.arch/powerpc-htm-regs.exp: New file.
6218
f2cf6173
EBM
62192018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6220
6221 * gdb.arch/powerpc-tar.c: New file.
6222 * gdb.arch/powerpc-tar.exp: New file.
6223
7ca18ed6
EBM
62242018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6225
6226 * gdb.arch/powerpc-ppr-dscr.c: New file.
6227 * gdb.arch/powerpc-ppr-dscr.exp: New file.
6228
bfcc0eba
TV
62292018-10-25 Tom de Vries <tdevries@suse.de>
6230
6231 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
6232
fe1a5cad
TV
62332018-10-24 Tom de Vries <tdevries@suse.de>
6234
6235 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
6236 longer exists error.
6237
a76dc3b7
TV
62382018-10-24 Tom de Vries <tdevries@suse.de>
6239
6240 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
6241
4df46df7
TV
62422018-10-24 Tom de Vries <tdevries@suse.de>
6243
6244 * gdb.base/valgrind-db-attach.exp: Handle removed support for
6245 --db-attach in valgrind.
6246
0dbfcfff
AB
62472018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
6248
6249 * gdb.arch/riscv-reg-aliases.c: New file.
6250 * gdb.arch/riscv-reg-aliases.exp: New file.
6251
b04480b1
AH
62522018-10-19 Alan Hayward <alan.hayward@arm.com>
6253
6254 * gdb.python/py-cmd.exp: Check for gdb_prompt.
6255
2c6ac8d7
AH
62562018-10-19 Alan Hayward <alan.hayward@arm.com>
6257
6258 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
6259
2bc69f25
AH
62602018-10-19 Alan Hayward <alan.hayward@arm.com>
6261
6262 * gdb.cp/ovldbreak.exp: Fix regexps.
6263
1f1ae3a3
AH
62642018-10-19 Alan Hayward <alan.hayward@arm.com>
6265
6266 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
6267
94c18618
SDJ
62682018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
6269
6270 PR cli/23785
6271 * gdb.base/restore.exp: New test to check if "restore" with an
6272 invalid file doesn't segfault.
6273
812cd6eb
TV
62742018-10-18 Tom de Vries <tdevries@suse.de>
6275
6276 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
6277 * gdb.ada/excep_handle.exp: Same.
6278 * gdb.ada/mi_string_access.exp: Same.
6279 * gdb.ada/mi_var_union.exp: Same.
6280 * gdb.arch/arc-analyze-prologue.exp: Same.
6281 * gdb.arch/arc-decode-insn.exp: Same.
6282 * gdb.base/readnever.exp: Same.
6283 * gdb.fortran/printing-types.exp: Same.
6284 * gdb.guile/scm-lazy-string.exp: Same.
6285
c4b90788
TV
62862018-10-16 Tom de Vries <tdevries@suse.de>
6287
6288 PR gdb/23730
6289 * gdb.base/catch-follow-exec.c: Add copyright notice.
6290 * gdb.base/catch-follow-exec.exp: Rewrite to use
6291 gdb_spawn_with_cmdline_opts. Require gdb-native.
6292
8bca2978
SL
62932018-10-12 Sandra Loosemore <sandra@codesourcery.com>
6294
6295 * gdb.trace/actions-changed.exp: Check for arch support.
6296 * gdb.trace/actions.exp: Likewise.
6297 * gdb.trace/ax.exp: Likewise.
6298 * gdb.trace/backtrace.exp: Likewise.
6299 * gdb.trace/change-loc.exp: Likewise.
6300 * gdb.trace/deltrace.exp: Likewise.
6301 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
6302 * gdb.trace/ftrace.exp: Likewise.
6303 * gdb.trace/infotrace.exp: Check for arch support.
6304 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
6305 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
6306 * gdb.trace/mi-tsv-changed.exp: Likewise.
6307 * gdb.trace/packetlen.exp: Likewise.
6308 * gdb.trace/passc-dyn.exp: Likewise.
6309 * gdb.trace/passcount.exp: Likewise.
6310 * gdb.trace/pending.exp: Likewise.
6311 * gdb.trace/range-stepping.exp: Check for shlib support.
6312 * gdb.trace/report.exp: Check for arch support.
6313 * gdb.trace/save-trace.exp: Likewise.
6314 * gdb.trace/signal.exp: Check for signal support.
6315 * gdb.trace/tfind.exp: Check for arch support.
6316 * gdb.trace/trace-break.exp: Check for arch and shlib support.
6317 * gdb.trace/trace-common.h: Add comment.
6318 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
6319 * gdb.trace/trace-enable-disable.exp: Likewise.
6320 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
6321 * gdb.trace/tracecmd.exp: Check for arch support.
6322 * gdb.trace/tspeed.exp: Check for shlib and target support.
6323 * gdb.trace/tstatus.exp: Check for arch support.
6324 * gdb.trace/tsv.exp: Likewise.
6325 * gdb.trace/while-dyn.exp: Likewise.
6326 * gdb.trace/while-stepping.exp: Likewise.
6327 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
6328
f9c49bff
SM
63292018-10-12 Simon Marchi <simon.marchi@ericsson.com>
6330
6331 * gdb.trace/tspeed.exp: Remove nowarnings.
6332 (prepare_for_trace_test): Declare "global ipalib".
6333 * gdb.trace/tspeed.c: Include unistd.h.
6334 (main): Remove superfluous printf argument.
6335
d4330bde
SL
63362018-10-11 Sandra Loosemore <sandra@codesourcery.com>
6337
6338 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
6339 directory prefix on the filename.
6340
8ecfd7bd
SDJ
63412018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
6342
6343 * gdb.gdb/unittest.exp: Update expected message informing that
6344 selftests have been disabled.
6345 * gdb.server/unittest.exp: Likewise.
6346
58bbcd02
TV
63472018-10-09 Tom de Vries <tdevries@suse.de>
6348
6349 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
6350 with runto_main.
6351
9f6b697b
WP
63522018-10-08 Weimin Pan <weimin.pan@oracle.com>
6353
6354 PR c++/16841
6355 * gdb.cp/virtbase2.cc: New file.
6356 * gdb.cp/virtbase2.exp: New file.
6357
add5ded5
TT
63582018-10-06 Tom Tromey <tom@tromey.com>
6359
6360 PR python/19399:
6361 * gdb.python/py-inferior.exp: Add architecture test.
6362
f9e48344
TT
63632018-10-06 Tom Tromey <tom@tromey.com>
6364
6365 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
6366 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
6367
2a8be203
TT
63682018-10-06 Tom Tromey <tom@tromey.com>
6369
6370 * gdb.python/py-breakpoint.exp (check_last_event): Check location
6371 of a "throw" catchpoint.
6372
e04caa70
SDJ
63732018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
6374
6375 * gdb.base/info-proc.exp: Update string expected from "help info
6376 proc".
6377
5ca8c39f
TT
63782018-10-04 Tom Tromey <tom@tromey.com>
6379
6380 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
6381 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
6382 (test_initial_complaints, test_empty_complaints): Update.
6383 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6384
3453e7e4
TT
63852018-10-04 Tom Tromey <tom@tromey.com>
6386
6387 PR cli/19551:
6388 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
6389 * lib/gdb.exp (gdb_file_cmd): Update.
6390 * gdb.stabs/weird.exp (print_weird_var): Update.
6391 * gdb.server/solib-list.exp: Update.
6392 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
6393 * gdb.mi/mi-cli.exp: Update.
6394 * gdb.linespec/linespec.exp: Update.
6395 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6396 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
6397 * gdb.cp/cp-relocate.exp: Update.
6398 * gdb.base/sym-file.exp: Update.
6399 * gdb.base/relocate.exp: Update.
6400 * gdb.base/readnever.exp: Update.
6401 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6402 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
6403 * gdb.base/dbx.exp (gdb_file_cmd): Update.
6404 * gdb.base/code_elim.exp: Update.
6405 * gdb.base/break-unload-file.exp (test_break): Update.
6406 * gdb.base/break-interp.exp (test_attach_gdb): Update.
6407 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
6408 Update.
6409 * gdb.base/attach.exp (do_attach_tests): Update.
6410 * gdb.base/sepdebug.exp: Update.
6411 * gdb.python/py-section-script.exp: Update.
6412
6afcf761
TT
64132018-10-04 Tom Tromey <tom@tromey.com>
6414
6415 PR cli/22234:
6416 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
6417 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
6418 output.
6419
fef1b293
TT
64202018-10-04 Tom Tromey <tom@tromey.com>
6421
6422 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
6423 set width and height to 0.
6424 (test_command_line_attach_run): Use -quiet.
6425
ca98345e
SL
64262018-10-03 Sandra Loosemore <sandra@codesourcery.com>
6427
6428 * lib/gdb.exp (skip_ifunc_tests): New.
6429 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
6430 other compile failures.
6431 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
6432
ff34e6ae
SM
64332018-10-01 Simon Marchi <simon.marchi@ericsson.com>
6434
6435 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
6436 is_amd64_regs_target.
6437
6bb8890e
AH
64382018-10-01 Alan Hayward <alan.hayward@arm.com>
6439
6440 * gdb.arch/aarch64-sighandler-regs.c: New test.
6441 * gdb.arch/aarch64-sighandler-regs.exp: New file.
6442 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
6443
224d30d3
MM
64442018-10-01 Markus Metzger <markus.t.metzger@intel.com>
6445
6446 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
6447 assembly.
6448
f67ffa6a
AB
64492018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
6450
6451 * gdb.base/frame-selection.exp: New file.
6452 * gdb.base/frame-selection.c: New file.
6453
9fc3183f
AH
64542018-09-27 Alan Hayward <alan.hayward@arm.com>
6455
6456 * gdb.threads/check-libthread-db.c (thread_routine): Use a
6457 pthread barrier.
6458 (main): Likewise.
6459
d354055e
AB
64602018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
6461
6462 * gdb.base/large-frame-1.c: New file.
6463 * gdb.base/large-frame-2.c: New file.
6464 * gdb.base/large-frame.exp: New file.
6465 * gdb.base/large-frame.h: New file.
6466
db727370
JL
64672018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
6468
6469 PR gdb/20948
6470 * gdb.base/write_mem.exp: New test.
6471 * gdb.base/write_mem.c: Likewise.
6472
ae778caf
TT
64732018-09-23 Tom Tromey <tom@tromey.com>
6474
6475 PR python/18852:
6476 * gdb.python/py-parameter.exp: Add test for parameter that throws
6477 on "set".
6478
fd3ba736
TT
64792018-09-23 Tom Tromey <tom@tromey.com>
6480
6481 PR python/17284:
6482 * gdb.python/py-template.exp (test_template_arg): Add test for
6483 negative template argument number.
6484
39a24317
TT
64852018-09-23 Tom Tromey <tom@tromey.com>
6486
6487 PR python/14062:
6488 * gdb.python/python.exp: Add test for post_event error.
6489
f5769a2c
TT
64902018-09-23 Tom Tromey <tom@tromey.com>
6491
6492 PR python/18170:
6493 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
6494 convert pointers to int and long.
6495
1c1e54f6
TT
64962018-09-23 Tom Tromey <tom@tromey.com>
6497
6498 PR python/20126:
6499 * gdb.python/py-value.exp (test_value_numeric_ops): Add
6500 signed-ness conversion tests.
6501
fb4fa946
TT
65022018-09-23 Tom Tromey <tom@tromey.com>
6503
6504 PR python/18352;
6505 * gdb.python/py-value.exp (test_float_conversion): New proc.
6506 Use it.
6507
a466edac
HAQ
65082018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
6509
6510 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
6511
4ee9b0c5
SL
65122018-09-18 Sandra Loosemore <sandra@codesourcery.com>
6513
6514 * gdb.base/complete-empty.exp: Skip tab-completion tests if
6515 no readline.
6516 * gdb.base/utf8-identifiers.exp: Likewise.
6517 * gdb.cp/cpcompletion.exp: Likewise.
6518 * gdb.linespec/cpcompletion.exp: Likewise.
6519 * gdb.linespec/cpls-abi-tag.exp: Likewise.
6520 * gdb.linespec/cpls-ops.exp: Likewise.
6521
23be8da7
RB
65222018-09-19 Richard Bunt <richard.bunt@arm.com>
6523 Chris January <chris.january@arm.com>
6524
6525 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
6526 * gdb.fortran/short-circuit-argument-list.exp: New file.
6527 * gdb.fortran/short-circuit-argument-list.f90: New test.
6528
5031d0ae
SDJ
65292018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6530
6531 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
6532 "arch=" keyword when executing "-stack-list-frames".
6533
b4c0d1a4
SDJ
65342018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6535
6536 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
6537 "arch=" keyword when executing "-stack-list-frames".
6538
7a6d2b45
SDJ
65392018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6540
6541 * gdb.ada/complete.exp: Expect for "@" when doing "complete
6542 break ada".
6543
8588b356
SM
65442018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
6545
6546 PR python/23669
6547 * gdb.python/python.exp: Test gdb.execute("show commands").
6548
65e65158
TT
65492018-09-16 Tom Tromey <tom@tromey.com>
6550
6551 * gdb.base/new-ui.exp (do_execution_tests): Update.
6552 * gdb.base/dbx.exp (test_breakpoints): Update.
6553
bf326452
AH
65542018-09-14 Alan Hayward <alan.hayward@arm.com>
6555
6556 * lib/gdb.exp (gdb_simple_compile): Add proc.
6557 (is_elf_target): Use gdb_simple_compile.
6558 (skip_altivec_tests): Likewise.
6559 (skip_vsx_tests): Likewise.
6560 (skip_tsx_tests): Likewise.
6561 (skip_btrace_tests): Likewise.
6562 (skip_btrace_pt_tests): Likewise.
6563 (gdb_can_simple_compile): Likewise.
6564 (gdb_has_argv0): Likewise.
6565 (gdb_target_symbol_prefix): Likewise.
6566 (target_supports_scheduler_locking): Likewise.
6567
2361b0fb
TT
65682018-09-13 Tom Tromey <tom@tromey.com>
6569
6570 * Makefile.in (TAGS): Recognize proc_with_prefix and
6571 gdb_caching_proc.
6572
0ae1a321
SM
65732018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6574
6575 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
6576 method.
6577
a40bf0c2
SM
65782018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6579
6580 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
6581 and a few other Inferior properties when the Inferior is no
6582 longer valid.
6583
4a3fe98f
TT
65842018-09-13 Tom Tromey <tom@tromey.com>
6585
6586 PR rust/23650:
6587 * gdb.rust/simple.exp: Add test for enum field access error.
6588
098b2108
TT
65892018-09-13 Tom Tromey <tom@tromey.com>
6590
6591 PR rust/23626:
6592 * gdb.rust/simple.rs (EmptyEnum): New type.
6593 (main): Use it.
6594 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
6595
1256af7d
SM
65962018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6597
6598 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
6599 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
6600 * gdb.python/py-symtab.exp: Update test printing an objfile.
6601
4aa8e6c2
SM
66022018-09-12 Simon Marchi <simon.marchi@ericsson.com>
6603
6604 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
6605 object.
6606
c221b2f7
AH
66072018-09-12 Alan Hayward <alan.hayward@arm.com>
6608
6609 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
6610 (support_complex_tests): Use gdb_can_simple_compile.
6611 (is_ilp32_target): Likewise.
6612 (is_lp64_target): Likewise.
6613 (is_64_target): Likewise.
6614 (is_amd64_regs_target): Likewise.
6615 (is_aarch32_target): Likewise.
6616 (gdb_int128_helper): Likewise.
6617
6f1107b5
JK
66182018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6619
6620 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
6621
1f5d1570
JG
66222018-09-10 Jerome Guitton <guitton@adacore.com>
6623
6624 * gdb.ada/same_component_name: Add test for case of tagged record
6625 with variable-length fields.
6626
cc330e39
XR
66272018-09-10 Xavier Roirand <roirand@adacore.com>
6628
6629 * gdb.ada/access_to_unbounded_array.exp: New testcase.
6630 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
6631 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
6632 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
6633
b9c50e9a
XR
66342018-09-10 Xavier Roirand <roirand@adacore.com>
6635
6636 * gdb.ada/mi_string_access.exp: New testcase.
6637 * gdb.ada/mi_string_access/bar.adb: New file.
6638 * gdb.ada/mi_string_access/pck.adb: New file.
6639 * gdb.ada/mi_string_access/pck.asd: New file.
6640
2963898f
XR
66412018-09-10 Xavier Roirand <roirand@adacore.com>
6642
6643 * gdb.ada/mi_var_union.exp: New testcase.
6644 * gdb.ada/mi_var_union/bar.adb: New file.
6645 * gdb.ada/mi_var_union/pck.adb: New file.
6646 * gdb.ada/mi_var_union/pck.asd: New file.
6647
1aac008f
TT
66482018-09-08 Tom Tromey <tom@tromey.com>
6649
6650 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
6651
332cf4c9
TT
66522018-09-08 Tom Tromey <tom@tromey.com>
6653
6654 PR python/16047:
6655 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
6656 (register_pretty_printers): Register new printer.
6657 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
6658 test.
6659 * gdb.python/py-prettyprint.c (int_type3): New typedef.
6660 (an_int_type3): New global.
6661
424da6cf
JB
66622018-09-08 Joel Brobecker <brobecker@adacore.com>
6663
6664 * gdb.ada/expr_with_funcall: New testcase.
6665
2a62dfa9
JB
66662018-09-08 Joel Brobecker <brobecker@adacore.com>
6667
6668 * gdb.ada/packed_array_assign: New testcase.
6669
96b6697f
AB
66702018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
6671
6672 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
6673 names, and add test prefixes to make test names unique.
6674
e4a62c65
TV
66752018-09-05 Tom de Vries <tdevries@suse.de>
6676
6677 * gdb.dwarf2/varval.exp: Add test.
6678
dd083ee2
GB
66792018-09-04 Gary Benson <gbenson@redhat.com>
6680
6681 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
6682 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
6683
aef9346c
TT
66842018-08-31 Tom Tromey <tom@tromey.com>
6685
6686 * gdb.rust/simple.rs: Rename second variable "v".
6687
c67f2e15
AB
66882018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
6689
6690 * gdb.base/funcargs.c (use_a): New function.
6691 (recurse): Call use_a.
6692
078a0207
KS
66932018-08-29 Keith Seitz <keiths@redhat.com>
6694
6695 * gdb.compile/compile-cplus-anonymous.cc: New file.
6696 * gdb.compile/compile-cplus-anonymous.exp: New file.
6697 * gdb.compile/compile-cplus-array-decay.cc: New file.
6698 * gdb.compile/compile-cplus-array-decay.exp: New file.
6699 * gdb.compile/compile-cplus-inherit.cc: New file.
6700 * gdb.compile/compile-cplus-inherit.exp: New file.
6701 * gdb.compile/compile-cplus-member.cc: New file.
6702 * gdb.compile/compile-cplus-member.exp: New file.
6703 * gdb.compile/compile-cplus-method.cc: New file.
6704 * gdb.compile/compile-cplus-method.exp: New file.
6705 * gdb.compile/compile-cplus-mod.c: "New" file.
6706 * gdb.compile/compile-cplus-namespace.cc: New file.
6707 * gdb.compile/compile-cplus-namespace.exp: New file.
6708 * gdb.compile/compile-cplus-nested.cc: New file.
6709 * gdb.compile/compile-cplus-nested.exp: New file.
6710 * gdb.compile/compile-cplus-print.c: "New" file.
6711 * gdb.compile/compile-cplus-print.exp: "New" file.
6712 * gdb.compile/compile-cplus-virtual.cc: New file.
6713 * gdb.compile/compile-cplus-virtual.exp: New file.
6714 * gdb.compile/compile-cplus.c: "New" file.
6715 * gdb.compile/compile-cplus.exp: "New" file.
6716 * lib/compile-support.exp: New file.
6717
b0f492b9
GB
67182018-08-16 Gary Benson <gbenson@redhat.com>
6719
6720 PR gdb/13000:
6721 * gdb.base/batch-exit-status.exp: New file.
6722 * gdb.base/batch-exit-status.good-commands: Likewise.
6723 * gdb.base/batch-exit-status.bad-commands: Likewise.
6724
36eb4c5f
AH
67252018-08-29 Alan Hayward <alan.hayward@arm.com>
6726
6727 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
6728 (struct struct02): Likewise.
6729 (struct struct03): Likewise.
6730 (struct struct04): Likewise.
6731 (struct struct_01_01): New struct.
6732 (struct struct_01_02): Likewise.
6733 (struct struct_01_03): Likewise.
6734 (struct struct_01_04): Likewise.
6735 (struct struct_02_01): Likewise.
6736 (struct struct_02_02): Likewise.
6737 (struct struct_02_03): Likewise.
6738 (struct struct_02_04): Likewise.
6739 (struct struct_04_01): Likewise.
6740 (struct struct_04_02): Likewise.
6741 (struct struct_04_03): Likewise.
6742 (struct struct_04_04): Likewise.
6743 (struct struct_05_01): Likewise.
6744 (struct struct_05_02): Likewise.
6745 (struct struct_05_03): Likewise.
6746 (struct struct_05_04): Likewise.
6747 (cmp_struct01): Remove function.
6748 (cmp_struct02): Likewise.
6749 (cmp_struct03): Likewise.
6750 (cmp_struct04): Likewise.
6751 (cmp_struct_01_01): Add Function.
6752 (cmp_struct_01_02): Likewise.
6753 (cmp_struct_01_03): Likewise.
6754 (cmp_struct_01_04): Likewise.
6755 (cmp_struct_02_01): Likewise.
6756 (cmp_struct_02_02): Likewise.
6757 (cmp_struct_02_03): Likewise.
6758 (cmp_struct_02_04): Likewise.
6759 (cmp_struct_04_01): Likewise.
6760 (cmp_struct_04_02): Likewise.
6761 (cmp_struct_04_03): Likewise.
6762 (cmp_struct_04_04): Likewise.
6763 (cmp_struct_05_01): Likewise.
6764 (cmp_struct_05_02): Likewise.
6765 (cmp_struct_05_03): Likewise.
6766 (cmp_struct_05_04): Likewise.
6767 (call_all): Add new structs.
6768 * gdb.base/infcall-nested-structs.exp: Likewise.
6769
3bf9c013
JV
67702018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
6771
6772 * gdb.python/py-framefilter-mi.exp: Update regexp to
6773 check for "arch" field in frame output.
6774
450d1e88
KB
67752018-08-23 Kevin Buettner <kevinb@redhat.com>
6776
6777 * gdb.dwarf2/dw2-ranges-func.c: New file.
6778 * gdb.dwarf2/dw2-ranges-func.exp: New file.
6779
ae739fe7
SM
67802018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
6781
6782 * gdb.base/term.exp: Compare terminal settings with values from
6783 the inferior.
6784 * gdb.base/term.c: Get and set terminal settings.
6785
6d52907e
JV
67862018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
6787
6788 * lib/mi-support.exp (mi_expect_stop): Update regexp to
6789 accommodate new "arch" field in frame output.
6790 * gdb.mi/mi-return.exp: Likewise.
6791 * gdb.mi/mi-stack.exp: Likewise.
6792 * gdb.mi/mi-syn-frame.exp: Likewise.
6793 * gdb.mi/user-selected-context-sync.exp: Likewise.
6794
be2d111a
MS
67952018-08-19 Michael Spang <spang@google.com>
6796
6797 PR gdb/11786
6798 * gdb.base/gcore-tls-pie.c: New file.
6799 * gdb.base/gcore-tls-pie.exp: New file.
6800
ae3a7c47
KB
68012018-08-18 Kevin Buettner <kevinb@redhat.com>
6802
6803 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
6804 * gdb.dwarf2/varval.c: New file.
6805 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 6806
2ecae92e
AH
68072018-08-17 Alan Hayward <alan.hayward@arm.com>
6808
6809 PR gdb/18931
6810 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
6811
c1854f1d
KS
68122018-08-16 Keith Seitz <keiths@redhat.com>
6813
6814 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
6815 tests expected to pass.
6816
26fb3983
JV
68172018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
6818
6819 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
6820 -data-disassemble -a.
6821 (test_disassembly_bogus_args): Likewise.
6822
67943c00
AB
68232018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
6824
6825 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
6826
5ff2bbae
AB
68272018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6828
6829 * gdb.base/vla-optimized-out.exp: Add new test.
6830
e5bbcd0f
AB
68312018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6832
6833 * gdb.base/vla-optimized-out-o3.exp: Delete.
6834 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
6835 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
6836 deleted tests.
6837
9d4a934c
AB
68382018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
6839
6840 PR gdb/18050:
6841 * gdb.server/extended-remote-restart.c: New file.
6842 * gdb.server/extended-remote-restart.exp: New file.
6843
045cf012
SM
68442018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
6845
6846 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
6847 "set variable index = 42".
6848
87d6a7aa
SM
68492018-08-07 Simon Marchi <simon.marchi@ericsson.com>
6850
6851 * boards/index-cache-gdb.exp: New file.
6852 * gdb.dwarf2/index-cache.exp: New file.
6853 * gdb.dwarf2/index-cache.c: New file.
6854 * gdb.base/maint.exp: Check if we are using the index cache.
6855
96d68bd4
RO
68562018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6857
6858 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
6859 MAKEFLAGS.
6860
5a699617
RO
68612018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6862
6863 * dg-extract-results.sh: Move to toplevel contrib.
6864 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
6865 * Makefile.in (check-parallel-racy): Likewise.
6866
5bd18990
AB
68672018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
6868
6869 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
6870 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
6871 tests if the target supports scheduler locking.
6872
3fbbcf47
TV
68732018-08-04 Tom de Vries <tdevries@suse.de>
6874
6875 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
6876
3e1d3d8c
TT
68772018-08-02 Tom Tromey <tom@tromey.com>
6878
6879 PR symtab/16842.
6880 * gdb.cp/temargs.exp: Test "info address" of a template
6881 parameter.
6882
5abe0f0c
JV
68832018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
6884
6885 * gdb.python/py-mi-var-info-path-expression.c: New file.
6886 * gdb.python/py-mi-var-info-path-expression.py: New file.
6887 * gdb.python/py-mi-var-info-path-expression.exp: New file.
6888
fb66cde8
SDJ
68892018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
6890
6891 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
6892 error after "cannot resolve name" string.
6893
c708f4d2
AB
68942018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
6895
6896 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
6897 started.
6898 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
6899
37cc0cae
TV
69002018-07-28 Tom de Vries <tdevries@suse.de>
6901
6902 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
6903
63b4ecf7
TV
69042018-07-26 Tom de Vries <tdevries@suse.de>
6905
6906 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
6907
3c3bb058
AB
69082018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
6909
6910 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
6911 is visible.
6912
9e7f3bbb
TV
69132018-07-26 Tom de Vries <tdevries@suse.de>
6914
6915 PR breakpoints/23366
6916 * gdb.base/catch-follow-exec.c: New test.
6917 * gdb.base/catch-follow-exec.exp: New file.
6918
16f808ec
TV
69192018-07-25 Tom de Vries <tdevries@suse.de>
6920
6921 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
6922 vla-optimized-out.c.
6923
d7154a8d
JV
69242018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
6925
6926 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
6927 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
6928
232a0032
TV
69292018-07-20 Tom de Vries <tdevries@suse.de>
6930
6931 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
6932 NOCLONE macro.
6933 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
6934
fbb1d502
TV
69352018-07-19 Tom de Vries <tdevries@suse.de>
6936
6937 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
6938 regular expression.
6939
42dc7699
TV
69402018-07-18 Tom de Vries <tdevries@suse.de>
6941
6942 * gdb.base/vla-optimized-out.c: New test.
6943 * gdb.base/vla-optimized-out.exp: New file.
6944
7f1f7e23
SDJ
69452018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
6946
6947 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
6948 message "No address associated with hostname" when gdbserver
6949 cannot resolve the hostname.
6950
5759ebb3
PW
69512018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6952
6953 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
6954 Add some test prefixes to make tests unique.
6955
3606ccab
PW
69562018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6957
6958 * gdb.base/frameapply.c: New file.
6959 * gdb.base/frameapply.exp: New file.
6960
529c08b2
PW
69612018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6962
6963 * gdb.base/skip.exp: Update expected error message.
6964
c7ab0aef
SDJ
69652018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6966 Jan Kratochvil <jan.kratochvil@redhat.com>
6967 Paul Fertser <fercerpav@gmail.com>
6968 Tsutomu Seki <sekiriki@gmail.com>
6969
6970 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
6971 parameter.
6972 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
6973 by default.
6974 * boards/native-gdbserver.exp: Likewise.
6975 * gdb.server/run-without-local-binary.exp: Improve regexp used
6976 for detecting when a remote debugging connection succeeds.
6977 * gdb.server/server-connect.exp: New file.
6978 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
6979 Do not prefix the port number with ":".
6980 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
6981 support for detecting and using it. Add '$debughost_gdbserver'
6982 to the list of arguments used to start gdbserver. Handle case
6983 when gdbserver cannot resolve a network name.
6984
16ff70dd
SDJ
69852018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6986
6987 PR c++/23373
6988 * gdb.base/ptype-offsets.cc (struct static_member): New
6989 struct.
6990 (main) <stmember>: New variable.
6991 * gdb.base/ptype-offsets.exp: Add test for printing a struct
6992 with a static member in it.
6993
3541979f
AB
69942018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
6995
6996 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
6997 watchpoints enabled and disabled.
6998
c8ad9b9a
AB
69992018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7000
7001 * gdb.base/examine-backward.exp: Still run tests around address
7002 0x0, even if address 0x0 is not readable. Update the pattern for
7003 matching address 0x0 in expected output.
7004
e0e5e971
AB
70052018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
7006
7007 * gdb.base/share-env-with-gdbserver.c (main): Add call to
7008 malloc/free.
7009
1ea5da02
TV
70102018-07-04 Tom de Vries <tdevries@suse.de>
7011
7012 * gdb.dwarf2/dw2-error.exp: Update expected error message.
7013
471b9d15
MR
70142018-07-02 Maciej W. Rozycki <macro@mips.com>
7015
7016 PR tdep/8282
7017 * gdb.arch/mips-disassembler-options.exp: New test.
7018 * gdb.arch/mips-disassembler-options.s: New test source.
7019
75acb486
PA
70202018-06-29 Pedro Alves <palves@redhat.com>
7021
7022 * gdb.threads/names.exp: Adjust expected "info threads" output.
7023
cd2bb709
PA
70242018-06-29 Pedro Alves <palves@redhat.com>
7025
7026 * gdb.opt/inline-break.exp (line number, address): Add "info
7027 break" tests.
7028
991ff292
PA
70292018-06-29 Pedro Alves <palves@redhat.com>
7030
7031 * gdb.opt/inline-break.c (func1): Add "break here" marker.
7032 * gdb.opt/inline-break.exp: Test setting breakpoints by line
7033 number and address and running to them.
7034
356819b6 70352018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
7036
7037 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
7038
2512d7ef
JK
70392018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7040
7041 * lib/compiler.c: Remove executable permission flag.
7042
be1b6474
RB
70432018-06-28 Richard Bunt <richard.bunt@arm.com>
7044
7045 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
7046 code.
7047 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
7048
291f9a96
PT
70492018-06-28 Petr Tesarik <ptesarik@suse.cz>
7050
7051 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
7052
ed6dfe51
PT
70532018-06-28 Petr Tesarik <ptesarik@suse.cz>
7054
7055 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
7056 address argument is omitted.
7057
d4d429d5
PT
70582018-06-28 Petr Tesarik <ptesarik@suse.cz>
7059
7060 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
7061
7ab6656f
OJ
70622018-06-27 Omair Javaid <omair.javaid@linaro.org>
7063
7064 PR gdb/21695
7065 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
7066 * gdb.base/infoline-reloc-main-from-zero.c: New file.
7067
a33ccfc7
TT
70682018-06-26 Tom Tromey <tom@tromey.com>
7069
7070 PR rust/22574:
7071 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
7072 * gdb.rust/simple.rs (struct SimpleLayout): New.
7073
6d72d289
SM
70742018-06-22 Simon Marchi <simon.marchi@ericsson.com>
7075
7076 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
7077 "info registers" output.
7078
8363f9d5
RB
70792018-06-21 Richard Bunt <richard.bunt@arm.com>
7080
7081 * gdb.base/watchpoint-hw-attach.c: New test.
7082 * gdb.base/watchpoint-hw-attach.exp: New file.
7083
f00674fe
SM
70842018-06-20 Simon Marchi <simon.marchi@ericsson.com>
7085
7086 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
7087 through /bin/sh.
7088 * boards/dwarf4-gdb-index.exp: Likewise.
7089 * boards/fission-dwp.exp: Likewise.
7090
1d554008
UW
70912018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
7092
7093 * gdb.base/float128.exp: Add comment and improved fail message
7094 to the failure case of "print large128" test.
7095
d0ac1c44
SM
70962018-06-19 Simon Marchi <simon.marchi@ericsson.com>
7097
7098 * configure.ac: Remove AC_PREREQ.
7099 * configure: Re-generate.
7100
61b04dd0
PA
71012018-06-19 Pedro Alves <palves@redhat.com>
7102
7103 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
7104 (func_extern_caller): New.
7105 (main): Call func_extern_caller.
7106 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
7107 logic change.
7108
f63b508a
SM
71092018-06-18 Weimin Pan <weimin.pan@oracle.com>
7110
7111 PR gdb/16841
7112 * gdb.cp/typedef-base.cc: New file.
7113 * gdb.cp/typedef-base.exp: New file.
7114
0fe3a558
TV
71152018-06-18 Tom de Vries <tdevries@suse.de>
7116
7117 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
7118
7010835a
AB
71192018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7120 Richard Bunt <Richard.Bunt@arm.com>
7121
7122 * gdb.threads/attach-slow-waitpid.c: New file.
7123 * gdb.threads/attach-slow-waitpid.exp: New file.
7124 * gdb.threads/slow-waitpid.c: New file.
7125
14897d65
PA
71262018-06-14 Pedro Alves <palves@redhat.com>
7127
7128 * gdb.base/fork-running-state.c: Include <errno.h>.
7129 (exit_if_relative_exits): New.
7130 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
7131 exits.
7132 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
7133 child exits.
7134
5d9a0608
TV
71352018-06-14 Tom de Vries <tdevries@suse.de>
7136
7137 PR cli/22573
7138 * gdb.base/finish-pretty.c: New test.
7139 * gdb.base/finish-pretty.exp: New file.
7140
11ae5818
PA
71412018-06-14 Pedro Alves <palves@redhat.com>
7142
7143 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
7144 gdb's expected startup output.
7145
1d39de44
PA
71462018-06-14 Pedro Alves <palves@redhat.com>
7147
7148 * lib/selftest-support.exp (selftest_setup): Remove inlined
7149 function handling.
7150
70ee0000
TV
71512018-06-14 Tom de Vries <tdevries@suse.de>
7152
7153 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
7154 matching of breakpoint printing.
7155
11f4b608
TV
71562018-06-13 Tom de Vries <tdevries@suse.de>
7157
7158 PR testsuite/23269
7159 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
7160 (fork_child): ... here, and ...
7161 (fork_parent): ... here.
7162
71632018-06-12 Tom de Vries <tdevries@suse.de>
7164
7165 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
7166
9516f85a
AB
71672018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
7168 Stephen Roberts <stephen.roberts@arm.com>
7169
7170 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
7171 rewrite test to describe action performed, rather than possible
7172 failure.
7173
5045b3d7
GB
71742018-06-08 Gary Benson <gbenson@redhat.com>
7175
7176 * gdb.threads/check-libthread-db.exp: New file.
7177 * gdb.threads/check-libthread-db.c: Likewise.
7178
c61b06a1
TT
71792018-06-05 Tom Tromey <tom@tromey.com>
7180
7181 * gdb.base/default.exp: Update expected "show version" output.
7182
eb6af809
TT
71832018-06-05 Tom Tromey <tom@tromey.com>
7184
7185 PR cli/12326:
7186 * gdb.cp/static-print-quit.exp: Update.
7187 * lib/gdb.exp (pagination_prompt): Update.
7188 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
7189 * gdb.python/python.exp: Update.
7190
178d6a63
JB
71912018-06-04 Joel Brobecker <brobecker@adacore.com>
7192
7193 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
7194
8e817061
JB
71952018-06-01 Joel Brobecker <brobecker@adacore.com>
7196
7197 * gdb.ada/bp_fun_addr: New testcase.
7198
e86ca25f
TT
71992018-06-01 Tom Tromey <tom@tromey.com>
7200
7201 * gdb.xml/tdesc-regs.exp (load_description): Update expected
7202 results.
7203 * gdb.dwarf2/method-ptr.exp: Set language to C++.
7204 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
7205 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
7206 * gdb.base/maint.exp (maint_pass_if): Update.
7207
4b2dfa9d
MR
72082018-05-31 Maciej W. Rozycki <macro@mips.com>
7209
7210 * gdb.base/endian.exp: New test.
7211 * gdb.base/endian.c: New test source.
7212
45f25d6c
AB
72132018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
7214
7215 PR gdb/23203
7216 * gdb.base/bt-selected-frame.c: New file.
7217 * gdb.base/bt-selected-frame.exp: New file.
7218 * lib/gdb.exp (get_current_frame_number): New function.
7219
d9f6d7f8
MR
72202018-05-24 Maciej W. Rozycki <macro@mips.com>
7221 Pedro Alves <palves@redhat.com>
7222
7223 * gdb.threads/tls-core.c: Include <stdlib.h>
7224 (thread_proc): Call `abort'.
7225 * gdb.threads/tls-core.exp: Generate a core with core_find too.
7226 (tls_core_test): New procedure, bits factored out from ...
7227 (top level): ... here. Test both native cores and gcore cores.
7228
ff1cf532
TT
72292018-05-23 Tom Tromey <tom@tromey.com>
7230
7231 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
7232
b98664d3
TT
72332018-05-23 Tom Tromey <tom@tromey.com>
7234
7235 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
7236 symfile_complaints.
7237 (test_short_complaints): Likewise.
7238 (test_empty_complaints): Likewise.
7239 (test_initial_complaints): Update.
7240
4e9668d0
TT
72412018-05-23 Tom Tromey <tom@tromey.com>
7242
7243 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
7244
43ba33c7
TT
72452018-05-23 Tom Tromey <tom@tromey.com>
7246
7247 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
7248 (test_short_complaints): Update.
7249
035522c0
PA
72502018-05-22 Pedro Alves <palves@redhat.com>
7251
7252 * gdb.base/remote.exp: Only gdb_start after compiling the
7253 testcase. Issue "disconnect" before testing "set remote" command
7254 defaults. Issue clean_restart before running to main.
7255
cc0be08f
PA
72562018-05-22 Pedro Alves <palves@redhat.com>
7257
7258 * gdb.base/remote.exp: Adjust expected output of "show remote
7259 memory-write-packet-size". Add tests for "set remote
7260 memory-write-packet-size 0" and "set remote
7261 memory-write-packet-size fixed/limit".
7262
b1b60145
PA
72632018-05-22 Pedro Alves <palves@redhat.com>
7264
7265 PR gdb/22973
7266 * gdb.base/utf8-identifiers.c: New file.
7267 * gdb.base/utf8-identifiers.exp: New file.
7268
0ec848ad
PFC
72692018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7270
7271 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
7272
2c3305f6
PFC
72732018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7274
7275 * gdb.arch/powerpc-vsx-gcore.exp: New file.
7276
ce1e8424
TT
72772018-05-18 Tom Tromey <tom@tromey.com>
7278
7279 * gdb.base/ptype-offsets.exp: Update.
7280
ddfe970e
KS
72812018-05-17 Keith Seitz <keiths@redhat.com>
7282
7283 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
7284 in expected breakpoint stop locations.
7285 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
7286 move to proper scope to test variable values.
7287 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
7288 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
7289 New functions.
7290 (main): Call not_inline_func3.
7291 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
7292 inline_func1, inline_func2, and inline_func3. Test that when each
7293 breakpoint is hit, GDB properly reports both the stop location
7294 and the backtrace. Repeat tests for temporary breakpoints.
7295
0726fcc6
MR
72962018-05-15 Maciej W. Rozycki <macro@mips.com>
7297
7298 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
7299 rather then trying to access it in determining whether the PID
7300 of `gdbserver' could have been retrieved.
7301
8ee22052
AB
73022018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
7303
7304 * gdb.arch/amd64-init-x87-values.S: New file.
7305 * gdb.arch/amd64-init-x87-values.exp: New file.
7306
7785df48
JK
73072018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7308
7309 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
7310
56bcdbea
TT
73112018-05-04 Tom Tromey <tom@tromey.com>
7312
7313 PR python/22730:
7314 * gdb.python/python.exp: Test multi-line execute.
7315
a913fffb
TT
73162018-05-04 Tom Tromey <tom@tromey.com>
7317
7318 PR python/22731:
7319 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
7320
7a2c85f2
TT
73212018-05-04 Tom Tromey <tom@tromey.com>
7322
7323 PR gdb/11750:
7324 * gdb.base/define.exp: Test defining a user command inside a user
7325 command.
7326 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
7327
a3b60e45
JK
73282018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7329 Pedro Alves <palves@redhat.com>
7330
7331 PR breakpoints/19806 and support for PR external/20207.
7332 * gdb.base/watchpoint-unaligned.c: New file.
7333 * gdb.base/watchpoint-unaligned.exp: New file.
7334
45fe4a03
AB
73352018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7336
7337 * gdb.base/maint.exp: Make test names unique, use
7338 test_prefix_command_help to test 'help maint info', and remove
7339 repeated test of 'help maint'.
7340
9be2ae8f
TT
73412018-05-04 Tom Tromey <tom@tromey.com>
7342
7343 PR gdb/22619:
7344 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
7345 behavior.
7346
11859c31
AB
73472018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7348
7349 * gdb.base/maint.exp: Process output from 'maint print registers'
7350 line at a time.
7351
089a9490
AB
73522018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7353
7354 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
7355 timeout.
7356
9b0797e2
AB
73572018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
7358
7359 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
7360 filter pattern.
7361
f6ac5f3d
PA
73622018-05-02 Pedro Alves <palves@redhat.com>
7363
7364 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
7365 to_log_command renames.
7366 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7367
77d3c63b
TT
73682018-05-02 Tom Tromey <tom@tromey.com>
7369
7370 * gdb.python/py-parameter.exp: Set test message.
7371
0489430a
TT
73722018-05-02 Tom Tromey <tom@tromey.com>
7373
7374 PR python/20084:
7375 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
7376 PARAM_ZUINTEGER_UNLIMITED tests.
7377
1632f8ba
DR
73782018-04-28 Dan Robertson <danlrobertson89@gmail.com>
7379
7380 PR rust/23124
7381 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
7382 when casting.
7383
6d7bb824
TT
73842018-04-30 Tom Tromey <tom@tromey.com>
7385
7386 * gdb.python/py-type.exp: Check align attribute.
7387 * gdb.python/py-type.c: New "aligncheck" global.
7388
007e1530
TT
73892018-04-30 Tom Tromey <tom@tromey.com>
7390
7391 PR exp/17095:
7392 * gdb.dwarf2/dw2-align.exp: New file.
7393 * gdb.cp/align.exp: New file.
7394 * gdb.base/align.exp: New file.
7395 * lib/gdb.exp (gdb_int128_helper): New proc.
7396 (has_int128_c, has_int128_cxx): New caching procs.
7397
6873858b
TT
73982018-04-27 Tom Tromey <tom@tromey.com>
7399
7400 PR rust/22545:
7401 * gdb.rust/simple.exp: Add inclusive range tests.
7402
79188d8d
PA
74032018-04-26 Pedro Alves <palves@redhat.com>
7404
7405 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
7406 ifunc breakpoint locations correctly of ifunc breakpoints set
7407 while the program resolves the ifunc.
7408
c7075ad5
PA
74092018-04-26 Pedro Alves <palves@redhat.com>
7410
7411 * gdb.base/gnu-ifunc-final.c: New file.
7412 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
7413 * gdb.base/gnu-ifunc.exp (executable): Delete.
7414 (staticexecutable): Adjust.
7415 (lib_opts, exec_opts): Delete.
7416 (make_binsuffix, build, set-break): New procedures.
7417 (misc_tests): New, with tests factored out from the top level.
7418 (top level): Test different combinations of ifunc resolver name,
7419 resolver with and with debug info, and ifunc target with and
7420 without debug info. Wrap static tests with with_target_prefix.
7421
8388016d
PA
74222018-04-26 Pedro Alves <palves@redhat.com>
7423
7424 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
7425 return type" warnings.
7426
249b5733
PA
74272018-04-25 Pedro Alves <palves@redhat.com>
7428
7429 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
7430 killed".
7431 * gdb.base/kill-after-signal.exp: Likewise.
7432 * gdb.threads/kill.exp: Likewise.
7433
f67c0c91
SDJ
74342018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7435 Sergio Durigan Junior <sergiodj@redhat.com>
7436 Pedro Alves <palves@redhat.com>
7437
7438 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
7439 regexps to expect for '[Inferior ... detached]' as well.
7440 * gdb.base/attach.exp: Likewise.
7441 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
7442 "gdb_continue_to_end".
7443 (test_catch_syscall_with_wrong_args): Likewise.
7444 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
7445 ']'. Don't set 'verbose' on.
7446 * gdb.base/foll-vfork.exp: Likewise.
7447 * gdb.base/fork-print-inferior-events.c: New file.
7448 * gdb.base/fork-print-inferior-events.exp: New file.
7449 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
7450 '[Inferior ... has been killed]' message.
7451 * gdb.base/kill-after-signal.exp: Likewise.
7452 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
7453 detach message.
7454 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
7455 message.
7456 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
7457 regexps to expect for '[Inferior ... detached]' as well.
7458 * gdb.threads/process-dies-while-detaching.exp: Likewise.
7459
0a8ddac4
SM
74602018-04-24 Simon Marchi <simon.marchi@ericsson.com>
7461
7462 PR gdb/23104
7463 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
7464
701adfb0
PA
74652018-04-22 Rajendra SY <rajendra.sy@gmail.com>
7466
7467 PR gdb/23095
7468 * gdb.base/break-probes.exp: Pass shlib_load to
7469 prepare_for_testing. Set normal_bp to r_debug_state if target is
7470 bsd.
7471
d27d16bf
RB
74722018-04-19 Richard Bunt <richard.bunt@arm.com>
7473
7474 * gdb.threads/multiple-successive-infcall.c: New test.
7475 * gdb.threads/multiple-successive-infcall.exp: New file.
7476
a037790e
TT
74772018-04-17 Tom Tromey <tom@tromey.com>
7478
7479 * gdb.rust/simple.rs (Union): New type.
7480 (main): New local "u".
7481 * gdb.rust/simple.exp (test_one_slice): Add new test case.
7482
e3a91079
AA
74832018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7484
7485 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
7486 number information in output of "whereis" command.
7487 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
7488
b744723f
AA
74892018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7490
7491 * gdb.ada/info_types.exp: Adjust expected output to the line
7492 numbers now printed by "info var/func/type".
7493 * gdb.base/completion.exp: Likewise.
7494 * gdb.base/included.exp: Likewise.
7495 * gdb.cp/cp-relocate.exp: Likewise.
7496 * gdb.cp/cplusfuncs.exp: Likewise.
7497 * gdb.cp/namespace.exp: Likewise.
7498 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
7499
4a4495d6
MM
75002018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7501
7502 * gdb.btrace/cpu.exp: New.
7503
1d509aa6
MM
75042018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7505
7506 * gdb.base/step-indirect-call-thunk.exp: New.
7507 * gdb.base/step-indirect-call-thunk.c: New.
7508 * gdb.reverse/step-indirect-call-thunk.exp: New.
7509 * gdb.reverse/step-indirect-call-thunk.c: New.
7510
6295b6da
SM
75112018-04-11 Simon Marchi <simon.marchi@ericsson.com>
7512
7513 * gdb.base/pie-fork.c: New file.
7514 * gdb.base/pie-fork.exp: New file.
7515
50146e70
TT
75162018-04-11 Tom Tromey <tom@tromey.com>
7517
7518 * gdb.rust/simple.exp: Add test for ".." struct initializer.
7519
f50d8a2e
PA
75202018-04-10 Pedro Alves <palves@redhat.com>
7521
7522 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
7523 exits. Instead loop running forever.
7524 (fork_parent): Run forever too.
7525
a0be7a36
SM
75262018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7527
7528 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
7529 mi_continue_to_line.
7530 * gdb.mi/mi-stack.c (callee4): Add comment.
7531
9b73db36
SM
75322018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7533
7534 * gdb.mi/mi-stack.exp: Fix indentation.
7535
c912f608
SM
75362018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7537
7538 PR gdb/22979
7539 * gdb.arch/amd64-osabi.exp: New file.
7540
26540402
SM
75412018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7542
7543 PR gdb/22980
7544 * gdb.base/osabi.exp: New file.
7545
121ad66c 75462018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
7547
7548 * gdb.cp/static-typedef-print.exp: New file.
7549 * gdb.cp/static-typedef-print.cc: New file.
7550
3fcded8f
JB
75512018-03-27 Joel Brobecker <brobecker@adacore.com>
7552
7553 * gdb.ada/varsize_limit: New testcase.
7554
59cc4834
JB
75552018-03-27 Joel Brobecker <brobecker@adacore.com>
7556
7557 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
7558
7559 * gdb.ada/notcplusplus: New testcase.
7560
7561 * gdb.base/c-linkage-name.c: New file.
7562 * gdb.base/c-linkage-name.exp: New testcase.
7563
4ca59a9f
TT
75642018-03-26 Tom Tromey <tom@tromey.com>
7565
7566 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
7567 * gdb.python/py-framefilter.py (name_error): New global.
7568 (ErrorInName.function): Use name_error.
7569
978d6c75
TT
75702018-03-26 Tom Tromey <tom@tromey.com>
7571
7572 PR backtrace/15582:
7573 * gdb.python/py-framefilter.exp: Add "bt hide" test.
7574
b7fee5a3
KS
75752018-03-23 Keith Seitz <keiths@redhat.com>
7576
7577 PR c++/22968
7578 * gdb.cp/subtypes.exp: New file.
7579 * gdb.cp/subtypes.h: New file.
7580 * gdb.cp/subtypes.cc: New file.
7581 * gdb.cp/subtypes-2.cc: New file.
7582
376be529
AB
75832018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7584
7585 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
7586 (done): Call '_exit' not 'exit' to avoid atexit handlers.
7587 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
7588 -nostartfiles when compiling the test. Confirm that all registers
7589 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
7590
066cfa98
AB
75912018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7592
7593 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
7594 option, syntax was wrong anyway.
7595 * gdb.arch/arm-disp-step.exp: Likewise.
7596 * gdb.arch/sparc64-regs.exp: Likewise.
7597 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
7598 option, syntax was wrong anyway, switch to use
7599 prepare_for_testing.
7600 * gdb.arch/i386-disp-step.exp: Likewise.
7601
079670b9
AA
76022018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
7603
7604 * gdb.ada/exec_changed.exp: Replace "target_info exists
7605 use_gdb_stub" by "use_gdb_stub".
7606 * gdb.ada/start.exp: Likewise.
7607 * gdb.base/async-shell.exp: Likewise.
7608 * gdb.base/attach-pie-misread.exp: Likewise.
7609 * gdb.base/attach-wait-input.exp: Likewise.
7610 * gdb.base/break-entry.exp: Likewise.
7611 * gdb.base/break-interp.exp: Likewise.
7612 * gdb.base/dprintf-detach.exp: Likewise.
7613 * gdb.base/nostdlib.exp: Likewise.
7614 * gdb.base/solib-nodir.exp: Likewise.
7615 * gdb.base/statistics.exp: Likewise.
7616 * gdb.base/testenv.exp: Likewise.
7617 * gdb.mi/mi-exec-run.exp: Likewise.
7618 * gdb.mi/mi-start.exp: Likewise.
7619 * gdb.multi/dummy-frame-restore.exp: Likewise.
7620 * gdb.multi/multi-arch-exec.exp: Likewise.
7621 * gdb.multi/multi-arch.exp: Likewise.
7622 * gdb.multi/tids.exp: Likewise.
7623 * gdb.multi/watchpoint-multi.exp: Likewise.
7624 * gdb.python/py-events.exp: Likewise.
7625 * gdb.threads/attach-into-signal.exp: Likewise.
7626 * gdb.threads/attach-stopped.exp: Likewise.
7627 * gdb.threads/threadapply.exp: Likewise.
7628 * lib/selftest-support.exp: Likewise.
7629
26d6cec4
AA
76302018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
7631
7632 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
7633
4ee89e90
SR
76342018-03-20 Stephen Roberts <stephen.roberts@arm.com>
7635
7636 * gdb.perf/template-breakpoints.cc: New file.
7637 * gdb.perf/template-breakpoints.exp: New file.
7638 * gdb.perf/template-breakpoints.py: New file.
7639
92630041
TT
76402018-03-19 Tom Tromey <tom@tromey.com>
7641
7642 * gdb.rust/simple.rs (main): Add local variables field1, field2,
7643 y0.
7644 * gdb.rust/simple.exp: Test bare identifier form of struct
7645 initializer.
7646
76727919
TT
76472018-03-19 Tom Tromey <tom@tromey.com>
7648
7649 * gdb.gdb/observer.exp: Remove.
7650
194ed413
AA
76512018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7652
7653 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
7654 "qualified" option when setting breakpoints.
7655 * gdb.trace/backtrace.exp: Likewise.
7656 * gdb.trace/circ.exp: Likewise.
7657 * gdb.trace/collection.exp: Likewise.
7658 * gdb.trace/disconnected-tracing.exp: Likewise.
7659 * gdb.trace/ftrace-lock.exp: Likewise.
7660 * gdb.trace/ftrace.exp: Likewise.
7661 * gdb.trace/infotrace.exp: Likewise.
7662 * gdb.trace/packetlen.exp: Likewise.
7663 * gdb.trace/passc-dyn.exp: Likewise.
7664 * gdb.trace/qtro.exp: Likewise.
7665 * gdb.trace/read-memory.exp: Likewise.
7666 * gdb.trace/report.exp: Likewise.
7667 * gdb.trace/signal.exp: Likewise.
7668 * gdb.trace/status-stop.exp: Likewise.
7669 * gdb.trace/strace.exp: Likewise.
7670 * gdb.trace/tfind.exp: Likewise.
7671 * gdb.trace/trace-break.exp: Likewise.
7672 * gdb.trace/trace-condition.exp: Likewise.
7673 * gdb.trace/trace-mt.exp: Likewise.
7674 * gdb.trace/tstatus.exp: Likewise.
7675 * gdb.trace/tsv.exp: Likewise.
7676 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7677 * gdb.trace/unavailable.exp: Likewise.
7678 * gdb.trace/while-dyn.exp: Likewise.
7679
8b067d2c
AA
76802018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7681
7682 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
7683 that libinproctrace is copied to the target.
7684
3ae9ce5d
TT
76852018-03-14 Tom Tromey <tom@tromey.com>
7686
7687 PR cli/14977:
7688 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
7689 a null pointer.
7690 * gdb.base/wchar.exp: Likewise.
7691
b8c2339b
TT
76922018-03-14 Tom Tromey <tom@tromey.com>
7693
7694 PR cli/19918:
7695 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
7696 flag.
7697
4872dc46
SM
76982018-03-08 Simon Marchi <simon.marchi@ericsson.com>
7699
7700 PR gdb/22841
7701 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
7702 "target" to remote_exec.
7703
e4fe3756
SM
77042018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
7705
7706 PR gdb/22841
7707 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
7708 ${board}_upload): Remove.
7709
e95a97d4
AA
77102018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
7711
7712 * gdb.cp/watch-cp.cc: New test.
7713 * gdb.cp/watch-cp.exp: New file.
7714
dbbb1059
AB
77152018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7716
7717 * gdb.base/infcall-nested-structs.exp: New file.
7718 * gdb.base/infcall-nested-structs.c: New file.
7719 * gdb.base/float.exp: Add riscv support.
7720
ecc054c0
TP
77212018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
7722
7723 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
7724 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
7725
25e3c82c
SDJ
77262018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
7727
7728 * gdb.server/abspath.exp: New file.
7729 * lib/gdb.exp (with_cwd): New procedure.
7730
3083294d
SM
77312018-02-28 Simon Marchi <simon.marchi@ericsson.com>
7732
7733 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
7734 use it.
7735 (gdb_is_target_remote_prompt): New proc.
7736 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
7737 (gdb_is_target_native): Pass prompt parameter to
7738 gdb_is_target_1.
7739
3275ef47
SM
77402018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
7741
7742 * gdb.base/load-command.c: New file.
7743 * gdb.base/load-command.exp: New file.
7744 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
7745 (gdb_is_target_1): ...this, and generalize for other targets
7746 than just remote.
7747 (gdb_is_target_remote): Use gdb_is_target_1.
7748 (gdb_is_target_native): use gdb_is_target_1.
7749
6893c19a
TT
77502018-02-26 Tom Tromey <tom@tromey.com>
7751
7752 PR python/16497:
7753 * gdb.python/py-framefilter.exp: Update test.
7754
2ddeaf8a
TT
77552018-02-26 Tom Tromey <tom@tromey.com>
7756
7757 * gdb.dwarf2/variant.c: New file.
7758 * gdb.dwarf2/variant.exp: New file.
7759
c9317f21
TT
77602018-02-26 Tom Tromey <tom@tromey.com>
7761
7762 * gdb.rust/simple.exp: Accept more possible results in enum test.
7763
6f6d0c26
SM
77642018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
7765
7766 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
7767 parentheses.
7768
11b03145
MR
77692018-02-23 Maciej W. Rozycki <macro@mips.com>
7770
7771 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
7772 name of a variable: $actual_linejj -> $actual_line.
7773
54a27fe5
JB
77742018-02-21 John Baldwin <jhb@FreeBSD.org>
7775
7776 * gdb.arch/amd64-i386-address.exp: Fix a typo.
7777
de65820c
MM
77782018-02-20 Markus Metzger <markus.t.metzger@intel.com>
7779
7780 * gdb.btrace/buffer-size.exp: Do not force BTS.
7781
980548fd
PA
77822018-02-14 Pedro Alves <palves@redhat.com>
7783
7784 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
7785 getting a "Quit".
7786
c4e12631
MM
77872018-02-09 Markus Metzger <markus.t.metzger@intel.com>
7788
7789 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
7790 Fix test name.
7791
c2e0e465
SM
77922018-02-07 Simon Marchi <simon.marchi@ericsson.com>
7793
7794 * gdb.cp/m-static.exp: Check type of optimized out static
7795 member.
7796
f7216783
AB
77972018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
7798
7799 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
7800 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
7801
0625771b
LS
78022018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
7803 Leszek Swirski <leszeks@google.com>
7804
7805 * gdb.python/py-prettyprint.c
7806 (struct to_string_returns_value_inner,
7807 struct to_string_returns_value_wrapper): New.
7808 (main): Add tsrvw variable.
7809 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
7810 ToStringReturnsValueWrapper): New classes.
7811 (register_pretty_printers): Register new pretty-printers.
7812 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
7813 recursive pretty printer.
7814 * gdb.python/py-mi.exp: Likewise.
7815
59498c30
LS
78162018-02-01 Leszek Swirski <leszeks@google.com>
7817
7818 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
7819 functions with the same name as an include file are parsed
7820 correctly.
7821
d4d38844
YQ
78222018-02-01 Yao Qi <yao.qi@linaro.org>
7823
7824 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
7825 "\[^\r\n\]*".
7826
07e5f5cf
NP
78272018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
7828
7829 * gdb.arch/powerpc-prologue-frame.s: New file.
7830 * gdb.arch/powerpc-prologue-frame.c: Likewise.
7831 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
7832
929b5ad4
JB
78332018-01-31 Joel Brobecker <brobecker@adacore.com>
7834
7835 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
7836
e671cd59
PA
78372018-01-30 Pedro Alves <palves@redhat.com>
7838
7839 PR gdb/13211
7840 * gdb.base/interrupt-daemon.c: New.
7841 * gdb.base/interrupt-daemon.exp: New.
7842 * gdb.multi/multi-term-settings.c: New.
7843 * gdb.multi/multi-term-settings.exp: New.
7844
fc413dc4
JB
78452018-01-30 Joel Brobecker <brobecker@adacore.com>
7846
7847 * gdb.base/break.exp: Save the location where the breakpoint
7848 on break.c:47 was actually inserted when debugging the version
7849 compiled at -O2 and use it in the expected output of the "info
7850 break" test performed soon after.
7851
5c319bb2
PA
78522018-01-22 Pedro Alves <palves@redhat.com>
7853 Sergio Durigan Junior <sergiodj@redhat.com>
7854
7855 * gdb.base/whatis.exp: Add tests for 'set print object on' +
7856 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
7857
a9e40818
JB
78582018-01-22 Joel Brobecker <brobecker@adacore.com>
7859
7860 * gdb.base/break-include.c, gdb.base/break-include.inc,
7861 gdb.base/break-include.exp: New files.
7862 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
7863 line number now being the actual line number where the breakpoint
7864 was inserted.
7865 * gdb.mi/mi-break.exp: Likewise.
7866 * gdb.mi/mi-reverse.exp: Likewise.
7867 * gdb.mi/mi-simplerun.exp: Ditto.
7868
e707fc44
AB
78692018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7870
7871 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
7872 varobj.
7873 * gdb.mi/mi-var-create-rtti.exp: Likewise.
7874
ae451627
AB
78752018-01-21 Don Breazeal <donb@codesourcery.com>
7876 Andrew Burgess <andrew.burgess@embecosm.com>
7877
7878 * gdb.mi/basics.c: Add new global.
7879 * gdb.mi/mi-frame-regs.exp: New file.
7880 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
7881 case.
7882
b1b189e0
AB
78832018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7884
7885 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
7886 non-parameter, and on an unknown symbol.
7887
fcfcc376
TT
78882018-01-19 Tom Tromey <tom@tromey.com>
7889
7890 * gdb.rust/modules.rs (TWENTY_THREE): New global.
7891 * gdb.rust/modules.exp: Add ::-qualified lookup test.
7892
634c1c31
AA
78932018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7894
7895 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
7896 setrlimit and chdir to int.
7897
d6ad07fd
AA
78982018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7899
7900 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
7901 function.
7902 (my_tend): Likewise.
7903 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
7904 rationale of avoiding FP- and vector instructions.
7905
adf8243b
RK
79062018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
7907
7908 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
7909 "info reg" with "\[ \t\]*".
7910 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
7911 "\[ \t\]+".
7912 * gdb.arch/s390-multiarch.exp: Ditto.
7913 * gdb.base/pc-fp.exp: Ditto.
7914 * gdb.reverse/i386-precsave.exp: Ditto.
7915 * gdb.reverse/i386-reverse.exp: Ditto.
7916 * gdb.reverse/i387-env-reverse.exp: Ditto.
7917 * gdb.reverse/i387-stack-reverse.exp: Ditto.
7918
dcc06925
AA
79192018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7920
7921 * lib/gdb.exp (gdb_compile): Re-enable use of
7922 universal_compile_options for languages other than Rust.
7923
25d4fd80
AA
79242018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7925
7926 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
7927
ee7f689e 79282018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
7929
7930 PR gdb/16577
7931 * gdb.base/solib-vanish.exp: New.
7932 * gdb.base/solib-vanish-main.c: New.
7933 * gdb.base/solib-vanish-lib1.c: New.
7934 * gdb.base/solib-vanish-lib2.c: New.
7935
d8447b6b
YQ
79362018-01-17 Yao Qi <yao.qi@linaro.org>
7937
7938 * gdb.compile/compile.exp: Match the address printed for
7939 frame in the output of command "bt".
7940
86d6a90c
TT
79412018-01-15 Tom Tromey <tom@tromey.com>
7942
7943 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
7944 compute sp_reg.
7945
cbcdb1aa
AB
79462018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7947
7948 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
7949 to prepare.
7950 (prepare): Return 0 on error, 1 on success.
7951
eea61984
PA
79522018-01-12 Pedro Alves <palves@redhat.com>
7953
7954 * gdb.base/continue-after-aborted-step-over.c: New.
7955 * gdb.base/continue-after-aborted-step-over.exp: New.
7956
6181e9c2
SM
79572018-01-11 Simon Marchi <simon.marchi@ericsson.com>
7958
7959 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
7960 options when not creating an executable.
7961
3cada740
PA
79622018-01-11 Pedro Alves <palves@redhat.com>
7963
7964 PR remote/22597
7965 * gdb.server/stop-reply-no-thread.c: New file.
7966 * gdb.server/stop-reply-no-thread.exp: New file.
7967
c63d3e8d
PA
79682018-01-10 Pedro Alves <palves@redhat.com>
7969
7970 PR gdb/22670
7971 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
7972 functions too. Test setting breakpoints and printing C functions
7973 with no debug info too.
7974 * gdb.ada/bp_c_mixed_case/qux.c: New file.
7975
d4c2a405
PA
79762018-01-10 Pedro Alves <palves@redhat.com>
7977
7978 PR gdb/22670
7979 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
7980 a fail.
7981
8825213e
PA
79822018-01-10 Pedro Alves <palves@redhat.com>
7983
7984 PR gdb/22670
7985 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
7986
605fd3c6
YQ
79872018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7988
7989 * gdb.server/unittest.exp: Match the output in non-development
7990 mode.
7991
1e5ded6c
YQ
79922018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7993
7994 * gdb.gdb/unittest.exp: Match output in non-development mode.
7995
30066b0b
JB
79962018-01-08 Joel Brobecker <brobecker@adacore.com>
7997
7998 * gdb.ada/access_tagged_param.exp: Relax expected output
7999 for value of "ObjL" in "continue" to pck.inspect breakpoint
8000 test.
8001
04bafb1e
XR
80022018-01-08 Joel Brobecker <brobecker@adacore.com>
8003
9f86398b
JB
8004 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
8005 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 8006
e379cee6
PA
80072018-01-05 Pedro Alves <palves@redhat.com>
8008
8009 PR gdb/18653
8010 * gdb.base/libsegfault.exp: New.
8011
de63c46b
PA
80122018-01-05 Joel Brobecker <brobecker@adacore.com>
8013
8014 PR gdb/22670
8015 * gdb.ada/access_tagged_param.exp: New file.
8016 * gdb.ada/access_tagged_param/foo.adb: New file.
8017
f98fc17b
PA
80182018-01-05 Pedro Alves <palves@redhat.com>
8019
8020 PR gdb/22670
8021 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
8022 exercise lower case too, and to exercise both full matching and
8023 wild matching.
8024
342f8240
JB
80252018-01-05 Joel Brobecker <brobecker@adacore.com>
8026
8027 * gdb.ada/rename_subscript_param: New testcase.
8028
7150d33c
JG
80292018-01-05 Jerome Guitton <guitton@adacore.com>
8030
8031 * gdb.ada/arr_acc_idx_w_gap: New testcase.
8032
cc0e770c
JB
80332018-01-05 Joel Brobecker <brobecker@adacore.com>
8034
8035 * gdb.ada/convvar_comp: New testcase.
8036
672a41aa 80372018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
8038
8039 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
8040 (My_Table): New global variable.
8041 * testsuite/gdb.ada/array_char_idx.exp: Add test.
8042
7365ec2f
JB
80432018-01-04 Joel Brobecker <brobecker@adacore.com>
8044
8045 PR gdb/22670
8046 * gdb.ada/maint_with_ada: New testcase.
8047
289483b6
JB
80482018-01-04 Joel Brobecker <brobecker@adacore.com>
8049
8050 PR gdb/22670
8051 * gdb.ada/bp_c_mixed_case: New testcase.
8052
344420da
JB
80532018-01-04 Joel Brobecker <brobecker@adacore.com>
8054
8055 PR gdb/22670
8056 * gdb.ada/complete.exp: Add "complete break ada" test.
8057
66fc87a0
JB
80582018-01-04 Joel Brobecker <brobecker@adacore.com>
8059
8060 PR gdb/22670
8061 * gdb.ada/info_addr_mixed_case: New testcase.
8062
9f757bf7
XR
80632018-01-03 Xavier Roirand <roirand@adacore.com>
8064
8065 * gdb.ada/excep_handle.exp: New testcase.
8066 * gdb.ada/excep_handle/foo.adb: New file.
8067 * gdb.ada/excep_handle/pck.ads: New file.
8068
bd570f80
JB
80692018-01-03 Joel Brobecker <brobecker@adacore.com>
8070
8071 * gdb.base/step-line.c: Add extra empty line in copyright header.
8072 * gdb.base/step-line.inp: Likewise.
8073
9fe561ab
JB
80742018-01-02 Joel Brobecker <brobecker@adacore.com>
8075
8076 * gdb.ada/dyn_stride.exp: Add slice test.
8077
a405673c
JB
80782018-01-02 Joel Brobecker <brobecker@adacore.com>
8079
8080 * gdb.ada/dyn_stride: New testcase.
8081
cef0f868
SH
80822017-12-27 Stafford Horne <shorne@gmail.com>
8083
8084 * gdb.xml/extra-regs.xml: Add example foo reggroup.
8085 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
8086
b67d92b0
SH
80872017-12-27 Stafford Horne <shorne@gmail.com>
8088
8089 * gdb.base/reggroups.c: New file.
8090 * gdb.base/reggroups.exp: New file.
8091
eccab96d
JB
80922017-12-18 Joel Brobecker <brobecker@adacore.com>
8093
8094 * gdb.dwarf2/ada-valprint-error.c: New file.
8095 * gdb.dwarf2/ada-valprint-error.exp: New file.
8096
0e2da9f0
JB
80972017-12-18 Joel Brobecker <brobecker@adacore.com>
8098
8099 * gdb.ada/assign_arr: New testcase.
8100
cb923fcc
XR
81012017-12-18 Xavier Roirand <roirand@adacore.com>
8102
8103 * gdb.ada/funcall_ptr: New testcase.
8104
7c161838
SDJ
81052017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8106
8107 PR cli/16224
8108 * gdb.base/ptype-offsets.cc: New file.
8109 * gdb.base/ptype-offsets.exp: New file.
8110
1af17fd9
YQ
81112017-12-15 Yao Qi <yao.qi@linaro.org>
8112
8113 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
8114 if XML is disabled.
8115
828d5846
XR
81162017-12-15 Xavier Roirand <roirand@adacore.com>
8117
8118 * gdb.ada/same_component_name: New testcase.
8119
79e8fcaa
JB
81202017-12-14 Joel Brobecker <brobecker@adacore.com>
8121
8122 * gdb.ada/str_binop_equal: New testcase.
8123
e05fa6f9
JB
81242017-12-14 Joel Brobecker <brobecker@adacore.com>
8125
8126 * gdb.ada/task_switch_in_core: New testcase.
8127
b89641ba
SM
81282017-12-13 Simon Marchi <simon.marchi@ericsson.com>
8129
8130 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
8131 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
8132 call test_bkpt_qualified.
8133 (test_bkpt_qualified): New proc.
8134
6892d2e4
PA
81352017-12-13 Pedro Alves <palves@redhat.com>
8136
8137 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8138 Tighten regexp by matching with an anchor.
8139
a22ecf70
PA
81402017-12-13 Pedro Alves <palves@redhat.com>
8141
8142 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
8143 ("expression with namespace"): New set of tests.
8144 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
8145 (Nested::Test_NS::qux): New.
8146 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
8147 defaults to 'start_quote_char' and 'end_quote_char' parameters.
8148
9937536c
JB
81492017-12-13 Joel Brobecker <brobecker@adacore.com>
8150
8151 * gdb.base/server-del-break.c: New file.
8152 * gdb.base/server-del-break.exp: New file.
8153
fe49c6f5
SH
81542017-12-12 Stafford Horne <shorne@gmail.com>
8155
8156 * gdb.xml/tdesc-regs.exp: Add or1k support.
8157
c3d18620
SH
81582017-12-12 Stafford Horne <shorne@gmail.com>
8159
8160 * gdb.base/bp-permanent.c: Define nop of or1k.
8161
c5f9cfc8
JB
81622017-12-11 Joel Brobecker <brobecker@adacore.com>
8163
8164 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
8165 output with components being reordered.
8166
a9c135fc
JB
81672017-12-11 Joel Brobecker <brobecker@adacore.com>
8168
8169 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
8170 output with components being reordered.
8171
927aa2e7
JK
81722017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8173 Pedro Alves <palves@redhat.com>
8174
8175 * gdb.base/maint.exp (check for .gdb_index): Check also for
8176 .debug_names.
8177 * gdb.dlang/watch-loc.c (.debug_aranges): New.
8178 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
8179 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
8180 (.gdb_index used after symbol reloading): Support also .debug_names.
8181 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
8182
f17d9474
YQ
81832017-12-08 Yao Qi <yao.qi@linaro.org>
8184
8185 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8186 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
8187
a0de8c21
YQ
81882017-12-08 Yao Qi <yao.qi@linaro.org>
8189
8190 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8191 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
8192
a738ea1d
YQ
81932017-12-08 Yao Qi <yao.qi@linaro.org>
8194
8195 * gdb.arch/aarch64-tagged-pointer.c: New file.
8196 * gdb.arch/aarch64-tagged-pointer.exp: New file.
8197
1cd9a73b
SDJ
81982017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
8199
8200 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
8201 "int".
8202
fa6eb693
KS
82032017-12-07 Keith Seitz <keiths@redhat.com>
8204
8205 PR breakpoints/22569
8206 * gdb.linespec/ls-errs.exp: Change expected result of "break
8207 -source this file has spaces.c -line 3".
8208 Check that an explicit source file followed by whitespace is
8209 identified as an invalid explicit location.
8210
883fd55a
KS
82112017-12-07 Keith Seitz <keiths@redhat.com>
8212
8213 * gdb.cp/nested-types.cc: New file.
8214 * gdb.cp/nested-types.exp: New file.
8215 * lib/cp-support.exp: Load data-structures.exp library.
8216 (debug_cp_test_ptype_class): New global.
8217 (cp_ptype_class_verbose, next_line): New procedures.
8218 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
8219 Add and document new return value.
8220 Switch the list of lines to a queue.
8221 Add support for new `type' key for nested type definitions.
8222 Add debugging/troubleshooting messages.
8223 * lib/data-structures.exp: New file.
8224
ec72db3e
SM
82252017-12-07 Simon Marchi <simon.marchi@ericsson.com>
8226
8227 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
8228 with proc_with_prefix, don't use with_test_prefix.
8229
99598d71
TT
82302017-12-07 Tom Tromey <tom@tromey.com>
8231
8232 * gdb.base/break.exp: Add test for empty "commands".
8233
a8806230
YQ
82342017-12-07 Yao Qi <yao.qi@linaro.org>
8235
8236 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
8237 malloc and catch syscall.
8238
824cc835
PM
82392017-12-07 Phil Muldoon <pmuldoon@redhat.com>
8240
e79be6e5 8241 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
8242 tests for explicit locations.
8243
7cc244de
PA
82442017-12-06 Pedro Alves <palves@redhat.com>
8245
8246 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
8247 force-disabling XML descriptions.
8248
50a1fdd5
PA
82492017-12-04 Pedro Alves <palves@redhat.com>
8250
8251 PR gdb/22499
8252 * gdb.arch/amd64-disp-step-avx.S: New file.
8253 * gdb.arch/amd64-disp-step-avx.exp: New file.
8254
f0fb2488
PA
82552017-12-03 Pedro Alves <palves@redhat.com>
8256
8257 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
8258 and <string.h>.
8259 (parent_function): Print distinct messages when waitpid fails, or
8260 the child exits with a signal, or the child exits for an unhandled
8261 reason.
8262 * gdb.threads/process-dies-while-detaching.exp
8263 (detach_and_expect_exit): New 'inf_output_re' parameter and use
8264 it. Wait for both inferior output and GDB's prompt. Use an
8265 indirect spawn id list.
8266 (do_detach): New parameter 'child_exit'. Use it to compute
8267 expected inferior output.
8268 (test_detach, test_detach_watch, test_detach_killed_outside):
8269 Adjust to pass down the expected child exit kind.
8270
97cbe998
SDJ
82712017-12-01 Joel Brobecker <brobecker@adacore.com>
8272 Sergio Durigan Junior <sergiodj@redhat.com>
8273 Pedro Alves <palves@redhat.com>
8274
8275 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
8276
40fc416f
SDJ
82772017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
8278
8279 * gdb.base/relocate.exp: Add tests to guarantee that arguments
8280 to 'symbol-file' and 'add-symbol-file' can be
8281 position-independent.
8282
1cc75e92
YQ
82832017-12-01 Yao Qi <yao.qi@linaro.org>
8284
8285 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
8286 the URL in copyright header.
8287 * gdb.arch/aarch64-fp.exp: Likewise.
8288 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
8289 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
8290 * gdb.base/expand-psymtabs.exp: Likewise.
8291 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
8292 * gdb.fortran/common-block.exp: Likewise.
8293 * gdb.fortran/common-block.f90: Likewise.
8294 * gdb.fortran/logical.exp: Likewise.
8295 * gdb.fortran/vla-datatypes.f90: Likewise.
8296 * gdb.fortran/vla-sub.f90: Likewise.
8297
875fb7a7
JB
82982017-11-30 Joel Brobecker <brobecker@adacore.com>
8299
8300 * gdb.ada/repeat_dyn: New testcase.
8301
6f14765f
UW
83022017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8303
8304 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
8305 Update for changed thread numbering.
8306 * gdb.cell/bt.exp: Update for changed GDB output.
8307
f1af7b94
SM
83082017-11-30 Simon Marchi <simon.marchi@ericsson.com>
8309
8310 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
8311 setting isremote by hand.
8312 * boards/dwarf4-gdb-index.exp: Likewise.
8313 * boards/fission.exp: Likewise.
8314 * boards/stabs.exp: Likewise.
8315
e3919f3e
PA
83162017-11-30 Pedro Alves <palves@redhat.com>
8317
8318 * gdb.linespec/cpls-ops.exp
8319 (check_explicit_skips_function_argument): Extract the underlying
8320 type of size_t instead of hardcoding it.
8321
bd69330d
PA
83222017-11-29 Pedro Alves <palves@redhat.com>
8323
8324 PR c++/19436
8325 * gdb.linespec/cpls-abi-tag.cc: New file.
8326 * gdb.linespec/cpls-abi-tag.exp: New file.
8327
a20714ff
PA
83282017-11-29 Pedro Alves <palves@redhat.com>
8329
8330 * gdb.base/langs.exp: Use -qualified.
8331 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
8332 it.
8333 * gdb.cp/namespace.exp: Use -qualified.
8334 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
8335 (overload-3, template-overload, template-ret-type, const-overload)
8336 (const-overload-quoted, anon-ns, ambiguous-prefix): New
8337 procedures.
8338 (test_driver): Call them.
8339 * gdb.cp/save-bp-qualified.cc: New.
8340 * gdb.cp/save-bp-qualified.exp: New.
8341 * gdb.linespec/explicit.exp: Test -qualified.
8342 * lib/completion-support.exp (completion::explicit_opts_list): Add
8343 "-qualified".
8344 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
8345
f6f1d339
PM
83462017-11-29 Phil Muldoon <pmuldoon@redhat.com>
8347
8348 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
8349
02ca603a
TT
83502017-11-29 Tom Tromey <tom@tromey.com>
8351
8352 * gdb.base/relocate.exp: Update invalid argument test.
8353 Add new tests for invalid arguments.
8354
ed6c0bfb
TP
83552017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8356
8357 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
8358 Return 0 as a long.
8359 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
8360
f106e10e
TP
83612017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8362
8363 * gdb.cp/breakpoint.cc (bar): Set return type to void.
8364 * gdb.cp/psymtab-parameter.cc (func): Likewise.
8365 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
8366 func ().
8367 * gdb.cp/shadow.cc (B.func): Return 0.
8368
10329bb2
JB
83692017-11-27 Joel Brobecker <brobecker@adacore.com>
8370
8371 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
8372 expected output in gdb_expect call to allow the exception
8373 message to be present as well. Fix syntax confusion to avoid
8374 TCL thinking that exception_name is an array.
8375
617cd4bc
UW
83762017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
8377
8378 * gdb.arch/spu-info.c: Include <unistd.h>.
8379 (do_signal_test): Fix broken calls to write.
8380 * gdb.arch/spu-info.exp: Use prepare_for_testing.
8381 Fix checks for empty mailboxes. Update signal tests for corrected
8382 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
8383 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
8384 * gdb.cell/arch.exp: Use standard_output_file.
8385 * gdb.cell/break.exp: Likewise.
8386 * gdb.cell/bt.exp: Likewise.
8387 * gdb.cell/core.exp: Likewise.
8388 * gdb.cell/dwarfaddr.exp: Likewise.
8389 * gdb.cell/ea-cache.exp: Likewise.
8390 * gdb.cell/ea-standalone.exp: Likewise.
8391 * gdb.cell/f-regs.exp: Likewise.
8392 * gdb.cell/fork.exp: Likewise.
8393 * gdb.cell/gcore.exp: Likewise.
8394 * gdb.cell/mem-access.exp: Likewise.
8395 * gdb.cell/ptype.exp: Likewise.
8396 * gdb.cell/registers.exp: Likewise.
8397 * gdb.cell/sizeof.exp: Likewise.
8398 * gdb.cell/solib-symbol.exp: Likewise.
8399 * gdb.cell/solib.exp: Likewise.
617cd4bc 8400
a81aaca0
PA
84012017-11-25 Pedro Alves <palves@redhat.com>
8402
8403 * gdb.base/complete-empty.exp: New file.
8404 * gdb.base/completion.exp: Adjust.
8405
6a3c6ee4
PA
84062017-11-25 Pedro Alves <palves@redhat.com>
8407
8408 * gdb.linespec/cpls-ops.cc: New file.
8409 * gdb.linespec/cpls-ops.exp: New file.
8410 * lib/completion-support.exp (test_complete_prefix_range_re): New,
8411 factored out from ...
8412 (test_complete_prefix_range): ... this.
8413
8955eb2d
PA
84142017-11-24 Pedro Alves <palves@redhat.com>
8415
8416 * gdb.linespec/cpcompletion.exp: New file.
8417 * gdb.linespec/cpls-hyphen.cc: New file.
8418 * gdb.linespec/cpls.cc: New file.
8419 * gdb.linespec/cpls2.cc: New file.
8420 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
8421 test to use test_gdb_complete_unique. Add label completion,
8422 keyword completion and explicit location completion tests.
8423 * lib/completion-support.exp: New file.
8424
e547c119
JB
84252017-11-24 Joel Brobecker <brobecker@adacore.com>
8426
8427 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
8428 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
8429 when hitting an exception catchpoint.
8430
7c3c1aa8
YQ
84312017-11-22 Yao Qi <yao.qi@linaro.org>
8432
8433 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
8434
41bd68f5
SM
84352017-11-22 Simon Marchi <simon.marchi@ericsson.com>
8436
8437 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
8438 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
8439 * gdb.dwarf2/info-locals-optimized-out.c: New file.
8440
1daad298
YQ
84412017-11-22 Yao Qi <yao.qi@linaro.org>
8442
8443 * gdb.base/info-os.exp: Pass pthreads.
8444 * gdb.multi/multi-attach.exp: Likewise.
8445
88465e87
YQ
84462017-11-22 Yao Qi <yao.qi@linaro.org>
8447
8448 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
8449 compiler.
8450
dc196b23
YQ
84512017-11-22 Yao Qi <yao.qi@linaro.org>
8452
8453 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
8454 * gdb.base/break-interp.exp: Likewise.
8455 * gdb.base/jit-attach-pie.exp: Likewise.
8456
2400729e
UW
84572017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8458
8459 * gdb.base/float128.c (large128): New variable.
8460 * gdb.base/float128.exp: Add test to print largest __float128 value.
8461
7a26362d
UW
84622017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8463
8464 * gdb.arch/vsx-regs.exp: Update register content checks.
8465
ed0f4273
UW
84662017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
8467
8468 * gdb.arch/ppc-longdouble.exp: New file.
8469 * gdb.arch/ppc-longdouble.c: Likewise.
8470
a25d69c6
PA
84712017-11-21 Pedro Alves <palves@redhat.com>
8472
8473 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
8474
73fcf641
PA
84752017-11-20 Pedro Alves <palves@redhat.com>
8476
8477 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
8478 (long_double_typedef): New typedefs.
8479 Use DEF on double and long double.
8480 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
8481 cases.
8482 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
8483 and 'long_double_ptr_same_size' locals. Use them to decide
8484 whether cast from array/function to float is valid/invalid.
8485
71a3c369
TT
84862017-11-17 Tom Tromey <tom@tromey.com>
8487
8488 * gdb.rust/traits.rs: New file.
8489 * gdb.rust/traits.exp: New file.
8490
ced9779b
JB
84912017-11-17 Joel Brobecker <brobecker@adacore.com>
8492
8493 * gdb.ada/minsyms: New testcase.
8494
a0922d80
PA
84952017-11-16 Pedro Alves <palves@redhat.com>
8496
8497 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
8498 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
8499
ea04e54c
PA
85002017-11-16 Pedro Alves <palves@redhat.com>
8501
8502 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
8503 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
8504
e849ea89
PA
85052017-11-16 Pedro Alves <palves@redhat.com>
8506
8507 * gdb.server/reconnect-ctrl-c.c: New file.
8508 * gdb.server/reconnect-ctrl-c.exp: New file.
8509
d8ae99a7
PM
85102017-11-16 Phil Muldoon <pmuldoon@redhat.com>
8511
8512 * gdb.python/py-rbreak.exp: New file.
8513 * gdb.python/py-rbreak.c: New file.
8514 * gdb.python/py-rbreak-func2.c: New file.
8515
968a13f8
PA
85162017-11-16 Pedro Alves <palves@redhat.com>
8517
8518 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
8519 pattern.
8520 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
8521 GDB.
8522
71774bc9
SM
85232017-11-15 Simon Marchi <simon.marchi@ericsson.com>
8524
8525 * gdb.tui/completionn.exp (test_tab_completion): Add space in
8526 regex.
8527
ddbb44cf
SM
85282017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
8529
8530 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
8531 test names.
8532
584a564f
PA
85332017-11-09 Pedro Alves <palves@redhat.com>
8534
8535 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
8536 factored out from ...
8537 (top level): ... here, and adjusted to avoid expecting beyond the
8538 prompt in a single gdb_test_multiple.
8539
5ed7a928
PA
85402017-11-09 Pedro Alves <palves@redhat.com>
8541
8542 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
8543 output.
8544 * gdb.server/ext-attach.exp ("kill" test): Likewise.
8545 * gdb.server/ext-restart.exp ("kill" test): Likewise.
8546 * gdb.server/ext-run.exp ("kill" test): Likewise.
8547 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
8548
a60e0738
PA
85492017-11-09 Pedro Alves <palves@redhat.com>
8550
8551 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
8552 match till end of line.
8553
2c88253f
PA
85542017-11-09 Pedro Alves <palves@redhat.com>
8555
8556 * gdb.base/memattr.exp: Tighten regexes to match the end line.
8557
c7a38517
PA
85582017-11-09 Pedro Alves <palves@redhat.com>
8559
8560 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
8561 New procedures, factored out from ...
8562 (top level): ... here, and adjusted to avoid expecting beyond the
8563 prompt in one go.
8564
f29f4b6b
PA
85652017-11-09 Pedro Alves <palves@redhat.com>
8566
8567 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
8568 output. Fix '?' match.
8569
286acbb5
JB
85702017-11-08 Joel Brobecker <brobecker@adacore.com>
8571
8572 * gdb.ada/scoped_watch: New testcase.
8573 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
8574 which is actually correct.
8575 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
8576 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
8577
62d7ae92
PA
85782017-11-08 Pedro Alves <palves@redhat.com>
8579
8580 * gdb.gdb/complaints.exp (test_initial_complaints)
8581 (test_serial_complaints, test_short_complaints): Call
8582 complaint_internal instead of complaint.
8583
280ca31f
DT
85842017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
8585
8586 * gdb.threads/tls-core.c: New file.
8587 * gdb.threads/tls-core.exp: Likewise.
8588
b5ec771e
PA
85892017-11-08 Pedro Alves <palves@redhat.com>
8590
8591 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
8592 (p Exported_Capitalized): New test.
8593 (p exported_capitalized): New test.
8594
a02b41a7
PA
85952017-11-07 Pedro Alves <palves@redhat.com>
8596
8597 * gdb.cp/ena-dis-br-range.exp: Add more tests.
8598
95e95a6d
PA
85992017-11-07 Pedro Alves <palves@redhat.com>
8600
8601 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
8602 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
8603 (disable_invalid, disable_inverted, disable_negative): New
8604 procedures.
8605 ("bad numbers"): New set of tests.
8606
cee62dbd
PA
86072017-11-07 Pedro Alves <palves@redhat.com>
8608
8609 * gdb.cp/ena-dis-br-range.exp: Add tests.
8610
cc638e86
PA
86112017-11-07 Pedro Alves <palves@redhat.com>
8612
8613 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
8614
d0fe4701
XR
86152017-11-07 Xavier Roirand <roirand@adacore.com>
8616 Pedro Alves <palves@redhat.com>
8617
8618 * gdb.base/ena-dis-br.exp: Add reference to
8619 gdb.cp/ena-dis-br-range.exp.
8620 * gdb.cp/ena-dis-br-range.exp: New file.
8621 * gdb.cp/ena-dis-br-range.cc: New file.
8622
46f67f80
PA
86232017-11-06 Pedro Alves <palves@redhat.com>
8624
8625 * gdb.base/attach-non-pgrp-leader.c: New.
8626 * gdb.base/attach-non-pgrp-leader.exp: New.
8627
726e1356
PA
86282017-11-06 Pedro Alves <palves@redhat.com>
8629
8630 * configure.ac: No longer check for termio.h and sgtty.h.
8631 * configure: Regenerate.
8632 * remote-utils.c: Include termios.h instead of gdb_termios.h.
8633 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
8634 Remove termio and sgtty code.
8635
50ab6ace
YQ
86362017-11-03 Yao Qi <yao.qi@linaro.org>
8637
8638 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
8639 in GDB is disabled.
8640
8e68731c
YQ
86412017-11-03 Yao Qi <yao.qi@linaro.org>
8642
8643 * gdb.python/py-thrhandle.exp: Skip it if python is not
8644 enabled.
8645
3a87ae65
SM
86462017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
8647
8648 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
8649 as a breakpoint command.
8650
484d8d36
MD
86512017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
8652
8653 PR python/21213
8654 * gdb.python/py-infthread.exp: Test calling
8655 InferiorThread.inferior () multiple times in a row.
8656
4a27f119
KS
86572017-10-27 Keith Seitz <keiths@redhat.com>
8658
8659 * gdb.opt/inline-break.exp (break_info_1): New procedure.
8660 Test "info break" for every inlined function breakpoint.
8661
bb11dd58
YQ
86622017-10-27 Yao Qi <yao.qi@linaro.org>
8663
8664 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
8665
a43f3893
PF
86662017-10-26 Patrick Frants <osscontribute@gmail.com>
8667
8668 * gdb.cp/classes.exp (test_static_members): Test printing
8669 Outer::instance.
8670 * gdb.cp/classes.c (struct Inner, struct Outer): New.
8671 (Inner::instance, Outer::instance): New.
8672
792ccf00
PA
86732017-10-24 Pedro Alves <palves@redhat.com>
8674
8675 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
8676 extra console" test in two stages.
8677
eb2bfbad
PA
86782017-10-24 Pedro Alves <palves@redhat.com>
8679
8680 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
8681
1f75a651
PA
86822017-10-24 Pedro Alves <palves@redhat.com>
8683
8684 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
8685 loop.
8686
779990d9
PA
86872017-10-24 Pedro Alves <palves@redhat.com>
8688
8689 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
8690 $attempt" and "stoppedtry $stoppedtry" test prefixes.
8691
ad9b8f5d
PA
86922017-10-24 Pedro Alves <palves@redhat.com>
8693
8694 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
8695 parameter and handle it. Don't output read value in test name.
8696
fee6da6e
PA
86972017-10-24 Pedro Alves <palves@redhat.com>
8698
8699 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
8700 custom test name.
8701
10389c2c
PA
87022017-10-24 Pedro Alves <palves@redhat.com>
8703
8704 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
8705 include the unstable output directory name in the test's name.
8706 (initial_setup_simple) <'set args'>: Use custom test name.
8707
a80e65a9
PA
87082017-10-24 Pedro Alves <palves@redhat.com>
8709
8710 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
8711 with explicit test name.
8712
15763a09
PA
87132017-10-20 Pedro Alves <palves@redhat.com>
8714
8715 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
8716 'wait -i'. Use gdb_assert and remote_close.
8717
49a4ce2e
AB
87182017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
8719
8720 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
8721 number from variable rather than hard-coded.
8722
a75868f5
PA
87232017-10-19 Pedro Alves <palves@redhat.com>
8724
8725 * gdb.base/long-inferior-output.c: New file.
8726 * gdb.base/long-inferior-output.exp: New file.
8727
c8ba13ad
KS
87282017-11-18 Keith Seitz <keiths@redhat.com>
8729
8730 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
8731 method.
8732 (main): Call it.
8733 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
8734 Add additional user-defined conversion operator tests.
8735
b27de576
PA
87362017-10-17 Pedro Alves <palves@redhat.com>
8737
8738 * boards/native-stdio-gdbserver.exp: Load "local-board".
8739
8484c955
PA
87402017-10-17 Pedro Alves <palves@redhat.com>
8741
8742 * gdb.base/quit-live.c: New file.
8743 * gdb.base/quit-live.exp: New file.
8744
83d5a34d
KS
87452017-10-16 Keith Seitz <keiths@redhat.com>
8746
8747 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
8748 (class_with_protected_typedef, class_with_private_typedef)
8749 (struct_with_public_typedef, struct_with_protected_typedef)
8750 (struct_with_private_typedef): New classes/structs.
8751 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
8752 typedefs and access specifiers.
8753
739b3f1d
PA
87542017-10-16 Pedro Alves <palves@redhat.com>
8755 Simon Marchi <simon.marchi@polymtl.ca>
8756
8757 * README (Local vs Remote vs Native): New section.
8758 * boards/local-board.exp: New file, with bits factored out from
8759 ...
8760 * boards/native-extended-gdbserver.exp: ... here. Load
8761 "local-board".
8762 * boards/native-gdbserver.exp: Load "local-board".
8763 (${board}_spawn, ${board}_exec): Delete.
8764 * boards/native-stdio-gdbserver.exp: Most contents factored out to
8765 ...
8766 * boards/stdio-gdbserver-base.exp: ... this new file.
8767 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
8768 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
8769 procedure.
8770 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
8771 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
8772 stdio_gdbserver_command.
8773 (${board}_get_remote_address, ${board}_get_comm_port)
8774 (${board}_download, ${board}_upload): Delete.
8775 (get_target_remote_pipe_cmd): New.
8776
fe68b953
SM
87772017-10-16 Simon Marchi <simon.marchi@ericsson.com>
8778
8779 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
8780 test_bkpt_deletion, test_bkpt_cond_and_cmds,
8781 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
8782 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
8783 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
8784 remove with_test_prefix.
8785
300b6685
PA
87862017-10-13 Pedro Alves <palves@redhat.com>
8787
8788 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
8789 * gdb.base/annota1.exp: Use it instead of is_remote.
8790 * gdb.base/annota3.exp: Use it instead of is_remote.
8791 * gdb.cp/annota2.exp: Use it instead of is_remote.
8792 * gdb.cp/annota3.exp: Use it instead of is_remote.
8793 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
8794
50500caf
PA
87952017-10-13 Pedro Alves <palves@redhat.com>
8796
8797 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
8798 (test_num_test_vars, run_and_count_vars, find_env)
8799 (test_set_unset_env, test_inherit_env_var): New procedures.
8800 (top level): Use them.
8801
dad0c6d2
PA
88022017-10-13 Pedro Alves <palves@redhat.com>
8803
8804 * lib/selftest-support.exp (selftest_setup): Extend comments, and
8805 also skip on stub-like targets.
8806
8b0553c1
PA
88072017-10-13 Pedro Alves <palves@redhat.com>
8808
8809 PR gdb/22293
8810 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
8811 (top level): Move some tests to ...
8812 (test_not_found): ... this new procedure.
8813 (top level): Call it.
8814
7594f623
PA
88152017-10-13 Pedro Alves <palves@redhat.com>
8816
8817 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
8818 expect different "info terminal" output if testing with a
8819 non-native target.
8820
ebe3b402
PA
88212017-10-13 Pedro Alves <palves@redhat.com>
8822 Simon Marchi <simon.marchi@polymtl.ca>
8823
8824 PR python/12966
8825 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
8826
42f1b161
PA
88272017-10-13 Pedro Alves <palves@redhat.com>
8828
8829 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
8830 already.
8831
8d6ef72b
PA
88322017-10-13 Pedro Alves <palves@redhat.com>
8833
8834 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
8835 is_remote.
8836
d7bcd5b8
PA
88372017-10-13 Pedro Alves <palves@redhat.com>
8838
8839 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
8840 is_remote.
8841
df479dc6
PA
88422017-10-13 Pedro Alves <palves@redhat.com>
8843
8844 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
8845 is set.
8846 (corefile_test_attach): Likewise. Check can_spawn_for_attach
8847 instead of is_remote.
8848
23fb630a
PA
88492017-10-13 Pedro Alves <palves@redhat.com>
8850
8851 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
8852 (top level): Add comment.
8853
cc77b1dc
PA
88542017-10-13 Pedro Alves <palves@redhat.com>
8855
8856 * gdb.base/remote.exp (top level): Fix comment typo and add
8857 missing return.
8858
27c9e813
PA
88592017-10-13 Pedro Alves <palves@redhat.com>
8860 Simon Marchi <simon.marchi@polymtl.ca>
8861
8862 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
8863 calls and add comments. Skip test if use_gdb_stub is set.
8864 (top level): Use "set cwd" command instead of "cd" command.
8865
5e830d98
PA
88662017-10-13 Pedro Alves <palves@redhat.com>
8867
8868 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
8869 is_remote target check.
8870
f5ca0032
PA
88712017-10-13 Pedro Alves <palves@redhat.com>
8872
8873 * gdb.base/scope.exp: Use build_executable + clean_restart +
8874 gdb_file_cmd instead of prepare_for_testing and no longer skip
8875 "before run" tests on is_remote target boards. Update comments.
8876 * boards/native-extended-gdbserver.exp
8877 (extended_gdbserver_load_last_file): New, factored out from ...
8878 (gdb_load): ... this. Move further below and add comment.
8879 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
8880
8aed1c0d
PA
88812017-10-12 Pedro Alves <palves@redhat.com>
8882
8883 * gdb.base/attach.exp: Remove references to gdb64.
8884 * gdb.base/dbx.exp: Remove references to gdb64.
8885
cfa34c87
SM
88862017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8887 Pedro Alves <palves@redhat.com>
8888
8889 * gdb.base/label.exp: Remove is_remote target check.
8890
9192b7de
PA
88912017-10-12 Pedro Alves <palves@redhat.com>
8892
8893 * gdb.base/auvx.exp (coredir): Update comment.
8894 (top level) <core_works>: Use "set cwd" command instead of "cd"
8895 command.
8896
6bf0052d
PA
88972017-10-12 Pedro Alves <palves@redhat.com>
8898 Simon Marchi <simon.marchi@polymtl.ca>
8899
8900 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
8901 target boards.
8902
e48ef82d
PA
89032017-10-12 Pedro Alves <palves@redhat.com>
8904 Simon Marchi <simon.marchi@polymtl.ca>
8905
8906 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
8907 Instead skip if there's any gdb_protocol set.
8908
8d7aea57
SM
89092017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8910 Pedro Alves <palves@redhat.com>
8911
8912 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
8913
30440677
PA
89142017-10-12 Pedro Alves <palves@redhat.com>
8915 Simon Marchi <simon.marchi@polymtl.ca>
8916
8917 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
8918 instead of on dejagnu remote boards.
8919
4e04f045 89202017-10-12 Pedro Alves <palves@redhat.com>
175654b9 8921 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
8922
8923 * gdb.base/inferior-died.exp: Remove is_remote and isnative
8924 checks. Use build_executable + clean_restart instead of
8925 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
8926 of enabling non-stop after starting gdb.
8927
871a186e
PA
89282017-10-12 Pedro Alves <palves@redhat.com>
8929
8930 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
8931 * gdb.threads/non-ldr-exc-2.exp: Ditto.
8932 * gdb.threads/non-ldr-exc-3.exp: Ditto.
8933 * gdb.threads/non-ldr-exc-4.exp: Ditto.
8934
56d704da
AK
89352017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
8936
8937 * gdb.arch/arc-tdesc-cpu.exp: New file.
8938 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
8939
2f20e312
SM
89402017-10-10 Simon Marchi <simon.marchi@ericsson.com>
8941
8942 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
8943
65630365
PA
89442017-10-10 Pedro Alves <palves@redhat.com>
8945
8946 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
8947 expect CLI output.
8948
bf469271
PA
89492017-10-10 Pedro Alves <palves@redhat.com>
8950
8951 * lib/selftest-support.exp (selftest_setup): Update for
8952 captured_command_loop's prototype change.
8953
777a42f1
PA
89542017-10-09 Pedro Alves <palves@redhat.com>
8955
8956 Test both arch1=>arch2 and arch2=>arch1.
8957
8958 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
8959 (srcfile2, binfile2, march1, march2): Remove globals. Largely
8960 factored out to...
8961 (append_arch1_options, append_arch2_options, append_arch_options)
8962 (build_executables): New procedures.
8963 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
8964 local.
8965 (top level): Add new 'first_arch' testing axis.
8966
cbd2b4e3
PA
89672017-10-09 Pedro Alves <palves@redhat.com>
8968
8969 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
8970 (barrier): New.
8971 (thread_start, all_started): New functions.
8972 (main): Spawn new thread and wait until it is scheduled.
8973 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
8974 option.
8975 (do_test): Add 'selected_thread' parameter. Run to all_started
8976 instead of main. Explicitly set the breakpoint at main. Switch
8977 to the SELECTED_THREAD thread.
8978 (top level): Test handling the exec event with either the main
8979 thread or the second thread selected.
8980
5c9e4427
PA
89812017-10-09 Pedro Alves <palves@redhat.com>
8982
8983 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
8984 logic. Move STOP marker after the value checks.
8985 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
8986 regexp.
8987
b3b7c423
SL
89882017-10-06 Sandra Loosemore <sandra@codesourcery.com>
8989
8990 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
8991
3b4b2f16
UW
89922017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
8993
8994 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
8995 integer-to-dfp conversion.
8996 * gdb.base/dfp-test.exp: Likewise.
8997
5cd63fda
PA
89982017-10-04 Pedro Alves <palves@redhat.com>
8999
9000 * gdb.multi/hangout.c: Include <unistd.h>.
9001 (hangout_loop): New function.
9002 (main): Call alarm. Call hangout_loop in a loop.
9003 * gdb.multi/hello.c: Include <unistd.h>.
9004 (hello_loop): New function.
9005 (main): Call alarm. Call hangout_loop in a loop.
9006 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
9007 inferior with the other selected.
9008
4c71c105
SM
90092017-10-04 Simon Marchi <simon.marchi@ericsson.com>
9010
9011 * gdb.mi/list-thread-groups-available.exp: New file.
9012 * gdb.mi/list-thread-groups-available.c: New file.
9013
bc3b087d
SDJ
90142017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9015
9016 * gdb.base/set-cwd.exp: Make it available on
9017 native-extended-gdbserver.
9018
d092c5a2
SDJ
90192017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9020
9021 * gdb.base/set-cwd.c: New file.
9022 * gdb.base/set-cwd.exp: Likewise.
9023
45320ffa
TT
90242017-10-02 Tom Tromey <tom@tromey.com>
9025
9026 PR rust/22236:
9027 * gdb.rust/simple.rs (main): New variable "fslice".
9028 * gdb.rust/simple.exp: Add slice tests. Update string tests.
9029
b3e3859b
TT
90302017-10-02 Tom Tromey <tom@tromey.com>
9031
9032 * gdb.rust/simple.exp: Test ptype of a slice.
9033
01af5e0d
TT
90342017-10-02 Tom Tromey <tom@tromey.com>
9035
9036 * gdb.rust/simple.exp: Test index of slice.
9037
a9bbfbd8
TT
90382017-09-27 Tom Tromey <tom@tromey.com>
9039
9040 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
9041
df8899e5
TP
90422017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
9043 Pedro Alves <palves@redhat.com>
9044
9045 * gdb.base/compare-sections.exp (get value of read-only section): Read
9046 as unsigned value.
9047 (corrupt read-only section): Likewise and don't set written if patching
9048 failed.
9049
757bf54b
KB
90502017-09-21 Kevin Buettner <kevinb@redhat.com>
9051
9052 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
9053 files.
9054
06871ae8
PA
90552017-09-20 Pedro Alves <palves@redhat.com>
9056
9057 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
9058 symbol names in gdb's output.
9059 * gdb.cp/overload.exp ("list all overloads"): Likewise.
9060
e5f25bc5
PA
90612017-09-20 Pedro Alves <palves@redhat.com>
9062
9063 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
9064 Rename to ...
9065 (test_list_ambiguous_symbol): ... this and add a symbol name
9066 parameter. Adjust.
9067 (test_list_ambiguous_function): Reimplement on top of
9068 test_list_ambiguous_symbol and also test listing ambiguous
9069 variables.
9070 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
9071 (ambiguous_fun): ... this.
9072 (ambiguous_var): New.
9073 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
9074 (ambiguous_fun): ... this.
9075 (ambiguous_var): New.
9076
4e5a4f58
JB
90772017-09-19 John Baldwin <jhb@FreeBSD.org>
9078
9079 * gdb.base/starti.c: New file.
9080 * gdb.base/starti.exp: New file.
9081 * lib/gdb.exp (gdb_starti_cmd): New procedure.
9082
26e53f3e
PA
90832017-09-14 Pedro Alves <palves@redhat.com>
9084
9085 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
9086 (top level): Use it instead of runto.
9087
cb791d59
TT
90882017-09-11 Tom Tromey <tom@tromey.com>
9089
9090 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
9091
7c96f8c1
TT
90922017-09-11 Tom Tromey <tom@tromey.com>
9093
9094 * gdb.python/py-infthread.exp: Add tests for new_thread event.
9095 * gdb.python/py-inferior.exp: Add tests for new inferior events.
9096
469412dd
CW
90972017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
9098
9099 * gdb.fortran/printing-types.exp: New file.
9100 * gdb.fortran/printing-types.exp: New file.
9101
e0f86435
BH
91022017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9103
9104 * gdb.fortran/vla-ptype.exp: Fix typos.
9105 * gdb.fortran/vla-value.exp: Same.
9106
9e9af4be
BH
91072017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9108
9109 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
9110 * gdb.mi/mi-var-child-f.exp: Likewise.
9111 * gdb.mi/mi-vla-fortran.exp: Likewise.
9112
a5ad232b 91132017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
9114 Christoph Weinmann <christoph.t.weinmann@intel.com>
9115 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
9116
9117 * gdb.fortran/ptr-indentation.f90: New file.
9118 * gdb.fortran/ptr-indentation.exp: New file.
9119
5aec60eb
TT
91202017-09-05 Tom Tromey <tom@tromey.com>
9121
9122 PR gdb/22010:
9123 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
9124
8f8f8152
TP
91252017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
9126
9127 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
9128
fbd1b771
JK
91292017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9130
9131 * gdb.threads/tls-nodebug-pie.c: New file.
9132 * gdb.threads/tls-nodebug-pie.exp: New file.
9133
5eb5f850
TT
91342017-09-05 Tom Tromey <tom@tromey.com>
9135
9136 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
9137 for rust.
9138
ae780a21
SM
91392017-09-05 Simon Marchi <simon.marchi@ericsson.com>
9140
9141 * gdb.multi/multi-arch-exec.exp: Test with different
9142 "follow-exec-mode" settings.
9143 (do_test): New procedure.
9144
3693fdb3
PA
91452017-09-04 Pedro Alves <palves@redhat.com>
9146
9147 * gdb.base/func-static.c (S::method const, S::method volatile)
9148 (S::method volatile const): New methods.
9149 (c_s, v_s, cv_s): New instances.
9150 (main): Call method() on them.
9151 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
9152 (cannot_resolve): New procedure.
9153 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
9154 print-quote-unquoted columns.
9155 (do_test): Test printing each scope too.
9156
e68cb8e0
PA
91572017-09-04 Pedro Alves <palves@redhat.com>
9158
9159 * gdb.base/local-static.exp: Also test with
9160 class::method::variable wholly quoted.
9161 * gdb.cp/m-static.exp (class::method::variable): Remove test.
9162
858be34c
PA
91632017-09-04 Pedro Alves <palves@redhat.com>
9164
9165 * gdb.base/local-static.c: New.
9166 * gdb.base/local-static.cc: New.
9167 * gdb.base/local-static.exp: New.
9168
46a4882b
PA
91692017-09-04 Pedro Alves <palves@redhat.com>
9170
9171 * gdb.asm/asm-source.exp: Add casts to int.
9172 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
9173 (dataglobal64_1, dataglobal64_2): New globals.
9174 * gdb.base/nodebug.exp: Test different expressions involving the
9175 new globals, with print, whatis and ptype. Add casts to int.
9176 * gdb.base/solib-display.exp: Add casts to int.
9177 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
9178 * gdb.cp/m-static.exp: Add cast to int.
9179 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
9180 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
9181 tls variable with no debug info without a cast. Test with a cast
9182 to int too.
9183 * gdb.trace/entry-values.exp: Add casts.
9184
2c5a2be1
PA
91852017-09-04 Pedro Alves <palves@redhat.com>
9186
9187 * gdb.base/nodebug.exp: Test that ptype's error about functions
9188 with unknown return type includes the function name too.
9189
7022349d
PA
91902017-09-04 Pedro Alves <palves@redhat.com>
9191
9192 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
9193 return type of munmap in infcall.
9194 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
9195 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
9196 type of ftell in infcall.
9197 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
9198 type of getpid in infcall.
9199 * gdb.base/infcall-exec.exp: Cast return type of execlp in
9200 infcall.
9201 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
9202 Bail on failure to extract the pid.
9203 * gdb.base/nodebug.c: #include <stdint.h>.
9204 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
9205 New functions.
9206 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
9207 Change expected output of print/whatis/ptype with functions with
9208 no debug info. Test all supported languages. Call
9209 test_call_promotion.
9210 * gdb.compile/compile.exp: Adjust expected output to expect
9211 warning.
9212 * gdb.threads/siginfo-threads.exp: Likewise.
9213
54990598
PA
92142017-09-04 Pedro Alves <palves@redhat.com>
9215
9216 * gdb.base/callfuncs.exp (do_function_calls): New parameter
9217 "prototypes". Test calling float functions via prototyped and
9218 unprototyped function pointers.
9219 (perform_all_tests): New parameter "prototypes". Pass it down.
9220 (top level): Pass down "prototypes" parameter to
9221 perform_all_tests.
9222
34d16ea2
SM
92232017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9224
9225 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
9226 Test with nested loops.
9227
9521ecda
SM
92282017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9229
9230 * gdb.base/commands.exp: Call the new procedures.
9231 (loop_break_test, loop_continue_test): New procedures.
9232
80a65e9b
SM
92332017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9234
9235 * gdb.base/commands.exp: Call new procedure.
9236 (define_if_without_arg_test): New procedure.
9237
e439fa14
PA
92382017-09-04 Pedro Alves <palves@redhat.com>
9239
9240 * gdb.base/list-ambiguous.exp: New file.
9241 * gdb.base/list-ambiguous0.c: New file.
9242 * gdb.base/list-ambiguous1.c: New file.
9243 * gdb.base/list.exp (test_list_range): Adjust expected output.
9244
0a2dde4a
SDJ
92452017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
9246
9247 * gdb.base/share-env-with-gdbserver.c: New file.
9248 * gdb.base/share-env-with-gdbserver.exp: Likewise.
9249
5e89eb3a
SM
92502017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9251
9252 * gdb.base/commands.exp (gdbvar_simple_if_test,
9253 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
9254 progvar_simple_if_test, progvar_simple_while_test,
9255 progvar_complex_if_while_test, user_defined_command_test,
9256 user_defined_command_args_eval,
9257 user_defined_command_args_stack_test,
9258 user_defined_command_manyargs_test, bp_deleted_in_command_test,
9259 temporary_breakpoint_commands,
9260 gdb_test_no_prompt, redefine_hook_test,
9261 redefine_backtrace_test): Remove "global gdb_prompt".
9262
fd437cbc
SM
92632017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9264
9265 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
9266 New proc, call it from toplevel.
9267
87215ad1
SDJ
92682017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
9269
9270 PR remote/21852
9271 * gdb.server/normal.c: New file, copied from gdb.base.
9272 * gdb.server/run-without-local-binary.exp: New file.
9273
58afddc6
WP
92742017-08-07 Weimin Pan <weimin.pan@oracle.com>
9275
9276 * gdb.arch/sparc64-adi.exp: New file.
9277 * gdb.arch/sparc64-adi.c: New file.
9278
5277199a
PA
92792017-08-22 Pedro Alves <palves@redhat.com>
9280
9281 * gdb.cp/overload.exp (line_range_pattern): New procedure.
9282 (top level): Add "list all overloads" tests.
9283
14278e1f
TT
92842017-08-22 Tom Tromey <tom@tromey.com>
9285
9286 * gdb.gdb/xfullpath.exp: Remove.
9287
bf223d3e
PA
92882017-08-21 Pedro Alves <palves@redhat.com>
9289
9290 PR gdb/19487
9291 * gdb.base/symbol-alias.c: New.
9292 * gdb.base/symbol-alias2.c: New.
9293 * gdb.base/symbol-alias.exp: New.
9294
c973d0aa
PA
92952017-08-21 Pedro Alves <palves@redhat.com>
9296
9297 * gdb.base/dfp-test.c
9298 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
9299 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
9300 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
9301 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
9302 * gdb.base/whatis-ptype-typedefs.c: New.
9303 * gdb.base/whatis-ptype-typedefs.exp: New.
9304 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
9305 (an_int, an_int_type, an_int_type2): New globals.
9306 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
9307 involving typedefs and cast expressions.
9308 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
9309 (lookup_typedefs_function): New.
9310 (typedefs_pretty_printers_dict): New.
9311 (top level): Register lookup_typedefs_function in
9312 gdb.pretty_printers.
9313
6d580b63
YQ
93142017-08-18 Yao Qi <yao.qi@linaro.org>
9315
9316 * gdb.server/unittest.exp: New.
9317
206726fb
SDJ
93182017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
9319
9320 PR gdb/21954
9321 * gdb.base/environ.exp: Add test to check if 'unset environment'
9322 works.
9323
bf0ec4c2
AA
93242017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9325
9326 * lib/gdb.exp (universal_compile_options): New caching proc.
9327 (gdb_compile): Suppress GCC's coloring of messages.
9328
d6382fff
TT
93292017-08-14 Tom Tromey <tom@tromey.com>
9330
9331 PR gdb/21675:
9332 * gdb.base/printcmds.exp (test_radices): New function.
9333 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
9334 * gdb.base/sizeof.exp (check_valueof): Use p/d.
9335 * lib/gdb.exp (get_integer_valueof): Use p/d.
9336
c2c2dd9f
SM
93372017-08-12 Simon Marchi <simon.marchi@ericsson.com>
9338
9339 * lib/gdb.exp (get_valueof): Don't capture end-of-line
9340 characters.
9341
fdffd6f4
TT
93422017-08-05 Tom Tromey <tom@tromey.com>
9343
9344 * gdb.rust/simple.exp: Allow String to appear in a different
9345 namespace.
9346
27d41eac
YQ
93472017-07-26 Yao Qi <yao.qi@linaro.org>
9348
9349 * gdb.gdb/unittest.exp: Invoke command
9350 "maintenance check xml-descriptions".
9351
031ed05d
AA
93522017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9353
9354 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
9355 calling context.
9356 (hex128): Drop erroneous calculation of parameters.
9357
dcd27ddf
SM
93582017-07-22 Simon Marchi <simon.marchi@ericsson.com>
9359
9360 * gdb.python/py-unwind.exp: Disable stack protection when
9361 building test file.
9362
47e77640
PA
93632017-07-20 Pedro Alves <palves@redhat.com>
9364
9365 * gdb.base/default.exp (set language): Adjust expected output.
9366
62d2a18a
PA
93672017-07-20 Pedro Alves <palves@redhat.com>
9368
9369 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
9370 (test_minsym): ... this, and make static.
9371 (get_pck__foo__bar__minsym): Rename to ...
9372 (get_test_minsym): ... this.
9373 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
9374 symbol names and comments.
9375 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
9376 (get_test_minsym): ... this.
9377 (pck__foo__bar__minsym__2): Rename to ...
9378 (test_minsym): ... this.
9379 (main): Adjust.
9380
c45ec17c
PA
93812017-07-17 Pedro Alves <palves@redhat.com>
9382
9383 * gdb.base/completion.exp: Adjust expected output.
9384 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
9385 the completer works.
9386
c6756f62
PA
93872017-07-17 Pedro Alves <palves@redhat.com>
9388
9389 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
9390
5bd68487
AB
93912017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
9392
9393 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
9394
8880f2a9
TT
93952017-07-14 Tom Tromey <tom@tromey.com>
9396
9397 PR rust/21764:
9398 * gdb.rust/simple.exp: Add tests.
9399
65547233
TT
94002017-07-14 Tom Tromey <tom@tromey.com>
9401
9402 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
9403
8f14146e
PA
94042017-07-14 Pedro Alves <palves@redhat.com>
9405
9406 * gdb.linespec/base/one/thefile.cc (z1): New function.
9407 * gdb.linespec/base/two/thefile.cc (z2): New function.
9408 * gdb.linespec/linespec.exp: Add tests.
9409
b4365d02
AB
94102017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9411
9412 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
9413 to mi_create_breakpoint.
9414
5d2cbaa5
AB
94152017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9416
9417 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
9418 mi_create_breakpoint.
9419
11cb5716
IB
94202017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
9421
9422 * gdb.dlang/demangle.exp: Update for demangling changes.
9423
03278692
TT
94242017-07-09 Tom Tromey <tom@tromey.com>
9425
9426 * gdb.dwarf2/shortpiece.exp: New file.
9427
33c5cd75
DB
94282017-07-06 David Blaikie <dblaikie@gmail.com>
9429
9430 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
9431 built from fissiont-multi-cu{1,2}.c.
9432 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
9433 except putting 'main' and 'func' in separate CUs in the same DWO file.
9434 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
9435 test.
9436 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
9437 test.
9438
8455d262
PA
94392017-07-06 Pedro Alves <palves@redhat.com>
9440
9441 * gdb.python/py-unwind.exp: Test flushregs.
9442
dc4bde35
SDJ
94432017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9444
9445 PR cli/21688
9446 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
9447 tests for alias commands and trailing whitespace.
9448
51ed89aa
SDJ
94492017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9450
9451 PR cli/21688
9452 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
9453 procedure. Call it.
9454
eb17d413
PA
94552017-06-29 Pedro Alves <palves@redhat.com>
9456
9457 * gdb.base/printcmds.exp: Add tests.
9458
41664b45
DG
94592017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
9460
9461 PR gdb/21337
9462 * gdb.base/reread-readsym.exp: New file.
9463 * gdb.base/reread-readsym.c: New file.
9464
75312ae3
KB
94652017-06-21 Kevin Buettner <kevinb@redhat.com>
9466
9467 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
9468 subpattern.
9469
66953522
PB
94702017-06-19 Peter Bergner <bergner@vnet.ibm.com>
9471
9472 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
9473 extended mnemonic.
9474 * gdb.arch/powerpc-power9.s: Likewise.
9475
5524b525
AA
94762017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9477
9478 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
9479 on 32-bit x86 targets. Exploit is_*_target macros where
9480 appropriate.
9481
03c8af18
AA
94822017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9483
9484 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
9485 register pieces.
9486
3bf31011
AA
94872017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9488
9489 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
9490 located in one or more DWARF pieces.
9491
805acca0
AA
94922017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9493
9494 * lib/gdb.exp (get_endianness): New proc.
9495 * gdb.arch/aarch64-fp.exp: Use it.
9496 * gdb.arch/altivec-regs.exp: Likewise.
9497 * gdb.arch/e500-regs.exp: Likewise.
9498 * gdb.arch/vsx-regs.exp: Likewise.
9499 * gdb.base/dump.exp: Likewise.
9500 * gdb.base/funcargs.exp: Likewise.
9501 * gdb.base/gnu_vector.exp: Likewise.
9502 * gdb.dwarf2/formdata16.exp: Likewise.
9503 * gdb.dwarf2/implptrpiece.exp: Likewise.
9504 * gdb.dwarf2/nonvar-access.exp: Likewise.
9505 * gdb.python/py-inferior.exp: Likewise.
9506 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9507
e9352324
AA
95082017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9509
9510 PR gdb/21226
9511 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
9512 stack value pieces are taken from the LSB end.
9513
d5d1163e
AA
95142017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9515
9516 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
9517 variable at nonzero offset.
9518
0567c986
AA
95192017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9520
9521 * gdb.dwarf2/var-access.c: New file.
9522 * gdb.dwarf2/var-access.exp: New test.
9523 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
9524
973e9aab
TT
95252017-06-12 Tom Tromey <tom@tromey.com>
9526
9527 * gdb.dwarf2/formdata16.exp: Add tests.
9528
d9109c80
TT
95292017-06-12 Tom Tromey <tom@tromey.com>
9530
9531 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
9532
30a25466
TT
95332017-06-12 Tom Tromey <tom@tromey.com>
9534
9535 PR exp/16225:
9536 * gdb.reverse/i386-sse-reverse.exp: Update tests.
9537 * gdb.arch/vsx-regs.exp: Update tests.
9538 * gdb.arch/s390-vregs.exp (hex128): New proc.
9539 Update test.
9540 * gdb.arch/altivec-regs.exp: Update tests.
9541
aefd8b33
SDJ
95422017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9543
9544 * gdb.base/startup-with-shell.c: New file.
9545 * gdb.base/startup-with-shell.exp: Likewise.
9546
2090129c
SDJ
95472017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9548
9549 * gdb.server/non-existing-program.exp: Update regex in order to
9550 reflect the fact that gdbserver is now using fork_inferior (with a
9551 shell) to startup the inferior.
9552
8e86a419
SM
95532017-05-30 Simon Marchi <simon.marchi@ericsson.com>
9554
9555 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
9556 support function calls from GDB.
9557
e6cf65f2
TT
95582017-05-21 Tom Tromey <tom@tromey.com>
9559
9560 PR rust/21466:
9561 * gdb.rust/unsized.exp: New file.
9562 * gdb.rust/unsized.rs: New file.
9563
43cc5389
TT
95642017-05-19 Tom Tromey <tom@tromey.com>
9565
9566 PR rust/21484:
9567 * gdb.rust/watch.exp: New file.
9568 * gdb.rust/watch.rs: New file.
9569
ec8df234
TT
95702017-05-18 Tom Tromey <tom@tromey.com>
9571
9572 * gdb.rust/simple.exp: Allow Box to be qualified.
9573
3e3e7fae
TP
95742017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
9575
9576 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
9577
59cc050d
PA
95782017-05-18 Pedro Alves <palves@redhat.com>
9579
9580 * gdb.base/fileio.c (test_write, test_read, test_close)
9581 (test_fstat): Don't print 'ret' in the fail path.
9582
c8f6abd1
PA
95832017-05-18 Pedro Alves <palves@redhat.com>
9584
9585 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
9586 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
9587 (test_system, test_rename, test_unlink, test_time): Change
9588 prototypes.
9589 * gdb.base/fileio.exp (stop_msg): Adjust.
9590
d2a03b77
PA
95912017-05-18 Pedro Alves <palves@redhat.com>
9592
9593 * gdb.base/fileio.c (null_str): New global.
9594 (test_stat): Use it.
9595 * gdb.base/fileio.exp: Remove nowarnings.
9596
0d5c6999
YQ
95972017-05-17 Yao Qi <yao.qi@linaro.org>
9598
9599 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
9600
21873064
YQ
96012017-05-17 Simon Marchi <simon.marchi@ericsson.com>
9602
9603 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
9604 argument command.
9605 (top-level): Invoke test_set_inferior_tty.
9606
d512d31c
PA
96072017-05-04 Pedro Alves <palves@redhat.com>
9608
9609 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
9610 Add parens to print call for Python 3.
9611
90cef2ed
KS
96122017-05-03 Keith Seitz <keiths@redhat.com>
9613
9614 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
9615 (main): Call it.
9616
14f819c8
TW
96172017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9618
9619 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
9620 to prev and next.
9621
913aeadd
TW
96222017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9623
9624 * gdb.python/py-record-btrace.exp: Remove test for
9625 gdb.BtraceInstruction.error.
9626
a3be24ad
TW
96272017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9628
9629 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
9630
ae20e79a
TW
96312017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9632
9633 * gdb.python/py-record-btrace-threads.c: New file.
9634 * gdb.python/py-record-btrace-threads.exp: New file.
9635
45ce1b47
SDJ
96362017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
9637
9638 PR testsuite/8595
9639 * gdb.base/environ.exp: Make test available in all architectures.
9640 Move bits related to "info program" testing to
9641 gdb.base/info-program.exp. Rewrite tests to use the two new
9642 procedures mentione below.
9643 (test_set_show_env_var) New procedure.
9644 (test_set_show_env_var_equal): Likewise.
9645 * gdb.base/info-program.exp: New file.
9646
e15c3eb4
KS
96472017-04-27 Keith Seitz <keiths@redhat.com>
9648
9649 * gdb.cp/oranking.cc (test15): New function.
9650 (main): Call test15 and declare additional variables for testing.
9651 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
9652 "p foo101('abc')" tests.
9653 Add tests for cv qualifier overloads.
9654 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
9655 "lvalue reference overload" test.
9656 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
9657 "print value of f1 on Child&& in f2" test.
9658
3a3fd0fd
PA
96592017-04-19 Pedro Alves <palves@redhat.com>
9660
9661 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
9662 procedure.
9663 (top level): Call it.
9664 * lib/gdb.exp (gdb_define_cmd): New procedure.
9665
53375380
PA
96662017-04-12 Pedro Alves <palves@redhat.com>
9667
9668 PR gdb/21323
9669 * gdb.cp/wide_char_types.c: Include <wchar.h>.
9670 (wchar): New global.
9671 * gdb.cp/wide_char_types.exp (wide_char_types_program)
9672 (do_test_wide_char, wide_char_types_no_program, top level): Add
9673 wchar_t testing.
9674
53e710ac
PA
96752017-04-12 Pedro Alves <palves@redhat.com>
9676
9677 PR c++/21323
9678 * gdb.cp/wide_char_types.c: New file.
9679 * gdb.cp/wide_char_types.exp: New file.
9680
0ad9d8c7
SDJ
96812017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
9682
9683 PR gdb/21352
9684 * gdb.trace/tsv.exp: Add test for "tsave -r".
9685
b1b45502
IB
96862017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
9687
9688 * gdb.dlang/watch-loc.c: New file.
9689 * gdb.dlang/watch-loc.exp: New file.
9690
ec13808e
JK
96912017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9692
9693 * gdb.python/py-section-script.exp (sepdebug): New testcases.
9694
fe5f7374
AK
96952017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9696
9697 * gdb.arch/arc-analyze-prologue.S: New file.
9698 * gdb.arch/arc-analyze-prologue.exp: Likewise.
9699
eea78757
AK
97002017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9701
9702 * gdb.arch/arc-decode-insn.S: New file.
9703 * gdb.arch/arc-decode-insn.exp: Likewise.
9704
5badf10a
IR
97052017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
9706
9707 PR tdep/20928
9708 * gdb.arch/sparc64-regs.exp: New file.
9709 * gdb.arch/sparc64-regs.S: Likewise.
9710
cee59b3f
TW
97112017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
9712
9713 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
9714 and memory view on Python 3.
9715
c0f55cc6
AV
97162017-03-20 Artemiy Volkov <artemiyv@acm.org>
9717 Keith Seitz <keiths@redhat.com>
9718
9719 PR gdb/14441
9720 * gdb.cp/demangle.exp: Add rvalue reference tests.
9721 * gdb.cp/rvalue-ref-casts.cc: New file.
9722 * gdb.cp/rvalue-ref-casts.exp: New file.
9723 * gdb.cp/rvalue-ref-overload.cc: New file.
9724 * gdb.cp/rvalue-ref-overload.exp: New file.
9725 * gdb.cp/rvalue-ref-params.cc: New file.
9726 * gdb.cp/rvalue-ref-params.exp: New file.
9727 * gdb.cp/rvalue-ref-sizeof.cc: New file.
9728 * gdb.cp/rvalue-ref-sizeof.exp: New file.
9729 * gdb.cp/rvalue-ref-types.cc: New file.
9730 * gdb.cp/rvalue-ref-types.exp: New file.
9731 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
9732 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
9733
51457a05
MAL
97342017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9735
9736 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
9737 New procedure.
9738
5b291c04
MAL
97392017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9740
9741 * lib/mi-support.exp (mi_gdb_test): Add additional message
9742 for unexpected output.
9743
59a56148
AA
97442017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9745
9746 * gdb.base/examine-backward.c (Barrier): New character array
9747 constant, to ensure that TestStrings is preceded by a string
9748 terminator.
9749
7942e96e
AA
97502017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9751
9752 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
9753 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
9754 and implicit pointer into such a location.
9755
6ebac3fb
DE
97562017-03-16 Doug Evans <dje@google.com>
9757
9758 * gdb.python/py-lazy-string (pointer): Really add new typedef.
9759
ec3b243d
TP
97602017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
9761
9762 * gdb.cp/m-static.exp: Fix expectation for prototype of
9763 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
9764
97652017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
9766
9767 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
9768 * gdb.guile/scm-lazy-string.c: New file.
9769 * gdb.guile/scm-value.exp: Move lazy string tests to ...
9770 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
9771 for pointer, array, typedef lazy strings.
9772
2cc36e25 97732017-03-16 Doug Evans <dje@google.com>
34b43320
DE
9774
9775 PR python/17728, python/18439, python/18779
9776 * gdb.python/py-value.c (main) Delete locals sptr, sn.
9777 * gdb.python/py-lazy-string.c (pointer): New typedef.
9778 (main): New locals ptr, array, typedef_ptr.
9779 * gdb.python/py-value.exp: Move lazy string tests to ...
9780 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
9781 array, typedef lazy strings.
ec3b243d 9782
0efcde63
AK
97832017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
9784
9785 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
9786 Add optional 'test' parameter.
9787
7978d7c3
SM
97882017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9789
9790 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9791 Skip for versions of DejaGnu < 1.5.
9792
896c0c1e
SM
97932017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9794
9795 * lib/gdb.exp (dejagnu_version): New proc.
9796 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9797 Use dejagnu_version.
9798
5f4d1085
KS
97992017-03-10 Keith Seitz <keiths@redhat.com>
9800
9801 PR c++/8128
9802 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
9803 type from destructor regexps.
9804 Add a branch which actually passes the test.
9805 Adjust "ptype t5i" test names.
9806
1de05205
PA
98072017-03-08 Pedro Alves <palves@redhat.com>
9808
9809 * gdb.base/step-over-exit.exp: Add explicit test message.
9810
c65d6b55
PA
98112017-03-08 Pedro Alves <palves@redhat.com>
9812
9813 PR gdb/18360
9814 * gdb.threads/interrupt-while-step-over.c: New file.
9815 * gdb.threads/interrupt-while-step-over.exp: New file.
9816
2e86a283
PA
98172017-03-08 Pedro Alves <palves@redhat.com>
9818
9819 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
9820 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
9821
25dcbff6
PA
98222017-03-08 Pedro Alves <palves@redhat.com>
9823
9824 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
9825 PKRU as not supported as a PASS.
9826
dc9366eb
PA
98272017-03-08 Pedro Alves <palves@redhat.com>
9828
9829 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
9830 prefix instead of $binfile1/$binfile2.
9831 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
9832 in test message.
9833 * gdb.python/py-completion.exp: Use "load python file" as test
9834 messages instead of unstable path names.
9835
6e5d74e7
PA
98362017-03-08 Pedro Alves <palves@redhat.com>
9837 Jan Kratochvil <jan.kratochvil@redhat.com>
9838
9839 PR cli/21218
9840 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9841 New proc.
9842 (top level): Call it.
9843
9753a2f6
PA
98442017-03-08 Pedro Alves <palves@redhat.com>
9845
9846 PR tui/21216
9847 * gdb.tui/tui-nl-filtered-output.exp: New file.
9848
1a4dd9dd
PA
98492017-03-08 Pedro Alves <palves@redhat.com>
9850
9851 * gdb.base/completion.exp: Move TUI completion tests to ...
9852 * gdb.tui/completion.exp: ... this new file.
9853
7cbbff33
PA
98542017-03-08 Pedro Alves <palves@redhat.com>
9855
9856 * gdb.base/tui-disasm-long-lines.c,
9857 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
9858 gdb.base/tui-layout.exp: Move to ...
9859 * gdb.tui/: ... this new directory.
9860
5f6fd321
PA
98612017-03-07 Pedro Alves <palves@redhat.com>
9862
9863 * gdb.base/tui-layout.c: New file.
9864 * gdb.base/tui-layout.exp: New file.
9865
44959fa8
PA
98662017-03-07 Pedro Alves <palves@redhat.com>
9867
9868 * gdb.base/tui-layout.c: Rename to ...
9869 * gdb.base/tui-disasm-long-lines.c: ... this.
9870 * gdb.base/tui-layout.exp: Rename to ...
9871 * gdb.base/tui-disasm-long-lines.exp: ... this.
9872
f8c4e718
PA
98732017-03-07 Pedro Alves <palves@redhat.com>
9874
9875 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
9876
6dbb839a 98772017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
9878
9879 * i386-mpx-call.c: New file.
9880 * i386-mpx-call.exp: New file.
9881
65b48a81
PB
98822017-02-28 Peter Bergner <bergner@vnet.ibm.com>
9883
9884 * gdb.arch/powerpc-power.exp: Delete test.
9885 * gdb.arch/powerpc-power.s: Likewise.
9886 * gdb.disasm/disassembler-options.exp: New test.
9887 * gdb.arch/powerpc-altivec.exp: Likewise.
9888 * gdb.arch/powerpc-altivec.s: Likewise.
9889 * gdb.arch/powerpc-altivec2.exp: Likewise.
9890 * gdb.arch/powerpc-altivec2.s: Likewise.
9891 * gdb.arch/powerpc-altivec3.exp: Likewise.
9892 * gdb.arch/powerpc-altivec3.s: Likewise.
9893 * gdb.arch/powerpc-power7.exp: Likewise.
9894 * gdb.arch/powerpc-power7.s: Likewise.
9895 * gdb.arch/powerpc-power8.exp: Likewise.
9896 * gdb.arch/powerpc-power8.s: Likewise.
9897 * gdb.arch/powerpc-power9.exp: Likewise.
9898 * gdb.arch/powerpc-power9.s: Likewise.
9899 * gdb.arch/powerpc-vsx.exp: Likewise.
9900 * gdb.arch/powerpc-vsx.s: Likewise.
9901 * gdb.arch/powerpc-vsx2.exp: Likewise.
9902 * gdb.arch/powerpc-vsx2.s: Likewise.
9903 * gdb.arch/powerpc-vsx3.exp: Likewise.
9904 * gdb.arch/powerpc-vsx3.s: Likewise.
9905 * gdb.arch/arm-disassembler-options.exp: Likewise.
9906 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
9907 * gdb.arch/s390-disassembler-options.exp: Likewise.
9908
17cd4947
LM
99092017-02-23 Luis Machado <lgustavo@codesourcery.com>
9910
9911 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
9912 (check_supported_features): ... this. Changed return type to void.
9913 (supports_rdseed): New static global.
9914 (rdseed): Check supports_rdseed.
9915 (initialize): Call check_supported_features.
9916
2039d74e
EBM
99172017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9918
9919 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
9920 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
9921 and lqarx/stqcx.
9922 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
9923 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
9924
a51d7ecf
EBM
99252017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9926
9927 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
9928 uppercase.
9929
0224619f
JK
99302017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9931
9932 * gdb.dwarf2/formdata16.c: New file.
9933 * gdb.dwarf2/formdata16.exp: New file.
9934 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
9935
216f72a1
JK
99362017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9937
9938 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
9939 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
9940 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
9941 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
9942 DW_AT_GNU_*.
9943
43988095
JK
99442017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9945
9946 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
9947
99e8a4f9
SDJ
99482017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
9949
9950 PR gdb/21164
9951 * gdb.base/maint.exp: Add testcases for when the commands do
9952 not have arguments.
9953
b58a8c0c
TP
99542017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
9955
9956 * gdb.cp/chained-calls.exp: Use p instead of P.
9957
4e746bb6
TW
99582017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
9959
9960 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
9961 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
9962
3f77c769
TT
99632017-02-14 Tom Tromey <tom@tromey.com>
9964
9965 PR python/13598:
9966 * gdb.python/py-events.exp: Add before_prompt event tests.
9967
075beec0
AA
99682017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9969
9970 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
9971
bf5f525c
LM
99722017-02-13 Luis Machado <lgustavo@codesourcery.com>
9973
9974 * gdb.linespec/explicit.c (my_unique_function_name): New function.
9975 (main): Call my_unique_function_name.
9976 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
9977 completion of patterns with a single match.
9978 Add missing -re switches to gdb_test_multiple calls.
9979
13a66184
LM
99802017-02-13 Luis Machado <lgustavo@codesourcery.com>
9981
9982 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
9983 return if core file is not recognized.
9984
26a06916
SM
99852017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9986
9987 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
9988 and extra UIs.
9989
b761ca9e
SM
99902017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9991
9992 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
9993 proc_with_prefix.
9994
b964bee0
TT
99952017-02-10 Tom Tromey <tom@tromey.com>
9996
9997 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
9998
18da0c51
MG
99992017-02-10 Martin Galvan <martingalvan@sourceware.org>
10000
10001 PR gdb/21122
10002 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
10003
604c4576
JG
100042017-02-08 Jerome Guitton <guitton@adacore.com>
10005
10006 * gdb.base/define.exp: Add test for command abbreviations
10007 in define.
10008
20b477a7
LM
100092017-02-06 Luis Machado <lgustavo@codesourcery.com>
10010
10011 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
10012 * gdb.reverse/insn-reverse-x86.c: New file.
10013
3f7b46f2
IR
100142017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10015
10016 PR tdep/20936
10017 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
10018
f0fd41c1
TT
100192017-02-03 Tom Tromey <tom@tromey.com>
10020
10021 PR rust/21097:
10022 * gdb.rust/simple.exp: Add new tests.
10023
5be5dbf0
PA
100242017-02-02 Pedro Alves <palves@redhat.com>
10025
10026 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
10027 tests.
10028
7346ef59
AA
100292017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10030
10031 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
10032 taking a 2-byte value out of a 4-byte DWARF implicit value on
10033 big-endian targets.
10034 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
10035 logic. Add test cases for DW_OP_implicit.
10036
787f0025
MM
100372017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10038
10039 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
10040
68777c29
MM
100412017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10042
10043 * gdb.btrace/enable.exp: Call gdb_exit before
10044 skip_gdbserver_tests.
10045
0a1c7e28
MM
100462017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10047
10048 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
10049 GDBFLAGS.
10050
b5ac99b0
MM
100512017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10052
10053 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
10054 the test is skipped.
10055 * gdb.btrace/data.exp: Likewise.
10056 * gdb.btrace/delta.exp: Likewise.
10057 * gdb.btrace/dlopen.exp: Likewise.
10058 * gdb.btrace/enable-running.exp: Likewise.
10059 * gdb.btrace/enable.exp: Likewise.
10060 * gdb.btrace/exception.exp: Likewise.
10061 * gdb.btrace/function_call_history.exp: Likewise.
10062 * gdb.btrace/gcore.exp: Likewise.
10063 * gdb.btrace/instruction_history.exp: Likewise.
10064 * gdb.btrace/multi-thread-step.exp: Likewise.
10065 * gdb.btrace/nohist.exp: Likewise.
10066 * gdb.btrace/non-stop.exp: Likewise.
10067 * gdb.btrace/reconnect.exp: Likewise.
10068 * gdb.btrace/record_goto-step.exp: Likewise.
10069 * gdb.btrace/record_goto.exp: Likewise.
10070 * gdb.btrace/rn-dl-bind.exp: Likewise.
10071 * gdb.btrace/segv.exp: Likewise.
10072 * gdb.btrace/step.exp: Likewise.
10073 * gdb.btrace/stepi.exp: Likewise.
10074 * gdb.btrace/tailcall-only.exp: Likewise.
10075 * gdb.btrace/tailcall.exp: Likewise.
10076 * gdb.btrace/tsx.exp: Likewise.
10077 * gdb.btrace/unknown_functions.exp: Likewise.
10078 * gdb.btrace/vdso.exp: Likewise.
10079
cd4007e4
MM
100802017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10081
10082 * gdb.btrace/enable-running.c: New.
10083 * gdb.btrace/enable-running.exp: New.
10084
2735833d
WT
100852017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
10086
10087 * gdb.arch/amd64-gs_base.c: New file.
10088 * gdb.arch/amd64-gs_base.exp: New file.
10089
b51e1e94
LM
100902017-01-26 Luis Machado <lgustavo@codesourcery.com>
10091
10092 * lib/memory.exp: Remove spurious empty newlines.
10093
72ca0410
SM
100942017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
10095
10096 * gdb.python/py-bad-printers.exp: Load python file using "source".
10097 * gdb.python/py-events.exp: Likewise.
10098 * gdb.python/py-evsignal.exp: Likewise.
10099 * gdb.python/py-evthreads.exp: Likewise.
10100 * gdb.python/py-frame-args.exp: Likewise.
10101 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
10102 * gdb.python/py-framefilter-mi.exp: Likewise.
10103 * gdb.python/py-framefilter.exp: Likewise.
10104 * gdb.python/py-mi.exp: Likewise.
10105 * gdb.python/py-pp-maint.exp: Likewise.
10106 * gdb.python/py-pp-registration.exp: Likewise.
10107 * gdb.python/py-prettyprint.exp: Likewise.
10108 (run_lang_tests): Likewise.
10109 * gdb.python/py-typeprint.exp: Likewise.
10110
e309aa65
LM
101112017-01-26 Luis Machado <lgustavo@codesourcery.com>
10112
10113 * lib/memory.exp: New file.
10114 * lib/gdb.exp: Load memory.exp.
10115 * gdb.base/memattr.exp (delete_memory): Move proc to
10116 lib/memory.exp and rename to delete_memory_regions.
10117 Replace delete_memory with delete_memory_regions.
10118 Cleanup memory regions before tests.
10119 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
10120 before tests.
10121
515aff23
LM
101222017-01-26 Luis Machado <lgustavo@codesourcery.com>
10123
10124 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
10125 files.
10126 (initialize): New function conditionally defined.
10127 (testcases): Move within conditional block.
10128 (main): Call initialize.
10129 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
10130 of gdb.reverse/insn-reverse.c.
10131 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
10132 gdb.reverse/insn-reverse.c.
10133
d8b49cf0
YQ
101342017-01-26 Yao Qi <yao.qi@linaro.org>
10135
10136 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
10137 disassemble on address 0.
10138
f13a9a0c
YQ
101392017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
10140 Yao Qi <yao.qi@linaro.org>
10141
10142 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
10143 * gdb.dwarf2/implptr-64bit.S: Remove.
10144 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
10145 variables in caller's context. Add DW_OP_implicit_value.
10146
5ac95241
YQ
101472017-01-25 Yao Qi <yao.qi@linaro.org>
10148
10149 * lib/dwarf.exp (Dwarf::_location): Handle
10150 DW_OP_GNU_implicit_pointer with proper size.
10151
23e82930
LM
101522017-01-20 Luis Machado <lgustavo@codesourcery.com>
10153
10154 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
10155 and add untested calls.
10156
d334ae25
LM
101572017-01-20 Luis Machado <lgustavo@codesourcery.com>
10158
10159 * gdb.python/python.exp: Check line number against what GDB thinks
10160 the line number is for func1.
10161
f5e6296e
IB
101622017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
10163
10164 * gdb.dlang/debug-expr.exp: New file.
10165
5b362f04
LM
101662016-12-23 Luis Machado <lgustavo@codesourcery.com>
10167
10168 Fix test names for the following files:
10169
10170 * gdb.ada/exec_changed.exp
10171 * gdb.ada/info_types.exp
10172 * gdb.arch/aarch64-atomic-inst.exp
10173 * gdb.arch/aarch64-fp.exp
10174 * gdb.arch/altivec-abi.exp
10175 * gdb.arch/altivec-regs.exp
10176 * gdb.arch/amd64-byte.exp
10177 * gdb.arch/amd64-disp-step.exp
10178 * gdb.arch/amd64-dword.exp
10179 * gdb.arch/amd64-entry-value-inline.exp
10180 * gdb.arch/amd64-entry-value-param.exp
10181 * gdb.arch/amd64-entry-value-paramref.exp
10182 * gdb.arch/amd64-entry-value.exp
10183 * gdb.arch/amd64-i386-address.exp
10184 * gdb.arch/amd64-invalid-stack-middle.exp
10185 * gdb.arch/amd64-invalid-stack-top.exp
10186 * gdb.arch/amd64-optimout-repeat.exp
10187 * gdb.arch/amd64-prologue-skip.exp
10188 * gdb.arch/amd64-prologue-xmm.exp
10189 * gdb.arch/amd64-stap-special-operands.exp
10190 * gdb.arch/amd64-stap-wrong-subexp.exp
10191 * gdb.arch/amd64-tailcall-cxx.exp
10192 * gdb.arch/amd64-tailcall-noret.exp
10193 * gdb.arch/amd64-tailcall-ret.exp
10194 * gdb.arch/amd64-tailcall-self.exp
10195 * gdb.arch/amd64-word.exp
10196 * gdb.arch/arm-bl-branch-dest.exp
10197 * gdb.arch/arm-disp-step.exp
10198 * gdb.arch/arm-neon.exp
10199 * gdb.arch/arm-single-step-kernel-helper.exp
10200 * gdb.arch/avr-flash-qualifier.exp
10201 * gdb.arch/disp-step-insn-reloc.exp
10202 * gdb.arch/e500-abi.exp
10203 * gdb.arch/e500-regs.exp
10204 * gdb.arch/ftrace-insn-reloc.exp
10205 * gdb.arch/i386-avx512.exp
10206 * gdb.arch/i386-bp_permanent.exp
10207 * gdb.arch/i386-byte.exp
10208 * gdb.arch/i386-cfi-notcurrent.exp
10209 * gdb.arch/i386-disp-step.exp
10210 * gdb.arch/i386-dr3-watch.exp
10211 * gdb.arch/i386-float.exp
10212 * gdb.arch/i386-gnu-cfi.exp
10213 * gdb.arch/i386-mpx-map.exp
10214 * gdb.arch/i386-mpx-sigsegv.exp
10215 * gdb.arch/i386-mpx-simple_segv.exp
10216 * gdb.arch/i386-mpx.exp
10217 * gdb.arch/i386-permbkpt.exp
10218 * gdb.arch/i386-prologue.exp
10219 * gdb.arch/i386-signal.exp
10220 * gdb.arch/i386-size-overlap.exp
10221 * gdb.arch/i386-unwind.exp
10222 * gdb.arch/i386-word.exp
10223 * gdb.arch/mips-fcr.exp
10224 * gdb.arch/powerpc-d128-regs.exp
10225 * gdb.arch/powerpc-stackless.exp
10226 * gdb.arch/ppc64-atomic-inst.exp
10227 * gdb.arch/s390-stackless.exp
10228 * gdb.arch/s390-tdbregs.exp
10229 * gdb.arch/s390-vregs.exp
10230 * gdb.arch/sparc-sysstep.exp
10231 * gdb.arch/thumb-bx-pc.exp
10232 * gdb.arch/thumb-singlestep.exp
10233 * gdb.arch/thumb2-it.exp
10234 * gdb.arch/vsx-regs.exp
10235 * gdb.asm/asm-source.exp
10236 * gdb.base/a2-run.exp
10237 * gdb.base/advance.exp
10238 * gdb.base/all-bin.exp
10239 * gdb.base/anon.exp
10240 * gdb.base/args.exp
10241 * gdb.base/arithmet.exp
10242 * gdb.base/async-shell.exp
10243 * gdb.base/async.exp
10244 * gdb.base/attach-pie-noexec.exp
10245 * gdb.base/attach-twice.exp
10246 * gdb.base/auto-load.exp
10247 * gdb.base/bang.exp
10248 * gdb.base/bitfields.exp
10249 * gdb.base/break-always.exp
10250 * gdb.base/break-caller-line.exp
10251 * gdb.base/break-entry.exp
10252 * gdb.base/break-inline.exp
10253 * gdb.base/break-on-linker-gcd-function.exp
10254 * gdb.base/break-probes.exp
10255 * gdb.base/break.exp
10256 * gdb.base/breakpoint-shadow.exp
10257 * gdb.base/call-ar-st.exp
10258 * gdb.base/call-sc.exp
10259 * gdb.base/call-signal-resume.exp
10260 * gdb.base/call-strs.exp
10261 * gdb.base/callfuncs.exp
10262 * gdb.base/catch-fork-static.exp
10263 * gdb.base/catch-gdb-caused-signals.exp
10264 * gdb.base/catch-load.exp
10265 * gdb.base/catch-signal-fork.exp
10266 * gdb.base/catch-signal.exp
10267 * gdb.base/catch-syscall.exp
10268 * gdb.base/charset.exp
10269 * gdb.base/checkpoint.exp
10270 * gdb.base/chng-syms.exp
10271 * gdb.base/code-expr.exp
10272 * gdb.base/code_elim.exp
10273 * gdb.base/commands.exp
10274 * gdb.base/completion.exp
10275 * gdb.base/complex.exp
10276 * gdb.base/cond-expr.exp
10277 * gdb.base/condbreak.exp
10278 * gdb.base/consecutive.exp
10279 * gdb.base/continue-all-already-running.exp
10280 * gdb.base/coredump-filter.exp
10281 * gdb.base/corefile.exp
10282 * gdb.base/dbx.exp
10283 * gdb.base/debug-expr.exp
10284 * gdb.base/define.exp
10285 * gdb.base/del.exp
10286 * gdb.base/disabled-location.exp
10287 * gdb.base/disasm-end-cu.exp
10288 * gdb.base/disasm-optim.exp
10289 * gdb.base/display.exp
10290 * gdb.base/duplicate-bp.exp
10291 * gdb.base/ena-dis-br.exp
10292 * gdb.base/ending-run.exp
10293 * gdb.base/enumval.exp
10294 * gdb.base/environ.exp
10295 * gdb.base/eu-strip-infcall.exp
10296 * gdb.base/eval-avoid-side-effects.exp
10297 * gdb.base/eval-skip.exp
10298 * gdb.base/exitsignal.exp
10299 * gdb.base/expand-psymtabs.exp
10300 * gdb.base/filesym.exp
10301 * gdb.base/find-unmapped.exp
10302 * gdb.base/finish.exp
10303 * gdb.base/float.exp
10304 * gdb.base/foll-exec-mode.exp
10305 * gdb.base/foll-exec.exp
10306 * gdb.base/foll-fork.exp
10307 * gdb.base/fortran-sym-case.exp
10308 * gdb.base/freebpcmd.exp
10309 * gdb.base/func-ptr.exp
10310 * gdb.base/func-ptrs.exp
10311 * gdb.base/funcargs.exp
10312 * gdb.base/gcore-buffer-overflow.exp
10313 * gdb.base/gcore-relro-pie.exp
10314 * gdb.base/gcore-relro.exp
10315 * gdb.base/gcore.exp
10316 * gdb.base/gdb1090.exp
10317 * gdb.base/gdb11530.exp
10318 * gdb.base/gdb11531.exp
10319 * gdb.base/gdb1821.exp
10320 * gdb.base/gdbindex-stabs.exp
10321 * gdb.base/gdbvars.exp
10322 * gdb.base/hbreak.exp
10323 * gdb.base/hbreak2.exp
10324 * gdb.base/included.exp
10325 * gdb.base/infcall-input.exp
10326 * gdb.base/inferior-died.exp
10327 * gdb.base/infnan.exp
10328 * gdb.base/info-macros.exp
10329 * gdb.base/info-os.exp
10330 * gdb.base/info-proc.exp
10331 * gdb.base/info-shared.exp
10332 * gdb.base/info-target.exp
10333 * gdb.base/infoline.exp
10334 * gdb.base/interp.exp
10335 * gdb.base/interrupt.exp
10336 * gdb.base/jit-reader.exp
10337 * gdb.base/jit-simple.exp
10338 * gdb.base/kill-after-signal.exp
10339 * gdb.base/kill-detach-inferiors-cmd.exp
10340 * gdb.base/label.exp
10341 * gdb.base/langs.exp
10342 * gdb.base/ldbl_e308.exp
10343 * gdb.base/line-symtabs.exp
10344 * gdb.base/linespecs.exp
10345 * gdb.base/list.exp
10346 * gdb.base/long_long.exp
10347 * gdb.base/longest-types.exp
10348 * gdb.base/maint.exp
10349 * gdb.base/max-value-size.exp
10350 * gdb.base/memattr.exp
10351 * gdb.base/mips_pro.exp
10352 * gdb.base/morestack.exp
10353 * gdb.base/moribund-step.exp
10354 * gdb.base/multi-forks.exp
10355 * gdb.base/nested-addr.exp
10356 * gdb.base/nextoverexit.exp
10357 * gdb.base/noreturn-finish.exp
10358 * gdb.base/noreturn-return.exp
10359 * gdb.base/nostdlib.exp
10360 * gdb.base/offsets.exp
10361 * gdb.base/opaque.exp
10362 * gdb.base/pc-fp.exp
10363 * gdb.base/permissions.exp
10364 * gdb.base/print-symbol-loading.exp
10365 * gdb.base/prologue-include.exp
10366 * gdb.base/psymtab.exp
10367 * gdb.base/ptype.exp
10368 * gdb.base/random-signal.exp
10369 * gdb.base/randomize.exp
10370 * gdb.base/range-stepping.exp
10371 * gdb.base/readline-ask.exp
10372 * gdb.base/recpar.exp
10373 * gdb.base/recurse.exp
10374 * gdb.base/relational.exp
10375 * gdb.base/restore.exp
10376 * gdb.base/return-nodebug.exp
10377 * gdb.base/return.exp
10378 * gdb.base/run-after-attach.exp
10379 * gdb.base/save-bp.exp
10380 * gdb.base/scope.exp
10381 * gdb.base/sect-cmd.exp
10382 * gdb.base/set-lang-auto.exp
10383 * gdb.base/set-noassign.exp
10384 * gdb.base/setvar.exp
10385 * gdb.base/sigall.exp
10386 * gdb.base/sigbpt.exp
10387 * gdb.base/siginfo-addr.exp
10388 * gdb.base/siginfo-infcall.exp
10389 * gdb.base/siginfo-obj.exp
10390 * gdb.base/siginfo.exp
10391 * gdb.base/signals-state-child.exp
10392 * gdb.base/signest.exp
10393 * gdb.base/sigstep.exp
10394 * gdb.base/sizeof.exp
10395 * gdb.base/skip.exp
10396 * gdb.base/solib-corrupted.exp
10397 * gdb.base/solib-nodir.exp
10398 * gdb.base/solib-search.exp
10399 * gdb.base/stack-checking.exp
10400 * gdb.base/stale-infcall.exp
10401 * gdb.base/stap-probe.exp
10402 * gdb.base/start.exp
10403 * gdb.base/step-break.exp
10404 * gdb.base/step-bt.exp
10405 * gdb.base/step-line.exp
10406 * gdb.base/step-over-exit.exp
10407 * gdb.base/step-over-syscall.exp
10408 * gdb.base/step-resume-infcall.exp
10409 * gdb.base/step-test.exp
10410 * gdb.base/store.exp
10411 * gdb.base/structs3.exp
10412 * gdb.base/sym-file.exp
10413 * gdb.base/symbol-without-target_section.exp
10414 * gdb.base/term.exp
10415 * gdb.base/testenv.exp
10416 * gdb.base/ui-redirect.exp
10417 * gdb.base/until.exp
10418 * gdb.base/unwindonsignal.exp
10419 * gdb.base/value-double-free.exp
10420 * gdb.base/vla-datatypes.exp
10421 * gdb.base/vla-ptr.exp
10422 * gdb.base/vla-sideeffect.exp
10423 * gdb.base/volatile.exp
10424 * gdb.base/watch-cond-infcall.exp
10425 * gdb.base/watch-cond.exp
10426 * gdb.base/watch-non-mem.exp
10427 * gdb.base/watch-read.exp
10428 * gdb.base/watch-vfork.exp
10429 * gdb.base/watchpoint-cond-gone.exp
10430 * gdb.base/watchpoint-delete.exp
10431 * gdb.base/watchpoint-hw-hit-once.exp
10432 * gdb.base/watchpoint-hw.exp
10433 * gdb.base/watchpoint-stops-at-right-insn.exp
10434 * gdb.base/watchpoints.exp
10435 * gdb.base/wchar.exp
10436 * gdb.base/whatis-exp.exp
10437 * gdb.btrace/buffer-size.exp
10438 * gdb.btrace/data.exp
10439 * gdb.btrace/delta.exp
10440 * gdb.btrace/dlopen.exp
10441 * gdb.btrace/enable.exp
10442 * gdb.btrace/exception.exp
10443 * gdb.btrace/function_call_history.exp
10444 * gdb.btrace/gcore.exp
10445 * gdb.btrace/instruction_history.exp
10446 * gdb.btrace/nohist.exp
10447 * gdb.btrace/reconnect.exp
10448 * gdb.btrace/record_goto-step.exp
10449 * gdb.btrace/record_goto.exp
10450 * gdb.btrace/rn-dl-bind.exp
10451 * gdb.btrace/segv.exp
10452 * gdb.btrace/step.exp
10453 * gdb.btrace/stepi.exp
10454 * gdb.btrace/tailcall-only.exp
10455 * gdb.btrace/tailcall.exp
10456 * gdb.btrace/tsx.exp
10457 * gdb.btrace/unknown_functions.exp
10458 * gdb.btrace/vdso.exp
10459 * gdb.compile/compile-ifunc.exp
10460 * gdb.compile/compile-ops.exp
10461 * gdb.compile/compile-print.exp
10462 * gdb.compile/compile-setjmp.exp
10463 * gdb.cp/abstract-origin.exp
10464 * gdb.cp/ambiguous.exp
10465 * gdb.cp/annota2.exp
10466 * gdb.cp/annota3.exp
10467 * gdb.cp/anon-ns.exp
10468 * gdb.cp/anon-struct.exp
10469 * gdb.cp/anon-union.exp
10470 * gdb.cp/arg-reference.exp
10471 * gdb.cp/baseenum.exp
10472 * gdb.cp/bool.exp
10473 * gdb.cp/breakpoint.exp
10474 * gdb.cp/bs15503.exp
10475 * gdb.cp/call-c.exp
10476 * gdb.cp/casts.exp
10477 * gdb.cp/chained-calls.exp
10478 * gdb.cp/class2.exp
10479 * gdb.cp/classes.exp
10480 * gdb.cp/cmpd-minsyms.exp
10481 * gdb.cp/converts.exp
10482 * gdb.cp/cp-relocate.exp
10483 * gdb.cp/cpcompletion.exp
10484 * gdb.cp/cpexprs.exp
10485 * gdb.cp/cplabel.exp
10486 * gdb.cp/cplusfuncs.exp
10487 * gdb.cp/cpsizeof.exp
10488 * gdb.cp/ctti.exp
10489 * gdb.cp/derivation.exp
10490 * gdb.cp/destrprint.exp
10491 * gdb.cp/dispcxx.exp
10492 * gdb.cp/enum-class.exp
10493 * gdb.cp/exception.exp
10494 * gdb.cp/exceptprint.exp
10495 * gdb.cp/expand-psymtabs-cxx.exp
10496 * gdb.cp/expand-sals.exp
10497 * gdb.cp/extern-c.exp
10498 * gdb.cp/filename.exp
10499 * gdb.cp/formatted-ref.exp
10500 * gdb.cp/fpointer.exp
10501 * gdb.cp/gdb1355.exp
10502 * gdb.cp/gdb2495.exp
10503 * gdb.cp/hang.exp
10504 * gdb.cp/impl-this.exp
10505 * gdb.cp/infcall-dlopen.exp
10506 * gdb.cp/inherit.exp
10507 * gdb.cp/iostream.exp
10508 * gdb.cp/koenig.exp
10509 * gdb.cp/local.exp
10510 * gdb.cp/m-data.exp
10511 * gdb.cp/m-static.exp
10512 * gdb.cp/mb-ctor.exp
10513 * gdb.cp/mb-inline.exp
10514 * gdb.cp/mb-templates.exp
10515 * gdb.cp/member-name.exp
10516 * gdb.cp/member-ptr.exp
10517 * gdb.cp/meth-typedefs.exp
10518 * gdb.cp/method.exp
10519 * gdb.cp/method2.exp
10520 * gdb.cp/minsym-fallback.exp
10521 * gdb.cp/misc.exp
10522 * gdb.cp/namelessclass.exp
10523 * gdb.cp/namespace-enum.exp
10524 * gdb.cp/namespace-nested-import.exp
10525 * gdb.cp/namespace.exp
10526 * gdb.cp/nextoverthrow.exp
10527 * gdb.cp/no-dmgl-verbose.exp
10528 * gdb.cp/non-trivial-retval.exp
10529 * gdb.cp/noparam.exp
10530 * gdb.cp/nsdecl.exp
10531 * gdb.cp/nsimport.exp
10532 * gdb.cp/nsnested.exp
10533 * gdb.cp/nsnoimports.exp
10534 * gdb.cp/nsrecurs.exp
10535 * gdb.cp/nsstress.exp
10536 * gdb.cp/nsusing.exp
10537 * gdb.cp/operator.exp
10538 * gdb.cp/oranking.exp
10539 * gdb.cp/overload-const.exp
10540 * gdb.cp/overload.exp
10541 * gdb.cp/ovldbreak.exp
10542 * gdb.cp/ovsrch.exp
10543 * gdb.cp/paren-type.exp
10544 * gdb.cp/parse-lang.exp
10545 * gdb.cp/pass-by-ref.exp
10546 * gdb.cp/pr-1023.exp
10547 * gdb.cp/pr-1210.exp
10548 * gdb.cp/pr-574.exp
10549 * gdb.cp/pr10687.exp
10550 * gdb.cp/pr12028.exp
10551 * gdb.cp/pr17132.exp
10552 * gdb.cp/pr17494.exp
10553 * gdb.cp/pr9067.exp
10554 * gdb.cp/pr9167.exp
10555 * gdb.cp/pr9631.exp
10556 * gdb.cp/printmethod.exp
10557 * gdb.cp/psmang.exp
10558 * gdb.cp/psymtab-parameter.exp
10559 * gdb.cp/ptype-cv-cp.exp
10560 * gdb.cp/ptype-flags.exp
10561 * gdb.cp/re-set-overloaded.exp
10562 * gdb.cp/ref-types.exp
10563 * gdb.cp/rtti.exp
10564 * gdb.cp/scope-err.exp
10565 * gdb.cp/shadow.exp
10566 * gdb.cp/smartp.exp
10567 * gdb.cp/static-method.exp
10568 * gdb.cp/static-print-quit.exp
10569 * gdb.cp/temargs.exp
10570 * gdb.cp/templates.exp
10571 * gdb.cp/try_catch.exp
10572 * gdb.cp/typedef-operator.exp
10573 * gdb.cp/typeid.exp
10574 * gdb.cp/userdef.exp
10575 * gdb.cp/using-crash.exp
10576 * gdb.cp/var-tag.exp
10577 * gdb.cp/virtbase.exp
10578 * gdb.cp/virtfunc.exp
10579 * gdb.cp/virtfunc2.exp
10580 * gdb.cp/vla-cxx.exp
10581 * gdb.disasm/t01_mov.exp
10582 * gdb.disasm/t02_mova.exp
10583 * gdb.disasm/t03_add.exp
10584 * gdb.disasm/t04_sub.exp
10585 * gdb.disasm/t05_cmp.exp
10586 * gdb.disasm/t06_ari2.exp
10587 * gdb.disasm/t07_ari3.exp
10588 * gdb.disasm/t08_or.exp
10589 * gdb.disasm/t09_xor.exp
10590 * gdb.disasm/t10_and.exp
10591 * gdb.disasm/t11_logs.exp
10592 * gdb.disasm/t12_bit.exp
10593 * gdb.disasm/t13_otr.exp
10594 * gdb.dlang/circular.exp
10595 * gdb.dwarf2/arr-stride.exp
10596 * gdb.dwarf2/arr-subrange.exp
10597 * gdb.dwarf2/atomic-type.exp
10598 * gdb.dwarf2/bad-regnum.exp
10599 * gdb.dwarf2/bitfield-parent-optimized-out.exp
10600 * gdb.dwarf2/callframecfa.exp
10601 * gdb.dwarf2/clztest.exp
10602 * gdb.dwarf2/corrupt.exp
10603 * gdb.dwarf2/data-loc.exp
10604 * gdb.dwarf2/dup-psym.exp
10605 * gdb.dwarf2/dw2-anon-mptr.exp
10606 * gdb.dwarf2/dw2-anonymous-func.exp
10607 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
10608 * gdb.dwarf2/dw2-bad-unresolved.exp
10609 * gdb.dwarf2/dw2-basic.exp
10610 * gdb.dwarf2/dw2-canonicalize-type.exp
10611 * gdb.dwarf2/dw2-case-insensitive.exp
10612 * gdb.dwarf2/dw2-common-block.exp
10613 * gdb.dwarf2/dw2-compdir-oldgcc.exp
10614 * gdb.dwarf2/dw2-compressed.exp
10615 * gdb.dwarf2/dw2-const.exp
10616 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
10617 * gdb.dwarf2/dw2-cu-size.exp
10618 * gdb.dwarf2/dw2-dup-frame.exp
10619 * gdb.dwarf2/dw2-entry-value.exp
10620 * gdb.dwarf2/dw2-icycle.exp
10621 * gdb.dwarf2/dw2-ifort-parameter.exp
10622 * gdb.dwarf2/dw2-inline-break.exp
10623 * gdb.dwarf2/dw2-inline-param.exp
10624 * gdb.dwarf2/dw2-intercu.exp
10625 * gdb.dwarf2/dw2-intermix.exp
10626 * gdb.dwarf2/dw2-lexical-block-bare.exp
10627 * gdb.dwarf2/dw2-linkage-name-trust.exp
10628 * gdb.dwarf2/dw2-minsym-in-cu.exp
10629 * gdb.dwarf2/dw2-noloc.exp
10630 * gdb.dwarf2/dw2-op-call.exp
10631 * gdb.dwarf2/dw2-op-out-param.exp
10632 * gdb.dwarf2/dw2-opt-structptr.exp
10633 * gdb.dwarf2/dw2-param-error.exp
10634 * gdb.dwarf2/dw2-producer.exp
10635 * gdb.dwarf2/dw2-ranges-base.exp
10636 * gdb.dwarf2/dw2-ref-missing-frame.exp
10637 * gdb.dwarf2/dw2-reg-undefined.exp
10638 * gdb.dwarf2/dw2-regno-invalid.exp
10639 * gdb.dwarf2/dw2-restore.exp
10640 * gdb.dwarf2/dw2-restrict.exp
10641 * gdb.dwarf2/dw2-single-line-discriminators.exp
10642 * gdb.dwarf2/dw2-strp.exp
10643 * gdb.dwarf2/dw2-undefined-ret-addr.exp
10644 * gdb.dwarf2/dw2-unresolved.exp
10645 * gdb.dwarf2/dw2-var-zero-addr.exp
10646 * gdb.dwarf2/dw4-sig-types.exp
10647 * gdb.dwarf2/dwz.exp
10648 * gdb.dwarf2/dynarr-ptr.exp
10649 * gdb.dwarf2/enum-type.exp
10650 * gdb.dwarf2/gdb-index.exp
10651 * gdb.dwarf2/implptr-64bit.exp
10652 * gdb.dwarf2/implptr-optimized-out.exp
10653 * gdb.dwarf2/implptr.exp
10654 * gdb.dwarf2/implref-array.exp
10655 * gdb.dwarf2/implref-const.exp
10656 * gdb.dwarf2/implref-global.exp
10657 * gdb.dwarf2/implref-struct.exp
10658 * gdb.dwarf2/mac-fileno.exp
10659 * gdb.dwarf2/main-subprogram.exp
10660 * gdb.dwarf2/member-ptr-forwardref.exp
10661 * gdb.dwarf2/method-ptr.exp
10662 * gdb.dwarf2/missing-sig-type.exp
10663 * gdb.dwarf2/nonvar-access.exp
10664 * gdb.dwarf2/opaque-type-lookup.exp
10665 * gdb.dwarf2/pieces-optimized-out.exp
10666 * gdb.dwarf2/pieces.exp
10667 * gdb.dwarf2/pr10770.exp
10668 * gdb.dwarf2/pr13961.exp
10669 * gdb.dwarf2/staticvirtual.exp
10670 * gdb.dwarf2/subrange.exp
10671 * gdb.dwarf2/symtab-producer.exp
10672 * gdb.dwarf2/trace-crash.exp
10673 * gdb.dwarf2/typeddwarf.exp
10674 * gdb.dwarf2/valop.exp
10675 * gdb.dwarf2/watch-notconst.exp
10676 * gdb.fortran/array-element.exp
10677 * gdb.fortran/charset.exp
10678 * gdb.fortran/common-block.exp
10679 * gdb.fortran/complex.exp
10680 * gdb.fortran/derived-type-function.exp
10681 * gdb.fortran/derived-type.exp
10682 * gdb.fortran/logical.exp
10683 * gdb.fortran/module.exp
10684 * gdb.fortran/multi-dim.exp
10685 * gdb.fortran/nested-funcs.exp
10686 * gdb.fortran/print-formatted.exp
10687 * gdb.fortran/subarray.exp
10688 * gdb.fortran/vla-alloc-assoc.exp
10689 * gdb.fortran/vla-datatypes.exp
10690 * gdb.fortran/vla-history.exp
10691 * gdb.fortran/vla-ptr-info.exp
10692 * gdb.fortran/vla-ptype-sub.exp
10693 * gdb.fortran/vla-ptype.exp
10694 * gdb.fortran/vla-sizeof.exp
10695 * gdb.fortran/vla-type.exp
10696 * gdb.fortran/vla-value-sub-arbitrary.exp
10697 * gdb.fortran/vla-value-sub-finish.exp
10698 * gdb.fortran/vla-value-sub.exp
10699 * gdb.fortran/vla-value.exp
10700 * gdb.fortran/whatis_type.exp
10701 * gdb.go/chan.exp
10702 * gdb.go/handcall.exp
10703 * gdb.go/hello.exp
10704 * gdb.go/integers.exp
10705 * gdb.go/methods.exp
10706 * gdb.go/package.exp
10707 * gdb.go/strings.exp
10708 * gdb.go/types.exp
10709 * gdb.go/unsafe.exp
10710 * gdb.guile/scm-arch.exp
10711 * gdb.guile/scm-block.exp
10712 * gdb.guile/scm-breakpoint.exp
10713 * gdb.guile/scm-cmd.exp
10714 * gdb.guile/scm-disasm.exp
10715 * gdb.guile/scm-equal.exp
10716 * gdb.guile/scm-frame-args.exp
10717 * gdb.guile/scm-frame-inline.exp
10718 * gdb.guile/scm-frame.exp
10719 * gdb.guile/scm-iterator.exp
10720 * gdb.guile/scm-math.exp
10721 * gdb.guile/scm-objfile.exp
10722 * gdb.guile/scm-ports.exp
10723 * gdb.guile/scm-symbol.exp
10724 * gdb.guile/scm-symtab.exp
10725 * gdb.guile/scm-value-cc.exp
10726 * gdb.guile/types-module.exp
10727 * gdb.linespec/break-ask.exp
10728 * gdb.linespec/cpexplicit.exp
10729 * gdb.linespec/explicit.exp
10730 * gdb.linespec/keywords.exp
10731 * gdb.linespec/linespec.exp
10732 * gdb.linespec/ls-dollar.exp
10733 * gdb.linespec/ls-errs.exp
10734 * gdb.linespec/skip-two.exp
10735 * gdb.linespec/thread.exp
10736 * gdb.mi/mi-async.exp
10737 * gdb.mi/mi-basics.exp
10738 * gdb.mi/mi-break.exp
10739 * gdb.mi/mi-catch-load.exp
10740 * gdb.mi/mi-cli.exp
10741 * gdb.mi/mi-cmd-param-changed.exp
10742 * gdb.mi/mi-console.exp
10743 * gdb.mi/mi-detach.exp
10744 * gdb.mi/mi-disassemble.exp
10745 * gdb.mi/mi-eval.exp
10746 * gdb.mi/mi-file-transfer.exp
10747 * gdb.mi/mi-file.exp
10748 * gdb.mi/mi-fill-memory.exp
10749 * gdb.mi/mi-inheritance-syntax-error.exp
10750 * gdb.mi/mi-linespec-err-cp.exp
10751 * gdb.mi/mi-logging.exp
10752 * gdb.mi/mi-memory-changed.exp
10753 * gdb.mi/mi-read-memory.exp
10754 * gdb.mi/mi-record-changed.exp
10755 * gdb.mi/mi-reg-undefined.exp
10756 * gdb.mi/mi-regs.exp
10757 * gdb.mi/mi-return.exp
10758 * gdb.mi/mi-reverse.exp
10759 * gdb.mi/mi-simplerun.exp
10760 * gdb.mi/mi-solib.exp
10761 * gdb.mi/mi-stack.exp
10762 * gdb.mi/mi-stepi.exp
10763 * gdb.mi/mi-syn-frame.exp
10764 * gdb.mi/mi-until.exp
10765 * gdb.mi/mi-var-block.exp
10766 * gdb.mi/mi-var-child.exp
10767 * gdb.mi/mi-var-cmd.exp
10768 * gdb.mi/mi-var-cp.exp
10769 * gdb.mi/mi-var-display.exp
10770 * gdb.mi/mi-var-invalidate.exp
10771 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
10772 * gdb.mi/mi-vla-fortran.exp
10773 * gdb.mi/mi-watch.exp
10774 * gdb.mi/mi2-var-child.exp
10775 * gdb.mi/user-selected-context-sync.exp
10776 * gdb.modula2/unbounded-array.exp
10777 * gdb.multi/dummy-frame-restore.exp
10778 * gdb.multi/multi-arch-exec.exp
10779 * gdb.multi/multi-arch.exp
10780 * gdb.multi/tids.exp
10781 * gdb.multi/watchpoint-multi.exp
10782 * gdb.opencl/callfuncs.exp
10783 * gdb.opencl/convs_casts.exp
10784 * gdb.opencl/datatypes.exp
10785 * gdb.opencl/operators.exp
10786 * gdb.opencl/vec_comps.exp
10787 * gdb.opt/clobbered-registers-O2.exp
10788 * gdb.opt/inline-break.exp
10789 * gdb.opt/inline-bt.exp
10790 * gdb.opt/inline-cmds.exp
10791 * gdb.opt/inline-locals.exp
10792 * gdb.pascal/case-insensitive-symbols.exp
10793 * gdb.pascal/floats.exp
10794 * gdb.pascal/gdb11492.exp
10795 * gdb.python/lib-types.exp
10796 * gdb.python/py-arch.exp
10797 * gdb.python/py-as-string.exp
10798 * gdb.python/py-bad-printers.exp
10799 * gdb.python/py-block.exp
10800 * gdb.python/py-breakpoint-create-fail.exp
10801 * gdb.python/py-breakpoint.exp
10802 * gdb.python/py-caller-is.exp
10803 * gdb.python/py-cmd.exp
10804 * gdb.python/py-explore-cc.exp
10805 * gdb.python/py-explore.exp
10806 * gdb.python/py-finish-breakpoint.exp
10807 * gdb.python/py-finish-breakpoint2.exp
10808 * gdb.python/py-frame-args.exp
10809 * gdb.python/py-frame-inline.exp
10810 * gdb.python/py-frame.exp
10811 * gdb.python/py-framefilter-mi.exp
10812 * gdb.python/py-infthread.exp
10813 * gdb.python/py-lazy-string.exp
10814 * gdb.python/py-linetable.exp
10815 * gdb.python/py-mi-events.exp
10816 * gdb.python/py-mi-objfile.exp
10817 * gdb.python/py-mi.exp
10818 * gdb.python/py-objfile.exp
10819 * gdb.python/py-pp-integral.exp
10820 * gdb.python/py-pp-maint.exp
10821 * gdb.python/py-pp-re-notag.exp
10822 * gdb.python/py-pp-registration.exp
10823 * gdb.python/py-recurse-unwind.exp
10824 * gdb.python/py-strfns.exp
10825 * gdb.python/py-symbol.exp
10826 * gdb.python/py-symtab.exp
10827 * gdb.python/py-sync-interp.exp
10828 * gdb.python/py-typeprint.exp
10829 * gdb.python/py-unwind-maint.exp
10830 * gdb.python/py-unwind.exp
10831 * gdb.python/py-value-cc.exp
10832 * gdb.python/py-xmethods.exp
10833 * gdb.reverse/amd64-tailcall-reverse.exp
10834 * gdb.reverse/break-precsave.exp
10835 * gdb.reverse/break-reverse.exp
10836 * gdb.reverse/consecutive-precsave.exp
10837 * gdb.reverse/consecutive-reverse.exp
10838 * gdb.reverse/finish-precsave.exp
10839 * gdb.reverse/finish-reverse-bkpt.exp
10840 * gdb.reverse/finish-reverse.exp
10841 * gdb.reverse/fstatat-reverse.exp
10842 * gdb.reverse/getresuid-reverse.exp
10843 * gdb.reverse/i386-precsave.exp
10844 * gdb.reverse/i386-reverse.exp
10845 * gdb.reverse/i386-sse-reverse.exp
10846 * gdb.reverse/i387-env-reverse.exp
10847 * gdb.reverse/i387-stack-reverse.exp
10848 * gdb.reverse/insn-reverse.exp
10849 * gdb.reverse/machinestate-precsave.exp
10850 * gdb.reverse/machinestate.exp
10851 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10852 * gdb.reverse/pipe-reverse.exp
10853 * gdb.reverse/readv-reverse.exp
10854 * gdb.reverse/recvmsg-reverse.exp
10855 * gdb.reverse/rerun-prec.exp
10856 * gdb.reverse/s390-mvcle.exp
10857 * gdb.reverse/step-precsave.exp
10858 * gdb.reverse/step-reverse.exp
10859 * gdb.reverse/time-reverse.exp
10860 * gdb.reverse/until-precsave.exp
10861 * gdb.reverse/until-reverse.exp
10862 * gdb.reverse/waitpid-reverse.exp
10863 * gdb.reverse/watch-precsave.exp
10864 * gdb.reverse/watch-reverse.exp
10865 * gdb.rust/generics.exp
10866 * gdb.rust/methods.exp
10867 * gdb.rust/modules.exp
10868 * gdb.rust/simple.exp
10869 * gdb.server/connect-with-no-symbol-file.exp
10870 * gdb.server/ext-attach.exp
10871 * gdb.server/ext-restart.exp
10872 * gdb.server/ext-wrapper.exp
10873 * gdb.server/file-transfer.exp
10874 * gdb.server/server-exec-info.exp
10875 * gdb.server/server-kill.exp
10876 * gdb.server/server-mon.exp
10877 * gdb.server/wrapper.exp
10878 * gdb.stabs/exclfwd.exp
10879 * gdb.stabs/gdb11479.exp
10880 * gdb.threads/clone-new-thread-event.exp
10881 * gdb.threads/corethreads.exp
10882 * gdb.threads/current-lwp-dead.exp
10883 * gdb.threads/dlopen-libpthread.exp
10884 * gdb.threads/gcore-thread.exp
10885 * gdb.threads/sigstep-threads.exp
10886 * gdb.threads/watchpoint-fork.exp
10887 * gdb.trace/actions-changed.exp
10888 * gdb.trace/backtrace.exp
10889 * gdb.trace/change-loc.exp
10890 * gdb.trace/circ.exp
10891 * gdb.trace/collection.exp
10892 * gdb.trace/disconnected-tracing.exp
10893 * gdb.trace/ftrace.exp
10894 * gdb.trace/mi-trace-frame-collected.exp
10895 * gdb.trace/mi-trace-unavailable.exp
10896 * gdb.trace/mi-traceframe-changed.exp
10897 * gdb.trace/mi-tsv-changed.exp
10898 * gdb.trace/no-attach-trace.exp
10899 * gdb.trace/passc-dyn.exp
10900 * gdb.trace/qtro.exp
10901 * gdb.trace/range-stepping.exp
10902 * gdb.trace/read-memory.exp
10903 * gdb.trace/save-trace.exp
10904 * gdb.trace/signal.exp
10905 * gdb.trace/status-stop.exp
10906 * gdb.trace/tfile.exp
10907 * gdb.trace/trace-break.exp
10908 * gdb.trace/trace-buffer-size.exp
10909 * gdb.trace/trace-condition.exp
10910 * gdb.trace/tracefile-pseudo-reg.exp
10911 * gdb.trace/tstatus.exp
10912 * gdb.trace/unavailable.exp
10913 * gdb.trace/while-dyn.exp
10914 * gdb.trace/while-stepping.exp
10915
34c41c68
DE
109162016-12-22 Doug Evans <xdje42@gmail.com>
10917
10918 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
10919 and msymbols.
10920
16e69324
YQ
109212016-12-19 Yao Qi <yao.qi@linaro.org>
10922
10923 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
10924 (test_with_self): Don't call do_steps_and_nexts, and remove
10925 code about stepping into xmalloc.
10926
f94f411b
YQ
109272016-12-09 Yao Qi <yao.qi@linaro.org>
10928
10929 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
10930
109312016-12-09 Yao Qi <yao.qi@linaro.org>
10932
10933 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
10934
f1b5deee
PA
109352016-12-09 Pedro Alves <palves@redhat.com>
10936
10937 * gdb.base/all-architectures-0.exp: New file.
10938 * gdb.base/all-architectures-1.exp: New file.
10939 * gdb.base/all-architectures-2.exp: New file.
10940 * gdb.base/all-architectures-3.exp: New file.
10941 * gdb.base/all-architectures-4.exp: New file.
10942 * gdb.base/all-architectures-5.exp: New file.
10943 * gdb.base/all-architectures-6.exp: New file.
10944 * gdb.base/all-architectures-7.exp: New file.
10945 * gdb.base/all-architectures.exp.in: New file.
10946
364ca42e
YQ
109472016-12-09 Yao Qi <yao.qi@linaro.org>
10948
10949 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
10950
107c2d62
LM
109512016-12-02 Luis Machado <lgustavo@codesourcery.com>
10952
10953 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
10954 possible.
10955 Remove useless pattern-matching code.
10956
df3ee9ca
PA
109572016-12-02 Pedro Alves <palves@redhat.com>
10958
10959 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
10960 procedure.
10961 (top level): Call it.
10962
ec835369
PA
109632016-12-02 Pedro Alves <palves@redhat.com>
10964
10965 * gdb.base/commands.exp (user_defined_command_args_stack_test):
10966 New procedure.
10967 (top level): Call it.
10968
01770bbd
PA
109692016-12-02 Pedro Alves <palves@redhat.com>
10970
10971 PR cli/20559
10972 * gdb.base/commands.exp (user_defined_command_args_eval): New
10973 procedure.
10974 (top level): Call it.
10975
008459ea
LM
109762016-12-02 Luis Machado <lgustavo@codesourcery.com>
10977
10978 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
10979 timeout handling.
10980
0c1b455e
TT
109812016-12-02 Tom Tromey <tom@tromey.com>
10982
10983 * gdb.dwarf2/main-subprogram.c: New file.
10984 * gdb.dwarf2/main-subprogram.exp: New file.
10985
018572b8
LM
109862016-12-01 Luis Machado <lgustavo@codesourcery.com>
10987
10988 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
10989 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10990 gdb_test_no_output for a couple of cases.
10991 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
10992
84c93cd5
LM
109932016-12-01 Luis Machado <lgustavo@codesourcery.com>
10994
10995 Fix test names and standardize compilation error messages throughout
10996 the following files:
10997
10998 * gdb.ada/start.exp
10999 * gdb.arch/alpha-step.exp
11000 * gdb.arch/e500-prologue.exp
11001 * gdb.arch/ftrace-insn-reloc.exp
11002 * gdb.arch/gdb1291.exp
11003 * gdb.arch/gdb1431.exp
11004 * gdb.arch/gdb1558.exp
11005 * gdb.arch/i386-dr3-watch.exp
11006 * gdb.arch/i386-sse-stack-align.exp
11007 * gdb.arch/ia64-breakpoint-shadow.exp
11008 * gdb.arch/pa-nullify.exp
11009 * gdb.arch/powerpc-aix-prologue.exp
11010 * gdb.arch/thumb-bx-pc.exp
11011 * gdb.base/annota1.exp
11012 * gdb.base/annota3.exp
11013 * gdb.base/arrayidx.exp
11014 * gdb.base/assign.exp
11015 * gdb.base/attach.exp
11016 * gdb.base/auxv.exp
11017 * gdb.base/bang.exp
11018 * gdb.base/bfp-test.exp
11019 * gdb.base/bigcore.exp
11020 * gdb.base/bitfields2.exp
11021 * gdb.base/break-fun-addr.exp
11022 * gdb.base/break-probes.exp
11023 * gdb.base/call-rt-st.exp
11024 * gdb.base/callexit.exp
11025 * gdb.base/catch-fork-kill.exp
11026 * gdb.base/charset.exp
11027 * gdb.base/checkpoint.exp
11028 * gdb.base/comprdebug.exp
11029 * gdb.base/constvars.exp
11030 * gdb.base/coredump-filter.exp
11031 * gdb.base/cursal.exp
11032 * gdb.base/cvexpr.exp
11033 * gdb.base/detach.exp
11034 * gdb.base/display.exp
11035 * gdb.base/dmsym.exp
11036 * gdb.base/dprintf-pending.exp
11037 * gdb.base/dso2dso.exp
11038 * gdb.base/dtrace-probe.exp
11039 * gdb.base/dump.exp
11040 * gdb.base/enum_cond.exp
11041 * gdb.base/exe-lock.exp
11042 * gdb.base/exec-invalid-sysroot.exp
11043 * gdb.base/execl-update-breakpoints.exp
11044 * gdb.base/exprs.exp
11045 * gdb.base/fileio.exp
11046 * gdb.base/find.exp
11047 * gdb.base/finish.exp
11048 * gdb.base/fixsection.exp
11049 * gdb.base/foll-vfork.exp
11050 * gdb.base/frame-args.exp
11051 * gdb.base/gcore.exp
11052 * gdb.base/gdb1250.exp
11053 * gdb.base/global-var-nested-by-dso.exp
11054 * gdb.base/gnu-ifunc.exp
11055 * gdb.base/hashline1.exp
11056 * gdb.base/hashline2.exp
11057 * gdb.base/hashline3.exp
11058 * gdb.base/hbreak-in-shr-unsupported.exp
11059 * gdb.base/huge.exp
11060 * gdb.base/infcall-input.exp
11061 * gdb.base/info-fun.exp
11062 * gdb.base/info-shared.exp
11063 * gdb.base/jit-simple.exp
11064 * gdb.base/jit-so.exp
11065 * gdb.base/jit.exp
11066 * gdb.base/jump.exp
11067 * gdb.base/label.exp
11068 * gdb.base/lineinc.exp
11069 * gdb.base/logical.exp
11070 * gdb.base/longjmp.exp
11071 * gdb.base/macscp.exp
11072 * gdb.base/miscexprs.exp
11073 * gdb.base/new-ui-echo.exp
11074 * gdb.base/new-ui-pending-input.exp
11075 * gdb.base/new-ui.exp
11076 * gdb.base/nodebug.exp
11077 * gdb.base/nofield.exp
11078 * gdb.base/offsets.exp
11079 * gdb.base/overlays.exp
11080 * gdb.base/pending.exp
11081 * gdb.base/pointers.exp
11082 * gdb.base/pr11022.exp
11083 * gdb.base/printcmds.exp
11084 * gdb.base/prologue.exp
11085 * gdb.base/ptr-typedef.exp
11086 * gdb.base/realname-expand.exp
11087 * gdb.base/relativedebug.exp
11088 * gdb.base/relocate.exp
11089 * gdb.base/remote.exp
11090 * gdb.base/reread.exp
11091 * gdb.base/return2.exp
11092 * gdb.base/savedregs.exp
11093 * gdb.base/sep.exp
11094 * gdb.base/sepdebug.exp
11095 * gdb.base/sepsymtab.exp
11096 * gdb.base/set-inferior-tty.exp
11097 * gdb.base/setshow.exp
11098 * gdb.base/shlib-call.exp
11099 * gdb.base/sigaltstack.exp
11100 * gdb.base/siginfo-addr.exp
11101 * gdb.base/signals.exp
11102 * gdb.base/signull.exp
11103 * gdb.base/sigrepeat.exp
11104 * gdb.base/so-impl-ld.exp
11105 * gdb.base/solib-display.exp
11106 * gdb.base/solib-overlap.exp
11107 * gdb.base/solib-search.exp
11108 * gdb.base/solib-symbol.exp
11109 * gdb.base/structs.exp
11110 * gdb.base/structs2.exp
11111 * gdb.base/symtab-search-order.exp
11112 * gdb.base/twice.exp
11113 * gdb.base/unload.exp
11114 * gdb.base/varargs.exp
11115 * gdb.base/watchpoint-solib.exp
11116 * gdb.base/watchpoint.exp
11117 * gdb.base/whatis.exp
11118 * gdb.base/wrong_frame_bt_full.exp
11119 * gdb.btrace/dlopen.exp
11120 * gdb.cell/ea-standalone.exp
11121 * gdb.cell/ea-test.exp
11122 * gdb.cp/dispcxx.exp
11123 * gdb.cp/gdb2384.exp
11124 * gdb.cp/method2.exp
11125 * gdb.cp/nextoverthrow.exp
11126 * gdb.cp/pr10728.exp
11127 * gdb.disasm/am33.exp
11128 * gdb.disasm/h8300s.exp
11129 * gdb.disasm/mn10300.exp
11130 * gdb.disasm/sh3.exp
11131 * gdb.dwarf2/dw2-dir-file-name.exp
11132 * gdb.fortran/complex.exp
11133 * gdb.fortran/library-module.exp
11134 * gdb.guile/scm-pretty-print.exp
11135 * gdb.guile/scm-symbol.exp
11136 * gdb.guile/scm-type.exp
11137 * gdb.guile/scm-value.exp
11138 * gdb.linespec/linespec.exp
11139 * gdb.mi/gdb701.exp
11140 * gdb.mi/gdb792.exp
11141 * gdb.mi/mi-breakpoint-changed.exp
11142 * gdb.mi/mi-dprintf-pending.exp
11143 * gdb.mi/mi-dprintf.exp
11144 * gdb.mi/mi-exit-code.exp
11145 * gdb.mi/mi-pending.exp
11146 * gdb.mi/mi-solib.exp
11147 * gdb.mi/new-ui-mi-sync.exp
11148 * gdb.mi/pr11022.exp
11149 * gdb.mi/user-selected-context-sync.exp
11150 * gdb.opt/solib-intra-step.exp
11151 * gdb.python/py-events.exp
11152 * gdb.python/py-finish-breakpoint.exp
11153 * gdb.python/py-mi.exp
11154 * gdb.python/py-prettyprint.exp
11155 * gdb.python/py-shared.exp
11156 * gdb.python/py-symbol.exp
11157 * gdb.python/py-template.exp
11158 * gdb.python/py-type.exp
11159 * gdb.python/py-value.exp
11160 * gdb.reverse/solib-precsave.exp
11161 * gdb.reverse/solib-reverse.exp
11162 * gdb.server/solib-list.exp
11163 * gdb.stabs/weird.exp
11164 * gdb.threads/reconnect-signal.exp
11165 * gdb.threads/stepi-random-signal.exp
11166 * gdb.trace/actions.exp
11167 * gdb.trace/ax.exp
11168 * gdb.trace/backtrace.exp
11169 * gdb.trace/change-loc.exp
11170 * gdb.trace/deltrace.exp
11171 * gdb.trace/ftrace-lock.exp
11172 * gdb.trace/ftrace.exp
11173 * gdb.trace/infotrace.exp
11174 * gdb.trace/mi-tracepoint-changed.exp
11175 * gdb.trace/packetlen.exp
11176 * gdb.trace/passcount.exp
11177 * gdb.trace/pending.exp
11178 * gdb.trace/range-stepping.exp
11179 * gdb.trace/report.exp
11180 * gdb.trace/stap-trace.exp
11181 * gdb.trace/tfind.exp
11182 * gdb.trace/trace-break.exp
11183 * gdb.trace/trace-condition.exp
11184 * gdb.trace/trace-enable-disable.exp
11185 * gdb.trace/trace-mt.exp
11186 * gdb.trace/tracecmd.exp
11187 * gdb.trace/tspeed.exp
11188 * gdb.trace/tsv.exp
11189 * lib/perftest.exp
11190
fb9feb35
LM
111912016-12-01 Luis Machado <lgustavo@codesourcery.com>
11192
11193 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
11194 with gdb_test_no_output.
11195 Use command as test name.
11196
cd2ddb6c
LM
111972016-12-01 Luis Machado <lgustavo@codesourcery.com>
11198
11199 Fix test names starting with uppercase throughout the files.
11200
11201 * gdb.ada/assign_1.exp
11202 * gdb.ada/boolean_expr.exp
11203 * gdb.base/arrayidx.exp
11204 * gdb.base/del.exp
11205 * gdb.base/gcore-buffer-overflow.exp
11206 * gdb.base/testenv.exp
11207 * gdb.compile/compile.exp
11208 * gdb.python/py-framefilter-invalidarg.exp
11209 * gdb.python/py-framefilter.exp
11210
bb95117e
LM
112112016-12-01 Luis Machado <lgustavo@codesourcery.com>
11212
11213 Fix test names starting with uppercase throughout the files.
11214
11215 * gdb.ada/array_return.exp
11216 * gdb.ada/expr_delims.exp
11217 * gdb.ada/mi_dyn_arr.exp
11218 * gdb.ada/mi_interface.exp
11219 * gdb.ada/mi_var_array.exp
11220 * gdb.ada/watch_arg.exp
11221 * gdb.arch/alpha-step.exp
11222 * gdb.arch/altivec-regs.exp
11223 * gdb.arch/e500-regs.exp
11224 * gdb.arch/powerpc-d128-regs.exp
11225 * gdb.base/arrayidx.exp
11226 * gdb.base/break.exp
11227 * gdb.base/checkpoint.exp
11228 * gdb.base/debug-expr.exp
11229 * gdb.base/dmsym.exp
11230 * gdb.base/radix.exp
11231 * gdb.base/sepdebug.exp
11232 * gdb.base/testenv.exp
11233 * gdb.base/watch_thread_num.exp
11234 * gdb.base/watchpoint-cond-gone.exp
11235 * gdb.cell/break.exp
11236 * gdb.cell/ea-cache.exp
11237 * gdb.compile/compile.exp
11238 * gdb.cp/gdb2495.exp
11239 * gdb.gdb/selftest.exp
11240 * gdb.gdb/xfullpath.exp
11241 * gdb.go/hello.exp
11242 * gdb.go/integers.exp
11243 * gdb.objc/basicclass.exp
11244 * gdb.pascal/hello.exp
11245 * gdb.pascal/integers.exp
11246 * gdb.python/py-breakpoint.exp
11247 * gdb.python/py-cmd.exp
11248 * gdb.python/py-linetable.exp
11249 * gdb.python/py-xmethods.exp
11250 * gdb.python/python.exp
11251 * gdb.reverse/consecutive-precsave.exp
11252 * gdb.reverse/finish-precsave.exp
11253 * gdb.reverse/i386-precsave.exp
11254 * gdb.reverse/machinestate-precsave.exp
11255 * gdb.reverse/sigall-precsave.exp
11256 * gdb.reverse/solib-precsave.exp
11257 * gdb.reverse/step-precsave.exp
11258 * gdb.reverse/until-precsave.exp
11259 * gdb.reverse/watch-precsave.exp
11260 * gdb.threads/leader-exit.exp
11261 * gdb.threads/pthreads.exp
11262 * gdb.threads/wp-replication.exp
11263 * gdb.trace/actions.exp
11264 * gdb.trace/mi-tsv-changed.exp
11265 * gdb.trace/tsv.exp
11266
de97fdd4
LM
112672016-12-01 Luis Machado <lgustavo@codesourcery.com>
11268
11269 Fix test names starting with uppercase throughout the files.
11270
11271 * gdb.arch/i386-bp_permanent.exp
11272 * gdb.arch/i386-gnu-cfi.exp
11273 * gdb.base/disasm-end-cu.exp
11274 * gdb.base/macscp.exp
11275 * gdb.base/pending.exp
11276 * gdb.base/watch_thread_num.exp
11277 * gdb.cp/exception.exp
11278 * gdb.cp/gdb2495.exp
11279 * gdb.cp/local.exp
11280 * gdb.python/py-evsignal.exp
11281 * gdb.python/python.exp
11282 * gdb.trace/tracecmd.exp
11283
9f058c10
LM
112842016-12-01 Luis Machado <lgustavo@codesourcery.com>
11285
11286 Fix test names starting with uppercase throughout the files.
11287
11288 * gdb.base/charset.exp
11289 * gdb.base/eval.exp
11290 * gdb.base/multi-forks.exp
11291 * gdb.guile/scm-progspace.exp
11292 * gdb.opencl/datatypes.exp
11293 * gdb.python/py-block.exp
11294 * gdb.python/py-function.exp
11295 * gdb.python/py-symbol.exp
11296 * gdb.python/py-symtab.exp
11297 * gdb.python/py-xmethods.exp
11298 * gdb.reverse/break-precsave.exp
11299 * gdb.reverse/break-reverse.exp
11300 * gdb.reverse/consecutive-precsave.exp
11301 * gdb.reverse/consecutive-reverse.exp
11302 * gdb.reverse/finish-precsave.exp
11303 * gdb.reverse/finish-reverse-bkpt.exp
11304 * gdb.reverse/finish-reverse.exp
11305 * gdb.reverse/fstatat-reverse.exp
11306 * gdb.reverse/getresuid-reverse.exp
11307 * gdb.reverse/i386-precsave.exp
11308 * gdb.reverse/i386-reverse.exp
11309 * gdb.reverse/i386-sse-reverse.exp
11310 * gdb.reverse/i387-stack-reverse.exp
11311 * gdb.reverse/insn-reverse.exp
11312 * gdb.reverse/machinestate-precsave.exp
11313 * gdb.reverse/machinestate.exp
11314 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11315 * gdb.reverse/pipe-reverse.exp
11316 * gdb.reverse/readv-reverse.exp
11317 * gdb.reverse/recvmsg-reverse.exp
11318 * gdb.reverse/rerun-prec.exp
11319 * gdb.reverse/s390-mvcle.exp
11320 * gdb.reverse/sigall-precsave.exp
11321 * gdb.reverse/sigall-reverse.exp
11322 * gdb.reverse/solib-precsave.exp
11323 * gdb.reverse/solib-reverse.exp
11324 * gdb.reverse/step-precsave.exp
11325 * gdb.reverse/step-reverse.exp
11326 * gdb.reverse/time-reverse.exp
11327 * gdb.reverse/until-precsave.exp
11328 * gdb.reverse/until-reverse.exp
11329 * gdb.reverse/waitpid-reverse.exp
11330 * gdb.reverse/watch-precsave.exp
11331 * gdb.reverse/watch-reverse.exp
11332
cdc7edd7
LM
113332016-12-01 Luis Machado <lgustavo@codesourcery.com>
11334
11335 Fix test names starting with uppercase throughout the files.
11336
11337 * gdb.arch/i386-mpx-simple_segv.exp
11338 * gdb.arch/i386-mpx.exp
11339 * gdb.arch/i386-permbkpt.exp
11340 * gdb.arch/pa-nullify.exp
11341 * gdb.arch/powerpc-d128-regs.exp
11342 * gdb.arch/vsx-regs.exp
11343 * gdb.base/bfp-test.exp
11344 * gdb.base/break.exp
11345 * gdb.base/breakpoint-shadow.exp
11346 * gdb.base/callfuncs.exp
11347 * gdb.base/charset.exp
11348 * gdb.base/commands.exp
11349 * gdb.base/completion.exp
11350 * gdb.base/dfp-test.exp
11351 * gdb.base/echo.exp
11352 * gdb.base/ending-run.exp
11353 * gdb.base/eval.exp
11354 * gdb.base/expand-psymtabs.exp
11355 * gdb.base/float128.exp
11356 * gdb.base/floatn.exp
11357 * gdb.base/foll-exec-mode.exp
11358 * gdb.base/gdb1056.exp
11359 * gdb.base/gdb11531.exp
11360 * gdb.base/kill-after-signal.exp
11361 * gdb.base/multi-forks.exp
11362 * gdb.base/overlays.exp
11363 * gdb.base/pending.exp
11364 * gdb.base/sepdebug.exp
11365 * gdb.base/testenv.exp
11366 * gdb.base/valgrind-db-attach.exp
11367 * gdb.base/watch_thread_num.exp
11368 * gdb.base/watchpoint-cond-gone.exp
11369 * gdb.base/watchpoint.exp
11370 * gdb.base/watchpoints.exp
11371 * gdb.cp/arg-reference.exp
11372 * gdb.cp/baseenum.exp
11373 * gdb.cp/operator.exp
11374 * gdb.cp/shadow.exp
11375 * gdb.dwarf2/dw2-op-out-param.exp
11376 * gdb.dwarf2/dw2-reg-undefined.exp
11377 * gdb.go/chan.exp
11378 * gdb.go/hello.exp
11379 * gdb.go/integers.exp
11380 * gdb.go/methods.exp
11381 * gdb.go/package.exp
11382 * gdb.guile/scm-parameter.exp
11383 * gdb.guile/scm-progspace.exp
11384 * gdb.guile/scm-value.exp
11385 * gdb.mi/mi-pending.exp
11386 * gdb.mi/user-selected-context-sync.exp
11387 * gdb.multi/multi-attach.exp
11388 * gdb.multi/tids.exp
11389 * gdb.opt/clobbered-registers-O2.exp
11390 * gdb.pascal/floats.exp
11391 * gdb.pascal/integers.exp
11392 * gdb.python/py-block.exp
11393 * gdb.python/py-events.exp
11394 * gdb.python/py-parameter.exp
11395 * gdb.python/py-symbol.exp
11396 * gdb.python/py-symtab.exp
11397 * gdb.python/py-type.exp
11398 * gdb.python/py-value.exp
11399 * gdb.python/py-xmethods.exp
11400 * gdb.python/python.exp
11401 * gdb.reverse/break-precsave.exp
11402 * gdb.reverse/consecutive-precsave.exp
11403 * gdb.reverse/finish-precsave.exp
11404 * gdb.reverse/i386-precsave.exp
11405 * gdb.reverse/machinestate-precsave.exp
11406 * gdb.reverse/sigall-precsave.exp
11407 * gdb.reverse/solib-precsave.exp
11408 * gdb.reverse/step-precsave.exp
11409 * gdb.reverse/until-precsave.exp
11410 * gdb.reverse/watch-precsave.exp
11411 * gdb.server/ext-attach.exp
11412 * gdb.server/ext-restart.exp
11413 * gdb.server/ext-run.exp
11414 * gdb.server/ext-wrapper.exp
11415 * gdb.stabs/gdb11479.exp
11416 * gdb.stabs/weird.exp
11417 * gdb.threads/attach-many-short-lived-threads.exp
11418 * gdb.threads/kill.exp
11419 * gdb.threads/watchpoint-fork.exp
11420
bc6c7af4
LM
114212016-12-01 Luis Machado <lgustavo@codesourcery.com>
11422
11423 Fix test names starting with uppercase throughout all the files below.
11424
11425 * gdb.ada/array_return.exp
11426 * gdb.ada/catch_ex.exp
11427 * gdb.ada/info_exc.exp
11428 * gdb.ada/mi_catch_ex.exp
11429 * gdb.ada/mi_dyn_arr.exp
11430 * gdb.ada/mi_ex_cond.exp
11431 * gdb.ada/mi_exc_info.exp
11432 * gdb.ada/mi_interface.exp
11433 * gdb.ada/mi_task_arg.exp
11434 * gdb.ada/mi_task_info.exp
11435 * gdb.ada/mi_var_array.exp
11436 * gdb.arch/alpha-step.exp
11437 * gdb.arch/amd64-disp-step.exp
11438 * gdb.arch/arm-disp-step.exp
11439 * gdb.arch/disp-step-insn-reloc.exp
11440 * gdb.arch/e500-prologue.exp
11441 * gdb.arch/ftrace-insn-reloc.exp
11442 * gdb.arch/gdb1558.exp
11443 * gdb.arch/i386-bp_permanent.exp
11444 * gdb.arch/i386-disp-step.exp
11445 * gdb.arch/i386-float.exp
11446 * gdb.arch/i386-gnu-cfi.exp
11447 * gdb.arch/ia64-breakpoint-shadow.exp
11448 * gdb.arch/mips16-thunks.exp
11449 * gdb.arch/pa-nullify.exp
11450 * gdb.arch/powerpc-aix-prologue.exp
11451 * gdb.arch/powerpc-power.exp
11452 * gdb.arch/ppc-dfp.exp
11453 * gdb.arch/s390-tdbregs.exp
11454 * gdb.arch/spu-info.exp
11455 * gdb.arch/spu-ls.exp
11456 * gdb.arch/thumb-bx-pc.exp
11457 * gdb.base/advance.exp
11458 * gdb.base/annota-input-while-running.exp
11459 * gdb.base/arrayidx.exp
11460 * gdb.base/asmlabel.exp
11461 * gdb.base/async.exp
11462 * gdb.base/attach-wait-input.exp
11463 * gdb.base/auto-connect-native-target.exp
11464 * gdb.base/batch-preserve-term-settings.exp
11465 * gdb.base/bfp-test.exp
11466 * gdb.base/bigcore.exp
11467 * gdb.base/bp-permanent.exp
11468 * gdb.base/break-always.exp
11469 * gdb.base/break-fun-addr.exp
11470 * gdb.base/break-idempotent.exp
11471 * gdb.base/break-main-file-remove-fail.exp
11472 * gdb.base/break-probes.exp
11473 * gdb.base/break-unload-file.exp
11474 * gdb.base/break.exp
11475 * gdb.base/call-ar-st.exp
11476 * gdb.base/call-rt-st.exp
11477 * gdb.base/call-sc.exp
11478 * gdb.base/call-signal-resume.exp
11479 * gdb.base/call-strs.exp
11480 * gdb.base/callexit.exp
11481 * gdb.base/callfuncs.exp
11482 * gdb.base/catch-gdb-caused-signals.exp
11483 * gdb.base/catch-signal-siginfo-cond.exp
11484 * gdb.base/catch-syscall.exp
11485 * gdb.base/compare-sections.exp
11486 * gdb.base/cond-eval-mode.exp
11487 * gdb.base/condbreak-call-false.exp
11488 * gdb.base/consecutive-step-over.exp
11489 * gdb.base/cursal.exp
11490 * gdb.base/disabled-location.exp
11491 * gdb.base/disasm-end-cu.exp
11492 * gdb.base/display.exp
11493 * gdb.base/double-prompt-target-event-error.exp
11494 * gdb.base/dprintf-bp-same-addr.exp
11495 * gdb.base/dprintf-detach.exp
11496 * gdb.base/dprintf-next.exp
11497 * gdb.base/dprintf-non-stop.exp
11498 * gdb.base/dprintf-pending.exp
11499 * gdb.base/dso2dso.exp
11500 * gdb.base/ending-run.exp
11501 * gdb.base/enum_cond.exp
11502 * gdb.base/examine-backward.exp
11503 * gdb.base/exe-lock.exp
11504 * gdb.base/exec-invalid-sysroot.exp
11505 * gdb.base/execl-update-breakpoints.exp
11506 * gdb.base/execution-termios.exp
11507 * gdb.base/fileio.exp
11508 * gdb.base/fixsection.exp
11509 * gdb.base/foll-exec-mode.exp
11510 * gdb.base/foll-exec.exp
11511 * gdb.base/fork-running-state.exp
11512 * gdb.base/frame-args.exp
11513 * gdb.base/fullpath-expand.exp
11514 * gdb.base/func-ptr.exp
11515 * gdb.base/gcore-relro-pie.exp
11516 * gdb.base/gdb1090.exp
11517 * gdb.base/gdb1555.exp
11518 * gdb.base/global-var-nested-by-dso.exp
11519 * gdb.base/gnu-ifunc.exp
11520 * gdb.base/hbreak-in-shr-unsupported.exp
11521 * gdb.base/hbreak-unmapped.exp
11522 * gdb.base/hook-stop.exp
11523 * gdb.base/infcall-input.exp
11524 * gdb.base/info-fun.exp
11525 * gdb.base/info-shared.exp
11526 * gdb.base/interrupt-noterm.exp
11527 * gdb.base/jit-so.exp
11528 * gdb.base/jit.exp
11529 * gdb.base/line-symtabs.exp
11530 * gdb.base/list.exp
11531 * gdb.base/longjmp.exp
11532 * gdb.base/macscp.exp
11533 * gdb.base/max-value-size.exp
11534 * gdb.base/nodebug.exp
11535 * gdb.base/nofield.exp
11536 * gdb.base/overlays.exp
11537 * gdb.base/paginate-after-ctrl-c-running.exp
11538 * gdb.base/paginate-bg-execution.exp
11539 * gdb.base/paginate-inferior-exit.exp
11540 * gdb.base/pending.exp
11541 * gdb.base/pr11022.exp
11542 * gdb.base/printcmds.exp
11543 * gdb.base/ptr-typedef.exp
11544 * gdb.base/ptype.exp
11545 * gdb.base/randomize.exp
11546 * gdb.base/range-stepping.exp
11547 * gdb.base/realname-expand.exp
11548 * gdb.base/relativedebug.exp
11549 * gdb.base/remote.exp
11550 * gdb.base/savedregs.exp
11551 * gdb.base/sepdebug.exp
11552 * gdb.base/set-noassign.exp
11553 * gdb.base/shlib-call.exp
11554 * gdb.base/shreloc.exp
11555 * gdb.base/sigaltstack.exp
11556 * gdb.base/sigbpt.exp
11557 * gdb.base/siginfo-addr.exp
11558 * gdb.base/siginfo-obj.exp
11559 * gdb.base/siginfo-thread.exp
11560 * gdb.base/signest.exp
11561 * gdb.base/signull.exp
11562 * gdb.base/sigrepeat.exp
11563 * gdb.base/skip.exp
11564 * gdb.base/so-impl-ld.exp
11565 * gdb.base/solib-corrupted.exp
11566 * gdb.base/solib-disc.exp
11567 * gdb.base/solib-display.exp
11568 * gdb.base/solib-overlap.exp
11569 * gdb.base/solib-search.exp
11570 * gdb.base/solib-symbol.exp
11571 * gdb.base/source-execution.exp
11572 * gdb.base/sss-bp-on-user-bp-2.exp
11573 * gdb.base/sss-bp-on-user-bp.exp
11574 * gdb.base/stack-checking.exp
11575 * gdb.base/stale-infcall.exp
11576 * gdb.base/step-break.exp
11577 * gdb.base/step-line.exp
11578 * gdb.base/step-over-exit.exp
11579 * gdb.base/step-test.exp
11580 * gdb.base/structs.exp
11581 * gdb.base/sym-file.exp
11582 * gdb.base/symtab-search-order.exp
11583 * gdb.base/term.exp
11584 * gdb.base/type-opaque.exp
11585 * gdb.base/unload.exp
11586 * gdb.base/until-nodebug.exp
11587 * gdb.base/until.exp
11588 * gdb.base/unwindonsignal.exp
11589 * gdb.base/watch-cond.exp
11590 * gdb.base/watch-non-mem.exp
11591 * gdb.base/watch_thread_num.exp
11592 * gdb.base/watchpoint-reuse-slot.exp
11593 * gdb.base/watchpoint-solib.exp
11594 * gdb.base/watchpoint.exp
11595 * gdb.btrace/dlopen.exp
11596 * gdb.cell/arch.exp
11597 * gdb.cell/break.exp
11598 * gdb.cell/bt.exp
11599 * gdb.cell/core.exp
11600 * gdb.cell/data.exp
11601 * gdb.cell/dwarfaddr.exp
11602 * gdb.cell/ea-cache.exp
11603 * gdb.cell/ea-standalone.exp
11604 * gdb.cell/ea-test.exp
11605 * gdb.cell/f-regs.exp
11606 * gdb.cell/fork.exp
11607 * gdb.cell/gcore.exp
11608 * gdb.cell/mem-access.exp
11609 * gdb.cell/ptype.exp
11610 * gdb.cell/registers.exp
11611 * gdb.cell/sizeof.exp
11612 * gdb.cell/solib-symbol.exp
11613 * gdb.cell/solib.exp
11614 * gdb.compile/compile-tls.exp
11615 * gdb.cp/exception.exp
11616 * gdb.cp/gdb2495.exp
11617 * gdb.cp/local.exp
11618 * gdb.cp/mb-inline.exp
11619 * gdb.cp/mb-templates.exp
11620 * gdb.cp/pr10687.exp
11621 * gdb.cp/pr9167.exp
11622 * gdb.cp/scope-err.exp
11623 * gdb.cp/templates.exp
11624 * gdb.cp/virtfunc.exp
11625 * gdb.dwarf2/dw2-dir-file-name.exp
11626 * gdb.dwarf2/dw2-single-line-discriminators.exp
11627 * gdb.fortran/complex.exp
11628 * gdb.fortran/library-module.exp
11629 * gdb.guile/guile.exp
11630 * gdb.guile/scm-cmd.exp
11631 * gdb.guile/scm-frame-inline.exp
11632 * gdb.guile/scm-objfile.exp
11633 * gdb.guile/scm-pretty-print.exp
11634 * gdb.guile/scm-symbol.exp
11635 * gdb.guile/scm-type.exp
11636 * gdb.guile/scm-value.exp
11637 * gdb.linespec/keywords.exp
11638 * gdb.linespec/ls-errs.exp
11639 * gdb.linespec/macro-relative.exp
11640 * gdb.linespec/thread.exp
11641 * gdb.mi/mi-breakpoint-changed.exp
11642 * gdb.mi/mi-dprintf-pending.exp
11643 * gdb.mi/mi-fullname-deleted.exp
11644 * gdb.mi/mi-logging.exp
11645 * gdb.mi/mi-pending.exp
11646 * gdb.mi/mi-solib.exp
11647 * gdb.mi/new-ui-mi-sync.exp
11648 * gdb.mi/user-selected-context-sync.exp
11649 * gdb.multi/dummy-frame-restore.exp
11650 * gdb.multi/multi-arch-exec.exp
11651 * gdb.multi/remove-inferiors.exp
11652 * gdb.multi/watchpoint-multi-exit.exp
11653 * gdb.opt/solib-intra-step.exp
11654 * gdb.perf/backtrace.exp
11655 * gdb.perf/single-step.exp
11656 * gdb.perf/skip-command.exp
11657 * gdb.perf/skip-prologue.exp
11658 * gdb.perf/solib.exp
11659 * gdb.python/lib-types.exp
11660 * gdb.python/py-as-string.exp
11661 * gdb.python/py-bad-printers.exp
11662 * gdb.python/py-block.exp
11663 * gdb.python/py-breakpoint.exp
11664 * gdb.python/py-cmd.exp
11665 * gdb.python/py-events.exp
11666 * gdb.python/py-evthreads.exp
11667 * gdb.python/py-finish-breakpoint.exp
11668 * gdb.python/py-finish-breakpoint2.exp
11669 * gdb.python/py-frame-inline.exp
11670 * gdb.python/py-frame.exp
11671 * gdb.python/py-inferior.exp
11672 * gdb.python/py-infthread.exp
11673 * gdb.python/py-mi.exp
11674 * gdb.python/py-objfile.exp
11675 * gdb.python/py-pp-maint.exp
11676 * gdb.python/py-pp-registration.exp
11677 * gdb.python/py-prettyprint.exp
11678 * gdb.python/py-recurse-unwind.exp
11679 * gdb.python/py-shared.exp
11680 * gdb.python/py-symbol.exp
11681 * gdb.python/py-symtab.exp
11682 * gdb.python/py-template.exp
11683 * gdb.python/py-type.exp
11684 * gdb.python/py-unwind-maint.exp
11685 * gdb.python/py-unwind.exp
11686 * gdb.python/py-value.exp
11687 * gdb.python/python.exp
11688 * gdb.reverse/finish-reverse-bkpt.exp
11689 * gdb.reverse/insn-reverse.exp
11690 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11691 * gdb.reverse/solib-precsave.exp
11692 * gdb.reverse/solib-reverse.exp
11693 * gdb.stabs/gdb11479.exp
11694 * gdb.stabs/weird.exp
11695 * gdb.threads/fork-child-threads.exp
11696 * gdb.threads/fork-plus-threads.exp
11697 * gdb.threads/fork-thread-pending.exp
11698 * gdb.threads/forking-threads-plus-breakpoint.exp
11699 * gdb.threads/hand-call-in-threads.exp
11700 * gdb.threads/interrupted-hand-call.exp
11701 * gdb.threads/linux-dp.exp
11702 * gdb.threads/local-watch-wrong-thread.exp
11703 * gdb.threads/next-while-other-thread-longjmps.exp
11704 * gdb.threads/non-ldr-exit.exp
11705 * gdb.threads/pending-step.exp
11706 * gdb.threads/print-threads.exp
11707 * gdb.threads/process-dies-while-detaching.exp
11708 * gdb.threads/process-dies-while-handling-bp.exp
11709 * gdb.threads/pthreads.exp
11710 * gdb.threads/queue-signal.exp
11711 * gdb.threads/reconnect-signal.exp
11712 * gdb.threads/signal-command-handle-nopass.exp
11713 * gdb.threads/signal-command-multiple-signals-pending.exp
11714 * gdb.threads/signal-delivered-right-thread.exp
11715 * gdb.threads/signal-sigtrap.exp
11716 * gdb.threads/sigthread.exp
11717 * gdb.threads/staticthreads.exp
11718 * gdb.threads/stepi-random-signal.exp
11719 * gdb.threads/thread-unwindonsignal.exp
11720 * gdb.threads/thread_check.exp
11721 * gdb.threads/thread_events.exp
11722 * gdb.threads/tid-reuse.exp
11723 * gdb.threads/tls-nodebug.exp
11724 * gdb.threads/tls-shared.exp
11725 * gdb.threads/tls-so_extern.exp
11726 * gdb.threads/tls.exp
11727 * gdb.threads/wp-replication.exp
11728 * gdb.trace/actions-changed.exp
11729 * gdb.trace/actions.exp
11730 * gdb.trace/backtrace.exp
11731 * gdb.trace/change-loc.exp
11732 * gdb.trace/collection.exp
11733 * gdb.trace/deltrace.exp
11734 * gdb.trace/disconnected-tracing.exp
11735 * gdb.trace/entry-values.exp
11736 * gdb.trace/ftrace-lock.exp
11737 * gdb.trace/ftrace.exp
11738 * gdb.trace/infotrace.exp
11739 * gdb.trace/mi-trace-frame-collected.exp
11740 * gdb.trace/mi-trace-unavailable.exp
11741 * gdb.trace/mi-traceframe-changed.exp
11742 * gdb.trace/mi-tracepoint-changed.exp
11743 * gdb.trace/mi-tsv-changed.exp
11744 * gdb.trace/no-attach-trace.exp
11745 * gdb.trace/packetlen.exp
11746 * gdb.trace/passc-dyn.exp
11747 * gdb.trace/passcount.exp
11748 * gdb.trace/pending.exp
11749 * gdb.trace/pr16508.exp
11750 * gdb.trace/qtro.exp
11751 * gdb.trace/range-stepping.exp
11752 * gdb.trace/read-memory.exp
11753 * gdb.trace/report.exp
11754 * gdb.trace/save-trace.exp
11755 * gdb.trace/signal.exp
11756 * gdb.trace/stap-trace.exp
11757 * gdb.trace/status-stop.exp
11758 * gdb.trace/strace.exp
11759 * gdb.trace/tfile.exp
11760 * gdb.trace/tfind.exp
11761 * gdb.trace/trace-break.exp
11762 * gdb.trace/trace-condition.exp
11763 * gdb.trace/trace-enable-disable.exp
11764 * gdb.trace/trace-mt.exp
11765 * gdb.trace/tracecmd.exp
11766 * gdb.trace/tracefile-pseudo-reg.exp
11767 * gdb.trace/tspeed.exp
11768 * gdb.trace/tstatus.exp
11769 * gdb.trace/tsv.exp
11770 * gdb.trace/unavailable.exp
11771 * gdb.trace/while-dyn.exp
11772 * gdb.trace/while-stepping.exp
11773 * lib/gdb-guile.exp
11774 * lib/gdb.exp
11775 * lib/mi-support.exp
11776 * lib/pascal.exp
11777 * lib/perftest.exp
11778 * lib/prelink-support.exp
11779 * lib/selftest-support.exp
11780
ad02e4fe
SM
117812016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
11782
11783 * Makefile.in: Include disable-implicit-rules.mk.
11784
22347e55
AA
117852016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11786
11787 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
11788 non-byte-aligned bit fields.
11789
da5b30da
AA
117902016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11791
11792 PR gdb/12616
11793 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
11794 respects the DW_AT_data_bit_offset attribute.
11795
b593ecca
SM
117962016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
11797
11798 * gdb.base/default.exp: Fix output of "set language".
11799
3b165252
SM
118002016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
11801
11802 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
11803 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
11804 make.
11805 * configure.ac: Remove checks for the make program.
11806 * configure: Re-generate.
11807
1a2f3d7f
KB
118082016-11-16 Kevin Buettner <kevinb@redhat.com>
11809
11810 * gdb.python/py-recurse-unwind.c (main): Add loop.
11811 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
11812 to read_register() and gdb.parse_and_eval(). Make each code
11813 call a separate case that can be individually tested.
11814 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
11815 proc. Call cont_and_backtrace for each of the code paths that
11816 we want to test in the unwinder.
11817
b7f38fda
AA
118182016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
11819
11820 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
11821 the definition of struct S.
11822
1f8db343
CM
118232016-11-11 Catherine Moore <clm@codesourcery.com>
11824
11825 * gdb.base/dump.exp: Identify verilog format dump tests as such.
11826
fad0c9fb
PA
118272016-11-09 Pedro Alves <palves@redhat.com>
11828
11829 * gdb.base/commands.exp (runto_or_return): New procedure.
11830 (gdbvar_simple_if_test, gdbvar_simple_while_test)
11831 (gdbvar_complex_if_while_test, progvar_simple_if_test)
11832 (progvar_simple_while_test, progvar_complex_if_while_test)
11833 (if_while_breakpoint_command_test)
11834 (infrun_breakpoint_command_test, breakpoint_command_test)
11835 (user_defined_command_test, watchpoint_command_test)
11836 (test_command_prompt_position, redefine_hook_test)
11837 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
11838 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
11839 multi_line_input and multi_line. Remove gdb_expect and
11840 gdb_stop_suppressing_tests uses.
11841 * lib/gdb.exp (valnum_re): New global.
11842 (multi_line_input): New procedure.
11843
8354c62c
SM
118442016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
11845
11846 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
11847 Remove.
11848 (test_setup): Define with proc_with_prefix.
11849 (test_cli_inferior): Likewise.
11850 (test_cli_thread): Likewise.
11851 (test_cli_frame): Likewise.
11852 (test_cli_select_frame): Likewise.
11853 (test_cli_up_down): Likewise.
11854 (test_mi_thread_select): Likewise.
11855 (test_mi_stack_select_frame): Likewise.
11856 (test_cli_in_mi_inferior): Likewise.
11857 (test_cli_in_mi_thread): Likewise.
11858 (test_cli_in_mi_frame): Likewise.
11859 (top level): Do not use with_test_prefix_procname.
11860
64f367a2
PA
118612016-11-09 Pedro Alves <palves@redhat.com>
11862
11863 * gdb.base/commands.exp (gdbvar_simple_if_test)
11864 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
11865 (progvar_simple_if_test, progvar_simple_while_test)
11866 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
11867 (infrun_breakpoint_command_test, breakpoint_command_test)
11868 (user_defined_command_test, watchpoint_command_test)
11869 (test_command_prompt_position, deprecated_command_test)
11870 (bp_deleted_in_command, temporary_breakpoint_commands)
11871 (stray_arg0_test, source_file_with_indented_comment)
11872 (recursive_source_test, if_commands_test)
11873 (error_clears_commands_left, redefine_hook_test)
11874 (redefine_backtrace_test): Use proc_with_prefix.
11875 * lib/gdb.exp (proc_with_prefix): New proc.
11876
0bb65f1e
AA
118772016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11878
11879 * gdb.base/tui-layout.c: New file.
11880 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
11881 disassembly window contains very long lines.
11882
7353f247
TT
118832016-11-08 Tom Tromey <tom@tromey.com>
11884
11885 * gdb.python/py-value.exp (test_value_creation): Make "long" test
11886 depend on Python 2.
11887
30a7bb83
TT
118882016-11-08 Tom Tromey <tom@tromey.com>
11889
11890 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
11891 New method.
11892
cdf5a07c
MG
118932016-10-29 Manish Goregaokar <manish@mozilla.com>
11894
2806dc7e 11895 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 11896
51a789c3
MG
118972016-10-27 Manish Goregaokar <manish@mozilla.com>
11898
2806dc7e
PA
11899 * gdb.rust/simple.rs: Add test for univariant enums without
11900 discriminants and for encoded struct-like enums.
51a789c3 11901
f610ab6d
PA
119022016-10-28 Pedro Alves <palves@redhat.com>
11903
11904 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
11905 gdb_test_multiple, tighten regexps and match symtabs and line
11906 tables incrementally.
11907
b129b0ca
LM
119082016-10-28 Luis Machado <lgustavo@codesourcery.com>
11909
11910 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
11911 general.
11912
ecf45d2c
SL
119132016-10-25 Luis Machado <lgustavo@codesourcery.com>
11914
11915 * gdb.base/exec-invalid-sysroot.exp: New file.
11916
b8d38ee4
JK
119172016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11918
11919 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
11920
f90fd8c2
JK
119212016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11922
11923 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
11924
2d2476aa
MR
119252016-10-19 Maciej W. Rozycki <macro@imgtec.com>
11926
2806dc7e
PA
11927 * gdb.base/killed-outside.exp: Remove $options from a call to
11928 `prepare_for_testing'.
2d2476aa 11929
e42b25a0
SM
119302016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11931
11932 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11933 Change test message.
11934
3ccdb432
SM
119352016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11936
11937 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11938 Update comment.
11939
5bad3170
SM
119402016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11941
11942 * gdb.trace/mi-trace-save.exp: New file.
11943
5ad9dba7
YQ
119442016-10-13 Yao Qi <yao.qi@linaro.org>
11945
11946 * gdb.base/code_elim.exp (get_var_address): Remove.
11947 * gdb.base/relocate.exp: Likewise.
11948 * gdb.base/shreloc.exp: Likewise.
11949 * lib/gdb.exp (get_var_address): New.
11950
62df7e21
YQ
119512016-10-13 Yao Qi <yao.qi@linaro.org>
11952
11953 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11954 floating point tests if $skip_float_test is false.
11955
4dac951e
LM
119562016-10-12 Luis Machado <lgustavo@codesourcery.com>
11957
11958 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
11959 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
11960 argc values.
11961 Add 1 to argc so we guarantee distinct initial/modified argc values.
11962
8f1a8fc4
JK
119632016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11964
11965 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
11966
16c85b5d
JK
119672016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11968
11969 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
11970 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
11971 * gdb.arch/vsx-regs.exp: Likewise.
11972
1d0e042a
YQ
119732016-10-07 Yao Qi <yao.qi@linaro.org>
11974
11975 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
11976
68dadef5
MM
119772016-10-07 Markus Metzger <markus.t.metzger@intel.com>
11978
11979 * gdb.python/python.exp: Test decode_line("*0").
11980
33fa2c6e
DE
119812016-10-06 Doug Evans <dje@google.com>
11982
11983 * gdb.python/py-value.exp (test_value_creation): Add test for large
11984 unsigned 64-bit value.
11985
9c37b5ae
TT
119862016-10-06 Tom Tromey <tom@tromey.com>
11987
11988 * gdb.compile/compile.exp: Change java tests to rust.
11989 * gdb.base/setshow.exp: Change java tests to rust.
11990 * gdb.base/default.exp: Remove java from language list.
11991 * README (Examples): Update language example.
11992 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
11993 test.
11994 * lib/gdb.exp (skip_java_tests): Remove.
11995 * lib/java.exp: Remove.
11996 * gdb.java: Remove.
11997
78b86327
MR
119982016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11999
12000 * gdb.arch/mips-fcr.exp: New test.
12001 * gdb.arch/mips-fcr.c: Source for the new test.
12002
7470adbb
MR
120032016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12004
12005 * gdb.base/solib-disc.exp: Use `standard_output_file'
12006 throughout.
12007
4a556533
PA
120082016-10-06 Pedro Alves <palves@redhat.com>
12009
12010 * gdb.base/jit-simple-dl.c: New file.
12011 * gdb.base/jit-simple-jit.c: New file, factored out from ...
12012 * gdb.base/jit-simple.c: ... this.
12013 * gdb.base/jit-simple.exp (jit_run): Delete.
12014 (build_jit): New proc.
12015 (jit_test_reread): Recompile either the main program or the shared
12016 library, depending on what is being tested. Skip changing address
12017 if caller wants to. Compare before/after addresses. If testing
12018 standalone, explicitly load the binary. Test "maint info
12019 breakpoints".
12020 (top level): Add "standalone vs shared lib" and "change address"
12021 vs "same address" axes.
12022
5a122fbc
PA
120232016-10-06 Pedro Alves <palves@redhat.com>
12024
12025 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
12026 call.
12027 (jit_run): Delete.
12028 (jit_test_reread): Use with_test_prefix. Reload the main binary
12029 explicitly. Compare the before/after addresses of the JIT
12030 descriptor.
12031
ee8da4b8
DE
120322016-08-15 Doug Evans <dje@google.com>
12033
12034 * gdb.xml/extra-regs.xml: Update, end field now required, default type
12035 for single bitfields is bool.
12036 * gdb.xml/tdesc-regs.exp: Ditto.
12037
f389f6fe
JK
120382016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12039
12040 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
12041
fdebf1a4
YQ
120422016-10-05 Yao Qi <yao.qi@linaro.org>
12043
12044 * lib/gdb.exp (support_complex_tests): Return zero if
12045 gdb_skip_float_test return true.
12046
9c36d954 120472016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12048 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
12049
12050 PR gdb/20487
12051 * gdb.mi/user-selected-context-sync.exp: New file.
12052 * gdb.mi/user-selected-context-sync.c: New file.
12053
4034d0ff 120542016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12055 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
12056
12057 PR gdb/20487
12058 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
12059 =thread-select-event check.
12060
a4297203
PB
120612016-09-29 Peter Bergner <bergner@vnet.ibm.com>
12062
12063 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
12064 the compulsory L operand changes.
12065 * gdb.arch/powerpc-power.s: Likewise.
12066
bb805577
JK
120672016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12068
12069 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
12070 * gdb.base/jit-attach-pie.c: New file.
12071 * gdb.base/jit-attach-pie.exp: New file.
12072
6d61dee5
PA
120732016-09-28 Pedro Alves <palves@redhat.com>
12074
12075 * gdb.base/infcall-input.c: New file.
12076 * gdb.base/infcall-input.exp: New file.
12077
f73842fc
YQ
120782016-09-22 Yao Qi <yao.qi@linaro.org>
12079
12080 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
12081 (gdb_exit): Rename it to ...
12082 (gdbserver_gdb_exit): ... Close GDBserver.
12083 (gdb_exit): New proc, call gdbserver_gdb_exit.
12084 (mi_gdb_exit): Likewise.
12085
90681dab
YQ
120862016-09-22 Yao Qi <yao.qi@linaro.org>
12087
12088 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
12089 path.
12090 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
12091 Remove duplication.
12092
9c211fd8
YQ
120932016-09-22 Yao Qi <yao.qi@linaro.org>
12094
12095 * lib/gdbserver-support.exp: Check the existence of
12096 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
12097
ad0a504f
AK
120982016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
12099
12100 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
12101
36cf1806
TT
121022016-09-21 Tom Tromey <tom@tromey.com>
12103
12104 PR gdb/20604:
12105 * gdb.base/quit.exp: New file.
12106
74172ecf
SM
121072016-09-21 Simon Marchi <simon.marchi@ericsson.com>
12108
12109 * .gitignore: New file.
12110
3d0ec882
MR
121112016-09-21 Maciej W. Rozycki <macro@imgtec.com>
12112
12113 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
12114 throughout.
12115
8193adea
AA
121162016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12117
12118 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
12119
d41a5c09
JK
121202016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12121
12122 * gdb.cp/casts.cc (decltype): Move it ...
12123 (main): ... with its call to ...
12124 * gdb.cp/casts03.cc: ... a new file.
12125 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
12126
d2dfe700
JK
121272016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12128
12129 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
12130
e2a92b16
PB
121312016-09-15 Peter Bergner <bergner@vnet.ibm.com>
12132
12133 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
12134 and sync up the test with tests in gas/testsuite/gas/ppc.
12135 * gdb.arch/powerpc-power.exp: Likewise.
12136
49b4de64
JK
121372016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12138
12139 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
12140
2c29df25
SDJ
121412016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
12142 Jan Kratochvil <jan.kratochvil@redhat.com>
12143
12144 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
12145 make m1's definition to be different from m2's. Use 'dummy' as an
12146 argument for probe 'two'.
12147
cc3c2846
JB
121482016-09-10 Jon Beniston <jon@beniston.com>
12149
12150 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
12151 for sim target.
12152
e1b2624a
AA
121532016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12154
12155 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
12156 variable declaration.
12157 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
12158 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
12159 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
12160 received HWCAP as its argument.
12161
4295e285
PA
121622016-09-06 Pedro Alves <palves@redhat.com>
12163
12164 * gdb.base/new-ui-pending-input.c: New file.
12165 * gdb.base/new-ui-pending-input.exp: New file.
12166 * gdb.exp (clear_gdb_spawn_id): New procedure.
12167 (with_spawn_id): Check whether gdb_spawn_id exists before
12168 referencing it. If gdb_spawn_id didn't exist on entry, clear it
12169 on exit.
12170
00d5215e
UW
121712016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12172
12173 * gdb.base/float128.c: New file.
12174 * gdb.base/float128.exp: Likewise.
12175 * gdb.base/floatn.c: Likewise.
12176 * gdb.base/floatn.exp: Likewise.
12177
a9ff5f12
UW
121782016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12179
12180 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
12181
f245535c
PA
121822016-09-05 Pedro Alves <palves@redhat.com>
12183
12184 PR backtrace/19927
12185 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
12186 unwinders are immediately called as side effect of "source" or
12187 "disable unwinder" commands.
12188 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
12189
ae9cf263
YQ
121902016-09-02 Yao Qi <yao.qi@linaro.org>
12191
12192 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
12193 is true and $type is "float" or "double".
12194
27aba047
YQ
121952016-09-02 Yao Qi <yao.qi@linaro.org>
12196
12197 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
12198 true.
12199 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
12200 * gdb.base/call-rt-st.exp: Likewise.
12201 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
12202 return value instead of gdb,skip_float_test.
12203 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
12204 (do_function_calls): Use its return value instead of
12205 gdb,skip_float_test.
12206 * gdb.base/finish.exp: Likewise.
12207 * gdb.base/funcargs.exp: Likewise.
12208 * gdb.base/return.exp: Likewise.
12209 * gdb.base/return2.exp: Likewise.
12210 * gdb.base/varargs.exp: Likewise.
12211 * lib/gdb.exp (gdb_skip_float_test): Change it to
12212 gdb_caching_proc. Detect the broken ptrace on arm-linux.
12213
5af962df
AA
122142016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12215
12216 * gdb.multi/tids.exp: Test "thread apply all".
12217
7fac6910
JK
122182016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12219
12220 * gdb.base/default.exp (tty): Remove.
12221
bb1fe4ac
KB
122222016-08-24 Kevin Buettner <kevinb@redhat.com>
12223
2806dc7e
PA
12224 * gdb.python/py-recurse-unwind.c: New file.
12225 * gdb.python/py-recurse-unwind.py: New file.
12226 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 12227
0a1ddfa6
SM
122282016-08-24 Simon Marchi <simon.marchi@ericsson.com>
12229
12230 * gdb.base/set-inferior-tty.exp: New file.
12231 * gdb.base/set-inferior-tty.c: New file.
12232
d9de1fe3
PA
122332016-08-23 Pedro Alves <palves@redhat.com>
12234
12235 PR gdb/20494
12236 * gdb.base/new-ui-echo.c: New file.
12237 * gdb.base/new-ui-echo.exp: New file.
12238
e9d9abd7
YQ
122392016-08-23 Yao Qi <yao.qi@linaro.org>
12240
12241 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
12242 gdbserver_spawn.
12243 * gdb.server/connect-without-multi-process.exp (do_test):
12244 Likewise.
12245
3589529e
YQ
122462016-08-23 Yao Qi <yao.qi@linaro.org>
12247
12248 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
12249 standalone_txt. Delete gdb_txt and standalone_txt on host
12250 and target. Spawn the binary on target. Copy files from
12251 target to host.
12252
6bb90213
PA
122532016-08-22 Pedro Alves <palves@redhat.com>
12254
12255 PR gdb/20505
12256 * gdb.base/vdso-warning.exp: Test core dumps too. Use
12257 with_test_prefix. Factor out bits to ...
12258 (test_no_vdso): ... this new procedure.
12259
20c2c024
CL
122602016-08-19 Carl Love <cel@us.ibm.com>
12261
12262 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
12263 maintaining separate logic for constructing the output path.
12264 * gdb.arch/powerpc-d128-regs.exp: Likewise.
12265 * gdb.arch/ppc-dfp.exp: Likewise.
12266 * gdb.arch/ppc-fp.exp: Likewise.
12267 * gdb.arch/vsx-regs.exp: Likewise.
12268 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
12269 binprefix for generating the additional binary files.
12270
0646e07d
PA
122712016-08-19 Pedro Alves <palves@redhat.com>
12272
12273 * gdb.trace/mi-trace-frame-collected.exp
12274 (test_trace_frame_collected): On x32, expect two registers.
12275
46da9242
CL
122762016-08-18 Carl Love <cel@us.ibm.com>
12277
12278 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
12279 and sync up the test with tests in gas/testsuite/gas/ppc.
12280 * gdb.arch/powerpc-power.exp: Likewise.
12281
eb2332d7
SM
122822016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12283
12284 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
12285 expected error message.
12286
63c61e04
SM
122872016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12288
12289 * gdb.multi/remove-inferiors.exp: New file.
12290 * gdb.multi/remove-inferiors.c: New file.
12291
7b17065f
YQ
122922016-08-12 Yao Qi <yao.qi@linaro.org>
12293
12294 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
12295 argument list.
12296
01d3dedf
PA
122972016-08-10 Pedro Alves <palves@redhat.com>
12298
12299 PR gdb/19187
12300 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
12301 setup_kfails.
12302
3eb7562a
PA
123032016-08-09 Pedro Alves <palves@redhat.com>
12304 Simon Marchi <simon.marchi@ericsson.com>
12305
12306 PR gdb/20418
12307 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
12308 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
12309
80614914
PA
123102016-08-09 Pedro Alves <palves@redhat.com>
12311
12312 PR mi/20431
12313 * gdb.mi/mi-cmd-error.exp: New file.
12314
f348d89a
PA
123152016-08-09 Pedro Alves <palves@redhat.com>
12316
12317 PR gdb/18653
12318 * gdb.base/signals-state-child.c: New file.
12319 * gdb.base/signals-state-child.exp: New file.
12320 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
12321
e5ca03b4
PA
123222016-08-09 Pedro Alves <palves@redhat.com>
12323
12324 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
12325
282a0691
TT
123262016-08-03 Tom Tromey <tom@tromey.com>
12327
12328 PR python/18565:
12329 * gdb.python/py-frame-inline.exp: Add Frame.function test.
12330
41bfcd63
YQ
123312016-08-01 Yao Qi <yao.qi@linaro.org>
12332
12333 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
12334 variable mode to "multi-process" if $multi_process is 1, otherwise
12335 set it to "single-process".
12336
e3465b24
YQ
123372016-08-01 Yao Qi <yao.qi@linaro.org>
12338
12339 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
12340 * gdb.cp/cpexprs.exp: Likewise.
12341 * gdb.cp/m-static.exp: Likewise.
12342
0b31a4bc
TT
123432016-07-26 Tom Tromey <tom@tromey.com>
12344
12345 PR python/20190:
12346 * gdb.threads/tls.exp (check_thread_local): Add python symbol
12347 test.
12348
e0461dbb
MM
123492016-07-26 Markus Metzger <markus.t.metzger@intel.com>
12350
12351 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
12352 selecting assembly source files.
12353 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
12354 assembly source files.
12355 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
12356 assembly source files.
12357 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
12358 selecting assembly source files.
12359
8194e927
SM
123602016-07-25 Simon Marchi <simon.marchi@ericsson.com>
12361
12362 * gdb.base/new-ui.exp (do_test_invalid_args): New
12363 procedure.
12364
c0272db5
TW
123652016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
12366
12367 * gdb.btrace/reconnect.c: New file.
12368 * gdb.btrace/reconnect.exp: New file.
12369
e3487908
GKB
123702016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
12371
12372 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
12373 to test_catch_syscall_group.
12374 (test_catch_syscall_group): New.
12375
12df5c00
TT
123762016-07-21 Tom Tromey <tom@tromey.com>
12377
12378 * gdb.rust/simple.rs (main): Use empty struct expression.
12379 * gdb.rust/simple.exp: Add tests for empty struct expression.
12380
bae62ee2
YQ
123812016-07-21 Yao Qi <yao.qi@linaro.org>
12382
12383 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
12384 if gdb_skip_xml_test is true on some targets.
12385
b1b53fb3
YQ
123862016-07-21 Yao Qi <yao.qi@linaro.org>
12387
12388 * gdb.server/solib-list.exp: Unset last_loaded_file.
12389
027d97f8
JK
123902016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12391
12392 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
12393 "step into captured_main (args)".
12394
7674d381
JK
123952016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12396
12397 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
12398
72b5d099
JK
123992016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12400
12401 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
12402
1f960ced
PA
124032016-07-19 Pedro Alves <palves@redhat.com>
12404
12405 * gdb.opt/inline-break.exp: Remove optimize=-O2.
12406 * gdb.opt/inline-bt.exp: Likewise.
12407 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
12408 additional_flags=-Winline.
12409 * gdb.opt/inline-locals.exp: Likewise.
12410 * gdb.opt/inline-markers.c (ATTR): Define.
12411 (inlined_fn): Use it.
12412
f25827c1
YQ
124132016-07-19 Yao Qi <yao.qi@linaro.org>
12414
12415 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
12416 (test_with_self): Remove some code. Remove argument executable.
12417 (top-level): Use do_self_tests.
12418
37539ebe
DB
124192016-07-15 Zachary Welch <zwelch@codesourcery.com>
12420 Don Breazeal <donb@codesourcery.com>
12421
12422 * gdb.base/maint.exp: Escape paths used in regular expressions.
12423 * gdb.stabs/weird.exp: Likewise.
12424
dac790e1
TT
124252016-07-13 Tom Tromey <tom@tromey.com>
12426
12427 PR python/15620, PR python/18620:
12428 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
12429 (test_bkpt_events): New procs.
12430
93daf339
TT
124312016-07-13 Tom Tromey <tom@tromey.com>
12432
12433 PR python/17698:
12434 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
12435 test.
12436 (test_watchpoints): Likewise.
12437 (test_bkpt_pending): New proc.
12438
6571a381
TT
124392016-07-13 Tom Tromey <tom@tromey.com>
12440
12441 PR cli/18053:
12442 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
12443 completion test.
12444
e8732474
JK
124452016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12446
12447 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
12448 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
12449 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
12450 f_label.
12451 (g): Rename g_end_lbl to g_label.
12452 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
12453 low_pc and high_pc.
12454 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
12455
e0f3fd7c
TT
124562016-07-12 Tom Tromey <tom@tromey.com>
12457
12458 PR python/19293:
12459 * gdb.python/py-unwind-maint.exp: Update tests.
12460
3cfe46b6
YQ
124612016-07-12 Yao Qi <yao.qi@linaro.org>
12462
12463 * lib/selftest-support.exp (selftest_setup): Match the output
12464 when captured_main is inlined.
12465
4f19a0e6
WT
124662016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
12467
12468 * gdb.fortran/derived-types.exp (result_line, result_line_2):
12469 New variables.
12470 (print this%a, print this%b, print this): New tests.
12471 * gdb.fortran/derived-types.f90 (this): New object and
12472 initialization.
12473
986cf455
SM
124742016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12475
12476 * gdb.ada/arraydim.exp: Remove extra directory level in build
12477 directory.
12478
f0464b23
SM
124792016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12480
12481 * lib/ada.exp: Remove extra directory level in build directory.
12482 * gdb.ada/cond_lang.exp: Likewise.
12483 * gdb.ada/exec_changed.exp: Likewise.
12484 * gdb.ada/lang_switch.exp: Likewise.
12485
42d94011
MG
124862016-07-06 Manish Goregaokar <manish@mozilla.com>
12487
2806dc7e
PA
12488 * simple.rs: Add test for raw pointer subscripting.
12489 * simple.exp: Add test expectations.
42d94011 12490
647c264c
YQ
124912016-07-05 Yao Qi <yao.qi@linaro.org>
12492
12493 * gdb.mi/mi-reverse.exp: Match =record-started output.
12494
20aa2c60
PA
124952016-07-01 Pedro Alves <palves@redhat.com>
12496
12497 * gdb.base/jit-reader.exp (info_registers_current_frame): New
12498 procedure.
12499 (jit_reader_test): Test the jit reader's unwinder.
12500 * gdb.base/jithost.c (jit_function_00_code): New global.
12501 (main): Use memcpy to fill in the mmapped code, instead of poking
12502 bytes manually here.
12503 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
12504 value.
12505 (read_debug_info): Save the function's range.
12506 (read_sp): New function.
12507 (unwind_frame): Use it. Also unwind RBP.
12508 (get_frame_id): Use read_sp.
12509 (gdb_init_reader): Use calloc instead of malloc.
12510 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
12511 parameter. Use gdb_test_multiple.
12512
ced2dffb
PA
125132016-07-01 Pedro Alves <palves@redhat.com>
12514 Antoine Tremblay <antoine.tremblay@ericsson.com>
12515
12516 * gdb.threads/process-dies-while-detaching.c: New file.
12517 * gdb.threads/process-dies-while-detaching.exp: New file.
12518
63000888
PA
125192016-07-01 Pedro Alves <palves@redhat.com>
12520
12521 * gdb.multi/watchpoint-multi-exit.c: New file.
12522 * gdb.multi/watchpoint-multi-exit.exp: New file.
12523
038d4868
PA
125242016-06-30 Pedro Alves <palves@redhat.com>
12525
12526 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
12527 unset inferior_spawn_id.
12528
994e9c83
PA
125292016-06-30 Pedro Alves <palves@redhat.com>
12530
12531 * lib/mi-support.exp (default_mi_gdb_start): Declare global
12532 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
12533
e5653468
YQ
125342016-06-29 Yao Qi <yao.qi@linaro.org>
12535
12536 * gdb.base/return.c: Add copyright header.
12537
803b47e5
TT
125382016-06-29 Tom Tromey <tom@tromey.com>
12539
12540 PR python/20129:
12541 * gdb.python/py-framefilter.exp: Add tests for setting priority
12542 and disabling of non-existent frame filter.
12543
28244707
YQ
125442016-06-29 Yao Qi <yao.qi@linaro.org>
12545
12546 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
12547 0x0f07ff.
12548
a31d2f06
YQ
125492016-06-28 Yao Qi <yao.qi@linaro.org>
12550
12551 * gdb.base/catch-syscall.exp: Remove check on isnative and target
12552 triplets. Start gdb, execute catch syscall, and continue. Check
12553 gdb's output to determine catch syscall is supported.
12554
921d8f54
MG
125552016-06-27 Manish Goregaokar <manish@mozilla.com>
12556
25d49b86
PA
12557 * gdb.rust/simple.rs: Add test for returning unit in a function.
12558 * gdb.rust/simple.exp: Add expectation for functions returning
12559 unit.
921d8f54 12560
f4952523
PMR
125612016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
12562
12563 * gdb.python/py-breakpoint-create-fail.c,
12564 gdb.python/py-breakpoint-create-fail.exp,
12565 gdb.python/py-breakpoint-create-fail.py: New testcase.
12566
fccb08f8
MG
125672016-06-25 Manish Goregaokar <manish@mozilla.com>
12568
12569 PR gdb/20239
12570 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
12571 * gdb.rust/simple.exp: Add test expectations for new NonZero
12572 tests.
fccb08f8 12573
6b850546
DT
125742016-06-24 David Taylor <dtaylor@emc.com>
12575
12576 * gdb.base/offsets.exp: New file.
12577 * gdb.base/offsets.c: New file.
12578
17621150
TT
125792016-06-23 Tom Tromey <tom@tromey.com>
12580
12581 PR gdb/16483:
12582 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
12583 before any filters are loaded.
12584
04d59df6
WT
125852016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
12586
12587 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
12588 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
12589 structs.
12590 * gdb.fortran/derived-type-function.exp: New file.
12591 * gdb.fortran/derived-type-function.f90: New file.
12592
12593
ac69f786
PA
125942016-06-21 Pedro Alves <palves@redhat.com>
12595
12596 * gdb.base/new-ui.exp: New file.
12597 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
12598 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
12599 (with_spawn_id): New procedure.
12600
49940788
PA
126012016-06-21 Pedro Alves <palves@redhat.com>
12602
12603 * gdb.mi/mi-exec-run.exp: New file.
12604
ef274d26
PA
126052016-06-21 Pedro Alves <palves@redhat.com>
12606
12607 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
12608 breakpoint command's output on the main UI.
12609 (test_break): New procedure, factored out from calls in the top
12610 level.
12611 (top level): Use foreach_with_prefix to test MI as main UI and as
12612 separate UI.
12613
468afe6c
PA
126142016-06-21 Pedro Alves <palves@redhat.com>
12615
12616 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
12617 (test_awatch_creation_and_listing)
12618 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
12619 Remove 'type' parameter.
12620 (test_watchpoint_all): New parameter mi_mode. Remove
12621 with_test_prefix.
12622 (top level): Use foreach_with_prefix, and add main/separate UI MI
12623 testing axis.
12624
51f77c37
PA
126252016-06-21 Pedro Alves <palves@redhat.com>
12626
12627 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
12628 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
12629 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
12630 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
12631 (gdb_main_spawn_id, mi_spawn_id): Declare and
12632 comment.
12633 (mi_create_inferior_pty): New procedure,
12634 factored out from default_mi_gdb_start.
12635 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
12636 procedures.
12637 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
12638 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
12639 Use mi_create_inferior_pty.
12640 (mi_gdb_start): Use eval to pass down args list.
12641
8980e177
PA
126422016-06-21 Pedro Alves <palves@redhat.com>
12643
12644 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
12645 * gdb.opt/inline-cmds.exp: Add MI tests.
12646
f38d3ad1
PA
126472016-06-21 Pedro Alves <palves@redhat.com>
12648
12649 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
12650
45db7c09
PA
126512016-06-21 Pedro Alves <palves@redhat.com>
12652
12653 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
12654 (top level): Use it instead of mi_execute_to.
12655
5a069ab3
PA
126562016-06-21 Pedro Alves <palves@redhat.com>
12657
12658 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
12659 (cont_handler_str): New.
12660 (signal_stop_handler): Set stop_handler_str instead of printing to
12661 stdout.
12662 (continue_handler): Set cont_handler_str instead of printing to
12663 stdout.
12664 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
12665 mi_send_resuming_command. Print stop_handler_str and
12666 cont_handler_str instead of expecting the python events print
12667 directly.
12668
2838cc1d
SD
126692016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
12670
12671 * gdb.base/jit-reader.exp: New file.
12672 * gdb.base/jithost.c: New file.
12673 * gdb.base/jithost.h: New file.
12674 * gdb.base/jitreader.c : New file.
12675 * gdb.base/jit-protocol.h: New file.
12676
21a77091
YQ
126772016-06-17 Yao Qi <yao.qi@linaro.org>
12678
12679 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
12680 parameters follow_fork and detach_on_fork. Set follow-fork-mode
12681 and detach-on-fork. Adjust tests.
12682 (top level): Invoke break_cond_on_syscall with combinations of
12683 syscall, follow-fork-mode and detach-on-fork.
12684
f50bf8e5
YQ
126852016-06-17 Yao Qi <yao.qi@linaro.org>
12686
12687 * gdb.base/step-over-exit.c: New.
12688 * gdb.base/step-over-exit.exp: New.
12689
a28d8e50
YTL
126902016-06-17 Yan-Ting Lin <currygt52@gmail.com>
12691
12692 * gdb.base/float.exp: Add target check for nds32*-*-*.
12693 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
12694
cad8e26d
AB
126952016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
12696
12697 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
12698 for unsupported target features.
12699 * gdb.base/call-rt-st.exp: Likewise.
12700 * gdb.base/call-sc.exp: Likewise.
12701 * gdb.base/call-signal-resume.exp: Likewise.
12702 * gdb.base/call-strs.exp: Likewise.
12703 * gdb.base/callexit.exp: Likewise.
12704 * gdb.base/callfuncs.exp: Likewise.
12705 * gdb.base/nodebug.exp: Likewise.
12706 * gdb.base/printcmds.exp: Likewise.
12707 * gdb.base/ptype.exp: Likewise.
12708 * gdb.base/structs.exp: Likewise.
12709 * gdb.base/unwindonsignal.exp: Likewise.
12710 * gdb.cp/gdb2495.exp: Likewise.
12711 * gdb.cp/templates.exp: Likewise.
12712 * gdb.cp/virtfunc.exp: Likewise.
12713 * gdb.threads/hand-call-in-threads.exp: Likewise.
12714 * gdb.threads/interrupted-hand-call.exp: Likewise.
12715 * gdb.threads/thread-unwindonsignal.exp: Likewise.
12716
347dc102
TT
127172016-06-10 Tom Tromey <tom@tromey.com>
12718
12719 PR rust/20110:
12720 * gdb.rust/expr.exp: Add test for integer constant larger than
12721 i32.
12722
5e13cf25
BH
127232016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
12724
12725 * gdb.fortran/nested-funcs.exp: New.
12726 * gdb.fortran/nested-funcs.f90: New.
12727
bb556f1f
TK
127282016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
12729
12730 * gdb.base/examine-backward.c: New file.
12731 * gdb.base/examine-backward.exp: New file.
12732
38b022b4
SM
127332016-06-06 Simon Marchi <simon.marchi@ericsson.com>
12734
12735 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
12736 matching.
12737
1b40ec05
TT
127382016-06-02 Tom Tromey <tom@tromey.com>
12739
12740 PR python/18984:
12741 * gdb.python/py-shared.exp: Add solib_name test.
12742
193bd378
SM
127432016-06-02 Simon Marchi <simon.marchi@ericsson.com>
12744
12745 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
12746
3326303b
MG
127472016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
12748
12749 PR c++/19893
12750 * gdb.dwarf2/implref.exp: Rename to...
12751 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
12752 * gdb.dwarf2/implref-array.c: New file.
12753 * gdb.dwarf2/implref-array.exp: Likewise.
12754 * gdb.dwarf2/implref-global.c: Likewise.
12755 * gdb.dwarf2/implref-global.exp: Likewise.
12756 * gdb.dwarf2/implref-struct.c: Likewise.
12757 * gdb.dwarf2/implref-struct.exp: Likewise.
12758
825c8ef2
AT
127592016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12760
12761 * gdb.trace/trace-condition.exp: Add 64bit tests.
12762
2320162a
AT
127632016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12764
12765 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
12766 bits types.
12767 (main): Adapt to 8 to 64 bits types.
12768 * gdb.trace/trace-condition.exp: Add new tests.
12769
a7818233
AT
127702016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12771
12772 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
12773
0d336466
AT
127742016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12775
12776 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
12777 Move condition tests...
12778 * gdb.trace/trace-condition.exp: Here.
12779
7faeb45a
AT
127802016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12781
12782 * gdb.trace/trace-condition.exp: Add counter-case tests.
12783
e385593e
JK
127842016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12785
12786 PR c++/15231
12787 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
12788 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
12789
744608cc
PA
127902016-05-27 Pedro Alves <palves@redhat.com>
12791
12792 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12793 New procedure.
12794 (top level): Call it, and bail out of DejaGnu is known to be bad.
12795
ac775bf4
AB
127962016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
12797
12798 * gdb.base/whatis.c: Extend the test case.
12799 * gdb.base/whatis.exp: Add additional tests.
12800
2bbad2ea
BH
128012016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12802
12803* gdb.fortran/type.f90: Add pointer variable.
12804* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
12805
8b70175d
BH
128062016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12807
12808 * gdb.fortran/vla-type.exp: Fix testcase name.
12809
86d8a848
BH
128102016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12811
12812 * gdb.fortran/vla-type.exp: Access elements in nested structs.
12813
e188eb36
BH
128142016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12815
12816 * gdb.fortran/type.f90: Add nested structures.
12817 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
12818 * gdb.fortran/derived-type.exp: Adapt expected output.
12819 * gdb.fortran/vla-type.exp: Adapt expected output.
12820
9b2db1fd
BH
128212016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12822
12823 * gdb.fortran/whatis_type.exp: Adapt expected output.
12824
72b17055
BH
128252016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12826
12827 * gdb.fortran/print_type.exp: Fix expected output.
12828 * gdb.fortran/whatis_type.exp: Fix expected output.
12829
3cd81d8d
BH
128302016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12831
12832 * gdb.fortran/whatis_type.exp: Use multi_line.
12833
ddae9462
TT
128342016-05-24 Tom Tromey <tom@tromey.com>
12835
12836 PR python/17386:
12837 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
12838 use value as an index.
12839
1957f6b8
TT
128402016-05-23 Tom Tromey <tom@tromey.com>
12841
12842 PR python/17981:
12843 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
12844 no-breakpoint case.
12845
026a9174
PA
128462016-05-24 Pedro Alves <palves@redhat.com>
12847
12848 PR gdb/19828
12849 * gdb.threads/clone-attach-detach.c: New file.
12850 * gdb.threads/clone-attach-detach.exp: New file.
12851
e70a7231
FR
128522016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
12853
12854 * gdb.base/annota-input-while-running.exp: Fix syntax error.
12855
0f6ed0e0
TT
128562016-05-23 Tom Tromey <tom@tromey.com>
12857
12858 PR python/19438, PR python/18393:
12859 * gdb.python/py-progspace.exp: Add "dir" test.
12860 * gdb.python/py-objfile.exp: Add "dir" test.
12861
ffd19d61
YQ
128622016-05-23 Yao Qi <yao.qi@linaro.org>
12863
12864 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
12865 * gdb.arch/thumb2-it.exp: Likewise.
12866
9e8f9b05
SM
128672016-05-18 Simon Marchi <simon.marchi@ericsson.com>
12868
12869 * gdb.mi/mi-threads-interrupt.c: New file.
12870 * gdb.mi/mi-threads-interrupt.exp: New file.
12871
61c6156d
SM
128722016-05-17 Simon Marchi <simon.marchi@ericsson.com>
12873
12874 PR gdb/18077
12875 * gdb.mi/mi-async-run.exp: New file.
12876 * gdb.mi/mi-async-run.c: New file.
12877
67218854
TT
128782016-05-17 Tom Tromey <tom@tromey.com>
12879 Manish Goregaokar <manishsmail@gmail.com>
12880
12881 * lib/rust-support.exp: New file.
12882 * lib/gdb.exp (skip_rust_tests): New proc.
12883 (build_executable_from_specs): Handle rust.
12884 * lib/future.exp (gdb_find_rustc): New proc.
12885 (gdb_default_target_compile): Handle rust.
12886 * gdb.rust/expr.exp: New file.
12887 * gdb.rust/generics.exp: New file.
12888 * gdb.rust/generics.rs: New file.
12889 * gdb.rust/methods.exp: New file.
12890 * gdb.rust/methods.rs: New file.
12891 * gdb.rust/modules.exp: New file.
12892 * gdb.rust/modules.rs: New file.
12893 * gdb.rust/simple.exp: New file.
12894 * gdb.rust/simple.rs: New file.
12895
c44af4eb
TT
128962016-05-17 Tom Tromey <tom@tromey.com>
12897
12898 * gdb.base/default.exp (set language): Add rust.
12899
dcd1f979
TT
129002016-05-17 Tom Tromey <tom@tromey.com>
12901
12902 * gdb.gdb/unittest.exp: New file.
12903
155b7f57
YQ
129042016-05-16 Yao Qi <yao.qi@linaro.org>
12905
12906 * gdb.base/batch-preserve-term-settings.exp: Remove variable
12907 shell_prompt. Update shell_prompt_re.
12908
8ddd5a6c
DE
129092016-05-12 Doug Evans <dje@google.com>
12910
12911 PR symtab/19999
12912 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
12913 $options when building executable.
12914 * gdb.dwarf2/fission-loclists-pie.S: New file.
12915 * gdb.dwarf2/fission-loclists-pie.exp: New file.
12916
02e370d9
SM
129172016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12918
12919 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
12920 of [is_remote target],
12921
8929ad8b
SM
129222016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12923
12924 * lib/gdb.exp (use_gdb_stub): New procedure.
12925
6c447423
DE
129262016-05-03 Yunlian Jiang <yunlian@google.com>
12927 Doug Evans <dje@google.com>
12928
12929 PR symtab/19914
12930 * gdb.dwarf2/dwp-sepdebug.c: New file.
12931 * gdb.dwarf2/dwp-sepdebug.exp: New file.
12932
444e826c
SM
129332016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12934
12935 * gdb.base/detach.exp: Remove is_remote check.
12936
740feeaa
SM
129372016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12938
12939 * gdb.base/annota-input-while-running.exp: Don't check for
12940 [is_remote target]. Enable annotations after running to main.
12941 Remove unused "set test..." line.
12942
9080ac9d
SM
129432016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12944
12945 * gdb.trace/trace-enable-disable.exp: New file.
12946 * gdb.trace/trace-enable-disable.c: New file.
12947
952ebca5
SM
129482016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12949
12950 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
12951 use it in info sharedlibrary test.
12952 * gdb.trace/ftrace-lock.exp: Likewise.
12953 * gdb.trace/ftrace.exp: Likewise.
12954 * gdb.trace/range-stepping.exp: Likewise.
12955 * gdb.trace/trace-break.exp: Likewise.
12956 * gdb.trace/trace-condition.exp: Likewise.
12957 * gdb.trace/trace-mt.exp: Likewise.
12958
d9019901
SM
129592016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12960
12961 * lib/gdb.exp (gdb_load_shlibs): Rename to...
12962 (gdb_load_shlib): ... this.
12963 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
12964 gdb_load_shlib.
12965 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
12966 * gdb.base/ctxobj.exp: Likewise.
12967 * gdb.base/dprintf-pending.exp: Likewise.
12968 * gdb.base/dso2dso.exp: Likewise.
12969 * gdb.base/fixsection.exp: Likewise.
12970 * gdb.base/gcore-relro.exp: Likewise.
12971 * gdb.base/gdb1555.exp: Likewise.
12972 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12973 * gdb.base/gnu-ifunc.exp: Likewise.
12974 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
12975 * gdb.base/jit-so.exp (one_jit_test): Likewise.
12976 * gdb.base/pending.exp: Likewise.
12977 * gdb.base/print-file-var.exp: Likewise.
12978 * gdb.base/print-symbol-loading.exp: Likewise.
12979 * gdb.base/shlib-call.exp: Likewise.
12980 * gdb.base/shreloc.exp: Likewise.
12981 * gdb.base/so-impl-ld.exp: Likewise.
12982 * gdb.base/solib-disc.exp: Likewise.
12983 * gdb.base/solib-nodir.exp: Likewise.
12984 * gdb.base/solib-overlap.exp: Likewise.
12985 * gdb.base/solib-symbol.exp: Likewise.
12986 * gdb.base/solib-weak.exp (do_test): Likewise.
12987 * gdb.base/sym-file.exp: Likewise.
12988 * gdb.base/symtab-search-order.exp: Likewise.
12989 * gdb.base/type-opaque.exp: Likewise.
12990 * gdb.base/unload.exp: Likewise.
12991 * gdb.base/watchpoint-solib.exp: Likewise.
12992 * gdb.compile/compile.exp: Likewise.
12993 * gdb.cp/gdb2384.exp: Likewise.
12994 * gdb.cp/infcall-dlopen.exp: Likewise.
12995 * gdb.cp/re-set-overloaded.exp: Likewise.
12996 * gdb.fortran/library-module.exp: Likewise.
12997 * gdb.opt/solib-intra-step.exp: Likewise.
12998 * gdb.python/py-finish-breakpoint.exp: Likewise.
12999 * gdb.python/py-shared.exp: Likewise.
13000 * gdb.reverse/solib-precsave.exp: Likewise.
13001 * gdb.reverse/solib-reverse.exp: Likewise.
13002 * gdb.server/solib-list.exp: Likewise.
13003 * gdb.threads/dlopen-libpthread.exp: Likewise.
13004 * gdb.threads/tls-shared.exp: Likewise.
13005 * gdb.threads/tls-so_extern.exp: Likewise.
13006 * gdb.trace/change-loc.exp: Likewise.
13007 * gdb.trace/ftrace-lock.exp: Likewise.
13008 * gdb.trace/ftrace.exp: Likewise.
13009 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
13010 * gdb.trace/pending.exp: Likewise.
13011 * gdb.trace/range-stepping.exp: Likewise.
13012 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
13013 (strace_info_marker): Likewise.
13014 (strace_probe_marker): Likewise.
13015 (strace_trace_on_same_addr): Likewise.
13016 (strace_trace_on_diff_addr): Likewise.
13017 * gdb.trace/trace-break.exp: Likewise.
13018 * gdb.trace/trace-condition.exp: Likewise.
13019 * gdb.trace/trace-mt.exp: Likewise.
13020
fca4cfd9
SM
130212016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13022
13023 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
13024 result of gdb_remote_download.
13025 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
13026 * gdb.base/dso2dso.exp: Likewise.
13027 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13028 * gdb.base/print-file-var.exp: Likewise.
13029 * gdb.base/shlib-call.exp: Likewise.
13030 * gdb.base/shreloc.exp: Likewise.
13031 * gdb.base/solib-overlap.exp: Likewise.
13032 * gdb.base/solib-weak.exp (do_test): Likewise.
13033 * gdb.base/unload.exp: Likewise.
13034
11cf4ffb
YQ
130352016-04-27 Yao Qi <yao.qi@linaro.org>
13036
13037 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
13038 exists.
13039
3e2e34f8
KB
130402016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13041
13042 * vla-type.exp: Print structure from toplevel.
13043
8f07e298
BH
130442016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13045
13046 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
13047 of dynamic types.
13048 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
13049 of dynamic types.
13050
9920b434
BH
130512016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13052
13053 * gdb.fortran/vla-type.f90: New file.
13054 * gdb.fortran/vla-type.exp: New file.
13055
f3abeff5
YQ
130562016-04-25 Yao Qi <yao.qi@linaro.org>
13057
13058 * gdb.base/branch-to-self.c: New file.
13059 * gdb.base/branch-to-self.exp: New file.
13060
0a5d52f0
YQ
130612016-04-22 Yao Qi <yao.qi@linaro.org>
13062
13063 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
13064 more after $hex.
13065
495346f6
YQ
130662016-04-22 Yao Qi <yao.qi@linaro.org>
13067
13068 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
13069 * gdb.base/annota3.exp: Likewise.
13070
4a7e075c
YQ
130712016-04-22 Yao Qi <yao.qi@linaro.org>
13072
13073 * gdb.reverse/step-precsave.exp: Do one step and test program
13074 stops in "callee" and do multiple steps until program goes out
13075 of "callee".
13076 * gdb.reverse/step-reverse.exp: Likewise.
13077
5b061e98
YQ
130782016-04-22 Yao Qi <yao.qi@linaro.org>
13079
13080 * gdb.trace/signal.exp: Also pass if
13081 $tracepoint_hits($i) > $iterations.
13082
5c5dc57f
YQ
130832016-04-22 Yao Qi <yao.qi@linaro.org>
13084
13085 * gdb.trace/signal.c: New file.
13086 * gdb.trace/signal.exp: New file.
13087
a55411b9
DE
130882016-04-19 Doug Evans <xdje42@gmail.com>
13089
13090 * gdb.base/bad-file.exp: New file.
13091
a22df60a
MG
130922016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
13093
13094 * gdb.dwarf2/implref.exp: New file.
13095
0c13f7e5
BH
130962016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13097
13098 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
13099 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
13100 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
13101 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
13102 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
13103 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
13104 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
13105 * lib/fortran.exp (fortran_int4): New procedure.
13106 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
13107 (fortran_logical4): Likewise.
13108
9b9b09e9
BH
131092016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
13110
13111 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
13112
a14d1f4d
BH
131132016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13114
13115 * lib/compiler.c: Add Intel specific preprocessor macros.
13116 * lib/compiler.cc: Likewise.
25d49b86 13117
7d49b1d0
LM
131182016-04-13 Luis Machado <lgustavo@codesourcery.com>
13119
13120 * gdb.server/connect-with-no-symbol-file.c: New file.
13121 * gdb.server/connect-with-no-symbol-file.exp: New file.
13122
8392fa22
SM
131232016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13124
13125 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
13126
8c4c4aeb
SM
131272016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13128
13129 * boards/gdbserver-base.exp (${board}_download): Copy source file to
13130 standard output directory.
13131
45e3745e
AT
131322016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
13133
13134 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
13135
e26b7e41
MM
131362016-04-13 Markus Metzger <markus.t.metzger@intel.com>
13137
13138 * gdb.btrace/instruction_history.c (loop): Add declaration.
13139
8ce09462
AT
131402016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13141
13142 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
13143
2e88a1ea
SM
131442016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
13145
13146 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
13147 parentheses to print.
13148 (continue_handler): Likewise.
13149
f48e22e3
SM
131502016-04-08 Simon Marchi <simon.marchi@ericsson.com>
13151
13152 * gdb.server/solib-list.exp: Remove is_remote check.
13153 Pass shlib= to gdb_compile. Don't link shared library with
13154 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
13155 Run binary filename through "readlink -f" on the target.
13156
096be756
PA
131572016-04-08 Pedro Alves <palves@redhat.com>
13158
13159 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
13160 interpreter filename as argument to gdbserver_spawn.
13161 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13162 Return empty if $last_loaded_file does not exist.
13163
06500533
JK
131642016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13165
13166 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
13167 * gdb.base/jit-main.c: Use exit after usage.
13168
2d35e871
JK
131692016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13170
13171 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
13172 GDBHISTSIZE prior to the tests.
13173 * gdb.base/gdbinit-history.exp: Likewise.
13174
131752016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
13176
13177 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
13178 instead of build_executable. Use gdb_load_shlibs.
13179
c8064e7e
YQ
131802016-04-07 Yao Qi <yao.qi@linaro.org>
13181
13182 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
13183 Execute "si" command.
13184
bde47561
YQ
131852016-04-07 Yao Qi <yao.qi@linaro.org>
13186
13187 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
13188 number instead of the comments on some line.
13189
b16f8a3b
DB
131902016-04-06 Don Breazeal <donb@codesourcery.com>
13191
13192 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
13193 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
13194
c2f901df
SM
131952016-04-06 Simon Marchi <simon.marchi@ericsson.com>
13196
13197 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
13198 standard_output_file. Remove unused binfile variable.
13199
ac17fda0
CU
132002016-04-05 Catalin Udma <catalin.udma@freescale.com>
13201
13202 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
13203 * gdb.python/py-mi-objfile.exp: Match "list main" output
13204 in console format.
13205
03a8c4df
SM
132062016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
13207
13208 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
13209 absolute.
13210
6e774b13
SM
132112016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13212
13213 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
13214 absolute.
13215 * gdb.trace/ftrace.exp: Likewise.
13216 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
13217 targets as well.
13218 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
13219 (gdb_load_shlibs): Copy libraries to test directory when testing
13220 natively. Only set solib-search-path if testing remotely.
13221 * lib/mi-support.exp (mi_load_shlibs): Likewise.
13222
7817ea46
SM
132232016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13224
13225 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
13226 gdb_download. Use it even if the target is not remote.
13227 * gdb.base/jit.exp (compile_jit_test): Likewise.
13228 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
13229 output directory if the destination board is local, otherwise use
13230 the standard remote_download from DejaGnu.
13231 (gdb_download): Remove.
13232 (gdb_load_shlibs): Use gdb_remote_download instead of
13233 gdb_download.
13234 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13235 Use gdb_remote_download instead of gdb_download. Use it even if
13236 the target is not remote.
13237 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
13238 instead of gdb_download.
13239
7beb7f68
SM
132402016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
13241
13242 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
13243 (test_insert_delete_modify): Call mi_load_shlibs before trying to
13244 run.
13245
cc63428a
AV
132462016-04-01 Artemiy Volkov <artemiyv@acm.org>
13247
13248 PR gdb/19820
13249 * gdb.base/printcmds.exp: Add artificial arrays tests.
13250
64cdf930
PA
132512016-03-31 Pedro Alves <palves@redhat.com>
13252
13253 PR gdb/19858
13254 * gdb.base/jit-main.c: Include unistd.h.
13255 (ATTACH): Define to 0 if not already defined.
13256 (wait_for_gdb, mypid): New globals.
13257 (WAIT_FOR_GDB): New macro.
13258 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
13259 some breakpoint locations.
13260 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
13261 New procedures.
13262 (one_jit_test): Add REATTACH parameter, and handle it. Use
13263 continue_to_test_location.
13264 (top level): Test attach, and adjusts calls to one_jit_test.
13265
40dea8cb
PA
132662016-03-31 Pedro Alves <palves@redhat.com>
13267
13268 PR gdb/19858
13269 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
13270 BINSUFFIX parameter, and handle it.
13271 (top level): Adjust calls compile_jit_test.
13272
e7ea3ec7
CU
132732016-03-31 Catalin Udma <catalin.udma@freescale.com>
13274
13275 PR python/19743
13276 * gdb.python/py-mi-events-gdb.py: New file.
13277 * gdb.python/py-mi-events.c: New file.
13278 * gdb.python/py-mi-events.exp: New file.
13279
e6359af3
YQ
132802016-03-30 Yao Qi <yao.qi@linaro.org>
13281
13282 * gdb.reverse/until-precsave.exp: Match function name only.
13283 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
13284 Move malloc to a condition block.
13285 * gdb.reverse/until-reverse.exp: Match function name only.
13286
a4105d04
MK
132872016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
13288
13289 * gdb.trace/ftrace.exp: Set arg0exp for s390.
13290 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
13291 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
13292 variable for GPR 0 instead of assuming it is register 0.
13293 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
13294 * lib/trace-support.exp: Add s390 registers.
13295
bfa6adb9
YQ
132962016-03-29 Yao Qi <yao.qi@linaro.org>
13297
13298 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
13299
1e6697ea
YQ
133002016-03-24 Yao Qi <yao.qi@linaro.org>
13301
13302 * gdb.reverse/break-reverse.exp: Add quotation mark in the
13303 test message.
13304
64bcd522
AA
133052016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13306
13307 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
13308 maintaining separate logic for constructing the output path.
13309
7868401b
DB
133102016-03-16 Don Breazeal <donb@codesourcery.com>
13311
13312 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
13313 Retry fork and waitpid on interrupted system call errors.
13314 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13315 Use with_timeout_factor to increase timeout by factor of 10.
13316
1cafadb4
DB
133172016-03-15 Don Breazeal <donb@codesourcery.com>
13318
13319 * gdb.cp/scope-err.cc: New test program.
13320 * gdb.cp/scope-err.exp: New test script.
13321 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
13322 lines and "set breakpoint here" comment.
13323 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
13324 Fixed some whitespace and format issues.
13325 * gdb.mi/mi-linespec-err-cp.cc: New test program.
13326 * gdb.mi/mi-linespec-err-cp.exp: New test script.
13327
81516450
DE
133282016-03-15 Doug Evans <dje@google.com>
13329
13330 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
13331 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
13332 All callers updated. Add tests for enums, mixed flags register.
13333
aa52b601
DE
133342016-03-15 Doug Evans <dje@google.com>
13335
13336 * gdb.base/skip.c (main): Call test_skip_file_and_function.
13337 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
13338
fa4ff313
SM
133392016-03-14 Simon Marchi <simon.marchi@ericsson.com>
13340
13341 * gdb.base/default.exp: Add $_as_string to the list of expected
13342 convenience functions.
13343
f2403c39
AB
133442016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
13345
13346 * gdb.base/maint.exp: New tests for 'maint info line-table'.
13347
f2f3ccb9
SM
133482016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
13349
13350 * gdb.python/py-as-string.exp: New file.
13351 * gdb.python/py-as-string.c: New file.
13352
00dbd492
PA
133532016-03-09 Pedro Alves <palves@redhat.com>
13354
13355 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
13356 signal" -> "Thread NN received signal" output change.
13357 * gdb.threads/ia64-sigill.exp: Likewise.
13358 * gdb.threads/linux-dp.exp: Likewise.
13359 * gdb.threads/manythreads.exp: Likewise.
13360 * gdb.threads/pending-step.exp: Likewise.
13361 * gdb.threads/print-threads.exp: Likewise.
13362 * gdb.threads/sigstep-threads.exp: Likewise.
13363 * gdb.threads/staticthreads.exp: Likewise.
13364 * gdb.threads/tls.exp: Likewise.
13365
1e6697ea
YQ
133662016-03-09 Pedro Alves <palves@redhat.com>
13367
13368 * gdb.base/command-line-input.exp: New file.
13369
b04fd3be
MK
133702016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13371
13372 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
13373 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
13374 * gdb.trace/pending.exp: Accept leading dot before function name.
13375 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
13376 * lib/trace-support.exp: Set registers for ppc.
13377
98fa59e9
MK
133782016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13379
13380 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
13381 use it for disassembly; accept .main in addition to main in backtrace.
13382
f77198c8
MK
133832016-03-09 Wei-cheng Wang <cole945@gmail.com>
13384 Marcin Kościelnicki <koriakin@0x04.net>
13385
13386 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
13387 (gdb_recursion_test_ptr): New global variable.
13388 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
13389 gdb_recursion_test.
13390 (gdb_c_test): Ditto.
13391
ba84e0da
MK
133922016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13393
13394 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
13395 ordering.
13396
4366d36e
MK
133972016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13398
13399 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
13400 (bar): Add bar_start_lbl label.
13401 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
13402 of foo/bar for emitting DWARF and tracing.
13403
5eb264df
SDJ
134042016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
13405
13406 * analyze-racy-logs.py: Set executable bit.
13407
fb6a751f
SDJ
134082016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
13409
13410 * Makefile.in (DEFAULT_RACY_ITER): New variable.
13411 (CHECK_TARGET_TMP): Likewise.
13412 (check-single-racy): New rule.
13413 (check-parallel-racy): Likewise.
13414 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
13415 (do-check-parallel-racy): New rule.
13416 (check-racy/%.exp): Likewise.
13417 * README (Racy testcases): New section.
13418 * analyze-racy-logs.py: New file.
13419
bdf7e230
DE
134202016-03-03 Doug Evans <dje@google.com>
13421
13422 * gdb.base/skip.exp: Use with_test_prefix.
13423
4719d415
YQ
134242016-03-03 Yao Qi <yao.qi@linaro.org>
13425
13426 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
13427 Invoke step_over_syscall "clone" and break_cond_on_syscall
13428 "clone".
13429 * gdb.base/step-over-clone.c: New file.
13430
ea507862
YQ
134312016-03-03 Yao Qi <yao.qi@linaro.org>
13432
13433 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
13434 code format.
13435
8fc8cbda
YQ
134362016-03-03 Yao Qi <yao.qi@linaro.org>
13437
13438 * gdb.base/disp-step-fork.c: Rename to ...
13439 * gdb.base/step-over-fork.c: ... it. New file.
13440 * gdb.base/disp-step-vfork.c: Rename to ...
13441 * gdb.base/step-over-vfork.c: ... it. New file.
13442 * gdb.base/disp-step-syscall.exp: Rename to ...
13443 * gdb.base/step-over-syscall.exp: ... it. New file.
13444 (disp_step_cross_syscall): Rename to ...
13445 (step_over_syscall): ... it.
13446
92fa70b0
YQ
134472016-03-03 Yao Qi <yao.qi@linaro.org>
13448
13449 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
13450 If target supports condition evaluation on target, invoke
13451 break_cond_on_syscall for fork and vfork.
13452
e197ad3c
YQ
134532016-03-03 Yao Qi <yao.qi@linaro.org>
13454
13455 * gdb.base/disp-step-syscall.exp: Don't invoke
13456 support_displaced_stepping.
13457 (disp_step_cross_syscall): Test with displaced stepping off and
13458 on if supported.
13459
0b47da9f
YQ
134602016-03-03 Yao Qi <yao.qi@linaro.org>
13461
13462 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
13463 proc.
13464 (setup): New proc.
13465 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
13466 and setup.
13467
065ab6dc
BH
134682016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13469
13470 * gdb.fortran/vla-history.exp: Remove breakpoint.
13471
07e448ad 134722016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13473
25d49b86
PA
13474 * gdb.fortran/vla-history.exp: Lookup array elements and printing
13475 exceeds timeout.
07e448ad 13476
9ac2d526 134772016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13478
25d49b86
PA
13479 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
13480 breakpoint.
9ac2d526 13481
17807369
BH
134822016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13483
13484 * gdb.mi/vla.f90: Nullify pointer after declaration.
13485
86e501af
PA
134862016-03-01 Pedro Alves <palves@redhat.com>
13487
13488 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
13489
1e903e32
PA
134902016-03-01 Pedro Alves <palves@redhat.com>
13491
13492 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
13493 before anything else.
13494 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
13495 _GNU_SOURCE here.
13496 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
13497 before anything else.
13498 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
13499
6ccb54e2
PA
135002016-03-01 Pedro Alves <palves@redhat.com>
13501
13502 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
13503
30ca9da1
YQ
135042016-03-01 Yao Qi <yao.qi@linaro.org>
13505
13506 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
13507 prepare_for_testing.
13508
dc856b38
YQ
135092016-03-01 Yao Qi <yao.qi@linaro.org>
13510
13511 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
13512
4a932159
AA
135132016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13514
13515 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
13516 manually constructing the output path.
13517
f2489477
AA
135182016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13519
13520 * gdb.arch/s390-stackless.S: New.
13521 * gdb.arch/s390-stackless.exp: New.
13522
38899f16
IB
135232016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
13524
13525 * gdb.dlang/circular.c: New file.
13526 * gdb.dlang/circular.exp: New file.
13527
9fde51ed
YQ
135282016-02-26 Yao Qi <yao.qi@linaro.org>
13529
13530 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
13531 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
13532 (testcases): Update.
13533
ce90fefe
YQ
135342016-02-26 Yao Qi <yao.qi@linaro.org>
13535
13536 * gdb.reverse/aarch64.c: Rename to ...
13537 * gdb.reverse/insn-reverse.c: ... it.
13538 * gdb.reverse/aarch64.exp: Rename to ...
13539 * gdb.reverse/insn-reverse.exp: ... it.
13540
3263bceb
YQ
135412016-02-26 Yao Qi <yao.qi@linaro.org>
13542
13543 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
13544 (testcase_ftype): New.
13545 (testcases): New array.
13546 (n_testcases): New.
13547 (main): Call each element in testcases.
13548 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
13549 (read_testcase): New.
13550 Do the tests in a loop.
13551
6cb59ff1
YQ
135522016-02-25 Yao Qi <yao.qi@linaro.org>
13553
13554 * gdb.base/branches.c: Remove.
13555
ae91f625
MK
135562016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13557
13558 PR gdb/13808
13559 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
13560
678b48b7
MK
135612016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13562
13563 * gdb.trace/ftrace.exp: Remove unnecessary target check.
13564
7337a6f2
MK
135652016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13566
13567 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
13568 change x86_64 call_insn to 'callq'.
13569
861ca91f
AT
135702016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13571
13572 * gdb.trace/tfile-avx.c: Move to...
13573 * gdb.trace/tracefile-pseudo-reg.c: Here.
13574 * gdb.trace/tfile-avx.exp: Move to...
13575 * gdb.trace/tracefile-pseudo-reg.exp: Here.
13576
bf74e428
GB
135772016-02-24 Gary Benson <gbenson@redhat.com>
13578
13579 * gdb.base/attach-pie-noexec.exp: Do not expect an error
13580 message on attach.
13581
cce0e923
DE
135822016-02-23 Doug Evans <dje@google.com>
13583
13584 * gdb.base/skip.c (test_skip): New function.
13585 (end_test_skip_file_and_function): New function.
13586 (test_skip_file_and_function): New function.
13587 * gdb.base/skip1.c (test_skip): New function.
13588 (skip1_test_skip_file_and_function): New function.
13589 * gdb.base/skip.exp: Add tests for new skip options.
13590 * gdb.base/skip-solib.exp: Update expected output.
13591 * gdb.perf/skip-command.cc: New file.
13592 * gdb.perf/skip-command.exp: New file.
13593 * gdb.perf/skip-command.py: New file.
13594
4000e47e
MK
135952016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
13596
13597 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
13598 info registers pattern.
13599
24f75ead
IB
136002016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
13601
13602 * lib/future.exp: Add D support.
13603 (gdb_find_gdc): New proc.
13604 (gdb_default_target_compile): Add D support.
13605
fbb7bcbe
WW
136062016-02-18 Wei-cheng Wang <cole945@gmail.com>
13607
13608 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
13609 user+system time.
13610 (trace_speed_test): Determine the iteration count for a time
13611 between 15..30 seconds.
13612
012b3a21
WT
136132016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
13614
13615 * gdb.arch/i386-mpx-sigsegv.c: New file.
13616 * gdb.arch/i386-mpx-sigsegv.exp: New file.
13617 * gdb.arch/i386-mpx-simple_segv.c: New file.
13618 * gdb.arch/i386-mpx-simple_segv.exp: New file.
13619
2d5189bd
YQ
136202016-02-18 Yao Qi <yao.qi@linaro.org>
13621
13622 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13623 Don't call setup_kfail.
13624
40fb20d0
YQ
136252016-02-18 Yao Qi <yao.qi@linaro.org>
13626
13627 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13628 Set "set breakpoint condition-evaluation" per $cond_bp_target.
13629
21b1f8d2
DE
136302016-02-16 Doug Evans <dje@google.com>
13631
13632 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
13633 * gdb.base/skip1.c: Ditto.
13634 * gdb.base/skip.exp: Whitespace cleanup.
13635
4041ed77
DB
136362016-02-16 Don Breazeal <donb@codesourcery.com>
13637
13638 PR remote/19496
13639 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13640 Remove kfail for PR remote/19496.
13641
c4ef31bf
SM
136422016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13643
13644 * lib/gdb.exp (standard_temp_file): Return a path specific to
13645 the runtest invocation.
13646
266b65b3
SM
136472016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13648
13649 * gdb.trace/save-trace.exp: Change relative path to be in the
13650 standard output directory.
13651
a7a0a6a9
JK
136522016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13653
13654 * gdb.arch/i386-prologue.c: Add missing prototypes.
13655
c99dbb42
JK
136562016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13657
13658 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
13659 * gdb.arch/i386-prologue.exp: Likewise.
13660 * gdb.arch/i386-size.exp: Likewise.
13661
aa480355
SM
136622016-02-15 Simon Marchi <simon.marchi@ericsson.com>
13663
13664 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
13665 define object file path.
13666 * gdb.btrace/gcore.exp: Use standard_output_file to define core
13667 file path.
13668 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
13669 standard_output_file to define binfile.
13670
ba881f50
JK
136712016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13672
13673 Fix compatibility with recent gfortran-5.3.1.
13674 * gdb.fortran/vla-history.exp (print vla1 allocated)
13675 (print vla2 allocated, print $2, print $3): Remove
13676 (print $4): Rename to ...
13677 (print $2): ... here.
13678 (print $9): Rename to ...
13679 (print $5): ... here.
13680 (print $10): Rename to ...
13681 (print $6): ... here.
13682 * gdb.fortran/vla.f90: Add pvla initialization.
13683
e9fb005c
JK
136842016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13685
13686 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
13687 New test.
13688 * gdb.fortran/vla-value-sub.exp: Likewise.
13689
e44e00ff
MK
136902016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
13691
13692 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
13693
97e94151
SM
136942016-02-12 Simon Marchi <simon.marchi@ericsson.com>
13695
13696 * i386-biarch-core.exp: Define corefile using
13697 standard_output_file.
13698
01113bc1
YQ
136992016-02-12 Yao Qi <yao.qi@linaro.org>
13700
13701 * gdb.arch/arm-single-step-kernel-helper.c: New.
13702 * gdb.arch/arm-single-step-kernel-helper.exp: New.
13703
33b4777c
MM
137042016-02-12 Markus Metzger <markus.t.metzger@intel.com>
13705
13706 * gdb.btrace/tailcall-only.exp: New.
13707 * gdb.btrace/tailcall-only.c: New.
13708 * gdb.btrace/x86_64-tailcall-only.S: New.
13709 * gdb.btrace/i686-tailcall-only.S: New.
13710
acc23c11
PA
137112016-02-11 Pedro Alves <palves@redhat.com>
13712
13713 * README (Parallel testing): Add missing double quotes.
13714
e352bf0a
PA
137152016-02-11 Pedro Alves <palves@redhat.com>
13716
13717 * README (Parallel testing): New section.
13718 (GDB_PARALLEL): Rewrite.
13719 (FORCE_PARALLEL): Document.
13720
9f5fed78
MK
137212016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
13722
13723 * gdb.trace/tfile-avx.c: New test.
13724 * gdb.trace/tfile-avx.exp: New test.
13725
9ef9e6a6
KS
137262016-02-09 Keith Seitz <keiths@redhat.com>
13727
13728 PR breakpoints/19546
13729 * gdb.base/infcall-exec.c: New file.
13730 * gdb.base/infcall-exec2.c: New file.
13731 * gdb.base/infcall-exec.exp: New file.
13732
a96e36da
KS
137332016-02-09 Keith Seitz <keiths@redhat.com>
13734
13735 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
13736 (toplevel): Call test_bkpt_address.
13737
9f61929f
KS
137382016-02-09 Keith Seitz <keiths@redhat.com>
13739
13740 PR python/19506
13741 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
13742 (toplevel): Call test_bkpt_address.
13743
1e94266c
SM
137442016-02-09 Simon Marchi <simon.marchi@ericsson.com>
13745
13746 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
13747 to AC_OUTPUT.
13748 * configure: Regenerate.
13749
2a7f3dff
PA
137502016-02-09 Pedro Alves <palves@redhat.com>
13751
13752 PR breakpoints/19548
13753 * gdb.base/execl-update-breakpoints.c (some_function): New
13754 function.
13755 (main): Call it.
13756 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
13757 Tighten expected GDB output.
13758
2151ccc5
SM
137592016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13760
13761 * Makefile.in (ALL_SUBDIRS): Remove.
13762 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
13763 (distclean maintainer-clean realclean): Likewise.
13764 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
13765 * configure: Regenerate.
13766 * gdb.ada/Makefile.in: Delete.
13767 * gdb.arch/Makefile.in: Likewise.
13768 * gdb.asm/Makefile.in: Likewise.
13769 * gdb.base/Makefile.in: Likewise.
13770 * gdb.btrace/Makefile.in: Likewise.
13771 * gdb.cell/Makefile.in: Likewise.
13772 * gdb.compile/Makefile.in: Likewise.
13773 * gdb.cp/Makefile.in: Likewise.
13774 * gdb.disasm/Makefile.in: Likewise.
13775 * gdb.dlang/Makefile.in: Likewise.
13776 * gdb.dwarf2/Makefile.in: Likewise.
13777 * gdb.fortran/Makefile.in: Likewise.
13778 * gdb.gdb/Makefile.in: Likewise.
13779 * gdb.go/Makefile.in: Likewise.
13780 * gdb.guile/Makefile.in: Likewise.
13781 * gdb.java/Makefile.in: Likewise.
13782 * gdb.linespec/Makefile.in: Likewise.
13783 * gdb.mi/Makefile.in: Likewise.
13784 * gdb.modula2/Makefile.in: Likewise.
13785 * gdb.multi/Makefile.in: Likewise.
13786 * gdb.objc/Makefile.in: Likewise.
13787 * gdb.opencl/Makefile.in: Likewise.
13788 * gdb.opt/Makefile.in: Likewise.
13789 * gdb.pascal/Makefile.in: Likewise.
13790 * gdb.perf/Makefile.in: Likewise.
13791 * gdb.python/Makefile.in: Likewise.
13792 * gdb.reverse/Makefile.in: Likewise.
13793 * gdb.server/Makefile.in: Likewise.
13794 * gdb.stabs/Makefile.in: Likewise.
13795 * gdb.threads/Makefile.in: Likewise.
13796 * gdb.trace/Makefile.in: Likewise.
13797 * gdb.xml/Makefile.in: Likewise.
13798 * lib/gdb.exp (make_gdb_parallel_path): Add check for
13799 GDB_PARALLEL.
13800 (standard_output_file): Remove check for GDB_PARALLEL, always
13801 return path in outputs/$subdir/$testname.
13802
437277d4
SM
138032016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13804
13805 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
13806 (site.exp): Assign abs_srcdir to tcl's srcdir.
13807
31d913c7
YQ
138082016-02-04 Yao Qi <yao.qi@linaro.org>
13809
13810 * gdb.base/foll-exec-mode.c: Include limits.h.
13811 (main): Add parameters argc and argv. Get directory from
13812 argv[0].
13813 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
13814 compilation.
13815 * gdb.base/foll-exec.c: Include limits.h.
13816 (main): Add parameters argc and argv.
13817 Get directory from argv[0].
13818 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
13819 Adjust tests on the number of lines as source code changed.
13820 * gdb.base/foll-vfork-exit.c: Include limits.h.
13821 (main): Add one line of statement before vfork.
13822 * gdb.base/foll-vfork.c: Include limits.h and string.h.
13823 (main): Add parameters argc and argv. Get directory from
13824 argv[0].
13825 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
13826 (setup_gdb): Set tbreak to skip some source lines.
13827 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
13828 (main): Add parameters argc and argv. Get directory from
13829 argv[0].
13830 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
13831 compilation.
13832 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
13833 (main): Add parameters argc and argv. Get directory from
13834 argv[0].
13835 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
13836 compilation.
13837
9482b9fb
DE
138382016-02-01 Doug Evans <dje@google.com>
13839
13840 * gdb.base/skip.exp: Clean up multiple references to same test name.
13841
6b2e4f10
PA
138422016-02-01 Pedro Alves <palves@redhat.com>
13843
ccb6afd6 13844 PR remote/19496
6b2e4f10
PA
13845 * gdb.threads/forking-threads-plus-breakpoint.exp
13846 (displaced_stepping_supported): New global.
13847 (probe_displaced_stepping_support): New procedure.
13848 (do_test): Add 'displaced' parameter, and use it.
13849 (top level): Check for displaced stepping support. Add displaced
13850 stepping on/off testing axis.
13851
37a8db1a
AB
138522016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13853
13854 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
13855 pointer. Don't perform further tests on the unassociated pointer
13856 if the first test fails.
13857
5fdf6324
AB
138582016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13859
13860 * gdb.base/max-value-size.c: New file.
13861 * gdb.base/max-value-size.exp: New file.
13862 * gdb.base/huge.exp: Disable max-value-size for this test.
13863
935c6144
IB
138642016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
13865
13866 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13867
7fe8399d
YQ
138682016-01-28 Yao Qi <yao.qi@linaro.org>
13869
13870 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
13871
a2077e25
PA
138722016-01-25 Pedro Alves <palves@redhat.com>
13873
13874 PR threads/19461
13875 * gdb.base/fork-running-state.c: New file.
13876 * gdb.base/fork-running-state.exp: New file.
13877
1d2736d4
PA
138782016-01-25 Pedro Alves <palves@redhat.com>
13879
13880 PR gdb/19494
13881 * gdb.base/catch-fork-kill.c: New file.
13882 * gdb.base/catch-fork-kill.exp: New file.
13883
f1da4b11
PA
138842016-01-25 Pedro Alves <palves@redhat.com>
13885
13886 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
13887 Delete, moved to lib/gdb.exp.
13888 * gdb.threads/forking-threads-plus-breakpoint.exp
13889 (foreach_with_prefix): Likewise.
13890 * gdb.threads/process-dies-while-handling-bp.exp
13891 (foreach_with_prefix): Likewise.
13892 * lib/gdb.exp (foreach_with_prefix): New procedure.
13893
45f38546
MK
138942016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
13895
13896 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
13897 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
13898
dc29a1ce
MK
138992016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
13900
13901 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
13902 endian targets.
13903
092127d7
JK
139042016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13905 Pedro Alves <palves@redhat.com>
13906
13907 Fix testsuite compatibility with Guile.
13908 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
13909 number.
13910
31d765d3
JK
139112016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13912
13913 Fix testsuite compatibility with Guile.
13914 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
13915 (thread 1): New test for backtrace through signal handler.
13916
1ac78c04
YQ
139172016-01-22 Yao Qi <yao.qi@linaro.org>
13918
13919 PR testsuite/19491
13920 * gdb.base/multi-forks.c: Include
13921 ../lib/unbuffer_output.c
13922 (main): Call gdb_unbuffer_output.
13923
4f5946a8
DE
139242016-01-21 Doug Evans <dje@google.com>
13925
13926 * lib/ada.exp (gdb_compile_ada): Fix typo.
13927
305e13e6
JB
139282016-01-21 Joel Brobecker <brobecker@adacore.com>
13929
13930 * gdb.base/break-fun-addr.exp: New file.
13931 * gdb.base/break-fun-addr1.c: New file.
13932 * gdb.base/break-fun-addr2.c: New file.
13933
5f5dfff6
SM
139342016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
13935
13936 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
13937 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
13938 enum flag values.
13939
fd356fa2
AA
139402016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13941
13942 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
13943 when GDB can not set the vector return value. Add more comments
13944 for clarification.
13945
9df22175
AT
139462016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
13947
13948 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
13949 command.
13950
41d1845e
SM
139512016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13952
13953 * Makefile.in (DO_RUNTEST): Add --status and update usages.
13954
01ac6840
SM
139552016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13956
13957 * Makefile.in (check-single): Pass --status to runtest.
13958 (check/%.exp): Likewise.
13959
139602016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13961
13962 * Makefile.in (check-parallel): Propagate return code from make
13963 do-check-parallel.
13964
bd0a71fa
MK
139652016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
13966
13967 * gdb.trace/ftrace.exp: Fix expected message on continue.
13968 * gdb.trace/pending.exp: Fix expected message on continue.
13969 * gdb.trace/trace-break.exp: Fix expected message on continue.
13970
8bcbad33
SM
139712016-01-18 Simon Marchi <simon.marchi@ericsson.com>
13972
13973 * lib/gdb.exp (gdb_test): Remove unused global references.
13974
f303dbd6
PA
139752016-01-18 Pedro Alves <palves@redhat.com>
13976
13977 * gdb.base/async-shell.exp: Adjust expected output.
13978 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
13979 * gdb.base/siginfo-thread.exp: Adjust expected output.
13980 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
13981 * gdb.java/jnpe.exp: Adjust expected output.
13982 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
13983 * gdb.threads/continue-pending-status.exp: Adjust expected output.
13984 * gdb.threads/leader-exit.exp: Adjust expected output.
13985 * gdb.threads/manythreads.exp: Adjust expected output.
13986 * gdb.threads/pthreads.exp: Adjust expected output.
13987 * gdb.threads/schedlock.exp: Adjust expected output.
13988 * gdb.threads/siginfo-threads.exp: Adjust expected output.
13989 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
13990 expected output.
13991 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
13992 output.
13993 * gdb.threads/sigthread.exp: Adjust expected output.
13994 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
13995
b2789696
YQ
139962016-01-18 Yao Qi <yao.qi@linaro.org>
13997
13998 * gdb.guile/scm-section-script.c: Replace @progbits with
13999 %progbits.
14000 * gdb.python/py-section-script.c: Likewise.
14001
71ef29a8
PA
140022016-01-15 Pedro Alves <palves@redhat.com>
14003
14004 * gdb.multi/tids.exp: Test star wildcard ranges.
14005
3f5b7598
PA
140062016-01-15 Pedro Alves <palves@redhat.com>
14007
14008 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
14009 command from "thread apply" invocation.
14010 (thr_apply_info_thr_invalid): Default the expected output to the
14011 input tid list.
14012 (top level): Add tests that use convenience variables. Add tests
14013 for "thread apply" with a valid TID list, but missing the command.
14014
663f6d42
PA
140152016-01-13 Pedro Alves <palves@redhat.com>
14016
14017 * gdb.base/default.exp: Expect $_gthread as well.
14018 * gdb.multi/tids.exp: Test $_gthread.
14019 * gdb.threads/thread-specific.exp: Test $_gthread.
14020
c84f6bbf
PA
140212016-01-13 Pedro Alves <palves@redhat.com>
14022
14023 * gdb.multi/tids.exp: Test "info threads -gid".
14024
22a02324
PA
140252016-01-13 Pedro Alves <palves@redhat.com>
14026
14027 * gdb.multi/tids.exp: Test InferiorThread.global_num and
14028 Breakpoint.thread.
14029 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
14030
5d5658a1
PA
140312016-01-07 Pedro Alves <palves@redhat.com>
14032
14033 * gdb.base/break.exp: Adjust to output changes.
14034 * gdb.base/hbreak2.exp: Likewise.
14035 * gdb.base/sepdebug.exp: Likewise.
14036 * gdb.base/watch_thread_num.exp: Likewise.
14037 * gdb.linespec/keywords.exp: Likewise.
14038 * gdb.multi/info-threads.exp: Likewise.
14039 * gdb.threads/thread-find.exp: Likewise.
14040 * gdb.multi/tids.c: New file.
14041 * gdb.multi/tids.exp: New file.
14042
84654457
PA
140432016-01-13 Pedro Alves <palves@redhat.com>
14044
14045 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
14046
e3940304
PA
140472016-01-13 Pedro Alves <palves@redhat.com>
14048
14049 * gdb.base/default.exp: Expect $_inferior as well.
14050 * gdb.multi/base.exp: Test $_inferior.
14051
a911d87a
PA
140522016-01-13 Pedro Alves <palves@redhat.com>
14053
14054 PR breakpoints/19388
14055 * gdb.base/catch-signal-siginfo-cond.c: New file.
14056 * gdb.base/catch-signal-siginfo-cond.exp: New file.
14057
82075af2
JS
140582016-01-12 Josh Stone <jistone@redhat.com>
14059 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14060
14061 * gdb.base/catch-syscall.c (do_execve): New variable.
14062 (main): Conditionally trigger an execve.
14063 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
14064 (test_catch_syscall_execve): New, check entry/return across execve.
14065 (do_syscall_tests): Call test_catch_syscall_execve.
14066
e46eeedd
PA
140672016-01-12 Pedro Alves <palves@redhat.com>
14068
14069 * gdb.base/random-signal.exp (do_test): New procedure, with body
14070 of testcase moved in.
14071
01d8c27e
JK
140722016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14073 Pedro Alves <palves@redhat.com>
14074
14075 * gdb.base/funcargs.exp (finish from indirectly called function):
14076 Reintroduce the case for 'First'.
14077
9a706302
JK
140782016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14079 Pedro Alves <palves@redhat.com>
14080
14081 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14082 (tcatch_vfork_then_child_follow_exec)
14083 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
14084 identification.
14085
c0ecb95f
JK
140862016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14087
14088 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
14089 and repeats to unlimited.
14090 * gdb.python/py-value.exp: Likewise.
14091 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
14092 and repeats to unlimited.
14093
6cfc1fcb
JK
140942016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14095
14096 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
14097 and reordering the functions.
14098 * gdb.multi/hangout.c: Likewise.
14099 * gdb.multi/hello.c: Likewise.
14100
582a1b00
SM
141012016-01-08 Simon Marchi <simon.marchi@ericsson.com>
14102
14103 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
14104 absolute.
14105 (SingleStatisticTestResult.report): Use dict.keys instead of
14106 dict.iterkeys.
14107
79bc59cb
PA
141082016-01-06 Pedro Alves <palves@redhat.com>
14109
14110 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
14111
43368e1d
MM
141122016-01-04 Markus Metzger <markus.t.metzger@intel.com>
14113
14114 * gdb.btrace/dlopen.exp: New.
14115 * gdb.btrace/dlopen.c: New.
14116 * gdb.btrace/dlopen-dso.c: New.
14117
79fad5b8
SL
141182015-12-25 Sandra Loosemore <sandra@codesourcery.com>
14119
14120 * lib/gdb.exp (gdb_test): Update comments to clarify that the
14121 PATTERN argument is optional.
14122
ab8314b3
JB
141232015-12-24 Joel Brobecker <brobecker@adacore.com>
14124
14125 * lib/ada.exp (target_compile_ada_from_dir): New function.
14126 (gdb_compile_ada): Reimplement avoiding the use of project files.
14127 * gdb.ada/gnat_ada.gpr: Delete.
14128 * gdb.ada/cond_lang.exp: Adjust test to make path before
14129 filename optional.
14130 * gdb.ada/small_reg_param.exp: Likewise.
14131
fe33faff
SM
141322015-12-22 Simon Marchi <simon.marchi@ericsson.com>
14133
14134 * gdb.base/foll-vork.exp: Remove HP-UX special case.
14135
6d265cb4
TP
141362015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
14137
14138 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
14139 case.
14140
10125099
SM
141412015-12-21 Simon Marchi <simon.marchi@ericsson.com>
14142
14143 * gdb.base/break.exp: Remove dead code.
14144 * gdb.base/sepdebug.exp: Likewise.
14145
3ca22649
SM
141462015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14147
14148 * gdb.asm/asm-source.exp: Remove HP-UX references.
14149 * gdb.base/annota1.exp: Likewise.
14150 * gdb.base/annota3.exp: Likewise.
14151 * gdb.base/attach.exp: Likewise.
14152 * gdb.base/bigcore.exp: Likewise.
14153 * gdb.base/break.exp: Likewise.
14154 * gdb.base/call-ar-st.exp: Likewise.
14155 * gdb.base/callfuncs.exp: Likewise.
14156 * gdb.base/catch-fork-static.exp: Likewise.
14157 * gdb.base/display.exp: Likewise.
14158 * gdb.base/foll-exec-mode.exp: Likewise.
14159 * gdb.base/foll-exec.exp: Likewise.
14160 * gdb.base/foll-fork.exp: Likewise.
14161 * gdb.base/foll-vfork.exp: Likewise.
14162 * gdb.base/funcargs.exp: Likewise.
14163 * gdb.base/hbreak2.exp: Likewise.
14164 * gdb.base/inferior-died.exp: Likewise.
14165 * gdb.base/interrupt.exp: Likewise.
14166 * gdb.base/multi-forks.exp: Likewise.
14167 * gdb.base/nodebug.exp: Likewise.
14168 * gdb.base/sepdebug.exp: Likewise.
14169 * gdb.base/solib1.c: Likewise.
14170 * gdb.base/step-test.exp: Likewise.
14171 * gdb.mi/non-stop.c: Likewise.
14172 * gdb.mi/pthreads.c: Likewise.
14173 * gdb.multi/bkpt-multi-exec.ex: Likewise.
14174 * gdb.threads/pthreads.c: Likewise.
14175 * gdb.threads/staticthreads.exp: Likewise.
14176 * lib/future.exp: Likewise.
14177 * lib/gdb.exp: Likewise.
14178 * gdb.base/so-indr-cl.c: Remove.
14179 * gdb.base/so-indr-cl.exp: Likewise.
14180 * gdb.base/solib.c: Likewise.
14181 * gdb.base/solib.exp: Likewise.
14182 * gdb.base/solib2.c: Likewise.
14183
b6304613
SM
141842015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14185
14186 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
14187 * gdb.base/call-ar-st.exp: Likewise.
14188 * gdb.base/callfuncs.exp: Likewise.
14189 * gdb.base/condbreak.exp: Likewise.
14190 * gdb.base/constvars.exp: Likewise.
14191 * gdb.base/hbreak2.exp: Likewise.
14192 * gdb.base/langs.exp: Likewise.
14193 * gdb.base/list.exp: Likewise.
14194 * gdb.base/long_long.exp: Likewise.
14195 * gdb.base/ptype.exp: Likewise.
14196 * gdb.base/scope.exp: Likewise.
14197 * gdb.base/signals.exp: Likewise.
14198 * gdb.base/so-impl-ld.exp: Likewise.
14199 * gdb.base/varargs.exp: Likewise.
14200 * gdb.base/volatile.exp: Likewise.
14201 * gdb.base/whatis.exp: Likewise.
14202 * gdb.cp/cplusfuncs.exp: Likewise.
14203 * gdb.cp/inherit.exp: Likewise.
14204 * gdb.cp/local.exp: Likewise.
14205 * gdb.cp/member-ptr.exp: Likewise.
14206 * gdb.cp/method.exp: Likewise.
14207 * gdb.cp/overload.exp: Likewise.
14208 * gdb.cp/templates.exp: Likewise.
14209 * gdb.stabs/weird.exp: Likewise.
14210 * lib/compiler.c: Likewise.
14211 * lib/compiler.cc: Likewise.
14212 * lib/cp-support.exp: Likewise.
14213 * lib/gdb.exp: Likewise.
14214
bf401b07
SM
142152015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
14216
14217 * configure.ac: Remove HP-UX case.
14218 * configure: Regenerate.
14219
aff9c0f8
SM
142202015-12-18 Simon Marchi <simon.marchi@ericsson.com>
14221
14222 * lib/gdb.exp (gdb_compile): Add function doc.
14223
a6904d5a
PA
142242015-12-17 Pedro Alves <palves@redhat.com>
14225
14226 PR threads/19354
14227 * gdb.multi/info-threads.exp: New file.
14228
a22279dd
YQ
142292015-12-15 Yao Qi <yao.qi@linaro.org>
14230
14231 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
14232 is aarch64*-*-*.
14233
0588c796
SL
142342015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14235
14236 * gdb.base/history-duplicates.exp: Skip if no readline support.
14237
5d978e17
SL
142382015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14239
14240 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
14241
7e763b86
SL
142422015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14243
14244 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
14245
87a3a92c
SL
142462015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14247
14248 * gdb.base/completion.exp: Skip tests that interrupt GDB with
14249 ctrl-C if nointerrupts target property is set.
14250 * gdb.base/double-prompt-target-event-error.exp: Likewise.
14251 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
14252 * gdb.base/paginate-bg-execution.exp: Likewise.
14253 * gdb.base/paginate-execution-startup.exp: Likewise.
14254 * gdb.base/random-signal.exp: Likewise.
14255 * gdb.base/range-stepping.exp: Likewise.
14256 * gdb.cp/annota2.exp: Likewise.
14257 * gdb.cp/annota3.exp: Likewise.
14258 * gdb.gdb/selftest.exp: Likewise.
14259 * gdb.threads/continue-pending-status.exp: Likewise.
14260 * gdb.threads/leader-exit.exp: Likewise.
14261 * gdb.threads/manythreads.exp: Likewise.
14262 * gdb.threads/pthreads.exp: Likewise.
14263 * gdb.threads/schedlock.exp: Likewise.
14264 * gdb.threads/sigthread.exp: Likewise.
14265
a8f077dc
DB
142662015-12-11 Don Breazeal <donb@codesourcery.com>
14267
14268 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
14269 remote.
14270 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
14271 * gdb.base/foll-exec.exp (main): Enable for target remote.
14272 * gdb.base/foll-fork.exp (main): Likewise.
14273 * gdb.base/foll-vfork.exp (main): Likewise.
14274 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
14275 (proc continue_to_exit_bp_loc): Use clean_restart.
14276 * gdb.base/pie-execl.exp (main): Disable for target remote.
14277 * gdb.base/watch-vfork.exp (main): Enable for target remote.
14278 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
14279 * gdb.threads/execl.exp (main): Likewise.
14280 * gdb.threads/fork-child-threads.exp (main): Likewise.
14281 * gdb.threads/fork-plus-threads.exp (main): Disable for target
14282 remote.
14283 * gdb.threads/fork-thread-pending.exp (main): Enable for target
14284 remote.
14285 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
14286 pid.tid style ptids, instead of just tid.
14287 * gdb.threads/thread-execl.exp (main): Enable for target remote.
14288 * gdb.threads/watchpoint-fork.exp (main): Likewise.
14289 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
14290 ptids, instead of just tid.
14291
3b2464a8
AB
142922015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14293
14294 * gdb.base/list.exp (test_list_forward): Add end of file error
14295 test.
14296 (test_repeat_list_command): Add end of file error test.
14297 (test_list_backwards): Add beginning of file error test.
14298
a0def019
AB
142992015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14300
14301 * gdb.base/list.exp (test_list_invalid_args): New function,
14302 defined, and called.
14303
5c000dff
AB
143042015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14305
14306 * gdb.base/list.exp (test_list): Make test names unique.
14307
f1637ebe
YQ
143082015-12-11 Yao Qi <yao.qi@linaro.org>
14309
14310 * gdb.base/coremaker2.c: Remove.
14311
36d6fc0a
PA
143122015-12-10 Pedro Alves <palves@redhat.com>
14313
14314 * gdb.multi/base.exp: Remove stale "spaces" references.
14315
762f7747
PA
143162015-12-10 Pedro Alves <palves@redhat.com>
14317
14318 * gdb.multi/base.exp: Don't use nowarnings.
14319 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
14320 * gdb.multi/hangout.c: Include stdio.h.
14321 * gdb.multi/hello.c: Include stdlib.h.
14322 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
14323 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
14324 * gdb.multi/multi-arch.exp: Don't use nowarnings.
14325
28d2bfb9
AB
143262015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
14327
14328 * gdb.dwarf2/dw2-ranges-base.c: New file.
14329 * gdb.dwarf2/dw2-ranges-base.exp: New file.
14330 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
14331 support additional line table, and debug ranges generation.
14332 (Dwarf::ranges): New function, generate .debug_ranges.
14333 (Dwarf::lines): Support generating simple line table programs.
14334 (Dwarf::assemble): Initialise new namespace variables.
14335
5fc2beac
KB
143362015-12-09 Kevin Buettner <kevinb@redhat.com>
14337
14338 * gdb.base/async.exp (proc test_background): Add case for
14339 asynchronous execution not supported.
14340
1c35a88f
LM
143412015-12-09 Luis Machado <lgustavo@codesourcery.com>
14342
14343 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
14344 format and change test names to make them unique.
14345
b593e3d9
RK
143462015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
14347 Pedro Alves <pedro@redhat.com>
14348
14349 PR gdb/18702
14350 Add checking of floatformats setup on x86_64 hosts.
14351 * gdb.arch/i386-float.S (main): Load bigval and smallval.
14352 (smallval, bigval): New labels/constants.
14353 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
14354 float" after loading bigval and smallval.
14355
d72413e6
PMR
143562015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
14357
14358 * gdb.ada/fun_overload_menu.exp: New testcase.
14359 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
14360
ece66d65
JS
143612015-12-04 Josh Stone <jistone@redhat.com>
14362
14363 * gdb.base/catch-fork-static.exp: New.
14364
41d0efca
YQ
143652015-12-03 Yao Qi <yao.qi@linaro.org>
14366
14367 * gdb.base/sizeof.c: Don't include stdio.h and
14368 ../lib/unbuffer_output.c.
14369 (main): New variable 'size' and 'value'. Remove printf and
14370 gdb_unbuffer_output. Assign return value to size and value.
14371 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
14372 at the beginning.
14373 (check_sizeof): Check the result by printing variable 'size'.
14374 (check_valueof): Check the result by printing variable 'value'.
14375
99fd02d9
YQ
143762015-12-01 Yao Qi <yao.qi@linaro.org>
14377
14378 * gdb.base/disp-step-syscall.exp: Define syscall instruction
14379 for aarch64*-*-linux* target.
14380
f2faf941
PA
143812015-11-30 Pedro Alves <palves@redhat.com>
14382
14383 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
14384
04bf20c5
PA
143852015-11-30 Pedro Alves <palves@redhat.com>
14386
14387 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
14388 Handle non-stop mode vCont replies.
14389
09df4675
PA
143902015-11-30 Pedro Alves <palves@redhat.com>
14391
14392 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
14393 prepare_for_testing. Start gdb with "set non-stop on" appended to
14394 GDBFLAGS. Lax expected stop output.
14395
58b584af
YQ
143962015-11-27 Yao Qi <yao.qi@linaro.org>
14397
14398 * gdb.arch/arm-neon.exp: New.
14399 * gdb.arch/arm-neon.c: New.
14400
dfcb77a8
YQ
144012015-11-27 Yao Qi <yao.qi@linaro.org>
14402
14403 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
14404
88e8ec1b
YQ
144052015-11-27 Yao Qi <yao.qi@linaro.org>
14406
14407 * gdb.cp/annota2.exp: Allow multiple occurrences of the
14408 frames-invalid annotation.
14409
bfde72c2
YQ
144102015-11-27 Yao Qi <yao.qi@linaro.org>
14411
14412 * gdb.cp/annota2.exp: Use ${frames_invalid}.
14413
f6512a69
SM
144142015-11-26 Simon Marchi <simon.marchi@ericsson.com>
14415
14416 * gdb.threads/names.exp: New file.
14417 * gdb.threads/names.c: New file.
14418 * README: Mention gdb,no_thread_names.
14419
46a3515b
MM
144202015-11-26 Markus Metzger <markus.t.metzger@intel.com>
14421
14422 PR 19297
14423 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
14424 support" error.
14425
62147a22
PA
144262015-11-24 Pedro Alves <palves@redhat.com>
14427
14428 PR 17539
14429 * gdb.base/display.exp: Expect displays to be sorted in ascending
14430 order. Use multi_line.
14431 * gdb.base/solib-display.exp: Likewise.
14432
2f341b6e
PA
144332015-11-24 Pedro Alves <palves@redhat.com>
14434
14435 PR 17539
25d49b86
PA
14436 * gdb.base/display.exp: Expect displays to be sorted in ascending
14437 order. Use multi_line.
14438 * gdb.base/solib-display.exp: Likewise.
2f341b6e 14439
7e0aa6aa
PA
144402015-11-24 Pedro Alves <palves@redhat.com>
14441
14442 PR 17539
14443 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
14444 threads in ascending order.
14445 * gdb.base/foll-fork.exp: Likewise.
14446 * gdb.base/foll-vfork.exp: Likewise.
14447 * gdb.base/multi-forks.exp: Likewise.
14448 * gdb.mi/mi-nonstop.exp: Likewise.
14449 * gdb.mi/mi-nsintrall.exp: Likewise.
14450 * gdb.multi/base.exp: Likewise.
14451 * gdb.multi/multi-arch.exp: Likewise.
14452 * gdb.python/py-inferior.exp: Likewise.
14453 * gdb.threads/break-while-running.exp: Likewise.
14454 * gdb.threads/execl.exp: Likewise.
14455 * gdb.threads/gcore-thread.exp: Likewise.
14456 * gdb.threads/info-threads-cur-sal.exp: Likewise.
14457 * gdb.threads/kill.exp: Likewise.
14458 * gdb.threads/linux-dp.exp: Likewise.
14459 * gdb.threads/multiple-step-overs.exp: Likewise.
14460 * gdb.threads/next-bp-other-thread.exp: Likewise.
14461 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
14462 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
14463 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
14464 * gdb.threads/thread-find.exp: Likewise.
14465 * gdb.threads/tls.exp: Likewise.
14466 * lib/mi-support.exp (mi_reverse_list): Delete.
14467 (mi_check_thread_states): No longer reverse list.
14468
2cc57ad8
PA
144692015-11-24 Pedro Alves <palves@redhat.com>
14470
14471 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
14472 use lowercase.
14473
c93e8391
SM
144742015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14475
14476 * gdb.trace/actions.c: Include trace-common.h.
14477 (main): Add a location for a fast tracepoint.
14478 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
14479 the normal tracepoints.
14480 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
14481
045ccf91
SM
144822015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14483
14484 * save-trace.exp: Factor out code to these...
14485 (gdb_save_tracepoints): New.
14486 (gdb_load_tracepoints): New.
14487 (do_save_load_test): New.
14488
5506f9f6
KB
144892015-11-23 Kevin Buettner <kevinb@redhat.com>
14490
14491 * gdb.base/asmlabel.exp: New test.
14492 * gdb.base/asmlabel.c: New test case.
14493
16c3b12f
JB
144942015-11-23 Joel Brobecker <brobecker@adacore.com>
14495
14496 * gdb.base/wrong_frame_bt_full-main.c: New file.
14497 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
14498 * gdb.base/wrong_frame_bt_full.exp: New file.
14499
155bfbd3
JB
145002015-11-23 Joel Brobecker <brobecker@adacore.com>
14501
14502 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
14503
bb097445
JM
145042015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14505
206853a0 14506 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
14507 pstate register when comparing registers values in
14508 sparc64-*-linux-gnu targets to avoid spurious differences.
14509
9c88ed8f
JM
145102015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14511
206853a0 14512 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 14513
96161e25
SL
145142015-11-19 Sandra Loosemore <sandra@codesourcery.com>
14515
14516 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
14517 as type argument to gdb_compile.
14518 * gdb.base/nested-subp2.exp: Likewise.
14519 * gdb.base/nested-subp3.exp: Likewise.
14520
340c2830
DV
145212015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
14522
14523 * lib/dwarf.exp (_note): Fix left shift of negative value.
14524 * gdb.trace/trace-condition.exp: Likewise.
14525
c1862d0f
YQ
145262015-11-13 Yao Qi <yao.qi@linaro.org>
14527
14528 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
14529 comments about d10v.
14530 (test_scalar_returns): Likewise.
14531 * gdb.base/d10v.ld: Remove.
14532 * gdb.base/overlays.exp: Remove the target triplet checking for
14533 d10v-*-*.
14534 * gdb.base/structs.exp (test_struct_returns): Remove the
14535 comments about d10v.
14536 (test_struct_calls): Likewise.
14537
77ae9c19
YQ
145382015-11-13 Yao Qi <yao.qi@linaro.org>
14539
14540 * gdb.base/gnu_vector.exp: Check the return value by "p res".
14541 * gdb.base/gnu_vector.c: Don't include stdio.h.
14542 (main): Don't print res and call add_some_intvecs.
14543
430e004e
MK
145442015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
14545
14546 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
14547 macro.
14548 (func5): Removed.
14549 (func4): Use FAST_TRACEPOINT_LABEL.
14550 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
14551 macro.
14552 (func): Removed.
14553 (thread_function): Use FAST_TRACEPOINT_LABEL.
14554 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
14555 (func): Remove.
14556 (marker): Use FAST_TRACEPOINT_LABEL.
14557 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
14558 (pendfunc1): Remove.
14559 (pendfunc): Use FAST_TRACEPOINT_LABEL.
14560 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
14561 (foo): Remove.
14562 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
14563 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
14564 macro.
14565 (func): Remove.
14566 (marker): Use FAST_TRACEPOINT_LABEL.
14567 * gdb.trace/trace-common.h: New header.
14568 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
14569 macro.
14570 (func): Remove.
14571 (marker): Use FAST_TRACEPOINT_LABEL.
14572 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
14573 (func): Remove.
14574 (thread_function): Use FAST_TRACEPOINT_LABEL.
14575
6e7675a7
MK
145762015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
14577
14578 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
14579 in front.
14580 * gdb.trace/change-loc.exp: Use global pcreg definition.
14581 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
14582 * gdb.trace/entry-values.exp: Use global spreg definition, add $
14583 in front.
14584 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
14585 * gdb.trace/pending.exp: Likewise.
14586 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
14587 * gdb.trace/trace-break.exp: Likewise.
14588 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
14589 in front.
14590 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
14591 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
14592 in front.
14593 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
14594
dddc0e16
JB
145952015-11-09 Joel Brobecker <brobecker@adacore.com>
14596
14597 * gdb.ada/fin_fun_out: New testcase.
14598
c6f0b406
KB
145992015-11-07 Kevin Buettner <kevinb@redhat.com>
14600
14601 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
14602 value associated with DW_AT_byte_size.
14603 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
14604 constants for DW_AT_byte_size, DW_AT_lower_bound, and
14605 DW_AT_upper_bound.
14606
f01dcfd9
KB
146072015-11-07 Kevin Buettner <kevinb@redhat.com>
14608
14609 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
14610 (gdb_target_symbol_prefix_flags): Define in terms of _asm
14611 version.
14612 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
14613 gdb.dwarf2/dw2-canonicalize-type.exp,
14614 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
14615 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
14616 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
14617 provided by gdb_target_symbol_prefix_flags_asm.
14618 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
14619 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
14620 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
14621 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
14622 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
14623 macros where needed). Use this macro for symbols which require
14624 the prefix provided by SYMBOL_PREFIX.
14625
2223449a
KB
146262015-11-05 Kevin Buettner <kevinb@redhat.com>
14627
14628 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
14629 New procs.
14630 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
14631 representing expressions, of more than one list element.
14632 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
14633 to prepend linker symbol prefix to f.
14634 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
14635 table_1 and table_2.
14636 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
14637 Likewise, for f and g.
14638 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
14639 for ptr.
14640 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
14641 for main.
14642 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
14643 table_1_ptr and table_2_ptr.
14644
6f2f1a3a
JK
146452015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14646 Joel Brobecker <brobecker@adacore.com>
14647
14648 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
14649
566c56c9
MK
146502015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
14651
14652 * gdb.reverse/s390-mvcle.c: New test.
14653 * gdb.reverse/s390-mvcle.exp: New file.
14654 * lib/gdb.exp: Enable reverse tests on s390*-linux.
14655
d5f0636b
MK
146562015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14657
14658 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
14659
7ad8b86c
MK
146602015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14661
14662 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
14663 reaching marker2.
14664 * gdb.reverse/getresuid-reverse.exp: Likewise.
14665 * gdb.reverse/pipe-reverse.exp: Likewise.
14666 * gdb.reverse/readv-reverse.exp: Likewise.
14667 * gdb.reverse/recvmsg-reverse.exp: Likewise.
14668 * gdb.reverse/time-reverse.exp: Likewise.
14669 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
14670
4081c0f1
YQ
146712015-10-30 Yao Qi <yao.qi@linaro.org>
14672
14673 * gdb.threads/wp-replication.c (watch_count_done): Remove.
14674 (empty_cycle): Remove.
14675 (main): Don't call empty_cycle. Don't use watch_count_done.
14676 * gdb.threads/wp-replication.exp: Don't set breakpoint on
14677 empty_cycle. Rewrite the code counting HW watchpoints.
14678
452b4ba5
MK
146792015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
14680
14681 * gdb.reverse/fstatat-reverse.c: New test.
14682 * gdb.reverse/fstatat-reverse.exp: New file.
14683 * gdb.reverse/getresuid-reverse.c: New test.
14684 * gdb.reverse/getresuid-reverse.exp: New file.
14685 * gdb.reverse/pipe-reverse.c: New test.
14686 * gdb.reverse/pipe-reverse.exp: New file.
14687 * gdb.reverse/readv-reverse.c: New test.
14688 * gdb.reverse/readv-reverse.exp: New file.
14689 * gdb.reverse/recvmsg-reverse.c: New test.
14690 * gdb.reverse/recvmsg-reverse.exp: New file.
14691 * gdb.reverse/time-reverse.c: New test.
14692 * gdb.reverse/time-reverse.exp: New file.
14693 * gdb.reverse/waitpid-reverse.c: New test.
14694 * gdb.reverse/waitpid-reverse.exp: New file.
14695
5e2e7507
JK
146962015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14697
14698 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
14699
0fde2c53
DE
147002015-10-26 Doug Evans <dje@google.com>
14701
14702 PR symtab/17391
14703 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
14704 * gdb.dwarf2/bad-regnum.c: New file.
14705 * gdb.dwarf2/bad-regnum.exp: New file.
14706
1a70ae97
DE
147072015-10-26 Doug Evans <dje@google.com>
14708
14709 PR python/18938
14710 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
14711 file.
14712
27dc26ab
JK
147132015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14714
14715 * gdb.compile/compile.exp (compile code globalvar): Update expectation
14716 for a change by "Mention language in compile error message".
14717
bed91f4d
SM
147182015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
14719
14720 PR python/18073
14721 * gdb.python/py-type.c (C::a_method): New.
14722 (C::a_const_method): New.
14723 (C::a_static_method): New.
14724 (a_function): New.
14725 * gdb.python/py-type.exp (test_fields): Test getting fields
14726 from function and method.
14727
3f2f83dd
KB
147282015-10-21 Keven Boell <keven.boell@intel.com>
14729
14730 * gdb.fortran/vla-alloc-assoc.exp: New file.
14731 * gdb.fortran/vla-datatypes.exp: New file.
14732 * gdb.fortran/vla-datatypes.f90: New file.
14733 * gdb.fortran/vla-history.exp: New file.
14734 * gdb.fortran/vla-ptype-sub.exp: New file.
14735 * gdb.fortran/vla-ptype.exp: New file.
14736 * gdb.fortran/vla-sizeof.exp: New file.
14737 * gdb.fortran/vla-sub.f90: New file.
14738 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
14739 * gdb.fortran/vla-value-sub-finish.exp: New file.
14740 * gdb.fortran/vla-value-sub.exp: New file.
14741 * gdb.fortran/vla-value.exp: New file.
14742 * gdb.fortran/vla-ptr-info.exp: New file.
14743 * gdb.mi/mi-vla-fortran.exp: New file.
14744 * gdb.mi/vla.f90: New file.
14745
27145d50
SL
147462015-10-21 Sandra Loosemore <sandra@codesourcery.com>
14747
14748 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
14749 of hardwired timeout value.
14750
5f3ff4f8
JK
147512015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14752 Pedro Alves <palves@redhat.com>
14753
14754 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
14755 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
14756
bfd09d20
JS
147572015-10-19 Josh Stone <jistone@redhat.com>
14758
14759 * gdb.base/catch-syscall.c: Include <sched.h>.
14760 (unknown_syscall): New variable.
14761 (main): Trigger a vfork and an unknown syscall.
14762 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
14763 (unknown_syscall_number): Likewise.
14764 (check_call_to_syscall): Accept an optional syscall pattern.
14765 (check_return_from_syscall): Likewise.
14766 (check_continue): Likewise.
14767 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
14768 (test_catch_syscall_skipping_return): New test toggling off 'catch
14769 syscall' to step over the syscall return, then toggling back on.
14770 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
14771 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
14772 (do_syscall_tests): Call test_catch_syscall_without_args and
14773 test_catch_syscall_mid_vfork.
14774 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
14775 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
14776
b32b93c6
AS
147772015-10-19 Andrew Stubbs <ams@codesourcery.com>
14778
14779 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
14780 print g_vE): Add new pass patterns.
14781 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
14782 print various symbol names for vptr fields.
14783
9d622bda
AB
147842015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
14785
14786 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
14787 results.
14788
0fd8ac1c
YQ
147892015-10-12 Yao Qi <yao.qi@linaro.org>
14790
14791 * gdb.arch/disp-step-insn-reloc.exp: New test case.
14792
34240514
YQ
147932015-10-12 Yao Qi <yao.qi@linaro.org>
14794
14795 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
14796 is aarch64*-*-linux*.
14797
8240f442
YQ
147982015-10-12 Yao Qi <yao.qi@linaro.org>
14799
14800 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
14801 (can_relocate_bcond_true): ... it.
14802 (can_relocate_bcond_false): New function.
14803 (foo): Likewise.
14804 (can_relocate_bl): Likewise.
14805 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
14806 can_relocate_bl.
14807
2520f728
PMR
148082015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
14809
14810 * gdb.base/nested-addr.c: New file.
14811 * gdb.base/nested-addr.exp: New testcase.
14812
abcef95a
MM
148132015-10-09 Markus Metzger <markus.t.metzger@intel.com>
14814
14815 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
14816 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
14817 its output. Ignore the output of "record goto begin" and instead
14818 check that GDB is replaying.
14819
145e3ddb
PA
148202015-10-09 Pedro Alves <palves@redhat.com>
14821
14822 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
14823 (top level): Use it in the run with no args test.
14824
d5d8c4e1
IB
148252015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
14826
14827 * gdb.dlang/properties.exp: New file.
14828
06e635ef
SL
148292015-10-02 Sandra Loosemore <sandra@codesourcery.com>
14830
14831 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
14832 whether or not address 0x1000 is mapped on the target.
14833
e019fd1d
SM
148342015-09-30 Simon Marchi <simon.marchi@ericsson.com>
14835
14836 * gdb.python/py-type.exp: Do not run tests if binaries fail to
14837 build.
14838
77ba2a67
MM
148392015-09-30 Markus Metzger <markus.t.metzger@intel.com>
14840
14841 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
14842 instruction-history test.
14843
c60eb31f
DE
148442015-09-28 Doug Evans <dje@google.com>
14845
14846 * gdb.base/gcore.c (array_func): Add reference to static_array.
14847
9a3c8263
SM
148482015-09-25 Simon Marchi <simon.marchi@ericsson.com>
14849
14850 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
14851 source line.
14852
9720e656
SL
148532015-09-24 Sandra Loosemore <sandra@codesourcery.com>
14854
14855 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
14856 short or char as base type.
14857
938d3bf2
SL
148582015-09-23 Sandra Loosemore <sandra@codesourcery.com>
14859
14860 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
14861 to allow any size enum.
14862
e6c2c623
PMR
148632015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
14864
14865 * gdb.ada/array_ptr_renaming.exp: New testcase.
14866 * gdb.ada/array_ptr_renaming/foo.adb: New file.
14867 * gdb.ada/array_ptr_renaming/pack.ads: New file.
14868
06da0f77
PL
148692015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14870
14871 * gdb.trace/ftrace-lock.c: New file.
14872 * gdb.trace/ftrace-lock.exp: New file.
14873
4f51c22a
PL
148742015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14875
14876 * gdb.arch/insn-reloc.c: New file.
14877 * gdb.arch/ftrace-insn-reloc.exp: New file.
14878
7041adf4
PL
148792015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14880
14881 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
14882 instruction.
14883 * gdb.trace/pendshr1.c (pendfunc): Likewise.
14884 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
14885 * gdb.trace/range-stepping.c: Likewise.
14886 * gdb.trace/trace-break.c: Likewise.
14887 * gdb.trace/trace-mt.c (thread_function): Likewise.
14888 * gdb.trace/ftrace.c (marker): Likewise.
14889 * gdb.trace/trace-condition.c (marker): Likewise.
14890 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
14891 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
14892 is_aarch64_target.
14893
015d2e7e
DE
148942015-09-18 Doug Evans <xdje42@gmail.com>
14895
14896 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
14897 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
14898
26b188a2
SL
148992015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14900
14901 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
14902 the breakpoint.
14903
79dc332b
SL
149042015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14905
14906 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
14907 the pending breakpoint. Remove timeout override for "Run till
14908 MI pending breakpoint on pendfunc3 on thread 2" test.
14909
f57929f2
SL
149102015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14911
14912 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
14913 filename pattern.
14914
3f469b17
SL
149152015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14916
14917 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
14918 in breakpoint filename pattern.
14919
515b89b3
SL
149202015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14921
7800dbe4
SL
14922 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
14923
149242015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14925
515b89b3
SL
14926 * gdb.linespec/explicit.exp: Check for readline support for
14927 tab-completion tests. Fix obvious typo.
14928
d2939ba2
MM
149292015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14930
14931 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
14932 and replay.
14933
cbb55fa7
MM
149342015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14935
14936 * gdb.btrace/non-stop.c: New.
14937 * gdb.btrace/non-stop.exp: New.
14938
43691ca1
PL
149392015-09-17 Pierre Langlois <pierre.langlois@arm.com>
14940 Yao Qi <yao.qi@linaro.org>
14941
14942 * gdb.trace/trace-condition.c: New file.
14943 * gdb.trace/trace-condition.exp: New file.
14944
d78908cf
WW
149452015-09-16 Wei-cheng Wang <cole945@gmail.com>
14946
14947 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
14948 for testing bytecode compilation.
14949
1ed415e2
PA
149502015-09-16 Pedro Alves <palves@redhat.com>
14951 Sandra Loosemore <sandra@codesourcery.com>
14952
14953 * gdb.threads/non-stop-fair-events.c (timeout): New global.
14954 (SECONDS): Redefine.
14955 (main): Call pthread_kill and alarm early.
14956 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
14957 support.
14958 (test): If the target can't hardware step and doesn't support
14959 displaced stepping, increase the timeout.
14960
d136eff5
PA
149612015-09-16 Pedro Alves <palves@redhat.com>
14962
14963 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
14964 (enable_debug): New procedures.
14965 (test): Use them. Bail out if waiting for threads fails.
14966 (top level): Bail out if a test fails.
14967
991f019c
YQ
149682015-09-16 Yao Qi <yao.qi@linaro.org>
14969
14970 * gdb.asm/asm-source.exp: Set asm-arch for
14971 aarch64*-*-* target.
14972 * gdb.asm/aarch64.inc: New file.
14973
bfca584f
PMR
149742015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
14975
14976 * gdb.ada/array_of_variable_length.exp: New testcase.
14977 * gdb.ada/array_of_variable_length/foo.adb: New file.
14978 * gdb.ada/array_of_variable_length/pck.adb: New file.
14979 * gdb.ada/array_of_variable_length/pck.ads: New file.
14980
b326e587
DE
149812015-09-15 Doug Evans <dje@google.com>
14982
14983 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
14984 of function static local variable.
14985
5382cfab
PW
149862015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14987
14988 * gdb.threads/tls-so_extern.exp: New test file.
14989 * gdb.threads/tls-so_extern.c: New test file.
14990 * gdb.threads/tls-so_extern_main.c: New test file.
14991
141c5cc4
JK
149922015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14993
14994 * gdb.opt/solib-intra-step-lib.c: New file.
14995 * gdb.opt/solib-intra-step-main.c: New file.
14996 * gdb.opt/solib-intra-step.exp: New file.
14997
d15dcecd
PA
149982015-09-15 Pedro Alves <palves@redhat.com>
14999
15000 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
15001 gdb_continue_to_breakpoint instead of gdb_test_multiple.
15002
4c2f2a79
PA
150032015-09-14 Pedro Alves <palves@redhat.com>
15004
15005 * gdb.base/hook-stop-continue.c: Delete.
15006 * gdb.base/hook-stop-continue.exp: Delete.
15007 * gdb.base/hook-stop-frame.c: Delete.
15008 * gdb.base/hook-stop-frame.exp: Delete.
15009 * gdb.base/hook-stop.c: New file.
15010 * gdb.base/hook-stop.exp: New file.
15011
919e6dbe
PMR
150122015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
15013
15014 * gdb.ada/access_to_packed_array.exp: New testcase.
15015 * gdb.ada/access_to_packed_array/foo.adb: New file.
15016 * gdb.ada/access_to_packed_array/pack.adb: New file.
15017 * gdb.ada/access_to_packed_array/pack.ads: New file.
15018
157280a4
MM
150192015-09-14 Markus Metzger <markus.t.metzger@intel.com>
15020
15021 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
15022 buffer size test.
15023
2fd33e94
DB
150242015-09-11 Don Breazeal <donb@codesourcery.com>
15025
15026 * gdb.base/foll-exec.c: Add copyright header. Fix
15027 formatting issues.
15028 * gdb.base/foll-exec.exp (zap_session): Delete proc.
15029 (do_exec_tests): Use clean_restart in place of zap_session,
15030 and for test initialization. Fix formatting issues. Use
15031 fail in place of perror.
15032 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
15033 an expect statement to match an expression with output from
15034 the program under debug.
15035 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
15036 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
15037 * gdb.threads/non-ldr-exc-2.exp: Likewise.
15038 * gdb.threads/non-ldr-exc-3.exp: Likewise.
15039 * gdb.threads/non-ldr-exc-4.exp: Likewise.
15040
e70b6e8e
DE
150412015-09-09 Doug Evans <dje@google.com>
15042
15043 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
15044
7a551a51
DE
150452015-09-09 Doug Evans <dje@google.com>
15046
15047 * gdb.base/pie-execl.exp: Fix result test of build_executable.
15048
4c666f84
DE
150492015-09-09 Doug Evans <dje@google.com>
15050
15051 * gdb.base/savedregs.exp: Fix typo.
15052
243a9253
PA
150532015-09-09 Pedro Alves <palves@redhat.com>
15054
15055 * gdb.mi/mi-cli.exp: Add CLI finish tests.
15056
c0fa8fbd
SL
150572015-09-08 Sandra Loosemore <sandra@codesourcery.com>
15058
15059 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
15060 command actually switches threads. Give up on remaining
15061 tests if target fails to stop at breakpoint.
15062
cd7c1778
PMR
150632015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
15064
15065 * gdb.ada/funcall_char.exp: New testcase.
15066 * gdb.ada/funcall_char/foo.adb: New file.
15067
dc5c8746
PMR
150682015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
15069
15070 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
15071 expected outputs. Add two testcases for completing ambiguous
15072 functions.
15073 * gdb.ada/complete/aux_pck.adb: New file.
15074 * gdb.ada/complete/aux_pck.ads: New file.
15075 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
15076 Ambiguous_Func functions.
15077 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
15078 * gdb.ada/complete/pck.adb: Likewise.
15079
4e83a1e7
UW
150802015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
15081
15082 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
15083 failures to run the test program under GDB.
15084
8ce74153
LM
150852015-08-26 Luis Machado <lgustavo@codesourcery.com>
15086
15087 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
15088 to C.
15089
e9756d52
PP
150902015-08-26 Patrick Palka <patrick@parcs.ath.cx>
15091
15092 * gdb.base/run-after-attach.exp: New test file.
15093 * gdb.base/run-after-attach.c: New test file.
15094
8d37573b
DB
150952015-08-26 Don Breazeal <donb@codesourcery.com>
15096
15097 * gdb.base/foll-exec-2.c: New test program.
15098 * gdb.base/foll-exec-2.exp: New test.
15099
63e43d3a
PMR
151002015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
15101
15102 * gdb.base/nested-subp1.exp: New file.
15103 * gdb.base/nested-subp1.c: New file.
15104 * gdb.base/nested-subp2.exp: New file.
15105 * gdb.base/nested-subp2.c: New file.
15106 * gdb.base/nested-subp3.exp: New file.
15107 * gdb.base/nested-subp3.c: New file.
15108
3d40fbb5
PA
151092015-08-24 Pedro Alves <palves@redhat.com>
15110
15111 * gdb.server/connect-without-multi-process.c: New file.
15112 * gdb.server/connect-without-multi-process.exp: New file.
15113
4422ac93
LM
151142015-08-24 Luis Machado <lgustavo@codesourcery.com>
15115
15116 * gdb.opt/inline-markers.c: Make z int.
15117
91dddb86
LM
151182015-08-24 Luis Machado <lgustavo@codesourcery.com>
15119
15120 * gdb.opt/inline-markers.c: Make z volatile.
15121
a48847ee
LM
151222015-08-24 Luis Machado <lgustavo@codesourcery.com>
15123
15124 * gdb.opt/inline-bt.c: New volatile global z.
15125 * gdb.opt/inline-cmds.c: Likewise.
15126 * gdb.opt/inline-locals.c: Likewise.
15127 * gdb.opt/inline-markers.c: New extern global z.
15128 (marker): Use z.
15129 (inline_fn): Likewise.
15130
0ebbc52b
PA
151312015-08-24 Pedro Alves <palves@redhat.com>
15132
15133 * config/m32r-stub.exp: Remove file.
15134 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
15135 * gdb.base/call-rt-st.exp: Likewise.
15136 * gdb.base/call-strs.exp: Likewise.
15137 * gdb.base/default.exp: Remove references to h8300-*-hms and
15138 *-*-udi*.
15139 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
15140
77c365df
AA
151412015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15142
15143 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
15144 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
15145 and "return" use KFAIL when GDB can not read/write the vector
15146 return value.
15147
4313b8c0
GB
151482015-08-21 Gary Benson <gbenson@redhat.com>
15149
15150 * gdb.trace/pending.exp: Cope with remote transfer warnings.
15151
0e433b32
PA
151522015-08-20 Pedro Alves <palves@redhat.com>
15153
15154 * gdb.server/solib-list.exp: No longer expect an interior stop in
15155 non-stop mode.
15156
221e1a37
PA
151572015-08-20 Pedro Alves <palves@redhat.com>
15158
15159 * gdb.server/connect-stopped-target.c: New file.
15160 * gdb.server/connect-stopped-target.exp: New file.
15161
40e3ad0e
PA
151622015-08-20 Pedro Alves <palves@redhat.com>
15163
15164 * gdb.dwarf2/comp-unit-lang.exp: New file.
15165 * gdb.dwarf2/comp-unit-lang.c: New file.
15166
af39b327
PMR
151672015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
15168
15169 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
15170 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
15171
7d45c7c3 151722015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 15173
7d45c7c3
KB
15174 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
15175 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
15176
4d6cceb4
DE
151772015-08-18 Doug Evans <dje@google.com>
15178 Adrian Sendroiu <adrian.sendroiu@freescale.com>
15179
15180 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
15181 skip_python_tests. New arg prompt_regexp.
15182 (skip_python_tests): New function.
15183 * lib/mi-support.exp (mi_skip_python_tests): New function.
15184 * gdb.python/py-mi-objfile-gdb.py: New file.
15185 * gdb.python/py-mi-objfile.c: New file.
15186 * gdb.python/py-mi-objfile.exp: New file.
15187
ad89c2aa
KS
151882015-08-17 Keith Seitz <keiths@redhat.com>
15189
15190 * gdb.linespec/explicit.exp: Move strace test from here ...
15191 * gdb.trace/strace.exp: ... to here.
15192
e3ae3c43
PP
151932015-08-15 Patrick Palka <patrick@parcs.ath.cx>
15194
15195 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
15196 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
15197
604b2636
DE
151982015-08-14 Doug Evans <xdje42@gmail.com>
15199
15200 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
15201 inferior before selecting a new file.
15202
6ff0ba5f
DE
152032015-08-14 Doug Evans <xdje42@gmail.com>
15204
15205 * gdb.mi/mi-disassemble.exp: Update.
15206 * gdb.base/disasm-optim.S: New file.
15207 * gdb.base/disasm-optim.c: New file.
15208 * gdb.base/disasm-optim.h: New file.
15209 * gdb.base/disasm-optim.exp: New file.
15210
9ca98f92
KS
152112015-08-14 Keith Seitz <keiths@redhat.com>
15212
15213 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
15214 "evaluated-by".
15215
52bbc560
JB
152162015-08-13 Joel Brobecker <brobecker@adacore.com>
15217
15218 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
15219
5d8c3ed3
PMR
152202015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
15221
15222 * gdb.ada/fun_renaming.exp: New testcase.
15223 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
15224 * gdb.ada/fun_renaming/pack.adb: New file.
15225 * gdb.ada/fun_renaming/pack.ads: New file.
15226
ea8812bc
KS
152272015-08-12 Keith Seitz <keiths@redhat.com>
15228
15229 * gdb.base/dso2dso.exp: Pass basename of source file in call to
15230 gdb_get_line_number.
15231
4dafcdeb
JB
152322015-08-12 Joel Brobecker <brobecker@adacore.com>
15233
15234 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
15235 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
15236 gdb.base/dso2dso.exp: New files.
15237
5ba32597
SDJ
152382015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
15239 Pedro Alves <palves@redhat.com>
15240 Keith Seitz <keiths@redhat.com>
15241
15242 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
15243 GDBFLAGS.
15244
b6dafabf
PP
152452015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15246
15247 * gdb.base/gdbhistsize-history.exp
15248 (test_histsize_history_setting): Use save_vars.
15249 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15250 Use save_vars.
15251 (test_no_truncation_of_unlimited_history_file): Use save_vars.
15252 * gdb.base/readline.exp: Use save_vars.
15253
abe8e607
PP
152542015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15255
15256 * lib/gdb.exp (save_vars): New proc.
15257
629500fa
KS
152582015-08-11 Keith Seitz <keiths@redhat.com>
15259
15260 * gdb.base/help.exp: Update help_breakpoint_text.
15261
eb8c4e2e
KS
152622015-08-11 Keith Seitz <keiths@redhat.com>
15263
15264 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
15265 (at toplevel): Call test_explicit_breakpoints.
15266 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
15267 breakpoints.
15268 * lib/mi-support.exp (mi_make_breakpoint): Add support for
15269 breakpoint conditions, "-cond".
15270
87f0e720
KS
152712015-08-11 Keith Seitz <keiths@redhat.com>
15272
15273 * gdb.linespec/3explicit.c: New file.
15274 * gdb.linespec/cpexplicit.cc: New file.
15275 * gdb.linespec/cpexplicit.exp: New file.
15276 * gdb.linespec/explicit.c: New file.
15277 * gdb.linespec/explicit.exp: New file.
15278 * gdb.linespec/explicit2.c: New file.
15279 * gdb.linespec/ls-errs.exp: Add explicit location tests.
15280 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
15281 before using in the matching pattern.
15282 Clarify that `prefix' is a regular expression.
15283
f00aae0f
KS
152842015-08-11 Keith Seitz <keiths@redhat.com>
15285
15286 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
15287 test.
15288 Add tests for missing ",FMT" and ",".
15289
e27852be
DE
152902015-08-10 Doug Evans <dje@google.com>
15291 Keith Seitz <keiths@redhat.com>
15292
15293 PR gdb/17960
15294 * gdb.base/completion.exp: Add location completer tests.
15295
7f03bd92
PA
152962015-08-07 Pedro Alves <palves@redhat.com>
15297
15298 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
15299 tests here.
15300 (top level): Run do_test with and without displaced stepping.
15301
3fc8eb30
PA
153022015-08-07 Pedro Alves <palves@redhat.com>
15303
15304 * gdb.base/valgrind-disp-step.c: New file.
15305 * gdb.base/valgrind-disp-step.exp: New file.
15306
d4569d7b
PA
153072015-08-07 Pedro Alves <palves@redhat.com>
15308
15309 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
15310 Delete function.
15311 (main): Add alarm. Run an infinite loop instead of calling
15312 wait_threads.
15313 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
15314 comment.
15315 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
15316 Delete function.
15317 (main): Add alarm. Run an infinite loop instead of calling
15318 wait_threads.
15319 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
15320 comment.
15321
e1316e60
PA
153222015-08-07 Pedro Alves <palves@redhat.com>
15323
15324 * gdb.base/checkpoint-ns.exp: New file.
15325 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
15326 standard_testfile.
15327
da8c46d2
MM
153282015-08-07 Markus Metzger <markus.t.metzger@intel.com>
15329
15330 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
15331 * gdb.btrace/instruction_history.exp: Update.
15332 * gdb.btrace/tsx.exp: New.
15333 * gdb.btrace/tsx.c: New.
15334
de1c2c52
PA
153352015-08-06 Pedro Alves <palves@redhat.com>
15336
15337 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
15338 increase timeout.
15339 * gdb.reverse/until-precsave.exp: Bump timeouts.
15340
782e0bf4
PA
153412015-08-06 Pedro Alves <palves@redhat.com>
15342
15343 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
15344
83e97ed0
PA
153452015-08-06 Pedro Alves <palves@redhat.com>
15346
15347 PR gdb/18749
15348 * gdb.threads/process-dies-while-handling-bp.c: New file.
15349 * gdb.threads/process-dies-while-handling-bp.exp: New file.
15350
863d01bd
PA
153512015-08-06 Pedro Alves <palves@redhat.com>
15352
15353 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
15354 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
15355
0a39bb32
PA
153562015-08-05 Pedro Alves <palves@redhat.com>
15357
15358 * gdb.threads/next-while-other-thread-longjmps.c: New file.
15359 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
15360
ee2d2b10
SL
153612015-08-03 Sandra Loosemore <sandra@codesourcery.com>
15362
15363 * gdb.base/bp-permanent.exp: Report test as unsupported if
15364 the target cannot stop at the permanent breakpoint.
15365
4e1bdb00
DE
153662015-08-03 Doug Evans <dje@google.com>
15367
15368 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
15369 10000.
15370
3d338901
DE
153712015-08-03 Doug Evans <dje@google.com>
15372
15373 * Makefile.in (workers/%.worker, build-perf): New rule.
15374 (GDB_PERFTEST_MODE): New variable.
15375 (check-perf): Use it.
15376 (clean): Clean up gdb.perf parallel build subdirs.
15377 * lib/build-piece.exp: New file.
15378 * lib/gdb.exp (make_gdb_parallel_path): New function
15379 (standard_output_file, standard_temp_file): Call it.
15380 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15381 of $GDB_PARALLEL.
15382 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
15383
af061d3e
DE
153842015-08-03 Doug Evans <dje@google.com>
15385
8e1afc81 15386 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
15387 (LOG_FILE_NAME): New global.
15388 (TextReporter.__init__): Initialize self.txt_sum.
15389 (TextReporter.report): Add support for multiple data-points.
15390 Move report to perftest.sum, put raw data in perftest.log.
15391 (TextReporter.start): Open sum and log files.
15392 (TextReporter.end): Close sum and log files.
8e1afc81
DE
15393 * gdb.perf/lib/perftest/testresult.py
15394 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 15395
2c8c5d37
PA
153962015-07-31 Pedro Alves <palves@redhat.com>
15397
15398 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
15399 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15400 kill_wait_spawned_process instead of explicit "kill -9".
15401 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
15402 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15403 kill_wait_spawned_process.
15404 * gdb.base/attach-twice.exp: Likewise.
15405 * gdb.base/attach.exp: Likewise.
15406 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
15407 gdb_test_multiple.
15408 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
15409 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15410 kill_wait_spawned_process.
15411 * gdb.base/valgrind-infcall.exp: Likewise.
15412 * gdb.multi/multi-attach.exp: Likewise.
15413 * gdb.python/py-prompt.exp: Likewise.
15414 * gdb.python/py-sync-interp.exp: Likewise.
15415 * gdb.server/ext-attach.exp: Likewise.
15416 * gdb.threads/attach-into-signal.exp (corefunc): Use
15417 spawn_wait_for_attach, spawn_id_get_pid and
15418 kill_wait_spawned_process.
15419 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
15420 spawn_wait_for_attach returning a spawn id instead of a pid. Use
15421 spawn_id_get_pid and kill_wait_spawned_process.
15422 * gdb.threads/attach-stopped.exp (corefunc): Use
15423 spawn_wait_for_attach, spawn_id_get_pid and
15424 kill_wait_spawned_process.
15425 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
15426 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15427 kill_wait_spawned_process instead of explicit "kill -9".
15428 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
15429 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
15430 (spawn_wait_for_attach): Use spawn instead of exec to spawn
15431 processes. Don't map cygwin/windows pids here. Now returns a
15432 spawn id list.
15433
032a0fca
SL
154342015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15435
15436 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
15437 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
15438 correct patch.
15439
61a934ca
SL
154402015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15441
15442 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
15443
4bc4d428
SL
154442015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15445
15446 Reapply:
15447 2014-05-21 Mark Wielaard <mjw@redhat.com>
15448
15449 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15450
998d452a
PA
154512015-07-30 Pedro Alves <palves@redhat.com>
15452
15453 * linux-low.c (handle_extended_wait): Set the child's last
15454 reported status to TARGET_WAITKIND_STOPPED.
15455
69dde7dc
PA
154562015-07-30 Pedro Alves <palves@redhat.com>
15457
15458 PR threads/18600
15459 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
15460 only shows inferior 1.
15461
4dd63d48
PA
154622015-07-30 Simon Marchi <simon.marchi@ericsson.com>
15463 Pedro Alves <palves@redhat.com>
15464
15465 PR threads/18600
15466 * gdb.threads/fork-plus-threads.c: New file.
15467 * gdb.threads/fork-plus-threads.exp: New file.
15468
d618e4c5
PP
154692015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15470
15471 * gdb.base/batch-preserve-term-settings.exp
15472 (test_terminal_settings_preserved_after_cli_exit): Use
15473 send_quit_command.
15474
1eef6428
PA
154752015-07-29 Pedro Alves <palves@redhat.com>
15476 Don Breazeal <donb@codesourcery.com>
15477
15478 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
15479 output from both inferior_spawn_id and gdb_spawn_id.
15480
7da5b897
SDJ
154812015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15482
15483 * gdb.threads/attach-into-signal.exp (corefunc): Use
15484 with_test_prefix on nested loops, uniquefying the test messages.
15485
dac804df
SDJ
154862015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15487
15488 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
15489 commit.
15490
06265e53
PP
154912015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15492
15493 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
15494 New proc.
15495 (test_terminal_settings_preserved_after_sigterm): New test.
15496
18206ca3
PP
154972015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15498
15499 * gdb.base/batch-preserve-term-settings.exp
15500 (test_terminal_settings_preserved_after_cli_exit): New test.
15501
90074d11
PP
155022015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15503
15504 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
15505 manipulation of saved_gdbflags.
15506 (test_terminal_settings_preserved): Remove global declaration of
15507 the unused variable pagination_prompt. Remove manipulation of
15508 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
15509 GDBFLAGS.
15510
eb1a7902
PA
155112015-07-29 Pedro Alves <palves@redhat.com>
15512
15513 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
15514
8b75dd3b
PA
155152015-07-29 Pedro Alves <palves@redhat.com>
15516
15517 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
15518 at the top.
15519
dedad4e3
PA
155202015-07-29 Pedro Alves <palves@redhat.com>
15521
15522 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
15523 (main): Call gdb_unbuffer_output.
15524 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
15525 (main): Call gdb_unbuffer_output.
15526 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
15527 (main): Call gdb_unbuffer_output.
15528 * gdb.base/call-strs.exp: Adjust to step over the
15529 gdb_unbuffer_output call.
15530 * gdb.base/catch-gdb-caused-signals.c: Include
15531 "../lib/unbuffer_output.c".
15532 (main): Call gdb_unbuffer_output.
15533 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
15534 (main): Call gdb_unbuffer_output.
15535 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
15536 (main): Call gdb_unbuffer_output.
15537 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
15538 (main): Call gdb_unbuffer_output.
15539 * gdb.base/shlib-call.exp: Adjust to step over the
15540 gdb_unbuffer_output call.
15541 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
15542 (main): Call gdb_unbuffer_output.
15543 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
15544 (main): Call gdb_unbuffer_output.
15545 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
15546 (main): Rename to ...
15547 (test): ... this.
15548 (main): Reimplement.
15549 * gdb.base/varargs.exp: Run to test instead of to main.
15550 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15551 (main): Call gdb_unbuffer_output.
15552
58789a91
PA
155532015-07-29 Pedro Alves <palves@redhat.com>
15554
15555 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
15556 factore out from mi_continue_dprintf. For call-style dprintfs,
15557 expect dprintf output out of $inferior_spawn_id.
15558 (mi_continue_dprintf): Use mi_expect_dprintf.
15559 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15560 (main): Call gdb_unbuffer_output.
15561
e8376742
PA
155622015-07-29 Pedro Alves <palves@redhat.com>
15563
15564 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
15565 (default_mi_gdb_start): Set inferior_spawn_id instead of
15566 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
15567 gdb_spawn_id.
15568 (mi_gdb_test): Always expect inferior output from both
15569 $inferior_spawn_id and $gdb_spawn_id.
15570
08280010
PA
155712015-07-29 Pedro Alves <palves@redhat.com>
15572
15573 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
15574 send_inferior and $inferior_spawn_id.
15575
4d30e432
PA
155762015-07-29 Pedro Alves <palves@redhat.com>
15577
15578 * gdb.gdb/complaints.exp (test_initial_complaints)
15579 (test_serial_complaints, test_short_complaints): Use
15580 gdb_test_stdio.
15581 (test_empty_complaint): Handle $inferior_spawn_id !=
15582 $gdb_spawn_id.
15583
0d30a335
PA
155842015-07-29 Pedro Alves <palves@redhat.com>
15585
15586 * gdb.base/varargs.exp: Use gdb_test_stdio.
15587
39413b29
PA
155882015-07-29 Pedro Alves <palves@redhat.com>
15589
15590 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
15591
7cb000a9
PA
155922015-07-29 Pedro Alves <palves@redhat.com>
15593
15594 * gdb.base/ending-run.exp: Use gdb_test_stdio.
15595
d7b8ac82
PA
155962015-07-29 Pedro Alves <palves@redhat.com>
15597
15598 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
15599 parameter into two new parameters, "inf_result" and "gdb_result".
15600 Expect inferior output and gdb output from $inferior_spawn_id and
15601 $gdb_spawn_id, respectively. Adjust all callers.
15602
789c3a0c
PA
156032015-07-29 Pedro Alves <palves@redhat.com>
15604
15605 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
15606 of gdb_test_sequence.
15607
77e760c3
PA
156082015-07-29 Pedro Alves <palves@redhat.com>
15609
15610 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
15611 (saw_spurious_output): Expect inferior output from
15612 $inferior_spawn_id. Use gdb_test_stdio.
15613
8396d2cd
PA
156142015-07-29 Pedro Alves <palves@redhat.com>
15615
15616 * gdb.base/dprintf.exp: Use standard_testfile. Change
15617 prepare_for_testing call.
15618 (srcfile): Don't set.
15619 (restart): New procedure.
15620 (test_dprintf): New procecure, use to continue over dprintfs.
15621 (test_call, test_agent): New procedures, tests moved here.
15622 Restart gdb and recreate dprintfs. Adjust expected output.
15623
2051d61f
PA
156242015-07-29 Pedro Alves <palves@redhat.com>
15625
15626 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
15627
452397af
PA
156282015-07-29 Pedro Alves <palves@redhat.com>
15629
15630 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
15631
8aed9555
PA
156322015-07-29 Pedro Alves <palves@redhat.com>
15633
15634 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
15635 gdb_test_stdio.
15636
188a61b4
PA
156372015-07-29 Pedro Alves <palves@redhat.com>
15638
15639 * lib/gdb.exp (gdb_test_stdio): New procedure.
15640
12264a45
PA
156412015-07-29 Pedro Alves <palves@redhat.com>
15642
15643 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
15644
23ffc893
PA
156452015-07-29 Pedro Alves <palves@redhat.com>
15646
15647 * gdb.base/call-signal-resume.exp: Remove check for
15648 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
15649 * gdb.base/unwindonsignal.exp: Likewise.
15650 * gdb.base/call-signals.c (gen_signal): Remove printf call.
15651 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
15652
65566918
PA
156532015-07-29 Pedro Alves <palves@redhat.com>
15654
15655 * gdb.base/siginfo-addr.c (pass): New function.
15656 (handler): Call it iff si_addr is correct.
15657 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
15658 Set a breakpoint at "pass" and continue to it.
15659
d60a9221
SDJ
156602015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
15661
15662 * gdb.python/py-objfile.exp: Make some tests have unique names.
15663 * gdb.python/py-pp-registration.exp: Likewise.
15664
bde40b8f
PA
156652015-07-28 Pedro Alves <palves@redhat.com>
15666
15667 * gdb.server/server-exec-info.exp: Issue a "disconnect".
15668
13e1dec8
SM
156692015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15670
15671 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
15672
da33c9a7
SM
156732015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15674
15675 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
15676
077836f7
PP
156772015-07-27 Patrick Palka <patrick@parcs.ath.cx>
15678
15679 * gdb.base/gdb-sigterm-2.exp: New test.
15680
b8cc7b2e
DE
156812015-07-25 Doug Evans <xdje42@gmail.com>
15682
15683 Revert:
15684 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15685 (workers/%.worker, build-perf): New rule.
15686 (GDB_PERFTEST_MODE): New variable.
15687 (check-perf): Use it.
15688 (clean): Clean up gdb.perf parallel build subdirs.
15689 * lib/build-piece.exp: New file.
15690 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15691 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15692 name.
15693 (standard_temp_file): Ditto.
15694 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15695 of $GDB_PARALLEL.
15696
c8bd4544
DE
156972015-07-24 Doug Evans <dje@google.com>
15698
15699 * gdb.perf/lib/perftest/utils.py: New file.
15700 * gdb.perf/gm-hello.cc: New file.
15701 * gdb.perf/gm-pervasive-typedef.cc: New file.
15702 * gdb.perf/gm-pervasive-typedef.h: New file.
15703 * gdb.perf/gm-std.cc: New file.
15704 * gdb.perf/gm-std.h: New file.
15705 * gdb.perf/gm-use-cerr.cc: New file.
15706 * gdb.perf/gm-utils.h: New file.
15707 * gdb.perf/gmonster-null-lookup.py: New file.
15708 * gdb.perf/gmonster-pervasive-typedef.py: New file.
15709 * gdb.perf/gmonster-print-cerr.py: New file.
15710 * gdb.perf/gmonster-ptype-string.py: New file.
15711 * gdb.perf/gmonster-runto-main.py: New file.
15712 * gdb.perf/gmonster-select-file.py: New file.
15713 * gdb.perf/gmonster1-null-lookup.exp: New file.
15714 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
15715 * gdb.perf/gmonster1-print-cerr.exp: New file.
15716 * gdb.perf/gmonster1-ptype-string.exp: New file.
15717 * gdb.perf/gmonster1-runto-main.exp: New file.
15718 * gdb.perf/gmonster1-select-file.exp: New file.
15719 * gdb.perf/gmonster1.cc: New file.
15720 * gdb.perf/gmonster1.exp: New file.
15721 * gdb.perf/gmonster2-null-lookup.exp: New file.
15722 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
15723 * gdb.perf/gmonster2-print-cerr.exp: New file.
15724 * gdb.perf/gmonster2-ptype-string.exp: New file.
15725 * gdb.perf/gmonster2-runto-main.exp: New file.
15726 * gdb.perf/gmonster2-select-file.exp: New file.
15727 * gdb.perf/gmonster2.cc: New file.
15728 * gdb.perf/gmonster2.exp: New file.
15729
6eab34f3
DE
157302015-07-24 Doug Evans <dje@google.com>
15731
15732 * gdb.perf/README: New file.
15733 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
15734 * lib/gen-perf-test.exp: New file.
15735
63738bfd
DE
157362015-07-24 Doug Evans <dje@google.com>
15737
15738 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
15739 (PerfTest::startup): New function.
15740 (PerfTest::run): Return result of calling body.
15741 (PerfTest::assemble): Rewrite.
15742 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
15743 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
15744 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
15745 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
15746 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
15747
7b606f95
DE
157482015-07-24 Doug Evans <dje@google.com>
15749
15750 * lib/gdb.exp (clean_restart): Make executable optional.
15751
a97b16b8
DE
157522015-07-24 Doug Evans <dje@google.com>
15753
15754 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
15755 compiler_info references.
15756 * gdb.cp/temargs.exp: Ditto.
15757 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
15758 (get_compiler_info): Early exit if already computed. Set compiler_info
15759 to "unknown" if there was a problem.
15760 (test_compiler_info): Add function comment. Call get_compiler_info.
15761
35baa57f
DE
157622015-07-24 Doug Evans <dje@google.com>
15763
15764 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15765 (workers/%.worker, build-perf): New rule.
15766 (GDB_PERFTEST_MODE): New variable.
15767 (check-perf): Use it.
15768 (clean): Clean up gdb.perf parallel build subdirs.
15769 * lib/build-piece.exp: New file.
15770 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15771 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15772 name.
15773 (standard_temp_file): Ditto.
15774 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15775 of $GDB_PARALLEL.
15776
6ebea266
DE
157772015-07-24 Doug Evans <dje@google.com>
15778
15779 * lib/future.exp (gdb_default_target_compile): New option
15780 "early_flags".
15781 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
15782 --as-needed.
15783
1e76a7e9
SDJ
157842015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
15785
15786 * gdb.base/catch-syscall.exp: Call gdb_exit before
15787 gdb_skip_xml_test.
15788
5068630a
PA
157892015-07-24 Pedro Alves <palves@redhat.com>
15790
15791 * gdb.python/py-events.exp: Accept output between the stop event
15792 and the prompt.
15793 * gdb.python/py-evsignal.exp: Likewise.
15794 * gdb.python/py-evthreads.exp: Likewise.
15795
77598427
PA
157962015-07-24 Pedro Alves <palves@redhat.com>
15797
15798 PR gdb/18717
15799 * gdb.threads/non-ldr-exit.c: New file.
15800 * gdb.threads/non-ldr-exit.exp: New file.
15801
11e6c98f
YQ
158022015-07-24 Yao Qi <yao.qi@linaro.org>
15803
15804 * gdb.server/ext-wrapper.exp: Test --wrapper option when
15805 restarting process.
15806
51aee833
YQ
158072015-07-24 Yao Qi <yao.qi@linaro.org>
15808
15809 * gdb.server/ext-restart.exp: New file.
15810
8cfe207c
YQ
158112015-07-24 Yao Qi <yao.qi@linaro.org>
15812
15813 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
15814 argument options.
15815 * gdb.server/ext-wrapper.exp: New file.
15816
cc12ce38
DE
158172015-07-23 Doug Evans <dje@google.com>
15818
15819 * gdb.dwarf2/dw2-dummy-cu.S: New file.
15820 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
15821
d0d84780
PMR
158222015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
15823
15824 * gdb.ada/var_arr_typedef.exp: New testcase.
15825 * gdb.ada/var_arr_typedef/pack.adb: New file.
15826 * gdb.ada/var_arr_typedef/pack.ads: New file.
15827 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
15828
8b558f79
JB
158292015-07-20 Joel Brobecker <brobecker@adacore.com>
15830
15831 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
15832
775a3298
JK
158332015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15834
15835 * gdb.arch/i386-biarch-core.exp: Replace istarget
15836 by "complete set gnutarget". Remove expectation for the "core-file"
15837 command.
15838
db1ff28b
JK
158392015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15840
15841 Revert the previous commit:
15842 Tests for validate symbol file using build-id.
15843
0a94970d
JK
158442015-07-15 Aleksandar Ristovski <aristovski@qnx.com
15845
15846 Tests for validate symbol file using build-id.
15847 * gdb.base/solib-mismatch-lib.c: New file.
15848 * gdb.base/solib-mismatch-libmod.c: New file.
15849 * gdb.base/solib-mismatch.c: New file.
15850 * gdb.base/solib-mismatch.exp: New file.
15851
03346981
SL
158522015-07-15 Sandra Loosemore <sandra@codesourcery.com>
15853
15854 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
15855 nios2-*-linux*.
15856 * gdb.base/sigbpt.exp (stepi_out): Likewise.
15857 * gdb.base/siginfo.exp: Likewise.
15858 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15859
42422cc7
PL
158602015-07-15 Pierre Langlois <pierre.langlois@arm.com>
15861
15862 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
15863 Move it to ...
15864 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
15865 ... here.
15866 * gdb.trace/range-stepping.exp: Check that the target supports
15867 range stepping.
15868
cfa68bae
JK
158692015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15870
15871 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
15872
8ffdba26
PA
158732015-07-14 Pedro Alves <palves@redhat.com>
15874
15875 * gdb.base/killed-outside.exp: New file.
15876 * gdb.base/killed-outside.c: New file.
15877
218a5a11
JK
158782015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15879
15880 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
15881 (n at main): New.
15882 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
15883
e03ed3c6
AA
158842015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15885
15886 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
15887 infcall tests instead of setting up for KFAIL.
15888
485668e5
MM
158892015-07-10 Markus Metzger <markus.t.metzger@intel.com>
15890
15891 * gdb.btrace/record_goto-step.exp: New.
15892
08464196
JK
158932015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15894
15895 PR compile/18484
15896 * gdb.compile/compile.c (struct struct_type): Add volatile to
15897 selffield's type.
15898 * gdb.compile/compile.exp
15899 (compile code struct_object.selffield = &struct_object): Skip further
15900 struct_object tests if this one xfails.
15901
bcf5c1d9
RC
159022015-07-08 Robert O'Callahan <robert@ocallahan.org>
15903
15904 PR exp/18617
15905 * gdb.trace/ax.exp: Add test.
15906
4931af25
YQ
159072015-07-07 Yao Qi <yao.qi@linaro.org>
15908
15909 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
15910 instead of istarget "aarch64*-*-*".
15911 * gdb.arch/aarch64-fp.exp: Likewise.
15912 * gdb.base/float.exp: Likewise.
15913 * gdb.reverse/aarch64.exp: Likewise.
15914 * lib/gdb.exp (is_aarch64_target): New proc.
15915
9fcf688e
YQ
159162015-07-07 Yao Qi <yao.qi@linaro.org>
15917
15918 * lib/gdb.exp (is_aarch32_target): New proc.
15919 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
15920 instead of "istarget "arm*-*-*"".
15921 * gdb.arch/arm-disp-step.exp: Likewise.
15922 * gdb.arch/thumb-bx-pc.exp: Likewise.
15923 * gdb.arch/thumb-prologue.exp: Likewise.
15924 * gdb.arch/thumb-singlestep.exp: Likewise.
15925 * gdb.base/disp-step-syscall.exp: Likewise.
15926 * gdb.base/float.exp: Likewise.
15927
fbd8d50d
YQ
159282015-07-07 Yao Qi <yao.qi@linaro.org>
15929
15930 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
15931 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
15932
71be1fdc
YQ
159332015-07-07 Yao Qi <yao.qi@linaro.org>
15934
15935 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
15936 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
15937 if it exists.
15938 * gdb.multi/multi-arch.exp: Likewise.
15939
3e221d36
SM
159402015-07-07 Simon Marchi <simon.marchi@ericsson.com>
15941
15942 * gdb.python/py-lazy-string.exp: Add missing parentheses to
15943 print.
15944
d441430b
YQ
159452015-07-07 Yao Qi <yao.qi@linaro.org>
15946
15947 * gdb.arch/thumb-singlestep.exp: Do one more single step.
15948
06f810bd
MG
159492015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
15950
15951 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
15952 '[' and ']' characters.
15953
5e61e7c0
IB
159542015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
15955
15956 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15957
28bf096c
PA
159582015-06-29 Pedro Alves <palves@redhat.com>
15959
15960 PR threads/18127
15961 * gdb.threads/hand-call-new-thread.c: New file.
15962 * gdb.threads/hand-call-new-thread.c: New file.
15963
ee93cd5e
KS
159642015-06-26 Keith Seitz <keiths@redhat.com>
15965 Doug Evans <dje@google.com>
15966
15967 PR 16253
15968 * gdb.cp/var-tag-2.cc: New file.
15969 * gdb.cp/var-tag-3.cc: New file.
15970 * gdb.cp/var-tag-4.cc: New file.
15971 * gdb.cp/var-tag.cc: New file.
15972 * gdb.cp/var-tag.exp: New file.
15973
fc637f04
PP
159742015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15975
15976 * gdb.base/history-duplicates.exp: New test.
15977
2e52ae68
PP
159782015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15979
15980 * gdb.base/completion.exp: Test the completion of the "focus"
15981 command.
15982
6e22494e
JK
159832015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15984
15985 * gdb.arch/amd64-prologue-skip.S: New file.
15986 * gdb.arch/amd64-prologue-skip.exp: New file.
15987
bf7b9cd9
SM
159882015-06-25 Simon Marchi <simon.marchi@ericsson.com>
15989
15990 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
15991 is_address_zero_readable check.
15992
201e8dfd
PB
159932015-06-24 Peter Bergner <bergner@vnet.ibm.com>
15994
15995 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
15996 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
15997
5cd867b4
YQ
159982015-06-24 Yao Qi <yao.qi@linaro.org>
15999
16000 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
16001 linux targets.
16002
4d7be007
YQ
160032015-06-24 Yao Qi <yao.qi@linaro.org>
16004
16005 * lib/gdb.exp (supports_get_siginfo_type): New proc.
16006 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
16007 * gdb.base/siginfo-thread.exp: Likewise.
16008
07fcd301
YQ
160092015-06-22 Yao Qi <yao.qi@linaro.org>
16010
16011 * boards/remote-gdbserver-on-localhost.exp: Add comments.
16012
52042a00
YQ
160132015-06-22 Yao Qi <yao.qi@linaro.org>
16014
16015 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
16016 aarch64*-*-*.
16017 (skip_hw_watchpoint_tests): Likewise.
16018
74bd41ce
PP
160192015-06-18 Patrick Palka <patrick@parcs.ath.cx>
16020
16021 * gdb.base/gdbinit-history.exp: Test the interaction between
16022 setting GDBHISTSIZE and setting the history size via .gdbinit.
16023
bc460514
PP
160242015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16025
16026 PR gdb/16999
16027 * gdb.base/gdbhistsize-history.exp: New test.
16028
b58c513b
PP
160292015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16030
16031 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
16032 with GDBHISTSIZE.
16033 * gdb.base/readline.exp: Likewise.
16034
92046791
YQ
160352015-06-17 Yao Qi <yao.qi@linaro.org>
16036
16037 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
16038 line.
16039
2093d2d3
PP
160402015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16041
16042 * gdb.base/gdbinit-history.exp: Add test case to check that
16043 an unlimited history file does not get truncated on exit.
16044
e6c693af
AA
160452015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16046
16047 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
16048 (VECTOR): New macro. Use it...
16049 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
16050 ...for these typedefs.
16051 (int8, char1, int1, double1): New typedefs.
16052 (struct just_int2, struct two_int2): New structures.
16053 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
16054 (add_structvecs, add_singlevecs): New functions.
16055 (main): Call add_some_intvecs twice.
16056 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
16057 the compile and exit upon failure. Try compiling for the "native"
16058 architecture. Test inferior function calls with vector arguments
16059 and vector return value handling with "finish" and "return".
16060
c74f7d1c
JT
160612015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
16062
16063 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
16064 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
16065 PE file.
16066 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
16067
98aa42ee
AT
160682015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16069
16070 PR breakpoints/16465
16071 * gdb.mi/mi-dprintf-pending.c: New file.
16072 * gdb.mi/mi-dprintf-pending.exp: New test.
16073 * gdb.mi/mi-dprintf-pendshr.c: New file.
16074
7d73c23c 160752015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 16076 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
16077
16078 * gdb.arch/i386-mpx-map.c: New file.
16079 * gdb.arch/i386-mpx-map.exp: New File.
16080
160812015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16082
16083 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
16084 * gdb.arch/i386-mpx.exp: Indentation fixed.
16085
160862015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16087
16088 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
16089 function and improved indentation.
16090 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
16091 gdb_test_multiple. Added additional tests to skip the test.
16092
160932015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16094
16095 * gdb.arch/i386-avx512.c: Change path in include file.
16096 * gdb.arch/i386-avx512.exp: Change include dir path
16097 compilation flag.
16098 * gdb.arch/i386-mpx.c: Change path in include file.
16099 * gdb.arch/i386-mpx.exp: Change include dir path compilation
16100 flag.
16101
d5eba19a
JK
161022015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16103
16104 * gdb.compile/compile-print.exp (compile print *vararray@3)
16105 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
16106
7f361056
JK
161072015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16108
16109 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
16110 (do not keep jit in memory): ... this.
16111 (expect 5): Change it to ...
16112 (expect no 5): ... this.
16113
3b462ec2
SM
161142015-06-02 Simon Marchi <simon.marchi@ericsson.com>
16115
16116 PR gdb/15564
16117 * gdb.mi/mi-detach.exp: New file.
16118
e0619de6
JK
161192015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16120
16121 PR symtab/18392
16122 * gdb.arch/amd64-tailcall-self.S: New file.
16123 * gdb.arch/amd64-tailcall-self.c: New file.
16124 * gdb.arch/amd64-tailcall-self.exp: New file.
16125
e970cb34
DB
161262015-05-28 Don Breazeal <donb@codesourcery.com>
16127
16128 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
16129 tests for remote targets by checking is_target_gdbserver.
16130
b2e2f908
DE
161312015-05-27 Doug Evans <dje@google.com>
16132
16133 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
16134 * gdb.dwarf2/opaque-type-lookup.c: New file.
16135 * gdb.dwarf2/opaque-type-lookup.exp: New file.
16136
82c7be31
DE
161372015-05-26 Doug Evans <dje@google.com>
16138
16139 * gdb.cp/iostream.cc: New file.
16140 * gdb.cp/iostream.exp: New file.
16141
b4f54984
DE
161422015-05-26 Doug Evans <dje@google.com>
16143
16144 * gdb.dwarf2/dw2-op-call.exp: Update.
16145 * gdb.dwarf2/dw4-sig-types.exp: Update.
16146 * gdb.dwarf2/implptr.exp: Update.
16147 * gdb.mi/mi-cmd-param-changed.exp: Update.
16148
4ea6efe9
DE
161492015-05-26 Doug Evans <dje@google.com>
16150
16151 * gdb.python/py-lazy-string.c: New file.
16152 * gdb.python/py-lazy-string.exp: New file.
16153 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
16154 (main): Update. Add estring3.
16155 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
16156 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
16157
f6bb7db3
YQ
161582015-05-26 Omair Javaid <omair.javaid@linaro.org>
16159 Yao Qi <yao.qi@linaro.org>
16160
16161 * gdb.reverse/aarch64.c: New.
16162 * gdb.reverse/aarch64.exp: New.
16163
a81bfbd0
OJ
161642015-05-26 Omair Javaid <omair.javaid@linaro.org>
16165
25d49b86
PA
16166 * lib/gdb.exp (supports_process_record): Return true for
16167 aarch64*-linux*.
a81bfbd0
OJ
16168 (supports_reverse): Likewise.
16169
158bf1b4
PP
161702015-05-22 Patrick Palka <patrick@parcs.ath.cx>
16171
16172 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16173 Use with_test_prefix.
16174
a0145030
AB
161752015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
16176
16177 * gdb.base/completion.exp: Add test for completion of layout
16178 names.
16179
ebe3b578
AB
161802015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
16181
16182 * lib/gdb.exp (skip_tui_tests): New proc.
16183 * gdb.base/tui-layout.exp: Check skip_tui_tests.
16184
84204ed7
PA
161852015-05-19 Pedro Alves <palves@redhat.com>
16186
16187 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16188 Save the whole env array instead of just HOME. Unset HISTSIZE in
16189 the environment while testing. Restore whole environment
16190 afterwards.
16191
37442ce1
DE
161922015-05-16 Doug Evans <xdje42@gmail.com>
16193
16194 * gdb.guile/scm-ports.c: New file.
16195 * gdb.guile/scm-ports.exp: Add memory port tests.
16196
36de76f9
JK
161972015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16198
16199 * gdb.compile/compile-print.c: New file.
16200 * gdb.compile/compile-print.exp: New file.
16201
3a9558c4
JK
162022015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16203
16204 * gdb.compile/compile-ops.exp: Cast param to void.
16205 * gdb.compile/compile.exp: Complete type for _gdb_expr.
16206 (compile code struct_object.selffield = &struct_object): Add xfail.
16207
aa715135
JG
162082015-05-15 Joel Brobecker <brobecker@adacore.com>
16209
16210 * gdb.ada/arr_enum_with_gap: New testcase.
16211
931e5bc3
JG
162122015-05-15 Joel Brobecker <brobecker@adacore.com>
16213
16214 * gdb.ada/byte_packed_arr: New testcase.
16215
9cd4d857
JB
162162015-05-15 Joel Brobecker <brobecker@adacore.com>
16217
16218 * gdb.ada/pckd_neg: New testcase.
16219
ebfd00d2
PP
162202015-05-13 Patrick Palka <patrick@parcs.ath.cx>
16221
16222 PR gdb/17820
16223 * gdb.base/gdbinit-history.exp: New test.
16224 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
16225 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
16226
4c082a81
SC
162272015-05-09 Siva Chandra Reddy <sivachandra@google.com>
16228
16229 * gdb.python/py-xmethods.cc: Enhance test case.
16230 * gdb.python/py-xmethods.exp: New tests.
16231 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
16232 function.
16233 (B_indexoper): Likewise.
16234 (global_dm_list) : Add new xmethod worker functions.
16235
f7797074
SDJ
162362015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
16237
16238 * gdb.base/coredump-filter.exp: Correctly unset
16239 "coredump_var_addr" array.
16240
a4674e4e
PA
162412015-05-08 Pedro Alves <palves@redhat.com>
16242
16243 * gdb.server/non-existing-program.exp: Unset spawn_id.
16244
df2eb078
SC
162452015-05-08 Siva Chandra Reddy <sivachandra@google.com>
16246
16247 PR python/18291
16248 * gdb.python/py-xmethods.exp: Add tests.
16249
422349a3
YQ
162502015-05-08 Yao Qi <yao.qi@linaro.org>
16251
16252 PR gdb/18208
16253 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
16254 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
16255 function set_coredump_filter, and remove remote_exec call.
16256 Remove argument ipid. Callers update.
16257 (top level): Don't get inferior's PID.
16258
63fc80ce
AA
162592015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
16260
16261 * gdb.base/watch_thread_num.exp: Skip test on targets without
16262 access watchpoints.
16263
80ad801e
PA
162642015-05-06 Pedro Alves <palves@redhat.com>
16265
16266 PR server/18081
16267 * gdb.server/non-existing-program.exp: New file.
16268
0fa7fe50
JB
162692015-05-05 Joel Brobecker <brobecker@adacore.com>
16270
16271 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
16272
3ea89b92
PMR
162732015-05-05 Joel Brobecker <brobecker@adacore.com>
16274
16275 * gdb.ada/out_of_line_in_inlined: New testcase.
16276
87b8eff0
JB
162772015-05-05 Joel Brobecker <brobecker@adacore.com>
16278
16279 * gdb.ada/var_rec_arr: New testcase.
16280
5fccc635
YQ
162812015-04-30 Yao Qi <yao.qi@linaro.org>
16282
16283 * gdb.base/break-idempotent.exp: If
16284 skip_hw_watchpoint_multi_tests returns true, skip the tests
16285 on "rwatch" and "awatch".
16286
42d38f42
YQ
162872015-04-30 Yao Qi <yao.qi@linaro.org>
16288
16289 * gdb.base/relativedebug.exp: Invoke gdb command
16290 "info sharedlibrary", and if libc.so doesn't have debug info,
16291 skip the test.
16292
2ce1cdbf
DE
162932015-04-29 Doug Evans <dje@google.com>
16294
16295 * gdb.python/py-xmethods.exp: Add ptype tests.
16296 * gdb.python/py-xmethods.py (E_method_char_worker): Add
16297 get_result_type method.
16298
f24a38c5
LM
162992015-04-29 Luis Machado <lgustavo@codesourcery.com>
16300
16301 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
16302 the target does not support hardware watchpoints.
16303
ecbf2b3c
LM
163042015-04-29 Luis Machado <lgustavo@codesourcery.com>
16305
16306 * gdb.base/break-always.exp: Abort testing if writing to memory
16307 causes an error.
16308
34f5f757
DE
163092015-04-28 Doug Evans <dje@google.com>
16310
16311 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
16312 * gdb.python/py-pp-registration.exp: ... here. New file.
16313 * gdb.python/py-pp-registration.c: New file.
16314 * gdb.python/py-pp-registration.py: New file.
16315
69b4374a
DE
163162015-04-28 Doug Evans <dje@google.com>
16317
16318 * gdb.python/py-bad-printers.c: New file.
16319 * gdb.python/py-bad-printers.py: New file.
16320 * gdb.python/py-bad-printers.exp: New file.
16321
59fb7612
SS
163222015-04-28 Sasha Smundak <asmundak@google.com>
16323
16324 * gdb.python/py-type.exp: New test.
16325
2631b16a
AW
163262015-04-28 Andy Wingo <wingo@igalia.com>
16327
16328 * gdb.python/py-parameter.exp:
16329 * gdb.guile/scm-parameter.exp: Escape the path that we are
16330 matching against, as it might contain characters that are special
16331 to regular expressions.
16332
460efde1
JB
163332015-04-27 Joel Brobecker <brobecker@adacore.com>
16334
16335 * gdb.ada/rec_comp: New testcase.
16336
2d369d8e
SDJ
163372015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
16338
16339 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
16340 before using it.
16341
cf75d6c3
AB
163422015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
16343
16344 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
16345 new tests for verilog output.
16346
8dbe7ca5
YQ
163472015-04-24 Yao Qi <yao.qi@linaro.org>
16348
16349 * boards/remote-gdbserver-on-localhost.exp: New file.
16350
4ef9fb2f
PA
163512015-04-23 Pedro Alves <palves@redhat.com>
16352
16353 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
16354 $inferior_spawn_id instead of $inferior_spawn_id directly. On
16355 "end of file", remove $inferior_spawn_id from the indirect list.
16356
0a803169
PA
163572015-04-23 Pedro Alves <palves@redhat.com>
16358
16359 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
16360
749ef8f8
PA
163612015-04-23 Pedro Alves <palves@redhat.com>
16362
16363 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
16364 on $any_spawn_id instead of only on $gdb_spawn_id.
16365
8aae4344
PM
163662015-04-21 Pierre Muller <muller@sourceware.org>
16367
16368 PR pascal/17815
16369 * lib/pascal.exp (gpc_compile): Add new option "class".
16370 (fpc_compile): Likewise.
16371 * gdb.pascal/case-insensitive-symbols.pas: New file.
16372 * gdb.pascal/case-insensitive-symbols.exp: New file.
16373
1586c8fb
GB
163742015-04-20 Gary Benson <gbenson@redhat.com>
16375
16376 * gdb.base/attach.exp: Fix three extended remote failures.
16377
1b6e6f5c
GB
163782015-04-17 Gary Benson <gbenson@redhat.com>
16379
16380 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
16381 the main executable over the remote protocol.
16382
e797481d
PA
163832015-04-16 Pedro Alves <palves@redhat.com>
16384
16385 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
16386 a new gdbserver if gdbserver_reconnect_p is set.
16387
1ca99c42
PA
163882015-04-16 Pedro Alves <palves@redhat.com>
16389
16390 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
16391 is set, don't exit gdbserver.
16392
af9fd6f8
AA
163932015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16394
16395 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
16396 appropriate .insn, such that an older assembler can be used.
16397 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
16398 the z/Architecture instruction set on 31-bit targets as well.
16399
04ff1e61
AA
164002015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16401
16402 * gdb.go/handcall.exp: Remove all logic related to the first
16403 breakpoint and rely on go_runto_main instead.
16404 * gdb.go/strings.exp: Likewise.
16405 * gdb.go/unsafe.exp: Likewise.
16406 * gdb.go/hello.exp: Likewise. Also rename the remaining
16407 breakpoint marker to "breakpoint 1".
16408 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
16409 * gdb.go/strings.go: Likewise.
16410 * gdb.go/unsafe.go: Likewise.
16411 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
16412 "set breakpoint 2 here" and rename the remaining breakpoint marker
16413 to "breakpoint 1".
16414
40d2f8d6
SM
164152015-04-15 Simon Marchi <simon.marchi@ericsson.com>
16416
16417 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
16418 if itertools.imap is not present.
16419 * gdb.python/py-objfile.exp: Add parentheses.
16420 * gdb.python/py-type.exp: Same.
16421 * gdb.python/py-unwind-maint.py: Same.
16422
8cbc97c6
YQ
164232015-04-15 Yao Qi <yao.qi@linaro.org>
16424
16425 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
16426 of ":$ptr_size" and set its form explicitly.
16427
45fd756c
YQ
164282015-04-15 Pedro Alves <palves@redhat.com>
16429 Yao Qi <yao.qi@linaro.org>
16430
16431 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
16432 timeout by factor of 4.
16433 (test_regular_watch): Likewise.
16434 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
16435 * gdb.reverse/sigall-reverse.exp: Likewise.
16436 * gdb.reverse/until-precsave.exp: Likewise.
16437 * lib/gdb.exp (with_timeout_factor): New proc.
16438 (gdb_expect): Move some code to ...
16439 (get_largest_timeout): ... here. New procedure.
16440
9e811bc3
LM
164412015-04-14 Luis Machado <lgustavo@codesourcery.com>
16442
16443 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
16444
0ff6fcb2
LM
164452015-04-13 Luis Machado <lgustavo@codesourcery.com>
16446
16447 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
16448 to write to the .text section.
16449
7578d5f7
LM
164502015-04-13 Luis Machado <lgustavo@codesourcery.com>
16451
16452 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
16453 Handle the case of targets that do not provide PID information.
16454
2efe15c4
YQ
164552015-04-13 Yao Qi <yao.qi@linaro.org>
16456
16457 * lib/gdbserver-support.exp (gdb_exit): Catch exception
16458 and use expect instead of gdb_expect.
16459
8cd8f2f8
SDJ
164602015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
16461
16462 * gdb.base/coredump-filter.exp: Rename variable "addr" to
16463 "coredump_var_addr" to avoid naming conflict with other testcases.
16464
9ee41772
PA
164652015-04-10 Pedro Alves <palves@redhat.com>
16466
16467 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
16468 gdb_test_sequence and gdb_assert.
16469
07473109
PA
164702015-04-10 Pedro Alves <palves@redhat.com>
16471
16472 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
16473 test messages that don't include the breakpoint address.
16474
de3db44c
YQ
164752015-04-10 Yao Qi <yao.qi@linaro.org>
16476
16477 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
16478 false for some offset and width combinations which aren't
16479 supported by linux kernel.
16480
c79d856c
PA
164812015-04-10 Pedro Alves <palves@redhat.com>
16482
16483 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
16484 procedure, factored out from ...
16485 (top level): ... here. Add "set displaced-stepping" testing axis.
16486 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
16487 parameter "displaced". Use it.
16488 (top level): Use foreach and add "set displaced-stepping" testing
16489 axis.
16490
ebc90b50
PA
164912015-04-10 Pedro Alves <palves@redhat.com>
16492
16493 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
16494 Remove comment.
16495 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
16496 both the address of the instruction that triggers the watchpoint
16497 and the address of the instruction immediately after, and use
16498 those addresses for the test. Fix comment.
16499
8f572e5c
PA
165002015-04-10 Pedro Alves <palves@redhat.com>
16501
16502 * gdb.base/sigstep.exp (breakpoint_to_handler)
16503 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
16504 Test "backtrace" in handler.
16505 (breakpoint_over_handler): New parameter 'displaced'. Use it.
16506 (top level): Add new "displaced" test axis to
16507 breakpoint_to_handler, breakpoint_to_handler_entry and
16508 breakpoint_over_handler.
16509
8d707a12
PA
165102015-04-10 Pedro Alves <palves@redhat.com>
16511
16512 PR gdb/18216
16513 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
16514
ef713951
YQ
165152015-04-10 Yao Qi <yao.qi@linaro.org>
16516
16517 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
16518 (test_add_rn_pc): New function.
16519 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
16520 (top level): Invoke test_add_rn_pc.
16521
906d60cf
PA
165222015-04-10 Pedro Alves <palves@redhat.com>
16523
16524 PR gdb/13858
16525 * gdb.base/step-over-no-symbols.exp: New file.
16526
f2983cc3
AW
165272015-04-09 Andy Wingo <wingo@igalia.com>
16528
16529 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
16530 after the Python tests.
16531
6d62641c
SDJ
165322015-04-08 Keith Seitz <keiths@redhat.com>
16533
16534 PR python/16699
16535 * gdb.python/py-completion.exp: New tests for completion.
16536 * gdb.python/py-completion.py (CompleteLimit1): New class.
16537 (CompleteLimit2): Likewise.
16538 (CompleteLimit3): Likewise.
16539 (CompleteLimit4): Likewise.
16540 (CompleteLimit5): Likewise.
16541 (CompleteLimit6): Likewise.
16542 (CompleteLimit7): Likewise.
16543
f3770638
PA
165442015-04-08 Pedro Alves <palves@redhat.com>
16545
16546 PR gdb/18214
16547 PR gdb/18216
16548 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
16549 function.
16550 (main): Install it as SIGUSR1 handler.
16551 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
16552 parameter. Always use "setup" as prefix. Toggle "set
16553 displaced-stepping" off/on depending on global. Don't switch to
16554 thread 1 here.
16555 (top level): Add displaced stepping "off/on" test axis. Update
16556 "setup" calls. Wrap each subtest with with_test_prefix. Test
16557 continuing with a queued signal in each thread.
16558
4496bed7
PA
165592015-04-08 Pedro Alves <palves@redhat.com>
16560
16561 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
16562 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
16563 gdb_breakpoint instead of gdb_test that doesn't expect anything.
16564 Return early if running to main fails.
16565 * gdb.trace/while-stepping.exp: Likewise.
16566
b97fde92
PA
165672015-04-07 Pedro Alves <palves@redhat.com>
16568
16569 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
16570 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
16571 interact with inferior program.
16572
f71c18e7
PA
165732015-04-07 Pedro Alves <palves@redhat.com>
16574
16575 * lib/gdb.exp (inferior_spawn_id): New global.
16576 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
16577 spawn id after processing the user code.
16578 (default_gdb_start): Set inferior_spawn_id.
16579 (send_inferior): New procedure.
16580 * lib/gdbserver-support.exp (gdbserver_start): Set
16581 inferior_spawn_id.
16582 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
16583
6423214f
PA
165842015-04-07 Pedro Alves <palves@redhat.com>
16585
16586 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
16587 * lib/gdbserver-support.exp (gdbserver_start): Make
16588 $server_spawn_id global.
16589 (gdbserver_start): Don't wait for gdbserver's spawn id with
16590 expect_background.
16591 (close_gdbserver): New procedure.
16592 (gdb_exit): Rename the default version and reimplement.
16593
71c0ee8c
PA
165942015-04-07 Pedro Alves <palves@redhat.com>
16595
72f4393d 16596 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
16597 append the substituted item, not the original item.
16598
203bc29b
PA
165992015-04-07 Pedro Alves <palves@redhat.com>
16600
16601 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
16602 gdb_expect.
16603
508a3ddf
PA
166042015-04-07 Pedro Alves <palves@redhat.com>
16605
16606 * gdb.base/interrupt.exp: Don't handle the case of the inferior
16607 output appearing once only.
16608
9f6dbe2b
PA
166092015-04-07 Pedro Alves <palves@redhat.com>
16610
16611 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
16612 that doesn't expect anything. Return early if running to main
16613 fails.
16614
337532fa
YQ
166152015-04-07 Yao Qi <yao.qi@linaro.org>
16616
16617 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
16618 (child_function): Call alarm.
16619 (main): Move call to alarm into the loop.
16620 * gdb.threads/non-stop-fair-events.exp: Build program with
16621 -DTIMEOUT=$timeout.
16622
01b622d4
DE
166232015-04-06 Doug Evans <xdje42@gmail.com>
16624
16625 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
16626 Fix dest parameter to board_info.
16627 (fpc_compile): Ditto.
16628 (gdb_compile_pascal): Rename dest arg to destfile.
16629
961f4160
PMR
166302015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
16631
16632 * gdb.ada/funcall_ref.exp: New file.
16633 * gdb.ada/funcall_ref/foo.adb: New file.
16634
cafda597
YQ
166352015-04-02 Yao Qi <yao.qi@linaro.org>
16636
16637 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
16638 is remote.
16639
fed040c6
GB
166402015-04-02 Gary Benson <gbenson@redhat.com>
16641
16642 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
16643
d11916aa
SS
166442015-04-01 Sasha Smundak <asmundak@google.com>
16645
16646 * gdb.python/py-unwind-maint.c: New file.
16647 * gdb.python/py-unwind-maint.exp: New test.
16648 * gdb.python/py-unwind-maint.py: New file.
16649 * gdb.python/py-unwind.c: New file.
16650 * gdb.python/py-unwind.exp: New test.
16651 * gdb.python/py-unwind.py: New test.
16652
a1471180
PA
166532015-04-01 Pedro Alves <palves@redhat.com>
16654
16655 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
16656 to fail instead of non-existent $test.
16657
0bbeccb1
PA
166582015-04-01 Pedro Alves <palves@redhat.com>
16659
16660 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
16661 GDBFLAGS if not empty.
16662
3c724c8c
PMR
166632015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
16664
16665 * gdb.ada/complete.exp: Remove "multi_line".
16666 * gdb.ada/info_exc.exp: Remove "multi_line".
16667 * gdb.ada/packed_tagged.exp: Remove "multi_line".
16668 * gdb.ada/ptype_field.exp: Remove "multi_line".
16669 * gdb.ada/sym_print_name.exp: Remove "multi_line".
16670 * gdb.ada/tagged.exp: Remove "multi_line".
16671 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
16672 [multi_line ...]
16673 * gdb.btrace/delta.exp: Likewise.
16674 * gdb.btrace/exception.exp: Likewise.
16675 * gdb.btrace/function_call_history.exp: Likewise.
16676 * gdb.btrace/instruction_history.exp: Likewise.
16677 * gdb.btrace/nohist.exp: Likewise.
16678 * gdb.btrace/record_goto.exp: Likewise.
16679 * gdb.btrace/segv.exp: Likewise.
16680 * gdb.btrace/stepi.exp: Likewise.
16681 * gdb.btrace/tailcall.exp: Likewise.
16682 * gdb.btrace/unknown_functions.exp: Likewise.
16683 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
16684 * lib/gdb.exp: Add the "multi_line" helper.
16685
4eec2deb
PA
166862015-04-01 Pedro Alves <palves@redhat.com>
16687
16688 * gdb.threads/tid-reuse.c: New file.
16689 * gdb.threads/tid-reuse.exp: New file.
16690
df8411da
SDJ
166912015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
16692
16693 PR corefiles/16092
16694 * gdb.base/coredump-filter.c: New file.
16695 * gdb.base/coredump-filter.exp: Likewise.
16696
6ef37366
PM
166972015-03-27 Petr Machata <pmachata@redhat.com>
16698
16699 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
16700 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
16701 (Dwarf::assemble): Initialize them.
16702 (Dwarf::lines): New function.
16703
7ec911b0
JT
167042015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
16705
16706 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
16707 SYMBOL_PREFIX for x86_64-*-cygwin.
16708
ff908ebf
AW
167092015-03-26 Andy Wingo <wingo@igalia.com>
16710
16711 PR symtab/18148
16712 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
16713 const_value but not a location.
16714 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
16715 location defined in non-main CUs are visible.
16716
6d5f0679
YQ
167172015-03-26 Yao Qi <yao.qi@linaro.org>
16718
16719 PR testsuite/18139
16720 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
16721 Add a line number entry for the same line.
16722 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
16723 Add a line number entry for the same line.
16724
2898689b
YQ
167252015-03-26 Yao Qi <yao.qi@linaro.org>
16726
16727 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
16728 .int 0.
16729 (func): Likewise. Add .Lfunc_1 label.
16730 Use .Lfunc_1 label.
16731 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
16732 .int 0.
16733 (func): Likewise.
16734 Use .Lfunc_1 label.
16735
85180498
YQ
167362015-03-26 Yao Qi <yao.qi@linaro.org>
16737
16738 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
16739 Call gdb_compile instead to compile each .s files without debug
16740 information.
16741
8aa08a8d
YQ
167422015-03-26 Yao Qi <yao.qi@linaro.org>
16743
16744 * gdb.base/savedregs.exp (process_saved_regs): Make
16745 "Saved registers:" optional in the pattern.
16746
66849923
MM
167472015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16748
16749 * gdb.btrace/next.exp: Merged into step.exp.
16750 * gdb.btrace/finish.exp: Merged into step.exp.
16751 * gdb.btrace/nexti.exp: Merged into stepi.exp.
16752 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
16753 "record goto" and checking the exact replay position.
16754 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
16755 check for "Recording format" in "info record" output.
16756 * gdb.btrace/record_goto.exp: Choose test file based on target.
16757 * gdb.btrace/x86-record_goto.S: Renamed into ...
16758 * gdb.btrace/x86_64-record_goto.S: ... this.
16759 * gdb.btrace/i686-record_goto.S: New.
16760 * gdb.btrace/x86-tailcall.S: Renamed into ...
16761 * gdb.btrace/x86_64-tailcall.S: ... this.
16762 * gdb.btrace/i686-tailcall.S: New.
16763 * gdb.btrace/x86-tailcall.c: Renamed into ...
16764 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
16765 separate statements. Update test.
16766 * gdb.btrace/delta.exp: Use record_goto.c as test file.
16767 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
16768 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
16769 * gdb.btrace/tailcall.exp: Choose test file based on target.
16770 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
16771
11cc1b74
MM
167722015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16773
16774 * gdb.btrace/exception.exp: Increase BTS buffer size.
16775
a25d8bf9
PA
167762015-03-24 Pedro Alves <palves@redhat.com>
16777
16778 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
16779
856e7dd6
PA
167802015-03-24 Pedro Alves <palves@redhat.com>
16781
16782 * gdb.threads/schedlock.exp (test_step): No longer expect that
16783 "set scheduler-locking step" with "next" over a function call runs
16784 threads unlocked.
16785
ad235a41
AT
167862015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16787
16788 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
16789
15630549
AT
167902015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16791
16792 PR breakpoints/16466
16793 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
16794 * gdb.mi/mi-pending.c (thread_func): New function.
16795 (int main): Add threading support required.
16796 * gdb.mi/mi-pending.exp: Add tests for this issue.
16797 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
16798 (pendfunc2): Remove stdio dependency.
16799 * gdb.mi/mi-pendshr2.c: New file.
16800
693dca06
KS
168012015-03-23 Keith Seitz <keiths@redhat.com>
16802
16803 * gdb.linespec/keywords.c: New file.
16804 * gdb.linespec/keywords.exp: New file.
16805
7e993ebf
KS
168062015-03-23 Keith Seitz <keiths@redhat.com>
16807
16808 PR gdb/18021
16809 * gdb.dwarf2/staticvirtual.exp: New test.
16810
bc23328c
JK
168112015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16812
16813 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
16814 * README: Remove HP-UX and gdb.hp.
16815 (configuration):
16816 * configure: Regenerate.
16817 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
16818 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
16819 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
16820 gdb.hp/gdb.defects/Makefile.
16821 * gdb.hp/Makefile.in: File deleted.
16822 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
16823 * gdb.hp/gdb.aCC/optimize.c: File deleted.
16824 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
16825 * gdb.hp/gdb.aCC/run.c: File deleted.
16826 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
16827 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
16828 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
16829 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
16830 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
16831 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
16832 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
16833 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
16834 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
16835 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
16836 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
16837 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
16838 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
16839 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
16840 * gdb.hp/gdb.base-hp/reg.s: File deleted.
16841 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
16842 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
16843 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
16844 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
16845 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
16846 * gdb.hp/gdb.compat/Makefile.in: File deleted.
16847 * gdb.hp/gdb.compat/average.c: File deleted.
16848 * gdb.hp/gdb.compat/sum.c: File deleted.
16849 * gdb.hp/gdb.compat/xdb.c: File deleted.
16850 * gdb.hp/gdb.compat/xdb0.c: File deleted.
16851 * gdb.hp/gdb.compat/xdb0.h: File deleted.
16852 * gdb.hp/gdb.compat/xdb1.c: File deleted.
16853 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
16854 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
16855 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
16856 * gdb.hp/gdb.defects/Makefile.in: File deleted.
16857 * gdb.hp/gdb.defects/bs14602.c: File deleted.
16858 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
16859 * gdb.hp/gdb.defects/solib-d.c: File deleted.
16860 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
16861 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
16862 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
16863 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
16864 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
16865 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
16866 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
16867 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
16868 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
16869 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
16870 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
16871 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
16872 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
16873 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
16874 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
16875 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
16876 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
16877 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
16878 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
16879 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
16880 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
16881 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
16882 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
16883 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
16884 * gdb.hp/tools/odump: File deleted.
16885
8bf3b159
PA
168862015-03-19 Pedro Alves <palves@redhat.com>
16887
16888 * gdb.threads/continue-pending-status.exp (saw_thread_2)
16889 (saw_thread_3): New globals.
16890 (top level): Increment them when an event for the corresponding
16891 thread is seen.
16892 (no thread starvation): New test.
16893
eb54c8bf
PA
168942015-03-19 Pedro Alves <palves@redhat.com>
16895
16896 * gdb.threads/continue-pending-status.c: New file.
16897 * gdb.threads/continue-pending-status.exp: New file.
16898
32d2e5d6
PA
168992015-03-18 Pedro Alves <palves@redhat.com>
16900
16901 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16902 Use gdb_is_target_remote instead of is_remote. Use
16903 gdb_test_multiple instead of gdb_expect. Exit early if
16904 gdb_test_multiple hits its internal matches. Tighten stepi tests
16905 expected output. Fail on exit with any signal, instead of just
16906 SIGILL.
16907
f68f11b7
YQ
169082015-03-18 Yao Qi <yao.qi@linaro.org>
16909
16910 PR tdep/18107
16911 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
16912 variable.
16913 * gdb.base/catch-syscall.exp: Don't skip it on
16914 aarch64*-*-linux* target. Remove elements in all_syscalls.
16915 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
16916 target.
16917 (setup_all_syscalls): New proc.
16918
ca5fd19b
YQ
169192015-03-16 Yao Qi <yao.qi@linaro.org>
16920
16921 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
16922 (top level): Skip tests if valid_addr_p returns false for
16923 $cmd1 or $cmd2.
16924
85642ba0
AW
169252015-03-11 Andy Wingo <wingo@igalia.com>
16926
16927 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
16928
e03f9645
YQ
169292015-03-11 Yao Qi <yao.qi@linaro.org>
16930
16931 * gdb.base/catch-syscall.exp: Fix typo in comments.
16932
5d0962b2
YQ
169332015-03-11 Yao Qi <yao.qi@linaro.org>
16934
16935 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
16936
b2df3cef
PA
169372015-03-09 Pedro Alves <palves@redhat.com>
16938
16939 * dg-extract-results.py: Delete.
16940
ef878e53
PA
169412015-03-09 Pedro Alves <palves@redhat.com>
16942
16943 Merge dg-extract-results.sh from GCC upstream (r218843).
16944
16945 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
16946 * dg-extract-results.sh: Use --text with grep to avoid issues with
16947 binary files. Fall back to cat -v, if that doesn't work.
16948
9494d219
PA
169492015-03-05 Pedro Alves <palves@redhat.com>
16950
16951 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
16952
a8d9763a
SM
169532015-03-04 Simon Marchi <simon.marchi@ericsson.com>
16954
16955 * lib/mi-support.exp (mi_expect_interrupt): Accept
16956 alternative event for when in all-stop mode.
16957
be9957b8
PA
169582015-03-04 Pedro Alves <palves@redhat.com>
16959
16960 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
16961
d57be0f4 169622015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
16963
16964 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
16965
c214c7cf
AA
169662015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16967
16968 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
16969 regexps for GDB's current line display, accept a hex address
16970 preceding the line number.
16971
6d74a497
AA
169722015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16973
16974 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
16975 the 'arch1' variable for "s390*-linux*" targets.
16976
511aee7c
PA
169772015-03-04 Pedro Alves <palves@redhat.com>
16978
16979 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
16980 (main): Pass missing retval argument to pthread_join call.
16981
95e50b27
PA
169822015-03-02 Pedro Alves <palves@redhat.com>
16983
16984 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
16985 (top level): Call do_test with non-stop as well.
16986
28054d69
PA
169872015-03-02 Pedro Alves <palves@redhat.com>
16988
16989 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
16990 -1.
16991
4fa5d7b4
AA
169922015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16993
16994 * gdb.arch/s390-vregs.exp: New test.
16995 * gdb.arch/s390-vregs.S: New file.
16996
97c18565
PA
169972015-02-27 Pedro Alves <palves@redhat.com>
16998
16999 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
17000 call to catch_command_errors.
17001 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
17002 catch_command_errors.
17003
a37bfa30
PA
170042015-02-27 Pedro Alves <palves@redhat.com>
17005
17006 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
17007 "true" for boolean result.
17008 * gdb.gdb/selftest.exp (test_with_self): Also accept full
17009 prototype of main.
17010
6f98576f
PA
170112015-02-27 Pedro Alves <palves@redhat.com>
17012
17013 * lib/unbuffer_output.c: New file.
17014 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
17015 (main): Call gdb_unbuffer_output.
17016
eba5ab56
YQ
170172015-02-27 Yao Qi <yao.qi@linaro.org>
17018
17019 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
17020 target.
17021
0def5aaa
DE
170222015-02-26 Doug Evans <dje@google.com>
17023
17024 * gdb.cp/class2.cc (Dbase, D): New classes.
17025 (main): New local delta.
17026 * gdb.cp/class2.exp: Test printing delta.
17027 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
17028 (dynbar): New global.
17029 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
17030
081a1c2c
JK
170312015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17032
17033 * gdb.compile/compile-ifunc.c: New file.
17034 * gdb.compile/compile-ifunc.exp: New file.
17035
2f41223f
AT
170362015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
17037
17038 * gdb.base/structs.exp: Check for correct struct on finish.
17039
03eddd80
YQ
170402015-02-26 Yao Qi <yao.qi@linaro.org>
17041
17042 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
17043 is zero.
17044
80c57053
JK
170452015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17046
17047 * gdb.arch/cordic.ko.bz2: New file.
17048 * gdb.arch/cordic.ko.debug.bz2: New file.
17049 * gdb.arch/ppc64-symtab-cordic.exp: New file.
17050
21613c12
YQ
170512015-02-25 Yao Qi <yao.qi@linaro.org>
17052
17053 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
17054 aarch64*-*-* target.
17055
d8b901ed
PA
170562015-02-23 Pedro Alves <palves@redhat.com>
17057
17058 * lib/gdb.exp (delete_breakpoints): Rewrite using
17059 gdb_test_multiple.
17060
e5b85ead
PA
170612015-02-23 Pedro Alves <palves@redhat.com>
17062
17063 * gdb.base/info-os.c: Include stdlib.h.
17064
85c3a371
DE
170652015-02-22 Doug Evans <xdje42@gmail.com>
17066
17067 PR symtab/17855
17068 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
17069 is read after symbols have been re-read.
17070 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
17071 * gdb.ada/exec_changed/second.adb (Second): Ditto.
17072
96553a0c
DE
170732015-02-21 Doug Evans <dje@google.com>
17074
17075 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
17076
97a0c697
JK
170772015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17078
17079 PR corefiles/17808
17080 * gdb.arch/i386-biarch-core.core.bz2: New file.
17081 * gdb.arch/i386-biarch-core.exp: New file.
17082
a47cd6e9
PA
170832015-02-21 Pedro Alves <palves@redhat.com>
17084
17085 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
17086 runto_main fails.
17087
c5facdc4
PA
170882015-02-20 Pedro Alves <palves@redhat.com>
17089
17090 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
17091 info probes.
17092
2db9a427
PA
170932015-02-20 Pedro Alves <palves@redhat.com>
17094
17095 * gdb.threads/multi-create-ns-info-thr.exp: New file.
17096
60fb7e9e
PA
170972015-02-20 Pedro Alves <palves@redhat.com>
17098
17099 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
17100 clean_restart before gdb_target_supports_trace.
17101
5c5019c2
PA
171022015-02-20 Pedro Alves <palves@redhat.com>
17103
17104 PR threads/18006
17105 * gdb.threads/clone-thread_db.c: New file.
17106 * gdb.threads/clone-thread_db.exp: New file.
17107
c9587f88
AT
171082015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
17109
17110 PR breakpoints/16812
17111 * gdb.base/catch-gdb-caused-signals.c: New file.
17112 * gdb.base/catch-gdb-caused-signals.exp: New file.
17113
f6a88844
JM
171142015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
17115
17116 * configure: Regenerated.
17117 * configure.ac: Use GDB_AC_TRANSFORM.
17118 * aclocal.m4: sinclude ../transform.m4.
17119
497c491b
JM
171202015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17121
17122 * lib/dtrace.exp: New file.
17123 * gdb.base/dtrace-probe.exp: Likewise.
17124 * gdb.base/dtrace-probe.d: Likewise.
17125 * gdb.base/dtrace-probe.c: Likewise.
17126 * lib/pdtrace.in: Likewise.
17127 * configure.ac: Output variables with the transformed names of
17128 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
17129 * configure: Regenerated.
17130
03e98035
JM
171312015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17132
17133 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
17134 expected message when trying to access $_probe_* convenience
17135 variables while not on a probe.
17136
63cc30e9
JK
171372015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17138
17139 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
17140
0703599a
PA
171412015-02-11 Pedro Alves <pedro@codesourcery.com>
17142
17143 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
17144 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
17145
7e60a48e
DE
171462015-02-10 Doug Evans <xdje42@gmail.com>
17147
17148 * lib/gdb.exp (gdb_load): Always return a result.
17149
01b088bc
PA
171502015-02-10 Pedro Alves <palves@redhat.com>
17151
17152 * gdb.threads/signal-sigtrap.c: New file.
17153 * gdb.threads/signal-sigtrap.exp: New file.
17154
b05ec7a5
AT
171552015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
17156
17157 * gdb.trace/no-attach-trace.c: New file.
17158 * gdb.trace/no-attach-trace.exp: New file.
17159
a2c2acaf
MW
171602015-02-09 Mark Wielaard <mjw@redhat.com>
17161
17162 * gdb.dwarf2/atomic.c: New file.
17163 * gdb.dwarf2/atomic-type.exp: Likewise.
17164
31fd9caa
MM
171652015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17166
17167 * gdb.btrace/buffer-size.exp: Update "info record" output.
17168 * gdb.btrace/delta.exp: Update "info record" output.
17169 * gdb.btrace/enable.exp: Update "info record" output.
17170 * gdb.btrace/finish.exp: Update "info record" output.
17171 * gdb.btrace/instruction_history.exp: Update "info record" output.
17172 * gdb.btrace/next.exp: Update "info record" output.
17173 * gdb.btrace/nexti.exp: Update "info record" output.
17174 * gdb.btrace/step.exp: Update "info record" output.
17175 * gdb.btrace/stepi.exp: Update "info record" output.
17176 * gdb.btrace/nohist.exp: Update "info record" output.
17177
d33501a5
MM
171782015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17179
17180 * gdb.btrace/buffer-size: New.
17181
f4abbc16
MM
171822015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17183
17184 * gdb.btrace/delta.exp: Update "info record" output.
17185 * gdb.btrace/enable.exp: Update "info record" output.
17186 * gdb.btrace/finish.exp: Update "info record" output.
17187 * gdb.btrace/instruction_history.exp: Update "info record" output.
17188 * gdb.btrace/next.exp: Update "info record" output.
17189 * gdb.btrace/nexti.exp: Update "info record" output.
17190 * gdb.btrace/step.exp: Update "info record" output.
17191 * gdb.btrace/stepi.exp: Update "info record" output.
17192 * gdb.btrace/nohist.exp: Update "info record" output.
17193
b9d61307
SM
171942015-02-06 Simon Marchi <simon.marchi@ericsson.com>
17195
17196 PR gdb/15678
17197 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
17198
e584fdbc
PA
171992015-02-06 Pedro Alves <palves@redhat.com>
17200
17201 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
17202 macro.
17203 (seconds_left, again): New globals.
17204 (main): Wait seconds_left in a 1-second sleep loop instead of
17205 sleeping 180 seconds. If 'again' is set, reset the seconds
17206 counter.
17207 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
17208 'again' in the inferior before detaching. Print the seconds left.
17209 (options): New global.
17210 (top level): Build program with -DTIMEOUT=$timeout.
17211
77f41761
PA
172122015-02-06 Pedro Alves <palves@redhat.com>
17213
17214 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
17215 determine how many seconds to pass to 'alarm'.
17216 * gdb.base/gdb-sigterm.exp (top level): Build program with
17217 -DTIMEOUT=$timeout.
17218 (do_test): Return success/failure indication. Add more verbose
17219 logging. Don't fail if 200 single steps are seen. Instead, fail
17220 when the test times out.
17221 (passes): New global.
17222 (top level): Break the testing loop if testing fails on any
17223 iteration. Use gdb_assert.
17224
b9394193
DB
172252015-02-04 Don Breazeal <donb@codesourcery.com>
17226
17227 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
17228 and initialize them.
17229 (ipc_cleanup): New function.
17230 (main): Don't declare shmid, semid, and msqid. Add a call to
17231 atexit so that we call ipc_cleanup on exit.
17232
42d9e528
PA
172332015-02-04 Pedro Alves <palves@redhat.com>
17234
17235 * boards/native-extended-gdbserver.exp: Remove any target variant
17236 specifications from the board name before clearing the isremote
17237 flag from board_info.
17238
ae6ae975
DE
172392015-01-31 Doug Evans <xdje42@gmail.com>
17240
17241 * gdb.base/maint.exp <maint print type argc>: Update expected output.
17242
cfb069a8
GB
172432015-01-31 Gary Benson <gbenson@redhat.com>
17244
17245 * gdb.base/completion.exp: Disable completion limiting for
17246 existing tests. Add new tests to check completion limiting.
17247 * gdb.linespec/ls-errs.exp: Disable completion limiting.
17248
5dd31d79
DE
172492015-01-31 Doug Evans <xdje42@gmail.com>
17250
17251 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
17252
9f050062
DE
172532015-01-31 Doug Evans <xdje42@gmail.com>
17254
17255 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
17256 entries. Duplicate file section script entries.
17257 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
17258 inlined entries. Add test for safe-path rejection.
17259 * gdb.python/py-section-script.c: Add duplicate inlined section script
17260 entries. Duplicate file section script entries.
17261 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
17262 inlined entries. Add test for safe-path rejection.
17263
df25ebbd
JB
172642015-01-29 Joel Brobecker <brobecker@adacore.com>
17265
17266 * gdb.ada/disc_arr_bound: New testcase.
17267
4a0ca9ec
JB
172682015-01-29 Joel Brobecker <brobecker@adacore.com>
17269
17270 * gdb.ada/mi_var_array: New testcase.
17271
3a8b707a
DE
172722015-01-27 Doug Evans <dje@google.com>
17273
17274 * gdb.python/py-objfile.exp: Add tests for objfile.username.
17275 Add test for objfile.filename, objfile.username after objfile
17276 has been unloaded.
17277
f8313f6e
JB
172782015-01-26 Joel Brobecker <brobecker@adacore.com>
17279
17280 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
17281 the second test to print the name attribute of value
17282 returned by the call to gdb.lookup_type, and adjust
17283 the expected output accordingly.
17284
37bc665e
MW
172852015-01-25 Mark Wielaard <mjw@redhat.com>
17286
17287 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
17288 * gdb.base/disp-step-fork.c: Include unistd.h.
17289 * gdb.base/siginfo-obj.c: Include stdio.h.
17290 * gdb.base/siginfo-thread.c: Likewise.
17291 * gdb.mi/non-stop.c: Include unistd.h.
17292 * gdb.mi/nsthrexec.c: Include stdio.h.
17293 * gdb.mi/pthreads.c: Include unistd.h.
17294 * gdb.modula2/unbounded1.c (main): Declare returns int.
17295 * gdb.reverse/consecutive-reverse.c: Likewise.
17296 * gdb.threads/create-fail.c: Include unistd.h.
17297 * gdb.threads/killed.c: Likewise.
17298 * gdb.threads/linux-dp.c: Likewise.
17299 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
17300 * gdb.threads/non-ldr-exc-2.c: Likewise.
17301 * gdb.threads/non-ldr-exc-3.c: Likewise.
17302 * gdb.threads/non-ldr-exc-4.c: Likewise.
17303 * gdb.threads/pthreads.c: Include unistd.h.
17304 (main): Declare returns int.
17305 * gdb.threads/tls-main.c (foo): New declaration.
17306 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
17307
f7e5394d
SM
173082015-01-23 Simon Marchi <simon.marchi@ericsson.com>
17309
17310 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
17311 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
17312
743649fd
MW
173132015-01-15 Mark Wielaard <mjw@redhat.com>
17314
17315 * gdb.base/noreturn-return.c: New file.
17316 * gdb.base/noreturn-return.exp: New file.
17317 * gdb.base/noreturn-finish.c: New file.
17318 * gdb.base/noreturn-finish.exp: New file.
17319
198297aa
PA
173202015-01-23 Pedro Alves <palves@redhat.com>
17321
17322 * gdb.threads/continue-pending-after-query.c: New file.
17323 * gdb.threads/continue-pending-after-query.exp: New file.
17324
717cf30c
AG
173252015-01-22 Anders Granlund <anders.granlund@ericsson.com>
17326 Simon Marchi <simon.marchi@ericsson.com>
17327
17328 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
17329 * gdb.base/valgrind-db-attach.exp: Same.
17330 * gdb.base/valgrind-infcall.exp: Same.
17331 * lib/mi-support.exp (default_mi_gdb_start): Same.
17332 * lib/prompt.exp (default_prompt_gdb_start): Same.
17333 * lib/gdb.exp (default_gdb_spawn): Same.
17334 (gdb_interact): New.
17335
17336
4b62a76e
JK
173372015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17338
17339 * gdb.compile/compile.exp (pointer to jit function): New test.
17340
b4cdae6f
WW
173412015-01-17 Wei-cheng Wang <cole945@gmail.com>
17342
17343 * lib/gdb.exp (supports_process_record): Return true for
17344 powerpc*-*-linux*.
17345 (supports_reverse): Likewise.
17346
d221e7ef
DB
173472015-01-15 Don Breazeal <donb@codesourcery.com>
17348
17349 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
17350 instead of checking whether the target board is remote and
17351 use spawn_wait_for_attach instead of exec/sleep.
17352 * gdb.base/attach-twice.exp: Likewise.
17353
bafffb51
JB
173542015-01-15 Joel Brobecker <brobecker@adacore.com>
17355
17356 * gdb.ada/var_arr_attrs: New testcase.
17357
5589af0e
PA
173582015-01-14 Pedro Alves <palves@redhat.com>
17359 Joel Brobecker <brobecker@adacore.com>
17360
17361 PR gdb/17525
17362 * gdb.base/bp-cmds-execution-x-script.c: New file.
17363 * gdb.base/bp-cmds-execution-x-script.exp: New file.
17364 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
17365
6c400b59
PA
173662015-01-14 Pedro Alves <palves@redhat.com>
17367
17368 PR cli/17828
17369 * gdb.base/batch-preserve-term-settings.c: New file.
17370 * gdb.base/batch-preserve-term-settings.exp: New file.
17371
e02c96a7
DE
173722015-01-13 Doug Evans <dje@google.com>
17373
17374 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
17375 binary.
17376
576fd14c
JB
173772015-01-13 Joel Brobecker <brobecker@adacore.com>
17378
17379 * Makefile.in (clean mostlyclean): Do not delete *.py.
17380
04dccad0
JB
173812015-01-13 Joel Brobecker <brobecker@adacore.com>
17382
17383 * gdb.python/py-lookup-type.exp: New file.
17384
3d230f71
PA
173852015-01-12 Pedro Alves <palves@redhat.com>
17386
17387 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
17388 restore GDBFLAGS before returning.
17389
7e67715d
JK
173902015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17391
17392 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
17393 is_amd64_regs_target and is_x86_like_target.
17394
f2e0d4b4
DE
173952015-01-11 Doug Evans <xdje42@gmail.com>
17396
17397 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
17398 is given without an explicit form.
17399 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
17400 attributes.
17401 * gdb.dwarf/corrupt.exp: Ditto.
17402 * gdb.dwarf2/enum-type.exp: Ditto.
17403 * gdb.trace/entry-values.exp: Ditto.
17404 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
17405
439250fb
DE
174062015-01-11 Doug Evans <xdje42@gmail.com>
17407
17408 PR gdb/15830
17409 * gdb.base/maint.exp: Remove references to "maint demangle".
17410 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
17411 Add tests for explicitly specifying language to demangle.
17412 * gdb.dlang/demangle.exp: Ditto.
17413
ede9f622
PA
174142015-01-09 Pedro Alves <palves@redhat.com>
17415
17416 * gdb.threads/non-stop-fair-events.c: New file.
17417 * gdb.threads/non-stop-fair-events.exp: New file.
17418
a7b796db
PA
174192015-01-09 Pedro Alves <palves@redhat.com>
17420
17421 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
17422 the global scope. Set a breakpoint after all threads are started
17423 rather than stepping over two source lines. Expect the prompt.
17424 * gdb.base/watch_thread_num.c (threads_started_barrier): New
17425 global.
17426 (NUM): Now 15.
17427 (main): Use threads_started_barrier to wait for all threads to
17428 start. Main thread no longer calls thread_function. Exit after
17429 180 seconds.
17430 (loop): New function.
17431 (thread_function): Wait on threads_started_barrier barrier. Call
17432 'loop' at each iteration.
17433 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
17434 threads have started, instead of hardcoding number of "next"
17435 steps. Use an access watchpoint instead of a write watchpoint.
17436
9665ffdd
PA
174372015-01-09 Pedro Alves <palves@redhat.com>
17438
17439 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
17440 (thread_func): Wait on barrier.
17441 (main): Wait for all threads to start before stopping GDB.
17442 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
17443 global.
17444 (thread1_func, thread2_func): Wait on barrier.
17445 (main): Wait for all threads to start before stopping GDB.
17446 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
17447 New global.
17448 (thread1_func, thread2_func): Wait on barrier.
17449 (main): Wait for all threads to start before stopping GDB.
17450
c945a99f
PA
174512015-01-09 Pedro Alves <palves@redhat.com>
17452
17453 * gdb.threads/attach-many-short-lived-threads.c: New file.
17454 * gdb.threads/attach-many-short-lived-threads.exp: New file.
17455
c1a747c1
PA
174562014-01-09 Pedro Alves <palves@redhat.com>
17457
17458 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
17459 instead of to thread 2.
17460 * gdb.threads/signal-command-multiple-signals-pending.c (main):
17461 Add barrier around each pthread_create call instead of around all
17462 calls.
17463 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
17464 Set a break on thread_function and have the child threads hit it
17465 one at at a time.
17466
60b3033e
PA
174672015-01-09 Pedro Alves <palves@redhat.com>
17468
17469 * lib/gdb.exp (can_spawn_for_attach): New procedure.
17470 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
17471 false.
17472 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
17473 checking whether the target board is remote.
17474 * gdb.multi/multi-attach.exp: Likewise.
17475 * gdb.python/py-sync-interp.exp: Likewise.
17476 * gdb.server/ext-attach.exp: Likewise.
17477 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
17478 tests that need to attach, instead of checking whether the target
17479 board is remote at the top of the file.
17480
acc018ac
YQ
174812015-01-08 Yao Qi <yao@codesourcery.com>
17482
17483 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
17484
50a18af8
JK
174852015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17486
17487 Fix testcase compilation.
17488 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
17489
8503d6e1
JB
174902015-01-06 Joel Brobecker <brobecker@adacore.com>
17491
17492 * gdb.python/py-type.exp: Add a couple test about empty
17493 array creation, and negative-length array creation.
17494
cc73dbcc
DE
174952015-01-02 Doug Evans <xdje42@gmail.com>
17496
17497 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
17498
0300bbc7
DE
174992015-01-02 Doug Evans <dje@google.com>
17500
17501 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
17502
9d85a0ec
YQ
175032014-12-29 Yao Qi <yao@codesourcery.com>
17504
17505 * gdb.trace/entry-values.exp: Update comments. Rename variable
17506 bar_call_foo to returned_from_foo.
17507
87186c6a
MMN
175082014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
17509
17510 PR gdb/17394
17511 * gdb.linespec/break-asm-file.c: New file.
17512 * gdb.linespec/break-asm-file.exp: New file.
17513 * gdb.linespec/break-asm-file0.s: New file.
17514 * gdb.linespec/break-asm-file1.s: New file.
17515
1bab7383
YQ
175162014-12-18 Nigel Stephens <nigel@mips.com>
17517 Maciej W. Rozycki <macro@codesourcery.com>
17518
17519 * gdb.base/float.exp: Handle the new output from "info float" on
17520 MIPS targets.
17521
1bc1068a
JK
175222014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17523
17524 Fix MinGW compilation.
17525 * gdb.compile/compile-ops.exp: Update untested message if
17526 !skip_compile_feature_tests.
17527 * gdb.compile/compile-setjmp.exp: Likewise.
17528 * gdb.compile/compile-tls.exp: Likewise.
17529 * gdb.compile/compile.exp: Likewise.
17530 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
17531 supported on this host".
17532
b6615d10
DE
175332014-12-16 Doug Evans <xdje42@gmail.com>
17534
17535 * boards/stabs.exp: New file.
17536
25dda427
AA
175372014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
17538
17539 * gdb.base/completion.exp: Adjust to format changes of "maint
17540 print user-registers".
17541
bf330350
CU
175422014-12-16 Catalin Udma <catalin.udma@freescale.com>
17543
17544 PR server/17457
17545 * gdb.arch/aarch64-fp.c: New file.
17546 * gdb.arch/aarch64-fp.exp: New file.
17547
395cf596
SDJ
175482014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
17549
17550 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
17551 r210637, r210913, r211666, r215400, r215817).
17552
17553 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
17554 * dg-extract-results.py: New file.
17555 * dg-extract-results.sh: Use it if the environment seems
17556 suitable.
17557
17558 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
17559
17560 * dg-extract-results.py (parse_run): Handle warnings that
17561 are printed before a test harness is run.
17562
17563 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
17564
17565 * dg-extract-results.py (Named): Remove __cmp__ method.
17566 (output_variation): Use a key to sort variation.harnesses.
17567
17568 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
17569
17570 * dg-extract-results.py: For Python 3, force sys.stdout to
17571 handle surrogate escape sequences.
17572 (safe_open): New function.
17573 (output_segment, main): Use it.
17574
17575 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
17576
17577 * dg-extract-results.py (Prog.result_re): Include options
17578 in test name.
17579
17580 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
17581
17582 * dg-extract-results.py (output_variation): Always sort if
17583 do_sum.
17584
e882ef3c
SM
175852014-12-15 Simon Marchi <simon.marchi@ericsson.com>
17586
17587 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
17588 as long as we get pagination notifications.
17589
4992aa20
JM
175902014-12-15 Jason Merrill <jason@redhat.com>
17591
17592 * Makefile.in (check-gdb.%): Restore.
17593 * README: Mention it.
17594
c1b5a1a6
JB
175952014-12-13 Joel Brobecker <brobecker@adacore.com>
17596
17597 * gdb.ada/str_uninit: New testcase.
17598
5537b577
JK
175992014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17600
17601 PR symtab/17642
17602 * gdb.base/vla-stub-define.c: New file.
17603 * gdb.base/vla-stub.c: New file.
17604 * gdb.base/vla-stub.exp: New file.
17605
bb2ec1b3
TT
176062014-12-12 Phil Muldoon <pmuldoon@redhat.com>
17607 Jan Kratochvil <jan.kratochvil@redhat.com>
17608 Tom Tromey <tromey@redhat.com>
17609
17610 * configure.ac: Add gdb.compile/.
17611 * configure: Regenerate.
17612 * gdb.compile/Makefile.in: New file.
17613 * gdb.compile/compile-ops.exp: New file.
17614 * gdb.compile/compile-ops.c: New file.
17615 * gdb.compile/compile-tls.c: New file.
17616 * gdb.compile/compile-tls.exp: New file.
17617 * gdb.compile/compile-constvar.S: New file.
17618 * gdb.compile/compile-constvar.c: New file.
17619 * gdb.compile/compile-mod.c: New file.
17620 * gdb.compile/compile-nodebug.c: New file.
17621 * gdb.compile/compile-setjmp-mod.c: New file.
17622 * gdb.compile/compile-setjmp.c: New file.
17623 * gdb.compile/compile-setjmp.exp: New file.
17624 * gdb.compile/compile-shlib.c: New file.
17625 * gdb.compile/compile.c: New file.
17626 * gdb.compile/compile.exp: New file.
17627 * lib/gdb.exp (skip_compile_feature_tests): New proc.
17628
4ff709eb
TT
176292014-12-12 Tom Tromey <tromey@redhat.com>
17630
17631 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
17632 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
17633
6dddd6a5
DE
176342014-12-12 Doug Evans <dje@google.com>
17635
17636 * lib/gdb-python.exp (get_python_valueof): New function.
17637 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
17638
71c24708
AA
176392014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17640
17641 * gdb.base/completion.exp: Add test for completion of "info
17642 registers ".
17643
3e29f34a
MR
176442014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
17645
17646 * gdb.base/func-ptrs.c: New file.
17647 * gdb.base/func-ptrs.exp: New file.
17648
fc126975
SM
176492014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17650
17651 PR breakpoints/17012
17652 * gdb.base/dprintf-detach.c: New file.
17653 * gdb.base/dprintf-detach.exp: New file.
17654
0a46d518
SM
176552014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17656
17657 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
17658 * lib/gdb.exp (target_is_gdbserver): New procedure.
17659
a0be3e44
DE
176602014-12-08 Doug Evans <dje@google.com>
17661
17662 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
17663
df1b803a
YQ
176642014-12-05 Yao Qi <yao@codesourcery.com>
17665
17666 * gdb.guile/scm-error.exp: Remove the third argument to
17667 gdb_remote_download.
17668 * gdb.guile/scm-frame-args.exp: Likewise.
17669 * gdb.guile/scm-section-script.exp: Likewise.
17670
ddb9f679
YQ
176712014-12-05 Yao Qi <yao@codesourcery.com>
17672
17673 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
17674
86e4ed39
DE
176752014-12-04 Doug Evans <dje@google.com>
17676
17677 * gdb.python/py-objfile.exp: Add tests for
17678 objfile.add_separate_debug_file.
17679
7c50a931
DE
176802014-12-04 Doug Evans <dje@google.com>
17681
17682 * lib/gdb.exp (get_build_id): New function.
17683 (build_id_debug_filename_get): Rewrite to use it.
17684 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
17685
621661e3
MR
176862014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
17687
17688 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
17689 `method(long)', not just 0x0.
17690 * gdb.cp/nsalias.exp: Align code labels to 4.
17691 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
17692 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
17693 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
17694 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
17695 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
17696 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
17697
29f0c3b7
DE
176982014-12-02 Doug Evans <dje@google.com>
17699
e1e061e7 17700 PR symtab/17602
29f0c3b7 17701 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 17702 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
17703 * gdb.cp/anon-ns.exp: Update.
17704
162078c8
NB
177052014-12-02 Nick Bull <nicholaspbull@gmail.com>
17706
17707 * gdb.python/py-events.py (inferior_call_handler): New.
17708 (register_changed_handler, memory_changed_handler): New.
17709 (test_events.invoke): Register new handlers.
17710 * gdb.python/py-events.exp: Add tests for inferior call,
17711 memory_changed and register_changed events.
17712
fdb09caf
AA
177132014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17714
17715 * gdb.base/execl-update-breakpoints.exp: Specify the link address
17716 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
17717 if the linker doesn't understand this.
17718
55cfb2c4
SM
177192014-12-01 Simon Marchi <simon.marchi@ericsson.com>
17720
17721 * gdb.python/python.exp: Change expected reply to help().
17722
9e8cd6df
YQ
177232014-12-01 Yao Qi <yao@codesourcery.com>
17724
17725 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
17726 AC_CONFIG_SUBDIRS(gdb.gdbtk).
17727 * configure: Re-generated.
17728
6c659fc2
SC
177292014-11-28 Siva Chandra Reddy <sivachandra@google.com>
17730
17731 * gdb.cp/chained-calls.cc: New file.
17732 * gdb.cp/chained-calls.exp: New file.
17733 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
17734
d7fc3181
SM
177352014-11-28 Simon Marchi <simon.marchi@ericsson.com>
17736
17737 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
17738 * gdb.dwarf2/symtab-producer.exp: Same.
17739 * gdb.gdb/python-interrupts.exp: Same.
17740 * gdb.gdb/python-selftest.exp: Same.
17741 * gdb.python/py-linetable.exp: Same.
17742 * gdb.python/py-type.exp: Same.
17743 * gdb.python/py-value-cc.exp: Same.
17744 * gdb.python/py-value.exp: Same.
17745
10e79639
YQ
177462014-11-28 Yao Qi <yao@codesourcery.com>
17747
17748 * gdb.base/break-probes.exp: Match library name prefixed with
17749 sysroot.
17750
f28a0564
SM
177512014-11-27 Simon Marchi <simon.marchi@ericsson.com>
17752
17753 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
17754 test expected output. Add parentheses for the call to print.
17755 Remove L suffix from integers.
17756
3fe1ce1d
DE
177572014-11-26 Doug Evans <dje@google.com>
17758
17759 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
17760
84429e27
YQ
177612014-11-22 Yao Qi <yao@codesourcery.com>
17762
17763 * gdb.trace/entry-values.c: Remove asms.
17764 (foo): Add foo_label.
17765 (bar): Add bar_label.
17766 * gdb.trace/entry-values.exp: Remove code computing foo's
17767 length and bar's length.
17768 (Dwarf::assemble): Invoke function_range for bar and use
17769 MACRO_AT_func for foo.
17770
26741859
YQ
177712014-11-22 Yao Qi <yao@codesourcery.com>
17772
17773 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
17774 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
17775 Use .Lgcc43_procstart instead of gcc43.
17776
45e44d27
JB
177772014-11-21 Joel Brobecker <brobecker@adacore.com>
17778
17779 * gdb.ada/n_arr_bound: New testcase.
17780
458c8db8
SDJ
177812014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
17782
17783 PR breakpoints/10737
17784 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
17785 test_catch_syscall_multi_arch.
17786 (test_catch_syscall_multi_arch): New function.
17787
43f3e411
DE
177882014-11-20 Doug Evans <xdje42@gmail.com>
17789
17790 * gdb.base/maint.exp: Update expected output.
17791
0d7b2549
AA
177922014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
17793
17794 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
17795 4-byte instruction on S390.
17796
8908fca5
JB
177972014-11-19 Joel Brobecker <brobecker@adacore.com>
17798
17799 * gdb.ada/arr_arr: New testcase.
17800
4a46959e
JB
178012014-11-19 Joel Brobecker <brobecker@adacore.com>
17802
17803 * gdb.ada/pkd_arr_elem: New Testcase.
17804
470e2f4e
LM
178052014-11-18 Luis Machado <lgustavo@codesourcery.com>
17806
17807 * gdb.reverse/break-precsave: Expect completion message for
17808 core file reads.
17809 * gdb.reverse/consecutive-precsave.exp: Likewise.
17810 * gdb.reverse/finish-precsave.exp: Likewise.
17811 * gdb.reverse/i386-precsave.exp: Likewise.
17812 * gdb.reverse/machinestate-precsave.exp: Likewise.
17813 * gdb.reverse/sigall-precsave.exp: Likewise.
17814 * gdb.reverse/solib-precsave.exp: Likewise.
17815 * gdb.reverse/step-precsave.exp: Likewise.
17816 * gdb.reverse/until-precsave.exp: Likewise.
17817 * gdb.reverse/watch-precsave.exp: Likewise.
17818
a267f3ad
AA
178192014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17820
17821 * gdb.base/bp-permanent.c: Include unistd.h.
17822 * gdb.python/py-framefilter-mi.c (main): Add return type.
17823 * gdb.python/py-framefilter.c (main): Likewise.
17824 * gdb.trace/actions-changed.c (main): Likewise.
17825
12084a9a
AA
178262014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17827
17828 * gdb.mi/until.c: Add eye-catchers.
17829 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
17830 line numbers.
17831
dc7e1a77
AA
178322014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17833
17834 * gdb.base/condbreak.exp: Drop references to removed non-prototype
17835 function header variants in break1.c.
17836 * gdb.base/ena-dis-br.exp: Likewise.
17837 * gdb.base/hbreak2.exp: Likewise.
17838 * gdb.reverse/until-precsave.exp: Drop references to removed
17839 non-prototype function header variants in ur1.c.
17840 * gdb.reverse/until-reverse.exp: Likewise.
17841
41c77605
PM
178422014-11-17 Petr Machata <pmachata@redhat.com>
17843
17844 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
17845 ${_cu_offset_size} bytes abbrev offset.
17846
34248c3a
DE
178472014-11-15 Doug Evans <xdje42@gmail.com>
17848
17849 PR symtab/17559
17850 * gdb.base/line-symtabs.exp: New file.
17851 * gdb.base/line-symtabs.c: New file.
17852 * gdb.base/line-symtabs.h: New file.
17853
646da059
YQ
178542014-11-14 Yao Qi <yao@codesourcery.com>
17855
17856 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
17857 (func): Add label func_label.
17858 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
17859 Replace low_pc and high_pc with MACRO_AT_range.
17860 Replace name, low_pc and high_pc with MACRO_AT_func.
17861
9301ebe6
YQ
178622014-11-14 Yao Qi <yao@codesourcery.com>
17863
17864 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
17865 Replace name, low_pc and high_pc with MACRO_AT_func.
17866
f166b542
YQ
178672014-11-14 Yao Qi <yao@codesourcery.com>
17868
17869 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
17870 produce debug information.
17871 * gdb.dwarf2/implptr-optimized-out.S: Removed.
17872
0f6e71e3
YQ
178732014-11-14 Yao Qi <yao@codesourcery.com>
17874
17875 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
17876 object and get function length.
17877 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
17878 with MACRO_AT_func.
17879 (top-level): Replace gdb_compile and clean_restart with
17880 prepare_for_testing.
17881 * gdb.dwarf2/main.c (main): Add label main_label.
17882
876c4df9
YQ
178832014-11-14 Yao Qi <yao@codesourcery.com>
17884
17885 * lib/dwarf.exp (function_range): New procedure.
17886 (Dwarf::_handle_macro_at_func): New procedure.
17887 (Dwarf::_handle_macro_at_range): New procedure.
17888 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
17889
02ad9cf1
YQ
178902014-11-14 Yao Qi <yao@codesourcery.com>
17891
17892 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
17893 (_handle_attribute): New procedure.
17894
a59add0c
AA
178952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17896
17897 * gdb.ada/cond_lang/foo.c (callme): Add return type.
17898 * gdb.base/call-sc.c (zed): Likewise.
17899 * gdb.base/checkpoint.c (main): Likewise.
17900 * gdb.base/dump.c (main): Likewise.
17901 * gdb.base/gcore.c (main): Likewise.
17902 * gdb.base/huge.c (main): Likewise.
17903 * gdb.base/multi-forks.c (main): Likewise.
17904 * gdb.base/pr10179-a.c (main): Likewise.
17905 * gdb.base/savedregs.c (main): Likewise.
17906 * gdb.base/sigaltstack.c (main): Likewise.
17907 * gdb.base/siginfo.c (main): Likewise.
17908 * gdb.base/structs.c (zed): Likewise.
17909 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
17910 * gdb.mi/mi-syn-frame.c (main): Likewise.
17911 * gdb.mi/until.c (foo, main): Likewise.
17912 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
17913 * gdb.base/solib-weak.c (foo): Declare.
17914 * gdb.base/attach-twice.c: Include stdio.h.
17915 * gdb.base/weaklib1.c: Likewise.
17916 * gdb.base/weaklib2.c: Likewise.
17917 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
17918 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
17919 unistd.h.
17920 * gdb.base/attach-pie-misread.c: Include stdlib.h.
17921 * gdb.mi/mi-exit-code.c: Likewise.
17922 * gdb.base/break-interp-lib.c: Include string.h.
17923 * gdb.base/coremaker.c: Likewise.
17924 * gdb.base/testenv.c: Likewise.
17925 * gdb.python/py-finish-breakpoint.c: Likewise.
17926 * gdb.base/inferior-died.c: Include sys/wait.h.
17927 * gdb.base/fileio.c: Include time.h.
17928 * gdb.base/async-shell.c: Include unistd.h.
17929 * gdb.base/dprintf-non-stop.c: Likewise.
17930 * gdb.base/info-os.c: Likewise.
17931 * gdb.mi/mi-console.c: Likewise.
17932 * gdb.mi/watch-nonstop.c: Likewise.
17933 * gdb.python/py-events.c: Likewise.
17934 * gdb.base/async.c (baz): Move up before its invocation.
17935 * gdb.base/code_elim2.c (my_global_func): Likewise.
17936 * gdb.base/skip-solib-lib.c (multiply): Likewise.
17937 * gdb.base/advance.c (func2): Likewise.
17938
3b5d5997
AA
179392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17940
17941 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
17942 variant.
17943 * gdb.base/annota3.c: Likewise.
17944 * gdb.base/async.c: Likewise.
17945 * gdb.base/average.c: Likewise.
17946 * gdb.base/call-ar-st.c: Likewise.
17947 * gdb.base/call-rt-st.c: Likewise.
17948 * gdb.base/call-sc.c: Likewise.
17949 * gdb.base/call-strs.c: Likewise.
17950 * gdb.base/ending-run.c: Likewise.
17951 * gdb.base/execd-prog.c: Likewise.
17952 * gdb.base/exprs.c: Likewise.
17953 * gdb.base/foll-exec.c: Likewise.
17954 * gdb.base/foll-fork.c: Likewise.
17955 * gdb.base/foll-vfork.c: Likewise.
17956 * gdb.base/funcargs.c: Likewise.
17957 * gdb.base/gcore.c: Likewise.
17958 * gdb.base/jump.c: Likewise.
17959 * gdb.base/langs0.c: Likewise.
17960 * gdb.base/langs1.c: Likewise.
17961 * gdb.base/langs2.c: Likewise.
17962 * gdb.base/mips_pro.c: Likewise.
17963 * gdb.base/nodebug.c: Likewise.
17964 * gdb.base/opaque0.c: Likewise.
17965 * gdb.base/opaque1.c: Likewise.
17966 * gdb.base/recurse.c: Likewise.
17967 * gdb.base/run.c: Likewise.
17968 * gdb.base/scope0.c: Likewise.
17969 * gdb.base/scope1.c: Likewise.
17970 * gdb.base/setshow.c: Likewise.
17971 * gdb.base/setvar.c: Likewise.
17972 * gdb.base/shmain.c: Likewise.
17973 * gdb.base/shr1.c: Likewise.
17974 * gdb.base/shr2.c: Likewise.
17975 * gdb.base/sigall.c: Likewise.
17976 * gdb.base/signals.c: Likewise.
17977 * gdb.base/so-indr-cl.c: Likewise.
17978 * gdb.base/solib2.c: Likewise.
17979 * gdb.base/structs.c: Likewise.
17980 * gdb.base/sum.c: Likewise.
17981 * gdb.base/vforked-prog.c: Likewise.
17982 * gdb.base/watchpoint.c: Likewise.
17983 * gdb.reverse/shr2.c: Likewise.
17984 * gdb.reverse/until-reverse.c: Likewise.
17985 * gdb.reverse/ur1.c: Likewise.
17986 * gdb.reverse/watch-reverse.c: Likewise.
17987
066a77c5
AA
179882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17989
17990 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
17991 variant.
17992 * gdb.base/sepdebug.exp: Drop references to removed code.
17993
4f204ea5
AA
179942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17995
17996 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
17997 variant. Preserve original line numbering.
17998 * gdb.base/list1.c: Likewise.
17999
3b377a3a
AA
180002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18001
18002 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
18003 variant.
18004 * gdb.base/break1.c: Likewise.
18005 * gdb.base/break.exp: Drop references to removed code.
18006
e444df73
AA
180072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18008
18009 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
18010 variant.
18011
8008f2a7
AA
180122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18013
18014 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
18015
a5a06887
AA
180162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18017
18018 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
18019 logic into perform_all_tests() and invoke it with and without
18020 function header prototypes.
18021 (do_function_calls): Remove conditional XFAIL for PR 5318.
18022 (rerun_and_prepare): Remove duplicate code.
18023 (perform_all_tests): New. Main logic moved here.
18024
44dba9b9
AA
180252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18026
18027 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
18028 code guarded by #ifdef NO_PROTOTYPES.
18029 (t_double_many_args): Likewise.
18030 (DEF_FUNC_MANY_ARGS_1): Likewise.
18031 (DEF_FUNC_VALUES_1): Likewise.
18032 (t_structs_ldc): Renamed from t_structs_fc in conditional code
18033 guarded by #ifdef PROTOTYPES.
18034
d1fbcd56
AA
180352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18036
18037 * gdb.mi/mi-console.c: Add eye-catcher.
18038 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
18039 instead of literal line number.
18040
b0e59b8f
AA
180412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18042
18043 * gdb.base/shr2.c: Add eye-catcher.
18044 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
18045 line number.
18046
78f98cca
AA
180472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18048
18049 * gdb.base/jump.c: Add eye-catchers.
18050 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
18051 numbers.
18052
58fa2af0
AA
180532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18054
18055 * gdb.base/execd-prog.c: Add eye-catchers.
18056 * gdb.base/foll-exec.c: Likewise.
18057 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
18058 line numbers.
18059
04e5059b
AA
180602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18061
18062 * gdb.base/ending-run.c: Add eye-catchers.
18063 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
18064 literal line numbers.
18065
dbfdb174
AA
180662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18067
18068 * gdb.base/call-rt-st.c: Add eye-catchers.
18069 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
18070 literal line numbers.
18071
888a2ade
AA
180722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18073
18074 * gdb.base/call-ar-st.c: Add eye-catchers.
18075 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
18076 literal line numbers.
18077
6acc2dde
AA
180782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18079
18080 * gdb.base/average.c: Add eye-catchers.
18081 * gdb.base/sum.c: Likewise.
18082 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
18083 regexps dynamically.
18084
9ecfcd1d
AA
180852014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18086
18087 * gdb.base/solib1.c: Add eye-catchers.
18088 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
18089 literal line numbers.
18090
78708b7c
PA
180912014-11-12 Pedro Alves <palves@redhat.com>
18092
18093 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
18094 leader has exited.
18095
af48d08f
PA
180962014-11-12 Pedro Alves <palves@redhat.com>
18097
18098 * gdb.arch/i386-bp_permanent.c: New file.
18099 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
18100 (srcfile): Set to i386-bp_permanent.c.
18101 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
18102 that stepi does not execute the 'leave' instruction, instead of
18103 testing it does execute.
18104 * gdb.base/bp-permanent.c: New file.
18105 * gdb.base/bp-permanent.exp: New file.
18106
af3768e9
DE
181072014-11-10 Doug Evans <xdje42@gmail.com>
18108
18109 PR symtab/17564
18110 * gdb.base/symtab-search-order.exp: New file.
18111 * gdb.base/symtab-search-order.c: New file.
18112 * gdb.base/symtab-search-order-1.c: New file.
18113 * gdb.base/symtab-search-order-shlib-1.c: New file.
18114
9de00a4a
PA
181152014-11-07 Pedro Alves <palves@redhat.com>
18116
18117 PR gdb/17511
18118 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
18119 i?86-*-linux*.
18120
e0f52461
SC
181212014-11-03 Siva Chandra Reddy <sivachandra@google.com>
18122
18123 PR c++/17494
18124 * gdb.cp/pr17494.cc: New file.
18125 * gdb.cp/pr17494.exp: New file.
18126
6ce8c980
YQ
181272014-11-02 Yao Qi <yao@codesourcery.com>
18128
18129 * gdb.python/python.exp: Get working directory and match the
18130 output of "set extended-prompt \\w " with it.
18131
02be9a71
DE
181322014-10-30 Doug Evans <dje@google.com>
18133
18134 * gdb.python/py-objfile.exp: Add tests for setting random attributes
18135 in objfiles.
18136 * gdb.python/py-progspace.exp: Add tests for setting random attributes
18137 in progspaces.
18138
3bdff46b
LM
181392014-10-30 Janis Johnson <janisjo@codesourcery.com>
18140
18141 * gdb.base/fullpath-expand.exp: Skip for a remote host.
18142 * gdb.base/realname-expand.exp: Likewise.
18143 * gdb.linespec/macro-relative.exp: Likewise.
18144
ab917dfb
PA
181452014-10-29 Pedro Alves <palves@redhat.com>
18146
18147 PR gdb/17408
18148 * gdb.threads/schedlock.c (some_function): New function.
18149 (call_function): New global.
18150 (MAYBE_CALL_SOME_FUNCTION): New macro.
18151 (thread_function): Call it.
18152 * gdb.threads/schedlock.exp (get_args): Add description parameter,
18153 and use it instead of a global counter. Adjust all callers.
18154 (get_current_thread): Use "find current thread" for test message
18155 here rather than having all callers pass down the same string.
18156 (goto_loop): New procedure, factored out from ...
18157 (my_continue): ... this.
18158 (step_ten_loops): Change parameter from test message to command to
18159 use. Adjust.
18160 (list_count): Delete global.
18161 (check_result): New procedure, factored out from duplicate top
18162 level code.
18163 (continue tests): Wrap in with_test_prefix.
18164 (test_step): New procedure, factored out from duplicate top level
18165 code.
18166 (top level): Test "step" in combination with all scheduler-locking
18167 modes. Test "next" in combination with all scheduler-locking
18168 modes, and in combination with stepping over a function call or
18169 not.
18170 * gdb.threads/next-bp-other-thread.c: New file.
18171 * gdb.threads/next-bp-other-thread.exp: New file.
18172
d3d4baed
PA
181732014-10-29 Pedro Alves <palves@redhat.com>
18174
18175 PR python/17372
18176 * gdb.python/python.exp: Test a multi-line command that spawns
18177 interactive Python.
18178 * gdb.base/multi-line-starts-subshell.exp: New file.
18179
563e8d85
YQ
181802014-10-29 Yao Qi <yao@codesourcery.com>
18181
18182 * gdb.base/fileio.exp: Make directories on host.
18183
0ea4d52e
YQ
181842014-10-29 Yao Qi <yao@codesourcery.com>
18185
18186 * gdb.base/fileio.c (test_write): Close the file.
18187
7f5ef605
PA
181882014-10-28 Pedro Alves <palves@redhat.com>
18189
18190 PR gdb/12623
18191 * gdb.base/sigstep.c (no_handler): New global.
18192 (main): If 'no_handler is true, set the signal handlers to
18193 SIG_IGN.
18194 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
18195 with_sw_watch and no_handler parameters. Handle them.
18196 (top level) <stepping over handler when stopped at a breakpoint
18197 test>: Add a test axis for testing with a software watchpoint, and
18198 another for testing with the signal handler set to SIG_IGN.
18199 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
18200 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
18201
abbdbd03
PA
182022014-10-28 Pedro Alves <palves@redhat.com>
18203
18204 PR gdb/17511
18205 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
18206 * gdb.base/sigstep.exp (other_handler_location): New global.
18207 (advance): Support stepping into the signal handler, and running
18208 commands while in the handler.
18209 (in_handler_map): New global.
18210 (top level): In the advance test, add combinations for getting
18211 into the handler with stepping commands, and for running commands
18212 in the handler. Add comment descripting the advancei tests.
18213
1df4399f
PA
182142014-10-28 Pedro Alves <palves@redhat.com>
18215
18216 * gdb.base/sigstep.exp: Use build_executable instead of
18217 prepare_for_testing.
18218 (top level): Move code that starts GDB, runs to main and creates a
18219 display to ...
18220 (restart): ... this new procedure.
18221 (top level): Move backtrace from signal handler test to ...
18222 (validate_backtrace): ... this new procedure.
18223 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
18224 with_test_prefix. Always restart GDB.
18225 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
18226 with_test_prefix. Always restart GDB. No need to delete
18227 breakpoints after the test.
18228 (test_skip_handler): Remove prefix parameter.
18229 (skip_over_handler, breakpoint_to_handler)
18230 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
18231 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
18232 restart GDB. No need to delete breakpoints after the test.
18233 (top level): Use foreach to call the test procedures with
18234 different commands.
18235
a5b6e449
PA
182362014-10-28 Pedro Alves <palves@redhat.com>
18237
18238 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
18239 instead of GNATS numbers.
18240 * gdb.base/sigbpt.exp: Likewise.
18241 * gdb.base/siginfo.exp: Likewise.
18242 * gdb.base/sigstep.exp: Likewise.
18243
e5f8a7cc
PA
182442014-10-27 Pedro Alves <palves@redhat.com>
18245
18246 * gdb.base/sigstep.c (dummy): New global.
18247 (main): Issue a couple writes to the new global.
18248 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
18249 procedures.
18250 (skip_over_handler): Use test_skip_handler.
18251 (top level): Call skip_over_handler for stepi and nexti too.
18252 (breakpoint_over_handler): Use test_skip_handler.
18253 (top level): Call breakpoint_over_handler for stepi and nexti too.
18254
763905a3
YQ
182552014-10-27 Yao Qi <yao@codesourcery.com>
18256
18257 * gdb.trace/tfile.c (adjust_function_address)
18258 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
18259 function descriptor.
18260
6f259a23
DB
182612014-10-24 Don Breazeal <donb@codesourcery.com>
18262
18263 * gdb.base/foll-fork.exp (test_follow_fork,
18264 catch_fork_child_follow): Check for updated fork messages emitted
18265 from infrun.c.
18266 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
18267 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
18268 vfork_and_exec_child_follow_through_step): Check for updated vfork
18269 messages emitted from infrun.c.
18270
09dd9a69
PA
182712014-10-24 Pedro Alves <palves@redhat.com>
18272
18273 * gdb.base/corefile.exp: Remove references to ultrix.
18274 * gdb.base/interrupt.exp: Likewise.
18275 * gdb.base/whatis.exp: Likewise.
18276 * gdb.gdb/selftest.exp: Likewise.
18277 * gdb.threads/manythreads.exp: Likewise.
18278 * gdb.threads/print-threads.exp: Likewise.
18279 * gdb.threads/pthreads.exp:: Likewise.
18280 * gdb.threads/schedlock.exp: Likewise.
18281
3433cfa5
SC
182822014-10-24 Siva Chandra Reddy <sivachandra@google.com>
18283
18284 * gdb.cp/non-trivial-retval.cc: Add a test case.
18285 * gdb.cp/non-trivial-retval.exp: Add a test.
18286
092f880b
YQ
182872014-10-20 Yao Qi <yao@codesourcery.com>
18288
18289 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
18290 * gdb.python/py-objfile-script-gdb.py: New file.
18291 * gdb.python/py-objfile-script.exp: Update reference to
18292 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
18293 of remote_download. Remove the dest file.
18294
acbdb7f3
YQ
182952014-10-20 Yao Qi <yao@codesourcery.com>
18296
18297 * gdb.base/checkpoint.exp: Don't remove file copied on host.
18298 * gdb.base/step-line.exp: Likewise.
18299 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18300 * gdb.dwarf2/dw2-basic.exp: Likewise.
18301 * gdb.dwarf2/dw2-compressed.exp: Likewise.
18302 * gdb.dwarf2/dw2-filename.exp: Likewise.
18303 * gdb.dwarf2/dw2-intercu.exp: Likewise.
18304 * gdb.dwarf2/dw2-intermix.exp: Likewise.
18305 * gdb.dwarf2/dw2-producer.exp: Likewise.
18306 * gdb.dwarf2/mac-fileno.exp: Likewise.
18307 * gdb.python/py-frame-args.exp: Likewise.
18308 * gdb.python/py-framefilter.exp: Likewise.
18309 * gdb.python/py-mi.exp: Likewise.
18310 * gdb.python/py-objfile-script.exp: Likewise
18311 * gdb.python/py-pp-integral.exp: Likewise.
18312 * gdb.python/py-pp-re-notag.exp: Likewise.
18313 * gdb.python/py-prettyprint.exp: Likewise.
18314 * gdb.python/py-section-script.exp: Likewise.
18315 * gdb.python/py-typeprint.exp: Likewise.
18316 * gdb.python/py-xmethods.exp: Likewise.
18317 * gdb.stabs/weird.exp: Likewise.
18318 * gdb.xml/tdesc-regs.exp: Likewise.
18319
bd286a29
KCY
183202014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
18321
18322 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
18323 (out_cu): Use addr_len for the size of addresses.
18324 (out_line): Likewise. Size DW_LNE_set_address instruction
18325 according to addr_len.
18326 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
18327 (FUNC): Add START_INSNS to definition.
18328
673dc4a0
YQ
183292014-10-18 Yao Qi <yao@codesourcery.com>
18330
18331 * gdb.base/argv0-symlink.exp: Check argv[0] value if
18332 gdb_has_argv0 return true.
18333 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
18334 check [target_info exists noargs], check [gdb_has_argv0]
18335 instead.
18336 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18337 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
18338 procedures.
18339
4ffbba72
DE
183402014-10-17 Doug Evans <dje@google.com>
18341
18342 * gdb.python/py-events.exp: Update expected output for clear_objfiles
18343 event.
18344 * gdb.python/py-events.py: Add clear_objfiles event.
18345
d096d8c1
DE
183462014-10-17 Doug Evans <dje@google.com>
18347
18348 * gdb.python/py-objfile.exp: Test progspace attribute.
18349
a80db015
LM
183502014-10-17 Luis Machado <lgustavo@codesourcery.com>
18351
18352 * gdb.guile/scm-breakpoint.exp: Do not assume any
18353 directory separators when matching source file paths.
18354 * gdb.python/py-breakpoint.exp: Likewise.
18355 * gdb.reverse/break-precsave.exp: Likewise.
18356 * gdb.reverse/break-reverse.exp: Likewise.
18357 * gdb.reverse/consecutive-precsave.exp: Likewise.
18358 * gdb.reverse/finish-precsave.exp: Likewise.
18359 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
18360 * gdb.reverse/finish-reverse.exp: Likewise.
18361 * gdb.reverse/i386-precsave.exp: Likewise.
18362 * gdb.reverse/i387-env-reverse.exp: Likewise.
18363 * gdb.reverse/i387-stack-reverse.exp: Likewise.
18364 * gdb.reverse/machinestate-precsave.exp: Likewise.
18365 * gdb.reverse/machinestate.exp: Likewise.
18366 * gdb.reverse/sigall-precsave.exp: Likewise.
18367 * gdb.reverse/solib-precsave.exp: Likewise.
18368 * gdb.reverse/step-precsave.exp: Likewise.
18369 * gdb.reverse/until-precsave.exp: Likewise.
18370 * gdb.reverse/watch-precsave.exp: Likewise.
18371 * gdb.reverse/watch-reverse.exp: Likewise.
18372
b22089ab
YQ
183732014-10-17 Yao Qi <yao@codesourcery.com>
18374
18375 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
18376 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
18377
6c4486e6
PA
183782014-10-17 Pedro Alves <palves@redhat.com>
18379
18380 PR gdb/17471
18381 * gdb.base/bg-execution-repeat.c: New file.
18382 * gdb.base/bg-execution-repeat.exp: New file.
18383
0ff33695
PA
183842014-10-17 Pedro Alves <palves@redhat.com>
18385
18386 PR gdb/17300
18387 * gdb.base/continue-all-already-running.c: New file.
18388 * gdb.base/continue-all-already-running.exp: New file.
18389
6fdebc3d
PA
183902014-10-17 Pedro Alves <palves@redhat.com>
18391
18392 PR gdb/17472
18393 * gdb.base/annota-input-while-running.c: New file.
18394 * gdb.base/annota-input-while-running.exp: New file.
18395
32a8097b
PA
183962014-10-17 Pedro Alves <palves@redhat.com>
18397
18398 * gdb.base/callfuncs.exp: emove references to osf.
18399 * gdb.base/sigall.exp: Likewise.
18400 * gdb.gdb/selftest.exp: Likewise.
18401 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18402 * gdb.mi/non-stop.c: Likewise.
18403 * gdb.mi/pthreads.c: Likewise.
18404 * gdb.reverse/sigall-precsave.exp: Likewise.
18405 * gdb.reverse/sigall-reverse.exp: Likewise.
18406 * gdb.threads/pthreads.c: Likewise.
18407 * gdb.threads/pthreads.exp: Likewise.
18408
7a3517ff
YQ
184092014-10-17 Yao Qi <yao@codesourcery.com>
18410
18411 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
18412 check 'target_info exists noargs'.
18413 (test_command_prompt_position): Likewise.
18414 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
18415 Remove "set args".
18416 (progvar_simple_while_test): Likewise.
18417 (progvar_complex_if_while_test): Likewise.
18418 (if_while_breakpoint_command_test): Likewise.
18419 (infrun_breakpoint_command_test): Likewise.
18420 (breakpoint_command_test): Likewise.
18421 (watchpoint_command_test): Likewise.
18422 (bp_deleted_in_command_test): Likewise.
18423 (temporary_breakpoint_commands): Likewise.
18424
bb99c472
YQ
184252014-10-16 Yao Qi <yao@codesourcery.com>
18426
18427 * gdb.base/remotetimeout.exp: Remove noargs checking.
18428
7c16b83e
PA
184292014-10-15 Pedro Alves <palves@redhat.com>
18430
18431 PR breakpoints/9649
18432 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
18433 * gdb.base/breakpoint-in-ro-region.exp
18434 (probe_target_hardware_step): New procedure.
18435 (top level): Probe hardware stepping and hardware breakpoint
18436 support. Test stepping through a read-only region, with both
18437 "breakpoint auto-hw" on and off and both "always-inserted" on and
18438 off.
18439
35a49624
IB
184402014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
18441
18442 * gdb.dlang/demangle.exp: Update for demangling changes.
18443
2d1c107c
SC
184442014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18445
18446 * gdb.cp/non-trivial-retval.cc: Add new test cases.
18447 * gdb.cp/non-trivial-retval.exp: Add new tests.
18448
778811d5
SC
184492014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18450
18451 PR c++/13403
18452 PR c++/15154
18453 * gdb.cp/non-trivial-retval.cc: New file.
18454 * gdb.cp/non-trivial-retval.exp: New file.
18455
10c5f0a8
YQ
184562014-10-15 Yao Qi <yao@codesourcery.com>
18457
18458 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
18459 remote host.
18460
65d7b369
YQ
184612014-10-15 Yao Qi <yao@codesourcery.com>
18462
18463 * gdb.python/py-symbol.exp: Match file base name if host is
18464 remote, otherwise match file name with dir name.
18465 * gdb.python/py-symtab.exp: Likewise.
18466 * gdb.python/python.exp: Likewise.
18467
46dc1394
YQ
184682014-10-15 Yao Qi <yao@codesourcery.com>
18469
18470 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
18471 pattern.
18472 * gdb.python/py-symtab.exp: Likewise.
18473 * gdb.python/python.exp: Remove trailing ".*". Fix typo
18474 locationn.
18475
c40cc657
JB
184762014-10-14 Joel Brobecker <brobecker@adacore.com>
18477
18478 * gdb.ada/addr_arith: New testcase.
18479
2abf49e1
MR
184802014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
18481
18482 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
18483 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
18484 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
18485 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
18486
f7088df3
SDJ
184872014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
18488
18489 * gdb.arch/stap-eval-lang-ada.S: Likewise.
18490 * gdb.arch/stap-eval-lang-ada.c: Likewise.
18491 * gdb.arch/stap-eval-lang-ada.exp: New file.
18492
4dc06805
YQ
184932014-10-14 Yao Qi <yao@codesourcery.com>
18494
18495 * gdb.mi/mi-var-child.c (nothing1): New function.
18496 (nothing2): New function.
18497 (do_children_tests): Set function pointers by nothing1 and
18498 nothing2.
18499 * gdb.mi/mi-var-child.exp: Step over new added statements.
18500 Update test to match the new output.
18501 * gdb.mi/var-cmd.c (nothing1): New function.
18502 (nothing2): New function.
18503 (do_children_tests): Set function pointers by nothing1 and
18504 nothing2.
18505 * gdb.mi/mi-var-display.exp: Update test to match output.
18506 Step to the line specified by $line_dct_nothing.
18507 Increase the number of lines to step.
18508
46a93de2
YQ
185092014-10-14 Yao Qi <yao@codesourcery.com>
18510
18511 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
18512 tests.
18513 * gdb.mi/mi2-var-child.exp: Likewise.
18514
14ea52ee
DE
185152014-10-13 Doug Evans <dje@google.com>
18516
18517 * gdb.python/py-objfile.exp: Change name of file name test.
18518
e5c6e92b
DE
185192014-10-13 Doug Evans <dje@google.com>
18520
18521 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
18522 from the start of the CU.
18523
c780cc2f
JK
185242014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18525 Yao Qi <yao@codesourcery.com>
18526
18527 Fix "save breakpoints" for "catch" command.
18528 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
18529 Remove -nonewline. Match also the added "main" line.
18530
99894e11
JK
185312014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18532
18533 Fix "save breakpoints" for "disable $bpnum" command.
18534 * gdb.base/save-bp.c (main): Add label.
18535 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
18536
6e1ac5a3
JK
185372014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18538
18539 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
18540
754dd2b0
YQ
185412014-10-11 Yao Qi <yao@codesourcery.com>
18542
18543 * gdb.server/server-kill.exp: Execute command
18544 "set remote trace-status-packet on" before "tstatus".
18545
f90183d7
YQ
185462014-10-11 Yao Qi <yao@codesourcery.com>
18547
18548 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
18549 (main): Call getppid.
18550 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
18551 and continue to it. Read variable "server_pid".
18552
bf40a607
YQ
185532014-10-11 Yao Qi <yao@codesourcery.com>
18554
18555 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
18556
052ca370
YQ
185572014-10-11 Yao Qi <yao@codesourcery.com>
18558
18559 * gdb.threads/thread-find.exp: Don't execute command
18560 "info threads".
18561 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
18562 * gdb.threads/linux-dp.exp: Don't check the condition
18563 $threads_created equals to zero.
18564
3831839c
PA
185652014-10-10 Pedro Alves <palves@redhat.com>
18566
18567 * gdb.base/bigcore.exp: Remove references to IRIX.
18568 * gdb.base/funcargs.exp: Likewise.
18569 * gdb.base/interrupt.exp: Likewise.
18570 * gdb.base/mips_pro.exp: Likewise.
18571 * gdb.base/nodebug.exp: Likewise.
18572 * gdb.base/setvar.exp: Likewise.
18573 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
18574
8b9a549d
PA
185752014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18576 Pedro Alves <palves@redhat.com>
18577
18578 PR symtab/14466
18579 * gdb.base/vdso-warning.c: New file.
18580 * gdb.base/vdso-warning.exp: New file.
18581
d48ba5e8
DE
185822014-10-02 Doug Evans <dje@google.com>
18583
18584 * gdb.base/structs.c (main): Don't run forever.
18585
2278c276
PA
185862014-10-02 Pedro Alves <palves@redhat.com>
18587
18588 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
18589 (top level) <stop threads 1, stop threads 2>: Use it.
18590
b57bacec
PA
185912014-10-02 Pedro Alves <palves@redhat.com>
18592
18593 * gdb.threads/break-while-running.exp (test): Add new
18594 'update_thread_list' argument. Skip "info threads" if false.
18595 (top level): Add new 'update_thread_list' axis.
18596
13fd3ff3
PA
185972014-10-02 Pedro Alves <palves@redhat.com>
18598
18599 PR breakpoints/17431
18600 * gdb.base/execl-update-breakpoints.c: New file.
18601 * gdb.base/execl-update-breakpoints.exp: New file.
18602
0fec99e8
PA
186032014-10-01 Pedro Alves <palves@redhat.com>
18604
18605 * gdb.base/breakpoint-in-ro-region.c: New file.
18606 * gdb.base/breakpoint-in-ro-region.exp: New file.
18607
2ddf4301
SM
186082014-10-01 Simon Marchi <simon.marchi@ericsson.com>
18609
18610 * gdb.mi/mi-exit-code.exp: New file.
18611 * gdb.mi/mi-exit-code.c: New file.
18612
6a5f3f43
YQ
186132014-09-30 Yao Qi <yao@codesourcery.com>
18614
18615 * lib/prelink-support.exp (build_executable_own_libs): Error if
18616 the target isn't native.
18617
345bcc73
YQ
186182014-09-30 Yao Qi <yao@codesourcery.com>
18619
18620 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
18621 false.
18622
a25a5a45
PA
186232014-09-22 Pedro Alves <palves@redhat.com>
18624
18625 * gdb.threads/break-while-running.exp: New file.
18626 * gdb.threads/break-while-running.c: New file.
18627
00ba3162
YQ
186282014-09-19 Yao Qi <yao@codesourcery.com>
18629
18630 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
18631 Invoke test. Restart GDB with --readnow and invoke test again.
18632
c3b7b696
YQ
186332014-09-19 Yao Qi <yao@codesourcery.com>
18634
18635 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
18636 proc set_breakpoint_on_gcd_function. Invoke
18637 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
18638 invoke set_breakpoint_on_gcd_function again.
18639
2b4fd423
DE
186402014-09-18 Doug Evans <dje@google.com>
18641
18642 * gdb.dwarf2/symtab-producer.exp: New file.
18643
a5947601
SDJ
186442014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18645
18646 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
18647 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
18648 * gdb.base/global-var-nested-by-dso.c: Likewise.
18649 * gdb.base/global-var-nested-by-dso.exp: Likewise.
18650
91c19059
SDJ
186512014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18652 Pedro Alves <palves@redhat.com>
18653
18654 * gdb.base/watch-bitfields.exp: Pass string other than test file
18655 name to prepare_for_testing.
18656 (watch): New procedure.
18657 (expect_watchpoint): Use with_test_prefix.
18658 (top level): Factor out tests to ...
18659 (test_watch_location, test_regular_watch): ... these new
18660 procedures, and use with_test_prefix and gdb_continue_to_end.
18661
bb9d5f81
PP
186622014-09-16 Patrick Palka <patrick@parcs.ath.cx>
18663
18664 PR breakpoints/12526
18665 * gdb.base/watch-bitfields.exp: New file.
18666 * gdb.base/watch-bitfields.c: New file.
18667
635856f5
PA
186682014-09-16 Pedro Alves <palves@redhat.com>
18669
18670 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
18671 software and hardware addresses, not software address against
18672 itself.
18673
7280ceea
PA
186742014-09-16 Pedro Alves <palves@redhat.com>
18675
18676 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
18677 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
18678
428b16bd
PA
186792014-09-16 Pedro Alves <palves@redhat.com>
18680
18681 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
18682 files.
18683 * gdb.base/a2-run.exp: Remove all code guarded by istarget
18684 "*-*-vxworks*" throughout.
18685 * gdb.base/break.exp: Likewise.
18686 * gdb.base/default.exp: Likewise.
18687 * gdb.base/scope.exp: Likewise.
18688 * gdb.base/sepdebug.exp: Likewise.
18689 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
18690 throughout.
18691 * gdb.base/run.c: Likewise.
18692 * gdb.base/sepdebug.c: Likewise.
18693 * gdb.hp/gdb.aCC/run.c: Likewise.
18694 * gdb.reverse/until-reverse.c: Likewise.
18695 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
18696
666d413c
YQ
186972014-09-16 Yao Qi <yao@codesourcery.com>
18698
18699 * boards/local-remote-host-native.exp: New file.
18700
57cbd724
DE
187012014-09-14 Doug Evans <xdje42@gmail.com>
18702
18703 * gdb.threads/queue-signal.c (thread_count): New variable.
18704 (thread_count_mutex, thread_count_condvar): New variables.
18705 (incr_thread_count, wait_all_threads_running): New functions.
18706 (main): Wait for all threads to be in their thread functions.
18707
81219e53
DE
187082014-09-13 Doug Evans <xdje42@gmail.com>
18709
18710 * gdb.threads/queue-signal.c: New file.
18711 * gdb.threads/queue-signal.exp: New file.
18712
3714cea7
DE
187132014-09-13 Doug Evans <xdje42@gmail.com>
18714
18715 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
18716 be consistent with what default_gdb_init uses.
18717 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
18718 the plain text of the prompt. Add some logging printfs.
18719 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
18720
fa43b1d7
PA
187212014-09-12 Pedro Alves <palves@redhat.com>
18722
18723 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
18724 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
18725 * gdb.arch/i386-size-overlap.exp: Likewise.
18726 * gdb.arch/i386-size.exp: Likewise.
18727 * gdb.arch/i386-unwind.exp: Likewise.
18728 * gdb.base/a2-run.exp: Likewise.
18729 * gdb.base/break.exp: Likewise.
18730 * gdb.base/charset.exp: Likewise.
18731 * gdb.base/chng-syms.exp: Likewise.
18732 * gdb.base/commands.exp: Likewise.
18733 * gdb.base/dbx.exp: Likewise.
18734 * gdb.base/find.exp: Likewise.
18735 * gdb.base/funcargs.exp: Likewise.
18736 * gdb.base/jit-simple.exp: Likewise.
18737 * gdb.base/reread.exp: Likewise.
18738 * gdb.base/sepdebug.exp: Likewise.
18739 * gdb.base/step-bt.exp: Likewise.
18740 * gdb.cp/mb-inline.exp: Likewise.
18741 * gdb.cp/mb-templates.exp: Likewise.
18742 * gdb.objc/basicclass.exp: Likewise.
18743 * gdb.threads/killed.exp: Likewise.
18744
9d9bf2df
EBM
187452014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18746
18747 PR tdep/17379
18748 * gdb.arch/powerpc-stackless.S: New file.
18749 * gdb.arch/powerpc-stackless.exp: New file.
18750
1cf2f1b0
JK
187512014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18752
18753 * gdb.base/attach.c: Include unistd.h.
18754 (main): Call alarm. Add label postloop.
18755 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
18756 gdb_breakpoint, gdb_continue_to_breakpoint.
18757 (test_command_line_attach_run): Kill ${testpid} in one exit path.
18758
98880d46
PA
187592014-09-11 Pedro Alves <palves@redhat.com>
18760
18761 PR gdb/17347
18762 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
18763 * gdb.base/attach.exp (test_command_line_attach_run): New
18764 procedure.
18765 (top level): Call it.
18766
4c92ff2c
PA
187672014-09-11 Pedro Alves <palves@redhat.com>
18768
18769 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
18770 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
18771 (do_command_attach_tests): Use spawn_wait_for_attach.
18772 * gdb.base/solib-overlap.exp: Likewise.
18773 * gdb.multi/multi-attach.exp: Likewise.
18774 * gdb.python/py-prompt.exp: Likewise.
18775 * gdb.python/py-sync-interp.exp: Likewise.
18776 * gdb.server/ext-attach.exp: Likewise.
18777
3adc1a7d
GKB
187782014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
18779
18780 * gdb.fortran/array-element.exp: Remove unexpected "continue"
18781 command in testcase. Simplify testcase.
18782
96334934
JB
187832014-09-10 Joel Brobecker <brobecker@adacore.com>
18784
18785 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
18786
eb479039
JB
187872014-09-10 Joel Brobecker <brobecker@adacore.com>
18788
18789 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
18790
deede10c
JB
187912014-09-10 Joel Brobecker <brobecker@adacore.com>
18792
18793 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
18794
7828a5f5
JB
187952014-09-10 Joel Brobecker <brobecker@adacore.com>
18796
18797 * gdb.dwarf2/dynarr-ptr.c: New file.
18798 * gdb.dwarf2/dynarr-ptr.exp: New file.
18799
33aeebcf
MR
188002014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18801
18802 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
18803 of 30 rather than hardcoding 120 for a slow test case. Take the
18804 `gdb,timeout' target setting into account for this calculation.
18805 Don't extend the timeout for the test cases that don't need it.
18806
7b415901
MR
188072014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18808
18809 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
18810 a factor of 2 for a slow test case. Take the `gdb,timeout'
18811 target setting into account for this calculation.
18812 * gdb.reverse/until-precsave.exp: Increase the timeout by
18813 a factor of 15 and 3 respectively rather than adding 120
18814 for a pair of slow test cases. Take the `gdb,timeout'
18815 target setting into account for this calculation.
18816
4a40f85a
MR
188172014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18818
18819 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
18820 timeout, don't pass one down to gdb_expect.
18821 (gdb_expect): Rework timeout selection.
18822
09635af7
MR
188232014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18824
18825 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
18826 exception on timeout.
18827 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
18828 (gdbserver_start_extended): Catch any `gdbserver_start' error
18829 exceptions.
18830 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
18831 * lib/mi-support.exp (mi_gdb_target_load): Catch any
18832 `gdbserver_gdb_load' error exceptions.
18833
2bdd10b7
MR
188342014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18835
18836 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
18837 120 on waiting for the TCP socket to open.
18838
316935f0
DE
188392014-09-09 Doug Evans <xdje42@gmail.com>
18840
18841 * gdb.base/default.exp (show_conv_list): Add _caller_is,
18842 _caller_matches, _any_caller_is, _any_caller_matches.
18843
83740597
DE
188442014-09-09 Doug Evans <xdje42@gmail.com>
18845
18846 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
18847
4c122fc3
YQ
188482014-09-09 Yao Qi <yao@codesourcery.com>
18849
18850 * gdb.mi/mi-var-display.exp: Set print symbol off.
18851
a9f116cb
GKB
188522014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
18853
18854 PR gdb/17035
18855 * gdb.base/commands.exp: Add tests to verify user-defined
18856 commands with empty bodies.
18857 * gdb.python/py-cmd.exp: Test that we don't show user-defined
18858 python commands in `show user command`.
18859 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
18860 scheme commands in `show user command`.
18861
c75bd3a2
JK
188622014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18863
18864 PR python/17355
18865 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
18866 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
18867 * gdb.python/py-framefilter-invalidarg.exp: New file.
18868 * gdb.python/py-framefilter-invalidarg.py: New file.
18869
faa42425
DE
188702014-09-06 Doug Evans <xdje42@gmail.com>
18871
18872 PR 15276
18873 * gdb.python/py-caller-is.c: New file.
18874 * gdb.python/py-caller-is.exp: New file.
18875
474ca4f6
SDJ
188762014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
18877
18878 PR gdb/17235
18879 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
18880 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
18881
eb0b0463
SDJ
188822014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
18883
18884 PR fortran/17237
18885 * gdb.fortran/print-formatted.exp: New file.
18886 * gdb.fortran/print-formatted.f90: Likewise.
18887
5f3b99cf
SS
188882014-09-03 Sasha Smundak <asmundak@google.com>
18889
18890 * gdb.python/py-frame.exp: Test Frame.read_register.
18891
7d793aa9
SDJ
188922014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
18893
18894 PR python/16699
18895 * gdb.python/py-completion.exp: New file.
18896 * gdb.python/py-completion.py: Likewise.
18897
fb0576e9
DE
188982014-08-28 Doug Evans <dje@google.com>
18899
18900 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
18901 eax,etc. are live with values set by gdb and thus the compiler can't
18902 use them.
18903 * gdb.arch/i386-pseudo.c (main): Ditto.
18904
ee92b0dd
DE
189052014-08-27 Doug Evans <dje@google.com>
18906
18907 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
18908
6649db35
DE
189092014-08-25 Doug Evans <dje@google.com>
18910
18911 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
18912 (main): Ditto.
18913
564b7600
DE
189142014-08-25 Doug Evans <dje@google.com>
18915
18916 * gdb.threads/thread-execl.exp: #include <stdio.h>.
18917
3881fb67
YQ
189182014-08-24 Yao Qi <yao@codesourcery.com>
18919
18920 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
18921 symbol off.
18922 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
18923
a05a36a5
DE
189242014-08-22 Doug Evans <dje@google.com>
18925
18926 PR 17276
18927 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
18928 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
18929 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
18930
7c343b48
YQ
189312014-08-22 Yao Qi <yao@codesourcery.com>
18932
18933 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
18934 * gdb.python/py-finish-breakpoint2.exp: Likewise.
18935 * gdb.python/python.exp: Likewise. Use .py file on the host
18936 instead of the build.
18937
22fd09ae
JK
189382014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18939
18940 * gdb.threads/gcore-stale-thread.c: New file.
18941 * gdb.threads/gcore-stale-thread.exp: New file.
18942
a8454a7c
PA
189432014-08-21 Pedro Alves <palves@redhat.com>
18944
18945 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
18946 * gdb.base/gcore-relro-pie.exp: Likewise.
18947 * gdb.base/gcore-relro.exp: Likewise.
18948 * gdb.base/gcore.exp: Likewise.
18949 * gdb.base/print-symbol-loading.exp: Likewise.
18950 * gdb.threads/gcore-thread.exp: Likewise.
18951 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
18952
2a31c623
PA
189532014-08-20 Pedro Alves <palves@redhat.com>
18954 Jan Kratochvil <jan.kratochvil@redhat.com>
18955
18956 * Makefile.in (EXTRA_RULES, CC): New variables, get from
18957 configure.
18958 (EXPECT): Handle READ1 being set.
18959 (all): Depend on EXTRA_RULES.
18960 (check-read1, expect-read1, read1.so, read1): New rules.
18961 * README (Testsuite Parameters): Document the READ1 make variable.
18962 (Race detection): New section.
18963 * configure: Regenerate.
18964 * configure.ac: If build==host==target, and running under a
18965 GNU/glibc system, add read1 to the extra Makefile rules.
18966 (EXTRA_RULES): AC_SUBST it.
18967 * lib/read1.c: New file.
18968
d36430db
JB
189692014-08-20 Joel Brobecker <brobecker@adacore.com>
18970
18971 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
18972 the handling of variables declared as a typedef to an array
18973 which a DW_AT_data_location attribute.
18974
9a0dc9e3
PA
189752014-08-19 Andrew Burgess <aburgess@broadcom.com>
18976 Pedro Alves <palves@redhat.com>
18977
18978 PR symtab/14604
18979 PR symtab/14605
18980 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
18981 gdb_test.
18982
0718a8da
PA
189832014-08-19 Pedro Alves <palves@redhat.com>
18984
18985 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
18986
13b448cd
YQ
189872014-08-19 Yao Qi <yao@codesourcery.com>
18988
18989 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
18990 right line.
18991
1cbf5077
DB
189922014-08-18 David Blaikie <dblaikie@gmail.com>
18993
18994 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
18995
bf0fae19
JB
189962014-08-18 Joel Brobecker <brobecker@adacore.com>
18997
18998 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
18999 attribute in array range.
19000
3c8c5dcc
JB
190012014-08-18 Joel Brobecker <brobecker@adacore.com>
19002
19003 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
19004
e66d4446
SC
190052014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19006
19007 PR c++/17132
19008 * gdb.cp/pr17132.cc: New file.
19009 * gdb.cp/pr17132.exp: New file.
19010
940df408
SC
190112014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19012
19013 * gdb.python/py-xmethods.py (A_getarrayind)
19014 (E_method_char_worker.__call__, E_method_int_worker.__call__):
19015 Use 'print' with function call syntax.
19016 (E_method_matcher.match): Fix tab vs space indentation mixup.
19017
ebcc6c3a
YQ
190182014-08-15 Yao Qi <yao@codesourcery.com>
19019
19020 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
19021 false.
19022
775e0f04
YQ
190232014-08-15 Yao Qi <yao@codesourcery.com>
19024
19025 * gdb.cp/casts.exp: Set print symbol off.
19026 * gdb.cp/class2.exp: Likewise.
19027 * gdb.cp/overload.exp: Likewise.
19028 * gdb.cp/templates.exp: Likewise.
19029
d769e349
DE
190302014-08-11 Doug Evans <dje@google.com>
19031
19032 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
19033 (test_load_shlib): Update.
19034
20c6f1e1
YQ
190352014-08-09 Yao Qi <yao@codesourcery.com>
19036
19037 * gdb.base/display.exp: Invoke is_address_zero_readable.
19038 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
19039 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19040 * gdb.base/hbreak-unmapped.exp: Return if
19041 is_address_zero_readable returns true.
19042 * gdb.base/signest.exp: Likewise.
19043 * gdb.base/signull.exp: Likewise.
19044 * gdb.base/sigbpt.exp: Likewise.
19045 * gdb.guile/scm-disasm.exp: Do the test if
19046 is_address_zero_readable returns false.
19047 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
19048 * gdb.python/py-arch.exp: Likewise.
19049 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
19050 * lib/gdb.exp (is_address_zero_readable): New proc.
19051
5792e8e3
YQ
190522014-08-09 Yao Qi <yao@codesourcery.com>
19053
19054 PR testsuite/13443
19055 * gdb.mi/mi-var-display.exp: Make test messages unique.
19056
3cecbbbe
TT
190572014-08-04 Tom Tromey <tromey@redhat.com>
19058
19059 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
19060 target 0".
19061
00b51ff5
TT
190622014-08-04 Tom Tromey <tromey@redhat.com>
19063
19064 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
19065 "target_resume".
19066
6908c509
JB
190672014-08-01 Joel Brobecker <brobecker@adacore.com>
19068
19069 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
19070 inner_vla_struct_object_size.
19071 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
19072 as xfail.
19073
cc6563d2
PA
190742014-07-30 Pedro Alves <palves@redhat.com>
19075
19076 * gdb.threads/signal-command-handle-nopass.exp (test): Add
19077 comment.
19078
7e09a223
YQ
190792014-07-29 Yao Qi <yao@codesourcery.com>
19080
19081 PR gdb/17206
19082 * gdb.base/until-nodebug.exp: New.
19083
7ebdbe92
DE
190842014-07-28 Doug Evans <xdje42@gmail.com>
19085
19086 PR guile/17203
19087 * gdb.guile/scm-parameter.exp: Add tests for trying to create
19088 previously existing parameter, and previously ambiguously spelled
19089 parameter.
19090
fdb1adc6
WN
190912014-07-28 Will Newton <will.newton@linaro.org>
19092
19093 * gdb.base/varargs.exp: Remove KFAILs for ARM.
19094
186fcde0
DE
190952014-07-26 Ludovic Courtès <ludo@gnu.org>
19096 Doug Evans <xdje42@gmail.com>
19097
19098 PR guile/17146
19099 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
19100
70509625
PA
191012014-07-25 Pedro Alves <palves@redhat.com>
19102
19103 * gdb.threads/signal-command-handle-nopass.c: New file.
19104 * gdb.threads/signal-command-handle-nopass.exp: New file.
19105 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
19106 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
19107 * gdb.threads/signal-delivered-right-thread.c: New file.
19108 * gdb.threads/signal-delivered-right-thread.exp: New file.
19109
c3f814a1
PA
191102014-07-25 Pedro Alves <palves@redhat.com>
19111
19112 * gdb.base/double-prompt-target-event-error.exp
19113 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
19114 match.
19115 (cancel_pagination_in_target_event): Rework double prompt
19116 detection.
19117 * gdb.base/paginate-after-ctrl-c-running.exp
19118 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
19119 <return>' match.
19120 * gdb.base/paginate-bg-execution.exp
19121 (test_bg_execution_pagination_return)
19122 (test_bg_execution_pagination_cancel): Remove '-notransfer
19123 <return>' matches.
19124 * gdb.base/paginate-execution-startup.exp
19125 (test_fg_execution_pagination_return)
19126 (test_fg_execution_pagination_cancel): Remove '-notransfer
19127 <return>' matches.
19128 * gdb.base/paginate-inferior-exit.exp
19129 (test_paginate_inferior_exited): Remove '-notransfer <return>'
19130 match.
19131 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
19132 * lib/gdb.exp (pagination_prompt): Run text through
19133 string_to_regexp.
19134 (gdb_test_multiple): Match $pagination_prompt instead of
19135 "<return>".
19136 (string_to_regexp): Move to lib/gdb-utils.exp.
19137
e214cf6c
JK
191382014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19139
19140 * gdb.arch/amd64-entry-value-paramref.S: New file.
19141 * gdb.arch/amd64-entry-value-paramref.cc: New file.
19142 * gdb.arch/amd64-entry-value-paramref.exp: New file.
19143 * gdb.arch/amd64-optimout-repeat.S: New file.
19144 * gdb.arch/amd64-optimout-repeat.c: New file.
19145 * gdb.arch/amd64-optimout-repeat.exp: New file.
19146
17d0c5c8
JK
191472014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19148
19149 PR gdb/17170
19150 * gdb.base/statistics.exp: New file.
19151
b8b8facf
DE
191522014-07-17 Doug Evans <dje@google.com>
19153
74b49205 19154 PR gdb/17170
b8b8facf
DE
19155 * gdb.base/maint.exp: Update testing of per-command stats.
19156
1b5d0ab3
PA
191572014-07-16 Pedro Alves <palves@redhat.com>
19158
19159 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
19160 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
19161 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
19162 (tfile_write_buf): New functions.
19163 (add_memory_block): Rewrite using the above.
19164 (adjust_function_address): New function.
19165 (FUNCTION_ADDRESS): New macro.
19166 (write_basic_trace_file): Remove short_x local, and use
19167 tfile_write_16. Change type of func_addr local to unsigned long
19168 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
19169 here. Cast argument of add_memory_block to char pointer.
19170 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
19171 (main): Remove parameters.
19172 * gdb.trace/tfile.exp: Remove nowarnings.
19173
4d974e88
SM
191742014-07-15 Simon Marchi <simon.marchi@ericsson.com>
19175
19176 * gdb.base/debug-expr.exp: Test string evaluation with
19177 "debug expression" on.
19178
41e99568
PA
191792014-07-15 Pedro Alves <palves@redhat.com>
19180
19181 * gdb.base/reread.exp: Use clean_restart.
19182
487d9753
PL
191832014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
19184
19185 * gdb.arch/avr-flash-qualifer.c: New.
19186 * gdb.arch/avr-flash-qualifer.exp: New.
19187
cc1c52ad
PA
191882014-07-14 Pedro Alves <palves@redhat.com>
19189
19190 * gdb.base/paginate-after-ctrl-c-running.c: New file.
19191 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
19192
1e973570
PA
191932014-07-14 Pedro Alves <palves@redhat.com>
19194
19195 * gdb.base/double-prompt-target-event-error.c: New file.
19196 * gdb.base/double-prompt-target-event-error.exp: New file.
19197
93d6eb10
PA
191982014-07-14 Pedro Alves <palves@redhat.com>
19199
19200 PR gdb/17072
19201 * gdb.base/paginate-inferior-exit.c: New file.
19202 * gdb.base/paginate-inferior-exit.exp: New file.
19203
0017922d
PA
192042014-07-14 Pedro Alves <palves@redhat.com>
19205
19206 PR gdb/17072
19207 * gdb.base/paginate-bg-execution.c: New file.
19208 * gdb.base/paginate-bg-execution.exp: New file.
19209
94696ad3
PA
192102014-07-14 Pedro Alves <palves@redhat.com>
19211
19212 PR gdb/17072
19213 * gdb.base/paginate-execution-startup.c: New file.
19214 * gdb.base/paginate-execution-startup.exp: New file.
19215 * lib/gdb.exp (pagination_prompt): New global.
19216 (default_gdb_spawn): New procedure, factored out from
19217 default_gdb_spawn.
19218 (default_gdb_start): Adjust to call default_gdb_spawn.
19219 (gdb_spawn): New procedure.
19220
bd293940
PA
192212014-07-14 Pedro Alves <palves@redhat.com>
19222
19223 * lib/gdb.exp (gdb_assert): New procedure.
19224 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
19225
c933f875
PA
192262014-07-14 Pedro Alves <palves@redhat.com>
19227
19228 * gdb.base/execution-termios.c: New file.
19229 * gdb.base/execution-termios.exp: New file.
19230
d98b7a16
TT
192312014-07-14 Tom Tromey <tromey@redhat.com>
19232
19233 * gdb.cp/vla-cxx.cc: New file.
19234 * gdb.cp/vla-cxx.exp: New file.
19235
548740d6
TT
192362014-07-14 Tom Tromey <tromey@redhat.com>
19237
19238 * gdb.reverse/rerun-prec.c: New file.
19239 * gdb.reverse/rerun-prec.exp: New file.
19240
a25eb028
MR
192412014-07-12 Maciej W. Rozycki <macro@mips.com>
19242 Maciej W. Rozycki <macro@codesourcery.com>
19243
19244 * lib/gdb-utils.exp: New file.
19245 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
19246 inline `gdb_init_command' processing.
19247 (gdb_start_cmd): Likewise.
19248 * lib/mi-support.exp (mi_run_cmd): Likewise.
19249 * README: Document `gdb_init_command' and `gdb_init_commands'.
19250
218c2655
JK
192512014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19252
19253 Fix false FAIL running under a very long directory name.
19254 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
19255 and "set print elements 10000". Twice.
19256
5401fde3
YQ
192572014-07-11 Yao Qi <yao@codesourcery.com>
19258
19259 * gdb.base/exprs.exp: "set print symbol off".
19260
e76126e8
PA
192612014-07-11 Pedro Alves <palves@redhat.com>
19262
19263 * gdb.threads/kill.c: New file.
19264 * gdb.threads/kill.exp: New file.
19265
2d6f0de6
YQ
192662014-07-10 Yao Qi <yao@codesourcery.com>
19267
19268 * gdb.trace/tfile.c (write_basic_trace_file)
19269 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
19270 address written to trace file.
19271
7180e04a
PA
192722014-07-09 Pedro Alves <palves@redhat.com>
19273
19274 * gdb.base/attach-wait-input.exp: New file.
19275 * gdb.base/attach-wait-input.c: New file.
19276
9a9a7608
AB
192772014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
19278
19279 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
19280 setting up test structures.
19281 (main): Call new test function.
19282 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
19283 test function, continue into test function and walk test
19284 structures.
19285
161ac41e
YQ
192862014-07-02 Yao Qi <yao@codesourcery.com>
19287
19288 * gdb.trace/entry-values.c: Define labels 'foo_start' and
19289 'bar_start' at the beginning of functions 'foo' and 'bar'
19290 respectively.
19291 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
19292 instead of 'foo' and 'bar'.
19293
1f267ae3
MM
192942014-07-08 Markus Metzger <markus.t.metzger@intel.com>
19295
19296 * gdb.btrace/segv.exp: New.
19297 * gdb.btrace/segv.c: New.
19298
2b239efb
LM
192992014-07-02 Luis Machado <lgustavo@codesourcery.com>
19300
19301 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
19302 instruction.
19303
cf363f18
MW
193042014-06-30 Mark Wielaard <mjw@redhat.com>
19305
19306 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
19307 vulture, vilify, villar): New volatile array constants.
19308 (vindictive, vegetation): New const volatile array constants.
19309 * gdb.base/volatile.exp: Test volatile and const volatile array
19310 types.
19311
aebf9d24
AA
193122014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
19313
19314 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
19315 target lacks support for awatch, rwatch, or hbreak.
19316
b67a2c6f
YQ
193172014-06-27 Yao Qi <yao@codesourcery.com>
19318
19319 * gdb.multi/dummy-frame-restore.exp: New.
19320 * gdb.multi/dummy-frame-restore.c: New.
19321
aef92902
MM
193222014-06-25 Markus Metzger <markus.t.metzger@intel.com>
19323
19324 * gdb.btrace/gcore.exp: New.
19325
8e9db26e
PA
193262014-06-23 Pedro Alves <palves@redhat.com>
19327
19328 * gdb.base/watchpoint-reuse-slot.c: New file.
19329 * gdb.base/watchpoint-reuse-slot.exp: New file.
19330
70afc5b7
SC
193312014-06-23 Siva Chandra Reddy <sivachandra@google.com>
19332
19333 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
19334 progspace's filename in 'info', 'enable' and 'disable' command
19335 tests.
19336
b972bd9c
JK
193372014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
19338
19339 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
19340 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19341 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
19342
125f8a3d
GB
193432014-06-20 Gary Benson <gbenson@redhat.com>
19344
19345 * gdb.arch/i386-avx.exp: Fix include file location.
19346 * gdb.arch/i386-sse.exp: Likewise.
19347
3ed9baed
IB
193482014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
19349
19350 * gdb.dlang/expression.exp: New file.
19351
034f788c
PA
193522014-06-19 Pedro Alves <palves@redhat.com>
19353
19354 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
19355 out from ...
19356 (top level): ... here. Iterate running tests under different
19357 scheduler-locking settings.
19358
45371d0c
LM
193592014-06-18 Luis Machado <lgustavo@codesourcery.com>
19360
19361 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
19362 to DW_FORM_addr and use non-zero addresses.
19363
5d376983
SC
193642014-06-18 Siva Chandra Reddy <sivachandra@google.com>
19365
19366 PR gdb/17017
19367 * gdb.python/py-xmethods.cc: Add global function call counters and
19368 increment them in their respective functions. Remove "cout"
19369 statements.
19370 * gdb.python/py-xmethods.exp: Make tests check the global function
19371 call counters instead of depending on inferior IO.
19372
a1aa2221
LM
193732014-06-18 Don Breazeal <donb@codesourcery.com>
19374
19375 * gdb.base/foll-fork.exp (default_fork_parent_follow):
19376 Deleted procedure.
19377 (explicit_fork_parent_follow): Deleted procedure.
19378 (explicit_fork_child_follow): Deleted procedure.
19379 (test_follow_fork): New procedure.
19380 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 19381 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
19382 procedure calls.
19383
0fc05997
YQ
193842014-06-17 Yao Qi <yao@codesourcery.com>
19385
19386 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
19387 CP1252.
19388
70795c52
LM
193892014-06-17 Luis Machado <lgustavo@codesourcery.com>
19390
19391 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
19392 Initialize ptr and S explicitly.
19393 (skip_type_update_when_not_use_rtti_test): Likewise.
19394
6be47f0c
KS
193952014-06-16 Keith Seitz <keiths@redhat.com>
19396
19397 PR mi/15863
19398 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
19399 the inferior is started.
19400
d03de421
PA
194012014-06-16 Pedro Alves <palves@redhat.com>
19402
19403 * gdb.base/break-main-file-remove-fail.c: New file.
19404 * gdb.base/break-main-file-remove-fail.exp: New file.
19405 * gdb.base/break-unload-file.exp: Use build_executable instead of
19406 prepare_for_testing.
19407 (test_break): New parameter "initial_load". Handle it.
19408 (top level): Add initial_load cmdline/file axis.
19409
f9579b99
TT
194102014-06-12 Tom Tromey <tromey@redhat.com>
19411
19412 * gdb.base/completion.exp: Don't use directory name in test.
19413
3657956b
GB
194142014-06-09 Gary Benson <gbenson@redhat.com>
19415
19416 * gdb.base/sigall.c [Functions to send signals]: Reorder to
19417 separate the always-available ANSI-standard signals from the
19418 signals that require checking.
19419 (main): Likewise.
19420 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
19421 Likewise.
19422 (main): Likewise.
19423
4186eb54
KS
194242014-06-07 Keith Seitz <keiths@redhat.com>
19425
19426 Revert:
19427 PR c++/16253
19428 * gdb.cp/var-tag.cc: New file.
19429 * gdb.cp/var-tag.exp: New file.
19430 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19431 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19432 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19433 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19434
25326a28 194352014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
19436
19437 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
19438
829155c9
PA
194392014-06-06 Pedro Alves <palves@redhat.com>
19440
19441 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
19442 in target debug output instead of looking at RSP packets,
19443 disabling the test on any target that uses hardware stepping.
19444 Update comments.
19445
61c8d22e
PA
194462014-06-06 Pedro Alves <palves@redhat.com>
19447
19448 * gdb.base/break-unload-file.exp: Fix typo.
19449
d9a47287
YQ
194502014-06-06 Yao Qi <yao@codesourcery.com>
19451
19452 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
19453 from "jit_function" to "^jit_function".
19454
e5e01dbf
YQ
194552014-06-06 Yao Qi <yao@codesourcery.com>
19456
19457 * gdb.base/async.c (foo): Add one statement.
19458 * gdb.base/async.exp: Get the next instruction address and
19459 match the output of "nexti" by instruction address. Match
19460 the hex address in the output of "finish".
19461
73ba372c
GB
194622014-06-06 Gary Benson <gbenson@redhat.com>
19463
19464 * gdb.base/call-signals.c: Remove preprocessor conditionals
19465 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
19466 SIGSEGV and SIGTERM.
19467 * gdb.base/sigall.c: Likewise.
19468 * gdb.base/unwindonsignal.c: Likewise.
19469 * gdb.reverse/sigall-reverse.c: Likewise.
19470
831517df
YQ
194712014-06-06 Yao Qi <yao@codesourcery.com>
19472
19473 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
19474 readable, skip the test.
19475
b8b91e98
YQ
194762014-06-06 Yao Qi <yao@codesourcery.com>
19477
19478 * gdb.threads/staticthreads.c (thread_function): Move the line
19479 setting breakpoint on forward.
19480 * gdb.threads/staticthreads.exp: Update comments.
19481
fb934770
LC
194822014-06-05 Ludovic Courtès <ludo@gnu.org>
19483
19484 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
19485 "history-append! type error".
19486
6ef284bd
SM
194872014-06-05 Simon Marchi <simon.marchi@ericsson.com>
19488
19489 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
19490 erroneous dprintf expected input.
19491
a872e241
DE
194922014-06-04 Doug Evans <xdje42@gmail.com>
19493
19494 * gdb.guile/scm-generics.exp: Delete.
19495
16f691fb
DE
194962014-06-04 Doug Evans <xdje42@gmail.com>
19497
19498 * gdb.guile/scm-breakpoint.exp: Update.
19499 Add tests for breakpoint registration.
19500
012370f6
TT
195012014-06-04 Tom Tromey <tromey@redhat.com>
19502
19503 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
19504 VLA-in-union.
19505 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
19506 inner_vla_struct, vla_union types. Initialize objects of those
19507 types and compute their sizes.
19508
9f5a4cef
HZ
195092014-06-04 Nathan Sidwell <nathan@codesourcery.com>
19510 Hui Zhu <hui@codesourcery.com>
19511
19512 * gdb.base/fileio.exp: Add test for shell not available as well as
19513 available.
19514 * gdb.base/fileio.c (test_system): Check for shell twice.
19515
90a45c4d
YQ
195162014-06-04 Yao Qi <yao@codesourcery.com>
19517
19518 * gdb.base/auto-connect-native-target.exp: Remove redundant
19519 space from the regexp pattern.
19520
70017e41
YQ
195212014-06-04 Yao Qi <yao@codesourcery.com>
19522
19523 * gdb.base/default.exp: Replace "child" with "native" in
19524 regexp pattern.
19525
883964a7
SC
195262014-06-03 Siva Chandra Reddy <sivachandra@google.com>
19527
19528 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
19529 * gdb.python/py-xmethods.exp: New tests to test xmethods.
19530 * gdb.python/py-xmethods.py: Python script supporting the
19531 new testcase and tests.
19532
ef370185
JB
195332014-06-03 Joel Brobecker <brobecker@adacore.com>
19534 Pedro Alves <palves@redhat.com>
19535
19536 PR breakpoints/17000
19537 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
19538 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
19539
1e2ccb61
BM
195402014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
19541
19542 * gdb.base/subst.exp: Add tests to verify partial path matching
19543 output.
19544
c6ec5ab2
PA
195452014-06-03 Pedro Alves <palves@redhat.com>
19546
19547 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
19548 target that doesn't use software single-stepping.
19549
835c559f
PA
195502014-06-03 Pedro Alves <palves@redhat.com>
19551
19552 PR breakpoints/17000
19553 * gdb.base/sss-bp-on-user-bp-2.c: New file.
19554 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
19555
06eb1586
DE
195562014-06-02 Doug Evans <xdje42@gmail.com>
19557
19558 * gdb.guile/scm-parameter.exp: New file.
19559
e698b8c4
DE
195602014-06-02 Doug Evans <xdje42@gmail.com>
19561
19562 * gdb.guile/scm-cmd.c: New file.
19563 * gdb.guile/scm-cmd.exp: New file.
19564
ded03782
DE
195652014-06-02 Doug Evans <xdje42@gmail.com>
19566
19567 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
19568 pretty-printer lookup.
19569 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
19570 (make-pp_s-printer): Call it.
19571 (make-pretty-printer-from-dict): New function.
19572 (lookup-pretty-printer-maker-from-dict): New function.
19573 (*pretty-printer*): Simplify.
19574 (make-objfile-pp_s-printer): New function.
19575 (install-objfile-pretty-printers!): New function.
19576 (make-progspace-pp_s-printer): New function.
19577 (install-progspace-pretty-printers!): New function.
19578 * gdb.guile/scm-progspace.c: New file.
19579 * gdb.guile/scm-progspace.exp: New file.
19580
41fac0cf
PA
195812014-06-02 Pedro Alves <palves@redhat.com>
19582
19583 * gdb.base/dprintf-bp-same-addr.c: New file.
19584 * gdb.base/dprintf-bp-same-addr.exp: New file.
19585
96ae5695
EBM
195862014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19587
19588 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
19589 * gdb.arch/powerpc-power.s: Likewise.
19590
da02b3a8
JB
195912014-06-02 Joel Brobecker <brobecker@adacore.com>
19592
19593 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
19594
c72b2e7b
YQ
195952014-06-01 Yao Qi <yao@codesourcery.com>
19596
19597 * gdb.base/watchpoint.exp (test_watch_location): Check null
19598 pointer can be dereferenced. If not, do the test, otherwise
19599 skip it.
19600
53e8a631
AB
196012014-05-30 Andrew Burgess <aburgess@broadcom.com>
19602
19603 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
19604 results.
19605 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
19606
938f0e2f
AB
196072014-05-30 Andrew Burgess <aburgess@broadcom.com>
19608
19609 * gdb.arch/amd64-invalid-stack-middle.S: New file.
19610 * gdb.arch/amd64-invalid-stack-middle.c: New file.
19611 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
19612 * gdb.arch/amd64-invalid-stack-top.c: New file.
19613 * gdb.arch/amd64-invalid-stack-top.exp: New file.
19614
9ba6657a
PA
196152014-05-30 Pedro Alves <palves@redhat.com>
19616
19617 PR breakpoints/17000
19618 * gdb.base/sss-bp-on-user-bp.c: New file.
19619 * gdb.base/sss-bp-on-user-bp.exp: New file.
19620
522c09bf
DB
196212014-05-30 David Blaikie <dblaikie@gmail.com>
19622
19623 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
19624 gnu_inline semantics via attribute.
19625 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
19626 source explicitly specifies the required semantics.
19627
bf4ef81e
MR
196282014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
19629
19630 * gdb.reverse/sigall-reverse.exp: Fix a typo.
19631
329ea579
PA
196322014-05-29 Pedro Alves <palves@redhat.com>
19633 Tom Tromey <tromey@redhat.com>
19634
19635 * gdb.base/async-shell.exp: Don't enable target-async.
19636 * gdb.base/async.exp
19637 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
19638 parameter. Adjust.
19639 (top level): Don't test with "target-async".
19640 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
19641 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
19642 * gdb.base/inferior-died.exp: Don't enable target-async.
19643 * gdb.base/interrupt-noterm.exp: Likewise.
19644 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
19645 * gdb.mi/mi-nonstop-exit.exp: Likewise.
19646 * gdb.mi/mi-nonstop.exp: Likewise.
19647 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
19648 * gdb.mi/mi-nsintrall.exp: Likewise.
19649 * gdb.mi/mi-nsmoribund.exp: Likewise.
19650 * gdb.mi/mi-nsthrexec.exp: Likewise.
19651 * gdb.mi/mi-watch-nonstop.exp: Likewise.
19652 * gdb.multi/watchpoint-multi.exp: Adjust comment.
19653 * gdb.python/py-evsignal.exp: Don't enable target-async.
19654 * gdb.python/py-evthreads.exp: Likewise.
19655 * gdb.python/py-prompt.exp: Likewise.
19656 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
19657 * gdb.server/solib-list.exp: Don't enable target-async.
19658 * gdb.threads/thread-specific-bp.exp: Likewise.
19659 * lib/mi-support.exp: Adjust to use mi-async.
19660
fd664c91
PA
196612014-05-29 Pedro Alves <palves@redhat.com>
19662
19663 PR gdb/13860
19664 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
19665 reason, even in sync mode.
19666
251bde03
PA
196672014-05-29 Pedro Alves <palves@redhat.com>
19668 Hui Zhu <hui@codesourcery.com>
19669
19670 PR PR15693
19671 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
19672 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
19673 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
19674 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
19675
7f3c0343
JB
196762014-05-28 Joel Brobecker <brobecker@adacore.com>
19677
19678 * config/monitor.exp (gdb_target_monitor): Replace use of
19679 "set remotebaud" by "set serial baud".
19680
b2715b27
AW
196812014-05-26 Andy Wingo <wingo@igalia.com>
19682
19683 * gdb.guile/scm-breakpoint.exp:
19684 * gdb.guile/scm-gsmob.exp: Update to use plain old object
19685 properties instead of gdb-object-properties.
19686
498a4489
YQ
196872014-05-26 Yao Qi <yao@codesourcery.com>
19688
19689 * gdb.server/no-thread-db.exp: Specify source file name
19690 explicitly when setting a breakpoint.
19691
589fdceb
MM
196922014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19693
19694 * gdb.btrace/vdso.c: New.
19695 * gdb.btrace/vdso.exp: New.
19696
e9089e05
MM
196972014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19698
19699 * gdb.base/gcore.exp (capture_command_output): Move ...
19700 * lib/gdb.exp (capture_command_output): ... here.
19701
67b5c0c1
MM
197022014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19703
19704 * gdb.btrace/data.exp: Test memory access during btrace replay.
19705
a2199296
SM
197062014-05-22 Simon Marchi <simon.marchi@ericsson.com>
19707
19708 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
19709
17b2616c
PA
197102014-05-21 Pedro Alves <palves@redhat.com>
19711
19712 PR gdb/13860
19713 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
19714 (top level): Test that output related to execution commands is
19715 sent to the console with CLI commands, but not with MI commands.
19716 Test that breakpoint events are always mirrored to the console.
19717 Also expect the new source line to be output after a "next" in
19718 async mode too. Make it a pass/fail test.
19719 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
19720 output.
19721 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
19722
5166082f
PA
197232014-05-21 Pedro Alves <palves@redhat.com>
19724
19725 * gdb.base/list.exp (build_pattern, test_list): New procedures.
19726 Use them to test variations of "list" after reaching a breakpoint.
19727 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
19728 Test "list" with listsize 10 after reaching a breakpoint.
19729 * gdb.python/python.exp (decode_line current location line
19730 number): Adjust expected line number.
19731
2f25d70f
SM
197322014-05-21 Simon Marchi <simon.marchi@ericsson.com>
19733
19734 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
19735 behavior for $args, pass it directly to "run".
19736
ff604a67
MR
197372014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
19738
19739 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
19740 30000 to 65536.
19741
6a3cb8e8
PA
197422014-05-21 Pedro Alves <palves@redhat.com>
19743
19744 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
19745 auto-connect-native-target off".
19746 * gdb.base/auto-connect-native-target.c: New file.
19747 * gdb.base/auto-connect-native-target.exp: New file.
19748
4ebfc96e
PA
197492014-05-21 Pedro Alves <palves@redhat.com>
19750
19751 * gdb.base/default.exp: Test "target native" instead of "target
19752 child".
19753
36d46afb
MW
197542014-05-21 Mark Wielaard <mjw@redhat.com>
19755
19756 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19757
5876f503
JK
197582014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19759
19760 Fix TLS access for -static -pthread.
19761 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
19762 <HAVE_TLS> (thread_function, main): Initialize it.
19763 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
19764 Add clean_restart.
19765 <$have_tls != "">: Check TLSVAR.
19766
0256a6ac
PA
197672014-05-21 Pedro Alves <palves@redhat.com>
19768
19769 * gdb.base/dcache-line-read-error.c: New.
19770 * gdb.base/dcache-line-read-error.exp: New.
19771
936d2992
PA
197722014-05-20 Pedro Alves <palves@redhat.com>
19773
19774 * gdb.base/compare-sections.c: New file.
19775 * gdb.base/compare-sections.exp: New file.
19776
802e8e6d
PA
197772014-05-20 Pedro Alves <palves@redhat.com>
19778
19779 * gdb.base/break-idempotent.c: New file.
19780 * gdb.base/break-idempotent.exp: New file.
19781
e59fa00f
MM
197822014-05-20 Markus Metzger <markus.t.metzger@intel.com>
19783
19784 * gdb.btrace/nohist.exp: New.
19785
8b696e31
YQ
197862014-05-20 Yao Qi <yao@codesourcery.com>
19787
19788 * lib/gdb.exp (gdb_init): Set timeout if test file is under
19789 gdb.reverse directory and gdb_reverse_timeout exists in board
19790 setting.
19791 * README: Document gdb_reverse_timeout.
19792
73c9764f
YQ
197932014-05-20 Yao Qi <yao@codesourcery.com>
19794
19795 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
19796 'test_file_name'. Treat args as a string instead of a list.
19797 (gdb_init): Rename argument 'args' by 'test_file_name'.
19798
f1f4348a
JK
197992014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
19800
19801 * gdb.arch/powerpc-power.exp: New file.
19802 * gdb.arch/powerpc-power.s: New file.
19803
0dbe70ce
DE
198042014-05-16 Doug Evans <dje@google.com>
19805
19806 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
19807 * gdb.base/completion.exp: Check that all expected files exist
19808 before doing file completion.
0dbe70ce 19809
8d551b02
DE
198102014-05-16 Doug Evans <dje@google.com>
19811
19812 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
19813 Update.
19814 (do_syscall_tests_without_xml): Update.
19815
73eb7709
PA
198162014-05-16 Pedro Alves <palves@redhat.com>
19817
19818 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
19819 instead of "unknown output after running".
19820
3fae92fc
YQ
198212014-05-16 Yao Qi <yao@codesourcery.com>
19822
19823 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
19824 file1.txt from host at the end.
19825 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19826
c2b2ccc5
DE
198272014-05-15 Doug Evans <dje@google.com>
19828
19829 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
19830 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
19831 loading file. Add test for TU lookup.
19832
8c217a4b
SM
198332014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19834
19835 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
19836 calling "-exec-arguments" or "set args" before running the
19837 inferior.
19838
3deb39c6
SM
198392014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19840
19841 * lib/mi-support.exp (mi_expect_stop): Expect message for
19842 inferiors that exit with non-zero exit code.
19843
71a79f8c
YQ
198442014-05-14 Yao Qi <yao@codesourcery.com>
19845
19846 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
19847 match absolute path on remote host.
19848 (test_file_list_exec_source_files): Remove "/" from the
19849 pattern.
19850
f23fcd46
YQ
198512014-05-14 Yao Qi <yao@codesourcery.com>
19852
19853 * boards/local-remote-host-notty.exp (${board}_file): New
19854 proc.
19855
9404b58f
KM
198562014-05-07 Kyle McMartin <kyle@redhat.com>
19857
19858 Pushed by Joel Brobecker <brobecker@adacore.com>.
19859 * gdb.arch/aarch64-atomic-inst.c: New file.
19860 * gdb.arch/aarch64-atomic-inst.exp: New file.
19861
5e45f04c
YQ
198622014-05-07 Yao Qi <yao@codesourcery.com>
19863
19864 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
19865 in current context" too.
19866
c888a17d
KS
198672014-05-05 Keith Seitz <keiths@redhat.com>
19868
19869 * gdb.linespec/ls-dollar.exp: Add test for linespec
19870 file:convenience_variable.
19871
290a839c
YQ
198722014-05-05 Yao Qi <yao@codesourcery.com>
19873
19874 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
19875 traceframes into tfile and ctf trace files. Read data from
19876 trace file and test collected data.
19877 (gdb_collect_locals_test): Likewise.
19878 (gdb_unavailable_registers_test): Likewise.
19879 (gdb_unavailable_floats): Likewise.
19880 (gdb_collect_globals_test): Likewise.
19881 (top-level): Append "ctf" to trace_file_targets if GDB
19882 supports.
19883
b5262cd0
YQ
198842014-05-05 Yao Qi <yao@codesourcery.com>
19885
19886 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
19887 code to ...
19888 (gdb_collect_args_test_1): ... it. New proc.
19889 (gdb_collect_locals_test): Move some code to ...
19890 (gdb_collect_locals_test_1): ... it. New proc.
19891 (gdb_unavailable_registers_test): Move some code to ...
19892 (gdb_unavailable_registers_test_1): ... it. New proc.
19893 (gdb_unavailable_floats): Move some code to ...
19894 (gdb_unavailable_floats_1): ... it. New proc.
19895
30a1e6cc
SDJ
198962014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19897
19898 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
19899 probes to test for bitness recognition.
19900 * gdb.arch/amd64-stap-optional-prefix.exp
19901 (test_probe_value_without_reg): New procedure.
19902 Add code to test for different kinds of bitness.
19903
f33da99a
SDJ
199042014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19905
19906 PR breakpoints/16889
19907 * gdb.arch/amd64-stap-optional-prefix.S: New file.
19908 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19909
5b80f00d
PA
199102014-05-01 Pedro Alves <palves@redhat.com>
19911
19912 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
19913 gdb_file_cmd if no file is specified.
19914 * boards/native-extended-gdbserver.exp (gdb_load): Use the
19915 last_loaded_file to set the remote exec-file.
19916
f8c2a73c
PA
199172014-05-01 Pedro Alves <palves@redhat.com>
19918
19919 * boards/local-remote-host.exp: New file.
19920
be6e8ac7
PA
199212014-05-01 Pedro Alves <palves@redhat.com>
19922
19923 * boards/local-remote-host.exp: Rename to ...
19924 * boards/local-remote-host-notty.exp: ... this.
19925
cac0dc8f
JB
199262014-04-28 Joel Brobecker <brobecker@adacore.com>
19927
19928 * gdb.ada/dyn_arrayidx: New testcase.
19929
9730e6cc
YQ
199302014-04-26 Yao Qi <yao@codesourcery.com>
19931
19932 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
19933 and compute the length of function main. Save it in
19934 $main_length.
19935 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
19936 (top-level): Use gdb_compile to compile objects into
19937 executable and restart GDB. Remove invocation to
19938 prepare_for_testing.
19939
7ae1a6a6
PA
199402014-04-25 Simon Marchi <simon.marchi@ericsson.com>
19941 Pedro Alves <palves@redhat.com>
19942
19943 PR server/16255
19944 * gdb.multi/multi-attach.c: New file.
19945 * gdb.multi/multi-attach.exp: New file.
19946
4082afcc
PA
199472014-04-25 Pedro Alves <palves@redhat.com>
19948
19949 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
19950 user.
19951 (top level): Test that "set remote conditional-breakpoints-packet
19952 off" works as intended.
19953 * gdb.base/dprintf.exp: Test that "set remote
19954 breakpoint-commands-packet off" works as intended.
19955 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
19956 New function.
19957 (top level): Call it.
19958 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
19959 remote fast-tracepoints-packet off" works as intended.
19960 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
19961 * lib/gdb.exp (gdb_is_target_remote): ... here.
19962
2abc3f8d
DB
199632014-04-24 David Blaikie <dblaikie@gmail.com>
19964
19965 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
19966 ensure clang would not discard them.
19967 * gdb.base/gdbvars.c: Ditto.
19968 * gdb.base/memattr.c: Ditto.
19969 * gdb.base/whatis.c: Ditto.
19970 * gdb.python/py-prettyprint.c: Ditto.
19971 * gdb.trace/actions.c: Ditto.
19972 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
19973 ensure clang would not discard it.
19974
bfd39632
DB
199752014-04-24 David Blaikie <dblaikie@gmail.com>
19976
19977 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
19978 clang to emit the full definition of type required by the test
19979 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
19980
22842ff6
DB
199812014-04-24 David Blaikie <dblaikie@gmail.com>
19982
19983 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
19984 coax Clang into emitting the definition of the type.
19985 * gdb.cp/pr10728-x.h (y): Ditto.
19986 * gdb.cp/pr10728-y.cc (y): Ditto.
19987
c2e827ad
DB
199882014-04-24 David Blaikie <dblaikie@gmail.com>
19989
19990 * gdb.base/label.exp: XFAIL label related tests under Clang.
19991 * gdb.cp/cplabel.exp: Ditto.
19992 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
19993 under Clang those using labels.
19994
4c2d33e7
YQ
199952014-04-25 Yao Qi <yao@codesourcery.com>
19996
19997 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
19998 double_label.
19999 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
20000 partial_label and double_label.
20001
56083b99
DB
200022014-04-24 David Blaikie <dblaikie@gmail.com>
20003
20004 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
20005
25d4e99d
DB
200062014-04-24 David Blaikie <dblaikie@gmail.com>
20007
20008 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
20009 of the function to work across GCC and Clang.
20010 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
20011 pointer types (const void ** const V void **).
20012
01f9f808
MS
200132014-04-24 Michael Sturm <michael.sturm@mintel.com>
20014 Walfred Tedeschi <walfred.tedeschi@intel.com>
20015
20016 * Makefile.in (EXECUTABLES): Added i386-avx512.
20017 * gdb.arch/i386-avx512.c: New file.
20018 * gdb.arch/i386-avx512.exp: Likewise.
20019
4b48d439
KS
200202014-04-23 Keith Seitz <keiths@redhat.com>
20021
20022 * lib/mi-support.exp (mi_list_breakpoints): Delete.
20023 (mi_make_breakpoint_table): New procedure.
20024 (mi_create_breakpoint): Use mi_make_breakpoint
20025 and return the result.
20026 (mi_make_breakpoint): New procedure.
20027 (mi_build_kv_pairs): New procedure.
20028
20029 * gdb.mi/mi-break.exp: Remove unused globals,
20030 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
20031 All callers updated.
20032 * gdb.mi/mi-dprintf.exp: Use variable to track command
20033 number.
20034 Update all callers of mi_create_breakpoint and use
20035 mi_make_breakpoint_table.
20036 Remove any unused global variables.
20037 * gdb.mi/mi-nonstop.exp: Likewise.
20038 * gdb.mi/mi-nsintrall.exp: Likewise.
20039 * gdb.mi/mi-nsmoribund.exp: Likewise.
20040 * gdb.mi/mi-nsthrexec.exp: Likewise.
20041 * gdb.mi/mi-reverse.exp: Likewise.
20042 * gdb.mi/mi-simplerun.exp: Likewise.
20043 * gdb.mi/mi-stepn.exp: Likewise.
20044 * gdb.mi/mi-syn-frame.exp: Likewise.
20045 * gdb.mi/mi-until.exp: Likewise.
20046 * gdb.mi/mi-var-cp.exp: Likewise.
20047 * gdb.mi/mi-var-display.exp: Likewise.
20048 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
20049 * gdb.mi/mi2-var-child.exp: Likewise.
20050 * gdb.mi/mi-vla-c99.exp: Likewise.
20051 * lib/mi-support.exp: Likewise.
20052
20053 From Ian Lance Taylor <iant@cygnus.com>:
20054 * lib/gdb.exp (parse_args): New procedure.
20055
08351840
PA
200562014-04-23 Pedro Alves <palves@redhat.com>
20057
20058 * gdb.base/break-unload-file.c: New file.
20059 * gdb.base/break-unload-file.exp: New file.
20060 * gdb.base/sym-file-lib.c (baz): New function.
20061 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
20062 field.
20063 (load): Store the segment's mapped size.
20064 (unload): New function.
20065 (unload_shlib): New function.
20066 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
20067 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
20068 set a breakpoint at baz, and call it.
20069 * gdb.base/sym-file.exp: New tests for stale breakpoint
20070 instructions.
20071
076855f9
PA
200722014-04-23 Pedro Alves <palves@redhat.com>
20073
20074 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
20075 * gdb.base/hbreak-in-shr-unsupported.c: New file.
20076 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
20077 * gdb.base/hbreak-unmapped.c: New file.
20078 * gdb.base/hbreak-unmapped.exp: New file.
20079 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
20080 * lib/gdb.exp (gdb_is_target_remote): ... here.
20081
483805cf
PA
200822014-04-22 Pedro Alves <palves@redhat.com>
20083
20084 * gdb.base/consecutive-step-over.c: New file.
20085 * gdb.base/consecutive-step-over.exp: New file.
20086
06d97543
PA
200872014-04-22 Pedro Alves <palves@redhat.com>
20088
20089 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
20090 instead of send_gdb/gdb_expect.
20091
b4429ea2
YQ
200922014-04-22 Yao Qi <yao@codesourcery.com>
20093
20094 * lib/trace-support.exp (generate_tracefile): New procedure.
20095 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
20096 return 0.
20097 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
20098 if generate_tracefile returns 1.
20099
51d48146
PA
201002014-04-18 Tom Tromey <palves@redhat.com>
20101 Pedro alves <tromey@redhat.com>
20102
20103 PR backtrace/15558
20104 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
20105 with a backtrace limit.
20106 * gdb.python/py-frame-inline.exp: Test running to an inline
20107 function with a backtrace limit, and printing the newest frame.
20108 * gdb.python/py-frame-inline.c (main): Call f.
20109
bd1dce5f
MS
201102014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20111
20112 * gdb.java/jnpe.exp: Drop srcdir from untested path.
20113
40d1a503
MS
201142014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20115
20116 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
20117 Drop prefix from unsupported source file path.
20118
389b98f7
YQ
201192014-04-17 Yao Qi <yao@codesourcery.com>
20120
20121 * lib/gdb.exp (with_target_charset): New proc.
20122 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
20123 with_target_charset.
20124 (test_print_strings): Likewise.
20125 (test_repeat_bytes): Likewise.
20126 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
20127 for some tests.
20128
22869d73
KS
201292014-04-16 Keith Seitz <keiths@redhat.com>
20130
20131 PR gdb/15827
20132 * gdb.dwarf2/corrupt.c: New file.
20133 * gdb.dwarf2/corrupt.exp: New file.
20134
c4f87ca6
KS
201352014-04-16 Keith Seitz <keiths@redhat.com>
20136
20137 PR c++/16597
20138 * gdb.cp/namelessclass.cc: New file.
20139 * gdb.cp/namelessclass.exp: New file.
20140 * gdb.cp/namelessclass.S: New file.
20141
ab19de87
DE
201422014-04-16 Doug Evans <dje@google.com>
20143
20144 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
20145 Add comment.
20146 (gdbserver_default_get_comm_port): New function.
20147 (gdbserver_start): Check if board file provided
20148 "gdbserver,get_comm_port" and use it if so.
20149 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
20150 (gdb,socketport): Set to "stdio".
20151 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
20152 (stdio_gdbserver_template): Delete.
20153 (${board}_get_remote_address): Update.
20154 (${board}_build_remote_cmd): Delete.
20155 (${board}_get_comm_port): New function.
20156 (${board}_spawn): Update.
20157 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
20158 Delete.
20159 (${board}_get_remote_address): Update.
20160 (${board}_get_comm_port): New function.
20161
fc98a809
AB
201622014-04-16 Andrew Burgess <aburgess@broadcom.com>
20163
20164 * gdb.base/memattr.exp: Improve regexps to handle memory regions
20165 appearing in any order.
20166
87fd9e6e
DE
201672014-04-15 Doug Evans <dje@google.com>
20168
20169 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
20170 uninitialized value of "description".
20171
099fc3ea
KS
201722014-04-15 Keith Seitz <keiths@redhat.com>
20173
20174 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
20175 Remove unused globals.
20176 (test_running_the_program): Likewise.
20177 (test_controlled_execution): Likewise.
20178 (test_controlling_breakpoints): Likewise.
20179 (test_program_termination): Likewise.
20180
5da151d4
KS
201812014-04-15 Keith Seitz <keiths@redhat.com>
20182
20183 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
20184 unused globals.
20185 (test_rbreak_creation_and_listing): Likewise.
20186 (test_ignore_count): Likewise.
20187 (test_error): Likewise.
20188
35e5d2f0
PA
201892014-04-15 Pedro Alves <palves@redhat.com>
20190
20191 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
20192 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
20193 sym-file-loader.c.
20194 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20195 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20196 to sym-file-loader.c.
20197 (struct library): Forward declare.
20198 (load_shlib, lookup_function): Change prototypes.
20199 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20200 (translate_offset): Remove declarations.
20201 (get_text_addr): New declaration.
20202 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
20203 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
20204 sym-file-loader.h.
20205 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20206 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20207 here from sym-file-loader.h.
20208 (struct library): New structure.
20209 (load_shlib, lookup_function): Change prototypes and adjust to
20210 work with a struct library.
20211 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20212 (translate_offset): Make static.
20213 (get_text_addr): New function.
20214 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
20215
eb4c1710
PA
202162014-04-15 Pedro Alves <palves@redhat.com>
20217
20218 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
20219
2d1baf52
PA
202202014-04-15 Pedro Alves <palves@redhat.com>
20221
20222 * gdb.base/sym-file-loader.c: Include <limits.h>.
20223 (SELF_LINK): New define.
20224 (get_origin): New function.
20225 (load_shlib): Use it.
20226 * gdb.base/sym-file.exp: Don't early return if the target is
20227 remote. Use runto_main, and issue fail is that fails. Use
20228 gdb_load_shlibs.
20229 (shlib_name): Delete.
20230 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
20231
7dd6df01
PA
202322014-04-15 Pedro Alves <palves@redhat.com>
20233
20234 * gdb.base/sym-file.exp: Remove regex characters from test
20235 message. Don't refer to breakpoint numbers in test messages.
20236
b50c8614
KS
202372014-04-14 Keith Seitz <keiths@redhat.com>
20238
20239 PR c++/16253
20240 * gdb.cp/var-tag.cc: New file.
20241 * gdb.cp/var-tag.exp: New file.
20242 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20243 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20244 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20245 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20246
3d567982
TT
202472014-04-14 Tom Tromey <tromey@redhat.com>
20248
20249 * gdb.cp/classes.exp (test_enums): Handle underlying type.
20250 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
20251 type.
20252 * gdb.cp/enum-class.exp: New file.
20253 * gdb.cp/enum-class.cc: New file.
20254
0626fc76
TT
202552014-04-14 Tom Tromey <tromey@redhat.com>
20256
20257 * gdb.dwarf2/enum-type.exp: New file.
20258
dca325b3
SA
202592014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20260
20261 * gdb.mi/mi-vla-c99.exp: New file.
20262 * gdb.mi/vla.c: New file.
20263
5854b38a
SA
202642014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20265
20266 * gdb.base/vla-datatypes.c: New file.
20267 * gdb.base/vla-datatypes.exp: New file.
20268
463bb957
SA
202692014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20270
20271 * gdb.base/vla-ptr.c: New file.
20272 * gdb.base/vla-ptr.exp: New file.
20273
3dd170be
SA
202742014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20275
20276 * gdb.dwarf2/count.exp: New file.
20277
5ecaaa66
SA
202782014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20279
20280 * gdb.base/vla-sideeffect.c: New file.
20281 * gdb.base/vla-sideeffect.exp: New file.
20282
41f1ada5
DB
202832014-04-14 David Blaikie <dblaikie@gmail.com>
20284
20285 * gdb.mi/non-stop.c: Add return value for non-void function return
20286 statement.
20287 * gdb.threads/staticthreads.c: Ditto.
20288
0be03e84
DE
202892014-04-12 Siva Chandra Reddy <sivachandra@google.com>
20290 Doug Evans <xdje42@gmail.com>
20291
20292 * gdb.guile/scm-value.c: Improve test case.
20293 * gdb.guile/scm-value.exp: Add new test.
20294
f180a1fb
DB
202952014-04-11 David Blaikie <dblaikie@gmail.com>
20296
20297 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
20298 override Clang's default.
20299
6b662e19
JB
203002014-04-11 Joel Brobecker <brobecker@adacore.com>
20301
20302 Revert the following changes (regressions):
20303
20304 * gdb.base/vla-sideeffect.c: New file.
20305 * gdb.base/vla-sideeffect.exp: New file.
20306
20307 * gdb.dwarf2/count.exp: New file.
20308
20309 * gdb.base/vla-multi.c: New file.
20310 * gdb.base/vla-multi.exp: New file.
20311
20312 * gdb.base/vla-ptr.c: New file.
20313 * gdb.base/vla-ptr.exp: New file.
20314
20315 * gdb.base/vla-datatypes.c: New file.
20316 * gdb.base/vla-datatypes.exp: New file.
20317
20318 * gdb.mi/mi-vla-c99.exp: New file.
20319 * gdb.mi/vla.c: New file.
20320
245a5f0b
KS
203212014-04-11 Keith Seitz <keiths@redhat.com>
20322
20323 PR c++/16675
20324 * gdb.cp/cpsizeof.exp: New file.
20325 * gdb.cp/cpsizeof.cc: New file.
20326
58a84dcf
SA
203272014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20328
191a8a90
JB
20329 * gdb.mi/mi-vla-c99.exp: New file.
20330 * gdb.mi/vla.c: New file.
58a84dcf 20331
c8655f75
SA
203322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20333
20334 * gdb.base/vla-datatypes.c: New file.
20335 * gdb.base/vla-datatypes.exp: New file.
20336
024e13b4
SA
203372014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20338
20339 * gdb.base/vla-ptr.c: New file.
20340 * gdb.base/vla-ptr.exp: New file.
20341
1a237e0e
SA
203422014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20343
20344 * gdb.base/vla-multi.c: New file.
20345 * gdb.base/vla-multi.exp: New file.
20346
504f3432
SA
203472014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20348
20349 * gdb.dwarf2/count.exp: New file.
20350
3bce8237
SA
203512014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20352
191a8a90
JB
20353 * gdb.base/vla-sideeffect.c: New file.
20354 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 20355
322f9c21
YQ
203562014-04-11 Yao Qi <yao@codesourcery.com>
20357
20358 * gdb.base/completion.exp: Check file exists before running tests
20359 on file completion.
20360
d708bcd1
PA
203612014-04-10 Pedro Alves <palves@redhat.com>
20362
20363 * gdb.base/cond-eval-mode.c: New file.
20364 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
20365 prepare_for_testing to build the new file. Check result of
20366 runto_main.
20367 (test_break, test_watch): New procedures.
20368 (top level): Use them.
20369
ae1d2761
PM
203702014-04-08 Pierre Muller <muller@sourceware.org>
20371
20372 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
20373 Ctrl-V use for mingw hosts.
20374
7af389b8
SC
203752014-04-07 Siva Chandra Reddy <sivachandra@google.com>
20376
20377 * gdb.python/py-value.c: Improve test case.
20378 * gdb.python/py-value.exp: Add new test.
20379
5e703181
DE
203802014-04-07 David Blaikie <dblaikie@gmail.com>
20381
20382 * lib/compiler.c: Identify the clang compiler.
20383 * lib/compiler.cc: Ditto.
20384
9810b410
YQ
203852014-04-03 Yao Qi <yao@codesourcery.com>
20386
20387 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
20388
98d1b8dc
AB
203892014-04-01 Anton Blanchard <anton@samba.org>
20390
20391 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
20392 messages unique.
20393
3114cea1
AB
203942014-04-01 Anton Blanchard <anton@samba.org>
20395
20396 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
20397 prepare_for_testing.
20398
62f7182c
AB
203992014-04-01 Anton Blanchard <anton@samba.org>
20400
20401 * gdb.arch/ppc64-atomic-inst.c: Remove.
20402 * gdb.arch/ppc64-atomic-inst.S: New file.
20403 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
20404
770e7fc7
DE
204052014-03-31 Doug Evans <dje@google.com>
20406
20407 * gdb.base/print-symbol-loading-lib.c: New file.
20408 * gdb.base/print-symbol-loading-main.c: New file.
20409 * gdb.base/print-symbol-loading.exp: New file.
20410
46e2bafa
YQ
204112014-03-31 Yao Qi <yao@codesourcery.com>
20412
20413 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
20414
8776cfe9
JB
204152014-03-28 Joel Brobecker <brobecker@adacore.com>
20416
20417 * gdb.ada/mi_dyn_arr: New testcase.
20418
5d1ef361
DE
204192014-03-27 Doug Evans <dje@google.com>
20420
20421 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
20422
b5bee914
YQ
204232014-03-27 Yao Qi <yao@codesourcery.com>
20424
20425 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
20426 if target is nios2-*-*.
20427
0d4d0e77
YQ
204282014-03-26 Yao Qi <yao@codesourcery.com>
20429
20430 * lib/gdb.exp (readline_is_used): New proc.
20431 * gdb.base/completion.exp: Move tests on command complete up.
20432 Skip the rest of tests if readline is not used.
20433 * gdb.ada/complete.exp: Skp the test if readline is not
20434 used.
20435 * gdb.base/filesym.exp: Likewise.
20436 * gdb.base/macscp.exp: Likewise.
20437 * gdb.base/readline-ask.exp: Likewise.
20438 * gdb.base/readline.exp: Likewise.
20439 * gdb.python/py-cmd.exp: Likewise.
20440 * gdb.trace/tfile.exp: Likewise.
20441
29361eee
YQ
204422014-03-26 Yao Qi <yao@codesourcery.com>
20443
20444 * gdb.base/macscp.exp: Fix code format issues.
20445
bc9a5525
UW
204462014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
20447
20448 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
20449 * gdb.asm/powerpc64le.inc: New file.
20450
d3839ede
PA
204512014-03-25 Pedro Alves <palves@redhat.com>
20452 Doug Evans <dje@google.com>
20453
20454 * gdb.base/source-execution.c: New file.
20455 * gdb.base/source-execution.exp: New file.
20456 * gdb.base/source-execution.gdb: New file.
20457
01672a57
DE
204582014-03-24 Doug Evans <dje@google.com>
20459
20460 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
20461 using fission.
20462
88bbeca9
HZ
204632014-03-24 Hui Zhu <hui@codesourcery.com>
20464 Pedro Alves <palves@redhat.com>
20465
20466 PR breakpoints/16101
20467 * gdb.base/dprintf.exp: Use unsupported rather than changing the
20468 test pass/fail messages. Detect missing support for dprintf when
20469 breakpoints are actually inserted.
20470 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
20471 breakpoints are actually inserted.
20472 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
20473 fails.
20474
d2348791
JK
204752014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
20476
20477 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
20478
feef67ab
DE
204792014-03-22 Doug Evans <xdje42@gmail.com>
20480
20481 * gdb.python/python.exp (python not supported): Verify multi-line
20482 python command issues an error.
25d743f9 20483 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 20484 guile command issues an error.
feef67ab 20485
ecebef6a
MR
204862014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
20487
20488 * gdb.threads/thread-specific.exp: Handle the lack of usable
20489 $this_breakpoint and $this_thread.
20490
ccdd1909
HZ
204912014-03-21 Hui Zhu <hui@codesourcery.com>
20492
20493 * gdb.base/attach.exp (do_command_attach_tests): New.
20494
beb460e8
PA
204952014-03-20 Tom Tromey <tromey@redhat.com>
20496 Pedro Alves <palves@redhat.com>
20497
20498 PR cli/15718
20499 * gdb.base/condbreak-call-false.c: New file.
20500 * gdb.base/condbreak-call-false.exp: New file.
20501
40acf43a
PA
205022014-03-20 Pedro Alves <palves@redhat.com>
20503
20504 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
20505 Delete.
20506 (block_signals, unblock_signals): Delete.
20507 (child_function_2, main): Remove references to deleted variable
20508 and functions.
20509
9f5e1e02
PA
205102014-03-20 Pedro Alves <palves@redhat.com>
20511
20512 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
20513 Use pthread_kill to signal thread 2.
20514 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20515 Adjust to make the test send itself a signal rather than using the
20516 host's "kill" command.
20517
99619bea
PA
205182014-03-20 Pedro Alves <palves@redhat.com>
20519
20520 * gdb.threads/multiple-step-overs.c: New file.
20521 * gdb.threads/multiple-step-overs.exp: New file.
20522 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20523 Adjust expected infrun debug output.
20524
2adfaa28
PA
205252014-03-20 Pedro Alves <palves@redhat.com>
20526
20527 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
20528 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
20529
31e77af2
PA
205302014-03-20 Pedro Alves <palves@redhat.com>
20531
20532 PR breakpoints/7143
20533 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
20534 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
20535 of gdb_test_multiple.
20536 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
20537 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
20538
b9f437de
PA
205392014-03-20 Pedro Alves <palves@redhat.com>
20540
20541 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
20542 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
20543
05adc73e
PA
205442014-03-19 Pedro Alves <palves@redhat.com>
20545
20546 * gdb.base/async.exp: Remove early return.
20547
6048b950
PA
205482014-03-19 Pedro Alves <palves@redhat.com>
20549
20550 * gdb.base/async.exp (step& tests): Pass explicit test messages.
20551
8bcfb00a
PA
205522014-03-19 Pedro Alves <palves@redhat.com>
20553
20554 * gdb.base/async.exp (test_background): Expect \r\n after
20555 "completed." in the fail pattern.
20556
884e37dc
PA
205572014-03-19 Pedro Alves <palves@redhat.com>
20558
20559 * gdb.base/async.exp (test_background): New procedure.
20560 Use it for all background execution command tests.
20561
148e57e2
PA
205622014-03-19 Pedro Alves <palves@redhat.com>
20563
20564 * gdb.base/async.exp: Use prepare_for_testing.
20565
f48088c7
PA
205662014-03-19 Pedro Alves <palves@redhat.com>
20567
20568 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
20569 the same line.
20570
e2f6c966
PA
205712014-03-19 Pedro Alves <palves@redhat.com>
20572
20573 * gdb.base/async.c (main): Add "jump here" and "until here" line
20574 marker comments.
20575 * gdb.base/async.exp (jump_here): New global.
20576 (jump& test): Use it.
20577 (until_here): New global.
20578 (until& test): Use it.
20579
c30568d4
PA
205802014-03-19 Pedro Alves <palves@redhat.com>
20581
20582 * gdb.base/async.exp: Don't frob gdb_protocol.
20583
0172b6a7
DE
205842014-03-18 Doug Evans <xdje42@gmail.com>
20585
20586 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
20587 Fix spelling of exec-done-display.
20588
06c868a8
JK
205892014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
20590
20591 PR gdb/15358
20592 * gdb.base/gdb-sigterm.c: New file.
20593 * gdb.base/gdb-sigterm.exp: New file.
20594
0c7e1a46
PA
205952014-03-18 Pedro Alves <palves@redhat.com>
20596
20597 PR gdb/13860
20598 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
20599 * lib/mi-support.exp (mi_expect_stop): Add special handling for
20600 solib-event.
20601
f7c77d93
JB
206022014-03-17 Joel Brobecker <brobecker@adacore.com>
20603
20604 * gdb.ada/pckd_arr_ren: New testcase.
20605
5a1e8c7a
DE
206062014-03-13 Doug Evans <xdje42@gmail.com>
20607
20608 PR guile/16612
20609 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
20610 collect after discarding symbols.
20611
350e1a76
DE
206122014-03-13 Ludovic Courtès <ludo@gnu.org>
20613 Doug Evans <xdje42@gmail.com>
20614
20615 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
20616 to history survives a gc.
20617
a69900ae
PA
206182014-03-13 Pedro Alves <palves@redhat.com>
20619
20620 * gdb.base/default.exp: Don't test "target procfs".
20621
5db9f0bd
PA
206222014-03-13 Pedro Alves <palves@redhat.com>
20623
20624 * gdb.base/default.exp: Update "target child" and "target procfs"
20625 tests to not expect "Unix".
20626
b3ccfe11
TT
206272014-03-12 Tom Tromey <tromey@redhat.com>
20628
20629 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
20630 New procs. Add target-async tests.
20631 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
20632 Add target-async tests.
20633
646f4417
AA
206342014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20635
20636 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
20637 'func_start' and 'func_end' for the beginning and end of the
20638 function code, respectively.
20639 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
20640 'func_end' instead of 'func' and 'main'.
20641
288c211f
AA
206422014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20643
20644 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
20645 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
20646 generate the debug info assembler source.
20647
e0c0f156
AA
206482014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20649
20650 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
20651 * gdb.dwarf2/arr-subrange.exp: Likewise.
20652 * gdb.dwarf2/dwz.exp: Likewise.
20653 * gdb.dwarf2/method-ptr.exp: Likewise.
20654 * gdb.dwarf2/missing-sig-type.exp: Likewise.
20655 * gdb.dwarf2/subrange.exp: Likewise.
20656 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
20657 * gdb.dwarf2/implptrpiece.exp: Likewise.
20658 * gdb.dwarf2/nostaticblock.exp: Likewise.
20659
0e5c4555
AA
206602014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20661
20662 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
20663 directory to absolute path name arguments.
20664
5ec18f2b
JG
206652014-03-10 Joel Brobecker <brobecker@adacore.com>
20666
20667 * gdb.ada/tagged_access: New testcase.
20668
847fc4f2
MM
206692014-03-07 Markus Metzger <markus.t.metzger@intel.com>
20670
20671 * gdb.btrace/data.exp: Update expected output.
20672
cc3da688
YQ
206732014-03-06 Yao Qi <yao@codesourcery.com>
20674
20675 * gdb.trace/pr16508.exp: New file.
20676
0f26cec1
PA
206772014-03-05 Pedro Alves <palves@redhat.com>
20678
20679 PR gdb/16575
20680 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
20681 procedure.
20682 (top level): Adjust to use it. Add tests that exercise breakpoint
20683 interaction with the code-cache.
20684
7a5a839f
LC
206852014-02-26 Ludovic Courtès <ludo@gnu.org>
20686
20687 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
20688 test for 'history-append!'.
20689
31aa7e4e
JB
206902014-02-26 Joel Brobecker <brobecker@adacore.com>
20691
20692 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
20693 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
20694 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
20695 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
20696 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
20697 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
20698
1b588015
JB
206992014-02-26 Joel Brobecker <brobecker@adacore.com>
20700
20701 * testsuite/gdb.python/py-pp-re-notag.c: New file.
20702 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
20703 * testsuite/gdb.python/py-pp-re-notag.p: New file.
20704
55426c9d
JB
207052014-02-26 Joel Brobecker <brobecker@adacore.com>
20706
20707 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
20708
dc53a7ad
JB
207092014-02-26 Joel Brobecker <brobecker@adacore.com>
20710
20711 * gdb.dwarf2/arr-stride.c: New file.
20712 * gdb.dwarf2/arr-stride.exp: New file.
20713
12ab52e9
PA
207142014-02-26 Pedro Alves <palves@redhat.com>
20715
20716 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
20717 that won't ever trigger. Make sure that GDB reports the correct
20718 breakpoint that caused the stop.
20719
849c862e
JK
207202014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20721
20722 PR gdb/16626
20723 * gdb.base/auto-load-script: New file.
20724 * gdb.base/auto-load.c: New file.
20725 * gdb.base/auto-load.exp: New file.
20726
71b7d793
JK
20727 PR gdb/16626
20728 * gdb.base/auto-load.exp: Fix out-of-srctree run.
20729
e2f0d509
JK
207302014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20731
20732 Fix dw2-icycle.exp -fsanitize=address GDB crash.
20733 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
20734
50cc37c8
DE
207352014-02-24 Doug Evans <dje@google.com>
20736
20737 * lib/gdb.exp (run_on_host): Log error output if program fails.
20738
ea4758f2
PA
207392014-02-21 Pedro Alves <palves@redhat.com>
20740
20741 * gdb.threads/step-after-sr-lock.c: Rename to ...
20742 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
20743 * gdb.threads/step-after-sr-lock.exp: Rename to ...
20744 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20745 ... this.
20746
d7b30f67
SDJ
207472014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
20748
20749 PR tdep/16397
20750 * gdb.arch/amd64-stap-special-operands.exp: New file.
20751 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
20752 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
20753 * gdb.arch/amd64-stap-triplet.S: Likewise.
20754 * gdb.arch/amd64-stap-triplet.c: Likewise.
20755
83deb43f
JB
207562014-02-20 Joel Brobecker <brobecker@adacore.com>
20757
20758 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
20759 in .section pseudo-op.
20760
adde2bff
DE
207612014-02-20 lin zuojian <manjian2006@gmail.com>
20762 Joel Brobecker <brobecker@adacore.com>
20763 Doug Evans <xdje42@gmail.com>
20764
20765 PR symtab/16581
20766 * gdb.dwarf2/dw2-icycle.S: New file.
20767 * gdb.dwarf2/dw2-icycle.c: New file.
20768 * gdb.dwarf2/dw2-icycle.exp: New file.
20769
f7bd0f78
SC
207702014-02-19 Siva Chandra Reddy <sivachandra@google.com>
20771
20772 * gdb.python/py-value-cc.cc: Improve test case to enable testing
20773 operations on gdb.Value objects.
20774 * gdb.python/py-value-cc.exp: Add new test to test operations on
20775 gdb.Value objects.
20776
c17ef0d5
DE
207772014-02-18 Doug Evans <dje@google.com>
20778
20779 * Makefile.in (TESTS): New variable.
20780 (expanded_tests, expanded_tests_or_none): New variables
20781 (check-single): Pass $(expanded_tests_or_none) to runtest.
20782 (check-parallel): Only run tests in $(TESTS) if non-empty.
20783 (check/no-matching-tests-found): New rule.
20784 * README: Document TESTS makefile variable.
20785
5dd3176f
DE
207862014-02-18 Doug Evans <dje@google.com>
20787
20788 * Makefile.in (check-parallel): rm -rf outputs temp.
20789
0b10be4f
JK
207902014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20791
20792 Fix "ERROR: no fileid for" in the testsuite.
20793 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
20794
85f224e7
DE
207952014-02-12 Doug Evans <dje@google.com>
20796
20797 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
20798 (MISCELLANEOUS): New variable.
20799 (clean): rm -rf $(MISCELLANEOUS).
20800 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
20801 dwp live in the same directory as symlinks, with each symlink pointed
20802 to a differently named file in a different directory.
20803
149b30ff
DE
208042014-02-11 Doug Evans <dje@google.com>
20805
20806 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
20807 of Tcl file commands.
20808
1dfdac32
MK
208092014-02-10 Mark Kettenis <kettenis@gnu.org>
20810
20811 * gdb.threads/step-after-sr-lock.exp: Avoid executing
20812 "kill -SIGUSR1 -1".
20813
aa4fb036
JB
208142014-02-10 Joel Brobecker <brobecker@adacore.com>
20815
20816 * gdb.ada/tick_length_array_enum_idx: New testcase.
20817
ed3ef339
DE
208182014-02-10 Doug Evans <xdje42@gmail.com>
20819
20820 * configure.ac (AC_OUTPUT): Add gdb.guile.
20821 * configure: Regenerate.
20822 * lib/gdb-guile.exp: New file.
20823 * lib/gdb.exp (get_target_charset): New function.
20824 * gdb.base/help.exp: Update expected output from "apropos apropos".
20825 * gdb.guile/Makefile.in: New file.
20826 * gdb.guile/guile.exp: New file.
20827 * gdb.guile/scm-arch.c: New file.
20828 * gdb.guile/scm-arch.exp: New file.
20829 * gdb.guile/scm-block.c: New file.
20830 * gdb.guile/scm-block.exp: New file.
20831 * gdb.guile/scm-breakpoint.c: New file.
20832 * gdb.guile/scm-breakpoint.exp: New file.
20833 * gdb.guile/scm-disasm.c: New file.
20834 * gdb.guile/scm-disasm.exp: New file.
20835 * gdb.guile/scm-equal.c: New file.
20836 * gdb.guile/scm-equal.exp: New file.
20837 * gdb.guile/scm-error.exp: New file.
20838 * gdb.guile/scm-error.scm: New file.
20839 * gdb.guile/scm-frame-args.c: New file.
20840 * gdb.guile/scm-frame-args.exp: New file.
20841 * gdb.guile/scm-frame-args.scm: New file.
20842 * gdb.guile/scm-frame-inline.c: New file.
20843 * gdb.guile/scm-frame-inline.exp: New file.
20844 * gdb.guile/scm-frame.c: New file.
20845 * gdb.guile/scm-frame.exp: New file.
20846 * gdb.guile/scm-generics.exp: New file.
20847 * gdb.guile/scm-gsmob.exp: New file.
20848 * gdb.guile/scm-iterator.c: New file.
20849 * gdb.guile/scm-iterator.exp: New file.
20850 * gdb.guile/scm-math.c: New file.
20851 * gdb.guile/scm-math.exp: New file.
20852 * gdb.guile/scm-objfile-script-gdb.in: New file.
20853 * gdb.guile/scm-objfile-script.c: New file.
20854 * gdb.guile/scm-objfile-script.exp: New file.
20855 * gdb.guile/scm-objfile.c: New file.
20856 * gdb.guile/scm-objfile.exp: New file.
20857 * gdb.guile/scm-ports.exp: New file.
20858 * gdb.guile/scm-pretty-print.c: New file.
20859 * gdb.guile/scm-pretty-print.exp: New file.
20860 * gdb.guile/scm-pretty-print.scm: New file.
20861 * gdb.guile/scm-section-script.c: New file.
20862 * gdb.guile/scm-section-script.exp: New file.
20863 * gdb.guile/scm-section-script.scm: New file.
20864 * gdb.guile/scm-symbol.c: New file.
20865 * gdb.guile/scm-symbol.exp: New file.
20866 * gdb.guile/scm-symtab-2.c: New file.
20867 * gdb.guile/scm-symtab.c: New file.
20868 * gdb.guile/scm-symtab.exp: New file.
20869 * gdb.guile/scm-type.c: New file.
20870 * gdb.guile/scm-type.exp: New file.
20871 * gdb.guile/scm-value-cc.cc: New file.
20872 * gdb.guile/scm-value-cc.exp: New file.
20873 * gdb.guile/scm-value.c: New file.
20874 * gdb.guile/scm-value.exp: New file.
20875 * gdb.guile/source2.scm: New file.
20876 * gdb.guile/types-module.cc: New file.
20877 * gdb.guile/types-module.exp: New file.
20878
7026a7c1
YQ
208792014-02-10 Yao Qi <yao@codesourcery.com>
20880
20881 PR testsuite/16543
20882 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
20883 * configure: Regenerated.
20884 * Makefile.in: New file.
20885
6c466447
AS
208862014-02-08 Andreas Schwab <schwab@linux-m68k.org>
20887
20888 * gdb.python/py-framefilter.exp: Fix typo.
20889
6e854735
YQ
208902014-02-08 Yao Qi <yao@codesourcery.com>
20891
20892 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
20893 that no =breakpoint-modified is emitted when breakpoints are
20894 modified through MI commands.
20895
d137e6dc
PA
208962014-02-07 Pedro Alves <pedro@codesourcery.com>
20897 Pedro Alves <palves@redhat.com>
20898
20899 * gdb.threads/step-after-sr-lock.c: New file.
20900 * gdb.threads/step-after-sr-lock.exp: New file.
20901
b5ee5a50
PA
209022014-02-07 Pedro Alves <palves@redhat.com>
20903
20904 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
20905
3c77faf3
JK
209062014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
20907
20908 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
20909 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
20910
6dddc817
DE
209112014-02-06 Doug Evans <xdje42@gmail.com>
20912
20913 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
20914 output.
20915
20916 * gdb.gdb/python-interrupts.exp: New file.
20917
de7b2893
YQ
209182014-02-05 Yao Qi <yao@codesourcery.com>
20919
20920 * gdb.trace/report.exp (use_collected_data): Test the output
20921 of "info threads" and "info inferiors".
20922
66d032ac
YQ
209232014-02-05 Yao Qi <yao@codesourcery.com>
20924
20925 Revert this patch:
20926
20927 2013-05-24 Yao Qi <yao@codesourcery.com>
20928
20929 * gdb.trace/tfile.exp: Test inferior and thread.
20930
591a12a1
UW
209312014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20932
20933 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
20934 on a function.
20935 * gdb.base/step-bt.c: Call hello via function pointer to make
20936 sure its first instruction is executed on powerpc64le-linux.
20937
0ff3e01f
UW
209382014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20939
20940 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
20941
084ee545
UW
209422014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20943
20944 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
20945 of the test patterns for use on little-endian systems.
20946
6ed14ff3
UW
209472014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20948
20949 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
20950 (decimal_vector): Fix for little-endian.
20951
401e27fd
JM
209522014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
20953
20954 * gdb.arch/sparc-sysstep.exp: New file.
20955 * gdb.arch/sparc-sysstep.c: Likewise.
20956
20957 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
20958
8b924729
EBM
209592014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20960
20961 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
20962
fb151210
JB
209632014-01-23 Tom Tromey <tromey@redhat.com>
20964
20965 * gdb.ada/array_char_idx: New testcase.
20966
0740f8d8
TT
209672014-01-23 Tom Tromey <tromey@redhat.com>
20968
20969 PR python/16487:
20970 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
20971 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
20972 classes.
20973
21909fa1
TT
209742014-01-23 Tom Tromey <tromey@redhat.com>
20975
20976 PR python/16491:
20977 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
20978 string from an inferior frame.
20979 * gdb.python/py-framefilter-mi.exp: Update.
20980
87ce2a04
DE
209812014-01-22 Doug Evans <dje@google.com>
20982
20983 * gdb.server/server-mon.exp: Add tests for "set debug-format".
20984
237b092b
AA
209852014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20986
20987 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
20988
d674a709
AA
209892014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20990
20991 * gdb.trace/entry-values.exp: Remove excess space character from
20992 regex patterns. Handle s390 call instruction.
20993
20fa3390
AA
209942014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20995
20996 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
20997 define "*_start" label. Make "name" static.
20998 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
20999 ${name} by references to ${name}_start.
21000
78466714
AA
210012014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21002
21003 * gdb.base/info-macros.exp: Remove "debug" from the compile
21004 options.
21005
ec9f644a
IB
210062014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21007
21008 * gdb.dlang/demangle.exp: New file.
21009
94b1b47e
IB
210102014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21011
21012 * gdb.dlang/primitive-types.exp: New file.
21013
7f420862
IB
210142014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21015
21016 * configure.ac: Create gdb.dlang/Makefile.
21017 * configure: Regenerate.
21018 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
21019 * gdb.dlang/Makefile.in: New file.
21020 * lib/d-support.exp: New file.
21021 * lib/gdb.exp (skip_d_tests): New proc.
21022
52834460
MM
210232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21024
21025 * gdb.btrace/delta.exp: Check reverse stepi.
21026 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
21027 * gdb.btrace/finish.exp: New.
21028 * gdb.btrace/next.exp: New.
21029 * gdb.btrace/nexti.exp: New.
21030 * gdb.btrace/record_goto.c: Add comments.
21031 * gdb.btrace/step.exp: New.
21032 * gdb.btrace/stepi.exp: New.
21033 * gdb.btrace/multi-thread-step.c: New.
21034 * gdb.btrace/multi-thread-step.exp: New.
21035 * gdb.btrace/rn-dl-bind.c: New.
21036 * gdb.btrace/rn-dl-bind.exp: New.
21037 * gdb.btrace/data.c: New.
21038 * gdb.btrace/data.exp: New.
21039 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21040
6e07b1d2
MM
210412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21042
21043 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
21044 * gdb.btrace/exception.exp: Update.
21045 * gdb.btrace/instruction_history.exp: Update.
21046 * gdb.btrace/record_goto.exp: Update.
21047 * gdb.btrace/tailcall.exp: Update.
21048 * gdb.btrace/unknown_functions.exp: Update.
21049 * gdb.btrace/delta.exp: New.
21050
0b722aec
MM
210512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21052
21053 * gdb.btrace/record_goto.exp: Add backtrace test.
21054 * gdb.btrace/tailcall.exp: Add backtrace test.
21055
066ce621
MM
210562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21057
21058 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
21059 * gdb.btrace/record_goto.c: New.
21060 * gdb.btrace/record_goto.exp: New.
21061 * gdb.btrace/x86-record_goto.S: New.
21062
0688d04e
MM
210632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21064
21065 * gdb.btrace/function_call_history.exp: Update tests.
21066 * gdb.btrace/instruction_history.exp: Update tests.
21067
8710b709
MM
210682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21069
21070 * gdb.btrace/function_call_history.exp: Fix expected field
21071 order for "record function-call-history".
21072 Add new tests for "record function-call-history /c".
21073 * gdb.btrace/exception.cc: New.
21074 * gdb.btrace/exception.exp: New.
21075 * gdb.btrace/tailcall.exp: New.
21076 * gdb.btrace/x86-tailcall.S: New.
21077 * gdb.btrace/x86-tailcall.c: New.
21078 * gdb.btrace/unknown_functions.c: New.
21079 * gdb.btrace/unknown_functions.exp: New.
21080 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21081
5de9129b
MM
210822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21083
21084 * gdb.btrace/instruction_history.exp: Update.
21085 * gdb.btrace/function_call_history.exp: Update.
21086
23a7fe75
MM
210872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21088
21089 * gdb.btrace/function_call_history.exp: Fix expected function
21090 trace.
21091 * gdb.btrace/instruction_history.exp: Initialize traced.
21092 Remove traced_functions.
21093
724c7dd8
MM
210942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21095
21096 * gdb.btrace/function_call_history.exp: Update
21097 * gdb.btrace/instruction_history.exp: Update.
21098
6d78d93b
MM
210992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21100
21101 * gdb.btrace/enable.exp: Update expected text.
21102
93a360cc
OJ
211032014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
21104
21105 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
21106 bytes.
21107
3772b53f
MR
211082014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
21109
21110 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
21111
596662fa
OJ
211122014-01-15 Omair Javaid <omair.javaid@linaro.org>
21113
21114 * lib/gdb.exp (supports_process_record): Return true for
21115 arm*-linux*. (supports_reverse): Likewise.
21116
b5b08fb4
SC
211172014-01-13 Siva Chandra Reddy <sivachandra@google.com>
21118
21119 PR python/15464
21120 PR python/16113
21121 * gdb.python/py-type.c: Enhance test case.
21122 * gdb.python/py-value-cc.cc: Likewise
21123 * gdb.python/py-type.exp: Add new tests.
21124 * gdb.python/py-value-cc.exp: Likewise
21125
52d7fb13
AA
211262014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
21127 Pedro Alves <palves@redhat.com>
21128
21129 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
21130 Make "name" extern.
21131 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
21132 references to ${name}_start by references to ${name}.
21133
a2cd8cfe
JB
211342014-01-10 Joel Brobecker <brobecker@adacore.com>
21135
21136 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
21137
4e23fced
JB
211382014-01-10 Joel Brobecker <brobecker@adacore.com>
21139
21140 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
21141
c6a9e42c
PA
211422014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
21143 Pedro Alves <palves@redhat.com>
21144
21145 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 21146 mi_gdb_target_load.
c6a9e42c 21147
b7ea362b
PA
211482014-01-08 Pedro Alves <palves@redhat.com>
21149
21150 * gdb.threads/reconnect-signal.c: New file.
21151 * gdb.threads/reconnect-signal.exp: New file.
21152
5e3f4fab
EBM
211532014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21154
21155 * gdb.base/source-dir.exp: New file.
21156
79301218
JB
211572014-01-07 Joel Brobecker <brobecker@adacore.com>
21158
21159 * gdb.ada/mi_interface: New testcase.
21160
8e355c5d
JB
211612014-01-07 Joel Brobecker <brobecker@adacore.com>
21162
21163 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
21164 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
21165 gdb.ada/pp-rec-component/pck.ads: New files.
21166
c0d48811
JB
211672014-01-07 Joel Brobecker <brobecker@adacore.com>
21168
21169 * gdb.python/py-pp-integral.c: New file.
21170 * gdb.python/py-pp-integral.py: New file.
21171 * gdb.python/py-pp-integral.exp: New file.
21172
17b609c3 21173For older changes see ChangeLog-1993-2013.
c906108c 21174\f
8d8cb839
EZ
21175;; Local Variables:
21176;; mode: change-log
21177;; left-margin: 8
21178;; fill-column: 74
21179;; version-control: never
21180;; End:
902f2ccb 21181
b811d2c2 21182 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
21183 Copying and distribution of this file, with or without modification,
21184 are permitted provided the copyright notice and this notice are preserved.