1 2020-08-28 Tom de Vries <tdevries@suse.de>
3 * gdb.base/label-without-address.c: New test.
4 * gdb.base/label-without-address.exp: New file.
6 2020-08-27 Pedro Alves <pedro@palves.net>
10 * gdb.base/advance-until-multiple-locations.cc: New.
11 * gdb.base/advance-until-multiple-locations.exp: New.
13 2020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
15 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
17 2020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
19 * gdb.arch/amd64-byte.exp: Make test names unique, use
20 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
21 * gdb.arch/amd64-dword.exp: Likewise.
22 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
23 * gdb.arch/amd64-stap-special-operands.exp: Make test names
25 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
26 * gdb.arch/amd64-word.exp: Make test names unique, use
27 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
28 * gdb.arch/i386-byte.exp: Make test names unique, use
30 * gdb.arch/i386-word.exp: Likewise.
32 2020-08-25 Shahab Vahedi <shahab@synopsys.com>
34 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
36 2020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
39 * gdb.threads/stepi-random-signal.exp: Update pattern.
41 2020-08-25 Simon Marchi <simon.marchi@efficios.com>
44 * gdb.base/ui-redirect.exp: Update pattern.
46 2020-08-25 Gary Benson <gbenson@redhat.com>
48 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
49 when compiling with clang.
50 * gdb.dwarf2/dw2-restore.exp: Likewise.
52 2020-08-25 Gary Benson <gbenson@redhat.com>
54 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
55 Add additional_flags=-Wno-inaccessible-base when compiling
56 with GCC >= 10.1 or clang. Add additional_flags=-w when
57 compiling with GCC < 10.
59 2020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
62 * gdb.modula2/multidim.c: New file.
63 * gdb.modula2/multidim.exp: New file.
65 2020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
67 * lib/gdb.exp (runto): Always emit fail on internal error.
69 2020-08-24 Simon Marchi <simon.marchi@efficios.com>
71 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
72 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
74 * gdb.threads/stepi-random-signal.exp: Likewise.
76 2020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
78 * gdb.base/print-file-var.exp: Fix typo "breapoint".
79 * gdb.trace/strace.exp: Ditto.
81 2020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
83 * gdb.fortran/vla-type.exp: Skip commands not required for
84 the Flang compiled binaries after prologue fix.
86 2020-08-17 Tom de Vries <tdevries@suse.de>
87 Tom Tromey <tromey@adacore.com>
90 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
92 2020-08-17 Tom Tromey <tromey@adacore.com>
94 * gdb.ada/mi_var_access.exp: New file.
95 * gdb.ada/mi_var_access/mi_access.adb: New file.
96 * gdb.ada/mi_var_access/pck.adb: New file.
97 * gdb.ada/mi_var_access/pck.ads: New file.
99 2020-08-16 Tom de Vries <tdevries@suse.de>
102 * gdb.base/eh_return.c: New test.
103 * gdb.base/eh_return.exp: New file.
105 2020-08-15 Tom de Vries <tdevries@suse.de>
107 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
108 (mixed_func_1d_): Use fortran_charlen_t in decl.
110 2020-08-15 Tom de Vries <tdevries@suse.de>
113 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
114 Update expected pattern.
116 2020-08-13 Pedro Alves <pedro@palves.net>
118 * gdb.fortran/complex.exp: Check skip_fortran_tests.
119 * gdb.fortran/library-module.exp: Likewise.
120 * gdb.fortran/logical.exp: Likewise.
121 * gdb.fortran/module.exp: Likewise.
122 * gdb.fortran/print_type.exp: Likewise.
123 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
124 * gdb.fortran/vla-datatypes.exp: Likewise.
125 * gdb.fortran/vla-history.exp: Likewise.
126 * gdb.fortran/vla-ptr-info.exp: Likewise.
127 * gdb.fortran/vla-ptype-sub.exp: Likewise.
128 * gdb.fortran/vla-ptype.exp: Likewise.
129 * gdb.fortran/vla-sizeof.exp: Likewise.
130 * gdb.fortran/vla-type.exp: Likewise.
131 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
132 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
133 * gdb.fortran/vla-value-sub.exp: Likewise.
134 * gdb.fortran/vla-value.exp: Likewise.
136 2020-08-13 Pedro Alves <pedro@palves.net>
138 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
139 * gdb.ada/access_to_packed_array.exp: Likewise.
140 * gdb.ada/access_to_unbounded_array.exp: Likewise.
141 * gdb.ada/addr_arith.exp: Likewise.
142 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
143 * gdb.ada/arr_arr.exp: Likewise.
144 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
145 * gdb.ada/array_bounds.exp: Likewise.
146 * gdb.ada/array_of_variable_length.exp: Likewise.
147 * gdb.ada/array_ptr_renaming.exp: Likewise.
148 * gdb.ada/array_subscript_addr.exp: Likewise.
149 * gdb.ada/arraydim.exp: Likewise.
150 * gdb.ada/arrayparam.exp: Likewise.
151 * gdb.ada/arrayptr.exp: Likewise.
152 * gdb.ada/assign_1.exp: Likewise.
153 * gdb.ada/assign_arr.exp: Likewise.
154 * gdb.ada/atomic_enum.exp: Likewise.
155 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
156 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
157 * gdb.ada/bias.exp: Likewise.
158 * gdb.ada/boolean_expr.exp: Likewise.
159 * gdb.ada/bp_c_mixed_case.exp: Likewise.
160 * gdb.ada/bp_enum_homonym.exp: Likewise.
161 * gdb.ada/bp_inlined_func.exp: Likewise.
162 * gdb.ada/bp_on_var.exp: Likewise.
163 * gdb.ada/bp_range_type.exp: Likewise.
164 * gdb.ada/bp_reset.exp: Likewise.
165 * gdb.ada/call_pn.exp: Likewise.
166 * gdb.ada/catch_assert_if.exp: Likewise.
167 * gdb.ada/catch_ex.exp: Likewise.
168 * gdb.ada/catch_ex_std.exp: Likewise.
169 * gdb.ada/char_enum.exp: Likewise.
170 * gdb.ada/char_param.exp: Likewise.
171 * gdb.ada/complete.exp: Likewise.
172 * gdb.ada/cond_lang.exp: Likewise.
173 * gdb.ada/convvar_comp.exp: Likewise.
174 * gdb.ada/dgopt.exp: Likewise.
175 * gdb.ada/disc_arr_bound.exp: Likewise.
176 * gdb.ada/display_nested.exp: Likewise.
177 * gdb.ada/dot_all.exp: Likewise.
178 * gdb.ada/dyn_loc.exp: Likewise.
179 * gdb.ada/dyn_stride.exp: Likewise.
180 * gdb.ada/excep_handle.exp: Likewise.
181 * gdb.ada/expr_delims.exp: Likewise.
182 * gdb.ada/expr_with_funcall.exp: Likewise.
183 * gdb.ada/exprs.exp: Likewise.
184 * gdb.ada/fin_fun_out.exp: Likewise.
185 * gdb.ada/fixed_cmp.exp: Likewise.
186 * gdb.ada/formatted_ref.exp: Likewise.
187 * gdb.ada/frame_arg_lang.exp: Likewise.
188 * gdb.ada/frame_args.exp: Likewise.
189 * gdb.ada/fullname_bp.exp: Likewise.
190 * gdb.ada/fun_addr.exp: Likewise.
191 * gdb.ada/fun_in_declare.exp: Likewise.
192 * gdb.ada/fun_overload_menu.exp: Likewise.
193 * gdb.ada/fun_renaming.exp: Likewise.
194 * gdb.ada/funcall_char.exp: Likewise.
195 * gdb.ada/funcall_param.exp: Likewise.
196 * gdb.ada/funcall_ptr.exp: Likewise.
197 * gdb.ada/funcall_ref.exp: Likewise.
198 * gdb.ada/homonym.exp: Likewise.
199 * gdb.ada/info_addr_mixed_case.exp: Likewise.
200 * gdb.ada/info_auto_lang.exp: Likewise.
201 * gdb.ada/info_exc.exp: Likewise.
202 * gdb.ada/info_types.exp: Likewise.
203 * gdb.ada/int_deref.exp: Likewise.
204 * gdb.ada/interface.exp: Likewise.
205 * gdb.ada/iwide.exp: Likewise.
206 * gdb.ada/lang_switch.exp: Likewise.
207 * gdb.ada/length_cond.exp: Likewise.
208 * gdb.ada/maint_with_ada.exp: Likewise.
209 * gdb.ada/mi_catch_assert.exp: Likewise.
210 * gdb.ada/mi_catch_ex.exp: Likewise.
211 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
212 * gdb.ada/mi_dyn_arr.exp: Likewise.
213 * gdb.ada/mi_ex_cond.exp: Likewise.
214 * gdb.ada/mi_exc_info.exp: Likewise.
215 * gdb.ada/mi_interface.exp: Likewise.
216 * gdb.ada/mi_prot.exp: Likewise.
217 * gdb.ada/mi_ref_changeable.exp: Likewise.
218 * gdb.ada/mi_string_access.exp: Likewise.
219 * gdb.ada/mi_task_arg.exp: Likewise.
220 * gdb.ada/mi_task_info.exp: Likewise.
221 * gdb.ada/mi_var_array.exp: Likewise.
222 * gdb.ada/mi_var_union.exp: Likewise.
223 * gdb.ada/mi_variant.exp: Likewise.
224 * gdb.ada/minsyms.exp: Likewise.
225 * gdb.ada/mod_from_name.exp: Likewise.
226 * gdb.ada/nested.exp: Likewise.
227 * gdb.ada/null_array.exp: Likewise.
228 * gdb.ada/optim_drec.exp: Likewise.
229 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
230 * gdb.ada/packed_array_assign.exp: Likewise.
231 * gdb.ada/packed_tagged.exp: Likewise.
232 * gdb.ada/pp-rec-component.exp: Likewise.
233 * gdb.ada/print_chars.exp: Likewise.
234 * gdb.ada/print_pc.exp: Likewise.
235 * gdb.ada/ptr_typedef.exp: Likewise.
236 * gdb.ada/ptype_arith_binop.exp: Likewise.
237 * gdb.ada/ptype_array.exp: Likewise.
238 * gdb.ada/ptype_field.exp: Likewise.
239 * gdb.ada/ptype_tagged_param.exp: Likewise.
240 * gdb.ada/ptype_union.exp: Likewise.
241 * gdb.ada/py_range.exp: Likewise.
242 * gdb.ada/py_taft.exp: Likewise.
243 * gdb.ada/rdv_wait.exp: Likewise.
244 * gdb.ada/rec_comp.exp: Likewise.
245 * gdb.ada/rec_return.exp: Likewise.
246 * gdb.ada/ref_param.exp: Likewise.
247 * gdb.ada/ref_tick_size.exp: Likewise.
248 * gdb.ada/rename_subscript_param.exp: Likewise.
249 * gdb.ada/repeat_dyn.exp: Likewise.
250 * gdb.ada/same_component_name.exp: Likewise.
251 * gdb.ada/same_enum.exp: Likewise.
252 * gdb.ada/scalar_storage.exp: Likewise.
253 * gdb.ada/set_wstr.exp: Likewise.
254 * gdb.ada/small_reg_param.exp: Likewise.
255 * gdb.ada/str_binop_equal.exp: Likewise.
256 * gdb.ada/str_ref_cmp.exp: Likewise.
257 * gdb.ada/str_uninit.exp: Likewise.
258 * gdb.ada/sub_variant.exp: Likewise.
259 * gdb.ada/sym_print_name.exp: Likewise.
260 * gdb.ada/taft_type.exp: Likewise.
261 * gdb.ada/tagged.exp: Likewise.
262 * gdb.ada/tagged_access.exp: Likewise.
263 * gdb.ada/task_bp.exp: Likewise.
264 * gdb.ada/task_switch_in_core.exp: Likewise.
265 * gdb.ada/tasks.exp: Likewise.
266 * gdb.ada/tick_last_segv.exp: Likewise.
267 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
268 * gdb.ada/type_coercion.exp: Likewise.
269 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
270 * gdb.ada/unchecked_union.exp: Likewise.
271 * gdb.ada/uninitialized_vars.exp: Likewise.
272 * gdb.ada/var_arr_attrs.exp: Likewise.
273 * gdb.ada/var_arr_typedef.exp: Likewise.
274 * gdb.ada/var_rec_arr.exp: Likewise.
275 * gdb.ada/variant-record.exp: Likewise.
276 * gdb.ada/variant.exp: Likewise.
277 * gdb.ada/variant_record_packed_array.exp: Likewise.
278 * gdb.ada/varsize_limit.exp: Likewise.
279 * gdb.ada/whatis_array_val.exp: Likewise.
280 * gdb.ada/widewide.exp: Likewise.
281 * gdb.ada/win_fu_syms.exp: Likewise.
283 2020-08-12 Gary Benson <gbenson@redhat.com>
285 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
287 2020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
289 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
290 unset the array variable.
292 2020-08-03 Tom de Vries <tdevries@suse.de>
295 * lib/dwarf.exp (DW_LNE_user): New proc.
296 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
297 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
299 2020-07-31 Kevin Buettner <kevinb@redhat.com>
301 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
303 (inttypes.h): Include.
305 2020-07-31 Kevin Buettner <kevinb@redhat.com>
307 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
309 (C5_8k, C5_64k, C5_256k): New macros.
310 (buf_ro): Allocate 256 KiB of initialized data.
312 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
314 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
315 that attempt to overwrite an existing condition with a condition
316 that fails parsing and also with a condition that parses fine
317 but contains junk at the end.
319 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
321 * gdb.base/condbreak-bad.c: New test.
322 * gdb.base/condbreak-bad.exp: New file.
324 2020-07-30 Tom de Vries <tdevries@suse.de>
326 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
328 (GDBInfoModuleSymbols::check_entry): ... here.
329 (GDBInfoModuleSymbols::check_optional_entry): New proc.
330 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
331 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
333 2020-07-30 Tom de Vries <tdevries@suse.de>
335 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
336 "__class_some_module_Number_t" optional.
338 2020-07-29 Tom de Vries <tdevries@suse.de>
340 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
343 2020-07-29 Tom de Vries <tdevries@suse.de>
345 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
346 rather than function name.
348 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
351 * gdb.cp/disasm-func-name.cc: New file.
352 * gdb.cp/disasm-func-name.exp: New file.
354 2020-07-28 Tom Tromey <tromey@adacore.com>
356 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
359 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
361 * gdb.python/py-unwind.py: Update to make use of a register
364 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
366 * gdb.python/py-arch-reg-names.exp: Add additional tests.
368 2020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
372 * gdb.fortran/class-allocatable-array.exp: New file.
373 * gdb.fortran/class-allocatable-array.f90: New file.
374 * gdb.fortran/pointer-to-pointer.exp: New file.
375 * gdb.fortran/pointer-to-pointer.f90: New file.
377 2020-07-25 Tom de Vries <tdevries@suse.de>
380 * gdb.dwarf2/dw2-line-number-zero.c: New test.
381 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
383 2020-07-24 Tom de Vries <tdevries@suse.de>
386 * gdb.ada/mi_prot.exp: Require gnatmake-8.
388 2020-07-23 Pedro Alves <pedro@palves.net>
390 * gdb.server/server-kill.exp (prepare): New, factored out from the
393 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
394 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
396 2020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
398 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
400 2020-07-22 Sandra Loosemore <sandra@codesourcery.com>
402 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
403 Initialize to empty string at top level.
404 (gdb_wrapper_init): Revert check for file existence on build.
405 Build the wrapper in its default place, not a build-specific
406 location. When host == build, make the pathname absolute.
407 (gdb_compile): Delete leftover declaration of
408 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
409 string instead of uninitialized.
411 2020-07-22 Kevin Buettner <kevinb@redhat.com>
413 * gdb.base/corefile2.exp: New file.
414 * gdb.base/coremaker2.exp: New file.
416 2020-07-22 Kevin Buettner <kevinb@redhat.com>
418 * gdb.base/coredump-filter.exp: Add second
419 non-Private-Shared-Anon-File test.
420 (test_disasm): Rename binfile for test which is expected
423 2020-07-22 Kevin Buettner <kevinb@redhat.com>
425 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
427 * gdb.base/coremaker.c (buf2ro): New global.
428 (mmapdata): Add a read-only mmap mapping.
430 2020-07-22 Kevin Buettner <kevinb@redhat.com>
433 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
435 * gdb.base/coremaker.c (buf3): New global.
436 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
439 2020-07-22 Kevin Buettner <kevinb@redhat.com>
441 * gdb.base/coremaker.c (filler_ro): New global constant.
443 2020-07-22 Tom Tromey <tromey@adacore.com>
445 * gdb.ada/mi_prot.exp: New file.
446 * gdb.ada/mi_prot/pkg.adb: New file.
447 * gdb.ada/mi_prot/pkg.ads: New file.
448 * gdb.ada/mi_prot/prot.adb: New file.
450 2020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
452 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
455 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
457 * gdb.python/py-arch-reg-groups.exp: Additional tests.
459 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
461 * gdb.python/py-arch-reg-names.exp: Additional tests.
463 2020-07-21 Tom de Vries <tdevries@suse.de>
465 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
466 breakpoint locations".
467 * gdb.reverse/solib-reverse.exp: Same.
469 2020-07-21 Tom de Vries <tdevries@suse.de>
471 * gdb.reverse/step-reverse.c (callee): Merge statements.
473 2020-07-21 Tom de Vries <tdevries@suse.de>
475 * gdb.fortran/info-modules.exp (info module variables): Allow missing
476 line numbers for some variables.
478 2020-07-21 Tom de Vries <tdevries@suse.de>
480 * gdb.opt/inline-locals.c (init_array): New func.
481 (func1): Use init_array.
482 * gdb.opt/inline-locals.exp: Update pattern.
484 2020-07-21 Tom de Vries <tdevries@suse.de>
486 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
487 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
489 2020-07-20 Ludovic Courtès <ludo@gnu.org>
491 * gdb.guile/source2.scm: Add #f first argument to 'format'.
492 * gdb.guile/types-module.exp: Remove "ERROR:" from
493 regexps since Guile 3.0 no longer prints that.
495 2020-07-20 Ludovic Courtès <ludo@gnu.org>
497 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
498 error regexp to match on Guile 2.2.
500 2020-07-20 Gary Benson <gbenson@redhat.com>
502 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
505 2020-07-20 Tom de Vries <tdevries@suse.de>
507 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
508 (omp_set_lock_in_order): New function.
509 (single_scope, multi_scope, nested_func, nested_parallel): Use
510 omp_set_lock_in_order and omp_unset_lock.
511 (main): Init and destroy lock and lock2.
513 2020-07-20 Tom de Vries <tdevries@suse.de>
515 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
517 2020-07-20 Tom de Vries <tdevries@suse.de>
519 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
521 2020-07-17 Tom de Vries <tdevries@suse.de>
523 * gdb.base/valgrind-infcall-2.c: New test.
524 * gdb.base/valgrind-infcall-2.exp: New file.
525 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
527 2020-07-17 Tom de Vries <tdevries@suse.de>
529 * gdb.dlang/circular.c (found): Use found_label as label name.
530 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
531 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
532 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
533 * gdb.dwarf2/ada-linkage-name.exp: Same.
534 * gdb.dwarf2/arr-subrange.exp: Same.
535 * gdb.dwarf2/atomic-type.exp: Same.
536 * gdb.dwarf2/comp-unit-lang.exp: Same.
537 * gdb.dwarf2/cpp-linkage-name.exp: Same.
538 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
539 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
540 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
541 * gdb.dwarf2/implptr-64bit.exp: Same.
542 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
543 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
544 * gdb.dwarf2/imported-unit.exp: Same.
545 * gdb.dwarf2/main-subprogram.exp: Same.
546 * gdb.dwarf2/missing-type-name.exp: Same.
547 * gdb.dwarf2/nonvar-access.exp: Same.
548 * gdb.dwarf2/struct-with-sig.exp: Same.
549 * gdb.dwarf2/typedef-void-finish.exp: Same.
550 * gdb.dwarf2/void-type.exp: Same.
552 2020-07-17 Tom de Vries <tdevries@suse.de>
554 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
556 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
557 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
558 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
559 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
560 * gdb.dwarf2/dwz.exp: Same.
561 * gdb.dwarf2/implptr-optimized-out.exp: Same.
562 * gdb.dwarf2/implref-array.exp: Same.
563 * gdb.dwarf2/implref-const.exp: Same.
564 * gdb.dwarf2/implref-global.exp: Same.
565 * gdb.dwarf2/implref-struct.exp: Same.
566 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
567 * gdb.dwarf2/opaque-type-lookup.exp: Same.
568 * gdb.dwarf2/var-access.exp: Same.
569 * gdb.dwarf2/varval.exp: Same.
570 * gdb.trace/entry-values.exp: Same.
572 2020-07-17 Tom de Vries <tdevries@suse.de>
574 * lib/dwarf.exp (Dwarf::extern): Remove.
575 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
576 * gdb.dlang/circular.exp: Same.
577 * gdb.dwarf2/comp-unit-lang.exp: Same.
578 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
579 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
580 * gdb.dwarf2/dwz.exp: Same.
581 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
582 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
583 * gdb.dwarf2/imported-unit.exp: Same.
584 * gdb.dwarf2/opaque-type-lookup.exp: Same.
586 2020-07-16 Sandra Loosemore <sandra@codesourcery.com>
588 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
589 Use double quotes instead of single quotes.
591 2020-07-16 Caroline Tice <cmtice@google.com>
593 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
594 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
596 2020-07-16 Tom de Vries <tdevries@suse.de>
598 * lib/dwarf.exp (program): Initialize _line.
599 (DW_LNE_end_sequence): Reinitialize _line.
600 (DW_LNS_advance_line): Update _line.
602 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
603 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
604 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
605 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
606 * gdb.dwarf2/dw2-is-stmt.exp: Same.
607 * gdb.dwarf2/dw2-ranges-func.exp: Same.
609 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
611 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
614 2020-07-15 Tom de Vries <tdevries@suse.de>
616 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
617 is_amd64_regs_target.
619 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
621 * gdb.fortran/ptype-on-functions.exp: Add more tests.
622 * gdb.fortran/ptype-on-functions.f90: Likewise.
624 2020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
626 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
627 values in documentation for addr_size to 4 and 8.
629 2020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
631 * gdb.arch/amd64-osabi.exp: Update.
632 * gdb.arch/arm-disassembler-options.exp: Update.
633 * gdb.arch/powerpc-disassembler-options.exp: Update.
634 * gdb.arch/ppc64-symtab-cordic.exp: Update.
635 * gdb.arch/s390-disassembler-options.exp: Update.
636 * gdb.base/all-architectures.exp.tcl: Update.
637 * gdb.base/attach-pie-noexec.exp: Update.
638 * gdb.base/catch-syscall.exp: Update.
639 * gdb.xml/tdesc-arch.exp: Update.
641 2020-07-14 Tom de Vries <tdevries@suse.de>
643 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
644 (local_gettid): ... this.
647 2020-07-13 Sandra Loosemore <sandra@codesourcery.com>
649 * gdb.base/info_sources.exp: Skip directory match tests on
652 2020-07-13 Gary Benson <gbenson@redhat.com>
654 * gdb.base/savedregs.exp (caller): Use parentheses to
655 make expected expression evaluation ordering explicit.
657 2020-07-13 Gary Benson <gbenson@redhat.com>
659 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
661 2020-07-13 Gary Benson <gbenson@redhat.com>
663 * gdb.base/bigcore.c (main): Use a volatile pointer when
664 attempting to trigger a SIGSEGV.
665 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
666 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
667 * gdb.base/savedregs.c (thrower): Likewise.
668 * gdb.mi/mi-syn-frame.c (bar): Likewise.
670 2020-07-13 Gary Benson <gbenson@redhat.com>
672 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
673 defining and using VLA structure fields into...
674 * gdb.base/vla-struct-fields.c: New file.
675 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
677 * gdb.base/vla-struct-fields.exp: New file.
679 2020-07-13 Tom de Vries <tdevries@suse.de>
681 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
682 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
683 * gdb.base/gold-gdb-index.exp: Same.
684 * gdb.base/morestack.exp: Same.
686 2020-07-11 Daniel Xu <dxu@dxuuu.xyz>
689 * gdb.rust/modules.rs: Prevent linker from discarding test
692 2020-07-10 Pedro Alves <pedro@palves.net>
695 * gdb.multi/multi-target.c (exit_thread): New.
696 (thread_start): Break loop if EXIT_THREAD.
697 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
698 (top level) Call test_no_resumed.
700 2020-07-08 Tom Tromey <tromey@adacore.com>
702 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
703 * gdb.ada/catch_ex.exp: Examine catchpoint text.
705 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
708 * gdb.opt/inline-frame-tailcall.c: New file.
709 * gdb.opt/inline-frame-tailcall.exp: New file.
710 * gdb.python/py-unwind-inline.c: New file.
711 * gdb.python/py-unwind-inline.exp: New file.
712 * gdb.python/py-unwind-inline.py: New file.
714 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
716 * gdb.python/py-arch-reg-groups.exp: New file.
718 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
720 * gdb.python/py-arch-reg-names.exp: New file.
722 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
724 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
725 gdb.PendingFrame.architecture method.
727 2020-07-06 Tom de Vries <tdevries@suse.de>
729 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
731 2020-07-03 Pedro Alves <palves@redhat.com>
733 * gdb.base/structs2.c (main): Adjust second parem_reg call to
734 explicitly write negative numbers.
735 * gdb.base/structs2.exp: Adjust expected output.
737 2020-07-03 Pedro Alves <palves@redhat.com>
739 * gdb.base/charset.c (init_string): Change all char parameters to
740 unsigned char parameters.
742 2020-07-03 Pedro Alves <palves@redhat.com>
744 * gdb.base/call-sc.exp (start_scalars_test): Use
745 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
746 * gdb.base/overlays.c: Remove references to PARAMS.
747 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
748 * gdb.base/reread.exp: Don't set 'prototypes' global.
749 * gdb.base/structs.exp (start_structs_test): Use
750 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
751 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
752 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
753 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
755 * gdb.base/varargs.exp: Don't set 'prototypes' global.
757 2020-07-03 Pedro Alves <palves@redhat.com>
759 * gdb.base/m32rovly.c: Delete.
760 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
762 2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
764 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
765 of gdb_py_test_multiple.
766 * gdb.python/py-cmd.exp: Likewise.
767 * gdb.python/py-events.exp: Likewise.
768 * gdb.python/py-function.exp: Likewise.
769 * gdb.python/py-inferior.exp: Likewise.
770 * gdb.python/py-infthread.exp: Likewise.
771 * gdb.python/py-linetable.exp: Likewise.
772 * gdb.python/py-parameter.exp: Likewise.
773 * gdb.python/py-value.exp: Likewise.
775 2020-06-30 Tom de Vries <tdevries@suse.de>
778 * lib/future.exp (gdb_default_target_compile): Detect and handle
781 2020-06-29 Simon Marchi <simon.marchi@efficios.com>
783 * boards/simavr.exp (gdb_load): Catch errors when closing
784 previous connection. Close connection, wait for process and
785 unset simavr_spawn_id on failure.
787 2020-06-29 Tom de Vries <tdevries@suse.de>
789 * lib/gdb.exp (unknown): Make test-case unresolved.
791 2020-06-29 Tom de Vries <tdevries@suse.de>
794 * gdb.server/solib-list.exp: Verify that the symbol reload
795 confirmation question is asked.
797 2020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
799 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
800 have a input seq nr in each pass message.
801 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
802 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
803 * gdb.python/python.exp: Make test names unique,
804 use gdb_test_multiline instead of gdb_py_test_multiple,
806 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
808 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
810 * configure.ac: Add --enable-libctf.
811 * aclocal.m4: sinclude ../config/enable.m4.
812 * Makefile.in (site.exp): Add enable_libctf to site.exp.
813 * lib/gdb.exp (skip_ctf_tests): Use it.
814 * gdb.base/ctf-constvars.exp: Error message tweak.
815 * gdb.base/ctf-ptype.exp: Likewise.
816 * configure: Regenerate.
818 2020-06-26 Gary Benson <gbenson@redhat.com>
820 * gdb.cp/try_catch.cc: Include string.h.
821 (main): Replace comparison against string literal with
822 strcmp, avoiding build failure with -Wstring-compare.
823 Add "marker test-complete".
824 * gdb.cp/try_catch.exp: Run the test to the above marker,
825 then verify that the value of "test" is still true.
827 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
829 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
831 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
833 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
835 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
837 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
838 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
839 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
840 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
841 * gdb.arch/riscv-tdesc-loading.exp: New file.
843 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
845 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
847 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
849 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
850 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
851 * gdb.arch/riscv-tdesc-regs.c: New file.
852 * gdb.arch/riscv-tdesc-regs.exp: New file.
854 2020-06-24 Pedro Alves <palves@redhat.com>
856 * gdb.arch/amd64-entry-value-paramref.exp: Use
857 prepare_for_testing_full and don't pass "c++" for the .S file
859 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
860 $options, since it's an assembly file. Remove -Wno-deprecated.
861 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
862 compiling C++ programs.
864 2020-06-24 Pedro Alves <palves@redhat.com>
866 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
867 Clang, add "-Wno-unknown-warning-option" to the options.
869 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
871 * gdb.xml/tdesc-reload.c: New file.
872 * gdb.xml/tdesc-reload.exp: New file.
873 * gdb.xml/maint-xml-dump-01.xml: New file.
874 * gdb.xml/maint-xml-dump-02.xml: New file.
875 * gdb.xml/maint-xml-dump.exp: New file.
877 2020-06-23 Sandra Loosemore <sandra@codesourcery.com>
879 * lib/completion-support.exp (test_gdb_completion_offers_commands):
880 Adjust for omitted commands when TUI is disabled.
882 2020-06-23 Gary Benson <gbenson@redhat.com>
883 Pedro Alves <palves@redhat.com>
885 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
886 * gdb.cp/nsimport.cc: Likewise.
887 * gdb.cp/nsnested.cc: Likewise.
888 * gdb.cp/nsnoimports.cc: Likewise.
889 * gdb.cp/nsusing.cc: Likewise.
890 * gdb.cp/smartp.cc: Likewise.
891 * gdb.python/py-pp-integral.c: Likewise.
892 * gdb.python/py-pp-re-notag.c: Likewise.
894 2020-06-23 Gary Benson <gbenson@redhat.com>
896 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
897 * gdb.cp/nsimport.cc: Likewise.
898 * gdb.cp/nsnested.cc: Likewise.
899 * gdb.cp/nsnoimports.cc: Likewise.
900 * gdb.cp/nsusing.cc: Likewise.
901 * gdb.cp/smartp.cc: Likewise.
902 * gdb.python/py-pp-integral.c: Likewise.
903 * gdb.python/py-pp-re-notag.c: Likewise.
905 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
907 * gdb.base/default-args.exp: New test.
908 * gdb.base/default-args.c: New file.
909 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
910 * gdb.base/default.exp: Update to new help text.
911 * gdb.base/help.exp: Likewise.
912 * gdb.base/page.exp: Likewise.
913 * gdb.base/style.exp: Likewise.
914 * gdb.guile/guile.exp: Likewise.
915 * gdb.python/python.exp: Likewise.
917 2020-06-22 Sandra Loosemore <sandra@codesourcery.com>
919 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
920 remote host. Fix search path syntax on Windows host.
922 2020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
924 * gdb.base/attach.exp: Test priority of 'exec-file' changed
925 over 'exec-file-mismatch'.
926 * gdb.base/attach.c: Mark should_exit volatile.
927 * gdb.base/attach2.c: Likewise. Add a comment explaining
928 why the sleep cannot be big.
929 * gdb.base/attach3.c: New file.
931 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
933 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
936 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
938 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
941 2020-06-19 Sandra Loosemore <sandra@codesourcery.com>
942 Hafiz Abid Qadeer <abidh@codesourcery.com>
944 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
945 file sent to remote host.
946 (top level): Allow int32_t as type of 32-bit register.
948 2020-06-19 Tom de Vries <tdevries@suse.de>
950 * lib/gdb.exp (gdb_note): New proc.
951 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
952 (gdb_default_target_compile): ... here. Only call
953 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
954 (use_gdb_compile): Change to array.
955 (toplevel): Update sets of use_gdb_compile to specify language.
956 Warn about default_target_compile override. Store dejagnu's version
957 of default_target_compile in dejagnu_default_target_compile.
959 2020-06-18 Tom de Vries <tdevries@suse.de>
961 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
962 (default_gdb_init): ... here.
964 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
966 Fix TUI support checks in gdb.tui tests.
968 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
969 just say UNSUPPORTED.
970 * gdb.tui/corefile-run.exp: Likewise.
971 * gdb.tui/empty.exp: Likewise.
972 * gdb.tui/list-before.exp: Likewise.
973 * gdb.tui/list.exp: Likewise.
974 * gdb.tui/main.exp: Likewise.
975 * gdb.tui/regs.exp: Likewise.
976 * gdb.tui/resize.exp: Likewise.
977 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
978 * gdb.tui/tui-layout-asm.exp: Likewise.
979 * gdb.tui/tui-missing-src.exp: Likewise.
980 * gdb.tui/winheight.exp: Likewise.
981 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
983 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
985 Fix TCL error in gdb.python/py-format-string.exp.
987 * gdb.python/py-format-string.exp: Move test for python support
988 earlier, out of function body.
990 2020-06-15 Simon Marchi <simon.marchi@efficios.com>
992 * gdb.base/index-cache-load-twice.c: New.
993 * gdb.base/index-cache-load-twice.exp: New.
995 2020-06-17 Keith Seitz <keiths@redhat.com>
997 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
998 when executing "gdb --configuration".
1000 2020-06-17 Tom de Vries <tdevries@suse.de>
1002 * lib/gdb.exp (gdb_tcl_unknown): New proc.
1003 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
1004 conditional on presence of gdb_tcl_unknown.
1005 (gdb_finish): Make override undo conditional on presence of
1008 2020-06-16 Tom Tromey <tom@tromey.com>
1010 * gdb.python/tui-window.py (failwin): New function. Register it
1011 as a TUI window type.
1012 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
1014 2020-06-16 Gary Benson <gbenson@redhat.com>
1016 * gdb.python/py-nested-maps.c (create_map): Add missing return
1018 (create_map_map): Likewise.
1020 2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1022 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
1024 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
1025 and use the already-defined 'options' variable.
1027 2020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1028 Tom de Vries <tdevries@suse.de>
1030 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
1031 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
1032 (gdb_setup_known_globals): New proc.
1033 (gdb_cleanup_globals): New proc.
1034 * lib/gdb.exp (load_lib): New override proc.
1035 (gdb_stdin_log_init): Set var in_file as persistent global.
1036 * lib/pascal.exp (gdb_stdin_log_init): Set vars
1037 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
1038 fpc_compiler as persistent global.
1040 2020-06-12 Tom de Vries <tdevries@suse.de>
1042 * lib/tuiterm.exp (spawn): Rename to ...
1043 (tui_spawn): ... this.
1044 (toplevel): Move rename of spawn ...
1045 (gdb_init_tuiterm): ... here. New proc.
1046 (gdb_finish_tuiterm): New proc.
1047 * lib/gdb.exp (gdb_finish_hooks): New global var.
1048 (gdb_finish): Handle gdb_finish_hooks.
1049 (tuiterm_env): New proc.
1050 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
1052 * gdb.tui/basic.exp: Same.
1053 * gdb.tui/corefile-run.exp: Same.
1054 * gdb.tui/empty.exp: Same.
1055 * gdb.tui/list-before.exp: Same.
1056 * gdb.tui/list.exp: Same.
1057 * gdb.tui/main.exp: Same.
1058 * gdb.tui/new-layout.exp: Same.
1059 * gdb.tui/regs.exp: Same.
1060 * gdb.tui/resize.exp: Same.
1061 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
1062 * gdb.tui/tui-layout-asm.exp: Same.
1063 * gdb.tui/tui-missing-src.exp: Same.
1064 * gdb.tui/winheight.exp: Same.
1066 2020-06-12 Tom de Vries <tdevries@suse.de>
1069 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
1070 (gdb_finish): Reinstall dejagnu's override of ::unknown.
1072 2020-06-11 Tom Tromey <tom@tromey.com>
1075 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
1076 floating point tests.
1078 2020-06-11 Keith Seitz <keiths@redhat.com>
1081 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
1083 Add new struct vla_typedef and union vla_typedef_union and
1084 corresponding instantiation objects.
1085 Initialize new objects.
1086 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
1087 and vla_typedef_union_object.
1088 Fixup type for vla_struct_object.
1090 2020-06-11 Tom de Vries <tdevries@suse.de>
1092 * lib/gdb.exp (with_override): New proc, factored out of ...
1093 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
1095 2020-06-10 Tom de Vries <tdevries@suse.de>
1097 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
1099 2020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
1101 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
1102 parameter, update callers.
1104 2020-06-04 Simon Marchi <simon.marchi@efficios.com>
1106 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
1107 * gdb.dwarf2/share-psymtabs-bt.c: New file.
1108 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
1110 2020-06-04 Tom de Vries <tdevries@suse.de>
1112 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
1114 2020-06-04 Tom de Vries <tdevries@suse.de>
1116 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
1119 2020-06-04 Tom de Vries <tdevries@suse.de>
1121 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
1123 2020-06-03 Tom de Vries <tdevries@suse.de>
1126 * gdb.cp/breakpoint-locs-2.cc: New test.
1127 * gdb.cp/breakpoint-locs.cc: New test.
1128 * gdb.cp/breakpoint-locs.exp: New file.
1129 * gdb.cp/breakpoint-locs.h: New test.
1131 2020-06-03 Tom de Vries <tdevries@suse.de>
1134 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
1135 value of global verbose.
1136 * gdb.base/jit-elf.exp: Same.
1137 * gdb.base/jit-reader.exp: Same.
1139 2020-06-02 Tom de Vries <tdevries@suse.de>
1141 * gdb.dwarf2/multidictionary.exp: Don't use
1142 gdb_spawn_with_cmdline_opts.
1144 2020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
1146 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
1148 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
1149 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
1150 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
1151 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
1152 * gdb.dwarf2/dw2-inline-header.c: New file.
1153 * gdb.dwarf2/dw2-inline-header.h: New file.
1155 2020-05-30 Pedro Alves <palves@redhat.com>
1157 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
1158 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
1160 2020-05-29 Gary Benson <gbenson@redhat.com>
1162 * gdb.compile/compile-cplus.exp (additional_flags): Also
1163 set when building with clang.
1164 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
1165 when building with clang.
1167 2020-05-29 Gary Benson <gbenson@redhat.com>
1169 * gdb.arch/i386-avx.exp (additional_flags): Also set when
1170 building with clang.
1171 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
1173 2020-05-29 Gary Benson <gbenson@redhat.com>
1175 * gdb.cp/koenig.exp (prepare_for_testing): Add
1176 additional_flags=-Wno-unused-comparison.
1177 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
1179 2020-05-28 Gary Benson <gbenson@redhat.com>
1181 * gdb.base/sigaltstack.c (catcher): Add default case to switch
1184 2020-05-28 Gary Benson <gbenson@redhat.com>
1186 * gdb.cp/classes.exp (prepare_for_testing): Add
1187 additional_flags=-Wno-deprecated-register.
1188 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
1189 * gdb.cp/misc.exp: Likewise.
1191 2020-05-28 Gary Benson <gbenson@redhat.com>
1193 * gdb.linespec/cpls-ops.cc (dummy): New static global.
1194 (test_op_new::operator new): Add return statement.
1195 (test_op_new_array::operator new[]): Likewise.
1197 2020-05-27 Pedro Alves <palves@redhat.com>
1199 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
1200 check. Use test_gdb_complete_unique instead of
1201 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
1202 test_gdb_complete_multiple instead of
1203 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
1205 2020-05-27 Luis Machado <luis.machado@linaro.org>
1207 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
1208 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
1209 * gdb.arch/arm-disassembler-options.exp: Likewise.
1210 * gdb.arch/arm-disp-step.exp: Likewise.
1211 * gdb.arch/thumb-prologue.exp: Likewise.
1212 * gdb.base/async.exp: Likewise.
1213 * gdb.base/auxv.exp: Likewise.
1214 * gdb.base/complex-parts.exp: Likewise.
1215 * gdb.base/ena-dis-br.exp: Likewise.
1216 * gdb.base/foll-exec.exp: Likewise.
1217 * gdb.base/permissions.exp: Likewise.
1218 * gdb.base/relocate.exp: Likewise.
1219 * gdb.base/return2.exp: Likewise.
1220 * gdb.base/sigbpt.exp: Likewise.
1221 * gdb.base/siginfo-obj.exp: Likewise.
1222 * gdb.cp/converts.exp: Likewise.
1223 * gdb.cp/exceptprint.exp: Likewise.
1224 * gdb.cp/inherit.exp: Likewise.
1225 * gdb.cp/nsnoimports.exp: Likewise.
1226 * gdb.cp/virtbase2.exp: Likewise.
1227 * gdb.mi/mi-var-cmd.exp: Likewise.
1228 * gdb.mi/var-cmd.c: Likewise.
1230 2020-05-26 Tom Tromey <tromey@adacore.com>
1232 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
1234 2020-05-26 Tom Tromey <tromey@adacore.com>
1236 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
1237 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
1239 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
1242 2020-05-26 Christian Biesinger <cbiesinger@google.com>
1244 * Makefile.in: Use = instead of == for the test command
1247 2020-05-26 Tom de Vries <tdevries@suse.de>
1249 * gdb.base/gold-gdb-index-2.c: New test.
1250 * gdb.base/gold-gdb-index.c: New test.
1251 * gdb.base/gold-gdb-index.exp: New file.
1252 * gdb.base/gold-gdb-index.h: New test.
1254 2020-05-25 Tom de Vries <tdevries@suse.de>
1256 * boards/gold-gdb-index.exp: New file.
1258 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
1260 * boards/simavr.exp: New file.
1262 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
1264 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
1265 * gdb.base/inferior-args.exp: New file.
1266 * gdb.base/inferior-args.c: New file.
1268 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
1270 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
1271 inferior_args. Pass it to gdb_reload.
1272 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
1274 (gdb_reload): Add inferior_args argument.
1275 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
1276 pass it to gdbserver_run.
1277 * boards/native-gdbserver.exp: Do not set noargs.
1278 * boards/native-extended-gdbserver.exp (gdb_reload): Add
1279 inferior_args argument.
1280 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
1281 * gdb.base/a2-run.exp: Check for use_gdb_stub.
1282 * gdb.base/args.exp: Likewise.
1284 2020-05-25 Tom de Vries <tdevries@suse.de>
1286 * lib/gdb.exp (exec_is_pie): Add comment.
1288 2020-05-25 Tom de Vries <tdevries@suse.de>
1290 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
1291 instead of $binfile in the untested message.
1293 2020-05-25 Tom de Vries <tdevries@suse.de>
1296 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
1298 2020-05-25 Tom de Vries <tdevries@suse.de>
1300 * boards/gold.exp: New file.
1302 2020-05-23 Tom Tromey <tom@tromey.com>
1304 * gdb.base/style.exp: Remove completion styling test.
1305 * lib/gdb-utils.exp (style): Remove completion styles.
1307 2020-05-23 Tom Tromey <tom@tromey.com>
1309 * gdb.base/style.exp: Add completion styling test.
1310 * lib/gdb-utils.exp (style): Add completion styles.
1312 2020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
1314 * gdb.base/annota1.exp: Update expected results.
1315 * gdb.cp/annota2.exp: Update expected results, remove duplicate
1317 * gdb.cp/annota3.exp: Update expected results.
1319 2020-05-20 Simon Marchi <simon.marchi@efficios.com>
1322 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
1324 * gdb.base/coremaker.c (mmapdata): Likewise.
1325 * gdb.base/jit-reader-host.c (main): Likewise.
1326 * gdb.base/sym-file-loader.c (load): Likewise.
1327 (load_shlib): Likewise.
1329 2020-05-20 Tom Tromey <tromey@adacore.com>
1331 * gdb.ada/array_char_idx.exp: Recognize initialized array.
1333 2020-05-20 Tom de Vries <tdevries@suse.de>
1336 * gdb.base/with-mf-inc.c: New test.
1337 * gdb.base/with-mf-main.c: New test.
1338 * gdb.base/with-mf.exp: New file.
1340 2020-05-19 Tom Tromey <tromey@adacore.com>
1342 * gdb.rust/simple.exp: Restore missing test result.
1344 2020-05-19 Tom de Vries <tdevries@suse.de>
1346 * gdb.base/gdb-caching-proc.exp: Fix typo.
1348 2020-05-19 Tom Tromey <tromey@adacore.com>
1350 * gdb.rust/simple.exp: Add some test descriptions.
1351 (test_one_slice): Use with_test_prefix.
1353 2020-05-18 Tom de Vries <tdevries@suse.de>
1355 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
1357 2020-05-17 Pedro Alves <palves@redhat.com>
1360 * gdb.base/hw-sw-break-same-address.exp: New file.
1362 2020-05-16 Pedro Alves <palves@redhat.com>
1364 * gdb.multi/multi-re-run.exp (test_re_run): Switch
1365 LAST_LOADED_FILE accordingly.
1367 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1369 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
1371 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1373 * gdb.base/help.exp: Test apropos and help for commands
1374 having aliases. Fixed comments not starting with an
1375 upper-case letter or not finishing with a dot.
1377 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1379 * gdb.base/alias.exp: Update help output check.
1381 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1383 * gdb.base/default.exp: Update output following fixes.
1385 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1387 * gdb.base/alias.exp: Test aliases starting with a prefix of
1390 2020-05-15 Gary Benson <gbenson@redhat.com>
1392 * gdb.base/info-os.c (main): Add return statement.
1393 * gdb.base/info_minsym.c (minsym_fun): Likewise.
1394 * gdb.base/large-frame-2.c (func): Likewise.
1395 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
1396 * gdb.base/pr10179-b.c (foo2): Likewise.
1397 * gdb.base/valgrind-disp-step.c (foo): Likewise.
1398 * gdb.base/watch-cond.c (func): Likewise.
1399 * gdb.multi/goodbye.c (verylongfun): Likewise.
1400 * gdb.multi/hello.c (commonfun): Likewise.
1401 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
1402 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
1403 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1405 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
1406 * gdb.threads/interrupt-while-step-over.c (child_function):
1408 * gdb.trace/actions-changed.c (end): Likewise.
1410 2020-05-15 Gary Benson <gbenson@redhat.com>
1412 * gdb.opencl/callfuncs.exp: Report when test skipped.
1413 * gdb.opencl/convs_casts.exp: Likewise.
1414 * gdb.opencl/datatypes.exp: Likewise.
1415 * gdb.opencl/operators.exp: Likewise.
1416 * gdb.opencl/vec_comps.exp: Likewise.
1418 2020-05-15 Tom de Vries <tdevries@suse.de>
1420 * gdb.base/align.exp.in: Rename to ...
1421 * gdb.base/align.exp.tcl: ... this.
1422 * gdb.base/align-c++.exp: Update.
1423 * gdb.base/align-c.exp: Update.
1424 * gdb.base/all-architectures.exp.in: Rename to ...
1425 * gdb.base/all-architectures.exp: ... this.
1426 * gdb.base/all-architectures-0.exp: Update.
1427 * gdb.base/all-architectures-1.exp: Update.
1428 * gdb.base/all-architectures-2.exp: Update.
1429 * gdb.base/all-architectures-3.exp: Update.
1430 * gdb.base/all-architectures-4.exp: Update.
1431 * gdb.base/all-architectures-5.exp: Update.
1432 * gdb.base/all-architectures-6.exp: Update.
1433 * gdb.base/all-architectures-7.exp: Update.
1434 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
1435 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
1436 * gdb.base/infcall-nested-structs-c++.exp: Update.
1437 * gdb.base/infcall-nested-structs-c.exp: Update.
1438 * gdb.base/info-types.exp.in: Rename to ...
1439 * gdb.base/info-types.exp.tcl: ... this.
1440 * gdb.base/info-types-c++.exp: Update.
1441 * gdb.base/info-types-c.exp: Update.
1442 * gdb.base/max-depth.exp.in: Rename to ...
1443 * gdb.base/max-depth.exp.tcl: ... this.
1444 * gdb.base/max-depth-c++.exp: Update.
1445 * gdb.base/max-depth-c.exp: Update.
1446 * gdb.cp/cpexprs.exp.in: Rename to ...
1447 * gdb.cp/cpexprs.exp.tcl: ... this.
1448 * gdb.cp/cpexprs-debug-types.exp: Update.
1449 * gdb.cp/cpexprs.exp: Update.
1450 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
1451 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
1452 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
1453 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
1454 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
1455 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
1456 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
1457 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
1458 * gdb.dwarf2/clang-debug-names-2.exp: Update.
1459 * gdb.dwarf2/clang-debug-names.exp: Update.
1461 2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
1463 * lib/check-test-names.exp: Remove code that prevents this file
1464 loading when tests are run in parallel.
1466 2020-05-15 Pedro Alves <palves@redhat.com>
1468 * gdb.multi/multi-kill.exp (start_inferior): Remove
1469 'testpid' parameter. Refer to namespace variable directly.
1470 (testpid): Declare as namespace variable.
1472 2020-05-15 Pedro Alves <palves@redhat.com>
1474 * gdb.multi/multi-kill.exp: Wrap in namespace.
1475 (start_inferior): Add TESTPID parameter. Use it instead of the
1477 (top level): Define empty TESTPID array, and pass it down to
1480 2020-05-14 Tom de Vries <tdevries@suse.de>
1482 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
1485 2020-05-14 Tom de Vries <tdevries@suse.de>
1487 * gdb.base/align.exp: Split into ...
1488 * gdb.base/align.exp.in: ...
1489 * gdb.base/align-c++.exp: ...
1490 * gdb.base/align-c.exp: ... these.
1491 * gdb.base/infcall-nested-structs.exp: Split into ...
1492 * gdb.base/infcall-nested-structs.exp.in: ...
1493 * gdb.base/infcall-nested-structs-c++.exp: ...
1494 * gdb.base/infcall-nested-structs-c.exp: ... these.
1495 * gdb.base/info-types.exp: Split into ...
1496 * gdb.base/info-types.exp.in: ...
1497 * gdb.base/info-types-c++.exp: ...
1498 * gdb.base/info-types-c.exp: ... these.
1499 * gdb.base/max-depth.exp: Split into ...
1500 * gdb.base/max-depth.exp.in: ...
1501 * gdb.base/max-depth-c++.exp: ...
1502 * gdb.base/max-depth-c.exp: ... these.
1503 * gdb.cp/infcall-nodebug.exp: Split into ...
1504 * gdb.cp/infcall-nodebug.exp.in: ...
1505 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
1506 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
1507 * gdb.cp/infcall-nodebug-c-d0.exp: ...
1508 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
1510 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1511 Pedro Alves <palves@redhat.com>
1513 * gdb.multi/multi-exit.c: New file.
1514 * gdb.multi/multi-exit.exp: New file.
1515 * gdb.multi/multi-kill.c: New file.
1516 * gdb.multi/multi-kill.exp: New file.
1518 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1520 * gdb.base/annota1.exp: Update the expected output.
1521 * gdb.cp/annota2.exp: Ditto.
1523 2020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
1525 * lib/check-test-names.exp: Disable when testing is being run in
1528 2020-05-12 Tom de Vries <tdevries@suse.de>
1530 * gdb.base/jit-elf.exp: Fix string concat.
1532 2020-05-12 Tom de Vries <tdevries@suse.de>
1534 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
1537 2020-05-12 Tom de Vries <tdevries@suse.de>
1539 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
1541 2020-05-12 Tom de Vries <tdevries@suse.de>
1543 * gdb.ada/catch_ex.exp: Use with_test_prefix.
1544 * gdb.ada/mi_catch_ex.exp: Same.
1545 * gdb.ada/mi_catch_ex_hand.exp: Same.
1547 2020-05-12 Tom de Vries <tdevries@suse.de>
1549 * gdb.fortran/complex.exp: Use with_test_prefix.
1551 2020-05-12 Tom de Vries <tdevries@suse.de>
1553 * gdb.trace/passcount.exp: Fix test-names.
1555 2020-05-12 Tom de Vries <tdevries@suse.de>
1557 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
1559 2020-05-12 Tom de Vries <tdevries@suse.de>
1561 * gdb.gdb/complaints.exp: Use with_test_prefix.
1562 * gdb.xml/tdesc-regs.exp: Same.
1563 * gdb.opt/inline-locals.exp: Fix test name.
1565 2020-05-12 Tom de Vries <tdevries@suse.de>
1567 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
1568 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
1569 * gdb.dwarf2/implref-struct.exp: Same.
1570 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
1571 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
1573 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
1575 * gdb.base/jit-so.exp (one_jit_test): Change test name.
1577 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1579 * lib/check-test-names.exp (all_test_names): New module variable.
1580 (counts): Add 'duplicates' field.
1581 (_check_duplicates): New procedure.
1582 (check): Also check for duplicates.
1583 (do_log_summary): Print duplicates count.
1584 (do_reset_vars): Reset counter for duplicate test names, and
1585 discard all know test names.
1587 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1589 * lib/gdb.exp: Include check-test-names.exp library.
1590 * lib/check-test-names.exp: New file.
1592 2020-05-11 Tom de Vries <tdevries@suse.de>
1594 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
1596 2020-05-11 Keith Seitz <keiths@redhat.com>
1598 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
1600 2020-05-11 Tom de Vries <tdevries@suse.de>
1602 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
1603 * gdb.cp/cpexprs.exp.in: .. here.
1604 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
1607 2020-05-11 Keith Seitz <keiths@redhat.com>
1609 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
1611 * gdb.ada/arrayptr.exp: Likewise.
1612 * gdb.ada/assign_arr.exp: Likewise.
1613 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1614 * gdb.ada/bp_on_var.exp: Likewise.
1615 * gdb.ada/call_pn.exp: Likewise.
1616 * gdb.ada/complete.exp: Likewise.
1617 * gdb.ada/fun_overload_menu.exp: Likewise.
1618 * gdb.ada/funcall_param.exp: Likewise.
1619 * gdb.ada/funcall_ref.exp: Likewise.
1620 * gdb.ada/packed_array_assign.exp: Likewise.
1621 * gdb.ada/same_component_name.exp: Likewise.
1622 * gdb.ada/type_coercion.exp: Likewise.
1623 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1624 * gdb.ada/variant_record_packed_array.exp: Likewise.
1626 2020-05-11 Tom de Vries <tdevries@suse.de>
1629 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
1631 * gdb.dwarf2/clang-debug-names.exp: ... here.
1632 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
1633 clang-debug-names.exp.in.
1634 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
1635 * gdb.dwarf2/clang-debug-names-2.c: New test.
1637 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1639 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
1640 (fortran_runto_main): New Proc, fortran version of runto_main.
1641 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
1642 * gdb.fortran/array-bounds.exp: Likewise.
1643 * gdb.fortran/array-slices.exp: Likewise.
1644 * gdb.fortran/block-data.exp: Likewise.
1645 * gdb.fortran/charset.exp: Likewise.
1646 * gdb.fortran/common-block.exp: Likewise.
1647 * gdb.fortran/complex.exp: Likewise.
1648 * gdb.fortran/derived-type-function.exp: Likewise.
1649 * gdb.fortran/derived-type.exp: Likewise.
1650 * gdb.fortran/info-modules.exp: Likewise.
1651 * gdb.fortran/info-types.exp: Likewise.
1652 * gdb.fortran/intrinsics.exp: Likewise.
1653 * gdb.fortran/library-module.exp: Likewise.
1654 * gdb.fortran/logical.exp: Likewise.
1655 * gdb.fortran/max-depth.exp: Likewise.
1656 * gdb.fortran/module.exp: Likewise.
1657 * gdb.fortran/multi-dim.exp: Likewise.
1658 * gdb.fortran/nested-funcs.exp: Likewise.
1659 * gdb.fortran/print-formatted.exp: Likewise.
1660 * gdb.fortran/print_type.exp: Likewise.
1661 * gdb.fortran/printing-types.exp: Likewise.
1662 * gdb.fortran/ptr-indentation.exp: Likewise.
1663 * gdb.fortran/ptype-on-functions.exp: Likewise.
1664 * gdb.fortran/subarray.exp: Likewise.
1665 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1666 * gdb.fortran/vla-datatypes.exp: Likewise.
1667 * gdb.fortran/vla-history.exp: Likewise.
1668 * gdb.fortran/vla-ptr-info.exp: Likewise.
1669 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1670 * gdb.fortran/vla-ptype.exp: Likewise.
1671 * gdb.fortran/vla-sizeof.exp: Likewise.
1672 * gdb.fortran/vla-type.exp: Likewise.
1673 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1674 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1675 * gdb.fortran/vla-value-sub.exp: Likewise.
1676 * gdb.fortran/vla-value.exp: Likewise.
1677 * gdb.fortran/whatis_type.exp: Likewise.
1678 * gdb.mi/mi-var-child-f.exp: Likewise.
1680 2020-05-09 Tom de Vries <tdevries@suse.de>
1682 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
1684 2020-05-08 Tom de Vries <tdevries@suse.de>
1686 * gdb.dwarf2/clang-debug-names.c: New test.
1687 * gdb.dwarf2/clang-debug-names.exp: New file.
1689 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
1691 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
1692 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
1694 2020-05-06 Tom de Vries <tdevries@suse.de>
1696 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
1697 breakpoint is at a "recommended breakpoint location".
1698 * gdb.reverse/consecutive-reverse.exp: Same.
1700 2020-05-06 Tom de Vries <tdevries@suse.de>
1702 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
1705 2020-05-06 Tom de Vries <tdevries@suse.de>
1707 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
1709 2020-05-06 Tom de Vries <tdevries@suse.de>
1711 * gdb.base/store.exp (check_set, up_set): Allowing missing location
1714 2020-05-06 Tom de Vries <tdevries@suse.de>
1716 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
1719 2020-05-06 Tom de Vries <tdevries@suse.de>
1721 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
1724 2020-05-06 Tom de Vries <tdevries@suse.de>
1726 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
1728 * gdb.base/async.exp: ... here.
1729 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
1730 "recommended breakpoint location".
1732 2020-05-06 Tom de Vries <tdevries@suse.de>
1734 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
1736 2020-05-04 Tom de Vries <tdevries@suse.de>
1738 * gdb.base/async.exp: Check whether instruction addresses are a
1739 "recommended breakpoint location".
1741 2020-05-03 Tom Tromey <tom@tromey.com>
1743 * gdb.base/sepdebug.exp: Remove "catch" test.
1744 * gdb.base/break.exp: Remove "catch" test.
1745 * gdb.base/default.exp: Update expected output.
1747 2020-05-02 Tom de Vries <tdevries@suse.de>
1749 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
1750 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
1751 * gdb.arch/i386-mpx-map.exp: Same.
1752 * gdb.arch/i386-mpx-sigsegv.exp: Same.
1753 * gdb.arch/i386-mpx-simple_segv.exp: Same.
1754 * gdb.arch/i386-mpx.exp: Same.
1756 2020-05-02 Tom de Vries <tdevries@suse.de>
1758 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
1760 2020-05-01 Tom de Vries <tdevries@suse.de>
1762 * gdb.ada/operator_bp.exp: Allow more than required amount of
1765 2020-05-01 Tom de Vries <tdevries@suse.de>
1767 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
1769 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
1772 * gdb.cp/stub-array-size.cc: New test.
1773 * gdb.cp/stub-array-size.exp: New file.
1774 * gdb.cp/stub-array-size.h: New test.
1775 * gdb.cp/stub-array-size2.cc: New test.
1777 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
1779 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
1780 output to the new format.
1782 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
1784 * gdb.base/break.exp: Use with_test_prefix.
1786 2020-04-29 Tom de Vries <tdevries@suse.de>
1788 * lib/gdb.exp (debug_types): New proc.
1789 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
1790 * gdb.python/py-symtab.exp: Same.
1792 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
1795 * gdb.base/pretty-array.c: New test.
1796 * gdb.base/pretty-array.exp: New file.
1798 2020-04-29 Tom de Vries <tdevries@suse.de>
1801 * gdb.cp/cpexprs.exp: Adapt for inclusion.
1802 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
1803 and include cpexprs.exp.
1805 2020-04-28 Mark Williams <mark@myosotissp.com>
1808 * dw4-toplevel-types.exp: Test for top level types.
1809 * dw4-toplevel-types.cc: Test for top level types.
1811 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1813 * gdb.threads/stop-with-handle.exp: Fix typo in comment
1814 (theads -> threads).
1816 2020-04-28 Tom de Vries <tdevries@suse.de>
1818 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
1820 2020-04-28 Tom de Vries <tdevries@suse.de>
1822 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
1824 2020-04-28 Tom de Vries <tdevries@suse.de>
1826 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
1828 2020-04-28 Tom de Vries <tdevries@suse.de>
1830 * gdb.dwarf2/main-foo.c: New test.
1831 * gdb.dwarf2/struct-with-sig.exp: New file.
1833 2020-04-25 Tom de Vries <tdevries@suse.de>
1835 * boards/debug-types.exp: New file.
1837 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
1839 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
1841 2020-04-24 Tom Tromey <tom@tromey.com>
1844 * gdb.python/py-symbol.exp: Update expected results for
1846 * gdb.cp/print-demangle.exp: New file.
1847 * gdb.base/c-linkage-name.exp: Fix test.
1848 * gdb.guile/scm-symbol.exp: Update expected results for
1851 2020-04-24 Tom Tromey <tom@tromey.com>
1853 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
1854 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
1855 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
1858 2020-04-24 Tom de Vries <tdevries@suse.de>
1860 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
1863 2020-04-24 Tom Tromey <tromey@adacore.com>
1865 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
1867 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
1868 values. Update test for minimal encodings.
1869 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
1870 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
1871 values. Update test for minimal encodings.
1873 2020-04-24 Tom Tromey <tromey@adacore.com>
1876 * gdb.ada/variant.exp: Add Python checks.
1877 * gdb.rust/simple.exp: Add dynamic type checks.
1879 2020-04-24 Tom Tromey <tromey@adacore.com>
1881 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
1882 Make array type matching more lax.
1883 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
1884 * gdb.ada/mi_variant.exp: New file.
1885 * gdb.ada/mi_variant/pck.ads: New file.
1886 * gdb.ada/mi_variant/pkg.adb: New file.
1887 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
1888 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
1890 2020-04-24 Tom Tromey <tromey@adacore.com>
1892 * gdb.ada/variant.exp: Add dynamic field offset tests.
1893 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
1894 * gdb.ada/variant/pkg.adb: Add new variables.
1896 2020-04-24 Tom Tromey <tromey@adacore.com>
1898 * gdb.ada/variant.exp: New file
1899 * gdb.ada/variant/pkg.adb: New file
1900 * gdb.ada/variant/pck.adb: New file
1902 2020-04-24 Tom de Vries <tdevries@suse.de>
1904 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
1906 2020-04-24 Tom de Vries <tdevries@suse.de>
1908 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
1911 2020-04-24 Tom de Vries <tdevries@suse.de>
1913 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
1915 2020-04-24 Tom de Vries <tdevries@suse.de>
1917 * lib/gdb.exp (default_gdb_start): Handle eof.
1918 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
1920 * gdb.base/readnever.exp: Handle clean_restart failure.
1922 2020-04-23 Tom de Vries <tdevries@suse.de>
1924 * gdb.base/decl-before-def.exp: Run to main and print a again.
1926 2020-04-23 Tom de Vries <tdevries@suse.de>
1928 * gdb.base/decl-before-def-decl.c: New test.
1929 * gdb.base/decl-before-def-def.c: New test.
1930 * gdb.base/decl-before-def.exp: New file.
1932 2020-04-23 Tom de Vries <tdevries@suse.de>
1934 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
1936 2020-04-22 Tom de Vries <tdevries@suse.de>
1938 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
1940 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
1941 before $objsfile in the line line.
1943 2020-04-22 Tom de Vries <tdevries@suse.de>
1945 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
1947 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1949 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
1950 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
1951 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
1952 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
1953 * gdb.base/jit-protocol.h: Update definitions to match all usage
1956 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1958 * gdb.base: Rename all jit related test and source files.
1960 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1962 * gdb.base/jit-reader.exp: Relax register output check.
1964 2020-04-22 Tom de Vries <tdevries@suse.de>
1967 * gdb.base/psym-external-decl-2.c: New test.
1968 * gdb.base/psym-external-decl.c: New test.
1969 * gdb.base/psym-external-decl.exp: New file.
1970 * gdb.threads/tls.exp: Add PR25807 kfail.
1972 2020-04-22 Tom de Vries <tdevries@suse.de>
1975 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
1976 in "info source" output.
1978 2020-04-22 Tom de Vries <tdevries@suse.de>
1981 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
1982 symtab for imported_unit.c.
1984 2020-04-21 Gary Benson <gbenson@redhat.com>
1986 * gdb.base/advance.c (func): New argument, to match call site.
1987 (func2, func3): Add return statements.
1989 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1991 * gdb.multi/run-only-second-inf.c: New file.
1992 * gdb.multi/run-only-second-inf.exp: New file.
1994 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1996 * gdb.btrace/multi-inferior.c: New test.
1997 * gdb.btrace/multi-inferior.exp: New file.
1999 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2001 * gdb.btrace/enable-new-thread.c: New test.
2002 * gdb.btrace/enable-new-thread.exp: New file.
2004 2020-04-21 Tom de Vries <tdevries@suse.de>
2007 * gdb.threads/killed-outside.c: New test.
2008 * gdb.threads/killed-outside.exp: New file.
2010 2020-04-20 Gary Benson <gbenson@redhat.com>
2012 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
2013 * gdb.base/nested-subp2.exp: Likewise.
2014 * gdb.base/nested-subp3.exp: Likewise.
2016 2020-04-20 Gary Benson <gbenson@redhat.com>
2018 * gdb.base/nested-subp1.exp: Disable test when using clang.
2019 * gdb.base/nested-subp2.exp: Likewise.
2020 * gdb.base/nested-subp3.exp: Likewise.
2022 2020-04-20 Gary Benson <gbenson@redhat.com>
2024 * gdb.cp/exception.cc: Fix compilation error with clang.
2026 2020-04-20 Gary Benson <gbenson@redhat.com>
2028 * gdb.trace/tspeed.c: Fix compilation error with clang.
2030 2020-04-20 Gary Benson <gbenson@redhat.com>
2032 * gdb.base/jit-main.c: Fix compilation error with clang.
2034 2020-04-17 Kamil Rytarowski <n54@gmx.com>
2036 * gdb.base/attach-twice.c: Include "sys/types.h".
2037 (PTRACE_ATTACH): Add fallback definition.
2038 (main): Pass `0' to the 4th argument of `ptrace'.
2040 2020-04-17 Kamil Rytarowski <n54@gmx.com>
2042 * gdb.base/fork-running-state.c: Include "signal.h".
2044 2020-04-17 Tom Tromey <tromey@adacore.com>
2046 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
2048 * gdb.btrace/cpu.exp: Update tests.
2049 * gdb.base/maint.exp: Update tests.
2050 * gdb.base/default.exp: Update tests.
2051 * gdb.base/completion.exp: Update tests.
2053 2020-04-16 Tom de Vries <tdevries@suse.de>
2056 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
2057 (ensure_gdb_index): and factor out and move ...
2058 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
2059 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
2061 2020-04-16 Tom de Vries <tdevries@suse.de>
2063 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
2066 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
2068 * gdb.base/many-completions.exp: New file.
2070 2020-04-14 Tom de Vries <tdevries@suse.de>
2073 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
2075 2020-04-14 Tom de Vries <tdevries@suse.de>
2078 * gdb.base/maint-expand-symbols-header-file.c: New test.
2079 * gdb.base/maint-expand-symbols-header-file.exp: New file.
2080 * gdb.base/maint-expand-symbols-header-file.h: New test.
2082 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2084 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
2085 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
2087 (get_func_info): Delete.
2088 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
2089 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
2090 * lib/dwarf.exp (get_func_info): New function.
2092 2020-04-13 Tom de Vries <tdevries@suse.de>
2094 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
2095 to what find_gnatmake does.
2097 2020-04-10 Tom de Vries <tdevries@suse.de>
2099 * gdb.base/style.exp: Expect "Expanding full symbols" message for
2102 2020-04-10 Tom de Vries <tdevries@suse.de>
2105 * gdb.base/style.c: Add leading newlines.
2106 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
2107 Check listing of main's one-line body.
2109 2020-04-08 Tom de Vries <tdevries@suse.de>
2111 * lib/gdb.exp (psymtabs_p): New proc.
2112 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
2113 importing unit" unsupported if there are no partial symbols.
2115 2020-04-08 Tom de Vries <tdevries@suse.de>
2118 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
2120 2020-04-07 Tom de Vries <tdevries@suse.de>
2123 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
2125 2020-04-07 Tom de Vries <tdevries@suse.de>
2127 * gdb.base/check-psymtab.c: New test.
2128 * gdb.base/check-psymtab.exp: New file.
2130 2020-04-06 Tom Tromey <tromey@adacore.com>
2132 * gdb.ada/variant-record/proc.adb: New file.
2133 * gdb.ada/variant-record/value.adb: New file.
2134 * gdb.ada/variant-record/value.s: New file.
2135 * gdb.ada/variant-record.exp: New file.
2137 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
2140 * gdb.cp/typed-enum.cc: New test.
2141 * gdb.cp/typed-enum.exp: New file.
2143 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2145 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
2146 * gdb.dwarf2/dw2-inline-small-func.c: New file.
2147 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
2148 * gdb.dwarf2/dw2-inline-small-func.h: New file.
2149 * gdb.opt/inline-small-func.c: New file.
2150 * gdb.opt/inline-small-func.exp: New file.
2151 * gdb.opt/inline-small-func.h: New file.
2153 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2155 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
2158 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2160 * lib/dwarf.exp (function_range): Allow compiler options to be
2163 2020-04-02 Tom de Vries <tdevries@suse.de>
2165 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
2166 __attribute__((always_inline)).
2167 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
2169 2020-04-02 Tom de Vries <tdevries@suse.de>
2171 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
2172 (gdbserver_gdb_exit): ... here. Add timeout warning.
2173 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
2174 (connect_target_extended_remote): Append new server_spawn_id to
2176 (cleanup): New proc.
2177 (setup, <toplevel>): Call cleanup.
2179 2020-04-02 Tom de Vries <tdevries@suse.de>
2181 * gdb.base/main-psymtab.exp: New file.
2183 2020-04-02 Tom de Vries <tdevries@suse.de>
2185 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
2187 2020-04-01 Tom Tromey <tom@tromey.com>
2189 * gdb.base/complex-parts.exp: Add type tests.
2191 2020-04-01 Tom Tromey <tom@tromey.com>
2193 * gdb.base/complex-parts.exp: Add arithmetic tests.
2195 2020-04-01 Tom Tromey <tom@tromey.com>
2197 * gdb.compile/compile.exp: Update.
2198 * gdb.compile/compile-cplus.exp: Update.
2199 * gdb.base/varargs.exp: Update.
2200 * gdb.base/floatn.exp: Update.
2201 * gdb.base/endianity.exp: Update.
2202 * gdb.base/callfuncs.exp (do_function_calls): Update.
2203 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
2204 (complex_float_integral_args): Update.
2205 * gdb.base/complex.exp: Update.
2206 * gdb.base/complex-parts.exp: Update.
2208 2020-04-01 Tom Tromey <tromey@adacore.com>
2210 * gdb.rust/union.rs: New file.
2211 * gdb.rust/union.exp: New file.
2212 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
2214 * gdb.rust/simple.exp: Move union tests to union.exp.
2216 2020-04-01 Tom Tromey <tromey@adacore.com>
2218 * gdb.rust/simple.rs (main): Remove "y0".
2220 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2222 * gdb.multi/stop-all-on-exit.c: New test.
2223 * gdb.multi/stop-all-on-exit.exp: New file.
2225 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
2228 * gdb.cp/misc.cc: Add integer reference variable.
2229 * gdb.cp/misc.exp: Add test.
2231 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2233 * gdb.server/stop-reply-no-thread.exp: Enhance the test
2234 scenario to cover execution until the end and also the case
2236 2020-03-31 Tom de Vries <tdevries@suse.de>
2238 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
2239 c. Use "maint info symtabs" to check symtab expansion.
2241 2020-03-30 Tom de Vries <tdevries@suse.de>
2243 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
2245 (verify_psymtab_expanded): Move ...
2246 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
2248 (readnow): New proc.
2250 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2252 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
2255 2020-03-20 Tom Tromey <tromey@adacore.com>
2257 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
2259 2020-03-20 Tom Tromey <tromey@adacore.com>
2261 * gdb.ada/sub_variant/subv.adb: New file.
2262 * gdb.ada/sub_variant.exp: New file.
2264 2020-03-20 Tom de Vries <tdevries@suse.de>
2266 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
2268 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
2270 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2272 * gdb.server/exit-multiple-threads.c: New file.
2273 * gdb.server/exit-multiple-threads.exp: New file.
2275 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2277 * gdb.fortran/mixed-lang-stack.c: New file.
2278 * gdb.fortran/mixed-lang-stack.cpp: New file.
2279 * gdb.fortran/mixed-lang-stack.exp: New file.
2280 * gdb.fortran/mixed-lang-stack.f90: New file.
2282 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2284 * gdb.linespec/cp-completion-aliases.cc: New file.
2285 * gdb.linespec/cp-completion-aliases.exp: New file.
2287 2020-03-19 Tom de Vries <tdevries@suse.de>
2289 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
2292 2020-03-18 Tom de Vries <tdevries@suse.de>
2294 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
2295 * gdb.dwarf2/break-inline-psymtab.c: New test.
2296 * gdb.dwarf2/break-inline-psymtab.exp: New file.
2298 2020-03-16 Tom de Vries <tdevries@suse.de>
2300 * lib/cache.exp (gdb_do_cache): Add and handle local variables
2301 cache_verify and cache_verify_proc.
2303 2020-03-15 Tom de Vries <tdevries@suse.de>
2305 * gdb.server/solib-list.exp: Handle
2306 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
2308 2020-03-15 Tom de Vries <tdevries@suse.de>
2310 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
2313 2020-03-14 Tom Tromey <tom@tromey.com>
2315 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
2317 2020-03-14 Tom de Vries <tdevries@suse.de>
2319 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
2321 2020-03-14 Tom de Vries <tdevries@suse.de>
2323 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
2324 result in line-by-line fashion.
2326 2020-03-14 Tom de Vries <tdevries@suse.de>
2328 * lib/gdb.exp (supports_statement_frontiers): New proc.
2329 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
2331 2020-03-14 Tom de Vries <tdevries@suse.de>
2333 * gdb.base/printcmds.exp: Add missing quoting for "print
2336 2020-03-13 Tom Tromey <tom@tromey.com>
2338 * gdb.base/printcmds.exp (test_print_strings): Add regression
2340 * gdb.base/printcmds.c (charptr): New typedef.
2341 (teststring2): New global.
2343 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
2345 * gdb.base/break-interp.exp: Use the tail of the filename, not the
2346 full path in the test name.
2347 (test_ld): Add some with_test_prefix blocks to make test names
2350 2020-03-13 Tom de Vries <tdevries@suse.de>
2352 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
2354 2020-03-13 Tom de Vries <tdevries@suse.de>
2356 * gdb.mi/mi-sym-info.exp: Make matching more precise.
2358 2020-03-13 Tom de Vries <tdevries@suse.de>
2361 * gdb.dwarf2/imported-unit.exp: Add test.
2363 2020-03-13 Tom de Vries <tdevries@suse.de>
2365 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
2366 (var1, var2): New variable.
2367 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
2370 2020-03-13 Tom de Vries <tdevries@suse.de>
2372 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
2373 (Term::command): Use prompt prefix.
2374 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
2375 * gdb.tui/tui-layout-asm-short-prog.exp: Use
2376 command_no_prompt_prefix instead of prefix.
2377 * gdb.tui/tui-layout-asm.exp: Same.
2379 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
2381 * gdb.base/break-interp.exp: Use foreach_with_prefix.
2383 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
2385 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
2386 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
2387 on" while stepping over the test instruction, match printed
2390 2020-03-12 Tom de Vries <tdevries@suse.de>
2392 * gdb.base/info-types.exp: Use exp_continue during matching of output
2395 2020-03-12 Tom de Vries <tdevries@suse.de>
2397 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
2399 2020-03-12 Tom de Vries <tdevries@suse.de>
2401 * gdb.fortran/module.exp: Use exp_continue during matching of output
2402 of "info variable -n".
2404 2020-03-12 Tom de Vries <tdevries@suse.de>
2406 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
2407 gdb.dwarf2/dw2-ranges-base.c.
2409 2020-03-12 Tom de Vries <tdevries@suse.de>
2411 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
2412 in presence of GLIBC debuginfo.
2414 2020-03-12 Tom de Vries <tdevries@suse.de>
2416 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
2419 2020-03-12 Tom de Vries <tdevries@suse.de>
2421 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
2424 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
2426 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
2427 from Unix to Windows path.
2429 2020-03-11 Tom de Vries <tdevries@suse.de>
2431 * gdb.ada/minsyms.exp: Set language to ada.
2433 2020-03-11 Tom de Vries <tdevries@suse.de>
2435 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
2437 2020-03-11 Tom de Vries <tdevries@suse.de>
2439 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
2441 2020-03-11 Tom Tromey <tromey@adacore.com>
2443 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
2445 2020-03-11 Tom de Vries <tdevries@suse.de>
2447 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
2449 2020-03-11 Tom de Vries <tdevries@suse.de>
2451 * gdb.base/break-interp.exp: Limit verbose scope.
2453 2020-03-11 Tom de Vries <tdevries@suse.de>
2455 * gdb.fortran/logical.f90: Define variable with character type.
2456 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
2458 2020-03-11 Tom de Vries <tdevries@suse.de>
2460 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
2462 2020-03-11 Tom de Vries <tdevries@suse.de>
2464 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
2467 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2468 Bernd Edlinger <bernd.edlinger@hotmail.de>
2470 * gdb.cp/step-and-next-inline.cc: New file.
2471 * gdb.cp/step-and-next-inline.exp: New file.
2472 * gdb.cp/step-and-next-inline.h: New file.
2473 * gdb.dwarf2/dw2-is-stmt.c: New file.
2474 * gdb.dwarf2/dw2-is-stmt.exp: New file.
2475 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
2476 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
2477 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
2479 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2481 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
2482 is-stmt flag in the line table.
2484 2020-03-09 Tom de Vries <tdevries@suse.de>
2486 * lib/gdb.exp (cached_file): Create cache dir.
2488 2020-03-07 Tom de Vries <tdevries@suse.de>
2490 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
2491 * gdb.cp/rvalue-ref-params.exp: Same.
2493 2020-03-06 Tom de Vries <tdevries@suse.de>
2495 * lib/gdb.exp (tentative_rename, cached_file): New proc.
2496 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
2498 2020-03-06 Tom de Vries <tdevries@suse.de>
2500 * README: Fix "the the".
2501 * gdb.base/dprintf.exp: Same.
2503 2020-03-05 Tom de Vries <tdevries@suse.de>
2505 * gdb.base/maint.exp: Update "main print statistics" expected output.
2507 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2509 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
2510 (fortran_int8): Likewise.
2511 (fortran_real4): Likewise.
2512 (fortran_real8): Likewise.
2513 (fortran_complex4): Likewise.
2514 (fortran_logical4): Likewise.
2515 (fortran_character1): Likewise.
2517 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
2519 * gdb.fortran/logical.exp: Add tests that any non-zero value is
2522 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
2524 * gdb.base/printcmds.exp: Add test to verify printf of a
2525 variable holding an address.
2527 2020-03-03 Tom de Vries <tdevries@suse.de>
2529 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
2531 2020-03-03 Tom de Vries <tdevries@suse.de>
2533 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
2534 gdb_test_multiple call.
2536 2020-03-03 Tom de Vries <tdevries@suse.de>
2538 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
2539 gdb_test_multiple calls.
2541 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2543 * gdb.base/default.exp: Remove test of 'set history filename'.
2544 * gdb.base/gdbinit-history.exp: Add tests for setting the history
2545 filename to the empty string.
2546 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
2549 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2551 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
2554 2020-03-02 Pedro Alves <palves@redhat.com>
2555 Tom de Vries <tdevries@suse.de>
2557 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
2558 -prompt prefix, before user_code argument. Add -lbl option likewise.
2559 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
2560 (gdb_is_target_1): Add -prompt prefix and move to before user_code
2562 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
2563 have "\r\n" at start-of-line, instead of at end-of-line.
2565 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
2567 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
2570 2020-02-28 Luis Machado <luis.machado@linaro.org>
2572 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
2575 2020-02-28 Luis Machado <luis.machado@linaro.org>
2577 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
2578 asm/ptrace.h and error.h.
2580 2020-02-28 Tom de Vries <tdevries@suse.de>
2582 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
2583 (struct wrapper, do_something, mundane/symada__cS): Move ...
2584 * gdb.base/c-linkage-name-2.c: ... here. New source file.
2585 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
2586 Update "print symada__cS before partial symtab expansion" regexp.
2587 Update breakpoint location. Flush symbol cache after expansion.
2589 2020-02-28 Luis Machado <luis.machado@linaro.org>
2591 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
2593 2020-02-27 Tom de Vries <tdevries@suse.de>
2595 * config/sid.exp: Remove unused globals.
2596 * gdb.base/attach.exp: Same.
2597 * gdb.base/catch-load.exp: Same.
2598 * gdb.base/dbx.exp: Same.
2599 * lib/gdb.exp: Same.
2600 * lib/mi-support.exp: Same.
2601 * lib/prompt.exp: Same.
2603 2020-02-27 Tom de Vries <tdevries@suse.de>
2605 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
2608 2020-02-26 Aaron Merey <amerey@redhat.com>
2610 * gdb.debuginfod: New directory for debuginfod tests.
2611 * gdb.debuginfod/main.c: New test file.
2612 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
2614 2020-02-26 Tom de Vries <tdevries@suse.de>
2617 * gdb.base/persistent-lang.cc: New test.
2618 * gdb.base/persistent-lang.exp: New file.
2620 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2622 * gdb.fortran/derived-type-striding.exp: Add a new test.
2623 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
2626 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2628 * gdb.base/cached-source-file.exp: Avoid source file paths in test
2631 2020-02-25 Tom de Vries <tdevries@suse.de>
2634 * gdb.go/methods.exp: Remove gcc/93866 xfail.
2636 2020-02-24 Tom de Vries <tdevries@suse.de>
2639 * gdb.base/info-locals-unused-static-var.c: New test.
2640 * gdb.base/info-locals-unused-static-var.exp: New file.
2642 2020-02-22 Tom Tromey <tom@tromey.com>
2644 * gdb.python/tui-window.exp: New file.
2645 * gdb.python/tui-window.py: New file.
2647 2020-02-22 Tom Tromey <tom@tromey.com>
2650 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
2653 2020-02-22 Tom Tromey <tom@tromey.com>
2655 * gdb.tui/new-layout.exp: Add sub-layout tests.
2657 2020-02-22 Tom Tromey <tom@tromey.com>
2659 * gdb.tui/new-layout.exp: New file.
2661 2020-02-22 Tom Tromey <tom@tromey.com>
2663 * gdb.rust/rust-style.rs: New file.
2664 * gdb.rust/rust-style.exp: New file.
2665 * gdb.base/style.exp: Test structure printing.
2666 * gdb.base/style.c (struct some_struct): New type.
2667 (enum etype): New type.
2668 (struct_value): New global.
2670 2020-02-21 Tom de Vries <tdevries@suse.de>
2673 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
2674 Remove blanket xfails. Use message argument for gdb_breakpoint.
2675 Make continuing to breakpoint test conditional on setting breakpoint.
2676 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
2677 DW_AT_name attribute. Add xfail for GCC PR93866.
2679 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
2681 * gdb.dwarf2/cpp-linkage-name.c: New file.
2682 * gdb.dwarf2/cpp-linkage-name.exp: New file.
2684 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
2686 * lib/gdb.exp (gdb_wrapper_init): Reset
2687 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
2690 2020-02-20 Tom de Vries <tdevries@suse.de>
2693 * gdb.go/hello.exp: Copy ...
2694 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
2695 print of st to print value of global definition. Add xfail for GCC
2697 * gdb.go/hello.exp: Remove printing of st before definition.
2698 * gdb.go/hello.go: Copy ...
2699 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
2701 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
2703 2020-02-20 Tom de Vries <tdevries@suse.de>
2705 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
2706 (gdb_simple_compile): Handle compile_flags go by using .go extension
2708 * gdb.go/chan.exp: Use support_go_compile.
2709 * gdb.go/handcall.exp: Same.
2710 * gdb.go/hello.exp: Same.
2711 * gdb.go/integers.exp: Same.
2712 * gdb.go/max-depth.exp: Same.
2713 * gdb.go/methods.exp: Same.
2714 * gdb.go/package.exp: Same.
2715 * gdb.go/strings.exp: Same.
2716 * gdb.go/types.exp: Same.
2717 * gdb.go/unsafe.exp: Same.
2719 2020-02-19 Tom de Vries <tdevries@suse.de>
2721 * gdb.python/lib-types.exp: Make xfail more strict.
2723 2020-02-19 Tom de Vries <tdevries@suse.de>
2725 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
2727 2020-02-19 Doug Evans <dje@google.com>
2730 * gdb.rust/simple.exp: Add test.
2731 * gdb.rust/simple.rs: Add test.
2733 2020-02-19 Tom de Vries <tdevries@suse.de>
2735 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
2736 output line-by-line.
2738 2020-02-19 Tom de Vries <tdevries@suse.de>
2740 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
2742 2020-02-19 Tom de Vries <tdevries@suse.de>
2744 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
2747 2020-02-19 Tom de Vries <tdevries@suse.de>
2749 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
2750 (gdb_do_cache): Use gdb_do_cache_wrap.
2751 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
2753 2020-02-19 Tom de Vries <tdevries@suse.de>
2755 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
2758 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2760 * gdb.base/printcmds.exp (test_print_enums): Update expected
2763 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2765 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
2768 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2770 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
2773 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2775 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
2778 (enum flag_enum_without_zero): New enum.
2779 (flag_enum_without_zero): New variable.
2780 (enum not_flag_enum): New enum.
2781 (three_not_flag): New variable.
2782 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
2783 (test_print_enums): Add more tests for printing flag enums.
2785 2020-02-18 Tom de Vries <tdevries@suse.de>
2787 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
2788 (gdb_compile_ada): ... here.
2789 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
2790 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
2792 2020-02-14 Tom Tromey <tom@tromey.com>
2794 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
2796 * boards/gdbserver-base.exp: Update path to gdbserver.
2798 2020-02-13 Tom de Vries <tdevries@suse.de>
2800 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
2802 2020-02-13 Tom de Vries <tdevries@suse.de>
2804 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
2807 2020-02-13 Tom de Vries <tdevries@suse.de>
2809 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
2812 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2815 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
2816 * gdb.base/cached-source-file.c: New file.
2817 * gdb.base/cached-source-file.exp: New file.
2819 2020-02-11 Tom de Vries <tdevries@suse.de>
2822 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
2824 2020-02-10 Tom de Vries <tdevries@suse.de>
2826 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
2828 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
2830 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
2831 and $after_addr are both integers before making a comparison.
2833 2020-02-09 Tom de Vries <tdevries@suse.de>
2835 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
2836 command output and paste it into gdb.log. If any, paste catch message
2839 2020-02-07 Tom Tromey <tromey@adacore.com>
2841 PR breakpoints/24915:
2842 * gdb.base/annotate-symlink.exp: Use setup_xfail.
2844 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
2846 * gdb.tui/tui-missing-src.exp: Add the "missing source
2847 file" test for the TUI.
2849 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
2851 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
2852 including a port number in the output.
2854 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2856 * lib/fortran.exp (fortran_int4): Handle clang.
2857 (fortran_int8): Likewise.
2858 (fortran_real4): Likewise.
2859 (fortran_real8): Likewise.
2860 (fortran_complex4): Likewise.
2861 (fortran_logical4): Likewise.
2862 (fortran_character1): Likewise.
2864 2020-02-04 Tom de Vries <tdevries@suse.de>
2866 * README (Race detection): Add note.
2868 2020-02-04 Tom de Vries <tdevries@suse.de>
2870 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
2872 2020-02-04 Tom de Vries <tdevries@suse.de>
2874 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
2876 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2878 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
2879 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
2880 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
2882 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
2883 binary for blttar, bnetarl.
2884 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
2885 wait instruction. Delete ldmx test.
2886 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
2888 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2890 * gdb.fortran/array-bounds-high.exp: New file.
2891 * gdb.fortran/array-bounds-high.f90: New file.
2893 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
2895 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
2896 Replace #include of <sys/fcntl.h> by <fcntl.h>.
2898 2020-02-01 Tom de Vries <tdevries@suse.de>
2900 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
2902 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
2905 * gdb.tui/tui-layout-asm-short-prog.S: New file.
2906 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
2908 2020-01-29 Luis Machado <luis.machado@linaro.org>
2910 * gdb.arch/aarch64-brk-patterns.c: New source file.
2911 * gdb.arch/aarch64-brk-patterns.exp: New test.
2913 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2915 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
2917 * gdb.cp/pass-by-ref.exp: Ditto.
2919 2020-01-29 Tom de Vries <tdevries@suse.de>
2921 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
2922 * gdb.threads/watchpoint-fork-mt.c: Same.
2923 * gdb.threads/watchpoint-fork-parent.c: Same.
2924 * gdb.threads/watchpoint-fork-st.c: Same.
2925 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
2927 2020-01-27 Luis Machado <luis.machado@linaro.org>
2929 * gdb.base/step-over-syscall.exp (setup): Check if we're already
2930 sitting at a syscall instruction when we hit the syscall function's
2932 Check PC against one obtained with the x command.
2933 Validate syscall number.
2934 (step_over_syscall): Don't continue to the syscall instruction if
2935 we're already there.
2937 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2939 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
2941 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2943 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
2944 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
2946 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2948 * gdb.dwarf2/dw2-inline-stepping.c: New file.
2949 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
2951 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2953 * gdb.base/maint.exp: Update line table parsing test.
2954 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
2956 2020-01-24 Pedro Alves <palves@redhat.com>
2959 * gdb.multi/multi-re-run-1.c: New.
2960 * gdb.multi/multi-re-run-2.c: New.
2961 * gdb.multi/multi-re-run.exp: New.
2963 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2966 * gdb.server/server-kill-python.exp: New file.
2968 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2970 * gdb.server/multi-ui-errors.c: New file.
2971 * gdb.server/multi-ui-errors.exp: New file.
2973 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2976 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
2978 2020-01-19 Tom Tromey <tom@tromey.com>
2980 * gdb.tui/main.exp: Add check for plain "file".
2982 2020-01-16 Christian Biesinger <cbiesinger@google.com>
2984 * lib/gdb.exp: Fix spelling error (seperatelly).
2986 2020-01-14 Tom Tromey <tom@tromey.com>
2989 * gdb.python/python.exp: Test decode_line with empty string
2992 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2994 * gdb.base/skip-inline.exp: Extend test.
2996 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2998 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
2999 * gdb.dwarf2/dw2-bad-elf.c: New file.
3000 * gdb.dwarf2/dw2-bad-elf.exp: New file.
3002 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3004 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
3007 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3009 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
3012 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3014 * gdb.multi/multi-target.exp (setup): Factor out "info
3015 connections" and "info inferiors" tests to ...
3016 (test_info_inferiors): ... this new procedure.
3017 (top level): Run new "info-inferiors" tests.
3019 2020-01-10 Pedro Alves <palves@redhat.com>
3021 * gdb.server/bkpt-other-inferior.exp: New file.
3023 2020-01-10 Pedro Alves <palves@redhat.com>
3025 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
3027 * gdb.base/quit-live.exp: Likewise.
3028 * gdb.base/remote-exec-file.exp: Likewise.
3029 * gdb.guile/scm-progspace.exp: Likewise.
3030 * gdb.linespec/linespec.exp: Likewise.
3031 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3032 * gdb.mi/user-selected-context-sync.exp: Likewise.
3033 * gdb.multi/multi-target.exp (setup): Add "info connection" and
3034 "info inferiors" tests.
3035 * gdb.multi/remove-inferiors.exp: Adjust expected output of
3037 * gdb.multi/watchpoint-multi.exp: Likewise.
3038 * gdb.python/py-inferior.exp: Likewise.
3039 * gdb.server/extended-remote-restart.exp: Likewise.
3040 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
3042 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
3043 * gdb.trace/report.exp: Likewise.
3045 2020-01-10 Pedro Alves <palves@redhat.com>
3047 * gdb.multi/multi-target.c: New file.
3048 * gdb.multi/multi-target.exp: New file.
3049 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
3050 mode requested, but remote does not support non-stop".
3052 2020-01-10 Pedro Alves <palves@redhat.com>
3054 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
3055 disconnect before reconnecting.
3057 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3058 Pedro Alves <palves@redhat.com>
3060 * gdb.server/connect-without-multi-process.exp: Also test
3063 2020-01-10 Pedro Alves <palves@redhat.com>
3065 * gdb.base/remote-exec-file.exp: New file.
3067 2020-01-10 Pedro Alves <palves@redhat.com>
3069 * gdb.base/fork-running-state.exp (do_test): Adjust expected
3071 * gdb.threads/async.c: New.
3072 * gdb.threads/async.exp: New.
3073 * gdb.multi/tids-gid-reset.c: New.
3074 * gdb.multi/tids-gid-reset.exp: New.
3076 2020-01-10 George Barrett <bob@bob131.so>
3078 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
3079 to help in finding the image relocation offset.
3080 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
3081 options in arguments.
3082 (stap_test_no_debuginfo): Likewise.
3083 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
3085 (stap_test): Add null semaphore relocation test.
3087 2020-01-10 George Barrett <bob@bob131.so>
3089 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
3090 * gdb.base/stap-probe.exp: Likewise.
3091 (stap_test): Pass argument as an additional flag.
3092 (stap_test_no_debuginfo): Likewise.
3093 (stap_test): Check `info probes stap' output for semaphore
3094 addresses if the test binary is supposed to have them.
3096 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3098 * gdb.tui/basic.exp: Add more scrolling tests.
3100 2020-01-09 Tom Tromey <tom@tromey.com>
3103 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
3105 (Term::command, Term::resize): Update.
3106 * gdb.tui/basic.exp: Add scrolling test.
3108 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3110 * gdb.tui/tui-layout-asm.exp: New file.
3112 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3114 * lib/tuiterm.exp (Term::check_box_contents): New proc.
3116 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3118 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
3119 (Term::enter_tui): Use Term::prepare_for_tui.
3121 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3123 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
3126 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3128 * gdb.base/skip.exp: Fix race condition in test.
3130 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3132 * gdb.base/backtrace.c: New file.
3133 * gdb.base/backtrace.exp: New file.
3135 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
3137 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
3139 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3141 * gdb.base/style.exp: Test that warnings are styled.
3143 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
3145 * gdb.base/line65535.exp: New file.
3146 * gdb.base/line65535.c: New file.
3148 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
3150 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
3151 * lib/gnat_debug_info_test.adb: New file.
3152 * gdb.ada/ptype_tagged_param.exp: Use
3153 gnat_runtime_has_debug_info, expect a different output if
3154 runtime does not have debug info.
3156 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
3158 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
3159 (another) quote in test name.
3161 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
3163 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
3164 Add quote in test name.
3166 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3168 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
3170 * gdb.cp/pass-by-ref.exp: Extend with more cases.
3171 * gdb.cp/pass-by-ref-2.cc: New file.
3172 * gdb.cp/pass-by-ref-2.exp: New file.
3174 2019-12-20 Tom Tromey <tom@tromey.com>
3176 * gdb.tui/list-before.exp: New file.
3178 2019-12-20 Tom Tromey <tom@tromey.com>
3180 * gdb.tui/list.exp: Check for source on initial listing.
3182 2019-12-11 Tom Tromey <tromey@adacore.com>
3184 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
3187 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
3189 * gdb.base/default.exp: Update value of $_gdb_major.
3191 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3193 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
3195 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3197 * gdb.base/skip.exp: Whitespace fix.
3199 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3201 * gdb.base/skip-inline.c: New file.
3202 * gdb.base/skip-inline.exp: New file.
3204 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
3206 * gdb.base/jit-reader.exp (jit_reader_test): Rename
3207 jit_function_00 to jit_function_stack_mangle.
3208 * gdb.base/jithost.c (jit_function_t): Rename to...
3209 (jit_function_stack_mangle_t): ... this.
3210 (jit_function_add_t): New typedef.
3211 (jit_function_00_code): Rename to...
3212 (jit_function_stack_mangle_code): ... this, make static.
3213 (jit_function_add_code): New.
3214 (main): Generate "add" function and call it. Adjust to changes
3216 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
3217 (struct jithost_abi) <begin, end>: Remove fields.
3218 <object, function_stack_mangle, function_add>: New fields.
3219 * gdb.base/jitreader.c (struct reader_state) <code_begin,
3220 code_end>: Remove fields.
3221 <func_stack_mangle>: New field.
3222 (read_debug_info): Adjust to renaming, create block for "add"
3224 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
3226 2019-12-11 Tom Tromey <tom@tromey.com>
3228 * gdb.tui/resize.exp: Fix regexp.
3229 * gdb.tui/regs.exp: Fix regexps.
3230 * gdb.tui/main.exp: Fix regexp.
3232 2019-12-11 Tom Tromey <tom@tromey.com>
3234 * gdb.tui/resize.exp: Update.
3235 * gdb.tui/empty.exp (layouts): Update.
3237 2019-12-11 Tom Tromey <tom@tromey.com>
3239 * gdb.tui/regs.exp: Update.
3240 * gdb.tui/empty.exp (layouts): Update.
3241 * gdb.tui/basic.exp: Update.
3242 * lib/tuiterm.exp (_check_box): Don't check bottom border.
3244 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3246 * gdb.base/options.exp: Add -raw-values in the print completion list.
3247 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
3249 2019-12-10 Kevin Buettner <kevinb@redhat.com>
3251 * gdb.threads/omp-par-scope.c: New file.
3252 * gdb/threads/omp-par-scope.exp: New file.
3254 2019-12-10 Kevin Buettner <kevinb@redhat.com>
3256 * lib/gdb.exp (support_nested_function_tests): New proc.
3258 2019-12-10 Kevin Buettner <kevinb@redhat.com>
3260 * lib/gdb.exp (gdb_compile_openmp): New proc.
3261 (build_executable_from_specs): Add an "openmp" option.
3262 (gdb_compile_pthreads): Add non-executable case.
3264 2019-12-10 Tom Tromey <tromey@adacore.com>
3266 * gdb.ada/unchecked_union.exp: New file.
3267 * gdb.ada/unchecked_union/pck.adb: New file.
3268 * gdb.ada/unchecked_union/pck.ads: New file.
3269 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
3270 * gdb-utils.exp (string_to_regexp): Also quote "?".
3272 2019-12-10 George Barrett <bob@bob131.so>
3274 Test scripted probe breakpoints.
3275 * gdb.guile/scm-breakpoint.c (main): Add probe point.
3276 * gdb.python/py-breakpoint.c (main): Likewise.
3277 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
3279 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
3281 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3283 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
3284 an rvalue parameter.
3285 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
3288 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3290 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
3293 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3295 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
3296 broken version of GCC.
3298 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3300 * gdb.fortran/info-modules.exp: Rewrite to make use of new
3301 sym-info-cmds library.
3302 * gdb.fortran/info-types.exp: Likewise.
3303 * lib/sym-info-cmds.exp: New file.
3305 2019-12-08 Tom de Vries <tdevries@suse.de>
3307 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
3309 2019-12-07 Keith Seitz <keiths@redhat.com>
3311 * gdb.base/corefile-buildid-shlib-shr.c: New file.
3312 * gdb.base/corefile-buildid-shlib.c: New file.
3313 * gdb.base/corefile-buildid.c: New file.
3314 * gdb.base/corefile-buildid.exp: New file.
3316 2019-12-06 Tom de Vries <tdevries@suse.de>
3318 * gdb.dwarf2/varval.exp: Add decl before def test.
3320 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3322 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
3324 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3326 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
3327 CV and reference conversion for overload resolution.
3328 * gdb.cp/rvalue-ref-overload.exp: Test it.
3330 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3332 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
3333 * gdb.base/frameapply.exp: Test faas without command.
3335 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3337 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
3339 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
3342 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3344 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
3345 casting to type with no kind specified.
3346 (test_basic_parsing_of_type_kinds): Additional tests for types
3347 with no kind specified, and add tests for single/double
3348 precision/complex types.
3350 2019-12-04 Tom Tromey <tromey@adacore.com>
3352 * gdb.base/endianity.c (struct other) <x>: New field.
3353 (main): Initialize it.
3354 * gdb.base/endianity.exp: Update.
3356 2019-12-04 Tom Tromey <tromey@adacore.com>
3358 * gdb.ada/scalar_storage/storage.adb: New file.
3359 * gdb.ada/scalar_storage/pck.adb: New file.
3360 * gdb.ada/scalar_storage/pck.ads: New file.
3361 * gdb.ada/scalar_storage.exp: New file.
3363 2019-12-04 Tom Tromey <tromey@adacore.com>
3365 * gdb.base/endianity.c (struct otherendian) <f>: New field.
3366 (main): Initialize it.
3367 * gdb.base/endianity.exp: Update.
3369 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3371 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
3373 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3375 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
3376 -symbol-info-module-functions and -symbol-info-module-variables.
3378 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
3380 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
3382 2019-12-01 Richard Bunt <richard.bunt@arm.com>
3383 Andrew Burgess <andrew.burgess@embecosm.com>
3385 * gdb.fortran/derived-type-striding.exp: New file.
3386 * gdb.fortran/derived-type-striding.f90: New file.
3387 * gdb.fortran/array-slices.exp: New file.
3388 * gdb.fortran/array-slices.f90: New file.
3390 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3392 * gdb.base/define.exp: Test . in command names.
3393 * gdb.base/setshow.exp: Update test, as . is now part of
3396 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3398 * gdb.base/define-prefix.exp: New file.
3400 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
3402 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
3404 (skip_btrace_pt_tests): Likewise.
3406 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3408 * gdb.fortran/info-modules.exp: Compile source files in correct
3411 2019-11-27 Kevin Buettner <kevinb@redhat.com>
3413 * gdb.dwarf2/imported-unit.exp: New file.
3414 * gdb.dwarf2/imported-unit.c: New file.
3416 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3418 * gdb.mi/mi-fortran-modules-2.f90: New file.
3419 * gdb.mi/mi-fortran-modules.exp: New file.
3420 * gdb.mi/mi-fortran-modules.f90: New file.
3422 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3424 * gdb.mi/mi-sym-info-1.c: New file.
3425 * gdb.mi/mi-sym-info-2.c: New file.
3426 * gdb.mi/mi-sym-info.exp: New file.
3428 2019-11-22 Tom Tromey <tromey@adacore.com>
3430 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
3431 * gdb.ada/tasks/foo.adb: Add another stopping location.
3433 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
3435 * gdb.base/endianity.c: New test.
3436 * gdb.base/endianity.exp: New file.
3438 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
3440 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
3442 2019-11-21 Tom de Vries <tdevries@suse.de>
3445 * gdb.base/ui-redirect.exp: Test output of user-defined command.
3447 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3449 * gdb.python/py-progspace.exp: Add missing parentheses on some
3452 2019-11-19 Tom Tromey <tom@tromey.com>
3454 * gdb.tui/winheight.exp: New file.
3456 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3458 * gdb.base/ctf-whatis.c: Delete.
3459 * gdb.base/ctf-whatis.exp: Delete.
3460 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
3462 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3464 * gdb.base/ctf-cvexpr.exp: Delete.
3465 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
3467 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3469 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
3470 the compiler. Clean up header comment a little.
3471 * gdb.base/ctf-ptype.exp: Likewise.
3472 * gdb.base/ctf-whatis.exp: Likewise.
3473 * lib/gdb.exp (skip_ctf_tests): New proc.
3475 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
3477 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
3478 * gdb.tui/corefile-run.exp: New file.
3480 2019-11-14 Tom Tromey <tromey@adacore.com>
3482 * gdb.base/gdbvars.exp (test_convenience_variables): Add
3485 2019-11-12 Tom Tromey <tom@tromey.com>
3487 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
3488 after any command. Expect prompt after WAIT_FOR is seen.
3489 (enter_tui): Enable resize messages.
3490 (command): Expect command in output.
3491 (get_line): Avoid error when cursor appears to be off-screen.
3492 (dump_screen): Include screen size in title.
3493 (_do_resize): New proc, from "resize".
3494 (resize): Rewrite. Do resize in two steps.
3495 * gdb.tui/empty.exp (layouts): Fix entries.
3496 (check_boxes): Remove xfail.
3497 (check_text): Dump screen on failure.
3499 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3501 * gdb.python/py-symbol.exp: Add test for
3502 gdb.lookup_static_symbols.
3504 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3506 * gdb.python/py-symbol.c: Declare and call function from new
3508 * gdb.python/py-symbol.exp: Compile both source files, and add new
3509 tests for gdb.lookup_static_symbol.
3510 * gdb.python/py-symbol-2.c: New file.
3512 2019-11-02 Tom de Vries <tdevries@suse.de>
3514 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
3515 * gdb.base/anon.exp: Same.
3516 * gdb.base/auto-connect-native-target.exp: Same.
3517 * gdb.base/call-ar-st.exp: Same.
3518 * gdb.base/catch-syscall.exp: Same.
3519 * gdb.base/commands.exp: Same.
3520 * gdb.base/default.exp: Same.
3521 * gdb.base/display.exp: Same.
3522 * gdb.base/float.exp: Same.
3523 * gdb.base/foll-fork.exp: Same.
3524 * gdb.base/help.exp: Same.
3525 * gdb.base/info-macros.exp: Same.
3526 * gdb.base/info-proc.exp: Same.
3527 * gdb.base/info-target.exp: Same.
3528 * gdb.base/long_long.exp: Same.
3529 * gdb.base/macscp.exp: Same.
3530 * gdb.base/memattr.exp: Same.
3531 * gdb.base/nofield.exp: Same.
3532 * gdb.base/pointers.exp: Same.
3533 * gdb.base/printcmds.exp: Same.
3534 * gdb.base/ptype.exp: Same.
3535 * gdb.base/restore.exp: Same.
3536 * gdb.base/return.exp: Same.
3537 * gdb.base/scope.exp: Same.
3538 * gdb.base/set-noassign.exp: Same.
3539 * gdb.base/setshow.exp: Same.
3540 * gdb.base/shlib-call.exp: Same.
3541 * gdb.base/signals.exp: Same.
3542 * gdb.base/sigstep.exp: Same.
3543 * gdb.base/skip.exp: Same.
3544 * gdb.base/solib-symbol.exp: Same.
3545 * gdb.base/stap-probe.exp: Same.
3546 * gdb.base/step-line.exp: Same.
3547 * gdb.base/step-test.exp: Same.
3548 * gdb.base/style.exp: Same.
3549 * gdb.base/varargs.exp: Same.
3550 * gdb.base/vla-datatypes.exp: Same.
3551 * gdb.base/vla-ptr.exp: Same.
3552 * gdb.base/vla-sideeffect.exp: Same.
3553 * gdb.base/volatile.exp: Same.
3554 * gdb.base/watch-cond-infcall.exp: Same.
3555 * gdb.base/watchpoint.exp: Same.
3557 2019-11-02 Tom de Vries <tdevries@suse.de>
3559 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
3560 * gdb.cp/cpexprs.exp: Same.
3561 * gdb.cp/except-multi-location.exp: Same.
3562 * gdb.cp/exceptprint.exp: Same.
3563 * gdb.cp/gdb2384.exp: Same.
3564 * gdb.cp/inherit.exp: Same.
3565 * gdb.cp/m-static.exp: Same.
3566 * gdb.cp/meth-typedefs.exp: Same.
3567 * gdb.cp/misc.exp: Same.
3568 * gdb.cp/namespace.exp: Same.
3569 * gdb.cp/non-trivial-retval.exp: Same.
3570 * gdb.cp/overload.exp: Same.
3571 * gdb.cp/pr17132.exp: Same.
3572 * gdb.cp/re-set-overloaded.exp: Same.
3573 * gdb.cp/rvalue-ref-types.exp: Same.
3574 * gdb.cp/templates.exp: Same.
3576 2019-11-01 Luis Machado <luis.machado@linaro.org>
3580 * gdb.arch/pr25124.S: New file.
3581 * gdb.arch/pr25124.exp: New file.
3583 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3585 * gdb.fortran/info-modules.exp: Update expected results, and add
3586 additional tests for 'info module functinos', and 'info module
3588 * gdb.fortran/info-types.exp: Update expected results.
3589 * gdb.fortran/info-types.f90: Extend testcase with additional
3590 module variables and functions.
3592 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3594 * gdb.fortran/info-modules.exp: New file.
3595 * gdb.fortran/info-types.exp: Build with new file.
3596 * gdb.fortran/info-types.f90: Include and use new module.
3597 * gdb.fortran/info-types-2.f90: New file.
3599 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3601 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
3602 * gdb.base/settings.exp: Test all settings types using
3603 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
3604 that now verifies that the value of "maint show" is the same as
3605 returned by the settings functions. Test the type of the
3606 maintenance settings.
3607 * gdb.base/default.exp: Update show_conv_list.
3609 2019-10-31 Tom de Vries <tdevries@suse.de>
3611 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
3613 * gdb.arch/amd64-disp-step.exp: Same.
3614 * gdb.asm/asm-source.exp: Same.
3615 * gdb.btrace/buffer-size.exp: Same.
3616 * gdb.btrace/cpu.exp: Same.
3617 * gdb.btrace/enable.exp: Same.
3618 * gdb.dwarf2/count.exp: Same.
3619 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3620 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
3621 * gdb.fortran/vla-datatypes.exp: Same.
3622 * gdb.fortran/vla-history.exp: Same.
3623 * gdb.fortran/vla-ptype.exp: Same.
3624 * gdb.fortran/vla-value.exp: Same.
3625 * gdb.fortran/whatis_type.exp: Same.
3626 * gdb.guile/guile.exp: Same.
3627 * gdb.multi/tids.exp: Same.
3628 * gdb.python/py-finish-breakpoint.exp: Same.
3629 * gdb.python/py-framefilter.exp: Same.
3630 * gdb.python/py-pp-registration.exp: Same.
3631 * gdb.python/py-xmethods.exp: Same.
3632 * gdb.python/python.exp: Same.
3633 * gdb.server/connect-with-no-symbol-file.exp: Same.
3634 * gdb.server/no-thread-db.exp: Same.
3635 * gdb.server/run-without-local-binary.exp: Same.
3636 * gdb.stabs/weird.exp: Same.
3637 * gdb.threads/attach-many-short-lived-threads.exp: Same.
3638 * gdb.threads/thread-find.exp: Same.
3639 * gdb.threads/tls-shared.exp: Same.
3640 * gdb.threads/tls.exp: Same.
3641 * gdb.threads/wp-replication.exp: Same.
3642 * gdb.trace/ax.exp: Same.
3643 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
3645 2019-10-31 Tom de Vries <tdevries@suse.de>
3647 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
3648 * gdb.ada/array_subscript_addr.exp: Same.
3649 * gdb.ada/arrayidx.exp: Same.
3650 * gdb.ada/arrayparam.exp: Same.
3651 * gdb.ada/arrayptr.exp: Same.
3652 * gdb.ada/boolean_expr.exp: Same.
3653 * gdb.ada/call_pn.exp: Same.
3654 * gdb.ada/complete.exp: Same.
3655 * gdb.ada/fixed_cmp.exp: Same.
3656 * gdb.ada/fun_addr.exp: Same.
3657 * gdb.ada/funcall_param.exp: Same.
3658 * gdb.ada/interface.exp: Same.
3659 * gdb.ada/mod_from_name.exp: Same.
3660 * gdb.ada/null_array.exp: Same.
3661 * gdb.ada/packed_array.exp: Same.
3662 * gdb.ada/packed_tagged.exp: Same.
3663 * gdb.ada/print_chars.exp: Same.
3664 * gdb.ada/print_pc.exp: Same.
3665 * gdb.ada/ptype_arith_binop.exp: Same.
3666 * gdb.ada/ptype_field.exp: Same.
3667 * gdb.ada/ptype_tagged_param.exp: Same.
3668 * gdb.ada/rec_return.exp: Same.
3669 * gdb.ada/ref_tick_size.exp: Same.
3670 * gdb.ada/str_ref_cmp.exp: Same.
3671 * gdb.ada/taft_type.exp: Same.
3672 * gdb.ada/tagged.exp: Same.
3673 * gdb.ada/type_coercion.exp: Same.
3674 * gdb.ada/uninitialized_vars.exp: Same.
3676 2019-10-30 Tom de Vries <tdevries@suse.de>
3678 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
3680 2019-10-26 Tom de Vries <tdevries@suse.de>
3682 * gdb.base/bigcore.c: Fix typos in comments.
3683 * gdb.base/ctf-ptype.c: Same.
3684 * gdb.base/long_long.c: Same.
3685 * gdb.dwarf2/dw2-op-out-param.S: Same.
3686 * gdb.python/py-evthreads.c: Same.
3687 * gdb.reverse/i387-stack-reverse.c: Same.
3688 * gdb.trace/tfile.c: Same.
3689 * lib/compiler.c: Same.
3690 * lib/compiler.cc: Same.
3692 2019-10-25 Tom de Vries <tdevries@suse.de>
3694 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
3695 gdb_test_multiple calls.
3696 * gdb.reverse/sigall-reverse.exp: Same.
3697 * gdb.reverse/solib-precsave.exp: Same.
3698 * gdb.reverse/solib-reverse.exp: Same.
3699 * gdb.reverse/until-precsave.exp: Same.
3700 * gdb.reverse/until-reverse.exp: Same.
3702 2019-10-24 Tom de Vries <tdevries@suse.de>
3704 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
3705 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
3706 kfail using -wrap pattern flag and convenience variable
3709 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
3711 * gdb.python/py-progspace.exp: Add tests for the
3712 Progspace.block_for_pc method.
3714 2019-10-23 Tom Tromey <tom@tromey.com>
3716 * configure: Rebuild.
3717 * aclocal.m4: Use m4_include, not sinclude.
3719 2019-10-21 Tom de Vries <tdevries@suse.de>
3721 * gdb.base/infcall-nested-structs.c: Add
3722 __attribute__((noinline,noclone)) to all functions.
3723 (call_all): Add missing variable initialization. Simplify return value.
3724 (breakpt): Increment volatile variable, to prevent call from being
3726 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
3728 2019-10-17 Tom de Vries <tdevries@suse.de>
3730 * gdb.fortran/module.exp: Allow info variables to print info for files
3731 other than module.f90.
3733 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3735 * gdb.fortran/module.exp: Extend with 'info variables' test.
3737 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3739 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
3742 2019-10-16 Tom de Vries <tdevries@suse.de>
3745 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
3747 2019-10-16 Tom de Vries <tdevries@suse.de>
3750 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
3751 Add KFAIL for PR tdep/25096.
3753 2019-10-16 Tom de Vries <tdevries@suse.de>
3756 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
3758 2019-10-16 Tom de Vries <tdevries@suse.de>
3760 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
3763 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
3765 * gdb.mi/list-thread-groups-available.exp: Read entries one by
3766 one instead of increasing timeout.
3768 2019-10-13 Tom de Vries <tdevries@suse.de>
3771 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
3772 * gdb.reverse/sigall-reverse.exp: Same.
3773 * gdb.reverse/solib-precsave.exp: Same.
3774 * gdb.reverse/solib-reverse.exp: Same.
3775 * gdb.reverse/step-precsave.exp: Same.
3776 * gdb.reverse/until-precsave.exp: Same.
3777 * gdb.reverse/until-reverse.exp: Same.
3778 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
3780 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
3782 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
3783 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
3784 (cmp_struct_05_01, cmp_struct_static_02_01)
3785 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
3788 2019-10-10 Tom de Vries <tdevries@suse.de>
3791 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
3794 2019-10-09 Tom de Vries <tdevries@suse.de>
3797 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
3799 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3801 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
3802 exceptions due to missing debug information.
3804 2019-10-07 Tom de Vries <tdevries@suse.de>
3806 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
3808 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3810 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
3811 * gdb.base/annota1.exp: Update to use gdb_test_name.
3813 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
3815 * gdb.base/ctf-whatis.exp: New file.
3816 * gdb.base/ctf-whatis.c: New file.
3817 * gdb.base/ctf-ptype.exp: New file.
3818 * gdb.base/ctf-ptype.c: New file.
3819 * gdb.base/ctf-constvars.exp: New file.
3820 * gdb.base/ctf-constvars.c: New file.
3821 * gdb.base/ctf-cvexpr.exp: New file.
3823 2019-10-04 Tom de Vries <tdevries@suse.de>
3825 * gdb.cp/local-static.c (main): Move declaration of int i out of the
3828 2019-10-03 Tom Tromey <tom@tromey.com>
3831 * gdb.rust/simple.rs (Union2): New type.
3833 * gdb.rust/simple.exp: Add test.
3835 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3837 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
3838 nested function prefix.
3840 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
3841 Richard Bunt <richard.bunt@arm.com>
3842 Andrew Burgess <andrew.burgess@embecosm.com>
3844 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
3846 * gdb.fortran/nested-funcs.f90: Update expected results.
3847 * gdb.fortran/nested-funcs-2.exp: New file.
3848 * gdb.fortran/nested-funcs-2.f90: New file.
3850 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3852 * gdb.python/py-parameter.exp: Make test names unique.
3853 * gdb.python/py-template.exp: Likewise.
3854 * gdb.python/py-value.exp: Likewise.
3856 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3858 * gdb.base/break-interp.exp: Reduce test name duplication.
3859 * gdb.base/call-sc.exp: Likewise.
3860 * gdb.base/callfuncs.exp: Likewise.
3861 * gdb.base/charset.exp: Likewise.
3862 * gdb.base/dump.exp: Likewise.
3863 * gdb.base/ena-dis-br.exp: Likewise.
3864 * gdb.base/relational.exp: Likewise.
3865 * gdb.base/step-over-syscall.exp: Likewise.
3866 * gdb.base/structs.exp: Likewise.
3868 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3870 * gdb.linespec/explicit.exp: Make test names unique.
3871 * gdb.linespec/ls-errs.exp: Likewise.
3873 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3875 * gdb.reverse/break-precsave.exp: Make test names unique.
3876 * gdb.reverse/break-reverse.exp: Likewise.
3877 * gdb.reverse/finish-precsave.exp: Likewise.
3878 * gdb.reverse/finish-reverse.exp: Likewise.
3879 * gdb.reverse/machinestate-precsave.exp: Likewise.
3880 * gdb.reverse/machinestate.exp: Likewise.
3881 * gdb.reverse/readv-reverse.exp: Likewise.
3882 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3883 * gdb.reverse/sigall-precsave.exp: Likewise.
3884 * gdb.reverse/sigall-reverse.exp: Likewise.
3885 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
3886 * gdb.reverse/watch-precsave.exp: Likewise.
3887 * gdb.reverse/watch-reverse.exp: Likewise.
3889 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3891 * gdb.threads/stop-with-handle.c: New file.
3892 * gdb.threads/stop-with-handle.exp: New file.
3894 2019-10-03 Tom de Vries <tdevries@suse.de>
3897 * gdb.base/list-missing-source.exp: Allowing the "Compilation
3898 directory" line to be missing.
3900 2019-10-03 Tom de Vries <tdevries@suse.de>
3903 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
3906 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
3908 * gdb.python/py-format-string.c (string.h): New include.
3909 (main): Fill a_struct_with_union.the_union.an_int with bytes of
3910 the same value, for endianness-independence.
3911 * gdb.python/py-format-string.exp (default_regexp_dict)
3912 (test_pretty_structs, test_format): Adjust expected output to the
3913 changed initialization.
3915 2019-10-02 Tom Tromey <tromey@adacore.com>
3917 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
3919 2019-10-02 Pedro Alves <palves@redhat.com>
3920 Andrew Burgess <andrew.burgess@embecosm.com>
3922 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
3924 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3925 (get_version_1): Print this_version_id and its address.
3926 Add extern "C" wrappers around interface functions.
3927 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
3929 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3930 (get_version_2): Print this_version_id and its address.
3931 Add extern "C" wrappers around interface functions.
3932 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
3933 <stddef.h> and "print-file-var.h".
3934 Add extern "C" wrappers around interface functions.
3935 [VERSION_ID_MAIN] (this_version_id): Define.
3936 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
3937 * gdb.base/print-file-var.h: Add some #defines to simplify setting
3938 up extern "C" blocks.
3939 * gdb.base/print-file-var.exp (test): New, factored out from top
3941 (top level): Test all combinations of attribute hidden or not,
3942 dlopen or not, and this_version_id symbol in main file or not.
3943 Compile tests as both C++ and C, make test names unique.
3945 2019-10-01 Tom Tromey <tom@tromey.com>
3947 * gdb.base/style.exp: Test "show logging filename".
3949 2019-10-01 Tom Tromey <tom@tromey.com>
3951 * lib/gdb-utils.exp (style): Handle "metadata" argument.
3952 * gdb.base/style.exp: Add metadata style test.
3954 2019-10-01 Tom Tromey <tom@tromey.com>
3956 * gdb.base/style.exp: Test "pwd".
3958 2019-10-01 Tom Tromey <tom@tromey.com>
3960 * gdb.base/style.exp: Update tests.
3962 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
3964 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
3966 (s1): Initialize fields 'four' and 'six' instead of 'three' and
3967 'five'. Use an all-ones bit pattern for each.
3968 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
3969 to its changed values.
3971 2019-09-30 Tom Tromey <tromey@adacore.com>
3973 * gdb.rust/traits.rs: Disable all warnings.
3975 2019-09-29 Tom de Vries <tdevries@suse.de>
3977 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
3979 2019-09-29 Tom de Vries <tdevries@suse.de>
3981 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
3983 2019-09-27 Tom de Vries <tdevries@suse.de>
3985 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
3987 2019-09-27 Tom de Vries <tdevries@suse.de>
3990 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
3992 2019-09-26 Tom Tromey <tromey@adacore.com>
3994 * gdb.ada/py_taft.exp: New file.
3995 * gdb.ada/py_taft/main.adb: New file.
3996 * gdb.ada/py_taft/pkg.adb: New file.
3997 * gdb.ada/py_taft/pkg.ads: New file.
3999 2019-09-24 Tom de Vries <tdevries@suse.de>
4002 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
4004 2019-09-22 Tom de Vries <tdevries@suse.de>
4006 * gdb.base/restore.exp: Allow register variables to be optimized out at
4009 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
4011 * gdb.arch/spu-info.exp: Remove file.
4012 * gdb.arch/spu-info.c: Remove file.
4013 * gdb.arch/spu-ls.exp: Remove file.
4014 * gdb.arch/spu-ls.c: Remove file.
4016 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
4017 * gdb.asm/spu.inc: Remove file.
4019 * gdb.base/dump.exp: Remove support for spu*-*-*.
4020 * gdb.base/stack-checking.exp: Likewise.
4021 * gdb.base/overlays.exp: Likewise.
4022 * gdb.base/ovlymgr.c: Likewise.
4023 * gdb.base/spu.ld: Remove file.
4025 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
4026 * gdb.cp/cpexprs.exp: Likewise.
4027 * gdb.cp/exception.exp: Likewise.
4028 * gdb.cp/gdb2495.exp: Likewise.
4029 * gdb.cp/mb-templates.exp: Likewise.
4030 * gdb.cp/pr9167.exp: Likewise.
4031 * gdb.cp/userdef.exp: Likewise.
4033 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
4035 * gdb.cell: Remove directory.
4036 * lib/cell.exp: Remove file.
4038 2019-09-19 Tom de Vries <tdevries@suse.de>
4040 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
4042 2019-09-19 Tom de Vries <tdevries@suse.de>
4044 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
4046 2019-09-19 Tom de Vries <tdevries@suse.de>
4048 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
4049 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
4050 (gdb_target_cmd): ... here.
4051 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
4054 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
4056 * gdb.base/source-dir.exp: Avoid having directory names in test
4059 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4061 * gdb.base/source-dir.exp: Add extra test for mapped compilation
4064 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4066 * gdb.base/list-missing-source.exp: New file.
4068 2019-09-14 Tom de Vries <tdevries@suse.de>
4071 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
4072 * lib/ada.exp (gnatmake_version_at_least): New proc.
4074 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4076 * gdb.base/maint.exp: Use exec_has_index_section.
4078 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4080 * gdb.base/maint.exp: Add test for 'maint info sections'.
4082 2019-09-12 Tom de Vries <tdevries@suse.de>
4084 * gdb.base/store.exp: Allow register variables to be optimized out at
4087 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4089 * gdb.ada/rdv_wait.exp: Update to new task names.
4090 * gdb.base/task_switch_in_core.exp: Likewise.
4091 * gdb.base/info_sources_base.c: Likewise.
4093 2019-09-10 Tom Tromey <tromey@adacore.com>
4095 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
4097 2019-09-10 Tom Tromey <tromey@adacore.com>
4099 * gdb.ada/dgopt.exp: New file.
4100 * gdb.ada/dgopt/x.adb: New file.
4102 2019-09-08 Tom Tromey <tom@tromey.com>
4104 * gdb.tui/resize.exp: Remove setup_xfail.
4105 * gdb.tui/regs.exp: Remove setup_xfail.
4106 * gdb.tui/basic.exp: Remove setup_xfail.
4108 2019-09-06 David Blaikie <dblaikie@gmail.com>
4110 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
4111 * gdb.cp/cplabel.exp: Ditto.
4112 * gdb.linespec/ls-errs.exp: Ditto.
4114 2019-09-05 Tom de Vries <tdevries@suse.de>
4116 * lib/gdb.exp (cmp_file_string): New proc.
4117 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
4118 runto_main. Verify save breakpoints output.
4120 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4122 * gdb.base/info-var.exp: Test info variables without running
4123 to main, to avoid expect's buffer overflow.
4125 2019-09-03 Tom Tromey <tromey@adacore.com>
4127 * gdb.ada/bias.exp: New file.
4128 * gdb.ada/bias/bias.adb: New file.
4129 * gdb.ada/print_chars.exp: Add regression test.
4130 * gdb.ada/print_chars/foo.adb (My_Character): New type.
4133 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
4135 * gdb.base/argv0-symlink.exp: Run only on native target
4138 2019-08-29 Tom de Vries <tdevries@suse.de>
4140 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
4142 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
4144 2019-08-28 Tom de Vries <tdevries@suse.de>
4146 * gdb.base/info-var.exp: Allow info variables to print info for files
4147 other than info-var-f1.c and info-var-f2.c.
4149 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4151 * gdb.fortran/info-types.exp: Add module.
4152 * gdb.fortran/info-types.f90: Update expected results.
4154 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4156 * gdb.fortran/info-types.exp: New file.
4157 * gdb.fortran/info-types.f90: New file.
4158 * lib/fortran.exp (fortran_character1): New proc.
4160 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
4162 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
4163 functions'. Reindent as needed.
4164 * gdb.base/info-var-f1.c: New file.
4165 * gdb.base/info-var-f2.c: New file.
4166 * gdb.base/info-var.exp: New file.
4167 * gdb.base/info-var.h: New file.
4169 2019-08-26 Tom de Vries <tdevries@suse.de>
4172 * gdb.cp/no-libstdcxx-probe.exp: New test.
4174 2019-08-26 Tom de Vries <tdevries@suse.de>
4176 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
4177 * tests need to be skipped.
4178 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
4179 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
4180 mi_skip_libstdcxx_probe_tests.
4182 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
4184 * gdb.python/py-xmethods.exp: Use raw strings when passing
4185 arguments to SimpleXMethodMatcher.
4187 2019-08-22 Tom de Vries <tdevries@suse.de>
4189 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
4192 2019-08-21 Pedro Alves <palves@redhat.com>
4194 * gdb.base/with.exp: Test "with" with no arguments.
4196 2019-08-21 Tom de Vries <tdevries@suse.de>
4198 * gdb.base/gdb-caching-proc.exp: Sort files.
4200 2019-08-20 Tom de Vries <tdevries@suse.de>
4202 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
4205 2019-08-16 Tom de Vries <tdevries@suse.de>
4207 * gdb.base/compare-sections.exp ("after run to main"): Allow
4208 mismatched read-only sections for PIE executables.
4210 2019-08-16 Tom Tromey <tom@tromey.com>
4212 * lib/tuiterm.exp (_csi_Z): New proc.
4213 * gdb.tui/basic.exp: Update window positions.
4214 * gdb.tui/empty.exp: Update window positions.
4216 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4218 * gdb.base/examine-backward.exp: Correct regexp for
4219 "examine 3 bytes backward from ${address_zero}".
4221 2019-08-15 Tom Tromey <tom@tromey.com>
4223 * gdb.tui/empty.exp: Enable resizing tests.
4225 2019-08-15 Tom Tromey <tromey@adacore.com>
4227 * gdb.ada/char_enum.exp: Add regression tests.
4228 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
4230 (Char, Gchar): Update.
4231 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
4233 2019-08-15 Christian Biesinger <cbiesinger@google.com>
4235 * gdb.python/python.exp: Expect a leading underscore on
4236 GdbOutput{,Error}File.
4238 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4240 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
4243 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4245 * gdb.base/batch-preserve-term-settings.exp
4246 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
4248 2019-08-15 Christian Biesinger <cbiesinger@google.com>
4250 * lib/gdb.exp: When running on a mingw target, replace
4253 2019-08-14 Alan Hayward <alan.hayward@arm.com>
4255 * gdb.arch/aarch64-prologue.c: New test.
4256 * gdb.arch/aarch64-prologue.exp: New file.
4258 2019-08-13 Tom de Vries <tdevries@suse.de>
4260 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
4263 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
4265 * gdb.python/py-completion.exp: Download the .py file to the host
4266 and use its host pathname. Conditionalize tests that use
4267 tab completion and manipulate files on the build machine.
4268 * gdb.python/py-events.exp: Download the .py file to the host
4269 and use its host pathname.
4270 * gdb.python/py-evsignal.exp: Likewise.
4271 * gdb.python/py-evthreads.exp: Likewise.
4272 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
4274 * gdb.python/py-framefilter.exp: Download the .py file to the right
4275 place on the host. Match Windows pathname syntax.
4276 * gdb.python/py-mi-var-info-path-expression.exp: Download the
4277 .py file to the host and use its host pathname.
4278 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
4279 * gdb.python/py-objfile.exp: Expect a host pathname, not a
4280 build pathname. Skip symlink test on Windows host. Add missing
4281 newline at end of file.
4282 * gdb.python/py-pp-maint.exp: Download the .py file to the host
4283 and use its host pathname.
4284 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
4285 * gdb.python/py-section-script.exp: Use host location of binfile
4286 on safe-path. Use correct path separator on Windows host.
4287 Reorder alternatives in gdb_test_multiple to prevent matching
4288 the wrong alternative on success.
4289 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
4291 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
4293 * gdb.gdb/selftest.exp (test_with_self): Update test to now
4294 expect the GDB inferior to no longer immediately stop after
4295 being resumed with "signal SIGINT".
4297 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
4299 * gdb.linespec/break-ask.exp: Generalize regexps to match
4300 Windows pathnames too.
4302 2019-08-08 Tom de Vries <tdevries@suse.de>
4305 * lib/tuiterm.exp (_accept): Fix CSI regexp.
4307 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4309 * gdb.base/style.exp: Update tests for help doc new invariants.
4310 * gdb.base/help.exp: Likewise.
4312 2019-08-06 Tom Tromey <tom@tromey.com>
4314 * gdb.base/style.exp: Add disassemble test.
4315 * gdb.base/style.c (some_called_function): New function.
4318 2019-08-05 Christian Biesinger <cbiesinger@google.com>
4320 * gdb.python/py-block.exp: Test dictionary access on blocks.
4322 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
4325 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
4326 -list-thread-groups --available test when running under
4329 2019-08-05 Tom de Vries <tdevries@suse.de>
4332 * lib/gdb.exp (with_read1_timeout_factor): New proc.
4333 * gdb.base/help.exp: Use with_read1_timeout_factor.
4334 * gdb.base/info-macros.exp: Same.
4335 * gdb.cp/nested-types.exp: Same.
4337 2019-08-05 Tom de Vries <tdevries@suse.de>
4339 * lib/gdb.exp (version_at_least): Factor out of ...
4340 (tcl_version_at_least): ... here.
4341 (gdb_compile): Fail if pie results in non-PIE executable.
4342 (readelf_version, readelf_prints_pie): New proc.
4343 (exec_is_pie): Return -1 if unknown.
4345 2019-08-05 Tom de Vries <tdevries@suse.de>
4347 * lib/gdb.exp (tcl_version_at_least): Fix typo.
4349 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4351 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
4353 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4355 * lib/completion-support.exp (test_gdb_complete_none): Skip
4356 tab completion tests if no readline support.
4357 (test_gdb_complete_unique_re): Likewise.
4358 (test_gdb_complete_multiple): Likewise.
4360 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4362 * gdb.base/info_sources.exp: New file.
4363 * gdb.base/info_sources.c: New file.
4364 * gdb.base/info_sources_base.c: New file.
4366 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4368 * gdb.base/batch-exit-status.exp: Call test_exit_status with
4370 (test_exit_status): Add prefix argument.
4372 2019-08-01 Tom de Vries <tdevries@suse.de>
4375 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
4376 calling exp_continue for new thread and thread exited messages.
4378 2019-08-01 Tom de Vries <tdevries@suse.de>
4381 * gdb.base/structs.exp: Fix check-read1 timeout using
4383 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
4385 2019-08-01 Tom de Vries <tdevries@suse.de>
4388 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
4391 2019-08-01 Tom de Vries <tdevries@suse.de>
4394 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
4396 2019-07-30 Tom Tromey <tromey@adacore.com>
4398 * gdb.ada/display_nested.exp: New file.
4399 * gdb.ada/display_nested/foo.adb: New file.
4400 * gdb.ada/display_nested/pack.adb: New file.
4401 * gdb.ada/display_nested/pack.ads: New file.
4403 2019-07-30 Christian Biesinger <cbiesinger@google.com>
4405 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
4407 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
4409 2019-07-30 Tom de Vries <tdevries@suse.de>
4411 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
4414 2019-07-30 Tom de Vries <tdevries@suse.de>
4417 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
4418 (exec_is_pie): New proc.
4420 2019-07-29 Christian Biesinger <cbiesinger@google.com>
4422 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
4424 2019-07-29 Christian Biesinger <cbiesinger@google.com>
4426 * gdb.python/py-objfile.c: Add global and static vars.
4427 * gdb.python/py-objfile.exp: Test new functions Objfile.
4428 lookup_global_symbol and lookup_static_symbol.
4430 2019-07-29 Tom Tromey <tom@tromey.com>
4432 * lib/tuiterm.exp (Term::_csi_@): New proc.
4433 (Term::_csi_X): Don't move cursor.
4435 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4437 * gdb.base/options.exp: Update backtrace - completion to
4438 new option -frame-info.
4439 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
4440 Test new 'set print frame-info'. Test backtrace -frame-info
4441 overriding 'set print frame-info'.
4442 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
4443 Test new 'set print frame-info'.
4444 Verify consistency of backtrace with and without filters, with and
4445 without -no-filters.
4446 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
4449 2019-07-29 Tom de Vries <tdevries@suse.de>
4451 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
4454 2019-07-29 Tom de Vries <tdevries@suse.de>
4456 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
4457 is a substring of the first for "complete non-unique file name".
4459 2019-07-29 Tom de Vries <tdevries@suse.de>
4461 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
4464 2019-07-29 Tom de Vries <tdevries@suse.de>
4466 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
4467 Pass prompt_regexp parameter to gdb_test_multiple calls.
4469 2019-07-29 Tom de Vries <tdevries@suse.de>
4471 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
4472 print registers" regexps.
4474 2019-07-29 Tom de Vries <tdevries@suse.de>
4476 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
4478 2019-07-29 Tom de Vries <tdevries@suse.de>
4481 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
4482 (skip_python_tests_prompt): Add prompt_regexp argument to
4483 gdb_test_multiple calls.
4485 2019-07-27 Tom Tromey <tom@tromey.com>
4487 * gdb.tui/main.exp: New file.
4489 2019-07-27 Tom Tromey <tom@tromey.com>
4491 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
4493 * gdb.tui/empty.exp: New file.
4495 2019-07-27 Tom Tromey <tom@tromey.com>
4497 * lib/tuiterm.exp (spawn): New proc.
4498 (Term::resize): New proc.
4499 * gdb.tui/resize.exp: New file.
4501 2019-07-27 Tom Tromey <tom@tromey.com>
4503 * gdb.tui/list.exp: New file.
4505 2019-07-27 Tom Tromey <tom@tromey.com>
4507 * gdb.tui/regs.exp: New file.
4509 2019-07-27 Tom Tromey <tom@tromey.com>
4511 * gdb.tui/basic.exp: Add "layout split" test.
4513 2019-07-27 Tom Tromey <tom@tromey.com>
4515 * gdb.tui/basic.exp: Add "layout asm" test.
4517 2019-07-27 Tom Tromey <tom@tromey.com>
4519 * lib/tuiterm.exp: New file.
4520 * gdb.tui/basic.exp: New file.
4522 2019-07-27 Kevin Buettner <kevinb@redhat.com>
4524 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
4525 Enable tests associated with this flag. Adjust regex
4526 referencing "foo_low" to now refer to "foo_cold" instead.
4528 2019-07-27 Kevin Buettner <kevinb@redhat.com>
4530 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
4531 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
4532 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
4533 foo_cold. Revise comments to match.
4534 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
4535 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
4536 were wrapped into this proc; Call do_test in loop from outermost
4538 (foo_low): Rename all occurrences to "foo_cold".
4539 (backtrace from baz): New test.
4540 (x2/i foo_cold): New test.
4541 (info line *foo_cold): New test.
4543 2019-07-26 Tom de Vries <tdevries@suse.de>
4545 * gdb.arch/i386-pkru.exp: Fix unterminated string.
4547 2019-07-25 Tom de Vries <tdevries@suse.de>
4550 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
4551 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
4552 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
4553 (skip_libstdcxx_probe_tests): ... here.
4554 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
4556 2019-07-24 Tom de Vries <tdevries@suse.de>
4559 * gdb.objc/basicclass.m: Include stdio.h.
4560 * gdb.objc/nondebug.m: Same.
4561 * gdb.objc/objcdecode.m: Same.
4563 2019-07-24 Tom de Vries <tdevries@suse.de>
4566 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
4569 2019-07-24 Tom de Vries <tdevries@suse.de>
4572 * gdb.multi/tids.exp: Update error messages for info threads.
4574 2019-07-24 Tom de Vries <tdevries@suse.de>
4576 * gdb.base/info-types.exp: Allow info types to print info for more than
4579 2019-07-23 Tom de Vries <tdevries@suse.de>
4582 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
4583 gdb_spawn_with_cmdline_opts.
4585 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
4587 * gdb.arch/arm-cmse-sgstubs.c: New test.
4588 * gdb.arch/arm-cmse-sgstubs.exp: New file.
4590 2019-07-23 Tom de Vries <tdevries@suse.de>
4593 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
4594 issuing next command.
4596 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4598 * gdb.ada/info_auto_lang.exp: Update expected results.
4599 * gdb.base/info-types.c: Add additional types to check.
4600 * gdb.base/info-types.exp: Update expected results.
4602 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4604 * gdb.base/info-types.c: New file.
4605 * gdb.base/info-types.exp: New file.
4607 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
4609 * gdb.arch/riscv-bp-infcall.c: New file.
4610 * gdb.arch/riscv-bp-infcall.exp: New file.
4612 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
4614 PR breakpoints/24541
4615 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
4617 2019-07-14 Tom de Vries <tdevries@suse.de>
4620 * gdb.objc/basicclass.exp: Fix unterminated string.
4622 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
4623 Andrew Burgess <andrew.burgess@embecosm.com>
4625 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
4626 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
4628 * gdb.fortran/vla-value.exp: Print elements of an array with
4630 * gdb.fortran/vla.f90: Setup an array with negative bounds for
4633 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
4635 * gdb.base/options.exp (expect_string): Dequote strings in
4637 (test-string): Test strings with different quoting and reindent.
4639 2019-07-10 Tom Tromey <tromey@adacore.com>
4641 * gdb.ada/mi_ex_cond.exp: Update expected results.
4642 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
4643 * gdb.ada/mi_catch_ex.exp: Update expected results.
4644 * gdb.ada/mi_catch_assert.exp: Update expected results.
4645 * gdb.ada/catch_ex.exp (catch_exception_info)
4646 (catch_exception_entry, catch_assert_entry)
4647 (catch_unhandled_entry): Update.
4648 * gdb.ada/catch_assert_if.exp: Update expected results.
4650 2019-07-10 Richard Bunt <richard.bunt@arm.com>
4651 Stephen Roberts <stephen.roberts@arm.com>
4653 * gdb.base/define.exp: Restore original prompt.
4655 2019-07-09 Pedro Alves <palves@redhat.com>
4657 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
4658 breakpoints" output.
4659 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
4660 * gdb.python/py-breakpoint.exp: No longer expect that "catch
4661 throw" creates breakpoint.
4662 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
4663 'type="catchpoint"'.
4665 2019-07-09 Pedro Alves <palves@redhat.com>
4668 * gdb.cp/except-multi-location-lib.cc: New.
4669 * gdb.cp/except-multi-location-main.cc: New.
4670 * gdb.cp/except-multi-location.exp: New.
4672 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
4674 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
4675 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
4676 argument and update callers.
4678 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4680 * gdb.arch/amd64-break-on-asm-line.S: New file.
4681 * gdb.arch/amd64-break-on-asm-line.exp: New file.
4683 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4685 * gdb.base/printcmds.exp: Test printing C string and
4686 C wide string convenience vars without transiting via the inferior.
4687 Also make test names unique.
4689 2019-07-08 Alan Hayward <alan.hayward@arm.com>
4691 PR breakpoints/25011
4692 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
4694 2019-07-04 Pedro Alves <palves@redhat.com>
4696 * lib/gdb.exp (foreach_with_prefix): Don't return early if
4697 body returned ok(0), break(3) or continue(4).
4698 * gdb.testsuite/foreach_with_prefix.exp: New file.
4700 2019-07-04 Alan Hayward <alan.hayward@arm.com>
4702 * gdb.server/unittest.exp: Allow 0 unit tests to run.
4704 2019-07-03 Pedro Alves <palves@redhat.com>
4706 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
4709 2019-07-03 Pedro Alves <palves@redhat.com>
4712 * gdb.base/shell.exp: Load completion-support.exp.
4713 Adjust expected error output. Add completion tests.
4715 2019-07-03 Pedro Alves <palves@redhat.com>
4717 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
4720 2019-07-03 Pedro Alves <palves@redhat.com>
4722 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
4723 (expect_integer): Adjust to expect "-string".
4724 (expect_string): New.
4725 (all_options): Expect "-string".
4726 (test-flag, test-boolean): Adjust to expect "-string".
4727 (test-string): New proc.
4728 (top level): Call it.
4730 2019-07-03 Pedro Alves <palves@redhat.com>
4732 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
4733 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
4734 the expected output in the success.
4736 2019-07-03 Pedro Alves <palves@redhat.com>
4738 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4739 Split one gdb_test_multiple call in two to avoid a race.
4741 2019-07-03 Pedro Alves <palves@redhat.com>
4743 * gdb.base/with.c: New file.
4744 * gdb.base/with.exp: New file.
4746 2019-07-03 Pedro Alves <palves@redhat.com>
4748 * gdb.base/settings.exp: Replace all references to "maint
4749 test-settings set" with references to "maint set test-settings",
4750 and all references to "maint test-settings show" with references
4751 to "maint show test-settings".
4753 2019-07-03 Pedro Alves <palves@redhat.com>
4755 * gdb.base/settings.exp (test-string): Adjust expected out when
4756 testing "maint test-settings show filename"
4758 2019-07-02 Pedro Alves <palves@redhat.com>
4760 * gdb.base/options.exp (test-info-threads): New procedure.
4761 (top level): Call it.
4763 2019-06-28 Tom Tromey <tromey@adacore.com>
4765 * gdb.dwarf2/ada-linkage-name.c: New file.
4766 * gdb.dwarf2/ada-linkage-name.exp: New file.
4768 2019-06-27 Tom Tromey <tromey@adacore.com>
4771 * gdb.cp/constexpr-field.exp: Use setup_xfail.
4773 2019-06-26 Tom de Vries <tdevries@suse.de>
4775 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
4777 2019-06-26 Tom de Vries <tdevries@suse.de>
4779 * gdb.base/index-cache.exp: Add back missing debug option.
4781 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4783 * gdb.base/alias.exp: Test non matching/non existing prefixes.
4785 2019-06-25 Tom de Vries <tdevries@suse.de>
4788 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
4790 2019-06-24 Tom de Vries <tdevries@suse.de>
4792 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
4794 2019-06-24 Tom de Vries <tdevries@suse.de>
4796 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
4797 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
4798 * gdb.trace/unavailable-dwarf-piece.exp: Same.
4800 2019-06-24 Tom de Vries <tdevries@suse.de>
4802 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
4804 2019-06-21 Tom de Vries <tdevries@suse.de>
4806 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
4808 2019-06-21 Tom de Vries <tdevries@suse.de>
4812 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
4815 2019-06-19 Tom Tromey <tromey@adacore.com>
4817 * gdb.ada/length_cond.exp: Add intro comment.
4819 2019-06-19 Tom Tromey <tromey@adacore.com>
4821 * gdb.ada/length_cond.exp: New file.
4822 * gdb.ada/length_cond/length_cond.adb: New file.
4823 * gdb.ada/length_cond/pck.adb: New file.
4824 * gdb.ada/length_cond/pck.ads: New file.
4826 2019-06-18 Tom de Vries <tdevries@suse.de>
4828 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
4830 2019-06-18 Tom Tromey <tromey@adacore.com>
4832 * gdb.base/list0.h: Add comment explaining control character.
4834 2019-06-18 Tom de Vries <tdevries@suse.de>
4836 * boards/fission.exp: Break up long debug_flags line.
4838 2019-06-16 Tom de Vries <tdevries@suse.de>
4841 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
4844 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4847 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
4848 improve detection of bug gdb/24541.
4850 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
4853 * gdb.base/index-cache.exp (uses_readnow,
4854 expecting_index_cache_use): Define global variable.
4855 (test_cache_enabled_miss, test_cache_enabled_hit): Use
4856 expecting_index_cache_use.
4858 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
4859 Andrew Burgess <andrew.burgess@embecosm.com>
4861 * gdb.fortran/pointers.f90: New file.
4862 * gdb.fortran/print_type.exp: New file.
4863 * gdb.fortran/vla-ptype.exp: Adapt expected results.
4864 * gdb.fortran/vla-type.exp: Likewise.
4865 * gdb.fortran/vla-value.exp: Likewise.
4866 * gdb.mi/mi-vla-fortran.exp: Likewise.
4868 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4870 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
4871 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
4872 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
4875 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4877 * gdb.base/annota1.exp: Update expected results.
4878 * gdb.cp/annota2.exp: Likewise.
4879 * gdb.cp/annota3.exp: Likewise.
4881 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4883 * gdb.base/style-logging.exp: Remove path from test name.
4885 2019-06-14 Tom Tromey <tromey@adacore.com>
4888 * gdb.base/style-logging.exp: New file.
4890 2019-06-14 Tom Tromey <tromey@adacore.com>
4892 * gdb.base/symfile-warn.exp: New file.
4893 * gdb.base/symfile-warn.c: New file.
4895 2019-06-14 Tom Tromey <tromey@adacore.com>
4897 * gdb.base/annotate-symlink.exp: New file.
4899 2019-06-14 Tom Tromey <tromey@adacore.com>
4901 * gdb.ada/set_wstr.exp: Add reassignment test.
4903 2019-06-14 Tom Tromey <tromey@adacore.com>
4905 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
4906 'unchecked_access and 'unrestricted_access as well.
4908 2019-06-14 Tom Tromey <tromey@adacore.com>
4911 * gdb.ada/vla.exp: Update tests.
4912 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
4915 2019-06-13 Pedro Alves <palves@redhat.com>
4917 * gdb.base/settings.exp (test-integer): Test junk after
4920 2019-06-13 Pedro Alves <palves@redhat.com>
4922 * gdb.base/options.exp (test-thread-apply): New.
4923 (top level): Call it.
4925 2019-06-13 Pedro Alves <palves@redhat.com>
4927 * gdb.base/options.exp (test-frame-apply): New.
4928 (top level): Test print commands with different "frame apply"
4931 2019-06-13 Pedro Alves <palves@redhat.com>
4933 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
4934 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
4935 'max_completions' parameter and handle it.
4936 (test_gdb_completion_offers_commands): New.
4938 2019-06-13 Pedro Alves <palves@redhat.com>
4940 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
4942 2019-06-13 Pedro Alves <palves@redhat.com>
4944 * gdb.base/options.exp (test-backtrace): New.
4945 (top level): Call it.
4947 2019-06-13 Pedro Alves <palves@redhat.com>
4949 * gdb.guile/scm-frame-args.exp: Use "set print
4950 raw-frame-arguments" instead of "set print raw frame-arguments".
4951 * gdb.python/py-frame-args.exp: Likewise.
4953 2019-06-13 Pedro Alves <palves@redhat.com>
4955 * gdb.compile/compile.exp: Adjust expected output to option
4958 2019-06-13 Pedro Alves <palves@redhat.com>
4960 * gdb.base/options.exp: Build executable.
4961 (test-print): New procedure.
4962 (top level): Call it, once for "print" and another for "compile
4965 2019-06-13 Pedro Alves <palves@redhat.com>
4967 * gdb.base/options.c: New file.
4968 * gdb.base/options.exp: New file.
4970 2019-06-13 Pedro Alves <palves@redhat.com>
4972 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
4973 that "o" is ambiguous.
4975 2019-06-13 Pedro Alves <palves@redhat.com>
4977 * gdb.base/settings.c: New file.
4978 * gdb.base/settings.exp: New file.
4980 2019-06-13 Pedro Alves <palves@redhat.com>
4982 * gdb.base/completion.exp: Fix comment typo.
4984 2019-06-13 Pedro Alves <palves@redhat.com>
4986 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
4989 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
4991 * gdb.fortran/block-data.f: New.
4992 * gdb.fortran/block-data.exp: New.
4994 2019-06-11 Tom de Vries <tdevries@suse.de>
4997 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
5000 2019-06-11 Tom de Vries <tdevries@suse.de>
5003 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
5005 2019-06-11 Tom de Vries <tdevries@suse.de>
5007 * boards/readnow.exp: New file.
5009 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
5011 * gdb.fortran/vla-sizeof.exp: Update expected results.
5013 2019-06-06 Amos Bird <amosbird@gmail.com>
5015 * gdb.base/annota1.exp (thread_switch): Add test for
5016 thread-exited annotation.
5018 2019-06-06 Tom Tromey <tromey@adacore.com>
5020 * gdb.base/maint.exp: Expect command started/finished output.
5022 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5024 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
5026 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
5028 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5030 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
5031 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
5032 * gdb.arch/riscv-unwind-long-insn.c: New file.
5033 * gdb.arch/riscv-unwind-long-insn.exp: New file.
5035 2019-06-04 Christian Biesinger <cbiesinger@google.com>
5037 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
5039 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5041 * lib/gdb.exp (help_list_trailer): New regexp variable
5042 factorizing the help trailer message.
5043 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
5044 arg to allow to better factorize various tests.
5045 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
5046 (test_prefix_command_help): Use help_list_trailer.
5047 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
5048 * gdb.guile/scm-cmd.exp: Likewise.
5049 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
5050 * gdb.base/help.exp: Use test_user_defined_class_help.
5051 * gdb.base/style.exp: Add tests for styling of help and apropos.
5052 * lib/gdb-utils.exp (style): Add title and highlight styles.
5054 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5056 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
5058 * gdb.base/default.exp: Update for new convenience variables.
5060 2019-05-29 Tom Tromey <tromey@adacore.com>
5062 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
5063 to "break complete ada" test case's regexp.
5065 2019-05-29 Tom Tromey <tromey@adacore.com>
5068 * gdb.cp/constexpr-field.exp: New file.
5069 * gdb.cp/constexpr-field.cc: New file.
5071 2019-05-29 Tom Tromey <tromey@adacore.com>
5073 * gdb.base/finish.exp (finish_no_print): New proc.
5074 (finish_tests): Call it.
5076 2019-05-24 Tom de Vries <tdevries@suse.de>
5078 * gdb.dwarf2/gdb-add-index.exp: New file.
5080 2019-05-22 Tom Tromey <tromey@adacore.com>
5082 * gdb.base/info-shared.exp (check_info_shared): Use "style".
5083 * gdb.base/style.exp: Use "style".
5084 * lib/gdb-utils.exp (style): New proc.
5086 2019-05-22 Tom de Vries <tdevries@suse.de>
5088 * gdb.base/align.exp: Require c++11.
5090 2019-05-22 Tom de Vries <tdevries@suse.de>
5093 * gdb.python/py-mi-var-info-path-expression.exp: Call
5094 mi_skip_python_tests to check if python is supported.
5096 2019-05-22 Alan Hayward <alan.hayward@arm.com>
5098 * gdb.arch/aarch64-pauth.c: New test.
5099 * gdb.arch/aarch64-pauth.exp: New file.
5101 2019-05-22 Alan Hayward <alan.hayward@arm.com>
5103 * README (Re-running Tests Outside The Testsuite): New section.
5105 2019-05-21 Tom de Vries <tdevries@suse.de>
5107 * gdb.arch/amd64-eval.exp: Require c++11.
5108 * gdb.base/max-depth.exp: Same.
5109 * gdb.compile/compile-cplus-array-decay.exp: Same.
5110 * gdb.cp/meth-typedefs.exp: Same.
5111 * gdb.cp/subtypes.exp: Same.
5112 * gdb.cp/temargs.exp: Same.
5114 2019-05-21 Alan Hayward <alan.hayward@arm.com>
5116 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
5118 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
5121 * gdb.fortran/complex.exp: Remove setup_kfail calls.
5122 * gdb.fortran/printing-types.exp: Add new test.
5123 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
5125 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
5128 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5130 * README (Running the Testsuite): Change example.
5131 (Testsuite Parameters): Remove TRANSCRIPT.
5132 * lib/gdb.exp: Remove TRANSCRIPT check.
5134 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5136 * README (Testsuite Parameters): Add replay logging to
5138 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
5139 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
5140 as a comma separated list.
5141 (gdb_debug_init): Override procedure.
5143 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5145 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
5146 (gdb_write_cmd_file): New procedure.
5147 * lib/gdbserver-support.exp (gdbserver_start): Call
5148 gdbserver_write_cmd_file.
5149 (gdbserver_write_cmd_file): New procedure.
5151 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5153 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
5154 (delete_breakpoints): Likewise.
5155 (gdb_run_cmd): Likewise.
5156 (gdb_start_cmd): Likewise.
5157 (gdb_starti_cmd): Likewise.
5158 (gdb_internal_error_resync): Likewise.
5159 (gdb_test_multiple): Likewise.
5160 (gdb_reinitialize_dir): Likewise.
5161 (default_gdb_exit): Likewise.
5162 (gdb_file_cmd): Mark kill as optional.
5163 (default_gdb_start): Call gdb_stdin_log_init.
5164 (send_gdb): Call gdb_stdin_log_write.
5165 (rerun_to_main): Mark Y as an answer.
5166 (gdb_stdin_log_init): New function.
5167 (gdb_stdin_log_write): Likewise.
5169 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5171 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
5172 * gdb.base/debug-expr.exp: Likewise.
5173 * gdb.base/foll-fork.exp: Likewise.
5174 * gdb.base/foll-vfork.exp: Likewise.
5175 * gdb.base/fork-print-inferior-events.exp: Likewise.
5176 * gdb.base/gdb-sigterm.exp: Likewise.
5177 * gdb.base/gdbinit-history.exp: Likewise.
5178 * gdb.base/osabi.exp: Likewise.
5179 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5180 * gdb.base/ui-redirect.exp: Likewise.
5181 * gdb.gdb/unittest.exp: Likewise.
5182 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
5183 * gdb.mi/mi-watch.exp: Likewise.
5184 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5185 * gdb.mi/user-selected-context-sync.exp: Likewise.
5186 * gdb.python/python.exp: Disable debug test when debugging.
5187 * gdb.threads/check-libthread-db.exp: Disable when debugging.
5188 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5190 * gdb.threads/stepi-random-signal.exp: Likewise.
5192 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5194 * Makefile.in: Pass through GDB_DEBUG.
5195 * README (Testsuite Parameters): Add GDB_DEBUG.
5196 (gdb,debug): Add board setting.
5197 * lib/gdb.exp (default_gdb_start): Start debugging.
5198 (gdb_debug_enabled): New procedure.
5199 (gdb_debug_init): Likewise.
5201 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5203 * Makefile.in: Pass through GDB_DEBUG.
5204 * README (Testsuite Parameters): Add GDB_DEBUG.
5205 (gdb,debug): Add board setting.
5206 * lib/gdb.exp (default_gdb_start): Start debugging.
5207 (gdb_debug_enabled): New procedure.
5208 (gdb_debug_init): Likewise.
5210 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5212 * gdb.base/ui-redirect.exp: Add debug redirect tests.
5214 2019-05-17 Alan Hayward <alan.hayward@arm.com>
5216 * gdb.base/ui-redirect.exp: Test redirection.
5218 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
5220 * gdb.mi/mi-complete.exp: New file.
5221 * gdb.mi/mi-complete.cc: Likewise.
5223 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
5225 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
5226 indexed and sliced arrays, and pointers to arrays.
5228 2019-05-14 Tom Tromey <tromey@adacore.com>
5230 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
5233 2019-05-14 Tom de Vries <tdevries@suse.de>
5235 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
5236 selection entry encoding.
5238 2019-05-10 Tom Tromey <tromey@adacore.com>
5240 * gdb.ada/info_exc.exp: Add "complete" test.
5242 2019-05-09 Tom de Vries <tdevries@suse.de>
5244 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
5247 2019-05-09 Tom de Vries <tdevries@suse.de>
5249 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
5252 2019-05-08 Joel Brobecker <brobecker@adacore.com>
5254 * gdb.ada/frame_arg_lang.exp: New testcase.
5255 * gdb.ada/frame_arg_lang/bla.adb: New file.
5256 * gdb.ada/frame_arg_lang/pck.ads: New file.
5257 * gdb.ada/frame_arg_lang/pck.adb: New file.
5258 * gdb.ada/frame_arg_lang/foo.c: New file.
5260 2019-05-08 Tom Tromey <tromey@adacore.com>
5262 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
5264 2019-05-08 Tom Tromey <tromey@adacore.com>
5266 * gdb.base/ptype-offsets.exp: Update tests.
5268 2019-05-08 Tom Tromey <tromey@adacore.com>
5270 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
5272 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
5275 2019-05-08 Tom Tromey <tromey@adacore.com>
5277 * gdb.ada/vla.exp: New file.
5278 * gdb.ada/vla/vla.adb: New file.
5280 2019-05-07 Tom de Vries <tdevries@suse.de>
5282 * gdb.base/index-cache.exp (ls_host): Fix return statement.
5284 2019-05-07 Tom de Vries <tdevries@suse.de>
5287 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
5290 2019-05-07 Tom de Vries <tdevries@suse.de>
5293 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
5294 .debug_aranges section.
5296 2019-05-07 Tom de Vries <tdevries@suse.de>
5299 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
5301 2019-05-06 Tom de Vries <tdevries@suse.de>
5303 * lib/gdb.exp (exec_has_index_section): New proc.
5304 * gdb.base/index-cache.exp: Handle case that binfile contains an index
5307 2019-05-04 Tom de Vries <tdevries@suse.de>
5309 * boards/cc-with-debug-names.exp: New file.
5311 2019-05-03 Tom Tromey <tromey@adacore.com>
5313 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
5314 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
5315 * gdb.ada/char_enum.exp: Add test.
5317 2019-05-03 Tom de Vries <tdevries@suse.de>
5319 * boards/cc-with-gdb-index.exp: New file.
5321 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
5323 * gdb.rust/simple.exp: Add new test case.
5324 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
5325 (main): Initialise an instance of the new struct.
5327 2019-05-01 Tom Tromey <tromey@adacore.com>
5329 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
5331 (NPR): New variable.
5332 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
5335 2019-05-01 Tom Tromey <tromey@adacore.com>
5337 * gdb.ada/packed_array_assign.exp: Add packed assignment
5340 2019-05-01 Tom de Vries <tdevries@suse.de>
5342 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
5344 2019-05-01 Tom de Vries <tdevries@suse.de>
5346 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
5348 2019-04-30 Ali Tamur <tamur@google.com>
5350 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
5352 2019-04-30 Tom Tromey <tromey@adacore.com>
5354 * lib/ada.exp (find_ada_tool): New proc.
5355 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
5356 * gdb.ada/catch_ex_std.exp: New file.
5357 * gdb.ada/catch_ex_std/foo.adb: New file.
5358 * gdb.ada/catch_ex_std/some_package.adb: New file.
5359 * gdb.ada/catch_ex_std/some_package.ads: New file.
5361 2019-04-30 Tom Tromey <tromey@adacore.com>
5364 * gdb.cp/temargs.cc: Add test code from PR.
5366 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5368 * gdb.fortran/vla-datatypes.exp: Update expected results.
5369 * gdb.fortran/vla-ptype.exp: Likewise.
5370 * gdb.fortran/vla-type.exp: Likewise.
5371 * gdb.fortran/vla-value.exp: Likewise.
5373 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5375 * gdb.fortran/ptr-indentation.exp: Update expected results.
5376 * gdb.fortran/ptype-on-functions.exp: Likewise.
5377 * gdb.fortran/vla-ptr-info.exp: Likewise.
5378 * gdb.fortran/vla-value.exp: Likewise.
5380 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5382 * gdb.fortran/ptype-on-functions.exp: New file.
5383 * gdb.fortran/ptype-on-functions.f90: New file.
5385 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5387 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
5390 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5392 * gdb.fortran/complex.exp: Expand.
5393 * gdb.fortran/complex.f: Renamed to...
5394 * gdb.fortran/complex.f90: ...this, and extended to add more
5397 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5399 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
5402 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
5403 Richard Bunt <richard.bunt@arm.com>
5405 * gdb.base/max-depth.c: New file.
5406 * gdb.base/max-depth.exp: New file.
5407 * gdb.python/py-nested-maps.c: New file.
5408 * gdb.python/py-nested-maps.exp: New file.
5409 * gdb.python/py-nested-maps.py: New file.
5410 * gdb.python/py-format-string.exp (test_max_depth): New proc.
5411 (test_all_common): Call test_max_depth.
5412 * gdb.fortran/max-depth.exp: New file.
5413 * gdb.fortran/max-depth.f90: New file.
5414 * gdb.go/max-depth.exp: New file.
5415 * gdb.go/max-depth.go: New file.
5416 * gdb.modula2/max-depth.exp: New file.
5417 * gdb.modula2/max-depth.c: New file.
5418 * lib/gdb.exp (get_print_expr_at_depths): New proc.
5420 2019-04-29 Tom de Vries <tdevries@suse.de>
5422 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
5424 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5426 * gdb.base/callexit.exp: Test may-call-functions off.
5428 2019-04-25 Keith Seitz <keiths@redhat.com>
5431 * gdb.cp/meth-typedefs.cc (incomplete_struct)
5432 (another_incomplete_struct, test_incomplete): New definitions.
5433 (main): Use new definitions.
5434 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
5437 2019-04-25 Ali Tamur <tamur@google.com>
5439 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
5441 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
5445 * gdb.base/coredump-filter-build-id.exp: New file.
5447 2019-04-25 Alan Hayward <alan.hayward@arm.com>
5449 * Makefile.in: Pass through GDBSERVER_DEBUG.
5450 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
5451 (gdbserver,debug): Add board setting.
5452 * gdb.trace/tspeed.exp: Skip when debugging.
5453 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
5454 * lib/gdbserver-support.exp: Likewise
5456 2019-04-24 Tom Tromey <tromey@adacore.com>
5458 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
5461 2019-04-24 Tom Tromey <tromey@adacore.com>
5463 * gdb.arch/amd64-eval.exp: Test bitfield return.
5464 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
5465 (class Foo) <return_bitfields>: New method.
5468 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
5470 * gdb.cp/many-args.cc: New file.
5471 * gdb.cp/many-args.exp: New file.
5473 2019-04-23 Tom de Vries <tdevries@suse.de>
5476 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
5478 2019-04-23 Alan Hayward <alan.hayward@arm.com>
5480 * gdb.trace/backtrace.exp: Use nopie flag.
5481 * gdb.trace/circ.exp: Likewise.
5482 * gdb.trace/collection.exp: Likewise.
5483 * gdb.trace/ftrace.exp: Likewise.
5484 * gdb.trace/mi-trace-unavailable.exp: Likewise.
5485 * gdb.trace/mi-traceframe-changed.exp: Likewise.
5486 * gdb.trace/qtro.exp: Likewise.
5487 * gdb.trace/read-memory.exp: Likewise.
5488 * gdb.trace/report.exp: Likewise.
5489 * gdb.trace/tfile.exp: Likewise.
5490 * gdb.trace/tfind.exp: Likewise.
5491 * gdb.trace/unavailable.exp: Likewise.
5493 2019-04-22 Pedro Alves <palves@redhat.com>
5495 * gdb.base/solib-probes-nosharedlibrary.c,
5496 gdb.base/solib-probes-nosharedlibrary.exp: New files.
5498 2019-04-19 Tom Tromey <tromey@adacore.com>
5500 * gdb.ada/ptype_union.c: New file.
5501 * gdb.ada/ptype_union.exp: New file.
5503 2019-04-19 Tom Tromey <tromey@adacore.com>
5506 * gdb.base/list0.h (foo): Add a control-l character.
5508 2019-04-18 Tom de Vries <tdevries@suse.de>
5511 * boards/local-board.exp: Set sysroot to "".
5513 2019-04-18 Tom de Vries <tdevries@suse.de>
5514 Pedro Alves <palves@redhat.com>
5517 * gdb.threads/vfork-follow-child-exec.c: New file.
5518 * gdb.threads/vfork-follow-child-exec.exp: New file.
5519 * gdb.threads/vfork-follow-child-exit.c: New file.
5520 * gdb.threads/vfork-follow-child-exit.exp: New file.
5522 2019-04-15 Leszek Swirski <leszeks@google.com>
5524 * gdb.arch/amd64-eval.cc: New file.
5525 * gdb.arch/amd64-eval.exp: New file.
5527 2019-04-11 Alan Hayward <alan.hayward@arm.com>
5529 * gdb.server/sysroot.c: New test.
5530 * gdb.server/sysroot.exp: New file.
5531 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
5534 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
5536 * gdb.base/align.exp: Extend test to cover structures containing
5539 2019-04-11 Tom de Vries <tdevries@suse.de>
5541 * boards/cc-with-dwz-m.exp: New file.
5542 * boards/cc-with-dwz.exp: New file.
5543 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
5545 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
5547 * gdb.base/start-cpp.exp: New file.
5548 * gdb.base/start-cpp.cc: New file.
5550 2019-04-08 Kevin Buettner <kevinb@redhat.com>
5552 * gdb.python/py-thrhandle.exp: Adjust tests to call
5553 thread_from_handle instead of thread_from_thread_handle.
5555 2019-04-08 Kevin Buettner <kevinb@redhat.com>
5557 * gdb.python/py-thrhandle.exp: Add tests for
5558 gdb.InferiorThread.handle.
5560 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5562 * gdb.python/py-function.exp: Check calling helper function from
5564 * lib/gdb.exp (gdb_supported_languages): New proc.
5566 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5568 * gdb.base/complex-parts.c: New file.
5569 * gdb.base/complex-parts.exp: New file.
5571 2019-04-01 Tom Tromey <tromey@adacore.com>
5574 * gdb.dwarf2/dw2-ranges-main.c: New file.
5575 * gdb.dwarf2/dw2-ranges-psym.c: New file.
5576 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
5578 2019-03-30 Simon Marchi <simark@simark.ca>
5580 * gdb.base/default.exp: Add values for $_gdb_major and
5583 2019-03-29 Tom Tromey <tromey@adacore.com>
5585 * gdb.base/help.exp: Tighten apropos regexp.
5587 2019-03-29 Keith Seitz <keiths@redhat.com>
5589 * gdb.fortran/array-bounds.exp: New file.
5590 * gdb.fortran/array-bounds.f90: New file.
5592 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5594 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
5596 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5598 * gdb.multi/hello.c (main): Increase alarm timer.
5600 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
5602 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
5603 factor when no hardware watchpoint support.
5605 2019-03-28 Alan Hayward <alan.hayward@arm.com>
5606 Pedro Alves <palves@redhat.com>
5608 * boards/local-board.exp: set sysroot to /.
5610 2019-03-27 Alan Hayward <alan.hayward@arm.com>
5612 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
5615 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5617 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
5619 (make_container): Initialise new field.
5620 * gdb.python/py-prettyprint.exp: Add new tests.
5621 * gdb.python/py-prettyprint.py (class ContainerPrinter)
5622 <display_hint>: New method.
5624 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5626 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
5627 gdb_continue_to_breakpoint more throughout this test.
5628 (run_lang_tests) Supply unique test names, and use
5631 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5633 * gdb.base/finish-pretty.exp: Update expected results.
5634 * gdb.base/pretty-print.c: New file.
5635 * gdb.base/pretty-print.exp: New file.
5637 2019-03-25 Pedro Alves <palves@redhat.com>
5639 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
5640 move comments outside list. Append '-i "" eof' section.
5642 2019-03-22 Alan Hayward <alan.hayward@arm.com>
5645 * README: Add pie options.
5646 * gdb.base/break-interp.exp: Ensure pie is disabled.
5647 * gdb.base/dump.exp: Likewise.
5648 * lib/gdb.exp (gdb_compile): Add pie option.
5650 2019-03-19 Tom Tromey <tromey@adacore.com>
5652 * gdb.mi/mi2-cli-display.c: New file.
5653 * gdb.mi/mi2-cli-display.exp: New file.
5655 2019-03-18 Joel Brobecker <brobecker@adacore.com>
5656 Tom Tromey <tromey@adacore.com>
5658 * gdb.ada/ptype_array/pck.adb: New file.
5659 * gdb.ada/ptype_array/pck.ads: New file.
5660 * gdb.ada/ptype_array/foo.adb: New file.
5661 * gdb.ada/ptype_array.exp: New file.
5663 2019-03-14 Tom Tromey <tromey@adacore.com>
5665 * gdb.base/style.exp: Add "set style sources" test.
5667 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
5669 * mi-breakpoint-location-ena-dis.exp: Rename to ...
5670 * mi-breakpoint-multiple-locations.exp: ... this.
5671 (make_breakpoints_pattern): New proc.
5672 (do_test): Add mi_version parameter, test -break-insert,
5673 -break-info and =breakpoint-created.
5675 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
5677 * config/default.exp: Remove 'load_lib gdb.exp'.
5678 * config/monitor.exp: Likewise.
5679 * config/sid.exp: Likewise.
5680 * config/sim.exp: Likewise.
5681 * config/slite.exp: Likewise.
5682 * config/unix.exp: Likewise.
5683 * gdb.base/default.exp: Remove unhelpful comment.
5685 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5687 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
5689 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5691 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
5693 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5695 * gdb.fortran/type-kinds.exp: Update expected results.
5697 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5699 * gdb.fortran/type-kinds.exp: Test new integer type kind.
5701 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5703 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
5705 (test_basic_parsing_of_type_kinds): Expand types tested.
5706 (test_parsing_invalid_type_kinds): New function.
5708 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5710 * gdb.fortran/intrinsics.exp: New file.
5711 * gdb.fortran/intrinsics.f90: New file.
5712 * gdb.fortran/type-kinds.exp: New file.
5714 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5716 * gdb.fortran/dot-ops.exp: New file.
5718 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5720 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
5721 Check upper and lower case logical literals.
5723 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5725 * gdb.fortran/types.exp (test_float_literal_types_accepted):
5726 Remove duplicate tests.
5728 2019-03-06 Alan Hayward <alan.hayward@arm.com>
5730 * lib/gdb.exp (builtin_cd): rename of cd.
5731 (cd): Override builtin.
5733 2019-03-06 Richard Bunt <richard.bunt@arm.com>
5735 * gdb.fortran/function-calls.exp: New file.
5736 * gdb.fortran/function-calls.f90: New test.
5738 2019-03-04 Richard Bunt <richard.bunt@arm.com>
5740 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
5741 on user program standard output.
5742 * gdb.fortran/short-circuit-argument-list.f90: Record function
5745 2019-02-28 Alan Hayward <alan.hayward@arm.com>
5747 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
5750 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5753 * gdb.base/interrupt-daemon-attach.c,
5754 gdb.base/interrupt-daemon-attach.exp: New test.
5756 2019-02-27 Pedro Alves <palves@redhat.com>
5758 * gdb.base/page.exp: Add tests for "set width/height -1".
5760 2019-02-27 Pedro Alves <palves@redhat.com>
5762 * gdb.base/page.exp: Add tests for "set/show width/height" with
5765 2019-02-27 Tom Tromey <tromey@adacore.com>
5767 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
5769 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
5772 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
5774 * gdb.base/align.exp: Extend to compile in both C and C++, and add
5775 tests for structs with static members.
5777 2019-02-26 Tom Tromey <tromey@adacore.com>
5779 * gdb.python/py-value.exp (test_value_from_buffer): Check for
5780 ValueError, not TypeError.
5782 2019-02-26 Kevin Buettner <kevinb@redhat.com>
5784 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
5785 call from main program.
5787 2019-02-23 Joel Brobecker <brobecker@adacore.com>
5789 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
5790 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
5791 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
5792 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
5793 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
5795 2019-02-22 Keith Seitz <keiths@redhat.com>
5798 * gdb.base/symlink-sourcefile.c: New file.
5799 * gdb.base/symlink-sourcefile.exp: New file.
5801 2019-02-20 Tom Tromey <tom@tromey.com>
5803 * gdb.base/info_qt.exp: Update.
5805 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
5807 * gdb.base/source.exp: Move "error in sourced script" code to
5809 * gdb.base/source-error.gdb: Move contents to
5810 source-error-1.gdb. Add new code to source source-error-1.gdb.
5811 * gdb.base/source-error-1.gdb: New file, from previous
5814 2019-02-17 Tom Tromey <tom@tromey.com>
5816 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
5818 * gdb.base/style.c (SOME_MACRO): New macro.
5820 2019-02-17 Tom Tromey <tom@tromey.com>
5822 * gdb.base/style.exp: Add line-wrapping tests.
5823 * gdb.base/page.exp: Add test for quitting during pagination.
5825 2019-02-17 Joel Brobecker <brobecker@adacore.com>
5827 * gdb.ada/big_packed_array: New testcase.
5828 * gdb.ada/homonym.exp: Fix incorrect expected output for
5829 "break <homonym__get_value>" test.
5831 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
5833 PR breakpoints/21870
5834 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
5835 and prepare_for_testing. Add comment.
5836 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
5837 redundant cleanup call. Clean up comment.
5839 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
5841 PR breakpoints/21870
5842 * gdb.arch/aarch64-dbreg-contents.exp: New file.
5843 * gdb.arch/aarch64-dbreg-contents.c: New file.
5845 2019-02-10 Joel Brobecker <brobecker@adacore.com>
5847 * gdb.ada/mi_ref_changeable: New testcase.
5849 2019-02-07 Alan Hayward <alan.hayward@arm.com>
5851 * gdb.base/attach.exp: Add double attach test.
5853 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
5855 * lib/gdb.exp (default_gdb_start): Don't match pagination
5857 (gdb_init): Set stty_init.
5859 2019-01-27 Tom Tromey <tom@tromey.com>
5861 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
5864 2019-01-24 Alan Hayward <alan.hayward@arm.com>
5866 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
5868 (struct struct_static_02_02): Likewise.
5869 (struct struct_static_02_03): Likewise.
5870 (struct struct_static_02_04): Likewise.
5871 (struct struct_static_04_01): Likewise.
5872 (struct struct_static_04_02): Likewise.
5873 (struct struct_static_04_03): Likewise.
5874 (struct struct_static_04_04): Likewise.
5875 (struct struct_static_06_01): Likewise.
5876 (struct struct_static_06_02): Likewise.
5877 (struct struct_static_06_03): Likewise.
5878 (struct struct_static_06_04): Likewise.
5879 (cmp_struct_static_02_01): Likewise.
5880 (cmp_struct_static_02_02): Likewise.
5881 (cmp_struct_static_02_03): Likewise.
5882 (cmp_struct_static_02_04): Likewise.
5883 (cmp_struct_static_04_01): Likewise.
5884 (cmp_struct_static_04_02): Likewise.
5885 (cmp_struct_static_04_03): Likewise.
5886 (cmp_struct_static_04_04): Likewise.
5887 (cmp_struct_static_06_01): Likewise.
5888 (cmp_struct_static_06_02): Likewise.
5889 (cmp_struct_static_06_03): Likewise.
5890 (cmp_struct_static_06_04): Likewise.
5891 (call_all): Test new structs.
5892 * gdb.base/infcall-nested-structs.exp: Likewise.
5894 2019-01-21 Alan Hayward <alan.hayward@arm.com>
5895 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
5897 2019-01-21 Alan Hayward <alan.hayward@arm.com>
5898 * gdb.base/stack-protector.c: New test.
5899 * gdb.base/stack-protector.exp: New file.
5900 * gdb.cp/ovldbreak.exp: Only allow a single break line.
5901 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
5903 (gdb_compile): Remove stack protector for GCC and prevent
5906 2019-01-16 Keith Seitz <keiths@redhat.com>
5909 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
5911 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5913 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
5915 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
5917 * gdb.arch/powerpc-vector-regs.c: New file.
5918 * gdb.arch/powerpc-vector-regs.exp: New file.
5920 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5922 * gdb.arch/altivec-regs.exp: Fix the list passed to
5923 gdb_expect_list when testing "info vector".
5925 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5927 * gdb.base/style.exp: Don't include path in testname.
5929 2019-01-10 Keith Seitz <keiths@redhat.com>
5933 * gdb.dwarf2/multidictionary.exp: New file.
5935 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
5937 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
5938 (test_gnuv3_style_demangling): ... this.
5939 (test_lucid_style_demangling): Remove.
5940 (test_arm_style_demangling): Remove.
5941 (test_hp_style_demangling): Remove.
5942 (do_tests): Remove calls to the above.
5944 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5946 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
5949 2019-01-06 Tom Tromey <tom@tromey.com>
5952 * gdb.dwarf2/typedef-void-finish.exp: New file.
5954 2018-12-28 Tom Tromey <tom@tromey.com>
5955 Simon Marchi <simark@simark.ca>
5957 * gdb.base/jit-exec.exp: New file.
5958 * gdb.base/jit-exec.c: New file.
5959 * gdb.base/jit-execd.c: New file.
5961 2018-12-28 Tom Tromey <tom@tromey.com>
5963 * gdb.base/style.exp: Update test to check for address styling.
5965 2018-12-28 Tom Tromey <tom@tromey.com>
5967 * gdb.base/style.exp: Add test for styling of "Reading symbols"
5970 2018-12-28 Tom Tromey <tom@tromey.com>
5972 * gdb.base/style.exp: Add test for version number styling.
5974 2018-12-28 Tom Tromey <tom@tromey.com>
5976 * gdb.base/style.exp: Add test for print_address_symbolic.
5978 2018-12-28 Tom Tromey <tom@tromey.com>
5980 * gdb.base/style.exp: Add test for breakpoint setting.
5982 2018-12-28 Tom Tromey <tom@tromey.com>
5984 * gdb.base/style.exp: Add test for variable names.
5986 2018-12-28 Tom Tromey <tom@tromey.com>
5988 * gdb.base/style.exp: New file.
5989 * gdb.base/style.c: New file.
5991 2018-12-28 Tom Tromey <tom@tromey.com>
5993 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
5995 * gdb.base/readline.exp (operate_and_get_next): Save and restore
5996 the TERM environment variable.
5998 2018-12-27 Tom Tromey <tom@tromey.com>
6000 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
6003 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
6005 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
6006 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
6008 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6010 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
6011 Filename a.adb changed to bp_fun_addr.adb.
6012 gdb.ada/bp_fun_addr.exp: Update test accordingly.
6014 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
6016 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
6017 non-PIE executables.
6018 * README: Mention the gdb,nopie_flag board setting.
6019 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
6021 * gdb.arch/amd64-entry-value.exp: Likewise.
6022 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
6023 * gdb.arch/i386-float.exp: Likewise.
6024 * gdb.arch/i386-signal.exp: Likewise.
6025 * gdb.mi/mi-reg-undefined.exp: Likewise.
6027 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
6030 * gdb.base/info-os.exp: Check return for unknown "info os" type.
6032 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6034 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
6035 Update order of results accordingly.
6037 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
6039 * gdb.base/annota1.exp: Update a test regexp.
6041 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6043 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
6045 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6047 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
6048 (reuse_time): Initialize to REUSE_TIME_CAP.
6049 (check_rc): New function.
6050 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
6051 Check pthread_create rc.
6052 (spawner_thread_func): Check pthread_create and pthread_join rc.
6054 2018-12-08 Pedro Alves <palves@redhat.com>
6056 * gdb.base/list.exp (test_forward_search): Rename to ...
6057 (test_forward_reverse_search): ... this. Also test reverse-search
6058 and the forward-search alias.
6060 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
6062 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
6063 local timeout variable before return, and remove all local timeout
6065 (gdb_load): Likewise.
6067 2018-12-01 Tom de Vries <tdevries@suse.de>
6069 * gdb.base/gdb-caching-proc.exp: New file.
6071 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
6073 * Makefile.in (TIMESTAMP): New variable.
6074 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
6076 (check-single-racy): Likewise.
6077 (check/%.exp): Likewise.
6078 (check-racy/%.exp): Likewise.
6079 (workers/%.worker): Likewise.
6080 (build-perf): Likewise.
6081 (check-perf): Likewise.
6082 * README: Describe new "TS" and "TS_FORMAT" variables.
6083 * print-ts.py: New file.
6085 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
6088 * gdb.python/python.exp: Test command repetition after
6091 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
6093 * gdb.opt/inline-break.exp: Add test that info breakpoint output
6094 is correctly aligned.
6096 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6098 * gdb.ada/info_auto_lang.exp: New testcase.
6099 * gdb.ada/info_auto_lang/global_pack.ads: New file.
6100 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
6101 * gdb.ada/info_auto_lang/some_c.c: New file.
6103 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6105 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
6106 FUNC_lang language syntax.
6108 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6110 * gdb.base/info_minsym.c: New file.
6111 * gdb.base/info_minsym.exp: New file.
6113 2018-11-19 Tom Tromey <tom@tromey.com>
6116 * gdb.rust/simple.exp: Add ptype test. Update expected output.
6117 * gdb.rust/expr.exp: Update expected output. Change one test.
6119 2018-11-19 Tom Tromey <tom@tromey.com>
6121 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
6123 2018-11-19 Pedro Alves <palves@redhat.com>
6125 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
6126 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
6127 see the expected warning.
6129 2018-11-16 Alan Hayward <alan.hayward@arm.com>
6132 * gdb.cp/infcall-nodebug-lib.c: New test.
6133 * gdb.cp/infcall-nodebug-main.c: New test.
6134 * gdb.cp/infcall-nodebug.exp: New file.
6136 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
6138 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
6141 2018-11-09 Tom de Vries <tdevries@suse.de>
6143 * gdb.base/msym-lang.c: New test.
6144 * gdb.base/msym-lang.exp: New file.
6145 * gdb.base/msym-lang-main.c: New test.
6147 2018-11-08 Tom Tromey <tom@tromey.com>
6151 * gdb.base/warning.exp: New file.
6153 2018-11-08 Jan Beulich <jbeulich@suse.com>
6155 * testsuite/gdb.arch/i386-avx512.c,
6156 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
6158 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
6160 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
6163 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
6165 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
6166 * gdb.dwarf2/missing-type-name.exp: New file.
6168 2018-11-06 Tom de Vries <tdevries@suse.de>
6170 * gdb.base/many-headers.c: New test.
6171 * gdb.base/many-headers.exp: New file.
6173 2018-11-06 Jim Wilson <jimw@sifive.com>
6175 * gdb.base/code_elim.exp: For riscv, set additional_flags
6176 to include -msmall-data-limit=0.
6178 2018-11-01 Joel Brobecker <brobecker@adacore.com>
6180 * gdb.ada/watch_minus_l: New testcase.
6182 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
6184 * gdb.arch/aix-sighandle.c: New file.
6185 * gdb.arch/aix-sighandle.exp: New file.
6187 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6189 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
6190 registers being unions.
6192 2018-10-31 Tom de Vries <tdevries@suse.de>
6194 * lib/valgrind.exp: New file.
6195 (vgdb_start, vgdb_stop): New procs, factored out of ...
6196 * gdb.base/valgrind-bt.exp: ... here, ...
6197 * gdb.base/valgrind-disp-step.exp: ... here and ...
6198 * gdb.base/valgrind-infcall.exp: ... here.
6200 2018-10-31 Tom de Vries <tdevries@suse.de>
6202 * lib/gdb.exp (get_valueof): Don't output read value in test name.
6204 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6206 * gdb.dwarf2/void-type.c: New file.
6207 * gdb.dwarf2/void-type.exp: New file.
6209 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6211 * gdb.base/info_qt.c: New file.
6212 * gdb.base/info_qt.exp: New file.
6214 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6216 * gdb.arch/powerpc-htm-regs.c: New file.
6217 * gdb.arch/powerpc-htm-regs.exp: New file.
6219 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6221 * gdb.arch/powerpc-tar.c: New file.
6222 * gdb.arch/powerpc-tar.exp: New file.
6224 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6226 * gdb.arch/powerpc-ppr-dscr.c: New file.
6227 * gdb.arch/powerpc-ppr-dscr.exp: New file.
6229 2018-10-25 Tom de Vries <tdevries@suse.de>
6231 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
6233 2018-10-24 Tom de Vries <tdevries@suse.de>
6235 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
6236 longer exists error.
6238 2018-10-24 Tom de Vries <tdevries@suse.de>
6240 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
6242 2018-10-24 Tom de Vries <tdevries@suse.de>
6244 * gdb.base/valgrind-db-attach.exp: Handle removed support for
6245 --db-attach in valgrind.
6247 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
6249 * gdb.arch/riscv-reg-aliases.c: New file.
6250 * gdb.arch/riscv-reg-aliases.exp: New file.
6252 2018-10-19 Alan Hayward <alan.hayward@arm.com>
6254 * gdb.python/py-cmd.exp: Check for gdb_prompt.
6256 2018-10-19 Alan Hayward <alan.hayward@arm.com>
6258 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
6260 2018-10-19 Alan Hayward <alan.hayward@arm.com>
6262 * gdb.cp/ovldbreak.exp: Fix regexps.
6264 2018-10-19 Alan Hayward <alan.hayward@arm.com>
6266 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
6268 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
6271 * gdb.base/restore.exp: New test to check if "restore" with an
6272 invalid file doesn't segfault.
6274 2018-10-18 Tom de Vries <tdevries@suse.de>
6276 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
6277 * gdb.ada/excep_handle.exp: Same.
6278 * gdb.ada/mi_string_access.exp: Same.
6279 * gdb.ada/mi_var_union.exp: Same.
6280 * gdb.arch/arc-analyze-prologue.exp: Same.
6281 * gdb.arch/arc-decode-insn.exp: Same.
6282 * gdb.base/readnever.exp: Same.
6283 * gdb.fortran/printing-types.exp: Same.
6284 * gdb.guile/scm-lazy-string.exp: Same.
6286 2018-10-16 Tom de Vries <tdevries@suse.de>
6289 * gdb.base/catch-follow-exec.c: Add copyright notice.
6290 * gdb.base/catch-follow-exec.exp: Rewrite to use
6291 gdb_spawn_with_cmdline_opts. Require gdb-native.
6293 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
6295 * gdb.trace/actions-changed.exp: Check for arch support.
6296 * gdb.trace/actions.exp: Likewise.
6297 * gdb.trace/ax.exp: Likewise.
6298 * gdb.trace/backtrace.exp: Likewise.
6299 * gdb.trace/change-loc.exp: Likewise.
6300 * gdb.trace/deltrace.exp: Likewise.
6301 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
6302 * gdb.trace/ftrace.exp: Likewise.
6303 * gdb.trace/infotrace.exp: Check for arch support.
6304 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
6305 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
6306 * gdb.trace/mi-tsv-changed.exp: Likewise.
6307 * gdb.trace/packetlen.exp: Likewise.
6308 * gdb.trace/passc-dyn.exp: Likewise.
6309 * gdb.trace/passcount.exp: Likewise.
6310 * gdb.trace/pending.exp: Likewise.
6311 * gdb.trace/range-stepping.exp: Check for shlib support.
6312 * gdb.trace/report.exp: Check for arch support.
6313 * gdb.trace/save-trace.exp: Likewise.
6314 * gdb.trace/signal.exp: Check for signal support.
6315 * gdb.trace/tfind.exp: Check for arch support.
6316 * gdb.trace/trace-break.exp: Check for arch and shlib support.
6317 * gdb.trace/trace-common.h: Add comment.
6318 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
6319 * gdb.trace/trace-enable-disable.exp: Likewise.
6320 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
6321 * gdb.trace/tracecmd.exp: Check for arch support.
6322 * gdb.trace/tspeed.exp: Check for shlib and target support.
6323 * gdb.trace/tstatus.exp: Check for arch support.
6324 * gdb.trace/tsv.exp: Likewise.
6325 * gdb.trace/while-dyn.exp: Likewise.
6326 * gdb.trace/while-stepping.exp: Likewise.
6327 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
6329 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
6331 * gdb.trace/tspeed.exp: Remove nowarnings.
6332 (prepare_for_trace_test): Declare "global ipalib".
6333 * gdb.trace/tspeed.c: Include unistd.h.
6334 (main): Remove superfluous printf argument.
6336 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
6338 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
6339 directory prefix on the filename.
6341 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
6343 * gdb.gdb/unittest.exp: Update expected message informing that
6344 selftests have been disabled.
6345 * gdb.server/unittest.exp: Likewise.
6347 2018-10-09 Tom de Vries <tdevries@suse.de>
6349 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
6352 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
6355 * gdb.cp/virtbase2.cc: New file.
6356 * gdb.cp/virtbase2.exp: New file.
6358 2018-10-06 Tom Tromey <tom@tromey.com>
6361 * gdb.python/py-inferior.exp: Add architecture test.
6363 2018-10-06 Tom Tromey <tom@tromey.com>
6365 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
6366 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
6368 2018-10-06 Tom Tromey <tom@tromey.com>
6370 * gdb.python/py-breakpoint.exp (check_last_event): Check location
6371 of a "throw" catchpoint.
6373 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
6375 * gdb.base/info-proc.exp: Update string expected from "help info
6378 2018-10-04 Tom Tromey <tom@tromey.com>
6380 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
6381 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
6382 (test_initial_complaints, test_empty_complaints): Update.
6383 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6385 2018-10-04 Tom Tromey <tom@tromey.com>
6388 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
6389 * lib/gdb.exp (gdb_file_cmd): Update.
6390 * gdb.stabs/weird.exp (print_weird_var): Update.
6391 * gdb.server/solib-list.exp: Update.
6392 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
6393 * gdb.mi/mi-cli.exp: Update.
6394 * gdb.linespec/linespec.exp: Update.
6395 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6396 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
6397 * gdb.cp/cp-relocate.exp: Update.
6398 * gdb.base/sym-file.exp: Update.
6399 * gdb.base/relocate.exp: Update.
6400 * gdb.base/readnever.exp: Update.
6401 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6402 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
6403 * gdb.base/dbx.exp (gdb_file_cmd): Update.
6404 * gdb.base/code_elim.exp: Update.
6405 * gdb.base/break-unload-file.exp (test_break): Update.
6406 * gdb.base/break-interp.exp (test_attach_gdb): Update.
6407 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
6409 * gdb.base/attach.exp (do_attach_tests): Update.
6410 * gdb.base/sepdebug.exp: Update.
6411 * gdb.python/py-section-script.exp: Update.
6413 2018-10-04 Tom Tromey <tom@tromey.com>
6416 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
6417 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
6420 2018-10-04 Tom Tromey <tom@tromey.com>
6422 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
6423 set width and height to 0.
6424 (test_command_line_attach_run): Use -quiet.
6426 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
6428 * lib/gdb.exp (skip_ifunc_tests): New.
6429 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
6430 other compile failures.
6431 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
6433 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
6435 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
6436 is_amd64_regs_target.
6438 2018-10-01 Alan Hayward <alan.hayward@arm.com>
6440 * gdb.arch/aarch64-sighandler-regs.c: New test.
6441 * gdb.arch/aarch64-sighandler-regs.exp: New file.
6442 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
6444 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
6446 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
6449 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
6451 * gdb.base/frame-selection.exp: New file.
6452 * gdb.base/frame-selection.c: New file.
6454 2018-09-27 Alan Hayward <alan.hayward@arm.com>
6456 * gdb.threads/check-libthread-db.c (thread_routine): Use a
6460 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
6462 * gdb.base/large-frame-1.c: New file.
6463 * gdb.base/large-frame-2.c: New file.
6464 * gdb.base/large-frame.exp: New file.
6465 * gdb.base/large-frame.h: New file.
6467 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
6470 * gdb.base/write_mem.exp: New test.
6471 * gdb.base/write_mem.c: Likewise.
6473 2018-09-23 Tom Tromey <tom@tromey.com>
6476 * gdb.python/py-parameter.exp: Add test for parameter that throws
6479 2018-09-23 Tom Tromey <tom@tromey.com>
6482 * gdb.python/py-template.exp (test_template_arg): Add test for
6483 negative template argument number.
6485 2018-09-23 Tom Tromey <tom@tromey.com>
6488 * gdb.python/python.exp: Add test for post_event error.
6490 2018-09-23 Tom Tromey <tom@tromey.com>
6493 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
6494 convert pointers to int and long.
6496 2018-09-23 Tom Tromey <tom@tromey.com>
6499 * gdb.python/py-value.exp (test_value_numeric_ops): Add
6500 signed-ness conversion tests.
6502 2018-09-23 Tom Tromey <tom@tromey.com>
6505 * gdb.python/py-value.exp (test_float_conversion): New proc.
6508 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
6510 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
6512 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
6514 * gdb.base/complete-empty.exp: Skip tab-completion tests if
6516 * gdb.base/utf8-identifiers.exp: Likewise.
6517 * gdb.cp/cpcompletion.exp: Likewise.
6518 * gdb.linespec/cpcompletion.exp: Likewise.
6519 * gdb.linespec/cpls-abi-tag.exp: Likewise.
6520 * gdb.linespec/cpls-ops.exp: Likewise.
6522 2018-09-19 Richard Bunt <richard.bunt@arm.com>
6523 Chris January <chris.january@arm.com>
6525 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
6526 * gdb.fortran/short-circuit-argument-list.exp: New file.
6527 * gdb.fortran/short-circuit-argument-list.f90: New test.
6529 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6531 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
6532 "arch=" keyword when executing "-stack-list-frames".
6534 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6536 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
6537 "arch=" keyword when executing "-stack-list-frames".
6539 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6541 * gdb.ada/complete.exp: Expect for "@" when doing "complete
6544 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
6547 * gdb.python/python.exp: Test gdb.execute("show commands").
6549 2018-09-16 Tom Tromey <tom@tromey.com>
6551 * gdb.base/new-ui.exp (do_execution_tests): Update.
6552 * gdb.base/dbx.exp (test_breakpoints): Update.
6554 2018-09-14 Alan Hayward <alan.hayward@arm.com>
6556 * lib/gdb.exp (gdb_simple_compile): Add proc.
6557 (is_elf_target): Use gdb_simple_compile.
6558 (skip_altivec_tests): Likewise.
6559 (skip_vsx_tests): Likewise.
6560 (skip_tsx_tests): Likewise.
6561 (skip_btrace_tests): Likewise.
6562 (skip_btrace_pt_tests): Likewise.
6563 (gdb_can_simple_compile): Likewise.
6564 (gdb_has_argv0): Likewise.
6565 (gdb_target_symbol_prefix): Likewise.
6566 (target_supports_scheduler_locking): Likewise.
6568 2018-09-13 Tom Tromey <tom@tromey.com>
6570 * Makefile.in (TAGS): Recognize proc_with_prefix and
6573 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6575 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
6578 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6580 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
6581 and a few other Inferior properties when the Inferior is no
6584 2018-09-13 Tom Tromey <tom@tromey.com>
6587 * gdb.rust/simple.exp: Add test for enum field access error.
6589 2018-09-13 Tom Tromey <tom@tromey.com>
6592 * gdb.rust/simple.rs (EmptyEnum): New type.
6594 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
6596 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6598 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
6599 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
6600 * gdb.python/py-symtab.exp: Update test printing an objfile.
6602 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
6604 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
6607 2018-09-12 Alan Hayward <alan.hayward@arm.com>
6609 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
6610 (support_complex_tests): Use gdb_can_simple_compile.
6611 (is_ilp32_target): Likewise.
6612 (is_lp64_target): Likewise.
6613 (is_64_target): Likewise.
6614 (is_amd64_regs_target): Likewise.
6615 (is_aarch32_target): Likewise.
6616 (gdb_int128_helper): Likewise.
6618 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6620 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
6622 2018-09-10 Jerome Guitton <guitton@adacore.com>
6624 * gdb.ada/same_component_name: Add test for case of tagged record
6625 with variable-length fields.
6627 2018-09-10 Xavier Roirand <roirand@adacore.com>
6629 * gdb.ada/access_to_unbounded_array.exp: New testcase.
6630 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
6631 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
6632 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
6634 2018-09-10 Xavier Roirand <roirand@adacore.com>
6636 * gdb.ada/mi_string_access.exp: New testcase.
6637 * gdb.ada/mi_string_access/bar.adb: New file.
6638 * gdb.ada/mi_string_access/pck.adb: New file.
6639 * gdb.ada/mi_string_access/pck.asd: New file.
6641 2018-09-10 Xavier Roirand <roirand@adacore.com>
6643 * gdb.ada/mi_var_union.exp: New testcase.
6644 * gdb.ada/mi_var_union/bar.adb: New file.
6645 * gdb.ada/mi_var_union/pck.adb: New file.
6646 * gdb.ada/mi_var_union/pck.asd: New file.
6648 2018-09-08 Tom Tromey <tom@tromey.com>
6650 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
6652 2018-09-08 Tom Tromey <tom@tromey.com>
6655 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
6656 (register_pretty_printers): Register new printer.
6657 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
6659 * gdb.python/py-prettyprint.c (int_type3): New typedef.
6660 (an_int_type3): New global.
6662 2018-09-08 Joel Brobecker <brobecker@adacore.com>
6664 * gdb.ada/expr_with_funcall: New testcase.
6666 2018-09-08 Joel Brobecker <brobecker@adacore.com>
6668 * gdb.ada/packed_array_assign: New testcase.
6670 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
6672 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
6673 names, and add test prefixes to make test names unique.
6675 2018-09-05 Tom de Vries <tdevries@suse.de>
6677 * gdb.dwarf2/varval.exp: Add test.
6679 2018-09-04 Gary Benson <gbenson@redhat.com>
6681 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
6682 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
6684 2018-08-31 Tom Tromey <tom@tromey.com>
6686 * gdb.rust/simple.rs: Rename second variable "v".
6688 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
6690 * gdb.base/funcargs.c (use_a): New function.
6691 (recurse): Call use_a.
6693 2018-08-29 Keith Seitz <keiths@redhat.com>
6695 * gdb.compile/compile-cplus-anonymous.cc: New file.
6696 * gdb.compile/compile-cplus-anonymous.exp: New file.
6697 * gdb.compile/compile-cplus-array-decay.cc: New file.
6698 * gdb.compile/compile-cplus-array-decay.exp: New file.
6699 * gdb.compile/compile-cplus-inherit.cc: New file.
6700 * gdb.compile/compile-cplus-inherit.exp: New file.
6701 * gdb.compile/compile-cplus-member.cc: New file.
6702 * gdb.compile/compile-cplus-member.exp: New file.
6703 * gdb.compile/compile-cplus-method.cc: New file.
6704 * gdb.compile/compile-cplus-method.exp: New file.
6705 * gdb.compile/compile-cplus-mod.c: "New" file.
6706 * gdb.compile/compile-cplus-namespace.cc: New file.
6707 * gdb.compile/compile-cplus-namespace.exp: New file.
6708 * gdb.compile/compile-cplus-nested.cc: New file.
6709 * gdb.compile/compile-cplus-nested.exp: New file.
6710 * gdb.compile/compile-cplus-print.c: "New" file.
6711 * gdb.compile/compile-cplus-print.exp: "New" file.
6712 * gdb.compile/compile-cplus-virtual.cc: New file.
6713 * gdb.compile/compile-cplus-virtual.exp: New file.
6714 * gdb.compile/compile-cplus.c: "New" file.
6715 * gdb.compile/compile-cplus.exp: "New" file.
6716 * lib/compile-support.exp: New file.
6718 2018-08-16 Gary Benson <gbenson@redhat.com>
6721 * gdb.base/batch-exit-status.exp: New file.
6722 * gdb.base/batch-exit-status.good-commands: Likewise.
6723 * gdb.base/batch-exit-status.bad-commands: Likewise.
6725 2018-08-29 Alan Hayward <alan.hayward@arm.com>
6727 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
6728 (struct struct02): Likewise.
6729 (struct struct03): Likewise.
6730 (struct struct04): Likewise.
6731 (struct struct_01_01): New struct.
6732 (struct struct_01_02): Likewise.
6733 (struct struct_01_03): Likewise.
6734 (struct struct_01_04): Likewise.
6735 (struct struct_02_01): Likewise.
6736 (struct struct_02_02): Likewise.
6737 (struct struct_02_03): Likewise.
6738 (struct struct_02_04): Likewise.
6739 (struct struct_04_01): Likewise.
6740 (struct struct_04_02): Likewise.
6741 (struct struct_04_03): Likewise.
6742 (struct struct_04_04): Likewise.
6743 (struct struct_05_01): Likewise.
6744 (struct struct_05_02): Likewise.
6745 (struct struct_05_03): Likewise.
6746 (struct struct_05_04): Likewise.
6747 (cmp_struct01): Remove function.
6748 (cmp_struct02): Likewise.
6749 (cmp_struct03): Likewise.
6750 (cmp_struct04): Likewise.
6751 (cmp_struct_01_01): Add Function.
6752 (cmp_struct_01_02): Likewise.
6753 (cmp_struct_01_03): Likewise.
6754 (cmp_struct_01_04): Likewise.
6755 (cmp_struct_02_01): Likewise.
6756 (cmp_struct_02_02): Likewise.
6757 (cmp_struct_02_03): Likewise.
6758 (cmp_struct_02_04): Likewise.
6759 (cmp_struct_04_01): Likewise.
6760 (cmp_struct_04_02): Likewise.
6761 (cmp_struct_04_03): Likewise.
6762 (cmp_struct_04_04): Likewise.
6763 (cmp_struct_05_01): Likewise.
6764 (cmp_struct_05_02): Likewise.
6765 (cmp_struct_05_03): Likewise.
6766 (cmp_struct_05_04): Likewise.
6767 (call_all): Add new structs.
6768 * gdb.base/infcall-nested-structs.exp: Likewise.
6770 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
6772 * gdb.python/py-framefilter-mi.exp: Update regexp to
6773 check for "arch" field in frame output.
6775 2018-08-23 Kevin Buettner <kevinb@redhat.com>
6777 * gdb.dwarf2/dw2-ranges-func.c: New file.
6778 * gdb.dwarf2/dw2-ranges-func.exp: New file.
6780 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
6782 * gdb.base/term.exp: Compare terminal settings with values from
6784 * gdb.base/term.c: Get and set terminal settings.
6786 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
6788 * lib/mi-support.exp (mi_expect_stop): Update regexp to
6789 accommodate new "arch" field in frame output.
6790 * gdb.mi/mi-return.exp: Likewise.
6791 * gdb.mi/mi-stack.exp: Likewise.
6792 * gdb.mi/mi-syn-frame.exp: Likewise.
6793 * gdb.mi/user-selected-context-sync.exp: Likewise.
6795 2018-08-19 Michael Spang <spang@google.com>
6798 * gdb.base/gcore-tls-pie.c: New file.
6799 * gdb.base/gcore-tls-pie.exp: New file.
6801 2018-08-18 Kevin Buettner <kevinb@redhat.com>
6803 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
6804 * gdb.dwarf2/varval.c: New file.
6805 * gdb.dwarf2/varval.exp: New file.
6807 2018-08-17 Alan Hayward <alan.hayward@arm.com>
6810 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
6812 2018-08-16 Keith Seitz <keiths@redhat.com>
6814 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
6815 tests expected to pass.
6817 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
6819 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
6820 -data-disassemble -a.
6821 (test_disassembly_bogus_args): Likewise.
6823 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
6825 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
6827 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6829 * gdb.base/vla-optimized-out.exp: Add new test.
6831 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6833 * gdb.base/vla-optimized-out-o3.exp: Delete.
6834 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
6835 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
6838 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
6841 * gdb.server/extended-remote-restart.c: New file.
6842 * gdb.server/extended-remote-restart.exp: New file.
6844 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
6846 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
6847 "set variable index = 42".
6849 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
6851 * boards/index-cache-gdb.exp: New file.
6852 * gdb.dwarf2/index-cache.exp: New file.
6853 * gdb.dwarf2/index-cache.c: New file.
6854 * gdb.base/maint.exp: Check if we are using the index cache.
6856 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6858 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
6861 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6863 * dg-extract-results.sh: Move to toplevel contrib.
6864 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
6865 * Makefile.in (check-parallel-racy): Likewise.
6867 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
6869 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
6870 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
6871 tests if the target supports scheduler locking.
6873 2018-08-04 Tom de Vries <tdevries@suse.de>
6875 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
6877 2018-08-02 Tom Tromey <tom@tromey.com>
6880 * gdb.cp/temargs.exp: Test "info address" of a template
6883 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
6885 * gdb.python/py-mi-var-info-path-expression.c: New file.
6886 * gdb.python/py-mi-var-info-path-expression.py: New file.
6887 * gdb.python/py-mi-var-info-path-expression.exp: New file.
6889 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
6891 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
6892 error after "cannot resolve name" string.
6894 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
6896 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
6898 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
6900 2018-07-28 Tom de Vries <tdevries@suse.de>
6902 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
6904 2018-07-26 Tom de Vries <tdevries@suse.de>
6906 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
6908 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
6910 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
6913 2018-07-26 Tom de Vries <tdevries@suse.de>
6915 PR breakpoints/23366
6916 * gdb.base/catch-follow-exec.c: New test.
6917 * gdb.base/catch-follow-exec.exp: New file.
6919 2018-07-25 Tom de Vries <tdevries@suse.de>
6921 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
6922 vla-optimized-out.c.
6924 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
6926 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
6927 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
6929 2018-07-20 Tom de Vries <tdevries@suse.de>
6931 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
6933 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
6935 2018-07-19 Tom de Vries <tdevries@suse.de>
6937 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
6940 2018-07-18 Tom de Vries <tdevries@suse.de>
6942 * gdb.base/vla-optimized-out.c: New test.
6943 * gdb.base/vla-optimized-out.exp: New file.
6945 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
6947 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
6948 message "No address associated with hostname" when gdbserver
6949 cannot resolve the hostname.
6951 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6953 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
6954 Add some test prefixes to make tests unique.
6956 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6958 * gdb.base/frameapply.c: New file.
6959 * gdb.base/frameapply.exp: New file.
6961 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6963 * gdb.base/skip.exp: Update expected error message.
6965 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6966 Jan Kratochvil <jan.kratochvil@redhat.com>
6967 Paul Fertser <fercerpav@gmail.com>
6968 Tsutomu Seki <sekiriki@gmail.com>
6970 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
6972 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
6974 * boards/native-gdbserver.exp: Likewise.
6975 * gdb.server/run-without-local-binary.exp: Improve regexp used
6976 for detecting when a remote debugging connection succeeds.
6977 * gdb.server/server-connect.exp: New file.
6978 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
6979 Do not prefix the port number with ":".
6980 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
6981 support for detecting and using it. Add '$debughost_gdbserver'
6982 to the list of arguments used to start gdbserver. Handle case
6983 when gdbserver cannot resolve a network name.
6985 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6988 * gdb.base/ptype-offsets.cc (struct static_member): New
6990 (main) <stmember>: New variable.
6991 * gdb.base/ptype-offsets.exp: Add test for printing a struct
6992 with a static member in it.
6994 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
6996 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
6997 watchpoints enabled and disabled.
6999 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7001 * gdb.base/examine-backward.exp: Still run tests around address
7002 0x0, even if address 0x0 is not readable. Update the pattern for
7003 matching address 0x0 in expected output.
7005 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
7007 * gdb.base/share-env-with-gdbserver.c (main): Add call to
7010 2018-07-04 Tom de Vries <tdevries@suse.de>
7012 * gdb.dwarf2/dw2-error.exp: Update expected error message.
7014 2018-07-02 Maciej W. Rozycki <macro@mips.com>
7017 * gdb.arch/mips-disassembler-options.exp: New test.
7018 * gdb.arch/mips-disassembler-options.s: New test source.
7020 2018-06-29 Pedro Alves <palves@redhat.com>
7022 * gdb.threads/names.exp: Adjust expected "info threads" output.
7024 2018-06-29 Pedro Alves <palves@redhat.com>
7026 * gdb.opt/inline-break.exp (line number, address): Add "info
7029 2018-06-29 Pedro Alves <palves@redhat.com>
7031 * gdb.opt/inline-break.c (func1): Add "break here" marker.
7032 * gdb.opt/inline-break.exp: Test setting breakpoints by line
7033 number and address and running to them.
7035 2018-06-29 Richard Bunt <richard.bunt@arm.com>
7037 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
7039 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7041 * lib/compiler.c: Remove executable permission flag.
7043 2018-06-28 Richard Bunt <richard.bunt@arm.com>
7045 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
7047 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
7049 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
7051 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
7053 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
7055 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
7056 address argument is omitted.
7058 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
7060 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
7062 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
7065 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
7066 * gdb.base/infoline-reloc-main-from-zero.c: New file.
7068 2018-06-26 Tom Tromey <tom@tromey.com>
7071 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
7072 * gdb.rust/simple.rs (struct SimpleLayout): New.
7074 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
7076 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
7077 "info registers" output.
7079 2018-06-21 Richard Bunt <richard.bunt@arm.com>
7081 * gdb.base/watchpoint-hw-attach.c: New test.
7082 * gdb.base/watchpoint-hw-attach.exp: New file.
7084 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
7086 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
7088 * boards/dwarf4-gdb-index.exp: Likewise.
7089 * boards/fission-dwp.exp: Likewise.
7091 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
7093 * gdb.base/float128.exp: Add comment and improved fail message
7094 to the failure case of "print large128" test.
7096 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
7098 * configure.ac: Remove AC_PREREQ.
7099 * configure: Re-generate.
7101 2018-06-19 Pedro Alves <palves@redhat.com>
7103 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
7104 (func_extern_caller): New.
7105 (main): Call func_extern_caller.
7106 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
7109 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
7112 * gdb.cp/typedef-base.cc: New file.
7113 * gdb.cp/typedef-base.exp: New file.
7115 2018-06-18 Tom de Vries <tdevries@suse.de>
7117 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
7119 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7120 Richard Bunt <Richard.Bunt@arm.com>
7122 * gdb.threads/attach-slow-waitpid.c: New file.
7123 * gdb.threads/attach-slow-waitpid.exp: New file.
7124 * gdb.threads/slow-waitpid.c: New file.
7126 2018-06-14 Pedro Alves <palves@redhat.com>
7128 * gdb.base/fork-running-state.c: Include <errno.h>.
7129 (exit_if_relative_exits): New.
7130 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
7132 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
7135 2018-06-14 Tom de Vries <tdevries@suse.de>
7138 * gdb.base/finish-pretty.c: New test.
7139 * gdb.base/finish-pretty.exp: New file.
7141 2018-06-14 Pedro Alves <palves@redhat.com>
7143 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
7144 gdb's expected startup output.
7146 2018-06-14 Pedro Alves <palves@redhat.com>
7148 * lib/selftest-support.exp (selftest_setup): Remove inlined
7151 2018-06-14 Tom de Vries <tdevries@suse.de>
7153 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
7154 matching of breakpoint printing.
7156 2018-06-13 Tom de Vries <tdevries@suse.de>
7159 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
7160 (fork_child): ... here, and ...
7161 (fork_parent): ... here.
7163 2018-06-12 Tom de Vries <tdevries@suse.de>
7165 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
7167 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
7168 Stephen Roberts <stephen.roberts@arm.com>
7170 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
7171 rewrite test to describe action performed, rather than possible
7174 2018-06-08 Gary Benson <gbenson@redhat.com>
7176 * gdb.threads/check-libthread-db.exp: New file.
7177 * gdb.threads/check-libthread-db.c: Likewise.
7179 2018-06-05 Tom Tromey <tom@tromey.com>
7181 * gdb.base/default.exp: Update expected "show version" output.
7183 2018-06-05 Tom Tromey <tom@tromey.com>
7186 * gdb.cp/static-print-quit.exp: Update.
7187 * lib/gdb.exp (pagination_prompt): Update.
7188 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
7189 * gdb.python/python.exp: Update.
7191 2018-06-04 Joel Brobecker <brobecker@adacore.com>
7193 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
7195 2018-06-01 Joel Brobecker <brobecker@adacore.com>
7197 * gdb.ada/bp_fun_addr: New testcase.
7199 2018-06-01 Tom Tromey <tom@tromey.com>
7201 * gdb.xml/tdesc-regs.exp (load_description): Update expected
7203 * gdb.dwarf2/method-ptr.exp: Set language to C++.
7204 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
7205 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
7206 * gdb.base/maint.exp (maint_pass_if): Update.
7208 2018-05-31 Maciej W. Rozycki <macro@mips.com>
7210 * gdb.base/endian.exp: New test.
7211 * gdb.base/endian.c: New test source.
7213 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
7216 * gdb.base/bt-selected-frame.c: New file.
7217 * gdb.base/bt-selected-frame.exp: New file.
7218 * lib/gdb.exp (get_current_frame_number): New function.
7220 2018-05-24 Maciej W. Rozycki <macro@mips.com>
7221 Pedro Alves <palves@redhat.com>
7223 * gdb.threads/tls-core.c: Include <stdlib.h>
7224 (thread_proc): Call `abort'.
7225 * gdb.threads/tls-core.exp: Generate a core with core_find too.
7226 (tls_core_test): New procedure, bits factored out from ...
7227 (top level): ... here. Test both native cores and gcore cores.
7229 2018-05-23 Tom Tromey <tom@tromey.com>
7231 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
7233 2018-05-23 Tom Tromey <tom@tromey.com>
7235 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
7237 (test_short_complaints): Likewise.
7238 (test_empty_complaints): Likewise.
7239 (test_initial_complaints): Update.
7241 2018-05-23 Tom Tromey <tom@tromey.com>
7243 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
7245 2018-05-23 Tom Tromey <tom@tromey.com>
7247 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
7248 (test_short_complaints): Update.
7250 2018-05-22 Pedro Alves <palves@redhat.com>
7252 * gdb.base/remote.exp: Only gdb_start after compiling the
7253 testcase. Issue "disconnect" before testing "set remote" command
7254 defaults. Issue clean_restart before running to main.
7256 2018-05-22 Pedro Alves <palves@redhat.com>
7258 * gdb.base/remote.exp: Adjust expected output of "show remote
7259 memory-write-packet-size". Add tests for "set remote
7260 memory-write-packet-size 0" and "set remote
7261 memory-write-packet-size fixed/limit".
7263 2018-05-22 Pedro Alves <palves@redhat.com>
7266 * gdb.base/utf8-identifiers.c: New file.
7267 * gdb.base/utf8-identifiers.exp: New file.
7269 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7271 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
7273 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7275 * gdb.arch/powerpc-vsx-gcore.exp: New file.
7277 2018-05-18 Tom Tromey <tom@tromey.com>
7279 * gdb.base/ptype-offsets.exp: Update.
7281 2018-05-17 Keith Seitz <keiths@redhat.com>
7283 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
7284 in expected breakpoint stop locations.
7285 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
7286 move to proper scope to test variable values.
7287 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
7288 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
7290 (main): Call not_inline_func3.
7291 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
7292 inline_func1, inline_func2, and inline_func3. Test that when each
7293 breakpoint is hit, GDB properly reports both the stop location
7294 and the backtrace. Repeat tests for temporary breakpoints.
7296 2018-05-15 Maciej W. Rozycki <macro@mips.com>
7298 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
7299 rather then trying to access it in determining whether the PID
7300 of `gdbserver' could have been retrieved.
7302 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
7304 * gdb.arch/amd64-init-x87-values.S: New file.
7305 * gdb.arch/amd64-init-x87-values.exp: New file.
7307 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7309 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
7311 2018-05-04 Tom Tromey <tom@tromey.com>
7314 * gdb.python/python.exp: Test multi-line execute.
7316 2018-05-04 Tom Tromey <tom@tromey.com>
7319 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
7321 2018-05-04 Tom Tromey <tom@tromey.com>
7324 * gdb.base/define.exp: Test defining a user command inside a user
7326 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
7328 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7329 Pedro Alves <palves@redhat.com>
7331 PR breakpoints/19806 and support for PR external/20207.
7332 * gdb.base/watchpoint-unaligned.c: New file.
7333 * gdb.base/watchpoint-unaligned.exp: New file.
7335 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7337 * gdb.base/maint.exp: Make test names unique, use
7338 test_prefix_command_help to test 'help maint info', and remove
7339 repeated test of 'help maint'.
7341 2018-05-04 Tom Tromey <tom@tromey.com>
7344 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
7347 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7349 * gdb.base/maint.exp: Process output from 'maint print registers'
7352 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7354 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
7357 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
7359 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
7362 2018-05-02 Pedro Alves <palves@redhat.com>
7364 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
7365 to_log_command renames.
7366 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7368 2018-05-02 Tom Tromey <tom@tromey.com>
7370 * gdb.python/py-parameter.exp: Set test message.
7372 2018-05-02 Tom Tromey <tom@tromey.com>
7375 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
7376 PARAM_ZUINTEGER_UNLIMITED tests.
7378 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
7381 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
7384 2018-04-30 Tom Tromey <tom@tromey.com>
7386 * gdb.python/py-type.exp: Check align attribute.
7387 * gdb.python/py-type.c: New "aligncheck" global.
7389 2018-04-30 Tom Tromey <tom@tromey.com>
7392 * gdb.dwarf2/dw2-align.exp: New file.
7393 * gdb.cp/align.exp: New file.
7394 * gdb.base/align.exp: New file.
7395 * lib/gdb.exp (gdb_int128_helper): New proc.
7396 (has_int128_c, has_int128_cxx): New caching procs.
7398 2018-04-27 Tom Tromey <tom@tromey.com>
7401 * gdb.rust/simple.exp: Add inclusive range tests.
7403 2018-04-26 Pedro Alves <palves@redhat.com>
7405 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
7406 ifunc breakpoint locations correctly of ifunc breakpoints set
7407 while the program resolves the ifunc.
7409 2018-04-26 Pedro Alves <palves@redhat.com>
7411 * gdb.base/gnu-ifunc-final.c: New file.
7412 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
7413 * gdb.base/gnu-ifunc.exp (executable): Delete.
7414 (staticexecutable): Adjust.
7415 (lib_opts, exec_opts): Delete.
7416 (make_binsuffix, build, set-break): New procedures.
7417 (misc_tests): New, with tests factored out from the top level.
7418 (top level): Test different combinations of ifunc resolver name,
7419 resolver with and with debug info, and ifunc target with and
7420 without debug info. Wrap static tests with with_target_prefix.
7422 2018-04-26 Pedro Alves <palves@redhat.com>
7424 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
7425 return type" warnings.
7427 2018-04-25 Pedro Alves <palves@redhat.com>
7429 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
7431 * gdb.base/kill-after-signal.exp: Likewise.
7432 * gdb.threads/kill.exp: Likewise.
7434 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7435 Sergio Durigan Junior <sergiodj@redhat.com>
7436 Pedro Alves <palves@redhat.com>
7438 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
7439 regexps to expect for '[Inferior ... detached]' as well.
7440 * gdb.base/attach.exp: Likewise.
7441 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
7442 "gdb_continue_to_end".
7443 (test_catch_syscall_with_wrong_args): Likewise.
7444 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
7445 ']'. Don't set 'verbose' on.
7446 * gdb.base/foll-vfork.exp: Likewise.
7447 * gdb.base/fork-print-inferior-events.c: New file.
7448 * gdb.base/fork-print-inferior-events.exp: New file.
7449 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
7450 '[Inferior ... has been killed]' message.
7451 * gdb.base/kill-after-signal.exp: Likewise.
7452 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
7454 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
7456 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
7457 regexps to expect for '[Inferior ... detached]' as well.
7458 * gdb.threads/process-dies-while-detaching.exp: Likewise.
7460 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
7463 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
7465 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
7468 * gdb.base/break-probes.exp: Pass shlib_load to
7469 prepare_for_testing. Set normal_bp to r_debug_state if target is
7472 2018-04-19 Richard Bunt <richard.bunt@arm.com>
7474 * gdb.threads/multiple-successive-infcall.c: New test.
7475 * gdb.threads/multiple-successive-infcall.exp: New file.
7477 2018-04-17 Tom Tromey <tom@tromey.com>
7479 * gdb.rust/simple.rs (Union): New type.
7480 (main): New local "u".
7481 * gdb.rust/simple.exp (test_one_slice): Add new test case.
7483 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7485 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
7486 number information in output of "whereis" command.
7487 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
7489 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7491 * gdb.ada/info_types.exp: Adjust expected output to the line
7492 numbers now printed by "info var/func/type".
7493 * gdb.base/completion.exp: Likewise.
7494 * gdb.base/included.exp: Likewise.
7495 * gdb.cp/cp-relocate.exp: Likewise.
7496 * gdb.cp/cplusfuncs.exp: Likewise.
7497 * gdb.cp/namespace.exp: Likewise.
7498 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
7500 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7502 * gdb.btrace/cpu.exp: New.
7504 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7506 * gdb.base/step-indirect-call-thunk.exp: New.
7507 * gdb.base/step-indirect-call-thunk.c: New.
7508 * gdb.reverse/step-indirect-call-thunk.exp: New.
7509 * gdb.reverse/step-indirect-call-thunk.c: New.
7511 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
7513 * gdb.base/pie-fork.c: New file.
7514 * gdb.base/pie-fork.exp: New file.
7516 2018-04-11 Tom Tromey <tom@tromey.com>
7518 * gdb.rust/simple.exp: Add test for ".." struct initializer.
7520 2018-04-10 Pedro Alves <palves@redhat.com>
7522 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
7523 exits. Instead loop running forever.
7524 (fork_parent): Run forever too.
7526 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7528 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
7529 mi_continue_to_line.
7530 * gdb.mi/mi-stack.c (callee4): Add comment.
7532 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7534 * gdb.mi/mi-stack.exp: Fix indentation.
7536 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7539 * gdb.arch/amd64-osabi.exp: New file.
7541 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7544 * gdb.base/osabi.exp: New file.
7546 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
7548 * gdb.cp/static-typedef-print.exp: New file.
7549 * gdb.cp/static-typedef-print.cc: New file.
7551 2018-03-27 Joel Brobecker <brobecker@adacore.com>
7553 * gdb.ada/varsize_limit: New testcase.
7555 2018-03-27 Joel Brobecker <brobecker@adacore.com>
7557 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
7559 * gdb.ada/notcplusplus: New testcase.
7561 * gdb.base/c-linkage-name.c: New file.
7562 * gdb.base/c-linkage-name.exp: New testcase.
7564 2018-03-26 Tom Tromey <tom@tromey.com>
7566 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
7567 * gdb.python/py-framefilter.py (name_error): New global.
7568 (ErrorInName.function): Use name_error.
7570 2018-03-26 Tom Tromey <tom@tromey.com>
7573 * gdb.python/py-framefilter.exp: Add "bt hide" test.
7575 2018-03-23 Keith Seitz <keiths@redhat.com>
7578 * gdb.cp/subtypes.exp: New file.
7579 * gdb.cp/subtypes.h: New file.
7580 * gdb.cp/subtypes.cc: New file.
7581 * gdb.cp/subtypes-2.cc: New file.
7583 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7585 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
7586 (done): Call '_exit' not 'exit' to avoid atexit handlers.
7587 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
7588 -nostartfiles when compiling the test. Confirm that all registers
7589 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
7591 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7593 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
7594 option, syntax was wrong anyway.
7595 * gdb.arch/arm-disp-step.exp: Likewise.
7596 * gdb.arch/sparc64-regs.exp: Likewise.
7597 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
7598 option, syntax was wrong anyway, switch to use
7599 prepare_for_testing.
7600 * gdb.arch/i386-disp-step.exp: Likewise.
7602 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
7604 * gdb.ada/exec_changed.exp: Replace "target_info exists
7605 use_gdb_stub" by "use_gdb_stub".
7606 * gdb.ada/start.exp: Likewise.
7607 * gdb.base/async-shell.exp: Likewise.
7608 * gdb.base/attach-pie-misread.exp: Likewise.
7609 * gdb.base/attach-wait-input.exp: Likewise.
7610 * gdb.base/break-entry.exp: Likewise.
7611 * gdb.base/break-interp.exp: Likewise.
7612 * gdb.base/dprintf-detach.exp: Likewise.
7613 * gdb.base/nostdlib.exp: Likewise.
7614 * gdb.base/solib-nodir.exp: Likewise.
7615 * gdb.base/statistics.exp: Likewise.
7616 * gdb.base/testenv.exp: Likewise.
7617 * gdb.mi/mi-exec-run.exp: Likewise.
7618 * gdb.mi/mi-start.exp: Likewise.
7619 * gdb.multi/dummy-frame-restore.exp: Likewise.
7620 * gdb.multi/multi-arch-exec.exp: Likewise.
7621 * gdb.multi/multi-arch.exp: Likewise.
7622 * gdb.multi/tids.exp: Likewise.
7623 * gdb.multi/watchpoint-multi.exp: Likewise.
7624 * gdb.python/py-events.exp: Likewise.
7625 * gdb.threads/attach-into-signal.exp: Likewise.
7626 * gdb.threads/attach-stopped.exp: Likewise.
7627 * gdb.threads/threadapply.exp: Likewise.
7628 * lib/selftest-support.exp: Likewise.
7630 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
7632 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
7634 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
7636 * gdb.perf/template-breakpoints.cc: New file.
7637 * gdb.perf/template-breakpoints.exp: New file.
7638 * gdb.perf/template-breakpoints.py: New file.
7640 2018-03-19 Tom Tromey <tom@tromey.com>
7642 * gdb.rust/simple.rs (main): Add local variables field1, field2,
7644 * gdb.rust/simple.exp: Test bare identifier form of struct
7647 2018-03-19 Tom Tromey <tom@tromey.com>
7649 * gdb.gdb/observer.exp: Remove.
7651 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7653 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
7654 "qualified" option when setting breakpoints.
7655 * gdb.trace/backtrace.exp: Likewise.
7656 * gdb.trace/circ.exp: Likewise.
7657 * gdb.trace/collection.exp: Likewise.
7658 * gdb.trace/disconnected-tracing.exp: Likewise.
7659 * gdb.trace/ftrace-lock.exp: Likewise.
7660 * gdb.trace/ftrace.exp: Likewise.
7661 * gdb.trace/infotrace.exp: Likewise.
7662 * gdb.trace/packetlen.exp: Likewise.
7663 * gdb.trace/passc-dyn.exp: Likewise.
7664 * gdb.trace/qtro.exp: Likewise.
7665 * gdb.trace/read-memory.exp: Likewise.
7666 * gdb.trace/report.exp: Likewise.
7667 * gdb.trace/signal.exp: Likewise.
7668 * gdb.trace/status-stop.exp: Likewise.
7669 * gdb.trace/strace.exp: Likewise.
7670 * gdb.trace/tfind.exp: Likewise.
7671 * gdb.trace/trace-break.exp: Likewise.
7672 * gdb.trace/trace-condition.exp: Likewise.
7673 * gdb.trace/trace-mt.exp: Likewise.
7674 * gdb.trace/tstatus.exp: Likewise.
7675 * gdb.trace/tsv.exp: Likewise.
7676 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7677 * gdb.trace/unavailable.exp: Likewise.
7678 * gdb.trace/while-dyn.exp: Likewise.
7680 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7682 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
7683 that libinproctrace is copied to the target.
7685 2018-03-14 Tom Tromey <tom@tromey.com>
7688 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
7690 * gdb.base/wchar.exp: Likewise.
7692 2018-03-14 Tom Tromey <tom@tromey.com>
7695 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
7698 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
7701 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
7702 "target" to remote_exec.
7704 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
7707 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
7708 ${board}_upload): Remove.
7710 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
7712 * gdb.cp/watch-cp.cc: New test.
7713 * gdb.cp/watch-cp.exp: New file.
7715 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7717 * gdb.base/infcall-nested-structs.exp: New file.
7718 * gdb.base/infcall-nested-structs.c: New file.
7719 * gdb.base/float.exp: Add riscv support.
7721 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
7723 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
7724 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
7726 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
7728 * gdb.server/abspath.exp: New file.
7729 * lib/gdb.exp (with_cwd): New procedure.
7731 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
7733 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
7735 (gdb_is_target_remote_prompt): New proc.
7736 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
7737 (gdb_is_target_native): Pass prompt parameter to
7740 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
7742 * gdb.base/load-command.c: New file.
7743 * gdb.base/load-command.exp: New file.
7744 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
7745 (gdb_is_target_1): ...this, and generalize for other targets
7747 (gdb_is_target_remote): Use gdb_is_target_1.
7748 (gdb_is_target_native): use gdb_is_target_1.
7750 2018-02-26 Tom Tromey <tom@tromey.com>
7753 * gdb.python/py-framefilter.exp: Update test.
7755 2018-02-26 Tom Tromey <tom@tromey.com>
7757 * gdb.dwarf2/variant.c: New file.
7758 * gdb.dwarf2/variant.exp: New file.
7760 2018-02-26 Tom Tromey <tom@tromey.com>
7762 * gdb.rust/simple.exp: Accept more possible results in enum test.
7764 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
7766 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
7769 2018-02-23 Maciej W. Rozycki <macro@mips.com>
7771 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
7772 name of a variable: $actual_linejj -> $actual_line.
7774 2018-02-21 John Baldwin <jhb@FreeBSD.org>
7776 * gdb.arch/amd64-i386-address.exp: Fix a typo.
7778 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
7780 * gdb.btrace/buffer-size.exp: Do not force BTS.
7782 2018-02-14 Pedro Alves <palves@redhat.com>
7784 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
7787 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
7789 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
7792 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
7794 * gdb.cp/m-static.exp: Check type of optimized out static
7797 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
7799 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
7800 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
7802 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
7803 Leszek Swirski <leszeks@google.com>
7805 * gdb.python/py-prettyprint.c
7806 (struct to_string_returns_value_inner,
7807 struct to_string_returns_value_wrapper): New.
7808 (main): Add tsrvw variable.
7809 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
7810 ToStringReturnsValueWrapper): New classes.
7811 (register_pretty_printers): Register new pretty-printers.
7812 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
7813 recursive pretty printer.
7814 * gdb.python/py-mi.exp: Likewise.
7816 2018-02-01 Leszek Swirski <leszeks@google.com>
7818 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
7819 functions with the same name as an include file are parsed
7822 2018-02-01 Yao Qi <yao.qi@linaro.org>
7824 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
7827 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
7829 * gdb.arch/powerpc-prologue-frame.s: New file.
7830 * gdb.arch/powerpc-prologue-frame.c: Likewise.
7831 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
7833 2018-01-31 Joel Brobecker <brobecker@adacore.com>
7835 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
7837 2018-01-30 Pedro Alves <palves@redhat.com>
7840 * gdb.base/interrupt-daemon.c: New.
7841 * gdb.base/interrupt-daemon.exp: New.
7842 * gdb.multi/multi-term-settings.c: New.
7843 * gdb.multi/multi-term-settings.exp: New.
7845 2018-01-30 Joel Brobecker <brobecker@adacore.com>
7847 * gdb.base/break.exp: Save the location where the breakpoint
7848 on break.c:47 was actually inserted when debugging the version
7849 compiled at -O2 and use it in the expected output of the "info
7850 break" test performed soon after.
7852 2018-01-22 Pedro Alves <palves@redhat.com>
7853 Sergio Durigan Junior <sergiodj@redhat.com>
7855 * gdb.base/whatis.exp: Add tests for 'set print object on' +
7856 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
7858 2018-01-22 Joel Brobecker <brobecker@adacore.com>
7860 * gdb.base/break-include.c, gdb.base/break-include.inc,
7861 gdb.base/break-include.exp: New files.
7862 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
7863 line number now being the actual line number where the breakpoint
7865 * gdb.mi/mi-break.exp: Likewise.
7866 * gdb.mi/mi-reverse.exp: Likewise.
7867 * gdb.mi/mi-simplerun.exp: Ditto.
7869 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7871 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
7873 * gdb.mi/mi-var-create-rtti.exp: Likewise.
7875 2018-01-21 Don Breazeal <donb@codesourcery.com>
7876 Andrew Burgess <andrew.burgess@embecosm.com>
7878 * gdb.mi/basics.c: Add new global.
7879 * gdb.mi/mi-frame-regs.exp: New file.
7880 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
7883 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7885 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
7886 non-parameter, and on an unknown symbol.
7888 2018-01-19 Tom Tromey <tom@tromey.com>
7890 * gdb.rust/modules.rs (TWENTY_THREE): New global.
7891 * gdb.rust/modules.exp: Add ::-qualified lookup test.
7893 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7895 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
7896 setrlimit and chdir to int.
7898 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7900 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
7902 (my_tend): Likewise.
7903 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
7904 rationale of avoiding FP- and vector instructions.
7906 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
7908 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
7909 "info reg" with "\[ \t\]*".
7910 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
7912 * gdb.arch/s390-multiarch.exp: Ditto.
7913 * gdb.base/pc-fp.exp: Ditto.
7914 * gdb.reverse/i386-precsave.exp: Ditto.
7915 * gdb.reverse/i386-reverse.exp: Ditto.
7916 * gdb.reverse/i387-env-reverse.exp: Ditto.
7917 * gdb.reverse/i387-stack-reverse.exp: Ditto.
7919 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7921 * lib/gdb.exp (gdb_compile): Re-enable use of
7922 universal_compile_options for languages other than Rust.
7924 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7926 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
7928 2018-01-17 Mike Gulick <mgulick@mathworks.com>
7931 * gdb.base/solib-vanish.exp: New.
7932 * gdb.base/solib-vanish-main.c: New.
7933 * gdb.base/solib-vanish-lib1.c: New.
7934 * gdb.base/solib-vanish-lib2.c: New.
7936 2018-01-17 Yao Qi <yao.qi@linaro.org>
7938 * gdb.compile/compile.exp: Match the address printed for
7939 frame in the output of command "bt".
7941 2018-01-15 Tom Tromey <tom@tromey.com>
7943 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
7946 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7948 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
7950 (prepare): Return 0 on error, 1 on success.
7952 2018-01-12 Pedro Alves <palves@redhat.com>
7954 * gdb.base/continue-after-aborted-step-over.c: New.
7955 * gdb.base/continue-after-aborted-step-over.exp: New.
7957 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
7959 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
7960 options when not creating an executable.
7962 2018-01-11 Pedro Alves <palves@redhat.com>
7965 * gdb.server/stop-reply-no-thread.c: New file.
7966 * gdb.server/stop-reply-no-thread.exp: New file.
7968 2018-01-10 Pedro Alves <palves@redhat.com>
7971 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
7972 functions too. Test setting breakpoints and printing C functions
7973 with no debug info too.
7974 * gdb.ada/bp_c_mixed_case/qux.c: New file.
7976 2018-01-10 Pedro Alves <palves@redhat.com>
7979 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
7982 2018-01-10 Pedro Alves <palves@redhat.com>
7985 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
7987 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7989 * gdb.server/unittest.exp: Match the output in non-development
7992 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7994 * gdb.gdb/unittest.exp: Match output in non-development mode.
7996 2018-01-08 Joel Brobecker <brobecker@adacore.com>
7998 * gdb.ada/access_tagged_param.exp: Relax expected output
7999 for value of "ObjL" in "continue" to pck.inspect breakpoint
8002 2018-01-08 Joel Brobecker <brobecker@adacore.com>
8004 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
8005 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
8007 2018-01-05 Pedro Alves <palves@redhat.com>
8010 * gdb.base/libsegfault.exp: New.
8012 2018-01-05 Joel Brobecker <brobecker@adacore.com>
8015 * gdb.ada/access_tagged_param.exp: New file.
8016 * gdb.ada/access_tagged_param/foo.adb: New file.
8018 2018-01-05 Pedro Alves <palves@redhat.com>
8021 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
8022 exercise lower case too, and to exercise both full matching and
8025 2018-01-05 Joel Brobecker <brobecker@adacore.com>
8027 * gdb.ada/rename_subscript_param: New testcase.
8029 2018-01-05 Jerome Guitton <guitton@adacore.com>
8031 * gdb.ada/arr_acc_idx_w_gap: New testcase.
8033 2018-01-05 Joel Brobecker <brobecker@adacore.com>
8035 * gdb.ada/convvar_comp: New testcase.
8037 2018-01-05 Xavier Roirand <roirand@adacore.com>
8039 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
8040 (My_Table): New global variable.
8041 * testsuite/gdb.ada/array_char_idx.exp: Add test.
8043 2018-01-04 Joel Brobecker <brobecker@adacore.com>
8046 * gdb.ada/maint_with_ada: New testcase.
8048 2018-01-04 Joel Brobecker <brobecker@adacore.com>
8051 * gdb.ada/bp_c_mixed_case: New testcase.
8053 2018-01-04 Joel Brobecker <brobecker@adacore.com>
8056 * gdb.ada/complete.exp: Add "complete break ada" test.
8058 2018-01-04 Joel Brobecker <brobecker@adacore.com>
8061 * gdb.ada/info_addr_mixed_case: New testcase.
8063 2018-01-03 Xavier Roirand <roirand@adacore.com>
8065 * gdb.ada/excep_handle.exp: New testcase.
8066 * gdb.ada/excep_handle/foo.adb: New file.
8067 * gdb.ada/excep_handle/pck.ads: New file.
8069 2018-01-03 Joel Brobecker <brobecker@adacore.com>
8071 * gdb.base/step-line.c: Add extra empty line in copyright header.
8072 * gdb.base/step-line.inp: Likewise.
8074 2018-01-02 Joel Brobecker <brobecker@adacore.com>
8076 * gdb.ada/dyn_stride.exp: Add slice test.
8078 2018-01-02 Joel Brobecker <brobecker@adacore.com>
8080 * gdb.ada/dyn_stride: New testcase.
8082 2017-12-27 Stafford Horne <shorne@gmail.com>
8084 * gdb.xml/extra-regs.xml: Add example foo reggroup.
8085 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
8087 2017-12-27 Stafford Horne <shorne@gmail.com>
8089 * gdb.base/reggroups.c: New file.
8090 * gdb.base/reggroups.exp: New file.
8092 2017-12-18 Joel Brobecker <brobecker@adacore.com>
8094 * gdb.dwarf2/ada-valprint-error.c: New file.
8095 * gdb.dwarf2/ada-valprint-error.exp: New file.
8097 2017-12-18 Joel Brobecker <brobecker@adacore.com>
8099 * gdb.ada/assign_arr: New testcase.
8101 2017-12-18 Xavier Roirand <roirand@adacore.com>
8103 * gdb.ada/funcall_ptr: New testcase.
8105 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8108 * gdb.base/ptype-offsets.cc: New file.
8109 * gdb.base/ptype-offsets.exp: New file.
8111 2017-12-15 Yao Qi <yao.qi@linaro.org>
8113 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
8116 2017-12-15 Xavier Roirand <roirand@adacore.com>
8118 * gdb.ada/same_component_name: New testcase.
8120 2017-12-14 Joel Brobecker <brobecker@adacore.com>
8122 * gdb.ada/str_binop_equal: New testcase.
8124 2017-12-14 Joel Brobecker <brobecker@adacore.com>
8126 * gdb.ada/task_switch_in_core: New testcase.
8128 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
8130 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
8131 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
8132 call test_bkpt_qualified.
8133 (test_bkpt_qualified): New proc.
8135 2017-12-13 Pedro Alves <palves@redhat.com>
8137 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8138 Tighten regexp by matching with an anchor.
8140 2017-12-13 Pedro Alves <palves@redhat.com>
8142 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
8143 ("expression with namespace"): New set of tests.
8144 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
8145 (Nested::Test_NS::qux): New.
8146 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
8147 defaults to 'start_quote_char' and 'end_quote_char' parameters.
8149 2017-12-13 Joel Brobecker <brobecker@adacore.com>
8151 * gdb.base/server-del-break.c: New file.
8152 * gdb.base/server-del-break.exp: New file.
8154 2017-12-12 Stafford Horne <shorne@gmail.com>
8156 * gdb.xml/tdesc-regs.exp: Add or1k support.
8158 2017-12-12 Stafford Horne <shorne@gmail.com>
8160 * gdb.base/bp-permanent.c: Define nop of or1k.
8162 2017-12-11 Joel Brobecker <brobecker@adacore.com>
8164 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
8165 output with components being reordered.
8167 2017-12-11 Joel Brobecker <brobecker@adacore.com>
8169 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
8170 output with components being reordered.
8172 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8173 Pedro Alves <palves@redhat.com>
8175 * gdb.base/maint.exp (check for .gdb_index): Check also for
8177 * gdb.dlang/watch-loc.c (.debug_aranges): New.
8178 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
8179 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
8180 (.gdb_index used after symbol reloading): Support also .debug_names.
8181 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
8183 2017-12-08 Yao Qi <yao.qi@linaro.org>
8185 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8186 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
8188 2017-12-08 Yao Qi <yao.qi@linaro.org>
8190 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8191 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
8193 2017-12-08 Yao Qi <yao.qi@linaro.org>
8195 * gdb.arch/aarch64-tagged-pointer.c: New file.
8196 * gdb.arch/aarch64-tagged-pointer.exp: New file.
8198 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
8200 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
8203 2017-12-07 Keith Seitz <keiths@redhat.com>
8205 PR breakpoints/22569
8206 * gdb.linespec/ls-errs.exp: Change expected result of "break
8207 -source this file has spaces.c -line 3".
8208 Check that an explicit source file followed by whitespace is
8209 identified as an invalid explicit location.
8211 2017-12-07 Keith Seitz <keiths@redhat.com>
8213 * gdb.cp/nested-types.cc: New file.
8214 * gdb.cp/nested-types.exp: New file.
8215 * lib/cp-support.exp: Load data-structures.exp library.
8216 (debug_cp_test_ptype_class): New global.
8217 (cp_ptype_class_verbose, next_line): New procedures.
8218 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
8219 Add and document new return value.
8220 Switch the list of lines to a queue.
8221 Add support for new `type' key for nested type definitions.
8222 Add debugging/troubleshooting messages.
8223 * lib/data-structures.exp: New file.
8225 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
8227 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
8228 with proc_with_prefix, don't use with_test_prefix.
8230 2017-12-07 Tom Tromey <tom@tromey.com>
8232 * gdb.base/break.exp: Add test for empty "commands".
8234 2017-12-07 Yao Qi <yao.qi@linaro.org>
8236 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
8237 malloc and catch syscall.
8239 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
8241 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
8242 tests for explicit locations.
8244 2017-12-06 Pedro Alves <palves@redhat.com>
8246 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
8247 force-disabling XML descriptions.
8249 2017-12-04 Pedro Alves <palves@redhat.com>
8252 * gdb.arch/amd64-disp-step-avx.S: New file.
8253 * gdb.arch/amd64-disp-step-avx.exp: New file.
8255 2017-12-03 Pedro Alves <palves@redhat.com>
8257 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
8259 (parent_function): Print distinct messages when waitpid fails, or
8260 the child exits with a signal, or the child exits for an unhandled
8262 * gdb.threads/process-dies-while-detaching.exp
8263 (detach_and_expect_exit): New 'inf_output_re' parameter and use
8264 it. Wait for both inferior output and GDB's prompt. Use an
8265 indirect spawn id list.
8266 (do_detach): New parameter 'child_exit'. Use it to compute
8267 expected inferior output.
8268 (test_detach, test_detach_watch, test_detach_killed_outside):
8269 Adjust to pass down the expected child exit kind.
8271 2017-12-01 Joel Brobecker <brobecker@adacore.com>
8272 Sergio Durigan Junior <sergiodj@redhat.com>
8273 Pedro Alves <palves@redhat.com>
8275 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
8277 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
8279 * gdb.base/relocate.exp: Add tests to guarantee that arguments
8280 to 'symbol-file' and 'add-symbol-file' can be
8281 position-independent.
8283 2017-12-01 Yao Qi <yao.qi@linaro.org>
8285 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
8286 the URL in copyright header.
8287 * gdb.arch/aarch64-fp.exp: Likewise.
8288 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
8289 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
8290 * gdb.base/expand-psymtabs.exp: Likewise.
8291 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
8292 * gdb.fortran/common-block.exp: Likewise.
8293 * gdb.fortran/common-block.f90: Likewise.
8294 * gdb.fortran/logical.exp: Likewise.
8295 * gdb.fortran/vla-datatypes.f90: Likewise.
8296 * gdb.fortran/vla-sub.f90: Likewise.
8298 2017-11-30 Joel Brobecker <brobecker@adacore.com>
8300 * gdb.ada/repeat_dyn: New testcase.
8302 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8304 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
8305 Update for changed thread numbering.
8306 * gdb.cell/bt.exp: Update for changed GDB output.
8308 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
8310 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
8311 setting isremote by hand.
8312 * boards/dwarf4-gdb-index.exp: Likewise.
8313 * boards/fission.exp: Likewise.
8314 * boards/stabs.exp: Likewise.
8316 2017-11-30 Pedro Alves <palves@redhat.com>
8318 * gdb.linespec/cpls-ops.exp
8319 (check_explicit_skips_function_argument): Extract the underlying
8320 type of size_t instead of hardcoding it.
8322 2017-11-29 Pedro Alves <palves@redhat.com>
8325 * gdb.linespec/cpls-abi-tag.cc: New file.
8326 * gdb.linespec/cpls-abi-tag.exp: New file.
8328 2017-11-29 Pedro Alves <palves@redhat.com>
8330 * gdb.base/langs.exp: Use -qualified.
8331 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
8333 * gdb.cp/namespace.exp: Use -qualified.
8334 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
8335 (overload-3, template-overload, template-ret-type, const-overload)
8336 (const-overload-quoted, anon-ns, ambiguous-prefix): New
8338 (test_driver): Call them.
8339 * gdb.cp/save-bp-qualified.cc: New.
8340 * gdb.cp/save-bp-qualified.exp: New.
8341 * gdb.linespec/explicit.exp: Test -qualified.
8342 * lib/completion-support.exp (completion::explicit_opts_list): Add
8344 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
8346 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
8348 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
8350 2017-11-29 Tom Tromey <tom@tromey.com>
8352 * gdb.base/relocate.exp: Update invalid argument test.
8353 Add new tests for invalid arguments.
8355 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8357 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
8359 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
8361 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8363 * gdb.cp/breakpoint.cc (bar): Set return type to void.
8364 * gdb.cp/psymtab-parameter.cc (func): Likewise.
8365 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
8367 * gdb.cp/shadow.cc (B.func): Return 0.
8369 2017-11-27 Joel Brobecker <brobecker@adacore.com>
8371 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
8372 expected output in gdb_expect call to allow the exception
8373 message to be present as well. Fix syntax confusion to avoid
8374 TCL thinking that exception_name is an array.
8376 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
8378 * gdb.arch/spu-info.c: Include <unistd.h>.
8379 (do_signal_test): Fix broken calls to write.
8380 * gdb.arch/spu-info.exp: Use prepare_for_testing.
8381 Fix checks for empty mailboxes. Update signal tests for corrected
8382 do_signal_test routine. Allow nonzero event status.
8383 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
8384 * gdb.cell/arch.exp: Use standard_output_file.
8385 * gdb.cell/break.exp: Likewise.
8386 * gdb.cell/bt.exp: Likewise.
8387 * gdb.cell/core.exp: Likewise.
8388 * gdb.cell/dwarfaddr.exp: Likewise.
8389 * gdb.cell/ea-cache.exp: Likewise.
8390 * gdb.cell/ea-standalone.exp: Likewise.
8391 * gdb.cell/f-regs.exp: Likewise.
8392 * gdb.cell/fork.exp: Likewise.
8393 * gdb.cell/gcore.exp: Likewise.
8394 * gdb.cell/mem-access.exp: Likewise.
8395 * gdb.cell/ptype.exp: Likewise.
8396 * gdb.cell/registers.exp: Likewise.
8397 * gdb.cell/sizeof.exp: Likewise.
8398 * gdb.cell/solib-symbol.exp: Likewise.
8399 * gdb.cell/solib.exp: Likewise.
8401 2017-11-25 Pedro Alves <palves@redhat.com>
8403 * gdb.base/complete-empty.exp: New file.
8404 * gdb.base/completion.exp: Adjust.
8406 2017-11-25 Pedro Alves <palves@redhat.com>
8408 * gdb.linespec/cpls-ops.cc: New file.
8409 * gdb.linespec/cpls-ops.exp: New file.
8410 * lib/completion-support.exp (test_complete_prefix_range_re): New,
8411 factored out from ...
8412 (test_complete_prefix_range): ... this.
8414 2017-11-24 Pedro Alves <palves@redhat.com>
8416 * gdb.linespec/cpcompletion.exp: New file.
8417 * gdb.linespec/cpls-hyphen.cc: New file.
8418 * gdb.linespec/cpls.cc: New file.
8419 * gdb.linespec/cpls2.cc: New file.
8420 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
8421 test to use test_gdb_complete_unique. Add label completion,
8422 keyword completion and explicit location completion tests.
8423 * lib/completion-support.exp: New file.
8425 2017-11-24 Joel Brobecker <brobecker@adacore.com>
8427 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
8428 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
8429 when hitting an exception catchpoint.
8431 2017-11-22 Yao Qi <yao.qi@linaro.org>
8433 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
8435 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
8437 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
8438 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
8439 * gdb.dwarf2/info-locals-optimized-out.c: New file.
8441 2017-11-22 Yao Qi <yao.qi@linaro.org>
8443 * gdb.base/info-os.exp: Pass pthreads.
8444 * gdb.multi/multi-attach.exp: Likewise.
8446 2017-11-22 Yao Qi <yao.qi@linaro.org>
8448 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
8451 2017-11-22 Yao Qi <yao.qi@linaro.org>
8453 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
8454 * gdb.base/break-interp.exp: Likewise.
8455 * gdb.base/jit-attach-pie.exp: Likewise.
8457 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8459 * gdb.base/float128.c (large128): New variable.
8460 * gdb.base/float128.exp: Add test to print largest __float128 value.
8462 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8464 * gdb.arch/vsx-regs.exp: Update register content checks.
8466 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
8468 * gdb.arch/ppc-longdouble.exp: New file.
8469 * gdb.arch/ppc-longdouble.c: Likewise.
8471 2017-11-21 Pedro Alves <palves@redhat.com>
8473 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
8475 2017-11-20 Pedro Alves <palves@redhat.com>
8477 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
8478 (long_double_typedef): New typedefs.
8479 Use DEF on double and long double.
8480 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
8482 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
8483 and 'long_double_ptr_same_size' locals. Use them to decide
8484 whether cast from array/function to float is valid/invalid.
8486 2017-11-17 Tom Tromey <tom@tromey.com>
8488 * gdb.rust/traits.rs: New file.
8489 * gdb.rust/traits.exp: New file.
8491 2017-11-17 Joel Brobecker <brobecker@adacore.com>
8493 * gdb.ada/minsyms: New testcase.
8495 2017-11-16 Pedro Alves <palves@redhat.com>
8497 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
8498 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
8500 2017-11-16 Pedro Alves <palves@redhat.com>
8502 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
8503 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
8505 2017-11-16 Pedro Alves <palves@redhat.com>
8507 * gdb.server/reconnect-ctrl-c.c: New file.
8508 * gdb.server/reconnect-ctrl-c.exp: New file.
8510 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
8512 * gdb.python/py-rbreak.exp: New file.
8513 * gdb.python/py-rbreak.c: New file.
8514 * gdb.python/py-rbreak-func2.c: New file.
8516 2017-11-16 Pedro Alves <palves@redhat.com>
8518 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
8520 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
8523 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
8525 * gdb.tui/completionn.exp (test_tab_completion): Add space in
8528 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
8530 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
8533 2017-11-09 Pedro Alves <palves@redhat.com>
8535 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
8536 factored out from ...
8537 (top level): ... here, and adjusted to avoid expecting beyond the
8538 prompt in a single gdb_test_multiple.
8540 2017-11-09 Pedro Alves <palves@redhat.com>
8542 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
8544 * gdb.server/ext-attach.exp ("kill" test): Likewise.
8545 * gdb.server/ext-restart.exp ("kill" test): Likewise.
8546 * gdb.server/ext-run.exp ("kill" test): Likewise.
8547 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
8549 2017-11-09 Pedro Alves <palves@redhat.com>
8551 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
8552 match till end of line.
8554 2017-11-09 Pedro Alves <palves@redhat.com>
8556 * gdb.base/memattr.exp: Tighten regexes to match the end line.
8558 2017-11-09 Pedro Alves <palves@redhat.com>
8560 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
8561 New procedures, factored out from ...
8562 (top level): ... here, and adjusted to avoid expecting beyond the
8565 2017-11-09 Pedro Alves <palves@redhat.com>
8567 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
8568 output. Fix '?' match.
8570 2017-11-08 Joel Brobecker <brobecker@adacore.com>
8572 * gdb.ada/scoped_watch: New testcase.
8573 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
8574 which is actually correct.
8575 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
8576 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
8578 2017-11-08 Pedro Alves <palves@redhat.com>
8580 * gdb.gdb/complaints.exp (test_initial_complaints)
8581 (test_serial_complaints, test_short_complaints): Call
8582 complaint_internal instead of complaint.
8584 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
8586 * gdb.threads/tls-core.c: New file.
8587 * gdb.threads/tls-core.exp: Likewise.
8589 2017-11-08 Pedro Alves <palves@redhat.com>
8591 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
8592 (p Exported_Capitalized): New test.
8593 (p exported_capitalized): New test.
8595 2017-11-07 Pedro Alves <palves@redhat.com>
8597 * gdb.cp/ena-dis-br-range.exp: Add more tests.
8599 2017-11-07 Pedro Alves <palves@redhat.com>
8601 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
8602 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
8603 (disable_invalid, disable_inverted, disable_negative): New
8605 ("bad numbers"): New set of tests.
8607 2017-11-07 Pedro Alves <palves@redhat.com>
8609 * gdb.cp/ena-dis-br-range.exp: Add tests.
8611 2017-11-07 Pedro Alves <palves@redhat.com>
8613 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
8615 2017-11-07 Xavier Roirand <roirand@adacore.com>
8616 Pedro Alves <palves@redhat.com>
8618 * gdb.base/ena-dis-br.exp: Add reference to
8619 gdb.cp/ena-dis-br-range.exp.
8620 * gdb.cp/ena-dis-br-range.exp: New file.
8621 * gdb.cp/ena-dis-br-range.cc: New file.
8623 2017-11-06 Pedro Alves <palves@redhat.com>
8625 * gdb.base/attach-non-pgrp-leader.c: New.
8626 * gdb.base/attach-non-pgrp-leader.exp: New.
8628 2017-11-06 Pedro Alves <palves@redhat.com>
8630 * configure.ac: No longer check for termio.h and sgtty.h.
8631 * configure: Regenerate.
8632 * remote-utils.c: Include termios.h instead of gdb_termios.h.
8633 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
8634 Remove termio and sgtty code.
8636 2017-11-03 Yao Qi <yao.qi@linaro.org>
8638 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
8641 2017-11-03 Yao Qi <yao.qi@linaro.org>
8643 * gdb.python/py-thrhandle.exp: Skip it if python is not
8646 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
8648 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
8649 as a breakpoint command.
8651 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
8654 * gdb.python/py-infthread.exp: Test calling
8655 InferiorThread.inferior () multiple times in a row.
8657 2017-10-27 Keith Seitz <keiths@redhat.com>
8659 * gdb.opt/inline-break.exp (break_info_1): New procedure.
8660 Test "info break" for every inlined function breakpoint.
8662 2017-10-27 Yao Qi <yao.qi@linaro.org>
8664 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
8666 2017-10-26 Patrick Frants <osscontribute@gmail.com>
8668 * gdb.cp/classes.exp (test_static_members): Test printing
8670 * gdb.cp/classes.c (struct Inner, struct Outer): New.
8671 (Inner::instance, Outer::instance): New.
8673 2017-10-24 Pedro Alves <palves@redhat.com>
8675 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
8676 extra console" test in two stages.
8678 2017-10-24 Pedro Alves <palves@redhat.com>
8680 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
8682 2017-10-24 Pedro Alves <palves@redhat.com>
8684 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
8687 2017-10-24 Pedro Alves <palves@redhat.com>
8689 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
8690 $attempt" and "stoppedtry $stoppedtry" test prefixes.
8692 2017-10-24 Pedro Alves <palves@redhat.com>
8694 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
8695 parameter and handle it. Don't output read value in test name.
8697 2017-10-24 Pedro Alves <palves@redhat.com>
8699 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
8702 2017-10-24 Pedro Alves <palves@redhat.com>
8704 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
8705 include the unstable output directory name in the test's name.
8706 (initial_setup_simple) <'set args'>: Use custom test name.
8708 2017-10-24 Pedro Alves <palves@redhat.com>
8710 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
8711 with explicit test name.
8713 2017-10-20 Pedro Alves <palves@redhat.com>
8715 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
8716 'wait -i'. Use gdb_assert and remote_close.
8718 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
8720 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
8721 number from variable rather than hard-coded.
8723 2017-10-19 Pedro Alves <palves@redhat.com>
8725 * gdb.base/long-inferior-output.c: New file.
8726 * gdb.base/long-inferior-output.exp: New file.
8728 2017-11-18 Keith Seitz <keiths@redhat.com>
8730 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
8733 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
8734 Add additional user-defined conversion operator tests.
8736 2017-10-17 Pedro Alves <palves@redhat.com>
8738 * boards/native-stdio-gdbserver.exp: Load "local-board".
8740 2017-10-17 Pedro Alves <palves@redhat.com>
8742 * gdb.base/quit-live.c: New file.
8743 * gdb.base/quit-live.exp: New file.
8745 2017-10-16 Keith Seitz <keiths@redhat.com>
8747 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
8748 (class_with_protected_typedef, class_with_private_typedef)
8749 (struct_with_public_typedef, struct_with_protected_typedef)
8750 (struct_with_private_typedef): New classes/structs.
8751 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
8752 typedefs and access specifiers.
8754 2017-10-16 Pedro Alves <palves@redhat.com>
8755 Simon Marchi <simon.marchi@polymtl.ca>
8757 * README (Local vs Remote vs Native): New section.
8758 * boards/local-board.exp: New file, with bits factored out from
8760 * boards/native-extended-gdbserver.exp: ... here. Load
8762 * boards/native-gdbserver.exp: Load "local-board".
8763 (${board}_spawn, ${board}_exec): Delete.
8764 * boards/native-stdio-gdbserver.exp: Most contents factored out to
8766 * boards/stdio-gdbserver-base.exp: ... this new file.
8767 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
8768 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
8770 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
8771 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
8772 stdio_gdbserver_command.
8773 (${board}_get_remote_address, ${board}_get_comm_port)
8774 (${board}_download, ${board}_upload): Delete.
8775 (get_target_remote_pipe_cmd): New.
8777 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
8779 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
8780 test_bkpt_deletion, test_bkpt_cond_and_cmds,
8781 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
8782 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
8783 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
8784 remove with_test_prefix.
8786 2017-10-13 Pedro Alves <palves@redhat.com>
8788 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
8789 * gdb.base/annota1.exp: Use it instead of is_remote.
8790 * gdb.base/annota3.exp: Use it instead of is_remote.
8791 * gdb.cp/annota2.exp: Use it instead of is_remote.
8792 * gdb.cp/annota3.exp: Use it instead of is_remote.
8793 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
8795 2017-10-13 Pedro Alves <palves@redhat.com>
8797 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
8798 (test_num_test_vars, run_and_count_vars, find_env)
8799 (test_set_unset_env, test_inherit_env_var): New procedures.
8800 (top level): Use them.
8802 2017-10-13 Pedro Alves <palves@redhat.com>
8804 * lib/selftest-support.exp (selftest_setup): Extend comments, and
8805 also skip on stub-like targets.
8807 2017-10-13 Pedro Alves <palves@redhat.com>
8810 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
8811 (top level): Move some tests to ...
8812 (test_not_found): ... this new procedure.
8813 (top level): Call it.
8815 2017-10-13 Pedro Alves <palves@redhat.com>
8817 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
8818 expect different "info terminal" output if testing with a
8821 2017-10-13 Pedro Alves <palves@redhat.com>
8822 Simon Marchi <simon.marchi@polymtl.ca>
8825 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
8827 2017-10-13 Pedro Alves <palves@redhat.com>
8829 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
8832 2017-10-13 Pedro Alves <palves@redhat.com>
8834 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
8837 2017-10-13 Pedro Alves <palves@redhat.com>
8839 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
8842 2017-10-13 Pedro Alves <palves@redhat.com>
8844 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
8846 (corefile_test_attach): Likewise. Check can_spawn_for_attach
8847 instead of is_remote.
8849 2017-10-13 Pedro Alves <palves@redhat.com>
8851 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
8852 (top level): Add comment.
8854 2017-10-13 Pedro Alves <palves@redhat.com>
8856 * gdb.base/remote.exp (top level): Fix comment typo and add
8859 2017-10-13 Pedro Alves <palves@redhat.com>
8860 Simon Marchi <simon.marchi@polymtl.ca>
8862 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
8863 calls and add comments. Skip test if use_gdb_stub is set.
8864 (top level): Use "set cwd" command instead of "cd" command.
8866 2017-10-13 Pedro Alves <palves@redhat.com>
8868 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
8869 is_remote target check.
8871 2017-10-13 Pedro Alves <palves@redhat.com>
8873 * gdb.base/scope.exp: Use build_executable + clean_restart +
8874 gdb_file_cmd instead of prepare_for_testing and no longer skip
8875 "before run" tests on is_remote target boards. Update comments.
8876 * boards/native-extended-gdbserver.exp
8877 (extended_gdbserver_load_last_file): New, factored out from ...
8878 (gdb_load): ... this. Move further below and add comment.
8879 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
8881 2017-10-12 Pedro Alves <palves@redhat.com>
8883 * gdb.base/attach.exp: Remove references to gdb64.
8884 * gdb.base/dbx.exp: Remove references to gdb64.
8886 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8887 Pedro Alves <palves@redhat.com>
8889 * gdb.base/label.exp: Remove is_remote target check.
8891 2017-10-12 Pedro Alves <palves@redhat.com>
8893 * gdb.base/auvx.exp (coredir): Update comment.
8894 (top level) <core_works>: Use "set cwd" command instead of "cd"
8897 2017-10-12 Pedro Alves <palves@redhat.com>
8898 Simon Marchi <simon.marchi@polymtl.ca>
8900 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
8903 2017-10-12 Pedro Alves <palves@redhat.com>
8904 Simon Marchi <simon.marchi@polymtl.ca>
8906 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
8907 Instead skip if there's any gdb_protocol set.
8909 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8910 Pedro Alves <palves@redhat.com>
8912 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
8914 2017-10-12 Pedro Alves <palves@redhat.com>
8915 Simon Marchi <simon.marchi@polymtl.ca>
8917 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
8918 instead of on dejagnu remote boards.
8920 2017-10-12 Pedro Alves <palves@redhat.com>
8921 Simon Marchi <simon.marchi@polymtl.ca>
8923 * gdb.base/inferior-died.exp: Remove is_remote and isnative
8924 checks. Use build_executable + clean_restart instead of
8925 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
8926 of enabling non-stop after starting gdb.
8928 2017-10-12 Pedro Alves <palves@redhat.com>
8930 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
8931 * gdb.threads/non-ldr-exc-2.exp: Ditto.
8932 * gdb.threads/non-ldr-exc-3.exp: Ditto.
8933 * gdb.threads/non-ldr-exc-4.exp: Ditto.
8935 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
8937 * gdb.arch/arc-tdesc-cpu.exp: New file.
8938 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
8940 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
8942 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
8944 2017-10-10 Pedro Alves <palves@redhat.com>
8946 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
8949 2017-10-10 Pedro Alves <palves@redhat.com>
8951 * lib/selftest-support.exp (selftest_setup): Update for
8952 captured_command_loop's prototype change.
8954 2017-10-09 Pedro Alves <palves@redhat.com>
8956 Test both arch1=>arch2 and arch2=>arch1.
8958 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
8959 (srcfile2, binfile2, march1, march2): Remove globals. Largely
8961 (append_arch1_options, append_arch2_options, append_arch_options)
8962 (build_executables): New procedures.
8963 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
8965 (top level): Add new 'first_arch' testing axis.
8967 2017-10-09 Pedro Alves <palves@redhat.com>
8969 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
8971 (thread_start, all_started): New functions.
8972 (main): Spawn new thread and wait until it is scheduled.
8973 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
8975 (do_test): Add 'selected_thread' parameter. Run to all_started
8976 instead of main. Explicitly set the breakpoint at main. Switch
8977 to the SELECTED_THREAD thread.
8978 (top level): Test handling the exec event with either the main
8979 thread or the second thread selected.
8981 2017-10-09 Pedro Alves <palves@redhat.com>
8983 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
8984 logic. Move STOP marker after the value checks.
8985 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
8988 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
8990 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
8992 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
8994 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
8995 integer-to-dfp conversion.
8996 * gdb.base/dfp-test.exp: Likewise.
8998 2017-10-04 Pedro Alves <palves@redhat.com>
9000 * gdb.multi/hangout.c: Include <unistd.h>.
9001 (hangout_loop): New function.
9002 (main): Call alarm. Call hangout_loop in a loop.
9003 * gdb.multi/hello.c: Include <unistd.h>.
9004 (hello_loop): New function.
9005 (main): Call alarm. Call hangout_loop in a loop.
9006 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
9007 inferior with the other selected.
9009 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
9011 * gdb.mi/list-thread-groups-available.exp: New file.
9012 * gdb.mi/list-thread-groups-available.c: New file.
9014 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9016 * gdb.base/set-cwd.exp: Make it available on
9017 native-extended-gdbserver.
9019 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9021 * gdb.base/set-cwd.c: New file.
9022 * gdb.base/set-cwd.exp: Likewise.
9024 2017-10-02 Tom Tromey <tom@tromey.com>
9027 * gdb.rust/simple.rs (main): New variable "fslice".
9028 * gdb.rust/simple.exp: Add slice tests. Update string tests.
9030 2017-10-02 Tom Tromey <tom@tromey.com>
9032 * gdb.rust/simple.exp: Test ptype of a slice.
9034 2017-10-02 Tom Tromey <tom@tromey.com>
9036 * gdb.rust/simple.exp: Test index of slice.
9038 2017-09-27 Tom Tromey <tom@tromey.com>
9040 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
9042 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
9043 Pedro Alves <palves@redhat.com>
9045 * gdb.base/compare-sections.exp (get value of read-only section): Read
9047 (corrupt read-only section): Likewise and don't set written if patching
9050 2017-09-21 Kevin Buettner <kevinb@redhat.com>
9052 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
9055 2017-09-20 Pedro Alves <palves@redhat.com>
9057 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
9058 symbol names in gdb's output.
9059 * gdb.cp/overload.exp ("list all overloads"): Likewise.
9061 2017-09-20 Pedro Alves <palves@redhat.com>
9063 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
9065 (test_list_ambiguous_symbol): ... this and add a symbol name
9067 (test_list_ambiguous_function): Reimplement on top of
9068 test_list_ambiguous_symbol and also test listing ambiguous
9070 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
9071 (ambiguous_fun): ... this.
9072 (ambiguous_var): New.
9073 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
9074 (ambiguous_fun): ... this.
9075 (ambiguous_var): New.
9077 2017-09-19 John Baldwin <jhb@FreeBSD.org>
9079 * gdb.base/starti.c: New file.
9080 * gdb.base/starti.exp: New file.
9081 * lib/gdb.exp (gdb_starti_cmd): New procedure.
9083 2017-09-14 Pedro Alves <palves@redhat.com>
9085 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
9086 (top level): Use it instead of runto.
9088 2017-09-11 Tom Tromey <tom@tromey.com>
9090 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
9092 2017-09-11 Tom Tromey <tom@tromey.com>
9094 * gdb.python/py-infthread.exp: Add tests for new_thread event.
9095 * gdb.python/py-inferior.exp: Add tests for new inferior events.
9097 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
9099 * gdb.fortran/printing-types.exp: New file.
9100 * gdb.fortran/printing-types.exp: New file.
9102 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9104 * gdb.fortran/vla-ptype.exp: Fix typos.
9105 * gdb.fortran/vla-value.exp: Same.
9107 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9109 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
9110 * gdb.mi/mi-var-child-f.exp: Likewise.
9111 * gdb.mi/mi-vla-fortran.exp: Likewise.
9113 2017-09-08 Frank Penczek <frank.penczek@intel.com>
9114 Christoph Weinmann <christoph.t.weinmann@intel.com>
9115 Bernhard Heckel <bernhard.heckel@intel.com>
9117 * gdb.fortran/ptr-indentation.f90: New file.
9118 * gdb.fortran/ptr-indentation.exp: New file.
9120 2017-09-05 Tom Tromey <tom@tromey.com>
9123 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
9125 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
9127 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
9129 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9131 * gdb.threads/tls-nodebug-pie.c: New file.
9132 * gdb.threads/tls-nodebug-pie.exp: New file.
9134 2017-09-05 Tom Tromey <tom@tromey.com>
9136 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
9139 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
9141 * gdb.multi/multi-arch-exec.exp: Test with different
9142 "follow-exec-mode" settings.
9143 (do_test): New procedure.
9145 2017-09-04 Pedro Alves <palves@redhat.com>
9147 * gdb.base/func-static.c (S::method const, S::method volatile)
9148 (S::method volatile const): New methods.
9149 (c_s, v_s, cv_s): New instances.
9150 (main): Call method() on them.
9151 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
9152 (cannot_resolve): New procedure.
9153 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
9154 print-quote-unquoted columns.
9155 (do_test): Test printing each scope too.
9157 2017-09-04 Pedro Alves <palves@redhat.com>
9159 * gdb.base/local-static.exp: Also test with
9160 class::method::variable wholly quoted.
9161 * gdb.cp/m-static.exp (class::method::variable): Remove test.
9163 2017-09-04 Pedro Alves <palves@redhat.com>
9165 * gdb.base/local-static.c: New.
9166 * gdb.base/local-static.cc: New.
9167 * gdb.base/local-static.exp: New.
9169 2017-09-04 Pedro Alves <palves@redhat.com>
9171 * gdb.asm/asm-source.exp: Add casts to int.
9172 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
9173 (dataglobal64_1, dataglobal64_2): New globals.
9174 * gdb.base/nodebug.exp: Test different expressions involving the
9175 new globals, with print, whatis and ptype. Add casts to int.
9176 * gdb.base/solib-display.exp: Add casts to int.
9177 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
9178 * gdb.cp/m-static.exp: Add cast to int.
9179 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
9180 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
9181 tls variable with no debug info without a cast. Test with a cast
9183 * gdb.trace/entry-values.exp: Add casts.
9185 2017-09-04 Pedro Alves <palves@redhat.com>
9187 * gdb.base/nodebug.exp: Test that ptype's error about functions
9188 with unknown return type includes the function name too.
9190 2017-09-04 Pedro Alves <palves@redhat.com>
9192 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
9193 return type of munmap in infcall.
9194 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
9195 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
9196 type of ftell in infcall.
9197 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
9198 type of getpid in infcall.
9199 * gdb.base/infcall-exec.exp: Cast return type of execlp in
9201 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
9202 Bail on failure to extract the pid.
9203 * gdb.base/nodebug.c: #include <stdint.h>.
9204 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
9206 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
9207 Change expected output of print/whatis/ptype with functions with
9208 no debug info. Test all supported languages. Call
9209 test_call_promotion.
9210 * gdb.compile/compile.exp: Adjust expected output to expect
9212 * gdb.threads/siginfo-threads.exp: Likewise.
9214 2017-09-04 Pedro Alves <palves@redhat.com>
9216 * gdb.base/callfuncs.exp (do_function_calls): New parameter
9217 "prototypes". Test calling float functions via prototyped and
9218 unprototyped function pointers.
9219 (perform_all_tests): New parameter "prototypes". Pass it down.
9220 (top level): Pass down "prototypes" parameter to
9223 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9225 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
9226 Test with nested loops.
9228 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9230 * gdb.base/commands.exp: Call the new procedures.
9231 (loop_break_test, loop_continue_test): New procedures.
9233 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9235 * gdb.base/commands.exp: Call new procedure.
9236 (define_if_without_arg_test): New procedure.
9238 2017-09-04 Pedro Alves <palves@redhat.com>
9240 * gdb.base/list-ambiguous.exp: New file.
9241 * gdb.base/list-ambiguous0.c: New file.
9242 * gdb.base/list-ambiguous1.c: New file.
9243 * gdb.base/list.exp (test_list_range): Adjust expected output.
9245 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
9247 * gdb.base/share-env-with-gdbserver.c: New file.
9248 * gdb.base/share-env-with-gdbserver.exp: Likewise.
9250 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9252 * gdb.base/commands.exp (gdbvar_simple_if_test,
9253 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
9254 progvar_simple_if_test, progvar_simple_while_test,
9255 progvar_complex_if_while_test, user_defined_command_test,
9256 user_defined_command_args_eval,
9257 user_defined_command_args_stack_test,
9258 user_defined_command_manyargs_test, bp_deleted_in_command_test,
9259 temporary_breakpoint_commands,
9260 gdb_test_no_prompt, redefine_hook_test,
9261 redefine_backtrace_test): Remove "global gdb_prompt".
9263 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9265 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
9266 New proc, call it from toplevel.
9268 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
9271 * gdb.server/normal.c: New file, copied from gdb.base.
9272 * gdb.server/run-without-local-binary.exp: New file.
9274 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
9276 * gdb.arch/sparc64-adi.exp: New file.
9277 * gdb.arch/sparc64-adi.c: New file.
9279 2017-08-22 Pedro Alves <palves@redhat.com>
9281 * gdb.cp/overload.exp (line_range_pattern): New procedure.
9282 (top level): Add "list all overloads" tests.
9284 2017-08-22 Tom Tromey <tom@tromey.com>
9286 * gdb.gdb/xfullpath.exp: Remove.
9288 2017-08-21 Pedro Alves <palves@redhat.com>
9291 * gdb.base/symbol-alias.c: New.
9292 * gdb.base/symbol-alias2.c: New.
9293 * gdb.base/symbol-alias.exp: New.
9295 2017-08-21 Pedro Alves <palves@redhat.com>
9297 * gdb.base/dfp-test.c
9298 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
9299 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
9300 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
9301 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
9302 * gdb.base/whatis-ptype-typedefs.c: New.
9303 * gdb.base/whatis-ptype-typedefs.exp: New.
9304 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
9305 (an_int, an_int_type, an_int_type2): New globals.
9306 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
9307 involving typedefs and cast expressions.
9308 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
9309 (lookup_typedefs_function): New.
9310 (typedefs_pretty_printers_dict): New.
9311 (top level): Register lookup_typedefs_function in
9312 gdb.pretty_printers.
9314 2017-08-18 Yao Qi <yao.qi@linaro.org>
9316 * gdb.server/unittest.exp: New.
9318 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
9321 * gdb.base/environ.exp: Add test to check if 'unset environment'
9324 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9326 * lib/gdb.exp (universal_compile_options): New caching proc.
9327 (gdb_compile): Suppress GCC's coloring of messages.
9329 2017-08-14 Tom Tromey <tom@tromey.com>
9332 * gdb.base/printcmds.exp (test_radices): New function.
9333 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
9334 * gdb.base/sizeof.exp (check_valueof): Use p/d.
9335 * lib/gdb.exp (get_integer_valueof): Use p/d.
9337 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
9339 * lib/gdb.exp (get_valueof): Don't capture end-of-line
9342 2017-08-05 Tom Tromey <tom@tromey.com>
9344 * gdb.rust/simple.exp: Allow String to appear in a different
9347 2017-07-26 Yao Qi <yao.qi@linaro.org>
9349 * gdb.gdb/unittest.exp: Invoke command
9350 "maintenance check xml-descriptions".
9352 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9354 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
9356 (hex128): Drop erroneous calculation of parameters.
9358 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
9360 * gdb.python/py-unwind.exp: Disable stack protection when
9363 2017-07-20 Pedro Alves <palves@redhat.com>
9365 * gdb.base/default.exp (set language): Adjust expected output.
9367 2017-07-20 Pedro Alves <palves@redhat.com>
9369 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
9370 (test_minsym): ... this, and make static.
9371 (get_pck__foo__bar__minsym): Rename to ...
9372 (get_test_minsym): ... this.
9373 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
9374 symbol names and comments.
9375 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
9376 (get_test_minsym): ... this.
9377 (pck__foo__bar__minsym__2): Rename to ...
9378 (test_minsym): ... this.
9381 2017-07-17 Pedro Alves <palves@redhat.com>
9383 * gdb.base/completion.exp: Adjust expected output.
9384 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
9385 the completer works.
9387 2017-07-17 Pedro Alves <palves@redhat.com>
9389 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
9391 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
9393 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
9395 2017-07-14 Tom Tromey <tom@tromey.com>
9398 * gdb.rust/simple.exp: Add tests.
9400 2017-07-14 Tom Tromey <tom@tromey.com>
9402 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
9404 2017-07-14 Pedro Alves <palves@redhat.com>
9406 * gdb.linespec/base/one/thefile.cc (z1): New function.
9407 * gdb.linespec/base/two/thefile.cc (z2): New function.
9408 * gdb.linespec/linespec.exp: Add tests.
9410 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9412 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
9413 to mi_create_breakpoint.
9415 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9417 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
9418 mi_create_breakpoint.
9420 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
9422 * gdb.dlang/demangle.exp: Update for demangling changes.
9424 2017-07-09 Tom Tromey <tom@tromey.com>
9426 * gdb.dwarf2/shortpiece.exp: New file.
9428 2017-07-06 David Blaikie <dblaikie@gmail.com>
9430 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
9431 built from fissiont-multi-cu{1,2}.c.
9432 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
9433 except putting 'main' and 'func' in separate CUs in the same DWO file.
9434 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
9436 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
9439 2017-07-06 Pedro Alves <palves@redhat.com>
9441 * gdb.python/py-unwind.exp: Test flushregs.
9443 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9446 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
9447 tests for alias commands and trailing whitespace.
9449 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9452 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
9455 2017-06-29 Pedro Alves <palves@redhat.com>
9457 * gdb.base/printcmds.exp: Add tests.
9459 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
9462 * gdb.base/reread-readsym.exp: New file.
9463 * gdb.base/reread-readsym.c: New file.
9465 2017-06-21 Kevin Buettner <kevinb@redhat.com>
9467 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
9470 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
9472 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
9474 * gdb.arch/powerpc-power9.s: Likewise.
9476 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9478 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
9479 on 32-bit x86 targets. Exploit is_*_target macros where
9482 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9484 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
9487 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9489 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
9490 located in one or more DWARF pieces.
9492 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9494 * lib/gdb.exp (get_endianness): New proc.
9495 * gdb.arch/aarch64-fp.exp: Use it.
9496 * gdb.arch/altivec-regs.exp: Likewise.
9497 * gdb.arch/e500-regs.exp: Likewise.
9498 * gdb.arch/vsx-regs.exp: Likewise.
9499 * gdb.base/dump.exp: Likewise.
9500 * gdb.base/funcargs.exp: Likewise.
9501 * gdb.base/gnu_vector.exp: Likewise.
9502 * gdb.dwarf2/formdata16.exp: Likewise.
9503 * gdb.dwarf2/implptrpiece.exp: Likewise.
9504 * gdb.dwarf2/nonvar-access.exp: Likewise.
9505 * gdb.python/py-inferior.exp: Likewise.
9506 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9508 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9511 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
9512 stack value pieces are taken from the LSB end.
9514 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9516 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
9517 variable at nonzero offset.
9519 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9521 * gdb.dwarf2/var-access.c: New file.
9522 * gdb.dwarf2/var-access.exp: New test.
9523 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
9525 2017-06-12 Tom Tromey <tom@tromey.com>
9527 * gdb.dwarf2/formdata16.exp: Add tests.
9529 2017-06-12 Tom Tromey <tom@tromey.com>
9531 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
9533 2017-06-12 Tom Tromey <tom@tromey.com>
9536 * gdb.reverse/i386-sse-reverse.exp: Update tests.
9537 * gdb.arch/vsx-regs.exp: Update tests.
9538 * gdb.arch/s390-vregs.exp (hex128): New proc.
9540 * gdb.arch/altivec-regs.exp: Update tests.
9542 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9544 * gdb.base/startup-with-shell.c: New file.
9545 * gdb.base/startup-with-shell.exp: Likewise.
9547 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9549 * gdb.server/non-existing-program.exp: Update regex in order to
9550 reflect the fact that gdbserver is now using fork_inferior (with a
9551 shell) to startup the inferior.
9553 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
9555 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
9556 support function calls from GDB.
9558 2017-05-21 Tom Tromey <tom@tromey.com>
9561 * gdb.rust/unsized.exp: New file.
9562 * gdb.rust/unsized.rs: New file.
9564 2017-05-19 Tom Tromey <tom@tromey.com>
9567 * gdb.rust/watch.exp: New file.
9568 * gdb.rust/watch.rs: New file.
9570 2017-05-18 Tom Tromey <tom@tromey.com>
9572 * gdb.rust/simple.exp: Allow Box to be qualified.
9574 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
9576 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
9578 2017-05-18 Pedro Alves <palves@redhat.com>
9580 * gdb.base/fileio.c (test_write, test_read, test_close)
9581 (test_fstat): Don't print 'ret' in the fail path.
9583 2017-05-18 Pedro Alves <palves@redhat.com>
9585 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
9586 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
9587 (test_system, test_rename, test_unlink, test_time): Change
9589 * gdb.base/fileio.exp (stop_msg): Adjust.
9591 2017-05-18 Pedro Alves <palves@redhat.com>
9593 * gdb.base/fileio.c (null_str): New global.
9594 (test_stat): Use it.
9595 * gdb.base/fileio.exp: Remove nowarnings.
9597 2017-05-17 Yao Qi <yao.qi@linaro.org>
9599 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
9601 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
9603 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
9605 (top-level): Invoke test_set_inferior_tty.
9607 2017-05-04 Pedro Alves <palves@redhat.com>
9609 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
9610 Add parens to print call for Python 3.
9612 2017-05-03 Keith Seitz <keiths@redhat.com>
9614 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
9617 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9619 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
9622 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9624 * gdb.python/py-record-btrace.exp: Remove test for
9625 gdb.BtraceInstruction.error.
9627 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9629 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
9631 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9633 * gdb.python/py-record-btrace-threads.c: New file.
9634 * gdb.python/py-record-btrace-threads.exp: New file.
9636 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
9639 * gdb.base/environ.exp: Make test available in all architectures.
9640 Move bits related to "info program" testing to
9641 gdb.base/info-program.exp. Rewrite tests to use the two new
9642 procedures mentione below.
9643 (test_set_show_env_var) New procedure.
9644 (test_set_show_env_var_equal): Likewise.
9645 * gdb.base/info-program.exp: New file.
9647 2017-04-27 Keith Seitz <keiths@redhat.com>
9649 * gdb.cp/oranking.cc (test15): New function.
9650 (main): Call test15 and declare additional variables for testing.
9651 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
9652 "p foo101('abc')" tests.
9653 Add tests for cv qualifier overloads.
9654 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
9655 "lvalue reference overload" test.
9656 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
9657 "print value of f1 on Child&& in f2" test.
9659 2017-04-19 Pedro Alves <palves@redhat.com>
9661 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
9663 (top level): Call it.
9664 * lib/gdb.exp (gdb_define_cmd): New procedure.
9666 2017-04-12 Pedro Alves <palves@redhat.com>
9669 * gdb.cp/wide_char_types.c: Include <wchar.h>.
9670 (wchar): New global.
9671 * gdb.cp/wide_char_types.exp (wide_char_types_program)
9672 (do_test_wide_char, wide_char_types_no_program, top level): Add
9675 2017-04-12 Pedro Alves <palves@redhat.com>
9678 * gdb.cp/wide_char_types.c: New file.
9679 * gdb.cp/wide_char_types.exp: New file.
9681 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
9684 * gdb.trace/tsv.exp: Add test for "tsave -r".
9686 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
9688 * gdb.dlang/watch-loc.c: New file.
9689 * gdb.dlang/watch-loc.exp: New file.
9691 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9693 * gdb.python/py-section-script.exp (sepdebug): New testcases.
9695 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9697 * gdb.arch/arc-analyze-prologue.S: New file.
9698 * gdb.arch/arc-analyze-prologue.exp: Likewise.
9700 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9702 * gdb.arch/arc-decode-insn.S: New file.
9703 * gdb.arch/arc-decode-insn.exp: Likewise.
9705 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
9708 * gdb.arch/sparc64-regs.exp: New file.
9709 * gdb.arch/sparc64-regs.S: Likewise.
9711 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
9713 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
9714 and memory view on Python 3.
9716 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
9717 Keith Seitz <keiths@redhat.com>
9720 * gdb.cp/demangle.exp: Add rvalue reference tests.
9721 * gdb.cp/rvalue-ref-casts.cc: New file.
9722 * gdb.cp/rvalue-ref-casts.exp: New file.
9723 * gdb.cp/rvalue-ref-overload.cc: New file.
9724 * gdb.cp/rvalue-ref-overload.exp: New file.
9725 * gdb.cp/rvalue-ref-params.cc: New file.
9726 * gdb.cp/rvalue-ref-params.exp: New file.
9727 * gdb.cp/rvalue-ref-sizeof.cc: New file.
9728 * gdb.cp/rvalue-ref-sizeof.exp: New file.
9729 * gdb.cp/rvalue-ref-types.cc: New file.
9730 * gdb.cp/rvalue-ref-types.exp: New file.
9731 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
9732 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
9734 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9736 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
9739 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9741 * lib/mi-support.exp (mi_gdb_test): Add additional message
9742 for unexpected output.
9744 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9746 * gdb.base/examine-backward.c (Barrier): New character array
9747 constant, to ensure that TestStrings is preceded by a string
9750 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9752 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
9753 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
9754 and implicit pointer into such a location.
9756 2017-03-16 Doug Evans <dje@google.com>
9758 * gdb.python/py-lazy-string (pointer): Really add new typedef.
9760 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
9762 * gdb.cp/m-static.exp: Fix expectation for prototype of
9763 test5.single_constructor and single_constructor::single_constructor.
9765 2017-03-16 Doug Evans <dje@google.com>
9767 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
9768 * gdb.guile/scm-lazy-string.c: New file.
9769 * gdb.guile/scm-value.exp: Move lazy string tests to ...
9770 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
9771 for pointer, array, typedef lazy strings.
9773 2017-03-16 Doug Evans <dje@google.com>
9775 PR python/17728, python/18439, python/18779
9776 * gdb.python/py-value.c (main) Delete locals sptr, sn.
9777 * gdb.python/py-lazy-string.c (pointer): New typedef.
9778 (main): New locals ptr, array, typedef_ptr.
9779 * gdb.python/py-value.exp: Move lazy string tests to ...
9780 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
9781 array, typedef lazy strings.
9783 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
9785 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
9786 Add optional 'test' parameter.
9788 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9790 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9791 Skip for versions of DejaGnu < 1.5.
9793 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9795 * lib/gdb.exp (dejagnu_version): New proc.
9796 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9797 Use dejagnu_version.
9799 2017-03-10 Keith Seitz <keiths@redhat.com>
9802 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
9803 type from destructor regexps.
9804 Add a branch which actually passes the test.
9805 Adjust "ptype t5i" test names.
9807 2017-03-08 Pedro Alves <palves@redhat.com>
9809 * gdb.base/step-over-exit.exp: Add explicit test message.
9811 2017-03-08 Pedro Alves <palves@redhat.com>
9814 * gdb.threads/interrupt-while-step-over.c: New file.
9815 * gdb.threads/interrupt-while-step-over.exp: New file.
9817 2017-03-08 Pedro Alves <palves@redhat.com>
9819 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
9820 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
9822 2017-03-08 Pedro Alves <palves@redhat.com>
9824 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
9825 PKRU as not supported as a PASS.
9827 2017-03-08 Pedro Alves <palves@redhat.com>
9829 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
9830 prefix instead of $binfile1/$binfile2.
9831 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
9833 * gdb.python/py-completion.exp: Use "load python file" as test
9834 messages instead of unstable path names.
9836 2017-03-08 Pedro Alves <palves@redhat.com>
9837 Jan Kratochvil <jan.kratochvil@redhat.com>
9840 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9842 (top level): Call it.
9844 2017-03-08 Pedro Alves <palves@redhat.com>
9847 * gdb.tui/tui-nl-filtered-output.exp: New file.
9849 2017-03-08 Pedro Alves <palves@redhat.com>
9851 * gdb.base/completion.exp: Move TUI completion tests to ...
9852 * gdb.tui/completion.exp: ... this new file.
9854 2017-03-08 Pedro Alves <palves@redhat.com>
9856 * gdb.base/tui-disasm-long-lines.c,
9857 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
9858 gdb.base/tui-layout.exp: Move to ...
9859 * gdb.tui/: ... this new directory.
9861 2017-03-07 Pedro Alves <palves@redhat.com>
9863 * gdb.base/tui-layout.c: New file.
9864 * gdb.base/tui-layout.exp: New file.
9866 2017-03-07 Pedro Alves <palves@redhat.com>
9868 * gdb.base/tui-layout.c: Rename to ...
9869 * gdb.base/tui-disasm-long-lines.c: ... this.
9870 * gdb.base/tui-layout.exp: Rename to ...
9871 * gdb.base/tui-disasm-long-lines.exp: ... this.
9873 2017-03-07 Pedro Alves <palves@redhat.com>
9875 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
9877 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9879 * i386-mpx-call.c: New file.
9880 * i386-mpx-call.exp: New file.
9882 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
9884 * gdb.arch/powerpc-power.exp: Delete test.
9885 * gdb.arch/powerpc-power.s: Likewise.
9886 * gdb.disasm/disassembler-options.exp: New test.
9887 * gdb.arch/powerpc-altivec.exp: Likewise.
9888 * gdb.arch/powerpc-altivec.s: Likewise.
9889 * gdb.arch/powerpc-altivec2.exp: Likewise.
9890 * gdb.arch/powerpc-altivec2.s: Likewise.
9891 * gdb.arch/powerpc-altivec3.exp: Likewise.
9892 * gdb.arch/powerpc-altivec3.s: Likewise.
9893 * gdb.arch/powerpc-power7.exp: Likewise.
9894 * gdb.arch/powerpc-power7.s: Likewise.
9895 * gdb.arch/powerpc-power8.exp: Likewise.
9896 * gdb.arch/powerpc-power8.s: Likewise.
9897 * gdb.arch/powerpc-power9.exp: Likewise.
9898 * gdb.arch/powerpc-power9.s: Likewise.
9899 * gdb.arch/powerpc-vsx.exp: Likewise.
9900 * gdb.arch/powerpc-vsx.s: Likewise.
9901 * gdb.arch/powerpc-vsx2.exp: Likewise.
9902 * gdb.arch/powerpc-vsx2.s: Likewise.
9903 * gdb.arch/powerpc-vsx3.exp: Likewise.
9904 * gdb.arch/powerpc-vsx3.s: Likewise.
9905 * gdb.arch/arm-disassembler-options.exp: Likewise.
9906 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
9907 * gdb.arch/s390-disassembler-options.exp: Likewise.
9909 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
9911 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
9912 (check_supported_features): ... this. Changed return type to void.
9913 (supports_rdseed): New static global.
9914 (rdseed): Check supports_rdseed.
9915 (initialize): Call check_supported_features.
9917 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9919 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
9920 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
9922 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
9923 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
9925 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9927 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
9930 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9932 * gdb.dwarf2/formdata16.c: New file.
9933 * gdb.dwarf2/formdata16.exp: New file.
9934 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
9936 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9938 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
9939 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
9940 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
9941 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
9944 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9946 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
9948 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
9951 * gdb.base/maint.exp: Add testcases for when the commands do
9954 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
9956 * gdb.cp/chained-calls.exp: Use p instead of P.
9958 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
9960 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
9961 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
9963 2017-02-14 Tom Tromey <tom@tromey.com>
9966 * gdb.python/py-events.exp: Add before_prompt event tests.
9968 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9970 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
9972 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
9974 * gdb.linespec/explicit.c (my_unique_function_name): New function.
9975 (main): Call my_unique_function_name.
9976 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
9977 completion of patterns with a single match.
9978 Add missing -re switches to gdb_test_multiple calls.
9980 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
9982 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
9983 return if core file is not recognized.
9985 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9987 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
9990 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9992 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
9995 2017-02-10 Tom Tromey <tom@tromey.com>
9997 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
9999 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
10002 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
10004 2017-02-08 Jerome Guitton <guitton@adacore.com>
10006 * gdb.base/define.exp: Add test for command abbreviations
10009 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
10011 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
10012 * gdb.reverse/insn-reverse-x86.c: New file.
10014 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10017 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
10019 2017-02-03 Tom Tromey <tom@tromey.com>
10022 * gdb.rust/simple.exp: Add new tests.
10024 2017-02-02 Pedro Alves <palves@redhat.com>
10026 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
10029 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10031 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
10032 taking a 2-byte value out of a 4-byte DWARF implicit value on
10033 big-endian targets.
10034 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
10035 logic. Add test cases for DW_OP_implicit.
10037 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10039 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
10041 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10043 * gdb.btrace/enable.exp: Call gdb_exit before
10044 skip_gdbserver_tests.
10046 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10048 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
10051 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10053 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
10054 the test is skipped.
10055 * gdb.btrace/data.exp: Likewise.
10056 * gdb.btrace/delta.exp: Likewise.
10057 * gdb.btrace/dlopen.exp: Likewise.
10058 * gdb.btrace/enable-running.exp: Likewise.
10059 * gdb.btrace/enable.exp: Likewise.
10060 * gdb.btrace/exception.exp: Likewise.
10061 * gdb.btrace/function_call_history.exp: Likewise.
10062 * gdb.btrace/gcore.exp: Likewise.
10063 * gdb.btrace/instruction_history.exp: Likewise.
10064 * gdb.btrace/multi-thread-step.exp: Likewise.
10065 * gdb.btrace/nohist.exp: Likewise.
10066 * gdb.btrace/non-stop.exp: Likewise.
10067 * gdb.btrace/reconnect.exp: Likewise.
10068 * gdb.btrace/record_goto-step.exp: Likewise.
10069 * gdb.btrace/record_goto.exp: Likewise.
10070 * gdb.btrace/rn-dl-bind.exp: Likewise.
10071 * gdb.btrace/segv.exp: Likewise.
10072 * gdb.btrace/step.exp: Likewise.
10073 * gdb.btrace/stepi.exp: Likewise.
10074 * gdb.btrace/tailcall-only.exp: Likewise.
10075 * gdb.btrace/tailcall.exp: Likewise.
10076 * gdb.btrace/tsx.exp: Likewise.
10077 * gdb.btrace/unknown_functions.exp: Likewise.
10078 * gdb.btrace/vdso.exp: Likewise.
10080 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10082 * gdb.btrace/enable-running.c: New.
10083 * gdb.btrace/enable-running.exp: New.
10085 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
10087 * gdb.arch/amd64-gs_base.c: New file.
10088 * gdb.arch/amd64-gs_base.exp: New file.
10090 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
10092 * lib/memory.exp: Remove spurious empty newlines.
10094 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
10096 * gdb.python/py-bad-printers.exp: Load python file using "source".
10097 * gdb.python/py-events.exp: Likewise.
10098 * gdb.python/py-evsignal.exp: Likewise.
10099 * gdb.python/py-evthreads.exp: Likewise.
10100 * gdb.python/py-frame-args.exp: Likewise.
10101 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
10102 * gdb.python/py-framefilter-mi.exp: Likewise.
10103 * gdb.python/py-framefilter.exp: Likewise.
10104 * gdb.python/py-mi.exp: Likewise.
10105 * gdb.python/py-pp-maint.exp: Likewise.
10106 * gdb.python/py-pp-registration.exp: Likewise.
10107 * gdb.python/py-prettyprint.exp: Likewise.
10108 (run_lang_tests): Likewise.
10109 * gdb.python/py-typeprint.exp: Likewise.
10111 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
10113 * lib/memory.exp: New file.
10114 * lib/gdb.exp: Load memory.exp.
10115 * gdb.base/memattr.exp (delete_memory): Move proc to
10116 lib/memory.exp and rename to delete_memory_regions.
10117 Replace delete_memory with delete_memory_regions.
10118 Cleanup memory regions before tests.
10119 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
10122 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
10124 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
10126 (initialize): New function conditionally defined.
10127 (testcases): Move within conditional block.
10128 (main): Call initialize.
10129 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
10130 of gdb.reverse/insn-reverse.c.
10131 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
10132 gdb.reverse/insn-reverse.c.
10134 2017-01-26 Yao Qi <yao.qi@linaro.org>
10136 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
10137 disassemble on address 0.
10139 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
10140 Yao Qi <yao.qi@linaro.org>
10142 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
10143 * gdb.dwarf2/implptr-64bit.S: Remove.
10144 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
10145 variables in caller's context. Add DW_OP_implicit_value.
10147 2017-01-25 Yao Qi <yao.qi@linaro.org>
10149 * lib/dwarf.exp (Dwarf::_location): Handle
10150 DW_OP_GNU_implicit_pointer with proper size.
10152 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
10154 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
10155 and add untested calls.
10157 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
10159 * gdb.python/python.exp: Check line number against what GDB thinks
10160 the line number is for func1.
10162 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
10164 * gdb.dlang/debug-expr.exp: New file.
10166 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
10168 Fix test names for the following files:
10170 * gdb.ada/exec_changed.exp
10171 * gdb.ada/info_types.exp
10172 * gdb.arch/aarch64-atomic-inst.exp
10173 * gdb.arch/aarch64-fp.exp
10174 * gdb.arch/altivec-abi.exp
10175 * gdb.arch/altivec-regs.exp
10176 * gdb.arch/amd64-byte.exp
10177 * gdb.arch/amd64-disp-step.exp
10178 * gdb.arch/amd64-dword.exp
10179 * gdb.arch/amd64-entry-value-inline.exp
10180 * gdb.arch/amd64-entry-value-param.exp
10181 * gdb.arch/amd64-entry-value-paramref.exp
10182 * gdb.arch/amd64-entry-value.exp
10183 * gdb.arch/amd64-i386-address.exp
10184 * gdb.arch/amd64-invalid-stack-middle.exp
10185 * gdb.arch/amd64-invalid-stack-top.exp
10186 * gdb.arch/amd64-optimout-repeat.exp
10187 * gdb.arch/amd64-prologue-skip.exp
10188 * gdb.arch/amd64-prologue-xmm.exp
10189 * gdb.arch/amd64-stap-special-operands.exp
10190 * gdb.arch/amd64-stap-wrong-subexp.exp
10191 * gdb.arch/amd64-tailcall-cxx.exp
10192 * gdb.arch/amd64-tailcall-noret.exp
10193 * gdb.arch/amd64-tailcall-ret.exp
10194 * gdb.arch/amd64-tailcall-self.exp
10195 * gdb.arch/amd64-word.exp
10196 * gdb.arch/arm-bl-branch-dest.exp
10197 * gdb.arch/arm-disp-step.exp
10198 * gdb.arch/arm-neon.exp
10199 * gdb.arch/arm-single-step-kernel-helper.exp
10200 * gdb.arch/avr-flash-qualifier.exp
10201 * gdb.arch/disp-step-insn-reloc.exp
10202 * gdb.arch/e500-abi.exp
10203 * gdb.arch/e500-regs.exp
10204 * gdb.arch/ftrace-insn-reloc.exp
10205 * gdb.arch/i386-avx512.exp
10206 * gdb.arch/i386-bp_permanent.exp
10207 * gdb.arch/i386-byte.exp
10208 * gdb.arch/i386-cfi-notcurrent.exp
10209 * gdb.arch/i386-disp-step.exp
10210 * gdb.arch/i386-dr3-watch.exp
10211 * gdb.arch/i386-float.exp
10212 * gdb.arch/i386-gnu-cfi.exp
10213 * gdb.arch/i386-mpx-map.exp
10214 * gdb.arch/i386-mpx-sigsegv.exp
10215 * gdb.arch/i386-mpx-simple_segv.exp
10216 * gdb.arch/i386-mpx.exp
10217 * gdb.arch/i386-permbkpt.exp
10218 * gdb.arch/i386-prologue.exp
10219 * gdb.arch/i386-signal.exp
10220 * gdb.arch/i386-size-overlap.exp
10221 * gdb.arch/i386-unwind.exp
10222 * gdb.arch/i386-word.exp
10223 * gdb.arch/mips-fcr.exp
10224 * gdb.arch/powerpc-d128-regs.exp
10225 * gdb.arch/powerpc-stackless.exp
10226 * gdb.arch/ppc64-atomic-inst.exp
10227 * gdb.arch/s390-stackless.exp
10228 * gdb.arch/s390-tdbregs.exp
10229 * gdb.arch/s390-vregs.exp
10230 * gdb.arch/sparc-sysstep.exp
10231 * gdb.arch/thumb-bx-pc.exp
10232 * gdb.arch/thumb-singlestep.exp
10233 * gdb.arch/thumb2-it.exp
10234 * gdb.arch/vsx-regs.exp
10235 * gdb.asm/asm-source.exp
10236 * gdb.base/a2-run.exp
10237 * gdb.base/advance.exp
10238 * gdb.base/all-bin.exp
10239 * gdb.base/anon.exp
10240 * gdb.base/args.exp
10241 * gdb.base/arithmet.exp
10242 * gdb.base/async-shell.exp
10243 * gdb.base/async.exp
10244 * gdb.base/attach-pie-noexec.exp
10245 * gdb.base/attach-twice.exp
10246 * gdb.base/auto-load.exp
10247 * gdb.base/bang.exp
10248 * gdb.base/bitfields.exp
10249 * gdb.base/break-always.exp
10250 * gdb.base/break-caller-line.exp
10251 * gdb.base/break-entry.exp
10252 * gdb.base/break-inline.exp
10253 * gdb.base/break-on-linker-gcd-function.exp
10254 * gdb.base/break-probes.exp
10255 * gdb.base/break.exp
10256 * gdb.base/breakpoint-shadow.exp
10257 * gdb.base/call-ar-st.exp
10258 * gdb.base/call-sc.exp
10259 * gdb.base/call-signal-resume.exp
10260 * gdb.base/call-strs.exp
10261 * gdb.base/callfuncs.exp
10262 * gdb.base/catch-fork-static.exp
10263 * gdb.base/catch-gdb-caused-signals.exp
10264 * gdb.base/catch-load.exp
10265 * gdb.base/catch-signal-fork.exp
10266 * gdb.base/catch-signal.exp
10267 * gdb.base/catch-syscall.exp
10268 * gdb.base/charset.exp
10269 * gdb.base/checkpoint.exp
10270 * gdb.base/chng-syms.exp
10271 * gdb.base/code-expr.exp
10272 * gdb.base/code_elim.exp
10273 * gdb.base/commands.exp
10274 * gdb.base/completion.exp
10275 * gdb.base/complex.exp
10276 * gdb.base/cond-expr.exp
10277 * gdb.base/condbreak.exp
10278 * gdb.base/consecutive.exp
10279 * gdb.base/continue-all-already-running.exp
10280 * gdb.base/coredump-filter.exp
10281 * gdb.base/corefile.exp
10283 * gdb.base/debug-expr.exp
10284 * gdb.base/define.exp
10286 * gdb.base/disabled-location.exp
10287 * gdb.base/disasm-end-cu.exp
10288 * gdb.base/disasm-optim.exp
10289 * gdb.base/display.exp
10290 * gdb.base/duplicate-bp.exp
10291 * gdb.base/ena-dis-br.exp
10292 * gdb.base/ending-run.exp
10293 * gdb.base/enumval.exp
10294 * gdb.base/environ.exp
10295 * gdb.base/eu-strip-infcall.exp
10296 * gdb.base/eval-avoid-side-effects.exp
10297 * gdb.base/eval-skip.exp
10298 * gdb.base/exitsignal.exp
10299 * gdb.base/expand-psymtabs.exp
10300 * gdb.base/filesym.exp
10301 * gdb.base/find-unmapped.exp
10302 * gdb.base/finish.exp
10303 * gdb.base/float.exp
10304 * gdb.base/foll-exec-mode.exp
10305 * gdb.base/foll-exec.exp
10306 * gdb.base/foll-fork.exp
10307 * gdb.base/fortran-sym-case.exp
10308 * gdb.base/freebpcmd.exp
10309 * gdb.base/func-ptr.exp
10310 * gdb.base/func-ptrs.exp
10311 * gdb.base/funcargs.exp
10312 * gdb.base/gcore-buffer-overflow.exp
10313 * gdb.base/gcore-relro-pie.exp
10314 * gdb.base/gcore-relro.exp
10315 * gdb.base/gcore.exp
10316 * gdb.base/gdb1090.exp
10317 * gdb.base/gdb11530.exp
10318 * gdb.base/gdb11531.exp
10319 * gdb.base/gdb1821.exp
10320 * gdb.base/gdbindex-stabs.exp
10321 * gdb.base/gdbvars.exp
10322 * gdb.base/hbreak.exp
10323 * gdb.base/hbreak2.exp
10324 * gdb.base/included.exp
10325 * gdb.base/infcall-input.exp
10326 * gdb.base/inferior-died.exp
10327 * gdb.base/infnan.exp
10328 * gdb.base/info-macros.exp
10329 * gdb.base/info-os.exp
10330 * gdb.base/info-proc.exp
10331 * gdb.base/info-shared.exp
10332 * gdb.base/info-target.exp
10333 * gdb.base/infoline.exp
10334 * gdb.base/interp.exp
10335 * gdb.base/interrupt.exp
10336 * gdb.base/jit-reader.exp
10337 * gdb.base/jit-simple.exp
10338 * gdb.base/kill-after-signal.exp
10339 * gdb.base/kill-detach-inferiors-cmd.exp
10340 * gdb.base/label.exp
10341 * gdb.base/langs.exp
10342 * gdb.base/ldbl_e308.exp
10343 * gdb.base/line-symtabs.exp
10344 * gdb.base/linespecs.exp
10345 * gdb.base/list.exp
10346 * gdb.base/long_long.exp
10347 * gdb.base/longest-types.exp
10348 * gdb.base/maint.exp
10349 * gdb.base/max-value-size.exp
10350 * gdb.base/memattr.exp
10351 * gdb.base/mips_pro.exp
10352 * gdb.base/morestack.exp
10353 * gdb.base/moribund-step.exp
10354 * gdb.base/multi-forks.exp
10355 * gdb.base/nested-addr.exp
10356 * gdb.base/nextoverexit.exp
10357 * gdb.base/noreturn-finish.exp
10358 * gdb.base/noreturn-return.exp
10359 * gdb.base/nostdlib.exp
10360 * gdb.base/offsets.exp
10361 * gdb.base/opaque.exp
10362 * gdb.base/pc-fp.exp
10363 * gdb.base/permissions.exp
10364 * gdb.base/print-symbol-loading.exp
10365 * gdb.base/prologue-include.exp
10366 * gdb.base/psymtab.exp
10367 * gdb.base/ptype.exp
10368 * gdb.base/random-signal.exp
10369 * gdb.base/randomize.exp
10370 * gdb.base/range-stepping.exp
10371 * gdb.base/readline-ask.exp
10372 * gdb.base/recpar.exp
10373 * gdb.base/recurse.exp
10374 * gdb.base/relational.exp
10375 * gdb.base/restore.exp
10376 * gdb.base/return-nodebug.exp
10377 * gdb.base/return.exp
10378 * gdb.base/run-after-attach.exp
10379 * gdb.base/save-bp.exp
10380 * gdb.base/scope.exp
10381 * gdb.base/sect-cmd.exp
10382 * gdb.base/set-lang-auto.exp
10383 * gdb.base/set-noassign.exp
10384 * gdb.base/setvar.exp
10385 * gdb.base/sigall.exp
10386 * gdb.base/sigbpt.exp
10387 * gdb.base/siginfo-addr.exp
10388 * gdb.base/siginfo-infcall.exp
10389 * gdb.base/siginfo-obj.exp
10390 * gdb.base/siginfo.exp
10391 * gdb.base/signals-state-child.exp
10392 * gdb.base/signest.exp
10393 * gdb.base/sigstep.exp
10394 * gdb.base/sizeof.exp
10395 * gdb.base/skip.exp
10396 * gdb.base/solib-corrupted.exp
10397 * gdb.base/solib-nodir.exp
10398 * gdb.base/solib-search.exp
10399 * gdb.base/stack-checking.exp
10400 * gdb.base/stale-infcall.exp
10401 * gdb.base/stap-probe.exp
10402 * gdb.base/start.exp
10403 * gdb.base/step-break.exp
10404 * gdb.base/step-bt.exp
10405 * gdb.base/step-line.exp
10406 * gdb.base/step-over-exit.exp
10407 * gdb.base/step-over-syscall.exp
10408 * gdb.base/step-resume-infcall.exp
10409 * gdb.base/step-test.exp
10410 * gdb.base/store.exp
10411 * gdb.base/structs3.exp
10412 * gdb.base/sym-file.exp
10413 * gdb.base/symbol-without-target_section.exp
10414 * gdb.base/term.exp
10415 * gdb.base/testenv.exp
10416 * gdb.base/ui-redirect.exp
10417 * gdb.base/until.exp
10418 * gdb.base/unwindonsignal.exp
10419 * gdb.base/value-double-free.exp
10420 * gdb.base/vla-datatypes.exp
10421 * gdb.base/vla-ptr.exp
10422 * gdb.base/vla-sideeffect.exp
10423 * gdb.base/volatile.exp
10424 * gdb.base/watch-cond-infcall.exp
10425 * gdb.base/watch-cond.exp
10426 * gdb.base/watch-non-mem.exp
10427 * gdb.base/watch-read.exp
10428 * gdb.base/watch-vfork.exp
10429 * gdb.base/watchpoint-cond-gone.exp
10430 * gdb.base/watchpoint-delete.exp
10431 * gdb.base/watchpoint-hw-hit-once.exp
10432 * gdb.base/watchpoint-hw.exp
10433 * gdb.base/watchpoint-stops-at-right-insn.exp
10434 * gdb.base/watchpoints.exp
10435 * gdb.base/wchar.exp
10436 * gdb.base/whatis-exp.exp
10437 * gdb.btrace/buffer-size.exp
10438 * gdb.btrace/data.exp
10439 * gdb.btrace/delta.exp
10440 * gdb.btrace/dlopen.exp
10441 * gdb.btrace/enable.exp
10442 * gdb.btrace/exception.exp
10443 * gdb.btrace/function_call_history.exp
10444 * gdb.btrace/gcore.exp
10445 * gdb.btrace/instruction_history.exp
10446 * gdb.btrace/nohist.exp
10447 * gdb.btrace/reconnect.exp
10448 * gdb.btrace/record_goto-step.exp
10449 * gdb.btrace/record_goto.exp
10450 * gdb.btrace/rn-dl-bind.exp
10451 * gdb.btrace/segv.exp
10452 * gdb.btrace/step.exp
10453 * gdb.btrace/stepi.exp
10454 * gdb.btrace/tailcall-only.exp
10455 * gdb.btrace/tailcall.exp
10456 * gdb.btrace/tsx.exp
10457 * gdb.btrace/unknown_functions.exp
10458 * gdb.btrace/vdso.exp
10459 * gdb.compile/compile-ifunc.exp
10460 * gdb.compile/compile-ops.exp
10461 * gdb.compile/compile-print.exp
10462 * gdb.compile/compile-setjmp.exp
10463 * gdb.cp/abstract-origin.exp
10464 * gdb.cp/ambiguous.exp
10465 * gdb.cp/annota2.exp
10466 * gdb.cp/annota3.exp
10467 * gdb.cp/anon-ns.exp
10468 * gdb.cp/anon-struct.exp
10469 * gdb.cp/anon-union.exp
10470 * gdb.cp/arg-reference.exp
10471 * gdb.cp/baseenum.exp
10473 * gdb.cp/breakpoint.exp
10474 * gdb.cp/bs15503.exp
10475 * gdb.cp/call-c.exp
10477 * gdb.cp/chained-calls.exp
10478 * gdb.cp/class2.exp
10479 * gdb.cp/classes.exp
10480 * gdb.cp/cmpd-minsyms.exp
10481 * gdb.cp/converts.exp
10482 * gdb.cp/cp-relocate.exp
10483 * gdb.cp/cpcompletion.exp
10484 * gdb.cp/cpexprs.exp
10485 * gdb.cp/cplabel.exp
10486 * gdb.cp/cplusfuncs.exp
10487 * gdb.cp/cpsizeof.exp
10489 * gdb.cp/derivation.exp
10490 * gdb.cp/destrprint.exp
10491 * gdb.cp/dispcxx.exp
10492 * gdb.cp/enum-class.exp
10493 * gdb.cp/exception.exp
10494 * gdb.cp/exceptprint.exp
10495 * gdb.cp/expand-psymtabs-cxx.exp
10496 * gdb.cp/expand-sals.exp
10497 * gdb.cp/extern-c.exp
10498 * gdb.cp/filename.exp
10499 * gdb.cp/formatted-ref.exp
10500 * gdb.cp/fpointer.exp
10501 * gdb.cp/gdb1355.exp
10502 * gdb.cp/gdb2495.exp
10504 * gdb.cp/impl-this.exp
10505 * gdb.cp/infcall-dlopen.exp
10506 * gdb.cp/inherit.exp
10507 * gdb.cp/iostream.exp
10508 * gdb.cp/koenig.exp
10510 * gdb.cp/m-data.exp
10511 * gdb.cp/m-static.exp
10512 * gdb.cp/mb-ctor.exp
10513 * gdb.cp/mb-inline.exp
10514 * gdb.cp/mb-templates.exp
10515 * gdb.cp/member-name.exp
10516 * gdb.cp/member-ptr.exp
10517 * gdb.cp/meth-typedefs.exp
10518 * gdb.cp/method.exp
10519 * gdb.cp/method2.exp
10520 * gdb.cp/minsym-fallback.exp
10522 * gdb.cp/namelessclass.exp
10523 * gdb.cp/namespace-enum.exp
10524 * gdb.cp/namespace-nested-import.exp
10525 * gdb.cp/namespace.exp
10526 * gdb.cp/nextoverthrow.exp
10527 * gdb.cp/no-dmgl-verbose.exp
10528 * gdb.cp/non-trivial-retval.exp
10529 * gdb.cp/noparam.exp
10530 * gdb.cp/nsdecl.exp
10531 * gdb.cp/nsimport.exp
10532 * gdb.cp/nsnested.exp
10533 * gdb.cp/nsnoimports.exp
10534 * gdb.cp/nsrecurs.exp
10535 * gdb.cp/nsstress.exp
10536 * gdb.cp/nsusing.exp
10537 * gdb.cp/operator.exp
10538 * gdb.cp/oranking.exp
10539 * gdb.cp/overload-const.exp
10540 * gdb.cp/overload.exp
10541 * gdb.cp/ovldbreak.exp
10542 * gdb.cp/ovsrch.exp
10543 * gdb.cp/paren-type.exp
10544 * gdb.cp/parse-lang.exp
10545 * gdb.cp/pass-by-ref.exp
10546 * gdb.cp/pr-1023.exp
10547 * gdb.cp/pr-1210.exp
10548 * gdb.cp/pr-574.exp
10549 * gdb.cp/pr10687.exp
10550 * gdb.cp/pr12028.exp
10551 * gdb.cp/pr17132.exp
10552 * gdb.cp/pr17494.exp
10553 * gdb.cp/pr9067.exp
10554 * gdb.cp/pr9167.exp
10555 * gdb.cp/pr9631.exp
10556 * gdb.cp/printmethod.exp
10557 * gdb.cp/psmang.exp
10558 * gdb.cp/psymtab-parameter.exp
10559 * gdb.cp/ptype-cv-cp.exp
10560 * gdb.cp/ptype-flags.exp
10561 * gdb.cp/re-set-overloaded.exp
10562 * gdb.cp/ref-types.exp
10564 * gdb.cp/scope-err.exp
10565 * gdb.cp/shadow.exp
10566 * gdb.cp/smartp.exp
10567 * gdb.cp/static-method.exp
10568 * gdb.cp/static-print-quit.exp
10569 * gdb.cp/temargs.exp
10570 * gdb.cp/templates.exp
10571 * gdb.cp/try_catch.exp
10572 * gdb.cp/typedef-operator.exp
10573 * gdb.cp/typeid.exp
10574 * gdb.cp/userdef.exp
10575 * gdb.cp/using-crash.exp
10576 * gdb.cp/var-tag.exp
10577 * gdb.cp/virtbase.exp
10578 * gdb.cp/virtfunc.exp
10579 * gdb.cp/virtfunc2.exp
10580 * gdb.cp/vla-cxx.exp
10581 * gdb.disasm/t01_mov.exp
10582 * gdb.disasm/t02_mova.exp
10583 * gdb.disasm/t03_add.exp
10584 * gdb.disasm/t04_sub.exp
10585 * gdb.disasm/t05_cmp.exp
10586 * gdb.disasm/t06_ari2.exp
10587 * gdb.disasm/t07_ari3.exp
10588 * gdb.disasm/t08_or.exp
10589 * gdb.disasm/t09_xor.exp
10590 * gdb.disasm/t10_and.exp
10591 * gdb.disasm/t11_logs.exp
10592 * gdb.disasm/t12_bit.exp
10593 * gdb.disasm/t13_otr.exp
10594 * gdb.dlang/circular.exp
10595 * gdb.dwarf2/arr-stride.exp
10596 * gdb.dwarf2/arr-subrange.exp
10597 * gdb.dwarf2/atomic-type.exp
10598 * gdb.dwarf2/bad-regnum.exp
10599 * gdb.dwarf2/bitfield-parent-optimized-out.exp
10600 * gdb.dwarf2/callframecfa.exp
10601 * gdb.dwarf2/clztest.exp
10602 * gdb.dwarf2/corrupt.exp
10603 * gdb.dwarf2/data-loc.exp
10604 * gdb.dwarf2/dup-psym.exp
10605 * gdb.dwarf2/dw2-anon-mptr.exp
10606 * gdb.dwarf2/dw2-anonymous-func.exp
10607 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
10608 * gdb.dwarf2/dw2-bad-unresolved.exp
10609 * gdb.dwarf2/dw2-basic.exp
10610 * gdb.dwarf2/dw2-canonicalize-type.exp
10611 * gdb.dwarf2/dw2-case-insensitive.exp
10612 * gdb.dwarf2/dw2-common-block.exp
10613 * gdb.dwarf2/dw2-compdir-oldgcc.exp
10614 * gdb.dwarf2/dw2-compressed.exp
10615 * gdb.dwarf2/dw2-const.exp
10616 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
10617 * gdb.dwarf2/dw2-cu-size.exp
10618 * gdb.dwarf2/dw2-dup-frame.exp
10619 * gdb.dwarf2/dw2-entry-value.exp
10620 * gdb.dwarf2/dw2-icycle.exp
10621 * gdb.dwarf2/dw2-ifort-parameter.exp
10622 * gdb.dwarf2/dw2-inline-break.exp
10623 * gdb.dwarf2/dw2-inline-param.exp
10624 * gdb.dwarf2/dw2-intercu.exp
10625 * gdb.dwarf2/dw2-intermix.exp
10626 * gdb.dwarf2/dw2-lexical-block-bare.exp
10627 * gdb.dwarf2/dw2-linkage-name-trust.exp
10628 * gdb.dwarf2/dw2-minsym-in-cu.exp
10629 * gdb.dwarf2/dw2-noloc.exp
10630 * gdb.dwarf2/dw2-op-call.exp
10631 * gdb.dwarf2/dw2-op-out-param.exp
10632 * gdb.dwarf2/dw2-opt-structptr.exp
10633 * gdb.dwarf2/dw2-param-error.exp
10634 * gdb.dwarf2/dw2-producer.exp
10635 * gdb.dwarf2/dw2-ranges-base.exp
10636 * gdb.dwarf2/dw2-ref-missing-frame.exp
10637 * gdb.dwarf2/dw2-reg-undefined.exp
10638 * gdb.dwarf2/dw2-regno-invalid.exp
10639 * gdb.dwarf2/dw2-restore.exp
10640 * gdb.dwarf2/dw2-restrict.exp
10641 * gdb.dwarf2/dw2-single-line-discriminators.exp
10642 * gdb.dwarf2/dw2-strp.exp
10643 * gdb.dwarf2/dw2-undefined-ret-addr.exp
10644 * gdb.dwarf2/dw2-unresolved.exp
10645 * gdb.dwarf2/dw2-var-zero-addr.exp
10646 * gdb.dwarf2/dw4-sig-types.exp
10647 * gdb.dwarf2/dwz.exp
10648 * gdb.dwarf2/dynarr-ptr.exp
10649 * gdb.dwarf2/enum-type.exp
10650 * gdb.dwarf2/gdb-index.exp
10651 * gdb.dwarf2/implptr-64bit.exp
10652 * gdb.dwarf2/implptr-optimized-out.exp
10653 * gdb.dwarf2/implptr.exp
10654 * gdb.dwarf2/implref-array.exp
10655 * gdb.dwarf2/implref-const.exp
10656 * gdb.dwarf2/implref-global.exp
10657 * gdb.dwarf2/implref-struct.exp
10658 * gdb.dwarf2/mac-fileno.exp
10659 * gdb.dwarf2/main-subprogram.exp
10660 * gdb.dwarf2/member-ptr-forwardref.exp
10661 * gdb.dwarf2/method-ptr.exp
10662 * gdb.dwarf2/missing-sig-type.exp
10663 * gdb.dwarf2/nonvar-access.exp
10664 * gdb.dwarf2/opaque-type-lookup.exp
10665 * gdb.dwarf2/pieces-optimized-out.exp
10666 * gdb.dwarf2/pieces.exp
10667 * gdb.dwarf2/pr10770.exp
10668 * gdb.dwarf2/pr13961.exp
10669 * gdb.dwarf2/staticvirtual.exp
10670 * gdb.dwarf2/subrange.exp
10671 * gdb.dwarf2/symtab-producer.exp
10672 * gdb.dwarf2/trace-crash.exp
10673 * gdb.dwarf2/typeddwarf.exp
10674 * gdb.dwarf2/valop.exp
10675 * gdb.dwarf2/watch-notconst.exp
10676 * gdb.fortran/array-element.exp
10677 * gdb.fortran/charset.exp
10678 * gdb.fortran/common-block.exp
10679 * gdb.fortran/complex.exp
10680 * gdb.fortran/derived-type-function.exp
10681 * gdb.fortran/derived-type.exp
10682 * gdb.fortran/logical.exp
10683 * gdb.fortran/module.exp
10684 * gdb.fortran/multi-dim.exp
10685 * gdb.fortran/nested-funcs.exp
10686 * gdb.fortran/print-formatted.exp
10687 * gdb.fortran/subarray.exp
10688 * gdb.fortran/vla-alloc-assoc.exp
10689 * gdb.fortran/vla-datatypes.exp
10690 * gdb.fortran/vla-history.exp
10691 * gdb.fortran/vla-ptr-info.exp
10692 * gdb.fortran/vla-ptype-sub.exp
10693 * gdb.fortran/vla-ptype.exp
10694 * gdb.fortran/vla-sizeof.exp
10695 * gdb.fortran/vla-type.exp
10696 * gdb.fortran/vla-value-sub-arbitrary.exp
10697 * gdb.fortran/vla-value-sub-finish.exp
10698 * gdb.fortran/vla-value-sub.exp
10699 * gdb.fortran/vla-value.exp
10700 * gdb.fortran/whatis_type.exp
10702 * gdb.go/handcall.exp
10704 * gdb.go/integers.exp
10705 * gdb.go/methods.exp
10706 * gdb.go/package.exp
10707 * gdb.go/strings.exp
10709 * gdb.go/unsafe.exp
10710 * gdb.guile/scm-arch.exp
10711 * gdb.guile/scm-block.exp
10712 * gdb.guile/scm-breakpoint.exp
10713 * gdb.guile/scm-cmd.exp
10714 * gdb.guile/scm-disasm.exp
10715 * gdb.guile/scm-equal.exp
10716 * gdb.guile/scm-frame-args.exp
10717 * gdb.guile/scm-frame-inline.exp
10718 * gdb.guile/scm-frame.exp
10719 * gdb.guile/scm-iterator.exp
10720 * gdb.guile/scm-math.exp
10721 * gdb.guile/scm-objfile.exp
10722 * gdb.guile/scm-ports.exp
10723 * gdb.guile/scm-symbol.exp
10724 * gdb.guile/scm-symtab.exp
10725 * gdb.guile/scm-value-cc.exp
10726 * gdb.guile/types-module.exp
10727 * gdb.linespec/break-ask.exp
10728 * gdb.linespec/cpexplicit.exp
10729 * gdb.linespec/explicit.exp
10730 * gdb.linespec/keywords.exp
10731 * gdb.linespec/linespec.exp
10732 * gdb.linespec/ls-dollar.exp
10733 * gdb.linespec/ls-errs.exp
10734 * gdb.linespec/skip-two.exp
10735 * gdb.linespec/thread.exp
10736 * gdb.mi/mi-async.exp
10737 * gdb.mi/mi-basics.exp
10738 * gdb.mi/mi-break.exp
10739 * gdb.mi/mi-catch-load.exp
10740 * gdb.mi/mi-cli.exp
10741 * gdb.mi/mi-cmd-param-changed.exp
10742 * gdb.mi/mi-console.exp
10743 * gdb.mi/mi-detach.exp
10744 * gdb.mi/mi-disassemble.exp
10745 * gdb.mi/mi-eval.exp
10746 * gdb.mi/mi-file-transfer.exp
10747 * gdb.mi/mi-file.exp
10748 * gdb.mi/mi-fill-memory.exp
10749 * gdb.mi/mi-inheritance-syntax-error.exp
10750 * gdb.mi/mi-linespec-err-cp.exp
10751 * gdb.mi/mi-logging.exp
10752 * gdb.mi/mi-memory-changed.exp
10753 * gdb.mi/mi-read-memory.exp
10754 * gdb.mi/mi-record-changed.exp
10755 * gdb.mi/mi-reg-undefined.exp
10756 * gdb.mi/mi-regs.exp
10757 * gdb.mi/mi-return.exp
10758 * gdb.mi/mi-reverse.exp
10759 * gdb.mi/mi-simplerun.exp
10760 * gdb.mi/mi-solib.exp
10761 * gdb.mi/mi-stack.exp
10762 * gdb.mi/mi-stepi.exp
10763 * gdb.mi/mi-syn-frame.exp
10764 * gdb.mi/mi-until.exp
10765 * gdb.mi/mi-var-block.exp
10766 * gdb.mi/mi-var-child.exp
10767 * gdb.mi/mi-var-cmd.exp
10768 * gdb.mi/mi-var-cp.exp
10769 * gdb.mi/mi-var-display.exp
10770 * gdb.mi/mi-var-invalidate.exp
10771 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
10772 * gdb.mi/mi-vla-fortran.exp
10773 * gdb.mi/mi-watch.exp
10774 * gdb.mi/mi2-var-child.exp
10775 * gdb.mi/user-selected-context-sync.exp
10776 * gdb.modula2/unbounded-array.exp
10777 * gdb.multi/dummy-frame-restore.exp
10778 * gdb.multi/multi-arch-exec.exp
10779 * gdb.multi/multi-arch.exp
10780 * gdb.multi/tids.exp
10781 * gdb.multi/watchpoint-multi.exp
10782 * gdb.opencl/callfuncs.exp
10783 * gdb.opencl/convs_casts.exp
10784 * gdb.opencl/datatypes.exp
10785 * gdb.opencl/operators.exp
10786 * gdb.opencl/vec_comps.exp
10787 * gdb.opt/clobbered-registers-O2.exp
10788 * gdb.opt/inline-break.exp
10789 * gdb.opt/inline-bt.exp
10790 * gdb.opt/inline-cmds.exp
10791 * gdb.opt/inline-locals.exp
10792 * gdb.pascal/case-insensitive-symbols.exp
10793 * gdb.pascal/floats.exp
10794 * gdb.pascal/gdb11492.exp
10795 * gdb.python/lib-types.exp
10796 * gdb.python/py-arch.exp
10797 * gdb.python/py-as-string.exp
10798 * gdb.python/py-bad-printers.exp
10799 * gdb.python/py-block.exp
10800 * gdb.python/py-breakpoint-create-fail.exp
10801 * gdb.python/py-breakpoint.exp
10802 * gdb.python/py-caller-is.exp
10803 * gdb.python/py-cmd.exp
10804 * gdb.python/py-explore-cc.exp
10805 * gdb.python/py-explore.exp
10806 * gdb.python/py-finish-breakpoint.exp
10807 * gdb.python/py-finish-breakpoint2.exp
10808 * gdb.python/py-frame-args.exp
10809 * gdb.python/py-frame-inline.exp
10810 * gdb.python/py-frame.exp
10811 * gdb.python/py-framefilter-mi.exp
10812 * gdb.python/py-infthread.exp
10813 * gdb.python/py-lazy-string.exp
10814 * gdb.python/py-linetable.exp
10815 * gdb.python/py-mi-events.exp
10816 * gdb.python/py-mi-objfile.exp
10817 * gdb.python/py-mi.exp
10818 * gdb.python/py-objfile.exp
10819 * gdb.python/py-pp-integral.exp
10820 * gdb.python/py-pp-maint.exp
10821 * gdb.python/py-pp-re-notag.exp
10822 * gdb.python/py-pp-registration.exp
10823 * gdb.python/py-recurse-unwind.exp
10824 * gdb.python/py-strfns.exp
10825 * gdb.python/py-symbol.exp
10826 * gdb.python/py-symtab.exp
10827 * gdb.python/py-sync-interp.exp
10828 * gdb.python/py-typeprint.exp
10829 * gdb.python/py-unwind-maint.exp
10830 * gdb.python/py-unwind.exp
10831 * gdb.python/py-value-cc.exp
10832 * gdb.python/py-xmethods.exp
10833 * gdb.reverse/amd64-tailcall-reverse.exp
10834 * gdb.reverse/break-precsave.exp
10835 * gdb.reverse/break-reverse.exp
10836 * gdb.reverse/consecutive-precsave.exp
10837 * gdb.reverse/consecutive-reverse.exp
10838 * gdb.reverse/finish-precsave.exp
10839 * gdb.reverse/finish-reverse-bkpt.exp
10840 * gdb.reverse/finish-reverse.exp
10841 * gdb.reverse/fstatat-reverse.exp
10842 * gdb.reverse/getresuid-reverse.exp
10843 * gdb.reverse/i386-precsave.exp
10844 * gdb.reverse/i386-reverse.exp
10845 * gdb.reverse/i386-sse-reverse.exp
10846 * gdb.reverse/i387-env-reverse.exp
10847 * gdb.reverse/i387-stack-reverse.exp
10848 * gdb.reverse/insn-reverse.exp
10849 * gdb.reverse/machinestate-precsave.exp
10850 * gdb.reverse/machinestate.exp
10851 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10852 * gdb.reverse/pipe-reverse.exp
10853 * gdb.reverse/readv-reverse.exp
10854 * gdb.reverse/recvmsg-reverse.exp
10855 * gdb.reverse/rerun-prec.exp
10856 * gdb.reverse/s390-mvcle.exp
10857 * gdb.reverse/step-precsave.exp
10858 * gdb.reverse/step-reverse.exp
10859 * gdb.reverse/time-reverse.exp
10860 * gdb.reverse/until-precsave.exp
10861 * gdb.reverse/until-reverse.exp
10862 * gdb.reverse/waitpid-reverse.exp
10863 * gdb.reverse/watch-precsave.exp
10864 * gdb.reverse/watch-reverse.exp
10865 * gdb.rust/generics.exp
10866 * gdb.rust/methods.exp
10867 * gdb.rust/modules.exp
10868 * gdb.rust/simple.exp
10869 * gdb.server/connect-with-no-symbol-file.exp
10870 * gdb.server/ext-attach.exp
10871 * gdb.server/ext-restart.exp
10872 * gdb.server/ext-wrapper.exp
10873 * gdb.server/file-transfer.exp
10874 * gdb.server/server-exec-info.exp
10875 * gdb.server/server-kill.exp
10876 * gdb.server/server-mon.exp
10877 * gdb.server/wrapper.exp
10878 * gdb.stabs/exclfwd.exp
10879 * gdb.stabs/gdb11479.exp
10880 * gdb.threads/clone-new-thread-event.exp
10881 * gdb.threads/corethreads.exp
10882 * gdb.threads/current-lwp-dead.exp
10883 * gdb.threads/dlopen-libpthread.exp
10884 * gdb.threads/gcore-thread.exp
10885 * gdb.threads/sigstep-threads.exp
10886 * gdb.threads/watchpoint-fork.exp
10887 * gdb.trace/actions-changed.exp
10888 * gdb.trace/backtrace.exp
10889 * gdb.trace/change-loc.exp
10890 * gdb.trace/circ.exp
10891 * gdb.trace/collection.exp
10892 * gdb.trace/disconnected-tracing.exp
10893 * gdb.trace/ftrace.exp
10894 * gdb.trace/mi-trace-frame-collected.exp
10895 * gdb.trace/mi-trace-unavailable.exp
10896 * gdb.trace/mi-traceframe-changed.exp
10897 * gdb.trace/mi-tsv-changed.exp
10898 * gdb.trace/no-attach-trace.exp
10899 * gdb.trace/passc-dyn.exp
10900 * gdb.trace/qtro.exp
10901 * gdb.trace/range-stepping.exp
10902 * gdb.trace/read-memory.exp
10903 * gdb.trace/save-trace.exp
10904 * gdb.trace/signal.exp
10905 * gdb.trace/status-stop.exp
10906 * gdb.trace/tfile.exp
10907 * gdb.trace/trace-break.exp
10908 * gdb.trace/trace-buffer-size.exp
10909 * gdb.trace/trace-condition.exp
10910 * gdb.trace/tracefile-pseudo-reg.exp
10911 * gdb.trace/tstatus.exp
10912 * gdb.trace/unavailable.exp
10913 * gdb.trace/while-dyn.exp
10914 * gdb.trace/while-stepping.exp
10916 2016-12-22 Doug Evans <xdje42@gmail.com>
10918 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
10921 2016-12-19 Yao Qi <yao.qi@linaro.org>
10923 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
10924 (test_with_self): Don't call do_steps_and_nexts, and remove
10925 code about stepping into xmalloc.
10927 2016-12-09 Yao Qi <yao.qi@linaro.org>
10929 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
10931 2016-12-09 Yao Qi <yao.qi@linaro.org>
10933 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
10935 2016-12-09 Pedro Alves <palves@redhat.com>
10937 * gdb.base/all-architectures-0.exp: New file.
10938 * gdb.base/all-architectures-1.exp: New file.
10939 * gdb.base/all-architectures-2.exp: New file.
10940 * gdb.base/all-architectures-3.exp: New file.
10941 * gdb.base/all-architectures-4.exp: New file.
10942 * gdb.base/all-architectures-5.exp: New file.
10943 * gdb.base/all-architectures-6.exp: New file.
10944 * gdb.base/all-architectures-7.exp: New file.
10945 * gdb.base/all-architectures.exp.in: New file.
10947 2016-12-09 Yao Qi <yao.qi@linaro.org>
10949 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
10951 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
10953 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
10955 Remove useless pattern-matching code.
10957 2016-12-02 Pedro Alves <palves@redhat.com>
10959 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
10961 (top level): Call it.
10963 2016-12-02 Pedro Alves <palves@redhat.com>
10965 * gdb.base/commands.exp (user_defined_command_args_stack_test):
10967 (top level): Call it.
10969 2016-12-02 Pedro Alves <palves@redhat.com>
10972 * gdb.base/commands.exp (user_defined_command_args_eval): New
10974 (top level): Call it.
10976 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
10978 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
10981 2016-12-02 Tom Tromey <tom@tromey.com>
10983 * gdb.dwarf2/main-subprogram.c: New file.
10984 * gdb.dwarf2/main-subprogram.exp: New file.
10986 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10988 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
10989 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10990 gdb_test_no_output for a couple of cases.
10991 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
10993 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10995 Fix test names and standardize compilation error messages throughout
10996 the following files:
10998 * gdb.ada/start.exp
10999 * gdb.arch/alpha-step.exp
11000 * gdb.arch/e500-prologue.exp
11001 * gdb.arch/ftrace-insn-reloc.exp
11002 * gdb.arch/gdb1291.exp
11003 * gdb.arch/gdb1431.exp
11004 * gdb.arch/gdb1558.exp
11005 * gdb.arch/i386-dr3-watch.exp
11006 * gdb.arch/i386-sse-stack-align.exp
11007 * gdb.arch/ia64-breakpoint-shadow.exp
11008 * gdb.arch/pa-nullify.exp
11009 * gdb.arch/powerpc-aix-prologue.exp
11010 * gdb.arch/thumb-bx-pc.exp
11011 * gdb.base/annota1.exp
11012 * gdb.base/annota3.exp
11013 * gdb.base/arrayidx.exp
11014 * gdb.base/assign.exp
11015 * gdb.base/attach.exp
11016 * gdb.base/auxv.exp
11017 * gdb.base/bang.exp
11018 * gdb.base/bfp-test.exp
11019 * gdb.base/bigcore.exp
11020 * gdb.base/bitfields2.exp
11021 * gdb.base/break-fun-addr.exp
11022 * gdb.base/break-probes.exp
11023 * gdb.base/call-rt-st.exp
11024 * gdb.base/callexit.exp
11025 * gdb.base/catch-fork-kill.exp
11026 * gdb.base/charset.exp
11027 * gdb.base/checkpoint.exp
11028 * gdb.base/comprdebug.exp
11029 * gdb.base/constvars.exp
11030 * gdb.base/coredump-filter.exp
11031 * gdb.base/cursal.exp
11032 * gdb.base/cvexpr.exp
11033 * gdb.base/detach.exp
11034 * gdb.base/display.exp
11035 * gdb.base/dmsym.exp
11036 * gdb.base/dprintf-pending.exp
11037 * gdb.base/dso2dso.exp
11038 * gdb.base/dtrace-probe.exp
11039 * gdb.base/dump.exp
11040 * gdb.base/enum_cond.exp
11041 * gdb.base/exe-lock.exp
11042 * gdb.base/exec-invalid-sysroot.exp
11043 * gdb.base/execl-update-breakpoints.exp
11044 * gdb.base/exprs.exp
11045 * gdb.base/fileio.exp
11046 * gdb.base/find.exp
11047 * gdb.base/finish.exp
11048 * gdb.base/fixsection.exp
11049 * gdb.base/foll-vfork.exp
11050 * gdb.base/frame-args.exp
11051 * gdb.base/gcore.exp
11052 * gdb.base/gdb1250.exp
11053 * gdb.base/global-var-nested-by-dso.exp
11054 * gdb.base/gnu-ifunc.exp
11055 * gdb.base/hashline1.exp
11056 * gdb.base/hashline2.exp
11057 * gdb.base/hashline3.exp
11058 * gdb.base/hbreak-in-shr-unsupported.exp
11059 * gdb.base/huge.exp
11060 * gdb.base/infcall-input.exp
11061 * gdb.base/info-fun.exp
11062 * gdb.base/info-shared.exp
11063 * gdb.base/jit-simple.exp
11064 * gdb.base/jit-so.exp
11066 * gdb.base/jump.exp
11067 * gdb.base/label.exp
11068 * gdb.base/lineinc.exp
11069 * gdb.base/logical.exp
11070 * gdb.base/longjmp.exp
11071 * gdb.base/macscp.exp
11072 * gdb.base/miscexprs.exp
11073 * gdb.base/new-ui-echo.exp
11074 * gdb.base/new-ui-pending-input.exp
11075 * gdb.base/new-ui.exp
11076 * gdb.base/nodebug.exp
11077 * gdb.base/nofield.exp
11078 * gdb.base/offsets.exp
11079 * gdb.base/overlays.exp
11080 * gdb.base/pending.exp
11081 * gdb.base/pointers.exp
11082 * gdb.base/pr11022.exp
11083 * gdb.base/printcmds.exp
11084 * gdb.base/prologue.exp
11085 * gdb.base/ptr-typedef.exp
11086 * gdb.base/realname-expand.exp
11087 * gdb.base/relativedebug.exp
11088 * gdb.base/relocate.exp
11089 * gdb.base/remote.exp
11090 * gdb.base/reread.exp
11091 * gdb.base/return2.exp
11092 * gdb.base/savedregs.exp
11094 * gdb.base/sepdebug.exp
11095 * gdb.base/sepsymtab.exp
11096 * gdb.base/set-inferior-tty.exp
11097 * gdb.base/setshow.exp
11098 * gdb.base/shlib-call.exp
11099 * gdb.base/sigaltstack.exp
11100 * gdb.base/siginfo-addr.exp
11101 * gdb.base/signals.exp
11102 * gdb.base/signull.exp
11103 * gdb.base/sigrepeat.exp
11104 * gdb.base/so-impl-ld.exp
11105 * gdb.base/solib-display.exp
11106 * gdb.base/solib-overlap.exp
11107 * gdb.base/solib-search.exp
11108 * gdb.base/solib-symbol.exp
11109 * gdb.base/structs.exp
11110 * gdb.base/structs2.exp
11111 * gdb.base/symtab-search-order.exp
11112 * gdb.base/twice.exp
11113 * gdb.base/unload.exp
11114 * gdb.base/varargs.exp
11115 * gdb.base/watchpoint-solib.exp
11116 * gdb.base/watchpoint.exp
11117 * gdb.base/whatis.exp
11118 * gdb.base/wrong_frame_bt_full.exp
11119 * gdb.btrace/dlopen.exp
11120 * gdb.cell/ea-standalone.exp
11121 * gdb.cell/ea-test.exp
11122 * gdb.cp/dispcxx.exp
11123 * gdb.cp/gdb2384.exp
11124 * gdb.cp/method2.exp
11125 * gdb.cp/nextoverthrow.exp
11126 * gdb.cp/pr10728.exp
11127 * gdb.disasm/am33.exp
11128 * gdb.disasm/h8300s.exp
11129 * gdb.disasm/mn10300.exp
11130 * gdb.disasm/sh3.exp
11131 * gdb.dwarf2/dw2-dir-file-name.exp
11132 * gdb.fortran/complex.exp
11133 * gdb.fortran/library-module.exp
11134 * gdb.guile/scm-pretty-print.exp
11135 * gdb.guile/scm-symbol.exp
11136 * gdb.guile/scm-type.exp
11137 * gdb.guile/scm-value.exp
11138 * gdb.linespec/linespec.exp
11139 * gdb.mi/gdb701.exp
11140 * gdb.mi/gdb792.exp
11141 * gdb.mi/mi-breakpoint-changed.exp
11142 * gdb.mi/mi-dprintf-pending.exp
11143 * gdb.mi/mi-dprintf.exp
11144 * gdb.mi/mi-exit-code.exp
11145 * gdb.mi/mi-pending.exp
11146 * gdb.mi/mi-solib.exp
11147 * gdb.mi/new-ui-mi-sync.exp
11148 * gdb.mi/pr11022.exp
11149 * gdb.mi/user-selected-context-sync.exp
11150 * gdb.opt/solib-intra-step.exp
11151 * gdb.python/py-events.exp
11152 * gdb.python/py-finish-breakpoint.exp
11153 * gdb.python/py-mi.exp
11154 * gdb.python/py-prettyprint.exp
11155 * gdb.python/py-shared.exp
11156 * gdb.python/py-symbol.exp
11157 * gdb.python/py-template.exp
11158 * gdb.python/py-type.exp
11159 * gdb.python/py-value.exp
11160 * gdb.reverse/solib-precsave.exp
11161 * gdb.reverse/solib-reverse.exp
11162 * gdb.server/solib-list.exp
11163 * gdb.stabs/weird.exp
11164 * gdb.threads/reconnect-signal.exp
11165 * gdb.threads/stepi-random-signal.exp
11166 * gdb.trace/actions.exp
11168 * gdb.trace/backtrace.exp
11169 * gdb.trace/change-loc.exp
11170 * gdb.trace/deltrace.exp
11171 * gdb.trace/ftrace-lock.exp
11172 * gdb.trace/ftrace.exp
11173 * gdb.trace/infotrace.exp
11174 * gdb.trace/mi-tracepoint-changed.exp
11175 * gdb.trace/packetlen.exp
11176 * gdb.trace/passcount.exp
11177 * gdb.trace/pending.exp
11178 * gdb.trace/range-stepping.exp
11179 * gdb.trace/report.exp
11180 * gdb.trace/stap-trace.exp
11181 * gdb.trace/tfind.exp
11182 * gdb.trace/trace-break.exp
11183 * gdb.trace/trace-condition.exp
11184 * gdb.trace/trace-enable-disable.exp
11185 * gdb.trace/trace-mt.exp
11186 * gdb.trace/tracecmd.exp
11187 * gdb.trace/tspeed.exp
11188 * gdb.trace/tsv.exp
11191 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
11193 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
11194 with gdb_test_no_output.
11195 Use command as test name.
11197 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
11199 Fix test names starting with uppercase throughout the files.
11201 * gdb.ada/assign_1.exp
11202 * gdb.ada/boolean_expr.exp
11203 * gdb.base/arrayidx.exp
11205 * gdb.base/gcore-buffer-overflow.exp
11206 * gdb.base/testenv.exp
11207 * gdb.compile/compile.exp
11208 * gdb.python/py-framefilter-invalidarg.exp
11209 * gdb.python/py-framefilter.exp
11211 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
11213 Fix test names starting with uppercase throughout the files.
11215 * gdb.ada/array_return.exp
11216 * gdb.ada/expr_delims.exp
11217 * gdb.ada/mi_dyn_arr.exp
11218 * gdb.ada/mi_interface.exp
11219 * gdb.ada/mi_var_array.exp
11220 * gdb.ada/watch_arg.exp
11221 * gdb.arch/alpha-step.exp
11222 * gdb.arch/altivec-regs.exp
11223 * gdb.arch/e500-regs.exp
11224 * gdb.arch/powerpc-d128-regs.exp
11225 * gdb.base/arrayidx.exp
11226 * gdb.base/break.exp
11227 * gdb.base/checkpoint.exp
11228 * gdb.base/debug-expr.exp
11229 * gdb.base/dmsym.exp
11230 * gdb.base/radix.exp
11231 * gdb.base/sepdebug.exp
11232 * gdb.base/testenv.exp
11233 * gdb.base/watch_thread_num.exp
11234 * gdb.base/watchpoint-cond-gone.exp
11235 * gdb.cell/break.exp
11236 * gdb.cell/ea-cache.exp
11237 * gdb.compile/compile.exp
11238 * gdb.cp/gdb2495.exp
11239 * gdb.gdb/selftest.exp
11240 * gdb.gdb/xfullpath.exp
11242 * gdb.go/integers.exp
11243 * gdb.objc/basicclass.exp
11244 * gdb.pascal/hello.exp
11245 * gdb.pascal/integers.exp
11246 * gdb.python/py-breakpoint.exp
11247 * gdb.python/py-cmd.exp
11248 * gdb.python/py-linetable.exp
11249 * gdb.python/py-xmethods.exp
11250 * gdb.python/python.exp
11251 * gdb.reverse/consecutive-precsave.exp
11252 * gdb.reverse/finish-precsave.exp
11253 * gdb.reverse/i386-precsave.exp
11254 * gdb.reverse/machinestate-precsave.exp
11255 * gdb.reverse/sigall-precsave.exp
11256 * gdb.reverse/solib-precsave.exp
11257 * gdb.reverse/step-precsave.exp
11258 * gdb.reverse/until-precsave.exp
11259 * gdb.reverse/watch-precsave.exp
11260 * gdb.threads/leader-exit.exp
11261 * gdb.threads/pthreads.exp
11262 * gdb.threads/wp-replication.exp
11263 * gdb.trace/actions.exp
11264 * gdb.trace/mi-tsv-changed.exp
11265 * gdb.trace/tsv.exp
11267 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
11269 Fix test names starting with uppercase throughout the files.
11271 * gdb.arch/i386-bp_permanent.exp
11272 * gdb.arch/i386-gnu-cfi.exp
11273 * gdb.base/disasm-end-cu.exp
11274 * gdb.base/macscp.exp
11275 * gdb.base/pending.exp
11276 * gdb.base/watch_thread_num.exp
11277 * gdb.cp/exception.exp
11278 * gdb.cp/gdb2495.exp
11280 * gdb.python/py-evsignal.exp
11281 * gdb.python/python.exp
11282 * gdb.trace/tracecmd.exp
11284 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
11286 Fix test names starting with uppercase throughout the files.
11288 * gdb.base/charset.exp
11289 * gdb.base/eval.exp
11290 * gdb.base/multi-forks.exp
11291 * gdb.guile/scm-progspace.exp
11292 * gdb.opencl/datatypes.exp
11293 * gdb.python/py-block.exp
11294 * gdb.python/py-function.exp
11295 * gdb.python/py-symbol.exp
11296 * gdb.python/py-symtab.exp
11297 * gdb.python/py-xmethods.exp
11298 * gdb.reverse/break-precsave.exp
11299 * gdb.reverse/break-reverse.exp
11300 * gdb.reverse/consecutive-precsave.exp
11301 * gdb.reverse/consecutive-reverse.exp
11302 * gdb.reverse/finish-precsave.exp
11303 * gdb.reverse/finish-reverse-bkpt.exp
11304 * gdb.reverse/finish-reverse.exp
11305 * gdb.reverse/fstatat-reverse.exp
11306 * gdb.reverse/getresuid-reverse.exp
11307 * gdb.reverse/i386-precsave.exp
11308 * gdb.reverse/i386-reverse.exp
11309 * gdb.reverse/i386-sse-reverse.exp
11310 * gdb.reverse/i387-stack-reverse.exp
11311 * gdb.reverse/insn-reverse.exp
11312 * gdb.reverse/machinestate-precsave.exp
11313 * gdb.reverse/machinestate.exp
11314 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11315 * gdb.reverse/pipe-reverse.exp
11316 * gdb.reverse/readv-reverse.exp
11317 * gdb.reverse/recvmsg-reverse.exp
11318 * gdb.reverse/rerun-prec.exp
11319 * gdb.reverse/s390-mvcle.exp
11320 * gdb.reverse/sigall-precsave.exp
11321 * gdb.reverse/sigall-reverse.exp
11322 * gdb.reverse/solib-precsave.exp
11323 * gdb.reverse/solib-reverse.exp
11324 * gdb.reverse/step-precsave.exp
11325 * gdb.reverse/step-reverse.exp
11326 * gdb.reverse/time-reverse.exp
11327 * gdb.reverse/until-precsave.exp
11328 * gdb.reverse/until-reverse.exp
11329 * gdb.reverse/waitpid-reverse.exp
11330 * gdb.reverse/watch-precsave.exp
11331 * gdb.reverse/watch-reverse.exp
11333 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
11335 Fix test names starting with uppercase throughout the files.
11337 * gdb.arch/i386-mpx-simple_segv.exp
11338 * gdb.arch/i386-mpx.exp
11339 * gdb.arch/i386-permbkpt.exp
11340 * gdb.arch/pa-nullify.exp
11341 * gdb.arch/powerpc-d128-regs.exp
11342 * gdb.arch/vsx-regs.exp
11343 * gdb.base/bfp-test.exp
11344 * gdb.base/break.exp
11345 * gdb.base/breakpoint-shadow.exp
11346 * gdb.base/callfuncs.exp
11347 * gdb.base/charset.exp
11348 * gdb.base/commands.exp
11349 * gdb.base/completion.exp
11350 * gdb.base/dfp-test.exp
11351 * gdb.base/echo.exp
11352 * gdb.base/ending-run.exp
11353 * gdb.base/eval.exp
11354 * gdb.base/expand-psymtabs.exp
11355 * gdb.base/float128.exp
11356 * gdb.base/floatn.exp
11357 * gdb.base/foll-exec-mode.exp
11358 * gdb.base/gdb1056.exp
11359 * gdb.base/gdb11531.exp
11360 * gdb.base/kill-after-signal.exp
11361 * gdb.base/multi-forks.exp
11362 * gdb.base/overlays.exp
11363 * gdb.base/pending.exp
11364 * gdb.base/sepdebug.exp
11365 * gdb.base/testenv.exp
11366 * gdb.base/valgrind-db-attach.exp
11367 * gdb.base/watch_thread_num.exp
11368 * gdb.base/watchpoint-cond-gone.exp
11369 * gdb.base/watchpoint.exp
11370 * gdb.base/watchpoints.exp
11371 * gdb.cp/arg-reference.exp
11372 * gdb.cp/baseenum.exp
11373 * gdb.cp/operator.exp
11374 * gdb.cp/shadow.exp
11375 * gdb.dwarf2/dw2-op-out-param.exp
11376 * gdb.dwarf2/dw2-reg-undefined.exp
11379 * gdb.go/integers.exp
11380 * gdb.go/methods.exp
11381 * gdb.go/package.exp
11382 * gdb.guile/scm-parameter.exp
11383 * gdb.guile/scm-progspace.exp
11384 * gdb.guile/scm-value.exp
11385 * gdb.mi/mi-pending.exp
11386 * gdb.mi/user-selected-context-sync.exp
11387 * gdb.multi/multi-attach.exp
11388 * gdb.multi/tids.exp
11389 * gdb.opt/clobbered-registers-O2.exp
11390 * gdb.pascal/floats.exp
11391 * gdb.pascal/integers.exp
11392 * gdb.python/py-block.exp
11393 * gdb.python/py-events.exp
11394 * gdb.python/py-parameter.exp
11395 * gdb.python/py-symbol.exp
11396 * gdb.python/py-symtab.exp
11397 * gdb.python/py-type.exp
11398 * gdb.python/py-value.exp
11399 * gdb.python/py-xmethods.exp
11400 * gdb.python/python.exp
11401 * gdb.reverse/break-precsave.exp
11402 * gdb.reverse/consecutive-precsave.exp
11403 * gdb.reverse/finish-precsave.exp
11404 * gdb.reverse/i386-precsave.exp
11405 * gdb.reverse/machinestate-precsave.exp
11406 * gdb.reverse/sigall-precsave.exp
11407 * gdb.reverse/solib-precsave.exp
11408 * gdb.reverse/step-precsave.exp
11409 * gdb.reverse/until-precsave.exp
11410 * gdb.reverse/watch-precsave.exp
11411 * gdb.server/ext-attach.exp
11412 * gdb.server/ext-restart.exp
11413 * gdb.server/ext-run.exp
11414 * gdb.server/ext-wrapper.exp
11415 * gdb.stabs/gdb11479.exp
11416 * gdb.stabs/weird.exp
11417 * gdb.threads/attach-many-short-lived-threads.exp
11418 * gdb.threads/kill.exp
11419 * gdb.threads/watchpoint-fork.exp
11421 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
11423 Fix test names starting with uppercase throughout all the files below.
11425 * gdb.ada/array_return.exp
11426 * gdb.ada/catch_ex.exp
11427 * gdb.ada/info_exc.exp
11428 * gdb.ada/mi_catch_ex.exp
11429 * gdb.ada/mi_dyn_arr.exp
11430 * gdb.ada/mi_ex_cond.exp
11431 * gdb.ada/mi_exc_info.exp
11432 * gdb.ada/mi_interface.exp
11433 * gdb.ada/mi_task_arg.exp
11434 * gdb.ada/mi_task_info.exp
11435 * gdb.ada/mi_var_array.exp
11436 * gdb.arch/alpha-step.exp
11437 * gdb.arch/amd64-disp-step.exp
11438 * gdb.arch/arm-disp-step.exp
11439 * gdb.arch/disp-step-insn-reloc.exp
11440 * gdb.arch/e500-prologue.exp
11441 * gdb.arch/ftrace-insn-reloc.exp
11442 * gdb.arch/gdb1558.exp
11443 * gdb.arch/i386-bp_permanent.exp
11444 * gdb.arch/i386-disp-step.exp
11445 * gdb.arch/i386-float.exp
11446 * gdb.arch/i386-gnu-cfi.exp
11447 * gdb.arch/ia64-breakpoint-shadow.exp
11448 * gdb.arch/mips16-thunks.exp
11449 * gdb.arch/pa-nullify.exp
11450 * gdb.arch/powerpc-aix-prologue.exp
11451 * gdb.arch/powerpc-power.exp
11452 * gdb.arch/ppc-dfp.exp
11453 * gdb.arch/s390-tdbregs.exp
11454 * gdb.arch/spu-info.exp
11455 * gdb.arch/spu-ls.exp
11456 * gdb.arch/thumb-bx-pc.exp
11457 * gdb.base/advance.exp
11458 * gdb.base/annota-input-while-running.exp
11459 * gdb.base/arrayidx.exp
11460 * gdb.base/asmlabel.exp
11461 * gdb.base/async.exp
11462 * gdb.base/attach-wait-input.exp
11463 * gdb.base/auto-connect-native-target.exp
11464 * gdb.base/batch-preserve-term-settings.exp
11465 * gdb.base/bfp-test.exp
11466 * gdb.base/bigcore.exp
11467 * gdb.base/bp-permanent.exp
11468 * gdb.base/break-always.exp
11469 * gdb.base/break-fun-addr.exp
11470 * gdb.base/break-idempotent.exp
11471 * gdb.base/break-main-file-remove-fail.exp
11472 * gdb.base/break-probes.exp
11473 * gdb.base/break-unload-file.exp
11474 * gdb.base/break.exp
11475 * gdb.base/call-ar-st.exp
11476 * gdb.base/call-rt-st.exp
11477 * gdb.base/call-sc.exp
11478 * gdb.base/call-signal-resume.exp
11479 * gdb.base/call-strs.exp
11480 * gdb.base/callexit.exp
11481 * gdb.base/callfuncs.exp
11482 * gdb.base/catch-gdb-caused-signals.exp
11483 * gdb.base/catch-signal-siginfo-cond.exp
11484 * gdb.base/catch-syscall.exp
11485 * gdb.base/compare-sections.exp
11486 * gdb.base/cond-eval-mode.exp
11487 * gdb.base/condbreak-call-false.exp
11488 * gdb.base/consecutive-step-over.exp
11489 * gdb.base/cursal.exp
11490 * gdb.base/disabled-location.exp
11491 * gdb.base/disasm-end-cu.exp
11492 * gdb.base/display.exp
11493 * gdb.base/double-prompt-target-event-error.exp
11494 * gdb.base/dprintf-bp-same-addr.exp
11495 * gdb.base/dprintf-detach.exp
11496 * gdb.base/dprintf-next.exp
11497 * gdb.base/dprintf-non-stop.exp
11498 * gdb.base/dprintf-pending.exp
11499 * gdb.base/dso2dso.exp
11500 * gdb.base/ending-run.exp
11501 * gdb.base/enum_cond.exp
11502 * gdb.base/examine-backward.exp
11503 * gdb.base/exe-lock.exp
11504 * gdb.base/exec-invalid-sysroot.exp
11505 * gdb.base/execl-update-breakpoints.exp
11506 * gdb.base/execution-termios.exp
11507 * gdb.base/fileio.exp
11508 * gdb.base/fixsection.exp
11509 * gdb.base/foll-exec-mode.exp
11510 * gdb.base/foll-exec.exp
11511 * gdb.base/fork-running-state.exp
11512 * gdb.base/frame-args.exp
11513 * gdb.base/fullpath-expand.exp
11514 * gdb.base/func-ptr.exp
11515 * gdb.base/gcore-relro-pie.exp
11516 * gdb.base/gdb1090.exp
11517 * gdb.base/gdb1555.exp
11518 * gdb.base/global-var-nested-by-dso.exp
11519 * gdb.base/gnu-ifunc.exp
11520 * gdb.base/hbreak-in-shr-unsupported.exp
11521 * gdb.base/hbreak-unmapped.exp
11522 * gdb.base/hook-stop.exp
11523 * gdb.base/infcall-input.exp
11524 * gdb.base/info-fun.exp
11525 * gdb.base/info-shared.exp
11526 * gdb.base/interrupt-noterm.exp
11527 * gdb.base/jit-so.exp
11529 * gdb.base/line-symtabs.exp
11530 * gdb.base/list.exp
11531 * gdb.base/longjmp.exp
11532 * gdb.base/macscp.exp
11533 * gdb.base/max-value-size.exp
11534 * gdb.base/nodebug.exp
11535 * gdb.base/nofield.exp
11536 * gdb.base/overlays.exp
11537 * gdb.base/paginate-after-ctrl-c-running.exp
11538 * gdb.base/paginate-bg-execution.exp
11539 * gdb.base/paginate-inferior-exit.exp
11540 * gdb.base/pending.exp
11541 * gdb.base/pr11022.exp
11542 * gdb.base/printcmds.exp
11543 * gdb.base/ptr-typedef.exp
11544 * gdb.base/ptype.exp
11545 * gdb.base/randomize.exp
11546 * gdb.base/range-stepping.exp
11547 * gdb.base/realname-expand.exp
11548 * gdb.base/relativedebug.exp
11549 * gdb.base/remote.exp
11550 * gdb.base/savedregs.exp
11551 * gdb.base/sepdebug.exp
11552 * gdb.base/set-noassign.exp
11553 * gdb.base/shlib-call.exp
11554 * gdb.base/shreloc.exp
11555 * gdb.base/sigaltstack.exp
11556 * gdb.base/sigbpt.exp
11557 * gdb.base/siginfo-addr.exp
11558 * gdb.base/siginfo-obj.exp
11559 * gdb.base/siginfo-thread.exp
11560 * gdb.base/signest.exp
11561 * gdb.base/signull.exp
11562 * gdb.base/sigrepeat.exp
11563 * gdb.base/skip.exp
11564 * gdb.base/so-impl-ld.exp
11565 * gdb.base/solib-corrupted.exp
11566 * gdb.base/solib-disc.exp
11567 * gdb.base/solib-display.exp
11568 * gdb.base/solib-overlap.exp
11569 * gdb.base/solib-search.exp
11570 * gdb.base/solib-symbol.exp
11571 * gdb.base/source-execution.exp
11572 * gdb.base/sss-bp-on-user-bp-2.exp
11573 * gdb.base/sss-bp-on-user-bp.exp
11574 * gdb.base/stack-checking.exp
11575 * gdb.base/stale-infcall.exp
11576 * gdb.base/step-break.exp
11577 * gdb.base/step-line.exp
11578 * gdb.base/step-over-exit.exp
11579 * gdb.base/step-test.exp
11580 * gdb.base/structs.exp
11581 * gdb.base/sym-file.exp
11582 * gdb.base/symtab-search-order.exp
11583 * gdb.base/term.exp
11584 * gdb.base/type-opaque.exp
11585 * gdb.base/unload.exp
11586 * gdb.base/until-nodebug.exp
11587 * gdb.base/until.exp
11588 * gdb.base/unwindonsignal.exp
11589 * gdb.base/watch-cond.exp
11590 * gdb.base/watch-non-mem.exp
11591 * gdb.base/watch_thread_num.exp
11592 * gdb.base/watchpoint-reuse-slot.exp
11593 * gdb.base/watchpoint-solib.exp
11594 * gdb.base/watchpoint.exp
11595 * gdb.btrace/dlopen.exp
11596 * gdb.cell/arch.exp
11597 * gdb.cell/break.exp
11599 * gdb.cell/core.exp
11600 * gdb.cell/data.exp
11601 * gdb.cell/dwarfaddr.exp
11602 * gdb.cell/ea-cache.exp
11603 * gdb.cell/ea-standalone.exp
11604 * gdb.cell/ea-test.exp
11605 * gdb.cell/f-regs.exp
11606 * gdb.cell/fork.exp
11607 * gdb.cell/gcore.exp
11608 * gdb.cell/mem-access.exp
11609 * gdb.cell/ptype.exp
11610 * gdb.cell/registers.exp
11611 * gdb.cell/sizeof.exp
11612 * gdb.cell/solib-symbol.exp
11613 * gdb.cell/solib.exp
11614 * gdb.compile/compile-tls.exp
11615 * gdb.cp/exception.exp
11616 * gdb.cp/gdb2495.exp
11618 * gdb.cp/mb-inline.exp
11619 * gdb.cp/mb-templates.exp
11620 * gdb.cp/pr10687.exp
11621 * gdb.cp/pr9167.exp
11622 * gdb.cp/scope-err.exp
11623 * gdb.cp/templates.exp
11624 * gdb.cp/virtfunc.exp
11625 * gdb.dwarf2/dw2-dir-file-name.exp
11626 * gdb.dwarf2/dw2-single-line-discriminators.exp
11627 * gdb.fortran/complex.exp
11628 * gdb.fortran/library-module.exp
11629 * gdb.guile/guile.exp
11630 * gdb.guile/scm-cmd.exp
11631 * gdb.guile/scm-frame-inline.exp
11632 * gdb.guile/scm-objfile.exp
11633 * gdb.guile/scm-pretty-print.exp
11634 * gdb.guile/scm-symbol.exp
11635 * gdb.guile/scm-type.exp
11636 * gdb.guile/scm-value.exp
11637 * gdb.linespec/keywords.exp
11638 * gdb.linespec/ls-errs.exp
11639 * gdb.linespec/macro-relative.exp
11640 * gdb.linespec/thread.exp
11641 * gdb.mi/mi-breakpoint-changed.exp
11642 * gdb.mi/mi-dprintf-pending.exp
11643 * gdb.mi/mi-fullname-deleted.exp
11644 * gdb.mi/mi-logging.exp
11645 * gdb.mi/mi-pending.exp
11646 * gdb.mi/mi-solib.exp
11647 * gdb.mi/new-ui-mi-sync.exp
11648 * gdb.mi/user-selected-context-sync.exp
11649 * gdb.multi/dummy-frame-restore.exp
11650 * gdb.multi/multi-arch-exec.exp
11651 * gdb.multi/remove-inferiors.exp
11652 * gdb.multi/watchpoint-multi-exit.exp
11653 * gdb.opt/solib-intra-step.exp
11654 * gdb.perf/backtrace.exp
11655 * gdb.perf/single-step.exp
11656 * gdb.perf/skip-command.exp
11657 * gdb.perf/skip-prologue.exp
11658 * gdb.perf/solib.exp
11659 * gdb.python/lib-types.exp
11660 * gdb.python/py-as-string.exp
11661 * gdb.python/py-bad-printers.exp
11662 * gdb.python/py-block.exp
11663 * gdb.python/py-breakpoint.exp
11664 * gdb.python/py-cmd.exp
11665 * gdb.python/py-events.exp
11666 * gdb.python/py-evthreads.exp
11667 * gdb.python/py-finish-breakpoint.exp
11668 * gdb.python/py-finish-breakpoint2.exp
11669 * gdb.python/py-frame-inline.exp
11670 * gdb.python/py-frame.exp
11671 * gdb.python/py-inferior.exp
11672 * gdb.python/py-infthread.exp
11673 * gdb.python/py-mi.exp
11674 * gdb.python/py-objfile.exp
11675 * gdb.python/py-pp-maint.exp
11676 * gdb.python/py-pp-registration.exp
11677 * gdb.python/py-prettyprint.exp
11678 * gdb.python/py-recurse-unwind.exp
11679 * gdb.python/py-shared.exp
11680 * gdb.python/py-symbol.exp
11681 * gdb.python/py-symtab.exp
11682 * gdb.python/py-template.exp
11683 * gdb.python/py-type.exp
11684 * gdb.python/py-unwind-maint.exp
11685 * gdb.python/py-unwind.exp
11686 * gdb.python/py-value.exp
11687 * gdb.python/python.exp
11688 * gdb.reverse/finish-reverse-bkpt.exp
11689 * gdb.reverse/insn-reverse.exp
11690 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11691 * gdb.reverse/solib-precsave.exp
11692 * gdb.reverse/solib-reverse.exp
11693 * gdb.stabs/gdb11479.exp
11694 * gdb.stabs/weird.exp
11695 * gdb.threads/fork-child-threads.exp
11696 * gdb.threads/fork-plus-threads.exp
11697 * gdb.threads/fork-thread-pending.exp
11698 * gdb.threads/forking-threads-plus-breakpoint.exp
11699 * gdb.threads/hand-call-in-threads.exp
11700 * gdb.threads/interrupted-hand-call.exp
11701 * gdb.threads/linux-dp.exp
11702 * gdb.threads/local-watch-wrong-thread.exp
11703 * gdb.threads/next-while-other-thread-longjmps.exp
11704 * gdb.threads/non-ldr-exit.exp
11705 * gdb.threads/pending-step.exp
11706 * gdb.threads/print-threads.exp
11707 * gdb.threads/process-dies-while-detaching.exp
11708 * gdb.threads/process-dies-while-handling-bp.exp
11709 * gdb.threads/pthreads.exp
11710 * gdb.threads/queue-signal.exp
11711 * gdb.threads/reconnect-signal.exp
11712 * gdb.threads/signal-command-handle-nopass.exp
11713 * gdb.threads/signal-command-multiple-signals-pending.exp
11714 * gdb.threads/signal-delivered-right-thread.exp
11715 * gdb.threads/signal-sigtrap.exp
11716 * gdb.threads/sigthread.exp
11717 * gdb.threads/staticthreads.exp
11718 * gdb.threads/stepi-random-signal.exp
11719 * gdb.threads/thread-unwindonsignal.exp
11720 * gdb.threads/thread_check.exp
11721 * gdb.threads/thread_events.exp
11722 * gdb.threads/tid-reuse.exp
11723 * gdb.threads/tls-nodebug.exp
11724 * gdb.threads/tls-shared.exp
11725 * gdb.threads/tls-so_extern.exp
11726 * gdb.threads/tls.exp
11727 * gdb.threads/wp-replication.exp
11728 * gdb.trace/actions-changed.exp
11729 * gdb.trace/actions.exp
11730 * gdb.trace/backtrace.exp
11731 * gdb.trace/change-loc.exp
11732 * gdb.trace/collection.exp
11733 * gdb.trace/deltrace.exp
11734 * gdb.trace/disconnected-tracing.exp
11735 * gdb.trace/entry-values.exp
11736 * gdb.trace/ftrace-lock.exp
11737 * gdb.trace/ftrace.exp
11738 * gdb.trace/infotrace.exp
11739 * gdb.trace/mi-trace-frame-collected.exp
11740 * gdb.trace/mi-trace-unavailable.exp
11741 * gdb.trace/mi-traceframe-changed.exp
11742 * gdb.trace/mi-tracepoint-changed.exp
11743 * gdb.trace/mi-tsv-changed.exp
11744 * gdb.trace/no-attach-trace.exp
11745 * gdb.trace/packetlen.exp
11746 * gdb.trace/passc-dyn.exp
11747 * gdb.trace/passcount.exp
11748 * gdb.trace/pending.exp
11749 * gdb.trace/pr16508.exp
11750 * gdb.trace/qtro.exp
11751 * gdb.trace/range-stepping.exp
11752 * gdb.trace/read-memory.exp
11753 * gdb.trace/report.exp
11754 * gdb.trace/save-trace.exp
11755 * gdb.trace/signal.exp
11756 * gdb.trace/stap-trace.exp
11757 * gdb.trace/status-stop.exp
11758 * gdb.trace/strace.exp
11759 * gdb.trace/tfile.exp
11760 * gdb.trace/tfind.exp
11761 * gdb.trace/trace-break.exp
11762 * gdb.trace/trace-condition.exp
11763 * gdb.trace/trace-enable-disable.exp
11764 * gdb.trace/trace-mt.exp
11765 * gdb.trace/tracecmd.exp
11766 * gdb.trace/tracefile-pseudo-reg.exp
11767 * gdb.trace/tspeed.exp
11768 * gdb.trace/tstatus.exp
11769 * gdb.trace/tsv.exp
11770 * gdb.trace/unavailable.exp
11771 * gdb.trace/while-dyn.exp
11772 * gdb.trace/while-stepping.exp
11773 * lib/gdb-guile.exp
11775 * lib/mi-support.exp
11778 * lib/prelink-support.exp
11779 * lib/selftest-support.exp
11781 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
11783 * Makefile.in: Include disable-implicit-rules.mk.
11785 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11787 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
11788 non-byte-aligned bit fields.
11790 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11793 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
11794 respects the DW_AT_data_bit_offset attribute.
11796 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
11798 * gdb.base/default.exp: Fix output of "set language".
11800 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
11802 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
11803 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
11805 * configure.ac: Remove checks for the make program.
11806 * configure: Re-generate.
11808 2016-11-16 Kevin Buettner <kevinb@redhat.com>
11810 * gdb.python/py-recurse-unwind.c (main): Add loop.
11811 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
11812 to read_register() and gdb.parse_and_eval(). Make each code
11813 call a separate case that can be individually tested.
11814 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
11815 proc. Call cont_and_backtrace for each of the code paths that
11816 we want to test in the unwinder.
11818 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
11820 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
11821 the definition of struct S.
11823 2016-11-11 Catherine Moore <clm@codesourcery.com>
11825 * gdb.base/dump.exp: Identify verilog format dump tests as such.
11827 2016-11-09 Pedro Alves <palves@redhat.com>
11829 * gdb.base/commands.exp (runto_or_return): New procedure.
11830 (gdbvar_simple_if_test, gdbvar_simple_while_test)
11831 (gdbvar_complex_if_while_test, progvar_simple_if_test)
11832 (progvar_simple_while_test, progvar_complex_if_while_test)
11833 (if_while_breakpoint_command_test)
11834 (infrun_breakpoint_command_test, breakpoint_command_test)
11835 (user_defined_command_test, watchpoint_command_test)
11836 (test_command_prompt_position, redefine_hook_test)
11837 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
11838 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
11839 multi_line_input and multi_line. Remove gdb_expect and
11840 gdb_stop_suppressing_tests uses.
11841 * lib/gdb.exp (valnum_re): New global.
11842 (multi_line_input): New procedure.
11844 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
11846 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
11848 (test_setup): Define with proc_with_prefix.
11849 (test_cli_inferior): Likewise.
11850 (test_cli_thread): Likewise.
11851 (test_cli_frame): Likewise.
11852 (test_cli_select_frame): Likewise.
11853 (test_cli_up_down): Likewise.
11854 (test_mi_thread_select): Likewise.
11855 (test_mi_stack_select_frame): Likewise.
11856 (test_cli_in_mi_inferior): Likewise.
11857 (test_cli_in_mi_thread): Likewise.
11858 (test_cli_in_mi_frame): Likewise.
11859 (top level): Do not use with_test_prefix_procname.
11861 2016-11-09 Pedro Alves <palves@redhat.com>
11863 * gdb.base/commands.exp (gdbvar_simple_if_test)
11864 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
11865 (progvar_simple_if_test, progvar_simple_while_test)
11866 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
11867 (infrun_breakpoint_command_test, breakpoint_command_test)
11868 (user_defined_command_test, watchpoint_command_test)
11869 (test_command_prompt_position, deprecated_command_test)
11870 (bp_deleted_in_command, temporary_breakpoint_commands)
11871 (stray_arg0_test, source_file_with_indented_comment)
11872 (recursive_source_test, if_commands_test)
11873 (error_clears_commands_left, redefine_hook_test)
11874 (redefine_backtrace_test): Use proc_with_prefix.
11875 * lib/gdb.exp (proc_with_prefix): New proc.
11877 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11879 * gdb.base/tui-layout.c: New file.
11880 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
11881 disassembly window contains very long lines.
11883 2016-11-08 Tom Tromey <tom@tromey.com>
11885 * gdb.python/py-value.exp (test_value_creation): Make "long" test
11886 depend on Python 2.
11888 2016-11-08 Tom Tromey <tom@tromey.com>
11890 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
11893 2016-10-29 Manish Goregaokar <manish@mozilla.com>
11895 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
11897 2016-10-27 Manish Goregaokar <manish@mozilla.com>
11899 * gdb.rust/simple.rs: Add test for univariant enums without
11900 discriminants and for encoded struct-like enums.
11902 2016-10-28 Pedro Alves <palves@redhat.com>
11904 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
11905 gdb_test_multiple, tighten regexps and match symtabs and line
11906 tables incrementally.
11908 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
11910 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
11913 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
11915 * gdb.base/exec-invalid-sysroot.exp: New file.
11917 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11919 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
11921 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11923 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
11925 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
11927 * gdb.base/killed-outside.exp: Remove $options from a call to
11928 `prepare_for_testing'.
11930 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11932 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11933 Change test message.
11935 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11937 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11940 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11942 * gdb.trace/mi-trace-save.exp: New file.
11944 2016-10-13 Yao Qi <yao.qi@linaro.org>
11946 * gdb.base/code_elim.exp (get_var_address): Remove.
11947 * gdb.base/relocate.exp: Likewise.
11948 * gdb.base/shreloc.exp: Likewise.
11949 * lib/gdb.exp (get_var_address): New.
11951 2016-10-13 Yao Qi <yao.qi@linaro.org>
11953 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11954 floating point tests if $skip_float_test is false.
11956 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
11958 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
11959 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
11961 Add 1 to argc so we guarantee distinct initial/modified argc values.
11963 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11965 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
11967 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11969 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
11970 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
11971 * gdb.arch/vsx-regs.exp: Likewise.
11973 2016-10-07 Yao Qi <yao.qi@linaro.org>
11975 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
11977 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
11979 * gdb.python/python.exp: Test decode_line("*0").
11981 2016-10-06 Doug Evans <dje@google.com>
11983 * gdb.python/py-value.exp (test_value_creation): Add test for large
11984 unsigned 64-bit value.
11986 2016-10-06 Tom Tromey <tom@tromey.com>
11988 * gdb.compile/compile.exp: Change java tests to rust.
11989 * gdb.base/setshow.exp: Change java tests to rust.
11990 * gdb.base/default.exp: Remove java from language list.
11991 * README (Examples): Update language example.
11992 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
11994 * lib/gdb.exp (skip_java_tests): Remove.
11995 * lib/java.exp: Remove.
11996 * gdb.java: Remove.
11998 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12000 * gdb.arch/mips-fcr.exp: New test.
12001 * gdb.arch/mips-fcr.c: Source for the new test.
12003 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12005 * gdb.base/solib-disc.exp: Use `standard_output_file'
12008 2016-10-06 Pedro Alves <palves@redhat.com>
12010 * gdb.base/jit-simple-dl.c: New file.
12011 * gdb.base/jit-simple-jit.c: New file, factored out from ...
12012 * gdb.base/jit-simple.c: ... this.
12013 * gdb.base/jit-simple.exp (jit_run): Delete.
12014 (build_jit): New proc.
12015 (jit_test_reread): Recompile either the main program or the shared
12016 library, depending on what is being tested. Skip changing address
12017 if caller wants to. Compare before/after addresses. If testing
12018 standalone, explicitly load the binary. Test "maint info
12020 (top level): Add "standalone vs shared lib" and "change address"
12021 vs "same address" axes.
12023 2016-10-06 Pedro Alves <palves@redhat.com>
12025 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
12028 (jit_test_reread): Use with_test_prefix. Reload the main binary
12029 explicitly. Compare the before/after addresses of the JIT
12032 2016-08-15 Doug Evans <dje@google.com>
12034 * gdb.xml/extra-regs.xml: Update, end field now required, default type
12035 for single bitfields is bool.
12036 * gdb.xml/tdesc-regs.exp: Ditto.
12038 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12040 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
12042 2016-10-05 Yao Qi <yao.qi@linaro.org>
12044 * lib/gdb.exp (support_complex_tests): Return zero if
12045 gdb_skip_float_test return true.
12047 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
12048 Simon Marchi <simon.marchi@ericsson.com>
12051 * gdb.mi/user-selected-context-sync.exp: New file.
12052 * gdb.mi/user-selected-context-sync.c: New file.
12054 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
12055 Simon Marchi <simon.marchi@ericsson.com>
12058 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
12059 =thread-select-event check.
12061 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
12063 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
12064 the compulsory L operand changes.
12065 * gdb.arch/powerpc-power.s: Likewise.
12067 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12069 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
12070 * gdb.base/jit-attach-pie.c: New file.
12071 * gdb.base/jit-attach-pie.exp: New file.
12073 2016-09-28 Pedro Alves <palves@redhat.com>
12075 * gdb.base/infcall-input.c: New file.
12076 * gdb.base/infcall-input.exp: New file.
12078 2016-09-22 Yao Qi <yao.qi@linaro.org>
12080 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
12081 (gdb_exit): Rename it to ...
12082 (gdbserver_gdb_exit): ... Close GDBserver.
12083 (gdb_exit): New proc, call gdbserver_gdb_exit.
12084 (mi_gdb_exit): Likewise.
12086 2016-09-22 Yao Qi <yao.qi@linaro.org>
12088 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
12090 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
12091 Remove duplication.
12093 2016-09-22 Yao Qi <yao.qi@linaro.org>
12095 * lib/gdbserver-support.exp: Check the existence of
12096 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
12098 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
12100 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
12102 2016-09-21 Tom Tromey <tom@tromey.com>
12105 * gdb.base/quit.exp: New file.
12107 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
12109 * .gitignore: New file.
12111 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
12113 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
12116 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12118 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
12120 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12122 * gdb.cp/casts.cc (decltype): Move it ...
12123 (main): ... with its call to ...
12124 * gdb.cp/casts03.cc: ... a new file.
12125 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
12127 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12129 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
12131 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
12133 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
12134 and sync up the test with tests in gas/testsuite/gas/ppc.
12135 * gdb.arch/powerpc-power.exp: Likewise.
12137 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12139 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
12141 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
12142 Jan Kratochvil <jan.kratochvil@redhat.com>
12144 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
12145 make m1's definition to be different from m2's. Use 'dummy' as an
12146 argument for probe 'two'.
12148 2016-09-10 Jon Beniston <jon@beniston.com>
12150 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
12153 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12155 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
12156 variable declaration.
12157 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
12158 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
12159 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
12160 received HWCAP as its argument.
12162 2016-09-06 Pedro Alves <palves@redhat.com>
12164 * gdb.base/new-ui-pending-input.c: New file.
12165 * gdb.base/new-ui-pending-input.exp: New file.
12166 * gdb.exp (clear_gdb_spawn_id): New procedure.
12167 (with_spawn_id): Check whether gdb_spawn_id exists before
12168 referencing it. If gdb_spawn_id didn't exist on entry, clear it
12171 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12173 * gdb.base/float128.c: New file.
12174 * gdb.base/float128.exp: Likewise.
12175 * gdb.base/floatn.c: Likewise.
12176 * gdb.base/floatn.exp: Likewise.
12178 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12180 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
12182 2016-09-05 Pedro Alves <palves@redhat.com>
12185 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
12186 unwinders are immediately called as side effect of "source" or
12187 "disable unwinder" commands.
12188 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
12190 2016-09-02 Yao Qi <yao.qi@linaro.org>
12192 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
12193 is true and $type is "float" or "double".
12195 2016-09-02 Yao Qi <yao.qi@linaro.org>
12197 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
12199 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
12200 * gdb.base/call-rt-st.exp: Likewise.
12201 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
12202 return value instead of gdb,skip_float_test.
12203 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
12204 (do_function_calls): Use its return value instead of
12205 gdb,skip_float_test.
12206 * gdb.base/finish.exp: Likewise.
12207 * gdb.base/funcargs.exp: Likewise.
12208 * gdb.base/return.exp: Likewise.
12209 * gdb.base/return2.exp: Likewise.
12210 * gdb.base/varargs.exp: Likewise.
12211 * lib/gdb.exp (gdb_skip_float_test): Change it to
12212 gdb_caching_proc. Detect the broken ptrace on arm-linux.
12214 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12216 * gdb.multi/tids.exp: Test "thread apply all".
12218 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12220 * gdb.base/default.exp (tty): Remove.
12222 2016-08-24 Kevin Buettner <kevinb@redhat.com>
12224 * gdb.python/py-recurse-unwind.c: New file.
12225 * gdb.python/py-recurse-unwind.py: New file.
12226 * gdb.python/py-recurse-unwind.exp: New file.
12228 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
12230 * gdb.base/set-inferior-tty.exp: New file.
12231 * gdb.base/set-inferior-tty.c: New file.
12233 2016-08-23 Pedro Alves <palves@redhat.com>
12236 * gdb.base/new-ui-echo.c: New file.
12237 * gdb.base/new-ui-echo.exp: New file.
12239 2016-08-23 Yao Qi <yao.qi@linaro.org>
12241 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
12243 * gdb.server/connect-without-multi-process.exp (do_test):
12246 2016-08-23 Yao Qi <yao.qi@linaro.org>
12248 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
12249 standalone_txt. Delete gdb_txt and standalone_txt on host
12250 and target. Spawn the binary on target. Copy files from
12253 2016-08-22 Pedro Alves <palves@redhat.com>
12256 * gdb.base/vdso-warning.exp: Test core dumps too. Use
12257 with_test_prefix. Factor out bits to ...
12258 (test_no_vdso): ... this new procedure.
12260 2016-08-19 Carl Love <cel@us.ibm.com>
12262 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
12263 maintaining separate logic for constructing the output path.
12264 * gdb.arch/powerpc-d128-regs.exp: Likewise.
12265 * gdb.arch/ppc-dfp.exp: Likewise.
12266 * gdb.arch/ppc-fp.exp: Likewise.
12267 * gdb.arch/vsx-regs.exp: Likewise.
12268 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
12269 binprefix for generating the additional binary files.
12271 2016-08-19 Pedro Alves <palves@redhat.com>
12273 * gdb.trace/mi-trace-frame-collected.exp
12274 (test_trace_frame_collected): On x32, expect two registers.
12276 2016-08-18 Carl Love <cel@us.ibm.com>
12278 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
12279 and sync up the test with tests in gas/testsuite/gas/ppc.
12280 * gdb.arch/powerpc-power.exp: Likewise.
12282 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12284 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
12285 expected error message.
12287 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12289 * gdb.multi/remove-inferiors.exp: New file.
12290 * gdb.multi/remove-inferiors.c: New file.
12292 2016-08-12 Yao Qi <yao.qi@linaro.org>
12294 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
12297 2016-08-10 Pedro Alves <palves@redhat.com>
12300 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
12303 2016-08-09 Pedro Alves <palves@redhat.com>
12304 Simon Marchi <simon.marchi@ericsson.com>
12307 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
12308 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
12310 2016-08-09 Pedro Alves <palves@redhat.com>
12313 * gdb.mi/mi-cmd-error.exp: New file.
12315 2016-08-09 Pedro Alves <palves@redhat.com>
12318 * gdb.base/signals-state-child.c: New file.
12319 * gdb.base/signals-state-child.exp: New file.
12320 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
12322 2016-08-09 Pedro Alves <palves@redhat.com>
12324 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
12326 2016-08-03 Tom Tromey <tom@tromey.com>
12329 * gdb.python/py-frame-inline.exp: Add Frame.function test.
12331 2016-08-01 Yao Qi <yao.qi@linaro.org>
12333 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
12334 variable mode to "multi-process" if $multi_process is 1, otherwise
12335 set it to "single-process".
12337 2016-08-01 Yao Qi <yao.qi@linaro.org>
12339 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
12340 * gdb.cp/cpexprs.exp: Likewise.
12341 * gdb.cp/m-static.exp: Likewise.
12343 2016-07-26 Tom Tromey <tom@tromey.com>
12346 * gdb.threads/tls.exp (check_thread_local): Add python symbol
12349 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
12351 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
12352 selecting assembly source files.
12353 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
12354 assembly source files.
12355 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
12356 assembly source files.
12357 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
12358 selecting assembly source files.
12360 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
12362 * gdb.base/new-ui.exp (do_test_invalid_args): New
12365 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
12367 * gdb.btrace/reconnect.c: New file.
12368 * gdb.btrace/reconnect.exp: New file.
12370 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
12372 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
12373 to test_catch_syscall_group.
12374 (test_catch_syscall_group): New.
12376 2016-07-21 Tom Tromey <tom@tromey.com>
12378 * gdb.rust/simple.rs (main): Use empty struct expression.
12379 * gdb.rust/simple.exp: Add tests for empty struct expression.
12381 2016-07-21 Yao Qi <yao.qi@linaro.org>
12383 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
12384 if gdb_skip_xml_test is true on some targets.
12386 2016-07-21 Yao Qi <yao.qi@linaro.org>
12388 * gdb.server/solib-list.exp: Unset last_loaded_file.
12390 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12392 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
12393 "step into captured_main (args)".
12395 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12397 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
12399 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12401 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
12403 2016-07-19 Pedro Alves <palves@redhat.com>
12405 * gdb.opt/inline-break.exp: Remove optimize=-O2.
12406 * gdb.opt/inline-bt.exp: Likewise.
12407 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
12408 additional_flags=-Winline.
12409 * gdb.opt/inline-locals.exp: Likewise.
12410 * gdb.opt/inline-markers.c (ATTR): Define.
12411 (inlined_fn): Use it.
12413 2016-07-19 Yao Qi <yao.qi@linaro.org>
12415 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
12416 (test_with_self): Remove some code. Remove argument executable.
12417 (top-level): Use do_self_tests.
12419 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
12420 Don Breazeal <donb@codesourcery.com>
12422 * gdb.base/maint.exp: Escape paths used in regular expressions.
12423 * gdb.stabs/weird.exp: Likewise.
12425 2016-07-13 Tom Tromey <tom@tromey.com>
12427 PR python/15620, PR python/18620:
12428 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
12429 (test_bkpt_events): New procs.
12431 2016-07-13 Tom Tromey <tom@tromey.com>
12434 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
12436 (test_watchpoints): Likewise.
12437 (test_bkpt_pending): New proc.
12439 2016-07-13 Tom Tromey <tom@tromey.com>
12442 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
12445 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12447 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
12448 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
12449 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
12451 (g): Rename g_end_lbl to g_label.
12452 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
12453 low_pc and high_pc.
12454 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
12456 2016-07-12 Tom Tromey <tom@tromey.com>
12459 * gdb.python/py-unwind-maint.exp: Update tests.
12461 2016-07-12 Yao Qi <yao.qi@linaro.org>
12463 * lib/selftest-support.exp (selftest_setup): Match the output
12464 when captured_main is inlined.
12466 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
12468 * gdb.fortran/derived-types.exp (result_line, result_line_2):
12470 (print this%a, print this%b, print this): New tests.
12471 * gdb.fortran/derived-types.f90 (this): New object and
12474 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12476 * gdb.ada/arraydim.exp: Remove extra directory level in build
12479 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12481 * lib/ada.exp: Remove extra directory level in build directory.
12482 * gdb.ada/cond_lang.exp: Likewise.
12483 * gdb.ada/exec_changed.exp: Likewise.
12484 * gdb.ada/lang_switch.exp: Likewise.
12486 2016-07-06 Manish Goregaokar <manish@mozilla.com>
12488 * simple.rs: Add test for raw pointer subscripting.
12489 * simple.exp: Add test expectations.
12491 2016-07-05 Yao Qi <yao.qi@linaro.org>
12493 * gdb.mi/mi-reverse.exp: Match =record-started output.
12495 2016-07-01 Pedro Alves <palves@redhat.com>
12497 * gdb.base/jit-reader.exp (info_registers_current_frame): New
12499 (jit_reader_test): Test the jit reader's unwinder.
12500 * gdb.base/jithost.c (jit_function_00_code): New global.
12501 (main): Use memcpy to fill in the mmapped code, instead of poking
12502 bytes manually here.
12503 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
12505 (read_debug_info): Save the function's range.
12506 (read_sp): New function.
12507 (unwind_frame): Use it. Also unwind RBP.
12508 (get_frame_id): Use read_sp.
12509 (gdb_init_reader): Use calloc instead of malloc.
12510 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
12511 parameter. Use gdb_test_multiple.
12513 2016-07-01 Pedro Alves <palves@redhat.com>
12514 Antoine Tremblay <antoine.tremblay@ericsson.com>
12516 * gdb.threads/process-dies-while-detaching.c: New file.
12517 * gdb.threads/process-dies-while-detaching.exp: New file.
12519 2016-07-01 Pedro Alves <palves@redhat.com>
12521 * gdb.multi/watchpoint-multi-exit.c: New file.
12522 * gdb.multi/watchpoint-multi-exit.exp: New file.
12524 2016-06-30 Pedro Alves <palves@redhat.com>
12526 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
12527 unset inferior_spawn_id.
12529 2016-06-30 Pedro Alves <palves@redhat.com>
12531 * lib/mi-support.exp (default_mi_gdb_start): Declare global
12532 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
12534 2016-06-29 Yao Qi <yao.qi@linaro.org>
12536 * gdb.base/return.c: Add copyright header.
12538 2016-06-29 Tom Tromey <tom@tromey.com>
12541 * gdb.python/py-framefilter.exp: Add tests for setting priority
12542 and disabling of non-existent frame filter.
12544 2016-06-29 Yao Qi <yao.qi@linaro.org>
12546 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
12549 2016-06-28 Yao Qi <yao.qi@linaro.org>
12551 * gdb.base/catch-syscall.exp: Remove check on isnative and target
12552 triplets. Start gdb, execute catch syscall, and continue. Check
12553 gdb's output to determine catch syscall is supported.
12555 2016-06-27 Manish Goregaokar <manish@mozilla.com>
12557 * gdb.rust/simple.rs: Add test for returning unit in a function.
12558 * gdb.rust/simple.exp: Add expectation for functions returning
12561 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
12563 * gdb.python/py-breakpoint-create-fail.c,
12564 gdb.python/py-breakpoint-create-fail.exp,
12565 gdb.python/py-breakpoint-create-fail.py: New testcase.
12567 2016-06-25 Manish Goregaokar <manish@mozilla.com>
12570 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
12571 * gdb.rust/simple.exp: Add test expectations for new NonZero
12574 2016-06-24 David Taylor <dtaylor@emc.com>
12576 * gdb.base/offsets.exp: New file.
12577 * gdb.base/offsets.c: New file.
12579 2016-06-23 Tom Tromey <tom@tromey.com>
12582 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
12583 before any filters are loaded.
12585 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
12587 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
12588 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
12590 * gdb.fortran/derived-type-function.exp: New file.
12591 * gdb.fortran/derived-type-function.f90: New file.
12594 2016-06-21 Pedro Alves <palves@redhat.com>
12596 * gdb.base/new-ui.exp: New file.
12597 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
12598 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
12599 (with_spawn_id): New procedure.
12601 2016-06-21 Pedro Alves <palves@redhat.com>
12603 * gdb.mi/mi-exec-run.exp: New file.
12605 2016-06-21 Pedro Alves <palves@redhat.com>
12607 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
12608 breakpoint command's output on the main UI.
12609 (test_break): New procedure, factored out from calls in the top
12611 (top level): Use foreach_with_prefix to test MI as main UI and as
12614 2016-06-21 Pedro Alves <palves@redhat.com>
12616 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
12617 (test_awatch_creation_and_listing)
12618 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
12619 Remove 'type' parameter.
12620 (test_watchpoint_all): New parameter mi_mode. Remove
12622 (top level): Use foreach_with_prefix, and add main/separate UI MI
12625 2016-06-21 Pedro Alves <palves@redhat.com>
12627 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
12628 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
12629 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
12630 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
12631 (gdb_main_spawn_id, mi_spawn_id): Declare and
12633 (mi_create_inferior_pty): New procedure,
12634 factored out from default_mi_gdb_start.
12635 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
12637 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
12638 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
12639 Use mi_create_inferior_pty.
12640 (mi_gdb_start): Use eval to pass down args list.
12642 2016-06-21 Pedro Alves <palves@redhat.com>
12644 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
12645 * gdb.opt/inline-cmds.exp: Add MI tests.
12647 2016-06-21 Pedro Alves <palves@redhat.com>
12649 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
12651 2016-06-21 Pedro Alves <palves@redhat.com>
12653 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
12654 (top level): Use it instead of mi_execute_to.
12656 2016-06-21 Pedro Alves <palves@redhat.com>
12658 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
12659 (cont_handler_str): New.
12660 (signal_stop_handler): Set stop_handler_str instead of printing to
12662 (continue_handler): Set cont_handler_str instead of printing to
12664 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
12665 mi_send_resuming_command. Print stop_handler_str and
12666 cont_handler_str instead of expecting the python events print
12669 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
12671 * gdb.base/jit-reader.exp: New file.
12672 * gdb.base/jithost.c: New file.
12673 * gdb.base/jithost.h: New file.
12674 * gdb.base/jitreader.c : New file.
12675 * gdb.base/jit-protocol.h: New file.
12677 2016-06-17 Yao Qi <yao.qi@linaro.org>
12679 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
12680 parameters follow_fork and detach_on_fork. Set follow-fork-mode
12681 and detach-on-fork. Adjust tests.
12682 (top level): Invoke break_cond_on_syscall with combinations of
12683 syscall, follow-fork-mode and detach-on-fork.
12685 2016-06-17 Yao Qi <yao.qi@linaro.org>
12687 * gdb.base/step-over-exit.c: New.
12688 * gdb.base/step-over-exit.exp: New.
12690 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
12692 * gdb.base/float.exp: Add target check for nds32*-*-*.
12693 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
12695 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
12697 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
12698 for unsupported target features.
12699 * gdb.base/call-rt-st.exp: Likewise.
12700 * gdb.base/call-sc.exp: Likewise.
12701 * gdb.base/call-signal-resume.exp: Likewise.
12702 * gdb.base/call-strs.exp: Likewise.
12703 * gdb.base/callexit.exp: Likewise.
12704 * gdb.base/callfuncs.exp: Likewise.
12705 * gdb.base/nodebug.exp: Likewise.
12706 * gdb.base/printcmds.exp: Likewise.
12707 * gdb.base/ptype.exp: Likewise.
12708 * gdb.base/structs.exp: Likewise.
12709 * gdb.base/unwindonsignal.exp: Likewise.
12710 * gdb.cp/gdb2495.exp: Likewise.
12711 * gdb.cp/templates.exp: Likewise.
12712 * gdb.cp/virtfunc.exp: Likewise.
12713 * gdb.threads/hand-call-in-threads.exp: Likewise.
12714 * gdb.threads/interrupted-hand-call.exp: Likewise.
12715 * gdb.threads/thread-unwindonsignal.exp: Likewise.
12717 2016-06-10 Tom Tromey <tom@tromey.com>
12720 * gdb.rust/expr.exp: Add test for integer constant larger than
12723 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
12725 * gdb.fortran/nested-funcs.exp: New.
12726 * gdb.fortran/nested-funcs.f90: New.
12728 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
12730 * gdb.base/examine-backward.c: New file.
12731 * gdb.base/examine-backward.exp: New file.
12733 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
12735 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
12738 2016-06-02 Tom Tromey <tom@tromey.com>
12741 * gdb.python/py-shared.exp: Add solib_name test.
12743 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
12745 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
12747 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
12750 * gdb.dwarf2/implref.exp: Rename to...
12751 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
12752 * gdb.dwarf2/implref-array.c: New file.
12753 * gdb.dwarf2/implref-array.exp: Likewise.
12754 * gdb.dwarf2/implref-global.c: Likewise.
12755 * gdb.dwarf2/implref-global.exp: Likewise.
12756 * gdb.dwarf2/implref-struct.c: Likewise.
12757 * gdb.dwarf2/implref-struct.exp: Likewise.
12759 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12761 * gdb.trace/trace-condition.exp: Add 64bit tests.
12763 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12765 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
12767 (main): Adapt to 8 to 64 bits types.
12768 * gdb.trace/trace-condition.exp: Add new tests.
12770 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12772 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
12774 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12776 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
12777 Move condition tests...
12778 * gdb.trace/trace-condition.exp: Here.
12780 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12782 * gdb.trace/trace-condition.exp: Add counter-case tests.
12784 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12787 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
12788 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
12790 2016-05-27 Pedro Alves <palves@redhat.com>
12792 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12794 (top level): Call it, and bail out of DejaGnu is known to be bad.
12796 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
12798 * gdb.base/whatis.c: Extend the test case.
12799 * gdb.base/whatis.exp: Add additional tests.
12801 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12803 * gdb.fortran/type.f90: Add pointer variable.
12804 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
12806 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12808 * gdb.fortran/vla-type.exp: Fix testcase name.
12810 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12812 * gdb.fortran/vla-type.exp: Access elements in nested structs.
12814 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12816 * gdb.fortran/type.f90: Add nested structures.
12817 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
12818 * gdb.fortran/derived-type.exp: Adapt expected output.
12819 * gdb.fortran/vla-type.exp: Adapt expected output.
12821 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12823 * gdb.fortran/whatis_type.exp: Adapt expected output.
12825 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12827 * gdb.fortran/print_type.exp: Fix expected output.
12828 * gdb.fortran/whatis_type.exp: Fix expected output.
12830 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12832 * gdb.fortran/whatis_type.exp: Use multi_line.
12834 2016-05-24 Tom Tromey <tom@tromey.com>
12837 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
12838 use value as an index.
12840 2016-05-23 Tom Tromey <tom@tromey.com>
12843 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
12844 no-breakpoint case.
12846 2016-05-24 Pedro Alves <palves@redhat.com>
12849 * gdb.threads/clone-attach-detach.c: New file.
12850 * gdb.threads/clone-attach-detach.exp: New file.
12852 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
12854 * gdb.base/annota-input-while-running.exp: Fix syntax error.
12856 2016-05-23 Tom Tromey <tom@tromey.com>
12858 PR python/19438, PR python/18393:
12859 * gdb.python/py-progspace.exp: Add "dir" test.
12860 * gdb.python/py-objfile.exp: Add "dir" test.
12862 2016-05-23 Yao Qi <yao.qi@linaro.org>
12864 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
12865 * gdb.arch/thumb2-it.exp: Likewise.
12867 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
12869 * gdb.mi/mi-threads-interrupt.c: New file.
12870 * gdb.mi/mi-threads-interrupt.exp: New file.
12872 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
12875 * gdb.mi/mi-async-run.exp: New file.
12876 * gdb.mi/mi-async-run.c: New file.
12878 2016-05-17 Tom Tromey <tom@tromey.com>
12879 Manish Goregaokar <manishsmail@gmail.com>
12881 * lib/rust-support.exp: New file.
12882 * lib/gdb.exp (skip_rust_tests): New proc.
12883 (build_executable_from_specs): Handle rust.
12884 * lib/future.exp (gdb_find_rustc): New proc.
12885 (gdb_default_target_compile): Handle rust.
12886 * gdb.rust/expr.exp: New file.
12887 * gdb.rust/generics.exp: New file.
12888 * gdb.rust/generics.rs: New file.
12889 * gdb.rust/methods.exp: New file.
12890 * gdb.rust/methods.rs: New file.
12891 * gdb.rust/modules.exp: New file.
12892 * gdb.rust/modules.rs: New file.
12893 * gdb.rust/simple.exp: New file.
12894 * gdb.rust/simple.rs: New file.
12896 2016-05-17 Tom Tromey <tom@tromey.com>
12898 * gdb.base/default.exp (set language): Add rust.
12900 2016-05-17 Tom Tromey <tom@tromey.com>
12902 * gdb.gdb/unittest.exp: New file.
12904 2016-05-16 Yao Qi <yao.qi@linaro.org>
12906 * gdb.base/batch-preserve-term-settings.exp: Remove variable
12907 shell_prompt. Update shell_prompt_re.
12909 2016-05-12 Doug Evans <dje@google.com>
12912 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
12913 $options when building executable.
12914 * gdb.dwarf2/fission-loclists-pie.S: New file.
12915 * gdb.dwarf2/fission-loclists-pie.exp: New file.
12917 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12919 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
12920 of [is_remote target],
12922 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12924 * lib/gdb.exp (use_gdb_stub): New procedure.
12926 2016-05-03 Yunlian Jiang <yunlian@google.com>
12927 Doug Evans <dje@google.com>
12930 * gdb.dwarf2/dwp-sepdebug.c: New file.
12931 * gdb.dwarf2/dwp-sepdebug.exp: New file.
12933 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12935 * gdb.base/detach.exp: Remove is_remote check.
12937 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12939 * gdb.base/annota-input-while-running.exp: Don't check for
12940 [is_remote target]. Enable annotations after running to main.
12941 Remove unused "set test..." line.
12943 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12945 * gdb.trace/trace-enable-disable.exp: New file.
12946 * gdb.trace/trace-enable-disable.c: New file.
12948 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12950 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
12951 use it in info sharedlibrary test.
12952 * gdb.trace/ftrace-lock.exp: Likewise.
12953 * gdb.trace/ftrace.exp: Likewise.
12954 * gdb.trace/range-stepping.exp: Likewise.
12955 * gdb.trace/trace-break.exp: Likewise.
12956 * gdb.trace/trace-condition.exp: Likewise.
12957 * gdb.trace/trace-mt.exp: Likewise.
12959 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12961 * lib/gdb.exp (gdb_load_shlibs): Rename to...
12962 (gdb_load_shlib): ... this.
12963 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
12965 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
12966 * gdb.base/ctxobj.exp: Likewise.
12967 * gdb.base/dprintf-pending.exp: Likewise.
12968 * gdb.base/dso2dso.exp: Likewise.
12969 * gdb.base/fixsection.exp: Likewise.
12970 * gdb.base/gcore-relro.exp: Likewise.
12971 * gdb.base/gdb1555.exp: Likewise.
12972 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12973 * gdb.base/gnu-ifunc.exp: Likewise.
12974 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
12975 * gdb.base/jit-so.exp (one_jit_test): Likewise.
12976 * gdb.base/pending.exp: Likewise.
12977 * gdb.base/print-file-var.exp: Likewise.
12978 * gdb.base/print-symbol-loading.exp: Likewise.
12979 * gdb.base/shlib-call.exp: Likewise.
12980 * gdb.base/shreloc.exp: Likewise.
12981 * gdb.base/so-impl-ld.exp: Likewise.
12982 * gdb.base/solib-disc.exp: Likewise.
12983 * gdb.base/solib-nodir.exp: Likewise.
12984 * gdb.base/solib-overlap.exp: Likewise.
12985 * gdb.base/solib-symbol.exp: Likewise.
12986 * gdb.base/solib-weak.exp (do_test): Likewise.
12987 * gdb.base/sym-file.exp: Likewise.
12988 * gdb.base/symtab-search-order.exp: Likewise.
12989 * gdb.base/type-opaque.exp: Likewise.
12990 * gdb.base/unload.exp: Likewise.
12991 * gdb.base/watchpoint-solib.exp: Likewise.
12992 * gdb.compile/compile.exp: Likewise.
12993 * gdb.cp/gdb2384.exp: Likewise.
12994 * gdb.cp/infcall-dlopen.exp: Likewise.
12995 * gdb.cp/re-set-overloaded.exp: Likewise.
12996 * gdb.fortran/library-module.exp: Likewise.
12997 * gdb.opt/solib-intra-step.exp: Likewise.
12998 * gdb.python/py-finish-breakpoint.exp: Likewise.
12999 * gdb.python/py-shared.exp: Likewise.
13000 * gdb.reverse/solib-precsave.exp: Likewise.
13001 * gdb.reverse/solib-reverse.exp: Likewise.
13002 * gdb.server/solib-list.exp: Likewise.
13003 * gdb.threads/dlopen-libpthread.exp: Likewise.
13004 * gdb.threads/tls-shared.exp: Likewise.
13005 * gdb.threads/tls-so_extern.exp: Likewise.
13006 * gdb.trace/change-loc.exp: Likewise.
13007 * gdb.trace/ftrace-lock.exp: Likewise.
13008 * gdb.trace/ftrace.exp: Likewise.
13009 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
13010 * gdb.trace/pending.exp: Likewise.
13011 * gdb.trace/range-stepping.exp: Likewise.
13012 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
13013 (strace_info_marker): Likewise.
13014 (strace_probe_marker): Likewise.
13015 (strace_trace_on_same_addr): Likewise.
13016 (strace_trace_on_diff_addr): Likewise.
13017 * gdb.trace/trace-break.exp: Likewise.
13018 * gdb.trace/trace-condition.exp: Likewise.
13019 * gdb.trace/trace-mt.exp: Likewise.
13021 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13023 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
13024 result of gdb_remote_download.
13025 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
13026 * gdb.base/dso2dso.exp: Likewise.
13027 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13028 * gdb.base/print-file-var.exp: Likewise.
13029 * gdb.base/shlib-call.exp: Likewise.
13030 * gdb.base/shreloc.exp: Likewise.
13031 * gdb.base/solib-overlap.exp: Likewise.
13032 * gdb.base/solib-weak.exp (do_test): Likewise.
13033 * gdb.base/unload.exp: Likewise.
13035 2016-04-27 Yao Qi <yao.qi@linaro.org>
13037 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
13040 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13042 * vla-type.exp: Print structure from toplevel.
13044 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13046 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
13048 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
13051 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13053 * gdb.fortran/vla-type.f90: New file.
13054 * gdb.fortran/vla-type.exp: New file.
13056 2016-04-25 Yao Qi <yao.qi@linaro.org>
13058 * gdb.base/branch-to-self.c: New file.
13059 * gdb.base/branch-to-self.exp: New file.
13061 2016-04-22 Yao Qi <yao.qi@linaro.org>
13063 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
13066 2016-04-22 Yao Qi <yao.qi@linaro.org>
13068 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
13069 * gdb.base/annota3.exp: Likewise.
13071 2016-04-22 Yao Qi <yao.qi@linaro.org>
13073 * gdb.reverse/step-precsave.exp: Do one step and test program
13074 stops in "callee" and do multiple steps until program goes out
13076 * gdb.reverse/step-reverse.exp: Likewise.
13078 2016-04-22 Yao Qi <yao.qi@linaro.org>
13080 * gdb.trace/signal.exp: Also pass if
13081 $tracepoint_hits($i) > $iterations.
13083 2016-04-22 Yao Qi <yao.qi@linaro.org>
13085 * gdb.trace/signal.c: New file.
13086 * gdb.trace/signal.exp: New file.
13088 2016-04-19 Doug Evans <xdje42@gmail.com>
13090 * gdb.base/bad-file.exp: New file.
13092 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
13094 * gdb.dwarf2/implref.exp: New file.
13096 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13098 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
13099 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
13100 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
13101 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
13102 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
13103 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
13104 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
13105 * lib/fortran.exp (fortran_int4): New procedure.
13106 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
13107 (fortran_logical4): Likewise.
13109 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
13111 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
13113 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13115 * lib/compiler.c: Add Intel specific preprocessor macros.
13116 * lib/compiler.cc: Likewise.
13118 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
13120 * gdb.server/connect-with-no-symbol-file.c: New file.
13121 * gdb.server/connect-with-no-symbol-file.exp: New file.
13123 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13125 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
13127 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13129 * boards/gdbserver-base.exp (${board}_download): Copy source file to
13130 standard output directory.
13132 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
13134 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
13136 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
13138 * gdb.btrace/instruction_history.c (loop): Add declaration.
13140 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13142 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
13144 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
13146 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
13147 parentheses to print.
13148 (continue_handler): Likewise.
13150 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
13152 * gdb.server/solib-list.exp: Remove is_remote check.
13153 Pass shlib= to gdb_compile. Don't link shared library with
13154 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
13155 Run binary filename through "readlink -f" on the target.
13157 2016-04-08 Pedro Alves <palves@redhat.com>
13159 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
13160 interpreter filename as argument to gdbserver_spawn.
13161 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13162 Return empty if $last_loaded_file does not exist.
13164 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13166 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
13167 * gdb.base/jit-main.c: Use exit after usage.
13169 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13171 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
13172 GDBHISTSIZE prior to the tests.
13173 * gdb.base/gdbinit-history.exp: Likewise.
13175 2016-04-07 Pedro Alves <palves@redhat.com>
13177 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
13178 instead of build_executable. Use gdb_load_shlibs.
13180 2016-04-07 Yao Qi <yao.qi@linaro.org>
13182 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
13183 Execute "si" command.
13185 2016-04-07 Yao Qi <yao.qi@linaro.org>
13187 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
13188 number instead of the comments on some line.
13190 2016-04-06 Don Breazeal <donb@codesourcery.com>
13192 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
13193 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
13195 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
13197 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
13198 standard_output_file. Remove unused binfile variable.
13200 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
13202 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
13203 * gdb.python/py-mi-objfile.exp: Match "list main" output
13206 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
13208 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
13211 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13213 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
13215 * gdb.trace/ftrace.exp: Likewise.
13216 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
13218 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
13219 (gdb_load_shlibs): Copy libraries to test directory when testing
13220 natively. Only set solib-search-path if testing remotely.
13221 * lib/mi-support.exp (mi_load_shlibs): Likewise.
13223 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13225 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
13226 gdb_download. Use it even if the target is not remote.
13227 * gdb.base/jit.exp (compile_jit_test): Likewise.
13228 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
13229 output directory if the destination board is local, otherwise use
13230 the standard remote_download from DejaGnu.
13231 (gdb_download): Remove.
13232 (gdb_load_shlibs): Use gdb_remote_download instead of
13234 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13235 Use gdb_remote_download instead of gdb_download. Use it even if
13236 the target is not remote.
13237 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
13238 instead of gdb_download.
13240 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
13242 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
13243 (test_insert_delete_modify): Call mi_load_shlibs before trying to
13246 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
13249 * gdb.base/printcmds.exp: Add artificial arrays tests.
13251 2016-03-31 Pedro Alves <palves@redhat.com>
13254 * gdb.base/jit-main.c: Include unistd.h.
13255 (ATTACH): Define to 0 if not already defined.
13256 (wait_for_gdb, mypid): New globals.
13257 (WAIT_FOR_GDB): New macro.
13258 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
13259 some breakpoint locations.
13260 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
13262 (one_jit_test): Add REATTACH parameter, and handle it. Use
13263 continue_to_test_location.
13264 (top level): Test attach, and adjusts calls to one_jit_test.
13266 2016-03-31 Pedro Alves <palves@redhat.com>
13269 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
13270 BINSUFFIX parameter, and handle it.
13271 (top level): Adjust calls compile_jit_test.
13273 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
13276 * gdb.python/py-mi-events-gdb.py: New file.
13277 * gdb.python/py-mi-events.c: New file.
13278 * gdb.python/py-mi-events.exp: New file.
13280 2016-03-30 Yao Qi <yao.qi@linaro.org>
13282 * gdb.reverse/until-precsave.exp: Match function name only.
13283 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
13284 Move malloc to a condition block.
13285 * gdb.reverse/until-reverse.exp: Match function name only.
13287 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
13289 * gdb.trace/ftrace.exp: Set arg0exp for s390.
13290 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
13291 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
13292 variable for GPR 0 instead of assuming it is register 0.
13293 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
13294 * lib/trace-support.exp: Add s390 registers.
13296 2016-03-29 Yao Qi <yao.qi@linaro.org>
13298 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
13300 2016-03-24 Yao Qi <yao.qi@linaro.org>
13302 * gdb.reverse/break-reverse.exp: Add quotation mark in the
13305 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13307 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
13308 maintaining separate logic for constructing the output path.
13310 2016-03-16 Don Breazeal <donb@codesourcery.com>
13312 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
13313 Retry fork and waitpid on interrupted system call errors.
13314 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13315 Use with_timeout_factor to increase timeout by factor of 10.
13317 2016-03-15 Don Breazeal <donb@codesourcery.com>
13319 * gdb.cp/scope-err.cc: New test program.
13320 * gdb.cp/scope-err.exp: New test script.
13321 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
13322 lines and "set breakpoint here" comment.
13323 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
13324 Fixed some whitespace and format issues.
13325 * gdb.mi/mi-linespec-err-cp.cc: New test program.
13326 * gdb.mi/mi-linespec-err-cp.exp: New test script.
13328 2016-03-15 Doug Evans <dje@google.com>
13330 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
13331 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
13332 All callers updated. Add tests for enums, mixed flags register.
13334 2016-03-15 Doug Evans <dje@google.com>
13336 * gdb.base/skip.c (main): Call test_skip_file_and_function.
13337 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
13339 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
13341 * gdb.base/default.exp: Add $_as_string to the list of expected
13342 convenience functions.
13344 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
13346 * gdb.base/maint.exp: New tests for 'maint info line-table'.
13348 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
13350 * gdb.python/py-as-string.exp: New file.
13351 * gdb.python/py-as-string.c: New file.
13353 2016-03-09 Pedro Alves <palves@redhat.com>
13355 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
13356 signal" -> "Thread NN received signal" output change.
13357 * gdb.threads/ia64-sigill.exp: Likewise.
13358 * gdb.threads/linux-dp.exp: Likewise.
13359 * gdb.threads/manythreads.exp: Likewise.
13360 * gdb.threads/pending-step.exp: Likewise.
13361 * gdb.threads/print-threads.exp: Likewise.
13362 * gdb.threads/sigstep-threads.exp: Likewise.
13363 * gdb.threads/staticthreads.exp: Likewise.
13364 * gdb.threads/tls.exp: Likewise.
13366 2016-03-09 Pedro Alves <palves@redhat.com>
13368 * gdb.base/command-line-input.exp: New file.
13370 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13372 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
13373 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
13374 * gdb.trace/pending.exp: Accept leading dot before function name.
13375 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
13376 * lib/trace-support.exp: Set registers for ppc.
13378 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13380 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
13381 use it for disassembly; accept .main in addition to main in backtrace.
13383 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
13384 Marcin Kościelnicki <koriakin@0x04.net>
13386 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
13387 (gdb_recursion_test_ptr): New global variable.
13388 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
13389 gdb_recursion_test.
13390 (gdb_c_test): Ditto.
13392 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13394 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
13397 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13399 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
13400 (bar): Add bar_start_lbl label.
13401 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
13402 of foo/bar for emitting DWARF and tracing.
13404 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
13406 * analyze-racy-logs.py: Set executable bit.
13408 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
13410 * Makefile.in (DEFAULT_RACY_ITER): New variable.
13411 (CHECK_TARGET_TMP): Likewise.
13412 (check-single-racy): New rule.
13413 (check-parallel-racy): Likewise.
13414 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
13415 (do-check-parallel-racy): New rule.
13416 (check-racy/%.exp): Likewise.
13417 * README (Racy testcases): New section.
13418 * analyze-racy-logs.py: New file.
13420 2016-03-03 Doug Evans <dje@google.com>
13422 * gdb.base/skip.exp: Use with_test_prefix.
13424 2016-03-03 Yao Qi <yao.qi@linaro.org>
13426 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
13427 Invoke step_over_syscall "clone" and break_cond_on_syscall
13429 * gdb.base/step-over-clone.c: New file.
13431 2016-03-03 Yao Qi <yao.qi@linaro.org>
13433 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
13436 2016-03-03 Yao Qi <yao.qi@linaro.org>
13438 * gdb.base/disp-step-fork.c: Rename to ...
13439 * gdb.base/step-over-fork.c: ... it. New file.
13440 * gdb.base/disp-step-vfork.c: Rename to ...
13441 * gdb.base/step-over-vfork.c: ... it. New file.
13442 * gdb.base/disp-step-syscall.exp: Rename to ...
13443 * gdb.base/step-over-syscall.exp: ... it. New file.
13444 (disp_step_cross_syscall): Rename to ...
13445 (step_over_syscall): ... it.
13447 2016-03-03 Yao Qi <yao.qi@linaro.org>
13449 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
13450 If target supports condition evaluation on target, invoke
13451 break_cond_on_syscall for fork and vfork.
13453 2016-03-03 Yao Qi <yao.qi@linaro.org>
13455 * gdb.base/disp-step-syscall.exp: Don't invoke
13456 support_displaced_stepping.
13457 (disp_step_cross_syscall): Test with displaced stepping off and
13460 2016-03-03 Yao Qi <yao.qi@linaro.org>
13462 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
13465 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
13468 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13470 * gdb.fortran/vla-history.exp: Remove breakpoint.
13472 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13474 * gdb.fortran/vla-history.exp: Lookup array elements and printing
13477 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13479 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
13482 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13484 * gdb.mi/vla.f90: Nullify pointer after declaration.
13486 2016-03-01 Pedro Alves <palves@redhat.com>
13488 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
13490 2016-03-01 Pedro Alves <palves@redhat.com>
13492 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
13493 before anything else.
13494 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
13496 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
13497 before anything else.
13498 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
13500 2016-03-01 Pedro Alves <palves@redhat.com>
13502 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
13504 2016-03-01 Yao Qi <yao.qi@linaro.org>
13506 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
13507 prepare_for_testing.
13509 2016-03-01 Yao Qi <yao.qi@linaro.org>
13511 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
13513 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13515 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
13516 manually constructing the output path.
13518 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13520 * gdb.arch/s390-stackless.S: New.
13521 * gdb.arch/s390-stackless.exp: New.
13523 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
13525 * gdb.dlang/circular.c: New file.
13526 * gdb.dlang/circular.exp: New file.
13528 2016-02-26 Yao Qi <yao.qi@linaro.org>
13530 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
13531 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
13532 (testcases): Update.
13534 2016-02-26 Yao Qi <yao.qi@linaro.org>
13536 * gdb.reverse/aarch64.c: Rename to ...
13537 * gdb.reverse/insn-reverse.c: ... it.
13538 * gdb.reverse/aarch64.exp: Rename to ...
13539 * gdb.reverse/insn-reverse.exp: ... it.
13541 2016-02-26 Yao Qi <yao.qi@linaro.org>
13543 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
13544 (testcase_ftype): New.
13545 (testcases): New array.
13546 (n_testcases): New.
13547 (main): Call each element in testcases.
13548 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
13549 (read_testcase): New.
13550 Do the tests in a loop.
13552 2016-02-25 Yao Qi <yao.qi@linaro.org>
13554 * gdb.base/branches.c: Remove.
13556 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13559 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
13561 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13563 * gdb.trace/ftrace.exp: Remove unnecessary target check.
13565 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13567 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
13568 change x86_64 call_insn to 'callq'.
13570 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13572 * gdb.trace/tfile-avx.c: Move to...
13573 * gdb.trace/tracefile-pseudo-reg.c: Here.
13574 * gdb.trace/tfile-avx.exp: Move to...
13575 * gdb.trace/tracefile-pseudo-reg.exp: Here.
13577 2016-02-24 Gary Benson <gbenson@redhat.com>
13579 * gdb.base/attach-pie-noexec.exp: Do not expect an error
13582 2016-02-23 Doug Evans <dje@google.com>
13584 * gdb.base/skip.c (test_skip): New function.
13585 (end_test_skip_file_and_function): New function.
13586 (test_skip_file_and_function): New function.
13587 * gdb.base/skip1.c (test_skip): New function.
13588 (skip1_test_skip_file_and_function): New function.
13589 * gdb.base/skip.exp: Add tests for new skip options.
13590 * gdb.base/skip-solib.exp: Update expected output.
13591 * gdb.perf/skip-command.cc: New file.
13592 * gdb.perf/skip-command.exp: New file.
13593 * gdb.perf/skip-command.py: New file.
13595 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
13597 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
13598 info registers pattern.
13600 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
13602 * lib/future.exp: Add D support.
13603 (gdb_find_gdc): New proc.
13604 (gdb_default_target_compile): Add D support.
13606 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
13608 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
13610 (trace_speed_test): Determine the iteration count for a time
13611 between 15..30 seconds.
13613 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
13615 * gdb.arch/i386-mpx-sigsegv.c: New file.
13616 * gdb.arch/i386-mpx-sigsegv.exp: New file.
13617 * gdb.arch/i386-mpx-simple_segv.c: New file.
13618 * gdb.arch/i386-mpx-simple_segv.exp: New file.
13620 2016-02-18 Yao Qi <yao.qi@linaro.org>
13622 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13623 Don't call setup_kfail.
13625 2016-02-18 Yao Qi <yao.qi@linaro.org>
13627 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13628 Set "set breakpoint condition-evaluation" per $cond_bp_target.
13630 2016-02-16 Doug Evans <dje@google.com>
13632 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
13633 * gdb.base/skip1.c: Ditto.
13634 * gdb.base/skip.exp: Whitespace cleanup.
13636 2016-02-16 Don Breazeal <donb@codesourcery.com>
13639 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13640 Remove kfail for PR remote/19496.
13642 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13644 * lib/gdb.exp (standard_temp_file): Return a path specific to
13645 the runtest invocation.
13647 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13649 * gdb.trace/save-trace.exp: Change relative path to be in the
13650 standard output directory.
13652 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13654 * gdb.arch/i386-prologue.c: Add missing prototypes.
13656 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13658 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
13659 * gdb.arch/i386-prologue.exp: Likewise.
13660 * gdb.arch/i386-size.exp: Likewise.
13662 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
13664 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
13665 define object file path.
13666 * gdb.btrace/gcore.exp: Use standard_output_file to define core
13668 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
13669 standard_output_file to define binfile.
13671 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13673 Fix compatibility with recent gfortran-5.3.1.
13674 * gdb.fortran/vla-history.exp (print vla1 allocated)
13675 (print vla2 allocated, print $2, print $3): Remove
13676 (print $4): Rename to ...
13677 (print $2): ... here.
13678 (print $9): Rename to ...
13679 (print $5): ... here.
13680 (print $10): Rename to ...
13681 (print $6): ... here.
13682 * gdb.fortran/vla.f90: Add pvla initialization.
13684 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13686 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
13688 * gdb.fortran/vla-value-sub.exp: Likewise.
13690 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
13692 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
13694 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
13696 * i386-biarch-core.exp: Define corefile using
13697 standard_output_file.
13699 2016-02-12 Yao Qi <yao.qi@linaro.org>
13701 * gdb.arch/arm-single-step-kernel-helper.c: New.
13702 * gdb.arch/arm-single-step-kernel-helper.exp: New.
13704 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
13706 * gdb.btrace/tailcall-only.exp: New.
13707 * gdb.btrace/tailcall-only.c: New.
13708 * gdb.btrace/x86_64-tailcall-only.S: New.
13709 * gdb.btrace/i686-tailcall-only.S: New.
13711 2016-02-11 Pedro Alves <palves@redhat.com>
13713 * README (Parallel testing): Add missing double quotes.
13715 2016-02-11 Pedro Alves <palves@redhat.com>
13717 * README (Parallel testing): New section.
13718 (GDB_PARALLEL): Rewrite.
13719 (FORCE_PARALLEL): Document.
13721 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
13723 * gdb.trace/tfile-avx.c: New test.
13724 * gdb.trace/tfile-avx.exp: New test.
13726 2016-02-09 Keith Seitz <keiths@redhat.com>
13728 PR breakpoints/19546
13729 * gdb.base/infcall-exec.c: New file.
13730 * gdb.base/infcall-exec2.c: New file.
13731 * gdb.base/infcall-exec.exp: New file.
13733 2016-02-09 Keith Seitz <keiths@redhat.com>
13735 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
13736 (toplevel): Call test_bkpt_address.
13738 2016-02-09 Keith Seitz <keiths@redhat.com>
13741 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
13742 (toplevel): Call test_bkpt_address.
13744 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
13746 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
13748 * configure: Regenerate.
13750 2016-02-09 Pedro Alves <palves@redhat.com>
13752 PR breakpoints/19548
13753 * gdb.base/execl-update-breakpoints.c (some_function): New
13756 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
13757 Tighten expected GDB output.
13759 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13761 * Makefile.in (ALL_SUBDIRS): Remove.
13762 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
13763 (distclean maintainer-clean realclean): Likewise.
13764 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
13765 * configure: Regenerate.
13766 * gdb.ada/Makefile.in: Delete.
13767 * gdb.arch/Makefile.in: Likewise.
13768 * gdb.asm/Makefile.in: Likewise.
13769 * gdb.base/Makefile.in: Likewise.
13770 * gdb.btrace/Makefile.in: Likewise.
13771 * gdb.cell/Makefile.in: Likewise.
13772 * gdb.compile/Makefile.in: Likewise.
13773 * gdb.cp/Makefile.in: Likewise.
13774 * gdb.disasm/Makefile.in: Likewise.
13775 * gdb.dlang/Makefile.in: Likewise.
13776 * gdb.dwarf2/Makefile.in: Likewise.
13777 * gdb.fortran/Makefile.in: Likewise.
13778 * gdb.gdb/Makefile.in: Likewise.
13779 * gdb.go/Makefile.in: Likewise.
13780 * gdb.guile/Makefile.in: Likewise.
13781 * gdb.java/Makefile.in: Likewise.
13782 * gdb.linespec/Makefile.in: Likewise.
13783 * gdb.mi/Makefile.in: Likewise.
13784 * gdb.modula2/Makefile.in: Likewise.
13785 * gdb.multi/Makefile.in: Likewise.
13786 * gdb.objc/Makefile.in: Likewise.
13787 * gdb.opencl/Makefile.in: Likewise.
13788 * gdb.opt/Makefile.in: Likewise.
13789 * gdb.pascal/Makefile.in: Likewise.
13790 * gdb.perf/Makefile.in: Likewise.
13791 * gdb.python/Makefile.in: Likewise.
13792 * gdb.reverse/Makefile.in: Likewise.
13793 * gdb.server/Makefile.in: Likewise.
13794 * gdb.stabs/Makefile.in: Likewise.
13795 * gdb.threads/Makefile.in: Likewise.
13796 * gdb.trace/Makefile.in: Likewise.
13797 * gdb.xml/Makefile.in: Likewise.
13798 * lib/gdb.exp (make_gdb_parallel_path): Add check for
13800 (standard_output_file): Remove check for GDB_PARALLEL, always
13801 return path in outputs/$subdir/$testname.
13803 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13805 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
13806 (site.exp): Assign abs_srcdir to tcl's srcdir.
13808 2016-02-04 Yao Qi <yao.qi@linaro.org>
13810 * gdb.base/foll-exec-mode.c: Include limits.h.
13811 (main): Add parameters argc and argv. Get directory from
13813 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
13815 * gdb.base/foll-exec.c: Include limits.h.
13816 (main): Add parameters argc and argv.
13817 Get directory from argv[0].
13818 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
13819 Adjust tests on the number of lines as source code changed.
13820 * gdb.base/foll-vfork-exit.c: Include limits.h.
13821 (main): Add one line of statement before vfork.
13822 * gdb.base/foll-vfork.c: Include limits.h and string.h.
13823 (main): Add parameters argc and argv. Get directory from
13825 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
13826 (setup_gdb): Set tbreak to skip some source lines.
13827 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
13828 (main): Add parameters argc and argv. Get directory from
13830 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
13832 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
13833 (main): Add parameters argc and argv. Get directory from
13835 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
13838 2016-02-01 Doug Evans <dje@google.com>
13840 * gdb.base/skip.exp: Clean up multiple references to same test name.
13842 2016-02-01 Pedro Alves <palves@redhat.com>
13845 * gdb.threads/forking-threads-plus-breakpoint.exp
13846 (displaced_stepping_supported): New global.
13847 (probe_displaced_stepping_support): New procedure.
13848 (do_test): Add 'displaced' parameter, and use it.
13849 (top level): Check for displaced stepping support. Add displaced
13850 stepping on/off testing axis.
13852 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13854 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
13855 pointer. Don't perform further tests on the unassociated pointer
13856 if the first test fails.
13858 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13860 * gdb.base/max-value-size.c: New file.
13861 * gdb.base/max-value-size.exp: New file.
13862 * gdb.base/huge.exp: Disable max-value-size for this test.
13864 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
13866 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13868 2016-01-28 Yao Qi <yao.qi@linaro.org>
13870 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
13872 2016-01-25 Pedro Alves <palves@redhat.com>
13875 * gdb.base/fork-running-state.c: New file.
13876 * gdb.base/fork-running-state.exp: New file.
13878 2016-01-25 Pedro Alves <palves@redhat.com>
13881 * gdb.base/catch-fork-kill.c: New file.
13882 * gdb.base/catch-fork-kill.exp: New file.
13884 2016-01-25 Pedro Alves <palves@redhat.com>
13886 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
13887 Delete, moved to lib/gdb.exp.
13888 * gdb.threads/forking-threads-plus-breakpoint.exp
13889 (foreach_with_prefix): Likewise.
13890 * gdb.threads/process-dies-while-handling-bp.exp
13891 (foreach_with_prefix): Likewise.
13892 * lib/gdb.exp (foreach_with_prefix): New procedure.
13894 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
13896 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
13897 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
13899 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
13901 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
13904 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13905 Pedro Alves <palves@redhat.com>
13907 Fix testsuite compatibility with Guile.
13908 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
13911 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13913 Fix testsuite compatibility with Guile.
13914 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
13915 (thread 1): New test for backtrace through signal handler.
13917 2016-01-22 Yao Qi <yao.qi@linaro.org>
13920 * gdb.base/multi-forks.c: Include
13921 ../lib/unbuffer_output.c
13922 (main): Call gdb_unbuffer_output.
13924 2016-01-21 Doug Evans <dje@google.com>
13926 * lib/ada.exp (gdb_compile_ada): Fix typo.
13928 2016-01-21 Joel Brobecker <brobecker@adacore.com>
13930 * gdb.base/break-fun-addr.exp: New file.
13931 * gdb.base/break-fun-addr1.c: New file.
13932 * gdb.base/break-fun-addr2.c: New file.
13934 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
13936 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
13937 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
13940 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13942 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
13943 when GDB can not set the vector return value. Add more comments
13946 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
13948 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
13951 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13953 * Makefile.in (DO_RUNTEST): Add --status and update usages.
13955 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13957 * Makefile.in (check-single): Pass --status to runtest.
13958 (check/%.exp): Likewise.
13960 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13962 * Makefile.in (check-parallel): Propagate return code from make
13965 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
13967 * gdb.trace/ftrace.exp: Fix expected message on continue.
13968 * gdb.trace/pending.exp: Fix expected message on continue.
13969 * gdb.trace/trace-break.exp: Fix expected message on continue.
13971 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
13973 * lib/gdb.exp (gdb_test): Remove unused global references.
13975 2016-01-18 Pedro Alves <palves@redhat.com>
13977 * gdb.base/async-shell.exp: Adjust expected output.
13978 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
13979 * gdb.base/siginfo-thread.exp: Adjust expected output.
13980 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
13981 * gdb.java/jnpe.exp: Adjust expected output.
13982 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
13983 * gdb.threads/continue-pending-status.exp: Adjust expected output.
13984 * gdb.threads/leader-exit.exp: Adjust expected output.
13985 * gdb.threads/manythreads.exp: Adjust expected output.
13986 * gdb.threads/pthreads.exp: Adjust expected output.
13987 * gdb.threads/schedlock.exp: Adjust expected output.
13988 * gdb.threads/siginfo-threads.exp: Adjust expected output.
13989 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
13991 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
13993 * gdb.threads/sigthread.exp: Adjust expected output.
13994 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
13996 2016-01-18 Yao Qi <yao.qi@linaro.org>
13998 * gdb.guile/scm-section-script.c: Replace @progbits with
14000 * gdb.python/py-section-script.c: Likewise.
14002 2016-01-15 Pedro Alves <palves@redhat.com>
14004 * gdb.multi/tids.exp: Test star wildcard ranges.
14006 2016-01-15 Pedro Alves <palves@redhat.com>
14008 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
14009 command from "thread apply" invocation.
14010 (thr_apply_info_thr_invalid): Default the expected output to the
14012 (top level): Add tests that use convenience variables. Add tests
14013 for "thread apply" with a valid TID list, but missing the command.
14015 2016-01-13 Pedro Alves <palves@redhat.com>
14017 * gdb.base/default.exp: Expect $_gthread as well.
14018 * gdb.multi/tids.exp: Test $_gthread.
14019 * gdb.threads/thread-specific.exp: Test $_gthread.
14021 2016-01-13 Pedro Alves <palves@redhat.com>
14023 * gdb.multi/tids.exp: Test "info threads -gid".
14025 2016-01-13 Pedro Alves <palves@redhat.com>
14027 * gdb.multi/tids.exp: Test InferiorThread.global_num and
14029 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
14031 2016-01-07 Pedro Alves <palves@redhat.com>
14033 * gdb.base/break.exp: Adjust to output changes.
14034 * gdb.base/hbreak2.exp: Likewise.
14035 * gdb.base/sepdebug.exp: Likewise.
14036 * gdb.base/watch_thread_num.exp: Likewise.
14037 * gdb.linespec/keywords.exp: Likewise.
14038 * gdb.multi/info-threads.exp: Likewise.
14039 * gdb.threads/thread-find.exp: Likewise.
14040 * gdb.multi/tids.c: New file.
14041 * gdb.multi/tids.exp: New file.
14043 2016-01-13 Pedro Alves <palves@redhat.com>
14045 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
14047 2016-01-13 Pedro Alves <palves@redhat.com>
14049 * gdb.base/default.exp: Expect $_inferior as well.
14050 * gdb.multi/base.exp: Test $_inferior.
14052 2016-01-13 Pedro Alves <palves@redhat.com>
14054 PR breakpoints/19388
14055 * gdb.base/catch-signal-siginfo-cond.c: New file.
14056 * gdb.base/catch-signal-siginfo-cond.exp: New file.
14058 2016-01-12 Josh Stone <jistone@redhat.com>
14059 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14061 * gdb.base/catch-syscall.c (do_execve): New variable.
14062 (main): Conditionally trigger an execve.
14063 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
14064 (test_catch_syscall_execve): New, check entry/return across execve.
14065 (do_syscall_tests): Call test_catch_syscall_execve.
14067 2016-01-12 Pedro Alves <palves@redhat.com>
14069 * gdb.base/random-signal.exp (do_test): New procedure, with body
14070 of testcase moved in.
14072 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14073 Pedro Alves <palves@redhat.com>
14075 * gdb.base/funcargs.exp (finish from indirectly called function):
14076 Reintroduce the case for 'First'.
14078 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14079 Pedro Alves <palves@redhat.com>
14081 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14082 (tcatch_vfork_then_child_follow_exec)
14083 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
14086 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14088 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
14089 and repeats to unlimited.
14090 * gdb.python/py-value.exp: Likewise.
14091 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
14092 and repeats to unlimited.
14094 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14096 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
14097 and reordering the functions.
14098 * gdb.multi/hangout.c: Likewise.
14099 * gdb.multi/hello.c: Likewise.
14101 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
14103 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
14105 (SingleStatisticTestResult.report): Use dict.keys instead of
14108 2016-01-06 Pedro Alves <palves@redhat.com>
14110 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
14112 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
14114 * gdb.btrace/dlopen.exp: New.
14115 * gdb.btrace/dlopen.c: New.
14116 * gdb.btrace/dlopen-dso.c: New.
14118 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
14120 * lib/gdb.exp (gdb_test): Update comments to clarify that the
14121 PATTERN argument is optional.
14123 2015-12-24 Joel Brobecker <brobecker@adacore.com>
14125 * lib/ada.exp (target_compile_ada_from_dir): New function.
14126 (gdb_compile_ada): Reimplement avoiding the use of project files.
14127 * gdb.ada/gnat_ada.gpr: Delete.
14128 * gdb.ada/cond_lang.exp: Adjust test to make path before
14130 * gdb.ada/small_reg_param.exp: Likewise.
14132 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
14134 * gdb.base/foll-vork.exp: Remove HP-UX special case.
14136 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
14138 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
14141 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
14143 * gdb.base/break.exp: Remove dead code.
14144 * gdb.base/sepdebug.exp: Likewise.
14146 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14148 * gdb.asm/asm-source.exp: Remove HP-UX references.
14149 * gdb.base/annota1.exp: Likewise.
14150 * gdb.base/annota3.exp: Likewise.
14151 * gdb.base/attach.exp: Likewise.
14152 * gdb.base/bigcore.exp: Likewise.
14153 * gdb.base/break.exp: Likewise.
14154 * gdb.base/call-ar-st.exp: Likewise.
14155 * gdb.base/callfuncs.exp: Likewise.
14156 * gdb.base/catch-fork-static.exp: Likewise.
14157 * gdb.base/display.exp: Likewise.
14158 * gdb.base/foll-exec-mode.exp: Likewise.
14159 * gdb.base/foll-exec.exp: Likewise.
14160 * gdb.base/foll-fork.exp: Likewise.
14161 * gdb.base/foll-vfork.exp: Likewise.
14162 * gdb.base/funcargs.exp: Likewise.
14163 * gdb.base/hbreak2.exp: Likewise.
14164 * gdb.base/inferior-died.exp: Likewise.
14165 * gdb.base/interrupt.exp: Likewise.
14166 * gdb.base/multi-forks.exp: Likewise.
14167 * gdb.base/nodebug.exp: Likewise.
14168 * gdb.base/sepdebug.exp: Likewise.
14169 * gdb.base/solib1.c: Likewise.
14170 * gdb.base/step-test.exp: Likewise.
14171 * gdb.mi/non-stop.c: Likewise.
14172 * gdb.mi/pthreads.c: Likewise.
14173 * gdb.multi/bkpt-multi-exec.ex: Likewise.
14174 * gdb.threads/pthreads.c: Likewise.
14175 * gdb.threads/staticthreads.exp: Likewise.
14176 * lib/future.exp: Likewise.
14177 * lib/gdb.exp: Likewise.
14178 * gdb.base/so-indr-cl.c: Remove.
14179 * gdb.base/so-indr-cl.exp: Likewise.
14180 * gdb.base/solib.c: Likewise.
14181 * gdb.base/solib.exp: Likewise.
14182 * gdb.base/solib2.c: Likewise.
14184 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14186 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
14187 * gdb.base/call-ar-st.exp: Likewise.
14188 * gdb.base/callfuncs.exp: Likewise.
14189 * gdb.base/condbreak.exp: Likewise.
14190 * gdb.base/constvars.exp: Likewise.
14191 * gdb.base/hbreak2.exp: Likewise.
14192 * gdb.base/langs.exp: Likewise.
14193 * gdb.base/list.exp: Likewise.
14194 * gdb.base/long_long.exp: Likewise.
14195 * gdb.base/ptype.exp: Likewise.
14196 * gdb.base/scope.exp: Likewise.
14197 * gdb.base/signals.exp: Likewise.
14198 * gdb.base/so-impl-ld.exp: Likewise.
14199 * gdb.base/varargs.exp: Likewise.
14200 * gdb.base/volatile.exp: Likewise.
14201 * gdb.base/whatis.exp: Likewise.
14202 * gdb.cp/cplusfuncs.exp: Likewise.
14203 * gdb.cp/inherit.exp: Likewise.
14204 * gdb.cp/local.exp: Likewise.
14205 * gdb.cp/member-ptr.exp: Likewise.
14206 * gdb.cp/method.exp: Likewise.
14207 * gdb.cp/overload.exp: Likewise.
14208 * gdb.cp/templates.exp: Likewise.
14209 * gdb.stabs/weird.exp: Likewise.
14210 * lib/compiler.c: Likewise.
14211 * lib/compiler.cc: Likewise.
14212 * lib/cp-support.exp: Likewise.
14213 * lib/gdb.exp: Likewise.
14215 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
14217 * configure.ac: Remove HP-UX case.
14218 * configure: Regenerate.
14220 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
14222 * lib/gdb.exp (gdb_compile): Add function doc.
14224 2015-12-17 Pedro Alves <palves@redhat.com>
14227 * gdb.multi/info-threads.exp: New file.
14229 2015-12-15 Yao Qi <yao.qi@linaro.org>
14231 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
14234 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14236 * gdb.base/history-duplicates.exp: Skip if no readline support.
14238 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14240 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
14242 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14244 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
14246 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14248 * gdb.base/completion.exp: Skip tests that interrupt GDB with
14249 ctrl-C if nointerrupts target property is set.
14250 * gdb.base/double-prompt-target-event-error.exp: Likewise.
14251 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
14252 * gdb.base/paginate-bg-execution.exp: Likewise.
14253 * gdb.base/paginate-execution-startup.exp: Likewise.
14254 * gdb.base/random-signal.exp: Likewise.
14255 * gdb.base/range-stepping.exp: Likewise.
14256 * gdb.cp/annota2.exp: Likewise.
14257 * gdb.cp/annota3.exp: Likewise.
14258 * gdb.gdb/selftest.exp: Likewise.
14259 * gdb.threads/continue-pending-status.exp: Likewise.
14260 * gdb.threads/leader-exit.exp: Likewise.
14261 * gdb.threads/manythreads.exp: Likewise.
14262 * gdb.threads/pthreads.exp: Likewise.
14263 * gdb.threads/schedlock.exp: Likewise.
14264 * gdb.threads/sigthread.exp: Likewise.
14266 2015-12-11 Don Breazeal <donb@codesourcery.com>
14268 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
14270 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
14271 * gdb.base/foll-exec.exp (main): Enable for target remote.
14272 * gdb.base/foll-fork.exp (main): Likewise.
14273 * gdb.base/foll-vfork.exp (main): Likewise.
14274 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
14275 (proc continue_to_exit_bp_loc): Use clean_restart.
14276 * gdb.base/pie-execl.exp (main): Disable for target remote.
14277 * gdb.base/watch-vfork.exp (main): Enable for target remote.
14278 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
14279 * gdb.threads/execl.exp (main): Likewise.
14280 * gdb.threads/fork-child-threads.exp (main): Likewise.
14281 * gdb.threads/fork-plus-threads.exp (main): Disable for target
14283 * gdb.threads/fork-thread-pending.exp (main): Enable for target
14285 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
14286 pid.tid style ptids, instead of just tid.
14287 * gdb.threads/thread-execl.exp (main): Enable for target remote.
14288 * gdb.threads/watchpoint-fork.exp (main): Likewise.
14289 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
14290 ptids, instead of just tid.
14292 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14294 * gdb.base/list.exp (test_list_forward): Add end of file error
14296 (test_repeat_list_command): Add end of file error test.
14297 (test_list_backwards): Add beginning of file error test.
14299 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14301 * gdb.base/list.exp (test_list_invalid_args): New function,
14302 defined, and called.
14304 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14306 * gdb.base/list.exp (test_list): Make test names unique.
14308 2015-12-11 Yao Qi <yao.qi@linaro.org>
14310 * gdb.base/coremaker2.c: Remove.
14312 2015-12-10 Pedro Alves <palves@redhat.com>
14314 * gdb.multi/base.exp: Remove stale "spaces" references.
14316 2015-12-10 Pedro Alves <palves@redhat.com>
14318 * gdb.multi/base.exp: Don't use nowarnings.
14319 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
14320 * gdb.multi/hangout.c: Include stdio.h.
14321 * gdb.multi/hello.c: Include stdlib.h.
14322 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
14323 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
14324 * gdb.multi/multi-arch.exp: Don't use nowarnings.
14326 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
14328 * gdb.dwarf2/dw2-ranges-base.c: New file.
14329 * gdb.dwarf2/dw2-ranges-base.exp: New file.
14330 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
14331 support additional line table, and debug ranges generation.
14332 (Dwarf::ranges): New function, generate .debug_ranges.
14333 (Dwarf::lines): Support generating simple line table programs.
14334 (Dwarf::assemble): Initialise new namespace variables.
14336 2015-12-09 Kevin Buettner <kevinb@redhat.com>
14338 * gdb.base/async.exp (proc test_background): Add case for
14339 asynchronous execution not supported.
14341 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
14343 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
14344 format and change test names to make them unique.
14346 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
14347 Pedro Alves <pedro@redhat.com>
14350 Add checking of floatformats setup on x86_64 hosts.
14351 * gdb.arch/i386-float.S (main): Load bigval and smallval.
14352 (smallval, bigval): New labels/constants.
14353 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
14354 float" after loading bigval and smallval.
14356 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
14358 * gdb.ada/fun_overload_menu.exp: New testcase.
14359 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
14361 2015-12-04 Josh Stone <jistone@redhat.com>
14363 * gdb.base/catch-fork-static.exp: New.
14365 2015-12-03 Yao Qi <yao.qi@linaro.org>
14367 * gdb.base/sizeof.c: Don't include stdio.h and
14368 ../lib/unbuffer_output.c.
14369 (main): New variable 'size' and 'value'. Remove printf and
14370 gdb_unbuffer_output. Assign return value to size and value.
14371 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
14373 (check_sizeof): Check the result by printing variable 'size'.
14374 (check_valueof): Check the result by printing variable 'value'.
14376 2015-12-01 Yao Qi <yao.qi@linaro.org>
14378 * gdb.base/disp-step-syscall.exp: Define syscall instruction
14379 for aarch64*-*-linux* target.
14381 2015-11-30 Pedro Alves <palves@redhat.com>
14383 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
14385 2015-11-30 Pedro Alves <palves@redhat.com>
14387 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
14388 Handle non-stop mode vCont replies.
14390 2015-11-30 Pedro Alves <palves@redhat.com>
14392 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
14393 prepare_for_testing. Start gdb with "set non-stop on" appended to
14394 GDBFLAGS. Lax expected stop output.
14396 2015-11-27 Yao Qi <yao.qi@linaro.org>
14398 * gdb.arch/arm-neon.exp: New.
14399 * gdb.arch/arm-neon.c: New.
14401 2015-11-27 Yao Qi <yao.qi@linaro.org>
14403 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
14405 2015-11-27 Yao Qi <yao.qi@linaro.org>
14407 * gdb.cp/annota2.exp: Allow multiple occurrences of the
14408 frames-invalid annotation.
14410 2015-11-27 Yao Qi <yao.qi@linaro.org>
14412 * gdb.cp/annota2.exp: Use ${frames_invalid}.
14414 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
14416 * gdb.threads/names.exp: New file.
14417 * gdb.threads/names.c: New file.
14418 * README: Mention gdb,no_thread_names.
14420 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
14423 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
14426 2015-11-24 Pedro Alves <palves@redhat.com>
14429 * gdb.base/display.exp: Expect displays to be sorted in ascending
14430 order. Use multi_line.
14431 * gdb.base/solib-display.exp: Likewise.
14433 2015-11-24 Pedro Alves <palves@redhat.com>
14436 * gdb.base/display.exp: Expect displays to be sorted in ascending
14437 order. Use multi_line.
14438 * gdb.base/solib-display.exp: Likewise.
14440 2015-11-24 Pedro Alves <palves@redhat.com>
14443 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
14444 threads in ascending order.
14445 * gdb.base/foll-fork.exp: Likewise.
14446 * gdb.base/foll-vfork.exp: Likewise.
14447 * gdb.base/multi-forks.exp: Likewise.
14448 * gdb.mi/mi-nonstop.exp: Likewise.
14449 * gdb.mi/mi-nsintrall.exp: Likewise.
14450 * gdb.multi/base.exp: Likewise.
14451 * gdb.multi/multi-arch.exp: Likewise.
14452 * gdb.python/py-inferior.exp: Likewise.
14453 * gdb.threads/break-while-running.exp: Likewise.
14454 * gdb.threads/execl.exp: Likewise.
14455 * gdb.threads/gcore-thread.exp: Likewise.
14456 * gdb.threads/info-threads-cur-sal.exp: Likewise.
14457 * gdb.threads/kill.exp: Likewise.
14458 * gdb.threads/linux-dp.exp: Likewise.
14459 * gdb.threads/multiple-step-overs.exp: Likewise.
14460 * gdb.threads/next-bp-other-thread.exp: Likewise.
14461 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
14462 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
14463 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
14464 * gdb.threads/thread-find.exp: Likewise.
14465 * gdb.threads/tls.exp: Likewise.
14466 * lib/mi-support.exp (mi_reverse_list): Delete.
14467 (mi_check_thread_states): No longer reverse list.
14469 2015-11-24 Pedro Alves <palves@redhat.com>
14471 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
14474 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14476 * gdb.trace/actions.c: Include trace-common.h.
14477 (main): Add a location for a fast tracepoint.
14478 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
14479 the normal tracepoints.
14480 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
14482 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14484 * save-trace.exp: Factor out code to these...
14485 (gdb_save_tracepoints): New.
14486 (gdb_load_tracepoints): New.
14487 (do_save_load_test): New.
14489 2015-11-23 Kevin Buettner <kevinb@redhat.com>
14491 * gdb.base/asmlabel.exp: New test.
14492 * gdb.base/asmlabel.c: New test case.
14494 2015-11-23 Joel Brobecker <brobecker@adacore.com>
14496 * gdb.base/wrong_frame_bt_full-main.c: New file.
14497 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
14498 * gdb.base/wrong_frame_bt_full.exp: New file.
14500 2015-11-23 Joel Brobecker <brobecker@adacore.com>
14502 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
14504 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14506 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
14507 pstate register when comparing registers values in
14508 sparc64-*-linux-gnu targets to avoid spurious differences.
14510 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14512 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
14514 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
14516 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
14517 as type argument to gdb_compile.
14518 * gdb.base/nested-subp2.exp: Likewise.
14519 * gdb.base/nested-subp3.exp: Likewise.
14521 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
14523 * lib/dwarf.exp (_note): Fix left shift of negative value.
14524 * gdb.trace/trace-condition.exp: Likewise.
14526 2015-11-13 Yao Qi <yao.qi@linaro.org>
14528 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
14529 comments about d10v.
14530 (test_scalar_returns): Likewise.
14531 * gdb.base/d10v.ld: Remove.
14532 * gdb.base/overlays.exp: Remove the target triplet checking for
14534 * gdb.base/structs.exp (test_struct_returns): Remove the
14535 comments about d10v.
14536 (test_struct_calls): Likewise.
14538 2015-11-13 Yao Qi <yao.qi@linaro.org>
14540 * gdb.base/gnu_vector.exp: Check the return value by "p res".
14541 * gdb.base/gnu_vector.c: Don't include stdio.h.
14542 (main): Don't print res and call add_some_intvecs.
14544 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
14546 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
14549 (func4): Use FAST_TRACEPOINT_LABEL.
14550 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
14553 (thread_function): Use FAST_TRACEPOINT_LABEL.
14554 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
14556 (marker): Use FAST_TRACEPOINT_LABEL.
14557 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
14558 (pendfunc1): Remove.
14559 (pendfunc): Use FAST_TRACEPOINT_LABEL.
14560 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
14562 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
14563 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
14566 (marker): Use FAST_TRACEPOINT_LABEL.
14567 * gdb.trace/trace-common.h: New header.
14568 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
14571 (marker): Use FAST_TRACEPOINT_LABEL.
14572 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
14574 (thread_function): Use FAST_TRACEPOINT_LABEL.
14576 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
14578 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
14580 * gdb.trace/change-loc.exp: Use global pcreg definition.
14581 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
14582 * gdb.trace/entry-values.exp: Use global spreg definition, add $
14584 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
14585 * gdb.trace/pending.exp: Likewise.
14586 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
14587 * gdb.trace/trace-break.exp: Likewise.
14588 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
14590 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
14591 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
14593 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
14595 2015-11-09 Joel Brobecker <brobecker@adacore.com>
14597 * gdb.ada/fin_fun_out: New testcase.
14599 2015-11-07 Kevin Buettner <kevinb@redhat.com>
14601 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
14602 value associated with DW_AT_byte_size.
14603 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
14604 constants for DW_AT_byte_size, DW_AT_lower_bound, and
14607 2015-11-07 Kevin Buettner <kevinb@redhat.com>
14609 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
14610 (gdb_target_symbol_prefix_flags): Define in terms of _asm
14612 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
14613 gdb.dwarf2/dw2-canonicalize-type.exp,
14614 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
14615 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
14616 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
14617 provided by gdb_target_symbol_prefix_flags_asm.
14618 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
14619 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
14620 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
14621 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
14622 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
14623 macros where needed). Use this macro for symbols which require
14624 the prefix provided by SYMBOL_PREFIX.
14626 2015-11-05 Kevin Buettner <kevinb@redhat.com>
14628 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
14630 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
14631 representing expressions, of more than one list element.
14632 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
14633 to prepend linker symbol prefix to f.
14634 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
14635 table_1 and table_2.
14636 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
14637 Likewise, for f and g.
14638 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
14640 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
14642 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
14643 table_1_ptr and table_2_ptr.
14645 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14646 Joel Brobecker <brobecker@adacore.com>
14648 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
14650 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
14652 * gdb.reverse/s390-mvcle.c: New test.
14653 * gdb.reverse/s390-mvcle.exp: New file.
14654 * lib/gdb.exp: Enable reverse tests on s390*-linux.
14656 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14658 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
14660 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14662 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
14664 * gdb.reverse/getresuid-reverse.exp: Likewise.
14665 * gdb.reverse/pipe-reverse.exp: Likewise.
14666 * gdb.reverse/readv-reverse.exp: Likewise.
14667 * gdb.reverse/recvmsg-reverse.exp: Likewise.
14668 * gdb.reverse/time-reverse.exp: Likewise.
14669 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
14671 2015-10-30 Yao Qi <yao.qi@linaro.org>
14673 * gdb.threads/wp-replication.c (watch_count_done): Remove.
14674 (empty_cycle): Remove.
14675 (main): Don't call empty_cycle. Don't use watch_count_done.
14676 * gdb.threads/wp-replication.exp: Don't set breakpoint on
14677 empty_cycle. Rewrite the code counting HW watchpoints.
14679 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
14681 * gdb.reverse/fstatat-reverse.c: New test.
14682 * gdb.reverse/fstatat-reverse.exp: New file.
14683 * gdb.reverse/getresuid-reverse.c: New test.
14684 * gdb.reverse/getresuid-reverse.exp: New file.
14685 * gdb.reverse/pipe-reverse.c: New test.
14686 * gdb.reverse/pipe-reverse.exp: New file.
14687 * gdb.reverse/readv-reverse.c: New test.
14688 * gdb.reverse/readv-reverse.exp: New file.
14689 * gdb.reverse/recvmsg-reverse.c: New test.
14690 * gdb.reverse/recvmsg-reverse.exp: New file.
14691 * gdb.reverse/time-reverse.c: New test.
14692 * gdb.reverse/time-reverse.exp: New file.
14693 * gdb.reverse/waitpid-reverse.c: New test.
14694 * gdb.reverse/waitpid-reverse.exp: New file.
14696 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14698 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
14700 2015-10-26 Doug Evans <dje@google.com>
14703 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
14704 * gdb.dwarf2/bad-regnum.c: New file.
14705 * gdb.dwarf2/bad-regnum.exp: New file.
14707 2015-10-26 Doug Evans <dje@google.com>
14710 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
14713 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14715 * gdb.compile/compile.exp (compile code globalvar): Update expectation
14716 for a change by "Mention language in compile error message".
14718 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
14721 * gdb.python/py-type.c (C::a_method): New.
14722 (C::a_const_method): New.
14723 (C::a_static_method): New.
14725 * gdb.python/py-type.exp (test_fields): Test getting fields
14726 from function and method.
14728 2015-10-21 Keven Boell <keven.boell@intel.com>
14730 * gdb.fortran/vla-alloc-assoc.exp: New file.
14731 * gdb.fortran/vla-datatypes.exp: New file.
14732 * gdb.fortran/vla-datatypes.f90: New file.
14733 * gdb.fortran/vla-history.exp: New file.
14734 * gdb.fortran/vla-ptype-sub.exp: New file.
14735 * gdb.fortran/vla-ptype.exp: New file.
14736 * gdb.fortran/vla-sizeof.exp: New file.
14737 * gdb.fortran/vla-sub.f90: New file.
14738 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
14739 * gdb.fortran/vla-value-sub-finish.exp: New file.
14740 * gdb.fortran/vla-value-sub.exp: New file.
14741 * gdb.fortran/vla-value.exp: New file.
14742 * gdb.fortran/vla-ptr-info.exp: New file.
14743 * gdb.mi/mi-vla-fortran.exp: New file.
14744 * gdb.mi/vla.f90: New file.
14746 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
14748 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
14749 of hardwired timeout value.
14751 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14752 Pedro Alves <palves@redhat.com>
14754 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
14755 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
14757 2015-10-19 Josh Stone <jistone@redhat.com>
14759 * gdb.base/catch-syscall.c: Include <sched.h>.
14760 (unknown_syscall): New variable.
14761 (main): Trigger a vfork and an unknown syscall.
14762 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
14763 (unknown_syscall_number): Likewise.
14764 (check_call_to_syscall): Accept an optional syscall pattern.
14765 (check_return_from_syscall): Likewise.
14766 (check_continue): Likewise.
14767 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
14768 (test_catch_syscall_skipping_return): New test toggling off 'catch
14769 syscall' to step over the syscall return, then toggling back on.
14770 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
14771 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
14772 (do_syscall_tests): Call test_catch_syscall_without_args and
14773 test_catch_syscall_mid_vfork.
14774 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
14775 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
14777 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
14779 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
14780 print g_vE): Add new pass patterns.
14781 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
14782 print various symbol names for vptr fields.
14784 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
14786 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
14789 2015-10-12 Yao Qi <yao.qi@linaro.org>
14791 * gdb.arch/disp-step-insn-reloc.exp: New test case.
14793 2015-10-12 Yao Qi <yao.qi@linaro.org>
14795 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
14796 is aarch64*-*-linux*.
14798 2015-10-12 Yao Qi <yao.qi@linaro.org>
14800 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
14801 (can_relocate_bcond_true): ... it.
14802 (can_relocate_bcond_false): New function.
14804 (can_relocate_bl): Likewise.
14805 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
14808 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
14810 * gdb.base/nested-addr.c: New file.
14811 * gdb.base/nested-addr.exp: New testcase.
14813 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
14815 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
14816 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
14817 its output. Ignore the output of "record goto begin" and instead
14818 check that GDB is replaying.
14820 2015-10-09 Pedro Alves <palves@redhat.com>
14822 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
14823 (top level): Use it in the run with no args test.
14825 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
14827 * gdb.dlang/properties.exp: New file.
14829 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
14831 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
14832 whether or not address 0x1000 is mapped on the target.
14834 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
14836 * gdb.python/py-type.exp: Do not run tests if binaries fail to
14839 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
14841 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
14842 instruction-history test.
14844 2015-09-28 Doug Evans <dje@google.com>
14846 * gdb.base/gcore.c (array_func): Add reference to static_array.
14848 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
14850 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
14853 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
14855 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
14856 short or char as base type.
14858 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
14860 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
14861 to allow any size enum.
14863 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
14865 * gdb.ada/array_ptr_renaming.exp: New testcase.
14866 * gdb.ada/array_ptr_renaming/foo.adb: New file.
14867 * gdb.ada/array_ptr_renaming/pack.ads: New file.
14869 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14871 * gdb.trace/ftrace-lock.c: New file.
14872 * gdb.trace/ftrace-lock.exp: New file.
14874 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14876 * gdb.arch/insn-reloc.c: New file.
14877 * gdb.arch/ftrace-insn-reloc.exp: New file.
14879 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14881 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
14883 * gdb.trace/pendshr1.c (pendfunc): Likewise.
14884 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
14885 * gdb.trace/range-stepping.c: Likewise.
14886 * gdb.trace/trace-break.c: Likewise.
14887 * gdb.trace/trace-mt.c (thread_function): Likewise.
14888 * gdb.trace/ftrace.c (marker): Likewise.
14889 * gdb.trace/trace-condition.c (marker): Likewise.
14890 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
14891 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
14894 2015-09-18 Doug Evans <xdje42@gmail.com>
14896 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
14897 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
14899 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14901 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
14904 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14906 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
14907 the pending breakpoint. Remove timeout override for "Run till
14908 MI pending breakpoint on pendfunc3 on thread 2" test.
14910 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14912 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
14915 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14917 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
14918 in breakpoint filename pattern.
14920 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14922 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
14924 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14926 * gdb.linespec/explicit.exp: Check for readline support for
14927 tab-completion tests. Fix obvious typo.
14929 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14931 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
14934 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14936 * gdb.btrace/non-stop.c: New.
14937 * gdb.btrace/non-stop.exp: New.
14939 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
14940 Yao Qi <yao.qi@linaro.org>
14942 * gdb.trace/trace-condition.c: New file.
14943 * gdb.trace/trace-condition.exp: New file.
14945 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
14947 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
14948 for testing bytecode compilation.
14950 2015-09-16 Pedro Alves <palves@redhat.com>
14951 Sandra Loosemore <sandra@codesourcery.com>
14953 * gdb.threads/non-stop-fair-events.c (timeout): New global.
14954 (SECONDS): Redefine.
14955 (main): Call pthread_kill and alarm early.
14956 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
14958 (test): If the target can't hardware step and doesn't support
14959 displaced stepping, increase the timeout.
14961 2015-09-16 Pedro Alves <palves@redhat.com>
14963 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
14964 (enable_debug): New procedures.
14965 (test): Use them. Bail out if waiting for threads fails.
14966 (top level): Bail out if a test fails.
14968 2015-09-16 Yao Qi <yao.qi@linaro.org>
14970 * gdb.asm/asm-source.exp: Set asm-arch for
14971 aarch64*-*-* target.
14972 * gdb.asm/aarch64.inc: New file.
14974 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
14976 * gdb.ada/array_of_variable_length.exp: New testcase.
14977 * gdb.ada/array_of_variable_length/foo.adb: New file.
14978 * gdb.ada/array_of_variable_length/pck.adb: New file.
14979 * gdb.ada/array_of_variable_length/pck.ads: New file.
14981 2015-09-15 Doug Evans <dje@google.com>
14983 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
14984 of function static local variable.
14986 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14988 * gdb.threads/tls-so_extern.exp: New test file.
14989 * gdb.threads/tls-so_extern.c: New test file.
14990 * gdb.threads/tls-so_extern_main.c: New test file.
14992 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14994 * gdb.opt/solib-intra-step-lib.c: New file.
14995 * gdb.opt/solib-intra-step-main.c: New file.
14996 * gdb.opt/solib-intra-step.exp: New file.
14998 2015-09-15 Pedro Alves <palves@redhat.com>
15000 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
15001 gdb_continue_to_breakpoint instead of gdb_test_multiple.
15003 2015-09-14 Pedro Alves <palves@redhat.com>
15005 * gdb.base/hook-stop-continue.c: Delete.
15006 * gdb.base/hook-stop-continue.exp: Delete.
15007 * gdb.base/hook-stop-frame.c: Delete.
15008 * gdb.base/hook-stop-frame.exp: Delete.
15009 * gdb.base/hook-stop.c: New file.
15010 * gdb.base/hook-stop.exp: New file.
15012 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
15014 * gdb.ada/access_to_packed_array.exp: New testcase.
15015 * gdb.ada/access_to_packed_array/foo.adb: New file.
15016 * gdb.ada/access_to_packed_array/pack.adb: New file.
15017 * gdb.ada/access_to_packed_array/pack.ads: New file.
15019 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
15021 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
15024 2015-09-11 Don Breazeal <donb@codesourcery.com>
15026 * gdb.base/foll-exec.c: Add copyright header. Fix
15028 * gdb.base/foll-exec.exp (zap_session): Delete proc.
15029 (do_exec_tests): Use clean_restart in place of zap_session,
15030 and for test initialization. Fix formatting issues. Use
15031 fail in place of perror.
15032 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
15033 an expect statement to match an expression with output from
15034 the program under debug.
15035 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
15036 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
15037 * gdb.threads/non-ldr-exc-2.exp: Likewise.
15038 * gdb.threads/non-ldr-exc-3.exp: Likewise.
15039 * gdb.threads/non-ldr-exc-4.exp: Likewise.
15041 2015-09-09 Doug Evans <dje@google.com>
15043 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
15045 2015-09-09 Doug Evans <dje@google.com>
15047 * gdb.base/pie-execl.exp: Fix result test of build_executable.
15049 2015-09-09 Doug Evans <dje@google.com>
15051 * gdb.base/savedregs.exp: Fix typo.
15053 2015-09-09 Pedro Alves <palves@redhat.com>
15055 * gdb.mi/mi-cli.exp: Add CLI finish tests.
15057 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
15059 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
15060 command actually switches threads. Give up on remaining
15061 tests if target fails to stop at breakpoint.
15063 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
15065 * gdb.ada/funcall_char.exp: New testcase.
15066 * gdb.ada/funcall_char/foo.adb: New file.
15068 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
15070 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
15071 expected outputs. Add two testcases for completing ambiguous
15073 * gdb.ada/complete/aux_pck.adb: New file.
15074 * gdb.ada/complete/aux_pck.ads: New file.
15075 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
15076 Ambiguous_Func functions.
15077 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
15078 * gdb.ada/complete/pck.adb: Likewise.
15080 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
15082 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
15083 failures to run the test program under GDB.
15085 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
15087 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
15090 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
15092 * gdb.base/run-after-attach.exp: New test file.
15093 * gdb.base/run-after-attach.c: New test file.
15095 2015-08-26 Don Breazeal <donb@codesourcery.com>
15097 * gdb.base/foll-exec-2.c: New test program.
15098 * gdb.base/foll-exec-2.exp: New test.
15100 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
15102 * gdb.base/nested-subp1.exp: New file.
15103 * gdb.base/nested-subp1.c: New file.
15104 * gdb.base/nested-subp2.exp: New file.
15105 * gdb.base/nested-subp2.c: New file.
15106 * gdb.base/nested-subp3.exp: New file.
15107 * gdb.base/nested-subp3.c: New file.
15109 2015-08-24 Pedro Alves <palves@redhat.com>
15111 * gdb.server/connect-without-multi-process.c: New file.
15112 * gdb.server/connect-without-multi-process.exp: New file.
15114 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
15116 * gdb.opt/inline-markers.c: Make z int.
15118 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
15120 * gdb.opt/inline-markers.c: Make z volatile.
15122 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
15124 * gdb.opt/inline-bt.c: New volatile global z.
15125 * gdb.opt/inline-cmds.c: Likewise.
15126 * gdb.opt/inline-locals.c: Likewise.
15127 * gdb.opt/inline-markers.c: New extern global z.
15129 (inline_fn): Likewise.
15131 2015-08-24 Pedro Alves <palves@redhat.com>
15133 * config/m32r-stub.exp: Remove file.
15134 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
15135 * gdb.base/call-rt-st.exp: Likewise.
15136 * gdb.base/call-strs.exp: Likewise.
15137 * gdb.base/default.exp: Remove references to h8300-*-hms and
15139 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
15141 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15143 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
15144 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
15145 and "return" use KFAIL when GDB can not read/write the vector
15148 2015-08-21 Gary Benson <gbenson@redhat.com>
15150 * gdb.trace/pending.exp: Cope with remote transfer warnings.
15152 2015-08-20 Pedro Alves <palves@redhat.com>
15154 * gdb.server/solib-list.exp: No longer expect an interior stop in
15157 2015-08-20 Pedro Alves <palves@redhat.com>
15159 * gdb.server/connect-stopped-target.c: New file.
15160 * gdb.server/connect-stopped-target.exp: New file.
15162 2015-08-20 Pedro Alves <palves@redhat.com>
15164 * gdb.dwarf2/comp-unit-lang.exp: New file.
15165 * gdb.dwarf2/comp-unit-lang.c: New file.
15167 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
15169 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
15170 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
15172 2015-08-19 Kevin Buettner <kevinb@redhat.com>
15174 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
15175 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
15177 2015-08-18 Doug Evans <dje@google.com>
15178 Adrian Sendroiu <adrian.sendroiu@freescale.com>
15180 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
15181 skip_python_tests. New arg prompt_regexp.
15182 (skip_python_tests): New function.
15183 * lib/mi-support.exp (mi_skip_python_tests): New function.
15184 * gdb.python/py-mi-objfile-gdb.py: New file.
15185 * gdb.python/py-mi-objfile.c: New file.
15186 * gdb.python/py-mi-objfile.exp: New file.
15188 2015-08-17 Keith Seitz <keiths@redhat.com>
15190 * gdb.linespec/explicit.exp: Move strace test from here ...
15191 * gdb.trace/strace.exp: ... to here.
15193 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
15195 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
15196 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
15198 2015-08-14 Doug Evans <xdje42@gmail.com>
15200 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
15201 inferior before selecting a new file.
15203 2015-08-14 Doug Evans <xdje42@gmail.com>
15205 * gdb.mi/mi-disassemble.exp: Update.
15206 * gdb.base/disasm-optim.S: New file.
15207 * gdb.base/disasm-optim.c: New file.
15208 * gdb.base/disasm-optim.h: New file.
15209 * gdb.base/disasm-optim.exp: New file.
15211 2015-08-14 Keith Seitz <keiths@redhat.com>
15213 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
15216 2015-08-13 Joel Brobecker <brobecker@adacore.com>
15218 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
15220 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
15222 * gdb.ada/fun_renaming.exp: New testcase.
15223 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
15224 * gdb.ada/fun_renaming/pack.adb: New file.
15225 * gdb.ada/fun_renaming/pack.ads: New file.
15227 2015-08-12 Keith Seitz <keiths@redhat.com>
15229 * gdb.base/dso2dso.exp: Pass basename of source file in call to
15230 gdb_get_line_number.
15232 2015-08-12 Joel Brobecker <brobecker@adacore.com>
15234 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
15235 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
15236 gdb.base/dso2dso.exp: New files.
15238 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
15239 Pedro Alves <palves@redhat.com>
15240 Keith Seitz <keiths@redhat.com>
15242 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
15245 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15247 * gdb.base/gdbhistsize-history.exp
15248 (test_histsize_history_setting): Use save_vars.
15249 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15251 (test_no_truncation_of_unlimited_history_file): Use save_vars.
15252 * gdb.base/readline.exp: Use save_vars.
15254 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15256 * lib/gdb.exp (save_vars): New proc.
15258 2015-08-11 Keith Seitz <keiths@redhat.com>
15260 * gdb.base/help.exp: Update help_breakpoint_text.
15262 2015-08-11 Keith Seitz <keiths@redhat.com>
15264 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
15265 (at toplevel): Call test_explicit_breakpoints.
15266 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
15268 * lib/mi-support.exp (mi_make_breakpoint): Add support for
15269 breakpoint conditions, "-cond".
15271 2015-08-11 Keith Seitz <keiths@redhat.com>
15273 * gdb.linespec/3explicit.c: New file.
15274 * gdb.linespec/cpexplicit.cc: New file.
15275 * gdb.linespec/cpexplicit.exp: New file.
15276 * gdb.linespec/explicit.c: New file.
15277 * gdb.linespec/explicit.exp: New file.
15278 * gdb.linespec/explicit2.c: New file.
15279 * gdb.linespec/ls-errs.exp: Add explicit location tests.
15280 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
15281 before using in the matching pattern.
15282 Clarify that `prefix' is a regular expression.
15284 2015-08-11 Keith Seitz <keiths@redhat.com>
15286 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
15288 Add tests for missing ",FMT" and ",".
15290 2015-08-10 Doug Evans <dje@google.com>
15291 Keith Seitz <keiths@redhat.com>
15294 * gdb.base/completion.exp: Add location completer tests.
15296 2015-08-07 Pedro Alves <palves@redhat.com>
15298 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
15300 (top level): Run do_test with and without displaced stepping.
15302 2015-08-07 Pedro Alves <palves@redhat.com>
15304 * gdb.base/valgrind-disp-step.c: New file.
15305 * gdb.base/valgrind-disp-step.exp: New file.
15307 2015-08-07 Pedro Alves <palves@redhat.com>
15309 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
15311 (main): Add alarm. Run an infinite loop instead of calling
15313 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
15315 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
15317 (main): Add alarm. Run an infinite loop instead of calling
15319 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
15322 2015-08-07 Pedro Alves <palves@redhat.com>
15324 * gdb.base/checkpoint-ns.exp: New file.
15325 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
15328 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
15330 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
15331 * gdb.btrace/instruction_history.exp: Update.
15332 * gdb.btrace/tsx.exp: New.
15333 * gdb.btrace/tsx.c: New.
15335 2015-08-06 Pedro Alves <palves@redhat.com>
15337 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
15339 * gdb.reverse/until-precsave.exp: Bump timeouts.
15341 2015-08-06 Pedro Alves <palves@redhat.com>
15343 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
15345 2015-08-06 Pedro Alves <palves@redhat.com>
15348 * gdb.threads/process-dies-while-handling-bp.c: New file.
15349 * gdb.threads/process-dies-while-handling-bp.exp: New file.
15351 2015-08-06 Pedro Alves <palves@redhat.com>
15353 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
15354 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
15356 2015-08-05 Pedro Alves <palves@redhat.com>
15358 * gdb.threads/next-while-other-thread-longjmps.c: New file.
15359 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
15361 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
15363 * gdb.base/bp-permanent.exp: Report test as unsupported if
15364 the target cannot stop at the permanent breakpoint.
15366 2015-08-03 Doug Evans <dje@google.com>
15368 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
15371 2015-08-03 Doug Evans <dje@google.com>
15373 * Makefile.in (workers/%.worker, build-perf): New rule.
15374 (GDB_PERFTEST_MODE): New variable.
15375 (check-perf): Use it.
15376 (clean): Clean up gdb.perf parallel build subdirs.
15377 * lib/build-piece.exp: New file.
15378 * lib/gdb.exp (make_gdb_parallel_path): New function
15379 (standard_output_file, standard_temp_file): Call it.
15380 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15382 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
15384 2015-08-03 Doug Evans <dje@google.com>
15386 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
15387 (LOG_FILE_NAME): New global.
15388 (TextReporter.__init__): Initialize self.txt_sum.
15389 (TextReporter.report): Add support for multiple data-points.
15390 Move report to perftest.sum, put raw data in perftest.log.
15391 (TextReporter.start): Open sum and log files.
15392 (TextReporter.end): Close sum and log files.
15393 * gdb.perf/lib/perftest/testresult.py
15394 (SingleStatisticTestResult.record): Handle multiple data-points.
15396 2015-07-31 Pedro Alves <palves@redhat.com>
15398 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
15399 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15400 kill_wait_spawned_process instead of explicit "kill -9".
15401 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
15402 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15403 kill_wait_spawned_process.
15404 * gdb.base/attach-twice.exp: Likewise.
15405 * gdb.base/attach.exp: Likewise.
15406 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
15408 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
15409 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15410 kill_wait_spawned_process.
15411 * gdb.base/valgrind-infcall.exp: Likewise.
15412 * gdb.multi/multi-attach.exp: Likewise.
15413 * gdb.python/py-prompt.exp: Likewise.
15414 * gdb.python/py-sync-interp.exp: Likewise.
15415 * gdb.server/ext-attach.exp: Likewise.
15416 * gdb.threads/attach-into-signal.exp (corefunc): Use
15417 spawn_wait_for_attach, spawn_id_get_pid and
15418 kill_wait_spawned_process.
15419 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
15420 spawn_wait_for_attach returning a spawn id instead of a pid. Use
15421 spawn_id_get_pid and kill_wait_spawned_process.
15422 * gdb.threads/attach-stopped.exp (corefunc): Use
15423 spawn_wait_for_attach, spawn_id_get_pid and
15424 kill_wait_spawned_process.
15425 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
15426 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15427 kill_wait_spawned_process instead of explicit "kill -9".
15428 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
15429 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
15430 (spawn_wait_for_attach): Use spawn instead of exec to spawn
15431 processes. Don't map cygwin/windows pids here. Now returns a
15434 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15436 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
15437 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
15440 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15442 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
15444 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15447 2014-05-21 Mark Wielaard <mjw@redhat.com>
15449 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15451 2015-07-30 Pedro Alves <palves@redhat.com>
15453 * linux-low.c (handle_extended_wait): Set the child's last
15454 reported status to TARGET_WAITKIND_STOPPED.
15456 2015-07-30 Pedro Alves <palves@redhat.com>
15459 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
15460 only shows inferior 1.
15462 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
15463 Pedro Alves <palves@redhat.com>
15466 * gdb.threads/fork-plus-threads.c: New file.
15467 * gdb.threads/fork-plus-threads.exp: New file.
15469 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15471 * gdb.base/batch-preserve-term-settings.exp
15472 (test_terminal_settings_preserved_after_cli_exit): Use
15475 2015-07-29 Pedro Alves <palves@redhat.com>
15476 Don Breazeal <donb@codesourcery.com>
15478 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
15479 output from both inferior_spawn_id and gdb_spawn_id.
15481 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15483 * gdb.threads/attach-into-signal.exp (corefunc): Use
15484 with_test_prefix on nested loops, uniquefying the test messages.
15486 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15488 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
15491 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15493 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
15495 (test_terminal_settings_preserved_after_sigterm): New test.
15497 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15499 * gdb.base/batch-preserve-term-settings.exp
15500 (test_terminal_settings_preserved_after_cli_exit): New test.
15502 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15504 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
15505 manipulation of saved_gdbflags.
15506 (test_terminal_settings_preserved): Remove global declaration of
15507 the unused variable pagination_prompt. Remove manipulation of
15508 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
15511 2015-07-29 Pedro Alves <palves@redhat.com>
15513 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
15515 2015-07-29 Pedro Alves <palves@redhat.com>
15517 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
15520 2015-07-29 Pedro Alves <palves@redhat.com>
15522 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
15523 (main): Call gdb_unbuffer_output.
15524 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
15525 (main): Call gdb_unbuffer_output.
15526 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
15527 (main): Call gdb_unbuffer_output.
15528 * gdb.base/call-strs.exp: Adjust to step over the
15529 gdb_unbuffer_output call.
15530 * gdb.base/catch-gdb-caused-signals.c: Include
15531 "../lib/unbuffer_output.c".
15532 (main): Call gdb_unbuffer_output.
15533 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
15534 (main): Call gdb_unbuffer_output.
15535 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
15536 (main): Call gdb_unbuffer_output.
15537 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
15538 (main): Call gdb_unbuffer_output.
15539 * gdb.base/shlib-call.exp: Adjust to step over the
15540 gdb_unbuffer_output call.
15541 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
15542 (main): Call gdb_unbuffer_output.
15543 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
15544 (main): Call gdb_unbuffer_output.
15545 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
15546 (main): Rename to ...
15548 (main): Reimplement.
15549 * gdb.base/varargs.exp: Run to test instead of to main.
15550 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15551 (main): Call gdb_unbuffer_output.
15553 2015-07-29 Pedro Alves <palves@redhat.com>
15555 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
15556 factore out from mi_continue_dprintf. For call-style dprintfs,
15557 expect dprintf output out of $inferior_spawn_id.
15558 (mi_continue_dprintf): Use mi_expect_dprintf.
15559 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15560 (main): Call gdb_unbuffer_output.
15562 2015-07-29 Pedro Alves <palves@redhat.com>
15564 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
15565 (default_mi_gdb_start): Set inferior_spawn_id instead of
15566 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
15568 (mi_gdb_test): Always expect inferior output from both
15569 $inferior_spawn_id and $gdb_spawn_id.
15571 2015-07-29 Pedro Alves <palves@redhat.com>
15573 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
15574 send_inferior and $inferior_spawn_id.
15576 2015-07-29 Pedro Alves <palves@redhat.com>
15578 * gdb.gdb/complaints.exp (test_initial_complaints)
15579 (test_serial_complaints, test_short_complaints): Use
15581 (test_empty_complaint): Handle $inferior_spawn_id !=
15584 2015-07-29 Pedro Alves <palves@redhat.com>
15586 * gdb.base/varargs.exp: Use gdb_test_stdio.
15588 2015-07-29 Pedro Alves <palves@redhat.com>
15590 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
15592 2015-07-29 Pedro Alves <palves@redhat.com>
15594 * gdb.base/ending-run.exp: Use gdb_test_stdio.
15596 2015-07-29 Pedro Alves <palves@redhat.com>
15598 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
15599 parameter into two new parameters, "inf_result" and "gdb_result".
15600 Expect inferior output and gdb output from $inferior_spawn_id and
15601 $gdb_spawn_id, respectively. Adjust all callers.
15603 2015-07-29 Pedro Alves <palves@redhat.com>
15605 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
15606 of gdb_test_sequence.
15608 2015-07-29 Pedro Alves <palves@redhat.com>
15610 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
15611 (saw_spurious_output): Expect inferior output from
15612 $inferior_spawn_id. Use gdb_test_stdio.
15614 2015-07-29 Pedro Alves <palves@redhat.com>
15616 * gdb.base/dprintf.exp: Use standard_testfile. Change
15617 prepare_for_testing call.
15618 (srcfile): Don't set.
15619 (restart): New procedure.
15620 (test_dprintf): New procecure, use to continue over dprintfs.
15621 (test_call, test_agent): New procedures, tests moved here.
15622 Restart gdb and recreate dprintfs. Adjust expected output.
15624 2015-07-29 Pedro Alves <palves@redhat.com>
15626 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
15628 2015-07-29 Pedro Alves <palves@redhat.com>
15630 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
15632 2015-07-29 Pedro Alves <palves@redhat.com>
15634 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
15637 2015-07-29 Pedro Alves <palves@redhat.com>
15639 * lib/gdb.exp (gdb_test_stdio): New procedure.
15641 2015-07-29 Pedro Alves <palves@redhat.com>
15643 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
15645 2015-07-29 Pedro Alves <palves@redhat.com>
15647 * gdb.base/call-signal-resume.exp: Remove check for
15648 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
15649 * gdb.base/unwindonsignal.exp: Likewise.
15650 * gdb.base/call-signals.c (gen_signal): Remove printf call.
15651 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
15653 2015-07-29 Pedro Alves <palves@redhat.com>
15655 * gdb.base/siginfo-addr.c (pass): New function.
15656 (handler): Call it iff si_addr is correct.
15657 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
15658 Set a breakpoint at "pass" and continue to it.
15660 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
15662 * gdb.python/py-objfile.exp: Make some tests have unique names.
15663 * gdb.python/py-pp-registration.exp: Likewise.
15665 2015-07-28 Pedro Alves <palves@redhat.com>
15667 * gdb.server/server-exec-info.exp: Issue a "disconnect".
15669 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15671 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
15673 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15675 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
15677 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
15679 * gdb.base/gdb-sigterm-2.exp: New test.
15681 2015-07-25 Doug Evans <xdje42@gmail.com>
15684 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15685 (workers/%.worker, build-perf): New rule.
15686 (GDB_PERFTEST_MODE): New variable.
15687 (check-perf): Use it.
15688 (clean): Clean up gdb.perf parallel build subdirs.
15689 * lib/build-piece.exp: New file.
15690 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15691 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15693 (standard_temp_file): Ditto.
15694 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15697 2015-07-24 Doug Evans <dje@google.com>
15699 * gdb.perf/lib/perftest/utils.py: New file.
15700 * gdb.perf/gm-hello.cc: New file.
15701 * gdb.perf/gm-pervasive-typedef.cc: New file.
15702 * gdb.perf/gm-pervasive-typedef.h: New file.
15703 * gdb.perf/gm-std.cc: New file.
15704 * gdb.perf/gm-std.h: New file.
15705 * gdb.perf/gm-use-cerr.cc: New file.
15706 * gdb.perf/gm-utils.h: New file.
15707 * gdb.perf/gmonster-null-lookup.py: New file.
15708 * gdb.perf/gmonster-pervasive-typedef.py: New file.
15709 * gdb.perf/gmonster-print-cerr.py: New file.
15710 * gdb.perf/gmonster-ptype-string.py: New file.
15711 * gdb.perf/gmonster-runto-main.py: New file.
15712 * gdb.perf/gmonster-select-file.py: New file.
15713 * gdb.perf/gmonster1-null-lookup.exp: New file.
15714 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
15715 * gdb.perf/gmonster1-print-cerr.exp: New file.
15716 * gdb.perf/gmonster1-ptype-string.exp: New file.
15717 * gdb.perf/gmonster1-runto-main.exp: New file.
15718 * gdb.perf/gmonster1-select-file.exp: New file.
15719 * gdb.perf/gmonster1.cc: New file.
15720 * gdb.perf/gmonster1.exp: New file.
15721 * gdb.perf/gmonster2-null-lookup.exp: New file.
15722 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
15723 * gdb.perf/gmonster2-print-cerr.exp: New file.
15724 * gdb.perf/gmonster2-ptype-string.exp: New file.
15725 * gdb.perf/gmonster2-runto-main.exp: New file.
15726 * gdb.perf/gmonster2-select-file.exp: New file.
15727 * gdb.perf/gmonster2.cc: New file.
15728 * gdb.perf/gmonster2.exp: New file.
15730 2015-07-24 Doug Evans <dje@google.com>
15732 * gdb.perf/README: New file.
15733 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
15734 * lib/gen-perf-test.exp: New file.
15736 2015-07-24 Doug Evans <dje@google.com>
15738 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
15739 (PerfTest::startup): New function.
15740 (PerfTest::run): Return result of calling body.
15741 (PerfTest::assemble): Rewrite.
15742 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
15743 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
15744 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
15745 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
15746 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
15748 2015-07-24 Doug Evans <dje@google.com>
15750 * lib/gdb.exp (clean_restart): Make executable optional.
15752 2015-07-24 Doug Evans <dje@google.com>
15754 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
15755 compiler_info references.
15756 * gdb.cp/temargs.exp: Ditto.
15757 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
15758 (get_compiler_info): Early exit if already computed. Set compiler_info
15759 to "unknown" if there was a problem.
15760 (test_compiler_info): Add function comment. Call get_compiler_info.
15762 2015-07-24 Doug Evans <dje@google.com>
15764 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15765 (workers/%.worker, build-perf): New rule.
15766 (GDB_PERFTEST_MODE): New variable.
15767 (check-perf): Use it.
15768 (clean): Clean up gdb.perf parallel build subdirs.
15769 * lib/build-piece.exp: New file.
15770 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15771 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15773 (standard_temp_file): Ditto.
15774 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15777 2015-07-24 Doug Evans <dje@google.com>
15779 * lib/future.exp (gdb_default_target_compile): New option
15781 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
15784 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
15786 * gdb.base/catch-syscall.exp: Call gdb_exit before
15789 2015-07-24 Pedro Alves <palves@redhat.com>
15791 * gdb.python/py-events.exp: Accept output between the stop event
15793 * gdb.python/py-evsignal.exp: Likewise.
15794 * gdb.python/py-evthreads.exp: Likewise.
15796 2015-07-24 Pedro Alves <palves@redhat.com>
15799 * gdb.threads/non-ldr-exit.c: New file.
15800 * gdb.threads/non-ldr-exit.exp: New file.
15802 2015-07-24 Yao Qi <yao.qi@linaro.org>
15804 * gdb.server/ext-wrapper.exp: Test --wrapper option when
15805 restarting process.
15807 2015-07-24 Yao Qi <yao.qi@linaro.org>
15809 * gdb.server/ext-restart.exp: New file.
15811 2015-07-24 Yao Qi <yao.qi@linaro.org>
15813 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
15815 * gdb.server/ext-wrapper.exp: New file.
15817 2015-07-23 Doug Evans <dje@google.com>
15819 * gdb.dwarf2/dw2-dummy-cu.S: New file.
15820 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
15822 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
15824 * gdb.ada/var_arr_typedef.exp: New testcase.
15825 * gdb.ada/var_arr_typedef/pack.adb: New file.
15826 * gdb.ada/var_arr_typedef/pack.ads: New file.
15827 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
15829 2015-07-20 Joel Brobecker <brobecker@adacore.com>
15831 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
15833 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15835 * gdb.arch/i386-biarch-core.exp: Replace istarget
15836 by "complete set gnutarget". Remove expectation for the "core-file"
15839 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15841 Revert the previous commit:
15842 Tests for validate symbol file using build-id.
15844 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
15846 Tests for validate symbol file using build-id.
15847 * gdb.base/solib-mismatch-lib.c: New file.
15848 * gdb.base/solib-mismatch-libmod.c: New file.
15849 * gdb.base/solib-mismatch.c: New file.
15850 * gdb.base/solib-mismatch.exp: New file.
15852 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
15854 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
15856 * gdb.base/sigbpt.exp (stepi_out): Likewise.
15857 * gdb.base/siginfo.exp: Likewise.
15858 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15860 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
15862 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
15864 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
15866 * gdb.trace/range-stepping.exp: Check that the target supports
15869 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15871 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
15873 2015-07-14 Pedro Alves <palves@redhat.com>
15875 * gdb.base/killed-outside.exp: New file.
15876 * gdb.base/killed-outside.c: New file.
15878 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15880 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
15882 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
15884 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15886 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
15887 infcall tests instead of setting up for KFAIL.
15889 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
15891 * gdb.btrace/record_goto-step.exp: New.
15893 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15896 * gdb.compile/compile.c (struct struct_type): Add volatile to
15898 * gdb.compile/compile.exp
15899 (compile code struct_object.selffield = &struct_object): Skip further
15900 struct_object tests if this one xfails.
15902 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
15905 * gdb.trace/ax.exp: Add test.
15907 2015-07-07 Yao Qi <yao.qi@linaro.org>
15909 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
15910 instead of istarget "aarch64*-*-*".
15911 * gdb.arch/aarch64-fp.exp: Likewise.
15912 * gdb.base/float.exp: Likewise.
15913 * gdb.reverse/aarch64.exp: Likewise.
15914 * lib/gdb.exp (is_aarch64_target): New proc.
15916 2015-07-07 Yao Qi <yao.qi@linaro.org>
15918 * lib/gdb.exp (is_aarch32_target): New proc.
15919 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
15920 instead of "istarget "arm*-*-*"".
15921 * gdb.arch/arm-disp-step.exp: Likewise.
15922 * gdb.arch/thumb-bx-pc.exp: Likewise.
15923 * gdb.arch/thumb-prologue.exp: Likewise.
15924 * gdb.arch/thumb-singlestep.exp: Likewise.
15925 * gdb.base/disp-step-syscall.exp: Likewise.
15926 * gdb.base/float.exp: Likewise.
15928 2015-07-07 Yao Qi <yao.qi@linaro.org>
15930 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
15931 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
15933 2015-07-07 Yao Qi <yao.qi@linaro.org>
15935 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
15936 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
15938 * gdb.multi/multi-arch.exp: Likewise.
15940 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
15942 * gdb.python/py-lazy-string.exp: Add missing parentheses to
15945 2015-07-07 Yao Qi <yao.qi@linaro.org>
15947 * gdb.arch/thumb-singlestep.exp: Do one more single step.
15949 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
15951 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
15952 '[' and ']' characters.
15954 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
15956 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15958 2015-06-29 Pedro Alves <palves@redhat.com>
15961 * gdb.threads/hand-call-new-thread.c: New file.
15962 * gdb.threads/hand-call-new-thread.c: New file.
15964 2015-06-26 Keith Seitz <keiths@redhat.com>
15965 Doug Evans <dje@google.com>
15968 * gdb.cp/var-tag-2.cc: New file.
15969 * gdb.cp/var-tag-3.cc: New file.
15970 * gdb.cp/var-tag-4.cc: New file.
15971 * gdb.cp/var-tag.cc: New file.
15972 * gdb.cp/var-tag.exp: New file.
15974 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15976 * gdb.base/history-duplicates.exp: New test.
15978 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15980 * gdb.base/completion.exp: Test the completion of the "focus"
15983 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15985 * gdb.arch/amd64-prologue-skip.S: New file.
15986 * gdb.arch/amd64-prologue-skip.exp: New file.
15988 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
15990 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
15991 is_address_zero_readable check.
15993 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
15995 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
15996 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
15998 2015-06-24 Yao Qi <yao.qi@linaro.org>
16000 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
16003 2015-06-24 Yao Qi <yao.qi@linaro.org>
16005 * lib/gdb.exp (supports_get_siginfo_type): New proc.
16006 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
16007 * gdb.base/siginfo-thread.exp: Likewise.
16009 2015-06-22 Yao Qi <yao.qi@linaro.org>
16011 * boards/remote-gdbserver-on-localhost.exp: Add comments.
16013 2015-06-22 Yao Qi <yao.qi@linaro.org>
16015 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
16017 (skip_hw_watchpoint_tests): Likewise.
16019 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
16021 * gdb.base/gdbinit-history.exp: Test the interaction between
16022 setting GDBHISTSIZE and setting the history size via .gdbinit.
16024 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16027 * gdb.base/gdbhistsize-history.exp: New test.
16029 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16031 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
16033 * gdb.base/readline.exp: Likewise.
16035 2015-06-17 Yao Qi <yao.qi@linaro.org>
16037 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
16040 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16042 * gdb.base/gdbinit-history.exp: Add test case to check that
16043 an unlimited history file does not get truncated on exit.
16045 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16047 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
16048 (VECTOR): New macro. Use it...
16049 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
16050 ...for these typedefs.
16051 (int8, char1, int1, double1): New typedefs.
16052 (struct just_int2, struct two_int2): New structures.
16053 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
16054 (add_structvecs, add_singlevecs): New functions.
16055 (main): Call add_some_intvecs twice.
16056 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
16057 the compile and exit upon failure. Try compiling for the "native"
16058 architecture. Test inferior function calls with vector arguments
16059 and vector return value handling with "finish" and "return".
16061 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
16063 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
16064 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
16066 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
16068 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16070 PR breakpoints/16465
16071 * gdb.mi/mi-dprintf-pending.c: New file.
16072 * gdb.mi/mi-dprintf-pending.exp: New test.
16073 * gdb.mi/mi-dprintf-pendshr.c: New file.
16075 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16076 Mircea Gherzan <mircea.gherzan@intel.com>
16078 * gdb.arch/i386-mpx-map.c: New file.
16079 * gdb.arch/i386-mpx-map.exp: New File.
16081 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16083 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
16084 * gdb.arch/i386-mpx.exp: Indentation fixed.
16086 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16088 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
16089 function and improved indentation.
16090 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
16091 gdb_test_multiple. Added additional tests to skip the test.
16093 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16095 * gdb.arch/i386-avx512.c: Change path in include file.
16096 * gdb.arch/i386-avx512.exp: Change include dir path
16098 * gdb.arch/i386-mpx.c: Change path in include file.
16099 * gdb.arch/i386-mpx.exp: Change include dir path compilation
16102 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16104 * gdb.compile/compile-print.exp (compile print *vararray@3)
16105 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
16107 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16109 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
16110 (do not keep jit in memory): ... this.
16111 (expect 5): Change it to ...
16112 (expect no 5): ... this.
16114 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
16117 * gdb.mi/mi-detach.exp: New file.
16119 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16122 * gdb.arch/amd64-tailcall-self.S: New file.
16123 * gdb.arch/amd64-tailcall-self.c: New file.
16124 * gdb.arch/amd64-tailcall-self.exp: New file.
16126 2015-05-28 Don Breazeal <donb@codesourcery.com>
16128 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
16129 tests for remote targets by checking is_target_gdbserver.
16131 2015-05-27 Doug Evans <dje@google.com>
16133 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
16134 * gdb.dwarf2/opaque-type-lookup.c: New file.
16135 * gdb.dwarf2/opaque-type-lookup.exp: New file.
16137 2015-05-26 Doug Evans <dje@google.com>
16139 * gdb.cp/iostream.cc: New file.
16140 * gdb.cp/iostream.exp: New file.
16142 2015-05-26 Doug Evans <dje@google.com>
16144 * gdb.dwarf2/dw2-op-call.exp: Update.
16145 * gdb.dwarf2/dw4-sig-types.exp: Update.
16146 * gdb.dwarf2/implptr.exp: Update.
16147 * gdb.mi/mi-cmd-param-changed.exp: Update.
16149 2015-05-26 Doug Evans <dje@google.com>
16151 * gdb.python/py-lazy-string.c: New file.
16152 * gdb.python/py-lazy-string.exp: New file.
16153 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
16154 (main): Update. Add estring3.
16155 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
16156 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
16158 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
16159 Yao Qi <yao.qi@linaro.org>
16161 * gdb.reverse/aarch64.c: New.
16162 * gdb.reverse/aarch64.exp: New.
16164 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
16166 * lib/gdb.exp (supports_process_record): Return true for
16168 (supports_reverse): Likewise.
16170 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
16172 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16173 Use with_test_prefix.
16175 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
16177 * gdb.base/completion.exp: Add test for completion of layout
16180 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
16182 * lib/gdb.exp (skip_tui_tests): New proc.
16183 * gdb.base/tui-layout.exp: Check skip_tui_tests.
16185 2015-05-19 Pedro Alves <palves@redhat.com>
16187 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16188 Save the whole env array instead of just HOME. Unset HISTSIZE in
16189 the environment while testing. Restore whole environment
16192 2015-05-16 Doug Evans <xdje42@gmail.com>
16194 * gdb.guile/scm-ports.c: New file.
16195 * gdb.guile/scm-ports.exp: Add memory port tests.
16197 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16199 * gdb.compile/compile-print.c: New file.
16200 * gdb.compile/compile-print.exp: New file.
16202 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16204 * gdb.compile/compile-ops.exp: Cast param to void.
16205 * gdb.compile/compile.exp: Complete type for _gdb_expr.
16206 (compile code struct_object.selffield = &struct_object): Add xfail.
16208 2015-05-15 Joel Brobecker <brobecker@adacore.com>
16210 * gdb.ada/arr_enum_with_gap: New testcase.
16212 2015-05-15 Joel Brobecker <brobecker@adacore.com>
16214 * gdb.ada/byte_packed_arr: New testcase.
16216 2015-05-15 Joel Brobecker <brobecker@adacore.com>
16218 * gdb.ada/pckd_neg: New testcase.
16220 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
16223 * gdb.base/gdbinit-history.exp: New test.
16224 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
16225 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
16227 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
16229 * gdb.python/py-xmethods.cc: Enhance test case.
16230 * gdb.python/py-xmethods.exp: New tests.
16231 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
16233 (B_indexoper): Likewise.
16234 (global_dm_list) : Add new xmethod worker functions.
16236 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
16238 * gdb.base/coredump-filter.exp: Correctly unset
16239 "coredump_var_addr" array.
16241 2015-05-08 Pedro Alves <palves@redhat.com>
16243 * gdb.server/non-existing-program.exp: Unset spawn_id.
16245 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
16248 * gdb.python/py-xmethods.exp: Add tests.
16250 2015-05-08 Yao Qi <yao.qi@linaro.org>
16253 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
16254 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
16255 function set_coredump_filter, and remove remote_exec call.
16256 Remove argument ipid. Callers update.
16257 (top level): Don't get inferior's PID.
16259 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
16261 * gdb.base/watch_thread_num.exp: Skip test on targets without
16262 access watchpoints.
16264 2015-05-06 Pedro Alves <palves@redhat.com>
16267 * gdb.server/non-existing-program.exp: New file.
16269 2015-05-05 Joel Brobecker <brobecker@adacore.com>
16271 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
16273 2015-05-05 Joel Brobecker <brobecker@adacore.com>
16275 * gdb.ada/out_of_line_in_inlined: New testcase.
16277 2015-05-05 Joel Brobecker <brobecker@adacore.com>
16279 * gdb.ada/var_rec_arr: New testcase.
16281 2015-04-30 Yao Qi <yao.qi@linaro.org>
16283 * gdb.base/break-idempotent.exp: If
16284 skip_hw_watchpoint_multi_tests returns true, skip the tests
16285 on "rwatch" and "awatch".
16287 2015-04-30 Yao Qi <yao.qi@linaro.org>
16289 * gdb.base/relativedebug.exp: Invoke gdb command
16290 "info sharedlibrary", and if libc.so doesn't have debug info,
16293 2015-04-29 Doug Evans <dje@google.com>
16295 * gdb.python/py-xmethods.exp: Add ptype tests.
16296 * gdb.python/py-xmethods.py (E_method_char_worker): Add
16297 get_result_type method.
16299 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
16301 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
16302 the target does not support hardware watchpoints.
16304 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
16306 * gdb.base/break-always.exp: Abort testing if writing to memory
16309 2015-04-28 Doug Evans <dje@google.com>
16311 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
16312 * gdb.python/py-pp-registration.exp: ... here. New file.
16313 * gdb.python/py-pp-registration.c: New file.
16314 * gdb.python/py-pp-registration.py: New file.
16316 2015-04-28 Doug Evans <dje@google.com>
16318 * gdb.python/py-bad-printers.c: New file.
16319 * gdb.python/py-bad-printers.py: New file.
16320 * gdb.python/py-bad-printers.exp: New file.
16322 2015-04-28 Sasha Smundak <asmundak@google.com>
16324 * gdb.python/py-type.exp: New test.
16326 2015-04-28 Andy Wingo <wingo@igalia.com>
16328 * gdb.python/py-parameter.exp:
16329 * gdb.guile/scm-parameter.exp: Escape the path that we are
16330 matching against, as it might contain characters that are special
16331 to regular expressions.
16333 2015-04-27 Joel Brobecker <brobecker@adacore.com>
16335 * gdb.ada/rec_comp: New testcase.
16337 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
16339 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
16342 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
16344 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
16345 new tests for verilog output.
16347 2015-04-24 Yao Qi <yao.qi@linaro.org>
16349 * boards/remote-gdbserver-on-localhost.exp: New file.
16351 2015-04-23 Pedro Alves <palves@redhat.com>
16353 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
16354 $inferior_spawn_id instead of $inferior_spawn_id directly. On
16355 "end of file", remove $inferior_spawn_id from the indirect list.
16357 2015-04-23 Pedro Alves <palves@redhat.com>
16359 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
16361 2015-04-23 Pedro Alves <palves@redhat.com>
16363 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
16364 on $any_spawn_id instead of only on $gdb_spawn_id.
16366 2015-04-21 Pierre Muller <muller@sourceware.org>
16369 * lib/pascal.exp (gpc_compile): Add new option "class".
16370 (fpc_compile): Likewise.
16371 * gdb.pascal/case-insensitive-symbols.pas: New file.
16372 * gdb.pascal/case-insensitive-symbols.exp: New file.
16374 2015-04-20 Gary Benson <gbenson@redhat.com>
16376 * gdb.base/attach.exp: Fix three extended remote failures.
16378 2015-04-17 Gary Benson <gbenson@redhat.com>
16380 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
16381 the main executable over the remote protocol.
16383 2015-04-16 Pedro Alves <palves@redhat.com>
16385 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
16386 a new gdbserver if gdbserver_reconnect_p is set.
16388 2015-04-16 Pedro Alves <palves@redhat.com>
16390 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
16391 is set, don't exit gdbserver.
16393 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16395 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
16396 appropriate .insn, such that an older assembler can be used.
16397 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
16398 the z/Architecture instruction set on 31-bit targets as well.
16400 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16402 * gdb.go/handcall.exp: Remove all logic related to the first
16403 breakpoint and rely on go_runto_main instead.
16404 * gdb.go/strings.exp: Likewise.
16405 * gdb.go/unsafe.exp: Likewise.
16406 * gdb.go/hello.exp: Likewise. Also rename the remaining
16407 breakpoint marker to "breakpoint 1".
16408 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
16409 * gdb.go/strings.go: Likewise.
16410 * gdb.go/unsafe.go: Likewise.
16411 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
16412 "set breakpoint 2 here" and rename the remaining breakpoint marker
16415 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
16417 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
16418 if itertools.imap is not present.
16419 * gdb.python/py-objfile.exp: Add parentheses.
16420 * gdb.python/py-type.exp: Same.
16421 * gdb.python/py-unwind-maint.py: Same.
16423 2015-04-15 Yao Qi <yao.qi@linaro.org>
16425 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
16426 of ":$ptr_size" and set its form explicitly.
16428 2015-04-15 Pedro Alves <palves@redhat.com>
16429 Yao Qi <yao.qi@linaro.org>
16431 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
16432 timeout by factor of 4.
16433 (test_regular_watch): Likewise.
16434 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
16435 * gdb.reverse/sigall-reverse.exp: Likewise.
16436 * gdb.reverse/until-precsave.exp: Likewise.
16437 * lib/gdb.exp (with_timeout_factor): New proc.
16438 (gdb_expect): Move some code to ...
16439 (get_largest_timeout): ... here. New procedure.
16441 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
16443 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
16445 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
16447 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
16448 to write to the .text section.
16450 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
16452 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
16453 Handle the case of targets that do not provide PID information.
16455 2015-04-13 Yao Qi <yao.qi@linaro.org>
16457 * lib/gdbserver-support.exp (gdb_exit): Catch exception
16458 and use expect instead of gdb_expect.
16460 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
16462 * gdb.base/coredump-filter.exp: Rename variable "addr" to
16463 "coredump_var_addr" to avoid naming conflict with other testcases.
16465 2015-04-10 Pedro Alves <palves@redhat.com>
16467 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
16468 gdb_test_sequence and gdb_assert.
16470 2015-04-10 Pedro Alves <palves@redhat.com>
16472 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
16473 test messages that don't include the breakpoint address.
16475 2015-04-10 Yao Qi <yao.qi@linaro.org>
16477 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
16478 false for some offset and width combinations which aren't
16479 supported by linux kernel.
16481 2015-04-10 Pedro Alves <palves@redhat.com>
16483 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
16484 procedure, factored out from ...
16485 (top level): ... here. Add "set displaced-stepping" testing axis.
16486 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
16487 parameter "displaced". Use it.
16488 (top level): Use foreach and add "set displaced-stepping" testing
16491 2015-04-10 Pedro Alves <palves@redhat.com>
16493 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
16495 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
16496 both the address of the instruction that triggers the watchpoint
16497 and the address of the instruction immediately after, and use
16498 those addresses for the test. Fix comment.
16500 2015-04-10 Pedro Alves <palves@redhat.com>
16502 * gdb.base/sigstep.exp (breakpoint_to_handler)
16503 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
16504 Test "backtrace" in handler.
16505 (breakpoint_over_handler): New parameter 'displaced'. Use it.
16506 (top level): Add new "displaced" test axis to
16507 breakpoint_to_handler, breakpoint_to_handler_entry and
16508 breakpoint_over_handler.
16510 2015-04-10 Pedro Alves <palves@redhat.com>
16513 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
16515 2015-04-10 Yao Qi <yao.qi@linaro.org>
16517 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
16518 (test_add_rn_pc): New function.
16519 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
16520 (top level): Invoke test_add_rn_pc.
16522 2015-04-10 Pedro Alves <palves@redhat.com>
16525 * gdb.base/step-over-no-symbols.exp: New file.
16527 2015-04-09 Andy Wingo <wingo@igalia.com>
16529 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
16530 after the Python tests.
16532 2015-04-08 Keith Seitz <keiths@redhat.com>
16535 * gdb.python/py-completion.exp: New tests for completion.
16536 * gdb.python/py-completion.py (CompleteLimit1): New class.
16537 (CompleteLimit2): Likewise.
16538 (CompleteLimit3): Likewise.
16539 (CompleteLimit4): Likewise.
16540 (CompleteLimit5): Likewise.
16541 (CompleteLimit6): Likewise.
16542 (CompleteLimit7): Likewise.
16544 2015-04-08 Pedro Alves <palves@redhat.com>
16548 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
16550 (main): Install it as SIGUSR1 handler.
16551 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
16552 parameter. Always use "setup" as prefix. Toggle "set
16553 displaced-stepping" off/on depending on global. Don't switch to
16555 (top level): Add displaced stepping "off/on" test axis. Update
16556 "setup" calls. Wrap each subtest with with_test_prefix. Test
16557 continuing with a queued signal in each thread.
16559 2015-04-08 Pedro Alves <palves@redhat.com>
16561 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
16562 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
16563 gdb_breakpoint instead of gdb_test that doesn't expect anything.
16564 Return early if running to main fails.
16565 * gdb.trace/while-stepping.exp: Likewise.
16567 2015-04-07 Pedro Alves <palves@redhat.com>
16569 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
16570 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
16571 interact with inferior program.
16573 2015-04-07 Pedro Alves <palves@redhat.com>
16575 * lib/gdb.exp (inferior_spawn_id): New global.
16576 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
16577 spawn id after processing the user code.
16578 (default_gdb_start): Set inferior_spawn_id.
16579 (send_inferior): New procedure.
16580 * lib/gdbserver-support.exp (gdbserver_start): Set
16582 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
16584 2015-04-07 Pedro Alves <palves@redhat.com>
16586 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
16587 * lib/gdbserver-support.exp (gdbserver_start): Make
16588 $server_spawn_id global.
16589 (gdbserver_start): Don't wait for gdbserver's spawn id with
16591 (close_gdbserver): New procedure.
16592 (gdb_exit): Rename the default version and reimplement.
16594 2015-04-07 Pedro Alves <palves@redhat.com>
16596 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
16597 append the substituted item, not the original item.
16599 2015-04-07 Pedro Alves <palves@redhat.com>
16601 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
16604 2015-04-07 Pedro Alves <palves@redhat.com>
16606 * gdb.base/interrupt.exp: Don't handle the case of the inferior
16607 output appearing once only.
16609 2015-04-07 Pedro Alves <palves@redhat.com>
16611 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
16612 that doesn't expect anything. Return early if running to main
16615 2015-04-07 Yao Qi <yao.qi@linaro.org>
16617 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
16618 (child_function): Call alarm.
16619 (main): Move call to alarm into the loop.
16620 * gdb.threads/non-stop-fair-events.exp: Build program with
16621 -DTIMEOUT=$timeout.
16623 2015-04-06 Doug Evans <xdje42@gmail.com>
16625 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
16626 Fix dest parameter to board_info.
16627 (fpc_compile): Ditto.
16628 (gdb_compile_pascal): Rename dest arg to destfile.
16630 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
16632 * gdb.ada/funcall_ref.exp: New file.
16633 * gdb.ada/funcall_ref/foo.adb: New file.
16635 2015-04-02 Yao Qi <yao.qi@linaro.org>
16637 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
16640 2015-04-02 Gary Benson <gbenson@redhat.com>
16642 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
16644 2015-04-01 Sasha Smundak <asmundak@google.com>
16646 * gdb.python/py-unwind-maint.c: New file.
16647 * gdb.python/py-unwind-maint.exp: New test.
16648 * gdb.python/py-unwind-maint.py: New file.
16649 * gdb.python/py-unwind.c: New file.
16650 * gdb.python/py-unwind.exp: New test.
16651 * gdb.python/py-unwind.py: New test.
16653 2015-04-01 Pedro Alves <palves@redhat.com>
16655 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
16656 to fail instead of non-existent $test.
16658 2015-04-01 Pedro Alves <palves@redhat.com>
16660 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
16661 GDBFLAGS if not empty.
16663 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
16665 * gdb.ada/complete.exp: Remove "multi_line".
16666 * gdb.ada/info_exc.exp: Remove "multi_line".
16667 * gdb.ada/packed_tagged.exp: Remove "multi_line".
16668 * gdb.ada/ptype_field.exp: Remove "multi_line".
16669 * gdb.ada/sym_print_name.exp: Remove "multi_line".
16670 * gdb.ada/tagged.exp: Remove "multi_line".
16671 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
16673 * gdb.btrace/delta.exp: Likewise.
16674 * gdb.btrace/exception.exp: Likewise.
16675 * gdb.btrace/function_call_history.exp: Likewise.
16676 * gdb.btrace/instruction_history.exp: Likewise.
16677 * gdb.btrace/nohist.exp: Likewise.
16678 * gdb.btrace/record_goto.exp: Likewise.
16679 * gdb.btrace/segv.exp: Likewise.
16680 * gdb.btrace/stepi.exp: Likewise.
16681 * gdb.btrace/tailcall.exp: Likewise.
16682 * gdb.btrace/unknown_functions.exp: Likewise.
16683 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
16684 * lib/gdb.exp: Add the "multi_line" helper.
16686 2015-04-01 Pedro Alves <palves@redhat.com>
16688 * gdb.threads/tid-reuse.c: New file.
16689 * gdb.threads/tid-reuse.exp: New file.
16691 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
16694 * gdb.base/coredump-filter.c: New file.
16695 * gdb.base/coredump-filter.exp: Likewise.
16697 2015-03-27 Petr Machata <pmachata@redhat.com>
16699 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
16700 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
16701 (Dwarf::assemble): Initialize them.
16702 (Dwarf::lines): New function.
16704 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
16706 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
16707 SYMBOL_PREFIX for x86_64-*-cygwin.
16709 2015-03-26 Andy Wingo <wingo@igalia.com>
16712 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
16713 const_value but not a location.
16714 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
16715 location defined in non-main CUs are visible.
16717 2015-03-26 Yao Qi <yao.qi@linaro.org>
16720 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
16721 Add a line number entry for the same line.
16722 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
16723 Add a line number entry for the same line.
16725 2015-03-26 Yao Qi <yao.qi@linaro.org>
16727 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
16729 (func): Likewise. Add .Lfunc_1 label.
16730 Use .Lfunc_1 label.
16731 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
16734 Use .Lfunc_1 label.
16736 2015-03-26 Yao Qi <yao.qi@linaro.org>
16738 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
16739 Call gdb_compile instead to compile each .s files without debug
16742 2015-03-26 Yao Qi <yao.qi@linaro.org>
16744 * gdb.base/savedregs.exp (process_saved_regs): Make
16745 "Saved registers:" optional in the pattern.
16747 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16749 * gdb.btrace/next.exp: Merged into step.exp.
16750 * gdb.btrace/finish.exp: Merged into step.exp.
16751 * gdb.btrace/nexti.exp: Merged into stepi.exp.
16752 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
16753 "record goto" and checking the exact replay position.
16754 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
16755 check for "Recording format" in "info record" output.
16756 * gdb.btrace/record_goto.exp: Choose test file based on target.
16757 * gdb.btrace/x86-record_goto.S: Renamed into ...
16758 * gdb.btrace/x86_64-record_goto.S: ... this.
16759 * gdb.btrace/i686-record_goto.S: New.
16760 * gdb.btrace/x86-tailcall.S: Renamed into ...
16761 * gdb.btrace/x86_64-tailcall.S: ... this.
16762 * gdb.btrace/i686-tailcall.S: New.
16763 * gdb.btrace/x86-tailcall.c: Renamed into ...
16764 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
16765 separate statements. Update test.
16766 * gdb.btrace/delta.exp: Use record_goto.c as test file.
16767 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
16768 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
16769 * gdb.btrace/tailcall.exp: Choose test file based on target.
16770 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
16772 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16774 * gdb.btrace/exception.exp: Increase BTS buffer size.
16776 2015-03-24 Pedro Alves <palves@redhat.com>
16778 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
16780 2015-03-24 Pedro Alves <palves@redhat.com>
16782 * gdb.threads/schedlock.exp (test_step): No longer expect that
16783 "set scheduler-locking step" with "next" over a function call runs
16786 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16788 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
16790 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16792 PR breakpoints/16466
16793 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
16794 * gdb.mi/mi-pending.c (thread_func): New function.
16795 (int main): Add threading support required.
16796 * gdb.mi/mi-pending.exp: Add tests for this issue.
16797 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
16798 (pendfunc2): Remove stdio dependency.
16799 * gdb.mi/mi-pendshr2.c: New file.
16801 2015-03-23 Keith Seitz <keiths@redhat.com>
16803 * gdb.linespec/keywords.c: New file.
16804 * gdb.linespec/keywords.exp: New file.
16806 2015-03-23 Keith Seitz <keiths@redhat.com>
16809 * gdb.dwarf2/staticvirtual.exp: New test.
16811 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16813 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
16814 * README: Remove HP-UX and gdb.hp.
16816 * configure: Regenerate.
16817 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
16818 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
16819 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
16820 gdb.hp/gdb.defects/Makefile.
16821 * gdb.hp/Makefile.in: File deleted.
16822 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
16823 * gdb.hp/gdb.aCC/optimize.c: File deleted.
16824 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
16825 * gdb.hp/gdb.aCC/run.c: File deleted.
16826 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
16827 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
16828 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
16829 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
16830 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
16831 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
16832 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
16833 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
16834 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
16835 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
16836 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
16837 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
16838 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
16839 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
16840 * gdb.hp/gdb.base-hp/reg.s: File deleted.
16841 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
16842 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
16843 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
16844 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
16845 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
16846 * gdb.hp/gdb.compat/Makefile.in: File deleted.
16847 * gdb.hp/gdb.compat/average.c: File deleted.
16848 * gdb.hp/gdb.compat/sum.c: File deleted.
16849 * gdb.hp/gdb.compat/xdb.c: File deleted.
16850 * gdb.hp/gdb.compat/xdb0.c: File deleted.
16851 * gdb.hp/gdb.compat/xdb0.h: File deleted.
16852 * gdb.hp/gdb.compat/xdb1.c: File deleted.
16853 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
16854 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
16855 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
16856 * gdb.hp/gdb.defects/Makefile.in: File deleted.
16857 * gdb.hp/gdb.defects/bs14602.c: File deleted.
16858 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
16859 * gdb.hp/gdb.defects/solib-d.c: File deleted.
16860 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
16861 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
16862 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
16863 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
16864 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
16865 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
16866 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
16867 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
16868 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
16869 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
16870 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
16871 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
16872 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
16873 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
16874 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
16875 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
16876 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
16877 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
16878 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
16879 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
16880 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
16881 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
16882 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
16883 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
16884 * gdb.hp/tools/odump: File deleted.
16886 2015-03-19 Pedro Alves <palves@redhat.com>
16888 * gdb.threads/continue-pending-status.exp (saw_thread_2)
16889 (saw_thread_3): New globals.
16890 (top level): Increment them when an event for the corresponding
16892 (no thread starvation): New test.
16894 2015-03-19 Pedro Alves <palves@redhat.com>
16896 * gdb.threads/continue-pending-status.c: New file.
16897 * gdb.threads/continue-pending-status.exp: New file.
16899 2015-03-18 Pedro Alves <palves@redhat.com>
16901 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16902 Use gdb_is_target_remote instead of is_remote. Use
16903 gdb_test_multiple instead of gdb_expect. Exit early if
16904 gdb_test_multiple hits its internal matches. Tighten stepi tests
16905 expected output. Fail on exit with any signal, instead of just
16908 2015-03-18 Yao Qi <yao.qi@linaro.org>
16911 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
16913 * gdb.base/catch-syscall.exp: Don't skip it on
16914 aarch64*-*-linux* target. Remove elements in all_syscalls.
16915 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
16917 (setup_all_syscalls): New proc.
16919 2015-03-16 Yao Qi <yao.qi@linaro.org>
16921 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
16922 (top level): Skip tests if valid_addr_p returns false for
16925 2015-03-11 Andy Wingo <wingo@igalia.com>
16927 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
16929 2015-03-11 Yao Qi <yao.qi@linaro.org>
16931 * gdb.base/catch-syscall.exp: Fix typo in comments.
16933 2015-03-11 Yao Qi <yao.qi@linaro.org>
16935 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
16937 2015-03-09 Pedro Alves <palves@redhat.com>
16939 * dg-extract-results.py: Delete.
16941 2015-03-09 Pedro Alves <palves@redhat.com>
16943 Merge dg-extract-results.sh from GCC upstream (r218843).
16945 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
16946 * dg-extract-results.sh: Use --text with grep to avoid issues with
16947 binary files. Fall back to cat -v, if that doesn't work.
16949 2015-03-05 Pedro Alves <palves@redhat.com>
16951 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
16953 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
16955 * lib/mi-support.exp (mi_expect_interrupt): Accept
16956 alternative event for when in all-stop mode.
16958 2015-03-04 Pedro Alves <palves@redhat.com>
16960 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
16962 2015-03-04 Mark Kettenis <kettenis@gnu.org>
16964 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
16966 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16968 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
16969 regexps for GDB's current line display, accept a hex address
16970 preceding the line number.
16972 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16974 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
16975 the 'arch1' variable for "s390*-linux*" targets.
16977 2015-03-04 Pedro Alves <palves@redhat.com>
16979 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
16980 (main): Pass missing retval argument to pthread_join call.
16982 2015-03-02 Pedro Alves <palves@redhat.com>
16984 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
16985 (top level): Call do_test with non-stop as well.
16987 2015-03-02 Pedro Alves <palves@redhat.com>
16989 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
16992 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16994 * gdb.arch/s390-vregs.exp: New test.
16995 * gdb.arch/s390-vregs.S: New file.
16997 2015-02-27 Pedro Alves <palves@redhat.com>
16999 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
17000 call to catch_command_errors.
17001 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
17002 catch_command_errors.
17004 2015-02-27 Pedro Alves <palves@redhat.com>
17006 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
17007 "true" for boolean result.
17008 * gdb.gdb/selftest.exp (test_with_self): Also accept full
17011 2015-02-27 Pedro Alves <palves@redhat.com>
17013 * lib/unbuffer_output.c: New file.
17014 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
17015 (main): Call gdb_unbuffer_output.
17017 2015-02-27 Yao Qi <yao.qi@linaro.org>
17019 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
17022 2015-02-26 Doug Evans <dje@google.com>
17024 * gdb.cp/class2.cc (Dbase, D): New classes.
17025 (main): New local delta.
17026 * gdb.cp/class2.exp: Test printing delta.
17027 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
17028 (dynbar): New global.
17029 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
17031 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17033 * gdb.compile/compile-ifunc.c: New file.
17034 * gdb.compile/compile-ifunc.exp: New file.
17036 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
17038 * gdb.base/structs.exp: Check for correct struct on finish.
17040 2015-02-26 Yao Qi <yao.qi@linaro.org>
17042 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
17045 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17047 * gdb.arch/cordic.ko.bz2: New file.
17048 * gdb.arch/cordic.ko.debug.bz2: New file.
17049 * gdb.arch/ppc64-symtab-cordic.exp: New file.
17051 2015-02-25 Yao Qi <yao.qi@linaro.org>
17053 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
17054 aarch64*-*-* target.
17056 2015-02-23 Pedro Alves <palves@redhat.com>
17058 * lib/gdb.exp (delete_breakpoints): Rewrite using
17061 2015-02-23 Pedro Alves <palves@redhat.com>
17063 * gdb.base/info-os.c: Include stdlib.h.
17065 2015-02-22 Doug Evans <xdje42@gmail.com>
17068 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
17069 is read after symbols have been re-read.
17070 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
17071 * gdb.ada/exec_changed/second.adb (Second): Ditto.
17073 2015-02-21 Doug Evans <dje@google.com>
17075 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
17077 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17080 * gdb.arch/i386-biarch-core.core.bz2: New file.
17081 * gdb.arch/i386-biarch-core.exp: New file.
17083 2015-02-21 Pedro Alves <palves@redhat.com>
17085 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
17088 2015-02-20 Pedro Alves <palves@redhat.com>
17090 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
17093 2015-02-20 Pedro Alves <palves@redhat.com>
17095 * gdb.threads/multi-create-ns-info-thr.exp: New file.
17097 2015-02-20 Pedro Alves <palves@redhat.com>
17099 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
17100 clean_restart before gdb_target_supports_trace.
17102 2015-02-20 Pedro Alves <palves@redhat.com>
17105 * gdb.threads/clone-thread_db.c: New file.
17106 * gdb.threads/clone-thread_db.exp: New file.
17108 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
17110 PR breakpoints/16812
17111 * gdb.base/catch-gdb-caused-signals.c: New file.
17112 * gdb.base/catch-gdb-caused-signals.exp: New file.
17114 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
17116 * configure: Regenerated.
17117 * configure.ac: Use GDB_AC_TRANSFORM.
17118 * aclocal.m4: sinclude ../transform.m4.
17120 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17122 * lib/dtrace.exp: New file.
17123 * gdb.base/dtrace-probe.exp: Likewise.
17124 * gdb.base/dtrace-probe.d: Likewise.
17125 * gdb.base/dtrace-probe.c: Likewise.
17126 * lib/pdtrace.in: Likewise.
17127 * configure.ac: Output variables with the transformed names of
17128 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
17129 * configure: Regenerated.
17131 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17133 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
17134 expected message when trying to access $_probe_* convenience
17135 variables while not on a probe.
17137 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17139 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
17141 2015-02-11 Pedro Alves <pedro@codesourcery.com>
17143 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
17144 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
17146 2015-02-10 Doug Evans <xdje42@gmail.com>
17148 * lib/gdb.exp (gdb_load): Always return a result.
17150 2015-02-10 Pedro Alves <palves@redhat.com>
17152 * gdb.threads/signal-sigtrap.c: New file.
17153 * gdb.threads/signal-sigtrap.exp: New file.
17155 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
17157 * gdb.trace/no-attach-trace.c: New file.
17158 * gdb.trace/no-attach-trace.exp: New file.
17160 2015-02-09 Mark Wielaard <mjw@redhat.com>
17162 * gdb.dwarf2/atomic.c: New file.
17163 * gdb.dwarf2/atomic-type.exp: Likewise.
17165 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17167 * gdb.btrace/buffer-size.exp: Update "info record" output.
17168 * gdb.btrace/delta.exp: Update "info record" output.
17169 * gdb.btrace/enable.exp: Update "info record" output.
17170 * gdb.btrace/finish.exp: Update "info record" output.
17171 * gdb.btrace/instruction_history.exp: Update "info record" output.
17172 * gdb.btrace/next.exp: Update "info record" output.
17173 * gdb.btrace/nexti.exp: Update "info record" output.
17174 * gdb.btrace/step.exp: Update "info record" output.
17175 * gdb.btrace/stepi.exp: Update "info record" output.
17176 * gdb.btrace/nohist.exp: Update "info record" output.
17178 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17180 * gdb.btrace/buffer-size: New.
17182 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17184 * gdb.btrace/delta.exp: Update "info record" output.
17185 * gdb.btrace/enable.exp: Update "info record" output.
17186 * gdb.btrace/finish.exp: Update "info record" output.
17187 * gdb.btrace/instruction_history.exp: Update "info record" output.
17188 * gdb.btrace/next.exp: Update "info record" output.
17189 * gdb.btrace/nexti.exp: Update "info record" output.
17190 * gdb.btrace/step.exp: Update "info record" output.
17191 * gdb.btrace/stepi.exp: Update "info record" output.
17192 * gdb.btrace/nohist.exp: Update "info record" output.
17194 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
17197 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
17199 2015-02-06 Pedro Alves <palves@redhat.com>
17201 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
17203 (seconds_left, again): New globals.
17204 (main): Wait seconds_left in a 1-second sleep loop instead of
17205 sleeping 180 seconds. If 'again' is set, reset the seconds
17207 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
17208 'again' in the inferior before detaching. Print the seconds left.
17209 (options): New global.
17210 (top level): Build program with -DTIMEOUT=$timeout.
17212 2015-02-06 Pedro Alves <palves@redhat.com>
17214 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
17215 determine how many seconds to pass to 'alarm'.
17216 * gdb.base/gdb-sigterm.exp (top level): Build program with
17217 -DTIMEOUT=$timeout.
17218 (do_test): Return success/failure indication. Add more verbose
17219 logging. Don't fail if 200 single steps are seen. Instead, fail
17220 when the test times out.
17221 (passes): New global.
17222 (top level): Break the testing loop if testing fails on any
17223 iteration. Use gdb_assert.
17225 2015-02-04 Don Breazeal <donb@codesourcery.com>
17227 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
17228 and initialize them.
17229 (ipc_cleanup): New function.
17230 (main): Don't declare shmid, semid, and msqid. Add a call to
17231 atexit so that we call ipc_cleanup on exit.
17233 2015-02-04 Pedro Alves <palves@redhat.com>
17235 * boards/native-extended-gdbserver.exp: Remove any target variant
17236 specifications from the board name before clearing the isremote
17237 flag from board_info.
17239 2015-01-31 Doug Evans <xdje42@gmail.com>
17241 * gdb.base/maint.exp <maint print type argc>: Update expected output.
17243 2015-01-31 Gary Benson <gbenson@redhat.com>
17245 * gdb.base/completion.exp: Disable completion limiting for
17246 existing tests. Add new tests to check completion limiting.
17247 * gdb.linespec/ls-errs.exp: Disable completion limiting.
17249 2015-01-31 Doug Evans <xdje42@gmail.com>
17251 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
17253 2015-01-31 Doug Evans <xdje42@gmail.com>
17255 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
17256 entries. Duplicate file section script entries.
17257 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
17258 inlined entries. Add test for safe-path rejection.
17259 * gdb.python/py-section-script.c: Add duplicate inlined section script
17260 entries. Duplicate file section script entries.
17261 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
17262 inlined entries. Add test for safe-path rejection.
17264 2015-01-29 Joel Brobecker <brobecker@adacore.com>
17266 * gdb.ada/disc_arr_bound: New testcase.
17268 2015-01-29 Joel Brobecker <brobecker@adacore.com>
17270 * gdb.ada/mi_var_array: New testcase.
17272 2015-01-27 Doug Evans <dje@google.com>
17274 * gdb.python/py-objfile.exp: Add tests for objfile.username.
17275 Add test for objfile.filename, objfile.username after objfile
17278 2015-01-26 Joel Brobecker <brobecker@adacore.com>
17280 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
17281 the second test to print the name attribute of value
17282 returned by the call to gdb.lookup_type, and adjust
17283 the expected output accordingly.
17285 2015-01-25 Mark Wielaard <mjw@redhat.com>
17287 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
17288 * gdb.base/disp-step-fork.c: Include unistd.h.
17289 * gdb.base/siginfo-obj.c: Include stdio.h.
17290 * gdb.base/siginfo-thread.c: Likewise.
17291 * gdb.mi/non-stop.c: Include unistd.h.
17292 * gdb.mi/nsthrexec.c: Include stdio.h.
17293 * gdb.mi/pthreads.c: Include unistd.h.
17294 * gdb.modula2/unbounded1.c (main): Declare returns int.
17295 * gdb.reverse/consecutive-reverse.c: Likewise.
17296 * gdb.threads/create-fail.c: Include unistd.h.
17297 * gdb.threads/killed.c: Likewise.
17298 * gdb.threads/linux-dp.c: Likewise.
17299 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
17300 * gdb.threads/non-ldr-exc-2.c: Likewise.
17301 * gdb.threads/non-ldr-exc-3.c: Likewise.
17302 * gdb.threads/non-ldr-exc-4.c: Likewise.
17303 * gdb.threads/pthreads.c: Include unistd.h.
17304 (main): Declare returns int.
17305 * gdb.threads/tls-main.c (foo): New declaration.
17306 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
17308 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
17310 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
17311 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
17313 2015-01-15 Mark Wielaard <mjw@redhat.com>
17315 * gdb.base/noreturn-return.c: New file.
17316 * gdb.base/noreturn-return.exp: New file.
17317 * gdb.base/noreturn-finish.c: New file.
17318 * gdb.base/noreturn-finish.exp: New file.
17320 2015-01-23 Pedro Alves <palves@redhat.com>
17322 * gdb.threads/continue-pending-after-query.c: New file.
17323 * gdb.threads/continue-pending-after-query.exp: New file.
17325 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
17326 Simon Marchi <simon.marchi@ericsson.com>
17328 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
17329 * gdb.base/valgrind-db-attach.exp: Same.
17330 * gdb.base/valgrind-infcall.exp: Same.
17331 * lib/mi-support.exp (default_mi_gdb_start): Same.
17332 * lib/prompt.exp (default_prompt_gdb_start): Same.
17333 * lib/gdb.exp (default_gdb_spawn): Same.
17334 (gdb_interact): New.
17337 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17339 * gdb.compile/compile.exp (pointer to jit function): New test.
17341 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
17343 * lib/gdb.exp (supports_process_record): Return true for
17345 (supports_reverse): Likewise.
17347 2015-01-15 Don Breazeal <donb@codesourcery.com>
17349 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
17350 instead of checking whether the target board is remote and
17351 use spawn_wait_for_attach instead of exec/sleep.
17352 * gdb.base/attach-twice.exp: Likewise.
17354 2015-01-15 Joel Brobecker <brobecker@adacore.com>
17356 * gdb.ada/var_arr_attrs: New testcase.
17358 2015-01-14 Pedro Alves <palves@redhat.com>
17359 Joel Brobecker <brobecker@adacore.com>
17362 * gdb.base/bp-cmds-execution-x-script.c: New file.
17363 * gdb.base/bp-cmds-execution-x-script.exp: New file.
17364 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
17366 2015-01-14 Pedro Alves <palves@redhat.com>
17369 * gdb.base/batch-preserve-term-settings.c: New file.
17370 * gdb.base/batch-preserve-term-settings.exp: New file.
17372 2015-01-13 Doug Evans <dje@google.com>
17374 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
17377 2015-01-13 Joel Brobecker <brobecker@adacore.com>
17379 * Makefile.in (clean mostlyclean): Do not delete *.py.
17381 2015-01-13 Joel Brobecker <brobecker@adacore.com>
17383 * gdb.python/py-lookup-type.exp: New file.
17385 2015-01-12 Pedro Alves <palves@redhat.com>
17387 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
17388 restore GDBFLAGS before returning.
17390 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17392 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
17393 is_amd64_regs_target and is_x86_like_target.
17395 2015-01-11 Doug Evans <xdje42@gmail.com>
17397 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
17398 is given without an explicit form.
17399 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
17401 * gdb.dwarf/corrupt.exp: Ditto.
17402 * gdb.dwarf2/enum-type.exp: Ditto.
17403 * gdb.trace/entry-values.exp: Ditto.
17404 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
17406 2015-01-11 Doug Evans <xdje42@gmail.com>
17409 * gdb.base/maint.exp: Remove references to "maint demangle".
17410 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
17411 Add tests for explicitly specifying language to demangle.
17412 * gdb.dlang/demangle.exp: Ditto.
17414 2015-01-09 Pedro Alves <palves@redhat.com>
17416 * gdb.threads/non-stop-fair-events.c: New file.
17417 * gdb.threads/non-stop-fair-events.exp: New file.
17419 2015-01-09 Pedro Alves <palves@redhat.com>
17421 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
17422 the global scope. Set a breakpoint after all threads are started
17423 rather than stepping over two source lines. Expect the prompt.
17424 * gdb.base/watch_thread_num.c (threads_started_barrier): New
17427 (main): Use threads_started_barrier to wait for all threads to
17428 start. Main thread no longer calls thread_function. Exit after
17430 (loop): New function.
17431 (thread_function): Wait on threads_started_barrier barrier. Call
17432 'loop' at each iteration.
17433 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
17434 threads have started, instead of hardcoding number of "next"
17435 steps. Use an access watchpoint instead of a write watchpoint.
17437 2015-01-09 Pedro Alves <palves@redhat.com>
17439 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
17440 (thread_func): Wait on barrier.
17441 (main): Wait for all threads to start before stopping GDB.
17442 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
17444 (thread1_func, thread2_func): Wait on barrier.
17445 (main): Wait for all threads to start before stopping GDB.
17446 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
17448 (thread1_func, thread2_func): Wait on barrier.
17449 (main): Wait for all threads to start before stopping GDB.
17451 2015-01-09 Pedro Alves <palves@redhat.com>
17453 * gdb.threads/attach-many-short-lived-threads.c: New file.
17454 * gdb.threads/attach-many-short-lived-threads.exp: New file.
17456 2014-01-09 Pedro Alves <palves@redhat.com>
17458 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
17459 instead of to thread 2.
17460 * gdb.threads/signal-command-multiple-signals-pending.c (main):
17461 Add barrier around each pthread_create call instead of around all
17463 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
17464 Set a break on thread_function and have the child threads hit it
17467 2015-01-09 Pedro Alves <palves@redhat.com>
17469 * lib/gdb.exp (can_spawn_for_attach): New procedure.
17470 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
17472 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
17473 checking whether the target board is remote.
17474 * gdb.multi/multi-attach.exp: Likewise.
17475 * gdb.python/py-sync-interp.exp: Likewise.
17476 * gdb.server/ext-attach.exp: Likewise.
17477 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
17478 tests that need to attach, instead of checking whether the target
17479 board is remote at the top of the file.
17481 2015-01-08 Yao Qi <yao@codesourcery.com>
17483 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
17485 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17487 Fix testcase compilation.
17488 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
17490 2015-01-06 Joel Brobecker <brobecker@adacore.com>
17492 * gdb.python/py-type.exp: Add a couple test about empty
17493 array creation, and negative-length array creation.
17495 2015-01-02 Doug Evans <xdje42@gmail.com>
17497 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
17499 2015-01-02 Doug Evans <dje@google.com>
17501 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
17503 2014-12-29 Yao Qi <yao@codesourcery.com>
17505 * gdb.trace/entry-values.exp: Update comments. Rename variable
17506 bar_call_foo to returned_from_foo.
17508 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
17511 * gdb.linespec/break-asm-file.c: New file.
17512 * gdb.linespec/break-asm-file.exp: New file.
17513 * gdb.linespec/break-asm-file0.s: New file.
17514 * gdb.linespec/break-asm-file1.s: New file.
17516 2014-12-18 Nigel Stephens <nigel@mips.com>
17517 Maciej W. Rozycki <macro@codesourcery.com>
17519 * gdb.base/float.exp: Handle the new output from "info float" on
17522 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17524 Fix MinGW compilation.
17525 * gdb.compile/compile-ops.exp: Update untested message if
17526 !skip_compile_feature_tests.
17527 * gdb.compile/compile-setjmp.exp: Likewise.
17528 * gdb.compile/compile-tls.exp: Likewise.
17529 * gdb.compile/compile.exp: Likewise.
17530 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
17531 supported on this host".
17533 2014-12-16 Doug Evans <xdje42@gmail.com>
17535 * boards/stabs.exp: New file.
17537 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
17539 * gdb.base/completion.exp: Adjust to format changes of "maint
17540 print user-registers".
17542 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
17545 * gdb.arch/aarch64-fp.c: New file.
17546 * gdb.arch/aarch64-fp.exp: New file.
17548 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
17550 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
17551 r210637, r210913, r211666, r215400, r215817).
17553 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
17554 * dg-extract-results.py: New file.
17555 * dg-extract-results.sh: Use it if the environment seems
17558 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
17560 * dg-extract-results.py (parse_run): Handle warnings that
17561 are printed before a test harness is run.
17563 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
17565 * dg-extract-results.py (Named): Remove __cmp__ method.
17566 (output_variation): Use a key to sort variation.harnesses.
17568 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
17570 * dg-extract-results.py: For Python 3, force sys.stdout to
17571 handle surrogate escape sequences.
17572 (safe_open): New function.
17573 (output_segment, main): Use it.
17575 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
17577 * dg-extract-results.py (Prog.result_re): Include options
17580 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
17582 * dg-extract-results.py (output_variation): Always sort if
17585 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
17587 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
17588 as long as we get pagination notifications.
17590 2014-12-15 Jason Merrill <jason@redhat.com>
17592 * Makefile.in (check-gdb.%): Restore.
17593 * README: Mention it.
17595 2014-12-13 Joel Brobecker <brobecker@adacore.com>
17597 * gdb.ada/str_uninit: New testcase.
17599 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17602 * gdb.base/vla-stub-define.c: New file.
17603 * gdb.base/vla-stub.c: New file.
17604 * gdb.base/vla-stub.exp: New file.
17606 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
17607 Jan Kratochvil <jan.kratochvil@redhat.com>
17608 Tom Tromey <tromey@redhat.com>
17610 * configure.ac: Add gdb.compile/.
17611 * configure: Regenerate.
17612 * gdb.compile/Makefile.in: New file.
17613 * gdb.compile/compile-ops.exp: New file.
17614 * gdb.compile/compile-ops.c: New file.
17615 * gdb.compile/compile-tls.c: New file.
17616 * gdb.compile/compile-tls.exp: New file.
17617 * gdb.compile/compile-constvar.S: New file.
17618 * gdb.compile/compile-constvar.c: New file.
17619 * gdb.compile/compile-mod.c: New file.
17620 * gdb.compile/compile-nodebug.c: New file.
17621 * gdb.compile/compile-setjmp-mod.c: New file.
17622 * gdb.compile/compile-setjmp.c: New file.
17623 * gdb.compile/compile-setjmp.exp: New file.
17624 * gdb.compile/compile-shlib.c: New file.
17625 * gdb.compile/compile.c: New file.
17626 * gdb.compile/compile.exp: New file.
17627 * lib/gdb.exp (skip_compile_feature_tests): New proc.
17629 2014-12-12 Tom Tromey <tromey@redhat.com>
17631 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
17632 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
17634 2014-12-12 Doug Evans <dje@google.com>
17636 * lib/gdb-python.exp (get_python_valueof): New function.
17637 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
17639 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17641 * gdb.base/completion.exp: Add test for completion of "info
17644 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
17646 * gdb.base/func-ptrs.c: New file.
17647 * gdb.base/func-ptrs.exp: New file.
17649 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17651 PR breakpoints/17012
17652 * gdb.base/dprintf-detach.c: New file.
17653 * gdb.base/dprintf-detach.exp: New file.
17655 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17657 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
17658 * lib/gdb.exp (target_is_gdbserver): New procedure.
17660 2014-12-08 Doug Evans <dje@google.com>
17662 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
17664 2014-12-05 Yao Qi <yao@codesourcery.com>
17666 * gdb.guile/scm-error.exp: Remove the third argument to
17667 gdb_remote_download.
17668 * gdb.guile/scm-frame-args.exp: Likewise.
17669 * gdb.guile/scm-section-script.exp: Likewise.
17671 2014-12-05 Yao Qi <yao@codesourcery.com>
17673 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
17675 2014-12-04 Doug Evans <dje@google.com>
17677 * gdb.python/py-objfile.exp: Add tests for
17678 objfile.add_separate_debug_file.
17680 2014-12-04 Doug Evans <dje@google.com>
17682 * lib/gdb.exp (get_build_id): New function.
17683 (build_id_debug_filename_get): Rewrite to use it.
17684 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
17686 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
17688 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
17689 `method(long)', not just 0x0.
17690 * gdb.cp/nsalias.exp: Align code labels to 4.
17691 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
17692 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
17693 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
17694 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
17695 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
17696 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
17698 2014-12-02 Doug Evans <dje@google.com>
17701 * gdb.cp/anon-ns.cc: Move guts of this file to ...
17702 * gdb.cp/anon-ns2.cc: ... here. New file.
17703 * gdb.cp/anon-ns.exp: Update.
17705 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
17707 * gdb.python/py-events.py (inferior_call_handler): New.
17708 (register_changed_handler, memory_changed_handler): New.
17709 (test_events.invoke): Register new handlers.
17710 * gdb.python/py-events.exp: Add tests for inferior call,
17711 memory_changed and register_changed events.
17713 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17715 * gdb.base/execl-update-breakpoints.exp: Specify the link address
17716 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
17717 if the linker doesn't understand this.
17719 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
17721 * gdb.python/python.exp: Change expected reply to help().
17723 2014-12-01 Yao Qi <yao@codesourcery.com>
17725 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
17726 AC_CONFIG_SUBDIRS(gdb.gdbtk).
17727 * configure: Re-generated.
17729 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
17731 * gdb.cp/chained-calls.cc: New file.
17732 * gdb.cp/chained-calls.exp: New file.
17733 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
17735 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
17737 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
17738 * gdb.dwarf2/symtab-producer.exp: Same.
17739 * gdb.gdb/python-interrupts.exp: Same.
17740 * gdb.gdb/python-selftest.exp: Same.
17741 * gdb.python/py-linetable.exp: Same.
17742 * gdb.python/py-type.exp: Same.
17743 * gdb.python/py-value-cc.exp: Same.
17744 * gdb.python/py-value.exp: Same.
17746 2014-11-28 Yao Qi <yao@codesourcery.com>
17748 * gdb.base/break-probes.exp: Match library name prefixed with
17751 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
17753 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
17754 test expected output. Add parentheses for the call to print.
17755 Remove L suffix from integers.
17757 2014-11-26 Doug Evans <dje@google.com>
17759 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
17761 2014-11-22 Yao Qi <yao@codesourcery.com>
17763 * gdb.trace/entry-values.c: Remove asms.
17764 (foo): Add foo_label.
17765 (bar): Add bar_label.
17766 * gdb.trace/entry-values.exp: Remove code computing foo's
17767 length and bar's length.
17768 (Dwarf::assemble): Invoke function_range for bar and use
17769 MACRO_AT_func for foo.
17771 2014-11-22 Yao Qi <yao@codesourcery.com>
17773 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
17774 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
17775 Use .Lgcc43_procstart instead of gcc43.
17777 2014-11-21 Joel Brobecker <brobecker@adacore.com>
17779 * gdb.ada/n_arr_bound: New testcase.
17781 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
17783 PR breakpoints/10737
17784 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
17785 test_catch_syscall_multi_arch.
17786 (test_catch_syscall_multi_arch): New function.
17788 2014-11-20 Doug Evans <xdje42@gmail.com>
17790 * gdb.base/maint.exp: Update expected output.
17792 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
17794 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
17795 4-byte instruction on S390.
17797 2014-11-19 Joel Brobecker <brobecker@adacore.com>
17799 * gdb.ada/arr_arr: New testcase.
17801 2014-11-19 Joel Brobecker <brobecker@adacore.com>
17803 * gdb.ada/pkd_arr_elem: New Testcase.
17805 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
17807 * gdb.reverse/break-precsave: Expect completion message for
17809 * gdb.reverse/consecutive-precsave.exp: Likewise.
17810 * gdb.reverse/finish-precsave.exp: Likewise.
17811 * gdb.reverse/i386-precsave.exp: Likewise.
17812 * gdb.reverse/machinestate-precsave.exp: Likewise.
17813 * gdb.reverse/sigall-precsave.exp: Likewise.
17814 * gdb.reverse/solib-precsave.exp: Likewise.
17815 * gdb.reverse/step-precsave.exp: Likewise.
17816 * gdb.reverse/until-precsave.exp: Likewise.
17817 * gdb.reverse/watch-precsave.exp: Likewise.
17819 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17821 * gdb.base/bp-permanent.c: Include unistd.h.
17822 * gdb.python/py-framefilter-mi.c (main): Add return type.
17823 * gdb.python/py-framefilter.c (main): Likewise.
17824 * gdb.trace/actions-changed.c (main): Likewise.
17826 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17828 * gdb.mi/until.c: Add eye-catchers.
17829 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
17832 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17834 * gdb.base/condbreak.exp: Drop references to removed non-prototype
17835 function header variants in break1.c.
17836 * gdb.base/ena-dis-br.exp: Likewise.
17837 * gdb.base/hbreak2.exp: Likewise.
17838 * gdb.reverse/until-precsave.exp: Drop references to removed
17839 non-prototype function header variants in ur1.c.
17840 * gdb.reverse/until-reverse.exp: Likewise.
17842 2014-11-17 Petr Machata <pmachata@redhat.com>
17844 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
17845 ${_cu_offset_size} bytes abbrev offset.
17847 2014-11-15 Doug Evans <xdje42@gmail.com>
17850 * gdb.base/line-symtabs.exp: New file.
17851 * gdb.base/line-symtabs.c: New file.
17852 * gdb.base/line-symtabs.h: New file.
17854 2014-11-14 Yao Qi <yao@codesourcery.com>
17856 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
17857 (func): Add label func_label.
17858 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
17859 Replace low_pc and high_pc with MACRO_AT_range.
17860 Replace name, low_pc and high_pc with MACRO_AT_func.
17862 2014-11-14 Yao Qi <yao@codesourcery.com>
17864 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
17865 Replace name, low_pc and high_pc with MACRO_AT_func.
17867 2014-11-14 Yao Qi <yao@codesourcery.com>
17869 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
17870 produce debug information.
17871 * gdb.dwarf2/implptr-optimized-out.S: Removed.
17873 2014-11-14 Yao Qi <yao@codesourcery.com>
17875 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
17876 object and get function length.
17877 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
17878 with MACRO_AT_func.
17879 (top-level): Replace gdb_compile and clean_restart with
17880 prepare_for_testing.
17881 * gdb.dwarf2/main.c (main): Add label main_label.
17883 2014-11-14 Yao Qi <yao@codesourcery.com>
17885 * lib/dwarf.exp (function_range): New procedure.
17886 (Dwarf::_handle_macro_at_func): New procedure.
17887 (Dwarf::_handle_macro_at_range): New procedure.
17888 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
17890 2014-11-14 Yao Qi <yao@codesourcery.com>
17892 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
17893 (_handle_attribute): New procedure.
17895 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17897 * gdb.ada/cond_lang/foo.c (callme): Add return type.
17898 * gdb.base/call-sc.c (zed): Likewise.
17899 * gdb.base/checkpoint.c (main): Likewise.
17900 * gdb.base/dump.c (main): Likewise.
17901 * gdb.base/gcore.c (main): Likewise.
17902 * gdb.base/huge.c (main): Likewise.
17903 * gdb.base/multi-forks.c (main): Likewise.
17904 * gdb.base/pr10179-a.c (main): Likewise.
17905 * gdb.base/savedregs.c (main): Likewise.
17906 * gdb.base/sigaltstack.c (main): Likewise.
17907 * gdb.base/siginfo.c (main): Likewise.
17908 * gdb.base/structs.c (zed): Likewise.
17909 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
17910 * gdb.mi/mi-syn-frame.c (main): Likewise.
17911 * gdb.mi/until.c (foo, main): Likewise.
17912 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
17913 * gdb.base/solib-weak.c (foo): Declare.
17914 * gdb.base/attach-twice.c: Include stdio.h.
17915 * gdb.base/weaklib1.c: Likewise.
17916 * gdb.base/weaklib2.c: Likewise.
17917 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
17918 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
17920 * gdb.base/attach-pie-misread.c: Include stdlib.h.
17921 * gdb.mi/mi-exit-code.c: Likewise.
17922 * gdb.base/break-interp-lib.c: Include string.h.
17923 * gdb.base/coremaker.c: Likewise.
17924 * gdb.base/testenv.c: Likewise.
17925 * gdb.python/py-finish-breakpoint.c: Likewise.
17926 * gdb.base/inferior-died.c: Include sys/wait.h.
17927 * gdb.base/fileio.c: Include time.h.
17928 * gdb.base/async-shell.c: Include unistd.h.
17929 * gdb.base/dprintf-non-stop.c: Likewise.
17930 * gdb.base/info-os.c: Likewise.
17931 * gdb.mi/mi-console.c: Likewise.
17932 * gdb.mi/watch-nonstop.c: Likewise.
17933 * gdb.python/py-events.c: Likewise.
17934 * gdb.base/async.c (baz): Move up before its invocation.
17935 * gdb.base/code_elim2.c (my_global_func): Likewise.
17936 * gdb.base/skip-solib-lib.c (multiply): Likewise.
17937 * gdb.base/advance.c (func2): Likewise.
17939 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17941 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
17943 * gdb.base/annota3.c: Likewise.
17944 * gdb.base/async.c: Likewise.
17945 * gdb.base/average.c: Likewise.
17946 * gdb.base/call-ar-st.c: Likewise.
17947 * gdb.base/call-rt-st.c: Likewise.
17948 * gdb.base/call-sc.c: Likewise.
17949 * gdb.base/call-strs.c: Likewise.
17950 * gdb.base/ending-run.c: Likewise.
17951 * gdb.base/execd-prog.c: Likewise.
17952 * gdb.base/exprs.c: Likewise.
17953 * gdb.base/foll-exec.c: Likewise.
17954 * gdb.base/foll-fork.c: Likewise.
17955 * gdb.base/foll-vfork.c: Likewise.
17956 * gdb.base/funcargs.c: Likewise.
17957 * gdb.base/gcore.c: Likewise.
17958 * gdb.base/jump.c: Likewise.
17959 * gdb.base/langs0.c: Likewise.
17960 * gdb.base/langs1.c: Likewise.
17961 * gdb.base/langs2.c: Likewise.
17962 * gdb.base/mips_pro.c: Likewise.
17963 * gdb.base/nodebug.c: Likewise.
17964 * gdb.base/opaque0.c: Likewise.
17965 * gdb.base/opaque1.c: Likewise.
17966 * gdb.base/recurse.c: Likewise.
17967 * gdb.base/run.c: Likewise.
17968 * gdb.base/scope0.c: Likewise.
17969 * gdb.base/scope1.c: Likewise.
17970 * gdb.base/setshow.c: Likewise.
17971 * gdb.base/setvar.c: Likewise.
17972 * gdb.base/shmain.c: Likewise.
17973 * gdb.base/shr1.c: Likewise.
17974 * gdb.base/shr2.c: Likewise.
17975 * gdb.base/sigall.c: Likewise.
17976 * gdb.base/signals.c: Likewise.
17977 * gdb.base/so-indr-cl.c: Likewise.
17978 * gdb.base/solib2.c: Likewise.
17979 * gdb.base/structs.c: Likewise.
17980 * gdb.base/sum.c: Likewise.
17981 * gdb.base/vforked-prog.c: Likewise.
17982 * gdb.base/watchpoint.c: Likewise.
17983 * gdb.reverse/shr2.c: Likewise.
17984 * gdb.reverse/until-reverse.c: Likewise.
17985 * gdb.reverse/ur1.c: Likewise.
17986 * gdb.reverse/watch-reverse.c: Likewise.
17988 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17990 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
17992 * gdb.base/sepdebug.exp: Drop references to removed code.
17994 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17996 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
17997 variant. Preserve original line numbering.
17998 * gdb.base/list1.c: Likewise.
18000 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18002 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
18004 * gdb.base/break1.c: Likewise.
18005 * gdb.base/break.exp: Drop references to removed code.
18007 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18009 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
18012 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18014 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
18016 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18018 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
18019 logic into perform_all_tests() and invoke it with and without
18020 function header prototypes.
18021 (do_function_calls): Remove conditional XFAIL for PR 5318.
18022 (rerun_and_prepare): Remove duplicate code.
18023 (perform_all_tests): New. Main logic moved here.
18025 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18027 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
18028 code guarded by #ifdef NO_PROTOTYPES.
18029 (t_double_many_args): Likewise.
18030 (DEF_FUNC_MANY_ARGS_1): Likewise.
18031 (DEF_FUNC_VALUES_1): Likewise.
18032 (t_structs_ldc): Renamed from t_structs_fc in conditional code
18033 guarded by #ifdef PROTOTYPES.
18035 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18037 * gdb.mi/mi-console.c: Add eye-catcher.
18038 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
18039 instead of literal line number.
18041 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18043 * gdb.base/shr2.c: Add eye-catcher.
18044 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
18047 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18049 * gdb.base/jump.c: Add eye-catchers.
18050 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
18053 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18055 * gdb.base/execd-prog.c: Add eye-catchers.
18056 * gdb.base/foll-exec.c: Likewise.
18057 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
18060 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18062 * gdb.base/ending-run.c: Add eye-catchers.
18063 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
18064 literal line numbers.
18066 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18068 * gdb.base/call-rt-st.c: Add eye-catchers.
18069 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
18070 literal line numbers.
18072 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18074 * gdb.base/call-ar-st.c: Add eye-catchers.
18075 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
18076 literal line numbers.
18078 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18080 * gdb.base/average.c: Add eye-catchers.
18081 * gdb.base/sum.c: Likewise.
18082 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
18083 regexps dynamically.
18085 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18087 * gdb.base/solib1.c: Add eye-catchers.
18088 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
18089 literal line numbers.
18091 2014-11-12 Pedro Alves <palves@redhat.com>
18093 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
18096 2014-11-12 Pedro Alves <palves@redhat.com>
18098 * gdb.arch/i386-bp_permanent.c: New file.
18099 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
18100 (srcfile): Set to i386-bp_permanent.c.
18101 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
18102 that stepi does not execute the 'leave' instruction, instead of
18103 testing it does execute.
18104 * gdb.base/bp-permanent.c: New file.
18105 * gdb.base/bp-permanent.exp: New file.
18107 2014-11-10 Doug Evans <xdje42@gmail.com>
18110 * gdb.base/symtab-search-order.exp: New file.
18111 * gdb.base/symtab-search-order.c: New file.
18112 * gdb.base/symtab-search-order-1.c: New file.
18113 * gdb.base/symtab-search-order-shlib-1.c: New file.
18115 2014-11-07 Pedro Alves <palves@redhat.com>
18118 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
18121 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
18124 * gdb.cp/pr17494.cc: New file.
18125 * gdb.cp/pr17494.exp: New file.
18127 2014-11-02 Yao Qi <yao@codesourcery.com>
18129 * gdb.python/python.exp: Get working directory and match the
18130 output of "set extended-prompt \\w " with it.
18132 2014-10-30 Doug Evans <dje@google.com>
18134 * gdb.python/py-objfile.exp: Add tests for setting random attributes
18136 * gdb.python/py-progspace.exp: Add tests for setting random attributes
18139 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
18141 * gdb.base/fullpath-expand.exp: Skip for a remote host.
18142 * gdb.base/realname-expand.exp: Likewise.
18143 * gdb.linespec/macro-relative.exp: Likewise.
18145 2014-10-29 Pedro Alves <palves@redhat.com>
18148 * gdb.threads/schedlock.c (some_function): New function.
18149 (call_function): New global.
18150 (MAYBE_CALL_SOME_FUNCTION): New macro.
18151 (thread_function): Call it.
18152 * gdb.threads/schedlock.exp (get_args): Add description parameter,
18153 and use it instead of a global counter. Adjust all callers.
18154 (get_current_thread): Use "find current thread" for test message
18155 here rather than having all callers pass down the same string.
18156 (goto_loop): New procedure, factored out from ...
18157 (my_continue): ... this.
18158 (step_ten_loops): Change parameter from test message to command to
18160 (list_count): Delete global.
18161 (check_result): New procedure, factored out from duplicate top
18163 (continue tests): Wrap in with_test_prefix.
18164 (test_step): New procedure, factored out from duplicate top level
18166 (top level): Test "step" in combination with all scheduler-locking
18167 modes. Test "next" in combination with all scheduler-locking
18168 modes, and in combination with stepping over a function call or
18170 * gdb.threads/next-bp-other-thread.c: New file.
18171 * gdb.threads/next-bp-other-thread.exp: New file.
18173 2014-10-29 Pedro Alves <palves@redhat.com>
18176 * gdb.python/python.exp: Test a multi-line command that spawns
18177 interactive Python.
18178 * gdb.base/multi-line-starts-subshell.exp: New file.
18180 2014-10-29 Yao Qi <yao@codesourcery.com>
18182 * gdb.base/fileio.exp: Make directories on host.
18184 2014-10-29 Yao Qi <yao@codesourcery.com>
18186 * gdb.base/fileio.c (test_write): Close the file.
18188 2014-10-28 Pedro Alves <palves@redhat.com>
18191 * gdb.base/sigstep.c (no_handler): New global.
18192 (main): If 'no_handler is true, set the signal handlers to
18194 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
18195 with_sw_watch and no_handler parameters. Handle them.
18196 (top level) <stepping over handler when stopped at a breakpoint
18197 test>: Add a test axis for testing with a software watchpoint, and
18198 another for testing with the signal handler set to SIG_IGN.
18199 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
18200 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
18202 2014-10-28 Pedro Alves <palves@redhat.com>
18205 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
18206 * gdb.base/sigstep.exp (other_handler_location): New global.
18207 (advance): Support stepping into the signal handler, and running
18208 commands while in the handler.
18209 (in_handler_map): New global.
18210 (top level): In the advance test, add combinations for getting
18211 into the handler with stepping commands, and for running commands
18212 in the handler. Add comment descripting the advancei tests.
18214 2014-10-28 Pedro Alves <palves@redhat.com>
18216 * gdb.base/sigstep.exp: Use build_executable instead of
18217 prepare_for_testing.
18218 (top level): Move code that starts GDB, runs to main and creates a
18220 (restart): ... this new procedure.
18221 (top level): Move backtrace from signal handler test to ...
18222 (validate_backtrace): ... this new procedure.
18223 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
18224 with_test_prefix. Always restart GDB.
18225 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
18226 with_test_prefix. Always restart GDB. No need to delete
18227 breakpoints after the test.
18228 (test_skip_handler): Remove prefix parameter.
18229 (skip_over_handler, breakpoint_to_handler)
18230 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
18231 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
18232 restart GDB. No need to delete breakpoints after the test.
18233 (top level): Use foreach to call the test procedures with
18234 different commands.
18236 2014-10-28 Pedro Alves <palves@redhat.com>
18238 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
18239 instead of GNATS numbers.
18240 * gdb.base/sigbpt.exp: Likewise.
18241 * gdb.base/siginfo.exp: Likewise.
18242 * gdb.base/sigstep.exp: Likewise.
18244 2014-10-27 Pedro Alves <palves@redhat.com>
18246 * gdb.base/sigstep.c (dummy): New global.
18247 (main): Issue a couple writes to the new global.
18248 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
18250 (skip_over_handler): Use test_skip_handler.
18251 (top level): Call skip_over_handler for stepi and nexti too.
18252 (breakpoint_over_handler): Use test_skip_handler.
18253 (top level): Call breakpoint_over_handler for stepi and nexti too.
18255 2014-10-27 Yao Qi <yao@codesourcery.com>
18257 * gdb.trace/tfile.c (adjust_function_address)
18258 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
18259 function descriptor.
18261 2014-10-24 Don Breazeal <donb@codesourcery.com>
18263 * gdb.base/foll-fork.exp (test_follow_fork,
18264 catch_fork_child_follow): Check for updated fork messages emitted
18266 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
18267 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
18268 vfork_and_exec_child_follow_through_step): Check for updated vfork
18269 messages emitted from infrun.c.
18271 2014-10-24 Pedro Alves <palves@redhat.com>
18273 * gdb.base/corefile.exp: Remove references to ultrix.
18274 * gdb.base/interrupt.exp: Likewise.
18275 * gdb.base/whatis.exp: Likewise.
18276 * gdb.gdb/selftest.exp: Likewise.
18277 * gdb.threads/manythreads.exp: Likewise.
18278 * gdb.threads/print-threads.exp: Likewise.
18279 * gdb.threads/pthreads.exp:: Likewise.
18280 * gdb.threads/schedlock.exp: Likewise.
18282 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
18284 * gdb.cp/non-trivial-retval.cc: Add a test case.
18285 * gdb.cp/non-trivial-retval.exp: Add a test.
18287 2014-10-20 Yao Qi <yao@codesourcery.com>
18289 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
18290 * gdb.python/py-objfile-script-gdb.py: New file.
18291 * gdb.python/py-objfile-script.exp: Update reference to
18292 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
18293 of remote_download. Remove the dest file.
18295 2014-10-20 Yao Qi <yao@codesourcery.com>
18297 * gdb.base/checkpoint.exp: Don't remove file copied on host.
18298 * gdb.base/step-line.exp: Likewise.
18299 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18300 * gdb.dwarf2/dw2-basic.exp: Likewise.
18301 * gdb.dwarf2/dw2-compressed.exp: Likewise.
18302 * gdb.dwarf2/dw2-filename.exp: Likewise.
18303 * gdb.dwarf2/dw2-intercu.exp: Likewise.
18304 * gdb.dwarf2/dw2-intermix.exp: Likewise.
18305 * gdb.dwarf2/dw2-producer.exp: Likewise.
18306 * gdb.dwarf2/mac-fileno.exp: Likewise.
18307 * gdb.python/py-frame-args.exp: Likewise.
18308 * gdb.python/py-framefilter.exp: Likewise.
18309 * gdb.python/py-mi.exp: Likewise.
18310 * gdb.python/py-objfile-script.exp: Likewise
18311 * gdb.python/py-pp-integral.exp: Likewise.
18312 * gdb.python/py-pp-re-notag.exp: Likewise.
18313 * gdb.python/py-prettyprint.exp: Likewise.
18314 * gdb.python/py-section-script.exp: Likewise.
18315 * gdb.python/py-typeprint.exp: Likewise.
18316 * gdb.python/py-xmethods.exp: Likewise.
18317 * gdb.stabs/weird.exp: Likewise.
18318 * gdb.xml/tdesc-regs.exp: Likewise.
18320 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
18322 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
18323 (out_cu): Use addr_len for the size of addresses.
18324 (out_line): Likewise. Size DW_LNE_set_address instruction
18325 according to addr_len.
18326 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
18327 (FUNC): Add START_INSNS to definition.
18329 2014-10-18 Yao Qi <yao@codesourcery.com>
18331 * gdb.base/argv0-symlink.exp: Check argv[0] value if
18332 gdb_has_argv0 return true.
18333 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
18334 check [target_info exists noargs], check [gdb_has_argv0]
18336 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18337 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
18340 2014-10-17 Doug Evans <dje@google.com>
18342 * gdb.python/py-events.exp: Update expected output for clear_objfiles
18344 * gdb.python/py-events.py: Add clear_objfiles event.
18346 2014-10-17 Doug Evans <dje@google.com>
18348 * gdb.python/py-objfile.exp: Test progspace attribute.
18350 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
18352 * gdb.guile/scm-breakpoint.exp: Do not assume any
18353 directory separators when matching source file paths.
18354 * gdb.python/py-breakpoint.exp: Likewise.
18355 * gdb.reverse/break-precsave.exp: Likewise.
18356 * gdb.reverse/break-reverse.exp: Likewise.
18357 * gdb.reverse/consecutive-precsave.exp: Likewise.
18358 * gdb.reverse/finish-precsave.exp: Likewise.
18359 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
18360 * gdb.reverse/finish-reverse.exp: Likewise.
18361 * gdb.reverse/i386-precsave.exp: Likewise.
18362 * gdb.reverse/i387-env-reverse.exp: Likewise.
18363 * gdb.reverse/i387-stack-reverse.exp: Likewise.
18364 * gdb.reverse/machinestate-precsave.exp: Likewise.
18365 * gdb.reverse/machinestate.exp: Likewise.
18366 * gdb.reverse/sigall-precsave.exp: Likewise.
18367 * gdb.reverse/solib-precsave.exp: Likewise.
18368 * gdb.reverse/step-precsave.exp: Likewise.
18369 * gdb.reverse/until-precsave.exp: Likewise.
18370 * gdb.reverse/watch-precsave.exp: Likewise.
18371 * gdb.reverse/watch-reverse.exp: Likewise.
18373 2014-10-17 Yao Qi <yao@codesourcery.com>
18375 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
18376 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
18378 2014-10-17 Pedro Alves <palves@redhat.com>
18381 * gdb.base/bg-execution-repeat.c: New file.
18382 * gdb.base/bg-execution-repeat.exp: New file.
18384 2014-10-17 Pedro Alves <palves@redhat.com>
18387 * gdb.base/continue-all-already-running.c: New file.
18388 * gdb.base/continue-all-already-running.exp: New file.
18390 2014-10-17 Pedro Alves <palves@redhat.com>
18393 * gdb.base/annota-input-while-running.c: New file.
18394 * gdb.base/annota-input-while-running.exp: New file.
18396 2014-10-17 Pedro Alves <palves@redhat.com>
18398 * gdb.base/callfuncs.exp: emove references to osf.
18399 * gdb.base/sigall.exp: Likewise.
18400 * gdb.gdb/selftest.exp: Likewise.
18401 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18402 * gdb.mi/non-stop.c: Likewise.
18403 * gdb.mi/pthreads.c: Likewise.
18404 * gdb.reverse/sigall-precsave.exp: Likewise.
18405 * gdb.reverse/sigall-reverse.exp: Likewise.
18406 * gdb.threads/pthreads.c: Likewise.
18407 * gdb.threads/pthreads.exp: Likewise.
18409 2014-10-17 Yao Qi <yao@codesourcery.com>
18411 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
18412 check 'target_info exists noargs'.
18413 (test_command_prompt_position): Likewise.
18414 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
18416 (progvar_simple_while_test): Likewise.
18417 (progvar_complex_if_while_test): Likewise.
18418 (if_while_breakpoint_command_test): Likewise.
18419 (infrun_breakpoint_command_test): Likewise.
18420 (breakpoint_command_test): Likewise.
18421 (watchpoint_command_test): Likewise.
18422 (bp_deleted_in_command_test): Likewise.
18423 (temporary_breakpoint_commands): Likewise.
18425 2014-10-16 Yao Qi <yao@codesourcery.com>
18427 * gdb.base/remotetimeout.exp: Remove noargs checking.
18429 2014-10-15 Pedro Alves <palves@redhat.com>
18431 PR breakpoints/9649
18432 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
18433 * gdb.base/breakpoint-in-ro-region.exp
18434 (probe_target_hardware_step): New procedure.
18435 (top level): Probe hardware stepping and hardware breakpoint
18436 support. Test stepping through a read-only region, with both
18437 "breakpoint auto-hw" on and off and both "always-inserted" on and
18440 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
18442 * gdb.dlang/demangle.exp: Update for demangling changes.
18444 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18446 * gdb.cp/non-trivial-retval.cc: Add new test cases.
18447 * gdb.cp/non-trivial-retval.exp: Add new tests.
18449 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18453 * gdb.cp/non-trivial-retval.cc: New file.
18454 * gdb.cp/non-trivial-retval.exp: New file.
18456 2014-10-15 Yao Qi <yao@codesourcery.com>
18458 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
18461 2014-10-15 Yao Qi <yao@codesourcery.com>
18463 * gdb.python/py-symbol.exp: Match file base name if host is
18464 remote, otherwise match file name with dir name.
18465 * gdb.python/py-symtab.exp: Likewise.
18466 * gdb.python/python.exp: Likewise.
18468 2014-10-15 Yao Qi <yao@codesourcery.com>
18470 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
18472 * gdb.python/py-symtab.exp: Likewise.
18473 * gdb.python/python.exp: Remove trailing ".*". Fix typo
18476 2014-10-14 Joel Brobecker <brobecker@adacore.com>
18478 * gdb.ada/addr_arith: New testcase.
18480 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
18482 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
18483 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
18484 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
18485 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
18487 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
18489 * gdb.arch/stap-eval-lang-ada.S: Likewise.
18490 * gdb.arch/stap-eval-lang-ada.c: Likewise.
18491 * gdb.arch/stap-eval-lang-ada.exp: New file.
18493 2014-10-14 Yao Qi <yao@codesourcery.com>
18495 * gdb.mi/mi-var-child.c (nothing1): New function.
18496 (nothing2): New function.
18497 (do_children_tests): Set function pointers by nothing1 and
18499 * gdb.mi/mi-var-child.exp: Step over new added statements.
18500 Update test to match the new output.
18501 * gdb.mi/var-cmd.c (nothing1): New function.
18502 (nothing2): New function.
18503 (do_children_tests): Set function pointers by nothing1 and
18505 * gdb.mi/mi-var-display.exp: Update test to match output.
18506 Step to the line specified by $line_dct_nothing.
18507 Increase the number of lines to step.
18509 2014-10-14 Yao Qi <yao@codesourcery.com>
18511 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
18513 * gdb.mi/mi2-var-child.exp: Likewise.
18515 2014-10-13 Doug Evans <dje@google.com>
18517 * gdb.python/py-objfile.exp: Change name of file name test.
18519 2014-10-13 Doug Evans <dje@google.com>
18521 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
18522 from the start of the CU.
18524 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18525 Yao Qi <yao@codesourcery.com>
18527 Fix "save breakpoints" for "catch" command.
18528 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
18529 Remove -nonewline. Match also the added "main" line.
18531 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18533 Fix "save breakpoints" for "disable $bpnum" command.
18534 * gdb.base/save-bp.c (main): Add label.
18535 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
18537 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18539 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
18541 2014-10-11 Yao Qi <yao@codesourcery.com>
18543 * gdb.server/server-kill.exp: Execute command
18544 "set remote trace-status-packet on" before "tstatus".
18546 2014-10-11 Yao Qi <yao@codesourcery.com>
18548 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
18549 (main): Call getppid.
18550 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
18551 and continue to it. Read variable "server_pid".
18553 2014-10-11 Yao Qi <yao@codesourcery.com>
18555 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
18557 2014-10-11 Yao Qi <yao@codesourcery.com>
18559 * gdb.threads/thread-find.exp: Don't execute command
18561 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
18562 * gdb.threads/linux-dp.exp: Don't check the condition
18563 $threads_created equals to zero.
18565 2014-10-10 Pedro Alves <palves@redhat.com>
18567 * gdb.base/bigcore.exp: Remove references to IRIX.
18568 * gdb.base/funcargs.exp: Likewise.
18569 * gdb.base/interrupt.exp: Likewise.
18570 * gdb.base/mips_pro.exp: Likewise.
18571 * gdb.base/nodebug.exp: Likewise.
18572 * gdb.base/setvar.exp: Likewise.
18573 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
18575 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18576 Pedro Alves <palves@redhat.com>
18579 * gdb.base/vdso-warning.c: New file.
18580 * gdb.base/vdso-warning.exp: New file.
18582 2014-10-02 Doug Evans <dje@google.com>
18584 * gdb.base/structs.c (main): Don't run forever.
18586 2014-10-02 Pedro Alves <palves@redhat.com>
18588 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
18589 (top level) <stop threads 1, stop threads 2>: Use it.
18591 2014-10-02 Pedro Alves <palves@redhat.com>
18593 * gdb.threads/break-while-running.exp (test): Add new
18594 'update_thread_list' argument. Skip "info threads" if false.
18595 (top level): Add new 'update_thread_list' axis.
18597 2014-10-02 Pedro Alves <palves@redhat.com>
18599 PR breakpoints/17431
18600 * gdb.base/execl-update-breakpoints.c: New file.
18601 * gdb.base/execl-update-breakpoints.exp: New file.
18603 2014-10-01 Pedro Alves <palves@redhat.com>
18605 * gdb.base/breakpoint-in-ro-region.c: New file.
18606 * gdb.base/breakpoint-in-ro-region.exp: New file.
18608 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
18610 * gdb.mi/mi-exit-code.exp: New file.
18611 * gdb.mi/mi-exit-code.c: New file.
18613 2014-09-30 Yao Qi <yao@codesourcery.com>
18615 * lib/prelink-support.exp (build_executable_own_libs): Error if
18616 the target isn't native.
18618 2014-09-30 Yao Qi <yao@codesourcery.com>
18620 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
18623 2014-09-22 Pedro Alves <palves@redhat.com>
18625 * gdb.threads/break-while-running.exp: New file.
18626 * gdb.threads/break-while-running.c: New file.
18628 2014-09-19 Yao Qi <yao@codesourcery.com>
18630 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
18631 Invoke test. Restart GDB with --readnow and invoke test again.
18633 2014-09-19 Yao Qi <yao@codesourcery.com>
18635 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
18636 proc set_breakpoint_on_gcd_function. Invoke
18637 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
18638 invoke set_breakpoint_on_gcd_function again.
18640 2014-09-18 Doug Evans <dje@google.com>
18642 * gdb.dwarf2/symtab-producer.exp: New file.
18644 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18646 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
18647 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
18648 * gdb.base/global-var-nested-by-dso.c: Likewise.
18649 * gdb.base/global-var-nested-by-dso.exp: Likewise.
18651 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18652 Pedro Alves <palves@redhat.com>
18654 * gdb.base/watch-bitfields.exp: Pass string other than test file
18655 name to prepare_for_testing.
18656 (watch): New procedure.
18657 (expect_watchpoint): Use with_test_prefix.
18658 (top level): Factor out tests to ...
18659 (test_watch_location, test_regular_watch): ... these new
18660 procedures, and use with_test_prefix and gdb_continue_to_end.
18662 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
18664 PR breakpoints/12526
18665 * gdb.base/watch-bitfields.exp: New file.
18666 * gdb.base/watch-bitfields.c: New file.
18668 2014-09-16 Pedro Alves <palves@redhat.com>
18670 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
18671 software and hardware addresses, not software address against
18674 2014-09-16 Pedro Alves <palves@redhat.com>
18676 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
18677 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
18679 2014-09-16 Pedro Alves <palves@redhat.com>
18681 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
18683 * gdb.base/a2-run.exp: Remove all code guarded by istarget
18684 "*-*-vxworks*" throughout.
18685 * gdb.base/break.exp: Likewise.
18686 * gdb.base/default.exp: Likewise.
18687 * gdb.base/scope.exp: Likewise.
18688 * gdb.base/sepdebug.exp: Likewise.
18689 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
18691 * gdb.base/run.c: Likewise.
18692 * gdb.base/sepdebug.c: Likewise.
18693 * gdb.hp/gdb.aCC/run.c: Likewise.
18694 * gdb.reverse/until-reverse.c: Likewise.
18695 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
18697 2014-09-16 Yao Qi <yao@codesourcery.com>
18699 * boards/local-remote-host-native.exp: New file.
18701 2014-09-14 Doug Evans <xdje42@gmail.com>
18703 * gdb.threads/queue-signal.c (thread_count): New variable.
18704 (thread_count_mutex, thread_count_condvar): New variables.
18705 (incr_thread_count, wait_all_threads_running): New functions.
18706 (main): Wait for all threads to be in their thread functions.
18708 2014-09-13 Doug Evans <xdje42@gmail.com>
18710 * gdb.threads/queue-signal.c: New file.
18711 * gdb.threads/queue-signal.exp: New file.
18713 2014-09-13 Doug Evans <xdje42@gmail.com>
18715 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
18716 be consistent with what default_gdb_init uses.
18717 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
18718 the plain text of the prompt. Add some logging printfs.
18719 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
18721 2014-09-12 Pedro Alves <palves@redhat.com>
18723 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
18724 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
18725 * gdb.arch/i386-size-overlap.exp: Likewise.
18726 * gdb.arch/i386-size.exp: Likewise.
18727 * gdb.arch/i386-unwind.exp: Likewise.
18728 * gdb.base/a2-run.exp: Likewise.
18729 * gdb.base/break.exp: Likewise.
18730 * gdb.base/charset.exp: Likewise.
18731 * gdb.base/chng-syms.exp: Likewise.
18732 * gdb.base/commands.exp: Likewise.
18733 * gdb.base/dbx.exp: Likewise.
18734 * gdb.base/find.exp: Likewise.
18735 * gdb.base/funcargs.exp: Likewise.
18736 * gdb.base/jit-simple.exp: Likewise.
18737 * gdb.base/reread.exp: Likewise.
18738 * gdb.base/sepdebug.exp: Likewise.
18739 * gdb.base/step-bt.exp: Likewise.
18740 * gdb.cp/mb-inline.exp: Likewise.
18741 * gdb.cp/mb-templates.exp: Likewise.
18742 * gdb.objc/basicclass.exp: Likewise.
18743 * gdb.threads/killed.exp: Likewise.
18745 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18748 * gdb.arch/powerpc-stackless.S: New file.
18749 * gdb.arch/powerpc-stackless.exp: New file.
18751 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18753 * gdb.base/attach.c: Include unistd.h.
18754 (main): Call alarm. Add label postloop.
18755 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
18756 gdb_breakpoint, gdb_continue_to_breakpoint.
18757 (test_command_line_attach_run): Kill ${testpid} in one exit path.
18759 2014-09-11 Pedro Alves <palves@redhat.com>
18762 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
18763 * gdb.base/attach.exp (test_command_line_attach_run): New
18765 (top level): Call it.
18767 2014-09-11 Pedro Alves <palves@redhat.com>
18769 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
18770 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
18771 (do_command_attach_tests): Use spawn_wait_for_attach.
18772 * gdb.base/solib-overlap.exp: Likewise.
18773 * gdb.multi/multi-attach.exp: Likewise.
18774 * gdb.python/py-prompt.exp: Likewise.
18775 * gdb.python/py-sync-interp.exp: Likewise.
18776 * gdb.server/ext-attach.exp: Likewise.
18778 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
18780 * gdb.fortran/array-element.exp: Remove unexpected "continue"
18781 command in testcase. Simplify testcase.
18783 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18785 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
18787 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18789 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
18791 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18793 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
18795 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18797 * gdb.dwarf2/dynarr-ptr.c: New file.
18798 * gdb.dwarf2/dynarr-ptr.exp: New file.
18800 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18802 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
18803 of 30 rather than hardcoding 120 for a slow test case. Take the
18804 `gdb,timeout' target setting into account for this calculation.
18805 Don't extend the timeout for the test cases that don't need it.
18807 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18809 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
18810 a factor of 2 for a slow test case. Take the `gdb,timeout'
18811 target setting into account for this calculation.
18812 * gdb.reverse/until-precsave.exp: Increase the timeout by
18813 a factor of 15 and 3 respectively rather than adding 120
18814 for a pair of slow test cases. Take the `gdb,timeout'
18815 target setting into account for this calculation.
18817 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18819 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
18820 timeout, don't pass one down to gdb_expect.
18821 (gdb_expect): Rework timeout selection.
18823 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18825 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
18826 exception on timeout.
18827 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
18828 (gdbserver_start_extended): Catch any `gdbserver_start' error
18830 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
18831 * lib/mi-support.exp (mi_gdb_target_load): Catch any
18832 `gdbserver_gdb_load' error exceptions.
18834 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18836 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
18837 120 on waiting for the TCP socket to open.
18839 2014-09-09 Doug Evans <xdje42@gmail.com>
18841 * gdb.base/default.exp (show_conv_list): Add _caller_is,
18842 _caller_matches, _any_caller_is, _any_caller_matches.
18844 2014-09-09 Doug Evans <xdje42@gmail.com>
18846 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
18848 2014-09-09 Yao Qi <yao@codesourcery.com>
18850 * gdb.mi/mi-var-display.exp: Set print symbol off.
18852 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
18855 * gdb.base/commands.exp: Add tests to verify user-defined
18856 commands with empty bodies.
18857 * gdb.python/py-cmd.exp: Test that we don't show user-defined
18858 python commands in `show user command`.
18859 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
18860 scheme commands in `show user command`.
18862 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18865 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
18866 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
18867 * gdb.python/py-framefilter-invalidarg.exp: New file.
18868 * gdb.python/py-framefilter-invalidarg.py: New file.
18870 2014-09-06 Doug Evans <xdje42@gmail.com>
18873 * gdb.python/py-caller-is.c: New file.
18874 * gdb.python/py-caller-is.exp: New file.
18876 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
18879 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
18880 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
18882 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
18885 * gdb.fortran/print-formatted.exp: New file.
18886 * gdb.fortran/print-formatted.f90: Likewise.
18888 2014-09-03 Sasha Smundak <asmundak@google.com>
18890 * gdb.python/py-frame.exp: Test Frame.read_register.
18892 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
18895 * gdb.python/py-completion.exp: New file.
18896 * gdb.python/py-completion.py: Likewise.
18898 2014-08-28 Doug Evans <dje@google.com>
18900 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
18901 eax,etc. are live with values set by gdb and thus the compiler can't
18903 * gdb.arch/i386-pseudo.c (main): Ditto.
18905 2014-08-27 Doug Evans <dje@google.com>
18907 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
18909 2014-08-25 Doug Evans <dje@google.com>
18911 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
18914 2014-08-25 Doug Evans <dje@google.com>
18916 * gdb.threads/thread-execl.exp: #include <stdio.h>.
18918 2014-08-24 Yao Qi <yao@codesourcery.com>
18920 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
18922 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
18924 2014-08-22 Doug Evans <dje@google.com>
18927 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
18928 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
18929 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
18931 2014-08-22 Yao Qi <yao@codesourcery.com>
18933 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
18934 * gdb.python/py-finish-breakpoint2.exp: Likewise.
18935 * gdb.python/python.exp: Likewise. Use .py file on the host
18936 instead of the build.
18938 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18940 * gdb.threads/gcore-stale-thread.c: New file.
18941 * gdb.threads/gcore-stale-thread.exp: New file.
18943 2014-08-21 Pedro Alves <palves@redhat.com>
18945 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
18946 * gdb.base/gcore-relro-pie.exp: Likewise.
18947 * gdb.base/gcore-relro.exp: Likewise.
18948 * gdb.base/gcore.exp: Likewise.
18949 * gdb.base/print-symbol-loading.exp: Likewise.
18950 * gdb.threads/gcore-thread.exp: Likewise.
18951 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
18953 2014-08-20 Pedro Alves <palves@redhat.com>
18954 Jan Kratochvil <jan.kratochvil@redhat.com>
18956 * Makefile.in (EXTRA_RULES, CC): New variables, get from
18958 (EXPECT): Handle READ1 being set.
18959 (all): Depend on EXTRA_RULES.
18960 (check-read1, expect-read1, read1.so, read1): New rules.
18961 * README (Testsuite Parameters): Document the READ1 make variable.
18962 (Race detection): New section.
18963 * configure: Regenerate.
18964 * configure.ac: If build==host==target, and running under a
18965 GNU/glibc system, add read1 to the extra Makefile rules.
18966 (EXTRA_RULES): AC_SUBST it.
18967 * lib/read1.c: New file.
18969 2014-08-20 Joel Brobecker <brobecker@adacore.com>
18971 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
18972 the handling of variables declared as a typedef to an array
18973 which a DW_AT_data_location attribute.
18975 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
18976 Pedro Alves <palves@redhat.com>
18980 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
18983 2014-08-19 Pedro Alves <palves@redhat.com>
18985 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
18987 2014-08-19 Yao Qi <yao@codesourcery.com>
18989 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
18992 2014-08-18 David Blaikie <dblaikie@gmail.com>
18994 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
18996 2014-08-18 Joel Brobecker <brobecker@adacore.com>
18998 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
18999 attribute in array range.
19001 2014-08-18 Joel Brobecker <brobecker@adacore.com>
19003 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
19005 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19008 * gdb.cp/pr17132.cc: New file.
19009 * gdb.cp/pr17132.exp: New file.
19011 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19013 * gdb.python/py-xmethods.py (A_getarrayind)
19014 (E_method_char_worker.__call__, E_method_int_worker.__call__):
19015 Use 'print' with function call syntax.
19016 (E_method_matcher.match): Fix tab vs space indentation mixup.
19018 2014-08-15 Yao Qi <yao@codesourcery.com>
19020 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
19023 2014-08-15 Yao Qi <yao@codesourcery.com>
19025 * gdb.cp/casts.exp: Set print symbol off.
19026 * gdb.cp/class2.exp: Likewise.
19027 * gdb.cp/overload.exp: Likewise.
19028 * gdb.cp/templates.exp: Likewise.
19030 2014-08-11 Doug Evans <dje@google.com>
19032 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
19033 (test_load_shlib): Update.
19035 2014-08-09 Yao Qi <yao@codesourcery.com>
19037 * gdb.base/display.exp: Invoke is_address_zero_readable.
19038 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
19039 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19040 * gdb.base/hbreak-unmapped.exp: Return if
19041 is_address_zero_readable returns true.
19042 * gdb.base/signest.exp: Likewise.
19043 * gdb.base/signull.exp: Likewise.
19044 * gdb.base/sigbpt.exp: Likewise.
19045 * gdb.guile/scm-disasm.exp: Do the test if
19046 is_address_zero_readable returns false.
19047 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
19048 * gdb.python/py-arch.exp: Likewise.
19049 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
19050 * lib/gdb.exp (is_address_zero_readable): New proc.
19052 2014-08-09 Yao Qi <yao@codesourcery.com>
19055 * gdb.mi/mi-var-display.exp: Make test messages unique.
19057 2014-08-04 Tom Tromey <tromey@redhat.com>
19059 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
19062 2014-08-04 Tom Tromey <tromey@redhat.com>
19064 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
19067 2014-08-01 Joel Brobecker <brobecker@adacore.com>
19069 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
19070 inner_vla_struct_object_size.
19071 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
19074 2014-07-30 Pedro Alves <palves@redhat.com>
19076 * gdb.threads/signal-command-handle-nopass.exp (test): Add
19079 2014-07-29 Yao Qi <yao@codesourcery.com>
19082 * gdb.base/until-nodebug.exp: New.
19084 2014-07-28 Doug Evans <xdje42@gmail.com>
19087 * gdb.guile/scm-parameter.exp: Add tests for trying to create
19088 previously existing parameter, and previously ambiguously spelled
19091 2014-07-28 Will Newton <will.newton@linaro.org>
19093 * gdb.base/varargs.exp: Remove KFAILs for ARM.
19095 2014-07-26 Ludovic Courtès <ludo@gnu.org>
19096 Doug Evans <xdje42@gmail.com>
19099 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
19101 2014-07-25 Pedro Alves <palves@redhat.com>
19103 * gdb.threads/signal-command-handle-nopass.c: New file.
19104 * gdb.threads/signal-command-handle-nopass.exp: New file.
19105 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
19106 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
19107 * gdb.threads/signal-delivered-right-thread.c: New file.
19108 * gdb.threads/signal-delivered-right-thread.exp: New file.
19110 2014-07-25 Pedro Alves <palves@redhat.com>
19112 * gdb.base/double-prompt-target-event-error.exp
19113 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
19115 (cancel_pagination_in_target_event): Rework double prompt
19117 * gdb.base/paginate-after-ctrl-c-running.exp
19118 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
19120 * gdb.base/paginate-bg-execution.exp
19121 (test_bg_execution_pagination_return)
19122 (test_bg_execution_pagination_cancel): Remove '-notransfer
19124 * gdb.base/paginate-execution-startup.exp
19125 (test_fg_execution_pagination_return)
19126 (test_fg_execution_pagination_cancel): Remove '-notransfer
19128 * gdb.base/paginate-inferior-exit.exp
19129 (test_paginate_inferior_exited): Remove '-notransfer <return>'
19131 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
19132 * lib/gdb.exp (pagination_prompt): Run text through
19134 (gdb_test_multiple): Match $pagination_prompt instead of
19136 (string_to_regexp): Move to lib/gdb-utils.exp.
19138 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19140 * gdb.arch/amd64-entry-value-paramref.S: New file.
19141 * gdb.arch/amd64-entry-value-paramref.cc: New file.
19142 * gdb.arch/amd64-entry-value-paramref.exp: New file.
19143 * gdb.arch/amd64-optimout-repeat.S: New file.
19144 * gdb.arch/amd64-optimout-repeat.c: New file.
19145 * gdb.arch/amd64-optimout-repeat.exp: New file.
19147 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19150 * gdb.base/statistics.exp: New file.
19152 2014-07-17 Doug Evans <dje@google.com>
19155 * gdb.base/maint.exp: Update testing of per-command stats.
19157 2014-07-16 Pedro Alves <palves@redhat.com>
19159 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
19160 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
19161 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
19162 (tfile_write_buf): New functions.
19163 (add_memory_block): Rewrite using the above.
19164 (adjust_function_address): New function.
19165 (FUNCTION_ADDRESS): New macro.
19166 (write_basic_trace_file): Remove short_x local, and use
19167 tfile_write_16. Change type of func_addr local to unsigned long
19168 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
19169 here. Cast argument of add_memory_block to char pointer.
19170 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
19171 (main): Remove parameters.
19172 * gdb.trace/tfile.exp: Remove nowarnings.
19174 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
19176 * gdb.base/debug-expr.exp: Test string evaluation with
19177 "debug expression" on.
19179 2014-07-15 Pedro Alves <palves@redhat.com>
19181 * gdb.base/reread.exp: Use clean_restart.
19183 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
19185 * gdb.arch/avr-flash-qualifer.c: New.
19186 * gdb.arch/avr-flash-qualifer.exp: New.
19188 2014-07-14 Pedro Alves <palves@redhat.com>
19190 * gdb.base/paginate-after-ctrl-c-running.c: New file.
19191 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
19193 2014-07-14 Pedro Alves <palves@redhat.com>
19195 * gdb.base/double-prompt-target-event-error.c: New file.
19196 * gdb.base/double-prompt-target-event-error.exp: New file.
19198 2014-07-14 Pedro Alves <palves@redhat.com>
19201 * gdb.base/paginate-inferior-exit.c: New file.
19202 * gdb.base/paginate-inferior-exit.exp: New file.
19204 2014-07-14 Pedro Alves <palves@redhat.com>
19207 * gdb.base/paginate-bg-execution.c: New file.
19208 * gdb.base/paginate-bg-execution.exp: New file.
19210 2014-07-14 Pedro Alves <palves@redhat.com>
19213 * gdb.base/paginate-execution-startup.c: New file.
19214 * gdb.base/paginate-execution-startup.exp: New file.
19215 * lib/gdb.exp (pagination_prompt): New global.
19216 (default_gdb_spawn): New procedure, factored out from
19218 (default_gdb_start): Adjust to call default_gdb_spawn.
19219 (gdb_spawn): New procedure.
19221 2014-07-14 Pedro Alves <palves@redhat.com>
19223 * lib/gdb.exp (gdb_assert): New procedure.
19224 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
19226 2014-07-14 Pedro Alves <palves@redhat.com>
19228 * gdb.base/execution-termios.c: New file.
19229 * gdb.base/execution-termios.exp: New file.
19231 2014-07-14 Tom Tromey <tromey@redhat.com>
19233 * gdb.cp/vla-cxx.cc: New file.
19234 * gdb.cp/vla-cxx.exp: New file.
19236 2014-07-14 Tom Tromey <tromey@redhat.com>
19238 * gdb.reverse/rerun-prec.c: New file.
19239 * gdb.reverse/rerun-prec.exp: New file.
19241 2014-07-12 Maciej W. Rozycki <macro@mips.com>
19242 Maciej W. Rozycki <macro@codesourcery.com>
19244 * lib/gdb-utils.exp: New file.
19245 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
19246 inline `gdb_init_command' processing.
19247 (gdb_start_cmd): Likewise.
19248 * lib/mi-support.exp (mi_run_cmd): Likewise.
19249 * README: Document `gdb_init_command' and `gdb_init_commands'.
19251 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19253 Fix false FAIL running under a very long directory name.
19254 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
19255 and "set print elements 10000". Twice.
19257 2014-07-11 Yao Qi <yao@codesourcery.com>
19259 * gdb.base/exprs.exp: "set print symbol off".
19261 2014-07-11 Pedro Alves <palves@redhat.com>
19263 * gdb.threads/kill.c: New file.
19264 * gdb.threads/kill.exp: New file.
19266 2014-07-10 Yao Qi <yao@codesourcery.com>
19268 * gdb.trace/tfile.c (write_basic_trace_file)
19269 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
19270 address written to trace file.
19272 2014-07-09 Pedro Alves <palves@redhat.com>
19274 * gdb.base/attach-wait-input.exp: New file.
19275 * gdb.base/attach-wait-input.c: New file.
19277 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
19279 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
19280 setting up test structures.
19281 (main): Call new test function.
19282 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
19283 test function, continue into test function and walk test
19286 2014-07-02 Yao Qi <yao@codesourcery.com>
19288 * gdb.trace/entry-values.c: Define labels 'foo_start' and
19289 'bar_start' at the beginning of functions 'foo' and 'bar'
19291 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
19292 instead of 'foo' and 'bar'.
19294 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
19296 * gdb.btrace/segv.exp: New.
19297 * gdb.btrace/segv.c: New.
19299 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
19301 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
19304 2014-06-30 Mark Wielaard <mjw@redhat.com>
19306 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
19307 vulture, vilify, villar): New volatile array constants.
19308 (vindictive, vegetation): New const volatile array constants.
19309 * gdb.base/volatile.exp: Test volatile and const volatile array
19312 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
19314 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
19315 target lacks support for awatch, rwatch, or hbreak.
19317 2014-06-27 Yao Qi <yao@codesourcery.com>
19319 * gdb.multi/dummy-frame-restore.exp: New.
19320 * gdb.multi/dummy-frame-restore.c: New.
19322 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
19324 * gdb.btrace/gcore.exp: New.
19326 2014-06-23 Pedro Alves <palves@redhat.com>
19328 * gdb.base/watchpoint-reuse-slot.c: New file.
19329 * gdb.base/watchpoint-reuse-slot.exp: New file.
19331 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
19333 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
19334 progspace's filename in 'info', 'enable' and 'disable' command
19337 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
19339 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
19340 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19341 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
19343 2014-06-20 Gary Benson <gbenson@redhat.com>
19345 * gdb.arch/i386-avx.exp: Fix include file location.
19346 * gdb.arch/i386-sse.exp: Likewise.
19348 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
19350 * gdb.dlang/expression.exp: New file.
19352 2014-06-19 Pedro Alves <palves@redhat.com>
19354 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
19356 (top level): ... here. Iterate running tests under different
19357 scheduler-locking settings.
19359 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
19361 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
19362 to DW_FORM_addr and use non-zero addresses.
19364 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
19367 * gdb.python/py-xmethods.cc: Add global function call counters and
19368 increment them in their respective functions. Remove "cout"
19370 * gdb.python/py-xmethods.exp: Make tests check the global function
19371 call counters instead of depending on inferior IO.
19373 2014-06-18 Don Breazeal <donb@codesourcery.com>
19375 * gdb.base/foll-fork.exp (default_fork_parent_follow):
19377 (explicit_fork_parent_follow): Deleted procedure.
19378 (explicit_fork_child_follow): Deleted procedure.
19379 (test_follow_fork): New procedure.
19380 (do_fork_tests): Replace calls to deleted procedures with
19381 calls to test_follow_fork and reset GDB for subsequent
19384 2014-06-17 Yao Qi <yao@codesourcery.com>
19386 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
19389 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
19391 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
19392 Initialize ptr and S explicitly.
19393 (skip_type_update_when_not_use_rtti_test): Likewise.
19395 2014-06-16 Keith Seitz <keiths@redhat.com>
19398 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
19399 the inferior is started.
19401 2014-06-16 Pedro Alves <palves@redhat.com>
19403 * gdb.base/break-main-file-remove-fail.c: New file.
19404 * gdb.base/break-main-file-remove-fail.exp: New file.
19405 * gdb.base/break-unload-file.exp: Use build_executable instead of
19406 prepare_for_testing.
19407 (test_break): New parameter "initial_load". Handle it.
19408 (top level): Add initial_load cmdline/file axis.
19410 2014-06-12 Tom Tromey <tromey@redhat.com>
19412 * gdb.base/completion.exp: Don't use directory name in test.
19414 2014-06-09 Gary Benson <gbenson@redhat.com>
19416 * gdb.base/sigall.c [Functions to send signals]: Reorder to
19417 separate the always-available ANSI-standard signals from the
19418 signals that require checking.
19420 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
19424 2014-06-07 Keith Seitz <keiths@redhat.com>
19428 * gdb.cp/var-tag.cc: New file.
19429 * gdb.cp/var-tag.exp: New file.
19430 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19431 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19432 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19433 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19435 2014-06-06 Doug Evans <xdje42@gmail.com>
19437 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
19439 2014-06-06 Pedro Alves <palves@redhat.com>
19441 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
19442 in target debug output instead of looking at RSP packets,
19443 disabling the test on any target that uses hardware stepping.
19446 2014-06-06 Pedro Alves <palves@redhat.com>
19448 * gdb.base/break-unload-file.exp: Fix typo.
19450 2014-06-06 Yao Qi <yao@codesourcery.com>
19452 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
19453 from "jit_function" to "^jit_function".
19455 2014-06-06 Yao Qi <yao@codesourcery.com>
19457 * gdb.base/async.c (foo): Add one statement.
19458 * gdb.base/async.exp: Get the next instruction address and
19459 match the output of "nexti" by instruction address. Match
19460 the hex address in the output of "finish".
19462 2014-06-06 Gary Benson <gbenson@redhat.com>
19464 * gdb.base/call-signals.c: Remove preprocessor conditionals
19465 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
19466 SIGSEGV and SIGTERM.
19467 * gdb.base/sigall.c: Likewise.
19468 * gdb.base/unwindonsignal.c: Likewise.
19469 * gdb.reverse/sigall-reverse.c: Likewise.
19471 2014-06-06 Yao Qi <yao@codesourcery.com>
19473 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
19474 readable, skip the test.
19476 2014-06-06 Yao Qi <yao@codesourcery.com>
19478 * gdb.threads/staticthreads.c (thread_function): Move the line
19479 setting breakpoint on forward.
19480 * gdb.threads/staticthreads.exp: Update comments.
19482 2014-06-05 Ludovic Courtès <ludo@gnu.org>
19484 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
19485 "history-append! type error".
19487 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
19489 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
19490 erroneous dprintf expected input.
19492 2014-06-04 Doug Evans <xdje42@gmail.com>
19494 * gdb.guile/scm-generics.exp: Delete.
19496 2014-06-04 Doug Evans <xdje42@gmail.com>
19498 * gdb.guile/scm-breakpoint.exp: Update.
19499 Add tests for breakpoint registration.
19501 2014-06-04 Tom Tromey <tromey@redhat.com>
19503 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
19505 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
19506 inner_vla_struct, vla_union types. Initialize objects of those
19507 types and compute their sizes.
19509 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
19510 Hui Zhu <hui@codesourcery.com>
19512 * gdb.base/fileio.exp: Add test for shell not available as well as
19514 * gdb.base/fileio.c (test_system): Check for shell twice.
19516 2014-06-04 Yao Qi <yao@codesourcery.com>
19518 * gdb.base/auto-connect-native-target.exp: Remove redundant
19519 space from the regexp pattern.
19521 2014-06-04 Yao Qi <yao@codesourcery.com>
19523 * gdb.base/default.exp: Replace "child" with "native" in
19526 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
19528 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
19529 * gdb.python/py-xmethods.exp: New tests to test xmethods.
19530 * gdb.python/py-xmethods.py: Python script supporting the
19531 new testcase and tests.
19533 2014-06-03 Joel Brobecker <brobecker@adacore.com>
19534 Pedro Alves <palves@redhat.com>
19536 PR breakpoints/17000
19537 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
19538 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
19540 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
19542 * gdb.base/subst.exp: Add tests to verify partial path matching
19545 2014-06-03 Pedro Alves <palves@redhat.com>
19547 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
19548 target that doesn't use software single-stepping.
19550 2014-06-03 Pedro Alves <palves@redhat.com>
19552 PR breakpoints/17000
19553 * gdb.base/sss-bp-on-user-bp-2.c: New file.
19554 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
19556 2014-06-02 Doug Evans <xdje42@gmail.com>
19558 * gdb.guile/scm-parameter.exp: New file.
19560 2014-06-02 Doug Evans <xdje42@gmail.com>
19562 * gdb.guile/scm-cmd.c: New file.
19563 * gdb.guile/scm-cmd.exp: New file.
19565 2014-06-02 Doug Evans <xdje42@gmail.com>
19567 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
19568 pretty-printer lookup.
19569 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
19570 (make-pp_s-printer): Call it.
19571 (make-pretty-printer-from-dict): New function.
19572 (lookup-pretty-printer-maker-from-dict): New function.
19573 (*pretty-printer*): Simplify.
19574 (make-objfile-pp_s-printer): New function.
19575 (install-objfile-pretty-printers!): New function.
19576 (make-progspace-pp_s-printer): New function.
19577 (install-progspace-pretty-printers!): New function.
19578 * gdb.guile/scm-progspace.c: New file.
19579 * gdb.guile/scm-progspace.exp: New file.
19581 2014-06-02 Pedro Alves <palves@redhat.com>
19583 * gdb.base/dprintf-bp-same-addr.c: New file.
19584 * gdb.base/dprintf-bp-same-addr.exp: New file.
19586 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19588 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
19589 * gdb.arch/powerpc-power.s: Likewise.
19591 2014-06-02 Joel Brobecker <brobecker@adacore.com>
19593 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
19595 2014-06-01 Yao Qi <yao@codesourcery.com>
19597 * gdb.base/watchpoint.exp (test_watch_location): Check null
19598 pointer can be dereferenced. If not, do the test, otherwise
19601 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
19603 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
19605 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
19607 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
19609 * gdb.arch/amd64-invalid-stack-middle.S: New file.
19610 * gdb.arch/amd64-invalid-stack-middle.c: New file.
19611 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
19612 * gdb.arch/amd64-invalid-stack-top.c: New file.
19613 * gdb.arch/amd64-invalid-stack-top.exp: New file.
19615 2014-05-30 Pedro Alves <palves@redhat.com>
19617 PR breakpoints/17000
19618 * gdb.base/sss-bp-on-user-bp.c: New file.
19619 * gdb.base/sss-bp-on-user-bp.exp: New file.
19621 2014-05-30 David Blaikie <dblaikie@gmail.com>
19623 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
19624 gnu_inline semantics via attribute.
19625 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
19626 source explicitly specifies the required semantics.
19628 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
19630 * gdb.reverse/sigall-reverse.exp: Fix a typo.
19632 2014-05-29 Pedro Alves <palves@redhat.com>
19633 Tom Tromey <tromey@redhat.com>
19635 * gdb.base/async-shell.exp: Don't enable target-async.
19636 * gdb.base/async.exp
19637 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
19639 (top level): Don't test with "target-async".
19640 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
19641 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
19642 * gdb.base/inferior-died.exp: Don't enable target-async.
19643 * gdb.base/interrupt-noterm.exp: Likewise.
19644 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
19645 * gdb.mi/mi-nonstop-exit.exp: Likewise.
19646 * gdb.mi/mi-nonstop.exp: Likewise.
19647 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
19648 * gdb.mi/mi-nsintrall.exp: Likewise.
19649 * gdb.mi/mi-nsmoribund.exp: Likewise.
19650 * gdb.mi/mi-nsthrexec.exp: Likewise.
19651 * gdb.mi/mi-watch-nonstop.exp: Likewise.
19652 * gdb.multi/watchpoint-multi.exp: Adjust comment.
19653 * gdb.python/py-evsignal.exp: Don't enable target-async.
19654 * gdb.python/py-evthreads.exp: Likewise.
19655 * gdb.python/py-prompt.exp: Likewise.
19656 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
19657 * gdb.server/solib-list.exp: Don't enable target-async.
19658 * gdb.threads/thread-specific-bp.exp: Likewise.
19659 * lib/mi-support.exp: Adjust to use mi-async.
19661 2014-05-29 Pedro Alves <palves@redhat.com>
19664 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
19665 reason, even in sync mode.
19667 2014-05-29 Pedro Alves <palves@redhat.com>
19668 Hui Zhu <hui@codesourcery.com>
19671 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
19672 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
19673 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
19674 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
19676 2014-05-28 Joel Brobecker <brobecker@adacore.com>
19678 * config/monitor.exp (gdb_target_monitor): Replace use of
19679 "set remotebaud" by "set serial baud".
19681 2014-05-26 Andy Wingo <wingo@igalia.com>
19683 * gdb.guile/scm-breakpoint.exp:
19684 * gdb.guile/scm-gsmob.exp: Update to use plain old object
19685 properties instead of gdb-object-properties.
19687 2014-05-26 Yao Qi <yao@codesourcery.com>
19689 * gdb.server/no-thread-db.exp: Specify source file name
19690 explicitly when setting a breakpoint.
19692 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19694 * gdb.btrace/vdso.c: New.
19695 * gdb.btrace/vdso.exp: New.
19697 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19699 * gdb.base/gcore.exp (capture_command_output): Move ...
19700 * lib/gdb.exp (capture_command_output): ... here.
19702 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19704 * gdb.btrace/data.exp: Test memory access during btrace replay.
19706 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
19708 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
19710 2014-05-21 Pedro Alves <palves@redhat.com>
19713 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
19714 (top level): Test that output related to execution commands is
19715 sent to the console with CLI commands, but not with MI commands.
19716 Test that breakpoint events are always mirrored to the console.
19717 Also expect the new source line to be output after a "next" in
19718 async mode too. Make it a pass/fail test.
19719 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
19721 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
19723 2014-05-21 Pedro Alves <palves@redhat.com>
19725 * gdb.base/list.exp (build_pattern, test_list): New procedures.
19726 Use them to test variations of "list" after reaching a breakpoint.
19727 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
19728 Test "list" with listsize 10 after reaching a breakpoint.
19729 * gdb.python/python.exp (decode_line current location line
19730 number): Adjust expected line number.
19732 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
19734 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
19735 behavior for $args, pass it directly to "run".
19737 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
19739 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
19742 2014-05-21 Pedro Alves <palves@redhat.com>
19744 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
19745 auto-connect-native-target off".
19746 * gdb.base/auto-connect-native-target.c: New file.
19747 * gdb.base/auto-connect-native-target.exp: New file.
19749 2014-05-21 Pedro Alves <palves@redhat.com>
19751 * gdb.base/default.exp: Test "target native" instead of "target
19754 2014-05-21 Mark Wielaard <mjw@redhat.com>
19756 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19758 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19760 Fix TLS access for -static -pthread.
19761 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
19762 <HAVE_TLS> (thread_function, main): Initialize it.
19763 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
19765 <$have_tls != "">: Check TLSVAR.
19767 2014-05-21 Pedro Alves <palves@redhat.com>
19769 * gdb.base/dcache-line-read-error.c: New.
19770 * gdb.base/dcache-line-read-error.exp: New.
19772 2014-05-20 Pedro Alves <palves@redhat.com>
19774 * gdb.base/compare-sections.c: New file.
19775 * gdb.base/compare-sections.exp: New file.
19777 2014-05-20 Pedro Alves <palves@redhat.com>
19779 * gdb.base/break-idempotent.c: New file.
19780 * gdb.base/break-idempotent.exp: New file.
19782 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
19784 * gdb.btrace/nohist.exp: New.
19786 2014-05-20 Yao Qi <yao@codesourcery.com>
19788 * lib/gdb.exp (gdb_init): Set timeout if test file is under
19789 gdb.reverse directory and gdb_reverse_timeout exists in board
19791 * README: Document gdb_reverse_timeout.
19793 2014-05-20 Yao Qi <yao@codesourcery.com>
19795 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
19796 'test_file_name'. Treat args as a string instead of a list.
19797 (gdb_init): Rename argument 'args' by 'test_file_name'.
19799 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
19801 * gdb.arch/powerpc-power.exp: New file.
19802 * gdb.arch/powerpc-power.s: New file.
19804 2014-05-16 Doug Evans <dje@google.com>
19806 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
19807 * gdb.base/completion.exp: Check that all expected files exist
19808 before doing file completion.
19810 2014-05-16 Doug Evans <dje@google.com>
19812 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
19814 (do_syscall_tests_without_xml): Update.
19816 2014-05-16 Pedro Alves <palves@redhat.com>
19818 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
19819 instead of "unknown output after running".
19821 2014-05-16 Yao Qi <yao@codesourcery.com>
19823 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
19824 file1.txt from host at the end.
19825 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19827 2014-05-15 Doug Evans <dje@google.com>
19829 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
19830 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
19831 loading file. Add test for TU lookup.
19833 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19835 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
19836 calling "-exec-arguments" or "set args" before running the
19839 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19841 * lib/mi-support.exp (mi_expect_stop): Expect message for
19842 inferiors that exit with non-zero exit code.
19844 2014-05-14 Yao Qi <yao@codesourcery.com>
19846 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
19847 match absolute path on remote host.
19848 (test_file_list_exec_source_files): Remove "/" from the
19851 2014-05-14 Yao Qi <yao@codesourcery.com>
19853 * boards/local-remote-host-notty.exp (${board}_file): New
19856 2014-05-07 Kyle McMartin <kyle@redhat.com>
19858 Pushed by Joel Brobecker <brobecker@adacore.com>.
19859 * gdb.arch/aarch64-atomic-inst.c: New file.
19860 * gdb.arch/aarch64-atomic-inst.exp: New file.
19862 2014-05-07 Yao Qi <yao@codesourcery.com>
19864 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
19865 in current context" too.
19867 2014-05-05 Keith Seitz <keiths@redhat.com>
19869 * gdb.linespec/ls-dollar.exp: Add test for linespec
19870 file:convenience_variable.
19872 2014-05-05 Yao Qi <yao@codesourcery.com>
19874 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
19875 traceframes into tfile and ctf trace files. Read data from
19876 trace file and test collected data.
19877 (gdb_collect_locals_test): Likewise.
19878 (gdb_unavailable_registers_test): Likewise.
19879 (gdb_unavailable_floats): Likewise.
19880 (gdb_collect_globals_test): Likewise.
19881 (top-level): Append "ctf" to trace_file_targets if GDB
19884 2014-05-05 Yao Qi <yao@codesourcery.com>
19886 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
19888 (gdb_collect_args_test_1): ... it. New proc.
19889 (gdb_collect_locals_test): Move some code to ...
19890 (gdb_collect_locals_test_1): ... it. New proc.
19891 (gdb_unavailable_registers_test): Move some code to ...
19892 (gdb_unavailable_registers_test_1): ... it. New proc.
19893 (gdb_unavailable_floats): Move some code to ...
19894 (gdb_unavailable_floats_1): ... it. New proc.
19896 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19898 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
19899 probes to test for bitness recognition.
19900 * gdb.arch/amd64-stap-optional-prefix.exp
19901 (test_probe_value_without_reg): New procedure.
19902 Add code to test for different kinds of bitness.
19904 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19906 PR breakpoints/16889
19907 * gdb.arch/amd64-stap-optional-prefix.S: New file.
19908 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19910 2014-05-01 Pedro Alves <palves@redhat.com>
19912 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
19913 gdb_file_cmd if no file is specified.
19914 * boards/native-extended-gdbserver.exp (gdb_load): Use the
19915 last_loaded_file to set the remote exec-file.
19917 2014-05-01 Pedro Alves <palves@redhat.com>
19919 * boards/local-remote-host.exp: New file.
19921 2014-05-01 Pedro Alves <palves@redhat.com>
19923 * boards/local-remote-host.exp: Rename to ...
19924 * boards/local-remote-host-notty.exp: ... this.
19926 2014-04-28 Joel Brobecker <brobecker@adacore.com>
19928 * gdb.ada/dyn_arrayidx: New testcase.
19930 2014-04-26 Yao Qi <yao@codesourcery.com>
19932 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
19933 and compute the length of function main. Save it in
19935 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
19936 (top-level): Use gdb_compile to compile objects into
19937 executable and restart GDB. Remove invocation to
19938 prepare_for_testing.
19940 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
19941 Pedro Alves <palves@redhat.com>
19944 * gdb.multi/multi-attach.c: New file.
19945 * gdb.multi/multi-attach.exp: New file.
19947 2014-04-25 Pedro Alves <palves@redhat.com>
19949 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
19951 (top level): Test that "set remote conditional-breakpoints-packet
19952 off" works as intended.
19953 * gdb.base/dprintf.exp: Test that "set remote
19954 breakpoint-commands-packet off" works as intended.
19955 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
19957 (top level): Call it.
19958 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
19959 remote fast-tracepoints-packet off" works as intended.
19960 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
19961 * lib/gdb.exp (gdb_is_target_remote): ... here.
19963 2014-04-24 David Blaikie <dblaikie@gmail.com>
19965 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
19966 ensure clang would not discard them.
19967 * gdb.base/gdbvars.c: Ditto.
19968 * gdb.base/memattr.c: Ditto.
19969 * gdb.base/whatis.c: Ditto.
19970 * gdb.python/py-prettyprint.c: Ditto.
19971 * gdb.trace/actions.c: Ditto.
19972 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
19973 ensure clang would not discard it.
19975 2014-04-24 David Blaikie <dblaikie@gmail.com>
19977 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
19978 clang to emit the full definition of type required by the test
19979 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
19981 2014-04-24 David Blaikie <dblaikie@gmail.com>
19983 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
19984 coax Clang into emitting the definition of the type.
19985 * gdb.cp/pr10728-x.h (y): Ditto.
19986 * gdb.cp/pr10728-y.cc (y): Ditto.
19988 2014-04-24 David Blaikie <dblaikie@gmail.com>
19990 * gdb.base/label.exp: XFAIL label related tests under Clang.
19991 * gdb.cp/cplabel.exp: Ditto.
19992 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
19993 under Clang those using labels.
19995 2014-04-25 Yao Qi <yao@codesourcery.com>
19997 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
19999 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
20000 partial_label and double_label.
20002 2014-04-24 David Blaikie <dblaikie@gmail.com>
20004 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
20006 2014-04-24 David Blaikie <dblaikie@gmail.com>
20008 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
20009 of the function to work across GCC and Clang.
20010 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
20011 pointer types (const void ** const V void **).
20013 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
20014 Walfred Tedeschi <walfred.tedeschi@intel.com>
20016 * Makefile.in (EXECUTABLES): Added i386-avx512.
20017 * gdb.arch/i386-avx512.c: New file.
20018 * gdb.arch/i386-avx512.exp: Likewise.
20020 2014-04-23 Keith Seitz <keiths@redhat.com>
20022 * lib/mi-support.exp (mi_list_breakpoints): Delete.
20023 (mi_make_breakpoint_table): New procedure.
20024 (mi_create_breakpoint): Use mi_make_breakpoint
20025 and return the result.
20026 (mi_make_breakpoint): New procedure.
20027 (mi_build_kv_pairs): New procedure.
20029 * gdb.mi/mi-break.exp: Remove unused globals,
20030 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
20031 All callers updated.
20032 * gdb.mi/mi-dprintf.exp: Use variable to track command
20034 Update all callers of mi_create_breakpoint and use
20035 mi_make_breakpoint_table.
20036 Remove any unused global variables.
20037 * gdb.mi/mi-nonstop.exp: Likewise.
20038 * gdb.mi/mi-nsintrall.exp: Likewise.
20039 * gdb.mi/mi-nsmoribund.exp: Likewise.
20040 * gdb.mi/mi-nsthrexec.exp: Likewise.
20041 * gdb.mi/mi-reverse.exp: Likewise.
20042 * gdb.mi/mi-simplerun.exp: Likewise.
20043 * gdb.mi/mi-stepn.exp: Likewise.
20044 * gdb.mi/mi-syn-frame.exp: Likewise.
20045 * gdb.mi/mi-until.exp: Likewise.
20046 * gdb.mi/mi-var-cp.exp: Likewise.
20047 * gdb.mi/mi-var-display.exp: Likewise.
20048 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
20049 * gdb.mi/mi2-var-child.exp: Likewise.
20050 * gdb.mi/mi-vla-c99.exp: Likewise.
20051 * lib/mi-support.exp: Likewise.
20053 From Ian Lance Taylor <iant@cygnus.com>:
20054 * lib/gdb.exp (parse_args): New procedure.
20056 2014-04-23 Pedro Alves <palves@redhat.com>
20058 * gdb.base/break-unload-file.c: New file.
20059 * gdb.base/break-unload-file.exp: New file.
20060 * gdb.base/sym-file-lib.c (baz): New function.
20061 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
20063 (load): Store the segment's mapped size.
20064 (unload): New function.
20065 (unload_shlib): New function.
20066 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
20067 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
20068 set a breakpoint at baz, and call it.
20069 * gdb.base/sym-file.exp: New tests for stale breakpoint
20072 2014-04-23 Pedro Alves <palves@redhat.com>
20074 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
20075 * gdb.base/hbreak-in-shr-unsupported.c: New file.
20076 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
20077 * gdb.base/hbreak-unmapped.c: New file.
20078 * gdb.base/hbreak-unmapped.exp: New file.
20079 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
20080 * lib/gdb.exp (gdb_is_target_remote): ... here.
20082 2014-04-22 Pedro Alves <palves@redhat.com>
20084 * gdb.base/consecutive-step-over.c: New file.
20085 * gdb.base/consecutive-step-over.exp: New file.
20087 2014-04-22 Pedro Alves <palves@redhat.com>
20089 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
20090 instead of send_gdb/gdb_expect.
20092 2014-04-22 Yao Qi <yao@codesourcery.com>
20094 * lib/trace-support.exp (generate_tracefile): New procedure.
20095 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
20097 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
20098 if generate_tracefile returns 1.
20100 2014-04-18 Tom Tromey <palves@redhat.com>
20101 Pedro alves <tromey@redhat.com>
20104 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
20105 with a backtrace limit.
20106 * gdb.python/py-frame-inline.exp: Test running to an inline
20107 function with a backtrace limit, and printing the newest frame.
20108 * gdb.python/py-frame-inline.c (main): Call f.
20110 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20112 * gdb.java/jnpe.exp: Drop srcdir from untested path.
20114 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20116 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
20117 Drop prefix from unsupported source file path.
20119 2014-04-17 Yao Qi <yao@codesourcery.com>
20121 * lib/gdb.exp (with_target_charset): New proc.
20122 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
20123 with_target_charset.
20124 (test_print_strings): Likewise.
20125 (test_repeat_bytes): Likewise.
20126 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
20129 2014-04-16 Keith Seitz <keiths@redhat.com>
20132 * gdb.dwarf2/corrupt.c: New file.
20133 * gdb.dwarf2/corrupt.exp: New file.
20135 2014-04-16 Keith Seitz <keiths@redhat.com>
20138 * gdb.cp/namelessclass.cc: New file.
20139 * gdb.cp/namelessclass.exp: New file.
20140 * gdb.cp/namelessclass.S: New file.
20142 2014-04-16 Doug Evans <dje@google.com>
20144 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
20146 (gdbserver_default_get_comm_port): New function.
20147 (gdbserver_start): Check if board file provided
20148 "gdbserver,get_comm_port" and use it if so.
20149 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
20150 (gdb,socketport): Set to "stdio".
20151 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
20152 (stdio_gdbserver_template): Delete.
20153 (${board}_get_remote_address): Update.
20154 (${board}_build_remote_cmd): Delete.
20155 (${board}_get_comm_port): New function.
20156 (${board}_spawn): Update.
20157 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
20159 (${board}_get_remote_address): Update.
20160 (${board}_get_comm_port): New function.
20162 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
20164 * gdb.base/memattr.exp: Improve regexps to handle memory regions
20165 appearing in any order.
20167 2014-04-15 Doug Evans <dje@google.com>
20169 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
20170 uninitialized value of "description".
20172 2014-04-15 Keith Seitz <keiths@redhat.com>
20174 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
20175 Remove unused globals.
20176 (test_running_the_program): Likewise.
20177 (test_controlled_execution): Likewise.
20178 (test_controlling_breakpoints): Likewise.
20179 (test_program_termination): Likewise.
20181 2014-04-15 Keith Seitz <keiths@redhat.com>
20183 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
20185 (test_rbreak_creation_and_listing): Likewise.
20186 (test_ignore_count): Likewise.
20187 (test_error): Likewise.
20189 2014-04-15 Pedro Alves <palves@redhat.com>
20191 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
20192 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
20194 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20195 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20196 to sym-file-loader.c.
20197 (struct library): Forward declare.
20198 (load_shlib, lookup_function): Change prototypes.
20199 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20200 (translate_offset): Remove declarations.
20201 (get_text_addr): New declaration.
20202 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
20203 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
20205 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20206 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20207 here from sym-file-loader.h.
20208 (struct library): New structure.
20209 (load_shlib, lookup_function): Change prototypes and adjust to
20210 work with a struct library.
20211 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20212 (translate_offset): Make static.
20213 (get_text_addr): New function.
20214 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
20216 2014-04-15 Pedro Alves <palves@redhat.com>
20218 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
20220 2014-04-15 Pedro Alves <palves@redhat.com>
20222 * gdb.base/sym-file-loader.c: Include <limits.h>.
20223 (SELF_LINK): New define.
20224 (get_origin): New function.
20225 (load_shlib): Use it.
20226 * gdb.base/sym-file.exp: Don't early return if the target is
20227 remote. Use runto_main, and issue fail is that fails. Use
20229 (shlib_name): Delete.
20230 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
20232 2014-04-15 Pedro Alves <palves@redhat.com>
20234 * gdb.base/sym-file.exp: Remove regex characters from test
20235 message. Don't refer to breakpoint numbers in test messages.
20237 2014-04-14 Keith Seitz <keiths@redhat.com>
20240 * gdb.cp/var-tag.cc: New file.
20241 * gdb.cp/var-tag.exp: New file.
20242 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20243 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20244 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20245 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20247 2014-04-14 Tom Tromey <tromey@redhat.com>
20249 * gdb.cp/classes.exp (test_enums): Handle underlying type.
20250 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
20252 * gdb.cp/enum-class.exp: New file.
20253 * gdb.cp/enum-class.cc: New file.
20255 2014-04-14 Tom Tromey <tromey@redhat.com>
20257 * gdb.dwarf2/enum-type.exp: New file.
20259 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20261 * gdb.mi/mi-vla-c99.exp: New file.
20262 * gdb.mi/vla.c: New file.
20264 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20266 * gdb.base/vla-datatypes.c: New file.
20267 * gdb.base/vla-datatypes.exp: New file.
20269 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20271 * gdb.base/vla-ptr.c: New file.
20272 * gdb.base/vla-ptr.exp: New file.
20274 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20276 * gdb.dwarf2/count.exp: New file.
20278 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20280 * gdb.base/vla-sideeffect.c: New file.
20281 * gdb.base/vla-sideeffect.exp: New file.
20283 2014-04-14 David Blaikie <dblaikie@gmail.com>
20285 * gdb.mi/non-stop.c: Add return value for non-void function return
20287 * gdb.threads/staticthreads.c: Ditto.
20289 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
20290 Doug Evans <xdje42@gmail.com>
20292 * gdb.guile/scm-value.c: Improve test case.
20293 * gdb.guile/scm-value.exp: Add new test.
20295 2014-04-11 David Blaikie <dblaikie@gmail.com>
20297 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
20298 override Clang's default.
20300 2014-04-11 Joel Brobecker <brobecker@adacore.com>
20302 Revert the following changes (regressions):
20304 * gdb.base/vla-sideeffect.c: New file.
20305 * gdb.base/vla-sideeffect.exp: New file.
20307 * gdb.dwarf2/count.exp: New file.
20309 * gdb.base/vla-multi.c: New file.
20310 * gdb.base/vla-multi.exp: New file.
20312 * gdb.base/vla-ptr.c: New file.
20313 * gdb.base/vla-ptr.exp: New file.
20315 * gdb.base/vla-datatypes.c: New file.
20316 * gdb.base/vla-datatypes.exp: New file.
20318 * gdb.mi/mi-vla-c99.exp: New file.
20319 * gdb.mi/vla.c: New file.
20321 2014-04-11 Keith Seitz <keiths@redhat.com>
20324 * gdb.cp/cpsizeof.exp: New file.
20325 * gdb.cp/cpsizeof.cc: New file.
20327 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20329 * gdb.mi/mi-vla-c99.exp: New file.
20330 * gdb.mi/vla.c: New file.
20332 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20334 * gdb.base/vla-datatypes.c: New file.
20335 * gdb.base/vla-datatypes.exp: New file.
20337 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20339 * gdb.base/vla-ptr.c: New file.
20340 * gdb.base/vla-ptr.exp: New file.
20342 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20344 * gdb.base/vla-multi.c: New file.
20345 * gdb.base/vla-multi.exp: New file.
20347 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20349 * gdb.dwarf2/count.exp: New file.
20351 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20353 * gdb.base/vla-sideeffect.c: New file.
20354 * gdb.base/vla-sideeffect.exp: New file.
20356 2014-04-11 Yao Qi <yao@codesourcery.com>
20358 * gdb.base/completion.exp: Check file exists before running tests
20359 on file completion.
20361 2014-04-10 Pedro Alves <palves@redhat.com>
20363 * gdb.base/cond-eval-mode.c: New file.
20364 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
20365 prepare_for_testing to build the new file. Check result of
20367 (test_break, test_watch): New procedures.
20368 (top level): Use them.
20370 2014-04-08 Pierre Muller <muller@sourceware.org>
20372 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
20373 Ctrl-V use for mingw hosts.
20375 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
20377 * gdb.python/py-value.c: Improve test case.
20378 * gdb.python/py-value.exp: Add new test.
20380 2014-04-07 David Blaikie <dblaikie@gmail.com>
20382 * lib/compiler.c: Identify the clang compiler.
20383 * lib/compiler.cc: Ditto.
20385 2014-04-03 Yao Qi <yao@codesourcery.com>
20387 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
20389 2014-04-01 Anton Blanchard <anton@samba.org>
20391 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
20394 2014-04-01 Anton Blanchard <anton@samba.org>
20396 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
20397 prepare_for_testing.
20399 2014-04-01 Anton Blanchard <anton@samba.org>
20401 * gdb.arch/ppc64-atomic-inst.c: Remove.
20402 * gdb.arch/ppc64-atomic-inst.S: New file.
20403 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
20405 2014-03-31 Doug Evans <dje@google.com>
20407 * gdb.base/print-symbol-loading-lib.c: New file.
20408 * gdb.base/print-symbol-loading-main.c: New file.
20409 * gdb.base/print-symbol-loading.exp: New file.
20411 2014-03-31 Yao Qi <yao@codesourcery.com>
20413 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
20415 2014-03-28 Joel Brobecker <brobecker@adacore.com>
20417 * gdb.ada/mi_dyn_arr: New testcase.
20419 2014-03-27 Doug Evans <dje@google.com>
20421 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
20423 2014-03-27 Yao Qi <yao@codesourcery.com>
20425 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
20426 if target is nios2-*-*.
20428 2014-03-26 Yao Qi <yao@codesourcery.com>
20430 * lib/gdb.exp (readline_is_used): New proc.
20431 * gdb.base/completion.exp: Move tests on command complete up.
20432 Skip the rest of tests if readline is not used.
20433 * gdb.ada/complete.exp: Skp the test if readline is not
20435 * gdb.base/filesym.exp: Likewise.
20436 * gdb.base/macscp.exp: Likewise.
20437 * gdb.base/readline-ask.exp: Likewise.
20438 * gdb.base/readline.exp: Likewise.
20439 * gdb.python/py-cmd.exp: Likewise.
20440 * gdb.trace/tfile.exp: Likewise.
20442 2014-03-26 Yao Qi <yao@codesourcery.com>
20444 * gdb.base/macscp.exp: Fix code format issues.
20446 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
20448 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
20449 * gdb.asm/powerpc64le.inc: New file.
20451 2014-03-25 Pedro Alves <palves@redhat.com>
20452 Doug Evans <dje@google.com>
20454 * gdb.base/source-execution.c: New file.
20455 * gdb.base/source-execution.exp: New file.
20456 * gdb.base/source-execution.gdb: New file.
20458 2014-03-24 Doug Evans <dje@google.com>
20460 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
20463 2014-03-24 Hui Zhu <hui@codesourcery.com>
20464 Pedro Alves <palves@redhat.com>
20466 PR breakpoints/16101
20467 * gdb.base/dprintf.exp: Use unsupported rather than changing the
20468 test pass/fail messages. Detect missing support for dprintf when
20469 breakpoints are actually inserted.
20470 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
20471 breakpoints are actually inserted.
20472 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
20475 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
20477 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
20479 2014-03-22 Doug Evans <xdje42@gmail.com>
20481 * gdb.python/python.exp (python not supported): Verify multi-line
20482 python command issues an error.
20483 * gdb.guile/guile.exp (guile not supported): Verify multi-line
20484 guile command issues an error.
20486 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
20488 * gdb.threads/thread-specific.exp: Handle the lack of usable
20489 $this_breakpoint and $this_thread.
20491 2014-03-21 Hui Zhu <hui@codesourcery.com>
20493 * gdb.base/attach.exp (do_command_attach_tests): New.
20495 2014-03-20 Tom Tromey <tromey@redhat.com>
20496 Pedro Alves <palves@redhat.com>
20499 * gdb.base/condbreak-call-false.c: New file.
20500 * gdb.base/condbreak-call-false.exp: New file.
20502 2014-03-20 Pedro Alves <palves@redhat.com>
20504 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
20506 (block_signals, unblock_signals): Delete.
20507 (child_function_2, main): Remove references to deleted variable
20510 2014-03-20 Pedro Alves <palves@redhat.com>
20512 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
20513 Use pthread_kill to signal thread 2.
20514 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20515 Adjust to make the test send itself a signal rather than using the
20516 host's "kill" command.
20518 2014-03-20 Pedro Alves <palves@redhat.com>
20520 * gdb.threads/multiple-step-overs.c: New file.
20521 * gdb.threads/multiple-step-overs.exp: New file.
20522 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20523 Adjust expected infrun debug output.
20525 2014-03-20 Pedro Alves <palves@redhat.com>
20527 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
20528 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
20530 2014-03-20 Pedro Alves <palves@redhat.com>
20532 PR breakpoints/7143
20533 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
20534 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
20535 of gdb_test_multiple.
20536 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
20537 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
20539 2014-03-20 Pedro Alves <palves@redhat.com>
20541 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
20542 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
20544 2014-03-19 Pedro Alves <palves@redhat.com>
20546 * gdb.base/async.exp: Remove early return.
20548 2014-03-19 Pedro Alves <palves@redhat.com>
20550 * gdb.base/async.exp (step& tests): Pass explicit test messages.
20552 2014-03-19 Pedro Alves <palves@redhat.com>
20554 * gdb.base/async.exp (test_background): Expect \r\n after
20555 "completed." in the fail pattern.
20557 2014-03-19 Pedro Alves <palves@redhat.com>
20559 * gdb.base/async.exp (test_background): New procedure.
20560 Use it for all background execution command tests.
20562 2014-03-19 Pedro Alves <palves@redhat.com>
20564 * gdb.base/async.exp: Use prepare_for_testing.
20566 2014-03-19 Pedro Alves <palves@redhat.com>
20568 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
20571 2014-03-19 Pedro Alves <palves@redhat.com>
20573 * gdb.base/async.c (main): Add "jump here" and "until here" line
20575 * gdb.base/async.exp (jump_here): New global.
20576 (jump& test): Use it.
20577 (until_here): New global.
20578 (until& test): Use it.
20580 2014-03-19 Pedro Alves <palves@redhat.com>
20582 * gdb.base/async.exp: Don't frob gdb_protocol.
20584 2014-03-18 Doug Evans <xdje42@gmail.com>
20586 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
20587 Fix spelling of exec-done-display.
20589 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
20592 * gdb.base/gdb-sigterm.c: New file.
20593 * gdb.base/gdb-sigterm.exp: New file.
20595 2014-03-18 Pedro Alves <palves@redhat.com>
20598 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
20599 * lib/mi-support.exp (mi_expect_stop): Add special handling for
20602 2014-03-17 Joel Brobecker <brobecker@adacore.com>
20604 * gdb.ada/pckd_arr_ren: New testcase.
20606 2014-03-13 Doug Evans <xdje42@gmail.com>
20609 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
20610 collect after discarding symbols.
20612 2014-03-13 Ludovic Courtès <ludo@gnu.org>
20613 Doug Evans <xdje42@gmail.com>
20615 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
20616 to history survives a gc.
20618 2014-03-13 Pedro Alves <palves@redhat.com>
20620 * gdb.base/default.exp: Don't test "target procfs".
20622 2014-03-13 Pedro Alves <palves@redhat.com>
20624 * gdb.base/default.exp: Update "target child" and "target procfs"
20625 tests to not expect "Unix".
20627 2014-03-12 Tom Tromey <tromey@redhat.com>
20629 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
20630 New procs. Add target-async tests.
20631 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
20632 Add target-async tests.
20634 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20636 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
20637 'func_start' and 'func_end' for the beginning and end of the
20638 function code, respectively.
20639 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
20640 'func_end' instead of 'func' and 'main'.
20642 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20644 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
20645 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
20646 generate the debug info assembler source.
20648 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20650 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
20651 * gdb.dwarf2/arr-subrange.exp: Likewise.
20652 * gdb.dwarf2/dwz.exp: Likewise.
20653 * gdb.dwarf2/method-ptr.exp: Likewise.
20654 * gdb.dwarf2/missing-sig-type.exp: Likewise.
20655 * gdb.dwarf2/subrange.exp: Likewise.
20656 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
20657 * gdb.dwarf2/implptrpiece.exp: Likewise.
20658 * gdb.dwarf2/nostaticblock.exp: Likewise.
20660 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20662 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
20663 directory to absolute path name arguments.
20665 2014-03-10 Joel Brobecker <brobecker@adacore.com>
20667 * gdb.ada/tagged_access: New testcase.
20669 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
20671 * gdb.btrace/data.exp: Update expected output.
20673 2014-03-06 Yao Qi <yao@codesourcery.com>
20675 * gdb.trace/pr16508.exp: New file.
20677 2014-03-05 Pedro Alves <palves@redhat.com>
20680 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
20682 (top level): Adjust to use it. Add tests that exercise breakpoint
20683 interaction with the code-cache.
20685 2014-02-26 Ludovic Courtès <ludo@gnu.org>
20687 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
20688 test for 'history-append!'.
20690 2014-02-26 Joel Brobecker <brobecker@adacore.com>
20692 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
20693 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
20694 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
20695 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
20696 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
20697 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
20699 2014-02-26 Joel Brobecker <brobecker@adacore.com>
20701 * testsuite/gdb.python/py-pp-re-notag.c: New file.
20702 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
20703 * testsuite/gdb.python/py-pp-re-notag.p: New file.
20705 2014-02-26 Joel Brobecker <brobecker@adacore.com>
20707 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
20709 2014-02-26 Joel Brobecker <brobecker@adacore.com>
20711 * gdb.dwarf2/arr-stride.c: New file.
20712 * gdb.dwarf2/arr-stride.exp: New file.
20714 2014-02-26 Pedro Alves <palves@redhat.com>
20716 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
20717 that won't ever trigger. Make sure that GDB reports the correct
20718 breakpoint that caused the stop.
20720 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20723 * gdb.base/auto-load-script: New file.
20724 * gdb.base/auto-load.c: New file.
20725 * gdb.base/auto-load.exp: New file.
20728 * gdb.base/auto-load.exp: Fix out-of-srctree run.
20730 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20732 Fix dw2-icycle.exp -fsanitize=address GDB crash.
20733 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
20735 2014-02-24 Doug Evans <dje@google.com>
20737 * lib/gdb.exp (run_on_host): Log error output if program fails.
20739 2014-02-21 Pedro Alves <palves@redhat.com>
20741 * gdb.threads/step-after-sr-lock.c: Rename to ...
20742 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
20743 * gdb.threads/step-after-sr-lock.exp: Rename to ...
20744 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20747 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
20750 * gdb.arch/amd64-stap-special-operands.exp: New file.
20751 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
20752 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
20753 * gdb.arch/amd64-stap-triplet.S: Likewise.
20754 * gdb.arch/amd64-stap-triplet.c: Likewise.
20756 2014-02-20 Joel Brobecker <brobecker@adacore.com>
20758 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
20759 in .section pseudo-op.
20761 2014-02-20 lin zuojian <manjian2006@gmail.com>
20762 Joel Brobecker <brobecker@adacore.com>
20763 Doug Evans <xdje42@gmail.com>
20766 * gdb.dwarf2/dw2-icycle.S: New file.
20767 * gdb.dwarf2/dw2-icycle.c: New file.
20768 * gdb.dwarf2/dw2-icycle.exp: New file.
20770 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
20772 * gdb.python/py-value-cc.cc: Improve test case to enable testing
20773 operations on gdb.Value objects.
20774 * gdb.python/py-value-cc.exp: Add new test to test operations on
20777 2014-02-18 Doug Evans <dje@google.com>
20779 * Makefile.in (TESTS): New variable.
20780 (expanded_tests, expanded_tests_or_none): New variables
20781 (check-single): Pass $(expanded_tests_or_none) to runtest.
20782 (check-parallel): Only run tests in $(TESTS) if non-empty.
20783 (check/no-matching-tests-found): New rule.
20784 * README: Document TESTS makefile variable.
20786 2014-02-18 Doug Evans <dje@google.com>
20788 * Makefile.in (check-parallel): rm -rf outputs temp.
20790 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20792 Fix "ERROR: no fileid for" in the testsuite.
20793 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
20795 2014-02-12 Doug Evans <dje@google.com>
20797 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
20798 (MISCELLANEOUS): New variable.
20799 (clean): rm -rf $(MISCELLANEOUS).
20800 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
20801 dwp live in the same directory as symlinks, with each symlink pointed
20802 to a differently named file in a different directory.
20804 2014-02-11 Doug Evans <dje@google.com>
20806 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
20807 of Tcl file commands.
20809 2014-02-10 Mark Kettenis <kettenis@gnu.org>
20811 * gdb.threads/step-after-sr-lock.exp: Avoid executing
20812 "kill -SIGUSR1 -1".
20814 2014-02-10 Joel Brobecker <brobecker@adacore.com>
20816 * gdb.ada/tick_length_array_enum_idx: New testcase.
20818 2014-02-10 Doug Evans <xdje42@gmail.com>
20820 * configure.ac (AC_OUTPUT): Add gdb.guile.
20821 * configure: Regenerate.
20822 * lib/gdb-guile.exp: New file.
20823 * lib/gdb.exp (get_target_charset): New function.
20824 * gdb.base/help.exp: Update expected output from "apropos apropos".
20825 * gdb.guile/Makefile.in: New file.
20826 * gdb.guile/guile.exp: New file.
20827 * gdb.guile/scm-arch.c: New file.
20828 * gdb.guile/scm-arch.exp: New file.
20829 * gdb.guile/scm-block.c: New file.
20830 * gdb.guile/scm-block.exp: New file.
20831 * gdb.guile/scm-breakpoint.c: New file.
20832 * gdb.guile/scm-breakpoint.exp: New file.
20833 * gdb.guile/scm-disasm.c: New file.
20834 * gdb.guile/scm-disasm.exp: New file.
20835 * gdb.guile/scm-equal.c: New file.
20836 * gdb.guile/scm-equal.exp: New file.
20837 * gdb.guile/scm-error.exp: New file.
20838 * gdb.guile/scm-error.scm: New file.
20839 * gdb.guile/scm-frame-args.c: New file.
20840 * gdb.guile/scm-frame-args.exp: New file.
20841 * gdb.guile/scm-frame-args.scm: New file.
20842 * gdb.guile/scm-frame-inline.c: New file.
20843 * gdb.guile/scm-frame-inline.exp: New file.
20844 * gdb.guile/scm-frame.c: New file.
20845 * gdb.guile/scm-frame.exp: New file.
20846 * gdb.guile/scm-generics.exp: New file.
20847 * gdb.guile/scm-gsmob.exp: New file.
20848 * gdb.guile/scm-iterator.c: New file.
20849 * gdb.guile/scm-iterator.exp: New file.
20850 * gdb.guile/scm-math.c: New file.
20851 * gdb.guile/scm-math.exp: New file.
20852 * gdb.guile/scm-objfile-script-gdb.in: New file.
20853 * gdb.guile/scm-objfile-script.c: New file.
20854 * gdb.guile/scm-objfile-script.exp: New file.
20855 * gdb.guile/scm-objfile.c: New file.
20856 * gdb.guile/scm-objfile.exp: New file.
20857 * gdb.guile/scm-ports.exp: New file.
20858 * gdb.guile/scm-pretty-print.c: New file.
20859 * gdb.guile/scm-pretty-print.exp: New file.
20860 * gdb.guile/scm-pretty-print.scm: New file.
20861 * gdb.guile/scm-section-script.c: New file.
20862 * gdb.guile/scm-section-script.exp: New file.
20863 * gdb.guile/scm-section-script.scm: New file.
20864 * gdb.guile/scm-symbol.c: New file.
20865 * gdb.guile/scm-symbol.exp: New file.
20866 * gdb.guile/scm-symtab-2.c: New file.
20867 * gdb.guile/scm-symtab.c: New file.
20868 * gdb.guile/scm-symtab.exp: New file.
20869 * gdb.guile/scm-type.c: New file.
20870 * gdb.guile/scm-type.exp: New file.
20871 * gdb.guile/scm-value-cc.cc: New file.
20872 * gdb.guile/scm-value-cc.exp: New file.
20873 * gdb.guile/scm-value.c: New file.
20874 * gdb.guile/scm-value.exp: New file.
20875 * gdb.guile/source2.scm: New file.
20876 * gdb.guile/types-module.cc: New file.
20877 * gdb.guile/types-module.exp: New file.
20879 2014-02-10 Yao Qi <yao@codesourcery.com>
20882 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
20883 * configure: Regenerated.
20884 * Makefile.in: New file.
20886 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
20888 * gdb.python/py-framefilter.exp: Fix typo.
20890 2014-02-08 Yao Qi <yao@codesourcery.com>
20892 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
20893 that no =breakpoint-modified is emitted when breakpoints are
20894 modified through MI commands.
20896 2014-02-07 Pedro Alves <pedro@codesourcery.com>
20897 Pedro Alves <palves@redhat.com>
20899 * gdb.threads/step-after-sr-lock.c: New file.
20900 * gdb.threads/step-after-sr-lock.exp: New file.
20902 2014-02-07 Pedro Alves <palves@redhat.com>
20904 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
20906 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
20908 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
20909 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
20911 2014-02-06 Doug Evans <xdje42@gmail.com>
20913 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
20916 * gdb.gdb/python-interrupts.exp: New file.
20918 2014-02-05 Yao Qi <yao@codesourcery.com>
20920 * gdb.trace/report.exp (use_collected_data): Test the output
20921 of "info threads" and "info inferiors".
20923 2014-02-05 Yao Qi <yao@codesourcery.com>
20927 2013-05-24 Yao Qi <yao@codesourcery.com>
20929 * gdb.trace/tfile.exp: Test inferior and thread.
20931 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20933 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
20935 * gdb.base/step-bt.c: Call hello via function pointer to make
20936 sure its first instruction is executed on powerpc64le-linux.
20938 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20940 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
20942 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20944 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
20945 of the test patterns for use on little-endian systems.
20947 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20949 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
20950 (decimal_vector): Fix for little-endian.
20952 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
20954 * gdb.arch/sparc-sysstep.exp: New file.
20955 * gdb.arch/sparc-sysstep.c: Likewise.
20957 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
20959 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20961 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
20963 2014-01-23 Tom Tromey <tromey@redhat.com>
20965 * gdb.ada/array_char_idx: New testcase.
20967 2014-01-23 Tom Tromey <tromey@redhat.com>
20970 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
20971 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
20974 2014-01-23 Tom Tromey <tromey@redhat.com>
20977 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
20978 string from an inferior frame.
20979 * gdb.python/py-framefilter-mi.exp: Update.
20981 2014-01-22 Doug Evans <dje@google.com>
20983 * gdb.server/server-mon.exp: Add tests for "set debug-format".
20985 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20987 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
20989 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20991 * gdb.trace/entry-values.exp: Remove excess space character from
20992 regex patterns. Handle s390 call instruction.
20994 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20996 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
20997 define "*_start" label. Make "name" static.
20998 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
20999 ${name} by references to ${name}_start.
21001 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21003 * gdb.base/info-macros.exp: Remove "debug" from the compile
21006 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21008 * gdb.dlang/demangle.exp: New file.
21010 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21012 * gdb.dlang/primitive-types.exp: New file.
21014 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21016 * configure.ac: Create gdb.dlang/Makefile.
21017 * configure: Regenerate.
21018 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
21019 * gdb.dlang/Makefile.in: New file.
21020 * lib/d-support.exp: New file.
21021 * lib/gdb.exp (skip_d_tests): New proc.
21023 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21025 * gdb.btrace/delta.exp: Check reverse stepi.
21026 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
21027 * gdb.btrace/finish.exp: New.
21028 * gdb.btrace/next.exp: New.
21029 * gdb.btrace/nexti.exp: New.
21030 * gdb.btrace/record_goto.c: Add comments.
21031 * gdb.btrace/step.exp: New.
21032 * gdb.btrace/stepi.exp: New.
21033 * gdb.btrace/multi-thread-step.c: New.
21034 * gdb.btrace/multi-thread-step.exp: New.
21035 * gdb.btrace/rn-dl-bind.c: New.
21036 * gdb.btrace/rn-dl-bind.exp: New.
21037 * gdb.btrace/data.c: New.
21038 * gdb.btrace/data.exp: New.
21039 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21041 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21043 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
21044 * gdb.btrace/exception.exp: Update.
21045 * gdb.btrace/instruction_history.exp: Update.
21046 * gdb.btrace/record_goto.exp: Update.
21047 * gdb.btrace/tailcall.exp: Update.
21048 * gdb.btrace/unknown_functions.exp: Update.
21049 * gdb.btrace/delta.exp: New.
21051 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21053 * gdb.btrace/record_goto.exp: Add backtrace test.
21054 * gdb.btrace/tailcall.exp: Add backtrace test.
21056 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21058 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
21059 * gdb.btrace/record_goto.c: New.
21060 * gdb.btrace/record_goto.exp: New.
21061 * gdb.btrace/x86-record_goto.S: New.
21063 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21065 * gdb.btrace/function_call_history.exp: Update tests.
21066 * gdb.btrace/instruction_history.exp: Update tests.
21068 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21070 * gdb.btrace/function_call_history.exp: Fix expected field
21071 order for "record function-call-history".
21072 Add new tests for "record function-call-history /c".
21073 * gdb.btrace/exception.cc: New.
21074 * gdb.btrace/exception.exp: New.
21075 * gdb.btrace/tailcall.exp: New.
21076 * gdb.btrace/x86-tailcall.S: New.
21077 * gdb.btrace/x86-tailcall.c: New.
21078 * gdb.btrace/unknown_functions.c: New.
21079 * gdb.btrace/unknown_functions.exp: New.
21080 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21082 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21084 * gdb.btrace/instruction_history.exp: Update.
21085 * gdb.btrace/function_call_history.exp: Update.
21087 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21089 * gdb.btrace/function_call_history.exp: Fix expected function
21091 * gdb.btrace/instruction_history.exp: Initialize traced.
21092 Remove traced_functions.
21094 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21096 * gdb.btrace/function_call_history.exp: Update
21097 * gdb.btrace/instruction_history.exp: Update.
21099 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21101 * gdb.btrace/enable.exp: Update expected text.
21103 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
21105 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
21108 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
21110 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
21112 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
21114 * lib/gdb.exp (supports_process_record): Return true for
21115 arm*-linux*. (supports_reverse): Likewise.
21117 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
21121 * gdb.python/py-type.c: Enhance test case.
21122 * gdb.python/py-value-cc.cc: Likewise
21123 * gdb.python/py-type.exp: Add new tests.
21124 * gdb.python/py-value-cc.exp: Likewise
21126 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
21127 Pedro Alves <palves@redhat.com>
21129 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
21130 Make "name" extern.
21131 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
21132 references to ${name}_start by references to ${name}.
21134 2014-01-10 Joel Brobecker <brobecker@adacore.com>
21136 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
21138 2014-01-10 Joel Brobecker <brobecker@adacore.com>
21140 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
21142 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
21143 Pedro Alves <palves@redhat.com>
21145 * gdb.mi/mi-info-os.exp: Connect to the target with
21146 mi_gdb_target_load.
21148 2014-01-08 Pedro Alves <palves@redhat.com>
21150 * gdb.threads/reconnect-signal.c: New file.
21151 * gdb.threads/reconnect-signal.exp: New file.
21153 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21155 * gdb.base/source-dir.exp: New file.
21157 2014-01-07 Joel Brobecker <brobecker@adacore.com>
21159 * gdb.ada/mi_interface: New testcase.
21161 2014-01-07 Joel Brobecker <brobecker@adacore.com>
21163 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
21164 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
21165 gdb.ada/pp-rec-component/pck.ads: New files.
21167 2014-01-07 Joel Brobecker <brobecker@adacore.com>
21169 * gdb.python/py-pp-integral.c: New file.
21170 * gdb.python/py-pp-integral.py: New file.
21171 * gdb.python/py-pp-integral.exp: New file.
21173 For older changes see ChangeLog-1993-2013.
21175 ;; Local Variables:
21176 ;; mode: change-log
21179 ;; version-control: never
21182 Copyright 2014-2020 Free Software Foundation, Inc.
21183 Copying and distribution of this file, with or without modification,
21184 are permitted provided the copyright notice and this notice are preserved.