]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb.base/find.exp C++ify
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
c8b18808
PA
12020-09-17 Pedro Alves <pedro@palves.net>
2
3 * gdb.base/find.c: Include <string.h>.
4 (init_bufs): Add cast.
5 * gdb.base/find.exp: Issue "set print asm-demangle on".
6
fe830662
TT
72020-09-16 Tom Tromey <tromey@adacore.com>
8
9 PR gdb/26598:
10 * gdb.base/skipcxx.exp: New file.
11 * gdb.base/skipcxx.cc: New file.
12
945ff6e2
TV
132020-09-16 Tom de Vries <tdevries@suse.de>
14
15 PR testsuite/26617
16 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
17 WITH_DEBUG_SECTIONS is defined.
18 (xstr, str): New macro.
19 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
20 to get start and size of _Dmain.
21 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
22 using additional_flags.
23
da1df1db
TBA
242020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
25
26 * gdb.base/bp-cmds-sourced-script.c: New file.
27 * gdb.base/bp-cmds-sourced-script.exp: New test.
28 * gdb.base/bp-cmds-sourced-script.gdb: New file.
29
337882d4
TV
302020-09-16 Tom de Vries <tdevries@suse.de>
31
32 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
33 get the gdb prompt after issuing "monitor exit".
34
7361f908
TV
352020-09-16 Tom de Vries <tdevries@suse.de>
36
37 PR testsuite/26624
38 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
39
4d91ddd3
TV
402020-09-16 Tom de Vries <tdevries@suse.de>
41
42 PR testsuite/26618
43 * gdb.tui/new-layout.exp: Escape unbalanced braces.
44
08cc37dd
TT
452020-09-15 Tom Tromey <tromey@adacore.com>
46
47 PR rust/26197:
48 * lib/rust-support.exp (rust_llvm_version): New proc.
49 * gdb.rust/simple.exp: Check rust_llvm_version.
50
ee6372f2
TV
512020-09-14 Tom de Vries <tdevries@suse.de>
52
53 * gdb.rust/traits.exp: Fix PATH warning.
54
dc3a371e
PA
552020-09-13 Pedro Alves <pedro@palves.net>
56
57 * gdb.base/catch-follow-exec.c (main): Add explicit return
58 statement.
59 * gdb.base/catch-signal.c (main): Likewise.
60 * gdb.base/condbreak-call-false.c (main): Likewise.
61 * gdb.base/consecutive.c (main): Add explicit return
62 statement and return type.
63 * gdb.base/cursal.c (main): Add explicit return statement.
64 * gdb.base/cvexpr.c (main): Likewise.
65 * gdb.base/display.c (main): Add explicit return statement and
66 return type.
67 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
68 * gdb.base/endianity.c (main): Likewise.
69 * gdb.base/execd-prog.c (main): Likewise.
70 * gdb.base/gdb1090.c (main): Likewise.
71 * gdb.base/info_qt.c (main): Likewise.
72 * gdb.base/lineinc.c (main): Likewise.
73 * gdb.base/load-command.c (main): Likewise.
74 * gdb.base/macscp1.c (main): Likewise.
75 * gdb.base/pr10179-a.c (main): Likewise.
76 * gdb.base/quit-live.c (main): Likewise.
77 * gdb.base/scope0.c (main): Likewise.
78 * gdb.base/settings.c (main): Likewise.
79 * gdb.base/stack-checking.c (main): Return int.
80 * gdb.base/varargs.c (main): Add explicit return statement.
81 * gdb.cp/ambiguous.cc (main): Likewise.
82 * gdb.cp/anon-struct.cc (main): Likewise.
83 * gdb.cp/anon-union.cc (main): Likewise.
84 * gdb.cp/bool.cc (main): Likewise.
85 * gdb.cp/bs15503.cc (main): Likewise.
86 * gdb.cp/cplusfuncs.cc (main): Likewise.
87 * gdb.cp/cttiadd.cc (main): Likewise.
88 * gdb.cp/extern-c.cc (main): Likewise.
89 * gdb.cp/filename.cc (main): Likewise.
90 * gdb.cp/formatted-ref.cc (main): Likewise.
91 * gdb.cp/mb-ctor.cc (main): Likewise.
92 * gdb.cp/member-ptr.cc (main): Likewise.
93 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
94 * gdb.cp/overload-const.cc (main): Likewise.
95 * gdb.cp/paren-type.cc (main): Likewise.
96 * gdb.cp/parse-lang.cc (main): Likewise.
97 * gdb.cp/pr-1023.cc (main): Likewise.
98 * gdb.cp/psmang1.cc (main): Likewise.
99 * gdb.cp/readnow-language.cc (main): Likewise.
100 * gdb.cp/ref-params.cc (main): Likewise.
101 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
102 * gdb.cp/virtbase2.cc (main): Likewise.
103 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
104 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
105 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
106 * gdb.mi/mi-console.c (main): Likewise.
107 * gdb.mi/mi-read-memory.c (main): Likewise.
108 * gdb.modula2/multidim.c (main): Likewise.
109 * gdb.opt/inline-small-func.c (main): Likewise.
110 * gdb.python/py-rbreak.c (main): Likewise.
111 * gdb.stabs/exclfwd1.c (main): Likewise.
112 * gdb.trace/qtro.c (main): Likewise.
113
af26601c
PA
1142020-09-13 Pedro Alves <pedro@palves.net>
115
116 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
117 instead of getenv.
118
2f4b83cd
PA
1192020-09-13 Pedro Alves <pedro@palves.net>
120
121 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
122 instead of spawning GDB with remote_spawn.
123 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
124 gdb_spawn instead of spawning GDB with remote_spawn.
125
c49da0e4
PA
1262020-09-13 Pedro Alves <pedro@palves.net>
127
128 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
129 file and add calls to first and second.
130 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
131 add call to f.
132
6791b117
PA
1332020-09-13 Pedro Alves <pedro@palves.net>
134
135 * gdb.mi/mi-break-qualified.cc: New file.
136 * gdb.mi/mi-break-qualified.exp: New file.
137 * lib/mi-support.exp (mi_create_breakpoint_multi)
138 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
139 procedures.
140 (mi_create_breakpoint_1): New, factored out from
141 mi_create_breakpoint.
142
3b8d4c5c
PA
1432020-09-13 Pedro Alves <pedro@palves.net>
144
145 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
146 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
147 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
148 (register_class): Delete.
149 (main): Don't call register_class.
150
d5f96005
PA
1512020-09-13 Pedro Alves <pedro@palves.net>
152
153 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
154 (do_tests): Remove "calling method for small class" test.
155 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
156 (register_class): Delete.
157 (main): Don't call register_class.
158 * gdb.cp/call-method-register.exp: New file, based on bits removed
159 from classes.exp.
160 * gdb.cp/call-method-register.cc: New file, based on bits removed
161 from classes.cc.
162
77f2120b
PA
1632020-09-13 Pedro Alves <pedro@palves.net>
164
165 * gdb.base/msym-bp-2.c: New.
166 * gdb.base/msym-bp-shl-lib.c: New file.
167 * gdb.base/msym-bp-shl-main-2.c: New file.
168 * gdb.base/msym-bp-shl-main.c: New file.
169 * gdb.base/msym-bp-shl.exp: New file.
170 * gdb.base/msym-bp.c: New file.
171 * gdb.base/msym-bp.exp: New file.
172
32aea73e
JB
1732020-09-13 Joel Brobecker <brobecker@adacore.com>
174
175 * gdb.base/default.exp: Change $_gdb_major to 11.
176
2a67f09d
FW
1772020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
178 Felix Willgerodt <Felix.Willgerodt@intel.com>
179
180 * x86-avx512bf16.c: New file.
181 * x86-avx512bf16.exp: Likewise.
182 * lib/gdb.exp (skip_avx512bf16_tests): New function.
183
ad570dd7
TV
1842020-09-11 Tom de Vries <tdevries@suse.de>
185
186 PR exp/26602
187 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
188
a56f7391
TBA
1892020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
190
191 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
192
918619e5
AM
1932020-09-10 Alan Modra <amodra@gmail.com>
194
195 PR 26597
196 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
197
cac1e71d
TV
1982020-09-08 Tom de Vries <tdevries@suse.de>
199
200 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
201 after gdb_starti_cmd.
202
c5cd900e
AKS
2032020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
204
205 * lib/fortran.exp (fortran_complex8): New proc.
206 (fortran_complex16): New proc.
207 * gdb.fortran/complex.exp: Use routines from fortran.exp
208 * gdb.fortran/pointer-to-pointer.exp: Likewise.
209 * gdb.fortran/vla-ptr-info.exp: Likewise.
210
8f5c6526
TV
2112020-09-03 Tom de Vries <tdevries@suse.de>
212
213 PR breakpoint/26546
214 * gdb.base/label-without-address.exp: Runto main first.
215
02c6f3f1
TT
2162020-09-02 Tom Tromey <tromey@adacore.com>
217
218 * gdb.ada/mi_var_access.exp: Test children of access variable.
219 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
220 * gdb.ada/mi_var_array.exp: Update.
221
efe24f05
KB
2222020-08-31 Kevin Buettner <kevinb@redhat.com>
223
224 * gdb.base/corefile.exp (warning-free): XFAIL test when running
225 on docker w/ AUFS storage driver.
226
973695d6
KB
2272020-08-31 Kevin Buettner <kevinb@redhat.com>
228
229 * gdb.base/corefile2.exp (renamed binfile): New tests.
230
f3bd50f1
SM
2312020-08-31 Simon Marchi <simon.marchi@efficios.com>
232
233 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
234
22b9b4b0
SL
2352020-08-31 Simon Marchi <simon.marchi@efficios.com>
236
237 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
238 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
239
8efaf6b3
SM
2402020-08-31 Simon Marchi <simon.marchi@efficios.com>
241
242 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
243 output, printing a "not saved" value from history and printing a
244 convenience variable created from a "not saved" value.
245
e840f2e3
TV
2462020-08-31 Tom de Vries <tdevries@suse.de>
247
248 * gdb.base/eh_return.exp: Use nopie.
249
8f57f343
PA
2502020-08-28 Pedro Alves <pedro@palves.net>
251
252 * gdb.base/advance-until-multiple-locations.exp
253 (advance_overload, until_overload): Adjust to match the
254 frame/function header instead of the source line text.
255
626d2320
TV
2562020-08-28 Tom de Vries <tdevries@suse.de>
257
258 * gdb.base/label-without-address.c: New test.
259 * gdb.base/label-without-address.exp: New file.
260
df631783
PA
2612020-08-27 Pedro Alves <pedro@palves.net>
262
263 PR gdb/26523
264 PR gdb/26524
265 * gdb.base/advance-until-multiple-locations.cc: New.
266 * gdb.base/advance-until-multiple-locations.exp: New.
267
48b076bb
SM
2682020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
269
270 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
271
c2015ce4
AB
2722020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
273
274 * gdb.arch/amd64-byte.exp: Make test names unique, use
275 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
276 * gdb.arch/amd64-dword.exp: Likewise.
277 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
278 * gdb.arch/amd64-stap-special-operands.exp: Make test names
279 unique.
280 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
281 * gdb.arch/amd64-word.exp: Make test names unique, use
282 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
283 * gdb.arch/i386-byte.exp: Make test names unique, use
284 gdb_breakpoint.
285 * gdb.arch/i386-word.exp: Likewise.
286
995d3a19
SV
2872020-08-25 Shahab Vahedi <shahab@synopsys.com>
288
289 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
290
8cac2b31
SM
2912020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
292
293 PR gdb/26532
294 * gdb.threads/stepi-random-signal.exp: Update pattern.
295
2bc19622
SM
2962020-08-25 Simon Marchi <simon.marchi@efficios.com>
297
298 PR gdb/26532
299 * gdb.base/ui-redirect.exp: Update pattern.
300
b04aa1fc
GB
3012020-08-25 Gary Benson <gbenson@redhat.com>
302
303 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
304 when compiling with clang.
8571e9c8 305 * gdb.dwarf2/dw2-restore.exp: Likewise.
b04aa1fc 306
9f68b453
GB
3072020-08-25 Gary Benson <gbenson@redhat.com>
308
309 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
310 Add additional_flags=-Wno-inaccessible-base when compiling
311 with GCC >= 10.1 or clang. Add additional_flags=-w when
312 compiling with GCC < 10.
313
3945d2d7
GM
3142020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
315
316 PR m2/26372
fc5d6901
SM
317 * gdb.modula2/multidim.c: New file.
318 * gdb.modula2/multidim.exp: New file.
3945d2d7 319
60122dbe
SM
3202020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
321
322 * lib/gdb.exp (runto): Always emit fail on internal error.
323
1eb8556f
SM
3242020-08-24 Simon Marchi <simon.marchi@efficios.com>
325
326 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
327 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
328 Likewise.
329 * gdb.threads/stepi-random-signal.exp: Likewise.
330
33bf4c5c
TBA
3312020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
332
333 * gdb.base/print-file-var.exp: Fix typo "breapoint".
334 * gdb.trace/strace.exp: Ditto.
335
c2fd7fae
AKS
3362020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
337
338 * gdb.fortran/vla-type.exp: Skip commands not required for
339 the Flang compiled binaries after prologue fix.
340
326afb72
TT
3412020-08-17 Tom de Vries <tdevries@suse.de>
342 Tom Tromey <tromey@adacore.com>
343
344 PR rust/26197:
345 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
346
3ae7ab99
TT
3472020-08-17 Tom Tromey <tromey@adacore.com>
348
349 * gdb.ada/mi_var_access.exp: New file.
350 * gdb.ada/mi_var_access/mi_access.adb: New file.
351 * gdb.ada/mi_var_access/pck.adb: New file.
352 * gdb.ada/mi_var_access/pck.ads: New file.
353
f569c1c5
TV
3542020-08-16 Tom de Vries <tdevries@suse.de>
355
356 PR gdb/25350
357 * gdb.base/eh_return.c: New test.
358 * gdb.base/eh_return.exp: New file.
359
3d11c30a
TV
3602020-08-15 Tom de Vries <tdevries@suse.de>
361
362 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
363 (mixed_func_1d_): Use fortran_charlen_t in decl.
364
547ce8f0
TV
3652020-08-15 Tom de Vries <tdevries@suse.de>
366
367 PR backtrace/26390
368 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
369 Update expected pattern.
370
a54a7f13
PA
3712020-08-13 Pedro Alves <pedro@palves.net>
372
373 * gdb.fortran/complex.exp: Check skip_fortran_tests.
374 * gdb.fortran/library-module.exp: Likewise.
375 * gdb.fortran/logical.exp: Likewise.
376 * gdb.fortran/module.exp: Likewise.
377 * gdb.fortran/print_type.exp: Likewise.
378 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
379 * gdb.fortran/vla-datatypes.exp: Likewise.
380 * gdb.fortran/vla-history.exp: Likewise.
381 * gdb.fortran/vla-ptr-info.exp: Likewise.
382 * gdb.fortran/vla-ptype-sub.exp: Likewise.
383 * gdb.fortran/vla-ptype.exp: Likewise.
384 * gdb.fortran/vla-sizeof.exp: Likewise.
385 * gdb.fortran/vla-type.exp: Likewise.
386 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
387 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
388 * gdb.fortran/vla-value-sub.exp: Likewise.
389 * gdb.fortran/vla-value.exp: Likewise.
390
7a82e903
PA
3912020-08-13 Pedro Alves <pedro@palves.net>
392
393 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
394 * gdb.ada/access_to_packed_array.exp: Likewise.
395 * gdb.ada/access_to_unbounded_array.exp: Likewise.
396 * gdb.ada/addr_arith.exp: Likewise.
397 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
398 * gdb.ada/arr_arr.exp: Likewise.
399 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
400 * gdb.ada/array_bounds.exp: Likewise.
401 * gdb.ada/array_of_variable_length.exp: Likewise.
402 * gdb.ada/array_ptr_renaming.exp: Likewise.
403 * gdb.ada/array_subscript_addr.exp: Likewise.
404 * gdb.ada/arraydim.exp: Likewise.
405 * gdb.ada/arrayparam.exp: Likewise.
406 * gdb.ada/arrayptr.exp: Likewise.
407 * gdb.ada/assign_1.exp: Likewise.
408 * gdb.ada/assign_arr.exp: Likewise.
409 * gdb.ada/atomic_enum.exp: Likewise.
410 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
411 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
412 * gdb.ada/bias.exp: Likewise.
413 * gdb.ada/boolean_expr.exp: Likewise.
414 * gdb.ada/bp_c_mixed_case.exp: Likewise.
415 * gdb.ada/bp_enum_homonym.exp: Likewise.
416 * gdb.ada/bp_inlined_func.exp: Likewise.
417 * gdb.ada/bp_on_var.exp: Likewise.
418 * gdb.ada/bp_range_type.exp: Likewise.
419 * gdb.ada/bp_reset.exp: Likewise.
420 * gdb.ada/call_pn.exp: Likewise.
421 * gdb.ada/catch_assert_if.exp: Likewise.
422 * gdb.ada/catch_ex.exp: Likewise.
423 * gdb.ada/catch_ex_std.exp: Likewise.
424 * gdb.ada/char_enum.exp: Likewise.
425 * gdb.ada/char_param.exp: Likewise.
426 * gdb.ada/complete.exp: Likewise.
427 * gdb.ada/cond_lang.exp: Likewise.
428 * gdb.ada/convvar_comp.exp: Likewise.
429 * gdb.ada/dgopt.exp: Likewise.
430 * gdb.ada/disc_arr_bound.exp: Likewise.
431 * gdb.ada/display_nested.exp: Likewise.
432 * gdb.ada/dot_all.exp: Likewise.
433 * gdb.ada/dyn_loc.exp: Likewise.
434 * gdb.ada/dyn_stride.exp: Likewise.
435 * gdb.ada/excep_handle.exp: Likewise.
436 * gdb.ada/expr_delims.exp: Likewise.
437 * gdb.ada/expr_with_funcall.exp: Likewise.
438 * gdb.ada/exprs.exp: Likewise.
439 * gdb.ada/fin_fun_out.exp: Likewise.
440 * gdb.ada/fixed_cmp.exp: Likewise.
441 * gdb.ada/formatted_ref.exp: Likewise.
442 * gdb.ada/frame_arg_lang.exp: Likewise.
443 * gdb.ada/frame_args.exp: Likewise.
444 * gdb.ada/fullname_bp.exp: Likewise.
445 * gdb.ada/fun_addr.exp: Likewise.
446 * gdb.ada/fun_in_declare.exp: Likewise.
447 * gdb.ada/fun_overload_menu.exp: Likewise.
448 * gdb.ada/fun_renaming.exp: Likewise.
449 * gdb.ada/funcall_char.exp: Likewise.
450 * gdb.ada/funcall_param.exp: Likewise.
451 * gdb.ada/funcall_ptr.exp: Likewise.
452 * gdb.ada/funcall_ref.exp: Likewise.
453 * gdb.ada/homonym.exp: Likewise.
454 * gdb.ada/info_addr_mixed_case.exp: Likewise.
455 * gdb.ada/info_auto_lang.exp: Likewise.
456 * gdb.ada/info_exc.exp: Likewise.
457 * gdb.ada/info_types.exp: Likewise.
458 * gdb.ada/int_deref.exp: Likewise.
459 * gdb.ada/interface.exp: Likewise.
460 * gdb.ada/iwide.exp: Likewise.
461 * gdb.ada/lang_switch.exp: Likewise.
462 * gdb.ada/length_cond.exp: Likewise.
463 * gdb.ada/maint_with_ada.exp: Likewise.
464 * gdb.ada/mi_catch_assert.exp: Likewise.
465 * gdb.ada/mi_catch_ex.exp: Likewise.
466 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
467 * gdb.ada/mi_dyn_arr.exp: Likewise.
468 * gdb.ada/mi_ex_cond.exp: Likewise.
469 * gdb.ada/mi_exc_info.exp: Likewise.
470 * gdb.ada/mi_interface.exp: Likewise.
471 * gdb.ada/mi_prot.exp: Likewise.
472 * gdb.ada/mi_ref_changeable.exp: Likewise.
473 * gdb.ada/mi_string_access.exp: Likewise.
474 * gdb.ada/mi_task_arg.exp: Likewise.
475 * gdb.ada/mi_task_info.exp: Likewise.
476 * gdb.ada/mi_var_array.exp: Likewise.
477 * gdb.ada/mi_var_union.exp: Likewise.
478 * gdb.ada/mi_variant.exp: Likewise.
479 * gdb.ada/minsyms.exp: Likewise.
480 * gdb.ada/mod_from_name.exp: Likewise.
481 * gdb.ada/nested.exp: Likewise.
482 * gdb.ada/null_array.exp: Likewise.
483 * gdb.ada/optim_drec.exp: Likewise.
484 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
485 * gdb.ada/packed_array_assign.exp: Likewise.
486 * gdb.ada/packed_tagged.exp: Likewise.
487 * gdb.ada/pp-rec-component.exp: Likewise.
488 * gdb.ada/print_chars.exp: Likewise.
489 * gdb.ada/print_pc.exp: Likewise.
490 * gdb.ada/ptr_typedef.exp: Likewise.
491 * gdb.ada/ptype_arith_binop.exp: Likewise.
492 * gdb.ada/ptype_array.exp: Likewise.
493 * gdb.ada/ptype_field.exp: Likewise.
494 * gdb.ada/ptype_tagged_param.exp: Likewise.
495 * gdb.ada/ptype_union.exp: Likewise.
496 * gdb.ada/py_range.exp: Likewise.
497 * gdb.ada/py_taft.exp: Likewise.
498 * gdb.ada/rdv_wait.exp: Likewise.
499 * gdb.ada/rec_comp.exp: Likewise.
500 * gdb.ada/rec_return.exp: Likewise.
501 * gdb.ada/ref_param.exp: Likewise.
502 * gdb.ada/ref_tick_size.exp: Likewise.
503 * gdb.ada/rename_subscript_param.exp: Likewise.
504 * gdb.ada/repeat_dyn.exp: Likewise.
505 * gdb.ada/same_component_name.exp: Likewise.
506 * gdb.ada/same_enum.exp: Likewise.
507 * gdb.ada/scalar_storage.exp: Likewise.
508 * gdb.ada/set_wstr.exp: Likewise.
509 * gdb.ada/small_reg_param.exp: Likewise.
510 * gdb.ada/str_binop_equal.exp: Likewise.
511 * gdb.ada/str_ref_cmp.exp: Likewise.
512 * gdb.ada/str_uninit.exp: Likewise.
513 * gdb.ada/sub_variant.exp: Likewise.
514 * gdb.ada/sym_print_name.exp: Likewise.
515 * gdb.ada/taft_type.exp: Likewise.
516 * gdb.ada/tagged.exp: Likewise.
517 * gdb.ada/tagged_access.exp: Likewise.
518 * gdb.ada/task_bp.exp: Likewise.
519 * gdb.ada/task_switch_in_core.exp: Likewise.
520 * gdb.ada/tasks.exp: Likewise.
521 * gdb.ada/tick_last_segv.exp: Likewise.
522 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
523 * gdb.ada/type_coercion.exp: Likewise.
524 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
525 * gdb.ada/unchecked_union.exp: Likewise.
526 * gdb.ada/uninitialized_vars.exp: Likewise.
527 * gdb.ada/var_arr_attrs.exp: Likewise.
528 * gdb.ada/var_arr_typedef.exp: Likewise.
529 * gdb.ada/var_rec_arr.exp: Likewise.
530 * gdb.ada/variant-record.exp: Likewise.
531 * gdb.ada/variant.exp: Likewise.
532 * gdb.ada/variant_record_packed_array.exp: Likewise.
533 * gdb.ada/varsize_limit.exp: Likewise.
534 * gdb.ada/whatis_array_val.exp: Likewise.
535 * gdb.ada/widewide.exp: Likewise.
536 * gdb.ada/win_fu_syms.exp: Likewise.
537
5382020-08-12 Gary Benson <gbenson@redhat.com>
c0ab14ae
GB
539
540 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
541
10c381b5
AB
5422020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
543
544 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
545 unset the array variable.
546
8f34b746
TV
5472020-08-03 Tom de Vries <tdevries@suse.de>
548
549 PR symtab/26333
550 * lib/dwarf.exp (DW_LNE_user): New proc.
551 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
552 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
553
0245e136
KB
5542020-07-31 Kevin Buettner <kevinb@redhat.com>
555
556 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
557 to 'uintptr_t'
558 (inttypes.h): Include.
559
9ef1ec5d
KB
5602020-07-31 Kevin Buettner <kevinb@redhat.com>
561
562 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
563 (C5_24k): Delete.
564 (C5_8k, C5_64k, C5_256k): New macros.
565 (buf_ro): Allocate 256 KiB of initialized data.
566
4c55e970
TBA
5672020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
568
569 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
570 that attempt to overwrite an existing condition with a condition
571 that fails parsing and also with a condition that parses fine
572 but contains junk at the end.
573
1e620590
TBA
5742020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
575
576 * gdb.base/condbreak-bad.c: New test.
577 * gdb.base/condbreak-bad.exp: New file.
578
e12dcc50
TV
5792020-07-30 Tom de Vries <tdevries@suse.de>
580
581 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
582 out of ...
583 (GDBInfoModuleSymbols::check_entry): ... here.
584 (GDBInfoModuleSymbols::check_optional_entry): New proc.
585 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
586 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
587
6cc64caa
TV
5882020-07-30 Tom de Vries <tdevries@suse.de>
589
590 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
591 "__class_some_module_Number_t" optional.
592
90fd07fc
TV
5932020-07-29 Tom de Vries <tdevries@suse.de>
594
595 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
596 multiple locations.
597
f5c79e97
TV
5982020-07-29 Tom de Vries <tdevries@suse.de>
599
600 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
601 rather than function name.
602
f75a0693
AB
6032020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
604
605 PR symtab/26270:
606 * gdb.cp/disasm-func-name.cc: New file.
607 * gdb.cp/disasm-func-name.exp: New file.
608
4888741a
TT
6092020-07-28 Tom Tromey <tromey@adacore.com>
610
611 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
612 'varval' location.
613
43d5901d
AB
6142020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
615
616 * gdb.python/py-unwind.py: Update to make use of a register
617 descriptor.
618
14fa8fb3
AB
6192020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
620
621 * gdb.python/py-arch-reg-names.exp: Add additional tests.
622
e79eb02f
AB
6232020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
624
625 PR fortran/23051
626 PR fortran/26139
627 * gdb.fortran/class-allocatable-array.exp: New file.
628 * gdb.fortran/class-allocatable-array.f90: New file.
629 * gdb.fortran/pointer-to-pointer.exp: New file.
630 * gdb.fortran/pointer-to-pointer.f90: New file.
631
876518dd
TV
6322020-07-25 Tom de Vries <tdevries@suse.de>
633
634 PR symtab/26243
635 * gdb.dwarf2/dw2-line-number-zero.c: New test.
636 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
637
6dcfb80a
TV
6382020-07-24 Tom de Vries <tdevries@suse.de>
639
640 PR testsuite/26293
641 * gdb.ada/mi_prot.exp: Require gnatmake-8.
642
e7bc9db8
PA
6432020-07-23 Pedro Alves <pedro@palves.net>
644
645 * gdb.server/server-kill.exp (prepare): New, factored out from the
646 top level.
647 (kill_server): New.
648 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
649 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
650
78344df7
AB
6512020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
652
653 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
654
25dfed24
SL
6552020-07-22 Sandra Loosemore <sandra@codesourcery.com>
656
657 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
658 Initialize to empty string at top level.
659 (gdb_wrapper_init): Revert check for file existence on build.
660 Build the wrapper in its default place, not a build-specific
661 location. When host == build, make the pathname absolute.
662 (gdb_compile): Delete leftover declaration of
663 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
664 string instead of uninitialized.
665
7da515fd
KB
6662020-07-22 Kevin Buettner <kevinb@redhat.com>
667
668 * gdb.base/corefile2.exp: New file.
669 * gdb.base/coremaker2.exp: New file.
670
9c5ec5c2
KB
6712020-07-22 Kevin Buettner <kevinb@redhat.com>
672
673 * gdb.base/coredump-filter.exp: Add second
674 non-Private-Shared-Anon-File test.
675 (test_disasm): Rename binfile for test which is expected
676 to fail.
677
f9e233c9
KB
6782020-07-22 Kevin Buettner <kevinb@redhat.com>
679
680 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
681 data in core file".
682 * gdb.base/coremaker.c (buf2ro): New global.
683 (mmapdata): Add a read-only mmap mapping.
684
94c265d7
KB
6852020-07-22 Kevin Buettner <kevinb@redhat.com>
686
687 PR corefiles/25631
688 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
689 New test.
690 * gdb.base/coremaker.c (buf3): New global.
691 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
692 flags.
693
6942020-07-22 Kevin Buettner <kevinb@redhat.com>
678c7a56
KB
695
696 * gdb.base/coremaker.c (filler_ro): New global constant.
697
32fa152e
TT
6982020-07-22 Tom Tromey <tromey@adacore.com>
699
700 * gdb.ada/mi_prot.exp: New file.
701 * gdb.ada/mi_prot/pkg.adb: New file.
702 * gdb.ada/mi_prot/pkg.ads: New file.
703 * gdb.ada/mi_prot/prot.adb: New file.
704
c8474dc3
TBA
7052020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
706
707 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
708 loads two JITers.
709
baf8791e
AB
7102020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
711
712 * gdb.python/py-arch-reg-groups.exp: Additional tests.
713
f7306dac
AB
7142020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
715
716 * gdb.python/py-arch-reg-names.exp: Additional tests.
717
6d3d6e4b
TV
7182020-07-21 Tom de Vries <tdevries@suse.de>
719
720 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
721 breakpoint locations".
722 * gdb.reverse/solib-reverse.exp: Same.
723
803d0592
TV
7242020-07-21 Tom de Vries <tdevries@suse.de>
725
726 * gdb.reverse/step-reverse.c (callee): Merge statements.
727
e9bdc510
TV
7282020-07-21 Tom de Vries <tdevries@suse.de>
729
730 * gdb.fortran/info-modules.exp (info module variables): Allow missing
731 line numbers for some variables.
732
f0f9e75a
TV
7332020-07-21 Tom de Vries <tdevries@suse.de>
734
735 * gdb.opt/inline-locals.c (init_array): New func.
736 (func1): Use init_array.
737 * gdb.opt/inline-locals.exp: Update pattern.
738
bd460ecb
TV
7392020-07-21 Tom de Vries <tdevries@suse.de>
740
741 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
742 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
743
ae5369e7
LC
7442020-07-20 Ludovic Courtès <ludo@gnu.org>
745
746 * gdb.guile/source2.scm: Add #f first argument to 'format'.
747 * gdb.guile/types-module.exp: Remove "ERROR:" from
748 regexps since Guile 3.0 no longer prints that.
749
68cf161c
LC
7502020-07-20 Ludovic Courtès <ludo@gnu.org>
751
752 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
753 error regexp to match on Guile 2.2.
754
c14b4913
GB
7552020-07-20 Gary Benson <gbenson@redhat.com>
756
757 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
758 with clang.
759
b243ba58
TV
7602020-07-20 Tom de Vries <tdevries@suse.de>
761
762 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
763 (omp_set_lock_in_order): New function.
764 (single_scope, multi_scope, nested_func, nested_parallel): Use
765 omp_set_lock_in_order and omp_unset_lock.
766 (main): Init and destroy lock and lock2.
767
c06ad8b5
TV
7682020-07-20 Tom de Vries <tdevries@suse.de>
769
770 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
771
6e22f117
TV
7722020-07-20 Tom de Vries <tdevries@suse.de>
773
774 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
775
33176ea7
TV
7762020-07-17 Tom de Vries <tdevries@suse.de>
777
778 * gdb.base/valgrind-infcall-2.c: New test.
779 * gdb.base/valgrind-infcall-2.exp: New file.
780 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
781
90c3ec2d
TV
7822020-07-17 Tom de Vries <tdevries@suse.de>
783
784 * gdb.dlang/circular.c (found): Use found_label as label name.
785 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
786 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
787 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
788 * gdb.dwarf2/ada-linkage-name.exp: Same.
789 * gdb.dwarf2/arr-subrange.exp: Same.
790 * gdb.dwarf2/atomic-type.exp: Same.
791 * gdb.dwarf2/comp-unit-lang.exp: Same.
792 * gdb.dwarf2/cpp-linkage-name.exp: Same.
793 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
794 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
795 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
796 * gdb.dwarf2/implptr-64bit.exp: Same.
797 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
798 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
799 * gdb.dwarf2/imported-unit.exp: Same.
800 * gdb.dwarf2/main-subprogram.exp: Same.
801 * gdb.dwarf2/missing-type-name.exp: Same.
802 * gdb.dwarf2/nonvar-access.exp: Same.
803 * gdb.dwarf2/struct-with-sig.exp: Same.
804 * gdb.dwarf2/typedef-void-finish.exp: Same.
805 * gdb.dwarf2/void-type.exp: Same.
806
10da644d
TV
8072020-07-17 Tom de Vries <tdevries@suse.de>
808
809 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
810 src parameter.
811 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
812 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
813 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
814 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
815 * gdb.dwarf2/dwz.exp: Same.
816 * gdb.dwarf2/implptr-optimized-out.exp: Same.
817 * gdb.dwarf2/implref-array.exp: Same.
818 * gdb.dwarf2/implref-const.exp: Same.
819 * gdb.dwarf2/implref-global.exp: Same.
820 * gdb.dwarf2/implref-struct.exp: Same.
821 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
822 * gdb.dwarf2/opaque-type-lookup.exp: Same.
823 * gdb.dwarf2/var-access.exp: Same.
824 * gdb.dwarf2/varval.exp: Same.
825 * gdb.trace/entry-values.exp: Same.
826
315e6afc
TV
8272020-07-17 Tom de Vries <tdevries@suse.de>
828
829 * lib/dwarf.exp (Dwarf::extern): Remove.
830 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
831 * gdb.dlang/circular.exp: Same.
832 * gdb.dwarf2/comp-unit-lang.exp: Same.
833 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
834 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
835 * gdb.dwarf2/dwz.exp: Same.
836 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
837 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
838 * gdb.dwarf2/imported-unit.exp: Same.
839 * gdb.dwarf2/opaque-type-lookup.exp: Same.
840
5597c940
SL
8412020-07-16 Sandra Loosemore <sandra@codesourcery.com>
842
843 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
844 Use double quotes instead of single quotes.
845
d0ce17d8
CT
8462020-07-16 Caroline Tice <cmtice@google.com>
847
848 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
849 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
850
853772cc
TV
8512020-07-16 Tom de Vries <tdevries@suse.de>
852
853 * lib/dwarf.exp (program): Initialize _line.
854 (DW_LNE_end_sequence): Reinitialize _line.
855 (DW_LNS_advance_line): Update _line.
856 (line): New proc.
857 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
858 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
859 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
860 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
861 * gdb.dwarf2/dw2-is-stmt.exp: Same.
862 * gdb.dwarf2/dw2-ranges-func.exp: Same.
863
fe07b572
AB
8642020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
865
866 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
867 generic.
868
52781cce
TV
8692020-07-15 Tom de Vries <tdevries@suse.de>
870
871 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
872 is_amd64_regs_target.
873
3dcc261c
AB
8742020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
875
876 * gdb.fortran/ptype-on-functions.exp: Add more tests.
877 * gdb.fortran/ptype-on-functions.f90: Likewise.
878
054a0959
SM
8792020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
880
881 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
882 values in documentation for addr_size to 4 and 8.
883
ccb9eba6
AB
8842020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
885
886 * gdb.arch/amd64-osabi.exp: Update.
887 * gdb.arch/arm-disassembler-options.exp: Update.
888 * gdb.arch/powerpc-disassembler-options.exp: Update.
889 * gdb.arch/ppc64-symtab-cordic.exp: Update.
890 * gdb.arch/s390-disassembler-options.exp: Update.
891 * gdb.base/all-architectures.exp.tcl: Update.
892 * gdb.base/attach-pie-noexec.exp: Update.
893 * gdb.base/catch-syscall.exp: Update.
894 * gdb.xml/tdesc-arch.exp: Update.
895
025a39a7
TV
8962020-07-14 Tom de Vries <tdevries@suse.de>
897
898 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
899 (local_gettid): ... this.
900 (fn): Update.
901
74e4b667
SL
9022020-07-13 Sandra Loosemore <sandra@codesourcery.com>
903
904 * gdb.base/info_sources.exp: Skip directory match tests on
905 remote hosts.
906
f413dd74
GB
9072020-07-13 Gary Benson <gbenson@redhat.com>
908
909 * gdb.base/savedregs.exp (caller): Use parentheses to
910 make expected expression evaluation ordering explicit.
911
915771bb
GB
9122020-07-13 Gary Benson <gbenson@redhat.com>
913
914 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
915
2a122642
GB
9162020-07-13 Gary Benson <gbenson@redhat.com>
917
918 * gdb.base/bigcore.c (main): Use a volatile pointer when
919 attempting to trigger a SIGSEGV.
920 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
921 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
922 * gdb.base/savedregs.c (thrower): Likewise.
923 * gdb.mi/mi-syn-frame.c (bar): Likewise.
924
3f00c730
GB
9252020-07-13 Gary Benson <gbenson@redhat.com>
926
927 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
928 defining and using VLA structure fields into...
929 * gdb.base/vla-struct-fields.c: New file.
930 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
931 tests into...
932 * gdb.base/vla-struct-fields.exp: New file.
933
963eeee4
TV
9342020-07-13 Tom de Vries <tdevries@suse.de>
935
936 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
937 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
938 * gdb.base/gold-gdb-index.exp: Same.
939 * gdb.base/morestack.exp: Same.
940
0ed35c9a
DX
9412020-07-11 Daniel Xu <dxu@dxuuu.xyz>
942
943 PR rust/26121
944 * gdb.rust/modules.rs: Prevent linker from discarding test
945 symbol.
946
4fdba23d
PA
9472020-07-10 Pedro Alves <pedro@palves.net>
948
949 PR gdb/26199
950 * gdb.multi/multi-target.c (exit_thread): New.
951 (thread_start): Break loop if EXIT_THREAD.
952 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
953 (top level) Call test_no_resumed.
954
15f3b077
TT
9552020-07-08 Tom Tromey <tromey@adacore.com>
956
957 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
958 * gdb.ada/catch_ex.exp: Examine catchpoint text.
959
9fc501fd
AB
9602020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
961
962 PR python/22748
963 * gdb.opt/inline-frame-tailcall.c: New file.
964 * gdb.opt/inline-frame-tailcall.exp: New file.
965 * gdb.python/py-unwind-inline.c: New file.
966 * gdb.python/py-unwind-inline.exp: New file.
967 * gdb.python/py-unwind-inline.py: New file.
968
64cb3757
AB
9692020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
970
971 * gdb.python/py-arch-reg-groups.exp: New file.
972
0f767f94
AB
9732020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
974
975 * gdb.python/py-arch-reg-names.exp: New file.
976
87dbc774
AB
9772020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
978
979 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
980 gdb.PendingFrame.architecture method.
981
d8cc8af6
TV
9822020-07-06 Tom de Vries <tdevries@suse.de>
983
984 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
985
3c8ea5be
PA
9862020-07-03 Pedro Alves <palves@redhat.com>
987
988 * gdb.base/structs2.c (main): Adjust second parem_reg call to
989 explicitly write negative numbers.
990 * gdb.base/structs2.exp: Adjust expected output.
991
bf90c83a
PA
9922020-07-03 Pedro Alves <palves@redhat.com>
993
994 * gdb.base/charset.c (init_string): Change all char parameters to
995 unsigned char parameters.
996
2eb82157
PA
9972020-07-03 Pedro Alves <palves@redhat.com>
998
999 * gdb.base/call-sc.exp (start_scalars_test): Use
1000 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1001 * gdb.base/overlays.c: Remove references to PARAMS.
1002 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
1003 * gdb.base/reread.exp: Don't set 'prototypes' global.
1004 * gdb.base/structs.exp (start_structs_test): Use
1005 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1006 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
1007 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1008 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
1009 call.
1010 * gdb.base/varargs.exp: Don't set 'prototypes' global.
1011
9adda7af
PA
10122020-07-03 Pedro Alves <palves@redhat.com>
1013
1014 * gdb.base/m32rovly.c: Delete.
1015 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
1016
2a17c803
PW
10172020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1018
1019 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
1020 of gdb_py_test_multiple.
1021 * gdb.python/py-cmd.exp: Likewise.
1022 * gdb.python/py-events.exp: Likewise.
1023 * gdb.python/py-function.exp: Likewise.
1024 * gdb.python/py-inferior.exp: Likewise.
1025 * gdb.python/py-infthread.exp: Likewise.
1026 * gdb.python/py-linetable.exp: Likewise.
1027 * gdb.python/py-parameter.exp: Likewise.
1028 * gdb.python/py-value.exp: Likewise.
1029
b011fe1a
TV
10302020-06-30 Tom de Vries <tdevries@suse.de>
1031
1032 PR testsuite/26175
1033 * lib/future.exp (gdb_default_target_compile): Detect and handle
1034 early_flags.
1035
df5b8876
SM
10362020-06-29 Simon Marchi <simon.marchi@efficios.com>
1037
1038 * boards/simavr.exp (gdb_load): Catch errors when closing
1039 previous connection. Close connection, wait for process and
1040 unset simavr_spawn_id on failure.
1041
a3ca48cd
TV
10422020-06-29 Tom de Vries <tdevries@suse.de>
1043
1044 * lib/gdb.exp (unknown): Make test-case unresolved.
1045
b0237c0e
TV
10462020-06-29 Tom de Vries <tdevries@suse.de>
1047
1048 PR gdb/25475
1049 * gdb.server/solib-list.exp: Verify that the symbol reload
1050 confirmation question is asked.
1051
c0b3b3bd
PW
10522020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1053
1054 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
1055 have a input seq nr in each pass message.
fe4c3d43 1056 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
c0b3b3bd
PW
1057 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
1058 * gdb.python/python.exp: Make test names unique,
1059 use gdb_test_multiline instead of gdb_py_test_multiple,
1060 use $gdb_test_name.
1061 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
1062
1776e3e5
NA
10632020-06-26 Nick Alcock <nick.alcock@oracle.com>
1064
1065 * configure.ac: Add --enable-libctf.
1066 * aclocal.m4: sinclude ../config/enable.m4.
1067 * Makefile.in (site.exp): Add enable_libctf to site.exp.
1068 * lib/gdb.exp (skip_ctf_tests): Use it.
1069 * gdb.base/ctf-constvars.exp: Error message tweak.
1070 * gdb.base/ctf-ptype.exp: Likewise.
1071 * configure: Regenerate.
1072
f53b3eeb
GB
10732020-06-26 Gary Benson <gbenson@redhat.com>
1074
1075 * gdb.cp/try_catch.cc: Include string.h.
1076 (main): Replace comparison against string literal with
1077 strcmp, avoiding build failure with -Wstring-compare.
1078 Add "marker test-complete".
1079 * gdb.cp/try_catch.exp: Run the test to the above marker,
1080 then verify that the value of "test" is still true.
1081
6d74da72
AB
10822020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1083
1084 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
1085
2e52d038
AB
10862020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1087
1088 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1089
3b9fce96
AB
10902020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1091
1092 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
1093 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
1094 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
1095 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
1096 * gdb.arch/riscv-tdesc-loading.exp: New file.
1097
ed69cbc8
AB
10982020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1099
1100 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1101
767a879e
AB
11022020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1103
1104 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
1105 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
1106 * gdb.arch/riscv-tdesc-regs.c: New file.
1107 * gdb.arch/riscv-tdesc-regs.exp: New file.
1108
221db974
PA
11092020-06-24 Pedro Alves <palves@redhat.com>
1110
1111 * gdb.arch/amd64-entry-value-paramref.exp: Use
1112 prepare_for_testing_full and don't pass "c++" for the .S file
1113 build spec.
1114 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
1115 $options, since it's an assembly file. Remove -Wno-deprecated.
1116 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
1117 compiling C++ programs.
1118
331733cd
PA
11192020-06-24 Pedro Alves <palves@redhat.com>
1120
1121 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
1122 Clang, add "-Wno-unknown-warning-option" to the options.
1123
caa7fd04
AB
11242020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
1125
1126 * gdb.xml/tdesc-reload.c: New file.
1127 * gdb.xml/tdesc-reload.exp: New file.
1128 * gdb.xml/maint-xml-dump-01.xml: New file.
1129 * gdb.xml/maint-xml-dump-02.xml: New file.
1130 * gdb.xml/maint-xml-dump.exp: New file.
1131
bb8d1260
SL
11322020-06-23 Sandra Loosemore <sandra@codesourcery.com>
1133
1134 * lib/completion-support.exp (test_gdb_completion_offers_commands):
1135 Adjust for omitted commands when TUI is disabled.
1136
7e4b9c4c
GB
11372020-06-23 Gary Benson <gbenson@redhat.com>
1138 Pedro Alves <palves@redhat.com>
1139
1140 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
1141 * gdb.cp/nsimport.cc: Likewise.
1142 * gdb.cp/nsnested.cc: Likewise.
1143 * gdb.cp/nsnoimports.cc: Likewise.
1144 * gdb.cp/nsusing.cc: Likewise.
1145 * gdb.cp/smartp.cc: Likewise.
1146 * gdb.python/py-pp-integral.c: Likewise.
1147 * gdb.python/py-pp-re-notag.c: Likewise.
1148
2e573c0a
GB
11492020-06-23 Gary Benson <gbenson@redhat.com>
1150
1151 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
1152 * gdb.cp/nsimport.cc: Likewise.
1153 * gdb.cp/nsnested.cc: Likewise.
1154 * gdb.cp/nsnoimports.cc: Likewise.
1155 * gdb.cp/nsusing.cc: Likewise.
1156 * gdb.cp/smartp.cc: Likewise.
1157 * gdb.python/py-pp-integral.c: Likewise.
1158 * gdb.python/py-pp-re-notag.c: Likewise.
1159
746ebfe8
PW
11602020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1161
1162 * gdb.base/default-args.exp: New test.
1163 * gdb.base/default-args.c: New file.
1164 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
1165 * gdb.base/default.exp: Update to new help text.
1166 * gdb.base/help.exp: Likewise.
1167 * gdb.base/page.exp: Likewise.
1168 * gdb.base/style.exp: Likewise.
1169 * gdb.guile/guile.exp: Likewise.
1170 * gdb.python/python.exp: Likewise.
1171
e822f2cd
SL
11722020-06-22 Sandra Loosemore <sandra@codesourcery.com>
1173
1174 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
1175 remote host. Fix search path syntax on Windows host.
1176
48e9cc84
PW
11772020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1178
1179 * gdb.base/attach.exp: Test priority of 'exec-file' changed
1180 over 'exec-file-mismatch'.
1181 * gdb.base/attach.c: Mark should_exit volatile.
1182 * gdb.base/attach2.c: Likewise. Add a comment explaining
1183 why the sleep cannot be big.
1184 * gdb.base/attach3.c: New file.
1185
160f8a8f
SL
11862020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1187
1188 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
1189 prefix optional.
1190
4d91c2a4
SL
11912020-06-20 Sandra Loosemore <sandra@codesourcery.com>
1192
1193 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
1194 for remote host.
1195
87f83f20
SL
11962020-06-19 Sandra Loosemore <sandra@codesourcery.com>
1197 Hafiz Abid Qadeer <abidh@codesourcery.com>
1198
1199 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
1200 file sent to remote host.
1201 (top level): Allow int32_t as type of 32-bit register.
1202
37ab8655
TV
12032020-06-19 Tom de Vries <tdevries@suse.de>
1204
1205 * lib/gdb.exp (gdb_note): New proc.
1206 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
1207 (gdb_default_target_compile): ... here. Only call
1208 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
1209 (use_gdb_compile): Change to array.
1210 (toplevel): Update sets of use_gdb_compile to specify language.
1211 Warn about default_target_compile override. Store dejagnu's version
1212 of default_target_compile in dejagnu_default_target_compile.
1213
a8a56685
TV
12142020-06-18 Tom de Vries <tdevries@suse.de>
1215
1216 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
1217 (default_gdb_init): ... here.
1218
581bea2c
SL
12192020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1220
1221 Fix TUI support checks in gdb.tui tests.
1222
1223 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
1224 just say UNSUPPORTED.
1225 * gdb.tui/corefile-run.exp: Likewise.
1226 * gdb.tui/empty.exp: Likewise.
1227 * gdb.tui/list-before.exp: Likewise.
1228 * gdb.tui/list.exp: Likewise.
1229 * gdb.tui/main.exp: Likewise.
1230 * gdb.tui/regs.exp: Likewise.
1231 * gdb.tui/resize.exp: Likewise.
1232 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
1233 * gdb.tui/tui-layout-asm.exp: Likewise.
1234 * gdb.tui/tui-missing-src.exp: Likewise.
1235 * gdb.tui/winheight.exp: Likewise.
1236 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
1237
05e682e3
SL
12382020-06-17 Sandra Loosemore <sandra@codesourcery.com>
1239
1240 Fix TCL error in gdb.python/py-format-string.exp.
1241
1242 * gdb.python/py-format-string.exp: Move test for python support
1243 earlier, out of function body.
1244
efb763a5
SM
12452020-06-15 Simon Marchi <simon.marchi@efficios.com>
1246
1247 * gdb.base/index-cache-load-twice.c: New.
1248 * gdb.base/index-cache-load-twice.exp: New.
1249
43327b20
KS
12502020-06-17 Keith Seitz <keiths@redhat.com>
1251
99cf27cf 1252 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
43327b20
KS
1253 when executing "gdb --configuration".
1254
081e778c
TV
12552020-06-17 Tom de Vries <tdevries@suse.de>
1256
1257 * lib/gdb.exp (gdb_tcl_unknown): New proc.
1258 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
1259 conditional on presence of gdb_tcl_unknown.
1260 (gdb_finish): Make override undo conditional on presence of
1261 gdb_tcl_unknown.
1262
d2d1ea20
TT
12632020-06-16 Tom Tromey <tom@tromey.com>
1264
1265 * gdb.python/tui-window.py (failwin): New function. Register it
1266 as a TUI window type.
1267 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
1268
c802e8a7
GB
12692020-06-16 Gary Benson <gbenson@redhat.com>
1270
1271 * gdb.python/py-nested-maps.c (create_map): Add missing return
1272 value.
1273 (create_map_map): Likewise.
1274
ff08abb8
TBA
12752020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1276
1277 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
1278 variable.
1279 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
1280 and use the already-defined 'options' variable.
1281
a29d5112
AB
12822020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1283 Tom de Vries <tdevries@suse.de>
1284
1285 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
1286 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
1287 (gdb_setup_known_globals): New proc.
1288 (gdb_cleanup_globals): New proc.
1289 * lib/gdb.exp (load_lib): New override proc.
1290 (gdb_stdin_log_init): Set var in_file as persistent global.
1291 * lib/pascal.exp (gdb_stdin_log_init): Set vars
1292 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
1293 fpc_compiler as persistent global.
1294
8c74a764
TV
12952020-06-12 Tom de Vries <tdevries@suse.de>
1296
1297 * lib/tuiterm.exp (spawn): Rename to ...
1298 (tui_spawn): ... this.
1299 (toplevel): Move rename of spawn ...
1300 (gdb_init_tuiterm): ... here. New proc.
1301 (gdb_finish_tuiterm): New proc.
1302 * lib/gdb.exp (gdb_finish_hooks): New global var.
1303 (gdb_finish): Handle gdb_finish_hooks.
1304 (tuiterm_env): New proc.
1305 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
1306 tuiterm_env.
1307 * gdb.tui/basic.exp: Same.
1308 * gdb.tui/corefile-run.exp: Same.
1309 * gdb.tui/empty.exp: Same.
1310 * gdb.tui/list-before.exp: Same.
1311 * gdb.tui/list.exp: Same.
1312 * gdb.tui/main.exp: Same.
1313 * gdb.tui/new-layout.exp: Same.
1314 * gdb.tui/regs.exp: Same.
1315 * gdb.tui/resize.exp: Same.
1316 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
1317 * gdb.tui/tui-layout-asm.exp: Same.
1318 * gdb.tui/tui-missing-src.exp: Same.
1319 * gdb.tui/winheight.exp: Same.
1320
26783bce
TV
13212020-06-12 Tom de Vries <tdevries@suse.de>
1322
1323 PR testsuite/26110
1324 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
1325 (gdb_finish): Reinstall dejagnu's override of ::unknown.
1326
2b4e6a3f
TT
13272020-06-11 Tom Tromey <tom@tromey.com>
1328
1329 PR gdb/18318:
1330 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
1331 floating point tests.
1332
2f33032a
KS
13332020-06-11 Keith Seitz <keiths@redhat.com>
1334
1335 PR gdb/21356
1336 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
1337 vla_struct.
1338 Add new struct vla_typedef and union vla_typedef_union and
1339 corresponding instantiation objects.
1340 Initialize new objects.
1341 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
1342 and vla_typedef_union_object.
1343 Fixup type for vla_struct_object.
1344
a8baf0a3
TV
13452020-06-11 Tom de Vries <tdevries@suse.de>
1346
1347 * lib/gdb.exp (with_override): New proc, factored out of ...
1348 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
1349
7ab96794
TV
13502020-06-10 Tom de Vries <tdevries@suse.de>
1351
1352 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
1353
cab5c3b7
SM
13542020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
1355
1356 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
1357 parameter, update callers.
1358
f8c41851
SM
13592020-06-04 Simon Marchi <simon.marchi@efficios.com>
1360
1361 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
1362 * gdb.dwarf2/share-psymtabs-bt.c: New file.
1363 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
1364
1c07a73f
TV
13652020-06-04 Tom de Vries <tdevries@suse.de>
1366
1367 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
1368
95146b5d
TV
13692020-06-04 Tom de Vries <tdevries@suse.de>
1370
1371 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
1372 exp_continue.
1373
0cfcd4f0
TV
13742020-06-04 Tom de Vries <tdevries@suse.de>
1375
1376 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
1377
f9b5d5ea
TV
13782020-06-03 Tom de Vries <tdevries@suse.de>
1379
1380 PR symtab/26046
1381 * gdb.cp/breakpoint-locs-2.cc: New test.
1382 * gdb.cp/breakpoint-locs.cc: New test.
1383 * gdb.cp/breakpoint-locs.exp: New file.
1384 * gdb.cp/breakpoint-locs.h: New test.
1385
5144dfba
TV
13862020-06-03 Tom de Vries <tdevries@suse.de>
1387
1388 PR testsuite/25609
1389 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
1390 value of global verbose.
1391 * gdb.base/jit-elf.exp: Same.
1392 * gdb.base/jit-reader.exp: Same.
1393
621eacdf
TV
13942020-06-02 Tom de Vries <tdevries@suse.de>
1395
1396 * gdb.dwarf2/multidictionary.exp: Don't use
1397 gdb_spawn_with_cmdline_opts.
1398
1313c56e
AB
13992020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
1400
1401 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
1402 use_header case.
1403 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
1404 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
1405 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
1406 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
1407 * gdb.dwarf2/dw2-inline-header.c: New file.
1408 * gdb.dwarf2/dw2-inline-header.h: New file.
1409
f68f85b5
PA
14102020-05-30 Pedro Alves <palves@redhat.com>
1411
1412 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
1413 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
1414
678048e8
GB
14152020-05-29 Gary Benson <gbenson@redhat.com>
1416
1417 * gdb.compile/compile-cplus.exp (additional_flags): Also
1418 set when building with clang.
1419 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
1420 when building with clang.
1421
9fcafd23
GB
14222020-05-29 Gary Benson <gbenson@redhat.com>
1423
1424 * gdb.arch/i386-avx.exp (additional_flags): Also set when
1425 building with clang.
1426 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
1427
735d5a07
GB
14282020-05-29 Gary Benson <gbenson@redhat.com>
1429
1430 * gdb.cp/koenig.exp (prepare_for_testing): Add
1431 additional_flags=-Wno-unused-comparison.
1432 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
1433
4ad2c6a0
GB
14342020-05-28 Gary Benson <gbenson@redhat.com>
1435
1436 * gdb.base/sigaltstack.c (catcher): Add default case to switch
1437 statement.
1438
09fe663e
GB
14392020-05-28 Gary Benson <gbenson@redhat.com>
1440
1441 * gdb.cp/classes.exp (prepare_for_testing): Add
1442 additional_flags=-Wno-deprecated-register.
1443 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
1444 * gdb.cp/misc.exp: Likewise.
1445
cee00f17
GB
14462020-05-28 Gary Benson <gbenson@redhat.com>
1447
1448 * gdb.linespec/cpls-ops.cc (dummy): New static global.
1449 (test_op_new::operator new): Add return statement.
1450 (test_op_new_array::operator new[]): Likewise.
1451
636edd00
PA
14522020-05-27 Pedro Alves <palves@redhat.com>
1453
1454 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
1455 check. Use test_gdb_complete_unique instead of
1456 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
1457 test_gdb_complete_multiple instead of
1458 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
1459
c2b75043
LM
14602020-05-27 Luis Machado <luis.machado@linaro.org>
1461
1462 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
1463 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
1464 * gdb.arch/arm-disassembler-options.exp: Likewise.
1465 * gdb.arch/arm-disp-step.exp: Likewise.
1466 * gdb.arch/thumb-prologue.exp: Likewise.
1467 * gdb.base/async.exp: Likewise.
1468 * gdb.base/auxv.exp: Likewise.
1469 * gdb.base/complex-parts.exp: Likewise.
1470 * gdb.base/ena-dis-br.exp: Likewise.
1471 * gdb.base/foll-exec.exp: Likewise.
1472 * gdb.base/permissions.exp: Likewise.
1473 * gdb.base/relocate.exp: Likewise.
1474 * gdb.base/return2.exp: Likewise.
1475 * gdb.base/sigbpt.exp: Likewise.
1476 * gdb.base/siginfo-obj.exp: Likewise.
1477 * gdb.cp/converts.exp: Likewise.
1478 * gdb.cp/exceptprint.exp: Likewise.
1479 * gdb.cp/inherit.exp: Likewise.
1480 * gdb.cp/nsnoimports.exp: Likewise.
1481 * gdb.cp/virtbase2.exp: Likewise.
1482 * gdb.mi/mi-var-cmd.exp: Likewise.
1483 * gdb.mi/var-cmd.c: Likewise.
1484
53a47a3e
TT
14852020-05-26 Tom Tromey <tromey@adacore.com>
1486
1487 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
1488
0bc2354b
TT
14892020-05-26 Tom Tromey <tromey@adacore.com>
1490
1491 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
1492 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
1493 type.
1494 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
1495 variable.
1496
0db49895
CBG
14972020-05-26 Christian Biesinger <cbiesinger@google.com>
1498
1499 * Makefile.in: Use = instead of == for the test command
1500 for portability.
1501
40d22035
TV
15022020-05-26 Tom de Vries <tdevries@suse.de>
1503
1504 * gdb.base/gold-gdb-index-2.c: New test.
1505 * gdb.base/gold-gdb-index.c: New test.
1506 * gdb.base/gold-gdb-index.exp: New file.
1507 * gdb.base/gold-gdb-index.h: New test.
1508
043e2e02
TV
15092020-05-25 Tom de Vries <tdevries@suse.de>
1510
1511 * boards/gold-gdb-index.exp: New file.
1512
462f72c5
SM
15132020-05-25 Simon Marchi <simon.marchi@efficios.com>
1514
1515 * boards/simavr.exp: New file.
1516
6cf66e76
SM
15172020-05-25 Simon Marchi <simon.marchi@efficios.com>
1518
1519 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
1520 * gdb.base/inferior-args.exp: New file.
1521 * gdb.base/inferior-args.c: New file.
1522
75d04512
SM
15232020-05-25 Simon Marchi <simon.marchi@efficios.com>
1524
1525 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
1526 inferior_args. Pass it to gdb_reload.
1527 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
1528 inferior_args.
1529 (gdb_reload): Add inferior_args argument.
1530 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
1531 pass it to gdbserver_run.
1532 * boards/native-gdbserver.exp: Do not set noargs.
1533 * boards/native-extended-gdbserver.exp (gdb_reload): Add
1534 inferior_args argument.
1535 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
1536 * gdb.base/a2-run.exp: Check for use_gdb_stub.
1537 * gdb.base/args.exp: Likewise.
1538
42cf1844
TV
15392020-05-25 Tom de Vries <tdevries@suse.de>
1540
1541 * lib/gdb.exp (exec_is_pie): Add comment.
1542
8f7d38ef
TV
15432020-05-25 Tom de Vries <tdevries@suse.de>
1544
1545 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
1546 instead of $binfile in the untested message.
1547
465e1b0f
TV
15482020-05-25 Tom de Vries <tdevries@suse.de>
1549
1550 PR testsuite/26031
1551 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
1552
3c5a0e02
TV
15532020-05-25 Tom de Vries <tdevries@suse.de>
1554
1555 * boards/gold.exp: New file.
1556
0a4f5f8c
TT
15572020-05-23 Tom Tromey <tom@tromey.com>
1558
1559 * gdb.base/style.exp: Remove completion styling test.
1560 * lib/gdb-utils.exp (style): Remove completion styles.
1561
eca1f90c
TT
15622020-05-23 Tom Tromey <tom@tromey.com>
1563
1564 * gdb.base/style.exp: Add completion styling test.
1565 * lib/gdb-utils.exp (style): Add completion styles.
1566
7c13f4e8
AB
15672020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
1568
1569 * gdb.base/annota1.exp: Update expected results.
1570 * gdb.cp/annota2.exp: Update expected results, remove duplicate
1571 test name.
1572 * gdb.cp/annota3.exp: Update expected results.
1573
41977d16
SM
15742020-05-20 Simon Marchi <simon.marchi@efficios.com>
1575
1576 PR gdb/26016
1577 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
1578 against MAP_FAILED.
1579 * gdb.base/coremaker.c (mmapdata): Likewise.
1580 * gdb.base/jit-reader-host.c (main): Likewise.
1581 * gdb.base/sym-file-loader.c (load): Likewise.
1582 (load_shlib): Likewise.
1583
b4757f2e
TT
15842020-05-20 Tom Tromey <tromey@adacore.com>
1585
1586 * gdb.ada/array_char_idx.exp: Recognize initialized array.
1587
9a0bacfb
TV
15882020-05-20 Tom de Vries <tdevries@suse.de>
1589
1590 PR symtab/25833
1591 * gdb.base/with-mf-inc.c: New test.
1592 * gdb.base/with-mf-main.c: New test.
1593 * gdb.base/with-mf.exp: New file.
1594
76571211
TT
15952020-05-19 Tom Tromey <tromey@adacore.com>
1596
1597 * gdb.rust/simple.exp: Restore missing test result.
1598
4cd9f3d5
TV
15992020-05-19 Tom de Vries <tdevries@suse.de>
1600
1601 * gdb.base/gdb-caching-proc.exp: Fix typo.
1602
7d874253
TT
16032020-05-19 Tom Tromey <tromey@adacore.com>
1604
1605 * gdb.rust/simple.exp: Add some test descriptions.
1606 (test_one_slice): Use with_test_prefix.
1607
1d727695
TV
16082020-05-18 Tom de Vries <tdevries@suse.de>
1609
1610 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
1611
7f32a4d5
PA
16122020-05-17 Pedro Alves <palves@redhat.com>
1613
1614 PR gdb/25741
1615 * gdb.base/hw-sw-break-same-address.exp: New file.
1616
7cfd74cf
PA
16172020-05-16 Pedro Alves <palves@redhat.com>
1618
1619 * gdb.multi/multi-re-run.exp (test_re_run): Switch
1620 LAST_LOADED_FILE accordingly.
1621
57b4f16e
PW
16222020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1623
1624 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
1625
7c05caf7
PW
16262020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1627
1628 * gdb.base/help.exp: Test apropos and help for commands
1629 having aliases. Fixed comments not starting with an
1630 upper-case letter or not finishing with a dot.
1631
7aa1b46f
PW
16322020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1633
3b3aaacb
PW
1634 * gdb.base/alias.exp: Update help output check.
1635
57b4f16e 16362020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3b3aaacb 1637
7aa1b46f
PW
1638 * gdb.base/default.exp: Update output following fixes.
1639
0605465f
PW
16402020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1641
1642 * gdb.base/alias.exp: Test aliases starting with a prefix of
1643 another alias.
1644
86e4e63d
GB
16452020-05-15 Gary Benson <gbenson@redhat.com>
1646
1647 * gdb.base/info-os.c (main): Add return statement.
1648 * gdb.base/info_minsym.c (minsym_fun): Likewise.
1649 * gdb.base/large-frame-2.c (func): Likewise.
1650 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
1651 * gdb.base/pr10179-b.c (foo2): Likewise.
1652 * gdb.base/valgrind-disp-step.c (foo): Likewise.
1653 * gdb.base/watch-cond.c (func): Likewise.
1654 * gdb.multi/goodbye.c (verylongfun): Likewise.
1655 * gdb.multi/hello.c (commonfun): Likewise.
1656 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
1657 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
1658 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
1659 Likewise.
1660 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
1661 * gdb.threads/interrupt-while-step-over.c (child_function):
1662 Likewise.
1663 * gdb.trace/actions-changed.c (end): Likewise.
1664
163df4df
GB
16652020-05-15 Gary Benson <gbenson@redhat.com>
1666
1667 * gdb.opencl/callfuncs.exp: Report when test skipped.
1668 * gdb.opencl/convs_casts.exp: Likewise.
1669 * gdb.opencl/datatypes.exp: Likewise.
1670 * gdb.opencl/operators.exp: Likewise.
1671 * gdb.opencl/vec_comps.exp: Likewise.
1672
6dbc505a
TV
16732020-05-15 Tom de Vries <tdevries@suse.de>
1674
1675 * gdb.base/align.exp.in: Rename to ...
1676 * gdb.base/align.exp.tcl: ... this.
1677 * gdb.base/align-c++.exp: Update.
1678 * gdb.base/align-c.exp: Update.
1679 * gdb.base/all-architectures.exp.in: Rename to ...
1680 * gdb.base/all-architectures.exp: ... this.
1681 * gdb.base/all-architectures-0.exp: Update.
1682 * gdb.base/all-architectures-1.exp: Update.
1683 * gdb.base/all-architectures-2.exp: Update.
1684 * gdb.base/all-architectures-3.exp: Update.
1685 * gdb.base/all-architectures-4.exp: Update.
1686 * gdb.base/all-architectures-5.exp: Update.
1687 * gdb.base/all-architectures-6.exp: Update.
1688 * gdb.base/all-architectures-7.exp: Update.
1689 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
1690 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
1691 * gdb.base/infcall-nested-structs-c++.exp: Update.
1692 * gdb.base/infcall-nested-structs-c.exp: Update.
1693 * gdb.base/info-types.exp.in: Rename to ...
1694 * gdb.base/info-types.exp.tcl: ... this.
1695 * gdb.base/info-types-c++.exp: Update.
1696 * gdb.base/info-types-c.exp: Update.
1697 * gdb.base/max-depth.exp.in: Rename to ...
1698 * gdb.base/max-depth.exp.tcl: ... this.
1699 * gdb.base/max-depth-c++.exp: Update.
1700 * gdb.base/max-depth-c.exp: Update.
1701 * gdb.cp/cpexprs.exp.in: Rename to ...
1702 * gdb.cp/cpexprs.exp.tcl: ... this.
1703 * gdb.cp/cpexprs-debug-types.exp: Update.
1704 * gdb.cp/cpexprs.exp: Update.
1705 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
1706 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
1707 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
1708 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
1709 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
1710 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
1711 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
1712 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
1713 * gdb.dwarf2/clang-debug-names-2.exp: Update.
1714 * gdb.dwarf2/clang-debug-names.exp: Update.
1715
d1034d78
AB
17162020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
1717
1718 * lib/check-test-names.exp: Remove code that prevents this file
1719 loading when tests are run in parallel.
1720
3c5c3649
PA
17212020-05-15 Pedro Alves <palves@redhat.com>
1722
1723 * gdb.multi/multi-kill.exp (start_inferior): Remove
1724 'testpid' parameter. Refer to namespace variable directly.
1725 (testpid): Declare as namespace variable.
1726
272c36b8
PA
17272020-05-15 Pedro Alves <palves@redhat.com>
1728
1729 * gdb.multi/multi-kill.exp: Wrap in namespace.
1730 (start_inferior): Add TESTPID parameter. Use it instead of the
1731 testpid global.
1732 (top level): Define empty TESTPID array, and pass it down to
1733 start_inferior.
1734
02eba61a
TV
17352020-05-14 Tom de Vries <tdevries@suse.de>
1736
1737 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
1738 output.
1739
971a3747
TV
17402020-05-14 Tom de Vries <tdevries@suse.de>
1741
1742 * gdb.base/align.exp: Split into ...
1743 * gdb.base/align.exp.in: ...
1744 * gdb.base/align-c++.exp: ...
1745 * gdb.base/align-c.exp: ... these.
1746 * gdb.base/infcall-nested-structs.exp: Split into ...
1747 * gdb.base/infcall-nested-structs.exp.in: ...
1748 * gdb.base/infcall-nested-structs-c++.exp: ...
1749 * gdb.base/infcall-nested-structs-c.exp: ... these.
1750 * gdb.base/info-types.exp: Split into ...
1751 * gdb.base/info-types.exp.in: ...
1752 * gdb.base/info-types-c++.exp: ...
1753 * gdb.base/info-types-c.exp: ... these.
1754 * gdb.base/max-depth.exp: Split into ...
1755 * gdb.base/max-depth.exp.in: ...
1756 * gdb.base/max-depth-c++.exp: ...
1757 * gdb.base/max-depth-c.exp: ... these.
1758 * gdb.cp/infcall-nodebug.exp: Split into ...
1759 * gdb.cp/infcall-nodebug.exp.in: ...
1760 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
1761 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
1762 * gdb.cp/infcall-nodebug-c-d0.exp: ...
1763 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
1764
a05575d3
TBA
17652020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1766 Pedro Alves <palves@redhat.com>
1767
1768 * gdb.multi/multi-exit.c: New file.
1769 * gdb.multi/multi-exit.exp: New file.
1770 * gdb.multi/multi-kill.c: New file.
1771 * gdb.multi/multi-kill.exp: New file.
1772
6ad82919
TBA
17732020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1774
1775 * gdb.base/annota1.exp: Update the expected output.
1776 * gdb.cp/annota2.exp: Ditto.
1777
843f4d93
AB
17782020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
1779
1780 * lib/check-test-names.exp: Disable when testing is being run in
1781 parallel.
1782
c7c66341
TV
17832020-05-12 Tom de Vries <tdevries@suse.de>
1784
1785 * gdb.base/jit-elf.exp: Fix string concat.
1786
1b59ca1c
TV
17872020-05-12 Tom de Vries <tdevries@suse.de>
1788
1789 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
1790 messages.
1791
b4991d29
TV
17922020-05-12 Tom de Vries <tdevries@suse.de>
1793
1794 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
1795
dbb0ab10
TV
17962020-05-12 Tom de Vries <tdevries@suse.de>
1797
1798 * gdb.ada/catch_ex.exp: Use with_test_prefix.
1799 * gdb.ada/mi_catch_ex.exp: Same.
1800 * gdb.ada/mi_catch_ex_hand.exp: Same.
1801
7549fed8
TV
18022020-05-12 Tom de Vries <tdevries@suse.de>
1803
1804 * gdb.fortran/complex.exp: Use with_test_prefix.
1805
af2d5cd8
TV
18062020-05-12 Tom de Vries <tdevries@suse.de>
1807
1808 * gdb.trace/passcount.exp: Fix test-names.
1809
7c121311
TV
18102020-05-12 Tom de Vries <tdevries@suse.de>
1811
1812 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
1813
c9f3b40e
TV
18142020-05-12 Tom de Vries <tdevries@suse.de>
1815
1816 * gdb.gdb/complaints.exp: Use with_test_prefix.
1817 * gdb.xml/tdesc-regs.exp: Same.
1818 * gdb.opt/inline-locals.exp: Fix test name.
1819
111b33f0
TV
18202020-05-12 Tom de Vries <tdevries@suse.de>
1821
1822 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
1823 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
1824 * gdb.dwarf2/implref-struct.exp: Same.
1825 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
1826 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
1827
ebf47080
SM
18282020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
1829
1830 * gdb.base/jit-so.exp (one_jit_test): Change test name.
1831
d30dcd12
AB
18322020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1833
1834 * lib/check-test-names.exp (all_test_names): New module variable.
1835 (counts): Add 'duplicates' field.
1836 (_check_duplicates): New procedure.
1837 (check): Also check for duplicates.
1838 (do_log_summary): Print duplicates count.
1839 (do_reset_vars): Reset counter for duplicate test names, and
1840 discard all know test names.
1841
34584c09
AB
18422020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
1843
1844 * lib/gdb.exp: Include check-test-names.exp library.
1845 * lib/check-test-names.exp: New file.
1846
e0002117
TV
18472020-05-11 Tom de Vries <tdevries@suse.de>
1848
1849 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
1850
53f539a3
KS
18512020-05-11 Keith Seitz <keiths@redhat.com>
1852
1853 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
1854
113ee09a
TV
18552020-05-11 Tom de Vries <tdevries@suse.de>
1856
1857 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
1858 * gdb.cp/cpexprs.exp.in: .. here.
1859 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
1860 cpexprs.exp.
1861
ba3e70b0
KS
18622020-05-11 Keith Seitz <keiths@redhat.com>
1863
1864 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
1865 test names.
1866 * gdb.ada/arrayptr.exp: Likewise.
1867 * gdb.ada/assign_arr.exp: Likewise.
1868 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1869 * gdb.ada/bp_on_var.exp: Likewise.
1870 * gdb.ada/call_pn.exp: Likewise.
1871 * gdb.ada/complete.exp: Likewise.
1872 * gdb.ada/fun_overload_menu.exp: Likewise.
1873 * gdb.ada/funcall_param.exp: Likewise.
1874 * gdb.ada/funcall_ref.exp: Likewise.
1875 * gdb.ada/packed_array_assign.exp: Likewise.
1876 * gdb.ada/same_component_name.exp: Likewise.
1877 * gdb.ada/type_coercion.exp: Likewise.
1878 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1879 * gdb.ada/variant_record_packed_array.exp: Likewise.
1880
3ee6bb11
TV
18812020-05-11 Tom de Vries <tdevries@suse.de>
1882
1883 PR symtab/25941
1884 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
1885 out of ...
1886 * gdb.dwarf2/clang-debug-names.exp: ... here.
1887 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
1888 clang-debug-names.exp.in.
1889 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
1890 * gdb.dwarf2/clang-debug-names-2.c: New test.
1891
86cd6bc8
AKS
18922020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1893
1894 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
1895 (fortran_runto_main): New Proc, fortran version of runto_main.
1896 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
1897 * gdb.fortran/array-bounds.exp: Likewise.
1898 * gdb.fortran/array-slices.exp: Likewise.
1899 * gdb.fortran/block-data.exp: Likewise.
1900 * gdb.fortran/charset.exp: Likewise.
1901 * gdb.fortran/common-block.exp: Likewise.
1902 * gdb.fortran/complex.exp: Likewise.
1903 * gdb.fortran/derived-type-function.exp: Likewise.
1904 * gdb.fortran/derived-type.exp: Likewise.
1905 * gdb.fortran/info-modules.exp: Likewise.
1906 * gdb.fortran/info-types.exp: Likewise.
1907 * gdb.fortran/intrinsics.exp: Likewise.
1908 * gdb.fortran/library-module.exp: Likewise.
1909 * gdb.fortran/logical.exp: Likewise.
1910 * gdb.fortran/max-depth.exp: Likewise.
1911 * gdb.fortran/module.exp: Likewise.
1912 * gdb.fortran/multi-dim.exp: Likewise.
1913 * gdb.fortran/nested-funcs.exp: Likewise.
1914 * gdb.fortran/print-formatted.exp: Likewise.
1915 * gdb.fortran/print_type.exp: Likewise.
1916 * gdb.fortran/printing-types.exp: Likewise.
1917 * gdb.fortran/ptr-indentation.exp: Likewise.
1918 * gdb.fortran/ptype-on-functions.exp: Likewise.
1919 * gdb.fortran/subarray.exp: Likewise.
1920 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1921 * gdb.fortran/vla-datatypes.exp: Likewise.
1922 * gdb.fortran/vla-history.exp: Likewise.
1923 * gdb.fortran/vla-ptr-info.exp: Likewise.
1924 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1925 * gdb.fortran/vla-ptype.exp: Likewise.
1926 * gdb.fortran/vla-sizeof.exp: Likewise.
1927 * gdb.fortran/vla-type.exp: Likewise.
1928 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1929 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1930 * gdb.fortran/vla-value-sub.exp: Likewise.
1931 * gdb.fortran/vla-value.exp: Likewise.
1932 * gdb.fortran/whatis_type.exp: Likewise.
1933 * gdb.mi/mi-var-child-f.exp: Likewise.
1934
6dc55ce9 19352020-05-09 Tom de Vries <tdevries@suse.de>
1936
1937 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
1938
283cb58c
TV
19392020-05-08 Tom de Vries <tdevries@suse.de>
1940
1941 * gdb.dwarf2/clang-debug-names.c: New test.
1942 * gdb.dwarf2/clang-debug-names.exp: New file.
1943
ac4a4f1c
SM
19442020-05-06 Simon Marchi <simon.marchi@efficios.com>
1945
1946 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
1947 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
1948
24fe640b
TV
19492020-05-06 Tom de Vries <tdevries@suse.de>
1950
1951 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
1952 breakpoint is at a "recommended breakpoint location".
1953 * gdb.reverse/consecutive-reverse.exp: Same.
1954
0d8683a3
TV
19552020-05-06 Tom de Vries <tdevries@suse.de>
1956
1957 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
1958 address.
1959
b8983c46
TV
19602020-05-06 Tom de Vries <tdevries@suse.de>
1961
1962 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
1963
abf6d805
TV
19642020-05-06 Tom de Vries <tdevries@suse.de>
1965
1966 * gdb.base/store.exp (check_set, up_set): Allowing missing location
1967 info for r.
1968
0fc2a808
TV
19692020-05-06 Tom de Vries <tdevries@suse.de>
1970
1971 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
1972 necessary.
1973
873dd427
TV
19742020-05-06 Tom de Vries <tdevries@suse.de>
1975
1976 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
1977 void.
1978
7c99e7e2
TV
19792020-05-06 Tom de Vries <tdevries@suse.de>
1980
1981 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
1982 of ...
1983 * gdb.base/async.exp: ... here.
1984 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
1985 "recommended breakpoint location".
1986
6173d6a6
TV
19872020-05-06 Tom de Vries <tdevries@suse.de>
1988
1989 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
1990
6015a067
TV
19912020-05-04 Tom de Vries <tdevries@suse.de>
1992
1993 * gdb.base/async.exp: Check whether instruction addresses are a
1994 "recommended breakpoint location".
1995
3b6acaee
TT
19962020-05-03 Tom Tromey <tom@tromey.com>
1997
1998 * gdb.base/sepdebug.exp: Remove "catch" test.
1999 * gdb.base/break.exp: Remove "catch" test.
2000 * gdb.base/default.exp: Update expected output.
2001
5beb4d17
TV
20022020-05-02 Tom de Vries <tdevries@suse.de>
2003
2004 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
2005 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
2006 * gdb.arch/i386-mpx-map.exp: Same.
2007 * gdb.arch/i386-mpx-sigsegv.exp: Same.
2008 * gdb.arch/i386-mpx-simple_segv.exp: Same.
2009 * gdb.arch/i386-mpx.exp: Same.
2010
8caf140d
TV
20112020-05-02 Tom de Vries <tdevries@suse.de>
2012
2013 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
2014
693196cb
TV
20152020-05-01 Tom de Vries <tdevries@suse.de>
2016
2017 * gdb.ada/operator_bp.exp: Allow more than required amount of
2018 breakpoint.
2019
53ae0aa9
TV
20202020-05-01 Tom de Vries <tdevries@suse.de>
2021
2022 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
2023
ee9d1e5f
HD
20242020-04-30 Hannes Domani <ssbssa@yahoo.de>
2025
2026 PR gdb/18706
2027 * gdb.cp/stub-array-size.cc: New test.
2028 * gdb.cp/stub-array-size.exp: New file.
2029 * gdb.cp/stub-array-size.h: New test.
2030 * gdb.cp/stub-array-size2.cc: New test.
2031
d5cf82c0
HD
20322020-04-30 Hannes Domani <ssbssa@yahoo.de>
2033
2034 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
2035 output to the new format.
2036
42e165c3
SM
20372020-04-29 Simon Marchi <simon.marchi@efficios.com>
2038
2039 * gdb.base/break.exp: Use with_test_prefix.
2040
6e4e3fe1
TV
20412020-04-29 Tom de Vries <tdevries@suse.de>
2042
2043 * lib/gdb.exp (debug_types): New proc.
2044 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
2045 * gdb.python/py-symtab.exp: Same.
2046
d642b692
HD
20472020-04-29 Hannes Domani <ssbssa@yahoo.de>
2048
2049 PR gdb/17320
2050 * gdb.base/pretty-array.c: New test.
2051 * gdb.base/pretty-array.exp: New file.
2052
ea90f227
TV
20532020-04-29 Tom de Vries <tdevries@suse.de>
2054
2055 PR symtab/25889
2056 * gdb.cp/cpexprs.exp: Adapt for inclusion.
2057 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
2058 and include cpexprs.exp.
2059
a65189c9
TV
20602020-04-28 Mark Williams <mark@myosotissp.com>
2061
2062 PR gdb/24480
2063 * dw4-toplevel-types.exp: Test for top level types.
2064 * dw4-toplevel-types.cc: Test for top level types.
2065
32d1f47a
TBA
20662020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2067
2068 * gdb.threads/stop-with-handle.exp: Fix typo in comment
2069 (theads -> threads).
2070
56a4f5a1
TV
20712020-04-28 Tom de Vries <tdevries@suse.de>
2072
2073 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
2074
0b2f8a3b
TV
20752020-04-28 Tom de Vries <tdevries@suse.de>
2076
2077 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
2078
5390c717
TV
20792020-04-28 Tom de Vries <tdevries@suse.de>
2080
2081 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
2082
15cd93d0
TV
20832020-04-28 Tom de Vries <tdevries@suse.de>
2084
2085 * gdb.dwarf2/main-foo.c: New test.
2086 * gdb.dwarf2/struct-with-sig.exp: New file.
2087
d472f0fb
TV
20882020-04-25 Tom de Vries <tdevries@suse.de>
2089
2090 * boards/debug-types.exp: New file.
2091
8d840e05
AB
20922020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
2093
2094 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
2095
bcfe6157
TT
20962020-04-24 Tom Tromey <tom@tromey.com>
2097
2098 PR symtab/12707:
2099 * gdb.python/py-symbol.exp: Update expected results for
2100 linkage_name test.
2101 * gdb.cp/print-demangle.exp: New file.
2102 * gdb.base/c-linkage-name.exp: Fix test.
2103 * gdb.guile/scm-symbol.exp: Update expected results for
2104 linkage_name test.
2105
f049a313
TT
21062020-04-24 Tom Tromey <tom@tromey.com>
2107
2108 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
2109 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
2110 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
2111 assembler.
2112
7cf28874
TV
21132020-04-24 Tom de Vries <tdevries@suse.de>
2114
2115 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
2116 C++.
2117
dac2fef7
TT
21182020-04-24 Tom Tromey <tromey@adacore.com>
2119
2120 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
2121 values.
2122 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
2123 values. Update test for minimal encodings.
2124 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
2125 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
2126 values. Update test for minimal encodings.
2127
1acda803
TT
21282020-04-24 Tom Tromey <tromey@adacore.com>
2129
2130 PR python/23662:
2131 * gdb.ada/variant.exp: Add Python checks.
2132 * gdb.rust/simple.exp: Add dynamic type checks.
2133
adfb9815
TT
21342020-04-24 Tom Tromey <tromey@adacore.com>
2135
2136 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
2137 Make array type matching more lax.
2138 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
2139 * gdb.ada/mi_variant.exp: New file.
2140 * gdb.ada/mi_variant/pck.ads: New file.
2141 * gdb.ada/mi_variant/pkg.adb: New file.
2142 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
2143 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
2144
7d79de9a
TT
21452020-04-24 Tom Tromey <tromey@adacore.com>
2146
2147 * gdb.ada/variant.exp: Add dynamic field offset tests.
2148 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
2149 * gdb.ada/variant/pkg.adb: Add new variables.
2150
f8e89861
TT
21512020-04-24 Tom Tromey <tromey@adacore.com>
2152
2153 * gdb.ada/variant.exp: New file
2154 * gdb.ada/variant/pkg.adb: New file
2155 * gdb.ada/variant/pck.adb: New file
2156
86e887ae
TV
21572020-04-24 Tom de Vries <tdevries@suse.de>
2158
2159 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
2160
88428775
TV
21612020-04-24 Tom de Vries <tdevries@suse.de>
2162
2163 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
2164 flags.
2165
4e86f6e7
TV
21662020-04-24 Tom de Vries <tdevries@suse.de>
2167
2168 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
2169
2016d3e6
TV
21702020-04-24 Tom de Vries <tdevries@suse.de>
2171
2172 * lib/gdb.exp (default_gdb_start): Handle eof.
2173 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
2174 failure.
2175 * gdb.base/readnever.exp: Handle clean_restart failure.
2176
70bc38f5
TV
21772020-04-23 Tom de Vries <tdevries@suse.de>
2178
2179 * gdb.base/decl-before-def.exp: Run to main and print a again.
2180
de82891c
TV
21812020-04-23 Tom de Vries <tdevries@suse.de>
2182
2183 * gdb.base/decl-before-def-decl.c: New test.
2184 * gdb.base/decl-before-def-def.c: New test.
2185 * gdb.base/decl-before-def.exp: New file.
2186
96038148
TV
21872020-04-23 Tom de Vries <tdevries@suse.de>
2188
2189 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
2190
54ac3df1
TV
21912020-04-22 Tom de Vries <tdevries@suse.de>
2192
2193 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
2194 debug_info_offset.
2195 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
2196 before $objsfile in the line line.
2197
714534e1
TV
21982020-04-22 Tom de Vries <tdevries@suse.de>
2199
2200 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
2201
16a7dbf4
MS
22022020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2203
2204 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
2205 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
2206 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
2207 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
2208 * gdb.base/jit-protocol.h: Update definitions to match all usage
2209 contexts.
2210
22112020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2212
2213 * gdb.base: Rename all jit related test and source files.
2214
22152020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
2216
2217 * gdb.base/jit-reader.exp: Relax register output check.
2218
317d2668
TV
22192020-04-22 Tom de Vries <tdevries@suse.de>
2220
2221 PR symtab/25764
2222 * gdb.base/psym-external-decl-2.c: New test.
2223 * gdb.base/psym-external-decl.c: New test.
2224 * gdb.base/psym-external-decl.exp: New file.
2225 * gdb.threads/tls.exp: Add PR25807 kfail.
2226
eea9e357
TV
22272020-04-22 Tom de Vries <tdevries@suse.de>
2228
2229 PR symtab/25801
2230 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
2231 in "info source" output.
2232
3d5afab3
TV
22332020-04-22 Tom de Vries <tdevries@suse.de>
2234
2235 PR symtab/25700
2236 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
2237 symtab for imported_unit.c.
2238
b32102f6
GB
22392020-04-21 Gary Benson <gbenson@redhat.com>
2240
2241 * gdb.base/advance.c (func): New argument, to match call site.
2242 (func2, func3): Add return statements.
2243
d43b7a2d
TBA
22442020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2245
2246 * gdb.multi/run-only-second-inf.c: New file.
2247 * gdb.multi/run-only-second-inf.exp: New file.
2248
d89edf9b
MM
22492020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2250
2251 * gdb.btrace/multi-inferior.c: New test.
2252 * gdb.btrace/multi-inferior.exp: New file.
2253
1a476b6d
MM
22542020-04-21 Markus Metzger <markus.t.metzger@intel.com>
2255
2256 * gdb.btrace/enable-new-thread.c: New test.
2257 * gdb.btrace/enable-new-thread.exp: New file.
2258
4778a5f8
TV
22592020-04-21 Tom de Vries <tdevries@suse.de>
2260
2261 PR gdb/25471
2262 * gdb.threads/killed-outside.c: New test.
2263 * gdb.threads/killed-outside.exp: New file.
2264
9b2c992c
GB
22652020-04-20 Gary Benson <gbenson@redhat.com>
2266
2267 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
2268 * gdb.base/nested-subp2.exp: Likewise.
2269 * gdb.base/nested-subp3.exp: Likewise.
2270
b5d1d6f7
GB
22712020-04-20 Gary Benson <gbenson@redhat.com>
2272
2273 * gdb.base/nested-subp1.exp: Disable test when using clang.
2274 * gdb.base/nested-subp2.exp: Likewise.
2275 * gdb.base/nested-subp3.exp: Likewise.
2276
25230285
GB
22772020-04-20 Gary Benson <gbenson@redhat.com>
2278
2279 * gdb.cp/exception.cc: Fix compilation error with clang.
2280
fa93cc8f
GB
22812020-04-20 Gary Benson <gbenson@redhat.com>
2282
809730f3 2283 * gdb.trace/tspeed.c: Fix compilation error with clang.
fa93cc8f 2284
e0c45f30
GB
22852020-04-20 Gary Benson <gbenson@redhat.com>
2286
2287 * gdb.base/jit-main.c: Fix compilation error with clang.
2288
4ddfec93
KR
22892020-04-17 Kamil Rytarowski <n54@gmx.com>
2290
2291 * gdb.base/attach-twice.c: Include "sys/types.h".
2292 (PTRACE_ATTACH): Add fallback definition.
2293 (main): Pass `0' to the 4th argument of `ptrace'.
2294
2bed205e
KR
22952020-04-17 Kamil Rytarowski <n54@gmx.com>
2296
2297 * gdb.base/fork-running-state.c: Include "signal.h".
2298
0743fc83
TT
22992020-04-17 Tom Tromey <tromey@adacore.com>
2300
2301 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
2302 Update tests.
2303 * gdb.btrace/cpu.exp: Update tests.
2304 * gdb.base/maint.exp: Update tests.
2305 * gdb.base/default.exp: Update tests.
2306 * gdb.base/completion.exp: Update tests.
2307
efba5c23
TV
23082020-04-16 Tom de Vries <tdevries@suse.de>
2309
2310 PR symtab/25791
2311 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
2312 (ensure_gdb_index): and factor out and move ...
2313 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
2314 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
2315
d191d716
TV
23162020-04-16 Tom de Vries <tdevries@suse.de>
2317
2318 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
2319 loading exec.
2320
99f1bc6a
AB
23212020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
2322
2323 * gdb.base/many-completions.exp: New file.
2324
194d088f
TV
23252020-04-14 Tom de Vries <tdevries@suse.de>
2326
2327 PR symtab/25718
2328 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
2329
c1a66c06
TV
23302020-04-14 Tom de Vries <tdevries@suse.de>
2331
2332 PR symtab/25720
2333 * gdb.base/maint-expand-symbols-header-file.c: New test.
2334 * gdb.base/maint-expand-symbols-header-file.exp: New file.
2335 * gdb.base/maint-expand-symbols-header-file.h: New test.
2336
21b0982c
AB
23372020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2338
2339 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
2340 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
2341 get_func_info.
2342 (get_func_info): Delete.
2343 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
2344 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
2345 * lib/dwarf.exp (get_func_info): New function.
2346
dd1cab06
TV
23472020-04-13 Tom de Vries <tdevries@suse.de>
2348
2349 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
2350 to what find_gnatmake does.
2351
71ea2b6b
TV
23522020-04-10 Tom de Vries <tdevries@suse.de>
2353
2354 * gdb.base/style.exp: Expect "Expanding full symbols" message for
2355 -readnow.
2356
bdfc1e8a
TV
23572020-04-10 Tom de Vries <tdevries@suse.de>
2358
2359 PR cli/25808
2360 * gdb.base/style.c: Add leading newlines.
2361 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
2362 Check listing of main's one-line body.
2363
14ca8ecf
TV
23642020-04-08 Tom de Vries <tdevries@suse.de>
2365
2366 * lib/gdb.exp (psymtabs_p): New proc.
2367 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
2368 importing unit" unsupported if there are no partial symbols.
2369
e21d048f
TV
23702020-04-08 Tom de Vries <tdevries@suse.de>
2371
2372 PR testsuite/25760
2373 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
2374
25c11aca
TV
23752020-04-07 Tom de Vries <tdevries@suse.de>
2376
2377 PR symtab/25796
2378 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
2379
5707e24b
TV
23802020-04-07 Tom de Vries <tdevries@suse.de>
2381
2382 * gdb.base/check-psymtab.c: New test.
2383 * gdb.base/check-psymtab.exp: New file.
2384
6ee448cc
TT
23852020-04-06 Tom Tromey <tromey@adacore.com>
2386
2387 * gdb.ada/variant-record/proc.adb: New file.
2388 * gdb.ada/variant-record/value.adb: New file.
2389 * gdb.ada/variant-record/value.s: New file.
2390 * gdb.ada/variant-record.exp: New file.
2391
9e7c9a03
HD
23922020-04-03 Hannes Domani <ssbssa@yahoo.de>
2393
2394 PR gdb/25325
2395 * gdb.cp/typed-enum.cc: New test.
2396 * gdb.cp/typed-enum.exp: New file.
2397
c90d28ac
AB
23982020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2399
2400 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
2401 * gdb.dwarf2/dw2-inline-small-func.c: New file.
2402 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
2403 * gdb.dwarf2/dw2-inline-small-func.h: New file.
2404 * gdb.opt/inline-small-func.c: New file.
2405 * gdb.opt/inline-small-func.exp: New file.
2406 * gdb.opt/inline-small-func.h: New file.
2407
34e9a9fa
AB
24082020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2409
2410 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
2411 function.
2412
6a354911
AB
24132020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
2414
2415 * lib/dwarf.exp (function_range): Allow compiler options to be
2416 specified.
2417
880d9777
TV
24182020-04-02 Tom de Vries <tdevries@suse.de>
2419
2420 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
2421 __attribute__((always_inline)).
2422 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
2423
f32682ea
TV
24242020-04-02 Tom de Vries <tdevries@suse.de>
2425
2426 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
2427 (gdbserver_gdb_exit): ... here. Add timeout warning.
2428 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
2429 (connect_target_extended_remote): Append new server_spawn_id to
2430 server_spawn_ids.
2431 (cleanup): New proc.
2432 (setup, <toplevel>): Call cleanup.
2433
d3214198
TV
24342020-04-02 Tom de Vries <tdevries@suse.de>
2435
2436 * gdb.base/main-psymtab.exp: New file.
2437
cc77ed24
TV
24382020-04-02 Tom de Vries <tdevries@suse.de>
2439
2440 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
2441
3638a098
TT
24422020-04-01 Tom Tromey <tom@tromey.com>
2443
2444 * gdb.base/complex-parts.exp: Add type tests.
2445
c34e8714
TT
24462020-04-01 Tom Tromey <tom@tromey.com>
2447
2448 * gdb.base/complex-parts.exp: Add arithmetic tests.
2449
981c08ce
TT
24502020-04-01 Tom Tromey <tom@tromey.com>
2451
2452 * gdb.compile/compile.exp: Update.
2453 * gdb.compile/compile-cplus.exp: Update.
2454 * gdb.base/varargs.exp: Update.
2455 * gdb.base/floatn.exp: Update.
2456 * gdb.base/endianity.exp: Update.
2457 * gdb.base/callfuncs.exp (do_function_calls): Update.
2458 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
2459 (complex_float_integral_args): Update.
2460 * gdb.base/complex.exp: Update.
2461 * gdb.base/complex-parts.exp: Update.
2462
3d1cfd43
TT
24632020-04-01 Tom Tromey <tromey@adacore.com>
2464
2465 * gdb.rust/union.rs: New file.
2466 * gdb.rust/union.exp: New file.
2467 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
2468 (main): Update.
2469 * gdb.rust/simple.exp: Move union tests to union.exp.
2470
e033dfa9
TT
24712020-04-01 Tom Tromey <tromey@adacore.com>
2472
2473 * gdb.rust/simple.rs (main): Remove "y0".
2474
53cccef1
TBA
24752020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2476
2477 * gdb.multi/stop-all-on-exit.c: New test.
2478 * gdb.multi/stop-all-on-exit.exp: New file.
2479
60e22c1e
HD
24802020-04-01 Hannes Domani <ssbssa@yahoo.de>
2481
2482 PR gdb/24789
2483 * gdb.cp/misc.cc: Add integer reference variable.
2484 * gdb.cp/misc.exp: Add test.
2485
e139a727
TBA
24862020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2487
2488 * gdb.server/stop-reply-no-thread.exp: Enhance the test
2489 scenario to cover execution until the end and also the case
2490
16b0db75
TV
24912020-03-31 Tom de Vries <tdevries@suse.de>
2492
2493 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
2494 c. Use "maint info symtabs" to check symtab expansion.
2495
c0502da6
TV
24962020-03-30 Tom de Vries <tdevries@suse.de>
2497
2498 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
2499 unsupported.
2500 (verify_psymtab_expanded): Move ...
2501 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
2502 test.
2503 (readnow): New proc.
2504
5935fd15
AB
25052020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2506
2507 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
2508 with $hex.
2509
1773be9e
TT
25102020-03-20 Tom Tromey <tromey@adacore.com>
2511
2512 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
2513
70304be9
TT
25142020-03-20 Tom Tromey <tromey@adacore.com>
2515
2516 * gdb.ada/sub_variant/subv.adb: New file.
2517 * gdb.ada/sub_variant.exp: New file.
2518
0dd7b8f7
TV
25192020-03-20 Tom de Vries <tdevries@suse.de>
2520
2521 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
2522 first break fails.
2523 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
2524
cada5fc9
AB
25252020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2526
2527 * gdb.server/exit-multiple-threads.c: New file.
2528 * gdb.server/exit-multiple-threads.exp: New file.
2529
6b8c53f2
AB
25302020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2531
2532 * gdb.fortran/mixed-lang-stack.c: New file.
2533 * gdb.fortran/mixed-lang-stack.cpp: New file.
2534 * gdb.fortran/mixed-lang-stack.exp: New file.
2535 * gdb.fortran/mixed-lang-stack.f90: New file.
2536
19a2740f
AB
25372020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
2538
2539 * gdb.linespec/cp-completion-aliases.cc: New file.
2540 * gdb.linespec/cp-completion-aliases.exp: New file.
2541
d8c8b848
TV
25422020-03-19 Tom de Vries <tdevries@suse.de>
2543
2544 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
2545 more precise.
2546
a9933ccf
TV
25472020-03-18 Tom de Vries <tdevries@suse.de>
2548
2549 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
2550 * gdb.dwarf2/break-inline-psymtab.c: New test.
2551 * gdb.dwarf2/break-inline-psymtab.exp: New file.
2552
2f89101f
TV
25532020-03-16 Tom de Vries <tdevries@suse.de>
2554
2555 * lib/cache.exp (gdb_do_cache): Add and handle local variables
2556 cache_verify and cache_verify_proc.
2557
6b9374f1
TV
25582020-03-15 Tom de Vries <tdevries@suse.de>
2559
2560 * gdb.server/solib-list.exp: Handle
2561 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
2562
eaeaf44c
TV
25632020-03-15 Tom de Vries <tdevries@suse.de>
2564
2565 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
2566 objfiles".
2567
3293bbaf
TT
25682020-03-14 Tom Tromey <tom@tromey.com>
2569
2570 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
2571
ab44624c
TV
25722020-03-14 Tom de Vries <tdevries@suse.de>
2573
2574 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
2575
54c43825
TV
25762020-03-14 Tom de Vries <tdevries@suse.de>
2577
2578 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
2579 result in line-by-line fashion.
2580
2ac70237
TV
25812020-03-14 Tom de Vries <tdevries@suse.de>
2582
2583 * lib/gdb.exp (supports_statement_frontiers): New proc.
2584 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
2585
09546b56
TV
25862020-03-14 Tom de Vries <tdevries@suse.de>
2587
2588 * gdb.base/printcmds.exp: Add missing quoting for "print
2589 teststring2".
2590
a1f6a07c
TT
25912020-03-13 Tom Tromey <tom@tromey.com>
2592
2593 * gdb.base/printcmds.exp (test_print_strings): Add regression
2594 test.
2595 * gdb.base/printcmds.c (charptr): New typedef.
2596 (teststring2): New global.
2597
1b83d09c
AB
25982020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
2599
2600 * gdb.base/break-interp.exp: Use the tail of the filename, not the
2601 full path in the test name.
2602 (test_ld): Add some with_test_prefix blocks to make test names
2603 unique.
2604
2d61316c
TV
26052020-03-13 Tom de Vries <tdevries@suse.de>
2606
2607 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
2608
2e9145ac
TV
26092020-03-13 Tom de Vries <tdevries@suse.de>
2610
2611 * gdb.mi/mi-sym-info.exp: Make matching more precise.
2612
96c7f873
TV
26132020-03-13 Tom de Vries <tdevries@suse.de>
2614
2615 PR symtab/25646
2616 * gdb.dwarf2/imported-unit.exp: Add test.
2617
49ba92c0
TV
26182020-03-13 Tom de Vries <tdevries@suse.de>
2619
2620 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
2621 (var1, var2): New variable.
2622 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
2623 matching symbols.
2624
301b21e0
TV
26252020-03-13 Tom de Vries <tdevries@suse.de>
2626
2627 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
2628 (Term::command): Use prompt prefix.
2629 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
2630 * gdb.tui/tui-layout-asm-short-prog.exp: Use
2631 command_no_prompt_prefix instead of prefix.
2632 * gdb.tui/tui-layout-asm.exp: Same.
2633
3f512721
SM
26342020-03-12 Simon Marchi <simon.marchi@efficios.com>
2635
2636 * gdb.base/break-interp.exp: Use foreach_with_prefix.
2637
40310f30
SM
26382020-03-12 Simon Marchi <simon.marchi@efficios.com>
2639
2640 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
2641 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
2642 on" while stepping over the test instruction, match printed
2643 message.
2644
09252140
TV
26452020-03-12 Tom de Vries <tdevries@suse.de>
2646
2647 * gdb.base/info-types.exp: Use exp_continue during matching of output
2648 of "info types".
2649
14e9c72c
TV
26502020-03-12 Tom de Vries <tdevries@suse.de>
2651
2652 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
2653
e515d67e
TV
26542020-03-12 Tom de Vries <tdevries@suse.de>
2655
2656 * gdb.fortran/module.exp: Use exp_continue during matching of output
2657 of "info variable -n".
2658
307eafd8
TV
26592020-03-12 Tom de Vries <tdevries@suse.de>
2660
2661 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
2662 gdb.dwarf2/dw2-ranges-base.c.
2663
9a2de3fc
TV
26642020-03-12 Tom de Vries <tdevries@suse.de>
2665
2666 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
2667 in presence of GLIBC debuginfo.
2668
3217502e
TV
26692020-03-12 Tom de Vries <tdevries@suse.de>
2670
2671 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
2672 $core.
2673
1281424c
TV
26742020-03-12 Tom de Vries <tdevries@suse.de>
2675
2676 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
2677 more precise.
2678
038b97fc
SM
26792020-03-11 Simon Marchi <simon.marchi@efficios.com>
2680
2681 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
2682 from Unix to Windows path.
2683
5308d1e7
TV
26842020-03-11 Tom de Vries <tdevries@suse.de>
2685
2686 * gdb.ada/minsyms.exp: Set language to ada.
2687
f870f78f
TV
26882020-03-11 Tom de Vries <tdevries@suse.de>
2689
2690 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
2691
5a13315d
TV
26922020-03-11 Tom de Vries <tdevries@suse.de>
2693
2694 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
2695
976862ed
TT
26962020-03-11 Tom Tromey <tromey@adacore.com>
2697
2698 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
2699
7462c383
TV
27002020-03-11 Tom de Vries <tdevries@suse.de>
2701
2702 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
2703
1c6c46a0
TV
27042020-03-11 Tom de Vries <tdevries@suse.de>
2705
2706 * gdb.base/break-interp.exp: Limit verbose scope.
2707
44f41bb7
TV
27082020-03-11 Tom de Vries <tdevries@suse.de>
2709
2710 * gdb.fortran/logical.f90: Define variable with character type.
2711 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
2712
b76f3a42
TV
27132020-03-11 Tom de Vries <tdevries@suse.de>
2714
2715 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
2716
1c33af77
TV
27172020-03-11 Tom de Vries <tdevries@suse.de>
2718
2719 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
2720 symtabs.
2721
8c95582d
AB
27222020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2723 Bernd Edlinger <bernd.edlinger@hotmail.de>
2724
2725 * gdb.cp/step-and-next-inline.cc: New file.
2726 * gdb.cp/step-and-next-inline.exp: New file.
2727 * gdb.cp/step-and-next-inline.h: New file.
2728 * gdb.dwarf2/dw2-is-stmt.c: New file.
2729 * gdb.dwarf2/dw2-is-stmt.exp: New file.
2730 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
2731 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
2732 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
2733
cecf8547
AB
27342020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
2735
2736 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
2737 is-stmt flag in the line table.
2738
0ba678c9
TV
27392020-03-09 Tom de Vries <tdevries@suse.de>
2740
2741 * lib/gdb.exp (cached_file): Create cache dir.
2742
72fbdf83
TV
27432020-03-07 Tom de Vries <tdevries@suse.de>
2744
2745 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
2746 * gdb.cp/rvalue-ref-params.exp: Same.
2747
436b5e99
TV
27482020-03-06 Tom de Vries <tdevries@suse.de>
2749
2750 * lib/gdb.exp (tentative_rename, cached_file): New proc.
2751 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
2752
09f2921c
TV
27532020-03-06 Tom de Vries <tdevries@suse.de>
2754
2755 * README: Fix "the the".
2756 * gdb.base/dprintf.exp: Same.
2757
50a3cc5d
TV
27582020-03-05 Tom de Vries <tdevries@suse.de>
2759
2760 * gdb.base/maint.exp: Update "main print statistics" expected output.
2761
0a709cba
AKS
27622020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2763
2764 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
2765 (fortran_int8): Likewise.
2766 (fortran_real4): Likewise.
2767 (fortran_real8): Likewise.
2768 (fortran_complex4): Likewise.
2769 (fortran_logical4): Likewise.
2770 (fortran_character1): Likewise.
2771
5e5d66b6
AB
27722020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
2773
2774 * gdb.fortran/logical.exp: Add tests that any non-zero value is
2775 printed as true.
2776
7b973adc
SDJ
27772020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
2778
2779 * gdb.base/printcmds.exp: Add test to verify printf of a
2780 variable holding an address.
2781
478e490a
TV
27822020-03-03 Tom de Vries <tdevries@suse.de>
2783
2784 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
2785
1ef44e86
TV
27862020-03-03 Tom de Vries <tdevries@suse.de>
2787
2788 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
2789 gdb_test_multiple call.
2790
b98cc2cf
TV
27912020-03-03 Tom de Vries <tdevries@suse.de>
2792
2793 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
2794 gdb_test_multiple calls.
2795
63e163f2
AB
27962020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2797
2798 * gdb.base/default.exp: Remove test of 'set history filename'.
2799 * gdb.base/gdbinit-history.exp: Add tests for setting the history
2800 filename to the empty string.
2801 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
2802 and GDBHISTSIZE.
2803
24ed6739
AB
28042020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
2805
2806 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
2807 disabled.
2808
590003dc 28092020-03-02 Pedro Alves <palves@redhat.com>
fc5d6901 2810 Tom de Vries <tdevries@suse.de>
590003dc
TV
2811
2812 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
2813 -prompt prefix, before user_code argument. Add -lbl option likewise.
2814 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
2815 (gdb_is_target_1): Add -prompt prefix and move to before user_code
2816 argument.
2817 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
2818 have "\r\n" at start-of-line, instead of at end-of-line.
2819
f5e46084
SM
28202020-02-28 Simon Marchi <simon.marchi@efficios.com>
2821
2822 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
2823 libinproctrace.so.
2824
f7a7000d
LM
28252020-02-28 Luis Machado <luis.machado@linaro.org>
2826
2827 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
2828 to "p/x".
2829
718e0816
LM
28302020-02-28 Luis Machado <luis.machado@linaro.org>
2831
2832 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
2833 asm/ptrace.h and error.h.
2834
13c3a74a
TV
28352020-02-28 Tom de Vries <tdevries@suse.de>
2836
2837 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
2838 (struct wrapper, do_something, mundane/symada__cS): Move ...
2839 * gdb.base/c-linkage-name-2.c: ... here. New source file.
2840 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
2841 Update "print symada__cS before partial symtab expansion" regexp.
2842 Update breakpoint location. Flush symbol cache after expansion.
2843
85d2d5bb
LM
28442020-02-28 Luis Machado <luis.machado@linaro.org>
2845
2846 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
2847
3608f86c
TV
28482020-02-27 Tom de Vries <tdevries@suse.de>
2849
2850 * config/sid.exp: Remove unused globals.
2851 * gdb.base/attach.exp: Same.
2852 * gdb.base/catch-load.exp: Same.
2853 * gdb.base/dbx.exp: Same.
2854 * lib/gdb.exp: Same.
2855 * lib/mi-support.exp: Same.
2856 * lib/prompt.exp: Same.
2857
c8d4f6df
TV
28582020-02-27 Tom de Vries <tdevries@suse.de>
2859
2860 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
2861 not set.
2862
0d79cdc4
AM
28632020-02-26 Aaron Merey <amerey@redhat.com>
2864
2865 * gdb.debuginfod: New directory for debuginfod tests.
2866 * gdb.debuginfod/main.c: New test file.
2867 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
2868
0dce4280
TV
28692020-02-26 Tom de Vries <tdevries@suse.de>
2870
2871 PR gdb/25603
2872 * gdb.base/persistent-lang.cc: New test.
2873 * gdb.base/persistent-lang.exp: New file.
2874
9e80cfa1
AB
28752020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2876
2877 * gdb.fortran/derived-type-striding.exp: Add a new test.
2878 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
2879 new test.
2880
2078dbb2
AB
28812020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2882
2883 * gdb.base/cached-source-file.exp: Avoid source file paths in test
2884 names.
2885
70d49700
TV
28862020-02-25 Tom de Vries <tdevries@suse.de>
2887
2888 PR go/18926
2889 * gdb.go/methods.exp: Remove gcc/93866 xfail.
2890
a88ef40d
TV
28912020-02-24 Tom de Vries <tdevries@suse.de>
2892
2893 PR gdb/25592
2894 * gdb.base/info-locals-unused-static-var.c: New test.
2895 * gdb.base/info-locals-unused-static-var.exp: New file.
2896
01b1af32
TT
28972020-02-22 Tom Tromey <tom@tromey.com>
2898
2899 * gdb.python/tui-window.exp: New file.
2900 * gdb.python/tui-window.py: New file.
2901
7c043ba6
TT
29022020-02-22 Tom Tromey <tom@tromey.com>
2903
2904 PR tui/17850:
2905 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
2906 tests.
2907
c22fef7e
TT
29082020-02-22 Tom Tromey <tom@tromey.com>
2909
2910 * gdb.tui/new-layout.exp: Add sub-layout tests.
2911
ee325b61
TT
29122020-02-22 Tom Tromey <tom@tromey.com>
2913
2914 * gdb.tui/new-layout.exp: New file.
2915
3f0cbb04
TT
29162020-02-22 Tom Tromey <tom@tromey.com>
2917
2918 * gdb.rust/rust-style.rs: New file.
2919 * gdb.rust/rust-style.exp: New file.
2920 * gdb.base/style.exp: Test structure printing.
2921 * gdb.base/style.c (struct some_struct): New type.
2922 (enum etype): New type.
2923 (struct_value): New global.
2924
75525152
TV
29252020-02-21 Tom de Vries <tdevries@suse.de>
2926
2927 PR go/18926
2928 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
2929 Remove blanket xfails. Use message argument for gdb_breakpoint.
2930 Make continuing to breakpoint test conditional on setting breakpoint.
2931 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
2932 DW_AT_name attribute. Add xfail for GCC PR93866.
2933
bd360d30
AB
29342020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
2935
2936 * gdb.dwarf2/cpp-linkage-name.c: New file.
2937 * gdb.dwarf2/cpp-linkage-name.exp: New file.
2938
c7adb09f 29392020-02-21 Shahab Vahedi <shahab@synopsys.com>
24ac169a
SV
2940
2941 * lib/gdb.exp (gdb_wrapper_init): Reset
2942 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
2943 not exist.
2944
a9c79803
TV
29452020-02-20 Tom de Vries <tdevries@suse.de>
2946
2947 PR go/17018
2948 * gdb.go/hello.exp: Copy ...
2949 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
2950 print of st to print value of global definition. Add xfail for GCC
2951 PR93844.
2952 * gdb.go/hello.exp: Remove printing of st before definition.
2953 * gdb.go/hello.go: Copy ...
2954 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
2955 to st.
2956 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
2957
d7445728
TV
29582020-02-20 Tom de Vries <tdevries@suse.de>
2959
2960 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
2961 (gdb_simple_compile): Handle compile_flags go by using .go extension
2962 for source file.
2963 * gdb.go/chan.exp: Use support_go_compile.
2964 * gdb.go/handcall.exp: Same.
2965 * gdb.go/hello.exp: Same.
2966 * gdb.go/integers.exp: Same.
2967 * gdb.go/max-depth.exp: Same.
2968 * gdb.go/methods.exp: Same.
2969 * gdb.go/package.exp: Same.
2970 * gdb.go/strings.exp: Same.
2971 * gdb.go/types.exp: Same.
2972 * gdb.go/unsafe.exp: Same.
2973
c9c41e6d
TV
29742020-02-19 Tom de Vries <tdevries@suse.de>
2975
2976 * gdb.python/lib-types.exp: Make xfail more strict.
2977
f20ff837
TV
29782020-02-19 Tom de Vries <tdevries@suse.de>
2979
2980 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
2981
08410482
DE
29822020-02-19 Doug Evans <dje@google.com>
2983
2984 PR rust/25535
2985 * gdb.rust/simple.exp: Add test.
2986 * gdb.rust/simple.rs: Add test.
2987
623563f7
TV
29882020-02-19 Tom de Vries <tdevries@suse.de>
2989
2990 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
2991 output line-by-line.
2992
d3308cfd
TV
29932020-02-19 Tom de Vries <tdevries@suse.de>
2994
2995 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
2996
86cbc5dc
TV
29972020-02-19 Tom de Vries <tdevries@suse.de>
2998
2999 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
3000 prelink.
3001
9db2b96b
TV
30022020-02-19 Tom de Vries <tdevries@suse.de>
3003
3004 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
3005 (gdb_do_cache): Use gdb_do_cache_wrap.
3006 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
3007
89e2fdc5
TV
30082020-02-19 Tom de Vries <tdevries@suse.de>
3009
3010 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
3011 gdb_compile option.
3012
373d7ac0
SM
30132020-02-18 Simon Marchi <simon.marchi@efficios.com>
3014
3015 * gdb.base/printcmds.exp (test_print_enums): Update expected
3016 output.
3017
b29a2df0
SM
30182020-02-18 Simon Marchi <simon.marchi@efficios.com>
3019
3020 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
3021 for "unknown".
3022
6740f0cc
SM
30232020-02-18 Simon Marchi <simon.marchi@efficios.com>
3024
3025 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
3026 enumerator.
3027
edd45eb0
SM
30282020-02-18 Simon Marchi <simon.marchi@efficios.com>
3029
3030 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
3031 FE_, add FE_NONE.
3032 (three): Update.
3033 (enum flag_enum_without_zero): New enum.
3034 (flag_enum_without_zero): New variable.
3035 (enum not_flag_enum): New enum.
3036 (three_not_flag): New variable.
3037 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
3038 (test_print_enums): Add more tests for printing flag enums.
3039
d4295de4
TV
30402020-02-18 Tom de Vries <tdevries@suse.de>
3041
3042 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
3043 (gdb_compile_ada): ... here.
3044 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
3045 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
3046
f251f505
TT
30472020-02-14 Tom Tromey <tom@tromey.com>
3048
3049 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
3050 build directory.
3051 * boards/gdbserver-base.exp: Update path to gdbserver.
3052
8f432634
TV
30532020-02-13 Tom de Vries <tdevries@suse.de>
3054
3055 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
3056
92b6eaf7
TV
30572020-02-13 Tom de Vries <tdevries@suse.de>
3058
3059 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
3060 are missing.
3061
f3b0f7fe
TV
30622020-02-13 Tom de Vries <tdevries@suse.de>
3063
3064 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
3065 call.
3066
f6be8713
SDJ
30672020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3068
3069 PR tui/25126
3070 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
3071 * gdb.base/cached-source-file.c: New file.
3072 * gdb.base/cached-source-file.exp: New file.
3073
b2770d5e
TV
30742020-02-11 Tom de Vries <tdevries@suse.de>
3075
3076 PR testsuite/25488
3077 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
3078
44f6938e
TV
30792020-02-10 Tom de Vries <tdevries@suse.de>
3080
3081 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
3082
5f0e2eb7
MR
30832020-02-10 Maciej W. Rozycki <macro@wdc.com>
3084
3085 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
3086 and $after_addr are both integers before making a comparison.
3087
46ce2b6f
TV
30882020-02-09 Tom de Vries <tdevries@suse.de>
3089
3090 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
3091 command output and paste it into gdb.log. If any, paste catch message
3092 to gdb.log.
3093
5abbbe1d
TT
30942020-02-07 Tom Tromey <tromey@adacore.com>
3095
3096 PR breakpoints/24915:
3097 * gdb.base/annotate-symlink.exp: Use setup_xfail.
3098
1d5d29e7
SV
30992020-02-06 Shahab Vahedi <shahab@synopsys.com>
3100
3101 * gdb.tui/tui-missing-src.exp: Add the "missing source
3102 file" test for the TUI.
3103
b0999b9b
AB
31042020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
3105
3106 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
3107 including a port number in the output.
3108
c3b149eb
AKS
31092020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3110
3111 * lib/fortran.exp (fortran_int4): Handle clang.
3112 (fortran_int8): Likewise.
3113 (fortran_real4): Likewise.
3114 (fortran_real8): Likewise.
3115 (fortran_complex4): Likewise.
3116 (fortran_logical4): Likewise.
3117 (fortran_character1): Likewise.
3118
f8dcc90b
TV
31192020-02-04 Tom de Vries <tdevries@suse.de>
3120
3121 * README (Race detection): Add note.
3122
f90ac7c2
TV
31232020-02-04 Tom de Vries <tdevries@suse.de>
3124
3125 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
3126
780636ae
TV
31272020-02-04 Tom de Vries <tdevries@suse.de>
3128
3129 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
3130
5d2e1193
RA
31312020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3132
3133 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
3134 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
3135 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
3136 blttar, bnetarl.
3137 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
3138 binary for blttar, bnetarl.
3139 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
3140 wait instruction. Delete ldmx test.
3141 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
3142
e409c542
AKS
31432020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3144
3145 * gdb.fortran/array-bounds-high.exp: New file.
3146 * gdb.fortran/array-bounds-high.f90: New file.
3147
b0029748
LD
31482020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
3149
3150 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
3151 Replace #include of <sys/fcntl.h> by <fcntl.h>.
3152
195a8287
TV
31532020-02-01 Tom de Vries <tdevries@suse.de>
3154
3155 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
3156
42330a68
AB
31572020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
3158
3159 PR tui/9765
3160 * gdb.tui/tui-layout-asm-short-prog.S: New file.
3161 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
3162
b62a8028
LM
31632020-01-29 Luis Machado <luis.machado@linaro.org>
3164
3165 * gdb.arch/aarch64-brk-patterns.c: New source file.
3166 * gdb.arch/aarch64-brk-patterns.exp: New test.
3167
5f440116
TBA
31682020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3169
3170 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
3171 GCC/Clang version.
3172 * gdb.cp/pass-by-ref.exp: Ditto.
3173
ee2a6fc6
TV
31742020-01-29 Tom de Vries <tdevries@suse.de>
3175
3176 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
3177 * gdb.threads/watchpoint-fork-mt.c: Same.
3178 * gdb.threads/watchpoint-fork-parent.c: Same.
3179 * gdb.threads/watchpoint-fork-st.c: Same.
3180 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
3181
16b10d6e
LM
31822020-01-27 Luis Machado <luis.machado@linaro.org>
3183
3184 * gdb.base/step-over-syscall.exp (setup): Check if we're already
3185 sitting at a syscall instruction when we hit the syscall function's
3186 breakpoint.
3187 Check PC against one obtained with the x command.
3188 Validate syscall number.
3189 (step_over_syscall): Don't continue to the syscall instruction if
3190 we're already there.
3191
b1468492
PW
31922020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3193
3194 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
3195
7ffa82e1
AB
31962020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3197
3198 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
3199 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
3200
3d92a3e3
AB
32012020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3202
3203 * gdb.dwarf2/dw2-inline-stepping.c: New file.
3204 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
3205
94a72be7
AB
32062020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3207
3208 * gdb.base/maint.exp: Update line table parsing test.
3209 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
3210
53af73bf
PA
32112020-01-24 Pedro Alves <palves@redhat.com>
3212
3213 PR gdb/25410
3214 * gdb.multi/multi-re-run-1.c: New.
3215 * gdb.multi/multi-re-run-2.c: New.
3216 * gdb.multi/multi-re-run.exp: New.
3217
1ba1ac88
AB
32182020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3219
3220 PR gdb/23718
3221 * gdb.server/server-kill-python.exp: New file.
3222
f3364a6d
AB
32232020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3224
3225 * gdb.server/multi-ui-errors.c: New file.
3226 * gdb.server/multi-ui-errors.exp: New file.
3227
733d0a67
AB
32282020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
3229
3230 PR tui/9765
3231 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
3232
4f13c1c0
TT
32332020-01-19 Tom Tromey <tom@tromey.com>
3234
3235 * gdb.tui/main.exp: Add check for plain "file".
3236
40c94099
CB
32372020-01-16 Christian Biesinger <cbiesinger@google.com>
3238
3239 * lib/gdb.exp: Fix spelling error (seperatelly).
3240
ff47f4f0
TT
32412020-01-14 Tom Tromey <tom@tromey.com>
3242
3243 PR symtab/12535:
3244 * gdb.python/python.exp: Test decode_line with empty string
3245 argument.
3246
717c684d
BE
32472020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
3248
3249 * gdb.base/skip-inline.exp: Extend test.
3250
44e4c775
AB
32512020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3252
3253 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
3254 * gdb.dwarf2/dw2-bad-elf.c: New file.
3255 * gdb.dwarf2/dw2-bad-elf.exp: New file.
3256
d93c6db7
AB
32572020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3258
3259 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
3260 _line_saw_file.
3261
9a6d629c
AB
32622020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
3263
3264 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
3265 border.
3266
d9ebdab7
TBA
32672020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3268
3269 * gdb.multi/multi-target.exp (setup): Factor out "info
3270 connections" and "info inferiors" tests to ...
3271 (test_info_inferiors): ... this new procedure.
3272 (top level): Run new "info-inferiors" tests.
3273
f3c469b9
PA
32742020-01-10 Pedro Alves <palves@redhat.com>
3275
3276 * gdb.server/bkpt-other-inferior.exp: New file.
3277
121b3efd
PA
32782020-01-10 Pedro Alves <palves@redhat.com>
3279
3280 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
3281 of "add-inferior".
3282 * gdb.base/quit-live.exp: Likewise.
3283 * gdb.base/remote-exec-file.exp: Likewise.
3284 * gdb.guile/scm-progspace.exp: Likewise.
3285 * gdb.linespec/linespec.exp: Likewise.
3286 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3287 * gdb.mi/user-selected-context-sync.exp: Likewise.
3288 * gdb.multi/multi-target.exp (setup): Add "info connection" and
3289 "info inferiors" tests.
3290 * gdb.multi/remove-inferiors.exp: Adjust expected output of
3291 "add-inferior".
3292 * gdb.multi/watchpoint-multi.exp: Likewise.
3293 * gdb.python/py-inferior.exp: Likewise.
3294 * gdb.server/extended-remote-restart.exp: Likewise.
3295 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
3296 "info inferiors".
3297 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
3298 * gdb.trace/report.exp: Likewise.
3299
1dadb1dd
PA
33002020-01-10 Pedro Alves <palves@redhat.com>
3301
3302 * gdb.multi/multi-target.c: New file.
3303 * gdb.multi/multi-target.exp: New file.
3304 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
3305 mode requested, but remote does not support non-stop".
3306
78f2c40a
PA
33072020-01-10 Pedro Alves <palves@redhat.com>
3308
3309 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
3310 disconnect before reconnecting.
3311
e7af6c70
TBA
33122020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3313 Pedro Alves <palves@redhat.com>
3314
3315 * gdb.server/connect-without-multi-process.exp: Also test
3316 continuing to end.
3317
acdf84a6
PA
33182020-01-10 Pedro Alves <palves@redhat.com>
3319
3320 * gdb.base/remote-exec-file.exp: New file.
3321
873657b9
PA
33222020-01-10 Pedro Alves <palves@redhat.com>
3323
3324 * gdb.base/fork-running-state.exp (do_test): Adjust expected
3325 output.
3326 * gdb.threads/async.c: New.
3327 * gdb.threads/async.exp: New.
3328 * gdb.multi/tids-gid-reset.c: New.
3329 * gdb.multi/tids-gid-reset.exp: New.
3330
7f0ae84c
GB
33312020-01-10 George Barrett <bob@bob131.so>
3332
3333 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
3334 to help in finding the image relocation offset.
3335 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
3336 options in arguments.
3337 (stap_test_no_debuginfo): Likewise.
3338 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
3339 test variants.
3340 (stap_test): Add null semaphore relocation test.
3341
47e9d49d
GB
33422020-01-10 George Barrett <bob@bob131.so>
3343
3344 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
3345 * gdb.base/stap-probe.exp: Likewise.
3346 (stap_test): Pass argument as an additional flag.
3347 (stap_test_no_debuginfo): Likewise.
3348 (stap_test): Check `info probes stap' output for semaphore
3349 addresses if the test binary is supposed to have them.
3350
f5a7c406
AB
33512020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3352
3353 * gdb.tui/basic.exp: Add more scrolling tests.
3354
9ae6bf64
TT
33552020-01-09 Tom Tromey <tom@tromey.com>
3356
3357 PR tui/18932:
3358 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
3359 meangingful value.
3360 (Term::command, Term::resize): Update.
3361 * gdb.tui/basic.exp: Add scrolling test.
3362
b2efe70c
AB
33632020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3364
3365 * gdb.tui/tui-layout-asm.exp: New file.
3366
3804da7e
AB
33672020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3368
3369 * lib/tuiterm.exp (Term::check_box_contents): New proc.
3370
b40aa28f
AB
33712020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3372
3373 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
3374 (Term::enter_tui): Use Term::prepare_for_tui.
3375
63ffd7c9
AB
33762020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3377
3378 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
3379 called.
3380
3be966f6
AB
33812020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3382
3383 * gdb.base/skip.exp: Fix race condition in test.
3384
153d79c4
AB
33852020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3386
3387 * gdb.base/backtrace.c: New file.
3388 * gdb.base/backtrace.exp: New file.
3389
f2302a34
AB
33902020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
3391
3392 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
3393
6ec1d75e
PW
33942020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3395
3396 * gdb.base/style.exp: Test that warnings are styled.
3397
c296cbe6
BE
33982019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
3399
3400 * gdb.base/line65535.exp: New file.
3401 * gdb.base/line65535.c: New file.
3402
b28a729d
SM
34032019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
3404
3405 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
3406 * lib/gnat_debug_info_test.adb: New file.
3407 * gdb.ada/ptype_tagged_param.exp: Use
3408 gnat_runtime_has_debug_info, expect a different output if
3409 runtime does not have debug info.
3410
7f2d7a0d
SM
34112019-12-20 Simon Marchi <simon.marchi@efficios.com>
3412
3413 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
3414 (another) quote in test name.
3415
f3bce483
SM
34162019-12-20 Simon Marchi <simon.marchi@efficios.com>
3417
3418 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
3419 Add quote in test name.
3420
c855a912
TBA
34212019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3422
3423 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
3424 directory instead.
3425 * gdb.cp/pass-by-ref.exp: Extend with more cases.
3426 * gdb.cp/pass-by-ref-2.cc: New file.
3427 * gdb.cp/pass-by-ref-2.exp: New file.
3428
fc9d2d72
TT
34292019-12-20 Tom Tromey <tom@tromey.com>
3430
3431 * gdb.tui/list-before.exp: New file.
3432
77b97e00
TT
34332019-12-20 Tom Tromey <tom@tromey.com>
3434
3435 * gdb.tui/list.exp: Check for source on initial listing.
3436
f69656d0
TT
34372019-12-11 Tom Tromey <tromey@adacore.com>
3438
3439 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
3440 Add crlf test.
3441
99a55965
SM
34422019-12-18 Simon Marchi <simon.marchi@efficios.com>
3443
3444 * gdb.base/default.exp: Update value of $_gdb_major.
3445
5024637f
BE
34462019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3447
3448 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
3449
b63634be
BE
34502019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
3451
3452 * gdb.base/skip.exp: Whitespace fix.
3453
45d73523
BE
34542019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3455
3456 * gdb.base/skip-inline.c: New file.
3457 * gdb.base/skip-inline.exp: New file.
3458
d043f8c8
SM
34592019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
3460
3461 * gdb.base/jit-reader.exp (jit_reader_test): Rename
3462 jit_function_00 to jit_function_stack_mangle.
3463 * gdb.base/jithost.c (jit_function_t): Rename to...
3464 (jit_function_stack_mangle_t): ... this.
3465 (jit_function_add_t): New typedef.
3466 (jit_function_00_code): Rename to...
3467 (jit_function_stack_mangle_code): ... this, make static.
3468 (jit_function_add_code): New.
3469 (main): Generate "add" function and call it. Adjust to changes
3470 in jithost_abi.
3471 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
3472 (struct jithost_abi) <begin, end>: Remove fields.
3473 <object, function_stack_mangle, function_add>: New fields.
3474 * gdb.base/jitreader.c (struct reader_state) <code_begin,
3475 code_end>: Remove fields.
3476 <func_stack_mangle>: New field.
3477 (read_debug_info): Adjust to renaming, create block for "add"
3478 function.
3479 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
3480
873de05c
TT
34812019-12-11 Tom Tromey <tom@tromey.com>
3482
3483 * gdb.tui/resize.exp: Fix regexp.
3484 * gdb.tui/regs.exp: Fix regexps.
3485 * gdb.tui/main.exp: Fix regexp.
3486
3d979945
TT
34872019-12-11 Tom Tromey <tom@tromey.com>
3488
3489 * gdb.tui/resize.exp: Update.
3490 * gdb.tui/empty.exp (layouts): Update.
3491
2192a9d3
TT
34922019-12-11 Tom Tromey <tom@tromey.com>
3493
3494 * gdb.tui/regs.exp: Update.
3495 * gdb.tui/empty.exp (layouts): Update.
3496 * gdb.tui/basic.exp: Update.
3497 * lib/tuiterm.exp (_check_box): Don't check bottom border.
3498
d8edc8b7
PW
34992019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3500
3501 * gdb.base/options.exp: Add -raw-values in the print completion list.
3502 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
3503
4c12d936
KB
35042019-12-10 Kevin Buettner <kevinb@redhat.com>
3505
3506 * gdb.threads/omp-par-scope.c: New file.
3507 * gdb/threads/omp-par-scope.exp: New file.
3508
26b911fb
KB
35092019-12-10 Kevin Buettner <kevinb@redhat.com>
3510
bb47f919
KB
3511 * lib/gdb.exp (support_nested_function_tests): New proc.
3512
35132019-12-10 Kevin Buettner <kevinb@redhat.com>
3514
3515 * lib/gdb.exp (gdb_compile_openmp): New proc.
3516 (build_executable_from_specs): Add an "openmp" option.
3517 (gdb_compile_pthreads): Add non-executable case.
26b911fb 3518
6c71eb7d
TT
35192019-12-10 Tom Tromey <tromey@adacore.com>
3520
3521 * gdb.ada/unchecked_union.exp: New file.
3522 * gdb.ada/unchecked_union/pck.adb: New file.
3523 * gdb.ada/unchecked_union/pck.ads: New file.
3524 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
3525 * gdb-utils.exp (string_to_regexp): Also quote "?".
3526
bac7c5cf
GB
35272019-12-10 George Barrett <bob@bob131.so>
3528
3529 Test scripted probe breakpoints.
3530 * gdb.guile/scm-breakpoint.c (main): Add probe point.
3531 * gdb.python/py-breakpoint.c (main): Likewise.
3532 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
3533 specifier test.
3534 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
3535
330f1d38
TBA
35362019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3537
3538 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
3539 an rvalue parameter.
3540 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
3541 parameter.
3542
b43315e2
AB
35432019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3544
3545 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
3546 modules.
3547
54f73dad
AB
35482019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3549
3550 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
3551 broken version of GCC.
3552
d57cbee9
AB
35532019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
3554
3555 * gdb.fortran/info-modules.exp: Rewrite to make use of new
3556 sym-info-cmds library.
3557 * gdb.fortran/info-types.exp: Likewise.
3558 * lib/sym-info-cmds.exp: New file.
3559
c14aab8c
TV
35602019-12-08 Tom de Vries <tdevries@suse.de>
3561
3562 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
3563
aa2d5a42
KS
35642019-12-07 Keith Seitz <keiths@redhat.com>
3565
3566 * gdb.base/corefile-buildid-shlib-shr.c: New file.
3567 * gdb.base/corefile-buildid-shlib.c: New file.
3568 * gdb.base/corefile-buildid.c: New file.
3569 * gdb.base/corefile-buildid.exp: New file.
3570
93e55f0a
TV
35712019-12-06 Tom de Vries <tdevries@suse.de>
3572
3573 * gdb.dwarf2/varval.exp: Add decl before def test.
3574
c7d12402
TBA
35752019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3576
3577 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
3578
06acc08f
TBA
35792019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3580
3581 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
3582 CV and reference conversion for overload resolution.
3583 * gdb.cp/rvalue-ref-overload.exp: Test it.
3584
e0fad1ea
PW
35852019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3586
3587 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
3588 * gdb.base/frameapply.exp: Test faas without command.
3589
8d70a9f0
AB
35902019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3591
3592 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
3593 Fortran tests.
3594 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
3595 order.
3596
36c8fb93
AB
35972019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3598
3599 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
3600 casting to type with no kind specified.
3601 (test_basic_parsing_of_type_kinds): Additional tests for types
3602 with no kind specified, and add tests for single/double
3603 precision/complex types.
3604
4139ff00
TT
36052019-12-04 Tom Tromey <tromey@adacore.com>
3606
3607 * gdb.base/endianity.c (struct other) <x>: New field.
3608 (main): Initialize it.
3609 * gdb.base/endianity.exp: Update.
3610
a05cf17a
TT
36112019-12-04 Tom Tromey <tromey@adacore.com>
3612
3613 * gdb.ada/scalar_storage/storage.adb: New file.
3614 * gdb.ada/scalar_storage/pck.adb: New file.
3615 * gdb.ada/scalar_storage/pck.ads: New file.
3616 * gdb.ada/scalar_storage.exp: New file.
3617
103a685e
TT
36182019-12-04 Tom Tromey <tromey@adacore.com>
3619
3620 * gdb.base/endianity.c (struct otherendian) <f>: New field.
3621 (main): Initialize it.
3622 * gdb.base/endianity.exp: Update.
3623
c2512106
AB
36242019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3625
3626 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
3627
293b38d6
AB
36282019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
3629
3630 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
3631 -symbol-info-module-functions and -symbol-info-module-variables.
3632
216a7e6b
AB
36332019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
3634
3635 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
3636
5bbd8269
AB
36372019-12-01 Richard Bunt <richard.bunt@arm.com>
3638 Andrew Burgess <andrew.burgess@embecosm.com>
3639
3640 * gdb.fortran/derived-type-striding.exp: New file.
3641 * gdb.fortran/derived-type-striding.f90: New file.
3642 * gdb.fortran/array-slices.exp: New file.
3643 * gdb.fortran/array-slices.f90: New file.
3644
be09caf1
PW
36452019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3646
3647 * gdb.base/define.exp: Test . in command names.
3648 * gdb.base/setshow.exp: Update test, as . is now part of
3649 command name.
3650
643c0cbe
PW
36512019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3652
3653 * gdb.base/define-prefix.exp: New file.
3654
dcdec678
AB
36552019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
3656
3657 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
3658 compile.
3659 (skip_btrace_pt_tests): Likewise.
3660
640ab947
AB
36612019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3662
3663 * gdb.fortran/info-modules.exp: Compile source files in correct
3664 order.
3665
d22670f0
KB
36662019-11-27 Kevin Buettner <kevinb@redhat.com>
3667
3668 * gdb.dwarf2/imported-unit.exp: New file.
3669 * gdb.dwarf2/imported-unit.c: New file.
3670
db5960b4
AB
36712019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3672
3673 * gdb.mi/mi-fortran-modules-2.f90: New file.
3674 * gdb.mi/mi-fortran-modules.exp: New file.
3675 * gdb.mi/mi-fortran-modules.f90: New file.
3676
7dc42066
AB
36772019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
3678
3679 * gdb.mi/mi-sym-info-1.c: New file.
3680 * gdb.mi/mi-sym-info-2.c: New file.
3681 * gdb.mi/mi-sym-info.exp: New file.
3682
0dfeecca
TT
36832019-11-22 Tom Tromey <tromey@adacore.com>
3684
3685 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
3686 * gdb.ada/tasks/foo.adb: Add another stopping location.
3687
34877895
PJ
36882019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
3689
3690 * gdb.base/endianity.c: New test.
3691 * gdb.base/endianity.exp: New file.
3692
2e84f897
LD
36932019-11-21 Lukas Durfina <ldurfina@tachyum.com>
3694
3695 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
3696
65d1cd5f
TV
36972019-11-21 Tom de Vries <tdevries@suse.de>
3698
3699 PR gdb/24956
3700 * gdb.base/ui-redirect.exp: Test output of user-defined command.
3701
4f22c3f4
SDJ
37022019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3703
3704 * gdb.python/py-progspace.exp: Add missing parentheses on some
3705 'print' commands.
3706
9f6ad286
TT
37072019-11-19 Tom Tromey <tom@tromey.com>
3708
3709 * gdb.tui/winheight.exp: New file.
3710
0b8dbf3f
AB
37112019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3712
3713 * gdb.base/ctf-whatis.c: Delete.
3714 * gdb.base/ctf-whatis.exp: Delete.
3715 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
3716
f833b7a7
AB
37172019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3718
3719 * gdb.base/ctf-cvexpr.exp: Delete.
3720 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
3721
30d0a636
AB
37222019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
3723
3724 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
3725 the compiler. Clean up header comment a little.
3726 * gdb.base/ctf-ptype.exp: Likewise.
3727 * gdb.base/ctf-whatis.exp: Likewise.
3728 * lib/gdb.exp (skip_ctf_tests): New proc.
3729
494409bb
SDJ
37302019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
3731
3732 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
3733 * gdb.tui/corefile-run.exp: New file.
3734
55708e99
TT
37352019-11-14 Tom Tromey <tromey@adacore.com>
3736
3737 * gdb.base/gdbvars.exp (test_convenience_variables): Add
3738 regression tests.
3739
45e42163
TT
37402019-11-12 Tom Tromey <tom@tromey.com>
3741
3742 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
3743 after any command. Expect prompt after WAIT_FOR is seen.
3744 (enter_tui): Enable resize messages.
3745 (command): Expect command in output.
3746 (get_line): Avoid error when cursor appears to be off-screen.
3747 (dump_screen): Include screen size in title.
3748 (_do_resize): New proc, from "resize".
3749 (resize): Rewrite. Do resize in two steps.
3750 * gdb.tui/empty.exp (layouts): Fix entries.
3751 (check_boxes): Remove xfail.
3752 (check_text): Dump screen on failure.
3753
086baaf1
AB
37542019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3755
3756 * gdb.python/py-symbol.exp: Add test for
3757 gdb.lookup_static_symbols.
3758
09ff83af
AB
37592019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
3760
3761 * gdb.python/py-symbol.c: Declare and call function from new
3762 py-symbol-2.c file.
3763 * gdb.python/py-symbol.exp: Compile both source files, and add new
3764 tests for gdb.lookup_static_symbol.
3765 * gdb.python/py-symbol-2.c: New file.
3766
11af934b
TV
37672019-11-02 Tom de Vries <tdevries@suse.de>
3768
3769 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
3770 * gdb.base/anon.exp: Same.
3771 * gdb.base/auto-connect-native-target.exp: Same.
3772 * gdb.base/call-ar-st.exp: Same.
3773 * gdb.base/catch-syscall.exp: Same.
3774 * gdb.base/commands.exp: Same.
3775 * gdb.base/default.exp: Same.
3776 * gdb.base/display.exp: Same.
3777 * gdb.base/float.exp: Same.
3778 * gdb.base/foll-fork.exp: Same.
3779 * gdb.base/help.exp: Same.
3780 * gdb.base/info-macros.exp: Same.
3781 * gdb.base/info-proc.exp: Same.
3782 * gdb.base/info-target.exp: Same.
3783 * gdb.base/long_long.exp: Same.
3784 * gdb.base/macscp.exp: Same.
3785 * gdb.base/memattr.exp: Same.
3786 * gdb.base/nofield.exp: Same.
3787 * gdb.base/pointers.exp: Same.
3788 * gdb.base/printcmds.exp: Same.
3789 * gdb.base/ptype.exp: Same.
3790 * gdb.base/restore.exp: Same.
3791 * gdb.base/return.exp: Same.
3792 * gdb.base/scope.exp: Same.
3793 * gdb.base/set-noassign.exp: Same.
3794 * gdb.base/setshow.exp: Same.
3795 * gdb.base/shlib-call.exp: Same.
3796 * gdb.base/signals.exp: Same.
3797 * gdb.base/sigstep.exp: Same.
3798 * gdb.base/skip.exp: Same.
3799 * gdb.base/solib-symbol.exp: Same.
3800 * gdb.base/stap-probe.exp: Same.
3801 * gdb.base/step-line.exp: Same.
3802 * gdb.base/step-test.exp: Same.
3803 * gdb.base/style.exp: Same.
3804 * gdb.base/varargs.exp: Same.
3805 * gdb.base/vla-datatypes.exp: Same.
3806 * gdb.base/vla-ptr.exp: Same.
3807 * gdb.base/vla-sideeffect.exp: Same.
3808 * gdb.base/volatile.exp: Same.
3809 * gdb.base/watch-cond-infcall.exp: Same.
3810 * gdb.base/watchpoint.exp: Same.
3811
e96ec2ba
TV
38122019-11-02 Tom de Vries <tdevries@suse.de>
3813
3814 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
3815 * gdb.cp/cpexprs.exp: Same.
3816 * gdb.cp/except-multi-location.exp: Same.
3817 * gdb.cp/exceptprint.exp: Same.
3818 * gdb.cp/gdb2384.exp: Same.
3819 * gdb.cp/inherit.exp: Same.
3820 * gdb.cp/m-static.exp: Same.
3821 * gdb.cp/meth-typedefs.exp: Same.
3822 * gdb.cp/misc.exp: Same.
3823 * gdb.cp/namespace.exp: Same.
3824 * gdb.cp/non-trivial-retval.exp: Same.
3825 * gdb.cp/overload.exp: Same.
3826 * gdb.cp/pr17132.exp: Same.
3827 * gdb.cp/re-set-overloaded.exp: Same.
3828 * gdb.cp/rvalue-ref-types.exp: Same.
3829 * gdb.cp/templates.exp: Same.
3830
bd5766ec
LM
38312019-11-01 Luis Machado <luis.machado@linaro.org>
3832
3833 PR gdb/25124
3834
3835 * gdb.arch/pr25124.S: New file.
3836 * gdb.arch/pr25124.exp: New file.
3837
165f8965
AB
38382019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3839
3840 * gdb.fortran/info-modules.exp: Update expected results, and add
3841 additional tests for 'info module functinos', and 'info module
3842 variables'.
3843 * gdb.fortran/info-types.exp: Update expected results.
3844 * gdb.fortran/info-types.f90: Extend testcase with additional
3845 module variables and functions.
3846
59c35742
AB
38472019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3848
3849 * gdb.fortran/info-modules.exp: New file.
3850 * gdb.fortran/info-types.exp: Build with new file.
3851 * gdb.fortran/info-types.f90: Include and use new module.
3852 * gdb.fortran/info-types-2.f90: New file.
3853
f3fb2519
PW
38542019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3855
3856 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
3857 * gdb.base/settings.exp: Test all settings types using
3858 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
3859 that now verifies that the value of "maint show" is the same as
3860 returned by the settings functions. Test the type of the
3861 maintenance settings.
3862 * gdb.base/default.exp: Update show_conv_list.
3863
d1e36019
TV
38642019-10-31 Tom de Vries <tdevries@suse.de>
3865
3866 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
3867 gdb_test.
3868 * gdb.arch/amd64-disp-step.exp: Same.
3869 * gdb.asm/asm-source.exp: Same.
3870 * gdb.btrace/buffer-size.exp: Same.
3871 * gdb.btrace/cpu.exp: Same.
3872 * gdb.btrace/enable.exp: Same.
3873 * gdb.dwarf2/count.exp: Same.
3874 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3875 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
3876 * gdb.fortran/vla-datatypes.exp: Same.
3877 * gdb.fortran/vla-history.exp: Same.
3878 * gdb.fortran/vla-ptype.exp: Same.
3879 * gdb.fortran/vla-value.exp: Same.
3880 * gdb.fortran/whatis_type.exp: Same.
3881 * gdb.guile/guile.exp: Same.
3882 * gdb.multi/tids.exp: Same.
3883 * gdb.python/py-finish-breakpoint.exp: Same.
3884 * gdb.python/py-framefilter.exp: Same.
3885 * gdb.python/py-pp-registration.exp: Same.
3886 * gdb.python/py-xmethods.exp: Same.
3887 * gdb.python/python.exp: Same.
3888 * gdb.server/connect-with-no-symbol-file.exp: Same.
3889 * gdb.server/no-thread-db.exp: Same.
3890 * gdb.server/run-without-local-binary.exp: Same.
3891 * gdb.stabs/weird.exp: Same.
3892 * gdb.threads/attach-many-short-lived-threads.exp: Same.
3893 * gdb.threads/thread-find.exp: Same.
3894 * gdb.threads/tls-shared.exp: Same.
3895 * gdb.threads/tls.exp: Same.
3896 * gdb.threads/wp-replication.exp: Same.
3897 * gdb.trace/ax.exp: Same.
3898 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
3899
3d11e68e
TV
39002019-10-31 Tom de Vries <tdevries@suse.de>
3901
3902 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
3903 * gdb.ada/array_subscript_addr.exp: Same.
3904 * gdb.ada/arrayidx.exp: Same.
3905 * gdb.ada/arrayparam.exp: Same.
3906 * gdb.ada/arrayptr.exp: Same.
3907 * gdb.ada/boolean_expr.exp: Same.
3908 * gdb.ada/call_pn.exp: Same.
3909 * gdb.ada/complete.exp: Same.
3910 * gdb.ada/fixed_cmp.exp: Same.
3911 * gdb.ada/fun_addr.exp: Same.
3912 * gdb.ada/funcall_param.exp: Same.
3913 * gdb.ada/interface.exp: Same.
3914 * gdb.ada/mod_from_name.exp: Same.
3915 * gdb.ada/null_array.exp: Same.
3916 * gdb.ada/packed_array.exp: Same.
3917 * gdb.ada/packed_tagged.exp: Same.
3918 * gdb.ada/print_chars.exp: Same.
3919 * gdb.ada/print_pc.exp: Same.
3920 * gdb.ada/ptype_arith_binop.exp: Same.
3921 * gdb.ada/ptype_field.exp: Same.
3922 * gdb.ada/ptype_tagged_param.exp: Same.
3923 * gdb.ada/rec_return.exp: Same.
3924 * gdb.ada/ref_tick_size.exp: Same.
3925 * gdb.ada/str_ref_cmp.exp: Same.
3926 * gdb.ada/taft_type.exp: Same.
3927 * gdb.ada/tagged.exp: Same.
3928 * gdb.ada/type_coercion.exp: Same.
3929 * gdb.ada/uninitialized_vars.exp: Same.
3930
60b6ede8
TV
39312019-10-30 Tom de Vries <tdevries@suse.de>
3932
3933 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
3934
30baf67b
TV
39352019-10-26 Tom de Vries <tdevries@suse.de>
3936
3937 * gdb.base/bigcore.c: Fix typos in comments.
3938 * gdb.base/ctf-ptype.c: Same.
3939 * gdb.base/long_long.c: Same.
3940 * gdb.dwarf2/dw2-op-out-param.S: Same.
3941 * gdb.python/py-evthreads.c: Same.
3942 * gdb.reverse/i387-stack-reverse.c: Same.
3943 * gdb.trace/tfile.c: Same.
3944 * lib/compiler.c: Same.
3945 * lib/compiler.cc: Same.
3946
158da0d1
TV
39472019-10-25 Tom de Vries <tdevries@suse.de>
3948
3949 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
3950 gdb_test_multiple calls.
3951 * gdb.reverse/sigall-reverse.exp: Same.
3952 * gdb.reverse/solib-precsave.exp: Same.
3953 * gdb.reverse/solib-reverse.exp: Same.
3954 * gdb.reverse/until-precsave.exp: Same.
3955 * gdb.reverse/until-reverse.exp: Same.
3956
4ccdfbec
TV
39572019-10-24 Tom de Vries <tdevries@suse.de>
3958
3959 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
3960 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
3961 kfail using -wrap pattern flag and convenience variable
3962 gdb_test_name.
3963
33d569b7
AB
39642019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
3965
3966 * gdb.python/py-progspace.exp: Add tests for the
3967 Progspace.block_for_pc method.
3968
4d0b984b
TT
39692019-10-23 Tom Tromey <tom@tromey.com>
3970
3971 * configure: Rebuild.
3972 * aclocal.m4: Use m4_include, not sinclude.
3973
94cb3754
TV
39742019-10-21 Tom de Vries <tdevries@suse.de>
3975
3976 * gdb.base/infcall-nested-structs.c: Add
3977 __attribute__((noinline,noclone)) to all functions.
3978 (call_all): Add missing variable initialization. Simplify return value.
3979 (breakpt): Increment volatile variable, to prevent call from being
3980 optimized out.
3981 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
3982
062f1fc1
TV
39832019-10-17 Tom de Vries <tdevries@suse.de>
3984
3985 * gdb.fortran/module.exp: Allow info variables to print info for files
3986 other than module.f90.
3987
0b54364d
AB
39882019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3989
3990 * gdb.fortran/module.exp: Extend with 'info variables' test.
3991
7ff5fae7
AB
39922019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3993
3994 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
3995 F77_FOR_TARGET.
3996
d10eccaa
TV
39972019-10-16 Tom de Vries <tdevries@suse.de>
3998
3999 PR tdep/25096
4000 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
4001
745ff14e
TV
40022019-10-16 Tom de Vries <tdevries@suse.de>
4003
4004 PR tdep/24104
4005 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
4006 Add KFAIL for PR tdep/25096.
4007
03e1ab94
TV
40082019-10-16 Tom de Vries <tdevries@suse.de>
4009
4010 PR testsuite/25059
4011 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
4012
b17fcc10
TV
40132019-10-16 Tom de Vries <tdevries@suse.de>
4014
4015 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
4016 as signed.
4017
9223170f
SM
40182019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
4019
4020 * gdb.mi/list-thread-groups-available.exp: Read entries one by
4021 one instead of increasing timeout.
4022
d6e76313
TV
40232019-10-13 Tom de Vries <tdevries@suse.de>
4024
4025 PR record/25038
4026 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
4027 * gdb.reverse/sigall-reverse.exp: Same.
4028 * gdb.reverse/solib-precsave.exp: Same.
4029 * gdb.reverse/solib-reverse.exp: Same.
4030 * gdb.reverse/step-precsave.exp: Same.
4031 * gdb.reverse/until-precsave.exp: Same.
4032 * gdb.reverse/until-reverse.exp: Same.
4033 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
4034
6dfc0041
AA
40352019-10-10 Andreas Arnez <arnez@linux.ibm.com>
4036
4037 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
4038 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
4039 (cmp_struct_05_01, cmp_struct_static_02_01)
4040 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
4041 comparisons.
4042
abcf2cc8
TV
40432019-10-10 Tom de Vries <tdevries@suse.de>
4044
4045 PR testsuite/24888
4046 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
4047 gnatlink.
4048
a50faaf6
TV
40492019-10-09 Tom de Vries <tdevries@suse.de>
4050
4051 PR testsuite/25048
4052 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
4053
60ff3cd7
AB
40542019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4055
4056 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
4057 exceptions due to missing debug information.
4058
dfee8566
TV
40592019-10-07 Tom de Vries <tdevries@suse.de>
4060
4061 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
4062
3d63690a
AB
40632019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4064
4065 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
4066 * gdb.base/annota1.exp: Update to use gdb_test_name.
4067
30d1f018
WP
40682019-10-07 Weimin Pan <weimin.pan@oracle.com>
4069
4070 * gdb.base/ctf-whatis.exp: New file.
4071 * gdb.base/ctf-whatis.c: New file.
4072 * gdb.base/ctf-ptype.exp: New file.
4073 * gdb.base/ctf-ptype.c: New file.
4074 * gdb.base/ctf-constvars.exp: New file.
4075 * gdb.base/ctf-constvars.c: New file.
4076 * gdb.base/ctf-cvexpr.exp: New file.
4077
4dbbb47c
TV
40782019-10-04 Tom de Vries <tdevries@suse.de>
4079
4080 * gdb.cp/local-static.c (main): Move declaration of int i out of the
4081 for loop.
4082
77c2dba3
TT
40832019-10-03 Tom Tromey <tom@tromey.com>
4084
4085 PR rust/24976:
4086 * gdb.rust/simple.rs (Union2): New type.
4087 (main): Use Union2.
4088 * gdb.rust/simple.exp: Add test.
4089
179aed7f
AB
40902019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4091
4092 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
4093 nested function prefix.
4094
0a4b0913
AB
40952019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
4096 Richard Bunt <richard.bunt@arm.com>
4097 Andrew Burgess <andrew.burgess@embecosm.com>
4098
4099 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
4100 nested functions.
4101 * gdb.fortran/nested-funcs.f90: Update expected results.
4102 * gdb.fortran/nested-funcs-2.exp: New file.
4103 * gdb.fortran/nested-funcs-2.f90: New file.
4104
082cce05
AB
41052019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4106
4107 * gdb.python/py-parameter.exp: Make test names unique.
4108 * gdb.python/py-template.exp: Likewise.
4109 * gdb.python/py-value.exp: Likewise.
4110
2b74ba5a
AB
41112019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4112
4113 * gdb.base/break-interp.exp: Reduce test name duplication.
4114 * gdb.base/call-sc.exp: Likewise.
4115 * gdb.base/callfuncs.exp: Likewise.
4116 * gdb.base/charset.exp: Likewise.
4117 * gdb.base/dump.exp: Likewise.
4118 * gdb.base/ena-dis-br.exp: Likewise.
4119 * gdb.base/relational.exp: Likewise.
4120 * gdb.base/step-over-syscall.exp: Likewise.
4121 * gdb.base/structs.exp: Likewise.
4122
58eb20d5
AB
41232019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4124
4125 * gdb.linespec/explicit.exp: Make test names unique.
4126 * gdb.linespec/ls-errs.exp: Likewise.
4127
4d421147
AB
41282019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4129
4130 * gdb.reverse/break-precsave.exp: Make test names unique.
4131 * gdb.reverse/break-reverse.exp: Likewise.
4132 * gdb.reverse/finish-precsave.exp: Likewise.
4133 * gdb.reverse/finish-reverse.exp: Likewise.
4134 * gdb.reverse/machinestate-precsave.exp: Likewise.
4135 * gdb.reverse/machinestate.exp: Likewise.
4136 * gdb.reverse/readv-reverse.exp: Likewise.
4137 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4138 * gdb.reverse/sigall-precsave.exp: Likewise.
4139 * gdb.reverse/sigall-reverse.exp: Likewise.
4140 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
4141 * gdb.reverse/watch-precsave.exp: Likewise.
4142 * gdb.reverse/watch-reverse.exp: Likewise.
4143
d8c06f22
AB
41442019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4145
4146 * gdb.threads/stop-with-handle.c: New file.
4147 * gdb.threads/stop-with-handle.exp: New file.
4148
3a56ed86
TV
41492019-10-03 Tom de Vries <tdevries@suse.de>
4150
4151 PR testsuite/25059
4152 * gdb.base/list-missing-source.exp: Allowing the "Compilation
4153 directory" line to be missing.
4154
42275044
TV
41552019-10-03 Tom de Vries <tdevries@suse.de>
4156
4157 PR testsuite/25059
4158 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
4159 type optional.
4160
9ef62df0
AA
41612019-10-02 Andreas Arnez <arnez@linux.ibm.com>
4162
4163 * gdb.python/py-format-string.c (string.h): New include.
4164 (main): Fill a_struct_with_union.the_union.an_int with bytes of
4165 the same value, for endianness-independence.
4166 * gdb.python/py-format-string.exp (default_regexp_dict)
4167 (test_pretty_structs, test_format): Adjust expected output to the
4168 changed initialization.
4169
37f6a7f4
TT
41702019-10-02 Tom Tromey <tromey@adacore.com>
4171
4172 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
4173
1d58d6a2
PA
41742019-10-02 Pedro Alves <palves@redhat.com>
4175 Andrew Burgess <andrew.burgess@embecosm.com>
4176
4177 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
4178 "print-file-var.h".
4179 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4180 (get_version_1): Print this_version_id and its address.
4181 Add extern "C" wrappers around interface functions.
4182 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
4183 "print-file-var.h".
4184 (this_version_id) Use ATTRIBUTE_VISIBILITY.
4185 (get_version_2): Print this_version_id and its address.
4186 Add extern "C" wrappers around interface functions.
4187 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
4188 <stddef.h> and "print-file-var.h".
4189 Add extern "C" wrappers around interface functions.
4190 [VERSION_ID_MAIN] (this_version_id): Define.
4191 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
4192 * gdb.base/print-file-var.h: Add some #defines to simplify setting
4193 up extern "C" blocks.
4194 * gdb.base/print-file-var.exp (test): New, factored out from top
4195 level.
4196 (top level): Test all combinations of attribute hidden or not,
4197 dlopen or not, and this_version_id symbol in main file or not.
4198 Compile tests as both C++ and C, make test names unique.
4199
d770d56f
TT
42002019-10-01 Tom Tromey <tom@tromey.com>
4201
4202 * gdb.base/style.exp: Test "show logging filename".
4203
7f6aba03
TT
42042019-10-01 Tom Tromey <tom@tromey.com>
4205
4206 * lib/gdb-utils.exp (style): Handle "metadata" argument.
4207 * gdb.base/style.exp: Add metadata style test.
4208
14309bb6
TT
42092019-10-01 Tom Tromey <tom@tromey.com>
4210
4211 * gdb.base/style.exp: Test "pwd".
4212
2a3c1174
PA
42132019-10-01 Tom Tromey <tom@tromey.com>
4214
4215 * gdb.base/style.exp: Update tests.
4216
53d666ec
AA
42172019-10-01 Andreas Arnez <arnez@linux.ibm.com>
4218
4219 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
4220 'six' to unsigned.
4221 (s1): Initialize fields 'four' and 'six' instead of 'three' and
4222 'five'. Use an all-ones bit pattern for each.
4223 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
4224 to its changed values.
4225
4a56a520
TT
42262019-09-30 Tom Tromey <tromey@adacore.com>
4227
4228 * gdb.rust/traits.rs: Disable all warnings.
4229
0df0352a
TV
42302019-09-29 Tom de Vries <tdevries@suse.de>
4231
aac66a4c 4232 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
0df0352a 4233
73d9a918
TV
42342019-09-29 Tom de Vries <tdevries@suse.de>
4235
4236 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
4237
060b3ab4
TV
42382019-09-27 Tom de Vries <tdevries@suse.de>
4239
4240 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
4241
68f7d34d
TV
42422019-09-27 Tom de Vries <tdevries@suse.de>
4243
4244 PR record/23188
4245 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
4246
5d63b30a
TT
42472019-09-26 Tom Tromey <tromey@adacore.com>
4248
4249 * gdb.ada/py_taft.exp: New file.
4250 * gdb.ada/py_taft/main.adb: New file.
4251 * gdb.ada/py_taft/pkg.adb: New file.
4252 * gdb.ada/py_taft/pkg.ads: New file.
4253
3d435220
TV
42542019-09-24 Tom de Vries <tdevries@suse.de>
4255
4256 PR gdb/24598
4257 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
4258
77d03678
TV
42592019-09-22 Tom de Vries <tdevries@suse.de>
4260
4261 * gdb.base/restore.exp: Allow register variables to be optimized out at
4262 -O0.
4263
abf516c6
UW
42642019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
4265
4266 * gdb.arch/spu-info.exp: Remove file.
4267 * gdb.arch/spu-info.c: Remove file.
4268 * gdb.arch/spu-ls.exp: Remove file.
4269 * gdb.arch/spu-ls.c: Remove file.
4270
4271 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
4272 * gdb.asm/spu.inc: Remove file.
4273
4274 * gdb.base/dump.exp: Remove support for spu*-*-*.
4275 * gdb.base/stack-checking.exp: Likewise.
4276 * gdb.base/overlays.exp: Likewise.
4277 * gdb.base/ovlymgr.c: Likewise.
4278 * gdb.base/spu.ld: Remove file.
4279
4280 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
4281 * gdb.cp/cpexprs.exp: Likewise.
4282 * gdb.cp/exception.exp: Likewise.
4283 * gdb.cp/gdb2495.exp: Likewise.
4284 * gdb.cp/mb-templates.exp: Likewise.
4285 * gdb.cp/pr9167.exp: Likewise.
4286 * gdb.cp/userdef.exp: Likewise.
4287
4288 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
4289
4290 * gdb.cell: Remove directory.
4291 * lib/cell.exp: Remove file.
4292
e452e88f
TV
42932019-09-19 Tom de Vries <tdevries@suse.de>
4294
4295 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
4296
8a625130
TV
42972019-09-19 Tom de Vries <tdevries@suse.de>
4298
4299 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
4300
81dc3ab5
TV
43012019-09-19 Tom de Vries <tdevries@suse.de>
4302
4303 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
4304 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
4305 (gdb_target_cmd): ... here.
4306 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
4307 value 2.
4308
b078f3ac
AB
43092019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
4310
4311 * gdb.base/source-dir.exp: Avoid having directory names in test
4312 names.
4313
f1b620e9
MG
43142019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4315
4316 * gdb.base/source-dir.exp: Add extra test for mapped compilation
4317 directory.
4318
67f3ed6a
AB
43192019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
4320
4321 * gdb.base/list-missing-source.exp: New file.
4322
d1b70248
TV
43232019-09-14 Tom de Vries <tdevries@suse.de>
4324
4325 PR teststuite/24599
4326 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
4327 * lib/ada.exp (gnatmake_version_at_least): New proc.
4328
5fabdcd6
AB
43292019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4330
4331 * gdb.base/maint.exp: Use exec_has_index_section.
4332
aa17805f
AB
43332019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
4334
4335 * gdb.base/maint.exp: Add test for 'maint info sections'.
4336
25e5c209
TV
43372019-09-12 Tom de Vries <tdevries@suse.de>
4338
4339 * gdb.base/store.exp: Allow register variables to be optimized out at
4340 -O0.
4341
4993045d
PW
43422019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4343
4344 * gdb.ada/rdv_wait.exp: Update to new task names.
4345 * gdb.base/task_switch_in_core.exp: Likewise.
4346 * gdb.base/info_sources_base.c: Likewise.
4347
8a516164
TT
43482019-09-10 Tom Tromey <tromey@adacore.com>
4349
4350 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
4351
aa391654
TT
43522019-09-10 Tom Tromey <tromey@adacore.com>
4353
4354 * gdb.ada/dgopt.exp: New file.
4355 * gdb.ada/dgopt/x.adb: New file.
4356
8634b462
TT
43572019-09-08 Tom Tromey <tom@tromey.com>
4358
4359 * gdb.tui/resize.exp: Remove setup_xfail.
4360 * gdb.tui/regs.exp: Remove setup_xfail.
4361 * gdb.tui/basic.exp: Remove setup_xfail.
4362
736b0f76
DB
43632019-09-06 David Blaikie <dblaikie@gmail.com>
4364
4365 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
4366 * gdb.cp/cplabel.exp: Ditto.
4367 * gdb.linespec/ls-errs.exp: Ditto.
4368
30331a6c
TV
43692019-09-05 Tom de Vries <tdevries@suse.de>
4370
4371 * lib/gdb.exp (cmp_file_string): New proc.
4372 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
4373 runto_main. Verify save breakpoints output.
4374
98b0ebab
PW
43752019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4376
4377 * gdb.base/info-var.exp: Test info variables without running
4378 to main, to avoid expect's buffer overflow.
4379
4e962e74
TT
43802019-09-03 Tom Tromey <tromey@adacore.com>
4381
4382 * gdb.ada/bias.exp: New file.
4383 * gdb.ada/bias/bias.adb: New file.
4384 * gdb.ada/print_chars.exp: Add regression test.
4385 * gdb.ada/print_chars/foo.adb (My_Character): New type.
4386 (MC): New variable.
4387
2ea1a07a
SL
43882019-08-29 Sandra Loosemore <sandra@codesourcery.com>
4389
4390 * gdb.base/argv0-symlink.exp: Run only on native target
4391 and local host.
4392
8077c50d
TV
43932019-08-29 Tom de Vries <tdevries@suse.de>
4394
4395 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
4396 diverse debug info.
4397 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
4398
48352473
TV
43992019-08-28 Tom de Vries <tdevries@suse.de>
4400
4401 * gdb.base/info-var.exp: Allow info variables to print info for files
4402 other than info-var-f1.c and info-var-f2.c.
4403
d8f27c60
AB
44042019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4405
4406 * gdb.fortran/info-types.exp: Add module.
4407 * gdb.fortran/info-types.f90: Update expected results.
4408
1f20c35e
AB
44092019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
4410
4411 * gdb.fortran/info-types.exp: New file.
4412 * gdb.fortran/info-types.f90: New file.
4413 * lib/fortran.exp (fortran_character1): New proc.
4414
4acfdd20
AB
44152019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
4416
4417 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
4418 functions'. Reindent as needed.
4419 * gdb.base/info-var-f1.c: New file.
4420 * gdb.base/info-var-f2.c: New file.
4421 * gdb.base/info-var.exp: New file.
4422 * gdb.base/info-var.h: New file.
4423
5c31b358
TV
44242019-08-26 Tom de Vries <tdevries@suse.de>
4425
4426 PR c++/24852
4427 * gdb.cp/no-libstdcxx-probe.exp: New test.
4428
b694989f
TV
44292019-08-26 Tom de Vries <tdevries@suse.de>
4430
4431 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
4432 * tests need to be skipped.
4433 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
4434 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
4435 mi_skip_libstdcxx_probe_tests.
4436
d9c4ba53
SDJ
44372019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
4438
4439 * gdb.python/py-xmethods.exp: Use raw strings when passing
4440 arguments to SimpleXMethodMatcher.
4441
395fad09
TV
44422019-08-22 Tom de Vries <tdevries@suse.de>
4443
4444 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
4445 more informative.
4446
26c957f1
PA
44472019-08-21 Pedro Alves <palves@redhat.com>
4448
4449 * gdb.base/with.exp: Test "with" with no arguments.
4450
61f80d5d
TV
44512019-08-21 Tom de Vries <tdevries@suse.de>
4452
4453 * gdb.base/gdb-caching-proc.exp: Sort files.
4454
d7a11d13
TV
44552019-08-20 Tom de Vries <tdevries@suse.de>
4456
4457 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
4458 compilation.
4459
34dafe9f
TV
44602019-08-16 Tom de Vries <tdevries@suse.de>
4461
4462 * gdb.base/compare-sections.exp ("after run to main"): Allow
4463 mismatched read-only sections for PIE executables.
4464
398fdd60
TT
44652019-08-16 Tom Tromey <tom@tromey.com>
4466
4467 * lib/tuiterm.exp (_csi_Z): New proc.
4468 * gdb.tui/basic.exp: Update window positions.
4469 * gdb.tui/empty.exp: Update window positions.
4470
d8f9e51c
SL
44712019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4472
4473 * gdb.base/examine-backward.exp: Correct regexp for
4474 "examine 3 bytes backward from ${address_zero}".
4475
3df505f6
TT
44762019-08-15 Tom Tromey <tom@tromey.com>
4477
4478 * gdb.tui/empty.exp: Enable resizing tests.
4479
272560b5
TT
44802019-08-15 Tom Tromey <tromey@adacore.com>
4481
4482 * gdb.ada/char_enum.exp: Add regression tests.
4483 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
4484 and '0'.
4485 (Char, Gchar): Update.
4486 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
4487
08235187
CB
44882019-08-15 Christian Biesinger <cbiesinger@google.com>
4489
4490 * gdb.python/python.exp: Expect a leading underscore on
4491 GdbOutput{,Error}File.
4492
22a2ab04
SL
44932019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4494
4495 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
4496 Windows host.
4497
835b995b
SL
44982019-08-15 Sandra Loosemore <sandra@codesourcery.com>
4499
4500 * gdb.base/batch-preserve-term-settings.exp
4501 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
4502
97dd8e07
CB
45032019-08-15 Christian Biesinger <cbiesinger@google.com>
4504
4505 * lib/gdb.exp: When running on a mingw target, replace
4506 /x/ with x:/.
4507
75faf5c4
AH
45082019-08-14 Alan Hayward <alan.hayward@arm.com>
4509
4510 * gdb.arch/aarch64-prologue.c: New test.
4511 * gdb.arch/aarch64-prologue.exp: New file.
4512
abc6c00f
TV
45132019-08-13 Tom de Vries <tdevries@suse.de>
4514
4515 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
4516 Thread.
4517
74c2c1f4
SL
45182019-08-13 Sandra Loosemore <sandra@codesourcery.com>
4519
4520 * gdb.python/py-completion.exp: Download the .py file to the host
4521 and use its host pathname. Conditionalize tests that use
4522 tab completion and manipulate files on the build machine.
4523 * gdb.python/py-events.exp: Download the .py file to the host
4524 and use its host pathname.
4525 * gdb.python/py-evsignal.exp: Likewise.
4526 * gdb.python/py-evthreads.exp: Likewise.
4527 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
4528 pathname syntax.
4529 * gdb.python/py-framefilter.exp: Download the .py file to the right
4530 place on the host. Match Windows pathname syntax.
4531 * gdb.python/py-mi-var-info-path-expression.exp: Download the
4532 .py file to the host and use its host pathname.
4533 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
4534 * gdb.python/py-objfile.exp: Expect a host pathname, not a
4535 build pathname. Skip symlink test on Windows host. Add missing
4536 newline at end of file.
4537 * gdb.python/py-pp-maint.exp: Download the .py file to the host
4538 and use its host pathname.
4539 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
4540 * gdb.python/py-section-script.exp: Use host location of binfile
4541 on safe-path. Use correct path separator on Windows host.
4542 Reorder alternatives in gdb_test_multiple to prevent matching
4543 the wrong alternative on success.
4544 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
4545
ca2589f3
PP
45462019-08-12 Patrick Palka <patrick@parcs.ath.cx>
4547
4548 * gdb.gdb/selftest.exp (test_with_self): Update test to now
4549 expect the GDB inferior to no longer immediately stop after
4550 being resumed with "signal SIGINT".
4551
020a839d
SL
45522019-08-09 Sandra Loosemore <sandra@codesourcery.com>
4553
4554 * gdb.linespec/break-ask.exp: Generalize regexps to match
4555 Windows pathnames too.
4556
128d6509
TV
45572019-08-08 Tom de Vries <tdevries@suse.de>
4558
4559 PR testsuite/24862
4560 * lib/tuiterm.exp (_accept): Fix CSI regexp.
4561
590042fc
PW
45622019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4563
4564 * gdb.base/style.exp: Update tests for help doc new invariants.
4565 * gdb.base/help.exp: Likewise.
4566
046bebe1
TT
45672019-08-06 Tom Tromey <tom@tromey.com>
4568
4569 * gdb.base/style.exp: Add disassemble test.
4570 * gdb.base/style.c (some_called_function): New function.
4571 (main): Use it.
4572
0b27c27d
CB
45732019-08-05 Christian Biesinger <cbiesinger@google.com>
4574
4575 * gdb.python/py-block.exp: Test dictionary access on blocks.
4576
580f1034
SM
45772019-08-05 Simon Marchi <simon.marchi@efficios.com>
4578
4579 PR gdb/24863
4580 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
4581 -list-thread-groups --available test when running under
4582 check-read1.
4583
d86bd7cb
TV
45842019-08-05 Tom de Vries <tdevries@suse.de>
4585
4586 PR testsuite/24863
4587 * lib/gdb.exp (with_read1_timeout_factor): New proc.
4588 * gdb.base/help.exp: Use with_read1_timeout_factor.
4589 * gdb.base/info-macros.exp: Same.
4590 * gdb.cp/nested-types.exp: Same.
4591
a80cf5d8
TV
45922019-08-05 Tom de Vries <tdevries@suse.de>
4593
4594 * lib/gdb.exp (version_at_least): Factor out of ...
4595 (tcl_version_at_least): ... here.
4596 (gdb_compile): Fail if pie results in non-PIE executable.
4597 (readelf_version, readelf_prints_pie): New proc.
4598 (exec_is_pie): Return -1 if unknown.
4599
d0962838
TV
46002019-08-05 Tom de Vries <tdevries@suse.de>
4601
4602 * lib/gdb.exp (tcl_version_at_least): Fix typo.
4603
2252ff3d
SL
46042019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4605
4606 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
4607
26655f53
SL
46082019-08-04 Sandra Loosemore <sandra@codesourcery.com>
4609
4610 * lib/completion-support.exp (test_gdb_complete_none): Skip
4611 tab completion tests if no readline support.
4612 (test_gdb_complete_unique_re): Likewise.
4613 (test_gdb_complete_multiple): Likewise.
4614
db4dc13e
PW
46152019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4616
4617 * gdb.base/info_sources.exp: New file.
4618 * gdb.base/info_sources.c: New file.
4619 * gdb.base/info_sources_base.c: New file.
4620
0eba165a
PFC
46212019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4622
4623 * gdb.base/batch-exit-status.exp: Call test_exit_status with
4624 prefix argument.
4625 (test_exit_status): Add prefix argument.
4626
59bd512b
TV
46272019-08-01 Tom de Vries <tdevries@suse.de>
4628
4629 PR testsuite/24863
4630 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
4631 calling exp_continue for new thread and thread exited messages.
4632
2a3ad588
TV
46332019-08-01 Tom de Vries <tdevries@suse.de>
4634
4635 PR testsuite/24863
4636 * gdb.base/structs.exp: Fix check-read1 timeout using
4637 gdb_test_sequence.
4638 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
4639
117eb594
TV
46402019-08-01 Tom de Vries <tdevries@suse.de>
4641
4642 PR testsuite/24863
4643 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
4644 line.
4645
ed591340
TV
46462019-08-01 Tom de Vries <tdevries@suse.de>
4647
4648 PR testsuite/24863
4649 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
4650
aa3b6533
TT
46512019-07-30 Tom Tromey <tromey@adacore.com>
4652
4653 * gdb.ada/display_nested.exp: New file.
4654 * gdb.ada/display_nested/foo.adb: New file.
4655 * gdb.ada/display_nested/pack.adb: New file.
4656 * gdb.ada/display_nested/pack.ads: New file.
4657
2906593f
CB
46582019-07-30 Christian Biesinger <cbiesinger@google.com>
4659
4660 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
4661 namespace.
4662 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
4663
0f575925
TV
46642019-07-30 Tom de Vries <tdevries@suse.de>
4665
4666 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
4667 instead.
4668
b13057d9
TV
46692019-07-30 Tom de Vries <tdevries@suse.de>
4670
4671 PR testsuite/24834
4672 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
4673 (exec_is_pie): New proc.
4674
5c4dde85
CB
46752019-07-29 Christian Biesinger <cbiesinger@google.com>
4676
4677 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
4678
c620ed88
CB
46792019-07-29 Christian Biesinger <cbiesinger@google.com>
4680
4681 * gdb.python/py-objfile.c: Add global and static vars.
4682 * gdb.python/py-objfile.exp: Test new functions Objfile.
4683 lookup_global_symbol and lookup_static_symbol.
4684
3d235706
TT
46852019-07-29 Tom Tromey <tom@tromey.com>
4686
4687 * lib/tuiterm.exp (Term::_csi_@): New proc.
4688 (Term::_csi_X): Don't move cursor.
4689
c7e4c0a6
PW
46902019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4691
4692 * gdb.base/options.exp: Update backtrace - completion to
4693 new option -frame-info.
4694 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
4695 Test new 'set print frame-info'. Test backtrace -frame-info
4696 overriding 'set print frame-info'.
4697 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
4698 Test new 'set print frame-info'.
4699 Verify consistency of backtrace with and without filters, with and
4700 without -no-filters.
4701 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
4702 default.
4703
de28a3b7
TV
47042019-07-29 Tom de Vries <tdevries@suse.de>
4705
4706 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
4707 no arguments".
4708
507dd60e
TV
47092019-07-29 Tom de Vries <tdevries@suse.de>
4710
4711 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
4712 is a substring of the first for "complete non-unique file name".
4713
5beafce9
TV
47142019-07-29 Tom de Vries <tdevries@suse.de>
4715
4716 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
4717 with ".*".
4718
2d274232
TV
47192019-07-29 Tom de Vries <tdevries@suse.de>
4720
4721 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
4722 Pass prompt_regexp parameter to gdb_test_multiple calls.
4723
9197cd8b
TV
47242019-07-29 Tom de Vries <tdevries@suse.de>
4725
4726 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
aac66a4c 4727 print registers" regexps.
9197cd8b 4728
b528dae0
TV
47292019-07-29 Tom de Vries <tdevries@suse.de>
4730
4731 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
4732
d17725d7
TV
47332019-07-29 Tom de Vries <tdevries@suse.de>
4734
4735 PR gdb/24855
4736 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
4737 (skip_python_tests_prompt): Add prompt_regexp argument to
4738 gdb_test_multiple calls.
4739
52b75bf1
TT
47402019-07-27 Tom Tromey <tom@tromey.com>
4741
4742 * gdb.tui/main.exp: New file.
4743
2b1d00c2
TT
47442019-07-27 Tom Tromey <tom@tromey.com>
4745
4746 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
4747 optional.
4748 * gdb.tui/empty.exp: New file.
4749
ded631d5
TT
47502019-07-27 Tom Tromey <tom@tromey.com>
4751
4752 * lib/tuiterm.exp (spawn): New proc.
4753 (Term::resize): New proc.
4754 * gdb.tui/resize.exp: New file.
4755
58ac439d
TT
47562019-07-27 Tom Tromey <tom@tromey.com>
4757
4758 * gdb.tui/list.exp: New file.
4759
fe1f56ee
TT
47602019-07-27 Tom Tromey <tom@tromey.com>
4761
4762 * gdb.tui/regs.exp: New file.
4763
f790b310
TT
47642019-07-27 Tom Tromey <tom@tromey.com>
4765
4766 * gdb.tui/basic.exp: Add "layout split" test.
4767
d95fc6ee
TT
47682019-07-27 Tom Tromey <tom@tromey.com>
4769
4770 * gdb.tui/basic.exp: Add "layout asm" test.
4771
c3786b3a
TT
47722019-07-27 Tom Tromey <tom@tromey.com>
4773
4774 * lib/tuiterm.exp: New file.
4775 * gdb.tui/basic.exp: New file.
4776
98a617f8
KB
47772019-07-27 Kevin Buettner <kevinb@redhat.com>
4778
4779 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
4780 Enable tests associated with this flag. Adjust regex
4781 referencing "foo_low" to now refer to "foo_cold" instead.
4782
5c076da4
KB
47832019-07-27 Kevin Buettner <kevinb@redhat.com>
4784
4785 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
4786 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
4787 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
4788 foo_cold. Revise comments to match.
4789 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
4790 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
4791 were wrapped into this proc; Call do_test in loop from outermost
4792 level.
4793 (foo_low): Rename all occurrences to "foo_cold".
4794 (backtrace from baz): New test.
4795 (x2/i foo_cold): New test.
4796 (info line *foo_cold): New test.
4797
1512d3b7
TV
47982019-07-26 Tom de Vries <tdevries@suse.de>
4799
4800 * gdb.arch/i386-pkru.exp: Fix unterminated string.
4801
297989a1
TV
48022019-07-25 Tom de Vries <tdevries@suse.de>
4803
4804 PR testsuite/24830
4805 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
4806 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
4807 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
4808 (skip_libstdcxx_probe_tests): ... here.
4809 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
4810
b3b965fb
TV
48112019-07-24 Tom de Vries <tdevries@suse.de>
4812
4813 PR testsuite/24807
4814 * gdb.objc/basicclass.m: Include stdio.h.
4815 * gdb.objc/nondebug.m: Same.
4816 * gdb.objc/objcdecode.m: Same.
4817
4625b4d0
TV
48182019-07-24 Tom de Vries <tdevries@suse.de>
4819
4820 PR testsuite/24612
4821 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
4822 additional_flags.
4823
024a5840
TV
48242019-07-24 Tom de Vries <tdevries@suse.de>
4825
4826 PR testsuite/24831
4827 * gdb.multi/tids.exp: Update error messages for info threads.
4828
c76ddaa3
TV
48292019-07-24 Tom de Vries <tdevries@suse.de>
4830
4831 * gdb.base/info-types.exp: Allow info types to print info for more than
4832 one file.
4833
9a618ef6
TV
48342019-07-23 Tom de Vries <tdevries@suse.de>
4835
4836 PR testsuite/24842
4837 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
4838 gdb_spawn_with_cmdline_opts.
4839
40eadf04
SP
48402019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
4841
4842 * gdb.arch/arm-cmse-sgstubs.c: New test.
4843 * gdb.arch/arm-cmse-sgstubs.exp: New file.
4844
5ba29434
TV
48452019-07-23 Tom de Vries <tdevries@suse.de>
4846
4847 PR testsuite/24711
4848 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
4849 issuing next command.
4850
a8e9d247
AB
48512019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4852
4853 * gdb.ada/info_auto_lang.exp: Update expected results.
4854 * gdb.base/info-types.c: Add additional types to check.
4855 * gdb.base/info-types.exp: Update expected results.
4856
eb86c5e2
AB
48572019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
4858
4859 * gdb.base/info-types.c: New file.
4860 * gdb.base/info-types.exp: New file.
4861
01e175fe
AB
48622019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
4863
4864 * gdb.arch/riscv-bp-infcall.c: New file.
4865 * gdb.arch/riscv-bp-infcall.exp: New file.
4866
6b78c3f8
AB
48672019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
4868
4869 PR breakpoints/24541
4870 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
4871
da738167
TV
48722019-07-14 Tom de Vries <tdevries@suse.de>
4873
4874 PR testsuite/24760
4875 * gdb.objc/basicclass.exp: Fix unterminated string.
4876
0d4e84ed
AB
48772019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
4878 Andrew Burgess <andrew.burgess@embecosm.com>
4879
4880 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
4881 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
4882 negative bounds.
4883 * gdb.fortran/vla-value.exp: Print elements of an array with
4884 negative bounds.
4885 * gdb.fortran/vla.f90: Setup an array with negative bounds for
4886 testing.
4887
021d8588
AB
48882019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
4889
4890 * gdb.base/options.exp (expect_string): Dequote strings in
4891 results.
4892 (test-string): Test strings with different quoting and reindent.
4893
f06f1252
TT
48942019-07-10 Tom Tromey <tromey@adacore.com>
4895
4896 * gdb.ada/mi_ex_cond.exp: Update expected results.
4897 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
4898 * gdb.ada/mi_catch_ex.exp: Update expected results.
4899 * gdb.ada/mi_catch_assert.exp: Update expected results.
4900 * gdb.ada/catch_ex.exp (catch_exception_info)
4901 (catch_exception_entry, catch_assert_entry)
4902 (catch_unhandled_entry): Update.
4903 * gdb.ada/catch_assert_if.exp: Update expected results.
4904
b863685d
RB
49052019-07-10 Richard Bunt <richard.bunt@arm.com>
4906 Stephen Roberts <stephen.roberts@arm.com>
4907
4908 * gdb.base/define.exp: Restore original prompt.
4909
cb1e4e32
PA
49102019-07-09 Pedro Alves <palves@redhat.com>
4911
4912 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
4913 breakpoints" output.
4914 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
4915 * gdb.python/py-breakpoint.exp: No longer expect that "catch
4916 throw" creates breakpoint.
4917 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
4918 'type="catchpoint"'.
4919
b58a68fe
PA
49202019-07-09 Pedro Alves <palves@redhat.com>
4921
4922 PR c++/15468
4923 * gdb.cp/except-multi-location-lib.cc: New.
4924 * gdb.cp/except-multi-location-main.cc: New.
4925 * gdb.cp/except-multi-location.exp: New.
4926
0826779b
PW
49272019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
4928
4929 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
4930 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
4931 argument and update callers.
4932
5b0e2db4
AB
49332019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4934
4935 * gdb.arch/amd64-break-on-asm-line.S: New file.
4936 * gdb.arch/amd64-break-on-asm-line.exp: New file.
4937
1f6f6e21
PW
49382019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4939
4940 * gdb.base/printcmds.exp: Test printing C string and
4941 C wide string convenience vars without transiting via the inferior.
4942 Also make test names unique.
4943
ea142fbf
AH
49442019-07-08 Alan Hayward <alan.hayward@arm.com>
4945
5862c886 4946 PR breakpoints/25011
ea142fbf
AH
4947 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
4948
213fd9fa
PA
49492019-07-04 Pedro Alves <palves@redhat.com>
4950
4951 * lib/gdb.exp (foreach_with_prefix): Don't return early if
4952 body returned ok(0), break(3) or continue(4).
4953 * gdb.testsuite/foreach_with_prefix.exp: New file.
4954
2b40fda7
AH
49552019-07-04 Alan Hayward <alan.hayward@arm.com>
4956
4957 * gdb.server/unittest.exp: Allow 0 unit tests to run.
4958
a26c8de0
PA
49592019-07-03 Pedro Alves <palves@redhat.com>
4960
4961 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
4962 "return -code".
4963
5f4ba3e7
PA
49642019-07-03 Pedro Alves <palves@redhat.com>
4965
4966 PR cli/24732
4967 * gdb.base/shell.exp: Load completion-support.exp.
4968 Adjust expected error output. Add completion tests.
4969
a994424f
PA
49702019-07-03 Pedro Alves <palves@redhat.com>
4971
4972 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
4973 string_to_regexp.
4974
3d9be6f5
PA
49752019-07-03 Pedro Alves <palves@redhat.com>
4976
4977 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
4978 (expect_integer): Adjust to expect "-string".
4979 (expect_string): New.
4980 (all_options): Expect "-string".
4981 (test-flag, test-boolean): Adjust to expect "-string".
4982 (test-string): New proc.
4983 (top level): Call it.
4984
41fc454c
PA
49852019-07-03 Pedro Alves <palves@redhat.com>
4986
4987 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
4988 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
4989 the expected output in the success.
4990
b2b2a215
PA
49912019-07-03 Pedro Alves <palves@redhat.com>
4992
4993 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4994 Split one gdb_test_multiple call in two to avoid a race.
4995
fdbc9870
PA
49962019-07-03 Pedro Alves <palves@redhat.com>
4997
4998 * gdb.base/with.c: New file.
4999 * gdb.base/with.exp: New file.
5000
c6ac8931
PA
50012019-07-03 Pedro Alves <palves@redhat.com>
5002
5003 * gdb.base/settings.exp: Replace all references to "maint
5004 test-settings set" with references to "maint set test-settings",
5005 and all references to "maint test-settings show" with references
5006 to "maint show test-settings".
5007
970f9d09
PA
50082019-07-03 Pedro Alves <palves@redhat.com>
5009
5010 * gdb.base/settings.exp (test-string): Adjust expected out when
5011 testing "maint test-settings show filename"
5012
54d66006
PA
50132019-07-02 Pedro Alves <palves@redhat.com>
5014
5015 * gdb.base/options.exp (test-info-threads): New procedure.
5016 (top level): Call it.
5017
10d06d82
TT
50182019-06-28 Tom Tromey <tromey@adacore.com>
5019
5020 * gdb.dwarf2/ada-linkage-name.c: New file.
5021 * gdb.dwarf2/ada-linkage-name.exp: New file.
5022
3d507ff2
TT
50232019-06-27 Tom Tromey <tromey@adacore.com>
5024
d039f014 5025 PR c++/20020:
3d507ff2
TT
5026 * gdb.cp/constexpr-field.exp: Use setup_xfail.
5027
8af58ffe
TV
50282019-06-26 Tom de Vries <tdevries@suse.de>
5029
5030 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
5031
22e21752
TV
50322019-06-26 Tom de Vries <tdevries@suse.de>
5033
5034 * gdb.base/index-cache.exp: Add back missing debug option.
5035
b65b566c
PW
50362019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5037
5038 * gdb.base/alias.exp: Test non matching/non existing prefixes.
5039
5c2c8c69
TV
50402019-06-25 Tom de Vries <tdevries@suse.de>
5041
5042 PR testsuite/24727
5043 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
5044
164e3873
TV
50452019-06-24 Tom de Vries <tdevries@suse.de>
5046
5047 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
5048
824eacee
TV
50492019-06-24 Tom de Vries <tdevries@suse.de>
5050
5051 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
5052 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
5053 * gdb.trace/unavailable-dwarf-piece.exp: Same.
5054
385b97d3
TV
50552019-06-24 Tom de Vries <tdevries@suse.de>
5056
5057 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
5058
c596f180
TV
50592019-06-21 Tom de Vries <tdevries@suse.de>
5060
5061 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
5062
b13a7d03
TV
50632019-06-21 Tom de Vries <tdevries@suse.de>
5064
5065 PR testsuite/24518
5066 PR ada/24713
5067 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
5068 index.
5069
899277ae
TT
50702019-06-19 Tom Tromey <tromey@adacore.com>
5071
5072 * gdb.ada/length_cond.exp: Add intro comment.
5073
680e1bee
TT
50742019-06-19 Tom Tromey <tromey@adacore.com>
5075
5076 * gdb.ada/length_cond.exp: New file.
5077 * gdb.ada/length_cond/length_cond.adb: New file.
5078 * gdb.ada/length_cond/pck.adb: New file.
5079 * gdb.ada/length_cond/pck.ads: New file.
5080
0ed4690a
TV
50812019-06-18 Tom de Vries <tdevries@suse.de>
5082
5083 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
5084
d20ed5fd
TT
50852019-06-18 Tom Tromey <tromey@adacore.com>
5086
5087 * gdb.base/list0.h: Add comment explaining control character.
5088
86e04673
TV
50892019-06-18 Tom de Vries <tdevries@suse.de>
5090
5091 * boards/fission.exp: Break up long debug_flags line.
5092
c4973306
SM
50932019-06-16 Tom de Vries <tdevries@suse.de>
5094
5095 PR gdb/24445
5096 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
5097 generated index.
5098
93cb9841
AB
50992019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5100
5101 PR gdb/24686
5102 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
5103 improve detection of bug gdb/24541.
5104
399aaebd
SM
51052019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
5106
5107 PR gdb/24669
5108 * gdb.base/index-cache.exp (uses_readnow,
5109 expecting_index_cache_use): Define global variable.
5110 (test_cache_enabled_miss, test_cache_enabled_hit): Use
5111 expecting_index_cache_use.
5112
584a927c
AB
51132019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
5114 Andrew Burgess <andrew.burgess@embecosm.com>
5115
5116 * gdb.fortran/pointers.f90: New file.
5117 * gdb.fortran/print_type.exp: New file.
5118 * gdb.fortran/vla-ptype.exp: Adapt expected results.
5119 * gdb.fortran/vla-type.exp: Likewise.
5120 * gdb.fortran/vla-value.exp: Likewise.
5121 * gdb.mi/mi-vla-fortran.exp: Likewise.
5122
30056ea0
AB
51232019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5124
5125 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
5126 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
5127 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
5128 as a stop reason.
5129
ec8e2b6d
AB
51302019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5131
5132 * gdb.base/annota1.exp: Update expected results.
5133 * gdb.cp/annota2.exp: Likewise.
5134 * gdb.cp/annota3.exp: Likewise.
5135
09e4c4e1
AB
51362019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
5137
5138 * gdb.base/style-logging.exp: Remove path from test name.
5139
0735b091
TT
51402019-06-14 Tom Tromey <tromey@adacore.com>
5141
5142 PR gdb/24502:
5143 * gdb.base/style-logging.exp: New file.
5144
f5686554
TT
51452019-06-14 Tom Tromey <tromey@adacore.com>
5146
5147 * gdb.base/symfile-warn.exp: New file.
5148 * gdb.base/symfile-warn.c: New file.
5149
a0c1ffed
TT
51502019-06-14 Tom Tromey <tromey@adacore.com>
5151
5152 * gdb.base/annotate-symlink.exp: New file.
5153
f411722c
TT
51542019-06-14 Tom Tromey <tromey@adacore.com>
5155
5156 * gdb.ada/set_wstr.exp: Add reassignment test.
5157
4268ec18
TT
51582019-06-14 Tom Tromey <tromey@adacore.com>
5159
5160 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
5161 'unchecked_access and 'unrestricted_access as well.
5162
9a9e394b
TT
51632019-06-14 Tom Tromey <tromey@adacore.com>
5164
5165 PR ada/24539:
5166 * gdb.ada/vla.exp: Update tests.
5167 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
5168 pragma.
5169
4c048731
PA
51702019-06-13 Pedro Alves <palves@redhat.com>
5171
5172 * gdb.base/settings.exp (test-integer): Test junk after
5173 "unlimited".
5174
6665660a
PA
51752019-06-13 Pedro Alves <palves@redhat.com>
5176
5177 * gdb.base/options.exp (test-thread-apply): New.
5178 (top level): Call it.
5179
5d707134
PA
51802019-06-13 Pedro Alves <palves@redhat.com>
5181
5182 * gdb.base/options.exp (test-frame-apply): New.
5183 (top level): Test print commands with different "frame apply"
5184 prefixes.
5185
e2a689da
PA
51862019-06-13 Pedro Alves <palves@redhat.com>
5187
e79be6e5 5188 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
e2a689da
PA
5189 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
5190 'max_completions' parameter and handle it.
5191 (test_gdb_completion_offers_commands): New.
5192
90a1ef87
PA
51932019-06-13 Pedro Alves <palves@redhat.com>
5194
5195 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
5196
d4c16835
PA
51972019-06-13 Pedro Alves <palves@redhat.com>
5198
5199 * gdb.base/options.exp (test-backtrace): New.
5200 (top level): Call it.
5201
2daf894e
PA
52022019-06-13 Pedro Alves <palves@redhat.com>
5203
5204 * gdb.guile/scm-frame-args.exp: Use "set print
5205 raw-frame-arguments" instead of "set print raw frame-arguments".
5206 * gdb.python/py-frame-args.exp: Likewise.
5207
e6ed716c
PA
52082019-06-13 Pedro Alves <palves@redhat.com>
5209
5210 * gdb.compile/compile.exp: Adjust expected output to option
5211 processing changes.
5212
7d8062de
PA
52132019-06-13 Pedro Alves <palves@redhat.com>
5214
5215 * gdb.base/options.exp: Build executable.
5216 (test-print): New procedure.
5217 (top level): Call it, once for "print" and another for "compile
5218 print".
5219
9d0faba9
PA
52202019-06-13 Pedro Alves <palves@redhat.com>
5221
5222 * gdb.base/options.c: New file.
5223 * gdb.base/options.exp: New file.
5224
dee7b4c8
PA
52252019-06-13 Pedro Alves <palves@redhat.com>
5226
5227 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
5228 that "o" is ambiguous.
5229
dca0f6c0
PA
52302019-06-13 Pedro Alves <palves@redhat.com>
5231
5232 * gdb.base/settings.c: New file.
5233 * gdb.base/settings.exp: New file.
5234
ccf46844
PA
52352019-06-13 Pedro Alves <palves@redhat.com>
5236
5237 * gdb.base/completion.exp: Fix comment typo.
5238
b9a3f842
PA
52392019-06-13 Pedro Alves <palves@redhat.com>
5240
5241 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
5242 foo --1" test.
5243
d106773e
PA
52442019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
5245
5246 * gdb.fortran/block-data.f: New.
5247 * gdb.fortran/block-data.exp: New.
5248
fea82da0
TV
52492019-06-11 Tom de Vries <tdevries@suse.de>
5250
5251 PR testsuite/24521
5252 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
5253 message.
5254
8c2e74f1
TV
52552019-06-11 Tom de Vries <tdevries@suse.de>
5256
5257 PR testsuite/24521
5258 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
5259
b49851c8
TV
52602019-06-11 Tom de Vries <tdevries@suse.de>
5261
5262 * boards/readnow.exp: New file.
5263
a7067863
AB
52642019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
5265
5266 * gdb.fortran/vla-sizeof.exp: Update expected results.
5267
1a3da2cd
AB
52682019-06-06 Amos Bird <amosbird@gmail.com>
5269
5270 * gdb.base/annota1.exp (thread_switch): Add test for
5271 thread-exited annotation.
5272
3847a7bf
TT
52732019-06-06 Tom Tromey <tromey@adacore.com>
5274
5275 * gdb.base/maint.exp: Expect command started/finished output.
5276
0088ba59
AB
52772019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5278
5279 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
5280 comment.
5281 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
5282
312617a3
AB
52832019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
5284
5285 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
5286 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
5287 * gdb.arch/riscv-unwind-long-insn.c: New file.
5288 * gdb.arch/riscv-unwind-long-insn.exp: New file.
5289
e1f2e1a2
CB
52902019-06-04 Christian Biesinger <cbiesinger@google.com>
5291
d3238f7d 5292 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
e1f2e1a2 5293
206584bd
PW
52942019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5295
5296 * lib/gdb.exp (help_list_trailer): New regexp variable
5297 factorizing the help trailer message.
5298 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
5299 arg to allow to better factorize various tests.
5300 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
5301 (test_prefix_command_help): Use help_list_trailer.
5302 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
5303 * gdb.guile/scm-cmd.exp: Likewise.
5304 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
5305 * gdb.base/help.exp: Use test_user_defined_class_help.
5306 * gdb.base/style.exp: Add tests for styling of help and apropos.
5307 * lib/gdb-utils.exp (style): Add title and highlight styles.
5308
708dc93e
PW
53092019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5310
5311 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
5312 $_shell_exitsignal.
5313 * gdb.base/default.exp: Update for new convenience variables.
5314
f49055a5
TT
53152019-05-29 Tom Tromey <tromey@adacore.com>
5316
5317 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
5318 to "break complete ada" test case's regexp.
5319
4330d61d
TT
53202019-05-29 Tom Tromey <tromey@adacore.com>
5321
5322 PR c++/20020:
5323 * gdb.cp/constexpr-field.exp: New file.
5324 * gdb.cp/constexpr-field.cc: New file.
5325
000439d5
TT
53262019-05-29 Tom Tromey <tromey@adacore.com>
5327
5328 * gdb.base/finish.exp (finish_no_print): New proc.
5329 (finish_tests): Call it.
5330
5a01c34c
TV
53312019-05-24 Tom de Vries <tdevries@suse.de>
5332
5333 * gdb.dwarf2/gdb-add-index.exp: New file.
5334
18125b16
TT
53352019-05-22 Tom Tromey <tromey@adacore.com>
5336
5337 * gdb.base/info-shared.exp (check_info_shared): Use "style".
5338 * gdb.base/style.exp: Use "style".
5339 * lib/gdb-utils.exp (style): New proc.
5340
af1a8d03
TV
53412019-05-22 Tom de Vries <tdevries@suse.de>
5342
5343 * gdb.base/align.exp: Require c++11.
5344
e7fe496b
TV
53452019-05-22 Tom de Vries <tdevries@suse.de>
5346
5347 PR testsuite/24586
5348 * gdb.python/py-mi-var-info-path-expression.exp: Call
5349 mi_skip_python_tests to check if python is supported.
5350
8fca4da0
AH
53512019-05-22 Alan Hayward <alan.hayward@arm.com>
5352
5353 * gdb.arch/aarch64-pauth.c: New test.
5354 * gdb.arch/aarch64-pauth.exp: New file.
5355
b7060614
AH
53562019-05-22 Alan Hayward <alan.hayward@arm.com>
5357
5358 * README (Re-running Tests Outside The Testsuite): New section.
5359
669d0468
TV
53602019-05-21 Tom de Vries <tdevries@suse.de>
5361
5362 * gdb.arch/amd64-eval.exp: Require c++11.
5363 * gdb.base/max-depth.exp: Same.
5364 * gdb.compile/compile-cplus-array-decay.exp: Same.
5365 * gdb.cp/meth-typedefs.exp: Same.
5366 * gdb.cp/subtypes.exp: Same.
5367 * gdb.cp/temargs.exp: Same.
5368
ce3ebcaa
AH
53692019-05-21 Alan Hayward <alan.hayward@arm.com>
5370
5371 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
5372
34d11c68
AB
53732019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
5374
5375 PR gdb/18644
5376 * gdb.fortran/complex.exp: Remove setup_kfail calls.
5377 * gdb.fortran/printing-types.exp: Add new test.
5378 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
5379 testing.
5380 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
5381 setup_kfail call.
5382
87781e84
AH
53832019-05-17 Alan Hayward <alan.hayward@arm.com>
5384
5385 * README (Running the Testsuite): Change example.
5386 (Testsuite Parameters): Remove TRANSCRIPT.
5387 * lib/gdb.exp: Remove TRANSCRIPT check.
5388
b420b89e
AH
53892019-05-17 Alan Hayward <alan.hayward@arm.com>
5390
5391 * README (Testsuite Parameters): Add replay logging to
5392 GDBSERVER_DEBUG.
5393 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
5394 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
5395 as a comma separated list.
5396 (gdb_debug_init): Override procedure.
5397
408e9b8b
AH
53982019-05-17 Alan Hayward <alan.hayward@arm.com>
5399
5400 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
5401 (gdb_write_cmd_file): New procedure.
5402 * lib/gdbserver-support.exp (gdbserver_start): Call
5403 gdbserver_write_cmd_file.
5404 (gdbserver_write_cmd_file): New procedure.
5405
f9e2e39d
AH
54062019-05-17 Alan Hayward <alan.hayward@arm.com>
5407
5408 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
5409 (delete_breakpoints): Likewise.
5410 (gdb_run_cmd): Likewise.
5411 (gdb_start_cmd): Likewise.
5412 (gdb_starti_cmd): Likewise.
5413 (gdb_internal_error_resync): Likewise.
5414 (gdb_test_multiple): Likewise.
5415 (gdb_reinitialize_dir): Likewise.
5416 (default_gdb_exit): Likewise.
5417 (gdb_file_cmd): Mark kill as optional.
5418 (default_gdb_start): Call gdb_stdin_log_init.
5419 (send_gdb): Call gdb_stdin_log_write.
5420 (rerun_to_main): Mark Y as an answer.
5421 (gdb_stdin_log_init): New function.
5422 (gdb_stdin_log_write): Likewise.
5423
81f47ac2
AH
54242019-05-17 Alan Hayward <alan.hayward@arm.com>
5425
5426 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
5427 * gdb.base/debug-expr.exp: Likewise.
5428 * gdb.base/foll-fork.exp: Likewise.
5429 * gdb.base/foll-vfork.exp: Likewise.
5430 * gdb.base/fork-print-inferior-events.exp: Likewise.
5431 * gdb.base/gdb-sigterm.exp: Likewise.
5432 * gdb.base/gdbinit-history.exp: Likewise.
5433 * gdb.base/osabi.exp: Likewise.
5434 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5435 * gdb.base/ui-redirect.exp: Likewise.
5436 * gdb.gdb/unittest.exp: Likewise.
5437 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
5438 * gdb.mi/mi-watch.exp: Likewise.
5439 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5440 * gdb.mi/user-selected-context-sync.exp: Likewise.
5441 * gdb.python/python.exp: Disable debug test when debugging.
5442 * gdb.threads/check-libthread-db.exp: Disable when debugging.
5443 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
5444 Likewise.
5445 * gdb.threads/stepi-random-signal.exp: Likewise.
5446
29b52314
AH
54472019-05-17 Alan Hayward <alan.hayward@arm.com>
5448
5449 * Makefile.in: Pass through GDB_DEBUG.
5450 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5451 (gdb,debug): Add board setting.
5452 * lib/gdb.exp (default_gdb_start): Start debugging.
5453 (gdb_debug_enabled): New procedure.
5454 (gdb_debug_init): Likewise.
29b52314
AH
5455
54562019-05-17 Alan Hayward <alan.hayward@arm.com>
e79be6e5 5457
29b52314
AH
5458 * Makefile.in: Pass through GDB_DEBUG.
5459 * README (Testsuite Parameters): Add GDB_DEBUG.
81f47ac2
AH
5460 (gdb,debug): Add board setting.
5461 * lib/gdb.exp (default_gdb_start): Start debugging.
5462 (gdb_debug_enabled): New procedure.
5463 (gdb_debug_init): Likewise.
29b52314 5464
ca1285d1
AH
54652019-05-17 Alan Hayward <alan.hayward@arm.com>
5466
5467 * gdb.base/ui-redirect.exp: Add debug redirect tests.
5468
f3a09c80
AH
54692019-05-17 Alan Hayward <alan.hayward@arm.com>
5470
5471 * gdb.base/ui-redirect.exp: Test redirection.
5472
26648588
JV
54732019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
5474
5475 * gdb.mi/mi-complete.exp: New file.
5476 * gdb.mi/mi-complete.cc: Likewise.
5477
14237686
AB
54782019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
5479
5480 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
5481 indexed and sliced arrays, and pointers to arrays.
5482
e7bd7fba
TT
54832019-05-14 Tom Tromey <tromey@adacore.com>
5484
5485 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
5486 styling test.
5487
2764128d
TV
54882019-05-14 Tom de Vries <tdevries@suse.de>
5489
5490 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
5491 selection entry encoding.
5492
71bed2db
TT
54932019-05-10 Tom Tromey <tromey@adacore.com>
5494
5495 * gdb.ada/info_exc.exp: Add "complete" test.
5496
63b667ad
TV
54972019-05-09 Tom de Vries <tdevries@suse.de>
5498
5499 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
5500 CU-relative.
5501
9cfd2b89
TV
55022019-05-09 Tom de Vries <tdevries@suse.de>
5503
5504 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
5505 CU-relative.
5506
2228ef77
XR
55072019-05-08 Joel Brobecker <brobecker@adacore.com>
5508
5509 * gdb.ada/frame_arg_lang.exp: New testcase.
5510 * gdb.ada/frame_arg_lang/bla.adb: New file.
5511 * gdb.ada/frame_arg_lang/pck.ads: New file.
5512 * gdb.ada/frame_arg_lang/pck.adb: New file.
5513 * gdb.ada/frame_arg_lang/foo.c: New file.
5514
80e55b13
TT
55152019-05-08 Tom Tromey <tromey@adacore.com>
5516
5517 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
5518
9d3421af
TT
55192019-05-08 Tom Tromey <tromey@adacore.com>
5520
5521 * gdb.base/ptype-offsets.exp: Update tests.
5522
844333e2
TT
55232019-05-08 Tom Tromey <tromey@adacore.com>
5524
5525 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
5526 cases.
5527 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
5528 "short".
5529
988915ee
TT
55302019-05-08 Tom Tromey <tromey@adacore.com>
5531
5532 * gdb.ada/vla.exp: New file.
5533 * gdb.ada/vla/vla.adb: New file.
5534
7bd55dac
TV
55352019-05-07 Tom de Vries <tdevries@suse.de>
5536
5537 * gdb.base/index-cache.exp (ls_host): Fix return statement.
5538
75f06e9d
TV
55392019-05-07 Tom de Vries <tdevries@suse.de>
5540
5541 PR testsuite/24522
5542 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
5543 section.
5544
77e7aaa4
TV
55452019-05-07 Tom de Vries <tdevries@suse.de>
5546
5547 PR testsuite/24522
5548 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
5549 .debug_aranges section.
5550
456ba0fa
TV
55512019-05-07 Tom de Vries <tdevries@suse.de>
5552
5553 PR testsuite/24159
5554 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
5555
5a56d6a6
TV
55562019-05-06 Tom de Vries <tdevries@suse.de>
5557
5558 * lib/gdb.exp (exec_has_index_section): New proc.
5559 * gdb.base/index-cache.exp: Handle case that binfile contains an index
5560 section.
5561
9d6d4be8
TV
55622019-05-04 Tom de Vries <tdevries@suse.de>
5563
5564 * boards/cc-with-debug-names.exp: New file.
5565
222a8d25
TT
55662019-05-03 Tom Tromey <tromey@adacore.com>
5567
5568 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
5569 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
5570 * gdb.ada/char_enum.exp: Add test.
5571
0fdfd794
TV
55722019-05-03 Tom de Vries <tdevries@suse.de>
5573
5574 * boards/cc-with-gdb-index.exp: New file.
5575
80062eb9
AB
55762019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
5577
5578 * gdb.rust/simple.exp: Add new test case.
5579 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
5580 (main): Initialise an instance of the new struct.
5581
4504bbde
TT
55822019-05-01 Tom Tromey <tromey@adacore.com>
5583
5584 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
5585 record.
5586 (NPR): New variable.
5587 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
5588 test.
5589
d48e62f4
TT
55902019-05-01 Tom Tromey <tromey@adacore.com>
5591
5592 * gdb.ada/packed_array_assign.exp: Add packed assignment
5593 regression test.
5594
f59f30f5
TV
55952019-05-01 Tom de Vries <tdevries@suse.de>
5596
5597 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
5598
b70bfc54
TV
55992019-05-01 Tom de Vries <tdevries@suse.de>
5600
5601 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
5602
15f18d14
AT
56032019-04-30 Ali Tamur <tamur@google.com>
5604
5605 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
5606
2ff0a947
TT
56072019-04-30 Tom Tromey <tromey@adacore.com>
5608
5609 * lib/ada.exp (find_ada_tool): New proc.
5610 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
5611 * gdb.ada/catch_ex_std.exp: New file.
5612 * gdb.ada/catch_ex_std/foo.adb: New file.
5613 * gdb.ada/catch_ex_std/some_package.adb: New file.
5614 * gdb.ada/catch_ex_std/some_package.ads: New file.
5615
a776957c
TT
56162019-04-30 Tom Tromey <tromey@adacore.com>
5617
5618 PR c++/24470:
5619 * gdb.cp/temargs.cc: Add test code from PR.
5620
bc68014d
AB
56212019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5622
5623 * gdb.fortran/vla-datatypes.exp: Update expected results.
5624 * gdb.fortran/vla-ptype.exp: Likewise.
5625 * gdb.fortran/vla-type.exp: Likewise.
5626 * gdb.fortran/vla-value.exp: Likewise.
5627
f1fdc960
AB
56282019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5629
5630 * gdb.fortran/ptr-indentation.exp: Update expected results.
5631 * gdb.fortran/ptype-on-functions.exp: Likewise.
5632 * gdb.fortran/vla-ptr-info.exp: Likewise.
5633 * gdb.fortran/vla-value.exp: Likewise.
5634
bf7a4de1
AB
56352019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5636
5637 * gdb.fortran/ptype-on-functions.exp: New file.
5638 * gdb.fortran/ptype-on-functions.f90: New file.
5639
bbe75b9d
AB
56402019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5641
5642 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
5643 case void string.
5644
1db455a7
AB
56452019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5646
5647 * gdb.fortran/complex.exp: Expand.
5648 * gdb.fortran/complex.f: Renamed to...
5649 * gdb.fortran/complex.f90: ...this, and extended to add more
5650 complex values.
5651
b6d03bb2
AB
56522019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
5653
5654 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
5655 MODULO, CMPLX.
5656
2e62ab40
AB
56572019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
5658 Richard Bunt <richard.bunt@arm.com>
5659
5660 * gdb.base/max-depth.c: New file.
5661 * gdb.base/max-depth.exp: New file.
5662 * gdb.python/py-nested-maps.c: New file.
5663 * gdb.python/py-nested-maps.exp: New file.
5664 * gdb.python/py-nested-maps.py: New file.
5665 * gdb.python/py-format-string.exp (test_max_depth): New proc.
5666 (test_all_common): Call test_max_depth.
5667 * gdb.fortran/max-depth.exp: New file.
5668 * gdb.fortran/max-depth.f90: New file.
5669 * gdb.go/max-depth.exp: New file.
5670 * gdb.go/max-depth.go: New file.
5671 * gdb.modula2/max-depth.exp: New file.
5672 * gdb.modula2/max-depth.c: New file.
5673 * lib/gdb.exp (get_print_expr_at_depths): New proc.
5674
d2b584a5
TV
56752019-04-29 Tom de Vries <tdevries@suse.de>
5676
5677 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
5678
136afab8
PW
56792019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5680
5681 * gdb.base/callexit.exp: Test may-call-functions off.
5682
725cbb63
KS
56832019-04-25 Keith Seitz <keiths@redhat.com>
5684
5685 PR c++/24367
5686 * gdb.cp/meth-typedefs.cc (incomplete_struct)
5687 (another_incomplete_struct, test_incomplete): New definitions.
5688 (main): Use new definitions.
5689 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
5690 functions.
5691
701adfb0
PA
56922019-04-25 Ali Tamur <tamur@google.com>
5693
5694 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
5695
82433e3e
SDJ
56962019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
5697
5698 PR corefiles/11608
5699 PR corefiles/18187
5700 * gdb.base/coredump-filter-build-id.exp: New file.
5701
dd06d4d6
AH
57022019-04-25 Alan Hayward <alan.hayward@arm.com>
5703
e79be6e5
SM
5704 * Makefile.in: Pass through GDBSERVER_DEBUG.
5705 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
5706 (gdbserver,debug): Add board setting.
5707 * gdb.trace/tspeed.exp: Skip when debugging.
5708 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
5709 * lib/gdbserver-support.exp: Likewise
dd06d4d6 5710
1670072e
TT
57112019-04-24 Tom Tromey <tromey@adacore.com>
5712
5713 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
5714 Rust.
5715
a59240a4
TT
57162019-04-24 Tom Tromey <tromey@adacore.com>
5717
5718 * gdb.arch/amd64-eval.exp: Test bitfield return.
5719 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
5720 (class Foo) <return_bitfields>: New method.
5721 (main): Call it.
5722
b907456c
AB
57232019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
5724
5725 * gdb.cp/many-args.cc: New file.
5726 * gdb.cp/many-args.exp: New file.
5727
5c565afd
TV
57282019-04-23 Tom de Vries <tdevries@suse.de>
5729
5730 PR gdb/24433
5731 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
5732
ba22ff86
AH
57332019-04-23 Alan Hayward <alan.hayward@arm.com>
5734
5735 * gdb.trace/backtrace.exp: Use nopie flag.
5736 * gdb.trace/circ.exp: Likewise.
5737 * gdb.trace/collection.exp: Likewise.
5738 * gdb.trace/ftrace.exp: Likewise.
5739 * gdb.trace/mi-trace-unavailable.exp: Likewise.
5740 * gdb.trace/mi-traceframe-changed.exp: Likewise.
5741 * gdb.trace/qtro.exp: Likewise.
5742 * gdb.trace/read-memory.exp: Likewise.
5743 * gdb.trace/report.exp: Likewise.
5744 * gdb.trace/tfile.exp: Likewise.
5745 * gdb.trace/tfind.exp: Likewise.
5746 * gdb.trace/unavailable.exp: Likewise.
5747
7905fc35
PA
57482019-04-22 Pedro Alves <palves@redhat.com>
5749
5750 * gdb.base/solib-probes-nosharedlibrary.c,
5751 gdb.base/solib-probes-nosharedlibrary.exp: New files.
5752
8ecb59f8
TT
57532019-04-19 Tom Tromey <tromey@adacore.com>
5754
5755 * gdb.ada/ptype_union.c: New file.
5756 * gdb.ada/ptype_union.exp: New file.
5757
62160ec9
TT
57582019-04-19 Tom Tromey <tromey@adacore.com>
5759
5760 PR symtab/24423:
5761 * gdb.base/list0.h (foo): Add a control-l character.
5762
36cd4ba5
TV
57632019-04-18 Tom de Vries <tdevries@suse.de>
5764
5765 PR gdb/24433
5766 * boards/local-board.exp: Set sysroot to "".
5767
b73715df
TV
57682019-04-18 Tom de Vries <tdevries@suse.de>
5769 Pedro Alves <palves@redhat.com>
5770
5771 PR gdb/24454
5772 * gdb.threads/vfork-follow-child-exec.c: New file.
5773 * gdb.threads/vfork-follow-child-exec.exp: New file.
5774 * gdb.threads/vfork-follow-child-exit.c: New file.
5775 * gdb.threads/vfork-follow-child-exit.exp: New file.
5776
4aa866af
LS
57772019-04-15 Leszek Swirski <leszeks@google.com>
5778
5779 * gdb.arch/amd64-eval.cc: New file.
5780 * gdb.arch/amd64-eval.exp: New file.
5781
e5a1a79a
AH
57822019-04-11 Alan Hayward <alan.hayward@arm.com>
5783
5784 * gdb.server/sysroot.c: New test.
5785 * gdb.server/sysroot.exp: New file.
5786 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
5787 matching param.
5788
41077b66
AB
57892019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
5790
5791 * gdb.base/align.exp: Extend test to cover structures containing
5792 only static fields.
5793
c30391f8
TV
57942019-04-11 Tom de Vries <tdevries@suse.de>
5795
5796 * boards/cc-with-dwz-m.exp: New file.
5797 * boards/cc-with-dwz.exp: New file.
5798 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
5799
e242fd12
SM
58002019-04-09 Simon Marchi <simon.marchi@efficios.com>
5801
5802 * gdb.base/start-cpp.exp: New file.
5803 * gdb.base/start-cpp.cc: New file.
5804
2b0c8b01
KB
58052019-04-08 Kevin Buettner <kevinb@redhat.com>
5806
5807 * gdb.python/py-thrhandle.exp: Adjust tests to call
5808 thread_from_handle instead of thread_from_thread_handle.
5809
947210e5
KB
58102019-04-08 Kevin Buettner <kevinb@redhat.com>
5811
5812 * gdb.python/py-thrhandle.exp: Add tests for
5813 gdb.InferiorThread.handle.
5814
d7df6549
AB
58152019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5816
5817 * gdb.python/py-function.exp: Check calling helper function from
5818 all languages.
5819 * lib/gdb.exp (gdb_supported_languages): New proc.
5820
8bdc1658
AB
58212019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
5822
5823 * gdb.base/complex-parts.c: New file.
5824 * gdb.base/complex-parts.exp: New file.
5825
05caa1d2
TT
58262019-04-01 Tom Tromey <tromey@adacore.com>
5827
5828 PR symtab/23331:
5829 * gdb.dwarf2/dw2-ranges-main.c: New file.
5830 * gdb.dwarf2/dw2-ranges-psym.c: New file.
5831 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
5832
7734102d
EZ
58332019-03-30 Simon Marchi <simark@simark.ca>
5834
5835 * gdb.base/default.exp: Add values for $_gdb_major and
5836 $_gdb_minor.
5837
188e1fa9
TT
58382019-03-29 Tom Tromey <tromey@adacore.com>
5839
5840 * gdb.base/help.exp: Tighten apropos regexp.
5841
2880242d
KS
58422019-03-29 Keith Seitz <keiths@redhat.com>
5843
5844 * gdb.fortran/array-bounds.exp: New file.
5845 * gdb.fortran/array-bounds.f90: New file.
5846
077cad8e
PW
58472019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5848
5849 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
5850
80047cfc
PW
58512019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5852
5853 * gdb.multi/hello.c (main): Increase alarm timer.
5854
f489207e
SL
58552019-03-28 Sandra Loosemore <sandra@codesourcery.com>
5856
5857 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
5858 factor when no hardware watchpoint support.
5859
c92df149
AH
58602019-03-28 Alan Hayward <alan.hayward@arm.com>
5861 Pedro Alves <palves@redhat.com>
5862
5863 * boards/local-board.exp: set sysroot to /.
5864
933aebfa
AH
58652019-03-27 Alan Hayward <alan.hayward@arm.com>
5866
5867 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
5868 in child.
5869
9f9aa852
AB
58702019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5871
5872 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
5873 field.
5874 (make_container): Initialise new field.
5875 * gdb.python/py-prettyprint.exp: Add new tests.
5876 * gdb.python/py-prettyprint.py (class ContainerPrinter)
5877 <display_hint>: New method.
5878
3714a195
AB
58792019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5880
5881 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
5882 gdb_continue_to_breakpoint more throughout this test.
5883 (run_lang_tests) Supply unique test names, and use
5884 gdb_test_no_output.
5885
18c77628
AB
58862019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
5887
5888 * gdb.base/finish-pretty.exp: Update expected results.
5889 * gdb.base/pretty-print.c: New file.
5890 * gdb.base/pretty-print.exp: New file.
5891
9a93502f
PA
58922019-03-25 Pedro Alves <palves@redhat.com>
5893
5894 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
5895 move comments outside list. Append '-i "" eof' section.
5896
968aa7ae
AH
58972019-03-22 Alan Hayward <alan.hayward@arm.com>
5898
34a7f2a4 5899 PR testsuite/25016
968aa7ae
AH
5900 * README: Add pie options.
5901 * gdb.base/break-interp.exp: Ensure pie is disabled.
5902 * gdb.base/dump.exp: Likewise.
5903 * lib/gdb.exp (gdb_compile): Add pie option.
5904
4c7d57e7
TT
59052019-03-19 Tom Tromey <tromey@adacore.com>
5906
5907 * gdb.mi/mi2-cli-display.c: New file.
5908 * gdb.mi/mi2-cli-display.exp: New file.
5909
bff8c71f
TT
59102019-03-18 Joel Brobecker <brobecker@adacore.com>
5911 Tom Tromey <tromey@adacore.com>
5912
5913 * gdb.ada/ptype_array/pck.adb: New file.
5914 * gdb.ada/ptype_array/pck.ads: New file.
5915 * gdb.ada/ptype_array/foo.adb: New file.
5916 * gdb.ada/ptype_array.exp: New file.
5917
d085f989
TT
59182019-03-14 Tom Tromey <tromey@adacore.com>
5919
5920 * gdb.base/style.exp: Add "set style sources" test.
5921
b4be1b06
SM
59222019-03-13 Simon Marchi <simon.marchi@ericsson.com>
5923
5924 * mi-breakpoint-location-ena-dis.exp: Rename to ...
5925 * mi-breakpoint-multiple-locations.exp: ... this.
5926 (make_breakpoints_pattern): New proc.
5927 (do_test): Add mi_version parameter, test -break-insert,
5928 -break-info and =breakpoint-created.
5929
7cde5fc2
AB
59302019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
5931
5932 * config/default.exp: Remove 'load_lib gdb.exp'.
5933 * config/monitor.exp: Likewise.
5934 * config/sid.exp: Likewise.
5935 * config/sim.exp: Likewise.
5936 * config/slite.exp: Likewise.
5937 * config/unix.exp: Likewise.
5938 * gdb.base/default.exp: Remove unhelpful comment.
5939
efbecbc1
AB
59402019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5941
5942 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
5943
0841c79a
AB
59442019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5945
5946 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
5947
4a270568
AB
59482019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5949
5950 * gdb.fortran/type-kinds.exp: Update expected results.
5951
067630bd
AB
59522019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5953
5954 * gdb.fortran/type-kinds.exp: Test new integer type kind.
5955
3be47f7a
AB
59562019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5957
5958 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
5959 function.
5960 (test_basic_parsing_of_type_kinds): Expand types tested.
5961 (test_parsing_invalid_type_kinds): New function.
5962
4d00f5d8
AB
59632019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5964
5965 * gdb.fortran/intrinsics.exp: New file.
5966 * gdb.fortran/intrinsics.f90: New file.
5967 * gdb.fortran/type-kinds.exp: New file.
5968
c8f91604
AB
59692019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5970
5971 * gdb.fortran/dot-ops.exp: New file.
5972
dd9f2c76
AB
59732019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5974
5975 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
5976 Check upper and lower case logical literals.
5977
84ec9724
AB
59782019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5979
5980 * gdb.fortran/types.exp (test_float_literal_types_accepted):
5981 Remove duplicate tests.
5982
c3734e09
AH
59832019-03-06 Alan Hayward <alan.hayward@arm.com>
5984
5985 * lib/gdb.exp (builtin_cd): rename of cd.
5986 (cd): Override builtin.
5987
aa3cfbda
RB
59882019-03-06 Richard Bunt <richard.bunt@arm.com>
5989
5990 * gdb.fortran/function-calls.exp: New file.
5991 * gdb.fortran/function-calls.f90: New test.
5992
7b63ad86
RB
59932019-03-04 Richard Bunt <richard.bunt@arm.com>
5994
5995 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
5996 on user program standard output.
5997 * gdb.fortran/short-circuit-argument-list.f90: Record function
5998 calls.
5999
01abb042
AH
60002019-02-28 Alan Hayward <alan.hayward@arm.com>
6001
c3734e09
AH
6002 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
6003 failure.
01abb042 6004
92137da0
RO
60052019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6006
6007 PR gdb/8527
6008 * gdb.base/interrupt-daemon-attach.c,
6009 gdb.base/interrupt-daemon-attach.exp: New test.
6010
5862844d
PA
60112019-02-27 Pedro Alves <palves@redhat.com>
6012
6013 * gdb.base/page.exp: Add tests for "set width/height -1".
6014
8ed25214
PA
60152019-02-27 Pedro Alves <palves@redhat.com>
6016
6017 * gdb.base/page.exp: Add tests for "set/show width/height" with
6018 "infinite" values.
6019
6c28e44a
TT
60202019-02-27 Tom Tromey <tromey@adacore.com>
6021
6022 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
6023 2.4.
6024 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
6025 workaround.
6026
bf9a735e
AB
60272019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
6028
6029 * gdb.base/align.exp: Extend to compile in both C and C++, and add
6030 tests for structs with static members.
6031
8791793c
TT
60322019-02-26 Tom Tromey <tromey@adacore.com>
6033
6034 * gdb.python/py-value.exp (test_value_from_buffer): Check for
6035 ValueError, not TypeError.
6036
bc2a507e
KB
60372019-02-26 Kevin Buettner <kevinb@redhat.com>
6038
6039 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
6040 call from main program.
6041
e0e7d3bd
JB
60422019-02-23 Joel Brobecker <brobecker@adacore.com>
6043
6044 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
6045 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
6046 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
6047 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
6048 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
6049
9600246d
KS
60502019-02-22 Keith Seitz <keiths@redhat.com>
6051
6052 PR symtab/23853
6053 * gdb.base/symlink-sourcefile.c: New file.
6054 * gdb.base/symlink-sourcefile.exp: New file.
6055
0c95f9ed
TT
60562019-02-20 Tom Tromey <tom@tromey.com>
6057
6058 * gdb.base/info_qt.exp: Update.
6059
6caa91b6
SM
60602019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
6061
6062 * gdb.base/source.exp: Move "error in sourced script" code to
6063 the end.
6064 * gdb.base/source-error.gdb: Move contents to
6065 source-error-1.gdb. Add new code to source source-error-1.gdb.
6066 * gdb.base/source-error-1.gdb: New file, from previous
6067 source-error.gdb.
6068
6506371f
TT
60692019-02-17 Tom Tromey <tom@tromey.com>
6070
6071 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
6072 for macro styling.
6073 * gdb.base/style.c (SOME_MACRO): New macro.
6074
a0087920
TT
60752019-02-17 Tom Tromey <tom@tromey.com>
6076
6077 * gdb.base/style.exp: Add line-wrapping tests.
6078 * gdb.base/page.exp: Add test for quitting during pagination.
6079
a2cd4f14
JB
60802019-02-17 Joel Brobecker <brobecker@adacore.com>
6081
6082 * gdb.ada/big_packed_array: New testcase.
6083 * gdb.ada/homonym.exp: Fix incorrect expected output for
6084 "break <homonym__get_value>" test.
6085
9d70ffbc
WP
60862019-02-13 Weimin Pan <weimin.pan@oracle.com>
6087
6088 PR breakpoints/21870
6089 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
6090 and prepare_for_testing. Add comment.
6091 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
6092 redundant cleanup call. Clean up comment.
6093
01c7ae81
WP
60942019-02-12 Weimin Pan <weimin.pan@oracle.com>
6095
6096 PR breakpoints/21870
6097 * gdb.arch/aarch64-dbreg-contents.exp: New file.
6098 * gdb.arch/aarch64-dbreg-contents.c: New file.
6099
aff29d1c
JB
61002019-02-10 Joel Brobecker <brobecker@adacore.com>
6101
6102 * gdb.ada/mi_ref_changeable: New testcase.
6103
df0da8a2
AH
61042019-02-07 Alan Hayward <alan.hayward@arm.com>
6105
6106 * gdb.base/attach.exp: Add double attach test.
6107
bd447abb
SM
61082019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
6109
6110 * lib/gdb.exp (default_gdb_start): Don't match pagination
6111 prompt.
6112 (gdb_init): Set stty_init.
6113
1dbc40b9
TT
61142019-01-27 Tom Tromey <tom@tromey.com>
6115
6116 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
6117 skip_python_tests.
6118
353229bf
AH
61192019-01-24 Alan Hayward <alan.hayward@arm.com>
6120
6121 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
6122 New structure.
6123 (struct struct_static_02_02): Likewise.
6124 (struct struct_static_02_03): Likewise.
6125 (struct struct_static_02_04): Likewise.
6126 (struct struct_static_04_01): Likewise.
6127 (struct struct_static_04_02): Likewise.
6128 (struct struct_static_04_03): Likewise.
6129 (struct struct_static_04_04): Likewise.
6130 (struct struct_static_06_01): Likewise.
6131 (struct struct_static_06_02): Likewise.
6132 (struct struct_static_06_03): Likewise.
6133 (struct struct_static_06_04): Likewise.
6134 (cmp_struct_static_02_01): Likewise.
6135 (cmp_struct_static_02_02): Likewise.
6136 (cmp_struct_static_02_03): Likewise.
6137 (cmp_struct_static_02_04): Likewise.
6138 (cmp_struct_static_04_01): Likewise.
6139 (cmp_struct_static_04_02): Likewise.
6140 (cmp_struct_static_04_03): Likewise.
6141 (cmp_struct_static_04_04): Likewise.
6142 (cmp_struct_static_06_01): Likewise.
6143 (cmp_struct_static_06_02): Likewise.
6144 (cmp_struct_static_06_03): Likewise.
6145 (cmp_struct_static_06_04): Likewise.
6146 (call_all): Test new structs.
6147 * gdb.base/infcall-nested-structs.exp: Likewise.
6148
73021deb
AH
61492019-01-21 Alan Hayward <alan.hayward@arm.com>
6150 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
6151
fc65c7db
AH
61522019-01-21 Alan Hayward <alan.hayward@arm.com>
6153 * gdb.base/stack-protector.c: New test.
6154 * gdb.base/stack-protector.exp: New file.
6155 * gdb.cp/ovldbreak.exp: Only allow a single break line.
6156 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
6157 option.
6158 (gdb_compile): Remove stack protector for GCC and prevent
6159 recursion.
6160
c24bdb02
KS
61612019-01-16 Keith Seitz <keiths@redhat.com>
6162
6163 PR gdb/23773
6164 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
6165
6f072a10
PFC
61662019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6167
6168 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
6169 aliases.
6170 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
6171 tests.
6172 * gdb.arch/powerpc-vector-regs.c: New file.
6173 * gdb.arch/powerpc-vector-regs.exp: New file.
6174
a7b8d682
PFC
61752019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6176
6177 * gdb.arch/altivec-regs.exp: Fix the list passed to
6178 gdb_expect_list when testing "info vector".
6179
6eb6fb67
AB
61802019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6181
6182 * gdb.base/style.exp: Don't include path in testname.
6183
b56f80d8
KS
61842019-01-10 Keith Seitz <keiths@redhat.com>
6185
6186 PR gdb/23712
6187 PR symtab/23010
6188 * gdb.dwarf2/multidictionary.exp: New file.
6189
041be526
SM
61902019-01-09 Simon Marchi <simon.marchi@ericsson.com>
6191
6192 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
6193 (test_gnuv3_style_demangling): ... this.
6194 (test_lucid_style_demangling): Remove.
6195 (test_arm_style_demangling): Remove.
6196 (test_hp_style_demangling): Remove.
6197 (do_tests): Remove calls to the above.
6198
d820d0c3
AB
61992019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
6200
6201 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
6202 case.
6203
f097f5ad
TT
62042019-01-06 Tom Tromey <tom@tromey.com>
6205
6206 PR gdb/28155:
6207 * gdb.dwarf2/typedef-void-finish.exp: New file.
6208
2cd8cc0b
TT
62092018-12-28 Tom Tromey <tom@tromey.com>
6210 Simon Marchi <simark@simark.ca>
6211
6212 * gdb.base/jit-exec.exp: New file.
6213 * gdb.base/jit-exec.c: New file.
6214 * gdb.base/jit-execd.c: New file.
6215
35fb8261
TT
62162018-12-28 Tom Tromey <tom@tromey.com>
6217
6218 * gdb.base/style.exp: Update test to check for address styling.
6219
47fd17cd
TT
62202018-12-28 Tom Tromey <tom@tromey.com>
6221
6222 * gdb.base/style.exp: Add test for styling of "Reading symbols"
6223 message.
6224
d47032b7
TT
62252018-12-28 Tom Tromey <tom@tromey.com>
6226
6227 * gdb.base/style.exp: Add test for version number styling.
6228
af79b68d
TT
62292018-12-28 Tom Tromey <tom@tromey.com>
6230
6231 * gdb.base/style.exp: Add test for print_address_symbolic.
6232
0bb296cb
TT
62332018-12-28 Tom Tromey <tom@tromey.com>
6234
6235 * gdb.base/style.exp: Add test for breakpoint setting.
6236
80ae2043
TT
62372018-12-28 Tom Tromey <tom@tromey.com>
6238
6239 * gdb.base/style.exp: Add test for variable names.
6240
cbe56571
TT
62412018-12-28 Tom Tromey <tom@tromey.com>
6242
6243 * gdb.base/style.exp: New file.
6244 * gdb.base/style.c: New file.
6245
9162a27c
TT
62462018-12-28 Tom Tromey <tom@tromey.com>
6247
6248 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
6249 "dumb".
6250 * gdb.base/readline.exp (operate_and_get_next): Save and restore
6251 the TERM environment variable.
6252
bc543c90
TT
62532018-12-27 Tom Tromey <tom@tromey.com>
6254
6255 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
6256 pagination test.
6257
6f0ffe50
AB
62582018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
6259
6260 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
6261 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
6262
b5a1e557
PW
62632018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6264
6265 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
6266 Filename a.adb changed to bp_fun_addr.adb.
6267 gdb.ada/bp_fun_addr.exp: Update test accordingly.
6268
6e8b1ab2
JV
62692018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
6270
6271 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
6272 non-PIE executables.
6273 * README: Mention the gdb,nopie_flag board setting.
6274 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
6275 non-PIE executable.
6276 * gdb.arch/amd64-entry-value.exp: Likewise.
6277 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
6278 * gdb.arch/i386-float.exp: Likewise.
6279 * gdb.arch/i386-signal.exp: Likewise.
6280 * gdb.mi/mi-reg-undefined.exp: Likewise.
6281
d00a27c5
PM
62822018-12-21 Paul Marechal <paul.marechal@ericsson.com>
6283
6284 PR gdb/23974
6285 * gdb.base/info-os.exp: Check return for unknown "info os" type.
6286
161d081c
PW
62872018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6288
6289 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
6290 Update order of results accordingly.
6291
b001de23
AB
62922018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
6293
6294 * gdb.base/annota1.exp: Update a test regexp.
6295
99e1a184
AB
62962018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6297
6298 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
6299
7a81c1e2
PW
63002018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6301
6302 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
6303 (reuse_time): Initialize to REUSE_TIME_CAP.
6304 (check_rc): New function.
6305 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
6306 Check pthread_create rc.
6307 (spawner_thread_func): Check pthread_create and pthread_join rc.
6308
73e8dc90
PA
63092018-12-08 Pedro Alves <palves@redhat.com>
6310
6311 * gdb.base/list.exp (test_forward_search): Rename to ...
6312 (test_forward_reverse_search): ... this. Also test reverse-search
6313 and the forward-search alias.
6314
13f2ed32
AB
63152018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
6316
6317 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
6318 local timeout variable before return, and remove all local timeout
6319 variable entirely.
6320 (gdb_load): Likewise.
6321
64d27cfc
TV
63222018-12-01 Tom de Vries <tdevries@suse.de>
6323
6324 * gdb.base/gdb-caching-proc.exp: New file.
6325
f63c03b4
SDJ
63262018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
6327
6328 * Makefile.in (TIMESTAMP): New variable.
6329 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
6330 command.
6331 (check-single-racy): Likewise.
6332 (check/%.exp): Likewise.
6333 (check-racy/%.exp): Likewise.
6334 (workers/%.worker): Likewise.
6335 (build-perf): Likewise.
6336 (check-perf): Likewise.
6337 * README: Describe new "TS" and "TS_FORMAT" variables.
6338 * print-ts.py: New file.
6339
1c97054b
BF
63402018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
6341
6342 PR python/23714
6343 * gdb.python/python.exp: Test command repetition after
6344 gdb.execute.
6345
1871a62d
AB
63462018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
6347
6348 * gdb.opt/inline-break.exp: Add test that info breakpoint output
6349 is correctly aligned.
6350
fb5e1ed9
PW
63512018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6352
6353 * gdb.ada/info_auto_lang.exp: New testcase.
6354 * gdb.ada/info_auto_lang/global_pack.ads: New file.
6355 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
6356 * gdb.ada/info_auto_lang/some_c.c: New file.
6357
43d397ca
PW
63582018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6359
6360 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
6361 FUNC_lang language syntax.
6362
beddd671
PW
63632018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6364
6365 * gdb.base/info_minsym.c: New file.
6366 * gdb.base/info_minsym.exp: New file.
6367
73fc52c4
TT
63682018-11-19 Tom Tromey <tom@tromey.com>
6369
6370 PR rust/23625:
6371 * gdb.rust/simple.exp: Add ptype test. Update expected output.
6372 * gdb.rust/expr.exp: Update expected output. Change one test.
6373
994b876a
TT
63742018-11-19 Tom Tromey <tom@tromey.com>
6375
6376 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
6377
6769f276
PA
63782018-11-19 Pedro Alves <palves@redhat.com>
6379
6380 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
6381 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
6382 see the expected warning.
6383
38a72da0
AH
63842018-11-16 Alan Hayward <alan.hayward@arm.com>
6385
6386 PR gdb/22736:
6387 * gdb.cp/infcall-nodebug-lib.c: New test.
6388 * gdb.cp/infcall-nodebug-main.c: New test.
6389 * gdb.cp/infcall-nodebug.exp: New file.
6390
53a89d6e
SM
63912018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
6392
6393 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
6394 completer tests.
6395
9325300d
TV
63962018-11-09 Tom de Vries <tdevries@suse.de>
6397
6398 * gdb.base/msym-lang.c: New test.
6399 * gdb.base/msym-lang.exp: New file.
6400 * gdb.base/msym-lang-main.c: New test.
6401
20f0d60d
TT
64022018-11-08 Tom Tromey <tom@tromey.com>
6403
6404 PR gdb/23555:
6405 PR gdb/23838:
6406 * gdb.base/warning.exp: New file.
6407
b5420128
JB
64082018-11-08 Jan Beulich <jbeulich@suse.com>
6409
6410 * testsuite/gdb.arch/i386-avx512.c,
6411 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
6412
cd115d61
AB
64132018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
6414
6415 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
6416 point hardware.
6417
35ee2dc2
AB
64182018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
6419
6420 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
6421 * gdb.dwarf2/missing-type-name.exp: New file.
6422
31aceee8
TV
64232018-11-06 Tom de Vries <tdevries@suse.de>
6424
6425 * gdb.base/many-headers.c: New test.
6426 * gdb.base/many-headers.exp: New file.
6427
109be305
JW
64282018-11-06 Jim Wilson <jimw@sifive.com>
6429
6430 * gdb.base/code_elim.exp: For riscv, set additional_flags
6431 to include -msmall-data-limit=0.
6432
e2b7af72
JB
64332018-11-01 Joel Brobecker <brobecker@adacore.com>
6434
6435 * gdb.ada/watch_minus_l: New testcase.
6436
cdcda965
SM
64372018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
6438
6439 * gdb.arch/aix-sighandle.c: New file.
6440 * gdb.arch/aix-sighandle.exp: New file.
6441
92dcebf3
AB
64422018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6443
6444 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
6445 registers being unions.
6446
68b9ac18
TV
64472018-10-31 Tom de Vries <tdevries@suse.de>
6448
6449 * lib/valgrind.exp: New file.
6450 (vgdb_start, vgdb_stop): New procs, factored out of ...
6451 * gdb.base/valgrind-bt.exp: ... here, ...
6452 * gdb.base/valgrind-disp-step.exp: ... here and ...
6453 * gdb.base/valgrind-infcall.exp: ... here.
6454
1443936e
TV
64552018-10-31 Tom de Vries <tdevries@suse.de>
6456
6457 * lib/gdb.exp (get_valueof): Don't output read value in test name.
6458
eb77c9df
AB
64592018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6460
6461 * gdb.dwarf2/void-type.c: New file.
6462 * gdb.dwarf2/void-type.exp: New file.
6463
82b5e646
PW
64642018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6465
6466 * gdb.base/info_qt.c: New file.
6467 * gdb.base/info_qt.exp: New file.
6468
8d619c01
EBM
64692018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6470
6471 * gdb.arch/powerpc-htm-regs.c: New file.
6472 * gdb.arch/powerpc-htm-regs.exp: New file.
6473
f2cf6173
EBM
64742018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6475
6476 * gdb.arch/powerpc-tar.c: New file.
6477 * gdb.arch/powerpc-tar.exp: New file.
6478
7ca18ed6
EBM
64792018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6480
6481 * gdb.arch/powerpc-ppr-dscr.c: New file.
6482 * gdb.arch/powerpc-ppr-dscr.exp: New file.
6483
bfcc0eba
TV
64842018-10-25 Tom de Vries <tdevries@suse.de>
6485
6486 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
6487
fe1a5cad
TV
64882018-10-24 Tom de Vries <tdevries@suse.de>
6489
6490 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
6491 longer exists error.
6492
a76dc3b7
TV
64932018-10-24 Tom de Vries <tdevries@suse.de>
6494
6495 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
6496
4df46df7
TV
64972018-10-24 Tom de Vries <tdevries@suse.de>
6498
6499 * gdb.base/valgrind-db-attach.exp: Handle removed support for
6500 --db-attach in valgrind.
6501
0dbfcfff
AB
65022018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
6503
6504 * gdb.arch/riscv-reg-aliases.c: New file.
6505 * gdb.arch/riscv-reg-aliases.exp: New file.
6506
b04480b1
AH
65072018-10-19 Alan Hayward <alan.hayward@arm.com>
6508
6509 * gdb.python/py-cmd.exp: Check for gdb_prompt.
6510
2c6ac8d7
AH
65112018-10-19 Alan Hayward <alan.hayward@arm.com>
6512
6513 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
6514
2bc69f25
AH
65152018-10-19 Alan Hayward <alan.hayward@arm.com>
6516
6517 * gdb.cp/ovldbreak.exp: Fix regexps.
6518
1f1ae3a3
AH
65192018-10-19 Alan Hayward <alan.hayward@arm.com>
6520
6521 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
6522
94c18618
SDJ
65232018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
6524
6525 PR cli/23785
6526 * gdb.base/restore.exp: New test to check if "restore" with an
6527 invalid file doesn't segfault.
6528
812cd6eb
TV
65292018-10-18 Tom de Vries <tdevries@suse.de>
6530
6531 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
6532 * gdb.ada/excep_handle.exp: Same.
6533 * gdb.ada/mi_string_access.exp: Same.
6534 * gdb.ada/mi_var_union.exp: Same.
6535 * gdb.arch/arc-analyze-prologue.exp: Same.
6536 * gdb.arch/arc-decode-insn.exp: Same.
6537 * gdb.base/readnever.exp: Same.
6538 * gdb.fortran/printing-types.exp: Same.
6539 * gdb.guile/scm-lazy-string.exp: Same.
6540
c4b90788
TV
65412018-10-16 Tom de Vries <tdevries@suse.de>
6542
6543 PR gdb/23730
6544 * gdb.base/catch-follow-exec.c: Add copyright notice.
6545 * gdb.base/catch-follow-exec.exp: Rewrite to use
6546 gdb_spawn_with_cmdline_opts. Require gdb-native.
6547
8bca2978
SL
65482018-10-12 Sandra Loosemore <sandra@codesourcery.com>
6549
6550 * gdb.trace/actions-changed.exp: Check for arch support.
6551 * gdb.trace/actions.exp: Likewise.
6552 * gdb.trace/ax.exp: Likewise.
6553 * gdb.trace/backtrace.exp: Likewise.
6554 * gdb.trace/change-loc.exp: Likewise.
6555 * gdb.trace/deltrace.exp: Likewise.
6556 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
6557 * gdb.trace/ftrace.exp: Likewise.
6558 * gdb.trace/infotrace.exp: Check for arch support.
6559 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
6560 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
6561 * gdb.trace/mi-tsv-changed.exp: Likewise.
6562 * gdb.trace/packetlen.exp: Likewise.
6563 * gdb.trace/passc-dyn.exp: Likewise.
6564 * gdb.trace/passcount.exp: Likewise.
6565 * gdb.trace/pending.exp: Likewise.
6566 * gdb.trace/range-stepping.exp: Check for shlib support.
6567 * gdb.trace/report.exp: Check for arch support.
6568 * gdb.trace/save-trace.exp: Likewise.
6569 * gdb.trace/signal.exp: Check for signal support.
6570 * gdb.trace/tfind.exp: Check for arch support.
6571 * gdb.trace/trace-break.exp: Check for arch and shlib support.
6572 * gdb.trace/trace-common.h: Add comment.
6573 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
6574 * gdb.trace/trace-enable-disable.exp: Likewise.
6575 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
6576 * gdb.trace/tracecmd.exp: Check for arch support.
6577 * gdb.trace/tspeed.exp: Check for shlib and target support.
6578 * gdb.trace/tstatus.exp: Check for arch support.
6579 * gdb.trace/tsv.exp: Likewise.
6580 * gdb.trace/while-dyn.exp: Likewise.
6581 * gdb.trace/while-stepping.exp: Likewise.
6582 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
6583
f9c49bff
SM
65842018-10-12 Simon Marchi <simon.marchi@ericsson.com>
6585
6586 * gdb.trace/tspeed.exp: Remove nowarnings.
6587 (prepare_for_trace_test): Declare "global ipalib".
6588 * gdb.trace/tspeed.c: Include unistd.h.
6589 (main): Remove superfluous printf argument.
6590
d4330bde
SL
65912018-10-11 Sandra Loosemore <sandra@codesourcery.com>
6592
6593 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
6594 directory prefix on the filename.
6595
8ecfd7bd
SDJ
65962018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
6597
6598 * gdb.gdb/unittest.exp: Update expected message informing that
6599 selftests have been disabled.
6600 * gdb.server/unittest.exp: Likewise.
6601
58bbcd02
TV
66022018-10-09 Tom de Vries <tdevries@suse.de>
6603
6604 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
6605 with runto_main.
6606
9f6b697b
WP
66072018-10-08 Weimin Pan <weimin.pan@oracle.com>
6608
6609 PR c++/16841
6610 * gdb.cp/virtbase2.cc: New file.
6611 * gdb.cp/virtbase2.exp: New file.
6612
add5ded5
TT
66132018-10-06 Tom Tromey <tom@tromey.com>
6614
6615 PR python/19399:
6616 * gdb.python/py-inferior.exp: Add architecture test.
6617
f9e48344
TT
66182018-10-06 Tom Tromey <tom@tromey.com>
6619
6620 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
6621 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
6622
2a8be203
TT
66232018-10-06 Tom Tromey <tom@tromey.com>
6624
6625 * gdb.python/py-breakpoint.exp (check_last_event): Check location
6626 of a "throw" catchpoint.
6627
e04caa70
SDJ
66282018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
6629
6630 * gdb.base/info-proc.exp: Update string expected from "help info
6631 proc".
6632
5ca8c39f
TT
66332018-10-04 Tom Tromey <tom@tromey.com>
6634
6635 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
6636 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
6637 (test_initial_complaints, test_empty_complaints): Update.
6638 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6639
3453e7e4
TT
66402018-10-04 Tom Tromey <tom@tromey.com>
6641
6642 PR cli/19551:
6643 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
6644 * lib/gdb.exp (gdb_file_cmd): Update.
6645 * gdb.stabs/weird.exp (print_weird_var): Update.
6646 * gdb.server/solib-list.exp: Update.
6647 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
6648 * gdb.mi/mi-cli.exp: Update.
6649 * gdb.linespec/linespec.exp: Update.
6650 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
6651 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
6652 * gdb.cp/cp-relocate.exp: Update.
6653 * gdb.base/sym-file.exp: Update.
6654 * gdb.base/relocate.exp: Update.
6655 * gdb.base/readnever.exp: Update.
6656 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6657 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
6658 * gdb.base/dbx.exp (gdb_file_cmd): Update.
6659 * gdb.base/code_elim.exp: Update.
6660 * gdb.base/break-unload-file.exp (test_break): Update.
6661 * gdb.base/break-interp.exp (test_attach_gdb): Update.
6662 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
6663 Update.
6664 * gdb.base/attach.exp (do_attach_tests): Update.
6665 * gdb.base/sepdebug.exp: Update.
6666 * gdb.python/py-section-script.exp: Update.
6667
6afcf761
TT
66682018-10-04 Tom Tromey <tom@tromey.com>
6669
6670 PR cli/22234:
6671 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
6672 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
6673 output.
6674
fef1b293
TT
66752018-10-04 Tom Tromey <tom@tromey.com>
6676
6677 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
6678 set width and height to 0.
6679 (test_command_line_attach_run): Use -quiet.
6680
ca98345e
SL
66812018-10-03 Sandra Loosemore <sandra@codesourcery.com>
6682
6683 * lib/gdb.exp (skip_ifunc_tests): New.
6684 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
6685 other compile failures.
6686 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
6687
ff34e6ae
SM
66882018-10-01 Simon Marchi <simon.marchi@ericsson.com>
6689
6690 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
6691 is_amd64_regs_target.
6692
6bb8890e
AH
66932018-10-01 Alan Hayward <alan.hayward@arm.com>
6694
6695 * gdb.arch/aarch64-sighandler-regs.c: New test.
6696 * gdb.arch/aarch64-sighandler-regs.exp: New file.
6697 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
6698
224d30d3
MM
66992018-10-01 Markus Metzger <markus.t.metzger@intel.com>
6700
6701 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
6702 assembly.
6703
f67ffa6a
AB
67042018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
6705
6706 * gdb.base/frame-selection.exp: New file.
6707 * gdb.base/frame-selection.c: New file.
6708
9fc3183f
AH
67092018-09-27 Alan Hayward <alan.hayward@arm.com>
6710
6711 * gdb.threads/check-libthread-db.c (thread_routine): Use a
6712 pthread barrier.
6713 (main): Likewise.
6714
d354055e
AB
67152018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
6716
6717 * gdb.base/large-frame-1.c: New file.
6718 * gdb.base/large-frame-2.c: New file.
6719 * gdb.base/large-frame.exp: New file.
6720 * gdb.base/large-frame.h: New file.
6721
db727370
JL
67222018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
6723
6724 PR gdb/20948
6725 * gdb.base/write_mem.exp: New test.
6726 * gdb.base/write_mem.c: Likewise.
6727
ae778caf
TT
67282018-09-23 Tom Tromey <tom@tromey.com>
6729
6730 PR python/18852:
6731 * gdb.python/py-parameter.exp: Add test for parameter that throws
6732 on "set".
6733
fd3ba736
TT
67342018-09-23 Tom Tromey <tom@tromey.com>
6735
6736 PR python/17284:
6737 * gdb.python/py-template.exp (test_template_arg): Add test for
6738 negative template argument number.
6739
39a24317
TT
67402018-09-23 Tom Tromey <tom@tromey.com>
6741
6742 PR python/14062:
6743 * gdb.python/python.exp: Add test for post_event error.
6744
f5769a2c
TT
67452018-09-23 Tom Tromey <tom@tromey.com>
6746
6747 PR python/18170:
6748 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
6749 convert pointers to int and long.
6750
1c1e54f6
TT
67512018-09-23 Tom Tromey <tom@tromey.com>
6752
6753 PR python/20126:
6754 * gdb.python/py-value.exp (test_value_numeric_ops): Add
6755 signed-ness conversion tests.
6756
fb4fa946
TT
67572018-09-23 Tom Tromey <tom@tromey.com>
6758
6759 PR python/18352;
6760 * gdb.python/py-value.exp (test_float_conversion): New proc.
6761 Use it.
6762
a466edac
HAQ
67632018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
6764
6765 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
6766
4ee9b0c5
SL
67672018-09-18 Sandra Loosemore <sandra@codesourcery.com>
6768
6769 * gdb.base/complete-empty.exp: Skip tab-completion tests if
6770 no readline.
6771 * gdb.base/utf8-identifiers.exp: Likewise.
6772 * gdb.cp/cpcompletion.exp: Likewise.
6773 * gdb.linespec/cpcompletion.exp: Likewise.
6774 * gdb.linespec/cpls-abi-tag.exp: Likewise.
6775 * gdb.linespec/cpls-ops.exp: Likewise.
6776
23be8da7
RB
67772018-09-19 Richard Bunt <richard.bunt@arm.com>
6778 Chris January <chris.january@arm.com>
6779
6780 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
6781 * gdb.fortran/short-circuit-argument-list.exp: New file.
6782 * gdb.fortran/short-circuit-argument-list.f90: New test.
6783
5031d0ae
SDJ
67842018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6785
6786 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
6787 "arch=" keyword when executing "-stack-list-frames".
6788
b4c0d1a4
SDJ
67892018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6790
6791 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
6792 "arch=" keyword when executing "-stack-list-frames".
6793
7a6d2b45
SDJ
67942018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
6795
6796 * gdb.ada/complete.exp: Expect for "@" when doing "complete
6797 break ada".
6798
8588b356
SM
67992018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
6800
6801 PR python/23669
6802 * gdb.python/python.exp: Test gdb.execute("show commands").
6803
65e65158
TT
68042018-09-16 Tom Tromey <tom@tromey.com>
6805
6806 * gdb.base/new-ui.exp (do_execution_tests): Update.
6807 * gdb.base/dbx.exp (test_breakpoints): Update.
6808
bf326452
AH
68092018-09-14 Alan Hayward <alan.hayward@arm.com>
6810
6811 * lib/gdb.exp (gdb_simple_compile): Add proc.
6812 (is_elf_target): Use gdb_simple_compile.
6813 (skip_altivec_tests): Likewise.
6814 (skip_vsx_tests): Likewise.
6815 (skip_tsx_tests): Likewise.
6816 (skip_btrace_tests): Likewise.
6817 (skip_btrace_pt_tests): Likewise.
6818 (gdb_can_simple_compile): Likewise.
6819 (gdb_has_argv0): Likewise.
6820 (gdb_target_symbol_prefix): Likewise.
6821 (target_supports_scheduler_locking): Likewise.
6822
2361b0fb
TT
68232018-09-13 Tom Tromey <tom@tromey.com>
6824
6825 * Makefile.in (TAGS): Recognize proc_with_prefix and
6826 gdb_caching_proc.
6827
0ae1a321
SM
68282018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6829
6830 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
6831 method.
6832
a40bf0c2
SM
68332018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6834
6835 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
6836 and a few other Inferior properties when the Inferior is no
6837 longer valid.
6838
4a3fe98f
TT
68392018-09-13 Tom Tromey <tom@tromey.com>
6840
6841 PR rust/23650:
6842 * gdb.rust/simple.exp: Add test for enum field access error.
6843
098b2108
TT
68442018-09-13 Tom Tromey <tom@tromey.com>
6845
6846 PR rust/23626:
6847 * gdb.rust/simple.rs (EmptyEnum): New type.
6848 (main): Use it.
6849 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
6850
1256af7d
SM
68512018-09-13 Simon Marchi <simon.marchi@ericsson.com>
6852
6853 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
6854 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
6855 * gdb.python/py-symtab.exp: Update test printing an objfile.
6856
4aa8e6c2
SM
68572018-09-12 Simon Marchi <simon.marchi@ericsson.com>
6858
6859 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
6860 object.
6861
c221b2f7
AH
68622018-09-12 Alan Hayward <alan.hayward@arm.com>
6863
6864 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
6865 (support_complex_tests): Use gdb_can_simple_compile.
6866 (is_ilp32_target): Likewise.
6867 (is_lp64_target): Likewise.
6868 (is_64_target): Likewise.
6869 (is_amd64_regs_target): Likewise.
6870 (is_aarch32_target): Likewise.
6871 (gdb_int128_helper): Likewise.
6872
6f1107b5
JK
68732018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6874
6875 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
6876
1f5d1570
JG
68772018-09-10 Jerome Guitton <guitton@adacore.com>
6878
6879 * gdb.ada/same_component_name: Add test for case of tagged record
6880 with variable-length fields.
6881
cc330e39
XR
68822018-09-10 Xavier Roirand <roirand@adacore.com>
6883
6884 * gdb.ada/access_to_unbounded_array.exp: New testcase.
6885 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
6886 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
6887 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
6888
b9c50e9a
XR
68892018-09-10 Xavier Roirand <roirand@adacore.com>
6890
6891 * gdb.ada/mi_string_access.exp: New testcase.
6892 * gdb.ada/mi_string_access/bar.adb: New file.
6893 * gdb.ada/mi_string_access/pck.adb: New file.
6894 * gdb.ada/mi_string_access/pck.asd: New file.
6895
2963898f
XR
68962018-09-10 Xavier Roirand <roirand@adacore.com>
6897
6898 * gdb.ada/mi_var_union.exp: New testcase.
6899 * gdb.ada/mi_var_union/bar.adb: New file.
6900 * gdb.ada/mi_var_union/pck.adb: New file.
6901 * gdb.ada/mi_var_union/pck.asd: New file.
6902
1aac008f
TT
69032018-09-08 Tom Tromey <tom@tromey.com>
6904
6905 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
6906
332cf4c9
TT
69072018-09-08 Tom Tromey <tom@tromey.com>
6908
6909 PR python/16047:
6910 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
6911 (register_pretty_printers): Register new printer.
6912 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
6913 test.
6914 * gdb.python/py-prettyprint.c (int_type3): New typedef.
6915 (an_int_type3): New global.
6916
424da6cf
JB
69172018-09-08 Joel Brobecker <brobecker@adacore.com>
6918
6919 * gdb.ada/expr_with_funcall: New testcase.
6920
2a62dfa9
JB
69212018-09-08 Joel Brobecker <brobecker@adacore.com>
6922
6923 * gdb.ada/packed_array_assign: New testcase.
6924
96b6697f
AB
69252018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
6926
6927 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
6928 names, and add test prefixes to make test names unique.
6929
e4a62c65
TV
69302018-09-05 Tom de Vries <tdevries@suse.de>
6931
6932 * gdb.dwarf2/varval.exp: Add test.
6933
dd083ee2
GB
69342018-09-04 Gary Benson <gbenson@redhat.com>
6935
6936 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
6937 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
6938
aef9346c
TT
69392018-08-31 Tom Tromey <tom@tromey.com>
6940
6941 * gdb.rust/simple.rs: Rename second variable "v".
6942
c67f2e15
AB
69432018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
6944
6945 * gdb.base/funcargs.c (use_a): New function.
6946 (recurse): Call use_a.
6947
078a0207
KS
69482018-08-29 Keith Seitz <keiths@redhat.com>
6949
6950 * gdb.compile/compile-cplus-anonymous.cc: New file.
6951 * gdb.compile/compile-cplus-anonymous.exp: New file.
6952 * gdb.compile/compile-cplus-array-decay.cc: New file.
6953 * gdb.compile/compile-cplus-array-decay.exp: New file.
6954 * gdb.compile/compile-cplus-inherit.cc: New file.
6955 * gdb.compile/compile-cplus-inherit.exp: New file.
6956 * gdb.compile/compile-cplus-member.cc: New file.
6957 * gdb.compile/compile-cplus-member.exp: New file.
6958 * gdb.compile/compile-cplus-method.cc: New file.
6959 * gdb.compile/compile-cplus-method.exp: New file.
6960 * gdb.compile/compile-cplus-mod.c: "New" file.
6961 * gdb.compile/compile-cplus-namespace.cc: New file.
6962 * gdb.compile/compile-cplus-namespace.exp: New file.
6963 * gdb.compile/compile-cplus-nested.cc: New file.
6964 * gdb.compile/compile-cplus-nested.exp: New file.
6965 * gdb.compile/compile-cplus-print.c: "New" file.
6966 * gdb.compile/compile-cplus-print.exp: "New" file.
6967 * gdb.compile/compile-cplus-virtual.cc: New file.
6968 * gdb.compile/compile-cplus-virtual.exp: New file.
6969 * gdb.compile/compile-cplus.c: "New" file.
6970 * gdb.compile/compile-cplus.exp: "New" file.
6971 * lib/compile-support.exp: New file.
6972
b0f492b9
GB
69732018-08-16 Gary Benson <gbenson@redhat.com>
6974
6975 PR gdb/13000:
6976 * gdb.base/batch-exit-status.exp: New file.
6977 * gdb.base/batch-exit-status.good-commands: Likewise.
6978 * gdb.base/batch-exit-status.bad-commands: Likewise.
6979
36eb4c5f
AH
69802018-08-29 Alan Hayward <alan.hayward@arm.com>
6981
6982 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
6983 (struct struct02): Likewise.
6984 (struct struct03): Likewise.
6985 (struct struct04): Likewise.
6986 (struct struct_01_01): New struct.
6987 (struct struct_01_02): Likewise.
6988 (struct struct_01_03): Likewise.
6989 (struct struct_01_04): Likewise.
6990 (struct struct_02_01): Likewise.
6991 (struct struct_02_02): Likewise.
6992 (struct struct_02_03): Likewise.
6993 (struct struct_02_04): Likewise.
6994 (struct struct_04_01): Likewise.
6995 (struct struct_04_02): Likewise.
6996 (struct struct_04_03): Likewise.
6997 (struct struct_04_04): Likewise.
6998 (struct struct_05_01): Likewise.
6999 (struct struct_05_02): Likewise.
7000 (struct struct_05_03): Likewise.
7001 (struct struct_05_04): Likewise.
7002 (cmp_struct01): Remove function.
7003 (cmp_struct02): Likewise.
7004 (cmp_struct03): Likewise.
7005 (cmp_struct04): Likewise.
7006 (cmp_struct_01_01): Add Function.
7007 (cmp_struct_01_02): Likewise.
7008 (cmp_struct_01_03): Likewise.
7009 (cmp_struct_01_04): Likewise.
7010 (cmp_struct_02_01): Likewise.
7011 (cmp_struct_02_02): Likewise.
7012 (cmp_struct_02_03): Likewise.
7013 (cmp_struct_02_04): Likewise.
7014 (cmp_struct_04_01): Likewise.
7015 (cmp_struct_04_02): Likewise.
7016 (cmp_struct_04_03): Likewise.
7017 (cmp_struct_04_04): Likewise.
7018 (cmp_struct_05_01): Likewise.
7019 (cmp_struct_05_02): Likewise.
7020 (cmp_struct_05_03): Likewise.
7021 (cmp_struct_05_04): Likewise.
7022 (call_all): Add new structs.
7023 * gdb.base/infcall-nested-structs.exp: Likewise.
7024
3bf9c013
JV
70252018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
7026
7027 * gdb.python/py-framefilter-mi.exp: Update regexp to
7028 check for "arch" field in frame output.
7029
450d1e88
KB
70302018-08-23 Kevin Buettner <kevinb@redhat.com>
7031
7032 * gdb.dwarf2/dw2-ranges-func.c: New file.
7033 * gdb.dwarf2/dw2-ranges-func.exp: New file.
7034
ae739fe7
SM
70352018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
7036
7037 * gdb.base/term.exp: Compare terminal settings with values from
7038 the inferior.
7039 * gdb.base/term.c: Get and set terminal settings.
7040
6d52907e
JV
70412018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
7042
7043 * lib/mi-support.exp (mi_expect_stop): Update regexp to
7044 accommodate new "arch" field in frame output.
7045 * gdb.mi/mi-return.exp: Likewise.
7046 * gdb.mi/mi-stack.exp: Likewise.
7047 * gdb.mi/mi-syn-frame.exp: Likewise.
7048 * gdb.mi/user-selected-context-sync.exp: Likewise.
7049
be2d111a
MS
70502018-08-19 Michael Spang <spang@google.com>
7051
7052 PR gdb/11786
7053 * gdb.base/gcore-tls-pie.c: New file.
7054 * gdb.base/gcore-tls-pie.exp: New file.
7055
ae3a7c47
KB
70562018-08-18 Kevin Buettner <kevinb@redhat.com>
7057
7058 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7d140d1a
KB
7059 * gdb.dwarf2/varval.c: New file.
7060 * gdb.dwarf2/varval.exp: New file.
ae3a7c47 7061
2ecae92e
AH
70622018-08-17 Alan Hayward <alan.hayward@arm.com>
7063
7064 PR gdb/18931
7065 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
7066
c1854f1d
KS
70672018-08-16 Keith Seitz <keiths@redhat.com>
7068
7069 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
7070 tests expected to pass.
7071
26fb3983
JV
70722018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
7073
7074 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
7075 -data-disassemble -a.
7076 (test_disassembly_bogus_args): Likewise.
7077
67943c00
AB
70782018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
7079
7080 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
7081
5ff2bbae
AB
70822018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7083
7084 * gdb.base/vla-optimized-out.exp: Add new test.
7085
e5bbcd0f
AB
70862018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7087
7088 * gdb.base/vla-optimized-out-o3.exp: Delete.
7089 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
7090 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
7091 deleted tests.
7092
9d4a934c
AB
70932018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
7094
7095 PR gdb/18050:
7096 * gdb.server/extended-remote-restart.c: New file.
7097 * gdb.server/extended-remote-restart.exp: New file.
7098
045cf012
SM
70992018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
7100
7101 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
7102 "set variable index = 42".
7103
87d6a7aa
SM
71042018-08-07 Simon Marchi <simon.marchi@ericsson.com>
7105
7106 * boards/index-cache-gdb.exp: New file.
7107 * gdb.dwarf2/index-cache.exp: New file.
7108 * gdb.dwarf2/index-cache.c: New file.
7109 * gdb.base/maint.exp: Check if we are using the index cache.
7110
96d68bd4
RO
71112018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7112
7113 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
7114 MAKEFLAGS.
7115
5a699617
RO
71162018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7117
7118 * dg-extract-results.sh: Move to toplevel contrib.
7119 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
7120 * Makefile.in (check-parallel-racy): Likewise.
7121
5bd18990
AB
71222018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
7123
7124 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
7125 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
7126 tests if the target supports scheduler locking.
7127
3fbbcf47
TV
71282018-08-04 Tom de Vries <tdevries@suse.de>
7129
7130 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
7131
3e1d3d8c
TT
71322018-08-02 Tom Tromey <tom@tromey.com>
7133
7134 PR symtab/16842.
7135 * gdb.cp/temargs.exp: Test "info address" of a template
7136 parameter.
7137
5abe0f0c
JV
71382018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
7139
7140 * gdb.python/py-mi-var-info-path-expression.c: New file.
7141 * gdb.python/py-mi-var-info-path-expression.py: New file.
7142 * gdb.python/py-mi-var-info-path-expression.exp: New file.
7143
fb66cde8
SDJ
71442018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
7145
7146 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
7147 error after "cannot resolve name" string.
7148
c708f4d2
AB
71492018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
7150
7151 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
7152 started.
7153 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
7154
37cc0cae
TV
71552018-07-28 Tom de Vries <tdevries@suse.de>
7156
7157 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
7158
63b4ecf7
TV
71592018-07-26 Tom de Vries <tdevries@suse.de>
7160
7161 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
7162
3c3bb058
AB
71632018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
7164
7165 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
7166 is visible.
7167
9e7f3bbb
TV
71682018-07-26 Tom de Vries <tdevries@suse.de>
7169
7170 PR breakpoints/23366
7171 * gdb.base/catch-follow-exec.c: New test.
7172 * gdb.base/catch-follow-exec.exp: New file.
7173
16f808ec
TV
71742018-07-25 Tom de Vries <tdevries@suse.de>
7175
7176 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
7177 vla-optimized-out.c.
7178
d7154a8d
JV
71792018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
7180
7181 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
7182 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
7183
232a0032
TV
71842018-07-20 Tom de Vries <tdevries@suse.de>
7185
7186 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
7187 NOCLONE macro.
7188 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
7189
fbb1d502
TV
71902018-07-19 Tom de Vries <tdevries@suse.de>
7191
7192 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
7193 regular expression.
7194
42dc7699
TV
71952018-07-18 Tom de Vries <tdevries@suse.de>
7196
7197 * gdb.base/vla-optimized-out.c: New test.
7198 * gdb.base/vla-optimized-out.exp: New file.
7199
7f1f7e23
SDJ
72002018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
7201
7202 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
7203 message "No address associated with hostname" when gdbserver
7204 cannot resolve the hostname.
7205
5759ebb3
PW
72062018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7207
7208 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
7209 Add some test prefixes to make tests unique.
7210
3606ccab
PW
72112018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7212
7213 * gdb.base/frameapply.c: New file.
7214 * gdb.base/frameapply.exp: New file.
7215
529c08b2
PW
72162018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7217
7218 * gdb.base/skip.exp: Update expected error message.
7219
c7ab0aef
SDJ
72202018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7221 Jan Kratochvil <jan.kratochvil@redhat.com>
7222 Paul Fertser <fercerpav@gmail.com>
7223 Tsutomu Seki <sekiriki@gmail.com>
7224
7225 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
7226 parameter.
7227 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
7228 by default.
7229 * boards/native-gdbserver.exp: Likewise.
7230 * gdb.server/run-without-local-binary.exp: Improve regexp used
7231 for detecting when a remote debugging connection succeeds.
7232 * gdb.server/server-connect.exp: New file.
7233 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
7234 Do not prefix the port number with ":".
7235 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
7236 support for detecting and using it. Add '$debughost_gdbserver'
7237 to the list of arguments used to start gdbserver. Handle case
7238 when gdbserver cannot resolve a network name.
7239
16ff70dd
SDJ
72402018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
7241
7242 PR c++/23373
7243 * gdb.base/ptype-offsets.cc (struct static_member): New
7244 struct.
7245 (main) <stmember>: New variable.
7246 * gdb.base/ptype-offsets.exp: Add test for printing a struct
7247 with a static member in it.
7248
3541979f
AB
72492018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
7250
7251 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
7252 watchpoints enabled and disabled.
7253
c8ad9b9a
AB
72542018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7255
7256 * gdb.base/examine-backward.exp: Still run tests around address
7257 0x0, even if address 0x0 is not readable. Update the pattern for
7258 matching address 0x0 in expected output.
7259
e0e5e971
AB
72602018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
7261
7262 * gdb.base/share-env-with-gdbserver.c (main): Add call to
7263 malloc/free.
7264
1ea5da02
TV
72652018-07-04 Tom de Vries <tdevries@suse.de>
7266
7267 * gdb.dwarf2/dw2-error.exp: Update expected error message.
7268
471b9d15
MR
72692018-07-02 Maciej W. Rozycki <macro@mips.com>
7270
7271 PR tdep/8282
7272 * gdb.arch/mips-disassembler-options.exp: New test.
7273 * gdb.arch/mips-disassembler-options.s: New test source.
7274
75acb486
PA
72752018-06-29 Pedro Alves <palves@redhat.com>
7276
7277 * gdb.threads/names.exp: Adjust expected "info threads" output.
7278
cd2bb709
PA
72792018-06-29 Pedro Alves <palves@redhat.com>
7280
7281 * gdb.opt/inline-break.exp (line number, address): Add "info
7282 break" tests.
7283
991ff292
PA
72842018-06-29 Pedro Alves <palves@redhat.com>
7285
7286 * gdb.opt/inline-break.c (func1): Add "break here" marker.
7287 * gdb.opt/inline-break.exp: Test setting breakpoints by line
7288 number and address and running to them.
7289
356819b6 72902018-06-29 Richard Bunt <richard.bunt@arm.com>
49af4b70
RB
7291
7292 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
7293
2512d7ef
JK
72942018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7295
7296 * lib/compiler.c: Remove executable permission flag.
7297
be1b6474
RB
72982018-06-28 Richard Bunt <richard.bunt@arm.com>
7299
7300 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
7301 code.
7302 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
7303
291f9a96
PT
73042018-06-28 Petr Tesarik <ptesarik@suse.cz>
7305
7306 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
7307
ed6dfe51
PT
73082018-06-28 Petr Tesarik <ptesarik@suse.cz>
7309
7310 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
7311 address argument is omitted.
7312
d4d429d5
PT
73132018-06-28 Petr Tesarik <ptesarik@suse.cz>
7314
7315 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
7316
7ab6656f
OJ
73172018-06-27 Omair Javaid <omair.javaid@linaro.org>
7318
7319 PR gdb/21695
7320 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
7321 * gdb.base/infoline-reloc-main-from-zero.c: New file.
7322
a33ccfc7
TT
73232018-06-26 Tom Tromey <tom@tromey.com>
7324
7325 PR rust/22574:
7326 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
7327 * gdb.rust/simple.rs (struct SimpleLayout): New.
7328
6d72d289
SM
73292018-06-22 Simon Marchi <simon.marchi@ericsson.com>
7330
7331 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
7332 "info registers" output.
7333
8363f9d5
RB
73342018-06-21 Richard Bunt <richard.bunt@arm.com>
7335
7336 * gdb.base/watchpoint-hw-attach.c: New test.
7337 * gdb.base/watchpoint-hw-attach.exp: New file.
7338
f00674fe
SM
73392018-06-20 Simon Marchi <simon.marchi@ericsson.com>
7340
7341 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
7342 through /bin/sh.
7343 * boards/dwarf4-gdb-index.exp: Likewise.
7344 * boards/fission-dwp.exp: Likewise.
7345
1d554008
UW
73462018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
7347
7348 * gdb.base/float128.exp: Add comment and improved fail message
7349 to the failure case of "print large128" test.
7350
d0ac1c44
SM
73512018-06-19 Simon Marchi <simon.marchi@ericsson.com>
7352
7353 * configure.ac: Remove AC_PREREQ.
7354 * configure: Re-generate.
7355
61b04dd0
PA
73562018-06-19 Pedro Alves <palves@redhat.com>
7357
7358 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
7359 (func_extern_caller): New.
7360 (main): Call func_extern_caller.
7361 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
7362 logic change.
7363
f63b508a
SM
73642018-06-18 Weimin Pan <weimin.pan@oracle.com>
7365
7366 PR gdb/16841
7367 * gdb.cp/typedef-base.cc: New file.
7368 * gdb.cp/typedef-base.exp: New file.
7369
0fe3a558
TV
73702018-06-18 Tom de Vries <tdevries@suse.de>
7371
7372 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
7373
7010835a
AB
73742018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7375 Richard Bunt <Richard.Bunt@arm.com>
7376
7377 * gdb.threads/attach-slow-waitpid.c: New file.
7378 * gdb.threads/attach-slow-waitpid.exp: New file.
7379 * gdb.threads/slow-waitpid.c: New file.
7380
14897d65
PA
73812018-06-14 Pedro Alves <palves@redhat.com>
7382
7383 * gdb.base/fork-running-state.c: Include <errno.h>.
7384 (exit_if_relative_exits): New.
7385 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
7386 exits.
7387 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
7388 child exits.
7389
5d9a0608
TV
73902018-06-14 Tom de Vries <tdevries@suse.de>
7391
7392 PR cli/22573
7393 * gdb.base/finish-pretty.c: New test.
7394 * gdb.base/finish-pretty.exp: New file.
7395
11ae5818
PA
73962018-06-14 Pedro Alves <palves@redhat.com>
7397
7398 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
7399 gdb's expected startup output.
7400
1d39de44
PA
74012018-06-14 Pedro Alves <palves@redhat.com>
7402
7403 * lib/selftest-support.exp (selftest_setup): Remove inlined
7404 function handling.
7405
70ee0000
TV
74062018-06-14 Tom de Vries <tdevries@suse.de>
7407
7408 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
7409 matching of breakpoint printing.
7410
11f4b608
TV
74112018-06-13 Tom de Vries <tdevries@suse.de>
7412
7413 PR testsuite/23269
7414 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
7415 (fork_child): ... here, and ...
7416 (fork_parent): ... here.
7417
74182018-06-12 Tom de Vries <tdevries@suse.de>
7419
7420 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
7421
9516f85a
AB
74222018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
7423 Stephen Roberts <stephen.roberts@arm.com>
7424
7425 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
7426 rewrite test to describe action performed, rather than possible
7427 failure.
7428
5045b3d7
GB
74292018-06-08 Gary Benson <gbenson@redhat.com>
7430
7431 * gdb.threads/check-libthread-db.exp: New file.
7432 * gdb.threads/check-libthread-db.c: Likewise.
7433
c61b06a1
TT
74342018-06-05 Tom Tromey <tom@tromey.com>
7435
7436 * gdb.base/default.exp: Update expected "show version" output.
7437
eb6af809
TT
74382018-06-05 Tom Tromey <tom@tromey.com>
7439
7440 PR cli/12326:
7441 * gdb.cp/static-print-quit.exp: Update.
7442 * lib/gdb.exp (pagination_prompt): Update.
7443 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
7444 * gdb.python/python.exp: Update.
7445
178d6a63
JB
74462018-06-04 Joel Brobecker <brobecker@adacore.com>
7447
7448 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
7449
8e817061
JB
74502018-06-01 Joel Brobecker <brobecker@adacore.com>
7451
7452 * gdb.ada/bp_fun_addr: New testcase.
7453
e86ca25f
TT
74542018-06-01 Tom Tromey <tom@tromey.com>
7455
7456 * gdb.xml/tdesc-regs.exp (load_description): Update expected
7457 results.
7458 * gdb.dwarf2/method-ptr.exp: Set language to C++.
7459 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
7460 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
7461 * gdb.base/maint.exp (maint_pass_if): Update.
7462
4b2dfa9d
MR
74632018-05-31 Maciej W. Rozycki <macro@mips.com>
7464
7465 * gdb.base/endian.exp: New test.
7466 * gdb.base/endian.c: New test source.
7467
45f25d6c
AB
74682018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
7469
7470 PR gdb/23203
7471 * gdb.base/bt-selected-frame.c: New file.
7472 * gdb.base/bt-selected-frame.exp: New file.
7473 * lib/gdb.exp (get_current_frame_number): New function.
7474
d9f6d7f8
MR
74752018-05-24 Maciej W. Rozycki <macro@mips.com>
7476 Pedro Alves <palves@redhat.com>
7477
7478 * gdb.threads/tls-core.c: Include <stdlib.h>
7479 (thread_proc): Call `abort'.
7480 * gdb.threads/tls-core.exp: Generate a core with core_find too.
7481 (tls_core_test): New procedure, bits factored out from ...
7482 (top level): ... here. Test both native cores and gcore cores.
7483
ff1cf532
TT
74842018-05-23 Tom Tromey <tom@tromey.com>
7485
7486 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
7487
b98664d3
TT
74882018-05-23 Tom Tromey <tom@tromey.com>
7489
7490 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
7491 symfile_complaints.
7492 (test_short_complaints): Likewise.
7493 (test_empty_complaints): Likewise.
7494 (test_initial_complaints): Update.
7495
4e9668d0
TT
74962018-05-23 Tom Tromey <tom@tromey.com>
7497
7498 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
7499
43ba33c7
TT
75002018-05-23 Tom Tromey <tom@tromey.com>
7501
7502 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
7503 (test_short_complaints): Update.
7504
035522c0
PA
75052018-05-22 Pedro Alves <palves@redhat.com>
7506
7507 * gdb.base/remote.exp: Only gdb_start after compiling the
7508 testcase. Issue "disconnect" before testing "set remote" command
7509 defaults. Issue clean_restart before running to main.
7510
cc0be08f
PA
75112018-05-22 Pedro Alves <palves@redhat.com>
7512
7513 * gdb.base/remote.exp: Adjust expected output of "show remote
7514 memory-write-packet-size". Add tests for "set remote
7515 memory-write-packet-size 0" and "set remote
7516 memory-write-packet-size fixed/limit".
7517
b1b60145
PA
75182018-05-22 Pedro Alves <palves@redhat.com>
7519
7520 PR gdb/22973
7521 * gdb.base/utf8-identifiers.c: New file.
7522 * gdb.base/utf8-identifiers.exp: New file.
7523
0ec848ad
PFC
75242018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7525
7526 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
7527
2c3305f6
PFC
75282018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
7529
7530 * gdb.arch/powerpc-vsx-gcore.exp: New file.
7531
ce1e8424
TT
75322018-05-18 Tom Tromey <tom@tromey.com>
7533
7534 * gdb.base/ptype-offsets.exp: Update.
7535
ddfe970e
KS
75362018-05-17 Keith Seitz <keiths@redhat.com>
7537
7538 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
7539 in expected breakpoint stop locations.
7540 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
7541 move to proper scope to test variable values.
7542 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
7543 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
7544 New functions.
7545 (main): Call not_inline_func3.
7546 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
7547 inline_func1, inline_func2, and inline_func3. Test that when each
7548 breakpoint is hit, GDB properly reports both the stop location
7549 and the backtrace. Repeat tests for temporary breakpoints.
7550
0726fcc6
MR
75512018-05-15 Maciej W. Rozycki <macro@mips.com>
7552
7553 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
7554 rather then trying to access it in determining whether the PID
7555 of `gdbserver' could have been retrieved.
7556
8ee22052
AB
75572018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
7558
7559 * gdb.arch/amd64-init-x87-values.S: New file.
7560 * gdb.arch/amd64-init-x87-values.exp: New file.
7561
7785df48
JK
75622018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7563
7564 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
7565
56bcdbea
TT
75662018-05-04 Tom Tromey <tom@tromey.com>
7567
7568 PR python/22730:
7569 * gdb.python/python.exp: Test multi-line execute.
7570
a913fffb
TT
75712018-05-04 Tom Tromey <tom@tromey.com>
7572
7573 PR python/22731:
7574 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
7575
7a2c85f2
TT
75762018-05-04 Tom Tromey <tom@tromey.com>
7577
7578 PR gdb/11750:
7579 * gdb.base/define.exp: Test defining a user command inside a user
7580 command.
7581 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
7582
a3b60e45
JK
75832018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7584 Pedro Alves <palves@redhat.com>
7585
7586 PR breakpoints/19806 and support for PR external/20207.
7587 * gdb.base/watchpoint-unaligned.c: New file.
7588 * gdb.base/watchpoint-unaligned.exp: New file.
7589
45fe4a03
AB
75902018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7591
7592 * gdb.base/maint.exp: Make test names unique, use
7593 test_prefix_command_help to test 'help maint info', and remove
7594 repeated test of 'help maint'.
7595
9be2ae8f
TT
75962018-05-04 Tom Tromey <tom@tromey.com>
7597
7598 PR gdb/22619:
7599 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
7600 behavior.
7601
11859c31
AB
76022018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7603
7604 * gdb.base/maint.exp: Process output from 'maint print registers'
7605 line at a time.
7606
089a9490
AB
76072018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
7608
7609 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
7610 timeout.
7611
9b0797e2
AB
76122018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
7613
7614 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
7615 filter pattern.
7616
f6ac5f3d
PA
76172018-05-02 Pedro Alves <palves@redhat.com>
7618
7619 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
7620 to_log_command renames.
7621 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7622
77d3c63b
TT
76232018-05-02 Tom Tromey <tom@tromey.com>
7624
7625 * gdb.python/py-parameter.exp: Set test message.
7626
0489430a
TT
76272018-05-02 Tom Tromey <tom@tromey.com>
7628
7629 PR python/20084:
7630 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
7631 PARAM_ZUINTEGER_UNLIMITED tests.
7632
1632f8ba
DR
76332018-04-28 Dan Robertson <danlrobertson89@gmail.com>
7634
7635 PR rust/23124
7636 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
7637 when casting.
7638
6d7bb824
TT
76392018-04-30 Tom Tromey <tom@tromey.com>
7640
7641 * gdb.python/py-type.exp: Check align attribute.
7642 * gdb.python/py-type.c: New "aligncheck" global.
7643
007e1530
TT
76442018-04-30 Tom Tromey <tom@tromey.com>
7645
7646 PR exp/17095:
7647 * gdb.dwarf2/dw2-align.exp: New file.
7648 * gdb.cp/align.exp: New file.
7649 * gdb.base/align.exp: New file.
7650 * lib/gdb.exp (gdb_int128_helper): New proc.
7651 (has_int128_c, has_int128_cxx): New caching procs.
7652
6873858b
TT
76532018-04-27 Tom Tromey <tom@tromey.com>
7654
7655 PR rust/22545:
7656 * gdb.rust/simple.exp: Add inclusive range tests.
7657
79188d8d
PA
76582018-04-26 Pedro Alves <palves@redhat.com>
7659
7660 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
7661 ifunc breakpoint locations correctly of ifunc breakpoints set
7662 while the program resolves the ifunc.
7663
c7075ad5
PA
76642018-04-26 Pedro Alves <palves@redhat.com>
7665
7666 * gdb.base/gnu-ifunc-final.c: New file.
7667 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
7668 * gdb.base/gnu-ifunc.exp (executable): Delete.
7669 (staticexecutable): Adjust.
7670 (lib_opts, exec_opts): Delete.
7671 (make_binsuffix, build, set-break): New procedures.
7672 (misc_tests): New, with tests factored out from the top level.
7673 (top level): Test different combinations of ifunc resolver name,
7674 resolver with and with debug info, and ifunc target with and
7675 without debug info. Wrap static tests with with_target_prefix.
7676
8388016d
PA
76772018-04-26 Pedro Alves <palves@redhat.com>
7678
7679 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
7680 return type" warnings.
7681
249b5733
PA
76822018-04-25 Pedro Alves <palves@redhat.com>
7683
7684 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
7685 killed".
7686 * gdb.base/kill-after-signal.exp: Likewise.
7687 * gdb.threads/kill.exp: Likewise.
7688
f67c0c91
SDJ
76892018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7690 Sergio Durigan Junior <sergiodj@redhat.com>
7691 Pedro Alves <palves@redhat.com>
7692
7693 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
7694 regexps to expect for '[Inferior ... detached]' as well.
7695 * gdb.base/attach.exp: Likewise.
7696 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
7697 "gdb_continue_to_end".
7698 (test_catch_syscall_with_wrong_args): Likewise.
7699 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
7700 ']'. Don't set 'verbose' on.
7701 * gdb.base/foll-vfork.exp: Likewise.
7702 * gdb.base/fork-print-inferior-events.c: New file.
7703 * gdb.base/fork-print-inferior-events.exp: New file.
7704 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
7705 '[Inferior ... has been killed]' message.
7706 * gdb.base/kill-after-signal.exp: Likewise.
7707 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
7708 detach message.
7709 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
7710 message.
7711 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
7712 regexps to expect for '[Inferior ... detached]' as well.
7713 * gdb.threads/process-dies-while-detaching.exp: Likewise.
7714
0a8ddac4
SM
77152018-04-24 Simon Marchi <simon.marchi@ericsson.com>
7716
7717 PR gdb/23104
7718 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
7719
701adfb0
PA
77202018-04-22 Rajendra SY <rajendra.sy@gmail.com>
7721
7722 PR gdb/23095
7723 * gdb.base/break-probes.exp: Pass shlib_load to
7724 prepare_for_testing. Set normal_bp to r_debug_state if target is
7725 bsd.
7726
d27d16bf
RB
77272018-04-19 Richard Bunt <richard.bunt@arm.com>
7728
7729 * gdb.threads/multiple-successive-infcall.c: New test.
7730 * gdb.threads/multiple-successive-infcall.exp: New file.
7731
a037790e
TT
77322018-04-17 Tom Tromey <tom@tromey.com>
7733
7734 * gdb.rust/simple.rs (Union): New type.
7735 (main): New local "u".
7736 * gdb.rust/simple.exp (test_one_slice): Add new test case.
7737
e3a91079
AA
77382018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7739
7740 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
7741 number information in output of "whereis" command.
7742 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
7743
b744723f
AA
77442018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7745
7746 * gdb.ada/info_types.exp: Adjust expected output to the line
7747 numbers now printed by "info var/func/type".
7748 * gdb.base/completion.exp: Likewise.
7749 * gdb.base/included.exp: Likewise.
7750 * gdb.cp/cp-relocate.exp: Likewise.
7751 * gdb.cp/cplusfuncs.exp: Likewise.
7752 * gdb.cp/namespace.exp: Likewise.
7753 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
7754
4a4495d6
MM
77552018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7756
7757 * gdb.btrace/cpu.exp: New.
7758
1d509aa6
MM
77592018-04-13 Markus Metzger <markus.t.metzger@intel.com>
7760
7761 * gdb.base/step-indirect-call-thunk.exp: New.
7762 * gdb.base/step-indirect-call-thunk.c: New.
7763 * gdb.reverse/step-indirect-call-thunk.exp: New.
7764 * gdb.reverse/step-indirect-call-thunk.c: New.
7765
6295b6da
SM
77662018-04-11 Simon Marchi <simon.marchi@ericsson.com>
7767
7768 * gdb.base/pie-fork.c: New file.
7769 * gdb.base/pie-fork.exp: New file.
7770
50146e70
TT
77712018-04-11 Tom Tromey <tom@tromey.com>
7772
7773 * gdb.rust/simple.exp: Add test for ".." struct initializer.
7774
f50d8a2e
PA
77752018-04-10 Pedro Alves <palves@redhat.com>
7776
7777 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
7778 exits. Instead loop running forever.
7779 (fork_parent): Run forever too.
7780
a0be7a36
SM
77812018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7782
7783 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
7784 mi_continue_to_line.
7785 * gdb.mi/mi-stack.c (callee4): Add comment.
7786
9b73db36
SM
77872018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
7788
7789 * gdb.mi/mi-stack.exp: Fix indentation.
7790
c912f608
SM
77912018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7792
7793 PR gdb/22979
7794 * gdb.arch/amd64-osabi.exp: New file.
7795
26540402
SM
77962018-04-07 Simon Marchi <simon.marchi@ericsson.com>
7797
7798 PR gdb/22980
7799 * gdb.base/osabi.exp: New file.
7800
121ad66c 78012018-04-02 Weimin Pan <weimin.pan@oracle.com>
79f18731
WP
7802
7803 * gdb.cp/static-typedef-print.exp: New file.
7804 * gdb.cp/static-typedef-print.cc: New file.
7805
3fcded8f
JB
78062018-03-27 Joel Brobecker <brobecker@adacore.com>
7807
7808 * gdb.ada/varsize_limit: New testcase.
7809
59cc4834
JB
78102018-03-27 Joel Brobecker <brobecker@adacore.com>
7811
7812 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
7813
7814 * gdb.ada/notcplusplus: New testcase.
7815
7816 * gdb.base/c-linkage-name.c: New file.
7817 * gdb.base/c-linkage-name.exp: New testcase.
7818
4ca59a9f
TT
78192018-03-26 Tom Tromey <tom@tromey.com>
7820
7821 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
7822 * gdb.python/py-framefilter.py (name_error): New global.
7823 (ErrorInName.function): Use name_error.
7824
978d6c75
TT
78252018-03-26 Tom Tromey <tom@tromey.com>
7826
7827 PR backtrace/15582:
7828 * gdb.python/py-framefilter.exp: Add "bt hide" test.
7829
b7fee5a3
KS
78302018-03-23 Keith Seitz <keiths@redhat.com>
7831
7832 PR c++/22968
7833 * gdb.cp/subtypes.exp: New file.
7834 * gdb.cp/subtypes.h: New file.
7835 * gdb.cp/subtypes.cc: New file.
7836 * gdb.cp/subtypes-2.cc: New file.
7837
376be529
AB
78382018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7839
7840 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
7841 (done): Call '_exit' not 'exit' to avoid atexit handlers.
7842 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
7843 -nostartfiles when compiling the test. Confirm that all registers
7844 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
7845
066cfa98
AB
78462018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
7847
7848 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
7849 option, syntax was wrong anyway.
7850 * gdb.arch/arm-disp-step.exp: Likewise.
7851 * gdb.arch/sparc64-regs.exp: Likewise.
7852 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
7853 option, syntax was wrong anyway, switch to use
7854 prepare_for_testing.
7855 * gdb.arch/i386-disp-step.exp: Likewise.
7856
079670b9
AA
78572018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
7858
7859 * gdb.ada/exec_changed.exp: Replace "target_info exists
7860 use_gdb_stub" by "use_gdb_stub".
7861 * gdb.ada/start.exp: Likewise.
7862 * gdb.base/async-shell.exp: Likewise.
7863 * gdb.base/attach-pie-misread.exp: Likewise.
7864 * gdb.base/attach-wait-input.exp: Likewise.
7865 * gdb.base/break-entry.exp: Likewise.
7866 * gdb.base/break-interp.exp: Likewise.
7867 * gdb.base/dprintf-detach.exp: Likewise.
7868 * gdb.base/nostdlib.exp: Likewise.
7869 * gdb.base/solib-nodir.exp: Likewise.
7870 * gdb.base/statistics.exp: Likewise.
7871 * gdb.base/testenv.exp: Likewise.
7872 * gdb.mi/mi-exec-run.exp: Likewise.
7873 * gdb.mi/mi-start.exp: Likewise.
7874 * gdb.multi/dummy-frame-restore.exp: Likewise.
7875 * gdb.multi/multi-arch-exec.exp: Likewise.
7876 * gdb.multi/multi-arch.exp: Likewise.
7877 * gdb.multi/tids.exp: Likewise.
7878 * gdb.multi/watchpoint-multi.exp: Likewise.
7879 * gdb.python/py-events.exp: Likewise.
7880 * gdb.threads/attach-into-signal.exp: Likewise.
7881 * gdb.threads/attach-stopped.exp: Likewise.
7882 * gdb.threads/threadapply.exp: Likewise.
7883 * lib/selftest-support.exp: Likewise.
7884
26d6cec4
AA
78852018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
7886
7887 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
7888
4ee89e90
SR
78892018-03-20 Stephen Roberts <stephen.roberts@arm.com>
7890
7891 * gdb.perf/template-breakpoints.cc: New file.
7892 * gdb.perf/template-breakpoints.exp: New file.
7893 * gdb.perf/template-breakpoints.py: New file.
7894
92630041
TT
78952018-03-19 Tom Tromey <tom@tromey.com>
7896
7897 * gdb.rust/simple.rs (main): Add local variables field1, field2,
7898 y0.
7899 * gdb.rust/simple.exp: Test bare identifier form of struct
7900 initializer.
7901
76727919
TT
79022018-03-19 Tom Tromey <tom@tromey.com>
7903
7904 * gdb.gdb/observer.exp: Remove.
7905
194ed413
AA
79062018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7907
7908 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
7909 "qualified" option when setting breakpoints.
7910 * gdb.trace/backtrace.exp: Likewise.
7911 * gdb.trace/circ.exp: Likewise.
7912 * gdb.trace/collection.exp: Likewise.
7913 * gdb.trace/disconnected-tracing.exp: Likewise.
7914 * gdb.trace/ftrace-lock.exp: Likewise.
7915 * gdb.trace/ftrace.exp: Likewise.
7916 * gdb.trace/infotrace.exp: Likewise.
7917 * gdb.trace/packetlen.exp: Likewise.
7918 * gdb.trace/passc-dyn.exp: Likewise.
7919 * gdb.trace/qtro.exp: Likewise.
7920 * gdb.trace/read-memory.exp: Likewise.
7921 * gdb.trace/report.exp: Likewise.
7922 * gdb.trace/signal.exp: Likewise.
7923 * gdb.trace/status-stop.exp: Likewise.
7924 * gdb.trace/strace.exp: Likewise.
7925 * gdb.trace/tfind.exp: Likewise.
7926 * gdb.trace/trace-break.exp: Likewise.
7927 * gdb.trace/trace-condition.exp: Likewise.
7928 * gdb.trace/trace-mt.exp: Likewise.
7929 * gdb.trace/tstatus.exp: Likewise.
7930 * gdb.trace/tsv.exp: Likewise.
7931 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7932 * gdb.trace/unavailable.exp: Likewise.
7933 * gdb.trace/while-dyn.exp: Likewise.
7934
8b067d2c
AA
79352018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7936
7937 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
7938 that libinproctrace is copied to the target.
7939
3ae9ce5d
TT
79402018-03-14 Tom Tromey <tom@tromey.com>
7941
7942 PR cli/14977:
7943 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
7944 a null pointer.
7945 * gdb.base/wchar.exp: Likewise.
7946
b8c2339b
TT
79472018-03-14 Tom Tromey <tom@tromey.com>
7948
7949 PR cli/19918:
7950 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
7951 flag.
7952
4872dc46
SM
79532018-03-08 Simon Marchi <simon.marchi@ericsson.com>
7954
7955 PR gdb/22841
7956 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
7957 "target" to remote_exec.
7958
e4fe3756
SM
79592018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
7960
7961 PR gdb/22841
7962 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
7963 ${board}_upload): Remove.
7964
e95a97d4
AA
79652018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
7966
7967 * gdb.cp/watch-cp.cc: New test.
7968 * gdb.cp/watch-cp.exp: New file.
7969
dbbb1059
AB
79702018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7971
7972 * gdb.base/infcall-nested-structs.exp: New file.
7973 * gdb.base/infcall-nested-structs.c: New file.
7974 * gdb.base/float.exp: Add riscv support.
7975
ecc054c0
TP
79762018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
7977
7978 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
7979 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
7980
25e3c82c
SDJ
79812018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
7982
7983 * gdb.server/abspath.exp: New file.
7984 * lib/gdb.exp (with_cwd): New procedure.
7985
3083294d
SM
79862018-02-28 Simon Marchi <simon.marchi@ericsson.com>
7987
7988 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
7989 use it.
7990 (gdb_is_target_remote_prompt): New proc.
7991 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
7992 (gdb_is_target_native): Pass prompt parameter to
7993 gdb_is_target_1.
7994
3275ef47
SM
79952018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
7996
7997 * gdb.base/load-command.c: New file.
7998 * gdb.base/load-command.exp: New file.
7999 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
8000 (gdb_is_target_1): ...this, and generalize for other targets
8001 than just remote.
8002 (gdb_is_target_remote): Use gdb_is_target_1.
8003 (gdb_is_target_native): use gdb_is_target_1.
8004
6893c19a
TT
80052018-02-26 Tom Tromey <tom@tromey.com>
8006
8007 PR python/16497:
8008 * gdb.python/py-framefilter.exp: Update test.
8009
2ddeaf8a
TT
80102018-02-26 Tom Tromey <tom@tromey.com>
8011
8012 * gdb.dwarf2/variant.c: New file.
8013 * gdb.dwarf2/variant.exp: New file.
8014
c9317f21
TT
80152018-02-26 Tom Tromey <tom@tromey.com>
8016
8017 * gdb.rust/simple.exp: Accept more possible results in enum test.
8018
6f6d0c26
SM
80192018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
8020
8021 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
8022 parentheses.
8023
11b03145
MR
80242018-02-23 Maciej W. Rozycki <macro@mips.com>
8025
8026 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
8027 name of a variable: $actual_linejj -> $actual_line.
8028
54a27fe5
JB
80292018-02-21 John Baldwin <jhb@FreeBSD.org>
8030
8031 * gdb.arch/amd64-i386-address.exp: Fix a typo.
8032
de65820c
MM
80332018-02-20 Markus Metzger <markus.t.metzger@intel.com>
8034
8035 * gdb.btrace/buffer-size.exp: Do not force BTS.
8036
980548fd
PA
80372018-02-14 Pedro Alves <palves@redhat.com>
8038
8039 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
8040 getting a "Quit".
8041
c4e12631
MM
80422018-02-09 Markus Metzger <markus.t.metzger@intel.com>
8043
8044 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
8045 Fix test name.
8046
c2e0e465
SM
80472018-02-07 Simon Marchi <simon.marchi@ericsson.com>
8048
8049 * gdb.cp/m-static.exp: Check type of optimized out static
8050 member.
8051
f7216783
AB
80522018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
8053
8054 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
8055 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
8056
0625771b
LS
80572018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
8058 Leszek Swirski <leszeks@google.com>
8059
8060 * gdb.python/py-prettyprint.c
8061 (struct to_string_returns_value_inner,
8062 struct to_string_returns_value_wrapper): New.
8063 (main): Add tsrvw variable.
8064 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
8065 ToStringReturnsValueWrapper): New classes.
8066 (register_pretty_printers): Register new pretty-printers.
8067 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
8068 recursive pretty printer.
8069 * gdb.python/py-mi.exp: Likewise.
8070
59498c30
LS
80712018-02-01 Leszek Swirski <leszeks@google.com>
8072
8073 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
8074 functions with the same name as an include file are parsed
8075 correctly.
8076
d4d38844
YQ
80772018-02-01 Yao Qi <yao.qi@linaro.org>
8078
8079 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
8080 "\[^\r\n\]*".
8081
07e5f5cf
NP
80822018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
8083
8084 * gdb.arch/powerpc-prologue-frame.s: New file.
8085 * gdb.arch/powerpc-prologue-frame.c: Likewise.
8086 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
8087
929b5ad4
JB
80882018-01-31 Joel Brobecker <brobecker@adacore.com>
8089
8090 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
8091
e671cd59
PA
80922018-01-30 Pedro Alves <palves@redhat.com>
8093
8094 PR gdb/13211
8095 * gdb.base/interrupt-daemon.c: New.
8096 * gdb.base/interrupt-daemon.exp: New.
8097 * gdb.multi/multi-term-settings.c: New.
8098 * gdb.multi/multi-term-settings.exp: New.
8099
fc413dc4
JB
81002018-01-30 Joel Brobecker <brobecker@adacore.com>
8101
8102 * gdb.base/break.exp: Save the location where the breakpoint
8103 on break.c:47 was actually inserted when debugging the version
8104 compiled at -O2 and use it in the expected output of the "info
8105 break" test performed soon after.
8106
5c319bb2
PA
81072018-01-22 Pedro Alves <palves@redhat.com>
8108 Sergio Durigan Junior <sergiodj@redhat.com>
8109
8110 * gdb.base/whatis.exp: Add tests for 'set print object on' +
8111 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
8112
a9e40818
JB
81132018-01-22 Joel Brobecker <brobecker@adacore.com>
8114
8115 * gdb.base/break-include.c, gdb.base/break-include.inc,
8116 gdb.base/break-include.exp: New files.
8117 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
8118 line number now being the actual line number where the breakpoint
8119 was inserted.
8120 * gdb.mi/mi-break.exp: Likewise.
8121 * gdb.mi/mi-reverse.exp: Likewise.
8122 * gdb.mi/mi-simplerun.exp: Ditto.
8123
e707fc44
AB
81242018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8125
8126 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
8127 varobj.
8128 * gdb.mi/mi-var-create-rtti.exp: Likewise.
8129
ae451627
AB
81302018-01-21 Don Breazeal <donb@codesourcery.com>
8131 Andrew Burgess <andrew.burgess@embecosm.com>
8132
8133 * gdb.mi/basics.c: Add new global.
8134 * gdb.mi/mi-frame-regs.exp: New file.
8135 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
8136 case.
8137
b1b189e0
AB
81382018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
8139
8140 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
8141 non-parameter, and on an unknown symbol.
8142
fcfcc376
TT
81432018-01-19 Tom Tromey <tom@tromey.com>
8144
8145 * gdb.rust/modules.rs (TWENTY_THREE): New global.
8146 * gdb.rust/modules.exp: Add ::-qualified lookup test.
8147
634c1c31
AA
81482018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8149
8150 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
8151 setrlimit and chdir to int.
8152
d6ad07fd
AA
81532018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8154
8155 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
8156 function.
8157 (my_tend): Likewise.
8158 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
8159 rationale of avoiding FP- and vector instructions.
8160
adf8243b
RK
81612018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
8162
8163 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
8164 "info reg" with "\[ \t\]*".
8165 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
8166 "\[ \t\]+".
8167 * gdb.arch/s390-multiarch.exp: Ditto.
8168 * gdb.base/pc-fp.exp: Ditto.
8169 * gdb.reverse/i386-precsave.exp: Ditto.
8170 * gdb.reverse/i386-reverse.exp: Ditto.
8171 * gdb.reverse/i387-env-reverse.exp: Ditto.
8172 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8173
dcc06925
AA
81742018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8175
8176 * lib/gdb.exp (gdb_compile): Re-enable use of
8177 universal_compile_options for languages other than Rust.
8178
25d4fd80
AA
81792018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
8180
8181 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
8182
ee7f689e 81832018-01-17 Mike Gulick <mgulick@mathworks.com>
41667530
MG
8184
8185 PR gdb/16577
8186 * gdb.base/solib-vanish.exp: New.
8187 * gdb.base/solib-vanish-main.c: New.
8188 * gdb.base/solib-vanish-lib1.c: New.
8189 * gdb.base/solib-vanish-lib2.c: New.
8190
d8447b6b
YQ
81912018-01-17 Yao Qi <yao.qi@linaro.org>
8192
8193 * gdb.compile/compile.exp: Match the address printed for
8194 frame in the output of command "bt".
8195
86d6a90c
TT
81962018-01-15 Tom Tromey <tom@tromey.com>
8197
8198 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
8199 compute sp_reg.
8200
cbcdb1aa
AB
82012018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8202
8203 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
8204 to prepare.
8205 (prepare): Return 0 on error, 1 on success.
8206
eea61984
PA
82072018-01-12 Pedro Alves <palves@redhat.com>
8208
8209 * gdb.base/continue-after-aborted-step-over.c: New.
8210 * gdb.base/continue-after-aborted-step-over.exp: New.
8211
6181e9c2
SM
82122018-01-11 Simon Marchi <simon.marchi@ericsson.com>
8213
8214 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
8215 options when not creating an executable.
8216
3cada740
PA
82172018-01-11 Pedro Alves <palves@redhat.com>
8218
8219 PR remote/22597
8220 * gdb.server/stop-reply-no-thread.c: New file.
8221 * gdb.server/stop-reply-no-thread.exp: New file.
8222
c63d3e8d
PA
82232018-01-10 Pedro Alves <palves@redhat.com>
8224
8225 PR gdb/22670
8226 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
8227 functions too. Test setting breakpoints and printing C functions
8228 with no debug info too.
8229 * gdb.ada/bp_c_mixed_case/qux.c: New file.
8230
d4c2a405
PA
82312018-01-10 Pedro Alves <palves@redhat.com>
8232
8233 PR gdb/22670
8234 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
8235 a fail.
8236
8825213e
PA
82372018-01-10 Pedro Alves <palves@redhat.com>
8238
8239 PR gdb/22670
8240 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
8241
605fd3c6
YQ
82422018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8243
8244 * gdb.server/unittest.exp: Match the output in non-development
8245 mode.
8246
1e5ded6c
YQ
82472018-01-08 Simon Marchi <simon.marchi@ericsson.com>
8248
8249 * gdb.gdb/unittest.exp: Match output in non-development mode.
8250
30066b0b
JB
82512018-01-08 Joel Brobecker <brobecker@adacore.com>
8252
8253 * gdb.ada/access_tagged_param.exp: Relax expected output
8254 for value of "ObjL" in "continue" to pck.inspect breakpoint
8255 test.
8256
04bafb1e
XR
82572018-01-08 Joel Brobecker <brobecker@adacore.com>
8258
9f86398b
JB
8259 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
8260 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
04bafb1e 8261
e379cee6
PA
82622018-01-05 Pedro Alves <palves@redhat.com>
8263
8264 PR gdb/18653
8265 * gdb.base/libsegfault.exp: New.
8266
de63c46b
PA
82672018-01-05 Joel Brobecker <brobecker@adacore.com>
8268
8269 PR gdb/22670
8270 * gdb.ada/access_tagged_param.exp: New file.
8271 * gdb.ada/access_tagged_param/foo.adb: New file.
8272
f98fc17b
PA
82732018-01-05 Pedro Alves <palves@redhat.com>
8274
8275 PR gdb/22670
8276 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
8277 exercise lower case too, and to exercise both full matching and
8278 wild matching.
8279
342f8240
JB
82802018-01-05 Joel Brobecker <brobecker@adacore.com>
8281
8282 * gdb.ada/rename_subscript_param: New testcase.
8283
7150d33c
JG
82842018-01-05 Jerome Guitton <guitton@adacore.com>
8285
8286 * gdb.ada/arr_acc_idx_w_gap: New testcase.
8287
cc0e770c
JB
82882018-01-05 Joel Brobecker <brobecker@adacore.com>
8289
8290 * gdb.ada/convvar_comp: New testcase.
8291
672a41aa 82922018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
8293
8294 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
8295 (My_Table): New global variable.
8296 * testsuite/gdb.ada/array_char_idx.exp: Add test.
8297
7365ec2f
JB
82982018-01-04 Joel Brobecker <brobecker@adacore.com>
8299
8300 PR gdb/22670
8301 * gdb.ada/maint_with_ada: New testcase.
8302
289483b6
JB
83032018-01-04 Joel Brobecker <brobecker@adacore.com>
8304
8305 PR gdb/22670
8306 * gdb.ada/bp_c_mixed_case: New testcase.
8307
344420da
JB
83082018-01-04 Joel Brobecker <brobecker@adacore.com>
8309
8310 PR gdb/22670
8311 * gdb.ada/complete.exp: Add "complete break ada" test.
8312
66fc87a0
JB
83132018-01-04 Joel Brobecker <brobecker@adacore.com>
8314
8315 PR gdb/22670
8316 * gdb.ada/info_addr_mixed_case: New testcase.
8317
9f757bf7
XR
83182018-01-03 Xavier Roirand <roirand@adacore.com>
8319
8320 * gdb.ada/excep_handle.exp: New testcase.
8321 * gdb.ada/excep_handle/foo.adb: New file.
8322 * gdb.ada/excep_handle/pck.ads: New file.
8323
bd570f80
JB
83242018-01-03 Joel Brobecker <brobecker@adacore.com>
8325
8326 * gdb.base/step-line.c: Add extra empty line in copyright header.
8327 * gdb.base/step-line.inp: Likewise.
8328
9fe561ab
JB
83292018-01-02 Joel Brobecker <brobecker@adacore.com>
8330
8331 * gdb.ada/dyn_stride.exp: Add slice test.
8332
a405673c
JB
83332018-01-02 Joel Brobecker <brobecker@adacore.com>
8334
8335 * gdb.ada/dyn_stride: New testcase.
8336
cef0f868
SH
83372017-12-27 Stafford Horne <shorne@gmail.com>
8338
8339 * gdb.xml/extra-regs.xml: Add example foo reggroup.
8340 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
8341
b67d92b0
SH
83422017-12-27 Stafford Horne <shorne@gmail.com>
8343
8344 * gdb.base/reggroups.c: New file.
8345 * gdb.base/reggroups.exp: New file.
8346
eccab96d
JB
83472017-12-18 Joel Brobecker <brobecker@adacore.com>
8348
8349 * gdb.dwarf2/ada-valprint-error.c: New file.
8350 * gdb.dwarf2/ada-valprint-error.exp: New file.
8351
0e2da9f0
JB
83522017-12-18 Joel Brobecker <brobecker@adacore.com>
8353
8354 * gdb.ada/assign_arr: New testcase.
8355
cb923fcc
XR
83562017-12-18 Xavier Roirand <roirand@adacore.com>
8357
8358 * gdb.ada/funcall_ptr: New testcase.
8359
7c161838
SDJ
83602017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8361
8362 PR cli/16224
8363 * gdb.base/ptype-offsets.cc: New file.
8364 * gdb.base/ptype-offsets.exp: New file.
8365
1af17fd9
YQ
83662017-12-15 Yao Qi <yao.qi@linaro.org>
8367
8368 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
8369 if XML is disabled.
8370
828d5846
XR
83712017-12-15 Xavier Roirand <roirand@adacore.com>
8372
8373 * gdb.ada/same_component_name: New testcase.
8374
79e8fcaa
JB
83752017-12-14 Joel Brobecker <brobecker@adacore.com>
8376
8377 * gdb.ada/str_binop_equal: New testcase.
8378
e05fa6f9
JB
83792017-12-14 Joel Brobecker <brobecker@adacore.com>
8380
8381 * gdb.ada/task_switch_in_core: New testcase.
8382
b89641ba
SM
83832017-12-13 Simon Marchi <simon.marchi@ericsson.com>
8384
8385 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
8386 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
8387 call test_bkpt_qualified.
8388 (test_bkpt_qualified): New proc.
8389
6892d2e4
PA
83902017-12-13 Pedro Alves <palves@redhat.com>
8391
8392 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
8393 Tighten regexp by matching with an anchor.
8394
a22ecf70
PA
83952017-12-13 Pedro Alves <palves@redhat.com>
8396
8397 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
8398 ("expression with namespace"): New set of tests.
8399 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
8400 (Nested::Test_NS::qux): New.
8401 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
8402 defaults to 'start_quote_char' and 'end_quote_char' parameters.
8403
9937536c
JB
84042017-12-13 Joel Brobecker <brobecker@adacore.com>
8405
8406 * gdb.base/server-del-break.c: New file.
8407 * gdb.base/server-del-break.exp: New file.
8408
fe49c6f5
SH
84092017-12-12 Stafford Horne <shorne@gmail.com>
8410
8411 * gdb.xml/tdesc-regs.exp: Add or1k support.
8412
c3d18620
SH
84132017-12-12 Stafford Horne <shorne@gmail.com>
8414
8415 * gdb.base/bp-permanent.c: Define nop of or1k.
8416
c5f9cfc8
JB
84172017-12-11 Joel Brobecker <brobecker@adacore.com>
8418
8419 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
8420 output with components being reordered.
8421
a9c135fc
JB
84222017-12-11 Joel Brobecker <brobecker@adacore.com>
8423
8424 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
8425 output with components being reordered.
8426
927aa2e7
JK
84272017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8428 Pedro Alves <palves@redhat.com>
8429
8430 * gdb.base/maint.exp (check for .gdb_index): Check also for
8431 .debug_names.
8432 * gdb.dlang/watch-loc.c (.debug_aranges): New.
8433 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
8434 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
8435 (.gdb_index used after symbol reloading): Support also .debug_names.
8436 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
8437
f17d9474
YQ
84382017-12-08 Yao Qi <yao.qi@linaro.org>
8439
8440 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8441 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
8442
a0de8c21
YQ
84432017-12-08 Yao Qi <yao.qi@linaro.org>
8444
8445 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
8446 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
8447
a738ea1d
YQ
84482017-12-08 Yao Qi <yao.qi@linaro.org>
8449
8450 * gdb.arch/aarch64-tagged-pointer.c: New file.
8451 * gdb.arch/aarch64-tagged-pointer.exp: New file.
8452
1cd9a73b
SDJ
84532017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
8454
8455 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
8456 "int".
8457
fa6eb693
KS
84582017-12-07 Keith Seitz <keiths@redhat.com>
8459
8460 PR breakpoints/22569
8461 * gdb.linespec/ls-errs.exp: Change expected result of "break
8462 -source this file has spaces.c -line 3".
8463 Check that an explicit source file followed by whitespace is
8464 identified as an invalid explicit location.
8465
883fd55a
KS
84662017-12-07 Keith Seitz <keiths@redhat.com>
8467
8468 * gdb.cp/nested-types.cc: New file.
8469 * gdb.cp/nested-types.exp: New file.
8470 * lib/cp-support.exp: Load data-structures.exp library.
8471 (debug_cp_test_ptype_class): New global.
8472 (cp_ptype_class_verbose, next_line): New procedures.
8473 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
8474 Add and document new return value.
8475 Switch the list of lines to a queue.
8476 Add support for new `type' key for nested type definitions.
8477 Add debugging/troubleshooting messages.
8478 * lib/data-structures.exp: New file.
8479
ec72db3e
SM
84802017-12-07 Simon Marchi <simon.marchi@ericsson.com>
8481
8482 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
8483 with proc_with_prefix, don't use with_test_prefix.
8484
99598d71
TT
84852017-12-07 Tom Tromey <tom@tromey.com>
8486
8487 * gdb.base/break.exp: Add test for empty "commands".
8488
a8806230
YQ
84892017-12-07 Yao Qi <yao.qi@linaro.org>
8490
8491 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
8492 malloc and catch syscall.
8493
824cc835
PM
84942017-12-07 Phil Muldoon <pmuldoon@redhat.com>
8495
e79be6e5 8496 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
824cc835
PM
8497 tests for explicit locations.
8498
7cc244de
PA
84992017-12-06 Pedro Alves <palves@redhat.com>
8500
8501 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
8502 force-disabling XML descriptions.
8503
50a1fdd5
PA
85042017-12-04 Pedro Alves <palves@redhat.com>
8505
8506 PR gdb/22499
8507 * gdb.arch/amd64-disp-step-avx.S: New file.
8508 * gdb.arch/amd64-disp-step-avx.exp: New file.
8509
f0fb2488
PA
85102017-12-03 Pedro Alves <palves@redhat.com>
8511
8512 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
8513 and <string.h>.
8514 (parent_function): Print distinct messages when waitpid fails, or
8515 the child exits with a signal, or the child exits for an unhandled
8516 reason.
8517 * gdb.threads/process-dies-while-detaching.exp
8518 (detach_and_expect_exit): New 'inf_output_re' parameter and use
8519 it. Wait for both inferior output and GDB's prompt. Use an
8520 indirect spawn id list.
8521 (do_detach): New parameter 'child_exit'. Use it to compute
8522 expected inferior output.
8523 (test_detach, test_detach_watch, test_detach_killed_outside):
8524 Adjust to pass down the expected child exit kind.
8525
97cbe998
SDJ
85262017-12-01 Joel Brobecker <brobecker@adacore.com>
8527 Sergio Durigan Junior <sergiodj@redhat.com>
8528 Pedro Alves <palves@redhat.com>
8529
8530 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
8531
40fc416f
SDJ
85322017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
8533
8534 * gdb.base/relocate.exp: Add tests to guarantee that arguments
8535 to 'symbol-file' and 'add-symbol-file' can be
8536 position-independent.
8537
1cc75e92
YQ
85382017-12-01 Yao Qi <yao.qi@linaro.org>
8539
8540 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
8541 the URL in copyright header.
8542 * gdb.arch/aarch64-fp.exp: Likewise.
8543 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
8544 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
8545 * gdb.base/expand-psymtabs.exp: Likewise.
8546 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
8547 * gdb.fortran/common-block.exp: Likewise.
8548 * gdb.fortran/common-block.f90: Likewise.
8549 * gdb.fortran/logical.exp: Likewise.
8550 * gdb.fortran/vla-datatypes.f90: Likewise.
8551 * gdb.fortran/vla-sub.f90: Likewise.
8552
875fb7a7
JB
85532017-11-30 Joel Brobecker <brobecker@adacore.com>
8554
8555 * gdb.ada/repeat_dyn: New testcase.
8556
6f14765f
UW
85572017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8558
8559 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
8560 Update for changed thread numbering.
8561 * gdb.cell/bt.exp: Update for changed GDB output.
8562
f1af7b94
SM
85632017-11-30 Simon Marchi <simon.marchi@ericsson.com>
8564
8565 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
8566 setting isremote by hand.
8567 * boards/dwarf4-gdb-index.exp: Likewise.
8568 * boards/fission.exp: Likewise.
8569 * boards/stabs.exp: Likewise.
8570
e3919f3e
PA
85712017-11-30 Pedro Alves <palves@redhat.com>
8572
8573 * gdb.linespec/cpls-ops.exp
8574 (check_explicit_skips_function_argument): Extract the underlying
8575 type of size_t instead of hardcoding it.
8576
bd69330d
PA
85772017-11-29 Pedro Alves <palves@redhat.com>
8578
8579 PR c++/19436
8580 * gdb.linespec/cpls-abi-tag.cc: New file.
8581 * gdb.linespec/cpls-abi-tag.exp: New file.
8582
a20714ff
PA
85832017-11-29 Pedro Alves <palves@redhat.com>
8584
8585 * gdb.base/langs.exp: Use -qualified.
8586 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
8587 it.
8588 * gdb.cp/namespace.exp: Use -qualified.
8589 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
8590 (overload-3, template-overload, template-ret-type, const-overload)
8591 (const-overload-quoted, anon-ns, ambiguous-prefix): New
8592 procedures.
8593 (test_driver): Call them.
8594 * gdb.cp/save-bp-qualified.cc: New.
8595 * gdb.cp/save-bp-qualified.exp: New.
8596 * gdb.linespec/explicit.exp: Test -qualified.
8597 * lib/completion-support.exp (completion::explicit_opts_list): Add
8598 "-qualified".
8599 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
8600
f6f1d339
PM
86012017-11-29 Phil Muldoon <pmuldoon@redhat.com>
8602
8603 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
8604
02ca603a
TT
86052017-11-29 Tom Tromey <tom@tromey.com>
8606
8607 * gdb.base/relocate.exp: Update invalid argument test.
8608 Add new tests for invalid arguments.
8609
ed6c0bfb
TP
86102017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8611
8612 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
8613 Return 0 as a long.
8614 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
8615
f106e10e
TP
86162017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
8617
8618 * gdb.cp/breakpoint.cc (bar): Set return type to void.
8619 * gdb.cp/psymtab-parameter.cc (func): Likewise.
8620 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
8621 func ().
8622 * gdb.cp/shadow.cc (B.func): Return 0.
8623
10329bb2
JB
86242017-11-27 Joel Brobecker <brobecker@adacore.com>
8625
8626 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
8627 expected output in gdb_expect call to allow the exception
8628 message to be present as well. Fix syntax confusion to avoid
8629 TCL thinking that exception_name is an array.
8630
617cd4bc
UW
86312017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
8632
8633 * gdb.arch/spu-info.c: Include <unistd.h>.
8634 (do_signal_test): Fix broken calls to write.
8635 * gdb.arch/spu-info.exp: Use prepare_for_testing.
8636 Fix checks for empty mailboxes. Update signal tests for corrected
8637 do_signal_test routine. Allow nonzero event status.
58f7f0bf
UW
8638 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
8639 * gdb.cell/arch.exp: Use standard_output_file.
8640 * gdb.cell/break.exp: Likewise.
8641 * gdb.cell/bt.exp: Likewise.
8642 * gdb.cell/core.exp: Likewise.
8643 * gdb.cell/dwarfaddr.exp: Likewise.
8644 * gdb.cell/ea-cache.exp: Likewise.
8645 * gdb.cell/ea-standalone.exp: Likewise.
8646 * gdb.cell/f-regs.exp: Likewise.
8647 * gdb.cell/fork.exp: Likewise.
8648 * gdb.cell/gcore.exp: Likewise.
8649 * gdb.cell/mem-access.exp: Likewise.
8650 * gdb.cell/ptype.exp: Likewise.
8651 * gdb.cell/registers.exp: Likewise.
8652 * gdb.cell/sizeof.exp: Likewise.
8653 * gdb.cell/solib-symbol.exp: Likewise.
8654 * gdb.cell/solib.exp: Likewise.
617cd4bc 8655
a81aaca0
PA
86562017-11-25 Pedro Alves <palves@redhat.com>
8657
8658 * gdb.base/complete-empty.exp: New file.
8659 * gdb.base/completion.exp: Adjust.
8660
6a3c6ee4
PA
86612017-11-25 Pedro Alves <palves@redhat.com>
8662
8663 * gdb.linespec/cpls-ops.cc: New file.
8664 * gdb.linespec/cpls-ops.exp: New file.
8665 * lib/completion-support.exp (test_complete_prefix_range_re): New,
8666 factored out from ...
8667 (test_complete_prefix_range): ... this.
8668
8955eb2d
PA
86692017-11-24 Pedro Alves <palves@redhat.com>
8670
8671 * gdb.linespec/cpcompletion.exp: New file.
8672 * gdb.linespec/cpls-hyphen.cc: New file.
8673 * gdb.linespec/cpls.cc: New file.
8674 * gdb.linespec/cpls2.cc: New file.
8675 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
8676 test to use test_gdb_complete_unique. Add label completion,
8677 keyword completion and explicit location completion tests.
8678 * lib/completion-support.exp: New file.
8679
e547c119
JB
86802017-11-24 Joel Brobecker <brobecker@adacore.com>
8681
8682 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
8683 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
8684 when hitting an exception catchpoint.
8685
7c3c1aa8
YQ
86862017-11-22 Yao Qi <yao.qi@linaro.org>
8687
8688 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
8689
41bd68f5
SM
86902017-11-22 Simon Marchi <simon.marchi@ericsson.com>
8691
8692 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
8693 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
8694 * gdb.dwarf2/info-locals-optimized-out.c: New file.
8695
1daad298
YQ
86962017-11-22 Yao Qi <yao.qi@linaro.org>
8697
8698 * gdb.base/info-os.exp: Pass pthreads.
8699 * gdb.multi/multi-attach.exp: Likewise.
8700
88465e87
YQ
87012017-11-22 Yao Qi <yao.qi@linaro.org>
8702
8703 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
8704 compiler.
8705
dc196b23
YQ
87062017-11-22 Yao Qi <yao.qi@linaro.org>
8707
8708 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
8709 * gdb.base/break-interp.exp: Likewise.
8710 * gdb.base/jit-attach-pie.exp: Likewise.
8711
2400729e
UW
87122017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8713
8714 * gdb.base/float128.c (large128): New variable.
8715 * gdb.base/float128.exp: Add test to print largest __float128 value.
8716
7a26362d
UW
87172017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
8718
8719 * gdb.arch/vsx-regs.exp: Update register content checks.
8720
ed0f4273
UW
87212017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
8722
8723 * gdb.arch/ppc-longdouble.exp: New file.
8724 * gdb.arch/ppc-longdouble.c: Likewise.
8725
a25d69c6
PA
87262017-11-21 Pedro Alves <palves@redhat.com>
8727
8728 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
8729
73fcf641
PA
87302017-11-20 Pedro Alves <palves@redhat.com>
8731
8732 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
8733 (long_double_typedef): New typedefs.
8734 Use DEF on double and long double.
8735 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
8736 cases.
8737 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
8738 and 'long_double_ptr_same_size' locals. Use them to decide
8739 whether cast from array/function to float is valid/invalid.
8740
71a3c369
TT
87412017-11-17 Tom Tromey <tom@tromey.com>
8742
8743 * gdb.rust/traits.rs: New file.
8744 * gdb.rust/traits.exp: New file.
8745
ced9779b
JB
87462017-11-17 Joel Brobecker <brobecker@adacore.com>
8747
8748 * gdb.ada/minsyms: New testcase.
8749
a0922d80
PA
87502017-11-16 Pedro Alves <palves@redhat.com>
8751
8752 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
8753 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
8754
ea04e54c
PA
87552017-11-16 Pedro Alves <palves@redhat.com>
8756
8757 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
8758 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
8759
e849ea89
PA
87602017-11-16 Pedro Alves <palves@redhat.com>
8761
8762 * gdb.server/reconnect-ctrl-c.c: New file.
8763 * gdb.server/reconnect-ctrl-c.exp: New file.
8764
d8ae99a7
PM
87652017-11-16 Phil Muldoon <pmuldoon@redhat.com>
8766
8767 * gdb.python/py-rbreak.exp: New file.
8768 * gdb.python/py-rbreak.c: New file.
8769 * gdb.python/py-rbreak-func2.c: New file.
8770
968a13f8
PA
87712017-11-16 Pedro Alves <palves@redhat.com>
8772
8773 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
8774 pattern.
8775 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
8776 GDB.
8777
71774bc9
SM
87782017-11-15 Simon Marchi <simon.marchi@ericsson.com>
8779
8780 * gdb.tui/completionn.exp (test_tab_completion): Add space in
8781 regex.
8782
ddbb44cf
SM
87832017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
8784
8785 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
8786 test names.
8787
584a564f
PA
87882017-11-09 Pedro Alves <palves@redhat.com>
8789
8790 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
8791 factored out from ...
8792 (top level): ... here, and adjusted to avoid expecting beyond the
8793 prompt in a single gdb_test_multiple.
8794
5ed7a928
PA
87952017-11-09 Pedro Alves <palves@redhat.com>
8796
8797 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
8798 output.
8799 * gdb.server/ext-attach.exp ("kill" test): Likewise.
8800 * gdb.server/ext-restart.exp ("kill" test): Likewise.
8801 * gdb.server/ext-run.exp ("kill" test): Likewise.
8802 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
8803
a60e0738
PA
88042017-11-09 Pedro Alves <palves@redhat.com>
8805
8806 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
8807 match till end of line.
8808
2c88253f
PA
88092017-11-09 Pedro Alves <palves@redhat.com>
8810
8811 * gdb.base/memattr.exp: Tighten regexes to match the end line.
8812
c7a38517
PA
88132017-11-09 Pedro Alves <palves@redhat.com>
8814
8815 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
8816 New procedures, factored out from ...
8817 (top level): ... here, and adjusted to avoid expecting beyond the
8818 prompt in one go.
8819
f29f4b6b
PA
88202017-11-09 Pedro Alves <palves@redhat.com>
8821
8822 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
8823 output. Fix '?' match.
8824
286acbb5
JB
88252017-11-08 Joel Brobecker <brobecker@adacore.com>
8826
8827 * gdb.ada/scoped_watch: New testcase.
8828 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
8829 which is actually correct.
8830 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
8831 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
8832
62d7ae92
PA
88332017-11-08 Pedro Alves <palves@redhat.com>
8834
8835 * gdb.gdb/complaints.exp (test_initial_complaints)
8836 (test_serial_complaints, test_short_complaints): Call
8837 complaint_internal instead of complaint.
8838
280ca31f
DT
88392017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
8840
8841 * gdb.threads/tls-core.c: New file.
8842 * gdb.threads/tls-core.exp: Likewise.
8843
b5ec771e
PA
88442017-11-08 Pedro Alves <palves@redhat.com>
8845
8846 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
8847 (p Exported_Capitalized): New test.
8848 (p exported_capitalized): New test.
8849
a02b41a7
PA
88502017-11-07 Pedro Alves <palves@redhat.com>
8851
8852 * gdb.cp/ena-dis-br-range.exp: Add more tests.
8853
95e95a6d
PA
88542017-11-07 Pedro Alves <palves@redhat.com>
8855
8856 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
8857 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
8858 (disable_invalid, disable_inverted, disable_negative): New
8859 procedures.
8860 ("bad numbers"): New set of tests.
8861
cee62dbd
PA
88622017-11-07 Pedro Alves <palves@redhat.com>
8863
8864 * gdb.cp/ena-dis-br-range.exp: Add tests.
8865
cc638e86
PA
88662017-11-07 Pedro Alves <palves@redhat.com>
8867
8868 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
8869
d0fe4701
XR
88702017-11-07 Xavier Roirand <roirand@adacore.com>
8871 Pedro Alves <palves@redhat.com>
8872
8873 * gdb.base/ena-dis-br.exp: Add reference to
8874 gdb.cp/ena-dis-br-range.exp.
8875 * gdb.cp/ena-dis-br-range.exp: New file.
8876 * gdb.cp/ena-dis-br-range.cc: New file.
8877
46f67f80
PA
88782017-11-06 Pedro Alves <palves@redhat.com>
8879
8880 * gdb.base/attach-non-pgrp-leader.c: New.
8881 * gdb.base/attach-non-pgrp-leader.exp: New.
8882
726e1356
PA
88832017-11-06 Pedro Alves <palves@redhat.com>
8884
8885 * configure.ac: No longer check for termio.h and sgtty.h.
8886 * configure: Regenerate.
8887 * remote-utils.c: Include termios.h instead of gdb_termios.h.
8888 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
8889 Remove termio and sgtty code.
8890
50ab6ace
YQ
88912017-11-03 Yao Qi <yao.qi@linaro.org>
8892
8893 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
8894 in GDB is disabled.
8895
8e68731c
YQ
88962017-11-03 Yao Qi <yao.qi@linaro.org>
8897
8898 * gdb.python/py-thrhandle.exp: Skip it if python is not
8899 enabled.
8900
3a87ae65
SM
89012017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
8902
8903 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
8904 as a breakpoint command.
8905
484d8d36
MD
89062017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
8907
8908 PR python/21213
8909 * gdb.python/py-infthread.exp: Test calling
8910 InferiorThread.inferior () multiple times in a row.
8911
4a27f119
KS
89122017-10-27 Keith Seitz <keiths@redhat.com>
8913
8914 * gdb.opt/inline-break.exp (break_info_1): New procedure.
8915 Test "info break" for every inlined function breakpoint.
8916
bb11dd58
YQ
89172017-10-27 Yao Qi <yao.qi@linaro.org>
8918
8919 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
8920
a43f3893
PF
89212017-10-26 Patrick Frants <osscontribute@gmail.com>
8922
8923 * gdb.cp/classes.exp (test_static_members): Test printing
8924 Outer::instance.
8925 * gdb.cp/classes.c (struct Inner, struct Outer): New.
8926 (Inner::instance, Outer::instance): New.
8927
792ccf00
PA
89282017-10-24 Pedro Alves <palves@redhat.com>
8929
8930 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
8931 extra console" test in two stages.
8932
eb2bfbad
PA
89332017-10-24 Pedro Alves <palves@redhat.com>
8934
8935 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
8936
1f75a651
PA
89372017-10-24 Pedro Alves <palves@redhat.com>
8938
8939 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
8940 loop.
8941
779990d9
PA
89422017-10-24 Pedro Alves <palves@redhat.com>
8943
8944 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
8945 $attempt" and "stoppedtry $stoppedtry" test prefixes.
8946
ad9b8f5d
PA
89472017-10-24 Pedro Alves <palves@redhat.com>
8948
8949 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
8950 parameter and handle it. Don't output read value in test name.
8951
fee6da6e
PA
89522017-10-24 Pedro Alves <palves@redhat.com>
8953
8954 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
8955 custom test name.
8956
10389c2c
PA
89572017-10-24 Pedro Alves <palves@redhat.com>
8958
8959 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
8960 include the unstable output directory name in the test's name.
8961 (initial_setup_simple) <'set args'>: Use custom test name.
8962
a80e65a9
PA
89632017-10-24 Pedro Alves <palves@redhat.com>
8964
8965 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
8966 with explicit test name.
8967
15763a09
PA
89682017-10-20 Pedro Alves <palves@redhat.com>
8969
8970 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
8971 'wait -i'. Use gdb_assert and remote_close.
8972
49a4ce2e
AB
89732017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
8974
8975 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
8976 number from variable rather than hard-coded.
8977
a75868f5
PA
89782017-10-19 Pedro Alves <palves@redhat.com>
8979
8980 * gdb.base/long-inferior-output.c: New file.
8981 * gdb.base/long-inferior-output.exp: New file.
8982
c8ba13ad
KS
89832017-11-18 Keith Seitz <keiths@redhat.com>
8984
8985 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
8986 method.
8987 (main): Call it.
8988 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
8989 Add additional user-defined conversion operator tests.
8990
b27de576
PA
89912017-10-17 Pedro Alves <palves@redhat.com>
8992
8993 * boards/native-stdio-gdbserver.exp: Load "local-board".
8994
8484c955
PA
89952017-10-17 Pedro Alves <palves@redhat.com>
8996
8997 * gdb.base/quit-live.c: New file.
8998 * gdb.base/quit-live.exp: New file.
8999
83d5a34d
KS
90002017-10-16 Keith Seitz <keiths@redhat.com>
9001
9002 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
9003 (class_with_protected_typedef, class_with_private_typedef)
9004 (struct_with_public_typedef, struct_with_protected_typedef)
9005 (struct_with_private_typedef): New classes/structs.
9006 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
9007 typedefs and access specifiers.
9008
739b3f1d
PA
90092017-10-16 Pedro Alves <palves@redhat.com>
9010 Simon Marchi <simon.marchi@polymtl.ca>
9011
9012 * README (Local vs Remote vs Native): New section.
9013 * boards/local-board.exp: New file, with bits factored out from
9014 ...
9015 * boards/native-extended-gdbserver.exp: ... here. Load
9016 "local-board".
9017 * boards/native-gdbserver.exp: Load "local-board".
9018 (${board}_spawn, ${board}_exec): Delete.
9019 * boards/native-stdio-gdbserver.exp: Most contents factored out to
9020 ...
9021 * boards/stdio-gdbserver-base.exp: ... this new file.
9022 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
9023 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
9024 procedure.
9025 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
9026 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
9027 stdio_gdbserver_command.
9028 (${board}_get_remote_address, ${board}_get_comm_port)
9029 (${board}_download, ${board}_upload): Delete.
9030 (get_target_remote_pipe_cmd): New.
9031
fe68b953
SM
90322017-10-16 Simon Marchi <simon.marchi@ericsson.com>
9033
9034 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
9035 test_bkpt_deletion, test_bkpt_cond_and_cmds,
9036 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
9037 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
9038 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
9039 remove with_test_prefix.
9040
300b6685
PA
90412017-10-13 Pedro Alves <palves@redhat.com>
9042
9043 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
9044 * gdb.base/annota1.exp: Use it instead of is_remote.
9045 * gdb.base/annota3.exp: Use it instead of is_remote.
9046 * gdb.cp/annota2.exp: Use it instead of is_remote.
9047 * gdb.cp/annota3.exp: Use it instead of is_remote.
9048 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
9049
50500caf
PA
90502017-10-13 Pedro Alves <palves@redhat.com>
9051
9052 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
9053 (test_num_test_vars, run_and_count_vars, find_env)
9054 (test_set_unset_env, test_inherit_env_var): New procedures.
9055 (top level): Use them.
9056
dad0c6d2
PA
90572017-10-13 Pedro Alves <palves@redhat.com>
9058
9059 * lib/selftest-support.exp (selftest_setup): Extend comments, and
9060 also skip on stub-like targets.
9061
8b0553c1
PA
90622017-10-13 Pedro Alves <palves@redhat.com>
9063
9064 PR gdb/22293
9065 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
9066 (top level): Move some tests to ...
9067 (test_not_found): ... this new procedure.
9068 (top level): Call it.
9069
7594f623
PA
90702017-10-13 Pedro Alves <palves@redhat.com>
9071
9072 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
9073 expect different "info terminal" output if testing with a
9074 non-native target.
9075
ebe3b402
PA
90762017-10-13 Pedro Alves <palves@redhat.com>
9077 Simon Marchi <simon.marchi@polymtl.ca>
9078
9079 PR python/12966
9080 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
9081
42f1b161
PA
90822017-10-13 Pedro Alves <palves@redhat.com>
9083
9084 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
9085 already.
9086
8d6ef72b
PA
90872017-10-13 Pedro Alves <palves@redhat.com>
9088
9089 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
9090 is_remote.
9091
d7bcd5b8
PA
90922017-10-13 Pedro Alves <palves@redhat.com>
9093
9094 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
9095 is_remote.
9096
df479dc6
PA
90972017-10-13 Pedro Alves <palves@redhat.com>
9098
9099 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
9100 is set.
9101 (corefile_test_attach): Likewise. Check can_spawn_for_attach
9102 instead of is_remote.
9103
23fb630a
PA
91042017-10-13 Pedro Alves <palves@redhat.com>
9105
9106 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
9107 (top level): Add comment.
9108
cc77b1dc
PA
91092017-10-13 Pedro Alves <palves@redhat.com>
9110
9111 * gdb.base/remote.exp (top level): Fix comment typo and add
9112 missing return.
9113
27c9e813
PA
91142017-10-13 Pedro Alves <palves@redhat.com>
9115 Simon Marchi <simon.marchi@polymtl.ca>
9116
9117 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
9118 calls and add comments. Skip test if use_gdb_stub is set.
9119 (top level): Use "set cwd" command instead of "cd" command.
9120
5e830d98
PA
91212017-10-13 Pedro Alves <palves@redhat.com>
9122
9123 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
9124 is_remote target check.
9125
f5ca0032
PA
91262017-10-13 Pedro Alves <palves@redhat.com>
9127
9128 * gdb.base/scope.exp: Use build_executable + clean_restart +
9129 gdb_file_cmd instead of prepare_for_testing and no longer skip
9130 "before run" tests on is_remote target boards. Update comments.
9131 * boards/native-extended-gdbserver.exp
9132 (extended_gdbserver_load_last_file): New, factored out from ...
9133 (gdb_load): ... this. Move further below and add comment.
9134 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
9135
8aed1c0d
PA
91362017-10-12 Pedro Alves <palves@redhat.com>
9137
9138 * gdb.base/attach.exp: Remove references to gdb64.
9139 * gdb.base/dbx.exp: Remove references to gdb64.
9140
cfa34c87
SM
91412017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9142 Pedro Alves <palves@redhat.com>
9143
9144 * gdb.base/label.exp: Remove is_remote target check.
9145
9192b7de
PA
91462017-10-12 Pedro Alves <palves@redhat.com>
9147
9148 * gdb.base/auvx.exp (coredir): Update comment.
9149 (top level) <core_works>: Use "set cwd" command instead of "cd"
9150 command.
9151
6bf0052d
PA
91522017-10-12 Pedro Alves <palves@redhat.com>
9153 Simon Marchi <simon.marchi@polymtl.ca>
9154
9155 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
9156 target boards.
9157
e48ef82d
PA
91582017-10-12 Pedro Alves <palves@redhat.com>
9159 Simon Marchi <simon.marchi@polymtl.ca>
9160
9161 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
9162 Instead skip if there's any gdb_protocol set.
9163
8d7aea57
SM
91642017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
9165 Pedro Alves <palves@redhat.com>
9166
9167 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
9168
30440677
PA
91692017-10-12 Pedro Alves <palves@redhat.com>
9170 Simon Marchi <simon.marchi@polymtl.ca>
9171
9172 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
9173 instead of on dejagnu remote boards.
9174
4e04f045 91752017-10-12 Pedro Alves <palves@redhat.com>
175654b9 9176 Simon Marchi <simon.marchi@polymtl.ca>
4e04f045
PA
9177
9178 * gdb.base/inferior-died.exp: Remove is_remote and isnative
9179 checks. Use build_executable + clean_restart instead of
9180 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
9181 of enabling non-stop after starting gdb.
9182
871a186e
PA
91832017-10-12 Pedro Alves <palves@redhat.com>
9184
9185 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
9186 * gdb.threads/non-ldr-exc-2.exp: Ditto.
9187 * gdb.threads/non-ldr-exc-3.exp: Ditto.
9188 * gdb.threads/non-ldr-exc-4.exp: Ditto.
9189
56d704da
AK
91902017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
9191
9192 * gdb.arch/arc-tdesc-cpu.exp: New file.
9193 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
9194
2f20e312
SM
91952017-10-10 Simon Marchi <simon.marchi@ericsson.com>
9196
9197 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
9198
65630365
PA
91992017-10-10 Pedro Alves <palves@redhat.com>
9200
9201 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
9202 expect CLI output.
9203
bf469271
PA
92042017-10-10 Pedro Alves <palves@redhat.com>
9205
9206 * lib/selftest-support.exp (selftest_setup): Update for
9207 captured_command_loop's prototype change.
9208
777a42f1
PA
92092017-10-09 Pedro Alves <palves@redhat.com>
9210
9211 Test both arch1=>arch2 and arch2=>arch1.
9212
9213 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
9214 (srcfile2, binfile2, march1, march2): Remove globals. Largely
9215 factored out to...
9216 (append_arch1_options, append_arch2_options, append_arch_options)
9217 (build_executables): New procedures.
9218 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
9219 local.
9220 (top level): Add new 'first_arch' testing axis.
9221
cbd2b4e3
PA
92222017-10-09 Pedro Alves <palves@redhat.com>
9223
9224 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
9225 (barrier): New.
9226 (thread_start, all_started): New functions.
9227 (main): Spawn new thread and wait until it is scheduled.
9228 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
9229 option.
9230 (do_test): Add 'selected_thread' parameter. Run to all_started
9231 instead of main. Explicitly set the breakpoint at main. Switch
9232 to the SELECTED_THREAD thread.
9233 (top level): Test handling the exec event with either the main
9234 thread or the second thread selected.
9235
5c9e4427
PA
92362017-10-09 Pedro Alves <palves@redhat.com>
9237
9238 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
9239 logic. Move STOP marker after the value checks.
9240 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
9241 regexp.
9242
b3b7c423
SL
92432017-10-06 Sandra Loosemore <sandra@codesourcery.com>
9244
9245 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
9246
3b4b2f16
UW
92472017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
9248
9249 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
9250 integer-to-dfp conversion.
9251 * gdb.base/dfp-test.exp: Likewise.
9252
5cd63fda
PA
92532017-10-04 Pedro Alves <palves@redhat.com>
9254
9255 * gdb.multi/hangout.c: Include <unistd.h>.
9256 (hangout_loop): New function.
9257 (main): Call alarm. Call hangout_loop in a loop.
9258 * gdb.multi/hello.c: Include <unistd.h>.
9259 (hello_loop): New function.
9260 (main): Call alarm. Call hangout_loop in a loop.
9261 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
9262 inferior with the other selected.
9263
4c71c105
SM
92642017-10-04 Simon Marchi <simon.marchi@ericsson.com>
9265
9266 * gdb.mi/list-thread-groups-available.exp: New file.
9267 * gdb.mi/list-thread-groups-available.c: New file.
9268
bc3b087d
SDJ
92692017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9270
9271 * gdb.base/set-cwd.exp: Make it available on
9272 native-extended-gdbserver.
9273
d092c5a2
SDJ
92742017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
9275
9276 * gdb.base/set-cwd.c: New file.
9277 * gdb.base/set-cwd.exp: Likewise.
9278
45320ffa
TT
92792017-10-02 Tom Tromey <tom@tromey.com>
9280
9281 PR rust/22236:
9282 * gdb.rust/simple.rs (main): New variable "fslice".
9283 * gdb.rust/simple.exp: Add slice tests. Update string tests.
9284
b3e3859b
TT
92852017-10-02 Tom Tromey <tom@tromey.com>
9286
9287 * gdb.rust/simple.exp: Test ptype of a slice.
9288
01af5e0d
TT
92892017-10-02 Tom Tromey <tom@tromey.com>
9290
9291 * gdb.rust/simple.exp: Test index of slice.
9292
a9bbfbd8
TT
92932017-09-27 Tom Tromey <tom@tromey.com>
9294
9295 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
9296
df8899e5
TP
92972017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
9298 Pedro Alves <palves@redhat.com>
9299
9300 * gdb.base/compare-sections.exp (get value of read-only section): Read
9301 as unsigned value.
9302 (corrupt read-only section): Likewise and don't set written if patching
9303 failed.
9304
757bf54b
KB
93052017-09-21 Kevin Buettner <kevinb@redhat.com>
9306
9307 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
9308 files.
9309
06871ae8
PA
93102017-09-20 Pedro Alves <palves@redhat.com>
9311
9312 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
9313 symbol names in gdb's output.
9314 * gdb.cp/overload.exp ("list all overloads"): Likewise.
9315
e5f25bc5
PA
93162017-09-20 Pedro Alves <palves@redhat.com>
9317
9318 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
9319 Rename to ...
9320 (test_list_ambiguous_symbol): ... this and add a symbol name
9321 parameter. Adjust.
9322 (test_list_ambiguous_function): Reimplement on top of
9323 test_list_ambiguous_symbol and also test listing ambiguous
9324 variables.
9325 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
9326 (ambiguous_fun): ... this.
9327 (ambiguous_var): New.
9328 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
9329 (ambiguous_fun): ... this.
9330 (ambiguous_var): New.
9331
4e5a4f58
JB
93322017-09-19 John Baldwin <jhb@FreeBSD.org>
9333
9334 * gdb.base/starti.c: New file.
9335 * gdb.base/starti.exp: New file.
9336 * lib/gdb.exp (gdb_starti_cmd): New procedure.
9337
26e53f3e
PA
93382017-09-14 Pedro Alves <palves@redhat.com>
9339
9340 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
9341 (top level): Use it instead of runto.
9342
cb791d59
TT
93432017-09-11 Tom Tromey <tom@tromey.com>
9344
9345 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
9346
7c96f8c1
TT
93472017-09-11 Tom Tromey <tom@tromey.com>
9348
9349 * gdb.python/py-infthread.exp: Add tests for new_thread event.
9350 * gdb.python/py-inferior.exp: Add tests for new inferior events.
9351
469412dd
CW
93522017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
9353
9354 * gdb.fortran/printing-types.exp: New file.
9355 * gdb.fortran/printing-types.exp: New file.
9356
e0f86435
BH
93572017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9358
9359 * gdb.fortran/vla-ptype.exp: Fix typos.
9360 * gdb.fortran/vla-value.exp: Same.
9361
9e9af4be
BH
93622017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
9363
9364 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
9365 * gdb.mi/mi-var-child-f.exp: Likewise.
9366 * gdb.mi/mi-vla-fortran.exp: Likewise.
9367
a5ad232b 93682017-09-08 Frank Penczek <frank.penczek@intel.com>
e79be6e5
SM
9369 Christoph Weinmann <christoph.t.weinmann@intel.com>
9370 Bernhard Heckel <bernhard.heckel@intel.com>
a5ad232b
FP
9371
9372 * gdb.fortran/ptr-indentation.f90: New file.
9373 * gdb.fortran/ptr-indentation.exp: New file.
9374
5aec60eb
TT
93752017-09-05 Tom Tromey <tom@tromey.com>
9376
9377 PR gdb/22010:
9378 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
9379
8f8f8152
TP
93802017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
9381
9382 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
9383
fbd1b771
JK
93842017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9385
9386 * gdb.threads/tls-nodebug-pie.c: New file.
9387 * gdb.threads/tls-nodebug-pie.exp: New file.
9388
5eb5f850
TT
93892017-09-05 Tom Tromey <tom@tromey.com>
9390
9391 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
9392 for rust.
9393
ae780a21
SM
93942017-09-05 Simon Marchi <simon.marchi@ericsson.com>
9395
9396 * gdb.multi/multi-arch-exec.exp: Test with different
9397 "follow-exec-mode" settings.
9398 (do_test): New procedure.
9399
3693fdb3
PA
94002017-09-04 Pedro Alves <palves@redhat.com>
9401
9402 * gdb.base/func-static.c (S::method const, S::method volatile)
9403 (S::method volatile const): New methods.
9404 (c_s, v_s, cv_s): New instances.
9405 (main): Call method() on them.
9406 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
9407 (cannot_resolve): New procedure.
9408 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
9409 print-quote-unquoted columns.
9410 (do_test): Test printing each scope too.
9411
e68cb8e0
PA
94122017-09-04 Pedro Alves <palves@redhat.com>
9413
9414 * gdb.base/local-static.exp: Also test with
9415 class::method::variable wholly quoted.
9416 * gdb.cp/m-static.exp (class::method::variable): Remove test.
9417
858be34c
PA
94182017-09-04 Pedro Alves <palves@redhat.com>
9419
9420 * gdb.base/local-static.c: New.
9421 * gdb.base/local-static.cc: New.
9422 * gdb.base/local-static.exp: New.
9423
46a4882b
PA
94242017-09-04 Pedro Alves <palves@redhat.com>
9425
9426 * gdb.asm/asm-source.exp: Add casts to int.
9427 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
9428 (dataglobal64_1, dataglobal64_2): New globals.
9429 * gdb.base/nodebug.exp: Test different expressions involving the
9430 new globals, with print, whatis and ptype. Add casts to int.
9431 * gdb.base/solib-display.exp: Add casts to int.
9432 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
9433 * gdb.cp/m-static.exp: Add cast to int.
9434 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
9435 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
9436 tls variable with no debug info without a cast. Test with a cast
9437 to int too.
9438 * gdb.trace/entry-values.exp: Add casts.
9439
2c5a2be1
PA
94402017-09-04 Pedro Alves <palves@redhat.com>
9441
9442 * gdb.base/nodebug.exp: Test that ptype's error about functions
9443 with unknown return type includes the function name too.
9444
7022349d
PA
94452017-09-04 Pedro Alves <palves@redhat.com>
9446
9447 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
9448 return type of munmap in infcall.
9449 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
9450 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
9451 type of ftell in infcall.
9452 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
9453 type of getpid in infcall.
9454 * gdb.base/infcall-exec.exp: Cast return type of execlp in
9455 infcall.
9456 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
9457 Bail on failure to extract the pid.
9458 * gdb.base/nodebug.c: #include <stdint.h>.
9459 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
9460 New functions.
9461 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
9462 Change expected output of print/whatis/ptype with functions with
9463 no debug info. Test all supported languages. Call
9464 test_call_promotion.
9465 * gdb.compile/compile.exp: Adjust expected output to expect
9466 warning.
9467 * gdb.threads/siginfo-threads.exp: Likewise.
9468
54990598
PA
94692017-09-04 Pedro Alves <palves@redhat.com>
9470
9471 * gdb.base/callfuncs.exp (do_function_calls): New parameter
9472 "prototypes". Test calling float functions via prototyped and
9473 unprototyped function pointers.
9474 (perform_all_tests): New parameter "prototypes". Pass it down.
9475 (top level): Pass down "prototypes" parameter to
9476 perform_all_tests.
9477
34d16ea2
SM
94782017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9479
9480 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
9481 Test with nested loops.
9482
9521ecda
SM
94832017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9484
9485 * gdb.base/commands.exp: Call the new procedures.
9486 (loop_break_test, loop_continue_test): New procedures.
9487
80a65e9b
SM
94882017-09-04 Simon Marchi <simon.marchi@ericsson.com>
9489
9490 * gdb.base/commands.exp: Call new procedure.
9491 (define_if_without_arg_test): New procedure.
9492
e439fa14
PA
94932017-09-04 Pedro Alves <palves@redhat.com>
9494
9495 * gdb.base/list-ambiguous.exp: New file.
9496 * gdb.base/list-ambiguous0.c: New file.
9497 * gdb.base/list-ambiguous1.c: New file.
9498 * gdb.base/list.exp (test_list_range): Adjust expected output.
9499
0a2dde4a
SDJ
95002017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
9501
9502 * gdb.base/share-env-with-gdbserver.c: New file.
9503 * gdb.base/share-env-with-gdbserver.exp: Likewise.
9504
5e89eb3a
SM
95052017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9506
9507 * gdb.base/commands.exp (gdbvar_simple_if_test,
9508 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
9509 progvar_simple_if_test, progvar_simple_while_test,
9510 progvar_complex_if_while_test, user_defined_command_test,
9511 user_defined_command_args_eval,
9512 user_defined_command_args_stack_test,
9513 user_defined_command_manyargs_test, bp_deleted_in_command_test,
9514 temporary_breakpoint_commands,
9515 gdb_test_no_prompt, redefine_hook_test,
9516 redefine_backtrace_test): Remove "global gdb_prompt".
9517
fd437cbc
SM
95182017-08-28 Simon Marchi <simon.marchi@ericsson.com>
9519
9520 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
9521 New proc, call it from toplevel.
9522
87215ad1
SDJ
95232017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
9524
9525 PR remote/21852
9526 * gdb.server/normal.c: New file, copied from gdb.base.
9527 * gdb.server/run-without-local-binary.exp: New file.
9528
58afddc6
WP
95292017-08-07 Weimin Pan <weimin.pan@oracle.com>
9530
9531 * gdb.arch/sparc64-adi.exp: New file.
9532 * gdb.arch/sparc64-adi.c: New file.
9533
5277199a
PA
95342017-08-22 Pedro Alves <palves@redhat.com>
9535
9536 * gdb.cp/overload.exp (line_range_pattern): New procedure.
9537 (top level): Add "list all overloads" tests.
9538
14278e1f
TT
95392017-08-22 Tom Tromey <tom@tromey.com>
9540
9541 * gdb.gdb/xfullpath.exp: Remove.
9542
bf223d3e
PA
95432017-08-21 Pedro Alves <palves@redhat.com>
9544
9545 PR gdb/19487
9546 * gdb.base/symbol-alias.c: New.
9547 * gdb.base/symbol-alias2.c: New.
9548 * gdb.base/symbol-alias.exp: New.
9549
c973d0aa
PA
95502017-08-21 Pedro Alves <palves@redhat.com>
9551
9552 * gdb.base/dfp-test.c
9553 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
9554 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
9555 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
9556 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
9557 * gdb.base/whatis-ptype-typedefs.c: New.
9558 * gdb.base/whatis-ptype-typedefs.exp: New.
9559 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
9560 (an_int, an_int_type, an_int_type2): New globals.
9561 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
9562 involving typedefs and cast expressions.
9563 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
9564 (lookup_typedefs_function): New.
9565 (typedefs_pretty_printers_dict): New.
9566 (top level): Register lookup_typedefs_function in
9567 gdb.pretty_printers.
9568
6d580b63
YQ
95692017-08-18 Yao Qi <yao.qi@linaro.org>
9570
9571 * gdb.server/unittest.exp: New.
9572
206726fb
SDJ
95732017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
9574
9575 PR gdb/21954
9576 * gdb.base/environ.exp: Add test to check if 'unset environment'
9577 works.
9578
bf0ec4c2
AA
95792017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9580
9581 * lib/gdb.exp (universal_compile_options): New caching proc.
9582 (gdb_compile): Suppress GCC's coloring of messages.
9583
d6382fff
TT
95842017-08-14 Tom Tromey <tom@tromey.com>
9585
9586 PR gdb/21675:
9587 * gdb.base/printcmds.exp (test_radices): New function.
9588 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
9589 * gdb.base/sizeof.exp (check_valueof): Use p/d.
9590 * lib/gdb.exp (get_integer_valueof): Use p/d.
9591
c2c2dd9f
SM
95922017-08-12 Simon Marchi <simon.marchi@ericsson.com>
9593
9594 * lib/gdb.exp (get_valueof): Don't capture end-of-line
9595 characters.
9596
fdffd6f4
TT
95972017-08-05 Tom Tromey <tom@tromey.com>
9598
9599 * gdb.rust/simple.exp: Allow String to appear in a different
9600 namespace.
9601
27d41eac
YQ
96022017-07-26 Yao Qi <yao.qi@linaro.org>
9603
9604 * gdb.gdb/unittest.exp: Invoke command
9605 "maintenance check xml-descriptions".
9606
031ed05d
AA
96072017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9608
9609 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
9610 calling context.
9611 (hex128): Drop erroneous calculation of parameters.
9612
dcd27ddf
SM
96132017-07-22 Simon Marchi <simon.marchi@ericsson.com>
9614
9615 * gdb.python/py-unwind.exp: Disable stack protection when
9616 building test file.
9617
47e77640
PA
96182017-07-20 Pedro Alves <palves@redhat.com>
9619
9620 * gdb.base/default.exp (set language): Adjust expected output.
9621
62d2a18a
PA
96222017-07-20 Pedro Alves <palves@redhat.com>
9623
9624 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
9625 (test_minsym): ... this, and make static.
9626 (get_pck__foo__bar__minsym): Rename to ...
9627 (get_test_minsym): ... this.
9628 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
9629 symbol names and comments.
9630 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
9631 (get_test_minsym): ... this.
9632 (pck__foo__bar__minsym__2): Rename to ...
9633 (test_minsym): ... this.
9634 (main): Adjust.
9635
c45ec17c
PA
96362017-07-17 Pedro Alves <palves@redhat.com>
9637
9638 * gdb.base/completion.exp: Adjust expected output.
9639 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
9640 the completer works.
9641
c6756f62
PA
96422017-07-17 Pedro Alves <palves@redhat.com>
9643
9644 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
9645
5bd68487
AB
96462017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
9647
9648 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
9649
8880f2a9
TT
96502017-07-14 Tom Tromey <tom@tromey.com>
9651
9652 PR rust/21764:
9653 * gdb.rust/simple.exp: Add tests.
9654
65547233
TT
96552017-07-14 Tom Tromey <tom@tromey.com>
9656
9657 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
9658
8f14146e
PA
96592017-07-14 Pedro Alves <palves@redhat.com>
9660
9661 * gdb.linespec/base/one/thefile.cc (z1): New function.
9662 * gdb.linespec/base/two/thefile.cc (z2): New function.
9663 * gdb.linespec/linespec.exp: Add tests.
9664
b4365d02
AB
96652017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9666
9667 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
9668 to mi_create_breakpoint.
9669
5d2cbaa5
AB
96702017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
9671
9672 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
9673 mi_create_breakpoint.
9674
11cb5716
IB
96752017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
9676
9677 * gdb.dlang/demangle.exp: Update for demangling changes.
9678
03278692
TT
96792017-07-09 Tom Tromey <tom@tromey.com>
9680
9681 * gdb.dwarf2/shortpiece.exp: New file.
9682
33c5cd75
DB
96832017-07-06 David Blaikie <dblaikie@gmail.com>
9684
9685 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
9686 built from fissiont-multi-cu{1,2}.c.
9687 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
9688 except putting 'main' and 'func' in separate CUs in the same DWO file.
9689 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
9690 test.
9691 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
9692 test.
9693
8455d262
PA
96942017-07-06 Pedro Alves <palves@redhat.com>
9695
9696 * gdb.python/py-unwind.exp: Test flushregs.
9697
dc4bde35
SDJ
96982017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9699
9700 PR cli/21688
9701 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
9702 tests for alias commands and trailing whitespace.
9703
51ed89aa
SDJ
97042017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
9705
9706 PR cli/21688
9707 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
9708 procedure. Call it.
9709
eb17d413
PA
97102017-06-29 Pedro Alves <palves@redhat.com>
9711
9712 * gdb.base/printcmds.exp: Add tests.
9713
41664b45
DG
97142017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
9715
9716 PR gdb/21337
9717 * gdb.base/reread-readsym.exp: New file.
9718 * gdb.base/reread-readsym.c: New file.
9719
75312ae3
KB
97202017-06-21 Kevin Buettner <kevinb@redhat.com>
9721
9722 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
9723 subpattern.
9724
66953522
PB
97252017-06-19 Peter Bergner <bergner@vnet.ibm.com>
9726
9727 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
9728 extended mnemonic.
9729 * gdb.arch/powerpc-power9.s: Likewise.
9730
5524b525
AA
97312017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9732
9733 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
9734 on 32-bit x86 targets. Exploit is_*_target macros where
9735 appropriate.
9736
03c8af18
AA
97372017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9738
9739 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
9740 register pieces.
9741
3bf31011
AA
97422017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9743
9744 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
9745 located in one or more DWARF pieces.
9746
805acca0
AA
97472017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9748
9749 * lib/gdb.exp (get_endianness): New proc.
9750 * gdb.arch/aarch64-fp.exp: Use it.
9751 * gdb.arch/altivec-regs.exp: Likewise.
9752 * gdb.arch/e500-regs.exp: Likewise.
9753 * gdb.arch/vsx-regs.exp: Likewise.
9754 * gdb.base/dump.exp: Likewise.
9755 * gdb.base/funcargs.exp: Likewise.
9756 * gdb.base/gnu_vector.exp: Likewise.
9757 * gdb.dwarf2/formdata16.exp: Likewise.
9758 * gdb.dwarf2/implptrpiece.exp: Likewise.
9759 * gdb.dwarf2/nonvar-access.exp: Likewise.
9760 * gdb.python/py-inferior.exp: Likewise.
9761 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9762
e9352324
AA
97632017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9764
9765 PR gdb/21226
9766 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
9767 stack value pieces are taken from the LSB end.
9768
d5d1163e
AA
97692017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9770
9771 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
9772 variable at nonzero offset.
9773
0567c986
AA
97742017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9775
9776 * gdb.dwarf2/var-access.c: New file.
9777 * gdb.dwarf2/var-access.exp: New test.
9778 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
9779
973e9aab
TT
97802017-06-12 Tom Tromey <tom@tromey.com>
9781
9782 * gdb.dwarf2/formdata16.exp: Add tests.
9783
d9109c80
TT
97842017-06-12 Tom Tromey <tom@tromey.com>
9785
9786 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
9787
30a25466
TT
97882017-06-12 Tom Tromey <tom@tromey.com>
9789
9790 PR exp/16225:
9791 * gdb.reverse/i386-sse-reverse.exp: Update tests.
9792 * gdb.arch/vsx-regs.exp: Update tests.
9793 * gdb.arch/s390-vregs.exp (hex128): New proc.
9794 Update test.
9795 * gdb.arch/altivec-regs.exp: Update tests.
9796
aefd8b33
SDJ
97972017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9798
9799 * gdb.base/startup-with-shell.c: New file.
9800 * gdb.base/startup-with-shell.exp: Likewise.
9801
2090129c
SDJ
98022017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
9803
9804 * gdb.server/non-existing-program.exp: Update regex in order to
9805 reflect the fact that gdbserver is now using fork_inferior (with a
9806 shell) to startup the inferior.
9807
8e86a419
SM
98082017-05-30 Simon Marchi <simon.marchi@ericsson.com>
9809
9810 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
9811 support function calls from GDB.
9812
e6cf65f2
TT
98132017-05-21 Tom Tromey <tom@tromey.com>
9814
9815 PR rust/21466:
9816 * gdb.rust/unsized.exp: New file.
9817 * gdb.rust/unsized.rs: New file.
9818
43cc5389
TT
98192017-05-19 Tom Tromey <tom@tromey.com>
9820
9821 PR rust/21484:
9822 * gdb.rust/watch.exp: New file.
9823 * gdb.rust/watch.rs: New file.
9824
ec8df234
TT
98252017-05-18 Tom Tromey <tom@tromey.com>
9826
9827 * gdb.rust/simple.exp: Allow Box to be qualified.
9828
3e3e7fae
TP
98292017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
9830
9831 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
9832
59cc050d
PA
98332017-05-18 Pedro Alves <palves@redhat.com>
9834
9835 * gdb.base/fileio.c (test_write, test_read, test_close)
9836 (test_fstat): Don't print 'ret' in the fail path.
9837
c8f6abd1
PA
98382017-05-18 Pedro Alves <palves@redhat.com>
9839
9840 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
9841 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
9842 (test_system, test_rename, test_unlink, test_time): Change
9843 prototypes.
9844 * gdb.base/fileio.exp (stop_msg): Adjust.
9845
d2a03b77
PA
98462017-05-18 Pedro Alves <palves@redhat.com>
9847
9848 * gdb.base/fileio.c (null_str): New global.
9849 (test_stat): Use it.
9850 * gdb.base/fileio.exp: Remove nowarnings.
9851
0d5c6999
YQ
98522017-05-17 Yao Qi <yao.qi@linaro.org>
9853
9854 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
9855
21873064
YQ
98562017-05-17 Simon Marchi <simon.marchi@ericsson.com>
9857
9858 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
9859 argument command.
9860 (top-level): Invoke test_set_inferior_tty.
9861
d512d31c
PA
98622017-05-04 Pedro Alves <palves@redhat.com>
9863
9864 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
9865 Add parens to print call for Python 3.
9866
90cef2ed
KS
98672017-05-03 Keith Seitz <keiths@redhat.com>
9868
9869 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
9870 (main): Call it.
9871
14f819c8
TW
98722017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9873
9874 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
9875 to prev and next.
9876
913aeadd
TW
98772017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9878
9879 * gdb.python/py-record-btrace.exp: Remove test for
9880 gdb.BtraceInstruction.error.
9881
a3be24ad
TW
98822017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9883
9884 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
9885
ae20e79a
TW
98862017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
9887
9888 * gdb.python/py-record-btrace-threads.c: New file.
9889 * gdb.python/py-record-btrace-threads.exp: New file.
9890
45ce1b47
SDJ
98912017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
9892
9893 PR testsuite/8595
9894 * gdb.base/environ.exp: Make test available in all architectures.
9895 Move bits related to "info program" testing to
9896 gdb.base/info-program.exp. Rewrite tests to use the two new
9897 procedures mentione below.
9898 (test_set_show_env_var) New procedure.
9899 (test_set_show_env_var_equal): Likewise.
9900 * gdb.base/info-program.exp: New file.
9901
e15c3eb4
KS
99022017-04-27 Keith Seitz <keiths@redhat.com>
9903
9904 * gdb.cp/oranking.cc (test15): New function.
9905 (main): Call test15 and declare additional variables for testing.
9906 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
9907 "p foo101('abc')" tests.
9908 Add tests for cv qualifier overloads.
9909 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
9910 "lvalue reference overload" test.
9911 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
9912 "print value of f1 on Child&& in f2" test.
9913
3a3fd0fd
PA
99142017-04-19 Pedro Alves <palves@redhat.com>
9915
9916 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
9917 procedure.
9918 (top level): Call it.
9919 * lib/gdb.exp (gdb_define_cmd): New procedure.
9920
53375380
PA
99212017-04-12 Pedro Alves <palves@redhat.com>
9922
9923 PR gdb/21323
9924 * gdb.cp/wide_char_types.c: Include <wchar.h>.
9925 (wchar): New global.
9926 * gdb.cp/wide_char_types.exp (wide_char_types_program)
9927 (do_test_wide_char, wide_char_types_no_program, top level): Add
9928 wchar_t testing.
9929
53e710ac
PA
99302017-04-12 Pedro Alves <palves@redhat.com>
9931
9932 PR c++/21323
9933 * gdb.cp/wide_char_types.c: New file.
9934 * gdb.cp/wide_char_types.exp: New file.
9935
0ad9d8c7
SDJ
99362017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
9937
9938 PR gdb/21352
9939 * gdb.trace/tsv.exp: Add test for "tsave -r".
9940
b1b45502
IB
99412017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
9942
9943 * gdb.dlang/watch-loc.c: New file.
9944 * gdb.dlang/watch-loc.exp: New file.
9945
ec13808e
JK
99462017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9947
9948 * gdb.python/py-section-script.exp (sepdebug): New testcases.
9949
fe5f7374
AK
99502017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9951
9952 * gdb.arch/arc-analyze-prologue.S: New file.
9953 * gdb.arch/arc-analyze-prologue.exp: Likewise.
9954
eea78757
AK
99552017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
9956
9957 * gdb.arch/arc-decode-insn.S: New file.
9958 * gdb.arch/arc-decode-insn.exp: Likewise.
9959
5badf10a
IR
99602017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
9961
9962 PR tdep/20928
9963 * gdb.arch/sparc64-regs.exp: New file.
9964 * gdb.arch/sparc64-regs.S: Likewise.
9965
cee59b3f
TW
99662017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
9967
9968 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
9969 and memory view on Python 3.
9970
c0f55cc6
AV
99712017-03-20 Artemiy Volkov <artemiyv@acm.org>
9972 Keith Seitz <keiths@redhat.com>
9973
9974 PR gdb/14441
9975 * gdb.cp/demangle.exp: Add rvalue reference tests.
9976 * gdb.cp/rvalue-ref-casts.cc: New file.
9977 * gdb.cp/rvalue-ref-casts.exp: New file.
9978 * gdb.cp/rvalue-ref-overload.cc: New file.
9979 * gdb.cp/rvalue-ref-overload.exp: New file.
9980 * gdb.cp/rvalue-ref-params.cc: New file.
9981 * gdb.cp/rvalue-ref-params.exp: New file.
9982 * gdb.cp/rvalue-ref-sizeof.cc: New file.
9983 * gdb.cp/rvalue-ref-sizeof.exp: New file.
9984 * gdb.cp/rvalue-ref-types.cc: New file.
9985 * gdb.cp/rvalue-ref-types.exp: New file.
9986 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
9987 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
9988
51457a05
MAL
99892017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9990
9991 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
9992 New procedure.
9993
5b291c04
MAL
99942017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9995
9996 * lib/mi-support.exp (mi_gdb_test): Add additional message
9997 for unexpected output.
9998
59a56148
AA
99992017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10000
10001 * gdb.base/examine-backward.c (Barrier): New character array
10002 constant, to ensure that TestStrings is preceded by a string
10003 terminator.
10004
7942e96e
AA
100052017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10006
10007 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
10008 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
10009 and implicit pointer into such a location.
10010
6ebac3fb
DE
100112017-03-16 Doug Evans <dje@google.com>
10012
10013 * gdb.python/py-lazy-string (pointer): Really add new typedef.
10014
ec3b243d
TP
100152017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
10016
10017 * gdb.cp/m-static.exp: Fix expectation for prototype of
10018 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
10019
100202017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
10021
10022 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
10023 * gdb.guile/scm-lazy-string.c: New file.
10024 * gdb.guile/scm-value.exp: Move lazy string tests to ...
10025 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
10026 for pointer, array, typedef lazy strings.
10027
2cc36e25 100282017-03-16 Doug Evans <dje@google.com>
34b43320
DE
10029
10030 PR python/17728, python/18439, python/18779
10031 * gdb.python/py-value.c (main) Delete locals sptr, sn.
10032 * gdb.python/py-lazy-string.c (pointer): New typedef.
10033 (main): New locals ptr, array, typedef_ptr.
10034 * gdb.python/py-value.exp: Move lazy string tests to ...
10035 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
10036 array, typedef lazy strings.
ec3b243d 10037
0efcde63
AK
100382017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
10039
10040 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
10041 Add optional 'test' parameter.
10042
7978d7c3
SM
100432017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10044
10045 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10046 Skip for versions of DejaGnu < 1.5.
10047
896c0c1e
SM
100482017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10049
10050 * lib/gdb.exp (dejagnu_version): New proc.
10051 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10052 Use dejagnu_version.
10053
5f4d1085
KS
100542017-03-10 Keith Seitz <keiths@redhat.com>
10055
10056 PR c++/8128
10057 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
10058 type from destructor regexps.
10059 Add a branch which actually passes the test.
10060 Adjust "ptype t5i" test names.
10061
1de05205
PA
100622017-03-08 Pedro Alves <palves@redhat.com>
10063
10064 * gdb.base/step-over-exit.exp: Add explicit test message.
10065
c65d6b55
PA
100662017-03-08 Pedro Alves <palves@redhat.com>
10067
10068 PR gdb/18360
10069 * gdb.threads/interrupt-while-step-over.c: New file.
10070 * gdb.threads/interrupt-while-step-over.exp: New file.
10071
2e86a283
PA
100722017-03-08 Pedro Alves <palves@redhat.com>
10073
10074 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
10075 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
10076
25dcbff6
PA
100772017-03-08 Pedro Alves <palves@redhat.com>
10078
10079 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
10080 PKRU as not supported as a PASS.
10081
dc9366eb
PA
100822017-03-08 Pedro Alves <palves@redhat.com>
10083
10084 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
10085 prefix instead of $binfile1/$binfile2.
10086 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
10087 in test message.
10088 * gdb.python/py-completion.exp: Use "load python file" as test
10089 messages instead of unstable path names.
10090
6e5d74e7
PA
100912017-03-08 Pedro Alves <palves@redhat.com>
10092 Jan Kratochvil <jan.kratochvil@redhat.com>
10093
10094 PR cli/21218
10095 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10096 New proc.
10097 (top level): Call it.
10098
9753a2f6
PA
100992017-03-08 Pedro Alves <palves@redhat.com>
10100
10101 PR tui/21216
10102 * gdb.tui/tui-nl-filtered-output.exp: New file.
10103
1a4dd9dd
PA
101042017-03-08 Pedro Alves <palves@redhat.com>
10105
10106 * gdb.base/completion.exp: Move TUI completion tests to ...
10107 * gdb.tui/completion.exp: ... this new file.
10108
7cbbff33
PA
101092017-03-08 Pedro Alves <palves@redhat.com>
10110
10111 * gdb.base/tui-disasm-long-lines.c,
10112 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
10113 gdb.base/tui-layout.exp: Move to ...
10114 * gdb.tui/: ... this new directory.
10115
5f6fd321
PA
101162017-03-07 Pedro Alves <palves@redhat.com>
10117
10118 * gdb.base/tui-layout.c: New file.
10119 * gdb.base/tui-layout.exp: New file.
10120
44959fa8
PA
101212017-03-07 Pedro Alves <palves@redhat.com>
10122
10123 * gdb.base/tui-layout.c: Rename to ...
10124 * gdb.base/tui-disasm-long-lines.c: ... this.
10125 * gdb.base/tui-layout.exp: Rename to ...
10126 * gdb.base/tui-disasm-long-lines.exp: ... this.
10127
f8c4e718
PA
101282017-03-07 Pedro Alves <palves@redhat.com>
10129
10130 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
10131
6dbb839a 101322017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
10133
10134 * i386-mpx-call.c: New file.
10135 * i386-mpx-call.exp: New file.
10136
65b48a81
PB
101372017-02-28 Peter Bergner <bergner@vnet.ibm.com>
10138
10139 * gdb.arch/powerpc-power.exp: Delete test.
10140 * gdb.arch/powerpc-power.s: Likewise.
10141 * gdb.disasm/disassembler-options.exp: New test.
10142 * gdb.arch/powerpc-altivec.exp: Likewise.
10143 * gdb.arch/powerpc-altivec.s: Likewise.
10144 * gdb.arch/powerpc-altivec2.exp: Likewise.
10145 * gdb.arch/powerpc-altivec2.s: Likewise.
10146 * gdb.arch/powerpc-altivec3.exp: Likewise.
10147 * gdb.arch/powerpc-altivec3.s: Likewise.
10148 * gdb.arch/powerpc-power7.exp: Likewise.
10149 * gdb.arch/powerpc-power7.s: Likewise.
10150 * gdb.arch/powerpc-power8.exp: Likewise.
10151 * gdb.arch/powerpc-power8.s: Likewise.
10152 * gdb.arch/powerpc-power9.exp: Likewise.
10153 * gdb.arch/powerpc-power9.s: Likewise.
10154 * gdb.arch/powerpc-vsx.exp: Likewise.
10155 * gdb.arch/powerpc-vsx.s: Likewise.
10156 * gdb.arch/powerpc-vsx2.exp: Likewise.
10157 * gdb.arch/powerpc-vsx2.s: Likewise.
10158 * gdb.arch/powerpc-vsx3.exp: Likewise.
10159 * gdb.arch/powerpc-vsx3.s: Likewise.
10160 * gdb.arch/arm-disassembler-options.exp: Likewise.
10161 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
10162 * gdb.arch/s390-disassembler-options.exp: Likewise.
10163
17cd4947
LM
101642017-02-23 Luis Machado <lgustavo@codesourcery.com>
10165
10166 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
10167 (check_supported_features): ... this. Changed return type to void.
10168 (supports_rdseed): New static global.
10169 (rdseed): Check supports_rdseed.
10170 (initialize): Call check_supported_features.
10171
2039d74e
EBM
101722017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10173
10174 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
10175 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
10176 and lqarx/stqcx.
10177 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
10178 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
10179
a51d7ecf
EBM
101802017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10181
10182 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
10183 uppercase.
10184
0224619f
JK
101852017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10186
10187 * gdb.dwarf2/formdata16.c: New file.
10188 * gdb.dwarf2/formdata16.exp: New file.
10189 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
10190
216f72a1
JK
101912017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10192
10193 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
10194 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
10195 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
10196 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
10197 DW_AT_GNU_*.
10198
43988095
JK
101992017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10200
10201 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
10202
99e8a4f9
SDJ
102032017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
10204
10205 PR gdb/21164
10206 * gdb.base/maint.exp: Add testcases for when the commands do
10207 not have arguments.
10208
b58a8c0c
TP
102092017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
10210
10211 * gdb.cp/chained-calls.exp: Use p instead of P.
10212
4e746bb6
TW
102132017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
10214
10215 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
10216 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
10217
3f77c769
TT
102182017-02-14 Tom Tromey <tom@tromey.com>
10219
10220 PR python/13598:
10221 * gdb.python/py-events.exp: Add before_prompt event tests.
10222
075beec0
AA
102232017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10224
10225 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
10226
bf5f525c
LM
102272017-02-13 Luis Machado <lgustavo@codesourcery.com>
10228
10229 * gdb.linespec/explicit.c (my_unique_function_name): New function.
10230 (main): Call my_unique_function_name.
10231 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
10232 completion of patterns with a single match.
10233 Add missing -re switches to gdb_test_multiple calls.
10234
13a66184
LM
102352017-02-13 Luis Machado <lgustavo@codesourcery.com>
10236
10237 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
10238 return if core file is not recognized.
10239
26a06916
SM
102402017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10241
10242 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
10243 and extra UIs.
10244
b761ca9e
SM
102452017-02-10 Simon Marchi <simon.marchi@ericsson.com>
10246
10247 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
10248 proc_with_prefix.
10249
b964bee0
TT
102502017-02-10 Tom Tromey <tom@tromey.com>
10251
10252 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
10253
18da0c51
MG
102542017-02-10 Martin Galvan <martingalvan@sourceware.org>
10255
10256 PR gdb/21122
10257 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
10258
604c4576
JG
102592017-02-08 Jerome Guitton <guitton@adacore.com>
10260
10261 * gdb.base/define.exp: Add test for command abbreviations
10262 in define.
10263
20b477a7
LM
102642017-02-06 Luis Machado <lgustavo@codesourcery.com>
10265
10266 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
10267 * gdb.reverse/insn-reverse-x86.c: New file.
10268
3f7b46f2
IR
102692017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
10270
10271 PR tdep/20936
10272 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
10273
f0fd41c1
TT
102742017-02-03 Tom Tromey <tom@tromey.com>
10275
10276 PR rust/21097:
10277 * gdb.rust/simple.exp: Add new tests.
10278
5be5dbf0
PA
102792017-02-02 Pedro Alves <palves@redhat.com>
10280
10281 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
10282 tests.
10283
7346ef59
AA
102842017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10285
10286 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
10287 taking a 2-byte value out of a 4-byte DWARF implicit value on
10288 big-endian targets.
10289 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
10290 logic. Add test cases for DW_OP_implicit.
10291
787f0025
MM
102922017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10293
10294 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
10295
68777c29
MM
102962017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10297
10298 * gdb.btrace/enable.exp: Call gdb_exit before
10299 skip_gdbserver_tests.
10300
0a1c7e28
MM
103012017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10302
10303 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
10304 GDBFLAGS.
10305
b5ac99b0
MM
103062017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10307
10308 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
10309 the test is skipped.
10310 * gdb.btrace/data.exp: Likewise.
10311 * gdb.btrace/delta.exp: Likewise.
10312 * gdb.btrace/dlopen.exp: Likewise.
10313 * gdb.btrace/enable-running.exp: Likewise.
10314 * gdb.btrace/enable.exp: Likewise.
10315 * gdb.btrace/exception.exp: Likewise.
10316 * gdb.btrace/function_call_history.exp: Likewise.
10317 * gdb.btrace/gcore.exp: Likewise.
10318 * gdb.btrace/instruction_history.exp: Likewise.
10319 * gdb.btrace/multi-thread-step.exp: Likewise.
10320 * gdb.btrace/nohist.exp: Likewise.
10321 * gdb.btrace/non-stop.exp: Likewise.
10322 * gdb.btrace/reconnect.exp: Likewise.
10323 * gdb.btrace/record_goto-step.exp: Likewise.
10324 * gdb.btrace/record_goto.exp: Likewise.
10325 * gdb.btrace/rn-dl-bind.exp: Likewise.
10326 * gdb.btrace/segv.exp: Likewise.
10327 * gdb.btrace/step.exp: Likewise.
10328 * gdb.btrace/stepi.exp: Likewise.
10329 * gdb.btrace/tailcall-only.exp: Likewise.
10330 * gdb.btrace/tailcall.exp: Likewise.
10331 * gdb.btrace/tsx.exp: Likewise.
10332 * gdb.btrace/unknown_functions.exp: Likewise.
10333 * gdb.btrace/vdso.exp: Likewise.
10334
cd4007e4
MM
103352017-02-01 Markus Metzger <markus.t.metzger@intel.com>
10336
10337 * gdb.btrace/enable-running.c: New.
10338 * gdb.btrace/enable-running.exp: New.
10339
2735833d
WT
103402017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
10341
10342 * gdb.arch/amd64-gs_base.c: New file.
10343 * gdb.arch/amd64-gs_base.exp: New file.
10344
b51e1e94
LM
103452017-01-26 Luis Machado <lgustavo@codesourcery.com>
10346
10347 * lib/memory.exp: Remove spurious empty newlines.
10348
72ca0410
SM
103492017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
10350
10351 * gdb.python/py-bad-printers.exp: Load python file using "source".
10352 * gdb.python/py-events.exp: Likewise.
10353 * gdb.python/py-evsignal.exp: Likewise.
10354 * gdb.python/py-evthreads.exp: Likewise.
10355 * gdb.python/py-frame-args.exp: Likewise.
10356 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
10357 * gdb.python/py-framefilter-mi.exp: Likewise.
10358 * gdb.python/py-framefilter.exp: Likewise.
10359 * gdb.python/py-mi.exp: Likewise.
10360 * gdb.python/py-pp-maint.exp: Likewise.
10361 * gdb.python/py-pp-registration.exp: Likewise.
10362 * gdb.python/py-prettyprint.exp: Likewise.
10363 (run_lang_tests): Likewise.
10364 * gdb.python/py-typeprint.exp: Likewise.
10365
e309aa65
LM
103662017-01-26 Luis Machado <lgustavo@codesourcery.com>
10367
10368 * lib/memory.exp: New file.
10369 * lib/gdb.exp: Load memory.exp.
10370 * gdb.base/memattr.exp (delete_memory): Move proc to
10371 lib/memory.exp and rename to delete_memory_regions.
10372 Replace delete_memory with delete_memory_regions.
10373 Cleanup memory regions before tests.
10374 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
10375 before tests.
10376
515aff23
LM
103772017-01-26 Luis Machado <lgustavo@codesourcery.com>
10378
10379 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
10380 files.
10381 (initialize): New function conditionally defined.
10382 (testcases): Move within conditional block.
10383 (main): Call initialize.
10384 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
10385 of gdb.reverse/insn-reverse.c.
10386 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
10387 gdb.reverse/insn-reverse.c.
10388
d8b49cf0
YQ
103892017-01-26 Yao Qi <yao.qi@linaro.org>
10390
10391 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
10392 disassemble on address 0.
10393
f13a9a0c
YQ
103942017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
10395 Yao Qi <yao.qi@linaro.org>
10396
10397 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
10398 * gdb.dwarf2/implptr-64bit.S: Remove.
10399 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
10400 variables in caller's context. Add DW_OP_implicit_value.
10401
5ac95241
YQ
104022017-01-25 Yao Qi <yao.qi@linaro.org>
10403
10404 * lib/dwarf.exp (Dwarf::_location): Handle
10405 DW_OP_GNU_implicit_pointer with proper size.
10406
23e82930
LM
104072017-01-20 Luis Machado <lgustavo@codesourcery.com>
10408
10409 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
10410 and add untested calls.
10411
d334ae25
LM
104122017-01-20 Luis Machado <lgustavo@codesourcery.com>
10413
10414 * gdb.python/python.exp: Check line number against what GDB thinks
10415 the line number is for func1.
10416
f5e6296e
IB
104172017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
10418
10419 * gdb.dlang/debug-expr.exp: New file.
10420
5b362f04
LM
104212016-12-23 Luis Machado <lgustavo@codesourcery.com>
10422
10423 Fix test names for the following files:
10424
10425 * gdb.ada/exec_changed.exp
10426 * gdb.ada/info_types.exp
10427 * gdb.arch/aarch64-atomic-inst.exp
10428 * gdb.arch/aarch64-fp.exp
10429 * gdb.arch/altivec-abi.exp
10430 * gdb.arch/altivec-regs.exp
10431 * gdb.arch/amd64-byte.exp
10432 * gdb.arch/amd64-disp-step.exp
10433 * gdb.arch/amd64-dword.exp
10434 * gdb.arch/amd64-entry-value-inline.exp
10435 * gdb.arch/amd64-entry-value-param.exp
10436 * gdb.arch/amd64-entry-value-paramref.exp
10437 * gdb.arch/amd64-entry-value.exp
10438 * gdb.arch/amd64-i386-address.exp
10439 * gdb.arch/amd64-invalid-stack-middle.exp
10440 * gdb.arch/amd64-invalid-stack-top.exp
10441 * gdb.arch/amd64-optimout-repeat.exp
10442 * gdb.arch/amd64-prologue-skip.exp
10443 * gdb.arch/amd64-prologue-xmm.exp
10444 * gdb.arch/amd64-stap-special-operands.exp
10445 * gdb.arch/amd64-stap-wrong-subexp.exp
10446 * gdb.arch/amd64-tailcall-cxx.exp
10447 * gdb.arch/amd64-tailcall-noret.exp
10448 * gdb.arch/amd64-tailcall-ret.exp
10449 * gdb.arch/amd64-tailcall-self.exp
10450 * gdb.arch/amd64-word.exp
10451 * gdb.arch/arm-bl-branch-dest.exp
10452 * gdb.arch/arm-disp-step.exp
10453 * gdb.arch/arm-neon.exp
10454 * gdb.arch/arm-single-step-kernel-helper.exp
10455 * gdb.arch/avr-flash-qualifier.exp
10456 * gdb.arch/disp-step-insn-reloc.exp
10457 * gdb.arch/e500-abi.exp
10458 * gdb.arch/e500-regs.exp
10459 * gdb.arch/ftrace-insn-reloc.exp
10460 * gdb.arch/i386-avx512.exp
10461 * gdb.arch/i386-bp_permanent.exp
10462 * gdb.arch/i386-byte.exp
10463 * gdb.arch/i386-cfi-notcurrent.exp
10464 * gdb.arch/i386-disp-step.exp
10465 * gdb.arch/i386-dr3-watch.exp
10466 * gdb.arch/i386-float.exp
10467 * gdb.arch/i386-gnu-cfi.exp
10468 * gdb.arch/i386-mpx-map.exp
10469 * gdb.arch/i386-mpx-sigsegv.exp
10470 * gdb.arch/i386-mpx-simple_segv.exp
10471 * gdb.arch/i386-mpx.exp
10472 * gdb.arch/i386-permbkpt.exp
10473 * gdb.arch/i386-prologue.exp
10474 * gdb.arch/i386-signal.exp
10475 * gdb.arch/i386-size-overlap.exp
10476 * gdb.arch/i386-unwind.exp
10477 * gdb.arch/i386-word.exp
10478 * gdb.arch/mips-fcr.exp
10479 * gdb.arch/powerpc-d128-regs.exp
10480 * gdb.arch/powerpc-stackless.exp
10481 * gdb.arch/ppc64-atomic-inst.exp
10482 * gdb.arch/s390-stackless.exp
10483 * gdb.arch/s390-tdbregs.exp
10484 * gdb.arch/s390-vregs.exp
10485 * gdb.arch/sparc-sysstep.exp
10486 * gdb.arch/thumb-bx-pc.exp
10487 * gdb.arch/thumb-singlestep.exp
10488 * gdb.arch/thumb2-it.exp
10489 * gdb.arch/vsx-regs.exp
10490 * gdb.asm/asm-source.exp
10491 * gdb.base/a2-run.exp
10492 * gdb.base/advance.exp
10493 * gdb.base/all-bin.exp
10494 * gdb.base/anon.exp
10495 * gdb.base/args.exp
10496 * gdb.base/arithmet.exp
10497 * gdb.base/async-shell.exp
10498 * gdb.base/async.exp
10499 * gdb.base/attach-pie-noexec.exp
10500 * gdb.base/attach-twice.exp
10501 * gdb.base/auto-load.exp
10502 * gdb.base/bang.exp
10503 * gdb.base/bitfields.exp
10504 * gdb.base/break-always.exp
10505 * gdb.base/break-caller-line.exp
10506 * gdb.base/break-entry.exp
10507 * gdb.base/break-inline.exp
10508 * gdb.base/break-on-linker-gcd-function.exp
10509 * gdb.base/break-probes.exp
10510 * gdb.base/break.exp
10511 * gdb.base/breakpoint-shadow.exp
10512 * gdb.base/call-ar-st.exp
10513 * gdb.base/call-sc.exp
10514 * gdb.base/call-signal-resume.exp
10515 * gdb.base/call-strs.exp
10516 * gdb.base/callfuncs.exp
10517 * gdb.base/catch-fork-static.exp
10518 * gdb.base/catch-gdb-caused-signals.exp
10519 * gdb.base/catch-load.exp
10520 * gdb.base/catch-signal-fork.exp
10521 * gdb.base/catch-signal.exp
10522 * gdb.base/catch-syscall.exp
10523 * gdb.base/charset.exp
10524 * gdb.base/checkpoint.exp
10525 * gdb.base/chng-syms.exp
10526 * gdb.base/code-expr.exp
10527 * gdb.base/code_elim.exp
10528 * gdb.base/commands.exp
10529 * gdb.base/completion.exp
10530 * gdb.base/complex.exp
10531 * gdb.base/cond-expr.exp
10532 * gdb.base/condbreak.exp
10533 * gdb.base/consecutive.exp
10534 * gdb.base/continue-all-already-running.exp
10535 * gdb.base/coredump-filter.exp
10536 * gdb.base/corefile.exp
10537 * gdb.base/dbx.exp
10538 * gdb.base/debug-expr.exp
10539 * gdb.base/define.exp
10540 * gdb.base/del.exp
10541 * gdb.base/disabled-location.exp
10542 * gdb.base/disasm-end-cu.exp
10543 * gdb.base/disasm-optim.exp
10544 * gdb.base/display.exp
10545 * gdb.base/duplicate-bp.exp
10546 * gdb.base/ena-dis-br.exp
10547 * gdb.base/ending-run.exp
10548 * gdb.base/enumval.exp
10549 * gdb.base/environ.exp
10550 * gdb.base/eu-strip-infcall.exp
10551 * gdb.base/eval-avoid-side-effects.exp
10552 * gdb.base/eval-skip.exp
10553 * gdb.base/exitsignal.exp
10554 * gdb.base/expand-psymtabs.exp
10555 * gdb.base/filesym.exp
10556 * gdb.base/find-unmapped.exp
10557 * gdb.base/finish.exp
10558 * gdb.base/float.exp
10559 * gdb.base/foll-exec-mode.exp
10560 * gdb.base/foll-exec.exp
10561 * gdb.base/foll-fork.exp
10562 * gdb.base/fortran-sym-case.exp
10563 * gdb.base/freebpcmd.exp
10564 * gdb.base/func-ptr.exp
10565 * gdb.base/func-ptrs.exp
10566 * gdb.base/funcargs.exp
10567 * gdb.base/gcore-buffer-overflow.exp
10568 * gdb.base/gcore-relro-pie.exp
10569 * gdb.base/gcore-relro.exp
10570 * gdb.base/gcore.exp
10571 * gdb.base/gdb1090.exp
10572 * gdb.base/gdb11530.exp
10573 * gdb.base/gdb11531.exp
10574 * gdb.base/gdb1821.exp
10575 * gdb.base/gdbindex-stabs.exp
10576 * gdb.base/gdbvars.exp
10577 * gdb.base/hbreak.exp
10578 * gdb.base/hbreak2.exp
10579 * gdb.base/included.exp
10580 * gdb.base/infcall-input.exp
10581 * gdb.base/inferior-died.exp
10582 * gdb.base/infnan.exp
10583 * gdb.base/info-macros.exp
10584 * gdb.base/info-os.exp
10585 * gdb.base/info-proc.exp
10586 * gdb.base/info-shared.exp
10587 * gdb.base/info-target.exp
10588 * gdb.base/infoline.exp
10589 * gdb.base/interp.exp
10590 * gdb.base/interrupt.exp
10591 * gdb.base/jit-reader.exp
10592 * gdb.base/jit-simple.exp
10593 * gdb.base/kill-after-signal.exp
10594 * gdb.base/kill-detach-inferiors-cmd.exp
10595 * gdb.base/label.exp
10596 * gdb.base/langs.exp
10597 * gdb.base/ldbl_e308.exp
10598 * gdb.base/line-symtabs.exp
10599 * gdb.base/linespecs.exp
10600 * gdb.base/list.exp
10601 * gdb.base/long_long.exp
10602 * gdb.base/longest-types.exp
10603 * gdb.base/maint.exp
10604 * gdb.base/max-value-size.exp
10605 * gdb.base/memattr.exp
10606 * gdb.base/mips_pro.exp
10607 * gdb.base/morestack.exp
10608 * gdb.base/moribund-step.exp
10609 * gdb.base/multi-forks.exp
10610 * gdb.base/nested-addr.exp
10611 * gdb.base/nextoverexit.exp
10612 * gdb.base/noreturn-finish.exp
10613 * gdb.base/noreturn-return.exp
10614 * gdb.base/nostdlib.exp
10615 * gdb.base/offsets.exp
10616 * gdb.base/opaque.exp
10617 * gdb.base/pc-fp.exp
10618 * gdb.base/permissions.exp
10619 * gdb.base/print-symbol-loading.exp
10620 * gdb.base/prologue-include.exp
10621 * gdb.base/psymtab.exp
10622 * gdb.base/ptype.exp
10623 * gdb.base/random-signal.exp
10624 * gdb.base/randomize.exp
10625 * gdb.base/range-stepping.exp
10626 * gdb.base/readline-ask.exp
10627 * gdb.base/recpar.exp
10628 * gdb.base/recurse.exp
10629 * gdb.base/relational.exp
10630 * gdb.base/restore.exp
10631 * gdb.base/return-nodebug.exp
10632 * gdb.base/return.exp
10633 * gdb.base/run-after-attach.exp
10634 * gdb.base/save-bp.exp
10635 * gdb.base/scope.exp
10636 * gdb.base/sect-cmd.exp
10637 * gdb.base/set-lang-auto.exp
10638 * gdb.base/set-noassign.exp
10639 * gdb.base/setvar.exp
10640 * gdb.base/sigall.exp
10641 * gdb.base/sigbpt.exp
10642 * gdb.base/siginfo-addr.exp
10643 * gdb.base/siginfo-infcall.exp
10644 * gdb.base/siginfo-obj.exp
10645 * gdb.base/siginfo.exp
10646 * gdb.base/signals-state-child.exp
10647 * gdb.base/signest.exp
10648 * gdb.base/sigstep.exp
10649 * gdb.base/sizeof.exp
10650 * gdb.base/skip.exp
10651 * gdb.base/solib-corrupted.exp
10652 * gdb.base/solib-nodir.exp
10653 * gdb.base/solib-search.exp
10654 * gdb.base/stack-checking.exp
10655 * gdb.base/stale-infcall.exp
10656 * gdb.base/stap-probe.exp
10657 * gdb.base/start.exp
10658 * gdb.base/step-break.exp
10659 * gdb.base/step-bt.exp
10660 * gdb.base/step-line.exp
10661 * gdb.base/step-over-exit.exp
10662 * gdb.base/step-over-syscall.exp
10663 * gdb.base/step-resume-infcall.exp
10664 * gdb.base/step-test.exp
10665 * gdb.base/store.exp
10666 * gdb.base/structs3.exp
10667 * gdb.base/sym-file.exp
10668 * gdb.base/symbol-without-target_section.exp
10669 * gdb.base/term.exp
10670 * gdb.base/testenv.exp
10671 * gdb.base/ui-redirect.exp
10672 * gdb.base/until.exp
10673 * gdb.base/unwindonsignal.exp
10674 * gdb.base/value-double-free.exp
10675 * gdb.base/vla-datatypes.exp
10676 * gdb.base/vla-ptr.exp
10677 * gdb.base/vla-sideeffect.exp
10678 * gdb.base/volatile.exp
10679 * gdb.base/watch-cond-infcall.exp
10680 * gdb.base/watch-cond.exp
10681 * gdb.base/watch-non-mem.exp
10682 * gdb.base/watch-read.exp
10683 * gdb.base/watch-vfork.exp
10684 * gdb.base/watchpoint-cond-gone.exp
10685 * gdb.base/watchpoint-delete.exp
10686 * gdb.base/watchpoint-hw-hit-once.exp
10687 * gdb.base/watchpoint-hw.exp
10688 * gdb.base/watchpoint-stops-at-right-insn.exp
10689 * gdb.base/watchpoints.exp
10690 * gdb.base/wchar.exp
10691 * gdb.base/whatis-exp.exp
10692 * gdb.btrace/buffer-size.exp
10693 * gdb.btrace/data.exp
10694 * gdb.btrace/delta.exp
10695 * gdb.btrace/dlopen.exp
10696 * gdb.btrace/enable.exp
10697 * gdb.btrace/exception.exp
10698 * gdb.btrace/function_call_history.exp
10699 * gdb.btrace/gcore.exp
10700 * gdb.btrace/instruction_history.exp
10701 * gdb.btrace/nohist.exp
10702 * gdb.btrace/reconnect.exp
10703 * gdb.btrace/record_goto-step.exp
10704 * gdb.btrace/record_goto.exp
10705 * gdb.btrace/rn-dl-bind.exp
10706 * gdb.btrace/segv.exp
10707 * gdb.btrace/step.exp
10708 * gdb.btrace/stepi.exp
10709 * gdb.btrace/tailcall-only.exp
10710 * gdb.btrace/tailcall.exp
10711 * gdb.btrace/tsx.exp
10712 * gdb.btrace/unknown_functions.exp
10713 * gdb.btrace/vdso.exp
10714 * gdb.compile/compile-ifunc.exp
10715 * gdb.compile/compile-ops.exp
10716 * gdb.compile/compile-print.exp
10717 * gdb.compile/compile-setjmp.exp
10718 * gdb.cp/abstract-origin.exp
10719 * gdb.cp/ambiguous.exp
10720 * gdb.cp/annota2.exp
10721 * gdb.cp/annota3.exp
10722 * gdb.cp/anon-ns.exp
10723 * gdb.cp/anon-struct.exp
10724 * gdb.cp/anon-union.exp
10725 * gdb.cp/arg-reference.exp
10726 * gdb.cp/baseenum.exp
10727 * gdb.cp/bool.exp
10728 * gdb.cp/breakpoint.exp
10729 * gdb.cp/bs15503.exp
10730 * gdb.cp/call-c.exp
10731 * gdb.cp/casts.exp
10732 * gdb.cp/chained-calls.exp
10733 * gdb.cp/class2.exp
10734 * gdb.cp/classes.exp
10735 * gdb.cp/cmpd-minsyms.exp
10736 * gdb.cp/converts.exp
10737 * gdb.cp/cp-relocate.exp
10738 * gdb.cp/cpcompletion.exp
10739 * gdb.cp/cpexprs.exp
10740 * gdb.cp/cplabel.exp
10741 * gdb.cp/cplusfuncs.exp
10742 * gdb.cp/cpsizeof.exp
10743 * gdb.cp/ctti.exp
10744 * gdb.cp/derivation.exp
10745 * gdb.cp/destrprint.exp
10746 * gdb.cp/dispcxx.exp
10747 * gdb.cp/enum-class.exp
10748 * gdb.cp/exception.exp
10749 * gdb.cp/exceptprint.exp
10750 * gdb.cp/expand-psymtabs-cxx.exp
10751 * gdb.cp/expand-sals.exp
10752 * gdb.cp/extern-c.exp
10753 * gdb.cp/filename.exp
10754 * gdb.cp/formatted-ref.exp
10755 * gdb.cp/fpointer.exp
10756 * gdb.cp/gdb1355.exp
10757 * gdb.cp/gdb2495.exp
10758 * gdb.cp/hang.exp
10759 * gdb.cp/impl-this.exp
10760 * gdb.cp/infcall-dlopen.exp
10761 * gdb.cp/inherit.exp
10762 * gdb.cp/iostream.exp
10763 * gdb.cp/koenig.exp
10764 * gdb.cp/local.exp
10765 * gdb.cp/m-data.exp
10766 * gdb.cp/m-static.exp
10767 * gdb.cp/mb-ctor.exp
10768 * gdb.cp/mb-inline.exp
10769 * gdb.cp/mb-templates.exp
10770 * gdb.cp/member-name.exp
10771 * gdb.cp/member-ptr.exp
10772 * gdb.cp/meth-typedefs.exp
10773 * gdb.cp/method.exp
10774 * gdb.cp/method2.exp
10775 * gdb.cp/minsym-fallback.exp
10776 * gdb.cp/misc.exp
10777 * gdb.cp/namelessclass.exp
10778 * gdb.cp/namespace-enum.exp
10779 * gdb.cp/namespace-nested-import.exp
10780 * gdb.cp/namespace.exp
10781 * gdb.cp/nextoverthrow.exp
10782 * gdb.cp/no-dmgl-verbose.exp
10783 * gdb.cp/non-trivial-retval.exp
10784 * gdb.cp/noparam.exp
10785 * gdb.cp/nsdecl.exp
10786 * gdb.cp/nsimport.exp
10787 * gdb.cp/nsnested.exp
10788 * gdb.cp/nsnoimports.exp
10789 * gdb.cp/nsrecurs.exp
10790 * gdb.cp/nsstress.exp
10791 * gdb.cp/nsusing.exp
10792 * gdb.cp/operator.exp
10793 * gdb.cp/oranking.exp
10794 * gdb.cp/overload-const.exp
10795 * gdb.cp/overload.exp
10796 * gdb.cp/ovldbreak.exp
10797 * gdb.cp/ovsrch.exp
10798 * gdb.cp/paren-type.exp
10799 * gdb.cp/parse-lang.exp
10800 * gdb.cp/pass-by-ref.exp
10801 * gdb.cp/pr-1023.exp
10802 * gdb.cp/pr-1210.exp
10803 * gdb.cp/pr-574.exp
10804 * gdb.cp/pr10687.exp
10805 * gdb.cp/pr12028.exp
10806 * gdb.cp/pr17132.exp
10807 * gdb.cp/pr17494.exp
10808 * gdb.cp/pr9067.exp
10809 * gdb.cp/pr9167.exp
10810 * gdb.cp/pr9631.exp
10811 * gdb.cp/printmethod.exp
10812 * gdb.cp/psmang.exp
10813 * gdb.cp/psymtab-parameter.exp
10814 * gdb.cp/ptype-cv-cp.exp
10815 * gdb.cp/ptype-flags.exp
10816 * gdb.cp/re-set-overloaded.exp
10817 * gdb.cp/ref-types.exp
10818 * gdb.cp/rtti.exp
10819 * gdb.cp/scope-err.exp
10820 * gdb.cp/shadow.exp
10821 * gdb.cp/smartp.exp
10822 * gdb.cp/static-method.exp
10823 * gdb.cp/static-print-quit.exp
10824 * gdb.cp/temargs.exp
10825 * gdb.cp/templates.exp
10826 * gdb.cp/try_catch.exp
10827 * gdb.cp/typedef-operator.exp
10828 * gdb.cp/typeid.exp
10829 * gdb.cp/userdef.exp
10830 * gdb.cp/using-crash.exp
10831 * gdb.cp/var-tag.exp
10832 * gdb.cp/virtbase.exp
10833 * gdb.cp/virtfunc.exp
10834 * gdb.cp/virtfunc2.exp
10835 * gdb.cp/vla-cxx.exp
10836 * gdb.disasm/t01_mov.exp
10837 * gdb.disasm/t02_mova.exp
10838 * gdb.disasm/t03_add.exp
10839 * gdb.disasm/t04_sub.exp
10840 * gdb.disasm/t05_cmp.exp
10841 * gdb.disasm/t06_ari2.exp
10842 * gdb.disasm/t07_ari3.exp
10843 * gdb.disasm/t08_or.exp
10844 * gdb.disasm/t09_xor.exp
10845 * gdb.disasm/t10_and.exp
10846 * gdb.disasm/t11_logs.exp
10847 * gdb.disasm/t12_bit.exp
10848 * gdb.disasm/t13_otr.exp
10849 * gdb.dlang/circular.exp
10850 * gdb.dwarf2/arr-stride.exp
10851 * gdb.dwarf2/arr-subrange.exp
10852 * gdb.dwarf2/atomic-type.exp
10853 * gdb.dwarf2/bad-regnum.exp
10854 * gdb.dwarf2/bitfield-parent-optimized-out.exp
10855 * gdb.dwarf2/callframecfa.exp
10856 * gdb.dwarf2/clztest.exp
10857 * gdb.dwarf2/corrupt.exp
10858 * gdb.dwarf2/data-loc.exp
10859 * gdb.dwarf2/dup-psym.exp
10860 * gdb.dwarf2/dw2-anon-mptr.exp
10861 * gdb.dwarf2/dw2-anonymous-func.exp
10862 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
10863 * gdb.dwarf2/dw2-bad-unresolved.exp
10864 * gdb.dwarf2/dw2-basic.exp
10865 * gdb.dwarf2/dw2-canonicalize-type.exp
10866 * gdb.dwarf2/dw2-case-insensitive.exp
10867 * gdb.dwarf2/dw2-common-block.exp
10868 * gdb.dwarf2/dw2-compdir-oldgcc.exp
10869 * gdb.dwarf2/dw2-compressed.exp
10870 * gdb.dwarf2/dw2-const.exp
10871 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
10872 * gdb.dwarf2/dw2-cu-size.exp
10873 * gdb.dwarf2/dw2-dup-frame.exp
10874 * gdb.dwarf2/dw2-entry-value.exp
10875 * gdb.dwarf2/dw2-icycle.exp
10876 * gdb.dwarf2/dw2-ifort-parameter.exp
10877 * gdb.dwarf2/dw2-inline-break.exp
10878 * gdb.dwarf2/dw2-inline-param.exp
10879 * gdb.dwarf2/dw2-intercu.exp
10880 * gdb.dwarf2/dw2-intermix.exp
10881 * gdb.dwarf2/dw2-lexical-block-bare.exp
10882 * gdb.dwarf2/dw2-linkage-name-trust.exp
10883 * gdb.dwarf2/dw2-minsym-in-cu.exp
10884 * gdb.dwarf2/dw2-noloc.exp
10885 * gdb.dwarf2/dw2-op-call.exp
10886 * gdb.dwarf2/dw2-op-out-param.exp
10887 * gdb.dwarf2/dw2-opt-structptr.exp
10888 * gdb.dwarf2/dw2-param-error.exp
10889 * gdb.dwarf2/dw2-producer.exp
10890 * gdb.dwarf2/dw2-ranges-base.exp
10891 * gdb.dwarf2/dw2-ref-missing-frame.exp
10892 * gdb.dwarf2/dw2-reg-undefined.exp
10893 * gdb.dwarf2/dw2-regno-invalid.exp
10894 * gdb.dwarf2/dw2-restore.exp
10895 * gdb.dwarf2/dw2-restrict.exp
10896 * gdb.dwarf2/dw2-single-line-discriminators.exp
10897 * gdb.dwarf2/dw2-strp.exp
10898 * gdb.dwarf2/dw2-undefined-ret-addr.exp
10899 * gdb.dwarf2/dw2-unresolved.exp
10900 * gdb.dwarf2/dw2-var-zero-addr.exp
10901 * gdb.dwarf2/dw4-sig-types.exp
10902 * gdb.dwarf2/dwz.exp
10903 * gdb.dwarf2/dynarr-ptr.exp
10904 * gdb.dwarf2/enum-type.exp
10905 * gdb.dwarf2/gdb-index.exp
10906 * gdb.dwarf2/implptr-64bit.exp
10907 * gdb.dwarf2/implptr-optimized-out.exp
10908 * gdb.dwarf2/implptr.exp
10909 * gdb.dwarf2/implref-array.exp
10910 * gdb.dwarf2/implref-const.exp
10911 * gdb.dwarf2/implref-global.exp
10912 * gdb.dwarf2/implref-struct.exp
10913 * gdb.dwarf2/mac-fileno.exp
10914 * gdb.dwarf2/main-subprogram.exp
10915 * gdb.dwarf2/member-ptr-forwardref.exp
10916 * gdb.dwarf2/method-ptr.exp
10917 * gdb.dwarf2/missing-sig-type.exp
10918 * gdb.dwarf2/nonvar-access.exp
10919 * gdb.dwarf2/opaque-type-lookup.exp
10920 * gdb.dwarf2/pieces-optimized-out.exp
10921 * gdb.dwarf2/pieces.exp
10922 * gdb.dwarf2/pr10770.exp
10923 * gdb.dwarf2/pr13961.exp
10924 * gdb.dwarf2/staticvirtual.exp
10925 * gdb.dwarf2/subrange.exp
10926 * gdb.dwarf2/symtab-producer.exp
10927 * gdb.dwarf2/trace-crash.exp
10928 * gdb.dwarf2/typeddwarf.exp
10929 * gdb.dwarf2/valop.exp
10930 * gdb.dwarf2/watch-notconst.exp
10931 * gdb.fortran/array-element.exp
10932 * gdb.fortran/charset.exp
10933 * gdb.fortran/common-block.exp
10934 * gdb.fortran/complex.exp
10935 * gdb.fortran/derived-type-function.exp
10936 * gdb.fortran/derived-type.exp
10937 * gdb.fortran/logical.exp
10938 * gdb.fortran/module.exp
10939 * gdb.fortran/multi-dim.exp
10940 * gdb.fortran/nested-funcs.exp
10941 * gdb.fortran/print-formatted.exp
10942 * gdb.fortran/subarray.exp
10943 * gdb.fortran/vla-alloc-assoc.exp
10944 * gdb.fortran/vla-datatypes.exp
10945 * gdb.fortran/vla-history.exp
10946 * gdb.fortran/vla-ptr-info.exp
10947 * gdb.fortran/vla-ptype-sub.exp
10948 * gdb.fortran/vla-ptype.exp
10949 * gdb.fortran/vla-sizeof.exp
10950 * gdb.fortran/vla-type.exp
10951 * gdb.fortran/vla-value-sub-arbitrary.exp
10952 * gdb.fortran/vla-value-sub-finish.exp
10953 * gdb.fortran/vla-value-sub.exp
10954 * gdb.fortran/vla-value.exp
10955 * gdb.fortran/whatis_type.exp
10956 * gdb.go/chan.exp
10957 * gdb.go/handcall.exp
10958 * gdb.go/hello.exp
10959 * gdb.go/integers.exp
10960 * gdb.go/methods.exp
10961 * gdb.go/package.exp
10962 * gdb.go/strings.exp
10963 * gdb.go/types.exp
10964 * gdb.go/unsafe.exp
10965 * gdb.guile/scm-arch.exp
10966 * gdb.guile/scm-block.exp
10967 * gdb.guile/scm-breakpoint.exp
10968 * gdb.guile/scm-cmd.exp
10969 * gdb.guile/scm-disasm.exp
10970 * gdb.guile/scm-equal.exp
10971 * gdb.guile/scm-frame-args.exp
10972 * gdb.guile/scm-frame-inline.exp
10973 * gdb.guile/scm-frame.exp
10974 * gdb.guile/scm-iterator.exp
10975 * gdb.guile/scm-math.exp
10976 * gdb.guile/scm-objfile.exp
10977 * gdb.guile/scm-ports.exp
10978 * gdb.guile/scm-symbol.exp
10979 * gdb.guile/scm-symtab.exp
10980 * gdb.guile/scm-value-cc.exp
10981 * gdb.guile/types-module.exp
10982 * gdb.linespec/break-ask.exp
10983 * gdb.linespec/cpexplicit.exp
10984 * gdb.linespec/explicit.exp
10985 * gdb.linespec/keywords.exp
10986 * gdb.linespec/linespec.exp
10987 * gdb.linespec/ls-dollar.exp
10988 * gdb.linespec/ls-errs.exp
10989 * gdb.linespec/skip-two.exp
10990 * gdb.linespec/thread.exp
10991 * gdb.mi/mi-async.exp
10992 * gdb.mi/mi-basics.exp
10993 * gdb.mi/mi-break.exp
10994 * gdb.mi/mi-catch-load.exp
10995 * gdb.mi/mi-cli.exp
10996 * gdb.mi/mi-cmd-param-changed.exp
10997 * gdb.mi/mi-console.exp
10998 * gdb.mi/mi-detach.exp
10999 * gdb.mi/mi-disassemble.exp
11000 * gdb.mi/mi-eval.exp
11001 * gdb.mi/mi-file-transfer.exp
11002 * gdb.mi/mi-file.exp
11003 * gdb.mi/mi-fill-memory.exp
11004 * gdb.mi/mi-inheritance-syntax-error.exp
11005 * gdb.mi/mi-linespec-err-cp.exp
11006 * gdb.mi/mi-logging.exp
11007 * gdb.mi/mi-memory-changed.exp
11008 * gdb.mi/mi-read-memory.exp
11009 * gdb.mi/mi-record-changed.exp
11010 * gdb.mi/mi-reg-undefined.exp
11011 * gdb.mi/mi-regs.exp
11012 * gdb.mi/mi-return.exp
11013 * gdb.mi/mi-reverse.exp
11014 * gdb.mi/mi-simplerun.exp
11015 * gdb.mi/mi-solib.exp
11016 * gdb.mi/mi-stack.exp
11017 * gdb.mi/mi-stepi.exp
11018 * gdb.mi/mi-syn-frame.exp
11019 * gdb.mi/mi-until.exp
11020 * gdb.mi/mi-var-block.exp
11021 * gdb.mi/mi-var-child.exp
11022 * gdb.mi/mi-var-cmd.exp
11023 * gdb.mi/mi-var-cp.exp
11024 * gdb.mi/mi-var-display.exp
11025 * gdb.mi/mi-var-invalidate.exp
11026 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
11027 * gdb.mi/mi-vla-fortran.exp
11028 * gdb.mi/mi-watch.exp
11029 * gdb.mi/mi2-var-child.exp
11030 * gdb.mi/user-selected-context-sync.exp
11031 * gdb.modula2/unbounded-array.exp
11032 * gdb.multi/dummy-frame-restore.exp
11033 * gdb.multi/multi-arch-exec.exp
11034 * gdb.multi/multi-arch.exp
11035 * gdb.multi/tids.exp
11036 * gdb.multi/watchpoint-multi.exp
11037 * gdb.opencl/callfuncs.exp
11038 * gdb.opencl/convs_casts.exp
11039 * gdb.opencl/datatypes.exp
11040 * gdb.opencl/operators.exp
11041 * gdb.opencl/vec_comps.exp
11042 * gdb.opt/clobbered-registers-O2.exp
11043 * gdb.opt/inline-break.exp
11044 * gdb.opt/inline-bt.exp
11045 * gdb.opt/inline-cmds.exp
11046 * gdb.opt/inline-locals.exp
11047 * gdb.pascal/case-insensitive-symbols.exp
11048 * gdb.pascal/floats.exp
11049 * gdb.pascal/gdb11492.exp
11050 * gdb.python/lib-types.exp
11051 * gdb.python/py-arch.exp
11052 * gdb.python/py-as-string.exp
11053 * gdb.python/py-bad-printers.exp
11054 * gdb.python/py-block.exp
11055 * gdb.python/py-breakpoint-create-fail.exp
11056 * gdb.python/py-breakpoint.exp
11057 * gdb.python/py-caller-is.exp
11058 * gdb.python/py-cmd.exp
11059 * gdb.python/py-explore-cc.exp
11060 * gdb.python/py-explore.exp
11061 * gdb.python/py-finish-breakpoint.exp
11062 * gdb.python/py-finish-breakpoint2.exp
11063 * gdb.python/py-frame-args.exp
11064 * gdb.python/py-frame-inline.exp
11065 * gdb.python/py-frame.exp
11066 * gdb.python/py-framefilter-mi.exp
11067 * gdb.python/py-infthread.exp
11068 * gdb.python/py-lazy-string.exp
11069 * gdb.python/py-linetable.exp
11070 * gdb.python/py-mi-events.exp
11071 * gdb.python/py-mi-objfile.exp
11072 * gdb.python/py-mi.exp
11073 * gdb.python/py-objfile.exp
11074 * gdb.python/py-pp-integral.exp
11075 * gdb.python/py-pp-maint.exp
11076 * gdb.python/py-pp-re-notag.exp
11077 * gdb.python/py-pp-registration.exp
11078 * gdb.python/py-recurse-unwind.exp
11079 * gdb.python/py-strfns.exp
11080 * gdb.python/py-symbol.exp
11081 * gdb.python/py-symtab.exp
11082 * gdb.python/py-sync-interp.exp
11083 * gdb.python/py-typeprint.exp
11084 * gdb.python/py-unwind-maint.exp
11085 * gdb.python/py-unwind.exp
11086 * gdb.python/py-value-cc.exp
11087 * gdb.python/py-xmethods.exp
11088 * gdb.reverse/amd64-tailcall-reverse.exp
11089 * gdb.reverse/break-precsave.exp
11090 * gdb.reverse/break-reverse.exp
11091 * gdb.reverse/consecutive-precsave.exp
11092 * gdb.reverse/consecutive-reverse.exp
11093 * gdb.reverse/finish-precsave.exp
11094 * gdb.reverse/finish-reverse-bkpt.exp
11095 * gdb.reverse/finish-reverse.exp
11096 * gdb.reverse/fstatat-reverse.exp
11097 * gdb.reverse/getresuid-reverse.exp
11098 * gdb.reverse/i386-precsave.exp
11099 * gdb.reverse/i386-reverse.exp
11100 * gdb.reverse/i386-sse-reverse.exp
11101 * gdb.reverse/i387-env-reverse.exp
11102 * gdb.reverse/i387-stack-reverse.exp
11103 * gdb.reverse/insn-reverse.exp
11104 * gdb.reverse/machinestate-precsave.exp
11105 * gdb.reverse/machinestate.exp
11106 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11107 * gdb.reverse/pipe-reverse.exp
11108 * gdb.reverse/readv-reverse.exp
11109 * gdb.reverse/recvmsg-reverse.exp
11110 * gdb.reverse/rerun-prec.exp
11111 * gdb.reverse/s390-mvcle.exp
11112 * gdb.reverse/step-precsave.exp
11113 * gdb.reverse/step-reverse.exp
11114 * gdb.reverse/time-reverse.exp
11115 * gdb.reverse/until-precsave.exp
11116 * gdb.reverse/until-reverse.exp
11117 * gdb.reverse/waitpid-reverse.exp
11118 * gdb.reverse/watch-precsave.exp
11119 * gdb.reverse/watch-reverse.exp
11120 * gdb.rust/generics.exp
11121 * gdb.rust/methods.exp
11122 * gdb.rust/modules.exp
11123 * gdb.rust/simple.exp
11124 * gdb.server/connect-with-no-symbol-file.exp
11125 * gdb.server/ext-attach.exp
11126 * gdb.server/ext-restart.exp
11127 * gdb.server/ext-wrapper.exp
11128 * gdb.server/file-transfer.exp
11129 * gdb.server/server-exec-info.exp
11130 * gdb.server/server-kill.exp
11131 * gdb.server/server-mon.exp
11132 * gdb.server/wrapper.exp
11133 * gdb.stabs/exclfwd.exp
11134 * gdb.stabs/gdb11479.exp
11135 * gdb.threads/clone-new-thread-event.exp
11136 * gdb.threads/corethreads.exp
11137 * gdb.threads/current-lwp-dead.exp
11138 * gdb.threads/dlopen-libpthread.exp
11139 * gdb.threads/gcore-thread.exp
11140 * gdb.threads/sigstep-threads.exp
11141 * gdb.threads/watchpoint-fork.exp
11142 * gdb.trace/actions-changed.exp
11143 * gdb.trace/backtrace.exp
11144 * gdb.trace/change-loc.exp
11145 * gdb.trace/circ.exp
11146 * gdb.trace/collection.exp
11147 * gdb.trace/disconnected-tracing.exp
11148 * gdb.trace/ftrace.exp
11149 * gdb.trace/mi-trace-frame-collected.exp
11150 * gdb.trace/mi-trace-unavailable.exp
11151 * gdb.trace/mi-traceframe-changed.exp
11152 * gdb.trace/mi-tsv-changed.exp
11153 * gdb.trace/no-attach-trace.exp
11154 * gdb.trace/passc-dyn.exp
11155 * gdb.trace/qtro.exp
11156 * gdb.trace/range-stepping.exp
11157 * gdb.trace/read-memory.exp
11158 * gdb.trace/save-trace.exp
11159 * gdb.trace/signal.exp
11160 * gdb.trace/status-stop.exp
11161 * gdb.trace/tfile.exp
11162 * gdb.trace/trace-break.exp
11163 * gdb.trace/trace-buffer-size.exp
11164 * gdb.trace/trace-condition.exp
11165 * gdb.trace/tracefile-pseudo-reg.exp
11166 * gdb.trace/tstatus.exp
11167 * gdb.trace/unavailable.exp
11168 * gdb.trace/while-dyn.exp
11169 * gdb.trace/while-stepping.exp
11170
34c41c68
DE
111712016-12-22 Doug Evans <xdje42@gmail.com>
11172
11173 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
11174 and msymbols.
11175
16e69324
YQ
111762016-12-19 Yao Qi <yao.qi@linaro.org>
11177
11178 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
11179 (test_with_self): Don't call do_steps_and_nexts, and remove
11180 code about stepping into xmalloc.
11181
f94f411b
YQ
111822016-12-09 Yao Qi <yao.qi@linaro.org>
11183
11184 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
11185
111862016-12-09 Yao Qi <yao.qi@linaro.org>
11187
11188 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
11189
f1b5deee
PA
111902016-12-09 Pedro Alves <palves@redhat.com>
11191
11192 * gdb.base/all-architectures-0.exp: New file.
11193 * gdb.base/all-architectures-1.exp: New file.
11194 * gdb.base/all-architectures-2.exp: New file.
11195 * gdb.base/all-architectures-3.exp: New file.
11196 * gdb.base/all-architectures-4.exp: New file.
11197 * gdb.base/all-architectures-5.exp: New file.
11198 * gdb.base/all-architectures-6.exp: New file.
11199 * gdb.base/all-architectures-7.exp: New file.
11200 * gdb.base/all-architectures.exp.in: New file.
11201
364ca42e
YQ
112022016-12-09 Yao Qi <yao.qi@linaro.org>
11203
11204 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
11205
107c2d62
LM
112062016-12-02 Luis Machado <lgustavo@codesourcery.com>
11207
11208 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
11209 possible.
11210 Remove useless pattern-matching code.
11211
df3ee9ca
PA
112122016-12-02 Pedro Alves <palves@redhat.com>
11213
11214 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
11215 procedure.
11216 (top level): Call it.
11217
ec835369
PA
112182016-12-02 Pedro Alves <palves@redhat.com>
11219
11220 * gdb.base/commands.exp (user_defined_command_args_stack_test):
11221 New procedure.
11222 (top level): Call it.
11223
01770bbd
PA
112242016-12-02 Pedro Alves <palves@redhat.com>
11225
11226 PR cli/20559
11227 * gdb.base/commands.exp (user_defined_command_args_eval): New
11228 procedure.
11229 (top level): Call it.
11230
008459ea
LM
112312016-12-02 Luis Machado <lgustavo@codesourcery.com>
11232
11233 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
11234 timeout handling.
11235
0c1b455e
TT
112362016-12-02 Tom Tromey <tom@tromey.com>
11237
11238 * gdb.dwarf2/main-subprogram.c: New file.
11239 * gdb.dwarf2/main-subprogram.exp: New file.
11240
018572b8
LM
112412016-12-01 Luis Machado <lgustavo@codesourcery.com>
11242
11243 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
11244 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
11245 gdb_test_no_output for a couple of cases.
11246 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
11247
84c93cd5
LM
112482016-12-01 Luis Machado <lgustavo@codesourcery.com>
11249
11250 Fix test names and standardize compilation error messages throughout
11251 the following files:
11252
11253 * gdb.ada/start.exp
11254 * gdb.arch/alpha-step.exp
11255 * gdb.arch/e500-prologue.exp
11256 * gdb.arch/ftrace-insn-reloc.exp
11257 * gdb.arch/gdb1291.exp
11258 * gdb.arch/gdb1431.exp
11259 * gdb.arch/gdb1558.exp
11260 * gdb.arch/i386-dr3-watch.exp
11261 * gdb.arch/i386-sse-stack-align.exp
11262 * gdb.arch/ia64-breakpoint-shadow.exp
11263 * gdb.arch/pa-nullify.exp
11264 * gdb.arch/powerpc-aix-prologue.exp
11265 * gdb.arch/thumb-bx-pc.exp
11266 * gdb.base/annota1.exp
11267 * gdb.base/annota3.exp
11268 * gdb.base/arrayidx.exp
11269 * gdb.base/assign.exp
11270 * gdb.base/attach.exp
11271 * gdb.base/auxv.exp
11272 * gdb.base/bang.exp
11273 * gdb.base/bfp-test.exp
11274 * gdb.base/bigcore.exp
11275 * gdb.base/bitfields2.exp
11276 * gdb.base/break-fun-addr.exp
11277 * gdb.base/break-probes.exp
11278 * gdb.base/call-rt-st.exp
11279 * gdb.base/callexit.exp
11280 * gdb.base/catch-fork-kill.exp
11281 * gdb.base/charset.exp
11282 * gdb.base/checkpoint.exp
11283 * gdb.base/comprdebug.exp
11284 * gdb.base/constvars.exp
11285 * gdb.base/coredump-filter.exp
11286 * gdb.base/cursal.exp
11287 * gdb.base/cvexpr.exp
11288 * gdb.base/detach.exp
11289 * gdb.base/display.exp
11290 * gdb.base/dmsym.exp
11291 * gdb.base/dprintf-pending.exp
11292 * gdb.base/dso2dso.exp
11293 * gdb.base/dtrace-probe.exp
11294 * gdb.base/dump.exp
11295 * gdb.base/enum_cond.exp
11296 * gdb.base/exe-lock.exp
11297 * gdb.base/exec-invalid-sysroot.exp
11298 * gdb.base/execl-update-breakpoints.exp
11299 * gdb.base/exprs.exp
11300 * gdb.base/fileio.exp
11301 * gdb.base/find.exp
11302 * gdb.base/finish.exp
11303 * gdb.base/fixsection.exp
11304 * gdb.base/foll-vfork.exp
11305 * gdb.base/frame-args.exp
11306 * gdb.base/gcore.exp
11307 * gdb.base/gdb1250.exp
11308 * gdb.base/global-var-nested-by-dso.exp
11309 * gdb.base/gnu-ifunc.exp
11310 * gdb.base/hashline1.exp
11311 * gdb.base/hashline2.exp
11312 * gdb.base/hashline3.exp
11313 * gdb.base/hbreak-in-shr-unsupported.exp
11314 * gdb.base/huge.exp
11315 * gdb.base/infcall-input.exp
11316 * gdb.base/info-fun.exp
11317 * gdb.base/info-shared.exp
11318 * gdb.base/jit-simple.exp
11319 * gdb.base/jit-so.exp
11320 * gdb.base/jit.exp
11321 * gdb.base/jump.exp
11322 * gdb.base/label.exp
11323 * gdb.base/lineinc.exp
11324 * gdb.base/logical.exp
11325 * gdb.base/longjmp.exp
11326 * gdb.base/macscp.exp
11327 * gdb.base/miscexprs.exp
11328 * gdb.base/new-ui-echo.exp
11329 * gdb.base/new-ui-pending-input.exp
11330 * gdb.base/new-ui.exp
11331 * gdb.base/nodebug.exp
11332 * gdb.base/nofield.exp
11333 * gdb.base/offsets.exp
11334 * gdb.base/overlays.exp
11335 * gdb.base/pending.exp
11336 * gdb.base/pointers.exp
11337 * gdb.base/pr11022.exp
11338 * gdb.base/printcmds.exp
11339 * gdb.base/prologue.exp
11340 * gdb.base/ptr-typedef.exp
11341 * gdb.base/realname-expand.exp
11342 * gdb.base/relativedebug.exp
11343 * gdb.base/relocate.exp
11344 * gdb.base/remote.exp
11345 * gdb.base/reread.exp
11346 * gdb.base/return2.exp
11347 * gdb.base/savedregs.exp
11348 * gdb.base/sep.exp
11349 * gdb.base/sepdebug.exp
11350 * gdb.base/sepsymtab.exp
11351 * gdb.base/set-inferior-tty.exp
11352 * gdb.base/setshow.exp
11353 * gdb.base/shlib-call.exp
11354 * gdb.base/sigaltstack.exp
11355 * gdb.base/siginfo-addr.exp
11356 * gdb.base/signals.exp
11357 * gdb.base/signull.exp
11358 * gdb.base/sigrepeat.exp
11359 * gdb.base/so-impl-ld.exp
11360 * gdb.base/solib-display.exp
11361 * gdb.base/solib-overlap.exp
11362 * gdb.base/solib-search.exp
11363 * gdb.base/solib-symbol.exp
11364 * gdb.base/structs.exp
11365 * gdb.base/structs2.exp
11366 * gdb.base/symtab-search-order.exp
11367 * gdb.base/twice.exp
11368 * gdb.base/unload.exp
11369 * gdb.base/varargs.exp
11370 * gdb.base/watchpoint-solib.exp
11371 * gdb.base/watchpoint.exp
11372 * gdb.base/whatis.exp
11373 * gdb.base/wrong_frame_bt_full.exp
11374 * gdb.btrace/dlopen.exp
11375 * gdb.cell/ea-standalone.exp
11376 * gdb.cell/ea-test.exp
11377 * gdb.cp/dispcxx.exp
11378 * gdb.cp/gdb2384.exp
11379 * gdb.cp/method2.exp
11380 * gdb.cp/nextoverthrow.exp
11381 * gdb.cp/pr10728.exp
11382 * gdb.disasm/am33.exp
11383 * gdb.disasm/h8300s.exp
11384 * gdb.disasm/mn10300.exp
11385 * gdb.disasm/sh3.exp
11386 * gdb.dwarf2/dw2-dir-file-name.exp
11387 * gdb.fortran/complex.exp
11388 * gdb.fortran/library-module.exp
11389 * gdb.guile/scm-pretty-print.exp
11390 * gdb.guile/scm-symbol.exp
11391 * gdb.guile/scm-type.exp
11392 * gdb.guile/scm-value.exp
11393 * gdb.linespec/linespec.exp
11394 * gdb.mi/gdb701.exp
11395 * gdb.mi/gdb792.exp
11396 * gdb.mi/mi-breakpoint-changed.exp
11397 * gdb.mi/mi-dprintf-pending.exp
11398 * gdb.mi/mi-dprintf.exp
11399 * gdb.mi/mi-exit-code.exp
11400 * gdb.mi/mi-pending.exp
11401 * gdb.mi/mi-solib.exp
11402 * gdb.mi/new-ui-mi-sync.exp
11403 * gdb.mi/pr11022.exp
11404 * gdb.mi/user-selected-context-sync.exp
11405 * gdb.opt/solib-intra-step.exp
11406 * gdb.python/py-events.exp
11407 * gdb.python/py-finish-breakpoint.exp
11408 * gdb.python/py-mi.exp
11409 * gdb.python/py-prettyprint.exp
11410 * gdb.python/py-shared.exp
11411 * gdb.python/py-symbol.exp
11412 * gdb.python/py-template.exp
11413 * gdb.python/py-type.exp
11414 * gdb.python/py-value.exp
11415 * gdb.reverse/solib-precsave.exp
11416 * gdb.reverse/solib-reverse.exp
11417 * gdb.server/solib-list.exp
11418 * gdb.stabs/weird.exp
11419 * gdb.threads/reconnect-signal.exp
11420 * gdb.threads/stepi-random-signal.exp
11421 * gdb.trace/actions.exp
11422 * gdb.trace/ax.exp
11423 * gdb.trace/backtrace.exp
11424 * gdb.trace/change-loc.exp
11425 * gdb.trace/deltrace.exp
11426 * gdb.trace/ftrace-lock.exp
11427 * gdb.trace/ftrace.exp
11428 * gdb.trace/infotrace.exp
11429 * gdb.trace/mi-tracepoint-changed.exp
11430 * gdb.trace/packetlen.exp
11431 * gdb.trace/passcount.exp
11432 * gdb.trace/pending.exp
11433 * gdb.trace/range-stepping.exp
11434 * gdb.trace/report.exp
11435 * gdb.trace/stap-trace.exp
11436 * gdb.trace/tfind.exp
11437 * gdb.trace/trace-break.exp
11438 * gdb.trace/trace-condition.exp
11439 * gdb.trace/trace-enable-disable.exp
11440 * gdb.trace/trace-mt.exp
11441 * gdb.trace/tracecmd.exp
11442 * gdb.trace/tspeed.exp
11443 * gdb.trace/tsv.exp
11444 * lib/perftest.exp
11445
fb9feb35
LM
114462016-12-01 Luis Machado <lgustavo@codesourcery.com>
11447
11448 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
11449 with gdb_test_no_output.
11450 Use command as test name.
11451
cd2ddb6c
LM
114522016-12-01 Luis Machado <lgustavo@codesourcery.com>
11453
11454 Fix test names starting with uppercase throughout the files.
11455
11456 * gdb.ada/assign_1.exp
11457 * gdb.ada/boolean_expr.exp
11458 * gdb.base/arrayidx.exp
11459 * gdb.base/del.exp
11460 * gdb.base/gcore-buffer-overflow.exp
11461 * gdb.base/testenv.exp
11462 * gdb.compile/compile.exp
11463 * gdb.python/py-framefilter-invalidarg.exp
11464 * gdb.python/py-framefilter.exp
11465
bb95117e
LM
114662016-12-01 Luis Machado <lgustavo@codesourcery.com>
11467
11468 Fix test names starting with uppercase throughout the files.
11469
11470 * gdb.ada/array_return.exp
11471 * gdb.ada/expr_delims.exp
11472 * gdb.ada/mi_dyn_arr.exp
11473 * gdb.ada/mi_interface.exp
11474 * gdb.ada/mi_var_array.exp
11475 * gdb.ada/watch_arg.exp
11476 * gdb.arch/alpha-step.exp
11477 * gdb.arch/altivec-regs.exp
11478 * gdb.arch/e500-regs.exp
11479 * gdb.arch/powerpc-d128-regs.exp
11480 * gdb.base/arrayidx.exp
11481 * gdb.base/break.exp
11482 * gdb.base/checkpoint.exp
11483 * gdb.base/debug-expr.exp
11484 * gdb.base/dmsym.exp
11485 * gdb.base/radix.exp
11486 * gdb.base/sepdebug.exp
11487 * gdb.base/testenv.exp
11488 * gdb.base/watch_thread_num.exp
11489 * gdb.base/watchpoint-cond-gone.exp
11490 * gdb.cell/break.exp
11491 * gdb.cell/ea-cache.exp
11492 * gdb.compile/compile.exp
11493 * gdb.cp/gdb2495.exp
11494 * gdb.gdb/selftest.exp
11495 * gdb.gdb/xfullpath.exp
11496 * gdb.go/hello.exp
11497 * gdb.go/integers.exp
11498 * gdb.objc/basicclass.exp
11499 * gdb.pascal/hello.exp
11500 * gdb.pascal/integers.exp
11501 * gdb.python/py-breakpoint.exp
11502 * gdb.python/py-cmd.exp
11503 * gdb.python/py-linetable.exp
11504 * gdb.python/py-xmethods.exp
11505 * gdb.python/python.exp
11506 * gdb.reverse/consecutive-precsave.exp
11507 * gdb.reverse/finish-precsave.exp
11508 * gdb.reverse/i386-precsave.exp
11509 * gdb.reverse/machinestate-precsave.exp
11510 * gdb.reverse/sigall-precsave.exp
11511 * gdb.reverse/solib-precsave.exp
11512 * gdb.reverse/step-precsave.exp
11513 * gdb.reverse/until-precsave.exp
11514 * gdb.reverse/watch-precsave.exp
11515 * gdb.threads/leader-exit.exp
11516 * gdb.threads/pthreads.exp
11517 * gdb.threads/wp-replication.exp
11518 * gdb.trace/actions.exp
11519 * gdb.trace/mi-tsv-changed.exp
11520 * gdb.trace/tsv.exp
11521
de97fdd4
LM
115222016-12-01 Luis Machado <lgustavo@codesourcery.com>
11523
11524 Fix test names starting with uppercase throughout the files.
11525
11526 * gdb.arch/i386-bp_permanent.exp
11527 * gdb.arch/i386-gnu-cfi.exp
11528 * gdb.base/disasm-end-cu.exp
11529 * gdb.base/macscp.exp
11530 * gdb.base/pending.exp
11531 * gdb.base/watch_thread_num.exp
11532 * gdb.cp/exception.exp
11533 * gdb.cp/gdb2495.exp
11534 * gdb.cp/local.exp
11535 * gdb.python/py-evsignal.exp
11536 * gdb.python/python.exp
11537 * gdb.trace/tracecmd.exp
11538
9f058c10
LM
115392016-12-01 Luis Machado <lgustavo@codesourcery.com>
11540
11541 Fix test names starting with uppercase throughout the files.
11542
11543 * gdb.base/charset.exp
11544 * gdb.base/eval.exp
11545 * gdb.base/multi-forks.exp
11546 * gdb.guile/scm-progspace.exp
11547 * gdb.opencl/datatypes.exp
11548 * gdb.python/py-block.exp
11549 * gdb.python/py-function.exp
11550 * gdb.python/py-symbol.exp
11551 * gdb.python/py-symtab.exp
11552 * gdb.python/py-xmethods.exp
11553 * gdb.reverse/break-precsave.exp
11554 * gdb.reverse/break-reverse.exp
11555 * gdb.reverse/consecutive-precsave.exp
11556 * gdb.reverse/consecutive-reverse.exp
11557 * gdb.reverse/finish-precsave.exp
11558 * gdb.reverse/finish-reverse-bkpt.exp
11559 * gdb.reverse/finish-reverse.exp
11560 * gdb.reverse/fstatat-reverse.exp
11561 * gdb.reverse/getresuid-reverse.exp
11562 * gdb.reverse/i386-precsave.exp
11563 * gdb.reverse/i386-reverse.exp
11564 * gdb.reverse/i386-sse-reverse.exp
11565 * gdb.reverse/i387-stack-reverse.exp
11566 * gdb.reverse/insn-reverse.exp
11567 * gdb.reverse/machinestate-precsave.exp
11568 * gdb.reverse/machinestate.exp
11569 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11570 * gdb.reverse/pipe-reverse.exp
11571 * gdb.reverse/readv-reverse.exp
11572 * gdb.reverse/recvmsg-reverse.exp
11573 * gdb.reverse/rerun-prec.exp
11574 * gdb.reverse/s390-mvcle.exp
11575 * gdb.reverse/sigall-precsave.exp
11576 * gdb.reverse/sigall-reverse.exp
11577 * gdb.reverse/solib-precsave.exp
11578 * gdb.reverse/solib-reverse.exp
11579 * gdb.reverse/step-precsave.exp
11580 * gdb.reverse/step-reverse.exp
11581 * gdb.reverse/time-reverse.exp
11582 * gdb.reverse/until-precsave.exp
11583 * gdb.reverse/until-reverse.exp
11584 * gdb.reverse/waitpid-reverse.exp
11585 * gdb.reverse/watch-precsave.exp
11586 * gdb.reverse/watch-reverse.exp
11587
cdc7edd7
LM
115882016-12-01 Luis Machado <lgustavo@codesourcery.com>
11589
11590 Fix test names starting with uppercase throughout the files.
11591
11592 * gdb.arch/i386-mpx-simple_segv.exp
11593 * gdb.arch/i386-mpx.exp
11594 * gdb.arch/i386-permbkpt.exp
11595 * gdb.arch/pa-nullify.exp
11596 * gdb.arch/powerpc-d128-regs.exp
11597 * gdb.arch/vsx-regs.exp
11598 * gdb.base/bfp-test.exp
11599 * gdb.base/break.exp
11600 * gdb.base/breakpoint-shadow.exp
11601 * gdb.base/callfuncs.exp
11602 * gdb.base/charset.exp
11603 * gdb.base/commands.exp
11604 * gdb.base/completion.exp
11605 * gdb.base/dfp-test.exp
11606 * gdb.base/echo.exp
11607 * gdb.base/ending-run.exp
11608 * gdb.base/eval.exp
11609 * gdb.base/expand-psymtabs.exp
11610 * gdb.base/float128.exp
11611 * gdb.base/floatn.exp
11612 * gdb.base/foll-exec-mode.exp
11613 * gdb.base/gdb1056.exp
11614 * gdb.base/gdb11531.exp
11615 * gdb.base/kill-after-signal.exp
11616 * gdb.base/multi-forks.exp
11617 * gdb.base/overlays.exp
11618 * gdb.base/pending.exp
11619 * gdb.base/sepdebug.exp
11620 * gdb.base/testenv.exp
11621 * gdb.base/valgrind-db-attach.exp
11622 * gdb.base/watch_thread_num.exp
11623 * gdb.base/watchpoint-cond-gone.exp
11624 * gdb.base/watchpoint.exp
11625 * gdb.base/watchpoints.exp
11626 * gdb.cp/arg-reference.exp
11627 * gdb.cp/baseenum.exp
11628 * gdb.cp/operator.exp
11629 * gdb.cp/shadow.exp
11630 * gdb.dwarf2/dw2-op-out-param.exp
11631 * gdb.dwarf2/dw2-reg-undefined.exp
11632 * gdb.go/chan.exp
11633 * gdb.go/hello.exp
11634 * gdb.go/integers.exp
11635 * gdb.go/methods.exp
11636 * gdb.go/package.exp
11637 * gdb.guile/scm-parameter.exp
11638 * gdb.guile/scm-progspace.exp
11639 * gdb.guile/scm-value.exp
11640 * gdb.mi/mi-pending.exp
11641 * gdb.mi/user-selected-context-sync.exp
11642 * gdb.multi/multi-attach.exp
11643 * gdb.multi/tids.exp
11644 * gdb.opt/clobbered-registers-O2.exp
11645 * gdb.pascal/floats.exp
11646 * gdb.pascal/integers.exp
11647 * gdb.python/py-block.exp
11648 * gdb.python/py-events.exp
11649 * gdb.python/py-parameter.exp
11650 * gdb.python/py-symbol.exp
11651 * gdb.python/py-symtab.exp
11652 * gdb.python/py-type.exp
11653 * gdb.python/py-value.exp
11654 * gdb.python/py-xmethods.exp
11655 * gdb.python/python.exp
11656 * gdb.reverse/break-precsave.exp
11657 * gdb.reverse/consecutive-precsave.exp
11658 * gdb.reverse/finish-precsave.exp
11659 * gdb.reverse/i386-precsave.exp
11660 * gdb.reverse/machinestate-precsave.exp
11661 * gdb.reverse/sigall-precsave.exp
11662 * gdb.reverse/solib-precsave.exp
11663 * gdb.reverse/step-precsave.exp
11664 * gdb.reverse/until-precsave.exp
11665 * gdb.reverse/watch-precsave.exp
11666 * gdb.server/ext-attach.exp
11667 * gdb.server/ext-restart.exp
11668 * gdb.server/ext-run.exp
11669 * gdb.server/ext-wrapper.exp
11670 * gdb.stabs/gdb11479.exp
11671 * gdb.stabs/weird.exp
11672 * gdb.threads/attach-many-short-lived-threads.exp
11673 * gdb.threads/kill.exp
11674 * gdb.threads/watchpoint-fork.exp
11675
bc6c7af4
LM
116762016-12-01 Luis Machado <lgustavo@codesourcery.com>
11677
11678 Fix test names starting with uppercase throughout all the files below.
11679
11680 * gdb.ada/array_return.exp
11681 * gdb.ada/catch_ex.exp
11682 * gdb.ada/info_exc.exp
11683 * gdb.ada/mi_catch_ex.exp
11684 * gdb.ada/mi_dyn_arr.exp
11685 * gdb.ada/mi_ex_cond.exp
11686 * gdb.ada/mi_exc_info.exp
11687 * gdb.ada/mi_interface.exp
11688 * gdb.ada/mi_task_arg.exp
11689 * gdb.ada/mi_task_info.exp
11690 * gdb.ada/mi_var_array.exp
11691 * gdb.arch/alpha-step.exp
11692 * gdb.arch/amd64-disp-step.exp
11693 * gdb.arch/arm-disp-step.exp
11694 * gdb.arch/disp-step-insn-reloc.exp
11695 * gdb.arch/e500-prologue.exp
11696 * gdb.arch/ftrace-insn-reloc.exp
11697 * gdb.arch/gdb1558.exp
11698 * gdb.arch/i386-bp_permanent.exp
11699 * gdb.arch/i386-disp-step.exp
11700 * gdb.arch/i386-float.exp
11701 * gdb.arch/i386-gnu-cfi.exp
11702 * gdb.arch/ia64-breakpoint-shadow.exp
11703 * gdb.arch/mips16-thunks.exp
11704 * gdb.arch/pa-nullify.exp
11705 * gdb.arch/powerpc-aix-prologue.exp
11706 * gdb.arch/powerpc-power.exp
11707 * gdb.arch/ppc-dfp.exp
11708 * gdb.arch/s390-tdbregs.exp
11709 * gdb.arch/spu-info.exp
11710 * gdb.arch/spu-ls.exp
11711 * gdb.arch/thumb-bx-pc.exp
11712 * gdb.base/advance.exp
11713 * gdb.base/annota-input-while-running.exp
11714 * gdb.base/arrayidx.exp
11715 * gdb.base/asmlabel.exp
11716 * gdb.base/async.exp
11717 * gdb.base/attach-wait-input.exp
11718 * gdb.base/auto-connect-native-target.exp
11719 * gdb.base/batch-preserve-term-settings.exp
11720 * gdb.base/bfp-test.exp
11721 * gdb.base/bigcore.exp
11722 * gdb.base/bp-permanent.exp
11723 * gdb.base/break-always.exp
11724 * gdb.base/break-fun-addr.exp
11725 * gdb.base/break-idempotent.exp
11726 * gdb.base/break-main-file-remove-fail.exp
11727 * gdb.base/break-probes.exp
11728 * gdb.base/break-unload-file.exp
11729 * gdb.base/break.exp
11730 * gdb.base/call-ar-st.exp
11731 * gdb.base/call-rt-st.exp
11732 * gdb.base/call-sc.exp
11733 * gdb.base/call-signal-resume.exp
11734 * gdb.base/call-strs.exp
11735 * gdb.base/callexit.exp
11736 * gdb.base/callfuncs.exp
11737 * gdb.base/catch-gdb-caused-signals.exp
11738 * gdb.base/catch-signal-siginfo-cond.exp
11739 * gdb.base/catch-syscall.exp
11740 * gdb.base/compare-sections.exp
11741 * gdb.base/cond-eval-mode.exp
11742 * gdb.base/condbreak-call-false.exp
11743 * gdb.base/consecutive-step-over.exp
11744 * gdb.base/cursal.exp
11745 * gdb.base/disabled-location.exp
11746 * gdb.base/disasm-end-cu.exp
11747 * gdb.base/display.exp
11748 * gdb.base/double-prompt-target-event-error.exp
11749 * gdb.base/dprintf-bp-same-addr.exp
11750 * gdb.base/dprintf-detach.exp
11751 * gdb.base/dprintf-next.exp
11752 * gdb.base/dprintf-non-stop.exp
11753 * gdb.base/dprintf-pending.exp
11754 * gdb.base/dso2dso.exp
11755 * gdb.base/ending-run.exp
11756 * gdb.base/enum_cond.exp
11757 * gdb.base/examine-backward.exp
11758 * gdb.base/exe-lock.exp
11759 * gdb.base/exec-invalid-sysroot.exp
11760 * gdb.base/execl-update-breakpoints.exp
11761 * gdb.base/execution-termios.exp
11762 * gdb.base/fileio.exp
11763 * gdb.base/fixsection.exp
11764 * gdb.base/foll-exec-mode.exp
11765 * gdb.base/foll-exec.exp
11766 * gdb.base/fork-running-state.exp
11767 * gdb.base/frame-args.exp
11768 * gdb.base/fullpath-expand.exp
11769 * gdb.base/func-ptr.exp
11770 * gdb.base/gcore-relro-pie.exp
11771 * gdb.base/gdb1090.exp
11772 * gdb.base/gdb1555.exp
11773 * gdb.base/global-var-nested-by-dso.exp
11774 * gdb.base/gnu-ifunc.exp
11775 * gdb.base/hbreak-in-shr-unsupported.exp
11776 * gdb.base/hbreak-unmapped.exp
11777 * gdb.base/hook-stop.exp
11778 * gdb.base/infcall-input.exp
11779 * gdb.base/info-fun.exp
11780 * gdb.base/info-shared.exp
11781 * gdb.base/interrupt-noterm.exp
11782 * gdb.base/jit-so.exp
11783 * gdb.base/jit.exp
11784 * gdb.base/line-symtabs.exp
11785 * gdb.base/list.exp
11786 * gdb.base/longjmp.exp
11787 * gdb.base/macscp.exp
11788 * gdb.base/max-value-size.exp
11789 * gdb.base/nodebug.exp
11790 * gdb.base/nofield.exp
11791 * gdb.base/overlays.exp
11792 * gdb.base/paginate-after-ctrl-c-running.exp
11793 * gdb.base/paginate-bg-execution.exp
11794 * gdb.base/paginate-inferior-exit.exp
11795 * gdb.base/pending.exp
11796 * gdb.base/pr11022.exp
11797 * gdb.base/printcmds.exp
11798 * gdb.base/ptr-typedef.exp
11799 * gdb.base/ptype.exp
11800 * gdb.base/randomize.exp
11801 * gdb.base/range-stepping.exp
11802 * gdb.base/realname-expand.exp
11803 * gdb.base/relativedebug.exp
11804 * gdb.base/remote.exp
11805 * gdb.base/savedregs.exp
11806 * gdb.base/sepdebug.exp
11807 * gdb.base/set-noassign.exp
11808 * gdb.base/shlib-call.exp
11809 * gdb.base/shreloc.exp
11810 * gdb.base/sigaltstack.exp
11811 * gdb.base/sigbpt.exp
11812 * gdb.base/siginfo-addr.exp
11813 * gdb.base/siginfo-obj.exp
11814 * gdb.base/siginfo-thread.exp
11815 * gdb.base/signest.exp
11816 * gdb.base/signull.exp
11817 * gdb.base/sigrepeat.exp
11818 * gdb.base/skip.exp
11819 * gdb.base/so-impl-ld.exp
11820 * gdb.base/solib-corrupted.exp
11821 * gdb.base/solib-disc.exp
11822 * gdb.base/solib-display.exp
11823 * gdb.base/solib-overlap.exp
11824 * gdb.base/solib-search.exp
11825 * gdb.base/solib-symbol.exp
11826 * gdb.base/source-execution.exp
11827 * gdb.base/sss-bp-on-user-bp-2.exp
11828 * gdb.base/sss-bp-on-user-bp.exp
11829 * gdb.base/stack-checking.exp
11830 * gdb.base/stale-infcall.exp
11831 * gdb.base/step-break.exp
11832 * gdb.base/step-line.exp
11833 * gdb.base/step-over-exit.exp
11834 * gdb.base/step-test.exp
11835 * gdb.base/structs.exp
11836 * gdb.base/sym-file.exp
11837 * gdb.base/symtab-search-order.exp
11838 * gdb.base/term.exp
11839 * gdb.base/type-opaque.exp
11840 * gdb.base/unload.exp
11841 * gdb.base/until-nodebug.exp
11842 * gdb.base/until.exp
11843 * gdb.base/unwindonsignal.exp
11844 * gdb.base/watch-cond.exp
11845 * gdb.base/watch-non-mem.exp
11846 * gdb.base/watch_thread_num.exp
11847 * gdb.base/watchpoint-reuse-slot.exp
11848 * gdb.base/watchpoint-solib.exp
11849 * gdb.base/watchpoint.exp
11850 * gdb.btrace/dlopen.exp
11851 * gdb.cell/arch.exp
11852 * gdb.cell/break.exp
11853 * gdb.cell/bt.exp
11854 * gdb.cell/core.exp
11855 * gdb.cell/data.exp
11856 * gdb.cell/dwarfaddr.exp
11857 * gdb.cell/ea-cache.exp
11858 * gdb.cell/ea-standalone.exp
11859 * gdb.cell/ea-test.exp
11860 * gdb.cell/f-regs.exp
11861 * gdb.cell/fork.exp
11862 * gdb.cell/gcore.exp
11863 * gdb.cell/mem-access.exp
11864 * gdb.cell/ptype.exp
11865 * gdb.cell/registers.exp
11866 * gdb.cell/sizeof.exp
11867 * gdb.cell/solib-symbol.exp
11868 * gdb.cell/solib.exp
11869 * gdb.compile/compile-tls.exp
11870 * gdb.cp/exception.exp
11871 * gdb.cp/gdb2495.exp
11872 * gdb.cp/local.exp
11873 * gdb.cp/mb-inline.exp
11874 * gdb.cp/mb-templates.exp
11875 * gdb.cp/pr10687.exp
11876 * gdb.cp/pr9167.exp
11877 * gdb.cp/scope-err.exp
11878 * gdb.cp/templates.exp
11879 * gdb.cp/virtfunc.exp
11880 * gdb.dwarf2/dw2-dir-file-name.exp
11881 * gdb.dwarf2/dw2-single-line-discriminators.exp
11882 * gdb.fortran/complex.exp
11883 * gdb.fortran/library-module.exp
11884 * gdb.guile/guile.exp
11885 * gdb.guile/scm-cmd.exp
11886 * gdb.guile/scm-frame-inline.exp
11887 * gdb.guile/scm-objfile.exp
11888 * gdb.guile/scm-pretty-print.exp
11889 * gdb.guile/scm-symbol.exp
11890 * gdb.guile/scm-type.exp
11891 * gdb.guile/scm-value.exp
11892 * gdb.linespec/keywords.exp
11893 * gdb.linespec/ls-errs.exp
11894 * gdb.linespec/macro-relative.exp
11895 * gdb.linespec/thread.exp
11896 * gdb.mi/mi-breakpoint-changed.exp
11897 * gdb.mi/mi-dprintf-pending.exp
11898 * gdb.mi/mi-fullname-deleted.exp
11899 * gdb.mi/mi-logging.exp
11900 * gdb.mi/mi-pending.exp
11901 * gdb.mi/mi-solib.exp
11902 * gdb.mi/new-ui-mi-sync.exp
11903 * gdb.mi/user-selected-context-sync.exp
11904 * gdb.multi/dummy-frame-restore.exp
11905 * gdb.multi/multi-arch-exec.exp
11906 * gdb.multi/remove-inferiors.exp
11907 * gdb.multi/watchpoint-multi-exit.exp
11908 * gdb.opt/solib-intra-step.exp
11909 * gdb.perf/backtrace.exp
11910 * gdb.perf/single-step.exp
11911 * gdb.perf/skip-command.exp
11912 * gdb.perf/skip-prologue.exp
11913 * gdb.perf/solib.exp
11914 * gdb.python/lib-types.exp
11915 * gdb.python/py-as-string.exp
11916 * gdb.python/py-bad-printers.exp
11917 * gdb.python/py-block.exp
11918 * gdb.python/py-breakpoint.exp
11919 * gdb.python/py-cmd.exp
11920 * gdb.python/py-events.exp
11921 * gdb.python/py-evthreads.exp
11922 * gdb.python/py-finish-breakpoint.exp
11923 * gdb.python/py-finish-breakpoint2.exp
11924 * gdb.python/py-frame-inline.exp
11925 * gdb.python/py-frame.exp
11926 * gdb.python/py-inferior.exp
11927 * gdb.python/py-infthread.exp
11928 * gdb.python/py-mi.exp
11929 * gdb.python/py-objfile.exp
11930 * gdb.python/py-pp-maint.exp
11931 * gdb.python/py-pp-registration.exp
11932 * gdb.python/py-prettyprint.exp
11933 * gdb.python/py-recurse-unwind.exp
11934 * gdb.python/py-shared.exp
11935 * gdb.python/py-symbol.exp
11936 * gdb.python/py-symtab.exp
11937 * gdb.python/py-template.exp
11938 * gdb.python/py-type.exp
11939 * gdb.python/py-unwind-maint.exp
11940 * gdb.python/py-unwind.exp
11941 * gdb.python/py-value.exp
11942 * gdb.python/python.exp
11943 * gdb.reverse/finish-reverse-bkpt.exp
11944 * gdb.reverse/insn-reverse.exp
11945 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11946 * gdb.reverse/solib-precsave.exp
11947 * gdb.reverse/solib-reverse.exp
11948 * gdb.stabs/gdb11479.exp
11949 * gdb.stabs/weird.exp
11950 * gdb.threads/fork-child-threads.exp
11951 * gdb.threads/fork-plus-threads.exp
11952 * gdb.threads/fork-thread-pending.exp
11953 * gdb.threads/forking-threads-plus-breakpoint.exp
11954 * gdb.threads/hand-call-in-threads.exp
11955 * gdb.threads/interrupted-hand-call.exp
11956 * gdb.threads/linux-dp.exp
11957 * gdb.threads/local-watch-wrong-thread.exp
11958 * gdb.threads/next-while-other-thread-longjmps.exp
11959 * gdb.threads/non-ldr-exit.exp
11960 * gdb.threads/pending-step.exp
11961 * gdb.threads/print-threads.exp
11962 * gdb.threads/process-dies-while-detaching.exp
11963 * gdb.threads/process-dies-while-handling-bp.exp
11964 * gdb.threads/pthreads.exp
11965 * gdb.threads/queue-signal.exp
11966 * gdb.threads/reconnect-signal.exp
11967 * gdb.threads/signal-command-handle-nopass.exp
11968 * gdb.threads/signal-command-multiple-signals-pending.exp
11969 * gdb.threads/signal-delivered-right-thread.exp
11970 * gdb.threads/signal-sigtrap.exp
11971 * gdb.threads/sigthread.exp
11972 * gdb.threads/staticthreads.exp
11973 * gdb.threads/stepi-random-signal.exp
11974 * gdb.threads/thread-unwindonsignal.exp
11975 * gdb.threads/thread_check.exp
11976 * gdb.threads/thread_events.exp
11977 * gdb.threads/tid-reuse.exp
11978 * gdb.threads/tls-nodebug.exp
11979 * gdb.threads/tls-shared.exp
11980 * gdb.threads/tls-so_extern.exp
11981 * gdb.threads/tls.exp
11982 * gdb.threads/wp-replication.exp
11983 * gdb.trace/actions-changed.exp
11984 * gdb.trace/actions.exp
11985 * gdb.trace/backtrace.exp
11986 * gdb.trace/change-loc.exp
11987 * gdb.trace/collection.exp
11988 * gdb.trace/deltrace.exp
11989 * gdb.trace/disconnected-tracing.exp
11990 * gdb.trace/entry-values.exp
11991 * gdb.trace/ftrace-lock.exp
11992 * gdb.trace/ftrace.exp
11993 * gdb.trace/infotrace.exp
11994 * gdb.trace/mi-trace-frame-collected.exp
11995 * gdb.trace/mi-trace-unavailable.exp
11996 * gdb.trace/mi-traceframe-changed.exp
11997 * gdb.trace/mi-tracepoint-changed.exp
11998 * gdb.trace/mi-tsv-changed.exp
11999 * gdb.trace/no-attach-trace.exp
12000 * gdb.trace/packetlen.exp
12001 * gdb.trace/passc-dyn.exp
12002 * gdb.trace/passcount.exp
12003 * gdb.trace/pending.exp
12004 * gdb.trace/pr16508.exp
12005 * gdb.trace/qtro.exp
12006 * gdb.trace/range-stepping.exp
12007 * gdb.trace/read-memory.exp
12008 * gdb.trace/report.exp
12009 * gdb.trace/save-trace.exp
12010 * gdb.trace/signal.exp
12011 * gdb.trace/stap-trace.exp
12012 * gdb.trace/status-stop.exp
12013 * gdb.trace/strace.exp
12014 * gdb.trace/tfile.exp
12015 * gdb.trace/tfind.exp
12016 * gdb.trace/trace-break.exp
12017 * gdb.trace/trace-condition.exp
12018 * gdb.trace/trace-enable-disable.exp
12019 * gdb.trace/trace-mt.exp
12020 * gdb.trace/tracecmd.exp
12021 * gdb.trace/tracefile-pseudo-reg.exp
12022 * gdb.trace/tspeed.exp
12023 * gdb.trace/tstatus.exp
12024 * gdb.trace/tsv.exp
12025 * gdb.trace/unavailable.exp
12026 * gdb.trace/while-dyn.exp
12027 * gdb.trace/while-stepping.exp
12028 * lib/gdb-guile.exp
12029 * lib/gdb.exp
12030 * lib/mi-support.exp
12031 * lib/pascal.exp
12032 * lib/perftest.exp
12033 * lib/prelink-support.exp
12034 * lib/selftest-support.exp
12035
ad02e4fe
SM
120362016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
12037
12038 * Makefile.in: Include disable-implicit-rules.mk.
12039
22347e55
AA
120402016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12041
12042 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
12043 non-byte-aligned bit fields.
12044
da5b30da
AA
120452016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12046
12047 PR gdb/12616
12048 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
12049 respects the DW_AT_data_bit_offset attribute.
12050
b593ecca
SM
120512016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
12052
12053 * gdb.base/default.exp: Fix output of "set language".
12054
3b165252
SM
120552016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
12056
12057 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
12058 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
12059 make.
12060 * configure.ac: Remove checks for the make program.
12061 * configure: Re-generate.
12062
1a2f3d7f
KB
120632016-11-16 Kevin Buettner <kevinb@redhat.com>
12064
12065 * gdb.python/py-recurse-unwind.c (main): Add loop.
12066 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
12067 to read_register() and gdb.parse_and_eval(). Make each code
12068 call a separate case that can be individually tested.
12069 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
12070 proc. Call cont_and_backtrace for each of the code paths that
12071 we want to test in the unwinder.
12072
b7f38fda
AA
120732016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
12074
12075 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
12076 the definition of struct S.
12077
1f8db343
CM
120782016-11-11 Catherine Moore <clm@codesourcery.com>
12079
12080 * gdb.base/dump.exp: Identify verilog format dump tests as such.
12081
fad0c9fb
PA
120822016-11-09 Pedro Alves <palves@redhat.com>
12083
12084 * gdb.base/commands.exp (runto_or_return): New procedure.
12085 (gdbvar_simple_if_test, gdbvar_simple_while_test)
12086 (gdbvar_complex_if_while_test, progvar_simple_if_test)
12087 (progvar_simple_while_test, progvar_complex_if_while_test)
12088 (if_while_breakpoint_command_test)
12089 (infrun_breakpoint_command_test, breakpoint_command_test)
12090 (user_defined_command_test, watchpoint_command_test)
12091 (test_command_prompt_position, redefine_hook_test)
12092 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
12093 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
12094 multi_line_input and multi_line. Remove gdb_expect and
12095 gdb_stop_suppressing_tests uses.
12096 * lib/gdb.exp (valnum_re): New global.
12097 (multi_line_input): New procedure.
12098
8354c62c
SM
120992016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
12100
12101 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
12102 Remove.
12103 (test_setup): Define with proc_with_prefix.
12104 (test_cli_inferior): Likewise.
12105 (test_cli_thread): Likewise.
12106 (test_cli_frame): Likewise.
12107 (test_cli_select_frame): Likewise.
12108 (test_cli_up_down): Likewise.
12109 (test_mi_thread_select): Likewise.
12110 (test_mi_stack_select_frame): Likewise.
12111 (test_cli_in_mi_inferior): Likewise.
12112 (test_cli_in_mi_thread): Likewise.
12113 (test_cli_in_mi_frame): Likewise.
12114 (top level): Do not use with_test_prefix_procname.
12115
64f367a2
PA
121162016-11-09 Pedro Alves <palves@redhat.com>
12117
12118 * gdb.base/commands.exp (gdbvar_simple_if_test)
12119 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
12120 (progvar_simple_if_test, progvar_simple_while_test)
12121 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
12122 (infrun_breakpoint_command_test, breakpoint_command_test)
12123 (user_defined_command_test, watchpoint_command_test)
12124 (test_command_prompt_position, deprecated_command_test)
12125 (bp_deleted_in_command, temporary_breakpoint_commands)
12126 (stray_arg0_test, source_file_with_indented_comment)
12127 (recursive_source_test, if_commands_test)
12128 (error_clears_commands_left, redefine_hook_test)
12129 (redefine_backtrace_test): Use proc_with_prefix.
12130 * lib/gdb.exp (proc_with_prefix): New proc.
12131
0bb65f1e
AA
121322016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12133
12134 * gdb.base/tui-layout.c: New file.
12135 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
12136 disassembly window contains very long lines.
12137
7353f247
TT
121382016-11-08 Tom Tromey <tom@tromey.com>
12139
12140 * gdb.python/py-value.exp (test_value_creation): Make "long" test
12141 depend on Python 2.
12142
30a7bb83
TT
121432016-11-08 Tom Tromey <tom@tromey.com>
12144
12145 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
12146 New method.
12147
cdf5a07c
MG
121482016-10-29 Manish Goregaokar <manish@mozilla.com>
12149
2806dc7e 12150 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 12151
51a789c3
MG
121522016-10-27 Manish Goregaokar <manish@mozilla.com>
12153
2806dc7e
PA
12154 * gdb.rust/simple.rs: Add test for univariant enums without
12155 discriminants and for encoded struct-like enums.
51a789c3 12156
f610ab6d
PA
121572016-10-28 Pedro Alves <palves@redhat.com>
12158
12159 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
12160 gdb_test_multiple, tighten regexps and match symtabs and line
12161 tables incrementally.
12162
b129b0ca
LM
121632016-10-28 Luis Machado <lgustavo@codesourcery.com>
12164
12165 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
12166 general.
12167
ecf45d2c
SL
121682016-10-25 Luis Machado <lgustavo@codesourcery.com>
12169
12170 * gdb.base/exec-invalid-sysroot.exp: New file.
12171
b8d38ee4
JK
121722016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12173
12174 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
12175
f90fd8c2
JK
121762016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12177
12178 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
12179
2d2476aa
MR
121802016-10-19 Maciej W. Rozycki <macro@imgtec.com>
12181
2806dc7e
PA
12182 * gdb.base/killed-outside.exp: Remove $options from a call to
12183 `prepare_for_testing'.
2d2476aa 12184
e42b25a0
SM
121852016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12186
12187 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12188 Change test message.
12189
3ccdb432
SM
121902016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12191
12192 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
12193 Update comment.
12194
5bad3170
SM
121952016-10-17 Simon Marchi <simon.marchi@ericsson.com>
12196
12197 * gdb.trace/mi-trace-save.exp: New file.
12198
5ad9dba7
YQ
121992016-10-13 Yao Qi <yao.qi@linaro.org>
12200
12201 * gdb.base/code_elim.exp (get_var_address): Remove.
12202 * gdb.base/relocate.exp: Likewise.
12203 * gdb.base/shreloc.exp: Likewise.
12204 * lib/gdb.exp (get_var_address): New.
12205
62df7e21
YQ
122062016-10-13 Yao Qi <yao.qi@linaro.org>
12207
12208 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
12209 floating point tests if $skip_float_test is false.
12210
4dac951e
LM
122112016-10-12 Luis Machado <lgustavo@codesourcery.com>
12212
12213 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
12214 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
12215 argc values.
12216 Add 1 to argc so we guarantee distinct initial/modified argc values.
12217
8f1a8fc4
JK
122182016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12219
12220 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
12221
16c85b5d
JK
122222016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12223
12224 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
12225 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
12226 * gdb.arch/vsx-regs.exp: Likewise.
12227
1d0e042a
YQ
122282016-10-07 Yao Qi <yao.qi@linaro.org>
12229
12230 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
12231
68dadef5
MM
122322016-10-07 Markus Metzger <markus.t.metzger@intel.com>
12233
12234 * gdb.python/python.exp: Test decode_line("*0").
12235
33fa2c6e
DE
122362016-10-06 Doug Evans <dje@google.com>
12237
12238 * gdb.python/py-value.exp (test_value_creation): Add test for large
12239 unsigned 64-bit value.
12240
9c37b5ae
TT
122412016-10-06 Tom Tromey <tom@tromey.com>
12242
12243 * gdb.compile/compile.exp: Change java tests to rust.
12244 * gdb.base/setshow.exp: Change java tests to rust.
12245 * gdb.base/default.exp: Remove java from language list.
12246 * README (Examples): Update language example.
12247 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
12248 test.
12249 * lib/gdb.exp (skip_java_tests): Remove.
12250 * lib/java.exp: Remove.
12251 * gdb.java: Remove.
12252
78b86327
MR
122532016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12254
12255 * gdb.arch/mips-fcr.exp: New test.
12256 * gdb.arch/mips-fcr.c: Source for the new test.
12257
7470adbb
MR
122582016-10-06 Maciej W. Rozycki <macro@imgtec.com>
12259
12260 * gdb.base/solib-disc.exp: Use `standard_output_file'
12261 throughout.
12262
4a556533
PA
122632016-10-06 Pedro Alves <palves@redhat.com>
12264
12265 * gdb.base/jit-simple-dl.c: New file.
12266 * gdb.base/jit-simple-jit.c: New file, factored out from ...
12267 * gdb.base/jit-simple.c: ... this.
12268 * gdb.base/jit-simple.exp (jit_run): Delete.
12269 (build_jit): New proc.
12270 (jit_test_reread): Recompile either the main program or the shared
12271 library, depending on what is being tested. Skip changing address
12272 if caller wants to. Compare before/after addresses. If testing
12273 standalone, explicitly load the binary. Test "maint info
12274 breakpoints".
12275 (top level): Add "standalone vs shared lib" and "change address"
12276 vs "same address" axes.
12277
5a122fbc
PA
122782016-10-06 Pedro Alves <palves@redhat.com>
12279
12280 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
12281 call.
12282 (jit_run): Delete.
12283 (jit_test_reread): Use with_test_prefix. Reload the main binary
12284 explicitly. Compare the before/after addresses of the JIT
12285 descriptor.
12286
ee8da4b8
DE
122872016-08-15 Doug Evans <dje@google.com>
12288
12289 * gdb.xml/extra-regs.xml: Update, end field now required, default type
12290 for single bitfields is bool.
12291 * gdb.xml/tdesc-regs.exp: Ditto.
12292
f389f6fe
JK
122932016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12294
12295 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
12296
fdebf1a4
YQ
122972016-10-05 Yao Qi <yao.qi@linaro.org>
12298
12299 * lib/gdb.exp (support_complex_tests): Return zero if
12300 gdb_skip_float_test return true.
12301
9c36d954 123022016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12303 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
12304
12305 PR gdb/20487
12306 * gdb.mi/user-selected-context-sync.exp: New file.
12307 * gdb.mi/user-selected-context-sync.c: New file.
12308
4034d0ff 123092016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 12310 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
12311
12312 PR gdb/20487
12313 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
12314 =thread-select-event check.
12315
a4297203
PB
123162016-09-29 Peter Bergner <bergner@vnet.ibm.com>
12317
12318 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
12319 the compulsory L operand changes.
12320 * gdb.arch/powerpc-power.s: Likewise.
12321
bb805577
JK
123222016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12323
12324 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
12325 * gdb.base/jit-attach-pie.c: New file.
12326 * gdb.base/jit-attach-pie.exp: New file.
12327
6d61dee5
PA
123282016-09-28 Pedro Alves <palves@redhat.com>
12329
12330 * gdb.base/infcall-input.c: New file.
12331 * gdb.base/infcall-input.exp: New file.
12332
f73842fc
YQ
123332016-09-22 Yao Qi <yao.qi@linaro.org>
12334
12335 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
12336 (gdb_exit): Rename it to ...
12337 (gdbserver_gdb_exit): ... Close GDBserver.
12338 (gdb_exit): New proc, call gdbserver_gdb_exit.
12339 (mi_gdb_exit): Likewise.
12340
90681dab
YQ
123412016-09-22 Yao Qi <yao.qi@linaro.org>
12342
12343 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
12344 path.
12345 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
12346 Remove duplication.
12347
9c211fd8
YQ
123482016-09-22 Yao Qi <yao.qi@linaro.org>
12349
12350 * lib/gdbserver-support.exp: Check the existence of
12351 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
12352
ad0a504f
AK
123532016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
12354
12355 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
12356
36cf1806
TT
123572016-09-21 Tom Tromey <tom@tromey.com>
12358
12359 PR gdb/20604:
12360 * gdb.base/quit.exp: New file.
12361
74172ecf
SM
123622016-09-21 Simon Marchi <simon.marchi@ericsson.com>
12363
12364 * .gitignore: New file.
12365
3d0ec882
MR
123662016-09-21 Maciej W. Rozycki <macro@imgtec.com>
12367
12368 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
12369 throughout.
12370
8193adea
AA
123712016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12372
12373 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
12374
d41a5c09
JK
123752016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12376
12377 * gdb.cp/casts.cc (decltype): Move it ...
12378 (main): ... with its call to ...
12379 * gdb.cp/casts03.cc: ... a new file.
12380 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
12381
d2dfe700
JK
123822016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12383
12384 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
12385
e2a92b16
PB
123862016-09-15 Peter Bergner <bergner@vnet.ibm.com>
12387
12388 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
12389 and sync up the test with tests in gas/testsuite/gas/ppc.
12390 * gdb.arch/powerpc-power.exp: Likewise.
12391
49b4de64
JK
123922016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12393
12394 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
12395
2c29df25
SDJ
123962016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
12397 Jan Kratochvil <jan.kratochvil@redhat.com>
12398
12399 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
12400 make m1's definition to be different from m2's. Use 'dummy' as an
12401 argument for probe 'two'.
12402
cc3c2846
JB
124032016-09-10 Jon Beniston <jon@beniston.com>
12404
12405 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
12406 for sim target.
12407
e1b2624a
AA
124082016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
12409
12410 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
12411 variable declaration.
12412 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
12413 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
12414 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
12415 received HWCAP as its argument.
12416
4295e285
PA
124172016-09-06 Pedro Alves <palves@redhat.com>
12418
12419 * gdb.base/new-ui-pending-input.c: New file.
12420 * gdb.base/new-ui-pending-input.exp: New file.
12421 * gdb.exp (clear_gdb_spawn_id): New procedure.
12422 (with_spawn_id): Check whether gdb_spawn_id exists before
12423 referencing it. If gdb_spawn_id didn't exist on entry, clear it
12424 on exit.
12425
00d5215e
UW
124262016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12427
12428 * gdb.base/float128.c: New file.
12429 * gdb.base/float128.exp: Likewise.
12430 * gdb.base/floatn.c: Likewise.
12431 * gdb.base/floatn.exp: Likewise.
12432
a9ff5f12
UW
124332016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
12434
12435 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
12436
f245535c
PA
124372016-09-05 Pedro Alves <palves@redhat.com>
12438
12439 PR backtrace/19927
12440 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
12441 unwinders are immediately called as side effect of "source" or
12442 "disable unwinder" commands.
12443 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
12444
ae9cf263
YQ
124452016-09-02 Yao Qi <yao.qi@linaro.org>
12446
12447 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
12448 is true and $type is "float" or "double".
12449
27aba047
YQ
124502016-09-02 Yao Qi <yao.qi@linaro.org>
12451
12452 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
12453 true.
12454 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
12455 * gdb.base/call-rt-st.exp: Likewise.
12456 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
12457 return value instead of gdb,skip_float_test.
12458 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
12459 (do_function_calls): Use its return value instead of
12460 gdb,skip_float_test.
12461 * gdb.base/finish.exp: Likewise.
12462 * gdb.base/funcargs.exp: Likewise.
12463 * gdb.base/return.exp: Likewise.
12464 * gdb.base/return2.exp: Likewise.
12465 * gdb.base/varargs.exp: Likewise.
12466 * lib/gdb.exp (gdb_skip_float_test): Change it to
12467 gdb_caching_proc. Detect the broken ptrace on arm-linux.
12468
5af962df
AA
124692016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12470
12471 * gdb.multi/tids.exp: Test "thread apply all".
12472
7fac6910
JK
124732016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12474
12475 * gdb.base/default.exp (tty): Remove.
12476
bb1fe4ac
KB
124772016-08-24 Kevin Buettner <kevinb@redhat.com>
12478
2806dc7e
PA
12479 * gdb.python/py-recurse-unwind.c: New file.
12480 * gdb.python/py-recurse-unwind.py: New file.
12481 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 12482
0a1ddfa6
SM
124832016-08-24 Simon Marchi <simon.marchi@ericsson.com>
12484
12485 * gdb.base/set-inferior-tty.exp: New file.
12486 * gdb.base/set-inferior-tty.c: New file.
12487
d9de1fe3
PA
124882016-08-23 Pedro Alves <palves@redhat.com>
12489
12490 PR gdb/20494
12491 * gdb.base/new-ui-echo.c: New file.
12492 * gdb.base/new-ui-echo.exp: New file.
12493
e9d9abd7
YQ
124942016-08-23 Yao Qi <yao.qi@linaro.org>
12495
12496 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
12497 gdbserver_spawn.
12498 * gdb.server/connect-without-multi-process.exp (do_test):
12499 Likewise.
12500
3589529e
YQ
125012016-08-23 Yao Qi <yao.qi@linaro.org>
12502
12503 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
12504 standalone_txt. Delete gdb_txt and standalone_txt on host
12505 and target. Spawn the binary on target. Copy files from
12506 target to host.
12507
6bb90213
PA
125082016-08-22 Pedro Alves <palves@redhat.com>
12509
12510 PR gdb/20505
12511 * gdb.base/vdso-warning.exp: Test core dumps too. Use
12512 with_test_prefix. Factor out bits to ...
12513 (test_no_vdso): ... this new procedure.
12514
20c2c024
CL
125152016-08-19 Carl Love <cel@us.ibm.com>
12516
12517 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
12518 maintaining separate logic for constructing the output path.
12519 * gdb.arch/powerpc-d128-regs.exp: Likewise.
12520 * gdb.arch/ppc-dfp.exp: Likewise.
12521 * gdb.arch/ppc-fp.exp: Likewise.
12522 * gdb.arch/vsx-regs.exp: Likewise.
12523 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
12524 binprefix for generating the additional binary files.
12525
0646e07d
PA
125262016-08-19 Pedro Alves <palves@redhat.com>
12527
12528 * gdb.trace/mi-trace-frame-collected.exp
12529 (test_trace_frame_collected): On x32, expect two registers.
12530
46da9242
CL
125312016-08-18 Carl Love <cel@us.ibm.com>
12532
12533 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
12534 and sync up the test with tests in gas/testsuite/gas/ppc.
12535 * gdb.arch/powerpc-power.exp: Likewise.
12536
eb2332d7
SM
125372016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12538
12539 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
12540 expected error message.
12541
63c61e04
SM
125422016-08-17 Simon Marchi <simon.marchi@ericsson.com>
12543
12544 * gdb.multi/remove-inferiors.exp: New file.
12545 * gdb.multi/remove-inferiors.c: New file.
12546
7b17065f
YQ
125472016-08-12 Yao Qi <yao.qi@linaro.org>
12548
12549 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
12550 argument list.
12551
01d3dedf
PA
125522016-08-10 Pedro Alves <palves@redhat.com>
12553
12554 PR gdb/19187
12555 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
12556 setup_kfails.
12557
3eb7562a
PA
125582016-08-09 Pedro Alves <palves@redhat.com>
12559 Simon Marchi <simon.marchi@ericsson.com>
12560
12561 PR gdb/20418
12562 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
12563 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
12564
80614914
PA
125652016-08-09 Pedro Alves <palves@redhat.com>
12566
12567 PR mi/20431
12568 * gdb.mi/mi-cmd-error.exp: New file.
12569
f348d89a
PA
125702016-08-09 Pedro Alves <palves@redhat.com>
12571
12572 PR gdb/18653
12573 * gdb.base/signals-state-child.c: New file.
12574 * gdb.base/signals-state-child.exp: New file.
12575 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
12576
e5ca03b4
PA
125772016-08-09 Pedro Alves <palves@redhat.com>
12578
12579 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
12580
282a0691
TT
125812016-08-03 Tom Tromey <tom@tromey.com>
12582
12583 PR python/18565:
12584 * gdb.python/py-frame-inline.exp: Add Frame.function test.
12585
41bfcd63
YQ
125862016-08-01 Yao Qi <yao.qi@linaro.org>
12587
12588 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
12589 variable mode to "multi-process" if $multi_process is 1, otherwise
12590 set it to "single-process".
12591
e3465b24
YQ
125922016-08-01 Yao Qi <yao.qi@linaro.org>
12593
12594 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
12595 * gdb.cp/cpexprs.exp: Likewise.
12596 * gdb.cp/m-static.exp: Likewise.
12597
0b31a4bc
TT
125982016-07-26 Tom Tromey <tom@tromey.com>
12599
12600 PR python/20190:
12601 * gdb.threads/tls.exp (check_thread_local): Add python symbol
12602 test.
12603
e0461dbb
MM
126042016-07-26 Markus Metzger <markus.t.metzger@intel.com>
12605
12606 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
12607 selecting assembly source files.
12608 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
12609 assembly source files.
12610 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
12611 assembly source files.
12612 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
12613 selecting assembly source files.
12614
8194e927
SM
126152016-07-25 Simon Marchi <simon.marchi@ericsson.com>
12616
12617 * gdb.base/new-ui.exp (do_test_invalid_args): New
12618 procedure.
12619
c0272db5
TW
126202016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
12621
12622 * gdb.btrace/reconnect.c: New file.
12623 * gdb.btrace/reconnect.exp: New file.
12624
e3487908
GKB
126252016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
12626
12627 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
12628 to test_catch_syscall_group.
12629 (test_catch_syscall_group): New.
12630
12df5c00
TT
126312016-07-21 Tom Tromey <tom@tromey.com>
12632
12633 * gdb.rust/simple.rs (main): Use empty struct expression.
12634 * gdb.rust/simple.exp: Add tests for empty struct expression.
12635
bae62ee2
YQ
126362016-07-21 Yao Qi <yao.qi@linaro.org>
12637
12638 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
12639 if gdb_skip_xml_test is true on some targets.
12640
b1b53fb3
YQ
126412016-07-21 Yao Qi <yao.qi@linaro.org>
12642
12643 * gdb.server/solib-list.exp: Unset last_loaded_file.
12644
027d97f8
JK
126452016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12646
12647 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
12648 "step into captured_main (args)".
12649
7674d381
JK
126502016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12651
12652 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
12653
72b5d099
JK
126542016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12655
12656 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
12657
1f960ced
PA
126582016-07-19 Pedro Alves <palves@redhat.com>
12659
12660 * gdb.opt/inline-break.exp: Remove optimize=-O2.
12661 * gdb.opt/inline-bt.exp: Likewise.
12662 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
12663 additional_flags=-Winline.
12664 * gdb.opt/inline-locals.exp: Likewise.
12665 * gdb.opt/inline-markers.c (ATTR): Define.
12666 (inlined_fn): Use it.
12667
f25827c1
YQ
126682016-07-19 Yao Qi <yao.qi@linaro.org>
12669
12670 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
12671 (test_with_self): Remove some code. Remove argument executable.
12672 (top-level): Use do_self_tests.
12673
37539ebe
DB
126742016-07-15 Zachary Welch <zwelch@codesourcery.com>
12675 Don Breazeal <donb@codesourcery.com>
12676
12677 * gdb.base/maint.exp: Escape paths used in regular expressions.
12678 * gdb.stabs/weird.exp: Likewise.
12679
dac790e1
TT
126802016-07-13 Tom Tromey <tom@tromey.com>
12681
12682 PR python/15620, PR python/18620:
12683 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
12684 (test_bkpt_events): New procs.
12685
93daf339
TT
126862016-07-13 Tom Tromey <tom@tromey.com>
12687
12688 PR python/17698:
12689 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
12690 test.
12691 (test_watchpoints): Likewise.
12692 (test_bkpt_pending): New proc.
12693
6571a381
TT
126942016-07-13 Tom Tromey <tom@tromey.com>
12695
12696 PR cli/18053:
12697 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
12698 completion test.
12699
e8732474
JK
127002016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12701
12702 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
12703 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
12704 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
12705 f_label.
12706 (g): Rename g_end_lbl to g_label.
12707 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
12708 low_pc and high_pc.
12709 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
12710
e0f3fd7c
TT
127112016-07-12 Tom Tromey <tom@tromey.com>
12712
12713 PR python/19293:
12714 * gdb.python/py-unwind-maint.exp: Update tests.
12715
3cfe46b6
YQ
127162016-07-12 Yao Qi <yao.qi@linaro.org>
12717
12718 * lib/selftest-support.exp (selftest_setup): Match the output
12719 when captured_main is inlined.
12720
4f19a0e6
WT
127212016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
12722
12723 * gdb.fortran/derived-types.exp (result_line, result_line_2):
12724 New variables.
12725 (print this%a, print this%b, print this): New tests.
12726 * gdb.fortran/derived-types.f90 (this): New object and
12727 initialization.
12728
986cf455
SM
127292016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12730
12731 * gdb.ada/arraydim.exp: Remove extra directory level in build
12732 directory.
12733
f0464b23
SM
127342016-07-06 Simon Marchi <simon.marchi@ericsson.com>
12735
12736 * lib/ada.exp: Remove extra directory level in build directory.
12737 * gdb.ada/cond_lang.exp: Likewise.
12738 * gdb.ada/exec_changed.exp: Likewise.
12739 * gdb.ada/lang_switch.exp: Likewise.
12740
42d94011
MG
127412016-07-06 Manish Goregaokar <manish@mozilla.com>
12742
2806dc7e
PA
12743 * simple.rs: Add test for raw pointer subscripting.
12744 * simple.exp: Add test expectations.
42d94011 12745
647c264c
YQ
127462016-07-05 Yao Qi <yao.qi@linaro.org>
12747
12748 * gdb.mi/mi-reverse.exp: Match =record-started output.
12749
20aa2c60
PA
127502016-07-01 Pedro Alves <palves@redhat.com>
12751
12752 * gdb.base/jit-reader.exp (info_registers_current_frame): New
12753 procedure.
12754 (jit_reader_test): Test the jit reader's unwinder.
12755 * gdb.base/jithost.c (jit_function_00_code): New global.
12756 (main): Use memcpy to fill in the mmapped code, instead of poking
12757 bytes manually here.
12758 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
12759 value.
12760 (read_debug_info): Save the function's range.
12761 (read_sp): New function.
12762 (unwind_frame): Use it. Also unwind RBP.
12763 (get_frame_id): Use read_sp.
12764 (gdb_init_reader): Use calloc instead of malloc.
12765 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
12766 parameter. Use gdb_test_multiple.
12767
ced2dffb
PA
127682016-07-01 Pedro Alves <palves@redhat.com>
12769 Antoine Tremblay <antoine.tremblay@ericsson.com>
12770
12771 * gdb.threads/process-dies-while-detaching.c: New file.
12772 * gdb.threads/process-dies-while-detaching.exp: New file.
12773
63000888
PA
127742016-07-01 Pedro Alves <palves@redhat.com>
12775
12776 * gdb.multi/watchpoint-multi-exit.c: New file.
12777 * gdb.multi/watchpoint-multi-exit.exp: New file.
12778
038d4868
PA
127792016-06-30 Pedro Alves <palves@redhat.com>
12780
12781 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
12782 unset inferior_spawn_id.
12783
994e9c83
PA
127842016-06-30 Pedro Alves <palves@redhat.com>
12785
12786 * lib/mi-support.exp (default_mi_gdb_start): Declare global
12787 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
12788
e5653468
YQ
127892016-06-29 Yao Qi <yao.qi@linaro.org>
12790
12791 * gdb.base/return.c: Add copyright header.
12792
803b47e5
TT
127932016-06-29 Tom Tromey <tom@tromey.com>
12794
12795 PR python/20129:
12796 * gdb.python/py-framefilter.exp: Add tests for setting priority
12797 and disabling of non-existent frame filter.
12798
28244707
YQ
127992016-06-29 Yao Qi <yao.qi@linaro.org>
12800
12801 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
12802 0x0f07ff.
12803
a31d2f06
YQ
128042016-06-28 Yao Qi <yao.qi@linaro.org>
12805
12806 * gdb.base/catch-syscall.exp: Remove check on isnative and target
12807 triplets. Start gdb, execute catch syscall, and continue. Check
12808 gdb's output to determine catch syscall is supported.
12809
921d8f54
MG
128102016-06-27 Manish Goregaokar <manish@mozilla.com>
12811
25d49b86
PA
12812 * gdb.rust/simple.rs: Add test for returning unit in a function.
12813 * gdb.rust/simple.exp: Add expectation for functions returning
12814 unit.
921d8f54 12815
f4952523
PMR
128162016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
12817
12818 * gdb.python/py-breakpoint-create-fail.c,
12819 gdb.python/py-breakpoint-create-fail.exp,
12820 gdb.python/py-breakpoint-create-fail.py: New testcase.
12821
fccb08f8
MG
128222016-06-25 Manish Goregaokar <manish@mozilla.com>
12823
12824 PR gdb/20239
12825 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
12826 * gdb.rust/simple.exp: Add test expectations for new NonZero
12827 tests.
fccb08f8 12828
6b850546
DT
128292016-06-24 David Taylor <dtaylor@emc.com>
12830
12831 * gdb.base/offsets.exp: New file.
12832 * gdb.base/offsets.c: New file.
12833
17621150
TT
128342016-06-23 Tom Tromey <tom@tromey.com>
12835
12836 PR gdb/16483:
12837 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
12838 before any filters are loaded.
12839
04d59df6
WT
128402016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
12841
12842 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
12843 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
12844 structs.
12845 * gdb.fortran/derived-type-function.exp: New file.
12846 * gdb.fortran/derived-type-function.f90: New file.
12847
12848
ac69f786
PA
128492016-06-21 Pedro Alves <palves@redhat.com>
12850
12851 * gdb.base/new-ui.exp: New file.
12852 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
12853 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
12854 (with_spawn_id): New procedure.
12855
49940788
PA
128562016-06-21 Pedro Alves <palves@redhat.com>
12857
12858 * gdb.mi/mi-exec-run.exp: New file.
12859
ef274d26
PA
128602016-06-21 Pedro Alves <palves@redhat.com>
12861
12862 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
12863 breakpoint command's output on the main UI.
12864 (test_break): New procedure, factored out from calls in the top
12865 level.
12866 (top level): Use foreach_with_prefix to test MI as main UI and as
12867 separate UI.
12868
468afe6c
PA
128692016-06-21 Pedro Alves <palves@redhat.com>
12870
12871 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
12872 (test_awatch_creation_and_listing)
12873 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
12874 Remove 'type' parameter.
12875 (test_watchpoint_all): New parameter mi_mode. Remove
12876 with_test_prefix.
12877 (top level): Use foreach_with_prefix, and add main/separate UI MI
12878 testing axis.
12879
51f77c37
PA
128802016-06-21 Pedro Alves <palves@redhat.com>
12881
12882 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
12883 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
12884 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
12885 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
12886 (gdb_main_spawn_id, mi_spawn_id): Declare and
12887 comment.
12888 (mi_create_inferior_pty): New procedure,
12889 factored out from default_mi_gdb_start.
12890 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
12891 procedures.
12892 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
12893 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
12894 Use mi_create_inferior_pty.
12895 (mi_gdb_start): Use eval to pass down args list.
12896
8980e177
PA
128972016-06-21 Pedro Alves <palves@redhat.com>
12898
12899 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
12900 * gdb.opt/inline-cmds.exp: Add MI tests.
12901
f38d3ad1
PA
129022016-06-21 Pedro Alves <palves@redhat.com>
12903
12904 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
12905
45db7c09
PA
129062016-06-21 Pedro Alves <palves@redhat.com>
12907
12908 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
12909 (top level): Use it instead of mi_execute_to.
12910
5a069ab3
PA
129112016-06-21 Pedro Alves <palves@redhat.com>
12912
12913 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
12914 (cont_handler_str): New.
12915 (signal_stop_handler): Set stop_handler_str instead of printing to
12916 stdout.
12917 (continue_handler): Set cont_handler_str instead of printing to
12918 stdout.
12919 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
12920 mi_send_resuming_command. Print stop_handler_str and
12921 cont_handler_str instead of expecting the python events print
12922 directly.
12923
2838cc1d
SD
129242016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
12925
12926 * gdb.base/jit-reader.exp: New file.
12927 * gdb.base/jithost.c: New file.
12928 * gdb.base/jithost.h: New file.
12929 * gdb.base/jitreader.c : New file.
12930 * gdb.base/jit-protocol.h: New file.
12931
21a77091
YQ
129322016-06-17 Yao Qi <yao.qi@linaro.org>
12933
12934 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
12935 parameters follow_fork and detach_on_fork. Set follow-fork-mode
12936 and detach-on-fork. Adjust tests.
12937 (top level): Invoke break_cond_on_syscall with combinations of
12938 syscall, follow-fork-mode and detach-on-fork.
12939
f50bf8e5
YQ
129402016-06-17 Yao Qi <yao.qi@linaro.org>
12941
12942 * gdb.base/step-over-exit.c: New.
12943 * gdb.base/step-over-exit.exp: New.
12944
a28d8e50
YTL
129452016-06-17 Yan-Ting Lin <currygt52@gmail.com>
12946
12947 * gdb.base/float.exp: Add target check for nds32*-*-*.
12948 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
12949
cad8e26d
AB
129502016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
12951
12952 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
12953 for unsupported target features.
12954 * gdb.base/call-rt-st.exp: Likewise.
12955 * gdb.base/call-sc.exp: Likewise.
12956 * gdb.base/call-signal-resume.exp: Likewise.
12957 * gdb.base/call-strs.exp: Likewise.
12958 * gdb.base/callexit.exp: Likewise.
12959 * gdb.base/callfuncs.exp: Likewise.
12960 * gdb.base/nodebug.exp: Likewise.
12961 * gdb.base/printcmds.exp: Likewise.
12962 * gdb.base/ptype.exp: Likewise.
12963 * gdb.base/structs.exp: Likewise.
12964 * gdb.base/unwindonsignal.exp: Likewise.
12965 * gdb.cp/gdb2495.exp: Likewise.
12966 * gdb.cp/templates.exp: Likewise.
12967 * gdb.cp/virtfunc.exp: Likewise.
12968 * gdb.threads/hand-call-in-threads.exp: Likewise.
12969 * gdb.threads/interrupted-hand-call.exp: Likewise.
12970 * gdb.threads/thread-unwindonsignal.exp: Likewise.
12971
347dc102
TT
129722016-06-10 Tom Tromey <tom@tromey.com>
12973
12974 PR rust/20110:
12975 * gdb.rust/expr.exp: Add test for integer constant larger than
12976 i32.
12977
5e13cf25
BH
129782016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
12979
12980 * gdb.fortran/nested-funcs.exp: New.
12981 * gdb.fortran/nested-funcs.f90: New.
12982
bb556f1f
TK
129832016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
12984
12985 * gdb.base/examine-backward.c: New file.
12986 * gdb.base/examine-backward.exp: New file.
12987
38b022b4
SM
129882016-06-06 Simon Marchi <simon.marchi@ericsson.com>
12989
12990 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
12991 matching.
12992
1b40ec05
TT
129932016-06-02 Tom Tromey <tom@tromey.com>
12994
12995 PR python/18984:
12996 * gdb.python/py-shared.exp: Add solib_name test.
12997
193bd378
SM
129982016-06-02 Simon Marchi <simon.marchi@ericsson.com>
12999
13000 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
13001
3326303b
MG
130022016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
13003
13004 PR c++/19893
13005 * gdb.dwarf2/implref.exp: Rename to...
13006 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
13007 * gdb.dwarf2/implref-array.c: New file.
13008 * gdb.dwarf2/implref-array.exp: Likewise.
13009 * gdb.dwarf2/implref-global.c: Likewise.
13010 * gdb.dwarf2/implref-global.exp: Likewise.
13011 * gdb.dwarf2/implref-struct.c: Likewise.
13012 * gdb.dwarf2/implref-struct.exp: Likewise.
13013
825c8ef2
AT
130142016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13015
13016 * gdb.trace/trace-condition.exp: Add 64bit tests.
13017
2320162a
AT
130182016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13019
13020 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
13021 bits types.
13022 (main): Adapt to 8 to 64 bits types.
13023 * gdb.trace/trace-condition.exp: Add new tests.
13024
a7818233
AT
130252016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13026
13027 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
13028
0d336466
AT
130292016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13030
13031 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
13032 Move condition tests...
13033 * gdb.trace/trace-condition.exp: Here.
13034
7faeb45a
AT
130352016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13036
13037 * gdb.trace/trace-condition.exp: Add counter-case tests.
13038
e385593e
JK
130392016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13040
13041 PR c++/15231
13042 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
13043 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
13044
744608cc
PA
130452016-05-27 Pedro Alves <palves@redhat.com>
13046
13047 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13048 New procedure.
13049 (top level): Call it, and bail out of DejaGnu is known to be bad.
13050
ac775bf4
AB
130512016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
13052
13053 * gdb.base/whatis.c: Extend the test case.
13054 * gdb.base/whatis.exp: Add additional tests.
13055
2bbad2ea
BH
130562016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13057
13058* gdb.fortran/type.f90: Add pointer variable.
13059* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
13060
8b70175d
BH
130612016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13062
13063 * gdb.fortran/vla-type.exp: Fix testcase name.
13064
86d8a848
BH
130652016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13066
13067 * gdb.fortran/vla-type.exp: Access elements in nested structs.
13068
e188eb36
BH
130692016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13070
13071 * gdb.fortran/type.f90: Add nested structures.
13072 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
13073 * gdb.fortran/derived-type.exp: Adapt expected output.
13074 * gdb.fortran/vla-type.exp: Adapt expected output.
13075
9b2db1fd
BH
130762016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13077
13078 * gdb.fortran/whatis_type.exp: Adapt expected output.
13079
72b17055
BH
130802016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13081
13082 * gdb.fortran/print_type.exp: Fix expected output.
13083 * gdb.fortran/whatis_type.exp: Fix expected output.
13084
3cd81d8d
BH
130852016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13086
13087 * gdb.fortran/whatis_type.exp: Use multi_line.
13088
ddae9462
TT
130892016-05-24 Tom Tromey <tom@tromey.com>
13090
13091 PR python/17386:
13092 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
13093 use value as an index.
13094
1957f6b8
TT
130952016-05-23 Tom Tromey <tom@tromey.com>
13096
13097 PR python/17981:
13098 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
13099 no-breakpoint case.
13100
026a9174
PA
131012016-05-24 Pedro Alves <palves@redhat.com>
13102
13103 PR gdb/19828
13104 * gdb.threads/clone-attach-detach.c: New file.
13105 * gdb.threads/clone-attach-detach.exp: New file.
13106
e70a7231
FR
131072016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
13108
13109 * gdb.base/annota-input-while-running.exp: Fix syntax error.
13110
0f6ed0e0
TT
131112016-05-23 Tom Tromey <tom@tromey.com>
13112
13113 PR python/19438, PR python/18393:
13114 * gdb.python/py-progspace.exp: Add "dir" test.
13115 * gdb.python/py-objfile.exp: Add "dir" test.
13116
ffd19d61
YQ
131172016-05-23 Yao Qi <yao.qi@linaro.org>
13118
13119 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
13120 * gdb.arch/thumb2-it.exp: Likewise.
13121
9e8f9b05
SM
131222016-05-18 Simon Marchi <simon.marchi@ericsson.com>
13123
13124 * gdb.mi/mi-threads-interrupt.c: New file.
13125 * gdb.mi/mi-threads-interrupt.exp: New file.
13126
61c6156d
SM
131272016-05-17 Simon Marchi <simon.marchi@ericsson.com>
13128
13129 PR gdb/18077
13130 * gdb.mi/mi-async-run.exp: New file.
13131 * gdb.mi/mi-async-run.c: New file.
13132
67218854
TT
131332016-05-17 Tom Tromey <tom@tromey.com>
13134 Manish Goregaokar <manishsmail@gmail.com>
13135
13136 * lib/rust-support.exp: New file.
13137 * lib/gdb.exp (skip_rust_tests): New proc.
13138 (build_executable_from_specs): Handle rust.
13139 * lib/future.exp (gdb_find_rustc): New proc.
13140 (gdb_default_target_compile): Handle rust.
13141 * gdb.rust/expr.exp: New file.
13142 * gdb.rust/generics.exp: New file.
13143 * gdb.rust/generics.rs: New file.
13144 * gdb.rust/methods.exp: New file.
13145 * gdb.rust/methods.rs: New file.
13146 * gdb.rust/modules.exp: New file.
13147 * gdb.rust/modules.rs: New file.
13148 * gdb.rust/simple.exp: New file.
13149 * gdb.rust/simple.rs: New file.
13150
c44af4eb
TT
131512016-05-17 Tom Tromey <tom@tromey.com>
13152
13153 * gdb.base/default.exp (set language): Add rust.
13154
dcd1f979
TT
131552016-05-17 Tom Tromey <tom@tromey.com>
13156
13157 * gdb.gdb/unittest.exp: New file.
13158
155b7f57
YQ
131592016-05-16 Yao Qi <yao.qi@linaro.org>
13160
13161 * gdb.base/batch-preserve-term-settings.exp: Remove variable
13162 shell_prompt. Update shell_prompt_re.
13163
8ddd5a6c
DE
131642016-05-12 Doug Evans <dje@google.com>
13165
13166 PR symtab/19999
13167 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
13168 $options when building executable.
13169 * gdb.dwarf2/fission-loclists-pie.S: New file.
13170 * gdb.dwarf2/fission-loclists-pie.exp: New file.
13171
02e370d9
SM
131722016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13173
13174 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
13175 of [is_remote target],
13176
8929ad8b
SM
131772016-05-04 Simon Marchi <simon.marchi@ericsson.com>
13178
13179 * lib/gdb.exp (use_gdb_stub): New procedure.
13180
6c447423
DE
131812016-05-03 Yunlian Jiang <yunlian@google.com>
13182 Doug Evans <dje@google.com>
13183
13184 PR symtab/19914
13185 * gdb.dwarf2/dwp-sepdebug.c: New file.
13186 * gdb.dwarf2/dwp-sepdebug.exp: New file.
13187
444e826c
SM
131882016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13189
13190 * gdb.base/detach.exp: Remove is_remote check.
13191
740feeaa
SM
131922016-05-02 Simon Marchi <simon.marchi@ericsson.com>
13193
13194 * gdb.base/annota-input-while-running.exp: Don't check for
13195 [is_remote target]. Enable annotations after running to main.
13196 Remove unused "set test..." line.
13197
9080ac9d
SM
131982016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13199
13200 * gdb.trace/trace-enable-disable.exp: New file.
13201 * gdb.trace/trace-enable-disable.c: New file.
13202
952ebca5
SM
132032016-04-28 Simon Marchi <simon.marchi@ericsson.com>
13204
13205 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
13206 use it in info sharedlibrary test.
13207 * gdb.trace/ftrace-lock.exp: Likewise.
13208 * gdb.trace/ftrace.exp: Likewise.
13209 * gdb.trace/range-stepping.exp: Likewise.
13210 * gdb.trace/trace-break.exp: Likewise.
13211 * gdb.trace/trace-condition.exp: Likewise.
13212 * gdb.trace/trace-mt.exp: Likewise.
13213
d9019901
SM
132142016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13215
13216 * lib/gdb.exp (gdb_load_shlibs): Rename to...
13217 (gdb_load_shlib): ... this.
13218 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
13219 gdb_load_shlib.
13220 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
13221 * gdb.base/ctxobj.exp: Likewise.
13222 * gdb.base/dprintf-pending.exp: Likewise.
13223 * gdb.base/dso2dso.exp: Likewise.
13224 * gdb.base/fixsection.exp: Likewise.
13225 * gdb.base/gcore-relro.exp: Likewise.
13226 * gdb.base/gdb1555.exp: Likewise.
13227 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13228 * gdb.base/gnu-ifunc.exp: Likewise.
13229 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
13230 * gdb.base/jit-so.exp (one_jit_test): Likewise.
13231 * gdb.base/pending.exp: Likewise.
13232 * gdb.base/print-file-var.exp: Likewise.
13233 * gdb.base/print-symbol-loading.exp: Likewise.
13234 * gdb.base/shlib-call.exp: Likewise.
13235 * gdb.base/shreloc.exp: Likewise.
13236 * gdb.base/so-impl-ld.exp: Likewise.
13237 * gdb.base/solib-disc.exp: Likewise.
13238 * gdb.base/solib-nodir.exp: Likewise.
13239 * gdb.base/solib-overlap.exp: Likewise.
13240 * gdb.base/solib-symbol.exp: Likewise.
13241 * gdb.base/solib-weak.exp (do_test): Likewise.
13242 * gdb.base/sym-file.exp: Likewise.
13243 * gdb.base/symtab-search-order.exp: Likewise.
13244 * gdb.base/type-opaque.exp: Likewise.
13245 * gdb.base/unload.exp: Likewise.
13246 * gdb.base/watchpoint-solib.exp: Likewise.
13247 * gdb.compile/compile.exp: Likewise.
13248 * gdb.cp/gdb2384.exp: Likewise.
13249 * gdb.cp/infcall-dlopen.exp: Likewise.
13250 * gdb.cp/re-set-overloaded.exp: Likewise.
13251 * gdb.fortran/library-module.exp: Likewise.
13252 * gdb.opt/solib-intra-step.exp: Likewise.
13253 * gdb.python/py-finish-breakpoint.exp: Likewise.
13254 * gdb.python/py-shared.exp: Likewise.
13255 * gdb.reverse/solib-precsave.exp: Likewise.
13256 * gdb.reverse/solib-reverse.exp: Likewise.
13257 * gdb.server/solib-list.exp: Likewise.
13258 * gdb.threads/dlopen-libpthread.exp: Likewise.
13259 * gdb.threads/tls-shared.exp: Likewise.
13260 * gdb.threads/tls-so_extern.exp: Likewise.
13261 * gdb.trace/change-loc.exp: Likewise.
13262 * gdb.trace/ftrace-lock.exp: Likewise.
13263 * gdb.trace/ftrace.exp: Likewise.
13264 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
13265 * gdb.trace/pending.exp: Likewise.
13266 * gdb.trace/range-stepping.exp: Likewise.
13267 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
13268 (strace_info_marker): Likewise.
13269 (strace_probe_marker): Likewise.
13270 (strace_trace_on_same_addr): Likewise.
13271 (strace_trace_on_diff_addr): Likewise.
13272 * gdb.trace/trace-break.exp: Likewise.
13273 * gdb.trace/trace-condition.exp: Likewise.
13274 * gdb.trace/trace-mt.exp: Likewise.
13275
fca4cfd9
SM
132762016-04-27 Simon Marchi <simon.marchi@ericsson.com>
13277
13278 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
13279 result of gdb_remote_download.
13280 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
13281 * gdb.base/dso2dso.exp: Likewise.
13282 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13283 * gdb.base/print-file-var.exp: Likewise.
13284 * gdb.base/shlib-call.exp: Likewise.
13285 * gdb.base/shreloc.exp: Likewise.
13286 * gdb.base/solib-overlap.exp: Likewise.
13287 * gdb.base/solib-weak.exp (do_test): Likewise.
13288 * gdb.base/unload.exp: Likewise.
13289
11cf4ffb
YQ
132902016-04-27 Yao Qi <yao.qi@linaro.org>
13291
13292 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
13293 exists.
13294
3e2e34f8
KB
132952016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13296
13297 * vla-type.exp: Print structure from toplevel.
13298
8f07e298
BH
132992016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13300
13301 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
13302 of dynamic types.
13303 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
13304 of dynamic types.
13305
9920b434
BH
133062016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
13307
13308 * gdb.fortran/vla-type.f90: New file.
13309 * gdb.fortran/vla-type.exp: New file.
13310
f3abeff5
YQ
133112016-04-25 Yao Qi <yao.qi@linaro.org>
13312
13313 * gdb.base/branch-to-self.c: New file.
13314 * gdb.base/branch-to-self.exp: New file.
13315
0a5d52f0
YQ
133162016-04-22 Yao Qi <yao.qi@linaro.org>
13317
13318 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
13319 more after $hex.
13320
495346f6
YQ
133212016-04-22 Yao Qi <yao.qi@linaro.org>
13322
13323 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
13324 * gdb.base/annota3.exp: Likewise.
13325
4a7e075c
YQ
133262016-04-22 Yao Qi <yao.qi@linaro.org>
13327
13328 * gdb.reverse/step-precsave.exp: Do one step and test program
13329 stops in "callee" and do multiple steps until program goes out
13330 of "callee".
13331 * gdb.reverse/step-reverse.exp: Likewise.
13332
5b061e98
YQ
133332016-04-22 Yao Qi <yao.qi@linaro.org>
13334
13335 * gdb.trace/signal.exp: Also pass if
13336 $tracepoint_hits($i) > $iterations.
13337
5c5dc57f
YQ
133382016-04-22 Yao Qi <yao.qi@linaro.org>
13339
13340 * gdb.trace/signal.c: New file.
13341 * gdb.trace/signal.exp: New file.
13342
a55411b9
DE
133432016-04-19 Doug Evans <xdje42@gmail.com>
13344
13345 * gdb.base/bad-file.exp: New file.
13346
a22df60a
MG
133472016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
13348
13349 * gdb.dwarf2/implref.exp: New file.
13350
0c13f7e5
BH
133512016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13352
13353 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
13354 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
13355 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
13356 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
13357 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
13358 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
13359 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
13360 * lib/fortran.exp (fortran_int4): New procedure.
13361 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
13362 (fortran_logical4): Likewise.
13363
9b9b09e9
BH
133642016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
13365
13366 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
13367
a14d1f4d
BH
133682016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
13369
13370 * lib/compiler.c: Add Intel specific preprocessor macros.
13371 * lib/compiler.cc: Likewise.
25d49b86 13372
7d49b1d0
LM
133732016-04-13 Luis Machado <lgustavo@codesourcery.com>
13374
13375 * gdb.server/connect-with-no-symbol-file.c: New file.
13376 * gdb.server/connect-with-no-symbol-file.exp: New file.
13377
8392fa22
SM
133782016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13379
13380 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
13381
8c4c4aeb
SM
133822016-04-13 Simon Marchi <simon.marchi@ericsson.com>
13383
13384 * boards/gdbserver-base.exp (${board}_download): Copy source file to
13385 standard output directory.
13386
45e3745e
AT
133872016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
13388
13389 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
13390
e26b7e41
MM
133912016-04-13 Markus Metzger <markus.t.metzger@intel.com>
13392
13393 * gdb.btrace/instruction_history.c (loop): Add declaration.
13394
8ce09462
AT
133952016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13396
13397 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
13398
2e88a1ea
SM
133992016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
13400
13401 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
13402 parentheses to print.
13403 (continue_handler): Likewise.
13404
f48e22e3
SM
134052016-04-08 Simon Marchi <simon.marchi@ericsson.com>
13406
13407 * gdb.server/solib-list.exp: Remove is_remote check.
13408 Pass shlib= to gdb_compile. Don't link shared library with
13409 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
13410 Run binary filename through "readlink -f" on the target.
13411
096be756
PA
134122016-04-08 Pedro Alves <palves@redhat.com>
13413
13414 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
13415 interpreter filename as argument to gdbserver_spawn.
13416 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13417 Return empty if $last_loaded_file does not exist.
13418
06500533
JK
134192016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13420
13421 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
13422 * gdb.base/jit-main.c: Use exit after usage.
13423
2d35e871
JK
134242016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13425
13426 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
13427 GDBHISTSIZE prior to the tests.
13428 * gdb.base/gdbinit-history.exp: Likewise.
13429
134302016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
13431
13432 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
13433 instead of build_executable. Use gdb_load_shlibs.
13434
c8064e7e
YQ
134352016-04-07 Yao Qi <yao.qi@linaro.org>
13436
13437 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
13438 Execute "si" command.
13439
bde47561
YQ
134402016-04-07 Yao Qi <yao.qi@linaro.org>
13441
13442 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
13443 number instead of the comments on some line.
13444
b16f8a3b
DB
134452016-04-06 Don Breazeal <donb@codesourcery.com>
13446
13447 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
13448 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
13449
c2f901df
SM
134502016-04-06 Simon Marchi <simon.marchi@ericsson.com>
13451
13452 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
13453 standard_output_file. Remove unused binfile variable.
13454
ac17fda0
CU
134552016-04-05 Catalin Udma <catalin.udma@freescale.com>
13456
13457 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
13458 * gdb.python/py-mi-objfile.exp: Match "list main" output
13459 in console format.
13460
03a8c4df
SM
134612016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
13462
13463 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
13464 absolute.
13465
6e774b13
SM
134662016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13467
13468 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
13469 absolute.
13470 * gdb.trace/ftrace.exp: Likewise.
13471 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
13472 targets as well.
13473 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
13474 (gdb_load_shlibs): Copy libraries to test directory when testing
13475 natively. Only set solib-search-path if testing remotely.
13476 * lib/mi-support.exp (mi_load_shlibs): Likewise.
13477
7817ea46
SM
134782016-04-05 Simon Marchi <simon.marchi@ericsson.com>
13479
13480 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
13481 gdb_download. Use it even if the target is not remote.
13482 * gdb.base/jit.exp (compile_jit_test): Likewise.
13483 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
13484 output directory if the destination board is local, otherwise use
13485 the standard remote_download from DejaGnu.
13486 (gdb_download): Remove.
13487 (gdb_load_shlibs): Use gdb_remote_download instead of
13488 gdb_download.
13489 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
13490 Use gdb_remote_download instead of gdb_download. Use it even if
13491 the target is not remote.
13492 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
13493 instead of gdb_download.
13494
7beb7f68
SM
134952016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
13496
13497 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
13498 (test_insert_delete_modify): Call mi_load_shlibs before trying to
13499 run.
13500
cc63428a
AV
135012016-04-01 Artemiy Volkov <artemiyv@acm.org>
13502
13503 PR gdb/19820
13504 * gdb.base/printcmds.exp: Add artificial arrays tests.
13505
64cdf930
PA
135062016-03-31 Pedro Alves <palves@redhat.com>
13507
13508 PR gdb/19858
13509 * gdb.base/jit-main.c: Include unistd.h.
13510 (ATTACH): Define to 0 if not already defined.
13511 (wait_for_gdb, mypid): New globals.
13512 (WAIT_FOR_GDB): New macro.
13513 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
13514 some breakpoint locations.
13515 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
13516 New procedures.
13517 (one_jit_test): Add REATTACH parameter, and handle it. Use
13518 continue_to_test_location.
13519 (top level): Test attach, and adjusts calls to one_jit_test.
13520
40dea8cb
PA
135212016-03-31 Pedro Alves <palves@redhat.com>
13522
13523 PR gdb/19858
13524 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
13525 BINSUFFIX parameter, and handle it.
13526 (top level): Adjust calls compile_jit_test.
13527
e7ea3ec7
CU
135282016-03-31 Catalin Udma <catalin.udma@freescale.com>
13529
13530 PR python/19743
13531 * gdb.python/py-mi-events-gdb.py: New file.
13532 * gdb.python/py-mi-events.c: New file.
13533 * gdb.python/py-mi-events.exp: New file.
13534
e6359af3
YQ
135352016-03-30 Yao Qi <yao.qi@linaro.org>
13536
13537 * gdb.reverse/until-precsave.exp: Match function name only.
13538 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
13539 Move malloc to a condition block.
13540 * gdb.reverse/until-reverse.exp: Match function name only.
13541
a4105d04
MK
135422016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
13543
13544 * gdb.trace/ftrace.exp: Set arg0exp for s390.
13545 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
13546 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
13547 variable for GPR 0 instead of assuming it is register 0.
13548 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
13549 * lib/trace-support.exp: Add s390 registers.
13550
bfa6adb9
YQ
135512016-03-29 Yao Qi <yao.qi@linaro.org>
13552
13553 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
13554
1e6697ea
YQ
135552016-03-24 Yao Qi <yao.qi@linaro.org>
13556
13557 * gdb.reverse/break-reverse.exp: Add quotation mark in the
13558 test message.
13559
64bcd522
AA
135602016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13561
13562 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
13563 maintaining separate logic for constructing the output path.
13564
7868401b
DB
135652016-03-16 Don Breazeal <donb@codesourcery.com>
13566
13567 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
13568 Retry fork and waitpid on interrupted system call errors.
13569 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13570 Use with_timeout_factor to increase timeout by factor of 10.
13571
1cafadb4
DB
135722016-03-15 Don Breazeal <donb@codesourcery.com>
13573
13574 * gdb.cp/scope-err.cc: New test program.
13575 * gdb.cp/scope-err.exp: New test script.
13576 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
13577 lines and "set breakpoint here" comment.
13578 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
13579 Fixed some whitespace and format issues.
13580 * gdb.mi/mi-linespec-err-cp.cc: New test program.
13581 * gdb.mi/mi-linespec-err-cp.exp: New test script.
13582
81516450
DE
135832016-03-15 Doug Evans <dje@google.com>
13584
13585 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
13586 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
13587 All callers updated. Add tests for enums, mixed flags register.
13588
aa52b601
DE
135892016-03-15 Doug Evans <dje@google.com>
13590
13591 * gdb.base/skip.c (main): Call test_skip_file_and_function.
13592 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
13593
fa4ff313
SM
135942016-03-14 Simon Marchi <simon.marchi@ericsson.com>
13595
13596 * gdb.base/default.exp: Add $_as_string to the list of expected
13597 convenience functions.
13598
f2403c39
AB
135992016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
13600
13601 * gdb.base/maint.exp: New tests for 'maint info line-table'.
13602
f2f3ccb9
SM
136032016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
13604
13605 * gdb.python/py-as-string.exp: New file.
13606 * gdb.python/py-as-string.c: New file.
13607
00dbd492
PA
136082016-03-09 Pedro Alves <palves@redhat.com>
13609
13610 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
13611 signal" -> "Thread NN received signal" output change.
13612 * gdb.threads/ia64-sigill.exp: Likewise.
13613 * gdb.threads/linux-dp.exp: Likewise.
13614 * gdb.threads/manythreads.exp: Likewise.
13615 * gdb.threads/pending-step.exp: Likewise.
13616 * gdb.threads/print-threads.exp: Likewise.
13617 * gdb.threads/sigstep-threads.exp: Likewise.
13618 * gdb.threads/staticthreads.exp: Likewise.
13619 * gdb.threads/tls.exp: Likewise.
13620
1e6697ea
YQ
136212016-03-09 Pedro Alves <palves@redhat.com>
13622
13623 * gdb.base/command-line-input.exp: New file.
13624
b04fd3be
MK
136252016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13626
13627 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
13628 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
13629 * gdb.trace/pending.exp: Accept leading dot before function name.
13630 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
13631 * lib/trace-support.exp: Set registers for ppc.
13632
98fa59e9
MK
136332016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13634
13635 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
13636 use it for disassembly; accept .main in addition to main in backtrace.
13637
f77198c8
MK
136382016-03-09 Wei-cheng Wang <cole945@gmail.com>
13639 Marcin Kościelnicki <koriakin@0x04.net>
13640
13641 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
13642 (gdb_recursion_test_ptr): New global variable.
13643 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
13644 gdb_recursion_test.
13645 (gdb_c_test): Ditto.
13646
ba84e0da
MK
136472016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13648
13649 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
13650 ordering.
13651
4366d36e
MK
136522016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
13653
13654 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
13655 (bar): Add bar_start_lbl label.
13656 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
13657 of foo/bar for emitting DWARF and tracing.
13658
5eb264df
SDJ
136592016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
13660
13661 * analyze-racy-logs.py: Set executable bit.
13662
fb6a751f
SDJ
136632016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
13664
13665 * Makefile.in (DEFAULT_RACY_ITER): New variable.
13666 (CHECK_TARGET_TMP): Likewise.
13667 (check-single-racy): New rule.
13668 (check-parallel-racy): Likewise.
13669 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
13670 (do-check-parallel-racy): New rule.
13671 (check-racy/%.exp): Likewise.
13672 * README (Racy testcases): New section.
13673 * analyze-racy-logs.py: New file.
13674
bdf7e230
DE
136752016-03-03 Doug Evans <dje@google.com>
13676
13677 * gdb.base/skip.exp: Use with_test_prefix.
13678
4719d415
YQ
136792016-03-03 Yao Qi <yao.qi@linaro.org>
13680
13681 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
13682 Invoke step_over_syscall "clone" and break_cond_on_syscall
13683 "clone".
13684 * gdb.base/step-over-clone.c: New file.
13685
ea507862
YQ
136862016-03-03 Yao Qi <yao.qi@linaro.org>
13687
13688 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
13689 code format.
13690
8fc8cbda
YQ
136912016-03-03 Yao Qi <yao.qi@linaro.org>
13692
13693 * gdb.base/disp-step-fork.c: Rename to ...
13694 * gdb.base/step-over-fork.c: ... it. New file.
13695 * gdb.base/disp-step-vfork.c: Rename to ...
13696 * gdb.base/step-over-vfork.c: ... it. New file.
13697 * gdb.base/disp-step-syscall.exp: Rename to ...
13698 * gdb.base/step-over-syscall.exp: ... it. New file.
13699 (disp_step_cross_syscall): Rename to ...
13700 (step_over_syscall): ... it.
13701
92fa70b0
YQ
137022016-03-03 Yao Qi <yao.qi@linaro.org>
13703
13704 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
13705 If target supports condition evaluation on target, invoke
13706 break_cond_on_syscall for fork and vfork.
13707
e197ad3c
YQ
137082016-03-03 Yao Qi <yao.qi@linaro.org>
13709
13710 * gdb.base/disp-step-syscall.exp: Don't invoke
13711 support_displaced_stepping.
13712 (disp_step_cross_syscall): Test with displaced stepping off and
13713 on if supported.
13714
0b47da9f
YQ
137152016-03-03 Yao Qi <yao.qi@linaro.org>
13716
13717 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
13718 proc.
13719 (setup): New proc.
13720 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
13721 and setup.
13722
065ab6dc
BH
137232016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13724
13725 * gdb.fortran/vla-history.exp: Remove breakpoint.
13726
07e448ad 137272016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13728
25d49b86
PA
13729 * gdb.fortran/vla-history.exp: Lookup array elements and printing
13730 exceeds timeout.
07e448ad 13731
9ac2d526 137322016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13733
25d49b86
PA
13734 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
13735 breakpoint.
9ac2d526 13736
17807369
BH
137372016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
13738
13739 * gdb.mi/vla.f90: Nullify pointer after declaration.
13740
86e501af
PA
137412016-03-01 Pedro Alves <palves@redhat.com>
13742
13743 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
13744
1e903e32
PA
137452016-03-01 Pedro Alves <palves@redhat.com>
13746
13747 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
13748 before anything else.
13749 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
13750 _GNU_SOURCE here.
13751 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
13752 before anything else.
13753 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
13754
6ccb54e2
PA
137552016-03-01 Pedro Alves <palves@redhat.com>
13756
13757 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
13758
30ca9da1
YQ
137592016-03-01 Yao Qi <yao.qi@linaro.org>
13760
13761 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
13762 prepare_for_testing.
13763
dc856b38
YQ
137642016-03-01 Yao Qi <yao.qi@linaro.org>
13765
13766 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
13767
4a932159
AA
137682016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13769
13770 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
13771 manually constructing the output path.
13772
f2489477
AA
137732016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
13774
13775 * gdb.arch/s390-stackless.S: New.
13776 * gdb.arch/s390-stackless.exp: New.
13777
38899f16
IB
137782016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
13779
13780 * gdb.dlang/circular.c: New file.
13781 * gdb.dlang/circular.exp: New file.
13782
9fde51ed
YQ
137832016-02-26 Yao Qi <yao.qi@linaro.org>
13784
13785 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
13786 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
13787 (testcases): Update.
13788
ce90fefe
YQ
137892016-02-26 Yao Qi <yao.qi@linaro.org>
13790
13791 * gdb.reverse/aarch64.c: Rename to ...
13792 * gdb.reverse/insn-reverse.c: ... it.
13793 * gdb.reverse/aarch64.exp: Rename to ...
13794 * gdb.reverse/insn-reverse.exp: ... it.
13795
3263bceb
YQ
137962016-02-26 Yao Qi <yao.qi@linaro.org>
13797
13798 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
13799 (testcase_ftype): New.
13800 (testcases): New array.
13801 (n_testcases): New.
13802 (main): Call each element in testcases.
13803 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
13804 (read_testcase): New.
13805 Do the tests in a loop.
13806
6cb59ff1
YQ
138072016-02-25 Yao Qi <yao.qi@linaro.org>
13808
13809 * gdb.base/branches.c: Remove.
13810
ae91f625
MK
138112016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13812
13813 PR gdb/13808
13814 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
13815
678b48b7
MK
138162016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13817
13818 * gdb.trace/ftrace.exp: Remove unnecessary target check.
13819
7337a6f2
MK
138202016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
13821
13822 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
13823 change x86_64 call_insn to 'callq'.
13824
861ca91f
AT
138252016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13826
13827 * gdb.trace/tfile-avx.c: Move to...
13828 * gdb.trace/tracefile-pseudo-reg.c: Here.
13829 * gdb.trace/tfile-avx.exp: Move to...
13830 * gdb.trace/tracefile-pseudo-reg.exp: Here.
13831
bf74e428
GB
138322016-02-24 Gary Benson <gbenson@redhat.com>
13833
13834 * gdb.base/attach-pie-noexec.exp: Do not expect an error
13835 message on attach.
13836
cce0e923
DE
138372016-02-23 Doug Evans <dje@google.com>
13838
13839 * gdb.base/skip.c (test_skip): New function.
13840 (end_test_skip_file_and_function): New function.
13841 (test_skip_file_and_function): New function.
13842 * gdb.base/skip1.c (test_skip): New function.
13843 (skip1_test_skip_file_and_function): New function.
13844 * gdb.base/skip.exp: Add tests for new skip options.
13845 * gdb.base/skip-solib.exp: Update expected output.
13846 * gdb.perf/skip-command.cc: New file.
13847 * gdb.perf/skip-command.exp: New file.
13848 * gdb.perf/skip-command.py: New file.
13849
4000e47e
MK
138502016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
13851
13852 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
13853 info registers pattern.
13854
24f75ead
IB
138552016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
13856
13857 * lib/future.exp: Add D support.
13858 (gdb_find_gdc): New proc.
13859 (gdb_default_target_compile): Add D support.
13860
fbb7bcbe
WW
138612016-02-18 Wei-cheng Wang <cole945@gmail.com>
13862
13863 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
13864 user+system time.
13865 (trace_speed_test): Determine the iteration count for a time
13866 between 15..30 seconds.
13867
012b3a21
WT
138682016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
13869
13870 * gdb.arch/i386-mpx-sigsegv.c: New file.
13871 * gdb.arch/i386-mpx-sigsegv.exp: New file.
13872 * gdb.arch/i386-mpx-simple_segv.c: New file.
13873 * gdb.arch/i386-mpx-simple_segv.exp: New file.
13874
2d5189bd
YQ
138752016-02-18 Yao Qi <yao.qi@linaro.org>
13876
13877 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13878 Don't call setup_kfail.
13879
40fb20d0
YQ
138802016-02-18 Yao Qi <yao.qi@linaro.org>
13881
13882 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13883 Set "set breakpoint condition-evaluation" per $cond_bp_target.
13884
21b1f8d2
DE
138852016-02-16 Doug Evans <dje@google.com>
13886
13887 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
13888 * gdb.base/skip1.c: Ditto.
13889 * gdb.base/skip.exp: Whitespace cleanup.
13890
4041ed77
DB
138912016-02-16 Don Breazeal <donb@codesourcery.com>
13892
13893 PR remote/19496
13894 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
13895 Remove kfail for PR remote/19496.
13896
c4ef31bf
SM
138972016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13898
13899 * lib/gdb.exp (standard_temp_file): Return a path specific to
13900 the runtest invocation.
13901
266b65b3
SM
139022016-02-16 Simon Marchi <simon.marchi@ericsson.com>
13903
13904 * gdb.trace/save-trace.exp: Change relative path to be in the
13905 standard output directory.
13906
a7a0a6a9
JK
139072016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13908
13909 * gdb.arch/i386-prologue.c: Add missing prototypes.
13910
c99dbb42
JK
139112016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13912
13913 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
13914 * gdb.arch/i386-prologue.exp: Likewise.
13915 * gdb.arch/i386-size.exp: Likewise.
13916
aa480355
SM
139172016-02-15 Simon Marchi <simon.marchi@ericsson.com>
13918
13919 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
13920 define object file path.
13921 * gdb.btrace/gcore.exp: Use standard_output_file to define core
13922 file path.
13923 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
13924 standard_output_file to define binfile.
13925
ba881f50
JK
139262016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13927
13928 Fix compatibility with recent gfortran-5.3.1.
13929 * gdb.fortran/vla-history.exp (print vla1 allocated)
13930 (print vla2 allocated, print $2, print $3): Remove
13931 (print $4): Rename to ...
13932 (print $2): ... here.
13933 (print $9): Rename to ...
13934 (print $5): ... here.
13935 (print $10): Rename to ...
13936 (print $6): ... here.
13937 * gdb.fortran/vla.f90: Add pvla initialization.
13938
e9fb005c
JK
139392016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13940
13941 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
13942 New test.
13943 * gdb.fortran/vla-value-sub.exp: Likewise.
13944
e44e00ff
MK
139452016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
13946
13947 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
13948
97e94151
SM
139492016-02-12 Simon Marchi <simon.marchi@ericsson.com>
13950
13951 * i386-biarch-core.exp: Define corefile using
13952 standard_output_file.
13953
01113bc1
YQ
139542016-02-12 Yao Qi <yao.qi@linaro.org>
13955
13956 * gdb.arch/arm-single-step-kernel-helper.c: New.
13957 * gdb.arch/arm-single-step-kernel-helper.exp: New.
13958
33b4777c
MM
139592016-02-12 Markus Metzger <markus.t.metzger@intel.com>
13960
13961 * gdb.btrace/tailcall-only.exp: New.
13962 * gdb.btrace/tailcall-only.c: New.
13963 * gdb.btrace/x86_64-tailcall-only.S: New.
13964 * gdb.btrace/i686-tailcall-only.S: New.
13965
acc23c11
PA
139662016-02-11 Pedro Alves <palves@redhat.com>
13967
13968 * README (Parallel testing): Add missing double quotes.
13969
e352bf0a
PA
139702016-02-11 Pedro Alves <palves@redhat.com>
13971
13972 * README (Parallel testing): New section.
13973 (GDB_PARALLEL): Rewrite.
13974 (FORCE_PARALLEL): Document.
13975
9f5fed78
MK
139762016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
13977
13978 * gdb.trace/tfile-avx.c: New test.
13979 * gdb.trace/tfile-avx.exp: New test.
13980
9ef9e6a6
KS
139812016-02-09 Keith Seitz <keiths@redhat.com>
13982
13983 PR breakpoints/19546
13984 * gdb.base/infcall-exec.c: New file.
13985 * gdb.base/infcall-exec2.c: New file.
13986 * gdb.base/infcall-exec.exp: New file.
13987
a96e36da
KS
139882016-02-09 Keith Seitz <keiths@redhat.com>
13989
13990 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
13991 (toplevel): Call test_bkpt_address.
13992
9f61929f
KS
139932016-02-09 Keith Seitz <keiths@redhat.com>
13994
13995 PR python/19506
13996 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
13997 (toplevel): Call test_bkpt_address.
13998
1e94266c
SM
139992016-02-09 Simon Marchi <simon.marchi@ericsson.com>
14000
14001 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
14002 to AC_OUTPUT.
14003 * configure: Regenerate.
14004
2a7f3dff
PA
140052016-02-09 Pedro Alves <palves@redhat.com>
14006
14007 PR breakpoints/19548
14008 * gdb.base/execl-update-breakpoints.c (some_function): New
14009 function.
14010 (main): Call it.
14011 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
14012 Tighten expected GDB output.
14013
2151ccc5
SM
140142016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14015
14016 * Makefile.in (ALL_SUBDIRS): Remove.
14017 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
14018 (distclean maintainer-clean realclean): Likewise.
14019 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
14020 * configure: Regenerate.
14021 * gdb.ada/Makefile.in: Delete.
14022 * gdb.arch/Makefile.in: Likewise.
14023 * gdb.asm/Makefile.in: Likewise.
14024 * gdb.base/Makefile.in: Likewise.
14025 * gdb.btrace/Makefile.in: Likewise.
14026 * gdb.cell/Makefile.in: Likewise.
14027 * gdb.compile/Makefile.in: Likewise.
14028 * gdb.cp/Makefile.in: Likewise.
14029 * gdb.disasm/Makefile.in: Likewise.
14030 * gdb.dlang/Makefile.in: Likewise.
14031 * gdb.dwarf2/Makefile.in: Likewise.
14032 * gdb.fortran/Makefile.in: Likewise.
14033 * gdb.gdb/Makefile.in: Likewise.
14034 * gdb.go/Makefile.in: Likewise.
14035 * gdb.guile/Makefile.in: Likewise.
14036 * gdb.java/Makefile.in: Likewise.
14037 * gdb.linespec/Makefile.in: Likewise.
14038 * gdb.mi/Makefile.in: Likewise.
14039 * gdb.modula2/Makefile.in: Likewise.
14040 * gdb.multi/Makefile.in: Likewise.
14041 * gdb.objc/Makefile.in: Likewise.
14042 * gdb.opencl/Makefile.in: Likewise.
14043 * gdb.opt/Makefile.in: Likewise.
14044 * gdb.pascal/Makefile.in: Likewise.
14045 * gdb.perf/Makefile.in: Likewise.
14046 * gdb.python/Makefile.in: Likewise.
14047 * gdb.reverse/Makefile.in: Likewise.
14048 * gdb.server/Makefile.in: Likewise.
14049 * gdb.stabs/Makefile.in: Likewise.
14050 * gdb.threads/Makefile.in: Likewise.
14051 * gdb.trace/Makefile.in: Likewise.
14052 * gdb.xml/Makefile.in: Likewise.
14053 * lib/gdb.exp (make_gdb_parallel_path): Add check for
14054 GDB_PARALLEL.
14055 (standard_output_file): Remove check for GDB_PARALLEL, always
14056 return path in outputs/$subdir/$testname.
14057
437277d4
SM
140582016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14059
14060 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
14061 (site.exp): Assign abs_srcdir to tcl's srcdir.
14062
31d913c7
YQ
140632016-02-04 Yao Qi <yao.qi@linaro.org>
14064
14065 * gdb.base/foll-exec-mode.c: Include limits.h.
14066 (main): Add parameters argc and argv. Get directory from
14067 argv[0].
14068 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
14069 compilation.
14070 * gdb.base/foll-exec.c: Include limits.h.
14071 (main): Add parameters argc and argv.
14072 Get directory from argv[0].
14073 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
14074 Adjust tests on the number of lines as source code changed.
14075 * gdb.base/foll-vfork-exit.c: Include limits.h.
14076 (main): Add one line of statement before vfork.
14077 * gdb.base/foll-vfork.c: Include limits.h and string.h.
14078 (main): Add parameters argc and argv. Get directory from
14079 argv[0].
14080 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
14081 (setup_gdb): Set tbreak to skip some source lines.
14082 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
14083 (main): Add parameters argc and argv. Get directory from
14084 argv[0].
14085 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
14086 compilation.
14087 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
14088 (main): Add parameters argc and argv. Get directory from
14089 argv[0].
14090 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
14091 compilation.
14092
9482b9fb
DE
140932016-02-01 Doug Evans <dje@google.com>
14094
14095 * gdb.base/skip.exp: Clean up multiple references to same test name.
14096
6b2e4f10
PA
140972016-02-01 Pedro Alves <palves@redhat.com>
14098
ccb6afd6 14099 PR remote/19496
6b2e4f10
PA
14100 * gdb.threads/forking-threads-plus-breakpoint.exp
14101 (displaced_stepping_supported): New global.
14102 (probe_displaced_stepping_support): New procedure.
14103 (do_test): Add 'displaced' parameter, and use it.
14104 (top level): Check for displaced stepping support. Add displaced
14105 stepping on/off testing axis.
14106
37a8db1a
AB
141072016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14108
14109 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
14110 pointer. Don't perform further tests on the unassociated pointer
14111 if the first test fails.
14112
5fdf6324
AB
141132016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14114
14115 * gdb.base/max-value-size.c: New file.
14116 * gdb.base/max-value-size.exp: New file.
14117 * gdb.base/huge.exp: Disable max-value-size for this test.
14118
935c6144
IB
141192016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
14120
14121 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14122
7fe8399d
YQ
141232016-01-28 Yao Qi <yao.qi@linaro.org>
14124
14125 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
14126
a2077e25
PA
141272016-01-25 Pedro Alves <palves@redhat.com>
14128
14129 PR threads/19461
14130 * gdb.base/fork-running-state.c: New file.
14131 * gdb.base/fork-running-state.exp: New file.
14132
1d2736d4
PA
141332016-01-25 Pedro Alves <palves@redhat.com>
14134
14135 PR gdb/19494
14136 * gdb.base/catch-fork-kill.c: New file.
14137 * gdb.base/catch-fork-kill.exp: New file.
14138
f1da4b11
PA
141392016-01-25 Pedro Alves <palves@redhat.com>
14140
14141 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
14142 Delete, moved to lib/gdb.exp.
14143 * gdb.threads/forking-threads-plus-breakpoint.exp
14144 (foreach_with_prefix): Likewise.
14145 * gdb.threads/process-dies-while-handling-bp.exp
14146 (foreach_with_prefix): Likewise.
14147 * lib/gdb.exp (foreach_with_prefix): New procedure.
14148
45f38546
MK
141492016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
14150
14151 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
14152 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
14153
dc29a1ce
MK
141542016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
14155
14156 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
14157 endian targets.
14158
092127d7
JK
141592016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14160 Pedro Alves <palves@redhat.com>
14161
14162 Fix testsuite compatibility with Guile.
14163 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
14164 number.
14165
31d765d3
JK
141662016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14167
14168 Fix testsuite compatibility with Guile.
14169 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
14170 (thread 1): New test for backtrace through signal handler.
14171
1ac78c04
YQ
141722016-01-22 Yao Qi <yao.qi@linaro.org>
14173
14174 PR testsuite/19491
14175 * gdb.base/multi-forks.c: Include
14176 ../lib/unbuffer_output.c
14177 (main): Call gdb_unbuffer_output.
14178
4f5946a8
DE
141792016-01-21 Doug Evans <dje@google.com>
14180
14181 * lib/ada.exp (gdb_compile_ada): Fix typo.
14182
305e13e6
JB
141832016-01-21 Joel Brobecker <brobecker@adacore.com>
14184
14185 * gdb.base/break-fun-addr.exp: New file.
14186 * gdb.base/break-fun-addr1.c: New file.
14187 * gdb.base/break-fun-addr2.c: New file.
14188
5f5dfff6
SM
141892016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
14190
14191 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
14192 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
14193 enum flag values.
14194
fd356fa2
AA
141952016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14196
14197 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
14198 when GDB can not set the vector return value. Add more comments
14199 for clarification.
14200
9df22175
AT
142012016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
14202
14203 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
14204 command.
14205
41d1845e
SM
142062016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14207
14208 * Makefile.in (DO_RUNTEST): Add --status and update usages.
14209
01ac6840
SM
142102016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14211
14212 * Makefile.in (check-single): Pass --status to runtest.
14213 (check/%.exp): Likewise.
14214
142152016-01-19 Simon Marchi <simon.marchi@ericsson.com>
14216
14217 * Makefile.in (check-parallel): Propagate return code from make
14218 do-check-parallel.
14219
bd0a71fa
MK
142202016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
14221
14222 * gdb.trace/ftrace.exp: Fix expected message on continue.
14223 * gdb.trace/pending.exp: Fix expected message on continue.
14224 * gdb.trace/trace-break.exp: Fix expected message on continue.
14225
8bcbad33
SM
142262016-01-18 Simon Marchi <simon.marchi@ericsson.com>
14227
14228 * lib/gdb.exp (gdb_test): Remove unused global references.
14229
f303dbd6
PA
142302016-01-18 Pedro Alves <palves@redhat.com>
14231
14232 * gdb.base/async-shell.exp: Adjust expected output.
14233 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
14234 * gdb.base/siginfo-thread.exp: Adjust expected output.
14235 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
14236 * gdb.java/jnpe.exp: Adjust expected output.
14237 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
14238 * gdb.threads/continue-pending-status.exp: Adjust expected output.
14239 * gdb.threads/leader-exit.exp: Adjust expected output.
14240 * gdb.threads/manythreads.exp: Adjust expected output.
14241 * gdb.threads/pthreads.exp: Adjust expected output.
14242 * gdb.threads/schedlock.exp: Adjust expected output.
14243 * gdb.threads/siginfo-threads.exp: Adjust expected output.
14244 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
14245 expected output.
14246 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
14247 output.
14248 * gdb.threads/sigthread.exp: Adjust expected output.
14249 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
14250
b2789696
YQ
142512016-01-18 Yao Qi <yao.qi@linaro.org>
14252
14253 * gdb.guile/scm-section-script.c: Replace @progbits with
14254 %progbits.
14255 * gdb.python/py-section-script.c: Likewise.
14256
71ef29a8
PA
142572016-01-15 Pedro Alves <palves@redhat.com>
14258
14259 * gdb.multi/tids.exp: Test star wildcard ranges.
14260
3f5b7598
PA
142612016-01-15 Pedro Alves <palves@redhat.com>
14262
14263 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
14264 command from "thread apply" invocation.
14265 (thr_apply_info_thr_invalid): Default the expected output to the
14266 input tid list.
14267 (top level): Add tests that use convenience variables. Add tests
14268 for "thread apply" with a valid TID list, but missing the command.
14269
663f6d42
PA
142702016-01-13 Pedro Alves <palves@redhat.com>
14271
14272 * gdb.base/default.exp: Expect $_gthread as well.
14273 * gdb.multi/tids.exp: Test $_gthread.
14274 * gdb.threads/thread-specific.exp: Test $_gthread.
14275
c84f6bbf
PA
142762016-01-13 Pedro Alves <palves@redhat.com>
14277
14278 * gdb.multi/tids.exp: Test "info threads -gid".
14279
22a02324
PA
142802016-01-13 Pedro Alves <palves@redhat.com>
14281
14282 * gdb.multi/tids.exp: Test InferiorThread.global_num and
14283 Breakpoint.thread.
14284 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
14285
5d5658a1
PA
142862016-01-07 Pedro Alves <palves@redhat.com>
14287
14288 * gdb.base/break.exp: Adjust to output changes.
14289 * gdb.base/hbreak2.exp: Likewise.
14290 * gdb.base/sepdebug.exp: Likewise.
14291 * gdb.base/watch_thread_num.exp: Likewise.
14292 * gdb.linespec/keywords.exp: Likewise.
14293 * gdb.multi/info-threads.exp: Likewise.
14294 * gdb.threads/thread-find.exp: Likewise.
14295 * gdb.multi/tids.c: New file.
14296 * gdb.multi/tids.exp: New file.
14297
84654457
PA
142982016-01-13 Pedro Alves <palves@redhat.com>
14299
14300 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
14301
e3940304
PA
143022016-01-13 Pedro Alves <palves@redhat.com>
14303
14304 * gdb.base/default.exp: Expect $_inferior as well.
14305 * gdb.multi/base.exp: Test $_inferior.
14306
a911d87a
PA
143072016-01-13 Pedro Alves <palves@redhat.com>
14308
14309 PR breakpoints/19388
14310 * gdb.base/catch-signal-siginfo-cond.c: New file.
14311 * gdb.base/catch-signal-siginfo-cond.exp: New file.
14312
82075af2
JS
143132016-01-12 Josh Stone <jistone@redhat.com>
14314 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14315
14316 * gdb.base/catch-syscall.c (do_execve): New variable.
14317 (main): Conditionally trigger an execve.
14318 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
14319 (test_catch_syscall_execve): New, check entry/return across execve.
14320 (do_syscall_tests): Call test_catch_syscall_execve.
14321
e46eeedd
PA
143222016-01-12 Pedro Alves <palves@redhat.com>
14323
14324 * gdb.base/random-signal.exp (do_test): New procedure, with body
14325 of testcase moved in.
14326
01d8c27e
JK
143272016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14328 Pedro Alves <palves@redhat.com>
14329
14330 * gdb.base/funcargs.exp (finish from indirectly called function):
14331 Reintroduce the case for 'First'.
14332
9a706302
JK
143332016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14334 Pedro Alves <palves@redhat.com>
14335
14336 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14337 (tcatch_vfork_then_child_follow_exec)
14338 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
14339 identification.
14340
c0ecb95f
JK
143412016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14342
14343 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
14344 and repeats to unlimited.
14345 * gdb.python/py-value.exp: Likewise.
14346 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
14347 and repeats to unlimited.
14348
6cfc1fcb
JK
143492016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14350
14351 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
14352 and reordering the functions.
14353 * gdb.multi/hangout.c: Likewise.
14354 * gdb.multi/hello.c: Likewise.
14355
582a1b00
SM
143562016-01-08 Simon Marchi <simon.marchi@ericsson.com>
14357
14358 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
14359 absolute.
14360 (SingleStatisticTestResult.report): Use dict.keys instead of
14361 dict.iterkeys.
14362
79bc59cb
PA
143632016-01-06 Pedro Alves <palves@redhat.com>
14364
14365 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
14366
43368e1d
MM
143672016-01-04 Markus Metzger <markus.t.metzger@intel.com>
14368
14369 * gdb.btrace/dlopen.exp: New.
14370 * gdb.btrace/dlopen.c: New.
14371 * gdb.btrace/dlopen-dso.c: New.
14372
79fad5b8
SL
143732015-12-25 Sandra Loosemore <sandra@codesourcery.com>
14374
14375 * lib/gdb.exp (gdb_test): Update comments to clarify that the
14376 PATTERN argument is optional.
14377
ab8314b3
JB
143782015-12-24 Joel Brobecker <brobecker@adacore.com>
14379
14380 * lib/ada.exp (target_compile_ada_from_dir): New function.
14381 (gdb_compile_ada): Reimplement avoiding the use of project files.
14382 * gdb.ada/gnat_ada.gpr: Delete.
14383 * gdb.ada/cond_lang.exp: Adjust test to make path before
14384 filename optional.
14385 * gdb.ada/small_reg_param.exp: Likewise.
14386
fe33faff
SM
143872015-12-22 Simon Marchi <simon.marchi@ericsson.com>
14388
14389 * gdb.base/foll-vork.exp: Remove HP-UX special case.
14390
6d265cb4
TP
143912015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
14392
14393 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
14394 case.
14395
10125099
SM
143962015-12-21 Simon Marchi <simon.marchi@ericsson.com>
14397
14398 * gdb.base/break.exp: Remove dead code.
14399 * gdb.base/sepdebug.exp: Likewise.
14400
3ca22649
SM
144012015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14402
14403 * gdb.asm/asm-source.exp: Remove HP-UX references.
14404 * gdb.base/annota1.exp: Likewise.
14405 * gdb.base/annota3.exp: Likewise.
14406 * gdb.base/attach.exp: Likewise.
14407 * gdb.base/bigcore.exp: Likewise.
14408 * gdb.base/break.exp: Likewise.
14409 * gdb.base/call-ar-st.exp: Likewise.
14410 * gdb.base/callfuncs.exp: Likewise.
14411 * gdb.base/catch-fork-static.exp: Likewise.
14412 * gdb.base/display.exp: Likewise.
14413 * gdb.base/foll-exec-mode.exp: Likewise.
14414 * gdb.base/foll-exec.exp: Likewise.
14415 * gdb.base/foll-fork.exp: Likewise.
14416 * gdb.base/foll-vfork.exp: Likewise.
14417 * gdb.base/funcargs.exp: Likewise.
14418 * gdb.base/hbreak2.exp: Likewise.
14419 * gdb.base/inferior-died.exp: Likewise.
14420 * gdb.base/interrupt.exp: Likewise.
14421 * gdb.base/multi-forks.exp: Likewise.
14422 * gdb.base/nodebug.exp: Likewise.
14423 * gdb.base/sepdebug.exp: Likewise.
14424 * gdb.base/solib1.c: Likewise.
14425 * gdb.base/step-test.exp: Likewise.
14426 * gdb.mi/non-stop.c: Likewise.
14427 * gdb.mi/pthreads.c: Likewise.
14428 * gdb.multi/bkpt-multi-exec.ex: Likewise.
14429 * gdb.threads/pthreads.c: Likewise.
14430 * gdb.threads/staticthreads.exp: Likewise.
14431 * lib/future.exp: Likewise.
14432 * lib/gdb.exp: Likewise.
14433 * gdb.base/so-indr-cl.c: Remove.
14434 * gdb.base/so-indr-cl.exp: Likewise.
14435 * gdb.base/solib.c: Likewise.
14436 * gdb.base/solib.exp: Likewise.
14437 * gdb.base/solib2.c: Likewise.
14438
b6304613
SM
144392015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
14440
14441 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
14442 * gdb.base/call-ar-st.exp: Likewise.
14443 * gdb.base/callfuncs.exp: Likewise.
14444 * gdb.base/condbreak.exp: Likewise.
14445 * gdb.base/constvars.exp: Likewise.
14446 * gdb.base/hbreak2.exp: Likewise.
14447 * gdb.base/langs.exp: Likewise.
14448 * gdb.base/list.exp: Likewise.
14449 * gdb.base/long_long.exp: Likewise.
14450 * gdb.base/ptype.exp: Likewise.
14451 * gdb.base/scope.exp: Likewise.
14452 * gdb.base/signals.exp: Likewise.
14453 * gdb.base/so-impl-ld.exp: Likewise.
14454 * gdb.base/varargs.exp: Likewise.
14455 * gdb.base/volatile.exp: Likewise.
14456 * gdb.base/whatis.exp: Likewise.
14457 * gdb.cp/cplusfuncs.exp: Likewise.
14458 * gdb.cp/inherit.exp: Likewise.
14459 * gdb.cp/local.exp: Likewise.
14460 * gdb.cp/member-ptr.exp: Likewise.
14461 * gdb.cp/method.exp: Likewise.
14462 * gdb.cp/overload.exp: Likewise.
14463 * gdb.cp/templates.exp: Likewise.
14464 * gdb.stabs/weird.exp: Likewise.
14465 * lib/compiler.c: Likewise.
14466 * lib/compiler.cc: Likewise.
14467 * lib/cp-support.exp: Likewise.
14468 * lib/gdb.exp: Likewise.
14469
bf401b07
SM
144702015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
14471
14472 * configure.ac: Remove HP-UX case.
14473 * configure: Regenerate.
14474
aff9c0f8
SM
144752015-12-18 Simon Marchi <simon.marchi@ericsson.com>
14476
14477 * lib/gdb.exp (gdb_compile): Add function doc.
14478
a6904d5a
PA
144792015-12-17 Pedro Alves <palves@redhat.com>
14480
14481 PR threads/19354
14482 * gdb.multi/info-threads.exp: New file.
14483
a22279dd
YQ
144842015-12-15 Yao Qi <yao.qi@linaro.org>
14485
14486 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
14487 is aarch64*-*-*.
14488
0588c796
SL
144892015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14490
14491 * gdb.base/history-duplicates.exp: Skip if no readline support.
14492
5d978e17
SL
144932015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14494
14495 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
14496
7e763b86
SL
144972015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14498
14499 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
14500
87a3a92c
SL
145012015-12-14 Sandra Loosemore <sandra@codesourcery.com>
14502
14503 * gdb.base/completion.exp: Skip tests that interrupt GDB with
14504 ctrl-C if nointerrupts target property is set.
14505 * gdb.base/double-prompt-target-event-error.exp: Likewise.
14506 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
14507 * gdb.base/paginate-bg-execution.exp: Likewise.
14508 * gdb.base/paginate-execution-startup.exp: Likewise.
14509 * gdb.base/random-signal.exp: Likewise.
14510 * gdb.base/range-stepping.exp: Likewise.
14511 * gdb.cp/annota2.exp: Likewise.
14512 * gdb.cp/annota3.exp: Likewise.
14513 * gdb.gdb/selftest.exp: Likewise.
14514 * gdb.threads/continue-pending-status.exp: Likewise.
14515 * gdb.threads/leader-exit.exp: Likewise.
14516 * gdb.threads/manythreads.exp: Likewise.
14517 * gdb.threads/pthreads.exp: Likewise.
14518 * gdb.threads/schedlock.exp: Likewise.
14519 * gdb.threads/sigthread.exp: Likewise.
14520
a8f077dc
DB
145212015-12-11 Don Breazeal <donb@codesourcery.com>
14522
14523 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
14524 remote.
14525 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
14526 * gdb.base/foll-exec.exp (main): Enable for target remote.
14527 * gdb.base/foll-fork.exp (main): Likewise.
14528 * gdb.base/foll-vfork.exp (main): Likewise.
14529 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
14530 (proc continue_to_exit_bp_loc): Use clean_restart.
14531 * gdb.base/pie-execl.exp (main): Disable for target remote.
14532 * gdb.base/watch-vfork.exp (main): Enable for target remote.
14533 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
14534 * gdb.threads/execl.exp (main): Likewise.
14535 * gdb.threads/fork-child-threads.exp (main): Likewise.
14536 * gdb.threads/fork-plus-threads.exp (main): Disable for target
14537 remote.
14538 * gdb.threads/fork-thread-pending.exp (main): Enable for target
14539 remote.
14540 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
14541 pid.tid style ptids, instead of just tid.
14542 * gdb.threads/thread-execl.exp (main): Enable for target remote.
14543 * gdb.threads/watchpoint-fork.exp (main): Likewise.
14544 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
14545 ptids, instead of just tid.
14546
3b2464a8
AB
145472015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14548
14549 * gdb.base/list.exp (test_list_forward): Add end of file error
14550 test.
14551 (test_repeat_list_command): Add end of file error test.
14552 (test_list_backwards): Add beginning of file error test.
14553
a0def019
AB
145542015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14555
14556 * gdb.base/list.exp (test_list_invalid_args): New function,
14557 defined, and called.
14558
5c000dff
AB
145592015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
14560
14561 * gdb.base/list.exp (test_list): Make test names unique.
14562
f1637ebe
YQ
145632015-12-11 Yao Qi <yao.qi@linaro.org>
14564
14565 * gdb.base/coremaker2.c: Remove.
14566
36d6fc0a
PA
145672015-12-10 Pedro Alves <palves@redhat.com>
14568
14569 * gdb.multi/base.exp: Remove stale "spaces" references.
14570
762f7747
PA
145712015-12-10 Pedro Alves <palves@redhat.com>
14572
14573 * gdb.multi/base.exp: Don't use nowarnings.
14574 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
14575 * gdb.multi/hangout.c: Include stdio.h.
14576 * gdb.multi/hello.c: Include stdlib.h.
14577 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
14578 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
14579 * gdb.multi/multi-arch.exp: Don't use nowarnings.
14580
28d2bfb9
AB
145812015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
14582
14583 * gdb.dwarf2/dw2-ranges-base.c: New file.
14584 * gdb.dwarf2/dw2-ranges-base.exp: New file.
14585 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
14586 support additional line table, and debug ranges generation.
14587 (Dwarf::ranges): New function, generate .debug_ranges.
14588 (Dwarf::lines): Support generating simple line table programs.
14589 (Dwarf::assemble): Initialise new namespace variables.
14590
5fc2beac
KB
145912015-12-09 Kevin Buettner <kevinb@redhat.com>
14592
14593 * gdb.base/async.exp (proc test_background): Add case for
14594 asynchronous execution not supported.
14595
1c35a88f
LM
145962015-12-09 Luis Machado <lgustavo@codesourcery.com>
14597
14598 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
14599 format and change test names to make them unique.
14600
b593e3d9
RK
146012015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
14602 Pedro Alves <pedro@redhat.com>
14603
14604 PR gdb/18702
14605 Add checking of floatformats setup on x86_64 hosts.
14606 * gdb.arch/i386-float.S (main): Load bigval and smallval.
14607 (smallval, bigval): New labels/constants.
14608 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
14609 float" after loading bigval and smallval.
14610
d72413e6
PMR
146112015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
14612
14613 * gdb.ada/fun_overload_menu.exp: New testcase.
14614 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
14615
ece66d65
JS
146162015-12-04 Josh Stone <jistone@redhat.com>
14617
14618 * gdb.base/catch-fork-static.exp: New.
14619
41d0efca
YQ
146202015-12-03 Yao Qi <yao.qi@linaro.org>
14621
14622 * gdb.base/sizeof.c: Don't include stdio.h and
14623 ../lib/unbuffer_output.c.
14624 (main): New variable 'size' and 'value'. Remove printf and
14625 gdb_unbuffer_output. Assign return value to size and value.
14626 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
14627 at the beginning.
14628 (check_sizeof): Check the result by printing variable 'size'.
14629 (check_valueof): Check the result by printing variable 'value'.
14630
99fd02d9
YQ
146312015-12-01 Yao Qi <yao.qi@linaro.org>
14632
14633 * gdb.base/disp-step-syscall.exp: Define syscall instruction
14634 for aarch64*-*-linux* target.
14635
f2faf941
PA
146362015-11-30 Pedro Alves <palves@redhat.com>
14637
14638 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
14639
04bf20c5
PA
146402015-11-30 Pedro Alves <palves@redhat.com>
14641
14642 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
14643 Handle non-stop mode vCont replies.
14644
09df4675
PA
146452015-11-30 Pedro Alves <palves@redhat.com>
14646
14647 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
14648 prepare_for_testing. Start gdb with "set non-stop on" appended to
14649 GDBFLAGS. Lax expected stop output.
14650
58b584af
YQ
146512015-11-27 Yao Qi <yao.qi@linaro.org>
14652
14653 * gdb.arch/arm-neon.exp: New.
14654 * gdb.arch/arm-neon.c: New.
14655
dfcb77a8
YQ
146562015-11-27 Yao Qi <yao.qi@linaro.org>
14657
14658 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
14659
88e8ec1b
YQ
146602015-11-27 Yao Qi <yao.qi@linaro.org>
14661
14662 * gdb.cp/annota2.exp: Allow multiple occurrences of the
14663 frames-invalid annotation.
14664
bfde72c2
YQ
146652015-11-27 Yao Qi <yao.qi@linaro.org>
14666
14667 * gdb.cp/annota2.exp: Use ${frames_invalid}.
14668
f6512a69
SM
146692015-11-26 Simon Marchi <simon.marchi@ericsson.com>
14670
14671 * gdb.threads/names.exp: New file.
14672 * gdb.threads/names.c: New file.
14673 * README: Mention gdb,no_thread_names.
14674
46a3515b
MM
146752015-11-26 Markus Metzger <markus.t.metzger@intel.com>
14676
14677 PR 19297
14678 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
14679 support" error.
14680
62147a22
PA
146812015-11-24 Pedro Alves <palves@redhat.com>
14682
14683 PR 17539
14684 * gdb.base/display.exp: Expect displays to be sorted in ascending
14685 order. Use multi_line.
14686 * gdb.base/solib-display.exp: Likewise.
14687
2f341b6e
PA
146882015-11-24 Pedro Alves <palves@redhat.com>
14689
14690 PR 17539
25d49b86
PA
14691 * gdb.base/display.exp: Expect displays to be sorted in ascending
14692 order. Use multi_line.
14693 * gdb.base/solib-display.exp: Likewise.
2f341b6e 14694
7e0aa6aa
PA
146952015-11-24 Pedro Alves <palves@redhat.com>
14696
14697 PR 17539
14698 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
14699 threads in ascending order.
14700 * gdb.base/foll-fork.exp: Likewise.
14701 * gdb.base/foll-vfork.exp: Likewise.
14702 * gdb.base/multi-forks.exp: Likewise.
14703 * gdb.mi/mi-nonstop.exp: Likewise.
14704 * gdb.mi/mi-nsintrall.exp: Likewise.
14705 * gdb.multi/base.exp: Likewise.
14706 * gdb.multi/multi-arch.exp: Likewise.
14707 * gdb.python/py-inferior.exp: Likewise.
14708 * gdb.threads/break-while-running.exp: Likewise.
14709 * gdb.threads/execl.exp: Likewise.
14710 * gdb.threads/gcore-thread.exp: Likewise.
14711 * gdb.threads/info-threads-cur-sal.exp: Likewise.
14712 * gdb.threads/kill.exp: Likewise.
14713 * gdb.threads/linux-dp.exp: Likewise.
14714 * gdb.threads/multiple-step-overs.exp: Likewise.
14715 * gdb.threads/next-bp-other-thread.exp: Likewise.
14716 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
14717 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
14718 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
14719 * gdb.threads/thread-find.exp: Likewise.
14720 * gdb.threads/tls.exp: Likewise.
14721 * lib/mi-support.exp (mi_reverse_list): Delete.
14722 (mi_check_thread_states): No longer reverse list.
14723
2cc57ad8
PA
147242015-11-24 Pedro Alves <palves@redhat.com>
14725
14726 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
14727 use lowercase.
14728
c93e8391
SM
147292015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14730
14731 * gdb.trace/actions.c: Include trace-common.h.
14732 (main): Add a location for a fast tracepoint.
14733 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
14734 the normal tracepoints.
14735 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
14736
045ccf91
SM
147372015-11-23 Simon Marchi <simon.marchi@ericsson.com>
14738
14739 * save-trace.exp: Factor out code to these...
14740 (gdb_save_tracepoints): New.
14741 (gdb_load_tracepoints): New.
14742 (do_save_load_test): New.
14743
5506f9f6
KB
147442015-11-23 Kevin Buettner <kevinb@redhat.com>
14745
14746 * gdb.base/asmlabel.exp: New test.
14747 * gdb.base/asmlabel.c: New test case.
14748
16c3b12f
JB
147492015-11-23 Joel Brobecker <brobecker@adacore.com>
14750
14751 * gdb.base/wrong_frame_bt_full-main.c: New file.
14752 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
14753 * gdb.base/wrong_frame_bt_full.exp: New file.
14754
155bfbd3
JB
147552015-11-23 Joel Brobecker <brobecker@adacore.com>
14756
14757 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
14758
bb097445
JM
147592015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14760
206853a0 14761 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
14762 pstate register when comparing registers values in
14763 sparc64-*-linux-gnu targets to avoid spurious differences.
14764
9c88ed8f
JM
147652015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
14766
206853a0 14767 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 14768
96161e25
SL
147692015-11-19 Sandra Loosemore <sandra@codesourcery.com>
14770
14771 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
14772 as type argument to gdb_compile.
14773 * gdb.base/nested-subp2.exp: Likewise.
14774 * gdb.base/nested-subp3.exp: Likewise.
14775
340c2830
DV
147762015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
14777
14778 * lib/dwarf.exp (_note): Fix left shift of negative value.
14779 * gdb.trace/trace-condition.exp: Likewise.
14780
c1862d0f
YQ
147812015-11-13 Yao Qi <yao.qi@linaro.org>
14782
14783 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
14784 comments about d10v.
14785 (test_scalar_returns): Likewise.
14786 * gdb.base/d10v.ld: Remove.
14787 * gdb.base/overlays.exp: Remove the target triplet checking for
14788 d10v-*-*.
14789 * gdb.base/structs.exp (test_struct_returns): Remove the
14790 comments about d10v.
14791 (test_struct_calls): Likewise.
14792
77ae9c19
YQ
147932015-11-13 Yao Qi <yao.qi@linaro.org>
14794
14795 * gdb.base/gnu_vector.exp: Check the return value by "p res".
14796 * gdb.base/gnu_vector.c: Don't include stdio.h.
14797 (main): Don't print res and call add_some_intvecs.
14798
430e004e
MK
147992015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
14800
14801 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
14802 macro.
14803 (func5): Removed.
14804 (func4): Use FAST_TRACEPOINT_LABEL.
14805 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
14806 macro.
14807 (func): Removed.
14808 (thread_function): Use FAST_TRACEPOINT_LABEL.
14809 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
14810 (func): Remove.
14811 (marker): Use FAST_TRACEPOINT_LABEL.
14812 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
14813 (pendfunc1): Remove.
14814 (pendfunc): Use FAST_TRACEPOINT_LABEL.
14815 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
14816 (foo): Remove.
14817 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
14818 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
14819 macro.
14820 (func): Remove.
14821 (marker): Use FAST_TRACEPOINT_LABEL.
14822 * gdb.trace/trace-common.h: New header.
14823 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
14824 macro.
14825 (func): Remove.
14826 (marker): Use FAST_TRACEPOINT_LABEL.
14827 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
14828 (func): Remove.
14829 (thread_function): Use FAST_TRACEPOINT_LABEL.
14830
6e7675a7
MK
148312015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
14832
14833 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
14834 in front.
14835 * gdb.trace/change-loc.exp: Use global pcreg definition.
14836 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
14837 * gdb.trace/entry-values.exp: Use global spreg definition, add $
14838 in front.
14839 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
14840 * gdb.trace/pending.exp: Likewise.
14841 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
14842 * gdb.trace/trace-break.exp: Likewise.
14843 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
14844 in front.
14845 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
14846 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
14847 in front.
14848 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
14849
dddc0e16
JB
148502015-11-09 Joel Brobecker <brobecker@adacore.com>
14851
14852 * gdb.ada/fin_fun_out: New testcase.
14853
c6f0b406
KB
148542015-11-07 Kevin Buettner <kevinb@redhat.com>
14855
14856 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
14857 value associated with DW_AT_byte_size.
14858 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
14859 constants for DW_AT_byte_size, DW_AT_lower_bound, and
14860 DW_AT_upper_bound.
14861
f01dcfd9
KB
148622015-11-07 Kevin Buettner <kevinb@redhat.com>
14863
14864 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
14865 (gdb_target_symbol_prefix_flags): Define in terms of _asm
14866 version.
14867 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
14868 gdb.dwarf2/dw2-canonicalize-type.exp,
14869 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
14870 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
14871 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
14872 provided by gdb_target_symbol_prefix_flags_asm.
14873 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
14874 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
14875 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
14876 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
14877 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
14878 macros where needed). Use this macro for symbols which require
14879 the prefix provided by SYMBOL_PREFIX.
14880
2223449a
KB
148812015-11-05 Kevin Buettner <kevinb@redhat.com>
14882
14883 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
14884 New procs.
14885 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
14886 representing expressions, of more than one list element.
14887 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
14888 to prepend linker symbol prefix to f.
14889 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
14890 table_1 and table_2.
14891 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
14892 Likewise, for f and g.
14893 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
14894 for ptr.
14895 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
14896 for main.
14897 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
14898 table_1_ptr and table_2_ptr.
14899
6f2f1a3a
JK
149002015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14901 Joel Brobecker <brobecker@adacore.com>
14902
14903 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
14904
566c56c9
MK
149052015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
14906
14907 * gdb.reverse/s390-mvcle.c: New test.
14908 * gdb.reverse/s390-mvcle.exp: New file.
14909 * lib/gdb.exp: Enable reverse tests on s390*-linux.
14910
d5f0636b
MK
149112015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14912
14913 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
14914
7ad8b86c
MK
149152015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
14916
14917 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
14918 reaching marker2.
14919 * gdb.reverse/getresuid-reverse.exp: Likewise.
14920 * gdb.reverse/pipe-reverse.exp: Likewise.
14921 * gdb.reverse/readv-reverse.exp: Likewise.
14922 * gdb.reverse/recvmsg-reverse.exp: Likewise.
14923 * gdb.reverse/time-reverse.exp: Likewise.
14924 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
14925
4081c0f1
YQ
149262015-10-30 Yao Qi <yao.qi@linaro.org>
14927
14928 * gdb.threads/wp-replication.c (watch_count_done): Remove.
14929 (empty_cycle): Remove.
14930 (main): Don't call empty_cycle. Don't use watch_count_done.
14931 * gdb.threads/wp-replication.exp: Don't set breakpoint on
14932 empty_cycle. Rewrite the code counting HW watchpoints.
14933
452b4ba5
MK
149342015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
14935
14936 * gdb.reverse/fstatat-reverse.c: New test.
14937 * gdb.reverse/fstatat-reverse.exp: New file.
14938 * gdb.reverse/getresuid-reverse.c: New test.
14939 * gdb.reverse/getresuid-reverse.exp: New file.
14940 * gdb.reverse/pipe-reverse.c: New test.
14941 * gdb.reverse/pipe-reverse.exp: New file.
14942 * gdb.reverse/readv-reverse.c: New test.
14943 * gdb.reverse/readv-reverse.exp: New file.
14944 * gdb.reverse/recvmsg-reverse.c: New test.
14945 * gdb.reverse/recvmsg-reverse.exp: New file.
14946 * gdb.reverse/time-reverse.c: New test.
14947 * gdb.reverse/time-reverse.exp: New file.
14948 * gdb.reverse/waitpid-reverse.c: New test.
14949 * gdb.reverse/waitpid-reverse.exp: New file.
14950
5e2e7507
JK
149512015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14952
14953 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
14954
0fde2c53
DE
149552015-10-26 Doug Evans <dje@google.com>
14956
14957 PR symtab/17391
14958 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
14959 * gdb.dwarf2/bad-regnum.c: New file.
14960 * gdb.dwarf2/bad-regnum.exp: New file.
14961
1a70ae97
DE
149622015-10-26 Doug Evans <dje@google.com>
14963
14964 PR python/18938
14965 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
14966 file.
14967
27dc26ab
JK
149682015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14969
14970 * gdb.compile/compile.exp (compile code globalvar): Update expectation
14971 for a change by "Mention language in compile error message".
14972
bed91f4d
SM
149732015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
14974
14975 PR python/18073
14976 * gdb.python/py-type.c (C::a_method): New.
14977 (C::a_const_method): New.
14978 (C::a_static_method): New.
14979 (a_function): New.
14980 * gdb.python/py-type.exp (test_fields): Test getting fields
14981 from function and method.
14982
3f2f83dd
KB
149832015-10-21 Keven Boell <keven.boell@intel.com>
14984
14985 * gdb.fortran/vla-alloc-assoc.exp: New file.
14986 * gdb.fortran/vla-datatypes.exp: New file.
14987 * gdb.fortran/vla-datatypes.f90: New file.
14988 * gdb.fortran/vla-history.exp: New file.
14989 * gdb.fortran/vla-ptype-sub.exp: New file.
14990 * gdb.fortran/vla-ptype.exp: New file.
14991 * gdb.fortran/vla-sizeof.exp: New file.
14992 * gdb.fortran/vla-sub.f90: New file.
14993 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
14994 * gdb.fortran/vla-value-sub-finish.exp: New file.
14995 * gdb.fortran/vla-value-sub.exp: New file.
14996 * gdb.fortran/vla-value.exp: New file.
14997 * gdb.fortran/vla-ptr-info.exp: New file.
14998 * gdb.mi/mi-vla-fortran.exp: New file.
14999 * gdb.mi/vla.f90: New file.
15000
27145d50
SL
150012015-10-21 Sandra Loosemore <sandra@codesourcery.com>
15002
15003 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
15004 of hardwired timeout value.
15005
5f3ff4f8
JK
150062015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15007 Pedro Alves <palves@redhat.com>
15008
15009 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
15010 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
15011
bfd09d20
JS
150122015-10-19 Josh Stone <jistone@redhat.com>
15013
15014 * gdb.base/catch-syscall.c: Include <sched.h>.
15015 (unknown_syscall): New variable.
15016 (main): Trigger a vfork and an unknown syscall.
15017 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
15018 (unknown_syscall_number): Likewise.
15019 (check_call_to_syscall): Accept an optional syscall pattern.
15020 (check_return_from_syscall): Likewise.
15021 (check_continue): Likewise.
15022 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
15023 (test_catch_syscall_skipping_return): New test toggling off 'catch
15024 syscall' to step over the syscall return, then toggling back on.
15025 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
15026 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
15027 (do_syscall_tests): Call test_catch_syscall_without_args and
15028 test_catch_syscall_mid_vfork.
15029 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
15030 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
15031
b32b93c6
AS
150322015-10-19 Andrew Stubbs <ams@codesourcery.com>
15033
15034 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
15035 print g_vE): Add new pass patterns.
15036 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
15037 print various symbol names for vptr fields.
15038
9d622bda
AB
150392015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
15040
15041 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
15042 results.
15043
0fd8ac1c
YQ
150442015-10-12 Yao Qi <yao.qi@linaro.org>
15045
15046 * gdb.arch/disp-step-insn-reloc.exp: New test case.
15047
34240514
YQ
150482015-10-12 Yao Qi <yao.qi@linaro.org>
15049
15050 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
15051 is aarch64*-*-linux*.
15052
8240f442
YQ
150532015-10-12 Yao Qi <yao.qi@linaro.org>
15054
15055 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
15056 (can_relocate_bcond_true): ... it.
15057 (can_relocate_bcond_false): New function.
15058 (foo): Likewise.
15059 (can_relocate_bl): Likewise.
15060 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
15061 can_relocate_bl.
15062
2520f728
PMR
150632015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
15064
15065 * gdb.base/nested-addr.c: New file.
15066 * gdb.base/nested-addr.exp: New testcase.
15067
abcef95a
MM
150682015-10-09 Markus Metzger <markus.t.metzger@intel.com>
15069
15070 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
15071 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
15072 its output. Ignore the output of "record goto begin" and instead
15073 check that GDB is replaying.
15074
145e3ddb
PA
150752015-10-09 Pedro Alves <palves@redhat.com>
15076
15077 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
15078 (top level): Use it in the run with no args test.
15079
d5d8c4e1
IB
150802015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
15081
15082 * gdb.dlang/properties.exp: New file.
15083
06e635ef
SL
150842015-10-02 Sandra Loosemore <sandra@codesourcery.com>
15085
15086 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
15087 whether or not address 0x1000 is mapped on the target.
15088
e019fd1d
SM
150892015-09-30 Simon Marchi <simon.marchi@ericsson.com>
15090
15091 * gdb.python/py-type.exp: Do not run tests if binaries fail to
15092 build.
15093
77ba2a67
MM
150942015-09-30 Markus Metzger <markus.t.metzger@intel.com>
15095
15096 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
15097 instruction-history test.
15098
c60eb31f
DE
150992015-09-28 Doug Evans <dje@google.com>
15100
15101 * gdb.base/gcore.c (array_func): Add reference to static_array.
15102
9a3c8263
SM
151032015-09-25 Simon Marchi <simon.marchi@ericsson.com>
15104
15105 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
15106 source line.
15107
9720e656
SL
151082015-09-24 Sandra Loosemore <sandra@codesourcery.com>
15109
15110 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
15111 short or char as base type.
15112
938d3bf2
SL
151132015-09-23 Sandra Loosemore <sandra@codesourcery.com>
15114
15115 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
15116 to allow any size enum.
15117
e6c2c623
PMR
151182015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
15119
15120 * gdb.ada/array_ptr_renaming.exp: New testcase.
15121 * gdb.ada/array_ptr_renaming/foo.adb: New file.
15122 * gdb.ada/array_ptr_renaming/pack.ads: New file.
15123
06da0f77
PL
151242015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15125
15126 * gdb.trace/ftrace-lock.c: New file.
15127 * gdb.trace/ftrace-lock.exp: New file.
15128
4f51c22a
PL
151292015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15130
15131 * gdb.arch/insn-reloc.c: New file.
15132 * gdb.arch/ftrace-insn-reloc.exp: New file.
15133
7041adf4
PL
151342015-09-21 Pierre Langlois <pierre.langlois@arm.com>
15135
15136 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
15137 instruction.
15138 * gdb.trace/pendshr1.c (pendfunc): Likewise.
15139 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
15140 * gdb.trace/range-stepping.c: Likewise.
15141 * gdb.trace/trace-break.c: Likewise.
15142 * gdb.trace/trace-mt.c (thread_function): Likewise.
15143 * gdb.trace/ftrace.c (marker): Likewise.
15144 * gdb.trace/trace-condition.c (marker): Likewise.
15145 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
15146 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
15147 is_aarch64_target.
15148
015d2e7e
DE
151492015-09-18 Doug Evans <xdje42@gmail.com>
15150
15151 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
15152 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
15153
26b188a2
SL
151542015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15155
15156 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
15157 the breakpoint.
15158
79dc332b
SL
151592015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15160
15161 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
15162 the pending breakpoint. Remove timeout override for "Run till
15163 MI pending breakpoint on pendfunc3 on thread 2" test.
15164
f57929f2
SL
151652015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15166
15167 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
15168 filename pattern.
15169
3f469b17
SL
151702015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15171
15172 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
15173 in breakpoint filename pattern.
15174
515b89b3
SL
151752015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15176
7800dbe4
SL
15177 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
15178
151792015-09-18 Sandra Loosemore <sandra@codesourcery.com>
15180
515b89b3
SL
15181 * gdb.linespec/explicit.exp: Check for readline support for
15182 tab-completion tests. Fix obvious typo.
15183
d2939ba2
MM
151842015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15185
15186 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
15187 and replay.
15188
cbb55fa7
MM
151892015-09-18 Markus Metzger <markus.t.metzger@intel.com>
15190
15191 * gdb.btrace/non-stop.c: New.
15192 * gdb.btrace/non-stop.exp: New.
15193
43691ca1
PL
151942015-09-17 Pierre Langlois <pierre.langlois@arm.com>
15195 Yao Qi <yao.qi@linaro.org>
15196
15197 * gdb.trace/trace-condition.c: New file.
15198 * gdb.trace/trace-condition.exp: New file.
15199
d78908cf
WW
152002015-09-16 Wei-cheng Wang <cole945@gmail.com>
15201
15202 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
15203 for testing bytecode compilation.
15204
1ed415e2
PA
152052015-09-16 Pedro Alves <palves@redhat.com>
15206 Sandra Loosemore <sandra@codesourcery.com>
15207
15208 * gdb.threads/non-stop-fair-events.c (timeout): New global.
15209 (SECONDS): Redefine.
15210 (main): Call pthread_kill and alarm early.
15211 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
15212 support.
15213 (test): If the target can't hardware step and doesn't support
15214 displaced stepping, increase the timeout.
15215
d136eff5
PA
152162015-09-16 Pedro Alves <palves@redhat.com>
15217
15218 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
15219 (enable_debug): New procedures.
15220 (test): Use them. Bail out if waiting for threads fails.
15221 (top level): Bail out if a test fails.
15222
991f019c
YQ
152232015-09-16 Yao Qi <yao.qi@linaro.org>
15224
15225 * gdb.asm/asm-source.exp: Set asm-arch for
15226 aarch64*-*-* target.
15227 * gdb.asm/aarch64.inc: New file.
15228
bfca584f
PMR
152292015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
15230
15231 * gdb.ada/array_of_variable_length.exp: New testcase.
15232 * gdb.ada/array_of_variable_length/foo.adb: New file.
15233 * gdb.ada/array_of_variable_length/pck.adb: New file.
15234 * gdb.ada/array_of_variable_length/pck.ads: New file.
15235
b326e587
DE
152362015-09-15 Doug Evans <dje@google.com>
15237
15238 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
15239 of function static local variable.
15240
5382cfab
PW
152412015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15242
15243 * gdb.threads/tls-so_extern.exp: New test file.
15244 * gdb.threads/tls-so_extern.c: New test file.
15245 * gdb.threads/tls-so_extern_main.c: New test file.
15246
141c5cc4
JK
152472015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15248
15249 * gdb.opt/solib-intra-step-lib.c: New file.
15250 * gdb.opt/solib-intra-step-main.c: New file.
15251 * gdb.opt/solib-intra-step.exp: New file.
15252
d15dcecd
PA
152532015-09-15 Pedro Alves <palves@redhat.com>
15254
15255 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
15256 gdb_continue_to_breakpoint instead of gdb_test_multiple.
15257
4c2f2a79
PA
152582015-09-14 Pedro Alves <palves@redhat.com>
15259
15260 * gdb.base/hook-stop-continue.c: Delete.
15261 * gdb.base/hook-stop-continue.exp: Delete.
15262 * gdb.base/hook-stop-frame.c: Delete.
15263 * gdb.base/hook-stop-frame.exp: Delete.
15264 * gdb.base/hook-stop.c: New file.
15265 * gdb.base/hook-stop.exp: New file.
15266
919e6dbe
PMR
152672015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
15268
15269 * gdb.ada/access_to_packed_array.exp: New testcase.
15270 * gdb.ada/access_to_packed_array/foo.adb: New file.
15271 * gdb.ada/access_to_packed_array/pack.adb: New file.
15272 * gdb.ada/access_to_packed_array/pack.ads: New file.
15273
157280a4
MM
152742015-09-14 Markus Metzger <markus.t.metzger@intel.com>
15275
15276 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
15277 buffer size test.
15278
2fd33e94
DB
152792015-09-11 Don Breazeal <donb@codesourcery.com>
15280
15281 * gdb.base/foll-exec.c: Add copyright header. Fix
15282 formatting issues.
15283 * gdb.base/foll-exec.exp (zap_session): Delete proc.
15284 (do_exec_tests): Use clean_restart in place of zap_session,
15285 and for test initialization. Fix formatting issues. Use
15286 fail in place of perror.
15287 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
15288 an expect statement to match an expression with output from
15289 the program under debug.
15290 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
15291 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
15292 * gdb.threads/non-ldr-exc-2.exp: Likewise.
15293 * gdb.threads/non-ldr-exc-3.exp: Likewise.
15294 * gdb.threads/non-ldr-exc-4.exp: Likewise.
15295
e70b6e8e
DE
152962015-09-09 Doug Evans <dje@google.com>
15297
15298 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
15299
7a551a51
DE
153002015-09-09 Doug Evans <dje@google.com>
15301
15302 * gdb.base/pie-execl.exp: Fix result test of build_executable.
15303
4c666f84
DE
153042015-09-09 Doug Evans <dje@google.com>
15305
15306 * gdb.base/savedregs.exp: Fix typo.
15307
243a9253
PA
153082015-09-09 Pedro Alves <palves@redhat.com>
15309
15310 * gdb.mi/mi-cli.exp: Add CLI finish tests.
15311
c0fa8fbd
SL
153122015-09-08 Sandra Loosemore <sandra@codesourcery.com>
15313
15314 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
15315 command actually switches threads. Give up on remaining
15316 tests if target fails to stop at breakpoint.
15317
cd7c1778
PMR
153182015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
15319
15320 * gdb.ada/funcall_char.exp: New testcase.
15321 * gdb.ada/funcall_char/foo.adb: New file.
15322
dc5c8746
PMR
153232015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
15324
15325 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
15326 expected outputs. Add two testcases for completing ambiguous
15327 functions.
15328 * gdb.ada/complete/aux_pck.adb: New file.
15329 * gdb.ada/complete/aux_pck.ads: New file.
15330 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
15331 Ambiguous_Func functions.
15332 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
15333 * gdb.ada/complete/pck.adb: Likewise.
15334
4e83a1e7
UW
153352015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
15336
15337 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
15338 failures to run the test program under GDB.
15339
8ce74153
LM
153402015-08-26 Luis Machado <lgustavo@codesourcery.com>
15341
15342 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
15343 to C.
15344
e9756d52
PP
153452015-08-26 Patrick Palka <patrick@parcs.ath.cx>
15346
15347 * gdb.base/run-after-attach.exp: New test file.
15348 * gdb.base/run-after-attach.c: New test file.
15349
8d37573b
DB
153502015-08-26 Don Breazeal <donb@codesourcery.com>
15351
15352 * gdb.base/foll-exec-2.c: New test program.
15353 * gdb.base/foll-exec-2.exp: New test.
15354
63e43d3a
PMR
153552015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
15356
15357 * gdb.base/nested-subp1.exp: New file.
15358 * gdb.base/nested-subp1.c: New file.
15359 * gdb.base/nested-subp2.exp: New file.
15360 * gdb.base/nested-subp2.c: New file.
15361 * gdb.base/nested-subp3.exp: New file.
15362 * gdb.base/nested-subp3.c: New file.
15363
3d40fbb5
PA
153642015-08-24 Pedro Alves <palves@redhat.com>
15365
15366 * gdb.server/connect-without-multi-process.c: New file.
15367 * gdb.server/connect-without-multi-process.exp: New file.
15368
4422ac93
LM
153692015-08-24 Luis Machado <lgustavo@codesourcery.com>
15370
15371 * gdb.opt/inline-markers.c: Make z int.
15372
91dddb86
LM
153732015-08-24 Luis Machado <lgustavo@codesourcery.com>
15374
15375 * gdb.opt/inline-markers.c: Make z volatile.
15376
a48847ee
LM
153772015-08-24 Luis Machado <lgustavo@codesourcery.com>
15378
15379 * gdb.opt/inline-bt.c: New volatile global z.
15380 * gdb.opt/inline-cmds.c: Likewise.
15381 * gdb.opt/inline-locals.c: Likewise.
15382 * gdb.opt/inline-markers.c: New extern global z.
15383 (marker): Use z.
15384 (inline_fn): Likewise.
15385
0ebbc52b
PA
153862015-08-24 Pedro Alves <palves@redhat.com>
15387
15388 * config/m32r-stub.exp: Remove file.
15389 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
15390 * gdb.base/call-rt-st.exp: Likewise.
15391 * gdb.base/call-strs.exp: Likewise.
15392 * gdb.base/default.exp: Remove references to h8300-*-hms and
15393 *-*-udi*.
15394 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
15395
77c365df
AA
153962015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
15397
15398 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
15399 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
15400 and "return" use KFAIL when GDB can not read/write the vector
15401 return value.
15402
4313b8c0
GB
154032015-08-21 Gary Benson <gbenson@redhat.com>
15404
15405 * gdb.trace/pending.exp: Cope with remote transfer warnings.
15406
0e433b32
PA
154072015-08-20 Pedro Alves <palves@redhat.com>
15408
15409 * gdb.server/solib-list.exp: No longer expect an interior stop in
15410 non-stop mode.
15411
221e1a37
PA
154122015-08-20 Pedro Alves <palves@redhat.com>
15413
15414 * gdb.server/connect-stopped-target.c: New file.
15415 * gdb.server/connect-stopped-target.exp: New file.
15416
40e3ad0e
PA
154172015-08-20 Pedro Alves <palves@redhat.com>
15418
15419 * gdb.dwarf2/comp-unit-lang.exp: New file.
15420 * gdb.dwarf2/comp-unit-lang.c: New file.
15421
af39b327
PMR
154222015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
15423
15424 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
15425 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
15426
7d45c7c3 154272015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 15428
7d45c7c3
KB
15429 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
15430 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
15431
4d6cceb4
DE
154322015-08-18 Doug Evans <dje@google.com>
15433 Adrian Sendroiu <adrian.sendroiu@freescale.com>
15434
15435 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
15436 skip_python_tests. New arg prompt_regexp.
15437 (skip_python_tests): New function.
15438 * lib/mi-support.exp (mi_skip_python_tests): New function.
15439 * gdb.python/py-mi-objfile-gdb.py: New file.
15440 * gdb.python/py-mi-objfile.c: New file.
15441 * gdb.python/py-mi-objfile.exp: New file.
15442
ad89c2aa
KS
154432015-08-17 Keith Seitz <keiths@redhat.com>
15444
15445 * gdb.linespec/explicit.exp: Move strace test from here ...
15446 * gdb.trace/strace.exp: ... to here.
15447
e3ae3c43
PP
154482015-08-15 Patrick Palka <patrick@parcs.ath.cx>
15449
15450 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
15451 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
15452
604b2636
DE
154532015-08-14 Doug Evans <xdje42@gmail.com>
15454
15455 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
15456 inferior before selecting a new file.
15457
6ff0ba5f
DE
154582015-08-14 Doug Evans <xdje42@gmail.com>
15459
15460 * gdb.mi/mi-disassemble.exp: Update.
15461 * gdb.base/disasm-optim.S: New file.
15462 * gdb.base/disasm-optim.c: New file.
15463 * gdb.base/disasm-optim.h: New file.
15464 * gdb.base/disasm-optim.exp: New file.
15465
9ca98f92
KS
154662015-08-14 Keith Seitz <keiths@redhat.com>
15467
15468 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
15469 "evaluated-by".
15470
52bbc560
JB
154712015-08-13 Joel Brobecker <brobecker@adacore.com>
15472
15473 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
15474
5d8c3ed3
PMR
154752015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
15476
15477 * gdb.ada/fun_renaming.exp: New testcase.
15478 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
15479 * gdb.ada/fun_renaming/pack.adb: New file.
15480 * gdb.ada/fun_renaming/pack.ads: New file.
15481
ea8812bc
KS
154822015-08-12 Keith Seitz <keiths@redhat.com>
15483
15484 * gdb.base/dso2dso.exp: Pass basename of source file in call to
15485 gdb_get_line_number.
15486
4dafcdeb
JB
154872015-08-12 Joel Brobecker <brobecker@adacore.com>
15488
15489 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
15490 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
15491 gdb.base/dso2dso.exp: New files.
15492
5ba32597
SDJ
154932015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
15494 Pedro Alves <palves@redhat.com>
15495 Keith Seitz <keiths@redhat.com>
15496
15497 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
15498 GDBFLAGS.
15499
b6dafabf
PP
155002015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15501
15502 * gdb.base/gdbhistsize-history.exp
15503 (test_histsize_history_setting): Use save_vars.
15504 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15505 Use save_vars.
15506 (test_no_truncation_of_unlimited_history_file): Use save_vars.
15507 * gdb.base/readline.exp: Use save_vars.
15508
abe8e607
PP
155092015-08-12 Patrick Palka <patrick@parcs.ath.cx>
15510
15511 * lib/gdb.exp (save_vars): New proc.
15512
629500fa
KS
155132015-08-11 Keith Seitz <keiths@redhat.com>
15514
15515 * gdb.base/help.exp: Update help_breakpoint_text.
15516
eb8c4e2e
KS
155172015-08-11 Keith Seitz <keiths@redhat.com>
15518
15519 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
15520 (at toplevel): Call test_explicit_breakpoints.
15521 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
15522 breakpoints.
15523 * lib/mi-support.exp (mi_make_breakpoint): Add support for
15524 breakpoint conditions, "-cond".
15525
87f0e720
KS
155262015-08-11 Keith Seitz <keiths@redhat.com>
15527
15528 * gdb.linespec/3explicit.c: New file.
15529 * gdb.linespec/cpexplicit.cc: New file.
15530 * gdb.linespec/cpexplicit.exp: New file.
15531 * gdb.linespec/explicit.c: New file.
15532 * gdb.linespec/explicit.exp: New file.
15533 * gdb.linespec/explicit2.c: New file.
15534 * gdb.linespec/ls-errs.exp: Add explicit location tests.
15535 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
15536 before using in the matching pattern.
15537 Clarify that `prefix' is a regular expression.
15538
f00aae0f
KS
155392015-08-11 Keith Seitz <keiths@redhat.com>
15540
15541 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
15542 test.
15543 Add tests for missing ",FMT" and ",".
15544
e27852be
DE
155452015-08-10 Doug Evans <dje@google.com>
15546 Keith Seitz <keiths@redhat.com>
15547
15548 PR gdb/17960
15549 * gdb.base/completion.exp: Add location completer tests.
15550
7f03bd92
PA
155512015-08-07 Pedro Alves <palves@redhat.com>
15552
15553 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
15554 tests here.
15555 (top level): Run do_test with and without displaced stepping.
15556
3fc8eb30
PA
155572015-08-07 Pedro Alves <palves@redhat.com>
15558
15559 * gdb.base/valgrind-disp-step.c: New file.
15560 * gdb.base/valgrind-disp-step.exp: New file.
15561
d4569d7b
PA
155622015-08-07 Pedro Alves <palves@redhat.com>
15563
15564 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
15565 Delete function.
15566 (main): Add alarm. Run an infinite loop instead of calling
15567 wait_threads.
15568 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
15569 comment.
15570 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
15571 Delete function.
15572 (main): Add alarm. Run an infinite loop instead of calling
15573 wait_threads.
15574 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
15575 comment.
15576
e1316e60
PA
155772015-08-07 Pedro Alves <palves@redhat.com>
15578
15579 * gdb.base/checkpoint-ns.exp: New file.
15580 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
15581 standard_testfile.
15582
da8c46d2
MM
155832015-08-07 Markus Metzger <markus.t.metzger@intel.com>
15584
15585 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
15586 * gdb.btrace/instruction_history.exp: Update.
15587 * gdb.btrace/tsx.exp: New.
15588 * gdb.btrace/tsx.c: New.
15589
de1c2c52
PA
155902015-08-06 Pedro Alves <palves@redhat.com>
15591
15592 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
15593 increase timeout.
15594 * gdb.reverse/until-precsave.exp: Bump timeouts.
15595
782e0bf4
PA
155962015-08-06 Pedro Alves <palves@redhat.com>
15597
15598 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
15599
83e97ed0
PA
156002015-08-06 Pedro Alves <palves@redhat.com>
15601
15602 PR gdb/18749
15603 * gdb.threads/process-dies-while-handling-bp.c: New file.
15604 * gdb.threads/process-dies-while-handling-bp.exp: New file.
15605
863d01bd
PA
156062015-08-06 Pedro Alves <palves@redhat.com>
15607
15608 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
15609 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
15610
0a39bb32
PA
156112015-08-05 Pedro Alves <palves@redhat.com>
15612
15613 * gdb.threads/next-while-other-thread-longjmps.c: New file.
15614 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
15615
ee2d2b10
SL
156162015-08-03 Sandra Loosemore <sandra@codesourcery.com>
15617
15618 * gdb.base/bp-permanent.exp: Report test as unsupported if
15619 the target cannot stop at the permanent breakpoint.
15620
4e1bdb00
DE
156212015-08-03 Doug Evans <dje@google.com>
15622
15623 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
15624 10000.
15625
3d338901
DE
156262015-08-03 Doug Evans <dje@google.com>
15627
15628 * Makefile.in (workers/%.worker, build-perf): New rule.
15629 (GDB_PERFTEST_MODE): New variable.
15630 (check-perf): Use it.
15631 (clean): Clean up gdb.perf parallel build subdirs.
15632 * lib/build-piece.exp: New file.
15633 * lib/gdb.exp (make_gdb_parallel_path): New function
15634 (standard_output_file, standard_temp_file): Call it.
15635 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15636 of $GDB_PARALLEL.
15637 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
15638
af061d3e
DE
156392015-08-03 Doug Evans <dje@google.com>
15640
8e1afc81 15641 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
15642 (LOG_FILE_NAME): New global.
15643 (TextReporter.__init__): Initialize self.txt_sum.
15644 (TextReporter.report): Add support for multiple data-points.
15645 Move report to perftest.sum, put raw data in perftest.log.
15646 (TextReporter.start): Open sum and log files.
15647 (TextReporter.end): Close sum and log files.
8e1afc81
DE
15648 * gdb.perf/lib/perftest/testresult.py
15649 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 15650
2c8c5d37
PA
156512015-07-31 Pedro Alves <palves@redhat.com>
15652
15653 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
15654 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15655 kill_wait_spawned_process instead of explicit "kill -9".
15656 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
15657 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15658 kill_wait_spawned_process.
15659 * gdb.base/attach-twice.exp: Likewise.
15660 * gdb.base/attach.exp: Likewise.
15661 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
15662 gdb_test_multiple.
15663 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
15664 returning a spawn id instead of a pid. Use spawn_id_get_pid and
15665 kill_wait_spawned_process.
15666 * gdb.base/valgrind-infcall.exp: Likewise.
15667 * gdb.multi/multi-attach.exp: Likewise.
15668 * gdb.python/py-prompt.exp: Likewise.
15669 * gdb.python/py-sync-interp.exp: Likewise.
15670 * gdb.server/ext-attach.exp: Likewise.
15671 * gdb.threads/attach-into-signal.exp (corefunc): Use
15672 spawn_wait_for_attach, spawn_id_get_pid and
15673 kill_wait_spawned_process.
15674 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
15675 spawn_wait_for_attach returning a spawn id instead of a pid. Use
15676 spawn_id_get_pid and kill_wait_spawned_process.
15677 * gdb.threads/attach-stopped.exp (corefunc): Use
15678 spawn_wait_for_attach, spawn_id_get_pid and
15679 kill_wait_spawned_process.
15680 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
15681 Use spawn_id_get_pid. Wait for spawn id after eof. Use
15682 kill_wait_spawned_process instead of explicit "kill -9".
15683 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
15684 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
15685 (spawn_wait_for_attach): Use spawn instead of exec to spawn
15686 processes. Don't map cygwin/windows pids here. Now returns a
15687 spawn id list.
15688
032a0fca
SL
156892015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15690
15691 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
15692 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
15693 correct patch.
15694
61a934ca
SL
156952015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15696
15697 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
15698
4bc4d428
SL
156992015-07-30 Sandra Loosemore <sandra@codesourcery.com>
15700
15701 Reapply:
15702 2014-05-21 Mark Wielaard <mjw@redhat.com>
15703
15704 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15705
998d452a
PA
157062015-07-30 Pedro Alves <palves@redhat.com>
15707
15708 * linux-low.c (handle_extended_wait): Set the child's last
15709 reported status to TARGET_WAITKIND_STOPPED.
15710
69dde7dc
PA
157112015-07-30 Pedro Alves <palves@redhat.com>
15712
15713 PR threads/18600
15714 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
15715 only shows inferior 1.
15716
4dd63d48
PA
157172015-07-30 Simon Marchi <simon.marchi@ericsson.com>
15718 Pedro Alves <palves@redhat.com>
15719
15720 PR threads/18600
15721 * gdb.threads/fork-plus-threads.c: New file.
15722 * gdb.threads/fork-plus-threads.exp: New file.
15723
d618e4c5
PP
157242015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15725
15726 * gdb.base/batch-preserve-term-settings.exp
15727 (test_terminal_settings_preserved_after_cli_exit): Use
15728 send_quit_command.
15729
1eef6428
PA
157302015-07-29 Pedro Alves <palves@redhat.com>
15731 Don Breazeal <donb@codesourcery.com>
15732
15733 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
15734 output from both inferior_spawn_id and gdb_spawn_id.
15735
7da5b897
SDJ
157362015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15737
15738 * gdb.threads/attach-into-signal.exp (corefunc): Use
15739 with_test_prefix on nested loops, uniquefying the test messages.
15740
dac804df
SDJ
157412015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
15742
15743 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
15744 commit.
15745
06265e53
PP
157462015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15747
15748 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
15749 New proc.
15750 (test_terminal_settings_preserved_after_sigterm): New test.
15751
18206ca3
PP
157522015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15753
15754 * gdb.base/batch-preserve-term-settings.exp
15755 (test_terminal_settings_preserved_after_cli_exit): New test.
15756
90074d11
PP
157572015-07-29 Patrick Palka <patrick@parcs.ath.cx>
15758
15759 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
15760 manipulation of saved_gdbflags.
15761 (test_terminal_settings_preserved): Remove global declaration of
15762 the unused variable pagination_prompt. Remove manipulation of
15763 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
15764 GDBFLAGS.
15765
eb1a7902
PA
157662015-07-29 Pedro Alves <palves@redhat.com>
15767
15768 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
15769
8b75dd3b
PA
157702015-07-29 Pedro Alves <palves@redhat.com>
15771
15772 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
15773 at the top.
15774
dedad4e3
PA
157752015-07-29 Pedro Alves <palves@redhat.com>
15776
15777 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
15778 (main): Call gdb_unbuffer_output.
15779 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
15780 (main): Call gdb_unbuffer_output.
15781 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
15782 (main): Call gdb_unbuffer_output.
15783 * gdb.base/call-strs.exp: Adjust to step over the
15784 gdb_unbuffer_output call.
15785 * gdb.base/catch-gdb-caused-signals.c: Include
15786 "../lib/unbuffer_output.c".
15787 (main): Call gdb_unbuffer_output.
15788 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
15789 (main): Call gdb_unbuffer_output.
15790 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
15791 (main): Call gdb_unbuffer_output.
15792 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
15793 (main): Call gdb_unbuffer_output.
15794 * gdb.base/shlib-call.exp: Adjust to step over the
15795 gdb_unbuffer_output call.
15796 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
15797 (main): Call gdb_unbuffer_output.
15798 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
15799 (main): Call gdb_unbuffer_output.
15800 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
15801 (main): Rename to ...
15802 (test): ... this.
15803 (main): Reimplement.
15804 * gdb.base/varargs.exp: Run to test instead of to main.
15805 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15806 (main): Call gdb_unbuffer_output.
15807
58789a91
PA
158082015-07-29 Pedro Alves <palves@redhat.com>
15809
15810 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
15811 factore out from mi_continue_dprintf. For call-style dprintfs,
15812 expect dprintf output out of $inferior_spawn_id.
15813 (mi_continue_dprintf): Use mi_expect_dprintf.
15814 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
15815 (main): Call gdb_unbuffer_output.
15816
e8376742
PA
158172015-07-29 Pedro Alves <palves@redhat.com>
15818
15819 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
15820 (default_mi_gdb_start): Set inferior_spawn_id instead of
15821 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
15822 gdb_spawn_id.
15823 (mi_gdb_test): Always expect inferior output from both
15824 $inferior_spawn_id and $gdb_spawn_id.
15825
08280010
PA
158262015-07-29 Pedro Alves <palves@redhat.com>
15827
15828 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
15829 send_inferior and $inferior_spawn_id.
15830
4d30e432
PA
158312015-07-29 Pedro Alves <palves@redhat.com>
15832
15833 * gdb.gdb/complaints.exp (test_initial_complaints)
15834 (test_serial_complaints, test_short_complaints): Use
15835 gdb_test_stdio.
15836 (test_empty_complaint): Handle $inferior_spawn_id !=
15837 $gdb_spawn_id.
15838
0d30a335
PA
158392015-07-29 Pedro Alves <palves@redhat.com>
15840
15841 * gdb.base/varargs.exp: Use gdb_test_stdio.
15842
39413b29
PA
158432015-07-29 Pedro Alves <palves@redhat.com>
15844
15845 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
15846
7cb000a9
PA
158472015-07-29 Pedro Alves <palves@redhat.com>
15848
15849 * gdb.base/ending-run.exp: Use gdb_test_stdio.
15850
d7b8ac82
PA
158512015-07-29 Pedro Alves <palves@redhat.com>
15852
15853 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
15854 parameter into two new parameters, "inf_result" and "gdb_result".
15855 Expect inferior output and gdb output from $inferior_spawn_id and
15856 $gdb_spawn_id, respectively. Adjust all callers.
15857
789c3a0c
PA
158582015-07-29 Pedro Alves <palves@redhat.com>
15859
15860 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
15861 of gdb_test_sequence.
15862
77e760c3
PA
158632015-07-29 Pedro Alves <palves@redhat.com>
15864
15865 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
15866 (saw_spurious_output): Expect inferior output from
15867 $inferior_spawn_id. Use gdb_test_stdio.
15868
8396d2cd
PA
158692015-07-29 Pedro Alves <palves@redhat.com>
15870
15871 * gdb.base/dprintf.exp: Use standard_testfile. Change
15872 prepare_for_testing call.
15873 (srcfile): Don't set.
15874 (restart): New procedure.
15875 (test_dprintf): New procecure, use to continue over dprintfs.
15876 (test_call, test_agent): New procedures, tests moved here.
15877 Restart gdb and recreate dprintfs. Adjust expected output.
15878
2051d61f
PA
158792015-07-29 Pedro Alves <palves@redhat.com>
15880
15881 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
15882
452397af
PA
158832015-07-29 Pedro Alves <palves@redhat.com>
15884
15885 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
15886
8aed9555
PA
158872015-07-29 Pedro Alves <palves@redhat.com>
15888
15889 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
15890 gdb_test_stdio.
15891
188a61b4
PA
158922015-07-29 Pedro Alves <palves@redhat.com>
15893
15894 * lib/gdb.exp (gdb_test_stdio): New procedure.
15895
12264a45
PA
158962015-07-29 Pedro Alves <palves@redhat.com>
15897
15898 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
15899
23ffc893
PA
159002015-07-29 Pedro Alves <palves@redhat.com>
15901
15902 * gdb.base/call-signal-resume.exp: Remove check for
15903 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
15904 * gdb.base/unwindonsignal.exp: Likewise.
15905 * gdb.base/call-signals.c (gen_signal): Remove printf call.
15906 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
15907
65566918
PA
159082015-07-29 Pedro Alves <palves@redhat.com>
15909
15910 * gdb.base/siginfo-addr.c (pass): New function.
15911 (handler): Call it iff si_addr is correct.
15912 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
15913 Set a breakpoint at "pass" and continue to it.
15914
d60a9221
SDJ
159152015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
15916
15917 * gdb.python/py-objfile.exp: Make some tests have unique names.
15918 * gdb.python/py-pp-registration.exp: Likewise.
15919
bde40b8f
PA
159202015-07-28 Pedro Alves <palves@redhat.com>
15921
15922 * gdb.server/server-exec-info.exp: Issue a "disconnect".
15923
13e1dec8
SM
159242015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15925
15926 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
15927
da33c9a7
SM
159282015-07-27 Simon Marchi <simon.marchi@ericsson.com>
15929
15930 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
15931
077836f7
PP
159322015-07-27 Patrick Palka <patrick@parcs.ath.cx>
15933
15934 * gdb.base/gdb-sigterm-2.exp: New test.
15935
b8cc7b2e
DE
159362015-07-25 Doug Evans <xdje42@gmail.com>
15937
15938 Revert:
15939 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15940 (workers/%.worker, build-perf): New rule.
15941 (GDB_PERFTEST_MODE): New variable.
15942 (check-perf): Use it.
15943 (clean): Clean up gdb.perf parallel build subdirs.
15944 * lib/build-piece.exp: New file.
15945 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15946 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15947 name.
15948 (standard_temp_file): Ditto.
15949 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15950 of $GDB_PARALLEL.
15951
c8bd4544
DE
159522015-07-24 Doug Evans <dje@google.com>
15953
15954 * gdb.perf/lib/perftest/utils.py: New file.
15955 * gdb.perf/gm-hello.cc: New file.
15956 * gdb.perf/gm-pervasive-typedef.cc: New file.
15957 * gdb.perf/gm-pervasive-typedef.h: New file.
15958 * gdb.perf/gm-std.cc: New file.
15959 * gdb.perf/gm-std.h: New file.
15960 * gdb.perf/gm-use-cerr.cc: New file.
15961 * gdb.perf/gm-utils.h: New file.
15962 * gdb.perf/gmonster-null-lookup.py: New file.
15963 * gdb.perf/gmonster-pervasive-typedef.py: New file.
15964 * gdb.perf/gmonster-print-cerr.py: New file.
15965 * gdb.perf/gmonster-ptype-string.py: New file.
15966 * gdb.perf/gmonster-runto-main.py: New file.
15967 * gdb.perf/gmonster-select-file.py: New file.
15968 * gdb.perf/gmonster1-null-lookup.exp: New file.
15969 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
15970 * gdb.perf/gmonster1-print-cerr.exp: New file.
15971 * gdb.perf/gmonster1-ptype-string.exp: New file.
15972 * gdb.perf/gmonster1-runto-main.exp: New file.
15973 * gdb.perf/gmonster1-select-file.exp: New file.
15974 * gdb.perf/gmonster1.cc: New file.
15975 * gdb.perf/gmonster1.exp: New file.
15976 * gdb.perf/gmonster2-null-lookup.exp: New file.
15977 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
15978 * gdb.perf/gmonster2-print-cerr.exp: New file.
15979 * gdb.perf/gmonster2-ptype-string.exp: New file.
15980 * gdb.perf/gmonster2-runto-main.exp: New file.
15981 * gdb.perf/gmonster2-select-file.exp: New file.
15982 * gdb.perf/gmonster2.cc: New file.
15983 * gdb.perf/gmonster2.exp: New file.
15984
6eab34f3
DE
159852015-07-24 Doug Evans <dje@google.com>
15986
15987 * gdb.perf/README: New file.
15988 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
15989 * lib/gen-perf-test.exp: New file.
15990
63738bfd
DE
159912015-07-24 Doug Evans <dje@google.com>
15992
15993 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
15994 (PerfTest::startup): New function.
15995 (PerfTest::run): Return result of calling body.
15996 (PerfTest::assemble): Rewrite.
15997 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
15998 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
15999 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
16000 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
16001 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
16002
7b606f95
DE
160032015-07-24 Doug Evans <dje@google.com>
16004
16005 * lib/gdb.exp (clean_restart): Make executable optional.
16006
a97b16b8
DE
160072015-07-24 Doug Evans <dje@google.com>
16008
16009 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
16010 compiler_info references.
16011 * gdb.cp/temargs.exp: Ditto.
16012 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
16013 (get_compiler_info): Early exit if already computed. Set compiler_info
16014 to "unknown" if there was a problem.
16015 (test_compiler_info): Add function comment. Call get_compiler_info.
16016
35baa57f
DE
160172015-07-24 Doug Evans <dje@google.com>
16018
16019 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16020 (workers/%.worker, build-perf): New rule.
16021 (GDB_PERFTEST_MODE): New variable.
16022 (check-perf): Use it.
16023 (clean): Clean up gdb.perf parallel build subdirs.
16024 * lib/build-piece.exp: New file.
16025 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16026 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16027 name.
16028 (standard_temp_file): Ditto.
16029 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16030 of $GDB_PARALLEL.
16031
6ebea266
DE
160322015-07-24 Doug Evans <dje@google.com>
16033
16034 * lib/future.exp (gdb_default_target_compile): New option
16035 "early_flags".
16036 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
16037 --as-needed.
16038
1e76a7e9
SDJ
160392015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
16040
16041 * gdb.base/catch-syscall.exp: Call gdb_exit before
16042 gdb_skip_xml_test.
16043
5068630a
PA
160442015-07-24 Pedro Alves <palves@redhat.com>
16045
16046 * gdb.python/py-events.exp: Accept output between the stop event
16047 and the prompt.
16048 * gdb.python/py-evsignal.exp: Likewise.
16049 * gdb.python/py-evthreads.exp: Likewise.
16050
77598427
PA
160512015-07-24 Pedro Alves <palves@redhat.com>
16052
16053 PR gdb/18717
16054 * gdb.threads/non-ldr-exit.c: New file.
16055 * gdb.threads/non-ldr-exit.exp: New file.
16056
11e6c98f
YQ
160572015-07-24 Yao Qi <yao.qi@linaro.org>
16058
16059 * gdb.server/ext-wrapper.exp: Test --wrapper option when
16060 restarting process.
16061
51aee833
YQ
160622015-07-24 Yao Qi <yao.qi@linaro.org>
16063
16064 * gdb.server/ext-restart.exp: New file.
16065
8cfe207c
YQ
160662015-07-24 Yao Qi <yao.qi@linaro.org>
16067
16068 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
16069 argument options.
16070 * gdb.server/ext-wrapper.exp: New file.
16071
cc12ce38
DE
160722015-07-23 Doug Evans <dje@google.com>
16073
16074 * gdb.dwarf2/dw2-dummy-cu.S: New file.
16075 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
16076
d0d84780
PMR
160772015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
16078
16079 * gdb.ada/var_arr_typedef.exp: New testcase.
16080 * gdb.ada/var_arr_typedef/pack.adb: New file.
16081 * gdb.ada/var_arr_typedef/pack.ads: New file.
16082 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
16083
8b558f79
JB
160842015-07-20 Joel Brobecker <brobecker@adacore.com>
16085
16086 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
16087
775a3298
JK
160882015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16089
16090 * gdb.arch/i386-biarch-core.exp: Replace istarget
16091 by "complete set gnutarget". Remove expectation for the "core-file"
16092 command.
16093
db1ff28b
JK
160942015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16095
16096 Revert the previous commit:
16097 Tests for validate symbol file using build-id.
16098
0a94970d
JK
160992015-07-15 Aleksandar Ristovski <aristovski@qnx.com
16100
16101 Tests for validate symbol file using build-id.
16102 * gdb.base/solib-mismatch-lib.c: New file.
16103 * gdb.base/solib-mismatch-libmod.c: New file.
16104 * gdb.base/solib-mismatch.c: New file.
16105 * gdb.base/solib-mismatch.exp: New file.
16106
03346981
SL
161072015-07-15 Sandra Loosemore <sandra@codesourcery.com>
16108
16109 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
16110 nios2-*-linux*.
16111 * gdb.base/sigbpt.exp (stepi_out): Likewise.
16112 * gdb.base/siginfo.exp: Likewise.
16113 * gdb.base/sigstep.exp (advance, advancei): Likewise.
16114
42422cc7
PL
161152015-07-15 Pierre Langlois <pierre.langlois@arm.com>
16116
16117 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
16118 Move it to ...
16119 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
16120 ... here.
16121 * gdb.trace/range-stepping.exp: Check that the target supports
16122 range stepping.
16123
cfa68bae
JK
161242015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16125
16126 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
16127
8ffdba26
PA
161282015-07-14 Pedro Alves <palves@redhat.com>
16129
16130 * gdb.base/killed-outside.exp: New file.
16131 * gdb.base/killed-outside.c: New file.
16132
218a5a11
JK
161332015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16134
16135 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
16136 (n at main): New.
16137 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
16138
e03ed3c6
AA
161392015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16140
16141 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
16142 infcall tests instead of setting up for KFAIL.
16143
485668e5
MM
161442015-07-10 Markus Metzger <markus.t.metzger@intel.com>
16145
16146 * gdb.btrace/record_goto-step.exp: New.
16147
08464196
JK
161482015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16149
16150 PR compile/18484
16151 * gdb.compile/compile.c (struct struct_type): Add volatile to
16152 selffield's type.
16153 * gdb.compile/compile.exp
16154 (compile code struct_object.selffield = &struct_object): Skip further
16155 struct_object tests if this one xfails.
16156
bcf5c1d9
RC
161572015-07-08 Robert O'Callahan <robert@ocallahan.org>
16158
16159 PR exp/18617
16160 * gdb.trace/ax.exp: Add test.
16161
4931af25
YQ
161622015-07-07 Yao Qi <yao.qi@linaro.org>
16163
16164 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
16165 instead of istarget "aarch64*-*-*".
16166 * gdb.arch/aarch64-fp.exp: Likewise.
16167 * gdb.base/float.exp: Likewise.
16168 * gdb.reverse/aarch64.exp: Likewise.
16169 * lib/gdb.exp (is_aarch64_target): New proc.
16170
9fcf688e
YQ
161712015-07-07 Yao Qi <yao.qi@linaro.org>
16172
16173 * lib/gdb.exp (is_aarch32_target): New proc.
16174 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
16175 instead of "istarget "arm*-*-*"".
16176 * gdb.arch/arm-disp-step.exp: Likewise.
16177 * gdb.arch/thumb-bx-pc.exp: Likewise.
16178 * gdb.arch/thumb-prologue.exp: Likewise.
16179 * gdb.arch/thumb-singlestep.exp: Likewise.
16180 * gdb.base/disp-step-syscall.exp: Likewise.
16181 * gdb.base/float.exp: Likewise.
16182
fbd8d50d
YQ
161832015-07-07 Yao Qi <yao.qi@linaro.org>
16184
16185 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
16186 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
16187
71be1fdc
YQ
161882015-07-07 Yao Qi <yao.qi@linaro.org>
16189
16190 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
16191 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
16192 if it exists.
16193 * gdb.multi/multi-arch.exp: Likewise.
16194
3e221d36
SM
161952015-07-07 Simon Marchi <simon.marchi@ericsson.com>
16196
16197 * gdb.python/py-lazy-string.exp: Add missing parentheses to
16198 print.
16199
d441430b
YQ
162002015-07-07 Yao Qi <yao.qi@linaro.org>
16201
16202 * gdb.arch/thumb-singlestep.exp: Do one more single step.
16203
06f810bd
MG
162042015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
16205
16206 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
16207 '[' and ']' characters.
16208
5e61e7c0
IB
162092015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
16210
16211 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16212
28bf096c
PA
162132015-06-29 Pedro Alves <palves@redhat.com>
16214
16215 PR threads/18127
16216 * gdb.threads/hand-call-new-thread.c: New file.
16217 * gdb.threads/hand-call-new-thread.c: New file.
16218
ee93cd5e
KS
162192015-06-26 Keith Seitz <keiths@redhat.com>
16220 Doug Evans <dje@google.com>
16221
16222 PR 16253
16223 * gdb.cp/var-tag-2.cc: New file.
16224 * gdb.cp/var-tag-3.cc: New file.
16225 * gdb.cp/var-tag-4.cc: New file.
16226 * gdb.cp/var-tag.cc: New file.
16227 * gdb.cp/var-tag.exp: New file.
16228
fc637f04
PP
162292015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16230
16231 * gdb.base/history-duplicates.exp: New test.
16232
2e52ae68
PP
162332015-06-26 Patrick Palka <patrick@parcs.ath.cx>
16234
16235 * gdb.base/completion.exp: Test the completion of the "focus"
16236 command.
16237
6e22494e
JK
162382015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16239
16240 * gdb.arch/amd64-prologue-skip.S: New file.
16241 * gdb.arch/amd64-prologue-skip.exp: New file.
16242
bf7b9cd9
SM
162432015-06-25 Simon Marchi <simon.marchi@ericsson.com>
16244
16245 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
16246 is_address_zero_readable check.
16247
201e8dfd
PB
162482015-06-24 Peter Bergner <bergner@vnet.ibm.com>
16249
16250 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
16251 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
16252
5cd867b4
YQ
162532015-06-24 Yao Qi <yao.qi@linaro.org>
16254
16255 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
16256 linux targets.
16257
4d7be007
YQ
162582015-06-24 Yao Qi <yao.qi@linaro.org>
16259
16260 * lib/gdb.exp (supports_get_siginfo_type): New proc.
16261 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
16262 * gdb.base/siginfo-thread.exp: Likewise.
16263
07fcd301
YQ
162642015-06-22 Yao Qi <yao.qi@linaro.org>
16265
16266 * boards/remote-gdbserver-on-localhost.exp: Add comments.
16267
52042a00
YQ
162682015-06-22 Yao Qi <yao.qi@linaro.org>
16269
16270 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
16271 aarch64*-*-*.
16272 (skip_hw_watchpoint_tests): Likewise.
16273
74bd41ce
PP
162742015-06-18 Patrick Palka <patrick@parcs.ath.cx>
16275
16276 * gdb.base/gdbinit-history.exp: Test the interaction between
16277 setting GDBHISTSIZE and setting the history size via .gdbinit.
16278
bc460514
PP
162792015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16280
16281 PR gdb/16999
16282 * gdb.base/gdbhistsize-history.exp: New test.
16283
b58c513b
PP
162842015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16285
16286 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
16287 with GDBHISTSIZE.
16288 * gdb.base/readline.exp: Likewise.
16289
92046791
YQ
162902015-06-17 Yao Qi <yao.qi@linaro.org>
16291
16292 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
16293 line.
16294
2093d2d3
PP
162952015-06-17 Patrick Palka <patrick@parcs.ath.cx>
16296
16297 * gdb.base/gdbinit-history.exp: Add test case to check that
16298 an unlimited history file does not get truncated on exit.
16299
e6c693af
AA
163002015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16301
16302 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
16303 (VECTOR): New macro. Use it...
16304 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
16305 ...for these typedefs.
16306 (int8, char1, int1, double1): New typedefs.
16307 (struct just_int2, struct two_int2): New structures.
16308 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
16309 (add_structvecs, add_singlevecs): New functions.
16310 (main): Call add_some_intvecs twice.
16311 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
16312 the compile and exit upon failure. Try compiling for the "native"
16313 architecture. Test inferior function calls with vector arguments
16314 and vector return value handling with "finish" and "return".
16315
c74f7d1c
JT
163162015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
16317
16318 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
16319 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
16320 PE file.
16321 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
16322
98aa42ee
AT
163232015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16324
16325 PR breakpoints/16465
16326 * gdb.mi/mi-dprintf-pending.c: New file.
16327 * gdb.mi/mi-dprintf-pending.exp: New test.
16328 * gdb.mi/mi-dprintf-pendshr.c: New file.
16329
7d73c23c 163302015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 16331 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
16332
16333 * gdb.arch/i386-mpx-map.c: New file.
16334 * gdb.arch/i386-mpx-map.exp: New File.
16335
163362015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16337
16338 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
16339 * gdb.arch/i386-mpx.exp: Indentation fixed.
16340
163412015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16342
16343 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
16344 function and improved indentation.
16345 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
16346 gdb_test_multiple. Added additional tests to skip the test.
16347
163482015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
16349
16350 * gdb.arch/i386-avx512.c: Change path in include file.
16351 * gdb.arch/i386-avx512.exp: Change include dir path
16352 compilation flag.
16353 * gdb.arch/i386-mpx.c: Change path in include file.
16354 * gdb.arch/i386-mpx.exp: Change include dir path compilation
16355 flag.
16356
d5eba19a
JK
163572015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
16358
16359 * gdb.compile/compile-print.exp (compile print *vararray@3)
16360 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
16361
7f361056
JK
163622015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16363
16364 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
16365 (do not keep jit in memory): ... this.
16366 (expect 5): Change it to ...
16367 (expect no 5): ... this.
16368
3b462ec2
SM
163692015-06-02 Simon Marchi <simon.marchi@ericsson.com>
16370
16371 PR gdb/15564
16372 * gdb.mi/mi-detach.exp: New file.
16373
e0619de6
JK
163742015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16375
16376 PR symtab/18392
16377 * gdb.arch/amd64-tailcall-self.S: New file.
16378 * gdb.arch/amd64-tailcall-self.c: New file.
16379 * gdb.arch/amd64-tailcall-self.exp: New file.
16380
e970cb34
DB
163812015-05-28 Don Breazeal <donb@codesourcery.com>
16382
16383 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
16384 tests for remote targets by checking is_target_gdbserver.
16385
b2e2f908
DE
163862015-05-27 Doug Evans <dje@google.com>
16387
16388 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
16389 * gdb.dwarf2/opaque-type-lookup.c: New file.
16390 * gdb.dwarf2/opaque-type-lookup.exp: New file.
16391
82c7be31
DE
163922015-05-26 Doug Evans <dje@google.com>
16393
16394 * gdb.cp/iostream.cc: New file.
16395 * gdb.cp/iostream.exp: New file.
16396
b4f54984
DE
163972015-05-26 Doug Evans <dje@google.com>
16398
16399 * gdb.dwarf2/dw2-op-call.exp: Update.
16400 * gdb.dwarf2/dw4-sig-types.exp: Update.
16401 * gdb.dwarf2/implptr.exp: Update.
16402 * gdb.mi/mi-cmd-param-changed.exp: Update.
16403
4ea6efe9
DE
164042015-05-26 Doug Evans <dje@google.com>
16405
16406 * gdb.python/py-lazy-string.c: New file.
16407 * gdb.python/py-lazy-string.exp: New file.
16408 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
16409 (main): Update. Add estring3.
16410 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
16411 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
16412
f6bb7db3
YQ
164132015-05-26 Omair Javaid <omair.javaid@linaro.org>
16414 Yao Qi <yao.qi@linaro.org>
16415
16416 * gdb.reverse/aarch64.c: New.
16417 * gdb.reverse/aarch64.exp: New.
16418
a81bfbd0
OJ
164192015-05-26 Omair Javaid <omair.javaid@linaro.org>
16420
25d49b86
PA
16421 * lib/gdb.exp (supports_process_record): Return true for
16422 aarch64*-linux*.
a81bfbd0
OJ
16423 (supports_reverse): Likewise.
16424
158bf1b4
PP
164252015-05-22 Patrick Palka <patrick@parcs.ath.cx>
16426
16427 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16428 Use with_test_prefix.
16429
a0145030
AB
164302015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
16431
16432 * gdb.base/completion.exp: Add test for completion of layout
16433 names.
16434
ebe3b578
AB
164352015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
16436
16437 * lib/gdb.exp (skip_tui_tests): New proc.
16438 * gdb.base/tui-layout.exp: Check skip_tui_tests.
16439
84204ed7
PA
164402015-05-19 Pedro Alves <palves@redhat.com>
16441
16442 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16443 Save the whole env array instead of just HOME. Unset HISTSIZE in
16444 the environment while testing. Restore whole environment
16445 afterwards.
16446
37442ce1
DE
164472015-05-16 Doug Evans <xdje42@gmail.com>
16448
16449 * gdb.guile/scm-ports.c: New file.
16450 * gdb.guile/scm-ports.exp: Add memory port tests.
16451
36de76f9
JK
164522015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16453
16454 * gdb.compile/compile-print.c: New file.
16455 * gdb.compile/compile-print.exp: New file.
16456
3a9558c4
JK
164572015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16458
16459 * gdb.compile/compile-ops.exp: Cast param to void.
16460 * gdb.compile/compile.exp: Complete type for _gdb_expr.
16461 (compile code struct_object.selffield = &struct_object): Add xfail.
16462
aa715135
JG
164632015-05-15 Joel Brobecker <brobecker@adacore.com>
16464
16465 * gdb.ada/arr_enum_with_gap: New testcase.
16466
931e5bc3
JG
164672015-05-15 Joel Brobecker <brobecker@adacore.com>
16468
16469 * gdb.ada/byte_packed_arr: New testcase.
16470
9cd4d857
JB
164712015-05-15 Joel Brobecker <brobecker@adacore.com>
16472
16473 * gdb.ada/pckd_neg: New testcase.
16474
ebfd00d2
PP
164752015-05-13 Patrick Palka <patrick@parcs.ath.cx>
16476
16477 PR gdb/17820
16478 * gdb.base/gdbinit-history.exp: New test.
16479 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
16480 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
16481
4c082a81
SC
164822015-05-09 Siva Chandra Reddy <sivachandra@google.com>
16483
16484 * gdb.python/py-xmethods.cc: Enhance test case.
16485 * gdb.python/py-xmethods.exp: New tests.
16486 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
16487 function.
16488 (B_indexoper): Likewise.
16489 (global_dm_list) : Add new xmethod worker functions.
16490
f7797074
SDJ
164912015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
16492
16493 * gdb.base/coredump-filter.exp: Correctly unset
16494 "coredump_var_addr" array.
16495
a4674e4e
PA
164962015-05-08 Pedro Alves <palves@redhat.com>
16497
16498 * gdb.server/non-existing-program.exp: Unset spawn_id.
16499
df2eb078
SC
165002015-05-08 Siva Chandra Reddy <sivachandra@google.com>
16501
16502 PR python/18291
16503 * gdb.python/py-xmethods.exp: Add tests.
16504
422349a3
YQ
165052015-05-08 Yao Qi <yao.qi@linaro.org>
16506
16507 PR gdb/18208
16508 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
16509 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
16510 function set_coredump_filter, and remove remote_exec call.
16511 Remove argument ipid. Callers update.
16512 (top level): Don't get inferior's PID.
16513
63fc80ce
AA
165142015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
16515
16516 * gdb.base/watch_thread_num.exp: Skip test on targets without
16517 access watchpoints.
16518
80ad801e
PA
165192015-05-06 Pedro Alves <palves@redhat.com>
16520
16521 PR server/18081
16522 * gdb.server/non-existing-program.exp: New file.
16523
0fa7fe50
JB
165242015-05-05 Joel Brobecker <brobecker@adacore.com>
16525
16526 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
16527
3ea89b92
PMR
165282015-05-05 Joel Brobecker <brobecker@adacore.com>
16529
16530 * gdb.ada/out_of_line_in_inlined: New testcase.
16531
87b8eff0
JB
165322015-05-05 Joel Brobecker <brobecker@adacore.com>
16533
16534 * gdb.ada/var_rec_arr: New testcase.
16535
5fccc635
YQ
165362015-04-30 Yao Qi <yao.qi@linaro.org>
16537
16538 * gdb.base/break-idempotent.exp: If
16539 skip_hw_watchpoint_multi_tests returns true, skip the tests
16540 on "rwatch" and "awatch".
16541
42d38f42
YQ
165422015-04-30 Yao Qi <yao.qi@linaro.org>
16543
16544 * gdb.base/relativedebug.exp: Invoke gdb command
16545 "info sharedlibrary", and if libc.so doesn't have debug info,
16546 skip the test.
16547
2ce1cdbf
DE
165482015-04-29 Doug Evans <dje@google.com>
16549
16550 * gdb.python/py-xmethods.exp: Add ptype tests.
16551 * gdb.python/py-xmethods.py (E_method_char_worker): Add
16552 get_result_type method.
16553
f24a38c5
LM
165542015-04-29 Luis Machado <lgustavo@codesourcery.com>
16555
16556 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
16557 the target does not support hardware watchpoints.
16558
ecbf2b3c
LM
165592015-04-29 Luis Machado <lgustavo@codesourcery.com>
16560
16561 * gdb.base/break-always.exp: Abort testing if writing to memory
16562 causes an error.
16563
34f5f757
DE
165642015-04-28 Doug Evans <dje@google.com>
16565
16566 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
16567 * gdb.python/py-pp-registration.exp: ... here. New file.
16568 * gdb.python/py-pp-registration.c: New file.
16569 * gdb.python/py-pp-registration.py: New file.
16570
69b4374a
DE
165712015-04-28 Doug Evans <dje@google.com>
16572
16573 * gdb.python/py-bad-printers.c: New file.
16574 * gdb.python/py-bad-printers.py: New file.
16575 * gdb.python/py-bad-printers.exp: New file.
16576
59fb7612
SS
165772015-04-28 Sasha Smundak <asmundak@google.com>
16578
16579 * gdb.python/py-type.exp: New test.
16580
2631b16a
AW
165812015-04-28 Andy Wingo <wingo@igalia.com>
16582
16583 * gdb.python/py-parameter.exp:
16584 * gdb.guile/scm-parameter.exp: Escape the path that we are
16585 matching against, as it might contain characters that are special
16586 to regular expressions.
16587
460efde1
JB
165882015-04-27 Joel Brobecker <brobecker@adacore.com>
16589
16590 * gdb.ada/rec_comp: New testcase.
16591
2d369d8e
SDJ
165922015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
16593
16594 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
16595 before using it.
16596
cf75d6c3
AB
165972015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
16598
16599 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
16600 new tests for verilog output.
16601
8dbe7ca5
YQ
166022015-04-24 Yao Qi <yao.qi@linaro.org>
16603
16604 * boards/remote-gdbserver-on-localhost.exp: New file.
16605
4ef9fb2f
PA
166062015-04-23 Pedro Alves <palves@redhat.com>
16607
16608 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
16609 $inferior_spawn_id instead of $inferior_spawn_id directly. On
16610 "end of file", remove $inferior_spawn_id from the indirect list.
16611
0a803169
PA
166122015-04-23 Pedro Alves <palves@redhat.com>
16613
16614 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
16615
749ef8f8
PA
166162015-04-23 Pedro Alves <palves@redhat.com>
16617
16618 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
16619 on $any_spawn_id instead of only on $gdb_spawn_id.
16620
8aae4344
PM
166212015-04-21 Pierre Muller <muller@sourceware.org>
16622
16623 PR pascal/17815
16624 * lib/pascal.exp (gpc_compile): Add new option "class".
16625 (fpc_compile): Likewise.
16626 * gdb.pascal/case-insensitive-symbols.pas: New file.
16627 * gdb.pascal/case-insensitive-symbols.exp: New file.
16628
1586c8fb
GB
166292015-04-20 Gary Benson <gbenson@redhat.com>
16630
16631 * gdb.base/attach.exp: Fix three extended remote failures.
16632
1b6e6f5c
GB
166332015-04-17 Gary Benson <gbenson@redhat.com>
16634
16635 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
16636 the main executable over the remote protocol.
16637
e797481d
PA
166382015-04-16 Pedro Alves <palves@redhat.com>
16639
16640 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
16641 a new gdbserver if gdbserver_reconnect_p is set.
16642
1ca99c42
PA
166432015-04-16 Pedro Alves <palves@redhat.com>
16644
16645 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
16646 is set, don't exit gdbserver.
16647
af9fd6f8
AA
166482015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16649
16650 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
16651 appropriate .insn, such that an older assembler can be used.
16652 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
16653 the z/Architecture instruction set on 31-bit targets as well.
16654
04ff1e61
AA
166552015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
16656
16657 * gdb.go/handcall.exp: Remove all logic related to the first
16658 breakpoint and rely on go_runto_main instead.
16659 * gdb.go/strings.exp: Likewise.
16660 * gdb.go/unsafe.exp: Likewise.
16661 * gdb.go/hello.exp: Likewise. Also rename the remaining
16662 breakpoint marker to "breakpoint 1".
16663 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
16664 * gdb.go/strings.go: Likewise.
16665 * gdb.go/unsafe.go: Likewise.
16666 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
16667 "set breakpoint 2 here" and rename the remaining breakpoint marker
16668 to "breakpoint 1".
16669
40d2f8d6
SM
166702015-04-15 Simon Marchi <simon.marchi@ericsson.com>
16671
16672 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
16673 if itertools.imap is not present.
16674 * gdb.python/py-objfile.exp: Add parentheses.
16675 * gdb.python/py-type.exp: Same.
16676 * gdb.python/py-unwind-maint.py: Same.
16677
8cbc97c6
YQ
166782015-04-15 Yao Qi <yao.qi@linaro.org>
16679
16680 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
16681 of ":$ptr_size" and set its form explicitly.
16682
45fd756c
YQ
166832015-04-15 Pedro Alves <palves@redhat.com>
16684 Yao Qi <yao.qi@linaro.org>
16685
16686 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
16687 timeout by factor of 4.
16688 (test_regular_watch): Likewise.
16689 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
16690 * gdb.reverse/sigall-reverse.exp: Likewise.
16691 * gdb.reverse/until-precsave.exp: Likewise.
16692 * lib/gdb.exp (with_timeout_factor): New proc.
16693 (gdb_expect): Move some code to ...
16694 (get_largest_timeout): ... here. New procedure.
16695
9e811bc3
LM
166962015-04-14 Luis Machado <lgustavo@codesourcery.com>
16697
16698 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
16699
0ff6fcb2
LM
167002015-04-13 Luis Machado <lgustavo@codesourcery.com>
16701
16702 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
16703 to write to the .text section.
16704
7578d5f7
LM
167052015-04-13 Luis Machado <lgustavo@codesourcery.com>
16706
16707 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
16708 Handle the case of targets that do not provide PID information.
16709
2efe15c4
YQ
167102015-04-13 Yao Qi <yao.qi@linaro.org>
16711
16712 * lib/gdbserver-support.exp (gdb_exit): Catch exception
16713 and use expect instead of gdb_expect.
16714
8cd8f2f8
SDJ
167152015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
16716
16717 * gdb.base/coredump-filter.exp: Rename variable "addr" to
16718 "coredump_var_addr" to avoid naming conflict with other testcases.
16719
9ee41772
PA
167202015-04-10 Pedro Alves <palves@redhat.com>
16721
16722 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
16723 gdb_test_sequence and gdb_assert.
16724
07473109
PA
167252015-04-10 Pedro Alves <palves@redhat.com>
16726
16727 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
16728 test messages that don't include the breakpoint address.
16729
de3db44c
YQ
167302015-04-10 Yao Qi <yao.qi@linaro.org>
16731
16732 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
16733 false for some offset and width combinations which aren't
16734 supported by linux kernel.
16735
c79d856c
PA
167362015-04-10 Pedro Alves <palves@redhat.com>
16737
16738 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
16739 procedure, factored out from ...
16740 (top level): ... here. Add "set displaced-stepping" testing axis.
16741 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
16742 parameter "displaced". Use it.
16743 (top level): Use foreach and add "set displaced-stepping" testing
16744 axis.
16745
ebc90b50
PA
167462015-04-10 Pedro Alves <palves@redhat.com>
16747
16748 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
16749 Remove comment.
16750 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
16751 both the address of the instruction that triggers the watchpoint
16752 and the address of the instruction immediately after, and use
16753 those addresses for the test. Fix comment.
16754
8f572e5c
PA
167552015-04-10 Pedro Alves <palves@redhat.com>
16756
16757 * gdb.base/sigstep.exp (breakpoint_to_handler)
16758 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
16759 Test "backtrace" in handler.
16760 (breakpoint_over_handler): New parameter 'displaced'. Use it.
16761 (top level): Add new "displaced" test axis to
16762 breakpoint_to_handler, breakpoint_to_handler_entry and
16763 breakpoint_over_handler.
16764
8d707a12
PA
167652015-04-10 Pedro Alves <palves@redhat.com>
16766
16767 PR gdb/18216
16768 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
16769
ef713951
YQ
167702015-04-10 Yao Qi <yao.qi@linaro.org>
16771
16772 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
16773 (test_add_rn_pc): New function.
16774 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
16775 (top level): Invoke test_add_rn_pc.
16776
906d60cf
PA
167772015-04-10 Pedro Alves <palves@redhat.com>
16778
16779 PR gdb/13858
16780 * gdb.base/step-over-no-symbols.exp: New file.
16781
f2983cc3
AW
167822015-04-09 Andy Wingo <wingo@igalia.com>
16783
16784 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
16785 after the Python tests.
16786
6d62641c
SDJ
167872015-04-08 Keith Seitz <keiths@redhat.com>
16788
16789 PR python/16699
16790 * gdb.python/py-completion.exp: New tests for completion.
16791 * gdb.python/py-completion.py (CompleteLimit1): New class.
16792 (CompleteLimit2): Likewise.
16793 (CompleteLimit3): Likewise.
16794 (CompleteLimit4): Likewise.
16795 (CompleteLimit5): Likewise.
16796 (CompleteLimit6): Likewise.
16797 (CompleteLimit7): Likewise.
16798
f3770638
PA
167992015-04-08 Pedro Alves <palves@redhat.com>
16800
16801 PR gdb/18214
16802 PR gdb/18216
16803 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
16804 function.
16805 (main): Install it as SIGUSR1 handler.
16806 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
16807 parameter. Always use "setup" as prefix. Toggle "set
16808 displaced-stepping" off/on depending on global. Don't switch to
16809 thread 1 here.
16810 (top level): Add displaced stepping "off/on" test axis. Update
16811 "setup" calls. Wrap each subtest with with_test_prefix. Test
16812 continuing with a queued signal in each thread.
16813
4496bed7
PA
168142015-04-08 Pedro Alves <palves@redhat.com>
16815
16816 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
16817 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
16818 gdb_breakpoint instead of gdb_test that doesn't expect anything.
16819 Return early if running to main fails.
16820 * gdb.trace/while-stepping.exp: Likewise.
16821
b97fde92
PA
168222015-04-07 Pedro Alves <palves@redhat.com>
16823
16824 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
16825 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
16826 interact with inferior program.
16827
f71c18e7
PA
168282015-04-07 Pedro Alves <palves@redhat.com>
16829
16830 * lib/gdb.exp (inferior_spawn_id): New global.
16831 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
16832 spawn id after processing the user code.
16833 (default_gdb_start): Set inferior_spawn_id.
16834 (send_inferior): New procedure.
16835 * lib/gdbserver-support.exp (gdbserver_start): Set
16836 inferior_spawn_id.
16837 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
16838
6423214f
PA
168392015-04-07 Pedro Alves <palves@redhat.com>
16840
16841 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
16842 * lib/gdbserver-support.exp (gdbserver_start): Make
16843 $server_spawn_id global.
16844 (gdbserver_start): Don't wait for gdbserver's spawn id with
16845 expect_background.
16846 (close_gdbserver): New procedure.
16847 (gdb_exit): Rename the default version and reimplement.
16848
71c0ee8c
PA
168492015-04-07 Pedro Alves <palves@redhat.com>
16850
72f4393d 16851 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
16852 append the substituted item, not the original item.
16853
203bc29b
PA
168542015-04-07 Pedro Alves <palves@redhat.com>
16855
16856 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
16857 gdb_expect.
16858
508a3ddf
PA
168592015-04-07 Pedro Alves <palves@redhat.com>
16860
16861 * gdb.base/interrupt.exp: Don't handle the case of the inferior
16862 output appearing once only.
16863
9f6dbe2b
PA
168642015-04-07 Pedro Alves <palves@redhat.com>
16865
16866 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
16867 that doesn't expect anything. Return early if running to main
16868 fails.
16869
337532fa
YQ
168702015-04-07 Yao Qi <yao.qi@linaro.org>
16871
16872 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
16873 (child_function): Call alarm.
16874 (main): Move call to alarm into the loop.
16875 * gdb.threads/non-stop-fair-events.exp: Build program with
16876 -DTIMEOUT=$timeout.
16877
01b622d4
DE
168782015-04-06 Doug Evans <xdje42@gmail.com>
16879
16880 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
16881 Fix dest parameter to board_info.
16882 (fpc_compile): Ditto.
16883 (gdb_compile_pascal): Rename dest arg to destfile.
16884
961f4160
PMR
168852015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
16886
16887 * gdb.ada/funcall_ref.exp: New file.
16888 * gdb.ada/funcall_ref/foo.adb: New file.
16889
cafda597
YQ
168902015-04-02 Yao Qi <yao.qi@linaro.org>
16891
16892 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
16893 is remote.
16894
fed040c6
GB
168952015-04-02 Gary Benson <gbenson@redhat.com>
16896
16897 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
16898
d11916aa
SS
168992015-04-01 Sasha Smundak <asmundak@google.com>
16900
16901 * gdb.python/py-unwind-maint.c: New file.
16902 * gdb.python/py-unwind-maint.exp: New test.
16903 * gdb.python/py-unwind-maint.py: New file.
16904 * gdb.python/py-unwind.c: New file.
16905 * gdb.python/py-unwind.exp: New test.
16906 * gdb.python/py-unwind.py: New test.
16907
a1471180
PA
169082015-04-01 Pedro Alves <palves@redhat.com>
16909
16910 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
16911 to fail instead of non-existent $test.
16912
0bbeccb1
PA
169132015-04-01 Pedro Alves <palves@redhat.com>
16914
16915 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
16916 GDBFLAGS if not empty.
16917
3c724c8c
PMR
169182015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
16919
16920 * gdb.ada/complete.exp: Remove "multi_line".
16921 * gdb.ada/info_exc.exp: Remove "multi_line".
16922 * gdb.ada/packed_tagged.exp: Remove "multi_line".
16923 * gdb.ada/ptype_field.exp: Remove "multi_line".
16924 * gdb.ada/sym_print_name.exp: Remove "multi_line".
16925 * gdb.ada/tagged.exp: Remove "multi_line".
16926 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
16927 [multi_line ...]
16928 * gdb.btrace/delta.exp: Likewise.
16929 * gdb.btrace/exception.exp: Likewise.
16930 * gdb.btrace/function_call_history.exp: Likewise.
16931 * gdb.btrace/instruction_history.exp: Likewise.
16932 * gdb.btrace/nohist.exp: Likewise.
16933 * gdb.btrace/record_goto.exp: Likewise.
16934 * gdb.btrace/segv.exp: Likewise.
16935 * gdb.btrace/stepi.exp: Likewise.
16936 * gdb.btrace/tailcall.exp: Likewise.
16937 * gdb.btrace/unknown_functions.exp: Likewise.
16938 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
16939 * lib/gdb.exp: Add the "multi_line" helper.
16940
4eec2deb
PA
169412015-04-01 Pedro Alves <palves@redhat.com>
16942
16943 * gdb.threads/tid-reuse.c: New file.
16944 * gdb.threads/tid-reuse.exp: New file.
16945
df8411da
SDJ
169462015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
16947
16948 PR corefiles/16092
16949 * gdb.base/coredump-filter.c: New file.
16950 * gdb.base/coredump-filter.exp: Likewise.
16951
6ef37366
PM
169522015-03-27 Petr Machata <pmachata@redhat.com>
16953
16954 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
16955 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
16956 (Dwarf::assemble): Initialize them.
16957 (Dwarf::lines): New function.
16958
7ec911b0
JT
169592015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
16960
16961 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
16962 SYMBOL_PREFIX for x86_64-*-cygwin.
16963
ff908ebf
AW
169642015-03-26 Andy Wingo <wingo@igalia.com>
16965
16966 PR symtab/18148
16967 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
16968 const_value but not a location.
16969 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
16970 location defined in non-main CUs are visible.
16971
6d5f0679
YQ
169722015-03-26 Yao Qi <yao.qi@linaro.org>
16973
16974 PR testsuite/18139
16975 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
16976 Add a line number entry for the same line.
16977 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
16978 Add a line number entry for the same line.
16979
2898689b
YQ
169802015-03-26 Yao Qi <yao.qi@linaro.org>
16981
16982 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
16983 .int 0.
16984 (func): Likewise. Add .Lfunc_1 label.
16985 Use .Lfunc_1 label.
16986 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
16987 .int 0.
16988 (func): Likewise.
16989 Use .Lfunc_1 label.
16990
85180498
YQ
169912015-03-26 Yao Qi <yao.qi@linaro.org>
16992
16993 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
16994 Call gdb_compile instead to compile each .s files without debug
16995 information.
16996
8aa08a8d
YQ
169972015-03-26 Yao Qi <yao.qi@linaro.org>
16998
16999 * gdb.base/savedregs.exp (process_saved_regs): Make
17000 "Saved registers:" optional in the pattern.
17001
66849923
MM
170022015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17003
17004 * gdb.btrace/next.exp: Merged into step.exp.
17005 * gdb.btrace/finish.exp: Merged into step.exp.
17006 * gdb.btrace/nexti.exp: Merged into stepi.exp.
17007 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
17008 "record goto" and checking the exact replay position.
17009 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
17010 check for "Recording format" in "info record" output.
17011 * gdb.btrace/record_goto.exp: Choose test file based on target.
17012 * gdb.btrace/x86-record_goto.S: Renamed into ...
17013 * gdb.btrace/x86_64-record_goto.S: ... this.
17014 * gdb.btrace/i686-record_goto.S: New.
17015 * gdb.btrace/x86-tailcall.S: Renamed into ...
17016 * gdb.btrace/x86_64-tailcall.S: ... this.
17017 * gdb.btrace/i686-tailcall.S: New.
17018 * gdb.btrace/x86-tailcall.c: Renamed into ...
17019 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
17020 separate statements. Update test.
17021 * gdb.btrace/delta.exp: Use record_goto.c as test file.
17022 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
17023 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
17024 * gdb.btrace/tailcall.exp: Choose test file based on target.
17025 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
17026
11cc1b74
MM
170272015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17028
17029 * gdb.btrace/exception.exp: Increase BTS buffer size.
17030
a25d8bf9
PA
170312015-03-24 Pedro Alves <palves@redhat.com>
17032
17033 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
17034
856e7dd6
PA
170352015-03-24 Pedro Alves <palves@redhat.com>
17036
17037 * gdb.threads/schedlock.exp (test_step): No longer expect that
17038 "set scheduler-locking step" with "next" over a function call runs
17039 threads unlocked.
17040
ad235a41
AT
170412015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17042
17043 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
17044
15630549
AT
170452015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17046
17047 PR breakpoints/16466
17048 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
17049 * gdb.mi/mi-pending.c (thread_func): New function.
17050 (int main): Add threading support required.
17051 * gdb.mi/mi-pending.exp: Add tests for this issue.
17052 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
17053 (pendfunc2): Remove stdio dependency.
17054 * gdb.mi/mi-pendshr2.c: New file.
17055
693dca06
KS
170562015-03-23 Keith Seitz <keiths@redhat.com>
17057
17058 * gdb.linespec/keywords.c: New file.
17059 * gdb.linespec/keywords.exp: New file.
17060
7e993ebf
KS
170612015-03-23 Keith Seitz <keiths@redhat.com>
17062
17063 PR gdb/18021
17064 * gdb.dwarf2/staticvirtual.exp: New test.
17065
bc23328c
JK
170662015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17067
17068 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
17069 * README: Remove HP-UX and gdb.hp.
17070 (configuration):
17071 * configure: Regenerate.
17072 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
17073 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
17074 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
17075 gdb.hp/gdb.defects/Makefile.
17076 * gdb.hp/Makefile.in: File deleted.
17077 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
17078 * gdb.hp/gdb.aCC/optimize.c: File deleted.
17079 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
17080 * gdb.hp/gdb.aCC/run.c: File deleted.
17081 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
17082 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
17083 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
17084 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
17085 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
17086 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
17087 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
17088 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
17089 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
17090 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
17091 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
17092 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
17093 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
17094 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
17095 * gdb.hp/gdb.base-hp/reg.s: File deleted.
17096 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
17097 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
17098 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
17099 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
17100 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
17101 * gdb.hp/gdb.compat/Makefile.in: File deleted.
17102 * gdb.hp/gdb.compat/average.c: File deleted.
17103 * gdb.hp/gdb.compat/sum.c: File deleted.
17104 * gdb.hp/gdb.compat/xdb.c: File deleted.
17105 * gdb.hp/gdb.compat/xdb0.c: File deleted.
17106 * gdb.hp/gdb.compat/xdb0.h: File deleted.
17107 * gdb.hp/gdb.compat/xdb1.c: File deleted.
17108 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
17109 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
17110 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
17111 * gdb.hp/gdb.defects/Makefile.in: File deleted.
17112 * gdb.hp/gdb.defects/bs14602.c: File deleted.
17113 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
17114 * gdb.hp/gdb.defects/solib-d.c: File deleted.
17115 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
17116 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
17117 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
17118 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
17119 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
17120 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
17121 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
17122 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
17123 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
17124 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
17125 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
17126 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
17127 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
17128 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
17129 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
17130 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
17131 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
17132 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
17133 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
17134 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
17135 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
17136 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
17137 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
17138 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
17139 * gdb.hp/tools/odump: File deleted.
17140
8bf3b159
PA
171412015-03-19 Pedro Alves <palves@redhat.com>
17142
17143 * gdb.threads/continue-pending-status.exp (saw_thread_2)
17144 (saw_thread_3): New globals.
17145 (top level): Increment them when an event for the corresponding
17146 thread is seen.
17147 (no thread starvation): New test.
17148
eb54c8bf
PA
171492015-03-19 Pedro Alves <palves@redhat.com>
17150
17151 * gdb.threads/continue-pending-status.c: New file.
17152 * gdb.threads/continue-pending-status.exp: New file.
17153
32d2e5d6
PA
171542015-03-18 Pedro Alves <palves@redhat.com>
17155
17156 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
17157 Use gdb_is_target_remote instead of is_remote. Use
17158 gdb_test_multiple instead of gdb_expect. Exit early if
17159 gdb_test_multiple hits its internal matches. Tighten stepi tests
17160 expected output. Fail on exit with any signal, instead of just
17161 SIGILL.
17162
f68f11b7
YQ
171632015-03-18 Yao Qi <yao.qi@linaro.org>
17164
17165 PR tdep/18107
17166 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
17167 variable.
17168 * gdb.base/catch-syscall.exp: Don't skip it on
17169 aarch64*-*-linux* target. Remove elements in all_syscalls.
17170 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
17171 target.
17172 (setup_all_syscalls): New proc.
17173
ca5fd19b
YQ
171742015-03-16 Yao Qi <yao.qi@linaro.org>
17175
17176 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
17177 (top level): Skip tests if valid_addr_p returns false for
17178 $cmd1 or $cmd2.
17179
85642ba0
AW
171802015-03-11 Andy Wingo <wingo@igalia.com>
17181
17182 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
17183
e03f9645
YQ
171842015-03-11 Yao Qi <yao.qi@linaro.org>
17185
17186 * gdb.base/catch-syscall.exp: Fix typo in comments.
17187
5d0962b2
YQ
171882015-03-11 Yao Qi <yao.qi@linaro.org>
17189
17190 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
17191
b2df3cef
PA
171922015-03-09 Pedro Alves <palves@redhat.com>
17193
17194 * dg-extract-results.py: Delete.
17195
ef878e53
PA
171962015-03-09 Pedro Alves <palves@redhat.com>
17197
17198 Merge dg-extract-results.sh from GCC upstream (r218843).
17199
17200 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
17201 * dg-extract-results.sh: Use --text with grep to avoid issues with
17202 binary files. Fall back to cat -v, if that doesn't work.
17203
9494d219
PA
172042015-03-05 Pedro Alves <palves@redhat.com>
17205
17206 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
17207
a8d9763a
SM
172082015-03-04 Simon Marchi <simon.marchi@ericsson.com>
17209
17210 * lib/mi-support.exp (mi_expect_interrupt): Accept
17211 alternative event for when in all-stop mode.
17212
be9957b8
PA
172132015-03-04 Pedro Alves <palves@redhat.com>
17214
17215 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
17216
d57be0f4 172172015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
17218
17219 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
17220
c214c7cf
AA
172212015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17222
17223 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
17224 regexps for GDB's current line display, accept a hex address
17225 preceding the line number.
17226
6d74a497
AA
172272015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
17228
17229 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
17230 the 'arch1' variable for "s390*-linux*" targets.
17231
511aee7c
PA
172322015-03-04 Pedro Alves <palves@redhat.com>
17233
17234 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
17235 (main): Pass missing retval argument to pthread_join call.
17236
95e50b27
PA
172372015-03-02 Pedro Alves <palves@redhat.com>
17238
17239 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
17240 (top level): Call do_test with non-stop as well.
17241
28054d69
PA
172422015-03-02 Pedro Alves <palves@redhat.com>
17243
17244 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
17245 -1.
17246
4fa5d7b4
AA
172472015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17248
17249 * gdb.arch/s390-vregs.exp: New test.
17250 * gdb.arch/s390-vregs.S: New file.
17251
97c18565
PA
172522015-02-27 Pedro Alves <palves@redhat.com>
17253
17254 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
17255 call to catch_command_errors.
17256 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
17257 catch_command_errors.
17258
a37bfa30
PA
172592015-02-27 Pedro Alves <palves@redhat.com>
17260
17261 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
17262 "true" for boolean result.
17263 * gdb.gdb/selftest.exp (test_with_self): Also accept full
17264 prototype of main.
17265
6f98576f
PA
172662015-02-27 Pedro Alves <palves@redhat.com>
17267
17268 * lib/unbuffer_output.c: New file.
17269 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
17270 (main): Call gdb_unbuffer_output.
17271
eba5ab56
YQ
172722015-02-27 Yao Qi <yao.qi@linaro.org>
17273
17274 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
17275 target.
17276
0def5aaa
DE
172772015-02-26 Doug Evans <dje@google.com>
17278
17279 * gdb.cp/class2.cc (Dbase, D): New classes.
17280 (main): New local delta.
17281 * gdb.cp/class2.exp: Test printing delta.
17282 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
17283 (dynbar): New global.
17284 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
17285
081a1c2c
JK
172862015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17287
17288 * gdb.compile/compile-ifunc.c: New file.
17289 * gdb.compile/compile-ifunc.exp: New file.
17290
2f41223f
AT
172912015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
17292
17293 * gdb.base/structs.exp: Check for correct struct on finish.
17294
03eddd80
YQ
172952015-02-26 Yao Qi <yao.qi@linaro.org>
17296
17297 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
17298 is zero.
17299
80c57053
JK
173002015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17301
17302 * gdb.arch/cordic.ko.bz2: New file.
17303 * gdb.arch/cordic.ko.debug.bz2: New file.
17304 * gdb.arch/ppc64-symtab-cordic.exp: New file.
17305
21613c12
YQ
173062015-02-25 Yao Qi <yao.qi@linaro.org>
17307
17308 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
17309 aarch64*-*-* target.
17310
d8b901ed
PA
173112015-02-23 Pedro Alves <palves@redhat.com>
17312
17313 * lib/gdb.exp (delete_breakpoints): Rewrite using
17314 gdb_test_multiple.
17315
e5b85ead
PA
173162015-02-23 Pedro Alves <palves@redhat.com>
17317
17318 * gdb.base/info-os.c: Include stdlib.h.
17319
85c3a371
DE
173202015-02-22 Doug Evans <xdje42@gmail.com>
17321
17322 PR symtab/17855
17323 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
17324 is read after symbols have been re-read.
17325 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
17326 * gdb.ada/exec_changed/second.adb (Second): Ditto.
17327
96553a0c
DE
173282015-02-21 Doug Evans <dje@google.com>
17329
17330 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
17331
97a0c697
JK
173322015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17333
17334 PR corefiles/17808
17335 * gdb.arch/i386-biarch-core.core.bz2: New file.
17336 * gdb.arch/i386-biarch-core.exp: New file.
17337
a47cd6e9
PA
173382015-02-21 Pedro Alves <palves@redhat.com>
17339
17340 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
17341 runto_main fails.
17342
c5facdc4
PA
173432015-02-20 Pedro Alves <palves@redhat.com>
17344
17345 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
17346 info probes.
17347
2db9a427
PA
173482015-02-20 Pedro Alves <palves@redhat.com>
17349
17350 * gdb.threads/multi-create-ns-info-thr.exp: New file.
17351
60fb7e9e
PA
173522015-02-20 Pedro Alves <palves@redhat.com>
17353
17354 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
17355 clean_restart before gdb_target_supports_trace.
17356
5c5019c2
PA
173572015-02-20 Pedro Alves <palves@redhat.com>
17358
17359 PR threads/18006
17360 * gdb.threads/clone-thread_db.c: New file.
17361 * gdb.threads/clone-thread_db.exp: New file.
17362
c9587f88
AT
173632015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
17364
17365 PR breakpoints/16812
17366 * gdb.base/catch-gdb-caused-signals.c: New file.
17367 * gdb.base/catch-gdb-caused-signals.exp: New file.
17368
f6a88844
JM
173692015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
17370
17371 * configure: Regenerated.
17372 * configure.ac: Use GDB_AC_TRANSFORM.
17373 * aclocal.m4: sinclude ../transform.m4.
17374
497c491b
JM
173752015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17376
17377 * lib/dtrace.exp: New file.
17378 * gdb.base/dtrace-probe.exp: Likewise.
17379 * gdb.base/dtrace-probe.d: Likewise.
17380 * gdb.base/dtrace-probe.c: Likewise.
17381 * lib/pdtrace.in: Likewise.
17382 * configure.ac: Output variables with the transformed names of
17383 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
17384 * configure: Regenerated.
17385
03e98035
JM
173862015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17387
17388 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
17389 expected message when trying to access $_probe_* convenience
17390 variables while not on a probe.
17391
63cc30e9
JK
173922015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17393
17394 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
17395
0703599a
PA
173962015-02-11 Pedro Alves <pedro@codesourcery.com>
17397
17398 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
17399 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
17400
7e60a48e
DE
174012015-02-10 Doug Evans <xdje42@gmail.com>
17402
17403 * lib/gdb.exp (gdb_load): Always return a result.
17404
01b088bc
PA
174052015-02-10 Pedro Alves <palves@redhat.com>
17406
17407 * gdb.threads/signal-sigtrap.c: New file.
17408 * gdb.threads/signal-sigtrap.exp: New file.
17409
b05ec7a5
AT
174102015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
17411
17412 * gdb.trace/no-attach-trace.c: New file.
17413 * gdb.trace/no-attach-trace.exp: New file.
17414
a2c2acaf
MW
174152015-02-09 Mark Wielaard <mjw@redhat.com>
17416
17417 * gdb.dwarf2/atomic.c: New file.
17418 * gdb.dwarf2/atomic-type.exp: Likewise.
17419
31fd9caa
MM
174202015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17421
17422 * gdb.btrace/buffer-size.exp: Update "info record" output.
17423 * gdb.btrace/delta.exp: Update "info record" output.
17424 * gdb.btrace/enable.exp: Update "info record" output.
17425 * gdb.btrace/finish.exp: Update "info record" output.
17426 * gdb.btrace/instruction_history.exp: Update "info record" output.
17427 * gdb.btrace/next.exp: Update "info record" output.
17428 * gdb.btrace/nexti.exp: Update "info record" output.
17429 * gdb.btrace/step.exp: Update "info record" output.
17430 * gdb.btrace/stepi.exp: Update "info record" output.
17431 * gdb.btrace/nohist.exp: Update "info record" output.
17432
d33501a5
MM
174332015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17434
17435 * gdb.btrace/buffer-size: New.
17436
f4abbc16
MM
174372015-02-09 Markus Metzger <markus.t.metzger@intel.com>
17438
17439 * gdb.btrace/delta.exp: Update "info record" output.
17440 * gdb.btrace/enable.exp: Update "info record" output.
17441 * gdb.btrace/finish.exp: Update "info record" output.
17442 * gdb.btrace/instruction_history.exp: Update "info record" output.
17443 * gdb.btrace/next.exp: Update "info record" output.
17444 * gdb.btrace/nexti.exp: Update "info record" output.
17445 * gdb.btrace/step.exp: Update "info record" output.
17446 * gdb.btrace/stepi.exp: Update "info record" output.
17447 * gdb.btrace/nohist.exp: Update "info record" output.
17448
b9d61307
SM
174492015-02-06 Simon Marchi <simon.marchi@ericsson.com>
17450
17451 PR gdb/15678
17452 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
17453
e584fdbc
PA
174542015-02-06 Pedro Alves <palves@redhat.com>
17455
17456 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
17457 macro.
17458 (seconds_left, again): New globals.
17459 (main): Wait seconds_left in a 1-second sleep loop instead of
17460 sleeping 180 seconds. If 'again' is set, reset the seconds
17461 counter.
17462 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
17463 'again' in the inferior before detaching. Print the seconds left.
17464 (options): New global.
17465 (top level): Build program with -DTIMEOUT=$timeout.
17466
77f41761
PA
174672015-02-06 Pedro Alves <palves@redhat.com>
17468
17469 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
17470 determine how many seconds to pass to 'alarm'.
17471 * gdb.base/gdb-sigterm.exp (top level): Build program with
17472 -DTIMEOUT=$timeout.
17473 (do_test): Return success/failure indication. Add more verbose
17474 logging. Don't fail if 200 single steps are seen. Instead, fail
17475 when the test times out.
17476 (passes): New global.
17477 (top level): Break the testing loop if testing fails on any
17478 iteration. Use gdb_assert.
17479
b9394193
DB
174802015-02-04 Don Breazeal <donb@codesourcery.com>
17481
17482 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
17483 and initialize them.
17484 (ipc_cleanup): New function.
17485 (main): Don't declare shmid, semid, and msqid. Add a call to
17486 atexit so that we call ipc_cleanup on exit.
17487
42d9e528
PA
174882015-02-04 Pedro Alves <palves@redhat.com>
17489
17490 * boards/native-extended-gdbserver.exp: Remove any target variant
17491 specifications from the board name before clearing the isremote
17492 flag from board_info.
17493
ae6ae975
DE
174942015-01-31 Doug Evans <xdje42@gmail.com>
17495
17496 * gdb.base/maint.exp <maint print type argc>: Update expected output.
17497
cfb069a8
GB
174982015-01-31 Gary Benson <gbenson@redhat.com>
17499
17500 * gdb.base/completion.exp: Disable completion limiting for
17501 existing tests. Add new tests to check completion limiting.
17502 * gdb.linespec/ls-errs.exp: Disable completion limiting.
17503
5dd31d79
DE
175042015-01-31 Doug Evans <xdje42@gmail.com>
17505
17506 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
17507
9f050062
DE
175082015-01-31 Doug Evans <xdje42@gmail.com>
17509
17510 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
17511 entries. Duplicate file section script entries.
17512 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
17513 inlined entries. Add test for safe-path rejection.
17514 * gdb.python/py-section-script.c: Add duplicate inlined section script
17515 entries. Duplicate file section script entries.
17516 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
17517 inlined entries. Add test for safe-path rejection.
17518
df25ebbd
JB
175192015-01-29 Joel Brobecker <brobecker@adacore.com>
17520
17521 * gdb.ada/disc_arr_bound: New testcase.
17522
4a0ca9ec
JB
175232015-01-29 Joel Brobecker <brobecker@adacore.com>
17524
17525 * gdb.ada/mi_var_array: New testcase.
17526
3a8b707a
DE
175272015-01-27 Doug Evans <dje@google.com>
17528
17529 * gdb.python/py-objfile.exp: Add tests for objfile.username.
17530 Add test for objfile.filename, objfile.username after objfile
17531 has been unloaded.
17532
f8313f6e
JB
175332015-01-26 Joel Brobecker <brobecker@adacore.com>
17534
17535 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
17536 the second test to print the name attribute of value
17537 returned by the call to gdb.lookup_type, and adjust
17538 the expected output accordingly.
17539
37bc665e
MW
175402015-01-25 Mark Wielaard <mjw@redhat.com>
17541
17542 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
17543 * gdb.base/disp-step-fork.c: Include unistd.h.
17544 * gdb.base/siginfo-obj.c: Include stdio.h.
17545 * gdb.base/siginfo-thread.c: Likewise.
17546 * gdb.mi/non-stop.c: Include unistd.h.
17547 * gdb.mi/nsthrexec.c: Include stdio.h.
17548 * gdb.mi/pthreads.c: Include unistd.h.
17549 * gdb.modula2/unbounded1.c (main): Declare returns int.
17550 * gdb.reverse/consecutive-reverse.c: Likewise.
17551 * gdb.threads/create-fail.c: Include unistd.h.
17552 * gdb.threads/killed.c: Likewise.
17553 * gdb.threads/linux-dp.c: Likewise.
17554 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
17555 * gdb.threads/non-ldr-exc-2.c: Likewise.
17556 * gdb.threads/non-ldr-exc-3.c: Likewise.
17557 * gdb.threads/non-ldr-exc-4.c: Likewise.
17558 * gdb.threads/pthreads.c: Include unistd.h.
17559 (main): Declare returns int.
17560 * gdb.threads/tls-main.c (foo): New declaration.
17561 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
17562
f7e5394d
SM
175632015-01-23 Simon Marchi <simon.marchi@ericsson.com>
17564
17565 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
17566 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
17567
743649fd
MW
175682015-01-15 Mark Wielaard <mjw@redhat.com>
17569
17570 * gdb.base/noreturn-return.c: New file.
17571 * gdb.base/noreturn-return.exp: New file.
17572 * gdb.base/noreturn-finish.c: New file.
17573 * gdb.base/noreturn-finish.exp: New file.
17574
198297aa
PA
175752015-01-23 Pedro Alves <palves@redhat.com>
17576
17577 * gdb.threads/continue-pending-after-query.c: New file.
17578 * gdb.threads/continue-pending-after-query.exp: New file.
17579
717cf30c
AG
175802015-01-22 Anders Granlund <anders.granlund@ericsson.com>
17581 Simon Marchi <simon.marchi@ericsson.com>
17582
17583 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
17584 * gdb.base/valgrind-db-attach.exp: Same.
17585 * gdb.base/valgrind-infcall.exp: Same.
17586 * lib/mi-support.exp (default_mi_gdb_start): Same.
17587 * lib/prompt.exp (default_prompt_gdb_start): Same.
17588 * lib/gdb.exp (default_gdb_spawn): Same.
17589 (gdb_interact): New.
17590
17591
4b62a76e
JK
175922015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17593
17594 * gdb.compile/compile.exp (pointer to jit function): New test.
17595
b4cdae6f
WW
175962015-01-17 Wei-cheng Wang <cole945@gmail.com>
17597
17598 * lib/gdb.exp (supports_process_record): Return true for
17599 powerpc*-*-linux*.
17600 (supports_reverse): Likewise.
17601
d221e7ef
DB
176022015-01-15 Don Breazeal <donb@codesourcery.com>
17603
17604 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
17605 instead of checking whether the target board is remote and
17606 use spawn_wait_for_attach instead of exec/sleep.
17607 * gdb.base/attach-twice.exp: Likewise.
17608
bafffb51
JB
176092015-01-15 Joel Brobecker <brobecker@adacore.com>
17610
17611 * gdb.ada/var_arr_attrs: New testcase.
17612
5589af0e
PA
176132015-01-14 Pedro Alves <palves@redhat.com>
17614 Joel Brobecker <brobecker@adacore.com>
17615
17616 PR gdb/17525
17617 * gdb.base/bp-cmds-execution-x-script.c: New file.
17618 * gdb.base/bp-cmds-execution-x-script.exp: New file.
17619 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
17620
6c400b59
PA
176212015-01-14 Pedro Alves <palves@redhat.com>
17622
17623 PR cli/17828
17624 * gdb.base/batch-preserve-term-settings.c: New file.
17625 * gdb.base/batch-preserve-term-settings.exp: New file.
17626
e02c96a7
DE
176272015-01-13 Doug Evans <dje@google.com>
17628
17629 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
17630 binary.
17631
576fd14c
JB
176322015-01-13 Joel Brobecker <brobecker@adacore.com>
17633
17634 * Makefile.in (clean mostlyclean): Do not delete *.py.
17635
04dccad0
JB
176362015-01-13 Joel Brobecker <brobecker@adacore.com>
17637
17638 * gdb.python/py-lookup-type.exp: New file.
17639
3d230f71
PA
176402015-01-12 Pedro Alves <palves@redhat.com>
17641
17642 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
17643 restore GDBFLAGS before returning.
17644
7e67715d
JK
176452015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17646
17647 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
17648 is_amd64_regs_target and is_x86_like_target.
17649
f2e0d4b4
DE
176502015-01-11 Doug Evans <xdje42@gmail.com>
17651
17652 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
17653 is given without an explicit form.
17654 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
17655 attributes.
17656 * gdb.dwarf/corrupt.exp: Ditto.
17657 * gdb.dwarf2/enum-type.exp: Ditto.
17658 * gdb.trace/entry-values.exp: Ditto.
17659 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
17660
439250fb
DE
176612015-01-11 Doug Evans <xdje42@gmail.com>
17662
17663 PR gdb/15830
17664 * gdb.base/maint.exp: Remove references to "maint demangle".
17665 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
17666 Add tests for explicitly specifying language to demangle.
17667 * gdb.dlang/demangle.exp: Ditto.
17668
ede9f622
PA
176692015-01-09 Pedro Alves <palves@redhat.com>
17670
17671 * gdb.threads/non-stop-fair-events.c: New file.
17672 * gdb.threads/non-stop-fair-events.exp: New file.
17673
a7b796db
PA
176742015-01-09 Pedro Alves <palves@redhat.com>
17675
17676 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
17677 the global scope. Set a breakpoint after all threads are started
17678 rather than stepping over two source lines. Expect the prompt.
17679 * gdb.base/watch_thread_num.c (threads_started_barrier): New
17680 global.
17681 (NUM): Now 15.
17682 (main): Use threads_started_barrier to wait for all threads to
17683 start. Main thread no longer calls thread_function. Exit after
17684 180 seconds.
17685 (loop): New function.
17686 (thread_function): Wait on threads_started_barrier barrier. Call
17687 'loop' at each iteration.
17688 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
17689 threads have started, instead of hardcoding number of "next"
17690 steps. Use an access watchpoint instead of a write watchpoint.
17691
9665ffdd
PA
176922015-01-09 Pedro Alves <palves@redhat.com>
17693
17694 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
17695 (thread_func): Wait on barrier.
17696 (main): Wait for all threads to start before stopping GDB.
17697 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
17698 global.
17699 (thread1_func, thread2_func): Wait on barrier.
17700 (main): Wait for all threads to start before stopping GDB.
17701 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
17702 New global.
17703 (thread1_func, thread2_func): Wait on barrier.
17704 (main): Wait for all threads to start before stopping GDB.
17705
c945a99f
PA
177062015-01-09 Pedro Alves <palves@redhat.com>
17707
17708 * gdb.threads/attach-many-short-lived-threads.c: New file.
17709 * gdb.threads/attach-many-short-lived-threads.exp: New file.
17710
c1a747c1
PA
177112014-01-09 Pedro Alves <palves@redhat.com>
17712
17713 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
17714 instead of to thread 2.
17715 * gdb.threads/signal-command-multiple-signals-pending.c (main):
17716 Add barrier around each pthread_create call instead of around all
17717 calls.
17718 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
17719 Set a break on thread_function and have the child threads hit it
17720 one at at a time.
17721
60b3033e
PA
177222015-01-09 Pedro Alves <palves@redhat.com>
17723
17724 * lib/gdb.exp (can_spawn_for_attach): New procedure.
17725 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
17726 false.
17727 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
17728 checking whether the target board is remote.
17729 * gdb.multi/multi-attach.exp: Likewise.
17730 * gdb.python/py-sync-interp.exp: Likewise.
17731 * gdb.server/ext-attach.exp: Likewise.
17732 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
17733 tests that need to attach, instead of checking whether the target
17734 board is remote at the top of the file.
17735
acc018ac
YQ
177362015-01-08 Yao Qi <yao@codesourcery.com>
17737
17738 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
17739
50a18af8
JK
177402015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17741
17742 Fix testcase compilation.
17743 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
17744
8503d6e1
JB
177452015-01-06 Joel Brobecker <brobecker@adacore.com>
17746
17747 * gdb.python/py-type.exp: Add a couple test about empty
17748 array creation, and negative-length array creation.
17749
cc73dbcc
DE
177502015-01-02 Doug Evans <xdje42@gmail.com>
17751
17752 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
17753
0300bbc7
DE
177542015-01-02 Doug Evans <dje@google.com>
17755
17756 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
17757
9d85a0ec
YQ
177582014-12-29 Yao Qi <yao@codesourcery.com>
17759
17760 * gdb.trace/entry-values.exp: Update comments. Rename variable
17761 bar_call_foo to returned_from_foo.
17762
87186c6a
MMN
177632014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
17764
17765 PR gdb/17394
17766 * gdb.linespec/break-asm-file.c: New file.
17767 * gdb.linespec/break-asm-file.exp: New file.
17768 * gdb.linespec/break-asm-file0.s: New file.
17769 * gdb.linespec/break-asm-file1.s: New file.
17770
1bab7383
YQ
177712014-12-18 Nigel Stephens <nigel@mips.com>
17772 Maciej W. Rozycki <macro@codesourcery.com>
17773
17774 * gdb.base/float.exp: Handle the new output from "info float" on
17775 MIPS targets.
17776
1bc1068a
JK
177772014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17778
17779 Fix MinGW compilation.
17780 * gdb.compile/compile-ops.exp: Update untested message if
17781 !skip_compile_feature_tests.
17782 * gdb.compile/compile-setjmp.exp: Likewise.
17783 * gdb.compile/compile-tls.exp: Likewise.
17784 * gdb.compile/compile.exp: Likewise.
17785 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
17786 supported on this host".
17787
b6615d10
DE
177882014-12-16 Doug Evans <xdje42@gmail.com>
17789
17790 * boards/stabs.exp: New file.
17791
25dda427
AA
177922014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
17793
17794 * gdb.base/completion.exp: Adjust to format changes of "maint
17795 print user-registers".
17796
bf330350
CU
177972014-12-16 Catalin Udma <catalin.udma@freescale.com>
17798
17799 PR server/17457
17800 * gdb.arch/aarch64-fp.c: New file.
17801 * gdb.arch/aarch64-fp.exp: New file.
17802
395cf596
SDJ
178032014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
17804
17805 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
17806 r210637, r210913, r211666, r215400, r215817).
17807
17808 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
17809 * dg-extract-results.py: New file.
17810 * dg-extract-results.sh: Use it if the environment seems
17811 suitable.
17812
17813 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
17814
17815 * dg-extract-results.py (parse_run): Handle warnings that
17816 are printed before a test harness is run.
17817
17818 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
17819
17820 * dg-extract-results.py (Named): Remove __cmp__ method.
17821 (output_variation): Use a key to sort variation.harnesses.
17822
17823 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
17824
17825 * dg-extract-results.py: For Python 3, force sys.stdout to
17826 handle surrogate escape sequences.
17827 (safe_open): New function.
17828 (output_segment, main): Use it.
17829
17830 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
17831
17832 * dg-extract-results.py (Prog.result_re): Include options
17833 in test name.
17834
17835 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
17836
17837 * dg-extract-results.py (output_variation): Always sort if
17838 do_sum.
17839
e882ef3c
SM
178402014-12-15 Simon Marchi <simon.marchi@ericsson.com>
17841
17842 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
17843 as long as we get pagination notifications.
17844
4992aa20
JM
178452014-12-15 Jason Merrill <jason@redhat.com>
17846
17847 * Makefile.in (check-gdb.%): Restore.
17848 * README: Mention it.
17849
c1b5a1a6
JB
178502014-12-13 Joel Brobecker <brobecker@adacore.com>
17851
17852 * gdb.ada/str_uninit: New testcase.
17853
5537b577
JK
178542014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17855
17856 PR symtab/17642
17857 * gdb.base/vla-stub-define.c: New file.
17858 * gdb.base/vla-stub.c: New file.
17859 * gdb.base/vla-stub.exp: New file.
17860
bb2ec1b3
TT
178612014-12-12 Phil Muldoon <pmuldoon@redhat.com>
17862 Jan Kratochvil <jan.kratochvil@redhat.com>
17863 Tom Tromey <tromey@redhat.com>
17864
17865 * configure.ac: Add gdb.compile/.
17866 * configure: Regenerate.
17867 * gdb.compile/Makefile.in: New file.
17868 * gdb.compile/compile-ops.exp: New file.
17869 * gdb.compile/compile-ops.c: New file.
17870 * gdb.compile/compile-tls.c: New file.
17871 * gdb.compile/compile-tls.exp: New file.
17872 * gdb.compile/compile-constvar.S: New file.
17873 * gdb.compile/compile-constvar.c: New file.
17874 * gdb.compile/compile-mod.c: New file.
17875 * gdb.compile/compile-nodebug.c: New file.
17876 * gdb.compile/compile-setjmp-mod.c: New file.
17877 * gdb.compile/compile-setjmp.c: New file.
17878 * gdb.compile/compile-setjmp.exp: New file.
17879 * gdb.compile/compile-shlib.c: New file.
17880 * gdb.compile/compile.c: New file.
17881 * gdb.compile/compile.exp: New file.
17882 * lib/gdb.exp (skip_compile_feature_tests): New proc.
17883
4ff709eb
TT
178842014-12-12 Tom Tromey <tromey@redhat.com>
17885
17886 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
17887 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
17888
6dddd6a5
DE
178892014-12-12 Doug Evans <dje@google.com>
17890
17891 * lib/gdb-python.exp (get_python_valueof): New function.
17892 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
17893
71c24708
AA
178942014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17895
17896 * gdb.base/completion.exp: Add test for completion of "info
17897 registers ".
17898
3e29f34a
MR
178992014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
17900
17901 * gdb.base/func-ptrs.c: New file.
17902 * gdb.base/func-ptrs.exp: New file.
17903
fc126975
SM
179042014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17905
17906 PR breakpoints/17012
17907 * gdb.base/dprintf-detach.c: New file.
17908 * gdb.base/dprintf-detach.exp: New file.
17909
0a46d518
SM
179102014-12-10 Simon Marchi <simon.marchi@ericsson.com>
17911
17912 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
17913 * lib/gdb.exp (target_is_gdbserver): New procedure.
17914
a0be3e44
DE
179152014-12-08 Doug Evans <dje@google.com>
17916
17917 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
17918
df1b803a
YQ
179192014-12-05 Yao Qi <yao@codesourcery.com>
17920
17921 * gdb.guile/scm-error.exp: Remove the third argument to
17922 gdb_remote_download.
17923 * gdb.guile/scm-frame-args.exp: Likewise.
17924 * gdb.guile/scm-section-script.exp: Likewise.
17925
ddb9f679
YQ
179262014-12-05 Yao Qi <yao@codesourcery.com>
17927
17928 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
17929
86e4ed39
DE
179302014-12-04 Doug Evans <dje@google.com>
17931
17932 * gdb.python/py-objfile.exp: Add tests for
17933 objfile.add_separate_debug_file.
17934
7c50a931
DE
179352014-12-04 Doug Evans <dje@google.com>
17936
17937 * lib/gdb.exp (get_build_id): New function.
17938 (build_id_debug_filename_get): Rewrite to use it.
17939 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
17940
621661e3
MR
179412014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
17942
17943 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
17944 `method(long)', not just 0x0.
17945 * gdb.cp/nsalias.exp: Align code labels to 4.
17946 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
17947 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
17948 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
17949 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
17950 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
17951 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
17952
29f0c3b7
DE
179532014-12-02 Doug Evans <dje@google.com>
17954
e1e061e7 17955 PR symtab/17602
29f0c3b7 17956 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 17957 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
17958 * gdb.cp/anon-ns.exp: Update.
17959
162078c8
NB
179602014-12-02 Nick Bull <nicholaspbull@gmail.com>
17961
17962 * gdb.python/py-events.py (inferior_call_handler): New.
17963 (register_changed_handler, memory_changed_handler): New.
17964 (test_events.invoke): Register new handlers.
17965 * gdb.python/py-events.exp: Add tests for inferior call,
17966 memory_changed and register_changed events.
17967
fdb09caf
AA
179682014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
17969
17970 * gdb.base/execl-update-breakpoints.exp: Specify the link address
17971 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
17972 if the linker doesn't understand this.
17973
55cfb2c4
SM
179742014-12-01 Simon Marchi <simon.marchi@ericsson.com>
17975
17976 * gdb.python/python.exp: Change expected reply to help().
17977
9e8cd6df
YQ
179782014-12-01 Yao Qi <yao@codesourcery.com>
17979
17980 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
17981 AC_CONFIG_SUBDIRS(gdb.gdbtk).
17982 * configure: Re-generated.
17983
6c659fc2
SC
179842014-11-28 Siva Chandra Reddy <sivachandra@google.com>
17985
17986 * gdb.cp/chained-calls.cc: New file.
17987 * gdb.cp/chained-calls.exp: New file.
17988 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
17989
d7fc3181
SM
179902014-11-28 Simon Marchi <simon.marchi@ericsson.com>
17991
17992 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
17993 * gdb.dwarf2/symtab-producer.exp: Same.
17994 * gdb.gdb/python-interrupts.exp: Same.
17995 * gdb.gdb/python-selftest.exp: Same.
17996 * gdb.python/py-linetable.exp: Same.
17997 * gdb.python/py-type.exp: Same.
17998 * gdb.python/py-value-cc.exp: Same.
17999 * gdb.python/py-value.exp: Same.
18000
10e79639
YQ
180012014-11-28 Yao Qi <yao@codesourcery.com>
18002
18003 * gdb.base/break-probes.exp: Match library name prefixed with
18004 sysroot.
18005
f28a0564
SM
180062014-11-27 Simon Marchi <simon.marchi@ericsson.com>
18007
18008 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
18009 test expected output. Add parentheses for the call to print.
18010 Remove L suffix from integers.
18011
3fe1ce1d
DE
180122014-11-26 Doug Evans <dje@google.com>
18013
18014 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
18015
84429e27
YQ
180162014-11-22 Yao Qi <yao@codesourcery.com>
18017
18018 * gdb.trace/entry-values.c: Remove asms.
18019 (foo): Add foo_label.
18020 (bar): Add bar_label.
18021 * gdb.trace/entry-values.exp: Remove code computing foo's
18022 length and bar's length.
18023 (Dwarf::assemble): Invoke function_range for bar and use
18024 MACRO_AT_func for foo.
18025
26741859
YQ
180262014-11-22 Yao Qi <yao@codesourcery.com>
18027
18028 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
18029 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
18030 Use .Lgcc43_procstart instead of gcc43.
18031
45e44d27
JB
180322014-11-21 Joel Brobecker <brobecker@adacore.com>
18033
18034 * gdb.ada/n_arr_bound: New testcase.
18035
458c8db8
SDJ
180362014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
18037
18038 PR breakpoints/10737
18039 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
18040 test_catch_syscall_multi_arch.
18041 (test_catch_syscall_multi_arch): New function.
18042
43f3e411
DE
180432014-11-20 Doug Evans <xdje42@gmail.com>
18044
18045 * gdb.base/maint.exp: Update expected output.
18046
0d7b2549
AA
180472014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
18048
18049 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
18050 4-byte instruction on S390.
18051
8908fca5
JB
180522014-11-19 Joel Brobecker <brobecker@adacore.com>
18053
18054 * gdb.ada/arr_arr: New testcase.
18055
4a46959e
JB
180562014-11-19 Joel Brobecker <brobecker@adacore.com>
18057
18058 * gdb.ada/pkd_arr_elem: New Testcase.
18059
470e2f4e
LM
180602014-11-18 Luis Machado <lgustavo@codesourcery.com>
18061
18062 * gdb.reverse/break-precsave: Expect completion message for
18063 core file reads.
18064 * gdb.reverse/consecutive-precsave.exp: Likewise.
18065 * gdb.reverse/finish-precsave.exp: Likewise.
18066 * gdb.reverse/i386-precsave.exp: Likewise.
18067 * gdb.reverse/machinestate-precsave.exp: Likewise.
18068 * gdb.reverse/sigall-precsave.exp: Likewise.
18069 * gdb.reverse/solib-precsave.exp: Likewise.
18070 * gdb.reverse/step-precsave.exp: Likewise.
18071 * gdb.reverse/until-precsave.exp: Likewise.
18072 * gdb.reverse/watch-precsave.exp: Likewise.
18073
a267f3ad
AA
180742014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18075
18076 * gdb.base/bp-permanent.c: Include unistd.h.
18077 * gdb.python/py-framefilter-mi.c (main): Add return type.
18078 * gdb.python/py-framefilter.c (main): Likewise.
18079 * gdb.trace/actions-changed.c (main): Likewise.
18080
12084a9a
AA
180812014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18082
18083 * gdb.mi/until.c: Add eye-catchers.
18084 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
18085 line numbers.
18086
dc7e1a77
AA
180872014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18088
18089 * gdb.base/condbreak.exp: Drop references to removed non-prototype
18090 function header variants in break1.c.
18091 * gdb.base/ena-dis-br.exp: Likewise.
18092 * gdb.base/hbreak2.exp: Likewise.
18093 * gdb.reverse/until-precsave.exp: Drop references to removed
18094 non-prototype function header variants in ur1.c.
18095 * gdb.reverse/until-reverse.exp: Likewise.
18096
41c77605
PM
180972014-11-17 Petr Machata <pmachata@redhat.com>
18098
18099 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
18100 ${_cu_offset_size} bytes abbrev offset.
18101
34248c3a
DE
181022014-11-15 Doug Evans <xdje42@gmail.com>
18103
18104 PR symtab/17559
18105 * gdb.base/line-symtabs.exp: New file.
18106 * gdb.base/line-symtabs.c: New file.
18107 * gdb.base/line-symtabs.h: New file.
18108
646da059
YQ
181092014-11-14 Yao Qi <yao@codesourcery.com>
18110
18111 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
18112 (func): Add label func_label.
18113 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
18114 Replace low_pc and high_pc with MACRO_AT_range.
18115 Replace name, low_pc and high_pc with MACRO_AT_func.
18116
9301ebe6
YQ
181172014-11-14 Yao Qi <yao@codesourcery.com>
18118
18119 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
18120 Replace name, low_pc and high_pc with MACRO_AT_func.
18121
f166b542
YQ
181222014-11-14 Yao Qi <yao@codesourcery.com>
18123
18124 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
18125 produce debug information.
18126 * gdb.dwarf2/implptr-optimized-out.S: Removed.
18127
0f6e71e3
YQ
181282014-11-14 Yao Qi <yao@codesourcery.com>
18129
18130 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
18131 object and get function length.
18132 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
18133 with MACRO_AT_func.
18134 (top-level): Replace gdb_compile and clean_restart with
18135 prepare_for_testing.
18136 * gdb.dwarf2/main.c (main): Add label main_label.
18137
876c4df9
YQ
181382014-11-14 Yao Qi <yao@codesourcery.com>
18139
18140 * lib/dwarf.exp (function_range): New procedure.
18141 (Dwarf::_handle_macro_at_func): New procedure.
18142 (Dwarf::_handle_macro_at_range): New procedure.
18143 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
18144
02ad9cf1
YQ
181452014-11-14 Yao Qi <yao@codesourcery.com>
18146
18147 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
18148 (_handle_attribute): New procedure.
18149
a59add0c
AA
181502014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18151
18152 * gdb.ada/cond_lang/foo.c (callme): Add return type.
18153 * gdb.base/call-sc.c (zed): Likewise.
18154 * gdb.base/checkpoint.c (main): Likewise.
18155 * gdb.base/dump.c (main): Likewise.
18156 * gdb.base/gcore.c (main): Likewise.
18157 * gdb.base/huge.c (main): Likewise.
18158 * gdb.base/multi-forks.c (main): Likewise.
18159 * gdb.base/pr10179-a.c (main): Likewise.
18160 * gdb.base/savedregs.c (main): Likewise.
18161 * gdb.base/sigaltstack.c (main): Likewise.
18162 * gdb.base/siginfo.c (main): Likewise.
18163 * gdb.base/structs.c (zed): Likewise.
18164 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
18165 * gdb.mi/mi-syn-frame.c (main): Likewise.
18166 * gdb.mi/until.c (foo, main): Likewise.
18167 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
18168 * gdb.base/solib-weak.c (foo): Declare.
18169 * gdb.base/attach-twice.c: Include stdio.h.
18170 * gdb.base/weaklib1.c: Likewise.
18171 * gdb.base/weaklib2.c: Likewise.
18172 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
18173 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
18174 unistd.h.
18175 * gdb.base/attach-pie-misread.c: Include stdlib.h.
18176 * gdb.mi/mi-exit-code.c: Likewise.
18177 * gdb.base/break-interp-lib.c: Include string.h.
18178 * gdb.base/coremaker.c: Likewise.
18179 * gdb.base/testenv.c: Likewise.
18180 * gdb.python/py-finish-breakpoint.c: Likewise.
18181 * gdb.base/inferior-died.c: Include sys/wait.h.
18182 * gdb.base/fileio.c: Include time.h.
18183 * gdb.base/async-shell.c: Include unistd.h.
18184 * gdb.base/dprintf-non-stop.c: Likewise.
18185 * gdb.base/info-os.c: Likewise.
18186 * gdb.mi/mi-console.c: Likewise.
18187 * gdb.mi/watch-nonstop.c: Likewise.
18188 * gdb.python/py-events.c: Likewise.
18189 * gdb.base/async.c (baz): Move up before its invocation.
18190 * gdb.base/code_elim2.c (my_global_func): Likewise.
18191 * gdb.base/skip-solib-lib.c (multiply): Likewise.
18192 * gdb.base/advance.c (func2): Likewise.
18193
3b5d5997
AA
181942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18195
18196 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
18197 variant.
18198 * gdb.base/annota3.c: Likewise.
18199 * gdb.base/async.c: Likewise.
18200 * gdb.base/average.c: Likewise.
18201 * gdb.base/call-ar-st.c: Likewise.
18202 * gdb.base/call-rt-st.c: Likewise.
18203 * gdb.base/call-sc.c: Likewise.
18204 * gdb.base/call-strs.c: Likewise.
18205 * gdb.base/ending-run.c: Likewise.
18206 * gdb.base/execd-prog.c: Likewise.
18207 * gdb.base/exprs.c: Likewise.
18208 * gdb.base/foll-exec.c: Likewise.
18209 * gdb.base/foll-fork.c: Likewise.
18210 * gdb.base/foll-vfork.c: Likewise.
18211 * gdb.base/funcargs.c: Likewise.
18212 * gdb.base/gcore.c: Likewise.
18213 * gdb.base/jump.c: Likewise.
18214 * gdb.base/langs0.c: Likewise.
18215 * gdb.base/langs1.c: Likewise.
18216 * gdb.base/langs2.c: Likewise.
18217 * gdb.base/mips_pro.c: Likewise.
18218 * gdb.base/nodebug.c: Likewise.
18219 * gdb.base/opaque0.c: Likewise.
18220 * gdb.base/opaque1.c: Likewise.
18221 * gdb.base/recurse.c: Likewise.
18222 * gdb.base/run.c: Likewise.
18223 * gdb.base/scope0.c: Likewise.
18224 * gdb.base/scope1.c: Likewise.
18225 * gdb.base/setshow.c: Likewise.
18226 * gdb.base/setvar.c: Likewise.
18227 * gdb.base/shmain.c: Likewise.
18228 * gdb.base/shr1.c: Likewise.
18229 * gdb.base/shr2.c: Likewise.
18230 * gdb.base/sigall.c: Likewise.
18231 * gdb.base/signals.c: Likewise.
18232 * gdb.base/so-indr-cl.c: Likewise.
18233 * gdb.base/solib2.c: Likewise.
18234 * gdb.base/structs.c: Likewise.
18235 * gdb.base/sum.c: Likewise.
18236 * gdb.base/vforked-prog.c: Likewise.
18237 * gdb.base/watchpoint.c: Likewise.
18238 * gdb.reverse/shr2.c: Likewise.
18239 * gdb.reverse/until-reverse.c: Likewise.
18240 * gdb.reverse/ur1.c: Likewise.
18241 * gdb.reverse/watch-reverse.c: Likewise.
18242
066a77c5
AA
182432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18244
18245 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
18246 variant.
18247 * gdb.base/sepdebug.exp: Drop references to removed code.
18248
4f204ea5
AA
182492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18250
18251 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
18252 variant. Preserve original line numbering.
18253 * gdb.base/list1.c: Likewise.
18254
3b377a3a
AA
182552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18256
18257 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
18258 variant.
18259 * gdb.base/break1.c: Likewise.
18260 * gdb.base/break.exp: Drop references to removed code.
18261
e444df73
AA
182622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18263
18264 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
18265 variant.
18266
8008f2a7
AA
182672014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18268
18269 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
18270
a5a06887
AA
182712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18272
18273 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
18274 logic into perform_all_tests() and invoke it with and without
18275 function header prototypes.
18276 (do_function_calls): Remove conditional XFAIL for PR 5318.
18277 (rerun_and_prepare): Remove duplicate code.
18278 (perform_all_tests): New. Main logic moved here.
18279
44dba9b9
AA
182802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18281
18282 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
18283 code guarded by #ifdef NO_PROTOTYPES.
18284 (t_double_many_args): Likewise.
18285 (DEF_FUNC_MANY_ARGS_1): Likewise.
18286 (DEF_FUNC_VALUES_1): Likewise.
18287 (t_structs_ldc): Renamed from t_structs_fc in conditional code
18288 guarded by #ifdef PROTOTYPES.
18289
d1fbcd56
AA
182902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18291
18292 * gdb.mi/mi-console.c: Add eye-catcher.
18293 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
18294 instead of literal line number.
18295
b0e59b8f
AA
182962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18297
18298 * gdb.base/shr2.c: Add eye-catcher.
18299 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
18300 line number.
18301
78f98cca
AA
183022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18303
18304 * gdb.base/jump.c: Add eye-catchers.
18305 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
18306 numbers.
18307
58fa2af0
AA
183082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18309
18310 * gdb.base/execd-prog.c: Add eye-catchers.
18311 * gdb.base/foll-exec.c: Likewise.
18312 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
18313 line numbers.
18314
04e5059b
AA
183152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18316
18317 * gdb.base/ending-run.c: Add eye-catchers.
18318 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
18319 literal line numbers.
18320
dbfdb174
AA
183212014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18322
18323 * gdb.base/call-rt-st.c: Add eye-catchers.
18324 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
18325 literal line numbers.
18326
888a2ade
AA
183272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18328
18329 * gdb.base/call-ar-st.c: Add eye-catchers.
18330 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
18331 literal line numbers.
18332
6acc2dde
AA
183332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18334
18335 * gdb.base/average.c: Add eye-catchers.
18336 * gdb.base/sum.c: Likewise.
18337 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
18338 regexps dynamically.
18339
9ecfcd1d
AA
183402014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18341
18342 * gdb.base/solib1.c: Add eye-catchers.
18343 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
18344 literal line numbers.
18345
78708b7c
PA
183462014-11-12 Pedro Alves <palves@redhat.com>
18347
18348 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
18349 leader has exited.
18350
af48d08f
PA
183512014-11-12 Pedro Alves <palves@redhat.com>
18352
18353 * gdb.arch/i386-bp_permanent.c: New file.
18354 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
18355 (srcfile): Set to i386-bp_permanent.c.
18356 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
18357 that stepi does not execute the 'leave' instruction, instead of
18358 testing it does execute.
18359 * gdb.base/bp-permanent.c: New file.
18360 * gdb.base/bp-permanent.exp: New file.
18361
af3768e9
DE
183622014-11-10 Doug Evans <xdje42@gmail.com>
18363
18364 PR symtab/17564
18365 * gdb.base/symtab-search-order.exp: New file.
18366 * gdb.base/symtab-search-order.c: New file.
18367 * gdb.base/symtab-search-order-1.c: New file.
18368 * gdb.base/symtab-search-order-shlib-1.c: New file.
18369
9de00a4a
PA
183702014-11-07 Pedro Alves <palves@redhat.com>
18371
18372 PR gdb/17511
18373 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
18374 i?86-*-linux*.
18375
e0f52461
SC
183762014-11-03 Siva Chandra Reddy <sivachandra@google.com>
18377
18378 PR c++/17494
18379 * gdb.cp/pr17494.cc: New file.
18380 * gdb.cp/pr17494.exp: New file.
18381
6ce8c980
YQ
183822014-11-02 Yao Qi <yao@codesourcery.com>
18383
18384 * gdb.python/python.exp: Get working directory and match the
18385 output of "set extended-prompt \\w " with it.
18386
02be9a71
DE
183872014-10-30 Doug Evans <dje@google.com>
18388
18389 * gdb.python/py-objfile.exp: Add tests for setting random attributes
18390 in objfiles.
18391 * gdb.python/py-progspace.exp: Add tests for setting random attributes
18392 in progspaces.
18393
3bdff46b
LM
183942014-10-30 Janis Johnson <janisjo@codesourcery.com>
18395
18396 * gdb.base/fullpath-expand.exp: Skip for a remote host.
18397 * gdb.base/realname-expand.exp: Likewise.
18398 * gdb.linespec/macro-relative.exp: Likewise.
18399
ab917dfb
PA
184002014-10-29 Pedro Alves <palves@redhat.com>
18401
18402 PR gdb/17408
18403 * gdb.threads/schedlock.c (some_function): New function.
18404 (call_function): New global.
18405 (MAYBE_CALL_SOME_FUNCTION): New macro.
18406 (thread_function): Call it.
18407 * gdb.threads/schedlock.exp (get_args): Add description parameter,
18408 and use it instead of a global counter. Adjust all callers.
18409 (get_current_thread): Use "find current thread" for test message
18410 here rather than having all callers pass down the same string.
18411 (goto_loop): New procedure, factored out from ...
18412 (my_continue): ... this.
18413 (step_ten_loops): Change parameter from test message to command to
18414 use. Adjust.
18415 (list_count): Delete global.
18416 (check_result): New procedure, factored out from duplicate top
18417 level code.
18418 (continue tests): Wrap in with_test_prefix.
18419 (test_step): New procedure, factored out from duplicate top level
18420 code.
18421 (top level): Test "step" in combination with all scheduler-locking
18422 modes. Test "next" in combination with all scheduler-locking
18423 modes, and in combination with stepping over a function call or
18424 not.
18425 * gdb.threads/next-bp-other-thread.c: New file.
18426 * gdb.threads/next-bp-other-thread.exp: New file.
18427
d3d4baed
PA
184282014-10-29 Pedro Alves <palves@redhat.com>
18429
18430 PR python/17372
18431 * gdb.python/python.exp: Test a multi-line command that spawns
18432 interactive Python.
18433 * gdb.base/multi-line-starts-subshell.exp: New file.
18434
563e8d85
YQ
184352014-10-29 Yao Qi <yao@codesourcery.com>
18436
18437 * gdb.base/fileio.exp: Make directories on host.
18438
0ea4d52e
YQ
184392014-10-29 Yao Qi <yao@codesourcery.com>
18440
18441 * gdb.base/fileio.c (test_write): Close the file.
18442
7f5ef605
PA
184432014-10-28 Pedro Alves <palves@redhat.com>
18444
18445 PR gdb/12623
18446 * gdb.base/sigstep.c (no_handler): New global.
18447 (main): If 'no_handler is true, set the signal handlers to
18448 SIG_IGN.
18449 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
18450 with_sw_watch and no_handler parameters. Handle them.
18451 (top level) <stepping over handler when stopped at a breakpoint
18452 test>: Add a test axis for testing with a software watchpoint, and
18453 another for testing with the signal handler set to SIG_IGN.
18454 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
18455 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
18456
abbdbd03
PA
184572014-10-28 Pedro Alves <palves@redhat.com>
18458
18459 PR gdb/17511
18460 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
18461 * gdb.base/sigstep.exp (other_handler_location): New global.
18462 (advance): Support stepping into the signal handler, and running
18463 commands while in the handler.
18464 (in_handler_map): New global.
18465 (top level): In the advance test, add combinations for getting
18466 into the handler with stepping commands, and for running commands
18467 in the handler. Add comment descripting the advancei tests.
18468
1df4399f
PA
184692014-10-28 Pedro Alves <palves@redhat.com>
18470
18471 * gdb.base/sigstep.exp: Use build_executable instead of
18472 prepare_for_testing.
18473 (top level): Move code that starts GDB, runs to main and creates a
18474 display to ...
18475 (restart): ... this new procedure.
18476 (top level): Move backtrace from signal handler test to ...
18477 (validate_backtrace): ... this new procedure.
18478 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
18479 with_test_prefix. Always restart GDB.
18480 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
18481 with_test_prefix. Always restart GDB. No need to delete
18482 breakpoints after the test.
18483 (test_skip_handler): Remove prefix parameter.
18484 (skip_over_handler, breakpoint_to_handler)
18485 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
18486 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
18487 restart GDB. No need to delete breakpoints after the test.
18488 (top level): Use foreach to call the test procedures with
18489 different commands.
18490
a5b6e449
PA
184912014-10-28 Pedro Alves <palves@redhat.com>
18492
18493 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
18494 instead of GNATS numbers.
18495 * gdb.base/sigbpt.exp: Likewise.
18496 * gdb.base/siginfo.exp: Likewise.
18497 * gdb.base/sigstep.exp: Likewise.
18498
e5f8a7cc
PA
184992014-10-27 Pedro Alves <palves@redhat.com>
18500
18501 * gdb.base/sigstep.c (dummy): New global.
18502 (main): Issue a couple writes to the new global.
18503 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
18504 procedures.
18505 (skip_over_handler): Use test_skip_handler.
18506 (top level): Call skip_over_handler for stepi and nexti too.
18507 (breakpoint_over_handler): Use test_skip_handler.
18508 (top level): Call breakpoint_over_handler for stepi and nexti too.
18509
763905a3
YQ
185102014-10-27 Yao Qi <yao@codesourcery.com>
18511
18512 * gdb.trace/tfile.c (adjust_function_address)
18513 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
18514 function descriptor.
18515
6f259a23
DB
185162014-10-24 Don Breazeal <donb@codesourcery.com>
18517
18518 * gdb.base/foll-fork.exp (test_follow_fork,
18519 catch_fork_child_follow): Check for updated fork messages emitted
18520 from infrun.c.
18521 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
18522 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
18523 vfork_and_exec_child_follow_through_step): Check for updated vfork
18524 messages emitted from infrun.c.
18525
09dd9a69
PA
185262014-10-24 Pedro Alves <palves@redhat.com>
18527
18528 * gdb.base/corefile.exp: Remove references to ultrix.
18529 * gdb.base/interrupt.exp: Likewise.
18530 * gdb.base/whatis.exp: Likewise.
18531 * gdb.gdb/selftest.exp: Likewise.
18532 * gdb.threads/manythreads.exp: Likewise.
18533 * gdb.threads/print-threads.exp: Likewise.
18534 * gdb.threads/pthreads.exp:: Likewise.
18535 * gdb.threads/schedlock.exp: Likewise.
18536
3433cfa5
SC
185372014-10-24 Siva Chandra Reddy <sivachandra@google.com>
18538
18539 * gdb.cp/non-trivial-retval.cc: Add a test case.
18540 * gdb.cp/non-trivial-retval.exp: Add a test.
18541
092f880b
YQ
185422014-10-20 Yao Qi <yao@codesourcery.com>
18543
18544 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
18545 * gdb.python/py-objfile-script-gdb.py: New file.
18546 * gdb.python/py-objfile-script.exp: Update reference to
18547 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
18548 of remote_download. Remove the dest file.
18549
acbdb7f3
YQ
185502014-10-20 Yao Qi <yao@codesourcery.com>
18551
18552 * gdb.base/checkpoint.exp: Don't remove file copied on host.
18553 * gdb.base/step-line.exp: Likewise.
18554 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18555 * gdb.dwarf2/dw2-basic.exp: Likewise.
18556 * gdb.dwarf2/dw2-compressed.exp: Likewise.
18557 * gdb.dwarf2/dw2-filename.exp: Likewise.
18558 * gdb.dwarf2/dw2-intercu.exp: Likewise.
18559 * gdb.dwarf2/dw2-intermix.exp: Likewise.
18560 * gdb.dwarf2/dw2-producer.exp: Likewise.
18561 * gdb.dwarf2/mac-fileno.exp: Likewise.
18562 * gdb.python/py-frame-args.exp: Likewise.
18563 * gdb.python/py-framefilter.exp: Likewise.
18564 * gdb.python/py-mi.exp: Likewise.
18565 * gdb.python/py-objfile-script.exp: Likewise
18566 * gdb.python/py-pp-integral.exp: Likewise.
18567 * gdb.python/py-pp-re-notag.exp: Likewise.
18568 * gdb.python/py-prettyprint.exp: Likewise.
18569 * gdb.python/py-section-script.exp: Likewise.
18570 * gdb.python/py-typeprint.exp: Likewise.
18571 * gdb.python/py-xmethods.exp: Likewise.
18572 * gdb.stabs/weird.exp: Likewise.
18573 * gdb.xml/tdesc-regs.exp: Likewise.
18574
bd286a29
KCY
185752014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
18576
18577 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
18578 (out_cu): Use addr_len for the size of addresses.
18579 (out_line): Likewise. Size DW_LNE_set_address instruction
18580 according to addr_len.
18581 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
18582 (FUNC): Add START_INSNS to definition.
18583
673dc4a0
YQ
185842014-10-18 Yao Qi <yao@codesourcery.com>
18585
18586 * gdb.base/argv0-symlink.exp: Check argv[0] value if
18587 gdb_has_argv0 return true.
18588 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
18589 check [target_info exists noargs], check [gdb_has_argv0]
18590 instead.
18591 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18592 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
18593 procedures.
18594
4ffbba72
DE
185952014-10-17 Doug Evans <dje@google.com>
18596
18597 * gdb.python/py-events.exp: Update expected output for clear_objfiles
18598 event.
18599 * gdb.python/py-events.py: Add clear_objfiles event.
18600
d096d8c1
DE
186012014-10-17 Doug Evans <dje@google.com>
18602
18603 * gdb.python/py-objfile.exp: Test progspace attribute.
18604
a80db015
LM
186052014-10-17 Luis Machado <lgustavo@codesourcery.com>
18606
18607 * gdb.guile/scm-breakpoint.exp: Do not assume any
18608 directory separators when matching source file paths.
18609 * gdb.python/py-breakpoint.exp: Likewise.
18610 * gdb.reverse/break-precsave.exp: Likewise.
18611 * gdb.reverse/break-reverse.exp: Likewise.
18612 * gdb.reverse/consecutive-precsave.exp: Likewise.
18613 * gdb.reverse/finish-precsave.exp: Likewise.
18614 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
18615 * gdb.reverse/finish-reverse.exp: Likewise.
18616 * gdb.reverse/i386-precsave.exp: Likewise.
18617 * gdb.reverse/i387-env-reverse.exp: Likewise.
18618 * gdb.reverse/i387-stack-reverse.exp: Likewise.
18619 * gdb.reverse/machinestate-precsave.exp: Likewise.
18620 * gdb.reverse/machinestate.exp: Likewise.
18621 * gdb.reverse/sigall-precsave.exp: Likewise.
18622 * gdb.reverse/solib-precsave.exp: Likewise.
18623 * gdb.reverse/step-precsave.exp: Likewise.
18624 * gdb.reverse/until-precsave.exp: Likewise.
18625 * gdb.reverse/watch-precsave.exp: Likewise.
18626 * gdb.reverse/watch-reverse.exp: Likewise.
18627
b22089ab
YQ
186282014-10-17 Yao Qi <yao@codesourcery.com>
18629
18630 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
18631 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
18632
6c4486e6
PA
186332014-10-17 Pedro Alves <palves@redhat.com>
18634
18635 PR gdb/17471
18636 * gdb.base/bg-execution-repeat.c: New file.
18637 * gdb.base/bg-execution-repeat.exp: New file.
18638
0ff33695
PA
186392014-10-17 Pedro Alves <palves@redhat.com>
18640
18641 PR gdb/17300
18642 * gdb.base/continue-all-already-running.c: New file.
18643 * gdb.base/continue-all-already-running.exp: New file.
18644
6fdebc3d
PA
186452014-10-17 Pedro Alves <palves@redhat.com>
18646
18647 PR gdb/17472
18648 * gdb.base/annota-input-while-running.c: New file.
18649 * gdb.base/annota-input-while-running.exp: New file.
18650
32a8097b
PA
186512014-10-17 Pedro Alves <palves@redhat.com>
18652
18653 * gdb.base/callfuncs.exp: emove references to osf.
18654 * gdb.base/sigall.exp: Likewise.
18655 * gdb.gdb/selftest.exp: Likewise.
18656 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18657 * gdb.mi/non-stop.c: Likewise.
18658 * gdb.mi/pthreads.c: Likewise.
18659 * gdb.reverse/sigall-precsave.exp: Likewise.
18660 * gdb.reverse/sigall-reverse.exp: Likewise.
18661 * gdb.threads/pthreads.c: Likewise.
18662 * gdb.threads/pthreads.exp: Likewise.
18663
7a3517ff
YQ
186642014-10-17 Yao Qi <yao@codesourcery.com>
18665
18666 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
18667 check 'target_info exists noargs'.
18668 (test_command_prompt_position): Likewise.
18669 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
18670 Remove "set args".
18671 (progvar_simple_while_test): Likewise.
18672 (progvar_complex_if_while_test): Likewise.
18673 (if_while_breakpoint_command_test): Likewise.
18674 (infrun_breakpoint_command_test): Likewise.
18675 (breakpoint_command_test): Likewise.
18676 (watchpoint_command_test): Likewise.
18677 (bp_deleted_in_command_test): Likewise.
18678 (temporary_breakpoint_commands): Likewise.
18679
bb99c472
YQ
186802014-10-16 Yao Qi <yao@codesourcery.com>
18681
18682 * gdb.base/remotetimeout.exp: Remove noargs checking.
18683
7c16b83e
PA
186842014-10-15 Pedro Alves <palves@redhat.com>
18685
18686 PR breakpoints/9649
18687 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
18688 * gdb.base/breakpoint-in-ro-region.exp
18689 (probe_target_hardware_step): New procedure.
18690 (top level): Probe hardware stepping and hardware breakpoint
18691 support. Test stepping through a read-only region, with both
18692 "breakpoint auto-hw" on and off and both "always-inserted" on and
18693 off.
18694
35a49624
IB
186952014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
18696
18697 * gdb.dlang/demangle.exp: Update for demangling changes.
18698
2d1c107c
SC
186992014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18700
18701 * gdb.cp/non-trivial-retval.cc: Add new test cases.
18702 * gdb.cp/non-trivial-retval.exp: Add new tests.
18703
778811d5
SC
187042014-10-15 Siva Chandra Reddy <sivachandra@google.com>
18705
18706 PR c++/13403
18707 PR c++/15154
18708 * gdb.cp/non-trivial-retval.cc: New file.
18709 * gdb.cp/non-trivial-retval.exp: New file.
18710
10c5f0a8
YQ
187112014-10-15 Yao Qi <yao@codesourcery.com>
18712
18713 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
18714 remote host.
18715
65d7b369
YQ
187162014-10-15 Yao Qi <yao@codesourcery.com>
18717
18718 * gdb.python/py-symbol.exp: Match file base name if host is
18719 remote, otherwise match file name with dir name.
18720 * gdb.python/py-symtab.exp: Likewise.
18721 * gdb.python/python.exp: Likewise.
18722
46dc1394
YQ
187232014-10-15 Yao Qi <yao@codesourcery.com>
18724
18725 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
18726 pattern.
18727 * gdb.python/py-symtab.exp: Likewise.
18728 * gdb.python/python.exp: Remove trailing ".*". Fix typo
18729 locationn.
18730
c40cc657
JB
187312014-10-14 Joel Brobecker <brobecker@adacore.com>
18732
18733 * gdb.ada/addr_arith: New testcase.
18734
2abf49e1
MR
187352014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
18736
18737 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
18738 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
18739 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
18740 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
18741
f7088df3
SDJ
187422014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
18743
18744 * gdb.arch/stap-eval-lang-ada.S: Likewise.
18745 * gdb.arch/stap-eval-lang-ada.c: Likewise.
18746 * gdb.arch/stap-eval-lang-ada.exp: New file.
18747
4dc06805
YQ
187482014-10-14 Yao Qi <yao@codesourcery.com>
18749
18750 * gdb.mi/mi-var-child.c (nothing1): New function.
18751 (nothing2): New function.
18752 (do_children_tests): Set function pointers by nothing1 and
18753 nothing2.
18754 * gdb.mi/mi-var-child.exp: Step over new added statements.
18755 Update test to match the new output.
18756 * gdb.mi/var-cmd.c (nothing1): New function.
18757 (nothing2): New function.
18758 (do_children_tests): Set function pointers by nothing1 and
18759 nothing2.
18760 * gdb.mi/mi-var-display.exp: Update test to match output.
18761 Step to the line specified by $line_dct_nothing.
18762 Increase the number of lines to step.
18763
46a93de2
YQ
187642014-10-14 Yao Qi <yao@codesourcery.com>
18765
18766 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
18767 tests.
18768 * gdb.mi/mi2-var-child.exp: Likewise.
18769
14ea52ee
DE
187702014-10-13 Doug Evans <dje@google.com>
18771
18772 * gdb.python/py-objfile.exp: Change name of file name test.
18773
e5c6e92b
DE
187742014-10-13 Doug Evans <dje@google.com>
18775
18776 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
18777 from the start of the CU.
18778
c780cc2f
JK
187792014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18780 Yao Qi <yao@codesourcery.com>
18781
18782 Fix "save breakpoints" for "catch" command.
18783 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
18784 Remove -nonewline. Match also the added "main" line.
18785
99894e11
JK
187862014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18787
18788 Fix "save breakpoints" for "disable $bpnum" command.
18789 * gdb.base/save-bp.c (main): Add label.
18790 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
18791
6e1ac5a3
JK
187922014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18793
18794 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
18795
754dd2b0
YQ
187962014-10-11 Yao Qi <yao@codesourcery.com>
18797
18798 * gdb.server/server-kill.exp: Execute command
18799 "set remote trace-status-packet on" before "tstatus".
18800
f90183d7
YQ
188012014-10-11 Yao Qi <yao@codesourcery.com>
18802
18803 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
18804 (main): Call getppid.
18805 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
18806 and continue to it. Read variable "server_pid".
18807
bf40a607
YQ
188082014-10-11 Yao Qi <yao@codesourcery.com>
18809
18810 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
18811
052ca370
YQ
188122014-10-11 Yao Qi <yao@codesourcery.com>
18813
18814 * gdb.threads/thread-find.exp: Don't execute command
18815 "info threads".
18816 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
18817 * gdb.threads/linux-dp.exp: Don't check the condition
18818 $threads_created equals to zero.
18819
3831839c
PA
188202014-10-10 Pedro Alves <palves@redhat.com>
18821
18822 * gdb.base/bigcore.exp: Remove references to IRIX.
18823 * gdb.base/funcargs.exp: Likewise.
18824 * gdb.base/interrupt.exp: Likewise.
18825 * gdb.base/mips_pro.exp: Likewise.
18826 * gdb.base/nodebug.exp: Likewise.
18827 * gdb.base/setvar.exp: Likewise.
18828 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
18829
8b9a549d
PA
188302014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18831 Pedro Alves <palves@redhat.com>
18832
18833 PR symtab/14466
18834 * gdb.base/vdso-warning.c: New file.
18835 * gdb.base/vdso-warning.exp: New file.
18836
d48ba5e8
DE
188372014-10-02 Doug Evans <dje@google.com>
18838
18839 * gdb.base/structs.c (main): Don't run forever.
18840
2278c276
PA
188412014-10-02 Pedro Alves <palves@redhat.com>
18842
18843 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
18844 (top level) <stop threads 1, stop threads 2>: Use it.
18845
b57bacec
PA
188462014-10-02 Pedro Alves <palves@redhat.com>
18847
18848 * gdb.threads/break-while-running.exp (test): Add new
18849 'update_thread_list' argument. Skip "info threads" if false.
18850 (top level): Add new 'update_thread_list' axis.
18851
13fd3ff3
PA
188522014-10-02 Pedro Alves <palves@redhat.com>
18853
18854 PR breakpoints/17431
18855 * gdb.base/execl-update-breakpoints.c: New file.
18856 * gdb.base/execl-update-breakpoints.exp: New file.
18857
0fec99e8
PA
188582014-10-01 Pedro Alves <palves@redhat.com>
18859
18860 * gdb.base/breakpoint-in-ro-region.c: New file.
18861 * gdb.base/breakpoint-in-ro-region.exp: New file.
18862
2ddf4301
SM
188632014-10-01 Simon Marchi <simon.marchi@ericsson.com>
18864
18865 * gdb.mi/mi-exit-code.exp: New file.
18866 * gdb.mi/mi-exit-code.c: New file.
18867
6a5f3f43
YQ
188682014-09-30 Yao Qi <yao@codesourcery.com>
18869
18870 * lib/prelink-support.exp (build_executable_own_libs): Error if
18871 the target isn't native.
18872
345bcc73
YQ
188732014-09-30 Yao Qi <yao@codesourcery.com>
18874
18875 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
18876 false.
18877
a25a5a45
PA
188782014-09-22 Pedro Alves <palves@redhat.com>
18879
18880 * gdb.threads/break-while-running.exp: New file.
18881 * gdb.threads/break-while-running.c: New file.
18882
00ba3162
YQ
188832014-09-19 Yao Qi <yao@codesourcery.com>
18884
18885 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
18886 Invoke test. Restart GDB with --readnow and invoke test again.
18887
c3b7b696
YQ
188882014-09-19 Yao Qi <yao@codesourcery.com>
18889
18890 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
18891 proc set_breakpoint_on_gcd_function. Invoke
18892 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
18893 invoke set_breakpoint_on_gcd_function again.
18894
2b4fd423
DE
188952014-09-18 Doug Evans <dje@google.com>
18896
18897 * gdb.dwarf2/symtab-producer.exp: New file.
18898
a5947601
SDJ
188992014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18900
18901 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
18902 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
18903 * gdb.base/global-var-nested-by-dso.c: Likewise.
18904 * gdb.base/global-var-nested-by-dso.exp: Likewise.
18905
91c19059
SDJ
189062014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
18907 Pedro Alves <palves@redhat.com>
18908
18909 * gdb.base/watch-bitfields.exp: Pass string other than test file
18910 name to prepare_for_testing.
18911 (watch): New procedure.
18912 (expect_watchpoint): Use with_test_prefix.
18913 (top level): Factor out tests to ...
18914 (test_watch_location, test_regular_watch): ... these new
18915 procedures, and use with_test_prefix and gdb_continue_to_end.
18916
bb9d5f81
PP
189172014-09-16 Patrick Palka <patrick@parcs.ath.cx>
18918
18919 PR breakpoints/12526
18920 * gdb.base/watch-bitfields.exp: New file.
18921 * gdb.base/watch-bitfields.c: New file.
18922
635856f5
PA
189232014-09-16 Pedro Alves <palves@redhat.com>
18924
18925 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
18926 software and hardware addresses, not software address against
18927 itself.
18928
7280ceea
PA
189292014-09-16 Pedro Alves <palves@redhat.com>
18930
18931 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
18932 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
18933
428b16bd
PA
189342014-09-16 Pedro Alves <palves@redhat.com>
18935
18936 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
18937 files.
18938 * gdb.base/a2-run.exp: Remove all code guarded by istarget
18939 "*-*-vxworks*" throughout.
18940 * gdb.base/break.exp: Likewise.
18941 * gdb.base/default.exp: Likewise.
18942 * gdb.base/scope.exp: Likewise.
18943 * gdb.base/sepdebug.exp: Likewise.
18944 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
18945 throughout.
18946 * gdb.base/run.c: Likewise.
18947 * gdb.base/sepdebug.c: Likewise.
18948 * gdb.hp/gdb.aCC/run.c: Likewise.
18949 * gdb.reverse/until-reverse.c: Likewise.
18950 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
18951
666d413c
YQ
189522014-09-16 Yao Qi <yao@codesourcery.com>
18953
18954 * boards/local-remote-host-native.exp: New file.
18955
57cbd724
DE
189562014-09-14 Doug Evans <xdje42@gmail.com>
18957
18958 * gdb.threads/queue-signal.c (thread_count): New variable.
18959 (thread_count_mutex, thread_count_condvar): New variables.
18960 (incr_thread_count, wait_all_threads_running): New functions.
18961 (main): Wait for all threads to be in their thread functions.
18962
81219e53
DE
189632014-09-13 Doug Evans <xdje42@gmail.com>
18964
18965 * gdb.threads/queue-signal.c: New file.
18966 * gdb.threads/queue-signal.exp: New file.
18967
3714cea7
DE
189682014-09-13 Doug Evans <xdje42@gmail.com>
18969
18970 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
18971 be consistent with what default_gdb_init uses.
18972 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
18973 the plain text of the prompt. Add some logging printfs.
18974 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
18975
fa43b1d7
PA
189762014-09-12 Pedro Alves <palves@redhat.com>
18977
18978 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
18979 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
18980 * gdb.arch/i386-size-overlap.exp: Likewise.
18981 * gdb.arch/i386-size.exp: Likewise.
18982 * gdb.arch/i386-unwind.exp: Likewise.
18983 * gdb.base/a2-run.exp: Likewise.
18984 * gdb.base/break.exp: Likewise.
18985 * gdb.base/charset.exp: Likewise.
18986 * gdb.base/chng-syms.exp: Likewise.
18987 * gdb.base/commands.exp: Likewise.
18988 * gdb.base/dbx.exp: Likewise.
18989 * gdb.base/find.exp: Likewise.
18990 * gdb.base/funcargs.exp: Likewise.
18991 * gdb.base/jit-simple.exp: Likewise.
18992 * gdb.base/reread.exp: Likewise.
18993 * gdb.base/sepdebug.exp: Likewise.
18994 * gdb.base/step-bt.exp: Likewise.
18995 * gdb.cp/mb-inline.exp: Likewise.
18996 * gdb.cp/mb-templates.exp: Likewise.
18997 * gdb.objc/basicclass.exp: Likewise.
18998 * gdb.threads/killed.exp: Likewise.
18999
9d9bf2df
EBM
190002014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19001
19002 PR tdep/17379
19003 * gdb.arch/powerpc-stackless.S: New file.
19004 * gdb.arch/powerpc-stackless.exp: New file.
19005
1cf2f1b0
JK
190062014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19007
19008 * gdb.base/attach.c: Include unistd.h.
19009 (main): Call alarm. Add label postloop.
19010 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
19011 gdb_breakpoint, gdb_continue_to_breakpoint.
19012 (test_command_line_attach_run): Kill ${testpid} in one exit path.
19013
98880d46
PA
190142014-09-11 Pedro Alves <palves@redhat.com>
19015
19016 PR gdb/17347
19017 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
19018 * gdb.base/attach.exp (test_command_line_attach_run): New
19019 procedure.
19020 (top level): Call it.
19021
4c92ff2c
PA
190222014-09-11 Pedro Alves <palves@redhat.com>
19023
19024 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
19025 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
19026 (do_command_attach_tests): Use spawn_wait_for_attach.
19027 * gdb.base/solib-overlap.exp: Likewise.
19028 * gdb.multi/multi-attach.exp: Likewise.
19029 * gdb.python/py-prompt.exp: Likewise.
19030 * gdb.python/py-sync-interp.exp: Likewise.
19031 * gdb.server/ext-attach.exp: Likewise.
19032
3adc1a7d
GKB
190332014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
19034
19035 * gdb.fortran/array-element.exp: Remove unexpected "continue"
19036 command in testcase. Simplify testcase.
19037
96334934
JB
190382014-09-10 Joel Brobecker <brobecker@adacore.com>
19039
19040 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
19041
eb479039
JB
190422014-09-10 Joel Brobecker <brobecker@adacore.com>
19043
19044 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
19045
deede10c
JB
190462014-09-10 Joel Brobecker <brobecker@adacore.com>
19047
19048 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
19049
7828a5f5
JB
190502014-09-10 Joel Brobecker <brobecker@adacore.com>
19051
19052 * gdb.dwarf2/dynarr-ptr.c: New file.
19053 * gdb.dwarf2/dynarr-ptr.exp: New file.
19054
33aeebcf
MR
190552014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19056
19057 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
19058 of 30 rather than hardcoding 120 for a slow test case. Take the
19059 `gdb,timeout' target setting into account for this calculation.
19060 Don't extend the timeout for the test cases that don't need it.
19061
7b415901
MR
190622014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19063
19064 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
19065 a factor of 2 for a slow test case. Take the `gdb,timeout'
19066 target setting into account for this calculation.
19067 * gdb.reverse/until-precsave.exp: Increase the timeout by
19068 a factor of 15 and 3 respectively rather than adding 120
19069 for a pair of slow test cases. Take the `gdb,timeout'
19070 target setting into account for this calculation.
19071
4a40f85a
MR
190722014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19073
19074 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
19075 timeout, don't pass one down to gdb_expect.
19076 (gdb_expect): Rework timeout selection.
19077
09635af7
MR
190782014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19079
19080 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
19081 exception on timeout.
19082 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
19083 (gdbserver_start_extended): Catch any `gdbserver_start' error
19084 exceptions.
19085 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
19086 * lib/mi-support.exp (mi_gdb_target_load): Catch any
19087 `gdbserver_gdb_load' error exceptions.
19088
2bdd10b7
MR
190892014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19090
19091 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
19092 120 on waiting for the TCP socket to open.
19093
316935f0
DE
190942014-09-09 Doug Evans <xdje42@gmail.com>
19095
19096 * gdb.base/default.exp (show_conv_list): Add _caller_is,
19097 _caller_matches, _any_caller_is, _any_caller_matches.
19098
83740597
DE
190992014-09-09 Doug Evans <xdje42@gmail.com>
19100
19101 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
19102
4c122fc3
YQ
191032014-09-09 Yao Qi <yao@codesourcery.com>
19104
19105 * gdb.mi/mi-var-display.exp: Set print symbol off.
19106
a9f116cb
GKB
191072014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
19108
19109 PR gdb/17035
19110 * gdb.base/commands.exp: Add tests to verify user-defined
19111 commands with empty bodies.
19112 * gdb.python/py-cmd.exp: Test that we don't show user-defined
19113 python commands in `show user command`.
19114 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
19115 scheme commands in `show user command`.
19116
c75bd3a2
JK
191172014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19118
19119 PR python/17355
19120 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
19121 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
19122 * gdb.python/py-framefilter-invalidarg.exp: New file.
19123 * gdb.python/py-framefilter-invalidarg.py: New file.
19124
faa42425
DE
191252014-09-06 Doug Evans <xdje42@gmail.com>
19126
19127 PR 15276
19128 * gdb.python/py-caller-is.c: New file.
19129 * gdb.python/py-caller-is.exp: New file.
19130
474ca4f6
SDJ
191312014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
19132
19133 PR gdb/17235
19134 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
19135 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
19136
eb0b0463
SDJ
191372014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
19138
19139 PR fortran/17237
19140 * gdb.fortran/print-formatted.exp: New file.
19141 * gdb.fortran/print-formatted.f90: Likewise.
19142
5f3b99cf
SS
191432014-09-03 Sasha Smundak <asmundak@google.com>
19144
19145 * gdb.python/py-frame.exp: Test Frame.read_register.
19146
7d793aa9
SDJ
191472014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
19148
19149 PR python/16699
19150 * gdb.python/py-completion.exp: New file.
19151 * gdb.python/py-completion.py: Likewise.
19152
fb0576e9
DE
191532014-08-28 Doug Evans <dje@google.com>
19154
19155 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
19156 eax,etc. are live with values set by gdb and thus the compiler can't
19157 use them.
19158 * gdb.arch/i386-pseudo.c (main): Ditto.
19159
ee92b0dd
DE
191602014-08-27 Doug Evans <dje@google.com>
19161
19162 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
19163
6649db35
DE
191642014-08-25 Doug Evans <dje@google.com>
19165
19166 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
19167 (main): Ditto.
19168
564b7600
DE
191692014-08-25 Doug Evans <dje@google.com>
19170
19171 * gdb.threads/thread-execl.exp: #include <stdio.h>.
19172
3881fb67
YQ
191732014-08-24 Yao Qi <yao@codesourcery.com>
19174
19175 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
19176 symbol off.
19177 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
19178
a05a36a5
DE
191792014-08-22 Doug Evans <dje@google.com>
19180
19181 PR 17276
19182 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
19183 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
19184 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
19185
7c343b48
YQ
191862014-08-22 Yao Qi <yao@codesourcery.com>
19187
19188 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
19189 * gdb.python/py-finish-breakpoint2.exp: Likewise.
19190 * gdb.python/python.exp: Likewise. Use .py file on the host
19191 instead of the build.
19192
22fd09ae
JK
191932014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19194
19195 * gdb.threads/gcore-stale-thread.c: New file.
19196 * gdb.threads/gcore-stale-thread.exp: New file.
19197
a8454a7c
PA
191982014-08-21 Pedro Alves <palves@redhat.com>
19199
19200 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
19201 * gdb.base/gcore-relro-pie.exp: Likewise.
19202 * gdb.base/gcore-relro.exp: Likewise.
19203 * gdb.base/gcore.exp: Likewise.
19204 * gdb.base/print-symbol-loading.exp: Likewise.
19205 * gdb.threads/gcore-thread.exp: Likewise.
19206 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
19207
2a31c623
PA
192082014-08-20 Pedro Alves <palves@redhat.com>
19209 Jan Kratochvil <jan.kratochvil@redhat.com>
19210
19211 * Makefile.in (EXTRA_RULES, CC): New variables, get from
19212 configure.
19213 (EXPECT): Handle READ1 being set.
19214 (all): Depend on EXTRA_RULES.
19215 (check-read1, expect-read1, read1.so, read1): New rules.
19216 * README (Testsuite Parameters): Document the READ1 make variable.
19217 (Race detection): New section.
19218 * configure: Regenerate.
19219 * configure.ac: If build==host==target, and running under a
19220 GNU/glibc system, add read1 to the extra Makefile rules.
19221 (EXTRA_RULES): AC_SUBST it.
19222 * lib/read1.c: New file.
19223
d36430db
JB
192242014-08-20 Joel Brobecker <brobecker@adacore.com>
19225
19226 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
19227 the handling of variables declared as a typedef to an array
19228 which a DW_AT_data_location attribute.
19229
9a0dc9e3
PA
192302014-08-19 Andrew Burgess <aburgess@broadcom.com>
19231 Pedro Alves <palves@redhat.com>
19232
19233 PR symtab/14604
19234 PR symtab/14605
19235 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
19236 gdb_test.
19237
0718a8da
PA
192382014-08-19 Pedro Alves <palves@redhat.com>
19239
19240 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
19241
13b448cd
YQ
192422014-08-19 Yao Qi <yao@codesourcery.com>
19243
19244 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
19245 right line.
19246
1cbf5077
DB
192472014-08-18 David Blaikie <dblaikie@gmail.com>
19248
19249 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
19250
bf0fae19
JB
192512014-08-18 Joel Brobecker <brobecker@adacore.com>
19252
19253 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
19254 attribute in array range.
19255
3c8c5dcc
JB
192562014-08-18 Joel Brobecker <brobecker@adacore.com>
19257
19258 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
19259
e66d4446
SC
192602014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19261
19262 PR c++/17132
19263 * gdb.cp/pr17132.cc: New file.
19264 * gdb.cp/pr17132.exp: New file.
19265
940df408
SC
192662014-08-15 Siva Chandra Reddy <sivachandra@google.com>
19267
19268 * gdb.python/py-xmethods.py (A_getarrayind)
19269 (E_method_char_worker.__call__, E_method_int_worker.__call__):
19270 Use 'print' with function call syntax.
19271 (E_method_matcher.match): Fix tab vs space indentation mixup.
19272
ebcc6c3a
YQ
192732014-08-15 Yao Qi <yao@codesourcery.com>
19274
19275 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
19276 false.
19277
775e0f04
YQ
192782014-08-15 Yao Qi <yao@codesourcery.com>
19279
19280 * gdb.cp/casts.exp: Set print symbol off.
19281 * gdb.cp/class2.exp: Likewise.
19282 * gdb.cp/overload.exp: Likewise.
19283 * gdb.cp/templates.exp: Likewise.
19284
d769e349
DE
192852014-08-11 Doug Evans <dje@google.com>
19286
19287 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
19288 (test_load_shlib): Update.
19289
20c6f1e1
YQ
192902014-08-09 Yao Qi <yao@codesourcery.com>
19291
19292 * gdb.base/display.exp: Invoke is_address_zero_readable.
19293 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
19294 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19295 * gdb.base/hbreak-unmapped.exp: Return if
19296 is_address_zero_readable returns true.
19297 * gdb.base/signest.exp: Likewise.
19298 * gdb.base/signull.exp: Likewise.
19299 * gdb.base/sigbpt.exp: Likewise.
19300 * gdb.guile/scm-disasm.exp: Do the test if
19301 is_address_zero_readable returns false.
19302 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
19303 * gdb.python/py-arch.exp: Likewise.
19304 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
19305 * lib/gdb.exp (is_address_zero_readable): New proc.
19306
5792e8e3
YQ
193072014-08-09 Yao Qi <yao@codesourcery.com>
19308
19309 PR testsuite/13443
19310 * gdb.mi/mi-var-display.exp: Make test messages unique.
19311
3cecbbbe
TT
193122014-08-04 Tom Tromey <tromey@redhat.com>
19313
19314 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
19315 target 0".
19316
00b51ff5
TT
193172014-08-04 Tom Tromey <tromey@redhat.com>
19318
19319 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
19320 "target_resume".
19321
6908c509
JB
193222014-08-01 Joel Brobecker <brobecker@adacore.com>
19323
19324 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
19325 inner_vla_struct_object_size.
19326 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
19327 as xfail.
19328
cc6563d2
PA
193292014-07-30 Pedro Alves <palves@redhat.com>
19330
19331 * gdb.threads/signal-command-handle-nopass.exp (test): Add
19332 comment.
19333
7e09a223
YQ
193342014-07-29 Yao Qi <yao@codesourcery.com>
19335
19336 PR gdb/17206
19337 * gdb.base/until-nodebug.exp: New.
19338
7ebdbe92
DE
193392014-07-28 Doug Evans <xdje42@gmail.com>
19340
19341 PR guile/17203
19342 * gdb.guile/scm-parameter.exp: Add tests for trying to create
19343 previously existing parameter, and previously ambiguously spelled
19344 parameter.
19345
fdb1adc6
WN
193462014-07-28 Will Newton <will.newton@linaro.org>
19347
19348 * gdb.base/varargs.exp: Remove KFAILs for ARM.
19349
186fcde0
DE
193502014-07-26 Ludovic Courtès <ludo@gnu.org>
19351 Doug Evans <xdje42@gmail.com>
19352
19353 PR guile/17146
19354 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
19355
70509625
PA
193562014-07-25 Pedro Alves <palves@redhat.com>
19357
19358 * gdb.threads/signal-command-handle-nopass.c: New file.
19359 * gdb.threads/signal-command-handle-nopass.exp: New file.
19360 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
19361 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
19362 * gdb.threads/signal-delivered-right-thread.c: New file.
19363 * gdb.threads/signal-delivered-right-thread.exp: New file.
19364
c3f814a1
PA
193652014-07-25 Pedro Alves <palves@redhat.com>
19366
19367 * gdb.base/double-prompt-target-event-error.exp
19368 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
19369 match.
19370 (cancel_pagination_in_target_event): Rework double prompt
19371 detection.
19372 * gdb.base/paginate-after-ctrl-c-running.exp
19373 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
19374 <return>' match.
19375 * gdb.base/paginate-bg-execution.exp
19376 (test_bg_execution_pagination_return)
19377 (test_bg_execution_pagination_cancel): Remove '-notransfer
19378 <return>' matches.
19379 * gdb.base/paginate-execution-startup.exp
19380 (test_fg_execution_pagination_return)
19381 (test_fg_execution_pagination_cancel): Remove '-notransfer
19382 <return>' matches.
19383 * gdb.base/paginate-inferior-exit.exp
19384 (test_paginate_inferior_exited): Remove '-notransfer <return>'
19385 match.
19386 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
19387 * lib/gdb.exp (pagination_prompt): Run text through
19388 string_to_regexp.
19389 (gdb_test_multiple): Match $pagination_prompt instead of
19390 "<return>".
19391 (string_to_regexp): Move to lib/gdb-utils.exp.
19392
e214cf6c
JK
193932014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19394
19395 * gdb.arch/amd64-entry-value-paramref.S: New file.
19396 * gdb.arch/amd64-entry-value-paramref.cc: New file.
19397 * gdb.arch/amd64-entry-value-paramref.exp: New file.
19398 * gdb.arch/amd64-optimout-repeat.S: New file.
19399 * gdb.arch/amd64-optimout-repeat.c: New file.
19400 * gdb.arch/amd64-optimout-repeat.exp: New file.
19401
17d0c5c8
JK
194022014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19403
19404 PR gdb/17170
19405 * gdb.base/statistics.exp: New file.
19406
b8b8facf
DE
194072014-07-17 Doug Evans <dje@google.com>
19408
74b49205 19409 PR gdb/17170
b8b8facf
DE
19410 * gdb.base/maint.exp: Update testing of per-command stats.
19411
1b5d0ab3
PA
194122014-07-16 Pedro Alves <palves@redhat.com>
19413
19414 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
19415 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
19416 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
19417 (tfile_write_buf): New functions.
19418 (add_memory_block): Rewrite using the above.
19419 (adjust_function_address): New function.
19420 (FUNCTION_ADDRESS): New macro.
19421 (write_basic_trace_file): Remove short_x local, and use
19422 tfile_write_16. Change type of func_addr local to unsigned long
19423 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
19424 here. Cast argument of add_memory_block to char pointer.
19425 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
19426 (main): Remove parameters.
19427 * gdb.trace/tfile.exp: Remove nowarnings.
19428
4d974e88
SM
194292014-07-15 Simon Marchi <simon.marchi@ericsson.com>
19430
19431 * gdb.base/debug-expr.exp: Test string evaluation with
19432 "debug expression" on.
19433
41e99568
PA
194342014-07-15 Pedro Alves <palves@redhat.com>
19435
19436 * gdb.base/reread.exp: Use clean_restart.
19437
487d9753
PL
194382014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
19439
19440 * gdb.arch/avr-flash-qualifer.c: New.
19441 * gdb.arch/avr-flash-qualifer.exp: New.
19442
cc1c52ad
PA
194432014-07-14 Pedro Alves <palves@redhat.com>
19444
19445 * gdb.base/paginate-after-ctrl-c-running.c: New file.
19446 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
19447
1e973570
PA
194482014-07-14 Pedro Alves <palves@redhat.com>
19449
19450 * gdb.base/double-prompt-target-event-error.c: New file.
19451 * gdb.base/double-prompt-target-event-error.exp: New file.
19452
93d6eb10
PA
194532014-07-14 Pedro Alves <palves@redhat.com>
19454
19455 PR gdb/17072
19456 * gdb.base/paginate-inferior-exit.c: New file.
19457 * gdb.base/paginate-inferior-exit.exp: New file.
19458
0017922d
PA
194592014-07-14 Pedro Alves <palves@redhat.com>
19460
19461 PR gdb/17072
19462 * gdb.base/paginate-bg-execution.c: New file.
19463 * gdb.base/paginate-bg-execution.exp: New file.
19464
94696ad3
PA
194652014-07-14 Pedro Alves <palves@redhat.com>
19466
19467 PR gdb/17072
19468 * gdb.base/paginate-execution-startup.c: New file.
19469 * gdb.base/paginate-execution-startup.exp: New file.
19470 * lib/gdb.exp (pagination_prompt): New global.
19471 (default_gdb_spawn): New procedure, factored out from
19472 default_gdb_spawn.
19473 (default_gdb_start): Adjust to call default_gdb_spawn.
19474 (gdb_spawn): New procedure.
19475
bd293940
PA
194762014-07-14 Pedro Alves <palves@redhat.com>
19477
19478 * lib/gdb.exp (gdb_assert): New procedure.
19479 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
19480
c933f875
PA
194812014-07-14 Pedro Alves <palves@redhat.com>
19482
19483 * gdb.base/execution-termios.c: New file.
19484 * gdb.base/execution-termios.exp: New file.
19485
d98b7a16
TT
194862014-07-14 Tom Tromey <tromey@redhat.com>
19487
19488 * gdb.cp/vla-cxx.cc: New file.
19489 * gdb.cp/vla-cxx.exp: New file.
19490
548740d6
TT
194912014-07-14 Tom Tromey <tromey@redhat.com>
19492
19493 * gdb.reverse/rerun-prec.c: New file.
19494 * gdb.reverse/rerun-prec.exp: New file.
19495
a25eb028
MR
194962014-07-12 Maciej W. Rozycki <macro@mips.com>
19497 Maciej W. Rozycki <macro@codesourcery.com>
19498
19499 * lib/gdb-utils.exp: New file.
19500 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
19501 inline `gdb_init_command' processing.
19502 (gdb_start_cmd): Likewise.
19503 * lib/mi-support.exp (mi_run_cmd): Likewise.
19504 * README: Document `gdb_init_command' and `gdb_init_commands'.
19505
218c2655
JK
195062014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19507
19508 Fix false FAIL running under a very long directory name.
19509 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
19510 and "set print elements 10000". Twice.
19511
5401fde3
YQ
195122014-07-11 Yao Qi <yao@codesourcery.com>
19513
19514 * gdb.base/exprs.exp: "set print symbol off".
19515
e76126e8
PA
195162014-07-11 Pedro Alves <palves@redhat.com>
19517
19518 * gdb.threads/kill.c: New file.
19519 * gdb.threads/kill.exp: New file.
19520
2d6f0de6
YQ
195212014-07-10 Yao Qi <yao@codesourcery.com>
19522
19523 * gdb.trace/tfile.c (write_basic_trace_file)
19524 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
19525 address written to trace file.
19526
7180e04a
PA
195272014-07-09 Pedro Alves <palves@redhat.com>
19528
19529 * gdb.base/attach-wait-input.exp: New file.
19530 * gdb.base/attach-wait-input.c: New file.
19531
9a9a7608
AB
195322014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
19533
19534 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
19535 setting up test structures.
19536 (main): Call new test function.
19537 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
19538 test function, continue into test function and walk test
19539 structures.
19540
161ac41e
YQ
195412014-07-02 Yao Qi <yao@codesourcery.com>
19542
19543 * gdb.trace/entry-values.c: Define labels 'foo_start' and
19544 'bar_start' at the beginning of functions 'foo' and 'bar'
19545 respectively.
19546 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
19547 instead of 'foo' and 'bar'.
19548
1f267ae3
MM
195492014-07-08 Markus Metzger <markus.t.metzger@intel.com>
19550
19551 * gdb.btrace/segv.exp: New.
19552 * gdb.btrace/segv.c: New.
19553
2b239efb
LM
195542014-07-02 Luis Machado <lgustavo@codesourcery.com>
19555
19556 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
19557 instruction.
19558
cf363f18
MW
195592014-06-30 Mark Wielaard <mjw@redhat.com>
19560
19561 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
19562 vulture, vilify, villar): New volatile array constants.
19563 (vindictive, vegetation): New const volatile array constants.
19564 * gdb.base/volatile.exp: Test volatile and const volatile array
19565 types.
19566
aebf9d24
AA
195672014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
19568
19569 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
19570 target lacks support for awatch, rwatch, or hbreak.
19571
b67a2c6f
YQ
195722014-06-27 Yao Qi <yao@codesourcery.com>
19573
19574 * gdb.multi/dummy-frame-restore.exp: New.
19575 * gdb.multi/dummy-frame-restore.c: New.
19576
aef92902
MM
195772014-06-25 Markus Metzger <markus.t.metzger@intel.com>
19578
19579 * gdb.btrace/gcore.exp: New.
19580
8e9db26e
PA
195812014-06-23 Pedro Alves <palves@redhat.com>
19582
19583 * gdb.base/watchpoint-reuse-slot.c: New file.
19584 * gdb.base/watchpoint-reuse-slot.exp: New file.
19585
70afc5b7
SC
195862014-06-23 Siva Chandra Reddy <sivachandra@google.com>
19587
19588 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
19589 progspace's filename in 'info', 'enable' and 'disable' command
19590 tests.
19591
b972bd9c
JK
195922014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
19593
19594 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
19595 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19596 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
19597
125f8a3d
GB
195982014-06-20 Gary Benson <gbenson@redhat.com>
19599
19600 * gdb.arch/i386-avx.exp: Fix include file location.
19601 * gdb.arch/i386-sse.exp: Likewise.
19602
3ed9baed
IB
196032014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
19604
19605 * gdb.dlang/expression.exp: New file.
19606
034f788c
PA
196072014-06-19 Pedro Alves <palves@redhat.com>
19608
19609 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
19610 out from ...
19611 (top level): ... here. Iterate running tests under different
19612 scheduler-locking settings.
19613
45371d0c
LM
196142014-06-18 Luis Machado <lgustavo@codesourcery.com>
19615
19616 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
19617 to DW_FORM_addr and use non-zero addresses.
19618
5d376983
SC
196192014-06-18 Siva Chandra Reddy <sivachandra@google.com>
19620
19621 PR gdb/17017
19622 * gdb.python/py-xmethods.cc: Add global function call counters and
19623 increment them in their respective functions. Remove "cout"
19624 statements.
19625 * gdb.python/py-xmethods.exp: Make tests check the global function
19626 call counters instead of depending on inferior IO.
19627
a1aa2221
LM
196282014-06-18 Don Breazeal <donb@codesourcery.com>
19629
19630 * gdb.base/foll-fork.exp (default_fork_parent_follow):
19631 Deleted procedure.
19632 (explicit_fork_parent_follow): Deleted procedure.
19633 (explicit_fork_child_follow): Deleted procedure.
19634 (test_follow_fork): New procedure.
19635 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 19636 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
19637 procedure calls.
19638
0fc05997
YQ
196392014-06-17 Yao Qi <yao@codesourcery.com>
19640
19641 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
19642 CP1252.
19643
70795c52
LM
196442014-06-17 Luis Machado <lgustavo@codesourcery.com>
19645
19646 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
19647 Initialize ptr and S explicitly.
19648 (skip_type_update_when_not_use_rtti_test): Likewise.
19649
6be47f0c
KS
196502014-06-16 Keith Seitz <keiths@redhat.com>
19651
19652 PR mi/15863
19653 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
19654 the inferior is started.
19655
d03de421
PA
196562014-06-16 Pedro Alves <palves@redhat.com>
19657
19658 * gdb.base/break-main-file-remove-fail.c: New file.
19659 * gdb.base/break-main-file-remove-fail.exp: New file.
19660 * gdb.base/break-unload-file.exp: Use build_executable instead of
19661 prepare_for_testing.
19662 (test_break): New parameter "initial_load". Handle it.
19663 (top level): Add initial_load cmdline/file axis.
19664
f9579b99
TT
196652014-06-12 Tom Tromey <tromey@redhat.com>
19666
19667 * gdb.base/completion.exp: Don't use directory name in test.
19668
3657956b
GB
196692014-06-09 Gary Benson <gbenson@redhat.com>
19670
19671 * gdb.base/sigall.c [Functions to send signals]: Reorder to
19672 separate the always-available ANSI-standard signals from the
19673 signals that require checking.
19674 (main): Likewise.
19675 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
19676 Likewise.
19677 (main): Likewise.
19678
4186eb54
KS
196792014-06-07 Keith Seitz <keiths@redhat.com>
19680
19681 Revert:
19682 PR c++/16253
19683 * gdb.cp/var-tag.cc: New file.
19684 * gdb.cp/var-tag.exp: New file.
19685 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19686 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19687 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19688 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19689
25326a28 196902014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
19691
19692 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
19693
829155c9
PA
196942014-06-06 Pedro Alves <palves@redhat.com>
19695
19696 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
19697 in target debug output instead of looking at RSP packets,
19698 disabling the test on any target that uses hardware stepping.
19699 Update comments.
19700
61c8d22e
PA
197012014-06-06 Pedro Alves <palves@redhat.com>
19702
19703 * gdb.base/break-unload-file.exp: Fix typo.
19704
d9a47287
YQ
197052014-06-06 Yao Qi <yao@codesourcery.com>
19706
19707 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
19708 from "jit_function" to "^jit_function".
19709
e5e01dbf
YQ
197102014-06-06 Yao Qi <yao@codesourcery.com>
19711
19712 * gdb.base/async.c (foo): Add one statement.
19713 * gdb.base/async.exp: Get the next instruction address and
19714 match the output of "nexti" by instruction address. Match
19715 the hex address in the output of "finish".
19716
73ba372c
GB
197172014-06-06 Gary Benson <gbenson@redhat.com>
19718
19719 * gdb.base/call-signals.c: Remove preprocessor conditionals
19720 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
19721 SIGSEGV and SIGTERM.
19722 * gdb.base/sigall.c: Likewise.
19723 * gdb.base/unwindonsignal.c: Likewise.
19724 * gdb.reverse/sigall-reverse.c: Likewise.
19725
831517df
YQ
197262014-06-06 Yao Qi <yao@codesourcery.com>
19727
19728 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
19729 readable, skip the test.
19730
b8b91e98
YQ
197312014-06-06 Yao Qi <yao@codesourcery.com>
19732
19733 * gdb.threads/staticthreads.c (thread_function): Move the line
19734 setting breakpoint on forward.
19735 * gdb.threads/staticthreads.exp: Update comments.
19736
fb934770
LC
197372014-06-05 Ludovic Courtès <ludo@gnu.org>
19738
19739 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
19740 "history-append! type error".
19741
6ef284bd
SM
197422014-06-05 Simon Marchi <simon.marchi@ericsson.com>
19743
19744 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
19745 erroneous dprintf expected input.
19746
a872e241
DE
197472014-06-04 Doug Evans <xdje42@gmail.com>
19748
19749 * gdb.guile/scm-generics.exp: Delete.
19750
16f691fb
DE
197512014-06-04 Doug Evans <xdje42@gmail.com>
19752
19753 * gdb.guile/scm-breakpoint.exp: Update.
19754 Add tests for breakpoint registration.
19755
012370f6
TT
197562014-06-04 Tom Tromey <tromey@redhat.com>
19757
19758 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
19759 VLA-in-union.
19760 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
19761 inner_vla_struct, vla_union types. Initialize objects of those
19762 types and compute their sizes.
19763
9f5a4cef
HZ
197642014-06-04 Nathan Sidwell <nathan@codesourcery.com>
19765 Hui Zhu <hui@codesourcery.com>
19766
19767 * gdb.base/fileio.exp: Add test for shell not available as well as
19768 available.
19769 * gdb.base/fileio.c (test_system): Check for shell twice.
19770
90a45c4d
YQ
197712014-06-04 Yao Qi <yao@codesourcery.com>
19772
19773 * gdb.base/auto-connect-native-target.exp: Remove redundant
19774 space from the regexp pattern.
19775
70017e41
YQ
197762014-06-04 Yao Qi <yao@codesourcery.com>
19777
19778 * gdb.base/default.exp: Replace "child" with "native" in
19779 regexp pattern.
19780
883964a7
SC
197812014-06-03 Siva Chandra Reddy <sivachandra@google.com>
19782
19783 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
19784 * gdb.python/py-xmethods.exp: New tests to test xmethods.
19785 * gdb.python/py-xmethods.py: Python script supporting the
19786 new testcase and tests.
19787
ef370185
JB
197882014-06-03 Joel Brobecker <brobecker@adacore.com>
19789 Pedro Alves <palves@redhat.com>
19790
19791 PR breakpoints/17000
19792 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
19793 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
19794
1e2ccb61
BM
197952014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
19796
19797 * gdb.base/subst.exp: Add tests to verify partial path matching
19798 output.
19799
c6ec5ab2
PA
198002014-06-03 Pedro Alves <palves@redhat.com>
19801
19802 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
19803 target that doesn't use software single-stepping.
19804
835c559f
PA
198052014-06-03 Pedro Alves <palves@redhat.com>
19806
19807 PR breakpoints/17000
19808 * gdb.base/sss-bp-on-user-bp-2.c: New file.
19809 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
19810
06eb1586
DE
198112014-06-02 Doug Evans <xdje42@gmail.com>
19812
19813 * gdb.guile/scm-parameter.exp: New file.
19814
e698b8c4
DE
198152014-06-02 Doug Evans <xdje42@gmail.com>
19816
19817 * gdb.guile/scm-cmd.c: New file.
19818 * gdb.guile/scm-cmd.exp: New file.
19819
ded03782
DE
198202014-06-02 Doug Evans <xdje42@gmail.com>
19821
19822 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
19823 pretty-printer lookup.
19824 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
19825 (make-pp_s-printer): Call it.
19826 (make-pretty-printer-from-dict): New function.
19827 (lookup-pretty-printer-maker-from-dict): New function.
19828 (*pretty-printer*): Simplify.
19829 (make-objfile-pp_s-printer): New function.
19830 (install-objfile-pretty-printers!): New function.
19831 (make-progspace-pp_s-printer): New function.
19832 (install-progspace-pretty-printers!): New function.
19833 * gdb.guile/scm-progspace.c: New file.
19834 * gdb.guile/scm-progspace.exp: New file.
19835
41fac0cf
PA
198362014-06-02 Pedro Alves <palves@redhat.com>
19837
19838 * gdb.base/dprintf-bp-same-addr.c: New file.
19839 * gdb.base/dprintf-bp-same-addr.exp: New file.
19840
96ae5695
EBM
198412014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19842
19843 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
19844 * gdb.arch/powerpc-power.s: Likewise.
19845
da02b3a8
JB
198462014-06-02 Joel Brobecker <brobecker@adacore.com>
19847
19848 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
19849
c72b2e7b
YQ
198502014-06-01 Yao Qi <yao@codesourcery.com>
19851
19852 * gdb.base/watchpoint.exp (test_watch_location): Check null
19853 pointer can be dereferenced. If not, do the test, otherwise
19854 skip it.
19855
53e8a631
AB
198562014-05-30 Andrew Burgess <aburgess@broadcom.com>
19857
19858 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
19859 results.
19860 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
19861
938f0e2f
AB
198622014-05-30 Andrew Burgess <aburgess@broadcom.com>
19863
19864 * gdb.arch/amd64-invalid-stack-middle.S: New file.
19865 * gdb.arch/amd64-invalid-stack-middle.c: New file.
19866 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
19867 * gdb.arch/amd64-invalid-stack-top.c: New file.
19868 * gdb.arch/amd64-invalid-stack-top.exp: New file.
19869
9ba6657a
PA
198702014-05-30 Pedro Alves <palves@redhat.com>
19871
19872 PR breakpoints/17000
19873 * gdb.base/sss-bp-on-user-bp.c: New file.
19874 * gdb.base/sss-bp-on-user-bp.exp: New file.
19875
522c09bf
DB
198762014-05-30 David Blaikie <dblaikie@gmail.com>
19877
19878 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
19879 gnu_inline semantics via attribute.
19880 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
19881 source explicitly specifies the required semantics.
19882
bf4ef81e
MR
198832014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
19884
19885 * gdb.reverse/sigall-reverse.exp: Fix a typo.
19886
329ea579
PA
198872014-05-29 Pedro Alves <palves@redhat.com>
19888 Tom Tromey <tromey@redhat.com>
19889
19890 * gdb.base/async-shell.exp: Don't enable target-async.
19891 * gdb.base/async.exp
19892 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
19893 parameter. Adjust.
19894 (top level): Don't test with "target-async".
19895 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
19896 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
19897 * gdb.base/inferior-died.exp: Don't enable target-async.
19898 * gdb.base/interrupt-noterm.exp: Likewise.
19899 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
19900 * gdb.mi/mi-nonstop-exit.exp: Likewise.
19901 * gdb.mi/mi-nonstop.exp: Likewise.
19902 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
19903 * gdb.mi/mi-nsintrall.exp: Likewise.
19904 * gdb.mi/mi-nsmoribund.exp: Likewise.
19905 * gdb.mi/mi-nsthrexec.exp: Likewise.
19906 * gdb.mi/mi-watch-nonstop.exp: Likewise.
19907 * gdb.multi/watchpoint-multi.exp: Adjust comment.
19908 * gdb.python/py-evsignal.exp: Don't enable target-async.
19909 * gdb.python/py-evthreads.exp: Likewise.
19910 * gdb.python/py-prompt.exp: Likewise.
19911 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
19912 * gdb.server/solib-list.exp: Don't enable target-async.
19913 * gdb.threads/thread-specific-bp.exp: Likewise.
19914 * lib/mi-support.exp: Adjust to use mi-async.
19915
fd664c91
PA
199162014-05-29 Pedro Alves <palves@redhat.com>
19917
19918 PR gdb/13860
19919 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
19920 reason, even in sync mode.
19921
251bde03
PA
199222014-05-29 Pedro Alves <palves@redhat.com>
19923 Hui Zhu <hui@codesourcery.com>
19924
19925 PR PR15693
19926 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
19927 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
19928 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
19929 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
19930
7f3c0343
JB
199312014-05-28 Joel Brobecker <brobecker@adacore.com>
19932
19933 * config/monitor.exp (gdb_target_monitor): Replace use of
19934 "set remotebaud" by "set serial baud".
19935
b2715b27
AW
199362014-05-26 Andy Wingo <wingo@igalia.com>
19937
19938 * gdb.guile/scm-breakpoint.exp:
19939 * gdb.guile/scm-gsmob.exp: Update to use plain old object
19940 properties instead of gdb-object-properties.
19941
498a4489
YQ
199422014-05-26 Yao Qi <yao@codesourcery.com>
19943
19944 * gdb.server/no-thread-db.exp: Specify source file name
19945 explicitly when setting a breakpoint.
19946
589fdceb
MM
199472014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19948
19949 * gdb.btrace/vdso.c: New.
19950 * gdb.btrace/vdso.exp: New.
19951
e9089e05
MM
199522014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19953
19954 * gdb.base/gcore.exp (capture_command_output): Move ...
19955 * lib/gdb.exp (capture_command_output): ... here.
19956
67b5c0c1
MM
199572014-05-23 Markus Metzger <markus.t.metzger@intel.com>
19958
19959 * gdb.btrace/data.exp: Test memory access during btrace replay.
19960
a2199296
SM
199612014-05-22 Simon Marchi <simon.marchi@ericsson.com>
19962
19963 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
19964
17b2616c
PA
199652014-05-21 Pedro Alves <palves@redhat.com>
19966
19967 PR gdb/13860
19968 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
19969 (top level): Test that output related to execution commands is
19970 sent to the console with CLI commands, but not with MI commands.
19971 Test that breakpoint events are always mirrored to the console.
19972 Also expect the new source line to be output after a "next" in
19973 async mode too. Make it a pass/fail test.
19974 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
19975 output.
19976 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
19977
5166082f
PA
199782014-05-21 Pedro Alves <palves@redhat.com>
19979
19980 * gdb.base/list.exp (build_pattern, test_list): New procedures.
19981 Use them to test variations of "list" after reaching a breakpoint.
19982 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
19983 Test "list" with listsize 10 after reaching a breakpoint.
19984 * gdb.python/python.exp (decode_line current location line
19985 number): Adjust expected line number.
19986
2f25d70f
SM
199872014-05-21 Simon Marchi <simon.marchi@ericsson.com>
19988
19989 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
19990 behavior for $args, pass it directly to "run".
19991
ff604a67
MR
199922014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
19993
19994 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
19995 30000 to 65536.
19996
6a3cb8e8
PA
199972014-05-21 Pedro Alves <palves@redhat.com>
19998
19999 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
20000 auto-connect-native-target off".
20001 * gdb.base/auto-connect-native-target.c: New file.
20002 * gdb.base/auto-connect-native-target.exp: New file.
20003
4ebfc96e
PA
200042014-05-21 Pedro Alves <palves@redhat.com>
20005
20006 * gdb.base/default.exp: Test "target native" instead of "target
20007 child".
20008
36d46afb
MW
200092014-05-21 Mark Wielaard <mjw@redhat.com>
20010
20011 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
20012
5876f503
JK
200132014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20014
20015 Fix TLS access for -static -pthread.
20016 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
20017 <HAVE_TLS> (thread_function, main): Initialize it.
20018 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
20019 Add clean_restart.
20020 <$have_tls != "">: Check TLSVAR.
20021
0256a6ac
PA
200222014-05-21 Pedro Alves <palves@redhat.com>
20023
20024 * gdb.base/dcache-line-read-error.c: New.
20025 * gdb.base/dcache-line-read-error.exp: New.
20026
936d2992
PA
200272014-05-20 Pedro Alves <palves@redhat.com>
20028
20029 * gdb.base/compare-sections.c: New file.
20030 * gdb.base/compare-sections.exp: New file.
20031
802e8e6d
PA
200322014-05-20 Pedro Alves <palves@redhat.com>
20033
20034 * gdb.base/break-idempotent.c: New file.
20035 * gdb.base/break-idempotent.exp: New file.
20036
e59fa00f
MM
200372014-05-20 Markus Metzger <markus.t.metzger@intel.com>
20038
20039 * gdb.btrace/nohist.exp: New.
20040
8b696e31
YQ
200412014-05-20 Yao Qi <yao@codesourcery.com>
20042
20043 * lib/gdb.exp (gdb_init): Set timeout if test file is under
20044 gdb.reverse directory and gdb_reverse_timeout exists in board
20045 setting.
20046 * README: Document gdb_reverse_timeout.
20047
73c9764f
YQ
200482014-05-20 Yao Qi <yao@codesourcery.com>
20049
20050 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
20051 'test_file_name'. Treat args as a string instead of a list.
20052 (gdb_init): Rename argument 'args' by 'test_file_name'.
20053
f1f4348a
JK
200542014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
20055
20056 * gdb.arch/powerpc-power.exp: New file.
20057 * gdb.arch/powerpc-power.s: New file.
20058
0dbe70ce
DE
200592014-05-16 Doug Evans <dje@google.com>
20060
20061 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
20062 * gdb.base/completion.exp: Check that all expected files exist
20063 before doing file completion.
0dbe70ce 20064
8d551b02
DE
200652014-05-16 Doug Evans <dje@google.com>
20066
20067 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
20068 Update.
20069 (do_syscall_tests_without_xml): Update.
20070
73eb7709
PA
200712014-05-16 Pedro Alves <palves@redhat.com>
20072
20073 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
20074 instead of "unknown output after running".
20075
3fae92fc
YQ
200762014-05-16 Yao Qi <yao@codesourcery.com>
20077
20078 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
20079 file1.txt from host at the end.
20080 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20081
c2b2ccc5
DE
200822014-05-15 Doug Evans <dje@google.com>
20083
20084 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
20085 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
20086 loading file. Add test for TU lookup.
20087
8c217a4b
SM
200882014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20089
20090 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
20091 calling "-exec-arguments" or "set args" before running the
20092 inferior.
20093
3deb39c6
SM
200942014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20095
20096 * lib/mi-support.exp (mi_expect_stop): Expect message for
20097 inferiors that exit with non-zero exit code.
20098
71a79f8c
YQ
200992014-05-14 Yao Qi <yao@codesourcery.com>
20100
20101 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
20102 match absolute path on remote host.
20103 (test_file_list_exec_source_files): Remove "/" from the
20104 pattern.
20105
f23fcd46
YQ
201062014-05-14 Yao Qi <yao@codesourcery.com>
20107
20108 * boards/local-remote-host-notty.exp (${board}_file): New
20109 proc.
20110
9404b58f
KM
201112014-05-07 Kyle McMartin <kyle@redhat.com>
20112
20113 Pushed by Joel Brobecker <brobecker@adacore.com>.
20114 * gdb.arch/aarch64-atomic-inst.c: New file.
20115 * gdb.arch/aarch64-atomic-inst.exp: New file.
20116
5e45f04c
YQ
201172014-05-07 Yao Qi <yao@codesourcery.com>
20118
20119 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
20120 in current context" too.
20121
c888a17d
KS
201222014-05-05 Keith Seitz <keiths@redhat.com>
20123
20124 * gdb.linespec/ls-dollar.exp: Add test for linespec
20125 file:convenience_variable.
20126
290a839c
YQ
201272014-05-05 Yao Qi <yao@codesourcery.com>
20128
20129 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
20130 traceframes into tfile and ctf trace files. Read data from
20131 trace file and test collected data.
20132 (gdb_collect_locals_test): Likewise.
20133 (gdb_unavailable_registers_test): Likewise.
20134 (gdb_unavailable_floats): Likewise.
20135 (gdb_collect_globals_test): Likewise.
20136 (top-level): Append "ctf" to trace_file_targets if GDB
20137 supports.
20138
b5262cd0
YQ
201392014-05-05 Yao Qi <yao@codesourcery.com>
20140
20141 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
20142 code to ...
20143 (gdb_collect_args_test_1): ... it. New proc.
20144 (gdb_collect_locals_test): Move some code to ...
20145 (gdb_collect_locals_test_1): ... it. New proc.
20146 (gdb_unavailable_registers_test): Move some code to ...
20147 (gdb_unavailable_registers_test_1): ... it. New proc.
20148 (gdb_unavailable_floats): Move some code to ...
20149 (gdb_unavailable_floats_1): ... it. New proc.
20150
30a1e6cc
SDJ
201512014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20152
20153 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
20154 probes to test for bitness recognition.
20155 * gdb.arch/amd64-stap-optional-prefix.exp
20156 (test_probe_value_without_reg): New procedure.
20157 Add code to test for different kinds of bitness.
20158
f33da99a
SDJ
201592014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
20160
20161 PR breakpoints/16889
20162 * gdb.arch/amd64-stap-optional-prefix.S: New file.
20163 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20164
5b80f00d
PA
201652014-05-01 Pedro Alves <palves@redhat.com>
20166
20167 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
20168 gdb_file_cmd if no file is specified.
20169 * boards/native-extended-gdbserver.exp (gdb_load): Use the
20170 last_loaded_file to set the remote exec-file.
20171
f8c2a73c
PA
201722014-05-01 Pedro Alves <palves@redhat.com>
20173
20174 * boards/local-remote-host.exp: New file.
20175
be6e8ac7
PA
201762014-05-01 Pedro Alves <palves@redhat.com>
20177
20178 * boards/local-remote-host.exp: Rename to ...
20179 * boards/local-remote-host-notty.exp: ... this.
20180
cac0dc8f
JB
201812014-04-28 Joel Brobecker <brobecker@adacore.com>
20182
20183 * gdb.ada/dyn_arrayidx: New testcase.
20184
9730e6cc
YQ
201852014-04-26 Yao Qi <yao@codesourcery.com>
20186
20187 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
20188 and compute the length of function main. Save it in
20189 $main_length.
20190 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
20191 (top-level): Use gdb_compile to compile objects into
20192 executable and restart GDB. Remove invocation to
20193 prepare_for_testing.
20194
7ae1a6a6
PA
201952014-04-25 Simon Marchi <simon.marchi@ericsson.com>
20196 Pedro Alves <palves@redhat.com>
20197
20198 PR server/16255
20199 * gdb.multi/multi-attach.c: New file.
20200 * gdb.multi/multi-attach.exp: New file.
20201
4082afcc
PA
202022014-04-25 Pedro Alves <palves@redhat.com>
20203
20204 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
20205 user.
20206 (top level): Test that "set remote conditional-breakpoints-packet
20207 off" works as intended.
20208 * gdb.base/dprintf.exp: Test that "set remote
20209 breakpoint-commands-packet off" works as intended.
20210 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
20211 New function.
20212 (top level): Call it.
20213 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
20214 remote fast-tracepoints-packet off" works as intended.
20215 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
20216 * lib/gdb.exp (gdb_is_target_remote): ... here.
20217
2abc3f8d
DB
202182014-04-24 David Blaikie <dblaikie@gmail.com>
20219
20220 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
20221 ensure clang would not discard them.
20222 * gdb.base/gdbvars.c: Ditto.
20223 * gdb.base/memattr.c: Ditto.
20224 * gdb.base/whatis.c: Ditto.
20225 * gdb.python/py-prettyprint.c: Ditto.
20226 * gdb.trace/actions.c: Ditto.
20227 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
20228 ensure clang would not discard it.
20229
bfd39632
DB
202302014-04-24 David Blaikie <dblaikie@gmail.com>
20231
20232 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
20233 clang to emit the full definition of type required by the test
20234 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
20235
22842ff6
DB
202362014-04-24 David Blaikie <dblaikie@gmail.com>
20237
20238 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
20239 coax Clang into emitting the definition of the type.
20240 * gdb.cp/pr10728-x.h (y): Ditto.
20241 * gdb.cp/pr10728-y.cc (y): Ditto.
20242
c2e827ad
DB
202432014-04-24 David Blaikie <dblaikie@gmail.com>
20244
20245 * gdb.base/label.exp: XFAIL label related tests under Clang.
20246 * gdb.cp/cplabel.exp: Ditto.
20247 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
20248 under Clang those using labels.
20249
4c2d33e7
YQ
202502014-04-25 Yao Qi <yao@codesourcery.com>
20251
20252 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
20253 double_label.
20254 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
20255 partial_label and double_label.
20256
56083b99
DB
202572014-04-24 David Blaikie <dblaikie@gmail.com>
20258
20259 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
20260
25d4e99d
DB
202612014-04-24 David Blaikie <dblaikie@gmail.com>
20262
20263 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
20264 of the function to work across GCC and Clang.
20265 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
20266 pointer types (const void ** const V void **).
20267
01f9f808
MS
202682014-04-24 Michael Sturm <michael.sturm@mintel.com>
20269 Walfred Tedeschi <walfred.tedeschi@intel.com>
20270
20271 * Makefile.in (EXECUTABLES): Added i386-avx512.
20272 * gdb.arch/i386-avx512.c: New file.
20273 * gdb.arch/i386-avx512.exp: Likewise.
20274
4b48d439
KS
202752014-04-23 Keith Seitz <keiths@redhat.com>
20276
20277 * lib/mi-support.exp (mi_list_breakpoints): Delete.
20278 (mi_make_breakpoint_table): New procedure.
20279 (mi_create_breakpoint): Use mi_make_breakpoint
20280 and return the result.
20281 (mi_make_breakpoint): New procedure.
20282 (mi_build_kv_pairs): New procedure.
20283
20284 * gdb.mi/mi-break.exp: Remove unused globals,
20285 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
20286 All callers updated.
20287 * gdb.mi/mi-dprintf.exp: Use variable to track command
20288 number.
20289 Update all callers of mi_create_breakpoint and use
20290 mi_make_breakpoint_table.
20291 Remove any unused global variables.
20292 * gdb.mi/mi-nonstop.exp: Likewise.
20293 * gdb.mi/mi-nsintrall.exp: Likewise.
20294 * gdb.mi/mi-nsmoribund.exp: Likewise.
20295 * gdb.mi/mi-nsthrexec.exp: Likewise.
20296 * gdb.mi/mi-reverse.exp: Likewise.
20297 * gdb.mi/mi-simplerun.exp: Likewise.
20298 * gdb.mi/mi-stepn.exp: Likewise.
20299 * gdb.mi/mi-syn-frame.exp: Likewise.
20300 * gdb.mi/mi-until.exp: Likewise.
20301 * gdb.mi/mi-var-cp.exp: Likewise.
20302 * gdb.mi/mi-var-display.exp: Likewise.
20303 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
20304 * gdb.mi/mi2-var-child.exp: Likewise.
20305 * gdb.mi/mi-vla-c99.exp: Likewise.
20306 * lib/mi-support.exp: Likewise.
20307
20308 From Ian Lance Taylor <iant@cygnus.com>:
20309 * lib/gdb.exp (parse_args): New procedure.
20310
08351840
PA
203112014-04-23 Pedro Alves <palves@redhat.com>
20312
20313 * gdb.base/break-unload-file.c: New file.
20314 * gdb.base/break-unload-file.exp: New file.
20315 * gdb.base/sym-file-lib.c (baz): New function.
20316 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
20317 field.
20318 (load): Store the segment's mapped size.
20319 (unload): New function.
20320 (unload_shlib): New function.
20321 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
20322 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
20323 set a breakpoint at baz, and call it.
20324 * gdb.base/sym-file.exp: New tests for stale breakpoint
20325 instructions.
20326
076855f9
PA
203272014-04-23 Pedro Alves <palves@redhat.com>
20328
20329 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
20330 * gdb.base/hbreak-in-shr-unsupported.c: New file.
20331 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
20332 * gdb.base/hbreak-unmapped.c: New file.
20333 * gdb.base/hbreak-unmapped.exp: New file.
20334 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
20335 * lib/gdb.exp (gdb_is_target_remote): ... here.
20336
483805cf
PA
203372014-04-22 Pedro Alves <palves@redhat.com>
20338
20339 * gdb.base/consecutive-step-over.c: New file.
20340 * gdb.base/consecutive-step-over.exp: New file.
20341
06d97543
PA
203422014-04-22 Pedro Alves <palves@redhat.com>
20343
20344 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
20345 instead of send_gdb/gdb_expect.
20346
b4429ea2
YQ
203472014-04-22 Yao Qi <yao@codesourcery.com>
20348
20349 * lib/trace-support.exp (generate_tracefile): New procedure.
20350 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
20351 return 0.
20352 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
20353 if generate_tracefile returns 1.
20354
51d48146
PA
203552014-04-18 Tom Tromey <palves@redhat.com>
20356 Pedro alves <tromey@redhat.com>
20357
20358 PR backtrace/15558
20359 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
20360 with a backtrace limit.
20361 * gdb.python/py-frame-inline.exp: Test running to an inline
20362 function with a backtrace limit, and printing the newest frame.
20363 * gdb.python/py-frame-inline.c (main): Call f.
20364
bd1dce5f
MS
203652014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20366
20367 * gdb.java/jnpe.exp: Drop srcdir from untested path.
20368
40d1a503
MS
203692014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
20370
20371 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
20372 Drop prefix from unsupported source file path.
20373
389b98f7
YQ
203742014-04-17 Yao Qi <yao@codesourcery.com>
20375
20376 * lib/gdb.exp (with_target_charset): New proc.
20377 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
20378 with_target_charset.
20379 (test_print_strings): Likewise.
20380 (test_repeat_bytes): Likewise.
20381 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
20382 for some tests.
20383
22869d73
KS
203842014-04-16 Keith Seitz <keiths@redhat.com>
20385
20386 PR gdb/15827
20387 * gdb.dwarf2/corrupt.c: New file.
20388 * gdb.dwarf2/corrupt.exp: New file.
20389
c4f87ca6
KS
203902014-04-16 Keith Seitz <keiths@redhat.com>
20391
20392 PR c++/16597
20393 * gdb.cp/namelessclass.cc: New file.
20394 * gdb.cp/namelessclass.exp: New file.
20395 * gdb.cp/namelessclass.S: New file.
20396
ab19de87
DE
203972014-04-16 Doug Evans <dje@google.com>
20398
20399 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
20400 Add comment.
20401 (gdbserver_default_get_comm_port): New function.
20402 (gdbserver_start): Check if board file provided
20403 "gdbserver,get_comm_port" and use it if so.
20404 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
20405 (gdb,socketport): Set to "stdio".
20406 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
20407 (stdio_gdbserver_template): Delete.
20408 (${board}_get_remote_address): Update.
20409 (${board}_build_remote_cmd): Delete.
20410 (${board}_get_comm_port): New function.
20411 (${board}_spawn): Update.
20412 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
20413 Delete.
20414 (${board}_get_remote_address): Update.
20415 (${board}_get_comm_port): New function.
20416
fc98a809
AB
204172014-04-16 Andrew Burgess <aburgess@broadcom.com>
20418
20419 * gdb.base/memattr.exp: Improve regexps to handle memory regions
20420 appearing in any order.
20421
87fd9e6e
DE
204222014-04-15 Doug Evans <dje@google.com>
20423
20424 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
20425 uninitialized value of "description".
20426
099fc3ea
KS
204272014-04-15 Keith Seitz <keiths@redhat.com>
20428
20429 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
20430 Remove unused globals.
20431 (test_running_the_program): Likewise.
20432 (test_controlled_execution): Likewise.
20433 (test_controlling_breakpoints): Likewise.
20434 (test_program_termination): Likewise.
20435
5da151d4
KS
204362014-04-15 Keith Seitz <keiths@redhat.com>
20437
20438 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
20439 unused globals.
20440 (test_rbreak_creation_and_listing): Likewise.
20441 (test_ignore_count): Likewise.
20442 (test_error): Likewise.
20443
35e5d2f0
PA
204442014-04-15 Pedro Alves <palves@redhat.com>
20445
20446 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
20447 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
20448 sym-file-loader.c.
20449 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20450 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20451 to sym-file-loader.c.
20452 (struct library): Forward declare.
20453 (load_shlib, lookup_function): Change prototypes.
20454 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20455 (translate_offset): Remove declarations.
20456 (get_text_addr): New declaration.
20457 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
20458 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
20459 sym-file-loader.h.
20460 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
20461 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
20462 here from sym-file-loader.h.
20463 (struct library): New structure.
20464 (load_shlib, lookup_function): Change prototypes and adjust to
20465 work with a struct library.
20466 (find_shstrtab, find_strtab, find_shdr, find_symtab)
20467 (translate_offset): Make static.
20468 (get_text_addr): New function.
20469 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
20470
eb4c1710
PA
204712014-04-15 Pedro Alves <palves@redhat.com>
20472
20473 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
20474
2d1baf52
PA
204752014-04-15 Pedro Alves <palves@redhat.com>
20476
20477 * gdb.base/sym-file-loader.c: Include <limits.h>.
20478 (SELF_LINK): New define.
20479 (get_origin): New function.
20480 (load_shlib): Use it.
20481 * gdb.base/sym-file.exp: Don't early return if the target is
20482 remote. Use runto_main, and issue fail is that fails. Use
20483 gdb_load_shlibs.
20484 (shlib_name): Delete.
20485 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
20486
7dd6df01
PA
204872014-04-15 Pedro Alves <palves@redhat.com>
20488
20489 * gdb.base/sym-file.exp: Remove regex characters from test
20490 message. Don't refer to breakpoint numbers in test messages.
20491
b50c8614
KS
204922014-04-14 Keith Seitz <keiths@redhat.com>
20493
20494 PR c++/16253
20495 * gdb.cp/var-tag.cc: New file.
20496 * gdb.cp/var-tag.exp: New file.
20497 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20498 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20499 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20500 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20501
3d567982
TT
205022014-04-14 Tom Tromey <tromey@redhat.com>
20503
20504 * gdb.cp/classes.exp (test_enums): Handle underlying type.
20505 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
20506 type.
20507 * gdb.cp/enum-class.exp: New file.
20508 * gdb.cp/enum-class.cc: New file.
20509
0626fc76
TT
205102014-04-14 Tom Tromey <tromey@redhat.com>
20511
20512 * gdb.dwarf2/enum-type.exp: New file.
20513
dca325b3
SA
205142014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20515
20516 * gdb.mi/mi-vla-c99.exp: New file.
20517 * gdb.mi/vla.c: New file.
20518
5854b38a
SA
205192014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20520
20521 * gdb.base/vla-datatypes.c: New file.
20522 * gdb.base/vla-datatypes.exp: New file.
20523
463bb957
SA
205242014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20525
20526 * gdb.base/vla-ptr.c: New file.
20527 * gdb.base/vla-ptr.exp: New file.
20528
3dd170be
SA
205292014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20530
20531 * gdb.dwarf2/count.exp: New file.
20532
5ecaaa66
SA
205332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
20534
20535 * gdb.base/vla-sideeffect.c: New file.
20536 * gdb.base/vla-sideeffect.exp: New file.
20537
41f1ada5
DB
205382014-04-14 David Blaikie <dblaikie@gmail.com>
20539
20540 * gdb.mi/non-stop.c: Add return value for non-void function return
20541 statement.
20542 * gdb.threads/staticthreads.c: Ditto.
20543
0be03e84
DE
205442014-04-12 Siva Chandra Reddy <sivachandra@google.com>
20545 Doug Evans <xdje42@gmail.com>
20546
20547 * gdb.guile/scm-value.c: Improve test case.
20548 * gdb.guile/scm-value.exp: Add new test.
20549
f180a1fb
DB
205502014-04-11 David Blaikie <dblaikie@gmail.com>
20551
20552 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
20553 override Clang's default.
20554
6b662e19
JB
205552014-04-11 Joel Brobecker <brobecker@adacore.com>
20556
20557 Revert the following changes (regressions):
20558
20559 * gdb.base/vla-sideeffect.c: New file.
20560 * gdb.base/vla-sideeffect.exp: New file.
20561
20562 * gdb.dwarf2/count.exp: New file.
20563
20564 * gdb.base/vla-multi.c: New file.
20565 * gdb.base/vla-multi.exp: New file.
20566
20567 * gdb.base/vla-ptr.c: New file.
20568 * gdb.base/vla-ptr.exp: New file.
20569
20570 * gdb.base/vla-datatypes.c: New file.
20571 * gdb.base/vla-datatypes.exp: New file.
20572
20573 * gdb.mi/mi-vla-c99.exp: New file.
20574 * gdb.mi/vla.c: New file.
20575
245a5f0b
KS
205762014-04-11 Keith Seitz <keiths@redhat.com>
20577
20578 PR c++/16675
20579 * gdb.cp/cpsizeof.exp: New file.
20580 * gdb.cp/cpsizeof.cc: New file.
20581
58a84dcf
SA
205822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20583
191a8a90
JB
20584 * gdb.mi/mi-vla-c99.exp: New file.
20585 * gdb.mi/vla.c: New file.
58a84dcf 20586
c8655f75
SA
205872014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20588
20589 * gdb.base/vla-datatypes.c: New file.
20590 * gdb.base/vla-datatypes.exp: New file.
20591
024e13b4
SA
205922014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20593
20594 * gdb.base/vla-ptr.c: New file.
20595 * gdb.base/vla-ptr.exp: New file.
20596
1a237e0e
SA
205972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20598
20599 * gdb.base/vla-multi.c: New file.
20600 * gdb.base/vla-multi.exp: New file.
20601
504f3432
SA
206022014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20603
20604 * gdb.dwarf2/count.exp: New file.
20605
3bce8237
SA
206062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
20607
191a8a90
JB
20608 * gdb.base/vla-sideeffect.c: New file.
20609 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 20610
322f9c21
YQ
206112014-04-11 Yao Qi <yao@codesourcery.com>
20612
20613 * gdb.base/completion.exp: Check file exists before running tests
20614 on file completion.
20615
d708bcd1
PA
206162014-04-10 Pedro Alves <palves@redhat.com>
20617
20618 * gdb.base/cond-eval-mode.c: New file.
20619 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
20620 prepare_for_testing to build the new file. Check result of
20621 runto_main.
20622 (test_break, test_watch): New procedures.
20623 (top level): Use them.
20624
ae1d2761
PM
206252014-04-08 Pierre Muller <muller@sourceware.org>
20626
20627 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
20628 Ctrl-V use for mingw hosts.
20629
7af389b8
SC
206302014-04-07 Siva Chandra Reddy <sivachandra@google.com>
20631
20632 * gdb.python/py-value.c: Improve test case.
20633 * gdb.python/py-value.exp: Add new test.
20634
5e703181
DE
206352014-04-07 David Blaikie <dblaikie@gmail.com>
20636
20637 * lib/compiler.c: Identify the clang compiler.
20638 * lib/compiler.cc: Ditto.
20639
9810b410
YQ
206402014-04-03 Yao Qi <yao@codesourcery.com>
20641
20642 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
20643
98d1b8dc
AB
206442014-04-01 Anton Blanchard <anton@samba.org>
20645
20646 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
20647 messages unique.
20648
3114cea1
AB
206492014-04-01 Anton Blanchard <anton@samba.org>
20650
20651 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
20652 prepare_for_testing.
20653
62f7182c
AB
206542014-04-01 Anton Blanchard <anton@samba.org>
20655
20656 * gdb.arch/ppc64-atomic-inst.c: Remove.
20657 * gdb.arch/ppc64-atomic-inst.S: New file.
20658 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
20659
770e7fc7
DE
206602014-03-31 Doug Evans <dje@google.com>
20661
20662 * gdb.base/print-symbol-loading-lib.c: New file.
20663 * gdb.base/print-symbol-loading-main.c: New file.
20664 * gdb.base/print-symbol-loading.exp: New file.
20665
46e2bafa
YQ
206662014-03-31 Yao Qi <yao@codesourcery.com>
20667
20668 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
20669
8776cfe9
JB
206702014-03-28 Joel Brobecker <brobecker@adacore.com>
20671
20672 * gdb.ada/mi_dyn_arr: New testcase.
20673
5d1ef361
DE
206742014-03-27 Doug Evans <dje@google.com>
20675
20676 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
20677
b5bee914
YQ
206782014-03-27 Yao Qi <yao@codesourcery.com>
20679
20680 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
20681 if target is nios2-*-*.
20682
0d4d0e77
YQ
206832014-03-26 Yao Qi <yao@codesourcery.com>
20684
20685 * lib/gdb.exp (readline_is_used): New proc.
20686 * gdb.base/completion.exp: Move tests on command complete up.
20687 Skip the rest of tests if readline is not used.
20688 * gdb.ada/complete.exp: Skp the test if readline is not
20689 used.
20690 * gdb.base/filesym.exp: Likewise.
20691 * gdb.base/macscp.exp: Likewise.
20692 * gdb.base/readline-ask.exp: Likewise.
20693 * gdb.base/readline.exp: Likewise.
20694 * gdb.python/py-cmd.exp: Likewise.
20695 * gdb.trace/tfile.exp: Likewise.
20696
29361eee
YQ
206972014-03-26 Yao Qi <yao@codesourcery.com>
20698
20699 * gdb.base/macscp.exp: Fix code format issues.
20700
bc9a5525
UW
207012014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
20702
20703 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
20704 * gdb.asm/powerpc64le.inc: New file.
20705
d3839ede
PA
207062014-03-25 Pedro Alves <palves@redhat.com>
20707 Doug Evans <dje@google.com>
20708
20709 * gdb.base/source-execution.c: New file.
20710 * gdb.base/source-execution.exp: New file.
20711 * gdb.base/source-execution.gdb: New file.
20712
01672a57
DE
207132014-03-24 Doug Evans <dje@google.com>
20714
20715 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
20716 using fission.
20717
88bbeca9
HZ
207182014-03-24 Hui Zhu <hui@codesourcery.com>
20719 Pedro Alves <palves@redhat.com>
20720
20721 PR breakpoints/16101
20722 * gdb.base/dprintf.exp: Use unsupported rather than changing the
20723 test pass/fail messages. Detect missing support for dprintf when
20724 breakpoints are actually inserted.
20725 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
20726 breakpoints are actually inserted.
20727 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
20728 fails.
20729
d2348791
JK
207302014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
20731
20732 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
20733
feef67ab
DE
207342014-03-22 Doug Evans <xdje42@gmail.com>
20735
20736 * gdb.python/python.exp (python not supported): Verify multi-line
20737 python command issues an error.
25d743f9 20738 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 20739 guile command issues an error.
feef67ab 20740
ecebef6a
MR
207412014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
20742
20743 * gdb.threads/thread-specific.exp: Handle the lack of usable
20744 $this_breakpoint and $this_thread.
20745
ccdd1909
HZ
207462014-03-21 Hui Zhu <hui@codesourcery.com>
20747
20748 * gdb.base/attach.exp (do_command_attach_tests): New.
20749
beb460e8
PA
207502014-03-20 Tom Tromey <tromey@redhat.com>
20751 Pedro Alves <palves@redhat.com>
20752
20753 PR cli/15718
20754 * gdb.base/condbreak-call-false.c: New file.
20755 * gdb.base/condbreak-call-false.exp: New file.
20756
40acf43a
PA
207572014-03-20 Pedro Alves <palves@redhat.com>
20758
20759 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
20760 Delete.
20761 (block_signals, unblock_signals): Delete.
20762 (child_function_2, main): Remove references to deleted variable
20763 and functions.
20764
9f5e1e02
PA
207652014-03-20 Pedro Alves <palves@redhat.com>
20766
20767 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
20768 Use pthread_kill to signal thread 2.
20769 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20770 Adjust to make the test send itself a signal rather than using the
20771 host's "kill" command.
20772
99619bea
PA
207732014-03-20 Pedro Alves <palves@redhat.com>
20774
20775 * gdb.threads/multiple-step-overs.c: New file.
20776 * gdb.threads/multiple-step-overs.exp: New file.
20777 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20778 Adjust expected infrun debug output.
20779
2adfaa28
PA
207802014-03-20 Pedro Alves <palves@redhat.com>
20781
20782 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
20783 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
20784
31e77af2
PA
207852014-03-20 Pedro Alves <palves@redhat.com>
20786
20787 PR breakpoints/7143
20788 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
20789 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
20790 of gdb_test_multiple.
20791 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
20792 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
20793
b9f437de
PA
207942014-03-20 Pedro Alves <palves@redhat.com>
20795
20796 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
20797 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
20798
05adc73e
PA
207992014-03-19 Pedro Alves <palves@redhat.com>
20800
20801 * gdb.base/async.exp: Remove early return.
20802
6048b950
PA
208032014-03-19 Pedro Alves <palves@redhat.com>
20804
20805 * gdb.base/async.exp (step& tests): Pass explicit test messages.
20806
8bcfb00a
PA
208072014-03-19 Pedro Alves <palves@redhat.com>
20808
20809 * gdb.base/async.exp (test_background): Expect \r\n after
20810 "completed." in the fail pattern.
20811
884e37dc
PA
208122014-03-19 Pedro Alves <palves@redhat.com>
20813
20814 * gdb.base/async.exp (test_background): New procedure.
20815 Use it for all background execution command tests.
20816
148e57e2
PA
208172014-03-19 Pedro Alves <palves@redhat.com>
20818
20819 * gdb.base/async.exp: Use prepare_for_testing.
20820
f48088c7
PA
208212014-03-19 Pedro Alves <palves@redhat.com>
20822
20823 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
20824 the same line.
20825
e2f6c966
PA
208262014-03-19 Pedro Alves <palves@redhat.com>
20827
20828 * gdb.base/async.c (main): Add "jump here" and "until here" line
20829 marker comments.
20830 * gdb.base/async.exp (jump_here): New global.
20831 (jump& test): Use it.
20832 (until_here): New global.
20833 (until& test): Use it.
20834
c30568d4
PA
208352014-03-19 Pedro Alves <palves@redhat.com>
20836
20837 * gdb.base/async.exp: Don't frob gdb_protocol.
20838
0172b6a7
DE
208392014-03-18 Doug Evans <xdje42@gmail.com>
20840
20841 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
20842 Fix spelling of exec-done-display.
20843
06c868a8
JK
208442014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
20845
20846 PR gdb/15358
20847 * gdb.base/gdb-sigterm.c: New file.
20848 * gdb.base/gdb-sigterm.exp: New file.
20849
0c7e1a46
PA
208502014-03-18 Pedro Alves <palves@redhat.com>
20851
20852 PR gdb/13860
20853 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
20854 * lib/mi-support.exp (mi_expect_stop): Add special handling for
20855 solib-event.
20856
f7c77d93
JB
208572014-03-17 Joel Brobecker <brobecker@adacore.com>
20858
20859 * gdb.ada/pckd_arr_ren: New testcase.
20860
5a1e8c7a
DE
208612014-03-13 Doug Evans <xdje42@gmail.com>
20862
20863 PR guile/16612
20864 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
20865 collect after discarding symbols.
20866
350e1a76
DE
208672014-03-13 Ludovic Courtès <ludo@gnu.org>
20868 Doug Evans <xdje42@gmail.com>
20869
20870 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
20871 to history survives a gc.
20872
a69900ae
PA
208732014-03-13 Pedro Alves <palves@redhat.com>
20874
20875 * gdb.base/default.exp: Don't test "target procfs".
20876
5db9f0bd
PA
208772014-03-13 Pedro Alves <palves@redhat.com>
20878
20879 * gdb.base/default.exp: Update "target child" and "target procfs"
20880 tests to not expect "Unix".
20881
b3ccfe11
TT
208822014-03-12 Tom Tromey <tromey@redhat.com>
20883
20884 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
20885 New procs. Add target-async tests.
20886 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
20887 Add target-async tests.
20888
646f4417
AA
208892014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20890
20891 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
20892 'func_start' and 'func_end' for the beginning and end of the
20893 function code, respectively.
20894 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
20895 'func_end' instead of 'func' and 'main'.
20896
288c211f
AA
208972014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20898
20899 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
20900 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
20901 generate the debug info assembler source.
20902
e0c0f156
AA
209032014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20904
20905 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
20906 * gdb.dwarf2/arr-subrange.exp: Likewise.
20907 * gdb.dwarf2/dwz.exp: Likewise.
20908 * gdb.dwarf2/method-ptr.exp: Likewise.
20909 * gdb.dwarf2/missing-sig-type.exp: Likewise.
20910 * gdb.dwarf2/subrange.exp: Likewise.
20911 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
20912 * gdb.dwarf2/implptrpiece.exp: Likewise.
20913 * gdb.dwarf2/nostaticblock.exp: Likewise.
20914
0e5c4555
AA
209152014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20916
20917 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
20918 directory to absolute path name arguments.
20919
5ec18f2b
JG
209202014-03-10 Joel Brobecker <brobecker@adacore.com>
20921
20922 * gdb.ada/tagged_access: New testcase.
20923
847fc4f2
MM
209242014-03-07 Markus Metzger <markus.t.metzger@intel.com>
20925
20926 * gdb.btrace/data.exp: Update expected output.
20927
cc3da688
YQ
209282014-03-06 Yao Qi <yao@codesourcery.com>
20929
20930 * gdb.trace/pr16508.exp: New file.
20931
0f26cec1
PA
209322014-03-05 Pedro Alves <palves@redhat.com>
20933
20934 PR gdb/16575
20935 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
20936 procedure.
20937 (top level): Adjust to use it. Add tests that exercise breakpoint
20938 interaction with the code-cache.
20939
7a5a839f
LC
209402014-02-26 Ludovic Courtès <ludo@gnu.org>
20941
20942 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
20943 test for 'history-append!'.
20944
31aa7e4e
JB
209452014-02-26 Joel Brobecker <brobecker@adacore.com>
20946
20947 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
20948 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
20949 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
20950 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
20951 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
20952 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
20953
1b588015
JB
209542014-02-26 Joel Brobecker <brobecker@adacore.com>
20955
20956 * testsuite/gdb.python/py-pp-re-notag.c: New file.
20957 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
20958 * testsuite/gdb.python/py-pp-re-notag.p: New file.
20959
55426c9d
JB
209602014-02-26 Joel Brobecker <brobecker@adacore.com>
20961
20962 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
20963
dc53a7ad
JB
209642014-02-26 Joel Brobecker <brobecker@adacore.com>
20965
20966 * gdb.dwarf2/arr-stride.c: New file.
20967 * gdb.dwarf2/arr-stride.exp: New file.
20968
12ab52e9
PA
209692014-02-26 Pedro Alves <palves@redhat.com>
20970
20971 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
20972 that won't ever trigger. Make sure that GDB reports the correct
20973 breakpoint that caused the stop.
20974
849c862e
JK
209752014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20976
20977 PR gdb/16626
20978 * gdb.base/auto-load-script: New file.
20979 * gdb.base/auto-load.c: New file.
20980 * gdb.base/auto-load.exp: New file.
20981
71b7d793
JK
20982 PR gdb/16626
20983 * gdb.base/auto-load.exp: Fix out-of-srctree run.
20984
e2f0d509
JK
209852014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
20986
20987 Fix dw2-icycle.exp -fsanitize=address GDB crash.
20988 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
20989
50cc37c8
DE
209902014-02-24 Doug Evans <dje@google.com>
20991
20992 * lib/gdb.exp (run_on_host): Log error output if program fails.
20993
ea4758f2
PA
209942014-02-21 Pedro Alves <palves@redhat.com>
20995
20996 * gdb.threads/step-after-sr-lock.c: Rename to ...
20997 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
20998 * gdb.threads/step-after-sr-lock.exp: Rename to ...
20999 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21000 ... this.
21001
d7b30f67
SDJ
210022014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
21003
21004 PR tdep/16397
21005 * gdb.arch/amd64-stap-special-operands.exp: New file.
21006 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
21007 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
21008 * gdb.arch/amd64-stap-triplet.S: Likewise.
21009 * gdb.arch/amd64-stap-triplet.c: Likewise.
21010
83deb43f
JB
210112014-02-20 Joel Brobecker <brobecker@adacore.com>
21012
21013 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
21014 in .section pseudo-op.
21015
adde2bff
DE
210162014-02-20 lin zuojian <manjian2006@gmail.com>
21017 Joel Brobecker <brobecker@adacore.com>
21018 Doug Evans <xdje42@gmail.com>
21019
21020 PR symtab/16581
21021 * gdb.dwarf2/dw2-icycle.S: New file.
21022 * gdb.dwarf2/dw2-icycle.c: New file.
21023 * gdb.dwarf2/dw2-icycle.exp: New file.
21024
f7bd0f78
SC
210252014-02-19 Siva Chandra Reddy <sivachandra@google.com>
21026
21027 * gdb.python/py-value-cc.cc: Improve test case to enable testing
21028 operations on gdb.Value objects.
21029 * gdb.python/py-value-cc.exp: Add new test to test operations on
21030 gdb.Value objects.
21031
c17ef0d5
DE
210322014-02-18 Doug Evans <dje@google.com>
21033
21034 * Makefile.in (TESTS): New variable.
21035 (expanded_tests, expanded_tests_or_none): New variables
21036 (check-single): Pass $(expanded_tests_or_none) to runtest.
21037 (check-parallel): Only run tests in $(TESTS) if non-empty.
21038 (check/no-matching-tests-found): New rule.
21039 * README: Document TESTS makefile variable.
21040
5dd3176f
DE
210412014-02-18 Doug Evans <dje@google.com>
21042
21043 * Makefile.in (check-parallel): rm -rf outputs temp.
21044
0b10be4f
JK
210452014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21046
21047 Fix "ERROR: no fileid for" in the testsuite.
21048 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
21049
85f224e7
DE
210502014-02-12 Doug Evans <dje@google.com>
21051
21052 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
21053 (MISCELLANEOUS): New variable.
21054 (clean): rm -rf $(MISCELLANEOUS).
21055 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
21056 dwp live in the same directory as symlinks, with each symlink pointed
21057 to a differently named file in a different directory.
21058
149b30ff
DE
210592014-02-11 Doug Evans <dje@google.com>
21060
21061 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
21062 of Tcl file commands.
21063
1dfdac32
MK
210642014-02-10 Mark Kettenis <kettenis@gnu.org>
21065
21066 * gdb.threads/step-after-sr-lock.exp: Avoid executing
21067 "kill -SIGUSR1 -1".
21068
aa4fb036
JB
210692014-02-10 Joel Brobecker <brobecker@adacore.com>
21070
21071 * gdb.ada/tick_length_array_enum_idx: New testcase.
21072
ed3ef339
DE
210732014-02-10 Doug Evans <xdje42@gmail.com>
21074
21075 * configure.ac (AC_OUTPUT): Add gdb.guile.
21076 * configure: Regenerate.
21077 * lib/gdb-guile.exp: New file.
21078 * lib/gdb.exp (get_target_charset): New function.
21079 * gdb.base/help.exp: Update expected output from "apropos apropos".
21080 * gdb.guile/Makefile.in: New file.
21081 * gdb.guile/guile.exp: New file.
21082 * gdb.guile/scm-arch.c: New file.
21083 * gdb.guile/scm-arch.exp: New file.
21084 * gdb.guile/scm-block.c: New file.
21085 * gdb.guile/scm-block.exp: New file.
21086 * gdb.guile/scm-breakpoint.c: New file.
21087 * gdb.guile/scm-breakpoint.exp: New file.
21088 * gdb.guile/scm-disasm.c: New file.
21089 * gdb.guile/scm-disasm.exp: New file.
21090 * gdb.guile/scm-equal.c: New file.
21091 * gdb.guile/scm-equal.exp: New file.
21092 * gdb.guile/scm-error.exp: New file.
21093 * gdb.guile/scm-error.scm: New file.
21094 * gdb.guile/scm-frame-args.c: New file.
21095 * gdb.guile/scm-frame-args.exp: New file.
21096 * gdb.guile/scm-frame-args.scm: New file.
21097 * gdb.guile/scm-frame-inline.c: New file.
21098 * gdb.guile/scm-frame-inline.exp: New file.
21099 * gdb.guile/scm-frame.c: New file.
21100 * gdb.guile/scm-frame.exp: New file.
21101 * gdb.guile/scm-generics.exp: New file.
21102 * gdb.guile/scm-gsmob.exp: New file.
21103 * gdb.guile/scm-iterator.c: New file.
21104 * gdb.guile/scm-iterator.exp: New file.
21105 * gdb.guile/scm-math.c: New file.
21106 * gdb.guile/scm-math.exp: New file.
21107 * gdb.guile/scm-objfile-script-gdb.in: New file.
21108 * gdb.guile/scm-objfile-script.c: New file.
21109 * gdb.guile/scm-objfile-script.exp: New file.
21110 * gdb.guile/scm-objfile.c: New file.
21111 * gdb.guile/scm-objfile.exp: New file.
21112 * gdb.guile/scm-ports.exp: New file.
21113 * gdb.guile/scm-pretty-print.c: New file.
21114 * gdb.guile/scm-pretty-print.exp: New file.
21115 * gdb.guile/scm-pretty-print.scm: New file.
21116 * gdb.guile/scm-section-script.c: New file.
21117 * gdb.guile/scm-section-script.exp: New file.
21118 * gdb.guile/scm-section-script.scm: New file.
21119 * gdb.guile/scm-symbol.c: New file.
21120 * gdb.guile/scm-symbol.exp: New file.
21121 * gdb.guile/scm-symtab-2.c: New file.
21122 * gdb.guile/scm-symtab.c: New file.
21123 * gdb.guile/scm-symtab.exp: New file.
21124 * gdb.guile/scm-type.c: New file.
21125 * gdb.guile/scm-type.exp: New file.
21126 * gdb.guile/scm-value-cc.cc: New file.
21127 * gdb.guile/scm-value-cc.exp: New file.
21128 * gdb.guile/scm-value.c: New file.
21129 * gdb.guile/scm-value.exp: New file.
21130 * gdb.guile/source2.scm: New file.
21131 * gdb.guile/types-module.cc: New file.
21132 * gdb.guile/types-module.exp: New file.
21133
7026a7c1
YQ
211342014-02-10 Yao Qi <yao@codesourcery.com>
21135
21136 PR testsuite/16543
21137 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
21138 * configure: Regenerated.
21139 * Makefile.in: New file.
21140
6c466447
AS
211412014-02-08 Andreas Schwab <schwab@linux-m68k.org>
21142
21143 * gdb.python/py-framefilter.exp: Fix typo.
21144
6e854735
YQ
211452014-02-08 Yao Qi <yao@codesourcery.com>
21146
21147 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
21148 that no =breakpoint-modified is emitted when breakpoints are
21149 modified through MI commands.
21150
d137e6dc
PA
211512014-02-07 Pedro Alves <pedro@codesourcery.com>
21152 Pedro Alves <palves@redhat.com>
21153
21154 * gdb.threads/step-after-sr-lock.c: New file.
21155 * gdb.threads/step-after-sr-lock.exp: New file.
21156
b5ee5a50
PA
211572014-02-07 Pedro Alves <palves@redhat.com>
21158
21159 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
21160
3c77faf3
JK
211612014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
21162
21163 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
21164 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
21165
6dddc817
DE
211662014-02-06 Doug Evans <xdje42@gmail.com>
21167
21168 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
21169 output.
21170
21171 * gdb.gdb/python-interrupts.exp: New file.
21172
de7b2893
YQ
211732014-02-05 Yao Qi <yao@codesourcery.com>
21174
21175 * gdb.trace/report.exp (use_collected_data): Test the output
21176 of "info threads" and "info inferiors".
21177
66d032ac
YQ
211782014-02-05 Yao Qi <yao@codesourcery.com>
21179
21180 Revert this patch:
21181
21182 2013-05-24 Yao Qi <yao@codesourcery.com>
21183
21184 * gdb.trace/tfile.exp: Test inferior and thread.
21185
591a12a1
UW
211862014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21187
21188 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
21189 on a function.
21190 * gdb.base/step-bt.c: Call hello via function pointer to make
21191 sure its first instruction is executed on powerpc64le-linux.
21192
0ff3e01f
UW
211932014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21194
21195 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
21196
084ee545
UW
211972014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21198
21199 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
21200 of the test patterns for use on little-endian systems.
21201
6ed14ff3
UW
212022014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
21203
21204 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
21205 (decimal_vector): Fix for little-endian.
21206
401e27fd
JM
212072014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
21208
21209 * gdb.arch/sparc-sysstep.exp: New file.
21210 * gdb.arch/sparc-sysstep.c: Likewise.
21211
21212 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
21213
8b924729
EBM
212142014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21215
21216 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
21217
fb151210
JB
212182014-01-23 Tom Tromey <tromey@redhat.com>
21219
21220 * gdb.ada/array_char_idx: New testcase.
21221
0740f8d8
TT
212222014-01-23 Tom Tromey <tromey@redhat.com>
21223
21224 PR python/16487:
21225 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
21226 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
21227 classes.
21228
21909fa1
TT
212292014-01-23 Tom Tromey <tromey@redhat.com>
21230
21231 PR python/16491:
21232 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
21233 string from an inferior frame.
21234 * gdb.python/py-framefilter-mi.exp: Update.
21235
87ce2a04
DE
212362014-01-22 Doug Evans <dje@google.com>
21237
21238 * gdb.server/server-mon.exp: Add tests for "set debug-format".
21239
237b092b
AA
212402014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21241
21242 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
21243
d674a709
AA
212442014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21245
21246 * gdb.trace/entry-values.exp: Remove excess space character from
21247 regex patterns. Handle s390 call instruction.
21248
20fa3390
AA
212492014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21250
21251 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
21252 define "*_start" label. Make "name" static.
21253 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
21254 ${name} by references to ${name}_start.
21255
78466714
AA
212562014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
21257
21258 * gdb.base/info-macros.exp: Remove "debug" from the compile
21259 options.
21260
ec9f644a
IB
212612014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21262
21263 * gdb.dlang/demangle.exp: New file.
21264
94b1b47e
IB
212652014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21266
21267 * gdb.dlang/primitive-types.exp: New file.
21268
7f420862
IB
212692014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
21270
21271 * configure.ac: Create gdb.dlang/Makefile.
21272 * configure: Regenerate.
21273 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
21274 * gdb.dlang/Makefile.in: New file.
21275 * lib/d-support.exp: New file.
21276 * lib/gdb.exp (skip_d_tests): New proc.
21277
52834460
MM
212782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21279
21280 * gdb.btrace/delta.exp: Check reverse stepi.
21281 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
21282 * gdb.btrace/finish.exp: New.
21283 * gdb.btrace/next.exp: New.
21284 * gdb.btrace/nexti.exp: New.
21285 * gdb.btrace/record_goto.c: Add comments.
21286 * gdb.btrace/step.exp: New.
21287 * gdb.btrace/stepi.exp: New.
21288 * gdb.btrace/multi-thread-step.c: New.
21289 * gdb.btrace/multi-thread-step.exp: New.
21290 * gdb.btrace/rn-dl-bind.c: New.
21291 * gdb.btrace/rn-dl-bind.exp: New.
21292 * gdb.btrace/data.c: New.
21293 * gdb.btrace/data.exp: New.
21294 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21295
6e07b1d2
MM
212962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21297
21298 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
21299 * gdb.btrace/exception.exp: Update.
21300 * gdb.btrace/instruction_history.exp: Update.
21301 * gdb.btrace/record_goto.exp: Update.
21302 * gdb.btrace/tailcall.exp: Update.
21303 * gdb.btrace/unknown_functions.exp: Update.
21304 * gdb.btrace/delta.exp: New.
21305
0b722aec
MM
213062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21307
21308 * gdb.btrace/record_goto.exp: Add backtrace test.
21309 * gdb.btrace/tailcall.exp: Add backtrace test.
21310
066ce621
MM
213112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21312
21313 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
21314 * gdb.btrace/record_goto.c: New.
21315 * gdb.btrace/record_goto.exp: New.
21316 * gdb.btrace/x86-record_goto.S: New.
21317
0688d04e
MM
213182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21319
21320 * gdb.btrace/function_call_history.exp: Update tests.
21321 * gdb.btrace/instruction_history.exp: Update tests.
21322
8710b709
MM
213232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21324
21325 * gdb.btrace/function_call_history.exp: Fix expected field
21326 order for "record function-call-history".
21327 Add new tests for "record function-call-history /c".
21328 * gdb.btrace/exception.cc: New.
21329 * gdb.btrace/exception.exp: New.
21330 * gdb.btrace/tailcall.exp: New.
21331 * gdb.btrace/x86-tailcall.S: New.
21332 * gdb.btrace/x86-tailcall.c: New.
21333 * gdb.btrace/unknown_functions.c: New.
21334 * gdb.btrace/unknown_functions.exp: New.
21335 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
21336
5de9129b
MM
213372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21338
21339 * gdb.btrace/instruction_history.exp: Update.
21340 * gdb.btrace/function_call_history.exp: Update.
21341
23a7fe75
MM
213422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21343
21344 * gdb.btrace/function_call_history.exp: Fix expected function
21345 trace.
21346 * gdb.btrace/instruction_history.exp: Initialize traced.
21347 Remove traced_functions.
21348
724c7dd8
MM
213492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21350
21351 * gdb.btrace/function_call_history.exp: Update
21352 * gdb.btrace/instruction_history.exp: Update.
21353
6d78d93b
MM
213542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
21355
21356 * gdb.btrace/enable.exp: Update expected text.
21357
93a360cc
OJ
213582014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
21359
21360 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
21361 bytes.
21362
3772b53f
MR
213632014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
21364
21365 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
21366
596662fa
OJ
213672014-01-15 Omair Javaid <omair.javaid@linaro.org>
21368
21369 * lib/gdb.exp (supports_process_record): Return true for
21370 arm*-linux*. (supports_reverse): Likewise.
21371
b5b08fb4
SC
213722014-01-13 Siva Chandra Reddy <sivachandra@google.com>
21373
21374 PR python/15464
21375 PR python/16113
21376 * gdb.python/py-type.c: Enhance test case.
21377 * gdb.python/py-value-cc.cc: Likewise
21378 * gdb.python/py-type.exp: Add new tests.
21379 * gdb.python/py-value-cc.exp: Likewise
21380
52d7fb13
AA
213812014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
21382 Pedro Alves <palves@redhat.com>
21383
21384 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
21385 Make "name" extern.
21386 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
21387 references to ${name}_start by references to ${name}.
21388
a2cd8cfe
JB
213892014-01-10 Joel Brobecker <brobecker@adacore.com>
21390
21391 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
21392
4e23fced
JB
213932014-01-10 Joel Brobecker <brobecker@adacore.com>
21394
21395 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
21396
c6a9e42c
PA
213972014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
21398 Pedro Alves <palves@redhat.com>
21399
21400 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 21401 mi_gdb_target_load.
c6a9e42c 21402
b7ea362b
PA
214032014-01-08 Pedro Alves <palves@redhat.com>
21404
21405 * gdb.threads/reconnect-signal.c: New file.
21406 * gdb.threads/reconnect-signal.exp: New file.
21407
5e3f4fab
EBM
214082014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21409
21410 * gdb.base/source-dir.exp: New file.
21411
79301218
JB
214122014-01-07 Joel Brobecker <brobecker@adacore.com>
21413
21414 * gdb.ada/mi_interface: New testcase.
21415
8e355c5d
JB
214162014-01-07 Joel Brobecker <brobecker@adacore.com>
21417
21418 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
21419 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
21420 gdb.ada/pp-rec-component/pck.ads: New files.
21421
c0d48811
JB
214222014-01-07 Joel Brobecker <brobecker@adacore.com>
21423
21424 * gdb.python/py-pp-integral.c: New file.
21425 * gdb.python/py-pp-integral.py: New file.
21426 * gdb.python/py-pp-integral.exp: New file.
21427
17b609c3 21428For older changes see ChangeLog-1993-2013.
c906108c 21429\f
8d8cb839
EZ
21430;; Local Variables:
21431;; mode: change-log
21432;; left-margin: 8
21433;; fill-column: 74
21434;; version-control: never
21435;; End:
902f2ccb 21436
b811d2c2 21437 Copyright 2014-2020 Free Software Foundation, Inc.
902f2ccb
MC
21438 Copying and distribution of this file, with or without modification,
21439 are permitted provided the copyright notice and this notice are preserved.