Re: elf: Add -z unique-symbol
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
32aea73e
JB
12020-09-13 Joel Brobecker <brobecker@adacore.com>
2
3 * gdb.base/default.exp: Change $_gdb_major to 11.
4
2a67f09d
FW
52020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
6 Felix Willgerodt <Felix.Willgerodt@intel.com>
7
8 * x86-avx512bf16.c: New file.
9 * x86-avx512bf16.exp: Likewise.
10 * lib/gdb.exp (skip_avx512bf16_tests): New function.
11
ad570dd7
TV
122020-09-11 Tom de Vries <tdevries@suse.de>
13
14 PR exp/26602
15 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
16
a56f7391
TBA
172020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
18
19 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
20
918619e5
AM
212020-09-10 Alan Modra <amodra@gmail.com>
22
23 PR 26597
24 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
25
cac1e71d
TV
262020-09-08 Tom de Vries <tdevries@suse.de>
27
28 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
29 after gdb_starti_cmd.
30
c5cd900e
AKS
312020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
32
33 * lib/fortran.exp (fortran_complex8): New proc.
34 (fortran_complex16): New proc.
35 * gdb.fortran/complex.exp: Use routines from fortran.exp
36 * gdb.fortran/pointer-to-pointer.exp: Likewise.
37 * gdb.fortran/vla-ptr-info.exp: Likewise.
38
8f5c6526
TV
392020-09-03 Tom de Vries <tdevries@suse.de>
40
41 PR breakpoint/26546
42 * gdb.base/label-without-address.exp: Runto main first.
43
02c6f3f1
TT
442020-09-02 Tom Tromey <tromey@adacore.com>
45
46 * gdb.ada/mi_var_access.exp: Test children of access variable.
47 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
48 * gdb.ada/mi_var_array.exp: Update.
49
efe24f05
KB
502020-08-31 Kevin Buettner <kevinb@redhat.com>
51
52 * gdb.base/corefile.exp (warning-free): XFAIL test when running
53 on docker w/ AUFS storage driver.
54
973695d6
KB
552020-08-31 Kevin Buettner <kevinb@redhat.com>
56
57 * gdb.base/corefile2.exp (renamed binfile): New tests.
58
f3bd50f1
SM
592020-08-31 Simon Marchi <simon.marchi@efficios.com>
60
61 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
62
22b9b4b0
SL
632020-08-31 Simon Marchi <simon.marchi@efficios.com>
64
65 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
66 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
67
8efaf6b3
SM
682020-08-31 Simon Marchi <simon.marchi@efficios.com>
69
70 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
71 output, printing a "not saved" value from history and printing a
72 convenience variable created from a "not saved" value.
73
e840f2e3
TV
742020-08-31 Tom de Vries <tdevries@suse.de>
75
76 * gdb.base/eh_return.exp: Use nopie.
77
8f57f343
PA
782020-08-28 Pedro Alves <pedro@palves.net>
79
80 * gdb.base/advance-until-multiple-locations.exp
81 (advance_overload, until_overload): Adjust to match the
82 frame/function header instead of the source line text.
83
626d2320
TV
842020-08-28 Tom de Vries <tdevries@suse.de>
85
86 * gdb.base/label-without-address.c: New test.
87 * gdb.base/label-without-address.exp: New file.
88
df631783
PA
892020-08-27 Pedro Alves <pedro@palves.net>
90
91 PR gdb/26523
92 PR gdb/26524
93 * gdb.base/advance-until-multiple-locations.cc: New.
94 * gdb.base/advance-until-multiple-locations.exp: New.
95
48b076bb
SM
962020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
97
98 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
99
c2015ce4
AB
1002020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
101
102 * gdb.arch/amd64-byte.exp: Make test names unique, use
103 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
104 * gdb.arch/amd64-dword.exp: Likewise.
105 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
106 * gdb.arch/amd64-stap-special-operands.exp: Make test names
107 unique.
108 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
109 * gdb.arch/amd64-word.exp: Make test names unique, use
110 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
111 * gdb.arch/i386-byte.exp: Make test names unique, use
112 gdb_breakpoint.
113 * gdb.arch/i386-word.exp: Likewise.
114
995d3a19
SV
1152020-08-25 Shahab Vahedi <shahab@synopsys.com>
116
117 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
118
8cac2b31
SM
1192020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
120
121 PR gdb/26532
122 * gdb.threads/stepi-random-signal.exp: Update pattern.
123
2bc19622
SM
1242020-08-25 Simon Marchi <simon.marchi@efficios.com>
125
126 PR gdb/26532
127 * gdb.base/ui-redirect.exp: Update pattern.
128
b04aa1fc
GB
1292020-08-25 Gary Benson <gbenson@redhat.com>
130
131 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
132 when compiling with clang.
8571e9c8 133 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 134
9f68b453
GB
1352020-08-25 Gary Benson <gbenson@redhat.com>
136
137 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
138 Add additional_flags=-Wno-inaccessible-base when compiling
139 with GCC >= 10.1 or clang. Add additional_flags=-w when
140 compiling with GCC < 10.
141
3945d2d7
GM
1422020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
143
144 PR m2/26372
fc5d6901
SM
145 * gdb.modula2/multidim.c: New file.
146 * gdb.modula2/multidim.exp: New file.
3945d2d7 147
60122dbe
SM
1482020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
149
150 * lib/gdb.exp (runto): Always emit fail on internal error.
151
1eb8556f
SM
1522020-08-24 Simon Marchi <simon.marchi@efficios.com>
153
154 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
155 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
156 Likewise.
157 * gdb.threads/stepi-random-signal.exp: Likewise.
158
33bf4c5c
TBA
1592020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
160
161 * gdb.base/print-file-var.exp: Fix typo "breapoint".
162 * gdb.trace/strace.exp: Ditto.
163
c2fd7fae
AKS
1642020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
165
166 * gdb.fortran/vla-type.exp: Skip commands not required for
167 the Flang compiled binaries after prologue fix.
168
326afb72
TT
1692020-08-17 Tom de Vries <tdevries@suse.de>
170 Tom Tromey <tromey@adacore.com>
171
172 PR rust/26197:
173 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
174
3ae7ab99
TT
1752020-08-17 Tom Tromey <tromey@adacore.com>
176
177 * gdb.ada/mi_var_access.exp: New file.
178 * gdb.ada/mi_var_access/mi_access.adb: New file.
179 * gdb.ada/mi_var_access/pck.adb: New file.
180 * gdb.ada/mi_var_access/pck.ads: New file.
181
f569c1c5
TV
1822020-08-16 Tom de Vries <tdevries@suse.de>
183
184 PR gdb/25350
185 * gdb.base/eh_return.c: New test.
186 * gdb.base/eh_return.exp: New file.
187
3d11c30a
TV
1882020-08-15 Tom de Vries <tdevries@suse.de>
189
190 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
191 (mixed_func_1d_): Use fortran_charlen_t in decl.
192
547ce8f0
TV
1932020-08-15 Tom de Vries <tdevries@suse.de>
194
195 PR backtrace/26390
196 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
197 Update expected pattern.
198
a54a7f13
PA
1992020-08-13 Pedro Alves <pedro@palves.net>
200
201 * gdb.fortran/complex.exp: Check skip_fortran_tests.
202 * gdb.fortran/library-module.exp: Likewise.
203 * gdb.fortran/logical.exp: Likewise.
204 * gdb.fortran/module.exp: Likewise.
205 * gdb.fortran/print_type.exp: Likewise.
206 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
207 * gdb.fortran/vla-datatypes.exp: Likewise.
208 * gdb.fortran/vla-history.exp: Likewise.
209 * gdb.fortran/vla-ptr-info.exp: Likewise.
210 * gdb.fortran/vla-ptype-sub.exp: Likewise.
211 * gdb.fortran/vla-ptype.exp: Likewise.
212 * gdb.fortran/vla-sizeof.exp: Likewise.
213 * gdb.fortran/vla-type.exp: Likewise.
214 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
215 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
216 * gdb.fortran/vla-value-sub.exp: Likewise.
217 * gdb.fortran/vla-value.exp: Likewise.
218
7a82e903
PA
2192020-08-13 Pedro Alves <pedro@palves.net>
220
221 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
222 * gdb.ada/access_to_packed_array.exp: Likewise.
223 * gdb.ada/access_to_unbounded_array.exp: Likewise.
224 * gdb.ada/addr_arith.exp: Likewise.
225 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
226 * gdb.ada/arr_arr.exp: Likewise.
227 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
228 * gdb.ada/array_bounds.exp: Likewise.
229 * gdb.ada/array_of_variable_length.exp: Likewise.
230 * gdb.ada/array_ptr_renaming.exp: Likewise.
231 * gdb.ada/array_subscript_addr.exp: Likewise.
232 * gdb.ada/arraydim.exp: Likewise.
233 * gdb.ada/arrayparam.exp: Likewise.
234 * gdb.ada/arrayptr.exp: Likewise.
235 * gdb.ada/assign_1.exp: Likewise.
236 * gdb.ada/assign_arr.exp: Likewise.
237 * gdb.ada/atomic_enum.exp: Likewise.
238 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
239 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
240 * gdb.ada/bias.exp: Likewise.
241 * gdb.ada/boolean_expr.exp: Likewise.
242 * gdb.ada/bp_c_mixed_case.exp: Likewise.
243 * gdb.ada/bp_enum_homonym.exp: Likewise.
244 * gdb.ada/bp_inlined_func.exp: Likewise.
245 * gdb.ada/bp_on_var.exp: Likewise.
246 * gdb.ada/bp_range_type.exp: Likewise.
247 * gdb.ada/bp_reset.exp: Likewise.
248 * gdb.ada/call_pn.exp: Likewise.
249 * gdb.ada/catch_assert_if.exp: Likewise.
250 * gdb.ada/catch_ex.exp: Likewise.
251 * gdb.ada/catch_ex_std.exp: Likewise.
252 * gdb.ada/char_enum.exp: Likewise.
253 * gdb.ada/char_param.exp: Likewise.
254 * gdb.ada/complete.exp: Likewise.
255 * gdb.ada/cond_lang.exp: Likewise.
256 * gdb.ada/convvar_comp.exp: Likewise.
257 * gdb.ada/dgopt.exp: Likewise.
258 * gdb.ada/disc_arr_bound.exp: Likewise.
259 * gdb.ada/display_nested.exp: Likewise.
260 * gdb.ada/dot_all.exp: Likewise.
261 * gdb.ada/dyn_loc.exp: Likewise.
262 * gdb.ada/dyn_stride.exp: Likewise.
263 * gdb.ada/excep_handle.exp: Likewise.
264 * gdb.ada/expr_delims.exp: Likewise.
265 * gdb.ada/expr_with_funcall.exp: Likewise.
266 * gdb.ada/exprs.exp: Likewise.
267 * gdb.ada/fin_fun_out.exp: Likewise.
268 * gdb.ada/fixed_cmp.exp: Likewise.
269 * gdb.ada/formatted_ref.exp: Likewise.
270 * gdb.ada/frame_arg_lang.exp: Likewise.
271 * gdb.ada/frame_args.exp: Likewise.
272 * gdb.ada/fullname_bp.exp: Likewise.
273 * gdb.ada/fun_addr.exp: Likewise.
274 * gdb.ada/fun_in_declare.exp: Likewise.
275 * gdb.ada/fun_overload_menu.exp: Likewise.
276 * gdb.ada/fun_renaming.exp: Likewise.
277 * gdb.ada/funcall_char.exp: Likewise.
278 * gdb.ada/funcall_param.exp: Likewise.
279 * gdb.ada/funcall_ptr.exp: Likewise.
280 * gdb.ada/funcall_ref.exp: Likewise.
281 * gdb.ada/homonym.exp: Likewise.
282 * gdb.ada/info_addr_mixed_case.exp: Likewise.
283 * gdb.ada/info_auto_lang.exp: Likewise.
284 * gdb.ada/info_exc.exp: Likewise.
285 * gdb.ada/info_types.exp: Likewise.
286 * gdb.ada/int_deref.exp: Likewise.
287 * gdb.ada/interface.exp: Likewise.
288 * gdb.ada/iwide.exp: Likewise.
289 * gdb.ada/lang_switch.exp: Likewise.
290 * gdb.ada/length_cond.exp: Likewise.
291 * gdb.ada/maint_with_ada.exp: Likewise.
292 * gdb.ada/mi_catch_assert.exp: Likewise.
293 * gdb.ada/mi_catch_ex.exp: Likewise.
294 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
295 * gdb.ada/mi_dyn_arr.exp: Likewise.
296 * gdb.ada/mi_ex_cond.exp: Likewise.
297 * gdb.ada/mi_exc_info.exp: Likewise.
298 * gdb.ada/mi_interface.exp: Likewise.
299 * gdb.ada/mi_prot.exp: Likewise.
300 * gdb.ada/mi_ref_changeable.exp: Likewise.
301 * gdb.ada/mi_string_access.exp: Likewise.
302 * gdb.ada/mi_task_arg.exp: Likewise.
303 * gdb.ada/mi_task_info.exp: Likewise.
304 * gdb.ada/mi_var_array.exp: Likewise.
305 * gdb.ada/mi_var_union.exp: Likewise.
306 * gdb.ada/mi_variant.exp: Likewise.
307 * gdb.ada/minsyms.exp: Likewise.
308 * gdb.ada/mod_from_name.exp: Likewise.
309 * gdb.ada/nested.exp: Likewise.
310 * gdb.ada/null_array.exp: Likewise.
311 * gdb.ada/optim_drec.exp: Likewise.
312 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
313 * gdb.ada/packed_array_assign.exp: Likewise.
314 * gdb.ada/packed_tagged.exp: Likewise.
315 * gdb.ada/pp-rec-component.exp: Likewise.
316 * gdb.ada/print_chars.exp: Likewise.
317 * gdb.ada/print_pc.exp: Likewise.
318 * gdb.ada/ptr_typedef.exp: Likewise.
319 * gdb.ada/ptype_arith_binop.exp: Likewise.
320 * gdb.ada/ptype_array.exp: Likewise.
321 * gdb.ada/ptype_field.exp: Likewise.
322 * gdb.ada/ptype_tagged_param.exp: Likewise.
323 * gdb.ada/ptype_union.exp: Likewise.
324 * gdb.ada/py_range.exp: Likewise.
325 * gdb.ada/py_taft.exp: Likewise.
326 * gdb.ada/rdv_wait.exp: Likewise.
327 * gdb.ada/rec_comp.exp: Likewise.
328 * gdb.ada/rec_return.exp: Likewise.
329 * gdb.ada/ref_param.exp: Likewise.
330 * gdb.ada/ref_tick_size.exp: Likewise.
331 * gdb.ada/rename_subscript_param.exp: Likewise.
332 * gdb.ada/repeat_dyn.exp: Likewise.
333 * gdb.ada/same_component_name.exp: Likewise.
334 * gdb.ada/same_enum.exp: Likewise.
335 * gdb.ada/scalar_storage.exp: Likewise.
336 * gdb.ada/set_wstr.exp: Likewise.
337 * gdb.ada/small_reg_param.exp: Likewise.
338 * gdb.ada/str_binop_equal.exp: Likewise.
339 * gdb.ada/str_ref_cmp.exp: Likewise.
340 * gdb.ada/str_uninit.exp: Likewise.
341 * gdb.ada/sub_variant.exp: Likewise.
342 * gdb.ada/sym_print_name.exp: Likewise.
343 * gdb.ada/taft_type.exp: Likewise.
344 * gdb.ada/tagged.exp: Likewise.
345 * gdb.ada/tagged_access.exp: Likewise.
346 * gdb.ada/task_bp.exp: Likewise.
347 * gdb.ada/task_switch_in_core.exp: Likewise.
348 * gdb.ada/tasks.exp: Likewise.
349 * gdb.ada/tick_last_segv.exp: Likewise.
350 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
351 * gdb.ada/type_coercion.exp: Likewise.
352 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
353 * gdb.ada/unchecked_union.exp: Likewise.
354 * gdb.ada/uninitialized_vars.exp: Likewise.
355 * gdb.ada/var_arr_attrs.exp: Likewise.
356 * gdb.ada/var_arr_typedef.exp: Likewise.
357 * gdb.ada/var_rec_arr.exp: Likewise.
358 * gdb.ada/variant-record.exp: Likewise.
359 * gdb.ada/variant.exp: Likewise.
360 * gdb.ada/variant_record_packed_array.exp: Likewise.
361 * gdb.ada/varsize_limit.exp: Likewise.
362 * gdb.ada/whatis_array_val.exp: Likewise.
363 * gdb.ada/widewide.exp: Likewise.
364 * gdb.ada/win_fu_syms.exp: Likewise.
365
3662020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
367
368 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
369
10c381b5
AB
3702020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
371
372 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
373 unset the array variable.
374
8f34b746
TV
3752020-08-03 Tom de Vries <tdevries@suse.de>
376
377 PR symtab/26333
378 * lib/dwarf.exp (DW_LNE_user): New proc.
379 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
380 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
381
0245e136
KB
3822020-07-31 Kevin Buettner <kevinb@redhat.com>
383
384 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
385 to 'uintptr_t'
386 (inttypes.h): Include.
387
9ef1ec5d
KB
3882020-07-31 Kevin Buettner <kevinb@redhat.com>
389
390 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
391 (C5_24k): Delete.
392 (C5_8k, C5_64k, C5_256k): New macros.
393 (buf_ro): Allocate 256 KiB of initialized data.
394
4c55e970
TBA
3952020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
396
397 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
398 that attempt to overwrite an existing condition with a condition
399 that fails parsing and also with a condition that parses fine
400 but contains junk at the end.
401
1e620590
TBA
4022020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
403
404 * gdb.base/condbreak-bad.c: New test.
405 * gdb.base/condbreak-bad.exp: New file.
406
e12dcc50
TV
4072020-07-30 Tom de Vries <tdevries@suse.de>
408
409 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
410 out of ...
411 (GDBInfoModuleSymbols::check_entry): ... here.
412 (GDBInfoModuleSymbols::check_optional_entry): New proc.
413 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
414 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
415
6cc64caa
TV
4162020-07-30 Tom de Vries <tdevries@suse.de>
417
418 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
419 "__class_some_module_Number_t" optional.
420
90fd07fc
TV
4212020-07-29 Tom de Vries <tdevries@suse.de>
422
423 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
424 multiple locations.
425
f5c79e97
TV
4262020-07-29 Tom de Vries <tdevries@suse.de>
427
428 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
429 rather than function name.
430
f75a0693
AB
4312020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
432
433 PR symtab/26270:
434 * gdb.cp/disasm-func-name.cc: New file.
435 * gdb.cp/disasm-func-name.exp: New file.
436
4888741a
TT
4372020-07-28 Tom Tromey <tromey@adacore.com>
438
439 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
440 'varval' location.
441
43d5901d
AB
4422020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
443
444 * gdb.python/py-unwind.py: Update to make use of a register
445 descriptor.
446
14fa8fb3
AB
4472020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
448
449 * gdb.python/py-arch-reg-names.exp: Add additional tests.
450
e79eb02f
AB
4512020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
452
453 PR fortran/23051
454 PR fortran/26139
455 * gdb.fortran/class-allocatable-array.exp: New file.
456 * gdb.fortran/class-allocatable-array.f90: New file.
457 * gdb.fortran/pointer-to-pointer.exp: New file.
458 * gdb.fortran/pointer-to-pointer.f90: New file.
459
876518dd
TV
4602020-07-25 Tom de Vries <tdevries@suse.de>
461
462 PR symtab/26243
463 * gdb.dwarf2/dw2-line-number-zero.c: New test.
464 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
465
6dcfb80a
TV
4662020-07-24 Tom de Vries <tdevries@suse.de>
467
468 PR testsuite/26293
469 * gdb.ada/mi_prot.exp: Require gnatmake-8.
470
e7bc9db8
PA
4712020-07-23 Pedro Alves <pedro@palves.net>
472
473 * gdb.server/server-kill.exp (prepare): New, factored out from the
474 top level.
475 (kill_server): New.
476 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
477 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
478
78344df7
AB
4792020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
480
481 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
482
25dfed24
SL
4832020-07-22 Sandra Loosemore <sandra@codesourcery.com>
484
485 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
486 Initialize to empty string at top level.
487 (gdb_wrapper_init): Revert check for file existence on build.
488 Build the wrapper in its default place, not a build-specific
489 location. When host == build, make the pathname absolute.
490 (gdb_compile): Delete leftover declaration of
491 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
492 string instead of uninitialized.
493
7da515fd
KB
4942020-07-22 Kevin Buettner <kevinb@redhat.com>
495
496 * gdb.base/corefile2.exp: New file.
497 * gdb.base/coremaker2.exp: New file.
498
9c5ec5c2
KB
4992020-07-22 Kevin Buettner <kevinb@redhat.com>
500
501 * gdb.base/coredump-filter.exp: Add second
502 non-Private-Shared-Anon-File test.
503 (test_disasm): Rename binfile for test which is expected
504 to fail.
505
f9e233c9
KB
5062020-07-22 Kevin Buettner <kevinb@redhat.com>
507
508 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
509 data in core file".
510 * gdb.base/coremaker.c (buf2ro): New global.
511 (mmapdata): Add a read-only mmap mapping.
512
94c265d7
KB
5132020-07-22 Kevin Buettner <kevinb@redhat.com>
514
515 PR corefiles/25631
516 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
517 New test.
518 * gdb.base/coremaker.c (buf3): New global.
519 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
520 flags.
521
5222020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
523
524 * gdb.base/coremaker.c (filler_ro): New global constant.
525
32fa152e
TT
5262020-07-22 Tom Tromey <tromey@adacore.com>
527
528 * gdb.ada/mi_prot.exp: New file.
529 * gdb.ada/mi_prot/pkg.adb: New file.
530 * gdb.ada/mi_prot/pkg.ads: New file.
531 * gdb.ada/mi_prot/prot.adb: New file.
532
c8474dc3
TBA
5332020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
534
535 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
536 loads two JITers.
537
baf8791e
AB
5382020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
539
540 * gdb.python/py-arch-reg-groups.exp: Additional tests.
541
f7306dac
AB
5422020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
543
544 * gdb.python/py-arch-reg-names.exp: Additional tests.
545
6d3d6e4b
TV
5462020-07-21 Tom de Vries <tdevries@suse.de>
547
548 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
549 breakpoint locations".
550 * gdb.reverse/solib-reverse.exp: Same.
551
803d0592
TV
5522020-07-21 Tom de Vries <tdevries@suse.de>
553
554 * gdb.reverse/step-reverse.c (callee): Merge statements.
555
e9bdc510
TV
5562020-07-21 Tom de Vries <tdevries@suse.de>
557
558 * gdb.fortran/info-modules.exp (info module variables): Allow missing
559 line numbers for some variables.
560
f0f9e75a
TV
5612020-07-21 Tom de Vries <tdevries@suse.de>
562
563 * gdb.opt/inline-locals.c (init_array): New func.
564 (func1): Use init_array.
565 * gdb.opt/inline-locals.exp: Update pattern.
566
bd460ecb
TV
5672020-07-21 Tom de Vries <tdevries@suse.de>
568
569 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
570 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
571
ae5369e7
LC
5722020-07-20 Ludovic Courtès <ludo@gnu.org>
573
574 * gdb.guile/source2.scm: Add #f first argument to 'format'.
575 * gdb.guile/types-module.exp: Remove "ERROR:" from
576 regexps since Guile 3.0 no longer prints that.
577
68cf161c
LC
5782020-07-20 Ludovic Courtès <ludo@gnu.org>
579
580 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
581 error regexp to match on Guile 2.2.
582
c14b4913
GB
5832020-07-20 Gary Benson <gbenson@redhat.com>
584
585 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
586 with clang.
587
b243ba58
TV
5882020-07-20 Tom de Vries <tdevries@suse.de>
589
590 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
591 (omp_set_lock_in_order): New function.
592 (single_scope, multi_scope, nested_func, nested_parallel): Use
593 omp_set_lock_in_order and omp_unset_lock.
594 (main): Init and destroy lock and lock2.
595
c06ad8b5
TV
5962020-07-20 Tom de Vries <tdevries@suse.de>
597
598 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
599
6e22f117
TV
6002020-07-20 Tom de Vries <tdevries@suse.de>
601
602 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
603
33176ea7
TV
6042020-07-17 Tom de Vries <tdevries@suse.de>
605
606 * gdb.base/valgrind-infcall-2.c: New test.
607 * gdb.base/valgrind-infcall-2.exp: New file.
608 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
609
90c3ec2d
TV
6102020-07-17 Tom de Vries <tdevries@suse.de>
611
612 * gdb.dlang/circular.c (found): Use found_label as label name.
613 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
614 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
615 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
616 * gdb.dwarf2/ada-linkage-name.exp: Same.
617 * gdb.dwarf2/arr-subrange.exp: Same.
618 * gdb.dwarf2/atomic-type.exp: Same.
619 * gdb.dwarf2/comp-unit-lang.exp: Same.
620 * gdb.dwarf2/cpp-linkage-name.exp: Same.
621 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
622 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
623 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
624 * gdb.dwarf2/implptr-64bit.exp: Same.
625 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
626 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
627 * gdb.dwarf2/imported-unit.exp: Same.
628 * gdb.dwarf2/main-subprogram.exp: Same.
629 * gdb.dwarf2/missing-type-name.exp: Same.
630 * gdb.dwarf2/nonvar-access.exp: Same.
631 * gdb.dwarf2/struct-with-sig.exp: Same.
632 * gdb.dwarf2/typedef-void-finish.exp: Same.
633 * gdb.dwarf2/void-type.exp: Same.
634
10da644d
TV
6352020-07-17 Tom de Vries <tdevries@suse.de>
636
637 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
638 src parameter.
639 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
640 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
641 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
642 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
643 * gdb.dwarf2/dwz.exp: Same.
644 * gdb.dwarf2/implptr-optimized-out.exp: Same.
645 * gdb.dwarf2/implref-array.exp: Same.
646 * gdb.dwarf2/implref-const.exp: Same.
647 * gdb.dwarf2/implref-global.exp: Same.
648 * gdb.dwarf2/implref-struct.exp: Same.
649 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
650 * gdb.dwarf2/opaque-type-lookup.exp: Same.
651 * gdb.dwarf2/var-access.exp: Same.
652 * gdb.dwarf2/varval.exp: Same.
653 * gdb.trace/entry-values.exp: Same.
654
315e6afc
TV
6552020-07-17 Tom de Vries <tdevries@suse.de>
656
657 * lib/dwarf.exp (Dwarf::extern): Remove.
658 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
659 * gdb.dlang/circular.exp: Same.
660 * gdb.dwarf2/comp-unit-lang.exp: Same.
661 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
662 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
663 * gdb.dwarf2/dwz.exp: Same.
664 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
665 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
666 * gdb.dwarf2/imported-unit.exp: Same.
667 * gdb.dwarf2/opaque-type-lookup.exp: Same.
668
5597c940
SL
6692020-07-16 Sandra Loosemore <sandra@codesourcery.com>
670
671 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
672 Use double quotes instead of single quotes.
673
d0ce17d8
CT
6742020-07-16 Caroline Tice <cmtice@google.com>
675
676 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
677 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
678
853772cc
TV
6792020-07-16 Tom de Vries <tdevries@suse.de>
680
681 * lib/dwarf.exp (program): Initialize _line.
682 (DW_LNE_end_sequence): Reinitialize _line.
683 (DW_LNS_advance_line): Update _line.
684 (line): New proc.
685 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
686 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
687 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
688 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
689 * gdb.dwarf2/dw2-is-stmt.exp: Same.
690 * gdb.dwarf2/dw2-ranges-func.exp: Same.
691
fe07b572
AB
6922020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
693
694 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
695 generic.
696
52781cce
TV
6972020-07-15 Tom de Vries <tdevries@suse.de>
698
699 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
700 is_amd64_regs_target.
701
3dcc261c
AB
7022020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
703
704 * gdb.fortran/ptype-on-functions.exp: Add more tests.
705 * gdb.fortran/ptype-on-functions.f90: Likewise.
706
054a0959
SM
7072020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
708
709 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
710 values in documentation for addr_size to 4 and 8.
711
ccb9eba6
AB
7122020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
713
714 * gdb.arch/amd64-osabi.exp: Update.
715 * gdb.arch/arm-disassembler-options.exp: Update.
716 * gdb.arch/powerpc-disassembler-options.exp: Update.
717 * gdb.arch/ppc64-symtab-cordic.exp: Update.
718 * gdb.arch/s390-disassembler-options.exp: Update.
719 * gdb.base/all-architectures.exp.tcl: Update.
720 * gdb.base/attach-pie-noexec.exp: Update.
721 * gdb.base/catch-syscall.exp: Update.
722 * gdb.xml/tdesc-arch.exp: Update.
723
025a39a7
TV
7242020-07-14 Tom de Vries <tdevries@suse.de>
725
726 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
727 (local_gettid): ... this.
728 (fn): Update.
729
74e4b667
SL
7302020-07-13 Sandra Loosemore <sandra@codesourcery.com>
731
732 * gdb.base/info_sources.exp: Skip directory match tests on
733 remote hosts.
734
f413dd74
GB
7352020-07-13 Gary Benson <gbenson@redhat.com>
736
737 * gdb.base/savedregs.exp (caller): Use parentheses to
738 make expected expression evaluation ordering explicit.
739
915771bb
GB
7402020-07-13 Gary Benson <gbenson@redhat.com>
741
742 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
743
2a122642
GB
7442020-07-13 Gary Benson <gbenson@redhat.com>
745
746 * gdb.base/bigcore.c (main): Use a volatile pointer when
747 attempting to trigger a SIGSEGV.
748 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
749 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
750 * gdb.base/savedregs.c (thrower): Likewise.
751 * gdb.mi/mi-syn-frame.c (bar): Likewise.
752
3f00c730
GB
7532020-07-13 Gary Benson <gbenson@redhat.com>
754
755 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
756 defining and using VLA structure fields into...
757 * gdb.base/vla-struct-fields.c: New file.
758 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
759 tests into...
760 * gdb.base/vla-struct-fields.exp: New file.
761
963eeee4
TV
7622020-07-13 Tom de Vries <tdevries@suse.de>
763
764 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
765 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
766 * gdb.base/gold-gdb-index.exp: Same.
767 * gdb.base/morestack.exp: Same.
768
0ed35c9a
DX
7692020-07-11 Daniel Xu <dxu@dxuuu.xyz>
770
771 PR rust/26121
772 * gdb.rust/modules.rs: Prevent linker from discarding test
773 symbol.
774
4fdba23d
PA
7752020-07-10 Pedro Alves <pedro@palves.net>
776
777 PR gdb/26199
778 * gdb.multi/multi-target.c (exit_thread): New.
779 (thread_start): Break loop if EXIT_THREAD.
780 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
781 (top level) Call test_no_resumed.
782
15f3b077
TT
7832020-07-08 Tom Tromey <tromey@adacore.com>
784
785 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
786 * gdb.ada/catch_ex.exp: Examine catchpoint text.
787
9fc501fd
AB
7882020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
789
790 PR python/22748
791 * gdb.opt/inline-frame-tailcall.c: New file.
792 * gdb.opt/inline-frame-tailcall.exp: New file.
793 * gdb.python/py-unwind-inline.c: New file.
794 * gdb.python/py-unwind-inline.exp: New file.
795 * gdb.python/py-unwind-inline.py: New file.
796
64cb3757
AB
7972020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
798
799 * gdb.python/py-arch-reg-groups.exp: New file.
800
0f767f94
AB
8012020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
802
803 * gdb.python/py-arch-reg-names.exp: New file.
804
87dbc774
AB
8052020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
806
807 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
808 gdb.PendingFrame.architecture method.
809
d8cc8af6
TV
8102020-07-06 Tom de Vries <tdevries@suse.de>
811
812 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
813
3c8ea5be
PA
8142020-07-03 Pedro Alves <palves@redhat.com>
815
816 * gdb.base/structs2.c (main): Adjust second parem_reg call to
817 explicitly write negative numbers.
818 * gdb.base/structs2.exp: Adjust expected output.
819
bf90c83a
PA
8202020-07-03 Pedro Alves <palves@redhat.com>
821
822 * gdb.base/charset.c (init_string): Change all char parameters to
823 unsigned char parameters.
824
2eb82157
PA
8252020-07-03 Pedro Alves <palves@redhat.com>
826
827 * gdb.base/call-sc.exp (start_scalars_test): Use
828 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
829 * gdb.base/overlays.c: Remove references to PARAMS.
830 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
831 * gdb.base/reread.exp: Don't set 'prototypes' global.
832 * gdb.base/structs.exp (start_structs_test): Use
833 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
834 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
835 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
836 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
837 call.
838 * gdb.base/varargs.exp: Don't set 'prototypes' global.
839
9adda7af
PA
8402020-07-03 Pedro Alves <palves@redhat.com>
841
842 * gdb.base/m32rovly.c: Delete.
843 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
844
2a17c803
PW
8452020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
846
847 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
848 of gdb_py_test_multiple.
849 * gdb.python/py-cmd.exp: Likewise.
850 * gdb.python/py-events.exp: Likewise.
851 * gdb.python/py-function.exp: Likewise.
852 * gdb.python/py-inferior.exp: Likewise.
853 * gdb.python/py-infthread.exp: Likewise.
854 * gdb.python/py-linetable.exp: Likewise.
855 * gdb.python/py-parameter.exp: Likewise.
856 * gdb.python/py-value.exp: Likewise.
857
b011fe1a
TV
8582020-06-30 Tom de Vries <tdevries@suse.de>
859
860 PR testsuite/26175
861 * lib/future.exp (gdb_default_target_compile): Detect and handle
862 early_flags.
863
df5b8876
SM
8642020-06-29 Simon Marchi <simon.marchi@efficios.com>
865
866 * boards/simavr.exp (gdb_load): Catch errors when closing
867 previous connection. Close connection, wait for process and
868 unset simavr_spawn_id on failure.
869
a3ca48cd
TV
8702020-06-29 Tom de Vries <tdevries@suse.de>
871
872 * lib/gdb.exp (unknown): Make test-case unresolved.
873
b0237c0e
TV
8742020-06-29 Tom de Vries <tdevries@suse.de>
875
876 PR gdb/25475
877 * gdb.server/solib-list.exp: Verify that the symbol reload
878 confirmation question is asked.
879
c0b3b3bd
PW
8802020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
881
882 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
883 have a input seq nr in each pass message.
fe4c3d43 884 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
885 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
886 * gdb.python/python.exp: Make test names unique,
887 use gdb_test_multiline instead of gdb_py_test_multiple,
888 use $gdb_test_name.
889 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
890
1776e3e5
NA
8912020-06-26 Nick Alcock <nick.alcock@oracle.com>
892
893 * configure.ac: Add --enable-libctf.
894 * aclocal.m4: sinclude ../config/enable.m4.
895 * Makefile.in (site.exp): Add enable_libctf to site.exp.
896 * lib/gdb.exp (skip_ctf_tests): Use it.
897 * gdb.base/ctf-constvars.exp: Error message tweak.
898 * gdb.base/ctf-ptype.exp: Likewise.
899 * configure: Regenerate.
900
f53b3eeb
GB
9012020-06-26 Gary Benson <gbenson@redhat.com>
902
903 * gdb.cp/try_catch.cc: Include string.h.
904 (main): Replace comparison against string literal with
905 strcmp, avoiding build failure with -Wstring-compare.
906 Add "marker test-complete".
907 * gdb.cp/try_catch.exp: Run the test to the above marker,
908 then verify that the value of "test" is still true.
909
6d74da72
AB
9102020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
911
912 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
913
2e52d038
AB
9142020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
915
916 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
917
3b9fce96
AB
9182020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
919
920 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
921 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
922 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
923 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
924 * gdb.arch/riscv-tdesc-loading.exp: New file.
925
ed69cbc8
AB
9262020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
927
928 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
929
767a879e
AB
9302020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
931
932 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
933 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
934 * gdb.arch/riscv-tdesc-regs.c: New file.
935 * gdb.arch/riscv-tdesc-regs.exp: New file.
936
221db974
PA
9372020-06-24 Pedro Alves <palves@redhat.com>
938
939 * gdb.arch/amd64-entry-value-paramref.exp: Use
940 prepare_for_testing_full and don't pass "c++" for the .S file
941 build spec.
942 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
943 $options, since it's an assembly file. Remove -Wno-deprecated.
944 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
945 compiling C++ programs.
946
331733cd
PA
9472020-06-24 Pedro Alves <palves@redhat.com>
948
949 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
950 Clang, add "-Wno-unknown-warning-option" to the options.
951
caa7fd04
AB
9522020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
953
954 * gdb.xml/tdesc-reload.c: New file.
955 * gdb.xml/tdesc-reload.exp: New file.
956 * gdb.xml/maint-xml-dump-01.xml: New file.
957 * gdb.xml/maint-xml-dump-02.xml: New file.
958 * gdb.xml/maint-xml-dump.exp: New file.
959
bb8d1260
SL
9602020-06-23 Sandra Loosemore <sandra@codesourcery.com>
961
962 * lib/completion-support.exp (test_gdb_completion_offers_commands):
963 Adjust for omitted commands when TUI is disabled.
964
7e4b9c4c
GB
9652020-06-23 Gary Benson <gbenson@redhat.com>
966 Pedro Alves <palves@redhat.com>
967
968 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
969 * gdb.cp/nsimport.cc: Likewise.
970 * gdb.cp/nsnested.cc: Likewise.
971 * gdb.cp/nsnoimports.cc: Likewise.
972 * gdb.cp/nsusing.cc: Likewise.
973 * gdb.cp/smartp.cc: Likewise.
974 * gdb.python/py-pp-integral.c: Likewise.
975 * gdb.python/py-pp-re-notag.c: Likewise.
976
2e573c0a
GB
9772020-06-23 Gary Benson <gbenson@redhat.com>
978
979 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
980 * gdb.cp/nsimport.cc: Likewise.
981 * gdb.cp/nsnested.cc: Likewise.
982 * gdb.cp/nsnoimports.cc: Likewise.
983 * gdb.cp/nsusing.cc: Likewise.
984 * gdb.cp/smartp.cc: Likewise.
985 * gdb.python/py-pp-integral.c: Likewise.
986 * gdb.python/py-pp-re-notag.c: Likewise.
987
746ebfe8
PW
9882020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
989
990 * gdb.base/default-args.exp: New test.
991 * gdb.base/default-args.c: New file.
992 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
993 * gdb.base/default.exp: Update to new help text.
994 * gdb.base/help.exp: Likewise.
995 * gdb.base/page.exp: Likewise.
996 * gdb.base/style.exp: Likewise.
997 * gdb.guile/guile.exp: Likewise.
998 * gdb.python/python.exp: Likewise.
999
e822f2cd
SL
10002020-06-22 Sandra Loosemore <sandra@codesourcery.com>
1001
1002 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
1003 remote host. Fix search path syntax on Windows host.
1004
48e9cc84
PW
10052020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1006
1007 * gdb.base/attach.exp: Test priority of 'exec-file' changed
1008 over 'exec-file-mismatch'.
1009 * gdb.base/attach.c: Mark should_exit volatile.
1010 * gdb.base/attach2.c: Likewise. Add a comment explaining
1011 why the sleep cannot be big.
1012 * gdb.base/attach3.c: New file.
1013
160f8a8f
SL
10142020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1015
1016 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
1017 prefix optional.
1018
4d91c2a4
SL
10192020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1020
1021 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
1022 for remote host.
1023
87f83f20
SL
10242020-06-19 Sandra Loosemore <sandra@codesourcery.com>
1025 Hafiz Abid Qadeer <abidh@codesourcery.com>
1026
1027 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
1028 file sent to remote host.
1029 (top level): Allow int32_t as type of 32-bit register.
1030
37ab8655
TV
10312020-06-19 Tom de Vries <tdevries@suse.de>
1032
1033 * lib/gdb.exp (gdb_note): New proc.
1034 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
1035 (gdb_default_target_compile): ... here. Only call
1036 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
1037 (use_gdb_compile): Change to array.
1038 (toplevel): Update sets of use_gdb_compile to specify language.
1039 Warn about default_target_compile override. Store dejagnu's version
1040 of default_target_compile in dejagnu_default_target_compile.
1041
a8a56685
TV
10422020-06-18 Tom de Vries <tdevries@suse.de>
1043
1044 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
1045 (default_gdb_init): ... here.
1046
581bea2c
SL
10472020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1048
1049 Fix TUI support checks in gdb.tui tests.
1050
1051 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
1052 just say UNSUPPORTED.
1053 * gdb.tui/corefile-run.exp: Likewise.
1054 * gdb.tui/empty.exp: Likewise.
1055 * gdb.tui/list-before.exp: Likewise.
1056 * gdb.tui/list.exp: Likewise.
1057 * gdb.tui/main.exp: Likewise.
1058 * gdb.tui/regs.exp: Likewise.
1059 * gdb.tui/resize.exp: Likewise.
1060 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
1061 * gdb.tui/tui-layout-asm.exp: Likewise.
1062 * gdb.tui/tui-missing-src.exp: Likewise.
1063 * gdb.tui/winheight.exp: Likewise.
1064 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
1065
05e682e3
SL
10662020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1067
1068 Fix TCL error in gdb.python/py-format-string.exp.
1069
1070 * gdb.python/py-format-string.exp: Move test for python support
1071 earlier, out of function body.
1072
efb763a5
SM
10732020-06-15 Simon Marchi <simon.marchi@efficios.com>
1074
1075 * gdb.base/index-cache-load-twice.c: New.
1076 * gdb.base/index-cache-load-twice.exp: New.
1077
43327b20
KS
10782020-06-17 Keith Seitz <keiths@redhat.com>
1079
99cf27cf 1080 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
1081 when executing "gdb --configuration".
1082
081e778c
TV
10832020-06-17 Tom de Vries <tdevries@suse.de>
1084
1085 * lib/gdb.exp (gdb_tcl_unknown): New proc.
1086 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
1087 conditional on presence of gdb_tcl_unknown.
1088 (gdb_finish): Make override undo conditional on presence of
1089 gdb_tcl_unknown.
1090
d2d1ea20
TT
10912020-06-16 Tom Tromey <tom@tromey.com>
1092
1093 * gdb.python/tui-window.py (failwin): New function. Register it
1094 as a TUI window type.
1095 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
1096
c802e8a7
GB
10972020-06-16 Gary Benson <gbenson@redhat.com>
1098
1099 * gdb.python/py-nested-maps.c (create_map): Add missing return
1100 value.
1101 (create_map_map): Likewise.
1102
ff08abb8
TBA
11032020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1104
1105 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
1106 variable.
1107 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
1108 and use the already-defined 'options' variable.
1109
a29d5112
AB
11102020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1111 Tom de Vries <tdevries@suse.de>
1112
1113 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
1114 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
1115 (gdb_setup_known_globals): New proc.
1116 (gdb_cleanup_globals): New proc.
1117 * lib/gdb.exp (load_lib): New override proc.
1118 (gdb_stdin_log_init): Set var in_file as persistent global.
1119 * lib/pascal.exp (gdb_stdin_log_init): Set vars
1120 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
1121 fpc_compiler as persistent global.
1122
8c74a764
TV
11232020-06-12 Tom de Vries <tdevries@suse.de>
1124
1125 * lib/tuiterm.exp (spawn): Rename to ...
1126 (tui_spawn): ... this.
1127 (toplevel): Move rename of spawn ...
1128 (gdb_init_tuiterm): ... here. New proc.
1129 (gdb_finish_tuiterm): New proc.
1130 * lib/gdb.exp (gdb_finish_hooks): New global var.
1131 (gdb_finish): Handle gdb_finish_hooks.
1132 (tuiterm_env): New proc.
1133 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
1134 tuiterm_env.
1135 * gdb.tui/basic.exp: Same.
1136 * gdb.tui/corefile-run.exp: Same.
1137 * gdb.tui/empty.exp: Same.
1138 * gdb.tui/list-before.exp: Same.
1139 * gdb.tui/list.exp: Same.
1140 * gdb.tui/main.exp: Same.
1141 * gdb.tui/new-layout.exp: Same.
1142 * gdb.tui/regs.exp: Same.
1143 * gdb.tui/resize.exp: Same.
1144 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
1145 * gdb.tui/tui-layout-asm.exp: Same.
1146 * gdb.tui/tui-missing-src.exp: Same.
1147 * gdb.tui/winheight.exp: Same.
1148
26783bce
TV
11492020-06-12 Tom de Vries <tdevries@suse.de>
1150
1151 PR testsuite/26110
1152 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
1153 (gdb_finish): Reinstall dejagnu's override of ::unknown.
1154
2b4e6a3f
TT
11552020-06-11 Tom Tromey <tom@tromey.com>
1156
1157 PR gdb/18318:
1158 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
1159 floating point tests.
1160
2f33032a
KS
11612020-06-11 Keith Seitz <keiths@redhat.com>
1162
1163 PR gdb/21356
1164 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
1165 vla_struct.
1166 Add new struct vla_typedef and union vla_typedef_union and
1167 corresponding instantiation objects.
1168 Initialize new objects.
1169 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
1170 and vla_typedef_union_object.
1171 Fixup type for vla_struct_object.
1172
a8baf0a3
TV
11732020-06-11 Tom de Vries <tdevries@suse.de>
1174
1175 * lib/gdb.exp (with_override): New proc, factored out of ...
1176 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
1177
7ab96794
TV
11782020-06-10 Tom de Vries <tdevries@suse.de>
1179
1180 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
1181
cab5c3b7
SM
11822020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
1183
1184 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
1185 parameter, update callers.
1186
f8c41851
SM
11872020-06-04 Simon Marchi <simon.marchi@efficios.com>
1188
1189 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
1190 * gdb.dwarf2/share-psymtabs-bt.c: New file.
1191 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
1192
1c07a73f
TV
11932020-06-04 Tom de Vries <tdevries@suse.de>
1194
1195 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
1196
95146b5d
TV
11972020-06-04 Tom de Vries <tdevries@suse.de>
1198
1199 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
1200 exp_continue.
1201
0cfcd4f0
TV
12022020-06-04 Tom de Vries <tdevries@suse.de>
1203
1204 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
1205
f9b5d5ea
TV
12062020-06-03 Tom de Vries <tdevries@suse.de>
1207
1208 PR symtab/26046
1209 * gdb.cp/breakpoint-locs-2.cc: New test.
1210 * gdb.cp/breakpoint-locs.cc: New test.
1211 * gdb.cp/breakpoint-locs.exp: New file.
1212 * gdb.cp/breakpoint-locs.h: New test.
1213
5144dfba
TV
12142020-06-03 Tom de Vries <tdevries@suse.de>
1215
1216 PR testsuite/25609
1217 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
1218 value of global verbose.
1219 * gdb.base/jit-elf.exp: Same.
1220 * gdb.base/jit-reader.exp: Same.
1221
621eacdf
TV
12222020-06-02 Tom de Vries <tdevries@suse.de>
1223
1224 * gdb.dwarf2/multidictionary.exp: Don't use
1225 gdb_spawn_with_cmdline_opts.
1226
1313c56e
AB
12272020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
1228
1229 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
1230 use_header case.
1231 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
1232 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
1233 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
1234 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
1235 * gdb.dwarf2/dw2-inline-header.c: New file.
1236 * gdb.dwarf2/dw2-inline-header.h: New file.
1237
f68f85b5
PA
12382020-05-30 Pedro Alves <palves@redhat.com>
1239
1240 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
1241 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
1242
678048e8
GB
12432020-05-29 Gary Benson <gbenson@redhat.com>
1244
1245 * gdb.compile/compile-cplus.exp (additional_flags): Also
1246 set when building with clang.
1247 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
1248 when building with clang.
1249
9fcafd23
GB
12502020-05-29 Gary Benson <gbenson@redhat.com>
1251
1252 * gdb.arch/i386-avx.exp (additional_flags): Also set when
1253 building with clang.
1254 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
1255
735d5a07
GB
12562020-05-29 Gary Benson <gbenson@redhat.com>
1257
1258 * gdb.cp/koenig.exp (prepare_for_testing): Add
1259 additional_flags=-Wno-unused-comparison.
1260 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
1261
4ad2c6a0
GB
12622020-05-28 Gary Benson <gbenson@redhat.com>
1263
1264 * gdb.base/sigaltstack.c (catcher): Add default case to switch
1265 statement.
1266
09fe663e
GB
12672020-05-28 Gary Benson <gbenson@redhat.com>
1268
1269 * gdb.cp/classes.exp (prepare_for_testing): Add
1270 additional_flags=-Wno-deprecated-register.
1271 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
1272 * gdb.cp/misc.exp: Likewise.
1273
cee00f17
GB
12742020-05-28 Gary Benson <gbenson@redhat.com>
1275
1276 * gdb.linespec/cpls-ops.cc (dummy): New static global.
1277 (test_op_new::operator new): Add return statement.
1278 (test_op_new_array::operator new[]): Likewise.
1279
636edd00
PA
12802020-05-27 Pedro Alves <palves@redhat.com>
1281
1282 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
1283 check. Use test_gdb_complete_unique instead of
1284 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
1285 test_gdb_complete_multiple instead of
1286 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
1287
c2b75043
LM
12882020-05-27 Luis Machado <luis.machado@linaro.org>
1289
1290 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
1291 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
1292 * gdb.arch/arm-disassembler-options.exp: Likewise.
1293 * gdb.arch/arm-disp-step.exp: Likewise.
1294 * gdb.arch/thumb-prologue.exp: Likewise.
1295 * gdb.base/async.exp: Likewise.
1296 * gdb.base/auxv.exp: Likewise.
1297 * gdb.base/complex-parts.exp: Likewise.
1298 * gdb.base/ena-dis-br.exp: Likewise.
1299 * gdb.base/foll-exec.exp: Likewise.
1300 * gdb.base/permissions.exp: Likewise.
1301 * gdb.base/relocate.exp: Likewise.
1302 * gdb.base/return2.exp: Likewise.
1303 * gdb.base/sigbpt.exp: Likewise.
1304 * gdb.base/siginfo-obj.exp: Likewise.
1305 * gdb.cp/converts.exp: Likewise.
1306 * gdb.cp/exceptprint.exp: Likewise.
1307 * gdb.cp/inherit.exp: Likewise.
1308 * gdb.cp/nsnoimports.exp: Likewise.
1309 * gdb.cp/virtbase2.exp: Likewise.
1310 * gdb.mi/mi-var-cmd.exp: Likewise.
1311 * gdb.mi/var-cmd.c: Likewise.
1312
53a47a3e
TT
13132020-05-26 Tom Tromey <tromey@adacore.com>
1314
1315 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
1316
0bc2354b
TT
13172020-05-26 Tom Tromey <tromey@adacore.com>
1318
1319 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
1320 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
1321 type.
1322 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
1323 variable.
1324
0db49895
CBG
13252020-05-26 Christian Biesinger <cbiesinger@google.com>
1326
1327 * Makefile.in: Use = instead of == for the test command
1328 for portability.
1329
40d22035
TV
13302020-05-26 Tom de Vries <tdevries@suse.de>
1331
1332 * gdb.base/gold-gdb-index-2.c: New test.
1333 * gdb.base/gold-gdb-index.c: New test.
1334 * gdb.base/gold-gdb-index.exp: New file.
1335 * gdb.base/gold-gdb-index.h: New test.
1336
043e2e02
TV
13372020-05-25 Tom de Vries <tdevries@suse.de>
1338
1339 * boards/gold-gdb-index.exp: New file.
1340
462f72c5
SM
13412020-05-25 Simon Marchi <simon.marchi@efficios.com>
1342
1343 * boards/simavr.exp: New file.
1344
6cf66e76
SM
13452020-05-25 Simon Marchi <simon.marchi@efficios.com>
1346
1347 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
1348 * gdb.base/inferior-args.exp: New file.
1349 * gdb.base/inferior-args.c: New file.
1350
75d04512
SM
13512020-05-25 Simon Marchi <simon.marchi@efficios.com>
1352
1353 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
1354 inferior_args. Pass it to gdb_reload.
1355 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
1356 inferior_args.
1357 (gdb_reload): Add inferior_args argument.
1358 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
1359 pass it to gdbserver_run.
1360 * boards/native-gdbserver.exp: Do not set noargs.
1361 * boards/native-extended-gdbserver.exp (gdb_reload): Add
1362 inferior_args argument.
1363 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
1364 * gdb.base/a2-run.exp: Check for use_gdb_stub.
1365 * gdb.base/args.exp: Likewise.
1366
42cf1844
TV
13672020-05-25 Tom de Vries <tdevries@suse.de>
1368
1369 * lib/gdb.exp (exec_is_pie): Add comment.
1370
8f7d38ef
TV
13712020-05-25 Tom de Vries <tdevries@suse.de>
1372
1373 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
1374 instead of $binfile in the untested message.
1375
465e1b0f
TV
13762020-05-25 Tom de Vries <tdevries@suse.de>
1377
1378 PR testsuite/26031
1379 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
1380
3c5a0e02
TV
13812020-05-25 Tom de Vries <tdevries@suse.de>
1382
1383 * boards/gold.exp: New file.
1384
0a4f5f8c
TT
13852020-05-23 Tom Tromey <tom@tromey.com>
1386
1387 * gdb.base/style.exp: Remove completion styling test.
1388 * lib/gdb-utils.exp (style): Remove completion styles.
1389
eca1f90c
TT
13902020-05-23 Tom Tromey <tom@tromey.com>
1391
1392 * gdb.base/style.exp: Add completion styling test.
1393 * lib/gdb-utils.exp (style): Add completion styles.
1394
7c13f4e8
AB
13952020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
1396
1397 * gdb.base/annota1.exp: Update expected results.
1398 * gdb.cp/annota2.exp: Update expected results, remove duplicate
1399 test name.
1400 * gdb.cp/annota3.exp: Update expected results.
1401
41977d16
SM
14022020-05-20 Simon Marchi <simon.marchi@efficios.com>
1403
1404 PR gdb/26016
1405 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
1406 against MAP_FAILED.
1407 * gdb.base/coremaker.c (mmapdata): Likewise.
1408 * gdb.base/jit-reader-host.c (main): Likewise.
1409 * gdb.base/sym-file-loader.c (load): Likewise.
1410 (load_shlib): Likewise.
1411
b4757f2e
TT
14122020-05-20 Tom Tromey <tromey@adacore.com>
1413
1414 * gdb.ada/array_char_idx.exp: Recognize initialized array.
1415
9a0bacfb
TV
14162020-05-20 Tom de Vries <tdevries@suse.de>
1417
1418 PR symtab/25833
1419 * gdb.base/with-mf-inc.c: New test.
1420 * gdb.base/with-mf-main.c: New test.
1421 * gdb.base/with-mf.exp: New file.
1422
76571211
TT
14232020-05-19 Tom Tromey <tromey@adacore.com>
1424
1425 * gdb.rust/simple.exp: Restore missing test result.
1426
4cd9f3d5
TV
14272020-05-19 Tom de Vries <tdevries@suse.de>
1428
1429 * gdb.base/gdb-caching-proc.exp: Fix typo.
1430
7d874253
TT
14312020-05-19 Tom Tromey <tromey@adacore.com>
1432
1433 * gdb.rust/simple.exp: Add some test descriptions.
1434 (test_one_slice): Use with_test_prefix.
1435
1d727695
TV
14362020-05-18 Tom de Vries <tdevries@suse.de>
1437
1438 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
1439
7f32a4d5
PA
14402020-05-17 Pedro Alves <palves@redhat.com>
1441
1442 PR gdb/25741
1443 * gdb.base/hw-sw-break-same-address.exp: New file.
1444
7cfd74cf
PA
14452020-05-16 Pedro Alves <palves@redhat.com>
1446
1447 * gdb.multi/multi-re-run.exp (test_re_run): Switch
1448 LAST_LOADED_FILE accordingly.
1449
57b4f16e
PW
14502020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1451
1452 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
1453
7c05caf7
PW
14542020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1455
1456 * gdb.base/help.exp: Test apropos and help for commands
1457 having aliases. Fixed comments not starting with an
1458 upper-case letter or not finishing with a dot.
1459
7aa1b46f
PW
14602020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1461
3b3aaacb
PW
1462 * gdb.base/alias.exp: Update help output check.
1463
57b4f16e 14642020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 1465
7aa1b46f
PW
1466 * gdb.base/default.exp: Update output following fixes.
1467
0605465f
PW
14682020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1469
1470 * gdb.base/alias.exp: Test aliases starting with a prefix of
1471 another alias.
1472
86e4e63d
GB
14732020-05-15 Gary Benson <gbenson@redhat.com>
1474
1475 * gdb.base/info-os.c (main): Add return statement.
1476 * gdb.base/info_minsym.c (minsym_fun): Likewise.
1477 * gdb.base/large-frame-2.c (func): Likewise.
1478 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
1479 * gdb.base/pr10179-b.c (foo2): Likewise.
1480 * gdb.base/valgrind-disp-step.c (foo): Likewise.
1481 * gdb.base/watch-cond.c (func): Likewise.
1482 * gdb.multi/goodbye.c (verylongfun): Likewise.
1483 * gdb.multi/hello.c (commonfun): Likewise.
1484 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
1485 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
1486 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1487 Likewise.
1488 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
1489 * gdb.threads/interrupt-while-step-over.c (child_function):
1490 Likewise.
1491 * gdb.trace/actions-changed.c (end): Likewise.
1492
163df4df
GB
14932020-05-15 Gary Benson <gbenson@redhat.com>
1494
1495 * gdb.opencl/callfuncs.exp: Report when test skipped.
1496 * gdb.opencl/convs_casts.exp: Likewise.
1497 * gdb.opencl/datatypes.exp: Likewise.
1498 * gdb.opencl/operators.exp: Likewise.
1499 * gdb.opencl/vec_comps.exp: Likewise.
1500
6dbc505a
TV
15012020-05-15 Tom de Vries <tdevries@suse.de>
1502
1503 * gdb.base/align.exp.in: Rename to ...
1504 * gdb.base/align.exp.tcl: ... this.
1505 * gdb.base/align-c++.exp: Update.
1506 * gdb.base/align-c.exp: Update.
1507 * gdb.base/all-architectures.exp.in: Rename to ...
1508 * gdb.base/all-architectures.exp: ... this.
1509 * gdb.base/all-architectures-0.exp: Update.
1510 * gdb.base/all-architectures-1.exp: Update.
1511 * gdb.base/all-architectures-2.exp: Update.
1512 * gdb.base/all-architectures-3.exp: Update.
1513 * gdb.base/all-architectures-4.exp: Update.
1514 * gdb.base/all-architectures-5.exp: Update.
1515 * gdb.base/all-architectures-6.exp: Update.
1516 * gdb.base/all-architectures-7.exp: Update.
1517 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
1518 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
1519 * gdb.base/infcall-nested-structs-c++.exp: Update.
1520 * gdb.base/infcall-nested-structs-c.exp: Update.
1521 * gdb.base/info-types.exp.in: Rename to ...
1522 * gdb.base/info-types.exp.tcl: ... this.
1523 * gdb.base/info-types-c++.exp: Update.
1524 * gdb.base/info-types-c.exp: Update.
1525 * gdb.base/max-depth.exp.in: Rename to ...
1526 * gdb.base/max-depth.exp.tcl: ... this.
1527 * gdb.base/max-depth-c++.exp: Update.
1528 * gdb.base/max-depth-c.exp: Update.
1529 * gdb.cp/cpexprs.exp.in: Rename to ...
1530 * gdb.cp/cpexprs.exp.tcl: ... this.
1531 * gdb.cp/cpexprs-debug-types.exp: Update.
1532 * gdb.cp/cpexprs.exp: Update.
1533 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
1534 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
1535 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
1536 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
1537 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
1538 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
1539 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
1540 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
1541 * gdb.dwarf2/clang-debug-names-2.exp: Update.
1542 * gdb.dwarf2/clang-debug-names.exp: Update.
1543
d1034d78
AB
15442020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
1545
1546 * lib/check-test-names.exp: Remove code that prevents this file
1547 loading when tests are run in parallel.
1548
3c5c3649
PA
15492020-05-15 Pedro Alves <palves@redhat.com>
1550
1551 * gdb.multi/multi-kill.exp (start_inferior): Remove
1552 'testpid' parameter. Refer to namespace variable directly.
1553 (testpid): Declare as namespace variable.
1554
272c36b8
PA
15552020-05-15 Pedro Alves <palves@redhat.com>
1556
1557 * gdb.multi/multi-kill.exp: Wrap in namespace.
1558 (start_inferior): Add TESTPID parameter. Use it instead of the
1559 testpid global.
1560 (top level): Define empty TESTPID array, and pass it down to
1561 start_inferior.
1562
02eba61a
TV
15632020-05-14 Tom de Vries <tdevries@suse.de>
1564
1565 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
1566 output.
1567
971a3747
TV
15682020-05-14 Tom de Vries <tdevries@suse.de>
1569
1570 * gdb.base/align.exp: Split into ...
1571 * gdb.base/align.exp.in: ...
1572 * gdb.base/align-c++.exp: ...
1573 * gdb.base/align-c.exp: ... these.
1574 * gdb.base/infcall-nested-structs.exp: Split into ...
1575 * gdb.base/infcall-nested-structs.exp.in: ...
1576 * gdb.base/infcall-nested-structs-c++.exp: ...
1577 * gdb.base/infcall-nested-structs-c.exp: ... these.
1578 * gdb.base/info-types.exp: Split into ...
1579 * gdb.base/info-types.exp.in: ...
1580 * gdb.base/info-types-c++.exp: ...
1581 * gdb.base/info-types-c.exp: ... these.
1582 * gdb.base/max-depth.exp: Split into ...
1583 * gdb.base/max-depth.exp.in: ...
1584 * gdb.base/max-depth-c++.exp: ...
1585 * gdb.base/max-depth-c.exp: ... these.
1586 * gdb.cp/infcall-nodebug.exp: Split into ...
1587 * gdb.cp/infcall-nodebug.exp.in: ...
1588 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
1589 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
1590 * gdb.cp/infcall-nodebug-c-d0.exp: ...
1591 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
1592
a05575d3
TBA
15932020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1594 Pedro Alves <palves@redhat.com>
1595
1596 * gdb.multi/multi-exit.c: New file.
1597 * gdb.multi/multi-exit.exp: New file.
1598 * gdb.multi/multi-kill.c: New file.
1599 * gdb.multi/multi-kill.exp: New file.
1600
6ad82919
TBA
16012020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1602
1603 * gdb.base/annota1.exp: Update the expected output.
1604 * gdb.cp/annota2.exp: Ditto.
1605
843f4d93
AB
16062020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
1607
1608 * lib/check-test-names.exp: Disable when testing is being run in
1609 parallel.
1610
c7c66341
TV
16112020-05-12 Tom de Vries <tdevries@suse.de>
1612
1613 * gdb.base/jit-elf.exp: Fix string concat.
1614
1b59ca1c
TV
16152020-05-12 Tom de Vries <tdevries@suse.de>
1616
1617 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
1618 messages.
1619
b4991d29
TV
16202020-05-12 Tom de Vries <tdevries@suse.de>
1621
1622 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
1623
dbb0ab10
TV
16242020-05-12 Tom de Vries <tdevries@suse.de>
1625
1626 * gdb.ada/catch_ex.exp: Use with_test_prefix.
1627 * gdb.ada/mi_catch_ex.exp: Same.
1628 * gdb.ada/mi_catch_ex_hand.exp: Same.
1629
7549fed8
TV
16302020-05-12 Tom de Vries <tdevries@suse.de>
1631
1632 * gdb.fortran/complex.exp: Use with_test_prefix.
1633
af2d5cd8
TV
16342020-05-12 Tom de Vries <tdevries@suse.de>
1635
1636 * gdb.trace/passcount.exp: Fix test-names.
1637
7c121311
TV
16382020-05-12 Tom de Vries <tdevries@suse.de>
1639
1640 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
1641
c9f3b40e
TV
16422020-05-12 Tom de Vries <tdevries@suse.de>
1643
1644 * gdb.gdb/complaints.exp: Use with_test_prefix.
1645 * gdb.xml/tdesc-regs.exp: Same.
1646 * gdb.opt/inline-locals.exp: Fix test name.
1647
111b33f0
TV
16482020-05-12 Tom de Vries <tdevries@suse.de>
1649
1650 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
1651 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
1652 * gdb.dwarf2/implref-struct.exp: Same.
1653 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
1654 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
1655
ebf47080
SM
16562020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
1657
1658 * gdb.base/jit-so.exp (one_jit_test): Change test name.
1659
d30dcd12
AB
16602020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1661
1662 * lib/check-test-names.exp (all_test_names): New module variable.
1663 (counts): Add 'duplicates' field.
1664 (_check_duplicates): New procedure.
1665 (check): Also check for duplicates.
1666 (do_log_summary): Print duplicates count.
1667 (do_reset_vars): Reset counter for duplicate test names, and
1668 discard all know test names.
1669
34584c09
AB
16702020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1671
1672 * lib/gdb.exp: Include check-test-names.exp library.
1673 * lib/check-test-names.exp: New file.
1674
e0002117
TV
16752020-05-11 Tom de Vries <tdevries@suse.de>
1676
1677 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
1678
53f539a3
KS
16792020-05-11 Keith Seitz <keiths@redhat.com>
1680
1681 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
1682
113ee09a
TV
16832020-05-11 Tom de Vries <tdevries@suse.de>
1684
1685 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
1686 * gdb.cp/cpexprs.exp.in: .. here.
1687 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
1688 cpexprs.exp.
1689
ba3e70b0
KS
16902020-05-11 Keith Seitz <keiths@redhat.com>
1691
1692 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
1693 test names.
1694 * gdb.ada/arrayptr.exp: Likewise.
1695 * gdb.ada/assign_arr.exp: Likewise.
1696 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1697 * gdb.ada/bp_on_var.exp: Likewise.
1698 * gdb.ada/call_pn.exp: Likewise.
1699 * gdb.ada/complete.exp: Likewise.
1700 * gdb.ada/fun_overload_menu.exp: Likewise.
1701 * gdb.ada/funcall_param.exp: Likewise.
1702 * gdb.ada/funcall_ref.exp: Likewise.
1703 * gdb.ada/packed_array_assign.exp: Likewise.
1704 * gdb.ada/same_component_name.exp: Likewise.
1705 * gdb.ada/type_coercion.exp: Likewise.
1706 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1707 * gdb.ada/variant_record_packed_array.exp: Likewise.
1708
3ee6bb11
TV
17092020-05-11 Tom de Vries <tdevries@suse.de>
1710
1711 PR symtab/25941
1712 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
1713 out of ...
1714 * gdb.dwarf2/clang-debug-names.exp: ... here.
1715 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
1716 clang-debug-names.exp.in.
1717 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
1718 * gdb.dwarf2/clang-debug-names-2.c: New test.
1719
86cd6bc8
AKS
17202020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1721
1722 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
1723 (fortran_runto_main): New Proc, fortran version of runto_main.
1724 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
1725 * gdb.fortran/array-bounds.exp: Likewise.
1726 * gdb.fortran/array-slices.exp: Likewise.
1727 * gdb.fortran/block-data.exp: Likewise.
1728 * gdb.fortran/charset.exp: Likewise.
1729 * gdb.fortran/common-block.exp: Likewise.
1730 * gdb.fortran/complex.exp: Likewise.
1731 * gdb.fortran/derived-type-function.exp: Likewise.
1732 * gdb.fortran/derived-type.exp: Likewise.
1733 * gdb.fortran/info-modules.exp: Likewise.
1734 * gdb.fortran/info-types.exp: Likewise.
1735 * gdb.fortran/intrinsics.exp: Likewise.
1736 * gdb.fortran/library-module.exp: Likewise.
1737 * gdb.fortran/logical.exp: Likewise.
1738 * gdb.fortran/max-depth.exp: Likewise.
1739 * gdb.fortran/module.exp: Likewise.
1740 * gdb.fortran/multi-dim.exp: Likewise.
1741 * gdb.fortran/nested-funcs.exp: Likewise.
1742 * gdb.fortran/print-formatted.exp: Likewise.
1743 * gdb.fortran/print_type.exp: Likewise.
1744 * gdb.fortran/printing-types.exp: Likewise.
1745 * gdb.fortran/ptr-indentation.exp: Likewise.
1746 * gdb.fortran/ptype-on-functions.exp: Likewise.
1747 * gdb.fortran/subarray.exp: Likewise.
1748 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1749 * gdb.fortran/vla-datatypes.exp: Likewise.
1750 * gdb.fortran/vla-history.exp: Likewise.
1751 * gdb.fortran/vla-ptr-info.exp: Likewise.
1752 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1753 * gdb.fortran/vla-ptype.exp: Likewise.
1754 * gdb.fortran/vla-sizeof.exp: Likewise.
1755 * gdb.fortran/vla-type.exp: Likewise.
1756 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1757 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1758 * gdb.fortran/vla-value-sub.exp: Likewise.
1759 * gdb.fortran/vla-value.exp: Likewise.
1760 * gdb.fortran/whatis_type.exp: Likewise.
1761 * gdb.mi/mi-var-child-f.exp: Likewise.
1762
6dc55ce9 17632020-05-09 Tom de Vries <tdevries@suse.de>
1764
1765 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
1766
283cb58c
TV
17672020-05-08 Tom de Vries <tdevries@suse.de>
1768
1769 * gdb.dwarf2/clang-debug-names.c: New test.
1770 * gdb.dwarf2/clang-debug-names.exp: New file.
1771
ac4a4f1c
SM
17722020-05-06 Simon Marchi <simon.marchi@efficios.com>
1773
1774 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
1775 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
1776
24fe640b
TV
17772020-05-06 Tom de Vries <tdevries@suse.de>
1778
1779 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
1780 breakpoint is at a "recommended breakpoint location".
1781 * gdb.reverse/consecutive-reverse.exp: Same.
1782
0d8683a3
TV
17832020-05-06 Tom de Vries <tdevries@suse.de>
1784
1785 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
1786 address.
1787
b8983c46
TV
17882020-05-06 Tom de Vries <tdevries@suse.de>
1789
1790 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
1791
abf6d805
TV
17922020-05-06 Tom de Vries <tdevries@suse.de>
1793
1794 * gdb.base/store.exp (check_set, up_set): Allowing missing location
1795 info for r.
1796
0fc2a808
TV
17972020-05-06 Tom de Vries <tdevries@suse.de>
1798
1799 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
1800 necessary.
1801
873dd427
TV
18022020-05-06 Tom de Vries <tdevries@suse.de>
1803
1804 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
1805 void.
1806
7c99e7e2
TV
18072020-05-06 Tom de Vries <tdevries@suse.de>
1808
1809 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
1810 of ...
1811 * gdb.base/async.exp: ... here.
1812 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
1813 "recommended breakpoint location".
1814
6173d6a6
TV
18152020-05-06 Tom de Vries <tdevries@suse.de>
1816
1817 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
1818
6015a067
TV
18192020-05-04 Tom de Vries <tdevries@suse.de>
1820
1821 * gdb.base/async.exp: Check whether instruction addresses are a
1822 "recommended breakpoint location".
1823
3b6acaee
TT
18242020-05-03 Tom Tromey <tom@tromey.com>
1825
1826 * gdb.base/sepdebug.exp: Remove "catch" test.
1827 * gdb.base/break.exp: Remove "catch" test.
1828 * gdb.base/default.exp: Update expected output.
1829
5beb4d17
TV
18302020-05-02 Tom de Vries <tdevries@suse.de>
1831
1832 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
1833 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
1834 * gdb.arch/i386-mpx-map.exp: Same.
1835 * gdb.arch/i386-mpx-sigsegv.exp: Same.
1836 * gdb.arch/i386-mpx-simple_segv.exp: Same.
1837 * gdb.arch/i386-mpx.exp: Same.
1838
8caf140d
TV
18392020-05-02 Tom de Vries <tdevries@suse.de>
1840
1841 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
1842
693196cb
TV
18432020-05-01 Tom de Vries <tdevries@suse.de>
1844
1845 * gdb.ada/operator_bp.exp: Allow more than required amount of
1846 breakpoint.
1847
53ae0aa9
TV
18482020-05-01 Tom de Vries <tdevries@suse.de>
1849
1850 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
1851
ee9d1e5f
HD
18522020-04-30 Hannes Domani <ssbssa@yahoo.de>
1853
1854 PR gdb/18706
1855 * gdb.cp/stub-array-size.cc: New test.
1856 * gdb.cp/stub-array-size.exp: New file.
1857 * gdb.cp/stub-array-size.h: New test.
1858 * gdb.cp/stub-array-size2.cc: New test.
1859
d5cf82c0
HD
18602020-04-30 Hannes Domani <ssbssa@yahoo.de>
1861
1862 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
1863 output to the new format.
1864
42e165c3
SM
18652020-04-29 Simon Marchi <simon.marchi@efficios.com>
1866
1867 * gdb.base/break.exp: Use with_test_prefix.
1868
6e4e3fe1
TV
18692020-04-29 Tom de Vries <tdevries@suse.de>
1870
1871 * lib/gdb.exp (debug_types): New proc.
1872 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
1873 * gdb.python/py-symtab.exp: Same.
1874
d642b692
HD
18752020-04-29 Hannes Domani <ssbssa@yahoo.de>
1876
1877 PR gdb/17320
1878 * gdb.base/pretty-array.c: New test.
1879 * gdb.base/pretty-array.exp: New file.
1880
ea90f227
TV
18812020-04-29 Tom de Vries <tdevries@suse.de>
1882
1883 PR symtab/25889
1884 * gdb.cp/cpexprs.exp: Adapt for inclusion.
1885 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
1886 and include cpexprs.exp.
1887
a65189c9
TV
18882020-04-28 Mark Williams <mark@myosotissp.com>
1889
1890 PR gdb/24480
1891 * dw4-toplevel-types.exp: Test for top level types.
1892 * dw4-toplevel-types.cc: Test for top level types.
1893
32d1f47a
TBA
18942020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1895
1896 * gdb.threads/stop-with-handle.exp: Fix typo in comment
1897 (theads -> threads).
1898
56a4f5a1
TV
18992020-04-28 Tom de Vries <tdevries@suse.de>
1900
1901 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
1902
0b2f8a3b
TV
19032020-04-28 Tom de Vries <tdevries@suse.de>
1904
1905 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
1906
5390c717
TV
19072020-04-28 Tom de Vries <tdevries@suse.de>
1908
1909 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
1910
15cd93d0
TV
19112020-04-28 Tom de Vries <tdevries@suse.de>
1912
1913 * gdb.dwarf2/main-foo.c: New test.
1914 * gdb.dwarf2/struct-with-sig.exp: New file.
1915
d472f0fb
TV
19162020-04-25 Tom de Vries <tdevries@suse.de>
1917
1918 * boards/debug-types.exp: New file.
1919
8d840e05
AB
19202020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
1921
1922 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
1923
bcfe6157
TT
19242020-04-24 Tom Tromey <tom@tromey.com>
1925
1926 PR symtab/12707:
1927 * gdb.python/py-symbol.exp: Update expected results for
1928 linkage_name test.
1929 * gdb.cp/print-demangle.exp: New file.
1930 * gdb.base/c-linkage-name.exp: Fix test.
1931 * gdb.guile/scm-symbol.exp: Update expected results for
1932 linkage_name test.
1933
f049a313
TT
19342020-04-24 Tom Tromey <tom@tromey.com>
1935
1936 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
1937 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
1938 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
1939 assembler.
1940
7cf28874
TV
19412020-04-24 Tom de Vries <tdevries@suse.de>
1942
1943 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
1944 C++.
1945
dac2fef7
TT
19462020-04-24 Tom Tromey <tromey@adacore.com>
1947
1948 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
1949 values.
1950 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
1951 values. Update test for minimal encodings.
1952 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
1953 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
1954 values. Update test for minimal encodings.
1955
1acda803
TT
19562020-04-24 Tom Tromey <tromey@adacore.com>
1957
1958 PR python/23662:
1959 * gdb.ada/variant.exp: Add Python checks.
1960 * gdb.rust/simple.exp: Add dynamic type checks.
1961
adfb9815
TT
19622020-04-24 Tom Tromey <tromey@adacore.com>
1963
1964 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
1965 Make array type matching more lax.
1966 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
1967 * gdb.ada/mi_variant.exp: New file.
1968 * gdb.ada/mi_variant/pck.ads: New file.
1969 * gdb.ada/mi_variant/pkg.adb: New file.
1970 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
1971 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
1972
7d79de9a
TT
19732020-04-24 Tom Tromey <tromey@adacore.com>
1974
1975 * gdb.ada/variant.exp: Add dynamic field offset tests.
1976 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
1977 * gdb.ada/variant/pkg.adb: Add new variables.
1978
f8e89861
TT
19792020-04-24 Tom Tromey <tromey@adacore.com>
1980
1981 * gdb.ada/variant.exp: New file
1982 * gdb.ada/variant/pkg.adb: New file
1983 * gdb.ada/variant/pck.adb: New file
1984
86e887ae
TV
19852020-04-24 Tom de Vries <tdevries@suse.de>
1986
1987 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
1988
88428775
TV
19892020-04-24 Tom de Vries <tdevries@suse.de>
1990
1991 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
1992 flags.
1993
4e86f6e7
TV
19942020-04-24 Tom de Vries <tdevries@suse.de>
1995
1996 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
1997
2016d3e6
TV
19982020-04-24 Tom de Vries <tdevries@suse.de>
1999
2000 * lib/gdb.exp (default_gdb_start): Handle eof.
2001 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
2002 failure.
2003 * gdb.base/readnever.exp: Handle clean_restart failure.
2004
70bc38f5
TV
20052020-04-23 Tom de Vries <tdevries@suse.de>
2006
2007 * gdb.base/decl-before-def.exp: Run to main and print a again.
2008
de82891c
TV
20092020-04-23 Tom de Vries <tdevries@suse.de>
2010
2011 * gdb.base/decl-before-def-decl.c: New test.
2012 * gdb.base/decl-before-def-def.c: New test.
2013 * gdb.base/decl-before-def.exp: New file.
2014
96038148
TV
20152020-04-23 Tom de Vries <tdevries@suse.de>
2016
2017 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
2018
54ac3df1
TV
20192020-04-22 Tom de Vries <tdevries@suse.de>
2020
2021 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
2022 debug_info_offset.
2023 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
2024 before $objsfile in the line line.
2025
714534e1
TV
20262020-04-22 Tom de Vries <tdevries@suse.de>
2027
2028 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
2029
16a7dbf4
MS
20302020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2031
2032 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
2033 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
2034 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
2035 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
2036 * gdb.base/jit-protocol.h: Update definitions to match all usage
2037 contexts.
2038
20392020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2040
2041 * gdb.base: Rename all jit related test and source files.
2042
20432020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2044
2045 * gdb.base/jit-reader.exp: Relax register output check.
2046
317d2668
TV
20472020-04-22 Tom de Vries <tdevries@suse.de>
2048
2049 PR symtab/25764
2050 * gdb.base/psym-external-decl-2.c: New test.
2051 * gdb.base/psym-external-decl.c: New test.
2052 * gdb.base/psym-external-decl.exp: New file.
2053 * gdb.threads/tls.exp: Add PR25807 kfail.
2054
eea9e357
TV
20552020-04-22 Tom de Vries <tdevries@suse.de>
2056
2057 PR symtab/25801
2058 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
2059 in "info source" output.
2060
3d5afab3
TV
20612020-04-22 Tom de Vries <tdevries@suse.de>
2062
2063 PR symtab/25700
2064 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
2065 symtab for imported_unit.c.
2066
b32102f6
GB
20672020-04-21 Gary Benson <gbenson@redhat.com>
2068
2069 * gdb.base/advance.c (func): New argument, to match call site.
2070 (func2, func3): Add return statements.
2071
d43b7a2d
TBA
20722020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2073
2074 * gdb.multi/run-only-second-inf.c: New file.
2075 * gdb.multi/run-only-second-inf.exp: New file.
2076
d89edf9b
MM
20772020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2078
2079 * gdb.btrace/multi-inferior.c: New test.
2080 * gdb.btrace/multi-inferior.exp: New file.
2081
1a476b6d
MM
20822020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2083
2084 * gdb.btrace/enable-new-thread.c: New test.
2085 * gdb.btrace/enable-new-thread.exp: New file.
2086
4778a5f8
TV
20872020-04-21 Tom de Vries <tdevries@suse.de>
2088
2089 PR gdb/25471
2090 * gdb.threads/killed-outside.c: New test.
2091 * gdb.threads/killed-outside.exp: New file.
2092
9b2c992c
GB
20932020-04-20 Gary Benson <gbenson@redhat.com>
2094
2095 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
2096 * gdb.base/nested-subp2.exp: Likewise.
2097 * gdb.base/nested-subp3.exp: Likewise.
2098
b5d1d6f7
GB
20992020-04-20 Gary Benson <gbenson@redhat.com>
2100
2101 * gdb.base/nested-subp1.exp: Disable test when using clang.
2102 * gdb.base/nested-subp2.exp: Likewise.
2103 * gdb.base/nested-subp3.exp: Likewise.
2104
25230285
GB
21052020-04-20 Gary Benson <gbenson@redhat.com>
2106
2107 * gdb.cp/exception.cc: Fix compilation error with clang.
2108
fa93cc8f
GB
21092020-04-20 Gary Benson <gbenson@redhat.com>
2110
809730f3 2111 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 2112
e0c45f30
GB
21132020-04-20 Gary Benson <gbenson@redhat.com>
2114
2115 * gdb.base/jit-main.c: Fix compilation error with clang.
2116
4ddfec93
KR
21172020-04-17 Kamil Rytarowski <n54@gmx.com>
2118
2119 * gdb.base/attach-twice.c: Include "sys/types.h".
2120 (PTRACE_ATTACH): Add fallback definition.
2121 (main): Pass `0' to the 4th argument of `ptrace'.
2122
2bed205e
KR
21232020-04-17 Kamil Rytarowski <n54@gmx.com>
2124
2125 * gdb.base/fork-running-state.c: Include "signal.h".
2126
0743fc83
TT
21272020-04-17 Tom Tromey <tromey@adacore.com>
2128
2129 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
2130 Update tests.
2131 * gdb.btrace/cpu.exp: Update tests.
2132 * gdb.base/maint.exp: Update tests.
2133 * gdb.base/default.exp: Update tests.
2134 * gdb.base/completion.exp: Update tests.
2135
efba5c23
TV
21362020-04-16 Tom de Vries <tdevries@suse.de>
2137
2138 PR symtab/25791
2139 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
2140 (ensure_gdb_index): and factor out and move ...
2141 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
2142 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
2143
d191d716
TV
21442020-04-16 Tom de Vries <tdevries@suse.de>
2145
2146 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
2147 loading exec.
2148
99f1bc6a
AB
21492020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
2150
2151 * gdb.base/many-completions.exp: New file.
2152
194d088f
TV
21532020-04-14 Tom de Vries <tdevries@suse.de>
2154
2155 PR symtab/25718
2156 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
2157
c1a66c06
TV
21582020-04-14 Tom de Vries <tdevries@suse.de>
2159
2160 PR symtab/25720
2161 * gdb.base/maint-expand-symbols-header-file.c: New test.
2162 * gdb.base/maint-expand-symbols-header-file.exp: New file.
2163 * gdb.base/maint-expand-symbols-header-file.h: New test.
2164
21b0982c
AB
21652020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2166
2167 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
2168 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
2169 get_func_info.
2170 (get_func_info): Delete.
2171 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
2172 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
2173 * lib/dwarf.exp (get_func_info): New function.
2174
dd1cab06
TV
21752020-04-13 Tom de Vries <tdevries@suse.de>
2176
2177 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
2178 to what find_gnatmake does.
2179
71ea2b6b
TV
21802020-04-10 Tom de Vries <tdevries@suse.de>
2181
2182 * gdb.base/style.exp: Expect "Expanding full symbols" message for
2183 -readnow.
2184
bdfc1e8a
TV
21852020-04-10 Tom de Vries <tdevries@suse.de>
2186
2187 PR cli/25808
2188 * gdb.base/style.c: Add leading newlines.
2189 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
2190 Check listing of main's one-line body.
2191
14ca8ecf
TV
21922020-04-08 Tom de Vries <tdevries@suse.de>
2193
2194 * lib/gdb.exp (psymtabs_p): New proc.
2195 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
2196 importing unit" unsupported if there are no partial symbols.
2197
e21d048f
TV
21982020-04-08 Tom de Vries <tdevries@suse.de>
2199
2200 PR testsuite/25760
2201 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
2202
25c11aca
TV
22032020-04-07 Tom de Vries <tdevries@suse.de>
2204
2205 PR symtab/25796
2206 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
2207
5707e24b
TV
22082020-04-07 Tom de Vries <tdevries@suse.de>
2209
2210 * gdb.base/check-psymtab.c: New test.
2211 * gdb.base/check-psymtab.exp: New file.
2212
6ee448cc
TT
22132020-04-06 Tom Tromey <tromey@adacore.com>
2214
2215 * gdb.ada/variant-record/proc.adb: New file.
2216 * gdb.ada/variant-record/value.adb: New file.
2217 * gdb.ada/variant-record/value.s: New file.
2218 * gdb.ada/variant-record.exp: New file.
2219
9e7c9a03
HD
22202020-04-03 Hannes Domani <ssbssa@yahoo.de>
2221
2222 PR gdb/25325
2223 * gdb.cp/typed-enum.cc: New test.
2224 * gdb.cp/typed-enum.exp: New file.
2225
c90d28ac
AB
22262020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2227
2228 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
2229 * gdb.dwarf2/dw2-inline-small-func.c: New file.
2230 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
2231 * gdb.dwarf2/dw2-inline-small-func.h: New file.
2232 * gdb.opt/inline-small-func.c: New file.
2233 * gdb.opt/inline-small-func.exp: New file.
2234 * gdb.opt/inline-small-func.h: New file.
2235
34e9a9fa
AB
22362020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2237
2238 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
2239 function.
2240
6a354911
AB
22412020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2242
2243 * lib/dwarf.exp (function_range): Allow compiler options to be
2244 specified.
2245
880d9777
TV
22462020-04-02 Tom de Vries <tdevries@suse.de>
2247
2248 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
2249 __attribute__((always_inline)).
2250 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
2251
f32682ea
TV
22522020-04-02 Tom de Vries <tdevries@suse.de>
2253
2254 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
2255 (gdbserver_gdb_exit): ... here. Add timeout warning.
2256 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
2257 (connect_target_extended_remote): Append new server_spawn_id to
2258 server_spawn_ids.
2259 (cleanup): New proc.
2260 (setup, <toplevel>): Call cleanup.
2261
d3214198
TV
22622020-04-02 Tom de Vries <tdevries@suse.de>
2263
2264 * gdb.base/main-psymtab.exp: New file.
2265
cc77ed24
TV
22662020-04-02 Tom de Vries <tdevries@suse.de>
2267
2268 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
2269
3638a098
TT
22702020-04-01 Tom Tromey <tom@tromey.com>
2271
2272 * gdb.base/complex-parts.exp: Add type tests.
2273
c34e8714
TT
22742020-04-01 Tom Tromey <tom@tromey.com>
2275
2276 * gdb.base/complex-parts.exp: Add arithmetic tests.
2277
981c08ce
TT
22782020-04-01 Tom Tromey <tom@tromey.com>
2279
2280 * gdb.compile/compile.exp: Update.
2281 * gdb.compile/compile-cplus.exp: Update.
2282 * gdb.base/varargs.exp: Update.
2283 * gdb.base/floatn.exp: Update.
2284 * gdb.base/endianity.exp: Update.
2285 * gdb.base/callfuncs.exp (do_function_calls): Update.
2286 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
2287 (complex_float_integral_args): Update.
2288 * gdb.base/complex.exp: Update.
2289 * gdb.base/complex-parts.exp: Update.
2290
3d1cfd43
TT
22912020-04-01 Tom Tromey <tromey@adacore.com>
2292
2293 * gdb.rust/union.rs: New file.
2294 * gdb.rust/union.exp: New file.
2295 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
2296 (main): Update.
2297 * gdb.rust/simple.exp: Move union tests to union.exp.
2298
e033dfa9
TT
22992020-04-01 Tom Tromey <tromey@adacore.com>
2300
2301 * gdb.rust/simple.rs (main): Remove "y0".
2302
53cccef1
TBA
23032020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2304
2305 * gdb.multi/stop-all-on-exit.c: New test.
2306 * gdb.multi/stop-all-on-exit.exp: New file.
2307
60e22c1e
HD
23082020-04-01 Hannes Domani <ssbssa@yahoo.de>
2309
2310 PR gdb/24789
2311 * gdb.cp/misc.cc: Add integer reference variable.
2312 * gdb.cp/misc.exp: Add test.
2313
e139a727
TBA
23142020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2315
2316 * gdb.server/stop-reply-no-thread.exp: Enhance the test
2317 scenario to cover execution until the end and also the case
2318
16b0db75
TV
23192020-03-31 Tom de Vries <tdevries@suse.de>
2320
2321 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
2322 c. Use "maint info symtabs" to check symtab expansion.
2323
c0502da6
TV
23242020-03-30 Tom de Vries <tdevries@suse.de>
2325
2326 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
2327 unsupported.
2328 (verify_psymtab_expanded): Move ...
2329 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
2330 test.
2331 (readnow): New proc.
2332
5935fd15
AB
23332020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2334
2335 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
2336 with $hex.
2337
1773be9e
TT
23382020-03-20 Tom Tromey <tromey@adacore.com>
2339
2340 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
2341
70304be9
TT
23422020-03-20 Tom Tromey <tromey@adacore.com>
2343
2344 * gdb.ada/sub_variant/subv.adb: New file.
2345 * gdb.ada/sub_variant.exp: New file.
2346
0dd7b8f7
TV
23472020-03-20 Tom de Vries <tdevries@suse.de>
2348
2349 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
2350 first break fails.
2351 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
2352
cada5fc9
AB
23532020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2354
2355 * gdb.server/exit-multiple-threads.c: New file.
2356 * gdb.server/exit-multiple-threads.exp: New file.
2357
6b8c53f2
AB
23582020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2359
2360 * gdb.fortran/mixed-lang-stack.c: New file.
2361 * gdb.fortran/mixed-lang-stack.cpp: New file.
2362 * gdb.fortran/mixed-lang-stack.exp: New file.
2363 * gdb.fortran/mixed-lang-stack.f90: New file.
2364
19a2740f
AB
23652020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2366
2367 * gdb.linespec/cp-completion-aliases.cc: New file.
2368 * gdb.linespec/cp-completion-aliases.exp: New file.
2369
d8c8b848
TV
23702020-03-19 Tom de Vries <tdevries@suse.de>
2371
2372 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
2373 more precise.
2374
a9933ccf
TV
23752020-03-18 Tom de Vries <tdevries@suse.de>
2376
2377 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
2378 * gdb.dwarf2/break-inline-psymtab.c: New test.
2379 * gdb.dwarf2/break-inline-psymtab.exp: New file.
2380
2f89101f
TV
23812020-03-16 Tom de Vries <tdevries@suse.de>
2382
2383 * lib/cache.exp (gdb_do_cache): Add and handle local variables
2384 cache_verify and cache_verify_proc.
2385
6b9374f1
TV
23862020-03-15 Tom de Vries <tdevries@suse.de>
2387
2388 * gdb.server/solib-list.exp: Handle
2389 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
2390
eaeaf44c
TV
23912020-03-15 Tom de Vries <tdevries@suse.de>
2392
2393 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
2394 objfiles".
2395
3293bbaf
TT
23962020-03-14 Tom Tromey <tom@tromey.com>
2397
2398 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
2399
ab44624c
TV
24002020-03-14 Tom de Vries <tdevries@suse.de>
2401
2402 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
2403
54c43825
TV
24042020-03-14 Tom de Vries <tdevries@suse.de>
2405
2406 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
2407 result in line-by-line fashion.
2408
2ac70237
TV
24092020-03-14 Tom de Vries <tdevries@suse.de>
2410
2411 * lib/gdb.exp (supports_statement_frontiers): New proc.
2412 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
2413
09546b56
TV
24142020-03-14 Tom de Vries <tdevries@suse.de>
2415
2416 * gdb.base/printcmds.exp: Add missing quoting for "print
2417 teststring2".
2418
a1f6a07c
TT
24192020-03-13 Tom Tromey <tom@tromey.com>
2420
2421 * gdb.base/printcmds.exp (test_print_strings): Add regression
2422 test.
2423 * gdb.base/printcmds.c (charptr): New typedef.
2424 (teststring2): New global.
2425
1b83d09c
AB
24262020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
2427
2428 * gdb.base/break-interp.exp: Use the tail of the filename, not the
2429 full path in the test name.
2430 (test_ld): Add some with_test_prefix blocks to make test names
2431 unique.
2432
2d61316c
TV
24332020-03-13 Tom de Vries <tdevries@suse.de>
2434
2435 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
2436
2e9145ac
TV
24372020-03-13 Tom de Vries <tdevries@suse.de>
2438
2439 * gdb.mi/mi-sym-info.exp: Make matching more precise.
2440
96c7f873
TV
24412020-03-13 Tom de Vries <tdevries@suse.de>
2442
2443 PR symtab/25646
2444 * gdb.dwarf2/imported-unit.exp: Add test.
2445
49ba92c0
TV
24462020-03-13 Tom de Vries <tdevries@suse.de>
2447
2448 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
2449 (var1, var2): New variable.
2450 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
2451 matching symbols.
2452
301b21e0
TV
24532020-03-13 Tom de Vries <tdevries@suse.de>
2454
2455 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
2456 (Term::command): Use prompt prefix.
2457 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
2458 * gdb.tui/tui-layout-asm-short-prog.exp: Use
2459 command_no_prompt_prefix instead of prefix.
2460 * gdb.tui/tui-layout-asm.exp: Same.
2461
3f512721
SM
24622020-03-12 Simon Marchi <simon.marchi@efficios.com>
2463
2464 * gdb.base/break-interp.exp: Use foreach_with_prefix.
2465
40310f30
SM
24662020-03-12 Simon Marchi <simon.marchi@efficios.com>
2467
2468 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
2469 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
2470 on" while stepping over the test instruction, match printed
2471 message.
2472
09252140
TV
24732020-03-12 Tom de Vries <tdevries@suse.de>
2474
2475 * gdb.base/info-types.exp: Use exp_continue during matching of output
2476 of "info types".
2477
14e9c72c
TV
24782020-03-12 Tom de Vries <tdevries@suse.de>
2479
2480 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
2481
e515d67e
TV
24822020-03-12 Tom de Vries <tdevries@suse.de>
2483
2484 * gdb.fortran/module.exp: Use exp_continue during matching of output
2485 of "info variable -n".
2486
307eafd8
TV
24872020-03-12 Tom de Vries <tdevries@suse.de>
2488
2489 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
2490 gdb.dwarf2/dw2-ranges-base.c.
2491
9a2de3fc
TV
24922020-03-12 Tom de Vries <tdevries@suse.de>
2493
2494 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
2495 in presence of GLIBC debuginfo.
2496
3217502e
TV
24972020-03-12 Tom de Vries <tdevries@suse.de>
2498
2499 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
2500 $core.
2501
1281424c
TV
25022020-03-12 Tom de Vries <tdevries@suse.de>
2503
2504 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
2505 more precise.
2506
038b97fc
SM
25072020-03-11 Simon Marchi <simon.marchi@efficios.com>
2508
2509 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
2510 from Unix to Windows path.
2511
5308d1e7
TV
25122020-03-11 Tom de Vries <tdevries@suse.de>
2513
2514 * gdb.ada/minsyms.exp: Set language to ada.
2515
f870f78f
TV
25162020-03-11 Tom de Vries <tdevries@suse.de>
2517
2518 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
2519
5a13315d
TV
25202020-03-11 Tom de Vries <tdevries@suse.de>
2521
2522 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
2523
976862ed
TT
25242020-03-11 Tom Tromey <tromey@adacore.com>
2525
2526 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
2527
7462c383
TV
25282020-03-11 Tom de Vries <tdevries@suse.de>
2529
2530 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
2531
1c6c46a0
TV
25322020-03-11 Tom de Vries <tdevries@suse.de>
2533
2534 * gdb.base/break-interp.exp: Limit verbose scope.
2535
44f41bb7
TV
25362020-03-11 Tom de Vries <tdevries@suse.de>
2537
2538 * gdb.fortran/logical.f90: Define variable with character type.
2539 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
2540
b76f3a42
TV
25412020-03-11 Tom de Vries <tdevries@suse.de>
2542
2543 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
2544
1c33af77
TV
25452020-03-11 Tom de Vries <tdevries@suse.de>
2546
2547 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
2548 symtabs.
2549
8c95582d
AB
25502020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2551 Bernd Edlinger <bernd.edlinger@hotmail.de>
2552
2553 * gdb.cp/step-and-next-inline.cc: New file.
2554 * gdb.cp/step-and-next-inline.exp: New file.
2555 * gdb.cp/step-and-next-inline.h: New file.
2556 * gdb.dwarf2/dw2-is-stmt.c: New file.
2557 * gdb.dwarf2/dw2-is-stmt.exp: New file.
2558 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
2559 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
2560 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
2561
cecf8547
AB
25622020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2563
2564 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
2565 is-stmt flag in the line table.
2566
0ba678c9
TV
25672020-03-09 Tom de Vries <tdevries@suse.de>
2568
2569 * lib/gdb.exp (cached_file): Create cache dir.
2570
72fbdf83
TV
25712020-03-07 Tom de Vries <tdevries@suse.de>
2572
2573 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
2574 * gdb.cp/rvalue-ref-params.exp: Same.
2575
436b5e99
TV
25762020-03-06 Tom de Vries <tdevries@suse.de>
2577
2578 * lib/gdb.exp (tentative_rename, cached_file): New proc.
2579 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
2580
09f2921c
TV
25812020-03-06 Tom de Vries <tdevries@suse.de>
2582
2583 * README: Fix "the the".
2584 * gdb.base/dprintf.exp: Same.
2585
50a3cc5d
TV
25862020-03-05 Tom de Vries <tdevries@suse.de>
2587
2588 * gdb.base/maint.exp: Update "main print statistics" expected output.
2589
0a709cba
AKS
25902020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2591
2592 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
2593 (fortran_int8): Likewise.
2594 (fortran_real4): Likewise.
2595 (fortran_real8): Likewise.
2596 (fortran_complex4): Likewise.
2597 (fortran_logical4): Likewise.
2598 (fortran_character1): Likewise.
2599
5e5d66b6
AB
26002020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
2601
2602 * gdb.fortran/logical.exp: Add tests that any non-zero value is
2603 printed as true.
2604
7b973adc
SDJ
26052020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
2606
2607 * gdb.base/printcmds.exp: Add test to verify printf of a
2608 variable holding an address.
2609
478e490a
TV
26102020-03-03 Tom de Vries <tdevries@suse.de>
2611
2612 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
2613
1ef44e86
TV
26142020-03-03 Tom de Vries <tdevries@suse.de>
2615
2616 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
2617 gdb_test_multiple call.
2618
b98cc2cf
TV
26192020-03-03 Tom de Vries <tdevries@suse.de>
2620
2621 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
2622 gdb_test_multiple calls.
2623
63e163f2
AB
26242020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2625
2626 * gdb.base/default.exp: Remove test of 'set history filename'.
2627 * gdb.base/gdbinit-history.exp: Add tests for setting the history
2628 filename to the empty string.
2629 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
2630 and GDBHISTSIZE.
2631
24ed6739
AB
26322020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2633
2634 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
2635 disabled.
2636
590003dc 26372020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 2638 Tom de Vries <tdevries@suse.de>
590003dc
TV
2639
2640 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
2641 -prompt prefix, before user_code argument. Add -lbl option likewise.
2642 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
2643 (gdb_is_target_1): Add -prompt prefix and move to before user_code
2644 argument.
2645 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
2646 have "\r\n" at start-of-line, instead of at end-of-line.
2647
f5e46084
SM
26482020-02-28 Simon Marchi <simon.marchi@efficios.com>
2649
2650 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
2651 libinproctrace.so.
2652
f7a7000d
LM
26532020-02-28 Luis Machado <luis.machado@linaro.org>
2654
2655 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
2656 to "p/x".
2657
718e0816
LM
26582020-02-28 Luis Machado <luis.machado@linaro.org>
2659
2660 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
2661 asm/ptrace.h and error.h.
2662
13c3a74a
TV
26632020-02-28 Tom de Vries <tdevries@suse.de>
2664
2665 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
2666 (struct wrapper, do_something, mundane/symada__cS): Move ...
2667 * gdb.base/c-linkage-name-2.c: ... here. New source file.
2668 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
2669 Update "print symada__cS before partial symtab expansion" regexp.
2670 Update breakpoint location. Flush symbol cache after expansion.
2671
85d2d5bb
LM
26722020-02-28 Luis Machado <luis.machado@linaro.org>
2673
2674 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
2675
3608f86c
TV
26762020-02-27 Tom de Vries <tdevries@suse.de>
2677
2678 * config/sid.exp: Remove unused globals.
2679 * gdb.base/attach.exp: Same.
2680 * gdb.base/catch-load.exp: Same.
2681 * gdb.base/dbx.exp: Same.
2682 * lib/gdb.exp: Same.
2683 * lib/mi-support.exp: Same.
2684 * lib/prompt.exp: Same.
2685
c8d4f6df
TV
26862020-02-27 Tom de Vries <tdevries@suse.de>
2687
2688 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
2689 not set.
2690
0d79cdc4
AM
26912020-02-26 Aaron Merey <amerey@redhat.com>
2692
2693 * gdb.debuginfod: New directory for debuginfod tests.
2694 * gdb.debuginfod/main.c: New test file.
2695 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
2696
0dce4280
TV
26972020-02-26 Tom de Vries <tdevries@suse.de>
2698
2699 PR gdb/25603
2700 * gdb.base/persistent-lang.cc: New test.
2701 * gdb.base/persistent-lang.exp: New file.
2702
9e80cfa1
AB
27032020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2704
2705 * gdb.fortran/derived-type-striding.exp: Add a new test.
2706 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
2707 new test.
2708
2078dbb2
AB
27092020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2710
2711 * gdb.base/cached-source-file.exp: Avoid source file paths in test
2712 names.
2713
70d49700
TV
27142020-02-25 Tom de Vries <tdevries@suse.de>
2715
2716 PR go/18926
2717 * gdb.go/methods.exp: Remove gcc/93866 xfail.
2718
a88ef40d
TV
27192020-02-24 Tom de Vries <tdevries@suse.de>
2720
2721 PR gdb/25592
2722 * gdb.base/info-locals-unused-static-var.c: New test.
2723 * gdb.base/info-locals-unused-static-var.exp: New file.
2724
01b1af32
TT
27252020-02-22 Tom Tromey <tom@tromey.com>
2726
2727 * gdb.python/tui-window.exp: New file.
2728 * gdb.python/tui-window.py: New file.
2729
7c043ba6
TT
27302020-02-22 Tom Tromey <tom@tromey.com>
2731
2732 PR tui/17850:
2733 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
2734 tests.
2735
c22fef7e
TT
27362020-02-22 Tom Tromey <tom@tromey.com>
2737
2738 * gdb.tui/new-layout.exp: Add sub-layout tests.
2739
ee325b61
TT
27402020-02-22 Tom Tromey <tom@tromey.com>
2741
2742 * gdb.tui/new-layout.exp: New file.
2743
3f0cbb04
TT
27442020-02-22 Tom Tromey <tom@tromey.com>
2745
2746 * gdb.rust/rust-style.rs: New file.
2747 * gdb.rust/rust-style.exp: New file.
2748 * gdb.base/style.exp: Test structure printing.
2749 * gdb.base/style.c (struct some_struct): New type.
2750 (enum etype): New type.
2751 (struct_value): New global.
2752
75525152
TV
27532020-02-21 Tom de Vries <tdevries@suse.de>
2754
2755 PR go/18926
2756 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
2757 Remove blanket xfails. Use message argument for gdb_breakpoint.
2758 Make continuing to breakpoint test conditional on setting breakpoint.
2759 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
2760 DW_AT_name attribute. Add xfail for GCC PR93866.
2761
bd360d30
AB
27622020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
2763
2764 * gdb.dwarf2/cpp-linkage-name.c: New file.
2765 * gdb.dwarf2/cpp-linkage-name.exp: New file.
2766
c7adb09f 27672020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
2768
2769 * lib/gdb.exp (gdb_wrapper_init): Reset
2770 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
2771 not exist.
2772
a9c79803
TV
27732020-02-20 Tom de Vries <tdevries@suse.de>
2774
2775 PR go/17018
2776 * gdb.go/hello.exp: Copy ...
2777 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
2778 print of st to print value of global definition. Add xfail for GCC
2779 PR93844.
2780 * gdb.go/hello.exp: Remove printing of st before definition.
2781 * gdb.go/hello.go: Copy ...
2782 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
2783 to st.
2784 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
2785
d7445728
TV
27862020-02-20 Tom de Vries <tdevries@suse.de>
2787
2788 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
2789 (gdb_simple_compile): Handle compile_flags go by using .go extension
2790 for source file.
2791 * gdb.go/chan.exp: Use support_go_compile.
2792 * gdb.go/handcall.exp: Same.
2793 * gdb.go/hello.exp: Same.
2794 * gdb.go/integers.exp: Same.
2795 * gdb.go/max-depth.exp: Same.
2796 * gdb.go/methods.exp: Same.
2797 * gdb.go/package.exp: Same.
2798 * gdb.go/strings.exp: Same.
2799 * gdb.go/types.exp: Same.
2800 * gdb.go/unsafe.exp: Same.
2801
c9c41e6d
TV
28022020-02-19 Tom de Vries <tdevries@suse.de>
2803
2804 * gdb.python/lib-types.exp: Make xfail more strict.
2805
f20ff837
TV
28062020-02-19 Tom de Vries <tdevries@suse.de>
2807
2808 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
2809
08410482
DE
28102020-02-19 Doug Evans <dje@google.com>
2811
2812 PR rust/25535
2813 * gdb.rust/simple.exp: Add test.
2814 * gdb.rust/simple.rs: Add test.
2815
623563f7
TV
28162020-02-19 Tom de Vries <tdevries@suse.de>
2817
2818 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
2819 output line-by-line.
2820
d3308cfd
TV
28212020-02-19 Tom de Vries <tdevries@suse.de>
2822
2823 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
2824
86cbc5dc
TV
28252020-02-19 Tom de Vries <tdevries@suse.de>
2826
2827 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
2828 prelink.
2829
9db2b96b
TV
28302020-02-19 Tom de Vries <tdevries@suse.de>
2831
2832 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
2833 (gdb_do_cache): Use gdb_do_cache_wrap.
2834 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
2835
89e2fdc5
TV
28362020-02-19 Tom de Vries <tdevries@suse.de>
2837
2838 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
2839 gdb_compile option.
2840
373d7ac0
SM
28412020-02-18 Simon Marchi <simon.marchi@efficios.com>
2842
2843 * gdb.base/printcmds.exp (test_print_enums): Update expected
2844 output.
2845
b29a2df0
SM
28462020-02-18 Simon Marchi <simon.marchi@efficios.com>
2847
2848 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
2849 for "unknown".
2850
6740f0cc
SM
28512020-02-18 Simon Marchi <simon.marchi@efficios.com>
2852
2853 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
2854 enumerator.
2855
edd45eb0
SM
28562020-02-18 Simon Marchi <simon.marchi@efficios.com>
2857
2858 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
2859 FE_, add FE_NONE.
2860 (three): Update.
2861 (enum flag_enum_without_zero): New enum.
2862 (flag_enum_without_zero): New variable.
2863 (enum not_flag_enum): New enum.
2864 (three_not_flag): New variable.
2865 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
2866 (test_print_enums): Add more tests for printing flag enums.
2867
d4295de4
TV
28682020-02-18 Tom de Vries <tdevries@suse.de>
2869
2870 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
2871 (gdb_compile_ada): ... here.
2872 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
2873 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
2874
f251f505
TT
28752020-02-14 Tom Tromey <tom@tromey.com>
2876
2877 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
2878 build directory.
2879 * boards/gdbserver-base.exp: Update path to gdbserver.
2880
8f432634
TV
28812020-02-13 Tom de Vries <tdevries@suse.de>
2882
2883 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
2884
92b6eaf7
TV
28852020-02-13 Tom de Vries <tdevries@suse.de>
2886
2887 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
2888 are missing.
2889
f3b0f7fe
TV
28902020-02-13 Tom de Vries <tdevries@suse.de>
2891
2892 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
2893 call.
2894
f6be8713
SDJ
28952020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2896
2897 PR tui/25126
2898 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
2899 * gdb.base/cached-source-file.c: New file.
2900 * gdb.base/cached-source-file.exp: New file.
2901
b2770d5e
TV
29022020-02-11 Tom de Vries <tdevries@suse.de>
2903
2904 PR testsuite/25488
2905 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
2906
44f6938e
TV
29072020-02-10 Tom de Vries <tdevries@suse.de>
2908
2909 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
2910
5f0e2eb7
MR
29112020-02-10 Maciej W. Rozycki <macro@wdc.com>
2912
2913 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
2914 and $after_addr are both integers before making a comparison.
2915
46ce2b6f
TV
29162020-02-09 Tom de Vries <tdevries@suse.de>
2917
2918 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
2919 command output and paste it into gdb.log. If any, paste catch message
2920 to gdb.log.
2921
5abbbe1d
TT
29222020-02-07 Tom Tromey <tromey@adacore.com>
2923
2924 PR breakpoints/24915:
2925 * gdb.base/annotate-symlink.exp: Use setup_xfail.
2926
1d5d29e7
SV
29272020-02-06 Shahab Vahedi <shahab@synopsys.com>
2928
2929 * gdb.tui/tui-missing-src.exp: Add the "missing source
2930 file" test for the TUI.
2931
b0999b9b
AB
29322020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
2933
2934 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
2935 including a port number in the output.
2936
c3b149eb
AKS
29372020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2938
2939 * lib/fortran.exp (fortran_int4): Handle clang.
2940 (fortran_int8): Likewise.
2941 (fortran_real4): Likewise.
2942 (fortran_real8): Likewise.
2943 (fortran_complex4): Likewise.
2944 (fortran_logical4): Likewise.
2945 (fortran_character1): Likewise.
2946
f8dcc90b
TV
29472020-02-04 Tom de Vries <tdevries@suse.de>
2948
2949 * README (Race detection): Add note.
2950
f90ac7c2
TV
29512020-02-04 Tom de Vries <tdevries@suse.de>
2952
2953 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
2954
780636ae
TV
29552020-02-04 Tom de Vries <tdevries@suse.de>
2956
2957 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
2958
5d2e1193
RA
29592020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2960
2961 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
2962 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
2963 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
2964 blttar, bnetarl.
2965 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
2966 binary for blttar, bnetarl.
2967 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
2968 wait instruction. Delete ldmx test.
2969 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
2970
e409c542
AKS
29712020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2972
2973 * gdb.fortran/array-bounds-high.exp: New file.
2974 * gdb.fortran/array-bounds-high.f90: New file.
2975
b0029748
LD
29762020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
2977
2978 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
2979 Replace #include of <sys/fcntl.h> by <fcntl.h>.
2980
195a8287
TV
29812020-02-01 Tom de Vries <tdevries@suse.de>
2982
2983 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
2984
42330a68
AB
29852020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
2986
2987 PR tui/9765
2988 * gdb.tui/tui-layout-asm-short-prog.S: New file.
2989 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
2990
b62a8028
LM
29912020-01-29 Luis Machado <luis.machado@linaro.org>
2992
2993 * gdb.arch/aarch64-brk-patterns.c: New source file.
2994 * gdb.arch/aarch64-brk-patterns.exp: New test.
2995
5f440116
TBA
29962020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2997
2998 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
2999 GCC/Clang version.
3000 * gdb.cp/pass-by-ref.exp: Ditto.
3001
ee2a6fc6
TV
30022020-01-29 Tom de Vries <tdevries@suse.de>
3003
3004 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
3005 * gdb.threads/watchpoint-fork-mt.c: Same.
3006 * gdb.threads/watchpoint-fork-parent.c: Same.
3007 * gdb.threads/watchpoint-fork-st.c: Same.
3008 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
3009
16b10d6e
LM
30102020-01-27 Luis Machado <luis.machado@linaro.org>
3011
3012 * gdb.base/step-over-syscall.exp (setup): Check if we're already
3013 sitting at a syscall instruction when we hit the syscall function's
3014 breakpoint.
3015 Check PC against one obtained with the x command.
3016 Validate syscall number.
3017 (step_over_syscall): Don't continue to the syscall instruction if
3018 we're already there.
3019
b1468492
PW
30202020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3021
3022 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
3023
7ffa82e1
AB
30242020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3025
3026 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
3027 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
3028
3d92a3e3
AB
30292020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3030
3031 * gdb.dwarf2/dw2-inline-stepping.c: New file.
3032 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
3033
94a72be7
AB
30342020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3035
3036 * gdb.base/maint.exp: Update line table parsing test.
3037 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
3038
53af73bf
PA
30392020-01-24 Pedro Alves <palves@redhat.com>
3040
3041 PR gdb/25410
3042 * gdb.multi/multi-re-run-1.c: New.
3043 * gdb.multi/multi-re-run-2.c: New.
3044 * gdb.multi/multi-re-run.exp: New.
3045
1ba1ac88
AB
30462020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3047
3048 PR gdb/23718
3049 * gdb.server/server-kill-python.exp: New file.
3050
f3364a6d
AB
30512020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3052
3053 * gdb.server/multi-ui-errors.c: New file.
3054 * gdb.server/multi-ui-errors.exp: New file.
3055
733d0a67
AB
30562020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3057
3058 PR tui/9765
3059 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
3060
4f13c1c0
TT
30612020-01-19 Tom Tromey <tom@tromey.com>
3062
3063 * gdb.tui/main.exp: Add check for plain "file".
3064
40c94099
CB
30652020-01-16 Christian Biesinger <cbiesinger@google.com>
3066
3067 * lib/gdb.exp: Fix spelling error (seperatelly).
3068
ff47f4f0
TT
30692020-01-14 Tom Tromey <tom@tromey.com>
3070
3071 PR symtab/12535:
3072 * gdb.python/python.exp: Test decode_line with empty string
3073 argument.
3074
717c684d
BE
30752020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
3076
3077 * gdb.base/skip-inline.exp: Extend test.
3078
44e4c775
AB
30792020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3080
3081 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
3082 * gdb.dwarf2/dw2-bad-elf.c: New file.
3083 * gdb.dwarf2/dw2-bad-elf.exp: New file.
3084
d93c6db7
AB
30852020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3086
3087 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
3088 _line_saw_file.
3089
9a6d629c
AB
30902020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3091
3092 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
3093 border.
3094
d9ebdab7
TBA
30952020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3096
3097 * gdb.multi/multi-target.exp (setup): Factor out "info
3098 connections" and "info inferiors" tests to ...
3099 (test_info_inferiors): ... this new procedure.
3100 (top level): Run new "info-inferiors" tests.
3101
f3c469b9
PA
31022020-01-10 Pedro Alves <palves@redhat.com>
3103
3104 * gdb.server/bkpt-other-inferior.exp: New file.
3105
121b3efd
PA
31062020-01-10 Pedro Alves <palves@redhat.com>
3107
3108 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
3109 of "add-inferior".
3110 * gdb.base/quit-live.exp: Likewise.
3111 * gdb.base/remote-exec-file.exp: Likewise.
3112 * gdb.guile/scm-progspace.exp: Likewise.
3113 * gdb.linespec/linespec.exp: Likewise.
3114 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3115 * gdb.mi/user-selected-context-sync.exp: Likewise.
3116 * gdb.multi/multi-target.exp (setup): Add "info connection" and
3117 "info inferiors" tests.
3118 * gdb.multi/remove-inferiors.exp: Adjust expected output of
3119 "add-inferior".
3120 * gdb.multi/watchpoint-multi.exp: Likewise.
3121 * gdb.python/py-inferior.exp: Likewise.
3122 * gdb.server/extended-remote-restart.exp: Likewise.
3123 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
3124 "info inferiors".
3125 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
3126 * gdb.trace/report.exp: Likewise.
3127
1dadb1dd
PA
31282020-01-10 Pedro Alves <palves@redhat.com>
3129
3130 * gdb.multi/multi-target.c: New file.
3131 * gdb.multi/multi-target.exp: New file.
3132 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
3133 mode requested, but remote does not support non-stop".
3134
78f2c40a
PA
31352020-01-10 Pedro Alves <palves@redhat.com>
3136
3137 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
3138 disconnect before reconnecting.
3139
e7af6c70
TBA
31402020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3141 Pedro Alves <palves@redhat.com>
3142
3143 * gdb.server/connect-without-multi-process.exp: Also test
3144 continuing to end.
3145
acdf84a6
PA
31462020-01-10 Pedro Alves <palves@redhat.com>
3147
3148 * gdb.base/remote-exec-file.exp: New file.
3149
873657b9
PA
31502020-01-10 Pedro Alves <palves@redhat.com>
3151
3152 * gdb.base/fork-running-state.exp (do_test): Adjust expected
3153 output.
3154 * gdb.threads/async.c: New.
3155 * gdb.threads/async.exp: New.
3156 * gdb.multi/tids-gid-reset.c: New.
3157 * gdb.multi/tids-gid-reset.exp: New.
3158
7f0ae84c
GB
31592020-01-10 George Barrett <bob@bob131.so>
3160
3161 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
3162 to help in finding the image relocation offset.
3163 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
3164 options in arguments.
3165 (stap_test_no_debuginfo): Likewise.
3166 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
3167 test variants.
3168 (stap_test): Add null semaphore relocation test.
3169
47e9d49d
GB
31702020-01-10 George Barrett <bob@bob131.so>
3171
3172 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
3173 * gdb.base/stap-probe.exp: Likewise.
3174 (stap_test): Pass argument as an additional flag.
3175 (stap_test_no_debuginfo): Likewise.
3176 (stap_test): Check `info probes stap' output for semaphore
3177 addresses if the test binary is supposed to have them.
3178
f5a7c406
AB
31792020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3180
3181 * gdb.tui/basic.exp: Add more scrolling tests.
3182
9ae6bf64
TT
31832020-01-09 Tom Tromey <tom@tromey.com>
3184
3185 PR tui/18932:
3186 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
3187 meangingful value.
3188 (Term::command, Term::resize): Update.
3189 * gdb.tui/basic.exp: Add scrolling test.
3190
b2efe70c
AB
31912020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3192
3193 * gdb.tui/tui-layout-asm.exp: New file.
3194
3804da7e
AB
31952020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3196
3197 * lib/tuiterm.exp (Term::check_box_contents): New proc.
3198
b40aa28f
AB
31992020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3200
3201 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
3202 (Term::enter_tui): Use Term::prepare_for_tui.
3203
63ffd7c9
AB
32042020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3205
3206 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
3207 called.
3208
3be966f6
AB
32092020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3210
3211 * gdb.base/skip.exp: Fix race condition in test.
3212
153d79c4
AB
32132020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3214
3215 * gdb.base/backtrace.c: New file.
3216 * gdb.base/backtrace.exp: New file.
3217
f2302a34
AB
32182020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
3219
3220 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
3221
6ec1d75e
PW
32222020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3223
3224 * gdb.base/style.exp: Test that warnings are styled.
3225
c296cbe6
BE
32262019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
3227
3228 * gdb.base/line65535.exp: New file.
3229 * gdb.base/line65535.c: New file.
3230
b28a729d
SM
32312019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
3232
3233 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
3234 * lib/gnat_debug_info_test.adb: New file.
3235 * gdb.ada/ptype_tagged_param.exp: Use
3236 gnat_runtime_has_debug_info, expect a different output if
3237 runtime does not have debug info.
3238
7f2d7a0d
SM
32392019-12-20 Simon Marchi <simon.marchi@efficios.com>
3240
3241 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
3242 (another) quote in test name.
3243
f3bce483
SM
32442019-12-20 Simon Marchi <simon.marchi@efficios.com>
3245
3246 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
3247 Add quote in test name.
3248
c855a912
TBA
32492019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3250
3251 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
3252 directory instead.
3253 * gdb.cp/pass-by-ref.exp: Extend with more cases.
3254 * gdb.cp/pass-by-ref-2.cc: New file.
3255 * gdb.cp/pass-by-ref-2.exp: New file.
3256
fc9d2d72
TT
32572019-12-20 Tom Tromey <tom@tromey.com>
3258
3259 * gdb.tui/list-before.exp: New file.
3260
77b97e00
TT
32612019-12-20 Tom Tromey <tom@tromey.com>
3262
3263 * gdb.tui/list.exp: Check for source on initial listing.
3264
f69656d0
TT
32652019-12-11 Tom Tromey <tromey@adacore.com>
3266
3267 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
3268 Add crlf test.
3269
99a55965
SM
32702019-12-18 Simon Marchi <simon.marchi@efficios.com>
3271
3272 * gdb.base/default.exp: Update value of $_gdb_major.
3273
5024637f
BE
32742019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3275
3276 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
3277
b63634be
BE
32782019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3279
3280 * gdb.base/skip.exp: Whitespace fix.
3281
45d73523
BE
32822019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3283
3284 * gdb.base/skip-inline.c: New file.
3285 * gdb.base/skip-inline.exp: New file.
3286
d043f8c8
SM
32872019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
3288
3289 * gdb.base/jit-reader.exp (jit_reader_test): Rename
3290 jit_function_00 to jit_function_stack_mangle.
3291 * gdb.base/jithost.c (jit_function_t): Rename to...
3292 (jit_function_stack_mangle_t): ... this.
3293 (jit_function_add_t): New typedef.
3294 (jit_function_00_code): Rename to...
3295 (jit_function_stack_mangle_code): ... this, make static.
3296 (jit_function_add_code): New.
3297 (main): Generate "add" function and call it. Adjust to changes
3298 in jithost_abi.
3299 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
3300 (struct jithost_abi) <begin, end>: Remove fields.
3301 <object, function_stack_mangle, function_add>: New fields.
3302 * gdb.base/jitreader.c (struct reader_state) <code_begin,
3303 code_end>: Remove fields.
3304 <func_stack_mangle>: New field.
3305 (read_debug_info): Adjust to renaming, create block for "add"
3306 function.
3307 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
3308
873de05c
TT
33092019-12-11 Tom Tromey <tom@tromey.com>
3310
3311 * gdb.tui/resize.exp: Fix regexp.
3312 * gdb.tui/regs.exp: Fix regexps.
3313 * gdb.tui/main.exp: Fix regexp.
3314
3d979945
TT
33152019-12-11 Tom Tromey <tom@tromey.com>
3316
3317 * gdb.tui/resize.exp: Update.
3318 * gdb.tui/empty.exp (layouts): Update.
3319
2192a9d3
TT
33202019-12-11 Tom Tromey <tom@tromey.com>
3321
3322 * gdb.tui/regs.exp: Update.
3323 * gdb.tui/empty.exp (layouts): Update.
3324 * gdb.tui/basic.exp: Update.
3325 * lib/tuiterm.exp (_check_box): Don't check bottom border.
3326
d8edc8b7
PW
33272019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3328
3329 * gdb.base/options.exp: Add -raw-values in the print completion list.
3330 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
3331
4c12d936
KB
33322019-12-10 Kevin Buettner <kevinb@redhat.com>
3333
3334 * gdb.threads/omp-par-scope.c: New file.
3335 * gdb/threads/omp-par-scope.exp: New file.
3336
26b911fb
KB
33372019-12-10 Kevin Buettner <kevinb@redhat.com>
3338
bb47f919
KB
3339 * lib/gdb.exp (support_nested_function_tests): New proc.
3340
33412019-12-10 Kevin Buettner <kevinb@redhat.com>
3342
3343 * lib/gdb.exp (gdb_compile_openmp): New proc.
3344 (build_executable_from_specs): Add an "openmp" option.
3345 (gdb_compile_pthreads): Add non-executable case.
26b911fb 3346
6c71eb7d
TT
33472019-12-10 Tom Tromey <tromey@adacore.com>
3348
3349 * gdb.ada/unchecked_union.exp: New file.
3350 * gdb.ada/unchecked_union/pck.adb: New file.
3351 * gdb.ada/unchecked_union/pck.ads: New file.
3352 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
3353 * gdb-utils.exp (string_to_regexp): Also quote "?".
3354
bac7c5cf
GB
33552019-12-10 George Barrett <bob@bob131.so>
3356
3357 Test scripted probe breakpoints.
3358 * gdb.guile/scm-breakpoint.c (main): Add probe point.
3359 * gdb.python/py-breakpoint.c (main): Likewise.
3360 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
3361 specifier test.
3362 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
3363
330f1d38
TBA
33642019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3365
3366 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
3367 an rvalue parameter.
3368 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
3369 parameter.
3370
b43315e2
AB
33712019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3372
3373 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
3374 modules.
3375
54f73dad
AB
33762019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3377
3378 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
3379 broken version of GCC.
3380
d57cbee9
AB
33812019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3382
3383 * gdb.fortran/info-modules.exp: Rewrite to make use of new
3384 sym-info-cmds library.
3385 * gdb.fortran/info-types.exp: Likewise.
3386 * lib/sym-info-cmds.exp: New file.
3387
c14aab8c
TV
33882019-12-08 Tom de Vries <tdevries@suse.de>
3389
3390 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
3391
aa2d5a42
KS
33922019-12-07 Keith Seitz <keiths@redhat.com>
3393
3394 * gdb.base/corefile-buildid-shlib-shr.c: New file.
3395 * gdb.base/corefile-buildid-shlib.c: New file.
3396 * gdb.base/corefile-buildid.c: New file.
3397 * gdb.base/corefile-buildid.exp: New file.
3398
93e55f0a
TV
33992019-12-06 Tom de Vries <tdevries@suse.de>
3400
3401 * gdb.dwarf2/varval.exp: Add decl before def test.
3402
c7d12402
TBA
34032019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3404
3405 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
3406
06acc08f
TBA
34072019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3408
3409 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
3410 CV and reference conversion for overload resolution.
3411 * gdb.cp/rvalue-ref-overload.exp: Test it.
3412
e0fad1ea
PW
34132019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3414
3415 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
3416 * gdb.base/frameapply.exp: Test faas without command.
3417
8d70a9f0
AB
34182019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3419
3420 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
3421 Fortran tests.
3422 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
3423 order.
3424
36c8fb93
AB
34252019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3426
3427 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
3428 casting to type with no kind specified.
3429 (test_basic_parsing_of_type_kinds): Additional tests for types
3430 with no kind specified, and add tests for single/double
3431 precision/complex types.
3432
4139ff00
TT
34332019-12-04 Tom Tromey <tromey@adacore.com>
3434
3435 * gdb.base/endianity.c (struct other) <x>: New field.
3436 (main): Initialize it.
3437 * gdb.base/endianity.exp: Update.
3438
a05cf17a
TT
34392019-12-04 Tom Tromey <tromey@adacore.com>
3440
3441 * gdb.ada/scalar_storage/storage.adb: New file.
3442 * gdb.ada/scalar_storage/pck.adb: New file.
3443 * gdb.ada/scalar_storage/pck.ads: New file.
3444 * gdb.ada/scalar_storage.exp: New file.
3445
103a685e
TT
34462019-12-04 Tom Tromey <tromey@adacore.com>
3447
3448 * gdb.base/endianity.c (struct otherendian) <f>: New field.
3449 (main): Initialize it.
3450 * gdb.base/endianity.exp: Update.
3451
c2512106
AB
34522019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3453
3454 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
3455
293b38d6
AB
34562019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3457
3458 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
3459 -symbol-info-module-functions and -symbol-info-module-variables.
3460
216a7e6b
AB
34612019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
3462
3463 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
3464
5bbd8269
AB
34652019-12-01 Richard Bunt <richard.bunt@arm.com>
3466 Andrew Burgess <andrew.burgess@embecosm.com>
3467
3468 * gdb.fortran/derived-type-striding.exp: New file.
3469 * gdb.fortran/derived-type-striding.f90: New file.
3470 * gdb.fortran/array-slices.exp: New file.
3471 * gdb.fortran/array-slices.f90: New file.
3472
be09caf1
PW
34732019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3474
3475 * gdb.base/define.exp: Test . in command names.
3476 * gdb.base/setshow.exp: Update test, as . is now part of
3477 command name.
3478
643c0cbe
PW
34792019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3480
3481 * gdb.base/define-prefix.exp: New file.
3482
dcdec678
AB
34832019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
3484
3485 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
3486 compile.
3487 (skip_btrace_pt_tests): Likewise.
3488
640ab947
AB
34892019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3490
3491 * gdb.fortran/info-modules.exp: Compile source files in correct
3492 order.
3493
d22670f0
KB
34942019-11-27 Kevin Buettner <kevinb@redhat.com>
3495
3496 * gdb.dwarf2/imported-unit.exp: New file.
3497 * gdb.dwarf2/imported-unit.c: New file.
3498
db5960b4
AB
34992019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3500
3501 * gdb.mi/mi-fortran-modules-2.f90: New file.
3502 * gdb.mi/mi-fortran-modules.exp: New file.
3503 * gdb.mi/mi-fortran-modules.f90: New file.
3504
7dc42066
AB
35052019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3506
3507 * gdb.mi/mi-sym-info-1.c: New file.
3508 * gdb.mi/mi-sym-info-2.c: New file.
3509 * gdb.mi/mi-sym-info.exp: New file.
3510
0dfeecca
TT
35112019-11-22 Tom Tromey <tromey@adacore.com>
3512
3513 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
3514 * gdb.ada/tasks/foo.adb: Add another stopping location.
3515
34877895
PJ
35162019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
3517
3518 * gdb.base/endianity.c: New test.
3519 * gdb.base/endianity.exp: New file.
3520
2e84f897
LD
35212019-11-21 Lukas Durfina <ldurfina@tachyum.com>
3522
3523 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
3524
65d1cd5f
TV
35252019-11-21 Tom de Vries <tdevries@suse.de>
3526
3527 PR gdb/24956
3528 * gdb.base/ui-redirect.exp: Test output of user-defined command.
3529
4f22c3f4
SDJ
35302019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3531
3532 * gdb.python/py-progspace.exp: Add missing parentheses on some
3533 'print' commands.
3534
9f6ad286
TT
35352019-11-19 Tom Tromey <tom@tromey.com>
3536
3537 * gdb.tui/winheight.exp: New file.
3538
0b8dbf3f
AB
35392019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3540
3541 * gdb.base/ctf-whatis.c: Delete.
3542 * gdb.base/ctf-whatis.exp: Delete.
3543 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
3544
f833b7a7
AB
35452019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3546
3547 * gdb.base/ctf-cvexpr.exp: Delete.
3548 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
3549
30d0a636
AB
35502019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3551
3552 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
3553 the compiler. Clean up header comment a little.
3554 * gdb.base/ctf-ptype.exp: Likewise.
3555 * gdb.base/ctf-whatis.exp: Likewise.
3556 * lib/gdb.exp (skip_ctf_tests): New proc.
3557
494409bb
SDJ
35582019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
3559
3560 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
3561 * gdb.tui/corefile-run.exp: New file.
3562
55708e99
TT
35632019-11-14 Tom Tromey <tromey@adacore.com>
3564
3565 * gdb.base/gdbvars.exp (test_convenience_variables): Add
3566 regression tests.
3567
45e42163
TT
35682019-11-12 Tom Tromey <tom@tromey.com>
3569
3570 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
3571 after any command. Expect prompt after WAIT_FOR is seen.
3572 (enter_tui): Enable resize messages.
3573 (command): Expect command in output.
3574 (get_line): Avoid error when cursor appears to be off-screen.
3575 (dump_screen): Include screen size in title.
3576 (_do_resize): New proc, from "resize".
3577 (resize): Rewrite. Do resize in two steps.
3578 * gdb.tui/empty.exp (layouts): Fix entries.
3579 (check_boxes): Remove xfail.
3580 (check_text): Dump screen on failure.
3581
086baaf1
AB
35822019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3583
3584 * gdb.python/py-symbol.exp: Add test for
3585 gdb.lookup_static_symbols.
3586
09ff83af
AB
35872019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3588
3589 * gdb.python/py-symbol.c: Declare and call function from new
3590 py-symbol-2.c file.
3591 * gdb.python/py-symbol.exp: Compile both source files, and add new
3592 tests for gdb.lookup_static_symbol.
3593 * gdb.python/py-symbol-2.c: New file.
3594
11af934b
TV
35952019-11-02 Tom de Vries <tdevries@suse.de>
3596
3597 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
3598 * gdb.base/anon.exp: Same.
3599 * gdb.base/auto-connect-native-target.exp: Same.
3600 * gdb.base/call-ar-st.exp: Same.
3601 * gdb.base/catch-syscall.exp: Same.
3602 * gdb.base/commands.exp: Same.
3603 * gdb.base/default.exp: Same.
3604 * gdb.base/display.exp: Same.
3605 * gdb.base/float.exp: Same.
3606 * gdb.base/foll-fork.exp: Same.
3607 * gdb.base/help.exp: Same.
3608 * gdb.base/info-macros.exp: Same.
3609 * gdb.base/info-proc.exp: Same.
3610 * gdb.base/info-target.exp: Same.
3611 * gdb.base/long_long.exp: Same.
3612 * gdb.base/macscp.exp: Same.
3613 * gdb.base/memattr.exp: Same.
3614 * gdb.base/nofield.exp: Same.
3615 * gdb.base/pointers.exp: Same.
3616 * gdb.base/printcmds.exp: Same.
3617 * gdb.base/ptype.exp: Same.
3618 * gdb.base/restore.exp: Same.
3619 * gdb.base/return.exp: Same.
3620 * gdb.base/scope.exp: Same.
3621 * gdb.base/set-noassign.exp: Same.
3622 * gdb.base/setshow.exp: Same.
3623 * gdb.base/shlib-call.exp: Same.
3624 * gdb.base/signals.exp: Same.
3625 * gdb.base/sigstep.exp: Same.
3626 * gdb.base/skip.exp: Same.
3627 * gdb.base/solib-symbol.exp: Same.
3628 * gdb.base/stap-probe.exp: Same.
3629 * gdb.base/step-line.exp: Same.
3630 * gdb.base/step-test.exp: Same.
3631 * gdb.base/style.exp: Same.
3632 * gdb.base/varargs.exp: Same.
3633 * gdb.base/vla-datatypes.exp: Same.
3634 * gdb.base/vla-ptr.exp: Same.
3635 * gdb.base/vla-sideeffect.exp: Same.
3636 * gdb.base/volatile.exp: Same.
3637 * gdb.base/watch-cond-infcall.exp: Same.
3638 * gdb.base/watchpoint.exp: Same.
3639
e96ec2ba
TV
36402019-11-02 Tom de Vries <tdevries@suse.de>
3641
3642 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
3643 * gdb.cp/cpexprs.exp: Same.
3644 * gdb.cp/except-multi-location.exp: Same.
3645 * gdb.cp/exceptprint.exp: Same.
3646 * gdb.cp/gdb2384.exp: Same.
3647 * gdb.cp/inherit.exp: Same.
3648 * gdb.cp/m-static.exp: Same.
3649 * gdb.cp/meth-typedefs.exp: Same.
3650 * gdb.cp/misc.exp: Same.
3651 * gdb.cp/namespace.exp: Same.
3652 * gdb.cp/non-trivial-retval.exp: Same.
3653 * gdb.cp/overload.exp: Same.
3654 * gdb.cp/pr17132.exp: Same.
3655 * gdb.cp/re-set-overloaded.exp: Same.
3656 * gdb.cp/rvalue-ref-types.exp: Same.
3657 * gdb.cp/templates.exp: Same.
3658
bd5766ec
LM
36592019-11-01 Luis Machado <luis.machado@linaro.org>
3660
3661 PR gdb/25124
3662
3663 * gdb.arch/pr25124.S: New file.
3664 * gdb.arch/pr25124.exp: New file.
3665
165f8965
AB
36662019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3667
3668 * gdb.fortran/info-modules.exp: Update expected results, and add
3669 additional tests for 'info module functinos', and 'info module
3670 variables'.
3671 * gdb.fortran/info-types.exp: Update expected results.
3672 * gdb.fortran/info-types.f90: Extend testcase with additional
3673 module variables and functions.
3674
59c35742
AB
36752019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3676
3677 * gdb.fortran/info-modules.exp: New file.
3678 * gdb.fortran/info-types.exp: Build with new file.
3679 * gdb.fortran/info-types.f90: Include and use new module.
3680 * gdb.fortran/info-types-2.f90: New file.
3681
f3fb2519
PW
36822019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3683
3684 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
3685 * gdb.base/settings.exp: Test all settings types using
3686 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
3687 that now verifies that the value of "maint show" is the same as
3688 returned by the settings functions. Test the type of the
3689 maintenance settings.
3690 * gdb.base/default.exp: Update show_conv_list.
3691
d1e36019
TV
36922019-10-31 Tom de Vries <tdevries@suse.de>
3693
3694 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
3695 gdb_test.
3696 * gdb.arch/amd64-disp-step.exp: Same.
3697 * gdb.asm/asm-source.exp: Same.
3698 * gdb.btrace/buffer-size.exp: Same.
3699 * gdb.btrace/cpu.exp: Same.
3700 * gdb.btrace/enable.exp: Same.
3701 * gdb.dwarf2/count.exp: Same.
3702 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3703 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
3704 * gdb.fortran/vla-datatypes.exp: Same.
3705 * gdb.fortran/vla-history.exp: Same.
3706 * gdb.fortran/vla-ptype.exp: Same.
3707 * gdb.fortran/vla-value.exp: Same.
3708 * gdb.fortran/whatis_type.exp: Same.
3709 * gdb.guile/guile.exp: Same.
3710 * gdb.multi/tids.exp: Same.
3711 * gdb.python/py-finish-breakpoint.exp: Same.
3712 * gdb.python/py-framefilter.exp: Same.
3713 * gdb.python/py-pp-registration.exp: Same.
3714 * gdb.python/py-xmethods.exp: Same.
3715 * gdb.python/python.exp: Same.
3716 * gdb.server/connect-with-no-symbol-file.exp: Same.
3717 * gdb.server/no-thread-db.exp: Same.
3718 * gdb.server/run-without-local-binary.exp: Same.
3719 * gdb.stabs/weird.exp: Same.
3720 * gdb.threads/attach-many-short-lived-threads.exp: Same.
3721 * gdb.threads/thread-find.exp: Same.
3722 * gdb.threads/tls-shared.exp: Same.
3723 * gdb.threads/tls.exp: Same.
3724 * gdb.threads/wp-replication.exp: Same.
3725 * gdb.trace/ax.exp: Same.
3726 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
3727
3d11e68e
TV
37282019-10-31 Tom de Vries <tdevries@suse.de>
3729
3730 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
3731 * gdb.ada/array_subscript_addr.exp: Same.
3732 * gdb.ada/arrayidx.exp: Same.
3733 * gdb.ada/arrayparam.exp: Same.
3734 * gdb.ada/arrayptr.exp: Same.
3735 * gdb.ada/boolean_expr.exp: Same.
3736 * gdb.ada/call_pn.exp: Same.
3737 * gdb.ada/complete.exp: Same.
3738 * gdb.ada/fixed_cmp.exp: Same.
3739 * gdb.ada/fun_addr.exp: Same.
3740 * gdb.ada/funcall_param.exp: Same.
3741 * gdb.ada/interface.exp: Same.
3742 * gdb.ada/mod_from_name.exp: Same.
3743 * gdb.ada/null_array.exp: Same.
3744 * gdb.ada/packed_array.exp: Same.
3745 * gdb.ada/packed_tagged.exp: Same.
3746 * gdb.ada/print_chars.exp: Same.
3747 * gdb.ada/print_pc.exp: Same.
3748 * gdb.ada/ptype_arith_binop.exp: Same.
3749 * gdb.ada/ptype_field.exp: Same.
3750 * gdb.ada/ptype_tagged_param.exp: Same.
3751 * gdb.ada/rec_return.exp: Same.
3752 * gdb.ada/ref_tick_size.exp: Same.
3753 * gdb.ada/str_ref_cmp.exp: Same.
3754 * gdb.ada/taft_type.exp: Same.
3755 * gdb.ada/tagged.exp: Same.
3756 * gdb.ada/type_coercion.exp: Same.
3757 * gdb.ada/uninitialized_vars.exp: Same.
3758
60b6ede8
TV
37592019-10-30 Tom de Vries <tdevries@suse.de>
3760
3761 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
3762
30baf67b
TV
37632019-10-26 Tom de Vries <tdevries@suse.de>
3764
3765 * gdb.base/bigcore.c: Fix typos in comments.
3766 * gdb.base/ctf-ptype.c: Same.
3767 * gdb.base/long_long.c: Same.
3768 * gdb.dwarf2/dw2-op-out-param.S: Same.
3769 * gdb.python/py-evthreads.c: Same.
3770 * gdb.reverse/i387-stack-reverse.c: Same.
3771 * gdb.trace/tfile.c: Same.
3772 * lib/compiler.c: Same.
3773 * lib/compiler.cc: Same.
3774
158da0d1
TV
37752019-10-25 Tom de Vries <tdevries@suse.de>
3776
3777 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
3778 gdb_test_multiple calls.
3779 * gdb.reverse/sigall-reverse.exp: Same.
3780 * gdb.reverse/solib-precsave.exp: Same.
3781 * gdb.reverse/solib-reverse.exp: Same.
3782 * gdb.reverse/until-precsave.exp: Same.
3783 * gdb.reverse/until-reverse.exp: Same.
3784
4ccdfbec
TV
37852019-10-24 Tom de Vries <tdevries@suse.de>
3786
3787 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
3788 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
3789 kfail using -wrap pattern flag and convenience variable
3790 gdb_test_name.
3791
33d569b7
AB
37922019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
3793
3794 * gdb.python/py-progspace.exp: Add tests for the
3795 Progspace.block_for_pc method.
3796
4d0b984b
TT
37972019-10-23 Tom Tromey <tom@tromey.com>
3798
3799 * configure: Rebuild.
3800 * aclocal.m4: Use m4_include, not sinclude.
3801
94cb3754
TV
38022019-10-21 Tom de Vries <tdevries@suse.de>
3803
3804 * gdb.base/infcall-nested-structs.c: Add
3805 __attribute__((noinline,noclone)) to all functions.
3806 (call_all): Add missing variable initialization. Simplify return value.
3807 (breakpt): Increment volatile variable, to prevent call from being
3808 optimized out.
3809 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
3810
062f1fc1
TV
38112019-10-17 Tom de Vries <tdevries@suse.de>
3812
3813 * gdb.fortran/module.exp: Allow info variables to print info for files
3814 other than module.f90.
3815
0b54364d
AB
38162019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3817
3818 * gdb.fortran/module.exp: Extend with 'info variables' test.
3819
7ff5fae7
AB
38202019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3821
3822 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
3823 F77_FOR_TARGET.
3824
d10eccaa
TV
38252019-10-16 Tom de Vries <tdevries@suse.de>
3826
3827 PR tdep/25096
3828 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
3829
745ff14e
TV
38302019-10-16 Tom de Vries <tdevries@suse.de>
3831
3832 PR tdep/24104
3833 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
3834 Add KFAIL for PR tdep/25096.
3835
03e1ab94
TV
38362019-10-16 Tom de Vries <tdevries@suse.de>
3837
3838 PR testsuite/25059
3839 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
3840
b17fcc10
TV
38412019-10-16 Tom de Vries <tdevries@suse.de>
3842
3843 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
3844 as signed.
3845
9223170f
SM
38462019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
3847
3848 * gdb.mi/list-thread-groups-available.exp: Read entries one by
3849 one instead of increasing timeout.
3850
d6e76313
TV
38512019-10-13 Tom de Vries <tdevries@suse.de>
3852
3853 PR record/25038
3854 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
3855 * gdb.reverse/sigall-reverse.exp: Same.
3856 * gdb.reverse/solib-precsave.exp: Same.
3857 * gdb.reverse/solib-reverse.exp: Same.
3858 * gdb.reverse/step-precsave.exp: Same.
3859 * gdb.reverse/until-precsave.exp: Same.
3860 * gdb.reverse/until-reverse.exp: Same.
3861 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
3862
6dfc0041
AA
38632019-10-10 Andreas Arnez <arnez@linux.ibm.com>
3864
3865 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
3866 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
3867 (cmp_struct_05_01, cmp_struct_static_02_01)
3868 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
3869 comparisons.
3870
abcf2cc8
TV
38712019-10-10 Tom de Vries <tdevries@suse.de>
3872
3873 PR testsuite/24888
3874 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
3875 gnatlink.
3876
a50faaf6
TV
38772019-10-09 Tom de Vries <tdevries@suse.de>
3878
3879 PR testsuite/25048
3880 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
3881
60ff3cd7
AB
38822019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3883
3884 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
3885 exceptions due to missing debug information.
3886
dfee8566
TV
38872019-10-07 Tom de Vries <tdevries@suse.de>
3888
3889 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
3890
3d63690a
AB
38912019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3892
3893 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
3894 * gdb.base/annota1.exp: Update to use gdb_test_name.
3895
30d1f018
WP
38962019-10-07 Weimin Pan <weimin.pan@oracle.com>
3897
3898 * gdb.base/ctf-whatis.exp: New file.
3899 * gdb.base/ctf-whatis.c: New file.
3900 * gdb.base/ctf-ptype.exp: New file.
3901 * gdb.base/ctf-ptype.c: New file.
3902 * gdb.base/ctf-constvars.exp: New file.
3903 * gdb.base/ctf-constvars.c: New file.
3904 * gdb.base/ctf-cvexpr.exp: New file.
3905
4dbbb47c
TV
39062019-10-04 Tom de Vries <tdevries@suse.de>
3907
3908 * gdb.cp/local-static.c (main): Move declaration of int i out of the
3909 for loop.
3910
77c2dba3
TT
39112019-10-03 Tom Tromey <tom@tromey.com>
3912
3913 PR rust/24976:
3914 * gdb.rust/simple.rs (Union2): New type.
3915 (main): Use Union2.
3916 * gdb.rust/simple.exp: Add test.
3917
179aed7f
AB
39182019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3919
3920 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
3921 nested function prefix.
3922
0a4b0913
AB
39232019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
3924 Richard Bunt <richard.bunt@arm.com>
3925 Andrew Burgess <andrew.burgess@embecosm.com>
3926
3927 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
3928 nested functions.
3929 * gdb.fortran/nested-funcs.f90: Update expected results.
3930 * gdb.fortran/nested-funcs-2.exp: New file.
3931 * gdb.fortran/nested-funcs-2.f90: New file.
3932
082cce05
AB
39332019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3934
3935 * gdb.python/py-parameter.exp: Make test names unique.
3936 * gdb.python/py-template.exp: Likewise.
3937 * gdb.python/py-value.exp: Likewise.
3938
2b74ba5a
AB
39392019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3940
3941 * gdb.base/break-interp.exp: Reduce test name duplication.
3942 * gdb.base/call-sc.exp: Likewise.
3943 * gdb.base/callfuncs.exp: Likewise.
3944 * gdb.base/charset.exp: Likewise.
3945 * gdb.base/dump.exp: Likewise.
3946 * gdb.base/ena-dis-br.exp: Likewise.
3947 * gdb.base/relational.exp: Likewise.
3948 * gdb.base/step-over-syscall.exp: Likewise.
3949 * gdb.base/structs.exp: Likewise.
3950
58eb20d5
AB
39512019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3952
3953 * gdb.linespec/explicit.exp: Make test names unique.
3954 * gdb.linespec/ls-errs.exp: Likewise.
3955
4d421147
AB
39562019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3957
3958 * gdb.reverse/break-precsave.exp: Make test names unique.
3959 * gdb.reverse/break-reverse.exp: Likewise.
3960 * gdb.reverse/finish-precsave.exp: Likewise.
3961 * gdb.reverse/finish-reverse.exp: Likewise.
3962 * gdb.reverse/machinestate-precsave.exp: Likewise.
3963 * gdb.reverse/machinestate.exp: Likewise.
3964 * gdb.reverse/readv-reverse.exp: Likewise.
3965 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3966 * gdb.reverse/sigall-precsave.exp: Likewise.
3967 * gdb.reverse/sigall-reverse.exp: Likewise.
3968 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
3969 * gdb.reverse/watch-precsave.exp: Likewise.
3970 * gdb.reverse/watch-reverse.exp: Likewise.
3971
d8c06f22
AB
39722019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3973
3974 * gdb.threads/stop-with-handle.c: New file.
3975 * gdb.threads/stop-with-handle.exp: New file.
3976
3a56ed86
TV
39772019-10-03 Tom de Vries <tdevries@suse.de>
3978
3979 PR testsuite/25059
3980 * gdb.base/list-missing-source.exp: Allowing the "Compilation
3981 directory" line to be missing.
3982
42275044
TV
39832019-10-03 Tom de Vries <tdevries@suse.de>
3984
3985 PR testsuite/25059
3986 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
3987 type optional.
3988
9ef62df0
AA
39892019-10-02 Andreas Arnez <arnez@linux.ibm.com>
3990
3991 * gdb.python/py-format-string.c (string.h): New include.
3992 (main): Fill a_struct_with_union.the_union.an_int with bytes of
3993 the same value, for endianness-independence.
3994 * gdb.python/py-format-string.exp (default_regexp_dict)
3995 (test_pretty_structs, test_format): Adjust expected output to the
3996 changed initialization.
3997
37f6a7f4
TT
39982019-10-02 Tom Tromey <tromey@adacore.com>
3999
4000 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
4001
1d58d6a2
PA
40022019-10-02 Pedro Alves <palves@redhat.com>
4003 Andrew Burgess <andrew.burgess@embecosm.com>
4004
4005 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
4006 "print-file-var.h".
4007 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4008 (get_version_1): Print this_version_id and its address.
4009 Add extern "C" wrappers around interface functions.
4010 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
4011 "print-file-var.h".
4012 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4013 (get_version_2): Print this_version_id and its address.
4014 Add extern "C" wrappers around interface functions.
4015 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
4016 <stddef.h> and "print-file-var.h".
4017 Add extern "C" wrappers around interface functions.
4018 [VERSION_ID_MAIN] (this_version_id): Define.
4019 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
4020 * gdb.base/print-file-var.h: Add some #defines to simplify setting
4021 up extern "C" blocks.
4022 * gdb.base/print-file-var.exp (test): New, factored out from top
4023 level.
4024 (top level): Test all combinations of attribute hidden or not,
4025 dlopen or not, and this_version_id symbol in main file or not.
4026 Compile tests as both C++ and C, make test names unique.
4027
d770d56f
TT
40282019-10-01 Tom Tromey <tom@tromey.com>
4029
4030 * gdb.base/style.exp: Test "show logging filename".
4031
7f6aba03
TT
40322019-10-01 Tom Tromey <tom@tromey.com>
4033
4034 * lib/gdb-utils.exp (style): Handle "metadata" argument.
4035 * gdb.base/style.exp: Add metadata style test.
4036
14309bb6
TT
40372019-10-01 Tom Tromey <tom@tromey.com>
4038
4039 * gdb.base/style.exp: Test "pwd".
4040
2a3c1174
PA
40412019-10-01 Tom Tromey <tom@tromey.com>
4042
4043 * gdb.base/style.exp: Update tests.
4044
53d666ec
AA
40452019-10-01 Andreas Arnez <arnez@linux.ibm.com>
4046
4047 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
4048 'six' to unsigned.
4049 (s1): Initialize fields 'four' and 'six' instead of 'three' and
4050 'five'. Use an all-ones bit pattern for each.
4051 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
4052 to its changed values.
4053
4a56a520
TT
40542019-09-30 Tom Tromey <tromey@adacore.com>
4055
4056 * gdb.rust/traits.rs: Disable all warnings.
4057
0df0352a
TV
40582019-09-29 Tom de Vries <tdevries@suse.de>
4059
aac66a4c 4060 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 4061
73d9a918
TV
40622019-09-29 Tom de Vries <tdevries@suse.de>
4063
4064 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
4065
060b3ab4
TV
40662019-09-27 Tom de Vries <tdevries@suse.de>
4067
4068 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
4069
68f7d34d
TV
40702019-09-27 Tom de Vries <tdevries@suse.de>
4071
4072 PR record/23188
4073 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
4074
5d63b30a
TT
40752019-09-26 Tom Tromey <tromey@adacore.com>
4076
4077 * gdb.ada/py_taft.exp: New file.
4078 * gdb.ada/py_taft/main.adb: New file.
4079 * gdb.ada/py_taft/pkg.adb: New file.
4080 * gdb.ada/py_taft/pkg.ads: New file.
4081
3d435220
TV
40822019-09-24 Tom de Vries <tdevries@suse.de>
4083
4084 PR gdb/24598
4085 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
4086
77d03678
TV
40872019-09-22 Tom de Vries <tdevries@suse.de>
4088
4089 * gdb.base/restore.exp: Allow register variables to be optimized out at
4090 -O0.
4091
abf516c6
UW
40922019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
4093
4094 * gdb.arch/spu-info.exp: Remove file.
4095 * gdb.arch/spu-info.c: Remove file.
4096 * gdb.arch/spu-ls.exp: Remove file.
4097 * gdb.arch/spu-ls.c: Remove file.
4098
4099 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
4100 * gdb.asm/spu.inc: Remove file.
4101
4102 * gdb.base/dump.exp: Remove support for spu*-*-*.
4103 * gdb.base/stack-checking.exp: Likewise.
4104 * gdb.base/overlays.exp: Likewise.
4105 * gdb.base/ovlymgr.c: Likewise.
4106 * gdb.base/spu.ld: Remove file.
4107
4108 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
4109 * gdb.cp/cpexprs.exp: Likewise.
4110 * gdb.cp/exception.exp: Likewise.
4111 * gdb.cp/gdb2495.exp: Likewise.
4112 * gdb.cp/mb-templates.exp: Likewise.
4113 * gdb.cp/pr9167.exp: Likewise.
4114 * gdb.cp/userdef.exp: Likewise.
4115
4116 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
4117
4118 * gdb.cell: Remove directory.
4119 * lib/cell.exp: Remove file.
4120
e452e88f
TV
41212019-09-19 Tom de Vries <tdevries@suse.de>
4122
4123 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
4124
8a625130
TV
41252019-09-19 Tom de Vries <tdevries@suse.de>
4126
4127 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
4128
81dc3ab5
TV
41292019-09-19 Tom de Vries <tdevries@suse.de>
4130
4131 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
4132 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
4133 (gdb_target_cmd): ... here.
4134 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
4135 value 2.
4136
b078f3ac
AB
41372019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
4138
4139 * gdb.base/source-dir.exp: Avoid having directory names in test
4140 names.
4141
f1b620e9
MG
41422019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4143
4144 * gdb.base/source-dir.exp: Add extra test for mapped compilation
4145 directory.
4146
67f3ed6a
AB
41472019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4148
4149 * gdb.base/list-missing-source.exp: New file.
4150
d1b70248
TV
41512019-09-14 Tom de Vries <tdevries@suse.de>
4152
4153 PR teststuite/24599
4154 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
4155 * lib/ada.exp (gnatmake_version_at_least): New proc.
4156
5fabdcd6
AB
41572019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4158
4159 * gdb.base/maint.exp: Use exec_has_index_section.
4160
aa17805f
AB
41612019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4162
4163 * gdb.base/maint.exp: Add test for 'maint info sections'.
4164
25e5c209
TV
41652019-09-12 Tom de Vries <tdevries@suse.de>
4166
4167 * gdb.base/store.exp: Allow register variables to be optimized out at
4168 -O0.
4169
4993045d
PW
41702019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4171
4172 * gdb.ada/rdv_wait.exp: Update to new task names.
4173 * gdb.base/task_switch_in_core.exp: Likewise.
4174 * gdb.base/info_sources_base.c: Likewise.
4175
8a516164
TT
41762019-09-10 Tom Tromey <tromey@adacore.com>
4177
4178 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
4179
aa391654
TT
41802019-09-10 Tom Tromey <tromey@adacore.com>
4181
4182 * gdb.ada/dgopt.exp: New file.
4183 * gdb.ada/dgopt/x.adb: New file.
4184
8634b462
TT
41852019-09-08 Tom Tromey <tom@tromey.com>
4186
4187 * gdb.tui/resize.exp: Remove setup_xfail.
4188 * gdb.tui/regs.exp: Remove setup_xfail.
4189 * gdb.tui/basic.exp: Remove setup_xfail.
4190
736b0f76
DB
41912019-09-06 David Blaikie <dblaikie@gmail.com>
4192
4193 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
4194 * gdb.cp/cplabel.exp: Ditto.
4195 * gdb.linespec/ls-errs.exp: Ditto.
4196
30331a6c
TV
41972019-09-05 Tom de Vries <tdevries@suse.de>
4198
4199 * lib/gdb.exp (cmp_file_string): New proc.
4200 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
4201 runto_main. Verify save breakpoints output.
4202
98b0ebab
PW
42032019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4204
4205 * gdb.base/info-var.exp: Test info variables without running
4206 to main, to avoid expect's buffer overflow.
4207
4e962e74
TT
42082019-09-03 Tom Tromey <tromey@adacore.com>
4209
4210 * gdb.ada/bias.exp: New file.
4211 * gdb.ada/bias/bias.adb: New file.
4212 * gdb.ada/print_chars.exp: Add regression test.
4213 * gdb.ada/print_chars/foo.adb (My_Character): New type.
4214 (MC): New variable.
4215
2ea1a07a
SL
42162019-08-29 Sandra Loosemore <sandra@codesourcery.com>
4217
4218 * gdb.base/argv0-symlink.exp: Run only on native target
4219 and local host.
4220
8077c50d
TV
42212019-08-29 Tom de Vries <tdevries@suse.de>
4222
4223 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
4224 diverse debug info.
4225 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
4226
48352473
TV
42272019-08-28 Tom de Vries <tdevries@suse.de>
4228
4229 * gdb.base/info-var.exp: Allow info variables to print info for files
4230 other than info-var-f1.c and info-var-f2.c.
4231
d8f27c60
AB
42322019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4233
4234 * gdb.fortran/info-types.exp: Add module.
4235 * gdb.fortran/info-types.f90: Update expected results.
4236
1f20c35e
AB
42372019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4238
4239 * gdb.fortran/info-types.exp: New file.
4240 * gdb.fortran/info-types.f90: New file.
4241 * lib/fortran.exp (fortran_character1): New proc.
4242
4acfdd20
AB
42432019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
4244
4245 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
4246 functions'. Reindent as needed.
4247 * gdb.base/info-var-f1.c: New file.
4248 * gdb.base/info-var-f2.c: New file.
4249 * gdb.base/info-var.exp: New file.
4250 * gdb.base/info-var.h: New file.
4251
5c31b358
TV
42522019-08-26 Tom de Vries <tdevries@suse.de>
4253
4254 PR c++/24852
4255 * gdb.cp/no-libstdcxx-probe.exp: New test.
4256
b694989f
TV
42572019-08-26 Tom de Vries <tdevries@suse.de>
4258
4259 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
4260 * tests need to be skipped.
4261 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
4262 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
4263 mi_skip_libstdcxx_probe_tests.
4264
d9c4ba53
SDJ
42652019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
4266
4267 * gdb.python/py-xmethods.exp: Use raw strings when passing
4268 arguments to SimpleXMethodMatcher.
4269
395fad09
TV
42702019-08-22 Tom de Vries <tdevries@suse.de>
4271
4272 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
4273 more informative.
4274
26c957f1
PA
42752019-08-21 Pedro Alves <palves@redhat.com>
4276
4277 * gdb.base/with.exp: Test "with" with no arguments.
4278
61f80d5d
TV
42792019-08-21 Tom de Vries <tdevries@suse.de>
4280
4281 * gdb.base/gdb-caching-proc.exp: Sort files.
4282
d7a11d13
TV
42832019-08-20 Tom de Vries <tdevries@suse.de>
4284
4285 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
4286 compilation.
4287
34dafe9f
TV
42882019-08-16 Tom de Vries <tdevries@suse.de>
4289
4290 * gdb.base/compare-sections.exp ("after run to main"): Allow
4291 mismatched read-only sections for PIE executables.
4292
398fdd60
TT
42932019-08-16 Tom Tromey <tom@tromey.com>
4294
4295 * lib/tuiterm.exp (_csi_Z): New proc.
4296 * gdb.tui/basic.exp: Update window positions.
4297 * gdb.tui/empty.exp: Update window positions.
4298
d8f9e51c
SL
42992019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4300
4301 * gdb.base/examine-backward.exp: Correct regexp for
4302 "examine 3 bytes backward from ${address_zero}".
4303
3df505f6
TT
43042019-08-15 Tom Tromey <tom@tromey.com>
4305
4306 * gdb.tui/empty.exp: Enable resizing tests.
4307
272560b5
TT
43082019-08-15 Tom Tromey <tromey@adacore.com>
4309
4310 * gdb.ada/char_enum.exp: Add regression tests.
4311 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
4312 and '0'.
4313 (Char, Gchar): Update.
4314 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
4315
08235187
CB
43162019-08-15 Christian Biesinger <cbiesinger@google.com>
4317
4318 * gdb.python/python.exp: Expect a leading underscore on
4319 GdbOutput{,Error}File.
4320
22a2ab04
SL
43212019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4322
4323 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
4324 Windows host.
4325
835b995b
SL
43262019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4327
4328 * gdb.base/batch-preserve-term-settings.exp
4329 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
4330
97dd8e07
CB
43312019-08-15 Christian Biesinger <cbiesinger@google.com>
4332
4333 * lib/gdb.exp: When running on a mingw target, replace
4334 /x/ with x:/.
4335
75faf5c4
AH
43362019-08-14 Alan Hayward <alan.hayward@arm.com>
4337
4338 * gdb.arch/aarch64-prologue.c: New test.
4339 * gdb.arch/aarch64-prologue.exp: New file.
4340
abc6c00f
TV
43412019-08-13 Tom de Vries <tdevries@suse.de>
4342
4343 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
4344 Thread.
4345
74c2c1f4
SL
43462019-08-13 Sandra Loosemore <sandra@codesourcery.com>
4347
4348 * gdb.python/py-completion.exp: Download the .py file to the host
4349 and use its host pathname. Conditionalize tests that use
4350 tab completion and manipulate files on the build machine.
4351 * gdb.python/py-events.exp: Download the .py file to the host
4352 and use its host pathname.
4353 * gdb.python/py-evsignal.exp: Likewise.
4354 * gdb.python/py-evthreads.exp: Likewise.
4355 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
4356 pathname syntax.
4357 * gdb.python/py-framefilter.exp: Download the .py file to the right
4358 place on the host. Match Windows pathname syntax.
4359 * gdb.python/py-mi-var-info-path-expression.exp: Download the
4360 .py file to the host and use its host pathname.
4361 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
4362 * gdb.python/py-objfile.exp: Expect a host pathname, not a
4363 build pathname. Skip symlink test on Windows host. Add missing
4364 newline at end of file.
4365 * gdb.python/py-pp-maint.exp: Download the .py file to the host
4366 and use its host pathname.
4367 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
4368 * gdb.python/py-section-script.exp: Use host location of binfile
4369 on safe-path. Use correct path separator on Windows host.
4370 Reorder alternatives in gdb_test_multiple to prevent matching
4371 the wrong alternative on success.
4372 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
4373
ca2589f3
PP
43742019-08-12 Patrick Palka <patrick@parcs.ath.cx>
4375
4376 * gdb.gdb/selftest.exp (test_with_self): Update test to now
4377 expect the GDB inferior to no longer immediately stop after
4378 being resumed with "signal SIGINT".
4379
020a839d
SL
43802019-08-09 Sandra Loosemore <sandra@codesourcery.com>
4381
4382 * gdb.linespec/break-ask.exp: Generalize regexps to match
4383 Windows pathnames too.
4384
128d6509
TV
43852019-08-08 Tom de Vries <tdevries@suse.de>
4386
4387 PR testsuite/24862
4388 * lib/tuiterm.exp (_accept): Fix CSI regexp.
4389
590042fc
PW
43902019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4391
4392 * gdb.base/style.exp: Update tests for help doc new invariants.
4393 * gdb.base/help.exp: Likewise.
4394
046bebe1
TT
43952019-08-06 Tom Tromey <tom@tromey.com>
4396
4397 * gdb.base/style.exp: Add disassemble test.
4398 * gdb.base/style.c (some_called_function): New function.
4399 (main): Use it.
4400
0b27c27d
CB
44012019-08-05 Christian Biesinger <cbiesinger@google.com>
4402
4403 * gdb.python/py-block.exp: Test dictionary access on blocks.
4404
580f1034
SM
44052019-08-05 Simon Marchi <simon.marchi@efficios.com>
4406
4407 PR gdb/24863
4408 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
4409 -list-thread-groups --available test when running under
4410 check-read1.
4411
d86bd7cb
TV
44122019-08-05 Tom de Vries <tdevries@suse.de>
4413
4414 PR testsuite/24863
4415 * lib/gdb.exp (with_read1_timeout_factor): New proc.
4416 * gdb.base/help.exp: Use with_read1_timeout_factor.
4417 * gdb.base/info-macros.exp: Same.
4418 * gdb.cp/nested-types.exp: Same.
4419
a80cf5d8
TV
44202019-08-05 Tom de Vries <tdevries@suse.de>
4421
4422 * lib/gdb.exp (version_at_least): Factor out of ...
4423 (tcl_version_at_least): ... here.
4424 (gdb_compile): Fail if pie results in non-PIE executable.
4425 (readelf_version, readelf_prints_pie): New proc.
4426 (exec_is_pie): Return -1 if unknown.
4427
d0962838
TV
44282019-08-05 Tom de Vries <tdevries@suse.de>
4429
4430 * lib/gdb.exp (tcl_version_at_least): Fix typo.
4431
2252ff3d
SL
44322019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4433
4434 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
4435
26655f53
SL
44362019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4437
4438 * lib/completion-support.exp (test_gdb_complete_none): Skip
4439 tab completion tests if no readline support.
4440 (test_gdb_complete_unique_re): Likewise.
4441 (test_gdb_complete_multiple): Likewise.
4442
db4dc13e
PW
44432019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4444
4445 * gdb.base/info_sources.exp: New file.
4446 * gdb.base/info_sources.c: New file.
4447 * gdb.base/info_sources_base.c: New file.
4448
0eba165a
PFC
44492019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4450
4451 * gdb.base/batch-exit-status.exp: Call test_exit_status with
4452 prefix argument.
4453 (test_exit_status): Add prefix argument.
4454
59bd512b
TV
44552019-08-01 Tom de Vries <tdevries@suse.de>
4456
4457 PR testsuite/24863
4458 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
4459 calling exp_continue for new thread and thread exited messages.
4460
2a3ad588
TV
44612019-08-01 Tom de Vries <tdevries@suse.de>
4462
4463 PR testsuite/24863
4464 * gdb.base/structs.exp: Fix check-read1 timeout using
4465 gdb_test_sequence.
4466 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
4467
117eb594
TV
44682019-08-01 Tom de Vries <tdevries@suse.de>
4469
4470 PR testsuite/24863
4471 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
4472 line.
4473
ed591340
TV
44742019-08-01 Tom de Vries <tdevries@suse.de>
4475
4476 PR testsuite/24863
4477 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
4478
aa3b6533
TT
44792019-07-30 Tom Tromey <tromey@adacore.com>
4480
4481 * gdb.ada/display_nested.exp: New file.
4482 * gdb.ada/display_nested/foo.adb: New file.
4483 * gdb.ada/display_nested/pack.adb: New file.
4484 * gdb.ada/display_nested/pack.ads: New file.
4485
2906593f
CB
44862019-07-30 Christian Biesinger <cbiesinger@google.com>
4487
4488 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
4489 namespace.
4490 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
4491
0f575925
TV
44922019-07-30 Tom de Vries <tdevries@suse.de>
4493
4494 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
4495 instead.
4496
b13057d9
TV
44972019-07-30 Tom de Vries <tdevries@suse.de>
4498
4499 PR testsuite/24834
4500 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
4501 (exec_is_pie): New proc.
4502
5c4dde85
CB
45032019-07-29 Christian Biesinger <cbiesinger@google.com>
4504
4505 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
4506
c620ed88
CB
45072019-07-29 Christian Biesinger <cbiesinger@google.com>
4508
4509 * gdb.python/py-objfile.c: Add global and static vars.
4510 * gdb.python/py-objfile.exp: Test new functions Objfile.
4511 lookup_global_symbol and lookup_static_symbol.
4512
3d235706
TT
45132019-07-29 Tom Tromey <tom@tromey.com>
4514
4515 * lib/tuiterm.exp (Term::_csi_@): New proc.
4516 (Term::_csi_X): Don't move cursor.
4517
c7e4c0a6
PW
45182019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4519
4520 * gdb.base/options.exp: Update backtrace - completion to
4521 new option -frame-info.
4522 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
4523 Test new 'set print frame-info'. Test backtrace -frame-info
4524 overriding 'set print frame-info'.
4525 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
4526 Test new 'set print frame-info'.
4527 Verify consistency of backtrace with and without filters, with and
4528 without -no-filters.
4529 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
4530 default.
4531
de28a3b7
TV
45322019-07-29 Tom de Vries <tdevries@suse.de>
4533
4534 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
4535 no arguments".
4536
507dd60e
TV
45372019-07-29 Tom de Vries <tdevries@suse.de>
4538
4539 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
4540 is a substring of the first for "complete non-unique file name".
4541
5beafce9
TV
45422019-07-29 Tom de Vries <tdevries@suse.de>
4543
4544 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
4545 with ".*".
4546
2d274232
TV
45472019-07-29 Tom de Vries <tdevries@suse.de>
4548
4549 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
4550 Pass prompt_regexp parameter to gdb_test_multiple calls.
4551
9197cd8b
TV
45522019-07-29 Tom de Vries <tdevries@suse.de>
4553
4554 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 4555 print registers" regexps.
9197cd8b 4556
b528dae0
TV
45572019-07-29 Tom de Vries <tdevries@suse.de>
4558
4559 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
4560
d17725d7
TV
45612019-07-29 Tom de Vries <tdevries@suse.de>
4562
4563 PR gdb/24855
4564 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
4565 (skip_python_tests_prompt): Add prompt_regexp argument to
4566 gdb_test_multiple calls.
4567
52b75bf1
TT
45682019-07-27 Tom Tromey <tom@tromey.com>
4569
4570 * gdb.tui/main.exp: New file.
4571
2b1d00c2
TT
45722019-07-27 Tom Tromey <tom@tromey.com>
4573
4574 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
4575 optional.
4576 * gdb.tui/empty.exp: New file.
4577
ded631d5
TT
45782019-07-27 Tom Tromey <tom@tromey.com>
4579
4580 * lib/tuiterm.exp (spawn): New proc.
4581 (Term::resize): New proc.
4582 * gdb.tui/resize.exp: New file.
4583
58ac439d
TT
45842019-07-27 Tom Tromey <tom@tromey.com>
4585
4586 * gdb.tui/list.exp: New file.
4587
fe1f56ee
TT
45882019-07-27 Tom Tromey <tom@tromey.com>
4589
4590 * gdb.tui/regs.exp: New file.
4591
f790b310
TT
45922019-07-27 Tom Tromey <tom@tromey.com>
4593
4594 * gdb.tui/basic.exp: Add "layout split" test.
4595
d95fc6ee
TT
45962019-07-27 Tom Tromey <tom@tromey.com>
4597
4598 * gdb.tui/basic.exp: Add "layout asm" test.
4599
c3786b3a
TT
46002019-07-27 Tom Tromey <tom@tromey.com>
4601
4602 * lib/tuiterm.exp: New file.
4603 * gdb.tui/basic.exp: New file.
4604
98a617f8
KB
46052019-07-27 Kevin Buettner <kevinb@redhat.com>
4606
4607 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
4608 Enable tests associated with this flag. Adjust regex
4609 referencing "foo_low" to now refer to "foo_cold" instead.
4610
5c076da4
KB
46112019-07-27 Kevin Buettner <kevinb@redhat.com>
4612
4613 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
4614 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
4615 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
4616 foo_cold. Revise comments to match.
4617 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
4618 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
4619 were wrapped into this proc; Call do_test in loop from outermost
4620 level.
4621 (foo_low): Rename all occurrences to "foo_cold".
4622 (backtrace from baz): New test.
4623 (x2/i foo_cold): New test.
4624 (info line *foo_cold): New test.
4625
1512d3b7
TV
46262019-07-26 Tom de Vries <tdevries@suse.de>
4627
4628 * gdb.arch/i386-pkru.exp: Fix unterminated string.
4629
297989a1
TV
46302019-07-25 Tom de Vries <tdevries@suse.de>
4631
4632 PR testsuite/24830
4633 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
4634 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
4635 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
4636 (skip_libstdcxx_probe_tests): ... here.
4637 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
4638
b3b965fb
TV
46392019-07-24 Tom de Vries <tdevries@suse.de>
4640
4641 PR testsuite/24807
4642 * gdb.objc/basicclass.m: Include stdio.h.
4643 * gdb.objc/nondebug.m: Same.
4644 * gdb.objc/objcdecode.m: Same.
4645
4625b4d0
TV
46462019-07-24 Tom de Vries <tdevries@suse.de>
4647
4648 PR testsuite/24612
4649 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
4650 additional_flags.
4651
024a5840
TV
46522019-07-24 Tom de Vries <tdevries@suse.de>
4653
4654 PR testsuite/24831
4655 * gdb.multi/tids.exp: Update error messages for info threads.
4656
c76ddaa3
TV
46572019-07-24 Tom de Vries <tdevries@suse.de>
4658
4659 * gdb.base/info-types.exp: Allow info types to print info for more than
4660 one file.
4661
9a618ef6
TV
46622019-07-23 Tom de Vries <tdevries@suse.de>
4663
4664 PR testsuite/24842
4665 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
4666 gdb_spawn_with_cmdline_opts.
4667
40eadf04
SP
46682019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
4669
4670 * gdb.arch/arm-cmse-sgstubs.c: New test.
4671 * gdb.arch/arm-cmse-sgstubs.exp: New file.
4672
5ba29434
TV
46732019-07-23 Tom de Vries <tdevries@suse.de>
4674
4675 PR testsuite/24711
4676 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
4677 issuing next command.
4678
a8e9d247
AB
46792019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4680
4681 * gdb.ada/info_auto_lang.exp: Update expected results.
4682 * gdb.base/info-types.c: Add additional types to check.
4683 * gdb.base/info-types.exp: Update expected results.
4684
eb86c5e2
AB
46852019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4686
4687 * gdb.base/info-types.c: New file.
4688 * gdb.base/info-types.exp: New file.
4689
01e175fe
AB
46902019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
4691
4692 * gdb.arch/riscv-bp-infcall.c: New file.
4693 * gdb.arch/riscv-bp-infcall.exp: New file.
4694
6b78c3f8
AB
46952019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
4696
4697 PR breakpoints/24541
4698 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
4699
da738167
TV
47002019-07-14 Tom de Vries <tdevries@suse.de>
4701
4702 PR testsuite/24760
4703 * gdb.objc/basicclass.exp: Fix unterminated string.
4704
0d4e84ed
AB
47052019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
4706 Andrew Burgess <andrew.burgess@embecosm.com>
4707
4708 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
4709 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
4710 negative bounds.
4711 * gdb.fortran/vla-value.exp: Print elements of an array with
4712 negative bounds.
4713 * gdb.fortran/vla.f90: Setup an array with negative bounds for
4714 testing.
4715
021d8588
AB
47162019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
4717
4718 * gdb.base/options.exp (expect_string): Dequote strings in
4719 results.
4720 (test-string): Test strings with different quoting and reindent.
4721
f06f1252
TT
47222019-07-10 Tom Tromey <tromey@adacore.com>
4723
4724 * gdb.ada/mi_ex_cond.exp: Update expected results.
4725 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
4726 * gdb.ada/mi_catch_ex.exp: Update expected results.
4727 * gdb.ada/mi_catch_assert.exp: Update expected results.
4728 * gdb.ada/catch_ex.exp (catch_exception_info)
4729 (catch_exception_entry, catch_assert_entry)
4730 (catch_unhandled_entry): Update.
4731 * gdb.ada/catch_assert_if.exp: Update expected results.
4732
b863685d
RB
47332019-07-10 Richard Bunt <richard.bunt@arm.com>
4734 Stephen Roberts <stephen.roberts@arm.com>
4735
4736 * gdb.base/define.exp: Restore original prompt.
4737
cb1e4e32
PA
47382019-07-09 Pedro Alves <palves@redhat.com>
4739
4740 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
4741 breakpoints" output.
4742 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
4743 * gdb.python/py-breakpoint.exp: No longer expect that "catch
4744 throw" creates breakpoint.
4745 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
4746 'type="catchpoint"'.
4747
b58a68fe
PA
47482019-07-09 Pedro Alves <palves@redhat.com>
4749
4750 PR c++/15468
4751 * gdb.cp/except-multi-location-lib.cc: New.
4752 * gdb.cp/except-multi-location-main.cc: New.
4753 * gdb.cp/except-multi-location.exp: New.
4754
0826779b
PW
47552019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
4756
4757 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
4758 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
4759 argument and update callers.
4760
5b0e2db4
AB
47612019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4762
4763 * gdb.arch/amd64-break-on-asm-line.S: New file.
4764 * gdb.arch/amd64-break-on-asm-line.exp: New file.
4765
1f6f6e21
PW
47662019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4767
4768 * gdb.base/printcmds.exp: Test printing C string and
4769 C wide string convenience vars without transiting via the inferior.
4770 Also make test names unique.
4771
ea142fbf
AH
47722019-07-08 Alan Hayward <alan.hayward@arm.com>
4773
5862c886 4774 PR breakpoints/25011
ea142fbf
AH
4775 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
4776
213fd9fa
PA
47772019-07-04 Pedro Alves <palves@redhat.com>
4778
4779 * lib/gdb.exp (foreach_with_prefix): Don't return early if
4780 body returned ok(0), break(3) or continue(4).
4781 * gdb.testsuite/foreach_with_prefix.exp: New file.
4782
2b40fda7
AH
47832019-07-04 Alan Hayward <alan.hayward@arm.com>
4784
4785 * gdb.server/unittest.exp: Allow 0 unit tests to run.
4786
a26c8de0
PA
47872019-07-03 Pedro Alves <palves@redhat.com>
4788
4789 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
4790 "return -code".
4791
5f4ba3e7
PA
47922019-07-03 Pedro Alves <palves@redhat.com>
4793
4794 PR cli/24732
4795 * gdb.base/shell.exp: Load completion-support.exp.
4796 Adjust expected error output. Add completion tests.
4797
a994424f
PA
47982019-07-03 Pedro Alves <palves@redhat.com>
4799
4800 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
4801 string_to_regexp.
4802
3d9be6f5
PA
48032019-07-03 Pedro Alves <palves@redhat.com>
4804
4805 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
4806 (expect_integer): Adjust to expect "-string".
4807 (expect_string): New.
4808 (all_options): Expect "-string".
4809 (test-flag, test-boolean): Adjust to expect "-string".
4810 (test-string): New proc.
4811 (top level): Call it.
4812
41fc454c
PA
48132019-07-03 Pedro Alves <palves@redhat.com>
4814
4815 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
4816 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
4817 the expected output in the success.
4818
b2b2a215
PA
48192019-07-03 Pedro Alves <palves@redhat.com>
4820
4821 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4822 Split one gdb_test_multiple call in two to avoid a race.
4823
fdbc9870
PA
48242019-07-03 Pedro Alves <palves@redhat.com>
4825
4826 * gdb.base/with.c: New file.
4827 * gdb.base/with.exp: New file.
4828
c6ac8931
PA
48292019-07-03 Pedro Alves <palves@redhat.com>
4830
4831 * gdb.base/settings.exp: Replace all references to "maint
4832 test-settings set" with references to "maint set test-settings",
4833 and all references to "maint test-settings show" with references
4834 to "maint show test-settings".
4835
970f9d09
PA
48362019-07-03 Pedro Alves <palves@redhat.com>
4837
4838 * gdb.base/settings.exp (test-string): Adjust expected out when
4839 testing "maint test-settings show filename"
4840
54d66006
PA
48412019-07-02 Pedro Alves <palves@redhat.com>
4842
4843 * gdb.base/options.exp (test-info-threads): New procedure.
4844 (top level): Call it.
4845
10d06d82
TT
48462019-06-28 Tom Tromey <tromey@adacore.com>
4847
4848 * gdb.dwarf2/ada-linkage-name.c: New file.
4849 * gdb.dwarf2/ada-linkage-name.exp: New file.
4850
3d507ff2
TT
48512019-06-27 Tom Tromey <tromey@adacore.com>
4852
d039f014 4853 PR c++/20020:
3d507ff2
TT
4854 * gdb.cp/constexpr-field.exp: Use setup_xfail.
4855
8af58ffe
TV
48562019-06-26 Tom de Vries <tdevries@suse.de>
4857
4858 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
4859
22e21752
TV
48602019-06-26 Tom de Vries <tdevries@suse.de>
4861
4862 * gdb.base/index-cache.exp: Add back missing debug option.
4863
b65b566c
PW
48642019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4865
4866 * gdb.base/alias.exp: Test non matching/non existing prefixes.
4867
5c2c8c69
TV
48682019-06-25 Tom de Vries <tdevries@suse.de>
4869
4870 PR testsuite/24727
4871 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
4872
164e3873
TV
48732019-06-24 Tom de Vries <tdevries@suse.de>
4874
4875 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
4876
824eacee
TV
48772019-06-24 Tom de Vries <tdevries@suse.de>
4878
4879 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
4880 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
4881 * gdb.trace/unavailable-dwarf-piece.exp: Same.
4882
385b97d3
TV
48832019-06-24 Tom de Vries <tdevries@suse.de>
4884
4885 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
4886
c596f180
TV
48872019-06-21 Tom de Vries <tdevries@suse.de>
4888
4889 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
4890
b13a7d03
TV
48912019-06-21 Tom de Vries <tdevries@suse.de>
4892
4893 PR testsuite/24518
4894 PR ada/24713
4895 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
4896 index.
4897
899277ae
TT
48982019-06-19 Tom Tromey <tromey@adacore.com>
4899
4900 * gdb.ada/length_cond.exp: Add intro comment.
4901
680e1bee
TT
49022019-06-19 Tom Tromey <tromey@adacore.com>
4903
4904 * gdb.ada/length_cond.exp: New file.
4905 * gdb.ada/length_cond/length_cond.adb: New file.
4906 * gdb.ada/length_cond/pck.adb: New file.
4907 * gdb.ada/length_cond/pck.ads: New file.
4908
0ed4690a
TV
49092019-06-18 Tom de Vries <tdevries@suse.de>
4910
4911 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
4912
d20ed5fd
TT
49132019-06-18 Tom Tromey <tromey@adacore.com>
4914
4915 * gdb.base/list0.h: Add comment explaining control character.
4916
86e04673
TV
49172019-06-18 Tom de Vries <tdevries@suse.de>
4918
4919 * boards/fission.exp: Break up long debug_flags line.
4920
c4973306
SM
49212019-06-16 Tom de Vries <tdevries@suse.de>
4922
4923 PR gdb/24445
4924 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
4925 generated index.
4926
93cb9841
AB
49272019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4928
4929 PR gdb/24686
4930 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
4931 improve detection of bug gdb/24541.
4932
399aaebd
SM
49332019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
4934
4935 PR gdb/24669
4936 * gdb.base/index-cache.exp (uses_readnow,
4937 expecting_index_cache_use): Define global variable.
4938 (test_cache_enabled_miss, test_cache_enabled_hit): Use
4939 expecting_index_cache_use.
4940
584a927c
AB
49412019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
4942 Andrew Burgess <andrew.burgess@embecosm.com>
4943
4944 * gdb.fortran/pointers.f90: New file.
4945 * gdb.fortran/print_type.exp: New file.
4946 * gdb.fortran/vla-ptype.exp: Adapt expected results.
4947 * gdb.fortran/vla-type.exp: Likewise.
4948 * gdb.fortran/vla-value.exp: Likewise.
4949 * gdb.mi/mi-vla-fortran.exp: Likewise.
4950
30056ea0
AB
49512019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4952
4953 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
4954 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
4955 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
4956 as a stop reason.
4957
ec8e2b6d
AB
49582019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4959
4960 * gdb.base/annota1.exp: Update expected results.
4961 * gdb.cp/annota2.exp: Likewise.
4962 * gdb.cp/annota3.exp: Likewise.
4963
09e4c4e1
AB
49642019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4965
4966 * gdb.base/style-logging.exp: Remove path from test name.
4967
0735b091
TT
49682019-06-14 Tom Tromey <tromey@adacore.com>
4969
4970 PR gdb/24502:
4971 * gdb.base/style-logging.exp: New file.
4972
f5686554
TT
49732019-06-14 Tom Tromey <tromey@adacore.com>
4974
4975 * gdb.base/symfile-warn.exp: New file.
4976 * gdb.base/symfile-warn.c: New file.
4977
a0c1ffed
TT
49782019-06-14 Tom Tromey <tromey@adacore.com>
4979
4980 * gdb.base/annotate-symlink.exp: New file.
4981
f411722c
TT
49822019-06-14 Tom Tromey <tromey@adacore.com>
4983
4984 * gdb.ada/set_wstr.exp: Add reassignment test.
4985
4268ec18
TT
49862019-06-14 Tom Tromey <tromey@adacore.com>
4987
4988 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
4989 'unchecked_access and 'unrestricted_access as well.
4990
9a9e394b
TT
49912019-06-14 Tom Tromey <tromey@adacore.com>
4992
4993 PR ada/24539:
4994 * gdb.ada/vla.exp: Update tests.
4995 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
4996 pragma.
4997
4c048731
PA
49982019-06-13 Pedro Alves <palves@redhat.com>
4999
5000 * gdb.base/settings.exp (test-integer): Test junk after
5001 "unlimited".
5002
6665660a
PA
50032019-06-13 Pedro Alves <palves@redhat.com>
5004
5005 * gdb.base/options.exp (test-thread-apply): New.
5006 (top level): Call it.
5007
5d707134
PA
50082019-06-13 Pedro Alves <palves@redhat.com>
5009
5010 * gdb.base/options.exp (test-frame-apply): New.
5011 (top level): Test print commands with different "frame apply"
5012 prefixes.
5013
e2a689da
PA
50142019-06-13 Pedro Alves <palves@redhat.com>
5015
e79be6e5 5016 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
5017 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
5018 'max_completions' parameter and handle it.
5019 (test_gdb_completion_offers_commands): New.
5020
90a1ef87
PA
50212019-06-13 Pedro Alves <palves@redhat.com>
5022
5023 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
5024
d4c16835
PA
50252019-06-13 Pedro Alves <palves@redhat.com>
5026
5027 * gdb.base/options.exp (test-backtrace): New.
5028 (top level): Call it.
5029
2daf894e
PA
50302019-06-13 Pedro Alves <palves@redhat.com>
5031
5032 * gdb.guile/scm-frame-args.exp: Use "set print
5033 raw-frame-arguments" instead of "set print raw frame-arguments".
5034 * gdb.python/py-frame-args.exp: Likewise.
5035
e6ed716c
PA
50362019-06-13 Pedro Alves <palves@redhat.com>
5037
5038 * gdb.compile/compile.exp: Adjust expected output to option
5039 processing changes.
5040
7d8062de
PA
50412019-06-13 Pedro Alves <palves@redhat.com>
5042
5043 * gdb.base/options.exp: Build executable.
5044 (test-print): New procedure.
5045 (top level): Call it, once for "print" and another for "compile
5046 print".
5047
9d0faba9
PA
50482019-06-13 Pedro Alves <palves@redhat.com>
5049
5050 * gdb.base/options.c: New file.
5051 * gdb.base/options.exp: New file.
5052
dee7b4c8
PA
50532019-06-13 Pedro Alves <palves@redhat.com>
5054
5055 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
5056 that "o" is ambiguous.
5057
dca0f6c0
PA
50582019-06-13 Pedro Alves <palves@redhat.com>
5059
5060 * gdb.base/settings.c: New file.
5061 * gdb.base/settings.exp: New file.
5062
ccf46844
PA
50632019-06-13 Pedro Alves <palves@redhat.com>
5064
5065 * gdb.base/completion.exp: Fix comment typo.
5066
b9a3f842
PA
50672019-06-13 Pedro Alves <palves@redhat.com>
5068
5069 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
5070 foo --1" test.
5071
d106773e
PA
50722019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
5073
5074 * gdb.fortran/block-data.f: New.
5075 * gdb.fortran/block-data.exp: New.
5076
fea82da0
TV
50772019-06-11 Tom de Vries <tdevries@suse.de>
5078
5079 PR testsuite/24521
5080 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
5081 message.
5082
8c2e74f1
TV
50832019-06-11 Tom de Vries <tdevries@suse.de>
5084
5085 PR testsuite/24521
5086 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
5087
b49851c8
TV
50882019-06-11 Tom de Vries <tdevries@suse.de>
5089
5090 * boards/readnow.exp: New file.
5091
a7067863
AB
50922019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
5093
5094 * gdb.fortran/vla-sizeof.exp: Update expected results.
5095
1a3da2cd
AB
50962019-06-06 Amos Bird <amosbird@gmail.com>
5097
5098 * gdb.base/annota1.exp (thread_switch): Add test for
5099 thread-exited annotation.
5100
3847a7bf
TT
51012019-06-06 Tom Tromey <tromey@adacore.com>
5102
5103 * gdb.base/maint.exp: Expect command started/finished output.
5104
0088ba59
AB
51052019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5106
5107 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
5108 comment.
5109 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
5110
312617a3
AB
51112019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5112
5113 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
5114 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
5115 * gdb.arch/riscv-unwind-long-insn.c: New file.
5116 * gdb.arch/riscv-unwind-long-insn.exp: New file.
5117
e1f2e1a2
CB
51182019-06-04 Christian Biesinger <cbiesinger@google.com>
5119
d3238f7d 5120 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 5121
206584bd
PW
51222019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5123
5124 * lib/gdb.exp (help_list_trailer): New regexp variable
5125 factorizing the help trailer message.
5126 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
5127 arg to allow to better factorize various tests.
5128 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
5129 (test_prefix_command_help): Use help_list_trailer.
5130 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
5131 * gdb.guile/scm-cmd.exp: Likewise.
5132 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
5133 * gdb.base/help.exp: Use test_user_defined_class_help.
5134 * gdb.base/style.exp: Add tests for styling of help and apropos.
5135 * lib/gdb-utils.exp (style): Add title and highlight styles.
5136
708dc93e
PW
51372019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5138
5139 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
5140 $_shell_exitsignal.
5141 * gdb.base/default.exp: Update for new convenience variables.
5142
f49055a5
TT
51432019-05-29 Tom Tromey <tromey@adacore.com>
5144
5145 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
5146 to "break complete ada" test case's regexp.
5147
4330d61d
TT
51482019-05-29 Tom Tromey <tromey@adacore.com>
5149
5150 PR c++/20020:
5151 * gdb.cp/constexpr-field.exp: New file.
5152 * gdb.cp/constexpr-field.cc: New file.
5153
000439d5
TT
51542019-05-29 Tom Tromey <tromey@adacore.com>
5155
5156 * gdb.base/finish.exp (finish_no_print): New proc.
5157 (finish_tests): Call it.
5158
5a01c34c
TV
51592019-05-24 Tom de Vries <tdevries@suse.de>
5160
5161 * gdb.dwarf2/gdb-add-index.exp: New file.
5162
18125b16
TT
51632019-05-22 Tom Tromey <tromey@adacore.com>
5164
5165 * gdb.base/info-shared.exp (check_info_shared): Use "style".
5166 * gdb.base/style.exp: Use "style".
5167 * lib/gdb-utils.exp (style): New proc.
5168
af1a8d03
TV
51692019-05-22 Tom de Vries <tdevries@suse.de>
5170
5171 * gdb.base/align.exp: Require c++11.
5172
e7fe496b
TV
51732019-05-22 Tom de Vries <tdevries@suse.de>
5174
5175 PR testsuite/24586
5176 * gdb.python/py-mi-var-info-path-expression.exp: Call
5177 mi_skip_python_tests to check if python is supported.
5178
8fca4da0
AH
51792019-05-22 Alan Hayward <alan.hayward@arm.com>
5180
5181 * gdb.arch/aarch64-pauth.c: New test.
5182 * gdb.arch/aarch64-pauth.exp: New file.
5183
b7060614
AH
51842019-05-22 Alan Hayward <alan.hayward@arm.com>
5185
5186 * README (Re-running Tests Outside The Testsuite): New section.
5187
669d0468
TV
51882019-05-21 Tom de Vries <tdevries@suse.de>
5189
5190 * gdb.arch/amd64-eval.exp: Require c++11.
5191 * gdb.base/max-depth.exp: Same.
5192 * gdb.compile/compile-cplus-array-decay.exp: Same.
5193 * gdb.cp/meth-typedefs.exp: Same.
5194 * gdb.cp/subtypes.exp: Same.
5195 * gdb.cp/temargs.exp: Same.
5196
ce3ebcaa
AH
51972019-05-21 Alan Hayward <alan.hayward@arm.com>
5198
5199 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
5200
34d11c68
AB
52012019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
5202
5203 PR gdb/18644
5204 * gdb.fortran/complex.exp: Remove setup_kfail calls.
5205 * gdb.fortran/printing-types.exp: Add new test.
5206 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
5207 testing.
5208 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
5209 setup_kfail call.
5210
87781e84
AH
52112019-05-17 Alan Hayward <alan.hayward@arm.com>
5212
5213 * README (Running the Testsuite): Change example.
5214 (Testsuite Parameters): Remove TRANSCRIPT.
5215 * lib/gdb.exp: Remove TRANSCRIPT check.
5216
b420b89e
AH
52172019-05-17 Alan Hayward <alan.hayward@arm.com>
5218
5219 * README (Testsuite Parameters): Add replay logging to
5220 GDBSERVER_DEBUG.
5221 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
5222 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
5223 as a comma separated list.
5224 (gdb_debug_init): Override procedure.
5225
408e9b8b
AH
52262019-05-17 Alan Hayward <alan.hayward@arm.com>
5227
5228 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
5229 (gdb_write_cmd_file): New procedure.
5230 * lib/gdbserver-support.exp (gdbserver_start): Call
5231 gdbserver_write_cmd_file.
5232 (gdbserver_write_cmd_file): New procedure.
5233
f9e2e39d
AH
52342019-05-17 Alan Hayward <alan.hayward@arm.com>
5235
5236 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
5237 (delete_breakpoints): Likewise.
5238 (gdb_run_cmd): Likewise.
5239 (gdb_start_cmd): Likewise.
5240 (gdb_starti_cmd): Likewise.
5241 (gdb_internal_error_resync): Likewise.
5242 (gdb_test_multiple): Likewise.
5243 (gdb_reinitialize_dir): Likewise.
5244 (default_gdb_exit): Likewise.
5245 (gdb_file_cmd): Mark kill as optional.
5246 (default_gdb_start): Call gdb_stdin_log_init.
5247 (send_gdb): Call gdb_stdin_log_write.
5248 (rerun_to_main): Mark Y as an answer.
5249 (gdb_stdin_log_init): New function.
5250 (gdb_stdin_log_write): Likewise.
5251
81f47ac2
AH
52522019-05-17 Alan Hayward <alan.hayward@arm.com>
5253
5254 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
5255 * gdb.base/debug-expr.exp: Likewise.
5256 * gdb.base/foll-fork.exp: Likewise.
5257 * gdb.base/foll-vfork.exp: Likewise.
5258 * gdb.base/fork-print-inferior-events.exp: Likewise.
5259 * gdb.base/gdb-sigterm.exp: Likewise.
5260 * gdb.base/gdbinit-history.exp: Likewise.
5261 * gdb.base/osabi.exp: Likewise.
5262 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5263 * gdb.base/ui-redirect.exp: Likewise.
5264 * gdb.gdb/unittest.exp: Likewise.
5265 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
5266 * gdb.mi/mi-watch.exp: Likewise.
5267 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5268 * gdb.mi/user-selected-context-sync.exp: Likewise.
5269 * gdb.python/python.exp: Disable debug test when debugging.
5270 * gdb.threads/check-libthread-db.exp: Disable when debugging.
5271 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5272 Likewise.
5273 * gdb.threads/stepi-random-signal.exp: Likewise.
5274
29b52314
AH
52752019-05-17 Alan Hayward <alan.hayward@arm.com>
5276
5277 * Makefile.in: Pass through GDB_DEBUG.
5278 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5279 (gdb,debug): Add board setting.
5280 * lib/gdb.exp (default_gdb_start): Start debugging.
5281 (gdb_debug_enabled): New procedure.
5282 (gdb_debug_init): Likewise.
29b52314
AH
5283
52842019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 5285
29b52314
AH
5286 * Makefile.in: Pass through GDB_DEBUG.
5287 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5288 (gdb,debug): Add board setting.
5289 * lib/gdb.exp (default_gdb_start): Start debugging.
5290 (gdb_debug_enabled): New procedure.
5291 (gdb_debug_init): Likewise.
29b52314 5292
ca1285d1
AH
52932019-05-17 Alan Hayward <alan.hayward@arm.com>
5294
5295 * gdb.base/ui-redirect.exp: Add debug redirect tests.
5296
f3a09c80
AH
52972019-05-17 Alan Hayward <alan.hayward@arm.com>
5298
5299 * gdb.base/ui-redirect.exp: Test redirection.
5300
26648588
JV
53012019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
5302
5303 * gdb.mi/mi-complete.exp: New file.
5304 * gdb.mi/mi-complete.cc: Likewise.
5305
14237686
AB
53062019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
5307
5308 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
5309 indexed and sliced arrays, and pointers to arrays.
5310
e7bd7fba
TT
53112019-05-14 Tom Tromey <tromey@adacore.com>
5312
5313 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
5314 styling test.
5315
2764128d
TV
53162019-05-14 Tom de Vries <tdevries@suse.de>
5317
5318 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
5319 selection entry encoding.
5320
71bed2db
TT
53212019-05-10 Tom Tromey <tromey@adacore.com>
5322
5323 * gdb.ada/info_exc.exp: Add "complete" test.
5324
63b667ad
TV
53252019-05-09 Tom de Vries <tdevries@suse.de>
5326
5327 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
5328 CU-relative.
5329
9cfd2b89
TV
53302019-05-09 Tom de Vries <tdevries@suse.de>
5331
5332 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
5333 CU-relative.
5334
2228ef77
XR
53352019-05-08 Joel Brobecker <brobecker@adacore.com>
5336
5337 * gdb.ada/frame_arg_lang.exp: New testcase.
5338 * gdb.ada/frame_arg_lang/bla.adb: New file.
5339 * gdb.ada/frame_arg_lang/pck.ads: New file.
5340 * gdb.ada/frame_arg_lang/pck.adb: New file.
5341 * gdb.ada/frame_arg_lang/foo.c: New file.
5342
80e55b13
TT
53432019-05-08 Tom Tromey <tromey@adacore.com>
5344
5345 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
5346
9d3421af
TT
53472019-05-08 Tom Tromey <tromey@adacore.com>
5348
5349 * gdb.base/ptype-offsets.exp: Update tests.
5350
844333e2
TT
53512019-05-08 Tom Tromey <tromey@adacore.com>
5352
5353 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
5354 cases.
5355 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
5356 "short".
5357
988915ee
TT
53582019-05-08 Tom Tromey <tromey@adacore.com>
5359
5360 * gdb.ada/vla.exp: New file.
5361 * gdb.ada/vla/vla.adb: New file.
5362
7bd55dac
TV
53632019-05-07 Tom de Vries <tdevries@suse.de>
5364
5365 * gdb.base/index-cache.exp (ls_host): Fix return statement.
5366
75f06e9d
TV
53672019-05-07 Tom de Vries <tdevries@suse.de>
5368
5369 PR testsuite/24522
5370 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
5371 section.
5372
77e7aaa4
TV
53732019-05-07 Tom de Vries <tdevries@suse.de>
5374
5375 PR testsuite/24522
5376 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
5377 .debug_aranges section.
5378
456ba0fa
TV
53792019-05-07 Tom de Vries <tdevries@suse.de>
5380
5381 PR testsuite/24159
5382 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
5383
5a56d6a6
TV
53842019-05-06 Tom de Vries <tdevries@suse.de>
5385
5386 * lib/gdb.exp (exec_has_index_section): New proc.
5387 * gdb.base/index-cache.exp: Handle case that binfile contains an index
5388 section.
5389
9d6d4be8
TV
53902019-05-04 Tom de Vries <tdevries@suse.de>
5391
5392 * boards/cc-with-debug-names.exp: New file.
5393
222a8d25
TT
53942019-05-03 Tom Tromey <tromey@adacore.com>
5395
5396 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
5397 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
5398 * gdb.ada/char_enum.exp: Add test.
5399
0fdfd794
TV
54002019-05-03 Tom de Vries <tdevries@suse.de>
5401
5402 * boards/cc-with-gdb-index.exp: New file.
5403
80062eb9
AB
54042019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
5405
5406 * gdb.rust/simple.exp: Add new test case.
5407 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
5408 (main): Initialise an instance of the new struct.
5409
4504bbde
TT
54102019-05-01 Tom Tromey <tromey@adacore.com>
5411
5412 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
5413 record.
5414 (NPR): New variable.
5415 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
5416 test.
5417
d48e62f4
TT
54182019-05-01 Tom Tromey <tromey@adacore.com>
5419
5420 * gdb.ada/packed_array_assign.exp: Add packed assignment
5421 regression test.
5422
f59f30f5
TV
54232019-05-01 Tom de Vries <tdevries@suse.de>
5424
5425 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
5426
b70bfc54
TV
54272019-05-01 Tom de Vries <tdevries@suse.de>
5428
5429 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
5430
15f18d14
AT
54312019-04-30 Ali Tamur <tamur@google.com>
5432
5433 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
5434
2ff0a947
TT
54352019-04-30 Tom Tromey <tromey@adacore.com>
5436
5437 * lib/ada.exp (find_ada_tool): New proc.
5438 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
5439 * gdb.ada/catch_ex_std.exp: New file.
5440 * gdb.ada/catch_ex_std/foo.adb: New file.
5441 * gdb.ada/catch_ex_std/some_package.adb: New file.
5442 * gdb.ada/catch_ex_std/some_package.ads: New file.
5443
a776957c
TT
54442019-04-30 Tom Tromey <tromey@adacore.com>
5445
5446 PR c++/24470:
5447 * gdb.cp/temargs.cc: Add test code from PR.
5448
bc68014d
AB
54492019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5450
5451 * gdb.fortran/vla-datatypes.exp: Update expected results.
5452 * gdb.fortran/vla-ptype.exp: Likewise.
5453 * gdb.fortran/vla-type.exp: Likewise.
5454 * gdb.fortran/vla-value.exp: Likewise.
5455
f1fdc960
AB
54562019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5457
5458 * gdb.fortran/ptr-indentation.exp: Update expected results.
5459 * gdb.fortran/ptype-on-functions.exp: Likewise.
5460 * gdb.fortran/vla-ptr-info.exp: Likewise.
5461 * gdb.fortran/vla-value.exp: Likewise.
5462
bf7a4de1
AB
54632019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5464
5465 * gdb.fortran/ptype-on-functions.exp: New file.
5466 * gdb.fortran/ptype-on-functions.f90: New file.
5467
bbe75b9d
AB
54682019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5469
5470 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
5471 case void string.
5472
1db455a7
AB
54732019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5474
5475 * gdb.fortran/complex.exp: Expand.
5476 * gdb.fortran/complex.f: Renamed to...
5477 * gdb.fortran/complex.f90: ...this, and extended to add more
5478 complex values.
5479
b6d03bb2
AB
54802019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5481
5482 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
5483 MODULO, CMPLX.
5484
2e62ab40
AB
54852019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
5486 Richard Bunt <richard.bunt@arm.com>
5487
5488 * gdb.base/max-depth.c: New file.
5489 * gdb.base/max-depth.exp: New file.
5490 * gdb.python/py-nested-maps.c: New file.
5491 * gdb.python/py-nested-maps.exp: New file.
5492 * gdb.python/py-nested-maps.py: New file.
5493 * gdb.python/py-format-string.exp (test_max_depth): New proc.
5494 (test_all_common): Call test_max_depth.
5495 * gdb.fortran/max-depth.exp: New file.
5496 * gdb.fortran/max-depth.f90: New file.
5497 * gdb.go/max-depth.exp: New file.
5498 * gdb.go/max-depth.go: New file.
5499 * gdb.modula2/max-depth.exp: New file.
5500 * gdb.modula2/max-depth.c: New file.
5501 * lib/gdb.exp (get_print_expr_at_depths): New proc.
5502
d2b584a5
TV
55032019-04-29 Tom de Vries <tdevries@suse.de>
5504
5505 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
5506
136afab8
PW
55072019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5508
5509 * gdb.base/callexit.exp: Test may-call-functions off.
5510
725cbb63
KS
55112019-04-25 Keith Seitz <keiths@redhat.com>
5512
5513 PR c++/24367
5514 * gdb.cp/meth-typedefs.cc (incomplete_struct)
5515 (another_incomplete_struct, test_incomplete): New definitions.
5516 (main): Use new definitions.
5517 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
5518 functions.
5519
701adfb0
PA
55202019-04-25 Ali Tamur <tamur@google.com>
5521
5522 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
5523
82433e3e
SDJ
55242019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
5525
5526 PR corefiles/11608
5527 PR corefiles/18187
5528 * gdb.base/coredump-filter-build-id.exp: New file.
5529
dd06d4d6
AH
55302019-04-25 Alan Hayward <alan.hayward@arm.com>
5531
e79be6e5
SM
5532 * Makefile.in: Pass through GDBSERVER_DEBUG.
5533 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
5534 (gdbserver,debug): Add board setting.
5535 * gdb.trace/tspeed.exp: Skip when debugging.
5536 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
5537 * lib/gdbserver-support.exp: Likewise
dd06d4d6 5538
1670072e
TT
55392019-04-24 Tom Tromey <tromey@adacore.com>
5540
5541 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
5542 Rust.
5543
a59240a4
TT
55442019-04-24 Tom Tromey <tromey@adacore.com>
5545
5546 * gdb.arch/amd64-eval.exp: Test bitfield return.
5547 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
5548 (class Foo) <return_bitfields>: New method.
5549 (main): Call it.
5550
b907456c
AB
55512019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
5552
5553 * gdb.cp/many-args.cc: New file.
5554 * gdb.cp/many-args.exp: New file.
5555
5c565afd
TV
55562019-04-23 Tom de Vries <tdevries@suse.de>
5557
5558 PR gdb/24433
5559 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
5560
ba22ff86
AH
55612019-04-23 Alan Hayward <alan.hayward@arm.com>
5562
5563 * gdb.trace/backtrace.exp: Use nopie flag.
5564 * gdb.trace/circ.exp: Likewise.
5565 * gdb.trace/collection.exp: Likewise.
5566 * gdb.trace/ftrace.exp: Likewise.
5567 * gdb.trace/mi-trace-unavailable.exp: Likewise.
5568 * gdb.trace/mi-traceframe-changed.exp: Likewise.
5569 * gdb.trace/qtro.exp: Likewise.
5570 * gdb.trace/read-memory.exp: Likewise.
5571 * gdb.trace/report.exp: Likewise.
5572 * gdb.trace/tfile.exp: Likewise.
5573 * gdb.trace/tfind.exp: Likewise.
5574 * gdb.trace/unavailable.exp: Likewise.
5575
7905fc35
PA
55762019-04-22 Pedro Alves <palves@redhat.com>
5577
5578 * gdb.base/solib-probes-nosharedlibrary.c,
5579 gdb.base/solib-probes-nosharedlibrary.exp: New files.
5580
8ecb59f8
TT
55812019-04-19 Tom Tromey <tromey@adacore.com>
5582
5583 * gdb.ada/ptype_union.c: New file.
5584 * gdb.ada/ptype_union.exp: New file.
5585
62160ec9
TT
55862019-04-19 Tom Tromey <tromey@adacore.com>
5587
5588 PR symtab/24423:
5589 * gdb.base/list0.h (foo): Add a control-l character.
5590
36cd4ba5
TV
55912019-04-18 Tom de Vries <tdevries@suse.de>
5592
5593 PR gdb/24433
5594 * boards/local-board.exp: Set sysroot to "".
5595
b73715df
TV
55962019-04-18 Tom de Vries <tdevries@suse.de>
5597 Pedro Alves <palves@redhat.com>
5598
5599 PR gdb/24454
5600 * gdb.threads/vfork-follow-child-exec.c: New file.
5601 * gdb.threads/vfork-follow-child-exec.exp: New file.
5602 * gdb.threads/vfork-follow-child-exit.c: New file.
5603 * gdb.threads/vfork-follow-child-exit.exp: New file.
5604
4aa866af
LS
56052019-04-15 Leszek Swirski <leszeks@google.com>
5606
5607 * gdb.arch/amd64-eval.cc: New file.
5608 * gdb.arch/amd64-eval.exp: New file.
5609
e5a1a79a
AH
56102019-04-11 Alan Hayward <alan.hayward@arm.com>
5611
5612 * gdb.server/sysroot.c: New test.
5613 * gdb.server/sysroot.exp: New file.
5614 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
5615 matching param.
5616
41077b66
AB
56172019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
5618
5619 * gdb.base/align.exp: Extend test to cover structures containing
5620 only static fields.
5621
c30391f8
TV
56222019-04-11 Tom de Vries <tdevries@suse.de>
5623
5624 * boards/cc-with-dwz-m.exp: New file.
5625 * boards/cc-with-dwz.exp: New file.
5626 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
5627
e242fd12
SM
56282019-04-09 Simon Marchi <simon.marchi@efficios.com>
5629
5630 * gdb.base/start-cpp.exp: New file.
5631 * gdb.base/start-cpp.cc: New file.
5632
2b0c8b01
KB
56332019-04-08 Kevin Buettner <kevinb@redhat.com>
5634
5635 * gdb.python/py-thrhandle.exp: Adjust tests to call
5636 thread_from_handle instead of thread_from_thread_handle.
5637
947210e5
KB
56382019-04-08 Kevin Buettner <kevinb@redhat.com>
5639
5640 * gdb.python/py-thrhandle.exp: Add tests for
5641 gdb.InferiorThread.handle.
5642
d7df6549
AB
56432019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5644
5645 * gdb.python/py-function.exp: Check calling helper function from
5646 all languages.
5647 * lib/gdb.exp (gdb_supported_languages): New proc.
5648
8bdc1658
AB
56492019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5650
5651 * gdb.base/complex-parts.c: New file.
5652 * gdb.base/complex-parts.exp: New file.
5653
05caa1d2
TT
56542019-04-01 Tom Tromey <tromey@adacore.com>
5655
5656 PR symtab/23331:
5657 * gdb.dwarf2/dw2-ranges-main.c: New file.
5658 * gdb.dwarf2/dw2-ranges-psym.c: New file.
5659 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
5660
7734102d
EZ
56612019-03-30 Simon Marchi <simark@simark.ca>
5662
5663 * gdb.base/default.exp: Add values for $_gdb_major and
5664 $_gdb_minor.
5665
188e1fa9
TT
56662019-03-29 Tom Tromey <tromey@adacore.com>
5667
5668 * gdb.base/help.exp: Tighten apropos regexp.
5669
2880242d
KS
56702019-03-29 Keith Seitz <keiths@redhat.com>
5671
5672 * gdb.fortran/array-bounds.exp: New file.
5673 * gdb.fortran/array-bounds.f90: New file.
5674
077cad8e
PW
56752019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5676
5677 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
5678
80047cfc
PW
56792019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5680
5681 * gdb.multi/hello.c (main): Increase alarm timer.
5682
f489207e
SL
56832019-03-28 Sandra Loosemore <sandra@codesourcery.com>
5684
5685 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
5686 factor when no hardware watchpoint support.
5687
c92df149
AH
56882019-03-28 Alan Hayward <alan.hayward@arm.com>
5689 Pedro Alves <palves@redhat.com>
5690
5691 * boards/local-board.exp: set sysroot to /.
5692
933aebfa
AH
56932019-03-27 Alan Hayward <alan.hayward@arm.com>
5694
5695 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
5696 in child.
5697
9f9aa852
AB
56982019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5699
5700 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
5701 field.
5702 (make_container): Initialise new field.
5703 * gdb.python/py-prettyprint.exp: Add new tests.
5704 * gdb.python/py-prettyprint.py (class ContainerPrinter)
5705 <display_hint>: New method.
5706
3714a195
AB
57072019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5708
5709 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
5710 gdb_continue_to_breakpoint more throughout this test.
5711 (run_lang_tests) Supply unique test names, and use
5712 gdb_test_no_output.
5713
18c77628
AB
57142019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5715
5716 * gdb.base/finish-pretty.exp: Update expected results.
5717 * gdb.base/pretty-print.c: New file.
5718 * gdb.base/pretty-print.exp: New file.
5719
9a93502f
PA
57202019-03-25 Pedro Alves <palves@redhat.com>
5721
5722 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
5723 move comments outside list. Append '-i "" eof' section.
5724
968aa7ae
AH
57252019-03-22 Alan Hayward <alan.hayward@arm.com>
5726
34a7f2a4 5727 PR testsuite/25016
968aa7ae
AH
5728 * README: Add pie options.
5729 * gdb.base/break-interp.exp: Ensure pie is disabled.
5730 * gdb.base/dump.exp: Likewise.
5731 * lib/gdb.exp (gdb_compile): Add pie option.
5732
4c7d57e7
TT
57332019-03-19 Tom Tromey <tromey@adacore.com>
5734
5735 * gdb.mi/mi2-cli-display.c: New file.
5736 * gdb.mi/mi2-cli-display.exp: New file.
5737
bff8c71f
TT
57382019-03-18 Joel Brobecker <brobecker@adacore.com>
5739 Tom Tromey <tromey@adacore.com>
5740
5741 * gdb.ada/ptype_array/pck.adb: New file.
5742 * gdb.ada/ptype_array/pck.ads: New file.
5743 * gdb.ada/ptype_array/foo.adb: New file.
5744 * gdb.ada/ptype_array.exp: New file.
5745
d085f989
TT
57462019-03-14 Tom Tromey <tromey@adacore.com>
5747
5748 * gdb.base/style.exp: Add "set style sources" test.
5749
b4be1b06
SM
57502019-03-13 Simon Marchi <simon.marchi@ericsson.com>
5751
5752 * mi-breakpoint-location-ena-dis.exp: Rename to ...
5753 * mi-breakpoint-multiple-locations.exp: ... this.
5754 (make_breakpoints_pattern): New proc.
5755 (do_test): Add mi_version parameter, test -break-insert,
5756 -break-info and =breakpoint-created.
5757
7cde5fc2
AB
57582019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
5759
5760 * config/default.exp: Remove 'load_lib gdb.exp'.
5761 * config/monitor.exp: Likewise.
5762 * config/sid.exp: Likewise.
5763 * config/sim.exp: Likewise.
5764 * config/slite.exp: Likewise.
5765 * config/unix.exp: Likewise.
5766 * gdb.base/default.exp: Remove unhelpful comment.
5767
efbecbc1
AB
57682019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5769
5770 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
5771
0841c79a
AB
57722019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5773
5774 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
5775
4a270568
AB
57762019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5777
5778 * gdb.fortran/type-kinds.exp: Update expected results.
5779
067630bd
AB
57802019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5781
5782 * gdb.fortran/type-kinds.exp: Test new integer type kind.
5783
3be47f7a
AB
57842019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5785
5786 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
5787 function.
5788 (test_basic_parsing_of_type_kinds): Expand types tested.
5789 (test_parsing_invalid_type_kinds): New function.
5790
4d00f5d8
AB
57912019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5792
5793 * gdb.fortran/intrinsics.exp: New file.
5794 * gdb.fortran/intrinsics.f90: New file.
5795 * gdb.fortran/type-kinds.exp: New file.
5796
c8f91604
AB
57972019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5798
5799 * gdb.fortran/dot-ops.exp: New file.
5800
dd9f2c76
AB
58012019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5802
5803 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
5804 Check upper and lower case logical literals.
5805
84ec9724
AB
58062019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5807
5808 * gdb.fortran/types.exp (test_float_literal_types_accepted):
5809 Remove duplicate tests.
5810
c3734e09
AH
58112019-03-06 Alan Hayward <alan.hayward@arm.com>
5812
5813 * lib/gdb.exp (builtin_cd): rename of cd.
5814 (cd): Override builtin.
5815
aa3cfbda
RB
58162019-03-06 Richard Bunt <richard.bunt@arm.com>
5817
5818 * gdb.fortran/function-calls.exp: New file.
5819 * gdb.fortran/function-calls.f90: New test.
5820
7b63ad86
RB
58212019-03-04 Richard Bunt <richard.bunt@arm.com>
5822
5823 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
5824 on user program standard output.
5825 * gdb.fortran/short-circuit-argument-list.f90: Record function
5826 calls.
5827
01abb042
AH
58282019-02-28 Alan Hayward <alan.hayward@arm.com>
5829
c3734e09
AH
5830 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
5831 failure.
01abb042 5832
92137da0
RO
58332019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5834
5835 PR gdb/8527
5836 * gdb.base/interrupt-daemon-attach.c,
5837 gdb.base/interrupt-daemon-attach.exp: New test.
5838
5862844d
PA
58392019-02-27 Pedro Alves <palves@redhat.com>
5840
5841 * gdb.base/page.exp: Add tests for "set width/height -1".
5842
8ed25214
PA
58432019-02-27 Pedro Alves <palves@redhat.com>
5844
5845 * gdb.base/page.exp: Add tests for "set/show width/height" with
5846 "infinite" values.
5847
6c28e44a
TT
58482019-02-27 Tom Tromey <tromey@adacore.com>
5849
5850 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
5851 2.4.
5852 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
5853 workaround.
5854
bf9a735e
AB
58552019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
5856
5857 * gdb.base/align.exp: Extend to compile in both C and C++, and add
5858 tests for structs with static members.
5859
8791793c
TT
58602019-02-26 Tom Tromey <tromey@adacore.com>
5861
5862 * gdb.python/py-value.exp (test_value_from_buffer): Check for
5863 ValueError, not TypeError.
5864
bc2a507e
KB
58652019-02-26 Kevin Buettner <kevinb@redhat.com>
5866
5867 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
5868 call from main program.
5869
e0e7d3bd
JB
58702019-02-23 Joel Brobecker <brobecker@adacore.com>
5871
5872 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
5873 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
5874 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
5875 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
5876 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
5877
9600246d
KS
58782019-02-22 Keith Seitz <keiths@redhat.com>
5879
5880 PR symtab/23853
5881 * gdb.base/symlink-sourcefile.c: New file.
5882 * gdb.base/symlink-sourcefile.exp: New file.
5883
0c95f9ed
TT
58842019-02-20 Tom Tromey <tom@tromey.com>
5885
5886 * gdb.base/info_qt.exp: Update.
5887
6caa91b6
SM
58882019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
5889
5890 * gdb.base/source.exp: Move "error in sourced script" code to
5891 the end.
5892 * gdb.base/source-error.gdb: Move contents to
5893 source-error-1.gdb. Add new code to source source-error-1.gdb.
5894 * gdb.base/source-error-1.gdb: New file, from previous
5895 source-error.gdb.
5896
6506371f
TT
58972019-02-17 Tom Tromey <tom@tromey.com>
5898
5899 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
5900 for macro styling.
5901 * gdb.base/style.c (SOME_MACRO): New macro.
5902
a0087920
TT
59032019-02-17 Tom Tromey <tom@tromey.com>
5904
5905 * gdb.base/style.exp: Add line-wrapping tests.
5906 * gdb.base/page.exp: Add test for quitting during pagination.
5907
a2cd4f14
JB
59082019-02-17 Joel Brobecker <brobecker@adacore.com>
5909
5910 * gdb.ada/big_packed_array: New testcase.
5911 * gdb.ada/homonym.exp: Fix incorrect expected output for
5912 "break <homonym__get_value>" test.
5913
9d70ffbc
WP
59142019-02-13 Weimin Pan <weimin.pan@oracle.com>
5915
5916 PR breakpoints/21870
5917 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
5918 and prepare_for_testing. Add comment.
5919 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
5920 redundant cleanup call. Clean up comment.
5921
01c7ae81
WP
59222019-02-12 Weimin Pan <weimin.pan@oracle.com>
5923
5924 PR breakpoints/21870
5925 * gdb.arch/aarch64-dbreg-contents.exp: New file.
5926 * gdb.arch/aarch64-dbreg-contents.c: New file.
5927
aff29d1c
JB
59282019-02-10 Joel Brobecker <brobecker@adacore.com>
5929
5930 * gdb.ada/mi_ref_changeable: New testcase.
5931
df0da8a2
AH
59322019-02-07 Alan Hayward <alan.hayward@arm.com>
5933
5934 * gdb.base/attach.exp: Add double attach test.
5935
bd447abb
SM
59362019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
5937
5938 * lib/gdb.exp (default_gdb_start): Don't match pagination
5939 prompt.
5940 (gdb_init): Set stty_init.
5941
1dbc40b9
TT
59422019-01-27 Tom Tromey <tom@tromey.com>
5943
5944 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
5945 skip_python_tests.
5946
353229bf
AH
59472019-01-24 Alan Hayward <alan.hayward@arm.com>
5948
5949 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
5950 New structure.
5951 (struct struct_static_02_02): Likewise.
5952 (struct struct_static_02_03): Likewise.
5953 (struct struct_static_02_04): Likewise.
5954 (struct struct_static_04_01): Likewise.
5955 (struct struct_static_04_02): Likewise.
5956 (struct struct_static_04_03): Likewise.
5957 (struct struct_static_04_04): Likewise.
5958 (struct struct_static_06_01): Likewise.
5959 (struct struct_static_06_02): Likewise.
5960 (struct struct_static_06_03): Likewise.
5961 (struct struct_static_06_04): Likewise.
5962 (cmp_struct_static_02_01): Likewise.
5963 (cmp_struct_static_02_02): Likewise.
5964 (cmp_struct_static_02_03): Likewise.
5965 (cmp_struct_static_02_04): Likewise.
5966 (cmp_struct_static_04_01): Likewise.
5967 (cmp_struct_static_04_02): Likewise.
5968 (cmp_struct_static_04_03): Likewise.
5969 (cmp_struct_static_04_04): Likewise.
5970 (cmp_struct_static_06_01): Likewise.
5971 (cmp_struct_static_06_02): Likewise.
5972 (cmp_struct_static_06_03): Likewise.
5973 (cmp_struct_static_06_04): Likewise.
5974 (call_all): Test new structs.
5975 * gdb.base/infcall-nested-structs.exp: Likewise.
5976
73021deb
AH
59772019-01-21 Alan Hayward <alan.hayward@arm.com>
5978 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
5979
fc65c7db
AH
59802019-01-21 Alan Hayward <alan.hayward@arm.com>
5981 * gdb.base/stack-protector.c: New test.
5982 * gdb.base/stack-protector.exp: New file.
5983 * gdb.cp/ovldbreak.exp: Only allow a single break line.
5984 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
5985 option.
5986 (gdb_compile): Remove stack protector for GCC and prevent
5987 recursion.
5988
c24bdb02
KS
59892019-01-16 Keith Seitz <keiths@redhat.com>
5990
5991 PR gdb/23773
5992 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
5993
6f072a10
PFC
59942019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5995
5996 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
5997 aliases.
5998 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
5999 tests.
6000 * gdb.arch/powerpc-vector-regs.c: New file.
6001 * gdb.arch/powerpc-vector-regs.exp: New file.
6002
a7b8d682
PFC
60032019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6004
6005 * gdb.arch/altivec-regs.exp: Fix the list passed to
6006 gdb_expect_list when testing "info vector".
6007
6eb6fb67
AB
60082019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6009
6010 * gdb.base/style.exp: Don't include path in testname.
6011
b56f80d8
KS
60122019-01-10 Keith Seitz <keiths@redhat.com>
6013
6014 PR gdb/23712
6015 PR symtab/23010
6016 * gdb.dwarf2/multidictionary.exp: New file.
6017
041be526
SM
60182019-01-09 Simon Marchi <simon.marchi@ericsson.com>
6019
6020 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
6021 (test_gnuv3_style_demangling): ... this.
6022 (test_lucid_style_demangling): Remove.
6023 (test_arm_style_demangling): Remove.
6024 (test_hp_style_demangling): Remove.
6025 (do_tests): Remove calls to the above.
6026
d820d0c3
AB
60272019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6028
6029 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
6030 case.
6031
f097f5ad
TT
60322019-01-06 Tom Tromey <tom@tromey.com>
6033
6034 PR gdb/28155:
6035 * gdb.dwarf2/typedef-void-finish.exp: New file.
6036
2cd8cc0b
TT
60372018-12-28 Tom Tromey <tom@tromey.com>
6038 Simon Marchi <simark@simark.ca>
6039
6040 * gdb.base/jit-exec.exp: New file.
6041 * gdb.base/jit-exec.c: New file.
6042 * gdb.base/jit-execd.c: New file.
6043
35fb8261
TT
60442018-12-28 Tom Tromey <tom@tromey.com>
6045
6046 * gdb.base/style.exp: Update test to check for address styling.
6047
47fd17cd
TT
60482018-12-28 Tom Tromey <tom@tromey.com>
6049
6050 * gdb.base/style.exp: Add test for styling of "Reading symbols"
6051 message.
6052
d47032b7
TT
60532018-12-28 Tom Tromey <tom@tromey.com>
6054
6055 * gdb.base/style.exp: Add test for version number styling.
6056
af79b68d
TT
60572018-12-28 Tom Tromey <tom@tromey.com>
6058
6059 * gdb.base/style.exp: Add test for print_address_symbolic.
6060
0bb296cb
TT
60612018-12-28 Tom Tromey <tom@tromey.com>
6062
6063 * gdb.base/style.exp: Add test for breakpoint setting.
6064
80ae2043
TT
60652018-12-28 Tom Tromey <tom@tromey.com>
6066
6067 * gdb.base/style.exp: Add test for variable names.
6068
cbe56571
TT
60692018-12-28 Tom Tromey <tom@tromey.com>
6070
6071 * gdb.base/style.exp: New file.
6072 * gdb.base/style.c: New file.
6073
9162a27c
TT
60742018-12-28 Tom Tromey <tom@tromey.com>
6075
6076 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
6077 "dumb".
6078 * gdb.base/readline.exp (operate_and_get_next): Save and restore
6079 the TERM environment variable.
6080
bc543c90
TT
60812018-12-27 Tom Tromey <tom@tromey.com>
6082
6083 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
6084 pagination test.
6085
6f0ffe50
AB
60862018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
6087
6088 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
6089 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
6090
b5a1e557
PW
60912018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6092
6093 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
6094 Filename a.adb changed to bp_fun_addr.adb.
6095 gdb.ada/bp_fun_addr.exp: Update test accordingly.
6096
6e8b1ab2
JV
60972018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
6098
6099 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
6100 non-PIE executables.
6101 * README: Mention the gdb,nopie_flag board setting.
6102 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
6103 non-PIE executable.
6104 * gdb.arch/amd64-entry-value.exp: Likewise.
6105 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
6106 * gdb.arch/i386-float.exp: Likewise.
6107 * gdb.arch/i386-signal.exp: Likewise.
6108 * gdb.mi/mi-reg-undefined.exp: Likewise.
6109
d00a27c5
PM
61102018-12-21 Paul Marechal <paul.marechal@ericsson.com>
6111
6112 PR gdb/23974
6113 * gdb.base/info-os.exp: Check return for unknown "info os" type.
6114
161d081c
PW
61152018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6116
6117 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
6118 Update order of results accordingly.
6119
b001de23
AB
61202018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
6121
6122 * gdb.base/annota1.exp: Update a test regexp.
6123
99e1a184
AB
61242018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6125
6126 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
6127
7a81c1e2
PW
61282018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6129
6130 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
6131 (reuse_time): Initialize to REUSE_TIME_CAP.
6132 (check_rc): New function.
6133 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
6134 Check pthread_create rc.
6135 (spawner_thread_func): Check pthread_create and pthread_join rc.
6136
73e8dc90
PA
61372018-12-08 Pedro Alves <palves@redhat.com>
6138
6139 * gdb.base/list.exp (test_forward_search): Rename to ...
6140 (test_forward_reverse_search): ... this. Also test reverse-search
6141 and the forward-search alias.
6142
13f2ed32
AB
61432018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
6144
6145 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
6146 local timeout variable before return, and remove all local timeout
6147 variable entirely.
6148 (gdb_load): Likewise.
6149
64d27cfc
TV
61502018-12-01 Tom de Vries <tdevries@suse.de>
6151
6152 * gdb.base/gdb-caching-proc.exp: New file.
6153
f63c03b4
SDJ
61542018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
6155
6156 * Makefile.in (TIMESTAMP): New variable.
6157 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
6158 command.
6159 (check-single-racy): Likewise.
6160 (check/%.exp): Likewise.
6161 (check-racy/%.exp): Likewise.
6162 (workers/%.worker): Likewise.
6163 (build-perf): Likewise.
6164 (check-perf): Likewise.
6165 * README: Describe new "TS" and "TS_FORMAT" variables.
6166 * print-ts.py: New file.
6167
1c97054b
BF
61682018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
6169
6170 PR python/23714
6171 * gdb.python/python.exp: Test command repetition after
6172 gdb.execute.
6173
1871a62d
AB
61742018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
6175
6176 * gdb.opt/inline-break.exp: Add test that info breakpoint output
6177 is correctly aligned.
6178
fb5e1ed9
PW
61792018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6180
6181 * gdb.ada/info_auto_lang.exp: New testcase.
6182 * gdb.ada/info_auto_lang/global_pack.ads: New file.
6183 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
6184 * gdb.ada/info_auto_lang/some_c.c: New file.
6185
43d397ca
PW
61862018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6187
6188 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
6189 FUNC_lang language syntax.
6190
beddd671
PW
61912018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6192
6193 * gdb.base/info_minsym.c: New file.
6194 * gdb.base/info_minsym.exp: New file.
6195
73fc52c4
TT
61962018-11-19 Tom Tromey <tom@tromey.com>
6197
6198 PR rust/23625:
6199 * gdb.rust/simple.exp: Add ptype test. Update expected output.
6200 * gdb.rust/expr.exp: Update expected output. Change one test.
6201
994b876a
TT
62022018-11-19 Tom Tromey <tom@tromey.com>
6203
6204 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
6205
6769f276
PA
62062018-11-19 Pedro Alves <palves@redhat.com>
6207
6208 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
6209 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
6210 see the expected warning.
6211
38a72da0
AH
62122018-11-16 Alan Hayward <alan.hayward@arm.com>
6213
6214 PR gdb/22736:
6215 * gdb.cp/infcall-nodebug-lib.c: New test.
6216 * gdb.cp/infcall-nodebug-main.c: New test.
6217 * gdb.cp/infcall-nodebug.exp: New file.
6218
53a89d6e
SM
62192018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
6220
6221 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
6222 completer tests.
6223
9325300d
TV
62242018-11-09 Tom de Vries <tdevries@suse.de>
6225
6226 * gdb.base/msym-lang.c: New test.
6227 * gdb.base/msym-lang.exp: New file.
6228 * gdb.base/msym-lang-main.c: New test.
6229
20f0d60d
TT
62302018-11-08 Tom Tromey <tom@tromey.com>
6231
6232 PR gdb/23555:
6233 PR gdb/23838:
6234 * gdb.base/warning.exp: New file.
6235
b5420128
JB
62362018-11-08 Jan Beulich <jbeulich@suse.com>
6237
6238 * testsuite/gdb.arch/i386-avx512.c,
6239 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
6240
cd115d61
AB
62412018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
6242
6243 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
6244 point hardware.
6245
35ee2dc2
AB
62462018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
6247
6248 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
6249 * gdb.dwarf2/missing-type-name.exp: New file.
6250
31aceee8
TV
62512018-11-06 Tom de Vries <tdevries@suse.de>
6252
6253 * gdb.base/many-headers.c: New test.
6254 * gdb.base/many-headers.exp: New file.
6255
109be305
JW
62562018-11-06 Jim Wilson <jimw@sifive.com>
6257
6258 * gdb.base/code_elim.exp: For riscv, set additional_flags
6259 to include -msmall-data-limit=0.
6260
e2b7af72
JB
62612018-11-01 Joel Brobecker <brobecker@adacore.com>
6262
6263 * gdb.ada/watch_minus_l: New testcase.
6264
cdcda965
SM
62652018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
6266
6267 * gdb.arch/aix-sighandle.c: New file.
6268 * gdb.arch/aix-sighandle.exp: New file.
6269
92dcebf3
AB
62702018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6271
6272 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
6273 registers being unions.
6274
68b9ac18
TV
62752018-10-31 Tom de Vries <tdevries@suse.de>
6276
6277 * lib/valgrind.exp: New file.
6278 (vgdb_start, vgdb_stop): New procs, factored out of ...
6279 * gdb.base/valgrind-bt.exp: ... here, ...
6280 * gdb.base/valgrind-disp-step.exp: ... here and ...
6281 * gdb.base/valgrind-infcall.exp: ... here.
6282
1443936e
TV
62832018-10-31 Tom de Vries <tdevries@suse.de>
6284
6285 * lib/gdb.exp (get_valueof): Don't output read value in test name.
6286
eb77c9df
AB
62872018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6288
6289 * gdb.dwarf2/void-type.c: New file.
6290 * gdb.dwarf2/void-type.exp: New file.
6291
82b5e646
PW
62922018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6293
6294 * gdb.base/info_qt.c: New file.
6295 * gdb.base/info_qt.exp: New file.
6296
8d619c01
EBM
62972018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6298
6299 * gdb.arch/powerpc-htm-regs.c: New file.
6300 * gdb.arch/powerpc-htm-regs.exp: New file.
6301
f2cf6173
EBM
63022018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6303
6304 * gdb.arch/powerpc-tar.c: New file.
6305 * gdb.arch/powerpc-tar.exp: New file.
6306
7ca18ed6
EBM
63072018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6308
6309 * gdb.arch/powerpc-ppr-dscr.c: New file.
6310 * gdb.arch/powerpc-ppr-dscr.exp: New file.
6311
bfcc0eba
TV
63122018-10-25 Tom de Vries <tdevries@suse.de>
6313
6314 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
6315
fe1a5cad
TV
63162018-10-24 Tom de Vries <tdevries@suse.de>
6317
6318 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
6319 longer exists error.
6320
a76dc3b7
TV
63212018-10-24 Tom de Vries <tdevries@suse.de>
6322
6323 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
6324
4df46df7
TV
63252018-10-24 Tom de Vries <tdevries@suse.de>
6326
6327 * gdb.base/valgrind-db-attach.exp: Handle removed support for
6328 --db-attach in valgrind.
6329
0dbfcfff
AB
63302018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
6331
6332 * gdb.arch/riscv-reg-aliases.c: New file.
6333 * gdb.arch/riscv-reg-aliases.exp: New file.
6334
b04480b1
AH
63352018-10-19 Alan Hayward <alan.hayward@arm.com>
6336
6337 * gdb.python/py-cmd.exp: Check for gdb_prompt.
6338
2c6ac8d7
AH
63392018-10-19 Alan Hayward <alan.hayward@arm.com>
6340
6341 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
6342
2bc69f25
AH
63432018-10-19 Alan Hayward <alan.hayward@arm.com>
6344
6345 * gdb.cp/ovldbreak.exp: Fix regexps.
6346
1f1ae3a3
AH
63472018-10-19 Alan Hayward <alan.hayward@arm.com>
6348
6349 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
6350
94c18618
SDJ
63512018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
6352
6353 PR cli/23785
6354 * gdb.base/restore.exp: New test to check if "restore" with an
6355 invalid file doesn't segfault.
6356
812cd6eb
TV
63572018-10-18 Tom de Vries <tdevries@suse.de>
6358
6359 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
6360 * gdb.ada/excep_handle.exp: Same.
6361 * gdb.ada/mi_string_access.exp: Same.
6362 * gdb.ada/mi_var_union.exp: Same.
6363 * gdb.arch/arc-analyze-prologue.exp: Same.
6364 * gdb.arch/arc-decode-insn.exp: Same.
6365 * gdb.base/readnever.exp: Same.
6366 * gdb.fortran/printing-types.exp: Same.
6367 * gdb.guile/scm-lazy-string.exp: Same.
6368
c4b90788
TV
63692018-10-16 Tom de Vries <tdevries@suse.de>
6370
6371 PR gdb/23730
6372 * gdb.base/catch-follow-exec.c: Add copyright notice.
6373 * gdb.base/catch-follow-exec.exp: Rewrite to use
6374 gdb_spawn_with_cmdline_opts. Require gdb-native.
6375
8bca2978
SL
63762018-10-12 Sandra Loosemore <sandra@codesourcery.com>
6377
6378 * gdb.trace/actions-changed.exp: Check for arch support.
6379 * gdb.trace/actions.exp: Likewise.
6380 * gdb.trace/ax.exp: Likewise.
6381 * gdb.trace/backtrace.exp: Likewise.
6382 * gdb.trace/change-loc.exp: Likewise.
6383 * gdb.trace/deltrace.exp: Likewise.
6384 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
6385 * gdb.trace/ftrace.exp: Likewise.
6386 * gdb.trace/infotrace.exp: Check for arch support.
6387 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
6388 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
6389 * gdb.trace/mi-tsv-changed.exp: Likewise.
6390 * gdb.trace/packetlen.exp: Likewise.
6391 * gdb.trace/passc-dyn.exp: Likewise.
6392 * gdb.trace/passcount.exp: Likewise.
6393 * gdb.trace/pending.exp: Likewise.
6394 * gdb.trace/range-stepping.exp: Check for shlib support.
6395 * gdb.trace/report.exp: Check for arch support.
6396 * gdb.trace/save-trace.exp: Likewise.
6397 * gdb.trace/signal.exp: Check for signal support.
6398 * gdb.trace/tfind.exp: Check for arch support.
6399 * gdb.trace/trace-break.exp: Check for arch and shlib support.
6400 * gdb.trace/trace-common.h: Add comment.
6401 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
6402 * gdb.trace/trace-enable-disable.exp: Likewise.
6403 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
6404 * gdb.trace/tracecmd.exp: Check for arch support.
6405 * gdb.trace/tspeed.exp: Check for shlib and target support.
6406 * gdb.trace/tstatus.exp: Check for arch support.
6407 * gdb.trace/tsv.exp: Likewise.
6408 * gdb.trace/while-dyn.exp: Likewise.
6409 * gdb.trace/while-stepping.exp: Likewise.
6410 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
6411
f9c49bff
SM
64122018-10-12 Simon Marchi <simon.marchi@ericsson.com>
6413
6414 * gdb.trace/tspeed.exp: Remove nowarnings.
6415 (prepare_for_trace_test): Declare "global ipalib".
6416 * gdb.trace/tspeed.c: Include unistd.h.
6417 (main): Remove superfluous printf argument.
6418
d4330bde
SL
64192018-10-11 Sandra Loosemore <sandra@codesourcery.com>
6420
6421 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
6422 directory prefix on the filename.
6423
8ecfd7bd
SDJ
64242018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
6425
6426 * gdb.gdb/unittest.exp: Update expected message informing that
6427 selftests have been disabled.
6428 * gdb.server/unittest.exp: Likewise.
6429
58bbcd02
TV
64302018-10-09 Tom de Vries <tdevries@suse.de>
6431
6432 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
6433 with runto_main.
6434
9f6b697b
WP
64352018-10-08 Weimin Pan <weimin.pan@oracle.com>
6436
6437 PR c++/16841
6438 * gdb.cp/virtbase2.cc: New file.
6439 * gdb.cp/virtbase2.exp: New file.
6440
add5ded5
TT
64412018-10-06 Tom Tromey <tom@tromey.com>
6442
6443 PR python/19399:
6444 * gdb.python/py-inferior.exp: Add architecture test.
6445
f9e48344
TT
64462018-10-06 Tom Tromey <tom@tromey.com>
6447
6448 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
6449 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
6450
2a8be203
TT
64512018-10-06 Tom Tromey <tom@tromey.com>
6452
6453 * gdb.python/py-breakpoint.exp (check_last_event): Check location
6454 of a "throw" catchpoint.
6455
e04caa70
SDJ
64562018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
6457
6458 * gdb.base/info-proc.exp: Update string expected from "help info
6459 proc".
6460
5ca8c39f
TT
64612018-10-04 Tom Tromey <tom@tromey.com>
6462
6463 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
6464 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
6465 (test_initial_complaints, test_empty_complaints): Update.
6466 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6467
3453e7e4
TT
64682018-10-04 Tom Tromey <tom@tromey.com>
6469
6470 PR cli/19551:
6471 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
6472 * lib/gdb.exp (gdb_file_cmd): Update.
6473 * gdb.stabs/weird.exp (print_weird_var): Update.
6474 * gdb.server/solib-list.exp: Update.
6475 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
6476 * gdb.mi/mi-cli.exp: Update.
6477 * gdb.linespec/linespec.exp: Update.
6478 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6479 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
6480 * gdb.cp/cp-relocate.exp: Update.
6481 * gdb.base/sym-file.exp: Update.
6482 * gdb.base/relocate.exp: Update.
6483 * gdb.base/readnever.exp: Update.
6484 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6485 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
6486 * gdb.base/dbx.exp (gdb_file_cmd): Update.
6487 * gdb.base/code_elim.exp: Update.
6488 * gdb.base/break-unload-file.exp (test_break): Update.
6489 * gdb.base/break-interp.exp (test_attach_gdb): Update.
6490 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
6491 Update.
6492 * gdb.base/attach.exp (do_attach_tests): Update.
6493 * gdb.base/sepdebug.exp: Update.
6494 * gdb.python/py-section-script.exp: Update.
6495
6afcf761
TT
64962018-10-04 Tom Tromey <tom@tromey.com>
6497
6498 PR cli/22234:
6499 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
6500 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
6501 output.
6502
fef1b293
TT
65032018-10-04 Tom Tromey <tom@tromey.com>
6504
6505 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
6506 set width and height to 0.
6507 (test_command_line_attach_run): Use -quiet.
6508
ca98345e
SL
65092018-10-03 Sandra Loosemore <sandra@codesourcery.com>
6510
6511 * lib/gdb.exp (skip_ifunc_tests): New.
6512 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
6513 other compile failures.
6514 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
6515
ff34e6ae
SM
65162018-10-01 Simon Marchi <simon.marchi@ericsson.com>
6517
6518 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
6519 is_amd64_regs_target.
6520
6bb8890e
AH
65212018-10-01 Alan Hayward <alan.hayward@arm.com>
6522
6523 * gdb.arch/aarch64-sighandler-regs.c: New test.
6524 * gdb.arch/aarch64-sighandler-regs.exp: New file.
6525 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
6526
224d30d3
MM
65272018-10-01 Markus Metzger <markus.t.metzger@intel.com>
6528
6529 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
6530 assembly.
6531
f67ffa6a
AB
65322018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
6533
6534 * gdb.base/frame-selection.exp: New file.
6535 * gdb.base/frame-selection.c: New file.
6536
9fc3183f
AH
65372018-09-27 Alan Hayward <alan.hayward@arm.com>
6538
6539 * gdb.threads/check-libthread-db.c (thread_routine): Use a
6540 pthread barrier.
6541 (main): Likewise.
6542
d354055e
AB
65432018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
6544
6545 * gdb.base/large-frame-1.c: New file.
6546 * gdb.base/large-frame-2.c: New file.
6547 * gdb.base/large-frame.exp: New file.
6548 * gdb.base/large-frame.h: New file.
6549
db727370
JL
65502018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
6551
6552 PR gdb/20948
6553 * gdb.base/write_mem.exp: New test.
6554 * gdb.base/write_mem.c: Likewise.
6555
ae778caf
TT
65562018-09-23 Tom Tromey <tom@tromey.com>
6557
6558 PR python/18852:
6559 * gdb.python/py-parameter.exp: Add test for parameter that throws
6560 on "set".
6561
fd3ba736
TT
65622018-09-23 Tom Tromey <tom@tromey.com>
6563
6564 PR python/17284:
6565 * gdb.python/py-template.exp (test_template_arg): Add test for
6566 negative template argument number.
6567
39a24317
TT
65682018-09-23 Tom Tromey <tom@tromey.com>
6569
6570 PR python/14062:
6571 * gdb.python/python.exp: Add test for post_event error.
6572
f5769a2c
TT
65732018-09-23 Tom Tromey <tom@tromey.com>
6574
6575 PR python/18170:
6576 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
6577 convert pointers to int and long.
6578
1c1e54f6
TT
65792018-09-23 Tom Tromey <tom@tromey.com>
6580
6581 PR python/20126:
6582 * gdb.python/py-value.exp (test_value_numeric_ops): Add
6583 signed-ness conversion tests.
6584
fb4fa946
TT
65852018-09-23 Tom Tromey <tom@tromey.com>
6586
6587 PR python/18352;
6588 * gdb.python/py-value.exp (test_float_conversion): New proc.
6589 Use it.
6590
a466edac
HAQ
65912018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
6592
6593 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
6594
4ee9b0c5
SL
65952018-09-18 Sandra Loosemore <sandra@codesourcery.com>
6596
6597 * gdb.base/complete-empty.exp: Skip tab-completion tests if
6598 no readline.
6599 * gdb.base/utf8-identifiers.exp: Likewise.
6600 * gdb.cp/cpcompletion.exp: Likewise.
6601 * gdb.linespec/cpcompletion.exp: Likewise.
6602 * gdb.linespec/cpls-abi-tag.exp: Likewise.
6603 * gdb.linespec/cpls-ops.exp: Likewise.
6604
23be8da7
RB
66052018-09-19 Richard Bunt <richard.bunt@arm.com>
6606 Chris January <chris.january@arm.com>
6607
6608 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
6609 * gdb.fortran/short-circuit-argument-list.exp: New file.
6610 * gdb.fortran/short-circuit-argument-list.f90: New test.
6611
5031d0ae
SDJ
66122018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6613
6614 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
6615 "arch=" keyword when executing "-stack-list-frames".
6616
b4c0d1a4
SDJ
66172018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6618
6619 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
6620 "arch=" keyword when executing "-stack-list-frames".
6621
7a6d2b45
SDJ
66222018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6623
6624 * gdb.ada/complete.exp: Expect for "@" when doing "complete
6625 break ada".
6626
8588b356
SM
66272018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
6628
6629 PR python/23669
6630 * gdb.python/python.exp: Test gdb.execute("show commands").
6631
65e65158
TT
66322018-09-16 Tom Tromey <tom@tromey.com>
6633
6634 * gdb.base/new-ui.exp (do_execution_tests): Update.
6635 * gdb.base/dbx.exp (test_breakpoints): Update.
6636
bf326452
AH
66372018-09-14 Alan Hayward <alan.hayward@arm.com>
6638
6639 * lib/gdb.exp (gdb_simple_compile): Add proc.
6640 (is_elf_target): Use gdb_simple_compile.
6641 (skip_altivec_tests): Likewise.
6642 (skip_vsx_tests): Likewise.
6643 (skip_tsx_tests): Likewise.
6644 (skip_btrace_tests): Likewise.
6645 (skip_btrace_pt_tests): Likewise.
6646 (gdb_can_simple_compile): Likewise.
6647 (gdb_has_argv0): Likewise.
6648 (gdb_target_symbol_prefix): Likewise.
6649 (target_supports_scheduler_locking): Likewise.
6650
2361b0fb
TT
66512018-09-13 Tom Tromey <tom@tromey.com>
6652
6653 * Makefile.in (TAGS): Recognize proc_with_prefix and
6654 gdb_caching_proc.
6655
0ae1a321
SM
66562018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6657
6658 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
6659 method.
6660
a40bf0c2
SM
66612018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6662
6663 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
6664 and a few other Inferior properties when the Inferior is no
6665 longer valid.
6666
4a3fe98f
TT
66672018-09-13 Tom Tromey <tom@tromey.com>
6668
6669 PR rust/23650:
6670 * gdb.rust/simple.exp: Add test for enum field access error.
6671
098b2108
TT
66722018-09-13 Tom Tromey <tom@tromey.com>
6673
6674 PR rust/23626:
6675 * gdb.rust/simple.rs (EmptyEnum): New type.
6676 (main): Use it.
6677 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
6678
1256af7d
SM
66792018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6680
6681 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
6682 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
6683 * gdb.python/py-symtab.exp: Update test printing an objfile.
6684
4aa8e6c2
SM
66852018-09-12 Simon Marchi <simon.marchi@ericsson.com>
6686
6687 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
6688 object.
6689
c221b2f7
AH
66902018-09-12 Alan Hayward <alan.hayward@arm.com>
6691
6692 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
6693 (support_complex_tests): Use gdb_can_simple_compile.
6694 (is_ilp32_target): Likewise.
6695 (is_lp64_target): Likewise.
6696 (is_64_target): Likewise.
6697 (is_amd64_regs_target): Likewise.
6698 (is_aarch32_target): Likewise.
6699 (gdb_int128_helper): Likewise.
6700
6f1107b5
JK
67012018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6702
6703 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
6704
1f5d1570
JG
67052018-09-10 Jerome Guitton <guitton@adacore.com>
6706
6707 * gdb.ada/same_component_name: Add test for case of tagged record
6708 with variable-length fields.
6709
cc330e39
XR
67102018-09-10 Xavier Roirand <roirand@adacore.com>
6711
6712 * gdb.ada/access_to_unbounded_array.exp: New testcase.
6713 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
6714 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
6715 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
6716
b9c50e9a
XR
67172018-09-10 Xavier Roirand <roirand@adacore.com>
6718
6719 * gdb.ada/mi_string_access.exp: New testcase.
6720 * gdb.ada/mi_string_access/bar.adb: New file.
6721 * gdb.ada/mi_string_access/pck.adb: New file.
6722 * gdb.ada/mi_string_access/pck.asd: New file.
6723
2963898f
XR
67242018-09-10 Xavier Roirand <roirand@adacore.com>
6725
6726 * gdb.ada/mi_var_union.exp: New testcase.
6727 * gdb.ada/mi_var_union/bar.adb: New file.
6728 * gdb.ada/mi_var_union/pck.adb: New file.
6729 * gdb.ada/mi_var_union/pck.asd: New file.
6730
1aac008f
TT
67312018-09-08 Tom Tromey <tom@tromey.com>
6732
6733 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
6734
332cf4c9
TT
67352018-09-08 Tom Tromey <tom@tromey.com>
6736
6737 PR python/16047:
6738 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
6739 (register_pretty_printers): Register new printer.
6740 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
6741 test.
6742 * gdb.python/py-prettyprint.c (int_type3): New typedef.
6743 (an_int_type3): New global.
6744
424da6cf
JB
67452018-09-08 Joel Brobecker <brobecker@adacore.com>
6746
6747 * gdb.ada/expr_with_funcall: New testcase.
6748
2a62dfa9
JB
67492018-09-08 Joel Brobecker <brobecker@adacore.com>
6750
6751 * gdb.ada/packed_array_assign: New testcase.
6752
96b6697f
AB
67532018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
6754
6755 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
6756 names, and add test prefixes to make test names unique.
6757
e4a62c65
TV
67582018-09-05 Tom de Vries <tdevries@suse.de>
6759
6760 * gdb.dwarf2/varval.exp: Add test.
6761
dd083ee2
GB
67622018-09-04 Gary Benson <gbenson@redhat.com>
6763
6764 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
6765 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
6766
aef9346c
TT
67672018-08-31 Tom Tromey <tom@tromey.com>
6768
6769 * gdb.rust/simple.rs: Rename second variable "v".
6770
c67f2e15
AB
67712018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
6772
6773 * gdb.base/funcargs.c (use_a): New function.
6774 (recurse): Call use_a.
6775
078a0207
KS
67762018-08-29 Keith Seitz <keiths@redhat.com>
6777
6778 * gdb.compile/compile-cplus-anonymous.cc: New file.
6779 * gdb.compile/compile-cplus-anonymous.exp: New file.
6780 * gdb.compile/compile-cplus-array-decay.cc: New file.
6781 * gdb.compile/compile-cplus-array-decay.exp: New file.
6782 * gdb.compile/compile-cplus-inherit.cc: New file.
6783 * gdb.compile/compile-cplus-inherit.exp: New file.
6784 * gdb.compile/compile-cplus-member.cc: New file.
6785 * gdb.compile/compile-cplus-member.exp: New file.
6786 * gdb.compile/compile-cplus-method.cc: New file.
6787 * gdb.compile/compile-cplus-method.exp: New file.
6788 * gdb.compile/compile-cplus-mod.c: "New" file.
6789 * gdb.compile/compile-cplus-namespace.cc: New file.
6790 * gdb.compile/compile-cplus-namespace.exp: New file.
6791 * gdb.compile/compile-cplus-nested.cc: New file.
6792 * gdb.compile/compile-cplus-nested.exp: New file.
6793 * gdb.compile/compile-cplus-print.c: "New" file.
6794 * gdb.compile/compile-cplus-print.exp: "New" file.
6795 * gdb.compile/compile-cplus-virtual.cc: New file.
6796 * gdb.compile/compile-cplus-virtual.exp: New file.
6797 * gdb.compile/compile-cplus.c: "New" file.
6798 * gdb.compile/compile-cplus.exp: "New" file.
6799 * lib/compile-support.exp: New file.
6800
b0f492b9
GB
68012018-08-16 Gary Benson <gbenson@redhat.com>
6802
6803 PR gdb/13000:
6804 * gdb.base/batch-exit-status.exp: New file.
6805 * gdb.base/batch-exit-status.good-commands: Likewise.
6806 * gdb.base/batch-exit-status.bad-commands: Likewise.
6807
36eb4c5f
AH
68082018-08-29 Alan Hayward <alan.hayward@arm.com>
6809
6810 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
6811 (struct struct02): Likewise.
6812 (struct struct03): Likewise.
6813 (struct struct04): Likewise.
6814 (struct struct_01_01): New struct.
6815 (struct struct_01_02): Likewise.
6816 (struct struct_01_03): Likewise.
6817 (struct struct_01_04): Likewise.
6818 (struct struct_02_01): Likewise.
6819 (struct struct_02_02): Likewise.
6820 (struct struct_02_03): Likewise.
6821 (struct struct_02_04): Likewise.
6822 (struct struct_04_01): Likewise.
6823 (struct struct_04_02): Likewise.
6824 (struct struct_04_03): Likewise.
6825 (struct struct_04_04): Likewise.
6826 (struct struct_05_01): Likewise.
6827 (struct struct_05_02): Likewise.
6828 (struct struct_05_03): Likewise.
6829 (struct struct_05_04): Likewise.
6830 (cmp_struct01): Remove function.
6831 (cmp_struct02): Likewise.
6832 (cmp_struct03): Likewise.
6833 (cmp_struct04): Likewise.
6834 (cmp_struct_01_01): Add Function.
6835 (cmp_struct_01_02): Likewise.
6836 (cmp_struct_01_03): Likewise.
6837 (cmp_struct_01_04): Likewise.
6838 (cmp_struct_02_01): Likewise.
6839 (cmp_struct_02_02): Likewise.
6840 (cmp_struct_02_03): Likewise.
6841 (cmp_struct_02_04): Likewise.
6842 (cmp_struct_04_01): Likewise.
6843 (cmp_struct_04_02): Likewise.
6844 (cmp_struct_04_03): Likewise.
6845 (cmp_struct_04_04): Likewise.
6846 (cmp_struct_05_01): Likewise.
6847 (cmp_struct_05_02): Likewise.
6848 (cmp_struct_05_03): Likewise.
6849 (cmp_struct_05_04): Likewise.
6850 (call_all): Add new structs.
6851 * gdb.base/infcall-nested-structs.exp: Likewise.
6852
3bf9c013
JV
68532018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
6854
6855 * gdb.python/py-framefilter-mi.exp: Update regexp to
6856 check for "arch" field in frame output.
6857
450d1e88
KB
68582018-08-23 Kevin Buettner <kevinb@redhat.com>
6859
6860 * gdb.dwarf2/dw2-ranges-func.c: New file.
6861 * gdb.dwarf2/dw2-ranges-func.exp: New file.
6862
ae739fe7
SM
68632018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
6864
6865 * gdb.base/term.exp: Compare terminal settings with values from
6866 the inferior.
6867 * gdb.base/term.c: Get and set terminal settings.
6868
6d52907e
JV
68692018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
6870
6871 * lib/mi-support.exp (mi_expect_stop): Update regexp to
6872 accommodate new "arch" field in frame output.
6873 * gdb.mi/mi-return.exp: Likewise.
6874 * gdb.mi/mi-stack.exp: Likewise.
6875 * gdb.mi/mi-syn-frame.exp: Likewise.
6876 * gdb.mi/user-selected-context-sync.exp: Likewise.
6877
be2d111a
MS
68782018-08-19 Michael Spang <spang@google.com>
6879
6880 PR gdb/11786
6881 * gdb.base/gcore-tls-pie.c: New file.
6882 * gdb.base/gcore-tls-pie.exp: New file.
6883
ae3a7c47
KB
68842018-08-18 Kevin Buettner <kevinb@redhat.com>
6885
6886 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
6887 * gdb.dwarf2/varval.c: New file.
6888 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 6889
2ecae92e
AH
68902018-08-17 Alan Hayward <alan.hayward@arm.com>
6891
6892 PR gdb/18931
6893 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
6894
c1854f1d
KS
68952018-08-16 Keith Seitz <keiths@redhat.com>
6896
6897 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
6898 tests expected to pass.
6899
26fb3983
JV
69002018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
6901
6902 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
6903 -data-disassemble -a.
6904 (test_disassembly_bogus_args): Likewise.
6905
67943c00
AB
69062018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
6907
6908 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
6909
5ff2bbae
AB
69102018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6911
6912 * gdb.base/vla-optimized-out.exp: Add new test.
6913
e5bbcd0f
AB
69142018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6915
6916 * gdb.base/vla-optimized-out-o3.exp: Delete.
6917 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
6918 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
6919 deleted tests.
6920
9d4a934c
AB
69212018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
6922
6923 PR gdb/18050:
6924 * gdb.server/extended-remote-restart.c: New file.
6925 * gdb.server/extended-remote-restart.exp: New file.
6926
045cf012
SM
69272018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
6928
6929 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
6930 "set variable index = 42".
6931
87d6a7aa
SM
69322018-08-07 Simon Marchi <simon.marchi@ericsson.com>
6933
6934 * boards/index-cache-gdb.exp: New file.
6935 * gdb.dwarf2/index-cache.exp: New file.
6936 * gdb.dwarf2/index-cache.c: New file.
6937 * gdb.base/maint.exp: Check if we are using the index cache.
6938
96d68bd4
RO
69392018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6940
6941 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
6942 MAKEFLAGS.
6943
5a699617
RO
69442018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6945
6946 * dg-extract-results.sh: Move to toplevel contrib.
6947 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
6948 * Makefile.in (check-parallel-racy): Likewise.
6949
5bd18990
AB
69502018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
6951
6952 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
6953 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
6954 tests if the target supports scheduler locking.
6955
3fbbcf47
TV
69562018-08-04 Tom de Vries <tdevries@suse.de>
6957
6958 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
6959
3e1d3d8c
TT
69602018-08-02 Tom Tromey <tom@tromey.com>
6961
6962 PR symtab/16842.
6963 * gdb.cp/temargs.exp: Test "info address" of a template
6964 parameter.
6965
5abe0f0c
JV
69662018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
6967
6968 * gdb.python/py-mi-var-info-path-expression.c: New file.
6969 * gdb.python/py-mi-var-info-path-expression.py: New file.
6970 * gdb.python/py-mi-var-info-path-expression.exp: New file.
6971
fb66cde8
SDJ
69722018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
6973
6974 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
6975 error after "cannot resolve name" string.
6976
c708f4d2
AB
69772018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
6978
6979 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
6980 started.
6981 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
6982
37cc0cae
TV
69832018-07-28 Tom de Vries <tdevries@suse.de>
6984
6985 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
6986
63b4ecf7
TV
69872018-07-26 Tom de Vries <tdevries@suse.de>
6988
6989 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
6990
3c3bb058
AB
69912018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
6992
6993 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
6994 is visible.
6995
9e7f3bbb
TV
69962018-07-26 Tom de Vries <tdevries@suse.de>
6997
6998 PR breakpoints/23366
6999 * gdb.base/catch-follow-exec.c: New test.
7000 * gdb.base/catch-follow-exec.exp: New file.
7001
16f808ec
TV
70022018-07-25 Tom de Vries <tdevries@suse.de>
7003
7004 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
7005 vla-optimized-out.c.
7006
d7154a8d
JV
70072018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
7008
7009 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
7010 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
7011
232a0032
TV
70122018-07-20 Tom de Vries <tdevries@suse.de>
7013
7014 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
7015 NOCLONE macro.
7016 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
7017
fbb1d502
TV
70182018-07-19 Tom de Vries <tdevries@suse.de>
7019
7020 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
7021 regular expression.
7022
42dc7699
TV
70232018-07-18 Tom de Vries <tdevries@suse.de>
7024
7025 * gdb.base/vla-optimized-out.c: New test.
7026 * gdb.base/vla-optimized-out.exp: New file.
7027
7f1f7e23
SDJ
70282018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
7029
7030 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
7031 message "No address associated with hostname" when gdbserver
7032 cannot resolve the hostname.
7033
5759ebb3
PW
70342018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7035
7036 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
7037 Add some test prefixes to make tests unique.
7038
3606ccab
PW
70392018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7040
7041 * gdb.base/frameapply.c: New file.
7042 * gdb.base/frameapply.exp: New file.
7043
529c08b2
PW
70442018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7045
7046 * gdb.base/skip.exp: Update expected error message.
7047
c7ab0aef
SDJ
70482018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7049 Jan Kratochvil <jan.kratochvil@redhat.com>
7050 Paul Fertser <fercerpav@gmail.com>
7051 Tsutomu Seki <sekiriki@gmail.com>
7052
7053 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
7054 parameter.
7055 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
7056 by default.
7057 * boards/native-gdbserver.exp: Likewise.
7058 * gdb.server/run-without-local-binary.exp: Improve regexp used
7059 for detecting when a remote debugging connection succeeds.
7060 * gdb.server/server-connect.exp: New file.
7061 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
7062 Do not prefix the port number with ":".
7063 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
7064 support for detecting and using it. Add '$debughost_gdbserver'
7065 to the list of arguments used to start gdbserver. Handle case
7066 when gdbserver cannot resolve a network name.
7067
16ff70dd
SDJ
70682018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7069
7070 PR c++/23373
7071 * gdb.base/ptype-offsets.cc (struct static_member): New
7072 struct.
7073 (main) <stmember>: New variable.
7074 * gdb.base/ptype-offsets.exp: Add test for printing a struct
7075 with a static member in it.
7076
3541979f
AB
70772018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
7078
7079 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
7080 watchpoints enabled and disabled.
7081
c8ad9b9a
AB
70822018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7083
7084 * gdb.base/examine-backward.exp: Still run tests around address
7085 0x0, even if address 0x0 is not readable. Update the pattern for
7086 matching address 0x0 in expected output.
7087
e0e5e971
AB
70882018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
7089
7090 * gdb.base/share-env-with-gdbserver.c (main): Add call to
7091 malloc/free.
7092
1ea5da02
TV
70932018-07-04 Tom de Vries <tdevries@suse.de>
7094
7095 * gdb.dwarf2/dw2-error.exp: Update expected error message.
7096
471b9d15
MR
70972018-07-02 Maciej W. Rozycki <macro@mips.com>
7098
7099 PR tdep/8282
7100 * gdb.arch/mips-disassembler-options.exp: New test.
7101 * gdb.arch/mips-disassembler-options.s: New test source.
7102
75acb486
PA
71032018-06-29 Pedro Alves <palves@redhat.com>
7104
7105 * gdb.threads/names.exp: Adjust expected "info threads" output.
7106
cd2bb709
PA
71072018-06-29 Pedro Alves <palves@redhat.com>
7108
7109 * gdb.opt/inline-break.exp (line number, address): Add "info
7110 break" tests.
7111
991ff292
PA
71122018-06-29 Pedro Alves <palves@redhat.com>
7113
7114 * gdb.opt/inline-break.c (func1): Add "break here" marker.
7115 * gdb.opt/inline-break.exp: Test setting breakpoints by line
7116 number and address and running to them.
7117
356819b6 71182018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
7119
7120 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
7121
2512d7ef
JK
71222018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7123
7124 * lib/compiler.c: Remove executable permission flag.
7125
be1b6474
RB
71262018-06-28 Richard Bunt <richard.bunt@arm.com>
7127
7128 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
7129 code.
7130 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
7131
291f9a96
PT
71322018-06-28 Petr Tesarik <ptesarik@suse.cz>
7133
7134 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
7135
ed6dfe51
PT
71362018-06-28 Petr Tesarik <ptesarik@suse.cz>
7137
7138 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
7139 address argument is omitted.
7140
d4d429d5
PT
71412018-06-28 Petr Tesarik <ptesarik@suse.cz>
7142
7143 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
7144
7ab6656f
OJ
71452018-06-27 Omair Javaid <omair.javaid@linaro.org>
7146
7147 PR gdb/21695
7148 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
7149 * gdb.base/infoline-reloc-main-from-zero.c: New file.
7150
a33ccfc7
TT
71512018-06-26 Tom Tromey <tom@tromey.com>
7152
7153 PR rust/22574:
7154 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
7155 * gdb.rust/simple.rs (struct SimpleLayout): New.
7156
6d72d289
SM
71572018-06-22 Simon Marchi <simon.marchi@ericsson.com>
7158
7159 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
7160 "info registers" output.
7161
8363f9d5
RB
71622018-06-21 Richard Bunt <richard.bunt@arm.com>
7163
7164 * gdb.base/watchpoint-hw-attach.c: New test.
7165 * gdb.base/watchpoint-hw-attach.exp: New file.
7166
f00674fe
SM
71672018-06-20 Simon Marchi <simon.marchi@ericsson.com>
7168
7169 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
7170 through /bin/sh.
7171 * boards/dwarf4-gdb-index.exp: Likewise.
7172 * boards/fission-dwp.exp: Likewise.
7173
1d554008
UW
71742018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
7175
7176 * gdb.base/float128.exp: Add comment and improved fail message
7177 to the failure case of "print large128" test.
7178
d0ac1c44
SM
71792018-06-19 Simon Marchi <simon.marchi@ericsson.com>
7180
7181 * configure.ac: Remove AC_PREREQ.
7182 * configure: Re-generate.
7183
61b04dd0
PA
71842018-06-19 Pedro Alves <palves@redhat.com>
7185
7186 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
7187 (func_extern_caller): New.
7188 (main): Call func_extern_caller.
7189 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
7190 logic change.
7191
f63b508a
SM
71922018-06-18 Weimin Pan <weimin.pan@oracle.com>
7193
7194 PR gdb/16841
7195 * gdb.cp/typedef-base.cc: New file.
7196 * gdb.cp/typedef-base.exp: New file.
7197
0fe3a558
TV
71982018-06-18 Tom de Vries <tdevries@suse.de>
7199
7200 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
7201
7010835a
AB
72022018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7203 Richard Bunt <Richard.Bunt@arm.com>
7204
7205 * gdb.threads/attach-slow-waitpid.c: New file.
7206 * gdb.threads/attach-slow-waitpid.exp: New file.
7207 * gdb.threads/slow-waitpid.c: New file.
7208
14897d65
PA
72092018-06-14 Pedro Alves <palves@redhat.com>
7210
7211 * gdb.base/fork-running-state.c: Include <errno.h>.
7212 (exit_if_relative_exits): New.
7213 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
7214 exits.
7215 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
7216 child exits.
7217
5d9a0608
TV
72182018-06-14 Tom de Vries <tdevries@suse.de>
7219
7220 PR cli/22573
7221 * gdb.base/finish-pretty.c: New test.
7222 * gdb.base/finish-pretty.exp: New file.
7223
11ae5818
PA
72242018-06-14 Pedro Alves <palves@redhat.com>
7225
7226 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
7227 gdb's expected startup output.
7228
1d39de44
PA
72292018-06-14 Pedro Alves <palves@redhat.com>
7230
7231 * lib/selftest-support.exp (selftest_setup): Remove inlined
7232 function handling.
7233
70ee0000
TV
72342018-06-14 Tom de Vries <tdevries@suse.de>
7235
7236 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
7237 matching of breakpoint printing.
7238
11f4b608
TV
72392018-06-13 Tom de Vries <tdevries@suse.de>
7240
7241 PR testsuite/23269
7242 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
7243 (fork_child): ... here, and ...
7244 (fork_parent): ... here.
7245
72462018-06-12 Tom de Vries <tdevries@suse.de>
7247
7248 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
7249
9516f85a
AB
72502018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
7251 Stephen Roberts <stephen.roberts@arm.com>
7252
7253 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
7254 rewrite test to describe action performed, rather than possible
7255 failure.
7256
5045b3d7
GB
72572018-06-08 Gary Benson <gbenson@redhat.com>
7258
7259 * gdb.threads/check-libthread-db.exp: New file.
7260 * gdb.threads/check-libthread-db.c: Likewise.
7261
c61b06a1
TT
72622018-06-05 Tom Tromey <tom@tromey.com>
7263
7264 * gdb.base/default.exp: Update expected "show version" output.
7265
eb6af809
TT
72662018-06-05 Tom Tromey <tom@tromey.com>
7267
7268 PR cli/12326:
7269 * gdb.cp/static-print-quit.exp: Update.
7270 * lib/gdb.exp (pagination_prompt): Update.
7271 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
7272 * gdb.python/python.exp: Update.
7273
178d6a63
JB
72742018-06-04 Joel Brobecker <brobecker@adacore.com>
7275
7276 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
7277
8e817061
JB
72782018-06-01 Joel Brobecker <brobecker@adacore.com>
7279
7280 * gdb.ada/bp_fun_addr: New testcase.
7281
e86ca25f
TT
72822018-06-01 Tom Tromey <tom@tromey.com>
7283
7284 * gdb.xml/tdesc-regs.exp (load_description): Update expected
7285 results.
7286 * gdb.dwarf2/method-ptr.exp: Set language to C++.
7287 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
7288 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
7289 * gdb.base/maint.exp (maint_pass_if): Update.
7290
4b2dfa9d
MR
72912018-05-31 Maciej W. Rozycki <macro@mips.com>
7292
7293 * gdb.base/endian.exp: New test.
7294 * gdb.base/endian.c: New test source.
7295
45f25d6c
AB
72962018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
7297
7298 PR gdb/23203
7299 * gdb.base/bt-selected-frame.c: New file.
7300 * gdb.base/bt-selected-frame.exp: New file.
7301 * lib/gdb.exp (get_current_frame_number): New function.
7302
d9f6d7f8
MR
73032018-05-24 Maciej W. Rozycki <macro@mips.com>
7304 Pedro Alves <palves@redhat.com>
7305
7306 * gdb.threads/tls-core.c: Include <stdlib.h>
7307 (thread_proc): Call `abort'.
7308 * gdb.threads/tls-core.exp: Generate a core with core_find too.
7309 (tls_core_test): New procedure, bits factored out from ...
7310 (top level): ... here. Test both native cores and gcore cores.
7311
ff1cf532
TT
73122018-05-23 Tom Tromey <tom@tromey.com>
7313
7314 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
7315
b98664d3
TT
73162018-05-23 Tom Tromey <tom@tromey.com>
7317
7318 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
7319 symfile_complaints.
7320 (test_short_complaints): Likewise.
7321 (test_empty_complaints): Likewise.
7322 (test_initial_complaints): Update.
7323
4e9668d0
TT
73242018-05-23 Tom Tromey <tom@tromey.com>
7325
7326 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
7327
43ba33c7
TT
73282018-05-23 Tom Tromey <tom@tromey.com>
7329
7330 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
7331 (test_short_complaints): Update.
7332
035522c0
PA
73332018-05-22 Pedro Alves <palves@redhat.com>
7334
7335 * gdb.base/remote.exp: Only gdb_start after compiling the
7336 testcase. Issue "disconnect" before testing "set remote" command
7337 defaults. Issue clean_restart before running to main.
7338
cc0be08f
PA
73392018-05-22 Pedro Alves <palves@redhat.com>
7340
7341 * gdb.base/remote.exp: Adjust expected output of "show remote
7342 memory-write-packet-size". Add tests for "set remote
7343 memory-write-packet-size 0" and "set remote
7344 memory-write-packet-size fixed/limit".
7345
b1b60145
PA
73462018-05-22 Pedro Alves <palves@redhat.com>
7347
7348 PR gdb/22973
7349 * gdb.base/utf8-identifiers.c: New file.
7350 * gdb.base/utf8-identifiers.exp: New file.
7351
0ec848ad
PFC
73522018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7353
7354 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
7355
2c3305f6
PFC
73562018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7357
7358 * gdb.arch/powerpc-vsx-gcore.exp: New file.
7359
ce1e8424
TT
73602018-05-18 Tom Tromey <tom@tromey.com>
7361
7362 * gdb.base/ptype-offsets.exp: Update.
7363
ddfe970e
KS
73642018-05-17 Keith Seitz <keiths@redhat.com>
7365
7366 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
7367 in expected breakpoint stop locations.
7368 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
7369 move to proper scope to test variable values.
7370 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
7371 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
7372 New functions.
7373 (main): Call not_inline_func3.
7374 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
7375 inline_func1, inline_func2, and inline_func3. Test that when each
7376 breakpoint is hit, GDB properly reports both the stop location
7377 and the backtrace. Repeat tests for temporary breakpoints.
7378
0726fcc6
MR
73792018-05-15 Maciej W. Rozycki <macro@mips.com>
7380
7381 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
7382 rather then trying to access it in determining whether the PID
7383 of `gdbserver' could have been retrieved.
7384
8ee22052
AB
73852018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
7386
7387 * gdb.arch/amd64-init-x87-values.S: New file.
7388 * gdb.arch/amd64-init-x87-values.exp: New file.
7389
7785df48
JK
73902018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7391
7392 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
7393
56bcdbea
TT
73942018-05-04 Tom Tromey <tom@tromey.com>
7395
7396 PR python/22730:
7397 * gdb.python/python.exp: Test multi-line execute.
7398
a913fffb
TT
73992018-05-04 Tom Tromey <tom@tromey.com>
7400
7401 PR python/22731:
7402 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
7403
7a2c85f2
TT
74042018-05-04 Tom Tromey <tom@tromey.com>
7405
7406 PR gdb/11750:
7407 * gdb.base/define.exp: Test defining a user command inside a user
7408 command.
7409 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
7410
a3b60e45
JK
74112018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7412 Pedro Alves <palves@redhat.com>
7413
7414 PR breakpoints/19806 and support for PR external/20207.
7415 * gdb.base/watchpoint-unaligned.c: New file.
7416 * gdb.base/watchpoint-unaligned.exp: New file.
7417
45fe4a03
AB
74182018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7419
7420 * gdb.base/maint.exp: Make test names unique, use
7421 test_prefix_command_help to test 'help maint info', and remove
7422 repeated test of 'help maint'.
7423
9be2ae8f
TT
74242018-05-04 Tom Tromey <tom@tromey.com>
7425
7426 PR gdb/22619:
7427 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
7428 behavior.
7429
11859c31
AB
74302018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7431
7432 * gdb.base/maint.exp: Process output from 'maint print registers'
7433 line at a time.
7434
089a9490
AB
74352018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7436
7437 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
7438 timeout.
7439
9b0797e2
AB
74402018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
7441
7442 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
7443 filter pattern.
7444
f6ac5f3d
PA
74452018-05-02 Pedro Alves <palves@redhat.com>
7446
7447 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
7448 to_log_command renames.
7449 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7450
77d3c63b
TT
74512018-05-02 Tom Tromey <tom@tromey.com>
7452
7453 * gdb.python/py-parameter.exp: Set test message.
7454
0489430a
TT
74552018-05-02 Tom Tromey <tom@tromey.com>
7456
7457 PR python/20084:
7458 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
7459 PARAM_ZUINTEGER_UNLIMITED tests.
7460
1632f8ba
DR
74612018-04-28 Dan Robertson <danlrobertson89@gmail.com>
7462
7463 PR rust/23124
7464 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
7465 when casting.
7466
6d7bb824
TT
74672018-04-30 Tom Tromey <tom@tromey.com>
7468
7469 * gdb.python/py-type.exp: Check align attribute.
7470 * gdb.python/py-type.c: New "aligncheck" global.
7471
007e1530
TT
74722018-04-30 Tom Tromey <tom@tromey.com>
7473
7474 PR exp/17095:
7475 * gdb.dwarf2/dw2-align.exp: New file.
7476 * gdb.cp/align.exp: New file.
7477 * gdb.base/align.exp: New file.
7478 * lib/gdb.exp (gdb_int128_helper): New proc.
7479 (has_int128_c, has_int128_cxx): New caching procs.
7480
6873858b
TT
74812018-04-27 Tom Tromey <tom@tromey.com>
7482
7483 PR rust/22545:
7484 * gdb.rust/simple.exp: Add inclusive range tests.
7485
79188d8d
PA
74862018-04-26 Pedro Alves <palves@redhat.com>
7487
7488 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
7489 ifunc breakpoint locations correctly of ifunc breakpoints set
7490 while the program resolves the ifunc.
7491
c7075ad5
PA
74922018-04-26 Pedro Alves <palves@redhat.com>
7493
7494 * gdb.base/gnu-ifunc-final.c: New file.
7495 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
7496 * gdb.base/gnu-ifunc.exp (executable): Delete.
7497 (staticexecutable): Adjust.
7498 (lib_opts, exec_opts): Delete.
7499 (make_binsuffix, build, set-break): New procedures.
7500 (misc_tests): New, with tests factored out from the top level.
7501 (top level): Test different combinations of ifunc resolver name,
7502 resolver with and with debug info, and ifunc target with and
7503 without debug info. Wrap static tests with with_target_prefix.
7504
8388016d
PA
75052018-04-26 Pedro Alves <palves@redhat.com>
7506
7507 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
7508 return type" warnings.
7509
249b5733
PA
75102018-04-25 Pedro Alves <palves@redhat.com>
7511
7512 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
7513 killed".
7514 * gdb.base/kill-after-signal.exp: Likewise.
7515 * gdb.threads/kill.exp: Likewise.
7516
f67c0c91
SDJ
75172018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7518 Sergio Durigan Junior <sergiodj@redhat.com>
7519 Pedro Alves <palves@redhat.com>
7520
7521 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
7522 regexps to expect for '[Inferior ... detached]' as well.
7523 * gdb.base/attach.exp: Likewise.
7524 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
7525 "gdb_continue_to_end".
7526 (test_catch_syscall_with_wrong_args): Likewise.
7527 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
7528 ']'. Don't set 'verbose' on.
7529 * gdb.base/foll-vfork.exp: Likewise.
7530 * gdb.base/fork-print-inferior-events.c: New file.
7531 * gdb.base/fork-print-inferior-events.exp: New file.
7532 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
7533 '[Inferior ... has been killed]' message.
7534 * gdb.base/kill-after-signal.exp: Likewise.
7535 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
7536 detach message.
7537 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
7538 message.
7539 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
7540 regexps to expect for '[Inferior ... detached]' as well.
7541 * gdb.threads/process-dies-while-detaching.exp: Likewise.
7542
0a8ddac4
SM
75432018-04-24 Simon Marchi <simon.marchi@ericsson.com>
7544
7545 PR gdb/23104
7546 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
7547
701adfb0
PA
75482018-04-22 Rajendra SY <rajendra.sy@gmail.com>
7549
7550 PR gdb/23095
7551 * gdb.base/break-probes.exp: Pass shlib_load to
7552 prepare_for_testing. Set normal_bp to r_debug_state if target is
7553 bsd.
7554
d27d16bf
RB
75552018-04-19 Richard Bunt <richard.bunt@arm.com>
7556
7557 * gdb.threads/multiple-successive-infcall.c: New test.
7558 * gdb.threads/multiple-successive-infcall.exp: New file.
7559
a037790e
TT
75602018-04-17 Tom Tromey <tom@tromey.com>
7561
7562 * gdb.rust/simple.rs (Union): New type.
7563 (main): New local "u".
7564 * gdb.rust/simple.exp (test_one_slice): Add new test case.
7565
e3a91079
AA
75662018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7567
7568 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
7569 number information in output of "whereis" command.
7570 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
7571
b744723f
AA
75722018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7573
7574 * gdb.ada/info_types.exp: Adjust expected output to the line
7575 numbers now printed by "info var/func/type".
7576 * gdb.base/completion.exp: Likewise.
7577 * gdb.base/included.exp: Likewise.
7578 * gdb.cp/cp-relocate.exp: Likewise.
7579 * gdb.cp/cplusfuncs.exp: Likewise.
7580 * gdb.cp/namespace.exp: Likewise.
7581 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
7582
4a4495d6
MM
75832018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7584
7585 * gdb.btrace/cpu.exp: New.
7586
1d509aa6
MM
75872018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7588
7589 * gdb.base/step-indirect-call-thunk.exp: New.
7590 * gdb.base/step-indirect-call-thunk.c: New.
7591 * gdb.reverse/step-indirect-call-thunk.exp: New.
7592 * gdb.reverse/step-indirect-call-thunk.c: New.
7593
6295b6da
SM
75942018-04-11 Simon Marchi <simon.marchi@ericsson.com>
7595
7596 * gdb.base/pie-fork.c: New file.
7597 * gdb.base/pie-fork.exp: New file.
7598
50146e70
TT
75992018-04-11 Tom Tromey <tom@tromey.com>
7600
7601 * gdb.rust/simple.exp: Add test for ".." struct initializer.
7602
f50d8a2e
PA
76032018-04-10 Pedro Alves <palves@redhat.com>
7604
7605 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
7606 exits. Instead loop running forever.
7607 (fork_parent): Run forever too.
7608
a0be7a36
SM
76092018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7610
7611 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
7612 mi_continue_to_line.
7613 * gdb.mi/mi-stack.c (callee4): Add comment.
7614
9b73db36
SM
76152018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7616
7617 * gdb.mi/mi-stack.exp: Fix indentation.
7618
c912f608
SM
76192018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7620
7621 PR gdb/22979
7622 * gdb.arch/amd64-osabi.exp: New file.
7623
26540402
SM
76242018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7625
7626 PR gdb/22980
7627 * gdb.base/osabi.exp: New file.
7628
121ad66c 76292018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
7630
7631 * gdb.cp/static-typedef-print.exp: New file.
7632 * gdb.cp/static-typedef-print.cc: New file.
7633
3fcded8f
JB
76342018-03-27 Joel Brobecker <brobecker@adacore.com>
7635
7636 * gdb.ada/varsize_limit: New testcase.
7637
59cc4834
JB
76382018-03-27 Joel Brobecker <brobecker@adacore.com>
7639
7640 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
7641
7642 * gdb.ada/notcplusplus: New testcase.
7643
7644 * gdb.base/c-linkage-name.c: New file.
7645 * gdb.base/c-linkage-name.exp: New testcase.
7646
4ca59a9f
TT
76472018-03-26 Tom Tromey <tom@tromey.com>
7648
7649 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
7650 * gdb.python/py-framefilter.py (name_error): New global.
7651 (ErrorInName.function): Use name_error.
7652
978d6c75
TT
76532018-03-26 Tom Tromey <tom@tromey.com>
7654
7655 PR backtrace/15582:
7656 * gdb.python/py-framefilter.exp: Add "bt hide" test.
7657
b7fee5a3
KS
76582018-03-23 Keith Seitz <keiths@redhat.com>
7659
7660 PR c++/22968
7661 * gdb.cp/subtypes.exp: New file.
7662 * gdb.cp/subtypes.h: New file.
7663 * gdb.cp/subtypes.cc: New file.
7664 * gdb.cp/subtypes-2.cc: New file.
7665
376be529
AB
76662018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7667
7668 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
7669 (done): Call '_exit' not 'exit' to avoid atexit handlers.
7670 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
7671 -nostartfiles when compiling the test. Confirm that all registers
7672 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
7673
066cfa98
AB
76742018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7675
7676 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
7677 option, syntax was wrong anyway.
7678 * gdb.arch/arm-disp-step.exp: Likewise.
7679 * gdb.arch/sparc64-regs.exp: Likewise.
7680 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
7681 option, syntax was wrong anyway, switch to use
7682 prepare_for_testing.
7683 * gdb.arch/i386-disp-step.exp: Likewise.
7684
079670b9
AA
76852018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
7686
7687 * gdb.ada/exec_changed.exp: Replace "target_info exists
7688 use_gdb_stub" by "use_gdb_stub".
7689 * gdb.ada/start.exp: Likewise.
7690 * gdb.base/async-shell.exp: Likewise.
7691 * gdb.base/attach-pie-misread.exp: Likewise.
7692 * gdb.base/attach-wait-input.exp: Likewise.
7693 * gdb.base/break-entry.exp: Likewise.
7694 * gdb.base/break-interp.exp: Likewise.
7695 * gdb.base/dprintf-detach.exp: Likewise.
7696 * gdb.base/nostdlib.exp: Likewise.
7697 * gdb.base/solib-nodir.exp: Likewise.
7698 * gdb.base/statistics.exp: Likewise.
7699 * gdb.base/testenv.exp: Likewise.
7700 * gdb.mi/mi-exec-run.exp: Likewise.
7701 * gdb.mi/mi-start.exp: Likewise.
7702 * gdb.multi/dummy-frame-restore.exp: Likewise.
7703 * gdb.multi/multi-arch-exec.exp: Likewise.
7704 * gdb.multi/multi-arch.exp: Likewise.
7705 * gdb.multi/tids.exp: Likewise.
7706 * gdb.multi/watchpoint-multi.exp: Likewise.
7707 * gdb.python/py-events.exp: Likewise.
7708 * gdb.threads/attach-into-signal.exp: Likewise.
7709 * gdb.threads/attach-stopped.exp: Likewise.
7710 * gdb.threads/threadapply.exp: Likewise.
7711 * lib/selftest-support.exp: Likewise.
7712
26d6cec4
AA
77132018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
7714
7715 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
7716
4ee89e90
SR
77172018-03-20 Stephen Roberts <stephen.roberts@arm.com>
7718
7719 * gdb.perf/template-breakpoints.cc: New file.
7720 * gdb.perf/template-breakpoints.exp: New file.
7721 * gdb.perf/template-breakpoints.py: New file.
7722
92630041
TT
77232018-03-19 Tom Tromey <tom@tromey.com>
7724
7725 * gdb.rust/simple.rs (main): Add local variables field1, field2,
7726 y0.
7727 * gdb.rust/simple.exp: Test bare identifier form of struct
7728 initializer.
7729
76727919
TT
77302018-03-19 Tom Tromey <tom@tromey.com>
7731
7732 * gdb.gdb/observer.exp: Remove.
7733
194ed413
AA
77342018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7735
7736 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
7737 "qualified" option when setting breakpoints.
7738 * gdb.trace/backtrace.exp: Likewise.
7739 * gdb.trace/circ.exp: Likewise.
7740 * gdb.trace/collection.exp: Likewise.
7741 * gdb.trace/disconnected-tracing.exp: Likewise.
7742 * gdb.trace/ftrace-lock.exp: Likewise.
7743 * gdb.trace/ftrace.exp: Likewise.
7744 * gdb.trace/infotrace.exp: Likewise.
7745 * gdb.trace/packetlen.exp: Likewise.
7746 * gdb.trace/passc-dyn.exp: Likewise.
7747 * gdb.trace/qtro.exp: Likewise.
7748 * gdb.trace/read-memory.exp: Likewise.
7749 * gdb.trace/report.exp: Likewise.
7750 * gdb.trace/signal.exp: Likewise.
7751 * gdb.trace/status-stop.exp: Likewise.
7752 * gdb.trace/strace.exp: Likewise.
7753 * gdb.trace/tfind.exp: Likewise.
7754 * gdb.trace/trace-break.exp: Likewise.
7755 * gdb.trace/trace-condition.exp: Likewise.
7756 * gdb.trace/trace-mt.exp: Likewise.
7757 * gdb.trace/tstatus.exp: Likewise.
7758 * gdb.trace/tsv.exp: Likewise.
7759 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7760 * gdb.trace/unavailable.exp: Likewise.
7761 * gdb.trace/while-dyn.exp: Likewise.
7762
8b067d2c
AA
77632018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7764
7765 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
7766 that libinproctrace is copied to the target.
7767
3ae9ce5d
TT
77682018-03-14 Tom Tromey <tom@tromey.com>
7769
7770 PR cli/14977:
7771 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
7772 a null pointer.
7773 * gdb.base/wchar.exp: Likewise.
7774
b8c2339b
TT
77752018-03-14 Tom Tromey <tom@tromey.com>
7776
7777 PR cli/19918:
7778 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
7779 flag.
7780
4872dc46
SM
77812018-03-08 Simon Marchi <simon.marchi@ericsson.com>
7782
7783 PR gdb/22841
7784 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
7785 "target" to remote_exec.
7786
e4fe3756
SM
77872018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
7788
7789 PR gdb/22841
7790 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
7791 ${board}_upload): Remove.
7792
e95a97d4
AA
77932018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
7794
7795 * gdb.cp/watch-cp.cc: New test.
7796 * gdb.cp/watch-cp.exp: New file.
7797
dbbb1059
AB
77982018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7799
7800 * gdb.base/infcall-nested-structs.exp: New file.
7801 * gdb.base/infcall-nested-structs.c: New file.
7802 * gdb.base/float.exp: Add riscv support.
7803
ecc054c0
TP
78042018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
7805
7806 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
7807 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
7808
25e3c82c
SDJ
78092018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
7810
7811 * gdb.server/abspath.exp: New file.
7812 * lib/gdb.exp (with_cwd): New procedure.
7813
3083294d
SM
78142018-02-28 Simon Marchi <simon.marchi@ericsson.com>
7815
7816 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
7817 use it.
7818 (gdb_is_target_remote_prompt): New proc.
7819 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
7820 (gdb_is_target_native): Pass prompt parameter to
7821 gdb_is_target_1.
7822
3275ef47
SM
78232018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
7824
7825 * gdb.base/load-command.c: New file.
7826 * gdb.base/load-command.exp: New file.
7827 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
7828 (gdb_is_target_1): ...this, and generalize for other targets
7829 than just remote.
7830 (gdb_is_target_remote): Use gdb_is_target_1.
7831 (gdb_is_target_native): use gdb_is_target_1.
7832
6893c19a
TT
78332018-02-26 Tom Tromey <tom@tromey.com>
7834
7835 PR python/16497:
7836 * gdb.python/py-framefilter.exp: Update test.
7837
2ddeaf8a
TT
78382018-02-26 Tom Tromey <tom@tromey.com>
7839
7840 * gdb.dwarf2/variant.c: New file.
7841 * gdb.dwarf2/variant.exp: New file.
7842
c9317f21
TT
78432018-02-26 Tom Tromey <tom@tromey.com>
7844
7845 * gdb.rust/simple.exp: Accept more possible results in enum test.
7846
6f6d0c26
SM
78472018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
7848
7849 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
7850 parentheses.
7851
11b03145
MR
78522018-02-23 Maciej W. Rozycki <macro@mips.com>
7853
7854 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
7855 name of a variable: $actual_linejj -> $actual_line.
7856
54a27fe5
JB
78572018-02-21 John Baldwin <jhb@FreeBSD.org>
7858
7859 * gdb.arch/amd64-i386-address.exp: Fix a typo.
7860
de65820c
MM
78612018-02-20 Markus Metzger <markus.t.metzger@intel.com>
7862
7863 * gdb.btrace/buffer-size.exp: Do not force BTS.
7864
980548fd
PA
78652018-02-14 Pedro Alves <palves@redhat.com>
7866
7867 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
7868 getting a "Quit".
7869
c4e12631
MM
78702018-02-09 Markus Metzger <markus.t.metzger@intel.com>
7871
7872 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
7873 Fix test name.
7874
c2e0e465
SM
78752018-02-07 Simon Marchi <simon.marchi@ericsson.com>
7876
7877 * gdb.cp/m-static.exp: Check type of optimized out static
7878 member.
7879
f7216783
AB
78802018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
7881
7882 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
7883 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
7884
0625771b
LS
78852018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
7886 Leszek Swirski <leszeks@google.com>
7887
7888 * gdb.python/py-prettyprint.c
7889 (struct to_string_returns_value_inner,
7890 struct to_string_returns_value_wrapper): New.
7891 (main): Add tsrvw variable.
7892 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
7893 ToStringReturnsValueWrapper): New classes.
7894 (register_pretty_printers): Register new pretty-printers.
7895 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
7896 recursive pretty printer.
7897 * gdb.python/py-mi.exp: Likewise.
7898
59498c30
LS
78992018-02-01 Leszek Swirski <leszeks@google.com>
7900
7901 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
7902 functions with the same name as an include file are parsed
7903 correctly.
7904
d4d38844
YQ
79052018-02-01 Yao Qi <yao.qi@linaro.org>
7906
7907 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
7908 "\[^\r\n\]*".
7909
07e5f5cf
NP
79102018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
7911
7912 * gdb.arch/powerpc-prologue-frame.s: New file.
7913 * gdb.arch/powerpc-prologue-frame.c: Likewise.
7914 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
7915
929b5ad4
JB
79162018-01-31 Joel Brobecker <brobecker@adacore.com>
7917
7918 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
7919
e671cd59
PA
79202018-01-30 Pedro Alves <palves@redhat.com>
7921
7922 PR gdb/13211
7923 * gdb.base/interrupt-daemon.c: New.
7924 * gdb.base/interrupt-daemon.exp: New.
7925 * gdb.multi/multi-term-settings.c: New.
7926 * gdb.multi/multi-term-settings.exp: New.
7927
fc413dc4
JB
79282018-01-30 Joel Brobecker <brobecker@adacore.com>
7929
7930 * gdb.base/break.exp: Save the location where the breakpoint
7931 on break.c:47 was actually inserted when debugging the version
7932 compiled at -O2 and use it in the expected output of the "info
7933 break" test performed soon after.
7934
5c319bb2
PA
79352018-01-22 Pedro Alves <palves@redhat.com>
7936 Sergio Durigan Junior <sergiodj@redhat.com>
7937
7938 * gdb.base/whatis.exp: Add tests for 'set print object on' +
7939 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
7940
a9e40818
JB
79412018-01-22 Joel Brobecker <brobecker@adacore.com>
7942
7943 * gdb.base/break-include.c, gdb.base/break-include.inc,
7944 gdb.base/break-include.exp: New files.
7945 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
7946 line number now being the actual line number where the breakpoint
7947 was inserted.
7948 * gdb.mi/mi-break.exp: Likewise.
7949 * gdb.mi/mi-reverse.exp: Likewise.
7950 * gdb.mi/mi-simplerun.exp: Ditto.
7951
e707fc44
AB
79522018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7953
7954 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
7955 varobj.
7956 * gdb.mi/mi-var-create-rtti.exp: Likewise.
7957
ae451627
AB
79582018-01-21 Don Breazeal <donb@codesourcery.com>
7959 Andrew Burgess <andrew.burgess@embecosm.com>
7960
7961 * gdb.mi/basics.c: Add new global.
7962 * gdb.mi/mi-frame-regs.exp: New file.
7963 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
7964 case.
7965
b1b189e0
AB
79662018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7967
7968 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
7969 non-parameter, and on an unknown symbol.
7970
fcfcc376
TT
79712018-01-19 Tom Tromey <tom@tromey.com>
7972
7973 * gdb.rust/modules.rs (TWENTY_THREE): New global.
7974 * gdb.rust/modules.exp: Add ::-qualified lookup test.
7975
634c1c31
AA
79762018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7977
7978 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
7979 setrlimit and chdir to int.
7980
d6ad07fd
AA
79812018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7982
7983 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
7984 function.
7985 (my_tend): Likewise.
7986 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
7987 rationale of avoiding FP- and vector instructions.
7988
adf8243b
RK
79892018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
7990
7991 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
7992 "info reg" with "\[ \t\]*".
7993 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
7994 "\[ \t\]+".
7995 * gdb.arch/s390-multiarch.exp: Ditto.
7996 * gdb.base/pc-fp.exp: Ditto.
7997 * gdb.reverse/i386-precsave.exp: Ditto.
7998 * gdb.reverse/i386-reverse.exp: Ditto.
7999 * gdb.reverse/i387-env-reverse.exp: Ditto.
8000 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8001
dcc06925
AA
80022018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8003
8004 * lib/gdb.exp (gdb_compile): Re-enable use of
8005 universal_compile_options for languages other than Rust.
8006
25d4fd80
AA
80072018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8008
8009 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
8010
ee7f689e 80112018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
8012
8013 PR gdb/16577
8014 * gdb.base/solib-vanish.exp: New.
8015 * gdb.base/solib-vanish-main.c: New.
8016 * gdb.base/solib-vanish-lib1.c: New.
8017 * gdb.base/solib-vanish-lib2.c: New.
8018
d8447b6b
YQ
80192018-01-17 Yao Qi <yao.qi@linaro.org>
8020
8021 * gdb.compile/compile.exp: Match the address printed for
8022 frame in the output of command "bt".
8023
86d6a90c
TT
80242018-01-15 Tom Tromey <tom@tromey.com>
8025
8026 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
8027 compute sp_reg.
8028
cbcdb1aa
AB
80292018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8030
8031 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
8032 to prepare.
8033 (prepare): Return 0 on error, 1 on success.
8034
eea61984
PA
80352018-01-12 Pedro Alves <palves@redhat.com>
8036
8037 * gdb.base/continue-after-aborted-step-over.c: New.
8038 * gdb.base/continue-after-aborted-step-over.exp: New.
8039
6181e9c2
SM
80402018-01-11 Simon Marchi <simon.marchi@ericsson.com>
8041
8042 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
8043 options when not creating an executable.
8044
3cada740
PA
80452018-01-11 Pedro Alves <palves@redhat.com>
8046
8047 PR remote/22597
8048 * gdb.server/stop-reply-no-thread.c: New file.
8049 * gdb.server/stop-reply-no-thread.exp: New file.
8050
c63d3e8d
PA
80512018-01-10 Pedro Alves <palves@redhat.com>
8052
8053 PR gdb/22670
8054 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
8055 functions too. Test setting breakpoints and printing C functions
8056 with no debug info too.
8057 * gdb.ada/bp_c_mixed_case/qux.c: New file.
8058
d4c2a405
PA
80592018-01-10 Pedro Alves <palves@redhat.com>
8060
8061 PR gdb/22670
8062 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
8063 a fail.
8064
8825213e
PA
80652018-01-10 Pedro Alves <palves@redhat.com>
8066
8067 PR gdb/22670
8068 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
8069
605fd3c6
YQ
80702018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8071
8072 * gdb.server/unittest.exp: Match the output in non-development
8073 mode.
8074
1e5ded6c
YQ
80752018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8076
8077 * gdb.gdb/unittest.exp: Match output in non-development mode.
8078
30066b0b
JB
80792018-01-08 Joel Brobecker <brobecker@adacore.com>
8080
8081 * gdb.ada/access_tagged_param.exp: Relax expected output
8082 for value of "ObjL" in "continue" to pck.inspect breakpoint
8083 test.
8084
04bafb1e
XR
80852018-01-08 Joel Brobecker <brobecker@adacore.com>
8086
9f86398b
JB
8087 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
8088 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 8089
e379cee6
PA
80902018-01-05 Pedro Alves <palves@redhat.com>
8091
8092 PR gdb/18653
8093 * gdb.base/libsegfault.exp: New.
8094
de63c46b
PA
80952018-01-05 Joel Brobecker <brobecker@adacore.com>
8096
8097 PR gdb/22670
8098 * gdb.ada/access_tagged_param.exp: New file.
8099 * gdb.ada/access_tagged_param/foo.adb: New file.
8100
f98fc17b
PA
81012018-01-05 Pedro Alves <palves@redhat.com>
8102
8103 PR gdb/22670
8104 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
8105 exercise lower case too, and to exercise both full matching and
8106 wild matching.
8107
342f8240
JB
81082018-01-05 Joel Brobecker <brobecker@adacore.com>
8109
8110 * gdb.ada/rename_subscript_param: New testcase.
8111
7150d33c
JG
81122018-01-05 Jerome Guitton <guitton@adacore.com>
8113
8114 * gdb.ada/arr_acc_idx_w_gap: New testcase.
8115
cc0e770c
JB
81162018-01-05 Joel Brobecker <brobecker@adacore.com>
8117
8118 * gdb.ada/convvar_comp: New testcase.
8119
672a41aa 81202018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
8121
8122 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
8123 (My_Table): New global variable.
8124 * testsuite/gdb.ada/array_char_idx.exp: Add test.
8125
7365ec2f
JB
81262018-01-04 Joel Brobecker <brobecker@adacore.com>
8127
8128 PR gdb/22670
8129 * gdb.ada/maint_with_ada: New testcase.
8130
289483b6
JB
81312018-01-04 Joel Brobecker <brobecker@adacore.com>
8132
8133 PR gdb/22670
8134 * gdb.ada/bp_c_mixed_case: New testcase.
8135
344420da
JB
81362018-01-04 Joel Brobecker <brobecker@adacore.com>
8137
8138 PR gdb/22670
8139 * gdb.ada/complete.exp: Add "complete break ada" test.
8140
66fc87a0
JB
81412018-01-04 Joel Brobecker <brobecker@adacore.com>
8142
8143 PR gdb/22670
8144 * gdb.ada/info_addr_mixed_case: New testcase.
8145
9f757bf7
XR
81462018-01-03 Xavier Roirand <roirand@adacore.com>
8147
8148 * gdb.ada/excep_handle.exp: New testcase.
8149 * gdb.ada/excep_handle/foo.adb: New file.
8150 * gdb.ada/excep_handle/pck.ads: New file.
8151
bd570f80
JB
81522018-01-03 Joel Brobecker <brobecker@adacore.com>
8153
8154 * gdb.base/step-line.c: Add extra empty line in copyright header.
8155 * gdb.base/step-line.inp: Likewise.
8156
9fe561ab
JB
81572018-01-02 Joel Brobecker <brobecker@adacore.com>
8158
8159 * gdb.ada/dyn_stride.exp: Add slice test.
8160
a405673c
JB
81612018-01-02 Joel Brobecker <brobecker@adacore.com>
8162
8163 * gdb.ada/dyn_stride: New testcase.
8164
cef0f868
SH
81652017-12-27 Stafford Horne <shorne@gmail.com>
8166
8167 * gdb.xml/extra-regs.xml: Add example foo reggroup.
8168 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
8169
b67d92b0
SH
81702017-12-27 Stafford Horne <shorne@gmail.com>
8171
8172 * gdb.base/reggroups.c: New file.
8173 * gdb.base/reggroups.exp: New file.
8174
eccab96d
JB
81752017-12-18 Joel Brobecker <brobecker@adacore.com>
8176
8177 * gdb.dwarf2/ada-valprint-error.c: New file.
8178 * gdb.dwarf2/ada-valprint-error.exp: New file.
8179
0e2da9f0
JB
81802017-12-18 Joel Brobecker <brobecker@adacore.com>
8181
8182 * gdb.ada/assign_arr: New testcase.
8183
cb923fcc
XR
81842017-12-18 Xavier Roirand <roirand@adacore.com>
8185
8186 * gdb.ada/funcall_ptr: New testcase.
8187
7c161838
SDJ
81882017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8189
8190 PR cli/16224
8191 * gdb.base/ptype-offsets.cc: New file.
8192 * gdb.base/ptype-offsets.exp: New file.
8193
1af17fd9
YQ
81942017-12-15 Yao Qi <yao.qi@linaro.org>
8195
8196 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
8197 if XML is disabled.
8198
828d5846
XR
81992017-12-15 Xavier Roirand <roirand@adacore.com>
8200
8201 * gdb.ada/same_component_name: New testcase.
8202
79e8fcaa
JB
82032017-12-14 Joel Brobecker <brobecker@adacore.com>
8204
8205 * gdb.ada/str_binop_equal: New testcase.
8206
e05fa6f9
JB
82072017-12-14 Joel Brobecker <brobecker@adacore.com>
8208
8209 * gdb.ada/task_switch_in_core: New testcase.
8210
b89641ba
SM
82112017-12-13 Simon Marchi <simon.marchi@ericsson.com>
8212
8213 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
8214 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
8215 call test_bkpt_qualified.
8216 (test_bkpt_qualified): New proc.
8217
6892d2e4
PA
82182017-12-13 Pedro Alves <palves@redhat.com>
8219
8220 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8221 Tighten regexp by matching with an anchor.
8222
a22ecf70
PA
82232017-12-13 Pedro Alves <palves@redhat.com>
8224
8225 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
8226 ("expression with namespace"): New set of tests.
8227 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
8228 (Nested::Test_NS::qux): New.
8229 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
8230 defaults to 'start_quote_char' and 'end_quote_char' parameters.
8231
9937536c
JB
82322017-12-13 Joel Brobecker <brobecker@adacore.com>
8233
8234 * gdb.base/server-del-break.c: New file.
8235 * gdb.base/server-del-break.exp: New file.
8236
fe49c6f5
SH
82372017-12-12 Stafford Horne <shorne@gmail.com>
8238
8239 * gdb.xml/tdesc-regs.exp: Add or1k support.
8240
c3d18620
SH
82412017-12-12 Stafford Horne <shorne@gmail.com>
8242
8243 * gdb.base/bp-permanent.c: Define nop of or1k.
8244
c5f9cfc8
JB
82452017-12-11 Joel Brobecker <brobecker@adacore.com>
8246
8247 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
8248 output with components being reordered.
8249
a9c135fc
JB
82502017-12-11 Joel Brobecker <brobecker@adacore.com>
8251
8252 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
8253 output with components being reordered.
8254
927aa2e7
JK
82552017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8256 Pedro Alves <palves@redhat.com>
8257
8258 * gdb.base/maint.exp (check for .gdb_index): Check also for
8259 .debug_names.
8260 * gdb.dlang/watch-loc.c (.debug_aranges): New.
8261 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
8262 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
8263 (.gdb_index used after symbol reloading): Support also .debug_names.
8264 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
8265
f17d9474
YQ
82662017-12-08 Yao Qi <yao.qi@linaro.org>
8267
8268 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8269 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
8270
a0de8c21
YQ
82712017-12-08 Yao Qi <yao.qi@linaro.org>
8272
8273 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8274 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
8275
a738ea1d
YQ
82762017-12-08 Yao Qi <yao.qi@linaro.org>
8277
8278 * gdb.arch/aarch64-tagged-pointer.c: New file.
8279 * gdb.arch/aarch64-tagged-pointer.exp: New file.
8280
1cd9a73b
SDJ
82812017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
8282
8283 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
8284 "int".
8285
fa6eb693
KS
82862017-12-07 Keith Seitz <keiths@redhat.com>
8287
8288 PR breakpoints/22569
8289 * gdb.linespec/ls-errs.exp: Change expected result of "break
8290 -source this file has spaces.c -line 3".
8291 Check that an explicit source file followed by whitespace is
8292 identified as an invalid explicit location.
8293
883fd55a
KS
82942017-12-07 Keith Seitz <keiths@redhat.com>
8295
8296 * gdb.cp/nested-types.cc: New file.
8297 * gdb.cp/nested-types.exp: New file.
8298 * lib/cp-support.exp: Load data-structures.exp library.
8299 (debug_cp_test_ptype_class): New global.
8300 (cp_ptype_class_verbose, next_line): New procedures.
8301 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
8302 Add and document new return value.
8303 Switch the list of lines to a queue.
8304 Add support for new `type' key for nested type definitions.
8305 Add debugging/troubleshooting messages.
8306 * lib/data-structures.exp: New file.
8307
ec72db3e
SM
83082017-12-07 Simon Marchi <simon.marchi@ericsson.com>
8309
8310 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
8311 with proc_with_prefix, don't use with_test_prefix.
8312
99598d71
TT
83132017-12-07 Tom Tromey <tom@tromey.com>
8314
8315 * gdb.base/break.exp: Add test for empty "commands".
8316
a8806230
YQ
83172017-12-07 Yao Qi <yao.qi@linaro.org>
8318
8319 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
8320 malloc and catch syscall.
8321
824cc835
PM
83222017-12-07 Phil Muldoon <pmuldoon@redhat.com>
8323
e79be6e5 8324 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
8325 tests for explicit locations.
8326
7cc244de
PA
83272017-12-06 Pedro Alves <palves@redhat.com>
8328
8329 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
8330 force-disabling XML descriptions.
8331
50a1fdd5
PA
83322017-12-04 Pedro Alves <palves@redhat.com>
8333
8334 PR gdb/22499
8335 * gdb.arch/amd64-disp-step-avx.S: New file.
8336 * gdb.arch/amd64-disp-step-avx.exp: New file.
8337
f0fb2488
PA
83382017-12-03 Pedro Alves <palves@redhat.com>
8339
8340 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
8341 and <string.h>.
8342 (parent_function): Print distinct messages when waitpid fails, or
8343 the child exits with a signal, or the child exits for an unhandled
8344 reason.
8345 * gdb.threads/process-dies-while-detaching.exp
8346 (detach_and_expect_exit): New 'inf_output_re' parameter and use
8347 it. Wait for both inferior output and GDB's prompt. Use an
8348 indirect spawn id list.
8349 (do_detach): New parameter 'child_exit'. Use it to compute
8350 expected inferior output.
8351 (test_detach, test_detach_watch, test_detach_killed_outside):
8352 Adjust to pass down the expected child exit kind.
8353
97cbe998
SDJ
83542017-12-01 Joel Brobecker <brobecker@adacore.com>
8355 Sergio Durigan Junior <sergiodj@redhat.com>
8356 Pedro Alves <palves@redhat.com>
8357
8358 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
8359
40fc416f
SDJ
83602017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
8361
8362 * gdb.base/relocate.exp: Add tests to guarantee that arguments
8363 to 'symbol-file' and 'add-symbol-file' can be
8364 position-independent.
8365
1cc75e92
YQ
83662017-12-01 Yao Qi <yao.qi@linaro.org>
8367
8368 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
8369 the URL in copyright header.
8370 * gdb.arch/aarch64-fp.exp: Likewise.
8371 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
8372 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
8373 * gdb.base/expand-psymtabs.exp: Likewise.
8374 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
8375 * gdb.fortran/common-block.exp: Likewise.
8376 * gdb.fortran/common-block.f90: Likewise.
8377 * gdb.fortran/logical.exp: Likewise.
8378 * gdb.fortran/vla-datatypes.f90: Likewise.
8379 * gdb.fortran/vla-sub.f90: Likewise.
8380
875fb7a7
JB
83812017-11-30 Joel Brobecker <brobecker@adacore.com>
8382
8383 * gdb.ada/repeat_dyn: New testcase.
8384
6f14765f
UW
83852017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8386
8387 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
8388 Update for changed thread numbering.
8389 * gdb.cell/bt.exp: Update for changed GDB output.
8390
f1af7b94
SM
83912017-11-30 Simon Marchi <simon.marchi@ericsson.com>
8392
8393 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
8394 setting isremote by hand.
8395 * boards/dwarf4-gdb-index.exp: Likewise.
8396 * boards/fission.exp: Likewise.
8397 * boards/stabs.exp: Likewise.
8398
e3919f3e
PA
83992017-11-30 Pedro Alves <palves@redhat.com>
8400
8401 * gdb.linespec/cpls-ops.exp
8402 (check_explicit_skips_function_argument): Extract the underlying
8403 type of size_t instead of hardcoding it.
8404
bd69330d
PA
84052017-11-29 Pedro Alves <palves@redhat.com>
8406
8407 PR c++/19436
8408 * gdb.linespec/cpls-abi-tag.cc: New file.
8409 * gdb.linespec/cpls-abi-tag.exp: New file.
8410
a20714ff
PA
84112017-11-29 Pedro Alves <palves@redhat.com>
8412
8413 * gdb.base/langs.exp: Use -qualified.
8414 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
8415 it.
8416 * gdb.cp/namespace.exp: Use -qualified.
8417 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
8418 (overload-3, template-overload, template-ret-type, const-overload)
8419 (const-overload-quoted, anon-ns, ambiguous-prefix): New
8420 procedures.
8421 (test_driver): Call them.
8422 * gdb.cp/save-bp-qualified.cc: New.
8423 * gdb.cp/save-bp-qualified.exp: New.
8424 * gdb.linespec/explicit.exp: Test -qualified.
8425 * lib/completion-support.exp (completion::explicit_opts_list): Add
8426 "-qualified".
8427 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
8428
f6f1d339
PM
84292017-11-29 Phil Muldoon <pmuldoon@redhat.com>
8430
8431 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
8432
02ca603a
TT
84332017-11-29 Tom Tromey <tom@tromey.com>
8434
8435 * gdb.base/relocate.exp: Update invalid argument test.
8436 Add new tests for invalid arguments.
8437
ed6c0bfb
TP
84382017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8439
8440 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
8441 Return 0 as a long.
8442 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
8443
f106e10e
TP
84442017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8445
8446 * gdb.cp/breakpoint.cc (bar): Set return type to void.
8447 * gdb.cp/psymtab-parameter.cc (func): Likewise.
8448 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
8449 func ().
8450 * gdb.cp/shadow.cc (B.func): Return 0.
8451
10329bb2
JB
84522017-11-27 Joel Brobecker <brobecker@adacore.com>
8453
8454 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
8455 expected output in gdb_expect call to allow the exception
8456 message to be present as well. Fix syntax confusion to avoid
8457 TCL thinking that exception_name is an array.
8458
617cd4bc
UW
84592017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
8460
8461 * gdb.arch/spu-info.c: Include <unistd.h>.
8462 (do_signal_test): Fix broken calls to write.
8463 * gdb.arch/spu-info.exp: Use prepare_for_testing.
8464 Fix checks for empty mailboxes. Update signal tests for corrected
8465 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
8466 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
8467 * gdb.cell/arch.exp: Use standard_output_file.
8468 * gdb.cell/break.exp: Likewise.
8469 * gdb.cell/bt.exp: Likewise.
8470 * gdb.cell/core.exp: Likewise.
8471 * gdb.cell/dwarfaddr.exp: Likewise.
8472 * gdb.cell/ea-cache.exp: Likewise.
8473 * gdb.cell/ea-standalone.exp: Likewise.
8474 * gdb.cell/f-regs.exp: Likewise.
8475 * gdb.cell/fork.exp: Likewise.
8476 * gdb.cell/gcore.exp: Likewise.
8477 * gdb.cell/mem-access.exp: Likewise.
8478 * gdb.cell/ptype.exp: Likewise.
8479 * gdb.cell/registers.exp: Likewise.
8480 * gdb.cell/sizeof.exp: Likewise.
8481 * gdb.cell/solib-symbol.exp: Likewise.
8482 * gdb.cell/solib.exp: Likewise.
617cd4bc 8483
a81aaca0
PA
84842017-11-25 Pedro Alves <palves@redhat.com>
8485
8486 * gdb.base/complete-empty.exp: New file.
8487 * gdb.base/completion.exp: Adjust.
8488
6a3c6ee4
PA
84892017-11-25 Pedro Alves <palves@redhat.com>
8490
8491 * gdb.linespec/cpls-ops.cc: New file.
8492 * gdb.linespec/cpls-ops.exp: New file.
8493 * lib/completion-support.exp (test_complete_prefix_range_re): New,
8494 factored out from ...
8495 (test_complete_prefix_range): ... this.
8496
8955eb2d
PA
84972017-11-24 Pedro Alves <palves@redhat.com>
8498
8499 * gdb.linespec/cpcompletion.exp: New file.
8500 * gdb.linespec/cpls-hyphen.cc: New file.
8501 * gdb.linespec/cpls.cc: New file.
8502 * gdb.linespec/cpls2.cc: New file.
8503 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
8504 test to use test_gdb_complete_unique. Add label completion,
8505 keyword completion and explicit location completion tests.
8506 * lib/completion-support.exp: New file.
8507
e547c119
JB
85082017-11-24 Joel Brobecker <brobecker@adacore.com>
8509
8510 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
8511 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
8512 when hitting an exception catchpoint.
8513
7c3c1aa8
YQ
85142017-11-22 Yao Qi <yao.qi@linaro.org>
8515
8516 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
8517
41bd68f5
SM
85182017-11-22 Simon Marchi <simon.marchi@ericsson.com>
8519
8520 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
8521 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
8522 * gdb.dwarf2/info-locals-optimized-out.c: New file.
8523
1daad298
YQ
85242017-11-22 Yao Qi <yao.qi@linaro.org>
8525
8526 * gdb.base/info-os.exp: Pass pthreads.
8527 * gdb.multi/multi-attach.exp: Likewise.
8528
88465e87
YQ
85292017-11-22 Yao Qi <yao.qi@linaro.org>
8530
8531 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
8532 compiler.
8533
dc196b23
YQ
85342017-11-22 Yao Qi <yao.qi@linaro.org>
8535
8536 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
8537 * gdb.base/break-interp.exp: Likewise.
8538 * gdb.base/jit-attach-pie.exp: Likewise.
8539
2400729e
UW
85402017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8541
8542 * gdb.base/float128.c (large128): New variable.
8543 * gdb.base/float128.exp: Add test to print largest __float128 value.
8544
7a26362d
UW
85452017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8546
8547 * gdb.arch/vsx-regs.exp: Update register content checks.
8548
ed0f4273
UW
85492017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
8550
8551 * gdb.arch/ppc-longdouble.exp: New file.
8552 * gdb.arch/ppc-longdouble.c: Likewise.
8553
a25d69c6
PA
85542017-11-21 Pedro Alves <palves@redhat.com>
8555
8556 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
8557
73fcf641
PA
85582017-11-20 Pedro Alves <palves@redhat.com>
8559
8560 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
8561 (long_double_typedef): New typedefs.
8562 Use DEF on double and long double.
8563 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
8564 cases.
8565 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
8566 and 'long_double_ptr_same_size' locals. Use them to decide
8567 whether cast from array/function to float is valid/invalid.
8568
71a3c369
TT
85692017-11-17 Tom Tromey <tom@tromey.com>
8570
8571 * gdb.rust/traits.rs: New file.
8572 * gdb.rust/traits.exp: New file.
8573
ced9779b
JB
85742017-11-17 Joel Brobecker <brobecker@adacore.com>
8575
8576 * gdb.ada/minsyms: New testcase.
8577
a0922d80
PA
85782017-11-16 Pedro Alves <palves@redhat.com>
8579
8580 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
8581 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
8582
ea04e54c
PA
85832017-11-16 Pedro Alves <palves@redhat.com>
8584
8585 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
8586 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
8587
e849ea89
PA
85882017-11-16 Pedro Alves <palves@redhat.com>
8589
8590 * gdb.server/reconnect-ctrl-c.c: New file.
8591 * gdb.server/reconnect-ctrl-c.exp: New file.
8592
d8ae99a7
PM
85932017-11-16 Phil Muldoon <pmuldoon@redhat.com>
8594
8595 * gdb.python/py-rbreak.exp: New file.
8596 * gdb.python/py-rbreak.c: New file.
8597 * gdb.python/py-rbreak-func2.c: New file.
8598
968a13f8
PA
85992017-11-16 Pedro Alves <palves@redhat.com>
8600
8601 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
8602 pattern.
8603 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
8604 GDB.
8605
71774bc9
SM
86062017-11-15 Simon Marchi <simon.marchi@ericsson.com>
8607
8608 * gdb.tui/completionn.exp (test_tab_completion): Add space in
8609 regex.
8610
ddbb44cf
SM
86112017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
8612
8613 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
8614 test names.
8615
584a564f
PA
86162017-11-09 Pedro Alves <palves@redhat.com>
8617
8618 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
8619 factored out from ...
8620 (top level): ... here, and adjusted to avoid expecting beyond the
8621 prompt in a single gdb_test_multiple.
8622
5ed7a928
PA
86232017-11-09 Pedro Alves <palves@redhat.com>
8624
8625 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
8626 output.
8627 * gdb.server/ext-attach.exp ("kill" test): Likewise.
8628 * gdb.server/ext-restart.exp ("kill" test): Likewise.
8629 * gdb.server/ext-run.exp ("kill" test): Likewise.
8630 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
8631
a60e0738
PA
86322017-11-09 Pedro Alves <palves@redhat.com>
8633
8634 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
8635 match till end of line.
8636
2c88253f
PA
86372017-11-09 Pedro Alves <palves@redhat.com>
8638
8639 * gdb.base/memattr.exp: Tighten regexes to match the end line.
8640
c7a38517
PA
86412017-11-09 Pedro Alves <palves@redhat.com>
8642
8643 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
8644 New procedures, factored out from ...
8645 (top level): ... here, and adjusted to avoid expecting beyond the
8646 prompt in one go.
8647
f29f4b6b
PA
86482017-11-09 Pedro Alves <palves@redhat.com>
8649
8650 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
8651 output. Fix '?' match.
8652
286acbb5
JB
86532017-11-08 Joel Brobecker <brobecker@adacore.com>
8654
8655 * gdb.ada/scoped_watch: New testcase.
8656 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
8657 which is actually correct.
8658 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
8659 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
8660
62d7ae92
PA
86612017-11-08 Pedro Alves <palves@redhat.com>
8662
8663 * gdb.gdb/complaints.exp (test_initial_complaints)
8664 (test_serial_complaints, test_short_complaints): Call
8665 complaint_internal instead of complaint.
8666
280ca31f
DT
86672017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
8668
8669 * gdb.threads/tls-core.c: New file.
8670 * gdb.threads/tls-core.exp: Likewise.
8671
b5ec771e
PA
86722017-11-08 Pedro Alves <palves@redhat.com>
8673
8674 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
8675 (p Exported_Capitalized): New test.
8676 (p exported_capitalized): New test.
8677
a02b41a7
PA
86782017-11-07 Pedro Alves <palves@redhat.com>
8679
8680 * gdb.cp/ena-dis-br-range.exp: Add more tests.
8681
95e95a6d
PA
86822017-11-07 Pedro Alves <palves@redhat.com>
8683
8684 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
8685 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
8686 (disable_invalid, disable_inverted, disable_negative): New
8687 procedures.
8688 ("bad numbers"): New set of tests.
8689
cee62dbd
PA
86902017-11-07 Pedro Alves <palves@redhat.com>
8691
8692 * gdb.cp/ena-dis-br-range.exp: Add tests.
8693
cc638e86
PA
86942017-11-07 Pedro Alves <palves@redhat.com>
8695
8696 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
8697
d0fe4701
XR
86982017-11-07 Xavier Roirand <roirand@adacore.com>
8699 Pedro Alves <palves@redhat.com>
8700
8701 * gdb.base/ena-dis-br.exp: Add reference to
8702 gdb.cp/ena-dis-br-range.exp.
8703 * gdb.cp/ena-dis-br-range.exp: New file.
8704 * gdb.cp/ena-dis-br-range.cc: New file.
8705
46f67f80
PA
87062017-11-06 Pedro Alves <palves@redhat.com>
8707
8708 * gdb.base/attach-non-pgrp-leader.c: New.
8709 * gdb.base/attach-non-pgrp-leader.exp: New.
8710
726e1356
PA
87112017-11-06 Pedro Alves <palves@redhat.com>
8712
8713 * configure.ac: No longer check for termio.h and sgtty.h.
8714 * configure: Regenerate.
8715 * remote-utils.c: Include termios.h instead of gdb_termios.h.
8716 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
8717 Remove termio and sgtty code.
8718
50ab6ace
YQ
87192017-11-03 Yao Qi <yao.qi@linaro.org>
8720
8721 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
8722 in GDB is disabled.
8723
8e68731c
YQ
87242017-11-03 Yao Qi <yao.qi@linaro.org>
8725
8726 * gdb.python/py-thrhandle.exp: Skip it if python is not
8727 enabled.
8728
3a87ae65
SM
87292017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
8730
8731 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
8732 as a breakpoint command.
8733
484d8d36
MD
87342017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
8735
8736 PR python/21213
8737 * gdb.python/py-infthread.exp: Test calling
8738 InferiorThread.inferior () multiple times in a row.
8739
4a27f119
KS
87402017-10-27 Keith Seitz <keiths@redhat.com>
8741
8742 * gdb.opt/inline-break.exp (break_info_1): New procedure.
8743 Test "info break" for every inlined function breakpoint.
8744
bb11dd58
YQ
87452017-10-27 Yao Qi <yao.qi@linaro.org>
8746
8747 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
8748
a43f3893
PF
87492017-10-26 Patrick Frants <osscontribute@gmail.com>
8750
8751 * gdb.cp/classes.exp (test_static_members): Test printing
8752 Outer::instance.
8753 * gdb.cp/classes.c (struct Inner, struct Outer): New.
8754 (Inner::instance, Outer::instance): New.
8755
792ccf00
PA
87562017-10-24 Pedro Alves <palves@redhat.com>
8757
8758 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
8759 extra console" test in two stages.
8760
eb2bfbad
PA
87612017-10-24 Pedro Alves <palves@redhat.com>
8762
8763 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
8764
1f75a651
PA
87652017-10-24 Pedro Alves <palves@redhat.com>
8766
8767 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
8768 loop.
8769
779990d9
PA
87702017-10-24 Pedro Alves <palves@redhat.com>
8771
8772 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
8773 $attempt" and "stoppedtry $stoppedtry" test prefixes.
8774
ad9b8f5d
PA
87752017-10-24 Pedro Alves <palves@redhat.com>
8776
8777 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
8778 parameter and handle it. Don't output read value in test name.
8779
fee6da6e
PA
87802017-10-24 Pedro Alves <palves@redhat.com>
8781
8782 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
8783 custom test name.
8784
10389c2c
PA
87852017-10-24 Pedro Alves <palves@redhat.com>
8786
8787 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
8788 include the unstable output directory name in the test's name.
8789 (initial_setup_simple) <'set args'>: Use custom test name.
8790
a80e65a9
PA
87912017-10-24 Pedro Alves <palves@redhat.com>
8792
8793 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
8794 with explicit test name.
8795
15763a09
PA
87962017-10-20 Pedro Alves <palves@redhat.com>
8797
8798 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
8799 'wait -i'. Use gdb_assert and remote_close.
8800
49a4ce2e
AB
88012017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
8802
8803 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
8804 number from variable rather than hard-coded.
8805
a75868f5
PA
88062017-10-19 Pedro Alves <palves@redhat.com>
8807
8808 * gdb.base/long-inferior-output.c: New file.
8809 * gdb.base/long-inferior-output.exp: New file.
8810
c8ba13ad
KS
88112017-11-18 Keith Seitz <keiths@redhat.com>
8812
8813 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
8814 method.
8815 (main): Call it.
8816 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
8817 Add additional user-defined conversion operator tests.
8818
b27de576
PA
88192017-10-17 Pedro Alves <palves@redhat.com>
8820
8821 * boards/native-stdio-gdbserver.exp: Load "local-board".
8822
8484c955
PA
88232017-10-17 Pedro Alves <palves@redhat.com>
8824
8825 * gdb.base/quit-live.c: New file.
8826 * gdb.base/quit-live.exp: New file.
8827
83d5a34d
KS
88282017-10-16 Keith Seitz <keiths@redhat.com>
8829
8830 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
8831 (class_with_protected_typedef, class_with_private_typedef)
8832 (struct_with_public_typedef, struct_with_protected_typedef)
8833 (struct_with_private_typedef): New classes/structs.
8834 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
8835 typedefs and access specifiers.
8836
739b3f1d
PA
88372017-10-16 Pedro Alves <palves@redhat.com>
8838 Simon Marchi <simon.marchi@polymtl.ca>
8839
8840 * README (Local vs Remote vs Native): New section.
8841 * boards/local-board.exp: New file, with bits factored out from
8842 ...
8843 * boards/native-extended-gdbserver.exp: ... here. Load
8844 "local-board".
8845 * boards/native-gdbserver.exp: Load "local-board".
8846 (${board}_spawn, ${board}_exec): Delete.
8847 * boards/native-stdio-gdbserver.exp: Most contents factored out to
8848 ...
8849 * boards/stdio-gdbserver-base.exp: ... this new file.
8850 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
8851 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
8852 procedure.
8853 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
8854 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
8855 stdio_gdbserver_command.
8856 (${board}_get_remote_address, ${board}_get_comm_port)
8857 (${board}_download, ${board}_upload): Delete.
8858 (get_target_remote_pipe_cmd): New.
8859
fe68b953
SM
88602017-10-16 Simon Marchi <simon.marchi@ericsson.com>
8861
8862 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
8863 test_bkpt_deletion, test_bkpt_cond_and_cmds,
8864 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
8865 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
8866 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
8867 remove with_test_prefix.
8868
300b6685
PA
88692017-10-13 Pedro Alves <palves@redhat.com>
8870
8871 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
8872 * gdb.base/annota1.exp: Use it instead of is_remote.
8873 * gdb.base/annota3.exp: Use it instead of is_remote.
8874 * gdb.cp/annota2.exp: Use it instead of is_remote.
8875 * gdb.cp/annota3.exp: Use it instead of is_remote.
8876 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
8877
50500caf
PA
88782017-10-13 Pedro Alves <palves@redhat.com>
8879
8880 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
8881 (test_num_test_vars, run_and_count_vars, find_env)
8882 (test_set_unset_env, test_inherit_env_var): New procedures.
8883 (top level): Use them.
8884
dad0c6d2
PA
88852017-10-13 Pedro Alves <palves@redhat.com>
8886
8887 * lib/selftest-support.exp (selftest_setup): Extend comments, and
8888 also skip on stub-like targets.
8889
8b0553c1
PA
88902017-10-13 Pedro Alves <palves@redhat.com>
8891
8892 PR gdb/22293
8893 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
8894 (top level): Move some tests to ...
8895 (test_not_found): ... this new procedure.
8896 (top level): Call it.
8897
7594f623
PA
88982017-10-13 Pedro Alves <palves@redhat.com>
8899
8900 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
8901 expect different "info terminal" output if testing with a
8902 non-native target.
8903
ebe3b402
PA
89042017-10-13 Pedro Alves <palves@redhat.com>
8905 Simon Marchi <simon.marchi@polymtl.ca>
8906
8907 PR python/12966
8908 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
8909
42f1b161
PA
89102017-10-13 Pedro Alves <palves@redhat.com>
8911
8912 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
8913 already.
8914
8d6ef72b
PA
89152017-10-13 Pedro Alves <palves@redhat.com>
8916
8917 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
8918 is_remote.
8919
d7bcd5b8
PA
89202017-10-13 Pedro Alves <palves@redhat.com>
8921
8922 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
8923 is_remote.
8924
df479dc6
PA
89252017-10-13 Pedro Alves <palves@redhat.com>
8926
8927 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
8928 is set.
8929 (corefile_test_attach): Likewise. Check can_spawn_for_attach
8930 instead of is_remote.
8931
23fb630a
PA
89322017-10-13 Pedro Alves <palves@redhat.com>
8933
8934 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
8935 (top level): Add comment.
8936
cc77b1dc
PA
89372017-10-13 Pedro Alves <palves@redhat.com>
8938
8939 * gdb.base/remote.exp (top level): Fix comment typo and add
8940 missing return.
8941
27c9e813
PA
89422017-10-13 Pedro Alves <palves@redhat.com>
8943 Simon Marchi <simon.marchi@polymtl.ca>
8944
8945 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
8946 calls and add comments. Skip test if use_gdb_stub is set.
8947 (top level): Use "set cwd" command instead of "cd" command.
8948
5e830d98
PA
89492017-10-13 Pedro Alves <palves@redhat.com>
8950
8951 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
8952 is_remote target check.
8953
f5ca0032
PA
89542017-10-13 Pedro Alves <palves@redhat.com>
8955
8956 * gdb.base/scope.exp: Use build_executable + clean_restart +
8957 gdb_file_cmd instead of prepare_for_testing and no longer skip
8958 "before run" tests on is_remote target boards. Update comments.
8959 * boards/native-extended-gdbserver.exp
8960 (extended_gdbserver_load_last_file): New, factored out from ...
8961 (gdb_load): ... this. Move further below and add comment.
8962 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
8963
8aed1c0d
PA
89642017-10-12 Pedro Alves <palves@redhat.com>
8965
8966 * gdb.base/attach.exp: Remove references to gdb64.
8967 * gdb.base/dbx.exp: Remove references to gdb64.
8968
cfa34c87
SM
89692017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8970 Pedro Alves <palves@redhat.com>
8971
8972 * gdb.base/label.exp: Remove is_remote target check.
8973
9192b7de
PA
89742017-10-12 Pedro Alves <palves@redhat.com>
8975
8976 * gdb.base/auvx.exp (coredir): Update comment.
8977 (top level) <core_works>: Use "set cwd" command instead of "cd"
8978 command.
8979
6bf0052d
PA
89802017-10-12 Pedro Alves <palves@redhat.com>
8981 Simon Marchi <simon.marchi@polymtl.ca>
8982
8983 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
8984 target boards.
8985
e48ef82d
PA
89862017-10-12 Pedro Alves <palves@redhat.com>
8987 Simon Marchi <simon.marchi@polymtl.ca>
8988
8989 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
8990 Instead skip if there's any gdb_protocol set.
8991
8d7aea57
SM
89922017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8993 Pedro Alves <palves@redhat.com>
8994
8995 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
8996
30440677
PA
89972017-10-12 Pedro Alves <palves@redhat.com>
8998 Simon Marchi <simon.marchi@polymtl.ca>
8999
9000 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
9001 instead of on dejagnu remote boards.
9002
4e04f045 90032017-10-12 Pedro Alves <palves@redhat.com>
175654b9 9004 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
9005
9006 * gdb.base/inferior-died.exp: Remove is_remote and isnative
9007 checks. Use build_executable + clean_restart instead of
9008 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
9009 of enabling non-stop after starting gdb.
9010
871a186e
PA
90112017-10-12 Pedro Alves <palves@redhat.com>
9012
9013 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
9014 * gdb.threads/non-ldr-exc-2.exp: Ditto.
9015 * gdb.threads/non-ldr-exc-3.exp: Ditto.
9016 * gdb.threads/non-ldr-exc-4.exp: Ditto.
9017
56d704da
AK
90182017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
9019
9020 * gdb.arch/arc-tdesc-cpu.exp: New file.
9021 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
9022
2f20e312
SM
90232017-10-10 Simon Marchi <simon.marchi@ericsson.com>
9024
9025 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
9026
65630365
PA
90272017-10-10 Pedro Alves <palves@redhat.com>
9028
9029 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
9030 expect CLI output.
9031
bf469271
PA
90322017-10-10 Pedro Alves <palves@redhat.com>
9033
9034 * lib/selftest-support.exp (selftest_setup): Update for
9035 captured_command_loop's prototype change.
9036
777a42f1
PA
90372017-10-09 Pedro Alves <palves@redhat.com>
9038
9039 Test both arch1=>arch2 and arch2=>arch1.
9040
9041 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
9042 (srcfile2, binfile2, march1, march2): Remove globals. Largely
9043 factored out to...
9044 (append_arch1_options, append_arch2_options, append_arch_options)
9045 (build_executables): New procedures.
9046 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
9047 local.
9048 (top level): Add new 'first_arch' testing axis.
9049
cbd2b4e3
PA
90502017-10-09 Pedro Alves <palves@redhat.com>
9051
9052 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
9053 (barrier): New.
9054 (thread_start, all_started): New functions.
9055 (main): Spawn new thread and wait until it is scheduled.
9056 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
9057 option.
9058 (do_test): Add 'selected_thread' parameter. Run to all_started
9059 instead of main. Explicitly set the breakpoint at main. Switch
9060 to the SELECTED_THREAD thread.
9061 (top level): Test handling the exec event with either the main
9062 thread or the second thread selected.
9063
5c9e4427
PA
90642017-10-09 Pedro Alves <palves@redhat.com>
9065
9066 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
9067 logic. Move STOP marker after the value checks.
9068 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
9069 regexp.
9070
b3b7c423
SL
90712017-10-06 Sandra Loosemore <sandra@codesourcery.com>
9072
9073 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
9074
3b4b2f16
UW
90752017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
9076
9077 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
9078 integer-to-dfp conversion.
9079 * gdb.base/dfp-test.exp: Likewise.
9080
5cd63fda
PA
90812017-10-04 Pedro Alves <palves@redhat.com>
9082
9083 * gdb.multi/hangout.c: Include <unistd.h>.
9084 (hangout_loop): New function.
9085 (main): Call alarm. Call hangout_loop in a loop.
9086 * gdb.multi/hello.c: Include <unistd.h>.
9087 (hello_loop): New function.
9088 (main): Call alarm. Call hangout_loop in a loop.
9089 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
9090 inferior with the other selected.
9091
4c71c105
SM
90922017-10-04 Simon Marchi <simon.marchi@ericsson.com>
9093
9094 * gdb.mi/list-thread-groups-available.exp: New file.
9095 * gdb.mi/list-thread-groups-available.c: New file.
9096
bc3b087d
SDJ
90972017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9098
9099 * gdb.base/set-cwd.exp: Make it available on
9100 native-extended-gdbserver.
9101
d092c5a2
SDJ
91022017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9103
9104 * gdb.base/set-cwd.c: New file.
9105 * gdb.base/set-cwd.exp: Likewise.
9106
45320ffa
TT
91072017-10-02 Tom Tromey <tom@tromey.com>
9108
9109 PR rust/22236:
9110 * gdb.rust/simple.rs (main): New variable "fslice".
9111 * gdb.rust/simple.exp: Add slice tests. Update string tests.
9112
b3e3859b
TT
91132017-10-02 Tom Tromey <tom@tromey.com>
9114
9115 * gdb.rust/simple.exp: Test ptype of a slice.
9116
01af5e0d
TT
91172017-10-02 Tom Tromey <tom@tromey.com>
9118
9119 * gdb.rust/simple.exp: Test index of slice.
9120
a9bbfbd8
TT
91212017-09-27 Tom Tromey <tom@tromey.com>
9122
9123 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
9124
df8899e5
TP
91252017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
9126 Pedro Alves <palves@redhat.com>
9127
9128 * gdb.base/compare-sections.exp (get value of read-only section): Read
9129 as unsigned value.
9130 (corrupt read-only section): Likewise and don't set written if patching
9131 failed.
9132
757bf54b
KB
91332017-09-21 Kevin Buettner <kevinb@redhat.com>
9134
9135 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
9136 files.
9137
06871ae8
PA
91382017-09-20 Pedro Alves <palves@redhat.com>
9139
9140 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
9141 symbol names in gdb's output.
9142 * gdb.cp/overload.exp ("list all overloads"): Likewise.
9143
e5f25bc5
PA
91442017-09-20 Pedro Alves <palves@redhat.com>
9145
9146 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
9147 Rename to ...
9148 (test_list_ambiguous_symbol): ... this and add a symbol name
9149 parameter. Adjust.
9150 (test_list_ambiguous_function): Reimplement on top of
9151 test_list_ambiguous_symbol and also test listing ambiguous
9152 variables.
9153 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
9154 (ambiguous_fun): ... this.
9155 (ambiguous_var): New.
9156 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
9157 (ambiguous_fun): ... this.
9158 (ambiguous_var): New.
9159
4e5a4f58
JB
91602017-09-19 John Baldwin <jhb@FreeBSD.org>
9161
9162 * gdb.base/starti.c: New file.
9163 * gdb.base/starti.exp: New file.
9164 * lib/gdb.exp (gdb_starti_cmd): New procedure.
9165
26e53f3e
PA
91662017-09-14 Pedro Alves <palves@redhat.com>
9167
9168 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
9169 (top level): Use it instead of runto.
9170
cb791d59
TT
91712017-09-11 Tom Tromey <tom@tromey.com>
9172
9173 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
9174
7c96f8c1
TT
91752017-09-11 Tom Tromey <tom@tromey.com>
9176
9177 * gdb.python/py-infthread.exp: Add tests for new_thread event.
9178 * gdb.python/py-inferior.exp: Add tests for new inferior events.
9179
469412dd
CW
91802017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
9181
9182 * gdb.fortran/printing-types.exp: New file.
9183 * gdb.fortran/printing-types.exp: New file.
9184
e0f86435
BH
91852017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9186
9187 * gdb.fortran/vla-ptype.exp: Fix typos.
9188 * gdb.fortran/vla-value.exp: Same.
9189
9e9af4be
BH
91902017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9191
9192 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
9193 * gdb.mi/mi-var-child-f.exp: Likewise.
9194 * gdb.mi/mi-vla-fortran.exp: Likewise.
9195
a5ad232b 91962017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
9197 Christoph Weinmann <christoph.t.weinmann@intel.com>
9198 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
9199
9200 * gdb.fortran/ptr-indentation.f90: New file.
9201 * gdb.fortran/ptr-indentation.exp: New file.
9202
5aec60eb
TT
92032017-09-05 Tom Tromey <tom@tromey.com>
9204
9205 PR gdb/22010:
9206 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
9207
8f8f8152
TP
92082017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
9209
9210 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
9211
fbd1b771
JK
92122017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9213
9214 * gdb.threads/tls-nodebug-pie.c: New file.
9215 * gdb.threads/tls-nodebug-pie.exp: New file.
9216
5eb5f850
TT
92172017-09-05 Tom Tromey <tom@tromey.com>
9218
9219 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
9220 for rust.
9221
ae780a21
SM
92222017-09-05 Simon Marchi <simon.marchi@ericsson.com>
9223
9224 * gdb.multi/multi-arch-exec.exp: Test with different
9225 "follow-exec-mode" settings.
9226 (do_test): New procedure.
9227
3693fdb3
PA
92282017-09-04 Pedro Alves <palves@redhat.com>
9229
9230 * gdb.base/func-static.c (S::method const, S::method volatile)
9231 (S::method volatile const): New methods.
9232 (c_s, v_s, cv_s): New instances.
9233 (main): Call method() on them.
9234 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
9235 (cannot_resolve): New procedure.
9236 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
9237 print-quote-unquoted columns.
9238 (do_test): Test printing each scope too.
9239
e68cb8e0
PA
92402017-09-04 Pedro Alves <palves@redhat.com>
9241
9242 * gdb.base/local-static.exp: Also test with
9243 class::method::variable wholly quoted.
9244 * gdb.cp/m-static.exp (class::method::variable): Remove test.
9245
858be34c
PA
92462017-09-04 Pedro Alves <palves@redhat.com>
9247
9248 * gdb.base/local-static.c: New.
9249 * gdb.base/local-static.cc: New.
9250 * gdb.base/local-static.exp: New.
9251
46a4882b
PA
92522017-09-04 Pedro Alves <palves@redhat.com>
9253
9254 * gdb.asm/asm-source.exp: Add casts to int.
9255 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
9256 (dataglobal64_1, dataglobal64_2): New globals.
9257 * gdb.base/nodebug.exp: Test different expressions involving the
9258 new globals, with print, whatis and ptype. Add casts to int.
9259 * gdb.base/solib-display.exp: Add casts to int.
9260 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
9261 * gdb.cp/m-static.exp: Add cast to int.
9262 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
9263 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
9264 tls variable with no debug info without a cast. Test with a cast
9265 to int too.
9266 * gdb.trace/entry-values.exp: Add casts.
9267
2c5a2be1
PA
92682017-09-04 Pedro Alves <palves@redhat.com>
9269
9270 * gdb.base/nodebug.exp: Test that ptype's error about functions
9271 with unknown return type includes the function name too.
9272
7022349d
PA
92732017-09-04 Pedro Alves <palves@redhat.com>
9274
9275 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
9276 return type of munmap in infcall.
9277 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
9278 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
9279 type of ftell in infcall.
9280 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
9281 type of getpid in infcall.
9282 * gdb.base/infcall-exec.exp: Cast return type of execlp in
9283 infcall.
9284 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
9285 Bail on failure to extract the pid.
9286 * gdb.base/nodebug.c: #include <stdint.h>.
9287 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
9288 New functions.
9289 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
9290 Change expected output of print/whatis/ptype with functions with
9291 no debug info. Test all supported languages. Call
9292 test_call_promotion.
9293 * gdb.compile/compile.exp: Adjust expected output to expect
9294 warning.
9295 * gdb.threads/siginfo-threads.exp: Likewise.
9296
54990598
PA
92972017-09-04 Pedro Alves <palves@redhat.com>
9298
9299 * gdb.base/callfuncs.exp (do_function_calls): New parameter
9300 "prototypes". Test calling float functions via prototyped and
9301 unprototyped function pointers.
9302 (perform_all_tests): New parameter "prototypes". Pass it down.
9303 (top level): Pass down "prototypes" parameter to
9304 perform_all_tests.
9305
34d16ea2
SM
93062017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9307
9308 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
9309 Test with nested loops.
9310
9521ecda
SM
93112017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9312
9313 * gdb.base/commands.exp: Call the new procedures.
9314 (loop_break_test, loop_continue_test): New procedures.
9315
80a65e9b
SM
93162017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9317
9318 * gdb.base/commands.exp: Call new procedure.
9319 (define_if_without_arg_test): New procedure.
9320
e439fa14
PA
93212017-09-04 Pedro Alves <palves@redhat.com>
9322
9323 * gdb.base/list-ambiguous.exp: New file.
9324 * gdb.base/list-ambiguous0.c: New file.
9325 * gdb.base/list-ambiguous1.c: New file.
9326 * gdb.base/list.exp (test_list_range): Adjust expected output.
9327
0a2dde4a
SDJ
93282017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
9329
9330 * gdb.base/share-env-with-gdbserver.c: New file.
9331 * gdb.base/share-env-with-gdbserver.exp: Likewise.
9332
5e89eb3a
SM
93332017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9334
9335 * gdb.base/commands.exp (gdbvar_simple_if_test,
9336 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
9337 progvar_simple_if_test, progvar_simple_while_test,
9338 progvar_complex_if_while_test, user_defined_command_test,
9339 user_defined_command_args_eval,
9340 user_defined_command_args_stack_test,
9341 user_defined_command_manyargs_test, bp_deleted_in_command_test,
9342 temporary_breakpoint_commands,
9343 gdb_test_no_prompt, redefine_hook_test,
9344 redefine_backtrace_test): Remove "global gdb_prompt".
9345
fd437cbc
SM
93462017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9347
9348 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
9349 New proc, call it from toplevel.
9350
87215ad1
SDJ
93512017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
9352
9353 PR remote/21852
9354 * gdb.server/normal.c: New file, copied from gdb.base.
9355 * gdb.server/run-without-local-binary.exp: New file.
9356
58afddc6
WP
93572017-08-07 Weimin Pan <weimin.pan@oracle.com>
9358
9359 * gdb.arch/sparc64-adi.exp: New file.
9360 * gdb.arch/sparc64-adi.c: New file.
9361
5277199a
PA
93622017-08-22 Pedro Alves <palves@redhat.com>
9363
9364 * gdb.cp/overload.exp (line_range_pattern): New procedure.
9365 (top level): Add "list all overloads" tests.
9366
14278e1f
TT
93672017-08-22 Tom Tromey <tom@tromey.com>
9368
9369 * gdb.gdb/xfullpath.exp: Remove.
9370
bf223d3e
PA
93712017-08-21 Pedro Alves <palves@redhat.com>
9372
9373 PR gdb/19487
9374 * gdb.base/symbol-alias.c: New.
9375 * gdb.base/symbol-alias2.c: New.
9376 * gdb.base/symbol-alias.exp: New.
9377
c973d0aa
PA
93782017-08-21 Pedro Alves <palves@redhat.com>
9379
9380 * gdb.base/dfp-test.c
9381 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
9382 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
9383 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
9384 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
9385 * gdb.base/whatis-ptype-typedefs.c: New.
9386 * gdb.base/whatis-ptype-typedefs.exp: New.
9387 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
9388 (an_int, an_int_type, an_int_type2): New globals.
9389 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
9390 involving typedefs and cast expressions.
9391 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
9392 (lookup_typedefs_function): New.
9393 (typedefs_pretty_printers_dict): New.
9394 (top level): Register lookup_typedefs_function in
9395 gdb.pretty_printers.
9396
6d580b63
YQ
93972017-08-18 Yao Qi <yao.qi@linaro.org>
9398
9399 * gdb.server/unittest.exp: New.
9400
206726fb
SDJ
94012017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
9402
9403 PR gdb/21954
9404 * gdb.base/environ.exp: Add test to check if 'unset environment'
9405 works.
9406
bf0ec4c2
AA
94072017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9408
9409 * lib/gdb.exp (universal_compile_options): New caching proc.
9410 (gdb_compile): Suppress GCC's coloring of messages.
9411
d6382fff
TT
94122017-08-14 Tom Tromey <tom@tromey.com>
9413
9414 PR gdb/21675:
9415 * gdb.base/printcmds.exp (test_radices): New function.
9416 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
9417 * gdb.base/sizeof.exp (check_valueof): Use p/d.
9418 * lib/gdb.exp (get_integer_valueof): Use p/d.
9419
c2c2dd9f
SM
94202017-08-12 Simon Marchi <simon.marchi@ericsson.com>
9421
9422 * lib/gdb.exp (get_valueof): Don't capture end-of-line
9423 characters.
9424
fdffd6f4
TT
94252017-08-05 Tom Tromey <tom@tromey.com>
9426
9427 * gdb.rust/simple.exp: Allow String to appear in a different
9428 namespace.
9429
27d41eac
YQ
94302017-07-26 Yao Qi <yao.qi@linaro.org>
9431
9432 * gdb.gdb/unittest.exp: Invoke command
9433 "maintenance check xml-descriptions".
9434
031ed05d
AA
94352017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9436
9437 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
9438 calling context.
9439 (hex128): Drop erroneous calculation of parameters.
9440
dcd27ddf
SM
94412017-07-22 Simon Marchi <simon.marchi@ericsson.com>
9442
9443 * gdb.python/py-unwind.exp: Disable stack protection when
9444 building test file.
9445
47e77640
PA
94462017-07-20 Pedro Alves <palves@redhat.com>
9447
9448 * gdb.base/default.exp (set language): Adjust expected output.
9449
62d2a18a
PA
94502017-07-20 Pedro Alves <palves@redhat.com>
9451
9452 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
9453 (test_minsym): ... this, and make static.
9454 (get_pck__foo__bar__minsym): Rename to ...
9455 (get_test_minsym): ... this.
9456 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
9457 symbol names and comments.
9458 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
9459 (get_test_minsym): ... this.
9460 (pck__foo__bar__minsym__2): Rename to ...
9461 (test_minsym): ... this.
9462 (main): Adjust.
9463
c45ec17c
PA
94642017-07-17 Pedro Alves <palves@redhat.com>
9465
9466 * gdb.base/completion.exp: Adjust expected output.
9467 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
9468 the completer works.
9469
c6756f62
PA
94702017-07-17 Pedro Alves <palves@redhat.com>
9471
9472 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
9473
5bd68487
AB
94742017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
9475
9476 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
9477
8880f2a9
TT
94782017-07-14 Tom Tromey <tom@tromey.com>
9479
9480 PR rust/21764:
9481 * gdb.rust/simple.exp: Add tests.
9482
65547233
TT
94832017-07-14 Tom Tromey <tom@tromey.com>
9484
9485 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
9486
8f14146e
PA
94872017-07-14 Pedro Alves <palves@redhat.com>
9488
9489 * gdb.linespec/base/one/thefile.cc (z1): New function.
9490 * gdb.linespec/base/two/thefile.cc (z2): New function.
9491 * gdb.linespec/linespec.exp: Add tests.
9492
b4365d02
AB
94932017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9494
9495 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
9496 to mi_create_breakpoint.
9497
5d2cbaa5
AB
94982017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9499
9500 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
9501 mi_create_breakpoint.
9502
11cb5716
IB
95032017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
9504
9505 * gdb.dlang/demangle.exp: Update for demangling changes.
9506
03278692
TT
95072017-07-09 Tom Tromey <tom@tromey.com>
9508
9509 * gdb.dwarf2/shortpiece.exp: New file.
9510
33c5cd75
DB
95112017-07-06 David Blaikie <dblaikie@gmail.com>
9512
9513 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
9514 built from fissiont-multi-cu{1,2}.c.
9515 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
9516 except putting 'main' and 'func' in separate CUs in the same DWO file.
9517 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
9518 test.
9519 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
9520 test.
9521
8455d262
PA
95222017-07-06 Pedro Alves <palves@redhat.com>
9523
9524 * gdb.python/py-unwind.exp: Test flushregs.
9525
dc4bde35
SDJ
95262017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9527
9528 PR cli/21688
9529 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
9530 tests for alias commands and trailing whitespace.
9531
51ed89aa
SDJ
95322017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9533
9534 PR cli/21688
9535 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
9536 procedure. Call it.
9537
eb17d413
PA
95382017-06-29 Pedro Alves <palves@redhat.com>
9539
9540 * gdb.base/printcmds.exp: Add tests.
9541
41664b45
DG
95422017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
9543
9544 PR gdb/21337
9545 * gdb.base/reread-readsym.exp: New file.
9546 * gdb.base/reread-readsym.c: New file.
9547
75312ae3
KB
95482017-06-21 Kevin Buettner <kevinb@redhat.com>
9549
9550 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
9551 subpattern.
9552
66953522
PB
95532017-06-19 Peter Bergner <bergner@vnet.ibm.com>
9554
9555 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
9556 extended mnemonic.
9557 * gdb.arch/powerpc-power9.s: Likewise.
9558
5524b525
AA
95592017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9560
9561 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
9562 on 32-bit x86 targets. Exploit is_*_target macros where
9563 appropriate.
9564
03c8af18
AA
95652017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9566
9567 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
9568 register pieces.
9569
3bf31011
AA
95702017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9571
9572 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
9573 located in one or more DWARF pieces.
9574
805acca0
AA
95752017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9576
9577 * lib/gdb.exp (get_endianness): New proc.
9578 * gdb.arch/aarch64-fp.exp: Use it.
9579 * gdb.arch/altivec-regs.exp: Likewise.
9580 * gdb.arch/e500-regs.exp: Likewise.
9581 * gdb.arch/vsx-regs.exp: Likewise.
9582 * gdb.base/dump.exp: Likewise.
9583 * gdb.base/funcargs.exp: Likewise.
9584 * gdb.base/gnu_vector.exp: Likewise.
9585 * gdb.dwarf2/formdata16.exp: Likewise.
9586 * gdb.dwarf2/implptrpiece.exp: Likewise.
9587 * gdb.dwarf2/nonvar-access.exp: Likewise.
9588 * gdb.python/py-inferior.exp: Likewise.
9589 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9590
e9352324
AA
95912017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9592
9593 PR gdb/21226
9594 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
9595 stack value pieces are taken from the LSB end.
9596
d5d1163e
AA
95972017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9598
9599 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
9600 variable at nonzero offset.
9601
0567c986
AA
96022017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9603
9604 * gdb.dwarf2/var-access.c: New file.
9605 * gdb.dwarf2/var-access.exp: New test.
9606 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
9607
973e9aab
TT
96082017-06-12 Tom Tromey <tom@tromey.com>
9609
9610 * gdb.dwarf2/formdata16.exp: Add tests.
9611
d9109c80
TT
96122017-06-12 Tom Tromey <tom@tromey.com>
9613
9614 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
9615
30a25466
TT
96162017-06-12 Tom Tromey <tom@tromey.com>
9617
9618 PR exp/16225:
9619 * gdb.reverse/i386-sse-reverse.exp: Update tests.
9620 * gdb.arch/vsx-regs.exp: Update tests.
9621 * gdb.arch/s390-vregs.exp (hex128): New proc.
9622 Update test.
9623 * gdb.arch/altivec-regs.exp: Update tests.
9624
aefd8b33
SDJ
96252017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9626
9627 * gdb.base/startup-with-shell.c: New file.
9628 * gdb.base/startup-with-shell.exp: Likewise.
9629
2090129c
SDJ
96302017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9631
9632 * gdb.server/non-existing-program.exp: Update regex in order to
9633 reflect the fact that gdbserver is now using fork_inferior (with a
9634 shell) to startup the inferior.
9635
8e86a419
SM
96362017-05-30 Simon Marchi <simon.marchi@ericsson.com>
9637
9638 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
9639 support function calls from GDB.
9640
e6cf65f2
TT
96412017-05-21 Tom Tromey <tom@tromey.com>
9642
9643 PR rust/21466:
9644 * gdb.rust/unsized.exp: New file.
9645 * gdb.rust/unsized.rs: New file.
9646
43cc5389
TT
96472017-05-19 Tom Tromey <tom@tromey.com>
9648
9649 PR rust/21484:
9650 * gdb.rust/watch.exp: New file.
9651 * gdb.rust/watch.rs: New file.
9652
ec8df234
TT
96532017-05-18 Tom Tromey <tom@tromey.com>
9654
9655 * gdb.rust/simple.exp: Allow Box to be qualified.
9656
3e3e7fae
TP
96572017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
9658
9659 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
9660
59cc050d
PA
96612017-05-18 Pedro Alves <palves@redhat.com>
9662
9663 * gdb.base/fileio.c (test_write, test_read, test_close)
9664 (test_fstat): Don't print 'ret' in the fail path.
9665
c8f6abd1
PA
96662017-05-18 Pedro Alves <palves@redhat.com>
9667
9668 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
9669 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
9670 (test_system, test_rename, test_unlink, test_time): Change
9671 prototypes.
9672 * gdb.base/fileio.exp (stop_msg): Adjust.
9673
d2a03b77
PA
96742017-05-18 Pedro Alves <palves@redhat.com>
9675
9676 * gdb.base/fileio.c (null_str): New global.
9677 (test_stat): Use it.
9678 * gdb.base/fileio.exp: Remove nowarnings.
9679
0d5c6999
YQ
96802017-05-17 Yao Qi <yao.qi@linaro.org>
9681
9682 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
9683
21873064
YQ
96842017-05-17 Simon Marchi <simon.marchi@ericsson.com>
9685
9686 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
9687 argument command.
9688 (top-level): Invoke test_set_inferior_tty.
9689
d512d31c
PA
96902017-05-04 Pedro Alves <palves@redhat.com>
9691
9692 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
9693 Add parens to print call for Python 3.
9694
90cef2ed
KS
96952017-05-03 Keith Seitz <keiths@redhat.com>
9696
9697 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
9698 (main): Call it.
9699
14f819c8
TW
97002017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9701
9702 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
9703 to prev and next.
9704
913aeadd
TW
97052017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9706
9707 * gdb.python/py-record-btrace.exp: Remove test for
9708 gdb.BtraceInstruction.error.
9709
a3be24ad
TW
97102017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9711
9712 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
9713
ae20e79a
TW
97142017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9715
9716 * gdb.python/py-record-btrace-threads.c: New file.
9717 * gdb.python/py-record-btrace-threads.exp: New file.
9718
45ce1b47
SDJ
97192017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
9720
9721 PR testsuite/8595
9722 * gdb.base/environ.exp: Make test available in all architectures.
9723 Move bits related to "info program" testing to
9724 gdb.base/info-program.exp. Rewrite tests to use the two new
9725 procedures mentione below.
9726 (test_set_show_env_var) New procedure.
9727 (test_set_show_env_var_equal): Likewise.
9728 * gdb.base/info-program.exp: New file.
9729
e15c3eb4
KS
97302017-04-27 Keith Seitz <keiths@redhat.com>
9731
9732 * gdb.cp/oranking.cc (test15): New function.
9733 (main): Call test15 and declare additional variables for testing.
9734 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
9735 "p foo101('abc')" tests.
9736 Add tests for cv qualifier overloads.
9737 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
9738 "lvalue reference overload" test.
9739 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
9740 "print value of f1 on Child&& in f2" test.
9741
3a3fd0fd
PA
97422017-04-19 Pedro Alves <palves@redhat.com>
9743
9744 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
9745 procedure.
9746 (top level): Call it.
9747 * lib/gdb.exp (gdb_define_cmd): New procedure.
9748
53375380
PA
97492017-04-12 Pedro Alves <palves@redhat.com>
9750
9751 PR gdb/21323
9752 * gdb.cp/wide_char_types.c: Include <wchar.h>.
9753 (wchar): New global.
9754 * gdb.cp/wide_char_types.exp (wide_char_types_program)
9755 (do_test_wide_char, wide_char_types_no_program, top level): Add
9756 wchar_t testing.
9757
53e710ac
PA
97582017-04-12 Pedro Alves <palves@redhat.com>
9759
9760 PR c++/21323
9761 * gdb.cp/wide_char_types.c: New file.
9762 * gdb.cp/wide_char_types.exp: New file.
9763
0ad9d8c7
SDJ
97642017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
9765
9766 PR gdb/21352
9767 * gdb.trace/tsv.exp: Add test for "tsave -r".
9768
b1b45502
IB
97692017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
9770
9771 * gdb.dlang/watch-loc.c: New file.
9772 * gdb.dlang/watch-loc.exp: New file.
9773
ec13808e
JK
97742017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9775
9776 * gdb.python/py-section-script.exp (sepdebug): New testcases.
9777
fe5f7374
AK
97782017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9779
9780 * gdb.arch/arc-analyze-prologue.S: New file.
9781 * gdb.arch/arc-analyze-prologue.exp: Likewise.
9782
eea78757
AK
97832017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9784
9785 * gdb.arch/arc-decode-insn.S: New file.
9786 * gdb.arch/arc-decode-insn.exp: Likewise.
9787
5badf10a
IR
97882017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
9789
9790 PR tdep/20928
9791 * gdb.arch/sparc64-regs.exp: New file.
9792 * gdb.arch/sparc64-regs.S: Likewise.
9793
cee59b3f
TW
97942017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
9795
9796 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
9797 and memory view on Python 3.
9798
c0f55cc6
AV
97992017-03-20 Artemiy Volkov <artemiyv@acm.org>
9800 Keith Seitz <keiths@redhat.com>
9801
9802 PR gdb/14441
9803 * gdb.cp/demangle.exp: Add rvalue reference tests.
9804 * gdb.cp/rvalue-ref-casts.cc: New file.
9805 * gdb.cp/rvalue-ref-casts.exp: New file.
9806 * gdb.cp/rvalue-ref-overload.cc: New file.
9807 * gdb.cp/rvalue-ref-overload.exp: New file.
9808 * gdb.cp/rvalue-ref-params.cc: New file.
9809 * gdb.cp/rvalue-ref-params.exp: New file.
9810 * gdb.cp/rvalue-ref-sizeof.cc: New file.
9811 * gdb.cp/rvalue-ref-sizeof.exp: New file.
9812 * gdb.cp/rvalue-ref-types.cc: New file.
9813 * gdb.cp/rvalue-ref-types.exp: New file.
9814 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
9815 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
9816
51457a05
MAL
98172017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9818
9819 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
9820 New procedure.
9821
5b291c04
MAL
98222017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9823
9824 * lib/mi-support.exp (mi_gdb_test): Add additional message
9825 for unexpected output.
9826
59a56148
AA
98272017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9828
9829 * gdb.base/examine-backward.c (Barrier): New character array
9830 constant, to ensure that TestStrings is preceded by a string
9831 terminator.
9832
7942e96e
AA
98332017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9834
9835 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
9836 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
9837 and implicit pointer into such a location.
9838
6ebac3fb
DE
98392017-03-16 Doug Evans <dje@google.com>
9840
9841 * gdb.python/py-lazy-string (pointer): Really add new typedef.
9842
ec3b243d
TP
98432017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
9844
9845 * gdb.cp/m-static.exp: Fix expectation for prototype of
9846 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
9847
98482017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
9849
9850 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
9851 * gdb.guile/scm-lazy-string.c: New file.
9852 * gdb.guile/scm-value.exp: Move lazy string tests to ...
9853 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
9854 for pointer, array, typedef lazy strings.
9855
2cc36e25 98562017-03-16 Doug Evans <dje@google.com>
34b43320
DE
9857
9858 PR python/17728, python/18439, python/18779
9859 * gdb.python/py-value.c (main) Delete locals sptr, sn.
9860 * gdb.python/py-lazy-string.c (pointer): New typedef.
9861 (main): New locals ptr, array, typedef_ptr.
9862 * gdb.python/py-value.exp: Move lazy string tests to ...
9863 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
9864 array, typedef lazy strings.
ec3b243d 9865
0efcde63
AK
98662017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
9867
9868 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
9869 Add optional 'test' parameter.
9870
7978d7c3
SM
98712017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9872
9873 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9874 Skip for versions of DejaGnu < 1.5.
9875
896c0c1e
SM
98762017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9877
9878 * lib/gdb.exp (dejagnu_version): New proc.
9879 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9880 Use dejagnu_version.
9881
5f4d1085
KS
98822017-03-10 Keith Seitz <keiths@redhat.com>
9883
9884 PR c++/8128
9885 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
9886 type from destructor regexps.
9887 Add a branch which actually passes the test.
9888 Adjust "ptype t5i" test names.
9889
1de05205
PA
98902017-03-08 Pedro Alves <palves@redhat.com>
9891
9892 * gdb.base/step-over-exit.exp: Add explicit test message.
9893
c65d6b55
PA
98942017-03-08 Pedro Alves <palves@redhat.com>
9895
9896 PR gdb/18360
9897 * gdb.threads/interrupt-while-step-over.c: New file.
9898 * gdb.threads/interrupt-while-step-over.exp: New file.
9899
2e86a283
PA
99002017-03-08 Pedro Alves <palves@redhat.com>
9901
9902 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
9903 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
9904
25dcbff6
PA
99052017-03-08 Pedro Alves <palves@redhat.com>
9906
9907 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
9908 PKRU as not supported as a PASS.
9909
dc9366eb
PA
99102017-03-08 Pedro Alves <palves@redhat.com>
9911
9912 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
9913 prefix instead of $binfile1/$binfile2.
9914 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
9915 in test message.
9916 * gdb.python/py-completion.exp: Use "load python file" as test
9917 messages instead of unstable path names.
9918
6e5d74e7
PA
99192017-03-08 Pedro Alves <palves@redhat.com>
9920 Jan Kratochvil <jan.kratochvil@redhat.com>
9921
9922 PR cli/21218
9923 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9924 New proc.
9925 (top level): Call it.
9926
9753a2f6
PA
99272017-03-08 Pedro Alves <palves@redhat.com>
9928
9929 PR tui/21216
9930 * gdb.tui/tui-nl-filtered-output.exp: New file.
9931
1a4dd9dd
PA
99322017-03-08 Pedro Alves <palves@redhat.com>
9933
9934 * gdb.base/completion.exp: Move TUI completion tests to ...
9935 * gdb.tui/completion.exp: ... this new file.
9936
7cbbff33
PA
99372017-03-08 Pedro Alves <palves@redhat.com>
9938
9939 * gdb.base/tui-disasm-long-lines.c,
9940 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
9941 gdb.base/tui-layout.exp: Move to ...
9942 * gdb.tui/: ... this new directory.
9943
5f6fd321
PA
99442017-03-07 Pedro Alves <palves@redhat.com>
9945
9946 * gdb.base/tui-layout.c: New file.
9947 * gdb.base/tui-layout.exp: New file.
9948
44959fa8
PA
99492017-03-07 Pedro Alves <palves@redhat.com>
9950
9951 * gdb.base/tui-layout.c: Rename to ...
9952 * gdb.base/tui-disasm-long-lines.c: ... this.
9953 * gdb.base/tui-layout.exp: Rename to ...
9954 * gdb.base/tui-disasm-long-lines.exp: ... this.
9955
f8c4e718
PA
99562017-03-07 Pedro Alves <palves@redhat.com>
9957
9958 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
9959
6dbb839a 99602017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
9961
9962 * i386-mpx-call.c: New file.
9963 * i386-mpx-call.exp: New file.
9964
65b48a81
PB
99652017-02-28 Peter Bergner <bergner@vnet.ibm.com>
9966
9967 * gdb.arch/powerpc-power.exp: Delete test.
9968 * gdb.arch/powerpc-power.s: Likewise.
9969 * gdb.disasm/disassembler-options.exp: New test.
9970 * gdb.arch/powerpc-altivec.exp: Likewise.
9971 * gdb.arch/powerpc-altivec.s: Likewise.
9972 * gdb.arch/powerpc-altivec2.exp: Likewise.
9973 * gdb.arch/powerpc-altivec2.s: Likewise.
9974 * gdb.arch/powerpc-altivec3.exp: Likewise.
9975 * gdb.arch/powerpc-altivec3.s: Likewise.
9976 * gdb.arch/powerpc-power7.exp: Likewise.
9977 * gdb.arch/powerpc-power7.s: Likewise.
9978 * gdb.arch/powerpc-power8.exp: Likewise.
9979 * gdb.arch/powerpc-power8.s: Likewise.
9980 * gdb.arch/powerpc-power9.exp: Likewise.
9981 * gdb.arch/powerpc-power9.s: Likewise.
9982 * gdb.arch/powerpc-vsx.exp: Likewise.
9983 * gdb.arch/powerpc-vsx.s: Likewise.
9984 * gdb.arch/powerpc-vsx2.exp: Likewise.
9985 * gdb.arch/powerpc-vsx2.s: Likewise.
9986 * gdb.arch/powerpc-vsx3.exp: Likewise.
9987 * gdb.arch/powerpc-vsx3.s: Likewise.
9988 * gdb.arch/arm-disassembler-options.exp: Likewise.
9989 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
9990 * gdb.arch/s390-disassembler-options.exp: Likewise.
9991
17cd4947
LM
99922017-02-23 Luis Machado <lgustavo@codesourcery.com>
9993
9994 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
9995 (check_supported_features): ... this. Changed return type to void.
9996 (supports_rdseed): New static global.
9997 (rdseed): Check supports_rdseed.
9998 (initialize): Call check_supported_features.
9999
2039d74e
EBM
100002017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10001
10002 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
10003 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
10004 and lqarx/stqcx.
10005 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
10006 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
10007
a51d7ecf
EBM
100082017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10009
10010 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
10011 uppercase.
10012
0224619f
JK
100132017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10014
10015 * gdb.dwarf2/formdata16.c: New file.
10016 * gdb.dwarf2/formdata16.exp: New file.
10017 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
10018
216f72a1
JK
100192017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10020
10021 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
10022 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
10023 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
10024 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
10025 DW_AT_GNU_*.
10026
43988095
JK
100272017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10028
10029 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
10030
99e8a4f9
SDJ
100312017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
10032
10033 PR gdb/21164
10034 * gdb.base/maint.exp: Add testcases for when the commands do
10035 not have arguments.
10036
b58a8c0c
TP
100372017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
10038
10039 * gdb.cp/chained-calls.exp: Use p instead of P.
10040
4e746bb6
TW
100412017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
10042
10043 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
10044 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
10045
3f77c769
TT
100462017-02-14 Tom Tromey <tom@tromey.com>
10047
10048 PR python/13598:
10049 * gdb.python/py-events.exp: Add before_prompt event tests.
10050
075beec0
AA
100512017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10052
10053 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
10054
bf5f525c
LM
100552017-02-13 Luis Machado <lgustavo@codesourcery.com>
10056
10057 * gdb.linespec/explicit.c (my_unique_function_name): New function.
10058 (main): Call my_unique_function_name.
10059 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
10060 completion of patterns with a single match.
10061 Add missing -re switches to gdb_test_multiple calls.
10062
13a66184
LM
100632017-02-13 Luis Machado <lgustavo@codesourcery.com>
10064
10065 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
10066 return if core file is not recognized.
10067
26a06916
SM
100682017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10069
10070 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
10071 and extra UIs.
10072
b761ca9e
SM
100732017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10074
10075 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
10076 proc_with_prefix.
10077
b964bee0
TT
100782017-02-10 Tom Tromey <tom@tromey.com>
10079
10080 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
10081
18da0c51
MG
100822017-02-10 Martin Galvan <martingalvan@sourceware.org>
10083
10084 PR gdb/21122
10085 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
10086
604c4576
JG
100872017-02-08 Jerome Guitton <guitton@adacore.com>
10088
10089 * gdb.base/define.exp: Add test for command abbreviations
10090 in define.
10091
20b477a7
LM
100922017-02-06 Luis Machado <lgustavo@codesourcery.com>
10093
10094 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
10095 * gdb.reverse/insn-reverse-x86.c: New file.
10096
3f7b46f2
IR
100972017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10098
10099 PR tdep/20936
10100 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
10101
f0fd41c1
TT
101022017-02-03 Tom Tromey <tom@tromey.com>
10103
10104 PR rust/21097:
10105 * gdb.rust/simple.exp: Add new tests.
10106
5be5dbf0
PA
101072017-02-02 Pedro Alves <palves@redhat.com>
10108
10109 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
10110 tests.
10111
7346ef59
AA
101122017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10113
10114 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
10115 taking a 2-byte value out of a 4-byte DWARF implicit value on
10116 big-endian targets.
10117 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
10118 logic. Add test cases for DW_OP_implicit.
10119
787f0025
MM
101202017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10121
10122 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
10123
68777c29
MM
101242017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10125
10126 * gdb.btrace/enable.exp: Call gdb_exit before
10127 skip_gdbserver_tests.
10128
0a1c7e28
MM
101292017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10130
10131 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
10132 GDBFLAGS.
10133
b5ac99b0
MM
101342017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10135
10136 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
10137 the test is skipped.
10138 * gdb.btrace/data.exp: Likewise.
10139 * gdb.btrace/delta.exp: Likewise.
10140 * gdb.btrace/dlopen.exp: Likewise.
10141 * gdb.btrace/enable-running.exp: Likewise.
10142 * gdb.btrace/enable.exp: Likewise.
10143 * gdb.btrace/exception.exp: Likewise.
10144 * gdb.btrace/function_call_history.exp: Likewise.
10145 * gdb.btrace/gcore.exp: Likewise.
10146 * gdb.btrace/instruction_history.exp: Likewise.
10147 * gdb.btrace/multi-thread-step.exp: Likewise.
10148 * gdb.btrace/nohist.exp: Likewise.
10149 * gdb.btrace/non-stop.exp: Likewise.
10150 * gdb.btrace/reconnect.exp: Likewise.
10151 * gdb.btrace/record_goto-step.exp: Likewise.
10152 * gdb.btrace/record_goto.exp: Likewise.
10153 * gdb.btrace/rn-dl-bind.exp: Likewise.
10154 * gdb.btrace/segv.exp: Likewise.
10155 * gdb.btrace/step.exp: Likewise.
10156 * gdb.btrace/stepi.exp: Likewise.
10157 * gdb.btrace/tailcall-only.exp: Likewise.
10158 * gdb.btrace/tailcall.exp: Likewise.
10159 * gdb.btrace/tsx.exp: Likewise.
10160 * gdb.btrace/unknown_functions.exp: Likewise.
10161 * gdb.btrace/vdso.exp: Likewise.
10162
cd4007e4
MM
101632017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10164
10165 * gdb.btrace/enable-running.c: New.
10166 * gdb.btrace/enable-running.exp: New.
10167
2735833d
WT
101682017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
10169
10170 * gdb.arch/amd64-gs_base.c: New file.
10171 * gdb.arch/amd64-gs_base.exp: New file.
10172
b51e1e94
LM
101732017-01-26 Luis Machado <lgustavo@codesourcery.com>
10174
10175 * lib/memory.exp: Remove spurious empty newlines.
10176
72ca0410
SM
101772017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
10178
10179 * gdb.python/py-bad-printers.exp: Load python file using "source".
10180 * gdb.python/py-events.exp: Likewise.
10181 * gdb.python/py-evsignal.exp: Likewise.
10182 * gdb.python/py-evthreads.exp: Likewise.
10183 * gdb.python/py-frame-args.exp: Likewise.
10184 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
10185 * gdb.python/py-framefilter-mi.exp: Likewise.
10186 * gdb.python/py-framefilter.exp: Likewise.
10187 * gdb.python/py-mi.exp: Likewise.
10188 * gdb.python/py-pp-maint.exp: Likewise.
10189 * gdb.python/py-pp-registration.exp: Likewise.
10190 * gdb.python/py-prettyprint.exp: Likewise.
10191 (run_lang_tests): Likewise.
10192 * gdb.python/py-typeprint.exp: Likewise.
10193
e309aa65
LM
101942017-01-26 Luis Machado <lgustavo@codesourcery.com>
10195
10196 * lib/memory.exp: New file.
10197 * lib/gdb.exp: Load memory.exp.
10198 * gdb.base/memattr.exp (delete_memory): Move proc to
10199 lib/memory.exp and rename to delete_memory_regions.
10200 Replace delete_memory with delete_memory_regions.
10201 Cleanup memory regions before tests.
10202 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
10203 before tests.
10204
515aff23
LM
102052017-01-26 Luis Machado <lgustavo@codesourcery.com>
10206
10207 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
10208 files.
10209 (initialize): New function conditionally defined.
10210 (testcases): Move within conditional block.
10211 (main): Call initialize.
10212 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
10213 of gdb.reverse/insn-reverse.c.
10214 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
10215 gdb.reverse/insn-reverse.c.
10216
d8b49cf0
YQ
102172017-01-26 Yao Qi <yao.qi@linaro.org>
10218
10219 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
10220 disassemble on address 0.
10221
f13a9a0c
YQ
102222017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
10223 Yao Qi <yao.qi@linaro.org>
10224
10225 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
10226 * gdb.dwarf2/implptr-64bit.S: Remove.
10227 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
10228 variables in caller's context. Add DW_OP_implicit_value.
10229
5ac95241
YQ
102302017-01-25 Yao Qi <yao.qi@linaro.org>
10231
10232 * lib/dwarf.exp (Dwarf::_location): Handle
10233 DW_OP_GNU_implicit_pointer with proper size.
10234
23e82930
LM
102352017-01-20 Luis Machado <lgustavo@codesourcery.com>
10236
10237 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
10238 and add untested calls.
10239
d334ae25
LM
102402017-01-20 Luis Machado <lgustavo@codesourcery.com>
10241
10242 * gdb.python/python.exp: Check line number against what GDB thinks
10243 the line number is for func1.
10244
f5e6296e
IB
102452017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
10246
10247 * gdb.dlang/debug-expr.exp: New file.
10248
5b362f04
LM
102492016-12-23 Luis Machado <lgustavo@codesourcery.com>
10250
10251 Fix test names for the following files:
10252
10253 * gdb.ada/exec_changed.exp
10254 * gdb.ada/info_types.exp
10255 * gdb.arch/aarch64-atomic-inst.exp
10256 * gdb.arch/aarch64-fp.exp
10257 * gdb.arch/altivec-abi.exp
10258 * gdb.arch/altivec-regs.exp
10259 * gdb.arch/amd64-byte.exp
10260 * gdb.arch/amd64-disp-step.exp
10261 * gdb.arch/amd64-dword.exp
10262 * gdb.arch/amd64-entry-value-inline.exp
10263 * gdb.arch/amd64-entry-value-param.exp
10264 * gdb.arch/amd64-entry-value-paramref.exp
10265 * gdb.arch/amd64-entry-value.exp
10266 * gdb.arch/amd64-i386-address.exp
10267 * gdb.arch/amd64-invalid-stack-middle.exp
10268 * gdb.arch/amd64-invalid-stack-top.exp
10269 * gdb.arch/amd64-optimout-repeat.exp
10270 * gdb.arch/amd64-prologue-skip.exp
10271 * gdb.arch/amd64-prologue-xmm.exp
10272 * gdb.arch/amd64-stap-special-operands.exp
10273 * gdb.arch/amd64-stap-wrong-subexp.exp
10274 * gdb.arch/amd64-tailcall-cxx.exp
10275 * gdb.arch/amd64-tailcall-noret.exp
10276 * gdb.arch/amd64-tailcall-ret.exp
10277 * gdb.arch/amd64-tailcall-self.exp
10278 * gdb.arch/amd64-word.exp
10279 * gdb.arch/arm-bl-branch-dest.exp
10280 * gdb.arch/arm-disp-step.exp
10281 * gdb.arch/arm-neon.exp
10282 * gdb.arch/arm-single-step-kernel-helper.exp
10283 * gdb.arch/avr-flash-qualifier.exp
10284 * gdb.arch/disp-step-insn-reloc.exp
10285 * gdb.arch/e500-abi.exp
10286 * gdb.arch/e500-regs.exp
10287 * gdb.arch/ftrace-insn-reloc.exp
10288 * gdb.arch/i386-avx512.exp
10289 * gdb.arch/i386-bp_permanent.exp
10290 * gdb.arch/i386-byte.exp
10291 * gdb.arch/i386-cfi-notcurrent.exp
10292 * gdb.arch/i386-disp-step.exp
10293 * gdb.arch/i386-dr3-watch.exp
10294 * gdb.arch/i386-float.exp
10295 * gdb.arch/i386-gnu-cfi.exp
10296 * gdb.arch/i386-mpx-map.exp
10297 * gdb.arch/i386-mpx-sigsegv.exp
10298 * gdb.arch/i386-mpx-simple_segv.exp
10299 * gdb.arch/i386-mpx.exp
10300 * gdb.arch/i386-permbkpt.exp
10301 * gdb.arch/i386-prologue.exp
10302 * gdb.arch/i386-signal.exp
10303 * gdb.arch/i386-size-overlap.exp
10304 * gdb.arch/i386-unwind.exp
10305 * gdb.arch/i386-word.exp
10306 * gdb.arch/mips-fcr.exp
10307 * gdb.arch/powerpc-d128-regs.exp
10308 * gdb.arch/powerpc-stackless.exp
10309 * gdb.arch/ppc64-atomic-inst.exp
10310 * gdb.arch/s390-stackless.exp
10311 * gdb.arch/s390-tdbregs.exp
10312 * gdb.arch/s390-vregs.exp
10313 * gdb.arch/sparc-sysstep.exp
10314 * gdb.arch/thumb-bx-pc.exp
10315 * gdb.arch/thumb-singlestep.exp
10316 * gdb.arch/thumb2-it.exp
10317 * gdb.arch/vsx-regs.exp
10318 * gdb.asm/asm-source.exp
10319 * gdb.base/a2-run.exp
10320 * gdb.base/advance.exp
10321 * gdb.base/all-bin.exp
10322 * gdb.base/anon.exp
10323 * gdb.base/args.exp
10324 * gdb.base/arithmet.exp
10325 * gdb.base/async-shell.exp
10326 * gdb.base/async.exp
10327 * gdb.base/attach-pie-noexec.exp
10328 * gdb.base/attach-twice.exp
10329 * gdb.base/auto-load.exp
10330 * gdb.base/bang.exp
10331 * gdb.base/bitfields.exp
10332 * gdb.base/break-always.exp
10333 * gdb.base/break-caller-line.exp
10334 * gdb.base/break-entry.exp
10335 * gdb.base/break-inline.exp
10336 * gdb.base/break-on-linker-gcd-function.exp
10337 * gdb.base/break-probes.exp
10338 * gdb.base/break.exp
10339 * gdb.base/breakpoint-shadow.exp
10340 * gdb.base/call-ar-st.exp
10341 * gdb.base/call-sc.exp
10342 * gdb.base/call-signal-resume.exp
10343 * gdb.base/call-strs.exp
10344 * gdb.base/callfuncs.exp
10345 * gdb.base/catch-fork-static.exp
10346 * gdb.base/catch-gdb-caused-signals.exp
10347 * gdb.base/catch-load.exp
10348 * gdb.base/catch-signal-fork.exp
10349 * gdb.base/catch-signal.exp
10350 * gdb.base/catch-syscall.exp
10351 * gdb.base/charset.exp
10352 * gdb.base/checkpoint.exp
10353 * gdb.base/chng-syms.exp
10354 * gdb.base/code-expr.exp
10355 * gdb.base/code_elim.exp
10356 * gdb.base/commands.exp
10357 * gdb.base/completion.exp
10358 * gdb.base/complex.exp
10359 * gdb.base/cond-expr.exp
10360 * gdb.base/condbreak.exp
10361 * gdb.base/consecutive.exp
10362 * gdb.base/continue-all-already-running.exp
10363 * gdb.base/coredump-filter.exp
10364 * gdb.base/corefile.exp
10365 * gdb.base/dbx.exp
10366 * gdb.base/debug-expr.exp
10367 * gdb.base/define.exp
10368 * gdb.base/del.exp
10369 * gdb.base/disabled-location.exp
10370 * gdb.base/disasm-end-cu.exp
10371 * gdb.base/disasm-optim.exp
10372 * gdb.base/display.exp
10373 * gdb.base/duplicate-bp.exp
10374 * gdb.base/ena-dis-br.exp
10375 * gdb.base/ending-run.exp
10376 * gdb.base/enumval.exp
10377 * gdb.base/environ.exp
10378 * gdb.base/eu-strip-infcall.exp
10379 * gdb.base/eval-avoid-side-effects.exp
10380 * gdb.base/eval-skip.exp
10381 * gdb.base/exitsignal.exp
10382 * gdb.base/expand-psymtabs.exp
10383 * gdb.base/filesym.exp
10384 * gdb.base/find-unmapped.exp
10385 * gdb.base/finish.exp
10386 * gdb.base/float.exp
10387 * gdb.base/foll-exec-mode.exp
10388 * gdb.base/foll-exec.exp
10389 * gdb.base/foll-fork.exp
10390 * gdb.base/fortran-sym-case.exp
10391 * gdb.base/freebpcmd.exp
10392 * gdb.base/func-ptr.exp
10393 * gdb.base/func-ptrs.exp
10394 * gdb.base/funcargs.exp
10395 * gdb.base/gcore-buffer-overflow.exp
10396 * gdb.base/gcore-relro-pie.exp
10397 * gdb.base/gcore-relro.exp
10398 * gdb.base/gcore.exp
10399 * gdb.base/gdb1090.exp
10400 * gdb.base/gdb11530.exp
10401 * gdb.base/gdb11531.exp
10402 * gdb.base/gdb1821.exp
10403 * gdb.base/gdbindex-stabs.exp
10404 * gdb.base/gdbvars.exp
10405 * gdb.base/hbreak.exp
10406 * gdb.base/hbreak2.exp
10407 * gdb.base/included.exp
10408 * gdb.base/infcall-input.exp
10409 * gdb.base/inferior-died.exp
10410 * gdb.base/infnan.exp
10411 * gdb.base/info-macros.exp
10412 * gdb.base/info-os.exp
10413 * gdb.base/info-proc.exp
10414 * gdb.base/info-shared.exp
10415 * gdb.base/info-target.exp
10416 * gdb.base/infoline.exp
10417 * gdb.base/interp.exp
10418 * gdb.base/interrupt.exp
10419 * gdb.base/jit-reader.exp
10420 * gdb.base/jit-simple.exp
10421 * gdb.base/kill-after-signal.exp
10422 * gdb.base/kill-detach-inferiors-cmd.exp
10423 * gdb.base/label.exp
10424 * gdb.base/langs.exp
10425 * gdb.base/ldbl_e308.exp
10426 * gdb.base/line-symtabs.exp
10427 * gdb.base/linespecs.exp
10428 * gdb.base/list.exp
10429 * gdb.base/long_long.exp
10430 * gdb.base/longest-types.exp
10431 * gdb.base/maint.exp
10432 * gdb.base/max-value-size.exp
10433 * gdb.base/memattr.exp
10434 * gdb.base/mips_pro.exp
10435 * gdb.base/morestack.exp
10436 * gdb.base/moribund-step.exp
10437 * gdb.base/multi-forks.exp
10438 * gdb.base/nested-addr.exp
10439 * gdb.base/nextoverexit.exp
10440 * gdb.base/noreturn-finish.exp
10441 * gdb.base/noreturn-return.exp
10442 * gdb.base/nostdlib.exp
10443 * gdb.base/offsets.exp
10444 * gdb.base/opaque.exp
10445 * gdb.base/pc-fp.exp
10446 * gdb.base/permissions.exp
10447 * gdb.base/print-symbol-loading.exp
10448 * gdb.base/prologue-include.exp
10449 * gdb.base/psymtab.exp
10450 * gdb.base/ptype.exp
10451 * gdb.base/random-signal.exp
10452 * gdb.base/randomize.exp
10453 * gdb.base/range-stepping.exp
10454 * gdb.base/readline-ask.exp
10455 * gdb.base/recpar.exp
10456 * gdb.base/recurse.exp
10457 * gdb.base/relational.exp
10458 * gdb.base/restore.exp
10459 * gdb.base/return-nodebug.exp
10460 * gdb.base/return.exp
10461 * gdb.base/run-after-attach.exp
10462 * gdb.base/save-bp.exp
10463 * gdb.base/scope.exp
10464 * gdb.base/sect-cmd.exp
10465 * gdb.base/set-lang-auto.exp
10466 * gdb.base/set-noassign.exp
10467 * gdb.base/setvar.exp
10468 * gdb.base/sigall.exp
10469 * gdb.base/sigbpt.exp
10470 * gdb.base/siginfo-addr.exp
10471 * gdb.base/siginfo-infcall.exp
10472 * gdb.base/siginfo-obj.exp
10473 * gdb.base/siginfo.exp
10474 * gdb.base/signals-state-child.exp
10475 * gdb.base/signest.exp
10476 * gdb.base/sigstep.exp
10477 * gdb.base/sizeof.exp
10478 * gdb.base/skip.exp
10479 * gdb.base/solib-corrupted.exp
10480 * gdb.base/solib-nodir.exp
10481 * gdb.base/solib-search.exp
10482 * gdb.base/stack-checking.exp
10483 * gdb.base/stale-infcall.exp
10484 * gdb.base/stap-probe.exp
10485 * gdb.base/start.exp
10486 * gdb.base/step-break.exp
10487 * gdb.base/step-bt.exp
10488 * gdb.base/step-line.exp
10489 * gdb.base/step-over-exit.exp
10490 * gdb.base/step-over-syscall.exp
10491 * gdb.base/step-resume-infcall.exp
10492 * gdb.base/step-test.exp
10493 * gdb.base/store.exp
10494 * gdb.base/structs3.exp
10495 * gdb.base/sym-file.exp
10496 * gdb.base/symbol-without-target_section.exp
10497 * gdb.base/term.exp
10498 * gdb.base/testenv.exp
10499 * gdb.base/ui-redirect.exp
10500 * gdb.base/until.exp
10501 * gdb.base/unwindonsignal.exp
10502 * gdb.base/value-double-free.exp
10503 * gdb.base/vla-datatypes.exp
10504 * gdb.base/vla-ptr.exp
10505 * gdb.base/vla-sideeffect.exp
10506 * gdb.base/volatile.exp
10507 * gdb.base/watch-cond-infcall.exp
10508 * gdb.base/watch-cond.exp
10509 * gdb.base/watch-non-mem.exp
10510 * gdb.base/watch-read.exp
10511 * gdb.base/watch-vfork.exp
10512 * gdb.base/watchpoint-cond-gone.exp
10513 * gdb.base/watchpoint-delete.exp
10514 * gdb.base/watchpoint-hw-hit-once.exp
10515 * gdb.base/watchpoint-hw.exp
10516 * gdb.base/watchpoint-stops-at-right-insn.exp
10517 * gdb.base/watchpoints.exp
10518 * gdb.base/wchar.exp
10519 * gdb.base/whatis-exp.exp
10520 * gdb.btrace/buffer-size.exp
10521 * gdb.btrace/data.exp
10522 * gdb.btrace/delta.exp
10523 * gdb.btrace/dlopen.exp
10524 * gdb.btrace/enable.exp
10525 * gdb.btrace/exception.exp
10526 * gdb.btrace/function_call_history.exp
10527 * gdb.btrace/gcore.exp
10528 * gdb.btrace/instruction_history.exp
10529 * gdb.btrace/nohist.exp
10530 * gdb.btrace/reconnect.exp
10531 * gdb.btrace/record_goto-step.exp
10532 * gdb.btrace/record_goto.exp
10533 * gdb.btrace/rn-dl-bind.exp
10534 * gdb.btrace/segv.exp
10535 * gdb.btrace/step.exp
10536 * gdb.btrace/stepi.exp
10537 * gdb.btrace/tailcall-only.exp
10538 * gdb.btrace/tailcall.exp
10539 * gdb.btrace/tsx.exp
10540 * gdb.btrace/unknown_functions.exp
10541 * gdb.btrace/vdso.exp
10542 * gdb.compile/compile-ifunc.exp
10543 * gdb.compile/compile-ops.exp
10544 * gdb.compile/compile-print.exp
10545 * gdb.compile/compile-setjmp.exp
10546 * gdb.cp/abstract-origin.exp
10547 * gdb.cp/ambiguous.exp
10548 * gdb.cp/annota2.exp
10549 * gdb.cp/annota3.exp
10550 * gdb.cp/anon-ns.exp
10551 * gdb.cp/anon-struct.exp
10552 * gdb.cp/anon-union.exp
10553 * gdb.cp/arg-reference.exp
10554 * gdb.cp/baseenum.exp
10555 * gdb.cp/bool.exp
10556 * gdb.cp/breakpoint.exp
10557 * gdb.cp/bs15503.exp
10558 * gdb.cp/call-c.exp
10559 * gdb.cp/casts.exp
10560 * gdb.cp/chained-calls.exp
10561 * gdb.cp/class2.exp
10562 * gdb.cp/classes.exp
10563 * gdb.cp/cmpd-minsyms.exp
10564 * gdb.cp/converts.exp
10565 * gdb.cp/cp-relocate.exp
10566 * gdb.cp/cpcompletion.exp
10567 * gdb.cp/cpexprs.exp
10568 * gdb.cp/cplabel.exp
10569 * gdb.cp/cplusfuncs.exp
10570 * gdb.cp/cpsizeof.exp
10571 * gdb.cp/ctti.exp
10572 * gdb.cp/derivation.exp
10573 * gdb.cp/destrprint.exp
10574 * gdb.cp/dispcxx.exp
10575 * gdb.cp/enum-class.exp
10576 * gdb.cp/exception.exp
10577 * gdb.cp/exceptprint.exp
10578 * gdb.cp/expand-psymtabs-cxx.exp
10579 * gdb.cp/expand-sals.exp
10580 * gdb.cp/extern-c.exp
10581 * gdb.cp/filename.exp
10582 * gdb.cp/formatted-ref.exp
10583 * gdb.cp/fpointer.exp
10584 * gdb.cp/gdb1355.exp
10585 * gdb.cp/gdb2495.exp
10586 * gdb.cp/hang.exp
10587 * gdb.cp/impl-this.exp
10588 * gdb.cp/infcall-dlopen.exp
10589 * gdb.cp/inherit.exp
10590 * gdb.cp/iostream.exp
10591 * gdb.cp/koenig.exp
10592 * gdb.cp/local.exp
10593 * gdb.cp/m-data.exp
10594 * gdb.cp/m-static.exp
10595 * gdb.cp/mb-ctor.exp
10596 * gdb.cp/mb-inline.exp
10597 * gdb.cp/mb-templates.exp
10598 * gdb.cp/member-name.exp
10599 * gdb.cp/member-ptr.exp
10600 * gdb.cp/meth-typedefs.exp
10601 * gdb.cp/method.exp
10602 * gdb.cp/method2.exp
10603 * gdb.cp/minsym-fallback.exp
10604 * gdb.cp/misc.exp
10605 * gdb.cp/namelessclass.exp
10606 * gdb.cp/namespace-enum.exp
10607 * gdb.cp/namespace-nested-import.exp
10608 * gdb.cp/namespace.exp
10609 * gdb.cp/nextoverthrow.exp
10610 * gdb.cp/no-dmgl-verbose.exp
10611 * gdb.cp/non-trivial-retval.exp
10612 * gdb.cp/noparam.exp
10613 * gdb.cp/nsdecl.exp
10614 * gdb.cp/nsimport.exp
10615 * gdb.cp/nsnested.exp
10616 * gdb.cp/nsnoimports.exp
10617 * gdb.cp/nsrecurs.exp
10618 * gdb.cp/nsstress.exp
10619 * gdb.cp/nsusing.exp
10620 * gdb.cp/operator.exp
10621 * gdb.cp/oranking.exp
10622 * gdb.cp/overload-const.exp
10623 * gdb.cp/overload.exp
10624 * gdb.cp/ovldbreak.exp
10625 * gdb.cp/ovsrch.exp
10626 * gdb.cp/paren-type.exp
10627 * gdb.cp/parse-lang.exp
10628 * gdb.cp/pass-by-ref.exp
10629 * gdb.cp/pr-1023.exp
10630 * gdb.cp/pr-1210.exp
10631 * gdb.cp/pr-574.exp
10632 * gdb.cp/pr10687.exp
10633 * gdb.cp/pr12028.exp
10634 * gdb.cp/pr17132.exp
10635 * gdb.cp/pr17494.exp
10636 * gdb.cp/pr9067.exp
10637 * gdb.cp/pr9167.exp
10638 * gdb.cp/pr9631.exp
10639 * gdb.cp/printmethod.exp
10640 * gdb.cp/psmang.exp
10641 * gdb.cp/psymtab-parameter.exp
10642 * gdb.cp/ptype-cv-cp.exp
10643 * gdb.cp/ptype-flags.exp
10644 * gdb.cp/re-set-overloaded.exp
10645 * gdb.cp/ref-types.exp
10646 * gdb.cp/rtti.exp
10647 * gdb.cp/scope-err.exp
10648 * gdb.cp/shadow.exp
10649 * gdb.cp/smartp.exp
10650 * gdb.cp/static-method.exp
10651 * gdb.cp/static-print-quit.exp
10652 * gdb.cp/temargs.exp
10653 * gdb.cp/templates.exp
10654 * gdb.cp/try_catch.exp
10655 * gdb.cp/typedef-operator.exp
10656 * gdb.cp/typeid.exp
10657 * gdb.cp/userdef.exp
10658 * gdb.cp/using-crash.exp
10659 * gdb.cp/var-tag.exp
10660 * gdb.cp/virtbase.exp
10661 * gdb.cp/virtfunc.exp
10662 * gdb.cp/virtfunc2.exp
10663 * gdb.cp/vla-cxx.exp
10664 * gdb.disasm/t01_mov.exp
10665 * gdb.disasm/t02_mova.exp
10666 * gdb.disasm/t03_add.exp
10667 * gdb.disasm/t04_sub.exp
10668 * gdb.disasm/t05_cmp.exp
10669 * gdb.disasm/t06_ari2.exp
10670 * gdb.disasm/t07_ari3.exp
10671 * gdb.disasm/t08_or.exp
10672 * gdb.disasm/t09_xor.exp
10673 * gdb.disasm/t10_and.exp
10674 * gdb.disasm/t11_logs.exp
10675 * gdb.disasm/t12_bit.exp
10676 * gdb.disasm/t13_otr.exp
10677 * gdb.dlang/circular.exp
10678 * gdb.dwarf2/arr-stride.exp
10679 * gdb.dwarf2/arr-subrange.exp
10680 * gdb.dwarf2/atomic-type.exp
10681 * gdb.dwarf2/bad-regnum.exp
10682 * gdb.dwarf2/bitfield-parent-optimized-out.exp
10683 * gdb.dwarf2/callframecfa.exp
10684 * gdb.dwarf2/clztest.exp
10685 * gdb.dwarf2/corrupt.exp
10686 * gdb.dwarf2/data-loc.exp
10687 * gdb.dwarf2/dup-psym.exp
10688 * gdb.dwarf2/dw2-anon-mptr.exp
10689 * gdb.dwarf2/dw2-anonymous-func.exp
10690 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
10691 * gdb.dwarf2/dw2-bad-unresolved.exp
10692 * gdb.dwarf2/dw2-basic.exp
10693 * gdb.dwarf2/dw2-canonicalize-type.exp
10694 * gdb.dwarf2/dw2-case-insensitive.exp
10695 * gdb.dwarf2/dw2-common-block.exp
10696 * gdb.dwarf2/dw2-compdir-oldgcc.exp
10697 * gdb.dwarf2/dw2-compressed.exp
10698 * gdb.dwarf2/dw2-const.exp
10699 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
10700 * gdb.dwarf2/dw2-cu-size.exp
10701 * gdb.dwarf2/dw2-dup-frame.exp
10702 * gdb.dwarf2/dw2-entry-value.exp
10703 * gdb.dwarf2/dw2-icycle.exp
10704 * gdb.dwarf2/dw2-ifort-parameter.exp
10705 * gdb.dwarf2/dw2-inline-break.exp
10706 * gdb.dwarf2/dw2-inline-param.exp
10707 * gdb.dwarf2/dw2-intercu.exp
10708 * gdb.dwarf2/dw2-intermix.exp
10709 * gdb.dwarf2/dw2-lexical-block-bare.exp
10710 * gdb.dwarf2/dw2-linkage-name-trust.exp
10711 * gdb.dwarf2/dw2-minsym-in-cu.exp
10712 * gdb.dwarf2/dw2-noloc.exp
10713 * gdb.dwarf2/dw2-op-call.exp
10714 * gdb.dwarf2/dw2-op-out-param.exp
10715 * gdb.dwarf2/dw2-opt-structptr.exp
10716 * gdb.dwarf2/dw2-param-error.exp
10717 * gdb.dwarf2/dw2-producer.exp
10718 * gdb.dwarf2/dw2-ranges-base.exp
10719 * gdb.dwarf2/dw2-ref-missing-frame.exp
10720 * gdb.dwarf2/dw2-reg-undefined.exp
10721 * gdb.dwarf2/dw2-regno-invalid.exp
10722 * gdb.dwarf2/dw2-restore.exp
10723 * gdb.dwarf2/dw2-restrict.exp
10724 * gdb.dwarf2/dw2-single-line-discriminators.exp
10725 * gdb.dwarf2/dw2-strp.exp
10726 * gdb.dwarf2/dw2-undefined-ret-addr.exp
10727 * gdb.dwarf2/dw2-unresolved.exp
10728 * gdb.dwarf2/dw2-var-zero-addr.exp
10729 * gdb.dwarf2/dw4-sig-types.exp
10730 * gdb.dwarf2/dwz.exp
10731 * gdb.dwarf2/dynarr-ptr.exp
10732 * gdb.dwarf2/enum-type.exp
10733 * gdb.dwarf2/gdb-index.exp
10734 * gdb.dwarf2/implptr-64bit.exp
10735 * gdb.dwarf2/implptr-optimized-out.exp
10736 * gdb.dwarf2/implptr.exp
10737 * gdb.dwarf2/implref-array.exp
10738 * gdb.dwarf2/implref-const.exp
10739 * gdb.dwarf2/implref-global.exp
10740 * gdb.dwarf2/implref-struct.exp
10741 * gdb.dwarf2/mac-fileno.exp
10742 * gdb.dwarf2/main-subprogram.exp
10743 * gdb.dwarf2/member-ptr-forwardref.exp
10744 * gdb.dwarf2/method-ptr.exp
10745 * gdb.dwarf2/missing-sig-type.exp
10746 * gdb.dwarf2/nonvar-access.exp
10747 * gdb.dwarf2/opaque-type-lookup.exp
10748 * gdb.dwarf2/pieces-optimized-out.exp
10749 * gdb.dwarf2/pieces.exp
10750 * gdb.dwarf2/pr10770.exp
10751 * gdb.dwarf2/pr13961.exp
10752 * gdb.dwarf2/staticvirtual.exp
10753 * gdb.dwarf2/subrange.exp
10754 * gdb.dwarf2/symtab-producer.exp
10755 * gdb.dwarf2/trace-crash.exp
10756 * gdb.dwarf2/typeddwarf.exp
10757 * gdb.dwarf2/valop.exp
10758 * gdb.dwarf2/watch-notconst.exp
10759 * gdb.fortran/array-element.exp
10760 * gdb.fortran/charset.exp
10761 * gdb.fortran/common-block.exp
10762 * gdb.fortran/complex.exp
10763 * gdb.fortran/derived-type-function.exp
10764 * gdb.fortran/derived-type.exp
10765 * gdb.fortran/logical.exp
10766 * gdb.fortran/module.exp
10767 * gdb.fortran/multi-dim.exp
10768 * gdb.fortran/nested-funcs.exp
10769 * gdb.fortran/print-formatted.exp
10770 * gdb.fortran/subarray.exp
10771 * gdb.fortran/vla-alloc-assoc.exp
10772 * gdb.fortran/vla-datatypes.exp
10773 * gdb.fortran/vla-history.exp
10774 * gdb.fortran/vla-ptr-info.exp
10775 * gdb.fortran/vla-ptype-sub.exp
10776 * gdb.fortran/vla-ptype.exp
10777 * gdb.fortran/vla-sizeof.exp
10778 * gdb.fortran/vla-type.exp
10779 * gdb.fortran/vla-value-sub-arbitrary.exp
10780 * gdb.fortran/vla-value-sub-finish.exp
10781 * gdb.fortran/vla-value-sub.exp
10782 * gdb.fortran/vla-value.exp
10783 * gdb.fortran/whatis_type.exp
10784 * gdb.go/chan.exp
10785 * gdb.go/handcall.exp
10786 * gdb.go/hello.exp
10787 * gdb.go/integers.exp
10788 * gdb.go/methods.exp
10789 * gdb.go/package.exp
10790 * gdb.go/strings.exp
10791 * gdb.go/types.exp
10792 * gdb.go/unsafe.exp
10793 * gdb.guile/scm-arch.exp
10794 * gdb.guile/scm-block.exp
10795 * gdb.guile/scm-breakpoint.exp
10796 * gdb.guile/scm-cmd.exp
10797 * gdb.guile/scm-disasm.exp
10798 * gdb.guile/scm-equal.exp
10799 * gdb.guile/scm-frame-args.exp
10800 * gdb.guile/scm-frame-inline.exp
10801 * gdb.guile/scm-frame.exp
10802 * gdb.guile/scm-iterator.exp
10803 * gdb.guile/scm-math.exp
10804 * gdb.guile/scm-objfile.exp
10805 * gdb.guile/scm-ports.exp
10806 * gdb.guile/scm-symbol.exp
10807 * gdb.guile/scm-symtab.exp
10808 * gdb.guile/scm-value-cc.exp
10809 * gdb.guile/types-module.exp
10810 * gdb.linespec/break-ask.exp
10811 * gdb.linespec/cpexplicit.exp
10812 * gdb.linespec/explicit.exp
10813 * gdb.linespec/keywords.exp
10814 * gdb.linespec/linespec.exp
10815 * gdb.linespec/ls-dollar.exp
10816 * gdb.linespec/ls-errs.exp
10817 * gdb.linespec/skip-two.exp
10818 * gdb.linespec/thread.exp
10819 * gdb.mi/mi-async.exp
10820 * gdb.mi/mi-basics.exp
10821 * gdb.mi/mi-break.exp
10822 * gdb.mi/mi-catch-load.exp
10823 * gdb.mi/mi-cli.exp
10824 * gdb.mi/mi-cmd-param-changed.exp
10825 * gdb.mi/mi-console.exp
10826 * gdb.mi/mi-detach.exp
10827 * gdb.mi/mi-disassemble.exp
10828 * gdb.mi/mi-eval.exp
10829 * gdb.mi/mi-file-transfer.exp
10830 * gdb.mi/mi-file.exp
10831 * gdb.mi/mi-fill-memory.exp
10832 * gdb.mi/mi-inheritance-syntax-error.exp
10833 * gdb.mi/mi-linespec-err-cp.exp
10834 * gdb.mi/mi-logging.exp
10835 * gdb.mi/mi-memory-changed.exp
10836 * gdb.mi/mi-read-memory.exp
10837 * gdb.mi/mi-record-changed.exp
10838 * gdb.mi/mi-reg-undefined.exp
10839 * gdb.mi/mi-regs.exp
10840 * gdb.mi/mi-return.exp
10841 * gdb.mi/mi-reverse.exp
10842 * gdb.mi/mi-simplerun.exp
10843 * gdb.mi/mi-solib.exp
10844 * gdb.mi/mi-stack.exp
10845 * gdb.mi/mi-stepi.exp
10846 * gdb.mi/mi-syn-frame.exp
10847 * gdb.mi/mi-until.exp
10848 * gdb.mi/mi-var-block.exp
10849 * gdb.mi/mi-var-child.exp
10850 * gdb.mi/mi-var-cmd.exp
10851 * gdb.mi/mi-var-cp.exp
10852 * gdb.mi/mi-var-display.exp
10853 * gdb.mi/mi-var-invalidate.exp
10854 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
10855 * gdb.mi/mi-vla-fortran.exp
10856 * gdb.mi/mi-watch.exp
10857 * gdb.mi/mi2-var-child.exp
10858 * gdb.mi/user-selected-context-sync.exp
10859 * gdb.modula2/unbounded-array.exp
10860 * gdb.multi/dummy-frame-restore.exp
10861 * gdb.multi/multi-arch-exec.exp
10862 * gdb.multi/multi-arch.exp
10863 * gdb.multi/tids.exp
10864 * gdb.multi/watchpoint-multi.exp
10865 * gdb.opencl/callfuncs.exp
10866 * gdb.opencl/convs_casts.exp
10867 * gdb.opencl/datatypes.exp
10868 * gdb.opencl/operators.exp
10869 * gdb.opencl/vec_comps.exp
10870 * gdb.opt/clobbered-registers-O2.exp
10871 * gdb.opt/inline-break.exp
10872 * gdb.opt/inline-bt.exp
10873 * gdb.opt/inline-cmds.exp
10874 * gdb.opt/inline-locals.exp
10875 * gdb.pascal/case-insensitive-symbols.exp
10876 * gdb.pascal/floats.exp
10877 * gdb.pascal/gdb11492.exp
10878 * gdb.python/lib-types.exp
10879 * gdb.python/py-arch.exp
10880 * gdb.python/py-as-string.exp
10881 * gdb.python/py-bad-printers.exp
10882 * gdb.python/py-block.exp
10883 * gdb.python/py-breakpoint-create-fail.exp
10884 * gdb.python/py-breakpoint.exp
10885 * gdb.python/py-caller-is.exp
10886 * gdb.python/py-cmd.exp
10887 * gdb.python/py-explore-cc.exp
10888 * gdb.python/py-explore.exp
10889 * gdb.python/py-finish-breakpoint.exp
10890 * gdb.python/py-finish-breakpoint2.exp
10891 * gdb.python/py-frame-args.exp
10892 * gdb.python/py-frame-inline.exp
10893 * gdb.python/py-frame.exp
10894 * gdb.python/py-framefilter-mi.exp
10895 * gdb.python/py-infthread.exp
10896 * gdb.python/py-lazy-string.exp
10897 * gdb.python/py-linetable.exp
10898 * gdb.python/py-mi-events.exp
10899 * gdb.python/py-mi-objfile.exp
10900 * gdb.python/py-mi.exp
10901 * gdb.python/py-objfile.exp
10902 * gdb.python/py-pp-integral.exp
10903 * gdb.python/py-pp-maint.exp
10904 * gdb.python/py-pp-re-notag.exp
10905 * gdb.python/py-pp-registration.exp
10906 * gdb.python/py-recurse-unwind.exp
10907 * gdb.python/py-strfns.exp
10908 * gdb.python/py-symbol.exp
10909 * gdb.python/py-symtab.exp
10910 * gdb.python/py-sync-interp.exp
10911 * gdb.python/py-typeprint.exp
10912 * gdb.python/py-unwind-maint.exp
10913 * gdb.python/py-unwind.exp
10914 * gdb.python/py-value-cc.exp
10915 * gdb.python/py-xmethods.exp
10916 * gdb.reverse/amd64-tailcall-reverse.exp
10917 * gdb.reverse/break-precsave.exp
10918 * gdb.reverse/break-reverse.exp
10919 * gdb.reverse/consecutive-precsave.exp
10920 * gdb.reverse/consecutive-reverse.exp
10921 * gdb.reverse/finish-precsave.exp
10922 * gdb.reverse/finish-reverse-bkpt.exp
10923 * gdb.reverse/finish-reverse.exp
10924 * gdb.reverse/fstatat-reverse.exp
10925 * gdb.reverse/getresuid-reverse.exp
10926 * gdb.reverse/i386-precsave.exp
10927 * gdb.reverse/i386-reverse.exp
10928 * gdb.reverse/i386-sse-reverse.exp
10929 * gdb.reverse/i387-env-reverse.exp
10930 * gdb.reverse/i387-stack-reverse.exp
10931 * gdb.reverse/insn-reverse.exp
10932 * gdb.reverse/machinestate-precsave.exp
10933 * gdb.reverse/machinestate.exp
10934 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10935 * gdb.reverse/pipe-reverse.exp
10936 * gdb.reverse/readv-reverse.exp
10937 * gdb.reverse/recvmsg-reverse.exp
10938 * gdb.reverse/rerun-prec.exp
10939 * gdb.reverse/s390-mvcle.exp
10940 * gdb.reverse/step-precsave.exp
10941 * gdb.reverse/step-reverse.exp
10942 * gdb.reverse/time-reverse.exp
10943 * gdb.reverse/until-precsave.exp
10944 * gdb.reverse/until-reverse.exp
10945 * gdb.reverse/waitpid-reverse.exp
10946 * gdb.reverse/watch-precsave.exp
10947 * gdb.reverse/watch-reverse.exp
10948 * gdb.rust/generics.exp
10949 * gdb.rust/methods.exp
10950 * gdb.rust/modules.exp
10951 * gdb.rust/simple.exp
10952 * gdb.server/connect-with-no-symbol-file.exp
10953 * gdb.server/ext-attach.exp
10954 * gdb.server/ext-restart.exp
10955 * gdb.server/ext-wrapper.exp
10956 * gdb.server/file-transfer.exp
10957 * gdb.server/server-exec-info.exp
10958 * gdb.server/server-kill.exp
10959 * gdb.server/server-mon.exp
10960 * gdb.server/wrapper.exp
10961 * gdb.stabs/exclfwd.exp
10962 * gdb.stabs/gdb11479.exp
10963 * gdb.threads/clone-new-thread-event.exp
10964 * gdb.threads/corethreads.exp
10965 * gdb.threads/current-lwp-dead.exp
10966 * gdb.threads/dlopen-libpthread.exp
10967 * gdb.threads/gcore-thread.exp
10968 * gdb.threads/sigstep-threads.exp
10969 * gdb.threads/watchpoint-fork.exp
10970 * gdb.trace/actions-changed.exp
10971 * gdb.trace/backtrace.exp
10972 * gdb.trace/change-loc.exp
10973 * gdb.trace/circ.exp
10974 * gdb.trace/collection.exp
10975 * gdb.trace/disconnected-tracing.exp
10976 * gdb.trace/ftrace.exp
10977 * gdb.trace/mi-trace-frame-collected.exp
10978 * gdb.trace/mi-trace-unavailable.exp
10979 * gdb.trace/mi-traceframe-changed.exp
10980 * gdb.trace/mi-tsv-changed.exp
10981 * gdb.trace/no-attach-trace.exp
10982 * gdb.trace/passc-dyn.exp
10983 * gdb.trace/qtro.exp
10984 * gdb.trace/range-stepping.exp
10985 * gdb.trace/read-memory.exp
10986 * gdb.trace/save-trace.exp
10987 * gdb.trace/signal.exp
10988 * gdb.trace/status-stop.exp
10989 * gdb.trace/tfile.exp
10990 * gdb.trace/trace-break.exp
10991 * gdb.trace/trace-buffer-size.exp
10992 * gdb.trace/trace-condition.exp
10993 * gdb.trace/tracefile-pseudo-reg.exp
10994 * gdb.trace/tstatus.exp
10995 * gdb.trace/unavailable.exp
10996 * gdb.trace/while-dyn.exp
10997 * gdb.trace/while-stepping.exp
10998
34c41c68
DE
109992016-12-22 Doug Evans <xdje42@gmail.com>
11000
11001 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
11002 and msymbols.
11003
16e69324
YQ
110042016-12-19 Yao Qi <yao.qi@linaro.org>
11005
11006 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
11007 (test_with_self): Don't call do_steps_and_nexts, and remove
11008 code about stepping into xmalloc.
11009
f94f411b
YQ
110102016-12-09 Yao Qi <yao.qi@linaro.org>
11011
11012 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
11013
110142016-12-09 Yao Qi <yao.qi@linaro.org>
11015
11016 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
11017
f1b5deee
PA
110182016-12-09 Pedro Alves <palves@redhat.com>
11019
11020 * gdb.base/all-architectures-0.exp: New file.
11021 * gdb.base/all-architectures-1.exp: New file.
11022 * gdb.base/all-architectures-2.exp: New file.
11023 * gdb.base/all-architectures-3.exp: New file.
11024 * gdb.base/all-architectures-4.exp: New file.
11025 * gdb.base/all-architectures-5.exp: New file.
11026 * gdb.base/all-architectures-6.exp: New file.
11027 * gdb.base/all-architectures-7.exp: New file.
11028 * gdb.base/all-architectures.exp.in: New file.
11029
364ca42e
YQ
110302016-12-09 Yao Qi <yao.qi@linaro.org>
11031
11032 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
11033
107c2d62
LM
110342016-12-02 Luis Machado <lgustavo@codesourcery.com>
11035
11036 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
11037 possible.
11038 Remove useless pattern-matching code.
11039
df3ee9ca
PA
110402016-12-02 Pedro Alves <palves@redhat.com>
11041
11042 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
11043 procedure.
11044 (top level): Call it.
11045
ec835369
PA
110462016-12-02 Pedro Alves <palves@redhat.com>
11047
11048 * gdb.base/commands.exp (user_defined_command_args_stack_test):
11049 New procedure.
11050 (top level): Call it.
11051
01770bbd
PA
110522016-12-02 Pedro Alves <palves@redhat.com>
11053
11054 PR cli/20559
11055 * gdb.base/commands.exp (user_defined_command_args_eval): New
11056 procedure.
11057 (top level): Call it.
11058
008459ea
LM
110592016-12-02 Luis Machado <lgustavo@codesourcery.com>
11060
11061 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
11062 timeout handling.
11063
0c1b455e
TT
110642016-12-02 Tom Tromey <tom@tromey.com>
11065
11066 * gdb.dwarf2/main-subprogram.c: New file.
11067 * gdb.dwarf2/main-subprogram.exp: New file.
11068
018572b8
LM
110692016-12-01 Luis Machado <lgustavo@codesourcery.com>
11070
11071 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
11072 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
11073 gdb_test_no_output for a couple of cases.
11074 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
11075
84c93cd5
LM
110762016-12-01 Luis Machado <lgustavo@codesourcery.com>
11077
11078 Fix test names and standardize compilation error messages throughout
11079 the following files:
11080
11081 * gdb.ada/start.exp
11082 * gdb.arch/alpha-step.exp
11083 * gdb.arch/e500-prologue.exp
11084 * gdb.arch/ftrace-insn-reloc.exp
11085 * gdb.arch/gdb1291.exp
11086 * gdb.arch/gdb1431.exp
11087 * gdb.arch/gdb1558.exp
11088 * gdb.arch/i386-dr3-watch.exp
11089 * gdb.arch/i386-sse-stack-align.exp
11090 * gdb.arch/ia64-breakpoint-shadow.exp
11091 * gdb.arch/pa-nullify.exp
11092 * gdb.arch/powerpc-aix-prologue.exp
11093 * gdb.arch/thumb-bx-pc.exp
11094 * gdb.base/annota1.exp
11095 * gdb.base/annota3.exp
11096 * gdb.base/arrayidx.exp
11097 * gdb.base/assign.exp
11098 * gdb.base/attach.exp
11099 * gdb.base/auxv.exp
11100 * gdb.base/bang.exp
11101 * gdb.base/bfp-test.exp
11102 * gdb.base/bigcore.exp
11103 * gdb.base/bitfields2.exp
11104 * gdb.base/break-fun-addr.exp
11105 * gdb.base/break-probes.exp
11106 * gdb.base/call-rt-st.exp
11107 * gdb.base/callexit.exp
11108 * gdb.base/catch-fork-kill.exp
11109 * gdb.base/charset.exp
11110 * gdb.base/checkpoint.exp
11111 * gdb.base/comprdebug.exp
11112 * gdb.base/constvars.exp
11113 * gdb.base/coredump-filter.exp
11114 * gdb.base/cursal.exp
11115 * gdb.base/cvexpr.exp
11116 * gdb.base/detach.exp
11117 * gdb.base/display.exp
11118 * gdb.base/dmsym.exp
11119 * gdb.base/dprintf-pending.exp
11120 * gdb.base/dso2dso.exp
11121 * gdb.base/dtrace-probe.exp
11122 * gdb.base/dump.exp
11123 * gdb.base/enum_cond.exp
11124 * gdb.base/exe-lock.exp
11125 * gdb.base/exec-invalid-sysroot.exp
11126 * gdb.base/execl-update-breakpoints.exp
11127 * gdb.base/exprs.exp
11128 * gdb.base/fileio.exp
11129 * gdb.base/find.exp
11130 * gdb.base/finish.exp
11131 * gdb.base/fixsection.exp
11132 * gdb.base/foll-vfork.exp
11133 * gdb.base/frame-args.exp
11134 * gdb.base/gcore.exp
11135 * gdb.base/gdb1250.exp
11136 * gdb.base/global-var-nested-by-dso.exp
11137 * gdb.base/gnu-ifunc.exp
11138 * gdb.base/hashline1.exp
11139 * gdb.base/hashline2.exp
11140 * gdb.base/hashline3.exp
11141 * gdb.base/hbreak-in-shr-unsupported.exp
11142 * gdb.base/huge.exp
11143 * gdb.base/infcall-input.exp
11144 * gdb.base/info-fun.exp
11145 * gdb.base/info-shared.exp
11146 * gdb.base/jit-simple.exp
11147 * gdb.base/jit-so.exp
11148 * gdb.base/jit.exp
11149 * gdb.base/jump.exp
11150 * gdb.base/label.exp
11151 * gdb.base/lineinc.exp
11152 * gdb.base/logical.exp
11153 * gdb.base/longjmp.exp
11154 * gdb.base/macscp.exp
11155 * gdb.base/miscexprs.exp
11156 * gdb.base/new-ui-echo.exp
11157 * gdb.base/new-ui-pending-input.exp
11158 * gdb.base/new-ui.exp
11159 * gdb.base/nodebug.exp
11160 * gdb.base/nofield.exp
11161 * gdb.base/offsets.exp
11162 * gdb.base/overlays.exp
11163 * gdb.base/pending.exp
11164 * gdb.base/pointers.exp
11165 * gdb.base/pr11022.exp
11166 * gdb.base/printcmds.exp
11167 * gdb.base/prologue.exp
11168 * gdb.base/ptr-typedef.exp
11169 * gdb.base/realname-expand.exp
11170 * gdb.base/relativedebug.exp
11171 * gdb.base/relocate.exp
11172 * gdb.base/remote.exp
11173 * gdb.base/reread.exp
11174 * gdb.base/return2.exp
11175 * gdb.base/savedregs.exp
11176 * gdb.base/sep.exp
11177 * gdb.base/sepdebug.exp
11178 * gdb.base/sepsymtab.exp
11179 * gdb.base/set-inferior-tty.exp
11180 * gdb.base/setshow.exp
11181 * gdb.base/shlib-call.exp
11182 * gdb.base/sigaltstack.exp
11183 * gdb.base/siginfo-addr.exp
11184 * gdb.base/signals.exp
11185 * gdb.base/signull.exp
11186 * gdb.base/sigrepeat.exp
11187 * gdb.base/so-impl-ld.exp
11188 * gdb.base/solib-display.exp
11189 * gdb.base/solib-overlap.exp
11190 * gdb.base/solib-search.exp
11191 * gdb.base/solib-symbol.exp
11192 * gdb.base/structs.exp
11193 * gdb.base/structs2.exp
11194 * gdb.base/symtab-search-order.exp
11195 * gdb.base/twice.exp
11196 * gdb.base/unload.exp
11197 * gdb.base/varargs.exp
11198 * gdb.base/watchpoint-solib.exp
11199 * gdb.base/watchpoint.exp
11200 * gdb.base/whatis.exp
11201 * gdb.base/wrong_frame_bt_full.exp
11202 * gdb.btrace/dlopen.exp
11203 * gdb.cell/ea-standalone.exp
11204 * gdb.cell/ea-test.exp
11205 * gdb.cp/dispcxx.exp
11206 * gdb.cp/gdb2384.exp
11207 * gdb.cp/method2.exp
11208 * gdb.cp/nextoverthrow.exp
11209 * gdb.cp/pr10728.exp
11210 * gdb.disasm/am33.exp
11211 * gdb.disasm/h8300s.exp
11212 * gdb.disasm/mn10300.exp
11213 * gdb.disasm/sh3.exp
11214 * gdb.dwarf2/dw2-dir-file-name.exp
11215 * gdb.fortran/complex.exp
11216 * gdb.fortran/library-module.exp
11217 * gdb.guile/scm-pretty-print.exp
11218 * gdb.guile/scm-symbol.exp
11219 * gdb.guile/scm-type.exp
11220 * gdb.guile/scm-value.exp
11221 * gdb.linespec/linespec.exp
11222 * gdb.mi/gdb701.exp
11223 * gdb.mi/gdb792.exp
11224 * gdb.mi/mi-breakpoint-changed.exp
11225 * gdb.mi/mi-dprintf-pending.exp
11226 * gdb.mi/mi-dprintf.exp
11227 * gdb.mi/mi-exit-code.exp
11228 * gdb.mi/mi-pending.exp
11229 * gdb.mi/mi-solib.exp
11230 * gdb.mi/new-ui-mi-sync.exp
11231 * gdb.mi/pr11022.exp
11232 * gdb.mi/user-selected-context-sync.exp
11233 * gdb.opt/solib-intra-step.exp
11234 * gdb.python/py-events.exp
11235 * gdb.python/py-finish-breakpoint.exp
11236 * gdb.python/py-mi.exp
11237 * gdb.python/py-prettyprint.exp
11238 * gdb.python/py-shared.exp
11239 * gdb.python/py-symbol.exp
11240 * gdb.python/py-template.exp
11241 * gdb.python/py-type.exp
11242 * gdb.python/py-value.exp
11243 * gdb.reverse/solib-precsave.exp
11244 * gdb.reverse/solib-reverse.exp
11245 * gdb.server/solib-list.exp
11246 * gdb.stabs/weird.exp
11247 * gdb.threads/reconnect-signal.exp
11248 * gdb.threads/stepi-random-signal.exp
11249 * gdb.trace/actions.exp
11250 * gdb.trace/ax.exp
11251 * gdb.trace/backtrace.exp
11252 * gdb.trace/change-loc.exp
11253 * gdb.trace/deltrace.exp
11254 * gdb.trace/ftrace-lock.exp
11255 * gdb.trace/ftrace.exp
11256 * gdb.trace/infotrace.exp
11257 * gdb.trace/mi-tracepoint-changed.exp
11258 * gdb.trace/packetlen.exp
11259 * gdb.trace/passcount.exp
11260 * gdb.trace/pending.exp
11261 * gdb.trace/range-stepping.exp
11262 * gdb.trace/report.exp
11263 * gdb.trace/stap-trace.exp
11264 * gdb.trace/tfind.exp
11265 * gdb.trace/trace-break.exp
11266 * gdb.trace/trace-condition.exp
11267 * gdb.trace/trace-enable-disable.exp
11268 * gdb.trace/trace-mt.exp
11269 * gdb.trace/tracecmd.exp
11270 * gdb.trace/tspeed.exp
11271 * gdb.trace/tsv.exp
11272 * lib/perftest.exp
11273
fb9feb35
LM
112742016-12-01 Luis Machado <lgustavo@codesourcery.com>
11275
11276 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
11277 with gdb_test_no_output.
11278 Use command as test name.
11279
cd2ddb6c
LM
112802016-12-01 Luis Machado <lgustavo@codesourcery.com>
11281
11282 Fix test names starting with uppercase throughout the files.
11283
11284 * gdb.ada/assign_1.exp
11285 * gdb.ada/boolean_expr.exp
11286 * gdb.base/arrayidx.exp
11287 * gdb.base/del.exp
11288 * gdb.base/gcore-buffer-overflow.exp
11289 * gdb.base/testenv.exp
11290 * gdb.compile/compile.exp
11291 * gdb.python/py-framefilter-invalidarg.exp
11292 * gdb.python/py-framefilter.exp
11293
bb95117e
LM
112942016-12-01 Luis Machado <lgustavo@codesourcery.com>
11295
11296 Fix test names starting with uppercase throughout the files.
11297
11298 * gdb.ada/array_return.exp
11299 * gdb.ada/expr_delims.exp
11300 * gdb.ada/mi_dyn_arr.exp
11301 * gdb.ada/mi_interface.exp
11302 * gdb.ada/mi_var_array.exp
11303 * gdb.ada/watch_arg.exp
11304 * gdb.arch/alpha-step.exp
11305 * gdb.arch/altivec-regs.exp
11306 * gdb.arch/e500-regs.exp
11307 * gdb.arch/powerpc-d128-regs.exp
11308 * gdb.base/arrayidx.exp
11309 * gdb.base/break.exp
11310 * gdb.base/checkpoint.exp
11311 * gdb.base/debug-expr.exp
11312 * gdb.base/dmsym.exp
11313 * gdb.base/radix.exp
11314 * gdb.base/sepdebug.exp
11315 * gdb.base/testenv.exp
11316 * gdb.base/watch_thread_num.exp
11317 * gdb.base/watchpoint-cond-gone.exp
11318 * gdb.cell/break.exp
11319 * gdb.cell/ea-cache.exp
11320 * gdb.compile/compile.exp
11321 * gdb.cp/gdb2495.exp
11322 * gdb.gdb/selftest.exp
11323 * gdb.gdb/xfullpath.exp
11324 * gdb.go/hello.exp
11325 * gdb.go/integers.exp
11326 * gdb.objc/basicclass.exp
11327 * gdb.pascal/hello.exp
11328 * gdb.pascal/integers.exp
11329 * gdb.python/py-breakpoint.exp
11330 * gdb.python/py-cmd.exp
11331 * gdb.python/py-linetable.exp
11332 * gdb.python/py-xmethods.exp
11333 * gdb.python/python.exp
11334 * gdb.reverse/consecutive-precsave.exp
11335 * gdb.reverse/finish-precsave.exp
11336 * gdb.reverse/i386-precsave.exp
11337 * gdb.reverse/machinestate-precsave.exp
11338 * gdb.reverse/sigall-precsave.exp
11339 * gdb.reverse/solib-precsave.exp
11340 * gdb.reverse/step-precsave.exp
11341 * gdb.reverse/until-precsave.exp
11342 * gdb.reverse/watch-precsave.exp
11343 * gdb.threads/leader-exit.exp
11344 * gdb.threads/pthreads.exp
11345 * gdb.threads/wp-replication.exp
11346 * gdb.trace/actions.exp
11347 * gdb.trace/mi-tsv-changed.exp
11348 * gdb.trace/tsv.exp
11349
de97fdd4
LM
113502016-12-01 Luis Machado <lgustavo@codesourcery.com>
11351
11352 Fix test names starting with uppercase throughout the files.
11353
11354 * gdb.arch/i386-bp_permanent.exp
11355 * gdb.arch/i386-gnu-cfi.exp
11356 * gdb.base/disasm-end-cu.exp
11357 * gdb.base/macscp.exp
11358 * gdb.base/pending.exp
11359 * gdb.base/watch_thread_num.exp
11360 * gdb.cp/exception.exp
11361 * gdb.cp/gdb2495.exp
11362 * gdb.cp/local.exp
11363 * gdb.python/py-evsignal.exp
11364 * gdb.python/python.exp
11365 * gdb.trace/tracecmd.exp
11366
9f058c10
LM
113672016-12-01 Luis Machado <lgustavo@codesourcery.com>
11368
11369 Fix test names starting with uppercase throughout the files.
11370
11371 * gdb.base/charset.exp
11372 * gdb.base/eval.exp
11373 * gdb.base/multi-forks.exp
11374 * gdb.guile/scm-progspace.exp
11375 * gdb.opencl/datatypes.exp
11376 * gdb.python/py-block.exp
11377 * gdb.python/py-function.exp
11378 * gdb.python/py-symbol.exp
11379 * gdb.python/py-symtab.exp
11380 * gdb.python/py-xmethods.exp
11381 * gdb.reverse/break-precsave.exp
11382 * gdb.reverse/break-reverse.exp
11383 * gdb.reverse/consecutive-precsave.exp
11384 * gdb.reverse/consecutive-reverse.exp
11385 * gdb.reverse/finish-precsave.exp
11386 * gdb.reverse/finish-reverse-bkpt.exp
11387 * gdb.reverse/finish-reverse.exp
11388 * gdb.reverse/fstatat-reverse.exp
11389 * gdb.reverse/getresuid-reverse.exp
11390 * gdb.reverse/i386-precsave.exp
11391 * gdb.reverse/i386-reverse.exp
11392 * gdb.reverse/i386-sse-reverse.exp
11393 * gdb.reverse/i387-stack-reverse.exp
11394 * gdb.reverse/insn-reverse.exp
11395 * gdb.reverse/machinestate-precsave.exp
11396 * gdb.reverse/machinestate.exp
11397 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11398 * gdb.reverse/pipe-reverse.exp
11399 * gdb.reverse/readv-reverse.exp
11400 * gdb.reverse/recvmsg-reverse.exp
11401 * gdb.reverse/rerun-prec.exp
11402 * gdb.reverse/s390-mvcle.exp
11403 * gdb.reverse/sigall-precsave.exp
11404 * gdb.reverse/sigall-reverse.exp
11405 * gdb.reverse/solib-precsave.exp
11406 * gdb.reverse/solib-reverse.exp
11407 * gdb.reverse/step-precsave.exp
11408 * gdb.reverse/step-reverse.exp
11409 * gdb.reverse/time-reverse.exp
11410 * gdb.reverse/until-precsave.exp
11411 * gdb.reverse/until-reverse.exp
11412 * gdb.reverse/waitpid-reverse.exp
11413 * gdb.reverse/watch-precsave.exp
11414 * gdb.reverse/watch-reverse.exp
11415
cdc7edd7
LM
114162016-12-01 Luis Machado <lgustavo@codesourcery.com>
11417
11418 Fix test names starting with uppercase throughout the files.
11419
11420 * gdb.arch/i386-mpx-simple_segv.exp
11421 * gdb.arch/i386-mpx.exp
11422 * gdb.arch/i386-permbkpt.exp
11423 * gdb.arch/pa-nullify.exp
11424 * gdb.arch/powerpc-d128-regs.exp
11425 * gdb.arch/vsx-regs.exp
11426 * gdb.base/bfp-test.exp
11427 * gdb.base/break.exp
11428 * gdb.base/breakpoint-shadow.exp
11429 * gdb.base/callfuncs.exp
11430 * gdb.base/charset.exp
11431 * gdb.base/commands.exp
11432 * gdb.base/completion.exp
11433 * gdb.base/dfp-test.exp
11434 * gdb.base/echo.exp
11435 * gdb.base/ending-run.exp
11436 * gdb.base/eval.exp
11437 * gdb.base/expand-psymtabs.exp
11438 * gdb.base/float128.exp
11439 * gdb.base/floatn.exp
11440 * gdb.base/foll-exec-mode.exp
11441 * gdb.base/gdb1056.exp
11442 * gdb.base/gdb11531.exp
11443 * gdb.base/kill-after-signal.exp
11444 * gdb.base/multi-forks.exp
11445 * gdb.base/overlays.exp
11446 * gdb.base/pending.exp
11447 * gdb.base/sepdebug.exp
11448 * gdb.base/testenv.exp
11449 * gdb.base/valgrind-db-attach.exp
11450 * gdb.base/watch_thread_num.exp
11451 * gdb.base/watchpoint-cond-gone.exp
11452 * gdb.base/watchpoint.exp
11453 * gdb.base/watchpoints.exp
11454 * gdb.cp/arg-reference.exp
11455 * gdb.cp/baseenum.exp
11456 * gdb.cp/operator.exp
11457 * gdb.cp/shadow.exp
11458 * gdb.dwarf2/dw2-op-out-param.exp
11459 * gdb.dwarf2/dw2-reg-undefined.exp
11460 * gdb.go/chan.exp
11461 * gdb.go/hello.exp
11462 * gdb.go/integers.exp
11463 * gdb.go/methods.exp
11464 * gdb.go/package.exp
11465 * gdb.guile/scm-parameter.exp
11466 * gdb.guile/scm-progspace.exp
11467 * gdb.guile/scm-value.exp
11468 * gdb.mi/mi-pending.exp
11469 * gdb.mi/user-selected-context-sync.exp
11470 * gdb.multi/multi-attach.exp
11471 * gdb.multi/tids.exp
11472 * gdb.opt/clobbered-registers-O2.exp
11473 * gdb.pascal/floats.exp
11474 * gdb.pascal/integers.exp
11475 * gdb.python/py-block.exp
11476 * gdb.python/py-events.exp
11477 * gdb.python/py-parameter.exp
11478 * gdb.python/py-symbol.exp
11479 * gdb.python/py-symtab.exp
11480 * gdb.python/py-type.exp
11481 * gdb.python/py-value.exp
11482 * gdb.python/py-xmethods.exp
11483 * gdb.python/python.exp
11484 * gdb.reverse/break-precsave.exp
11485 * gdb.reverse/consecutive-precsave.exp
11486 * gdb.reverse/finish-precsave.exp
11487 * gdb.reverse/i386-precsave.exp
11488 * gdb.reverse/machinestate-precsave.exp
11489 * gdb.reverse/sigall-precsave.exp
11490 * gdb.reverse/solib-precsave.exp
11491 * gdb.reverse/step-precsave.exp
11492 * gdb.reverse/until-precsave.exp
11493 * gdb.reverse/watch-precsave.exp
11494 * gdb.server/ext-attach.exp
11495 * gdb.server/ext-restart.exp
11496 * gdb.server/ext-run.exp
11497 * gdb.server/ext-wrapper.exp
11498 * gdb.stabs/gdb11479.exp
11499 * gdb.stabs/weird.exp
11500 * gdb.threads/attach-many-short-lived-threads.exp
11501 * gdb.threads/kill.exp
11502 * gdb.threads/watchpoint-fork.exp
11503
bc6c7af4
LM
115042016-12-01 Luis Machado <lgustavo@codesourcery.com>
11505
11506 Fix test names starting with uppercase throughout all the files below.
11507
11508 * gdb.ada/array_return.exp
11509 * gdb.ada/catch_ex.exp
11510 * gdb.ada/info_exc.exp
11511 * gdb.ada/mi_catch_ex.exp
11512 * gdb.ada/mi_dyn_arr.exp
11513 * gdb.ada/mi_ex_cond.exp
11514 * gdb.ada/mi_exc_info.exp
11515 * gdb.ada/mi_interface.exp
11516 * gdb.ada/mi_task_arg.exp
11517 * gdb.ada/mi_task_info.exp
11518 * gdb.ada/mi_var_array.exp
11519 * gdb.arch/alpha-step.exp
11520 * gdb.arch/amd64-disp-step.exp
11521 * gdb.arch/arm-disp-step.exp
11522 * gdb.arch/disp-step-insn-reloc.exp
11523 * gdb.arch/e500-prologue.exp
11524 * gdb.arch/ftrace-insn-reloc.exp
11525 * gdb.arch/gdb1558.exp
11526 * gdb.arch/i386-bp_permanent.exp
11527 * gdb.arch/i386-disp-step.exp
11528 * gdb.arch/i386-float.exp
11529 * gdb.arch/i386-gnu-cfi.exp
11530 * gdb.arch/ia64-breakpoint-shadow.exp
11531 * gdb.arch/mips16-thunks.exp
11532 * gdb.arch/pa-nullify.exp
11533 * gdb.arch/powerpc-aix-prologue.exp
11534 * gdb.arch/powerpc-power.exp
11535 * gdb.arch/ppc-dfp.exp
11536 * gdb.arch/s390-tdbregs.exp
11537 * gdb.arch/spu-info.exp
11538 * gdb.arch/spu-ls.exp
11539 * gdb.arch/thumb-bx-pc.exp
11540 * gdb.base/advance.exp
11541 * gdb.base/annota-input-while-running.exp
11542 * gdb.base/arrayidx.exp
11543 * gdb.base/asmlabel.exp
11544 * gdb.base/async.exp
11545 * gdb.base/attach-wait-input.exp
11546 * gdb.base/auto-connect-native-target.exp
11547 * gdb.base/batch-preserve-term-settings.exp
11548 * gdb.base/bfp-test.exp
11549 * gdb.base/bigcore.exp
11550 * gdb.base/bp-permanent.exp
11551 * gdb.base/break-always.exp
11552 * gdb.base/break-fun-addr.exp
11553 * gdb.base/break-idempotent.exp
11554 * gdb.base/break-main-file-remove-fail.exp
11555 * gdb.base/break-probes.exp
11556 * gdb.base/break-unload-file.exp
11557 * gdb.base/break.exp
11558 * gdb.base/call-ar-st.exp
11559 * gdb.base/call-rt-st.exp
11560 * gdb.base/call-sc.exp
11561 * gdb.base/call-signal-resume.exp
11562 * gdb.base/call-strs.exp
11563 * gdb.base/callexit.exp
11564 * gdb.base/callfuncs.exp
11565 * gdb.base/catch-gdb-caused-signals.exp
11566 * gdb.base/catch-signal-siginfo-cond.exp
11567 * gdb.base/catch-syscall.exp
11568 * gdb.base/compare-sections.exp
11569 * gdb.base/cond-eval-mode.exp
11570 * gdb.base/condbreak-call-false.exp
11571 * gdb.base/consecutive-step-over.exp
11572 * gdb.base/cursal.exp
11573 * gdb.base/disabled-location.exp
11574 * gdb.base/disasm-end-cu.exp
11575 * gdb.base/display.exp
11576 * gdb.base/double-prompt-target-event-error.exp
11577 * gdb.base/dprintf-bp-same-addr.exp
11578 * gdb.base/dprintf-detach.exp
11579 * gdb.base/dprintf-next.exp
11580 * gdb.base/dprintf-non-stop.exp
11581 * gdb.base/dprintf-pending.exp
11582 * gdb.base/dso2dso.exp
11583 * gdb.base/ending-run.exp
11584 * gdb.base/enum_cond.exp
11585 * gdb.base/examine-backward.exp
11586 * gdb.base/exe-lock.exp
11587 * gdb.base/exec-invalid-sysroot.exp
11588 * gdb.base/execl-update-breakpoints.exp
11589 * gdb.base/execution-termios.exp
11590 * gdb.base/fileio.exp
11591 * gdb.base/fixsection.exp
11592 * gdb.base/foll-exec-mode.exp
11593 * gdb.base/foll-exec.exp
11594 * gdb.base/fork-running-state.exp
11595 * gdb.base/frame-args.exp
11596 * gdb.base/fullpath-expand.exp
11597 * gdb.base/func-ptr.exp
11598 * gdb.base/gcore-relro-pie.exp
11599 * gdb.base/gdb1090.exp
11600 * gdb.base/gdb1555.exp
11601 * gdb.base/global-var-nested-by-dso.exp
11602 * gdb.base/gnu-ifunc.exp
11603 * gdb.base/hbreak-in-shr-unsupported.exp
11604 * gdb.base/hbreak-unmapped.exp
11605 * gdb.base/hook-stop.exp
11606 * gdb.base/infcall-input.exp
11607 * gdb.base/info-fun.exp
11608 * gdb.base/info-shared.exp
11609 * gdb.base/interrupt-noterm.exp
11610 * gdb.base/jit-so.exp
11611 * gdb.base/jit.exp
11612 * gdb.base/line-symtabs.exp
11613 * gdb.base/list.exp
11614 * gdb.base/longjmp.exp
11615 * gdb.base/macscp.exp
11616 * gdb.base/max-value-size.exp
11617 * gdb.base/nodebug.exp
11618 * gdb.base/nofield.exp
11619 * gdb.base/overlays.exp
11620 * gdb.base/paginate-after-ctrl-c-running.exp
11621 * gdb.base/paginate-bg-execution.exp
11622 * gdb.base/paginate-inferior-exit.exp
11623 * gdb.base/pending.exp
11624 * gdb.base/pr11022.exp
11625 * gdb.base/printcmds.exp
11626 * gdb.base/ptr-typedef.exp
11627 * gdb.base/ptype.exp
11628 * gdb.base/randomize.exp
11629 * gdb.base/range-stepping.exp
11630 * gdb.base/realname-expand.exp
11631 * gdb.base/relativedebug.exp
11632 * gdb.base/remote.exp
11633 * gdb.base/savedregs.exp
11634 * gdb.base/sepdebug.exp
11635 * gdb.base/set-noassign.exp
11636 * gdb.base/shlib-call.exp
11637 * gdb.base/shreloc.exp
11638 * gdb.base/sigaltstack.exp
11639 * gdb.base/sigbpt.exp
11640 * gdb.base/siginfo-addr.exp
11641 * gdb.base/siginfo-obj.exp
11642 * gdb.base/siginfo-thread.exp
11643 * gdb.base/signest.exp
11644 * gdb.base/signull.exp
11645 * gdb.base/sigrepeat.exp
11646 * gdb.base/skip.exp
11647 * gdb.base/so-impl-ld.exp
11648 * gdb.base/solib-corrupted.exp
11649 * gdb.base/solib-disc.exp
11650 * gdb.base/solib-display.exp
11651 * gdb.base/solib-overlap.exp
11652 * gdb.base/solib-search.exp
11653 * gdb.base/solib-symbol.exp
11654 * gdb.base/source-execution.exp
11655 * gdb.base/sss-bp-on-user-bp-2.exp
11656 * gdb.base/sss-bp-on-user-bp.exp
11657 * gdb.base/stack-checking.exp
11658 * gdb.base/stale-infcall.exp
11659 * gdb.base/step-break.exp
11660 * gdb.base/step-line.exp
11661 * gdb.base/step-over-exit.exp
11662 * gdb.base/step-test.exp
11663 * gdb.base/structs.exp
11664 * gdb.base/sym-file.exp
11665 * gdb.base/symtab-search-order.exp
11666 * gdb.base/term.exp
11667 * gdb.base/type-opaque.exp
11668 * gdb.base/unload.exp
11669 * gdb.base/until-nodebug.exp
11670 * gdb.base/until.exp
11671 * gdb.base/unwindonsignal.exp
11672 * gdb.base/watch-cond.exp
11673 * gdb.base/watch-non-mem.exp
11674 * gdb.base/watch_thread_num.exp
11675 * gdb.base/watchpoint-reuse-slot.exp
11676 * gdb.base/watchpoint-solib.exp
11677 * gdb.base/watchpoint.exp
11678 * gdb.btrace/dlopen.exp
11679 * gdb.cell/arch.exp
11680 * gdb.cell/break.exp
11681 * gdb.cell/bt.exp
11682 * gdb.cell/core.exp
11683 * gdb.cell/data.exp
11684 * gdb.cell/dwarfaddr.exp
11685 * gdb.cell/ea-cache.exp
11686 * gdb.cell/ea-standalone.exp
11687 * gdb.cell/ea-test.exp
11688 * gdb.cell/f-regs.exp
11689 * gdb.cell/fork.exp
11690 * gdb.cell/gcore.exp
11691 * gdb.cell/mem-access.exp
11692 * gdb.cell/ptype.exp
11693 * gdb.cell/registers.exp
11694 * gdb.cell/sizeof.exp
11695 * gdb.cell/solib-symbol.exp
11696 * gdb.cell/solib.exp
11697 * gdb.compile/compile-tls.exp
11698 * gdb.cp/exception.exp
11699 * gdb.cp/gdb2495.exp
11700 * gdb.cp/local.exp
11701 * gdb.cp/mb-inline.exp
11702 * gdb.cp/mb-templates.exp
11703 * gdb.cp/pr10687.exp
11704 * gdb.cp/pr9167.exp
11705 * gdb.cp/scope-err.exp
11706 * gdb.cp/templates.exp
11707 * gdb.cp/virtfunc.exp
11708 * gdb.dwarf2/dw2-dir-file-name.exp
11709 * gdb.dwarf2/dw2-single-line-discriminators.exp
11710 * gdb.fortran/complex.exp
11711 * gdb.fortran/library-module.exp
11712 * gdb.guile/guile.exp
11713 * gdb.guile/scm-cmd.exp
11714 * gdb.guile/scm-frame-inline.exp
11715 * gdb.guile/scm-objfile.exp
11716 * gdb.guile/scm-pretty-print.exp
11717 * gdb.guile/scm-symbol.exp
11718 * gdb.guile/scm-type.exp
11719 * gdb.guile/scm-value.exp
11720 * gdb.linespec/keywords.exp
11721 * gdb.linespec/ls-errs.exp
11722 * gdb.linespec/macro-relative.exp
11723 * gdb.linespec/thread.exp
11724 * gdb.mi/mi-breakpoint-changed.exp
11725 * gdb.mi/mi-dprintf-pending.exp
11726 * gdb.mi/mi-fullname-deleted.exp
11727 * gdb.mi/mi-logging.exp
11728 * gdb.mi/mi-pending.exp
11729 * gdb.mi/mi-solib.exp
11730 * gdb.mi/new-ui-mi-sync.exp
11731 * gdb.mi/user-selected-context-sync.exp
11732 * gdb.multi/dummy-frame-restore.exp
11733 * gdb.multi/multi-arch-exec.exp
11734 * gdb.multi/remove-inferiors.exp
11735 * gdb.multi/watchpoint-multi-exit.exp
11736 * gdb.opt/solib-intra-step.exp
11737 * gdb.perf/backtrace.exp
11738 * gdb.perf/single-step.exp
11739 * gdb.perf/skip-command.exp
11740 * gdb.perf/skip-prologue.exp
11741 * gdb.perf/solib.exp
11742 * gdb.python/lib-types.exp
11743 * gdb.python/py-as-string.exp
11744 * gdb.python/py-bad-printers.exp
11745 * gdb.python/py-block.exp
11746 * gdb.python/py-breakpoint.exp
11747 * gdb.python/py-cmd.exp
11748 * gdb.python/py-events.exp
11749 * gdb.python/py-evthreads.exp
11750 * gdb.python/py-finish-breakpoint.exp
11751 * gdb.python/py-finish-breakpoint2.exp
11752 * gdb.python/py-frame-inline.exp
11753 * gdb.python/py-frame.exp
11754 * gdb.python/py-inferior.exp
11755 * gdb.python/py-infthread.exp
11756 * gdb.python/py-mi.exp
11757 * gdb.python/py-objfile.exp
11758 * gdb.python/py-pp-maint.exp
11759 * gdb.python/py-pp-registration.exp
11760 * gdb.python/py-prettyprint.exp
11761 * gdb.python/py-recurse-unwind.exp
11762 * gdb.python/py-shared.exp
11763 * gdb.python/py-symbol.exp
11764 * gdb.python/py-symtab.exp
11765 * gdb.python/py-template.exp
11766 * gdb.python/py-type.exp
11767 * gdb.python/py-unwind-maint.exp
11768 * gdb.python/py-unwind.exp
11769 * gdb.python/py-value.exp
11770 * gdb.python/python.exp
11771 * gdb.reverse/finish-reverse-bkpt.exp
11772 * gdb.reverse/insn-reverse.exp
11773 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11774 * gdb.reverse/solib-precsave.exp
11775 * gdb.reverse/solib-reverse.exp
11776 * gdb.stabs/gdb11479.exp
11777 * gdb.stabs/weird.exp
11778 * gdb.threads/fork-child-threads.exp
11779 * gdb.threads/fork-plus-threads.exp
11780 * gdb.threads/fork-thread-pending.exp
11781 * gdb.threads/forking-threads-plus-breakpoint.exp
11782 * gdb.threads/hand-call-in-threads.exp
11783 * gdb.threads/interrupted-hand-call.exp
11784 * gdb.threads/linux-dp.exp
11785 * gdb.threads/local-watch-wrong-thread.exp
11786 * gdb.threads/next-while-other-thread-longjmps.exp
11787 * gdb.threads/non-ldr-exit.exp
11788 * gdb.threads/pending-step.exp
11789 * gdb.threads/print-threads.exp
11790 * gdb.threads/process-dies-while-detaching.exp
11791 * gdb.threads/process-dies-while-handling-bp.exp
11792 * gdb.threads/pthreads.exp
11793 * gdb.threads/queue-signal.exp
11794 * gdb.threads/reconnect-signal.exp
11795 * gdb.threads/signal-command-handle-nopass.exp
11796 * gdb.threads/signal-command-multiple-signals-pending.exp
11797 * gdb.threads/signal-delivered-right-thread.exp
11798 * gdb.threads/signal-sigtrap.exp
11799 * gdb.threads/sigthread.exp
11800 * gdb.threads/staticthreads.exp
11801 * gdb.threads/stepi-random-signal.exp
11802 * gdb.threads/thread-unwindonsignal.exp
11803 * gdb.threads/thread_check.exp
11804 * gdb.threads/thread_events.exp
11805 * gdb.threads/tid-reuse.exp
11806 * gdb.threads/tls-nodebug.exp
11807 * gdb.threads/tls-shared.exp
11808 * gdb.threads/tls-so_extern.exp
11809 * gdb.threads/tls.exp
11810 * gdb.threads/wp-replication.exp
11811 * gdb.trace/actions-changed.exp
11812 * gdb.trace/actions.exp
11813 * gdb.trace/backtrace.exp
11814 * gdb.trace/change-loc.exp
11815 * gdb.trace/collection.exp
11816 * gdb.trace/deltrace.exp
11817 * gdb.trace/disconnected-tracing.exp
11818 * gdb.trace/entry-values.exp
11819 * gdb.trace/ftrace-lock.exp
11820 * gdb.trace/ftrace.exp
11821 * gdb.trace/infotrace.exp
11822 * gdb.trace/mi-trace-frame-collected.exp
11823 * gdb.trace/mi-trace-unavailable.exp
11824 * gdb.trace/mi-traceframe-changed.exp
11825 * gdb.trace/mi-tracepoint-changed.exp
11826 * gdb.trace/mi-tsv-changed.exp
11827 * gdb.trace/no-attach-trace.exp
11828 * gdb.trace/packetlen.exp
11829 * gdb.trace/passc-dyn.exp
11830 * gdb.trace/passcount.exp
11831 * gdb.trace/pending.exp
11832 * gdb.trace/pr16508.exp
11833 * gdb.trace/qtro.exp
11834 * gdb.trace/range-stepping.exp
11835 * gdb.trace/read-memory.exp
11836 * gdb.trace/report.exp
11837 * gdb.trace/save-trace.exp
11838 * gdb.trace/signal.exp
11839 * gdb.trace/stap-trace.exp
11840 * gdb.trace/status-stop.exp
11841 * gdb.trace/strace.exp
11842 * gdb.trace/tfile.exp
11843 * gdb.trace/tfind.exp
11844 * gdb.trace/trace-break.exp
11845 * gdb.trace/trace-condition.exp
11846 * gdb.trace/trace-enable-disable.exp
11847 * gdb.trace/trace-mt.exp
11848 * gdb.trace/tracecmd.exp
11849 * gdb.trace/tracefile-pseudo-reg.exp
11850 * gdb.trace/tspeed.exp
11851 * gdb.trace/tstatus.exp
11852 * gdb.trace/tsv.exp
11853 * gdb.trace/unavailable.exp
11854 * gdb.trace/while-dyn.exp
11855 * gdb.trace/while-stepping.exp
11856 * lib/gdb-guile.exp
11857 * lib/gdb.exp
11858 * lib/mi-support.exp
11859 * lib/pascal.exp
11860 * lib/perftest.exp
11861 * lib/prelink-support.exp
11862 * lib/selftest-support.exp
11863
ad02e4fe
SM
118642016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
11865
11866 * Makefile.in: Include disable-implicit-rules.mk.
11867
22347e55
AA
118682016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11869
11870 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
11871 non-byte-aligned bit fields.
11872
da5b30da
AA
118732016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11874
11875 PR gdb/12616
11876 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
11877 respects the DW_AT_data_bit_offset attribute.
11878
b593ecca
SM
118792016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
11880
11881 * gdb.base/default.exp: Fix output of "set language".
11882
3b165252
SM
118832016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
11884
11885 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
11886 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
11887 make.
11888 * configure.ac: Remove checks for the make program.
11889 * configure: Re-generate.
11890
1a2f3d7f
KB
118912016-11-16 Kevin Buettner <kevinb@redhat.com>
11892
11893 * gdb.python/py-recurse-unwind.c (main): Add loop.
11894 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
11895 to read_register() and gdb.parse_and_eval(). Make each code
11896 call a separate case that can be individually tested.
11897 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
11898 proc. Call cont_and_backtrace for each of the code paths that
11899 we want to test in the unwinder.
11900
b7f38fda
AA
119012016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
11902
11903 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
11904 the definition of struct S.
11905
1f8db343
CM
119062016-11-11 Catherine Moore <clm@codesourcery.com>
11907
11908 * gdb.base/dump.exp: Identify verilog format dump tests as such.
11909
fad0c9fb
PA
119102016-11-09 Pedro Alves <palves@redhat.com>
11911
11912 * gdb.base/commands.exp (runto_or_return): New procedure.
11913 (gdbvar_simple_if_test, gdbvar_simple_while_test)
11914 (gdbvar_complex_if_while_test, progvar_simple_if_test)
11915 (progvar_simple_while_test, progvar_complex_if_while_test)
11916 (if_while_breakpoint_command_test)
11917 (infrun_breakpoint_command_test, breakpoint_command_test)
11918 (user_defined_command_test, watchpoint_command_test)
11919 (test_command_prompt_position, redefine_hook_test)
11920 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
11921 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
11922 multi_line_input and multi_line. Remove gdb_expect and
11923 gdb_stop_suppressing_tests uses.
11924 * lib/gdb.exp (valnum_re): New global.
11925 (multi_line_input): New procedure.
11926
8354c62c
SM
119272016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
11928
11929 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
11930 Remove.
11931 (test_setup): Define with proc_with_prefix.
11932 (test_cli_inferior): Likewise.
11933 (test_cli_thread): Likewise.
11934 (test_cli_frame): Likewise.
11935 (test_cli_select_frame): Likewise.
11936 (test_cli_up_down): Likewise.
11937 (test_mi_thread_select): Likewise.
11938 (test_mi_stack_select_frame): Likewise.
11939 (test_cli_in_mi_inferior): Likewise.
11940 (test_cli_in_mi_thread): Likewise.
11941 (test_cli_in_mi_frame): Likewise.
11942 (top level): Do not use with_test_prefix_procname.
11943
64f367a2
PA
119442016-11-09 Pedro Alves <palves@redhat.com>
11945
11946 * gdb.base/commands.exp (gdbvar_simple_if_test)
11947 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
11948 (progvar_simple_if_test, progvar_simple_while_test)
11949 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
11950 (infrun_breakpoint_command_test, breakpoint_command_test)
11951 (user_defined_command_test, watchpoint_command_test)
11952 (test_command_prompt_position, deprecated_command_test)
11953 (bp_deleted_in_command, temporary_breakpoint_commands)
11954 (stray_arg0_test, source_file_with_indented_comment)
11955 (recursive_source_test, if_commands_test)
11956 (error_clears_commands_left, redefine_hook_test)
11957 (redefine_backtrace_test): Use proc_with_prefix.
11958 * lib/gdb.exp (proc_with_prefix): New proc.
11959
0bb65f1e
AA
119602016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11961
11962 * gdb.base/tui-layout.c: New file.
11963 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
11964 disassembly window contains very long lines.
11965
7353f247
TT
119662016-11-08 Tom Tromey <tom@tromey.com>
11967
11968 * gdb.python/py-value.exp (test_value_creation): Make "long" test
11969 depend on Python 2.
11970
30a7bb83
TT
119712016-11-08 Tom Tromey <tom@tromey.com>
11972
11973 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
11974 New method.
11975
cdf5a07c
MG
119762016-10-29 Manish Goregaokar <manish@mozilla.com>
11977
2806dc7e 11978 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 11979
51a789c3
MG
119802016-10-27 Manish Goregaokar <manish@mozilla.com>
11981
2806dc7e
PA
11982 * gdb.rust/simple.rs: Add test for univariant enums without
11983 discriminants and for encoded struct-like enums.
51a789c3 11984
f610ab6d
PA
119852016-10-28 Pedro Alves <palves@redhat.com>
11986
11987 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
11988 gdb_test_multiple, tighten regexps and match symtabs and line
11989 tables incrementally.
11990
b129b0ca
LM
119912016-10-28 Luis Machado <lgustavo@codesourcery.com>
11992
11993 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
11994 general.
11995
ecf45d2c
SL
119962016-10-25 Luis Machado <lgustavo@codesourcery.com>
11997
11998 * gdb.base/exec-invalid-sysroot.exp: New file.
11999
b8d38ee4
JK
120002016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12001
12002 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
12003
f90fd8c2
JK
120042016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12005
12006 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
12007
2d2476aa
MR
120082016-10-19 Maciej W. Rozycki <macro@imgtec.com>
12009
2806dc7e
PA
12010 * gdb.base/killed-outside.exp: Remove $options from a call to
12011 `prepare_for_testing'.
2d2476aa 12012
e42b25a0
SM
120132016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12014
12015 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12016 Change test message.
12017
3ccdb432
SM
120182016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12019
12020 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12021 Update comment.
12022
5bad3170
SM
120232016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12024
12025 * gdb.trace/mi-trace-save.exp: New file.
12026
5ad9dba7
YQ
120272016-10-13 Yao Qi <yao.qi@linaro.org>
12028
12029 * gdb.base/code_elim.exp (get_var_address): Remove.
12030 * gdb.base/relocate.exp: Likewise.
12031 * gdb.base/shreloc.exp: Likewise.
12032 * lib/gdb.exp (get_var_address): New.
12033
62df7e21
YQ
120342016-10-13 Yao Qi <yao.qi@linaro.org>
12035
12036 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
12037 floating point tests if $skip_float_test is false.
12038
4dac951e
LM
120392016-10-12 Luis Machado <lgustavo@codesourcery.com>
12040
12041 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
12042 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
12043 argc values.
12044 Add 1 to argc so we guarantee distinct initial/modified argc values.
12045
8f1a8fc4
JK
120462016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12047
12048 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
12049
16c85b5d
JK
120502016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12051
12052 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
12053 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
12054 * gdb.arch/vsx-regs.exp: Likewise.
12055
1d0e042a
YQ
120562016-10-07 Yao Qi <yao.qi@linaro.org>
12057
12058 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
12059
68dadef5
MM
120602016-10-07 Markus Metzger <markus.t.metzger@intel.com>
12061
12062 * gdb.python/python.exp: Test decode_line("*0").
12063
33fa2c6e
DE
120642016-10-06 Doug Evans <dje@google.com>
12065
12066 * gdb.python/py-value.exp (test_value_creation): Add test for large
12067 unsigned 64-bit value.
12068
9c37b5ae
TT
120692016-10-06 Tom Tromey <tom@tromey.com>
12070
12071 * gdb.compile/compile.exp: Change java tests to rust.
12072 * gdb.base/setshow.exp: Change java tests to rust.
12073 * gdb.base/default.exp: Remove java from language list.
12074 * README (Examples): Update language example.
12075 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
12076 test.
12077 * lib/gdb.exp (skip_java_tests): Remove.
12078 * lib/java.exp: Remove.
12079 * gdb.java: Remove.
12080
78b86327
MR
120812016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12082
12083 * gdb.arch/mips-fcr.exp: New test.
12084 * gdb.arch/mips-fcr.c: Source for the new test.
12085
7470adbb
MR
120862016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12087
12088 * gdb.base/solib-disc.exp: Use `standard_output_file'
12089 throughout.
12090
4a556533
PA
120912016-10-06 Pedro Alves <palves@redhat.com>
12092
12093 * gdb.base/jit-simple-dl.c: New file.
12094 * gdb.base/jit-simple-jit.c: New file, factored out from ...
12095 * gdb.base/jit-simple.c: ... this.
12096 * gdb.base/jit-simple.exp (jit_run): Delete.
12097 (build_jit): New proc.
12098 (jit_test_reread): Recompile either the main program or the shared
12099 library, depending on what is being tested. Skip changing address
12100 if caller wants to. Compare before/after addresses. If testing
12101 standalone, explicitly load the binary. Test "maint info
12102 breakpoints".
12103 (top level): Add "standalone vs shared lib" and "change address"
12104 vs "same address" axes.
12105
5a122fbc
PA
121062016-10-06 Pedro Alves <palves@redhat.com>
12107
12108 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
12109 call.
12110 (jit_run): Delete.
12111 (jit_test_reread): Use with_test_prefix. Reload the main binary
12112 explicitly. Compare the before/after addresses of the JIT
12113 descriptor.
12114
ee8da4b8
DE
121152016-08-15 Doug Evans <dje@google.com>
12116
12117 * gdb.xml/extra-regs.xml: Update, end field now required, default type
12118 for single bitfields is bool.
12119 * gdb.xml/tdesc-regs.exp: Ditto.
12120
f389f6fe
JK
121212016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12122
12123 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
12124
fdebf1a4
YQ
121252016-10-05 Yao Qi <yao.qi@linaro.org>
12126
12127 * lib/gdb.exp (support_complex_tests): Return zero if
12128 gdb_skip_float_test return true.
12129
9c36d954 121302016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12131 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
12132
12133 PR gdb/20487
12134 * gdb.mi/user-selected-context-sync.exp: New file.
12135 * gdb.mi/user-selected-context-sync.c: New file.
12136
4034d0ff 121372016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12138 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
12139
12140 PR gdb/20487
12141 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
12142 =thread-select-event check.
12143
a4297203
PB
121442016-09-29 Peter Bergner <bergner@vnet.ibm.com>
12145
12146 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
12147 the compulsory L operand changes.
12148 * gdb.arch/powerpc-power.s: Likewise.
12149
bb805577
JK
121502016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12151
12152 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
12153 * gdb.base/jit-attach-pie.c: New file.
12154 * gdb.base/jit-attach-pie.exp: New file.
12155
6d61dee5
PA
121562016-09-28 Pedro Alves <palves@redhat.com>
12157
12158 * gdb.base/infcall-input.c: New file.
12159 * gdb.base/infcall-input.exp: New file.
12160
f73842fc
YQ
121612016-09-22 Yao Qi <yao.qi@linaro.org>
12162
12163 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
12164 (gdb_exit): Rename it to ...
12165 (gdbserver_gdb_exit): ... Close GDBserver.
12166 (gdb_exit): New proc, call gdbserver_gdb_exit.
12167 (mi_gdb_exit): Likewise.
12168
90681dab
YQ
121692016-09-22 Yao Qi <yao.qi@linaro.org>
12170
12171 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
12172 path.
12173 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
12174 Remove duplication.
12175
9c211fd8
YQ
121762016-09-22 Yao Qi <yao.qi@linaro.org>
12177
12178 * lib/gdbserver-support.exp: Check the existence of
12179 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
12180
ad0a504f
AK
121812016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
12182
12183 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
12184
36cf1806
TT
121852016-09-21 Tom Tromey <tom@tromey.com>
12186
12187 PR gdb/20604:
12188 * gdb.base/quit.exp: New file.
12189
74172ecf
SM
121902016-09-21 Simon Marchi <simon.marchi@ericsson.com>
12191
12192 * .gitignore: New file.
12193
3d0ec882
MR
121942016-09-21 Maciej W. Rozycki <macro@imgtec.com>
12195
12196 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
12197 throughout.
12198
8193adea
AA
121992016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12200
12201 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
12202
d41a5c09
JK
122032016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12204
12205 * gdb.cp/casts.cc (decltype): Move it ...
12206 (main): ... with its call to ...
12207 * gdb.cp/casts03.cc: ... a new file.
12208 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
12209
d2dfe700
JK
122102016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12211
12212 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
12213
e2a92b16
PB
122142016-09-15 Peter Bergner <bergner@vnet.ibm.com>
12215
12216 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
12217 and sync up the test with tests in gas/testsuite/gas/ppc.
12218 * gdb.arch/powerpc-power.exp: Likewise.
12219
49b4de64
JK
122202016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12221
12222 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
12223
2c29df25
SDJ
122242016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
12225 Jan Kratochvil <jan.kratochvil@redhat.com>
12226
12227 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
12228 make m1's definition to be different from m2's. Use 'dummy' as an
12229 argument for probe 'two'.
12230
cc3c2846
JB
122312016-09-10 Jon Beniston <jon@beniston.com>
12232
12233 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
12234 for sim target.
12235
e1b2624a
AA
122362016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12237
12238 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
12239 variable declaration.
12240 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
12241 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
12242 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
12243 received HWCAP as its argument.
12244
4295e285
PA
122452016-09-06 Pedro Alves <palves@redhat.com>
12246
12247 * gdb.base/new-ui-pending-input.c: New file.
12248 * gdb.base/new-ui-pending-input.exp: New file.
12249 * gdb.exp (clear_gdb_spawn_id): New procedure.
12250 (with_spawn_id): Check whether gdb_spawn_id exists before
12251 referencing it. If gdb_spawn_id didn't exist on entry, clear it
12252 on exit.
12253
00d5215e
UW
122542016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12255
12256 * gdb.base/float128.c: New file.
12257 * gdb.base/float128.exp: Likewise.
12258 * gdb.base/floatn.c: Likewise.
12259 * gdb.base/floatn.exp: Likewise.
12260
a9ff5f12
UW
122612016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12262
12263 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
12264
f245535c
PA
122652016-09-05 Pedro Alves <palves@redhat.com>
12266
12267 PR backtrace/19927
12268 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
12269 unwinders are immediately called as side effect of "source" or
12270 "disable unwinder" commands.
12271 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
12272
ae9cf263
YQ
122732016-09-02 Yao Qi <yao.qi@linaro.org>
12274
12275 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
12276 is true and $type is "float" or "double".
12277
27aba047
YQ
122782016-09-02 Yao Qi <yao.qi@linaro.org>
12279
12280 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
12281 true.
12282 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
12283 * gdb.base/call-rt-st.exp: Likewise.
12284 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
12285 return value instead of gdb,skip_float_test.
12286 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
12287 (do_function_calls): Use its return value instead of
12288 gdb,skip_float_test.
12289 * gdb.base/finish.exp: Likewise.
12290 * gdb.base/funcargs.exp: Likewise.
12291 * gdb.base/return.exp: Likewise.
12292 * gdb.base/return2.exp: Likewise.
12293 * gdb.base/varargs.exp: Likewise.
12294 * lib/gdb.exp (gdb_skip_float_test): Change it to
12295 gdb_caching_proc. Detect the broken ptrace on arm-linux.
12296
5af962df
AA
122972016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12298
12299 * gdb.multi/tids.exp: Test "thread apply all".
12300
7fac6910
JK
123012016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12302
12303 * gdb.base/default.exp (tty): Remove.
12304
bb1fe4ac
KB
123052016-08-24 Kevin Buettner <kevinb@redhat.com>
12306
2806dc7e
PA
12307 * gdb.python/py-recurse-unwind.c: New file.
12308 * gdb.python/py-recurse-unwind.py: New file.
12309 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 12310
0a1ddfa6
SM
123112016-08-24 Simon Marchi <simon.marchi@ericsson.com>
12312
12313 * gdb.base/set-inferior-tty.exp: New file.
12314 * gdb.base/set-inferior-tty.c: New file.
12315
d9de1fe3
PA
123162016-08-23 Pedro Alves <palves@redhat.com>
12317
12318 PR gdb/20494
12319 * gdb.base/new-ui-echo.c: New file.
12320 * gdb.base/new-ui-echo.exp: New file.
12321
e9d9abd7
YQ
123222016-08-23 Yao Qi <yao.qi@linaro.org>
12323
12324 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
12325 gdbserver_spawn.
12326 * gdb.server/connect-without-multi-process.exp (do_test):
12327 Likewise.
12328
3589529e
YQ
123292016-08-23 Yao Qi <yao.qi@linaro.org>
12330
12331 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
12332 standalone_txt. Delete gdb_txt and standalone_txt on host
12333 and target. Spawn the binary on target. Copy files from
12334 target to host.
12335
6bb90213
PA
123362016-08-22 Pedro Alves <palves@redhat.com>
12337
12338 PR gdb/20505
12339 * gdb.base/vdso-warning.exp: Test core dumps too. Use
12340 with_test_prefix. Factor out bits to ...
12341 (test_no_vdso): ... this new procedure.
12342
20c2c024
CL
123432016-08-19 Carl Love <cel@us.ibm.com>
12344
12345 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
12346 maintaining separate logic for constructing the output path.
12347 * gdb.arch/powerpc-d128-regs.exp: Likewise.
12348 * gdb.arch/ppc-dfp.exp: Likewise.
12349 * gdb.arch/ppc-fp.exp: Likewise.
12350 * gdb.arch/vsx-regs.exp: Likewise.
12351 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
12352 binprefix for generating the additional binary files.
12353
0646e07d
PA
123542016-08-19 Pedro Alves <palves@redhat.com>
12355
12356 * gdb.trace/mi-trace-frame-collected.exp
12357 (test_trace_frame_collected): On x32, expect two registers.
12358
46da9242
CL
123592016-08-18 Carl Love <cel@us.ibm.com>
12360
12361 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
12362 and sync up the test with tests in gas/testsuite/gas/ppc.
12363 * gdb.arch/powerpc-power.exp: Likewise.
12364
eb2332d7
SM
123652016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12366
12367 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
12368 expected error message.
12369
63c61e04
SM
123702016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12371
12372 * gdb.multi/remove-inferiors.exp: New file.
12373 * gdb.multi/remove-inferiors.c: New file.
12374
7b17065f
YQ
123752016-08-12 Yao Qi <yao.qi@linaro.org>
12376
12377 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
12378 argument list.
12379
01d3dedf
PA
123802016-08-10 Pedro Alves <palves@redhat.com>
12381
12382 PR gdb/19187
12383 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
12384 setup_kfails.
12385
3eb7562a
PA
123862016-08-09 Pedro Alves <palves@redhat.com>
12387 Simon Marchi <simon.marchi@ericsson.com>
12388
12389 PR gdb/20418
12390 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
12391 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
12392
80614914
PA
123932016-08-09 Pedro Alves <palves@redhat.com>
12394
12395 PR mi/20431
12396 * gdb.mi/mi-cmd-error.exp: New file.
12397
f348d89a
PA
123982016-08-09 Pedro Alves <palves@redhat.com>
12399
12400 PR gdb/18653
12401 * gdb.base/signals-state-child.c: New file.
12402 * gdb.base/signals-state-child.exp: New file.
12403 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
12404
e5ca03b4
PA
124052016-08-09 Pedro Alves <palves@redhat.com>
12406
12407 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
12408
282a0691
TT
124092016-08-03 Tom Tromey <tom@tromey.com>
12410
12411 PR python/18565:
12412 * gdb.python/py-frame-inline.exp: Add Frame.function test.
12413
41bfcd63
YQ
124142016-08-01 Yao Qi <yao.qi@linaro.org>
12415
12416 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
12417 variable mode to "multi-process" if $multi_process is 1, otherwise
12418 set it to "single-process".
12419
e3465b24
YQ
124202016-08-01 Yao Qi <yao.qi@linaro.org>
12421
12422 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
12423 * gdb.cp/cpexprs.exp: Likewise.
12424 * gdb.cp/m-static.exp: Likewise.
12425
0b31a4bc
TT
124262016-07-26 Tom Tromey <tom@tromey.com>
12427
12428 PR python/20190:
12429 * gdb.threads/tls.exp (check_thread_local): Add python symbol
12430 test.
12431
e0461dbb
MM
124322016-07-26 Markus Metzger <markus.t.metzger@intel.com>
12433
12434 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
12435 selecting assembly source files.
12436 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
12437 assembly source files.
12438 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
12439 assembly source files.
12440 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
12441 selecting assembly source files.
12442
8194e927
SM
124432016-07-25 Simon Marchi <simon.marchi@ericsson.com>
12444
12445 * gdb.base/new-ui.exp (do_test_invalid_args): New
12446 procedure.
12447
c0272db5
TW
124482016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
12449
12450 * gdb.btrace/reconnect.c: New file.
12451 * gdb.btrace/reconnect.exp: New file.
12452
e3487908
GKB
124532016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
12454
12455 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
12456 to test_catch_syscall_group.
12457 (test_catch_syscall_group): New.
12458
12df5c00
TT
124592016-07-21 Tom Tromey <tom@tromey.com>
12460
12461 * gdb.rust/simple.rs (main): Use empty struct expression.
12462 * gdb.rust/simple.exp: Add tests for empty struct expression.
12463
bae62ee2
YQ
124642016-07-21 Yao Qi <yao.qi@linaro.org>
12465
12466 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
12467 if gdb_skip_xml_test is true on some targets.
12468
b1b53fb3
YQ
124692016-07-21 Yao Qi <yao.qi@linaro.org>
12470
12471 * gdb.server/solib-list.exp: Unset last_loaded_file.
12472
027d97f8
JK
124732016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12474
12475 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
12476 "step into captured_main (args)".
12477
7674d381
JK
124782016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12479
12480 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
12481
72b5d099
JK
124822016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12483
12484 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
12485
1f960ced
PA
124862016-07-19 Pedro Alves <palves@redhat.com>
12487
12488 * gdb.opt/inline-break.exp: Remove optimize=-O2.
12489 * gdb.opt/inline-bt.exp: Likewise.
12490 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
12491 additional_flags=-Winline.
12492 * gdb.opt/inline-locals.exp: Likewise.
12493 * gdb.opt/inline-markers.c (ATTR): Define.
12494 (inlined_fn): Use it.
12495
f25827c1
YQ
124962016-07-19 Yao Qi <yao.qi@linaro.org>
12497
12498 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
12499 (test_with_self): Remove some code. Remove argument executable.
12500 (top-level): Use do_self_tests.
12501
37539ebe
DB
125022016-07-15 Zachary Welch <zwelch@codesourcery.com>
12503 Don Breazeal <donb@codesourcery.com>
12504
12505 * gdb.base/maint.exp: Escape paths used in regular expressions.
12506 * gdb.stabs/weird.exp: Likewise.
12507
dac790e1
TT
125082016-07-13 Tom Tromey <tom@tromey.com>
12509
12510 PR python/15620, PR python/18620:
12511 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
12512 (test_bkpt_events): New procs.
12513
93daf339
TT
125142016-07-13 Tom Tromey <tom@tromey.com>
12515
12516 PR python/17698:
12517 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
12518 test.
12519 (test_watchpoints): Likewise.
12520 (test_bkpt_pending): New proc.
12521
6571a381
TT
125222016-07-13 Tom Tromey <tom@tromey.com>
12523
12524 PR cli/18053:
12525 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
12526 completion test.
12527
e8732474
JK
125282016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12529
12530 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
12531 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
12532 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
12533 f_label.
12534 (g): Rename g_end_lbl to g_label.
12535 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
12536 low_pc and high_pc.
12537 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
12538
e0f3fd7c
TT
125392016-07-12 Tom Tromey <tom@tromey.com>
12540
12541 PR python/19293:
12542 * gdb.python/py-unwind-maint.exp: Update tests.
12543
3cfe46b6
YQ
125442016-07-12 Yao Qi <yao.qi@linaro.org>
12545
12546 * lib/selftest-support.exp (selftest_setup): Match the output
12547 when captured_main is inlined.
12548
4f19a0e6
WT
125492016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
12550
12551 * gdb.fortran/derived-types.exp (result_line, result_line_2):
12552 New variables.
12553 (print this%a, print this%b, print this): New tests.
12554 * gdb.fortran/derived-types.f90 (this): New object and
12555 initialization.
12556
986cf455
SM
125572016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12558
12559 * gdb.ada/arraydim.exp: Remove extra directory level in build
12560 directory.
12561
f0464b23
SM
125622016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12563
12564 * lib/ada.exp: Remove extra directory level in build directory.
12565 * gdb.ada/cond_lang.exp: Likewise.
12566 * gdb.ada/exec_changed.exp: Likewise.
12567 * gdb.ada/lang_switch.exp: Likewise.
12568
42d94011
MG
125692016-07-06 Manish Goregaokar <manish@mozilla.com>
12570
2806dc7e
PA
12571 * simple.rs: Add test for raw pointer subscripting.
12572 * simple.exp: Add test expectations.
42d94011 12573
647c264c
YQ
125742016-07-05 Yao Qi <yao.qi@linaro.org>
12575
12576 * gdb.mi/mi-reverse.exp: Match =record-started output.
12577
20aa2c60
PA
125782016-07-01 Pedro Alves <palves@redhat.com>
12579
12580 * gdb.base/jit-reader.exp (info_registers_current_frame): New
12581 procedure.
12582 (jit_reader_test): Test the jit reader's unwinder.
12583 * gdb.base/jithost.c (jit_function_00_code): New global.
12584 (main): Use memcpy to fill in the mmapped code, instead of poking
12585 bytes manually here.
12586 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
12587 value.
12588 (read_debug_info): Save the function's range.
12589 (read_sp): New function.
12590 (unwind_frame): Use it. Also unwind RBP.
12591 (get_frame_id): Use read_sp.
12592 (gdb_init_reader): Use calloc instead of malloc.
12593 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
12594 parameter. Use gdb_test_multiple.
12595
ced2dffb
PA
125962016-07-01 Pedro Alves <palves@redhat.com>
12597 Antoine Tremblay <antoine.tremblay@ericsson.com>
12598
12599 * gdb.threads/process-dies-while-detaching.c: New file.
12600 * gdb.threads/process-dies-while-detaching.exp: New file.
12601
63000888
PA
126022016-07-01 Pedro Alves <palves@redhat.com>
12603
12604 * gdb.multi/watchpoint-multi-exit.c: New file.
12605 * gdb.multi/watchpoint-multi-exit.exp: New file.
12606
038d4868
PA
126072016-06-30 Pedro Alves <palves@redhat.com>
12608
12609 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
12610 unset inferior_spawn_id.
12611
994e9c83
PA
126122016-06-30 Pedro Alves <palves@redhat.com>
12613
12614 * lib/mi-support.exp (default_mi_gdb_start): Declare global
12615 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
12616
e5653468
YQ
126172016-06-29 Yao Qi <yao.qi@linaro.org>
12618
12619 * gdb.base/return.c: Add copyright header.
12620
803b47e5
TT
126212016-06-29 Tom Tromey <tom@tromey.com>
12622
12623 PR python/20129:
12624 * gdb.python/py-framefilter.exp: Add tests for setting priority
12625 and disabling of non-existent frame filter.
12626
28244707
YQ
126272016-06-29 Yao Qi <yao.qi@linaro.org>
12628
12629 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
12630 0x0f07ff.
12631
a31d2f06
YQ
126322016-06-28 Yao Qi <yao.qi@linaro.org>
12633
12634 * gdb.base/catch-syscall.exp: Remove check on isnative and target
12635 triplets. Start gdb, execute catch syscall, and continue. Check
12636 gdb's output to determine catch syscall is supported.
12637
921d8f54
MG
126382016-06-27 Manish Goregaokar <manish@mozilla.com>
12639
25d49b86
PA
12640 * gdb.rust/simple.rs: Add test for returning unit in a function.
12641 * gdb.rust/simple.exp: Add expectation for functions returning
12642 unit.
921d8f54 12643
f4952523
PMR
126442016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
12645
12646 * gdb.python/py-breakpoint-create-fail.c,
12647 gdb.python/py-breakpoint-create-fail.exp,
12648 gdb.python/py-breakpoint-create-fail.py: New testcase.
12649
fccb08f8
MG
126502016-06-25 Manish Goregaokar <manish@mozilla.com>
12651
12652 PR gdb/20239
12653 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
12654 * gdb.rust/simple.exp: Add test expectations for new NonZero
12655 tests.
fccb08f8 12656
6b850546
DT
126572016-06-24 David Taylor <dtaylor@emc.com>
12658
12659 * gdb.base/offsets.exp: New file.
12660 * gdb.base/offsets.c: New file.
12661
17621150
TT
126622016-06-23 Tom Tromey <tom@tromey.com>
12663
12664 PR gdb/16483:
12665 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
12666 before any filters are loaded.
12667
04d59df6
WT
126682016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
12669
12670 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
12671 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
12672 structs.
12673 * gdb.fortran/derived-type-function.exp: New file.
12674 * gdb.fortran/derived-type-function.f90: New file.
12675
12676
ac69f786
PA
126772016-06-21 Pedro Alves <palves@redhat.com>
12678
12679 * gdb.base/new-ui.exp: New file.
12680 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
12681 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
12682 (with_spawn_id): New procedure.
12683
49940788
PA
126842016-06-21 Pedro Alves <palves@redhat.com>
12685
12686 * gdb.mi/mi-exec-run.exp: New file.
12687
ef274d26
PA
126882016-06-21 Pedro Alves <palves@redhat.com>
12689
12690 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
12691 breakpoint command's output on the main UI.
12692 (test_break): New procedure, factored out from calls in the top
12693 level.
12694 (top level): Use foreach_with_prefix to test MI as main UI and as
12695 separate UI.
12696
468afe6c
PA
126972016-06-21 Pedro Alves <palves@redhat.com>
12698
12699 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
12700 (test_awatch_creation_and_listing)
12701 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
12702 Remove 'type' parameter.
12703 (test_watchpoint_all): New parameter mi_mode. Remove
12704 with_test_prefix.
12705 (top level): Use foreach_with_prefix, and add main/separate UI MI
12706 testing axis.
12707
51f77c37
PA
127082016-06-21 Pedro Alves <palves@redhat.com>
12709
12710 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
12711 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
12712 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
12713 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
12714 (gdb_main_spawn_id, mi_spawn_id): Declare and
12715 comment.
12716 (mi_create_inferior_pty): New procedure,
12717 factored out from default_mi_gdb_start.
12718 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
12719 procedures.
12720 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
12721 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
12722 Use mi_create_inferior_pty.
12723 (mi_gdb_start): Use eval to pass down args list.
12724
8980e177
PA
127252016-06-21 Pedro Alves <palves@redhat.com>
12726
12727 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
12728 * gdb.opt/inline-cmds.exp: Add MI tests.
12729
f38d3ad1
PA
127302016-06-21 Pedro Alves <palves@redhat.com>
12731
12732 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
12733
45db7c09
PA
127342016-06-21 Pedro Alves <palves@redhat.com>
12735
12736 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
12737 (top level): Use it instead of mi_execute_to.
12738
5a069ab3
PA
127392016-06-21 Pedro Alves <palves@redhat.com>
12740
12741 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
12742 (cont_handler_str): New.
12743 (signal_stop_handler): Set stop_handler_str instead of printing to
12744 stdout.
12745 (continue_handler): Set cont_handler_str instead of printing to
12746 stdout.
12747 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
12748 mi_send_resuming_command. Print stop_handler_str and
12749 cont_handler_str instead of expecting the python events print
12750 directly.
12751
2838cc1d
SD
127522016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
12753
12754 * gdb.base/jit-reader.exp: New file.
12755 * gdb.base/jithost.c: New file.
12756 * gdb.base/jithost.h: New file.
12757 * gdb.base/jitreader.c : New file.
12758 * gdb.base/jit-protocol.h: New file.
12759
21a77091
YQ
127602016-06-17 Yao Qi <yao.qi@linaro.org>
12761
12762 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
12763 parameters follow_fork and detach_on_fork. Set follow-fork-mode
12764 and detach-on-fork. Adjust tests.
12765 (top level): Invoke break_cond_on_syscall with combinations of
12766 syscall, follow-fork-mode and detach-on-fork.
12767
f50bf8e5
YQ
127682016-06-17 Yao Qi <yao.qi@linaro.org>
12769
12770 * gdb.base/step-over-exit.c: New.
12771 * gdb.base/step-over-exit.exp: New.
12772
a28d8e50
YTL
127732016-06-17 Yan-Ting Lin <currygt52@gmail.com>
12774
12775 * gdb.base/float.exp: Add target check for nds32*-*-*.
12776 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
12777
cad8e26d
AB
127782016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
12779
12780 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
12781 for unsupported target features.
12782 * gdb.base/call-rt-st.exp: Likewise.
12783 * gdb.base/call-sc.exp: Likewise.
12784 * gdb.base/call-signal-resume.exp: Likewise.
12785 * gdb.base/call-strs.exp: Likewise.
12786 * gdb.base/callexit.exp: Likewise.
12787 * gdb.base/callfuncs.exp: Likewise.
12788 * gdb.base/nodebug.exp: Likewise.
12789 * gdb.base/printcmds.exp: Likewise.
12790 * gdb.base/ptype.exp: Likewise.
12791 * gdb.base/structs.exp: Likewise.
12792 * gdb.base/unwindonsignal.exp: Likewise.
12793 * gdb.cp/gdb2495.exp: Likewise.
12794 * gdb.cp/templates.exp: Likewise.
12795 * gdb.cp/virtfunc.exp: Likewise.
12796 * gdb.threads/hand-call-in-threads.exp: Likewise.
12797 * gdb.threads/interrupted-hand-call.exp: Likewise.
12798 * gdb.threads/thread-unwindonsignal.exp: Likewise.
12799
347dc102
TT
128002016-06-10 Tom Tromey <tom@tromey.com>
12801
12802 PR rust/20110:
12803 * gdb.rust/expr.exp: Add test for integer constant larger than
12804 i32.
12805
5e13cf25
BH
128062016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
12807
12808 * gdb.fortran/nested-funcs.exp: New.
12809 * gdb.fortran/nested-funcs.f90: New.
12810
bb556f1f
TK
128112016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
12812
12813 * gdb.base/examine-backward.c: New file.
12814 * gdb.base/examine-backward.exp: New file.
12815
38b022b4
SM
128162016-06-06 Simon Marchi <simon.marchi@ericsson.com>
12817
12818 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
12819 matching.
12820
1b40ec05
TT
128212016-06-02 Tom Tromey <tom@tromey.com>
12822
12823 PR python/18984:
12824 * gdb.python/py-shared.exp: Add solib_name test.
12825
193bd378
SM
128262016-06-02 Simon Marchi <simon.marchi@ericsson.com>
12827
12828 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
12829
3326303b
MG
128302016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
12831
12832 PR c++/19893
12833 * gdb.dwarf2/implref.exp: Rename to...
12834 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
12835 * gdb.dwarf2/implref-array.c: New file.
12836 * gdb.dwarf2/implref-array.exp: Likewise.
12837 * gdb.dwarf2/implref-global.c: Likewise.
12838 * gdb.dwarf2/implref-global.exp: Likewise.
12839 * gdb.dwarf2/implref-struct.c: Likewise.
12840 * gdb.dwarf2/implref-struct.exp: Likewise.
12841
825c8ef2
AT
128422016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12843
12844 * gdb.trace/trace-condition.exp: Add 64bit tests.
12845
2320162a
AT
128462016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12847
12848 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
12849 bits types.
12850 (main): Adapt to 8 to 64 bits types.
12851 * gdb.trace/trace-condition.exp: Add new tests.
12852
a7818233
AT
128532016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12854
12855 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
12856
0d336466
AT
128572016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12858
12859 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
12860 Move condition tests...
12861 * gdb.trace/trace-condition.exp: Here.
12862
7faeb45a
AT
128632016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12864
12865 * gdb.trace/trace-condition.exp: Add counter-case tests.
12866
e385593e
JK
128672016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12868
12869 PR c++/15231
12870 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
12871 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
12872
744608cc
PA
128732016-05-27 Pedro Alves <palves@redhat.com>
12874
12875 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12876 New procedure.
12877 (top level): Call it, and bail out of DejaGnu is known to be bad.
12878
ac775bf4
AB
128792016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
12880
12881 * gdb.base/whatis.c: Extend the test case.
12882 * gdb.base/whatis.exp: Add additional tests.
12883
2bbad2ea
BH
128842016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12885
12886* gdb.fortran/type.f90: Add pointer variable.
12887* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
12888
8b70175d
BH
128892016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12890
12891 * gdb.fortran/vla-type.exp: Fix testcase name.
12892
86d8a848
BH
128932016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12894
12895 * gdb.fortran/vla-type.exp: Access elements in nested structs.
12896
e188eb36
BH
128972016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12898
12899 * gdb.fortran/type.f90: Add nested structures.
12900 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
12901 * gdb.fortran/derived-type.exp: Adapt expected output.
12902 * gdb.fortran/vla-type.exp: Adapt expected output.
12903
9b2db1fd
BH
129042016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12905
12906 * gdb.fortran/whatis_type.exp: Adapt expected output.
12907
72b17055
BH
129082016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12909
12910 * gdb.fortran/print_type.exp: Fix expected output.
12911 * gdb.fortran/whatis_type.exp: Fix expected output.
12912
3cd81d8d
BH
129132016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12914
12915 * gdb.fortran/whatis_type.exp: Use multi_line.
12916
ddae9462
TT
129172016-05-24 Tom Tromey <tom@tromey.com>
12918
12919 PR python/17386:
12920 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
12921 use value as an index.
12922
1957f6b8
TT
129232016-05-23 Tom Tromey <tom@tromey.com>
12924
12925 PR python/17981:
12926 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
12927 no-breakpoint case.
12928
026a9174
PA
129292016-05-24 Pedro Alves <palves@redhat.com>
12930
12931 PR gdb/19828
12932 * gdb.threads/clone-attach-detach.c: New file.
12933 * gdb.threads/clone-attach-detach.exp: New file.
12934
e70a7231
FR
129352016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
12936
12937 * gdb.base/annota-input-while-running.exp: Fix syntax error.
12938
0f6ed0e0
TT
129392016-05-23 Tom Tromey <tom@tromey.com>
12940
12941 PR python/19438, PR python/18393:
12942 * gdb.python/py-progspace.exp: Add "dir" test.
12943 * gdb.python/py-objfile.exp: Add "dir" test.
12944
ffd19d61
YQ
129452016-05-23 Yao Qi <yao.qi@linaro.org>
12946
12947 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
12948 * gdb.arch/thumb2-it.exp: Likewise.
12949
9e8f9b05
SM
129502016-05-18 Simon Marchi <simon.marchi@ericsson.com>
12951
12952 * gdb.mi/mi-threads-interrupt.c: New file.
12953 * gdb.mi/mi-threads-interrupt.exp: New file.
12954
61c6156d
SM
129552016-05-17 Simon Marchi <simon.marchi@ericsson.com>
12956
12957 PR gdb/18077
12958 * gdb.mi/mi-async-run.exp: New file.
12959 * gdb.mi/mi-async-run.c: New file.
12960
67218854
TT
129612016-05-17 Tom Tromey <tom@tromey.com>
12962 Manish Goregaokar <manishsmail@gmail.com>
12963
12964 * lib/rust-support.exp: New file.
12965 * lib/gdb.exp (skip_rust_tests): New proc.
12966 (build_executable_from_specs): Handle rust.
12967 * lib/future.exp (gdb_find_rustc): New proc.
12968 (gdb_default_target_compile): Handle rust.
12969 * gdb.rust/expr.exp: New file.
12970 * gdb.rust/generics.exp: New file.
12971 * gdb.rust/generics.rs: New file.
12972 * gdb.rust/methods.exp: New file.
12973 * gdb.rust/methods.rs: New file.
12974 * gdb.rust/modules.exp: New file.
12975 * gdb.rust/modules.rs: New file.
12976 * gdb.rust/simple.exp: New file.
12977 * gdb.rust/simple.rs: New file.
12978
c44af4eb
TT
129792016-05-17 Tom Tromey <tom@tromey.com>
12980
12981 * gdb.base/default.exp (set language): Add rust.
12982
dcd1f979
TT
129832016-05-17 Tom Tromey <tom@tromey.com>
12984
12985 * gdb.gdb/unittest.exp: New file.
12986
155b7f57
YQ
129872016-05-16 Yao Qi <yao.qi@linaro.org>
12988
12989 * gdb.base/batch-preserve-term-settings.exp: Remove variable
12990 shell_prompt. Update shell_prompt_re.
12991
8ddd5a6c
DE
129922016-05-12 Doug Evans <dje@google.com>
12993
12994 PR symtab/19999
12995 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
12996 $options when building executable.
12997 * gdb.dwarf2/fission-loclists-pie.S: New file.
12998 * gdb.dwarf2/fission-loclists-pie.exp: New file.
12999
02e370d9
SM
130002016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13001
13002 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
13003 of [is_remote target],
13004
8929ad8b
SM
130052016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13006
13007 * lib/gdb.exp (use_gdb_stub): New procedure.
13008
6c447423
DE
130092016-05-03 Yunlian Jiang <yunlian@google.com>
13010 Doug Evans <dje@google.com>
13011
13012 PR symtab/19914
13013 * gdb.dwarf2/dwp-sepdebug.c: New file.
13014 * gdb.dwarf2/dwp-sepdebug.exp: New file.
13015
444e826c
SM
130162016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13017
13018 * gdb.base/detach.exp: Remove is_remote check.
13019
740feeaa
SM
130202016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13021
13022 * gdb.base/annota-input-while-running.exp: Don't check for
13023 [is_remote target]. Enable annotations after running to main.
13024 Remove unused "set test..." line.
13025
9080ac9d
SM
130262016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13027
13028 * gdb.trace/trace-enable-disable.exp: New file.
13029 * gdb.trace/trace-enable-disable.c: New file.
13030
952ebca5
SM
130312016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13032
13033 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
13034 use it in info sharedlibrary test.
13035 * gdb.trace/ftrace-lock.exp: Likewise.
13036 * gdb.trace/ftrace.exp: Likewise.
13037 * gdb.trace/range-stepping.exp: Likewise.
13038 * gdb.trace/trace-break.exp: Likewise.
13039 * gdb.trace/trace-condition.exp: Likewise.
13040 * gdb.trace/trace-mt.exp: Likewise.
13041
d9019901
SM
130422016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13043
13044 * lib/gdb.exp (gdb_load_shlibs): Rename to...
13045 (gdb_load_shlib): ... this.
13046 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
13047 gdb_load_shlib.
13048 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
13049 * gdb.base/ctxobj.exp: Likewise.
13050 * gdb.base/dprintf-pending.exp: Likewise.
13051 * gdb.base/dso2dso.exp: Likewise.
13052 * gdb.base/fixsection.exp: Likewise.
13053 * gdb.base/gcore-relro.exp: Likewise.
13054 * gdb.base/gdb1555.exp: Likewise.
13055 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13056 * gdb.base/gnu-ifunc.exp: Likewise.
13057 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
13058 * gdb.base/jit-so.exp (one_jit_test): Likewise.
13059 * gdb.base/pending.exp: Likewise.
13060 * gdb.base/print-file-var.exp: Likewise.
13061 * gdb.base/print-symbol-loading.exp: Likewise.
13062 * gdb.base/shlib-call.exp: Likewise.
13063 * gdb.base/shreloc.exp: Likewise.
13064 * gdb.base/so-impl-ld.exp: Likewise.
13065 * gdb.base/solib-disc.exp: Likewise.
13066 * gdb.base/solib-nodir.exp: Likewise.
13067 * gdb.base/solib-overlap.exp: Likewise.
13068 * gdb.base/solib-symbol.exp: Likewise.
13069 * gdb.base/solib-weak.exp (do_test): Likewise.
13070 * gdb.base/sym-file.exp: Likewise.
13071 * gdb.base/symtab-search-order.exp: Likewise.
13072 * gdb.base/type-opaque.exp: Likewise.
13073 * gdb.base/unload.exp: Likewise.
13074 * gdb.base/watchpoint-solib.exp: Likewise.
13075 * gdb.compile/compile.exp: Likewise.
13076 * gdb.cp/gdb2384.exp: Likewise.
13077 * gdb.cp/infcall-dlopen.exp: Likewise.
13078 * gdb.cp/re-set-overloaded.exp: Likewise.
13079 * gdb.fortran/library-module.exp: Likewise.
13080 * gdb.opt/solib-intra-step.exp: Likewise.
13081 * gdb.python/py-finish-breakpoint.exp: Likewise.
13082 * gdb.python/py-shared.exp: Likewise.
13083 * gdb.reverse/solib-precsave.exp: Likewise.
13084 * gdb.reverse/solib-reverse.exp: Likewise.
13085 * gdb.server/solib-list.exp: Likewise.
13086 * gdb.threads/dlopen-libpthread.exp: Likewise.
13087 * gdb.threads/tls-shared.exp: Likewise.
13088 * gdb.threads/tls-so_extern.exp: Likewise.
13089 * gdb.trace/change-loc.exp: Likewise.
13090 * gdb.trace/ftrace-lock.exp: Likewise.
13091 * gdb.trace/ftrace.exp: Likewise.
13092 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
13093 * gdb.trace/pending.exp: Likewise.
13094 * gdb.trace/range-stepping.exp: Likewise.
13095 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
13096 (strace_info_marker): Likewise.
13097 (strace_probe_marker): Likewise.
13098 (strace_trace_on_same_addr): Likewise.
13099 (strace_trace_on_diff_addr): Likewise.
13100 * gdb.trace/trace-break.exp: Likewise.
13101 * gdb.trace/trace-condition.exp: Likewise.
13102 * gdb.trace/trace-mt.exp: Likewise.
13103
fca4cfd9
SM
131042016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13105
13106 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
13107 result of gdb_remote_download.
13108 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
13109 * gdb.base/dso2dso.exp: Likewise.
13110 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13111 * gdb.base/print-file-var.exp: Likewise.
13112 * gdb.base/shlib-call.exp: Likewise.
13113 * gdb.base/shreloc.exp: Likewise.
13114 * gdb.base/solib-overlap.exp: Likewise.
13115 * gdb.base/solib-weak.exp (do_test): Likewise.
13116 * gdb.base/unload.exp: Likewise.
13117
11cf4ffb
YQ
131182016-04-27 Yao Qi <yao.qi@linaro.org>
13119
13120 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
13121 exists.
13122
3e2e34f8
KB
131232016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13124
13125 * vla-type.exp: Print structure from toplevel.
13126
8f07e298
BH
131272016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13128
13129 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
13130 of dynamic types.
13131 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
13132 of dynamic types.
13133
9920b434
BH
131342016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13135
13136 * gdb.fortran/vla-type.f90: New file.
13137 * gdb.fortran/vla-type.exp: New file.
13138
f3abeff5
YQ
131392016-04-25 Yao Qi <yao.qi@linaro.org>
13140
13141 * gdb.base/branch-to-self.c: New file.
13142 * gdb.base/branch-to-self.exp: New file.
13143
0a5d52f0
YQ
131442016-04-22 Yao Qi <yao.qi@linaro.org>
13145
13146 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
13147 more after $hex.
13148
495346f6
YQ
131492016-04-22 Yao Qi <yao.qi@linaro.org>
13150
13151 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
13152 * gdb.base/annota3.exp: Likewise.
13153
4a7e075c
YQ
131542016-04-22 Yao Qi <yao.qi@linaro.org>
13155
13156 * gdb.reverse/step-precsave.exp: Do one step and test program
13157 stops in "callee" and do multiple steps until program goes out
13158 of "callee".
13159 * gdb.reverse/step-reverse.exp: Likewise.
13160
5b061e98
YQ
131612016-04-22 Yao Qi <yao.qi@linaro.org>
13162
13163 * gdb.trace/signal.exp: Also pass if
13164 $tracepoint_hits($i) > $iterations.
13165
5c5dc57f
YQ
131662016-04-22 Yao Qi <yao.qi@linaro.org>
13167
13168 * gdb.trace/signal.c: New file.
13169 * gdb.trace/signal.exp: New file.
13170
a55411b9
DE
131712016-04-19 Doug Evans <xdje42@gmail.com>
13172
13173 * gdb.base/bad-file.exp: New file.
13174
a22df60a
MG
131752016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
13176
13177 * gdb.dwarf2/implref.exp: New file.
13178
0c13f7e5
BH
131792016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13180
13181 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
13182 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
13183 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
13184 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
13185 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
13186 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
13187 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
13188 * lib/fortran.exp (fortran_int4): New procedure.
13189 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
13190 (fortran_logical4): Likewise.
13191
9b9b09e9
BH
131922016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
13193
13194 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
13195
a14d1f4d
BH
131962016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13197
13198 * lib/compiler.c: Add Intel specific preprocessor macros.
13199 * lib/compiler.cc: Likewise.
25d49b86 13200
7d49b1d0
LM
132012016-04-13 Luis Machado <lgustavo@codesourcery.com>
13202
13203 * gdb.server/connect-with-no-symbol-file.c: New file.
13204 * gdb.server/connect-with-no-symbol-file.exp: New file.
13205
8392fa22
SM
132062016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13207
13208 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
13209
8c4c4aeb
SM
132102016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13211
13212 * boards/gdbserver-base.exp (${board}_download): Copy source file to
13213 standard output directory.
13214
45e3745e
AT
132152016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
13216
13217 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
13218
e26b7e41
MM
132192016-04-13 Markus Metzger <markus.t.metzger@intel.com>
13220
13221 * gdb.btrace/instruction_history.c (loop): Add declaration.
13222
8ce09462
AT
132232016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13224
13225 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
13226
2e88a1ea
SM
132272016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
13228
13229 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
13230 parentheses to print.
13231 (continue_handler): Likewise.
13232
f48e22e3
SM
132332016-04-08 Simon Marchi <simon.marchi@ericsson.com>
13234
13235 * gdb.server/solib-list.exp: Remove is_remote check.
13236 Pass shlib= to gdb_compile. Don't link shared library with
13237 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
13238 Run binary filename through "readlink -f" on the target.
13239
096be756
PA
132402016-04-08 Pedro Alves <palves@redhat.com>
13241
13242 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
13243 interpreter filename as argument to gdbserver_spawn.
13244 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13245 Return empty if $last_loaded_file does not exist.
13246
06500533
JK
132472016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13248
13249 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
13250 * gdb.base/jit-main.c: Use exit after usage.
13251
2d35e871
JK
132522016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13253
13254 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
13255 GDBHISTSIZE prior to the tests.
13256 * gdb.base/gdbinit-history.exp: Likewise.
13257
132582016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
13259
13260 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
13261 instead of build_executable. Use gdb_load_shlibs.
13262
c8064e7e
YQ
132632016-04-07 Yao Qi <yao.qi@linaro.org>
13264
13265 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
13266 Execute "si" command.
13267
bde47561
YQ
132682016-04-07 Yao Qi <yao.qi@linaro.org>
13269
13270 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
13271 number instead of the comments on some line.
13272
b16f8a3b
DB
132732016-04-06 Don Breazeal <donb@codesourcery.com>
13274
13275 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
13276 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
13277
c2f901df
SM
132782016-04-06 Simon Marchi <simon.marchi@ericsson.com>
13279
13280 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
13281 standard_output_file. Remove unused binfile variable.
13282
ac17fda0
CU
132832016-04-05 Catalin Udma <catalin.udma@freescale.com>
13284
13285 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
13286 * gdb.python/py-mi-objfile.exp: Match "list main" output
13287 in console format.
13288
03a8c4df
SM
132892016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
13290
13291 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
13292 absolute.
13293
6e774b13
SM
132942016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13295
13296 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
13297 absolute.
13298 * gdb.trace/ftrace.exp: Likewise.
13299 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
13300 targets as well.
13301 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
13302 (gdb_load_shlibs): Copy libraries to test directory when testing
13303 natively. Only set solib-search-path if testing remotely.
13304 * lib/mi-support.exp (mi_load_shlibs): Likewise.
13305
7817ea46
SM
133062016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13307
13308 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
13309 gdb_download. Use it even if the target is not remote.
13310 * gdb.base/jit.exp (compile_jit_test): Likewise.
13311 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
13312 output directory if the destination board is local, otherwise use
13313 the standard remote_download from DejaGnu.
13314 (gdb_download): Remove.
13315 (gdb_load_shlibs): Use gdb_remote_download instead of
13316 gdb_download.
13317 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13318 Use gdb_remote_download instead of gdb_download. Use it even if
13319 the target is not remote.
13320 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
13321 instead of gdb_download.
13322
7beb7f68
SM
133232016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
13324
13325 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
13326 (test_insert_delete_modify): Call mi_load_shlibs before trying to
13327 run.
13328
cc63428a
AV
133292016-04-01 Artemiy Volkov <artemiyv@acm.org>
13330
13331 PR gdb/19820
13332 * gdb.base/printcmds.exp: Add artificial arrays tests.
13333
64cdf930
PA
133342016-03-31 Pedro Alves <palves@redhat.com>
13335
13336 PR gdb/19858
13337 * gdb.base/jit-main.c: Include unistd.h.
13338 (ATTACH): Define to 0 if not already defined.
13339 (wait_for_gdb, mypid): New globals.
13340 (WAIT_FOR_GDB): New macro.
13341 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
13342 some breakpoint locations.
13343 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
13344 New procedures.
13345 (one_jit_test): Add REATTACH parameter, and handle it. Use
13346 continue_to_test_location.
13347 (top level): Test attach, and adjusts calls to one_jit_test.
13348
40dea8cb
PA
133492016-03-31 Pedro Alves <palves@redhat.com>
13350
13351 PR gdb/19858
13352 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
13353 BINSUFFIX parameter, and handle it.
13354 (top level): Adjust calls compile_jit_test.
13355
e7ea3ec7
CU
133562016-03-31 Catalin Udma <catalin.udma@freescale.com>
13357
13358 PR python/19743
13359 * gdb.python/py-mi-events-gdb.py: New file.
13360 * gdb.python/py-mi-events.c: New file.
13361 * gdb.python/py-mi-events.exp: New file.
13362
e6359af3
YQ
133632016-03-30 Yao Qi <yao.qi@linaro.org>
13364
13365 * gdb.reverse/until-precsave.exp: Match function name only.
13366 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
13367 Move malloc to a condition block.
13368 * gdb.reverse/until-reverse.exp: Match function name only.
13369
a4105d04
MK
133702016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
13371
13372 * gdb.trace/ftrace.exp: Set arg0exp for s390.
13373 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
13374 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
13375 variable for GPR 0 instead of assuming it is register 0.
13376 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
13377 * lib/trace-support.exp: Add s390 registers.
13378
bfa6adb9
YQ
133792016-03-29 Yao Qi <yao.qi@linaro.org>
13380
13381 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
13382
1e6697ea
YQ
133832016-03-24 Yao Qi <yao.qi@linaro.org>
13384
13385 * gdb.reverse/break-reverse.exp: Add quotation mark in the
13386 test message.
13387
64bcd522
AA
133882016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13389
13390 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
13391 maintaining separate logic for constructing the output path.
13392
7868401b
DB
133932016-03-16 Don Breazeal <donb@codesourcery.com>
13394
13395 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
13396 Retry fork and waitpid on interrupted system call errors.
13397 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13398 Use with_timeout_factor to increase timeout by factor of 10.
13399
1cafadb4
DB
134002016-03-15 Don Breazeal <donb@codesourcery.com>
13401
13402 * gdb.cp/scope-err.cc: New test program.
13403 * gdb.cp/scope-err.exp: New test script.
13404 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
13405 lines and "set breakpoint here" comment.
13406 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
13407 Fixed some whitespace and format issues.
13408 * gdb.mi/mi-linespec-err-cp.cc: New test program.
13409 * gdb.mi/mi-linespec-err-cp.exp: New test script.
13410
81516450
DE
134112016-03-15 Doug Evans <dje@google.com>
13412
13413 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
13414 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
13415 All callers updated. Add tests for enums, mixed flags register.
13416
aa52b601
DE
134172016-03-15 Doug Evans <dje@google.com>
13418
13419 * gdb.base/skip.c (main): Call test_skip_file_and_function.
13420 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
13421
fa4ff313
SM
134222016-03-14 Simon Marchi <simon.marchi@ericsson.com>
13423
13424 * gdb.base/default.exp: Add $_as_string to the list of expected
13425 convenience functions.
13426
f2403c39
AB
134272016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
13428
13429 * gdb.base/maint.exp: New tests for 'maint info line-table'.
13430
f2f3ccb9
SM
134312016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
13432
13433 * gdb.python/py-as-string.exp: New file.
13434 * gdb.python/py-as-string.c: New file.
13435
00dbd492
PA
134362016-03-09 Pedro Alves <palves@redhat.com>
13437
13438 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
13439 signal" -> "Thread NN received signal" output change.
13440 * gdb.threads/ia64-sigill.exp: Likewise.
13441 * gdb.threads/linux-dp.exp: Likewise.
13442 * gdb.threads/manythreads.exp: Likewise.
13443 * gdb.threads/pending-step.exp: Likewise.
13444 * gdb.threads/print-threads.exp: Likewise.
13445 * gdb.threads/sigstep-threads.exp: Likewise.
13446 * gdb.threads/staticthreads.exp: Likewise.
13447 * gdb.threads/tls.exp: Likewise.
13448
1e6697ea
YQ
134492016-03-09 Pedro Alves <palves@redhat.com>
13450
13451 * gdb.base/command-line-input.exp: New file.
13452
b04fd3be
MK
134532016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13454
13455 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
13456 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
13457 * gdb.trace/pending.exp: Accept leading dot before function name.
13458 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
13459 * lib/trace-support.exp: Set registers for ppc.
13460
98fa59e9
MK
134612016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13462
13463 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
13464 use it for disassembly; accept .main in addition to main in backtrace.
13465
f77198c8
MK
134662016-03-09 Wei-cheng Wang <cole945@gmail.com>
13467 Marcin Kościelnicki <koriakin@0x04.net>
13468
13469 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
13470 (gdb_recursion_test_ptr): New global variable.
13471 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
13472 gdb_recursion_test.
13473 (gdb_c_test): Ditto.
13474
ba84e0da
MK
134752016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13476
13477 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
13478 ordering.
13479
4366d36e
MK
134802016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13481
13482 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
13483 (bar): Add bar_start_lbl label.
13484 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
13485 of foo/bar for emitting DWARF and tracing.
13486
5eb264df
SDJ
134872016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
13488
13489 * analyze-racy-logs.py: Set executable bit.
13490
fb6a751f
SDJ
134912016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
13492
13493 * Makefile.in (DEFAULT_RACY_ITER): New variable.
13494 (CHECK_TARGET_TMP): Likewise.
13495 (check-single-racy): New rule.
13496 (check-parallel-racy): Likewise.
13497 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
13498 (do-check-parallel-racy): New rule.
13499 (check-racy/%.exp): Likewise.
13500 * README (Racy testcases): New section.
13501 * analyze-racy-logs.py: New file.
13502
bdf7e230
DE
135032016-03-03 Doug Evans <dje@google.com>
13504
13505 * gdb.base/skip.exp: Use with_test_prefix.
13506
4719d415
YQ
135072016-03-03 Yao Qi <yao.qi@linaro.org>
13508
13509 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
13510 Invoke step_over_syscall "clone" and break_cond_on_syscall
13511 "clone".
13512 * gdb.base/step-over-clone.c: New file.
13513
ea507862
YQ
135142016-03-03 Yao Qi <yao.qi@linaro.org>
13515
13516 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
13517 code format.
13518
8fc8cbda
YQ
135192016-03-03 Yao Qi <yao.qi@linaro.org>
13520
13521 * gdb.base/disp-step-fork.c: Rename to ...
13522 * gdb.base/step-over-fork.c: ... it. New file.
13523 * gdb.base/disp-step-vfork.c: Rename to ...
13524 * gdb.base/step-over-vfork.c: ... it. New file.
13525 * gdb.base/disp-step-syscall.exp: Rename to ...
13526 * gdb.base/step-over-syscall.exp: ... it. New file.
13527 (disp_step_cross_syscall): Rename to ...
13528 (step_over_syscall): ... it.
13529
92fa70b0
YQ
135302016-03-03 Yao Qi <yao.qi@linaro.org>
13531
13532 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
13533 If target supports condition evaluation on target, invoke
13534 break_cond_on_syscall for fork and vfork.
13535
e197ad3c
YQ
135362016-03-03 Yao Qi <yao.qi@linaro.org>
13537
13538 * gdb.base/disp-step-syscall.exp: Don't invoke
13539 support_displaced_stepping.
13540 (disp_step_cross_syscall): Test with displaced stepping off and
13541 on if supported.
13542
0b47da9f
YQ
135432016-03-03 Yao Qi <yao.qi@linaro.org>
13544
13545 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
13546 proc.
13547 (setup): New proc.
13548 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
13549 and setup.
13550
065ab6dc
BH
135512016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13552
13553 * gdb.fortran/vla-history.exp: Remove breakpoint.
13554
07e448ad 135552016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13556
25d49b86
PA
13557 * gdb.fortran/vla-history.exp: Lookup array elements and printing
13558 exceeds timeout.
07e448ad 13559
9ac2d526 135602016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13561
25d49b86
PA
13562 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
13563 breakpoint.
9ac2d526 13564
17807369
BH
135652016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13566
13567 * gdb.mi/vla.f90: Nullify pointer after declaration.
13568
86e501af
PA
135692016-03-01 Pedro Alves <palves@redhat.com>
13570
13571 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
13572
1e903e32
PA
135732016-03-01 Pedro Alves <palves@redhat.com>
13574
13575 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
13576 before anything else.
13577 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
13578 _GNU_SOURCE here.
13579 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
13580 before anything else.
13581 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
13582
6ccb54e2
PA
135832016-03-01 Pedro Alves <palves@redhat.com>
13584
13585 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
13586
30ca9da1
YQ
135872016-03-01 Yao Qi <yao.qi@linaro.org>
13588
13589 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
13590 prepare_for_testing.
13591
dc856b38
YQ
135922016-03-01 Yao Qi <yao.qi@linaro.org>
13593
13594 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
13595
4a932159
AA
135962016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13597
13598 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
13599 manually constructing the output path.
13600
f2489477
AA
136012016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13602
13603 * gdb.arch/s390-stackless.S: New.
13604 * gdb.arch/s390-stackless.exp: New.
13605
38899f16
IB
136062016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
13607
13608 * gdb.dlang/circular.c: New file.
13609 * gdb.dlang/circular.exp: New file.
13610
9fde51ed
YQ
136112016-02-26 Yao Qi <yao.qi@linaro.org>
13612
13613 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
13614 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
13615 (testcases): Update.
13616
ce90fefe
YQ
136172016-02-26 Yao Qi <yao.qi@linaro.org>
13618
13619 * gdb.reverse/aarch64.c: Rename to ...
13620 * gdb.reverse/insn-reverse.c: ... it.
13621 * gdb.reverse/aarch64.exp: Rename to ...
13622 * gdb.reverse/insn-reverse.exp: ... it.
13623
3263bceb
YQ
136242016-02-26 Yao Qi <yao.qi@linaro.org>
13625
13626 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
13627 (testcase_ftype): New.
13628 (testcases): New array.
13629 (n_testcases): New.
13630 (main): Call each element in testcases.
13631 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
13632 (read_testcase): New.
13633 Do the tests in a loop.
13634
6cb59ff1
YQ
136352016-02-25 Yao Qi <yao.qi@linaro.org>
13636
13637 * gdb.base/branches.c: Remove.
13638
ae91f625
MK
136392016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13640
13641 PR gdb/13808
13642 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
13643
678b48b7
MK
136442016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13645
13646 * gdb.trace/ftrace.exp: Remove unnecessary target check.
13647
7337a6f2
MK
136482016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13649
13650 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
13651 change x86_64 call_insn to 'callq'.
13652
861ca91f
AT
136532016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13654
13655 * gdb.trace/tfile-avx.c: Move to...
13656 * gdb.trace/tracefile-pseudo-reg.c: Here.
13657 * gdb.trace/tfile-avx.exp: Move to...
13658 * gdb.trace/tracefile-pseudo-reg.exp: Here.
13659
bf74e428
GB
136602016-02-24 Gary Benson <gbenson@redhat.com>
13661
13662 * gdb.base/attach-pie-noexec.exp: Do not expect an error
13663 message on attach.
13664
cce0e923
DE
136652016-02-23 Doug Evans <dje@google.com>
13666
13667 * gdb.base/skip.c (test_skip): New function.
13668 (end_test_skip_file_and_function): New function.
13669 (test_skip_file_and_function): New function.
13670 * gdb.base/skip1.c (test_skip): New function.
13671 (skip1_test_skip_file_and_function): New function.
13672 * gdb.base/skip.exp: Add tests for new skip options.
13673 * gdb.base/skip-solib.exp: Update expected output.
13674 * gdb.perf/skip-command.cc: New file.
13675 * gdb.perf/skip-command.exp: New file.
13676 * gdb.perf/skip-command.py: New file.
13677
4000e47e
MK
136782016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
13679
13680 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
13681 info registers pattern.
13682
24f75ead
IB
136832016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
13684
13685 * lib/future.exp: Add D support.
13686 (gdb_find_gdc): New proc.
13687 (gdb_default_target_compile): Add D support.
13688
fbb7bcbe
WW
136892016-02-18 Wei-cheng Wang <cole945@gmail.com>
13690
13691 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
13692 user+system time.
13693 (trace_speed_test): Determine the iteration count for a time
13694 between 15..30 seconds.
13695
012b3a21
WT
136962016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
13697
13698 * gdb.arch/i386-mpx-sigsegv.c: New file.
13699 * gdb.arch/i386-mpx-sigsegv.exp: New file.
13700 * gdb.arch/i386-mpx-simple_segv.c: New file.
13701 * gdb.arch/i386-mpx-simple_segv.exp: New file.
13702
2d5189bd
YQ
137032016-02-18 Yao Qi <yao.qi@linaro.org>
13704
13705 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13706 Don't call setup_kfail.
13707
40fb20d0
YQ
137082016-02-18 Yao Qi <yao.qi@linaro.org>
13709
13710 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13711 Set "set breakpoint condition-evaluation" per $cond_bp_target.
13712
21b1f8d2
DE
137132016-02-16 Doug Evans <dje@google.com>
13714
13715 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
13716 * gdb.base/skip1.c: Ditto.
13717 * gdb.base/skip.exp: Whitespace cleanup.
13718
4041ed77
DB
137192016-02-16 Don Breazeal <donb@codesourcery.com>
13720
13721 PR remote/19496
13722 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13723 Remove kfail for PR remote/19496.
13724
c4ef31bf
SM
137252016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13726
13727 * lib/gdb.exp (standard_temp_file): Return a path specific to
13728 the runtest invocation.
13729
266b65b3
SM
137302016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13731
13732 * gdb.trace/save-trace.exp: Change relative path to be in the
13733 standard output directory.
13734
a7a0a6a9
JK
137352016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13736
13737 * gdb.arch/i386-prologue.c: Add missing prototypes.
13738
c99dbb42
JK
137392016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13740
13741 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
13742 * gdb.arch/i386-prologue.exp: Likewise.
13743 * gdb.arch/i386-size.exp: Likewise.
13744
aa480355
SM
137452016-02-15 Simon Marchi <simon.marchi@ericsson.com>
13746
13747 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
13748 define object file path.
13749 * gdb.btrace/gcore.exp: Use standard_output_file to define core
13750 file path.
13751 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
13752 standard_output_file to define binfile.
13753
ba881f50
JK
137542016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13755
13756 Fix compatibility with recent gfortran-5.3.1.
13757 * gdb.fortran/vla-history.exp (print vla1 allocated)
13758 (print vla2 allocated, print $2, print $3): Remove
13759 (print $4): Rename to ...
13760 (print $2): ... here.
13761 (print $9): Rename to ...
13762 (print $5): ... here.
13763 (print $10): Rename to ...
13764 (print $6): ... here.
13765 * gdb.fortran/vla.f90: Add pvla initialization.
13766
e9fb005c
JK
137672016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13768
13769 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
13770 New test.
13771 * gdb.fortran/vla-value-sub.exp: Likewise.
13772
e44e00ff
MK
137732016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
13774
13775 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
13776
97e94151
SM
137772016-02-12 Simon Marchi <simon.marchi@ericsson.com>
13778
13779 * i386-biarch-core.exp: Define corefile using
13780 standard_output_file.
13781
01113bc1
YQ
137822016-02-12 Yao Qi <yao.qi@linaro.org>
13783
13784 * gdb.arch/arm-single-step-kernel-helper.c: New.
13785 * gdb.arch/arm-single-step-kernel-helper.exp: New.
13786
33b4777c
MM
137872016-02-12 Markus Metzger <markus.t.metzger@intel.com>
13788
13789 * gdb.btrace/tailcall-only.exp: New.
13790 * gdb.btrace/tailcall-only.c: New.
13791 * gdb.btrace/x86_64-tailcall-only.S: New.
13792 * gdb.btrace/i686-tailcall-only.S: New.
13793
acc23c11
PA
137942016-02-11 Pedro Alves <palves@redhat.com>
13795
13796 * README (Parallel testing): Add missing double quotes.
13797
e352bf0a
PA
137982016-02-11 Pedro Alves <palves@redhat.com>
13799
13800 * README (Parallel testing): New section.
13801 (GDB_PARALLEL): Rewrite.
13802 (FORCE_PARALLEL): Document.
13803
9f5fed78
MK
138042016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
13805
13806 * gdb.trace/tfile-avx.c: New test.
13807 * gdb.trace/tfile-avx.exp: New test.
13808
9ef9e6a6
KS
138092016-02-09 Keith Seitz <keiths@redhat.com>
13810
13811 PR breakpoints/19546
13812 * gdb.base/infcall-exec.c: New file.
13813 * gdb.base/infcall-exec2.c: New file.
13814 * gdb.base/infcall-exec.exp: New file.
13815
a96e36da
KS
138162016-02-09 Keith Seitz <keiths@redhat.com>
13817
13818 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
13819 (toplevel): Call test_bkpt_address.
13820
9f61929f
KS
138212016-02-09 Keith Seitz <keiths@redhat.com>
13822
13823 PR python/19506
13824 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
13825 (toplevel): Call test_bkpt_address.
13826
1e94266c
SM
138272016-02-09 Simon Marchi <simon.marchi@ericsson.com>
13828
13829 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
13830 to AC_OUTPUT.
13831 * configure: Regenerate.
13832
2a7f3dff
PA
138332016-02-09 Pedro Alves <palves@redhat.com>
13834
13835 PR breakpoints/19548
13836 * gdb.base/execl-update-breakpoints.c (some_function): New
13837 function.
13838 (main): Call it.
13839 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
13840 Tighten expected GDB output.
13841
2151ccc5
SM
138422016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13843
13844 * Makefile.in (ALL_SUBDIRS): Remove.
13845 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
13846 (distclean maintainer-clean realclean): Likewise.
13847 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
13848 * configure: Regenerate.
13849 * gdb.ada/Makefile.in: Delete.
13850 * gdb.arch/Makefile.in: Likewise.
13851 * gdb.asm/Makefile.in: Likewise.
13852 * gdb.base/Makefile.in: Likewise.
13853 * gdb.btrace/Makefile.in: Likewise.
13854 * gdb.cell/Makefile.in: Likewise.
13855 * gdb.compile/Makefile.in: Likewise.
13856 * gdb.cp/Makefile.in: Likewise.
13857 * gdb.disasm/Makefile.in: Likewise.
13858 * gdb.dlang/Makefile.in: Likewise.
13859 * gdb.dwarf2/Makefile.in: Likewise.
13860 * gdb.fortran/Makefile.in: Likewise.
13861 * gdb.gdb/Makefile.in: Likewise.
13862 * gdb.go/Makefile.in: Likewise.
13863 * gdb.guile/Makefile.in: Likewise.
13864 * gdb.java/Makefile.in: Likewise.
13865 * gdb.linespec/Makefile.in: Likewise.
13866 * gdb.mi/Makefile.in: Likewise.
13867 * gdb.modula2/Makefile.in: Likewise.
13868 * gdb.multi/Makefile.in: Likewise.
13869 * gdb.objc/Makefile.in: Likewise.
13870 * gdb.opencl/Makefile.in: Likewise.
13871 * gdb.opt/Makefile.in: Likewise.
13872 * gdb.pascal/Makefile.in: Likewise.
13873 * gdb.perf/Makefile.in: Likewise.
13874 * gdb.python/Makefile.in: Likewise.
13875 * gdb.reverse/Makefile.in: Likewise.
13876 * gdb.server/Makefile.in: Likewise.
13877 * gdb.stabs/Makefile.in: Likewise.
13878 * gdb.threads/Makefile.in: Likewise.
13879 * gdb.trace/Makefile.in: Likewise.
13880 * gdb.xml/Makefile.in: Likewise.
13881 * lib/gdb.exp (make_gdb_parallel_path): Add check for
13882 GDB_PARALLEL.
13883 (standard_output_file): Remove check for GDB_PARALLEL, always
13884 return path in outputs/$subdir/$testname.
13885
437277d4
SM
138862016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13887
13888 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
13889 (site.exp): Assign abs_srcdir to tcl's srcdir.
13890
31d913c7
YQ
138912016-02-04 Yao Qi <yao.qi@linaro.org>
13892
13893 * gdb.base/foll-exec-mode.c: Include limits.h.
13894 (main): Add parameters argc and argv. Get directory from
13895 argv[0].
13896 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
13897 compilation.
13898 * gdb.base/foll-exec.c: Include limits.h.
13899 (main): Add parameters argc and argv.
13900 Get directory from argv[0].
13901 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
13902 Adjust tests on the number of lines as source code changed.
13903 * gdb.base/foll-vfork-exit.c: Include limits.h.
13904 (main): Add one line of statement before vfork.
13905 * gdb.base/foll-vfork.c: Include limits.h and string.h.
13906 (main): Add parameters argc and argv. Get directory from
13907 argv[0].
13908 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
13909 (setup_gdb): Set tbreak to skip some source lines.
13910 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
13911 (main): Add parameters argc and argv. Get directory from
13912 argv[0].
13913 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
13914 compilation.
13915 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
13916 (main): Add parameters argc and argv. Get directory from
13917 argv[0].
13918 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
13919 compilation.
13920
9482b9fb
DE
139212016-02-01 Doug Evans <dje@google.com>
13922
13923 * gdb.base/skip.exp: Clean up multiple references to same test name.
13924
6b2e4f10
PA
139252016-02-01 Pedro Alves <palves@redhat.com>
13926
ccb6afd6 13927 PR remote/19496
6b2e4f10
PA
13928 * gdb.threads/forking-threads-plus-breakpoint.exp
13929 (displaced_stepping_supported): New global.
13930 (probe_displaced_stepping_support): New procedure.
13931 (do_test): Add 'displaced' parameter, and use it.
13932 (top level): Check for displaced stepping support. Add displaced
13933 stepping on/off testing axis.
13934
37a8db1a
AB
139352016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13936
13937 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
13938 pointer. Don't perform further tests on the unassociated pointer
13939 if the first test fails.
13940
5fdf6324
AB
139412016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13942
13943 * gdb.base/max-value-size.c: New file.
13944 * gdb.base/max-value-size.exp: New file.
13945 * gdb.base/huge.exp: Disable max-value-size for this test.
13946
935c6144
IB
139472016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
13948
13949 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13950
7fe8399d
YQ
139512016-01-28 Yao Qi <yao.qi@linaro.org>
13952
13953 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
13954
a2077e25
PA
139552016-01-25 Pedro Alves <palves@redhat.com>
13956
13957 PR threads/19461
13958 * gdb.base/fork-running-state.c: New file.
13959 * gdb.base/fork-running-state.exp: New file.
13960
1d2736d4
PA
139612016-01-25 Pedro Alves <palves@redhat.com>
13962
13963 PR gdb/19494
13964 * gdb.base/catch-fork-kill.c: New file.
13965 * gdb.base/catch-fork-kill.exp: New file.
13966
f1da4b11
PA
139672016-01-25 Pedro Alves <palves@redhat.com>
13968
13969 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
13970 Delete, moved to lib/gdb.exp.
13971 * gdb.threads/forking-threads-plus-breakpoint.exp
13972 (foreach_with_prefix): Likewise.
13973 * gdb.threads/process-dies-while-handling-bp.exp
13974 (foreach_with_prefix): Likewise.
13975 * lib/gdb.exp (foreach_with_prefix): New procedure.
13976
45f38546
MK
139772016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
13978
13979 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
13980 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
13981
dc29a1ce
MK
139822016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
13983
13984 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
13985 endian targets.
13986
092127d7
JK
139872016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13988 Pedro Alves <palves@redhat.com>
13989
13990 Fix testsuite compatibility with Guile.
13991 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
13992 number.
13993
31d765d3
JK
139942016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13995
13996 Fix testsuite compatibility with Guile.
13997 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
13998 (thread 1): New test for backtrace through signal handler.
13999
1ac78c04
YQ
140002016-01-22 Yao Qi <yao.qi@linaro.org>
14001
14002 PR testsuite/19491
14003 * gdb.base/multi-forks.c: Include
14004 ../lib/unbuffer_output.c
14005 (main): Call gdb_unbuffer_output.
14006
4f5946a8
DE
140072016-01-21 Doug Evans <dje@google.com>
14008
14009 * lib/ada.exp (gdb_compile_ada): Fix typo.
14010
305e13e6
JB
140112016-01-21 Joel Brobecker <brobecker@adacore.com>
14012
14013 * gdb.base/break-fun-addr.exp: New file.
14014 * gdb.base/break-fun-addr1.c: New file.
14015 * gdb.base/break-fun-addr2.c: New file.
14016
5f5dfff6
SM
140172016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
14018
14019 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
14020 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
14021 enum flag values.
14022
fd356fa2
AA
140232016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14024
14025 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
14026 when GDB can not set the vector return value. Add more comments
14027 for clarification.
14028
9df22175
AT
140292016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
14030
14031 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
14032 command.
14033
41d1845e
SM
140342016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14035
14036 * Makefile.in (DO_RUNTEST): Add --status and update usages.
14037
01ac6840
SM
140382016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14039
14040 * Makefile.in (check-single): Pass --status to runtest.
14041 (check/%.exp): Likewise.
14042
140432016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14044
14045 * Makefile.in (check-parallel): Propagate return code from make
14046 do-check-parallel.
14047
bd0a71fa
MK
140482016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
14049
14050 * gdb.trace/ftrace.exp: Fix expected message on continue.
14051 * gdb.trace/pending.exp: Fix expected message on continue.
14052 * gdb.trace/trace-break.exp: Fix expected message on continue.
14053
8bcbad33
SM
140542016-01-18 Simon Marchi <simon.marchi@ericsson.com>
14055
14056 * lib/gdb.exp (gdb_test): Remove unused global references.
14057
f303dbd6
PA
140582016-01-18 Pedro Alves <palves@redhat.com>
14059
14060 * gdb.base/async-shell.exp: Adjust expected output.
14061 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
14062 * gdb.base/siginfo-thread.exp: Adjust expected output.
14063 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
14064 * gdb.java/jnpe.exp: Adjust expected output.
14065 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
14066 * gdb.threads/continue-pending-status.exp: Adjust expected output.
14067 * gdb.threads/leader-exit.exp: Adjust expected output.
14068 * gdb.threads/manythreads.exp: Adjust expected output.
14069 * gdb.threads/pthreads.exp: Adjust expected output.
14070 * gdb.threads/schedlock.exp: Adjust expected output.
14071 * gdb.threads/siginfo-threads.exp: Adjust expected output.
14072 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
14073 expected output.
14074 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
14075 output.
14076 * gdb.threads/sigthread.exp: Adjust expected output.
14077 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
14078
b2789696
YQ
140792016-01-18 Yao Qi <yao.qi@linaro.org>
14080
14081 * gdb.guile/scm-section-script.c: Replace @progbits with
14082 %progbits.
14083 * gdb.python/py-section-script.c: Likewise.
14084
71ef29a8
PA
140852016-01-15 Pedro Alves <palves@redhat.com>
14086
14087 * gdb.multi/tids.exp: Test star wildcard ranges.
14088
3f5b7598
PA
140892016-01-15 Pedro Alves <palves@redhat.com>
14090
14091 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
14092 command from "thread apply" invocation.
14093 (thr_apply_info_thr_invalid): Default the expected output to the
14094 input tid list.
14095 (top level): Add tests that use convenience variables. Add tests
14096 for "thread apply" with a valid TID list, but missing the command.
14097
663f6d42
PA
140982016-01-13 Pedro Alves <palves@redhat.com>
14099
14100 * gdb.base/default.exp: Expect $_gthread as well.
14101 * gdb.multi/tids.exp: Test $_gthread.
14102 * gdb.threads/thread-specific.exp: Test $_gthread.
14103
c84f6bbf
PA
141042016-01-13 Pedro Alves <palves@redhat.com>
14105
14106 * gdb.multi/tids.exp: Test "info threads -gid".
14107
22a02324
PA
141082016-01-13 Pedro Alves <palves@redhat.com>
14109
14110 * gdb.multi/tids.exp: Test InferiorThread.global_num and
14111 Breakpoint.thread.
14112 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
14113
5d5658a1
PA
141142016-01-07 Pedro Alves <palves@redhat.com>
14115
14116 * gdb.base/break.exp: Adjust to output changes.
14117 * gdb.base/hbreak2.exp: Likewise.
14118 * gdb.base/sepdebug.exp: Likewise.
14119 * gdb.base/watch_thread_num.exp: Likewise.
14120 * gdb.linespec/keywords.exp: Likewise.
14121 * gdb.multi/info-threads.exp: Likewise.
14122 * gdb.threads/thread-find.exp: Likewise.
14123 * gdb.multi/tids.c: New file.
14124 * gdb.multi/tids.exp: New file.
14125
84654457
PA
141262016-01-13 Pedro Alves <palves@redhat.com>
14127
14128 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
14129
e3940304
PA
141302016-01-13 Pedro Alves <palves@redhat.com>
14131
14132 * gdb.base/default.exp: Expect $_inferior as well.
14133 * gdb.multi/base.exp: Test $_inferior.
14134
a911d87a
PA
141352016-01-13 Pedro Alves <palves@redhat.com>
14136
14137 PR breakpoints/19388
14138 * gdb.base/catch-signal-siginfo-cond.c: New file.
14139 * gdb.base/catch-signal-siginfo-cond.exp: New file.
14140
82075af2
JS
141412016-01-12 Josh Stone <jistone@redhat.com>
14142 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14143
14144 * gdb.base/catch-syscall.c (do_execve): New variable.
14145 (main): Conditionally trigger an execve.
14146 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
14147 (test_catch_syscall_execve): New, check entry/return across execve.
14148 (do_syscall_tests): Call test_catch_syscall_execve.
14149
e46eeedd
PA
141502016-01-12 Pedro Alves <palves@redhat.com>
14151
14152 * gdb.base/random-signal.exp (do_test): New procedure, with body
14153 of testcase moved in.
14154
01d8c27e
JK
141552016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14156 Pedro Alves <palves@redhat.com>
14157
14158 * gdb.base/funcargs.exp (finish from indirectly called function):
14159 Reintroduce the case for 'First'.
14160
9a706302
JK
141612016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14162 Pedro Alves <palves@redhat.com>
14163
14164 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14165 (tcatch_vfork_then_child_follow_exec)
14166 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
14167 identification.
14168
c0ecb95f
JK
141692016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14170
14171 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
14172 and repeats to unlimited.
14173 * gdb.python/py-value.exp: Likewise.
14174 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
14175 and repeats to unlimited.
14176
6cfc1fcb
JK
141772016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14178
14179 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
14180 and reordering the functions.
14181 * gdb.multi/hangout.c: Likewise.
14182 * gdb.multi/hello.c: Likewise.
14183
582a1b00
SM
141842016-01-08 Simon Marchi <simon.marchi@ericsson.com>
14185
14186 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
14187 absolute.
14188 (SingleStatisticTestResult.report): Use dict.keys instead of
14189 dict.iterkeys.
14190
79bc59cb
PA
141912016-01-06 Pedro Alves <palves@redhat.com>
14192
14193 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
14194
43368e1d
MM
141952016-01-04 Markus Metzger <markus.t.metzger@intel.com>
14196
14197 * gdb.btrace/dlopen.exp: New.
14198 * gdb.btrace/dlopen.c: New.
14199 * gdb.btrace/dlopen-dso.c: New.
14200
79fad5b8
SL
142012015-12-25 Sandra Loosemore <sandra@codesourcery.com>
14202
14203 * lib/gdb.exp (gdb_test): Update comments to clarify that the
14204 PATTERN argument is optional.
14205
ab8314b3
JB
142062015-12-24 Joel Brobecker <brobecker@adacore.com>
14207
14208 * lib/ada.exp (target_compile_ada_from_dir): New function.
14209 (gdb_compile_ada): Reimplement avoiding the use of project files.
14210 * gdb.ada/gnat_ada.gpr: Delete.
14211 * gdb.ada/cond_lang.exp: Adjust test to make path before
14212 filename optional.
14213 * gdb.ada/small_reg_param.exp: Likewise.
14214
fe33faff
SM
142152015-12-22 Simon Marchi <simon.marchi@ericsson.com>
14216
14217 * gdb.base/foll-vork.exp: Remove HP-UX special case.
14218
6d265cb4
TP
142192015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
14220
14221 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
14222 case.
14223
10125099
SM
142242015-12-21 Simon Marchi <simon.marchi@ericsson.com>
14225
14226 * gdb.base/break.exp: Remove dead code.
14227 * gdb.base/sepdebug.exp: Likewise.
14228
3ca22649
SM
142292015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14230
14231 * gdb.asm/asm-source.exp: Remove HP-UX references.
14232 * gdb.base/annota1.exp: Likewise.
14233 * gdb.base/annota3.exp: Likewise.
14234 * gdb.base/attach.exp: Likewise.
14235 * gdb.base/bigcore.exp: Likewise.
14236 * gdb.base/break.exp: Likewise.
14237 * gdb.base/call-ar-st.exp: Likewise.
14238 * gdb.base/callfuncs.exp: Likewise.
14239 * gdb.base/catch-fork-static.exp: Likewise.
14240 * gdb.base/display.exp: Likewise.
14241 * gdb.base/foll-exec-mode.exp: Likewise.
14242 * gdb.base/foll-exec.exp: Likewise.
14243 * gdb.base/foll-fork.exp: Likewise.
14244 * gdb.base/foll-vfork.exp: Likewise.
14245 * gdb.base/funcargs.exp: Likewise.
14246 * gdb.base/hbreak2.exp: Likewise.
14247 * gdb.base/inferior-died.exp: Likewise.
14248 * gdb.base/interrupt.exp: Likewise.
14249 * gdb.base/multi-forks.exp: Likewise.
14250 * gdb.base/nodebug.exp: Likewise.
14251 * gdb.base/sepdebug.exp: Likewise.
14252 * gdb.base/solib1.c: Likewise.
14253 * gdb.base/step-test.exp: Likewise.
14254 * gdb.mi/non-stop.c: Likewise.
14255 * gdb.mi/pthreads.c: Likewise.
14256 * gdb.multi/bkpt-multi-exec.ex: Likewise.
14257 * gdb.threads/pthreads.c: Likewise.
14258 * gdb.threads/staticthreads.exp: Likewise.
14259 * lib/future.exp: Likewise.
14260 * lib/gdb.exp: Likewise.
14261 * gdb.base/so-indr-cl.c: Remove.
14262 * gdb.base/so-indr-cl.exp: Likewise.
14263 * gdb.base/solib.c: Likewise.
14264 * gdb.base/solib.exp: Likewise.
14265 * gdb.base/solib2.c: Likewise.
14266
b6304613
SM
142672015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14268
14269 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
14270 * gdb.base/call-ar-st.exp: Likewise.
14271 * gdb.base/callfuncs.exp: Likewise.
14272 * gdb.base/condbreak.exp: Likewise.
14273 * gdb.base/constvars.exp: Likewise.
14274 * gdb.base/hbreak2.exp: Likewise.
14275 * gdb.base/langs.exp: Likewise.
14276 * gdb.base/list.exp: Likewise.
14277 * gdb.base/long_long.exp: Likewise.
14278 * gdb.base/ptype.exp: Likewise.
14279 * gdb.base/scope.exp: Likewise.
14280 * gdb.base/signals.exp: Likewise.
14281 * gdb.base/so-impl-ld.exp: Likewise.
14282 * gdb.base/varargs.exp: Likewise.
14283 * gdb.base/volatile.exp: Likewise.
14284 * gdb.base/whatis.exp: Likewise.
14285 * gdb.cp/cplusfuncs.exp: Likewise.
14286 * gdb.cp/inherit.exp: Likewise.
14287 * gdb.cp/local.exp: Likewise.
14288 * gdb.cp/member-ptr.exp: Likewise.
14289 * gdb.cp/method.exp: Likewise.
14290 * gdb.cp/overload.exp: Likewise.
14291 * gdb.cp/templates.exp: Likewise.
14292 * gdb.stabs/weird.exp: Likewise.
14293 * lib/compiler.c: Likewise.
14294 * lib/compiler.cc: Likewise.
14295 * lib/cp-support.exp: Likewise.
14296 * lib/gdb.exp: Likewise.
14297
bf401b07
SM
142982015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
14299
14300 * configure.ac: Remove HP-UX case.
14301 * configure: Regenerate.
14302
aff9c0f8
SM
143032015-12-18 Simon Marchi <simon.marchi@ericsson.com>
14304
14305 * lib/gdb.exp (gdb_compile): Add function doc.
14306
a6904d5a
PA
143072015-12-17 Pedro Alves <palves@redhat.com>
14308
14309 PR threads/19354
14310 * gdb.multi/info-threads.exp: New file.
14311
a22279dd
YQ
143122015-12-15 Yao Qi <yao.qi@linaro.org>
14313
14314 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
14315 is aarch64*-*-*.
14316
0588c796
SL
143172015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14318
14319 * gdb.base/history-duplicates.exp: Skip if no readline support.
14320
5d978e17
SL
143212015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14322
14323 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
14324
7e763b86
SL
143252015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14326
14327 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
14328
87a3a92c
SL
143292015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14330
14331 * gdb.base/completion.exp: Skip tests that interrupt GDB with
14332 ctrl-C if nointerrupts target property is set.
14333 * gdb.base/double-prompt-target-event-error.exp: Likewise.
14334 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
14335 * gdb.base/paginate-bg-execution.exp: Likewise.
14336 * gdb.base/paginate-execution-startup.exp: Likewise.
14337 * gdb.base/random-signal.exp: Likewise.
14338 * gdb.base/range-stepping.exp: Likewise.
14339 * gdb.cp/annota2.exp: Likewise.
14340 * gdb.cp/annota3.exp: Likewise.
14341 * gdb.gdb/selftest.exp: Likewise.
14342 * gdb.threads/continue-pending-status.exp: Likewise.
14343 * gdb.threads/leader-exit.exp: Likewise.
14344 * gdb.threads/manythreads.exp: Likewise.
14345 * gdb.threads/pthreads.exp: Likewise.
14346 * gdb.threads/schedlock.exp: Likewise.
14347 * gdb.threads/sigthread.exp: Likewise.
14348
a8f077dc
DB
143492015-12-11 Don Breazeal <donb@codesourcery.com>
14350
14351 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
14352 remote.
14353 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
14354 * gdb.base/foll-exec.exp (main): Enable for target remote.
14355 * gdb.base/foll-fork.exp (main): Likewise.
14356 * gdb.base/foll-vfork.exp (main): Likewise.
14357 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
14358 (proc continue_to_exit_bp_loc): Use clean_restart.
14359 * gdb.base/pie-execl.exp (main): Disable for target remote.
14360 * gdb.base/watch-vfork.exp (main): Enable for target remote.
14361 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
14362 * gdb.threads/execl.exp (main): Likewise.
14363 * gdb.threads/fork-child-threads.exp (main): Likewise.
14364 * gdb.threads/fork-plus-threads.exp (main): Disable for target
14365 remote.
14366 * gdb.threads/fork-thread-pending.exp (main): Enable for target
14367 remote.
14368 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
14369 pid.tid style ptids, instead of just tid.
14370 * gdb.threads/thread-execl.exp (main): Enable for target remote.
14371 * gdb.threads/watchpoint-fork.exp (main): Likewise.
14372 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
14373 ptids, instead of just tid.
14374
3b2464a8
AB
143752015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14376
14377 * gdb.base/list.exp (test_list_forward): Add end of file error
14378 test.
14379 (test_repeat_list_command): Add end of file error test.
14380 (test_list_backwards): Add beginning of file error test.
14381
a0def019
AB
143822015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14383
14384 * gdb.base/list.exp (test_list_invalid_args): New function,
14385 defined, and called.
14386
5c000dff
AB
143872015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14388
14389 * gdb.base/list.exp (test_list): Make test names unique.
14390
f1637ebe
YQ
143912015-12-11 Yao Qi <yao.qi@linaro.org>
14392
14393 * gdb.base/coremaker2.c: Remove.
14394
36d6fc0a
PA
143952015-12-10 Pedro Alves <palves@redhat.com>
14396
14397 * gdb.multi/base.exp: Remove stale "spaces" references.
14398
762f7747
PA
143992015-12-10 Pedro Alves <palves@redhat.com>
14400
14401 * gdb.multi/base.exp: Don't use nowarnings.
14402 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
14403 * gdb.multi/hangout.c: Include stdio.h.
14404 * gdb.multi/hello.c: Include stdlib.h.
14405 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
14406 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
14407 * gdb.multi/multi-arch.exp: Don't use nowarnings.
14408
28d2bfb9
AB
144092015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
14410
14411 * gdb.dwarf2/dw2-ranges-base.c: New file.
14412 * gdb.dwarf2/dw2-ranges-base.exp: New file.
14413 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
14414 support additional line table, and debug ranges generation.
14415 (Dwarf::ranges): New function, generate .debug_ranges.
14416 (Dwarf::lines): Support generating simple line table programs.
14417 (Dwarf::assemble): Initialise new namespace variables.
14418
5fc2beac
KB
144192015-12-09 Kevin Buettner <kevinb@redhat.com>
14420
14421 * gdb.base/async.exp (proc test_background): Add case for
14422 asynchronous execution not supported.
14423
1c35a88f
LM
144242015-12-09 Luis Machado <lgustavo@codesourcery.com>
14425
14426 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
14427 format and change test names to make them unique.
14428
b593e3d9
RK
144292015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
14430 Pedro Alves <pedro@redhat.com>
14431
14432 PR gdb/18702
14433 Add checking of floatformats setup on x86_64 hosts.
14434 * gdb.arch/i386-float.S (main): Load bigval and smallval.
14435 (smallval, bigval): New labels/constants.
14436 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
14437 float" after loading bigval and smallval.
14438
d72413e6
PMR
144392015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
14440
14441 * gdb.ada/fun_overload_menu.exp: New testcase.
14442 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
14443
ece66d65
JS
144442015-12-04 Josh Stone <jistone@redhat.com>
14445
14446 * gdb.base/catch-fork-static.exp: New.
14447
41d0efca
YQ
144482015-12-03 Yao Qi <yao.qi@linaro.org>
14449
14450 * gdb.base/sizeof.c: Don't include stdio.h and
14451 ../lib/unbuffer_output.c.
14452 (main): New variable 'size' and 'value'. Remove printf and
14453 gdb_unbuffer_output. Assign return value to size and value.
14454 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
14455 at the beginning.
14456 (check_sizeof): Check the result by printing variable 'size'.
14457 (check_valueof): Check the result by printing variable 'value'.
14458
99fd02d9
YQ
144592015-12-01 Yao Qi <yao.qi@linaro.org>
14460
14461 * gdb.base/disp-step-syscall.exp: Define syscall instruction
14462 for aarch64*-*-linux* target.
14463
f2faf941
PA
144642015-11-30 Pedro Alves <palves@redhat.com>
14465
14466 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
14467
04bf20c5
PA
144682015-11-30 Pedro Alves <palves@redhat.com>
14469
14470 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
14471 Handle non-stop mode vCont replies.
14472
09df4675
PA
144732015-11-30 Pedro Alves <palves@redhat.com>
14474
14475 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
14476 prepare_for_testing. Start gdb with "set non-stop on" appended to
14477 GDBFLAGS. Lax expected stop output.
14478
58b584af
YQ
144792015-11-27 Yao Qi <yao.qi@linaro.org>
14480
14481 * gdb.arch/arm-neon.exp: New.
14482 * gdb.arch/arm-neon.c: New.
14483
dfcb77a8
YQ
144842015-11-27 Yao Qi <yao.qi@linaro.org>
14485
14486 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
14487
88e8ec1b
YQ
144882015-11-27 Yao Qi <yao.qi@linaro.org>
14489
14490 * gdb.cp/annota2.exp: Allow multiple occurrences of the
14491 frames-invalid annotation.
14492
bfde72c2
YQ
144932015-11-27 Yao Qi <yao.qi@linaro.org>
14494
14495 * gdb.cp/annota2.exp: Use ${frames_invalid}.
14496
f6512a69
SM
144972015-11-26 Simon Marchi <simon.marchi@ericsson.com>
14498
14499 * gdb.threads/names.exp: New file.
14500 * gdb.threads/names.c: New file.
14501 * README: Mention gdb,no_thread_names.
14502
46a3515b
MM
145032015-11-26 Markus Metzger <markus.t.metzger@intel.com>
14504
14505 PR 19297
14506 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
14507 support" error.
14508
62147a22
PA
145092015-11-24 Pedro Alves <palves@redhat.com>
14510
14511 PR 17539
14512 * gdb.base/display.exp: Expect displays to be sorted in ascending
14513 order. Use multi_line.
14514 * gdb.base/solib-display.exp: Likewise.
14515
2f341b6e
PA
145162015-11-24 Pedro Alves <palves@redhat.com>
14517
14518 PR 17539
25d49b86
PA
14519 * gdb.base/display.exp: Expect displays to be sorted in ascending
14520 order. Use multi_line.
14521 * gdb.base/solib-display.exp: Likewise.
2f341b6e 14522
7e0aa6aa
PA
145232015-11-24 Pedro Alves <palves@redhat.com>
14524
14525 PR 17539
14526 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
14527 threads in ascending order.
14528 * gdb.base/foll-fork.exp: Likewise.
14529 * gdb.base/foll-vfork.exp: Likewise.
14530 * gdb.base/multi-forks.exp: Likewise.
14531 * gdb.mi/mi-nonstop.exp: Likewise.
14532 * gdb.mi/mi-nsintrall.exp: Likewise.
14533 * gdb.multi/base.exp: Likewise.
14534 * gdb.multi/multi-arch.exp: Likewise.
14535 * gdb.python/py-inferior.exp: Likewise.
14536 * gdb.threads/break-while-running.exp: Likewise.
14537 * gdb.threads/execl.exp: Likewise.
14538 * gdb.threads/gcore-thread.exp: Likewise.
14539 * gdb.threads/info-threads-cur-sal.exp: Likewise.
14540 * gdb.threads/kill.exp: Likewise.
14541 * gdb.threads/linux-dp.exp: Likewise.
14542 * gdb.threads/multiple-step-overs.exp: Likewise.
14543 * gdb.threads/next-bp-other-thread.exp: Likewise.
14544 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
14545 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
14546 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
14547 * gdb.threads/thread-find.exp: Likewise.
14548 * gdb.threads/tls.exp: Likewise.
14549 * lib/mi-support.exp (mi_reverse_list): Delete.
14550 (mi_check_thread_states): No longer reverse list.
14551
2cc57ad8
PA
145522015-11-24 Pedro Alves <palves@redhat.com>
14553
14554 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
14555 use lowercase.
14556
c93e8391
SM
145572015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14558
14559 * gdb.trace/actions.c: Include trace-common.h.
14560 (main): Add a location for a fast tracepoint.
14561 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
14562 the normal tracepoints.
14563 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
14564
045ccf91
SM
145652015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14566
14567 * save-trace.exp: Factor out code to these...
14568 (gdb_save_tracepoints): New.
14569 (gdb_load_tracepoints): New.
14570 (do_save_load_test): New.
14571
5506f9f6
KB
145722015-11-23 Kevin Buettner <kevinb@redhat.com>
14573
14574 * gdb.base/asmlabel.exp: New test.
14575 * gdb.base/asmlabel.c: New test case.
14576
16c3b12f
JB
145772015-11-23 Joel Brobecker <brobecker@adacore.com>
14578
14579 * gdb.base/wrong_frame_bt_full-main.c: New file.
14580 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
14581 * gdb.base/wrong_frame_bt_full.exp: New file.
14582
155bfbd3
JB
145832015-11-23 Joel Brobecker <brobecker@adacore.com>
14584
14585 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
14586
bb097445
JM
145872015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14588
206853a0 14589 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
14590 pstate register when comparing registers values in
14591 sparc64-*-linux-gnu targets to avoid spurious differences.
14592
9c88ed8f
JM
145932015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14594
206853a0 14595 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 14596
96161e25
SL
145972015-11-19 Sandra Loosemore <sandra@codesourcery.com>
14598
14599 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
14600 as type argument to gdb_compile.
14601 * gdb.base/nested-subp2.exp: Likewise.
14602 * gdb.base/nested-subp3.exp: Likewise.
14603
340c2830
DV
146042015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
14605
14606 * lib/dwarf.exp (_note): Fix left shift of negative value.
14607 * gdb.trace/trace-condition.exp: Likewise.
14608
c1862d0f
YQ
146092015-11-13 Yao Qi <yao.qi@linaro.org>
14610
14611 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
14612 comments about d10v.
14613 (test_scalar_returns): Likewise.
14614 * gdb.base/d10v.ld: Remove.
14615 * gdb.base/overlays.exp: Remove the target triplet checking for
14616 d10v-*-*.
14617 * gdb.base/structs.exp (test_struct_returns): Remove the
14618 comments about d10v.
14619 (test_struct_calls): Likewise.
14620
77ae9c19
YQ
146212015-11-13 Yao Qi <yao.qi@linaro.org>
14622
14623 * gdb.base/gnu_vector.exp: Check the return value by "p res".
14624 * gdb.base/gnu_vector.c: Don't include stdio.h.
14625 (main): Don't print res and call add_some_intvecs.
14626
430e004e
MK
146272015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
14628
14629 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
14630 macro.
14631 (func5): Removed.
14632 (func4): Use FAST_TRACEPOINT_LABEL.
14633 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
14634 macro.
14635 (func): Removed.
14636 (thread_function): Use FAST_TRACEPOINT_LABEL.
14637 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
14638 (func): Remove.
14639 (marker): Use FAST_TRACEPOINT_LABEL.
14640 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
14641 (pendfunc1): Remove.
14642 (pendfunc): Use FAST_TRACEPOINT_LABEL.
14643 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
14644 (foo): Remove.
14645 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
14646 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
14647 macro.
14648 (func): Remove.
14649 (marker): Use FAST_TRACEPOINT_LABEL.
14650 * gdb.trace/trace-common.h: New header.
14651 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
14652 macro.
14653 (func): Remove.
14654 (marker): Use FAST_TRACEPOINT_LABEL.
14655 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
14656 (func): Remove.
14657 (thread_function): Use FAST_TRACEPOINT_LABEL.
14658
6e7675a7
MK
146592015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
14660
14661 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
14662 in front.
14663 * gdb.trace/change-loc.exp: Use global pcreg definition.
14664 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
14665 * gdb.trace/entry-values.exp: Use global spreg definition, add $
14666 in front.
14667 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
14668 * gdb.trace/pending.exp: Likewise.
14669 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
14670 * gdb.trace/trace-break.exp: Likewise.
14671 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
14672 in front.
14673 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
14674 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
14675 in front.
14676 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
14677
dddc0e16
JB
146782015-11-09 Joel Brobecker <brobecker@adacore.com>
14679
14680 * gdb.ada/fin_fun_out: New testcase.
14681
c6f0b406
KB
146822015-11-07 Kevin Buettner <kevinb@redhat.com>
14683
14684 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
14685 value associated with DW_AT_byte_size.
14686 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
14687 constants for DW_AT_byte_size, DW_AT_lower_bound, and
14688 DW_AT_upper_bound.
14689
f01dcfd9
KB
146902015-11-07 Kevin Buettner <kevinb@redhat.com>
14691
14692 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
14693 (gdb_target_symbol_prefix_flags): Define in terms of _asm
14694 version.
14695 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
14696 gdb.dwarf2/dw2-canonicalize-type.exp,
14697 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
14698 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
14699 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
14700 provided by gdb_target_symbol_prefix_flags_asm.
14701 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
14702 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
14703 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
14704 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
14705 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
14706 macros where needed). Use this macro for symbols which require
14707 the prefix provided by SYMBOL_PREFIX.
14708
2223449a
KB
147092015-11-05 Kevin Buettner <kevinb@redhat.com>
14710
14711 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
14712 New procs.
14713 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
14714 representing expressions, of more than one list element.
14715 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
14716 to prepend linker symbol prefix to f.
14717 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
14718 table_1 and table_2.
14719 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
14720 Likewise, for f and g.
14721 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
14722 for ptr.
14723 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
14724 for main.
14725 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
14726 table_1_ptr and table_2_ptr.
14727
6f2f1a3a
JK
147282015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14729 Joel Brobecker <brobecker@adacore.com>
14730
14731 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
14732
566c56c9
MK
147332015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
14734
14735 * gdb.reverse/s390-mvcle.c: New test.
14736 * gdb.reverse/s390-mvcle.exp: New file.
14737 * lib/gdb.exp: Enable reverse tests on s390*-linux.
14738
d5f0636b
MK
147392015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14740
14741 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
14742
7ad8b86c
MK
147432015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14744
14745 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
14746 reaching marker2.
14747 * gdb.reverse/getresuid-reverse.exp: Likewise.
14748 * gdb.reverse/pipe-reverse.exp: Likewise.
14749 * gdb.reverse/readv-reverse.exp: Likewise.
14750 * gdb.reverse/recvmsg-reverse.exp: Likewise.
14751 * gdb.reverse/time-reverse.exp: Likewise.
14752 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
14753
4081c0f1
YQ
147542015-10-30 Yao Qi <yao.qi@linaro.org>
14755
14756 * gdb.threads/wp-replication.c (watch_count_done): Remove.
14757 (empty_cycle): Remove.
14758 (main): Don't call empty_cycle. Don't use watch_count_done.
14759 * gdb.threads/wp-replication.exp: Don't set breakpoint on
14760 empty_cycle. Rewrite the code counting HW watchpoints.
14761
452b4ba5
MK
147622015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
14763
14764 * gdb.reverse/fstatat-reverse.c: New test.
14765 * gdb.reverse/fstatat-reverse.exp: New file.
14766 * gdb.reverse/getresuid-reverse.c: New test.
14767 * gdb.reverse/getresuid-reverse.exp: New file.
14768 * gdb.reverse/pipe-reverse.c: New test.
14769 * gdb.reverse/pipe-reverse.exp: New file.
14770 * gdb.reverse/readv-reverse.c: New test.
14771 * gdb.reverse/readv-reverse.exp: New file.
14772 * gdb.reverse/recvmsg-reverse.c: New test.
14773 * gdb.reverse/recvmsg-reverse.exp: New file.
14774 * gdb.reverse/time-reverse.c: New test.
14775 * gdb.reverse/time-reverse.exp: New file.
14776 * gdb.reverse/waitpid-reverse.c: New test.
14777 * gdb.reverse/waitpid-reverse.exp: New file.
14778
5e2e7507
JK
147792015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14780
14781 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
14782
0fde2c53
DE
147832015-10-26 Doug Evans <dje@google.com>
14784
14785 PR symtab/17391
14786 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
14787 * gdb.dwarf2/bad-regnum.c: New file.
14788 * gdb.dwarf2/bad-regnum.exp: New file.
14789
1a70ae97
DE
147902015-10-26 Doug Evans <dje@google.com>
14791
14792 PR python/18938
14793 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
14794 file.
14795
27dc26ab
JK
147962015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14797
14798 * gdb.compile/compile.exp (compile code globalvar): Update expectation
14799 for a change by "Mention language in compile error message".
14800
bed91f4d
SM
148012015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
14802
14803 PR python/18073
14804 * gdb.python/py-type.c (C::a_method): New.
14805 (C::a_const_method): New.
14806 (C::a_static_method): New.
14807 (a_function): New.
14808 * gdb.python/py-type.exp (test_fields): Test getting fields
14809 from function and method.
14810
3f2f83dd
KB
148112015-10-21 Keven Boell <keven.boell@intel.com>
14812
14813 * gdb.fortran/vla-alloc-assoc.exp: New file.
14814 * gdb.fortran/vla-datatypes.exp: New file.
14815 * gdb.fortran/vla-datatypes.f90: New file.
14816 * gdb.fortran/vla-history.exp: New file.
14817 * gdb.fortran/vla-ptype-sub.exp: New file.
14818 * gdb.fortran/vla-ptype.exp: New file.
14819 * gdb.fortran/vla-sizeof.exp: New file.
14820 * gdb.fortran/vla-sub.f90: New file.
14821 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
14822 * gdb.fortran/vla-value-sub-finish.exp: New file.
14823 * gdb.fortran/vla-value-sub.exp: New file.
14824 * gdb.fortran/vla-value.exp: New file.
14825 * gdb.fortran/vla-ptr-info.exp: New file.
14826 * gdb.mi/mi-vla-fortran.exp: New file.
14827 * gdb.mi/vla.f90: New file.
14828
27145d50
SL
148292015-10-21 Sandra Loosemore <sandra@codesourcery.com>
14830
14831 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
14832 of hardwired timeout value.
14833
5f3ff4f8
JK
148342015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14835 Pedro Alves <palves@redhat.com>
14836
14837 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
14838 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
14839
bfd09d20
JS
148402015-10-19 Josh Stone <jistone@redhat.com>
14841
14842 * gdb.base/catch-syscall.c: Include <sched.h>.
14843 (unknown_syscall): New variable.
14844 (main): Trigger a vfork and an unknown syscall.
14845 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
14846 (unknown_syscall_number): Likewise.
14847 (check_call_to_syscall): Accept an optional syscall pattern.
14848 (check_return_from_syscall): Likewise.
14849 (check_continue): Likewise.
14850 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
14851 (test_catch_syscall_skipping_return): New test toggling off 'catch
14852 syscall' to step over the syscall return, then toggling back on.
14853 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
14854 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
14855 (do_syscall_tests): Call test_catch_syscall_without_args and
14856 test_catch_syscall_mid_vfork.
14857 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
14858 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
14859
b32b93c6
AS
148602015-10-19 Andrew Stubbs <ams@codesourcery.com>
14861
14862 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
14863 print g_vE): Add new pass patterns.
14864 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
14865 print various symbol names for vptr fields.
14866
9d622bda
AB
148672015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
14868
14869 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
14870 results.
14871
0fd8ac1c
YQ
148722015-10-12 Yao Qi <yao.qi@linaro.org>
14873
14874 * gdb.arch/disp-step-insn-reloc.exp: New test case.
14875
34240514
YQ
148762015-10-12 Yao Qi <yao.qi@linaro.org>
14877
14878 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
14879 is aarch64*-*-linux*.
14880
8240f442
YQ
148812015-10-12 Yao Qi <yao.qi@linaro.org>
14882
14883 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
14884 (can_relocate_bcond_true): ... it.
14885 (can_relocate_bcond_false): New function.
14886 (foo): Likewise.
14887 (can_relocate_bl): Likewise.
14888 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
14889 can_relocate_bl.
14890
2520f728
PMR
148912015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
14892
14893 * gdb.base/nested-addr.c: New file.
14894 * gdb.base/nested-addr.exp: New testcase.
14895
abcef95a
MM
148962015-10-09 Markus Metzger <markus.t.metzger@intel.com>
14897
14898 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
14899 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
14900 its output. Ignore the output of "record goto begin" and instead
14901 check that GDB is replaying.
14902
145e3ddb
PA
149032015-10-09 Pedro Alves <palves@redhat.com>
14904
14905 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
14906 (top level): Use it in the run with no args test.
14907
d5d8c4e1
IB
149082015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
14909
14910 * gdb.dlang/properties.exp: New file.
14911
06e635ef
SL
149122015-10-02 Sandra Loosemore <sandra@codesourcery.com>
14913
14914 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
14915 whether or not address 0x1000 is mapped on the target.
14916
e019fd1d
SM
149172015-09-30 Simon Marchi <simon.marchi@ericsson.com>
14918
14919 * gdb.python/py-type.exp: Do not run tests if binaries fail to
14920 build.
14921
77ba2a67
MM
149222015-09-30 Markus Metzger <markus.t.metzger@intel.com>
14923
14924 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
14925 instruction-history test.
14926
c60eb31f
DE
149272015-09-28 Doug Evans <dje@google.com>
14928
14929 * gdb.base/gcore.c (array_func): Add reference to static_array.
14930
9a3c8263
SM
149312015-09-25 Simon Marchi <simon.marchi@ericsson.com>
14932
14933 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
14934 source line.
14935
9720e656
SL
149362015-09-24 Sandra Loosemore <sandra@codesourcery.com>
14937
14938 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
14939 short or char as base type.
14940
938d3bf2
SL
149412015-09-23 Sandra Loosemore <sandra@codesourcery.com>
14942
14943 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
14944 to allow any size enum.
14945
e6c2c623
PMR
149462015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
14947
14948 * gdb.ada/array_ptr_renaming.exp: New testcase.
14949 * gdb.ada/array_ptr_renaming/foo.adb: New file.
14950 * gdb.ada/array_ptr_renaming/pack.ads: New file.
14951
06da0f77
PL
149522015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14953
14954 * gdb.trace/ftrace-lock.c: New file.
14955 * gdb.trace/ftrace-lock.exp: New file.
14956
4f51c22a
PL
149572015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14958
14959 * gdb.arch/insn-reloc.c: New file.
14960 * gdb.arch/ftrace-insn-reloc.exp: New file.
14961
7041adf4
PL
149622015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14963
14964 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
14965 instruction.
14966 * gdb.trace/pendshr1.c (pendfunc): Likewise.
14967 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
14968 * gdb.trace/range-stepping.c: Likewise.
14969 * gdb.trace/trace-break.c: Likewise.
14970 * gdb.trace/trace-mt.c (thread_function): Likewise.
14971 * gdb.trace/ftrace.c (marker): Likewise.
14972 * gdb.trace/trace-condition.c (marker): Likewise.
14973 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
14974 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
14975 is_aarch64_target.
14976
015d2e7e
DE
149772015-09-18 Doug Evans <xdje42@gmail.com>
14978
14979 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
14980 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
14981
26b188a2
SL
149822015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14983
14984 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
14985 the breakpoint.
14986
79dc332b
SL
149872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14988
14989 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
14990 the pending breakpoint. Remove timeout override for "Run till
14991 MI pending breakpoint on pendfunc3 on thread 2" test.
14992
f57929f2
SL
149932015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14994
14995 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
14996 filename pattern.
14997
3f469b17
SL
149982015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14999
15000 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
15001 in breakpoint filename pattern.
15002
515b89b3
SL
150032015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15004
7800dbe4
SL
15005 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
15006
150072015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15008
515b89b3
SL
15009 * gdb.linespec/explicit.exp: Check for readline support for
15010 tab-completion tests. Fix obvious typo.
15011
d2939ba2
MM
150122015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15013
15014 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
15015 and replay.
15016
cbb55fa7
MM
150172015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15018
15019 * gdb.btrace/non-stop.c: New.
15020 * gdb.btrace/non-stop.exp: New.
15021
43691ca1
PL
150222015-09-17 Pierre Langlois <pierre.langlois@arm.com>
15023 Yao Qi <yao.qi@linaro.org>
15024
15025 * gdb.trace/trace-condition.c: New file.
15026 * gdb.trace/trace-condition.exp: New file.
15027
d78908cf
WW
150282015-09-16 Wei-cheng Wang <cole945@gmail.com>
15029
15030 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
15031 for testing bytecode compilation.
15032
1ed415e2
PA
150332015-09-16 Pedro Alves <palves@redhat.com>
15034 Sandra Loosemore <sandra@codesourcery.com>
15035
15036 * gdb.threads/non-stop-fair-events.c (timeout): New global.
15037 (SECONDS): Redefine.
15038 (main): Call pthread_kill and alarm early.
15039 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
15040 support.
15041 (test): If the target can't hardware step and doesn't support
15042 displaced stepping, increase the timeout.
15043
d136eff5
PA
150442015-09-16 Pedro Alves <palves@redhat.com>
15045
15046 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
15047 (enable_debug): New procedures.
15048 (test): Use them. Bail out if waiting for threads fails.
15049 (top level): Bail out if a test fails.
15050
991f019c
YQ
150512015-09-16 Yao Qi <yao.qi@linaro.org>
15052
15053 * gdb.asm/asm-source.exp: Set asm-arch for
15054 aarch64*-*-* target.
15055 * gdb.asm/aarch64.inc: New file.
15056
bfca584f
PMR
150572015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
15058
15059 * gdb.ada/array_of_variable_length.exp: New testcase.
15060 * gdb.ada/array_of_variable_length/foo.adb: New file.
15061 * gdb.ada/array_of_variable_length/pck.adb: New file.
15062 * gdb.ada/array_of_variable_length/pck.ads: New file.
15063
b326e587
DE
150642015-09-15 Doug Evans <dje@google.com>
15065
15066 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
15067 of function static local variable.
15068
5382cfab
PW
150692015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15070
15071 * gdb.threads/tls-so_extern.exp: New test file.
15072 * gdb.threads/tls-so_extern.c: New test file.
15073 * gdb.threads/tls-so_extern_main.c: New test file.
15074
141c5cc4
JK
150752015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15076
15077 * gdb.opt/solib-intra-step-lib.c: New file.
15078 * gdb.opt/solib-intra-step-main.c: New file.
15079 * gdb.opt/solib-intra-step.exp: New file.
15080
d15dcecd
PA
150812015-09-15 Pedro Alves <palves@redhat.com>
15082
15083 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
15084 gdb_continue_to_breakpoint instead of gdb_test_multiple.
15085
4c2f2a79
PA
150862015-09-14 Pedro Alves <palves@redhat.com>
15087
15088 * gdb.base/hook-stop-continue.c: Delete.
15089 * gdb.base/hook-stop-continue.exp: Delete.
15090 * gdb.base/hook-stop-frame.c: Delete.
15091 * gdb.base/hook-stop-frame.exp: Delete.
15092 * gdb.base/hook-stop.c: New file.
15093 * gdb.base/hook-stop.exp: New file.
15094
919e6dbe
PMR
150952015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
15096
15097 * gdb.ada/access_to_packed_array.exp: New testcase.
15098 * gdb.ada/access_to_packed_array/foo.adb: New file.
15099 * gdb.ada/access_to_packed_array/pack.adb: New file.
15100 * gdb.ada/access_to_packed_array/pack.ads: New file.
15101
157280a4
MM
151022015-09-14 Markus Metzger <markus.t.metzger@intel.com>
15103
15104 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
15105 buffer size test.
15106
2fd33e94
DB
151072015-09-11 Don Breazeal <donb@codesourcery.com>
15108
15109 * gdb.base/foll-exec.c: Add copyright header. Fix
15110 formatting issues.
15111 * gdb.base/foll-exec.exp (zap_session): Delete proc.
15112 (do_exec_tests): Use clean_restart in place of zap_session,
15113 and for test initialization. Fix formatting issues. Use
15114 fail in place of perror.
15115 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
15116 an expect statement to match an expression with output from
15117 the program under debug.
15118 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
15119 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
15120 * gdb.threads/non-ldr-exc-2.exp: Likewise.
15121 * gdb.threads/non-ldr-exc-3.exp: Likewise.
15122 * gdb.threads/non-ldr-exc-4.exp: Likewise.
15123
e70b6e8e
DE
151242015-09-09 Doug Evans <dje@google.com>
15125
15126 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
15127
7a551a51
DE
151282015-09-09 Doug Evans <dje@google.com>
15129
15130 * gdb.base/pie-execl.exp: Fix result test of build_executable.
15131
4c666f84
DE
151322015-09-09 Doug Evans <dje@google.com>
15133
15134 * gdb.base/savedregs.exp: Fix typo.
15135
243a9253
PA
151362015-09-09 Pedro Alves <palves@redhat.com>
15137
15138 * gdb.mi/mi-cli.exp: Add CLI finish tests.
15139
c0fa8fbd
SL
151402015-09-08 Sandra Loosemore <sandra@codesourcery.com>
15141
15142 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
15143 command actually switches threads. Give up on remaining
15144 tests if target fails to stop at breakpoint.
15145
cd7c1778
PMR
151462015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
15147
15148 * gdb.ada/funcall_char.exp: New testcase.
15149 * gdb.ada/funcall_char/foo.adb: New file.
15150
dc5c8746
PMR
151512015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
15152
15153 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
15154 expected outputs. Add two testcases for completing ambiguous
15155 functions.
15156 * gdb.ada/complete/aux_pck.adb: New file.
15157 * gdb.ada/complete/aux_pck.ads: New file.
15158 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
15159 Ambiguous_Func functions.
15160 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
15161 * gdb.ada/complete/pck.adb: Likewise.
15162
4e83a1e7
UW
151632015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
15164
15165 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
15166 failures to run the test program under GDB.
15167
8ce74153
LM
151682015-08-26 Luis Machado <lgustavo@codesourcery.com>
15169
15170 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
15171 to C.
15172
e9756d52
PP
151732015-08-26 Patrick Palka <patrick@parcs.ath.cx>
15174
15175 * gdb.base/run-after-attach.exp: New test file.
15176 * gdb.base/run-after-attach.c: New test file.
15177
8d37573b
DB
151782015-08-26 Don Breazeal <donb@codesourcery.com>
15179
15180 * gdb.base/foll-exec-2.c: New test program.
15181 * gdb.base/foll-exec-2.exp: New test.
15182
63e43d3a
PMR
151832015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
15184
15185 * gdb.base/nested-subp1.exp: New file.
15186 * gdb.base/nested-subp1.c: New file.
15187 * gdb.base/nested-subp2.exp: New file.
15188 * gdb.base/nested-subp2.c: New file.
15189 * gdb.base/nested-subp3.exp: New file.
15190 * gdb.base/nested-subp3.c: New file.
15191
3d40fbb5
PA
151922015-08-24 Pedro Alves <palves@redhat.com>
15193
15194 * gdb.server/connect-without-multi-process.c: New file.
15195 * gdb.server/connect-without-multi-process.exp: New file.
15196
4422ac93
LM
151972015-08-24 Luis Machado <lgustavo@codesourcery.com>
15198
15199 * gdb.opt/inline-markers.c: Make z int.
15200
91dddb86
LM
152012015-08-24 Luis Machado <lgustavo@codesourcery.com>
15202
15203 * gdb.opt/inline-markers.c: Make z volatile.
15204
a48847ee
LM
152052015-08-24 Luis Machado <lgustavo@codesourcery.com>
15206
15207 * gdb.opt/inline-bt.c: New volatile global z.
15208 * gdb.opt/inline-cmds.c: Likewise.
15209 * gdb.opt/inline-locals.c: Likewise.
15210 * gdb.opt/inline-markers.c: New extern global z.
15211 (marker): Use z.
15212 (inline_fn): Likewise.
15213
0ebbc52b
PA
152142015-08-24 Pedro Alves <palves@redhat.com>
15215
15216 * config/m32r-stub.exp: Remove file.
15217 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
15218 * gdb.base/call-rt-st.exp: Likewise.
15219 * gdb.base/call-strs.exp: Likewise.
15220 * gdb.base/default.exp: Remove references to h8300-*-hms and
15221 *-*-udi*.
15222 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
15223
77c365df
AA
152242015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15225
15226 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
15227 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
15228 and "return" use KFAIL when GDB can not read/write the vector
15229 return value.
15230
4313b8c0
GB
152312015-08-21 Gary Benson <gbenson@redhat.com>
15232
15233 * gdb.trace/pending.exp: Cope with remote transfer warnings.
15234
0e433b32
PA
152352015-08-20 Pedro Alves <palves@redhat.com>
15236
15237 * gdb.server/solib-list.exp: No longer expect an interior stop in
15238 non-stop mode.
15239
221e1a37
PA
152402015-08-20 Pedro Alves <palves@redhat.com>
15241
15242 * gdb.server/connect-stopped-target.c: New file.
15243 * gdb.server/connect-stopped-target.exp: New file.
15244
40e3ad0e
PA
152452015-08-20 Pedro Alves <palves@redhat.com>
15246
15247 * gdb.dwarf2/comp-unit-lang.exp: New file.
15248 * gdb.dwarf2/comp-unit-lang.c: New file.
15249
af39b327
PMR
152502015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
15251
15252 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
15253 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
15254
7d45c7c3 152552015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 15256
7d45c7c3
KB
15257 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
15258 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
15259
4d6cceb4
DE
152602015-08-18 Doug Evans <dje@google.com>
15261 Adrian Sendroiu <adrian.sendroiu@freescale.com>
15262
15263 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
15264 skip_python_tests. New arg prompt_regexp.
15265 (skip_python_tests): New function.
15266 * lib/mi-support.exp (mi_skip_python_tests): New function.
15267 * gdb.python/py-mi-objfile-gdb.py: New file.
15268 * gdb.python/py-mi-objfile.c: New file.
15269 * gdb.python/py-mi-objfile.exp: New file.
15270
ad89c2aa
KS
152712015-08-17 Keith Seitz <keiths@redhat.com>
15272
15273 * gdb.linespec/explicit.exp: Move strace test from here ...
15274 * gdb.trace/strace.exp: ... to here.
15275
e3ae3c43
PP
152762015-08-15 Patrick Palka <patrick@parcs.ath.cx>
15277
15278 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
15279 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
15280
604b2636
DE
152812015-08-14 Doug Evans <xdje42@gmail.com>
15282
15283 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
15284 inferior before selecting a new file.
15285
6ff0ba5f
DE
152862015-08-14 Doug Evans <xdje42@gmail.com>
15287
15288 * gdb.mi/mi-disassemble.exp: Update.
15289 * gdb.base/disasm-optim.S: New file.
15290 * gdb.base/disasm-optim.c: New file.
15291 * gdb.base/disasm-optim.h: New file.
15292 * gdb.base/disasm-optim.exp: New file.
15293
9ca98f92
KS
152942015-08-14 Keith Seitz <keiths@redhat.com>
15295
15296 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
15297 "evaluated-by".
15298
52bbc560
JB
152992015-08-13 Joel Brobecker <brobecker@adacore.com>
15300
15301 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
15302
5d8c3ed3
PMR
153032015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
15304
15305 * gdb.ada/fun_renaming.exp: New testcase.
15306 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
15307 * gdb.ada/fun_renaming/pack.adb: New file.
15308 * gdb.ada/fun_renaming/pack.ads: New file.
15309
ea8812bc
KS
153102015-08-12 Keith Seitz <keiths@redhat.com>
15311
15312 * gdb.base/dso2dso.exp: Pass basename of source file in call to
15313 gdb_get_line_number.
15314
4dafcdeb
JB
153152015-08-12 Joel Brobecker <brobecker@adacore.com>
15316
15317 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
15318 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
15319 gdb.base/dso2dso.exp: New files.
15320
5ba32597
SDJ
153212015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
15322 Pedro Alves <palves@redhat.com>
15323 Keith Seitz <keiths@redhat.com>
15324
15325 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
15326 GDBFLAGS.
15327
b6dafabf
PP
153282015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15329
15330 * gdb.base/gdbhistsize-history.exp
15331 (test_histsize_history_setting): Use save_vars.
15332 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15333 Use save_vars.
15334 (test_no_truncation_of_unlimited_history_file): Use save_vars.
15335 * gdb.base/readline.exp: Use save_vars.
15336
abe8e607
PP
153372015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15338
15339 * lib/gdb.exp (save_vars): New proc.
15340
629500fa
KS
153412015-08-11 Keith Seitz <keiths@redhat.com>
15342
15343 * gdb.base/help.exp: Update help_breakpoint_text.
15344
eb8c4e2e
KS
153452015-08-11 Keith Seitz <keiths@redhat.com>
15346
15347 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
15348 (at toplevel): Call test_explicit_breakpoints.
15349 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
15350 breakpoints.
15351 * lib/mi-support.exp (mi_make_breakpoint): Add support for
15352 breakpoint conditions, "-cond".
15353
87f0e720
KS
153542015-08-11 Keith Seitz <keiths@redhat.com>
15355
15356 * gdb.linespec/3explicit.c: New file.
15357 * gdb.linespec/cpexplicit.cc: New file.
15358 * gdb.linespec/cpexplicit.exp: New file.
15359 * gdb.linespec/explicit.c: New file.
15360 * gdb.linespec/explicit.exp: New file.
15361 * gdb.linespec/explicit2.c: New file.
15362 * gdb.linespec/ls-errs.exp: Add explicit location tests.
15363 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
15364 before using in the matching pattern.
15365 Clarify that `prefix' is a regular expression.
15366
f00aae0f
KS
153672015-08-11 Keith Seitz <keiths@redhat.com>
15368
15369 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
15370 test.
15371 Add tests for missing ",FMT" and ",".
15372
e27852be
DE
153732015-08-10 Doug Evans <dje@google.com>
15374 Keith Seitz <keiths@redhat.com>
15375
15376 PR gdb/17960
15377 * gdb.base/completion.exp: Add location completer tests.
15378
7f03bd92
PA
153792015-08-07 Pedro Alves <palves@redhat.com>
15380
15381 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
15382 tests here.
15383 (top level): Run do_test with and without displaced stepping.
15384
3fc8eb30
PA
153852015-08-07 Pedro Alves <palves@redhat.com>
15386
15387 * gdb.base/valgrind-disp-step.c: New file.
15388 * gdb.base/valgrind-disp-step.exp: New file.
15389
d4569d7b
PA
153902015-08-07 Pedro Alves <palves@redhat.com>
15391
15392 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
15393 Delete function.
15394 (main): Add alarm. Run an infinite loop instead of calling
15395 wait_threads.
15396 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
15397 comment.
15398 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
15399 Delete function.
15400 (main): Add alarm. Run an infinite loop instead of calling
15401 wait_threads.
15402 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
15403 comment.
15404
e1316e60
PA
154052015-08-07 Pedro Alves <palves@redhat.com>
15406
15407 * gdb.base/checkpoint-ns.exp: New file.
15408 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
15409 standard_testfile.
15410
da8c46d2
MM
154112015-08-07 Markus Metzger <markus.t.metzger@intel.com>
15412
15413 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
15414 * gdb.btrace/instruction_history.exp: Update.
15415 * gdb.btrace/tsx.exp: New.
15416 * gdb.btrace/tsx.c: New.
15417
de1c2c52
PA
154182015-08-06 Pedro Alves <palves@redhat.com>
15419
15420 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
15421 increase timeout.
15422 * gdb.reverse/until-precsave.exp: Bump timeouts.
15423
782e0bf4
PA
154242015-08-06 Pedro Alves <palves@redhat.com>
15425
15426 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
15427
83e97ed0
PA
154282015-08-06 Pedro Alves <palves@redhat.com>
15429
15430 PR gdb/18749
15431 * gdb.threads/process-dies-while-handling-bp.c: New file.
15432 * gdb.threads/process-dies-while-handling-bp.exp: New file.
15433
863d01bd
PA
154342015-08-06 Pedro Alves <palves@redhat.com>
15435
15436 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
15437 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
15438
0a39bb32
PA
154392015-08-05 Pedro Alves <palves@redhat.com>
15440
15441 * gdb.threads/next-while-other-thread-longjmps.c: New file.
15442 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
15443
ee2d2b10
SL
154442015-08-03 Sandra Loosemore <sandra@codesourcery.com>
15445
15446 * gdb.base/bp-permanent.exp: Report test as unsupported if
15447 the target cannot stop at the permanent breakpoint.
15448
4e1bdb00
DE
154492015-08-03 Doug Evans <dje@google.com>
15450
15451 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
15452 10000.
15453
3d338901
DE
154542015-08-03 Doug Evans <dje@google.com>
15455
15456 * Makefile.in (workers/%.worker, build-perf): New rule.
15457 (GDB_PERFTEST_MODE): New variable.
15458 (check-perf): Use it.
15459 (clean): Clean up gdb.perf parallel build subdirs.
15460 * lib/build-piece.exp: New file.
15461 * lib/gdb.exp (make_gdb_parallel_path): New function
15462 (standard_output_file, standard_temp_file): Call it.
15463 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15464 of $GDB_PARALLEL.
15465 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
15466
af061d3e
DE
154672015-08-03 Doug Evans <dje@google.com>
15468
8e1afc81 15469 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
15470 (LOG_FILE_NAME): New global.
15471 (TextReporter.__init__): Initialize self.txt_sum.
15472 (TextReporter.report): Add support for multiple data-points.
15473 Move report to perftest.sum, put raw data in perftest.log.
15474 (TextReporter.start): Open sum and log files.
15475 (TextReporter.end): Close sum and log files.
8e1afc81
DE
15476 * gdb.perf/lib/perftest/testresult.py
15477 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 15478
2c8c5d37
PA
154792015-07-31 Pedro Alves <palves@redhat.com>
15480
15481 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
15482 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15483 kill_wait_spawned_process instead of explicit "kill -9".
15484 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
15485 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15486 kill_wait_spawned_process.
15487 * gdb.base/attach-twice.exp: Likewise.
15488 * gdb.base/attach.exp: Likewise.
15489 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
15490 gdb_test_multiple.
15491 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
15492 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15493 kill_wait_spawned_process.
15494 * gdb.base/valgrind-infcall.exp: Likewise.
15495 * gdb.multi/multi-attach.exp: Likewise.
15496 * gdb.python/py-prompt.exp: Likewise.
15497 * gdb.python/py-sync-interp.exp: Likewise.
15498 * gdb.server/ext-attach.exp: Likewise.
15499 * gdb.threads/attach-into-signal.exp (corefunc): Use
15500 spawn_wait_for_attach, spawn_id_get_pid and
15501 kill_wait_spawned_process.
15502 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
15503 spawn_wait_for_attach returning a spawn id instead of a pid. Use
15504 spawn_id_get_pid and kill_wait_spawned_process.
15505 * gdb.threads/attach-stopped.exp (corefunc): Use
15506 spawn_wait_for_attach, spawn_id_get_pid and
15507 kill_wait_spawned_process.
15508 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
15509 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15510 kill_wait_spawned_process instead of explicit "kill -9".
15511 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
15512 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
15513 (spawn_wait_for_attach): Use spawn instead of exec to spawn
15514 processes. Don't map cygwin/windows pids here. Now returns a
15515 spawn id list.
15516
032a0fca
SL
155172015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15518
15519 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
15520 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
15521 correct patch.
15522
61a934ca
SL
155232015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15524
15525 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
15526
4bc4d428
SL
155272015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15528
15529 Reapply:
15530 2014-05-21 Mark Wielaard <mjw@redhat.com>
15531
15532 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15533
998d452a
PA
155342015-07-30 Pedro Alves <palves@redhat.com>
15535
15536 * linux-low.c (handle_extended_wait): Set the child's last
15537 reported status to TARGET_WAITKIND_STOPPED.
15538
69dde7dc
PA
155392015-07-30 Pedro Alves <palves@redhat.com>
15540
15541 PR threads/18600
15542 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
15543 only shows inferior 1.
15544
4dd63d48
PA
155452015-07-30 Simon Marchi <simon.marchi@ericsson.com>
15546 Pedro Alves <palves@redhat.com>
15547
15548 PR threads/18600
15549 * gdb.threads/fork-plus-threads.c: New file.
15550 * gdb.threads/fork-plus-threads.exp: New file.
15551
d618e4c5
PP
155522015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15553
15554 * gdb.base/batch-preserve-term-settings.exp
15555 (test_terminal_settings_preserved_after_cli_exit): Use
15556 send_quit_command.
15557
1eef6428
PA
155582015-07-29 Pedro Alves <palves@redhat.com>
15559 Don Breazeal <donb@codesourcery.com>
15560
15561 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
15562 output from both inferior_spawn_id and gdb_spawn_id.
15563
7da5b897
SDJ
155642015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15565
15566 * gdb.threads/attach-into-signal.exp (corefunc): Use
15567 with_test_prefix on nested loops, uniquefying the test messages.
15568
dac804df
SDJ
155692015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15570
15571 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
15572 commit.
15573
06265e53
PP
155742015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15575
15576 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
15577 New proc.
15578 (test_terminal_settings_preserved_after_sigterm): New test.
15579
18206ca3
PP
155802015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15581
15582 * gdb.base/batch-preserve-term-settings.exp
15583 (test_terminal_settings_preserved_after_cli_exit): New test.
15584
90074d11
PP
155852015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15586
15587 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
15588 manipulation of saved_gdbflags.
15589 (test_terminal_settings_preserved): Remove global declaration of
15590 the unused variable pagination_prompt. Remove manipulation of
15591 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
15592 GDBFLAGS.
15593
eb1a7902
PA
155942015-07-29 Pedro Alves <palves@redhat.com>
15595
15596 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
15597
8b75dd3b
PA
155982015-07-29 Pedro Alves <palves@redhat.com>
15599
15600 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
15601 at the top.
15602
dedad4e3
PA
156032015-07-29 Pedro Alves <palves@redhat.com>
15604
15605 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
15606 (main): Call gdb_unbuffer_output.
15607 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
15608 (main): Call gdb_unbuffer_output.
15609 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
15610 (main): Call gdb_unbuffer_output.
15611 * gdb.base/call-strs.exp: Adjust to step over the
15612 gdb_unbuffer_output call.
15613 * gdb.base/catch-gdb-caused-signals.c: Include
15614 "../lib/unbuffer_output.c".
15615 (main): Call gdb_unbuffer_output.
15616 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
15617 (main): Call gdb_unbuffer_output.
15618 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
15619 (main): Call gdb_unbuffer_output.
15620 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
15621 (main): Call gdb_unbuffer_output.
15622 * gdb.base/shlib-call.exp: Adjust to step over the
15623 gdb_unbuffer_output call.
15624 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
15625 (main): Call gdb_unbuffer_output.
15626 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
15627 (main): Call gdb_unbuffer_output.
15628 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
15629 (main): Rename to ...
15630 (test): ... this.
15631 (main): Reimplement.
15632 * gdb.base/varargs.exp: Run to test instead of to main.
15633 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15634 (main): Call gdb_unbuffer_output.
15635
58789a91
PA
156362015-07-29 Pedro Alves <palves@redhat.com>
15637
15638 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
15639 factore out from mi_continue_dprintf. For call-style dprintfs,
15640 expect dprintf output out of $inferior_spawn_id.
15641 (mi_continue_dprintf): Use mi_expect_dprintf.
15642 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15643 (main): Call gdb_unbuffer_output.
15644
e8376742
PA
156452015-07-29 Pedro Alves <palves@redhat.com>
15646
15647 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
15648 (default_mi_gdb_start): Set inferior_spawn_id instead of
15649 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
15650 gdb_spawn_id.
15651 (mi_gdb_test): Always expect inferior output from both
15652 $inferior_spawn_id and $gdb_spawn_id.
15653
08280010
PA
156542015-07-29 Pedro Alves <palves@redhat.com>
15655
15656 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
15657 send_inferior and $inferior_spawn_id.
15658
4d30e432
PA
156592015-07-29 Pedro Alves <palves@redhat.com>
15660
15661 * gdb.gdb/complaints.exp (test_initial_complaints)
15662 (test_serial_complaints, test_short_complaints): Use
15663 gdb_test_stdio.
15664 (test_empty_complaint): Handle $inferior_spawn_id !=
15665 $gdb_spawn_id.
15666
0d30a335
PA
156672015-07-29 Pedro Alves <palves@redhat.com>
15668
15669 * gdb.base/varargs.exp: Use gdb_test_stdio.
15670
39413b29
PA
156712015-07-29 Pedro Alves <palves@redhat.com>
15672
15673 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
15674
7cb000a9
PA
156752015-07-29 Pedro Alves <palves@redhat.com>
15676
15677 * gdb.base/ending-run.exp: Use gdb_test_stdio.
15678
d7b8ac82
PA
156792015-07-29 Pedro Alves <palves@redhat.com>
15680
15681 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
15682 parameter into two new parameters, "inf_result" and "gdb_result".
15683 Expect inferior output and gdb output from $inferior_spawn_id and
15684 $gdb_spawn_id, respectively. Adjust all callers.
15685
789c3a0c
PA
156862015-07-29 Pedro Alves <palves@redhat.com>
15687
15688 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
15689 of gdb_test_sequence.
15690
77e760c3
PA
156912015-07-29 Pedro Alves <palves@redhat.com>
15692
15693 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
15694 (saw_spurious_output): Expect inferior output from
15695 $inferior_spawn_id. Use gdb_test_stdio.
15696
8396d2cd
PA
156972015-07-29 Pedro Alves <palves@redhat.com>
15698
15699 * gdb.base/dprintf.exp: Use standard_testfile. Change
15700 prepare_for_testing call.
15701 (srcfile): Don't set.
15702 (restart): New procedure.
15703 (test_dprintf): New procecure, use to continue over dprintfs.
15704 (test_call, test_agent): New procedures, tests moved here.
15705 Restart gdb and recreate dprintfs. Adjust expected output.
15706
2051d61f
PA
157072015-07-29 Pedro Alves <palves@redhat.com>
15708
15709 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
15710
452397af
PA
157112015-07-29 Pedro Alves <palves@redhat.com>
15712
15713 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
15714
8aed9555
PA
157152015-07-29 Pedro Alves <palves@redhat.com>
15716
15717 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
15718 gdb_test_stdio.
15719
188a61b4
PA
157202015-07-29 Pedro Alves <palves@redhat.com>
15721
15722 * lib/gdb.exp (gdb_test_stdio): New procedure.
15723
12264a45
PA
157242015-07-29 Pedro Alves <palves@redhat.com>
15725
15726 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
15727
23ffc893
PA
157282015-07-29 Pedro Alves <palves@redhat.com>
15729
15730 * gdb.base/call-signal-resume.exp: Remove check for
15731 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
15732 * gdb.base/unwindonsignal.exp: Likewise.
15733 * gdb.base/call-signals.c (gen_signal): Remove printf call.
15734 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
15735
65566918
PA
157362015-07-29 Pedro Alves <palves@redhat.com>
15737
15738 * gdb.base/siginfo-addr.c (pass): New function.
15739 (handler): Call it iff si_addr is correct.
15740 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
15741 Set a breakpoint at "pass" and continue to it.
15742
d60a9221
SDJ
157432015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
15744
15745 * gdb.python/py-objfile.exp: Make some tests have unique names.
15746 * gdb.python/py-pp-registration.exp: Likewise.
15747
bde40b8f
PA
157482015-07-28 Pedro Alves <palves@redhat.com>
15749
15750 * gdb.server/server-exec-info.exp: Issue a "disconnect".
15751
13e1dec8
SM
157522015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15753
15754 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
15755
da33c9a7
SM
157562015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15757
15758 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
15759
077836f7
PP
157602015-07-27 Patrick Palka <patrick@parcs.ath.cx>
15761
15762 * gdb.base/gdb-sigterm-2.exp: New test.
15763
b8cc7b2e
DE
157642015-07-25 Doug Evans <xdje42@gmail.com>
15765
15766 Revert:
15767 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15768 (workers/%.worker, build-perf): New rule.
15769 (GDB_PERFTEST_MODE): New variable.
15770 (check-perf): Use it.
15771 (clean): Clean up gdb.perf parallel build subdirs.
15772 * lib/build-piece.exp: New file.
15773 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15774 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15775 name.
15776 (standard_temp_file): Ditto.
15777 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15778 of $GDB_PARALLEL.
15779
c8bd4544
DE
157802015-07-24 Doug Evans <dje@google.com>
15781
15782 * gdb.perf/lib/perftest/utils.py: New file.
15783 * gdb.perf/gm-hello.cc: New file.
15784 * gdb.perf/gm-pervasive-typedef.cc: New file.
15785 * gdb.perf/gm-pervasive-typedef.h: New file.
15786 * gdb.perf/gm-std.cc: New file.
15787 * gdb.perf/gm-std.h: New file.
15788 * gdb.perf/gm-use-cerr.cc: New file.
15789 * gdb.perf/gm-utils.h: New file.
15790 * gdb.perf/gmonster-null-lookup.py: New file.
15791 * gdb.perf/gmonster-pervasive-typedef.py: New file.
15792 * gdb.perf/gmonster-print-cerr.py: New file.
15793 * gdb.perf/gmonster-ptype-string.py: New file.
15794 * gdb.perf/gmonster-runto-main.py: New file.
15795 * gdb.perf/gmonster-select-file.py: New file.
15796 * gdb.perf/gmonster1-null-lookup.exp: New file.
15797 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
15798 * gdb.perf/gmonster1-print-cerr.exp: New file.
15799 * gdb.perf/gmonster1-ptype-string.exp: New file.
15800 * gdb.perf/gmonster1-runto-main.exp: New file.
15801 * gdb.perf/gmonster1-select-file.exp: New file.
15802 * gdb.perf/gmonster1.cc: New file.
15803 * gdb.perf/gmonster1.exp: New file.
15804 * gdb.perf/gmonster2-null-lookup.exp: New file.
15805 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
15806 * gdb.perf/gmonster2-print-cerr.exp: New file.
15807 * gdb.perf/gmonster2-ptype-string.exp: New file.
15808 * gdb.perf/gmonster2-runto-main.exp: New file.
15809 * gdb.perf/gmonster2-select-file.exp: New file.
15810 * gdb.perf/gmonster2.cc: New file.
15811 * gdb.perf/gmonster2.exp: New file.
15812
6eab34f3
DE
158132015-07-24 Doug Evans <dje@google.com>
15814
15815 * gdb.perf/README: New file.
15816 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
15817 * lib/gen-perf-test.exp: New file.
15818
63738bfd
DE
158192015-07-24 Doug Evans <dje@google.com>
15820
15821 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
15822 (PerfTest::startup): New function.
15823 (PerfTest::run): Return result of calling body.
15824 (PerfTest::assemble): Rewrite.
15825 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
15826 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
15827 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
15828 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
15829 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
15830
7b606f95
DE
158312015-07-24 Doug Evans <dje@google.com>
15832
15833 * lib/gdb.exp (clean_restart): Make executable optional.
15834
a97b16b8
DE
158352015-07-24 Doug Evans <dje@google.com>
15836
15837 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
15838 compiler_info references.
15839 * gdb.cp/temargs.exp: Ditto.
15840 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
15841 (get_compiler_info): Early exit if already computed. Set compiler_info
15842 to "unknown" if there was a problem.
15843 (test_compiler_info): Add function comment. Call get_compiler_info.
15844
35baa57f
DE
158452015-07-24 Doug Evans <dje@google.com>
15846
15847 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15848 (workers/%.worker, build-perf): New rule.
15849 (GDB_PERFTEST_MODE): New variable.
15850 (check-perf): Use it.
15851 (clean): Clean up gdb.perf parallel build subdirs.
15852 * lib/build-piece.exp: New file.
15853 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15854 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15855 name.
15856 (standard_temp_file): Ditto.
15857 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15858 of $GDB_PARALLEL.
15859
6ebea266
DE
158602015-07-24 Doug Evans <dje@google.com>
15861
15862 * lib/future.exp (gdb_default_target_compile): New option
15863 "early_flags".
15864 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
15865 --as-needed.
15866
1e76a7e9
SDJ
158672015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
15868
15869 * gdb.base/catch-syscall.exp: Call gdb_exit before
15870 gdb_skip_xml_test.
15871
5068630a
PA
158722015-07-24 Pedro Alves <palves@redhat.com>
15873
15874 * gdb.python/py-events.exp: Accept output between the stop event
15875 and the prompt.
15876 * gdb.python/py-evsignal.exp: Likewise.
15877 * gdb.python/py-evthreads.exp: Likewise.
15878
77598427
PA
158792015-07-24 Pedro Alves <palves@redhat.com>
15880
15881 PR gdb/18717
15882 * gdb.threads/non-ldr-exit.c: New file.
15883 * gdb.threads/non-ldr-exit.exp: New file.
15884
11e6c98f
YQ
158852015-07-24 Yao Qi <yao.qi@linaro.org>
15886
15887 * gdb.server/ext-wrapper.exp: Test --wrapper option when
15888 restarting process.
15889
51aee833
YQ
158902015-07-24 Yao Qi <yao.qi@linaro.org>
15891
15892 * gdb.server/ext-restart.exp: New file.
15893
8cfe207c
YQ
158942015-07-24 Yao Qi <yao.qi@linaro.org>
15895
15896 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
15897 argument options.
15898 * gdb.server/ext-wrapper.exp: New file.
15899
cc12ce38
DE
159002015-07-23 Doug Evans <dje@google.com>
15901
15902 * gdb.dwarf2/dw2-dummy-cu.S: New file.
15903 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
15904
d0d84780
PMR
159052015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
15906
15907 * gdb.ada/var_arr_typedef.exp: New testcase.
15908 * gdb.ada/var_arr_typedef/pack.adb: New file.
15909 * gdb.ada/var_arr_typedef/pack.ads: New file.
15910 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
15911
8b558f79
JB
159122015-07-20 Joel Brobecker <brobecker@adacore.com>
15913
15914 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
15915
775a3298
JK
159162015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15917
15918 * gdb.arch/i386-biarch-core.exp: Replace istarget
15919 by "complete set gnutarget". Remove expectation for the "core-file"
15920 command.
15921
db1ff28b
JK
159222015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15923
15924 Revert the previous commit:
15925 Tests for validate symbol file using build-id.
15926
0a94970d
JK
159272015-07-15 Aleksandar Ristovski <aristovski@qnx.com
15928
15929 Tests for validate symbol file using build-id.
15930 * gdb.base/solib-mismatch-lib.c: New file.
15931 * gdb.base/solib-mismatch-libmod.c: New file.
15932 * gdb.base/solib-mismatch.c: New file.
15933 * gdb.base/solib-mismatch.exp: New file.
15934
03346981
SL
159352015-07-15 Sandra Loosemore <sandra@codesourcery.com>
15936
15937 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
15938 nios2-*-linux*.
15939 * gdb.base/sigbpt.exp (stepi_out): Likewise.
15940 * gdb.base/siginfo.exp: Likewise.
15941 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15942
42422cc7
PL
159432015-07-15 Pierre Langlois <pierre.langlois@arm.com>
15944
15945 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
15946 Move it to ...
15947 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
15948 ... here.
15949 * gdb.trace/range-stepping.exp: Check that the target supports
15950 range stepping.
15951
cfa68bae
JK
159522015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15953
15954 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
15955
8ffdba26
PA
159562015-07-14 Pedro Alves <palves@redhat.com>
15957
15958 * gdb.base/killed-outside.exp: New file.
15959 * gdb.base/killed-outside.c: New file.
15960
218a5a11
JK
159612015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15962
15963 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
15964 (n at main): New.
15965 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
15966
e03ed3c6
AA
159672015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15968
15969 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
15970 infcall tests instead of setting up for KFAIL.
15971
485668e5
MM
159722015-07-10 Markus Metzger <markus.t.metzger@intel.com>
15973
15974 * gdb.btrace/record_goto-step.exp: New.
15975
08464196
JK
159762015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15977
15978 PR compile/18484
15979 * gdb.compile/compile.c (struct struct_type): Add volatile to
15980 selffield's type.
15981 * gdb.compile/compile.exp
15982 (compile code struct_object.selffield = &struct_object): Skip further
15983 struct_object tests if this one xfails.
15984
bcf5c1d9
RC
159852015-07-08 Robert O'Callahan <robert@ocallahan.org>
15986
15987 PR exp/18617
15988 * gdb.trace/ax.exp: Add test.
15989
4931af25
YQ
159902015-07-07 Yao Qi <yao.qi@linaro.org>
15991
15992 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
15993 instead of istarget "aarch64*-*-*".
15994 * gdb.arch/aarch64-fp.exp: Likewise.
15995 * gdb.base/float.exp: Likewise.
15996 * gdb.reverse/aarch64.exp: Likewise.
15997 * lib/gdb.exp (is_aarch64_target): New proc.
15998
9fcf688e
YQ
159992015-07-07 Yao Qi <yao.qi@linaro.org>
16000
16001 * lib/gdb.exp (is_aarch32_target): New proc.
16002 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
16003 instead of "istarget "arm*-*-*"".
16004 * gdb.arch/arm-disp-step.exp: Likewise.
16005 * gdb.arch/thumb-bx-pc.exp: Likewise.
16006 * gdb.arch/thumb-prologue.exp: Likewise.
16007 * gdb.arch/thumb-singlestep.exp: Likewise.
16008 * gdb.base/disp-step-syscall.exp: Likewise.
16009 * gdb.base/float.exp: Likewise.
16010
fbd8d50d
YQ
160112015-07-07 Yao Qi <yao.qi@linaro.org>
16012
16013 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
16014 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
16015
71be1fdc
YQ
160162015-07-07 Yao Qi <yao.qi@linaro.org>
16017
16018 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
16019 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
16020 if it exists.
16021 * gdb.multi/multi-arch.exp: Likewise.
16022
3e221d36
SM
160232015-07-07 Simon Marchi <simon.marchi@ericsson.com>
16024
16025 * gdb.python/py-lazy-string.exp: Add missing parentheses to
16026 print.
16027
d441430b
YQ
160282015-07-07 Yao Qi <yao.qi@linaro.org>
16029
16030 * gdb.arch/thumb-singlestep.exp: Do one more single step.
16031
06f810bd
MG
160322015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
16033
16034 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
16035 '[' and ']' characters.
16036
5e61e7c0
IB
160372015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
16038
16039 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16040
28bf096c
PA
160412015-06-29 Pedro Alves <palves@redhat.com>
16042
16043 PR threads/18127
16044 * gdb.threads/hand-call-new-thread.c: New file.
16045 * gdb.threads/hand-call-new-thread.c: New file.
16046
ee93cd5e
KS
160472015-06-26 Keith Seitz <keiths@redhat.com>
16048 Doug Evans <dje@google.com>
16049
16050 PR 16253
16051 * gdb.cp/var-tag-2.cc: New file.
16052 * gdb.cp/var-tag-3.cc: New file.
16053 * gdb.cp/var-tag-4.cc: New file.
16054 * gdb.cp/var-tag.cc: New file.
16055 * gdb.cp/var-tag.exp: New file.
16056
fc637f04
PP
160572015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16058
16059 * gdb.base/history-duplicates.exp: New test.
16060
2e52ae68
PP
160612015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16062
16063 * gdb.base/completion.exp: Test the completion of the "focus"
16064 command.
16065
6e22494e
JK
160662015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16067
16068 * gdb.arch/amd64-prologue-skip.S: New file.
16069 * gdb.arch/amd64-prologue-skip.exp: New file.
16070
bf7b9cd9
SM
160712015-06-25 Simon Marchi <simon.marchi@ericsson.com>
16072
16073 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
16074 is_address_zero_readable check.
16075
201e8dfd
PB
160762015-06-24 Peter Bergner <bergner@vnet.ibm.com>
16077
16078 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
16079 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
16080
5cd867b4
YQ
160812015-06-24 Yao Qi <yao.qi@linaro.org>
16082
16083 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
16084 linux targets.
16085
4d7be007
YQ
160862015-06-24 Yao Qi <yao.qi@linaro.org>
16087
16088 * lib/gdb.exp (supports_get_siginfo_type): New proc.
16089 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
16090 * gdb.base/siginfo-thread.exp: Likewise.
16091
07fcd301
YQ
160922015-06-22 Yao Qi <yao.qi@linaro.org>
16093
16094 * boards/remote-gdbserver-on-localhost.exp: Add comments.
16095
52042a00
YQ
160962015-06-22 Yao Qi <yao.qi@linaro.org>
16097
16098 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
16099 aarch64*-*-*.
16100 (skip_hw_watchpoint_tests): Likewise.
16101
74bd41ce
PP
161022015-06-18 Patrick Palka <patrick@parcs.ath.cx>
16103
16104 * gdb.base/gdbinit-history.exp: Test the interaction between
16105 setting GDBHISTSIZE and setting the history size via .gdbinit.
16106
bc460514
PP
161072015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16108
16109 PR gdb/16999
16110 * gdb.base/gdbhistsize-history.exp: New test.
16111
b58c513b
PP
161122015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16113
16114 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
16115 with GDBHISTSIZE.
16116 * gdb.base/readline.exp: Likewise.
16117
92046791
YQ
161182015-06-17 Yao Qi <yao.qi@linaro.org>
16119
16120 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
16121 line.
16122
2093d2d3
PP
161232015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16124
16125 * gdb.base/gdbinit-history.exp: Add test case to check that
16126 an unlimited history file does not get truncated on exit.
16127
e6c693af
AA
161282015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16129
16130 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
16131 (VECTOR): New macro. Use it...
16132 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
16133 ...for these typedefs.
16134 (int8, char1, int1, double1): New typedefs.
16135 (struct just_int2, struct two_int2): New structures.
16136 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
16137 (add_structvecs, add_singlevecs): New functions.
16138 (main): Call add_some_intvecs twice.
16139 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
16140 the compile and exit upon failure. Try compiling for the "native"
16141 architecture. Test inferior function calls with vector arguments
16142 and vector return value handling with "finish" and "return".
16143
c74f7d1c
JT
161442015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
16145
16146 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
16147 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
16148 PE file.
16149 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
16150
98aa42ee
AT
161512015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16152
16153 PR breakpoints/16465
16154 * gdb.mi/mi-dprintf-pending.c: New file.
16155 * gdb.mi/mi-dprintf-pending.exp: New test.
16156 * gdb.mi/mi-dprintf-pendshr.c: New file.
16157
7d73c23c 161582015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 16159 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
16160
16161 * gdb.arch/i386-mpx-map.c: New file.
16162 * gdb.arch/i386-mpx-map.exp: New File.
16163
161642015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16165
16166 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
16167 * gdb.arch/i386-mpx.exp: Indentation fixed.
16168
161692015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16170
16171 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
16172 function and improved indentation.
16173 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
16174 gdb_test_multiple. Added additional tests to skip the test.
16175
161762015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16177
16178 * gdb.arch/i386-avx512.c: Change path in include file.
16179 * gdb.arch/i386-avx512.exp: Change include dir path
16180 compilation flag.
16181 * gdb.arch/i386-mpx.c: Change path in include file.
16182 * gdb.arch/i386-mpx.exp: Change include dir path compilation
16183 flag.
16184
d5eba19a
JK
161852015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16186
16187 * gdb.compile/compile-print.exp (compile print *vararray@3)
16188 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
16189
7f361056
JK
161902015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16191
16192 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
16193 (do not keep jit in memory): ... this.
16194 (expect 5): Change it to ...
16195 (expect no 5): ... this.
16196
3b462ec2
SM
161972015-06-02 Simon Marchi <simon.marchi@ericsson.com>
16198
16199 PR gdb/15564
16200 * gdb.mi/mi-detach.exp: New file.
16201
e0619de6
JK
162022015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16203
16204 PR symtab/18392
16205 * gdb.arch/amd64-tailcall-self.S: New file.
16206 * gdb.arch/amd64-tailcall-self.c: New file.
16207 * gdb.arch/amd64-tailcall-self.exp: New file.
16208
e970cb34
DB
162092015-05-28 Don Breazeal <donb@codesourcery.com>
16210
16211 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
16212 tests for remote targets by checking is_target_gdbserver.
16213
b2e2f908
DE
162142015-05-27 Doug Evans <dje@google.com>
16215
16216 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
16217 * gdb.dwarf2/opaque-type-lookup.c: New file.
16218 * gdb.dwarf2/opaque-type-lookup.exp: New file.
16219
82c7be31
DE
162202015-05-26 Doug Evans <dje@google.com>
16221
16222 * gdb.cp/iostream.cc: New file.
16223 * gdb.cp/iostream.exp: New file.
16224
b4f54984
DE
162252015-05-26 Doug Evans <dje@google.com>
16226
16227 * gdb.dwarf2/dw2-op-call.exp: Update.
16228 * gdb.dwarf2/dw4-sig-types.exp: Update.
16229 * gdb.dwarf2/implptr.exp: Update.
16230 * gdb.mi/mi-cmd-param-changed.exp: Update.
16231
4ea6efe9
DE
162322015-05-26 Doug Evans <dje@google.com>
16233
16234 * gdb.python/py-lazy-string.c: New file.
16235 * gdb.python/py-lazy-string.exp: New file.
16236 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
16237 (main): Update. Add estring3.
16238 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
16239 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
16240
f6bb7db3
YQ
162412015-05-26 Omair Javaid <omair.javaid@linaro.org>
16242 Yao Qi <yao.qi@linaro.org>
16243
16244 * gdb.reverse/aarch64.c: New.
16245 * gdb.reverse/aarch64.exp: New.
16246
a81bfbd0
OJ
162472015-05-26 Omair Javaid <omair.javaid@linaro.org>
16248
25d49b86
PA
16249 * lib/gdb.exp (supports_process_record): Return true for
16250 aarch64*-linux*.
a81bfbd0
OJ
16251 (supports_reverse): Likewise.
16252
158bf1b4
PP
162532015-05-22 Patrick Palka <patrick@parcs.ath.cx>
16254
16255 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16256 Use with_test_prefix.
16257
a0145030
AB
162582015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
16259
16260 * gdb.base/completion.exp: Add test for completion of layout
16261 names.
16262
ebe3b578
AB
162632015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
16264
16265 * lib/gdb.exp (skip_tui_tests): New proc.
16266 * gdb.base/tui-layout.exp: Check skip_tui_tests.
16267
84204ed7
PA
162682015-05-19 Pedro Alves <palves@redhat.com>
16269
16270 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16271 Save the whole env array instead of just HOME. Unset HISTSIZE in
16272 the environment while testing. Restore whole environment
16273 afterwards.
16274
37442ce1
DE
162752015-05-16 Doug Evans <xdje42@gmail.com>
16276
16277 * gdb.guile/scm-ports.c: New file.
16278 * gdb.guile/scm-ports.exp: Add memory port tests.
16279
36de76f9
JK
162802015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16281
16282 * gdb.compile/compile-print.c: New file.
16283 * gdb.compile/compile-print.exp: New file.
16284
3a9558c4
JK
162852015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16286
16287 * gdb.compile/compile-ops.exp: Cast param to void.
16288 * gdb.compile/compile.exp: Complete type for _gdb_expr.
16289 (compile code struct_object.selffield = &struct_object): Add xfail.
16290
aa715135
JG
162912015-05-15 Joel Brobecker <brobecker@adacore.com>
16292
16293 * gdb.ada/arr_enum_with_gap: New testcase.
16294
931e5bc3
JG
162952015-05-15 Joel Brobecker <brobecker@adacore.com>
16296
16297 * gdb.ada/byte_packed_arr: New testcase.
16298
9cd4d857
JB
162992015-05-15 Joel Brobecker <brobecker@adacore.com>
16300
16301 * gdb.ada/pckd_neg: New testcase.
16302
ebfd00d2
PP
163032015-05-13 Patrick Palka <patrick@parcs.ath.cx>
16304
16305 PR gdb/17820
16306 * gdb.base/gdbinit-history.exp: New test.
16307 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
16308 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
16309
4c082a81
SC
163102015-05-09 Siva Chandra Reddy <sivachandra@google.com>
16311
16312 * gdb.python/py-xmethods.cc: Enhance test case.
16313 * gdb.python/py-xmethods.exp: New tests.
16314 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
16315 function.
16316 (B_indexoper): Likewise.
16317 (global_dm_list) : Add new xmethod worker functions.
16318
f7797074
SDJ
163192015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
16320
16321 * gdb.base/coredump-filter.exp: Correctly unset
16322 "coredump_var_addr" array.
16323
a4674e4e
PA
163242015-05-08 Pedro Alves <palves@redhat.com>
16325
16326 * gdb.server/non-existing-program.exp: Unset spawn_id.
16327
df2eb078
SC
163282015-05-08 Siva Chandra Reddy <sivachandra@google.com>
16329
16330 PR python/18291
16331 * gdb.python/py-xmethods.exp: Add tests.
16332
422349a3
YQ
163332015-05-08 Yao Qi <yao.qi@linaro.org>
16334
16335 PR gdb/18208
16336 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
16337 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
16338 function set_coredump_filter, and remove remote_exec call.
16339 Remove argument ipid. Callers update.
16340 (top level): Don't get inferior's PID.
16341
63fc80ce
AA
163422015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
16343
16344 * gdb.base/watch_thread_num.exp: Skip test on targets without
16345 access watchpoints.
16346
80ad801e
PA
163472015-05-06 Pedro Alves <palves@redhat.com>
16348
16349 PR server/18081
16350 * gdb.server/non-existing-program.exp: New file.
16351
0fa7fe50
JB
163522015-05-05 Joel Brobecker <brobecker@adacore.com>
16353
16354 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
16355
3ea89b92
PMR
163562015-05-05 Joel Brobecker <brobecker@adacore.com>
16357
16358 * gdb.ada/out_of_line_in_inlined: New testcase.
16359
87b8eff0
JB
163602015-05-05 Joel Brobecker <brobecker@adacore.com>
16361
16362 * gdb.ada/var_rec_arr: New testcase.
16363
5fccc635
YQ
163642015-04-30 Yao Qi <yao.qi@linaro.org>
16365
16366 * gdb.base/break-idempotent.exp: If
16367 skip_hw_watchpoint_multi_tests returns true, skip the tests
16368 on "rwatch" and "awatch".
16369
42d38f42
YQ
163702015-04-30 Yao Qi <yao.qi@linaro.org>
16371
16372 * gdb.base/relativedebug.exp: Invoke gdb command
16373 "info sharedlibrary", and if libc.so doesn't have debug info,
16374 skip the test.
16375
2ce1cdbf
DE
163762015-04-29 Doug Evans <dje@google.com>
16377
16378 * gdb.python/py-xmethods.exp: Add ptype tests.
16379 * gdb.python/py-xmethods.py (E_method_char_worker): Add
16380 get_result_type method.
16381
f24a38c5
LM
163822015-04-29 Luis Machado <lgustavo@codesourcery.com>
16383
16384 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
16385 the target does not support hardware watchpoints.
16386
ecbf2b3c
LM
163872015-04-29 Luis Machado <lgustavo@codesourcery.com>
16388
16389 * gdb.base/break-always.exp: Abort testing if writing to memory
16390 causes an error.
16391
34f5f757
DE
163922015-04-28 Doug Evans <dje@google.com>
16393
16394 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
16395 * gdb.python/py-pp-registration.exp: ... here. New file.
16396 * gdb.python/py-pp-registration.c: New file.
16397 * gdb.python/py-pp-registration.py: New file.
16398
69b4374a
DE
163992015-04-28 Doug Evans <dje@google.com>
16400
16401 * gdb.python/py-bad-printers.c: New file.
16402 * gdb.python/py-bad-printers.py: New file.
16403 * gdb.python/py-bad-printers.exp: New file.
16404
59fb7612
SS
164052015-04-28 Sasha Smundak <asmundak@google.com>
16406
16407 * gdb.python/py-type.exp: New test.
16408
2631b16a
AW
164092015-04-28 Andy Wingo <wingo@igalia.com>
16410
16411 * gdb.python/py-parameter.exp:
16412 * gdb.guile/scm-parameter.exp: Escape the path that we are
16413 matching against, as it might contain characters that are special
16414 to regular expressions.
16415
460efde1
JB
164162015-04-27 Joel Brobecker <brobecker@adacore.com>
16417
16418 * gdb.ada/rec_comp: New testcase.
16419
2d369d8e
SDJ
164202015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
16421
16422 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
16423 before using it.
16424
cf75d6c3
AB
164252015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
16426
16427 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
16428 new tests for verilog output.
16429
8dbe7ca5
YQ
164302015-04-24 Yao Qi <yao.qi@linaro.org>
16431
16432 * boards/remote-gdbserver-on-localhost.exp: New file.
16433
4ef9fb2f
PA
164342015-04-23 Pedro Alves <palves@redhat.com>
16435
16436 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
16437 $inferior_spawn_id instead of $inferior_spawn_id directly. On
16438 "end of file", remove $inferior_spawn_id from the indirect list.
16439
0a803169
PA
164402015-04-23 Pedro Alves <palves@redhat.com>
16441
16442 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
16443
749ef8f8
PA
164442015-04-23 Pedro Alves <palves@redhat.com>
16445
16446 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
16447 on $any_spawn_id instead of only on $gdb_spawn_id.
16448
8aae4344
PM
164492015-04-21 Pierre Muller <muller@sourceware.org>
16450
16451 PR pascal/17815
16452 * lib/pascal.exp (gpc_compile): Add new option "class".
16453 (fpc_compile): Likewise.
16454 * gdb.pascal/case-insensitive-symbols.pas: New file.
16455 * gdb.pascal/case-insensitive-symbols.exp: New file.
16456
1586c8fb
GB
164572015-04-20 Gary Benson <gbenson@redhat.com>
16458
16459 * gdb.base/attach.exp: Fix three extended remote failures.
16460
1b6e6f5c
GB
164612015-04-17 Gary Benson <gbenson@redhat.com>
16462
16463 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
16464 the main executable over the remote protocol.
16465
e797481d
PA
164662015-04-16 Pedro Alves <palves@redhat.com>
16467
16468 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
16469 a new gdbserver if gdbserver_reconnect_p is set.
16470
1ca99c42
PA
164712015-04-16 Pedro Alves <palves@redhat.com>
16472
16473 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
16474 is set, don't exit gdbserver.
16475
af9fd6f8
AA
164762015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16477
16478 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
16479 appropriate .insn, such that an older assembler can be used.
16480 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
16481 the z/Architecture instruction set on 31-bit targets as well.
16482
04ff1e61
AA
164832015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16484
16485 * gdb.go/handcall.exp: Remove all logic related to the first
16486 breakpoint and rely on go_runto_main instead.
16487 * gdb.go/strings.exp: Likewise.
16488 * gdb.go/unsafe.exp: Likewise.
16489 * gdb.go/hello.exp: Likewise. Also rename the remaining
16490 breakpoint marker to "breakpoint 1".
16491 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
16492 * gdb.go/strings.go: Likewise.
16493 * gdb.go/unsafe.go: Likewise.
16494 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
16495 "set breakpoint 2 here" and rename the remaining breakpoint marker
16496 to "breakpoint 1".
16497
40d2f8d6
SM
164982015-04-15 Simon Marchi <simon.marchi@ericsson.com>
16499
16500 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
16501 if itertools.imap is not present.
16502 * gdb.python/py-objfile.exp: Add parentheses.
16503 * gdb.python/py-type.exp: Same.
16504 * gdb.python/py-unwind-maint.py: Same.
16505
8cbc97c6
YQ
165062015-04-15 Yao Qi <yao.qi@linaro.org>
16507
16508 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
16509 of ":$ptr_size" and set its form explicitly.
16510
45fd756c
YQ
165112015-04-15 Pedro Alves <palves@redhat.com>
16512 Yao Qi <yao.qi@linaro.org>
16513
16514 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
16515 timeout by factor of 4.
16516 (test_regular_watch): Likewise.
16517 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
16518 * gdb.reverse/sigall-reverse.exp: Likewise.
16519 * gdb.reverse/until-precsave.exp: Likewise.
16520 * lib/gdb.exp (with_timeout_factor): New proc.
16521 (gdb_expect): Move some code to ...
16522 (get_largest_timeout): ... here. New procedure.
16523
9e811bc3
LM
165242015-04-14 Luis Machado <lgustavo@codesourcery.com>
16525
16526 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
16527
0ff6fcb2
LM
165282015-04-13 Luis Machado <lgustavo@codesourcery.com>
16529
16530 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
16531 to write to the .text section.
16532
7578d5f7
LM
165332015-04-13 Luis Machado <lgustavo@codesourcery.com>
16534
16535 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
16536 Handle the case of targets that do not provide PID information.
16537
2efe15c4
YQ
165382015-04-13 Yao Qi <yao.qi@linaro.org>
16539
16540 * lib/gdbserver-support.exp (gdb_exit): Catch exception
16541 and use expect instead of gdb_expect.
16542
8cd8f2f8
SDJ
165432015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
16544
16545 * gdb.base/coredump-filter.exp: Rename variable "addr" to
16546 "coredump_var_addr" to avoid naming conflict with other testcases.
16547
9ee41772
PA
165482015-04-10 Pedro Alves <palves@redhat.com>
16549
16550 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
16551 gdb_test_sequence and gdb_assert.
16552
07473109
PA
165532015-04-10 Pedro Alves <palves@redhat.com>
16554
16555 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
16556 test messages that don't include the breakpoint address.
16557
de3db44c
YQ
165582015-04-10 Yao Qi <yao.qi@linaro.org>
16559
16560 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
16561 false for some offset and width combinations which aren't
16562 supported by linux kernel.
16563
c79d856c
PA
165642015-04-10 Pedro Alves <palves@redhat.com>
16565
16566 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
16567 procedure, factored out from ...
16568 (top level): ... here. Add "set displaced-stepping" testing axis.
16569 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
16570 parameter "displaced". Use it.
16571 (top level): Use foreach and add "set displaced-stepping" testing
16572 axis.
16573
ebc90b50
PA
165742015-04-10 Pedro Alves <palves@redhat.com>
16575
16576 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
16577 Remove comment.
16578 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
16579 both the address of the instruction that triggers the watchpoint
16580 and the address of the instruction immediately after, and use
16581 those addresses for the test. Fix comment.
16582
8f572e5c
PA
165832015-04-10 Pedro Alves <palves@redhat.com>
16584
16585 * gdb.base/sigstep.exp (breakpoint_to_handler)
16586 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
16587 Test "backtrace" in handler.
16588 (breakpoint_over_handler): New parameter 'displaced'. Use it.
16589 (top level): Add new "displaced" test axis to
16590 breakpoint_to_handler, breakpoint_to_handler_entry and
16591 breakpoint_over_handler.
16592
8d707a12
PA
165932015-04-10 Pedro Alves <palves@redhat.com>
16594
16595 PR gdb/18216
16596 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
16597
ef713951
YQ
165982015-04-10 Yao Qi <yao.qi@linaro.org>
16599
16600 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
16601 (test_add_rn_pc): New function.
16602 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
16603 (top level): Invoke test_add_rn_pc.
16604
906d60cf
PA
166052015-04-10 Pedro Alves <palves@redhat.com>
16606
16607 PR gdb/13858
16608 * gdb.base/step-over-no-symbols.exp: New file.
16609
f2983cc3
AW
166102015-04-09 Andy Wingo <wingo@igalia.com>
16611
16612 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
16613 after the Python tests.
16614
6d62641c
SDJ
166152015-04-08 Keith Seitz <keiths@redhat.com>
16616
16617 PR python/16699
16618 * gdb.python/py-completion.exp: New tests for completion.
16619 * gdb.python/py-completion.py (CompleteLimit1): New class.
16620 (CompleteLimit2): Likewise.
16621 (CompleteLimit3): Likewise.
16622 (CompleteLimit4): Likewise.
16623 (CompleteLimit5): Likewise.
16624 (CompleteLimit6): Likewise.
16625 (CompleteLimit7): Likewise.
16626
f3770638
PA
166272015-04-08 Pedro Alves <palves@redhat.com>
16628
16629 PR gdb/18214
16630 PR gdb/18216
16631 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
16632 function.
16633 (main): Install it as SIGUSR1 handler.
16634 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
16635 parameter. Always use "setup" as prefix. Toggle "set
16636 displaced-stepping" off/on depending on global. Don't switch to
16637 thread 1 here.
16638 (top level): Add displaced stepping "off/on" test axis. Update
16639 "setup" calls. Wrap each subtest with with_test_prefix. Test
16640 continuing with a queued signal in each thread.
16641
4496bed7
PA
166422015-04-08 Pedro Alves <palves@redhat.com>
16643
16644 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
16645 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
16646 gdb_breakpoint instead of gdb_test that doesn't expect anything.
16647 Return early if running to main fails.
16648 * gdb.trace/while-stepping.exp: Likewise.
16649
b97fde92
PA
166502015-04-07 Pedro Alves <palves@redhat.com>
16651
16652 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
16653 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
16654 interact with inferior program.
16655
f71c18e7
PA
166562015-04-07 Pedro Alves <palves@redhat.com>
16657
16658 * lib/gdb.exp (inferior_spawn_id): New global.
16659 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
16660 spawn id after processing the user code.
16661 (default_gdb_start): Set inferior_spawn_id.
16662 (send_inferior): New procedure.
16663 * lib/gdbserver-support.exp (gdbserver_start): Set
16664 inferior_spawn_id.
16665 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
16666
6423214f
PA
166672015-04-07 Pedro Alves <palves@redhat.com>
16668
16669 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
16670 * lib/gdbserver-support.exp (gdbserver_start): Make
16671 $server_spawn_id global.
16672 (gdbserver_start): Don't wait for gdbserver's spawn id with
16673 expect_background.
16674 (close_gdbserver): New procedure.
16675 (gdb_exit): Rename the default version and reimplement.
16676
71c0ee8c
PA
166772015-04-07 Pedro Alves <palves@redhat.com>
16678
72f4393d 16679 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
16680 append the substituted item, not the original item.
16681
203bc29b
PA
166822015-04-07 Pedro Alves <palves@redhat.com>
16683
16684 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
16685 gdb_expect.
16686
508a3ddf
PA
166872015-04-07 Pedro Alves <palves@redhat.com>
16688
16689 * gdb.base/interrupt.exp: Don't handle the case of the inferior
16690 output appearing once only.
16691
9f6dbe2b
PA
166922015-04-07 Pedro Alves <palves@redhat.com>
16693
16694 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
16695 that doesn't expect anything. Return early if running to main
16696 fails.
16697
337532fa
YQ
166982015-04-07 Yao Qi <yao.qi@linaro.org>
16699
16700 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
16701 (child_function): Call alarm.
16702 (main): Move call to alarm into the loop.
16703 * gdb.threads/non-stop-fair-events.exp: Build program with
16704 -DTIMEOUT=$timeout.
16705
01b622d4
DE
167062015-04-06 Doug Evans <xdje42@gmail.com>
16707
16708 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
16709 Fix dest parameter to board_info.
16710 (fpc_compile): Ditto.
16711 (gdb_compile_pascal): Rename dest arg to destfile.
16712
961f4160
PMR
167132015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
16714
16715 * gdb.ada/funcall_ref.exp: New file.
16716 * gdb.ada/funcall_ref/foo.adb: New file.
16717
cafda597
YQ
167182015-04-02 Yao Qi <yao.qi@linaro.org>
16719
16720 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
16721 is remote.
16722
fed040c6
GB
167232015-04-02 Gary Benson <gbenson@redhat.com>
16724
16725 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
16726
d11916aa
SS
167272015-04-01 Sasha Smundak <asmundak@google.com>
16728
16729 * gdb.python/py-unwind-maint.c: New file.
16730 * gdb.python/py-unwind-maint.exp: New test.
16731 * gdb.python/py-unwind-maint.py: New file.
16732 * gdb.python/py-unwind.c: New file.
16733 * gdb.python/py-unwind.exp: New test.
16734 * gdb.python/py-unwind.py: New test.
16735
a1471180
PA
167362015-04-01 Pedro Alves <palves@redhat.com>
16737
16738 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
16739 to fail instead of non-existent $test.
16740
0bbeccb1
PA
167412015-04-01 Pedro Alves <palves@redhat.com>
16742
16743 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
16744 GDBFLAGS if not empty.
16745
3c724c8c
PMR
167462015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
16747
16748 * gdb.ada/complete.exp: Remove "multi_line".
16749 * gdb.ada/info_exc.exp: Remove "multi_line".
16750 * gdb.ada/packed_tagged.exp: Remove "multi_line".
16751 * gdb.ada/ptype_field.exp: Remove "multi_line".
16752 * gdb.ada/sym_print_name.exp: Remove "multi_line".
16753 * gdb.ada/tagged.exp: Remove "multi_line".
16754 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
16755 [multi_line ...]
16756 * gdb.btrace/delta.exp: Likewise.
16757 * gdb.btrace/exception.exp: Likewise.
16758 * gdb.btrace/function_call_history.exp: Likewise.
16759 * gdb.btrace/instruction_history.exp: Likewise.
16760 * gdb.btrace/nohist.exp: Likewise.
16761 * gdb.btrace/record_goto.exp: Likewise.
16762 * gdb.btrace/segv.exp: Likewise.
16763 * gdb.btrace/stepi.exp: Likewise.
16764 * gdb.btrace/tailcall.exp: Likewise.
16765 * gdb.btrace/unknown_functions.exp: Likewise.
16766 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
16767 * lib/gdb.exp: Add the "multi_line" helper.
16768
4eec2deb
PA
167692015-04-01 Pedro Alves <palves@redhat.com>
16770
16771 * gdb.threads/tid-reuse.c: New file.
16772 * gdb.threads/tid-reuse.exp: New file.
16773
df8411da
SDJ
167742015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
16775
16776 PR corefiles/16092
16777 * gdb.base/coredump-filter.c: New file.
16778 * gdb.base/coredump-filter.exp: Likewise.
16779
6ef37366
PM
167802015-03-27 Petr Machata <pmachata@redhat.com>
16781
16782 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
16783 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
16784 (Dwarf::assemble): Initialize them.
16785 (Dwarf::lines): New function.
16786
7ec911b0
JT
167872015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
16788
16789 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
16790 SYMBOL_PREFIX for x86_64-*-cygwin.
16791
ff908ebf
AW
167922015-03-26 Andy Wingo <wingo@igalia.com>
16793
16794 PR symtab/18148
16795 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
16796 const_value but not a location.
16797 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
16798 location defined in non-main CUs are visible.
16799
6d5f0679
YQ
168002015-03-26 Yao Qi <yao.qi@linaro.org>
16801
16802 PR testsuite/18139
16803 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
16804 Add a line number entry for the same line.
16805 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
16806 Add a line number entry for the same line.
16807
2898689b
YQ
168082015-03-26 Yao Qi <yao.qi@linaro.org>
16809
16810 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
16811 .int 0.
16812 (func): Likewise. Add .Lfunc_1 label.
16813 Use .Lfunc_1 label.
16814 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
16815 .int 0.
16816 (func): Likewise.
16817 Use .Lfunc_1 label.
16818
85180498
YQ
168192015-03-26 Yao Qi <yao.qi@linaro.org>
16820
16821 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
16822 Call gdb_compile instead to compile each .s files without debug
16823 information.
16824
8aa08a8d
YQ
168252015-03-26 Yao Qi <yao.qi@linaro.org>
16826
16827 * gdb.base/savedregs.exp (process_saved_regs): Make
16828 "Saved registers:" optional in the pattern.
16829
66849923
MM
168302015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16831
16832 * gdb.btrace/next.exp: Merged into step.exp.
16833 * gdb.btrace/finish.exp: Merged into step.exp.
16834 * gdb.btrace/nexti.exp: Merged into stepi.exp.
16835 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
16836 "record goto" and checking the exact replay position.
16837 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
16838 check for "Recording format" in "info record" output.
16839 * gdb.btrace/record_goto.exp: Choose test file based on target.
16840 * gdb.btrace/x86-record_goto.S: Renamed into ...
16841 * gdb.btrace/x86_64-record_goto.S: ... this.
16842 * gdb.btrace/i686-record_goto.S: New.
16843 * gdb.btrace/x86-tailcall.S: Renamed into ...
16844 * gdb.btrace/x86_64-tailcall.S: ... this.
16845 * gdb.btrace/i686-tailcall.S: New.
16846 * gdb.btrace/x86-tailcall.c: Renamed into ...
16847 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
16848 separate statements. Update test.
16849 * gdb.btrace/delta.exp: Use record_goto.c as test file.
16850 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
16851 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
16852 * gdb.btrace/tailcall.exp: Choose test file based on target.
16853 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
16854
11cc1b74
MM
168552015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16856
16857 * gdb.btrace/exception.exp: Increase BTS buffer size.
16858
a25d8bf9
PA
168592015-03-24 Pedro Alves <palves@redhat.com>
16860
16861 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
16862
856e7dd6
PA
168632015-03-24 Pedro Alves <palves@redhat.com>
16864
16865 * gdb.threads/schedlock.exp (test_step): No longer expect that
16866 "set scheduler-locking step" with "next" over a function call runs
16867 threads unlocked.
16868
ad235a41
AT
168692015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16870
16871 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
16872
15630549
AT
168732015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16874
16875 PR breakpoints/16466
16876 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
16877 * gdb.mi/mi-pending.c (thread_func): New function.
16878 (int main): Add threading support required.
16879 * gdb.mi/mi-pending.exp: Add tests for this issue.
16880 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
16881 (pendfunc2): Remove stdio dependency.
16882 * gdb.mi/mi-pendshr2.c: New file.
16883
693dca06
KS
168842015-03-23 Keith Seitz <keiths@redhat.com>
16885
16886 * gdb.linespec/keywords.c: New file.
16887 * gdb.linespec/keywords.exp: New file.
16888
7e993ebf
KS
168892015-03-23 Keith Seitz <keiths@redhat.com>
16890
16891 PR gdb/18021
16892 * gdb.dwarf2/staticvirtual.exp: New test.
16893
bc23328c
JK
168942015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16895
16896 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
16897 * README: Remove HP-UX and gdb.hp.
16898 (configuration):
16899 * configure: Regenerate.
16900 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
16901 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
16902 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
16903 gdb.hp/gdb.defects/Makefile.
16904 * gdb.hp/Makefile.in: File deleted.
16905 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
16906 * gdb.hp/gdb.aCC/optimize.c: File deleted.
16907 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
16908 * gdb.hp/gdb.aCC/run.c: File deleted.
16909 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
16910 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
16911 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
16912 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
16913 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
16914 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
16915 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
16916 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
16917 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
16918 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
16919 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
16920 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
16921 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
16922 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
16923 * gdb.hp/gdb.base-hp/reg.s: File deleted.
16924 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
16925 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
16926 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
16927 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
16928 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
16929 * gdb.hp/gdb.compat/Makefile.in: File deleted.
16930 * gdb.hp/gdb.compat/average.c: File deleted.
16931 * gdb.hp/gdb.compat/sum.c: File deleted.
16932 * gdb.hp/gdb.compat/xdb.c: File deleted.
16933 * gdb.hp/gdb.compat/xdb0.c: File deleted.
16934 * gdb.hp/gdb.compat/xdb0.h: File deleted.
16935 * gdb.hp/gdb.compat/xdb1.c: File deleted.
16936 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
16937 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
16938 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
16939 * gdb.hp/gdb.defects/Makefile.in: File deleted.
16940 * gdb.hp/gdb.defects/bs14602.c: File deleted.
16941 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
16942 * gdb.hp/gdb.defects/solib-d.c: File deleted.
16943 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
16944 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
16945 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
16946 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
16947 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
16948 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
16949 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
16950 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
16951 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
16952 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
16953 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
16954 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
16955 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
16956 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
16957 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
16958 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
16959 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
16960 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
16961 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
16962 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
16963 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
16964 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
16965 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
16966 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
16967 * gdb.hp/tools/odump: File deleted.
16968
8bf3b159
PA
169692015-03-19 Pedro Alves <palves@redhat.com>
16970
16971 * gdb.threads/continue-pending-status.exp (saw_thread_2)
16972 (saw_thread_3): New globals.
16973 (top level): Increment them when an event for the corresponding
16974 thread is seen.
16975 (no thread starvation): New test.
16976
eb54c8bf
PA
169772015-03-19 Pedro Alves <palves@redhat.com>
16978
16979 * gdb.threads/continue-pending-status.c: New file.
16980 * gdb.threads/continue-pending-status.exp: New file.
16981
32d2e5d6
PA
169822015-03-18 Pedro Alves <palves@redhat.com>
16983
16984 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16985 Use gdb_is_target_remote instead of is_remote. Use
16986 gdb_test_multiple instead of gdb_expect. Exit early if
16987 gdb_test_multiple hits its internal matches. Tighten stepi tests
16988 expected output. Fail on exit with any signal, instead of just
16989 SIGILL.
16990
f68f11b7
YQ
169912015-03-18 Yao Qi <yao.qi@linaro.org>
16992
16993 PR tdep/18107
16994 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
16995 variable.
16996 * gdb.base/catch-syscall.exp: Don't skip it on
16997 aarch64*-*-linux* target. Remove elements in all_syscalls.
16998 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
16999 target.
17000 (setup_all_syscalls): New proc.
17001
ca5fd19b
YQ
170022015-03-16 Yao Qi <yao.qi@linaro.org>
17003
17004 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
17005 (top level): Skip tests if valid_addr_p returns false for
17006 $cmd1 or $cmd2.
17007
85642ba0
AW
170082015-03-11 Andy Wingo <wingo@igalia.com>
17009
17010 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
17011
e03f9645
YQ
170122015-03-11 Yao Qi <yao.qi@linaro.org>
17013
17014 * gdb.base/catch-syscall.exp: Fix typo in comments.
17015
5d0962b2
YQ
170162015-03-11 Yao Qi <yao.qi@linaro.org>
17017
17018 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
17019
b2df3cef
PA
170202015-03-09 Pedro Alves <palves@redhat.com>
17021
17022 * dg-extract-results.py: Delete.
17023
ef878e53
PA
170242015-03-09 Pedro Alves <palves@redhat.com>
17025
17026 Merge dg-extract-results.sh from GCC upstream (r218843).
17027
17028 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
17029 * dg-extract-results.sh: Use --text with grep to avoid issues with
17030 binary files. Fall back to cat -v, if that doesn't work.
17031
9494d219
PA
170322015-03-05 Pedro Alves <palves@redhat.com>
17033
17034 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
17035
a8d9763a
SM
170362015-03-04 Simon Marchi <simon.marchi@ericsson.com>
17037
17038 * lib/mi-support.exp (mi_expect_interrupt): Accept
17039 alternative event for when in all-stop mode.
17040
be9957b8
PA
170412015-03-04 Pedro Alves <palves@redhat.com>
17042
17043 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
17044
d57be0f4 170452015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
17046
17047 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
17048
c214c7cf
AA
170492015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17050
17051 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
17052 regexps for GDB's current line display, accept a hex address
17053 preceding the line number.
17054
6d74a497
AA
170552015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17056
17057 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
17058 the 'arch1' variable for "s390*-linux*" targets.
17059
511aee7c
PA
170602015-03-04 Pedro Alves <palves@redhat.com>
17061
17062 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
17063 (main): Pass missing retval argument to pthread_join call.
17064
95e50b27
PA
170652015-03-02 Pedro Alves <palves@redhat.com>
17066
17067 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
17068 (top level): Call do_test with non-stop as well.
17069
28054d69
PA
170702015-03-02 Pedro Alves <palves@redhat.com>
17071
17072 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
17073 -1.
17074
4fa5d7b4
AA
170752015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17076
17077 * gdb.arch/s390-vregs.exp: New test.
17078 * gdb.arch/s390-vregs.S: New file.
17079
97c18565
PA
170802015-02-27 Pedro Alves <palves@redhat.com>
17081
17082 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
17083 call to catch_command_errors.
17084 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
17085 catch_command_errors.
17086
a37bfa30
PA
170872015-02-27 Pedro Alves <palves@redhat.com>
17088
17089 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
17090 "true" for boolean result.
17091 * gdb.gdb/selftest.exp (test_with_self): Also accept full
17092 prototype of main.
17093
6f98576f
PA
170942015-02-27 Pedro Alves <palves@redhat.com>
17095
17096 * lib/unbuffer_output.c: New file.
17097 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
17098 (main): Call gdb_unbuffer_output.
17099
eba5ab56
YQ
171002015-02-27 Yao Qi <yao.qi@linaro.org>
17101
17102 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
17103 target.
17104
0def5aaa
DE
171052015-02-26 Doug Evans <dje@google.com>
17106
17107 * gdb.cp/class2.cc (Dbase, D): New classes.
17108 (main): New local delta.
17109 * gdb.cp/class2.exp: Test printing delta.
17110 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
17111 (dynbar): New global.
17112 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
17113
081a1c2c
JK
171142015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17115
17116 * gdb.compile/compile-ifunc.c: New file.
17117 * gdb.compile/compile-ifunc.exp: New file.
17118
2f41223f
AT
171192015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
17120
17121 * gdb.base/structs.exp: Check for correct struct on finish.
17122
03eddd80
YQ
171232015-02-26 Yao Qi <yao.qi@linaro.org>
17124
17125 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
17126 is zero.
17127
80c57053
JK
171282015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17129
17130 * gdb.arch/cordic.ko.bz2: New file.
17131 * gdb.arch/cordic.ko.debug.bz2: New file.
17132 * gdb.arch/ppc64-symtab-cordic.exp: New file.
17133
21613c12
YQ
171342015-02-25 Yao Qi <yao.qi@linaro.org>
17135
17136 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
17137 aarch64*-*-* target.
17138
d8b901ed
PA
171392015-02-23 Pedro Alves <palves@redhat.com>
17140
17141 * lib/gdb.exp (delete_breakpoints): Rewrite using
17142 gdb_test_multiple.
17143
e5b85ead
PA
171442015-02-23 Pedro Alves <palves@redhat.com>
17145
17146 * gdb.base/info-os.c: Include stdlib.h.
17147
85c3a371
DE
171482015-02-22 Doug Evans <xdje42@gmail.com>
17149
17150 PR symtab/17855
17151 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
17152 is read after symbols have been re-read.
17153 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
17154 * gdb.ada/exec_changed/second.adb (Second): Ditto.
17155
96553a0c
DE
171562015-02-21 Doug Evans <dje@google.com>
17157
17158 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
17159
97a0c697
JK
171602015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17161
17162 PR corefiles/17808
17163 * gdb.arch/i386-biarch-core.core.bz2: New file.
17164 * gdb.arch/i386-biarch-core.exp: New file.
17165
a47cd6e9
PA
171662015-02-21 Pedro Alves <palves@redhat.com>
17167
17168 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
17169 runto_main fails.
17170
c5facdc4
PA
171712015-02-20 Pedro Alves <palves@redhat.com>
17172
17173 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
17174 info probes.
17175
2db9a427
PA
171762015-02-20 Pedro Alves <palves@redhat.com>
17177
17178 * gdb.threads/multi-create-ns-info-thr.exp: New file.
17179
60fb7e9e
PA
171802015-02-20 Pedro Alves <palves@redhat.com>
17181
17182 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
17183 clean_restart before gdb_target_supports_trace.
17184
5c5019c2
PA
171852015-02-20 Pedro Alves <palves@redhat.com>
17186
17187 PR threads/18006
17188 * gdb.threads/clone-thread_db.c: New file.
17189 * gdb.threads/clone-thread_db.exp: New file.
17190
c9587f88
AT
171912015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
17192
17193 PR breakpoints/16812
17194 * gdb.base/catch-gdb-caused-signals.c: New file.
17195 * gdb.base/catch-gdb-caused-signals.exp: New file.
17196
f6a88844
JM
171972015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
17198
17199 * configure: Regenerated.
17200 * configure.ac: Use GDB_AC_TRANSFORM.
17201 * aclocal.m4: sinclude ../transform.m4.
17202
497c491b
JM
172032015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17204
17205 * lib/dtrace.exp: New file.
17206 * gdb.base/dtrace-probe.exp: Likewise.
17207 * gdb.base/dtrace-probe.d: Likewise.
17208 * gdb.base/dtrace-probe.c: Likewise.
17209 * lib/pdtrace.in: Likewise.
17210 * configure.ac: Output variables with the transformed names of
17211 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
17212 * configure: Regenerated.
17213
03e98035
JM
172142015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17215
17216 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
17217 expected message when trying to access $_probe_* convenience
17218 variables while not on a probe.
17219
63cc30e9
JK
172202015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17221
17222 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
17223
0703599a
PA
172242015-02-11 Pedro Alves <pedro@codesourcery.com>
17225
17226 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
17227 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
17228
7e60a48e
DE
172292015-02-10 Doug Evans <xdje42@gmail.com>
17230
17231 * lib/gdb.exp (gdb_load): Always return a result.
17232
01b088bc
PA
172332015-02-10 Pedro Alves <palves@redhat.com>
17234
17235 * gdb.threads/signal-sigtrap.c: New file.
17236 * gdb.threads/signal-sigtrap.exp: New file.
17237
b05ec7a5
AT
172382015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
17239
17240 * gdb.trace/no-attach-trace.c: New file.
17241 * gdb.trace/no-attach-trace.exp: New file.
17242
a2c2acaf
MW
172432015-02-09 Mark Wielaard <mjw@redhat.com>
17244
17245 * gdb.dwarf2/atomic.c: New file.
17246 * gdb.dwarf2/atomic-type.exp: Likewise.
17247
31fd9caa
MM
172482015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17249
17250 * gdb.btrace/buffer-size.exp: Update "info record" output.
17251 * gdb.btrace/delta.exp: Update "info record" output.
17252 * gdb.btrace/enable.exp: Update "info record" output.
17253 * gdb.btrace/finish.exp: Update "info record" output.
17254 * gdb.btrace/instruction_history.exp: Update "info record" output.
17255 * gdb.btrace/next.exp: Update "info record" output.
17256 * gdb.btrace/nexti.exp: Update "info record" output.
17257 * gdb.btrace/step.exp: Update "info record" output.
17258 * gdb.btrace/stepi.exp: Update "info record" output.
17259 * gdb.btrace/nohist.exp: Update "info record" output.
17260
d33501a5
MM
172612015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17262
17263 * gdb.btrace/buffer-size: New.
17264
f4abbc16
MM
172652015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17266
17267 * gdb.btrace/delta.exp: Update "info record" output.
17268 * gdb.btrace/enable.exp: Update "info record" output.
17269 * gdb.btrace/finish.exp: Update "info record" output.
17270 * gdb.btrace/instruction_history.exp: Update "info record" output.
17271 * gdb.btrace/next.exp: Update "info record" output.
17272 * gdb.btrace/nexti.exp: Update "info record" output.
17273 * gdb.btrace/step.exp: Update "info record" output.
17274 * gdb.btrace/stepi.exp: Update "info record" output.
17275 * gdb.btrace/nohist.exp: Update "info record" output.
17276
b9d61307
SM
172772015-02-06 Simon Marchi <simon.marchi@ericsson.com>
17278
17279 PR gdb/15678
17280 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
17281
e584fdbc
PA
172822015-02-06 Pedro Alves <palves@redhat.com>
17283
17284 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
17285 macro.
17286 (seconds_left, again): New globals.
17287 (main): Wait seconds_left in a 1-second sleep loop instead of
17288 sleeping 180 seconds. If 'again' is set, reset the seconds
17289 counter.
17290 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
17291 'again' in the inferior before detaching. Print the seconds left.
17292 (options): New global.
17293 (top level): Build program with -DTIMEOUT=$timeout.
17294
77f41761
PA
172952015-02-06 Pedro Alves <palves@redhat.com>
17296
17297 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
17298 determine how many seconds to pass to 'alarm'.
17299 * gdb.base/gdb-sigterm.exp (top level): Build program with
17300 -DTIMEOUT=$timeout.
17301 (do_test): Return success/failure indication. Add more verbose
17302 logging. Don't fail if 200 single steps are seen. Instead, fail
17303 when the test times out.
17304 (passes): New global.
17305 (top level): Break the testing loop if testing fails on any
17306 iteration. Use gdb_assert.
17307
b9394193
DB
173082015-02-04 Don Breazeal <donb@codesourcery.com>
17309
17310 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
17311 and initialize them.
17312 (ipc_cleanup): New function.
17313 (main): Don't declare shmid, semid, and msqid. Add a call to
17314 atexit so that we call ipc_cleanup on exit.
17315
42d9e528
PA
173162015-02-04 Pedro Alves <palves@redhat.com>
17317
17318 * boards/native-extended-gdbserver.exp: Remove any target variant
17319 specifications from the board name before clearing the isremote
17320 flag from board_info.
17321
ae6ae975
DE
173222015-01-31 Doug Evans <xdje42@gmail.com>
17323
17324 * gdb.base/maint.exp <maint print type argc>: Update expected output.
17325
cfb069a8
GB
173262015-01-31 Gary Benson <gbenson@redhat.com>
17327
17328 * gdb.base/completion.exp: Disable completion limiting for
17329 existing tests. Add new tests to check completion limiting.
17330 * gdb.linespec/ls-errs.exp: Disable completion limiting.
17331
5dd31d79
DE
173322015-01-31 Doug Evans <xdje42@gmail.com>
17333
17334 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
17335
9f050062
DE
173362015-01-31 Doug Evans <xdje42@gmail.com>
17337
17338 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
17339 entries. Duplicate file section script entries.
17340 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
17341 inlined entries. Add test for safe-path rejection.
17342 * gdb.python/py-section-script.c: Add duplicate inlined section script
17343 entries. Duplicate file section script entries.
17344 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
17345 inlined entries. Add test for safe-path rejection.
17346
df25ebbd
JB
173472015-01-29 Joel Brobecker <brobecker@adacore.com>
17348
17349 * gdb.ada/disc_arr_bound: New testcase.
17350
4a0ca9ec
JB
173512015-01-29 Joel Brobecker <brobecker@adacore.com>
17352
17353 * gdb.ada/mi_var_array: New testcase.
17354
3a8b707a
DE
173552015-01-27 Doug Evans <dje@google.com>
17356
17357 * gdb.python/py-objfile.exp: Add tests for objfile.username.
17358 Add test for objfile.filename, objfile.username after objfile
17359 has been unloaded.
17360
f8313f6e
JB
173612015-01-26 Joel Brobecker <brobecker@adacore.com>
17362
17363 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
17364 the second test to print the name attribute of value
17365 returned by the call to gdb.lookup_type, and adjust
17366 the expected output accordingly.
17367
37bc665e
MW
173682015-01-25 Mark Wielaard <mjw@redhat.com>
17369
17370 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
17371 * gdb.base/disp-step-fork.c: Include unistd.h.
17372 * gdb.base/siginfo-obj.c: Include stdio.h.
17373 * gdb.base/siginfo-thread.c: Likewise.
17374 * gdb.mi/non-stop.c: Include unistd.h.
17375 * gdb.mi/nsthrexec.c: Include stdio.h.
17376 * gdb.mi/pthreads.c: Include unistd.h.
17377 * gdb.modula2/unbounded1.c (main): Declare returns int.
17378 * gdb.reverse/consecutive-reverse.c: Likewise.
17379 * gdb.threads/create-fail.c: Include unistd.h.
17380 * gdb.threads/killed.c: Likewise.
17381 * gdb.threads/linux-dp.c: Likewise.
17382 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
17383 * gdb.threads/non-ldr-exc-2.c: Likewise.
17384 * gdb.threads/non-ldr-exc-3.c: Likewise.
17385 * gdb.threads/non-ldr-exc-4.c: Likewise.
17386 * gdb.threads/pthreads.c: Include unistd.h.
17387 (main): Declare returns int.
17388 * gdb.threads/tls-main.c (foo): New declaration.
17389 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
17390
f7e5394d
SM
173912015-01-23 Simon Marchi <simon.marchi@ericsson.com>
17392
17393 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
17394 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
17395
743649fd
MW
173962015-01-15 Mark Wielaard <mjw@redhat.com>
17397
17398 * gdb.base/noreturn-return.c: New file.
17399 * gdb.base/noreturn-return.exp: New file.
17400 * gdb.base/noreturn-finish.c: New file.
17401 * gdb.base/noreturn-finish.exp: New file.
17402
198297aa
PA
174032015-01-23 Pedro Alves <palves@redhat.com>
17404
17405 * gdb.threads/continue-pending-after-query.c: New file.
17406 * gdb.threads/continue-pending-after-query.exp: New file.
17407
717cf30c
AG
174082015-01-22 Anders Granlund <anders.granlund@ericsson.com>
17409 Simon Marchi <simon.marchi@ericsson.com>
17410
17411 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
17412 * gdb.base/valgrind-db-attach.exp: Same.
17413 * gdb.base/valgrind-infcall.exp: Same.
17414 * lib/mi-support.exp (default_mi_gdb_start): Same.
17415 * lib/prompt.exp (default_prompt_gdb_start): Same.
17416 * lib/gdb.exp (default_gdb_spawn): Same.
17417 (gdb_interact): New.
17418
17419
4b62a76e
JK
174202015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17421
17422 * gdb.compile/compile.exp (pointer to jit function): New test.
17423
b4cdae6f
WW
174242015-01-17 Wei-cheng Wang <cole945@gmail.com>
17425
17426 * lib/gdb.exp (supports_process_record): Return true for
17427 powerpc*-*-linux*.
17428 (supports_reverse): Likewise.
17429
d221e7ef
DB
174302015-01-15 Don Breazeal <donb@codesourcery.com>
17431
17432 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
17433 instead of checking whether the target board is remote and
17434 use spawn_wait_for_attach instead of exec/sleep.
17435 * gdb.base/attach-twice.exp: Likewise.
17436
bafffb51
JB
174372015-01-15 Joel Brobecker <brobecker@adacore.com>
17438
17439 * gdb.ada/var_arr_attrs: New testcase.
17440
5589af0e
PA
174412015-01-14 Pedro Alves <palves@redhat.com>
17442 Joel Brobecker <brobecker@adacore.com>
17443
17444 PR gdb/17525
17445 * gdb.base/bp-cmds-execution-x-script.c: New file.
17446 * gdb.base/bp-cmds-execution-x-script.exp: New file.
17447 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
17448
6c400b59
PA
174492015-01-14 Pedro Alves <palves@redhat.com>
17450
17451 PR cli/17828
17452 * gdb.base/batch-preserve-term-settings.c: New file.
17453 * gdb.base/batch-preserve-term-settings.exp: New file.
17454
e02c96a7
DE
174552015-01-13 Doug Evans <dje@google.com>
17456
17457 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
17458 binary.
17459
576fd14c
JB
174602015-01-13 Joel Brobecker <brobecker@adacore.com>
17461
17462 * Makefile.in (clean mostlyclean): Do not delete *.py.
17463
04dccad0
JB
174642015-01-13 Joel Brobecker <brobecker@adacore.com>
17465
17466 * gdb.python/py-lookup-type.exp: New file.
17467
3d230f71
PA
174682015-01-12 Pedro Alves <palves@redhat.com>
17469
17470 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
17471 restore GDBFLAGS before returning.
17472
7e67715d
JK
174732015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17474
17475 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
17476 is_amd64_regs_target and is_x86_like_target.
17477
f2e0d4b4
DE
174782015-01-11 Doug Evans <xdje42@gmail.com>
17479
17480 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
17481 is given without an explicit form.
17482 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
17483 attributes.
17484 * gdb.dwarf/corrupt.exp: Ditto.
17485 * gdb.dwarf2/enum-type.exp: Ditto.
17486 * gdb.trace/entry-values.exp: Ditto.
17487 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
17488
439250fb
DE
174892015-01-11 Doug Evans <xdje42@gmail.com>
17490
17491 PR gdb/15830
17492 * gdb.base/maint.exp: Remove references to "maint demangle".
17493 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
17494 Add tests for explicitly specifying language to demangle.
17495 * gdb.dlang/demangle.exp: Ditto.
17496
ede9f622
PA
174972015-01-09 Pedro Alves <palves@redhat.com>
17498
17499 * gdb.threads/non-stop-fair-events.c: New file.
17500 * gdb.threads/non-stop-fair-events.exp: New file.
17501
a7b796db
PA
175022015-01-09 Pedro Alves <palves@redhat.com>
17503
17504 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
17505 the global scope. Set a breakpoint after all threads are started
17506 rather than stepping over two source lines. Expect the prompt.
17507 * gdb.base/watch_thread_num.c (threads_started_barrier): New
17508 global.
17509 (NUM): Now 15.
17510 (main): Use threads_started_barrier to wait for all threads to
17511 start. Main thread no longer calls thread_function. Exit after
17512 180 seconds.
17513 (loop): New function.
17514 (thread_function): Wait on threads_started_barrier barrier. Call
17515 'loop' at each iteration.
17516 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
17517 threads have started, instead of hardcoding number of "next"
17518 steps. Use an access watchpoint instead of a write watchpoint.
17519
9665ffdd
PA
175202015-01-09 Pedro Alves <palves@redhat.com>
17521
17522 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
17523 (thread_func): Wait on barrier.
17524 (main): Wait for all threads to start before stopping GDB.
17525 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
17526 global.
17527 (thread1_func, thread2_func): Wait on barrier.
17528 (main): Wait for all threads to start before stopping GDB.
17529 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
17530 New global.
17531 (thread1_func, thread2_func): Wait on barrier.
17532 (main): Wait for all threads to start before stopping GDB.
17533
c945a99f
PA
175342015-01-09 Pedro Alves <palves@redhat.com>
17535
17536 * gdb.threads/attach-many-short-lived-threads.c: New file.
17537 * gdb.threads/attach-many-short-lived-threads.exp: New file.
17538
c1a747c1
PA
175392014-01-09 Pedro Alves <palves@redhat.com>
17540
17541 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
17542 instead of to thread 2.
17543 * gdb.threads/signal-command-multiple-signals-pending.c (main):
17544 Add barrier around each pthread_create call instead of around all
17545 calls.
17546 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
17547 Set a break on thread_function and have the child threads hit it
17548 one at at a time.
17549
60b3033e
PA
175502015-01-09 Pedro Alves <palves@redhat.com>
17551
17552 * lib/gdb.exp (can_spawn_for_attach): New procedure.
17553 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
17554 false.
17555 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
17556 checking whether the target board is remote.
17557 * gdb.multi/multi-attach.exp: Likewise.
17558 * gdb.python/py-sync-interp.exp: Likewise.
17559 * gdb.server/ext-attach.exp: Likewise.
17560 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
17561 tests that need to attach, instead of checking whether the target
17562 board is remote at the top of the file.
17563
acc018ac
YQ
175642015-01-08 Yao Qi <yao@codesourcery.com>
17565
17566 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
17567
50a18af8
JK
175682015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17569
17570 Fix testcase compilation.
17571 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
17572
8503d6e1
JB
175732015-01-06 Joel Brobecker <brobecker@adacore.com>
17574
17575 * gdb.python/py-type.exp: Add a couple test about empty
17576 array creation, and negative-length array creation.
17577
cc73dbcc
DE
175782015-01-02 Doug Evans <xdje42@gmail.com>
17579
17580 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
17581
0300bbc7
DE
175822015-01-02 Doug Evans <dje@google.com>
17583
17584 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
17585
9d85a0ec
YQ
175862014-12-29 Yao Qi <yao@codesourcery.com>
17587
17588 * gdb.trace/entry-values.exp: Update comments. Rename variable
17589 bar_call_foo to returned_from_foo.
17590
87186c6a
MMN
175912014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
17592
17593 PR gdb/17394
17594 * gdb.linespec/break-asm-file.c: New file.
17595 * gdb.linespec/break-asm-file.exp: New file.
17596 * gdb.linespec/break-asm-file0.s: New file.
17597 * gdb.linespec/break-asm-file1.s: New file.
17598
1bab7383
YQ
175992014-12-18 Nigel Stephens <nigel@mips.com>
17600 Maciej W. Rozycki <macro@codesourcery.com>
17601
17602 * gdb.base/float.exp: Handle the new output from "info float" on
17603 MIPS targets.
17604
1bc1068a
JK
176052014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17606
17607 Fix MinGW compilation.
17608 * gdb.compile/compile-ops.exp: Update untested message if
17609 !skip_compile_feature_tests.
17610 * gdb.compile/compile-setjmp.exp: Likewise.
17611 * gdb.compile/compile-tls.exp: Likewise.
17612 * gdb.compile/compile.exp: Likewise.
17613 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
17614 supported on this host".
17615
b6615d10
DE
176162014-12-16 Doug Evans <xdje42@gmail.com>
17617
17618 * boards/stabs.exp: New file.
17619
25dda427
AA
176202014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
17621
17622 * gdb.base/completion.exp: Adjust to format changes of "maint
17623 print user-registers".
17624
bf330350
CU
176252014-12-16 Catalin Udma <catalin.udma@freescale.com>
17626
17627 PR server/17457
17628 * gdb.arch/aarch64-fp.c: New file.
17629 * gdb.arch/aarch64-fp.exp: New file.
17630
395cf596
SDJ
176312014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
17632
17633 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
17634 r210637, r210913, r211666, r215400, r215817).
17635
17636 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
17637 * dg-extract-results.py: New file.
17638 * dg-extract-results.sh: Use it if the environment seems
17639 suitable.
17640
17641 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
17642
17643 * dg-extract-results.py (parse_run): Handle warnings that
17644 are printed before a test harness is run.
17645
17646 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
17647
17648 * dg-extract-results.py (Named): Remove __cmp__ method.
17649 (output_variation): Use a key to sort variation.harnesses.
17650
17651 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
17652
17653 * dg-extract-results.py: For Python 3, force sys.stdout to
17654 handle surrogate escape sequences.
17655 (safe_open): New function.
17656 (output_segment, main): Use it.
17657
17658 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
17659
17660 * dg-extract-results.py (Prog.result_re): Include options
17661 in test name.
17662
17663 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
17664
17665 * dg-extract-results.py (output_variation): Always sort if
17666 do_sum.
17667
e882ef3c
SM
176682014-12-15 Simon Marchi <simon.marchi@ericsson.com>
17669
17670 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
17671 as long as we get pagination notifications.
17672
4992aa20
JM
176732014-12-15 Jason Merrill <jason@redhat.com>
17674
17675 * Makefile.in (check-gdb.%): Restore.
17676 * README: Mention it.
17677
c1b5a1a6
JB
176782014-12-13 Joel Brobecker <brobecker@adacore.com>
17679
17680 * gdb.ada/str_uninit: New testcase.
17681
5537b577
JK
176822014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17683
17684 PR symtab/17642
17685 * gdb.base/vla-stub-define.c: New file.
17686 * gdb.base/vla-stub.c: New file.
17687 * gdb.base/vla-stub.exp: New file.
17688
bb2ec1b3
TT
176892014-12-12 Phil Muldoon <pmuldoon@redhat.com>
17690 Jan Kratochvil <jan.kratochvil@redhat.com>
17691 Tom Tromey <tromey@redhat.com>
17692
17693 * configure.ac: Add gdb.compile/.
17694 * configure: Regenerate.
17695 * gdb.compile/Makefile.in: New file.
17696 * gdb.compile/compile-ops.exp: New file.
17697 * gdb.compile/compile-ops.c: New file.
17698 * gdb.compile/compile-tls.c: New file.
17699 * gdb.compile/compile-tls.exp: New file.
17700 * gdb.compile/compile-constvar.S: New file.
17701 * gdb.compile/compile-constvar.c: New file.
17702 * gdb.compile/compile-mod.c: New file.
17703 * gdb.compile/compile-nodebug.c: New file.
17704 * gdb.compile/compile-setjmp-mod.c: New file.
17705 * gdb.compile/compile-setjmp.c: New file.
17706 * gdb.compile/compile-setjmp.exp: New file.
17707 * gdb.compile/compile-shlib.c: New file.
17708 * gdb.compile/compile.c: New file.
17709 * gdb.compile/compile.exp: New file.
17710 * lib/gdb.exp (skip_compile_feature_tests): New proc.
17711
4ff709eb
TT
177122014-12-12 Tom Tromey <tromey@redhat.com>
17713
17714 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
17715 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
17716
6dddd6a5
DE
177172014-12-12 Doug Evans <dje@google.com>
17718
17719 * lib/gdb-python.exp (get_python_valueof): New function.
17720 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
17721
71c24708
AA
177222014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17723
17724 * gdb.base/completion.exp: Add test for completion of "info
17725 registers ".
17726
3e29f34a
MR
177272014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
17728
17729 * gdb.base/func-ptrs.c: New file.
17730 * gdb.base/func-ptrs.exp: New file.
17731
fc126975
SM
177322014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17733
17734 PR breakpoints/17012
17735 * gdb.base/dprintf-detach.c: New file.
17736 * gdb.base/dprintf-detach.exp: New file.
17737
0a46d518
SM
177382014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17739
17740 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
17741 * lib/gdb.exp (target_is_gdbserver): New procedure.
17742
a0be3e44
DE
177432014-12-08 Doug Evans <dje@google.com>
17744
17745 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
17746
df1b803a
YQ
177472014-12-05 Yao Qi <yao@codesourcery.com>
17748
17749 * gdb.guile/scm-error.exp: Remove the third argument to
17750 gdb_remote_download.
17751 * gdb.guile/scm-frame-args.exp: Likewise.
17752 * gdb.guile/scm-section-script.exp: Likewise.
17753
ddb9f679
YQ
177542014-12-05 Yao Qi <yao@codesourcery.com>
17755
17756 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
17757
86e4ed39
DE
177582014-12-04 Doug Evans <dje@google.com>
17759
17760 * gdb.python/py-objfile.exp: Add tests for
17761 objfile.add_separate_debug_file.
17762
7c50a931
DE
177632014-12-04 Doug Evans <dje@google.com>
17764
17765 * lib/gdb.exp (get_build_id): New function.
17766 (build_id_debug_filename_get): Rewrite to use it.
17767 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
17768
621661e3
MR
177692014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
17770
17771 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
17772 `method(long)', not just 0x0.
17773 * gdb.cp/nsalias.exp: Align code labels to 4.
17774 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
17775 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
17776 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
17777 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
17778 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
17779 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
17780
29f0c3b7
DE
177812014-12-02 Doug Evans <dje@google.com>
17782
e1e061e7 17783 PR symtab/17602
29f0c3b7 17784 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 17785 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
17786 * gdb.cp/anon-ns.exp: Update.
17787
162078c8
NB
177882014-12-02 Nick Bull <nicholaspbull@gmail.com>
17789
17790 * gdb.python/py-events.py (inferior_call_handler): New.
17791 (register_changed_handler, memory_changed_handler): New.
17792 (test_events.invoke): Register new handlers.
17793 * gdb.python/py-events.exp: Add tests for inferior call,
17794 memory_changed and register_changed events.
17795
fdb09caf
AA
177962014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17797
17798 * gdb.base/execl-update-breakpoints.exp: Specify the link address
17799 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
17800 if the linker doesn't understand this.
17801
55cfb2c4
SM
178022014-12-01 Simon Marchi <simon.marchi@ericsson.com>
17803
17804 * gdb.python/python.exp: Change expected reply to help().
17805
9e8cd6df
YQ
178062014-12-01 Yao Qi <yao@codesourcery.com>
17807
17808 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
17809 AC_CONFIG_SUBDIRS(gdb.gdbtk).
17810 * configure: Re-generated.
17811
6c659fc2
SC
178122014-11-28 Siva Chandra Reddy <sivachandra@google.com>
17813
17814 * gdb.cp/chained-calls.cc: New file.
17815 * gdb.cp/chained-calls.exp: New file.
17816 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
17817
d7fc3181
SM
178182014-11-28 Simon Marchi <simon.marchi@ericsson.com>
17819
17820 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
17821 * gdb.dwarf2/symtab-producer.exp: Same.
17822 * gdb.gdb/python-interrupts.exp: Same.
17823 * gdb.gdb/python-selftest.exp: Same.
17824 * gdb.python/py-linetable.exp: Same.
17825 * gdb.python/py-type.exp: Same.
17826 * gdb.python/py-value-cc.exp: Same.
17827 * gdb.python/py-value.exp: Same.
17828
10e79639
YQ
178292014-11-28 Yao Qi <yao@codesourcery.com>
17830
17831 * gdb.base/break-probes.exp: Match library name prefixed with
17832 sysroot.
17833
f28a0564
SM
178342014-11-27 Simon Marchi <simon.marchi@ericsson.com>
17835
17836 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
17837 test expected output. Add parentheses for the call to print.
17838 Remove L suffix from integers.
17839
3fe1ce1d
DE
178402014-11-26 Doug Evans <dje@google.com>
17841
17842 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
17843
84429e27
YQ
178442014-11-22 Yao Qi <yao@codesourcery.com>
17845
17846 * gdb.trace/entry-values.c: Remove asms.
17847 (foo): Add foo_label.
17848 (bar): Add bar_label.
17849 * gdb.trace/entry-values.exp: Remove code computing foo's
17850 length and bar's length.
17851 (Dwarf::assemble): Invoke function_range for bar and use
17852 MACRO_AT_func for foo.
17853
26741859
YQ
178542014-11-22 Yao Qi <yao@codesourcery.com>
17855
17856 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
17857 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
17858 Use .Lgcc43_procstart instead of gcc43.
17859
45e44d27
JB
178602014-11-21 Joel Brobecker <brobecker@adacore.com>
17861
17862 * gdb.ada/n_arr_bound: New testcase.
17863
458c8db8
SDJ
178642014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
17865
17866 PR breakpoints/10737
17867 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
17868 test_catch_syscall_multi_arch.
17869 (test_catch_syscall_multi_arch): New function.
17870
43f3e411
DE
178712014-11-20 Doug Evans <xdje42@gmail.com>
17872
17873 * gdb.base/maint.exp: Update expected output.
17874
0d7b2549
AA
178752014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
17876
17877 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
17878 4-byte instruction on S390.
17879
8908fca5
JB
178802014-11-19 Joel Brobecker <brobecker@adacore.com>
17881
17882 * gdb.ada/arr_arr: New testcase.
17883
4a46959e
JB
178842014-11-19 Joel Brobecker <brobecker@adacore.com>
17885
17886 * gdb.ada/pkd_arr_elem: New Testcase.
17887
470e2f4e
LM
178882014-11-18 Luis Machado <lgustavo@codesourcery.com>
17889
17890 * gdb.reverse/break-precsave: Expect completion message for
17891 core file reads.
17892 * gdb.reverse/consecutive-precsave.exp: Likewise.
17893 * gdb.reverse/finish-precsave.exp: Likewise.
17894 * gdb.reverse/i386-precsave.exp: Likewise.
17895 * gdb.reverse/machinestate-precsave.exp: Likewise.
17896 * gdb.reverse/sigall-precsave.exp: Likewise.
17897 * gdb.reverse/solib-precsave.exp: Likewise.
17898 * gdb.reverse/step-precsave.exp: Likewise.
17899 * gdb.reverse/until-precsave.exp: Likewise.
17900 * gdb.reverse/watch-precsave.exp: Likewise.
17901
a267f3ad
AA
179022014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17903
17904 * gdb.base/bp-permanent.c: Include unistd.h.
17905 * gdb.python/py-framefilter-mi.c (main): Add return type.
17906 * gdb.python/py-framefilter.c (main): Likewise.
17907 * gdb.trace/actions-changed.c (main): Likewise.
17908
12084a9a
AA
179092014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17910
17911 * gdb.mi/until.c: Add eye-catchers.
17912 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
17913 line numbers.
17914
dc7e1a77
AA
179152014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17916
17917 * gdb.base/condbreak.exp: Drop references to removed non-prototype
17918 function header variants in break1.c.
17919 * gdb.base/ena-dis-br.exp: Likewise.
17920 * gdb.base/hbreak2.exp: Likewise.
17921 * gdb.reverse/until-precsave.exp: Drop references to removed
17922 non-prototype function header variants in ur1.c.
17923 * gdb.reverse/until-reverse.exp: Likewise.
17924
41c77605
PM
179252014-11-17 Petr Machata <pmachata@redhat.com>
17926
17927 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
17928 ${_cu_offset_size} bytes abbrev offset.
17929
34248c3a
DE
179302014-11-15 Doug Evans <xdje42@gmail.com>
17931
17932 PR symtab/17559
17933 * gdb.base/line-symtabs.exp: New file.
17934 * gdb.base/line-symtabs.c: New file.
17935 * gdb.base/line-symtabs.h: New file.
17936
646da059
YQ
179372014-11-14 Yao Qi <yao@codesourcery.com>
17938
17939 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
17940 (func): Add label func_label.
17941 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
17942 Replace low_pc and high_pc with MACRO_AT_range.
17943 Replace name, low_pc and high_pc with MACRO_AT_func.
17944
9301ebe6
YQ
179452014-11-14 Yao Qi <yao@codesourcery.com>
17946
17947 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
17948 Replace name, low_pc and high_pc with MACRO_AT_func.
17949
f166b542
YQ
179502014-11-14 Yao Qi <yao@codesourcery.com>
17951
17952 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
17953 produce debug information.
17954 * gdb.dwarf2/implptr-optimized-out.S: Removed.
17955
0f6e71e3
YQ
179562014-11-14 Yao Qi <yao@codesourcery.com>
17957
17958 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
17959 object and get function length.
17960 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
17961 with MACRO_AT_func.
17962 (top-level): Replace gdb_compile and clean_restart with
17963 prepare_for_testing.
17964 * gdb.dwarf2/main.c (main): Add label main_label.
17965
876c4df9
YQ
179662014-11-14 Yao Qi <yao@codesourcery.com>
17967
17968 * lib/dwarf.exp (function_range): New procedure.
17969 (Dwarf::_handle_macro_at_func): New procedure.
17970 (Dwarf::_handle_macro_at_range): New procedure.
17971 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
17972
02ad9cf1
YQ
179732014-11-14 Yao Qi <yao@codesourcery.com>
17974
17975 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
17976 (_handle_attribute): New procedure.
17977
a59add0c
AA
179782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17979
17980 * gdb.ada/cond_lang/foo.c (callme): Add return type.
17981 * gdb.base/call-sc.c (zed): Likewise.
17982 * gdb.base/checkpoint.c (main): Likewise.
17983 * gdb.base/dump.c (main): Likewise.
17984 * gdb.base/gcore.c (main): Likewise.
17985 * gdb.base/huge.c (main): Likewise.
17986 * gdb.base/multi-forks.c (main): Likewise.
17987 * gdb.base/pr10179-a.c (main): Likewise.
17988 * gdb.base/savedregs.c (main): Likewise.
17989 * gdb.base/sigaltstack.c (main): Likewise.
17990 * gdb.base/siginfo.c (main): Likewise.
17991 * gdb.base/structs.c (zed): Likewise.
17992 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
17993 * gdb.mi/mi-syn-frame.c (main): Likewise.
17994 * gdb.mi/until.c (foo, main): Likewise.
17995 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
17996 * gdb.base/solib-weak.c (foo): Declare.
17997 * gdb.base/attach-twice.c: Include stdio.h.
17998 * gdb.base/weaklib1.c: Likewise.
17999 * gdb.base/weaklib2.c: Likewise.
18000 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
18001 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
18002 unistd.h.
18003 * gdb.base/attach-pie-misread.c: Include stdlib.h.
18004 * gdb.mi/mi-exit-code.c: Likewise.
18005 * gdb.base/break-interp-lib.c: Include string.h.
18006 * gdb.base/coremaker.c: Likewise.
18007 * gdb.base/testenv.c: Likewise.
18008 * gdb.python/py-finish-breakpoint.c: Likewise.
18009 * gdb.base/inferior-died.c: Include sys/wait.h.
18010 * gdb.base/fileio.c: Include time.h.
18011 * gdb.base/async-shell.c: Include unistd.h.
18012 * gdb.base/dprintf-non-stop.c: Likewise.
18013 * gdb.base/info-os.c: Likewise.
18014 * gdb.mi/mi-console.c: Likewise.
18015 * gdb.mi/watch-nonstop.c: Likewise.
18016 * gdb.python/py-events.c: Likewise.
18017 * gdb.base/async.c (baz): Move up before its invocation.
18018 * gdb.base/code_elim2.c (my_global_func): Likewise.
18019 * gdb.base/skip-solib-lib.c (multiply): Likewise.
18020 * gdb.base/advance.c (func2): Likewise.
18021
3b5d5997
AA
180222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18023
18024 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
18025 variant.
18026 * gdb.base/annota3.c: Likewise.
18027 * gdb.base/async.c: Likewise.
18028 * gdb.base/average.c: Likewise.
18029 * gdb.base/call-ar-st.c: Likewise.
18030 * gdb.base/call-rt-st.c: Likewise.
18031 * gdb.base/call-sc.c: Likewise.
18032 * gdb.base/call-strs.c: Likewise.
18033 * gdb.base/ending-run.c: Likewise.
18034 * gdb.base/execd-prog.c: Likewise.
18035 * gdb.base/exprs.c: Likewise.
18036 * gdb.base/foll-exec.c: Likewise.
18037 * gdb.base/foll-fork.c: Likewise.
18038 * gdb.base/foll-vfork.c: Likewise.
18039 * gdb.base/funcargs.c: Likewise.
18040 * gdb.base/gcore.c: Likewise.
18041 * gdb.base/jump.c: Likewise.
18042 * gdb.base/langs0.c: Likewise.
18043 * gdb.base/langs1.c: Likewise.
18044 * gdb.base/langs2.c: Likewise.
18045 * gdb.base/mips_pro.c: Likewise.
18046 * gdb.base/nodebug.c: Likewise.
18047 * gdb.base/opaque0.c: Likewise.
18048 * gdb.base/opaque1.c: Likewise.
18049 * gdb.base/recurse.c: Likewise.
18050 * gdb.base/run.c: Likewise.
18051 * gdb.base/scope0.c: Likewise.
18052 * gdb.base/scope1.c: Likewise.
18053 * gdb.base/setshow.c: Likewise.
18054 * gdb.base/setvar.c: Likewise.
18055 * gdb.base/shmain.c: Likewise.
18056 * gdb.base/shr1.c: Likewise.
18057 * gdb.base/shr2.c: Likewise.
18058 * gdb.base/sigall.c: Likewise.
18059 * gdb.base/signals.c: Likewise.
18060 * gdb.base/so-indr-cl.c: Likewise.
18061 * gdb.base/solib2.c: Likewise.
18062 * gdb.base/structs.c: Likewise.
18063 * gdb.base/sum.c: Likewise.
18064 * gdb.base/vforked-prog.c: Likewise.
18065 * gdb.base/watchpoint.c: Likewise.
18066 * gdb.reverse/shr2.c: Likewise.
18067 * gdb.reverse/until-reverse.c: Likewise.
18068 * gdb.reverse/ur1.c: Likewise.
18069 * gdb.reverse/watch-reverse.c: Likewise.
18070
066a77c5
AA
180712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18072
18073 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
18074 variant.
18075 * gdb.base/sepdebug.exp: Drop references to removed code.
18076
4f204ea5
AA
180772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18078
18079 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
18080 variant. Preserve original line numbering.
18081 * gdb.base/list1.c: Likewise.
18082
3b377a3a
AA
180832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18084
18085 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
18086 variant.
18087 * gdb.base/break1.c: Likewise.
18088 * gdb.base/break.exp: Drop references to removed code.
18089
e444df73
AA
180902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18091
18092 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
18093 variant.
18094
8008f2a7
AA
180952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18096
18097 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
18098
a5a06887
AA
180992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18100
18101 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
18102 logic into perform_all_tests() and invoke it with and without
18103 function header prototypes.
18104 (do_function_calls): Remove conditional XFAIL for PR 5318.
18105 (rerun_and_prepare): Remove duplicate code.
18106 (perform_all_tests): New. Main logic moved here.
18107
44dba9b9
AA
181082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18109
18110 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
18111 code guarded by #ifdef NO_PROTOTYPES.
18112 (t_double_many_args): Likewise.
18113 (DEF_FUNC_MANY_ARGS_1): Likewise.
18114 (DEF_FUNC_VALUES_1): Likewise.
18115 (t_structs_ldc): Renamed from t_structs_fc in conditional code
18116 guarded by #ifdef PROTOTYPES.
18117
d1fbcd56
AA
181182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18119
18120 * gdb.mi/mi-console.c: Add eye-catcher.
18121 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
18122 instead of literal line number.
18123
b0e59b8f
AA
181242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18125
18126 * gdb.base/shr2.c: Add eye-catcher.
18127 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
18128 line number.
18129
78f98cca
AA
181302014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18131
18132 * gdb.base/jump.c: Add eye-catchers.
18133 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
18134 numbers.
18135
58fa2af0
AA
181362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18137
18138 * gdb.base/execd-prog.c: Add eye-catchers.
18139 * gdb.base/foll-exec.c: Likewise.
18140 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
18141 line numbers.
18142
04e5059b
AA
181432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18144
18145 * gdb.base/ending-run.c: Add eye-catchers.
18146 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
18147 literal line numbers.
18148
dbfdb174
AA
181492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18150
18151 * gdb.base/call-rt-st.c: Add eye-catchers.
18152 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
18153 literal line numbers.
18154
888a2ade
AA
181552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18156
18157 * gdb.base/call-ar-st.c: Add eye-catchers.
18158 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
18159 literal line numbers.
18160
6acc2dde
AA
181612014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18162
18163 * gdb.base/average.c: Add eye-catchers.
18164 * gdb.base/sum.c: Likewise.
18165 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
18166 regexps dynamically.
18167
9ecfcd1d
AA
181682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18169
18170 * gdb.base/solib1.c: Add eye-catchers.
18171 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
18172 literal line numbers.
18173
78708b7c
PA
181742014-11-12 Pedro Alves <palves@redhat.com>
18175
18176 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
18177 leader has exited.
18178
af48d08f
PA
181792014-11-12 Pedro Alves <palves@redhat.com>
18180
18181 * gdb.arch/i386-bp_permanent.c: New file.
18182 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
18183 (srcfile): Set to i386-bp_permanent.c.
18184 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
18185 that stepi does not execute the 'leave' instruction, instead of
18186 testing it does execute.
18187 * gdb.base/bp-permanent.c: New file.
18188 * gdb.base/bp-permanent.exp: New file.
18189
af3768e9
DE
181902014-11-10 Doug Evans <xdje42@gmail.com>
18191
18192 PR symtab/17564
18193 * gdb.base/symtab-search-order.exp: New file.
18194 * gdb.base/symtab-search-order.c: New file.
18195 * gdb.base/symtab-search-order-1.c: New file.
18196 * gdb.base/symtab-search-order-shlib-1.c: New file.
18197
9de00a4a
PA
181982014-11-07 Pedro Alves <palves@redhat.com>
18199
18200 PR gdb/17511
18201 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
18202 i?86-*-linux*.
18203
e0f52461
SC
182042014-11-03 Siva Chandra Reddy <sivachandra@google.com>
18205
18206 PR c++/17494
18207 * gdb.cp/pr17494.cc: New file.
18208 * gdb.cp/pr17494.exp: New file.
18209
6ce8c980
YQ
182102014-11-02 Yao Qi <yao@codesourcery.com>
18211
18212 * gdb.python/python.exp: Get working directory and match the
18213 output of "set extended-prompt \\w " with it.
18214
02be9a71
DE
182152014-10-30 Doug Evans <dje@google.com>
18216
18217 * gdb.python/py-objfile.exp: Add tests for setting random attributes
18218 in objfiles.
18219 * gdb.python/py-progspace.exp: Add tests for setting random attributes
18220 in progspaces.
18221
3bdff46b
LM
182222014-10-30 Janis Johnson <janisjo@codesourcery.com>
18223
18224 * gdb.base/fullpath-expand.exp: Skip for a remote host.
18225 * gdb.base/realname-expand.exp: Likewise.
18226 * gdb.linespec/macro-relative.exp: Likewise.
18227
ab917dfb
PA
182282014-10-29 Pedro Alves <palves@redhat.com>
18229
18230 PR gdb/17408
18231 * gdb.threads/schedlock.c (some_function): New function.
18232 (call_function): New global.
18233 (MAYBE_CALL_SOME_FUNCTION): New macro.
18234 (thread_function): Call it.
18235 * gdb.threads/schedlock.exp (get_args): Add description parameter,
18236 and use it instead of a global counter. Adjust all callers.
18237 (get_current_thread): Use "find current thread" for test message
18238 here rather than having all callers pass down the same string.
18239 (goto_loop): New procedure, factored out from ...
18240 (my_continue): ... this.
18241 (step_ten_loops): Change parameter from test message to command to
18242 use. Adjust.
18243 (list_count): Delete global.
18244 (check_result): New procedure, factored out from duplicate top
18245 level code.
18246 (continue tests): Wrap in with_test_prefix.
18247 (test_step): New procedure, factored out from duplicate top level
18248 code.
18249 (top level): Test "step" in combination with all scheduler-locking
18250 modes. Test "next" in combination with all scheduler-locking
18251 modes, and in combination with stepping over a function call or
18252 not.
18253 * gdb.threads/next-bp-other-thread.c: New file.
18254 * gdb.threads/next-bp-other-thread.exp: New file.
18255
d3d4baed
PA
182562014-10-29 Pedro Alves <palves@redhat.com>
18257
18258 PR python/17372
18259 * gdb.python/python.exp: Test a multi-line command that spawns
18260 interactive Python.
18261 * gdb.base/multi-line-starts-subshell.exp: New file.
18262
563e8d85
YQ
182632014-10-29 Yao Qi <yao@codesourcery.com>
18264
18265 * gdb.base/fileio.exp: Make directories on host.
18266
0ea4d52e
YQ
182672014-10-29 Yao Qi <yao@codesourcery.com>
18268
18269 * gdb.base/fileio.c (test_write): Close the file.
18270
7f5ef605
PA
182712014-10-28 Pedro Alves <palves@redhat.com>
18272
18273 PR gdb/12623
18274 * gdb.base/sigstep.c (no_handler): New global.
18275 (main): If 'no_handler is true, set the signal handlers to
18276 SIG_IGN.
18277 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
18278 with_sw_watch and no_handler parameters. Handle them.
18279 (top level) <stepping over handler when stopped at a breakpoint
18280 test>: Add a test axis for testing with a software watchpoint, and
18281 another for testing with the signal handler set to SIG_IGN.
18282 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
18283 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
18284
abbdbd03
PA
182852014-10-28 Pedro Alves <palves@redhat.com>
18286
18287 PR gdb/17511
18288 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
18289 * gdb.base/sigstep.exp (other_handler_location): New global.
18290 (advance): Support stepping into the signal handler, and running
18291 commands while in the handler.
18292 (in_handler_map): New global.
18293 (top level): In the advance test, add combinations for getting
18294 into the handler with stepping commands, and for running commands
18295 in the handler. Add comment descripting the advancei tests.
18296
1df4399f
PA
182972014-10-28 Pedro Alves <palves@redhat.com>
18298
18299 * gdb.base/sigstep.exp: Use build_executable instead of
18300 prepare_for_testing.
18301 (top level): Move code that starts GDB, runs to main and creates a
18302 display to ...
18303 (restart): ... this new procedure.
18304 (top level): Move backtrace from signal handler test to ...
18305 (validate_backtrace): ... this new procedure.
18306 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
18307 with_test_prefix. Always restart GDB.
18308 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
18309 with_test_prefix. Always restart GDB. No need to delete
18310 breakpoints after the test.
18311 (test_skip_handler): Remove prefix parameter.
18312 (skip_over_handler, breakpoint_to_handler)
18313 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
18314 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
18315 restart GDB. No need to delete breakpoints after the test.
18316 (top level): Use foreach to call the test procedures with
18317 different commands.
18318
a5b6e449
PA
183192014-10-28 Pedro Alves <palves@redhat.com>
18320
18321 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
18322 instead of GNATS numbers.
18323 * gdb.base/sigbpt.exp: Likewise.
18324 * gdb.base/siginfo.exp: Likewise.
18325 * gdb.base/sigstep.exp: Likewise.
18326
e5f8a7cc
PA
183272014-10-27 Pedro Alves <palves@redhat.com>
18328
18329 * gdb.base/sigstep.c (dummy): New global.
18330 (main): Issue a couple writes to the new global.
18331 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
18332 procedures.
18333 (skip_over_handler): Use test_skip_handler.
18334 (top level): Call skip_over_handler for stepi and nexti too.
18335 (breakpoint_over_handler): Use test_skip_handler.
18336 (top level): Call breakpoint_over_handler for stepi and nexti too.
18337
763905a3
YQ
183382014-10-27 Yao Qi <yao@codesourcery.com>
18339
18340 * gdb.trace/tfile.c (adjust_function_address)
18341 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
18342 function descriptor.
18343
6f259a23
DB
183442014-10-24 Don Breazeal <donb@codesourcery.com>
18345
18346 * gdb.base/foll-fork.exp (test_follow_fork,
18347 catch_fork_child_follow): Check for updated fork messages emitted
18348 from infrun.c.
18349 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
18350 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
18351 vfork_and_exec_child_follow_through_step): Check for updated vfork
18352 messages emitted from infrun.c.
18353
09dd9a69
PA
183542014-10-24 Pedro Alves <palves@redhat.com>
18355
18356 * gdb.base/corefile.exp: Remove references to ultrix.
18357 * gdb.base/interrupt.exp: Likewise.
18358 * gdb.base/whatis.exp: Likewise.
18359 * gdb.gdb/selftest.exp: Likewise.
18360 * gdb.threads/manythreads.exp: Likewise.
18361 * gdb.threads/print-threads.exp: Likewise.
18362 * gdb.threads/pthreads.exp:: Likewise.
18363 * gdb.threads/schedlock.exp: Likewise.
18364
3433cfa5
SC
183652014-10-24 Siva Chandra Reddy <sivachandra@google.com>
18366
18367 * gdb.cp/non-trivial-retval.cc: Add a test case.
18368 * gdb.cp/non-trivial-retval.exp: Add a test.
18369
092f880b
YQ
183702014-10-20 Yao Qi <yao@codesourcery.com>
18371
18372 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
18373 * gdb.python/py-objfile-script-gdb.py: New file.
18374 * gdb.python/py-objfile-script.exp: Update reference to
18375 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
18376 of remote_download. Remove the dest file.
18377
acbdb7f3
YQ
183782014-10-20 Yao Qi <yao@codesourcery.com>
18379
18380 * gdb.base/checkpoint.exp: Don't remove file copied on host.
18381 * gdb.base/step-line.exp: Likewise.
18382 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18383 * gdb.dwarf2/dw2-basic.exp: Likewise.
18384 * gdb.dwarf2/dw2-compressed.exp: Likewise.
18385 * gdb.dwarf2/dw2-filename.exp: Likewise.
18386 * gdb.dwarf2/dw2-intercu.exp: Likewise.
18387 * gdb.dwarf2/dw2-intermix.exp: Likewise.
18388 * gdb.dwarf2/dw2-producer.exp: Likewise.
18389 * gdb.dwarf2/mac-fileno.exp: Likewise.
18390 * gdb.python/py-frame-args.exp: Likewise.
18391 * gdb.python/py-framefilter.exp: Likewise.
18392 * gdb.python/py-mi.exp: Likewise.
18393 * gdb.python/py-objfile-script.exp: Likewise
18394 * gdb.python/py-pp-integral.exp: Likewise.
18395 * gdb.python/py-pp-re-notag.exp: Likewise.
18396 * gdb.python/py-prettyprint.exp: Likewise.
18397 * gdb.python/py-section-script.exp: Likewise.
18398 * gdb.python/py-typeprint.exp: Likewise.
18399 * gdb.python/py-xmethods.exp: Likewise.
18400 * gdb.stabs/weird.exp: Likewise.
18401 * gdb.xml/tdesc-regs.exp: Likewise.
18402
bd286a29
KCY
184032014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
18404
18405 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
18406 (out_cu): Use addr_len for the size of addresses.
18407 (out_line): Likewise. Size DW_LNE_set_address instruction
18408 according to addr_len.
18409 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
18410 (FUNC): Add START_INSNS to definition.
18411
673dc4a0
YQ
184122014-10-18 Yao Qi <yao@codesourcery.com>
18413
18414 * gdb.base/argv0-symlink.exp: Check argv[0] value if
18415 gdb_has_argv0 return true.
18416 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
18417 check [target_info exists noargs], check [gdb_has_argv0]
18418 instead.
18419 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18420 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
18421 procedures.
18422
4ffbba72
DE
184232014-10-17 Doug Evans <dje@google.com>
18424
18425 * gdb.python/py-events.exp: Update expected output for clear_objfiles
18426 event.
18427 * gdb.python/py-events.py: Add clear_objfiles event.
18428
d096d8c1
DE
184292014-10-17 Doug Evans <dje@google.com>
18430
18431 * gdb.python/py-objfile.exp: Test progspace attribute.
18432
a80db015
LM
184332014-10-17 Luis Machado <lgustavo@codesourcery.com>
18434
18435 * gdb.guile/scm-breakpoint.exp: Do not assume any
18436 directory separators when matching source file paths.
18437 * gdb.python/py-breakpoint.exp: Likewise.
18438 * gdb.reverse/break-precsave.exp: Likewise.
18439 * gdb.reverse/break-reverse.exp: Likewise.
18440 * gdb.reverse/consecutive-precsave.exp: Likewise.
18441 * gdb.reverse/finish-precsave.exp: Likewise.
18442 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
18443 * gdb.reverse/finish-reverse.exp: Likewise.
18444 * gdb.reverse/i386-precsave.exp: Likewise.
18445 * gdb.reverse/i387-env-reverse.exp: Likewise.
18446 * gdb.reverse/i387-stack-reverse.exp: Likewise.
18447 * gdb.reverse/machinestate-precsave.exp: Likewise.
18448 * gdb.reverse/machinestate.exp: Likewise.
18449 * gdb.reverse/sigall-precsave.exp: Likewise.
18450 * gdb.reverse/solib-precsave.exp: Likewise.
18451 * gdb.reverse/step-precsave.exp: Likewise.
18452 * gdb.reverse/until-precsave.exp: Likewise.
18453 * gdb.reverse/watch-precsave.exp: Likewise.
18454 * gdb.reverse/watch-reverse.exp: Likewise.
18455
b22089ab
YQ
184562014-10-17 Yao Qi <yao@codesourcery.com>
18457
18458 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
18459 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
18460
6c4486e6
PA
184612014-10-17 Pedro Alves <palves@redhat.com>
18462
18463 PR gdb/17471
18464 * gdb.base/bg-execution-repeat.c: New file.
18465 * gdb.base/bg-execution-repeat.exp: New file.
18466
0ff33695
PA
184672014-10-17 Pedro Alves <palves@redhat.com>
18468
18469 PR gdb/17300
18470 * gdb.base/continue-all-already-running.c: New file.
18471 * gdb.base/continue-all-already-running.exp: New file.
18472
6fdebc3d
PA
184732014-10-17 Pedro Alves <palves@redhat.com>
18474
18475 PR gdb/17472
18476 * gdb.base/annota-input-while-running.c: New file.
18477 * gdb.base/annota-input-while-running.exp: New file.
18478
32a8097b
PA
184792014-10-17 Pedro Alves <palves@redhat.com>
18480
18481 * gdb.base/callfuncs.exp: emove references to osf.
18482 * gdb.base/sigall.exp: Likewise.
18483 * gdb.gdb/selftest.exp: Likewise.
18484 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18485 * gdb.mi/non-stop.c: Likewise.
18486 * gdb.mi/pthreads.c: Likewise.
18487 * gdb.reverse/sigall-precsave.exp: Likewise.
18488 * gdb.reverse/sigall-reverse.exp: Likewise.
18489 * gdb.threads/pthreads.c: Likewise.
18490 * gdb.threads/pthreads.exp: Likewise.
18491
7a3517ff
YQ
184922014-10-17 Yao Qi <yao@codesourcery.com>
18493
18494 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
18495 check 'target_info exists noargs'.
18496 (test_command_prompt_position): Likewise.
18497 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
18498 Remove "set args".
18499 (progvar_simple_while_test): Likewise.
18500 (progvar_complex_if_while_test): Likewise.
18501 (if_while_breakpoint_command_test): Likewise.
18502 (infrun_breakpoint_command_test): Likewise.
18503 (breakpoint_command_test): Likewise.
18504 (watchpoint_command_test): Likewise.
18505 (bp_deleted_in_command_test): Likewise.
18506 (temporary_breakpoint_commands): Likewise.
18507
bb99c472
YQ
185082014-10-16 Yao Qi <yao@codesourcery.com>
18509
18510 * gdb.base/remotetimeout.exp: Remove noargs checking.
18511
7c16b83e
PA
185122014-10-15 Pedro Alves <palves@redhat.com>
18513
18514 PR breakpoints/9649
18515 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
18516 * gdb.base/breakpoint-in-ro-region.exp
18517 (probe_target_hardware_step): New procedure.
18518 (top level): Probe hardware stepping and hardware breakpoint
18519 support. Test stepping through a read-only region, with both
18520 "breakpoint auto-hw" on and off and both "always-inserted" on and
18521 off.
18522
35a49624
IB
185232014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
18524
18525 * gdb.dlang/demangle.exp: Update for demangling changes.
18526
2d1c107c
SC
185272014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18528
18529 * gdb.cp/non-trivial-retval.cc: Add new test cases.
18530 * gdb.cp/non-trivial-retval.exp: Add new tests.
18531
778811d5
SC
185322014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18533
18534 PR c++/13403
18535 PR c++/15154
18536 * gdb.cp/non-trivial-retval.cc: New file.
18537 * gdb.cp/non-trivial-retval.exp: New file.
18538
10c5f0a8
YQ
185392014-10-15 Yao Qi <yao@codesourcery.com>
18540
18541 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
18542 remote host.
18543
65d7b369
YQ
185442014-10-15 Yao Qi <yao@codesourcery.com>
18545
18546 * gdb.python/py-symbol.exp: Match file base name if host is
18547 remote, otherwise match file name with dir name.
18548 * gdb.python/py-symtab.exp: Likewise.
18549 * gdb.python/python.exp: Likewise.
18550
46dc1394
YQ
185512014-10-15 Yao Qi <yao@codesourcery.com>
18552
18553 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
18554 pattern.
18555 * gdb.python/py-symtab.exp: Likewise.
18556 * gdb.python/python.exp: Remove trailing ".*". Fix typo
18557 locationn.
18558
c40cc657
JB
185592014-10-14 Joel Brobecker <brobecker@adacore.com>
18560
18561 * gdb.ada/addr_arith: New testcase.
18562
2abf49e1
MR
185632014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
18564
18565 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
18566 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
18567 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
18568 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
18569
f7088df3
SDJ
185702014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
18571
18572 * gdb.arch/stap-eval-lang-ada.S: Likewise.
18573 * gdb.arch/stap-eval-lang-ada.c: Likewise.
18574 * gdb.arch/stap-eval-lang-ada.exp: New file.
18575
4dc06805
YQ
185762014-10-14 Yao Qi <yao@codesourcery.com>
18577
18578 * gdb.mi/mi-var-child.c (nothing1): New function.
18579 (nothing2): New function.
18580 (do_children_tests): Set function pointers by nothing1 and
18581 nothing2.
18582 * gdb.mi/mi-var-child.exp: Step over new added statements.
18583 Update test to match the new output.
18584 * gdb.mi/var-cmd.c (nothing1): New function.
18585 (nothing2): New function.
18586 (do_children_tests): Set function pointers by nothing1 and
18587 nothing2.
18588 * gdb.mi/mi-var-display.exp: Update test to match output.
18589 Step to the line specified by $line_dct_nothing.
18590 Increase the number of lines to step.
18591
46a93de2
YQ
185922014-10-14 Yao Qi <yao@codesourcery.com>
18593
18594 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
18595 tests.
18596 * gdb.mi/mi2-var-child.exp: Likewise.
18597
14ea52ee
DE
185982014-10-13 Doug Evans <dje@google.com>
18599
18600 * gdb.python/py-objfile.exp: Change name of file name test.
18601
e5c6e92b
DE
186022014-10-13 Doug Evans <dje@google.com>
18603
18604 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
18605 from the start of the CU.
18606
c780cc2f
JK
186072014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18608 Yao Qi <yao@codesourcery.com>
18609
18610 Fix "save breakpoints" for "catch" command.
18611 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
18612 Remove -nonewline. Match also the added "main" line.
18613
99894e11
JK
186142014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18615
18616 Fix "save breakpoints" for "disable $bpnum" command.
18617 * gdb.base/save-bp.c (main): Add label.
18618 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
18619
6e1ac5a3
JK
186202014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18621
18622 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
18623
754dd2b0
YQ
186242014-10-11 Yao Qi <yao@codesourcery.com>
18625
18626 * gdb.server/server-kill.exp: Execute command
18627 "set remote trace-status-packet on" before "tstatus".
18628
f90183d7
YQ
186292014-10-11 Yao Qi <yao@codesourcery.com>
18630
18631 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
18632 (main): Call getppid.
18633 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
18634 and continue to it. Read variable "server_pid".
18635
bf40a607
YQ
186362014-10-11 Yao Qi <yao@codesourcery.com>
18637
18638 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
18639
052ca370
YQ
186402014-10-11 Yao Qi <yao@codesourcery.com>
18641
18642 * gdb.threads/thread-find.exp: Don't execute command
18643 "info threads".
18644 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
18645 * gdb.threads/linux-dp.exp: Don't check the condition
18646 $threads_created equals to zero.
18647
3831839c
PA
186482014-10-10 Pedro Alves <palves@redhat.com>
18649
18650 * gdb.base/bigcore.exp: Remove references to IRIX.
18651 * gdb.base/funcargs.exp: Likewise.
18652 * gdb.base/interrupt.exp: Likewise.
18653 * gdb.base/mips_pro.exp: Likewise.
18654 * gdb.base/nodebug.exp: Likewise.
18655 * gdb.base/setvar.exp: Likewise.
18656 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
18657
8b9a549d
PA
186582014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18659 Pedro Alves <palves@redhat.com>
18660
18661 PR symtab/14466
18662 * gdb.base/vdso-warning.c: New file.
18663 * gdb.base/vdso-warning.exp: New file.
18664
d48ba5e8
DE
186652014-10-02 Doug Evans <dje@google.com>
18666
18667 * gdb.base/structs.c (main): Don't run forever.
18668
2278c276
PA
186692014-10-02 Pedro Alves <palves@redhat.com>
18670
18671 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
18672 (top level) <stop threads 1, stop threads 2>: Use it.
18673
b57bacec
PA
186742014-10-02 Pedro Alves <palves@redhat.com>
18675
18676 * gdb.threads/break-while-running.exp (test): Add new
18677 'update_thread_list' argument. Skip "info threads" if false.
18678 (top level): Add new 'update_thread_list' axis.
18679
13fd3ff3
PA
186802014-10-02 Pedro Alves <palves@redhat.com>
18681
18682 PR breakpoints/17431
18683 * gdb.base/execl-update-breakpoints.c: New file.
18684 * gdb.base/execl-update-breakpoints.exp: New file.
18685
0fec99e8
PA
186862014-10-01 Pedro Alves <palves@redhat.com>
18687
18688 * gdb.base/breakpoint-in-ro-region.c: New file.
18689 * gdb.base/breakpoint-in-ro-region.exp: New file.
18690
2ddf4301
SM
186912014-10-01 Simon Marchi <simon.marchi@ericsson.com>
18692
18693 * gdb.mi/mi-exit-code.exp: New file.
18694 * gdb.mi/mi-exit-code.c: New file.
18695
6a5f3f43
YQ
186962014-09-30 Yao Qi <yao@codesourcery.com>
18697
18698 * lib/prelink-support.exp (build_executable_own_libs): Error if
18699 the target isn't native.
18700
345bcc73
YQ
187012014-09-30 Yao Qi <yao@codesourcery.com>
18702
18703 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
18704 false.
18705
a25a5a45
PA
187062014-09-22 Pedro Alves <palves@redhat.com>
18707
18708 * gdb.threads/break-while-running.exp: New file.
18709 * gdb.threads/break-while-running.c: New file.
18710
00ba3162
YQ
187112014-09-19 Yao Qi <yao@codesourcery.com>
18712
18713 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
18714 Invoke test. Restart GDB with --readnow and invoke test again.
18715
c3b7b696
YQ
187162014-09-19 Yao Qi <yao@codesourcery.com>
18717
18718 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
18719 proc set_breakpoint_on_gcd_function. Invoke
18720 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
18721 invoke set_breakpoint_on_gcd_function again.
18722
2b4fd423
DE
187232014-09-18 Doug Evans <dje@google.com>
18724
18725 * gdb.dwarf2/symtab-producer.exp: New file.
18726
a5947601
SDJ
187272014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18728
18729 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
18730 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
18731 * gdb.base/global-var-nested-by-dso.c: Likewise.
18732 * gdb.base/global-var-nested-by-dso.exp: Likewise.
18733
91c19059
SDJ
187342014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18735 Pedro Alves <palves@redhat.com>
18736
18737 * gdb.base/watch-bitfields.exp: Pass string other than test file
18738 name to prepare_for_testing.
18739 (watch): New procedure.
18740 (expect_watchpoint): Use with_test_prefix.
18741 (top level): Factor out tests to ...
18742 (test_watch_location, test_regular_watch): ... these new
18743 procedures, and use with_test_prefix and gdb_continue_to_end.
18744
bb9d5f81
PP
187452014-09-16 Patrick Palka <patrick@parcs.ath.cx>
18746
18747 PR breakpoints/12526
18748 * gdb.base/watch-bitfields.exp: New file.
18749 * gdb.base/watch-bitfields.c: New file.
18750
635856f5
PA
187512014-09-16 Pedro Alves <palves@redhat.com>
18752
18753 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
18754 software and hardware addresses, not software address against
18755 itself.
18756
7280ceea
PA
187572014-09-16 Pedro Alves <palves@redhat.com>
18758
18759 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
18760 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
18761
428b16bd
PA
187622014-09-16 Pedro Alves <palves@redhat.com>
18763
18764 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
18765 files.
18766 * gdb.base/a2-run.exp: Remove all code guarded by istarget
18767 "*-*-vxworks*" throughout.
18768 * gdb.base/break.exp: Likewise.
18769 * gdb.base/default.exp: Likewise.
18770 * gdb.base/scope.exp: Likewise.
18771 * gdb.base/sepdebug.exp: Likewise.
18772 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
18773 throughout.
18774 * gdb.base/run.c: Likewise.
18775 * gdb.base/sepdebug.c: Likewise.
18776 * gdb.hp/gdb.aCC/run.c: Likewise.
18777 * gdb.reverse/until-reverse.c: Likewise.
18778 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
18779
666d413c
YQ
187802014-09-16 Yao Qi <yao@codesourcery.com>
18781
18782 * boards/local-remote-host-native.exp: New file.
18783
57cbd724
DE
187842014-09-14 Doug Evans <xdje42@gmail.com>
18785
18786 * gdb.threads/queue-signal.c (thread_count): New variable.
18787 (thread_count_mutex, thread_count_condvar): New variables.
18788 (incr_thread_count, wait_all_threads_running): New functions.
18789 (main): Wait for all threads to be in their thread functions.
18790
81219e53
DE
187912014-09-13 Doug Evans <xdje42@gmail.com>
18792
18793 * gdb.threads/queue-signal.c: New file.
18794 * gdb.threads/queue-signal.exp: New file.
18795
3714cea7
DE
187962014-09-13 Doug Evans <xdje42@gmail.com>
18797
18798 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
18799 be consistent with what default_gdb_init uses.
18800 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
18801 the plain text of the prompt. Add some logging printfs.
18802 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
18803
fa43b1d7
PA
188042014-09-12 Pedro Alves <palves@redhat.com>
18805
18806 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
18807 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
18808 * gdb.arch/i386-size-overlap.exp: Likewise.
18809 * gdb.arch/i386-size.exp: Likewise.
18810 * gdb.arch/i386-unwind.exp: Likewise.
18811 * gdb.base/a2-run.exp: Likewise.
18812 * gdb.base/break.exp: Likewise.
18813 * gdb.base/charset.exp: Likewise.
18814 * gdb.base/chng-syms.exp: Likewise.
18815 * gdb.base/commands.exp: Likewise.
18816 * gdb.base/dbx.exp: Likewise.
18817 * gdb.base/find.exp: Likewise.
18818 * gdb.base/funcargs.exp: Likewise.
18819 * gdb.base/jit-simple.exp: Likewise.
18820 * gdb.base/reread.exp: Likewise.
18821 * gdb.base/sepdebug.exp: Likewise.
18822 * gdb.base/step-bt.exp: Likewise.
18823 * gdb.cp/mb-inline.exp: Likewise.
18824 * gdb.cp/mb-templates.exp: Likewise.
18825 * gdb.objc/basicclass.exp: Likewise.
18826 * gdb.threads/killed.exp: Likewise.
18827
9d9bf2df
EBM
188282014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18829
18830 PR tdep/17379
18831 * gdb.arch/powerpc-stackless.S: New file.
18832 * gdb.arch/powerpc-stackless.exp: New file.
18833
1cf2f1b0
JK
188342014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18835
18836 * gdb.base/attach.c: Include unistd.h.
18837 (main): Call alarm. Add label postloop.
18838 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
18839 gdb_breakpoint, gdb_continue_to_breakpoint.
18840 (test_command_line_attach_run): Kill ${testpid} in one exit path.
18841
98880d46
PA
188422014-09-11 Pedro Alves <palves@redhat.com>
18843
18844 PR gdb/17347
18845 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
18846 * gdb.base/attach.exp (test_command_line_attach_run): New
18847 procedure.
18848 (top level): Call it.
18849
4c92ff2c
PA
188502014-09-11 Pedro Alves <palves@redhat.com>
18851
18852 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
18853 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
18854 (do_command_attach_tests): Use spawn_wait_for_attach.
18855 * gdb.base/solib-overlap.exp: Likewise.
18856 * gdb.multi/multi-attach.exp: Likewise.
18857 * gdb.python/py-prompt.exp: Likewise.
18858 * gdb.python/py-sync-interp.exp: Likewise.
18859 * gdb.server/ext-attach.exp: Likewise.
18860
3adc1a7d
GKB
188612014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
18862
18863 * gdb.fortran/array-element.exp: Remove unexpected "continue"
18864 command in testcase. Simplify testcase.
18865
96334934
JB
188662014-09-10 Joel Brobecker <brobecker@adacore.com>
18867
18868 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
18869
eb479039
JB
188702014-09-10 Joel Brobecker <brobecker@adacore.com>
18871
18872 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
18873
deede10c
JB
188742014-09-10 Joel Brobecker <brobecker@adacore.com>
18875
18876 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
18877
7828a5f5
JB
188782014-09-10 Joel Brobecker <brobecker@adacore.com>
18879
18880 * gdb.dwarf2/dynarr-ptr.c: New file.
18881 * gdb.dwarf2/dynarr-ptr.exp: New file.
18882
33aeebcf
MR
188832014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18884
18885 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
18886 of 30 rather than hardcoding 120 for a slow test case. Take the
18887 `gdb,timeout' target setting into account for this calculation.
18888 Don't extend the timeout for the test cases that don't need it.
18889
7b415901
MR
188902014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18891
18892 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
18893 a factor of 2 for a slow test case. Take the `gdb,timeout'
18894 target setting into account for this calculation.
18895 * gdb.reverse/until-precsave.exp: Increase the timeout by
18896 a factor of 15 and 3 respectively rather than adding 120
18897 for a pair of slow test cases. Take the `gdb,timeout'
18898 target setting into account for this calculation.
18899
4a40f85a
MR
189002014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18901
18902 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
18903 timeout, don't pass one down to gdb_expect.
18904 (gdb_expect): Rework timeout selection.
18905
09635af7
MR
189062014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18907
18908 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
18909 exception on timeout.
18910 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
18911 (gdbserver_start_extended): Catch any `gdbserver_start' error
18912 exceptions.
18913 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
18914 * lib/mi-support.exp (mi_gdb_target_load): Catch any
18915 `gdbserver_gdb_load' error exceptions.
18916
2bdd10b7
MR
189172014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18918
18919 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
18920 120 on waiting for the TCP socket to open.
18921
316935f0
DE
189222014-09-09 Doug Evans <xdje42@gmail.com>
18923
18924 * gdb.base/default.exp (show_conv_list): Add _caller_is,
18925 _caller_matches, _any_caller_is, _any_caller_matches.
18926
83740597
DE
189272014-09-09 Doug Evans <xdje42@gmail.com>
18928
18929 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
18930
4c122fc3
YQ
189312014-09-09 Yao Qi <yao@codesourcery.com>
18932
18933 * gdb.mi/mi-var-display.exp: Set print symbol off.
18934
a9f116cb
GKB
189352014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
18936
18937 PR gdb/17035
18938 * gdb.base/commands.exp: Add tests to verify user-defined
18939 commands with empty bodies.
18940 * gdb.python/py-cmd.exp: Test that we don't show user-defined
18941 python commands in `show user command`.
18942 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
18943 scheme commands in `show user command`.
18944
c75bd3a2
JK
189452014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18946
18947 PR python/17355
18948 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
18949 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
18950 * gdb.python/py-framefilter-invalidarg.exp: New file.
18951 * gdb.python/py-framefilter-invalidarg.py: New file.
18952
faa42425
DE
189532014-09-06 Doug Evans <xdje42@gmail.com>
18954
18955 PR 15276
18956 * gdb.python/py-caller-is.c: New file.
18957 * gdb.python/py-caller-is.exp: New file.
18958
474ca4f6
SDJ
189592014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
18960
18961 PR gdb/17235
18962 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
18963 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
18964
eb0b0463
SDJ
189652014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
18966
18967 PR fortran/17237
18968 * gdb.fortran/print-formatted.exp: New file.
18969 * gdb.fortran/print-formatted.f90: Likewise.
18970
5f3b99cf
SS
189712014-09-03 Sasha Smundak <asmundak@google.com>
18972
18973 * gdb.python/py-frame.exp: Test Frame.read_register.
18974
7d793aa9
SDJ
189752014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
18976
18977 PR python/16699
18978 * gdb.python/py-completion.exp: New file.
18979 * gdb.python/py-completion.py: Likewise.
18980
fb0576e9
DE
189812014-08-28 Doug Evans <dje@google.com>
18982
18983 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
18984 eax,etc. are live with values set by gdb and thus the compiler can't
18985 use them.
18986 * gdb.arch/i386-pseudo.c (main): Ditto.
18987
ee92b0dd
DE
189882014-08-27 Doug Evans <dje@google.com>
18989
18990 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
18991
6649db35
DE
189922014-08-25 Doug Evans <dje@google.com>
18993
18994 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
18995 (main): Ditto.
18996
564b7600
DE
189972014-08-25 Doug Evans <dje@google.com>
18998
18999 * gdb.threads/thread-execl.exp: #include <stdio.h>.
19000
3881fb67
YQ
190012014-08-24 Yao Qi <yao@codesourcery.com>
19002
19003 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
19004 symbol off.
19005 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
19006
a05a36a5
DE
190072014-08-22 Doug Evans <dje@google.com>
19008
19009 PR 17276
19010 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
19011 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
19012 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
19013
7c343b48
YQ
190142014-08-22 Yao Qi <yao@codesourcery.com>
19015
19016 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
19017 * gdb.python/py-finish-breakpoint2.exp: Likewise.
19018 * gdb.python/python.exp: Likewise. Use .py file on the host
19019 instead of the build.
19020
22fd09ae
JK
190212014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19022
19023 * gdb.threads/gcore-stale-thread.c: New file.
19024 * gdb.threads/gcore-stale-thread.exp: New file.
19025
a8454a7c
PA
190262014-08-21 Pedro Alves <palves@redhat.com>
19027
19028 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
19029 * gdb.base/gcore-relro-pie.exp: Likewise.
19030 * gdb.base/gcore-relro.exp: Likewise.
19031 * gdb.base/gcore.exp: Likewise.
19032 * gdb.base/print-symbol-loading.exp: Likewise.
19033 * gdb.threads/gcore-thread.exp: Likewise.
19034 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
19035
2a31c623
PA
190362014-08-20 Pedro Alves <palves@redhat.com>
19037 Jan Kratochvil <jan.kratochvil@redhat.com>
19038
19039 * Makefile.in (EXTRA_RULES, CC): New variables, get from
19040 configure.
19041 (EXPECT): Handle READ1 being set.
19042 (all): Depend on EXTRA_RULES.
19043 (check-read1, expect-read1, read1.so, read1): New rules.
19044 * README (Testsuite Parameters): Document the READ1 make variable.
19045 (Race detection): New section.
19046 * configure: Regenerate.
19047 * configure.ac: If build==host==target, and running under a
19048 GNU/glibc system, add read1 to the extra Makefile rules.
19049 (EXTRA_RULES): AC_SUBST it.
19050 * lib/read1.c: New file.
19051
d36430db
JB
190522014-08-20 Joel Brobecker <brobecker@adacore.com>
19053
19054 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
19055 the handling of variables declared as a typedef to an array
19056 which a DW_AT_data_location attribute.
19057
9a0dc9e3
PA
190582014-08-19 Andrew Burgess <aburgess@broadcom.com>
19059 Pedro Alves <palves@redhat.com>
19060
19061 PR symtab/14604
19062 PR symtab/14605
19063 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
19064 gdb_test.
19065
0718a8da
PA
190662014-08-19 Pedro Alves <palves@redhat.com>
19067
19068 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
19069
13b448cd
YQ
190702014-08-19 Yao Qi <yao@codesourcery.com>
19071
19072 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
19073 right line.
19074
1cbf5077
DB
190752014-08-18 David Blaikie <dblaikie@gmail.com>
19076
19077 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
19078
bf0fae19
JB
190792014-08-18 Joel Brobecker <brobecker@adacore.com>
19080
19081 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
19082 attribute in array range.
19083
3c8c5dcc
JB
190842014-08-18 Joel Brobecker <brobecker@adacore.com>
19085
19086 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
19087
e66d4446
SC
190882014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19089
19090 PR c++/17132
19091 * gdb.cp/pr17132.cc: New file.
19092 * gdb.cp/pr17132.exp: New file.
19093
940df408
SC
190942014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19095
19096 * gdb.python/py-xmethods.py (A_getarrayind)
19097 (E_method_char_worker.__call__, E_method_int_worker.__call__):
19098 Use 'print' with function call syntax.
19099 (E_method_matcher.match): Fix tab vs space indentation mixup.
19100
ebcc6c3a
YQ
191012014-08-15 Yao Qi <yao@codesourcery.com>
19102
19103 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
19104 false.
19105
775e0f04
YQ
191062014-08-15 Yao Qi <yao@codesourcery.com>
19107
19108 * gdb.cp/casts.exp: Set print symbol off.
19109 * gdb.cp/class2.exp: Likewise.
19110 * gdb.cp/overload.exp: Likewise.
19111 * gdb.cp/templates.exp: Likewise.
19112
d769e349
DE
191132014-08-11 Doug Evans <dje@google.com>
19114
19115 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
19116 (test_load_shlib): Update.
19117
20c6f1e1
YQ
191182014-08-09 Yao Qi <yao@codesourcery.com>
19119
19120 * gdb.base/display.exp: Invoke is_address_zero_readable.
19121 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
19122 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19123 * gdb.base/hbreak-unmapped.exp: Return if
19124 is_address_zero_readable returns true.
19125 * gdb.base/signest.exp: Likewise.
19126 * gdb.base/signull.exp: Likewise.
19127 * gdb.base/sigbpt.exp: Likewise.
19128 * gdb.guile/scm-disasm.exp: Do the test if
19129 is_address_zero_readable returns false.
19130 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
19131 * gdb.python/py-arch.exp: Likewise.
19132 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
19133 * lib/gdb.exp (is_address_zero_readable): New proc.
19134
5792e8e3
YQ
191352014-08-09 Yao Qi <yao@codesourcery.com>
19136
19137 PR testsuite/13443
19138 * gdb.mi/mi-var-display.exp: Make test messages unique.
19139
3cecbbbe
TT
191402014-08-04 Tom Tromey <tromey@redhat.com>
19141
19142 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
19143 target 0".
19144
00b51ff5
TT
191452014-08-04 Tom Tromey <tromey@redhat.com>
19146
19147 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
19148 "target_resume".
19149
6908c509
JB
191502014-08-01 Joel Brobecker <brobecker@adacore.com>
19151
19152 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
19153 inner_vla_struct_object_size.
19154 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
19155 as xfail.
19156
cc6563d2
PA
191572014-07-30 Pedro Alves <palves@redhat.com>
19158
19159 * gdb.threads/signal-command-handle-nopass.exp (test): Add
19160 comment.
19161
7e09a223
YQ
191622014-07-29 Yao Qi <yao@codesourcery.com>
19163
19164 PR gdb/17206
19165 * gdb.base/until-nodebug.exp: New.
19166
7ebdbe92
DE
191672014-07-28 Doug Evans <xdje42@gmail.com>
19168
19169 PR guile/17203
19170 * gdb.guile/scm-parameter.exp: Add tests for trying to create
19171 previously existing parameter, and previously ambiguously spelled
19172 parameter.
19173
fdb1adc6
WN
191742014-07-28 Will Newton <will.newton@linaro.org>
19175
19176 * gdb.base/varargs.exp: Remove KFAILs for ARM.
19177
186fcde0
DE
191782014-07-26 Ludovic Courtès <ludo@gnu.org>
19179 Doug Evans <xdje42@gmail.com>
19180
19181 PR guile/17146
19182 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
19183
70509625
PA
191842014-07-25 Pedro Alves <palves@redhat.com>
19185
19186 * gdb.threads/signal-command-handle-nopass.c: New file.
19187 * gdb.threads/signal-command-handle-nopass.exp: New file.
19188 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
19189 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
19190 * gdb.threads/signal-delivered-right-thread.c: New file.
19191 * gdb.threads/signal-delivered-right-thread.exp: New file.
19192
c3f814a1
PA
191932014-07-25 Pedro Alves <palves@redhat.com>
19194
19195 * gdb.base/double-prompt-target-event-error.exp
19196 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
19197 match.
19198 (cancel_pagination_in_target_event): Rework double prompt
19199 detection.
19200 * gdb.base/paginate-after-ctrl-c-running.exp
19201 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
19202 <return>' match.
19203 * gdb.base/paginate-bg-execution.exp
19204 (test_bg_execution_pagination_return)
19205 (test_bg_execution_pagination_cancel): Remove '-notransfer
19206 <return>' matches.
19207 * gdb.base/paginate-execution-startup.exp
19208 (test_fg_execution_pagination_return)
19209 (test_fg_execution_pagination_cancel): Remove '-notransfer
19210 <return>' matches.
19211 * gdb.base/paginate-inferior-exit.exp
19212 (test_paginate_inferior_exited): Remove '-notransfer <return>'
19213 match.
19214 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
19215 * lib/gdb.exp (pagination_prompt): Run text through
19216 string_to_regexp.
19217 (gdb_test_multiple): Match $pagination_prompt instead of
19218 "<return>".
19219 (string_to_regexp): Move to lib/gdb-utils.exp.
19220
e214cf6c
JK
192212014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19222
19223 * gdb.arch/amd64-entry-value-paramref.S: New file.
19224 * gdb.arch/amd64-entry-value-paramref.cc: New file.
19225 * gdb.arch/amd64-entry-value-paramref.exp: New file.
19226 * gdb.arch/amd64-optimout-repeat.S: New file.
19227 * gdb.arch/amd64-optimout-repeat.c: New file.
19228 * gdb.arch/amd64-optimout-repeat.exp: New file.
19229
17d0c5c8
JK
192302014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19231
19232 PR gdb/17170
19233 * gdb.base/statistics.exp: New file.
19234
b8b8facf
DE
192352014-07-17 Doug Evans <dje@google.com>
19236
74b49205 19237 PR gdb/17170
b8b8facf
DE
19238 * gdb.base/maint.exp: Update testing of per-command stats.
19239
1b5d0ab3
PA
192402014-07-16 Pedro Alves <palves@redhat.com>
19241
19242 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
19243 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
19244 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
19245 (tfile_write_buf): New functions.
19246 (add_memory_block): Rewrite using the above.
19247 (adjust_function_address): New function.
19248 (FUNCTION_ADDRESS): New macro.
19249 (write_basic_trace_file): Remove short_x local, and use
19250 tfile_write_16. Change type of func_addr local to unsigned long
19251 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
19252 here. Cast argument of add_memory_block to char pointer.
19253 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
19254 (main): Remove parameters.
19255 * gdb.trace/tfile.exp: Remove nowarnings.
19256
4d974e88
SM
192572014-07-15 Simon Marchi <simon.marchi@ericsson.com>
19258
19259 * gdb.base/debug-expr.exp: Test string evaluation with
19260 "debug expression" on.
19261
41e99568
PA
192622014-07-15 Pedro Alves <palves@redhat.com>
19263
19264 * gdb.base/reread.exp: Use clean_restart.
19265
487d9753
PL
192662014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
19267
19268 * gdb.arch/avr-flash-qualifer.c: New.
19269 * gdb.arch/avr-flash-qualifer.exp: New.
19270
cc1c52ad
PA
192712014-07-14 Pedro Alves <palves@redhat.com>
19272
19273 * gdb.base/paginate-after-ctrl-c-running.c: New file.
19274 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
19275
1e973570
PA
192762014-07-14 Pedro Alves <palves@redhat.com>
19277
19278 * gdb.base/double-prompt-target-event-error.c: New file.
19279 * gdb.base/double-prompt-target-event-error.exp: New file.
19280
93d6eb10
PA
192812014-07-14 Pedro Alves <palves@redhat.com>
19282
19283 PR gdb/17072
19284 * gdb.base/paginate-inferior-exit.c: New file.
19285 * gdb.base/paginate-inferior-exit.exp: New file.
19286
0017922d
PA
192872014-07-14 Pedro Alves <palves@redhat.com>
19288
19289 PR gdb/17072
19290 * gdb.base/paginate-bg-execution.c: New file.
19291 * gdb.base/paginate-bg-execution.exp: New file.
19292
94696ad3
PA
192932014-07-14 Pedro Alves <palves@redhat.com>
19294
19295 PR gdb/17072
19296 * gdb.base/paginate-execution-startup.c: New file.
19297 * gdb.base/paginate-execution-startup.exp: New file.
19298 * lib/gdb.exp (pagination_prompt): New global.
19299 (default_gdb_spawn): New procedure, factored out from
19300 default_gdb_spawn.
19301 (default_gdb_start): Adjust to call default_gdb_spawn.
19302 (gdb_spawn): New procedure.
19303
bd293940
PA
193042014-07-14 Pedro Alves <palves@redhat.com>
19305
19306 * lib/gdb.exp (gdb_assert): New procedure.
19307 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
19308
c933f875
PA
193092014-07-14 Pedro Alves <palves@redhat.com>
19310
19311 * gdb.base/execution-termios.c: New file.
19312 * gdb.base/execution-termios.exp: New file.
19313
d98b7a16
TT
193142014-07-14 Tom Tromey <tromey@redhat.com>
19315
19316 * gdb.cp/vla-cxx.cc: New file.
19317 * gdb.cp/vla-cxx.exp: New file.
19318
548740d6
TT
193192014-07-14 Tom Tromey <tromey@redhat.com>
19320
19321 * gdb.reverse/rerun-prec.c: New file.
19322 * gdb.reverse/rerun-prec.exp: New file.
19323
a25eb028
MR
193242014-07-12 Maciej W. Rozycki <macro@mips.com>
19325 Maciej W. Rozycki <macro@codesourcery.com>
19326
19327 * lib/gdb-utils.exp: New file.
19328 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
19329 inline `gdb_init_command' processing.
19330 (gdb_start_cmd): Likewise.
19331 * lib/mi-support.exp (mi_run_cmd): Likewise.
19332 * README: Document `gdb_init_command' and `gdb_init_commands'.
19333
218c2655
JK
193342014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19335
19336 Fix false FAIL running under a very long directory name.
19337 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
19338 and "set print elements 10000". Twice.
19339
5401fde3
YQ
193402014-07-11 Yao Qi <yao@codesourcery.com>
19341
19342 * gdb.base/exprs.exp: "set print symbol off".
19343
e76126e8
PA
193442014-07-11 Pedro Alves <palves@redhat.com>
19345
19346 * gdb.threads/kill.c: New file.
19347 * gdb.threads/kill.exp: New file.
19348
2d6f0de6
YQ
193492014-07-10 Yao Qi <yao@codesourcery.com>
19350
19351 * gdb.trace/tfile.c (write_basic_trace_file)
19352 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
19353 address written to trace file.
19354
7180e04a
PA
193552014-07-09 Pedro Alves <palves@redhat.com>
19356
19357 * gdb.base/attach-wait-input.exp: New file.
19358 * gdb.base/attach-wait-input.c: New file.
19359
9a9a7608
AB
193602014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
19361
19362 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
19363 setting up test structures.
19364 (main): Call new test function.
19365 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
19366 test function, continue into test function and walk test
19367 structures.
19368
161ac41e
YQ
193692014-07-02 Yao Qi <yao@codesourcery.com>
19370
19371 * gdb.trace/entry-values.c: Define labels 'foo_start' and
19372 'bar_start' at the beginning of functions 'foo' and 'bar'
19373 respectively.
19374 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
19375 instead of 'foo' and 'bar'.
19376
1f267ae3
MM
193772014-07-08 Markus Metzger <markus.t.metzger@intel.com>
19378
19379 * gdb.btrace/segv.exp: New.
19380 * gdb.btrace/segv.c: New.
19381
2b239efb
LM
193822014-07-02 Luis Machado <lgustavo@codesourcery.com>
19383
19384 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
19385 instruction.
19386
cf363f18
MW
193872014-06-30 Mark Wielaard <mjw@redhat.com>
19388
19389 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
19390 vulture, vilify, villar): New volatile array constants.
19391 (vindictive, vegetation): New const volatile array constants.
19392 * gdb.base/volatile.exp: Test volatile and const volatile array
19393 types.
19394
aebf9d24
AA
193952014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
19396
19397 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
19398 target lacks support for awatch, rwatch, or hbreak.
19399
b67a2c6f
YQ
194002014-06-27 Yao Qi <yao@codesourcery.com>
19401
19402 * gdb.multi/dummy-frame-restore.exp: New.
19403 * gdb.multi/dummy-frame-restore.c: New.
19404
aef92902
MM
194052014-06-25 Markus Metzger <markus.t.metzger@intel.com>
19406
19407 * gdb.btrace/gcore.exp: New.
19408
8e9db26e
PA
194092014-06-23 Pedro Alves <palves@redhat.com>
19410
19411 * gdb.base/watchpoint-reuse-slot.c: New file.
19412 * gdb.base/watchpoint-reuse-slot.exp: New file.
19413
70afc5b7
SC
194142014-06-23 Siva Chandra Reddy <sivachandra@google.com>
19415
19416 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
19417 progspace's filename in 'info', 'enable' and 'disable' command
19418 tests.
19419
b972bd9c
JK
194202014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
19421
19422 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
19423 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19424 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
19425
125f8a3d
GB
194262014-06-20 Gary Benson <gbenson@redhat.com>
19427
19428 * gdb.arch/i386-avx.exp: Fix include file location.
19429 * gdb.arch/i386-sse.exp: Likewise.
19430
3ed9baed
IB
194312014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
19432
19433 * gdb.dlang/expression.exp: New file.
19434
034f788c
PA
194352014-06-19 Pedro Alves <palves@redhat.com>
19436
19437 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
19438 out from ...
19439 (top level): ... here. Iterate running tests under different
19440 scheduler-locking settings.
19441
45371d0c
LM
194422014-06-18 Luis Machado <lgustavo@codesourcery.com>
19443
19444 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
19445 to DW_FORM_addr and use non-zero addresses.
19446
5d376983
SC
194472014-06-18 Siva Chandra Reddy <sivachandra@google.com>
19448
19449 PR gdb/17017
19450 * gdb.python/py-xmethods.cc: Add global function call counters and
19451 increment them in their respective functions. Remove "cout"
19452 statements.
19453 * gdb.python/py-xmethods.exp: Make tests check the global function
19454 call counters instead of depending on inferior IO.
19455
a1aa2221
LM
194562014-06-18 Don Breazeal <donb@codesourcery.com>
19457
19458 * gdb.base/foll-fork.exp (default_fork_parent_follow):
19459 Deleted procedure.
19460 (explicit_fork_parent_follow): Deleted procedure.
19461 (explicit_fork_child_follow): Deleted procedure.
19462 (test_follow_fork): New procedure.
19463 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 19464 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
19465 procedure calls.
19466
0fc05997
YQ
194672014-06-17 Yao Qi <yao@codesourcery.com>
19468
19469 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
19470 CP1252.
19471
70795c52
LM
194722014-06-17 Luis Machado <lgustavo@codesourcery.com>
19473
19474 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
19475 Initialize ptr and S explicitly.
19476 (skip_type_update_when_not_use_rtti_test): Likewise.
19477
6be47f0c
KS
194782014-06-16 Keith Seitz <keiths@redhat.com>
19479
19480 PR mi/15863
19481 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
19482 the inferior is started.
19483
d03de421
PA
194842014-06-16 Pedro Alves <palves@redhat.com>
19485
19486 * gdb.base/break-main-file-remove-fail.c: New file.
19487 * gdb.base/break-main-file-remove-fail.exp: New file.
19488 * gdb.base/break-unload-file.exp: Use build_executable instead of
19489 prepare_for_testing.
19490 (test_break): New parameter "initial_load". Handle it.
19491 (top level): Add initial_load cmdline/file axis.
19492
f9579b99
TT
194932014-06-12 Tom Tromey <tromey@redhat.com>
19494
19495 * gdb.base/completion.exp: Don't use directory name in test.
19496
3657956b
GB
194972014-06-09 Gary Benson <gbenson@redhat.com>
19498
19499 * gdb.base/sigall.c [Functions to send signals]: Reorder to
19500 separate the always-available ANSI-standard signals from the
19501 signals that require checking.
19502 (main): Likewise.
19503 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
19504 Likewise.
19505 (main): Likewise.
19506
4186eb54
KS
195072014-06-07 Keith Seitz <keiths@redhat.com>
19508
19509 Revert:
19510 PR c++/16253
19511 * gdb.cp/var-tag.cc: New file.
19512 * gdb.cp/var-tag.exp: New file.
19513 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19514 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19515 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19516 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19517
25326a28 195182014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
19519
19520 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
19521
829155c9
PA
195222014-06-06 Pedro Alves <palves@redhat.com>
19523
19524 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
19525 in target debug output instead of looking at RSP packets,
19526 disabling the test on any target that uses hardware stepping.
19527 Update comments.
19528
61c8d22e
PA
195292014-06-06 Pedro Alves <palves@redhat.com>
19530
19531 * gdb.base/break-unload-file.exp: Fix typo.
19532
d9a47287
YQ
195332014-06-06 Yao Qi <yao@codesourcery.com>
19534
19535 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
19536 from "jit_function" to "^jit_function".
19537
e5e01dbf
YQ
195382014-06-06 Yao Qi <yao@codesourcery.com>
19539
19540 * gdb.base/async.c (foo): Add one statement.
19541 * gdb.base/async.exp: Get the next instruction address and
19542 match the output of "nexti" by instruction address. Match
19543 the hex address in the output of "finish".
19544
73ba372c
GB
195452014-06-06 Gary Benson <gbenson@redhat.com>
19546
19547 * gdb.base/call-signals.c: Remove preprocessor conditionals
19548 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
19549 SIGSEGV and SIGTERM.
19550 * gdb.base/sigall.c: Likewise.
19551 * gdb.base/unwindonsignal.c: Likewise.
19552 * gdb.reverse/sigall-reverse.c: Likewise.
19553
831517df
YQ
195542014-06-06 Yao Qi <yao@codesourcery.com>
19555
19556 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
19557 readable, skip the test.
19558
b8b91e98
YQ
195592014-06-06 Yao Qi <yao@codesourcery.com>
19560
19561 * gdb.threads/staticthreads.c (thread_function): Move the line
19562 setting breakpoint on forward.
19563 * gdb.threads/staticthreads.exp: Update comments.
19564
fb934770
LC
195652014-06-05 Ludovic Courtès <ludo@gnu.org>
19566
19567 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
19568 "history-append! type error".
19569
6ef284bd
SM
195702014-06-05 Simon Marchi <simon.marchi@ericsson.com>
19571
19572 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
19573 erroneous dprintf expected input.
19574
a872e241
DE
195752014-06-04 Doug Evans <xdje42@gmail.com>
19576
19577 * gdb.guile/scm-generics.exp: Delete.
19578
16f691fb
DE
195792014-06-04 Doug Evans <xdje42@gmail.com>
19580
19581 * gdb.guile/scm-breakpoint.exp: Update.
19582 Add tests for breakpoint registration.
19583
012370f6
TT
195842014-06-04 Tom Tromey <tromey@redhat.com>
19585
19586 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
19587 VLA-in-union.
19588 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
19589 inner_vla_struct, vla_union types. Initialize objects of those
19590 types and compute their sizes.
19591
9f5a4cef
HZ
195922014-06-04 Nathan Sidwell <nathan@codesourcery.com>
19593 Hui Zhu <hui@codesourcery.com>
19594
19595 * gdb.base/fileio.exp: Add test for shell not available as well as
19596 available.
19597 * gdb.base/fileio.c (test_system): Check for shell twice.
19598
90a45c4d
YQ
195992014-06-04 Yao Qi <yao@codesourcery.com>
19600
19601 * gdb.base/auto-connect-native-target.exp: Remove redundant
19602 space from the regexp pattern.
19603
70017e41
YQ
196042014-06-04 Yao Qi <yao@codesourcery.com>
19605
19606 * gdb.base/default.exp: Replace "child" with "native" in
19607 regexp pattern.
19608
883964a7
SC
196092014-06-03 Siva Chandra Reddy <sivachandra@google.com>
19610
19611 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
19612 * gdb.python/py-xmethods.exp: New tests to test xmethods.
19613 * gdb.python/py-xmethods.py: Python script supporting the
19614 new testcase and tests.
19615
ef370185
JB
196162014-06-03 Joel Brobecker <brobecker@adacore.com>
19617 Pedro Alves <palves@redhat.com>
19618
19619 PR breakpoints/17000
19620 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
19621 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
19622
1e2ccb61
BM
196232014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
19624
19625 * gdb.base/subst.exp: Add tests to verify partial path matching
19626 output.
19627
c6ec5ab2
PA
196282014-06-03 Pedro Alves <palves@redhat.com>
19629
19630 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
19631 target that doesn't use software single-stepping.
19632
835c559f
PA
196332014-06-03 Pedro Alves <palves@redhat.com>
19634
19635 PR breakpoints/17000
19636 * gdb.base/sss-bp-on-user-bp-2.c: New file.
19637 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
19638
06eb1586
DE
196392014-06-02 Doug Evans <xdje42@gmail.com>
19640
19641 * gdb.guile/scm-parameter.exp: New file.
19642
e698b8c4
DE
196432014-06-02 Doug Evans <xdje42@gmail.com>
19644
19645 * gdb.guile/scm-cmd.c: New file.
19646 * gdb.guile/scm-cmd.exp: New file.
19647
ded03782
DE
196482014-06-02 Doug Evans <xdje42@gmail.com>
19649
19650 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
19651 pretty-printer lookup.
19652 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
19653 (make-pp_s-printer): Call it.
19654 (make-pretty-printer-from-dict): New function.
19655 (lookup-pretty-printer-maker-from-dict): New function.
19656 (*pretty-printer*): Simplify.
19657 (make-objfile-pp_s-printer): New function.
19658 (install-objfile-pretty-printers!): New function.
19659 (make-progspace-pp_s-printer): New function.
19660 (install-progspace-pretty-printers!): New function.
19661 * gdb.guile/scm-progspace.c: New file.
19662 * gdb.guile/scm-progspace.exp: New file.
19663
41fac0cf
PA
196642014-06-02 Pedro Alves <palves@redhat.com>
19665
19666 * gdb.base/dprintf-bp-same-addr.c: New file.
19667 * gdb.base/dprintf-bp-same-addr.exp: New file.
19668
96ae5695
EBM
196692014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19670
19671 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
19672 * gdb.arch/powerpc-power.s: Likewise.
19673
da02b3a8
JB
196742014-06-02 Joel Brobecker <brobecker@adacore.com>
19675
19676 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
19677
c72b2e7b
YQ
196782014-06-01 Yao Qi <yao@codesourcery.com>
19679
19680 * gdb.base/watchpoint.exp (test_watch_location): Check null
19681 pointer can be dereferenced. If not, do the test, otherwise
19682 skip it.
19683
53e8a631
AB
196842014-05-30 Andrew Burgess <aburgess@broadcom.com>
19685
19686 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
19687 results.
19688 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
19689
938f0e2f
AB
196902014-05-30 Andrew Burgess <aburgess@broadcom.com>
19691
19692 * gdb.arch/amd64-invalid-stack-middle.S: New file.
19693 * gdb.arch/amd64-invalid-stack-middle.c: New file.
19694 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
19695 * gdb.arch/amd64-invalid-stack-top.c: New file.
19696 * gdb.arch/amd64-invalid-stack-top.exp: New file.
19697
9ba6657a
PA
196982014-05-30 Pedro Alves <palves@redhat.com>
19699
19700 PR breakpoints/17000
19701 * gdb.base/sss-bp-on-user-bp.c: New file.
19702 * gdb.base/sss-bp-on-user-bp.exp: New file.
19703
522c09bf
DB
197042014-05-30 David Blaikie <dblaikie@gmail.com>
19705
19706 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
19707 gnu_inline semantics via attribute.
19708 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
19709 source explicitly specifies the required semantics.
19710
bf4ef81e
MR
197112014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
19712
19713 * gdb.reverse/sigall-reverse.exp: Fix a typo.
19714
329ea579
PA
197152014-05-29 Pedro Alves <palves@redhat.com>
19716 Tom Tromey <tromey@redhat.com>
19717
19718 * gdb.base/async-shell.exp: Don't enable target-async.
19719 * gdb.base/async.exp
19720 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
19721 parameter. Adjust.
19722 (top level): Don't test with "target-async".
19723 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
19724 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
19725 * gdb.base/inferior-died.exp: Don't enable target-async.
19726 * gdb.base/interrupt-noterm.exp: Likewise.
19727 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
19728 * gdb.mi/mi-nonstop-exit.exp: Likewise.
19729 * gdb.mi/mi-nonstop.exp: Likewise.
19730 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
19731 * gdb.mi/mi-nsintrall.exp: Likewise.
19732 * gdb.mi/mi-nsmoribund.exp: Likewise.
19733 * gdb.mi/mi-nsthrexec.exp: Likewise.
19734 * gdb.mi/mi-watch-nonstop.exp: Likewise.
19735 * gdb.multi/watchpoint-multi.exp: Adjust comment.
19736 * gdb.python/py-evsignal.exp: Don't enable target-async.
19737 * gdb.python/py-evthreads.exp: Likewise.
19738 * gdb.python/py-prompt.exp: Likewise.
19739 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
19740 * gdb.server/solib-list.exp: Don't enable target-async.
19741 * gdb.threads/thread-specific-bp.exp: Likewise.
19742 * lib/mi-support.exp: Adjust to use mi-async.
19743
fd664c91
PA
197442014-05-29 Pedro Alves <palves@redhat.com>
19745
19746 PR gdb/13860
19747 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
19748 reason, even in sync mode.
19749
251bde03
PA
197502014-05-29 Pedro Alves <palves@redhat.com>
19751 Hui Zhu <hui@codesourcery.com>
19752
19753 PR PR15693
19754 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
19755 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
19756 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
19757 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
19758
7f3c0343
JB
197592014-05-28 Joel Brobecker <brobecker@adacore.com>
19760
19761 * config/monitor.exp (gdb_target_monitor): Replace use of
19762 "set remotebaud" by "set serial baud".
19763
b2715b27
AW
197642014-05-26 Andy Wingo <wingo@igalia.com>
19765
19766 * gdb.guile/scm-breakpoint.exp:
19767 * gdb.guile/scm-gsmob.exp: Update to use plain old object
19768 properties instead of gdb-object-properties.
19769
498a4489
YQ
197702014-05-26 Yao Qi <yao@codesourcery.com>
19771
19772 * gdb.server/no-thread-db.exp: Specify source file name
19773 explicitly when setting a breakpoint.
19774
589fdceb
MM
197752014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19776
19777 * gdb.btrace/vdso.c: New.
19778 * gdb.btrace/vdso.exp: New.
19779
e9089e05
MM
197802014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19781
19782 * gdb.base/gcore.exp (capture_command_output): Move ...
19783 * lib/gdb.exp (capture_command_output): ... here.
19784
67b5c0c1
MM
197852014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19786
19787 * gdb.btrace/data.exp: Test memory access during btrace replay.
19788
a2199296
SM
197892014-05-22 Simon Marchi <simon.marchi@ericsson.com>
19790
19791 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
19792
17b2616c
PA
197932014-05-21 Pedro Alves <palves@redhat.com>
19794
19795 PR gdb/13860
19796 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
19797 (top level): Test that output related to execution commands is
19798 sent to the console with CLI commands, but not with MI commands.
19799 Test that breakpoint events are always mirrored to the console.
19800 Also expect the new source line to be output after a "next" in
19801 async mode too. Make it a pass/fail test.
19802 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
19803 output.
19804 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
19805
5166082f
PA
198062014-05-21 Pedro Alves <palves@redhat.com>
19807
19808 * gdb.base/list.exp (build_pattern, test_list): New procedures.
19809 Use them to test variations of "list" after reaching a breakpoint.
19810 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
19811 Test "list" with listsize 10 after reaching a breakpoint.
19812 * gdb.python/python.exp (decode_line current location line
19813 number): Adjust expected line number.
19814
2f25d70f
SM
198152014-05-21 Simon Marchi <simon.marchi@ericsson.com>
19816
19817 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
19818 behavior for $args, pass it directly to "run".
19819
ff604a67
MR
198202014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
19821
19822 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
19823 30000 to 65536.
19824
6a3cb8e8
PA
198252014-05-21 Pedro Alves <palves@redhat.com>
19826
19827 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
19828 auto-connect-native-target off".
19829 * gdb.base/auto-connect-native-target.c: New file.
19830 * gdb.base/auto-connect-native-target.exp: New file.
19831
4ebfc96e
PA
198322014-05-21 Pedro Alves <palves@redhat.com>
19833
19834 * gdb.base/default.exp: Test "target native" instead of "target
19835 child".
19836
36d46afb
MW
198372014-05-21 Mark Wielaard <mjw@redhat.com>
19838
19839 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19840
5876f503
JK
198412014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19842
19843 Fix TLS access for -static -pthread.
19844 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
19845 <HAVE_TLS> (thread_function, main): Initialize it.
19846 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
19847 Add clean_restart.
19848 <$have_tls != "">: Check TLSVAR.
19849
0256a6ac
PA
198502014-05-21 Pedro Alves <palves@redhat.com>
19851
19852 * gdb.base/dcache-line-read-error.c: New.
19853 * gdb.base/dcache-line-read-error.exp: New.
19854
936d2992
PA
198552014-05-20 Pedro Alves <palves@redhat.com>
19856
19857 * gdb.base/compare-sections.c: New file.
19858 * gdb.base/compare-sections.exp: New file.
19859
802e8e6d
PA
198602014-05-20 Pedro Alves <palves@redhat.com>
19861
19862 * gdb.base/break-idempotent.c: New file.
19863 * gdb.base/break-idempotent.exp: New file.
19864
e59fa00f
MM
198652014-05-20 Markus Metzger <markus.t.metzger@intel.com>
19866
19867 * gdb.btrace/nohist.exp: New.
19868
8b696e31
YQ
198692014-05-20 Yao Qi <yao@codesourcery.com>
19870
19871 * lib/gdb.exp (gdb_init): Set timeout if test file is under
19872 gdb.reverse directory and gdb_reverse_timeout exists in board
19873 setting.
19874 * README: Document gdb_reverse_timeout.
19875
73c9764f
YQ
198762014-05-20 Yao Qi <yao@codesourcery.com>
19877
19878 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
19879 'test_file_name'. Treat args as a string instead of a list.
19880 (gdb_init): Rename argument 'args' by 'test_file_name'.
19881
f1f4348a
JK
198822014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
19883
19884 * gdb.arch/powerpc-power.exp: New file.
19885 * gdb.arch/powerpc-power.s: New file.
19886
0dbe70ce
DE
198872014-05-16 Doug Evans <dje@google.com>
19888
19889 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
19890 * gdb.base/completion.exp: Check that all expected files exist
19891 before doing file completion.
0dbe70ce 19892
8d551b02
DE
198932014-05-16 Doug Evans <dje@google.com>
19894
19895 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
19896 Update.
19897 (do_syscall_tests_without_xml): Update.
19898
73eb7709
PA
198992014-05-16 Pedro Alves <palves@redhat.com>
19900
19901 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
19902 instead of "unknown output after running".
19903
3fae92fc
YQ
199042014-05-16 Yao Qi <yao@codesourcery.com>
19905
19906 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
19907 file1.txt from host at the end.
19908 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19909
c2b2ccc5
DE
199102014-05-15 Doug Evans <dje@google.com>
19911
19912 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
19913 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
19914 loading file. Add test for TU lookup.
19915
8c217a4b
SM
199162014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19917
19918 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
19919 calling "-exec-arguments" or "set args" before running the
19920 inferior.
19921
3deb39c6
SM
199222014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19923
19924 * lib/mi-support.exp (mi_expect_stop): Expect message for
19925 inferiors that exit with non-zero exit code.
19926
71a79f8c
YQ
199272014-05-14 Yao Qi <yao@codesourcery.com>
19928
19929 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
19930 match absolute path on remote host.
19931 (test_file_list_exec_source_files): Remove "/" from the
19932 pattern.
19933
f23fcd46
YQ
199342014-05-14 Yao Qi <yao@codesourcery.com>
19935
19936 * boards/local-remote-host-notty.exp (${board}_file): New
19937 proc.
19938
9404b58f
KM
199392014-05-07 Kyle McMartin <kyle@redhat.com>
19940
19941 Pushed by Joel Brobecker <brobecker@adacore.com>.
19942 * gdb.arch/aarch64-atomic-inst.c: New file.
19943 * gdb.arch/aarch64-atomic-inst.exp: New file.
19944
5e45f04c
YQ
199452014-05-07 Yao Qi <yao@codesourcery.com>
19946
19947 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
19948 in current context" too.
19949
c888a17d
KS
199502014-05-05 Keith Seitz <keiths@redhat.com>
19951
19952 * gdb.linespec/ls-dollar.exp: Add test for linespec
19953 file:convenience_variable.
19954
290a839c
YQ
199552014-05-05 Yao Qi <yao@codesourcery.com>
19956
19957 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
19958 traceframes into tfile and ctf trace files. Read data from
19959 trace file and test collected data.
19960 (gdb_collect_locals_test): Likewise.
19961 (gdb_unavailable_registers_test): Likewise.
19962 (gdb_unavailable_floats): Likewise.
19963 (gdb_collect_globals_test): Likewise.
19964 (top-level): Append "ctf" to trace_file_targets if GDB
19965 supports.
19966
b5262cd0
YQ
199672014-05-05 Yao Qi <yao@codesourcery.com>
19968
19969 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
19970 code to ...
19971 (gdb_collect_args_test_1): ... it. New proc.
19972 (gdb_collect_locals_test): Move some code to ...
19973 (gdb_collect_locals_test_1): ... it. New proc.
19974 (gdb_unavailable_registers_test): Move some code to ...
19975 (gdb_unavailable_registers_test_1): ... it. New proc.
19976 (gdb_unavailable_floats): Move some code to ...
19977 (gdb_unavailable_floats_1): ... it. New proc.
19978
30a1e6cc
SDJ
199792014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19980
19981 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
19982 probes to test for bitness recognition.
19983 * gdb.arch/amd64-stap-optional-prefix.exp
19984 (test_probe_value_without_reg): New procedure.
19985 Add code to test for different kinds of bitness.
19986
f33da99a
SDJ
199872014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19988
19989 PR breakpoints/16889
19990 * gdb.arch/amd64-stap-optional-prefix.S: New file.
19991 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19992
5b80f00d
PA
199932014-05-01 Pedro Alves <palves@redhat.com>
19994
19995 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
19996 gdb_file_cmd if no file is specified.
19997 * boards/native-extended-gdbserver.exp (gdb_load): Use the
19998 last_loaded_file to set the remote exec-file.
19999
f8c2a73c
PA
200002014-05-01 Pedro Alves <palves@redhat.com>
20001
20002 * boards/local-remote-host.exp: New file.
20003
be6e8ac7
PA
200042014-05-01 Pedro Alves <palves@redhat.com>
20005
20006 * boards/local-remote-host.exp: Rename to ...
20007 * boards/local-remote-host-notty.exp: ... this.
20008
cac0dc8f
JB
200092014-04-28 Joel Brobecker <brobecker@adacore.com>
20010
20011 * gdb.ada/dyn_arrayidx: New testcase.
20012
9730e6cc
YQ
200132014-04-26 Yao Qi <yao@codesourcery.com>
20014
20015 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
20016 and compute the length of function main. Save it in
20017 $main_length.
20018 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
20019 (top-level): Use gdb_compile to compile objects into
20020 executable and restart GDB. Remove invocation to
20021 prepare_for_testing.
20022
7ae1a6a6
PA
200232014-04-25 Simon Marchi <simon.marchi@ericsson.com>
20024 Pedro Alves <palves@redhat.com>
20025
20026 PR server/16255
20027 * gdb.multi/multi-attach.c: New file.
20028 * gdb.multi/multi-attach.exp: New file.
20029
4082afcc
PA
200302014-04-25 Pedro Alves <palves@redhat.com>
20031
20032 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
20033 user.
20034 (top level): Test that "set remote conditional-breakpoints-packet
20035 off" works as intended.
20036 * gdb.base/dprintf.exp: Test that "set remote
20037 breakpoint-commands-packet off" works as intended.
20038 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
20039 New function.
20040 (top level): Call it.
20041 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
20042 remote fast-tracepoints-packet off" works as intended.
20043 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
20044 * lib/gdb.exp (gdb_is_target_remote): ... here.
20045
2abc3f8d
DB
200462014-04-24 David Blaikie <dblaikie@gmail.com>
20047
20048 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
20049 ensure clang would not discard them.
20050 * gdb.base/gdbvars.c: Ditto.
20051 * gdb.base/memattr.c: Ditto.
20052 * gdb.base/whatis.c: Ditto.
20053 * gdb.python/py-prettyprint.c: Ditto.
20054 * gdb.trace/actions.c: Ditto.
20055 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
20056 ensure clang would not discard it.
20057
bfd39632
DB
200582014-04-24 David Blaikie <dblaikie@gmail.com>
20059
20060 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
20061 clang to emit the full definition of type required by the test
20062 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
20063
22842ff6
DB
200642014-04-24 David Blaikie <dblaikie@gmail.com>
20065
20066 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
20067 coax Clang into emitting the definition of the type.
20068 * gdb.cp/pr10728-x.h (y): Ditto.
20069 * gdb.cp/pr10728-y.cc (y): Ditto.
20070
c2e827ad
DB
200712014-04-24 David Blaikie <dblaikie@gmail.com>
20072
20073 * gdb.base/label.exp: XFAIL label related tests under Clang.
20074 * gdb.cp/cplabel.exp: Ditto.
20075 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
20076 under Clang those using labels.
20077
4c2d33e7
YQ
200782014-04-25 Yao Qi <yao@codesourcery.com>
20079
20080 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
20081 double_label.
20082 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
20083 partial_label and double_label.
20084
56083b99
DB
200852014-04-24 David Blaikie <dblaikie@gmail.com>
20086
20087 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
20088
25d4e99d
DB
200892014-04-24 David Blaikie <dblaikie@gmail.com>
20090
20091 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
20092 of the function to work across GCC and Clang.
20093 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
20094 pointer types (const void ** const V void **).
20095
01f9f808
MS
200962014-04-24 Michael Sturm <michael.sturm@mintel.com>
20097 Walfred Tedeschi <walfred.tedeschi@intel.com>
20098
20099 * Makefile.in (EXECUTABLES): Added i386-avx512.
20100 * gdb.arch/i386-avx512.c: New file.
20101 * gdb.arch/i386-avx512.exp: Likewise.
20102
4b48d439
KS
201032014-04-23 Keith Seitz <keiths@redhat.com>
20104
20105 * lib/mi-support.exp (mi_list_breakpoints): Delete.
20106 (mi_make_breakpoint_table): New procedure.
20107 (mi_create_breakpoint): Use mi_make_breakpoint
20108 and return the result.
20109 (mi_make_breakpoint): New procedure.
20110 (mi_build_kv_pairs): New procedure.
20111
20112 * gdb.mi/mi-break.exp: Remove unused globals,
20113 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
20114 All callers updated.
20115 * gdb.mi/mi-dprintf.exp: Use variable to track command
20116 number.
20117 Update all callers of mi_create_breakpoint and use
20118 mi_make_breakpoint_table.
20119 Remove any unused global variables.
20120 * gdb.mi/mi-nonstop.exp: Likewise.
20121 * gdb.mi/mi-nsintrall.exp: Likewise.
20122 * gdb.mi/mi-nsmoribund.exp: Likewise.
20123 * gdb.mi/mi-nsthrexec.exp: Likewise.
20124 * gdb.mi/mi-reverse.exp: Likewise.
20125 * gdb.mi/mi-simplerun.exp: Likewise.
20126 * gdb.mi/mi-stepn.exp: Likewise.
20127 * gdb.mi/mi-syn-frame.exp: Likewise.
20128 * gdb.mi/mi-until.exp: Likewise.
20129 * gdb.mi/mi-var-cp.exp: Likewise.
20130 * gdb.mi/mi-var-display.exp: Likewise.
20131 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
20132 * gdb.mi/mi2-var-child.exp: Likewise.
20133 * gdb.mi/mi-vla-c99.exp: Likewise.
20134 * lib/mi-support.exp: Likewise.
20135
20136 From Ian Lance Taylor <iant@cygnus.com>:
20137 * lib/gdb.exp (parse_args): New procedure.
20138
08351840
PA
201392014-04-23 Pedro Alves <palves@redhat.com>
20140
20141 * gdb.base/break-unload-file.c: New file.
20142 * gdb.base/break-unload-file.exp: New file.
20143 * gdb.base/sym-file-lib.c (baz): New function.
20144 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
20145 field.
20146 (load): Store the segment's mapped size.
20147 (unload): New function.
20148 (unload_shlib): New function.
20149 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
20150 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
20151 set a breakpoint at baz, and call it.
20152 * gdb.base/sym-file.exp: New tests for stale breakpoint
20153 instructions.
20154
076855f9
PA
201552014-04-23 Pedro Alves <palves@redhat.com>
20156
20157 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
20158 * gdb.base/hbreak-in-shr-unsupported.c: New file.
20159 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
20160 * gdb.base/hbreak-unmapped.c: New file.
20161 * gdb.base/hbreak-unmapped.exp: New file.
20162 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
20163 * lib/gdb.exp (gdb_is_target_remote): ... here.
20164
483805cf
PA
201652014-04-22 Pedro Alves <palves@redhat.com>
20166
20167 * gdb.base/consecutive-step-over.c: New file.
20168 * gdb.base/consecutive-step-over.exp: New file.
20169
06d97543
PA
201702014-04-22 Pedro Alves <palves@redhat.com>
20171
20172 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
20173 instead of send_gdb/gdb_expect.
20174
b4429ea2
YQ
201752014-04-22 Yao Qi <yao@codesourcery.com>
20176
20177 * lib/trace-support.exp (generate_tracefile): New procedure.
20178 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
20179 return 0.
20180 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
20181 if generate_tracefile returns 1.
20182
51d48146
PA
201832014-04-18 Tom Tromey <palves@redhat.com>
20184 Pedro alves <tromey@redhat.com>
20185
20186 PR backtrace/15558
20187 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
20188 with a backtrace limit.
20189 * gdb.python/py-frame-inline.exp: Test running to an inline
20190 function with a backtrace limit, and printing the newest frame.
20191 * gdb.python/py-frame-inline.c (main): Call f.
20192
bd1dce5f
MS
201932014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20194
20195 * gdb.java/jnpe.exp: Drop srcdir from untested path.
20196
40d1a503
MS
201972014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20198
20199 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
20200 Drop prefix from unsupported source file path.
20201
389b98f7
YQ
202022014-04-17 Yao Qi <yao@codesourcery.com>
20203
20204 * lib/gdb.exp (with_target_charset): New proc.
20205 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
20206 with_target_charset.
20207 (test_print_strings): Likewise.
20208 (test_repeat_bytes): Likewise.
20209 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
20210 for some tests.
20211
22869d73
KS
202122014-04-16 Keith Seitz <keiths@redhat.com>
20213
20214 PR gdb/15827
20215 * gdb.dwarf2/corrupt.c: New file.
20216 * gdb.dwarf2/corrupt.exp: New file.
20217
c4f87ca6
KS
202182014-04-16 Keith Seitz <keiths@redhat.com>
20219
20220 PR c++/16597
20221 * gdb.cp/namelessclass.cc: New file.
20222 * gdb.cp/namelessclass.exp: New file.
20223 * gdb.cp/namelessclass.S: New file.
20224
ab19de87
DE
202252014-04-16 Doug Evans <dje@google.com>
20226
20227 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
20228 Add comment.
20229 (gdbserver_default_get_comm_port): New function.
20230 (gdbserver_start): Check if board file provided
20231 "gdbserver,get_comm_port" and use it if so.
20232 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
20233 (gdb,socketport): Set to "stdio".
20234 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
20235 (stdio_gdbserver_template): Delete.
20236 (${board}_get_remote_address): Update.
20237 (${board}_build_remote_cmd): Delete.
20238 (${board}_get_comm_port): New function.
20239 (${board}_spawn): Update.
20240 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
20241 Delete.
20242 (${board}_get_remote_address): Update.
20243 (${board}_get_comm_port): New function.
20244
fc98a809
AB
202452014-04-16 Andrew Burgess <aburgess@broadcom.com>
20246
20247 * gdb.base/memattr.exp: Improve regexps to handle memory regions
20248 appearing in any order.
20249
87fd9e6e
DE
202502014-04-15 Doug Evans <dje@google.com>
20251
20252 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
20253 uninitialized value of "description".
20254
099fc3ea
KS
202552014-04-15 Keith Seitz <keiths@redhat.com>
20256
20257 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
20258 Remove unused globals.
20259 (test_running_the_program): Likewise.
20260 (test_controlled_execution): Likewise.
20261 (test_controlling_breakpoints): Likewise.
20262 (test_program_termination): Likewise.
20263
5da151d4
KS
202642014-04-15 Keith Seitz <keiths@redhat.com>
20265
20266 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
20267 unused globals.
20268 (test_rbreak_creation_and_listing): Likewise.
20269 (test_ignore_count): Likewise.
20270 (test_error): Likewise.
20271
35e5d2f0
PA
202722014-04-15 Pedro Alves <palves@redhat.com>
20273
20274 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
20275 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
20276 sym-file-loader.c.
20277 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20278 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20279 to sym-file-loader.c.
20280 (struct library): Forward declare.
20281 (load_shlib, lookup_function): Change prototypes.
20282 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20283 (translate_offset): Remove declarations.
20284 (get_text_addr): New declaration.
20285 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
20286 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
20287 sym-file-loader.h.
20288 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20289 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20290 here from sym-file-loader.h.
20291 (struct library): New structure.
20292 (load_shlib, lookup_function): Change prototypes and adjust to
20293 work with a struct library.
20294 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20295 (translate_offset): Make static.
20296 (get_text_addr): New function.
20297 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
20298
eb4c1710
PA
202992014-04-15 Pedro Alves <palves@redhat.com>
20300
20301 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
20302
2d1baf52
PA
203032014-04-15 Pedro Alves <palves@redhat.com>
20304
20305 * gdb.base/sym-file-loader.c: Include <limits.h>.
20306 (SELF_LINK): New define.
20307 (get_origin): New function.
20308 (load_shlib): Use it.
20309 * gdb.base/sym-file.exp: Don't early return if the target is
20310 remote. Use runto_main, and issue fail is that fails. Use
20311 gdb_load_shlibs.
20312 (shlib_name): Delete.
20313 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
20314
7dd6df01
PA
203152014-04-15 Pedro Alves <palves@redhat.com>
20316
20317 * gdb.base/sym-file.exp: Remove regex characters from test
20318 message. Don't refer to breakpoint numbers in test messages.
20319
b50c8614
KS
203202014-04-14 Keith Seitz <keiths@redhat.com>
20321
20322 PR c++/16253
20323 * gdb.cp/var-tag.cc: New file.
20324 * gdb.cp/var-tag.exp: New file.
20325 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20326 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20327 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20328 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20329
3d567982
TT
203302014-04-14 Tom Tromey <tromey@redhat.com>
20331
20332 * gdb.cp/classes.exp (test_enums): Handle underlying type.
20333 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
20334 type.
20335 * gdb.cp/enum-class.exp: New file.
20336 * gdb.cp/enum-class.cc: New file.
20337
0626fc76
TT
203382014-04-14 Tom Tromey <tromey@redhat.com>
20339
20340 * gdb.dwarf2/enum-type.exp: New file.
20341
dca325b3
SA
203422014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20343
20344 * gdb.mi/mi-vla-c99.exp: New file.
20345 * gdb.mi/vla.c: New file.
20346
5854b38a
SA
203472014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20348
20349 * gdb.base/vla-datatypes.c: New file.
20350 * gdb.base/vla-datatypes.exp: New file.
20351
463bb957
SA
203522014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20353
20354 * gdb.base/vla-ptr.c: New file.
20355 * gdb.base/vla-ptr.exp: New file.
20356
3dd170be
SA
203572014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20358
20359 * gdb.dwarf2/count.exp: New file.
20360
5ecaaa66
SA
203612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20362
20363 * gdb.base/vla-sideeffect.c: New file.
20364 * gdb.base/vla-sideeffect.exp: New file.
20365
41f1ada5
DB
203662014-04-14 David Blaikie <dblaikie@gmail.com>
20367
20368 * gdb.mi/non-stop.c: Add return value for non-void function return
20369 statement.
20370 * gdb.threads/staticthreads.c: Ditto.
20371
0be03e84
DE
203722014-04-12 Siva Chandra Reddy <sivachandra@google.com>
20373 Doug Evans <xdje42@gmail.com>
20374
20375 * gdb.guile/scm-value.c: Improve test case.
20376 * gdb.guile/scm-value.exp: Add new test.
20377
f180a1fb
DB
203782014-04-11 David Blaikie <dblaikie@gmail.com>
20379
20380 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
20381 override Clang's default.
20382
6b662e19
JB
203832014-04-11 Joel Brobecker <brobecker@adacore.com>
20384
20385 Revert the following changes (regressions):
20386
20387 * gdb.base/vla-sideeffect.c: New file.
20388 * gdb.base/vla-sideeffect.exp: New file.
20389
20390 * gdb.dwarf2/count.exp: New file.
20391
20392 * gdb.base/vla-multi.c: New file.
20393 * gdb.base/vla-multi.exp: New file.
20394
20395 * gdb.base/vla-ptr.c: New file.
20396 * gdb.base/vla-ptr.exp: New file.
20397
20398 * gdb.base/vla-datatypes.c: New file.
20399 * gdb.base/vla-datatypes.exp: New file.
20400
20401 * gdb.mi/mi-vla-c99.exp: New file.
20402 * gdb.mi/vla.c: New file.
20403
245a5f0b
KS
204042014-04-11 Keith Seitz <keiths@redhat.com>
20405
20406 PR c++/16675
20407 * gdb.cp/cpsizeof.exp: New file.
20408 * gdb.cp/cpsizeof.cc: New file.
20409
58a84dcf
SA
204102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20411
191a8a90
JB
20412 * gdb.mi/mi-vla-c99.exp: New file.
20413 * gdb.mi/vla.c: New file.
58a84dcf 20414
c8655f75
SA
204152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20416
20417 * gdb.base/vla-datatypes.c: New file.
20418 * gdb.base/vla-datatypes.exp: New file.
20419
024e13b4
SA
204202014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20421
20422 * gdb.base/vla-ptr.c: New file.
20423 * gdb.base/vla-ptr.exp: New file.
20424
1a237e0e
SA
204252014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20426
20427 * gdb.base/vla-multi.c: New file.
20428 * gdb.base/vla-multi.exp: New file.
20429
504f3432
SA
204302014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20431
20432 * gdb.dwarf2/count.exp: New file.
20433
3bce8237
SA
204342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20435
191a8a90
JB
20436 * gdb.base/vla-sideeffect.c: New file.
20437 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 20438
322f9c21
YQ
204392014-04-11 Yao Qi <yao@codesourcery.com>
20440
20441 * gdb.base/completion.exp: Check file exists before running tests
20442 on file completion.
20443
d708bcd1
PA
204442014-04-10 Pedro Alves <palves@redhat.com>
20445
20446 * gdb.base/cond-eval-mode.c: New file.
20447 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
20448 prepare_for_testing to build the new file. Check result of
20449 runto_main.
20450 (test_break, test_watch): New procedures.
20451 (top level): Use them.
20452
ae1d2761
PM
204532014-04-08 Pierre Muller <muller@sourceware.org>
20454
20455 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
20456 Ctrl-V use for mingw hosts.
20457
7af389b8
SC
204582014-04-07 Siva Chandra Reddy <sivachandra@google.com>
20459
20460 * gdb.python/py-value.c: Improve test case.
20461 * gdb.python/py-value.exp: Add new test.
20462
5e703181
DE
204632014-04-07 David Blaikie <dblaikie@gmail.com>
20464
20465 * lib/compiler.c: Identify the clang compiler.
20466 * lib/compiler.cc: Ditto.
20467
9810b410
YQ
204682014-04-03 Yao Qi <yao@codesourcery.com>
20469
20470 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
20471
98d1b8dc
AB
204722014-04-01 Anton Blanchard <anton@samba.org>
20473
20474 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
20475 messages unique.
20476
3114cea1
AB
204772014-04-01 Anton Blanchard <anton@samba.org>
20478
20479 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
20480 prepare_for_testing.
20481
62f7182c
AB
204822014-04-01 Anton Blanchard <anton@samba.org>
20483
20484 * gdb.arch/ppc64-atomic-inst.c: Remove.
20485 * gdb.arch/ppc64-atomic-inst.S: New file.
20486 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
20487
770e7fc7
DE
204882014-03-31 Doug Evans <dje@google.com>
20489
20490 * gdb.base/print-symbol-loading-lib.c: New file.
20491 * gdb.base/print-symbol-loading-main.c: New file.
20492 * gdb.base/print-symbol-loading.exp: New file.
20493
46e2bafa
YQ
204942014-03-31 Yao Qi <yao@codesourcery.com>
20495
20496 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
20497
8776cfe9
JB
204982014-03-28 Joel Brobecker <brobecker@adacore.com>
20499
20500 * gdb.ada/mi_dyn_arr: New testcase.
20501
5d1ef361
DE
205022014-03-27 Doug Evans <dje@google.com>
20503
20504 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
20505
b5bee914
YQ
205062014-03-27 Yao Qi <yao@codesourcery.com>
20507
20508 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
20509 if target is nios2-*-*.
20510
0d4d0e77
YQ
205112014-03-26 Yao Qi <yao@codesourcery.com>
20512
20513 * lib/gdb.exp (readline_is_used): New proc.
20514 * gdb.base/completion.exp: Move tests on command complete up.
20515 Skip the rest of tests if readline is not used.
20516 * gdb.ada/complete.exp: Skp the test if readline is not
20517 used.
20518 * gdb.base/filesym.exp: Likewise.
20519 * gdb.base/macscp.exp: Likewise.
20520 * gdb.base/readline-ask.exp: Likewise.
20521 * gdb.base/readline.exp: Likewise.
20522 * gdb.python/py-cmd.exp: Likewise.
20523 * gdb.trace/tfile.exp: Likewise.
20524
29361eee
YQ
205252014-03-26 Yao Qi <yao@codesourcery.com>
20526
20527 * gdb.base/macscp.exp: Fix code format issues.
20528
bc9a5525
UW
205292014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
20530
20531 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
20532 * gdb.asm/powerpc64le.inc: New file.
20533
d3839ede
PA
205342014-03-25 Pedro Alves <palves@redhat.com>
20535 Doug Evans <dje@google.com>
20536
20537 * gdb.base/source-execution.c: New file.
20538 * gdb.base/source-execution.exp: New file.
20539 * gdb.base/source-execution.gdb: New file.
20540
01672a57
DE
205412014-03-24 Doug Evans <dje@google.com>
20542
20543 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
20544 using fission.
20545
88bbeca9
HZ
205462014-03-24 Hui Zhu <hui@codesourcery.com>
20547 Pedro Alves <palves@redhat.com>
20548
20549 PR breakpoints/16101
20550 * gdb.base/dprintf.exp: Use unsupported rather than changing the
20551 test pass/fail messages. Detect missing support for dprintf when
20552 breakpoints are actually inserted.
20553 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
20554 breakpoints are actually inserted.
20555 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
20556 fails.
20557
d2348791
JK
205582014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
20559
20560 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
20561
feef67ab
DE
205622014-03-22 Doug Evans <xdje42@gmail.com>
20563
20564 * gdb.python/python.exp (python not supported): Verify multi-line
20565 python command issues an error.
25d743f9 20566 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 20567 guile command issues an error.
feef67ab 20568
ecebef6a
MR
205692014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
20570
20571 * gdb.threads/thread-specific.exp: Handle the lack of usable
20572 $this_breakpoint and $this_thread.
20573
ccdd1909
HZ
205742014-03-21 Hui Zhu <hui@codesourcery.com>
20575
20576 * gdb.base/attach.exp (do_command_attach_tests): New.
20577
beb460e8
PA
205782014-03-20 Tom Tromey <tromey@redhat.com>
20579 Pedro Alves <palves@redhat.com>
20580
20581 PR cli/15718
20582 * gdb.base/condbreak-call-false.c: New file.
20583 * gdb.base/condbreak-call-false.exp: New file.
20584
40acf43a
PA
205852014-03-20 Pedro Alves <palves@redhat.com>
20586
20587 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
20588 Delete.
20589 (block_signals, unblock_signals): Delete.
20590 (child_function_2, main): Remove references to deleted variable
20591 and functions.
20592
9f5e1e02
PA
205932014-03-20 Pedro Alves <palves@redhat.com>
20594
20595 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
20596 Use pthread_kill to signal thread 2.
20597 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20598 Adjust to make the test send itself a signal rather than using the
20599 host's "kill" command.
20600
99619bea
PA
206012014-03-20 Pedro Alves <palves@redhat.com>
20602
20603 * gdb.threads/multiple-step-overs.c: New file.
20604 * gdb.threads/multiple-step-overs.exp: New file.
20605 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20606 Adjust expected infrun debug output.
20607
2adfaa28
PA
206082014-03-20 Pedro Alves <palves@redhat.com>
20609
20610 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
20611 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
20612
31e77af2
PA
206132014-03-20 Pedro Alves <palves@redhat.com>
20614
20615 PR breakpoints/7143
20616 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
20617 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
20618 of gdb_test_multiple.
20619 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
20620 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
20621
b9f437de
PA
206222014-03-20 Pedro Alves <palves@redhat.com>
20623
20624 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
20625 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
20626
05adc73e
PA
206272014-03-19 Pedro Alves <palves@redhat.com>
20628
20629 * gdb.base/async.exp: Remove early return.
20630
6048b950
PA
206312014-03-19 Pedro Alves <palves@redhat.com>
20632
20633 * gdb.base/async.exp (step& tests): Pass explicit test messages.
20634
8bcfb00a
PA
206352014-03-19 Pedro Alves <palves@redhat.com>
20636
20637 * gdb.base/async.exp (test_background): Expect \r\n after
20638 "completed." in the fail pattern.
20639
884e37dc
PA
206402014-03-19 Pedro Alves <palves@redhat.com>
20641
20642 * gdb.base/async.exp (test_background): New procedure.
20643 Use it for all background execution command tests.
20644
148e57e2
PA
206452014-03-19 Pedro Alves <palves@redhat.com>
20646
20647 * gdb.base/async.exp: Use prepare_for_testing.
20648
f48088c7
PA
206492014-03-19 Pedro Alves <palves@redhat.com>
20650
20651 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
20652 the same line.
20653
e2f6c966
PA
206542014-03-19 Pedro Alves <palves@redhat.com>
20655
20656 * gdb.base/async.c (main): Add "jump here" and "until here" line
20657 marker comments.
20658 * gdb.base/async.exp (jump_here): New global.
20659 (jump& test): Use it.
20660 (until_here): New global.
20661 (until& test): Use it.
20662
c30568d4
PA
206632014-03-19 Pedro Alves <palves@redhat.com>
20664
20665 * gdb.base/async.exp: Don't frob gdb_protocol.
20666
0172b6a7
DE
206672014-03-18 Doug Evans <xdje42@gmail.com>
20668
20669 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
20670 Fix spelling of exec-done-display.
20671
06c868a8
JK
206722014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
20673
20674 PR gdb/15358
20675 * gdb.base/gdb-sigterm.c: New file.
20676 * gdb.base/gdb-sigterm.exp: New file.
20677
0c7e1a46
PA
206782014-03-18 Pedro Alves <palves@redhat.com>
20679
20680 PR gdb/13860
20681 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
20682 * lib/mi-support.exp (mi_expect_stop): Add special handling for
20683 solib-event.
20684
f7c77d93
JB
206852014-03-17 Joel Brobecker <brobecker@adacore.com>
20686
20687 * gdb.ada/pckd_arr_ren: New testcase.
20688
5a1e8c7a
DE
206892014-03-13 Doug Evans <xdje42@gmail.com>
20690
20691 PR guile/16612
20692 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
20693 collect after discarding symbols.
20694
350e1a76
DE
206952014-03-13 Ludovic Courtès <ludo@gnu.org>
20696 Doug Evans <xdje42@gmail.com>
20697
20698 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
20699 to history survives a gc.
20700
a69900ae
PA
207012014-03-13 Pedro Alves <palves@redhat.com>
20702
20703 * gdb.base/default.exp: Don't test "target procfs".
20704
5db9f0bd
PA
207052014-03-13 Pedro Alves <palves@redhat.com>
20706
20707 * gdb.base/default.exp: Update "target child" and "target procfs"
20708 tests to not expect "Unix".
20709
b3ccfe11
TT
207102014-03-12 Tom Tromey <tromey@redhat.com>
20711
20712 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
20713 New procs. Add target-async tests.
20714 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
20715 Add target-async tests.
20716
646f4417
AA
207172014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20718
20719 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
20720 'func_start' and 'func_end' for the beginning and end of the
20721 function code, respectively.
20722 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
20723 'func_end' instead of 'func' and 'main'.
20724
288c211f
AA
207252014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20726
20727 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
20728 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
20729 generate the debug info assembler source.
20730
e0c0f156
AA
207312014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20732
20733 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
20734 * gdb.dwarf2/arr-subrange.exp: Likewise.
20735 * gdb.dwarf2/dwz.exp: Likewise.
20736 * gdb.dwarf2/method-ptr.exp: Likewise.
20737 * gdb.dwarf2/missing-sig-type.exp: Likewise.
20738 * gdb.dwarf2/subrange.exp: Likewise.
20739 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
20740 * gdb.dwarf2/implptrpiece.exp: Likewise.
20741 * gdb.dwarf2/nostaticblock.exp: Likewise.
20742
0e5c4555
AA
207432014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20744
20745 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
20746 directory to absolute path name arguments.
20747
5ec18f2b
JG
207482014-03-10 Joel Brobecker <brobecker@adacore.com>
20749
20750 * gdb.ada/tagged_access: New testcase.
20751
847fc4f2
MM
207522014-03-07 Markus Metzger <markus.t.metzger@intel.com>
20753
20754 * gdb.btrace/data.exp: Update expected output.
20755
cc3da688
YQ
207562014-03-06 Yao Qi <yao@codesourcery.com>
20757
20758 * gdb.trace/pr16508.exp: New file.
20759
0f26cec1
PA
207602014-03-05 Pedro Alves <palves@redhat.com>
20761
20762 PR gdb/16575
20763 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
20764 procedure.
20765 (top level): Adjust to use it. Add tests that exercise breakpoint
20766 interaction with the code-cache.
20767
7a5a839f
LC
207682014-02-26 Ludovic Courtès <ludo@gnu.org>
20769
20770 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
20771 test for 'history-append!'.
20772
31aa7e4e
JB
207732014-02-26 Joel Brobecker <brobecker@adacore.com>
20774
20775 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
20776 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
20777 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
20778 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
20779 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
20780 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
20781
1b588015
JB
207822014-02-26 Joel Brobecker <brobecker@adacore.com>
20783
20784 * testsuite/gdb.python/py-pp-re-notag.c: New file.
20785 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
20786 * testsuite/gdb.python/py-pp-re-notag.p: New file.
20787
55426c9d
JB
207882014-02-26 Joel Brobecker <brobecker@adacore.com>
20789
20790 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
20791
dc53a7ad
JB
207922014-02-26 Joel Brobecker <brobecker@adacore.com>
20793
20794 * gdb.dwarf2/arr-stride.c: New file.
20795 * gdb.dwarf2/arr-stride.exp: New file.
20796
12ab52e9
PA
207972014-02-26 Pedro Alves <palves@redhat.com>
20798
20799 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
20800 that won't ever trigger. Make sure that GDB reports the correct
20801 breakpoint that caused the stop.
20802
849c862e
JK
208032014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20804
20805 PR gdb/16626
20806 * gdb.base/auto-load-script: New file.
20807 * gdb.base/auto-load.c: New file.
20808 * gdb.base/auto-load.exp: New file.
20809
71b7d793
JK
20810 PR gdb/16626
20811 * gdb.base/auto-load.exp: Fix out-of-srctree run.
20812
e2f0d509
JK
208132014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20814
20815 Fix dw2-icycle.exp -fsanitize=address GDB crash.
20816 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
20817
50cc37c8
DE
208182014-02-24 Doug Evans <dje@google.com>
20819
20820 * lib/gdb.exp (run_on_host): Log error output if program fails.
20821
ea4758f2
PA
208222014-02-21 Pedro Alves <palves@redhat.com>
20823
20824 * gdb.threads/step-after-sr-lock.c: Rename to ...
20825 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
20826 * gdb.threads/step-after-sr-lock.exp: Rename to ...
20827 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20828 ... this.
20829
d7b30f67
SDJ
208302014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
20831
20832 PR tdep/16397
20833 * gdb.arch/amd64-stap-special-operands.exp: New file.
20834 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
20835 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
20836 * gdb.arch/amd64-stap-triplet.S: Likewise.
20837 * gdb.arch/amd64-stap-triplet.c: Likewise.
20838
83deb43f
JB
208392014-02-20 Joel Brobecker <brobecker@adacore.com>
20840
20841 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
20842 in .section pseudo-op.
20843
adde2bff
DE
208442014-02-20 lin zuojian <manjian2006@gmail.com>
20845 Joel Brobecker <brobecker@adacore.com>
20846 Doug Evans <xdje42@gmail.com>
20847
20848 PR symtab/16581
20849 * gdb.dwarf2/dw2-icycle.S: New file.
20850 * gdb.dwarf2/dw2-icycle.c: New file.
20851 * gdb.dwarf2/dw2-icycle.exp: New file.
20852
f7bd0f78
SC
208532014-02-19 Siva Chandra Reddy <sivachandra@google.com>
20854
20855 * gdb.python/py-value-cc.cc: Improve test case to enable testing
20856 operations on gdb.Value objects.
20857 * gdb.python/py-value-cc.exp: Add new test to test operations on
20858 gdb.Value objects.
20859
c17ef0d5
DE
208602014-02-18 Doug Evans <dje@google.com>
20861
20862 * Makefile.in (TESTS): New variable.
20863 (expanded_tests, expanded_tests_or_none): New variables
20864 (check-single): Pass $(expanded_tests_or_none) to runtest.
20865 (check-parallel): Only run tests in $(TESTS) if non-empty.
20866 (check/no-matching-tests-found): New rule.
20867 * README: Document TESTS makefile variable.
20868
5dd3176f
DE
208692014-02-18 Doug Evans <dje@google.com>
20870
20871 * Makefile.in (check-parallel): rm -rf outputs temp.
20872
0b10be4f
JK
208732014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20874
20875 Fix "ERROR: no fileid for" in the testsuite.
20876 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
20877
85f224e7
DE
208782014-02-12 Doug Evans <dje@google.com>
20879
20880 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
20881 (MISCELLANEOUS): New variable.
20882 (clean): rm -rf $(MISCELLANEOUS).
20883 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
20884 dwp live in the same directory as symlinks, with each symlink pointed
20885 to a differently named file in a different directory.
20886
149b30ff
DE
208872014-02-11 Doug Evans <dje@google.com>
20888
20889 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
20890 of Tcl file commands.
20891
1dfdac32
MK
208922014-02-10 Mark Kettenis <kettenis@gnu.org>
20893
20894 * gdb.threads/step-after-sr-lock.exp: Avoid executing
20895 "kill -SIGUSR1 -1".
20896
aa4fb036
JB
208972014-02-10 Joel Brobecker <brobecker@adacore.com>
20898
20899 * gdb.ada/tick_length_array_enum_idx: New testcase.
20900
ed3ef339
DE
209012014-02-10 Doug Evans <xdje42@gmail.com>
20902
20903 * configure.ac (AC_OUTPUT): Add gdb.guile.
20904 * configure: Regenerate.
20905 * lib/gdb-guile.exp: New file.
20906 * lib/gdb.exp (get_target_charset): New function.
20907 * gdb.base/help.exp: Update expected output from "apropos apropos".
20908 * gdb.guile/Makefile.in: New file.
20909 * gdb.guile/guile.exp: New file.
20910 * gdb.guile/scm-arch.c: New file.
20911 * gdb.guile/scm-arch.exp: New file.
20912 * gdb.guile/scm-block.c: New file.
20913 * gdb.guile/scm-block.exp: New file.
20914 * gdb.guile/scm-breakpoint.c: New file.
20915 * gdb.guile/scm-breakpoint.exp: New file.
20916 * gdb.guile/scm-disasm.c: New file.
20917 * gdb.guile/scm-disasm.exp: New file.
20918 * gdb.guile/scm-equal.c: New file.
20919 * gdb.guile/scm-equal.exp: New file.
20920 * gdb.guile/scm-error.exp: New file.
20921 * gdb.guile/scm-error.scm: New file.
20922 * gdb.guile/scm-frame-args.c: New file.
20923 * gdb.guile/scm-frame-args.exp: New file.
20924 * gdb.guile/scm-frame-args.scm: New file.
20925 * gdb.guile/scm-frame-inline.c: New file.
20926 * gdb.guile/scm-frame-inline.exp: New file.
20927 * gdb.guile/scm-frame.c: New file.
20928 * gdb.guile/scm-frame.exp: New file.
20929 * gdb.guile/scm-generics.exp: New file.
20930 * gdb.guile/scm-gsmob.exp: New file.
20931 * gdb.guile/scm-iterator.c: New file.
20932 * gdb.guile/scm-iterator.exp: New file.
20933 * gdb.guile/scm-math.c: New file.
20934 * gdb.guile/scm-math.exp: New file.
20935 * gdb.guile/scm-objfile-script-gdb.in: New file.
20936 * gdb.guile/scm-objfile-script.c: New file.
20937 * gdb.guile/scm-objfile-script.exp: New file.
20938 * gdb.guile/scm-objfile.c: New file.
20939 * gdb.guile/scm-objfile.exp: New file.
20940 * gdb.guile/scm-ports.exp: New file.
20941 * gdb.guile/scm-pretty-print.c: New file.
20942 * gdb.guile/scm-pretty-print.exp: New file.
20943 * gdb.guile/scm-pretty-print.scm: New file.
20944 * gdb.guile/scm-section-script.c: New file.
20945 * gdb.guile/scm-section-script.exp: New file.
20946 * gdb.guile/scm-section-script.scm: New file.
20947 * gdb.guile/scm-symbol.c: New file.
20948 * gdb.guile/scm-symbol.exp: New file.
20949 * gdb.guile/scm-symtab-2.c: New file.
20950 * gdb.guile/scm-symtab.c: New file.
20951 * gdb.guile/scm-symtab.exp: New file.
20952 * gdb.guile/scm-type.c: New file.
20953 * gdb.guile/scm-type.exp: New file.
20954 * gdb.guile/scm-value-cc.cc: New file.
20955 * gdb.guile/scm-value-cc.exp: New file.
20956 * gdb.guile/scm-value.c: New file.
20957 * gdb.guile/scm-value.exp: New file.
20958 * gdb.guile/source2.scm: New file.
20959 * gdb.guile/types-module.cc: New file.
20960 * gdb.guile/types-module.exp: New file.
20961
7026a7c1
YQ
209622014-02-10 Yao Qi <yao@codesourcery.com>
20963
20964 PR testsuite/16543
20965 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
20966 * configure: Regenerated.
20967 * Makefile.in: New file.
20968
6c466447
AS
209692014-02-08 Andreas Schwab <schwab@linux-m68k.org>
20970
20971 * gdb.python/py-framefilter.exp: Fix typo.
20972
6e854735
YQ
209732014-02-08 Yao Qi <yao@codesourcery.com>
20974
20975 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
20976 that no =breakpoint-modified is emitted when breakpoints are
20977 modified through MI commands.
20978
d137e6dc
PA
209792014-02-07 Pedro Alves <pedro@codesourcery.com>
20980 Pedro Alves <palves@redhat.com>
20981
20982 * gdb.threads/step-after-sr-lock.c: New file.
20983 * gdb.threads/step-after-sr-lock.exp: New file.
20984
b5ee5a50
PA
209852014-02-07 Pedro Alves <palves@redhat.com>
20986
20987 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
20988
3c77faf3
JK
209892014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
20990
20991 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
20992 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
20993
6dddc817
DE
209942014-02-06 Doug Evans <xdje42@gmail.com>
20995
20996 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
20997 output.
20998
20999 * gdb.gdb/python-interrupts.exp: New file.
21000
de7b2893
YQ
210012014-02-05 Yao Qi <yao@codesourcery.com>
21002
21003 * gdb.trace/report.exp (use_collected_data): Test the output
21004 of "info threads" and "info inferiors".
21005
66d032ac
YQ
210062014-02-05 Yao Qi <yao@codesourcery.com>
21007
21008 Revert this patch:
21009
21010 2013-05-24 Yao Qi <yao@codesourcery.com>
21011
21012 * gdb.trace/tfile.exp: Test inferior and thread.
21013
591a12a1
UW
210142014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21015
21016 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
21017 on a function.
21018 * gdb.base/step-bt.c: Call hello via function pointer to make
21019 sure its first instruction is executed on powerpc64le-linux.
21020
0ff3e01f
UW
210212014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21022
21023 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
21024
084ee545
UW
210252014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21026
21027 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
21028 of the test patterns for use on little-endian systems.
21029
6ed14ff3
UW
210302014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21031
21032 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
21033 (decimal_vector): Fix for little-endian.
21034
401e27fd
JM
210352014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
21036
21037 * gdb.arch/sparc-sysstep.exp: New file.
21038 * gdb.arch/sparc-sysstep.c: Likewise.
21039
21040 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
21041
8b924729
EBM
210422014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21043
21044 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
21045
fb151210
JB
210462014-01-23 Tom Tromey <tromey@redhat.com>
21047
21048 * gdb.ada/array_char_idx: New testcase.
21049
0740f8d8
TT
210502014-01-23 Tom Tromey <tromey@redhat.com>
21051
21052 PR python/16487:
21053 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
21054 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
21055 classes.
21056
21909fa1
TT
210572014-01-23 Tom Tromey <tromey@redhat.com>
21058
21059 PR python/16491:
21060 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
21061 string from an inferior frame.
21062 * gdb.python/py-framefilter-mi.exp: Update.
21063
87ce2a04
DE
210642014-01-22 Doug Evans <dje@google.com>
21065
21066 * gdb.server/server-mon.exp: Add tests for "set debug-format".
21067
237b092b
AA
210682014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21069
21070 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
21071
d674a709
AA
210722014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21073
21074 * gdb.trace/entry-values.exp: Remove excess space character from
21075 regex patterns. Handle s390 call instruction.
21076
20fa3390
AA
210772014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21078
21079 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
21080 define "*_start" label. Make "name" static.
21081 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
21082 ${name} by references to ${name}_start.
21083
78466714
AA
210842014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21085
21086 * gdb.base/info-macros.exp: Remove "debug" from the compile
21087 options.
21088
ec9f644a
IB
210892014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21090
21091 * gdb.dlang/demangle.exp: New file.
21092
94b1b47e
IB
210932014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21094
21095 * gdb.dlang/primitive-types.exp: New file.
21096
7f420862
IB
210972014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21098
21099 * configure.ac: Create gdb.dlang/Makefile.
21100 * configure: Regenerate.
21101 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
21102 * gdb.dlang/Makefile.in: New file.
21103 * lib/d-support.exp: New file.
21104 * lib/gdb.exp (skip_d_tests): New proc.
21105
52834460
MM
211062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21107
21108 * gdb.btrace/delta.exp: Check reverse stepi.
21109 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
21110 * gdb.btrace/finish.exp: New.
21111 * gdb.btrace/next.exp: New.
21112 * gdb.btrace/nexti.exp: New.
21113 * gdb.btrace/record_goto.c: Add comments.
21114 * gdb.btrace/step.exp: New.
21115 * gdb.btrace/stepi.exp: New.
21116 * gdb.btrace/multi-thread-step.c: New.
21117 * gdb.btrace/multi-thread-step.exp: New.
21118 * gdb.btrace/rn-dl-bind.c: New.
21119 * gdb.btrace/rn-dl-bind.exp: New.
21120 * gdb.btrace/data.c: New.
21121 * gdb.btrace/data.exp: New.
21122 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21123
6e07b1d2
MM
211242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21125
21126 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
21127 * gdb.btrace/exception.exp: Update.
21128 * gdb.btrace/instruction_history.exp: Update.
21129 * gdb.btrace/record_goto.exp: Update.
21130 * gdb.btrace/tailcall.exp: Update.
21131 * gdb.btrace/unknown_functions.exp: Update.
21132 * gdb.btrace/delta.exp: New.
21133
0b722aec
MM
211342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21135
21136 * gdb.btrace/record_goto.exp: Add backtrace test.
21137 * gdb.btrace/tailcall.exp: Add backtrace test.
21138
066ce621
MM
211392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21140
21141 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
21142 * gdb.btrace/record_goto.c: New.
21143 * gdb.btrace/record_goto.exp: New.
21144 * gdb.btrace/x86-record_goto.S: New.
21145
0688d04e
MM
211462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21147
21148 * gdb.btrace/function_call_history.exp: Update tests.
21149 * gdb.btrace/instruction_history.exp: Update tests.
21150
8710b709
MM
211512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21152
21153 * gdb.btrace/function_call_history.exp: Fix expected field
21154 order for "record function-call-history".
21155 Add new tests for "record function-call-history /c".
21156 * gdb.btrace/exception.cc: New.
21157 * gdb.btrace/exception.exp: New.
21158 * gdb.btrace/tailcall.exp: New.
21159 * gdb.btrace/x86-tailcall.S: New.
21160 * gdb.btrace/x86-tailcall.c: New.
21161 * gdb.btrace/unknown_functions.c: New.
21162 * gdb.btrace/unknown_functions.exp: New.
21163 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21164
5de9129b
MM
211652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21166
21167 * gdb.btrace/instruction_history.exp: Update.
21168 * gdb.btrace/function_call_history.exp: Update.
21169
23a7fe75
MM
211702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21171
21172 * gdb.btrace/function_call_history.exp: Fix expected function
21173 trace.
21174 * gdb.btrace/instruction_history.exp: Initialize traced.
21175 Remove traced_functions.
21176
724c7dd8
MM
211772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21178
21179 * gdb.btrace/function_call_history.exp: Update
21180 * gdb.btrace/instruction_history.exp: Update.
21181
6d78d93b
MM
211822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21183
21184 * gdb.btrace/enable.exp: Update expected text.
21185
93a360cc
OJ
211862014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
21187
21188 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
21189 bytes.
21190
3772b53f
MR
211912014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
21192
21193 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
21194
596662fa
OJ
211952014-01-15 Omair Javaid <omair.javaid@linaro.org>
21196
21197 * lib/gdb.exp (supports_process_record): Return true for
21198 arm*-linux*. (supports_reverse): Likewise.
21199
b5b08fb4
SC
212002014-01-13 Siva Chandra Reddy <sivachandra@google.com>
21201
21202 PR python/15464
21203 PR python/16113
21204 * gdb.python/py-type.c: Enhance test case.
21205 * gdb.python/py-value-cc.cc: Likewise
21206 * gdb.python/py-type.exp: Add new tests.
21207 * gdb.python/py-value-cc.exp: Likewise
21208
52d7fb13
AA
212092014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
21210 Pedro Alves <palves@redhat.com>
21211
21212 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
21213 Make "name" extern.
21214 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
21215 references to ${name}_start by references to ${name}.
21216
a2cd8cfe
JB
212172014-01-10 Joel Brobecker <brobecker@adacore.com>
21218
21219 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
21220
4e23fced
JB
212212014-01-10 Joel Brobecker <brobecker@adacore.com>
21222
21223 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
21224
c6a9e42c
PA
212252014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
21226 Pedro Alves <palves@redhat.com>
21227
21228 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 21229 mi_gdb_target_load.
c6a9e42c 21230
b7ea362b
PA
212312014-01-08 Pedro Alves <palves@redhat.com>
21232
21233 * gdb.threads/reconnect-signal.c: New file.
21234 * gdb.threads/reconnect-signal.exp: New file.
21235
5e3f4fab
EBM
212362014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21237
21238 * gdb.base/source-dir.exp: New file.
21239
79301218
JB
212402014-01-07 Joel Brobecker <brobecker@adacore.com>
21241
21242 * gdb.ada/mi_interface: New testcase.
21243
8e355c5d
JB
212442014-01-07 Joel Brobecker <brobecker@adacore.com>
21245
21246 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
21247 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
21248 gdb.ada/pp-rec-component/pck.ads: New files.
21249
c0d48811
JB
212502014-01-07 Joel Brobecker <brobecker@adacore.com>
21251
21252 * gdb.python/py-pp-integral.c: New file.
21253 * gdb.python/py-pp-integral.py: New file.
21254 * gdb.python/py-pp-integral.exp: New file.
21255
17b609c3 21256For older changes see ChangeLog-1993-2013.
c906108c 21257\f
8d8cb839
EZ
21258;; Local Variables:
21259;; mode: change-log
21260;; left-margin: 8
21261;; fill-column: 74
21262;; version-control: never
21263;; End:
902f2ccb 21264
b811d2c2 21265 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
21266 Copying and distribution of this file, with or without modification,
21267 are permitted provided the copyright notice and this notice are preserved.
This page took 4.262176 seconds and 4 git commands to generate.