]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Don't drop static function bp locations w/o debug info
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
77f2120b
PA
12020-09-13 Pedro Alves <pedro@palves.net>
2
3 * gdb.base/msym-bp-2.c: New.
4 * gdb.base/msym-bp-shl-lib.c: New file.
5 * gdb.base/msym-bp-shl-main-2.c: New file.
6 * gdb.base/msym-bp-shl-main.c: New file.
7 * gdb.base/msym-bp-shl.exp: New file.
8 * gdb.base/msym-bp.c: New file.
9 * gdb.base/msym-bp.exp: New file.
10
32aea73e
JB
112020-09-13 Joel Brobecker <brobecker@adacore.com>
12
13 * gdb.base/default.exp: Change $_gdb_major to 11.
14
2a67f09d
FW
152020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
16 Felix Willgerodt <Felix.Willgerodt@intel.com>
17
18 * x86-avx512bf16.c: New file.
19 * x86-avx512bf16.exp: Likewise.
20 * lib/gdb.exp (skip_avx512bf16_tests): New function.
21
ad570dd7
TV
222020-09-11 Tom de Vries <tdevries@suse.de>
23
24 PR exp/26602
25 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
26
a56f7391
TBA
272020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
28
29 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
30
918619e5
AM
312020-09-10 Alan Modra <amodra@gmail.com>
32
33 PR 26597
34 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
35
cac1e71d
TV
362020-09-08 Tom de Vries <tdevries@suse.de>
37
38 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
39 after gdb_starti_cmd.
40
c5cd900e
AKS
412020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
42
43 * lib/fortran.exp (fortran_complex8): New proc.
44 (fortran_complex16): New proc.
45 * gdb.fortran/complex.exp: Use routines from fortran.exp
46 * gdb.fortran/pointer-to-pointer.exp: Likewise.
47 * gdb.fortran/vla-ptr-info.exp: Likewise.
48
8f5c6526
TV
492020-09-03 Tom de Vries <tdevries@suse.de>
50
51 PR breakpoint/26546
52 * gdb.base/label-without-address.exp: Runto main first.
53
02c6f3f1
TT
542020-09-02 Tom Tromey <tromey@adacore.com>
55
56 * gdb.ada/mi_var_access.exp: Test children of access variable.
57 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
58 * gdb.ada/mi_var_array.exp: Update.
59
efe24f05
KB
602020-08-31 Kevin Buettner <kevinb@redhat.com>
61
62 * gdb.base/corefile.exp (warning-free): XFAIL test when running
63 on docker w/ AUFS storage driver.
64
973695d6
KB
652020-08-31 Kevin Buettner <kevinb@redhat.com>
66
67 * gdb.base/corefile2.exp (renamed binfile): New tests.
68
f3bd50f1
SM
692020-08-31 Simon Marchi <simon.marchi@efficios.com>
70
71 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
72
22b9b4b0
SL
732020-08-31 Simon Marchi <simon.marchi@efficios.com>
74
75 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
76 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
77
8efaf6b3
SM
782020-08-31 Simon Marchi <simon.marchi@efficios.com>
79
80 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
81 output, printing a "not saved" value from history and printing a
82 convenience variable created from a "not saved" value.
83
e840f2e3
TV
842020-08-31 Tom de Vries <tdevries@suse.de>
85
86 * gdb.base/eh_return.exp: Use nopie.
87
8f57f343
PA
882020-08-28 Pedro Alves <pedro@palves.net>
89
90 * gdb.base/advance-until-multiple-locations.exp
91 (advance_overload, until_overload): Adjust to match the
92 frame/function header instead of the source line text.
93
626d2320
TV
942020-08-28 Tom de Vries <tdevries@suse.de>
95
96 * gdb.base/label-without-address.c: New test.
97 * gdb.base/label-without-address.exp: New file.
98
df631783
PA
992020-08-27 Pedro Alves <pedro@palves.net>
100
101 PR gdb/26523
102 PR gdb/26524
103 * gdb.base/advance-until-multiple-locations.cc: New.
104 * gdb.base/advance-until-multiple-locations.exp: New.
105
48b076bb
SM
1062020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
107
108 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
109
c2015ce4
AB
1102020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
111
112 * gdb.arch/amd64-byte.exp: Make test names unique, use
113 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
114 * gdb.arch/amd64-dword.exp: Likewise.
115 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
116 * gdb.arch/amd64-stap-special-operands.exp: Make test names
117 unique.
118 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
119 * gdb.arch/amd64-word.exp: Make test names unique, use
120 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
121 * gdb.arch/i386-byte.exp: Make test names unique, use
122 gdb_breakpoint.
123 * gdb.arch/i386-word.exp: Likewise.
124
995d3a19
SV
1252020-08-25 Shahab Vahedi <shahab@synopsys.com>
126
127 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
128
8cac2b31
SM
1292020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
130
131 PR gdb/26532
132 * gdb.threads/stepi-random-signal.exp: Update pattern.
133
2bc19622
SM
1342020-08-25 Simon Marchi <simon.marchi@efficios.com>
135
136 PR gdb/26532
137 * gdb.base/ui-redirect.exp: Update pattern.
138
b04aa1fc
GB
1392020-08-25 Gary Benson <gbenson@redhat.com>
140
141 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
142 when compiling with clang.
8571e9c8 143 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 144
9f68b453
GB
1452020-08-25 Gary Benson <gbenson@redhat.com>
146
147 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
148 Add additional_flags=-Wno-inaccessible-base when compiling
149 with GCC >= 10.1 or clang. Add additional_flags=-w when
150 compiling with GCC < 10.
151
3945d2d7
GM
1522020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
153
154 PR m2/26372
fc5d6901
SM
155 * gdb.modula2/multidim.c: New file.
156 * gdb.modula2/multidim.exp: New file.
3945d2d7 157
60122dbe
SM
1582020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
159
160 * lib/gdb.exp (runto): Always emit fail on internal error.
161
1eb8556f
SM
1622020-08-24 Simon Marchi <simon.marchi@efficios.com>
163
164 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
165 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
166 Likewise.
167 * gdb.threads/stepi-random-signal.exp: Likewise.
168
33bf4c5c
TBA
1692020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
170
171 * gdb.base/print-file-var.exp: Fix typo "breapoint".
172 * gdb.trace/strace.exp: Ditto.
173
c2fd7fae
AKS
1742020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
175
176 * gdb.fortran/vla-type.exp: Skip commands not required for
177 the Flang compiled binaries after prologue fix.
178
326afb72
TT
1792020-08-17 Tom de Vries <tdevries@suse.de>
180 Tom Tromey <tromey@adacore.com>
181
182 PR rust/26197:
183 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
184
3ae7ab99
TT
1852020-08-17 Tom Tromey <tromey@adacore.com>
186
187 * gdb.ada/mi_var_access.exp: New file.
188 * gdb.ada/mi_var_access/mi_access.adb: New file.
189 * gdb.ada/mi_var_access/pck.adb: New file.
190 * gdb.ada/mi_var_access/pck.ads: New file.
191
f569c1c5
TV
1922020-08-16 Tom de Vries <tdevries@suse.de>
193
194 PR gdb/25350
195 * gdb.base/eh_return.c: New test.
196 * gdb.base/eh_return.exp: New file.
197
3d11c30a
TV
1982020-08-15 Tom de Vries <tdevries@suse.de>
199
200 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
201 (mixed_func_1d_): Use fortran_charlen_t in decl.
202
547ce8f0
TV
2032020-08-15 Tom de Vries <tdevries@suse.de>
204
205 PR backtrace/26390
206 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
207 Update expected pattern.
208
a54a7f13
PA
2092020-08-13 Pedro Alves <pedro@palves.net>
210
211 * gdb.fortran/complex.exp: Check skip_fortran_tests.
212 * gdb.fortran/library-module.exp: Likewise.
213 * gdb.fortran/logical.exp: Likewise.
214 * gdb.fortran/module.exp: Likewise.
215 * gdb.fortran/print_type.exp: Likewise.
216 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
217 * gdb.fortran/vla-datatypes.exp: Likewise.
218 * gdb.fortran/vla-history.exp: Likewise.
219 * gdb.fortran/vla-ptr-info.exp: Likewise.
220 * gdb.fortran/vla-ptype-sub.exp: Likewise.
221 * gdb.fortran/vla-ptype.exp: Likewise.
222 * gdb.fortran/vla-sizeof.exp: Likewise.
223 * gdb.fortran/vla-type.exp: Likewise.
224 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
225 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
226 * gdb.fortran/vla-value-sub.exp: Likewise.
227 * gdb.fortran/vla-value.exp: Likewise.
228
7a82e903
PA
2292020-08-13 Pedro Alves <pedro@palves.net>
230
231 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
232 * gdb.ada/access_to_packed_array.exp: Likewise.
233 * gdb.ada/access_to_unbounded_array.exp: Likewise.
234 * gdb.ada/addr_arith.exp: Likewise.
235 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
236 * gdb.ada/arr_arr.exp: Likewise.
237 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
238 * gdb.ada/array_bounds.exp: Likewise.
239 * gdb.ada/array_of_variable_length.exp: Likewise.
240 * gdb.ada/array_ptr_renaming.exp: Likewise.
241 * gdb.ada/array_subscript_addr.exp: Likewise.
242 * gdb.ada/arraydim.exp: Likewise.
243 * gdb.ada/arrayparam.exp: Likewise.
244 * gdb.ada/arrayptr.exp: Likewise.
245 * gdb.ada/assign_1.exp: Likewise.
246 * gdb.ada/assign_arr.exp: Likewise.
247 * gdb.ada/atomic_enum.exp: Likewise.
248 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
249 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
250 * gdb.ada/bias.exp: Likewise.
251 * gdb.ada/boolean_expr.exp: Likewise.
252 * gdb.ada/bp_c_mixed_case.exp: Likewise.
253 * gdb.ada/bp_enum_homonym.exp: Likewise.
254 * gdb.ada/bp_inlined_func.exp: Likewise.
255 * gdb.ada/bp_on_var.exp: Likewise.
256 * gdb.ada/bp_range_type.exp: Likewise.
257 * gdb.ada/bp_reset.exp: Likewise.
258 * gdb.ada/call_pn.exp: Likewise.
259 * gdb.ada/catch_assert_if.exp: Likewise.
260 * gdb.ada/catch_ex.exp: Likewise.
261 * gdb.ada/catch_ex_std.exp: Likewise.
262 * gdb.ada/char_enum.exp: Likewise.
263 * gdb.ada/char_param.exp: Likewise.
264 * gdb.ada/complete.exp: Likewise.
265 * gdb.ada/cond_lang.exp: Likewise.
266 * gdb.ada/convvar_comp.exp: Likewise.
267 * gdb.ada/dgopt.exp: Likewise.
268 * gdb.ada/disc_arr_bound.exp: Likewise.
269 * gdb.ada/display_nested.exp: Likewise.
270 * gdb.ada/dot_all.exp: Likewise.
271 * gdb.ada/dyn_loc.exp: Likewise.
272 * gdb.ada/dyn_stride.exp: Likewise.
273 * gdb.ada/excep_handle.exp: Likewise.
274 * gdb.ada/expr_delims.exp: Likewise.
275 * gdb.ada/expr_with_funcall.exp: Likewise.
276 * gdb.ada/exprs.exp: Likewise.
277 * gdb.ada/fin_fun_out.exp: Likewise.
278 * gdb.ada/fixed_cmp.exp: Likewise.
279 * gdb.ada/formatted_ref.exp: Likewise.
280 * gdb.ada/frame_arg_lang.exp: Likewise.
281 * gdb.ada/frame_args.exp: Likewise.
282 * gdb.ada/fullname_bp.exp: Likewise.
283 * gdb.ada/fun_addr.exp: Likewise.
284 * gdb.ada/fun_in_declare.exp: Likewise.
285 * gdb.ada/fun_overload_menu.exp: Likewise.
286 * gdb.ada/fun_renaming.exp: Likewise.
287 * gdb.ada/funcall_char.exp: Likewise.
288 * gdb.ada/funcall_param.exp: Likewise.
289 * gdb.ada/funcall_ptr.exp: Likewise.
290 * gdb.ada/funcall_ref.exp: Likewise.
291 * gdb.ada/homonym.exp: Likewise.
292 * gdb.ada/info_addr_mixed_case.exp: Likewise.
293 * gdb.ada/info_auto_lang.exp: Likewise.
294 * gdb.ada/info_exc.exp: Likewise.
295 * gdb.ada/info_types.exp: Likewise.
296 * gdb.ada/int_deref.exp: Likewise.
297 * gdb.ada/interface.exp: Likewise.
298 * gdb.ada/iwide.exp: Likewise.
299 * gdb.ada/lang_switch.exp: Likewise.
300 * gdb.ada/length_cond.exp: Likewise.
301 * gdb.ada/maint_with_ada.exp: Likewise.
302 * gdb.ada/mi_catch_assert.exp: Likewise.
303 * gdb.ada/mi_catch_ex.exp: Likewise.
304 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
305 * gdb.ada/mi_dyn_arr.exp: Likewise.
306 * gdb.ada/mi_ex_cond.exp: Likewise.
307 * gdb.ada/mi_exc_info.exp: Likewise.
308 * gdb.ada/mi_interface.exp: Likewise.
309 * gdb.ada/mi_prot.exp: Likewise.
310 * gdb.ada/mi_ref_changeable.exp: Likewise.
311 * gdb.ada/mi_string_access.exp: Likewise.
312 * gdb.ada/mi_task_arg.exp: Likewise.
313 * gdb.ada/mi_task_info.exp: Likewise.
314 * gdb.ada/mi_var_array.exp: Likewise.
315 * gdb.ada/mi_var_union.exp: Likewise.
316 * gdb.ada/mi_variant.exp: Likewise.
317 * gdb.ada/minsyms.exp: Likewise.
318 * gdb.ada/mod_from_name.exp: Likewise.
319 * gdb.ada/nested.exp: Likewise.
320 * gdb.ada/null_array.exp: Likewise.
321 * gdb.ada/optim_drec.exp: Likewise.
322 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
323 * gdb.ada/packed_array_assign.exp: Likewise.
324 * gdb.ada/packed_tagged.exp: Likewise.
325 * gdb.ada/pp-rec-component.exp: Likewise.
326 * gdb.ada/print_chars.exp: Likewise.
327 * gdb.ada/print_pc.exp: Likewise.
328 * gdb.ada/ptr_typedef.exp: Likewise.
329 * gdb.ada/ptype_arith_binop.exp: Likewise.
330 * gdb.ada/ptype_array.exp: Likewise.
331 * gdb.ada/ptype_field.exp: Likewise.
332 * gdb.ada/ptype_tagged_param.exp: Likewise.
333 * gdb.ada/ptype_union.exp: Likewise.
334 * gdb.ada/py_range.exp: Likewise.
335 * gdb.ada/py_taft.exp: Likewise.
336 * gdb.ada/rdv_wait.exp: Likewise.
337 * gdb.ada/rec_comp.exp: Likewise.
338 * gdb.ada/rec_return.exp: Likewise.
339 * gdb.ada/ref_param.exp: Likewise.
340 * gdb.ada/ref_tick_size.exp: Likewise.
341 * gdb.ada/rename_subscript_param.exp: Likewise.
342 * gdb.ada/repeat_dyn.exp: Likewise.
343 * gdb.ada/same_component_name.exp: Likewise.
344 * gdb.ada/same_enum.exp: Likewise.
345 * gdb.ada/scalar_storage.exp: Likewise.
346 * gdb.ada/set_wstr.exp: Likewise.
347 * gdb.ada/small_reg_param.exp: Likewise.
348 * gdb.ada/str_binop_equal.exp: Likewise.
349 * gdb.ada/str_ref_cmp.exp: Likewise.
350 * gdb.ada/str_uninit.exp: Likewise.
351 * gdb.ada/sub_variant.exp: Likewise.
352 * gdb.ada/sym_print_name.exp: Likewise.
353 * gdb.ada/taft_type.exp: Likewise.
354 * gdb.ada/tagged.exp: Likewise.
355 * gdb.ada/tagged_access.exp: Likewise.
356 * gdb.ada/task_bp.exp: Likewise.
357 * gdb.ada/task_switch_in_core.exp: Likewise.
358 * gdb.ada/tasks.exp: Likewise.
359 * gdb.ada/tick_last_segv.exp: Likewise.
360 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
361 * gdb.ada/type_coercion.exp: Likewise.
362 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
363 * gdb.ada/unchecked_union.exp: Likewise.
364 * gdb.ada/uninitialized_vars.exp: Likewise.
365 * gdb.ada/var_arr_attrs.exp: Likewise.
366 * gdb.ada/var_arr_typedef.exp: Likewise.
367 * gdb.ada/var_rec_arr.exp: Likewise.
368 * gdb.ada/variant-record.exp: Likewise.
369 * gdb.ada/variant.exp: Likewise.
370 * gdb.ada/variant_record_packed_array.exp: Likewise.
371 * gdb.ada/varsize_limit.exp: Likewise.
372 * gdb.ada/whatis_array_val.exp: Likewise.
373 * gdb.ada/widewide.exp: Likewise.
374 * gdb.ada/win_fu_syms.exp: Likewise.
375
3762020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
377
378 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
379
10c381b5
AB
3802020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
381
382 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
383 unset the array variable.
384
8f34b746
TV
3852020-08-03 Tom de Vries <tdevries@suse.de>
386
387 PR symtab/26333
388 * lib/dwarf.exp (DW_LNE_user): New proc.
389 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
390 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
391
0245e136
KB
3922020-07-31 Kevin Buettner <kevinb@redhat.com>
393
394 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
395 to 'uintptr_t'
396 (inttypes.h): Include.
397
9ef1ec5d
KB
3982020-07-31 Kevin Buettner <kevinb@redhat.com>
399
400 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
401 (C5_24k): Delete.
402 (C5_8k, C5_64k, C5_256k): New macros.
403 (buf_ro): Allocate 256 KiB of initialized data.
404
4c55e970
TBA
4052020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
406
407 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
408 that attempt to overwrite an existing condition with a condition
409 that fails parsing and also with a condition that parses fine
410 but contains junk at the end.
411
1e620590
TBA
4122020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
413
414 * gdb.base/condbreak-bad.c: New test.
415 * gdb.base/condbreak-bad.exp: New file.
416
e12dcc50
TV
4172020-07-30 Tom de Vries <tdevries@suse.de>
418
419 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
420 out of ...
421 (GDBInfoModuleSymbols::check_entry): ... here.
422 (GDBInfoModuleSymbols::check_optional_entry): New proc.
423 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
424 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
425
6cc64caa
TV
4262020-07-30 Tom de Vries <tdevries@suse.de>
427
428 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
429 "__class_some_module_Number_t" optional.
430
90fd07fc
TV
4312020-07-29 Tom de Vries <tdevries@suse.de>
432
433 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
434 multiple locations.
435
f5c79e97
TV
4362020-07-29 Tom de Vries <tdevries@suse.de>
437
438 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
439 rather than function name.
440
f75a0693
AB
4412020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
442
443 PR symtab/26270:
444 * gdb.cp/disasm-func-name.cc: New file.
445 * gdb.cp/disasm-func-name.exp: New file.
446
4888741a
TT
4472020-07-28 Tom Tromey <tromey@adacore.com>
448
449 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
450 'varval' location.
451
43d5901d
AB
4522020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
453
454 * gdb.python/py-unwind.py: Update to make use of a register
455 descriptor.
456
14fa8fb3
AB
4572020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
458
459 * gdb.python/py-arch-reg-names.exp: Add additional tests.
460
e79eb02f
AB
4612020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
462
463 PR fortran/23051
464 PR fortran/26139
465 * gdb.fortran/class-allocatable-array.exp: New file.
466 * gdb.fortran/class-allocatable-array.f90: New file.
467 * gdb.fortran/pointer-to-pointer.exp: New file.
468 * gdb.fortran/pointer-to-pointer.f90: New file.
469
876518dd
TV
4702020-07-25 Tom de Vries <tdevries@suse.de>
471
472 PR symtab/26243
473 * gdb.dwarf2/dw2-line-number-zero.c: New test.
474 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
475
6dcfb80a
TV
4762020-07-24 Tom de Vries <tdevries@suse.de>
477
478 PR testsuite/26293
479 * gdb.ada/mi_prot.exp: Require gnatmake-8.
480
e7bc9db8
PA
4812020-07-23 Pedro Alves <pedro@palves.net>
482
483 * gdb.server/server-kill.exp (prepare): New, factored out from the
484 top level.
485 (kill_server): New.
486 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
487 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
488
78344df7
AB
4892020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
490
491 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
492
25dfed24
SL
4932020-07-22 Sandra Loosemore <sandra@codesourcery.com>
494
495 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
496 Initialize to empty string at top level.
497 (gdb_wrapper_init): Revert check for file existence on build.
498 Build the wrapper in its default place, not a build-specific
499 location. When host == build, make the pathname absolute.
500 (gdb_compile): Delete leftover declaration of
501 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
502 string instead of uninitialized.
503
7da515fd
KB
5042020-07-22 Kevin Buettner <kevinb@redhat.com>
505
506 * gdb.base/corefile2.exp: New file.
507 * gdb.base/coremaker2.exp: New file.
508
9c5ec5c2
KB
5092020-07-22 Kevin Buettner <kevinb@redhat.com>
510
511 * gdb.base/coredump-filter.exp: Add second
512 non-Private-Shared-Anon-File test.
513 (test_disasm): Rename binfile for test which is expected
514 to fail.
515
f9e233c9
KB
5162020-07-22 Kevin Buettner <kevinb@redhat.com>
517
518 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
519 data in core file".
520 * gdb.base/coremaker.c (buf2ro): New global.
521 (mmapdata): Add a read-only mmap mapping.
522
94c265d7
KB
5232020-07-22 Kevin Buettner <kevinb@redhat.com>
524
525 PR corefiles/25631
526 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
527 New test.
528 * gdb.base/coremaker.c (buf3): New global.
529 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
530 flags.
531
5322020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
533
534 * gdb.base/coremaker.c (filler_ro): New global constant.
535
32fa152e
TT
5362020-07-22 Tom Tromey <tromey@adacore.com>
537
538 * gdb.ada/mi_prot.exp: New file.
539 * gdb.ada/mi_prot/pkg.adb: New file.
540 * gdb.ada/mi_prot/pkg.ads: New file.
541 * gdb.ada/mi_prot/prot.adb: New file.
542
c8474dc3
TBA
5432020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
544
545 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
546 loads two JITers.
547
baf8791e
AB
5482020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
549
550 * gdb.python/py-arch-reg-groups.exp: Additional tests.
551
f7306dac
AB
5522020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
553
554 * gdb.python/py-arch-reg-names.exp: Additional tests.
555
6d3d6e4b
TV
5562020-07-21 Tom de Vries <tdevries@suse.de>
557
558 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
559 breakpoint locations".
560 * gdb.reverse/solib-reverse.exp: Same.
561
803d0592
TV
5622020-07-21 Tom de Vries <tdevries@suse.de>
563
564 * gdb.reverse/step-reverse.c (callee): Merge statements.
565
e9bdc510
TV
5662020-07-21 Tom de Vries <tdevries@suse.de>
567
568 * gdb.fortran/info-modules.exp (info module variables): Allow missing
569 line numbers for some variables.
570
f0f9e75a
TV
5712020-07-21 Tom de Vries <tdevries@suse.de>
572
573 * gdb.opt/inline-locals.c (init_array): New func.
574 (func1): Use init_array.
575 * gdb.opt/inline-locals.exp: Update pattern.
576
bd460ecb
TV
5772020-07-21 Tom de Vries <tdevries@suse.de>
578
579 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
580 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
581
ae5369e7
LC
5822020-07-20 Ludovic Courtès <ludo@gnu.org>
583
584 * gdb.guile/source2.scm: Add #f first argument to 'format'.
585 * gdb.guile/types-module.exp: Remove "ERROR:" from
586 regexps since Guile 3.0 no longer prints that.
587
68cf161c
LC
5882020-07-20 Ludovic Courtès <ludo@gnu.org>
589
590 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
591 error regexp to match on Guile 2.2.
592
c14b4913
GB
5932020-07-20 Gary Benson <gbenson@redhat.com>
594
595 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
596 with clang.
597
b243ba58
TV
5982020-07-20 Tom de Vries <tdevries@suse.de>
599
600 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
601 (omp_set_lock_in_order): New function.
602 (single_scope, multi_scope, nested_func, nested_parallel): Use
603 omp_set_lock_in_order and omp_unset_lock.
604 (main): Init and destroy lock and lock2.
605
c06ad8b5
TV
6062020-07-20 Tom de Vries <tdevries@suse.de>
607
608 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
609
6e22f117
TV
6102020-07-20 Tom de Vries <tdevries@suse.de>
611
612 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
613
33176ea7
TV
6142020-07-17 Tom de Vries <tdevries@suse.de>
615
616 * gdb.base/valgrind-infcall-2.c: New test.
617 * gdb.base/valgrind-infcall-2.exp: New file.
618 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
619
90c3ec2d
TV
6202020-07-17 Tom de Vries <tdevries@suse.de>
621
622 * gdb.dlang/circular.c (found): Use found_label as label name.
623 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
624 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
625 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
626 * gdb.dwarf2/ada-linkage-name.exp: Same.
627 * gdb.dwarf2/arr-subrange.exp: Same.
628 * gdb.dwarf2/atomic-type.exp: Same.
629 * gdb.dwarf2/comp-unit-lang.exp: Same.
630 * gdb.dwarf2/cpp-linkage-name.exp: Same.
631 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
632 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
633 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
634 * gdb.dwarf2/implptr-64bit.exp: Same.
635 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
636 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
637 * gdb.dwarf2/imported-unit.exp: Same.
638 * gdb.dwarf2/main-subprogram.exp: Same.
639 * gdb.dwarf2/missing-type-name.exp: Same.
640 * gdb.dwarf2/nonvar-access.exp: Same.
641 * gdb.dwarf2/struct-with-sig.exp: Same.
642 * gdb.dwarf2/typedef-void-finish.exp: Same.
643 * gdb.dwarf2/void-type.exp: Same.
644
10da644d
TV
6452020-07-17 Tom de Vries <tdevries@suse.de>
646
647 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
648 src parameter.
649 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
650 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
651 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
652 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
653 * gdb.dwarf2/dwz.exp: Same.
654 * gdb.dwarf2/implptr-optimized-out.exp: Same.
655 * gdb.dwarf2/implref-array.exp: Same.
656 * gdb.dwarf2/implref-const.exp: Same.
657 * gdb.dwarf2/implref-global.exp: Same.
658 * gdb.dwarf2/implref-struct.exp: Same.
659 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
660 * gdb.dwarf2/opaque-type-lookup.exp: Same.
661 * gdb.dwarf2/var-access.exp: Same.
662 * gdb.dwarf2/varval.exp: Same.
663 * gdb.trace/entry-values.exp: Same.
664
315e6afc
TV
6652020-07-17 Tom de Vries <tdevries@suse.de>
666
667 * lib/dwarf.exp (Dwarf::extern): Remove.
668 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
669 * gdb.dlang/circular.exp: Same.
670 * gdb.dwarf2/comp-unit-lang.exp: Same.
671 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
672 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
673 * gdb.dwarf2/dwz.exp: Same.
674 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
675 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
676 * gdb.dwarf2/imported-unit.exp: Same.
677 * gdb.dwarf2/opaque-type-lookup.exp: Same.
678
5597c940
SL
6792020-07-16 Sandra Loosemore <sandra@codesourcery.com>
680
681 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
682 Use double quotes instead of single quotes.
683
d0ce17d8
CT
6842020-07-16 Caroline Tice <cmtice@google.com>
685
686 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
687 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
688
853772cc
TV
6892020-07-16 Tom de Vries <tdevries@suse.de>
690
691 * lib/dwarf.exp (program): Initialize _line.
692 (DW_LNE_end_sequence): Reinitialize _line.
693 (DW_LNS_advance_line): Update _line.
694 (line): New proc.
695 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
696 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
697 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
698 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
699 * gdb.dwarf2/dw2-is-stmt.exp: Same.
700 * gdb.dwarf2/dw2-ranges-func.exp: Same.
701
fe07b572
AB
7022020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
703
704 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
705 generic.
706
52781cce
TV
7072020-07-15 Tom de Vries <tdevries@suse.de>
708
709 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
710 is_amd64_regs_target.
711
3dcc261c
AB
7122020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
713
714 * gdb.fortran/ptype-on-functions.exp: Add more tests.
715 * gdb.fortran/ptype-on-functions.f90: Likewise.
716
054a0959
SM
7172020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
718
719 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
720 values in documentation for addr_size to 4 and 8.
721
ccb9eba6
AB
7222020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
723
724 * gdb.arch/amd64-osabi.exp: Update.
725 * gdb.arch/arm-disassembler-options.exp: Update.
726 * gdb.arch/powerpc-disassembler-options.exp: Update.
727 * gdb.arch/ppc64-symtab-cordic.exp: Update.
728 * gdb.arch/s390-disassembler-options.exp: Update.
729 * gdb.base/all-architectures.exp.tcl: Update.
730 * gdb.base/attach-pie-noexec.exp: Update.
731 * gdb.base/catch-syscall.exp: Update.
732 * gdb.xml/tdesc-arch.exp: Update.
733
025a39a7
TV
7342020-07-14 Tom de Vries <tdevries@suse.de>
735
736 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
737 (local_gettid): ... this.
738 (fn): Update.
739
74e4b667
SL
7402020-07-13 Sandra Loosemore <sandra@codesourcery.com>
741
742 * gdb.base/info_sources.exp: Skip directory match tests on
743 remote hosts.
744
f413dd74
GB
7452020-07-13 Gary Benson <gbenson@redhat.com>
746
747 * gdb.base/savedregs.exp (caller): Use parentheses to
748 make expected expression evaluation ordering explicit.
749
915771bb
GB
7502020-07-13 Gary Benson <gbenson@redhat.com>
751
752 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
753
2a122642
GB
7542020-07-13 Gary Benson <gbenson@redhat.com>
755
756 * gdb.base/bigcore.c (main): Use a volatile pointer when
757 attempting to trigger a SIGSEGV.
758 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
759 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
760 * gdb.base/savedregs.c (thrower): Likewise.
761 * gdb.mi/mi-syn-frame.c (bar): Likewise.
762
3f00c730
GB
7632020-07-13 Gary Benson <gbenson@redhat.com>
764
765 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
766 defining and using VLA structure fields into...
767 * gdb.base/vla-struct-fields.c: New file.
768 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
769 tests into...
770 * gdb.base/vla-struct-fields.exp: New file.
771
963eeee4
TV
7722020-07-13 Tom de Vries <tdevries@suse.de>
773
774 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
775 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
776 * gdb.base/gold-gdb-index.exp: Same.
777 * gdb.base/morestack.exp: Same.
778
0ed35c9a
DX
7792020-07-11 Daniel Xu <dxu@dxuuu.xyz>
780
781 PR rust/26121
782 * gdb.rust/modules.rs: Prevent linker from discarding test
783 symbol.
784
4fdba23d
PA
7852020-07-10 Pedro Alves <pedro@palves.net>
786
787 PR gdb/26199
788 * gdb.multi/multi-target.c (exit_thread): New.
789 (thread_start): Break loop if EXIT_THREAD.
790 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
791 (top level) Call test_no_resumed.
792
15f3b077
TT
7932020-07-08 Tom Tromey <tromey@adacore.com>
794
795 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
796 * gdb.ada/catch_ex.exp: Examine catchpoint text.
797
9fc501fd
AB
7982020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
799
800 PR python/22748
801 * gdb.opt/inline-frame-tailcall.c: New file.
802 * gdb.opt/inline-frame-tailcall.exp: New file.
803 * gdb.python/py-unwind-inline.c: New file.
804 * gdb.python/py-unwind-inline.exp: New file.
805 * gdb.python/py-unwind-inline.py: New file.
806
64cb3757
AB
8072020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
808
809 * gdb.python/py-arch-reg-groups.exp: New file.
810
0f767f94
AB
8112020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
812
813 * gdb.python/py-arch-reg-names.exp: New file.
814
87dbc774
AB
8152020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
816
817 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
818 gdb.PendingFrame.architecture method.
819
d8cc8af6
TV
8202020-07-06 Tom de Vries <tdevries@suse.de>
821
822 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
823
3c8ea5be
PA
8242020-07-03 Pedro Alves <palves@redhat.com>
825
826 * gdb.base/structs2.c (main): Adjust second parem_reg call to
827 explicitly write negative numbers.
828 * gdb.base/structs2.exp: Adjust expected output.
829
bf90c83a
PA
8302020-07-03 Pedro Alves <palves@redhat.com>
831
832 * gdb.base/charset.c (init_string): Change all char parameters to
833 unsigned char parameters.
834
2eb82157
PA
8352020-07-03 Pedro Alves <palves@redhat.com>
836
837 * gdb.base/call-sc.exp (start_scalars_test): Use
838 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
839 * gdb.base/overlays.c: Remove references to PARAMS.
840 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
841 * gdb.base/reread.exp: Don't set 'prototypes' global.
842 * gdb.base/structs.exp (start_structs_test): Use
843 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
844 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
845 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
846 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
847 call.
848 * gdb.base/varargs.exp: Don't set 'prototypes' global.
849
9adda7af
PA
8502020-07-03 Pedro Alves <palves@redhat.com>
851
852 * gdb.base/m32rovly.c: Delete.
853 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
854
2a17c803
PW
8552020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
856
857 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
858 of gdb_py_test_multiple.
859 * gdb.python/py-cmd.exp: Likewise.
860 * gdb.python/py-events.exp: Likewise.
861 * gdb.python/py-function.exp: Likewise.
862 * gdb.python/py-inferior.exp: Likewise.
863 * gdb.python/py-infthread.exp: Likewise.
864 * gdb.python/py-linetable.exp: Likewise.
865 * gdb.python/py-parameter.exp: Likewise.
866 * gdb.python/py-value.exp: Likewise.
867
b011fe1a
TV
8682020-06-30 Tom de Vries <tdevries@suse.de>
869
870 PR testsuite/26175
871 * lib/future.exp (gdb_default_target_compile): Detect and handle
872 early_flags.
873
df5b8876
SM
8742020-06-29 Simon Marchi <simon.marchi@efficios.com>
875
876 * boards/simavr.exp (gdb_load): Catch errors when closing
877 previous connection. Close connection, wait for process and
878 unset simavr_spawn_id on failure.
879
a3ca48cd
TV
8802020-06-29 Tom de Vries <tdevries@suse.de>
881
882 * lib/gdb.exp (unknown): Make test-case unresolved.
883
b0237c0e
TV
8842020-06-29 Tom de Vries <tdevries@suse.de>
885
886 PR gdb/25475
887 * gdb.server/solib-list.exp: Verify that the symbol reload
888 confirmation question is asked.
889
c0b3b3bd
PW
8902020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
891
892 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
893 have a input seq nr in each pass message.
fe4c3d43 894 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
895 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
896 * gdb.python/python.exp: Make test names unique,
897 use gdb_test_multiline instead of gdb_py_test_multiple,
898 use $gdb_test_name.
899 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
900
1776e3e5
NA
9012020-06-26 Nick Alcock <nick.alcock@oracle.com>
902
903 * configure.ac: Add --enable-libctf.
904 * aclocal.m4: sinclude ../config/enable.m4.
905 * Makefile.in (site.exp): Add enable_libctf to site.exp.
906 * lib/gdb.exp (skip_ctf_tests): Use it.
907 * gdb.base/ctf-constvars.exp: Error message tweak.
908 * gdb.base/ctf-ptype.exp: Likewise.
909 * configure: Regenerate.
910
f53b3eeb
GB
9112020-06-26 Gary Benson <gbenson@redhat.com>
912
913 * gdb.cp/try_catch.cc: Include string.h.
914 (main): Replace comparison against string literal with
915 strcmp, avoiding build failure with -Wstring-compare.
916 Add "marker test-complete".
917 * gdb.cp/try_catch.exp: Run the test to the above marker,
918 then verify that the value of "test" is still true.
919
6d74da72
AB
9202020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
921
922 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
923
2e52d038
AB
9242020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
925
926 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
927
3b9fce96
AB
9282020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
929
930 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
931 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
932 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
933 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
934 * gdb.arch/riscv-tdesc-loading.exp: New file.
935
ed69cbc8
AB
9362020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
937
938 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
939
767a879e
AB
9402020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
941
942 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
943 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
944 * gdb.arch/riscv-tdesc-regs.c: New file.
945 * gdb.arch/riscv-tdesc-regs.exp: New file.
946
221db974
PA
9472020-06-24 Pedro Alves <palves@redhat.com>
948
949 * gdb.arch/amd64-entry-value-paramref.exp: Use
950 prepare_for_testing_full and don't pass "c++" for the .S file
951 build spec.
952 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
953 $options, since it's an assembly file. Remove -Wno-deprecated.
954 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
955 compiling C++ programs.
956
331733cd
PA
9572020-06-24 Pedro Alves <palves@redhat.com>
958
959 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
960 Clang, add "-Wno-unknown-warning-option" to the options.
961
caa7fd04
AB
9622020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
963
964 * gdb.xml/tdesc-reload.c: New file.
965 * gdb.xml/tdesc-reload.exp: New file.
966 * gdb.xml/maint-xml-dump-01.xml: New file.
967 * gdb.xml/maint-xml-dump-02.xml: New file.
968 * gdb.xml/maint-xml-dump.exp: New file.
969
bb8d1260
SL
9702020-06-23 Sandra Loosemore <sandra@codesourcery.com>
971
972 * lib/completion-support.exp (test_gdb_completion_offers_commands):
973 Adjust for omitted commands when TUI is disabled.
974
7e4b9c4c
GB
9752020-06-23 Gary Benson <gbenson@redhat.com>
976 Pedro Alves <palves@redhat.com>
977
978 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
979 * gdb.cp/nsimport.cc: Likewise.
980 * gdb.cp/nsnested.cc: Likewise.
981 * gdb.cp/nsnoimports.cc: Likewise.
982 * gdb.cp/nsusing.cc: Likewise.
983 * gdb.cp/smartp.cc: Likewise.
984 * gdb.python/py-pp-integral.c: Likewise.
985 * gdb.python/py-pp-re-notag.c: Likewise.
986
2e573c0a
GB
9872020-06-23 Gary Benson <gbenson@redhat.com>
988
989 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
990 * gdb.cp/nsimport.cc: Likewise.
991 * gdb.cp/nsnested.cc: Likewise.
992 * gdb.cp/nsnoimports.cc: Likewise.
993 * gdb.cp/nsusing.cc: Likewise.
994 * gdb.cp/smartp.cc: Likewise.
995 * gdb.python/py-pp-integral.c: Likewise.
996 * gdb.python/py-pp-re-notag.c: Likewise.
997
746ebfe8
PW
9982020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
999
1000 * gdb.base/default-args.exp: New test.
1001 * gdb.base/default-args.c: New file.
1002 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
1003 * gdb.base/default.exp: Update to new help text.
1004 * gdb.base/help.exp: Likewise.
1005 * gdb.base/page.exp: Likewise.
1006 * gdb.base/style.exp: Likewise.
1007 * gdb.guile/guile.exp: Likewise.
1008 * gdb.python/python.exp: Likewise.
1009
e822f2cd
SL
10102020-06-22 Sandra Loosemore <sandra@codesourcery.com>
1011
1012 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
1013 remote host. Fix search path syntax on Windows host.
1014
48e9cc84
PW
10152020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1016
1017 * gdb.base/attach.exp: Test priority of 'exec-file' changed
1018 over 'exec-file-mismatch'.
1019 * gdb.base/attach.c: Mark should_exit volatile.
1020 * gdb.base/attach2.c: Likewise. Add a comment explaining
1021 why the sleep cannot be big.
1022 * gdb.base/attach3.c: New file.
1023
160f8a8f
SL
10242020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1025
1026 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
1027 prefix optional.
1028
4d91c2a4
SL
10292020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1030
1031 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
1032 for remote host.
1033
87f83f20
SL
10342020-06-19 Sandra Loosemore <sandra@codesourcery.com>
1035 Hafiz Abid Qadeer <abidh@codesourcery.com>
1036
1037 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
1038 file sent to remote host.
1039 (top level): Allow int32_t as type of 32-bit register.
1040
37ab8655
TV
10412020-06-19 Tom de Vries <tdevries@suse.de>
1042
1043 * lib/gdb.exp (gdb_note): New proc.
1044 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
1045 (gdb_default_target_compile): ... here. Only call
1046 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
1047 (use_gdb_compile): Change to array.
1048 (toplevel): Update sets of use_gdb_compile to specify language.
1049 Warn about default_target_compile override. Store dejagnu's version
1050 of default_target_compile in dejagnu_default_target_compile.
1051
a8a56685
TV
10522020-06-18 Tom de Vries <tdevries@suse.de>
1053
1054 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
1055 (default_gdb_init): ... here.
1056
581bea2c
SL
10572020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1058
1059 Fix TUI support checks in gdb.tui tests.
1060
1061 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
1062 just say UNSUPPORTED.
1063 * gdb.tui/corefile-run.exp: Likewise.
1064 * gdb.tui/empty.exp: Likewise.
1065 * gdb.tui/list-before.exp: Likewise.
1066 * gdb.tui/list.exp: Likewise.
1067 * gdb.tui/main.exp: Likewise.
1068 * gdb.tui/regs.exp: Likewise.
1069 * gdb.tui/resize.exp: Likewise.
1070 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
1071 * gdb.tui/tui-layout-asm.exp: Likewise.
1072 * gdb.tui/tui-missing-src.exp: Likewise.
1073 * gdb.tui/winheight.exp: Likewise.
1074 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
1075
05e682e3
SL
10762020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1077
1078 Fix TCL error in gdb.python/py-format-string.exp.
1079
1080 * gdb.python/py-format-string.exp: Move test for python support
1081 earlier, out of function body.
1082
efb763a5
SM
10832020-06-15 Simon Marchi <simon.marchi@efficios.com>
1084
1085 * gdb.base/index-cache-load-twice.c: New.
1086 * gdb.base/index-cache-load-twice.exp: New.
1087
43327b20
KS
10882020-06-17 Keith Seitz <keiths@redhat.com>
1089
99cf27cf 1090 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
1091 when executing "gdb --configuration".
1092
081e778c
TV
10932020-06-17 Tom de Vries <tdevries@suse.de>
1094
1095 * lib/gdb.exp (gdb_tcl_unknown): New proc.
1096 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
1097 conditional on presence of gdb_tcl_unknown.
1098 (gdb_finish): Make override undo conditional on presence of
1099 gdb_tcl_unknown.
1100
d2d1ea20
TT
11012020-06-16 Tom Tromey <tom@tromey.com>
1102
1103 * gdb.python/tui-window.py (failwin): New function. Register it
1104 as a TUI window type.
1105 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
1106
c802e8a7
GB
11072020-06-16 Gary Benson <gbenson@redhat.com>
1108
1109 * gdb.python/py-nested-maps.c (create_map): Add missing return
1110 value.
1111 (create_map_map): Likewise.
1112
ff08abb8
TBA
11132020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1114
1115 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
1116 variable.
1117 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
1118 and use the already-defined 'options' variable.
1119
a29d5112
AB
11202020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1121 Tom de Vries <tdevries@suse.de>
1122
1123 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
1124 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
1125 (gdb_setup_known_globals): New proc.
1126 (gdb_cleanup_globals): New proc.
1127 * lib/gdb.exp (load_lib): New override proc.
1128 (gdb_stdin_log_init): Set var in_file as persistent global.
1129 * lib/pascal.exp (gdb_stdin_log_init): Set vars
1130 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
1131 fpc_compiler as persistent global.
1132
8c74a764
TV
11332020-06-12 Tom de Vries <tdevries@suse.de>
1134
1135 * lib/tuiterm.exp (spawn): Rename to ...
1136 (tui_spawn): ... this.
1137 (toplevel): Move rename of spawn ...
1138 (gdb_init_tuiterm): ... here. New proc.
1139 (gdb_finish_tuiterm): New proc.
1140 * lib/gdb.exp (gdb_finish_hooks): New global var.
1141 (gdb_finish): Handle gdb_finish_hooks.
1142 (tuiterm_env): New proc.
1143 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
1144 tuiterm_env.
1145 * gdb.tui/basic.exp: Same.
1146 * gdb.tui/corefile-run.exp: Same.
1147 * gdb.tui/empty.exp: Same.
1148 * gdb.tui/list-before.exp: Same.
1149 * gdb.tui/list.exp: Same.
1150 * gdb.tui/main.exp: Same.
1151 * gdb.tui/new-layout.exp: Same.
1152 * gdb.tui/regs.exp: Same.
1153 * gdb.tui/resize.exp: Same.
1154 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
1155 * gdb.tui/tui-layout-asm.exp: Same.
1156 * gdb.tui/tui-missing-src.exp: Same.
1157 * gdb.tui/winheight.exp: Same.
1158
26783bce
TV
11592020-06-12 Tom de Vries <tdevries@suse.de>
1160
1161 PR testsuite/26110
1162 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
1163 (gdb_finish): Reinstall dejagnu's override of ::unknown.
1164
2b4e6a3f
TT
11652020-06-11 Tom Tromey <tom@tromey.com>
1166
1167 PR gdb/18318:
1168 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
1169 floating point tests.
1170
2f33032a
KS
11712020-06-11 Keith Seitz <keiths@redhat.com>
1172
1173 PR gdb/21356
1174 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
1175 vla_struct.
1176 Add new struct vla_typedef and union vla_typedef_union and
1177 corresponding instantiation objects.
1178 Initialize new objects.
1179 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
1180 and vla_typedef_union_object.
1181 Fixup type for vla_struct_object.
1182
a8baf0a3
TV
11832020-06-11 Tom de Vries <tdevries@suse.de>
1184
1185 * lib/gdb.exp (with_override): New proc, factored out of ...
1186 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
1187
7ab96794
TV
11882020-06-10 Tom de Vries <tdevries@suse.de>
1189
1190 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
1191
cab5c3b7
SM
11922020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
1193
1194 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
1195 parameter, update callers.
1196
f8c41851
SM
11972020-06-04 Simon Marchi <simon.marchi@efficios.com>
1198
1199 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
1200 * gdb.dwarf2/share-psymtabs-bt.c: New file.
1201 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
1202
1c07a73f
TV
12032020-06-04 Tom de Vries <tdevries@suse.de>
1204
1205 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
1206
95146b5d
TV
12072020-06-04 Tom de Vries <tdevries@suse.de>
1208
1209 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
1210 exp_continue.
1211
0cfcd4f0
TV
12122020-06-04 Tom de Vries <tdevries@suse.de>
1213
1214 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
1215
f9b5d5ea
TV
12162020-06-03 Tom de Vries <tdevries@suse.de>
1217
1218 PR symtab/26046
1219 * gdb.cp/breakpoint-locs-2.cc: New test.
1220 * gdb.cp/breakpoint-locs.cc: New test.
1221 * gdb.cp/breakpoint-locs.exp: New file.
1222 * gdb.cp/breakpoint-locs.h: New test.
1223
5144dfba
TV
12242020-06-03 Tom de Vries <tdevries@suse.de>
1225
1226 PR testsuite/25609
1227 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
1228 value of global verbose.
1229 * gdb.base/jit-elf.exp: Same.
1230 * gdb.base/jit-reader.exp: Same.
1231
621eacdf
TV
12322020-06-02 Tom de Vries <tdevries@suse.de>
1233
1234 * gdb.dwarf2/multidictionary.exp: Don't use
1235 gdb_spawn_with_cmdline_opts.
1236
1313c56e
AB
12372020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
1238
1239 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
1240 use_header case.
1241 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
1242 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
1243 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
1244 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
1245 * gdb.dwarf2/dw2-inline-header.c: New file.
1246 * gdb.dwarf2/dw2-inline-header.h: New file.
1247
f68f85b5
PA
12482020-05-30 Pedro Alves <palves@redhat.com>
1249
1250 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
1251 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
1252
678048e8
GB
12532020-05-29 Gary Benson <gbenson@redhat.com>
1254
1255 * gdb.compile/compile-cplus.exp (additional_flags): Also
1256 set when building with clang.
1257 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
1258 when building with clang.
1259
9fcafd23
GB
12602020-05-29 Gary Benson <gbenson@redhat.com>
1261
1262 * gdb.arch/i386-avx.exp (additional_flags): Also set when
1263 building with clang.
1264 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
1265
735d5a07
GB
12662020-05-29 Gary Benson <gbenson@redhat.com>
1267
1268 * gdb.cp/koenig.exp (prepare_for_testing): Add
1269 additional_flags=-Wno-unused-comparison.
1270 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
1271
4ad2c6a0
GB
12722020-05-28 Gary Benson <gbenson@redhat.com>
1273
1274 * gdb.base/sigaltstack.c (catcher): Add default case to switch
1275 statement.
1276
09fe663e
GB
12772020-05-28 Gary Benson <gbenson@redhat.com>
1278
1279 * gdb.cp/classes.exp (prepare_for_testing): Add
1280 additional_flags=-Wno-deprecated-register.
1281 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
1282 * gdb.cp/misc.exp: Likewise.
1283
cee00f17
GB
12842020-05-28 Gary Benson <gbenson@redhat.com>
1285
1286 * gdb.linespec/cpls-ops.cc (dummy): New static global.
1287 (test_op_new::operator new): Add return statement.
1288 (test_op_new_array::operator new[]): Likewise.
1289
636edd00
PA
12902020-05-27 Pedro Alves <palves@redhat.com>
1291
1292 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
1293 check. Use test_gdb_complete_unique instead of
1294 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
1295 test_gdb_complete_multiple instead of
1296 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
1297
c2b75043
LM
12982020-05-27 Luis Machado <luis.machado@linaro.org>
1299
1300 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
1301 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
1302 * gdb.arch/arm-disassembler-options.exp: Likewise.
1303 * gdb.arch/arm-disp-step.exp: Likewise.
1304 * gdb.arch/thumb-prologue.exp: Likewise.
1305 * gdb.base/async.exp: Likewise.
1306 * gdb.base/auxv.exp: Likewise.
1307 * gdb.base/complex-parts.exp: Likewise.
1308 * gdb.base/ena-dis-br.exp: Likewise.
1309 * gdb.base/foll-exec.exp: Likewise.
1310 * gdb.base/permissions.exp: Likewise.
1311 * gdb.base/relocate.exp: Likewise.
1312 * gdb.base/return2.exp: Likewise.
1313 * gdb.base/sigbpt.exp: Likewise.
1314 * gdb.base/siginfo-obj.exp: Likewise.
1315 * gdb.cp/converts.exp: Likewise.
1316 * gdb.cp/exceptprint.exp: Likewise.
1317 * gdb.cp/inherit.exp: Likewise.
1318 * gdb.cp/nsnoimports.exp: Likewise.
1319 * gdb.cp/virtbase2.exp: Likewise.
1320 * gdb.mi/mi-var-cmd.exp: Likewise.
1321 * gdb.mi/var-cmd.c: Likewise.
1322
53a47a3e
TT
13232020-05-26 Tom Tromey <tromey@adacore.com>
1324
1325 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
1326
0bc2354b
TT
13272020-05-26 Tom Tromey <tromey@adacore.com>
1328
1329 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
1330 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
1331 type.
1332 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
1333 variable.
1334
0db49895
CBG
13352020-05-26 Christian Biesinger <cbiesinger@google.com>
1336
1337 * Makefile.in: Use = instead of == for the test command
1338 for portability.
1339
40d22035
TV
13402020-05-26 Tom de Vries <tdevries@suse.de>
1341
1342 * gdb.base/gold-gdb-index-2.c: New test.
1343 * gdb.base/gold-gdb-index.c: New test.
1344 * gdb.base/gold-gdb-index.exp: New file.
1345 * gdb.base/gold-gdb-index.h: New test.
1346
043e2e02
TV
13472020-05-25 Tom de Vries <tdevries@suse.de>
1348
1349 * boards/gold-gdb-index.exp: New file.
1350
462f72c5
SM
13512020-05-25 Simon Marchi <simon.marchi@efficios.com>
1352
1353 * boards/simavr.exp: New file.
1354
6cf66e76
SM
13552020-05-25 Simon Marchi <simon.marchi@efficios.com>
1356
1357 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
1358 * gdb.base/inferior-args.exp: New file.
1359 * gdb.base/inferior-args.c: New file.
1360
75d04512
SM
13612020-05-25 Simon Marchi <simon.marchi@efficios.com>
1362
1363 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
1364 inferior_args. Pass it to gdb_reload.
1365 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
1366 inferior_args.
1367 (gdb_reload): Add inferior_args argument.
1368 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
1369 pass it to gdbserver_run.
1370 * boards/native-gdbserver.exp: Do not set noargs.
1371 * boards/native-extended-gdbserver.exp (gdb_reload): Add
1372 inferior_args argument.
1373 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
1374 * gdb.base/a2-run.exp: Check for use_gdb_stub.
1375 * gdb.base/args.exp: Likewise.
1376
42cf1844
TV
13772020-05-25 Tom de Vries <tdevries@suse.de>
1378
1379 * lib/gdb.exp (exec_is_pie): Add comment.
1380
8f7d38ef
TV
13812020-05-25 Tom de Vries <tdevries@suse.de>
1382
1383 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
1384 instead of $binfile in the untested message.
1385
465e1b0f
TV
13862020-05-25 Tom de Vries <tdevries@suse.de>
1387
1388 PR testsuite/26031
1389 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
1390
3c5a0e02
TV
13912020-05-25 Tom de Vries <tdevries@suse.de>
1392
1393 * boards/gold.exp: New file.
1394
0a4f5f8c
TT
13952020-05-23 Tom Tromey <tom@tromey.com>
1396
1397 * gdb.base/style.exp: Remove completion styling test.
1398 * lib/gdb-utils.exp (style): Remove completion styles.
1399
eca1f90c
TT
14002020-05-23 Tom Tromey <tom@tromey.com>
1401
1402 * gdb.base/style.exp: Add completion styling test.
1403 * lib/gdb-utils.exp (style): Add completion styles.
1404
7c13f4e8
AB
14052020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
1406
1407 * gdb.base/annota1.exp: Update expected results.
1408 * gdb.cp/annota2.exp: Update expected results, remove duplicate
1409 test name.
1410 * gdb.cp/annota3.exp: Update expected results.
1411
41977d16
SM
14122020-05-20 Simon Marchi <simon.marchi@efficios.com>
1413
1414 PR gdb/26016
1415 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
1416 against MAP_FAILED.
1417 * gdb.base/coremaker.c (mmapdata): Likewise.
1418 * gdb.base/jit-reader-host.c (main): Likewise.
1419 * gdb.base/sym-file-loader.c (load): Likewise.
1420 (load_shlib): Likewise.
1421
b4757f2e
TT
14222020-05-20 Tom Tromey <tromey@adacore.com>
1423
1424 * gdb.ada/array_char_idx.exp: Recognize initialized array.
1425
9a0bacfb
TV
14262020-05-20 Tom de Vries <tdevries@suse.de>
1427
1428 PR symtab/25833
1429 * gdb.base/with-mf-inc.c: New test.
1430 * gdb.base/with-mf-main.c: New test.
1431 * gdb.base/with-mf.exp: New file.
1432
76571211
TT
14332020-05-19 Tom Tromey <tromey@adacore.com>
1434
1435 * gdb.rust/simple.exp: Restore missing test result.
1436
4cd9f3d5
TV
14372020-05-19 Tom de Vries <tdevries@suse.de>
1438
1439 * gdb.base/gdb-caching-proc.exp: Fix typo.
1440
7d874253
TT
14412020-05-19 Tom Tromey <tromey@adacore.com>
1442
1443 * gdb.rust/simple.exp: Add some test descriptions.
1444 (test_one_slice): Use with_test_prefix.
1445
1d727695
TV
14462020-05-18 Tom de Vries <tdevries@suse.de>
1447
1448 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
1449
7f32a4d5
PA
14502020-05-17 Pedro Alves <palves@redhat.com>
1451
1452 PR gdb/25741
1453 * gdb.base/hw-sw-break-same-address.exp: New file.
1454
7cfd74cf
PA
14552020-05-16 Pedro Alves <palves@redhat.com>
1456
1457 * gdb.multi/multi-re-run.exp (test_re_run): Switch
1458 LAST_LOADED_FILE accordingly.
1459
57b4f16e
PW
14602020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1461
1462 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
1463
7c05caf7
PW
14642020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1465
1466 * gdb.base/help.exp: Test apropos and help for commands
1467 having aliases. Fixed comments not starting with an
1468 upper-case letter or not finishing with a dot.
1469
7aa1b46f
PW
14702020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1471
3b3aaacb
PW
1472 * gdb.base/alias.exp: Update help output check.
1473
57b4f16e 14742020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 1475
7aa1b46f
PW
1476 * gdb.base/default.exp: Update output following fixes.
1477
0605465f
PW
14782020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1479
1480 * gdb.base/alias.exp: Test aliases starting with a prefix of
1481 another alias.
1482
86e4e63d
GB
14832020-05-15 Gary Benson <gbenson@redhat.com>
1484
1485 * gdb.base/info-os.c (main): Add return statement.
1486 * gdb.base/info_minsym.c (minsym_fun): Likewise.
1487 * gdb.base/large-frame-2.c (func): Likewise.
1488 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
1489 * gdb.base/pr10179-b.c (foo2): Likewise.
1490 * gdb.base/valgrind-disp-step.c (foo): Likewise.
1491 * gdb.base/watch-cond.c (func): Likewise.
1492 * gdb.multi/goodbye.c (verylongfun): Likewise.
1493 * gdb.multi/hello.c (commonfun): Likewise.
1494 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
1495 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
1496 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1497 Likewise.
1498 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
1499 * gdb.threads/interrupt-while-step-over.c (child_function):
1500 Likewise.
1501 * gdb.trace/actions-changed.c (end): Likewise.
1502
163df4df
GB
15032020-05-15 Gary Benson <gbenson@redhat.com>
1504
1505 * gdb.opencl/callfuncs.exp: Report when test skipped.
1506 * gdb.opencl/convs_casts.exp: Likewise.
1507 * gdb.opencl/datatypes.exp: Likewise.
1508 * gdb.opencl/operators.exp: Likewise.
1509 * gdb.opencl/vec_comps.exp: Likewise.
1510
6dbc505a
TV
15112020-05-15 Tom de Vries <tdevries@suse.de>
1512
1513 * gdb.base/align.exp.in: Rename to ...
1514 * gdb.base/align.exp.tcl: ... this.
1515 * gdb.base/align-c++.exp: Update.
1516 * gdb.base/align-c.exp: Update.
1517 * gdb.base/all-architectures.exp.in: Rename to ...
1518 * gdb.base/all-architectures.exp: ... this.
1519 * gdb.base/all-architectures-0.exp: Update.
1520 * gdb.base/all-architectures-1.exp: Update.
1521 * gdb.base/all-architectures-2.exp: Update.
1522 * gdb.base/all-architectures-3.exp: Update.
1523 * gdb.base/all-architectures-4.exp: Update.
1524 * gdb.base/all-architectures-5.exp: Update.
1525 * gdb.base/all-architectures-6.exp: Update.
1526 * gdb.base/all-architectures-7.exp: Update.
1527 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
1528 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
1529 * gdb.base/infcall-nested-structs-c++.exp: Update.
1530 * gdb.base/infcall-nested-structs-c.exp: Update.
1531 * gdb.base/info-types.exp.in: Rename to ...
1532 * gdb.base/info-types.exp.tcl: ... this.
1533 * gdb.base/info-types-c++.exp: Update.
1534 * gdb.base/info-types-c.exp: Update.
1535 * gdb.base/max-depth.exp.in: Rename to ...
1536 * gdb.base/max-depth.exp.tcl: ... this.
1537 * gdb.base/max-depth-c++.exp: Update.
1538 * gdb.base/max-depth-c.exp: Update.
1539 * gdb.cp/cpexprs.exp.in: Rename to ...
1540 * gdb.cp/cpexprs.exp.tcl: ... this.
1541 * gdb.cp/cpexprs-debug-types.exp: Update.
1542 * gdb.cp/cpexprs.exp: Update.
1543 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
1544 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
1545 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
1546 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
1547 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
1548 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
1549 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
1550 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
1551 * gdb.dwarf2/clang-debug-names-2.exp: Update.
1552 * gdb.dwarf2/clang-debug-names.exp: Update.
1553
d1034d78
AB
15542020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
1555
1556 * lib/check-test-names.exp: Remove code that prevents this file
1557 loading when tests are run in parallel.
1558
3c5c3649
PA
15592020-05-15 Pedro Alves <palves@redhat.com>
1560
1561 * gdb.multi/multi-kill.exp (start_inferior): Remove
1562 'testpid' parameter. Refer to namespace variable directly.
1563 (testpid): Declare as namespace variable.
1564
272c36b8
PA
15652020-05-15 Pedro Alves <palves@redhat.com>
1566
1567 * gdb.multi/multi-kill.exp: Wrap in namespace.
1568 (start_inferior): Add TESTPID parameter. Use it instead of the
1569 testpid global.
1570 (top level): Define empty TESTPID array, and pass it down to
1571 start_inferior.
1572
02eba61a
TV
15732020-05-14 Tom de Vries <tdevries@suse.de>
1574
1575 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
1576 output.
1577
971a3747
TV
15782020-05-14 Tom de Vries <tdevries@suse.de>
1579
1580 * gdb.base/align.exp: Split into ...
1581 * gdb.base/align.exp.in: ...
1582 * gdb.base/align-c++.exp: ...
1583 * gdb.base/align-c.exp: ... these.
1584 * gdb.base/infcall-nested-structs.exp: Split into ...
1585 * gdb.base/infcall-nested-structs.exp.in: ...
1586 * gdb.base/infcall-nested-structs-c++.exp: ...
1587 * gdb.base/infcall-nested-structs-c.exp: ... these.
1588 * gdb.base/info-types.exp: Split into ...
1589 * gdb.base/info-types.exp.in: ...
1590 * gdb.base/info-types-c++.exp: ...
1591 * gdb.base/info-types-c.exp: ... these.
1592 * gdb.base/max-depth.exp: Split into ...
1593 * gdb.base/max-depth.exp.in: ...
1594 * gdb.base/max-depth-c++.exp: ...
1595 * gdb.base/max-depth-c.exp: ... these.
1596 * gdb.cp/infcall-nodebug.exp: Split into ...
1597 * gdb.cp/infcall-nodebug.exp.in: ...
1598 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
1599 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
1600 * gdb.cp/infcall-nodebug-c-d0.exp: ...
1601 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
1602
a05575d3
TBA
16032020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1604 Pedro Alves <palves@redhat.com>
1605
1606 * gdb.multi/multi-exit.c: New file.
1607 * gdb.multi/multi-exit.exp: New file.
1608 * gdb.multi/multi-kill.c: New file.
1609 * gdb.multi/multi-kill.exp: New file.
1610
6ad82919
TBA
16112020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1612
1613 * gdb.base/annota1.exp: Update the expected output.
1614 * gdb.cp/annota2.exp: Ditto.
1615
843f4d93
AB
16162020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
1617
1618 * lib/check-test-names.exp: Disable when testing is being run in
1619 parallel.
1620
c7c66341
TV
16212020-05-12 Tom de Vries <tdevries@suse.de>
1622
1623 * gdb.base/jit-elf.exp: Fix string concat.
1624
1b59ca1c
TV
16252020-05-12 Tom de Vries <tdevries@suse.de>
1626
1627 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
1628 messages.
1629
b4991d29
TV
16302020-05-12 Tom de Vries <tdevries@suse.de>
1631
1632 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
1633
dbb0ab10
TV
16342020-05-12 Tom de Vries <tdevries@suse.de>
1635
1636 * gdb.ada/catch_ex.exp: Use with_test_prefix.
1637 * gdb.ada/mi_catch_ex.exp: Same.
1638 * gdb.ada/mi_catch_ex_hand.exp: Same.
1639
7549fed8
TV
16402020-05-12 Tom de Vries <tdevries@suse.de>
1641
1642 * gdb.fortran/complex.exp: Use with_test_prefix.
1643
af2d5cd8
TV
16442020-05-12 Tom de Vries <tdevries@suse.de>
1645
1646 * gdb.trace/passcount.exp: Fix test-names.
1647
7c121311
TV
16482020-05-12 Tom de Vries <tdevries@suse.de>
1649
1650 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
1651
c9f3b40e
TV
16522020-05-12 Tom de Vries <tdevries@suse.de>
1653
1654 * gdb.gdb/complaints.exp: Use with_test_prefix.
1655 * gdb.xml/tdesc-regs.exp: Same.
1656 * gdb.opt/inline-locals.exp: Fix test name.
1657
111b33f0
TV
16582020-05-12 Tom de Vries <tdevries@suse.de>
1659
1660 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
1661 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
1662 * gdb.dwarf2/implref-struct.exp: Same.
1663 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
1664 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
1665
ebf47080
SM
16662020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
1667
1668 * gdb.base/jit-so.exp (one_jit_test): Change test name.
1669
d30dcd12
AB
16702020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1671
1672 * lib/check-test-names.exp (all_test_names): New module variable.
1673 (counts): Add 'duplicates' field.
1674 (_check_duplicates): New procedure.
1675 (check): Also check for duplicates.
1676 (do_log_summary): Print duplicates count.
1677 (do_reset_vars): Reset counter for duplicate test names, and
1678 discard all know test names.
1679
34584c09
AB
16802020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1681
1682 * lib/gdb.exp: Include check-test-names.exp library.
1683 * lib/check-test-names.exp: New file.
1684
e0002117
TV
16852020-05-11 Tom de Vries <tdevries@suse.de>
1686
1687 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
1688
53f539a3
KS
16892020-05-11 Keith Seitz <keiths@redhat.com>
1690
1691 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
1692
113ee09a
TV
16932020-05-11 Tom de Vries <tdevries@suse.de>
1694
1695 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
1696 * gdb.cp/cpexprs.exp.in: .. here.
1697 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
1698 cpexprs.exp.
1699
ba3e70b0
KS
17002020-05-11 Keith Seitz <keiths@redhat.com>
1701
1702 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
1703 test names.
1704 * gdb.ada/arrayptr.exp: Likewise.
1705 * gdb.ada/assign_arr.exp: Likewise.
1706 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1707 * gdb.ada/bp_on_var.exp: Likewise.
1708 * gdb.ada/call_pn.exp: Likewise.
1709 * gdb.ada/complete.exp: Likewise.
1710 * gdb.ada/fun_overload_menu.exp: Likewise.
1711 * gdb.ada/funcall_param.exp: Likewise.
1712 * gdb.ada/funcall_ref.exp: Likewise.
1713 * gdb.ada/packed_array_assign.exp: Likewise.
1714 * gdb.ada/same_component_name.exp: Likewise.
1715 * gdb.ada/type_coercion.exp: Likewise.
1716 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1717 * gdb.ada/variant_record_packed_array.exp: Likewise.
1718
3ee6bb11
TV
17192020-05-11 Tom de Vries <tdevries@suse.de>
1720
1721 PR symtab/25941
1722 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
1723 out of ...
1724 * gdb.dwarf2/clang-debug-names.exp: ... here.
1725 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
1726 clang-debug-names.exp.in.
1727 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
1728 * gdb.dwarf2/clang-debug-names-2.c: New test.
1729
86cd6bc8
AKS
17302020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1731
1732 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
1733 (fortran_runto_main): New Proc, fortran version of runto_main.
1734 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
1735 * gdb.fortran/array-bounds.exp: Likewise.
1736 * gdb.fortran/array-slices.exp: Likewise.
1737 * gdb.fortran/block-data.exp: Likewise.
1738 * gdb.fortran/charset.exp: Likewise.
1739 * gdb.fortran/common-block.exp: Likewise.
1740 * gdb.fortran/complex.exp: Likewise.
1741 * gdb.fortran/derived-type-function.exp: Likewise.
1742 * gdb.fortran/derived-type.exp: Likewise.
1743 * gdb.fortran/info-modules.exp: Likewise.
1744 * gdb.fortran/info-types.exp: Likewise.
1745 * gdb.fortran/intrinsics.exp: Likewise.
1746 * gdb.fortran/library-module.exp: Likewise.
1747 * gdb.fortran/logical.exp: Likewise.
1748 * gdb.fortran/max-depth.exp: Likewise.
1749 * gdb.fortran/module.exp: Likewise.
1750 * gdb.fortran/multi-dim.exp: Likewise.
1751 * gdb.fortran/nested-funcs.exp: Likewise.
1752 * gdb.fortran/print-formatted.exp: Likewise.
1753 * gdb.fortran/print_type.exp: Likewise.
1754 * gdb.fortran/printing-types.exp: Likewise.
1755 * gdb.fortran/ptr-indentation.exp: Likewise.
1756 * gdb.fortran/ptype-on-functions.exp: Likewise.
1757 * gdb.fortran/subarray.exp: Likewise.
1758 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1759 * gdb.fortran/vla-datatypes.exp: Likewise.
1760 * gdb.fortran/vla-history.exp: Likewise.
1761 * gdb.fortran/vla-ptr-info.exp: Likewise.
1762 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1763 * gdb.fortran/vla-ptype.exp: Likewise.
1764 * gdb.fortran/vla-sizeof.exp: Likewise.
1765 * gdb.fortran/vla-type.exp: Likewise.
1766 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1767 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1768 * gdb.fortran/vla-value-sub.exp: Likewise.
1769 * gdb.fortran/vla-value.exp: Likewise.
1770 * gdb.fortran/whatis_type.exp: Likewise.
1771 * gdb.mi/mi-var-child-f.exp: Likewise.
1772
6dc55ce9 17732020-05-09 Tom de Vries <tdevries@suse.de>
1774
1775 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
1776
283cb58c
TV
17772020-05-08 Tom de Vries <tdevries@suse.de>
1778
1779 * gdb.dwarf2/clang-debug-names.c: New test.
1780 * gdb.dwarf2/clang-debug-names.exp: New file.
1781
ac4a4f1c
SM
17822020-05-06 Simon Marchi <simon.marchi@efficios.com>
1783
1784 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
1785 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
1786
24fe640b
TV
17872020-05-06 Tom de Vries <tdevries@suse.de>
1788
1789 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
1790 breakpoint is at a "recommended breakpoint location".
1791 * gdb.reverse/consecutive-reverse.exp: Same.
1792
0d8683a3
TV
17932020-05-06 Tom de Vries <tdevries@suse.de>
1794
1795 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
1796 address.
1797
b8983c46
TV
17982020-05-06 Tom de Vries <tdevries@suse.de>
1799
1800 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
1801
abf6d805
TV
18022020-05-06 Tom de Vries <tdevries@suse.de>
1803
1804 * gdb.base/store.exp (check_set, up_set): Allowing missing location
1805 info for r.
1806
0fc2a808
TV
18072020-05-06 Tom de Vries <tdevries@suse.de>
1808
1809 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
1810 necessary.
1811
873dd427
TV
18122020-05-06 Tom de Vries <tdevries@suse.de>
1813
1814 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
1815 void.
1816
7c99e7e2
TV
18172020-05-06 Tom de Vries <tdevries@suse.de>
1818
1819 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
1820 of ...
1821 * gdb.base/async.exp: ... here.
1822 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
1823 "recommended breakpoint location".
1824
6173d6a6
TV
18252020-05-06 Tom de Vries <tdevries@suse.de>
1826
1827 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
1828
6015a067
TV
18292020-05-04 Tom de Vries <tdevries@suse.de>
1830
1831 * gdb.base/async.exp: Check whether instruction addresses are a
1832 "recommended breakpoint location".
1833
3b6acaee
TT
18342020-05-03 Tom Tromey <tom@tromey.com>
1835
1836 * gdb.base/sepdebug.exp: Remove "catch" test.
1837 * gdb.base/break.exp: Remove "catch" test.
1838 * gdb.base/default.exp: Update expected output.
1839
5beb4d17
TV
18402020-05-02 Tom de Vries <tdevries@suse.de>
1841
1842 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
1843 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
1844 * gdb.arch/i386-mpx-map.exp: Same.
1845 * gdb.arch/i386-mpx-sigsegv.exp: Same.
1846 * gdb.arch/i386-mpx-simple_segv.exp: Same.
1847 * gdb.arch/i386-mpx.exp: Same.
1848
8caf140d
TV
18492020-05-02 Tom de Vries <tdevries@suse.de>
1850
1851 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
1852
693196cb
TV
18532020-05-01 Tom de Vries <tdevries@suse.de>
1854
1855 * gdb.ada/operator_bp.exp: Allow more than required amount of
1856 breakpoint.
1857
53ae0aa9
TV
18582020-05-01 Tom de Vries <tdevries@suse.de>
1859
1860 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
1861
ee9d1e5f
HD
18622020-04-30 Hannes Domani <ssbssa@yahoo.de>
1863
1864 PR gdb/18706
1865 * gdb.cp/stub-array-size.cc: New test.
1866 * gdb.cp/stub-array-size.exp: New file.
1867 * gdb.cp/stub-array-size.h: New test.
1868 * gdb.cp/stub-array-size2.cc: New test.
1869
d5cf82c0
HD
18702020-04-30 Hannes Domani <ssbssa@yahoo.de>
1871
1872 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
1873 output to the new format.
1874
42e165c3
SM
18752020-04-29 Simon Marchi <simon.marchi@efficios.com>
1876
1877 * gdb.base/break.exp: Use with_test_prefix.
1878
6e4e3fe1
TV
18792020-04-29 Tom de Vries <tdevries@suse.de>
1880
1881 * lib/gdb.exp (debug_types): New proc.
1882 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
1883 * gdb.python/py-symtab.exp: Same.
1884
d642b692
HD
18852020-04-29 Hannes Domani <ssbssa@yahoo.de>
1886
1887 PR gdb/17320
1888 * gdb.base/pretty-array.c: New test.
1889 * gdb.base/pretty-array.exp: New file.
1890
ea90f227
TV
18912020-04-29 Tom de Vries <tdevries@suse.de>
1892
1893 PR symtab/25889
1894 * gdb.cp/cpexprs.exp: Adapt for inclusion.
1895 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
1896 and include cpexprs.exp.
1897
a65189c9
TV
18982020-04-28 Mark Williams <mark@myosotissp.com>
1899
1900 PR gdb/24480
1901 * dw4-toplevel-types.exp: Test for top level types.
1902 * dw4-toplevel-types.cc: Test for top level types.
1903
32d1f47a
TBA
19042020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1905
1906 * gdb.threads/stop-with-handle.exp: Fix typo in comment
1907 (theads -> threads).
1908
56a4f5a1
TV
19092020-04-28 Tom de Vries <tdevries@suse.de>
1910
1911 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
1912
0b2f8a3b
TV
19132020-04-28 Tom de Vries <tdevries@suse.de>
1914
1915 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
1916
5390c717
TV
19172020-04-28 Tom de Vries <tdevries@suse.de>
1918
1919 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
1920
15cd93d0
TV
19212020-04-28 Tom de Vries <tdevries@suse.de>
1922
1923 * gdb.dwarf2/main-foo.c: New test.
1924 * gdb.dwarf2/struct-with-sig.exp: New file.
1925
d472f0fb
TV
19262020-04-25 Tom de Vries <tdevries@suse.de>
1927
1928 * boards/debug-types.exp: New file.
1929
8d840e05
AB
19302020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
1931
1932 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
1933
bcfe6157
TT
19342020-04-24 Tom Tromey <tom@tromey.com>
1935
1936 PR symtab/12707:
1937 * gdb.python/py-symbol.exp: Update expected results for
1938 linkage_name test.
1939 * gdb.cp/print-demangle.exp: New file.
1940 * gdb.base/c-linkage-name.exp: Fix test.
1941 * gdb.guile/scm-symbol.exp: Update expected results for
1942 linkage_name test.
1943
f049a313
TT
19442020-04-24 Tom Tromey <tom@tromey.com>
1945
1946 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
1947 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
1948 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
1949 assembler.
1950
7cf28874
TV
19512020-04-24 Tom de Vries <tdevries@suse.de>
1952
1953 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
1954 C++.
1955
dac2fef7
TT
19562020-04-24 Tom Tromey <tromey@adacore.com>
1957
1958 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
1959 values.
1960 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
1961 values. Update test for minimal encodings.
1962 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
1963 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
1964 values. Update test for minimal encodings.
1965
1acda803
TT
19662020-04-24 Tom Tromey <tromey@adacore.com>
1967
1968 PR python/23662:
1969 * gdb.ada/variant.exp: Add Python checks.
1970 * gdb.rust/simple.exp: Add dynamic type checks.
1971
adfb9815
TT
19722020-04-24 Tom Tromey <tromey@adacore.com>
1973
1974 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
1975 Make array type matching more lax.
1976 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
1977 * gdb.ada/mi_variant.exp: New file.
1978 * gdb.ada/mi_variant/pck.ads: New file.
1979 * gdb.ada/mi_variant/pkg.adb: New file.
1980 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
1981 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
1982
7d79de9a
TT
19832020-04-24 Tom Tromey <tromey@adacore.com>
1984
1985 * gdb.ada/variant.exp: Add dynamic field offset tests.
1986 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
1987 * gdb.ada/variant/pkg.adb: Add new variables.
1988
f8e89861
TT
19892020-04-24 Tom Tromey <tromey@adacore.com>
1990
1991 * gdb.ada/variant.exp: New file
1992 * gdb.ada/variant/pkg.adb: New file
1993 * gdb.ada/variant/pck.adb: New file
1994
86e887ae
TV
19952020-04-24 Tom de Vries <tdevries@suse.de>
1996
1997 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
1998
88428775
TV
19992020-04-24 Tom de Vries <tdevries@suse.de>
2000
2001 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
2002 flags.
2003
4e86f6e7
TV
20042020-04-24 Tom de Vries <tdevries@suse.de>
2005
2006 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
2007
2016d3e6
TV
20082020-04-24 Tom de Vries <tdevries@suse.de>
2009
2010 * lib/gdb.exp (default_gdb_start): Handle eof.
2011 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
2012 failure.
2013 * gdb.base/readnever.exp: Handle clean_restart failure.
2014
70bc38f5
TV
20152020-04-23 Tom de Vries <tdevries@suse.de>
2016
2017 * gdb.base/decl-before-def.exp: Run to main and print a again.
2018
de82891c
TV
20192020-04-23 Tom de Vries <tdevries@suse.de>
2020
2021 * gdb.base/decl-before-def-decl.c: New test.
2022 * gdb.base/decl-before-def-def.c: New test.
2023 * gdb.base/decl-before-def.exp: New file.
2024
96038148
TV
20252020-04-23 Tom de Vries <tdevries@suse.de>
2026
2027 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
2028
54ac3df1
TV
20292020-04-22 Tom de Vries <tdevries@suse.de>
2030
2031 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
2032 debug_info_offset.
2033 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
2034 before $objsfile in the line line.
2035
714534e1
TV
20362020-04-22 Tom de Vries <tdevries@suse.de>
2037
2038 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
2039
16a7dbf4
MS
20402020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2041
2042 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
2043 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
2044 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
2045 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
2046 * gdb.base/jit-protocol.h: Update definitions to match all usage
2047 contexts.
2048
20492020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2050
2051 * gdb.base: Rename all jit related test and source files.
2052
20532020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2054
2055 * gdb.base/jit-reader.exp: Relax register output check.
2056
317d2668
TV
20572020-04-22 Tom de Vries <tdevries@suse.de>
2058
2059 PR symtab/25764
2060 * gdb.base/psym-external-decl-2.c: New test.
2061 * gdb.base/psym-external-decl.c: New test.
2062 * gdb.base/psym-external-decl.exp: New file.
2063 * gdb.threads/tls.exp: Add PR25807 kfail.
2064
eea9e357
TV
20652020-04-22 Tom de Vries <tdevries@suse.de>
2066
2067 PR symtab/25801
2068 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
2069 in "info source" output.
2070
3d5afab3
TV
20712020-04-22 Tom de Vries <tdevries@suse.de>
2072
2073 PR symtab/25700
2074 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
2075 symtab for imported_unit.c.
2076
b32102f6
GB
20772020-04-21 Gary Benson <gbenson@redhat.com>
2078
2079 * gdb.base/advance.c (func): New argument, to match call site.
2080 (func2, func3): Add return statements.
2081
d43b7a2d
TBA
20822020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2083
2084 * gdb.multi/run-only-second-inf.c: New file.
2085 * gdb.multi/run-only-second-inf.exp: New file.
2086
d89edf9b
MM
20872020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2088
2089 * gdb.btrace/multi-inferior.c: New test.
2090 * gdb.btrace/multi-inferior.exp: New file.
2091
1a476b6d
MM
20922020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2093
2094 * gdb.btrace/enable-new-thread.c: New test.
2095 * gdb.btrace/enable-new-thread.exp: New file.
2096
4778a5f8
TV
20972020-04-21 Tom de Vries <tdevries@suse.de>
2098
2099 PR gdb/25471
2100 * gdb.threads/killed-outside.c: New test.
2101 * gdb.threads/killed-outside.exp: New file.
2102
9b2c992c
GB
21032020-04-20 Gary Benson <gbenson@redhat.com>
2104
2105 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
2106 * gdb.base/nested-subp2.exp: Likewise.
2107 * gdb.base/nested-subp3.exp: Likewise.
2108
b5d1d6f7
GB
21092020-04-20 Gary Benson <gbenson@redhat.com>
2110
2111 * gdb.base/nested-subp1.exp: Disable test when using clang.
2112 * gdb.base/nested-subp2.exp: Likewise.
2113 * gdb.base/nested-subp3.exp: Likewise.
2114
25230285
GB
21152020-04-20 Gary Benson <gbenson@redhat.com>
2116
2117 * gdb.cp/exception.cc: Fix compilation error with clang.
2118
fa93cc8f
GB
21192020-04-20 Gary Benson <gbenson@redhat.com>
2120
809730f3 2121 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 2122
e0c45f30
GB
21232020-04-20 Gary Benson <gbenson@redhat.com>
2124
2125 * gdb.base/jit-main.c: Fix compilation error with clang.
2126
4ddfec93
KR
21272020-04-17 Kamil Rytarowski <n54@gmx.com>
2128
2129 * gdb.base/attach-twice.c: Include "sys/types.h".
2130 (PTRACE_ATTACH): Add fallback definition.
2131 (main): Pass `0' to the 4th argument of `ptrace'.
2132
2bed205e
KR
21332020-04-17 Kamil Rytarowski <n54@gmx.com>
2134
2135 * gdb.base/fork-running-state.c: Include "signal.h".
2136
0743fc83
TT
21372020-04-17 Tom Tromey <tromey@adacore.com>
2138
2139 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
2140 Update tests.
2141 * gdb.btrace/cpu.exp: Update tests.
2142 * gdb.base/maint.exp: Update tests.
2143 * gdb.base/default.exp: Update tests.
2144 * gdb.base/completion.exp: Update tests.
2145
efba5c23
TV
21462020-04-16 Tom de Vries <tdevries@suse.de>
2147
2148 PR symtab/25791
2149 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
2150 (ensure_gdb_index): and factor out and move ...
2151 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
2152 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
2153
d191d716
TV
21542020-04-16 Tom de Vries <tdevries@suse.de>
2155
2156 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
2157 loading exec.
2158
99f1bc6a
AB
21592020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
2160
2161 * gdb.base/many-completions.exp: New file.
2162
194d088f
TV
21632020-04-14 Tom de Vries <tdevries@suse.de>
2164
2165 PR symtab/25718
2166 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
2167
c1a66c06
TV
21682020-04-14 Tom de Vries <tdevries@suse.de>
2169
2170 PR symtab/25720
2171 * gdb.base/maint-expand-symbols-header-file.c: New test.
2172 * gdb.base/maint-expand-symbols-header-file.exp: New file.
2173 * gdb.base/maint-expand-symbols-header-file.h: New test.
2174
21b0982c
AB
21752020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2176
2177 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
2178 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
2179 get_func_info.
2180 (get_func_info): Delete.
2181 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
2182 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
2183 * lib/dwarf.exp (get_func_info): New function.
2184
dd1cab06
TV
21852020-04-13 Tom de Vries <tdevries@suse.de>
2186
2187 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
2188 to what find_gnatmake does.
2189
71ea2b6b
TV
21902020-04-10 Tom de Vries <tdevries@suse.de>
2191
2192 * gdb.base/style.exp: Expect "Expanding full symbols" message for
2193 -readnow.
2194
bdfc1e8a
TV
21952020-04-10 Tom de Vries <tdevries@suse.de>
2196
2197 PR cli/25808
2198 * gdb.base/style.c: Add leading newlines.
2199 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
2200 Check listing of main's one-line body.
2201
14ca8ecf
TV
22022020-04-08 Tom de Vries <tdevries@suse.de>
2203
2204 * lib/gdb.exp (psymtabs_p): New proc.
2205 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
2206 importing unit" unsupported if there are no partial symbols.
2207
e21d048f
TV
22082020-04-08 Tom de Vries <tdevries@suse.de>
2209
2210 PR testsuite/25760
2211 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
2212
25c11aca
TV
22132020-04-07 Tom de Vries <tdevries@suse.de>
2214
2215 PR symtab/25796
2216 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
2217
5707e24b
TV
22182020-04-07 Tom de Vries <tdevries@suse.de>
2219
2220 * gdb.base/check-psymtab.c: New test.
2221 * gdb.base/check-psymtab.exp: New file.
2222
6ee448cc
TT
22232020-04-06 Tom Tromey <tromey@adacore.com>
2224
2225 * gdb.ada/variant-record/proc.adb: New file.
2226 * gdb.ada/variant-record/value.adb: New file.
2227 * gdb.ada/variant-record/value.s: New file.
2228 * gdb.ada/variant-record.exp: New file.
2229
9e7c9a03
HD
22302020-04-03 Hannes Domani <ssbssa@yahoo.de>
2231
2232 PR gdb/25325
2233 * gdb.cp/typed-enum.cc: New test.
2234 * gdb.cp/typed-enum.exp: New file.
2235
c90d28ac
AB
22362020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2237
2238 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
2239 * gdb.dwarf2/dw2-inline-small-func.c: New file.
2240 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
2241 * gdb.dwarf2/dw2-inline-small-func.h: New file.
2242 * gdb.opt/inline-small-func.c: New file.
2243 * gdb.opt/inline-small-func.exp: New file.
2244 * gdb.opt/inline-small-func.h: New file.
2245
34e9a9fa
AB
22462020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2247
2248 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
2249 function.
2250
6a354911
AB
22512020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2252
2253 * lib/dwarf.exp (function_range): Allow compiler options to be
2254 specified.
2255
880d9777
TV
22562020-04-02 Tom de Vries <tdevries@suse.de>
2257
2258 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
2259 __attribute__((always_inline)).
2260 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
2261
f32682ea
TV
22622020-04-02 Tom de Vries <tdevries@suse.de>
2263
2264 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
2265 (gdbserver_gdb_exit): ... here. Add timeout warning.
2266 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
2267 (connect_target_extended_remote): Append new server_spawn_id to
2268 server_spawn_ids.
2269 (cleanup): New proc.
2270 (setup, <toplevel>): Call cleanup.
2271
d3214198
TV
22722020-04-02 Tom de Vries <tdevries@suse.de>
2273
2274 * gdb.base/main-psymtab.exp: New file.
2275
cc77ed24
TV
22762020-04-02 Tom de Vries <tdevries@suse.de>
2277
2278 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
2279
3638a098
TT
22802020-04-01 Tom Tromey <tom@tromey.com>
2281
2282 * gdb.base/complex-parts.exp: Add type tests.
2283
c34e8714
TT
22842020-04-01 Tom Tromey <tom@tromey.com>
2285
2286 * gdb.base/complex-parts.exp: Add arithmetic tests.
2287
981c08ce
TT
22882020-04-01 Tom Tromey <tom@tromey.com>
2289
2290 * gdb.compile/compile.exp: Update.
2291 * gdb.compile/compile-cplus.exp: Update.
2292 * gdb.base/varargs.exp: Update.
2293 * gdb.base/floatn.exp: Update.
2294 * gdb.base/endianity.exp: Update.
2295 * gdb.base/callfuncs.exp (do_function_calls): Update.
2296 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
2297 (complex_float_integral_args): Update.
2298 * gdb.base/complex.exp: Update.
2299 * gdb.base/complex-parts.exp: Update.
2300
3d1cfd43
TT
23012020-04-01 Tom Tromey <tromey@adacore.com>
2302
2303 * gdb.rust/union.rs: New file.
2304 * gdb.rust/union.exp: New file.
2305 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
2306 (main): Update.
2307 * gdb.rust/simple.exp: Move union tests to union.exp.
2308
e033dfa9
TT
23092020-04-01 Tom Tromey <tromey@adacore.com>
2310
2311 * gdb.rust/simple.rs (main): Remove "y0".
2312
53cccef1
TBA
23132020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2314
2315 * gdb.multi/stop-all-on-exit.c: New test.
2316 * gdb.multi/stop-all-on-exit.exp: New file.
2317
60e22c1e
HD
23182020-04-01 Hannes Domani <ssbssa@yahoo.de>
2319
2320 PR gdb/24789
2321 * gdb.cp/misc.cc: Add integer reference variable.
2322 * gdb.cp/misc.exp: Add test.
2323
e139a727
TBA
23242020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2325
2326 * gdb.server/stop-reply-no-thread.exp: Enhance the test
2327 scenario to cover execution until the end and also the case
2328
16b0db75
TV
23292020-03-31 Tom de Vries <tdevries@suse.de>
2330
2331 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
2332 c. Use "maint info symtabs" to check symtab expansion.
2333
c0502da6
TV
23342020-03-30 Tom de Vries <tdevries@suse.de>
2335
2336 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
2337 unsupported.
2338 (verify_psymtab_expanded): Move ...
2339 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
2340 test.
2341 (readnow): New proc.
2342
5935fd15
AB
23432020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2344
2345 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
2346 with $hex.
2347
1773be9e
TT
23482020-03-20 Tom Tromey <tromey@adacore.com>
2349
2350 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
2351
70304be9
TT
23522020-03-20 Tom Tromey <tromey@adacore.com>
2353
2354 * gdb.ada/sub_variant/subv.adb: New file.
2355 * gdb.ada/sub_variant.exp: New file.
2356
0dd7b8f7
TV
23572020-03-20 Tom de Vries <tdevries@suse.de>
2358
2359 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
2360 first break fails.
2361 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
2362
cada5fc9
AB
23632020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2364
2365 * gdb.server/exit-multiple-threads.c: New file.
2366 * gdb.server/exit-multiple-threads.exp: New file.
2367
6b8c53f2
AB
23682020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2369
2370 * gdb.fortran/mixed-lang-stack.c: New file.
2371 * gdb.fortran/mixed-lang-stack.cpp: New file.
2372 * gdb.fortran/mixed-lang-stack.exp: New file.
2373 * gdb.fortran/mixed-lang-stack.f90: New file.
2374
19a2740f
AB
23752020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2376
2377 * gdb.linespec/cp-completion-aliases.cc: New file.
2378 * gdb.linespec/cp-completion-aliases.exp: New file.
2379
d8c8b848
TV
23802020-03-19 Tom de Vries <tdevries@suse.de>
2381
2382 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
2383 more precise.
2384
a9933ccf
TV
23852020-03-18 Tom de Vries <tdevries@suse.de>
2386
2387 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
2388 * gdb.dwarf2/break-inline-psymtab.c: New test.
2389 * gdb.dwarf2/break-inline-psymtab.exp: New file.
2390
2f89101f
TV
23912020-03-16 Tom de Vries <tdevries@suse.de>
2392
2393 * lib/cache.exp (gdb_do_cache): Add and handle local variables
2394 cache_verify and cache_verify_proc.
2395
6b9374f1
TV
23962020-03-15 Tom de Vries <tdevries@suse.de>
2397
2398 * gdb.server/solib-list.exp: Handle
2399 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
2400
eaeaf44c
TV
24012020-03-15 Tom de Vries <tdevries@suse.de>
2402
2403 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
2404 objfiles".
2405
3293bbaf
TT
24062020-03-14 Tom Tromey <tom@tromey.com>
2407
2408 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
2409
ab44624c
TV
24102020-03-14 Tom de Vries <tdevries@suse.de>
2411
2412 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
2413
54c43825
TV
24142020-03-14 Tom de Vries <tdevries@suse.de>
2415
2416 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
2417 result in line-by-line fashion.
2418
2ac70237
TV
24192020-03-14 Tom de Vries <tdevries@suse.de>
2420
2421 * lib/gdb.exp (supports_statement_frontiers): New proc.
2422 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
2423
09546b56
TV
24242020-03-14 Tom de Vries <tdevries@suse.de>
2425
2426 * gdb.base/printcmds.exp: Add missing quoting for "print
2427 teststring2".
2428
a1f6a07c
TT
24292020-03-13 Tom Tromey <tom@tromey.com>
2430
2431 * gdb.base/printcmds.exp (test_print_strings): Add regression
2432 test.
2433 * gdb.base/printcmds.c (charptr): New typedef.
2434 (teststring2): New global.
2435
1b83d09c
AB
24362020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
2437
2438 * gdb.base/break-interp.exp: Use the tail of the filename, not the
2439 full path in the test name.
2440 (test_ld): Add some with_test_prefix blocks to make test names
2441 unique.
2442
2d61316c
TV
24432020-03-13 Tom de Vries <tdevries@suse.de>
2444
2445 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
2446
2e9145ac
TV
24472020-03-13 Tom de Vries <tdevries@suse.de>
2448
2449 * gdb.mi/mi-sym-info.exp: Make matching more precise.
2450
96c7f873
TV
24512020-03-13 Tom de Vries <tdevries@suse.de>
2452
2453 PR symtab/25646
2454 * gdb.dwarf2/imported-unit.exp: Add test.
2455
49ba92c0
TV
24562020-03-13 Tom de Vries <tdevries@suse.de>
2457
2458 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
2459 (var1, var2): New variable.
2460 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
2461 matching symbols.
2462
301b21e0
TV
24632020-03-13 Tom de Vries <tdevries@suse.de>
2464
2465 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
2466 (Term::command): Use prompt prefix.
2467 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
2468 * gdb.tui/tui-layout-asm-short-prog.exp: Use
2469 command_no_prompt_prefix instead of prefix.
2470 * gdb.tui/tui-layout-asm.exp: Same.
2471
3f512721
SM
24722020-03-12 Simon Marchi <simon.marchi@efficios.com>
2473
2474 * gdb.base/break-interp.exp: Use foreach_with_prefix.
2475
40310f30
SM
24762020-03-12 Simon Marchi <simon.marchi@efficios.com>
2477
2478 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
2479 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
2480 on" while stepping over the test instruction, match printed
2481 message.
2482
09252140
TV
24832020-03-12 Tom de Vries <tdevries@suse.de>
2484
2485 * gdb.base/info-types.exp: Use exp_continue during matching of output
2486 of "info types".
2487
14e9c72c
TV
24882020-03-12 Tom de Vries <tdevries@suse.de>
2489
2490 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
2491
e515d67e
TV
24922020-03-12 Tom de Vries <tdevries@suse.de>
2493
2494 * gdb.fortran/module.exp: Use exp_continue during matching of output
2495 of "info variable -n".
2496
307eafd8
TV
24972020-03-12 Tom de Vries <tdevries@suse.de>
2498
2499 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
2500 gdb.dwarf2/dw2-ranges-base.c.
2501
9a2de3fc
TV
25022020-03-12 Tom de Vries <tdevries@suse.de>
2503
2504 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
2505 in presence of GLIBC debuginfo.
2506
3217502e
TV
25072020-03-12 Tom de Vries <tdevries@suse.de>
2508
2509 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
2510 $core.
2511
1281424c
TV
25122020-03-12 Tom de Vries <tdevries@suse.de>
2513
2514 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
2515 more precise.
2516
038b97fc
SM
25172020-03-11 Simon Marchi <simon.marchi@efficios.com>
2518
2519 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
2520 from Unix to Windows path.
2521
5308d1e7
TV
25222020-03-11 Tom de Vries <tdevries@suse.de>
2523
2524 * gdb.ada/minsyms.exp: Set language to ada.
2525
f870f78f
TV
25262020-03-11 Tom de Vries <tdevries@suse.de>
2527
2528 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
2529
5a13315d
TV
25302020-03-11 Tom de Vries <tdevries@suse.de>
2531
2532 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
2533
976862ed
TT
25342020-03-11 Tom Tromey <tromey@adacore.com>
2535
2536 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
2537
7462c383
TV
25382020-03-11 Tom de Vries <tdevries@suse.de>
2539
2540 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
2541
1c6c46a0
TV
25422020-03-11 Tom de Vries <tdevries@suse.de>
2543
2544 * gdb.base/break-interp.exp: Limit verbose scope.
2545
44f41bb7
TV
25462020-03-11 Tom de Vries <tdevries@suse.de>
2547
2548 * gdb.fortran/logical.f90: Define variable with character type.
2549 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
2550
b76f3a42
TV
25512020-03-11 Tom de Vries <tdevries@suse.de>
2552
2553 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
2554
1c33af77
TV
25552020-03-11 Tom de Vries <tdevries@suse.de>
2556
2557 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
2558 symtabs.
2559
8c95582d
AB
25602020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2561 Bernd Edlinger <bernd.edlinger@hotmail.de>
2562
2563 * gdb.cp/step-and-next-inline.cc: New file.
2564 * gdb.cp/step-and-next-inline.exp: New file.
2565 * gdb.cp/step-and-next-inline.h: New file.
2566 * gdb.dwarf2/dw2-is-stmt.c: New file.
2567 * gdb.dwarf2/dw2-is-stmt.exp: New file.
2568 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
2569 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
2570 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
2571
cecf8547
AB
25722020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2573
2574 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
2575 is-stmt flag in the line table.
2576
0ba678c9
TV
25772020-03-09 Tom de Vries <tdevries@suse.de>
2578
2579 * lib/gdb.exp (cached_file): Create cache dir.
2580
72fbdf83
TV
25812020-03-07 Tom de Vries <tdevries@suse.de>
2582
2583 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
2584 * gdb.cp/rvalue-ref-params.exp: Same.
2585
436b5e99
TV
25862020-03-06 Tom de Vries <tdevries@suse.de>
2587
2588 * lib/gdb.exp (tentative_rename, cached_file): New proc.
2589 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
2590
09f2921c
TV
25912020-03-06 Tom de Vries <tdevries@suse.de>
2592
2593 * README: Fix "the the".
2594 * gdb.base/dprintf.exp: Same.
2595
50a3cc5d
TV
25962020-03-05 Tom de Vries <tdevries@suse.de>
2597
2598 * gdb.base/maint.exp: Update "main print statistics" expected output.
2599
0a709cba
AKS
26002020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2601
2602 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
2603 (fortran_int8): Likewise.
2604 (fortran_real4): Likewise.
2605 (fortran_real8): Likewise.
2606 (fortran_complex4): Likewise.
2607 (fortran_logical4): Likewise.
2608 (fortran_character1): Likewise.
2609
5e5d66b6
AB
26102020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
2611
2612 * gdb.fortran/logical.exp: Add tests that any non-zero value is
2613 printed as true.
2614
7b973adc
SDJ
26152020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
2616
2617 * gdb.base/printcmds.exp: Add test to verify printf of a
2618 variable holding an address.
2619
478e490a
TV
26202020-03-03 Tom de Vries <tdevries@suse.de>
2621
2622 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
2623
1ef44e86
TV
26242020-03-03 Tom de Vries <tdevries@suse.de>
2625
2626 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
2627 gdb_test_multiple call.
2628
b98cc2cf
TV
26292020-03-03 Tom de Vries <tdevries@suse.de>
2630
2631 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
2632 gdb_test_multiple calls.
2633
63e163f2
AB
26342020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2635
2636 * gdb.base/default.exp: Remove test of 'set history filename'.
2637 * gdb.base/gdbinit-history.exp: Add tests for setting the history
2638 filename to the empty string.
2639 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
2640 and GDBHISTSIZE.
2641
24ed6739
AB
26422020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2643
2644 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
2645 disabled.
2646
590003dc 26472020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 2648 Tom de Vries <tdevries@suse.de>
590003dc
TV
2649
2650 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
2651 -prompt prefix, before user_code argument. Add -lbl option likewise.
2652 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
2653 (gdb_is_target_1): Add -prompt prefix and move to before user_code
2654 argument.
2655 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
2656 have "\r\n" at start-of-line, instead of at end-of-line.
2657
f5e46084
SM
26582020-02-28 Simon Marchi <simon.marchi@efficios.com>
2659
2660 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
2661 libinproctrace.so.
2662
f7a7000d
LM
26632020-02-28 Luis Machado <luis.machado@linaro.org>
2664
2665 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
2666 to "p/x".
2667
718e0816
LM
26682020-02-28 Luis Machado <luis.machado@linaro.org>
2669
2670 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
2671 asm/ptrace.h and error.h.
2672
13c3a74a
TV
26732020-02-28 Tom de Vries <tdevries@suse.de>
2674
2675 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
2676 (struct wrapper, do_something, mundane/symada__cS): Move ...
2677 * gdb.base/c-linkage-name-2.c: ... here. New source file.
2678 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
2679 Update "print symada__cS before partial symtab expansion" regexp.
2680 Update breakpoint location. Flush symbol cache after expansion.
2681
85d2d5bb
LM
26822020-02-28 Luis Machado <luis.machado@linaro.org>
2683
2684 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
2685
3608f86c
TV
26862020-02-27 Tom de Vries <tdevries@suse.de>
2687
2688 * config/sid.exp: Remove unused globals.
2689 * gdb.base/attach.exp: Same.
2690 * gdb.base/catch-load.exp: Same.
2691 * gdb.base/dbx.exp: Same.
2692 * lib/gdb.exp: Same.
2693 * lib/mi-support.exp: Same.
2694 * lib/prompt.exp: Same.
2695
c8d4f6df
TV
26962020-02-27 Tom de Vries <tdevries@suse.de>
2697
2698 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
2699 not set.
2700
0d79cdc4
AM
27012020-02-26 Aaron Merey <amerey@redhat.com>
2702
2703 * gdb.debuginfod: New directory for debuginfod tests.
2704 * gdb.debuginfod/main.c: New test file.
2705 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
2706
0dce4280
TV
27072020-02-26 Tom de Vries <tdevries@suse.de>
2708
2709 PR gdb/25603
2710 * gdb.base/persistent-lang.cc: New test.
2711 * gdb.base/persistent-lang.exp: New file.
2712
9e80cfa1
AB
27132020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2714
2715 * gdb.fortran/derived-type-striding.exp: Add a new test.
2716 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
2717 new test.
2718
2078dbb2
AB
27192020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2720
2721 * gdb.base/cached-source-file.exp: Avoid source file paths in test
2722 names.
2723
70d49700
TV
27242020-02-25 Tom de Vries <tdevries@suse.de>
2725
2726 PR go/18926
2727 * gdb.go/methods.exp: Remove gcc/93866 xfail.
2728
a88ef40d
TV
27292020-02-24 Tom de Vries <tdevries@suse.de>
2730
2731 PR gdb/25592
2732 * gdb.base/info-locals-unused-static-var.c: New test.
2733 * gdb.base/info-locals-unused-static-var.exp: New file.
2734
01b1af32
TT
27352020-02-22 Tom Tromey <tom@tromey.com>
2736
2737 * gdb.python/tui-window.exp: New file.
2738 * gdb.python/tui-window.py: New file.
2739
7c043ba6
TT
27402020-02-22 Tom Tromey <tom@tromey.com>
2741
2742 PR tui/17850:
2743 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
2744 tests.
2745
c22fef7e
TT
27462020-02-22 Tom Tromey <tom@tromey.com>
2747
2748 * gdb.tui/new-layout.exp: Add sub-layout tests.
2749
ee325b61
TT
27502020-02-22 Tom Tromey <tom@tromey.com>
2751
2752 * gdb.tui/new-layout.exp: New file.
2753
3f0cbb04
TT
27542020-02-22 Tom Tromey <tom@tromey.com>
2755
2756 * gdb.rust/rust-style.rs: New file.
2757 * gdb.rust/rust-style.exp: New file.
2758 * gdb.base/style.exp: Test structure printing.
2759 * gdb.base/style.c (struct some_struct): New type.
2760 (enum etype): New type.
2761 (struct_value): New global.
2762
75525152
TV
27632020-02-21 Tom de Vries <tdevries@suse.de>
2764
2765 PR go/18926
2766 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
2767 Remove blanket xfails. Use message argument for gdb_breakpoint.
2768 Make continuing to breakpoint test conditional on setting breakpoint.
2769 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
2770 DW_AT_name attribute. Add xfail for GCC PR93866.
2771
bd360d30
AB
27722020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
2773
2774 * gdb.dwarf2/cpp-linkage-name.c: New file.
2775 * gdb.dwarf2/cpp-linkage-name.exp: New file.
2776
c7adb09f 27772020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
2778
2779 * lib/gdb.exp (gdb_wrapper_init): Reset
2780 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
2781 not exist.
2782
a9c79803
TV
27832020-02-20 Tom de Vries <tdevries@suse.de>
2784
2785 PR go/17018
2786 * gdb.go/hello.exp: Copy ...
2787 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
2788 print of st to print value of global definition. Add xfail for GCC
2789 PR93844.
2790 * gdb.go/hello.exp: Remove printing of st before definition.
2791 * gdb.go/hello.go: Copy ...
2792 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
2793 to st.
2794 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
2795
d7445728
TV
27962020-02-20 Tom de Vries <tdevries@suse.de>
2797
2798 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
2799 (gdb_simple_compile): Handle compile_flags go by using .go extension
2800 for source file.
2801 * gdb.go/chan.exp: Use support_go_compile.
2802 * gdb.go/handcall.exp: Same.
2803 * gdb.go/hello.exp: Same.
2804 * gdb.go/integers.exp: Same.
2805 * gdb.go/max-depth.exp: Same.
2806 * gdb.go/methods.exp: Same.
2807 * gdb.go/package.exp: Same.
2808 * gdb.go/strings.exp: Same.
2809 * gdb.go/types.exp: Same.
2810 * gdb.go/unsafe.exp: Same.
2811
c9c41e6d
TV
28122020-02-19 Tom de Vries <tdevries@suse.de>
2813
2814 * gdb.python/lib-types.exp: Make xfail more strict.
2815
f20ff837
TV
28162020-02-19 Tom de Vries <tdevries@suse.de>
2817
2818 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
2819
08410482
DE
28202020-02-19 Doug Evans <dje@google.com>
2821
2822 PR rust/25535
2823 * gdb.rust/simple.exp: Add test.
2824 * gdb.rust/simple.rs: Add test.
2825
623563f7
TV
28262020-02-19 Tom de Vries <tdevries@suse.de>
2827
2828 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
2829 output line-by-line.
2830
d3308cfd
TV
28312020-02-19 Tom de Vries <tdevries@suse.de>
2832
2833 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
2834
86cbc5dc
TV
28352020-02-19 Tom de Vries <tdevries@suse.de>
2836
2837 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
2838 prelink.
2839
9db2b96b
TV
28402020-02-19 Tom de Vries <tdevries@suse.de>
2841
2842 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
2843 (gdb_do_cache): Use gdb_do_cache_wrap.
2844 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
2845
89e2fdc5
TV
28462020-02-19 Tom de Vries <tdevries@suse.de>
2847
2848 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
2849 gdb_compile option.
2850
373d7ac0
SM
28512020-02-18 Simon Marchi <simon.marchi@efficios.com>
2852
2853 * gdb.base/printcmds.exp (test_print_enums): Update expected
2854 output.
2855
b29a2df0
SM
28562020-02-18 Simon Marchi <simon.marchi@efficios.com>
2857
2858 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
2859 for "unknown".
2860
6740f0cc
SM
28612020-02-18 Simon Marchi <simon.marchi@efficios.com>
2862
2863 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
2864 enumerator.
2865
edd45eb0
SM
28662020-02-18 Simon Marchi <simon.marchi@efficios.com>
2867
2868 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
2869 FE_, add FE_NONE.
2870 (three): Update.
2871 (enum flag_enum_without_zero): New enum.
2872 (flag_enum_without_zero): New variable.
2873 (enum not_flag_enum): New enum.
2874 (three_not_flag): New variable.
2875 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
2876 (test_print_enums): Add more tests for printing flag enums.
2877
d4295de4
TV
28782020-02-18 Tom de Vries <tdevries@suse.de>
2879
2880 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
2881 (gdb_compile_ada): ... here.
2882 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
2883 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
2884
f251f505
TT
28852020-02-14 Tom Tromey <tom@tromey.com>
2886
2887 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
2888 build directory.
2889 * boards/gdbserver-base.exp: Update path to gdbserver.
2890
8f432634
TV
28912020-02-13 Tom de Vries <tdevries@suse.de>
2892
2893 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
2894
92b6eaf7
TV
28952020-02-13 Tom de Vries <tdevries@suse.de>
2896
2897 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
2898 are missing.
2899
f3b0f7fe
TV
29002020-02-13 Tom de Vries <tdevries@suse.de>
2901
2902 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
2903 call.
2904
f6be8713
SDJ
29052020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2906
2907 PR tui/25126
2908 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
2909 * gdb.base/cached-source-file.c: New file.
2910 * gdb.base/cached-source-file.exp: New file.
2911
b2770d5e
TV
29122020-02-11 Tom de Vries <tdevries@suse.de>
2913
2914 PR testsuite/25488
2915 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
2916
44f6938e
TV
29172020-02-10 Tom de Vries <tdevries@suse.de>
2918
2919 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
2920
5f0e2eb7
MR
29212020-02-10 Maciej W. Rozycki <macro@wdc.com>
2922
2923 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
2924 and $after_addr are both integers before making a comparison.
2925
46ce2b6f
TV
29262020-02-09 Tom de Vries <tdevries@suse.de>
2927
2928 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
2929 command output and paste it into gdb.log. If any, paste catch message
2930 to gdb.log.
2931
5abbbe1d
TT
29322020-02-07 Tom Tromey <tromey@adacore.com>
2933
2934 PR breakpoints/24915:
2935 * gdb.base/annotate-symlink.exp: Use setup_xfail.
2936
1d5d29e7
SV
29372020-02-06 Shahab Vahedi <shahab@synopsys.com>
2938
2939 * gdb.tui/tui-missing-src.exp: Add the "missing source
2940 file" test for the TUI.
2941
b0999b9b
AB
29422020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
2943
2944 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
2945 including a port number in the output.
2946
c3b149eb
AKS
29472020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2948
2949 * lib/fortran.exp (fortran_int4): Handle clang.
2950 (fortran_int8): Likewise.
2951 (fortran_real4): Likewise.
2952 (fortran_real8): Likewise.
2953 (fortran_complex4): Likewise.
2954 (fortran_logical4): Likewise.
2955 (fortran_character1): Likewise.
2956
f8dcc90b
TV
29572020-02-04 Tom de Vries <tdevries@suse.de>
2958
2959 * README (Race detection): Add note.
2960
f90ac7c2
TV
29612020-02-04 Tom de Vries <tdevries@suse.de>
2962
2963 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
2964
780636ae
TV
29652020-02-04 Tom de Vries <tdevries@suse.de>
2966
2967 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
2968
5d2e1193
RA
29692020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2970
2971 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
2972 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
2973 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
2974 blttar, bnetarl.
2975 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
2976 binary for blttar, bnetarl.
2977 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
2978 wait instruction. Delete ldmx test.
2979 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
2980
e409c542
AKS
29812020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2982
2983 * gdb.fortran/array-bounds-high.exp: New file.
2984 * gdb.fortran/array-bounds-high.f90: New file.
2985
b0029748
LD
29862020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
2987
2988 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
2989 Replace #include of <sys/fcntl.h> by <fcntl.h>.
2990
195a8287
TV
29912020-02-01 Tom de Vries <tdevries@suse.de>
2992
2993 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
2994
42330a68
AB
29952020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
2996
2997 PR tui/9765
2998 * gdb.tui/tui-layout-asm-short-prog.S: New file.
2999 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
3000
b62a8028
LM
30012020-01-29 Luis Machado <luis.machado@linaro.org>
3002
3003 * gdb.arch/aarch64-brk-patterns.c: New source file.
3004 * gdb.arch/aarch64-brk-patterns.exp: New test.
3005
5f440116
TBA
30062020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3007
3008 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
3009 GCC/Clang version.
3010 * gdb.cp/pass-by-ref.exp: Ditto.
3011
ee2a6fc6
TV
30122020-01-29 Tom de Vries <tdevries@suse.de>
3013
3014 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
3015 * gdb.threads/watchpoint-fork-mt.c: Same.
3016 * gdb.threads/watchpoint-fork-parent.c: Same.
3017 * gdb.threads/watchpoint-fork-st.c: Same.
3018 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
3019
16b10d6e
LM
30202020-01-27 Luis Machado <luis.machado@linaro.org>
3021
3022 * gdb.base/step-over-syscall.exp (setup): Check if we're already
3023 sitting at a syscall instruction when we hit the syscall function's
3024 breakpoint.
3025 Check PC against one obtained with the x command.
3026 Validate syscall number.
3027 (step_over_syscall): Don't continue to the syscall instruction if
3028 we're already there.
3029
b1468492
PW
30302020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3031
3032 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
3033
7ffa82e1
AB
30342020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3035
3036 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
3037 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
3038
3d92a3e3
AB
30392020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3040
3041 * gdb.dwarf2/dw2-inline-stepping.c: New file.
3042 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
3043
94a72be7
AB
30442020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3045
3046 * gdb.base/maint.exp: Update line table parsing test.
3047 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
3048
53af73bf
PA
30492020-01-24 Pedro Alves <palves@redhat.com>
3050
3051 PR gdb/25410
3052 * gdb.multi/multi-re-run-1.c: New.
3053 * gdb.multi/multi-re-run-2.c: New.
3054 * gdb.multi/multi-re-run.exp: New.
3055
1ba1ac88
AB
30562020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3057
3058 PR gdb/23718
3059 * gdb.server/server-kill-python.exp: New file.
3060
f3364a6d
AB
30612020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3062
3063 * gdb.server/multi-ui-errors.c: New file.
3064 * gdb.server/multi-ui-errors.exp: New file.
3065
733d0a67
AB
30662020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3067
3068 PR tui/9765
3069 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
3070
4f13c1c0
TT
30712020-01-19 Tom Tromey <tom@tromey.com>
3072
3073 * gdb.tui/main.exp: Add check for plain "file".
3074
40c94099
CB
30752020-01-16 Christian Biesinger <cbiesinger@google.com>
3076
3077 * lib/gdb.exp: Fix spelling error (seperatelly).
3078
ff47f4f0
TT
30792020-01-14 Tom Tromey <tom@tromey.com>
3080
3081 PR symtab/12535:
3082 * gdb.python/python.exp: Test decode_line with empty string
3083 argument.
3084
717c684d
BE
30852020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
3086
3087 * gdb.base/skip-inline.exp: Extend test.
3088
44e4c775
AB
30892020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3090
3091 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
3092 * gdb.dwarf2/dw2-bad-elf.c: New file.
3093 * gdb.dwarf2/dw2-bad-elf.exp: New file.
3094
d93c6db7
AB
30952020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3096
3097 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
3098 _line_saw_file.
3099
9a6d629c
AB
31002020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3101
3102 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
3103 border.
3104
d9ebdab7
TBA
31052020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3106
3107 * gdb.multi/multi-target.exp (setup): Factor out "info
3108 connections" and "info inferiors" tests to ...
3109 (test_info_inferiors): ... this new procedure.
3110 (top level): Run new "info-inferiors" tests.
3111
f3c469b9
PA
31122020-01-10 Pedro Alves <palves@redhat.com>
3113
3114 * gdb.server/bkpt-other-inferior.exp: New file.
3115
121b3efd
PA
31162020-01-10 Pedro Alves <palves@redhat.com>
3117
3118 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
3119 of "add-inferior".
3120 * gdb.base/quit-live.exp: Likewise.
3121 * gdb.base/remote-exec-file.exp: Likewise.
3122 * gdb.guile/scm-progspace.exp: Likewise.
3123 * gdb.linespec/linespec.exp: Likewise.
3124 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3125 * gdb.mi/user-selected-context-sync.exp: Likewise.
3126 * gdb.multi/multi-target.exp (setup): Add "info connection" and
3127 "info inferiors" tests.
3128 * gdb.multi/remove-inferiors.exp: Adjust expected output of
3129 "add-inferior".
3130 * gdb.multi/watchpoint-multi.exp: Likewise.
3131 * gdb.python/py-inferior.exp: Likewise.
3132 * gdb.server/extended-remote-restart.exp: Likewise.
3133 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
3134 "info inferiors".
3135 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
3136 * gdb.trace/report.exp: Likewise.
3137
1dadb1dd
PA
31382020-01-10 Pedro Alves <palves@redhat.com>
3139
3140 * gdb.multi/multi-target.c: New file.
3141 * gdb.multi/multi-target.exp: New file.
3142 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
3143 mode requested, but remote does not support non-stop".
3144
78f2c40a
PA
31452020-01-10 Pedro Alves <palves@redhat.com>
3146
3147 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
3148 disconnect before reconnecting.
3149
e7af6c70
TBA
31502020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3151 Pedro Alves <palves@redhat.com>
3152
3153 * gdb.server/connect-without-multi-process.exp: Also test
3154 continuing to end.
3155
acdf84a6
PA
31562020-01-10 Pedro Alves <palves@redhat.com>
3157
3158 * gdb.base/remote-exec-file.exp: New file.
3159
873657b9
PA
31602020-01-10 Pedro Alves <palves@redhat.com>
3161
3162 * gdb.base/fork-running-state.exp (do_test): Adjust expected
3163 output.
3164 * gdb.threads/async.c: New.
3165 * gdb.threads/async.exp: New.
3166 * gdb.multi/tids-gid-reset.c: New.
3167 * gdb.multi/tids-gid-reset.exp: New.
3168
7f0ae84c
GB
31692020-01-10 George Barrett <bob@bob131.so>
3170
3171 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
3172 to help in finding the image relocation offset.
3173 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
3174 options in arguments.
3175 (stap_test_no_debuginfo): Likewise.
3176 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
3177 test variants.
3178 (stap_test): Add null semaphore relocation test.
3179
47e9d49d
GB
31802020-01-10 George Barrett <bob@bob131.so>
3181
3182 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
3183 * gdb.base/stap-probe.exp: Likewise.
3184 (stap_test): Pass argument as an additional flag.
3185 (stap_test_no_debuginfo): Likewise.
3186 (stap_test): Check `info probes stap' output for semaphore
3187 addresses if the test binary is supposed to have them.
3188
f5a7c406
AB
31892020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3190
3191 * gdb.tui/basic.exp: Add more scrolling tests.
3192
9ae6bf64
TT
31932020-01-09 Tom Tromey <tom@tromey.com>
3194
3195 PR tui/18932:
3196 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
3197 meangingful value.
3198 (Term::command, Term::resize): Update.
3199 * gdb.tui/basic.exp: Add scrolling test.
3200
b2efe70c
AB
32012020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3202
3203 * gdb.tui/tui-layout-asm.exp: New file.
3204
3804da7e
AB
32052020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3206
3207 * lib/tuiterm.exp (Term::check_box_contents): New proc.
3208
b40aa28f
AB
32092020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3210
3211 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
3212 (Term::enter_tui): Use Term::prepare_for_tui.
3213
63ffd7c9
AB
32142020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3215
3216 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
3217 called.
3218
3be966f6
AB
32192020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3220
3221 * gdb.base/skip.exp: Fix race condition in test.
3222
153d79c4
AB
32232020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3224
3225 * gdb.base/backtrace.c: New file.
3226 * gdb.base/backtrace.exp: New file.
3227
f2302a34
AB
32282020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
3229
3230 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
3231
6ec1d75e
PW
32322020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3233
3234 * gdb.base/style.exp: Test that warnings are styled.
3235
c296cbe6
BE
32362019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
3237
3238 * gdb.base/line65535.exp: New file.
3239 * gdb.base/line65535.c: New file.
3240
b28a729d
SM
32412019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
3242
3243 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
3244 * lib/gnat_debug_info_test.adb: New file.
3245 * gdb.ada/ptype_tagged_param.exp: Use
3246 gnat_runtime_has_debug_info, expect a different output if
3247 runtime does not have debug info.
3248
7f2d7a0d
SM
32492019-12-20 Simon Marchi <simon.marchi@efficios.com>
3250
3251 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
3252 (another) quote in test name.
3253
f3bce483
SM
32542019-12-20 Simon Marchi <simon.marchi@efficios.com>
3255
3256 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
3257 Add quote in test name.
3258
c855a912
TBA
32592019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3260
3261 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
3262 directory instead.
3263 * gdb.cp/pass-by-ref.exp: Extend with more cases.
3264 * gdb.cp/pass-by-ref-2.cc: New file.
3265 * gdb.cp/pass-by-ref-2.exp: New file.
3266
fc9d2d72
TT
32672019-12-20 Tom Tromey <tom@tromey.com>
3268
3269 * gdb.tui/list-before.exp: New file.
3270
77b97e00
TT
32712019-12-20 Tom Tromey <tom@tromey.com>
3272
3273 * gdb.tui/list.exp: Check for source on initial listing.
3274
f69656d0
TT
32752019-12-11 Tom Tromey <tromey@adacore.com>
3276
3277 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
3278 Add crlf test.
3279
99a55965
SM
32802019-12-18 Simon Marchi <simon.marchi@efficios.com>
3281
3282 * gdb.base/default.exp: Update value of $_gdb_major.
3283
5024637f
BE
32842019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3285
3286 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
3287
b63634be
BE
32882019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3289
3290 * gdb.base/skip.exp: Whitespace fix.
3291
45d73523
BE
32922019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3293
3294 * gdb.base/skip-inline.c: New file.
3295 * gdb.base/skip-inline.exp: New file.
3296
d043f8c8
SM
32972019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
3298
3299 * gdb.base/jit-reader.exp (jit_reader_test): Rename
3300 jit_function_00 to jit_function_stack_mangle.
3301 * gdb.base/jithost.c (jit_function_t): Rename to...
3302 (jit_function_stack_mangle_t): ... this.
3303 (jit_function_add_t): New typedef.
3304 (jit_function_00_code): Rename to...
3305 (jit_function_stack_mangle_code): ... this, make static.
3306 (jit_function_add_code): New.
3307 (main): Generate "add" function and call it. Adjust to changes
3308 in jithost_abi.
3309 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
3310 (struct jithost_abi) <begin, end>: Remove fields.
3311 <object, function_stack_mangle, function_add>: New fields.
3312 * gdb.base/jitreader.c (struct reader_state) <code_begin,
3313 code_end>: Remove fields.
3314 <func_stack_mangle>: New field.
3315 (read_debug_info): Adjust to renaming, create block for "add"
3316 function.
3317 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
3318
873de05c
TT
33192019-12-11 Tom Tromey <tom@tromey.com>
3320
3321 * gdb.tui/resize.exp: Fix regexp.
3322 * gdb.tui/regs.exp: Fix regexps.
3323 * gdb.tui/main.exp: Fix regexp.
3324
3d979945
TT
33252019-12-11 Tom Tromey <tom@tromey.com>
3326
3327 * gdb.tui/resize.exp: Update.
3328 * gdb.tui/empty.exp (layouts): Update.
3329
2192a9d3
TT
33302019-12-11 Tom Tromey <tom@tromey.com>
3331
3332 * gdb.tui/regs.exp: Update.
3333 * gdb.tui/empty.exp (layouts): Update.
3334 * gdb.tui/basic.exp: Update.
3335 * lib/tuiterm.exp (_check_box): Don't check bottom border.
3336
d8edc8b7
PW
33372019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3338
3339 * gdb.base/options.exp: Add -raw-values in the print completion list.
3340 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
3341
4c12d936
KB
33422019-12-10 Kevin Buettner <kevinb@redhat.com>
3343
3344 * gdb.threads/omp-par-scope.c: New file.
3345 * gdb/threads/omp-par-scope.exp: New file.
3346
26b911fb
KB
33472019-12-10 Kevin Buettner <kevinb@redhat.com>
3348
bb47f919
KB
3349 * lib/gdb.exp (support_nested_function_tests): New proc.
3350
33512019-12-10 Kevin Buettner <kevinb@redhat.com>
3352
3353 * lib/gdb.exp (gdb_compile_openmp): New proc.
3354 (build_executable_from_specs): Add an "openmp" option.
3355 (gdb_compile_pthreads): Add non-executable case.
26b911fb 3356
6c71eb7d
TT
33572019-12-10 Tom Tromey <tromey@adacore.com>
3358
3359 * gdb.ada/unchecked_union.exp: New file.
3360 * gdb.ada/unchecked_union/pck.adb: New file.
3361 * gdb.ada/unchecked_union/pck.ads: New file.
3362 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
3363 * gdb-utils.exp (string_to_regexp): Also quote "?".
3364
bac7c5cf
GB
33652019-12-10 George Barrett <bob@bob131.so>
3366
3367 Test scripted probe breakpoints.
3368 * gdb.guile/scm-breakpoint.c (main): Add probe point.
3369 * gdb.python/py-breakpoint.c (main): Likewise.
3370 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
3371 specifier test.
3372 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
3373
330f1d38
TBA
33742019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3375
3376 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
3377 an rvalue parameter.
3378 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
3379 parameter.
3380
b43315e2
AB
33812019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3382
3383 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
3384 modules.
3385
54f73dad
AB
33862019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3387
3388 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
3389 broken version of GCC.
3390
d57cbee9
AB
33912019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3392
3393 * gdb.fortran/info-modules.exp: Rewrite to make use of new
3394 sym-info-cmds library.
3395 * gdb.fortran/info-types.exp: Likewise.
3396 * lib/sym-info-cmds.exp: New file.
3397
c14aab8c
TV
33982019-12-08 Tom de Vries <tdevries@suse.de>
3399
3400 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
3401
aa2d5a42
KS
34022019-12-07 Keith Seitz <keiths@redhat.com>
3403
3404 * gdb.base/corefile-buildid-shlib-shr.c: New file.
3405 * gdb.base/corefile-buildid-shlib.c: New file.
3406 * gdb.base/corefile-buildid.c: New file.
3407 * gdb.base/corefile-buildid.exp: New file.
3408
93e55f0a
TV
34092019-12-06 Tom de Vries <tdevries@suse.de>
3410
3411 * gdb.dwarf2/varval.exp: Add decl before def test.
3412
c7d12402
TBA
34132019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3414
3415 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
3416
06acc08f
TBA
34172019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3418
3419 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
3420 CV and reference conversion for overload resolution.
3421 * gdb.cp/rvalue-ref-overload.exp: Test it.
3422
e0fad1ea
PW
34232019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3424
3425 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
3426 * gdb.base/frameapply.exp: Test faas without command.
3427
8d70a9f0
AB
34282019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3429
3430 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
3431 Fortran tests.
3432 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
3433 order.
3434
36c8fb93
AB
34352019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3436
3437 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
3438 casting to type with no kind specified.
3439 (test_basic_parsing_of_type_kinds): Additional tests for types
3440 with no kind specified, and add tests for single/double
3441 precision/complex types.
3442
4139ff00
TT
34432019-12-04 Tom Tromey <tromey@adacore.com>
3444
3445 * gdb.base/endianity.c (struct other) <x>: New field.
3446 (main): Initialize it.
3447 * gdb.base/endianity.exp: Update.
3448
a05cf17a
TT
34492019-12-04 Tom Tromey <tromey@adacore.com>
3450
3451 * gdb.ada/scalar_storage/storage.adb: New file.
3452 * gdb.ada/scalar_storage/pck.adb: New file.
3453 * gdb.ada/scalar_storage/pck.ads: New file.
3454 * gdb.ada/scalar_storage.exp: New file.
3455
103a685e
TT
34562019-12-04 Tom Tromey <tromey@adacore.com>
3457
3458 * gdb.base/endianity.c (struct otherendian) <f>: New field.
3459 (main): Initialize it.
3460 * gdb.base/endianity.exp: Update.
3461
c2512106
AB
34622019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3463
3464 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
3465
293b38d6
AB
34662019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3467
3468 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
3469 -symbol-info-module-functions and -symbol-info-module-variables.
3470
216a7e6b
AB
34712019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
3472
3473 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
3474
5bbd8269
AB
34752019-12-01 Richard Bunt <richard.bunt@arm.com>
3476 Andrew Burgess <andrew.burgess@embecosm.com>
3477
3478 * gdb.fortran/derived-type-striding.exp: New file.
3479 * gdb.fortran/derived-type-striding.f90: New file.
3480 * gdb.fortran/array-slices.exp: New file.
3481 * gdb.fortran/array-slices.f90: New file.
3482
be09caf1
PW
34832019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3484
3485 * gdb.base/define.exp: Test . in command names.
3486 * gdb.base/setshow.exp: Update test, as . is now part of
3487 command name.
3488
643c0cbe
PW
34892019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3490
3491 * gdb.base/define-prefix.exp: New file.
3492
dcdec678
AB
34932019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
3494
3495 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
3496 compile.
3497 (skip_btrace_pt_tests): Likewise.
3498
640ab947
AB
34992019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3500
3501 * gdb.fortran/info-modules.exp: Compile source files in correct
3502 order.
3503
d22670f0
KB
35042019-11-27 Kevin Buettner <kevinb@redhat.com>
3505
3506 * gdb.dwarf2/imported-unit.exp: New file.
3507 * gdb.dwarf2/imported-unit.c: New file.
3508
db5960b4
AB
35092019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3510
3511 * gdb.mi/mi-fortran-modules-2.f90: New file.
3512 * gdb.mi/mi-fortran-modules.exp: New file.
3513 * gdb.mi/mi-fortran-modules.f90: New file.
3514
7dc42066
AB
35152019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3516
3517 * gdb.mi/mi-sym-info-1.c: New file.
3518 * gdb.mi/mi-sym-info-2.c: New file.
3519 * gdb.mi/mi-sym-info.exp: New file.
3520
0dfeecca
TT
35212019-11-22 Tom Tromey <tromey@adacore.com>
3522
3523 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
3524 * gdb.ada/tasks/foo.adb: Add another stopping location.
3525
34877895
PJ
35262019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
3527
3528 * gdb.base/endianity.c: New test.
3529 * gdb.base/endianity.exp: New file.
3530
2e84f897
LD
35312019-11-21 Lukas Durfina <ldurfina@tachyum.com>
3532
3533 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
3534
65d1cd5f
TV
35352019-11-21 Tom de Vries <tdevries@suse.de>
3536
3537 PR gdb/24956
3538 * gdb.base/ui-redirect.exp: Test output of user-defined command.
3539
4f22c3f4
SDJ
35402019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3541
3542 * gdb.python/py-progspace.exp: Add missing parentheses on some
3543 'print' commands.
3544
9f6ad286
TT
35452019-11-19 Tom Tromey <tom@tromey.com>
3546
3547 * gdb.tui/winheight.exp: New file.
3548
0b8dbf3f
AB
35492019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3550
3551 * gdb.base/ctf-whatis.c: Delete.
3552 * gdb.base/ctf-whatis.exp: Delete.
3553 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
3554
f833b7a7
AB
35552019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3556
3557 * gdb.base/ctf-cvexpr.exp: Delete.
3558 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
3559
30d0a636
AB
35602019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3561
3562 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
3563 the compiler. Clean up header comment a little.
3564 * gdb.base/ctf-ptype.exp: Likewise.
3565 * gdb.base/ctf-whatis.exp: Likewise.
3566 * lib/gdb.exp (skip_ctf_tests): New proc.
3567
494409bb
SDJ
35682019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
3569
3570 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
3571 * gdb.tui/corefile-run.exp: New file.
3572
55708e99
TT
35732019-11-14 Tom Tromey <tromey@adacore.com>
3574
3575 * gdb.base/gdbvars.exp (test_convenience_variables): Add
3576 regression tests.
3577
45e42163
TT
35782019-11-12 Tom Tromey <tom@tromey.com>
3579
3580 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
3581 after any command. Expect prompt after WAIT_FOR is seen.
3582 (enter_tui): Enable resize messages.
3583 (command): Expect command in output.
3584 (get_line): Avoid error when cursor appears to be off-screen.
3585 (dump_screen): Include screen size in title.
3586 (_do_resize): New proc, from "resize".
3587 (resize): Rewrite. Do resize in two steps.
3588 * gdb.tui/empty.exp (layouts): Fix entries.
3589 (check_boxes): Remove xfail.
3590 (check_text): Dump screen on failure.
3591
086baaf1
AB
35922019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3593
3594 * gdb.python/py-symbol.exp: Add test for
3595 gdb.lookup_static_symbols.
3596
09ff83af
AB
35972019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3598
3599 * gdb.python/py-symbol.c: Declare and call function from new
3600 py-symbol-2.c file.
3601 * gdb.python/py-symbol.exp: Compile both source files, and add new
3602 tests for gdb.lookup_static_symbol.
3603 * gdb.python/py-symbol-2.c: New file.
3604
11af934b
TV
36052019-11-02 Tom de Vries <tdevries@suse.de>
3606
3607 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
3608 * gdb.base/anon.exp: Same.
3609 * gdb.base/auto-connect-native-target.exp: Same.
3610 * gdb.base/call-ar-st.exp: Same.
3611 * gdb.base/catch-syscall.exp: Same.
3612 * gdb.base/commands.exp: Same.
3613 * gdb.base/default.exp: Same.
3614 * gdb.base/display.exp: Same.
3615 * gdb.base/float.exp: Same.
3616 * gdb.base/foll-fork.exp: Same.
3617 * gdb.base/help.exp: Same.
3618 * gdb.base/info-macros.exp: Same.
3619 * gdb.base/info-proc.exp: Same.
3620 * gdb.base/info-target.exp: Same.
3621 * gdb.base/long_long.exp: Same.
3622 * gdb.base/macscp.exp: Same.
3623 * gdb.base/memattr.exp: Same.
3624 * gdb.base/nofield.exp: Same.
3625 * gdb.base/pointers.exp: Same.
3626 * gdb.base/printcmds.exp: Same.
3627 * gdb.base/ptype.exp: Same.
3628 * gdb.base/restore.exp: Same.
3629 * gdb.base/return.exp: Same.
3630 * gdb.base/scope.exp: Same.
3631 * gdb.base/set-noassign.exp: Same.
3632 * gdb.base/setshow.exp: Same.
3633 * gdb.base/shlib-call.exp: Same.
3634 * gdb.base/signals.exp: Same.
3635 * gdb.base/sigstep.exp: Same.
3636 * gdb.base/skip.exp: Same.
3637 * gdb.base/solib-symbol.exp: Same.
3638 * gdb.base/stap-probe.exp: Same.
3639 * gdb.base/step-line.exp: Same.
3640 * gdb.base/step-test.exp: Same.
3641 * gdb.base/style.exp: Same.
3642 * gdb.base/varargs.exp: Same.
3643 * gdb.base/vla-datatypes.exp: Same.
3644 * gdb.base/vla-ptr.exp: Same.
3645 * gdb.base/vla-sideeffect.exp: Same.
3646 * gdb.base/volatile.exp: Same.
3647 * gdb.base/watch-cond-infcall.exp: Same.
3648 * gdb.base/watchpoint.exp: Same.
3649
e96ec2ba
TV
36502019-11-02 Tom de Vries <tdevries@suse.de>
3651
3652 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
3653 * gdb.cp/cpexprs.exp: Same.
3654 * gdb.cp/except-multi-location.exp: Same.
3655 * gdb.cp/exceptprint.exp: Same.
3656 * gdb.cp/gdb2384.exp: Same.
3657 * gdb.cp/inherit.exp: Same.
3658 * gdb.cp/m-static.exp: Same.
3659 * gdb.cp/meth-typedefs.exp: Same.
3660 * gdb.cp/misc.exp: Same.
3661 * gdb.cp/namespace.exp: Same.
3662 * gdb.cp/non-trivial-retval.exp: Same.
3663 * gdb.cp/overload.exp: Same.
3664 * gdb.cp/pr17132.exp: Same.
3665 * gdb.cp/re-set-overloaded.exp: Same.
3666 * gdb.cp/rvalue-ref-types.exp: Same.
3667 * gdb.cp/templates.exp: Same.
3668
bd5766ec
LM
36692019-11-01 Luis Machado <luis.machado@linaro.org>
3670
3671 PR gdb/25124
3672
3673 * gdb.arch/pr25124.S: New file.
3674 * gdb.arch/pr25124.exp: New file.
3675
165f8965
AB
36762019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3677
3678 * gdb.fortran/info-modules.exp: Update expected results, and add
3679 additional tests for 'info module functinos', and 'info module
3680 variables'.
3681 * gdb.fortran/info-types.exp: Update expected results.
3682 * gdb.fortran/info-types.f90: Extend testcase with additional
3683 module variables and functions.
3684
59c35742
AB
36852019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3686
3687 * gdb.fortran/info-modules.exp: New file.
3688 * gdb.fortran/info-types.exp: Build with new file.
3689 * gdb.fortran/info-types.f90: Include and use new module.
3690 * gdb.fortran/info-types-2.f90: New file.
3691
f3fb2519
PW
36922019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3693
3694 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
3695 * gdb.base/settings.exp: Test all settings types using
3696 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
3697 that now verifies that the value of "maint show" is the same as
3698 returned by the settings functions. Test the type of the
3699 maintenance settings.
3700 * gdb.base/default.exp: Update show_conv_list.
3701
d1e36019
TV
37022019-10-31 Tom de Vries <tdevries@suse.de>
3703
3704 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
3705 gdb_test.
3706 * gdb.arch/amd64-disp-step.exp: Same.
3707 * gdb.asm/asm-source.exp: Same.
3708 * gdb.btrace/buffer-size.exp: Same.
3709 * gdb.btrace/cpu.exp: Same.
3710 * gdb.btrace/enable.exp: Same.
3711 * gdb.dwarf2/count.exp: Same.
3712 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3713 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
3714 * gdb.fortran/vla-datatypes.exp: Same.
3715 * gdb.fortran/vla-history.exp: Same.
3716 * gdb.fortran/vla-ptype.exp: Same.
3717 * gdb.fortran/vla-value.exp: Same.
3718 * gdb.fortran/whatis_type.exp: Same.
3719 * gdb.guile/guile.exp: Same.
3720 * gdb.multi/tids.exp: Same.
3721 * gdb.python/py-finish-breakpoint.exp: Same.
3722 * gdb.python/py-framefilter.exp: Same.
3723 * gdb.python/py-pp-registration.exp: Same.
3724 * gdb.python/py-xmethods.exp: Same.
3725 * gdb.python/python.exp: Same.
3726 * gdb.server/connect-with-no-symbol-file.exp: Same.
3727 * gdb.server/no-thread-db.exp: Same.
3728 * gdb.server/run-without-local-binary.exp: Same.
3729 * gdb.stabs/weird.exp: Same.
3730 * gdb.threads/attach-many-short-lived-threads.exp: Same.
3731 * gdb.threads/thread-find.exp: Same.
3732 * gdb.threads/tls-shared.exp: Same.
3733 * gdb.threads/tls.exp: Same.
3734 * gdb.threads/wp-replication.exp: Same.
3735 * gdb.trace/ax.exp: Same.
3736 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
3737
3d11e68e
TV
37382019-10-31 Tom de Vries <tdevries@suse.de>
3739
3740 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
3741 * gdb.ada/array_subscript_addr.exp: Same.
3742 * gdb.ada/arrayidx.exp: Same.
3743 * gdb.ada/arrayparam.exp: Same.
3744 * gdb.ada/arrayptr.exp: Same.
3745 * gdb.ada/boolean_expr.exp: Same.
3746 * gdb.ada/call_pn.exp: Same.
3747 * gdb.ada/complete.exp: Same.
3748 * gdb.ada/fixed_cmp.exp: Same.
3749 * gdb.ada/fun_addr.exp: Same.
3750 * gdb.ada/funcall_param.exp: Same.
3751 * gdb.ada/interface.exp: Same.
3752 * gdb.ada/mod_from_name.exp: Same.
3753 * gdb.ada/null_array.exp: Same.
3754 * gdb.ada/packed_array.exp: Same.
3755 * gdb.ada/packed_tagged.exp: Same.
3756 * gdb.ada/print_chars.exp: Same.
3757 * gdb.ada/print_pc.exp: Same.
3758 * gdb.ada/ptype_arith_binop.exp: Same.
3759 * gdb.ada/ptype_field.exp: Same.
3760 * gdb.ada/ptype_tagged_param.exp: Same.
3761 * gdb.ada/rec_return.exp: Same.
3762 * gdb.ada/ref_tick_size.exp: Same.
3763 * gdb.ada/str_ref_cmp.exp: Same.
3764 * gdb.ada/taft_type.exp: Same.
3765 * gdb.ada/tagged.exp: Same.
3766 * gdb.ada/type_coercion.exp: Same.
3767 * gdb.ada/uninitialized_vars.exp: Same.
3768
60b6ede8
TV
37692019-10-30 Tom de Vries <tdevries@suse.de>
3770
3771 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
3772
30baf67b
TV
37732019-10-26 Tom de Vries <tdevries@suse.de>
3774
3775 * gdb.base/bigcore.c: Fix typos in comments.
3776 * gdb.base/ctf-ptype.c: Same.
3777 * gdb.base/long_long.c: Same.
3778 * gdb.dwarf2/dw2-op-out-param.S: Same.
3779 * gdb.python/py-evthreads.c: Same.
3780 * gdb.reverse/i387-stack-reverse.c: Same.
3781 * gdb.trace/tfile.c: Same.
3782 * lib/compiler.c: Same.
3783 * lib/compiler.cc: Same.
3784
158da0d1
TV
37852019-10-25 Tom de Vries <tdevries@suse.de>
3786
3787 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
3788 gdb_test_multiple calls.
3789 * gdb.reverse/sigall-reverse.exp: Same.
3790 * gdb.reverse/solib-precsave.exp: Same.
3791 * gdb.reverse/solib-reverse.exp: Same.
3792 * gdb.reverse/until-precsave.exp: Same.
3793 * gdb.reverse/until-reverse.exp: Same.
3794
4ccdfbec
TV
37952019-10-24 Tom de Vries <tdevries@suse.de>
3796
3797 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
3798 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
3799 kfail using -wrap pattern flag and convenience variable
3800 gdb_test_name.
3801
33d569b7
AB
38022019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
3803
3804 * gdb.python/py-progspace.exp: Add tests for the
3805 Progspace.block_for_pc method.
3806
4d0b984b
TT
38072019-10-23 Tom Tromey <tom@tromey.com>
3808
3809 * configure: Rebuild.
3810 * aclocal.m4: Use m4_include, not sinclude.
3811
94cb3754
TV
38122019-10-21 Tom de Vries <tdevries@suse.de>
3813
3814 * gdb.base/infcall-nested-structs.c: Add
3815 __attribute__((noinline,noclone)) to all functions.
3816 (call_all): Add missing variable initialization. Simplify return value.
3817 (breakpt): Increment volatile variable, to prevent call from being
3818 optimized out.
3819 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
3820
062f1fc1
TV
38212019-10-17 Tom de Vries <tdevries@suse.de>
3822
3823 * gdb.fortran/module.exp: Allow info variables to print info for files
3824 other than module.f90.
3825
0b54364d
AB
38262019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3827
3828 * gdb.fortran/module.exp: Extend with 'info variables' test.
3829
7ff5fae7
AB
38302019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3831
3832 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
3833 F77_FOR_TARGET.
3834
d10eccaa
TV
38352019-10-16 Tom de Vries <tdevries@suse.de>
3836
3837 PR tdep/25096
3838 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
3839
745ff14e
TV
38402019-10-16 Tom de Vries <tdevries@suse.de>
3841
3842 PR tdep/24104
3843 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
3844 Add KFAIL for PR tdep/25096.
3845
03e1ab94
TV
38462019-10-16 Tom de Vries <tdevries@suse.de>
3847
3848 PR testsuite/25059
3849 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
3850
b17fcc10
TV
38512019-10-16 Tom de Vries <tdevries@suse.de>
3852
3853 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
3854 as signed.
3855
9223170f
SM
38562019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
3857
3858 * gdb.mi/list-thread-groups-available.exp: Read entries one by
3859 one instead of increasing timeout.
3860
d6e76313
TV
38612019-10-13 Tom de Vries <tdevries@suse.de>
3862
3863 PR record/25038
3864 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
3865 * gdb.reverse/sigall-reverse.exp: Same.
3866 * gdb.reverse/solib-precsave.exp: Same.
3867 * gdb.reverse/solib-reverse.exp: Same.
3868 * gdb.reverse/step-precsave.exp: Same.
3869 * gdb.reverse/until-precsave.exp: Same.
3870 * gdb.reverse/until-reverse.exp: Same.
3871 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
3872
6dfc0041
AA
38732019-10-10 Andreas Arnez <arnez@linux.ibm.com>
3874
3875 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
3876 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
3877 (cmp_struct_05_01, cmp_struct_static_02_01)
3878 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
3879 comparisons.
3880
abcf2cc8
TV
38812019-10-10 Tom de Vries <tdevries@suse.de>
3882
3883 PR testsuite/24888
3884 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
3885 gnatlink.
3886
a50faaf6
TV
38872019-10-09 Tom de Vries <tdevries@suse.de>
3888
3889 PR testsuite/25048
3890 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
3891
60ff3cd7
AB
38922019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3893
3894 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
3895 exceptions due to missing debug information.
3896
dfee8566
TV
38972019-10-07 Tom de Vries <tdevries@suse.de>
3898
3899 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
3900
3d63690a
AB
39012019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3902
3903 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
3904 * gdb.base/annota1.exp: Update to use gdb_test_name.
3905
30d1f018
WP
39062019-10-07 Weimin Pan <weimin.pan@oracle.com>
3907
3908 * gdb.base/ctf-whatis.exp: New file.
3909 * gdb.base/ctf-whatis.c: New file.
3910 * gdb.base/ctf-ptype.exp: New file.
3911 * gdb.base/ctf-ptype.c: New file.
3912 * gdb.base/ctf-constvars.exp: New file.
3913 * gdb.base/ctf-constvars.c: New file.
3914 * gdb.base/ctf-cvexpr.exp: New file.
3915
4dbbb47c
TV
39162019-10-04 Tom de Vries <tdevries@suse.de>
3917
3918 * gdb.cp/local-static.c (main): Move declaration of int i out of the
3919 for loop.
3920
77c2dba3
TT
39212019-10-03 Tom Tromey <tom@tromey.com>
3922
3923 PR rust/24976:
3924 * gdb.rust/simple.rs (Union2): New type.
3925 (main): Use Union2.
3926 * gdb.rust/simple.exp: Add test.
3927
179aed7f
AB
39282019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3929
3930 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
3931 nested function prefix.
3932
0a4b0913
AB
39332019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
3934 Richard Bunt <richard.bunt@arm.com>
3935 Andrew Burgess <andrew.burgess@embecosm.com>
3936
3937 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
3938 nested functions.
3939 * gdb.fortran/nested-funcs.f90: Update expected results.
3940 * gdb.fortran/nested-funcs-2.exp: New file.
3941 * gdb.fortran/nested-funcs-2.f90: New file.
3942
082cce05
AB
39432019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3944
3945 * gdb.python/py-parameter.exp: Make test names unique.
3946 * gdb.python/py-template.exp: Likewise.
3947 * gdb.python/py-value.exp: Likewise.
3948
2b74ba5a
AB
39492019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3950
3951 * gdb.base/break-interp.exp: Reduce test name duplication.
3952 * gdb.base/call-sc.exp: Likewise.
3953 * gdb.base/callfuncs.exp: Likewise.
3954 * gdb.base/charset.exp: Likewise.
3955 * gdb.base/dump.exp: Likewise.
3956 * gdb.base/ena-dis-br.exp: Likewise.
3957 * gdb.base/relational.exp: Likewise.
3958 * gdb.base/step-over-syscall.exp: Likewise.
3959 * gdb.base/structs.exp: Likewise.
3960
58eb20d5
AB
39612019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3962
3963 * gdb.linespec/explicit.exp: Make test names unique.
3964 * gdb.linespec/ls-errs.exp: Likewise.
3965
4d421147
AB
39662019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3967
3968 * gdb.reverse/break-precsave.exp: Make test names unique.
3969 * gdb.reverse/break-reverse.exp: Likewise.
3970 * gdb.reverse/finish-precsave.exp: Likewise.
3971 * gdb.reverse/finish-reverse.exp: Likewise.
3972 * gdb.reverse/machinestate-precsave.exp: Likewise.
3973 * gdb.reverse/machinestate.exp: Likewise.
3974 * gdb.reverse/readv-reverse.exp: Likewise.
3975 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3976 * gdb.reverse/sigall-precsave.exp: Likewise.
3977 * gdb.reverse/sigall-reverse.exp: Likewise.
3978 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
3979 * gdb.reverse/watch-precsave.exp: Likewise.
3980 * gdb.reverse/watch-reverse.exp: Likewise.
3981
d8c06f22
AB
39822019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3983
3984 * gdb.threads/stop-with-handle.c: New file.
3985 * gdb.threads/stop-with-handle.exp: New file.
3986
3a56ed86
TV
39872019-10-03 Tom de Vries <tdevries@suse.de>
3988
3989 PR testsuite/25059
3990 * gdb.base/list-missing-source.exp: Allowing the "Compilation
3991 directory" line to be missing.
3992
42275044
TV
39932019-10-03 Tom de Vries <tdevries@suse.de>
3994
3995 PR testsuite/25059
3996 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
3997 type optional.
3998
9ef62df0
AA
39992019-10-02 Andreas Arnez <arnez@linux.ibm.com>
4000
4001 * gdb.python/py-format-string.c (string.h): New include.
4002 (main): Fill a_struct_with_union.the_union.an_int with bytes of
4003 the same value, for endianness-independence.
4004 * gdb.python/py-format-string.exp (default_regexp_dict)
4005 (test_pretty_structs, test_format): Adjust expected output to the
4006 changed initialization.
4007
37f6a7f4
TT
40082019-10-02 Tom Tromey <tromey@adacore.com>
4009
4010 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
4011
1d58d6a2
PA
40122019-10-02 Pedro Alves <palves@redhat.com>
4013 Andrew Burgess <andrew.burgess@embecosm.com>
4014
4015 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
4016 "print-file-var.h".
4017 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4018 (get_version_1): Print this_version_id and its address.
4019 Add extern "C" wrappers around interface functions.
4020 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
4021 "print-file-var.h".
4022 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4023 (get_version_2): Print this_version_id and its address.
4024 Add extern "C" wrappers around interface functions.
4025 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
4026 <stddef.h> and "print-file-var.h".
4027 Add extern "C" wrappers around interface functions.
4028 [VERSION_ID_MAIN] (this_version_id): Define.
4029 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
4030 * gdb.base/print-file-var.h: Add some #defines to simplify setting
4031 up extern "C" blocks.
4032 * gdb.base/print-file-var.exp (test): New, factored out from top
4033 level.
4034 (top level): Test all combinations of attribute hidden or not,
4035 dlopen or not, and this_version_id symbol in main file or not.
4036 Compile tests as both C++ and C, make test names unique.
4037
d770d56f
TT
40382019-10-01 Tom Tromey <tom@tromey.com>
4039
4040 * gdb.base/style.exp: Test "show logging filename".
4041
7f6aba03
TT
40422019-10-01 Tom Tromey <tom@tromey.com>
4043
4044 * lib/gdb-utils.exp (style): Handle "metadata" argument.
4045 * gdb.base/style.exp: Add metadata style test.
4046
14309bb6
TT
40472019-10-01 Tom Tromey <tom@tromey.com>
4048
4049 * gdb.base/style.exp: Test "pwd".
4050
2a3c1174
PA
40512019-10-01 Tom Tromey <tom@tromey.com>
4052
4053 * gdb.base/style.exp: Update tests.
4054
53d666ec
AA
40552019-10-01 Andreas Arnez <arnez@linux.ibm.com>
4056
4057 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
4058 'six' to unsigned.
4059 (s1): Initialize fields 'four' and 'six' instead of 'three' and
4060 'five'. Use an all-ones bit pattern for each.
4061 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
4062 to its changed values.
4063
4a56a520
TT
40642019-09-30 Tom Tromey <tromey@adacore.com>
4065
4066 * gdb.rust/traits.rs: Disable all warnings.
4067
0df0352a
TV
40682019-09-29 Tom de Vries <tdevries@suse.de>
4069
aac66a4c 4070 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 4071
73d9a918
TV
40722019-09-29 Tom de Vries <tdevries@suse.de>
4073
4074 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
4075
060b3ab4
TV
40762019-09-27 Tom de Vries <tdevries@suse.de>
4077
4078 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
4079
68f7d34d
TV
40802019-09-27 Tom de Vries <tdevries@suse.de>
4081
4082 PR record/23188
4083 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
4084
5d63b30a
TT
40852019-09-26 Tom Tromey <tromey@adacore.com>
4086
4087 * gdb.ada/py_taft.exp: New file.
4088 * gdb.ada/py_taft/main.adb: New file.
4089 * gdb.ada/py_taft/pkg.adb: New file.
4090 * gdb.ada/py_taft/pkg.ads: New file.
4091
3d435220
TV
40922019-09-24 Tom de Vries <tdevries@suse.de>
4093
4094 PR gdb/24598
4095 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
4096
77d03678
TV
40972019-09-22 Tom de Vries <tdevries@suse.de>
4098
4099 * gdb.base/restore.exp: Allow register variables to be optimized out at
4100 -O0.
4101
abf516c6
UW
41022019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
4103
4104 * gdb.arch/spu-info.exp: Remove file.
4105 * gdb.arch/spu-info.c: Remove file.
4106 * gdb.arch/spu-ls.exp: Remove file.
4107 * gdb.arch/spu-ls.c: Remove file.
4108
4109 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
4110 * gdb.asm/spu.inc: Remove file.
4111
4112 * gdb.base/dump.exp: Remove support for spu*-*-*.
4113 * gdb.base/stack-checking.exp: Likewise.
4114 * gdb.base/overlays.exp: Likewise.
4115 * gdb.base/ovlymgr.c: Likewise.
4116 * gdb.base/spu.ld: Remove file.
4117
4118 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
4119 * gdb.cp/cpexprs.exp: Likewise.
4120 * gdb.cp/exception.exp: Likewise.
4121 * gdb.cp/gdb2495.exp: Likewise.
4122 * gdb.cp/mb-templates.exp: Likewise.
4123 * gdb.cp/pr9167.exp: Likewise.
4124 * gdb.cp/userdef.exp: Likewise.
4125
4126 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
4127
4128 * gdb.cell: Remove directory.
4129 * lib/cell.exp: Remove file.
4130
e452e88f
TV
41312019-09-19 Tom de Vries <tdevries@suse.de>
4132
4133 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
4134
8a625130
TV
41352019-09-19 Tom de Vries <tdevries@suse.de>
4136
4137 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
4138
81dc3ab5
TV
41392019-09-19 Tom de Vries <tdevries@suse.de>
4140
4141 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
4142 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
4143 (gdb_target_cmd): ... here.
4144 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
4145 value 2.
4146
b078f3ac
AB
41472019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
4148
4149 * gdb.base/source-dir.exp: Avoid having directory names in test
4150 names.
4151
f1b620e9
MG
41522019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4153
4154 * gdb.base/source-dir.exp: Add extra test for mapped compilation
4155 directory.
4156
67f3ed6a
AB
41572019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4158
4159 * gdb.base/list-missing-source.exp: New file.
4160
d1b70248
TV
41612019-09-14 Tom de Vries <tdevries@suse.de>
4162
4163 PR teststuite/24599
4164 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
4165 * lib/ada.exp (gnatmake_version_at_least): New proc.
4166
5fabdcd6
AB
41672019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4168
4169 * gdb.base/maint.exp: Use exec_has_index_section.
4170
aa17805f
AB
41712019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4172
4173 * gdb.base/maint.exp: Add test for 'maint info sections'.
4174
25e5c209
TV
41752019-09-12 Tom de Vries <tdevries@suse.de>
4176
4177 * gdb.base/store.exp: Allow register variables to be optimized out at
4178 -O0.
4179
4993045d
PW
41802019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4181
4182 * gdb.ada/rdv_wait.exp: Update to new task names.
4183 * gdb.base/task_switch_in_core.exp: Likewise.
4184 * gdb.base/info_sources_base.c: Likewise.
4185
8a516164
TT
41862019-09-10 Tom Tromey <tromey@adacore.com>
4187
4188 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
4189
aa391654
TT
41902019-09-10 Tom Tromey <tromey@adacore.com>
4191
4192 * gdb.ada/dgopt.exp: New file.
4193 * gdb.ada/dgopt/x.adb: New file.
4194
8634b462
TT
41952019-09-08 Tom Tromey <tom@tromey.com>
4196
4197 * gdb.tui/resize.exp: Remove setup_xfail.
4198 * gdb.tui/regs.exp: Remove setup_xfail.
4199 * gdb.tui/basic.exp: Remove setup_xfail.
4200
736b0f76
DB
42012019-09-06 David Blaikie <dblaikie@gmail.com>
4202
4203 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
4204 * gdb.cp/cplabel.exp: Ditto.
4205 * gdb.linespec/ls-errs.exp: Ditto.
4206
30331a6c
TV
42072019-09-05 Tom de Vries <tdevries@suse.de>
4208
4209 * lib/gdb.exp (cmp_file_string): New proc.
4210 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
4211 runto_main. Verify save breakpoints output.
4212
98b0ebab
PW
42132019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4214
4215 * gdb.base/info-var.exp: Test info variables without running
4216 to main, to avoid expect's buffer overflow.
4217
4e962e74
TT
42182019-09-03 Tom Tromey <tromey@adacore.com>
4219
4220 * gdb.ada/bias.exp: New file.
4221 * gdb.ada/bias/bias.adb: New file.
4222 * gdb.ada/print_chars.exp: Add regression test.
4223 * gdb.ada/print_chars/foo.adb (My_Character): New type.
4224 (MC): New variable.
4225
2ea1a07a
SL
42262019-08-29 Sandra Loosemore <sandra@codesourcery.com>
4227
4228 * gdb.base/argv0-symlink.exp: Run only on native target
4229 and local host.
4230
8077c50d
TV
42312019-08-29 Tom de Vries <tdevries@suse.de>
4232
4233 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
4234 diverse debug info.
4235 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
4236
48352473
TV
42372019-08-28 Tom de Vries <tdevries@suse.de>
4238
4239 * gdb.base/info-var.exp: Allow info variables to print info for files
4240 other than info-var-f1.c and info-var-f2.c.
4241
d8f27c60
AB
42422019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4243
4244 * gdb.fortran/info-types.exp: Add module.
4245 * gdb.fortran/info-types.f90: Update expected results.
4246
1f20c35e
AB
42472019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4248
4249 * gdb.fortran/info-types.exp: New file.
4250 * gdb.fortran/info-types.f90: New file.
4251 * lib/fortran.exp (fortran_character1): New proc.
4252
4acfdd20
AB
42532019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
4254
4255 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
4256 functions'. Reindent as needed.
4257 * gdb.base/info-var-f1.c: New file.
4258 * gdb.base/info-var-f2.c: New file.
4259 * gdb.base/info-var.exp: New file.
4260 * gdb.base/info-var.h: New file.
4261
5c31b358
TV
42622019-08-26 Tom de Vries <tdevries@suse.de>
4263
4264 PR c++/24852
4265 * gdb.cp/no-libstdcxx-probe.exp: New test.
4266
b694989f
TV
42672019-08-26 Tom de Vries <tdevries@suse.de>
4268
4269 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
4270 * tests need to be skipped.
4271 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
4272 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
4273 mi_skip_libstdcxx_probe_tests.
4274
d9c4ba53
SDJ
42752019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
4276
4277 * gdb.python/py-xmethods.exp: Use raw strings when passing
4278 arguments to SimpleXMethodMatcher.
4279
395fad09
TV
42802019-08-22 Tom de Vries <tdevries@suse.de>
4281
4282 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
4283 more informative.
4284
26c957f1
PA
42852019-08-21 Pedro Alves <palves@redhat.com>
4286
4287 * gdb.base/with.exp: Test "with" with no arguments.
4288
61f80d5d
TV
42892019-08-21 Tom de Vries <tdevries@suse.de>
4290
4291 * gdb.base/gdb-caching-proc.exp: Sort files.
4292
d7a11d13
TV
42932019-08-20 Tom de Vries <tdevries@suse.de>
4294
4295 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
4296 compilation.
4297
34dafe9f
TV
42982019-08-16 Tom de Vries <tdevries@suse.de>
4299
4300 * gdb.base/compare-sections.exp ("after run to main"): Allow
4301 mismatched read-only sections for PIE executables.
4302
398fdd60
TT
43032019-08-16 Tom Tromey <tom@tromey.com>
4304
4305 * lib/tuiterm.exp (_csi_Z): New proc.
4306 * gdb.tui/basic.exp: Update window positions.
4307 * gdb.tui/empty.exp: Update window positions.
4308
d8f9e51c
SL
43092019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4310
4311 * gdb.base/examine-backward.exp: Correct regexp for
4312 "examine 3 bytes backward from ${address_zero}".
4313
3df505f6
TT
43142019-08-15 Tom Tromey <tom@tromey.com>
4315
4316 * gdb.tui/empty.exp: Enable resizing tests.
4317
272560b5
TT
43182019-08-15 Tom Tromey <tromey@adacore.com>
4319
4320 * gdb.ada/char_enum.exp: Add regression tests.
4321 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
4322 and '0'.
4323 (Char, Gchar): Update.
4324 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
4325
08235187
CB
43262019-08-15 Christian Biesinger <cbiesinger@google.com>
4327
4328 * gdb.python/python.exp: Expect a leading underscore on
4329 GdbOutput{,Error}File.
4330
22a2ab04
SL
43312019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4332
4333 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
4334 Windows host.
4335
835b995b
SL
43362019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4337
4338 * gdb.base/batch-preserve-term-settings.exp
4339 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
4340
97dd8e07
CB
43412019-08-15 Christian Biesinger <cbiesinger@google.com>
4342
4343 * lib/gdb.exp: When running on a mingw target, replace
4344 /x/ with x:/.
4345
75faf5c4
AH
43462019-08-14 Alan Hayward <alan.hayward@arm.com>
4347
4348 * gdb.arch/aarch64-prologue.c: New test.
4349 * gdb.arch/aarch64-prologue.exp: New file.
4350
abc6c00f
TV
43512019-08-13 Tom de Vries <tdevries@suse.de>
4352
4353 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
4354 Thread.
4355
74c2c1f4
SL
43562019-08-13 Sandra Loosemore <sandra@codesourcery.com>
4357
4358 * gdb.python/py-completion.exp: Download the .py file to the host
4359 and use its host pathname. Conditionalize tests that use
4360 tab completion and manipulate files on the build machine.
4361 * gdb.python/py-events.exp: Download the .py file to the host
4362 and use its host pathname.
4363 * gdb.python/py-evsignal.exp: Likewise.
4364 * gdb.python/py-evthreads.exp: Likewise.
4365 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
4366 pathname syntax.
4367 * gdb.python/py-framefilter.exp: Download the .py file to the right
4368 place on the host. Match Windows pathname syntax.
4369 * gdb.python/py-mi-var-info-path-expression.exp: Download the
4370 .py file to the host and use its host pathname.
4371 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
4372 * gdb.python/py-objfile.exp: Expect a host pathname, not a
4373 build pathname. Skip symlink test on Windows host. Add missing
4374 newline at end of file.
4375 * gdb.python/py-pp-maint.exp: Download the .py file to the host
4376 and use its host pathname.
4377 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
4378 * gdb.python/py-section-script.exp: Use host location of binfile
4379 on safe-path. Use correct path separator on Windows host.
4380 Reorder alternatives in gdb_test_multiple to prevent matching
4381 the wrong alternative on success.
4382 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
4383
ca2589f3
PP
43842019-08-12 Patrick Palka <patrick@parcs.ath.cx>
4385
4386 * gdb.gdb/selftest.exp (test_with_self): Update test to now
4387 expect the GDB inferior to no longer immediately stop after
4388 being resumed with "signal SIGINT".
4389
020a839d
SL
43902019-08-09 Sandra Loosemore <sandra@codesourcery.com>
4391
4392 * gdb.linespec/break-ask.exp: Generalize regexps to match
4393 Windows pathnames too.
4394
128d6509
TV
43952019-08-08 Tom de Vries <tdevries@suse.de>
4396
4397 PR testsuite/24862
4398 * lib/tuiterm.exp (_accept): Fix CSI regexp.
4399
590042fc
PW
44002019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4401
4402 * gdb.base/style.exp: Update tests for help doc new invariants.
4403 * gdb.base/help.exp: Likewise.
4404
046bebe1
TT
44052019-08-06 Tom Tromey <tom@tromey.com>
4406
4407 * gdb.base/style.exp: Add disassemble test.
4408 * gdb.base/style.c (some_called_function): New function.
4409 (main): Use it.
4410
0b27c27d
CB
44112019-08-05 Christian Biesinger <cbiesinger@google.com>
4412
4413 * gdb.python/py-block.exp: Test dictionary access on blocks.
4414
580f1034
SM
44152019-08-05 Simon Marchi <simon.marchi@efficios.com>
4416
4417 PR gdb/24863
4418 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
4419 -list-thread-groups --available test when running under
4420 check-read1.
4421
d86bd7cb
TV
44222019-08-05 Tom de Vries <tdevries@suse.de>
4423
4424 PR testsuite/24863
4425 * lib/gdb.exp (with_read1_timeout_factor): New proc.
4426 * gdb.base/help.exp: Use with_read1_timeout_factor.
4427 * gdb.base/info-macros.exp: Same.
4428 * gdb.cp/nested-types.exp: Same.
4429
a80cf5d8
TV
44302019-08-05 Tom de Vries <tdevries@suse.de>
4431
4432 * lib/gdb.exp (version_at_least): Factor out of ...
4433 (tcl_version_at_least): ... here.
4434 (gdb_compile): Fail if pie results in non-PIE executable.
4435 (readelf_version, readelf_prints_pie): New proc.
4436 (exec_is_pie): Return -1 if unknown.
4437
d0962838
TV
44382019-08-05 Tom de Vries <tdevries@suse.de>
4439
4440 * lib/gdb.exp (tcl_version_at_least): Fix typo.
4441
2252ff3d
SL
44422019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4443
4444 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
4445
26655f53
SL
44462019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4447
4448 * lib/completion-support.exp (test_gdb_complete_none): Skip
4449 tab completion tests if no readline support.
4450 (test_gdb_complete_unique_re): Likewise.
4451 (test_gdb_complete_multiple): Likewise.
4452
db4dc13e
PW
44532019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4454
4455 * gdb.base/info_sources.exp: New file.
4456 * gdb.base/info_sources.c: New file.
4457 * gdb.base/info_sources_base.c: New file.
4458
0eba165a
PFC
44592019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4460
4461 * gdb.base/batch-exit-status.exp: Call test_exit_status with
4462 prefix argument.
4463 (test_exit_status): Add prefix argument.
4464
59bd512b
TV
44652019-08-01 Tom de Vries <tdevries@suse.de>
4466
4467 PR testsuite/24863
4468 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
4469 calling exp_continue for new thread and thread exited messages.
4470
2a3ad588
TV
44712019-08-01 Tom de Vries <tdevries@suse.de>
4472
4473 PR testsuite/24863
4474 * gdb.base/structs.exp: Fix check-read1 timeout using
4475 gdb_test_sequence.
4476 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
4477
117eb594
TV
44782019-08-01 Tom de Vries <tdevries@suse.de>
4479
4480 PR testsuite/24863
4481 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
4482 line.
4483
ed591340
TV
44842019-08-01 Tom de Vries <tdevries@suse.de>
4485
4486 PR testsuite/24863
4487 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
4488
aa3b6533
TT
44892019-07-30 Tom Tromey <tromey@adacore.com>
4490
4491 * gdb.ada/display_nested.exp: New file.
4492 * gdb.ada/display_nested/foo.adb: New file.
4493 * gdb.ada/display_nested/pack.adb: New file.
4494 * gdb.ada/display_nested/pack.ads: New file.
4495
2906593f
CB
44962019-07-30 Christian Biesinger <cbiesinger@google.com>
4497
4498 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
4499 namespace.
4500 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
4501
0f575925
TV
45022019-07-30 Tom de Vries <tdevries@suse.de>
4503
4504 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
4505 instead.
4506
b13057d9
TV
45072019-07-30 Tom de Vries <tdevries@suse.de>
4508
4509 PR testsuite/24834
4510 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
4511 (exec_is_pie): New proc.
4512
5c4dde85
CB
45132019-07-29 Christian Biesinger <cbiesinger@google.com>
4514
4515 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
4516
c620ed88
CB
45172019-07-29 Christian Biesinger <cbiesinger@google.com>
4518
4519 * gdb.python/py-objfile.c: Add global and static vars.
4520 * gdb.python/py-objfile.exp: Test new functions Objfile.
4521 lookup_global_symbol and lookup_static_symbol.
4522
3d235706
TT
45232019-07-29 Tom Tromey <tom@tromey.com>
4524
4525 * lib/tuiterm.exp (Term::_csi_@): New proc.
4526 (Term::_csi_X): Don't move cursor.
4527
c7e4c0a6
PW
45282019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4529
4530 * gdb.base/options.exp: Update backtrace - completion to
4531 new option -frame-info.
4532 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
4533 Test new 'set print frame-info'. Test backtrace -frame-info
4534 overriding 'set print frame-info'.
4535 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
4536 Test new 'set print frame-info'.
4537 Verify consistency of backtrace with and without filters, with and
4538 without -no-filters.
4539 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
4540 default.
4541
de28a3b7
TV
45422019-07-29 Tom de Vries <tdevries@suse.de>
4543
4544 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
4545 no arguments".
4546
507dd60e
TV
45472019-07-29 Tom de Vries <tdevries@suse.de>
4548
4549 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
4550 is a substring of the first for "complete non-unique file name".
4551
5beafce9
TV
45522019-07-29 Tom de Vries <tdevries@suse.de>
4553
4554 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
4555 with ".*".
4556
2d274232
TV
45572019-07-29 Tom de Vries <tdevries@suse.de>
4558
4559 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
4560 Pass prompt_regexp parameter to gdb_test_multiple calls.
4561
9197cd8b
TV
45622019-07-29 Tom de Vries <tdevries@suse.de>
4563
4564 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 4565 print registers" regexps.
9197cd8b 4566
b528dae0
TV
45672019-07-29 Tom de Vries <tdevries@suse.de>
4568
4569 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
4570
d17725d7
TV
45712019-07-29 Tom de Vries <tdevries@suse.de>
4572
4573 PR gdb/24855
4574 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
4575 (skip_python_tests_prompt): Add prompt_regexp argument to
4576 gdb_test_multiple calls.
4577
52b75bf1
TT
45782019-07-27 Tom Tromey <tom@tromey.com>
4579
4580 * gdb.tui/main.exp: New file.
4581
2b1d00c2
TT
45822019-07-27 Tom Tromey <tom@tromey.com>
4583
4584 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
4585 optional.
4586 * gdb.tui/empty.exp: New file.
4587
ded631d5
TT
45882019-07-27 Tom Tromey <tom@tromey.com>
4589
4590 * lib/tuiterm.exp (spawn): New proc.
4591 (Term::resize): New proc.
4592 * gdb.tui/resize.exp: New file.
4593
58ac439d
TT
45942019-07-27 Tom Tromey <tom@tromey.com>
4595
4596 * gdb.tui/list.exp: New file.
4597
fe1f56ee
TT
45982019-07-27 Tom Tromey <tom@tromey.com>
4599
4600 * gdb.tui/regs.exp: New file.
4601
f790b310
TT
46022019-07-27 Tom Tromey <tom@tromey.com>
4603
4604 * gdb.tui/basic.exp: Add "layout split" test.
4605
d95fc6ee
TT
46062019-07-27 Tom Tromey <tom@tromey.com>
4607
4608 * gdb.tui/basic.exp: Add "layout asm" test.
4609
c3786b3a
TT
46102019-07-27 Tom Tromey <tom@tromey.com>
4611
4612 * lib/tuiterm.exp: New file.
4613 * gdb.tui/basic.exp: New file.
4614
98a617f8
KB
46152019-07-27 Kevin Buettner <kevinb@redhat.com>
4616
4617 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
4618 Enable tests associated with this flag. Adjust regex
4619 referencing "foo_low" to now refer to "foo_cold" instead.
4620
5c076da4
KB
46212019-07-27 Kevin Buettner <kevinb@redhat.com>
4622
4623 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
4624 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
4625 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
4626 foo_cold. Revise comments to match.
4627 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
4628 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
4629 were wrapped into this proc; Call do_test in loop from outermost
4630 level.
4631 (foo_low): Rename all occurrences to "foo_cold".
4632 (backtrace from baz): New test.
4633 (x2/i foo_cold): New test.
4634 (info line *foo_cold): New test.
4635
1512d3b7
TV
46362019-07-26 Tom de Vries <tdevries@suse.de>
4637
4638 * gdb.arch/i386-pkru.exp: Fix unterminated string.
4639
297989a1
TV
46402019-07-25 Tom de Vries <tdevries@suse.de>
4641
4642 PR testsuite/24830
4643 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
4644 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
4645 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
4646 (skip_libstdcxx_probe_tests): ... here.
4647 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
4648
b3b965fb
TV
46492019-07-24 Tom de Vries <tdevries@suse.de>
4650
4651 PR testsuite/24807
4652 * gdb.objc/basicclass.m: Include stdio.h.
4653 * gdb.objc/nondebug.m: Same.
4654 * gdb.objc/objcdecode.m: Same.
4655
4625b4d0
TV
46562019-07-24 Tom de Vries <tdevries@suse.de>
4657
4658 PR testsuite/24612
4659 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
4660 additional_flags.
4661
024a5840
TV
46622019-07-24 Tom de Vries <tdevries@suse.de>
4663
4664 PR testsuite/24831
4665 * gdb.multi/tids.exp: Update error messages for info threads.
4666
c76ddaa3
TV
46672019-07-24 Tom de Vries <tdevries@suse.de>
4668
4669 * gdb.base/info-types.exp: Allow info types to print info for more than
4670 one file.
4671
9a618ef6
TV
46722019-07-23 Tom de Vries <tdevries@suse.de>
4673
4674 PR testsuite/24842
4675 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
4676 gdb_spawn_with_cmdline_opts.
4677
40eadf04
SP
46782019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
4679
4680 * gdb.arch/arm-cmse-sgstubs.c: New test.
4681 * gdb.arch/arm-cmse-sgstubs.exp: New file.
4682
5ba29434
TV
46832019-07-23 Tom de Vries <tdevries@suse.de>
4684
4685 PR testsuite/24711
4686 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
4687 issuing next command.
4688
a8e9d247
AB
46892019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4690
4691 * gdb.ada/info_auto_lang.exp: Update expected results.
4692 * gdb.base/info-types.c: Add additional types to check.
4693 * gdb.base/info-types.exp: Update expected results.
4694
eb86c5e2
AB
46952019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4696
4697 * gdb.base/info-types.c: New file.
4698 * gdb.base/info-types.exp: New file.
4699
01e175fe
AB
47002019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
4701
4702 * gdb.arch/riscv-bp-infcall.c: New file.
4703 * gdb.arch/riscv-bp-infcall.exp: New file.
4704
6b78c3f8
AB
47052019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
4706
4707 PR breakpoints/24541
4708 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
4709
da738167
TV
47102019-07-14 Tom de Vries <tdevries@suse.de>
4711
4712 PR testsuite/24760
4713 * gdb.objc/basicclass.exp: Fix unterminated string.
4714
0d4e84ed
AB
47152019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
4716 Andrew Burgess <andrew.burgess@embecosm.com>
4717
4718 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
4719 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
4720 negative bounds.
4721 * gdb.fortran/vla-value.exp: Print elements of an array with
4722 negative bounds.
4723 * gdb.fortran/vla.f90: Setup an array with negative bounds for
4724 testing.
4725
021d8588
AB
47262019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
4727
4728 * gdb.base/options.exp (expect_string): Dequote strings in
4729 results.
4730 (test-string): Test strings with different quoting and reindent.
4731
f06f1252
TT
47322019-07-10 Tom Tromey <tromey@adacore.com>
4733
4734 * gdb.ada/mi_ex_cond.exp: Update expected results.
4735 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
4736 * gdb.ada/mi_catch_ex.exp: Update expected results.
4737 * gdb.ada/mi_catch_assert.exp: Update expected results.
4738 * gdb.ada/catch_ex.exp (catch_exception_info)
4739 (catch_exception_entry, catch_assert_entry)
4740 (catch_unhandled_entry): Update.
4741 * gdb.ada/catch_assert_if.exp: Update expected results.
4742
b863685d
RB
47432019-07-10 Richard Bunt <richard.bunt@arm.com>
4744 Stephen Roberts <stephen.roberts@arm.com>
4745
4746 * gdb.base/define.exp: Restore original prompt.
4747
cb1e4e32
PA
47482019-07-09 Pedro Alves <palves@redhat.com>
4749
4750 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
4751 breakpoints" output.
4752 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
4753 * gdb.python/py-breakpoint.exp: No longer expect that "catch
4754 throw" creates breakpoint.
4755 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
4756 'type="catchpoint"'.
4757
b58a68fe
PA
47582019-07-09 Pedro Alves <palves@redhat.com>
4759
4760 PR c++/15468
4761 * gdb.cp/except-multi-location-lib.cc: New.
4762 * gdb.cp/except-multi-location-main.cc: New.
4763 * gdb.cp/except-multi-location.exp: New.
4764
0826779b
PW
47652019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
4766
4767 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
4768 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
4769 argument and update callers.
4770
5b0e2db4
AB
47712019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4772
4773 * gdb.arch/amd64-break-on-asm-line.S: New file.
4774 * gdb.arch/amd64-break-on-asm-line.exp: New file.
4775
1f6f6e21
PW
47762019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4777
4778 * gdb.base/printcmds.exp: Test printing C string and
4779 C wide string convenience vars without transiting via the inferior.
4780 Also make test names unique.
4781
ea142fbf
AH
47822019-07-08 Alan Hayward <alan.hayward@arm.com>
4783
5862c886 4784 PR breakpoints/25011
ea142fbf
AH
4785 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
4786
213fd9fa
PA
47872019-07-04 Pedro Alves <palves@redhat.com>
4788
4789 * lib/gdb.exp (foreach_with_prefix): Don't return early if
4790 body returned ok(0), break(3) or continue(4).
4791 * gdb.testsuite/foreach_with_prefix.exp: New file.
4792
2b40fda7
AH
47932019-07-04 Alan Hayward <alan.hayward@arm.com>
4794
4795 * gdb.server/unittest.exp: Allow 0 unit tests to run.
4796
a26c8de0
PA
47972019-07-03 Pedro Alves <palves@redhat.com>
4798
4799 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
4800 "return -code".
4801
5f4ba3e7
PA
48022019-07-03 Pedro Alves <palves@redhat.com>
4803
4804 PR cli/24732
4805 * gdb.base/shell.exp: Load completion-support.exp.
4806 Adjust expected error output. Add completion tests.
4807
a994424f
PA
48082019-07-03 Pedro Alves <palves@redhat.com>
4809
4810 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
4811 string_to_regexp.
4812
3d9be6f5
PA
48132019-07-03 Pedro Alves <palves@redhat.com>
4814
4815 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
4816 (expect_integer): Adjust to expect "-string".
4817 (expect_string): New.
4818 (all_options): Expect "-string".
4819 (test-flag, test-boolean): Adjust to expect "-string".
4820 (test-string): New proc.
4821 (top level): Call it.
4822
41fc454c
PA
48232019-07-03 Pedro Alves <palves@redhat.com>
4824
4825 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
4826 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
4827 the expected output in the success.
4828
b2b2a215
PA
48292019-07-03 Pedro Alves <palves@redhat.com>
4830
4831 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4832 Split one gdb_test_multiple call in two to avoid a race.
4833
fdbc9870
PA
48342019-07-03 Pedro Alves <palves@redhat.com>
4835
4836 * gdb.base/with.c: New file.
4837 * gdb.base/with.exp: New file.
4838
c6ac8931
PA
48392019-07-03 Pedro Alves <palves@redhat.com>
4840
4841 * gdb.base/settings.exp: Replace all references to "maint
4842 test-settings set" with references to "maint set test-settings",
4843 and all references to "maint test-settings show" with references
4844 to "maint show test-settings".
4845
970f9d09
PA
48462019-07-03 Pedro Alves <palves@redhat.com>
4847
4848 * gdb.base/settings.exp (test-string): Adjust expected out when
4849 testing "maint test-settings show filename"
4850
54d66006
PA
48512019-07-02 Pedro Alves <palves@redhat.com>
4852
4853 * gdb.base/options.exp (test-info-threads): New procedure.
4854 (top level): Call it.
4855
10d06d82
TT
48562019-06-28 Tom Tromey <tromey@adacore.com>
4857
4858 * gdb.dwarf2/ada-linkage-name.c: New file.
4859 * gdb.dwarf2/ada-linkage-name.exp: New file.
4860
3d507ff2
TT
48612019-06-27 Tom Tromey <tromey@adacore.com>
4862
d039f014 4863 PR c++/20020:
3d507ff2
TT
4864 * gdb.cp/constexpr-field.exp: Use setup_xfail.
4865
8af58ffe
TV
48662019-06-26 Tom de Vries <tdevries@suse.de>
4867
4868 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
4869
22e21752
TV
48702019-06-26 Tom de Vries <tdevries@suse.de>
4871
4872 * gdb.base/index-cache.exp: Add back missing debug option.
4873
b65b566c
PW
48742019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4875
4876 * gdb.base/alias.exp: Test non matching/non existing prefixes.
4877
5c2c8c69
TV
48782019-06-25 Tom de Vries <tdevries@suse.de>
4879
4880 PR testsuite/24727
4881 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
4882
164e3873
TV
48832019-06-24 Tom de Vries <tdevries@suse.de>
4884
4885 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
4886
824eacee
TV
48872019-06-24 Tom de Vries <tdevries@suse.de>
4888
4889 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
4890 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
4891 * gdb.trace/unavailable-dwarf-piece.exp: Same.
4892
385b97d3
TV
48932019-06-24 Tom de Vries <tdevries@suse.de>
4894
4895 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
4896
c596f180
TV
48972019-06-21 Tom de Vries <tdevries@suse.de>
4898
4899 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
4900
b13a7d03
TV
49012019-06-21 Tom de Vries <tdevries@suse.de>
4902
4903 PR testsuite/24518
4904 PR ada/24713
4905 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
4906 index.
4907
899277ae
TT
49082019-06-19 Tom Tromey <tromey@adacore.com>
4909
4910 * gdb.ada/length_cond.exp: Add intro comment.
4911
680e1bee
TT
49122019-06-19 Tom Tromey <tromey@adacore.com>
4913
4914 * gdb.ada/length_cond.exp: New file.
4915 * gdb.ada/length_cond/length_cond.adb: New file.
4916 * gdb.ada/length_cond/pck.adb: New file.
4917 * gdb.ada/length_cond/pck.ads: New file.
4918
0ed4690a
TV
49192019-06-18 Tom de Vries <tdevries@suse.de>
4920
4921 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
4922
d20ed5fd
TT
49232019-06-18 Tom Tromey <tromey@adacore.com>
4924
4925 * gdb.base/list0.h: Add comment explaining control character.
4926
86e04673
TV
49272019-06-18 Tom de Vries <tdevries@suse.de>
4928
4929 * boards/fission.exp: Break up long debug_flags line.
4930
c4973306
SM
49312019-06-16 Tom de Vries <tdevries@suse.de>
4932
4933 PR gdb/24445
4934 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
4935 generated index.
4936
93cb9841
AB
49372019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4938
4939 PR gdb/24686
4940 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
4941 improve detection of bug gdb/24541.
4942
399aaebd
SM
49432019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
4944
4945 PR gdb/24669
4946 * gdb.base/index-cache.exp (uses_readnow,
4947 expecting_index_cache_use): Define global variable.
4948 (test_cache_enabled_miss, test_cache_enabled_hit): Use
4949 expecting_index_cache_use.
4950
584a927c
AB
49512019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
4952 Andrew Burgess <andrew.burgess@embecosm.com>
4953
4954 * gdb.fortran/pointers.f90: New file.
4955 * gdb.fortran/print_type.exp: New file.
4956 * gdb.fortran/vla-ptype.exp: Adapt expected results.
4957 * gdb.fortran/vla-type.exp: Likewise.
4958 * gdb.fortran/vla-value.exp: Likewise.
4959 * gdb.mi/mi-vla-fortran.exp: Likewise.
4960
30056ea0
AB
49612019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4962
4963 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
4964 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
4965 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
4966 as a stop reason.
4967
ec8e2b6d
AB
49682019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4969
4970 * gdb.base/annota1.exp: Update expected results.
4971 * gdb.cp/annota2.exp: Likewise.
4972 * gdb.cp/annota3.exp: Likewise.
4973
09e4c4e1
AB
49742019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4975
4976 * gdb.base/style-logging.exp: Remove path from test name.
4977
0735b091
TT
49782019-06-14 Tom Tromey <tromey@adacore.com>
4979
4980 PR gdb/24502:
4981 * gdb.base/style-logging.exp: New file.
4982
f5686554
TT
49832019-06-14 Tom Tromey <tromey@adacore.com>
4984
4985 * gdb.base/symfile-warn.exp: New file.
4986 * gdb.base/symfile-warn.c: New file.
4987
a0c1ffed
TT
49882019-06-14 Tom Tromey <tromey@adacore.com>
4989
4990 * gdb.base/annotate-symlink.exp: New file.
4991
f411722c
TT
49922019-06-14 Tom Tromey <tromey@adacore.com>
4993
4994 * gdb.ada/set_wstr.exp: Add reassignment test.
4995
4268ec18
TT
49962019-06-14 Tom Tromey <tromey@adacore.com>
4997
4998 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
4999 'unchecked_access and 'unrestricted_access as well.
5000
9a9e394b
TT
50012019-06-14 Tom Tromey <tromey@adacore.com>
5002
5003 PR ada/24539:
5004 * gdb.ada/vla.exp: Update tests.
5005 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
5006 pragma.
5007
4c048731
PA
50082019-06-13 Pedro Alves <palves@redhat.com>
5009
5010 * gdb.base/settings.exp (test-integer): Test junk after
5011 "unlimited".
5012
6665660a
PA
50132019-06-13 Pedro Alves <palves@redhat.com>
5014
5015 * gdb.base/options.exp (test-thread-apply): New.
5016 (top level): Call it.
5017
5d707134
PA
50182019-06-13 Pedro Alves <palves@redhat.com>
5019
5020 * gdb.base/options.exp (test-frame-apply): New.
5021 (top level): Test print commands with different "frame apply"
5022 prefixes.
5023
e2a689da
PA
50242019-06-13 Pedro Alves <palves@redhat.com>
5025
e79be6e5 5026 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
5027 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
5028 'max_completions' parameter and handle it.
5029 (test_gdb_completion_offers_commands): New.
5030
90a1ef87
PA
50312019-06-13 Pedro Alves <palves@redhat.com>
5032
5033 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
5034
d4c16835
PA
50352019-06-13 Pedro Alves <palves@redhat.com>
5036
5037 * gdb.base/options.exp (test-backtrace): New.
5038 (top level): Call it.
5039
2daf894e
PA
50402019-06-13 Pedro Alves <palves@redhat.com>
5041
5042 * gdb.guile/scm-frame-args.exp: Use "set print
5043 raw-frame-arguments" instead of "set print raw frame-arguments".
5044 * gdb.python/py-frame-args.exp: Likewise.
5045
e6ed716c
PA
50462019-06-13 Pedro Alves <palves@redhat.com>
5047
5048 * gdb.compile/compile.exp: Adjust expected output to option
5049 processing changes.
5050
7d8062de
PA
50512019-06-13 Pedro Alves <palves@redhat.com>
5052
5053 * gdb.base/options.exp: Build executable.
5054 (test-print): New procedure.
5055 (top level): Call it, once for "print" and another for "compile
5056 print".
5057
9d0faba9
PA
50582019-06-13 Pedro Alves <palves@redhat.com>
5059
5060 * gdb.base/options.c: New file.
5061 * gdb.base/options.exp: New file.
5062
dee7b4c8
PA
50632019-06-13 Pedro Alves <palves@redhat.com>
5064
5065 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
5066 that "o" is ambiguous.
5067
dca0f6c0
PA
50682019-06-13 Pedro Alves <palves@redhat.com>
5069
5070 * gdb.base/settings.c: New file.
5071 * gdb.base/settings.exp: New file.
5072
ccf46844
PA
50732019-06-13 Pedro Alves <palves@redhat.com>
5074
5075 * gdb.base/completion.exp: Fix comment typo.
5076
b9a3f842
PA
50772019-06-13 Pedro Alves <palves@redhat.com>
5078
5079 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
5080 foo --1" test.
5081
d106773e
PA
50822019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
5083
5084 * gdb.fortran/block-data.f: New.
5085 * gdb.fortran/block-data.exp: New.
5086
fea82da0
TV
50872019-06-11 Tom de Vries <tdevries@suse.de>
5088
5089 PR testsuite/24521
5090 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
5091 message.
5092
8c2e74f1
TV
50932019-06-11 Tom de Vries <tdevries@suse.de>
5094
5095 PR testsuite/24521
5096 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
5097
b49851c8
TV
50982019-06-11 Tom de Vries <tdevries@suse.de>
5099
5100 * boards/readnow.exp: New file.
5101
a7067863
AB
51022019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
5103
5104 * gdb.fortran/vla-sizeof.exp: Update expected results.
5105
1a3da2cd
AB
51062019-06-06 Amos Bird <amosbird@gmail.com>
5107
5108 * gdb.base/annota1.exp (thread_switch): Add test for
5109 thread-exited annotation.
5110
3847a7bf
TT
51112019-06-06 Tom Tromey <tromey@adacore.com>
5112
5113 * gdb.base/maint.exp: Expect command started/finished output.
5114
0088ba59
AB
51152019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5116
5117 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
5118 comment.
5119 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
5120
312617a3
AB
51212019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5122
5123 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
5124 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
5125 * gdb.arch/riscv-unwind-long-insn.c: New file.
5126 * gdb.arch/riscv-unwind-long-insn.exp: New file.
5127
e1f2e1a2
CB
51282019-06-04 Christian Biesinger <cbiesinger@google.com>
5129
d3238f7d 5130 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 5131
206584bd
PW
51322019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5133
5134 * lib/gdb.exp (help_list_trailer): New regexp variable
5135 factorizing the help trailer message.
5136 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
5137 arg to allow to better factorize various tests.
5138 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
5139 (test_prefix_command_help): Use help_list_trailer.
5140 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
5141 * gdb.guile/scm-cmd.exp: Likewise.
5142 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
5143 * gdb.base/help.exp: Use test_user_defined_class_help.
5144 * gdb.base/style.exp: Add tests for styling of help and apropos.
5145 * lib/gdb-utils.exp (style): Add title and highlight styles.
5146
708dc93e
PW
51472019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5148
5149 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
5150 $_shell_exitsignal.
5151 * gdb.base/default.exp: Update for new convenience variables.
5152
f49055a5
TT
51532019-05-29 Tom Tromey <tromey@adacore.com>
5154
5155 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
5156 to "break complete ada" test case's regexp.
5157
4330d61d
TT
51582019-05-29 Tom Tromey <tromey@adacore.com>
5159
5160 PR c++/20020:
5161 * gdb.cp/constexpr-field.exp: New file.
5162 * gdb.cp/constexpr-field.cc: New file.
5163
000439d5
TT
51642019-05-29 Tom Tromey <tromey@adacore.com>
5165
5166 * gdb.base/finish.exp (finish_no_print): New proc.
5167 (finish_tests): Call it.
5168
5a01c34c
TV
51692019-05-24 Tom de Vries <tdevries@suse.de>
5170
5171 * gdb.dwarf2/gdb-add-index.exp: New file.
5172
18125b16
TT
51732019-05-22 Tom Tromey <tromey@adacore.com>
5174
5175 * gdb.base/info-shared.exp (check_info_shared): Use "style".
5176 * gdb.base/style.exp: Use "style".
5177 * lib/gdb-utils.exp (style): New proc.
5178
af1a8d03
TV
51792019-05-22 Tom de Vries <tdevries@suse.de>
5180
5181 * gdb.base/align.exp: Require c++11.
5182
e7fe496b
TV
51832019-05-22 Tom de Vries <tdevries@suse.de>
5184
5185 PR testsuite/24586
5186 * gdb.python/py-mi-var-info-path-expression.exp: Call
5187 mi_skip_python_tests to check if python is supported.
5188
8fca4da0
AH
51892019-05-22 Alan Hayward <alan.hayward@arm.com>
5190
5191 * gdb.arch/aarch64-pauth.c: New test.
5192 * gdb.arch/aarch64-pauth.exp: New file.
5193
b7060614
AH
51942019-05-22 Alan Hayward <alan.hayward@arm.com>
5195
5196 * README (Re-running Tests Outside The Testsuite): New section.
5197
669d0468
TV
51982019-05-21 Tom de Vries <tdevries@suse.de>
5199
5200 * gdb.arch/amd64-eval.exp: Require c++11.
5201 * gdb.base/max-depth.exp: Same.
5202 * gdb.compile/compile-cplus-array-decay.exp: Same.
5203 * gdb.cp/meth-typedefs.exp: Same.
5204 * gdb.cp/subtypes.exp: Same.
5205 * gdb.cp/temargs.exp: Same.
5206
ce3ebcaa
AH
52072019-05-21 Alan Hayward <alan.hayward@arm.com>
5208
5209 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
5210
34d11c68
AB
52112019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
5212
5213 PR gdb/18644
5214 * gdb.fortran/complex.exp: Remove setup_kfail calls.
5215 * gdb.fortran/printing-types.exp: Add new test.
5216 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
5217 testing.
5218 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
5219 setup_kfail call.
5220
87781e84
AH
52212019-05-17 Alan Hayward <alan.hayward@arm.com>
5222
5223 * README (Running the Testsuite): Change example.
5224 (Testsuite Parameters): Remove TRANSCRIPT.
5225 * lib/gdb.exp: Remove TRANSCRIPT check.
5226
b420b89e
AH
52272019-05-17 Alan Hayward <alan.hayward@arm.com>
5228
5229 * README (Testsuite Parameters): Add replay logging to
5230 GDBSERVER_DEBUG.
5231 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
5232 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
5233 as a comma separated list.
5234 (gdb_debug_init): Override procedure.
5235
408e9b8b
AH
52362019-05-17 Alan Hayward <alan.hayward@arm.com>
5237
5238 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
5239 (gdb_write_cmd_file): New procedure.
5240 * lib/gdbserver-support.exp (gdbserver_start): Call
5241 gdbserver_write_cmd_file.
5242 (gdbserver_write_cmd_file): New procedure.
5243
f9e2e39d
AH
52442019-05-17 Alan Hayward <alan.hayward@arm.com>
5245
5246 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
5247 (delete_breakpoints): Likewise.
5248 (gdb_run_cmd): Likewise.
5249 (gdb_start_cmd): Likewise.
5250 (gdb_starti_cmd): Likewise.
5251 (gdb_internal_error_resync): Likewise.
5252 (gdb_test_multiple): Likewise.
5253 (gdb_reinitialize_dir): Likewise.
5254 (default_gdb_exit): Likewise.
5255 (gdb_file_cmd): Mark kill as optional.
5256 (default_gdb_start): Call gdb_stdin_log_init.
5257 (send_gdb): Call gdb_stdin_log_write.
5258 (rerun_to_main): Mark Y as an answer.
5259 (gdb_stdin_log_init): New function.
5260 (gdb_stdin_log_write): Likewise.
5261
81f47ac2
AH
52622019-05-17 Alan Hayward <alan.hayward@arm.com>
5263
5264 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
5265 * gdb.base/debug-expr.exp: Likewise.
5266 * gdb.base/foll-fork.exp: Likewise.
5267 * gdb.base/foll-vfork.exp: Likewise.
5268 * gdb.base/fork-print-inferior-events.exp: Likewise.
5269 * gdb.base/gdb-sigterm.exp: Likewise.
5270 * gdb.base/gdbinit-history.exp: Likewise.
5271 * gdb.base/osabi.exp: Likewise.
5272 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5273 * gdb.base/ui-redirect.exp: Likewise.
5274 * gdb.gdb/unittest.exp: Likewise.
5275 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
5276 * gdb.mi/mi-watch.exp: Likewise.
5277 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5278 * gdb.mi/user-selected-context-sync.exp: Likewise.
5279 * gdb.python/python.exp: Disable debug test when debugging.
5280 * gdb.threads/check-libthread-db.exp: Disable when debugging.
5281 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5282 Likewise.
5283 * gdb.threads/stepi-random-signal.exp: Likewise.
5284
29b52314
AH
52852019-05-17 Alan Hayward <alan.hayward@arm.com>
5286
5287 * Makefile.in: Pass through GDB_DEBUG.
5288 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5289 (gdb,debug): Add board setting.
5290 * lib/gdb.exp (default_gdb_start): Start debugging.
5291 (gdb_debug_enabled): New procedure.
5292 (gdb_debug_init): Likewise.
29b52314
AH
5293
52942019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 5295
29b52314
AH
5296 * Makefile.in: Pass through GDB_DEBUG.
5297 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5298 (gdb,debug): Add board setting.
5299 * lib/gdb.exp (default_gdb_start): Start debugging.
5300 (gdb_debug_enabled): New procedure.
5301 (gdb_debug_init): Likewise.
29b52314 5302
ca1285d1
AH
53032019-05-17 Alan Hayward <alan.hayward@arm.com>
5304
5305 * gdb.base/ui-redirect.exp: Add debug redirect tests.
5306
f3a09c80
AH
53072019-05-17 Alan Hayward <alan.hayward@arm.com>
5308
5309 * gdb.base/ui-redirect.exp: Test redirection.
5310
26648588
JV
53112019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
5312
5313 * gdb.mi/mi-complete.exp: New file.
5314 * gdb.mi/mi-complete.cc: Likewise.
5315
14237686
AB
53162019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
5317
5318 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
5319 indexed and sliced arrays, and pointers to arrays.
5320
e7bd7fba
TT
53212019-05-14 Tom Tromey <tromey@adacore.com>
5322
5323 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
5324 styling test.
5325
2764128d
TV
53262019-05-14 Tom de Vries <tdevries@suse.de>
5327
5328 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
5329 selection entry encoding.
5330
71bed2db
TT
53312019-05-10 Tom Tromey <tromey@adacore.com>
5332
5333 * gdb.ada/info_exc.exp: Add "complete" test.
5334
63b667ad
TV
53352019-05-09 Tom de Vries <tdevries@suse.de>
5336
5337 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
5338 CU-relative.
5339
9cfd2b89
TV
53402019-05-09 Tom de Vries <tdevries@suse.de>
5341
5342 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
5343 CU-relative.
5344
2228ef77
XR
53452019-05-08 Joel Brobecker <brobecker@adacore.com>
5346
5347 * gdb.ada/frame_arg_lang.exp: New testcase.
5348 * gdb.ada/frame_arg_lang/bla.adb: New file.
5349 * gdb.ada/frame_arg_lang/pck.ads: New file.
5350 * gdb.ada/frame_arg_lang/pck.adb: New file.
5351 * gdb.ada/frame_arg_lang/foo.c: New file.
5352
80e55b13
TT
53532019-05-08 Tom Tromey <tromey@adacore.com>
5354
5355 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
5356
9d3421af
TT
53572019-05-08 Tom Tromey <tromey@adacore.com>
5358
5359 * gdb.base/ptype-offsets.exp: Update tests.
5360
844333e2
TT
53612019-05-08 Tom Tromey <tromey@adacore.com>
5362
5363 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
5364 cases.
5365 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
5366 "short".
5367
988915ee
TT
53682019-05-08 Tom Tromey <tromey@adacore.com>
5369
5370 * gdb.ada/vla.exp: New file.
5371 * gdb.ada/vla/vla.adb: New file.
5372
7bd55dac
TV
53732019-05-07 Tom de Vries <tdevries@suse.de>
5374
5375 * gdb.base/index-cache.exp (ls_host): Fix return statement.
5376
75f06e9d
TV
53772019-05-07 Tom de Vries <tdevries@suse.de>
5378
5379 PR testsuite/24522
5380 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
5381 section.
5382
77e7aaa4
TV
53832019-05-07 Tom de Vries <tdevries@suse.de>
5384
5385 PR testsuite/24522
5386 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
5387 .debug_aranges section.
5388
456ba0fa
TV
53892019-05-07 Tom de Vries <tdevries@suse.de>
5390
5391 PR testsuite/24159
5392 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
5393
5a56d6a6
TV
53942019-05-06 Tom de Vries <tdevries@suse.de>
5395
5396 * lib/gdb.exp (exec_has_index_section): New proc.
5397 * gdb.base/index-cache.exp: Handle case that binfile contains an index
5398 section.
5399
9d6d4be8
TV
54002019-05-04 Tom de Vries <tdevries@suse.de>
5401
5402 * boards/cc-with-debug-names.exp: New file.
5403
222a8d25
TT
54042019-05-03 Tom Tromey <tromey@adacore.com>
5405
5406 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
5407 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
5408 * gdb.ada/char_enum.exp: Add test.
5409
0fdfd794
TV
54102019-05-03 Tom de Vries <tdevries@suse.de>
5411
5412 * boards/cc-with-gdb-index.exp: New file.
5413
80062eb9
AB
54142019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
5415
5416 * gdb.rust/simple.exp: Add new test case.
5417 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
5418 (main): Initialise an instance of the new struct.
5419
4504bbde
TT
54202019-05-01 Tom Tromey <tromey@adacore.com>
5421
5422 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
5423 record.
5424 (NPR): New variable.
5425 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
5426 test.
5427
d48e62f4
TT
54282019-05-01 Tom Tromey <tromey@adacore.com>
5429
5430 * gdb.ada/packed_array_assign.exp: Add packed assignment
5431 regression test.
5432
f59f30f5
TV
54332019-05-01 Tom de Vries <tdevries@suse.de>
5434
5435 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
5436
b70bfc54
TV
54372019-05-01 Tom de Vries <tdevries@suse.de>
5438
5439 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
5440
15f18d14
AT
54412019-04-30 Ali Tamur <tamur@google.com>
5442
5443 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
5444
2ff0a947
TT
54452019-04-30 Tom Tromey <tromey@adacore.com>
5446
5447 * lib/ada.exp (find_ada_tool): New proc.
5448 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
5449 * gdb.ada/catch_ex_std.exp: New file.
5450 * gdb.ada/catch_ex_std/foo.adb: New file.
5451 * gdb.ada/catch_ex_std/some_package.adb: New file.
5452 * gdb.ada/catch_ex_std/some_package.ads: New file.
5453
a776957c
TT
54542019-04-30 Tom Tromey <tromey@adacore.com>
5455
5456 PR c++/24470:
5457 * gdb.cp/temargs.cc: Add test code from PR.
5458
bc68014d
AB
54592019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5460
5461 * gdb.fortran/vla-datatypes.exp: Update expected results.
5462 * gdb.fortran/vla-ptype.exp: Likewise.
5463 * gdb.fortran/vla-type.exp: Likewise.
5464 * gdb.fortran/vla-value.exp: Likewise.
5465
f1fdc960
AB
54662019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5467
5468 * gdb.fortran/ptr-indentation.exp: Update expected results.
5469 * gdb.fortran/ptype-on-functions.exp: Likewise.
5470 * gdb.fortran/vla-ptr-info.exp: Likewise.
5471 * gdb.fortran/vla-value.exp: Likewise.
5472
bf7a4de1
AB
54732019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5474
5475 * gdb.fortran/ptype-on-functions.exp: New file.
5476 * gdb.fortran/ptype-on-functions.f90: New file.
5477
bbe75b9d
AB
54782019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5479
5480 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
5481 case void string.
5482
1db455a7
AB
54832019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5484
5485 * gdb.fortran/complex.exp: Expand.
5486 * gdb.fortran/complex.f: Renamed to...
5487 * gdb.fortran/complex.f90: ...this, and extended to add more
5488 complex values.
5489
b6d03bb2
AB
54902019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5491
5492 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
5493 MODULO, CMPLX.
5494
2e62ab40
AB
54952019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
5496 Richard Bunt <richard.bunt@arm.com>
5497
5498 * gdb.base/max-depth.c: New file.
5499 * gdb.base/max-depth.exp: New file.
5500 * gdb.python/py-nested-maps.c: New file.
5501 * gdb.python/py-nested-maps.exp: New file.
5502 * gdb.python/py-nested-maps.py: New file.
5503 * gdb.python/py-format-string.exp (test_max_depth): New proc.
5504 (test_all_common): Call test_max_depth.
5505 * gdb.fortran/max-depth.exp: New file.
5506 * gdb.fortran/max-depth.f90: New file.
5507 * gdb.go/max-depth.exp: New file.
5508 * gdb.go/max-depth.go: New file.
5509 * gdb.modula2/max-depth.exp: New file.
5510 * gdb.modula2/max-depth.c: New file.
5511 * lib/gdb.exp (get_print_expr_at_depths): New proc.
5512
d2b584a5
TV
55132019-04-29 Tom de Vries <tdevries@suse.de>
5514
5515 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
5516
136afab8
PW
55172019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5518
5519 * gdb.base/callexit.exp: Test may-call-functions off.
5520
725cbb63
KS
55212019-04-25 Keith Seitz <keiths@redhat.com>
5522
5523 PR c++/24367
5524 * gdb.cp/meth-typedefs.cc (incomplete_struct)
5525 (another_incomplete_struct, test_incomplete): New definitions.
5526 (main): Use new definitions.
5527 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
5528 functions.
5529
701adfb0
PA
55302019-04-25 Ali Tamur <tamur@google.com>
5531
5532 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
5533
82433e3e
SDJ
55342019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
5535
5536 PR corefiles/11608
5537 PR corefiles/18187
5538 * gdb.base/coredump-filter-build-id.exp: New file.
5539
dd06d4d6
AH
55402019-04-25 Alan Hayward <alan.hayward@arm.com>
5541
e79be6e5
SM
5542 * Makefile.in: Pass through GDBSERVER_DEBUG.
5543 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
5544 (gdbserver,debug): Add board setting.
5545 * gdb.trace/tspeed.exp: Skip when debugging.
5546 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
5547 * lib/gdbserver-support.exp: Likewise
dd06d4d6 5548
1670072e
TT
55492019-04-24 Tom Tromey <tromey@adacore.com>
5550
5551 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
5552 Rust.
5553
a59240a4
TT
55542019-04-24 Tom Tromey <tromey@adacore.com>
5555
5556 * gdb.arch/amd64-eval.exp: Test bitfield return.
5557 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
5558 (class Foo) <return_bitfields>: New method.
5559 (main): Call it.
5560
b907456c
AB
55612019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
5562
5563 * gdb.cp/many-args.cc: New file.
5564 * gdb.cp/many-args.exp: New file.
5565
5c565afd
TV
55662019-04-23 Tom de Vries <tdevries@suse.de>
5567
5568 PR gdb/24433
5569 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
5570
ba22ff86
AH
55712019-04-23 Alan Hayward <alan.hayward@arm.com>
5572
5573 * gdb.trace/backtrace.exp: Use nopie flag.
5574 * gdb.trace/circ.exp: Likewise.
5575 * gdb.trace/collection.exp: Likewise.
5576 * gdb.trace/ftrace.exp: Likewise.
5577 * gdb.trace/mi-trace-unavailable.exp: Likewise.
5578 * gdb.trace/mi-traceframe-changed.exp: Likewise.
5579 * gdb.trace/qtro.exp: Likewise.
5580 * gdb.trace/read-memory.exp: Likewise.
5581 * gdb.trace/report.exp: Likewise.
5582 * gdb.trace/tfile.exp: Likewise.
5583 * gdb.trace/tfind.exp: Likewise.
5584 * gdb.trace/unavailable.exp: Likewise.
5585
7905fc35
PA
55862019-04-22 Pedro Alves <palves@redhat.com>
5587
5588 * gdb.base/solib-probes-nosharedlibrary.c,
5589 gdb.base/solib-probes-nosharedlibrary.exp: New files.
5590
8ecb59f8
TT
55912019-04-19 Tom Tromey <tromey@adacore.com>
5592
5593 * gdb.ada/ptype_union.c: New file.
5594 * gdb.ada/ptype_union.exp: New file.
5595
62160ec9
TT
55962019-04-19 Tom Tromey <tromey@adacore.com>
5597
5598 PR symtab/24423:
5599 * gdb.base/list0.h (foo): Add a control-l character.
5600
36cd4ba5
TV
56012019-04-18 Tom de Vries <tdevries@suse.de>
5602
5603 PR gdb/24433
5604 * boards/local-board.exp: Set sysroot to "".
5605
b73715df
TV
56062019-04-18 Tom de Vries <tdevries@suse.de>
5607 Pedro Alves <palves@redhat.com>
5608
5609 PR gdb/24454
5610 * gdb.threads/vfork-follow-child-exec.c: New file.
5611 * gdb.threads/vfork-follow-child-exec.exp: New file.
5612 * gdb.threads/vfork-follow-child-exit.c: New file.
5613 * gdb.threads/vfork-follow-child-exit.exp: New file.
5614
4aa866af
LS
56152019-04-15 Leszek Swirski <leszeks@google.com>
5616
5617 * gdb.arch/amd64-eval.cc: New file.
5618 * gdb.arch/amd64-eval.exp: New file.
5619
e5a1a79a
AH
56202019-04-11 Alan Hayward <alan.hayward@arm.com>
5621
5622 * gdb.server/sysroot.c: New test.
5623 * gdb.server/sysroot.exp: New file.
5624 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
5625 matching param.
5626
41077b66
AB
56272019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
5628
5629 * gdb.base/align.exp: Extend test to cover structures containing
5630 only static fields.
5631
c30391f8
TV
56322019-04-11 Tom de Vries <tdevries@suse.de>
5633
5634 * boards/cc-with-dwz-m.exp: New file.
5635 * boards/cc-with-dwz.exp: New file.
5636 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
5637
e242fd12
SM
56382019-04-09 Simon Marchi <simon.marchi@efficios.com>
5639
5640 * gdb.base/start-cpp.exp: New file.
5641 * gdb.base/start-cpp.cc: New file.
5642
2b0c8b01
KB
56432019-04-08 Kevin Buettner <kevinb@redhat.com>
5644
5645 * gdb.python/py-thrhandle.exp: Adjust tests to call
5646 thread_from_handle instead of thread_from_thread_handle.
5647
947210e5
KB
56482019-04-08 Kevin Buettner <kevinb@redhat.com>
5649
5650 * gdb.python/py-thrhandle.exp: Add tests for
5651 gdb.InferiorThread.handle.
5652
d7df6549
AB
56532019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5654
5655 * gdb.python/py-function.exp: Check calling helper function from
5656 all languages.
5657 * lib/gdb.exp (gdb_supported_languages): New proc.
5658
8bdc1658
AB
56592019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5660
5661 * gdb.base/complex-parts.c: New file.
5662 * gdb.base/complex-parts.exp: New file.
5663
05caa1d2
TT
56642019-04-01 Tom Tromey <tromey@adacore.com>
5665
5666 PR symtab/23331:
5667 * gdb.dwarf2/dw2-ranges-main.c: New file.
5668 * gdb.dwarf2/dw2-ranges-psym.c: New file.
5669 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
5670
7734102d
EZ
56712019-03-30 Simon Marchi <simark@simark.ca>
5672
5673 * gdb.base/default.exp: Add values for $_gdb_major and
5674 $_gdb_minor.
5675
188e1fa9
TT
56762019-03-29 Tom Tromey <tromey@adacore.com>
5677
5678 * gdb.base/help.exp: Tighten apropos regexp.
5679
2880242d
KS
56802019-03-29 Keith Seitz <keiths@redhat.com>
5681
5682 * gdb.fortran/array-bounds.exp: New file.
5683 * gdb.fortran/array-bounds.f90: New file.
5684
077cad8e
PW
56852019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5686
5687 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
5688
80047cfc
PW
56892019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5690
5691 * gdb.multi/hello.c (main): Increase alarm timer.
5692
f489207e
SL
56932019-03-28 Sandra Loosemore <sandra@codesourcery.com>
5694
5695 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
5696 factor when no hardware watchpoint support.
5697
c92df149
AH
56982019-03-28 Alan Hayward <alan.hayward@arm.com>
5699 Pedro Alves <palves@redhat.com>
5700
5701 * boards/local-board.exp: set sysroot to /.
5702
933aebfa
AH
57032019-03-27 Alan Hayward <alan.hayward@arm.com>
5704
5705 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
5706 in child.
5707
9f9aa852
AB
57082019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5709
5710 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
5711 field.
5712 (make_container): Initialise new field.
5713 * gdb.python/py-prettyprint.exp: Add new tests.
5714 * gdb.python/py-prettyprint.py (class ContainerPrinter)
5715 <display_hint>: New method.
5716
3714a195
AB
57172019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5718
5719 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
5720 gdb_continue_to_breakpoint more throughout this test.
5721 (run_lang_tests) Supply unique test names, and use
5722 gdb_test_no_output.
5723
18c77628
AB
57242019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5725
5726 * gdb.base/finish-pretty.exp: Update expected results.
5727 * gdb.base/pretty-print.c: New file.
5728 * gdb.base/pretty-print.exp: New file.
5729
9a93502f
PA
57302019-03-25 Pedro Alves <palves@redhat.com>
5731
5732 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
5733 move comments outside list. Append '-i "" eof' section.
5734
968aa7ae
AH
57352019-03-22 Alan Hayward <alan.hayward@arm.com>
5736
34a7f2a4 5737 PR testsuite/25016
968aa7ae
AH
5738 * README: Add pie options.
5739 * gdb.base/break-interp.exp: Ensure pie is disabled.
5740 * gdb.base/dump.exp: Likewise.
5741 * lib/gdb.exp (gdb_compile): Add pie option.
5742
4c7d57e7
TT
57432019-03-19 Tom Tromey <tromey@adacore.com>
5744
5745 * gdb.mi/mi2-cli-display.c: New file.
5746 * gdb.mi/mi2-cli-display.exp: New file.
5747
bff8c71f
TT
57482019-03-18 Joel Brobecker <brobecker@adacore.com>
5749 Tom Tromey <tromey@adacore.com>
5750
5751 * gdb.ada/ptype_array/pck.adb: New file.
5752 * gdb.ada/ptype_array/pck.ads: New file.
5753 * gdb.ada/ptype_array/foo.adb: New file.
5754 * gdb.ada/ptype_array.exp: New file.
5755
d085f989
TT
57562019-03-14 Tom Tromey <tromey@adacore.com>
5757
5758 * gdb.base/style.exp: Add "set style sources" test.
5759
b4be1b06
SM
57602019-03-13 Simon Marchi <simon.marchi@ericsson.com>
5761
5762 * mi-breakpoint-location-ena-dis.exp: Rename to ...
5763 * mi-breakpoint-multiple-locations.exp: ... this.
5764 (make_breakpoints_pattern): New proc.
5765 (do_test): Add mi_version parameter, test -break-insert,
5766 -break-info and =breakpoint-created.
5767
7cde5fc2
AB
57682019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
5769
5770 * config/default.exp: Remove 'load_lib gdb.exp'.
5771 * config/monitor.exp: Likewise.
5772 * config/sid.exp: Likewise.
5773 * config/sim.exp: Likewise.
5774 * config/slite.exp: Likewise.
5775 * config/unix.exp: Likewise.
5776 * gdb.base/default.exp: Remove unhelpful comment.
5777
efbecbc1
AB
57782019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5779
5780 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
5781
0841c79a
AB
57822019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5783
5784 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
5785
4a270568
AB
57862019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5787
5788 * gdb.fortran/type-kinds.exp: Update expected results.
5789
067630bd
AB
57902019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5791
5792 * gdb.fortran/type-kinds.exp: Test new integer type kind.
5793
3be47f7a
AB
57942019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5795
5796 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
5797 function.
5798 (test_basic_parsing_of_type_kinds): Expand types tested.
5799 (test_parsing_invalid_type_kinds): New function.
5800
4d00f5d8
AB
58012019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5802
5803 * gdb.fortran/intrinsics.exp: New file.
5804 * gdb.fortran/intrinsics.f90: New file.
5805 * gdb.fortran/type-kinds.exp: New file.
5806
c8f91604
AB
58072019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5808
5809 * gdb.fortran/dot-ops.exp: New file.
5810
dd9f2c76
AB
58112019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5812
5813 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
5814 Check upper and lower case logical literals.
5815
84ec9724
AB
58162019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5817
5818 * gdb.fortran/types.exp (test_float_literal_types_accepted):
5819 Remove duplicate tests.
5820
c3734e09
AH
58212019-03-06 Alan Hayward <alan.hayward@arm.com>
5822
5823 * lib/gdb.exp (builtin_cd): rename of cd.
5824 (cd): Override builtin.
5825
aa3cfbda
RB
58262019-03-06 Richard Bunt <richard.bunt@arm.com>
5827
5828 * gdb.fortran/function-calls.exp: New file.
5829 * gdb.fortran/function-calls.f90: New test.
5830
7b63ad86
RB
58312019-03-04 Richard Bunt <richard.bunt@arm.com>
5832
5833 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
5834 on user program standard output.
5835 * gdb.fortran/short-circuit-argument-list.f90: Record function
5836 calls.
5837
01abb042
AH
58382019-02-28 Alan Hayward <alan.hayward@arm.com>
5839
c3734e09
AH
5840 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
5841 failure.
01abb042 5842
92137da0
RO
58432019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5844
5845 PR gdb/8527
5846 * gdb.base/interrupt-daemon-attach.c,
5847 gdb.base/interrupt-daemon-attach.exp: New test.
5848
5862844d
PA
58492019-02-27 Pedro Alves <palves@redhat.com>
5850
5851 * gdb.base/page.exp: Add tests for "set width/height -1".
5852
8ed25214
PA
58532019-02-27 Pedro Alves <palves@redhat.com>
5854
5855 * gdb.base/page.exp: Add tests for "set/show width/height" with
5856 "infinite" values.
5857
6c28e44a
TT
58582019-02-27 Tom Tromey <tromey@adacore.com>
5859
5860 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
5861 2.4.
5862 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
5863 workaround.
5864
bf9a735e
AB
58652019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
5866
5867 * gdb.base/align.exp: Extend to compile in both C and C++, and add
5868 tests for structs with static members.
5869
8791793c
TT
58702019-02-26 Tom Tromey <tromey@adacore.com>
5871
5872 * gdb.python/py-value.exp (test_value_from_buffer): Check for
5873 ValueError, not TypeError.
5874
bc2a507e
KB
58752019-02-26 Kevin Buettner <kevinb@redhat.com>
5876
5877 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
5878 call from main program.
5879
e0e7d3bd
JB
58802019-02-23 Joel Brobecker <brobecker@adacore.com>
5881
5882 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
5883 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
5884 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
5885 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
5886 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
5887
9600246d
KS
58882019-02-22 Keith Seitz <keiths@redhat.com>
5889
5890 PR symtab/23853
5891 * gdb.base/symlink-sourcefile.c: New file.
5892 * gdb.base/symlink-sourcefile.exp: New file.
5893
0c95f9ed
TT
58942019-02-20 Tom Tromey <tom@tromey.com>
5895
5896 * gdb.base/info_qt.exp: Update.
5897
6caa91b6
SM
58982019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
5899
5900 * gdb.base/source.exp: Move "error in sourced script" code to
5901 the end.
5902 * gdb.base/source-error.gdb: Move contents to
5903 source-error-1.gdb. Add new code to source source-error-1.gdb.
5904 * gdb.base/source-error-1.gdb: New file, from previous
5905 source-error.gdb.
5906
6506371f
TT
59072019-02-17 Tom Tromey <tom@tromey.com>
5908
5909 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
5910 for macro styling.
5911 * gdb.base/style.c (SOME_MACRO): New macro.
5912
a0087920
TT
59132019-02-17 Tom Tromey <tom@tromey.com>
5914
5915 * gdb.base/style.exp: Add line-wrapping tests.
5916 * gdb.base/page.exp: Add test for quitting during pagination.
5917
a2cd4f14
JB
59182019-02-17 Joel Brobecker <brobecker@adacore.com>
5919
5920 * gdb.ada/big_packed_array: New testcase.
5921 * gdb.ada/homonym.exp: Fix incorrect expected output for
5922 "break <homonym__get_value>" test.
5923
9d70ffbc
WP
59242019-02-13 Weimin Pan <weimin.pan@oracle.com>
5925
5926 PR breakpoints/21870
5927 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
5928 and prepare_for_testing. Add comment.
5929 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
5930 redundant cleanup call. Clean up comment.
5931
01c7ae81
WP
59322019-02-12 Weimin Pan <weimin.pan@oracle.com>
5933
5934 PR breakpoints/21870
5935 * gdb.arch/aarch64-dbreg-contents.exp: New file.
5936 * gdb.arch/aarch64-dbreg-contents.c: New file.
5937
aff29d1c
JB
59382019-02-10 Joel Brobecker <brobecker@adacore.com>
5939
5940 * gdb.ada/mi_ref_changeable: New testcase.
5941
df0da8a2
AH
59422019-02-07 Alan Hayward <alan.hayward@arm.com>
5943
5944 * gdb.base/attach.exp: Add double attach test.
5945
bd447abb
SM
59462019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
5947
5948 * lib/gdb.exp (default_gdb_start): Don't match pagination
5949 prompt.
5950 (gdb_init): Set stty_init.
5951
1dbc40b9
TT
59522019-01-27 Tom Tromey <tom@tromey.com>
5953
5954 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
5955 skip_python_tests.
5956
353229bf
AH
59572019-01-24 Alan Hayward <alan.hayward@arm.com>
5958
5959 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
5960 New structure.
5961 (struct struct_static_02_02): Likewise.
5962 (struct struct_static_02_03): Likewise.
5963 (struct struct_static_02_04): Likewise.
5964 (struct struct_static_04_01): Likewise.
5965 (struct struct_static_04_02): Likewise.
5966 (struct struct_static_04_03): Likewise.
5967 (struct struct_static_04_04): Likewise.
5968 (struct struct_static_06_01): Likewise.
5969 (struct struct_static_06_02): Likewise.
5970 (struct struct_static_06_03): Likewise.
5971 (struct struct_static_06_04): Likewise.
5972 (cmp_struct_static_02_01): Likewise.
5973 (cmp_struct_static_02_02): Likewise.
5974 (cmp_struct_static_02_03): Likewise.
5975 (cmp_struct_static_02_04): Likewise.
5976 (cmp_struct_static_04_01): Likewise.
5977 (cmp_struct_static_04_02): Likewise.
5978 (cmp_struct_static_04_03): Likewise.
5979 (cmp_struct_static_04_04): Likewise.
5980 (cmp_struct_static_06_01): Likewise.
5981 (cmp_struct_static_06_02): Likewise.
5982 (cmp_struct_static_06_03): Likewise.
5983 (cmp_struct_static_06_04): Likewise.
5984 (call_all): Test new structs.
5985 * gdb.base/infcall-nested-structs.exp: Likewise.
5986
73021deb
AH
59872019-01-21 Alan Hayward <alan.hayward@arm.com>
5988 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
5989
fc65c7db
AH
59902019-01-21 Alan Hayward <alan.hayward@arm.com>
5991 * gdb.base/stack-protector.c: New test.
5992 * gdb.base/stack-protector.exp: New file.
5993 * gdb.cp/ovldbreak.exp: Only allow a single break line.
5994 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
5995 option.
5996 (gdb_compile): Remove stack protector for GCC and prevent
5997 recursion.
5998
c24bdb02
KS
59992019-01-16 Keith Seitz <keiths@redhat.com>
6000
6001 PR gdb/23773
6002 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
6003
6f072a10
PFC
60042019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6005
6006 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
6007 aliases.
6008 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
6009 tests.
6010 * gdb.arch/powerpc-vector-regs.c: New file.
6011 * gdb.arch/powerpc-vector-regs.exp: New file.
6012
a7b8d682
PFC
60132019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6014
6015 * gdb.arch/altivec-regs.exp: Fix the list passed to
6016 gdb_expect_list when testing "info vector".
6017
6eb6fb67
AB
60182019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6019
6020 * gdb.base/style.exp: Don't include path in testname.
6021
b56f80d8
KS
60222019-01-10 Keith Seitz <keiths@redhat.com>
6023
6024 PR gdb/23712
6025 PR symtab/23010
6026 * gdb.dwarf2/multidictionary.exp: New file.
6027
041be526
SM
60282019-01-09 Simon Marchi <simon.marchi@ericsson.com>
6029
6030 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
6031 (test_gnuv3_style_demangling): ... this.
6032 (test_lucid_style_demangling): Remove.
6033 (test_arm_style_demangling): Remove.
6034 (test_hp_style_demangling): Remove.
6035 (do_tests): Remove calls to the above.
6036
d820d0c3
AB
60372019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6038
6039 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
6040 case.
6041
f097f5ad
TT
60422019-01-06 Tom Tromey <tom@tromey.com>
6043
6044 PR gdb/28155:
6045 * gdb.dwarf2/typedef-void-finish.exp: New file.
6046
2cd8cc0b
TT
60472018-12-28 Tom Tromey <tom@tromey.com>
6048 Simon Marchi <simark@simark.ca>
6049
6050 * gdb.base/jit-exec.exp: New file.
6051 * gdb.base/jit-exec.c: New file.
6052 * gdb.base/jit-execd.c: New file.
6053
35fb8261
TT
60542018-12-28 Tom Tromey <tom@tromey.com>
6055
6056 * gdb.base/style.exp: Update test to check for address styling.
6057
47fd17cd
TT
60582018-12-28 Tom Tromey <tom@tromey.com>
6059
6060 * gdb.base/style.exp: Add test for styling of "Reading symbols"
6061 message.
6062
d47032b7
TT
60632018-12-28 Tom Tromey <tom@tromey.com>
6064
6065 * gdb.base/style.exp: Add test for version number styling.
6066
af79b68d
TT
60672018-12-28 Tom Tromey <tom@tromey.com>
6068
6069 * gdb.base/style.exp: Add test for print_address_symbolic.
6070
0bb296cb
TT
60712018-12-28 Tom Tromey <tom@tromey.com>
6072
6073 * gdb.base/style.exp: Add test for breakpoint setting.
6074
80ae2043
TT
60752018-12-28 Tom Tromey <tom@tromey.com>
6076
6077 * gdb.base/style.exp: Add test for variable names.
6078
cbe56571
TT
60792018-12-28 Tom Tromey <tom@tromey.com>
6080
6081 * gdb.base/style.exp: New file.
6082 * gdb.base/style.c: New file.
6083
9162a27c
TT
60842018-12-28 Tom Tromey <tom@tromey.com>
6085
6086 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
6087 "dumb".
6088 * gdb.base/readline.exp (operate_and_get_next): Save and restore
6089 the TERM environment variable.
6090
bc543c90
TT
60912018-12-27 Tom Tromey <tom@tromey.com>
6092
6093 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
6094 pagination test.
6095
6f0ffe50
AB
60962018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
6097
6098 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
6099 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
6100
b5a1e557
PW
61012018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6102
6103 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
6104 Filename a.adb changed to bp_fun_addr.adb.
6105 gdb.ada/bp_fun_addr.exp: Update test accordingly.
6106
6e8b1ab2
JV
61072018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
6108
6109 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
6110 non-PIE executables.
6111 * README: Mention the gdb,nopie_flag board setting.
6112 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
6113 non-PIE executable.
6114 * gdb.arch/amd64-entry-value.exp: Likewise.
6115 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
6116 * gdb.arch/i386-float.exp: Likewise.
6117 * gdb.arch/i386-signal.exp: Likewise.
6118 * gdb.mi/mi-reg-undefined.exp: Likewise.
6119
d00a27c5
PM
61202018-12-21 Paul Marechal <paul.marechal@ericsson.com>
6121
6122 PR gdb/23974
6123 * gdb.base/info-os.exp: Check return for unknown "info os" type.
6124
161d081c
PW
61252018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6126
6127 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
6128 Update order of results accordingly.
6129
b001de23
AB
61302018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
6131
6132 * gdb.base/annota1.exp: Update a test regexp.
6133
99e1a184
AB
61342018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6135
6136 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
6137
7a81c1e2
PW
61382018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6139
6140 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
6141 (reuse_time): Initialize to REUSE_TIME_CAP.
6142 (check_rc): New function.
6143 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
6144 Check pthread_create rc.
6145 (spawner_thread_func): Check pthread_create and pthread_join rc.
6146
73e8dc90
PA
61472018-12-08 Pedro Alves <palves@redhat.com>
6148
6149 * gdb.base/list.exp (test_forward_search): Rename to ...
6150 (test_forward_reverse_search): ... this. Also test reverse-search
6151 and the forward-search alias.
6152
13f2ed32
AB
61532018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
6154
6155 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
6156 local timeout variable before return, and remove all local timeout
6157 variable entirely.
6158 (gdb_load): Likewise.
6159
64d27cfc
TV
61602018-12-01 Tom de Vries <tdevries@suse.de>
6161
6162 * gdb.base/gdb-caching-proc.exp: New file.
6163
f63c03b4
SDJ
61642018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
6165
6166 * Makefile.in (TIMESTAMP): New variable.
6167 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
6168 command.
6169 (check-single-racy): Likewise.
6170 (check/%.exp): Likewise.
6171 (check-racy/%.exp): Likewise.
6172 (workers/%.worker): Likewise.
6173 (build-perf): Likewise.
6174 (check-perf): Likewise.
6175 * README: Describe new "TS" and "TS_FORMAT" variables.
6176 * print-ts.py: New file.
6177
1c97054b
BF
61782018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
6179
6180 PR python/23714
6181 * gdb.python/python.exp: Test command repetition after
6182 gdb.execute.
6183
1871a62d
AB
61842018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
6185
6186 * gdb.opt/inline-break.exp: Add test that info breakpoint output
6187 is correctly aligned.
6188
fb5e1ed9
PW
61892018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6190
6191 * gdb.ada/info_auto_lang.exp: New testcase.
6192 * gdb.ada/info_auto_lang/global_pack.ads: New file.
6193 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
6194 * gdb.ada/info_auto_lang/some_c.c: New file.
6195
43d397ca
PW
61962018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6197
6198 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
6199 FUNC_lang language syntax.
6200
beddd671
PW
62012018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6202
6203 * gdb.base/info_minsym.c: New file.
6204 * gdb.base/info_minsym.exp: New file.
6205
73fc52c4
TT
62062018-11-19 Tom Tromey <tom@tromey.com>
6207
6208 PR rust/23625:
6209 * gdb.rust/simple.exp: Add ptype test. Update expected output.
6210 * gdb.rust/expr.exp: Update expected output. Change one test.
6211
994b876a
TT
62122018-11-19 Tom Tromey <tom@tromey.com>
6213
6214 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
6215
6769f276
PA
62162018-11-19 Pedro Alves <palves@redhat.com>
6217
6218 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
6219 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
6220 see the expected warning.
6221
38a72da0
AH
62222018-11-16 Alan Hayward <alan.hayward@arm.com>
6223
6224 PR gdb/22736:
6225 * gdb.cp/infcall-nodebug-lib.c: New test.
6226 * gdb.cp/infcall-nodebug-main.c: New test.
6227 * gdb.cp/infcall-nodebug.exp: New file.
6228
53a89d6e
SM
62292018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
6230
6231 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
6232 completer tests.
6233
9325300d
TV
62342018-11-09 Tom de Vries <tdevries@suse.de>
6235
6236 * gdb.base/msym-lang.c: New test.
6237 * gdb.base/msym-lang.exp: New file.
6238 * gdb.base/msym-lang-main.c: New test.
6239
20f0d60d
TT
62402018-11-08 Tom Tromey <tom@tromey.com>
6241
6242 PR gdb/23555:
6243 PR gdb/23838:
6244 * gdb.base/warning.exp: New file.
6245
b5420128
JB
62462018-11-08 Jan Beulich <jbeulich@suse.com>
6247
6248 * testsuite/gdb.arch/i386-avx512.c,
6249 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
6250
cd115d61
AB
62512018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
6252
6253 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
6254 point hardware.
6255
35ee2dc2
AB
62562018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
6257
6258 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
6259 * gdb.dwarf2/missing-type-name.exp: New file.
6260
31aceee8
TV
62612018-11-06 Tom de Vries <tdevries@suse.de>
6262
6263 * gdb.base/many-headers.c: New test.
6264 * gdb.base/many-headers.exp: New file.
6265
109be305
JW
62662018-11-06 Jim Wilson <jimw@sifive.com>
6267
6268 * gdb.base/code_elim.exp: For riscv, set additional_flags
6269 to include -msmall-data-limit=0.
6270
e2b7af72
JB
62712018-11-01 Joel Brobecker <brobecker@adacore.com>
6272
6273 * gdb.ada/watch_minus_l: New testcase.
6274
cdcda965
SM
62752018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
6276
6277 * gdb.arch/aix-sighandle.c: New file.
6278 * gdb.arch/aix-sighandle.exp: New file.
6279
92dcebf3
AB
62802018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6281
6282 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
6283 registers being unions.
6284
68b9ac18
TV
62852018-10-31 Tom de Vries <tdevries@suse.de>
6286
6287 * lib/valgrind.exp: New file.
6288 (vgdb_start, vgdb_stop): New procs, factored out of ...
6289 * gdb.base/valgrind-bt.exp: ... here, ...
6290 * gdb.base/valgrind-disp-step.exp: ... here and ...
6291 * gdb.base/valgrind-infcall.exp: ... here.
6292
1443936e
TV
62932018-10-31 Tom de Vries <tdevries@suse.de>
6294
6295 * lib/gdb.exp (get_valueof): Don't output read value in test name.
6296
eb77c9df
AB
62972018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6298
6299 * gdb.dwarf2/void-type.c: New file.
6300 * gdb.dwarf2/void-type.exp: New file.
6301
82b5e646
PW
63022018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6303
6304 * gdb.base/info_qt.c: New file.
6305 * gdb.base/info_qt.exp: New file.
6306
8d619c01
EBM
63072018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6308
6309 * gdb.arch/powerpc-htm-regs.c: New file.
6310 * gdb.arch/powerpc-htm-regs.exp: New file.
6311
f2cf6173
EBM
63122018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6313
6314 * gdb.arch/powerpc-tar.c: New file.
6315 * gdb.arch/powerpc-tar.exp: New file.
6316
7ca18ed6
EBM
63172018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6318
6319 * gdb.arch/powerpc-ppr-dscr.c: New file.
6320 * gdb.arch/powerpc-ppr-dscr.exp: New file.
6321
bfcc0eba
TV
63222018-10-25 Tom de Vries <tdevries@suse.de>
6323
6324 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
6325
fe1a5cad
TV
63262018-10-24 Tom de Vries <tdevries@suse.de>
6327
6328 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
6329 longer exists error.
6330
a76dc3b7
TV
63312018-10-24 Tom de Vries <tdevries@suse.de>
6332
6333 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
6334
4df46df7
TV
63352018-10-24 Tom de Vries <tdevries@suse.de>
6336
6337 * gdb.base/valgrind-db-attach.exp: Handle removed support for
6338 --db-attach in valgrind.
6339
0dbfcfff
AB
63402018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
6341
6342 * gdb.arch/riscv-reg-aliases.c: New file.
6343 * gdb.arch/riscv-reg-aliases.exp: New file.
6344
b04480b1
AH
63452018-10-19 Alan Hayward <alan.hayward@arm.com>
6346
6347 * gdb.python/py-cmd.exp: Check for gdb_prompt.
6348
2c6ac8d7
AH
63492018-10-19 Alan Hayward <alan.hayward@arm.com>
6350
6351 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
6352
2bc69f25
AH
63532018-10-19 Alan Hayward <alan.hayward@arm.com>
6354
6355 * gdb.cp/ovldbreak.exp: Fix regexps.
6356
1f1ae3a3
AH
63572018-10-19 Alan Hayward <alan.hayward@arm.com>
6358
6359 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
6360
94c18618
SDJ
63612018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
6362
6363 PR cli/23785
6364 * gdb.base/restore.exp: New test to check if "restore" with an
6365 invalid file doesn't segfault.
6366
812cd6eb
TV
63672018-10-18 Tom de Vries <tdevries@suse.de>
6368
6369 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
6370 * gdb.ada/excep_handle.exp: Same.
6371 * gdb.ada/mi_string_access.exp: Same.
6372 * gdb.ada/mi_var_union.exp: Same.
6373 * gdb.arch/arc-analyze-prologue.exp: Same.
6374 * gdb.arch/arc-decode-insn.exp: Same.
6375 * gdb.base/readnever.exp: Same.
6376 * gdb.fortran/printing-types.exp: Same.
6377 * gdb.guile/scm-lazy-string.exp: Same.
6378
c4b90788
TV
63792018-10-16 Tom de Vries <tdevries@suse.de>
6380
6381 PR gdb/23730
6382 * gdb.base/catch-follow-exec.c: Add copyright notice.
6383 * gdb.base/catch-follow-exec.exp: Rewrite to use
6384 gdb_spawn_with_cmdline_opts. Require gdb-native.
6385
8bca2978
SL
63862018-10-12 Sandra Loosemore <sandra@codesourcery.com>
6387
6388 * gdb.trace/actions-changed.exp: Check for arch support.
6389 * gdb.trace/actions.exp: Likewise.
6390 * gdb.trace/ax.exp: Likewise.
6391 * gdb.trace/backtrace.exp: Likewise.
6392 * gdb.trace/change-loc.exp: Likewise.
6393 * gdb.trace/deltrace.exp: Likewise.
6394 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
6395 * gdb.trace/ftrace.exp: Likewise.
6396 * gdb.trace/infotrace.exp: Check for arch support.
6397 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
6398 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
6399 * gdb.trace/mi-tsv-changed.exp: Likewise.
6400 * gdb.trace/packetlen.exp: Likewise.
6401 * gdb.trace/passc-dyn.exp: Likewise.
6402 * gdb.trace/passcount.exp: Likewise.
6403 * gdb.trace/pending.exp: Likewise.
6404 * gdb.trace/range-stepping.exp: Check for shlib support.
6405 * gdb.trace/report.exp: Check for arch support.
6406 * gdb.trace/save-trace.exp: Likewise.
6407 * gdb.trace/signal.exp: Check for signal support.
6408 * gdb.trace/tfind.exp: Check for arch support.
6409 * gdb.trace/trace-break.exp: Check for arch and shlib support.
6410 * gdb.trace/trace-common.h: Add comment.
6411 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
6412 * gdb.trace/trace-enable-disable.exp: Likewise.
6413 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
6414 * gdb.trace/tracecmd.exp: Check for arch support.
6415 * gdb.trace/tspeed.exp: Check for shlib and target support.
6416 * gdb.trace/tstatus.exp: Check for arch support.
6417 * gdb.trace/tsv.exp: Likewise.
6418 * gdb.trace/while-dyn.exp: Likewise.
6419 * gdb.trace/while-stepping.exp: Likewise.
6420 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
6421
f9c49bff
SM
64222018-10-12 Simon Marchi <simon.marchi@ericsson.com>
6423
6424 * gdb.trace/tspeed.exp: Remove nowarnings.
6425 (prepare_for_trace_test): Declare "global ipalib".
6426 * gdb.trace/tspeed.c: Include unistd.h.
6427 (main): Remove superfluous printf argument.
6428
d4330bde
SL
64292018-10-11 Sandra Loosemore <sandra@codesourcery.com>
6430
6431 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
6432 directory prefix on the filename.
6433
8ecfd7bd
SDJ
64342018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
6435
6436 * gdb.gdb/unittest.exp: Update expected message informing that
6437 selftests have been disabled.
6438 * gdb.server/unittest.exp: Likewise.
6439
58bbcd02
TV
64402018-10-09 Tom de Vries <tdevries@suse.de>
6441
6442 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
6443 with runto_main.
6444
9f6b697b
WP
64452018-10-08 Weimin Pan <weimin.pan@oracle.com>
6446
6447 PR c++/16841
6448 * gdb.cp/virtbase2.cc: New file.
6449 * gdb.cp/virtbase2.exp: New file.
6450
add5ded5
TT
64512018-10-06 Tom Tromey <tom@tromey.com>
6452
6453 PR python/19399:
6454 * gdb.python/py-inferior.exp: Add architecture test.
6455
f9e48344
TT
64562018-10-06 Tom Tromey <tom@tromey.com>
6457
6458 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
6459 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
6460
2a8be203
TT
64612018-10-06 Tom Tromey <tom@tromey.com>
6462
6463 * gdb.python/py-breakpoint.exp (check_last_event): Check location
6464 of a "throw" catchpoint.
6465
e04caa70
SDJ
64662018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
6467
6468 * gdb.base/info-proc.exp: Update string expected from "help info
6469 proc".
6470
5ca8c39f
TT
64712018-10-04 Tom Tromey <tom@tromey.com>
6472
6473 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
6474 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
6475 (test_initial_complaints, test_empty_complaints): Update.
6476 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6477
3453e7e4
TT
64782018-10-04 Tom Tromey <tom@tromey.com>
6479
6480 PR cli/19551:
6481 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
6482 * lib/gdb.exp (gdb_file_cmd): Update.
6483 * gdb.stabs/weird.exp (print_weird_var): Update.
6484 * gdb.server/solib-list.exp: Update.
6485 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
6486 * gdb.mi/mi-cli.exp: Update.
6487 * gdb.linespec/linespec.exp: Update.
6488 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6489 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
6490 * gdb.cp/cp-relocate.exp: Update.
6491 * gdb.base/sym-file.exp: Update.
6492 * gdb.base/relocate.exp: Update.
6493 * gdb.base/readnever.exp: Update.
6494 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6495 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
6496 * gdb.base/dbx.exp (gdb_file_cmd): Update.
6497 * gdb.base/code_elim.exp: Update.
6498 * gdb.base/break-unload-file.exp (test_break): Update.
6499 * gdb.base/break-interp.exp (test_attach_gdb): Update.
6500 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
6501 Update.
6502 * gdb.base/attach.exp (do_attach_tests): Update.
6503 * gdb.base/sepdebug.exp: Update.
6504 * gdb.python/py-section-script.exp: Update.
6505
6afcf761
TT
65062018-10-04 Tom Tromey <tom@tromey.com>
6507
6508 PR cli/22234:
6509 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
6510 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
6511 output.
6512
fef1b293
TT
65132018-10-04 Tom Tromey <tom@tromey.com>
6514
6515 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
6516 set width and height to 0.
6517 (test_command_line_attach_run): Use -quiet.
6518
ca98345e
SL
65192018-10-03 Sandra Loosemore <sandra@codesourcery.com>
6520
6521 * lib/gdb.exp (skip_ifunc_tests): New.
6522 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
6523 other compile failures.
6524 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
6525
ff34e6ae
SM
65262018-10-01 Simon Marchi <simon.marchi@ericsson.com>
6527
6528 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
6529 is_amd64_regs_target.
6530
6bb8890e
AH
65312018-10-01 Alan Hayward <alan.hayward@arm.com>
6532
6533 * gdb.arch/aarch64-sighandler-regs.c: New test.
6534 * gdb.arch/aarch64-sighandler-regs.exp: New file.
6535 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
6536
224d30d3
MM
65372018-10-01 Markus Metzger <markus.t.metzger@intel.com>
6538
6539 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
6540 assembly.
6541
f67ffa6a
AB
65422018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
6543
6544 * gdb.base/frame-selection.exp: New file.
6545 * gdb.base/frame-selection.c: New file.
6546
9fc3183f
AH
65472018-09-27 Alan Hayward <alan.hayward@arm.com>
6548
6549 * gdb.threads/check-libthread-db.c (thread_routine): Use a
6550 pthread barrier.
6551 (main): Likewise.
6552
d354055e
AB
65532018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
6554
6555 * gdb.base/large-frame-1.c: New file.
6556 * gdb.base/large-frame-2.c: New file.
6557 * gdb.base/large-frame.exp: New file.
6558 * gdb.base/large-frame.h: New file.
6559
db727370
JL
65602018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
6561
6562 PR gdb/20948
6563 * gdb.base/write_mem.exp: New test.
6564 * gdb.base/write_mem.c: Likewise.
6565
ae778caf
TT
65662018-09-23 Tom Tromey <tom@tromey.com>
6567
6568 PR python/18852:
6569 * gdb.python/py-parameter.exp: Add test for parameter that throws
6570 on "set".
6571
fd3ba736
TT
65722018-09-23 Tom Tromey <tom@tromey.com>
6573
6574 PR python/17284:
6575 * gdb.python/py-template.exp (test_template_arg): Add test for
6576 negative template argument number.
6577
39a24317
TT
65782018-09-23 Tom Tromey <tom@tromey.com>
6579
6580 PR python/14062:
6581 * gdb.python/python.exp: Add test for post_event error.
6582
f5769a2c
TT
65832018-09-23 Tom Tromey <tom@tromey.com>
6584
6585 PR python/18170:
6586 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
6587 convert pointers to int and long.
6588
1c1e54f6
TT
65892018-09-23 Tom Tromey <tom@tromey.com>
6590
6591 PR python/20126:
6592 * gdb.python/py-value.exp (test_value_numeric_ops): Add
6593 signed-ness conversion tests.
6594
fb4fa946
TT
65952018-09-23 Tom Tromey <tom@tromey.com>
6596
6597 PR python/18352;
6598 * gdb.python/py-value.exp (test_float_conversion): New proc.
6599 Use it.
6600
a466edac
HAQ
66012018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
6602
6603 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
6604
4ee9b0c5
SL
66052018-09-18 Sandra Loosemore <sandra@codesourcery.com>
6606
6607 * gdb.base/complete-empty.exp: Skip tab-completion tests if
6608 no readline.
6609 * gdb.base/utf8-identifiers.exp: Likewise.
6610 * gdb.cp/cpcompletion.exp: Likewise.
6611 * gdb.linespec/cpcompletion.exp: Likewise.
6612 * gdb.linespec/cpls-abi-tag.exp: Likewise.
6613 * gdb.linespec/cpls-ops.exp: Likewise.
6614
23be8da7
RB
66152018-09-19 Richard Bunt <richard.bunt@arm.com>
6616 Chris January <chris.january@arm.com>
6617
6618 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
6619 * gdb.fortran/short-circuit-argument-list.exp: New file.
6620 * gdb.fortran/short-circuit-argument-list.f90: New test.
6621
5031d0ae
SDJ
66222018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6623
6624 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
6625 "arch=" keyword when executing "-stack-list-frames".
6626
b4c0d1a4
SDJ
66272018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6628
6629 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
6630 "arch=" keyword when executing "-stack-list-frames".
6631
7a6d2b45
SDJ
66322018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6633
6634 * gdb.ada/complete.exp: Expect for "@" when doing "complete
6635 break ada".
6636
8588b356
SM
66372018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
6638
6639 PR python/23669
6640 * gdb.python/python.exp: Test gdb.execute("show commands").
6641
65e65158
TT
66422018-09-16 Tom Tromey <tom@tromey.com>
6643
6644 * gdb.base/new-ui.exp (do_execution_tests): Update.
6645 * gdb.base/dbx.exp (test_breakpoints): Update.
6646
bf326452
AH
66472018-09-14 Alan Hayward <alan.hayward@arm.com>
6648
6649 * lib/gdb.exp (gdb_simple_compile): Add proc.
6650 (is_elf_target): Use gdb_simple_compile.
6651 (skip_altivec_tests): Likewise.
6652 (skip_vsx_tests): Likewise.
6653 (skip_tsx_tests): Likewise.
6654 (skip_btrace_tests): Likewise.
6655 (skip_btrace_pt_tests): Likewise.
6656 (gdb_can_simple_compile): Likewise.
6657 (gdb_has_argv0): Likewise.
6658 (gdb_target_symbol_prefix): Likewise.
6659 (target_supports_scheduler_locking): Likewise.
6660
2361b0fb
TT
66612018-09-13 Tom Tromey <tom@tromey.com>
6662
6663 * Makefile.in (TAGS): Recognize proc_with_prefix and
6664 gdb_caching_proc.
6665
0ae1a321
SM
66662018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6667
6668 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
6669 method.
6670
a40bf0c2
SM
66712018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6672
6673 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
6674 and a few other Inferior properties when the Inferior is no
6675 longer valid.
6676
4a3fe98f
TT
66772018-09-13 Tom Tromey <tom@tromey.com>
6678
6679 PR rust/23650:
6680 * gdb.rust/simple.exp: Add test for enum field access error.
6681
098b2108
TT
66822018-09-13 Tom Tromey <tom@tromey.com>
6683
6684 PR rust/23626:
6685 * gdb.rust/simple.rs (EmptyEnum): New type.
6686 (main): Use it.
6687 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
6688
1256af7d
SM
66892018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6690
6691 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
6692 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
6693 * gdb.python/py-symtab.exp: Update test printing an objfile.
6694
4aa8e6c2
SM
66952018-09-12 Simon Marchi <simon.marchi@ericsson.com>
6696
6697 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
6698 object.
6699
c221b2f7
AH
67002018-09-12 Alan Hayward <alan.hayward@arm.com>
6701
6702 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
6703 (support_complex_tests): Use gdb_can_simple_compile.
6704 (is_ilp32_target): Likewise.
6705 (is_lp64_target): Likewise.
6706 (is_64_target): Likewise.
6707 (is_amd64_regs_target): Likewise.
6708 (is_aarch32_target): Likewise.
6709 (gdb_int128_helper): Likewise.
6710
6f1107b5
JK
67112018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6712
6713 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
6714
1f5d1570
JG
67152018-09-10 Jerome Guitton <guitton@adacore.com>
6716
6717 * gdb.ada/same_component_name: Add test for case of tagged record
6718 with variable-length fields.
6719
cc330e39
XR
67202018-09-10 Xavier Roirand <roirand@adacore.com>
6721
6722 * gdb.ada/access_to_unbounded_array.exp: New testcase.
6723 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
6724 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
6725 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
6726
b9c50e9a
XR
67272018-09-10 Xavier Roirand <roirand@adacore.com>
6728
6729 * gdb.ada/mi_string_access.exp: New testcase.
6730 * gdb.ada/mi_string_access/bar.adb: New file.
6731 * gdb.ada/mi_string_access/pck.adb: New file.
6732 * gdb.ada/mi_string_access/pck.asd: New file.
6733
2963898f
XR
67342018-09-10 Xavier Roirand <roirand@adacore.com>
6735
6736 * gdb.ada/mi_var_union.exp: New testcase.
6737 * gdb.ada/mi_var_union/bar.adb: New file.
6738 * gdb.ada/mi_var_union/pck.adb: New file.
6739 * gdb.ada/mi_var_union/pck.asd: New file.
6740
1aac008f
TT
67412018-09-08 Tom Tromey <tom@tromey.com>
6742
6743 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
6744
332cf4c9
TT
67452018-09-08 Tom Tromey <tom@tromey.com>
6746
6747 PR python/16047:
6748 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
6749 (register_pretty_printers): Register new printer.
6750 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
6751 test.
6752 * gdb.python/py-prettyprint.c (int_type3): New typedef.
6753 (an_int_type3): New global.
6754
424da6cf
JB
67552018-09-08 Joel Brobecker <brobecker@adacore.com>
6756
6757 * gdb.ada/expr_with_funcall: New testcase.
6758
2a62dfa9
JB
67592018-09-08 Joel Brobecker <brobecker@adacore.com>
6760
6761 * gdb.ada/packed_array_assign: New testcase.
6762
96b6697f
AB
67632018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
6764
6765 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
6766 names, and add test prefixes to make test names unique.
6767
e4a62c65
TV
67682018-09-05 Tom de Vries <tdevries@suse.de>
6769
6770 * gdb.dwarf2/varval.exp: Add test.
6771
dd083ee2
GB
67722018-09-04 Gary Benson <gbenson@redhat.com>
6773
6774 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
6775 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
6776
aef9346c
TT
67772018-08-31 Tom Tromey <tom@tromey.com>
6778
6779 * gdb.rust/simple.rs: Rename second variable "v".
6780
c67f2e15
AB
67812018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
6782
6783 * gdb.base/funcargs.c (use_a): New function.
6784 (recurse): Call use_a.
6785
078a0207
KS
67862018-08-29 Keith Seitz <keiths@redhat.com>
6787
6788 * gdb.compile/compile-cplus-anonymous.cc: New file.
6789 * gdb.compile/compile-cplus-anonymous.exp: New file.
6790 * gdb.compile/compile-cplus-array-decay.cc: New file.
6791 * gdb.compile/compile-cplus-array-decay.exp: New file.
6792 * gdb.compile/compile-cplus-inherit.cc: New file.
6793 * gdb.compile/compile-cplus-inherit.exp: New file.
6794 * gdb.compile/compile-cplus-member.cc: New file.
6795 * gdb.compile/compile-cplus-member.exp: New file.
6796 * gdb.compile/compile-cplus-method.cc: New file.
6797 * gdb.compile/compile-cplus-method.exp: New file.
6798 * gdb.compile/compile-cplus-mod.c: "New" file.
6799 * gdb.compile/compile-cplus-namespace.cc: New file.
6800 * gdb.compile/compile-cplus-namespace.exp: New file.
6801 * gdb.compile/compile-cplus-nested.cc: New file.
6802 * gdb.compile/compile-cplus-nested.exp: New file.
6803 * gdb.compile/compile-cplus-print.c: "New" file.
6804 * gdb.compile/compile-cplus-print.exp: "New" file.
6805 * gdb.compile/compile-cplus-virtual.cc: New file.
6806 * gdb.compile/compile-cplus-virtual.exp: New file.
6807 * gdb.compile/compile-cplus.c: "New" file.
6808 * gdb.compile/compile-cplus.exp: "New" file.
6809 * lib/compile-support.exp: New file.
6810
b0f492b9
GB
68112018-08-16 Gary Benson <gbenson@redhat.com>
6812
6813 PR gdb/13000:
6814 * gdb.base/batch-exit-status.exp: New file.
6815 * gdb.base/batch-exit-status.good-commands: Likewise.
6816 * gdb.base/batch-exit-status.bad-commands: Likewise.
6817
36eb4c5f
AH
68182018-08-29 Alan Hayward <alan.hayward@arm.com>
6819
6820 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
6821 (struct struct02): Likewise.
6822 (struct struct03): Likewise.
6823 (struct struct04): Likewise.
6824 (struct struct_01_01): New struct.
6825 (struct struct_01_02): Likewise.
6826 (struct struct_01_03): Likewise.
6827 (struct struct_01_04): Likewise.
6828 (struct struct_02_01): Likewise.
6829 (struct struct_02_02): Likewise.
6830 (struct struct_02_03): Likewise.
6831 (struct struct_02_04): Likewise.
6832 (struct struct_04_01): Likewise.
6833 (struct struct_04_02): Likewise.
6834 (struct struct_04_03): Likewise.
6835 (struct struct_04_04): Likewise.
6836 (struct struct_05_01): Likewise.
6837 (struct struct_05_02): Likewise.
6838 (struct struct_05_03): Likewise.
6839 (struct struct_05_04): Likewise.
6840 (cmp_struct01): Remove function.
6841 (cmp_struct02): Likewise.
6842 (cmp_struct03): Likewise.
6843 (cmp_struct04): Likewise.
6844 (cmp_struct_01_01): Add Function.
6845 (cmp_struct_01_02): Likewise.
6846 (cmp_struct_01_03): Likewise.
6847 (cmp_struct_01_04): Likewise.
6848 (cmp_struct_02_01): Likewise.
6849 (cmp_struct_02_02): Likewise.
6850 (cmp_struct_02_03): Likewise.
6851 (cmp_struct_02_04): Likewise.
6852 (cmp_struct_04_01): Likewise.
6853 (cmp_struct_04_02): Likewise.
6854 (cmp_struct_04_03): Likewise.
6855 (cmp_struct_04_04): Likewise.
6856 (cmp_struct_05_01): Likewise.
6857 (cmp_struct_05_02): Likewise.
6858 (cmp_struct_05_03): Likewise.
6859 (cmp_struct_05_04): Likewise.
6860 (call_all): Add new structs.
6861 * gdb.base/infcall-nested-structs.exp: Likewise.
6862
3bf9c013
JV
68632018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
6864
6865 * gdb.python/py-framefilter-mi.exp: Update regexp to
6866 check for "arch" field in frame output.
6867
450d1e88
KB
68682018-08-23 Kevin Buettner <kevinb@redhat.com>
6869
6870 * gdb.dwarf2/dw2-ranges-func.c: New file.
6871 * gdb.dwarf2/dw2-ranges-func.exp: New file.
6872
ae739fe7
SM
68732018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
6874
6875 * gdb.base/term.exp: Compare terminal settings with values from
6876 the inferior.
6877 * gdb.base/term.c: Get and set terminal settings.
6878
6d52907e
JV
68792018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
6880
6881 * lib/mi-support.exp (mi_expect_stop): Update regexp to
6882 accommodate new "arch" field in frame output.
6883 * gdb.mi/mi-return.exp: Likewise.
6884 * gdb.mi/mi-stack.exp: Likewise.
6885 * gdb.mi/mi-syn-frame.exp: Likewise.
6886 * gdb.mi/user-selected-context-sync.exp: Likewise.
6887
be2d111a
MS
68882018-08-19 Michael Spang <spang@google.com>
6889
6890 PR gdb/11786
6891 * gdb.base/gcore-tls-pie.c: New file.
6892 * gdb.base/gcore-tls-pie.exp: New file.
6893
ae3a7c47
KB
68942018-08-18 Kevin Buettner <kevinb@redhat.com>
6895
6896 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
6897 * gdb.dwarf2/varval.c: New file.
6898 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 6899
2ecae92e
AH
69002018-08-17 Alan Hayward <alan.hayward@arm.com>
6901
6902 PR gdb/18931
6903 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
6904
c1854f1d
KS
69052018-08-16 Keith Seitz <keiths@redhat.com>
6906
6907 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
6908 tests expected to pass.
6909
26fb3983
JV
69102018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
6911
6912 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
6913 -data-disassemble -a.
6914 (test_disassembly_bogus_args): Likewise.
6915
67943c00
AB
69162018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
6917
6918 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
6919
5ff2bbae
AB
69202018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6921
6922 * gdb.base/vla-optimized-out.exp: Add new test.
6923
e5bbcd0f
AB
69242018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6925
6926 * gdb.base/vla-optimized-out-o3.exp: Delete.
6927 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
6928 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
6929 deleted tests.
6930
9d4a934c
AB
69312018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
6932
6933 PR gdb/18050:
6934 * gdb.server/extended-remote-restart.c: New file.
6935 * gdb.server/extended-remote-restart.exp: New file.
6936
045cf012
SM
69372018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
6938
6939 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
6940 "set variable index = 42".
6941
87d6a7aa
SM
69422018-08-07 Simon Marchi <simon.marchi@ericsson.com>
6943
6944 * boards/index-cache-gdb.exp: New file.
6945 * gdb.dwarf2/index-cache.exp: New file.
6946 * gdb.dwarf2/index-cache.c: New file.
6947 * gdb.base/maint.exp: Check if we are using the index cache.
6948
96d68bd4
RO
69492018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6950
6951 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
6952 MAKEFLAGS.
6953
5a699617
RO
69542018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6955
6956 * dg-extract-results.sh: Move to toplevel contrib.
6957 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
6958 * Makefile.in (check-parallel-racy): Likewise.
6959
5bd18990
AB
69602018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
6961
6962 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
6963 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
6964 tests if the target supports scheduler locking.
6965
3fbbcf47
TV
69662018-08-04 Tom de Vries <tdevries@suse.de>
6967
6968 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
6969
3e1d3d8c
TT
69702018-08-02 Tom Tromey <tom@tromey.com>
6971
6972 PR symtab/16842.
6973 * gdb.cp/temargs.exp: Test "info address" of a template
6974 parameter.
6975
5abe0f0c
JV
69762018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
6977
6978 * gdb.python/py-mi-var-info-path-expression.c: New file.
6979 * gdb.python/py-mi-var-info-path-expression.py: New file.
6980 * gdb.python/py-mi-var-info-path-expression.exp: New file.
6981
fb66cde8
SDJ
69822018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
6983
6984 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
6985 error after "cannot resolve name" string.
6986
c708f4d2
AB
69872018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
6988
6989 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
6990 started.
6991 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
6992
37cc0cae
TV
69932018-07-28 Tom de Vries <tdevries@suse.de>
6994
6995 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
6996
63b4ecf7
TV
69972018-07-26 Tom de Vries <tdevries@suse.de>
6998
6999 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
7000
3c3bb058
AB
70012018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
7002
7003 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
7004 is visible.
7005
9e7f3bbb
TV
70062018-07-26 Tom de Vries <tdevries@suse.de>
7007
7008 PR breakpoints/23366
7009 * gdb.base/catch-follow-exec.c: New test.
7010 * gdb.base/catch-follow-exec.exp: New file.
7011
16f808ec
TV
70122018-07-25 Tom de Vries <tdevries@suse.de>
7013
7014 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
7015 vla-optimized-out.c.
7016
d7154a8d
JV
70172018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
7018
7019 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
7020 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
7021
232a0032
TV
70222018-07-20 Tom de Vries <tdevries@suse.de>
7023
7024 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
7025 NOCLONE macro.
7026 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
7027
fbb1d502
TV
70282018-07-19 Tom de Vries <tdevries@suse.de>
7029
7030 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
7031 regular expression.
7032
42dc7699
TV
70332018-07-18 Tom de Vries <tdevries@suse.de>
7034
7035 * gdb.base/vla-optimized-out.c: New test.
7036 * gdb.base/vla-optimized-out.exp: New file.
7037
7f1f7e23
SDJ
70382018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
7039
7040 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
7041 message "No address associated with hostname" when gdbserver
7042 cannot resolve the hostname.
7043
5759ebb3
PW
70442018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7045
7046 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
7047 Add some test prefixes to make tests unique.
7048
3606ccab
PW
70492018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7050
7051 * gdb.base/frameapply.c: New file.
7052 * gdb.base/frameapply.exp: New file.
7053
529c08b2
PW
70542018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7055
7056 * gdb.base/skip.exp: Update expected error message.
7057
c7ab0aef
SDJ
70582018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7059 Jan Kratochvil <jan.kratochvil@redhat.com>
7060 Paul Fertser <fercerpav@gmail.com>
7061 Tsutomu Seki <sekiriki@gmail.com>
7062
7063 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
7064 parameter.
7065 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
7066 by default.
7067 * boards/native-gdbserver.exp: Likewise.
7068 * gdb.server/run-without-local-binary.exp: Improve regexp used
7069 for detecting when a remote debugging connection succeeds.
7070 * gdb.server/server-connect.exp: New file.
7071 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
7072 Do not prefix the port number with ":".
7073 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
7074 support for detecting and using it. Add '$debughost_gdbserver'
7075 to the list of arguments used to start gdbserver. Handle case
7076 when gdbserver cannot resolve a network name.
7077
16ff70dd
SDJ
70782018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7079
7080 PR c++/23373
7081 * gdb.base/ptype-offsets.cc (struct static_member): New
7082 struct.
7083 (main) <stmember>: New variable.
7084 * gdb.base/ptype-offsets.exp: Add test for printing a struct
7085 with a static member in it.
7086
3541979f
AB
70872018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
7088
7089 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
7090 watchpoints enabled and disabled.
7091
c8ad9b9a
AB
70922018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7093
7094 * gdb.base/examine-backward.exp: Still run tests around address
7095 0x0, even if address 0x0 is not readable. Update the pattern for
7096 matching address 0x0 in expected output.
7097
e0e5e971
AB
70982018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
7099
7100 * gdb.base/share-env-with-gdbserver.c (main): Add call to
7101 malloc/free.
7102
1ea5da02
TV
71032018-07-04 Tom de Vries <tdevries@suse.de>
7104
7105 * gdb.dwarf2/dw2-error.exp: Update expected error message.
7106
471b9d15
MR
71072018-07-02 Maciej W. Rozycki <macro@mips.com>
7108
7109 PR tdep/8282
7110 * gdb.arch/mips-disassembler-options.exp: New test.
7111 * gdb.arch/mips-disassembler-options.s: New test source.
7112
75acb486
PA
71132018-06-29 Pedro Alves <palves@redhat.com>
7114
7115 * gdb.threads/names.exp: Adjust expected "info threads" output.
7116
cd2bb709
PA
71172018-06-29 Pedro Alves <palves@redhat.com>
7118
7119 * gdb.opt/inline-break.exp (line number, address): Add "info
7120 break" tests.
7121
991ff292
PA
71222018-06-29 Pedro Alves <palves@redhat.com>
7123
7124 * gdb.opt/inline-break.c (func1): Add "break here" marker.
7125 * gdb.opt/inline-break.exp: Test setting breakpoints by line
7126 number and address and running to them.
7127
356819b6 71282018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
7129
7130 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
7131
2512d7ef
JK
71322018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7133
7134 * lib/compiler.c: Remove executable permission flag.
7135
be1b6474
RB
71362018-06-28 Richard Bunt <richard.bunt@arm.com>
7137
7138 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
7139 code.
7140 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
7141
291f9a96
PT
71422018-06-28 Petr Tesarik <ptesarik@suse.cz>
7143
7144 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
7145
ed6dfe51
PT
71462018-06-28 Petr Tesarik <ptesarik@suse.cz>
7147
7148 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
7149 address argument is omitted.
7150
d4d429d5
PT
71512018-06-28 Petr Tesarik <ptesarik@suse.cz>
7152
7153 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
7154
7ab6656f
OJ
71552018-06-27 Omair Javaid <omair.javaid@linaro.org>
7156
7157 PR gdb/21695
7158 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
7159 * gdb.base/infoline-reloc-main-from-zero.c: New file.
7160
a33ccfc7
TT
71612018-06-26 Tom Tromey <tom@tromey.com>
7162
7163 PR rust/22574:
7164 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
7165 * gdb.rust/simple.rs (struct SimpleLayout): New.
7166
6d72d289
SM
71672018-06-22 Simon Marchi <simon.marchi@ericsson.com>
7168
7169 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
7170 "info registers" output.
7171
8363f9d5
RB
71722018-06-21 Richard Bunt <richard.bunt@arm.com>
7173
7174 * gdb.base/watchpoint-hw-attach.c: New test.
7175 * gdb.base/watchpoint-hw-attach.exp: New file.
7176
f00674fe
SM
71772018-06-20 Simon Marchi <simon.marchi@ericsson.com>
7178
7179 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
7180 through /bin/sh.
7181 * boards/dwarf4-gdb-index.exp: Likewise.
7182 * boards/fission-dwp.exp: Likewise.
7183
1d554008
UW
71842018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
7185
7186 * gdb.base/float128.exp: Add comment and improved fail message
7187 to the failure case of "print large128" test.
7188
d0ac1c44
SM
71892018-06-19 Simon Marchi <simon.marchi@ericsson.com>
7190
7191 * configure.ac: Remove AC_PREREQ.
7192 * configure: Re-generate.
7193
61b04dd0
PA
71942018-06-19 Pedro Alves <palves@redhat.com>
7195
7196 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
7197 (func_extern_caller): New.
7198 (main): Call func_extern_caller.
7199 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
7200 logic change.
7201
f63b508a
SM
72022018-06-18 Weimin Pan <weimin.pan@oracle.com>
7203
7204 PR gdb/16841
7205 * gdb.cp/typedef-base.cc: New file.
7206 * gdb.cp/typedef-base.exp: New file.
7207
0fe3a558
TV
72082018-06-18 Tom de Vries <tdevries@suse.de>
7209
7210 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
7211
7010835a
AB
72122018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7213 Richard Bunt <Richard.Bunt@arm.com>
7214
7215 * gdb.threads/attach-slow-waitpid.c: New file.
7216 * gdb.threads/attach-slow-waitpid.exp: New file.
7217 * gdb.threads/slow-waitpid.c: New file.
7218
14897d65
PA
72192018-06-14 Pedro Alves <palves@redhat.com>
7220
7221 * gdb.base/fork-running-state.c: Include <errno.h>.
7222 (exit_if_relative_exits): New.
7223 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
7224 exits.
7225 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
7226 child exits.
7227
5d9a0608
TV
72282018-06-14 Tom de Vries <tdevries@suse.de>
7229
7230 PR cli/22573
7231 * gdb.base/finish-pretty.c: New test.
7232 * gdb.base/finish-pretty.exp: New file.
7233
11ae5818
PA
72342018-06-14 Pedro Alves <palves@redhat.com>
7235
7236 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
7237 gdb's expected startup output.
7238
1d39de44
PA
72392018-06-14 Pedro Alves <palves@redhat.com>
7240
7241 * lib/selftest-support.exp (selftest_setup): Remove inlined
7242 function handling.
7243
70ee0000
TV
72442018-06-14 Tom de Vries <tdevries@suse.de>
7245
7246 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
7247 matching of breakpoint printing.
7248
11f4b608
TV
72492018-06-13 Tom de Vries <tdevries@suse.de>
7250
7251 PR testsuite/23269
7252 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
7253 (fork_child): ... here, and ...
7254 (fork_parent): ... here.
7255
72562018-06-12 Tom de Vries <tdevries@suse.de>
7257
7258 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
7259
9516f85a
AB
72602018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
7261 Stephen Roberts <stephen.roberts@arm.com>
7262
7263 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
7264 rewrite test to describe action performed, rather than possible
7265 failure.
7266
5045b3d7
GB
72672018-06-08 Gary Benson <gbenson@redhat.com>
7268
7269 * gdb.threads/check-libthread-db.exp: New file.
7270 * gdb.threads/check-libthread-db.c: Likewise.
7271
c61b06a1
TT
72722018-06-05 Tom Tromey <tom@tromey.com>
7273
7274 * gdb.base/default.exp: Update expected "show version" output.
7275
eb6af809
TT
72762018-06-05 Tom Tromey <tom@tromey.com>
7277
7278 PR cli/12326:
7279 * gdb.cp/static-print-quit.exp: Update.
7280 * lib/gdb.exp (pagination_prompt): Update.
7281 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
7282 * gdb.python/python.exp: Update.
7283
178d6a63
JB
72842018-06-04 Joel Brobecker <brobecker@adacore.com>
7285
7286 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
7287
8e817061
JB
72882018-06-01 Joel Brobecker <brobecker@adacore.com>
7289
7290 * gdb.ada/bp_fun_addr: New testcase.
7291
e86ca25f
TT
72922018-06-01 Tom Tromey <tom@tromey.com>
7293
7294 * gdb.xml/tdesc-regs.exp (load_description): Update expected
7295 results.
7296 * gdb.dwarf2/method-ptr.exp: Set language to C++.
7297 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
7298 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
7299 * gdb.base/maint.exp (maint_pass_if): Update.
7300
4b2dfa9d
MR
73012018-05-31 Maciej W. Rozycki <macro@mips.com>
7302
7303 * gdb.base/endian.exp: New test.
7304 * gdb.base/endian.c: New test source.
7305
45f25d6c
AB
73062018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
7307
7308 PR gdb/23203
7309 * gdb.base/bt-selected-frame.c: New file.
7310 * gdb.base/bt-selected-frame.exp: New file.
7311 * lib/gdb.exp (get_current_frame_number): New function.
7312
d9f6d7f8
MR
73132018-05-24 Maciej W. Rozycki <macro@mips.com>
7314 Pedro Alves <palves@redhat.com>
7315
7316 * gdb.threads/tls-core.c: Include <stdlib.h>
7317 (thread_proc): Call `abort'.
7318 * gdb.threads/tls-core.exp: Generate a core with core_find too.
7319 (tls_core_test): New procedure, bits factored out from ...
7320 (top level): ... here. Test both native cores and gcore cores.
7321
ff1cf532
TT
73222018-05-23 Tom Tromey <tom@tromey.com>
7323
7324 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
7325
b98664d3
TT
73262018-05-23 Tom Tromey <tom@tromey.com>
7327
7328 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
7329 symfile_complaints.
7330 (test_short_complaints): Likewise.
7331 (test_empty_complaints): Likewise.
7332 (test_initial_complaints): Update.
7333
4e9668d0
TT
73342018-05-23 Tom Tromey <tom@tromey.com>
7335
7336 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
7337
43ba33c7
TT
73382018-05-23 Tom Tromey <tom@tromey.com>
7339
7340 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
7341 (test_short_complaints): Update.
7342
035522c0
PA
73432018-05-22 Pedro Alves <palves@redhat.com>
7344
7345 * gdb.base/remote.exp: Only gdb_start after compiling the
7346 testcase. Issue "disconnect" before testing "set remote" command
7347 defaults. Issue clean_restart before running to main.
7348
cc0be08f
PA
73492018-05-22 Pedro Alves <palves@redhat.com>
7350
7351 * gdb.base/remote.exp: Adjust expected output of "show remote
7352 memory-write-packet-size". Add tests for "set remote
7353 memory-write-packet-size 0" and "set remote
7354 memory-write-packet-size fixed/limit".
7355
b1b60145
PA
73562018-05-22 Pedro Alves <palves@redhat.com>
7357
7358 PR gdb/22973
7359 * gdb.base/utf8-identifiers.c: New file.
7360 * gdb.base/utf8-identifiers.exp: New file.
7361
0ec848ad
PFC
73622018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7363
7364 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
7365
2c3305f6
PFC
73662018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7367
7368 * gdb.arch/powerpc-vsx-gcore.exp: New file.
7369
ce1e8424
TT
73702018-05-18 Tom Tromey <tom@tromey.com>
7371
7372 * gdb.base/ptype-offsets.exp: Update.
7373
ddfe970e
KS
73742018-05-17 Keith Seitz <keiths@redhat.com>
7375
7376 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
7377 in expected breakpoint stop locations.
7378 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
7379 move to proper scope to test variable values.
7380 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
7381 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
7382 New functions.
7383 (main): Call not_inline_func3.
7384 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
7385 inline_func1, inline_func2, and inline_func3. Test that when each
7386 breakpoint is hit, GDB properly reports both the stop location
7387 and the backtrace. Repeat tests for temporary breakpoints.
7388
0726fcc6
MR
73892018-05-15 Maciej W. Rozycki <macro@mips.com>
7390
7391 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
7392 rather then trying to access it in determining whether the PID
7393 of `gdbserver' could have been retrieved.
7394
8ee22052
AB
73952018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
7396
7397 * gdb.arch/amd64-init-x87-values.S: New file.
7398 * gdb.arch/amd64-init-x87-values.exp: New file.
7399
7785df48
JK
74002018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7401
7402 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
7403
56bcdbea
TT
74042018-05-04 Tom Tromey <tom@tromey.com>
7405
7406 PR python/22730:
7407 * gdb.python/python.exp: Test multi-line execute.
7408
a913fffb
TT
74092018-05-04 Tom Tromey <tom@tromey.com>
7410
7411 PR python/22731:
7412 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
7413
7a2c85f2
TT
74142018-05-04 Tom Tromey <tom@tromey.com>
7415
7416 PR gdb/11750:
7417 * gdb.base/define.exp: Test defining a user command inside a user
7418 command.
7419 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
7420
a3b60e45
JK
74212018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7422 Pedro Alves <palves@redhat.com>
7423
7424 PR breakpoints/19806 and support for PR external/20207.
7425 * gdb.base/watchpoint-unaligned.c: New file.
7426 * gdb.base/watchpoint-unaligned.exp: New file.
7427
45fe4a03
AB
74282018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7429
7430 * gdb.base/maint.exp: Make test names unique, use
7431 test_prefix_command_help to test 'help maint info', and remove
7432 repeated test of 'help maint'.
7433
9be2ae8f
TT
74342018-05-04 Tom Tromey <tom@tromey.com>
7435
7436 PR gdb/22619:
7437 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
7438 behavior.
7439
11859c31
AB
74402018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7441
7442 * gdb.base/maint.exp: Process output from 'maint print registers'
7443 line at a time.
7444
089a9490
AB
74452018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7446
7447 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
7448 timeout.
7449
9b0797e2
AB
74502018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
7451
7452 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
7453 filter pattern.
7454
f6ac5f3d
PA
74552018-05-02 Pedro Alves <palves@redhat.com>
7456
7457 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
7458 to_log_command renames.
7459 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7460
77d3c63b
TT
74612018-05-02 Tom Tromey <tom@tromey.com>
7462
7463 * gdb.python/py-parameter.exp: Set test message.
7464
0489430a
TT
74652018-05-02 Tom Tromey <tom@tromey.com>
7466
7467 PR python/20084:
7468 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
7469 PARAM_ZUINTEGER_UNLIMITED tests.
7470
1632f8ba
DR
74712018-04-28 Dan Robertson <danlrobertson89@gmail.com>
7472
7473 PR rust/23124
7474 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
7475 when casting.
7476
6d7bb824
TT
74772018-04-30 Tom Tromey <tom@tromey.com>
7478
7479 * gdb.python/py-type.exp: Check align attribute.
7480 * gdb.python/py-type.c: New "aligncheck" global.
7481
007e1530
TT
74822018-04-30 Tom Tromey <tom@tromey.com>
7483
7484 PR exp/17095:
7485 * gdb.dwarf2/dw2-align.exp: New file.
7486 * gdb.cp/align.exp: New file.
7487 * gdb.base/align.exp: New file.
7488 * lib/gdb.exp (gdb_int128_helper): New proc.
7489 (has_int128_c, has_int128_cxx): New caching procs.
7490
6873858b
TT
74912018-04-27 Tom Tromey <tom@tromey.com>
7492
7493 PR rust/22545:
7494 * gdb.rust/simple.exp: Add inclusive range tests.
7495
79188d8d
PA
74962018-04-26 Pedro Alves <palves@redhat.com>
7497
7498 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
7499 ifunc breakpoint locations correctly of ifunc breakpoints set
7500 while the program resolves the ifunc.
7501
c7075ad5
PA
75022018-04-26 Pedro Alves <palves@redhat.com>
7503
7504 * gdb.base/gnu-ifunc-final.c: New file.
7505 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
7506 * gdb.base/gnu-ifunc.exp (executable): Delete.
7507 (staticexecutable): Adjust.
7508 (lib_opts, exec_opts): Delete.
7509 (make_binsuffix, build, set-break): New procedures.
7510 (misc_tests): New, with tests factored out from the top level.
7511 (top level): Test different combinations of ifunc resolver name,
7512 resolver with and with debug info, and ifunc target with and
7513 without debug info. Wrap static tests with with_target_prefix.
7514
8388016d
PA
75152018-04-26 Pedro Alves <palves@redhat.com>
7516
7517 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
7518 return type" warnings.
7519
249b5733
PA
75202018-04-25 Pedro Alves <palves@redhat.com>
7521
7522 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
7523 killed".
7524 * gdb.base/kill-after-signal.exp: Likewise.
7525 * gdb.threads/kill.exp: Likewise.
7526
f67c0c91
SDJ
75272018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7528 Sergio Durigan Junior <sergiodj@redhat.com>
7529 Pedro Alves <palves@redhat.com>
7530
7531 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
7532 regexps to expect for '[Inferior ... detached]' as well.
7533 * gdb.base/attach.exp: Likewise.
7534 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
7535 "gdb_continue_to_end".
7536 (test_catch_syscall_with_wrong_args): Likewise.
7537 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
7538 ']'. Don't set 'verbose' on.
7539 * gdb.base/foll-vfork.exp: Likewise.
7540 * gdb.base/fork-print-inferior-events.c: New file.
7541 * gdb.base/fork-print-inferior-events.exp: New file.
7542 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
7543 '[Inferior ... has been killed]' message.
7544 * gdb.base/kill-after-signal.exp: Likewise.
7545 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
7546 detach message.
7547 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
7548 message.
7549 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
7550 regexps to expect for '[Inferior ... detached]' as well.
7551 * gdb.threads/process-dies-while-detaching.exp: Likewise.
7552
0a8ddac4
SM
75532018-04-24 Simon Marchi <simon.marchi@ericsson.com>
7554
7555 PR gdb/23104
7556 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
7557
701adfb0
PA
75582018-04-22 Rajendra SY <rajendra.sy@gmail.com>
7559
7560 PR gdb/23095
7561 * gdb.base/break-probes.exp: Pass shlib_load to
7562 prepare_for_testing. Set normal_bp to r_debug_state if target is
7563 bsd.
7564
d27d16bf
RB
75652018-04-19 Richard Bunt <richard.bunt@arm.com>
7566
7567 * gdb.threads/multiple-successive-infcall.c: New test.
7568 * gdb.threads/multiple-successive-infcall.exp: New file.
7569
a037790e
TT
75702018-04-17 Tom Tromey <tom@tromey.com>
7571
7572 * gdb.rust/simple.rs (Union): New type.
7573 (main): New local "u".
7574 * gdb.rust/simple.exp (test_one_slice): Add new test case.
7575
e3a91079
AA
75762018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7577
7578 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
7579 number information in output of "whereis" command.
7580 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
7581
b744723f
AA
75822018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7583
7584 * gdb.ada/info_types.exp: Adjust expected output to the line
7585 numbers now printed by "info var/func/type".
7586 * gdb.base/completion.exp: Likewise.
7587 * gdb.base/included.exp: Likewise.
7588 * gdb.cp/cp-relocate.exp: Likewise.
7589 * gdb.cp/cplusfuncs.exp: Likewise.
7590 * gdb.cp/namespace.exp: Likewise.
7591 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
7592
4a4495d6
MM
75932018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7594
7595 * gdb.btrace/cpu.exp: New.
7596
1d509aa6
MM
75972018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7598
7599 * gdb.base/step-indirect-call-thunk.exp: New.
7600 * gdb.base/step-indirect-call-thunk.c: New.
7601 * gdb.reverse/step-indirect-call-thunk.exp: New.
7602 * gdb.reverse/step-indirect-call-thunk.c: New.
7603
6295b6da
SM
76042018-04-11 Simon Marchi <simon.marchi@ericsson.com>
7605
7606 * gdb.base/pie-fork.c: New file.
7607 * gdb.base/pie-fork.exp: New file.
7608
50146e70
TT
76092018-04-11 Tom Tromey <tom@tromey.com>
7610
7611 * gdb.rust/simple.exp: Add test for ".." struct initializer.
7612
f50d8a2e
PA
76132018-04-10 Pedro Alves <palves@redhat.com>
7614
7615 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
7616 exits. Instead loop running forever.
7617 (fork_parent): Run forever too.
7618
a0be7a36
SM
76192018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7620
7621 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
7622 mi_continue_to_line.
7623 * gdb.mi/mi-stack.c (callee4): Add comment.
7624
9b73db36
SM
76252018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7626
7627 * gdb.mi/mi-stack.exp: Fix indentation.
7628
c912f608
SM
76292018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7630
7631 PR gdb/22979
7632 * gdb.arch/amd64-osabi.exp: New file.
7633
26540402
SM
76342018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7635
7636 PR gdb/22980
7637 * gdb.base/osabi.exp: New file.
7638
121ad66c 76392018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
7640
7641 * gdb.cp/static-typedef-print.exp: New file.
7642 * gdb.cp/static-typedef-print.cc: New file.
7643
3fcded8f
JB
76442018-03-27 Joel Brobecker <brobecker@adacore.com>
7645
7646 * gdb.ada/varsize_limit: New testcase.
7647
59cc4834
JB
76482018-03-27 Joel Brobecker <brobecker@adacore.com>
7649
7650 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
7651
7652 * gdb.ada/notcplusplus: New testcase.
7653
7654 * gdb.base/c-linkage-name.c: New file.
7655 * gdb.base/c-linkage-name.exp: New testcase.
7656
4ca59a9f
TT
76572018-03-26 Tom Tromey <tom@tromey.com>
7658
7659 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
7660 * gdb.python/py-framefilter.py (name_error): New global.
7661 (ErrorInName.function): Use name_error.
7662
978d6c75
TT
76632018-03-26 Tom Tromey <tom@tromey.com>
7664
7665 PR backtrace/15582:
7666 * gdb.python/py-framefilter.exp: Add "bt hide" test.
7667
b7fee5a3
KS
76682018-03-23 Keith Seitz <keiths@redhat.com>
7669
7670 PR c++/22968
7671 * gdb.cp/subtypes.exp: New file.
7672 * gdb.cp/subtypes.h: New file.
7673 * gdb.cp/subtypes.cc: New file.
7674 * gdb.cp/subtypes-2.cc: New file.
7675
376be529
AB
76762018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7677
7678 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
7679 (done): Call '_exit' not 'exit' to avoid atexit handlers.
7680 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
7681 -nostartfiles when compiling the test. Confirm that all registers
7682 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
7683
066cfa98
AB
76842018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7685
7686 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
7687 option, syntax was wrong anyway.
7688 * gdb.arch/arm-disp-step.exp: Likewise.
7689 * gdb.arch/sparc64-regs.exp: Likewise.
7690 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
7691 option, syntax was wrong anyway, switch to use
7692 prepare_for_testing.
7693 * gdb.arch/i386-disp-step.exp: Likewise.
7694
079670b9
AA
76952018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
7696
7697 * gdb.ada/exec_changed.exp: Replace "target_info exists
7698 use_gdb_stub" by "use_gdb_stub".
7699 * gdb.ada/start.exp: Likewise.
7700 * gdb.base/async-shell.exp: Likewise.
7701 * gdb.base/attach-pie-misread.exp: Likewise.
7702 * gdb.base/attach-wait-input.exp: Likewise.
7703 * gdb.base/break-entry.exp: Likewise.
7704 * gdb.base/break-interp.exp: Likewise.
7705 * gdb.base/dprintf-detach.exp: Likewise.
7706 * gdb.base/nostdlib.exp: Likewise.
7707 * gdb.base/solib-nodir.exp: Likewise.
7708 * gdb.base/statistics.exp: Likewise.
7709 * gdb.base/testenv.exp: Likewise.
7710 * gdb.mi/mi-exec-run.exp: Likewise.
7711 * gdb.mi/mi-start.exp: Likewise.
7712 * gdb.multi/dummy-frame-restore.exp: Likewise.
7713 * gdb.multi/multi-arch-exec.exp: Likewise.
7714 * gdb.multi/multi-arch.exp: Likewise.
7715 * gdb.multi/tids.exp: Likewise.
7716 * gdb.multi/watchpoint-multi.exp: Likewise.
7717 * gdb.python/py-events.exp: Likewise.
7718 * gdb.threads/attach-into-signal.exp: Likewise.
7719 * gdb.threads/attach-stopped.exp: Likewise.
7720 * gdb.threads/threadapply.exp: Likewise.
7721 * lib/selftest-support.exp: Likewise.
7722
26d6cec4
AA
77232018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
7724
7725 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
7726
4ee89e90
SR
77272018-03-20 Stephen Roberts <stephen.roberts@arm.com>
7728
7729 * gdb.perf/template-breakpoints.cc: New file.
7730 * gdb.perf/template-breakpoints.exp: New file.
7731 * gdb.perf/template-breakpoints.py: New file.
7732
92630041
TT
77332018-03-19 Tom Tromey <tom@tromey.com>
7734
7735 * gdb.rust/simple.rs (main): Add local variables field1, field2,
7736 y0.
7737 * gdb.rust/simple.exp: Test bare identifier form of struct
7738 initializer.
7739
76727919
TT
77402018-03-19 Tom Tromey <tom@tromey.com>
7741
7742 * gdb.gdb/observer.exp: Remove.
7743
194ed413
AA
77442018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7745
7746 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
7747 "qualified" option when setting breakpoints.
7748 * gdb.trace/backtrace.exp: Likewise.
7749 * gdb.trace/circ.exp: Likewise.
7750 * gdb.trace/collection.exp: Likewise.
7751 * gdb.trace/disconnected-tracing.exp: Likewise.
7752 * gdb.trace/ftrace-lock.exp: Likewise.
7753 * gdb.trace/ftrace.exp: Likewise.
7754 * gdb.trace/infotrace.exp: Likewise.
7755 * gdb.trace/packetlen.exp: Likewise.
7756 * gdb.trace/passc-dyn.exp: Likewise.
7757 * gdb.trace/qtro.exp: Likewise.
7758 * gdb.trace/read-memory.exp: Likewise.
7759 * gdb.trace/report.exp: Likewise.
7760 * gdb.trace/signal.exp: Likewise.
7761 * gdb.trace/status-stop.exp: Likewise.
7762 * gdb.trace/strace.exp: Likewise.
7763 * gdb.trace/tfind.exp: Likewise.
7764 * gdb.trace/trace-break.exp: Likewise.
7765 * gdb.trace/trace-condition.exp: Likewise.
7766 * gdb.trace/trace-mt.exp: Likewise.
7767 * gdb.trace/tstatus.exp: Likewise.
7768 * gdb.trace/tsv.exp: Likewise.
7769 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7770 * gdb.trace/unavailable.exp: Likewise.
7771 * gdb.trace/while-dyn.exp: Likewise.
7772
8b067d2c
AA
77732018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7774
7775 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
7776 that libinproctrace is copied to the target.
7777
3ae9ce5d
TT
77782018-03-14 Tom Tromey <tom@tromey.com>
7779
7780 PR cli/14977:
7781 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
7782 a null pointer.
7783 * gdb.base/wchar.exp: Likewise.
7784
b8c2339b
TT
77852018-03-14 Tom Tromey <tom@tromey.com>
7786
7787 PR cli/19918:
7788 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
7789 flag.
7790
4872dc46
SM
77912018-03-08 Simon Marchi <simon.marchi@ericsson.com>
7792
7793 PR gdb/22841
7794 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
7795 "target" to remote_exec.
7796
e4fe3756
SM
77972018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
7798
7799 PR gdb/22841
7800 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
7801 ${board}_upload): Remove.
7802
e95a97d4
AA
78032018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
7804
7805 * gdb.cp/watch-cp.cc: New test.
7806 * gdb.cp/watch-cp.exp: New file.
7807
dbbb1059
AB
78082018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7809
7810 * gdb.base/infcall-nested-structs.exp: New file.
7811 * gdb.base/infcall-nested-structs.c: New file.
7812 * gdb.base/float.exp: Add riscv support.
7813
ecc054c0
TP
78142018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
7815
7816 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
7817 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
7818
25e3c82c
SDJ
78192018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
7820
7821 * gdb.server/abspath.exp: New file.
7822 * lib/gdb.exp (with_cwd): New procedure.
7823
3083294d
SM
78242018-02-28 Simon Marchi <simon.marchi@ericsson.com>
7825
7826 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
7827 use it.
7828 (gdb_is_target_remote_prompt): New proc.
7829 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
7830 (gdb_is_target_native): Pass prompt parameter to
7831 gdb_is_target_1.
7832
3275ef47
SM
78332018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
7834
7835 * gdb.base/load-command.c: New file.
7836 * gdb.base/load-command.exp: New file.
7837 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
7838 (gdb_is_target_1): ...this, and generalize for other targets
7839 than just remote.
7840 (gdb_is_target_remote): Use gdb_is_target_1.
7841 (gdb_is_target_native): use gdb_is_target_1.
7842
6893c19a
TT
78432018-02-26 Tom Tromey <tom@tromey.com>
7844
7845 PR python/16497:
7846 * gdb.python/py-framefilter.exp: Update test.
7847
2ddeaf8a
TT
78482018-02-26 Tom Tromey <tom@tromey.com>
7849
7850 * gdb.dwarf2/variant.c: New file.
7851 * gdb.dwarf2/variant.exp: New file.
7852
c9317f21
TT
78532018-02-26 Tom Tromey <tom@tromey.com>
7854
7855 * gdb.rust/simple.exp: Accept more possible results in enum test.
7856
6f6d0c26
SM
78572018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
7858
7859 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
7860 parentheses.
7861
11b03145
MR
78622018-02-23 Maciej W. Rozycki <macro@mips.com>
7863
7864 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
7865 name of a variable: $actual_linejj -> $actual_line.
7866
54a27fe5
JB
78672018-02-21 John Baldwin <jhb@FreeBSD.org>
7868
7869 * gdb.arch/amd64-i386-address.exp: Fix a typo.
7870
de65820c
MM
78712018-02-20 Markus Metzger <markus.t.metzger@intel.com>
7872
7873 * gdb.btrace/buffer-size.exp: Do not force BTS.
7874
980548fd
PA
78752018-02-14 Pedro Alves <palves@redhat.com>
7876
7877 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
7878 getting a "Quit".
7879
c4e12631
MM
78802018-02-09 Markus Metzger <markus.t.metzger@intel.com>
7881
7882 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
7883 Fix test name.
7884
c2e0e465
SM
78852018-02-07 Simon Marchi <simon.marchi@ericsson.com>
7886
7887 * gdb.cp/m-static.exp: Check type of optimized out static
7888 member.
7889
f7216783
AB
78902018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
7891
7892 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
7893 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
7894
0625771b
LS
78952018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
7896 Leszek Swirski <leszeks@google.com>
7897
7898 * gdb.python/py-prettyprint.c
7899 (struct to_string_returns_value_inner,
7900 struct to_string_returns_value_wrapper): New.
7901 (main): Add tsrvw variable.
7902 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
7903 ToStringReturnsValueWrapper): New classes.
7904 (register_pretty_printers): Register new pretty-printers.
7905 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
7906 recursive pretty printer.
7907 * gdb.python/py-mi.exp: Likewise.
7908
59498c30
LS
79092018-02-01 Leszek Swirski <leszeks@google.com>
7910
7911 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
7912 functions with the same name as an include file are parsed
7913 correctly.
7914
d4d38844
YQ
79152018-02-01 Yao Qi <yao.qi@linaro.org>
7916
7917 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
7918 "\[^\r\n\]*".
7919
07e5f5cf
NP
79202018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
7921
7922 * gdb.arch/powerpc-prologue-frame.s: New file.
7923 * gdb.arch/powerpc-prologue-frame.c: Likewise.
7924 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
7925
929b5ad4
JB
79262018-01-31 Joel Brobecker <brobecker@adacore.com>
7927
7928 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
7929
e671cd59
PA
79302018-01-30 Pedro Alves <palves@redhat.com>
7931
7932 PR gdb/13211
7933 * gdb.base/interrupt-daemon.c: New.
7934 * gdb.base/interrupt-daemon.exp: New.
7935 * gdb.multi/multi-term-settings.c: New.
7936 * gdb.multi/multi-term-settings.exp: New.
7937
fc413dc4
JB
79382018-01-30 Joel Brobecker <brobecker@adacore.com>
7939
7940 * gdb.base/break.exp: Save the location where the breakpoint
7941 on break.c:47 was actually inserted when debugging the version
7942 compiled at -O2 and use it in the expected output of the "info
7943 break" test performed soon after.
7944
5c319bb2
PA
79452018-01-22 Pedro Alves <palves@redhat.com>
7946 Sergio Durigan Junior <sergiodj@redhat.com>
7947
7948 * gdb.base/whatis.exp: Add tests for 'set print object on' +
7949 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
7950
a9e40818
JB
79512018-01-22 Joel Brobecker <brobecker@adacore.com>
7952
7953 * gdb.base/break-include.c, gdb.base/break-include.inc,
7954 gdb.base/break-include.exp: New files.
7955 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
7956 line number now being the actual line number where the breakpoint
7957 was inserted.
7958 * gdb.mi/mi-break.exp: Likewise.
7959 * gdb.mi/mi-reverse.exp: Likewise.
7960 * gdb.mi/mi-simplerun.exp: Ditto.
7961
e707fc44
AB
79622018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7963
7964 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
7965 varobj.
7966 * gdb.mi/mi-var-create-rtti.exp: Likewise.
7967
ae451627
AB
79682018-01-21 Don Breazeal <donb@codesourcery.com>
7969 Andrew Burgess <andrew.burgess@embecosm.com>
7970
7971 * gdb.mi/basics.c: Add new global.
7972 * gdb.mi/mi-frame-regs.exp: New file.
7973 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
7974 case.
7975
b1b189e0
AB
79762018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7977
7978 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
7979 non-parameter, and on an unknown symbol.
7980
fcfcc376
TT
79812018-01-19 Tom Tromey <tom@tromey.com>
7982
7983 * gdb.rust/modules.rs (TWENTY_THREE): New global.
7984 * gdb.rust/modules.exp: Add ::-qualified lookup test.
7985
634c1c31
AA
79862018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7987
7988 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
7989 setrlimit and chdir to int.
7990
d6ad07fd
AA
79912018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7992
7993 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
7994 function.
7995 (my_tend): Likewise.
7996 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
7997 rationale of avoiding FP- and vector instructions.
7998
adf8243b
RK
79992018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
8000
8001 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
8002 "info reg" with "\[ \t\]*".
8003 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
8004 "\[ \t\]+".
8005 * gdb.arch/s390-multiarch.exp: Ditto.
8006 * gdb.base/pc-fp.exp: Ditto.
8007 * gdb.reverse/i386-precsave.exp: Ditto.
8008 * gdb.reverse/i386-reverse.exp: Ditto.
8009 * gdb.reverse/i387-env-reverse.exp: Ditto.
8010 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8011
dcc06925
AA
80122018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8013
8014 * lib/gdb.exp (gdb_compile): Re-enable use of
8015 universal_compile_options for languages other than Rust.
8016
25d4fd80
AA
80172018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8018
8019 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
8020
ee7f689e 80212018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
8022
8023 PR gdb/16577
8024 * gdb.base/solib-vanish.exp: New.
8025 * gdb.base/solib-vanish-main.c: New.
8026 * gdb.base/solib-vanish-lib1.c: New.
8027 * gdb.base/solib-vanish-lib2.c: New.
8028
d8447b6b
YQ
80292018-01-17 Yao Qi <yao.qi@linaro.org>
8030
8031 * gdb.compile/compile.exp: Match the address printed for
8032 frame in the output of command "bt".
8033
86d6a90c
TT
80342018-01-15 Tom Tromey <tom@tromey.com>
8035
8036 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
8037 compute sp_reg.
8038
cbcdb1aa
AB
80392018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8040
8041 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
8042 to prepare.
8043 (prepare): Return 0 on error, 1 on success.
8044
eea61984
PA
80452018-01-12 Pedro Alves <palves@redhat.com>
8046
8047 * gdb.base/continue-after-aborted-step-over.c: New.
8048 * gdb.base/continue-after-aborted-step-over.exp: New.
8049
6181e9c2
SM
80502018-01-11 Simon Marchi <simon.marchi@ericsson.com>
8051
8052 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
8053 options when not creating an executable.
8054
3cada740
PA
80552018-01-11 Pedro Alves <palves@redhat.com>
8056
8057 PR remote/22597
8058 * gdb.server/stop-reply-no-thread.c: New file.
8059 * gdb.server/stop-reply-no-thread.exp: New file.
8060
c63d3e8d
PA
80612018-01-10 Pedro Alves <palves@redhat.com>
8062
8063 PR gdb/22670
8064 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
8065 functions too. Test setting breakpoints and printing C functions
8066 with no debug info too.
8067 * gdb.ada/bp_c_mixed_case/qux.c: New file.
8068
d4c2a405
PA
80692018-01-10 Pedro Alves <palves@redhat.com>
8070
8071 PR gdb/22670
8072 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
8073 a fail.
8074
8825213e
PA
80752018-01-10 Pedro Alves <palves@redhat.com>
8076
8077 PR gdb/22670
8078 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
8079
605fd3c6
YQ
80802018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8081
8082 * gdb.server/unittest.exp: Match the output in non-development
8083 mode.
8084
1e5ded6c
YQ
80852018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8086
8087 * gdb.gdb/unittest.exp: Match output in non-development mode.
8088
30066b0b
JB
80892018-01-08 Joel Brobecker <brobecker@adacore.com>
8090
8091 * gdb.ada/access_tagged_param.exp: Relax expected output
8092 for value of "ObjL" in "continue" to pck.inspect breakpoint
8093 test.
8094
04bafb1e
XR
80952018-01-08 Joel Brobecker <brobecker@adacore.com>
8096
9f86398b
JB
8097 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
8098 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 8099
e379cee6
PA
81002018-01-05 Pedro Alves <palves@redhat.com>
8101
8102 PR gdb/18653
8103 * gdb.base/libsegfault.exp: New.
8104
de63c46b
PA
81052018-01-05 Joel Brobecker <brobecker@adacore.com>
8106
8107 PR gdb/22670
8108 * gdb.ada/access_tagged_param.exp: New file.
8109 * gdb.ada/access_tagged_param/foo.adb: New file.
8110
f98fc17b
PA
81112018-01-05 Pedro Alves <palves@redhat.com>
8112
8113 PR gdb/22670
8114 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
8115 exercise lower case too, and to exercise both full matching and
8116 wild matching.
8117
342f8240
JB
81182018-01-05 Joel Brobecker <brobecker@adacore.com>
8119
8120 * gdb.ada/rename_subscript_param: New testcase.
8121
7150d33c
JG
81222018-01-05 Jerome Guitton <guitton@adacore.com>
8123
8124 * gdb.ada/arr_acc_idx_w_gap: New testcase.
8125
cc0e770c
JB
81262018-01-05 Joel Brobecker <brobecker@adacore.com>
8127
8128 * gdb.ada/convvar_comp: New testcase.
8129
672a41aa 81302018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
8131
8132 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
8133 (My_Table): New global variable.
8134 * testsuite/gdb.ada/array_char_idx.exp: Add test.
8135
7365ec2f
JB
81362018-01-04 Joel Brobecker <brobecker@adacore.com>
8137
8138 PR gdb/22670
8139 * gdb.ada/maint_with_ada: New testcase.
8140
289483b6
JB
81412018-01-04 Joel Brobecker <brobecker@adacore.com>
8142
8143 PR gdb/22670
8144 * gdb.ada/bp_c_mixed_case: New testcase.
8145
344420da
JB
81462018-01-04 Joel Brobecker <brobecker@adacore.com>
8147
8148 PR gdb/22670
8149 * gdb.ada/complete.exp: Add "complete break ada" test.
8150
66fc87a0
JB
81512018-01-04 Joel Brobecker <brobecker@adacore.com>
8152
8153 PR gdb/22670
8154 * gdb.ada/info_addr_mixed_case: New testcase.
8155
9f757bf7
XR
81562018-01-03 Xavier Roirand <roirand@adacore.com>
8157
8158 * gdb.ada/excep_handle.exp: New testcase.
8159 * gdb.ada/excep_handle/foo.adb: New file.
8160 * gdb.ada/excep_handle/pck.ads: New file.
8161
bd570f80
JB
81622018-01-03 Joel Brobecker <brobecker@adacore.com>
8163
8164 * gdb.base/step-line.c: Add extra empty line in copyright header.
8165 * gdb.base/step-line.inp: Likewise.
8166
9fe561ab
JB
81672018-01-02 Joel Brobecker <brobecker@adacore.com>
8168
8169 * gdb.ada/dyn_stride.exp: Add slice test.
8170
a405673c
JB
81712018-01-02 Joel Brobecker <brobecker@adacore.com>
8172
8173 * gdb.ada/dyn_stride: New testcase.
8174
cef0f868
SH
81752017-12-27 Stafford Horne <shorne@gmail.com>
8176
8177 * gdb.xml/extra-regs.xml: Add example foo reggroup.
8178 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
8179
b67d92b0
SH
81802017-12-27 Stafford Horne <shorne@gmail.com>
8181
8182 * gdb.base/reggroups.c: New file.
8183 * gdb.base/reggroups.exp: New file.
8184
eccab96d
JB
81852017-12-18 Joel Brobecker <brobecker@adacore.com>
8186
8187 * gdb.dwarf2/ada-valprint-error.c: New file.
8188 * gdb.dwarf2/ada-valprint-error.exp: New file.
8189
0e2da9f0
JB
81902017-12-18 Joel Brobecker <brobecker@adacore.com>
8191
8192 * gdb.ada/assign_arr: New testcase.
8193
cb923fcc
XR
81942017-12-18 Xavier Roirand <roirand@adacore.com>
8195
8196 * gdb.ada/funcall_ptr: New testcase.
8197
7c161838
SDJ
81982017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8199
8200 PR cli/16224
8201 * gdb.base/ptype-offsets.cc: New file.
8202 * gdb.base/ptype-offsets.exp: New file.
8203
1af17fd9
YQ
82042017-12-15 Yao Qi <yao.qi@linaro.org>
8205
8206 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
8207 if XML is disabled.
8208
828d5846
XR
82092017-12-15 Xavier Roirand <roirand@adacore.com>
8210
8211 * gdb.ada/same_component_name: New testcase.
8212
79e8fcaa
JB
82132017-12-14 Joel Brobecker <brobecker@adacore.com>
8214
8215 * gdb.ada/str_binop_equal: New testcase.
8216
e05fa6f9
JB
82172017-12-14 Joel Brobecker <brobecker@adacore.com>
8218
8219 * gdb.ada/task_switch_in_core: New testcase.
8220
b89641ba
SM
82212017-12-13 Simon Marchi <simon.marchi@ericsson.com>
8222
8223 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
8224 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
8225 call test_bkpt_qualified.
8226 (test_bkpt_qualified): New proc.
8227
6892d2e4
PA
82282017-12-13 Pedro Alves <palves@redhat.com>
8229
8230 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8231 Tighten regexp by matching with an anchor.
8232
a22ecf70
PA
82332017-12-13 Pedro Alves <palves@redhat.com>
8234
8235 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
8236 ("expression with namespace"): New set of tests.
8237 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
8238 (Nested::Test_NS::qux): New.
8239 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
8240 defaults to 'start_quote_char' and 'end_quote_char' parameters.
8241
9937536c
JB
82422017-12-13 Joel Brobecker <brobecker@adacore.com>
8243
8244 * gdb.base/server-del-break.c: New file.
8245 * gdb.base/server-del-break.exp: New file.
8246
fe49c6f5
SH
82472017-12-12 Stafford Horne <shorne@gmail.com>
8248
8249 * gdb.xml/tdesc-regs.exp: Add or1k support.
8250
c3d18620
SH
82512017-12-12 Stafford Horne <shorne@gmail.com>
8252
8253 * gdb.base/bp-permanent.c: Define nop of or1k.
8254
c5f9cfc8
JB
82552017-12-11 Joel Brobecker <brobecker@adacore.com>
8256
8257 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
8258 output with components being reordered.
8259
a9c135fc
JB
82602017-12-11 Joel Brobecker <brobecker@adacore.com>
8261
8262 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
8263 output with components being reordered.
8264
927aa2e7
JK
82652017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8266 Pedro Alves <palves@redhat.com>
8267
8268 * gdb.base/maint.exp (check for .gdb_index): Check also for
8269 .debug_names.
8270 * gdb.dlang/watch-loc.c (.debug_aranges): New.
8271 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
8272 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
8273 (.gdb_index used after symbol reloading): Support also .debug_names.
8274 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
8275
f17d9474
YQ
82762017-12-08 Yao Qi <yao.qi@linaro.org>
8277
8278 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8279 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
8280
a0de8c21
YQ
82812017-12-08 Yao Qi <yao.qi@linaro.org>
8282
8283 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8284 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
8285
a738ea1d
YQ
82862017-12-08 Yao Qi <yao.qi@linaro.org>
8287
8288 * gdb.arch/aarch64-tagged-pointer.c: New file.
8289 * gdb.arch/aarch64-tagged-pointer.exp: New file.
8290
1cd9a73b
SDJ
82912017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
8292
8293 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
8294 "int".
8295
fa6eb693
KS
82962017-12-07 Keith Seitz <keiths@redhat.com>
8297
8298 PR breakpoints/22569
8299 * gdb.linespec/ls-errs.exp: Change expected result of "break
8300 -source this file has spaces.c -line 3".
8301 Check that an explicit source file followed by whitespace is
8302 identified as an invalid explicit location.
8303
883fd55a
KS
83042017-12-07 Keith Seitz <keiths@redhat.com>
8305
8306 * gdb.cp/nested-types.cc: New file.
8307 * gdb.cp/nested-types.exp: New file.
8308 * lib/cp-support.exp: Load data-structures.exp library.
8309 (debug_cp_test_ptype_class): New global.
8310 (cp_ptype_class_verbose, next_line): New procedures.
8311 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
8312 Add and document new return value.
8313 Switch the list of lines to a queue.
8314 Add support for new `type' key for nested type definitions.
8315 Add debugging/troubleshooting messages.
8316 * lib/data-structures.exp: New file.
8317
ec72db3e
SM
83182017-12-07 Simon Marchi <simon.marchi@ericsson.com>
8319
8320 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
8321 with proc_with_prefix, don't use with_test_prefix.
8322
99598d71
TT
83232017-12-07 Tom Tromey <tom@tromey.com>
8324
8325 * gdb.base/break.exp: Add test for empty "commands".
8326
a8806230
YQ
83272017-12-07 Yao Qi <yao.qi@linaro.org>
8328
8329 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
8330 malloc and catch syscall.
8331
824cc835
PM
83322017-12-07 Phil Muldoon <pmuldoon@redhat.com>
8333
e79be6e5 8334 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
8335 tests for explicit locations.
8336
7cc244de
PA
83372017-12-06 Pedro Alves <palves@redhat.com>
8338
8339 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
8340 force-disabling XML descriptions.
8341
50a1fdd5
PA
83422017-12-04 Pedro Alves <palves@redhat.com>
8343
8344 PR gdb/22499
8345 * gdb.arch/amd64-disp-step-avx.S: New file.
8346 * gdb.arch/amd64-disp-step-avx.exp: New file.
8347
f0fb2488
PA
83482017-12-03 Pedro Alves <palves@redhat.com>
8349
8350 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
8351 and <string.h>.
8352 (parent_function): Print distinct messages when waitpid fails, or
8353 the child exits with a signal, or the child exits for an unhandled
8354 reason.
8355 * gdb.threads/process-dies-while-detaching.exp
8356 (detach_and_expect_exit): New 'inf_output_re' parameter and use
8357 it. Wait for both inferior output and GDB's prompt. Use an
8358 indirect spawn id list.
8359 (do_detach): New parameter 'child_exit'. Use it to compute
8360 expected inferior output.
8361 (test_detach, test_detach_watch, test_detach_killed_outside):
8362 Adjust to pass down the expected child exit kind.
8363
97cbe998
SDJ
83642017-12-01 Joel Brobecker <brobecker@adacore.com>
8365 Sergio Durigan Junior <sergiodj@redhat.com>
8366 Pedro Alves <palves@redhat.com>
8367
8368 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
8369
40fc416f
SDJ
83702017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
8371
8372 * gdb.base/relocate.exp: Add tests to guarantee that arguments
8373 to 'symbol-file' and 'add-symbol-file' can be
8374 position-independent.
8375
1cc75e92
YQ
83762017-12-01 Yao Qi <yao.qi@linaro.org>
8377
8378 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
8379 the URL in copyright header.
8380 * gdb.arch/aarch64-fp.exp: Likewise.
8381 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
8382 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
8383 * gdb.base/expand-psymtabs.exp: Likewise.
8384 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
8385 * gdb.fortran/common-block.exp: Likewise.
8386 * gdb.fortran/common-block.f90: Likewise.
8387 * gdb.fortran/logical.exp: Likewise.
8388 * gdb.fortran/vla-datatypes.f90: Likewise.
8389 * gdb.fortran/vla-sub.f90: Likewise.
8390
875fb7a7
JB
83912017-11-30 Joel Brobecker <brobecker@adacore.com>
8392
8393 * gdb.ada/repeat_dyn: New testcase.
8394
6f14765f
UW
83952017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8396
8397 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
8398 Update for changed thread numbering.
8399 * gdb.cell/bt.exp: Update for changed GDB output.
8400
f1af7b94
SM
84012017-11-30 Simon Marchi <simon.marchi@ericsson.com>
8402
8403 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
8404 setting isremote by hand.
8405 * boards/dwarf4-gdb-index.exp: Likewise.
8406 * boards/fission.exp: Likewise.
8407 * boards/stabs.exp: Likewise.
8408
e3919f3e
PA
84092017-11-30 Pedro Alves <palves@redhat.com>
8410
8411 * gdb.linespec/cpls-ops.exp
8412 (check_explicit_skips_function_argument): Extract the underlying
8413 type of size_t instead of hardcoding it.
8414
bd69330d
PA
84152017-11-29 Pedro Alves <palves@redhat.com>
8416
8417 PR c++/19436
8418 * gdb.linespec/cpls-abi-tag.cc: New file.
8419 * gdb.linespec/cpls-abi-tag.exp: New file.
8420
a20714ff
PA
84212017-11-29 Pedro Alves <palves@redhat.com>
8422
8423 * gdb.base/langs.exp: Use -qualified.
8424 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
8425 it.
8426 * gdb.cp/namespace.exp: Use -qualified.
8427 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
8428 (overload-3, template-overload, template-ret-type, const-overload)
8429 (const-overload-quoted, anon-ns, ambiguous-prefix): New
8430 procedures.
8431 (test_driver): Call them.
8432 * gdb.cp/save-bp-qualified.cc: New.
8433 * gdb.cp/save-bp-qualified.exp: New.
8434 * gdb.linespec/explicit.exp: Test -qualified.
8435 * lib/completion-support.exp (completion::explicit_opts_list): Add
8436 "-qualified".
8437 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
8438
f6f1d339
PM
84392017-11-29 Phil Muldoon <pmuldoon@redhat.com>
8440
8441 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
8442
02ca603a
TT
84432017-11-29 Tom Tromey <tom@tromey.com>
8444
8445 * gdb.base/relocate.exp: Update invalid argument test.
8446 Add new tests for invalid arguments.
8447
ed6c0bfb
TP
84482017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8449
8450 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
8451 Return 0 as a long.
8452 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
8453
f106e10e
TP
84542017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8455
8456 * gdb.cp/breakpoint.cc (bar): Set return type to void.
8457 * gdb.cp/psymtab-parameter.cc (func): Likewise.
8458 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
8459 func ().
8460 * gdb.cp/shadow.cc (B.func): Return 0.
8461
10329bb2
JB
84622017-11-27 Joel Brobecker <brobecker@adacore.com>
8463
8464 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
8465 expected output in gdb_expect call to allow the exception
8466 message to be present as well. Fix syntax confusion to avoid
8467 TCL thinking that exception_name is an array.
8468
617cd4bc
UW
84692017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
8470
8471 * gdb.arch/spu-info.c: Include <unistd.h>.
8472 (do_signal_test): Fix broken calls to write.
8473 * gdb.arch/spu-info.exp: Use prepare_for_testing.
8474 Fix checks for empty mailboxes. Update signal tests for corrected
8475 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
8476 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
8477 * gdb.cell/arch.exp: Use standard_output_file.
8478 * gdb.cell/break.exp: Likewise.
8479 * gdb.cell/bt.exp: Likewise.
8480 * gdb.cell/core.exp: Likewise.
8481 * gdb.cell/dwarfaddr.exp: Likewise.
8482 * gdb.cell/ea-cache.exp: Likewise.
8483 * gdb.cell/ea-standalone.exp: Likewise.
8484 * gdb.cell/f-regs.exp: Likewise.
8485 * gdb.cell/fork.exp: Likewise.
8486 * gdb.cell/gcore.exp: Likewise.
8487 * gdb.cell/mem-access.exp: Likewise.
8488 * gdb.cell/ptype.exp: Likewise.
8489 * gdb.cell/registers.exp: Likewise.
8490 * gdb.cell/sizeof.exp: Likewise.
8491 * gdb.cell/solib-symbol.exp: Likewise.
8492 * gdb.cell/solib.exp: Likewise.
617cd4bc 8493
a81aaca0
PA
84942017-11-25 Pedro Alves <palves@redhat.com>
8495
8496 * gdb.base/complete-empty.exp: New file.
8497 * gdb.base/completion.exp: Adjust.
8498
6a3c6ee4
PA
84992017-11-25 Pedro Alves <palves@redhat.com>
8500
8501 * gdb.linespec/cpls-ops.cc: New file.
8502 * gdb.linespec/cpls-ops.exp: New file.
8503 * lib/completion-support.exp (test_complete_prefix_range_re): New,
8504 factored out from ...
8505 (test_complete_prefix_range): ... this.
8506
8955eb2d
PA
85072017-11-24 Pedro Alves <palves@redhat.com>
8508
8509 * gdb.linespec/cpcompletion.exp: New file.
8510 * gdb.linespec/cpls-hyphen.cc: New file.
8511 * gdb.linespec/cpls.cc: New file.
8512 * gdb.linespec/cpls2.cc: New file.
8513 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
8514 test to use test_gdb_complete_unique. Add label completion,
8515 keyword completion and explicit location completion tests.
8516 * lib/completion-support.exp: New file.
8517
e547c119
JB
85182017-11-24 Joel Brobecker <brobecker@adacore.com>
8519
8520 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
8521 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
8522 when hitting an exception catchpoint.
8523
7c3c1aa8
YQ
85242017-11-22 Yao Qi <yao.qi@linaro.org>
8525
8526 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
8527
41bd68f5
SM
85282017-11-22 Simon Marchi <simon.marchi@ericsson.com>
8529
8530 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
8531 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
8532 * gdb.dwarf2/info-locals-optimized-out.c: New file.
8533
1daad298
YQ
85342017-11-22 Yao Qi <yao.qi@linaro.org>
8535
8536 * gdb.base/info-os.exp: Pass pthreads.
8537 * gdb.multi/multi-attach.exp: Likewise.
8538
88465e87
YQ
85392017-11-22 Yao Qi <yao.qi@linaro.org>
8540
8541 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
8542 compiler.
8543
dc196b23
YQ
85442017-11-22 Yao Qi <yao.qi@linaro.org>
8545
8546 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
8547 * gdb.base/break-interp.exp: Likewise.
8548 * gdb.base/jit-attach-pie.exp: Likewise.
8549
2400729e
UW
85502017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8551
8552 * gdb.base/float128.c (large128): New variable.
8553 * gdb.base/float128.exp: Add test to print largest __float128 value.
8554
7a26362d
UW
85552017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8556
8557 * gdb.arch/vsx-regs.exp: Update register content checks.
8558
ed0f4273
UW
85592017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
8560
8561 * gdb.arch/ppc-longdouble.exp: New file.
8562 * gdb.arch/ppc-longdouble.c: Likewise.
8563
a25d69c6
PA
85642017-11-21 Pedro Alves <palves@redhat.com>
8565
8566 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
8567
73fcf641
PA
85682017-11-20 Pedro Alves <palves@redhat.com>
8569
8570 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
8571 (long_double_typedef): New typedefs.
8572 Use DEF on double and long double.
8573 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
8574 cases.
8575 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
8576 and 'long_double_ptr_same_size' locals. Use them to decide
8577 whether cast from array/function to float is valid/invalid.
8578
71a3c369
TT
85792017-11-17 Tom Tromey <tom@tromey.com>
8580
8581 * gdb.rust/traits.rs: New file.
8582 * gdb.rust/traits.exp: New file.
8583
ced9779b
JB
85842017-11-17 Joel Brobecker <brobecker@adacore.com>
8585
8586 * gdb.ada/minsyms: New testcase.
8587
a0922d80
PA
85882017-11-16 Pedro Alves <palves@redhat.com>
8589
8590 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
8591 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
8592
ea04e54c
PA
85932017-11-16 Pedro Alves <palves@redhat.com>
8594
8595 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
8596 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
8597
e849ea89
PA
85982017-11-16 Pedro Alves <palves@redhat.com>
8599
8600 * gdb.server/reconnect-ctrl-c.c: New file.
8601 * gdb.server/reconnect-ctrl-c.exp: New file.
8602
d8ae99a7
PM
86032017-11-16 Phil Muldoon <pmuldoon@redhat.com>
8604
8605 * gdb.python/py-rbreak.exp: New file.
8606 * gdb.python/py-rbreak.c: New file.
8607 * gdb.python/py-rbreak-func2.c: New file.
8608
968a13f8
PA
86092017-11-16 Pedro Alves <palves@redhat.com>
8610
8611 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
8612 pattern.
8613 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
8614 GDB.
8615
71774bc9
SM
86162017-11-15 Simon Marchi <simon.marchi@ericsson.com>
8617
8618 * gdb.tui/completionn.exp (test_tab_completion): Add space in
8619 regex.
8620
ddbb44cf
SM
86212017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
8622
8623 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
8624 test names.
8625
584a564f
PA
86262017-11-09 Pedro Alves <palves@redhat.com>
8627
8628 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
8629 factored out from ...
8630 (top level): ... here, and adjusted to avoid expecting beyond the
8631 prompt in a single gdb_test_multiple.
8632
5ed7a928
PA
86332017-11-09 Pedro Alves <palves@redhat.com>
8634
8635 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
8636 output.
8637 * gdb.server/ext-attach.exp ("kill" test): Likewise.
8638 * gdb.server/ext-restart.exp ("kill" test): Likewise.
8639 * gdb.server/ext-run.exp ("kill" test): Likewise.
8640 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
8641
a60e0738
PA
86422017-11-09 Pedro Alves <palves@redhat.com>
8643
8644 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
8645 match till end of line.
8646
2c88253f
PA
86472017-11-09 Pedro Alves <palves@redhat.com>
8648
8649 * gdb.base/memattr.exp: Tighten regexes to match the end line.
8650
c7a38517
PA
86512017-11-09 Pedro Alves <palves@redhat.com>
8652
8653 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
8654 New procedures, factored out from ...
8655 (top level): ... here, and adjusted to avoid expecting beyond the
8656 prompt in one go.
8657
f29f4b6b
PA
86582017-11-09 Pedro Alves <palves@redhat.com>
8659
8660 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
8661 output. Fix '?' match.
8662
286acbb5
JB
86632017-11-08 Joel Brobecker <brobecker@adacore.com>
8664
8665 * gdb.ada/scoped_watch: New testcase.
8666 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
8667 which is actually correct.
8668 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
8669 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
8670
62d7ae92
PA
86712017-11-08 Pedro Alves <palves@redhat.com>
8672
8673 * gdb.gdb/complaints.exp (test_initial_complaints)
8674 (test_serial_complaints, test_short_complaints): Call
8675 complaint_internal instead of complaint.
8676
280ca31f
DT
86772017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
8678
8679 * gdb.threads/tls-core.c: New file.
8680 * gdb.threads/tls-core.exp: Likewise.
8681
b5ec771e
PA
86822017-11-08 Pedro Alves <palves@redhat.com>
8683
8684 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
8685 (p Exported_Capitalized): New test.
8686 (p exported_capitalized): New test.
8687
a02b41a7
PA
86882017-11-07 Pedro Alves <palves@redhat.com>
8689
8690 * gdb.cp/ena-dis-br-range.exp: Add more tests.
8691
95e95a6d
PA
86922017-11-07 Pedro Alves <palves@redhat.com>
8693
8694 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
8695 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
8696 (disable_invalid, disable_inverted, disable_negative): New
8697 procedures.
8698 ("bad numbers"): New set of tests.
8699
cee62dbd
PA
87002017-11-07 Pedro Alves <palves@redhat.com>
8701
8702 * gdb.cp/ena-dis-br-range.exp: Add tests.
8703
cc638e86
PA
87042017-11-07 Pedro Alves <palves@redhat.com>
8705
8706 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
8707
d0fe4701
XR
87082017-11-07 Xavier Roirand <roirand@adacore.com>
8709 Pedro Alves <palves@redhat.com>
8710
8711 * gdb.base/ena-dis-br.exp: Add reference to
8712 gdb.cp/ena-dis-br-range.exp.
8713 * gdb.cp/ena-dis-br-range.exp: New file.
8714 * gdb.cp/ena-dis-br-range.cc: New file.
8715
46f67f80
PA
87162017-11-06 Pedro Alves <palves@redhat.com>
8717
8718 * gdb.base/attach-non-pgrp-leader.c: New.
8719 * gdb.base/attach-non-pgrp-leader.exp: New.
8720
726e1356
PA
87212017-11-06 Pedro Alves <palves@redhat.com>
8722
8723 * configure.ac: No longer check for termio.h and sgtty.h.
8724 * configure: Regenerate.
8725 * remote-utils.c: Include termios.h instead of gdb_termios.h.
8726 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
8727 Remove termio and sgtty code.
8728
50ab6ace
YQ
87292017-11-03 Yao Qi <yao.qi@linaro.org>
8730
8731 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
8732 in GDB is disabled.
8733
8e68731c
YQ
87342017-11-03 Yao Qi <yao.qi@linaro.org>
8735
8736 * gdb.python/py-thrhandle.exp: Skip it if python is not
8737 enabled.
8738
3a87ae65
SM
87392017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
8740
8741 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
8742 as a breakpoint command.
8743
484d8d36
MD
87442017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
8745
8746 PR python/21213
8747 * gdb.python/py-infthread.exp: Test calling
8748 InferiorThread.inferior () multiple times in a row.
8749
4a27f119
KS
87502017-10-27 Keith Seitz <keiths@redhat.com>
8751
8752 * gdb.opt/inline-break.exp (break_info_1): New procedure.
8753 Test "info break" for every inlined function breakpoint.
8754
bb11dd58
YQ
87552017-10-27 Yao Qi <yao.qi@linaro.org>
8756
8757 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
8758
a43f3893
PF
87592017-10-26 Patrick Frants <osscontribute@gmail.com>
8760
8761 * gdb.cp/classes.exp (test_static_members): Test printing
8762 Outer::instance.
8763 * gdb.cp/classes.c (struct Inner, struct Outer): New.
8764 (Inner::instance, Outer::instance): New.
8765
792ccf00
PA
87662017-10-24 Pedro Alves <palves@redhat.com>
8767
8768 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
8769 extra console" test in two stages.
8770
eb2bfbad
PA
87712017-10-24 Pedro Alves <palves@redhat.com>
8772
8773 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
8774
1f75a651
PA
87752017-10-24 Pedro Alves <palves@redhat.com>
8776
8777 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
8778 loop.
8779
779990d9
PA
87802017-10-24 Pedro Alves <palves@redhat.com>
8781
8782 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
8783 $attempt" and "stoppedtry $stoppedtry" test prefixes.
8784
ad9b8f5d
PA
87852017-10-24 Pedro Alves <palves@redhat.com>
8786
8787 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
8788 parameter and handle it. Don't output read value in test name.
8789
fee6da6e
PA
87902017-10-24 Pedro Alves <palves@redhat.com>
8791
8792 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
8793 custom test name.
8794
10389c2c
PA
87952017-10-24 Pedro Alves <palves@redhat.com>
8796
8797 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
8798 include the unstable output directory name in the test's name.
8799 (initial_setup_simple) <'set args'>: Use custom test name.
8800
a80e65a9
PA
88012017-10-24 Pedro Alves <palves@redhat.com>
8802
8803 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
8804 with explicit test name.
8805
15763a09
PA
88062017-10-20 Pedro Alves <palves@redhat.com>
8807
8808 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
8809 'wait -i'. Use gdb_assert and remote_close.
8810
49a4ce2e
AB
88112017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
8812
8813 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
8814 number from variable rather than hard-coded.
8815
a75868f5
PA
88162017-10-19 Pedro Alves <palves@redhat.com>
8817
8818 * gdb.base/long-inferior-output.c: New file.
8819 * gdb.base/long-inferior-output.exp: New file.
8820
c8ba13ad
KS
88212017-11-18 Keith Seitz <keiths@redhat.com>
8822
8823 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
8824 method.
8825 (main): Call it.
8826 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
8827 Add additional user-defined conversion operator tests.
8828
b27de576
PA
88292017-10-17 Pedro Alves <palves@redhat.com>
8830
8831 * boards/native-stdio-gdbserver.exp: Load "local-board".
8832
8484c955
PA
88332017-10-17 Pedro Alves <palves@redhat.com>
8834
8835 * gdb.base/quit-live.c: New file.
8836 * gdb.base/quit-live.exp: New file.
8837
83d5a34d
KS
88382017-10-16 Keith Seitz <keiths@redhat.com>
8839
8840 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
8841 (class_with_protected_typedef, class_with_private_typedef)
8842 (struct_with_public_typedef, struct_with_protected_typedef)
8843 (struct_with_private_typedef): New classes/structs.
8844 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
8845 typedefs and access specifiers.
8846
739b3f1d
PA
88472017-10-16 Pedro Alves <palves@redhat.com>
8848 Simon Marchi <simon.marchi@polymtl.ca>
8849
8850 * README (Local vs Remote vs Native): New section.
8851 * boards/local-board.exp: New file, with bits factored out from
8852 ...
8853 * boards/native-extended-gdbserver.exp: ... here. Load
8854 "local-board".
8855 * boards/native-gdbserver.exp: Load "local-board".
8856 (${board}_spawn, ${board}_exec): Delete.
8857 * boards/native-stdio-gdbserver.exp: Most contents factored out to
8858 ...
8859 * boards/stdio-gdbserver-base.exp: ... this new file.
8860 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
8861 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
8862 procedure.
8863 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
8864 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
8865 stdio_gdbserver_command.
8866 (${board}_get_remote_address, ${board}_get_comm_port)
8867 (${board}_download, ${board}_upload): Delete.
8868 (get_target_remote_pipe_cmd): New.
8869
fe68b953
SM
88702017-10-16 Simon Marchi <simon.marchi@ericsson.com>
8871
8872 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
8873 test_bkpt_deletion, test_bkpt_cond_and_cmds,
8874 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
8875 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
8876 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
8877 remove with_test_prefix.
8878
300b6685
PA
88792017-10-13 Pedro Alves <palves@redhat.com>
8880
8881 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
8882 * gdb.base/annota1.exp: Use it instead of is_remote.
8883 * gdb.base/annota3.exp: Use it instead of is_remote.
8884 * gdb.cp/annota2.exp: Use it instead of is_remote.
8885 * gdb.cp/annota3.exp: Use it instead of is_remote.
8886 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
8887
50500caf
PA
88882017-10-13 Pedro Alves <palves@redhat.com>
8889
8890 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
8891 (test_num_test_vars, run_and_count_vars, find_env)
8892 (test_set_unset_env, test_inherit_env_var): New procedures.
8893 (top level): Use them.
8894
dad0c6d2
PA
88952017-10-13 Pedro Alves <palves@redhat.com>
8896
8897 * lib/selftest-support.exp (selftest_setup): Extend comments, and
8898 also skip on stub-like targets.
8899
8b0553c1
PA
89002017-10-13 Pedro Alves <palves@redhat.com>
8901
8902 PR gdb/22293
8903 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
8904 (top level): Move some tests to ...
8905 (test_not_found): ... this new procedure.
8906 (top level): Call it.
8907
7594f623
PA
89082017-10-13 Pedro Alves <palves@redhat.com>
8909
8910 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
8911 expect different "info terminal" output if testing with a
8912 non-native target.
8913
ebe3b402
PA
89142017-10-13 Pedro Alves <palves@redhat.com>
8915 Simon Marchi <simon.marchi@polymtl.ca>
8916
8917 PR python/12966
8918 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
8919
42f1b161
PA
89202017-10-13 Pedro Alves <palves@redhat.com>
8921
8922 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
8923 already.
8924
8d6ef72b
PA
89252017-10-13 Pedro Alves <palves@redhat.com>
8926
8927 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
8928 is_remote.
8929
d7bcd5b8
PA
89302017-10-13 Pedro Alves <palves@redhat.com>
8931
8932 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
8933 is_remote.
8934
df479dc6
PA
89352017-10-13 Pedro Alves <palves@redhat.com>
8936
8937 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
8938 is set.
8939 (corefile_test_attach): Likewise. Check can_spawn_for_attach
8940 instead of is_remote.
8941
23fb630a
PA
89422017-10-13 Pedro Alves <palves@redhat.com>
8943
8944 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
8945 (top level): Add comment.
8946
cc77b1dc
PA
89472017-10-13 Pedro Alves <palves@redhat.com>
8948
8949 * gdb.base/remote.exp (top level): Fix comment typo and add
8950 missing return.
8951
27c9e813
PA
89522017-10-13 Pedro Alves <palves@redhat.com>
8953 Simon Marchi <simon.marchi@polymtl.ca>
8954
8955 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
8956 calls and add comments. Skip test if use_gdb_stub is set.
8957 (top level): Use "set cwd" command instead of "cd" command.
8958
5e830d98
PA
89592017-10-13 Pedro Alves <palves@redhat.com>
8960
8961 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
8962 is_remote target check.
8963
f5ca0032
PA
89642017-10-13 Pedro Alves <palves@redhat.com>
8965
8966 * gdb.base/scope.exp: Use build_executable + clean_restart +
8967 gdb_file_cmd instead of prepare_for_testing and no longer skip
8968 "before run" tests on is_remote target boards. Update comments.
8969 * boards/native-extended-gdbserver.exp
8970 (extended_gdbserver_load_last_file): New, factored out from ...
8971 (gdb_load): ... this. Move further below and add comment.
8972 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
8973
8aed1c0d
PA
89742017-10-12 Pedro Alves <palves@redhat.com>
8975
8976 * gdb.base/attach.exp: Remove references to gdb64.
8977 * gdb.base/dbx.exp: Remove references to gdb64.
8978
cfa34c87
SM
89792017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8980 Pedro Alves <palves@redhat.com>
8981
8982 * gdb.base/label.exp: Remove is_remote target check.
8983
9192b7de
PA
89842017-10-12 Pedro Alves <palves@redhat.com>
8985
8986 * gdb.base/auvx.exp (coredir): Update comment.
8987 (top level) <core_works>: Use "set cwd" command instead of "cd"
8988 command.
8989
6bf0052d
PA
89902017-10-12 Pedro Alves <palves@redhat.com>
8991 Simon Marchi <simon.marchi@polymtl.ca>
8992
8993 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
8994 target boards.
8995
e48ef82d
PA
89962017-10-12 Pedro Alves <palves@redhat.com>
8997 Simon Marchi <simon.marchi@polymtl.ca>
8998
8999 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
9000 Instead skip if there's any gdb_protocol set.
9001
8d7aea57
SM
90022017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9003 Pedro Alves <palves@redhat.com>
9004
9005 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
9006
30440677
PA
90072017-10-12 Pedro Alves <palves@redhat.com>
9008 Simon Marchi <simon.marchi@polymtl.ca>
9009
9010 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
9011 instead of on dejagnu remote boards.
9012
4e04f045 90132017-10-12 Pedro Alves <palves@redhat.com>
175654b9 9014 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
9015
9016 * gdb.base/inferior-died.exp: Remove is_remote and isnative
9017 checks. Use build_executable + clean_restart instead of
9018 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
9019 of enabling non-stop after starting gdb.
9020
871a186e
PA
90212017-10-12 Pedro Alves <palves@redhat.com>
9022
9023 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
9024 * gdb.threads/non-ldr-exc-2.exp: Ditto.
9025 * gdb.threads/non-ldr-exc-3.exp: Ditto.
9026 * gdb.threads/non-ldr-exc-4.exp: Ditto.
9027
56d704da
AK
90282017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
9029
9030 * gdb.arch/arc-tdesc-cpu.exp: New file.
9031 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
9032
2f20e312
SM
90332017-10-10 Simon Marchi <simon.marchi@ericsson.com>
9034
9035 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
9036
65630365
PA
90372017-10-10 Pedro Alves <palves@redhat.com>
9038
9039 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
9040 expect CLI output.
9041
bf469271
PA
90422017-10-10 Pedro Alves <palves@redhat.com>
9043
9044 * lib/selftest-support.exp (selftest_setup): Update for
9045 captured_command_loop's prototype change.
9046
777a42f1
PA
90472017-10-09 Pedro Alves <palves@redhat.com>
9048
9049 Test both arch1=>arch2 and arch2=>arch1.
9050
9051 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
9052 (srcfile2, binfile2, march1, march2): Remove globals. Largely
9053 factored out to...
9054 (append_arch1_options, append_arch2_options, append_arch_options)
9055 (build_executables): New procedures.
9056 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
9057 local.
9058 (top level): Add new 'first_arch' testing axis.
9059
cbd2b4e3
PA
90602017-10-09 Pedro Alves <palves@redhat.com>
9061
9062 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
9063 (barrier): New.
9064 (thread_start, all_started): New functions.
9065 (main): Spawn new thread and wait until it is scheduled.
9066 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
9067 option.
9068 (do_test): Add 'selected_thread' parameter. Run to all_started
9069 instead of main. Explicitly set the breakpoint at main. Switch
9070 to the SELECTED_THREAD thread.
9071 (top level): Test handling the exec event with either the main
9072 thread or the second thread selected.
9073
5c9e4427
PA
90742017-10-09 Pedro Alves <palves@redhat.com>
9075
9076 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
9077 logic. Move STOP marker after the value checks.
9078 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
9079 regexp.
9080
b3b7c423
SL
90812017-10-06 Sandra Loosemore <sandra@codesourcery.com>
9082
9083 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
9084
3b4b2f16
UW
90852017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
9086
9087 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
9088 integer-to-dfp conversion.
9089 * gdb.base/dfp-test.exp: Likewise.
9090
5cd63fda
PA
90912017-10-04 Pedro Alves <palves@redhat.com>
9092
9093 * gdb.multi/hangout.c: Include <unistd.h>.
9094 (hangout_loop): New function.
9095 (main): Call alarm. Call hangout_loop in a loop.
9096 * gdb.multi/hello.c: Include <unistd.h>.
9097 (hello_loop): New function.
9098 (main): Call alarm. Call hangout_loop in a loop.
9099 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
9100 inferior with the other selected.
9101
4c71c105
SM
91022017-10-04 Simon Marchi <simon.marchi@ericsson.com>
9103
9104 * gdb.mi/list-thread-groups-available.exp: New file.
9105 * gdb.mi/list-thread-groups-available.c: New file.
9106
bc3b087d
SDJ
91072017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9108
9109 * gdb.base/set-cwd.exp: Make it available on
9110 native-extended-gdbserver.
9111
d092c5a2
SDJ
91122017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9113
9114 * gdb.base/set-cwd.c: New file.
9115 * gdb.base/set-cwd.exp: Likewise.
9116
45320ffa
TT
91172017-10-02 Tom Tromey <tom@tromey.com>
9118
9119 PR rust/22236:
9120 * gdb.rust/simple.rs (main): New variable "fslice".
9121 * gdb.rust/simple.exp: Add slice tests. Update string tests.
9122
b3e3859b
TT
91232017-10-02 Tom Tromey <tom@tromey.com>
9124
9125 * gdb.rust/simple.exp: Test ptype of a slice.
9126
01af5e0d
TT
91272017-10-02 Tom Tromey <tom@tromey.com>
9128
9129 * gdb.rust/simple.exp: Test index of slice.
9130
a9bbfbd8
TT
91312017-09-27 Tom Tromey <tom@tromey.com>
9132
9133 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
9134
df8899e5
TP
91352017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
9136 Pedro Alves <palves@redhat.com>
9137
9138 * gdb.base/compare-sections.exp (get value of read-only section): Read
9139 as unsigned value.
9140 (corrupt read-only section): Likewise and don't set written if patching
9141 failed.
9142
757bf54b
KB
91432017-09-21 Kevin Buettner <kevinb@redhat.com>
9144
9145 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
9146 files.
9147
06871ae8
PA
91482017-09-20 Pedro Alves <palves@redhat.com>
9149
9150 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
9151 symbol names in gdb's output.
9152 * gdb.cp/overload.exp ("list all overloads"): Likewise.
9153
e5f25bc5
PA
91542017-09-20 Pedro Alves <palves@redhat.com>
9155
9156 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
9157 Rename to ...
9158 (test_list_ambiguous_symbol): ... this and add a symbol name
9159 parameter. Adjust.
9160 (test_list_ambiguous_function): Reimplement on top of
9161 test_list_ambiguous_symbol and also test listing ambiguous
9162 variables.
9163 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
9164 (ambiguous_fun): ... this.
9165 (ambiguous_var): New.
9166 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
9167 (ambiguous_fun): ... this.
9168 (ambiguous_var): New.
9169
4e5a4f58
JB
91702017-09-19 John Baldwin <jhb@FreeBSD.org>
9171
9172 * gdb.base/starti.c: New file.
9173 * gdb.base/starti.exp: New file.
9174 * lib/gdb.exp (gdb_starti_cmd): New procedure.
9175
26e53f3e
PA
91762017-09-14 Pedro Alves <palves@redhat.com>
9177
9178 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
9179 (top level): Use it instead of runto.
9180
cb791d59
TT
91812017-09-11 Tom Tromey <tom@tromey.com>
9182
9183 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
9184
7c96f8c1
TT
91852017-09-11 Tom Tromey <tom@tromey.com>
9186
9187 * gdb.python/py-infthread.exp: Add tests for new_thread event.
9188 * gdb.python/py-inferior.exp: Add tests for new inferior events.
9189
469412dd
CW
91902017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
9191
9192 * gdb.fortran/printing-types.exp: New file.
9193 * gdb.fortran/printing-types.exp: New file.
9194
e0f86435
BH
91952017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9196
9197 * gdb.fortran/vla-ptype.exp: Fix typos.
9198 * gdb.fortran/vla-value.exp: Same.
9199
9e9af4be
BH
92002017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9201
9202 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
9203 * gdb.mi/mi-var-child-f.exp: Likewise.
9204 * gdb.mi/mi-vla-fortran.exp: Likewise.
9205
a5ad232b 92062017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
9207 Christoph Weinmann <christoph.t.weinmann@intel.com>
9208 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
9209
9210 * gdb.fortran/ptr-indentation.f90: New file.
9211 * gdb.fortran/ptr-indentation.exp: New file.
9212
5aec60eb
TT
92132017-09-05 Tom Tromey <tom@tromey.com>
9214
9215 PR gdb/22010:
9216 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
9217
8f8f8152
TP
92182017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
9219
9220 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
9221
fbd1b771
JK
92222017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9223
9224 * gdb.threads/tls-nodebug-pie.c: New file.
9225 * gdb.threads/tls-nodebug-pie.exp: New file.
9226
5eb5f850
TT
92272017-09-05 Tom Tromey <tom@tromey.com>
9228
9229 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
9230 for rust.
9231
ae780a21
SM
92322017-09-05 Simon Marchi <simon.marchi@ericsson.com>
9233
9234 * gdb.multi/multi-arch-exec.exp: Test with different
9235 "follow-exec-mode" settings.
9236 (do_test): New procedure.
9237
3693fdb3
PA
92382017-09-04 Pedro Alves <palves@redhat.com>
9239
9240 * gdb.base/func-static.c (S::method const, S::method volatile)
9241 (S::method volatile const): New methods.
9242 (c_s, v_s, cv_s): New instances.
9243 (main): Call method() on them.
9244 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
9245 (cannot_resolve): New procedure.
9246 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
9247 print-quote-unquoted columns.
9248 (do_test): Test printing each scope too.
9249
e68cb8e0
PA
92502017-09-04 Pedro Alves <palves@redhat.com>
9251
9252 * gdb.base/local-static.exp: Also test with
9253 class::method::variable wholly quoted.
9254 * gdb.cp/m-static.exp (class::method::variable): Remove test.
9255
858be34c
PA
92562017-09-04 Pedro Alves <palves@redhat.com>
9257
9258 * gdb.base/local-static.c: New.
9259 * gdb.base/local-static.cc: New.
9260 * gdb.base/local-static.exp: New.
9261
46a4882b
PA
92622017-09-04 Pedro Alves <palves@redhat.com>
9263
9264 * gdb.asm/asm-source.exp: Add casts to int.
9265 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
9266 (dataglobal64_1, dataglobal64_2): New globals.
9267 * gdb.base/nodebug.exp: Test different expressions involving the
9268 new globals, with print, whatis and ptype. Add casts to int.
9269 * gdb.base/solib-display.exp: Add casts to int.
9270 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
9271 * gdb.cp/m-static.exp: Add cast to int.
9272 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
9273 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
9274 tls variable with no debug info without a cast. Test with a cast
9275 to int too.
9276 * gdb.trace/entry-values.exp: Add casts.
9277
2c5a2be1
PA
92782017-09-04 Pedro Alves <palves@redhat.com>
9279
9280 * gdb.base/nodebug.exp: Test that ptype's error about functions
9281 with unknown return type includes the function name too.
9282
7022349d
PA
92832017-09-04 Pedro Alves <palves@redhat.com>
9284
9285 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
9286 return type of munmap in infcall.
9287 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
9288 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
9289 type of ftell in infcall.
9290 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
9291 type of getpid in infcall.
9292 * gdb.base/infcall-exec.exp: Cast return type of execlp in
9293 infcall.
9294 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
9295 Bail on failure to extract the pid.
9296 * gdb.base/nodebug.c: #include <stdint.h>.
9297 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
9298 New functions.
9299 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
9300 Change expected output of print/whatis/ptype with functions with
9301 no debug info. Test all supported languages. Call
9302 test_call_promotion.
9303 * gdb.compile/compile.exp: Adjust expected output to expect
9304 warning.
9305 * gdb.threads/siginfo-threads.exp: Likewise.
9306
54990598
PA
93072017-09-04 Pedro Alves <palves@redhat.com>
9308
9309 * gdb.base/callfuncs.exp (do_function_calls): New parameter
9310 "prototypes". Test calling float functions via prototyped and
9311 unprototyped function pointers.
9312 (perform_all_tests): New parameter "prototypes". Pass it down.
9313 (top level): Pass down "prototypes" parameter to
9314 perform_all_tests.
9315
34d16ea2
SM
93162017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9317
9318 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
9319 Test with nested loops.
9320
9521ecda
SM
93212017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9322
9323 * gdb.base/commands.exp: Call the new procedures.
9324 (loop_break_test, loop_continue_test): New procedures.
9325
80a65e9b
SM
93262017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9327
9328 * gdb.base/commands.exp: Call new procedure.
9329 (define_if_without_arg_test): New procedure.
9330
e439fa14
PA
93312017-09-04 Pedro Alves <palves@redhat.com>
9332
9333 * gdb.base/list-ambiguous.exp: New file.
9334 * gdb.base/list-ambiguous0.c: New file.
9335 * gdb.base/list-ambiguous1.c: New file.
9336 * gdb.base/list.exp (test_list_range): Adjust expected output.
9337
0a2dde4a
SDJ
93382017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
9339
9340 * gdb.base/share-env-with-gdbserver.c: New file.
9341 * gdb.base/share-env-with-gdbserver.exp: Likewise.
9342
5e89eb3a
SM
93432017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9344
9345 * gdb.base/commands.exp (gdbvar_simple_if_test,
9346 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
9347 progvar_simple_if_test, progvar_simple_while_test,
9348 progvar_complex_if_while_test, user_defined_command_test,
9349 user_defined_command_args_eval,
9350 user_defined_command_args_stack_test,
9351 user_defined_command_manyargs_test, bp_deleted_in_command_test,
9352 temporary_breakpoint_commands,
9353 gdb_test_no_prompt, redefine_hook_test,
9354 redefine_backtrace_test): Remove "global gdb_prompt".
9355
fd437cbc
SM
93562017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9357
9358 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
9359 New proc, call it from toplevel.
9360
87215ad1
SDJ
93612017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
9362
9363 PR remote/21852
9364 * gdb.server/normal.c: New file, copied from gdb.base.
9365 * gdb.server/run-without-local-binary.exp: New file.
9366
58afddc6
WP
93672017-08-07 Weimin Pan <weimin.pan@oracle.com>
9368
9369 * gdb.arch/sparc64-adi.exp: New file.
9370 * gdb.arch/sparc64-adi.c: New file.
9371
5277199a
PA
93722017-08-22 Pedro Alves <palves@redhat.com>
9373
9374 * gdb.cp/overload.exp (line_range_pattern): New procedure.
9375 (top level): Add "list all overloads" tests.
9376
14278e1f
TT
93772017-08-22 Tom Tromey <tom@tromey.com>
9378
9379 * gdb.gdb/xfullpath.exp: Remove.
9380
bf223d3e
PA
93812017-08-21 Pedro Alves <palves@redhat.com>
9382
9383 PR gdb/19487
9384 * gdb.base/symbol-alias.c: New.
9385 * gdb.base/symbol-alias2.c: New.
9386 * gdb.base/symbol-alias.exp: New.
9387
c973d0aa
PA
93882017-08-21 Pedro Alves <palves@redhat.com>
9389
9390 * gdb.base/dfp-test.c
9391 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
9392 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
9393 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
9394 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
9395 * gdb.base/whatis-ptype-typedefs.c: New.
9396 * gdb.base/whatis-ptype-typedefs.exp: New.
9397 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
9398 (an_int, an_int_type, an_int_type2): New globals.
9399 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
9400 involving typedefs and cast expressions.
9401 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
9402 (lookup_typedefs_function): New.
9403 (typedefs_pretty_printers_dict): New.
9404 (top level): Register lookup_typedefs_function in
9405 gdb.pretty_printers.
9406
6d580b63
YQ
94072017-08-18 Yao Qi <yao.qi@linaro.org>
9408
9409 * gdb.server/unittest.exp: New.
9410
206726fb
SDJ
94112017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
9412
9413 PR gdb/21954
9414 * gdb.base/environ.exp: Add test to check if 'unset environment'
9415 works.
9416
bf0ec4c2
AA
94172017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9418
9419 * lib/gdb.exp (universal_compile_options): New caching proc.
9420 (gdb_compile): Suppress GCC's coloring of messages.
9421
d6382fff
TT
94222017-08-14 Tom Tromey <tom@tromey.com>
9423
9424 PR gdb/21675:
9425 * gdb.base/printcmds.exp (test_radices): New function.
9426 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
9427 * gdb.base/sizeof.exp (check_valueof): Use p/d.
9428 * lib/gdb.exp (get_integer_valueof): Use p/d.
9429
c2c2dd9f
SM
94302017-08-12 Simon Marchi <simon.marchi@ericsson.com>
9431
9432 * lib/gdb.exp (get_valueof): Don't capture end-of-line
9433 characters.
9434
fdffd6f4
TT
94352017-08-05 Tom Tromey <tom@tromey.com>
9436
9437 * gdb.rust/simple.exp: Allow String to appear in a different
9438 namespace.
9439
27d41eac
YQ
94402017-07-26 Yao Qi <yao.qi@linaro.org>
9441
9442 * gdb.gdb/unittest.exp: Invoke command
9443 "maintenance check xml-descriptions".
9444
031ed05d
AA
94452017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9446
9447 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
9448 calling context.
9449 (hex128): Drop erroneous calculation of parameters.
9450
dcd27ddf
SM
94512017-07-22 Simon Marchi <simon.marchi@ericsson.com>
9452
9453 * gdb.python/py-unwind.exp: Disable stack protection when
9454 building test file.
9455
47e77640
PA
94562017-07-20 Pedro Alves <palves@redhat.com>
9457
9458 * gdb.base/default.exp (set language): Adjust expected output.
9459
62d2a18a
PA
94602017-07-20 Pedro Alves <palves@redhat.com>
9461
9462 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
9463 (test_minsym): ... this, and make static.
9464 (get_pck__foo__bar__minsym): Rename to ...
9465 (get_test_minsym): ... this.
9466 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
9467 symbol names and comments.
9468 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
9469 (get_test_minsym): ... this.
9470 (pck__foo__bar__minsym__2): Rename to ...
9471 (test_minsym): ... this.
9472 (main): Adjust.
9473
c45ec17c
PA
94742017-07-17 Pedro Alves <palves@redhat.com>
9475
9476 * gdb.base/completion.exp: Adjust expected output.
9477 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
9478 the completer works.
9479
c6756f62
PA
94802017-07-17 Pedro Alves <palves@redhat.com>
9481
9482 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
9483
5bd68487
AB
94842017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
9485
9486 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
9487
8880f2a9
TT
94882017-07-14 Tom Tromey <tom@tromey.com>
9489
9490 PR rust/21764:
9491 * gdb.rust/simple.exp: Add tests.
9492
65547233
TT
94932017-07-14 Tom Tromey <tom@tromey.com>
9494
9495 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
9496
8f14146e
PA
94972017-07-14 Pedro Alves <palves@redhat.com>
9498
9499 * gdb.linespec/base/one/thefile.cc (z1): New function.
9500 * gdb.linespec/base/two/thefile.cc (z2): New function.
9501 * gdb.linespec/linespec.exp: Add tests.
9502
b4365d02
AB
95032017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9504
9505 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
9506 to mi_create_breakpoint.
9507
5d2cbaa5
AB
95082017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9509
9510 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
9511 mi_create_breakpoint.
9512
11cb5716
IB
95132017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
9514
9515 * gdb.dlang/demangle.exp: Update for demangling changes.
9516
03278692
TT
95172017-07-09 Tom Tromey <tom@tromey.com>
9518
9519 * gdb.dwarf2/shortpiece.exp: New file.
9520
33c5cd75
DB
95212017-07-06 David Blaikie <dblaikie@gmail.com>
9522
9523 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
9524 built from fissiont-multi-cu{1,2}.c.
9525 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
9526 except putting 'main' and 'func' in separate CUs in the same DWO file.
9527 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
9528 test.
9529 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
9530 test.
9531
8455d262
PA
95322017-07-06 Pedro Alves <palves@redhat.com>
9533
9534 * gdb.python/py-unwind.exp: Test flushregs.
9535
dc4bde35
SDJ
95362017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9537
9538 PR cli/21688
9539 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
9540 tests for alias commands and trailing whitespace.
9541
51ed89aa
SDJ
95422017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9543
9544 PR cli/21688
9545 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
9546 procedure. Call it.
9547
eb17d413
PA
95482017-06-29 Pedro Alves <palves@redhat.com>
9549
9550 * gdb.base/printcmds.exp: Add tests.
9551
41664b45
DG
95522017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
9553
9554 PR gdb/21337
9555 * gdb.base/reread-readsym.exp: New file.
9556 * gdb.base/reread-readsym.c: New file.
9557
75312ae3
KB
95582017-06-21 Kevin Buettner <kevinb@redhat.com>
9559
9560 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
9561 subpattern.
9562
66953522
PB
95632017-06-19 Peter Bergner <bergner@vnet.ibm.com>
9564
9565 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
9566 extended mnemonic.
9567 * gdb.arch/powerpc-power9.s: Likewise.
9568
5524b525
AA
95692017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9570
9571 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
9572 on 32-bit x86 targets. Exploit is_*_target macros where
9573 appropriate.
9574
03c8af18
AA
95752017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9576
9577 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
9578 register pieces.
9579
3bf31011
AA
95802017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9581
9582 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
9583 located in one or more DWARF pieces.
9584
805acca0
AA
95852017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9586
9587 * lib/gdb.exp (get_endianness): New proc.
9588 * gdb.arch/aarch64-fp.exp: Use it.
9589 * gdb.arch/altivec-regs.exp: Likewise.
9590 * gdb.arch/e500-regs.exp: Likewise.
9591 * gdb.arch/vsx-regs.exp: Likewise.
9592 * gdb.base/dump.exp: Likewise.
9593 * gdb.base/funcargs.exp: Likewise.
9594 * gdb.base/gnu_vector.exp: Likewise.
9595 * gdb.dwarf2/formdata16.exp: Likewise.
9596 * gdb.dwarf2/implptrpiece.exp: Likewise.
9597 * gdb.dwarf2/nonvar-access.exp: Likewise.
9598 * gdb.python/py-inferior.exp: Likewise.
9599 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9600
e9352324
AA
96012017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9602
9603 PR gdb/21226
9604 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
9605 stack value pieces are taken from the LSB end.
9606
d5d1163e
AA
96072017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9608
9609 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
9610 variable at nonzero offset.
9611
0567c986
AA
96122017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9613
9614 * gdb.dwarf2/var-access.c: New file.
9615 * gdb.dwarf2/var-access.exp: New test.
9616 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
9617
973e9aab
TT
96182017-06-12 Tom Tromey <tom@tromey.com>
9619
9620 * gdb.dwarf2/formdata16.exp: Add tests.
9621
d9109c80
TT
96222017-06-12 Tom Tromey <tom@tromey.com>
9623
9624 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
9625
30a25466
TT
96262017-06-12 Tom Tromey <tom@tromey.com>
9627
9628 PR exp/16225:
9629 * gdb.reverse/i386-sse-reverse.exp: Update tests.
9630 * gdb.arch/vsx-regs.exp: Update tests.
9631 * gdb.arch/s390-vregs.exp (hex128): New proc.
9632 Update test.
9633 * gdb.arch/altivec-regs.exp: Update tests.
9634
aefd8b33
SDJ
96352017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9636
9637 * gdb.base/startup-with-shell.c: New file.
9638 * gdb.base/startup-with-shell.exp: Likewise.
9639
2090129c
SDJ
96402017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9641
9642 * gdb.server/non-existing-program.exp: Update regex in order to
9643 reflect the fact that gdbserver is now using fork_inferior (with a
9644 shell) to startup the inferior.
9645
8e86a419
SM
96462017-05-30 Simon Marchi <simon.marchi@ericsson.com>
9647
9648 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
9649 support function calls from GDB.
9650
e6cf65f2
TT
96512017-05-21 Tom Tromey <tom@tromey.com>
9652
9653 PR rust/21466:
9654 * gdb.rust/unsized.exp: New file.
9655 * gdb.rust/unsized.rs: New file.
9656
43cc5389
TT
96572017-05-19 Tom Tromey <tom@tromey.com>
9658
9659 PR rust/21484:
9660 * gdb.rust/watch.exp: New file.
9661 * gdb.rust/watch.rs: New file.
9662
ec8df234
TT
96632017-05-18 Tom Tromey <tom@tromey.com>
9664
9665 * gdb.rust/simple.exp: Allow Box to be qualified.
9666
3e3e7fae
TP
96672017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
9668
9669 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
9670
59cc050d
PA
96712017-05-18 Pedro Alves <palves@redhat.com>
9672
9673 * gdb.base/fileio.c (test_write, test_read, test_close)
9674 (test_fstat): Don't print 'ret' in the fail path.
9675
c8f6abd1
PA
96762017-05-18 Pedro Alves <palves@redhat.com>
9677
9678 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
9679 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
9680 (test_system, test_rename, test_unlink, test_time): Change
9681 prototypes.
9682 * gdb.base/fileio.exp (stop_msg): Adjust.
9683
d2a03b77
PA
96842017-05-18 Pedro Alves <palves@redhat.com>
9685
9686 * gdb.base/fileio.c (null_str): New global.
9687 (test_stat): Use it.
9688 * gdb.base/fileio.exp: Remove nowarnings.
9689
0d5c6999
YQ
96902017-05-17 Yao Qi <yao.qi@linaro.org>
9691
9692 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
9693
21873064
YQ
96942017-05-17 Simon Marchi <simon.marchi@ericsson.com>
9695
9696 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
9697 argument command.
9698 (top-level): Invoke test_set_inferior_tty.
9699
d512d31c
PA
97002017-05-04 Pedro Alves <palves@redhat.com>
9701
9702 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
9703 Add parens to print call for Python 3.
9704
90cef2ed
KS
97052017-05-03 Keith Seitz <keiths@redhat.com>
9706
9707 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
9708 (main): Call it.
9709
14f819c8
TW
97102017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9711
9712 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
9713 to prev and next.
9714
913aeadd
TW
97152017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9716
9717 * gdb.python/py-record-btrace.exp: Remove test for
9718 gdb.BtraceInstruction.error.
9719
a3be24ad
TW
97202017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9721
9722 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
9723
ae20e79a
TW
97242017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9725
9726 * gdb.python/py-record-btrace-threads.c: New file.
9727 * gdb.python/py-record-btrace-threads.exp: New file.
9728
45ce1b47
SDJ
97292017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
9730
9731 PR testsuite/8595
9732 * gdb.base/environ.exp: Make test available in all architectures.
9733 Move bits related to "info program" testing to
9734 gdb.base/info-program.exp. Rewrite tests to use the two new
9735 procedures mentione below.
9736 (test_set_show_env_var) New procedure.
9737 (test_set_show_env_var_equal): Likewise.
9738 * gdb.base/info-program.exp: New file.
9739
e15c3eb4
KS
97402017-04-27 Keith Seitz <keiths@redhat.com>
9741
9742 * gdb.cp/oranking.cc (test15): New function.
9743 (main): Call test15 and declare additional variables for testing.
9744 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
9745 "p foo101('abc')" tests.
9746 Add tests for cv qualifier overloads.
9747 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
9748 "lvalue reference overload" test.
9749 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
9750 "print value of f1 on Child&& in f2" test.
9751
3a3fd0fd
PA
97522017-04-19 Pedro Alves <palves@redhat.com>
9753
9754 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
9755 procedure.
9756 (top level): Call it.
9757 * lib/gdb.exp (gdb_define_cmd): New procedure.
9758
53375380
PA
97592017-04-12 Pedro Alves <palves@redhat.com>
9760
9761 PR gdb/21323
9762 * gdb.cp/wide_char_types.c: Include <wchar.h>.
9763 (wchar): New global.
9764 * gdb.cp/wide_char_types.exp (wide_char_types_program)
9765 (do_test_wide_char, wide_char_types_no_program, top level): Add
9766 wchar_t testing.
9767
53e710ac
PA
97682017-04-12 Pedro Alves <palves@redhat.com>
9769
9770 PR c++/21323
9771 * gdb.cp/wide_char_types.c: New file.
9772 * gdb.cp/wide_char_types.exp: New file.
9773
0ad9d8c7
SDJ
97742017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
9775
9776 PR gdb/21352
9777 * gdb.trace/tsv.exp: Add test for "tsave -r".
9778
b1b45502
IB
97792017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
9780
9781 * gdb.dlang/watch-loc.c: New file.
9782 * gdb.dlang/watch-loc.exp: New file.
9783
ec13808e
JK
97842017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9785
9786 * gdb.python/py-section-script.exp (sepdebug): New testcases.
9787
fe5f7374
AK
97882017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9789
9790 * gdb.arch/arc-analyze-prologue.S: New file.
9791 * gdb.arch/arc-analyze-prologue.exp: Likewise.
9792
eea78757
AK
97932017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9794
9795 * gdb.arch/arc-decode-insn.S: New file.
9796 * gdb.arch/arc-decode-insn.exp: Likewise.
9797
5badf10a
IR
97982017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
9799
9800 PR tdep/20928
9801 * gdb.arch/sparc64-regs.exp: New file.
9802 * gdb.arch/sparc64-regs.S: Likewise.
9803
cee59b3f
TW
98042017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
9805
9806 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
9807 and memory view on Python 3.
9808
c0f55cc6
AV
98092017-03-20 Artemiy Volkov <artemiyv@acm.org>
9810 Keith Seitz <keiths@redhat.com>
9811
9812 PR gdb/14441
9813 * gdb.cp/demangle.exp: Add rvalue reference tests.
9814 * gdb.cp/rvalue-ref-casts.cc: New file.
9815 * gdb.cp/rvalue-ref-casts.exp: New file.
9816 * gdb.cp/rvalue-ref-overload.cc: New file.
9817 * gdb.cp/rvalue-ref-overload.exp: New file.
9818 * gdb.cp/rvalue-ref-params.cc: New file.
9819 * gdb.cp/rvalue-ref-params.exp: New file.
9820 * gdb.cp/rvalue-ref-sizeof.cc: New file.
9821 * gdb.cp/rvalue-ref-sizeof.exp: New file.
9822 * gdb.cp/rvalue-ref-types.cc: New file.
9823 * gdb.cp/rvalue-ref-types.exp: New file.
9824 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
9825 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
9826
51457a05
MAL
98272017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9828
9829 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
9830 New procedure.
9831
5b291c04
MAL
98322017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9833
9834 * lib/mi-support.exp (mi_gdb_test): Add additional message
9835 for unexpected output.
9836
59a56148
AA
98372017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9838
9839 * gdb.base/examine-backward.c (Barrier): New character array
9840 constant, to ensure that TestStrings is preceded by a string
9841 terminator.
9842
7942e96e
AA
98432017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9844
9845 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
9846 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
9847 and implicit pointer into such a location.
9848
6ebac3fb
DE
98492017-03-16 Doug Evans <dje@google.com>
9850
9851 * gdb.python/py-lazy-string (pointer): Really add new typedef.
9852
ec3b243d
TP
98532017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
9854
9855 * gdb.cp/m-static.exp: Fix expectation for prototype of
9856 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
9857
98582017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
9859
9860 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
9861 * gdb.guile/scm-lazy-string.c: New file.
9862 * gdb.guile/scm-value.exp: Move lazy string tests to ...
9863 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
9864 for pointer, array, typedef lazy strings.
9865
2cc36e25 98662017-03-16 Doug Evans <dje@google.com>
34b43320
DE
9867
9868 PR python/17728, python/18439, python/18779
9869 * gdb.python/py-value.c (main) Delete locals sptr, sn.
9870 * gdb.python/py-lazy-string.c (pointer): New typedef.
9871 (main): New locals ptr, array, typedef_ptr.
9872 * gdb.python/py-value.exp: Move lazy string tests to ...
9873 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
9874 array, typedef lazy strings.
ec3b243d 9875
0efcde63
AK
98762017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
9877
9878 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
9879 Add optional 'test' parameter.
9880
7978d7c3
SM
98812017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9882
9883 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9884 Skip for versions of DejaGnu < 1.5.
9885
896c0c1e
SM
98862017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9887
9888 * lib/gdb.exp (dejagnu_version): New proc.
9889 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9890 Use dejagnu_version.
9891
5f4d1085
KS
98922017-03-10 Keith Seitz <keiths@redhat.com>
9893
9894 PR c++/8128
9895 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
9896 type from destructor regexps.
9897 Add a branch which actually passes the test.
9898 Adjust "ptype t5i" test names.
9899
1de05205
PA
99002017-03-08 Pedro Alves <palves@redhat.com>
9901
9902 * gdb.base/step-over-exit.exp: Add explicit test message.
9903
c65d6b55
PA
99042017-03-08 Pedro Alves <palves@redhat.com>
9905
9906 PR gdb/18360
9907 * gdb.threads/interrupt-while-step-over.c: New file.
9908 * gdb.threads/interrupt-while-step-over.exp: New file.
9909
2e86a283
PA
99102017-03-08 Pedro Alves <palves@redhat.com>
9911
9912 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
9913 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
9914
25dcbff6
PA
99152017-03-08 Pedro Alves <palves@redhat.com>
9916
9917 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
9918 PKRU as not supported as a PASS.
9919
dc9366eb
PA
99202017-03-08 Pedro Alves <palves@redhat.com>
9921
9922 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
9923 prefix instead of $binfile1/$binfile2.
9924 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
9925 in test message.
9926 * gdb.python/py-completion.exp: Use "load python file" as test
9927 messages instead of unstable path names.
9928
6e5d74e7
PA
99292017-03-08 Pedro Alves <palves@redhat.com>
9930 Jan Kratochvil <jan.kratochvil@redhat.com>
9931
9932 PR cli/21218
9933 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9934 New proc.
9935 (top level): Call it.
9936
9753a2f6
PA
99372017-03-08 Pedro Alves <palves@redhat.com>
9938
9939 PR tui/21216
9940 * gdb.tui/tui-nl-filtered-output.exp: New file.
9941
1a4dd9dd
PA
99422017-03-08 Pedro Alves <palves@redhat.com>
9943
9944 * gdb.base/completion.exp: Move TUI completion tests to ...
9945 * gdb.tui/completion.exp: ... this new file.
9946
7cbbff33
PA
99472017-03-08 Pedro Alves <palves@redhat.com>
9948
9949 * gdb.base/tui-disasm-long-lines.c,
9950 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
9951 gdb.base/tui-layout.exp: Move to ...
9952 * gdb.tui/: ... this new directory.
9953
5f6fd321
PA
99542017-03-07 Pedro Alves <palves@redhat.com>
9955
9956 * gdb.base/tui-layout.c: New file.
9957 * gdb.base/tui-layout.exp: New file.
9958
44959fa8
PA
99592017-03-07 Pedro Alves <palves@redhat.com>
9960
9961 * gdb.base/tui-layout.c: Rename to ...
9962 * gdb.base/tui-disasm-long-lines.c: ... this.
9963 * gdb.base/tui-layout.exp: Rename to ...
9964 * gdb.base/tui-disasm-long-lines.exp: ... this.
9965
f8c4e718
PA
99662017-03-07 Pedro Alves <palves@redhat.com>
9967
9968 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
9969
6dbb839a 99702017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
9971
9972 * i386-mpx-call.c: New file.
9973 * i386-mpx-call.exp: New file.
9974
65b48a81
PB
99752017-02-28 Peter Bergner <bergner@vnet.ibm.com>
9976
9977 * gdb.arch/powerpc-power.exp: Delete test.
9978 * gdb.arch/powerpc-power.s: Likewise.
9979 * gdb.disasm/disassembler-options.exp: New test.
9980 * gdb.arch/powerpc-altivec.exp: Likewise.
9981 * gdb.arch/powerpc-altivec.s: Likewise.
9982 * gdb.arch/powerpc-altivec2.exp: Likewise.
9983 * gdb.arch/powerpc-altivec2.s: Likewise.
9984 * gdb.arch/powerpc-altivec3.exp: Likewise.
9985 * gdb.arch/powerpc-altivec3.s: Likewise.
9986 * gdb.arch/powerpc-power7.exp: Likewise.
9987 * gdb.arch/powerpc-power7.s: Likewise.
9988 * gdb.arch/powerpc-power8.exp: Likewise.
9989 * gdb.arch/powerpc-power8.s: Likewise.
9990 * gdb.arch/powerpc-power9.exp: Likewise.
9991 * gdb.arch/powerpc-power9.s: Likewise.
9992 * gdb.arch/powerpc-vsx.exp: Likewise.
9993 * gdb.arch/powerpc-vsx.s: Likewise.
9994 * gdb.arch/powerpc-vsx2.exp: Likewise.
9995 * gdb.arch/powerpc-vsx2.s: Likewise.
9996 * gdb.arch/powerpc-vsx3.exp: Likewise.
9997 * gdb.arch/powerpc-vsx3.s: Likewise.
9998 * gdb.arch/arm-disassembler-options.exp: Likewise.
9999 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
10000 * gdb.arch/s390-disassembler-options.exp: Likewise.
10001
17cd4947
LM
100022017-02-23 Luis Machado <lgustavo@codesourcery.com>
10003
10004 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
10005 (check_supported_features): ... this. Changed return type to void.
10006 (supports_rdseed): New static global.
10007 (rdseed): Check supports_rdseed.
10008 (initialize): Call check_supported_features.
10009
2039d74e
EBM
100102017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10011
10012 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
10013 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
10014 and lqarx/stqcx.
10015 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
10016 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
10017
a51d7ecf
EBM
100182017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10019
10020 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
10021 uppercase.
10022
0224619f
JK
100232017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10024
10025 * gdb.dwarf2/formdata16.c: New file.
10026 * gdb.dwarf2/formdata16.exp: New file.
10027 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
10028
216f72a1
JK
100292017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10030
10031 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
10032 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
10033 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
10034 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
10035 DW_AT_GNU_*.
10036
43988095
JK
100372017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10038
10039 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
10040
99e8a4f9
SDJ
100412017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
10042
10043 PR gdb/21164
10044 * gdb.base/maint.exp: Add testcases for when the commands do
10045 not have arguments.
10046
b58a8c0c
TP
100472017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
10048
10049 * gdb.cp/chained-calls.exp: Use p instead of P.
10050
4e746bb6
TW
100512017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
10052
10053 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
10054 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
10055
3f77c769
TT
100562017-02-14 Tom Tromey <tom@tromey.com>
10057
10058 PR python/13598:
10059 * gdb.python/py-events.exp: Add before_prompt event tests.
10060
075beec0
AA
100612017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10062
10063 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
10064
bf5f525c
LM
100652017-02-13 Luis Machado <lgustavo@codesourcery.com>
10066
10067 * gdb.linespec/explicit.c (my_unique_function_name): New function.
10068 (main): Call my_unique_function_name.
10069 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
10070 completion of patterns with a single match.
10071 Add missing -re switches to gdb_test_multiple calls.
10072
13a66184
LM
100732017-02-13 Luis Machado <lgustavo@codesourcery.com>
10074
10075 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
10076 return if core file is not recognized.
10077
26a06916
SM
100782017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10079
10080 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
10081 and extra UIs.
10082
b761ca9e
SM
100832017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10084
10085 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
10086 proc_with_prefix.
10087
b964bee0
TT
100882017-02-10 Tom Tromey <tom@tromey.com>
10089
10090 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
10091
18da0c51
MG
100922017-02-10 Martin Galvan <martingalvan@sourceware.org>
10093
10094 PR gdb/21122
10095 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
10096
604c4576
JG
100972017-02-08 Jerome Guitton <guitton@adacore.com>
10098
10099 * gdb.base/define.exp: Add test for command abbreviations
10100 in define.
10101
20b477a7
LM
101022017-02-06 Luis Machado <lgustavo@codesourcery.com>
10103
10104 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
10105 * gdb.reverse/insn-reverse-x86.c: New file.
10106
3f7b46f2
IR
101072017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10108
10109 PR tdep/20936
10110 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
10111
f0fd41c1
TT
101122017-02-03 Tom Tromey <tom@tromey.com>
10113
10114 PR rust/21097:
10115 * gdb.rust/simple.exp: Add new tests.
10116
5be5dbf0
PA
101172017-02-02 Pedro Alves <palves@redhat.com>
10118
10119 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
10120 tests.
10121
7346ef59
AA
101222017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10123
10124 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
10125 taking a 2-byte value out of a 4-byte DWARF implicit value on
10126 big-endian targets.
10127 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
10128 logic. Add test cases for DW_OP_implicit.
10129
787f0025
MM
101302017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10131
10132 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
10133
68777c29
MM
101342017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10135
10136 * gdb.btrace/enable.exp: Call gdb_exit before
10137 skip_gdbserver_tests.
10138
0a1c7e28
MM
101392017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10140
10141 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
10142 GDBFLAGS.
10143
b5ac99b0
MM
101442017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10145
10146 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
10147 the test is skipped.
10148 * gdb.btrace/data.exp: Likewise.
10149 * gdb.btrace/delta.exp: Likewise.
10150 * gdb.btrace/dlopen.exp: Likewise.
10151 * gdb.btrace/enable-running.exp: Likewise.
10152 * gdb.btrace/enable.exp: Likewise.
10153 * gdb.btrace/exception.exp: Likewise.
10154 * gdb.btrace/function_call_history.exp: Likewise.
10155 * gdb.btrace/gcore.exp: Likewise.
10156 * gdb.btrace/instruction_history.exp: Likewise.
10157 * gdb.btrace/multi-thread-step.exp: Likewise.
10158 * gdb.btrace/nohist.exp: Likewise.
10159 * gdb.btrace/non-stop.exp: Likewise.
10160 * gdb.btrace/reconnect.exp: Likewise.
10161 * gdb.btrace/record_goto-step.exp: Likewise.
10162 * gdb.btrace/record_goto.exp: Likewise.
10163 * gdb.btrace/rn-dl-bind.exp: Likewise.
10164 * gdb.btrace/segv.exp: Likewise.
10165 * gdb.btrace/step.exp: Likewise.
10166 * gdb.btrace/stepi.exp: Likewise.
10167 * gdb.btrace/tailcall-only.exp: Likewise.
10168 * gdb.btrace/tailcall.exp: Likewise.
10169 * gdb.btrace/tsx.exp: Likewise.
10170 * gdb.btrace/unknown_functions.exp: Likewise.
10171 * gdb.btrace/vdso.exp: Likewise.
10172
cd4007e4
MM
101732017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10174
10175 * gdb.btrace/enable-running.c: New.
10176 * gdb.btrace/enable-running.exp: New.
10177
2735833d
WT
101782017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
10179
10180 * gdb.arch/amd64-gs_base.c: New file.
10181 * gdb.arch/amd64-gs_base.exp: New file.
10182
b51e1e94
LM
101832017-01-26 Luis Machado <lgustavo@codesourcery.com>
10184
10185 * lib/memory.exp: Remove spurious empty newlines.
10186
72ca0410
SM
101872017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
10188
10189 * gdb.python/py-bad-printers.exp: Load python file using "source".
10190 * gdb.python/py-events.exp: Likewise.
10191 * gdb.python/py-evsignal.exp: Likewise.
10192 * gdb.python/py-evthreads.exp: Likewise.
10193 * gdb.python/py-frame-args.exp: Likewise.
10194 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
10195 * gdb.python/py-framefilter-mi.exp: Likewise.
10196 * gdb.python/py-framefilter.exp: Likewise.
10197 * gdb.python/py-mi.exp: Likewise.
10198 * gdb.python/py-pp-maint.exp: Likewise.
10199 * gdb.python/py-pp-registration.exp: Likewise.
10200 * gdb.python/py-prettyprint.exp: Likewise.
10201 (run_lang_tests): Likewise.
10202 * gdb.python/py-typeprint.exp: Likewise.
10203
e309aa65
LM
102042017-01-26 Luis Machado <lgustavo@codesourcery.com>
10205
10206 * lib/memory.exp: New file.
10207 * lib/gdb.exp: Load memory.exp.
10208 * gdb.base/memattr.exp (delete_memory): Move proc to
10209 lib/memory.exp and rename to delete_memory_regions.
10210 Replace delete_memory with delete_memory_regions.
10211 Cleanup memory regions before tests.
10212 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
10213 before tests.
10214
515aff23
LM
102152017-01-26 Luis Machado <lgustavo@codesourcery.com>
10216
10217 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
10218 files.
10219 (initialize): New function conditionally defined.
10220 (testcases): Move within conditional block.
10221 (main): Call initialize.
10222 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
10223 of gdb.reverse/insn-reverse.c.
10224 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
10225 gdb.reverse/insn-reverse.c.
10226
d8b49cf0
YQ
102272017-01-26 Yao Qi <yao.qi@linaro.org>
10228
10229 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
10230 disassemble on address 0.
10231
f13a9a0c
YQ
102322017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
10233 Yao Qi <yao.qi@linaro.org>
10234
10235 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
10236 * gdb.dwarf2/implptr-64bit.S: Remove.
10237 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
10238 variables in caller's context. Add DW_OP_implicit_value.
10239
5ac95241
YQ
102402017-01-25 Yao Qi <yao.qi@linaro.org>
10241
10242 * lib/dwarf.exp (Dwarf::_location): Handle
10243 DW_OP_GNU_implicit_pointer with proper size.
10244
23e82930
LM
102452017-01-20 Luis Machado <lgustavo@codesourcery.com>
10246
10247 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
10248 and add untested calls.
10249
d334ae25
LM
102502017-01-20 Luis Machado <lgustavo@codesourcery.com>
10251
10252 * gdb.python/python.exp: Check line number against what GDB thinks
10253 the line number is for func1.
10254
f5e6296e
IB
102552017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
10256
10257 * gdb.dlang/debug-expr.exp: New file.
10258
5b362f04
LM
102592016-12-23 Luis Machado <lgustavo@codesourcery.com>
10260
10261 Fix test names for the following files:
10262
10263 * gdb.ada/exec_changed.exp
10264 * gdb.ada/info_types.exp
10265 * gdb.arch/aarch64-atomic-inst.exp
10266 * gdb.arch/aarch64-fp.exp
10267 * gdb.arch/altivec-abi.exp
10268 * gdb.arch/altivec-regs.exp
10269 * gdb.arch/amd64-byte.exp
10270 * gdb.arch/amd64-disp-step.exp
10271 * gdb.arch/amd64-dword.exp
10272 * gdb.arch/amd64-entry-value-inline.exp
10273 * gdb.arch/amd64-entry-value-param.exp
10274 * gdb.arch/amd64-entry-value-paramref.exp
10275 * gdb.arch/amd64-entry-value.exp
10276 * gdb.arch/amd64-i386-address.exp
10277 * gdb.arch/amd64-invalid-stack-middle.exp
10278 * gdb.arch/amd64-invalid-stack-top.exp
10279 * gdb.arch/amd64-optimout-repeat.exp
10280 * gdb.arch/amd64-prologue-skip.exp
10281 * gdb.arch/amd64-prologue-xmm.exp
10282 * gdb.arch/amd64-stap-special-operands.exp
10283 * gdb.arch/amd64-stap-wrong-subexp.exp
10284 * gdb.arch/amd64-tailcall-cxx.exp
10285 * gdb.arch/amd64-tailcall-noret.exp
10286 * gdb.arch/amd64-tailcall-ret.exp
10287 * gdb.arch/amd64-tailcall-self.exp
10288 * gdb.arch/amd64-word.exp
10289 * gdb.arch/arm-bl-branch-dest.exp
10290 * gdb.arch/arm-disp-step.exp
10291 * gdb.arch/arm-neon.exp
10292 * gdb.arch/arm-single-step-kernel-helper.exp
10293 * gdb.arch/avr-flash-qualifier.exp
10294 * gdb.arch/disp-step-insn-reloc.exp
10295 * gdb.arch/e500-abi.exp
10296 * gdb.arch/e500-regs.exp
10297 * gdb.arch/ftrace-insn-reloc.exp
10298 * gdb.arch/i386-avx512.exp
10299 * gdb.arch/i386-bp_permanent.exp
10300 * gdb.arch/i386-byte.exp
10301 * gdb.arch/i386-cfi-notcurrent.exp
10302 * gdb.arch/i386-disp-step.exp
10303 * gdb.arch/i386-dr3-watch.exp
10304 * gdb.arch/i386-float.exp
10305 * gdb.arch/i386-gnu-cfi.exp
10306 * gdb.arch/i386-mpx-map.exp
10307 * gdb.arch/i386-mpx-sigsegv.exp
10308 * gdb.arch/i386-mpx-simple_segv.exp
10309 * gdb.arch/i386-mpx.exp
10310 * gdb.arch/i386-permbkpt.exp
10311 * gdb.arch/i386-prologue.exp
10312 * gdb.arch/i386-signal.exp
10313 * gdb.arch/i386-size-overlap.exp
10314 * gdb.arch/i386-unwind.exp
10315 * gdb.arch/i386-word.exp
10316 * gdb.arch/mips-fcr.exp
10317 * gdb.arch/powerpc-d128-regs.exp
10318 * gdb.arch/powerpc-stackless.exp
10319 * gdb.arch/ppc64-atomic-inst.exp
10320 * gdb.arch/s390-stackless.exp
10321 * gdb.arch/s390-tdbregs.exp
10322 * gdb.arch/s390-vregs.exp
10323 * gdb.arch/sparc-sysstep.exp
10324 * gdb.arch/thumb-bx-pc.exp
10325 * gdb.arch/thumb-singlestep.exp
10326 * gdb.arch/thumb2-it.exp
10327 * gdb.arch/vsx-regs.exp
10328 * gdb.asm/asm-source.exp
10329 * gdb.base/a2-run.exp
10330 * gdb.base/advance.exp
10331 * gdb.base/all-bin.exp
10332 * gdb.base/anon.exp
10333 * gdb.base/args.exp
10334 * gdb.base/arithmet.exp
10335 * gdb.base/async-shell.exp
10336 * gdb.base/async.exp
10337 * gdb.base/attach-pie-noexec.exp
10338 * gdb.base/attach-twice.exp
10339 * gdb.base/auto-load.exp
10340 * gdb.base/bang.exp
10341 * gdb.base/bitfields.exp
10342 * gdb.base/break-always.exp
10343 * gdb.base/break-caller-line.exp
10344 * gdb.base/break-entry.exp
10345 * gdb.base/break-inline.exp
10346 * gdb.base/break-on-linker-gcd-function.exp
10347 * gdb.base/break-probes.exp
10348 * gdb.base/break.exp
10349 * gdb.base/breakpoint-shadow.exp
10350 * gdb.base/call-ar-st.exp
10351 * gdb.base/call-sc.exp
10352 * gdb.base/call-signal-resume.exp
10353 * gdb.base/call-strs.exp
10354 * gdb.base/callfuncs.exp
10355 * gdb.base/catch-fork-static.exp
10356 * gdb.base/catch-gdb-caused-signals.exp
10357 * gdb.base/catch-load.exp
10358 * gdb.base/catch-signal-fork.exp
10359 * gdb.base/catch-signal.exp
10360 * gdb.base/catch-syscall.exp
10361 * gdb.base/charset.exp
10362 * gdb.base/checkpoint.exp
10363 * gdb.base/chng-syms.exp
10364 * gdb.base/code-expr.exp
10365 * gdb.base/code_elim.exp
10366 * gdb.base/commands.exp
10367 * gdb.base/completion.exp
10368 * gdb.base/complex.exp
10369 * gdb.base/cond-expr.exp
10370 * gdb.base/condbreak.exp
10371 * gdb.base/consecutive.exp
10372 * gdb.base/continue-all-already-running.exp
10373 * gdb.base/coredump-filter.exp
10374 * gdb.base/corefile.exp
10375 * gdb.base/dbx.exp
10376 * gdb.base/debug-expr.exp
10377 * gdb.base/define.exp
10378 * gdb.base/del.exp
10379 * gdb.base/disabled-location.exp
10380 * gdb.base/disasm-end-cu.exp
10381 * gdb.base/disasm-optim.exp
10382 * gdb.base/display.exp
10383 * gdb.base/duplicate-bp.exp
10384 * gdb.base/ena-dis-br.exp
10385 * gdb.base/ending-run.exp
10386 * gdb.base/enumval.exp
10387 * gdb.base/environ.exp
10388 * gdb.base/eu-strip-infcall.exp
10389 * gdb.base/eval-avoid-side-effects.exp
10390 * gdb.base/eval-skip.exp
10391 * gdb.base/exitsignal.exp
10392 * gdb.base/expand-psymtabs.exp
10393 * gdb.base/filesym.exp
10394 * gdb.base/find-unmapped.exp
10395 * gdb.base/finish.exp
10396 * gdb.base/float.exp
10397 * gdb.base/foll-exec-mode.exp
10398 * gdb.base/foll-exec.exp
10399 * gdb.base/foll-fork.exp
10400 * gdb.base/fortran-sym-case.exp
10401 * gdb.base/freebpcmd.exp
10402 * gdb.base/func-ptr.exp
10403 * gdb.base/func-ptrs.exp
10404 * gdb.base/funcargs.exp
10405 * gdb.base/gcore-buffer-overflow.exp
10406 * gdb.base/gcore-relro-pie.exp
10407 * gdb.base/gcore-relro.exp
10408 * gdb.base/gcore.exp
10409 * gdb.base/gdb1090.exp
10410 * gdb.base/gdb11530.exp
10411 * gdb.base/gdb11531.exp
10412 * gdb.base/gdb1821.exp
10413 * gdb.base/gdbindex-stabs.exp
10414 * gdb.base/gdbvars.exp
10415 * gdb.base/hbreak.exp
10416 * gdb.base/hbreak2.exp
10417 * gdb.base/included.exp
10418 * gdb.base/infcall-input.exp
10419 * gdb.base/inferior-died.exp
10420 * gdb.base/infnan.exp
10421 * gdb.base/info-macros.exp
10422 * gdb.base/info-os.exp
10423 * gdb.base/info-proc.exp
10424 * gdb.base/info-shared.exp
10425 * gdb.base/info-target.exp
10426 * gdb.base/infoline.exp
10427 * gdb.base/interp.exp
10428 * gdb.base/interrupt.exp
10429 * gdb.base/jit-reader.exp
10430 * gdb.base/jit-simple.exp
10431 * gdb.base/kill-after-signal.exp
10432 * gdb.base/kill-detach-inferiors-cmd.exp
10433 * gdb.base/label.exp
10434 * gdb.base/langs.exp
10435 * gdb.base/ldbl_e308.exp
10436 * gdb.base/line-symtabs.exp
10437 * gdb.base/linespecs.exp
10438 * gdb.base/list.exp
10439 * gdb.base/long_long.exp
10440 * gdb.base/longest-types.exp
10441 * gdb.base/maint.exp
10442 * gdb.base/max-value-size.exp
10443 * gdb.base/memattr.exp
10444 * gdb.base/mips_pro.exp
10445 * gdb.base/morestack.exp
10446 * gdb.base/moribund-step.exp
10447 * gdb.base/multi-forks.exp
10448 * gdb.base/nested-addr.exp
10449 * gdb.base/nextoverexit.exp
10450 * gdb.base/noreturn-finish.exp
10451 * gdb.base/noreturn-return.exp
10452 * gdb.base/nostdlib.exp
10453 * gdb.base/offsets.exp
10454 * gdb.base/opaque.exp
10455 * gdb.base/pc-fp.exp
10456 * gdb.base/permissions.exp
10457 * gdb.base/print-symbol-loading.exp
10458 * gdb.base/prologue-include.exp
10459 * gdb.base/psymtab.exp
10460 * gdb.base/ptype.exp
10461 * gdb.base/random-signal.exp
10462 * gdb.base/randomize.exp
10463 * gdb.base/range-stepping.exp
10464 * gdb.base/readline-ask.exp
10465 * gdb.base/recpar.exp
10466 * gdb.base/recurse.exp
10467 * gdb.base/relational.exp
10468 * gdb.base/restore.exp
10469 * gdb.base/return-nodebug.exp
10470 * gdb.base/return.exp
10471 * gdb.base/run-after-attach.exp
10472 * gdb.base/save-bp.exp
10473 * gdb.base/scope.exp
10474 * gdb.base/sect-cmd.exp
10475 * gdb.base/set-lang-auto.exp
10476 * gdb.base/set-noassign.exp
10477 * gdb.base/setvar.exp
10478 * gdb.base/sigall.exp
10479 * gdb.base/sigbpt.exp
10480 * gdb.base/siginfo-addr.exp
10481 * gdb.base/siginfo-infcall.exp
10482 * gdb.base/siginfo-obj.exp
10483 * gdb.base/siginfo.exp
10484 * gdb.base/signals-state-child.exp
10485 * gdb.base/signest.exp
10486 * gdb.base/sigstep.exp
10487 * gdb.base/sizeof.exp
10488 * gdb.base/skip.exp
10489 * gdb.base/solib-corrupted.exp
10490 * gdb.base/solib-nodir.exp
10491 * gdb.base/solib-search.exp
10492 * gdb.base/stack-checking.exp
10493 * gdb.base/stale-infcall.exp
10494 * gdb.base/stap-probe.exp
10495 * gdb.base/start.exp
10496 * gdb.base/step-break.exp
10497 * gdb.base/step-bt.exp
10498 * gdb.base/step-line.exp
10499 * gdb.base/step-over-exit.exp
10500 * gdb.base/step-over-syscall.exp
10501 * gdb.base/step-resume-infcall.exp
10502 * gdb.base/step-test.exp
10503 * gdb.base/store.exp
10504 * gdb.base/structs3.exp
10505 * gdb.base/sym-file.exp
10506 * gdb.base/symbol-without-target_section.exp
10507 * gdb.base/term.exp
10508 * gdb.base/testenv.exp
10509 * gdb.base/ui-redirect.exp
10510 * gdb.base/until.exp
10511 * gdb.base/unwindonsignal.exp
10512 * gdb.base/value-double-free.exp
10513 * gdb.base/vla-datatypes.exp
10514 * gdb.base/vla-ptr.exp
10515 * gdb.base/vla-sideeffect.exp
10516 * gdb.base/volatile.exp
10517 * gdb.base/watch-cond-infcall.exp
10518 * gdb.base/watch-cond.exp
10519 * gdb.base/watch-non-mem.exp
10520 * gdb.base/watch-read.exp
10521 * gdb.base/watch-vfork.exp
10522 * gdb.base/watchpoint-cond-gone.exp
10523 * gdb.base/watchpoint-delete.exp
10524 * gdb.base/watchpoint-hw-hit-once.exp
10525 * gdb.base/watchpoint-hw.exp
10526 * gdb.base/watchpoint-stops-at-right-insn.exp
10527 * gdb.base/watchpoints.exp
10528 * gdb.base/wchar.exp
10529 * gdb.base/whatis-exp.exp
10530 * gdb.btrace/buffer-size.exp
10531 * gdb.btrace/data.exp
10532 * gdb.btrace/delta.exp
10533 * gdb.btrace/dlopen.exp
10534 * gdb.btrace/enable.exp
10535 * gdb.btrace/exception.exp
10536 * gdb.btrace/function_call_history.exp
10537 * gdb.btrace/gcore.exp
10538 * gdb.btrace/instruction_history.exp
10539 * gdb.btrace/nohist.exp
10540 * gdb.btrace/reconnect.exp
10541 * gdb.btrace/record_goto-step.exp
10542 * gdb.btrace/record_goto.exp
10543 * gdb.btrace/rn-dl-bind.exp
10544 * gdb.btrace/segv.exp
10545 * gdb.btrace/step.exp
10546 * gdb.btrace/stepi.exp
10547 * gdb.btrace/tailcall-only.exp
10548 * gdb.btrace/tailcall.exp
10549 * gdb.btrace/tsx.exp
10550 * gdb.btrace/unknown_functions.exp
10551 * gdb.btrace/vdso.exp
10552 * gdb.compile/compile-ifunc.exp
10553 * gdb.compile/compile-ops.exp
10554 * gdb.compile/compile-print.exp
10555 * gdb.compile/compile-setjmp.exp
10556 * gdb.cp/abstract-origin.exp
10557 * gdb.cp/ambiguous.exp
10558 * gdb.cp/annota2.exp
10559 * gdb.cp/annota3.exp
10560 * gdb.cp/anon-ns.exp
10561 * gdb.cp/anon-struct.exp
10562 * gdb.cp/anon-union.exp
10563 * gdb.cp/arg-reference.exp
10564 * gdb.cp/baseenum.exp
10565 * gdb.cp/bool.exp
10566 * gdb.cp/breakpoint.exp
10567 * gdb.cp/bs15503.exp
10568 * gdb.cp/call-c.exp
10569 * gdb.cp/casts.exp
10570 * gdb.cp/chained-calls.exp
10571 * gdb.cp/class2.exp
10572 * gdb.cp/classes.exp
10573 * gdb.cp/cmpd-minsyms.exp
10574 * gdb.cp/converts.exp
10575 * gdb.cp/cp-relocate.exp
10576 * gdb.cp/cpcompletion.exp
10577 * gdb.cp/cpexprs.exp
10578 * gdb.cp/cplabel.exp
10579 * gdb.cp/cplusfuncs.exp
10580 * gdb.cp/cpsizeof.exp
10581 * gdb.cp/ctti.exp
10582 * gdb.cp/derivation.exp
10583 * gdb.cp/destrprint.exp
10584 * gdb.cp/dispcxx.exp
10585 * gdb.cp/enum-class.exp
10586 * gdb.cp/exception.exp
10587 * gdb.cp/exceptprint.exp
10588 * gdb.cp/expand-psymtabs-cxx.exp
10589 * gdb.cp/expand-sals.exp
10590 * gdb.cp/extern-c.exp
10591 * gdb.cp/filename.exp
10592 * gdb.cp/formatted-ref.exp
10593 * gdb.cp/fpointer.exp
10594 * gdb.cp/gdb1355.exp
10595 * gdb.cp/gdb2495.exp
10596 * gdb.cp/hang.exp
10597 * gdb.cp/impl-this.exp
10598 * gdb.cp/infcall-dlopen.exp
10599 * gdb.cp/inherit.exp
10600 * gdb.cp/iostream.exp
10601 * gdb.cp/koenig.exp
10602 * gdb.cp/local.exp
10603 * gdb.cp/m-data.exp
10604 * gdb.cp/m-static.exp
10605 * gdb.cp/mb-ctor.exp
10606 * gdb.cp/mb-inline.exp
10607 * gdb.cp/mb-templates.exp
10608 * gdb.cp/member-name.exp
10609 * gdb.cp/member-ptr.exp
10610 * gdb.cp/meth-typedefs.exp
10611 * gdb.cp/method.exp
10612 * gdb.cp/method2.exp
10613 * gdb.cp/minsym-fallback.exp
10614 * gdb.cp/misc.exp
10615 * gdb.cp/namelessclass.exp
10616 * gdb.cp/namespace-enum.exp
10617 * gdb.cp/namespace-nested-import.exp
10618 * gdb.cp/namespace.exp
10619 * gdb.cp/nextoverthrow.exp
10620 * gdb.cp/no-dmgl-verbose.exp
10621 * gdb.cp/non-trivial-retval.exp
10622 * gdb.cp/noparam.exp
10623 * gdb.cp/nsdecl.exp
10624 * gdb.cp/nsimport.exp
10625 * gdb.cp/nsnested.exp
10626 * gdb.cp/nsnoimports.exp
10627 * gdb.cp/nsrecurs.exp
10628 * gdb.cp/nsstress.exp
10629 * gdb.cp/nsusing.exp
10630 * gdb.cp/operator.exp
10631 * gdb.cp/oranking.exp
10632 * gdb.cp/overload-const.exp
10633 * gdb.cp/overload.exp
10634 * gdb.cp/ovldbreak.exp
10635 * gdb.cp/ovsrch.exp
10636 * gdb.cp/paren-type.exp
10637 * gdb.cp/parse-lang.exp
10638 * gdb.cp/pass-by-ref.exp
10639 * gdb.cp/pr-1023.exp
10640 * gdb.cp/pr-1210.exp
10641 * gdb.cp/pr-574.exp
10642 * gdb.cp/pr10687.exp
10643 * gdb.cp/pr12028.exp
10644 * gdb.cp/pr17132.exp
10645 * gdb.cp/pr17494.exp
10646 * gdb.cp/pr9067.exp
10647 * gdb.cp/pr9167.exp
10648 * gdb.cp/pr9631.exp
10649 * gdb.cp/printmethod.exp
10650 * gdb.cp/psmang.exp
10651 * gdb.cp/psymtab-parameter.exp
10652 * gdb.cp/ptype-cv-cp.exp
10653 * gdb.cp/ptype-flags.exp
10654 * gdb.cp/re-set-overloaded.exp
10655 * gdb.cp/ref-types.exp
10656 * gdb.cp/rtti.exp
10657 * gdb.cp/scope-err.exp
10658 * gdb.cp/shadow.exp
10659 * gdb.cp/smartp.exp
10660 * gdb.cp/static-method.exp
10661 * gdb.cp/static-print-quit.exp
10662 * gdb.cp/temargs.exp
10663 * gdb.cp/templates.exp
10664 * gdb.cp/try_catch.exp
10665 * gdb.cp/typedef-operator.exp
10666 * gdb.cp/typeid.exp
10667 * gdb.cp/userdef.exp
10668 * gdb.cp/using-crash.exp
10669 * gdb.cp/var-tag.exp
10670 * gdb.cp/virtbase.exp
10671 * gdb.cp/virtfunc.exp
10672 * gdb.cp/virtfunc2.exp
10673 * gdb.cp/vla-cxx.exp
10674 * gdb.disasm/t01_mov.exp
10675 * gdb.disasm/t02_mova.exp
10676 * gdb.disasm/t03_add.exp
10677 * gdb.disasm/t04_sub.exp
10678 * gdb.disasm/t05_cmp.exp
10679 * gdb.disasm/t06_ari2.exp
10680 * gdb.disasm/t07_ari3.exp
10681 * gdb.disasm/t08_or.exp
10682 * gdb.disasm/t09_xor.exp
10683 * gdb.disasm/t10_and.exp
10684 * gdb.disasm/t11_logs.exp
10685 * gdb.disasm/t12_bit.exp
10686 * gdb.disasm/t13_otr.exp
10687 * gdb.dlang/circular.exp
10688 * gdb.dwarf2/arr-stride.exp
10689 * gdb.dwarf2/arr-subrange.exp
10690 * gdb.dwarf2/atomic-type.exp
10691 * gdb.dwarf2/bad-regnum.exp
10692 * gdb.dwarf2/bitfield-parent-optimized-out.exp
10693 * gdb.dwarf2/callframecfa.exp
10694 * gdb.dwarf2/clztest.exp
10695 * gdb.dwarf2/corrupt.exp
10696 * gdb.dwarf2/data-loc.exp
10697 * gdb.dwarf2/dup-psym.exp
10698 * gdb.dwarf2/dw2-anon-mptr.exp
10699 * gdb.dwarf2/dw2-anonymous-func.exp
10700 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
10701 * gdb.dwarf2/dw2-bad-unresolved.exp
10702 * gdb.dwarf2/dw2-basic.exp
10703 * gdb.dwarf2/dw2-canonicalize-type.exp
10704 * gdb.dwarf2/dw2-case-insensitive.exp
10705 * gdb.dwarf2/dw2-common-block.exp
10706 * gdb.dwarf2/dw2-compdir-oldgcc.exp
10707 * gdb.dwarf2/dw2-compressed.exp
10708 * gdb.dwarf2/dw2-const.exp
10709 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
10710 * gdb.dwarf2/dw2-cu-size.exp
10711 * gdb.dwarf2/dw2-dup-frame.exp
10712 * gdb.dwarf2/dw2-entry-value.exp
10713 * gdb.dwarf2/dw2-icycle.exp
10714 * gdb.dwarf2/dw2-ifort-parameter.exp
10715 * gdb.dwarf2/dw2-inline-break.exp
10716 * gdb.dwarf2/dw2-inline-param.exp
10717 * gdb.dwarf2/dw2-intercu.exp
10718 * gdb.dwarf2/dw2-intermix.exp
10719 * gdb.dwarf2/dw2-lexical-block-bare.exp
10720 * gdb.dwarf2/dw2-linkage-name-trust.exp
10721 * gdb.dwarf2/dw2-minsym-in-cu.exp
10722 * gdb.dwarf2/dw2-noloc.exp
10723 * gdb.dwarf2/dw2-op-call.exp
10724 * gdb.dwarf2/dw2-op-out-param.exp
10725 * gdb.dwarf2/dw2-opt-structptr.exp
10726 * gdb.dwarf2/dw2-param-error.exp
10727 * gdb.dwarf2/dw2-producer.exp
10728 * gdb.dwarf2/dw2-ranges-base.exp
10729 * gdb.dwarf2/dw2-ref-missing-frame.exp
10730 * gdb.dwarf2/dw2-reg-undefined.exp
10731 * gdb.dwarf2/dw2-regno-invalid.exp
10732 * gdb.dwarf2/dw2-restore.exp
10733 * gdb.dwarf2/dw2-restrict.exp
10734 * gdb.dwarf2/dw2-single-line-discriminators.exp
10735 * gdb.dwarf2/dw2-strp.exp
10736 * gdb.dwarf2/dw2-undefined-ret-addr.exp
10737 * gdb.dwarf2/dw2-unresolved.exp
10738 * gdb.dwarf2/dw2-var-zero-addr.exp
10739 * gdb.dwarf2/dw4-sig-types.exp
10740 * gdb.dwarf2/dwz.exp
10741 * gdb.dwarf2/dynarr-ptr.exp
10742 * gdb.dwarf2/enum-type.exp
10743 * gdb.dwarf2/gdb-index.exp
10744 * gdb.dwarf2/implptr-64bit.exp
10745 * gdb.dwarf2/implptr-optimized-out.exp
10746 * gdb.dwarf2/implptr.exp
10747 * gdb.dwarf2/implref-array.exp
10748 * gdb.dwarf2/implref-const.exp
10749 * gdb.dwarf2/implref-global.exp
10750 * gdb.dwarf2/implref-struct.exp
10751 * gdb.dwarf2/mac-fileno.exp
10752 * gdb.dwarf2/main-subprogram.exp
10753 * gdb.dwarf2/member-ptr-forwardref.exp
10754 * gdb.dwarf2/method-ptr.exp
10755 * gdb.dwarf2/missing-sig-type.exp
10756 * gdb.dwarf2/nonvar-access.exp
10757 * gdb.dwarf2/opaque-type-lookup.exp
10758 * gdb.dwarf2/pieces-optimized-out.exp
10759 * gdb.dwarf2/pieces.exp
10760 * gdb.dwarf2/pr10770.exp
10761 * gdb.dwarf2/pr13961.exp
10762 * gdb.dwarf2/staticvirtual.exp
10763 * gdb.dwarf2/subrange.exp
10764 * gdb.dwarf2/symtab-producer.exp
10765 * gdb.dwarf2/trace-crash.exp
10766 * gdb.dwarf2/typeddwarf.exp
10767 * gdb.dwarf2/valop.exp
10768 * gdb.dwarf2/watch-notconst.exp
10769 * gdb.fortran/array-element.exp
10770 * gdb.fortran/charset.exp
10771 * gdb.fortran/common-block.exp
10772 * gdb.fortran/complex.exp
10773 * gdb.fortran/derived-type-function.exp
10774 * gdb.fortran/derived-type.exp
10775 * gdb.fortran/logical.exp
10776 * gdb.fortran/module.exp
10777 * gdb.fortran/multi-dim.exp
10778 * gdb.fortran/nested-funcs.exp
10779 * gdb.fortran/print-formatted.exp
10780 * gdb.fortran/subarray.exp
10781 * gdb.fortran/vla-alloc-assoc.exp
10782 * gdb.fortran/vla-datatypes.exp
10783 * gdb.fortran/vla-history.exp
10784 * gdb.fortran/vla-ptr-info.exp
10785 * gdb.fortran/vla-ptype-sub.exp
10786 * gdb.fortran/vla-ptype.exp
10787 * gdb.fortran/vla-sizeof.exp
10788 * gdb.fortran/vla-type.exp
10789 * gdb.fortran/vla-value-sub-arbitrary.exp
10790 * gdb.fortran/vla-value-sub-finish.exp
10791 * gdb.fortran/vla-value-sub.exp
10792 * gdb.fortran/vla-value.exp
10793 * gdb.fortran/whatis_type.exp
10794 * gdb.go/chan.exp
10795 * gdb.go/handcall.exp
10796 * gdb.go/hello.exp
10797 * gdb.go/integers.exp
10798 * gdb.go/methods.exp
10799 * gdb.go/package.exp
10800 * gdb.go/strings.exp
10801 * gdb.go/types.exp
10802 * gdb.go/unsafe.exp
10803 * gdb.guile/scm-arch.exp
10804 * gdb.guile/scm-block.exp
10805 * gdb.guile/scm-breakpoint.exp
10806 * gdb.guile/scm-cmd.exp
10807 * gdb.guile/scm-disasm.exp
10808 * gdb.guile/scm-equal.exp
10809 * gdb.guile/scm-frame-args.exp
10810 * gdb.guile/scm-frame-inline.exp
10811 * gdb.guile/scm-frame.exp
10812 * gdb.guile/scm-iterator.exp
10813 * gdb.guile/scm-math.exp
10814 * gdb.guile/scm-objfile.exp
10815 * gdb.guile/scm-ports.exp
10816 * gdb.guile/scm-symbol.exp
10817 * gdb.guile/scm-symtab.exp
10818 * gdb.guile/scm-value-cc.exp
10819 * gdb.guile/types-module.exp
10820 * gdb.linespec/break-ask.exp
10821 * gdb.linespec/cpexplicit.exp
10822 * gdb.linespec/explicit.exp
10823 * gdb.linespec/keywords.exp
10824 * gdb.linespec/linespec.exp
10825 * gdb.linespec/ls-dollar.exp
10826 * gdb.linespec/ls-errs.exp
10827 * gdb.linespec/skip-two.exp
10828 * gdb.linespec/thread.exp
10829 * gdb.mi/mi-async.exp
10830 * gdb.mi/mi-basics.exp
10831 * gdb.mi/mi-break.exp
10832 * gdb.mi/mi-catch-load.exp
10833 * gdb.mi/mi-cli.exp
10834 * gdb.mi/mi-cmd-param-changed.exp
10835 * gdb.mi/mi-console.exp
10836 * gdb.mi/mi-detach.exp
10837 * gdb.mi/mi-disassemble.exp
10838 * gdb.mi/mi-eval.exp
10839 * gdb.mi/mi-file-transfer.exp
10840 * gdb.mi/mi-file.exp
10841 * gdb.mi/mi-fill-memory.exp
10842 * gdb.mi/mi-inheritance-syntax-error.exp
10843 * gdb.mi/mi-linespec-err-cp.exp
10844 * gdb.mi/mi-logging.exp
10845 * gdb.mi/mi-memory-changed.exp
10846 * gdb.mi/mi-read-memory.exp
10847 * gdb.mi/mi-record-changed.exp
10848 * gdb.mi/mi-reg-undefined.exp
10849 * gdb.mi/mi-regs.exp
10850 * gdb.mi/mi-return.exp
10851 * gdb.mi/mi-reverse.exp
10852 * gdb.mi/mi-simplerun.exp
10853 * gdb.mi/mi-solib.exp
10854 * gdb.mi/mi-stack.exp
10855 * gdb.mi/mi-stepi.exp
10856 * gdb.mi/mi-syn-frame.exp
10857 * gdb.mi/mi-until.exp
10858 * gdb.mi/mi-var-block.exp
10859 * gdb.mi/mi-var-child.exp
10860 * gdb.mi/mi-var-cmd.exp
10861 * gdb.mi/mi-var-cp.exp
10862 * gdb.mi/mi-var-display.exp
10863 * gdb.mi/mi-var-invalidate.exp
10864 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
10865 * gdb.mi/mi-vla-fortran.exp
10866 * gdb.mi/mi-watch.exp
10867 * gdb.mi/mi2-var-child.exp
10868 * gdb.mi/user-selected-context-sync.exp
10869 * gdb.modula2/unbounded-array.exp
10870 * gdb.multi/dummy-frame-restore.exp
10871 * gdb.multi/multi-arch-exec.exp
10872 * gdb.multi/multi-arch.exp
10873 * gdb.multi/tids.exp
10874 * gdb.multi/watchpoint-multi.exp
10875 * gdb.opencl/callfuncs.exp
10876 * gdb.opencl/convs_casts.exp
10877 * gdb.opencl/datatypes.exp
10878 * gdb.opencl/operators.exp
10879 * gdb.opencl/vec_comps.exp
10880 * gdb.opt/clobbered-registers-O2.exp
10881 * gdb.opt/inline-break.exp
10882 * gdb.opt/inline-bt.exp
10883 * gdb.opt/inline-cmds.exp
10884 * gdb.opt/inline-locals.exp
10885 * gdb.pascal/case-insensitive-symbols.exp
10886 * gdb.pascal/floats.exp
10887 * gdb.pascal/gdb11492.exp
10888 * gdb.python/lib-types.exp
10889 * gdb.python/py-arch.exp
10890 * gdb.python/py-as-string.exp
10891 * gdb.python/py-bad-printers.exp
10892 * gdb.python/py-block.exp
10893 * gdb.python/py-breakpoint-create-fail.exp
10894 * gdb.python/py-breakpoint.exp
10895 * gdb.python/py-caller-is.exp
10896 * gdb.python/py-cmd.exp
10897 * gdb.python/py-explore-cc.exp
10898 * gdb.python/py-explore.exp
10899 * gdb.python/py-finish-breakpoint.exp
10900 * gdb.python/py-finish-breakpoint2.exp
10901 * gdb.python/py-frame-args.exp
10902 * gdb.python/py-frame-inline.exp
10903 * gdb.python/py-frame.exp
10904 * gdb.python/py-framefilter-mi.exp
10905 * gdb.python/py-infthread.exp
10906 * gdb.python/py-lazy-string.exp
10907 * gdb.python/py-linetable.exp
10908 * gdb.python/py-mi-events.exp
10909 * gdb.python/py-mi-objfile.exp
10910 * gdb.python/py-mi.exp
10911 * gdb.python/py-objfile.exp
10912 * gdb.python/py-pp-integral.exp
10913 * gdb.python/py-pp-maint.exp
10914 * gdb.python/py-pp-re-notag.exp
10915 * gdb.python/py-pp-registration.exp
10916 * gdb.python/py-recurse-unwind.exp
10917 * gdb.python/py-strfns.exp
10918 * gdb.python/py-symbol.exp
10919 * gdb.python/py-symtab.exp
10920 * gdb.python/py-sync-interp.exp
10921 * gdb.python/py-typeprint.exp
10922 * gdb.python/py-unwind-maint.exp
10923 * gdb.python/py-unwind.exp
10924 * gdb.python/py-value-cc.exp
10925 * gdb.python/py-xmethods.exp
10926 * gdb.reverse/amd64-tailcall-reverse.exp
10927 * gdb.reverse/break-precsave.exp
10928 * gdb.reverse/break-reverse.exp
10929 * gdb.reverse/consecutive-precsave.exp
10930 * gdb.reverse/consecutive-reverse.exp
10931 * gdb.reverse/finish-precsave.exp
10932 * gdb.reverse/finish-reverse-bkpt.exp
10933 * gdb.reverse/finish-reverse.exp
10934 * gdb.reverse/fstatat-reverse.exp
10935 * gdb.reverse/getresuid-reverse.exp
10936 * gdb.reverse/i386-precsave.exp
10937 * gdb.reverse/i386-reverse.exp
10938 * gdb.reverse/i386-sse-reverse.exp
10939 * gdb.reverse/i387-env-reverse.exp
10940 * gdb.reverse/i387-stack-reverse.exp
10941 * gdb.reverse/insn-reverse.exp
10942 * gdb.reverse/machinestate-precsave.exp
10943 * gdb.reverse/machinestate.exp
10944 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10945 * gdb.reverse/pipe-reverse.exp
10946 * gdb.reverse/readv-reverse.exp
10947 * gdb.reverse/recvmsg-reverse.exp
10948 * gdb.reverse/rerun-prec.exp
10949 * gdb.reverse/s390-mvcle.exp
10950 * gdb.reverse/step-precsave.exp
10951 * gdb.reverse/step-reverse.exp
10952 * gdb.reverse/time-reverse.exp
10953 * gdb.reverse/until-precsave.exp
10954 * gdb.reverse/until-reverse.exp
10955 * gdb.reverse/waitpid-reverse.exp
10956 * gdb.reverse/watch-precsave.exp
10957 * gdb.reverse/watch-reverse.exp
10958 * gdb.rust/generics.exp
10959 * gdb.rust/methods.exp
10960 * gdb.rust/modules.exp
10961 * gdb.rust/simple.exp
10962 * gdb.server/connect-with-no-symbol-file.exp
10963 * gdb.server/ext-attach.exp
10964 * gdb.server/ext-restart.exp
10965 * gdb.server/ext-wrapper.exp
10966 * gdb.server/file-transfer.exp
10967 * gdb.server/server-exec-info.exp
10968 * gdb.server/server-kill.exp
10969 * gdb.server/server-mon.exp
10970 * gdb.server/wrapper.exp
10971 * gdb.stabs/exclfwd.exp
10972 * gdb.stabs/gdb11479.exp
10973 * gdb.threads/clone-new-thread-event.exp
10974 * gdb.threads/corethreads.exp
10975 * gdb.threads/current-lwp-dead.exp
10976 * gdb.threads/dlopen-libpthread.exp
10977 * gdb.threads/gcore-thread.exp
10978 * gdb.threads/sigstep-threads.exp
10979 * gdb.threads/watchpoint-fork.exp
10980 * gdb.trace/actions-changed.exp
10981 * gdb.trace/backtrace.exp
10982 * gdb.trace/change-loc.exp
10983 * gdb.trace/circ.exp
10984 * gdb.trace/collection.exp
10985 * gdb.trace/disconnected-tracing.exp
10986 * gdb.trace/ftrace.exp
10987 * gdb.trace/mi-trace-frame-collected.exp
10988 * gdb.trace/mi-trace-unavailable.exp
10989 * gdb.trace/mi-traceframe-changed.exp
10990 * gdb.trace/mi-tsv-changed.exp
10991 * gdb.trace/no-attach-trace.exp
10992 * gdb.trace/passc-dyn.exp
10993 * gdb.trace/qtro.exp
10994 * gdb.trace/range-stepping.exp
10995 * gdb.trace/read-memory.exp
10996 * gdb.trace/save-trace.exp
10997 * gdb.trace/signal.exp
10998 * gdb.trace/status-stop.exp
10999 * gdb.trace/tfile.exp
11000 * gdb.trace/trace-break.exp
11001 * gdb.trace/trace-buffer-size.exp
11002 * gdb.trace/trace-condition.exp
11003 * gdb.trace/tracefile-pseudo-reg.exp
11004 * gdb.trace/tstatus.exp
11005 * gdb.trace/unavailable.exp
11006 * gdb.trace/while-dyn.exp
11007 * gdb.trace/while-stepping.exp
11008
34c41c68
DE
110092016-12-22 Doug Evans <xdje42@gmail.com>
11010
11011 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
11012 and msymbols.
11013
16e69324
YQ
110142016-12-19 Yao Qi <yao.qi@linaro.org>
11015
11016 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
11017 (test_with_self): Don't call do_steps_and_nexts, and remove
11018 code about stepping into xmalloc.
11019
f94f411b
YQ
110202016-12-09 Yao Qi <yao.qi@linaro.org>
11021
11022 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
11023
110242016-12-09 Yao Qi <yao.qi@linaro.org>
11025
11026 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
11027
f1b5deee
PA
110282016-12-09 Pedro Alves <palves@redhat.com>
11029
11030 * gdb.base/all-architectures-0.exp: New file.
11031 * gdb.base/all-architectures-1.exp: New file.
11032 * gdb.base/all-architectures-2.exp: New file.
11033 * gdb.base/all-architectures-3.exp: New file.
11034 * gdb.base/all-architectures-4.exp: New file.
11035 * gdb.base/all-architectures-5.exp: New file.
11036 * gdb.base/all-architectures-6.exp: New file.
11037 * gdb.base/all-architectures-7.exp: New file.
11038 * gdb.base/all-architectures.exp.in: New file.
11039
364ca42e
YQ
110402016-12-09 Yao Qi <yao.qi@linaro.org>
11041
11042 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
11043
107c2d62
LM
110442016-12-02 Luis Machado <lgustavo@codesourcery.com>
11045
11046 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
11047 possible.
11048 Remove useless pattern-matching code.
11049
df3ee9ca
PA
110502016-12-02 Pedro Alves <palves@redhat.com>
11051
11052 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
11053 procedure.
11054 (top level): Call it.
11055
ec835369
PA
110562016-12-02 Pedro Alves <palves@redhat.com>
11057
11058 * gdb.base/commands.exp (user_defined_command_args_stack_test):
11059 New procedure.
11060 (top level): Call it.
11061
01770bbd
PA
110622016-12-02 Pedro Alves <palves@redhat.com>
11063
11064 PR cli/20559
11065 * gdb.base/commands.exp (user_defined_command_args_eval): New
11066 procedure.
11067 (top level): Call it.
11068
008459ea
LM
110692016-12-02 Luis Machado <lgustavo@codesourcery.com>
11070
11071 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
11072 timeout handling.
11073
0c1b455e
TT
110742016-12-02 Tom Tromey <tom@tromey.com>
11075
11076 * gdb.dwarf2/main-subprogram.c: New file.
11077 * gdb.dwarf2/main-subprogram.exp: New file.
11078
018572b8
LM
110792016-12-01 Luis Machado <lgustavo@codesourcery.com>
11080
11081 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
11082 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
11083 gdb_test_no_output for a couple of cases.
11084 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
11085
84c93cd5
LM
110862016-12-01 Luis Machado <lgustavo@codesourcery.com>
11087
11088 Fix test names and standardize compilation error messages throughout
11089 the following files:
11090
11091 * gdb.ada/start.exp
11092 * gdb.arch/alpha-step.exp
11093 * gdb.arch/e500-prologue.exp
11094 * gdb.arch/ftrace-insn-reloc.exp
11095 * gdb.arch/gdb1291.exp
11096 * gdb.arch/gdb1431.exp
11097 * gdb.arch/gdb1558.exp
11098 * gdb.arch/i386-dr3-watch.exp
11099 * gdb.arch/i386-sse-stack-align.exp
11100 * gdb.arch/ia64-breakpoint-shadow.exp
11101 * gdb.arch/pa-nullify.exp
11102 * gdb.arch/powerpc-aix-prologue.exp
11103 * gdb.arch/thumb-bx-pc.exp
11104 * gdb.base/annota1.exp
11105 * gdb.base/annota3.exp
11106 * gdb.base/arrayidx.exp
11107 * gdb.base/assign.exp
11108 * gdb.base/attach.exp
11109 * gdb.base/auxv.exp
11110 * gdb.base/bang.exp
11111 * gdb.base/bfp-test.exp
11112 * gdb.base/bigcore.exp
11113 * gdb.base/bitfields2.exp
11114 * gdb.base/break-fun-addr.exp
11115 * gdb.base/break-probes.exp
11116 * gdb.base/call-rt-st.exp
11117 * gdb.base/callexit.exp
11118 * gdb.base/catch-fork-kill.exp
11119 * gdb.base/charset.exp
11120 * gdb.base/checkpoint.exp
11121 * gdb.base/comprdebug.exp
11122 * gdb.base/constvars.exp
11123 * gdb.base/coredump-filter.exp
11124 * gdb.base/cursal.exp
11125 * gdb.base/cvexpr.exp
11126 * gdb.base/detach.exp
11127 * gdb.base/display.exp
11128 * gdb.base/dmsym.exp
11129 * gdb.base/dprintf-pending.exp
11130 * gdb.base/dso2dso.exp
11131 * gdb.base/dtrace-probe.exp
11132 * gdb.base/dump.exp
11133 * gdb.base/enum_cond.exp
11134 * gdb.base/exe-lock.exp
11135 * gdb.base/exec-invalid-sysroot.exp
11136 * gdb.base/execl-update-breakpoints.exp
11137 * gdb.base/exprs.exp
11138 * gdb.base/fileio.exp
11139 * gdb.base/find.exp
11140 * gdb.base/finish.exp
11141 * gdb.base/fixsection.exp
11142 * gdb.base/foll-vfork.exp
11143 * gdb.base/frame-args.exp
11144 * gdb.base/gcore.exp
11145 * gdb.base/gdb1250.exp
11146 * gdb.base/global-var-nested-by-dso.exp
11147 * gdb.base/gnu-ifunc.exp
11148 * gdb.base/hashline1.exp
11149 * gdb.base/hashline2.exp
11150 * gdb.base/hashline3.exp
11151 * gdb.base/hbreak-in-shr-unsupported.exp
11152 * gdb.base/huge.exp
11153 * gdb.base/infcall-input.exp
11154 * gdb.base/info-fun.exp
11155 * gdb.base/info-shared.exp
11156 * gdb.base/jit-simple.exp
11157 * gdb.base/jit-so.exp
11158 * gdb.base/jit.exp
11159 * gdb.base/jump.exp
11160 * gdb.base/label.exp
11161 * gdb.base/lineinc.exp
11162 * gdb.base/logical.exp
11163 * gdb.base/longjmp.exp
11164 * gdb.base/macscp.exp
11165 * gdb.base/miscexprs.exp
11166 * gdb.base/new-ui-echo.exp
11167 * gdb.base/new-ui-pending-input.exp
11168 * gdb.base/new-ui.exp
11169 * gdb.base/nodebug.exp
11170 * gdb.base/nofield.exp
11171 * gdb.base/offsets.exp
11172 * gdb.base/overlays.exp
11173 * gdb.base/pending.exp
11174 * gdb.base/pointers.exp
11175 * gdb.base/pr11022.exp
11176 * gdb.base/printcmds.exp
11177 * gdb.base/prologue.exp
11178 * gdb.base/ptr-typedef.exp
11179 * gdb.base/realname-expand.exp
11180 * gdb.base/relativedebug.exp
11181 * gdb.base/relocate.exp
11182 * gdb.base/remote.exp
11183 * gdb.base/reread.exp
11184 * gdb.base/return2.exp
11185 * gdb.base/savedregs.exp
11186 * gdb.base/sep.exp
11187 * gdb.base/sepdebug.exp
11188 * gdb.base/sepsymtab.exp
11189 * gdb.base/set-inferior-tty.exp
11190 * gdb.base/setshow.exp
11191 * gdb.base/shlib-call.exp
11192 * gdb.base/sigaltstack.exp
11193 * gdb.base/siginfo-addr.exp
11194 * gdb.base/signals.exp
11195 * gdb.base/signull.exp
11196 * gdb.base/sigrepeat.exp
11197 * gdb.base/so-impl-ld.exp
11198 * gdb.base/solib-display.exp
11199 * gdb.base/solib-overlap.exp
11200 * gdb.base/solib-search.exp
11201 * gdb.base/solib-symbol.exp
11202 * gdb.base/structs.exp
11203 * gdb.base/structs2.exp
11204 * gdb.base/symtab-search-order.exp
11205 * gdb.base/twice.exp
11206 * gdb.base/unload.exp
11207 * gdb.base/varargs.exp
11208 * gdb.base/watchpoint-solib.exp
11209 * gdb.base/watchpoint.exp
11210 * gdb.base/whatis.exp
11211 * gdb.base/wrong_frame_bt_full.exp
11212 * gdb.btrace/dlopen.exp
11213 * gdb.cell/ea-standalone.exp
11214 * gdb.cell/ea-test.exp
11215 * gdb.cp/dispcxx.exp
11216 * gdb.cp/gdb2384.exp
11217 * gdb.cp/method2.exp
11218 * gdb.cp/nextoverthrow.exp
11219 * gdb.cp/pr10728.exp
11220 * gdb.disasm/am33.exp
11221 * gdb.disasm/h8300s.exp
11222 * gdb.disasm/mn10300.exp
11223 * gdb.disasm/sh3.exp
11224 * gdb.dwarf2/dw2-dir-file-name.exp
11225 * gdb.fortran/complex.exp
11226 * gdb.fortran/library-module.exp
11227 * gdb.guile/scm-pretty-print.exp
11228 * gdb.guile/scm-symbol.exp
11229 * gdb.guile/scm-type.exp
11230 * gdb.guile/scm-value.exp
11231 * gdb.linespec/linespec.exp
11232 * gdb.mi/gdb701.exp
11233 * gdb.mi/gdb792.exp
11234 * gdb.mi/mi-breakpoint-changed.exp
11235 * gdb.mi/mi-dprintf-pending.exp
11236 * gdb.mi/mi-dprintf.exp
11237 * gdb.mi/mi-exit-code.exp
11238 * gdb.mi/mi-pending.exp
11239 * gdb.mi/mi-solib.exp
11240 * gdb.mi/new-ui-mi-sync.exp
11241 * gdb.mi/pr11022.exp
11242 * gdb.mi/user-selected-context-sync.exp
11243 * gdb.opt/solib-intra-step.exp
11244 * gdb.python/py-events.exp
11245 * gdb.python/py-finish-breakpoint.exp
11246 * gdb.python/py-mi.exp
11247 * gdb.python/py-prettyprint.exp
11248 * gdb.python/py-shared.exp
11249 * gdb.python/py-symbol.exp
11250 * gdb.python/py-template.exp
11251 * gdb.python/py-type.exp
11252 * gdb.python/py-value.exp
11253 * gdb.reverse/solib-precsave.exp
11254 * gdb.reverse/solib-reverse.exp
11255 * gdb.server/solib-list.exp
11256 * gdb.stabs/weird.exp
11257 * gdb.threads/reconnect-signal.exp
11258 * gdb.threads/stepi-random-signal.exp
11259 * gdb.trace/actions.exp
11260 * gdb.trace/ax.exp
11261 * gdb.trace/backtrace.exp
11262 * gdb.trace/change-loc.exp
11263 * gdb.trace/deltrace.exp
11264 * gdb.trace/ftrace-lock.exp
11265 * gdb.trace/ftrace.exp
11266 * gdb.trace/infotrace.exp
11267 * gdb.trace/mi-tracepoint-changed.exp
11268 * gdb.trace/packetlen.exp
11269 * gdb.trace/passcount.exp
11270 * gdb.trace/pending.exp
11271 * gdb.trace/range-stepping.exp
11272 * gdb.trace/report.exp
11273 * gdb.trace/stap-trace.exp
11274 * gdb.trace/tfind.exp
11275 * gdb.trace/trace-break.exp
11276 * gdb.trace/trace-condition.exp
11277 * gdb.trace/trace-enable-disable.exp
11278 * gdb.trace/trace-mt.exp
11279 * gdb.trace/tracecmd.exp
11280 * gdb.trace/tspeed.exp
11281 * gdb.trace/tsv.exp
11282 * lib/perftest.exp
11283
fb9feb35
LM
112842016-12-01 Luis Machado <lgustavo@codesourcery.com>
11285
11286 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
11287 with gdb_test_no_output.
11288 Use command as test name.
11289
cd2ddb6c
LM
112902016-12-01 Luis Machado <lgustavo@codesourcery.com>
11291
11292 Fix test names starting with uppercase throughout the files.
11293
11294 * gdb.ada/assign_1.exp
11295 * gdb.ada/boolean_expr.exp
11296 * gdb.base/arrayidx.exp
11297 * gdb.base/del.exp
11298 * gdb.base/gcore-buffer-overflow.exp
11299 * gdb.base/testenv.exp
11300 * gdb.compile/compile.exp
11301 * gdb.python/py-framefilter-invalidarg.exp
11302 * gdb.python/py-framefilter.exp
11303
bb95117e
LM
113042016-12-01 Luis Machado <lgustavo@codesourcery.com>
11305
11306 Fix test names starting with uppercase throughout the files.
11307
11308 * gdb.ada/array_return.exp
11309 * gdb.ada/expr_delims.exp
11310 * gdb.ada/mi_dyn_arr.exp
11311 * gdb.ada/mi_interface.exp
11312 * gdb.ada/mi_var_array.exp
11313 * gdb.ada/watch_arg.exp
11314 * gdb.arch/alpha-step.exp
11315 * gdb.arch/altivec-regs.exp
11316 * gdb.arch/e500-regs.exp
11317 * gdb.arch/powerpc-d128-regs.exp
11318 * gdb.base/arrayidx.exp
11319 * gdb.base/break.exp
11320 * gdb.base/checkpoint.exp
11321 * gdb.base/debug-expr.exp
11322 * gdb.base/dmsym.exp
11323 * gdb.base/radix.exp
11324 * gdb.base/sepdebug.exp
11325 * gdb.base/testenv.exp
11326 * gdb.base/watch_thread_num.exp
11327 * gdb.base/watchpoint-cond-gone.exp
11328 * gdb.cell/break.exp
11329 * gdb.cell/ea-cache.exp
11330 * gdb.compile/compile.exp
11331 * gdb.cp/gdb2495.exp
11332 * gdb.gdb/selftest.exp
11333 * gdb.gdb/xfullpath.exp
11334 * gdb.go/hello.exp
11335 * gdb.go/integers.exp
11336 * gdb.objc/basicclass.exp
11337 * gdb.pascal/hello.exp
11338 * gdb.pascal/integers.exp
11339 * gdb.python/py-breakpoint.exp
11340 * gdb.python/py-cmd.exp
11341 * gdb.python/py-linetable.exp
11342 * gdb.python/py-xmethods.exp
11343 * gdb.python/python.exp
11344 * gdb.reverse/consecutive-precsave.exp
11345 * gdb.reverse/finish-precsave.exp
11346 * gdb.reverse/i386-precsave.exp
11347 * gdb.reverse/machinestate-precsave.exp
11348 * gdb.reverse/sigall-precsave.exp
11349 * gdb.reverse/solib-precsave.exp
11350 * gdb.reverse/step-precsave.exp
11351 * gdb.reverse/until-precsave.exp
11352 * gdb.reverse/watch-precsave.exp
11353 * gdb.threads/leader-exit.exp
11354 * gdb.threads/pthreads.exp
11355 * gdb.threads/wp-replication.exp
11356 * gdb.trace/actions.exp
11357 * gdb.trace/mi-tsv-changed.exp
11358 * gdb.trace/tsv.exp
11359
de97fdd4
LM
113602016-12-01 Luis Machado <lgustavo@codesourcery.com>
11361
11362 Fix test names starting with uppercase throughout the files.
11363
11364 * gdb.arch/i386-bp_permanent.exp
11365 * gdb.arch/i386-gnu-cfi.exp
11366 * gdb.base/disasm-end-cu.exp
11367 * gdb.base/macscp.exp
11368 * gdb.base/pending.exp
11369 * gdb.base/watch_thread_num.exp
11370 * gdb.cp/exception.exp
11371 * gdb.cp/gdb2495.exp
11372 * gdb.cp/local.exp
11373 * gdb.python/py-evsignal.exp
11374 * gdb.python/python.exp
11375 * gdb.trace/tracecmd.exp
11376
9f058c10
LM
113772016-12-01 Luis Machado <lgustavo@codesourcery.com>
11378
11379 Fix test names starting with uppercase throughout the files.
11380
11381 * gdb.base/charset.exp
11382 * gdb.base/eval.exp
11383 * gdb.base/multi-forks.exp
11384 * gdb.guile/scm-progspace.exp
11385 * gdb.opencl/datatypes.exp
11386 * gdb.python/py-block.exp
11387 * gdb.python/py-function.exp
11388 * gdb.python/py-symbol.exp
11389 * gdb.python/py-symtab.exp
11390 * gdb.python/py-xmethods.exp
11391 * gdb.reverse/break-precsave.exp
11392 * gdb.reverse/break-reverse.exp
11393 * gdb.reverse/consecutive-precsave.exp
11394 * gdb.reverse/consecutive-reverse.exp
11395 * gdb.reverse/finish-precsave.exp
11396 * gdb.reverse/finish-reverse-bkpt.exp
11397 * gdb.reverse/finish-reverse.exp
11398 * gdb.reverse/fstatat-reverse.exp
11399 * gdb.reverse/getresuid-reverse.exp
11400 * gdb.reverse/i386-precsave.exp
11401 * gdb.reverse/i386-reverse.exp
11402 * gdb.reverse/i386-sse-reverse.exp
11403 * gdb.reverse/i387-stack-reverse.exp
11404 * gdb.reverse/insn-reverse.exp
11405 * gdb.reverse/machinestate-precsave.exp
11406 * gdb.reverse/machinestate.exp
11407 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11408 * gdb.reverse/pipe-reverse.exp
11409 * gdb.reverse/readv-reverse.exp
11410 * gdb.reverse/recvmsg-reverse.exp
11411 * gdb.reverse/rerun-prec.exp
11412 * gdb.reverse/s390-mvcle.exp
11413 * gdb.reverse/sigall-precsave.exp
11414 * gdb.reverse/sigall-reverse.exp
11415 * gdb.reverse/solib-precsave.exp
11416 * gdb.reverse/solib-reverse.exp
11417 * gdb.reverse/step-precsave.exp
11418 * gdb.reverse/step-reverse.exp
11419 * gdb.reverse/time-reverse.exp
11420 * gdb.reverse/until-precsave.exp
11421 * gdb.reverse/until-reverse.exp
11422 * gdb.reverse/waitpid-reverse.exp
11423 * gdb.reverse/watch-precsave.exp
11424 * gdb.reverse/watch-reverse.exp
11425
cdc7edd7
LM
114262016-12-01 Luis Machado <lgustavo@codesourcery.com>
11427
11428 Fix test names starting with uppercase throughout the files.
11429
11430 * gdb.arch/i386-mpx-simple_segv.exp
11431 * gdb.arch/i386-mpx.exp
11432 * gdb.arch/i386-permbkpt.exp
11433 * gdb.arch/pa-nullify.exp
11434 * gdb.arch/powerpc-d128-regs.exp
11435 * gdb.arch/vsx-regs.exp
11436 * gdb.base/bfp-test.exp
11437 * gdb.base/break.exp
11438 * gdb.base/breakpoint-shadow.exp
11439 * gdb.base/callfuncs.exp
11440 * gdb.base/charset.exp
11441 * gdb.base/commands.exp
11442 * gdb.base/completion.exp
11443 * gdb.base/dfp-test.exp
11444 * gdb.base/echo.exp
11445 * gdb.base/ending-run.exp
11446 * gdb.base/eval.exp
11447 * gdb.base/expand-psymtabs.exp
11448 * gdb.base/float128.exp
11449 * gdb.base/floatn.exp
11450 * gdb.base/foll-exec-mode.exp
11451 * gdb.base/gdb1056.exp
11452 * gdb.base/gdb11531.exp
11453 * gdb.base/kill-after-signal.exp
11454 * gdb.base/multi-forks.exp
11455 * gdb.base/overlays.exp
11456 * gdb.base/pending.exp
11457 * gdb.base/sepdebug.exp
11458 * gdb.base/testenv.exp
11459 * gdb.base/valgrind-db-attach.exp
11460 * gdb.base/watch_thread_num.exp
11461 * gdb.base/watchpoint-cond-gone.exp
11462 * gdb.base/watchpoint.exp
11463 * gdb.base/watchpoints.exp
11464 * gdb.cp/arg-reference.exp
11465 * gdb.cp/baseenum.exp
11466 * gdb.cp/operator.exp
11467 * gdb.cp/shadow.exp
11468 * gdb.dwarf2/dw2-op-out-param.exp
11469 * gdb.dwarf2/dw2-reg-undefined.exp
11470 * gdb.go/chan.exp
11471 * gdb.go/hello.exp
11472 * gdb.go/integers.exp
11473 * gdb.go/methods.exp
11474 * gdb.go/package.exp
11475 * gdb.guile/scm-parameter.exp
11476 * gdb.guile/scm-progspace.exp
11477 * gdb.guile/scm-value.exp
11478 * gdb.mi/mi-pending.exp
11479 * gdb.mi/user-selected-context-sync.exp
11480 * gdb.multi/multi-attach.exp
11481 * gdb.multi/tids.exp
11482 * gdb.opt/clobbered-registers-O2.exp
11483 * gdb.pascal/floats.exp
11484 * gdb.pascal/integers.exp
11485 * gdb.python/py-block.exp
11486 * gdb.python/py-events.exp
11487 * gdb.python/py-parameter.exp
11488 * gdb.python/py-symbol.exp
11489 * gdb.python/py-symtab.exp
11490 * gdb.python/py-type.exp
11491 * gdb.python/py-value.exp
11492 * gdb.python/py-xmethods.exp
11493 * gdb.python/python.exp
11494 * gdb.reverse/break-precsave.exp
11495 * gdb.reverse/consecutive-precsave.exp
11496 * gdb.reverse/finish-precsave.exp
11497 * gdb.reverse/i386-precsave.exp
11498 * gdb.reverse/machinestate-precsave.exp
11499 * gdb.reverse/sigall-precsave.exp
11500 * gdb.reverse/solib-precsave.exp
11501 * gdb.reverse/step-precsave.exp
11502 * gdb.reverse/until-precsave.exp
11503 * gdb.reverse/watch-precsave.exp
11504 * gdb.server/ext-attach.exp
11505 * gdb.server/ext-restart.exp
11506 * gdb.server/ext-run.exp
11507 * gdb.server/ext-wrapper.exp
11508 * gdb.stabs/gdb11479.exp
11509 * gdb.stabs/weird.exp
11510 * gdb.threads/attach-many-short-lived-threads.exp
11511 * gdb.threads/kill.exp
11512 * gdb.threads/watchpoint-fork.exp
11513
bc6c7af4
LM
115142016-12-01 Luis Machado <lgustavo@codesourcery.com>
11515
11516 Fix test names starting with uppercase throughout all the files below.
11517
11518 * gdb.ada/array_return.exp
11519 * gdb.ada/catch_ex.exp
11520 * gdb.ada/info_exc.exp
11521 * gdb.ada/mi_catch_ex.exp
11522 * gdb.ada/mi_dyn_arr.exp
11523 * gdb.ada/mi_ex_cond.exp
11524 * gdb.ada/mi_exc_info.exp
11525 * gdb.ada/mi_interface.exp
11526 * gdb.ada/mi_task_arg.exp
11527 * gdb.ada/mi_task_info.exp
11528 * gdb.ada/mi_var_array.exp
11529 * gdb.arch/alpha-step.exp
11530 * gdb.arch/amd64-disp-step.exp
11531 * gdb.arch/arm-disp-step.exp
11532 * gdb.arch/disp-step-insn-reloc.exp
11533 * gdb.arch/e500-prologue.exp
11534 * gdb.arch/ftrace-insn-reloc.exp
11535 * gdb.arch/gdb1558.exp
11536 * gdb.arch/i386-bp_permanent.exp
11537 * gdb.arch/i386-disp-step.exp
11538 * gdb.arch/i386-float.exp
11539 * gdb.arch/i386-gnu-cfi.exp
11540 * gdb.arch/ia64-breakpoint-shadow.exp
11541 * gdb.arch/mips16-thunks.exp
11542 * gdb.arch/pa-nullify.exp
11543 * gdb.arch/powerpc-aix-prologue.exp
11544 * gdb.arch/powerpc-power.exp
11545 * gdb.arch/ppc-dfp.exp
11546 * gdb.arch/s390-tdbregs.exp
11547 * gdb.arch/spu-info.exp
11548 * gdb.arch/spu-ls.exp
11549 * gdb.arch/thumb-bx-pc.exp
11550 * gdb.base/advance.exp
11551 * gdb.base/annota-input-while-running.exp
11552 * gdb.base/arrayidx.exp
11553 * gdb.base/asmlabel.exp
11554 * gdb.base/async.exp
11555 * gdb.base/attach-wait-input.exp
11556 * gdb.base/auto-connect-native-target.exp
11557 * gdb.base/batch-preserve-term-settings.exp
11558 * gdb.base/bfp-test.exp
11559 * gdb.base/bigcore.exp
11560 * gdb.base/bp-permanent.exp
11561 * gdb.base/break-always.exp
11562 * gdb.base/break-fun-addr.exp
11563 * gdb.base/break-idempotent.exp
11564 * gdb.base/break-main-file-remove-fail.exp
11565 * gdb.base/break-probes.exp
11566 * gdb.base/break-unload-file.exp
11567 * gdb.base/break.exp
11568 * gdb.base/call-ar-st.exp
11569 * gdb.base/call-rt-st.exp
11570 * gdb.base/call-sc.exp
11571 * gdb.base/call-signal-resume.exp
11572 * gdb.base/call-strs.exp
11573 * gdb.base/callexit.exp
11574 * gdb.base/callfuncs.exp
11575 * gdb.base/catch-gdb-caused-signals.exp
11576 * gdb.base/catch-signal-siginfo-cond.exp
11577 * gdb.base/catch-syscall.exp
11578 * gdb.base/compare-sections.exp
11579 * gdb.base/cond-eval-mode.exp
11580 * gdb.base/condbreak-call-false.exp
11581 * gdb.base/consecutive-step-over.exp
11582 * gdb.base/cursal.exp
11583 * gdb.base/disabled-location.exp
11584 * gdb.base/disasm-end-cu.exp
11585 * gdb.base/display.exp
11586 * gdb.base/double-prompt-target-event-error.exp
11587 * gdb.base/dprintf-bp-same-addr.exp
11588 * gdb.base/dprintf-detach.exp
11589 * gdb.base/dprintf-next.exp
11590 * gdb.base/dprintf-non-stop.exp
11591 * gdb.base/dprintf-pending.exp
11592 * gdb.base/dso2dso.exp
11593 * gdb.base/ending-run.exp
11594 * gdb.base/enum_cond.exp
11595 * gdb.base/examine-backward.exp
11596 * gdb.base/exe-lock.exp
11597 * gdb.base/exec-invalid-sysroot.exp
11598 * gdb.base/execl-update-breakpoints.exp
11599 * gdb.base/execution-termios.exp
11600 * gdb.base/fileio.exp
11601 * gdb.base/fixsection.exp
11602 * gdb.base/foll-exec-mode.exp
11603 * gdb.base/foll-exec.exp
11604 * gdb.base/fork-running-state.exp
11605 * gdb.base/frame-args.exp
11606 * gdb.base/fullpath-expand.exp
11607 * gdb.base/func-ptr.exp
11608 * gdb.base/gcore-relro-pie.exp
11609 * gdb.base/gdb1090.exp
11610 * gdb.base/gdb1555.exp
11611 * gdb.base/global-var-nested-by-dso.exp
11612 * gdb.base/gnu-ifunc.exp
11613 * gdb.base/hbreak-in-shr-unsupported.exp
11614 * gdb.base/hbreak-unmapped.exp
11615 * gdb.base/hook-stop.exp
11616 * gdb.base/infcall-input.exp
11617 * gdb.base/info-fun.exp
11618 * gdb.base/info-shared.exp
11619 * gdb.base/interrupt-noterm.exp
11620 * gdb.base/jit-so.exp
11621 * gdb.base/jit.exp
11622 * gdb.base/line-symtabs.exp
11623 * gdb.base/list.exp
11624 * gdb.base/longjmp.exp
11625 * gdb.base/macscp.exp
11626 * gdb.base/max-value-size.exp
11627 * gdb.base/nodebug.exp
11628 * gdb.base/nofield.exp
11629 * gdb.base/overlays.exp
11630 * gdb.base/paginate-after-ctrl-c-running.exp
11631 * gdb.base/paginate-bg-execution.exp
11632 * gdb.base/paginate-inferior-exit.exp
11633 * gdb.base/pending.exp
11634 * gdb.base/pr11022.exp
11635 * gdb.base/printcmds.exp
11636 * gdb.base/ptr-typedef.exp
11637 * gdb.base/ptype.exp
11638 * gdb.base/randomize.exp
11639 * gdb.base/range-stepping.exp
11640 * gdb.base/realname-expand.exp
11641 * gdb.base/relativedebug.exp
11642 * gdb.base/remote.exp
11643 * gdb.base/savedregs.exp
11644 * gdb.base/sepdebug.exp
11645 * gdb.base/set-noassign.exp
11646 * gdb.base/shlib-call.exp
11647 * gdb.base/shreloc.exp
11648 * gdb.base/sigaltstack.exp
11649 * gdb.base/sigbpt.exp
11650 * gdb.base/siginfo-addr.exp
11651 * gdb.base/siginfo-obj.exp
11652 * gdb.base/siginfo-thread.exp
11653 * gdb.base/signest.exp
11654 * gdb.base/signull.exp
11655 * gdb.base/sigrepeat.exp
11656 * gdb.base/skip.exp
11657 * gdb.base/so-impl-ld.exp
11658 * gdb.base/solib-corrupted.exp
11659 * gdb.base/solib-disc.exp
11660 * gdb.base/solib-display.exp
11661 * gdb.base/solib-overlap.exp
11662 * gdb.base/solib-search.exp
11663 * gdb.base/solib-symbol.exp
11664 * gdb.base/source-execution.exp
11665 * gdb.base/sss-bp-on-user-bp-2.exp
11666 * gdb.base/sss-bp-on-user-bp.exp
11667 * gdb.base/stack-checking.exp
11668 * gdb.base/stale-infcall.exp
11669 * gdb.base/step-break.exp
11670 * gdb.base/step-line.exp
11671 * gdb.base/step-over-exit.exp
11672 * gdb.base/step-test.exp
11673 * gdb.base/structs.exp
11674 * gdb.base/sym-file.exp
11675 * gdb.base/symtab-search-order.exp
11676 * gdb.base/term.exp
11677 * gdb.base/type-opaque.exp
11678 * gdb.base/unload.exp
11679 * gdb.base/until-nodebug.exp
11680 * gdb.base/until.exp
11681 * gdb.base/unwindonsignal.exp
11682 * gdb.base/watch-cond.exp
11683 * gdb.base/watch-non-mem.exp
11684 * gdb.base/watch_thread_num.exp
11685 * gdb.base/watchpoint-reuse-slot.exp
11686 * gdb.base/watchpoint-solib.exp
11687 * gdb.base/watchpoint.exp
11688 * gdb.btrace/dlopen.exp
11689 * gdb.cell/arch.exp
11690 * gdb.cell/break.exp
11691 * gdb.cell/bt.exp
11692 * gdb.cell/core.exp
11693 * gdb.cell/data.exp
11694 * gdb.cell/dwarfaddr.exp
11695 * gdb.cell/ea-cache.exp
11696 * gdb.cell/ea-standalone.exp
11697 * gdb.cell/ea-test.exp
11698 * gdb.cell/f-regs.exp
11699 * gdb.cell/fork.exp
11700 * gdb.cell/gcore.exp
11701 * gdb.cell/mem-access.exp
11702 * gdb.cell/ptype.exp
11703 * gdb.cell/registers.exp
11704 * gdb.cell/sizeof.exp
11705 * gdb.cell/solib-symbol.exp
11706 * gdb.cell/solib.exp
11707 * gdb.compile/compile-tls.exp
11708 * gdb.cp/exception.exp
11709 * gdb.cp/gdb2495.exp
11710 * gdb.cp/local.exp
11711 * gdb.cp/mb-inline.exp
11712 * gdb.cp/mb-templates.exp
11713 * gdb.cp/pr10687.exp
11714 * gdb.cp/pr9167.exp
11715 * gdb.cp/scope-err.exp
11716 * gdb.cp/templates.exp
11717 * gdb.cp/virtfunc.exp
11718 * gdb.dwarf2/dw2-dir-file-name.exp
11719 * gdb.dwarf2/dw2-single-line-discriminators.exp
11720 * gdb.fortran/complex.exp
11721 * gdb.fortran/library-module.exp
11722 * gdb.guile/guile.exp
11723 * gdb.guile/scm-cmd.exp
11724 * gdb.guile/scm-frame-inline.exp
11725 * gdb.guile/scm-objfile.exp
11726 * gdb.guile/scm-pretty-print.exp
11727 * gdb.guile/scm-symbol.exp
11728 * gdb.guile/scm-type.exp
11729 * gdb.guile/scm-value.exp
11730 * gdb.linespec/keywords.exp
11731 * gdb.linespec/ls-errs.exp
11732 * gdb.linespec/macro-relative.exp
11733 * gdb.linespec/thread.exp
11734 * gdb.mi/mi-breakpoint-changed.exp
11735 * gdb.mi/mi-dprintf-pending.exp
11736 * gdb.mi/mi-fullname-deleted.exp
11737 * gdb.mi/mi-logging.exp
11738 * gdb.mi/mi-pending.exp
11739 * gdb.mi/mi-solib.exp
11740 * gdb.mi/new-ui-mi-sync.exp
11741 * gdb.mi/user-selected-context-sync.exp
11742 * gdb.multi/dummy-frame-restore.exp
11743 * gdb.multi/multi-arch-exec.exp
11744 * gdb.multi/remove-inferiors.exp
11745 * gdb.multi/watchpoint-multi-exit.exp
11746 * gdb.opt/solib-intra-step.exp
11747 * gdb.perf/backtrace.exp
11748 * gdb.perf/single-step.exp
11749 * gdb.perf/skip-command.exp
11750 * gdb.perf/skip-prologue.exp
11751 * gdb.perf/solib.exp
11752 * gdb.python/lib-types.exp
11753 * gdb.python/py-as-string.exp
11754 * gdb.python/py-bad-printers.exp
11755 * gdb.python/py-block.exp
11756 * gdb.python/py-breakpoint.exp
11757 * gdb.python/py-cmd.exp
11758 * gdb.python/py-events.exp
11759 * gdb.python/py-evthreads.exp
11760 * gdb.python/py-finish-breakpoint.exp
11761 * gdb.python/py-finish-breakpoint2.exp
11762 * gdb.python/py-frame-inline.exp
11763 * gdb.python/py-frame.exp
11764 * gdb.python/py-inferior.exp
11765 * gdb.python/py-infthread.exp
11766 * gdb.python/py-mi.exp
11767 * gdb.python/py-objfile.exp
11768 * gdb.python/py-pp-maint.exp
11769 * gdb.python/py-pp-registration.exp
11770 * gdb.python/py-prettyprint.exp
11771 * gdb.python/py-recurse-unwind.exp
11772 * gdb.python/py-shared.exp
11773 * gdb.python/py-symbol.exp
11774 * gdb.python/py-symtab.exp
11775 * gdb.python/py-template.exp
11776 * gdb.python/py-type.exp
11777 * gdb.python/py-unwind-maint.exp
11778 * gdb.python/py-unwind.exp
11779 * gdb.python/py-value.exp
11780 * gdb.python/python.exp
11781 * gdb.reverse/finish-reverse-bkpt.exp
11782 * gdb.reverse/insn-reverse.exp
11783 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11784 * gdb.reverse/solib-precsave.exp
11785 * gdb.reverse/solib-reverse.exp
11786 * gdb.stabs/gdb11479.exp
11787 * gdb.stabs/weird.exp
11788 * gdb.threads/fork-child-threads.exp
11789 * gdb.threads/fork-plus-threads.exp
11790 * gdb.threads/fork-thread-pending.exp
11791 * gdb.threads/forking-threads-plus-breakpoint.exp
11792 * gdb.threads/hand-call-in-threads.exp
11793 * gdb.threads/interrupted-hand-call.exp
11794 * gdb.threads/linux-dp.exp
11795 * gdb.threads/local-watch-wrong-thread.exp
11796 * gdb.threads/next-while-other-thread-longjmps.exp
11797 * gdb.threads/non-ldr-exit.exp
11798 * gdb.threads/pending-step.exp
11799 * gdb.threads/print-threads.exp
11800 * gdb.threads/process-dies-while-detaching.exp
11801 * gdb.threads/process-dies-while-handling-bp.exp
11802 * gdb.threads/pthreads.exp
11803 * gdb.threads/queue-signal.exp
11804 * gdb.threads/reconnect-signal.exp
11805 * gdb.threads/signal-command-handle-nopass.exp
11806 * gdb.threads/signal-command-multiple-signals-pending.exp
11807 * gdb.threads/signal-delivered-right-thread.exp
11808 * gdb.threads/signal-sigtrap.exp
11809 * gdb.threads/sigthread.exp
11810 * gdb.threads/staticthreads.exp
11811 * gdb.threads/stepi-random-signal.exp
11812 * gdb.threads/thread-unwindonsignal.exp
11813 * gdb.threads/thread_check.exp
11814 * gdb.threads/thread_events.exp
11815 * gdb.threads/tid-reuse.exp
11816 * gdb.threads/tls-nodebug.exp
11817 * gdb.threads/tls-shared.exp
11818 * gdb.threads/tls-so_extern.exp
11819 * gdb.threads/tls.exp
11820 * gdb.threads/wp-replication.exp
11821 * gdb.trace/actions-changed.exp
11822 * gdb.trace/actions.exp
11823 * gdb.trace/backtrace.exp
11824 * gdb.trace/change-loc.exp
11825 * gdb.trace/collection.exp
11826 * gdb.trace/deltrace.exp
11827 * gdb.trace/disconnected-tracing.exp
11828 * gdb.trace/entry-values.exp
11829 * gdb.trace/ftrace-lock.exp
11830 * gdb.trace/ftrace.exp
11831 * gdb.trace/infotrace.exp
11832 * gdb.trace/mi-trace-frame-collected.exp
11833 * gdb.trace/mi-trace-unavailable.exp
11834 * gdb.trace/mi-traceframe-changed.exp
11835 * gdb.trace/mi-tracepoint-changed.exp
11836 * gdb.trace/mi-tsv-changed.exp
11837 * gdb.trace/no-attach-trace.exp
11838 * gdb.trace/packetlen.exp
11839 * gdb.trace/passc-dyn.exp
11840 * gdb.trace/passcount.exp
11841 * gdb.trace/pending.exp
11842 * gdb.trace/pr16508.exp
11843 * gdb.trace/qtro.exp
11844 * gdb.trace/range-stepping.exp
11845 * gdb.trace/read-memory.exp
11846 * gdb.trace/report.exp
11847 * gdb.trace/save-trace.exp
11848 * gdb.trace/signal.exp
11849 * gdb.trace/stap-trace.exp
11850 * gdb.trace/status-stop.exp
11851 * gdb.trace/strace.exp
11852 * gdb.trace/tfile.exp
11853 * gdb.trace/tfind.exp
11854 * gdb.trace/trace-break.exp
11855 * gdb.trace/trace-condition.exp
11856 * gdb.trace/trace-enable-disable.exp
11857 * gdb.trace/trace-mt.exp
11858 * gdb.trace/tracecmd.exp
11859 * gdb.trace/tracefile-pseudo-reg.exp
11860 * gdb.trace/tspeed.exp
11861 * gdb.trace/tstatus.exp
11862 * gdb.trace/tsv.exp
11863 * gdb.trace/unavailable.exp
11864 * gdb.trace/while-dyn.exp
11865 * gdb.trace/while-stepping.exp
11866 * lib/gdb-guile.exp
11867 * lib/gdb.exp
11868 * lib/mi-support.exp
11869 * lib/pascal.exp
11870 * lib/perftest.exp
11871 * lib/prelink-support.exp
11872 * lib/selftest-support.exp
11873
ad02e4fe
SM
118742016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
11875
11876 * Makefile.in: Include disable-implicit-rules.mk.
11877
22347e55
AA
118782016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11879
11880 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
11881 non-byte-aligned bit fields.
11882
da5b30da
AA
118832016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11884
11885 PR gdb/12616
11886 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
11887 respects the DW_AT_data_bit_offset attribute.
11888
b593ecca
SM
118892016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
11890
11891 * gdb.base/default.exp: Fix output of "set language".
11892
3b165252
SM
118932016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
11894
11895 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
11896 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
11897 make.
11898 * configure.ac: Remove checks for the make program.
11899 * configure: Re-generate.
11900
1a2f3d7f
KB
119012016-11-16 Kevin Buettner <kevinb@redhat.com>
11902
11903 * gdb.python/py-recurse-unwind.c (main): Add loop.
11904 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
11905 to read_register() and gdb.parse_and_eval(). Make each code
11906 call a separate case that can be individually tested.
11907 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
11908 proc. Call cont_and_backtrace for each of the code paths that
11909 we want to test in the unwinder.
11910
b7f38fda
AA
119112016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
11912
11913 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
11914 the definition of struct S.
11915
1f8db343
CM
119162016-11-11 Catherine Moore <clm@codesourcery.com>
11917
11918 * gdb.base/dump.exp: Identify verilog format dump tests as such.
11919
fad0c9fb
PA
119202016-11-09 Pedro Alves <palves@redhat.com>
11921
11922 * gdb.base/commands.exp (runto_or_return): New procedure.
11923 (gdbvar_simple_if_test, gdbvar_simple_while_test)
11924 (gdbvar_complex_if_while_test, progvar_simple_if_test)
11925 (progvar_simple_while_test, progvar_complex_if_while_test)
11926 (if_while_breakpoint_command_test)
11927 (infrun_breakpoint_command_test, breakpoint_command_test)
11928 (user_defined_command_test, watchpoint_command_test)
11929 (test_command_prompt_position, redefine_hook_test)
11930 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
11931 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
11932 multi_line_input and multi_line. Remove gdb_expect and
11933 gdb_stop_suppressing_tests uses.
11934 * lib/gdb.exp (valnum_re): New global.
11935 (multi_line_input): New procedure.
11936
8354c62c
SM
119372016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
11938
11939 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
11940 Remove.
11941 (test_setup): Define with proc_with_prefix.
11942 (test_cli_inferior): Likewise.
11943 (test_cli_thread): Likewise.
11944 (test_cli_frame): Likewise.
11945 (test_cli_select_frame): Likewise.
11946 (test_cli_up_down): Likewise.
11947 (test_mi_thread_select): Likewise.
11948 (test_mi_stack_select_frame): Likewise.
11949 (test_cli_in_mi_inferior): Likewise.
11950 (test_cli_in_mi_thread): Likewise.
11951 (test_cli_in_mi_frame): Likewise.
11952 (top level): Do not use with_test_prefix_procname.
11953
64f367a2
PA
119542016-11-09 Pedro Alves <palves@redhat.com>
11955
11956 * gdb.base/commands.exp (gdbvar_simple_if_test)
11957 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
11958 (progvar_simple_if_test, progvar_simple_while_test)
11959 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
11960 (infrun_breakpoint_command_test, breakpoint_command_test)
11961 (user_defined_command_test, watchpoint_command_test)
11962 (test_command_prompt_position, deprecated_command_test)
11963 (bp_deleted_in_command, temporary_breakpoint_commands)
11964 (stray_arg0_test, source_file_with_indented_comment)
11965 (recursive_source_test, if_commands_test)
11966 (error_clears_commands_left, redefine_hook_test)
11967 (redefine_backtrace_test): Use proc_with_prefix.
11968 * lib/gdb.exp (proc_with_prefix): New proc.
11969
0bb65f1e
AA
119702016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11971
11972 * gdb.base/tui-layout.c: New file.
11973 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
11974 disassembly window contains very long lines.
11975
7353f247
TT
119762016-11-08 Tom Tromey <tom@tromey.com>
11977
11978 * gdb.python/py-value.exp (test_value_creation): Make "long" test
11979 depend on Python 2.
11980
30a7bb83
TT
119812016-11-08 Tom Tromey <tom@tromey.com>
11982
11983 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
11984 New method.
11985
cdf5a07c
MG
119862016-10-29 Manish Goregaokar <manish@mozilla.com>
11987
2806dc7e 11988 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 11989
51a789c3
MG
119902016-10-27 Manish Goregaokar <manish@mozilla.com>
11991
2806dc7e
PA
11992 * gdb.rust/simple.rs: Add test for univariant enums without
11993 discriminants and for encoded struct-like enums.
51a789c3 11994
f610ab6d
PA
119952016-10-28 Pedro Alves <palves@redhat.com>
11996
11997 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
11998 gdb_test_multiple, tighten regexps and match symtabs and line
11999 tables incrementally.
12000
b129b0ca
LM
120012016-10-28 Luis Machado <lgustavo@codesourcery.com>
12002
12003 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
12004 general.
12005
ecf45d2c
SL
120062016-10-25 Luis Machado <lgustavo@codesourcery.com>
12007
12008 * gdb.base/exec-invalid-sysroot.exp: New file.
12009
b8d38ee4
JK
120102016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12011
12012 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
12013
f90fd8c2
JK
120142016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12015
12016 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
12017
2d2476aa
MR
120182016-10-19 Maciej W. Rozycki <macro@imgtec.com>
12019
2806dc7e
PA
12020 * gdb.base/killed-outside.exp: Remove $options from a call to
12021 `prepare_for_testing'.
2d2476aa 12022
e42b25a0
SM
120232016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12024
12025 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12026 Change test message.
12027
3ccdb432
SM
120282016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12029
12030 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12031 Update comment.
12032
5bad3170
SM
120332016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12034
12035 * gdb.trace/mi-trace-save.exp: New file.
12036
5ad9dba7
YQ
120372016-10-13 Yao Qi <yao.qi@linaro.org>
12038
12039 * gdb.base/code_elim.exp (get_var_address): Remove.
12040 * gdb.base/relocate.exp: Likewise.
12041 * gdb.base/shreloc.exp: Likewise.
12042 * lib/gdb.exp (get_var_address): New.
12043
62df7e21
YQ
120442016-10-13 Yao Qi <yao.qi@linaro.org>
12045
12046 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
12047 floating point tests if $skip_float_test is false.
12048
4dac951e
LM
120492016-10-12 Luis Machado <lgustavo@codesourcery.com>
12050
12051 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
12052 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
12053 argc values.
12054 Add 1 to argc so we guarantee distinct initial/modified argc values.
12055
8f1a8fc4
JK
120562016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12057
12058 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
12059
16c85b5d
JK
120602016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12061
12062 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
12063 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
12064 * gdb.arch/vsx-regs.exp: Likewise.
12065
1d0e042a
YQ
120662016-10-07 Yao Qi <yao.qi@linaro.org>
12067
12068 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
12069
68dadef5
MM
120702016-10-07 Markus Metzger <markus.t.metzger@intel.com>
12071
12072 * gdb.python/python.exp: Test decode_line("*0").
12073
33fa2c6e
DE
120742016-10-06 Doug Evans <dje@google.com>
12075
12076 * gdb.python/py-value.exp (test_value_creation): Add test for large
12077 unsigned 64-bit value.
12078
9c37b5ae
TT
120792016-10-06 Tom Tromey <tom@tromey.com>
12080
12081 * gdb.compile/compile.exp: Change java tests to rust.
12082 * gdb.base/setshow.exp: Change java tests to rust.
12083 * gdb.base/default.exp: Remove java from language list.
12084 * README (Examples): Update language example.
12085 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
12086 test.
12087 * lib/gdb.exp (skip_java_tests): Remove.
12088 * lib/java.exp: Remove.
12089 * gdb.java: Remove.
12090
78b86327
MR
120912016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12092
12093 * gdb.arch/mips-fcr.exp: New test.
12094 * gdb.arch/mips-fcr.c: Source for the new test.
12095
7470adbb
MR
120962016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12097
12098 * gdb.base/solib-disc.exp: Use `standard_output_file'
12099 throughout.
12100
4a556533
PA
121012016-10-06 Pedro Alves <palves@redhat.com>
12102
12103 * gdb.base/jit-simple-dl.c: New file.
12104 * gdb.base/jit-simple-jit.c: New file, factored out from ...
12105 * gdb.base/jit-simple.c: ... this.
12106 * gdb.base/jit-simple.exp (jit_run): Delete.
12107 (build_jit): New proc.
12108 (jit_test_reread): Recompile either the main program or the shared
12109 library, depending on what is being tested. Skip changing address
12110 if caller wants to. Compare before/after addresses. If testing
12111 standalone, explicitly load the binary. Test "maint info
12112 breakpoints".
12113 (top level): Add "standalone vs shared lib" and "change address"
12114 vs "same address" axes.
12115
5a122fbc
PA
121162016-10-06 Pedro Alves <palves@redhat.com>
12117
12118 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
12119 call.
12120 (jit_run): Delete.
12121 (jit_test_reread): Use with_test_prefix. Reload the main binary
12122 explicitly. Compare the before/after addresses of the JIT
12123 descriptor.
12124
ee8da4b8
DE
121252016-08-15 Doug Evans <dje@google.com>
12126
12127 * gdb.xml/extra-regs.xml: Update, end field now required, default type
12128 for single bitfields is bool.
12129 * gdb.xml/tdesc-regs.exp: Ditto.
12130
f389f6fe
JK
121312016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12132
12133 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
12134
fdebf1a4
YQ
121352016-10-05 Yao Qi <yao.qi@linaro.org>
12136
12137 * lib/gdb.exp (support_complex_tests): Return zero if
12138 gdb_skip_float_test return true.
12139
9c36d954 121402016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12141 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
12142
12143 PR gdb/20487
12144 * gdb.mi/user-selected-context-sync.exp: New file.
12145 * gdb.mi/user-selected-context-sync.c: New file.
12146
4034d0ff 121472016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12148 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
12149
12150 PR gdb/20487
12151 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
12152 =thread-select-event check.
12153
a4297203
PB
121542016-09-29 Peter Bergner <bergner@vnet.ibm.com>
12155
12156 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
12157 the compulsory L operand changes.
12158 * gdb.arch/powerpc-power.s: Likewise.
12159
bb805577
JK
121602016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12161
12162 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
12163 * gdb.base/jit-attach-pie.c: New file.
12164 * gdb.base/jit-attach-pie.exp: New file.
12165
6d61dee5
PA
121662016-09-28 Pedro Alves <palves@redhat.com>
12167
12168 * gdb.base/infcall-input.c: New file.
12169 * gdb.base/infcall-input.exp: New file.
12170
f73842fc
YQ
121712016-09-22 Yao Qi <yao.qi@linaro.org>
12172
12173 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
12174 (gdb_exit): Rename it to ...
12175 (gdbserver_gdb_exit): ... Close GDBserver.
12176 (gdb_exit): New proc, call gdbserver_gdb_exit.
12177 (mi_gdb_exit): Likewise.
12178
90681dab
YQ
121792016-09-22 Yao Qi <yao.qi@linaro.org>
12180
12181 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
12182 path.
12183 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
12184 Remove duplication.
12185
9c211fd8
YQ
121862016-09-22 Yao Qi <yao.qi@linaro.org>
12187
12188 * lib/gdbserver-support.exp: Check the existence of
12189 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
12190
ad0a504f
AK
121912016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
12192
12193 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
12194
36cf1806
TT
121952016-09-21 Tom Tromey <tom@tromey.com>
12196
12197 PR gdb/20604:
12198 * gdb.base/quit.exp: New file.
12199
74172ecf
SM
122002016-09-21 Simon Marchi <simon.marchi@ericsson.com>
12201
12202 * .gitignore: New file.
12203
3d0ec882
MR
122042016-09-21 Maciej W. Rozycki <macro@imgtec.com>
12205
12206 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
12207 throughout.
12208
8193adea
AA
122092016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12210
12211 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
12212
d41a5c09
JK
122132016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12214
12215 * gdb.cp/casts.cc (decltype): Move it ...
12216 (main): ... with its call to ...
12217 * gdb.cp/casts03.cc: ... a new file.
12218 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
12219
d2dfe700
JK
122202016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12221
12222 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
12223
e2a92b16
PB
122242016-09-15 Peter Bergner <bergner@vnet.ibm.com>
12225
12226 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
12227 and sync up the test with tests in gas/testsuite/gas/ppc.
12228 * gdb.arch/powerpc-power.exp: Likewise.
12229
49b4de64
JK
122302016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12231
12232 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
12233
2c29df25
SDJ
122342016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
12235 Jan Kratochvil <jan.kratochvil@redhat.com>
12236
12237 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
12238 make m1's definition to be different from m2's. Use 'dummy' as an
12239 argument for probe 'two'.
12240
cc3c2846
JB
122412016-09-10 Jon Beniston <jon@beniston.com>
12242
12243 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
12244 for sim target.
12245
e1b2624a
AA
122462016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12247
12248 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
12249 variable declaration.
12250 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
12251 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
12252 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
12253 received HWCAP as its argument.
12254
4295e285
PA
122552016-09-06 Pedro Alves <palves@redhat.com>
12256
12257 * gdb.base/new-ui-pending-input.c: New file.
12258 * gdb.base/new-ui-pending-input.exp: New file.
12259 * gdb.exp (clear_gdb_spawn_id): New procedure.
12260 (with_spawn_id): Check whether gdb_spawn_id exists before
12261 referencing it. If gdb_spawn_id didn't exist on entry, clear it
12262 on exit.
12263
00d5215e
UW
122642016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12265
12266 * gdb.base/float128.c: New file.
12267 * gdb.base/float128.exp: Likewise.
12268 * gdb.base/floatn.c: Likewise.
12269 * gdb.base/floatn.exp: Likewise.
12270
a9ff5f12
UW
122712016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12272
12273 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
12274
f245535c
PA
122752016-09-05 Pedro Alves <palves@redhat.com>
12276
12277 PR backtrace/19927
12278 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
12279 unwinders are immediately called as side effect of "source" or
12280 "disable unwinder" commands.
12281 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
12282
ae9cf263
YQ
122832016-09-02 Yao Qi <yao.qi@linaro.org>
12284
12285 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
12286 is true and $type is "float" or "double".
12287
27aba047
YQ
122882016-09-02 Yao Qi <yao.qi@linaro.org>
12289
12290 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
12291 true.
12292 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
12293 * gdb.base/call-rt-st.exp: Likewise.
12294 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
12295 return value instead of gdb,skip_float_test.
12296 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
12297 (do_function_calls): Use its return value instead of
12298 gdb,skip_float_test.
12299 * gdb.base/finish.exp: Likewise.
12300 * gdb.base/funcargs.exp: Likewise.
12301 * gdb.base/return.exp: Likewise.
12302 * gdb.base/return2.exp: Likewise.
12303 * gdb.base/varargs.exp: Likewise.
12304 * lib/gdb.exp (gdb_skip_float_test): Change it to
12305 gdb_caching_proc. Detect the broken ptrace on arm-linux.
12306
5af962df
AA
123072016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12308
12309 * gdb.multi/tids.exp: Test "thread apply all".
12310
7fac6910
JK
123112016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12312
12313 * gdb.base/default.exp (tty): Remove.
12314
bb1fe4ac
KB
123152016-08-24 Kevin Buettner <kevinb@redhat.com>
12316
2806dc7e
PA
12317 * gdb.python/py-recurse-unwind.c: New file.
12318 * gdb.python/py-recurse-unwind.py: New file.
12319 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 12320
0a1ddfa6
SM
123212016-08-24 Simon Marchi <simon.marchi@ericsson.com>
12322
12323 * gdb.base/set-inferior-tty.exp: New file.
12324 * gdb.base/set-inferior-tty.c: New file.
12325
d9de1fe3
PA
123262016-08-23 Pedro Alves <palves@redhat.com>
12327
12328 PR gdb/20494
12329 * gdb.base/new-ui-echo.c: New file.
12330 * gdb.base/new-ui-echo.exp: New file.
12331
e9d9abd7
YQ
123322016-08-23 Yao Qi <yao.qi@linaro.org>
12333
12334 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
12335 gdbserver_spawn.
12336 * gdb.server/connect-without-multi-process.exp (do_test):
12337 Likewise.
12338
3589529e
YQ
123392016-08-23 Yao Qi <yao.qi@linaro.org>
12340
12341 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
12342 standalone_txt. Delete gdb_txt and standalone_txt on host
12343 and target. Spawn the binary on target. Copy files from
12344 target to host.
12345
6bb90213
PA
123462016-08-22 Pedro Alves <palves@redhat.com>
12347
12348 PR gdb/20505
12349 * gdb.base/vdso-warning.exp: Test core dumps too. Use
12350 with_test_prefix. Factor out bits to ...
12351 (test_no_vdso): ... this new procedure.
12352
20c2c024
CL
123532016-08-19 Carl Love <cel@us.ibm.com>
12354
12355 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
12356 maintaining separate logic for constructing the output path.
12357 * gdb.arch/powerpc-d128-regs.exp: Likewise.
12358 * gdb.arch/ppc-dfp.exp: Likewise.
12359 * gdb.arch/ppc-fp.exp: Likewise.
12360 * gdb.arch/vsx-regs.exp: Likewise.
12361 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
12362 binprefix for generating the additional binary files.
12363
0646e07d
PA
123642016-08-19 Pedro Alves <palves@redhat.com>
12365
12366 * gdb.trace/mi-trace-frame-collected.exp
12367 (test_trace_frame_collected): On x32, expect two registers.
12368
46da9242
CL
123692016-08-18 Carl Love <cel@us.ibm.com>
12370
12371 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
12372 and sync up the test with tests in gas/testsuite/gas/ppc.
12373 * gdb.arch/powerpc-power.exp: Likewise.
12374
eb2332d7
SM
123752016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12376
12377 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
12378 expected error message.
12379
63c61e04
SM
123802016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12381
12382 * gdb.multi/remove-inferiors.exp: New file.
12383 * gdb.multi/remove-inferiors.c: New file.
12384
7b17065f
YQ
123852016-08-12 Yao Qi <yao.qi@linaro.org>
12386
12387 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
12388 argument list.
12389
01d3dedf
PA
123902016-08-10 Pedro Alves <palves@redhat.com>
12391
12392 PR gdb/19187
12393 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
12394 setup_kfails.
12395
3eb7562a
PA
123962016-08-09 Pedro Alves <palves@redhat.com>
12397 Simon Marchi <simon.marchi@ericsson.com>
12398
12399 PR gdb/20418
12400 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
12401 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
12402
80614914
PA
124032016-08-09 Pedro Alves <palves@redhat.com>
12404
12405 PR mi/20431
12406 * gdb.mi/mi-cmd-error.exp: New file.
12407
f348d89a
PA
124082016-08-09 Pedro Alves <palves@redhat.com>
12409
12410 PR gdb/18653
12411 * gdb.base/signals-state-child.c: New file.
12412 * gdb.base/signals-state-child.exp: New file.
12413 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
12414
e5ca03b4
PA
124152016-08-09 Pedro Alves <palves@redhat.com>
12416
12417 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
12418
282a0691
TT
124192016-08-03 Tom Tromey <tom@tromey.com>
12420
12421 PR python/18565:
12422 * gdb.python/py-frame-inline.exp: Add Frame.function test.
12423
41bfcd63
YQ
124242016-08-01 Yao Qi <yao.qi@linaro.org>
12425
12426 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
12427 variable mode to "multi-process" if $multi_process is 1, otherwise
12428 set it to "single-process".
12429
e3465b24
YQ
124302016-08-01 Yao Qi <yao.qi@linaro.org>
12431
12432 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
12433 * gdb.cp/cpexprs.exp: Likewise.
12434 * gdb.cp/m-static.exp: Likewise.
12435
0b31a4bc
TT
124362016-07-26 Tom Tromey <tom@tromey.com>
12437
12438 PR python/20190:
12439 * gdb.threads/tls.exp (check_thread_local): Add python symbol
12440 test.
12441
e0461dbb
MM
124422016-07-26 Markus Metzger <markus.t.metzger@intel.com>
12443
12444 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
12445 selecting assembly source files.
12446 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
12447 assembly source files.
12448 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
12449 assembly source files.
12450 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
12451 selecting assembly source files.
12452
8194e927
SM
124532016-07-25 Simon Marchi <simon.marchi@ericsson.com>
12454
12455 * gdb.base/new-ui.exp (do_test_invalid_args): New
12456 procedure.
12457
c0272db5
TW
124582016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
12459
12460 * gdb.btrace/reconnect.c: New file.
12461 * gdb.btrace/reconnect.exp: New file.
12462
e3487908
GKB
124632016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
12464
12465 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
12466 to test_catch_syscall_group.
12467 (test_catch_syscall_group): New.
12468
12df5c00
TT
124692016-07-21 Tom Tromey <tom@tromey.com>
12470
12471 * gdb.rust/simple.rs (main): Use empty struct expression.
12472 * gdb.rust/simple.exp: Add tests for empty struct expression.
12473
bae62ee2
YQ
124742016-07-21 Yao Qi <yao.qi@linaro.org>
12475
12476 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
12477 if gdb_skip_xml_test is true on some targets.
12478
b1b53fb3
YQ
124792016-07-21 Yao Qi <yao.qi@linaro.org>
12480
12481 * gdb.server/solib-list.exp: Unset last_loaded_file.
12482
027d97f8
JK
124832016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12484
12485 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
12486 "step into captured_main (args)".
12487
7674d381
JK
124882016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12489
12490 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
12491
72b5d099
JK
124922016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12493
12494 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
12495
1f960ced
PA
124962016-07-19 Pedro Alves <palves@redhat.com>
12497
12498 * gdb.opt/inline-break.exp: Remove optimize=-O2.
12499 * gdb.opt/inline-bt.exp: Likewise.
12500 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
12501 additional_flags=-Winline.
12502 * gdb.opt/inline-locals.exp: Likewise.
12503 * gdb.opt/inline-markers.c (ATTR): Define.
12504 (inlined_fn): Use it.
12505
f25827c1
YQ
125062016-07-19 Yao Qi <yao.qi@linaro.org>
12507
12508 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
12509 (test_with_self): Remove some code. Remove argument executable.
12510 (top-level): Use do_self_tests.
12511
37539ebe
DB
125122016-07-15 Zachary Welch <zwelch@codesourcery.com>
12513 Don Breazeal <donb@codesourcery.com>
12514
12515 * gdb.base/maint.exp: Escape paths used in regular expressions.
12516 * gdb.stabs/weird.exp: Likewise.
12517
dac790e1
TT
125182016-07-13 Tom Tromey <tom@tromey.com>
12519
12520 PR python/15620, PR python/18620:
12521 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
12522 (test_bkpt_events): New procs.
12523
93daf339
TT
125242016-07-13 Tom Tromey <tom@tromey.com>
12525
12526 PR python/17698:
12527 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
12528 test.
12529 (test_watchpoints): Likewise.
12530 (test_bkpt_pending): New proc.
12531
6571a381
TT
125322016-07-13 Tom Tromey <tom@tromey.com>
12533
12534 PR cli/18053:
12535 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
12536 completion test.
12537
e8732474
JK
125382016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12539
12540 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
12541 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
12542 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
12543 f_label.
12544 (g): Rename g_end_lbl to g_label.
12545 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
12546 low_pc and high_pc.
12547 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
12548
e0f3fd7c
TT
125492016-07-12 Tom Tromey <tom@tromey.com>
12550
12551 PR python/19293:
12552 * gdb.python/py-unwind-maint.exp: Update tests.
12553
3cfe46b6
YQ
125542016-07-12 Yao Qi <yao.qi@linaro.org>
12555
12556 * lib/selftest-support.exp (selftest_setup): Match the output
12557 when captured_main is inlined.
12558
4f19a0e6
WT
125592016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
12560
12561 * gdb.fortran/derived-types.exp (result_line, result_line_2):
12562 New variables.
12563 (print this%a, print this%b, print this): New tests.
12564 * gdb.fortran/derived-types.f90 (this): New object and
12565 initialization.
12566
986cf455
SM
125672016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12568
12569 * gdb.ada/arraydim.exp: Remove extra directory level in build
12570 directory.
12571
f0464b23
SM
125722016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12573
12574 * lib/ada.exp: Remove extra directory level in build directory.
12575 * gdb.ada/cond_lang.exp: Likewise.
12576 * gdb.ada/exec_changed.exp: Likewise.
12577 * gdb.ada/lang_switch.exp: Likewise.
12578
42d94011
MG
125792016-07-06 Manish Goregaokar <manish@mozilla.com>
12580
2806dc7e
PA
12581 * simple.rs: Add test for raw pointer subscripting.
12582 * simple.exp: Add test expectations.
42d94011 12583
647c264c
YQ
125842016-07-05 Yao Qi <yao.qi@linaro.org>
12585
12586 * gdb.mi/mi-reverse.exp: Match =record-started output.
12587
20aa2c60
PA
125882016-07-01 Pedro Alves <palves@redhat.com>
12589
12590 * gdb.base/jit-reader.exp (info_registers_current_frame): New
12591 procedure.
12592 (jit_reader_test): Test the jit reader's unwinder.
12593 * gdb.base/jithost.c (jit_function_00_code): New global.
12594 (main): Use memcpy to fill in the mmapped code, instead of poking
12595 bytes manually here.
12596 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
12597 value.
12598 (read_debug_info): Save the function's range.
12599 (read_sp): New function.
12600 (unwind_frame): Use it. Also unwind RBP.
12601 (get_frame_id): Use read_sp.
12602 (gdb_init_reader): Use calloc instead of malloc.
12603 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
12604 parameter. Use gdb_test_multiple.
12605
ced2dffb
PA
126062016-07-01 Pedro Alves <palves@redhat.com>
12607 Antoine Tremblay <antoine.tremblay@ericsson.com>
12608
12609 * gdb.threads/process-dies-while-detaching.c: New file.
12610 * gdb.threads/process-dies-while-detaching.exp: New file.
12611
63000888
PA
126122016-07-01 Pedro Alves <palves@redhat.com>
12613
12614 * gdb.multi/watchpoint-multi-exit.c: New file.
12615 * gdb.multi/watchpoint-multi-exit.exp: New file.
12616
038d4868
PA
126172016-06-30 Pedro Alves <palves@redhat.com>
12618
12619 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
12620 unset inferior_spawn_id.
12621
994e9c83
PA
126222016-06-30 Pedro Alves <palves@redhat.com>
12623
12624 * lib/mi-support.exp (default_mi_gdb_start): Declare global
12625 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
12626
e5653468
YQ
126272016-06-29 Yao Qi <yao.qi@linaro.org>
12628
12629 * gdb.base/return.c: Add copyright header.
12630
803b47e5
TT
126312016-06-29 Tom Tromey <tom@tromey.com>
12632
12633 PR python/20129:
12634 * gdb.python/py-framefilter.exp: Add tests for setting priority
12635 and disabling of non-existent frame filter.
12636
28244707
YQ
126372016-06-29 Yao Qi <yao.qi@linaro.org>
12638
12639 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
12640 0x0f07ff.
12641
a31d2f06
YQ
126422016-06-28 Yao Qi <yao.qi@linaro.org>
12643
12644 * gdb.base/catch-syscall.exp: Remove check on isnative and target
12645 triplets. Start gdb, execute catch syscall, and continue. Check
12646 gdb's output to determine catch syscall is supported.
12647
921d8f54
MG
126482016-06-27 Manish Goregaokar <manish@mozilla.com>
12649
25d49b86
PA
12650 * gdb.rust/simple.rs: Add test for returning unit in a function.
12651 * gdb.rust/simple.exp: Add expectation for functions returning
12652 unit.
921d8f54 12653
f4952523
PMR
126542016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
12655
12656 * gdb.python/py-breakpoint-create-fail.c,
12657 gdb.python/py-breakpoint-create-fail.exp,
12658 gdb.python/py-breakpoint-create-fail.py: New testcase.
12659
fccb08f8
MG
126602016-06-25 Manish Goregaokar <manish@mozilla.com>
12661
12662 PR gdb/20239
12663 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
12664 * gdb.rust/simple.exp: Add test expectations for new NonZero
12665 tests.
fccb08f8 12666
6b850546
DT
126672016-06-24 David Taylor <dtaylor@emc.com>
12668
12669 * gdb.base/offsets.exp: New file.
12670 * gdb.base/offsets.c: New file.
12671
17621150
TT
126722016-06-23 Tom Tromey <tom@tromey.com>
12673
12674 PR gdb/16483:
12675 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
12676 before any filters are loaded.
12677
04d59df6
WT
126782016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
12679
12680 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
12681 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
12682 structs.
12683 * gdb.fortran/derived-type-function.exp: New file.
12684 * gdb.fortran/derived-type-function.f90: New file.
12685
12686
ac69f786
PA
126872016-06-21 Pedro Alves <palves@redhat.com>
12688
12689 * gdb.base/new-ui.exp: New file.
12690 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
12691 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
12692 (with_spawn_id): New procedure.
12693
49940788
PA
126942016-06-21 Pedro Alves <palves@redhat.com>
12695
12696 * gdb.mi/mi-exec-run.exp: New file.
12697
ef274d26
PA
126982016-06-21 Pedro Alves <palves@redhat.com>
12699
12700 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
12701 breakpoint command's output on the main UI.
12702 (test_break): New procedure, factored out from calls in the top
12703 level.
12704 (top level): Use foreach_with_prefix to test MI as main UI and as
12705 separate UI.
12706
468afe6c
PA
127072016-06-21 Pedro Alves <palves@redhat.com>
12708
12709 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
12710 (test_awatch_creation_and_listing)
12711 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
12712 Remove 'type' parameter.
12713 (test_watchpoint_all): New parameter mi_mode. Remove
12714 with_test_prefix.
12715 (top level): Use foreach_with_prefix, and add main/separate UI MI
12716 testing axis.
12717
51f77c37
PA
127182016-06-21 Pedro Alves <palves@redhat.com>
12719
12720 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
12721 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
12722 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
12723 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
12724 (gdb_main_spawn_id, mi_spawn_id): Declare and
12725 comment.
12726 (mi_create_inferior_pty): New procedure,
12727 factored out from default_mi_gdb_start.
12728 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
12729 procedures.
12730 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
12731 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
12732 Use mi_create_inferior_pty.
12733 (mi_gdb_start): Use eval to pass down args list.
12734
8980e177
PA
127352016-06-21 Pedro Alves <palves@redhat.com>
12736
12737 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
12738 * gdb.opt/inline-cmds.exp: Add MI tests.
12739
f38d3ad1
PA
127402016-06-21 Pedro Alves <palves@redhat.com>
12741
12742 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
12743
45db7c09
PA
127442016-06-21 Pedro Alves <palves@redhat.com>
12745
12746 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
12747 (top level): Use it instead of mi_execute_to.
12748
5a069ab3
PA
127492016-06-21 Pedro Alves <palves@redhat.com>
12750
12751 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
12752 (cont_handler_str): New.
12753 (signal_stop_handler): Set stop_handler_str instead of printing to
12754 stdout.
12755 (continue_handler): Set cont_handler_str instead of printing to
12756 stdout.
12757 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
12758 mi_send_resuming_command. Print stop_handler_str and
12759 cont_handler_str instead of expecting the python events print
12760 directly.
12761
2838cc1d
SD
127622016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
12763
12764 * gdb.base/jit-reader.exp: New file.
12765 * gdb.base/jithost.c: New file.
12766 * gdb.base/jithost.h: New file.
12767 * gdb.base/jitreader.c : New file.
12768 * gdb.base/jit-protocol.h: New file.
12769
21a77091
YQ
127702016-06-17 Yao Qi <yao.qi@linaro.org>
12771
12772 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
12773 parameters follow_fork and detach_on_fork. Set follow-fork-mode
12774 and detach-on-fork. Adjust tests.
12775 (top level): Invoke break_cond_on_syscall with combinations of
12776 syscall, follow-fork-mode and detach-on-fork.
12777
f50bf8e5
YQ
127782016-06-17 Yao Qi <yao.qi@linaro.org>
12779
12780 * gdb.base/step-over-exit.c: New.
12781 * gdb.base/step-over-exit.exp: New.
12782
a28d8e50
YTL
127832016-06-17 Yan-Ting Lin <currygt52@gmail.com>
12784
12785 * gdb.base/float.exp: Add target check for nds32*-*-*.
12786 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
12787
cad8e26d
AB
127882016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
12789
12790 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
12791 for unsupported target features.
12792 * gdb.base/call-rt-st.exp: Likewise.
12793 * gdb.base/call-sc.exp: Likewise.
12794 * gdb.base/call-signal-resume.exp: Likewise.
12795 * gdb.base/call-strs.exp: Likewise.
12796 * gdb.base/callexit.exp: Likewise.
12797 * gdb.base/callfuncs.exp: Likewise.
12798 * gdb.base/nodebug.exp: Likewise.
12799 * gdb.base/printcmds.exp: Likewise.
12800 * gdb.base/ptype.exp: Likewise.
12801 * gdb.base/structs.exp: Likewise.
12802 * gdb.base/unwindonsignal.exp: Likewise.
12803 * gdb.cp/gdb2495.exp: Likewise.
12804 * gdb.cp/templates.exp: Likewise.
12805 * gdb.cp/virtfunc.exp: Likewise.
12806 * gdb.threads/hand-call-in-threads.exp: Likewise.
12807 * gdb.threads/interrupted-hand-call.exp: Likewise.
12808 * gdb.threads/thread-unwindonsignal.exp: Likewise.
12809
347dc102
TT
128102016-06-10 Tom Tromey <tom@tromey.com>
12811
12812 PR rust/20110:
12813 * gdb.rust/expr.exp: Add test for integer constant larger than
12814 i32.
12815
5e13cf25
BH
128162016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
12817
12818 * gdb.fortran/nested-funcs.exp: New.
12819 * gdb.fortran/nested-funcs.f90: New.
12820
bb556f1f
TK
128212016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
12822
12823 * gdb.base/examine-backward.c: New file.
12824 * gdb.base/examine-backward.exp: New file.
12825
38b022b4
SM
128262016-06-06 Simon Marchi <simon.marchi@ericsson.com>
12827
12828 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
12829 matching.
12830
1b40ec05
TT
128312016-06-02 Tom Tromey <tom@tromey.com>
12832
12833 PR python/18984:
12834 * gdb.python/py-shared.exp: Add solib_name test.
12835
193bd378
SM
128362016-06-02 Simon Marchi <simon.marchi@ericsson.com>
12837
12838 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
12839
3326303b
MG
128402016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
12841
12842 PR c++/19893
12843 * gdb.dwarf2/implref.exp: Rename to...
12844 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
12845 * gdb.dwarf2/implref-array.c: New file.
12846 * gdb.dwarf2/implref-array.exp: Likewise.
12847 * gdb.dwarf2/implref-global.c: Likewise.
12848 * gdb.dwarf2/implref-global.exp: Likewise.
12849 * gdb.dwarf2/implref-struct.c: Likewise.
12850 * gdb.dwarf2/implref-struct.exp: Likewise.
12851
825c8ef2
AT
128522016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12853
12854 * gdb.trace/trace-condition.exp: Add 64bit tests.
12855
2320162a
AT
128562016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12857
12858 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
12859 bits types.
12860 (main): Adapt to 8 to 64 bits types.
12861 * gdb.trace/trace-condition.exp: Add new tests.
12862
a7818233
AT
128632016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12864
12865 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
12866
0d336466
AT
128672016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12868
12869 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
12870 Move condition tests...
12871 * gdb.trace/trace-condition.exp: Here.
12872
7faeb45a
AT
128732016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12874
12875 * gdb.trace/trace-condition.exp: Add counter-case tests.
12876
e385593e
JK
128772016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12878
12879 PR c++/15231
12880 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
12881 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
12882
744608cc
PA
128832016-05-27 Pedro Alves <palves@redhat.com>
12884
12885 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12886 New procedure.
12887 (top level): Call it, and bail out of DejaGnu is known to be bad.
12888
ac775bf4
AB
128892016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
12890
12891 * gdb.base/whatis.c: Extend the test case.
12892 * gdb.base/whatis.exp: Add additional tests.
12893
2bbad2ea
BH
128942016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12895
12896* gdb.fortran/type.f90: Add pointer variable.
12897* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
12898
8b70175d
BH
128992016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12900
12901 * gdb.fortran/vla-type.exp: Fix testcase name.
12902
86d8a848
BH
129032016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12904
12905 * gdb.fortran/vla-type.exp: Access elements in nested structs.
12906
e188eb36
BH
129072016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12908
12909 * gdb.fortran/type.f90: Add nested structures.
12910 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
12911 * gdb.fortran/derived-type.exp: Adapt expected output.
12912 * gdb.fortran/vla-type.exp: Adapt expected output.
12913
9b2db1fd
BH
129142016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12915
12916 * gdb.fortran/whatis_type.exp: Adapt expected output.
12917
72b17055
BH
129182016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12919
12920 * gdb.fortran/print_type.exp: Fix expected output.
12921 * gdb.fortran/whatis_type.exp: Fix expected output.
12922
3cd81d8d
BH
129232016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12924
12925 * gdb.fortran/whatis_type.exp: Use multi_line.
12926
ddae9462
TT
129272016-05-24 Tom Tromey <tom@tromey.com>
12928
12929 PR python/17386:
12930 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
12931 use value as an index.
12932
1957f6b8
TT
129332016-05-23 Tom Tromey <tom@tromey.com>
12934
12935 PR python/17981:
12936 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
12937 no-breakpoint case.
12938
026a9174
PA
129392016-05-24 Pedro Alves <palves@redhat.com>
12940
12941 PR gdb/19828
12942 * gdb.threads/clone-attach-detach.c: New file.
12943 * gdb.threads/clone-attach-detach.exp: New file.
12944
e70a7231
FR
129452016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
12946
12947 * gdb.base/annota-input-while-running.exp: Fix syntax error.
12948
0f6ed0e0
TT
129492016-05-23 Tom Tromey <tom@tromey.com>
12950
12951 PR python/19438, PR python/18393:
12952 * gdb.python/py-progspace.exp: Add "dir" test.
12953 * gdb.python/py-objfile.exp: Add "dir" test.
12954
ffd19d61
YQ
129552016-05-23 Yao Qi <yao.qi@linaro.org>
12956
12957 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
12958 * gdb.arch/thumb2-it.exp: Likewise.
12959
9e8f9b05
SM
129602016-05-18 Simon Marchi <simon.marchi@ericsson.com>
12961
12962 * gdb.mi/mi-threads-interrupt.c: New file.
12963 * gdb.mi/mi-threads-interrupt.exp: New file.
12964
61c6156d
SM
129652016-05-17 Simon Marchi <simon.marchi@ericsson.com>
12966
12967 PR gdb/18077
12968 * gdb.mi/mi-async-run.exp: New file.
12969 * gdb.mi/mi-async-run.c: New file.
12970
67218854
TT
129712016-05-17 Tom Tromey <tom@tromey.com>
12972 Manish Goregaokar <manishsmail@gmail.com>
12973
12974 * lib/rust-support.exp: New file.
12975 * lib/gdb.exp (skip_rust_tests): New proc.
12976 (build_executable_from_specs): Handle rust.
12977 * lib/future.exp (gdb_find_rustc): New proc.
12978 (gdb_default_target_compile): Handle rust.
12979 * gdb.rust/expr.exp: New file.
12980 * gdb.rust/generics.exp: New file.
12981 * gdb.rust/generics.rs: New file.
12982 * gdb.rust/methods.exp: New file.
12983 * gdb.rust/methods.rs: New file.
12984 * gdb.rust/modules.exp: New file.
12985 * gdb.rust/modules.rs: New file.
12986 * gdb.rust/simple.exp: New file.
12987 * gdb.rust/simple.rs: New file.
12988
c44af4eb
TT
129892016-05-17 Tom Tromey <tom@tromey.com>
12990
12991 * gdb.base/default.exp (set language): Add rust.
12992
dcd1f979
TT
129932016-05-17 Tom Tromey <tom@tromey.com>
12994
12995 * gdb.gdb/unittest.exp: New file.
12996
155b7f57
YQ
129972016-05-16 Yao Qi <yao.qi@linaro.org>
12998
12999 * gdb.base/batch-preserve-term-settings.exp: Remove variable
13000 shell_prompt. Update shell_prompt_re.
13001
8ddd5a6c
DE
130022016-05-12 Doug Evans <dje@google.com>
13003
13004 PR symtab/19999
13005 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
13006 $options when building executable.
13007 * gdb.dwarf2/fission-loclists-pie.S: New file.
13008 * gdb.dwarf2/fission-loclists-pie.exp: New file.
13009
02e370d9
SM
130102016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13011
13012 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
13013 of [is_remote target],
13014
8929ad8b
SM
130152016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13016
13017 * lib/gdb.exp (use_gdb_stub): New procedure.
13018
6c447423
DE
130192016-05-03 Yunlian Jiang <yunlian@google.com>
13020 Doug Evans <dje@google.com>
13021
13022 PR symtab/19914
13023 * gdb.dwarf2/dwp-sepdebug.c: New file.
13024 * gdb.dwarf2/dwp-sepdebug.exp: New file.
13025
444e826c
SM
130262016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13027
13028 * gdb.base/detach.exp: Remove is_remote check.
13029
740feeaa
SM
130302016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13031
13032 * gdb.base/annota-input-while-running.exp: Don't check for
13033 [is_remote target]. Enable annotations after running to main.
13034 Remove unused "set test..." line.
13035
9080ac9d
SM
130362016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13037
13038 * gdb.trace/trace-enable-disable.exp: New file.
13039 * gdb.trace/trace-enable-disable.c: New file.
13040
952ebca5
SM
130412016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13042
13043 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
13044 use it in info sharedlibrary test.
13045 * gdb.trace/ftrace-lock.exp: Likewise.
13046 * gdb.trace/ftrace.exp: Likewise.
13047 * gdb.trace/range-stepping.exp: Likewise.
13048 * gdb.trace/trace-break.exp: Likewise.
13049 * gdb.trace/trace-condition.exp: Likewise.
13050 * gdb.trace/trace-mt.exp: Likewise.
13051
d9019901
SM
130522016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13053
13054 * lib/gdb.exp (gdb_load_shlibs): Rename to...
13055 (gdb_load_shlib): ... this.
13056 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
13057 gdb_load_shlib.
13058 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
13059 * gdb.base/ctxobj.exp: Likewise.
13060 * gdb.base/dprintf-pending.exp: Likewise.
13061 * gdb.base/dso2dso.exp: Likewise.
13062 * gdb.base/fixsection.exp: Likewise.
13063 * gdb.base/gcore-relro.exp: Likewise.
13064 * gdb.base/gdb1555.exp: Likewise.
13065 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13066 * gdb.base/gnu-ifunc.exp: Likewise.
13067 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
13068 * gdb.base/jit-so.exp (one_jit_test): Likewise.
13069 * gdb.base/pending.exp: Likewise.
13070 * gdb.base/print-file-var.exp: Likewise.
13071 * gdb.base/print-symbol-loading.exp: Likewise.
13072 * gdb.base/shlib-call.exp: Likewise.
13073 * gdb.base/shreloc.exp: Likewise.
13074 * gdb.base/so-impl-ld.exp: Likewise.
13075 * gdb.base/solib-disc.exp: Likewise.
13076 * gdb.base/solib-nodir.exp: Likewise.
13077 * gdb.base/solib-overlap.exp: Likewise.
13078 * gdb.base/solib-symbol.exp: Likewise.
13079 * gdb.base/solib-weak.exp (do_test): Likewise.
13080 * gdb.base/sym-file.exp: Likewise.
13081 * gdb.base/symtab-search-order.exp: Likewise.
13082 * gdb.base/type-opaque.exp: Likewise.
13083 * gdb.base/unload.exp: Likewise.
13084 * gdb.base/watchpoint-solib.exp: Likewise.
13085 * gdb.compile/compile.exp: Likewise.
13086 * gdb.cp/gdb2384.exp: Likewise.
13087 * gdb.cp/infcall-dlopen.exp: Likewise.
13088 * gdb.cp/re-set-overloaded.exp: Likewise.
13089 * gdb.fortran/library-module.exp: Likewise.
13090 * gdb.opt/solib-intra-step.exp: Likewise.
13091 * gdb.python/py-finish-breakpoint.exp: Likewise.
13092 * gdb.python/py-shared.exp: Likewise.
13093 * gdb.reverse/solib-precsave.exp: Likewise.
13094 * gdb.reverse/solib-reverse.exp: Likewise.
13095 * gdb.server/solib-list.exp: Likewise.
13096 * gdb.threads/dlopen-libpthread.exp: Likewise.
13097 * gdb.threads/tls-shared.exp: Likewise.
13098 * gdb.threads/tls-so_extern.exp: Likewise.
13099 * gdb.trace/change-loc.exp: Likewise.
13100 * gdb.trace/ftrace-lock.exp: Likewise.
13101 * gdb.trace/ftrace.exp: Likewise.
13102 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
13103 * gdb.trace/pending.exp: Likewise.
13104 * gdb.trace/range-stepping.exp: Likewise.
13105 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
13106 (strace_info_marker): Likewise.
13107 (strace_probe_marker): Likewise.
13108 (strace_trace_on_same_addr): Likewise.
13109 (strace_trace_on_diff_addr): Likewise.
13110 * gdb.trace/trace-break.exp: Likewise.
13111 * gdb.trace/trace-condition.exp: Likewise.
13112 * gdb.trace/trace-mt.exp: Likewise.
13113
fca4cfd9
SM
131142016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13115
13116 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
13117 result of gdb_remote_download.
13118 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
13119 * gdb.base/dso2dso.exp: Likewise.
13120 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13121 * gdb.base/print-file-var.exp: Likewise.
13122 * gdb.base/shlib-call.exp: Likewise.
13123 * gdb.base/shreloc.exp: Likewise.
13124 * gdb.base/solib-overlap.exp: Likewise.
13125 * gdb.base/solib-weak.exp (do_test): Likewise.
13126 * gdb.base/unload.exp: Likewise.
13127
11cf4ffb
YQ
131282016-04-27 Yao Qi <yao.qi@linaro.org>
13129
13130 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
13131 exists.
13132
3e2e34f8
KB
131332016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13134
13135 * vla-type.exp: Print structure from toplevel.
13136
8f07e298
BH
131372016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13138
13139 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
13140 of dynamic types.
13141 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
13142 of dynamic types.
13143
9920b434
BH
131442016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13145
13146 * gdb.fortran/vla-type.f90: New file.
13147 * gdb.fortran/vla-type.exp: New file.
13148
f3abeff5
YQ
131492016-04-25 Yao Qi <yao.qi@linaro.org>
13150
13151 * gdb.base/branch-to-self.c: New file.
13152 * gdb.base/branch-to-self.exp: New file.
13153
0a5d52f0
YQ
131542016-04-22 Yao Qi <yao.qi@linaro.org>
13155
13156 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
13157 more after $hex.
13158
495346f6
YQ
131592016-04-22 Yao Qi <yao.qi@linaro.org>
13160
13161 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
13162 * gdb.base/annota3.exp: Likewise.
13163
4a7e075c
YQ
131642016-04-22 Yao Qi <yao.qi@linaro.org>
13165
13166 * gdb.reverse/step-precsave.exp: Do one step and test program
13167 stops in "callee" and do multiple steps until program goes out
13168 of "callee".
13169 * gdb.reverse/step-reverse.exp: Likewise.
13170
5b061e98
YQ
131712016-04-22 Yao Qi <yao.qi@linaro.org>
13172
13173 * gdb.trace/signal.exp: Also pass if
13174 $tracepoint_hits($i) > $iterations.
13175
5c5dc57f
YQ
131762016-04-22 Yao Qi <yao.qi@linaro.org>
13177
13178 * gdb.trace/signal.c: New file.
13179 * gdb.trace/signal.exp: New file.
13180
a55411b9
DE
131812016-04-19 Doug Evans <xdje42@gmail.com>
13182
13183 * gdb.base/bad-file.exp: New file.
13184
a22df60a
MG
131852016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
13186
13187 * gdb.dwarf2/implref.exp: New file.
13188
0c13f7e5
BH
131892016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13190
13191 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
13192 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
13193 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
13194 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
13195 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
13196 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
13197 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
13198 * lib/fortran.exp (fortran_int4): New procedure.
13199 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
13200 (fortran_logical4): Likewise.
13201
9b9b09e9
BH
132022016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
13203
13204 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
13205
a14d1f4d
BH
132062016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13207
13208 * lib/compiler.c: Add Intel specific preprocessor macros.
13209 * lib/compiler.cc: Likewise.
25d49b86 13210
7d49b1d0
LM
132112016-04-13 Luis Machado <lgustavo@codesourcery.com>
13212
13213 * gdb.server/connect-with-no-symbol-file.c: New file.
13214 * gdb.server/connect-with-no-symbol-file.exp: New file.
13215
8392fa22
SM
132162016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13217
13218 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
13219
8c4c4aeb
SM
132202016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13221
13222 * boards/gdbserver-base.exp (${board}_download): Copy source file to
13223 standard output directory.
13224
45e3745e
AT
132252016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
13226
13227 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
13228
e26b7e41
MM
132292016-04-13 Markus Metzger <markus.t.metzger@intel.com>
13230
13231 * gdb.btrace/instruction_history.c (loop): Add declaration.
13232
8ce09462
AT
132332016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13234
13235 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
13236
2e88a1ea
SM
132372016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
13238
13239 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
13240 parentheses to print.
13241 (continue_handler): Likewise.
13242
f48e22e3
SM
132432016-04-08 Simon Marchi <simon.marchi@ericsson.com>
13244
13245 * gdb.server/solib-list.exp: Remove is_remote check.
13246 Pass shlib= to gdb_compile. Don't link shared library with
13247 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
13248 Run binary filename through "readlink -f" on the target.
13249
096be756
PA
132502016-04-08 Pedro Alves <palves@redhat.com>
13251
13252 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
13253 interpreter filename as argument to gdbserver_spawn.
13254 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13255 Return empty if $last_loaded_file does not exist.
13256
06500533
JK
132572016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13258
13259 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
13260 * gdb.base/jit-main.c: Use exit after usage.
13261
2d35e871
JK
132622016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13263
13264 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
13265 GDBHISTSIZE prior to the tests.
13266 * gdb.base/gdbinit-history.exp: Likewise.
13267
132682016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
13269
13270 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
13271 instead of build_executable. Use gdb_load_shlibs.
13272
c8064e7e
YQ
132732016-04-07 Yao Qi <yao.qi@linaro.org>
13274
13275 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
13276 Execute "si" command.
13277
bde47561
YQ
132782016-04-07 Yao Qi <yao.qi@linaro.org>
13279
13280 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
13281 number instead of the comments on some line.
13282
b16f8a3b
DB
132832016-04-06 Don Breazeal <donb@codesourcery.com>
13284
13285 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
13286 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
13287
c2f901df
SM
132882016-04-06 Simon Marchi <simon.marchi@ericsson.com>
13289
13290 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
13291 standard_output_file. Remove unused binfile variable.
13292
ac17fda0
CU
132932016-04-05 Catalin Udma <catalin.udma@freescale.com>
13294
13295 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
13296 * gdb.python/py-mi-objfile.exp: Match "list main" output
13297 in console format.
13298
03a8c4df
SM
132992016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
13300
13301 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
13302 absolute.
13303
6e774b13
SM
133042016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13305
13306 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
13307 absolute.
13308 * gdb.trace/ftrace.exp: Likewise.
13309 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
13310 targets as well.
13311 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
13312 (gdb_load_shlibs): Copy libraries to test directory when testing
13313 natively. Only set solib-search-path if testing remotely.
13314 * lib/mi-support.exp (mi_load_shlibs): Likewise.
13315
7817ea46
SM
133162016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13317
13318 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
13319 gdb_download. Use it even if the target is not remote.
13320 * gdb.base/jit.exp (compile_jit_test): Likewise.
13321 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
13322 output directory if the destination board is local, otherwise use
13323 the standard remote_download from DejaGnu.
13324 (gdb_download): Remove.
13325 (gdb_load_shlibs): Use gdb_remote_download instead of
13326 gdb_download.
13327 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13328 Use gdb_remote_download instead of gdb_download. Use it even if
13329 the target is not remote.
13330 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
13331 instead of gdb_download.
13332
7beb7f68
SM
133332016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
13334
13335 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
13336 (test_insert_delete_modify): Call mi_load_shlibs before trying to
13337 run.
13338
cc63428a
AV
133392016-04-01 Artemiy Volkov <artemiyv@acm.org>
13340
13341 PR gdb/19820
13342 * gdb.base/printcmds.exp: Add artificial arrays tests.
13343
64cdf930
PA
133442016-03-31 Pedro Alves <palves@redhat.com>
13345
13346 PR gdb/19858
13347 * gdb.base/jit-main.c: Include unistd.h.
13348 (ATTACH): Define to 0 if not already defined.
13349 (wait_for_gdb, mypid): New globals.
13350 (WAIT_FOR_GDB): New macro.
13351 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
13352 some breakpoint locations.
13353 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
13354 New procedures.
13355 (one_jit_test): Add REATTACH parameter, and handle it. Use
13356 continue_to_test_location.
13357 (top level): Test attach, and adjusts calls to one_jit_test.
13358
40dea8cb
PA
133592016-03-31 Pedro Alves <palves@redhat.com>
13360
13361 PR gdb/19858
13362 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
13363 BINSUFFIX parameter, and handle it.
13364 (top level): Adjust calls compile_jit_test.
13365
e7ea3ec7
CU
133662016-03-31 Catalin Udma <catalin.udma@freescale.com>
13367
13368 PR python/19743
13369 * gdb.python/py-mi-events-gdb.py: New file.
13370 * gdb.python/py-mi-events.c: New file.
13371 * gdb.python/py-mi-events.exp: New file.
13372
e6359af3
YQ
133732016-03-30 Yao Qi <yao.qi@linaro.org>
13374
13375 * gdb.reverse/until-precsave.exp: Match function name only.
13376 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
13377 Move malloc to a condition block.
13378 * gdb.reverse/until-reverse.exp: Match function name only.
13379
a4105d04
MK
133802016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
13381
13382 * gdb.trace/ftrace.exp: Set arg0exp for s390.
13383 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
13384 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
13385 variable for GPR 0 instead of assuming it is register 0.
13386 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
13387 * lib/trace-support.exp: Add s390 registers.
13388
bfa6adb9
YQ
133892016-03-29 Yao Qi <yao.qi@linaro.org>
13390
13391 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
13392
1e6697ea
YQ
133932016-03-24 Yao Qi <yao.qi@linaro.org>
13394
13395 * gdb.reverse/break-reverse.exp: Add quotation mark in the
13396 test message.
13397
64bcd522
AA
133982016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13399
13400 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
13401 maintaining separate logic for constructing the output path.
13402
7868401b
DB
134032016-03-16 Don Breazeal <donb@codesourcery.com>
13404
13405 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
13406 Retry fork and waitpid on interrupted system call errors.
13407 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13408 Use with_timeout_factor to increase timeout by factor of 10.
13409
1cafadb4
DB
134102016-03-15 Don Breazeal <donb@codesourcery.com>
13411
13412 * gdb.cp/scope-err.cc: New test program.
13413 * gdb.cp/scope-err.exp: New test script.
13414 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
13415 lines and "set breakpoint here" comment.
13416 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
13417 Fixed some whitespace and format issues.
13418 * gdb.mi/mi-linespec-err-cp.cc: New test program.
13419 * gdb.mi/mi-linespec-err-cp.exp: New test script.
13420
81516450
DE
134212016-03-15 Doug Evans <dje@google.com>
13422
13423 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
13424 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
13425 All callers updated. Add tests for enums, mixed flags register.
13426
aa52b601
DE
134272016-03-15 Doug Evans <dje@google.com>
13428
13429 * gdb.base/skip.c (main): Call test_skip_file_and_function.
13430 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
13431
fa4ff313
SM
134322016-03-14 Simon Marchi <simon.marchi@ericsson.com>
13433
13434 * gdb.base/default.exp: Add $_as_string to the list of expected
13435 convenience functions.
13436
f2403c39
AB
134372016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
13438
13439 * gdb.base/maint.exp: New tests for 'maint info line-table'.
13440
f2f3ccb9
SM
134412016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
13442
13443 * gdb.python/py-as-string.exp: New file.
13444 * gdb.python/py-as-string.c: New file.
13445
00dbd492
PA
134462016-03-09 Pedro Alves <palves@redhat.com>
13447
13448 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
13449 signal" -> "Thread NN received signal" output change.
13450 * gdb.threads/ia64-sigill.exp: Likewise.
13451 * gdb.threads/linux-dp.exp: Likewise.
13452 * gdb.threads/manythreads.exp: Likewise.
13453 * gdb.threads/pending-step.exp: Likewise.
13454 * gdb.threads/print-threads.exp: Likewise.
13455 * gdb.threads/sigstep-threads.exp: Likewise.
13456 * gdb.threads/staticthreads.exp: Likewise.
13457 * gdb.threads/tls.exp: Likewise.
13458
1e6697ea
YQ
134592016-03-09 Pedro Alves <palves@redhat.com>
13460
13461 * gdb.base/command-line-input.exp: New file.
13462
b04fd3be
MK
134632016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13464
13465 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
13466 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
13467 * gdb.trace/pending.exp: Accept leading dot before function name.
13468 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
13469 * lib/trace-support.exp: Set registers for ppc.
13470
98fa59e9
MK
134712016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13472
13473 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
13474 use it for disassembly; accept .main in addition to main in backtrace.
13475
f77198c8
MK
134762016-03-09 Wei-cheng Wang <cole945@gmail.com>
13477 Marcin Kościelnicki <koriakin@0x04.net>
13478
13479 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
13480 (gdb_recursion_test_ptr): New global variable.
13481 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
13482 gdb_recursion_test.
13483 (gdb_c_test): Ditto.
13484
ba84e0da
MK
134852016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13486
13487 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
13488 ordering.
13489
4366d36e
MK
134902016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13491
13492 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
13493 (bar): Add bar_start_lbl label.
13494 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
13495 of foo/bar for emitting DWARF and tracing.
13496
5eb264df
SDJ
134972016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
13498
13499 * analyze-racy-logs.py: Set executable bit.
13500
fb6a751f
SDJ
135012016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
13502
13503 * Makefile.in (DEFAULT_RACY_ITER): New variable.
13504 (CHECK_TARGET_TMP): Likewise.
13505 (check-single-racy): New rule.
13506 (check-parallel-racy): Likewise.
13507 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
13508 (do-check-parallel-racy): New rule.
13509 (check-racy/%.exp): Likewise.
13510 * README (Racy testcases): New section.
13511 * analyze-racy-logs.py: New file.
13512
bdf7e230
DE
135132016-03-03 Doug Evans <dje@google.com>
13514
13515 * gdb.base/skip.exp: Use with_test_prefix.
13516
4719d415
YQ
135172016-03-03 Yao Qi <yao.qi@linaro.org>
13518
13519 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
13520 Invoke step_over_syscall "clone" and break_cond_on_syscall
13521 "clone".
13522 * gdb.base/step-over-clone.c: New file.
13523
ea507862
YQ
135242016-03-03 Yao Qi <yao.qi@linaro.org>
13525
13526 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
13527 code format.
13528
8fc8cbda
YQ
135292016-03-03 Yao Qi <yao.qi@linaro.org>
13530
13531 * gdb.base/disp-step-fork.c: Rename to ...
13532 * gdb.base/step-over-fork.c: ... it. New file.
13533 * gdb.base/disp-step-vfork.c: Rename to ...
13534 * gdb.base/step-over-vfork.c: ... it. New file.
13535 * gdb.base/disp-step-syscall.exp: Rename to ...
13536 * gdb.base/step-over-syscall.exp: ... it. New file.
13537 (disp_step_cross_syscall): Rename to ...
13538 (step_over_syscall): ... it.
13539
92fa70b0
YQ
135402016-03-03 Yao Qi <yao.qi@linaro.org>
13541
13542 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
13543 If target supports condition evaluation on target, invoke
13544 break_cond_on_syscall for fork and vfork.
13545
e197ad3c
YQ
135462016-03-03 Yao Qi <yao.qi@linaro.org>
13547
13548 * gdb.base/disp-step-syscall.exp: Don't invoke
13549 support_displaced_stepping.
13550 (disp_step_cross_syscall): Test with displaced stepping off and
13551 on if supported.
13552
0b47da9f
YQ
135532016-03-03 Yao Qi <yao.qi@linaro.org>
13554
13555 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
13556 proc.
13557 (setup): New proc.
13558 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
13559 and setup.
13560
065ab6dc
BH
135612016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13562
13563 * gdb.fortran/vla-history.exp: Remove breakpoint.
13564
07e448ad 135652016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13566
25d49b86
PA
13567 * gdb.fortran/vla-history.exp: Lookup array elements and printing
13568 exceeds timeout.
07e448ad 13569
9ac2d526 135702016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13571
25d49b86
PA
13572 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
13573 breakpoint.
9ac2d526 13574
17807369
BH
135752016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13576
13577 * gdb.mi/vla.f90: Nullify pointer after declaration.
13578
86e501af
PA
135792016-03-01 Pedro Alves <palves@redhat.com>
13580
13581 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
13582
1e903e32
PA
135832016-03-01 Pedro Alves <palves@redhat.com>
13584
13585 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
13586 before anything else.
13587 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
13588 _GNU_SOURCE here.
13589 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
13590 before anything else.
13591 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
13592
6ccb54e2
PA
135932016-03-01 Pedro Alves <palves@redhat.com>
13594
13595 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
13596
30ca9da1
YQ
135972016-03-01 Yao Qi <yao.qi@linaro.org>
13598
13599 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
13600 prepare_for_testing.
13601
dc856b38
YQ
136022016-03-01 Yao Qi <yao.qi@linaro.org>
13603
13604 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
13605
4a932159
AA
136062016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13607
13608 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
13609 manually constructing the output path.
13610
f2489477
AA
136112016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13612
13613 * gdb.arch/s390-stackless.S: New.
13614 * gdb.arch/s390-stackless.exp: New.
13615
38899f16
IB
136162016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
13617
13618 * gdb.dlang/circular.c: New file.
13619 * gdb.dlang/circular.exp: New file.
13620
9fde51ed
YQ
136212016-02-26 Yao Qi <yao.qi@linaro.org>
13622
13623 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
13624 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
13625 (testcases): Update.
13626
ce90fefe
YQ
136272016-02-26 Yao Qi <yao.qi@linaro.org>
13628
13629 * gdb.reverse/aarch64.c: Rename to ...
13630 * gdb.reverse/insn-reverse.c: ... it.
13631 * gdb.reverse/aarch64.exp: Rename to ...
13632 * gdb.reverse/insn-reverse.exp: ... it.
13633
3263bceb
YQ
136342016-02-26 Yao Qi <yao.qi@linaro.org>
13635
13636 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
13637 (testcase_ftype): New.
13638 (testcases): New array.
13639 (n_testcases): New.
13640 (main): Call each element in testcases.
13641 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
13642 (read_testcase): New.
13643 Do the tests in a loop.
13644
6cb59ff1
YQ
136452016-02-25 Yao Qi <yao.qi@linaro.org>
13646
13647 * gdb.base/branches.c: Remove.
13648
ae91f625
MK
136492016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13650
13651 PR gdb/13808
13652 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
13653
678b48b7
MK
136542016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13655
13656 * gdb.trace/ftrace.exp: Remove unnecessary target check.
13657
7337a6f2
MK
136582016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13659
13660 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
13661 change x86_64 call_insn to 'callq'.
13662
861ca91f
AT
136632016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13664
13665 * gdb.trace/tfile-avx.c: Move to...
13666 * gdb.trace/tracefile-pseudo-reg.c: Here.
13667 * gdb.trace/tfile-avx.exp: Move to...
13668 * gdb.trace/tracefile-pseudo-reg.exp: Here.
13669
bf74e428
GB
136702016-02-24 Gary Benson <gbenson@redhat.com>
13671
13672 * gdb.base/attach-pie-noexec.exp: Do not expect an error
13673 message on attach.
13674
cce0e923
DE
136752016-02-23 Doug Evans <dje@google.com>
13676
13677 * gdb.base/skip.c (test_skip): New function.
13678 (end_test_skip_file_and_function): New function.
13679 (test_skip_file_and_function): New function.
13680 * gdb.base/skip1.c (test_skip): New function.
13681 (skip1_test_skip_file_and_function): New function.
13682 * gdb.base/skip.exp: Add tests for new skip options.
13683 * gdb.base/skip-solib.exp: Update expected output.
13684 * gdb.perf/skip-command.cc: New file.
13685 * gdb.perf/skip-command.exp: New file.
13686 * gdb.perf/skip-command.py: New file.
13687
4000e47e
MK
136882016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
13689
13690 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
13691 info registers pattern.
13692
24f75ead
IB
136932016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
13694
13695 * lib/future.exp: Add D support.
13696 (gdb_find_gdc): New proc.
13697 (gdb_default_target_compile): Add D support.
13698
fbb7bcbe
WW
136992016-02-18 Wei-cheng Wang <cole945@gmail.com>
13700
13701 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
13702 user+system time.
13703 (trace_speed_test): Determine the iteration count for a time
13704 between 15..30 seconds.
13705
012b3a21
WT
137062016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
13707
13708 * gdb.arch/i386-mpx-sigsegv.c: New file.
13709 * gdb.arch/i386-mpx-sigsegv.exp: New file.
13710 * gdb.arch/i386-mpx-simple_segv.c: New file.
13711 * gdb.arch/i386-mpx-simple_segv.exp: New file.
13712
2d5189bd
YQ
137132016-02-18 Yao Qi <yao.qi@linaro.org>
13714
13715 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13716 Don't call setup_kfail.
13717
40fb20d0
YQ
137182016-02-18 Yao Qi <yao.qi@linaro.org>
13719
13720 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13721 Set "set breakpoint condition-evaluation" per $cond_bp_target.
13722
21b1f8d2
DE
137232016-02-16 Doug Evans <dje@google.com>
13724
13725 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
13726 * gdb.base/skip1.c: Ditto.
13727 * gdb.base/skip.exp: Whitespace cleanup.
13728
4041ed77
DB
137292016-02-16 Don Breazeal <donb@codesourcery.com>
13730
13731 PR remote/19496
13732 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13733 Remove kfail for PR remote/19496.
13734
c4ef31bf
SM
137352016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13736
13737 * lib/gdb.exp (standard_temp_file): Return a path specific to
13738 the runtest invocation.
13739
266b65b3
SM
137402016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13741
13742 * gdb.trace/save-trace.exp: Change relative path to be in the
13743 standard output directory.
13744
a7a0a6a9
JK
137452016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13746
13747 * gdb.arch/i386-prologue.c: Add missing prototypes.
13748
c99dbb42
JK
137492016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13750
13751 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
13752 * gdb.arch/i386-prologue.exp: Likewise.
13753 * gdb.arch/i386-size.exp: Likewise.
13754
aa480355
SM
137552016-02-15 Simon Marchi <simon.marchi@ericsson.com>
13756
13757 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
13758 define object file path.
13759 * gdb.btrace/gcore.exp: Use standard_output_file to define core
13760 file path.
13761 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
13762 standard_output_file to define binfile.
13763
ba881f50
JK
137642016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13765
13766 Fix compatibility with recent gfortran-5.3.1.
13767 * gdb.fortran/vla-history.exp (print vla1 allocated)
13768 (print vla2 allocated, print $2, print $3): Remove
13769 (print $4): Rename to ...
13770 (print $2): ... here.
13771 (print $9): Rename to ...
13772 (print $5): ... here.
13773 (print $10): Rename to ...
13774 (print $6): ... here.
13775 * gdb.fortran/vla.f90: Add pvla initialization.
13776
e9fb005c
JK
137772016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13778
13779 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
13780 New test.
13781 * gdb.fortran/vla-value-sub.exp: Likewise.
13782
e44e00ff
MK
137832016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
13784
13785 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
13786
97e94151
SM
137872016-02-12 Simon Marchi <simon.marchi@ericsson.com>
13788
13789 * i386-biarch-core.exp: Define corefile using
13790 standard_output_file.
13791
01113bc1
YQ
137922016-02-12 Yao Qi <yao.qi@linaro.org>
13793
13794 * gdb.arch/arm-single-step-kernel-helper.c: New.
13795 * gdb.arch/arm-single-step-kernel-helper.exp: New.
13796
33b4777c
MM
137972016-02-12 Markus Metzger <markus.t.metzger@intel.com>
13798
13799 * gdb.btrace/tailcall-only.exp: New.
13800 * gdb.btrace/tailcall-only.c: New.
13801 * gdb.btrace/x86_64-tailcall-only.S: New.
13802 * gdb.btrace/i686-tailcall-only.S: New.
13803
acc23c11
PA
138042016-02-11 Pedro Alves <palves@redhat.com>
13805
13806 * README (Parallel testing): Add missing double quotes.
13807
e352bf0a
PA
138082016-02-11 Pedro Alves <palves@redhat.com>
13809
13810 * README (Parallel testing): New section.
13811 (GDB_PARALLEL): Rewrite.
13812 (FORCE_PARALLEL): Document.
13813
9f5fed78
MK
138142016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
13815
13816 * gdb.trace/tfile-avx.c: New test.
13817 * gdb.trace/tfile-avx.exp: New test.
13818
9ef9e6a6
KS
138192016-02-09 Keith Seitz <keiths@redhat.com>
13820
13821 PR breakpoints/19546
13822 * gdb.base/infcall-exec.c: New file.
13823 * gdb.base/infcall-exec2.c: New file.
13824 * gdb.base/infcall-exec.exp: New file.
13825
a96e36da
KS
138262016-02-09 Keith Seitz <keiths@redhat.com>
13827
13828 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
13829 (toplevel): Call test_bkpt_address.
13830
9f61929f
KS
138312016-02-09 Keith Seitz <keiths@redhat.com>
13832
13833 PR python/19506
13834 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
13835 (toplevel): Call test_bkpt_address.
13836
1e94266c
SM
138372016-02-09 Simon Marchi <simon.marchi@ericsson.com>
13838
13839 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
13840 to AC_OUTPUT.
13841 * configure: Regenerate.
13842
2a7f3dff
PA
138432016-02-09 Pedro Alves <palves@redhat.com>
13844
13845 PR breakpoints/19548
13846 * gdb.base/execl-update-breakpoints.c (some_function): New
13847 function.
13848 (main): Call it.
13849 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
13850 Tighten expected GDB output.
13851
2151ccc5
SM
138522016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13853
13854 * Makefile.in (ALL_SUBDIRS): Remove.
13855 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
13856 (distclean maintainer-clean realclean): Likewise.
13857 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
13858 * configure: Regenerate.
13859 * gdb.ada/Makefile.in: Delete.
13860 * gdb.arch/Makefile.in: Likewise.
13861 * gdb.asm/Makefile.in: Likewise.
13862 * gdb.base/Makefile.in: Likewise.
13863 * gdb.btrace/Makefile.in: Likewise.
13864 * gdb.cell/Makefile.in: Likewise.
13865 * gdb.compile/Makefile.in: Likewise.
13866 * gdb.cp/Makefile.in: Likewise.
13867 * gdb.disasm/Makefile.in: Likewise.
13868 * gdb.dlang/Makefile.in: Likewise.
13869 * gdb.dwarf2/Makefile.in: Likewise.
13870 * gdb.fortran/Makefile.in: Likewise.
13871 * gdb.gdb/Makefile.in: Likewise.
13872 * gdb.go/Makefile.in: Likewise.
13873 * gdb.guile/Makefile.in: Likewise.
13874 * gdb.java/Makefile.in: Likewise.
13875 * gdb.linespec/Makefile.in: Likewise.
13876 * gdb.mi/Makefile.in: Likewise.
13877 * gdb.modula2/Makefile.in: Likewise.
13878 * gdb.multi/Makefile.in: Likewise.
13879 * gdb.objc/Makefile.in: Likewise.
13880 * gdb.opencl/Makefile.in: Likewise.
13881 * gdb.opt/Makefile.in: Likewise.
13882 * gdb.pascal/Makefile.in: Likewise.
13883 * gdb.perf/Makefile.in: Likewise.
13884 * gdb.python/Makefile.in: Likewise.
13885 * gdb.reverse/Makefile.in: Likewise.
13886 * gdb.server/Makefile.in: Likewise.
13887 * gdb.stabs/Makefile.in: Likewise.
13888 * gdb.threads/Makefile.in: Likewise.
13889 * gdb.trace/Makefile.in: Likewise.
13890 * gdb.xml/Makefile.in: Likewise.
13891 * lib/gdb.exp (make_gdb_parallel_path): Add check for
13892 GDB_PARALLEL.
13893 (standard_output_file): Remove check for GDB_PARALLEL, always
13894 return path in outputs/$subdir/$testname.
13895
437277d4
SM
138962016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13897
13898 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
13899 (site.exp): Assign abs_srcdir to tcl's srcdir.
13900
31d913c7
YQ
139012016-02-04 Yao Qi <yao.qi@linaro.org>
13902
13903 * gdb.base/foll-exec-mode.c: Include limits.h.
13904 (main): Add parameters argc and argv. Get directory from
13905 argv[0].
13906 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
13907 compilation.
13908 * gdb.base/foll-exec.c: Include limits.h.
13909 (main): Add parameters argc and argv.
13910 Get directory from argv[0].
13911 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
13912 Adjust tests on the number of lines as source code changed.
13913 * gdb.base/foll-vfork-exit.c: Include limits.h.
13914 (main): Add one line of statement before vfork.
13915 * gdb.base/foll-vfork.c: Include limits.h and string.h.
13916 (main): Add parameters argc and argv. Get directory from
13917 argv[0].
13918 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
13919 (setup_gdb): Set tbreak to skip some source lines.
13920 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
13921 (main): Add parameters argc and argv. Get directory from
13922 argv[0].
13923 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
13924 compilation.
13925 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
13926 (main): Add parameters argc and argv. Get directory from
13927 argv[0].
13928 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
13929 compilation.
13930
9482b9fb
DE
139312016-02-01 Doug Evans <dje@google.com>
13932
13933 * gdb.base/skip.exp: Clean up multiple references to same test name.
13934
6b2e4f10
PA
139352016-02-01 Pedro Alves <palves@redhat.com>
13936
ccb6afd6 13937 PR remote/19496
6b2e4f10
PA
13938 * gdb.threads/forking-threads-plus-breakpoint.exp
13939 (displaced_stepping_supported): New global.
13940 (probe_displaced_stepping_support): New procedure.
13941 (do_test): Add 'displaced' parameter, and use it.
13942 (top level): Check for displaced stepping support. Add displaced
13943 stepping on/off testing axis.
13944
37a8db1a
AB
139452016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13946
13947 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
13948 pointer. Don't perform further tests on the unassociated pointer
13949 if the first test fails.
13950
5fdf6324
AB
139512016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13952
13953 * gdb.base/max-value-size.c: New file.
13954 * gdb.base/max-value-size.exp: New file.
13955 * gdb.base/huge.exp: Disable max-value-size for this test.
13956
935c6144
IB
139572016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
13958
13959 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13960
7fe8399d
YQ
139612016-01-28 Yao Qi <yao.qi@linaro.org>
13962
13963 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
13964
a2077e25
PA
139652016-01-25 Pedro Alves <palves@redhat.com>
13966
13967 PR threads/19461
13968 * gdb.base/fork-running-state.c: New file.
13969 * gdb.base/fork-running-state.exp: New file.
13970
1d2736d4
PA
139712016-01-25 Pedro Alves <palves@redhat.com>
13972
13973 PR gdb/19494
13974 * gdb.base/catch-fork-kill.c: New file.
13975 * gdb.base/catch-fork-kill.exp: New file.
13976
f1da4b11
PA
139772016-01-25 Pedro Alves <palves@redhat.com>
13978
13979 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
13980 Delete, moved to lib/gdb.exp.
13981 * gdb.threads/forking-threads-plus-breakpoint.exp
13982 (foreach_with_prefix): Likewise.
13983 * gdb.threads/process-dies-while-handling-bp.exp
13984 (foreach_with_prefix): Likewise.
13985 * lib/gdb.exp (foreach_with_prefix): New procedure.
13986
45f38546
MK
139872016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
13988
13989 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
13990 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
13991
dc29a1ce
MK
139922016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
13993
13994 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
13995 endian targets.
13996
092127d7
JK
139972016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13998 Pedro Alves <palves@redhat.com>
13999
14000 Fix testsuite compatibility with Guile.
14001 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
14002 number.
14003
31d765d3
JK
140042016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14005
14006 Fix testsuite compatibility with Guile.
14007 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
14008 (thread 1): New test for backtrace through signal handler.
14009
1ac78c04
YQ
140102016-01-22 Yao Qi <yao.qi@linaro.org>
14011
14012 PR testsuite/19491
14013 * gdb.base/multi-forks.c: Include
14014 ../lib/unbuffer_output.c
14015 (main): Call gdb_unbuffer_output.
14016
4f5946a8
DE
140172016-01-21 Doug Evans <dje@google.com>
14018
14019 * lib/ada.exp (gdb_compile_ada): Fix typo.
14020
305e13e6
JB
140212016-01-21 Joel Brobecker <brobecker@adacore.com>
14022
14023 * gdb.base/break-fun-addr.exp: New file.
14024 * gdb.base/break-fun-addr1.c: New file.
14025 * gdb.base/break-fun-addr2.c: New file.
14026
5f5dfff6
SM
140272016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
14028
14029 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
14030 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
14031 enum flag values.
14032
fd356fa2
AA
140332016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14034
14035 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
14036 when GDB can not set the vector return value. Add more comments
14037 for clarification.
14038
9df22175
AT
140392016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
14040
14041 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
14042 command.
14043
41d1845e
SM
140442016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14045
14046 * Makefile.in (DO_RUNTEST): Add --status and update usages.
14047
01ac6840
SM
140482016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14049
14050 * Makefile.in (check-single): Pass --status to runtest.
14051 (check/%.exp): Likewise.
14052
140532016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14054
14055 * Makefile.in (check-parallel): Propagate return code from make
14056 do-check-parallel.
14057
bd0a71fa
MK
140582016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
14059
14060 * gdb.trace/ftrace.exp: Fix expected message on continue.
14061 * gdb.trace/pending.exp: Fix expected message on continue.
14062 * gdb.trace/trace-break.exp: Fix expected message on continue.
14063
8bcbad33
SM
140642016-01-18 Simon Marchi <simon.marchi@ericsson.com>
14065
14066 * lib/gdb.exp (gdb_test): Remove unused global references.
14067
f303dbd6
PA
140682016-01-18 Pedro Alves <palves@redhat.com>
14069
14070 * gdb.base/async-shell.exp: Adjust expected output.
14071 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
14072 * gdb.base/siginfo-thread.exp: Adjust expected output.
14073 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
14074 * gdb.java/jnpe.exp: Adjust expected output.
14075 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
14076 * gdb.threads/continue-pending-status.exp: Adjust expected output.
14077 * gdb.threads/leader-exit.exp: Adjust expected output.
14078 * gdb.threads/manythreads.exp: Adjust expected output.
14079 * gdb.threads/pthreads.exp: Adjust expected output.
14080 * gdb.threads/schedlock.exp: Adjust expected output.
14081 * gdb.threads/siginfo-threads.exp: Adjust expected output.
14082 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
14083 expected output.
14084 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
14085 output.
14086 * gdb.threads/sigthread.exp: Adjust expected output.
14087 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
14088
b2789696
YQ
140892016-01-18 Yao Qi <yao.qi@linaro.org>
14090
14091 * gdb.guile/scm-section-script.c: Replace @progbits with
14092 %progbits.
14093 * gdb.python/py-section-script.c: Likewise.
14094
71ef29a8
PA
140952016-01-15 Pedro Alves <palves@redhat.com>
14096
14097 * gdb.multi/tids.exp: Test star wildcard ranges.
14098
3f5b7598
PA
140992016-01-15 Pedro Alves <palves@redhat.com>
14100
14101 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
14102 command from "thread apply" invocation.
14103 (thr_apply_info_thr_invalid): Default the expected output to the
14104 input tid list.
14105 (top level): Add tests that use convenience variables. Add tests
14106 for "thread apply" with a valid TID list, but missing the command.
14107
663f6d42
PA
141082016-01-13 Pedro Alves <palves@redhat.com>
14109
14110 * gdb.base/default.exp: Expect $_gthread as well.
14111 * gdb.multi/tids.exp: Test $_gthread.
14112 * gdb.threads/thread-specific.exp: Test $_gthread.
14113
c84f6bbf
PA
141142016-01-13 Pedro Alves <palves@redhat.com>
14115
14116 * gdb.multi/tids.exp: Test "info threads -gid".
14117
22a02324
PA
141182016-01-13 Pedro Alves <palves@redhat.com>
14119
14120 * gdb.multi/tids.exp: Test InferiorThread.global_num and
14121 Breakpoint.thread.
14122 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
14123
5d5658a1
PA
141242016-01-07 Pedro Alves <palves@redhat.com>
14125
14126 * gdb.base/break.exp: Adjust to output changes.
14127 * gdb.base/hbreak2.exp: Likewise.
14128 * gdb.base/sepdebug.exp: Likewise.
14129 * gdb.base/watch_thread_num.exp: Likewise.
14130 * gdb.linespec/keywords.exp: Likewise.
14131 * gdb.multi/info-threads.exp: Likewise.
14132 * gdb.threads/thread-find.exp: Likewise.
14133 * gdb.multi/tids.c: New file.
14134 * gdb.multi/tids.exp: New file.
14135
84654457
PA
141362016-01-13 Pedro Alves <palves@redhat.com>
14137
14138 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
14139
e3940304
PA
141402016-01-13 Pedro Alves <palves@redhat.com>
14141
14142 * gdb.base/default.exp: Expect $_inferior as well.
14143 * gdb.multi/base.exp: Test $_inferior.
14144
a911d87a
PA
141452016-01-13 Pedro Alves <palves@redhat.com>
14146
14147 PR breakpoints/19388
14148 * gdb.base/catch-signal-siginfo-cond.c: New file.
14149 * gdb.base/catch-signal-siginfo-cond.exp: New file.
14150
82075af2
JS
141512016-01-12 Josh Stone <jistone@redhat.com>
14152 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14153
14154 * gdb.base/catch-syscall.c (do_execve): New variable.
14155 (main): Conditionally trigger an execve.
14156 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
14157 (test_catch_syscall_execve): New, check entry/return across execve.
14158 (do_syscall_tests): Call test_catch_syscall_execve.
14159
e46eeedd
PA
141602016-01-12 Pedro Alves <palves@redhat.com>
14161
14162 * gdb.base/random-signal.exp (do_test): New procedure, with body
14163 of testcase moved in.
14164
01d8c27e
JK
141652016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14166 Pedro Alves <palves@redhat.com>
14167
14168 * gdb.base/funcargs.exp (finish from indirectly called function):
14169 Reintroduce the case for 'First'.
14170
9a706302
JK
141712016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14172 Pedro Alves <palves@redhat.com>
14173
14174 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14175 (tcatch_vfork_then_child_follow_exec)
14176 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
14177 identification.
14178
c0ecb95f
JK
141792016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14180
14181 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
14182 and repeats to unlimited.
14183 * gdb.python/py-value.exp: Likewise.
14184 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
14185 and repeats to unlimited.
14186
6cfc1fcb
JK
141872016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14188
14189 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
14190 and reordering the functions.
14191 * gdb.multi/hangout.c: Likewise.
14192 * gdb.multi/hello.c: Likewise.
14193
582a1b00
SM
141942016-01-08 Simon Marchi <simon.marchi@ericsson.com>
14195
14196 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
14197 absolute.
14198 (SingleStatisticTestResult.report): Use dict.keys instead of
14199 dict.iterkeys.
14200
79bc59cb
PA
142012016-01-06 Pedro Alves <palves@redhat.com>
14202
14203 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
14204
43368e1d
MM
142052016-01-04 Markus Metzger <markus.t.metzger@intel.com>
14206
14207 * gdb.btrace/dlopen.exp: New.
14208 * gdb.btrace/dlopen.c: New.
14209 * gdb.btrace/dlopen-dso.c: New.
14210
79fad5b8
SL
142112015-12-25 Sandra Loosemore <sandra@codesourcery.com>
14212
14213 * lib/gdb.exp (gdb_test): Update comments to clarify that the
14214 PATTERN argument is optional.
14215
ab8314b3
JB
142162015-12-24 Joel Brobecker <brobecker@adacore.com>
14217
14218 * lib/ada.exp (target_compile_ada_from_dir): New function.
14219 (gdb_compile_ada): Reimplement avoiding the use of project files.
14220 * gdb.ada/gnat_ada.gpr: Delete.
14221 * gdb.ada/cond_lang.exp: Adjust test to make path before
14222 filename optional.
14223 * gdb.ada/small_reg_param.exp: Likewise.
14224
fe33faff
SM
142252015-12-22 Simon Marchi <simon.marchi@ericsson.com>
14226
14227 * gdb.base/foll-vork.exp: Remove HP-UX special case.
14228
6d265cb4
TP
142292015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
14230
14231 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
14232 case.
14233
10125099
SM
142342015-12-21 Simon Marchi <simon.marchi@ericsson.com>
14235
14236 * gdb.base/break.exp: Remove dead code.
14237 * gdb.base/sepdebug.exp: Likewise.
14238
3ca22649
SM
142392015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14240
14241 * gdb.asm/asm-source.exp: Remove HP-UX references.
14242 * gdb.base/annota1.exp: Likewise.
14243 * gdb.base/annota3.exp: Likewise.
14244 * gdb.base/attach.exp: Likewise.
14245 * gdb.base/bigcore.exp: Likewise.
14246 * gdb.base/break.exp: Likewise.
14247 * gdb.base/call-ar-st.exp: Likewise.
14248 * gdb.base/callfuncs.exp: Likewise.
14249 * gdb.base/catch-fork-static.exp: Likewise.
14250 * gdb.base/display.exp: Likewise.
14251 * gdb.base/foll-exec-mode.exp: Likewise.
14252 * gdb.base/foll-exec.exp: Likewise.
14253 * gdb.base/foll-fork.exp: Likewise.
14254 * gdb.base/foll-vfork.exp: Likewise.
14255 * gdb.base/funcargs.exp: Likewise.
14256 * gdb.base/hbreak2.exp: Likewise.
14257 * gdb.base/inferior-died.exp: Likewise.
14258 * gdb.base/interrupt.exp: Likewise.
14259 * gdb.base/multi-forks.exp: Likewise.
14260 * gdb.base/nodebug.exp: Likewise.
14261 * gdb.base/sepdebug.exp: Likewise.
14262 * gdb.base/solib1.c: Likewise.
14263 * gdb.base/step-test.exp: Likewise.
14264 * gdb.mi/non-stop.c: Likewise.
14265 * gdb.mi/pthreads.c: Likewise.
14266 * gdb.multi/bkpt-multi-exec.ex: Likewise.
14267 * gdb.threads/pthreads.c: Likewise.
14268 * gdb.threads/staticthreads.exp: Likewise.
14269 * lib/future.exp: Likewise.
14270 * lib/gdb.exp: Likewise.
14271 * gdb.base/so-indr-cl.c: Remove.
14272 * gdb.base/so-indr-cl.exp: Likewise.
14273 * gdb.base/solib.c: Likewise.
14274 * gdb.base/solib.exp: Likewise.
14275 * gdb.base/solib2.c: Likewise.
14276
b6304613
SM
142772015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14278
14279 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
14280 * gdb.base/call-ar-st.exp: Likewise.
14281 * gdb.base/callfuncs.exp: Likewise.
14282 * gdb.base/condbreak.exp: Likewise.
14283 * gdb.base/constvars.exp: Likewise.
14284 * gdb.base/hbreak2.exp: Likewise.
14285 * gdb.base/langs.exp: Likewise.
14286 * gdb.base/list.exp: Likewise.
14287 * gdb.base/long_long.exp: Likewise.
14288 * gdb.base/ptype.exp: Likewise.
14289 * gdb.base/scope.exp: Likewise.
14290 * gdb.base/signals.exp: Likewise.
14291 * gdb.base/so-impl-ld.exp: Likewise.
14292 * gdb.base/varargs.exp: Likewise.
14293 * gdb.base/volatile.exp: Likewise.
14294 * gdb.base/whatis.exp: Likewise.
14295 * gdb.cp/cplusfuncs.exp: Likewise.
14296 * gdb.cp/inherit.exp: Likewise.
14297 * gdb.cp/local.exp: Likewise.
14298 * gdb.cp/member-ptr.exp: Likewise.
14299 * gdb.cp/method.exp: Likewise.
14300 * gdb.cp/overload.exp: Likewise.
14301 * gdb.cp/templates.exp: Likewise.
14302 * gdb.stabs/weird.exp: Likewise.
14303 * lib/compiler.c: Likewise.
14304 * lib/compiler.cc: Likewise.
14305 * lib/cp-support.exp: Likewise.
14306 * lib/gdb.exp: Likewise.
14307
bf401b07
SM
143082015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
14309
14310 * configure.ac: Remove HP-UX case.
14311 * configure: Regenerate.
14312
aff9c0f8
SM
143132015-12-18 Simon Marchi <simon.marchi@ericsson.com>
14314
14315 * lib/gdb.exp (gdb_compile): Add function doc.
14316
a6904d5a
PA
143172015-12-17 Pedro Alves <palves@redhat.com>
14318
14319 PR threads/19354
14320 * gdb.multi/info-threads.exp: New file.
14321
a22279dd
YQ
143222015-12-15 Yao Qi <yao.qi@linaro.org>
14323
14324 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
14325 is aarch64*-*-*.
14326
0588c796
SL
143272015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14328
14329 * gdb.base/history-duplicates.exp: Skip if no readline support.
14330
5d978e17
SL
143312015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14332
14333 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
14334
7e763b86
SL
143352015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14336
14337 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
14338
87a3a92c
SL
143392015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14340
14341 * gdb.base/completion.exp: Skip tests that interrupt GDB with
14342 ctrl-C if nointerrupts target property is set.
14343 * gdb.base/double-prompt-target-event-error.exp: Likewise.
14344 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
14345 * gdb.base/paginate-bg-execution.exp: Likewise.
14346 * gdb.base/paginate-execution-startup.exp: Likewise.
14347 * gdb.base/random-signal.exp: Likewise.
14348 * gdb.base/range-stepping.exp: Likewise.
14349 * gdb.cp/annota2.exp: Likewise.
14350 * gdb.cp/annota3.exp: Likewise.
14351 * gdb.gdb/selftest.exp: Likewise.
14352 * gdb.threads/continue-pending-status.exp: Likewise.
14353 * gdb.threads/leader-exit.exp: Likewise.
14354 * gdb.threads/manythreads.exp: Likewise.
14355 * gdb.threads/pthreads.exp: Likewise.
14356 * gdb.threads/schedlock.exp: Likewise.
14357 * gdb.threads/sigthread.exp: Likewise.
14358
a8f077dc
DB
143592015-12-11 Don Breazeal <donb@codesourcery.com>
14360
14361 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
14362 remote.
14363 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
14364 * gdb.base/foll-exec.exp (main): Enable for target remote.
14365 * gdb.base/foll-fork.exp (main): Likewise.
14366 * gdb.base/foll-vfork.exp (main): Likewise.
14367 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
14368 (proc continue_to_exit_bp_loc): Use clean_restart.
14369 * gdb.base/pie-execl.exp (main): Disable for target remote.
14370 * gdb.base/watch-vfork.exp (main): Enable for target remote.
14371 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
14372 * gdb.threads/execl.exp (main): Likewise.
14373 * gdb.threads/fork-child-threads.exp (main): Likewise.
14374 * gdb.threads/fork-plus-threads.exp (main): Disable for target
14375 remote.
14376 * gdb.threads/fork-thread-pending.exp (main): Enable for target
14377 remote.
14378 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
14379 pid.tid style ptids, instead of just tid.
14380 * gdb.threads/thread-execl.exp (main): Enable for target remote.
14381 * gdb.threads/watchpoint-fork.exp (main): Likewise.
14382 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
14383 ptids, instead of just tid.
14384
3b2464a8
AB
143852015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14386
14387 * gdb.base/list.exp (test_list_forward): Add end of file error
14388 test.
14389 (test_repeat_list_command): Add end of file error test.
14390 (test_list_backwards): Add beginning of file error test.
14391
a0def019
AB
143922015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14393
14394 * gdb.base/list.exp (test_list_invalid_args): New function,
14395 defined, and called.
14396
5c000dff
AB
143972015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14398
14399 * gdb.base/list.exp (test_list): Make test names unique.
14400
f1637ebe
YQ
144012015-12-11 Yao Qi <yao.qi@linaro.org>
14402
14403 * gdb.base/coremaker2.c: Remove.
14404
36d6fc0a
PA
144052015-12-10 Pedro Alves <palves@redhat.com>
14406
14407 * gdb.multi/base.exp: Remove stale "spaces" references.
14408
762f7747
PA
144092015-12-10 Pedro Alves <palves@redhat.com>
14410
14411 * gdb.multi/base.exp: Don't use nowarnings.
14412 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
14413 * gdb.multi/hangout.c: Include stdio.h.
14414 * gdb.multi/hello.c: Include stdlib.h.
14415 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
14416 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
14417 * gdb.multi/multi-arch.exp: Don't use nowarnings.
14418
28d2bfb9
AB
144192015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
14420
14421 * gdb.dwarf2/dw2-ranges-base.c: New file.
14422 * gdb.dwarf2/dw2-ranges-base.exp: New file.
14423 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
14424 support additional line table, and debug ranges generation.
14425 (Dwarf::ranges): New function, generate .debug_ranges.
14426 (Dwarf::lines): Support generating simple line table programs.
14427 (Dwarf::assemble): Initialise new namespace variables.
14428
5fc2beac
KB
144292015-12-09 Kevin Buettner <kevinb@redhat.com>
14430
14431 * gdb.base/async.exp (proc test_background): Add case for
14432 asynchronous execution not supported.
14433
1c35a88f
LM
144342015-12-09 Luis Machado <lgustavo@codesourcery.com>
14435
14436 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
14437 format and change test names to make them unique.
14438
b593e3d9
RK
144392015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
14440 Pedro Alves <pedro@redhat.com>
14441
14442 PR gdb/18702
14443 Add checking of floatformats setup on x86_64 hosts.
14444 * gdb.arch/i386-float.S (main): Load bigval and smallval.
14445 (smallval, bigval): New labels/constants.
14446 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
14447 float" after loading bigval and smallval.
14448
d72413e6
PMR
144492015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
14450
14451 * gdb.ada/fun_overload_menu.exp: New testcase.
14452 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
14453
ece66d65
JS
144542015-12-04 Josh Stone <jistone@redhat.com>
14455
14456 * gdb.base/catch-fork-static.exp: New.
14457
41d0efca
YQ
144582015-12-03 Yao Qi <yao.qi@linaro.org>
14459
14460 * gdb.base/sizeof.c: Don't include stdio.h and
14461 ../lib/unbuffer_output.c.
14462 (main): New variable 'size' and 'value'. Remove printf and
14463 gdb_unbuffer_output. Assign return value to size and value.
14464 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
14465 at the beginning.
14466 (check_sizeof): Check the result by printing variable 'size'.
14467 (check_valueof): Check the result by printing variable 'value'.
14468
99fd02d9
YQ
144692015-12-01 Yao Qi <yao.qi@linaro.org>
14470
14471 * gdb.base/disp-step-syscall.exp: Define syscall instruction
14472 for aarch64*-*-linux* target.
14473
f2faf941
PA
144742015-11-30 Pedro Alves <palves@redhat.com>
14475
14476 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
14477
04bf20c5
PA
144782015-11-30 Pedro Alves <palves@redhat.com>
14479
14480 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
14481 Handle non-stop mode vCont replies.
14482
09df4675
PA
144832015-11-30 Pedro Alves <palves@redhat.com>
14484
14485 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
14486 prepare_for_testing. Start gdb with "set non-stop on" appended to
14487 GDBFLAGS. Lax expected stop output.
14488
58b584af
YQ
144892015-11-27 Yao Qi <yao.qi@linaro.org>
14490
14491 * gdb.arch/arm-neon.exp: New.
14492 * gdb.arch/arm-neon.c: New.
14493
dfcb77a8
YQ
144942015-11-27 Yao Qi <yao.qi@linaro.org>
14495
14496 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
14497
88e8ec1b
YQ
144982015-11-27 Yao Qi <yao.qi@linaro.org>
14499
14500 * gdb.cp/annota2.exp: Allow multiple occurrences of the
14501 frames-invalid annotation.
14502
bfde72c2
YQ
145032015-11-27 Yao Qi <yao.qi@linaro.org>
14504
14505 * gdb.cp/annota2.exp: Use ${frames_invalid}.
14506
f6512a69
SM
145072015-11-26 Simon Marchi <simon.marchi@ericsson.com>
14508
14509 * gdb.threads/names.exp: New file.
14510 * gdb.threads/names.c: New file.
14511 * README: Mention gdb,no_thread_names.
14512
46a3515b
MM
145132015-11-26 Markus Metzger <markus.t.metzger@intel.com>
14514
14515 PR 19297
14516 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
14517 support" error.
14518
62147a22
PA
145192015-11-24 Pedro Alves <palves@redhat.com>
14520
14521 PR 17539
14522 * gdb.base/display.exp: Expect displays to be sorted in ascending
14523 order. Use multi_line.
14524 * gdb.base/solib-display.exp: Likewise.
14525
2f341b6e
PA
145262015-11-24 Pedro Alves <palves@redhat.com>
14527
14528 PR 17539
25d49b86
PA
14529 * gdb.base/display.exp: Expect displays to be sorted in ascending
14530 order. Use multi_line.
14531 * gdb.base/solib-display.exp: Likewise.
2f341b6e 14532
7e0aa6aa
PA
145332015-11-24 Pedro Alves <palves@redhat.com>
14534
14535 PR 17539
14536 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
14537 threads in ascending order.
14538 * gdb.base/foll-fork.exp: Likewise.
14539 * gdb.base/foll-vfork.exp: Likewise.
14540 * gdb.base/multi-forks.exp: Likewise.
14541 * gdb.mi/mi-nonstop.exp: Likewise.
14542 * gdb.mi/mi-nsintrall.exp: Likewise.
14543 * gdb.multi/base.exp: Likewise.
14544 * gdb.multi/multi-arch.exp: Likewise.
14545 * gdb.python/py-inferior.exp: Likewise.
14546 * gdb.threads/break-while-running.exp: Likewise.
14547 * gdb.threads/execl.exp: Likewise.
14548 * gdb.threads/gcore-thread.exp: Likewise.
14549 * gdb.threads/info-threads-cur-sal.exp: Likewise.
14550 * gdb.threads/kill.exp: Likewise.
14551 * gdb.threads/linux-dp.exp: Likewise.
14552 * gdb.threads/multiple-step-overs.exp: Likewise.
14553 * gdb.threads/next-bp-other-thread.exp: Likewise.
14554 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
14555 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
14556 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
14557 * gdb.threads/thread-find.exp: Likewise.
14558 * gdb.threads/tls.exp: Likewise.
14559 * lib/mi-support.exp (mi_reverse_list): Delete.
14560 (mi_check_thread_states): No longer reverse list.
14561
2cc57ad8
PA
145622015-11-24 Pedro Alves <palves@redhat.com>
14563
14564 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
14565 use lowercase.
14566
c93e8391
SM
145672015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14568
14569 * gdb.trace/actions.c: Include trace-common.h.
14570 (main): Add a location for a fast tracepoint.
14571 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
14572 the normal tracepoints.
14573 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
14574
045ccf91
SM
145752015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14576
14577 * save-trace.exp: Factor out code to these...
14578 (gdb_save_tracepoints): New.
14579 (gdb_load_tracepoints): New.
14580 (do_save_load_test): New.
14581
5506f9f6
KB
145822015-11-23 Kevin Buettner <kevinb@redhat.com>
14583
14584 * gdb.base/asmlabel.exp: New test.
14585 * gdb.base/asmlabel.c: New test case.
14586
16c3b12f
JB
145872015-11-23 Joel Brobecker <brobecker@adacore.com>
14588
14589 * gdb.base/wrong_frame_bt_full-main.c: New file.
14590 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
14591 * gdb.base/wrong_frame_bt_full.exp: New file.
14592
155bfbd3
JB
145932015-11-23 Joel Brobecker <brobecker@adacore.com>
14594
14595 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
14596
bb097445
JM
145972015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14598
206853a0 14599 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
14600 pstate register when comparing registers values in
14601 sparc64-*-linux-gnu targets to avoid spurious differences.
14602
9c88ed8f
JM
146032015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14604
206853a0 14605 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 14606
96161e25
SL
146072015-11-19 Sandra Loosemore <sandra@codesourcery.com>
14608
14609 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
14610 as type argument to gdb_compile.
14611 * gdb.base/nested-subp2.exp: Likewise.
14612 * gdb.base/nested-subp3.exp: Likewise.
14613
340c2830
DV
146142015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
14615
14616 * lib/dwarf.exp (_note): Fix left shift of negative value.
14617 * gdb.trace/trace-condition.exp: Likewise.
14618
c1862d0f
YQ
146192015-11-13 Yao Qi <yao.qi@linaro.org>
14620
14621 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
14622 comments about d10v.
14623 (test_scalar_returns): Likewise.
14624 * gdb.base/d10v.ld: Remove.
14625 * gdb.base/overlays.exp: Remove the target triplet checking for
14626 d10v-*-*.
14627 * gdb.base/structs.exp (test_struct_returns): Remove the
14628 comments about d10v.
14629 (test_struct_calls): Likewise.
14630
77ae9c19
YQ
146312015-11-13 Yao Qi <yao.qi@linaro.org>
14632
14633 * gdb.base/gnu_vector.exp: Check the return value by "p res".
14634 * gdb.base/gnu_vector.c: Don't include stdio.h.
14635 (main): Don't print res and call add_some_intvecs.
14636
430e004e
MK
146372015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
14638
14639 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
14640 macro.
14641 (func5): Removed.
14642 (func4): Use FAST_TRACEPOINT_LABEL.
14643 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
14644 macro.
14645 (func): Removed.
14646 (thread_function): Use FAST_TRACEPOINT_LABEL.
14647 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
14648 (func): Remove.
14649 (marker): Use FAST_TRACEPOINT_LABEL.
14650 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
14651 (pendfunc1): Remove.
14652 (pendfunc): Use FAST_TRACEPOINT_LABEL.
14653 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
14654 (foo): Remove.
14655 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
14656 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
14657 macro.
14658 (func): Remove.
14659 (marker): Use FAST_TRACEPOINT_LABEL.
14660 * gdb.trace/trace-common.h: New header.
14661 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
14662 macro.
14663 (func): Remove.
14664 (marker): Use FAST_TRACEPOINT_LABEL.
14665 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
14666 (func): Remove.
14667 (thread_function): Use FAST_TRACEPOINT_LABEL.
14668
6e7675a7
MK
146692015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
14670
14671 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
14672 in front.
14673 * gdb.trace/change-loc.exp: Use global pcreg definition.
14674 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
14675 * gdb.trace/entry-values.exp: Use global spreg definition, add $
14676 in front.
14677 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
14678 * gdb.trace/pending.exp: Likewise.
14679 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
14680 * gdb.trace/trace-break.exp: Likewise.
14681 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
14682 in front.
14683 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
14684 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
14685 in front.
14686 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
14687
dddc0e16
JB
146882015-11-09 Joel Brobecker <brobecker@adacore.com>
14689
14690 * gdb.ada/fin_fun_out: New testcase.
14691
c6f0b406
KB
146922015-11-07 Kevin Buettner <kevinb@redhat.com>
14693
14694 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
14695 value associated with DW_AT_byte_size.
14696 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
14697 constants for DW_AT_byte_size, DW_AT_lower_bound, and
14698 DW_AT_upper_bound.
14699
f01dcfd9
KB
147002015-11-07 Kevin Buettner <kevinb@redhat.com>
14701
14702 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
14703 (gdb_target_symbol_prefix_flags): Define in terms of _asm
14704 version.
14705 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
14706 gdb.dwarf2/dw2-canonicalize-type.exp,
14707 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
14708 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
14709 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
14710 provided by gdb_target_symbol_prefix_flags_asm.
14711 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
14712 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
14713 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
14714 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
14715 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
14716 macros where needed). Use this macro for symbols which require
14717 the prefix provided by SYMBOL_PREFIX.
14718
2223449a
KB
147192015-11-05 Kevin Buettner <kevinb@redhat.com>
14720
14721 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
14722 New procs.
14723 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
14724 representing expressions, of more than one list element.
14725 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
14726 to prepend linker symbol prefix to f.
14727 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
14728 table_1 and table_2.
14729 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
14730 Likewise, for f and g.
14731 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
14732 for ptr.
14733 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
14734 for main.
14735 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
14736 table_1_ptr and table_2_ptr.
14737
6f2f1a3a
JK
147382015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14739 Joel Brobecker <brobecker@adacore.com>
14740
14741 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
14742
566c56c9
MK
147432015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
14744
14745 * gdb.reverse/s390-mvcle.c: New test.
14746 * gdb.reverse/s390-mvcle.exp: New file.
14747 * lib/gdb.exp: Enable reverse tests on s390*-linux.
14748
d5f0636b
MK
147492015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14750
14751 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
14752
7ad8b86c
MK
147532015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14754
14755 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
14756 reaching marker2.
14757 * gdb.reverse/getresuid-reverse.exp: Likewise.
14758 * gdb.reverse/pipe-reverse.exp: Likewise.
14759 * gdb.reverse/readv-reverse.exp: Likewise.
14760 * gdb.reverse/recvmsg-reverse.exp: Likewise.
14761 * gdb.reverse/time-reverse.exp: Likewise.
14762 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
14763
4081c0f1
YQ
147642015-10-30 Yao Qi <yao.qi@linaro.org>
14765
14766 * gdb.threads/wp-replication.c (watch_count_done): Remove.
14767 (empty_cycle): Remove.
14768 (main): Don't call empty_cycle. Don't use watch_count_done.
14769 * gdb.threads/wp-replication.exp: Don't set breakpoint on
14770 empty_cycle. Rewrite the code counting HW watchpoints.
14771
452b4ba5
MK
147722015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
14773
14774 * gdb.reverse/fstatat-reverse.c: New test.
14775 * gdb.reverse/fstatat-reverse.exp: New file.
14776 * gdb.reverse/getresuid-reverse.c: New test.
14777 * gdb.reverse/getresuid-reverse.exp: New file.
14778 * gdb.reverse/pipe-reverse.c: New test.
14779 * gdb.reverse/pipe-reverse.exp: New file.
14780 * gdb.reverse/readv-reverse.c: New test.
14781 * gdb.reverse/readv-reverse.exp: New file.
14782 * gdb.reverse/recvmsg-reverse.c: New test.
14783 * gdb.reverse/recvmsg-reverse.exp: New file.
14784 * gdb.reverse/time-reverse.c: New test.
14785 * gdb.reverse/time-reverse.exp: New file.
14786 * gdb.reverse/waitpid-reverse.c: New test.
14787 * gdb.reverse/waitpid-reverse.exp: New file.
14788
5e2e7507
JK
147892015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14790
14791 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
14792
0fde2c53
DE
147932015-10-26 Doug Evans <dje@google.com>
14794
14795 PR symtab/17391
14796 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
14797 * gdb.dwarf2/bad-regnum.c: New file.
14798 * gdb.dwarf2/bad-regnum.exp: New file.
14799
1a70ae97
DE
148002015-10-26 Doug Evans <dje@google.com>
14801
14802 PR python/18938
14803 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
14804 file.
14805
27dc26ab
JK
148062015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14807
14808 * gdb.compile/compile.exp (compile code globalvar): Update expectation
14809 for a change by "Mention language in compile error message".
14810
bed91f4d
SM
148112015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
14812
14813 PR python/18073
14814 * gdb.python/py-type.c (C::a_method): New.
14815 (C::a_const_method): New.
14816 (C::a_static_method): New.
14817 (a_function): New.
14818 * gdb.python/py-type.exp (test_fields): Test getting fields
14819 from function and method.
14820
3f2f83dd
KB
148212015-10-21 Keven Boell <keven.boell@intel.com>
14822
14823 * gdb.fortran/vla-alloc-assoc.exp: New file.
14824 * gdb.fortran/vla-datatypes.exp: New file.
14825 * gdb.fortran/vla-datatypes.f90: New file.
14826 * gdb.fortran/vla-history.exp: New file.
14827 * gdb.fortran/vla-ptype-sub.exp: New file.
14828 * gdb.fortran/vla-ptype.exp: New file.
14829 * gdb.fortran/vla-sizeof.exp: New file.
14830 * gdb.fortran/vla-sub.f90: New file.
14831 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
14832 * gdb.fortran/vla-value-sub-finish.exp: New file.
14833 * gdb.fortran/vla-value-sub.exp: New file.
14834 * gdb.fortran/vla-value.exp: New file.
14835 * gdb.fortran/vla-ptr-info.exp: New file.
14836 * gdb.mi/mi-vla-fortran.exp: New file.
14837 * gdb.mi/vla.f90: New file.
14838
27145d50
SL
148392015-10-21 Sandra Loosemore <sandra@codesourcery.com>
14840
14841 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
14842 of hardwired timeout value.
14843
5f3ff4f8
JK
148442015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14845 Pedro Alves <palves@redhat.com>
14846
14847 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
14848 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
14849
bfd09d20
JS
148502015-10-19 Josh Stone <jistone@redhat.com>
14851
14852 * gdb.base/catch-syscall.c: Include <sched.h>.
14853 (unknown_syscall): New variable.
14854 (main): Trigger a vfork and an unknown syscall.
14855 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
14856 (unknown_syscall_number): Likewise.
14857 (check_call_to_syscall): Accept an optional syscall pattern.
14858 (check_return_from_syscall): Likewise.
14859 (check_continue): Likewise.
14860 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
14861 (test_catch_syscall_skipping_return): New test toggling off 'catch
14862 syscall' to step over the syscall return, then toggling back on.
14863 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
14864 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
14865 (do_syscall_tests): Call test_catch_syscall_without_args and
14866 test_catch_syscall_mid_vfork.
14867 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
14868 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
14869
b32b93c6
AS
148702015-10-19 Andrew Stubbs <ams@codesourcery.com>
14871
14872 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
14873 print g_vE): Add new pass patterns.
14874 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
14875 print various symbol names for vptr fields.
14876
9d622bda
AB
148772015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
14878
14879 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
14880 results.
14881
0fd8ac1c
YQ
148822015-10-12 Yao Qi <yao.qi@linaro.org>
14883
14884 * gdb.arch/disp-step-insn-reloc.exp: New test case.
14885
34240514
YQ
148862015-10-12 Yao Qi <yao.qi@linaro.org>
14887
14888 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
14889 is aarch64*-*-linux*.
14890
8240f442
YQ
148912015-10-12 Yao Qi <yao.qi@linaro.org>
14892
14893 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
14894 (can_relocate_bcond_true): ... it.
14895 (can_relocate_bcond_false): New function.
14896 (foo): Likewise.
14897 (can_relocate_bl): Likewise.
14898 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
14899 can_relocate_bl.
14900
2520f728
PMR
149012015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
14902
14903 * gdb.base/nested-addr.c: New file.
14904 * gdb.base/nested-addr.exp: New testcase.
14905
abcef95a
MM
149062015-10-09 Markus Metzger <markus.t.metzger@intel.com>
14907
14908 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
14909 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
14910 its output. Ignore the output of "record goto begin" and instead
14911 check that GDB is replaying.
14912
145e3ddb
PA
149132015-10-09 Pedro Alves <palves@redhat.com>
14914
14915 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
14916 (top level): Use it in the run with no args test.
14917
d5d8c4e1
IB
149182015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
14919
14920 * gdb.dlang/properties.exp: New file.
14921
06e635ef
SL
149222015-10-02 Sandra Loosemore <sandra@codesourcery.com>
14923
14924 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
14925 whether or not address 0x1000 is mapped on the target.
14926
e019fd1d
SM
149272015-09-30 Simon Marchi <simon.marchi@ericsson.com>
14928
14929 * gdb.python/py-type.exp: Do not run tests if binaries fail to
14930 build.
14931
77ba2a67
MM
149322015-09-30 Markus Metzger <markus.t.metzger@intel.com>
14933
14934 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
14935 instruction-history test.
14936
c60eb31f
DE
149372015-09-28 Doug Evans <dje@google.com>
14938
14939 * gdb.base/gcore.c (array_func): Add reference to static_array.
14940
9a3c8263
SM
149412015-09-25 Simon Marchi <simon.marchi@ericsson.com>
14942
14943 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
14944 source line.
14945
9720e656
SL
149462015-09-24 Sandra Loosemore <sandra@codesourcery.com>
14947
14948 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
14949 short or char as base type.
14950
938d3bf2
SL
149512015-09-23 Sandra Loosemore <sandra@codesourcery.com>
14952
14953 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
14954 to allow any size enum.
14955
e6c2c623
PMR
149562015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
14957
14958 * gdb.ada/array_ptr_renaming.exp: New testcase.
14959 * gdb.ada/array_ptr_renaming/foo.adb: New file.
14960 * gdb.ada/array_ptr_renaming/pack.ads: New file.
14961
06da0f77
PL
149622015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14963
14964 * gdb.trace/ftrace-lock.c: New file.
14965 * gdb.trace/ftrace-lock.exp: New file.
14966
4f51c22a
PL
149672015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14968
14969 * gdb.arch/insn-reloc.c: New file.
14970 * gdb.arch/ftrace-insn-reloc.exp: New file.
14971
7041adf4
PL
149722015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14973
14974 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
14975 instruction.
14976 * gdb.trace/pendshr1.c (pendfunc): Likewise.
14977 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
14978 * gdb.trace/range-stepping.c: Likewise.
14979 * gdb.trace/trace-break.c: Likewise.
14980 * gdb.trace/trace-mt.c (thread_function): Likewise.
14981 * gdb.trace/ftrace.c (marker): Likewise.
14982 * gdb.trace/trace-condition.c (marker): Likewise.
14983 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
14984 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
14985 is_aarch64_target.
14986
015d2e7e
DE
149872015-09-18 Doug Evans <xdje42@gmail.com>
14988
14989 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
14990 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
14991
26b188a2
SL
149922015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14993
14994 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
14995 the breakpoint.
14996
79dc332b
SL
149972015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14998
14999 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
15000 the pending breakpoint. Remove timeout override for "Run till
15001 MI pending breakpoint on pendfunc3 on thread 2" test.
15002
f57929f2
SL
150032015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15004
15005 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
15006 filename pattern.
15007
3f469b17
SL
150082015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15009
15010 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
15011 in breakpoint filename pattern.
15012
515b89b3
SL
150132015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15014
7800dbe4
SL
15015 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
15016
150172015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15018
515b89b3
SL
15019 * gdb.linespec/explicit.exp: Check for readline support for
15020 tab-completion tests. Fix obvious typo.
15021
d2939ba2
MM
150222015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15023
15024 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
15025 and replay.
15026
cbb55fa7
MM
150272015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15028
15029 * gdb.btrace/non-stop.c: New.
15030 * gdb.btrace/non-stop.exp: New.
15031
43691ca1
PL
150322015-09-17 Pierre Langlois <pierre.langlois@arm.com>
15033 Yao Qi <yao.qi@linaro.org>
15034
15035 * gdb.trace/trace-condition.c: New file.
15036 * gdb.trace/trace-condition.exp: New file.
15037
d78908cf
WW
150382015-09-16 Wei-cheng Wang <cole945@gmail.com>
15039
15040 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
15041 for testing bytecode compilation.
15042
1ed415e2
PA
150432015-09-16 Pedro Alves <palves@redhat.com>
15044 Sandra Loosemore <sandra@codesourcery.com>
15045
15046 * gdb.threads/non-stop-fair-events.c (timeout): New global.
15047 (SECONDS): Redefine.
15048 (main): Call pthread_kill and alarm early.
15049 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
15050 support.
15051 (test): If the target can't hardware step and doesn't support
15052 displaced stepping, increase the timeout.
15053
d136eff5
PA
150542015-09-16 Pedro Alves <palves@redhat.com>
15055
15056 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
15057 (enable_debug): New procedures.
15058 (test): Use them. Bail out if waiting for threads fails.
15059 (top level): Bail out if a test fails.
15060
991f019c
YQ
150612015-09-16 Yao Qi <yao.qi@linaro.org>
15062
15063 * gdb.asm/asm-source.exp: Set asm-arch for
15064 aarch64*-*-* target.
15065 * gdb.asm/aarch64.inc: New file.
15066
bfca584f
PMR
150672015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
15068
15069 * gdb.ada/array_of_variable_length.exp: New testcase.
15070 * gdb.ada/array_of_variable_length/foo.adb: New file.
15071 * gdb.ada/array_of_variable_length/pck.adb: New file.
15072 * gdb.ada/array_of_variable_length/pck.ads: New file.
15073
b326e587
DE
150742015-09-15 Doug Evans <dje@google.com>
15075
15076 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
15077 of function static local variable.
15078
5382cfab
PW
150792015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15080
15081 * gdb.threads/tls-so_extern.exp: New test file.
15082 * gdb.threads/tls-so_extern.c: New test file.
15083 * gdb.threads/tls-so_extern_main.c: New test file.
15084
141c5cc4
JK
150852015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15086
15087 * gdb.opt/solib-intra-step-lib.c: New file.
15088 * gdb.opt/solib-intra-step-main.c: New file.
15089 * gdb.opt/solib-intra-step.exp: New file.
15090
d15dcecd
PA
150912015-09-15 Pedro Alves <palves@redhat.com>
15092
15093 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
15094 gdb_continue_to_breakpoint instead of gdb_test_multiple.
15095
4c2f2a79
PA
150962015-09-14 Pedro Alves <palves@redhat.com>
15097
15098 * gdb.base/hook-stop-continue.c: Delete.
15099 * gdb.base/hook-stop-continue.exp: Delete.
15100 * gdb.base/hook-stop-frame.c: Delete.
15101 * gdb.base/hook-stop-frame.exp: Delete.
15102 * gdb.base/hook-stop.c: New file.
15103 * gdb.base/hook-stop.exp: New file.
15104
919e6dbe
PMR
151052015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
15106
15107 * gdb.ada/access_to_packed_array.exp: New testcase.
15108 * gdb.ada/access_to_packed_array/foo.adb: New file.
15109 * gdb.ada/access_to_packed_array/pack.adb: New file.
15110 * gdb.ada/access_to_packed_array/pack.ads: New file.
15111
157280a4
MM
151122015-09-14 Markus Metzger <markus.t.metzger@intel.com>
15113
15114 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
15115 buffer size test.
15116
2fd33e94
DB
151172015-09-11 Don Breazeal <donb@codesourcery.com>
15118
15119 * gdb.base/foll-exec.c: Add copyright header. Fix
15120 formatting issues.
15121 * gdb.base/foll-exec.exp (zap_session): Delete proc.
15122 (do_exec_tests): Use clean_restart in place of zap_session,
15123 and for test initialization. Fix formatting issues. Use
15124 fail in place of perror.
15125 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
15126 an expect statement to match an expression with output from
15127 the program under debug.
15128 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
15129 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
15130 * gdb.threads/non-ldr-exc-2.exp: Likewise.
15131 * gdb.threads/non-ldr-exc-3.exp: Likewise.
15132 * gdb.threads/non-ldr-exc-4.exp: Likewise.
15133
e70b6e8e
DE
151342015-09-09 Doug Evans <dje@google.com>
15135
15136 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
15137
7a551a51
DE
151382015-09-09 Doug Evans <dje@google.com>
15139
15140 * gdb.base/pie-execl.exp: Fix result test of build_executable.
15141
4c666f84
DE
151422015-09-09 Doug Evans <dje@google.com>
15143
15144 * gdb.base/savedregs.exp: Fix typo.
15145
243a9253
PA
151462015-09-09 Pedro Alves <palves@redhat.com>
15147
15148 * gdb.mi/mi-cli.exp: Add CLI finish tests.
15149
c0fa8fbd
SL
151502015-09-08 Sandra Loosemore <sandra@codesourcery.com>
15151
15152 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
15153 command actually switches threads. Give up on remaining
15154 tests if target fails to stop at breakpoint.
15155
cd7c1778
PMR
151562015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
15157
15158 * gdb.ada/funcall_char.exp: New testcase.
15159 * gdb.ada/funcall_char/foo.adb: New file.
15160
dc5c8746
PMR
151612015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
15162
15163 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
15164 expected outputs. Add two testcases for completing ambiguous
15165 functions.
15166 * gdb.ada/complete/aux_pck.adb: New file.
15167 * gdb.ada/complete/aux_pck.ads: New file.
15168 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
15169 Ambiguous_Func functions.
15170 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
15171 * gdb.ada/complete/pck.adb: Likewise.
15172
4e83a1e7
UW
151732015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
15174
15175 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
15176 failures to run the test program under GDB.
15177
8ce74153
LM
151782015-08-26 Luis Machado <lgustavo@codesourcery.com>
15179
15180 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
15181 to C.
15182
e9756d52
PP
151832015-08-26 Patrick Palka <patrick@parcs.ath.cx>
15184
15185 * gdb.base/run-after-attach.exp: New test file.
15186 * gdb.base/run-after-attach.c: New test file.
15187
8d37573b
DB
151882015-08-26 Don Breazeal <donb@codesourcery.com>
15189
15190 * gdb.base/foll-exec-2.c: New test program.
15191 * gdb.base/foll-exec-2.exp: New test.
15192
63e43d3a
PMR
151932015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
15194
15195 * gdb.base/nested-subp1.exp: New file.
15196 * gdb.base/nested-subp1.c: New file.
15197 * gdb.base/nested-subp2.exp: New file.
15198 * gdb.base/nested-subp2.c: New file.
15199 * gdb.base/nested-subp3.exp: New file.
15200 * gdb.base/nested-subp3.c: New file.
15201
3d40fbb5
PA
152022015-08-24 Pedro Alves <palves@redhat.com>
15203
15204 * gdb.server/connect-without-multi-process.c: New file.
15205 * gdb.server/connect-without-multi-process.exp: New file.
15206
4422ac93
LM
152072015-08-24 Luis Machado <lgustavo@codesourcery.com>
15208
15209 * gdb.opt/inline-markers.c: Make z int.
15210
91dddb86
LM
152112015-08-24 Luis Machado <lgustavo@codesourcery.com>
15212
15213 * gdb.opt/inline-markers.c: Make z volatile.
15214
a48847ee
LM
152152015-08-24 Luis Machado <lgustavo@codesourcery.com>
15216
15217 * gdb.opt/inline-bt.c: New volatile global z.
15218 * gdb.opt/inline-cmds.c: Likewise.
15219 * gdb.opt/inline-locals.c: Likewise.
15220 * gdb.opt/inline-markers.c: New extern global z.
15221 (marker): Use z.
15222 (inline_fn): Likewise.
15223
0ebbc52b
PA
152242015-08-24 Pedro Alves <palves@redhat.com>
15225
15226 * config/m32r-stub.exp: Remove file.
15227 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
15228 * gdb.base/call-rt-st.exp: Likewise.
15229 * gdb.base/call-strs.exp: Likewise.
15230 * gdb.base/default.exp: Remove references to h8300-*-hms and
15231 *-*-udi*.
15232 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
15233
77c365df
AA
152342015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15235
15236 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
15237 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
15238 and "return" use KFAIL when GDB can not read/write the vector
15239 return value.
15240
4313b8c0
GB
152412015-08-21 Gary Benson <gbenson@redhat.com>
15242
15243 * gdb.trace/pending.exp: Cope with remote transfer warnings.
15244
0e433b32
PA
152452015-08-20 Pedro Alves <palves@redhat.com>
15246
15247 * gdb.server/solib-list.exp: No longer expect an interior stop in
15248 non-stop mode.
15249
221e1a37
PA
152502015-08-20 Pedro Alves <palves@redhat.com>
15251
15252 * gdb.server/connect-stopped-target.c: New file.
15253 * gdb.server/connect-stopped-target.exp: New file.
15254
40e3ad0e
PA
152552015-08-20 Pedro Alves <palves@redhat.com>
15256
15257 * gdb.dwarf2/comp-unit-lang.exp: New file.
15258 * gdb.dwarf2/comp-unit-lang.c: New file.
15259
af39b327
PMR
152602015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
15261
15262 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
15263 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
15264
7d45c7c3 152652015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 15266
7d45c7c3
KB
15267 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
15268 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
15269
4d6cceb4
DE
152702015-08-18 Doug Evans <dje@google.com>
15271 Adrian Sendroiu <adrian.sendroiu@freescale.com>
15272
15273 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
15274 skip_python_tests. New arg prompt_regexp.
15275 (skip_python_tests): New function.
15276 * lib/mi-support.exp (mi_skip_python_tests): New function.
15277 * gdb.python/py-mi-objfile-gdb.py: New file.
15278 * gdb.python/py-mi-objfile.c: New file.
15279 * gdb.python/py-mi-objfile.exp: New file.
15280
ad89c2aa
KS
152812015-08-17 Keith Seitz <keiths@redhat.com>
15282
15283 * gdb.linespec/explicit.exp: Move strace test from here ...
15284 * gdb.trace/strace.exp: ... to here.
15285
e3ae3c43
PP
152862015-08-15 Patrick Palka <patrick@parcs.ath.cx>
15287
15288 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
15289 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
15290
604b2636
DE
152912015-08-14 Doug Evans <xdje42@gmail.com>
15292
15293 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
15294 inferior before selecting a new file.
15295
6ff0ba5f
DE
152962015-08-14 Doug Evans <xdje42@gmail.com>
15297
15298 * gdb.mi/mi-disassemble.exp: Update.
15299 * gdb.base/disasm-optim.S: New file.
15300 * gdb.base/disasm-optim.c: New file.
15301 * gdb.base/disasm-optim.h: New file.
15302 * gdb.base/disasm-optim.exp: New file.
15303
9ca98f92
KS
153042015-08-14 Keith Seitz <keiths@redhat.com>
15305
15306 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
15307 "evaluated-by".
15308
52bbc560
JB
153092015-08-13 Joel Brobecker <brobecker@adacore.com>
15310
15311 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
15312
5d8c3ed3
PMR
153132015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
15314
15315 * gdb.ada/fun_renaming.exp: New testcase.
15316 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
15317 * gdb.ada/fun_renaming/pack.adb: New file.
15318 * gdb.ada/fun_renaming/pack.ads: New file.
15319
ea8812bc
KS
153202015-08-12 Keith Seitz <keiths@redhat.com>
15321
15322 * gdb.base/dso2dso.exp: Pass basename of source file in call to
15323 gdb_get_line_number.
15324
4dafcdeb
JB
153252015-08-12 Joel Brobecker <brobecker@adacore.com>
15326
15327 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
15328 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
15329 gdb.base/dso2dso.exp: New files.
15330
5ba32597
SDJ
153312015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
15332 Pedro Alves <palves@redhat.com>
15333 Keith Seitz <keiths@redhat.com>
15334
15335 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
15336 GDBFLAGS.
15337
b6dafabf
PP
153382015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15339
15340 * gdb.base/gdbhistsize-history.exp
15341 (test_histsize_history_setting): Use save_vars.
15342 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15343 Use save_vars.
15344 (test_no_truncation_of_unlimited_history_file): Use save_vars.
15345 * gdb.base/readline.exp: Use save_vars.
15346
abe8e607
PP
153472015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15348
15349 * lib/gdb.exp (save_vars): New proc.
15350
629500fa
KS
153512015-08-11 Keith Seitz <keiths@redhat.com>
15352
15353 * gdb.base/help.exp: Update help_breakpoint_text.
15354
eb8c4e2e
KS
153552015-08-11 Keith Seitz <keiths@redhat.com>
15356
15357 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
15358 (at toplevel): Call test_explicit_breakpoints.
15359 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
15360 breakpoints.
15361 * lib/mi-support.exp (mi_make_breakpoint): Add support for
15362 breakpoint conditions, "-cond".
15363
87f0e720
KS
153642015-08-11 Keith Seitz <keiths@redhat.com>
15365
15366 * gdb.linespec/3explicit.c: New file.
15367 * gdb.linespec/cpexplicit.cc: New file.
15368 * gdb.linespec/cpexplicit.exp: New file.
15369 * gdb.linespec/explicit.c: New file.
15370 * gdb.linespec/explicit.exp: New file.
15371 * gdb.linespec/explicit2.c: New file.
15372 * gdb.linespec/ls-errs.exp: Add explicit location tests.
15373 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
15374 before using in the matching pattern.
15375 Clarify that `prefix' is a regular expression.
15376
f00aae0f
KS
153772015-08-11 Keith Seitz <keiths@redhat.com>
15378
15379 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
15380 test.
15381 Add tests for missing ",FMT" and ",".
15382
e27852be
DE
153832015-08-10 Doug Evans <dje@google.com>
15384 Keith Seitz <keiths@redhat.com>
15385
15386 PR gdb/17960
15387 * gdb.base/completion.exp: Add location completer tests.
15388
7f03bd92
PA
153892015-08-07 Pedro Alves <palves@redhat.com>
15390
15391 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
15392 tests here.
15393 (top level): Run do_test with and without displaced stepping.
15394
3fc8eb30
PA
153952015-08-07 Pedro Alves <palves@redhat.com>
15396
15397 * gdb.base/valgrind-disp-step.c: New file.
15398 * gdb.base/valgrind-disp-step.exp: New file.
15399
d4569d7b
PA
154002015-08-07 Pedro Alves <palves@redhat.com>
15401
15402 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
15403 Delete function.
15404 (main): Add alarm. Run an infinite loop instead of calling
15405 wait_threads.
15406 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
15407 comment.
15408 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
15409 Delete function.
15410 (main): Add alarm. Run an infinite loop instead of calling
15411 wait_threads.
15412 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
15413 comment.
15414
e1316e60
PA
154152015-08-07 Pedro Alves <palves@redhat.com>
15416
15417 * gdb.base/checkpoint-ns.exp: New file.
15418 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
15419 standard_testfile.
15420
da8c46d2
MM
154212015-08-07 Markus Metzger <markus.t.metzger@intel.com>
15422
15423 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
15424 * gdb.btrace/instruction_history.exp: Update.
15425 * gdb.btrace/tsx.exp: New.
15426 * gdb.btrace/tsx.c: New.
15427
de1c2c52
PA
154282015-08-06 Pedro Alves <palves@redhat.com>
15429
15430 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
15431 increase timeout.
15432 * gdb.reverse/until-precsave.exp: Bump timeouts.
15433
782e0bf4
PA
154342015-08-06 Pedro Alves <palves@redhat.com>
15435
15436 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
15437
83e97ed0
PA
154382015-08-06 Pedro Alves <palves@redhat.com>
15439
15440 PR gdb/18749
15441 * gdb.threads/process-dies-while-handling-bp.c: New file.
15442 * gdb.threads/process-dies-while-handling-bp.exp: New file.
15443
863d01bd
PA
154442015-08-06 Pedro Alves <palves@redhat.com>
15445
15446 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
15447 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
15448
0a39bb32
PA
154492015-08-05 Pedro Alves <palves@redhat.com>
15450
15451 * gdb.threads/next-while-other-thread-longjmps.c: New file.
15452 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
15453
ee2d2b10
SL
154542015-08-03 Sandra Loosemore <sandra@codesourcery.com>
15455
15456 * gdb.base/bp-permanent.exp: Report test as unsupported if
15457 the target cannot stop at the permanent breakpoint.
15458
4e1bdb00
DE
154592015-08-03 Doug Evans <dje@google.com>
15460
15461 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
15462 10000.
15463
3d338901
DE
154642015-08-03 Doug Evans <dje@google.com>
15465
15466 * Makefile.in (workers/%.worker, build-perf): New rule.
15467 (GDB_PERFTEST_MODE): New variable.
15468 (check-perf): Use it.
15469 (clean): Clean up gdb.perf parallel build subdirs.
15470 * lib/build-piece.exp: New file.
15471 * lib/gdb.exp (make_gdb_parallel_path): New function
15472 (standard_output_file, standard_temp_file): Call it.
15473 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15474 of $GDB_PARALLEL.
15475 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
15476
af061d3e
DE
154772015-08-03 Doug Evans <dje@google.com>
15478
8e1afc81 15479 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
15480 (LOG_FILE_NAME): New global.
15481 (TextReporter.__init__): Initialize self.txt_sum.
15482 (TextReporter.report): Add support for multiple data-points.
15483 Move report to perftest.sum, put raw data in perftest.log.
15484 (TextReporter.start): Open sum and log files.
15485 (TextReporter.end): Close sum and log files.
8e1afc81
DE
15486 * gdb.perf/lib/perftest/testresult.py
15487 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 15488
2c8c5d37
PA
154892015-07-31 Pedro Alves <palves@redhat.com>
15490
15491 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
15492 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15493 kill_wait_spawned_process instead of explicit "kill -9".
15494 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
15495 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15496 kill_wait_spawned_process.
15497 * gdb.base/attach-twice.exp: Likewise.
15498 * gdb.base/attach.exp: Likewise.
15499 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
15500 gdb_test_multiple.
15501 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
15502 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15503 kill_wait_spawned_process.
15504 * gdb.base/valgrind-infcall.exp: Likewise.
15505 * gdb.multi/multi-attach.exp: Likewise.
15506 * gdb.python/py-prompt.exp: Likewise.
15507 * gdb.python/py-sync-interp.exp: Likewise.
15508 * gdb.server/ext-attach.exp: Likewise.
15509 * gdb.threads/attach-into-signal.exp (corefunc): Use
15510 spawn_wait_for_attach, spawn_id_get_pid and
15511 kill_wait_spawned_process.
15512 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
15513 spawn_wait_for_attach returning a spawn id instead of a pid. Use
15514 spawn_id_get_pid and kill_wait_spawned_process.
15515 * gdb.threads/attach-stopped.exp (corefunc): Use
15516 spawn_wait_for_attach, spawn_id_get_pid and
15517 kill_wait_spawned_process.
15518 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
15519 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15520 kill_wait_spawned_process instead of explicit "kill -9".
15521 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
15522 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
15523 (spawn_wait_for_attach): Use spawn instead of exec to spawn
15524 processes. Don't map cygwin/windows pids here. Now returns a
15525 spawn id list.
15526
032a0fca
SL
155272015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15528
15529 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
15530 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
15531 correct patch.
15532
61a934ca
SL
155332015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15534
15535 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
15536
4bc4d428
SL
155372015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15538
15539 Reapply:
15540 2014-05-21 Mark Wielaard <mjw@redhat.com>
15541
15542 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15543
998d452a
PA
155442015-07-30 Pedro Alves <palves@redhat.com>
15545
15546 * linux-low.c (handle_extended_wait): Set the child's last
15547 reported status to TARGET_WAITKIND_STOPPED.
15548
69dde7dc
PA
155492015-07-30 Pedro Alves <palves@redhat.com>
15550
15551 PR threads/18600
15552 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
15553 only shows inferior 1.
15554
4dd63d48
PA
155552015-07-30 Simon Marchi <simon.marchi@ericsson.com>
15556 Pedro Alves <palves@redhat.com>
15557
15558 PR threads/18600
15559 * gdb.threads/fork-plus-threads.c: New file.
15560 * gdb.threads/fork-plus-threads.exp: New file.
15561
d618e4c5
PP
155622015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15563
15564 * gdb.base/batch-preserve-term-settings.exp
15565 (test_terminal_settings_preserved_after_cli_exit): Use
15566 send_quit_command.
15567
1eef6428
PA
155682015-07-29 Pedro Alves <palves@redhat.com>
15569 Don Breazeal <donb@codesourcery.com>
15570
15571 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
15572 output from both inferior_spawn_id and gdb_spawn_id.
15573
7da5b897
SDJ
155742015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15575
15576 * gdb.threads/attach-into-signal.exp (corefunc): Use
15577 with_test_prefix on nested loops, uniquefying the test messages.
15578
dac804df
SDJ
155792015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15580
15581 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
15582 commit.
15583
06265e53
PP
155842015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15585
15586 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
15587 New proc.
15588 (test_terminal_settings_preserved_after_sigterm): New test.
15589
18206ca3
PP
155902015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15591
15592 * gdb.base/batch-preserve-term-settings.exp
15593 (test_terminal_settings_preserved_after_cli_exit): New test.
15594
90074d11
PP
155952015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15596
15597 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
15598 manipulation of saved_gdbflags.
15599 (test_terminal_settings_preserved): Remove global declaration of
15600 the unused variable pagination_prompt. Remove manipulation of
15601 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
15602 GDBFLAGS.
15603
eb1a7902
PA
156042015-07-29 Pedro Alves <palves@redhat.com>
15605
15606 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
15607
8b75dd3b
PA
156082015-07-29 Pedro Alves <palves@redhat.com>
15609
15610 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
15611 at the top.
15612
dedad4e3
PA
156132015-07-29 Pedro Alves <palves@redhat.com>
15614
15615 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
15616 (main): Call gdb_unbuffer_output.
15617 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
15618 (main): Call gdb_unbuffer_output.
15619 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
15620 (main): Call gdb_unbuffer_output.
15621 * gdb.base/call-strs.exp: Adjust to step over the
15622 gdb_unbuffer_output call.
15623 * gdb.base/catch-gdb-caused-signals.c: Include
15624 "../lib/unbuffer_output.c".
15625 (main): Call gdb_unbuffer_output.
15626 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
15627 (main): Call gdb_unbuffer_output.
15628 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
15629 (main): Call gdb_unbuffer_output.
15630 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
15631 (main): Call gdb_unbuffer_output.
15632 * gdb.base/shlib-call.exp: Adjust to step over the
15633 gdb_unbuffer_output call.
15634 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
15635 (main): Call gdb_unbuffer_output.
15636 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
15637 (main): Call gdb_unbuffer_output.
15638 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
15639 (main): Rename to ...
15640 (test): ... this.
15641 (main): Reimplement.
15642 * gdb.base/varargs.exp: Run to test instead of to main.
15643 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15644 (main): Call gdb_unbuffer_output.
15645
58789a91
PA
156462015-07-29 Pedro Alves <palves@redhat.com>
15647
15648 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
15649 factore out from mi_continue_dprintf. For call-style dprintfs,
15650 expect dprintf output out of $inferior_spawn_id.
15651 (mi_continue_dprintf): Use mi_expect_dprintf.
15652 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15653 (main): Call gdb_unbuffer_output.
15654
e8376742
PA
156552015-07-29 Pedro Alves <palves@redhat.com>
15656
15657 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
15658 (default_mi_gdb_start): Set inferior_spawn_id instead of
15659 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
15660 gdb_spawn_id.
15661 (mi_gdb_test): Always expect inferior output from both
15662 $inferior_spawn_id and $gdb_spawn_id.
15663
08280010
PA
156642015-07-29 Pedro Alves <palves@redhat.com>
15665
15666 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
15667 send_inferior and $inferior_spawn_id.
15668
4d30e432
PA
156692015-07-29 Pedro Alves <palves@redhat.com>
15670
15671 * gdb.gdb/complaints.exp (test_initial_complaints)
15672 (test_serial_complaints, test_short_complaints): Use
15673 gdb_test_stdio.
15674 (test_empty_complaint): Handle $inferior_spawn_id !=
15675 $gdb_spawn_id.
15676
0d30a335
PA
156772015-07-29 Pedro Alves <palves@redhat.com>
15678
15679 * gdb.base/varargs.exp: Use gdb_test_stdio.
15680
39413b29
PA
156812015-07-29 Pedro Alves <palves@redhat.com>
15682
15683 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
15684
7cb000a9
PA
156852015-07-29 Pedro Alves <palves@redhat.com>
15686
15687 * gdb.base/ending-run.exp: Use gdb_test_stdio.
15688
d7b8ac82
PA
156892015-07-29 Pedro Alves <palves@redhat.com>
15690
15691 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
15692 parameter into two new parameters, "inf_result" and "gdb_result".
15693 Expect inferior output and gdb output from $inferior_spawn_id and
15694 $gdb_spawn_id, respectively. Adjust all callers.
15695
789c3a0c
PA
156962015-07-29 Pedro Alves <palves@redhat.com>
15697
15698 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
15699 of gdb_test_sequence.
15700
77e760c3
PA
157012015-07-29 Pedro Alves <palves@redhat.com>
15702
15703 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
15704 (saw_spurious_output): Expect inferior output from
15705 $inferior_spawn_id. Use gdb_test_stdio.
15706
8396d2cd
PA
157072015-07-29 Pedro Alves <palves@redhat.com>
15708
15709 * gdb.base/dprintf.exp: Use standard_testfile. Change
15710 prepare_for_testing call.
15711 (srcfile): Don't set.
15712 (restart): New procedure.
15713 (test_dprintf): New procecure, use to continue over dprintfs.
15714 (test_call, test_agent): New procedures, tests moved here.
15715 Restart gdb and recreate dprintfs. Adjust expected output.
15716
2051d61f
PA
157172015-07-29 Pedro Alves <palves@redhat.com>
15718
15719 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
15720
452397af
PA
157212015-07-29 Pedro Alves <palves@redhat.com>
15722
15723 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
15724
8aed9555
PA
157252015-07-29 Pedro Alves <palves@redhat.com>
15726
15727 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
15728 gdb_test_stdio.
15729
188a61b4
PA
157302015-07-29 Pedro Alves <palves@redhat.com>
15731
15732 * lib/gdb.exp (gdb_test_stdio): New procedure.
15733
12264a45
PA
157342015-07-29 Pedro Alves <palves@redhat.com>
15735
15736 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
15737
23ffc893
PA
157382015-07-29 Pedro Alves <palves@redhat.com>
15739
15740 * gdb.base/call-signal-resume.exp: Remove check for
15741 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
15742 * gdb.base/unwindonsignal.exp: Likewise.
15743 * gdb.base/call-signals.c (gen_signal): Remove printf call.
15744 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
15745
65566918
PA
157462015-07-29 Pedro Alves <palves@redhat.com>
15747
15748 * gdb.base/siginfo-addr.c (pass): New function.
15749 (handler): Call it iff si_addr is correct.
15750 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
15751 Set a breakpoint at "pass" and continue to it.
15752
d60a9221
SDJ
157532015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
15754
15755 * gdb.python/py-objfile.exp: Make some tests have unique names.
15756 * gdb.python/py-pp-registration.exp: Likewise.
15757
bde40b8f
PA
157582015-07-28 Pedro Alves <palves@redhat.com>
15759
15760 * gdb.server/server-exec-info.exp: Issue a "disconnect".
15761
13e1dec8
SM
157622015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15763
15764 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
15765
da33c9a7
SM
157662015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15767
15768 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
15769
077836f7
PP
157702015-07-27 Patrick Palka <patrick@parcs.ath.cx>
15771
15772 * gdb.base/gdb-sigterm-2.exp: New test.
15773
b8cc7b2e
DE
157742015-07-25 Doug Evans <xdje42@gmail.com>
15775
15776 Revert:
15777 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15778 (workers/%.worker, build-perf): New rule.
15779 (GDB_PERFTEST_MODE): New variable.
15780 (check-perf): Use it.
15781 (clean): Clean up gdb.perf parallel build subdirs.
15782 * lib/build-piece.exp: New file.
15783 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15784 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15785 name.
15786 (standard_temp_file): Ditto.
15787 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15788 of $GDB_PARALLEL.
15789
c8bd4544
DE
157902015-07-24 Doug Evans <dje@google.com>
15791
15792 * gdb.perf/lib/perftest/utils.py: New file.
15793 * gdb.perf/gm-hello.cc: New file.
15794 * gdb.perf/gm-pervasive-typedef.cc: New file.
15795 * gdb.perf/gm-pervasive-typedef.h: New file.
15796 * gdb.perf/gm-std.cc: New file.
15797 * gdb.perf/gm-std.h: New file.
15798 * gdb.perf/gm-use-cerr.cc: New file.
15799 * gdb.perf/gm-utils.h: New file.
15800 * gdb.perf/gmonster-null-lookup.py: New file.
15801 * gdb.perf/gmonster-pervasive-typedef.py: New file.
15802 * gdb.perf/gmonster-print-cerr.py: New file.
15803 * gdb.perf/gmonster-ptype-string.py: New file.
15804 * gdb.perf/gmonster-runto-main.py: New file.
15805 * gdb.perf/gmonster-select-file.py: New file.
15806 * gdb.perf/gmonster1-null-lookup.exp: New file.
15807 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
15808 * gdb.perf/gmonster1-print-cerr.exp: New file.
15809 * gdb.perf/gmonster1-ptype-string.exp: New file.
15810 * gdb.perf/gmonster1-runto-main.exp: New file.
15811 * gdb.perf/gmonster1-select-file.exp: New file.
15812 * gdb.perf/gmonster1.cc: New file.
15813 * gdb.perf/gmonster1.exp: New file.
15814 * gdb.perf/gmonster2-null-lookup.exp: New file.
15815 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
15816 * gdb.perf/gmonster2-print-cerr.exp: New file.
15817 * gdb.perf/gmonster2-ptype-string.exp: New file.
15818 * gdb.perf/gmonster2-runto-main.exp: New file.
15819 * gdb.perf/gmonster2-select-file.exp: New file.
15820 * gdb.perf/gmonster2.cc: New file.
15821 * gdb.perf/gmonster2.exp: New file.
15822
6eab34f3
DE
158232015-07-24 Doug Evans <dje@google.com>
15824
15825 * gdb.perf/README: New file.
15826 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
15827 * lib/gen-perf-test.exp: New file.
15828
63738bfd
DE
158292015-07-24 Doug Evans <dje@google.com>
15830
15831 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
15832 (PerfTest::startup): New function.
15833 (PerfTest::run): Return result of calling body.
15834 (PerfTest::assemble): Rewrite.
15835 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
15836 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
15837 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
15838 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
15839 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
15840
7b606f95
DE
158412015-07-24 Doug Evans <dje@google.com>
15842
15843 * lib/gdb.exp (clean_restart): Make executable optional.
15844
a97b16b8
DE
158452015-07-24 Doug Evans <dje@google.com>
15846
15847 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
15848 compiler_info references.
15849 * gdb.cp/temargs.exp: Ditto.
15850 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
15851 (get_compiler_info): Early exit if already computed. Set compiler_info
15852 to "unknown" if there was a problem.
15853 (test_compiler_info): Add function comment. Call get_compiler_info.
15854
35baa57f
DE
158552015-07-24 Doug Evans <dje@google.com>
15856
15857 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15858 (workers/%.worker, build-perf): New rule.
15859 (GDB_PERFTEST_MODE): New variable.
15860 (check-perf): Use it.
15861 (clean): Clean up gdb.perf parallel build subdirs.
15862 * lib/build-piece.exp: New file.
15863 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15864 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15865 name.
15866 (standard_temp_file): Ditto.
15867 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15868 of $GDB_PARALLEL.
15869
6ebea266
DE
158702015-07-24 Doug Evans <dje@google.com>
15871
15872 * lib/future.exp (gdb_default_target_compile): New option
15873 "early_flags".
15874 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
15875 --as-needed.
15876
1e76a7e9
SDJ
158772015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
15878
15879 * gdb.base/catch-syscall.exp: Call gdb_exit before
15880 gdb_skip_xml_test.
15881
5068630a
PA
158822015-07-24 Pedro Alves <palves@redhat.com>
15883
15884 * gdb.python/py-events.exp: Accept output between the stop event
15885 and the prompt.
15886 * gdb.python/py-evsignal.exp: Likewise.
15887 * gdb.python/py-evthreads.exp: Likewise.
15888
77598427
PA
158892015-07-24 Pedro Alves <palves@redhat.com>
15890
15891 PR gdb/18717
15892 * gdb.threads/non-ldr-exit.c: New file.
15893 * gdb.threads/non-ldr-exit.exp: New file.
15894
11e6c98f
YQ
158952015-07-24 Yao Qi <yao.qi@linaro.org>
15896
15897 * gdb.server/ext-wrapper.exp: Test --wrapper option when
15898 restarting process.
15899
51aee833
YQ
159002015-07-24 Yao Qi <yao.qi@linaro.org>
15901
15902 * gdb.server/ext-restart.exp: New file.
15903
8cfe207c
YQ
159042015-07-24 Yao Qi <yao.qi@linaro.org>
15905
15906 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
15907 argument options.
15908 * gdb.server/ext-wrapper.exp: New file.
15909
cc12ce38
DE
159102015-07-23 Doug Evans <dje@google.com>
15911
15912 * gdb.dwarf2/dw2-dummy-cu.S: New file.
15913 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
15914
d0d84780
PMR
159152015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
15916
15917 * gdb.ada/var_arr_typedef.exp: New testcase.
15918 * gdb.ada/var_arr_typedef/pack.adb: New file.
15919 * gdb.ada/var_arr_typedef/pack.ads: New file.
15920 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
15921
8b558f79
JB
159222015-07-20 Joel Brobecker <brobecker@adacore.com>
15923
15924 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
15925
775a3298
JK
159262015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15927
15928 * gdb.arch/i386-biarch-core.exp: Replace istarget
15929 by "complete set gnutarget". Remove expectation for the "core-file"
15930 command.
15931
db1ff28b
JK
159322015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15933
15934 Revert the previous commit:
15935 Tests for validate symbol file using build-id.
15936
0a94970d
JK
159372015-07-15 Aleksandar Ristovski <aristovski@qnx.com
15938
15939 Tests for validate symbol file using build-id.
15940 * gdb.base/solib-mismatch-lib.c: New file.
15941 * gdb.base/solib-mismatch-libmod.c: New file.
15942 * gdb.base/solib-mismatch.c: New file.
15943 * gdb.base/solib-mismatch.exp: New file.
15944
03346981
SL
159452015-07-15 Sandra Loosemore <sandra@codesourcery.com>
15946
15947 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
15948 nios2-*-linux*.
15949 * gdb.base/sigbpt.exp (stepi_out): Likewise.
15950 * gdb.base/siginfo.exp: Likewise.
15951 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15952
42422cc7
PL
159532015-07-15 Pierre Langlois <pierre.langlois@arm.com>
15954
15955 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
15956 Move it to ...
15957 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
15958 ... here.
15959 * gdb.trace/range-stepping.exp: Check that the target supports
15960 range stepping.
15961
cfa68bae
JK
159622015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15963
15964 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
15965
8ffdba26
PA
159662015-07-14 Pedro Alves <palves@redhat.com>
15967
15968 * gdb.base/killed-outside.exp: New file.
15969 * gdb.base/killed-outside.c: New file.
15970
218a5a11
JK
159712015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15972
15973 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
15974 (n at main): New.
15975 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
15976
e03ed3c6
AA
159772015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15978
15979 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
15980 infcall tests instead of setting up for KFAIL.
15981
485668e5
MM
159822015-07-10 Markus Metzger <markus.t.metzger@intel.com>
15983
15984 * gdb.btrace/record_goto-step.exp: New.
15985
08464196
JK
159862015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15987
15988 PR compile/18484
15989 * gdb.compile/compile.c (struct struct_type): Add volatile to
15990 selffield's type.
15991 * gdb.compile/compile.exp
15992 (compile code struct_object.selffield = &struct_object): Skip further
15993 struct_object tests if this one xfails.
15994
bcf5c1d9
RC
159952015-07-08 Robert O'Callahan <robert@ocallahan.org>
15996
15997 PR exp/18617
15998 * gdb.trace/ax.exp: Add test.
15999
4931af25
YQ
160002015-07-07 Yao Qi <yao.qi@linaro.org>
16001
16002 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
16003 instead of istarget "aarch64*-*-*".
16004 * gdb.arch/aarch64-fp.exp: Likewise.
16005 * gdb.base/float.exp: Likewise.
16006 * gdb.reverse/aarch64.exp: Likewise.
16007 * lib/gdb.exp (is_aarch64_target): New proc.
16008
9fcf688e
YQ
160092015-07-07 Yao Qi <yao.qi@linaro.org>
16010
16011 * lib/gdb.exp (is_aarch32_target): New proc.
16012 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
16013 instead of "istarget "arm*-*-*"".
16014 * gdb.arch/arm-disp-step.exp: Likewise.
16015 * gdb.arch/thumb-bx-pc.exp: Likewise.
16016 * gdb.arch/thumb-prologue.exp: Likewise.
16017 * gdb.arch/thumb-singlestep.exp: Likewise.
16018 * gdb.base/disp-step-syscall.exp: Likewise.
16019 * gdb.base/float.exp: Likewise.
16020
fbd8d50d
YQ
160212015-07-07 Yao Qi <yao.qi@linaro.org>
16022
16023 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
16024 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
16025
71be1fdc
YQ
160262015-07-07 Yao Qi <yao.qi@linaro.org>
16027
16028 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
16029 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
16030 if it exists.
16031 * gdb.multi/multi-arch.exp: Likewise.
16032
3e221d36
SM
160332015-07-07 Simon Marchi <simon.marchi@ericsson.com>
16034
16035 * gdb.python/py-lazy-string.exp: Add missing parentheses to
16036 print.
16037
d441430b
YQ
160382015-07-07 Yao Qi <yao.qi@linaro.org>
16039
16040 * gdb.arch/thumb-singlestep.exp: Do one more single step.
16041
06f810bd
MG
160422015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
16043
16044 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
16045 '[' and ']' characters.
16046
5e61e7c0
IB
160472015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
16048
16049 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16050
28bf096c
PA
160512015-06-29 Pedro Alves <palves@redhat.com>
16052
16053 PR threads/18127
16054 * gdb.threads/hand-call-new-thread.c: New file.
16055 * gdb.threads/hand-call-new-thread.c: New file.
16056
ee93cd5e
KS
160572015-06-26 Keith Seitz <keiths@redhat.com>
16058 Doug Evans <dje@google.com>
16059
16060 PR 16253
16061 * gdb.cp/var-tag-2.cc: New file.
16062 * gdb.cp/var-tag-3.cc: New file.
16063 * gdb.cp/var-tag-4.cc: New file.
16064 * gdb.cp/var-tag.cc: New file.
16065 * gdb.cp/var-tag.exp: New file.
16066
fc637f04
PP
160672015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16068
16069 * gdb.base/history-duplicates.exp: New test.
16070
2e52ae68
PP
160712015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16072
16073 * gdb.base/completion.exp: Test the completion of the "focus"
16074 command.
16075
6e22494e
JK
160762015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16077
16078 * gdb.arch/amd64-prologue-skip.S: New file.
16079 * gdb.arch/amd64-prologue-skip.exp: New file.
16080
bf7b9cd9
SM
160812015-06-25 Simon Marchi <simon.marchi@ericsson.com>
16082
16083 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
16084 is_address_zero_readable check.
16085
201e8dfd
PB
160862015-06-24 Peter Bergner <bergner@vnet.ibm.com>
16087
16088 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
16089 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
16090
5cd867b4
YQ
160912015-06-24 Yao Qi <yao.qi@linaro.org>
16092
16093 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
16094 linux targets.
16095
4d7be007
YQ
160962015-06-24 Yao Qi <yao.qi@linaro.org>
16097
16098 * lib/gdb.exp (supports_get_siginfo_type): New proc.
16099 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
16100 * gdb.base/siginfo-thread.exp: Likewise.
16101
07fcd301
YQ
161022015-06-22 Yao Qi <yao.qi@linaro.org>
16103
16104 * boards/remote-gdbserver-on-localhost.exp: Add comments.
16105
52042a00
YQ
161062015-06-22 Yao Qi <yao.qi@linaro.org>
16107
16108 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
16109 aarch64*-*-*.
16110 (skip_hw_watchpoint_tests): Likewise.
16111
74bd41ce
PP
161122015-06-18 Patrick Palka <patrick@parcs.ath.cx>
16113
16114 * gdb.base/gdbinit-history.exp: Test the interaction between
16115 setting GDBHISTSIZE and setting the history size via .gdbinit.
16116
bc460514
PP
161172015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16118
16119 PR gdb/16999
16120 * gdb.base/gdbhistsize-history.exp: New test.
16121
b58c513b
PP
161222015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16123
16124 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
16125 with GDBHISTSIZE.
16126 * gdb.base/readline.exp: Likewise.
16127
92046791
YQ
161282015-06-17 Yao Qi <yao.qi@linaro.org>
16129
16130 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
16131 line.
16132
2093d2d3
PP
161332015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16134
16135 * gdb.base/gdbinit-history.exp: Add test case to check that
16136 an unlimited history file does not get truncated on exit.
16137
e6c693af
AA
161382015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16139
16140 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
16141 (VECTOR): New macro. Use it...
16142 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
16143 ...for these typedefs.
16144 (int8, char1, int1, double1): New typedefs.
16145 (struct just_int2, struct two_int2): New structures.
16146 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
16147 (add_structvecs, add_singlevecs): New functions.
16148 (main): Call add_some_intvecs twice.
16149 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
16150 the compile and exit upon failure. Try compiling for the "native"
16151 architecture. Test inferior function calls with vector arguments
16152 and vector return value handling with "finish" and "return".
16153
c74f7d1c
JT
161542015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
16155
16156 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
16157 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
16158 PE file.
16159 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
16160
98aa42ee
AT
161612015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16162
16163 PR breakpoints/16465
16164 * gdb.mi/mi-dprintf-pending.c: New file.
16165 * gdb.mi/mi-dprintf-pending.exp: New test.
16166 * gdb.mi/mi-dprintf-pendshr.c: New file.
16167
7d73c23c 161682015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 16169 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
16170
16171 * gdb.arch/i386-mpx-map.c: New file.
16172 * gdb.arch/i386-mpx-map.exp: New File.
16173
161742015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16175
16176 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
16177 * gdb.arch/i386-mpx.exp: Indentation fixed.
16178
161792015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16180
16181 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
16182 function and improved indentation.
16183 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
16184 gdb_test_multiple. Added additional tests to skip the test.
16185
161862015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16187
16188 * gdb.arch/i386-avx512.c: Change path in include file.
16189 * gdb.arch/i386-avx512.exp: Change include dir path
16190 compilation flag.
16191 * gdb.arch/i386-mpx.c: Change path in include file.
16192 * gdb.arch/i386-mpx.exp: Change include dir path compilation
16193 flag.
16194
d5eba19a
JK
161952015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16196
16197 * gdb.compile/compile-print.exp (compile print *vararray@3)
16198 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
16199
7f361056
JK
162002015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16201
16202 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
16203 (do not keep jit in memory): ... this.
16204 (expect 5): Change it to ...
16205 (expect no 5): ... this.
16206
3b462ec2
SM
162072015-06-02 Simon Marchi <simon.marchi@ericsson.com>
16208
16209 PR gdb/15564
16210 * gdb.mi/mi-detach.exp: New file.
16211
e0619de6
JK
162122015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16213
16214 PR symtab/18392
16215 * gdb.arch/amd64-tailcall-self.S: New file.
16216 * gdb.arch/amd64-tailcall-self.c: New file.
16217 * gdb.arch/amd64-tailcall-self.exp: New file.
16218
e970cb34
DB
162192015-05-28 Don Breazeal <donb@codesourcery.com>
16220
16221 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
16222 tests for remote targets by checking is_target_gdbserver.
16223
b2e2f908
DE
162242015-05-27 Doug Evans <dje@google.com>
16225
16226 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
16227 * gdb.dwarf2/opaque-type-lookup.c: New file.
16228 * gdb.dwarf2/opaque-type-lookup.exp: New file.
16229
82c7be31
DE
162302015-05-26 Doug Evans <dje@google.com>
16231
16232 * gdb.cp/iostream.cc: New file.
16233 * gdb.cp/iostream.exp: New file.
16234
b4f54984
DE
162352015-05-26 Doug Evans <dje@google.com>
16236
16237 * gdb.dwarf2/dw2-op-call.exp: Update.
16238 * gdb.dwarf2/dw4-sig-types.exp: Update.
16239 * gdb.dwarf2/implptr.exp: Update.
16240 * gdb.mi/mi-cmd-param-changed.exp: Update.
16241
4ea6efe9
DE
162422015-05-26 Doug Evans <dje@google.com>
16243
16244 * gdb.python/py-lazy-string.c: New file.
16245 * gdb.python/py-lazy-string.exp: New file.
16246 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
16247 (main): Update. Add estring3.
16248 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
16249 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
16250
f6bb7db3
YQ
162512015-05-26 Omair Javaid <omair.javaid@linaro.org>
16252 Yao Qi <yao.qi@linaro.org>
16253
16254 * gdb.reverse/aarch64.c: New.
16255 * gdb.reverse/aarch64.exp: New.
16256
a81bfbd0
OJ
162572015-05-26 Omair Javaid <omair.javaid@linaro.org>
16258
25d49b86
PA
16259 * lib/gdb.exp (supports_process_record): Return true for
16260 aarch64*-linux*.
a81bfbd0
OJ
16261 (supports_reverse): Likewise.
16262
158bf1b4
PP
162632015-05-22 Patrick Palka <patrick@parcs.ath.cx>
16264
16265 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16266 Use with_test_prefix.
16267
a0145030
AB
162682015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
16269
16270 * gdb.base/completion.exp: Add test for completion of layout
16271 names.
16272
ebe3b578
AB
162732015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
16274
16275 * lib/gdb.exp (skip_tui_tests): New proc.
16276 * gdb.base/tui-layout.exp: Check skip_tui_tests.
16277
84204ed7
PA
162782015-05-19 Pedro Alves <palves@redhat.com>
16279
16280 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16281 Save the whole env array instead of just HOME. Unset HISTSIZE in
16282 the environment while testing. Restore whole environment
16283 afterwards.
16284
37442ce1
DE
162852015-05-16 Doug Evans <xdje42@gmail.com>
16286
16287 * gdb.guile/scm-ports.c: New file.
16288 * gdb.guile/scm-ports.exp: Add memory port tests.
16289
36de76f9
JK
162902015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16291
16292 * gdb.compile/compile-print.c: New file.
16293 * gdb.compile/compile-print.exp: New file.
16294
3a9558c4
JK
162952015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16296
16297 * gdb.compile/compile-ops.exp: Cast param to void.
16298 * gdb.compile/compile.exp: Complete type for _gdb_expr.
16299 (compile code struct_object.selffield = &struct_object): Add xfail.
16300
aa715135
JG
163012015-05-15 Joel Brobecker <brobecker@adacore.com>
16302
16303 * gdb.ada/arr_enum_with_gap: New testcase.
16304
931e5bc3
JG
163052015-05-15 Joel Brobecker <brobecker@adacore.com>
16306
16307 * gdb.ada/byte_packed_arr: New testcase.
16308
9cd4d857
JB
163092015-05-15 Joel Brobecker <brobecker@adacore.com>
16310
16311 * gdb.ada/pckd_neg: New testcase.
16312
ebfd00d2
PP
163132015-05-13 Patrick Palka <patrick@parcs.ath.cx>
16314
16315 PR gdb/17820
16316 * gdb.base/gdbinit-history.exp: New test.
16317 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
16318 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
16319
4c082a81
SC
163202015-05-09 Siva Chandra Reddy <sivachandra@google.com>
16321
16322 * gdb.python/py-xmethods.cc: Enhance test case.
16323 * gdb.python/py-xmethods.exp: New tests.
16324 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
16325 function.
16326 (B_indexoper): Likewise.
16327 (global_dm_list) : Add new xmethod worker functions.
16328
f7797074
SDJ
163292015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
16330
16331 * gdb.base/coredump-filter.exp: Correctly unset
16332 "coredump_var_addr" array.
16333
a4674e4e
PA
163342015-05-08 Pedro Alves <palves@redhat.com>
16335
16336 * gdb.server/non-existing-program.exp: Unset spawn_id.
16337
df2eb078
SC
163382015-05-08 Siva Chandra Reddy <sivachandra@google.com>
16339
16340 PR python/18291
16341 * gdb.python/py-xmethods.exp: Add tests.
16342
422349a3
YQ
163432015-05-08 Yao Qi <yao.qi@linaro.org>
16344
16345 PR gdb/18208
16346 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
16347 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
16348 function set_coredump_filter, and remove remote_exec call.
16349 Remove argument ipid. Callers update.
16350 (top level): Don't get inferior's PID.
16351
63fc80ce
AA
163522015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
16353
16354 * gdb.base/watch_thread_num.exp: Skip test on targets without
16355 access watchpoints.
16356
80ad801e
PA
163572015-05-06 Pedro Alves <palves@redhat.com>
16358
16359 PR server/18081
16360 * gdb.server/non-existing-program.exp: New file.
16361
0fa7fe50
JB
163622015-05-05 Joel Brobecker <brobecker@adacore.com>
16363
16364 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
16365
3ea89b92
PMR
163662015-05-05 Joel Brobecker <brobecker@adacore.com>
16367
16368 * gdb.ada/out_of_line_in_inlined: New testcase.
16369
87b8eff0
JB
163702015-05-05 Joel Brobecker <brobecker@adacore.com>
16371
16372 * gdb.ada/var_rec_arr: New testcase.
16373
5fccc635
YQ
163742015-04-30 Yao Qi <yao.qi@linaro.org>
16375
16376 * gdb.base/break-idempotent.exp: If
16377 skip_hw_watchpoint_multi_tests returns true, skip the tests
16378 on "rwatch" and "awatch".
16379
42d38f42
YQ
163802015-04-30 Yao Qi <yao.qi@linaro.org>
16381
16382 * gdb.base/relativedebug.exp: Invoke gdb command
16383 "info sharedlibrary", and if libc.so doesn't have debug info,
16384 skip the test.
16385
2ce1cdbf
DE
163862015-04-29 Doug Evans <dje@google.com>
16387
16388 * gdb.python/py-xmethods.exp: Add ptype tests.
16389 * gdb.python/py-xmethods.py (E_method_char_worker): Add
16390 get_result_type method.
16391
f24a38c5
LM
163922015-04-29 Luis Machado <lgustavo@codesourcery.com>
16393
16394 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
16395 the target does not support hardware watchpoints.
16396
ecbf2b3c
LM
163972015-04-29 Luis Machado <lgustavo@codesourcery.com>
16398
16399 * gdb.base/break-always.exp: Abort testing if writing to memory
16400 causes an error.
16401
34f5f757
DE
164022015-04-28 Doug Evans <dje@google.com>
16403
16404 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
16405 * gdb.python/py-pp-registration.exp: ... here. New file.
16406 * gdb.python/py-pp-registration.c: New file.
16407 * gdb.python/py-pp-registration.py: New file.
16408
69b4374a
DE
164092015-04-28 Doug Evans <dje@google.com>
16410
16411 * gdb.python/py-bad-printers.c: New file.
16412 * gdb.python/py-bad-printers.py: New file.
16413 * gdb.python/py-bad-printers.exp: New file.
16414
59fb7612
SS
164152015-04-28 Sasha Smundak <asmundak@google.com>
16416
16417 * gdb.python/py-type.exp: New test.
16418
2631b16a
AW
164192015-04-28 Andy Wingo <wingo@igalia.com>
16420
16421 * gdb.python/py-parameter.exp:
16422 * gdb.guile/scm-parameter.exp: Escape the path that we are
16423 matching against, as it might contain characters that are special
16424 to regular expressions.
16425
460efde1
JB
164262015-04-27 Joel Brobecker <brobecker@adacore.com>
16427
16428 * gdb.ada/rec_comp: New testcase.
16429
2d369d8e
SDJ
164302015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
16431
16432 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
16433 before using it.
16434
cf75d6c3
AB
164352015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
16436
16437 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
16438 new tests for verilog output.
16439
8dbe7ca5
YQ
164402015-04-24 Yao Qi <yao.qi@linaro.org>
16441
16442 * boards/remote-gdbserver-on-localhost.exp: New file.
16443
4ef9fb2f
PA
164442015-04-23 Pedro Alves <palves@redhat.com>
16445
16446 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
16447 $inferior_spawn_id instead of $inferior_spawn_id directly. On
16448 "end of file", remove $inferior_spawn_id from the indirect list.
16449
0a803169
PA
164502015-04-23 Pedro Alves <palves@redhat.com>
16451
16452 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
16453
749ef8f8
PA
164542015-04-23 Pedro Alves <palves@redhat.com>
16455
16456 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
16457 on $any_spawn_id instead of only on $gdb_spawn_id.
16458
8aae4344
PM
164592015-04-21 Pierre Muller <muller@sourceware.org>
16460
16461 PR pascal/17815
16462 * lib/pascal.exp (gpc_compile): Add new option "class".
16463 (fpc_compile): Likewise.
16464 * gdb.pascal/case-insensitive-symbols.pas: New file.
16465 * gdb.pascal/case-insensitive-symbols.exp: New file.
16466
1586c8fb
GB
164672015-04-20 Gary Benson <gbenson@redhat.com>
16468
16469 * gdb.base/attach.exp: Fix three extended remote failures.
16470
1b6e6f5c
GB
164712015-04-17 Gary Benson <gbenson@redhat.com>
16472
16473 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
16474 the main executable over the remote protocol.
16475
e797481d
PA
164762015-04-16 Pedro Alves <palves@redhat.com>
16477
16478 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
16479 a new gdbserver if gdbserver_reconnect_p is set.
16480
1ca99c42
PA
164812015-04-16 Pedro Alves <palves@redhat.com>
16482
16483 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
16484 is set, don't exit gdbserver.
16485
af9fd6f8
AA
164862015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16487
16488 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
16489 appropriate .insn, such that an older assembler can be used.
16490 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
16491 the z/Architecture instruction set on 31-bit targets as well.
16492
04ff1e61
AA
164932015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16494
16495 * gdb.go/handcall.exp: Remove all logic related to the first
16496 breakpoint and rely on go_runto_main instead.
16497 * gdb.go/strings.exp: Likewise.
16498 * gdb.go/unsafe.exp: Likewise.
16499 * gdb.go/hello.exp: Likewise. Also rename the remaining
16500 breakpoint marker to "breakpoint 1".
16501 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
16502 * gdb.go/strings.go: Likewise.
16503 * gdb.go/unsafe.go: Likewise.
16504 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
16505 "set breakpoint 2 here" and rename the remaining breakpoint marker
16506 to "breakpoint 1".
16507
40d2f8d6
SM
165082015-04-15 Simon Marchi <simon.marchi@ericsson.com>
16509
16510 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
16511 if itertools.imap is not present.
16512 * gdb.python/py-objfile.exp: Add parentheses.
16513 * gdb.python/py-type.exp: Same.
16514 * gdb.python/py-unwind-maint.py: Same.
16515
8cbc97c6
YQ
165162015-04-15 Yao Qi <yao.qi@linaro.org>
16517
16518 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
16519 of ":$ptr_size" and set its form explicitly.
16520
45fd756c
YQ
165212015-04-15 Pedro Alves <palves@redhat.com>
16522 Yao Qi <yao.qi@linaro.org>
16523
16524 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
16525 timeout by factor of 4.
16526 (test_regular_watch): Likewise.
16527 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
16528 * gdb.reverse/sigall-reverse.exp: Likewise.
16529 * gdb.reverse/until-precsave.exp: Likewise.
16530 * lib/gdb.exp (with_timeout_factor): New proc.
16531 (gdb_expect): Move some code to ...
16532 (get_largest_timeout): ... here. New procedure.
16533
9e811bc3
LM
165342015-04-14 Luis Machado <lgustavo@codesourcery.com>
16535
16536 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
16537
0ff6fcb2
LM
165382015-04-13 Luis Machado <lgustavo@codesourcery.com>
16539
16540 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
16541 to write to the .text section.
16542
7578d5f7
LM
165432015-04-13 Luis Machado <lgustavo@codesourcery.com>
16544
16545 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
16546 Handle the case of targets that do not provide PID information.
16547
2efe15c4
YQ
165482015-04-13 Yao Qi <yao.qi@linaro.org>
16549
16550 * lib/gdbserver-support.exp (gdb_exit): Catch exception
16551 and use expect instead of gdb_expect.
16552
8cd8f2f8
SDJ
165532015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
16554
16555 * gdb.base/coredump-filter.exp: Rename variable "addr" to
16556 "coredump_var_addr" to avoid naming conflict with other testcases.
16557
9ee41772
PA
165582015-04-10 Pedro Alves <palves@redhat.com>
16559
16560 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
16561 gdb_test_sequence and gdb_assert.
16562
07473109
PA
165632015-04-10 Pedro Alves <palves@redhat.com>
16564
16565 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
16566 test messages that don't include the breakpoint address.
16567
de3db44c
YQ
165682015-04-10 Yao Qi <yao.qi@linaro.org>
16569
16570 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
16571 false for some offset and width combinations which aren't
16572 supported by linux kernel.
16573
c79d856c
PA
165742015-04-10 Pedro Alves <palves@redhat.com>
16575
16576 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
16577 procedure, factored out from ...
16578 (top level): ... here. Add "set displaced-stepping" testing axis.
16579 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
16580 parameter "displaced". Use it.
16581 (top level): Use foreach and add "set displaced-stepping" testing
16582 axis.
16583
ebc90b50
PA
165842015-04-10 Pedro Alves <palves@redhat.com>
16585
16586 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
16587 Remove comment.
16588 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
16589 both the address of the instruction that triggers the watchpoint
16590 and the address of the instruction immediately after, and use
16591 those addresses for the test. Fix comment.
16592
8f572e5c
PA
165932015-04-10 Pedro Alves <palves@redhat.com>
16594
16595 * gdb.base/sigstep.exp (breakpoint_to_handler)
16596 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
16597 Test "backtrace" in handler.
16598 (breakpoint_over_handler): New parameter 'displaced'. Use it.
16599 (top level): Add new "displaced" test axis to
16600 breakpoint_to_handler, breakpoint_to_handler_entry and
16601 breakpoint_over_handler.
16602
8d707a12
PA
166032015-04-10 Pedro Alves <palves@redhat.com>
16604
16605 PR gdb/18216
16606 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
16607
ef713951
YQ
166082015-04-10 Yao Qi <yao.qi@linaro.org>
16609
16610 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
16611 (test_add_rn_pc): New function.
16612 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
16613 (top level): Invoke test_add_rn_pc.
16614
906d60cf
PA
166152015-04-10 Pedro Alves <palves@redhat.com>
16616
16617 PR gdb/13858
16618 * gdb.base/step-over-no-symbols.exp: New file.
16619
f2983cc3
AW
166202015-04-09 Andy Wingo <wingo@igalia.com>
16621
16622 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
16623 after the Python tests.
16624
6d62641c
SDJ
166252015-04-08 Keith Seitz <keiths@redhat.com>
16626
16627 PR python/16699
16628 * gdb.python/py-completion.exp: New tests for completion.
16629 * gdb.python/py-completion.py (CompleteLimit1): New class.
16630 (CompleteLimit2): Likewise.
16631 (CompleteLimit3): Likewise.
16632 (CompleteLimit4): Likewise.
16633 (CompleteLimit5): Likewise.
16634 (CompleteLimit6): Likewise.
16635 (CompleteLimit7): Likewise.
16636
f3770638
PA
166372015-04-08 Pedro Alves <palves@redhat.com>
16638
16639 PR gdb/18214
16640 PR gdb/18216
16641 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
16642 function.
16643 (main): Install it as SIGUSR1 handler.
16644 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
16645 parameter. Always use "setup" as prefix. Toggle "set
16646 displaced-stepping" off/on depending on global. Don't switch to
16647 thread 1 here.
16648 (top level): Add displaced stepping "off/on" test axis. Update
16649 "setup" calls. Wrap each subtest with with_test_prefix. Test
16650 continuing with a queued signal in each thread.
16651
4496bed7
PA
166522015-04-08 Pedro Alves <palves@redhat.com>
16653
16654 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
16655 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
16656 gdb_breakpoint instead of gdb_test that doesn't expect anything.
16657 Return early if running to main fails.
16658 * gdb.trace/while-stepping.exp: Likewise.
16659
b97fde92
PA
166602015-04-07 Pedro Alves <palves@redhat.com>
16661
16662 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
16663 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
16664 interact with inferior program.
16665
f71c18e7
PA
166662015-04-07 Pedro Alves <palves@redhat.com>
16667
16668 * lib/gdb.exp (inferior_spawn_id): New global.
16669 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
16670 spawn id after processing the user code.
16671 (default_gdb_start): Set inferior_spawn_id.
16672 (send_inferior): New procedure.
16673 * lib/gdbserver-support.exp (gdbserver_start): Set
16674 inferior_spawn_id.
16675 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
16676
6423214f
PA
166772015-04-07 Pedro Alves <palves@redhat.com>
16678
16679 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
16680 * lib/gdbserver-support.exp (gdbserver_start): Make
16681 $server_spawn_id global.
16682 (gdbserver_start): Don't wait for gdbserver's spawn id with
16683 expect_background.
16684 (close_gdbserver): New procedure.
16685 (gdb_exit): Rename the default version and reimplement.
16686
71c0ee8c
PA
166872015-04-07 Pedro Alves <palves@redhat.com>
16688
72f4393d 16689 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
16690 append the substituted item, not the original item.
16691
203bc29b
PA
166922015-04-07 Pedro Alves <palves@redhat.com>
16693
16694 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
16695 gdb_expect.
16696
508a3ddf
PA
166972015-04-07 Pedro Alves <palves@redhat.com>
16698
16699 * gdb.base/interrupt.exp: Don't handle the case of the inferior
16700 output appearing once only.
16701
9f6dbe2b
PA
167022015-04-07 Pedro Alves <palves@redhat.com>
16703
16704 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
16705 that doesn't expect anything. Return early if running to main
16706 fails.
16707
337532fa
YQ
167082015-04-07 Yao Qi <yao.qi@linaro.org>
16709
16710 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
16711 (child_function): Call alarm.
16712 (main): Move call to alarm into the loop.
16713 * gdb.threads/non-stop-fair-events.exp: Build program with
16714 -DTIMEOUT=$timeout.
16715
01b622d4
DE
167162015-04-06 Doug Evans <xdje42@gmail.com>
16717
16718 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
16719 Fix dest parameter to board_info.
16720 (fpc_compile): Ditto.
16721 (gdb_compile_pascal): Rename dest arg to destfile.
16722
961f4160
PMR
167232015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
16724
16725 * gdb.ada/funcall_ref.exp: New file.
16726 * gdb.ada/funcall_ref/foo.adb: New file.
16727
cafda597
YQ
167282015-04-02 Yao Qi <yao.qi@linaro.org>
16729
16730 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
16731 is remote.
16732
fed040c6
GB
167332015-04-02 Gary Benson <gbenson@redhat.com>
16734
16735 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
16736
d11916aa
SS
167372015-04-01 Sasha Smundak <asmundak@google.com>
16738
16739 * gdb.python/py-unwind-maint.c: New file.
16740 * gdb.python/py-unwind-maint.exp: New test.
16741 * gdb.python/py-unwind-maint.py: New file.
16742 * gdb.python/py-unwind.c: New file.
16743 * gdb.python/py-unwind.exp: New test.
16744 * gdb.python/py-unwind.py: New test.
16745
a1471180
PA
167462015-04-01 Pedro Alves <palves@redhat.com>
16747
16748 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
16749 to fail instead of non-existent $test.
16750
0bbeccb1
PA
167512015-04-01 Pedro Alves <palves@redhat.com>
16752
16753 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
16754 GDBFLAGS if not empty.
16755
3c724c8c
PMR
167562015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
16757
16758 * gdb.ada/complete.exp: Remove "multi_line".
16759 * gdb.ada/info_exc.exp: Remove "multi_line".
16760 * gdb.ada/packed_tagged.exp: Remove "multi_line".
16761 * gdb.ada/ptype_field.exp: Remove "multi_line".
16762 * gdb.ada/sym_print_name.exp: Remove "multi_line".
16763 * gdb.ada/tagged.exp: Remove "multi_line".
16764 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
16765 [multi_line ...]
16766 * gdb.btrace/delta.exp: Likewise.
16767 * gdb.btrace/exception.exp: Likewise.
16768 * gdb.btrace/function_call_history.exp: Likewise.
16769 * gdb.btrace/instruction_history.exp: Likewise.
16770 * gdb.btrace/nohist.exp: Likewise.
16771 * gdb.btrace/record_goto.exp: Likewise.
16772 * gdb.btrace/segv.exp: Likewise.
16773 * gdb.btrace/stepi.exp: Likewise.
16774 * gdb.btrace/tailcall.exp: Likewise.
16775 * gdb.btrace/unknown_functions.exp: Likewise.
16776 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
16777 * lib/gdb.exp: Add the "multi_line" helper.
16778
4eec2deb
PA
167792015-04-01 Pedro Alves <palves@redhat.com>
16780
16781 * gdb.threads/tid-reuse.c: New file.
16782 * gdb.threads/tid-reuse.exp: New file.
16783
df8411da
SDJ
167842015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
16785
16786 PR corefiles/16092
16787 * gdb.base/coredump-filter.c: New file.
16788 * gdb.base/coredump-filter.exp: Likewise.
16789
6ef37366
PM
167902015-03-27 Petr Machata <pmachata@redhat.com>
16791
16792 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
16793 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
16794 (Dwarf::assemble): Initialize them.
16795 (Dwarf::lines): New function.
16796
7ec911b0
JT
167972015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
16798
16799 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
16800 SYMBOL_PREFIX for x86_64-*-cygwin.
16801
ff908ebf
AW
168022015-03-26 Andy Wingo <wingo@igalia.com>
16803
16804 PR symtab/18148
16805 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
16806 const_value but not a location.
16807 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
16808 location defined in non-main CUs are visible.
16809
6d5f0679
YQ
168102015-03-26 Yao Qi <yao.qi@linaro.org>
16811
16812 PR testsuite/18139
16813 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
16814 Add a line number entry for the same line.
16815 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
16816 Add a line number entry for the same line.
16817
2898689b
YQ
168182015-03-26 Yao Qi <yao.qi@linaro.org>
16819
16820 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
16821 .int 0.
16822 (func): Likewise. Add .Lfunc_1 label.
16823 Use .Lfunc_1 label.
16824 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
16825 .int 0.
16826 (func): Likewise.
16827 Use .Lfunc_1 label.
16828
85180498
YQ
168292015-03-26 Yao Qi <yao.qi@linaro.org>
16830
16831 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
16832 Call gdb_compile instead to compile each .s files without debug
16833 information.
16834
8aa08a8d
YQ
168352015-03-26 Yao Qi <yao.qi@linaro.org>
16836
16837 * gdb.base/savedregs.exp (process_saved_regs): Make
16838 "Saved registers:" optional in the pattern.
16839
66849923
MM
168402015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16841
16842 * gdb.btrace/next.exp: Merged into step.exp.
16843 * gdb.btrace/finish.exp: Merged into step.exp.
16844 * gdb.btrace/nexti.exp: Merged into stepi.exp.
16845 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
16846 "record goto" and checking the exact replay position.
16847 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
16848 check for "Recording format" in "info record" output.
16849 * gdb.btrace/record_goto.exp: Choose test file based on target.
16850 * gdb.btrace/x86-record_goto.S: Renamed into ...
16851 * gdb.btrace/x86_64-record_goto.S: ... this.
16852 * gdb.btrace/i686-record_goto.S: New.
16853 * gdb.btrace/x86-tailcall.S: Renamed into ...
16854 * gdb.btrace/x86_64-tailcall.S: ... this.
16855 * gdb.btrace/i686-tailcall.S: New.
16856 * gdb.btrace/x86-tailcall.c: Renamed into ...
16857 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
16858 separate statements. Update test.
16859 * gdb.btrace/delta.exp: Use record_goto.c as test file.
16860 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
16861 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
16862 * gdb.btrace/tailcall.exp: Choose test file based on target.
16863 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
16864
11cc1b74
MM
168652015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16866
16867 * gdb.btrace/exception.exp: Increase BTS buffer size.
16868
a25d8bf9
PA
168692015-03-24 Pedro Alves <palves@redhat.com>
16870
16871 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
16872
856e7dd6
PA
168732015-03-24 Pedro Alves <palves@redhat.com>
16874
16875 * gdb.threads/schedlock.exp (test_step): No longer expect that
16876 "set scheduler-locking step" with "next" over a function call runs
16877 threads unlocked.
16878
ad235a41
AT
168792015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16880
16881 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
16882
15630549
AT
168832015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16884
16885 PR breakpoints/16466
16886 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
16887 * gdb.mi/mi-pending.c (thread_func): New function.
16888 (int main): Add threading support required.
16889 * gdb.mi/mi-pending.exp: Add tests for this issue.
16890 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
16891 (pendfunc2): Remove stdio dependency.
16892 * gdb.mi/mi-pendshr2.c: New file.
16893
693dca06
KS
168942015-03-23 Keith Seitz <keiths@redhat.com>
16895
16896 * gdb.linespec/keywords.c: New file.
16897 * gdb.linespec/keywords.exp: New file.
16898
7e993ebf
KS
168992015-03-23 Keith Seitz <keiths@redhat.com>
16900
16901 PR gdb/18021
16902 * gdb.dwarf2/staticvirtual.exp: New test.
16903
bc23328c
JK
169042015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16905
16906 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
16907 * README: Remove HP-UX and gdb.hp.
16908 (configuration):
16909 * configure: Regenerate.
16910 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
16911 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
16912 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
16913 gdb.hp/gdb.defects/Makefile.
16914 * gdb.hp/Makefile.in: File deleted.
16915 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
16916 * gdb.hp/gdb.aCC/optimize.c: File deleted.
16917 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
16918 * gdb.hp/gdb.aCC/run.c: File deleted.
16919 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
16920 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
16921 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
16922 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
16923 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
16924 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
16925 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
16926 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
16927 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
16928 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
16929 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
16930 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
16931 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
16932 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
16933 * gdb.hp/gdb.base-hp/reg.s: File deleted.
16934 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
16935 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
16936 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
16937 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
16938 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
16939 * gdb.hp/gdb.compat/Makefile.in: File deleted.
16940 * gdb.hp/gdb.compat/average.c: File deleted.
16941 * gdb.hp/gdb.compat/sum.c: File deleted.
16942 * gdb.hp/gdb.compat/xdb.c: File deleted.
16943 * gdb.hp/gdb.compat/xdb0.c: File deleted.
16944 * gdb.hp/gdb.compat/xdb0.h: File deleted.
16945 * gdb.hp/gdb.compat/xdb1.c: File deleted.
16946 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
16947 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
16948 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
16949 * gdb.hp/gdb.defects/Makefile.in: File deleted.
16950 * gdb.hp/gdb.defects/bs14602.c: File deleted.
16951 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
16952 * gdb.hp/gdb.defects/solib-d.c: File deleted.
16953 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
16954 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
16955 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
16956 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
16957 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
16958 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
16959 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
16960 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
16961 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
16962 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
16963 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
16964 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
16965 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
16966 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
16967 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
16968 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
16969 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
16970 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
16971 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
16972 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
16973 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
16974 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
16975 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
16976 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
16977 * gdb.hp/tools/odump: File deleted.
16978
8bf3b159
PA
169792015-03-19 Pedro Alves <palves@redhat.com>
16980
16981 * gdb.threads/continue-pending-status.exp (saw_thread_2)
16982 (saw_thread_3): New globals.
16983 (top level): Increment them when an event for the corresponding
16984 thread is seen.
16985 (no thread starvation): New test.
16986
eb54c8bf
PA
169872015-03-19 Pedro Alves <palves@redhat.com>
16988
16989 * gdb.threads/continue-pending-status.c: New file.
16990 * gdb.threads/continue-pending-status.exp: New file.
16991
32d2e5d6
PA
169922015-03-18 Pedro Alves <palves@redhat.com>
16993
16994 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16995 Use gdb_is_target_remote instead of is_remote. Use
16996 gdb_test_multiple instead of gdb_expect. Exit early if
16997 gdb_test_multiple hits its internal matches. Tighten stepi tests
16998 expected output. Fail on exit with any signal, instead of just
16999 SIGILL.
17000
f68f11b7
YQ
170012015-03-18 Yao Qi <yao.qi@linaro.org>
17002
17003 PR tdep/18107
17004 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
17005 variable.
17006 * gdb.base/catch-syscall.exp: Don't skip it on
17007 aarch64*-*-linux* target. Remove elements in all_syscalls.
17008 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
17009 target.
17010 (setup_all_syscalls): New proc.
17011
ca5fd19b
YQ
170122015-03-16 Yao Qi <yao.qi@linaro.org>
17013
17014 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
17015 (top level): Skip tests if valid_addr_p returns false for
17016 $cmd1 or $cmd2.
17017
85642ba0
AW
170182015-03-11 Andy Wingo <wingo@igalia.com>
17019
17020 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
17021
e03f9645
YQ
170222015-03-11 Yao Qi <yao.qi@linaro.org>
17023
17024 * gdb.base/catch-syscall.exp: Fix typo in comments.
17025
5d0962b2
YQ
170262015-03-11 Yao Qi <yao.qi@linaro.org>
17027
17028 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
17029
b2df3cef
PA
170302015-03-09 Pedro Alves <palves@redhat.com>
17031
17032 * dg-extract-results.py: Delete.
17033
ef878e53
PA
170342015-03-09 Pedro Alves <palves@redhat.com>
17035
17036 Merge dg-extract-results.sh from GCC upstream (r218843).
17037
17038 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
17039 * dg-extract-results.sh: Use --text with grep to avoid issues with
17040 binary files. Fall back to cat -v, if that doesn't work.
17041
9494d219
PA
170422015-03-05 Pedro Alves <palves@redhat.com>
17043
17044 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
17045
a8d9763a
SM
170462015-03-04 Simon Marchi <simon.marchi@ericsson.com>
17047
17048 * lib/mi-support.exp (mi_expect_interrupt): Accept
17049 alternative event for when in all-stop mode.
17050
be9957b8
PA
170512015-03-04 Pedro Alves <palves@redhat.com>
17052
17053 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
17054
d57be0f4 170552015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
17056
17057 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
17058
c214c7cf
AA
170592015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17060
17061 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
17062 regexps for GDB's current line display, accept a hex address
17063 preceding the line number.
17064
6d74a497
AA
170652015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17066
17067 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
17068 the 'arch1' variable for "s390*-linux*" targets.
17069
511aee7c
PA
170702015-03-04 Pedro Alves <palves@redhat.com>
17071
17072 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
17073 (main): Pass missing retval argument to pthread_join call.
17074
95e50b27
PA
170752015-03-02 Pedro Alves <palves@redhat.com>
17076
17077 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
17078 (top level): Call do_test with non-stop as well.
17079
28054d69
PA
170802015-03-02 Pedro Alves <palves@redhat.com>
17081
17082 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
17083 -1.
17084
4fa5d7b4
AA
170852015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17086
17087 * gdb.arch/s390-vregs.exp: New test.
17088 * gdb.arch/s390-vregs.S: New file.
17089
97c18565
PA
170902015-02-27 Pedro Alves <palves@redhat.com>
17091
17092 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
17093 call to catch_command_errors.
17094 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
17095 catch_command_errors.
17096
a37bfa30
PA
170972015-02-27 Pedro Alves <palves@redhat.com>
17098
17099 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
17100 "true" for boolean result.
17101 * gdb.gdb/selftest.exp (test_with_self): Also accept full
17102 prototype of main.
17103
6f98576f
PA
171042015-02-27 Pedro Alves <palves@redhat.com>
17105
17106 * lib/unbuffer_output.c: New file.
17107 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
17108 (main): Call gdb_unbuffer_output.
17109
eba5ab56
YQ
171102015-02-27 Yao Qi <yao.qi@linaro.org>
17111
17112 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
17113 target.
17114
0def5aaa
DE
171152015-02-26 Doug Evans <dje@google.com>
17116
17117 * gdb.cp/class2.cc (Dbase, D): New classes.
17118 (main): New local delta.
17119 * gdb.cp/class2.exp: Test printing delta.
17120 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
17121 (dynbar): New global.
17122 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
17123
081a1c2c
JK
171242015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17125
17126 * gdb.compile/compile-ifunc.c: New file.
17127 * gdb.compile/compile-ifunc.exp: New file.
17128
2f41223f
AT
171292015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
17130
17131 * gdb.base/structs.exp: Check for correct struct on finish.
17132
03eddd80
YQ
171332015-02-26 Yao Qi <yao.qi@linaro.org>
17134
17135 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
17136 is zero.
17137
80c57053
JK
171382015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17139
17140 * gdb.arch/cordic.ko.bz2: New file.
17141 * gdb.arch/cordic.ko.debug.bz2: New file.
17142 * gdb.arch/ppc64-symtab-cordic.exp: New file.
17143
21613c12
YQ
171442015-02-25 Yao Qi <yao.qi@linaro.org>
17145
17146 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
17147 aarch64*-*-* target.
17148
d8b901ed
PA
171492015-02-23 Pedro Alves <palves@redhat.com>
17150
17151 * lib/gdb.exp (delete_breakpoints): Rewrite using
17152 gdb_test_multiple.
17153
e5b85ead
PA
171542015-02-23 Pedro Alves <palves@redhat.com>
17155
17156 * gdb.base/info-os.c: Include stdlib.h.
17157
85c3a371
DE
171582015-02-22 Doug Evans <xdje42@gmail.com>
17159
17160 PR symtab/17855
17161 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
17162 is read after symbols have been re-read.
17163 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
17164 * gdb.ada/exec_changed/second.adb (Second): Ditto.
17165
96553a0c
DE
171662015-02-21 Doug Evans <dje@google.com>
17167
17168 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
17169
97a0c697
JK
171702015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17171
17172 PR corefiles/17808
17173 * gdb.arch/i386-biarch-core.core.bz2: New file.
17174 * gdb.arch/i386-biarch-core.exp: New file.
17175
a47cd6e9
PA
171762015-02-21 Pedro Alves <palves@redhat.com>
17177
17178 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
17179 runto_main fails.
17180
c5facdc4
PA
171812015-02-20 Pedro Alves <palves@redhat.com>
17182
17183 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
17184 info probes.
17185
2db9a427
PA
171862015-02-20 Pedro Alves <palves@redhat.com>
17187
17188 * gdb.threads/multi-create-ns-info-thr.exp: New file.
17189
60fb7e9e
PA
171902015-02-20 Pedro Alves <palves@redhat.com>
17191
17192 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
17193 clean_restart before gdb_target_supports_trace.
17194
5c5019c2
PA
171952015-02-20 Pedro Alves <palves@redhat.com>
17196
17197 PR threads/18006
17198 * gdb.threads/clone-thread_db.c: New file.
17199 * gdb.threads/clone-thread_db.exp: New file.
17200
c9587f88
AT
172012015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
17202
17203 PR breakpoints/16812
17204 * gdb.base/catch-gdb-caused-signals.c: New file.
17205 * gdb.base/catch-gdb-caused-signals.exp: New file.
17206
f6a88844
JM
172072015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
17208
17209 * configure: Regenerated.
17210 * configure.ac: Use GDB_AC_TRANSFORM.
17211 * aclocal.m4: sinclude ../transform.m4.
17212
497c491b
JM
172132015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17214
17215 * lib/dtrace.exp: New file.
17216 * gdb.base/dtrace-probe.exp: Likewise.
17217 * gdb.base/dtrace-probe.d: Likewise.
17218 * gdb.base/dtrace-probe.c: Likewise.
17219 * lib/pdtrace.in: Likewise.
17220 * configure.ac: Output variables with the transformed names of
17221 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
17222 * configure: Regenerated.
17223
03e98035
JM
172242015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17225
17226 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
17227 expected message when trying to access $_probe_* convenience
17228 variables while not on a probe.
17229
63cc30e9
JK
172302015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17231
17232 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
17233
0703599a
PA
172342015-02-11 Pedro Alves <pedro@codesourcery.com>
17235
17236 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
17237 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
17238
7e60a48e
DE
172392015-02-10 Doug Evans <xdje42@gmail.com>
17240
17241 * lib/gdb.exp (gdb_load): Always return a result.
17242
01b088bc
PA
172432015-02-10 Pedro Alves <palves@redhat.com>
17244
17245 * gdb.threads/signal-sigtrap.c: New file.
17246 * gdb.threads/signal-sigtrap.exp: New file.
17247
b05ec7a5
AT
172482015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
17249
17250 * gdb.trace/no-attach-trace.c: New file.
17251 * gdb.trace/no-attach-trace.exp: New file.
17252
a2c2acaf
MW
172532015-02-09 Mark Wielaard <mjw@redhat.com>
17254
17255 * gdb.dwarf2/atomic.c: New file.
17256 * gdb.dwarf2/atomic-type.exp: Likewise.
17257
31fd9caa
MM
172582015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17259
17260 * gdb.btrace/buffer-size.exp: Update "info record" output.
17261 * gdb.btrace/delta.exp: Update "info record" output.
17262 * gdb.btrace/enable.exp: Update "info record" output.
17263 * gdb.btrace/finish.exp: Update "info record" output.
17264 * gdb.btrace/instruction_history.exp: Update "info record" output.
17265 * gdb.btrace/next.exp: Update "info record" output.
17266 * gdb.btrace/nexti.exp: Update "info record" output.
17267 * gdb.btrace/step.exp: Update "info record" output.
17268 * gdb.btrace/stepi.exp: Update "info record" output.
17269 * gdb.btrace/nohist.exp: Update "info record" output.
17270
d33501a5
MM
172712015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17272
17273 * gdb.btrace/buffer-size: New.
17274
f4abbc16
MM
172752015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17276
17277 * gdb.btrace/delta.exp: Update "info record" output.
17278 * gdb.btrace/enable.exp: Update "info record" output.
17279 * gdb.btrace/finish.exp: Update "info record" output.
17280 * gdb.btrace/instruction_history.exp: Update "info record" output.
17281 * gdb.btrace/next.exp: Update "info record" output.
17282 * gdb.btrace/nexti.exp: Update "info record" output.
17283 * gdb.btrace/step.exp: Update "info record" output.
17284 * gdb.btrace/stepi.exp: Update "info record" output.
17285 * gdb.btrace/nohist.exp: Update "info record" output.
17286
b9d61307
SM
172872015-02-06 Simon Marchi <simon.marchi@ericsson.com>
17288
17289 PR gdb/15678
17290 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
17291
e584fdbc
PA
172922015-02-06 Pedro Alves <palves@redhat.com>
17293
17294 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
17295 macro.
17296 (seconds_left, again): New globals.
17297 (main): Wait seconds_left in a 1-second sleep loop instead of
17298 sleeping 180 seconds. If 'again' is set, reset the seconds
17299 counter.
17300 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
17301 'again' in the inferior before detaching. Print the seconds left.
17302 (options): New global.
17303 (top level): Build program with -DTIMEOUT=$timeout.
17304
77f41761
PA
173052015-02-06 Pedro Alves <palves@redhat.com>
17306
17307 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
17308 determine how many seconds to pass to 'alarm'.
17309 * gdb.base/gdb-sigterm.exp (top level): Build program with
17310 -DTIMEOUT=$timeout.
17311 (do_test): Return success/failure indication. Add more verbose
17312 logging. Don't fail if 200 single steps are seen. Instead, fail
17313 when the test times out.
17314 (passes): New global.
17315 (top level): Break the testing loop if testing fails on any
17316 iteration. Use gdb_assert.
17317
b9394193
DB
173182015-02-04 Don Breazeal <donb@codesourcery.com>
17319
17320 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
17321 and initialize them.
17322 (ipc_cleanup): New function.
17323 (main): Don't declare shmid, semid, and msqid. Add a call to
17324 atexit so that we call ipc_cleanup on exit.
17325
42d9e528
PA
173262015-02-04 Pedro Alves <palves@redhat.com>
17327
17328 * boards/native-extended-gdbserver.exp: Remove any target variant
17329 specifications from the board name before clearing the isremote
17330 flag from board_info.
17331
ae6ae975
DE
173322015-01-31 Doug Evans <xdje42@gmail.com>
17333
17334 * gdb.base/maint.exp <maint print type argc>: Update expected output.
17335
cfb069a8
GB
173362015-01-31 Gary Benson <gbenson@redhat.com>
17337
17338 * gdb.base/completion.exp: Disable completion limiting for
17339 existing tests. Add new tests to check completion limiting.
17340 * gdb.linespec/ls-errs.exp: Disable completion limiting.
17341
5dd31d79
DE
173422015-01-31 Doug Evans <xdje42@gmail.com>
17343
17344 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
17345
9f050062
DE
173462015-01-31 Doug Evans <xdje42@gmail.com>
17347
17348 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
17349 entries. Duplicate file section script entries.
17350 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
17351 inlined entries. Add test for safe-path rejection.
17352 * gdb.python/py-section-script.c: Add duplicate inlined section script
17353 entries. Duplicate file section script entries.
17354 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
17355 inlined entries. Add test for safe-path rejection.
17356
df25ebbd
JB
173572015-01-29 Joel Brobecker <brobecker@adacore.com>
17358
17359 * gdb.ada/disc_arr_bound: New testcase.
17360
4a0ca9ec
JB
173612015-01-29 Joel Brobecker <brobecker@adacore.com>
17362
17363 * gdb.ada/mi_var_array: New testcase.
17364
3a8b707a
DE
173652015-01-27 Doug Evans <dje@google.com>
17366
17367 * gdb.python/py-objfile.exp: Add tests for objfile.username.
17368 Add test for objfile.filename, objfile.username after objfile
17369 has been unloaded.
17370
f8313f6e
JB
173712015-01-26 Joel Brobecker <brobecker@adacore.com>
17372
17373 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
17374 the second test to print the name attribute of value
17375 returned by the call to gdb.lookup_type, and adjust
17376 the expected output accordingly.
17377
37bc665e
MW
173782015-01-25 Mark Wielaard <mjw@redhat.com>
17379
17380 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
17381 * gdb.base/disp-step-fork.c: Include unistd.h.
17382 * gdb.base/siginfo-obj.c: Include stdio.h.
17383 * gdb.base/siginfo-thread.c: Likewise.
17384 * gdb.mi/non-stop.c: Include unistd.h.
17385 * gdb.mi/nsthrexec.c: Include stdio.h.
17386 * gdb.mi/pthreads.c: Include unistd.h.
17387 * gdb.modula2/unbounded1.c (main): Declare returns int.
17388 * gdb.reverse/consecutive-reverse.c: Likewise.
17389 * gdb.threads/create-fail.c: Include unistd.h.
17390 * gdb.threads/killed.c: Likewise.
17391 * gdb.threads/linux-dp.c: Likewise.
17392 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
17393 * gdb.threads/non-ldr-exc-2.c: Likewise.
17394 * gdb.threads/non-ldr-exc-3.c: Likewise.
17395 * gdb.threads/non-ldr-exc-4.c: Likewise.
17396 * gdb.threads/pthreads.c: Include unistd.h.
17397 (main): Declare returns int.
17398 * gdb.threads/tls-main.c (foo): New declaration.
17399 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
17400
f7e5394d
SM
174012015-01-23 Simon Marchi <simon.marchi@ericsson.com>
17402
17403 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
17404 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
17405
743649fd
MW
174062015-01-15 Mark Wielaard <mjw@redhat.com>
17407
17408 * gdb.base/noreturn-return.c: New file.
17409 * gdb.base/noreturn-return.exp: New file.
17410 * gdb.base/noreturn-finish.c: New file.
17411 * gdb.base/noreturn-finish.exp: New file.
17412
198297aa
PA
174132015-01-23 Pedro Alves <palves@redhat.com>
17414
17415 * gdb.threads/continue-pending-after-query.c: New file.
17416 * gdb.threads/continue-pending-after-query.exp: New file.
17417
717cf30c
AG
174182015-01-22 Anders Granlund <anders.granlund@ericsson.com>
17419 Simon Marchi <simon.marchi@ericsson.com>
17420
17421 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
17422 * gdb.base/valgrind-db-attach.exp: Same.
17423 * gdb.base/valgrind-infcall.exp: Same.
17424 * lib/mi-support.exp (default_mi_gdb_start): Same.
17425 * lib/prompt.exp (default_prompt_gdb_start): Same.
17426 * lib/gdb.exp (default_gdb_spawn): Same.
17427 (gdb_interact): New.
17428
17429
4b62a76e
JK
174302015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17431
17432 * gdb.compile/compile.exp (pointer to jit function): New test.
17433
b4cdae6f
WW
174342015-01-17 Wei-cheng Wang <cole945@gmail.com>
17435
17436 * lib/gdb.exp (supports_process_record): Return true for
17437 powerpc*-*-linux*.
17438 (supports_reverse): Likewise.
17439
d221e7ef
DB
174402015-01-15 Don Breazeal <donb@codesourcery.com>
17441
17442 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
17443 instead of checking whether the target board is remote and
17444 use spawn_wait_for_attach instead of exec/sleep.
17445 * gdb.base/attach-twice.exp: Likewise.
17446
bafffb51
JB
174472015-01-15 Joel Brobecker <brobecker@adacore.com>
17448
17449 * gdb.ada/var_arr_attrs: New testcase.
17450
5589af0e
PA
174512015-01-14 Pedro Alves <palves@redhat.com>
17452 Joel Brobecker <brobecker@adacore.com>
17453
17454 PR gdb/17525
17455 * gdb.base/bp-cmds-execution-x-script.c: New file.
17456 * gdb.base/bp-cmds-execution-x-script.exp: New file.
17457 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
17458
6c400b59
PA
174592015-01-14 Pedro Alves <palves@redhat.com>
17460
17461 PR cli/17828
17462 * gdb.base/batch-preserve-term-settings.c: New file.
17463 * gdb.base/batch-preserve-term-settings.exp: New file.
17464
e02c96a7
DE
174652015-01-13 Doug Evans <dje@google.com>
17466
17467 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
17468 binary.
17469
576fd14c
JB
174702015-01-13 Joel Brobecker <brobecker@adacore.com>
17471
17472 * Makefile.in (clean mostlyclean): Do not delete *.py.
17473
04dccad0
JB
174742015-01-13 Joel Brobecker <brobecker@adacore.com>
17475
17476 * gdb.python/py-lookup-type.exp: New file.
17477
3d230f71
PA
174782015-01-12 Pedro Alves <palves@redhat.com>
17479
17480 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
17481 restore GDBFLAGS before returning.
17482
7e67715d
JK
174832015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17484
17485 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
17486 is_amd64_regs_target and is_x86_like_target.
17487
f2e0d4b4
DE
174882015-01-11 Doug Evans <xdje42@gmail.com>
17489
17490 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
17491 is given without an explicit form.
17492 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
17493 attributes.
17494 * gdb.dwarf/corrupt.exp: Ditto.
17495 * gdb.dwarf2/enum-type.exp: Ditto.
17496 * gdb.trace/entry-values.exp: Ditto.
17497 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
17498
439250fb
DE
174992015-01-11 Doug Evans <xdje42@gmail.com>
17500
17501 PR gdb/15830
17502 * gdb.base/maint.exp: Remove references to "maint demangle".
17503 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
17504 Add tests for explicitly specifying language to demangle.
17505 * gdb.dlang/demangle.exp: Ditto.
17506
ede9f622
PA
175072015-01-09 Pedro Alves <palves@redhat.com>
17508
17509 * gdb.threads/non-stop-fair-events.c: New file.
17510 * gdb.threads/non-stop-fair-events.exp: New file.
17511
a7b796db
PA
175122015-01-09 Pedro Alves <palves@redhat.com>
17513
17514 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
17515 the global scope. Set a breakpoint after all threads are started
17516 rather than stepping over two source lines. Expect the prompt.
17517 * gdb.base/watch_thread_num.c (threads_started_barrier): New
17518 global.
17519 (NUM): Now 15.
17520 (main): Use threads_started_barrier to wait for all threads to
17521 start. Main thread no longer calls thread_function. Exit after
17522 180 seconds.
17523 (loop): New function.
17524 (thread_function): Wait on threads_started_barrier barrier. Call
17525 'loop' at each iteration.
17526 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
17527 threads have started, instead of hardcoding number of "next"
17528 steps. Use an access watchpoint instead of a write watchpoint.
17529
9665ffdd
PA
175302015-01-09 Pedro Alves <palves@redhat.com>
17531
17532 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
17533 (thread_func): Wait on barrier.
17534 (main): Wait for all threads to start before stopping GDB.
17535 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
17536 global.
17537 (thread1_func, thread2_func): Wait on barrier.
17538 (main): Wait for all threads to start before stopping GDB.
17539 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
17540 New global.
17541 (thread1_func, thread2_func): Wait on barrier.
17542 (main): Wait for all threads to start before stopping GDB.
17543
c945a99f
PA
175442015-01-09 Pedro Alves <palves@redhat.com>
17545
17546 * gdb.threads/attach-many-short-lived-threads.c: New file.
17547 * gdb.threads/attach-many-short-lived-threads.exp: New file.
17548
c1a747c1
PA
175492014-01-09 Pedro Alves <palves@redhat.com>
17550
17551 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
17552 instead of to thread 2.
17553 * gdb.threads/signal-command-multiple-signals-pending.c (main):
17554 Add barrier around each pthread_create call instead of around all
17555 calls.
17556 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
17557 Set a break on thread_function and have the child threads hit it
17558 one at at a time.
17559
60b3033e
PA
175602015-01-09 Pedro Alves <palves@redhat.com>
17561
17562 * lib/gdb.exp (can_spawn_for_attach): New procedure.
17563 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
17564 false.
17565 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
17566 checking whether the target board is remote.
17567 * gdb.multi/multi-attach.exp: Likewise.
17568 * gdb.python/py-sync-interp.exp: Likewise.
17569 * gdb.server/ext-attach.exp: Likewise.
17570 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
17571 tests that need to attach, instead of checking whether the target
17572 board is remote at the top of the file.
17573
acc018ac
YQ
175742015-01-08 Yao Qi <yao@codesourcery.com>
17575
17576 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
17577
50a18af8
JK
175782015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17579
17580 Fix testcase compilation.
17581 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
17582
8503d6e1
JB
175832015-01-06 Joel Brobecker <brobecker@adacore.com>
17584
17585 * gdb.python/py-type.exp: Add a couple test about empty
17586 array creation, and negative-length array creation.
17587
cc73dbcc
DE
175882015-01-02 Doug Evans <xdje42@gmail.com>
17589
17590 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
17591
0300bbc7
DE
175922015-01-02 Doug Evans <dje@google.com>
17593
17594 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
17595
9d85a0ec
YQ
175962014-12-29 Yao Qi <yao@codesourcery.com>
17597
17598 * gdb.trace/entry-values.exp: Update comments. Rename variable
17599 bar_call_foo to returned_from_foo.
17600
87186c6a
MMN
176012014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
17602
17603 PR gdb/17394
17604 * gdb.linespec/break-asm-file.c: New file.
17605 * gdb.linespec/break-asm-file.exp: New file.
17606 * gdb.linespec/break-asm-file0.s: New file.
17607 * gdb.linespec/break-asm-file1.s: New file.
17608
1bab7383
YQ
176092014-12-18 Nigel Stephens <nigel@mips.com>
17610 Maciej W. Rozycki <macro@codesourcery.com>
17611
17612 * gdb.base/float.exp: Handle the new output from "info float" on
17613 MIPS targets.
17614
1bc1068a
JK
176152014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17616
17617 Fix MinGW compilation.
17618 * gdb.compile/compile-ops.exp: Update untested message if
17619 !skip_compile_feature_tests.
17620 * gdb.compile/compile-setjmp.exp: Likewise.
17621 * gdb.compile/compile-tls.exp: Likewise.
17622 * gdb.compile/compile.exp: Likewise.
17623 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
17624 supported on this host".
17625
b6615d10
DE
176262014-12-16 Doug Evans <xdje42@gmail.com>
17627
17628 * boards/stabs.exp: New file.
17629
25dda427
AA
176302014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
17631
17632 * gdb.base/completion.exp: Adjust to format changes of "maint
17633 print user-registers".
17634
bf330350
CU
176352014-12-16 Catalin Udma <catalin.udma@freescale.com>
17636
17637 PR server/17457
17638 * gdb.arch/aarch64-fp.c: New file.
17639 * gdb.arch/aarch64-fp.exp: New file.
17640
395cf596
SDJ
176412014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
17642
17643 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
17644 r210637, r210913, r211666, r215400, r215817).
17645
17646 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
17647 * dg-extract-results.py: New file.
17648 * dg-extract-results.sh: Use it if the environment seems
17649 suitable.
17650
17651 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
17652
17653 * dg-extract-results.py (parse_run): Handle warnings that
17654 are printed before a test harness is run.
17655
17656 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
17657
17658 * dg-extract-results.py (Named): Remove __cmp__ method.
17659 (output_variation): Use a key to sort variation.harnesses.
17660
17661 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
17662
17663 * dg-extract-results.py: For Python 3, force sys.stdout to
17664 handle surrogate escape sequences.
17665 (safe_open): New function.
17666 (output_segment, main): Use it.
17667
17668 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
17669
17670 * dg-extract-results.py (Prog.result_re): Include options
17671 in test name.
17672
17673 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
17674
17675 * dg-extract-results.py (output_variation): Always sort if
17676 do_sum.
17677
e882ef3c
SM
176782014-12-15 Simon Marchi <simon.marchi@ericsson.com>
17679
17680 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
17681 as long as we get pagination notifications.
17682
4992aa20
JM
176832014-12-15 Jason Merrill <jason@redhat.com>
17684
17685 * Makefile.in (check-gdb.%): Restore.
17686 * README: Mention it.
17687
c1b5a1a6
JB
176882014-12-13 Joel Brobecker <brobecker@adacore.com>
17689
17690 * gdb.ada/str_uninit: New testcase.
17691
5537b577
JK
176922014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17693
17694 PR symtab/17642
17695 * gdb.base/vla-stub-define.c: New file.
17696 * gdb.base/vla-stub.c: New file.
17697 * gdb.base/vla-stub.exp: New file.
17698
bb2ec1b3
TT
176992014-12-12 Phil Muldoon <pmuldoon@redhat.com>
17700 Jan Kratochvil <jan.kratochvil@redhat.com>
17701 Tom Tromey <tromey@redhat.com>
17702
17703 * configure.ac: Add gdb.compile/.
17704 * configure: Regenerate.
17705 * gdb.compile/Makefile.in: New file.
17706 * gdb.compile/compile-ops.exp: New file.
17707 * gdb.compile/compile-ops.c: New file.
17708 * gdb.compile/compile-tls.c: New file.
17709 * gdb.compile/compile-tls.exp: New file.
17710 * gdb.compile/compile-constvar.S: New file.
17711 * gdb.compile/compile-constvar.c: New file.
17712 * gdb.compile/compile-mod.c: New file.
17713 * gdb.compile/compile-nodebug.c: New file.
17714 * gdb.compile/compile-setjmp-mod.c: New file.
17715 * gdb.compile/compile-setjmp.c: New file.
17716 * gdb.compile/compile-setjmp.exp: New file.
17717 * gdb.compile/compile-shlib.c: New file.
17718 * gdb.compile/compile.c: New file.
17719 * gdb.compile/compile.exp: New file.
17720 * lib/gdb.exp (skip_compile_feature_tests): New proc.
17721
4ff709eb
TT
177222014-12-12 Tom Tromey <tromey@redhat.com>
17723
17724 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
17725 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
17726
6dddd6a5
DE
177272014-12-12 Doug Evans <dje@google.com>
17728
17729 * lib/gdb-python.exp (get_python_valueof): New function.
17730 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
17731
71c24708
AA
177322014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17733
17734 * gdb.base/completion.exp: Add test for completion of "info
17735 registers ".
17736
3e29f34a
MR
177372014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
17738
17739 * gdb.base/func-ptrs.c: New file.
17740 * gdb.base/func-ptrs.exp: New file.
17741
fc126975
SM
177422014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17743
17744 PR breakpoints/17012
17745 * gdb.base/dprintf-detach.c: New file.
17746 * gdb.base/dprintf-detach.exp: New file.
17747
0a46d518
SM
177482014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17749
17750 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
17751 * lib/gdb.exp (target_is_gdbserver): New procedure.
17752
a0be3e44
DE
177532014-12-08 Doug Evans <dje@google.com>
17754
17755 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
17756
df1b803a
YQ
177572014-12-05 Yao Qi <yao@codesourcery.com>
17758
17759 * gdb.guile/scm-error.exp: Remove the third argument to
17760 gdb_remote_download.
17761 * gdb.guile/scm-frame-args.exp: Likewise.
17762 * gdb.guile/scm-section-script.exp: Likewise.
17763
ddb9f679
YQ
177642014-12-05 Yao Qi <yao@codesourcery.com>
17765
17766 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
17767
86e4ed39
DE
177682014-12-04 Doug Evans <dje@google.com>
17769
17770 * gdb.python/py-objfile.exp: Add tests for
17771 objfile.add_separate_debug_file.
17772
7c50a931
DE
177732014-12-04 Doug Evans <dje@google.com>
17774
17775 * lib/gdb.exp (get_build_id): New function.
17776 (build_id_debug_filename_get): Rewrite to use it.
17777 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
17778
621661e3
MR
177792014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
17780
17781 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
17782 `method(long)', not just 0x0.
17783 * gdb.cp/nsalias.exp: Align code labels to 4.
17784 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
17785 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
17786 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
17787 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
17788 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
17789 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
17790
29f0c3b7
DE
177912014-12-02 Doug Evans <dje@google.com>
17792
e1e061e7 17793 PR symtab/17602
29f0c3b7 17794 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 17795 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
17796 * gdb.cp/anon-ns.exp: Update.
17797
162078c8
NB
177982014-12-02 Nick Bull <nicholaspbull@gmail.com>
17799
17800 * gdb.python/py-events.py (inferior_call_handler): New.
17801 (register_changed_handler, memory_changed_handler): New.
17802 (test_events.invoke): Register new handlers.
17803 * gdb.python/py-events.exp: Add tests for inferior call,
17804 memory_changed and register_changed events.
17805
fdb09caf
AA
178062014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17807
17808 * gdb.base/execl-update-breakpoints.exp: Specify the link address
17809 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
17810 if the linker doesn't understand this.
17811
55cfb2c4
SM
178122014-12-01 Simon Marchi <simon.marchi@ericsson.com>
17813
17814 * gdb.python/python.exp: Change expected reply to help().
17815
9e8cd6df
YQ
178162014-12-01 Yao Qi <yao@codesourcery.com>
17817
17818 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
17819 AC_CONFIG_SUBDIRS(gdb.gdbtk).
17820 * configure: Re-generated.
17821
6c659fc2
SC
178222014-11-28 Siva Chandra Reddy <sivachandra@google.com>
17823
17824 * gdb.cp/chained-calls.cc: New file.
17825 * gdb.cp/chained-calls.exp: New file.
17826 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
17827
d7fc3181
SM
178282014-11-28 Simon Marchi <simon.marchi@ericsson.com>
17829
17830 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
17831 * gdb.dwarf2/symtab-producer.exp: Same.
17832 * gdb.gdb/python-interrupts.exp: Same.
17833 * gdb.gdb/python-selftest.exp: Same.
17834 * gdb.python/py-linetable.exp: Same.
17835 * gdb.python/py-type.exp: Same.
17836 * gdb.python/py-value-cc.exp: Same.
17837 * gdb.python/py-value.exp: Same.
17838
10e79639
YQ
178392014-11-28 Yao Qi <yao@codesourcery.com>
17840
17841 * gdb.base/break-probes.exp: Match library name prefixed with
17842 sysroot.
17843
f28a0564
SM
178442014-11-27 Simon Marchi <simon.marchi@ericsson.com>
17845
17846 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
17847 test expected output. Add parentheses for the call to print.
17848 Remove L suffix from integers.
17849
3fe1ce1d
DE
178502014-11-26 Doug Evans <dje@google.com>
17851
17852 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
17853
84429e27
YQ
178542014-11-22 Yao Qi <yao@codesourcery.com>
17855
17856 * gdb.trace/entry-values.c: Remove asms.
17857 (foo): Add foo_label.
17858 (bar): Add bar_label.
17859 * gdb.trace/entry-values.exp: Remove code computing foo's
17860 length and bar's length.
17861 (Dwarf::assemble): Invoke function_range for bar and use
17862 MACRO_AT_func for foo.
17863
26741859
YQ
178642014-11-22 Yao Qi <yao@codesourcery.com>
17865
17866 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
17867 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
17868 Use .Lgcc43_procstart instead of gcc43.
17869
45e44d27
JB
178702014-11-21 Joel Brobecker <brobecker@adacore.com>
17871
17872 * gdb.ada/n_arr_bound: New testcase.
17873
458c8db8
SDJ
178742014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
17875
17876 PR breakpoints/10737
17877 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
17878 test_catch_syscall_multi_arch.
17879 (test_catch_syscall_multi_arch): New function.
17880
43f3e411
DE
178812014-11-20 Doug Evans <xdje42@gmail.com>
17882
17883 * gdb.base/maint.exp: Update expected output.
17884
0d7b2549
AA
178852014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
17886
17887 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
17888 4-byte instruction on S390.
17889
8908fca5
JB
178902014-11-19 Joel Brobecker <brobecker@adacore.com>
17891
17892 * gdb.ada/arr_arr: New testcase.
17893
4a46959e
JB
178942014-11-19 Joel Brobecker <brobecker@adacore.com>
17895
17896 * gdb.ada/pkd_arr_elem: New Testcase.
17897
470e2f4e
LM
178982014-11-18 Luis Machado <lgustavo@codesourcery.com>
17899
17900 * gdb.reverse/break-precsave: Expect completion message for
17901 core file reads.
17902 * gdb.reverse/consecutive-precsave.exp: Likewise.
17903 * gdb.reverse/finish-precsave.exp: Likewise.
17904 * gdb.reverse/i386-precsave.exp: Likewise.
17905 * gdb.reverse/machinestate-precsave.exp: Likewise.
17906 * gdb.reverse/sigall-precsave.exp: Likewise.
17907 * gdb.reverse/solib-precsave.exp: Likewise.
17908 * gdb.reverse/step-precsave.exp: Likewise.
17909 * gdb.reverse/until-precsave.exp: Likewise.
17910 * gdb.reverse/watch-precsave.exp: Likewise.
17911
a267f3ad
AA
179122014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17913
17914 * gdb.base/bp-permanent.c: Include unistd.h.
17915 * gdb.python/py-framefilter-mi.c (main): Add return type.
17916 * gdb.python/py-framefilter.c (main): Likewise.
17917 * gdb.trace/actions-changed.c (main): Likewise.
17918
12084a9a
AA
179192014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17920
17921 * gdb.mi/until.c: Add eye-catchers.
17922 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
17923 line numbers.
17924
dc7e1a77
AA
179252014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17926
17927 * gdb.base/condbreak.exp: Drop references to removed non-prototype
17928 function header variants in break1.c.
17929 * gdb.base/ena-dis-br.exp: Likewise.
17930 * gdb.base/hbreak2.exp: Likewise.
17931 * gdb.reverse/until-precsave.exp: Drop references to removed
17932 non-prototype function header variants in ur1.c.
17933 * gdb.reverse/until-reverse.exp: Likewise.
17934
41c77605
PM
179352014-11-17 Petr Machata <pmachata@redhat.com>
17936
17937 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
17938 ${_cu_offset_size} bytes abbrev offset.
17939
34248c3a
DE
179402014-11-15 Doug Evans <xdje42@gmail.com>
17941
17942 PR symtab/17559
17943 * gdb.base/line-symtabs.exp: New file.
17944 * gdb.base/line-symtabs.c: New file.
17945 * gdb.base/line-symtabs.h: New file.
17946
646da059
YQ
179472014-11-14 Yao Qi <yao@codesourcery.com>
17948
17949 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
17950 (func): Add label func_label.
17951 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
17952 Replace low_pc and high_pc with MACRO_AT_range.
17953 Replace name, low_pc and high_pc with MACRO_AT_func.
17954
9301ebe6
YQ
179552014-11-14 Yao Qi <yao@codesourcery.com>
17956
17957 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
17958 Replace name, low_pc and high_pc with MACRO_AT_func.
17959
f166b542
YQ
179602014-11-14 Yao Qi <yao@codesourcery.com>
17961
17962 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
17963 produce debug information.
17964 * gdb.dwarf2/implptr-optimized-out.S: Removed.
17965
0f6e71e3
YQ
179662014-11-14 Yao Qi <yao@codesourcery.com>
17967
17968 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
17969 object and get function length.
17970 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
17971 with MACRO_AT_func.
17972 (top-level): Replace gdb_compile and clean_restart with
17973 prepare_for_testing.
17974 * gdb.dwarf2/main.c (main): Add label main_label.
17975
876c4df9
YQ
179762014-11-14 Yao Qi <yao@codesourcery.com>
17977
17978 * lib/dwarf.exp (function_range): New procedure.
17979 (Dwarf::_handle_macro_at_func): New procedure.
17980 (Dwarf::_handle_macro_at_range): New procedure.
17981 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
17982
02ad9cf1
YQ
179832014-11-14 Yao Qi <yao@codesourcery.com>
17984
17985 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
17986 (_handle_attribute): New procedure.
17987
a59add0c
AA
179882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17989
17990 * gdb.ada/cond_lang/foo.c (callme): Add return type.
17991 * gdb.base/call-sc.c (zed): Likewise.
17992 * gdb.base/checkpoint.c (main): Likewise.
17993 * gdb.base/dump.c (main): Likewise.
17994 * gdb.base/gcore.c (main): Likewise.
17995 * gdb.base/huge.c (main): Likewise.
17996 * gdb.base/multi-forks.c (main): Likewise.
17997 * gdb.base/pr10179-a.c (main): Likewise.
17998 * gdb.base/savedregs.c (main): Likewise.
17999 * gdb.base/sigaltstack.c (main): Likewise.
18000 * gdb.base/siginfo.c (main): Likewise.
18001 * gdb.base/structs.c (zed): Likewise.
18002 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
18003 * gdb.mi/mi-syn-frame.c (main): Likewise.
18004 * gdb.mi/until.c (foo, main): Likewise.
18005 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
18006 * gdb.base/solib-weak.c (foo): Declare.
18007 * gdb.base/attach-twice.c: Include stdio.h.
18008 * gdb.base/weaklib1.c: Likewise.
18009 * gdb.base/weaklib2.c: Likewise.
18010 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
18011 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
18012 unistd.h.
18013 * gdb.base/attach-pie-misread.c: Include stdlib.h.
18014 * gdb.mi/mi-exit-code.c: Likewise.
18015 * gdb.base/break-interp-lib.c: Include string.h.
18016 * gdb.base/coremaker.c: Likewise.
18017 * gdb.base/testenv.c: Likewise.
18018 * gdb.python/py-finish-breakpoint.c: Likewise.
18019 * gdb.base/inferior-died.c: Include sys/wait.h.
18020 * gdb.base/fileio.c: Include time.h.
18021 * gdb.base/async-shell.c: Include unistd.h.
18022 * gdb.base/dprintf-non-stop.c: Likewise.
18023 * gdb.base/info-os.c: Likewise.
18024 * gdb.mi/mi-console.c: Likewise.
18025 * gdb.mi/watch-nonstop.c: Likewise.
18026 * gdb.python/py-events.c: Likewise.
18027 * gdb.base/async.c (baz): Move up before its invocation.
18028 * gdb.base/code_elim2.c (my_global_func): Likewise.
18029 * gdb.base/skip-solib-lib.c (multiply): Likewise.
18030 * gdb.base/advance.c (func2): Likewise.
18031
3b5d5997
AA
180322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18033
18034 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
18035 variant.
18036 * gdb.base/annota3.c: Likewise.
18037 * gdb.base/async.c: Likewise.
18038 * gdb.base/average.c: Likewise.
18039 * gdb.base/call-ar-st.c: Likewise.
18040 * gdb.base/call-rt-st.c: Likewise.
18041 * gdb.base/call-sc.c: Likewise.
18042 * gdb.base/call-strs.c: Likewise.
18043 * gdb.base/ending-run.c: Likewise.
18044 * gdb.base/execd-prog.c: Likewise.
18045 * gdb.base/exprs.c: Likewise.
18046 * gdb.base/foll-exec.c: Likewise.
18047 * gdb.base/foll-fork.c: Likewise.
18048 * gdb.base/foll-vfork.c: Likewise.
18049 * gdb.base/funcargs.c: Likewise.
18050 * gdb.base/gcore.c: Likewise.
18051 * gdb.base/jump.c: Likewise.
18052 * gdb.base/langs0.c: Likewise.
18053 * gdb.base/langs1.c: Likewise.
18054 * gdb.base/langs2.c: Likewise.
18055 * gdb.base/mips_pro.c: Likewise.
18056 * gdb.base/nodebug.c: Likewise.
18057 * gdb.base/opaque0.c: Likewise.
18058 * gdb.base/opaque1.c: Likewise.
18059 * gdb.base/recurse.c: Likewise.
18060 * gdb.base/run.c: Likewise.
18061 * gdb.base/scope0.c: Likewise.
18062 * gdb.base/scope1.c: Likewise.
18063 * gdb.base/setshow.c: Likewise.
18064 * gdb.base/setvar.c: Likewise.
18065 * gdb.base/shmain.c: Likewise.
18066 * gdb.base/shr1.c: Likewise.
18067 * gdb.base/shr2.c: Likewise.
18068 * gdb.base/sigall.c: Likewise.
18069 * gdb.base/signals.c: Likewise.
18070 * gdb.base/so-indr-cl.c: Likewise.
18071 * gdb.base/solib2.c: Likewise.
18072 * gdb.base/structs.c: Likewise.
18073 * gdb.base/sum.c: Likewise.
18074 * gdb.base/vforked-prog.c: Likewise.
18075 * gdb.base/watchpoint.c: Likewise.
18076 * gdb.reverse/shr2.c: Likewise.
18077 * gdb.reverse/until-reverse.c: Likewise.
18078 * gdb.reverse/ur1.c: Likewise.
18079 * gdb.reverse/watch-reverse.c: Likewise.
18080
066a77c5
AA
180812014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18082
18083 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
18084 variant.
18085 * gdb.base/sepdebug.exp: Drop references to removed code.
18086
4f204ea5
AA
180872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18088
18089 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
18090 variant. Preserve original line numbering.
18091 * gdb.base/list1.c: Likewise.
18092
3b377a3a
AA
180932014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18094
18095 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
18096 variant.
18097 * gdb.base/break1.c: Likewise.
18098 * gdb.base/break.exp: Drop references to removed code.
18099
e444df73
AA
181002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18101
18102 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
18103 variant.
18104
8008f2a7
AA
181052014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18106
18107 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
18108
a5a06887
AA
181092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18110
18111 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
18112 logic into perform_all_tests() and invoke it with and without
18113 function header prototypes.
18114 (do_function_calls): Remove conditional XFAIL for PR 5318.
18115 (rerun_and_prepare): Remove duplicate code.
18116 (perform_all_tests): New. Main logic moved here.
18117
44dba9b9
AA
181182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18119
18120 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
18121 code guarded by #ifdef NO_PROTOTYPES.
18122 (t_double_many_args): Likewise.
18123 (DEF_FUNC_MANY_ARGS_1): Likewise.
18124 (DEF_FUNC_VALUES_1): Likewise.
18125 (t_structs_ldc): Renamed from t_structs_fc in conditional code
18126 guarded by #ifdef PROTOTYPES.
18127
d1fbcd56
AA
181282014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18129
18130 * gdb.mi/mi-console.c: Add eye-catcher.
18131 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
18132 instead of literal line number.
18133
b0e59b8f
AA
181342014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18135
18136 * gdb.base/shr2.c: Add eye-catcher.
18137 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
18138 line number.
18139
78f98cca
AA
181402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18141
18142 * gdb.base/jump.c: Add eye-catchers.
18143 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
18144 numbers.
18145
58fa2af0
AA
181462014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18147
18148 * gdb.base/execd-prog.c: Add eye-catchers.
18149 * gdb.base/foll-exec.c: Likewise.
18150 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
18151 line numbers.
18152
04e5059b
AA
181532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18154
18155 * gdb.base/ending-run.c: Add eye-catchers.
18156 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
18157 literal line numbers.
18158
dbfdb174
AA
181592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18160
18161 * gdb.base/call-rt-st.c: Add eye-catchers.
18162 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
18163 literal line numbers.
18164
888a2ade
AA
181652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18166
18167 * gdb.base/call-ar-st.c: Add eye-catchers.
18168 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
18169 literal line numbers.
18170
6acc2dde
AA
181712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18172
18173 * gdb.base/average.c: Add eye-catchers.
18174 * gdb.base/sum.c: Likewise.
18175 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
18176 regexps dynamically.
18177
9ecfcd1d
AA
181782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18179
18180 * gdb.base/solib1.c: Add eye-catchers.
18181 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
18182 literal line numbers.
18183
78708b7c
PA
181842014-11-12 Pedro Alves <palves@redhat.com>
18185
18186 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
18187 leader has exited.
18188
af48d08f
PA
181892014-11-12 Pedro Alves <palves@redhat.com>
18190
18191 * gdb.arch/i386-bp_permanent.c: New file.
18192 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
18193 (srcfile): Set to i386-bp_permanent.c.
18194 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
18195 that stepi does not execute the 'leave' instruction, instead of
18196 testing it does execute.
18197 * gdb.base/bp-permanent.c: New file.
18198 * gdb.base/bp-permanent.exp: New file.
18199
af3768e9
DE
182002014-11-10 Doug Evans <xdje42@gmail.com>
18201
18202 PR symtab/17564
18203 * gdb.base/symtab-search-order.exp: New file.
18204 * gdb.base/symtab-search-order.c: New file.
18205 * gdb.base/symtab-search-order-1.c: New file.
18206 * gdb.base/symtab-search-order-shlib-1.c: New file.
18207
9de00a4a
PA
182082014-11-07 Pedro Alves <palves@redhat.com>
18209
18210 PR gdb/17511
18211 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
18212 i?86-*-linux*.
18213
e0f52461
SC
182142014-11-03 Siva Chandra Reddy <sivachandra@google.com>
18215
18216 PR c++/17494
18217 * gdb.cp/pr17494.cc: New file.
18218 * gdb.cp/pr17494.exp: New file.
18219
6ce8c980
YQ
182202014-11-02 Yao Qi <yao@codesourcery.com>
18221
18222 * gdb.python/python.exp: Get working directory and match the
18223 output of "set extended-prompt \\w " with it.
18224
02be9a71
DE
182252014-10-30 Doug Evans <dje@google.com>
18226
18227 * gdb.python/py-objfile.exp: Add tests for setting random attributes
18228 in objfiles.
18229 * gdb.python/py-progspace.exp: Add tests for setting random attributes
18230 in progspaces.
18231
3bdff46b
LM
182322014-10-30 Janis Johnson <janisjo@codesourcery.com>
18233
18234 * gdb.base/fullpath-expand.exp: Skip for a remote host.
18235 * gdb.base/realname-expand.exp: Likewise.
18236 * gdb.linespec/macro-relative.exp: Likewise.
18237
ab917dfb
PA
182382014-10-29 Pedro Alves <palves@redhat.com>
18239
18240 PR gdb/17408
18241 * gdb.threads/schedlock.c (some_function): New function.
18242 (call_function): New global.
18243 (MAYBE_CALL_SOME_FUNCTION): New macro.
18244 (thread_function): Call it.
18245 * gdb.threads/schedlock.exp (get_args): Add description parameter,
18246 and use it instead of a global counter. Adjust all callers.
18247 (get_current_thread): Use "find current thread" for test message
18248 here rather than having all callers pass down the same string.
18249 (goto_loop): New procedure, factored out from ...
18250 (my_continue): ... this.
18251 (step_ten_loops): Change parameter from test message to command to
18252 use. Adjust.
18253 (list_count): Delete global.
18254 (check_result): New procedure, factored out from duplicate top
18255 level code.
18256 (continue tests): Wrap in with_test_prefix.
18257 (test_step): New procedure, factored out from duplicate top level
18258 code.
18259 (top level): Test "step" in combination with all scheduler-locking
18260 modes. Test "next" in combination with all scheduler-locking
18261 modes, and in combination with stepping over a function call or
18262 not.
18263 * gdb.threads/next-bp-other-thread.c: New file.
18264 * gdb.threads/next-bp-other-thread.exp: New file.
18265
d3d4baed
PA
182662014-10-29 Pedro Alves <palves@redhat.com>
18267
18268 PR python/17372
18269 * gdb.python/python.exp: Test a multi-line command that spawns
18270 interactive Python.
18271 * gdb.base/multi-line-starts-subshell.exp: New file.
18272
563e8d85
YQ
182732014-10-29 Yao Qi <yao@codesourcery.com>
18274
18275 * gdb.base/fileio.exp: Make directories on host.
18276
0ea4d52e
YQ
182772014-10-29 Yao Qi <yao@codesourcery.com>
18278
18279 * gdb.base/fileio.c (test_write): Close the file.
18280
7f5ef605
PA
182812014-10-28 Pedro Alves <palves@redhat.com>
18282
18283 PR gdb/12623
18284 * gdb.base/sigstep.c (no_handler): New global.
18285 (main): If 'no_handler is true, set the signal handlers to
18286 SIG_IGN.
18287 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
18288 with_sw_watch and no_handler parameters. Handle them.
18289 (top level) <stepping over handler when stopped at a breakpoint
18290 test>: Add a test axis for testing with a software watchpoint, and
18291 another for testing with the signal handler set to SIG_IGN.
18292 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
18293 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
18294
abbdbd03
PA
182952014-10-28 Pedro Alves <palves@redhat.com>
18296
18297 PR gdb/17511
18298 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
18299 * gdb.base/sigstep.exp (other_handler_location): New global.
18300 (advance): Support stepping into the signal handler, and running
18301 commands while in the handler.
18302 (in_handler_map): New global.
18303 (top level): In the advance test, add combinations for getting
18304 into the handler with stepping commands, and for running commands
18305 in the handler. Add comment descripting the advancei tests.
18306
1df4399f
PA
183072014-10-28 Pedro Alves <palves@redhat.com>
18308
18309 * gdb.base/sigstep.exp: Use build_executable instead of
18310 prepare_for_testing.
18311 (top level): Move code that starts GDB, runs to main and creates a
18312 display to ...
18313 (restart): ... this new procedure.
18314 (top level): Move backtrace from signal handler test to ...
18315 (validate_backtrace): ... this new procedure.
18316 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
18317 with_test_prefix. Always restart GDB.
18318 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
18319 with_test_prefix. Always restart GDB. No need to delete
18320 breakpoints after the test.
18321 (test_skip_handler): Remove prefix parameter.
18322 (skip_over_handler, breakpoint_to_handler)
18323 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
18324 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
18325 restart GDB. No need to delete breakpoints after the test.
18326 (top level): Use foreach to call the test procedures with
18327 different commands.
18328
a5b6e449
PA
183292014-10-28 Pedro Alves <palves@redhat.com>
18330
18331 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
18332 instead of GNATS numbers.
18333 * gdb.base/sigbpt.exp: Likewise.
18334 * gdb.base/siginfo.exp: Likewise.
18335 * gdb.base/sigstep.exp: Likewise.
18336
e5f8a7cc
PA
183372014-10-27 Pedro Alves <palves@redhat.com>
18338
18339 * gdb.base/sigstep.c (dummy): New global.
18340 (main): Issue a couple writes to the new global.
18341 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
18342 procedures.
18343 (skip_over_handler): Use test_skip_handler.
18344 (top level): Call skip_over_handler for stepi and nexti too.
18345 (breakpoint_over_handler): Use test_skip_handler.
18346 (top level): Call breakpoint_over_handler for stepi and nexti too.
18347
763905a3
YQ
183482014-10-27 Yao Qi <yao@codesourcery.com>
18349
18350 * gdb.trace/tfile.c (adjust_function_address)
18351 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
18352 function descriptor.
18353
6f259a23
DB
183542014-10-24 Don Breazeal <donb@codesourcery.com>
18355
18356 * gdb.base/foll-fork.exp (test_follow_fork,
18357 catch_fork_child_follow): Check for updated fork messages emitted
18358 from infrun.c.
18359 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
18360 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
18361 vfork_and_exec_child_follow_through_step): Check for updated vfork
18362 messages emitted from infrun.c.
18363
09dd9a69
PA
183642014-10-24 Pedro Alves <palves@redhat.com>
18365
18366 * gdb.base/corefile.exp: Remove references to ultrix.
18367 * gdb.base/interrupt.exp: Likewise.
18368 * gdb.base/whatis.exp: Likewise.
18369 * gdb.gdb/selftest.exp: Likewise.
18370 * gdb.threads/manythreads.exp: Likewise.
18371 * gdb.threads/print-threads.exp: Likewise.
18372 * gdb.threads/pthreads.exp:: Likewise.
18373 * gdb.threads/schedlock.exp: Likewise.
18374
3433cfa5
SC
183752014-10-24 Siva Chandra Reddy <sivachandra@google.com>
18376
18377 * gdb.cp/non-trivial-retval.cc: Add a test case.
18378 * gdb.cp/non-trivial-retval.exp: Add a test.
18379
092f880b
YQ
183802014-10-20 Yao Qi <yao@codesourcery.com>
18381
18382 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
18383 * gdb.python/py-objfile-script-gdb.py: New file.
18384 * gdb.python/py-objfile-script.exp: Update reference to
18385 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
18386 of remote_download. Remove the dest file.
18387
acbdb7f3
YQ
183882014-10-20 Yao Qi <yao@codesourcery.com>
18389
18390 * gdb.base/checkpoint.exp: Don't remove file copied on host.
18391 * gdb.base/step-line.exp: Likewise.
18392 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18393 * gdb.dwarf2/dw2-basic.exp: Likewise.
18394 * gdb.dwarf2/dw2-compressed.exp: Likewise.
18395 * gdb.dwarf2/dw2-filename.exp: Likewise.
18396 * gdb.dwarf2/dw2-intercu.exp: Likewise.
18397 * gdb.dwarf2/dw2-intermix.exp: Likewise.
18398 * gdb.dwarf2/dw2-producer.exp: Likewise.
18399 * gdb.dwarf2/mac-fileno.exp: Likewise.
18400 * gdb.python/py-frame-args.exp: Likewise.
18401 * gdb.python/py-framefilter.exp: Likewise.
18402 * gdb.python/py-mi.exp: Likewise.
18403 * gdb.python/py-objfile-script.exp: Likewise
18404 * gdb.python/py-pp-integral.exp: Likewise.
18405 * gdb.python/py-pp-re-notag.exp: Likewise.
18406 * gdb.python/py-prettyprint.exp: Likewise.
18407 * gdb.python/py-section-script.exp: Likewise.
18408 * gdb.python/py-typeprint.exp: Likewise.
18409 * gdb.python/py-xmethods.exp: Likewise.
18410 * gdb.stabs/weird.exp: Likewise.
18411 * gdb.xml/tdesc-regs.exp: Likewise.
18412
bd286a29
KCY
184132014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
18414
18415 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
18416 (out_cu): Use addr_len for the size of addresses.
18417 (out_line): Likewise. Size DW_LNE_set_address instruction
18418 according to addr_len.
18419 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
18420 (FUNC): Add START_INSNS to definition.
18421
673dc4a0
YQ
184222014-10-18 Yao Qi <yao@codesourcery.com>
18423
18424 * gdb.base/argv0-symlink.exp: Check argv[0] value if
18425 gdb_has_argv0 return true.
18426 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
18427 check [target_info exists noargs], check [gdb_has_argv0]
18428 instead.
18429 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18430 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
18431 procedures.
18432
4ffbba72
DE
184332014-10-17 Doug Evans <dje@google.com>
18434
18435 * gdb.python/py-events.exp: Update expected output for clear_objfiles
18436 event.
18437 * gdb.python/py-events.py: Add clear_objfiles event.
18438
d096d8c1
DE
184392014-10-17 Doug Evans <dje@google.com>
18440
18441 * gdb.python/py-objfile.exp: Test progspace attribute.
18442
a80db015
LM
184432014-10-17 Luis Machado <lgustavo@codesourcery.com>
18444
18445 * gdb.guile/scm-breakpoint.exp: Do not assume any
18446 directory separators when matching source file paths.
18447 * gdb.python/py-breakpoint.exp: Likewise.
18448 * gdb.reverse/break-precsave.exp: Likewise.
18449 * gdb.reverse/break-reverse.exp: Likewise.
18450 * gdb.reverse/consecutive-precsave.exp: Likewise.
18451 * gdb.reverse/finish-precsave.exp: Likewise.
18452 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
18453 * gdb.reverse/finish-reverse.exp: Likewise.
18454 * gdb.reverse/i386-precsave.exp: Likewise.
18455 * gdb.reverse/i387-env-reverse.exp: Likewise.
18456 * gdb.reverse/i387-stack-reverse.exp: Likewise.
18457 * gdb.reverse/machinestate-precsave.exp: Likewise.
18458 * gdb.reverse/machinestate.exp: Likewise.
18459 * gdb.reverse/sigall-precsave.exp: Likewise.
18460 * gdb.reverse/solib-precsave.exp: Likewise.
18461 * gdb.reverse/step-precsave.exp: Likewise.
18462 * gdb.reverse/until-precsave.exp: Likewise.
18463 * gdb.reverse/watch-precsave.exp: Likewise.
18464 * gdb.reverse/watch-reverse.exp: Likewise.
18465
b22089ab
YQ
184662014-10-17 Yao Qi <yao@codesourcery.com>
18467
18468 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
18469 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
18470
6c4486e6
PA
184712014-10-17 Pedro Alves <palves@redhat.com>
18472
18473 PR gdb/17471
18474 * gdb.base/bg-execution-repeat.c: New file.
18475 * gdb.base/bg-execution-repeat.exp: New file.
18476
0ff33695
PA
184772014-10-17 Pedro Alves <palves@redhat.com>
18478
18479 PR gdb/17300
18480 * gdb.base/continue-all-already-running.c: New file.
18481 * gdb.base/continue-all-already-running.exp: New file.
18482
6fdebc3d
PA
184832014-10-17 Pedro Alves <palves@redhat.com>
18484
18485 PR gdb/17472
18486 * gdb.base/annota-input-while-running.c: New file.
18487 * gdb.base/annota-input-while-running.exp: New file.
18488
32a8097b
PA
184892014-10-17 Pedro Alves <palves@redhat.com>
18490
18491 * gdb.base/callfuncs.exp: emove references to osf.
18492 * gdb.base/sigall.exp: Likewise.
18493 * gdb.gdb/selftest.exp: Likewise.
18494 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18495 * gdb.mi/non-stop.c: Likewise.
18496 * gdb.mi/pthreads.c: Likewise.
18497 * gdb.reverse/sigall-precsave.exp: Likewise.
18498 * gdb.reverse/sigall-reverse.exp: Likewise.
18499 * gdb.threads/pthreads.c: Likewise.
18500 * gdb.threads/pthreads.exp: Likewise.
18501
7a3517ff
YQ
185022014-10-17 Yao Qi <yao@codesourcery.com>
18503
18504 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
18505 check 'target_info exists noargs'.
18506 (test_command_prompt_position): Likewise.
18507 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
18508 Remove "set args".
18509 (progvar_simple_while_test): Likewise.
18510 (progvar_complex_if_while_test): Likewise.
18511 (if_while_breakpoint_command_test): Likewise.
18512 (infrun_breakpoint_command_test): Likewise.
18513 (breakpoint_command_test): Likewise.
18514 (watchpoint_command_test): Likewise.
18515 (bp_deleted_in_command_test): Likewise.
18516 (temporary_breakpoint_commands): Likewise.
18517
bb99c472
YQ
185182014-10-16 Yao Qi <yao@codesourcery.com>
18519
18520 * gdb.base/remotetimeout.exp: Remove noargs checking.
18521
7c16b83e
PA
185222014-10-15 Pedro Alves <palves@redhat.com>
18523
18524 PR breakpoints/9649
18525 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
18526 * gdb.base/breakpoint-in-ro-region.exp
18527 (probe_target_hardware_step): New procedure.
18528 (top level): Probe hardware stepping and hardware breakpoint
18529 support. Test stepping through a read-only region, with both
18530 "breakpoint auto-hw" on and off and both "always-inserted" on and
18531 off.
18532
35a49624
IB
185332014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
18534
18535 * gdb.dlang/demangle.exp: Update for demangling changes.
18536
2d1c107c
SC
185372014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18538
18539 * gdb.cp/non-trivial-retval.cc: Add new test cases.
18540 * gdb.cp/non-trivial-retval.exp: Add new tests.
18541
778811d5
SC
185422014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18543
18544 PR c++/13403
18545 PR c++/15154
18546 * gdb.cp/non-trivial-retval.cc: New file.
18547 * gdb.cp/non-trivial-retval.exp: New file.
18548
10c5f0a8
YQ
185492014-10-15 Yao Qi <yao@codesourcery.com>
18550
18551 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
18552 remote host.
18553
65d7b369
YQ
185542014-10-15 Yao Qi <yao@codesourcery.com>
18555
18556 * gdb.python/py-symbol.exp: Match file base name if host is
18557 remote, otherwise match file name with dir name.
18558 * gdb.python/py-symtab.exp: Likewise.
18559 * gdb.python/python.exp: Likewise.
18560
46dc1394
YQ
185612014-10-15 Yao Qi <yao@codesourcery.com>
18562
18563 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
18564 pattern.
18565 * gdb.python/py-symtab.exp: Likewise.
18566 * gdb.python/python.exp: Remove trailing ".*". Fix typo
18567 locationn.
18568
c40cc657
JB
185692014-10-14 Joel Brobecker <brobecker@adacore.com>
18570
18571 * gdb.ada/addr_arith: New testcase.
18572
2abf49e1
MR
185732014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
18574
18575 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
18576 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
18577 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
18578 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
18579
f7088df3
SDJ
185802014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
18581
18582 * gdb.arch/stap-eval-lang-ada.S: Likewise.
18583 * gdb.arch/stap-eval-lang-ada.c: Likewise.
18584 * gdb.arch/stap-eval-lang-ada.exp: New file.
18585
4dc06805
YQ
185862014-10-14 Yao Qi <yao@codesourcery.com>
18587
18588 * gdb.mi/mi-var-child.c (nothing1): New function.
18589 (nothing2): New function.
18590 (do_children_tests): Set function pointers by nothing1 and
18591 nothing2.
18592 * gdb.mi/mi-var-child.exp: Step over new added statements.
18593 Update test to match the new output.
18594 * gdb.mi/var-cmd.c (nothing1): New function.
18595 (nothing2): New function.
18596 (do_children_tests): Set function pointers by nothing1 and
18597 nothing2.
18598 * gdb.mi/mi-var-display.exp: Update test to match output.
18599 Step to the line specified by $line_dct_nothing.
18600 Increase the number of lines to step.
18601
46a93de2
YQ
186022014-10-14 Yao Qi <yao@codesourcery.com>
18603
18604 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
18605 tests.
18606 * gdb.mi/mi2-var-child.exp: Likewise.
18607
14ea52ee
DE
186082014-10-13 Doug Evans <dje@google.com>
18609
18610 * gdb.python/py-objfile.exp: Change name of file name test.
18611
e5c6e92b
DE
186122014-10-13 Doug Evans <dje@google.com>
18613
18614 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
18615 from the start of the CU.
18616
c780cc2f
JK
186172014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18618 Yao Qi <yao@codesourcery.com>
18619
18620 Fix "save breakpoints" for "catch" command.
18621 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
18622 Remove -nonewline. Match also the added "main" line.
18623
99894e11
JK
186242014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18625
18626 Fix "save breakpoints" for "disable $bpnum" command.
18627 * gdb.base/save-bp.c (main): Add label.
18628 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
18629
6e1ac5a3
JK
186302014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18631
18632 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
18633
754dd2b0
YQ
186342014-10-11 Yao Qi <yao@codesourcery.com>
18635
18636 * gdb.server/server-kill.exp: Execute command
18637 "set remote trace-status-packet on" before "tstatus".
18638
f90183d7
YQ
186392014-10-11 Yao Qi <yao@codesourcery.com>
18640
18641 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
18642 (main): Call getppid.
18643 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
18644 and continue to it. Read variable "server_pid".
18645
bf40a607
YQ
186462014-10-11 Yao Qi <yao@codesourcery.com>
18647
18648 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
18649
052ca370
YQ
186502014-10-11 Yao Qi <yao@codesourcery.com>
18651
18652 * gdb.threads/thread-find.exp: Don't execute command
18653 "info threads".
18654 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
18655 * gdb.threads/linux-dp.exp: Don't check the condition
18656 $threads_created equals to zero.
18657
3831839c
PA
186582014-10-10 Pedro Alves <palves@redhat.com>
18659
18660 * gdb.base/bigcore.exp: Remove references to IRIX.
18661 * gdb.base/funcargs.exp: Likewise.
18662 * gdb.base/interrupt.exp: Likewise.
18663 * gdb.base/mips_pro.exp: Likewise.
18664 * gdb.base/nodebug.exp: Likewise.
18665 * gdb.base/setvar.exp: Likewise.
18666 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
18667
8b9a549d
PA
186682014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18669 Pedro Alves <palves@redhat.com>
18670
18671 PR symtab/14466
18672 * gdb.base/vdso-warning.c: New file.
18673 * gdb.base/vdso-warning.exp: New file.
18674
d48ba5e8
DE
186752014-10-02 Doug Evans <dje@google.com>
18676
18677 * gdb.base/structs.c (main): Don't run forever.
18678
2278c276
PA
186792014-10-02 Pedro Alves <palves@redhat.com>
18680
18681 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
18682 (top level) <stop threads 1, stop threads 2>: Use it.
18683
b57bacec
PA
186842014-10-02 Pedro Alves <palves@redhat.com>
18685
18686 * gdb.threads/break-while-running.exp (test): Add new
18687 'update_thread_list' argument. Skip "info threads" if false.
18688 (top level): Add new 'update_thread_list' axis.
18689
13fd3ff3
PA
186902014-10-02 Pedro Alves <palves@redhat.com>
18691
18692 PR breakpoints/17431
18693 * gdb.base/execl-update-breakpoints.c: New file.
18694 * gdb.base/execl-update-breakpoints.exp: New file.
18695
0fec99e8
PA
186962014-10-01 Pedro Alves <palves@redhat.com>
18697
18698 * gdb.base/breakpoint-in-ro-region.c: New file.
18699 * gdb.base/breakpoint-in-ro-region.exp: New file.
18700
2ddf4301
SM
187012014-10-01 Simon Marchi <simon.marchi@ericsson.com>
18702
18703 * gdb.mi/mi-exit-code.exp: New file.
18704 * gdb.mi/mi-exit-code.c: New file.
18705
6a5f3f43
YQ
187062014-09-30 Yao Qi <yao@codesourcery.com>
18707
18708 * lib/prelink-support.exp (build_executable_own_libs): Error if
18709 the target isn't native.
18710
345bcc73
YQ
187112014-09-30 Yao Qi <yao@codesourcery.com>
18712
18713 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
18714 false.
18715
a25a5a45
PA
187162014-09-22 Pedro Alves <palves@redhat.com>
18717
18718 * gdb.threads/break-while-running.exp: New file.
18719 * gdb.threads/break-while-running.c: New file.
18720
00ba3162
YQ
187212014-09-19 Yao Qi <yao@codesourcery.com>
18722
18723 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
18724 Invoke test. Restart GDB with --readnow and invoke test again.
18725
c3b7b696
YQ
187262014-09-19 Yao Qi <yao@codesourcery.com>
18727
18728 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
18729 proc set_breakpoint_on_gcd_function. Invoke
18730 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
18731 invoke set_breakpoint_on_gcd_function again.
18732
2b4fd423
DE
187332014-09-18 Doug Evans <dje@google.com>
18734
18735 * gdb.dwarf2/symtab-producer.exp: New file.
18736
a5947601
SDJ
187372014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18738
18739 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
18740 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
18741 * gdb.base/global-var-nested-by-dso.c: Likewise.
18742 * gdb.base/global-var-nested-by-dso.exp: Likewise.
18743
91c19059
SDJ
187442014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18745 Pedro Alves <palves@redhat.com>
18746
18747 * gdb.base/watch-bitfields.exp: Pass string other than test file
18748 name to prepare_for_testing.
18749 (watch): New procedure.
18750 (expect_watchpoint): Use with_test_prefix.
18751 (top level): Factor out tests to ...
18752 (test_watch_location, test_regular_watch): ... these new
18753 procedures, and use with_test_prefix and gdb_continue_to_end.
18754
bb9d5f81
PP
187552014-09-16 Patrick Palka <patrick@parcs.ath.cx>
18756
18757 PR breakpoints/12526
18758 * gdb.base/watch-bitfields.exp: New file.
18759 * gdb.base/watch-bitfields.c: New file.
18760
635856f5
PA
187612014-09-16 Pedro Alves <palves@redhat.com>
18762
18763 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
18764 software and hardware addresses, not software address against
18765 itself.
18766
7280ceea
PA
187672014-09-16 Pedro Alves <palves@redhat.com>
18768
18769 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
18770 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
18771
428b16bd
PA
187722014-09-16 Pedro Alves <palves@redhat.com>
18773
18774 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
18775 files.
18776 * gdb.base/a2-run.exp: Remove all code guarded by istarget
18777 "*-*-vxworks*" throughout.
18778 * gdb.base/break.exp: Likewise.
18779 * gdb.base/default.exp: Likewise.
18780 * gdb.base/scope.exp: Likewise.
18781 * gdb.base/sepdebug.exp: Likewise.
18782 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
18783 throughout.
18784 * gdb.base/run.c: Likewise.
18785 * gdb.base/sepdebug.c: Likewise.
18786 * gdb.hp/gdb.aCC/run.c: Likewise.
18787 * gdb.reverse/until-reverse.c: Likewise.
18788 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
18789
666d413c
YQ
187902014-09-16 Yao Qi <yao@codesourcery.com>
18791
18792 * boards/local-remote-host-native.exp: New file.
18793
57cbd724
DE
187942014-09-14 Doug Evans <xdje42@gmail.com>
18795
18796 * gdb.threads/queue-signal.c (thread_count): New variable.
18797 (thread_count_mutex, thread_count_condvar): New variables.
18798 (incr_thread_count, wait_all_threads_running): New functions.
18799 (main): Wait for all threads to be in their thread functions.
18800
81219e53
DE
188012014-09-13 Doug Evans <xdje42@gmail.com>
18802
18803 * gdb.threads/queue-signal.c: New file.
18804 * gdb.threads/queue-signal.exp: New file.
18805
3714cea7
DE
188062014-09-13 Doug Evans <xdje42@gmail.com>
18807
18808 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
18809 be consistent with what default_gdb_init uses.
18810 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
18811 the plain text of the prompt. Add some logging printfs.
18812 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
18813
fa43b1d7
PA
188142014-09-12 Pedro Alves <palves@redhat.com>
18815
18816 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
18817 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
18818 * gdb.arch/i386-size-overlap.exp: Likewise.
18819 * gdb.arch/i386-size.exp: Likewise.
18820 * gdb.arch/i386-unwind.exp: Likewise.
18821 * gdb.base/a2-run.exp: Likewise.
18822 * gdb.base/break.exp: Likewise.
18823 * gdb.base/charset.exp: Likewise.
18824 * gdb.base/chng-syms.exp: Likewise.
18825 * gdb.base/commands.exp: Likewise.
18826 * gdb.base/dbx.exp: Likewise.
18827 * gdb.base/find.exp: Likewise.
18828 * gdb.base/funcargs.exp: Likewise.
18829 * gdb.base/jit-simple.exp: Likewise.
18830 * gdb.base/reread.exp: Likewise.
18831 * gdb.base/sepdebug.exp: Likewise.
18832 * gdb.base/step-bt.exp: Likewise.
18833 * gdb.cp/mb-inline.exp: Likewise.
18834 * gdb.cp/mb-templates.exp: Likewise.
18835 * gdb.objc/basicclass.exp: Likewise.
18836 * gdb.threads/killed.exp: Likewise.
18837
9d9bf2df
EBM
188382014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18839
18840 PR tdep/17379
18841 * gdb.arch/powerpc-stackless.S: New file.
18842 * gdb.arch/powerpc-stackless.exp: New file.
18843
1cf2f1b0
JK
188442014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18845
18846 * gdb.base/attach.c: Include unistd.h.
18847 (main): Call alarm. Add label postloop.
18848 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
18849 gdb_breakpoint, gdb_continue_to_breakpoint.
18850 (test_command_line_attach_run): Kill ${testpid} in one exit path.
18851
98880d46
PA
188522014-09-11 Pedro Alves <palves@redhat.com>
18853
18854 PR gdb/17347
18855 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
18856 * gdb.base/attach.exp (test_command_line_attach_run): New
18857 procedure.
18858 (top level): Call it.
18859
4c92ff2c
PA
188602014-09-11 Pedro Alves <palves@redhat.com>
18861
18862 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
18863 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
18864 (do_command_attach_tests): Use spawn_wait_for_attach.
18865 * gdb.base/solib-overlap.exp: Likewise.
18866 * gdb.multi/multi-attach.exp: Likewise.
18867 * gdb.python/py-prompt.exp: Likewise.
18868 * gdb.python/py-sync-interp.exp: Likewise.
18869 * gdb.server/ext-attach.exp: Likewise.
18870
3adc1a7d
GKB
188712014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
18872
18873 * gdb.fortran/array-element.exp: Remove unexpected "continue"
18874 command in testcase. Simplify testcase.
18875
96334934
JB
188762014-09-10 Joel Brobecker <brobecker@adacore.com>
18877
18878 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
18879
eb479039
JB
188802014-09-10 Joel Brobecker <brobecker@adacore.com>
18881
18882 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
18883
deede10c
JB
188842014-09-10 Joel Brobecker <brobecker@adacore.com>
18885
18886 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
18887
7828a5f5
JB
188882014-09-10 Joel Brobecker <brobecker@adacore.com>
18889
18890 * gdb.dwarf2/dynarr-ptr.c: New file.
18891 * gdb.dwarf2/dynarr-ptr.exp: New file.
18892
33aeebcf
MR
188932014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18894
18895 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
18896 of 30 rather than hardcoding 120 for a slow test case. Take the
18897 `gdb,timeout' target setting into account for this calculation.
18898 Don't extend the timeout for the test cases that don't need it.
18899
7b415901
MR
189002014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18901
18902 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
18903 a factor of 2 for a slow test case. Take the `gdb,timeout'
18904 target setting into account for this calculation.
18905 * gdb.reverse/until-precsave.exp: Increase the timeout by
18906 a factor of 15 and 3 respectively rather than adding 120
18907 for a pair of slow test cases. Take the `gdb,timeout'
18908 target setting into account for this calculation.
18909
4a40f85a
MR
189102014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18911
18912 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
18913 timeout, don't pass one down to gdb_expect.
18914 (gdb_expect): Rework timeout selection.
18915
09635af7
MR
189162014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18917
18918 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
18919 exception on timeout.
18920 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
18921 (gdbserver_start_extended): Catch any `gdbserver_start' error
18922 exceptions.
18923 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
18924 * lib/mi-support.exp (mi_gdb_target_load): Catch any
18925 `gdbserver_gdb_load' error exceptions.
18926
2bdd10b7
MR
189272014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18928
18929 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
18930 120 on waiting for the TCP socket to open.
18931
316935f0
DE
189322014-09-09 Doug Evans <xdje42@gmail.com>
18933
18934 * gdb.base/default.exp (show_conv_list): Add _caller_is,
18935 _caller_matches, _any_caller_is, _any_caller_matches.
18936
83740597
DE
189372014-09-09 Doug Evans <xdje42@gmail.com>
18938
18939 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
18940
4c122fc3
YQ
189412014-09-09 Yao Qi <yao@codesourcery.com>
18942
18943 * gdb.mi/mi-var-display.exp: Set print symbol off.
18944
a9f116cb
GKB
189452014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
18946
18947 PR gdb/17035
18948 * gdb.base/commands.exp: Add tests to verify user-defined
18949 commands with empty bodies.
18950 * gdb.python/py-cmd.exp: Test that we don't show user-defined
18951 python commands in `show user command`.
18952 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
18953 scheme commands in `show user command`.
18954
c75bd3a2
JK
189552014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18956
18957 PR python/17355
18958 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
18959 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
18960 * gdb.python/py-framefilter-invalidarg.exp: New file.
18961 * gdb.python/py-framefilter-invalidarg.py: New file.
18962
faa42425
DE
189632014-09-06 Doug Evans <xdje42@gmail.com>
18964
18965 PR 15276
18966 * gdb.python/py-caller-is.c: New file.
18967 * gdb.python/py-caller-is.exp: New file.
18968
474ca4f6
SDJ
189692014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
18970
18971 PR gdb/17235
18972 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
18973 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
18974
eb0b0463
SDJ
189752014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
18976
18977 PR fortran/17237
18978 * gdb.fortran/print-formatted.exp: New file.
18979 * gdb.fortran/print-formatted.f90: Likewise.
18980
5f3b99cf
SS
189812014-09-03 Sasha Smundak <asmundak@google.com>
18982
18983 * gdb.python/py-frame.exp: Test Frame.read_register.
18984
7d793aa9
SDJ
189852014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
18986
18987 PR python/16699
18988 * gdb.python/py-completion.exp: New file.
18989 * gdb.python/py-completion.py: Likewise.
18990
fb0576e9
DE
189912014-08-28 Doug Evans <dje@google.com>
18992
18993 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
18994 eax,etc. are live with values set by gdb and thus the compiler can't
18995 use them.
18996 * gdb.arch/i386-pseudo.c (main): Ditto.
18997
ee92b0dd
DE
189982014-08-27 Doug Evans <dje@google.com>
18999
19000 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
19001
6649db35
DE
190022014-08-25 Doug Evans <dje@google.com>
19003
19004 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
19005 (main): Ditto.
19006
564b7600
DE
190072014-08-25 Doug Evans <dje@google.com>
19008
19009 * gdb.threads/thread-execl.exp: #include <stdio.h>.
19010
3881fb67
YQ
190112014-08-24 Yao Qi <yao@codesourcery.com>
19012
19013 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
19014 symbol off.
19015 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
19016
a05a36a5
DE
190172014-08-22 Doug Evans <dje@google.com>
19018
19019 PR 17276
19020 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
19021 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
19022 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
19023
7c343b48
YQ
190242014-08-22 Yao Qi <yao@codesourcery.com>
19025
19026 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
19027 * gdb.python/py-finish-breakpoint2.exp: Likewise.
19028 * gdb.python/python.exp: Likewise. Use .py file on the host
19029 instead of the build.
19030
22fd09ae
JK
190312014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19032
19033 * gdb.threads/gcore-stale-thread.c: New file.
19034 * gdb.threads/gcore-stale-thread.exp: New file.
19035
a8454a7c
PA
190362014-08-21 Pedro Alves <palves@redhat.com>
19037
19038 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
19039 * gdb.base/gcore-relro-pie.exp: Likewise.
19040 * gdb.base/gcore-relro.exp: Likewise.
19041 * gdb.base/gcore.exp: Likewise.
19042 * gdb.base/print-symbol-loading.exp: Likewise.
19043 * gdb.threads/gcore-thread.exp: Likewise.
19044 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
19045
2a31c623
PA
190462014-08-20 Pedro Alves <palves@redhat.com>
19047 Jan Kratochvil <jan.kratochvil@redhat.com>
19048
19049 * Makefile.in (EXTRA_RULES, CC): New variables, get from
19050 configure.
19051 (EXPECT): Handle READ1 being set.
19052 (all): Depend on EXTRA_RULES.
19053 (check-read1, expect-read1, read1.so, read1): New rules.
19054 * README (Testsuite Parameters): Document the READ1 make variable.
19055 (Race detection): New section.
19056 * configure: Regenerate.
19057 * configure.ac: If build==host==target, and running under a
19058 GNU/glibc system, add read1 to the extra Makefile rules.
19059 (EXTRA_RULES): AC_SUBST it.
19060 * lib/read1.c: New file.
19061
d36430db
JB
190622014-08-20 Joel Brobecker <brobecker@adacore.com>
19063
19064 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
19065 the handling of variables declared as a typedef to an array
19066 which a DW_AT_data_location attribute.
19067
9a0dc9e3
PA
190682014-08-19 Andrew Burgess <aburgess@broadcom.com>
19069 Pedro Alves <palves@redhat.com>
19070
19071 PR symtab/14604
19072 PR symtab/14605
19073 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
19074 gdb_test.
19075
0718a8da
PA
190762014-08-19 Pedro Alves <palves@redhat.com>
19077
19078 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
19079
13b448cd
YQ
190802014-08-19 Yao Qi <yao@codesourcery.com>
19081
19082 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
19083 right line.
19084
1cbf5077
DB
190852014-08-18 David Blaikie <dblaikie@gmail.com>
19086
19087 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
19088
bf0fae19
JB
190892014-08-18 Joel Brobecker <brobecker@adacore.com>
19090
19091 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
19092 attribute in array range.
19093
3c8c5dcc
JB
190942014-08-18 Joel Brobecker <brobecker@adacore.com>
19095
19096 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
19097
e66d4446
SC
190982014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19099
19100 PR c++/17132
19101 * gdb.cp/pr17132.cc: New file.
19102 * gdb.cp/pr17132.exp: New file.
19103
940df408
SC
191042014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19105
19106 * gdb.python/py-xmethods.py (A_getarrayind)
19107 (E_method_char_worker.__call__, E_method_int_worker.__call__):
19108 Use 'print' with function call syntax.
19109 (E_method_matcher.match): Fix tab vs space indentation mixup.
19110
ebcc6c3a
YQ
191112014-08-15 Yao Qi <yao@codesourcery.com>
19112
19113 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
19114 false.
19115
775e0f04
YQ
191162014-08-15 Yao Qi <yao@codesourcery.com>
19117
19118 * gdb.cp/casts.exp: Set print symbol off.
19119 * gdb.cp/class2.exp: Likewise.
19120 * gdb.cp/overload.exp: Likewise.
19121 * gdb.cp/templates.exp: Likewise.
19122
d769e349
DE
191232014-08-11 Doug Evans <dje@google.com>
19124
19125 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
19126 (test_load_shlib): Update.
19127
20c6f1e1
YQ
191282014-08-09 Yao Qi <yao@codesourcery.com>
19129
19130 * gdb.base/display.exp: Invoke is_address_zero_readable.
19131 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
19132 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19133 * gdb.base/hbreak-unmapped.exp: Return if
19134 is_address_zero_readable returns true.
19135 * gdb.base/signest.exp: Likewise.
19136 * gdb.base/signull.exp: Likewise.
19137 * gdb.base/sigbpt.exp: Likewise.
19138 * gdb.guile/scm-disasm.exp: Do the test if
19139 is_address_zero_readable returns false.
19140 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
19141 * gdb.python/py-arch.exp: Likewise.
19142 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
19143 * lib/gdb.exp (is_address_zero_readable): New proc.
19144
5792e8e3
YQ
191452014-08-09 Yao Qi <yao@codesourcery.com>
19146
19147 PR testsuite/13443
19148 * gdb.mi/mi-var-display.exp: Make test messages unique.
19149
3cecbbbe
TT
191502014-08-04 Tom Tromey <tromey@redhat.com>
19151
19152 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
19153 target 0".
19154
00b51ff5
TT
191552014-08-04 Tom Tromey <tromey@redhat.com>
19156
19157 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
19158 "target_resume".
19159
6908c509
JB
191602014-08-01 Joel Brobecker <brobecker@adacore.com>
19161
19162 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
19163 inner_vla_struct_object_size.
19164 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
19165 as xfail.
19166
cc6563d2
PA
191672014-07-30 Pedro Alves <palves@redhat.com>
19168
19169 * gdb.threads/signal-command-handle-nopass.exp (test): Add
19170 comment.
19171
7e09a223
YQ
191722014-07-29 Yao Qi <yao@codesourcery.com>
19173
19174 PR gdb/17206
19175 * gdb.base/until-nodebug.exp: New.
19176
7ebdbe92
DE
191772014-07-28 Doug Evans <xdje42@gmail.com>
19178
19179 PR guile/17203
19180 * gdb.guile/scm-parameter.exp: Add tests for trying to create
19181 previously existing parameter, and previously ambiguously spelled
19182 parameter.
19183
fdb1adc6
WN
191842014-07-28 Will Newton <will.newton@linaro.org>
19185
19186 * gdb.base/varargs.exp: Remove KFAILs for ARM.
19187
186fcde0
DE
191882014-07-26 Ludovic Courtès <ludo@gnu.org>
19189 Doug Evans <xdje42@gmail.com>
19190
19191 PR guile/17146
19192 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
19193
70509625
PA
191942014-07-25 Pedro Alves <palves@redhat.com>
19195
19196 * gdb.threads/signal-command-handle-nopass.c: New file.
19197 * gdb.threads/signal-command-handle-nopass.exp: New file.
19198 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
19199 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
19200 * gdb.threads/signal-delivered-right-thread.c: New file.
19201 * gdb.threads/signal-delivered-right-thread.exp: New file.
19202
c3f814a1
PA
192032014-07-25 Pedro Alves <palves@redhat.com>
19204
19205 * gdb.base/double-prompt-target-event-error.exp
19206 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
19207 match.
19208 (cancel_pagination_in_target_event): Rework double prompt
19209 detection.
19210 * gdb.base/paginate-after-ctrl-c-running.exp
19211 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
19212 <return>' match.
19213 * gdb.base/paginate-bg-execution.exp
19214 (test_bg_execution_pagination_return)
19215 (test_bg_execution_pagination_cancel): Remove '-notransfer
19216 <return>' matches.
19217 * gdb.base/paginate-execution-startup.exp
19218 (test_fg_execution_pagination_return)
19219 (test_fg_execution_pagination_cancel): Remove '-notransfer
19220 <return>' matches.
19221 * gdb.base/paginate-inferior-exit.exp
19222 (test_paginate_inferior_exited): Remove '-notransfer <return>'
19223 match.
19224 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
19225 * lib/gdb.exp (pagination_prompt): Run text through
19226 string_to_regexp.
19227 (gdb_test_multiple): Match $pagination_prompt instead of
19228 "<return>".
19229 (string_to_regexp): Move to lib/gdb-utils.exp.
19230
e214cf6c
JK
192312014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19232
19233 * gdb.arch/amd64-entry-value-paramref.S: New file.
19234 * gdb.arch/amd64-entry-value-paramref.cc: New file.
19235 * gdb.arch/amd64-entry-value-paramref.exp: New file.
19236 * gdb.arch/amd64-optimout-repeat.S: New file.
19237 * gdb.arch/amd64-optimout-repeat.c: New file.
19238 * gdb.arch/amd64-optimout-repeat.exp: New file.
19239
17d0c5c8
JK
192402014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19241
19242 PR gdb/17170
19243 * gdb.base/statistics.exp: New file.
19244
b8b8facf
DE
192452014-07-17 Doug Evans <dje@google.com>
19246
74b49205 19247 PR gdb/17170
b8b8facf
DE
19248 * gdb.base/maint.exp: Update testing of per-command stats.
19249
1b5d0ab3
PA
192502014-07-16 Pedro Alves <palves@redhat.com>
19251
19252 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
19253 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
19254 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
19255 (tfile_write_buf): New functions.
19256 (add_memory_block): Rewrite using the above.
19257 (adjust_function_address): New function.
19258 (FUNCTION_ADDRESS): New macro.
19259 (write_basic_trace_file): Remove short_x local, and use
19260 tfile_write_16. Change type of func_addr local to unsigned long
19261 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
19262 here. Cast argument of add_memory_block to char pointer.
19263 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
19264 (main): Remove parameters.
19265 * gdb.trace/tfile.exp: Remove nowarnings.
19266
4d974e88
SM
192672014-07-15 Simon Marchi <simon.marchi@ericsson.com>
19268
19269 * gdb.base/debug-expr.exp: Test string evaluation with
19270 "debug expression" on.
19271
41e99568
PA
192722014-07-15 Pedro Alves <palves@redhat.com>
19273
19274 * gdb.base/reread.exp: Use clean_restart.
19275
487d9753
PL
192762014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
19277
19278 * gdb.arch/avr-flash-qualifer.c: New.
19279 * gdb.arch/avr-flash-qualifer.exp: New.
19280
cc1c52ad
PA
192812014-07-14 Pedro Alves <palves@redhat.com>
19282
19283 * gdb.base/paginate-after-ctrl-c-running.c: New file.
19284 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
19285
1e973570
PA
192862014-07-14 Pedro Alves <palves@redhat.com>
19287
19288 * gdb.base/double-prompt-target-event-error.c: New file.
19289 * gdb.base/double-prompt-target-event-error.exp: New file.
19290
93d6eb10
PA
192912014-07-14 Pedro Alves <palves@redhat.com>
19292
19293 PR gdb/17072
19294 * gdb.base/paginate-inferior-exit.c: New file.
19295 * gdb.base/paginate-inferior-exit.exp: New file.
19296
0017922d
PA
192972014-07-14 Pedro Alves <palves@redhat.com>
19298
19299 PR gdb/17072
19300 * gdb.base/paginate-bg-execution.c: New file.
19301 * gdb.base/paginate-bg-execution.exp: New file.
19302
94696ad3
PA
193032014-07-14 Pedro Alves <palves@redhat.com>
19304
19305 PR gdb/17072
19306 * gdb.base/paginate-execution-startup.c: New file.
19307 * gdb.base/paginate-execution-startup.exp: New file.
19308 * lib/gdb.exp (pagination_prompt): New global.
19309 (default_gdb_spawn): New procedure, factored out from
19310 default_gdb_spawn.
19311 (default_gdb_start): Adjust to call default_gdb_spawn.
19312 (gdb_spawn): New procedure.
19313
bd293940
PA
193142014-07-14 Pedro Alves <palves@redhat.com>
19315
19316 * lib/gdb.exp (gdb_assert): New procedure.
19317 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
19318
c933f875
PA
193192014-07-14 Pedro Alves <palves@redhat.com>
19320
19321 * gdb.base/execution-termios.c: New file.
19322 * gdb.base/execution-termios.exp: New file.
19323
d98b7a16
TT
193242014-07-14 Tom Tromey <tromey@redhat.com>
19325
19326 * gdb.cp/vla-cxx.cc: New file.
19327 * gdb.cp/vla-cxx.exp: New file.
19328
548740d6
TT
193292014-07-14 Tom Tromey <tromey@redhat.com>
19330
19331 * gdb.reverse/rerun-prec.c: New file.
19332 * gdb.reverse/rerun-prec.exp: New file.
19333
a25eb028
MR
193342014-07-12 Maciej W. Rozycki <macro@mips.com>
19335 Maciej W. Rozycki <macro@codesourcery.com>
19336
19337 * lib/gdb-utils.exp: New file.
19338 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
19339 inline `gdb_init_command' processing.
19340 (gdb_start_cmd): Likewise.
19341 * lib/mi-support.exp (mi_run_cmd): Likewise.
19342 * README: Document `gdb_init_command' and `gdb_init_commands'.
19343
218c2655
JK
193442014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19345
19346 Fix false FAIL running under a very long directory name.
19347 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
19348 and "set print elements 10000". Twice.
19349
5401fde3
YQ
193502014-07-11 Yao Qi <yao@codesourcery.com>
19351
19352 * gdb.base/exprs.exp: "set print symbol off".
19353
e76126e8
PA
193542014-07-11 Pedro Alves <palves@redhat.com>
19355
19356 * gdb.threads/kill.c: New file.
19357 * gdb.threads/kill.exp: New file.
19358
2d6f0de6
YQ
193592014-07-10 Yao Qi <yao@codesourcery.com>
19360
19361 * gdb.trace/tfile.c (write_basic_trace_file)
19362 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
19363 address written to trace file.
19364
7180e04a
PA
193652014-07-09 Pedro Alves <palves@redhat.com>
19366
19367 * gdb.base/attach-wait-input.exp: New file.
19368 * gdb.base/attach-wait-input.c: New file.
19369
9a9a7608
AB
193702014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
19371
19372 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
19373 setting up test structures.
19374 (main): Call new test function.
19375 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
19376 test function, continue into test function and walk test
19377 structures.
19378
161ac41e
YQ
193792014-07-02 Yao Qi <yao@codesourcery.com>
19380
19381 * gdb.trace/entry-values.c: Define labels 'foo_start' and
19382 'bar_start' at the beginning of functions 'foo' and 'bar'
19383 respectively.
19384 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
19385 instead of 'foo' and 'bar'.
19386
1f267ae3
MM
193872014-07-08 Markus Metzger <markus.t.metzger@intel.com>
19388
19389 * gdb.btrace/segv.exp: New.
19390 * gdb.btrace/segv.c: New.
19391
2b239efb
LM
193922014-07-02 Luis Machado <lgustavo@codesourcery.com>
19393
19394 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
19395 instruction.
19396
cf363f18
MW
193972014-06-30 Mark Wielaard <mjw@redhat.com>
19398
19399 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
19400 vulture, vilify, villar): New volatile array constants.
19401 (vindictive, vegetation): New const volatile array constants.
19402 * gdb.base/volatile.exp: Test volatile and const volatile array
19403 types.
19404
aebf9d24
AA
194052014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
19406
19407 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
19408 target lacks support for awatch, rwatch, or hbreak.
19409
b67a2c6f
YQ
194102014-06-27 Yao Qi <yao@codesourcery.com>
19411
19412 * gdb.multi/dummy-frame-restore.exp: New.
19413 * gdb.multi/dummy-frame-restore.c: New.
19414
aef92902
MM
194152014-06-25 Markus Metzger <markus.t.metzger@intel.com>
19416
19417 * gdb.btrace/gcore.exp: New.
19418
8e9db26e
PA
194192014-06-23 Pedro Alves <palves@redhat.com>
19420
19421 * gdb.base/watchpoint-reuse-slot.c: New file.
19422 * gdb.base/watchpoint-reuse-slot.exp: New file.
19423
70afc5b7
SC
194242014-06-23 Siva Chandra Reddy <sivachandra@google.com>
19425
19426 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
19427 progspace's filename in 'info', 'enable' and 'disable' command
19428 tests.
19429
b972bd9c
JK
194302014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
19431
19432 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
19433 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19434 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
19435
125f8a3d
GB
194362014-06-20 Gary Benson <gbenson@redhat.com>
19437
19438 * gdb.arch/i386-avx.exp: Fix include file location.
19439 * gdb.arch/i386-sse.exp: Likewise.
19440
3ed9baed
IB
194412014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
19442
19443 * gdb.dlang/expression.exp: New file.
19444
034f788c
PA
194452014-06-19 Pedro Alves <palves@redhat.com>
19446
19447 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
19448 out from ...
19449 (top level): ... here. Iterate running tests under different
19450 scheduler-locking settings.
19451
45371d0c
LM
194522014-06-18 Luis Machado <lgustavo@codesourcery.com>
19453
19454 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
19455 to DW_FORM_addr and use non-zero addresses.
19456
5d376983
SC
194572014-06-18 Siva Chandra Reddy <sivachandra@google.com>
19458
19459 PR gdb/17017
19460 * gdb.python/py-xmethods.cc: Add global function call counters and
19461 increment them in their respective functions. Remove "cout"
19462 statements.
19463 * gdb.python/py-xmethods.exp: Make tests check the global function
19464 call counters instead of depending on inferior IO.
19465
a1aa2221
LM
194662014-06-18 Don Breazeal <donb@codesourcery.com>
19467
19468 * gdb.base/foll-fork.exp (default_fork_parent_follow):
19469 Deleted procedure.
19470 (explicit_fork_parent_follow): Deleted procedure.
19471 (explicit_fork_child_follow): Deleted procedure.
19472 (test_follow_fork): New procedure.
19473 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 19474 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
19475 procedure calls.
19476
0fc05997
YQ
194772014-06-17 Yao Qi <yao@codesourcery.com>
19478
19479 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
19480 CP1252.
19481
70795c52
LM
194822014-06-17 Luis Machado <lgustavo@codesourcery.com>
19483
19484 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
19485 Initialize ptr and S explicitly.
19486 (skip_type_update_when_not_use_rtti_test): Likewise.
19487
6be47f0c
KS
194882014-06-16 Keith Seitz <keiths@redhat.com>
19489
19490 PR mi/15863
19491 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
19492 the inferior is started.
19493
d03de421
PA
194942014-06-16 Pedro Alves <palves@redhat.com>
19495
19496 * gdb.base/break-main-file-remove-fail.c: New file.
19497 * gdb.base/break-main-file-remove-fail.exp: New file.
19498 * gdb.base/break-unload-file.exp: Use build_executable instead of
19499 prepare_for_testing.
19500 (test_break): New parameter "initial_load". Handle it.
19501 (top level): Add initial_load cmdline/file axis.
19502
f9579b99
TT
195032014-06-12 Tom Tromey <tromey@redhat.com>
19504
19505 * gdb.base/completion.exp: Don't use directory name in test.
19506
3657956b
GB
195072014-06-09 Gary Benson <gbenson@redhat.com>
19508
19509 * gdb.base/sigall.c [Functions to send signals]: Reorder to
19510 separate the always-available ANSI-standard signals from the
19511 signals that require checking.
19512 (main): Likewise.
19513 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
19514 Likewise.
19515 (main): Likewise.
19516
4186eb54
KS
195172014-06-07 Keith Seitz <keiths@redhat.com>
19518
19519 Revert:
19520 PR c++/16253
19521 * gdb.cp/var-tag.cc: New file.
19522 * gdb.cp/var-tag.exp: New file.
19523 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19524 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19525 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19526 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19527
25326a28 195282014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
19529
19530 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
19531
829155c9
PA
195322014-06-06 Pedro Alves <palves@redhat.com>
19533
19534 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
19535 in target debug output instead of looking at RSP packets,
19536 disabling the test on any target that uses hardware stepping.
19537 Update comments.
19538
61c8d22e
PA
195392014-06-06 Pedro Alves <palves@redhat.com>
19540
19541 * gdb.base/break-unload-file.exp: Fix typo.
19542
d9a47287
YQ
195432014-06-06 Yao Qi <yao@codesourcery.com>
19544
19545 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
19546 from "jit_function" to "^jit_function".
19547
e5e01dbf
YQ
195482014-06-06 Yao Qi <yao@codesourcery.com>
19549
19550 * gdb.base/async.c (foo): Add one statement.
19551 * gdb.base/async.exp: Get the next instruction address and
19552 match the output of "nexti" by instruction address. Match
19553 the hex address in the output of "finish".
19554
73ba372c
GB
195552014-06-06 Gary Benson <gbenson@redhat.com>
19556
19557 * gdb.base/call-signals.c: Remove preprocessor conditionals
19558 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
19559 SIGSEGV and SIGTERM.
19560 * gdb.base/sigall.c: Likewise.
19561 * gdb.base/unwindonsignal.c: Likewise.
19562 * gdb.reverse/sigall-reverse.c: Likewise.
19563
831517df
YQ
195642014-06-06 Yao Qi <yao@codesourcery.com>
19565
19566 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
19567 readable, skip the test.
19568
b8b91e98
YQ
195692014-06-06 Yao Qi <yao@codesourcery.com>
19570
19571 * gdb.threads/staticthreads.c (thread_function): Move the line
19572 setting breakpoint on forward.
19573 * gdb.threads/staticthreads.exp: Update comments.
19574
fb934770
LC
195752014-06-05 Ludovic Courtès <ludo@gnu.org>
19576
19577 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
19578 "history-append! type error".
19579
6ef284bd
SM
195802014-06-05 Simon Marchi <simon.marchi@ericsson.com>
19581
19582 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
19583 erroneous dprintf expected input.
19584
a872e241
DE
195852014-06-04 Doug Evans <xdje42@gmail.com>
19586
19587 * gdb.guile/scm-generics.exp: Delete.
19588
16f691fb
DE
195892014-06-04 Doug Evans <xdje42@gmail.com>
19590
19591 * gdb.guile/scm-breakpoint.exp: Update.
19592 Add tests for breakpoint registration.
19593
012370f6
TT
195942014-06-04 Tom Tromey <tromey@redhat.com>
19595
19596 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
19597 VLA-in-union.
19598 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
19599 inner_vla_struct, vla_union types. Initialize objects of those
19600 types and compute their sizes.
19601
9f5a4cef
HZ
196022014-06-04 Nathan Sidwell <nathan@codesourcery.com>
19603 Hui Zhu <hui@codesourcery.com>
19604
19605 * gdb.base/fileio.exp: Add test for shell not available as well as
19606 available.
19607 * gdb.base/fileio.c (test_system): Check for shell twice.
19608
90a45c4d
YQ
196092014-06-04 Yao Qi <yao@codesourcery.com>
19610
19611 * gdb.base/auto-connect-native-target.exp: Remove redundant
19612 space from the regexp pattern.
19613
70017e41
YQ
196142014-06-04 Yao Qi <yao@codesourcery.com>
19615
19616 * gdb.base/default.exp: Replace "child" with "native" in
19617 regexp pattern.
19618
883964a7
SC
196192014-06-03 Siva Chandra Reddy <sivachandra@google.com>
19620
19621 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
19622 * gdb.python/py-xmethods.exp: New tests to test xmethods.
19623 * gdb.python/py-xmethods.py: Python script supporting the
19624 new testcase and tests.
19625
ef370185
JB
196262014-06-03 Joel Brobecker <brobecker@adacore.com>
19627 Pedro Alves <palves@redhat.com>
19628
19629 PR breakpoints/17000
19630 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
19631 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
19632
1e2ccb61
BM
196332014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
19634
19635 * gdb.base/subst.exp: Add tests to verify partial path matching
19636 output.
19637
c6ec5ab2
PA
196382014-06-03 Pedro Alves <palves@redhat.com>
19639
19640 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
19641 target that doesn't use software single-stepping.
19642
835c559f
PA
196432014-06-03 Pedro Alves <palves@redhat.com>
19644
19645 PR breakpoints/17000
19646 * gdb.base/sss-bp-on-user-bp-2.c: New file.
19647 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
19648
06eb1586
DE
196492014-06-02 Doug Evans <xdje42@gmail.com>
19650
19651 * gdb.guile/scm-parameter.exp: New file.
19652
e698b8c4
DE
196532014-06-02 Doug Evans <xdje42@gmail.com>
19654
19655 * gdb.guile/scm-cmd.c: New file.
19656 * gdb.guile/scm-cmd.exp: New file.
19657
ded03782
DE
196582014-06-02 Doug Evans <xdje42@gmail.com>
19659
19660 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
19661 pretty-printer lookup.
19662 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
19663 (make-pp_s-printer): Call it.
19664 (make-pretty-printer-from-dict): New function.
19665 (lookup-pretty-printer-maker-from-dict): New function.
19666 (*pretty-printer*): Simplify.
19667 (make-objfile-pp_s-printer): New function.
19668 (install-objfile-pretty-printers!): New function.
19669 (make-progspace-pp_s-printer): New function.
19670 (install-progspace-pretty-printers!): New function.
19671 * gdb.guile/scm-progspace.c: New file.
19672 * gdb.guile/scm-progspace.exp: New file.
19673
41fac0cf
PA
196742014-06-02 Pedro Alves <palves@redhat.com>
19675
19676 * gdb.base/dprintf-bp-same-addr.c: New file.
19677 * gdb.base/dprintf-bp-same-addr.exp: New file.
19678
96ae5695
EBM
196792014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19680
19681 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
19682 * gdb.arch/powerpc-power.s: Likewise.
19683
da02b3a8
JB
196842014-06-02 Joel Brobecker <brobecker@adacore.com>
19685
19686 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
19687
c72b2e7b
YQ
196882014-06-01 Yao Qi <yao@codesourcery.com>
19689
19690 * gdb.base/watchpoint.exp (test_watch_location): Check null
19691 pointer can be dereferenced. If not, do the test, otherwise
19692 skip it.
19693
53e8a631
AB
196942014-05-30 Andrew Burgess <aburgess@broadcom.com>
19695
19696 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
19697 results.
19698 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
19699
938f0e2f
AB
197002014-05-30 Andrew Burgess <aburgess@broadcom.com>
19701
19702 * gdb.arch/amd64-invalid-stack-middle.S: New file.
19703 * gdb.arch/amd64-invalid-stack-middle.c: New file.
19704 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
19705 * gdb.arch/amd64-invalid-stack-top.c: New file.
19706 * gdb.arch/amd64-invalid-stack-top.exp: New file.
19707
9ba6657a
PA
197082014-05-30 Pedro Alves <palves@redhat.com>
19709
19710 PR breakpoints/17000
19711 * gdb.base/sss-bp-on-user-bp.c: New file.
19712 * gdb.base/sss-bp-on-user-bp.exp: New file.
19713
522c09bf
DB
197142014-05-30 David Blaikie <dblaikie@gmail.com>
19715
19716 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
19717 gnu_inline semantics via attribute.
19718 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
19719 source explicitly specifies the required semantics.
19720
bf4ef81e
MR
197212014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
19722
19723 * gdb.reverse/sigall-reverse.exp: Fix a typo.
19724
329ea579
PA
197252014-05-29 Pedro Alves <palves@redhat.com>
19726 Tom Tromey <tromey@redhat.com>
19727
19728 * gdb.base/async-shell.exp: Don't enable target-async.
19729 * gdb.base/async.exp
19730 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
19731 parameter. Adjust.
19732 (top level): Don't test with "target-async".
19733 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
19734 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
19735 * gdb.base/inferior-died.exp: Don't enable target-async.
19736 * gdb.base/interrupt-noterm.exp: Likewise.
19737 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
19738 * gdb.mi/mi-nonstop-exit.exp: Likewise.
19739 * gdb.mi/mi-nonstop.exp: Likewise.
19740 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
19741 * gdb.mi/mi-nsintrall.exp: Likewise.
19742 * gdb.mi/mi-nsmoribund.exp: Likewise.
19743 * gdb.mi/mi-nsthrexec.exp: Likewise.
19744 * gdb.mi/mi-watch-nonstop.exp: Likewise.
19745 * gdb.multi/watchpoint-multi.exp: Adjust comment.
19746 * gdb.python/py-evsignal.exp: Don't enable target-async.
19747 * gdb.python/py-evthreads.exp: Likewise.
19748 * gdb.python/py-prompt.exp: Likewise.
19749 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
19750 * gdb.server/solib-list.exp: Don't enable target-async.
19751 * gdb.threads/thread-specific-bp.exp: Likewise.
19752 * lib/mi-support.exp: Adjust to use mi-async.
19753
fd664c91
PA
197542014-05-29 Pedro Alves <palves@redhat.com>
19755
19756 PR gdb/13860
19757 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
19758 reason, even in sync mode.
19759
251bde03
PA
197602014-05-29 Pedro Alves <palves@redhat.com>
19761 Hui Zhu <hui@codesourcery.com>
19762
19763 PR PR15693
19764 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
19765 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
19766 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
19767 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
19768
7f3c0343
JB
197692014-05-28 Joel Brobecker <brobecker@adacore.com>
19770
19771 * config/monitor.exp (gdb_target_monitor): Replace use of
19772 "set remotebaud" by "set serial baud".
19773
b2715b27
AW
197742014-05-26 Andy Wingo <wingo@igalia.com>
19775
19776 * gdb.guile/scm-breakpoint.exp:
19777 * gdb.guile/scm-gsmob.exp: Update to use plain old object
19778 properties instead of gdb-object-properties.
19779
498a4489
YQ
197802014-05-26 Yao Qi <yao@codesourcery.com>
19781
19782 * gdb.server/no-thread-db.exp: Specify source file name
19783 explicitly when setting a breakpoint.
19784
589fdceb
MM
197852014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19786
19787 * gdb.btrace/vdso.c: New.
19788 * gdb.btrace/vdso.exp: New.
19789
e9089e05
MM
197902014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19791
19792 * gdb.base/gcore.exp (capture_command_output): Move ...
19793 * lib/gdb.exp (capture_command_output): ... here.
19794
67b5c0c1
MM
197952014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19796
19797 * gdb.btrace/data.exp: Test memory access during btrace replay.
19798
a2199296
SM
197992014-05-22 Simon Marchi <simon.marchi@ericsson.com>
19800
19801 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
19802
17b2616c
PA
198032014-05-21 Pedro Alves <palves@redhat.com>
19804
19805 PR gdb/13860
19806 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
19807 (top level): Test that output related to execution commands is
19808 sent to the console with CLI commands, but not with MI commands.
19809 Test that breakpoint events are always mirrored to the console.
19810 Also expect the new source line to be output after a "next" in
19811 async mode too. Make it a pass/fail test.
19812 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
19813 output.
19814 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
19815
5166082f
PA
198162014-05-21 Pedro Alves <palves@redhat.com>
19817
19818 * gdb.base/list.exp (build_pattern, test_list): New procedures.
19819 Use them to test variations of "list" after reaching a breakpoint.
19820 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
19821 Test "list" with listsize 10 after reaching a breakpoint.
19822 * gdb.python/python.exp (decode_line current location line
19823 number): Adjust expected line number.
19824
2f25d70f
SM
198252014-05-21 Simon Marchi <simon.marchi@ericsson.com>
19826
19827 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
19828 behavior for $args, pass it directly to "run".
19829
ff604a67
MR
198302014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
19831
19832 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
19833 30000 to 65536.
19834
6a3cb8e8
PA
198352014-05-21 Pedro Alves <palves@redhat.com>
19836
19837 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
19838 auto-connect-native-target off".
19839 * gdb.base/auto-connect-native-target.c: New file.
19840 * gdb.base/auto-connect-native-target.exp: New file.
19841
4ebfc96e
PA
198422014-05-21 Pedro Alves <palves@redhat.com>
19843
19844 * gdb.base/default.exp: Test "target native" instead of "target
19845 child".
19846
36d46afb
MW
198472014-05-21 Mark Wielaard <mjw@redhat.com>
19848
19849 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19850
5876f503
JK
198512014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19852
19853 Fix TLS access for -static -pthread.
19854 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
19855 <HAVE_TLS> (thread_function, main): Initialize it.
19856 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
19857 Add clean_restart.
19858 <$have_tls != "">: Check TLSVAR.
19859
0256a6ac
PA
198602014-05-21 Pedro Alves <palves@redhat.com>
19861
19862 * gdb.base/dcache-line-read-error.c: New.
19863 * gdb.base/dcache-line-read-error.exp: New.
19864
936d2992
PA
198652014-05-20 Pedro Alves <palves@redhat.com>
19866
19867 * gdb.base/compare-sections.c: New file.
19868 * gdb.base/compare-sections.exp: New file.
19869
802e8e6d
PA
198702014-05-20 Pedro Alves <palves@redhat.com>
19871
19872 * gdb.base/break-idempotent.c: New file.
19873 * gdb.base/break-idempotent.exp: New file.
19874
e59fa00f
MM
198752014-05-20 Markus Metzger <markus.t.metzger@intel.com>
19876
19877 * gdb.btrace/nohist.exp: New.
19878
8b696e31
YQ
198792014-05-20 Yao Qi <yao@codesourcery.com>
19880
19881 * lib/gdb.exp (gdb_init): Set timeout if test file is under
19882 gdb.reverse directory and gdb_reverse_timeout exists in board
19883 setting.
19884 * README: Document gdb_reverse_timeout.
19885
73c9764f
YQ
198862014-05-20 Yao Qi <yao@codesourcery.com>
19887
19888 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
19889 'test_file_name'. Treat args as a string instead of a list.
19890 (gdb_init): Rename argument 'args' by 'test_file_name'.
19891
f1f4348a
JK
198922014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
19893
19894 * gdb.arch/powerpc-power.exp: New file.
19895 * gdb.arch/powerpc-power.s: New file.
19896
0dbe70ce
DE
198972014-05-16 Doug Evans <dje@google.com>
19898
19899 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
19900 * gdb.base/completion.exp: Check that all expected files exist
19901 before doing file completion.
0dbe70ce 19902
8d551b02
DE
199032014-05-16 Doug Evans <dje@google.com>
19904
19905 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
19906 Update.
19907 (do_syscall_tests_without_xml): Update.
19908
73eb7709
PA
199092014-05-16 Pedro Alves <palves@redhat.com>
19910
19911 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
19912 instead of "unknown output after running".
19913
3fae92fc
YQ
199142014-05-16 Yao Qi <yao@codesourcery.com>
19915
19916 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
19917 file1.txt from host at the end.
19918 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19919
c2b2ccc5
DE
199202014-05-15 Doug Evans <dje@google.com>
19921
19922 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
19923 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
19924 loading file. Add test for TU lookup.
19925
8c217a4b
SM
199262014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19927
19928 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
19929 calling "-exec-arguments" or "set args" before running the
19930 inferior.
19931
3deb39c6
SM
199322014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19933
19934 * lib/mi-support.exp (mi_expect_stop): Expect message for
19935 inferiors that exit with non-zero exit code.
19936
71a79f8c
YQ
199372014-05-14 Yao Qi <yao@codesourcery.com>
19938
19939 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
19940 match absolute path on remote host.
19941 (test_file_list_exec_source_files): Remove "/" from the
19942 pattern.
19943
f23fcd46
YQ
199442014-05-14 Yao Qi <yao@codesourcery.com>
19945
19946 * boards/local-remote-host-notty.exp (${board}_file): New
19947 proc.
19948
9404b58f
KM
199492014-05-07 Kyle McMartin <kyle@redhat.com>
19950
19951 Pushed by Joel Brobecker <brobecker@adacore.com>.
19952 * gdb.arch/aarch64-atomic-inst.c: New file.
19953 * gdb.arch/aarch64-atomic-inst.exp: New file.
19954
5e45f04c
YQ
199552014-05-07 Yao Qi <yao@codesourcery.com>
19956
19957 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
19958 in current context" too.
19959
c888a17d
KS
199602014-05-05 Keith Seitz <keiths@redhat.com>
19961
19962 * gdb.linespec/ls-dollar.exp: Add test for linespec
19963 file:convenience_variable.
19964
290a839c
YQ
199652014-05-05 Yao Qi <yao@codesourcery.com>
19966
19967 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
19968 traceframes into tfile and ctf trace files. Read data from
19969 trace file and test collected data.
19970 (gdb_collect_locals_test): Likewise.
19971 (gdb_unavailable_registers_test): Likewise.
19972 (gdb_unavailable_floats): Likewise.
19973 (gdb_collect_globals_test): Likewise.
19974 (top-level): Append "ctf" to trace_file_targets if GDB
19975 supports.
19976
b5262cd0
YQ
199772014-05-05 Yao Qi <yao@codesourcery.com>
19978
19979 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
19980 code to ...
19981 (gdb_collect_args_test_1): ... it. New proc.
19982 (gdb_collect_locals_test): Move some code to ...
19983 (gdb_collect_locals_test_1): ... it. New proc.
19984 (gdb_unavailable_registers_test): Move some code to ...
19985 (gdb_unavailable_registers_test_1): ... it. New proc.
19986 (gdb_unavailable_floats): Move some code to ...
19987 (gdb_unavailable_floats_1): ... it. New proc.
19988
30a1e6cc
SDJ
199892014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19990
19991 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
19992 probes to test for bitness recognition.
19993 * gdb.arch/amd64-stap-optional-prefix.exp
19994 (test_probe_value_without_reg): New procedure.
19995 Add code to test for different kinds of bitness.
19996
f33da99a
SDJ
199972014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19998
19999 PR breakpoints/16889
20000 * gdb.arch/amd64-stap-optional-prefix.S: New file.
20001 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20002
5b80f00d
PA
200032014-05-01 Pedro Alves <palves@redhat.com>
20004
20005 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
20006 gdb_file_cmd if no file is specified.
20007 * boards/native-extended-gdbserver.exp (gdb_load): Use the
20008 last_loaded_file to set the remote exec-file.
20009
f8c2a73c
PA
200102014-05-01 Pedro Alves <palves@redhat.com>
20011
20012 * boards/local-remote-host.exp: New file.
20013
be6e8ac7
PA
200142014-05-01 Pedro Alves <palves@redhat.com>
20015
20016 * boards/local-remote-host.exp: Rename to ...
20017 * boards/local-remote-host-notty.exp: ... this.
20018
cac0dc8f
JB
200192014-04-28 Joel Brobecker <brobecker@adacore.com>
20020
20021 * gdb.ada/dyn_arrayidx: New testcase.
20022
9730e6cc
YQ
200232014-04-26 Yao Qi <yao@codesourcery.com>
20024
20025 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
20026 and compute the length of function main. Save it in
20027 $main_length.
20028 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
20029 (top-level): Use gdb_compile to compile objects into
20030 executable and restart GDB. Remove invocation to
20031 prepare_for_testing.
20032
7ae1a6a6
PA
200332014-04-25 Simon Marchi <simon.marchi@ericsson.com>
20034 Pedro Alves <palves@redhat.com>
20035
20036 PR server/16255
20037 * gdb.multi/multi-attach.c: New file.
20038 * gdb.multi/multi-attach.exp: New file.
20039
4082afcc
PA
200402014-04-25 Pedro Alves <palves@redhat.com>
20041
20042 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
20043 user.
20044 (top level): Test that "set remote conditional-breakpoints-packet
20045 off" works as intended.
20046 * gdb.base/dprintf.exp: Test that "set remote
20047 breakpoint-commands-packet off" works as intended.
20048 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
20049 New function.
20050 (top level): Call it.
20051 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
20052 remote fast-tracepoints-packet off" works as intended.
20053 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
20054 * lib/gdb.exp (gdb_is_target_remote): ... here.
20055
2abc3f8d
DB
200562014-04-24 David Blaikie <dblaikie@gmail.com>
20057
20058 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
20059 ensure clang would not discard them.
20060 * gdb.base/gdbvars.c: Ditto.
20061 * gdb.base/memattr.c: Ditto.
20062 * gdb.base/whatis.c: Ditto.
20063 * gdb.python/py-prettyprint.c: Ditto.
20064 * gdb.trace/actions.c: Ditto.
20065 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
20066 ensure clang would not discard it.
20067
bfd39632
DB
200682014-04-24 David Blaikie <dblaikie@gmail.com>
20069
20070 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
20071 clang to emit the full definition of type required by the test
20072 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
20073
22842ff6
DB
200742014-04-24 David Blaikie <dblaikie@gmail.com>
20075
20076 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
20077 coax Clang into emitting the definition of the type.
20078 * gdb.cp/pr10728-x.h (y): Ditto.
20079 * gdb.cp/pr10728-y.cc (y): Ditto.
20080
c2e827ad
DB
200812014-04-24 David Blaikie <dblaikie@gmail.com>
20082
20083 * gdb.base/label.exp: XFAIL label related tests under Clang.
20084 * gdb.cp/cplabel.exp: Ditto.
20085 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
20086 under Clang those using labels.
20087
4c2d33e7
YQ
200882014-04-25 Yao Qi <yao@codesourcery.com>
20089
20090 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
20091 double_label.
20092 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
20093 partial_label and double_label.
20094
56083b99
DB
200952014-04-24 David Blaikie <dblaikie@gmail.com>
20096
20097 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
20098
25d4e99d
DB
200992014-04-24 David Blaikie <dblaikie@gmail.com>
20100
20101 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
20102 of the function to work across GCC and Clang.
20103 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
20104 pointer types (const void ** const V void **).
20105
01f9f808
MS
201062014-04-24 Michael Sturm <michael.sturm@mintel.com>
20107 Walfred Tedeschi <walfred.tedeschi@intel.com>
20108
20109 * Makefile.in (EXECUTABLES): Added i386-avx512.
20110 * gdb.arch/i386-avx512.c: New file.
20111 * gdb.arch/i386-avx512.exp: Likewise.
20112
4b48d439
KS
201132014-04-23 Keith Seitz <keiths@redhat.com>
20114
20115 * lib/mi-support.exp (mi_list_breakpoints): Delete.
20116 (mi_make_breakpoint_table): New procedure.
20117 (mi_create_breakpoint): Use mi_make_breakpoint
20118 and return the result.
20119 (mi_make_breakpoint): New procedure.
20120 (mi_build_kv_pairs): New procedure.
20121
20122 * gdb.mi/mi-break.exp: Remove unused globals,
20123 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
20124 All callers updated.
20125 * gdb.mi/mi-dprintf.exp: Use variable to track command
20126 number.
20127 Update all callers of mi_create_breakpoint and use
20128 mi_make_breakpoint_table.
20129 Remove any unused global variables.
20130 * gdb.mi/mi-nonstop.exp: Likewise.
20131 * gdb.mi/mi-nsintrall.exp: Likewise.
20132 * gdb.mi/mi-nsmoribund.exp: Likewise.
20133 * gdb.mi/mi-nsthrexec.exp: Likewise.
20134 * gdb.mi/mi-reverse.exp: Likewise.
20135 * gdb.mi/mi-simplerun.exp: Likewise.
20136 * gdb.mi/mi-stepn.exp: Likewise.
20137 * gdb.mi/mi-syn-frame.exp: Likewise.
20138 * gdb.mi/mi-until.exp: Likewise.
20139 * gdb.mi/mi-var-cp.exp: Likewise.
20140 * gdb.mi/mi-var-display.exp: Likewise.
20141 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
20142 * gdb.mi/mi2-var-child.exp: Likewise.
20143 * gdb.mi/mi-vla-c99.exp: Likewise.
20144 * lib/mi-support.exp: Likewise.
20145
20146 From Ian Lance Taylor <iant@cygnus.com>:
20147 * lib/gdb.exp (parse_args): New procedure.
20148
08351840
PA
201492014-04-23 Pedro Alves <palves@redhat.com>
20150
20151 * gdb.base/break-unload-file.c: New file.
20152 * gdb.base/break-unload-file.exp: New file.
20153 * gdb.base/sym-file-lib.c (baz): New function.
20154 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
20155 field.
20156 (load): Store the segment's mapped size.
20157 (unload): New function.
20158 (unload_shlib): New function.
20159 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
20160 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
20161 set a breakpoint at baz, and call it.
20162 * gdb.base/sym-file.exp: New tests for stale breakpoint
20163 instructions.
20164
076855f9
PA
201652014-04-23 Pedro Alves <palves@redhat.com>
20166
20167 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
20168 * gdb.base/hbreak-in-shr-unsupported.c: New file.
20169 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
20170 * gdb.base/hbreak-unmapped.c: New file.
20171 * gdb.base/hbreak-unmapped.exp: New file.
20172 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
20173 * lib/gdb.exp (gdb_is_target_remote): ... here.
20174
483805cf
PA
201752014-04-22 Pedro Alves <palves@redhat.com>
20176
20177 * gdb.base/consecutive-step-over.c: New file.
20178 * gdb.base/consecutive-step-over.exp: New file.
20179
06d97543
PA
201802014-04-22 Pedro Alves <palves@redhat.com>
20181
20182 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
20183 instead of send_gdb/gdb_expect.
20184
b4429ea2
YQ
201852014-04-22 Yao Qi <yao@codesourcery.com>
20186
20187 * lib/trace-support.exp (generate_tracefile): New procedure.
20188 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
20189 return 0.
20190 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
20191 if generate_tracefile returns 1.
20192
51d48146
PA
201932014-04-18 Tom Tromey <palves@redhat.com>
20194 Pedro alves <tromey@redhat.com>
20195
20196 PR backtrace/15558
20197 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
20198 with a backtrace limit.
20199 * gdb.python/py-frame-inline.exp: Test running to an inline
20200 function with a backtrace limit, and printing the newest frame.
20201 * gdb.python/py-frame-inline.c (main): Call f.
20202
bd1dce5f
MS
202032014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20204
20205 * gdb.java/jnpe.exp: Drop srcdir from untested path.
20206
40d1a503
MS
202072014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20208
20209 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
20210 Drop prefix from unsupported source file path.
20211
389b98f7
YQ
202122014-04-17 Yao Qi <yao@codesourcery.com>
20213
20214 * lib/gdb.exp (with_target_charset): New proc.
20215 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
20216 with_target_charset.
20217 (test_print_strings): Likewise.
20218 (test_repeat_bytes): Likewise.
20219 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
20220 for some tests.
20221
22869d73
KS
202222014-04-16 Keith Seitz <keiths@redhat.com>
20223
20224 PR gdb/15827
20225 * gdb.dwarf2/corrupt.c: New file.
20226 * gdb.dwarf2/corrupt.exp: New file.
20227
c4f87ca6
KS
202282014-04-16 Keith Seitz <keiths@redhat.com>
20229
20230 PR c++/16597
20231 * gdb.cp/namelessclass.cc: New file.
20232 * gdb.cp/namelessclass.exp: New file.
20233 * gdb.cp/namelessclass.S: New file.
20234
ab19de87
DE
202352014-04-16 Doug Evans <dje@google.com>
20236
20237 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
20238 Add comment.
20239 (gdbserver_default_get_comm_port): New function.
20240 (gdbserver_start): Check if board file provided
20241 "gdbserver,get_comm_port" and use it if so.
20242 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
20243 (gdb,socketport): Set to "stdio".
20244 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
20245 (stdio_gdbserver_template): Delete.
20246 (${board}_get_remote_address): Update.
20247 (${board}_build_remote_cmd): Delete.
20248 (${board}_get_comm_port): New function.
20249 (${board}_spawn): Update.
20250 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
20251 Delete.
20252 (${board}_get_remote_address): Update.
20253 (${board}_get_comm_port): New function.
20254
fc98a809
AB
202552014-04-16 Andrew Burgess <aburgess@broadcom.com>
20256
20257 * gdb.base/memattr.exp: Improve regexps to handle memory regions
20258 appearing in any order.
20259
87fd9e6e
DE
202602014-04-15 Doug Evans <dje@google.com>
20261
20262 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
20263 uninitialized value of "description".
20264
099fc3ea
KS
202652014-04-15 Keith Seitz <keiths@redhat.com>
20266
20267 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
20268 Remove unused globals.
20269 (test_running_the_program): Likewise.
20270 (test_controlled_execution): Likewise.
20271 (test_controlling_breakpoints): Likewise.
20272 (test_program_termination): Likewise.
20273
5da151d4
KS
202742014-04-15 Keith Seitz <keiths@redhat.com>
20275
20276 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
20277 unused globals.
20278 (test_rbreak_creation_and_listing): Likewise.
20279 (test_ignore_count): Likewise.
20280 (test_error): Likewise.
20281
35e5d2f0
PA
202822014-04-15 Pedro Alves <palves@redhat.com>
20283
20284 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
20285 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
20286 sym-file-loader.c.
20287 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20288 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20289 to sym-file-loader.c.
20290 (struct library): Forward declare.
20291 (load_shlib, lookup_function): Change prototypes.
20292 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20293 (translate_offset): Remove declarations.
20294 (get_text_addr): New declaration.
20295 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
20296 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
20297 sym-file-loader.h.
20298 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20299 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20300 here from sym-file-loader.h.
20301 (struct library): New structure.
20302 (load_shlib, lookup_function): Change prototypes and adjust to
20303 work with a struct library.
20304 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20305 (translate_offset): Make static.
20306 (get_text_addr): New function.
20307 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
20308
eb4c1710
PA
203092014-04-15 Pedro Alves <palves@redhat.com>
20310
20311 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
20312
2d1baf52
PA
203132014-04-15 Pedro Alves <palves@redhat.com>
20314
20315 * gdb.base/sym-file-loader.c: Include <limits.h>.
20316 (SELF_LINK): New define.
20317 (get_origin): New function.
20318 (load_shlib): Use it.
20319 * gdb.base/sym-file.exp: Don't early return if the target is
20320 remote. Use runto_main, and issue fail is that fails. Use
20321 gdb_load_shlibs.
20322 (shlib_name): Delete.
20323 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
20324
7dd6df01
PA
203252014-04-15 Pedro Alves <palves@redhat.com>
20326
20327 * gdb.base/sym-file.exp: Remove regex characters from test
20328 message. Don't refer to breakpoint numbers in test messages.
20329
b50c8614
KS
203302014-04-14 Keith Seitz <keiths@redhat.com>
20331
20332 PR c++/16253
20333 * gdb.cp/var-tag.cc: New file.
20334 * gdb.cp/var-tag.exp: New file.
20335 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20336 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20337 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20338 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20339
3d567982
TT
203402014-04-14 Tom Tromey <tromey@redhat.com>
20341
20342 * gdb.cp/classes.exp (test_enums): Handle underlying type.
20343 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
20344 type.
20345 * gdb.cp/enum-class.exp: New file.
20346 * gdb.cp/enum-class.cc: New file.
20347
0626fc76
TT
203482014-04-14 Tom Tromey <tromey@redhat.com>
20349
20350 * gdb.dwarf2/enum-type.exp: New file.
20351
dca325b3
SA
203522014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20353
20354 * gdb.mi/mi-vla-c99.exp: New file.
20355 * gdb.mi/vla.c: New file.
20356
5854b38a
SA
203572014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20358
20359 * gdb.base/vla-datatypes.c: New file.
20360 * gdb.base/vla-datatypes.exp: New file.
20361
463bb957
SA
203622014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20363
20364 * gdb.base/vla-ptr.c: New file.
20365 * gdb.base/vla-ptr.exp: New file.
20366
3dd170be
SA
203672014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20368
20369 * gdb.dwarf2/count.exp: New file.
20370
5ecaaa66
SA
203712014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20372
20373 * gdb.base/vla-sideeffect.c: New file.
20374 * gdb.base/vla-sideeffect.exp: New file.
20375
41f1ada5
DB
203762014-04-14 David Blaikie <dblaikie@gmail.com>
20377
20378 * gdb.mi/non-stop.c: Add return value for non-void function return
20379 statement.
20380 * gdb.threads/staticthreads.c: Ditto.
20381
0be03e84
DE
203822014-04-12 Siva Chandra Reddy <sivachandra@google.com>
20383 Doug Evans <xdje42@gmail.com>
20384
20385 * gdb.guile/scm-value.c: Improve test case.
20386 * gdb.guile/scm-value.exp: Add new test.
20387
f180a1fb
DB
203882014-04-11 David Blaikie <dblaikie@gmail.com>
20389
20390 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
20391 override Clang's default.
20392
6b662e19
JB
203932014-04-11 Joel Brobecker <brobecker@adacore.com>
20394
20395 Revert the following changes (regressions):
20396
20397 * gdb.base/vla-sideeffect.c: New file.
20398 * gdb.base/vla-sideeffect.exp: New file.
20399
20400 * gdb.dwarf2/count.exp: New file.
20401
20402 * gdb.base/vla-multi.c: New file.
20403 * gdb.base/vla-multi.exp: New file.
20404
20405 * gdb.base/vla-ptr.c: New file.
20406 * gdb.base/vla-ptr.exp: New file.
20407
20408 * gdb.base/vla-datatypes.c: New file.
20409 * gdb.base/vla-datatypes.exp: New file.
20410
20411 * gdb.mi/mi-vla-c99.exp: New file.
20412 * gdb.mi/vla.c: New file.
20413
245a5f0b
KS
204142014-04-11 Keith Seitz <keiths@redhat.com>
20415
20416 PR c++/16675
20417 * gdb.cp/cpsizeof.exp: New file.
20418 * gdb.cp/cpsizeof.cc: New file.
20419
58a84dcf
SA
204202014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20421
191a8a90
JB
20422 * gdb.mi/mi-vla-c99.exp: New file.
20423 * gdb.mi/vla.c: New file.
58a84dcf 20424
c8655f75
SA
204252014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20426
20427 * gdb.base/vla-datatypes.c: New file.
20428 * gdb.base/vla-datatypes.exp: New file.
20429
024e13b4
SA
204302014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20431
20432 * gdb.base/vla-ptr.c: New file.
20433 * gdb.base/vla-ptr.exp: New file.
20434
1a237e0e
SA
204352014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20436
20437 * gdb.base/vla-multi.c: New file.
20438 * gdb.base/vla-multi.exp: New file.
20439
504f3432
SA
204402014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20441
20442 * gdb.dwarf2/count.exp: New file.
20443
3bce8237
SA
204442014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20445
191a8a90
JB
20446 * gdb.base/vla-sideeffect.c: New file.
20447 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 20448
322f9c21
YQ
204492014-04-11 Yao Qi <yao@codesourcery.com>
20450
20451 * gdb.base/completion.exp: Check file exists before running tests
20452 on file completion.
20453
d708bcd1
PA
204542014-04-10 Pedro Alves <palves@redhat.com>
20455
20456 * gdb.base/cond-eval-mode.c: New file.
20457 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
20458 prepare_for_testing to build the new file. Check result of
20459 runto_main.
20460 (test_break, test_watch): New procedures.
20461 (top level): Use them.
20462
ae1d2761
PM
204632014-04-08 Pierre Muller <muller@sourceware.org>
20464
20465 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
20466 Ctrl-V use for mingw hosts.
20467
7af389b8
SC
204682014-04-07 Siva Chandra Reddy <sivachandra@google.com>
20469
20470 * gdb.python/py-value.c: Improve test case.
20471 * gdb.python/py-value.exp: Add new test.
20472
5e703181
DE
204732014-04-07 David Blaikie <dblaikie@gmail.com>
20474
20475 * lib/compiler.c: Identify the clang compiler.
20476 * lib/compiler.cc: Ditto.
20477
9810b410
YQ
204782014-04-03 Yao Qi <yao@codesourcery.com>
20479
20480 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
20481
98d1b8dc
AB
204822014-04-01 Anton Blanchard <anton@samba.org>
20483
20484 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
20485 messages unique.
20486
3114cea1
AB
204872014-04-01 Anton Blanchard <anton@samba.org>
20488
20489 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
20490 prepare_for_testing.
20491
62f7182c
AB
204922014-04-01 Anton Blanchard <anton@samba.org>
20493
20494 * gdb.arch/ppc64-atomic-inst.c: Remove.
20495 * gdb.arch/ppc64-atomic-inst.S: New file.
20496 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
20497
770e7fc7
DE
204982014-03-31 Doug Evans <dje@google.com>
20499
20500 * gdb.base/print-symbol-loading-lib.c: New file.
20501 * gdb.base/print-symbol-loading-main.c: New file.
20502 * gdb.base/print-symbol-loading.exp: New file.
20503
46e2bafa
YQ
205042014-03-31 Yao Qi <yao@codesourcery.com>
20505
20506 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
20507
8776cfe9
JB
205082014-03-28 Joel Brobecker <brobecker@adacore.com>
20509
20510 * gdb.ada/mi_dyn_arr: New testcase.
20511
5d1ef361
DE
205122014-03-27 Doug Evans <dje@google.com>
20513
20514 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
20515
b5bee914
YQ
205162014-03-27 Yao Qi <yao@codesourcery.com>
20517
20518 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
20519 if target is nios2-*-*.
20520
0d4d0e77
YQ
205212014-03-26 Yao Qi <yao@codesourcery.com>
20522
20523 * lib/gdb.exp (readline_is_used): New proc.
20524 * gdb.base/completion.exp: Move tests on command complete up.
20525 Skip the rest of tests if readline is not used.
20526 * gdb.ada/complete.exp: Skp the test if readline is not
20527 used.
20528 * gdb.base/filesym.exp: Likewise.
20529 * gdb.base/macscp.exp: Likewise.
20530 * gdb.base/readline-ask.exp: Likewise.
20531 * gdb.base/readline.exp: Likewise.
20532 * gdb.python/py-cmd.exp: Likewise.
20533 * gdb.trace/tfile.exp: Likewise.
20534
29361eee
YQ
205352014-03-26 Yao Qi <yao@codesourcery.com>
20536
20537 * gdb.base/macscp.exp: Fix code format issues.
20538
bc9a5525
UW
205392014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
20540
20541 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
20542 * gdb.asm/powerpc64le.inc: New file.
20543
d3839ede
PA
205442014-03-25 Pedro Alves <palves@redhat.com>
20545 Doug Evans <dje@google.com>
20546
20547 * gdb.base/source-execution.c: New file.
20548 * gdb.base/source-execution.exp: New file.
20549 * gdb.base/source-execution.gdb: New file.
20550
01672a57
DE
205512014-03-24 Doug Evans <dje@google.com>
20552
20553 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
20554 using fission.
20555
88bbeca9
HZ
205562014-03-24 Hui Zhu <hui@codesourcery.com>
20557 Pedro Alves <palves@redhat.com>
20558
20559 PR breakpoints/16101
20560 * gdb.base/dprintf.exp: Use unsupported rather than changing the
20561 test pass/fail messages. Detect missing support for dprintf when
20562 breakpoints are actually inserted.
20563 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
20564 breakpoints are actually inserted.
20565 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
20566 fails.
20567
d2348791
JK
205682014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
20569
20570 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
20571
feef67ab
DE
205722014-03-22 Doug Evans <xdje42@gmail.com>
20573
20574 * gdb.python/python.exp (python not supported): Verify multi-line
20575 python command issues an error.
25d743f9 20576 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 20577 guile command issues an error.
feef67ab 20578
ecebef6a
MR
205792014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
20580
20581 * gdb.threads/thread-specific.exp: Handle the lack of usable
20582 $this_breakpoint and $this_thread.
20583
ccdd1909
HZ
205842014-03-21 Hui Zhu <hui@codesourcery.com>
20585
20586 * gdb.base/attach.exp (do_command_attach_tests): New.
20587
beb460e8
PA
205882014-03-20 Tom Tromey <tromey@redhat.com>
20589 Pedro Alves <palves@redhat.com>
20590
20591 PR cli/15718
20592 * gdb.base/condbreak-call-false.c: New file.
20593 * gdb.base/condbreak-call-false.exp: New file.
20594
40acf43a
PA
205952014-03-20 Pedro Alves <palves@redhat.com>
20596
20597 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
20598 Delete.
20599 (block_signals, unblock_signals): Delete.
20600 (child_function_2, main): Remove references to deleted variable
20601 and functions.
20602
9f5e1e02
PA
206032014-03-20 Pedro Alves <palves@redhat.com>
20604
20605 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
20606 Use pthread_kill to signal thread 2.
20607 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20608 Adjust to make the test send itself a signal rather than using the
20609 host's "kill" command.
20610
99619bea
PA
206112014-03-20 Pedro Alves <palves@redhat.com>
20612
20613 * gdb.threads/multiple-step-overs.c: New file.
20614 * gdb.threads/multiple-step-overs.exp: New file.
20615 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20616 Adjust expected infrun debug output.
20617
2adfaa28
PA
206182014-03-20 Pedro Alves <palves@redhat.com>
20619
20620 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
20621 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
20622
31e77af2
PA
206232014-03-20 Pedro Alves <palves@redhat.com>
20624
20625 PR breakpoints/7143
20626 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
20627 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
20628 of gdb_test_multiple.
20629 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
20630 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
20631
b9f437de
PA
206322014-03-20 Pedro Alves <palves@redhat.com>
20633
20634 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
20635 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
20636
05adc73e
PA
206372014-03-19 Pedro Alves <palves@redhat.com>
20638
20639 * gdb.base/async.exp: Remove early return.
20640
6048b950
PA
206412014-03-19 Pedro Alves <palves@redhat.com>
20642
20643 * gdb.base/async.exp (step& tests): Pass explicit test messages.
20644
8bcfb00a
PA
206452014-03-19 Pedro Alves <palves@redhat.com>
20646
20647 * gdb.base/async.exp (test_background): Expect \r\n after
20648 "completed." in the fail pattern.
20649
884e37dc
PA
206502014-03-19 Pedro Alves <palves@redhat.com>
20651
20652 * gdb.base/async.exp (test_background): New procedure.
20653 Use it for all background execution command tests.
20654
148e57e2
PA
206552014-03-19 Pedro Alves <palves@redhat.com>
20656
20657 * gdb.base/async.exp: Use prepare_for_testing.
20658
f48088c7
PA
206592014-03-19 Pedro Alves <palves@redhat.com>
20660
20661 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
20662 the same line.
20663
e2f6c966
PA
206642014-03-19 Pedro Alves <palves@redhat.com>
20665
20666 * gdb.base/async.c (main): Add "jump here" and "until here" line
20667 marker comments.
20668 * gdb.base/async.exp (jump_here): New global.
20669 (jump& test): Use it.
20670 (until_here): New global.
20671 (until& test): Use it.
20672
c30568d4
PA
206732014-03-19 Pedro Alves <palves@redhat.com>
20674
20675 * gdb.base/async.exp: Don't frob gdb_protocol.
20676
0172b6a7
DE
206772014-03-18 Doug Evans <xdje42@gmail.com>
20678
20679 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
20680 Fix spelling of exec-done-display.
20681
06c868a8
JK
206822014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
20683
20684 PR gdb/15358
20685 * gdb.base/gdb-sigterm.c: New file.
20686 * gdb.base/gdb-sigterm.exp: New file.
20687
0c7e1a46
PA
206882014-03-18 Pedro Alves <palves@redhat.com>
20689
20690 PR gdb/13860
20691 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
20692 * lib/mi-support.exp (mi_expect_stop): Add special handling for
20693 solib-event.
20694
f7c77d93
JB
206952014-03-17 Joel Brobecker <brobecker@adacore.com>
20696
20697 * gdb.ada/pckd_arr_ren: New testcase.
20698
5a1e8c7a
DE
206992014-03-13 Doug Evans <xdje42@gmail.com>
20700
20701 PR guile/16612
20702 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
20703 collect after discarding symbols.
20704
350e1a76
DE
207052014-03-13 Ludovic Courtès <ludo@gnu.org>
20706 Doug Evans <xdje42@gmail.com>
20707
20708 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
20709 to history survives a gc.
20710
a69900ae
PA
207112014-03-13 Pedro Alves <palves@redhat.com>
20712
20713 * gdb.base/default.exp: Don't test "target procfs".
20714
5db9f0bd
PA
207152014-03-13 Pedro Alves <palves@redhat.com>
20716
20717 * gdb.base/default.exp: Update "target child" and "target procfs"
20718 tests to not expect "Unix".
20719
b3ccfe11
TT
207202014-03-12 Tom Tromey <tromey@redhat.com>
20721
20722 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
20723 New procs. Add target-async tests.
20724 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
20725 Add target-async tests.
20726
646f4417
AA
207272014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20728
20729 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
20730 'func_start' and 'func_end' for the beginning and end of the
20731 function code, respectively.
20732 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
20733 'func_end' instead of 'func' and 'main'.
20734
288c211f
AA
207352014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20736
20737 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
20738 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
20739 generate the debug info assembler source.
20740
e0c0f156
AA
207412014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20742
20743 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
20744 * gdb.dwarf2/arr-subrange.exp: Likewise.
20745 * gdb.dwarf2/dwz.exp: Likewise.
20746 * gdb.dwarf2/method-ptr.exp: Likewise.
20747 * gdb.dwarf2/missing-sig-type.exp: Likewise.
20748 * gdb.dwarf2/subrange.exp: Likewise.
20749 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
20750 * gdb.dwarf2/implptrpiece.exp: Likewise.
20751 * gdb.dwarf2/nostaticblock.exp: Likewise.
20752
0e5c4555
AA
207532014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20754
20755 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
20756 directory to absolute path name arguments.
20757
5ec18f2b
JG
207582014-03-10 Joel Brobecker <brobecker@adacore.com>
20759
20760 * gdb.ada/tagged_access: New testcase.
20761
847fc4f2
MM
207622014-03-07 Markus Metzger <markus.t.metzger@intel.com>
20763
20764 * gdb.btrace/data.exp: Update expected output.
20765
cc3da688
YQ
207662014-03-06 Yao Qi <yao@codesourcery.com>
20767
20768 * gdb.trace/pr16508.exp: New file.
20769
0f26cec1
PA
207702014-03-05 Pedro Alves <palves@redhat.com>
20771
20772 PR gdb/16575
20773 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
20774 procedure.
20775 (top level): Adjust to use it. Add tests that exercise breakpoint
20776 interaction with the code-cache.
20777
7a5a839f
LC
207782014-02-26 Ludovic Courtès <ludo@gnu.org>
20779
20780 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
20781 test for 'history-append!'.
20782
31aa7e4e
JB
207832014-02-26 Joel Brobecker <brobecker@adacore.com>
20784
20785 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
20786 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
20787 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
20788 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
20789 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
20790 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
20791
1b588015
JB
207922014-02-26 Joel Brobecker <brobecker@adacore.com>
20793
20794 * testsuite/gdb.python/py-pp-re-notag.c: New file.
20795 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
20796 * testsuite/gdb.python/py-pp-re-notag.p: New file.
20797
55426c9d
JB
207982014-02-26 Joel Brobecker <brobecker@adacore.com>
20799
20800 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
20801
dc53a7ad
JB
208022014-02-26 Joel Brobecker <brobecker@adacore.com>
20803
20804 * gdb.dwarf2/arr-stride.c: New file.
20805 * gdb.dwarf2/arr-stride.exp: New file.
20806
12ab52e9
PA
208072014-02-26 Pedro Alves <palves@redhat.com>
20808
20809 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
20810 that won't ever trigger. Make sure that GDB reports the correct
20811 breakpoint that caused the stop.
20812
849c862e
JK
208132014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20814
20815 PR gdb/16626
20816 * gdb.base/auto-load-script: New file.
20817 * gdb.base/auto-load.c: New file.
20818 * gdb.base/auto-load.exp: New file.
20819
71b7d793
JK
20820 PR gdb/16626
20821 * gdb.base/auto-load.exp: Fix out-of-srctree run.
20822
e2f0d509
JK
208232014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20824
20825 Fix dw2-icycle.exp -fsanitize=address GDB crash.
20826 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
20827
50cc37c8
DE
208282014-02-24 Doug Evans <dje@google.com>
20829
20830 * lib/gdb.exp (run_on_host): Log error output if program fails.
20831
ea4758f2
PA
208322014-02-21 Pedro Alves <palves@redhat.com>
20833
20834 * gdb.threads/step-after-sr-lock.c: Rename to ...
20835 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
20836 * gdb.threads/step-after-sr-lock.exp: Rename to ...
20837 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20838 ... this.
20839
d7b30f67
SDJ
208402014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
20841
20842 PR tdep/16397
20843 * gdb.arch/amd64-stap-special-operands.exp: New file.
20844 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
20845 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
20846 * gdb.arch/amd64-stap-triplet.S: Likewise.
20847 * gdb.arch/amd64-stap-triplet.c: Likewise.
20848
83deb43f
JB
208492014-02-20 Joel Brobecker <brobecker@adacore.com>
20850
20851 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
20852 in .section pseudo-op.
20853
adde2bff
DE
208542014-02-20 lin zuojian <manjian2006@gmail.com>
20855 Joel Brobecker <brobecker@adacore.com>
20856 Doug Evans <xdje42@gmail.com>
20857
20858 PR symtab/16581
20859 * gdb.dwarf2/dw2-icycle.S: New file.
20860 * gdb.dwarf2/dw2-icycle.c: New file.
20861 * gdb.dwarf2/dw2-icycle.exp: New file.
20862
f7bd0f78
SC
208632014-02-19 Siva Chandra Reddy <sivachandra@google.com>
20864
20865 * gdb.python/py-value-cc.cc: Improve test case to enable testing
20866 operations on gdb.Value objects.
20867 * gdb.python/py-value-cc.exp: Add new test to test operations on
20868 gdb.Value objects.
20869
c17ef0d5
DE
208702014-02-18 Doug Evans <dje@google.com>
20871
20872 * Makefile.in (TESTS): New variable.
20873 (expanded_tests, expanded_tests_or_none): New variables
20874 (check-single): Pass $(expanded_tests_or_none) to runtest.
20875 (check-parallel): Only run tests in $(TESTS) if non-empty.
20876 (check/no-matching-tests-found): New rule.
20877 * README: Document TESTS makefile variable.
20878
5dd3176f
DE
208792014-02-18 Doug Evans <dje@google.com>
20880
20881 * Makefile.in (check-parallel): rm -rf outputs temp.
20882
0b10be4f
JK
208832014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20884
20885 Fix "ERROR: no fileid for" in the testsuite.
20886 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
20887
85f224e7
DE
208882014-02-12 Doug Evans <dje@google.com>
20889
20890 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
20891 (MISCELLANEOUS): New variable.
20892 (clean): rm -rf $(MISCELLANEOUS).
20893 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
20894 dwp live in the same directory as symlinks, with each symlink pointed
20895 to a differently named file in a different directory.
20896
149b30ff
DE
208972014-02-11 Doug Evans <dje@google.com>
20898
20899 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
20900 of Tcl file commands.
20901
1dfdac32
MK
209022014-02-10 Mark Kettenis <kettenis@gnu.org>
20903
20904 * gdb.threads/step-after-sr-lock.exp: Avoid executing
20905 "kill -SIGUSR1 -1".
20906
aa4fb036
JB
209072014-02-10 Joel Brobecker <brobecker@adacore.com>
20908
20909 * gdb.ada/tick_length_array_enum_idx: New testcase.
20910
ed3ef339
DE
209112014-02-10 Doug Evans <xdje42@gmail.com>
20912
20913 * configure.ac (AC_OUTPUT): Add gdb.guile.
20914 * configure: Regenerate.
20915 * lib/gdb-guile.exp: New file.
20916 * lib/gdb.exp (get_target_charset): New function.
20917 * gdb.base/help.exp: Update expected output from "apropos apropos".
20918 * gdb.guile/Makefile.in: New file.
20919 * gdb.guile/guile.exp: New file.
20920 * gdb.guile/scm-arch.c: New file.
20921 * gdb.guile/scm-arch.exp: New file.
20922 * gdb.guile/scm-block.c: New file.
20923 * gdb.guile/scm-block.exp: New file.
20924 * gdb.guile/scm-breakpoint.c: New file.
20925 * gdb.guile/scm-breakpoint.exp: New file.
20926 * gdb.guile/scm-disasm.c: New file.
20927 * gdb.guile/scm-disasm.exp: New file.
20928 * gdb.guile/scm-equal.c: New file.
20929 * gdb.guile/scm-equal.exp: New file.
20930 * gdb.guile/scm-error.exp: New file.
20931 * gdb.guile/scm-error.scm: New file.
20932 * gdb.guile/scm-frame-args.c: New file.
20933 * gdb.guile/scm-frame-args.exp: New file.
20934 * gdb.guile/scm-frame-args.scm: New file.
20935 * gdb.guile/scm-frame-inline.c: New file.
20936 * gdb.guile/scm-frame-inline.exp: New file.
20937 * gdb.guile/scm-frame.c: New file.
20938 * gdb.guile/scm-frame.exp: New file.
20939 * gdb.guile/scm-generics.exp: New file.
20940 * gdb.guile/scm-gsmob.exp: New file.
20941 * gdb.guile/scm-iterator.c: New file.
20942 * gdb.guile/scm-iterator.exp: New file.
20943 * gdb.guile/scm-math.c: New file.
20944 * gdb.guile/scm-math.exp: New file.
20945 * gdb.guile/scm-objfile-script-gdb.in: New file.
20946 * gdb.guile/scm-objfile-script.c: New file.
20947 * gdb.guile/scm-objfile-script.exp: New file.
20948 * gdb.guile/scm-objfile.c: New file.
20949 * gdb.guile/scm-objfile.exp: New file.
20950 * gdb.guile/scm-ports.exp: New file.
20951 * gdb.guile/scm-pretty-print.c: New file.
20952 * gdb.guile/scm-pretty-print.exp: New file.
20953 * gdb.guile/scm-pretty-print.scm: New file.
20954 * gdb.guile/scm-section-script.c: New file.
20955 * gdb.guile/scm-section-script.exp: New file.
20956 * gdb.guile/scm-section-script.scm: New file.
20957 * gdb.guile/scm-symbol.c: New file.
20958 * gdb.guile/scm-symbol.exp: New file.
20959 * gdb.guile/scm-symtab-2.c: New file.
20960 * gdb.guile/scm-symtab.c: New file.
20961 * gdb.guile/scm-symtab.exp: New file.
20962 * gdb.guile/scm-type.c: New file.
20963 * gdb.guile/scm-type.exp: New file.
20964 * gdb.guile/scm-value-cc.cc: New file.
20965 * gdb.guile/scm-value-cc.exp: New file.
20966 * gdb.guile/scm-value.c: New file.
20967 * gdb.guile/scm-value.exp: New file.
20968 * gdb.guile/source2.scm: New file.
20969 * gdb.guile/types-module.cc: New file.
20970 * gdb.guile/types-module.exp: New file.
20971
7026a7c1
YQ
209722014-02-10 Yao Qi <yao@codesourcery.com>
20973
20974 PR testsuite/16543
20975 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
20976 * configure: Regenerated.
20977 * Makefile.in: New file.
20978
6c466447
AS
209792014-02-08 Andreas Schwab <schwab@linux-m68k.org>
20980
20981 * gdb.python/py-framefilter.exp: Fix typo.
20982
6e854735
YQ
209832014-02-08 Yao Qi <yao@codesourcery.com>
20984
20985 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
20986 that no =breakpoint-modified is emitted when breakpoints are
20987 modified through MI commands.
20988
d137e6dc
PA
209892014-02-07 Pedro Alves <pedro@codesourcery.com>
20990 Pedro Alves <palves@redhat.com>
20991
20992 * gdb.threads/step-after-sr-lock.c: New file.
20993 * gdb.threads/step-after-sr-lock.exp: New file.
20994
b5ee5a50
PA
209952014-02-07 Pedro Alves <palves@redhat.com>
20996
20997 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
20998
3c77faf3
JK
209992014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
21000
21001 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
21002 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
21003
6dddc817
DE
210042014-02-06 Doug Evans <xdje42@gmail.com>
21005
21006 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
21007 output.
21008
21009 * gdb.gdb/python-interrupts.exp: New file.
21010
de7b2893
YQ
210112014-02-05 Yao Qi <yao@codesourcery.com>
21012
21013 * gdb.trace/report.exp (use_collected_data): Test the output
21014 of "info threads" and "info inferiors".
21015
66d032ac
YQ
210162014-02-05 Yao Qi <yao@codesourcery.com>
21017
21018 Revert this patch:
21019
21020 2013-05-24 Yao Qi <yao@codesourcery.com>
21021
21022 * gdb.trace/tfile.exp: Test inferior and thread.
21023
591a12a1
UW
210242014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21025
21026 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
21027 on a function.
21028 * gdb.base/step-bt.c: Call hello via function pointer to make
21029 sure its first instruction is executed on powerpc64le-linux.
21030
0ff3e01f
UW
210312014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21032
21033 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
21034
084ee545
UW
210352014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21036
21037 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
21038 of the test patterns for use on little-endian systems.
21039
6ed14ff3
UW
210402014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21041
21042 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
21043 (decimal_vector): Fix for little-endian.
21044
401e27fd
JM
210452014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
21046
21047 * gdb.arch/sparc-sysstep.exp: New file.
21048 * gdb.arch/sparc-sysstep.c: Likewise.
21049
21050 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
21051
8b924729
EBM
210522014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21053
21054 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
21055
fb151210
JB
210562014-01-23 Tom Tromey <tromey@redhat.com>
21057
21058 * gdb.ada/array_char_idx: New testcase.
21059
0740f8d8
TT
210602014-01-23 Tom Tromey <tromey@redhat.com>
21061
21062 PR python/16487:
21063 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
21064 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
21065 classes.
21066
21909fa1
TT
210672014-01-23 Tom Tromey <tromey@redhat.com>
21068
21069 PR python/16491:
21070 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
21071 string from an inferior frame.
21072 * gdb.python/py-framefilter-mi.exp: Update.
21073
87ce2a04
DE
210742014-01-22 Doug Evans <dje@google.com>
21075
21076 * gdb.server/server-mon.exp: Add tests for "set debug-format".
21077
237b092b
AA
210782014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21079
21080 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
21081
d674a709
AA
210822014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21083
21084 * gdb.trace/entry-values.exp: Remove excess space character from
21085 regex patterns. Handle s390 call instruction.
21086
20fa3390
AA
210872014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21088
21089 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
21090 define "*_start" label. Make "name" static.
21091 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
21092 ${name} by references to ${name}_start.
21093
78466714
AA
210942014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21095
21096 * gdb.base/info-macros.exp: Remove "debug" from the compile
21097 options.
21098
ec9f644a
IB
210992014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21100
21101 * gdb.dlang/demangle.exp: New file.
21102
94b1b47e
IB
211032014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21104
21105 * gdb.dlang/primitive-types.exp: New file.
21106
7f420862
IB
211072014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21108
21109 * configure.ac: Create gdb.dlang/Makefile.
21110 * configure: Regenerate.
21111 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
21112 * gdb.dlang/Makefile.in: New file.
21113 * lib/d-support.exp: New file.
21114 * lib/gdb.exp (skip_d_tests): New proc.
21115
52834460
MM
211162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21117
21118 * gdb.btrace/delta.exp: Check reverse stepi.
21119 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
21120 * gdb.btrace/finish.exp: New.
21121 * gdb.btrace/next.exp: New.
21122 * gdb.btrace/nexti.exp: New.
21123 * gdb.btrace/record_goto.c: Add comments.
21124 * gdb.btrace/step.exp: New.
21125 * gdb.btrace/stepi.exp: New.
21126 * gdb.btrace/multi-thread-step.c: New.
21127 * gdb.btrace/multi-thread-step.exp: New.
21128 * gdb.btrace/rn-dl-bind.c: New.
21129 * gdb.btrace/rn-dl-bind.exp: New.
21130 * gdb.btrace/data.c: New.
21131 * gdb.btrace/data.exp: New.
21132 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21133
6e07b1d2
MM
211342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21135
21136 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
21137 * gdb.btrace/exception.exp: Update.
21138 * gdb.btrace/instruction_history.exp: Update.
21139 * gdb.btrace/record_goto.exp: Update.
21140 * gdb.btrace/tailcall.exp: Update.
21141 * gdb.btrace/unknown_functions.exp: Update.
21142 * gdb.btrace/delta.exp: New.
21143
0b722aec
MM
211442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21145
21146 * gdb.btrace/record_goto.exp: Add backtrace test.
21147 * gdb.btrace/tailcall.exp: Add backtrace test.
21148
066ce621
MM
211492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21150
21151 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
21152 * gdb.btrace/record_goto.c: New.
21153 * gdb.btrace/record_goto.exp: New.
21154 * gdb.btrace/x86-record_goto.S: New.
21155
0688d04e
MM
211562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21157
21158 * gdb.btrace/function_call_history.exp: Update tests.
21159 * gdb.btrace/instruction_history.exp: Update tests.
21160
8710b709
MM
211612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21162
21163 * gdb.btrace/function_call_history.exp: Fix expected field
21164 order for "record function-call-history".
21165 Add new tests for "record function-call-history /c".
21166 * gdb.btrace/exception.cc: New.
21167 * gdb.btrace/exception.exp: New.
21168 * gdb.btrace/tailcall.exp: New.
21169 * gdb.btrace/x86-tailcall.S: New.
21170 * gdb.btrace/x86-tailcall.c: New.
21171 * gdb.btrace/unknown_functions.c: New.
21172 * gdb.btrace/unknown_functions.exp: New.
21173 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21174
5de9129b
MM
211752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21176
21177 * gdb.btrace/instruction_history.exp: Update.
21178 * gdb.btrace/function_call_history.exp: Update.
21179
23a7fe75
MM
211802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21181
21182 * gdb.btrace/function_call_history.exp: Fix expected function
21183 trace.
21184 * gdb.btrace/instruction_history.exp: Initialize traced.
21185 Remove traced_functions.
21186
724c7dd8
MM
211872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21188
21189 * gdb.btrace/function_call_history.exp: Update
21190 * gdb.btrace/instruction_history.exp: Update.
21191
6d78d93b
MM
211922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21193
21194 * gdb.btrace/enable.exp: Update expected text.
21195
93a360cc
OJ
211962014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
21197
21198 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
21199 bytes.
21200
3772b53f
MR
212012014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
21202
21203 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
21204
596662fa
OJ
212052014-01-15 Omair Javaid <omair.javaid@linaro.org>
21206
21207 * lib/gdb.exp (supports_process_record): Return true for
21208 arm*-linux*. (supports_reverse): Likewise.
21209
b5b08fb4
SC
212102014-01-13 Siva Chandra Reddy <sivachandra@google.com>
21211
21212 PR python/15464
21213 PR python/16113
21214 * gdb.python/py-type.c: Enhance test case.
21215 * gdb.python/py-value-cc.cc: Likewise
21216 * gdb.python/py-type.exp: Add new tests.
21217 * gdb.python/py-value-cc.exp: Likewise
21218
52d7fb13
AA
212192014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
21220 Pedro Alves <palves@redhat.com>
21221
21222 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
21223 Make "name" extern.
21224 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
21225 references to ${name}_start by references to ${name}.
21226
a2cd8cfe
JB
212272014-01-10 Joel Brobecker <brobecker@adacore.com>
21228
21229 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
21230
4e23fced
JB
212312014-01-10 Joel Brobecker <brobecker@adacore.com>
21232
21233 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
21234
c6a9e42c
PA
212352014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
21236 Pedro Alves <palves@redhat.com>
21237
21238 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 21239 mi_gdb_target_load.
c6a9e42c 21240
b7ea362b
PA
212412014-01-08 Pedro Alves <palves@redhat.com>
21242
21243 * gdb.threads/reconnect-signal.c: New file.
21244 * gdb.threads/reconnect-signal.exp: New file.
21245
5e3f4fab
EBM
212462014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21247
21248 * gdb.base/source-dir.exp: New file.
21249
79301218
JB
212502014-01-07 Joel Brobecker <brobecker@adacore.com>
21251
21252 * gdb.ada/mi_interface: New testcase.
21253
8e355c5d
JB
212542014-01-07 Joel Brobecker <brobecker@adacore.com>
21255
21256 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
21257 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
21258 gdb.ada/pp-rec-component/pck.ads: New files.
21259
c0d48811
JB
212602014-01-07 Joel Brobecker <brobecker@adacore.com>
21261
21262 * gdb.python/py-pp-integral.c: New file.
21263 * gdb.python/py-pp-integral.py: New file.
21264 * gdb.python/py-pp-integral.exp: New file.
21265
17b609c3 21266For older changes see ChangeLog-1993-2013.
c906108c 21267\f
8d8cb839
EZ
21268;; Local Variables:
21269;; mode: change-log
21270;; left-margin: 8
21271;; fill-column: 74
21272;; version-control: never
21273;; End:
902f2ccb 21274
b811d2c2 21275 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
21276 Copying and distribution of this file, with or without modification,
21277 are permitted provided the copyright notice and this notice are preserved.